Archive 27.5.2005 - 7.6.2005

WebKit, WebCore and JavaScriptCore - Open Source

Surfin' Safari reports that WebKit (the Objective-C API for the Safari renderer), WebCore (the base code) and JavaScriptCore (the base code for the JavaScript implementation) are now open source. With CVS repository and public bug tracking system.

Ultimately, this is of course a fork of khtml and kjs, but by disclosing the sources, everyone can now freely use each other's code and thus the problems between the projects should be off the table for now. Contributions are also to be accepted.

WebObjects Part of XCode 2.1

In the WebObjects 5.3 Release Notes I saw and immediately checked: WebObjects is now part of the XCode 2.1 (available for ADC members) distribution. I downloaded the over 700 MB and checked: yes, there is a WebObjects.mpkg in it. Quite strange, because so far WebObjects was not a cheap package - is now the whole deployment free, or do you still need some kind of runtime for the generated applications that then costs money again?

Debian GNU/Linux 3.1 released - wow. It took quite a while

Mac with Intel

Muahahahaha, it's true. I can't believe it. They are really phasing out PPC in the long run and switching to that Intel junk. What a mess. Of course, Intel or AMD doesn't automatically mean bad computers - SUN has built some nice boxes and SGI had a few fine ones as well. And if Apple continues to be as stringent with the rest of the hardware, there won't be any major problems with stability and the system. And the fact that this will again open up the chance for clones is certainly not bad either. But who wants to see an Intel Inside sticker on their Apple? Disgusting.

The crucial thing remains, of course, the operating system - and OS X on Intel is still not Windows, just because the heart beats the wrong way and the processor wasn't co-designed by Motorola.

Oh, and of course, we will eventually be forced to use Intel's crappy DRM stuff...

Otherwise: there will be an emulator that will run PPC programs on Intel Macs if the application bundle doesn't already contain an Intel binary. Therefore, the transition will probably be relatively smooth for users - although PPC applications will then of course only run at a reduced speed. And it will probably become annoying for users that at some point various programmers will no longer generate PPC binaries - simply due to lack of hardware - and thus new versions and new programs will no longer run on the old Macs. Unless someone knits an X86 emulator for the PPC Mac in a similarly transparent manner (and with similar performance issues).

Update: whoa, the switch even made it into the Heute Journal

How Our Government Is Lying to Us Again

"Germany" as a hype man for software patents in the EU Council - about how the concentrated incompetence - also known as Federal Minister of Justice - hitches itself up to the cart of interest groups and screws us all. Not only does the German government act against a resolution of the Bundestag, it also contradicts its own statements. We really live in a banana republic.

Emacs on the metal

From the Movitz mailing list: Emacs on the metal. Someone wrote an Emacs clone in Common Lisp and then created a bootable Movitz kernel image from it. Movitz is a system for programming embedded applications in Common Lisp - and thus the Emacs clone is the first truly bootable Emacs. Sick

Mail.app under 10.4 and self-signed certificates

Mail.app under 10.4 always requires confirmation when first opening a connection to a server with a self-signed certificate - even though I have the certificate in my x509Ancestors KeyChain and have set it to always trust there, it just won't accept it directly. Does anyone have an idea how to get Mail.app to stop this nonsense? It's only when starting Mail.app, later when disconnecting and reconnecting it doesn't happen, but it's still annoying... The message always says "This certificate has no root certificate" - which makes sense, as it only signs itself. Somehow this is quite stupid - instead of simply believing "Always Trust" Apple thinks it knows better. I hate know-it-all software.

Federal Office for the Protection of the Constitution wants to continue observing the PDS

Federal Office for the Protection of the Constitution wants to continue monitoring the PDS - it's already absurd what a fuss is being made about a few remaining leftists. The hatred of and fear of communism and Marxism in Germany is still as unbroken as it was in the USA during the McCarthy era.

The fact that today the constitution and the fundamental rights guaranteed to people within it are much more endangered by neoliberalism and the influence of the economy on politics and society doesn't bother anyone.

And you can make such wonderful politics when you publicly declare that the PDS will continue to be monitored by the Federal Office for the Protection of the Constitution. Especially important before potential federal elections.

Anacron for Mac OS v10.4 (Tiger)

Anacron for Mac OS v10.4 (Tiger) - System/Disk Utilities is a port of Anacron to OS X with support for Tiger's new launchd. Anacron ensures that regular cleanup jobs are also triggered on computers that are not constantly running - otherwise, the log files will eventually overflow.

Don't ask me why Apple hasn't been delivering and installing this as a system component for a long time, as Apple users' desktop computers are rarely running nonstop - and there's nothing more unpleasant than systems whose log files explode. Whether they become larger than 2 GB or the disk is full or the backup takes unnecessarily long because of the large log files.

No attorney's fees for cease and desist letters in multiple representation - not yet the long-awaited breakthrough, but at least a first sign of intelligence. It would also be nice if multiple representation (as practiced, for example, by Walldorf and Stättler in the music industry and with burning programs) were treated similarly. At least where not explicitly representing the rights of specific companies but rather general ones.

Österreichische Gesundheitskarte violates the privacy of the unemployed - just for documentation that political madness also affects foreign politicians. It seems to be a European plague. Shouldn't we finally introduce strict quarantine regulations?

SuperDuper! and FileVault

From the discussion Shirt Pocket Discussions - SuperDuper! and FileVault (a somewhat clearer explanation is in this discussion) it can be gathered that there are a few problems with SuperDuper! backups when using FileVault to encrypt your home directory: if the logged-in user is a FileVault user, their sparse image (the file where the actual home directory is located) is not backed up correctly and cannot be mounted correctly when booting from the backup.

The manufacturer suggests in the discussion to set up a second user who does not use FileVault and log out of the FileVault accounts to start a backup under this user.

Alternatively, you can of course create a separate backup for your home directory - the FileVault image is mounted normally when you are logged in. However, this means that the encryption is lost. This can of course be solved again with an encrypted SparseImage on a backup medium.

All in all, this is not the ultra-simple Mac user-compatible operation you would wish for. Precisely the home directory is the one that contains all the important things and whose contents you should back up regularly - but precisely this becomes cumbersome to back up as soon as FileVault is involved.

Of course, you can also do without FileVault - but somehow I don't want to entrust my private data on the notebook to an OpenFirmware startup password as the only security measure ...

How FileVault works

As a follow-up to the previous entry about the problems with backing up FileVaults from an active FileVault account, I took a closer look at what Apple actually does for FileVault. I'm not particularly enthusiastic about the approach.

First of all, a FileVault is nothing more than a so-called Sparse Image - a disk image in which only the actually used blocks are stored. So if it is empty, it doesn't matter how large it was dimensioned - it only takes up a little disk space. With the stored data, this image grows and you can have it cleaned up - in the process, the data blocks that have become free (e.g. through deletions) are also released again in the Sparse Image, so the image then shrinks. Additionally, encryption is enabled for the FileVault images. The shrinking happens semi-automatically when logging out: the system asks the user if it may. If the user agrees, it is cleaned up. But this is only the mechanism of how the files are stored - namely as an HFS+ volume in a special file. But how is it automatically opened at login and how is it ensured that programs find the data in the right places where they look for it? For this, the FileVault image must be mounted. In principle, the process is the same as when double-clicking on an image file - the file is mounted as a drive and is available in the list of drives in the Finder and on the desktop. However, for FileVault images, the desktop icon is suppressed. Instead of the desktop icon and mounting to /Volumes/ as is usually the case, mounting a FileVault image is somewhat modified. And that is, a FileVault image is usually located in the user directory of a user as a single file. So for a logged-out user hugo, there is a hugo.sparseimage in /Users/hugo/. As soon as the user hugo logs in, a number of things happen. First, the Sparse Image is moved from /Users/hugo/ to /Users/.hugo/. And is no longer called hugo.sparseimage but .hugo.sparseimage. Then it is mounted directly to /Users/hugo/ (which is now empty), which is why it must also be pushed out of the user directory, as it would otherwise not be accessible if another file system were mounted over it.

Now the volume is accessible as the user's home directory. Additionally, all programs see the data in the usual place, as it is mounted directly to /Users/hugo and thus, for example, /Users/hugo/Preferences/ is a valid directory in the image. When logging out, the whole thing is reversed: unmounting the image and then moving it back and removing the /Users/.hugo/ directory. Additionally - optionally - compressing the image.

Now it also becomes clear what problem backup programs have: when the backup runs, the home directory is empty and the image is moved to the dot directory. Booting into such a created backup would not find the user's home directory and would present the user with an empty home - it would appear as if all files had been lost. This is also one of the major problems of FileVault: if the computer crashes while you are logged in, the directories and files are moved and renamed. So if you use FileVault and can't access your files after a crash: maybe it helps to log in with another FileVault-free user (which you should also have for backups!) and repair the home directory. I don't know if Apple's disk repair program would do that - so far, none of my FileVault installations have crashed. But for the emergency, you might want to remember this. Overall, the whole thing gives me a rather hacked impression - I would prefer if the whole system could do without renaming and moving. For example, the FileVault could simply lie peacefully next to /Users/hugo as /Users/.hugo.sparseimage and only be mounted - then backups would have no problems, as the structure between logged in and logged out would be identical. I don't know why Apple took this rather complicated form, probably because of the rights to the Sparse Image and the resulting storage location in the user's home directory.

Buzz

CRW_0932.jpg

Snail ...

CRW_0925.jpg

PGP Corporation disrupts PGP Freeware Mirror

Found at rabenhorst: PGP Corporation disrupts PGP Freeware Mirror. I always find it disgusting when I look at what has become of the old PGP project, which has now turned into a commercial mess. PGP was once the pioneer in making usable cryptography available to ordinary citizens—and during the PGP 2 versions, it was indeed openly available (up to version 2.3 under GPL). For exactly this reason, I made the PGP ports to DOS back then. And now the PGP Corporation is lashing out and taking action against free mirrors of the freeware versions. A good example of why it's better to invest energy in projects that belong to companies, but rather in freeware with free as in free speech...

Therefore: use gnupg. The code is also better—I still remember with horror the pseudo-object-oriented code in PGP 5, fixing that stuff was not really entertaining.

By the way, the changelog for the DOS version of PGP 5 (scroll down) was my first weblog, so to speak—and that started as early as October 97. Should I now challenge Dave Winer?

Photon iPhoto Plugin

Photon is a very nice iPhoto plugin that allows you to easily post pictures from iPhoto to a MetaWeblogAPI-compatible blog (e.g. WordPress). The pictures that were just uploaded come from it. Photon uses the image data in iPhoto, so you finally have something to give your pictures titles (with Snail ... I did it wrong - that's why the link is so cryptic). I like the plugin ... What doesn't work quite right again is using it with my own photo blog on hugoesk.de - there I use my own WordPress plugin that manages all the metadata. Let's see if I can hack something together that automatically adds the missing metadata (e.g. EXIF data and photo assignment) from MetaWeblogAPI posts via Photon, or if I will continue to work classically with file export from iPhoto and subsequent upload. By the way, the two uploaded photos were previously RAW images - iPhoto handles the RAWs of the 10D very well. And the new editing window in iPhoto is also quite usable. However, iPhoto has a stupid bug: it only writes reduced EXIF data to the JPG when exporting to disk. The aperture, time, and focal length are included - but the original date is missing. Quite annoying when the target software generates an entry date from it (as hugoesk does). In addition, iPhoto only imports the .CRW files, not the .THM files (which store additional setting data). On the one hand, these data are missing in iPhoto, and on the other hand, memory cards gradually fill up because the .THM files remain and take up space. At least when you use the delete originals option in iPhoto. I definitely have too many photo management systems in use.

Lawyer as a serial bank robber - can he now defend himself in court and save on legal fees?

New Lens for My Canon

I've treated my 10D with a Canon 100mm macro lens - really a fine lens. I've uploaded a few results from my first experiments with it to hugoesk.de. I'm already quite satisfied with them - especially considering that they were all taken handheld. The 100mm on the 10D has a field of view similar to a 160mm lens and is therefore a nice medium telephoto focal length for me - comparable to the 180/2.8 on my Contax. Thus, it is very flexible to use and, in my opinion, worth the money. However, my previous 50mm macro won't become unemployed, even though it only goes up to 1:2: it is simply much smaller and therefore great as an all-round lens.

At Schockwellenreiter seen: QTAmateur, a simple QuickTime player that can also export - could actually end the constant QTPro buying, because I actually only need very few of the export functions of QT.

Experts Advocate for VAT Increase

Experts advocate for VAT increase - if you look at these alleged experts, you find IW director Hüther and the chief economist of Deutsche Bank. Completely neutral experts, of course. Why do these allegedly professional journalists write such nonsense? Every idiot from some employers' association or employer-affiliated institute or major bank is called an expert - but if something comes from the employees' camp, they are critics from the unions. This is how the neoliberal crap is beautifully upheld and the citizen is told where to look for his experts - regardless of whether these experts are anything but experts (I still think with horror of the mathematically completely untalented and otherwise quite incompetent financial expert Mertz) or pursue their own political agenda. That in this specific case something must be rotten with the experts should also be noticeable to the dumbest journalist: although the VAT should be increased, but of course only with accompanying measures. Look at these measures. One screams for a reduction in wage-related costs as an accompanying measure and the abolition of the solidarity surcharge - but only the latter is relevant for the consumer. And now look at what someone on social assistance or unemployment benefit II pays in solidarity surcharge - nothing. But this person still fully bears the VAT increase.

The other talks about the fact that the risk of reduced consumption must be accepted, as the advantages of reducing labor costs outweigh - because he also wants to reduce various payments. At least for both sides - at least he did not explicitly talk only from the employers' side, but presumably he simply forgot that there is also an employees' side. And here too: social assistance recipients and unemployment benefit II recipients are not relieved and get the full VAT increase.

None of the so-called experts has spoken about the fact that a VAT increase must be accompanied by an increase in social assistance and unemployment benefit II. Both accept that people who are already impoverished will be even worse off and that more people will fall below the poverty line. They act as if they were experts - but in the end they are only the henchmen of the exploiters and swindlers and want only the same thing that the employers' side has been demanding all along: to squeeze the employees even more.

VAT is the most unsocial tax we have. On the one hand, it is only relevant for consumers, and indeed for domestic consumers. On the other hand, it is based on consumption - and this can of course not fall below a certain level, because everyone has to live and has to pay for it - and thus this tax hits the hardest those who have the least. Because their consumption can hardly be reduced any further.

FDP will block disclosure of executive compensation - that's where you see who the FDP really represents.

In the Name of Security, the Following Nonsense is Issued

Mass criminalization feared at the 2006 World Cup - the whole of Germany is being turned into a prison with permanent surveillance. In the name of security and football. Does anyone really believe that the security facilities will be dismantled after the World Cup?

Kodak confirm SLR/n and SLR/c discontinued - after Kodak was one of the first to build digital SLRs, and not even bad ones, it's now probably over. Ok, the SLR/n and SLR/c do make rather bad impressions, compared to current SLR bodies from Canon or Nikon. Earlier Kodaks like the 6xx and 7xx series were really great devices.

New Nonsensical Pseudo-Copy Protection

Sony BMG: "Sterile" Audio-CDs sollen illegale Kopien verhindern. Excerpt: It's just about making it more difficult for the average user to copy. - but the average users are allowed to make copies legally. However, professional pirates won't care. Just another example that the music industry doesn't really care only about eradicating pirates - they explicitly want to eliminate private copying. Because they are criminalized by such copy protection measures - because bypassing even such trivialities is prohibited by law. Professional pirates couldn't care less about the illegality of bypassing.

PC Systems on the Mac

Who doesn't feel like paying Microsoft for Virtual PC and isn't exactly thrilled by the other well-known alternatives, might want to check out a less known one: iEmulator PC Emulator for MAC OS X is an emulator for the Mac based on QEmu. The special feature: not only the normal 32-bit Intel chips can be emulated, but also the 64-bit ones, as well as Sparc, ARM, and PPC. Pretty cool, that thing. And for those who find even the 25 dollars for iEmulator too much (or are hardcore OSS users), there's QEmuX - a free graphical interface for QEmu on the Mac.

To take it for a test drive, you can get suitable pre-prepared images from FreeOSZoo.

In initial tests, I had the usual problem: the keyboard layout just doesn't fit. You can only get something similar to a German keyboard layout, it doesn't fit exactly - the umlauts are off, some special characters are wrong, the whole thing is quite rough in that regard. Not that Virtual PC is any better: I could never properly enter the angle brackets and the pipe symbol under Virtual PC (which is pretty stupid for programmers).

The CHICKEN Scheme Compiler

A frequently overlooked (also by me) Scheme implementation is the CHICKEN Scheme Compiler. What's special about this implementation: in addition to the interactive interpreter, there is a compiler that produces portable C and compiles it into loadable modules using a C compiler. This makes this compiler particularly good for integrating C libraries. In principle, this is still quite similar to Gambit-C, another Scheme implementation that uses C as an intermediate language.

But Chicken goes beyond Gambit-C in terms of generated C code - the system is explicitly designed to be mixed with C, while Gambit-C simply uses C as a portable assembler. In Chicken, the FFIs (Foreign Function Interfaces) are much simpler. This is evident in finished interfaces to various databases such as metakit (used in the Python Desktop Server), PostgreSQL, and sqlite.

In addition, Chicken has gained a nice infrastructure of network-installable extensions with the Eggs - with web server, database, and many other delicacies. This of course helps immensely in programming - I have come to love such an infrastructure of ready-made code with MZScheme, Python, and Perl.

Chicken also compiles under Mac OS X. At the moment, the compiler is running in the background for me.

Typical Mac User is ...

... to install Desktop Manager, set it to Transition Cube, and then constantly switch back and forth between two desktops just for the fun of the visual effect

Upgrade to WordPress 1.5.1.2

After upgrading, there might be some unusual effects - if you notice anything, please let me know. I'm referring to unusual effects that weren't there before - the other unusual effects that have been here for a while are probably intentional.

Track 22 voted best music club in Germany

Gleis 22 has been voted the best music club in Germany for the second time - and I found out a) from the Goslarer Zeitung and b) have never been there.

Somehow, for me, Gleis 22 was always associated with the JIB as a youth facility (with a bicycle workshop and photo lab), and the fact that the music club is normal for everyone and also offers music that could definitely interest me (punk, indie, alternative) somehow escaped me. And the place is also within absolute walking distance of our apartment.

Man, I'm an idiot. I've only lived in Münster for 13 years ...

Light and Shadow

Light and Shadow

Light and Shadow

More pictures from the Stadthafen Münster can be found on one of my many (too many?) gallery pages.

Light and Shadow

Light and Shadow

Light and Shadow

Schröder and Fischer regret France's vote

Schröder and Fischer regret France's vote: The outcome of the referendum is a setback for the constitutional process, but not its end - but before the referendum he said something completely different. It's great how you can rely on politicians to lie about their world - of course also against the voter. In France, the propaganda machine has failed, in the Netherlands it will probably also fail. But don't worry, the strengthening of the power of the EU Council and the EU Commission will be enforced, something like the will of the citizens will not stop the big politics ...

But Nuclear Power is Soooo Safe

Highly radioactive liquid leaked in Sellafield - but of course, all supporters keep insisting that such problems could never happen here in the West. No, we don't have major accidents, no near-catastrophes, and no unnoticed or covered-up incidents. Allegedly, everything is great here. Now, the supporters will certainly find countless reasons why what happened in Sellafield cannot be generalized and why it wouldn't happen in Germany because our facilities are so great - presumably, the English told themselves the same thing.

Sorry, but there are a few absolutely generalizable problem areas with nuclear power:

  • Safe disposal of waste is not guaranteed
  • The consequences of accidents are - due to the substances involved - much more problematic than with conventional power plants
  • Economic viability is by no means given

But when there's a shift to black/yellow, it will be said again that only with nuclear power can emission values be met and that everything is so incredibly safe and that we never had and will never have a major accident because everything is much better here than elsewhere.

Exactly the same bullshit that the supporters in England probably also told about Sellafield ...

PageRank has not been available for a few days

Moe blogged about it, I hadn't noticed it yet. Doesn't seem really important to me ...

Our computers belong to us - still

As rabenhorst(whose site, by the way, sends my Safari to the happy hunting grounds) links: Intel has built DRM techniques into the new dual-core processors that, for example, Microsoft can use to build upon in the system. Then Microsoft, on behalf of the entertainment industry or for its own benefit, determines which software and which data can be used on the system. Private copies are no longer up for discussion, and let's wait and see when Microsoft then classifies Open Source as untrustworthy and blocks it.

Algol 68 Genie - An Algol 68 interpreter. Obercool. Algol 68 is indeed a vintage language, but a fascinating one: the only one where a metalanguage was defined for the definition of the language itself, in which the definition of the language itself is written. The Algol68 Report is still one of the most fascinating programming language standards I know.

Giro is damn exciting

The stage today was great: at one point, Simoni - after help from DiLuca - had already virtually put on the pink jersey, but then lost it again in the descent and subsequent finish. All positions 1-6 of the general classification were represented in the leading groups and fought for points. Impressive were the quite colorful coalitions that formed and held for quite a long time. Salvodelli has a lead of just 28 seconds over Simoni and 45 seconds over Rujano, today's stage winner, after 3500 km of racing. Wow. It would be nice if the Tour also showed such active cycling once in a while instead of wild tactics.

There is also a PDF Browser Plugin for Safari. Free for non-commercial use. It displays PDFs directly in the browser instead of launching an external viewer. I haven't tried it yet, though.

PithHelmet is an ad blocker for Safari. Very similar in function to the AdBlocker for Firefox. Very practical, making Safari a quite interesting browser again. In addition, PithHelmet for Safari provides selective JavaScript suppression and similar mechanisms - just like OmniWeb does. However, one or two rules (especially the BadSense rule caught my attention) are a bit aggressive, but you can configure that well.

Safari WebDevAdditions is a developer toolbar for Safari - so display of block-level elements, links, etc. It makes a quite practical impression on me.

Saft is a kitchen-sink extension for Safari. Packed with features. However, it's shareware, and I haven't tried it yet.

Scharping is no longer running for the Bundestag - if the statement came from a politician from whom one could assume that he would actually be elected, it would indeed be interesting. But Scharping?

Agfa-Photo GmbH goes into insolvency - oh man

Basso again! - takes the second stage win in a row at the Giro. Wow. This gives hope for the Tour.

Please do not rub

Here's what's written on the letter with the secret number for the MasterCard. Strange. It's not a scratch card after all...

Blechtrommeln machen Lärm and like Heiko, I'll keep banging on my little drum. Even if I'm just one Oskar Matzerat among many.

Digibux - Digital Library Bets on Open Source - cool. Maybe this will finally create an open format for eBooks. So far, many book contents have been distributed as HTML collections (only laboriously searchable with grep) or PDF (more focused on form than content). The software of the digital library, on the other hand, is specifically designed for research and use of the contents. What else comes to mind: how about a Spotlight plugin for the software?

LispWorks Personal 4.4.5

LispWorks Personal - the free (free beer-free) LispWorks version is available in the new 4.4 release and also runs with Tiger. LispWorks is currently the most interesting Lisp environment for the Mac, as it integrates relatively well into the system. And the Personal version is quite sufficient for playing around.

Processor Fan for Powerbook 12"

Well, a story that naturally hits me now is the change by Apple to the processor fan's response threshold - something was changed with 10.3.3 and since then, the fan is basically always on in a 12" PowerBook (at least in the older ones - mine is still one with 867MHz). Annoying, that. Before, it was a nice quiet device, now it's noisy - especially when operating on the power grid. And this even when there is absolutely no activity on the box (MenuMeters shows absolutely low-level activity).

There used to be a software called Silent Night, which replaced two kernel extensions (AppleADM103x.kext and AppleADT746x.kext) with older versions and thus reset this control to old values (which, after all, did work). There is also a description of this available. But somehow, you can't find anything there anymore - the links are dead. Does anyone have a useful idea of what could be done? The 12" PowerBook unfortunately doesn't have the processor setting "automatic" (for some reason), but only "maximum" and "minimum" - and a castrated processor wouldn't be any better than a noisy fan. If it were automatically regulated, it would be okay, but as it is ...

Somehow, I find it pathetic that Apple doesn't offer a usable solution. Simply imposing fan noise on the user is quite harsh - especially since I couldn't find any documentation about it at Apple. Normally, you would at least expect a knowledge base article on this ...