Thursday, February 25, 2010

Linux kernel 2.6.33 released

Linus Torvalds announced on the release of Linux Kernel 2.6.33. The new version of the kernel include mostly driver changes which include Nouveau an reverse-engineered open source driver for Nvidia graphics cards).

Linux Kernel Newbies has a nice summary of the changelog.

Tuesday, February 16, 2010

Como se convierte Hexadecimal a Decimal

Cada posicion de los digitos hexadecimales tiene un valor que es la potencia de 16. Usando las posiciones de derecha a izquierda le damos una potencia empezando de 0, 1, etc. y el resultado es multiplicado por el numero en dicha posicion.

Tomando como ejemplo el numero 2132

2 x  (16^0) = 2 x 1 = 2
3 x (16^1) = 3 x 16 = 48
1 x  (16^2) = 1 x 256 = 256
2 x (16^3) = 2 x 4096 = 96

2 x  (16^0) + 3 x (16^1) + 1 x  (16^2) + 2 x (16^3) = 8498

2 +  48 + 256 + 8192 = 8498

o para simplificar las cosas puedes usar Google

Wednesday, February 10, 2010

toto - git powered blog engine

Just came across toto [], a minimalistic git powered blog engine. Using git as the datasource for you blog engine is a really great idea since all of you posts will be Version Controlled using git, and you can use if you don't have access to a git repository.

Qouting the REAME from toto


Everything that can be done better with another tool should be, but one should not have too much pie to stay fit. In other words, toto does away with web frameworks or DSLs such as sinatra, and is built right on top of rack. There is no database or ORM either, we use plain text files.

Toto was designed to be used with a reverse-proxy cache, such as Varnish. This makes it an ideal candidate for heroku.

Oh, and everything that can be done with git, is.
If you think about it, a VCS (git, hg, svn, etc) makes for a great datasource for many other application, all you need is a repository and your application now has built in version control. Also, you eliminate the need to have a full blown DB to power your application. Got a few projects were I could apply this to.

Still not sure if I want to keep WordPress or roll my own (using django). Any suggestions? I've decided to go with blogger. Want to spend more time writing content and not maintaining the software.