Archive for September, 2005

If you want something done right…

September 29th 2005

“If you want something done right, you have to do it yourself.” Re-discovered that today. The problem is that I’m no good at dry cleaning.

The problem is that our command has us dress up in our Summer Working Whites on Fridays. Which is fine, except that the uniforms are simply beautifully white, which is to say that they attract dirt/dust easily. So I put mine into the dry cleaners last Saturday. And they shocked me by informing me that it wouldn’t be ready until Thursday (today) by 1530 due to a sudden influx from a visiting Taiwan Navy vessel. Well, whatever.

So I go to pick them up today around 1600. Not there yet, will be there by 1730 *PROMISE*. Now, I’ve worked at a Navy Exchange in a previous life, so I can see where this is going. I also know that I’m rather powerless to fix it at this point but they promise that the dude is already on the way.

So I go back at 1750, and lo and behold, the guy had arrived but his van wasn’t able to fit all the uniforms and he would be back at 1830. *sigh*. So we’ll try this again in about an hour, otherwise I’ll have to buy another shirt (thankfully it needs no tailoring).

Posted by mpyne under Uncategorized | No Comments »

Wow, protest about SCons.

September 17th 2005

I was reviewing the comments on the recent article describing the migration of KDE to SCons/bksys, and came across an incredible amount of disinformation.

The comments against SCons were usually of the variety that a system would suddenly be unsupported, or complaining that SCons uses Python, requiring an extra dependency.

Allow me to destroy those complaints. :-)

1. Bu-bu-bu-but think of all those AmigaOS users!!

The thing to realize here is that even with all of the baggage currently attached to KDE by the current build system, it is simply not possible to build KDE on systems that are more than slightly different from BSD or Linux, without patching the source and the build system. Indeed, the work that has been done using SCons has indicated that SCons actually makes it easier both for ports to Windows and Mac OS X. In addition, there is no reason that 97% of KDE developers and builders should have to suffer just because of the supposed benefits of the autotools. Nowadays any benefits we may have received are vastly outweighed by the disadvantages, and SCons is not only a “good enough” replacement, it is simply better, flat-out.

It is literally just insane how much extra time and space the autotools requires to support systems that KDE doesn’t run on, when SCons/bksys is able to provide everything KDE actually does need. I can distribute a SCons/bksys application, which includes SCons and bksys, in easily one-sixth of the space of an autotooled application (that does not include anything but the configure script and the required /admin directory). For smaller projects, SCons/bksys will beat the total configure/make speed probably by a factor of two, and although the effects will be less significant for larger projects, they’ll still be noticeable.

2. Bu-bu-bu-but SCons uses Python, it’s evil!!

No, Python is not evil. I’ll admit that it’s certainly not my favorite language, as Python has far too many warts to make me comfortable. But, unlike what the popular opinion seems to be about the autotools, they do not rely on just a POSIX shell. They also require a macro processor called m4, and the Perl language to be installed. The fact that POSIX shell is even used means that the scripts run are very slow since unlike with Python, a .sh script can’t tell what bugs/features are in the shell it’s being run by without running a great deal of tests and workarounds. We don’t need that cruft. To top it all off, it still practically doesn’t work without GNU Bash, so all those tests for esoteric shells are for naught, and do nothing but slow us down. This is to say nothing of the Perl dependency brought in by automake, or the fact that it’s practically impossible to actually use autoconf and automake correctly, no matter how many docs you read. In fact, with the adoption of SCons/bksys, KDE has a net reduction in languages since developers don’t need to know Makefile.am syntax, make syntax, m4, and bash syntax just to get stuff done.

Another thing is that the autotools also require good ol’ make. You know, the dependency tracker straight out of the 1980′s? It has its place, but there is a reason that we replaced make with unsermake, and that is because it is increasingly out of date with the reality of build environments nowadays. make doesn’t really support distributed compilation well, and the effects of automake tend to cause make to run very slowly.

So in conclusion, this is an astoundingly awesome change. For those who simply can’t live without all the megabytes of cruft that the autotools entails, feel free to maintain a KDE build system yourself. :-P

Posted by mpyne under Uncategorized | 1 Comment »

Asciiquarium Redux

September 17th 2005

Wow, I didn’t think it had really been two weeks since I last posted. I used to be putting up some new post every day.

Anyways, Power School is still going well. Managed a 3.90 (out of 4.00) on my last test, which is 0.01 above the score that netted me first place twice already. Well, this time it was only good enough for 5th place (although I may get back to a tie for 1st or 3rd dependings on regrades). Of course, the actual placement is relatively unimportant. The Navy doesn’t care how well you do as long as you pass, so neither do I. ;-)

You may remember me going on about some text-mode fish simulator last time I posted. Well, due to popular demand on #kde-devel, Maksim Orlovich and myself have conspired to create a KDE screensaver based off of the fish simulator, with canllaith providing much-appreciated testing. It is a real KDE program, using graphical mode instead of text mode. However, it appears more or less just like the program in question.

Maksim and I managed to optimize it relatively well, it uses less CPU time than the program we based it off of (although it’s because of the fact we get to use graphical mode, not due to any errors by the original programmer). You can find it at KDE Look at its program download page. One little problem is that the preview in the Screensavers control panel looks inaccurate, you’ll need to use the Test button to see what it’s really going to look like.

Posted by mpyne under Uncategorized | No Comments »

ASCII Art Aquarium

September 4th 2005

canllaith discovered a very amusing program:

It is an aquarium simulator that is completely text-based. Quite fun to leave running on a spare Konsole (plus it has sharks, including the bloody splotches in the water, and pirate ships!)

You can find it http://www.robobunny.com/projects/asciiquarium/. For those who are of the Gentoo persuasion, I have the required ebuilds here.

Posted by mpyne under Uncategorized | No Comments »