Splitting strings is cool, but most languages have their subtle differences in how it is done. The three contenders are JavaScript, Python and Ruby. As an example, suppose you're getting a string in the form "type_role_name" and you want to split it into type, role, name. The little twist here is that 'name' can also … Continue reading On splitting strings
Ruby
Braindead Python packaging
As you all know, distributing and building packages with the openSUSE Build Service is easy and fun. The only party pooper is that you have to write a spec file to get your RPMs out there. Thanks to darix, we have a decent solution at least for Ruby packages: gem2rpm, a script which auto-generates RPM … Continue reading Braindead Python packaging
Thoughts about Oracle vs. Google
As the above heading works perfectly for SEO currently, I should add my two cents on the topic. There's been a lot of interesting posts to read about the Oracle suit against Google in the blogosphere recently. The most insightful is probably the comment of James Gosling (the Java creator). Personally, I'm not to concerned about … Continue reading Thoughts about Oracle vs. Google