November, 2008

Late adopter

I’m a very late adopter of new technologies. It has to do with the fact that I first want to identify a certain need for something before I try it.

On the other hand, whever I find something useful, I tend to stick to it. I still frequent IRC and usenet, for example. Call me conservative. :-)

So, even though most people describe me as a “techie”, I got my first mobile phone only in 2004 (I got one from my employer at that time). I started blogging in January 2008, which is pretty late for the people in the environment I work in. My very first laptop ever is only 2 years old now. I bought my first USB-stick last month. And today… I created a Twitter account (b_b_b_a_r_t).

Seems like I started an overtaking manoeuvre… :-)

What’s the use for it? Well, it appears that twitter is becoming the source of more and more interesting discussions. Recently, there was a twitter discussion about article about Europe’s success. That one wans’t that interesting, however. :-) Litrik only commented the language and grammar. Atog mistook Flemish language influences for Pakistani ones. Koen Vervloesem seemed to get and agree with the point I tried to make.

Too bad someone else took my nickname (bbbart) already. :-(

Posted in Life, the Universe, and Everything   No Comments »

gettext management


( ! ) Warning: fread() [function.fread]: Length parameter must be greater than 0 in /home/bbbart/www/htdocs/blog/wp-content/plugins/vimcolor/wp-vimcolor.php on line 105
Call Stack
#TimeMemoryFunctionLocation
10.000152980{main}( )../index.php:0
20.000256420require( '/home/bbbart/www/htdocs/blog/wp-blog-header.php' )../index.php:17
30.157813891788require_once( '/home/bbbart/www/htdocs/blog/wp-includes/template-loader.php' )../wp-blog-header.php:16
40.158813959960include( '/home/bbbart/www/htdocs/blog/wp-content/themes/svelt/archive.php' )../template-loader.php:52
50.193714050592the_content( )../archive.php:35
60.194014055332apply_filters( )../post-template.php:167
70.199514065436call_user_func_array ( )../plugin.php:166
80.199514065620vim_color( )../plugin.php:0
90.199514065956preg_replace ( )../wp-vimcolor.php:143
100.199714086876preg_replace ( )../wp-vimcolor.php:143
110.199714089140vimcolor_process_color( )../wp-vimcolor.php(143) : regexp code:57
120.206814107632fread ( )../wp-vimcolor.php:105

( ! ) Warning: fread() [function.fread]: Length parameter must be greater than 0 in /home/bbbart/www/htdocs/blog/wp-content/plugins/vimcolor/wp-vimcolor.php on line 105
Call Stack
#TimeMemoryFunctionLocation
10.000152980{main}( )../index.php:0
20.000256420require( '/home/bbbart/www/htdocs/blog/wp-blog-header.php' )../index.php:17
30.157813891788require_once( '/home/bbbart/www/htdocs/blog/wp-includes/template-loader.php' )../wp-blog-header.php:16
40.158813959960include( '/home/bbbart/www/htdocs/blog/wp-content/themes/svelt/archive.php' )../template-loader.php:52
50.193714050592the_content( )../archive.php:35
60.194014055332apply_filters( )../post-template.php:167
70.199514065436call_user_func_array ( )../plugin.php:166
80.199514065620vim_color( )../plugin.php:0
90.199514065956preg_replace ( )../wp-vimcolor.php:143
100.207814096340preg_replace ( )../wp-vimcolor.php:143
110.207814096772vimcolor_process_color( )../wp-vimcolor.php(143) : regexp code:13
120.212814098556fread ( )../wp-vimcolor.php:105

Anybody remember gettext? A couple of years ago I investigated the localisation system for a project and actually came to like it pretty much. Managing your .po and .mo files can be a hassle though. That’s why I created these two scripts to help me handle them:

and

These scripts will not setup the working environment nor generate full headers for new .po files. You will have to do this manually. A corresponding working environment for the scripts in their posted configuration looks like this:

.
|-- images
|   `-- favicon.ico
|-- includes
|   `-- accept-to-gettext.inc
|-- index.php
|-- locale
|   |-- en_GB.UTF-8
|   |   `-- LC_MESSAGES
|   |       |-- index.mo
|   |       |-- index.po
|   |       |-- index.pot
|   |       |-- index.po~
|   |       `-- pobackup
|   |           `-- index.po
|   |-- fr_BE.UTF-8
|   |   `-- LC_MESSAGES
|   |       |-- index.mo
|   |       |-- index.po
|   |       |-- index.pot
|   |       |-- index.po~
|   |       `-- pobackup
|   |           `-- index.po
|   `-- nl_BE.UTF-8
|       `-- LC_MESSAGES
|           |-- index.mo
|           |-- index.po
|           |-- index.pot
|           |-- index.po~
|           `-- pobackup
|               `-- index.po
|-- makemo
|-- makepo
`-- styles
    `-- index.css

Mind the accept-to-gettext.inc file, a great script written by Wouter Verhelst to convert information in HTTP ‘Accept-*’ headers to gettext language identifiers.

Posted in Open Source Adventures, scripting   No Comments »

Open Source ERP Profoss, part I and the definition of success.

Yesterday was probably the best Profoss session up to now. Too bad, only 30-ish people showed up, but the quality of the discussions was pretty high. It was also one of the first Profoss’es where business models and market promises of Open Source software vendors stood central. Too bad, however, that all four speakers (OpenBravo, OpenERP, Compiere and Adampiere) were not very proficient in English. You could tell after 5 words where they came from (The Netherlands, Belgium, France and Germany). :-)

One thing which got stuck in my head was a remark form the Microsoft representative in the audience. He mentioned that all the industries in Europe where we’ve been doing very well and are successful with worldwide, are in sectors where Intellectual Property rights are very well protected and laws are in place to do so. He gave the pharmaceutical industry and the GSM communication standard as examples.

Now, he might be right for certain definitions of “success”. They are the industries where venture capitalists like to live. They are the sectors with the so called money-printing companies. But, as someone in the audience gave as a remark, haven’t they stretched the limits of profitability too far? Isn’t the financial crisis we are in right now a symptom of that?

The Microsoft guy went on to express his fear that by adopting the Open Source idea so quickly, Europe is putting itself in a more vulnerable position as compared to the rest of the world where huge companies are still being formed around (software) patents. And that’s where I strongly disagree.

I believe, and not only for the software industry, that the Open Source philosophy forms the best sustainable business models, as a whole and in the long-term. Janssen Pharmaceutica might never have been so huge without it’s patents on the medicines they “invented”, but now it appears that for the last 25 years the whole company just survived on those few patents. Now that they have expired, all of a sudden Janssen is in trouble and recently had to lay down some thousands of people. However… now that alternatives for those medicines are allowed, they all of a sudden become far cheaper as the factor of choice appears. So which Europe (or Belgium, for that matter) is the most “successful”: the one where huge companies can get monopolies and allow some to get astonishly rich, or the one where medicines are affordable by anyone (without the need of too much medical insurance intervention)?

Isn’t the reason that Europe became what it is right now because of the rapid and free expansion of science and exact knowledge? ( As a matter of fact, I agree with Michael H. Hart that Isaac Newton has had a greater influence on our every day life than Jesus Christ. But that’s a different discussion. )

But… doesn’t Janssen deserve to be paid back and generate revenue to support further research and development of other, great medicines? Well, of course they do. But why didn’t they do it then? Why are they now, after 25 years of artificially stretching the time constraints of their patents, getting in so much trouble? Haven’t they had the time to invent something else profitable? ( One could also argue that for matters as health and hygiene, research should be left to public entities as universities. Again, that’s another discussion. )

The other example I want to tackle is the GSM one. GSM is, in my eyes, one of the great failures of humanity. Compare it to, say, TCP/IP. Both are communication protocols. One is proprietary and heavily regulated. The other is open and free. A couple of years after it’s existence, TCP/IP shaped the Internet, changed our entire world and allowed millions of business and even completely new business models to flourish on top of it. On the other hand, with these stupid mobile phones, after 10 years we still can’t do anything but calling and sending crappy text messages. MMS was supposed to be a big innovation. Ironically, we had to wait for TCP/IP to arrive on our mobile devices, before we could start doing useful stuff with them. Before we could do fun stuff that we didn’t have to ask permission for. Before we could be free.

Why is the iPhone such a success? Surely not because it supports GSM.

Just like Janssen, the great mobile operators might get in trouble when everybody starts using VoIP on their mobile phones. Sitting on top of their governmentally protected industries, they have done nothing to protect themselves.

Yes, GSM regulation has made it possible for huge companies to form where, in Belgium, Mobistar, Proximus and Base are offsprings off. But it has killed all innovation around it.

So again, what’s the most successful Europe?

Those Open Source ERP vendors might not get the big venture capitalists backing them. And none of their CEO’s will be the next Bill Gates. But they are forming the shape of the software business of tomorrow.

Posted in Business, Life, the Universe, and Everything, Open Source Adventures   No Comments »

What is Open Source?

What is the definition of Open Source?

I find this a very hard question to answer. Thrown at the crowd at CloudCamp last week by Raphaël, most seemed to have trouble coming up with an answer too. Notably, only one guy raised his hand.

Apparently, there is such a thing as an “Open Source Definition”. It’s used by the Open Source Initiative to determine whether or not a software license can be considered Open Source. Hmmm… I’m doubting this is what Raphaël was looking for.

Even after many years of being active in the Open Source community as a (little) developer, (big) evangelist, (sporadic) documenter, (furious) discusser and (big time) user, I still won’t know how to define Open Source. I’m not even sure if I should categorise it as a technology, a movement, a software distribution model, a software license category or whatever else.

Kris, I really wonder what your definition would be? Or anybody else’s, for that matter.

Posted in Open Source Adventures   No Comments »