DrupalCamp Turin 2010


I am very pleased to report that on 2 october 2010 the second italian DrupalCamp will take place, and this year Turin has been chosen as the host city. This will be the first event organized by the newborn 'Drupal Italia' association, so you can' t miss it and yes, in case you' re in doubt, - it' s an offer you can't refuse - :D
For all the information about the event, please check the website.
Still there? Hurry and register today! :)

Almost forgot: bring awesömesauce if you still have some bottles left! :)

The Little Mermaid has gone to Shangai

Ok probably it' s not that fair to start an article about Drupalcon Copenhagen from the (chronological-wise) end, but I had to tell somebody 'bout this, just to share the tiny little bit of disappointment I felt when I discovered after a three-hours walk in the city that… the Little Marmaid has literally gone to Shangai. Not joking, pictures follow. Anyway, focus please.

DrupalCon 2010: Copenhagen
Let the röck begin and please, take the cars off the entrance :)

Say hello to my first module on Drupal.org!

Yesterday I finally got access to the Drupal.org CVS, so now I can commit modules to Drupal's repository: because of this, let me take the great pleasure in introducing my first officially published module, ePub. Useless to say, I am incredibly excited by this new opportunity, I hope to increase the contributions starting from the near future(I already have another couple of things in the pot... :)
Anyway let me tell you something about what this module does: basically it creates an "epub" content-type which can be attached to a book outline in order to download the .epub version of the given book directly on your browser/mobile device/whatsoever. In case you have to deal with published contents on mobile devices, check this out, it could be the module for you.

Cheers! :)

DrupalCon 2010: Copenhagen!

I finally came to a decision: I bought the tickets for the DrupalCon 2010 in Copenhagen! I can' t wait to catch the flight and land in Denmark to attend some of the awesome sessions available and of course to visit the city a bit. Article and photos as soon as I' ll be back! :)

Fix those damn dark input fields in firefox

Ok you could say I am strange and everything but I like dark themes like ubuntu's Dark Room.
The tiny little problem is that since firefox is (not perfectly)using native widgets I ended up having black text on black controls and therefore a good bunch of headaches. After a quick search on google I found a solution on ubuntu's forums . I had some problems with it though, so I tricked and simplified it a bit in order to have it working for me. I sum up the steps needed on ubuntu 10.04:

  1. Install Stylish Firefox extension:
  2. Tools > Add-ons > User Styles > Write New Style(it' s in the bottom-right corner)
  3. Name it as you like, on ubuntuforum they call it "Fix Dark Textboxes" and then paste the following text:

    @namespace url(http://www.w3.org/1999/xhtml);

    @-moz-document url-prefix(http), url-prefix(https), url-prefix(file) {

    pre, select, input[type="button"], input[type="submit"] {
    color: white !important;
    background-color: #4C4039 !important;
    background-image: none !important;
    border-left-color: gray !important;
    border-right-color: gray !important;
    border-top-color: gray !important;
    border-bottom-color: gray !important;
    }

A new toy I bought


More or less ten days ago, when I finally came back home from Paris, I had the urgent need to buy a new gadget. My birthday together with a I-passed-an-year-far-from-home-so-now-I-deserve-a-prize feeling convinced me it was time to trash a huge amount of money on something freakin' awesome as well as freakin' pointless. Whatever, I was turning 24, I had the perfect excuse. After a "quick" tour of all the mobile phone shops in town, I landed on the good ol' giant tech store near home, after all I was missing it for one long year. In ten minutes, I was already playing with 550 euros of pure linux awesomeness: the Nokia N900. Now that some time has passed I can say it' s quite a good phone... for a nerd. The interface' s quite cool, but probably it' s too original for the normal user and takes some time to get used to it. Other than that, the operating system is Maemo, a debian-based distribution, so what can I ask more than that? :)
Multitasking is pretty cool, in fact now every time I go back to my iPod touch I feel very limited since I can't text, browse, install an app and tweet at the same time. On the other hand, especially when installing apps, the system get reeeeally slow, but still, it' s ok since I am not installing apps all the time(except for the first days of course). Other than that, I really LOVE the keyboard, way better than having one on screen.

A couple of functions "backported"

These days I am working on a new Drupal module I am going to publish in the next few weeks, and I found that D6 is lacking two nice Drupal 7 functions: user_role_grant_permissions() and user_role_revoke_permissions(). Therefore I thought to write a "backport", just in case.

omifk updated

A few days ago I pushed a bit the development of my little framework, and even if it's far to be completed, I think now it is usable. I also created a cute logo for it, irresistible! :)

Hosting Change

In the next few days I am moving this site to another provider, so some downtime could occur.

the Double Submit problem

The article is almost 6 years old but I think it' s nice and worth a read.
Basically it explains how to avoid double POST requests for a HTML form,
and highlights some related caching problems.
You can find it here: http://www.theserverside.com/news/1365146/Redirect-After-Post

Pages