In these days I did some tests with CentOS 6. Usually in production I use CentOS 5.x but now CentOS 6 is here by some time and I wanted to try it a bit in a virtual machine, just to see what changed.
The first thing I found is that after setup I had no eth interface configured, the first thing in my mind was “what the f**k?”. If you did the same as me, there is a very easy solution to enable eth on boot:
$ sudo vi /etc/sysconfig/network-scripts/ifcfg-eth0
and put inside it
ONBOOT="yes"
That’s all, from now, at boot time, CentOS 6 will enable eth (0 in this example) for you!
I really apreciate this TED talk of Kathryn Schul, we are human and we HAVE to be wrong sometimes
This morning I was reading some news about the next release of OSX (known as “OS X Mountain Lion”) and particularly about “Gatekeeper” (a new way to limit malware on a mac).
In short, in OSX Mountain Lion you will have a tab in preferences where you can choose which “sources” can be considered safe to run software.
“Allow applications downloaded from:” and you will have 3 choices: “Mac App Store”, “Mac App Store and identified developers” (this should be the default) and “Anywhere”.
“Mac App Store” means that you can execute only software downloaded from the store (the little paranoid man in me thinks that it could become the default in the future .. but I hope Apple will not do this error)
“Mac App Store and identified developers” means you can execute software from the store and all software certified by a certified developer (a certified developer is a developer that has a personal key, released from Apple, used to sign his software). This probably will be a problem with opensource software. I guess everyone can take a key but if a software is developed to be multiplaftorm (or ported to OSX) I think it will not be certified so you will not be able to use it.
“Anywhere” simply is what you are used to, you can download and execute everything you want.
The good
This could be a good way to limit the amount of software that an unexperienced user runs on his system, so it can be useful to avoid malware. Obviously if the default setting will create problems to users they will switch to “Anywhere” making this feature useless.
The bad
As developer, I run on my mac a lot of software ported to OSX, I can’t tell for sure that I will have to switch imediately to “Anywhere” but I think I will probably be forced to do it because I can’t expect that all developers will take a developer key from Apple.
The little paranoid man in me (again) is afraid that the “Anywhere” option could disappear in the future, but honestly it’s very very difficult, Apple knows that it will loose A LOT of users in this case.
I think all users that use fink, ports or brew will be forced to choose “Anywhere” and I think the same thing for everyone use a Mac to develop (non OSX software).
We will see!
A very interesting read: http://ping.fm/TY6aO
Chance of Creativity= Past Experiences+Environment+Education+Study+Previous Successes+Previous Failures+Career+Imagination+Time Spent Reflecting+Hobbies+Interests+Stimulating Friends/Colleagues+Exposure to New Situations+Previous Exposure to Challenging environments+Open Mindedness+Analytical Capacity from http://ping.fm/Noy2T
One of my greatest passions (and sometimes also work) is photography. I don’t like one particular kind of photography, I like landscape photography as much as I like portrait photography, the important thing is to give to the viewer a message, a feeling or information.
If you would see my entire photo archive you will notice a thing, I like different cultures. Every year I travel abroad (quite far from Italy) to visit countries which are VERY different from mine.
By now I visited many countries like Oman, Madagascar, Myanmar, but I never went to USA, this is really because I’m much more interested in places where I can find people with very different cultures.
I explained it because it’s an important point to understand why I liked so much “Rabari - Encounters With the Nomadic Tribe” by Mitchell Kanashkevich.

This ebook contains 10 images from a trip to India made to document indian cattle herders called the Rabari.
The most interesting thing (from my point of view) is that you can find for every image the explanation of the situation in which it was taken, what the photographer wanted to communicate, how he worked with light to achieve the result he got and even what he did in post-production.
Usually I apreciated much to see details of each image (aperture, iso and so on) but you never know what was done in post-production (and we know that Photoshop can do miracles). In this ebook Mitchell Kanashkevich tells you also what he did in post-production so you can REALLY understand how he got the image!
I’m sure every photographer will apreciate this ebook, it’s fast to read, it contains some amazing images with every detail you can desire and your photography will get even better!
Honestly when I finished to read it I wanted to book my next trip!
You can buy it from Light Stalking (from here) for 24.95$ (price is a bit high to be an ebook but after read it I think it’s worth the price)
I will not get any money if you buy this book, I truly believe that if you are a photographer and you like to travel, this is a must read book.
It was much time I was curious to try another MVC framework (using a different programming language). Today I had time so I looked a bit cakePHP.
For what I found online cakePHP is one of the best MVC framework available on PHP, it’s “the Ruby on Rails on PHP”
Just for curiosity I followed a cakePHP tutorial to understand differences between Ruby on Rails (that I know very well) and a still-MVC-but-different-language framework.
For a Rails developer, develop a simple blog application in cakePHP is very fast. You already know all MVC’s stuff and everything looks quite the same (if you know PHP).
The huge difference is the amount of code you have to write. It’s not a problem with cakePHP but it’s PHP’s fault (I guess).
If you follow the Blog tutorial you will notice how many times you have to write “$this->”. In Rails (thanks to Ruby) there is much less “noise” in the code and you can focus on the real code.
After a little try of cakePHP I can say it should be very easy to switch from Rails to cakePHP but honestly I can’t find any good reason to do it. For me Rails is still the best tool to make web applications.
Slide Light
Ben Bowers, gearpatrol.comBuck the digital onslaught by adding some retro flair, Ektachrome style, to your walls with the Slide Light. The backlight fixture can be mounted vertically or horizontally and is available in a variety of different sizes ranges fr…
A very nice way to show your pictures on the wall (maybe just a little small) http://t.co/C4vlndtt
