Barack Obama may visit Genoa (Italy) on October 12th

Posted by h3rald Mon, 11 Aug 2008 10:09:00 GMT

Barack Obama may visit Columbus’ birthplace on October 12th 2008, and take part in the city’s celebration of the discovery of America, which is held in the city every year. As reported by Il Secolo XIX, Genova’s local newspaper.

Although the invitation has not been officially accepted by the American Presidential Candidate, Genoa’s mayor Marta Vincenzi is working very hard to make it happen.

Kerry Kennedy (Bob Kennedy’s daughter), is said to be in charge of liaising with Obama on the US side.

“[…] Kerry Kennedy and her family – among the first and most unexpected of Obama’s supporters in his challange against Hillary Clinton – are said to be organising his visit to Genoa. It all started when Kerry came to the city at the beginning of July, for the Week of Human Rights initiative promoted by the city’s council. Kerry was introduced to Nando Dalla Chiesa’s ‘Columbus Day’ program plan by Vincenzi .

The proposal of inviting Obama to Christopher Columbus’ birthplace was immediate, and a significant move. That could have important consequences, because Genoa has been involved in battles for civil rights in the last few months while also trying to restore its relationship with the United States, which have often been identified as a symbol of evil globalization since the G8 summit [held in the city in 2001].”

After Bush – the “king” president among the other 8 powers protected by the Red Zone [the restricted area of the city where the G8 summit was held] – a black presidential candidate who speaks of dialog and integration to the people of Genova (and obviously also tens of thousands of Italians), from De Ferrari Square [the city’s main square]. […]”
– Translated from Indovina chi viene a Genova, Giovanna Mari, August 11th 2008.

This could be a truly important occasion for Genova (and Italy) to re-establish dialog with the United States after the G8 summit (which cost the city a death and millions of Euro of damage caused by vandalism). However, there is still no official confirmation that the event will take place at all, especially due to the upcoming Presidential Elections in the same period.

If he comes, I’ll definitely be there!

Posted in  | Tags  | no comments | no trackbacks

Git for the Locals

Posted by h3rald Tue, 15 Jul 2008 12:18:00 GMT

“This is a local shop for local people, we want no trouble here!”

— Edward, The League of Gentlemen

I’m normally quite cautious when it comes to IT novelties like new frameworks, new methodologies and similar, especially when it feels like they’re over-hyped. Especially nowadays, it is sometimes very hard to tell whether something new is over-hyped or really a Good Thing™ without spending some time looking into it. And especially nowadays, finding the time to look into something new can be a real challange.

I deliberately didn’t look into Git properly since it went “mainstream” (maybe I shouldn’t use this word), but when this tutorial came out I couldn’t resist. Sure, I knew Git was an amazingly fast distributed version control system, that GitHub offered free accounts, that all the cool guys were slowly starting to use it in place of Subversion, etc. etc.

What I didn’t realize though, that the most obvious advantage of this DVCS was the fact that it was distributed, i.e., it didn’t need a centralized server.

Let me repeat this: Git doesn’t need a centralized server.

Really.

Read more...

Posted in  | Tags  | 4 comments | no trackbacks

Firefox 3 Revealed

Posted by h3rald Tue, 17 Jun 2008 10:46:00 GMT

When the SitePoint staff asked me to write an article summing up all the new features of Firefox 3, I gladly accepted: I wrote about Firefox before, and I thought it was just going to be a 2-3 hours job maximum. After diving deeper into Firefox 3 development, reading dozens of different blogs and scouting Mozilla’s web sites, I realized I was wrong: Firefox 3 introduced a lot of new things, and keeping track of all of them, I admit, was quite a hard task.

Nevertheless, I wrote the article and delivered it to SitePoint in time fore the release, but my editor “complained” that 8,300+ words was about 3 times over the minimum requirements for a feature article! “I don’t really think that people can read the whole thing online” —, he said, and I somehow agreed.

In the end, they decided to pack my “article” into a 30-pages PDF eBook which can be downloaded absolutely free of charge from SitePoint web site as well, so here it is:



Firefox 3 Revealed

If you prefer though, you can still read the article directly on SitePoint, here.

This guide aims to give you a comprehensive overview of virtually all the new features and improvements introduced by Firefox 3.



I would like to thank the whole SitePoint staff for giving me the opportunity to write this eBook, and in particular Matthew Magain for his help and support (and for creating the PDF on a Sunday evening!). Additionally, I would also like to thank the Mozilla Development Team for their awesome job with Firefox 3 and everyone else who made this eBook possible.

Update: Feel free to digg this eBook!

Posted in  | Tags , , , ,  | no comments | no trackbacks

Thoughts on Firefox 3 and Opera 9.5

Posted by h3rald Fri, 13 Jun 2008 11:18:00 GMT

Opera 9.5 is out, Firefox 3 too (more or less), so, which browser are you going to use today? This new generatio of browsers offers plenty of new, innovative features and improvements over the past, in both cases:

  • You can finally use Firefox because it finally doesn’t eat up all your RAM
  • You can finally use Opera because it is finally “understand” ajaxified web sites like Gmail

Amazingly, these two releases have a lot in common…

Read more...

Posted in  | Tags , , ,  | 6 comments | no trackbacks

10 reasons why I didn't update my blog

Posted by h3rald Thu, 12 Jun 2008 09:30:00 GMT

“It has been a while since my last post, sorry about that” I read this sentence (or something along those lines) on many blogs on the Internet, including mine. As a matter of fact, I actually didn’t write a meaningful post on my blog for a long time and no, probably this is not going to change that either.

Yesterday I started thinking why this happens, not only to me but to a lot of other non-professional bloggers. A professional blogger &emdash; for what I can tell &emdash; is someone like Michael Arrington or Gina Trapani: someone who has the luck (or course) to be able to just blog for a living.

I don’t blog for a living: my site is self-sustaining via a few very unobtrusive ads, just that. I have a full time job, and I blog in my spare time about my interests, without even trying to make “proper” money from my site. There’s nothing wrong with it: I believe there are some other people in my condition, and that’s quite normal.

That being said, let’s examine the ten most common reasons why I (and you too, maybe) end up not updating my blog, even when I have time to do so.

Read more...

Posted in  | Tags , , ,  | 2 comments | no trackbacks

I'm on Twitter, anyway...

Posted by h3rald Sun, 18 May 2008 17:04:00 GMT

I’ve been neglecting my blog, I know. The truth is that I’m quite busy in this period: I have more responsibilities in my daily full-time jobs, my lunch breaks are getting shorter and I don’t have much free time. At any rate, here’s what’s going on:

  • I’m writing a new article for an online magazine (assuming I’m gonna finish it)
  • I signed up for a freelance technical reviewing job, for a new Ruby book which will come out soon-ish
  • I’m getting ready to finally visit Rome (again), this time with my fiancée, for our fifth anniversary.
  • I’m slowly preparing a version 1.0 of RedBook, which involves quite a lot of refactoring (and hopefully better documentation and tests).
  • I’m trying to learn a little bit of Haskell: it seems to be one of the few non .NET languages able to produce standalone .exe files, nowadays…

Last but not least, I now decided to use Twitter regularly, so you can follow me there, if you wish!

Posted in  | Tags , ,  | no comments | no trackbacks

New Release: RawLine 0.2.0

Posted by h3rald Wed, 02 Apr 2008 11:33:00 GMT

InLine RawLine 0.2.0 is out!

RawLine is the new name for InLine, in case you didn’t guess. The name was changed to avoid name collision problems with the RubyInline project.

Here’s what’s new:

  • Added /examples and /test directory to gem.
  • Escape codes can now be used in prompt.
  • It is now possible to use bind(key, &block) with a String as key, even if the corresponding escape sequence is not defined.
  • Added Editor#write_line(string) to print a any string (and “hit return”).
  • Library name changed to “RawLine” to avoid name collision issues (Bug 18879).
  • Provided alternative implementation for left and right arrows if terminal supports escape sequences (on Windows, it requires the Win32Console gem).

In particular, I decided to provide an “optimized implementation” for the left and right arrows using escape sequences rather than shameful hacks. This is now possible because the Win32Console gem now enables ANSI escape sequences on Windows as well (weehee!).

So:

  • If you’re on *nix all good, your terminal is smart and can understand escape sequences => the new implementation will be used.
  • If you’re on Windows and you installed Win32Console, your termnal is smart and can understand escape sequences => the new implementation will be used.
  • If you’re on Windows and you didn’t install Win32Console, then your terminal is stupid and it doesn’t understand escape sequences, so the old implementation will be used.

The new implementation is significantly faster than the old one, on Windows at least, and the cursor now blinks properly when left or right arrows are pressed.

I re-emplemented only cursor movement because I’m still having some problems in getting the delete/insert escapes to work properly (or better: how I want them to work!).

Posted in  | Tags , , ,  | no comments | no trackbacks

InLine name change: what's your opinion?

Posted by h3rald Thu, 27 Mar 2008 12:30:00 GMT

I’ve been kindly asked by the lead developer of RubyInLine to change the name of my InLine project, due to potential confusion and conflicts.

This makes sense, and I’m ready to change the name of my project, although I’m not that good at choosing original and smart names, so well, any suggestion is more than welcome!

I was thinking of something like:

  • RawLine
  • EditLine
  • RawInput
  • RubyInput
  • RubyLine

I personally think that RawLine is probably the best option, but please, if have any better idea just speak up!

P.S.: “RedLine” is taken, unfortunately, otherwise it would have been my first choice since the beginning.

Posted in  | Tags , , ,  | 3 comments | no trackbacks

RawLine - a 100% Ruby solution for console inline editing

Posted by h3rald Mon, 10 Mar 2008 12:59:00 GMT

One of the many things I like about Ruby is its cross-platform nature: as a general rule, Ruby code runs on everything which supports Ruby, regardless of its architecture and platform (yes, there are quite a few exceptions, but let’s accept this generalization for now).

More specifically, I liked the fact that I could use the GNU Readline library with Ruby seamlessly on both Windows and Linux. Readline offers quite a lot of features which are useful for those people like me who enjoy creating command-line scripts, in a nutshell, it provides:

  • File/Word completion
  • History support
  • Custom key bindings which can be modified via .inputrc
  • Emacs and Vi edit modes

Basically it makes your command-line interface fast and powerful, and that’s not an overstatement. Ruby’s own IRB can be enhanced by enabling readline and completion, and it works great—at least on *nix systems.

For some weird reason, some people had problems with Readline on Windows: in particular, things get nasty when you start editing long lines. Text gets garbled, the cursor goes up one or two lines and doesn’t come back, and other similar leprechaun’s tricks, which are not that funny after a while.

Apparently there’s no alternative to Readline in the Ruby world. If you wan’t tab completion that’s it, you’re stuck. Would it be difficult to implement some of Readline functionality natively in Ruby? Maybe, but the problem is that for some reason the Ruby Standard Library doesn’t have low level methods to operate on keystrokes…

…but luckily, the HighLine gem does! James Edward Gray II keeps pointing out here and here that HighLine’s own get_character method does just that: it returns the corresponding character code(s) right when a key is pressed, unlike IO#gets() which waits for the user to press ENTER.

Believe it or not, that tiny method can do wonders…

Read more...

Posted in  | Tags , , ,  | 9 comments | no trackbacks

Beware of sudden upgrades!

Posted by h3rald Thu, 20 Dec 2007 14:41:00 GMT

Yesterday I got a rather annoying early Christmas present: when visiting my site, I noticed that the raw source code of my dispatch.fcgi file (yes, I’m on shared hosting with FastCGI, for now) was displayed “as it is” instead of being interpreted.

After the initial moment of anger and stress (I immediately realized it was BlueHost’s fault, not mine), I opened two tickets and went to bed, hoping to see everything solved in the morning.

Unluckily it wasn’t the case, so I posted on BlueHost forum trying to be as polite as possible complaining because the issue wasn’t being dealt with. It turns out that for such issues you’re supposed to use the “Live Chat” feature instead of the tickets, so that’s what I did.

After a quick chat with “Christian”, it turns out that BlueHost decided to perform a server upgrade “silently” upgrading to Apache2, PHP5, MySQL4.1, etc. etc. Cool, pity that nobody told me that!

I was expecting some sort of PHP upgrade (not that I care like that), which was supposed to happen according to the last BlueHost newsletter:

“To alleviate any issues in the future with certain scripts that only run on one version of PHP we have developed the ability to run PHP4 and PHP5 on the same server simultaneously. This will be rolled out to all users in the next couple of weeks. Some servers already have this ability while most will see it in the next two weeks.”

But… hang on? Does it say anything about migrating to Apache2? I don’t think so! What’s worse, is that quite a few things changed with Apache2, in particular the way FastCGI handlers are declared:

# Apache 1.3:
AddHandler fastcgi-script .fcgi

# Apache 2:
AddHandler fcgid-script .fcgi

See? Different. This is due to the fact that mod_fcgid is used instead of mod_fastcgi on Apache 2.

The fix was easy, of course, and now my site is up and running again (and actually running faster)… but, I wonder, why the hell wasn’t I informed? Is it acceptable? It sounds like I might end up on a VPS sooner than expected, unless BlueHost doesn’t roll out some new exciting feature soon, as I think it might…

Posted in  | Tags ,  | 6 comments | no trackbacks

Older posts: 1 2 3 ... 6