Archive for September, 2008

Fork

September 20th, 2008

Something i should have done a year ago.

There are times when i feel like writing about my job, conferences, or programming tips and tricks. However, this is only of interest for people who are into Rails or whatever language/platform i’m doing at the time. Some family members in particular would go ‘Gaah’ if i started dumping code into my blog.

Then again, sometimes a good rant, low-level filosofy or just random observations are what comes out. That’s OK for friends, family, acquaintances, and whoever feels kinship with the feelings expressed (or blundered into it through google) (imagine my surprise when, at Railsconf, an Austrian guy mentioned reading one of my blog entries).

This calls for a good old forking. The programming stuff will go into a new blog, called One short note (liable to change) for now. I’m trying to get www.elisehuard.be to point to it, but in the meantime you can find it at elisehuard.wordpress.com.
The more general stuff will stay here.

Thanks for listening to this service announcement, and we wish you a pleasant flight …

The future leader of the free world

September 20th, 2008

I’m sorry, but they look equally scary to me. And the alaskan person isn’t even in the picture. They say we get the politicians we deserve …

(photo from the Boston Globe)

Mobistar customer service sucks like a LHC gone wrong

September 16th, 2008

Update: i got my phone ! Apparently it’s mostly their information system, and their call center support that’s clueless. I gave the guy my order number, giving an impression that he could give me precise information. He told me that they were out of iPhones and that there was no way to predict next delivery. Next day it’s in the mail !

Mobistar is the company having the monopoly on sales of the iPhone in Belgium. However, by law they’re forbidden to couple the purchase of the iPhone to any subscription to their services (or any other product).

This puts Mobistar in an uncomfortable position, because they’re making very little money (relatively) out of this product.

Additionally, it seems that Apple is a temperamental supplier, so Mobistar don’t have big stockpiles of iPhones, and they don’t seem to know when the next delivery will be. This makes for a lot of impatient/angry customers.

And then there were the complaints about them giving priority to the Mobistar customers, which is illegal. Putting non-mobistar customers at the back of the list, and more or less blackmailing panting iPhone afficionado’s into getting 2-year subscriptions. Hence, bad rep for mobistar.

So i felt vaguely sorry for them. Well, no longer ! I decided a little while ago to purchase an iPhone. I know, i know, not politically correct, i’ll purchase one of them Neo Freerunners , next, promise. But as a PDA, i understand the Freerunner is not up to scratch, so i’ll need to combine with a ready-for-market product (rationalizing, i know).

Anyhow. So last week, Mobistar sends me a mail saying that yay, they have phones again ! So i hastily order one online. And wait. The purported 3 to 4 days of delivery lengthen into 10, and i decide finally to phone them.

The guy on the phone tells me that they are completely out of stock, and have no way to predict when they will have new ones.

This, when i paid them the full 526€ ! I tell him how i feel, he tells me to mail Mobistar. Try to find an email on their website: not there. There’s a web form, though, that doesn’t work (it asks for a data in a field that is invisible for as far as i can see).

I checked their site: the order form is still online – nowhere do they say they’re out of iPhones. When you order, you get the promise that you will get your iPhone within 3 to 4 days.

That means that a lot of poor shmucks like me laid down the money without receiving the goods. Well played Mobistar ! That’s what’s called a short term gain. Enjoy it while it lasts.

by the way, i promise i won’t make a habit out of angry customer reports :-) i’m a nice person, really

Railsconf Europe day 3

September 4th, 2008

The sunny morning found me schlepping my luggage to the conference building. Last day of the conf, always slightly less relaxed, with the flight to catch and the check-outs to manage.

First keynote was by David Black of RubyCentral, one of the main organizers of the conference. He talked about Ruby’s version. It sounded slightly ad hoc (fibers ? mh, i knew about that 3 months ago, but can’t say now), but interesting anyhow.

Jeremy Kemper was helping out on the trickier details. Seems Rails is actively being ported to 1.9, so it might be worth it to start checking out the change logs.

Then i attended a talk by Matt Wood from the Welcome Trust Sanger Institute, which was involved in the Human Genome Project. The human genome was sequenced and open-data’ed (beating a team that wanted to patent it), but they continue sequencing different species to map evolution, and to research diseases and genetic conditions. This involved the handling of massive amounts of data. They do some of it with Rails, because of its flexibility (talk here).

Then Rany Keddo talked about background scheduling of jobs. Obviously you don’t want to block any of your web servers/threads with a lenghty process. There are many tools to offload this to background processes. Rany demo’ed and talked about some of them – and also his plugin Workling, which is a kind of wrapper making them pluggable in Rails.

Lunch was spent talking to several really interesting people (who i’ll probably never meet again), as wont in such a conference. DHH and Koz spottings.

After lunch: Justin Gehtland talking about modular architecture (monolithic software = the Death Star, modular agile stuff = the rebel fleet) talks. Some people are just great speakers. Then i had to leave to catch my flight. Easyjet waits for no woman.

What was up with the Star Wars meme ? It popped up every few slides with the US speakers. Certainly added to the comical effect. I suppose that there’s only a few common denominators between Geeks International United, and Star Wars is certainly one of them.

My conclusion about the conference is this: spotless organization, but the talks themselves (with exceptions !) were not stellar, nor particularly useful. I still hope to see the ones i missed released on the net.

The main point of being there, for me, would be to meet professionals in the same branche, and to be able to exchange views with them. Is that worth the price ? Actually, it might be. I had a good time.

Railsconf Europe day 2

September 4th, 2008

Grayer skies for day 2. Also a bit the worse for wear from the night before. Caffeine for the soul.

DHH did the keynote – and while he didn’t say that much (information content), what he said was interesting, and well developed: legacy code makes us better programmers. We learn by seeing our past mistakes, and correcting them. Rewriting from scratch will be way less instructive than actually giving love to the old code.

Next talk i attended was about jQuery by Yehuda Katz (maintainer and co-author of jQuery in action amongst other things). Let’s say that it was a good talk for absolute beginners, but while not being an expert at all, i didn’t learn anything new.

At some point during the day, we got what was for me THE news of the conference: localization in Rails 2.2 ! Finally ! A language by a japanese person, a platform by a (former) danish citizen, so i’m happy that finally they correct the US-centric approach.

Start of the afternoon: talk about combining different apps seamlessly to improve scalability by 2 guys from Texperts. They do this by using javascript widgets pointing to different apps.

I then moved on to a talk about Rubinius by Wilson Bilkovich. Completely lost there, since he seemed to assume in-depth knowledge of how this kind of compiler-VM works, and mine is sketchy at most. They now use LLVM as a virtual machine, that they have a lot of primitives in C that are platform-specific but most of the core classes are now written in Ruby. The Ruby parser is the same as for MRI, and then *mumble Kernel mumble compiler C++*. Sounded cool in an incomprehensible kind of way.

Then the organization broke down a little bit, because 2 talks were cancelled, and so the main common-interest one, about security, was absolutely mobbed (picture geeks squatting every square cm of the room). In a fit of claustrophobia, i decided to stay out and follow the talk as well as i could through IRC (which was not too bad actually).

Some highlights: the usual cross-site scripting, but also the reading of session info in the cookie, sql injection on some params in rails pre-2.1, and then a cross-site JSON attack i’ve got to read up about because didn’t quite get it in the flow of conversation.

Sun is one of the main sponsors of this convention (together with Engine Yard),
which was already obvious by the plugging of JRuby at every possible occasion.

Nick Sieger (Dr Nic ?) did his bit for Sun, and then there was a long, long keynote by Jeremy Kemper. Jeremy Kemper is one of those guys who may be great programmers and project managers, but may not be stage material.

He talked about the performance of rails, and how he found that most of it could be reduced by looking at the browser (basically this stuff), and some in the actual garbage collection of the Ruby virtual machine (MRI).

Then we adjourned, and those of us who had been lurking on IRC to counter the slight boredom gathered to have a nice indian meal, and then some drinks at the Irish pub. A good night amongst international geeks.

Railsconf Europe Day 1

September 3rd, 2008

In Berlin they know what summer means, and how to taper off softly to winter. The day started sunny with a hint of freshness.

So i started off towards the Railsconf in a pretty good mood, despite the early hour. I ended up subscribing to the tutorials, because i’ve been told last night (at the Bratwurst on Rails) that they were worth it.

My morning tutorial was about hacking the Rails internals by two people of the company Intridea. About showing how you can minutely twist the default rails magic to make your life easier. Pradeep Elunkamaran in the first half was fairly interesting – except that it was a bit fast, especially since (gasp) i hadn’t had my coffee yet (and hadn’t eaten since lunch the day before).

The second half was by Michael Bleigh, who’s given us subdomain-fu and uberkit (didn’t know the last one). This was more applied, and more focused towards getting a result (without knowing all the details underneath). Different point of view.

Lunch was pleasantly spent with the belgian delegation: 4 of OpenMinds, Alain Ravet, and 2 guys of belighted (and me). And two start-up founders from resp. Germany and Austria.

I started the afternoon at a presentation about deploying and monitoring rails by people from Peritor, which was woefully basic. They started off by describing all the most common server setups, and then talking about capistrano. I gave up hoping when it appeared the level wouldn’t exponentially increase.

So i skipped talks to one by Thoughtworks people about meta-programming in Ruby. Pat Farley made a good job of taking something that could have been endlessly dull (Ruby C internals) and making it bearable, grabbing our attention with humor here and there.

After dinner break, there was a panel discussion by DHH, Jeremy Kemper and Michael Koziarsky.. All being Rails core people, there was not much debate, so it became a Q&A session. About future of web apps according to them, if other test frameworks were going to creep in (no), what they thought about the other frameworks (cute but not Rails) … not many surprises there, in other words.

Rejectconf took place at a bar a couple of kilometers away, and was one of the best parts of the day. The formula was that everyone had maximum 5 minutes to talk about a related subject, however wacky

Best_of: a ‘make_spec_better’ plugin that passes all specs, whatever happens. An application by leethal, who apparently gets pretty frustrated on IRC, to be able to tell people how exactly they fit the term ‘retard’ (unable to google etc). Braid was presented as the piston for git by a young dutch guy (whose name i didn’t catch, but surely will find again).

Geoffrey Grosenbach talked about Zshell – a bit surreal to actually see the guy after listening to his disembodied voice in a few Peepcode tutorials. He then was nice (and brave) enough to lend his Macbook air to increasingly drunk presenters.