Rebar poor proxy git fixer

Sometimes you are behind a http proxy, and the git:// protocol is not accessible.

For instance on erlang rebar, all developers  prefer the git:// protocol when listing dependency.
But how to fix it if you are behind a http proxy?

Ask help to git…

git config --global url.https://github.com/.insteadOf git://github.com/

Credits: http://erlang.org/pipermail/erlang-questions/2014-March/078402.html

Asus EEE-PC better then Mac Air?

Finally I managed to buy a Asus EEE PC 700  this week. I would thanks a lot Next Store and its kindly clerks, which I will prefer in future to Mediaword :)
If you are at Milan and you plan to buy it, Next Store is a good choice.

There are a lot of sites and articles around the net about the EEE-PC, because it is a very new article in the IT consumer world.

The EEE PC is the First  full featured PC sold at 300 euros. The Register tries also to compare it with the Mac Air, and we'll see why this is not a so crazy idea.
In these days in Italy was launched an overpriced version (320 euros) with Windows XP preinstalled. We are waiting also the more powerful version (EEEPC 900) at 400 euros. Anyway, what do the product is the 300 euro price: powerful and richer model at an higher price are no so stunning as the EEE PC 700.

Introduction: the hardware

The Asus EEE PC come with 3-usb 2.0 ports, and one SD Card reader. It is expandable a lot, considering it has the same usb ports of my Lenovo Thinkpad R60.  It has no DVD reader, but it is very small and tight. The  battery charger is similar to that of a GSM phone, and it sounds great because of its reduced weight.
The screen is tiny, but very very bright, so it can work if you are not too much greedy as me.

Even if the keyboard is too small, and the fan is noisy, for the rest EEEPC looks well.
With an external monitor&keyboard attached,  your trouble are reduced, at least at home.
You can compare it to a Mac Mini, sold at 600 euros, which has a similar but powerful hardware: so having half the ram for the EEEPC is not a surprise.
But the EEEPC 701 is easy to expand, and on Internet some guys managed to install 2Gb of RAM.
And it is not shipped by deafult with windows but with a linux operating system… another big news, isn't it?

 

Games
I code every day. So in my spare time, at home, I have two priorities: my girlfriends, and games.
And EEE-PC come with some funny games like Frozen Bubble, so it is definitively a very good machine.

 Vodafone & EEE-PC

In Italy, Telecom Italia sells a branded version of EEE-PC, with its USB connect key. If you have a Vodafone Connect Key, I have found an italian article to try to connect it. I will do some tests, and then translate it in English if it is worth of it.

The Software…

The operating system is a commercial version of Linux. Anyway it is well packaged, and it is reasonable fast. The File Manager does not start in a snap, but it could be worst.

…the ideas

Because ObjectsRoot.com is  heavly focused on software development, I am searching a set of article to how build a small cluster of EEE-PC, for doing small distributed computing. The cluster should be easy to set up, with no installation of new operating system, and should have decent performance.
I will report  my experiments in the next month.

Hacking it [Update on 11 june 2008]

Ubuntu has relased a specilized version of ubuntu linux

Conclusion: Why it is great

All these stuff fit in about 300 euros, and there is no decent PDA  at this price…even a good Nokia GSM phone is difficult to find for a such price. The EEE-PC weights less then 1 Kg, and it is very easy to carry on. The webcam is good if you have sufficient light to give it, and you can record at 44.1 khz your voice.
Skype comes preinstalled, giving you a lot of freedom with its VoiceOverIP technology.

 

 

iPhone programming

iPhone is the brand-new Apple product which has changed the way Apple thinks. Because of iPhone, Apple strip the word "Computers" from its brand name. And because of iPods and iPhone products, Lepoard developmenet slip a bit, blurring the focus on pure technology.
To be true, I do not beat on  the iPhone success, but the product success is at least  bright this year. And the iPod touch has also added value to the iPods product catalog. But I am an IT-man, damn you boy! So I want to buy it to play with it, to program with it!

The iPhone Open Application Development, is a fresh book on iPhone Developement, edited by O'Reilly which come into play. The book has less then 280 pages, and is well organized. First of all, the bad news: the book lacks figures and tables (only one, and not so useful) and no Photo on it. Then breaking the iPod firmware is not a thing Apple likes a lot. As far as I know, it is NOT illegal, because Apple is opening the device too.
Anyway, breaking the iPhone firmware can prevent you to get the upgrades so, you must know what you are going forward to do.

And now the good news: the book is well written, and guide the user from the beggining to the end.  There are a lot of way to free the iPhone from the jail.

After that, you can also use Linux to program on the iPhone, where the Apple SDK seems only "PC Mac"-enabled.

The book is composed of 7 chapters. After unlocking the iPhone (first chapter), the author explain us how to write code for it, and what is Objective-C. Objective-C is a very nice idea developed by Brad Cox, in the 1980. It is a C++ language "ante litteram". I like the ideas of Objective-Ch because you get the power of C for fast tasks (like  you know, coding your quicksort or your perfect B-trees :) and you get a true dynamic O.O. language, like SmallTalk is. Objective-C was not so lucky, and there are only two major implementation: the GNU one and the Apple one, used to build the entire MacOSX.
I have no time to study it a lot, but I suggest you to code the iPhone in Objective-C.
Then the books start to explore iPhone features like:

  • Basic user interface building blocks
  • Graphic Services and animation effects. You get also a Coreflow-like animation in the Appendix
  • Sound Control
  • Deep integration. A nice thing is the way to make calls: you simply ask the emmeded Safari to open a "tel://" url

The code presented is always very compact, and the style is nice.
The Appendix give us a lot of code samples.

Programming a so riche device is not easy, but the good news is you have a full O.S. to work with.
Java midlets and J2ME are much more difficult to use, if you will find your way with Objective-C.
A very good book, for very nice techno-guys, and not (only) for nerds!