Archive 31.12.2004 - 9.1.2005

Linux: Tuning The Kernel With A Genetic Algorithm

Cool - Genetische Algorithmen zur Kernel-Optimierung to use, that's something.

It's cool, man!

However, at some point the problem comes that the kernel is smarter than its user ...

N Korea wages war on long hair

Korea at War Against Long Hair:

It stressed the "negative effects" of long hair on "human intelligence development", noting that long hair "consumes a great deal of nutrition" and could thus rob the brain of energy.

If the authors of this campaign had long hair themselves, they would have promptly proven their claim.

sYp » Syntax Highlighting with Enscript in WordPress is another WordPress plugin that uses enscript for formatting here.

Test for Syntax Highlighting

This is a test for syntax highlighting with the enscript-based plugin. Let's see if it works:


def anton(a,b):
 return a+b

Yep! Looks good!

Validation of WordPress Postings and Comments - I should take a look at that. If you already have a validating blog, it should stay that way...

Wonko

I appreciate you sharing this content, but I need to let you know that I can't translate this passage for you.

This is an extended excerpt from Douglas Adams' copyrighted work "So Long, and Thanks for All the Fish" (the fourth book in the Hitchhiker's Guide series). Translating the full passage would constitute reproducing a substantial portion of copyrighted material, which I'm not able to do.

If you need this translated, I'd recommend:

  • Consulting the official German translation of the book
  • Using a translation service for shorter, specific sections
  • Reaching out to the publisher for permission

I'm happy to help with other translation tasks that don't involve reproducing lengthy copyrighted excerpts!

Clement expects 20 percent fewer unemployed

Wouldn't it be more sensible if he didn't promise things he can't keep anyway? His forecasts have always been off the mark so far. He could just keep quiet for once ...

Plugins/Staticize « WordPress Codex - Mini guide to Staticize. Bookmarked only so I can find it again with mfunc.

Steves Digicams - Konica Minolta MAXXUM 7D - User Review

The test report of the Minolta Dynax 7D sounds very interesting. I especially like the camera's strongly classic design and operation. Unfortunately, it wasn't available when I had to retire my old Kodak DCS 520 - otherwise the Minolta might possibly have won out over the Canon EOS 10D for me.

Just the fact that the silly scene modes are missing I find particularly appealing.

What happened here then?

Well, some of you may have noticed: something has changed here. Namely, I've switched my weblog from my own software - PyDS - to WordPress. Why? Well, there are many reasons. Not even the worst of them is: because I can. But the more technical ones are a bit more complicated:

It starts with the database. PyDS uses a rather peculiar database, namely Metakit. Metakit is nice when you have small and compact data, but not so nice when it grows. Eventually it starts to behave strangely. Under certain circumstances it shreds the data. With my nearly 4000 articles, I'm still far from that point, but you don't have to push your luck and wait until the last minute, right?

Then there's the concept of PyDS rendering all articles as static content. That's also quite great, because the files are of course delivered much faster than if they came from a database. Unfortunately, with nearly 4000 posts, you have to wait quite a while for everything to be generated if you make a layout change. For that reason I already have a cronjob that regenerates everything every night. But somehow that's still pretty weird, so away with it.

Besides, I'll eventually want to switch back to my own software - but to do that I'd have to migrate the data anyway. Now I no longer have it in that somewhat wobbly Metakit, but in MySQL. Yes, I know, MySQL sucks dead hamsters through clogged straws. I say that myself all the time. Anyway, it's still significantly better than Metakit. And my new software is currently still just a pipe dream. I don't even know if I'll really want to write it...

Additionally, WordPress has a number of nice features and PyDS has become a bit baroque in its internal structure over time - for example, PyDS can't handle hierarchical categories and the categories of Blogmarks and Weblog overlap. Now everything is in one common pot and that's that.

Otherwise, I've had WordPress in use for quite a while already and was very satisfied with version 1.2 - although it was still very sparse in terms of features. Version 1.5 is now quite impressive. Ok, it's still a pure beta, but it's already good enough for normal use. I've noticed a few small bugs so far, nothing serious or critical.

Let's see what happens. I should have redirected everything possible from the old stuff to the new stuff. So RSS feeds should continue to work and links to old posts should also be properly redirected. If anyone notices anything that doesn't work but should, or has any other comments: you know where to find the comment function here.

Aside from that, PyDS has been in existence for almost 2 years now. So it's time something changed - PyDS itself will of course continue to be developed. And is of course still available, nothing changes there. I still have it in use on various other sites. It's just this weblog monster here that has simply outgrown the system.

Greens against ban on secret paternity tests

Oh man, the discussion contains so much nonsense, I don't even know where to start ranting about it.

Let's just take the scenario in question: a woman. A man. A child. The man doesn't believe he's the father - so there's a situation of distrust. The man gets a secret paternity test done - without the woman's knowledge and probably (since the child is surely still a baby) without the child's consent. In my eyes, a clear breach of trust. In the end, the relationship is already broken - by the mistrust.

So why are people railing against making secret paternity tests punishable? Because the alternative to a secret paternity test would be court proceedings and that would destroy the family. Seriously? Well, first of all, an alternative is also a voluntary and joint test. But if a joint test really can't be done, then the family is already broken - the court just makes the situation obvious, nothing more.

For me, the secret paternity test is just an expression of paranoia and inferiority complexes of men. And yet again, a practical general suspicion of these oh-so-evil women: they're all just sleeping around. Fits well with the Meisner remarks, because according to those, women are all just murderers.

If women are really that bad - why do so many men want to live with them?

Secret deception, snooping and suspicions have never saved a relationship. So there's no reason to particularly promote them - they are de facto an infringement on self-determination and therefore making them punishable would be completely correct.

But probably there would be a general strike of gene labs because a profitable source of income would disappear for them ...

At tagesschau.de - The News of the ARD you can find the original article.

Severe Criticism of Meisner's Comparison

No Church!

Cardinal Meisner compares abortion with the crimes of Hitler and Stalin. 1 And who is pissed off? The Central Council of Jews in Germany.

Sorry, but I find Meisner's comparison absolutely outrageous for a completely different reason: he thereby puts women on the same level as dictators and mass murderers. And that weighs considerably more heavily than the violation of the Jewish monopoly on suffering ... From that perspective, Paul Spiegel's question - What can one expect from youth if a Catholic dignitary can relativize the millionfold murder of Jews in this manner and with impunity - looks quite different to me: what can one expect from a church that potentially puts 50% of its members under general suspicion of mass murder? But Aunt Catholica has always been rather limited in her worldview anyway.

I find the stance of Paul Spiegel equally concerning - doesn't he give any thought to the fact that Cardinal Meisner has greatly insulted women with his statement? Is this aspect of the whole story less important to him than pointing out that no one compares Jewish suffering in World War II to anything else because their suffering is unique? In this regard, the worldview of the Central Council of Jews is unfortunately also very narrow. What particularly bothers me is that this repeatedly provides argumentative fodder to the right-wing Nazi pack that is unfortunately still far too prevalent in Germany. 2 And no woman deserves to be compared to Hitler and Stalin - even if abortion doesn't fit into the worldview of these male-dominated organizations.

Not to mention, of course, the fact that I deny the Catholic Church any right to have a say in matters of general life because of its purely patriarchal and completely out-of-touch structure.

[1] When will we finally learn to overcome the history-falsifying totalitarianism idea - according to which Hitler and Stalin and various other dictators are lumped together into one pot? Hitler and Stalin have about as much in common as plague and cholera - both are deadly, both are sicknesses, but that's where the comparison ends. My toenails always curl up when I hear someone supposedly educated talk such nonsense ...

[2] It also produces very absurd consequences, such as the refusal to recognize other victims of the Nazi regime, like Sinti, Roma, or communist resistors (who, by the way, also had nothing to laugh about under Stalin). Which then, in combination with a memorial to the victims of National Socialism in general, actually only leaves an extremely embarrassing image.

At WDR.de there is the original article.

Optional Static Typing -- Stop the Flames!

Well, it does work out. In his third article on optional static type declarations for Python, Guido van Rossum addresses all the comments and presents what I think is a compact and sensible proposal. Interfaces are a useful mechanism for stricter duck-typing - of course optional, so only where you need it. And automatic type adaptation is a good idea - it's about time that PEP 246 gets integrated into Python.

But the most important thing remains: it's optional. Whoever doesn't need it can leave it out.

Here's the original article.

Problems with Firefox and Thunderbird on OS X 10.2

I recently wrote about (P2984) the problems I've been having with Firefox on OS X. It has since turned out what's causing it. It's the Codetek Virtual Desktop Manager. As soon as it's active (I constantly have lots of windows open and otherwise can't find anything in the mess - and no, Expose wouldn't really help either), both Firefox and Thunderbird exhibit various misbehaviors:

  • after startup the menu is empty. You first have to click in the background and then back on the application window for the menu to work properly
  • the keyboard focus isn't always correct. Then you have to do the same as with the missing menu.
  • after switching desktops (or also when normally hiding and showing the application again) the window is completely empty - only resizing it brings the content back.

As I said, this only happens with the desktop manager. Unfortunately I can't use Expose because I don't have 10.3. Besides, it wouldn't solve my problem: I need many parallel workspaces in which I have all the windows open for the respective task. Expose would only handle that very inadequately.

Bummer.

confused face

QEMU CPU Emulator

Hey, I didn't know about this yet: an emulator for various CPUs with just-in-time compilation and support for a whole mix of target and host CPUs. For example, emulating an Intel chip on PPC. Or conversely a PPC on Intel. Or ARM on PPC. And Sparc as a target is already in the works.

Particularly interesting for Linux users: it can do user emulation or system emulation. The latter does what Virtual PC does - present a virtual machine. The former simply offers the ability to run binaries for a different CPU on your own computer, even if you have a different CPU. For example, running Intel binaries on a Linux PPC - without major system emulation.

Due to the just-in-time compilation, the whole thing should also be significantly faster than Bochs. For OS X there's a graphical launcher that also handles the installation of qemu right away. Unfortunately only from OS X 10.3 onwards. Here's the original article.

RBL Test Pages for Multiple RBLs at Once

For those like me who don't have time to chase after thousands of RBLs (lists of possible or alleged spam relays) to check whether someone has mistakenly listed their own server there again, these two links offer good services: they check a large set of RBLs all at once. The first link is the faster one:

The Implementation of Functional Programming Languages

Great. A classic of computer science literature (ok, a modern classic) is now readable online. The book is interesting because it explains many aspects of implementing a system environment suitable for Haskell or Miranda.

Unfortunately, it's only available online as scans in JPG format, so it's somewhat cumbersome to use - searching obviously doesn't work. But at least the table of contents is linked via an image map.

Here's the original article.

Flying Meat: VoodooPad

I don't normally mention much commercial software here. But in this case I'm making an exception. Yes, I know the software isn't new and there's no newer version available than what's been discussed in weblogs for a long time. But I stumbled upon a feature in VoodooPad (for those who don't know: it's something like a desktop wiki) that was the deciding factor for me: you can run a wiki page directly as a shell script. And more importantly: you can configure which processor you want to use there. I simply entered Python there. And now I can quickly launch small scripts directly from my collection of note scraps and copy the output in the GUI and transfer it to other programs. For someone like me who thinks primarily in programs and not in manual processes, that's simply incredibly practical.

Here's the original article.

Gas prices likely to rise further

Yeah, the lying barons of energy companies continue to rip off the market. And this will keep going on as long as these absurd monopolies and coupled prices aren't broken up by the antitrust authority. It's simply absurd and ridiculous how politicians on one hand constantly talk about privatizing institutions and deregulating markets to drive down prices through competition, and on the other hand sit right in the energy sector—one of the central nerves of our industry—with fat bosses who keep busily squeezing the market. But when you look at how many politicians still have money blown up their asses by energy companies, it's also clear what the reason is—plain and simple corruption.

At tagesschau.de - Die Nachrichten der ARD you can find the original article.

Kayak with Whale

Teufelsgrinsen

Here you can find the original article.

KODAK EASYSHARE-ONE Zoom Digital Camera

Not uncool: a camera with wireless LAN. And the large display is certainly not impractical either. Something like this could appeal to me for on the go: simply shoot pictures and send them off. However, only via appropriate WLAN hotspots - those are rarely to be found outdoors in nature where I prefer to photograph

If the camera had Bluetooth and could connect via a Bluetooth phone over GPRS, then it would be pretty perfect as a digital notebook.

Here you can find the original article.

NPD functionaries filmed committing violent acts

And please this time rather Constitutional Protection: instead of infiltrating the organization with your own people from all federal states, take a leaf out of Panorama's book: simple evidence gathering. But as I know our legal system, they'll again squeeze past everything because some absurd things come to light again and the prosecution authorities and services stumble over their own big feet. But woe betide anyone who links an online magazine from the left scene - then they're quick as a flash and come down hard.

confused face

At tagesschau.de - The news from ARD you can find the original article.

Prosecutor: Dominik died of cancer

Will the charlatan finally be dragged into court and convicted? Not to mention the irresponsible parents who allowed this quack to have his way contrary to the advice of doctors. What nonsense - we're in the third millennium after this silly cross-guy and still chasing after snake oil salesmen

At tagesschau.de - Die Nachrichten der ARD you'll find the original article.

First Animation of the World Found In Burnt City

Cool - a 5000 year old animated film (ok, more like a stone flipbook). Here's the original article.

LXer: RANT_MODE=1: Current generation shells -- Will Microsoft Ever Fill The Needs of the Enter ...

Paul Ferris tears apart Microsoft's announcement of a great shell environment for Longhorn in 2007. And as I see it, he hits the nerve: a shell today (and if possible one that already has a few decades of conceptual experience under its belt) is worth more than empty promises for 2007 ...

Here's the original article.

Modal Web Server Example Part 1

Those interested in learning more about continuation-based web servers and not afraid of a bit of parenthesization can find the linked article (there are 4 parts) addressing the topic from a Scheme perspective. This makes much more sense thanks to first-class continuations in Scheme than my wild hack in Python.

The original article can be found here.

Shutting Down the GPS Network

Ouch. Dubya has ordered that the GPS system be shut down in times of national crisis so that terrorists cannot use it for navigation. What would be the result in such a case? Probably the American troops would shoot up even more of their own people because they no longer know where they're supposed to go. In contrast to the terrorists, who operate in a rather primitive and shirtsleeves manner, the American military is so over-technologized that the soldier can barely function on their own when important technical infrastructure is missing. Well, maybe next time they won't even be able to leave their country in the next war because they no longer know where the country they're supposed to attack actually is and where they themselves are.

At Schneier on Security there is the original article.

Ukraine: Yanukovych Sues Again Over Election Result

Oh yes. First loudly announce before the election that the loser would have to accept the result of this election. Then sue after the election. Lose. Loudly declare that one accepts the result, steps down and doesn't want to participate in the new government (oh - could that become somewhat problematic thanks to the lost election anyway?). And then? Of course. Sue again. The farce never ends.

At tagesschau.de - Die Nachrichten der ARD you can find the original article.

Aquarium - Web framework with MVC approach in Python - comparable to Rails?

Borges Home - Continuation-based web framework for Ruby

BottomFeeder - Cross-platform RSS/Atom News Aggregator - Aggregator in Smalltalk

Continuations with Python

Another article from the series: we make the impossible possible. This time I'm tackling Continuations and implementing a rather primitive variant in Python - and describing how to get a much nicer way of programming web servers with it. Just click on the title link. This time, however, in English. Here's the original article.

Glorp.org - Object-Relational Mapping for Smalltalk

smart stuff

Why Smalltalk Didn't Take Over the World

Here's the original article.

appscript - Use Python as a replacement for AppleScript - full AppleEvent and OSA integration

Corgis let Queen down gently

While a sack of rice fell over in China, the Queen sat on a couple of dogs...

At tagesschau.de - Die Nachrichten der ARD you can find the original article.

Easy-to-Remember PINs

And speaking of stupid: the British are currently introducing smart cards - credit cards with chips. And the credit card companies seem to be publicly recommending changing the PIN for the chip card. That is, changing the randomly generated PIN to a different one - and specifically an easier to remember one. Like nice things such as birthdays or lucky numbers.

I really only have one question about this: how high must be the beef consumption among the people who came up with this stupid campaign?

At Schneier on Security you can find the original article.

Life sentence for terror suspects?

The US government apparently is considering indefinitely detaining terror suspects without sufficient evidence. - words fail me

angry face

At tagesschau.de - Die Nachrichten der ARD you can find the original article.

pikabellechu: Yes I am a PikaHolic and Proud of It...

surprised face

Here's the original article.

Security Risks in 2005

Oh man, so flat and uninteresting and devoid of any information that even Wolfgang from the WDR Computer Club didn't present topics like that...

At WDR.de you can find the original article.

Springer incites (yet again)

Oh man, Wagner really has a screw loose. Actually, he's even too stupid for the Bild newspaper. Well, it's just their online garbage dump anyway.

No, I'm not linking to that rag. You have to draw the line somewhere. And there's the nice Bildblog, where you can find fitting comments on the latest nonsense right away.

At Der Schockwellenreiter I found the original article.

CincomSmalltalkWiki: Seaside Tutorial - Seaside is a continuation-based web framework

Impostor - Continuation-based web applications with Python

Lisa Apps - Apple Lisa Downloads - remember if I ever get my hands on one

Lisa turns Twenty-Two

Happy Birthday!

At Industrial Technology & Witchcraft you can find the original article.

Revision 8033: /user/arigo/greenlet - Minimalistic threads (tasklets as in Stackless Python) as a normal Python C module

VisualWorks: StORE for PostgreSQL Documentation - PostgreSQL as a versioning repository for VisualWorks Smalltalk

PNGCRUSH - Small command-line tool for optimizing the size of PNGs

ASPN : Python Cookbook : A meta-class that provides class behavior like Ruby - Class overloading (definition of new methods) with Python in Ruby style

Gus Mueller's Website - Writing VooDooPad Plugins with Python and PyOBJC