A awesome template to make HTML5 and CSS3 pages

I’ve recently discovered html5boilerplate this is a fully featured teamplate for making pages:

  • A HTML5 ready page
  • A mobile support
  • A CSS3 template
  • The necessary javascript to allow an easy jquery integration.
  • The javascript to allow Internet Explorer support.
  • All the tools needed to compress the html, the css and the javascript.
  • All the best practices found on the web.

The homepage is at http://html5boilerplate.com/ it explain all the code and propose video tutorials.

You can browse the source code on github.com/h5bp/html5-boilerplate.

A 2D ASCII version of the portal game

Do you know portal? It a fps like game, and you have a special gun, this gun allows to generate portal between two différents points. Then by entering in a portal you are directly transferred on the other portal.
You can watch videos on youtube showing the portal game.

When reading the famous sebsauvage’s blog I have discovered a 2D version of portal, this game is like a standard platform game, but you can make portals. This game is entirely made using ASCII characters in a console! You can look a video of the game here. The author also explain how the views are generated in video. Another on levels.

It can be interesting to make a html5 + javascript version of this game!

Towards 64 bit ARM architecture

ARM is working on is new architecture version (ARM V8). This architecture will support 64bit. This is important for memory purpose.  Because the maximum addressable memory with 32 bits is around 4GB. But also for the server market.

In my opinion this is especially for the server market, because the mobile market don’t currently need to address 8GB of RAM, and furthermore this can be handled via special instructions (like PAE on the 32 bits Intel processors) that allows to extend the addressable memory.

The server market is rapidly growing and the datacenters face to an important power dissipation (a big amount of their power consumption are due to power and cooling). So it is important to reduce the power dissipation of server, and especially processors.

This bring into the choice of low power devices like atom or ARM. This can be useful for example for storage servers where the processor performances are not so important. But also for computing because the low power consumption and dissipation allows to put more processors on the same rack size. This allows more density so more computation power on the same surface.

 

On User Interface design

Google have released an online website on user interface design guidelines for android.

This website is interesting, not just for android, but more generally for user interfaces on all the applications.

We can retain:

  • Enchant users : allow application customization, know the user (remember the user choices/searches)
  • Simplify the user life: brief text, visual interfaces (images), Only show what I need when I need itIf it looks the same, it should act the same.
  • Style: choose a color palette, design of icons,
  • Text: keep it simple, be friendly, most important thinks first, only the necessary

After that I have looked for the Apple design guidelines, their is other important stuff:

  • Focus on the primary task
  • Give people a logical path to follow
  • Make usage easy and obvious
  • Consider Adding Physicality and Realism
  • Start Instantly

It is interesting to read theses guidelines, not only for android of iOS applications, but also for PC applications. 

 

How-To compile Mesa under Ubuntu GNU-Linux

This is a simple guide to build mesa under GNU-Linux.

The dependencies required are for Ubuntu 11.04,  they may differ.

General dependencies

GL_PROTO installation

The version or some libraries given with Ubuntu are quite old, so we will install our own up-to-date versions.

LIBDRM

dri2proto

Environment variables

In order to defines our locally installed dependencies the followings environment variables are required.

Some parameters can also be given with teh configure command.

Other informations

http://dri.freedesktop.org/wiki/Building