January, 2008

Paris – Where Open Source means Business

Aah, la douce France…

Yesterday I spent one day in Paris at The Linux Solutions, Open Source & Free Software Exhibition for Business, Administrations and Communities. It was an interesting fair, but not as much as the ones I’ve gotten used to in Germany (and the Netherlands). It was like half a FOSDEM and half a LinuxWorld.

Funny thing happened though. I met Frank-Thomas Drews from Xandros, Inc. again. The first time we met was by accident on the bus in Nürnberg. Apparently, we both know Thomas Uhl, and both like him as a business partner. Who knows, maybe we get to do some business with Xandros in the future. That’d be great!

After the fair, I went for a drink with an old friend of mine, Céline Jérusalem. I was really wonderful to meet her again after more than three years. Céline and I followed the same Athens course in Trondheim, back in 2003.

And it cannot be said enough: France has a won-der-ful food culture. Even in some small, random food stand in the underground, they serve freshly baked croissants with chocolate. Hmmm….

Posted in Business, Open Source Adventures   No Comments »

[sysadmin] cupsquota.sh


( ! ) 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.000156420require( '/home/bbbart/www/htdocs/blog/wp-blog-header.php' )../index.php:17
30.175113929656require_once( '/home/bbbart/www/htdocs/blog/wp-includes/template-loader.php' )../wp-blog-header.php:16
40.176113997828include( '/home/bbbart/www/htdocs/blog/wp-content/themes/svelt/archive.php' )../template-loader.php:52
50.211614088448the_content( )../archive.php:35
60.211914091688apply_filters( )../post-template.php:167
70.218414098856call_user_func_array ( )../plugin.php:166
80.218414099040vim_color( )../plugin.php:0
90.218514099376preg_replace ( )../wp-vimcolor.php:143
100.218614116288preg_replace ( )../wp-vimcolor.php:143
110.218614118696vimcolor_process_color( )../wp-vimcolor.php(143) : regexp code:76
120.226014137360fread ( )../wp-vimcolor.php:105

Sometimes I want to know how many pages some user printed on some printer on the network from some host on the network. This script tells me just that.

It’s an awk program with a bourne shell wrapper to calculate the total amount of pages a user has printed on a host using cups.

Posted in scripting   No Comments »

[office] scantopdf


( ! ) 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.000156420require( '/home/bbbart/www/htdocs/blog/wp-blog-header.php' )../index.php:17
30.175113929656require_once( '/home/bbbart/www/htdocs/blog/wp-includes/template-loader.php' )../wp-blog-header.php:16
40.176113997828include( '/home/bbbart/www/htdocs/blog/wp-content/themes/svelt/archive.php' )../template-loader.php:52
50.234214105268the_content( )../archive.php:35
60.234514106748apply_filters( )../post-template.php:167
70.236614110148call_user_func_array ( )../plugin.php:166
80.236614110332vim_color( )../plugin.php:0
90.236614110668preg_replace ( )../wp-vimcolor.php:143
100.236614117420preg_replace ( )../wp-vimcolor.php:143
110.236614118276vimcolor_process_color( )../wp-vimcolor.php(143) : regexp code:22
120.241814120404fread ( )../wp-vimcolor.php:105

Another addition to my [office] collection of scripts. And again one which deals with a scanner. scantopdf scans an A4 paper from any SANE device and stores it as a PDf with a given filename.

Posted in scripting   1 Comment »

[office] copymachine


( ! ) 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.000156420require( '/home/bbbart/www/htdocs/blog/wp-blog-header.php' )../index.php:17
30.175113929656require_once( '/home/bbbart/www/htdocs/blog/wp-includes/template-loader.php' )../wp-blog-header.php:16
40.176113997828include( '/home/bbbart/www/htdocs/blog/wp-content/themes/svelt/archive.php' )../template-loader.php:52
50.248914106108the_content( )../archive.php:35
60.249314107732apply_filters( )../post-template.php:167
70.251814111456call_user_func_array ( )../plugin.php:166
80.251814111640vim_color( )../plugin.php:0
90.251814111976preg_replace ( )../wp-vimcolor.php:143
100.251814119132preg_replace ( )../wp-vimcolor.php:143
110.251814119960vimcolor_process_color( )../wp-vimcolor.php(143) : regexp code:24
120.257014122052fread ( )../wp-vimcolor.php:105

At the office, we have a scanner attached to a desktop (elisa), published as a :net device by SANE. Additionally, a network printer (gutenberg) is attached to the network. This script allows anyone on the network to combine both as a (basic) copymachine.

Remember it’s statically configured for A4 papersize (215mm x 297mm).

Posted in scripting   No Comments »

[office] dvitopdf.sh


( ! ) 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.000156420require( '/home/bbbart/www/htdocs/blog/wp-blog-header.php' )../index.php:17
30.175113929656require_once( '/home/bbbart/www/htdocs/blog/wp-includes/template-loader.php' )../wp-blog-header.php:16
40.176113997828include( '/home/bbbart/www/htdocs/blog/wp-content/themes/svelt/archive.php' )../template-loader.php:52
50.264814106948the_content( )../archive.php:35
60.265214108376apply_filters( )../post-template.php:167
70.267614111612call_user_func_array ( )../plugin.php:166
80.267614111796vim_color( )../plugin.php:0
90.267614112132preg_replace ( )../wp-vimcolor.php:143
100.267614117400preg_replace ( )../wp-vimcolor.php:143
110.267614117840vimcolor_process_color( )../wp-vimcolor.php(143) : regexp code:5
120.272714119616fread ( )../wp-vimcolor.php:105

At our office we tend to document almost everything with LaTeX. This script is one which has saved us a lot of time already with creating high quality PDF documents.

Basically, it’s just an alias to simplify creating prepress quality A4 PDFs of a DVI file, typically created with LaTeX and hyperref with the dvipdfm driver.

It’s the “prepress” setting at the end which guarantees the quality of the output.

Posted in scripting   No Comments »

Scripting category

As I spend a lot (too much?) time in front of my computer, I tend to let my machine take care of boring and repetitive tasks. Or sometimes I just find some nice shortcuts for doing interesting tasks.

Either way, from time to time I find myself scripting in various languages like Python, Perl, Bourne or other Shells, Awk, etc…. Whenever I want to backup such a script online, I’ll post it here.

Obviously, dear reader, you can use them too. In fact, you are encouraged to do so, but then please let me know where improvements can be made. Thank you. :-)

END

Posted in scripting   No Comments »

Islamabad -> Nürnberg -> home

Last week I came back from a three weeks stay at our office in Islamabad. I landed 6:40am in Frankfurt, and instead of going home, I took the train to the Open Source meets Business conference in the wonderful city of Nürnberg. Pretty tiring…

Anyway, I had a great conference. First of all, I met Bertrand Maugain again. Bertrand is a good friend of mine and was a fellow student when we were both studying at the NTNU in Trondheim, Norway. Then, of course, I discussed a collaboration framework for expanding our customer base in Germany with Thomas Uhl. Then, I finally met Dr. Karl-Heinz Strassemeyer and Nico Gulden from LiSoG (Linux Solutions Group) in real life with whom I discussed our possibly upcoming membership of the group. And of course I bumped into Klaus Behrla (director of communication at LPI) and Reiner Brandt (President of LPI-Central Europe and OSC), as I always do on conferences lately. :-)

Of course, I should also mention that rapid-i won the Open Source Business award and that Bryan Cheung, CEO of Liferay, is a very nice guy. :-)

After these two days, I finally got home (after a train delay in Belgium of course). No time to rest now though, because next week I’ll be in Paris for The Linux Solutions, Open Source & Free Software Exhibition for Business, Administrations and Communities. Let’s hope it will be as much fun!

END

Posted in Business   No Comments »

(Im)Moral?

Two days ago, I was at the kick-off party of seenDesign, a customer/partner of us, when somebody asked me how we came to the idea to start a business in Pakistan. When I told him that we had had some previous dealings with Pakistan as UN volunteers after the 2005 Kashmir Earthquake, he said: “So you went there for a very moral reason and ended up starting something immoral”.

That kind of pissed me off. What’s so immoral about starting a company? What’s immoral about giving up your job, having no income for over 13 months while investing € 200.000 somewhere else? What’s so bad about paying 15 people in a third world country more money each month than you can spare for yourself?

The difference with ordinary third world development programmes might be that a business eventually wants to make money, but believe me when I say that morality and ethics are far more important than that. Even in most of today’s businesses. And now we’re at it, let’s not forget to mention that money is necessary for creating sustainability and the fact that NGO’s are not so different form ordinary companies after all…

When thinking about it, I guess going to Scotland to do “volunteer” work, paid by European tax money (so one can feel good after doing something “good”) is far more immoral then.

END

Posted in Business   No Comments »

It happened…

It finally happened. I have a weblog. My own, my precious.

Let’s see what happens. :-) END

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