Friday, 29 December 2006

Microsoft Vista Praise Could Go Here

It seems that Microsoft is giving away brand-new Acer Ferrari laptops as Christmas gifts to some bloggers out there. These people have apparently been praising the upcoming Microsoft Vista operating system in particularly clever (and objective, I'm sure) ways, and so now get their rewards.

If you haven't had the chance to drool over an Acer Ferrari yet, have a look and tell me that you don't want one.

Look, Mr Gates, I know I wrote a little something about the Vista EULA some time ago, and I know I've been blogging about Linux every now and then, but is it really too late for atonement? Perhaps I could write some positive words about the XML-based new layout format you hope to backstab, I mean, replace, PDF with, or maybe I could join the MS choir about the benefits of the Office XML format? Or I could just write a blog about the Microsoft-Novell agreement where you hope to short-circuit the open source market?

Call me.

Friday, 8 December 2006

Blogger Beta Problems

It seems that I cannot reply to any comments on my blog entries. The word verification system is messed up and I cannot solve the problem now. Therefore, I will post any comments here, for now...

Comment/Reply to My Entry on Social Stories(TM):

Yes, social stories are indeed very useful. We use social stories to help my son with various day-to-day chores and such.

In this case, I couldn't get past the TM symbol. I would probably buy that book if it weren't for the TM inserted everywhere... It's the autie in me speaking, and that particular detail is all I can see now.

There's still the TEACCH workbook also authored by Carol Gray. Thankfully.

Cheers,

/Ari

I'm Rediscovering C with K&R

Lately I've been rediscovering C. The programming language, that is. Mostly, I've been doing it by reading Brian Kernighan and Dennis Ritchie's classic tutorial on the language, The C Programming Language. By today's standards, it's a rather thin book, only 272 pages, but it's the best book ever written on the subject, and vastly superior to any 1,000-page Learn C in 21 days and the like. If I was allowed a single computer book to emulate, it would be it, the classic K&R.

They don't get any better than K&R. The book's concise yet thorough, easy to read, and never wordy. And it was the first book to showcase a Hello World example program.

Now, I'm not a real programmer by any means. While some of my code is actually used out there, and I've been paid good money for it, most is rather bad, wordy, and overly ambitious. Which brings me to another book I'm craving at the moment: Code Complete, by Steven McConnell. It's a general-purpose volume from Microsoft Press (of all places) on writing good, professional-quality code, containing best practices of all sorts, from tips on testing to the pseudo-code method, and much, much more. I've been reading it at the local bookstore for days now, and while it's way too expensive to buy there, it's more reasonably priced at Amazon and other online Meccas.

It's my current #1 obsession to get that book, and while I really don't have the money right now, I fully expect to give in to the temptation shortly. A few abstract clicks late one night, a PayPal message, and it's mine.

I'll let you know.

Monday, 4 December 2006

Social Stories

Social stories are often used to explain the intricacies of social interaction and other abstractions to autistic people. They look a lot like a comic book; rather than using complicated words and thus the inevitable abstractions, often beyond the autistic mind, they use pictures and sometimes text to explain a concept.

A good example of a typical social story is the image to the left, developed to explain some simple similes for autistic children. Often, parents of autistic children will have ready-made images for various purposes, from brushing your teeth in the morning to welcoming guests to the house in a proper manner. Social stories can be an excellent, often invaluable, tool, and have saved the day for probably countless families with kids on the spectrum.

Jessica Kingsley Publishers, a company specializing in part on Asperger/autism literature, publishes a sizable portion of the available books on autism spectrum disorders, so it came as no big surprise to me to find Revealing the Hidden Social Code by Carol Gray prominently displayed. The book promises to explain "key elements of Social StoriesTM, review the guidelines for writing them, and help writers to structure and develop their stories", and indeed, it would have been one of the more authoritative guides on the topic since Carol Gray is the originator of the concept, had it not been for a little detail.

TM.

Everywhere, those two letters. T and M. And Social Stories, capitalized. Jessica Kingsley Publishers or Carol Gray, or both, regard the concept as trademarked, and so, everywhere where the two words Social and Stories are mentioned in each other's immediate vicinity, the letters T and M follow, superscripted. Bla bla Social StoriesTM bla bla bla bla Social StoriesTM bla bla. Bla bla bla bla Social StoriesTM bla bla bla Social StoriesTM bla. Social StoriesTM bla bla bla bla bla.

See what I mean? Once you've noticed, it's impossible to not see it. See how those two letters stand out, see how they destroy whatever context the author wished to dwell in? You can't not see it.

So, for me at least, it's now impossible to buy that book because I'm afraid I'll learn not about social stories as such, but about how important it is to preserve your questionable trademark, no matter the cost.

Tuesday, 28 November 2006

Blogger in Beta

Oh, and in addition to upgrading to Iceweasel, I've also taken the leap to the new Blogger. It's still in beta, but I've already noticed significantly faster editing and publishing. There's a seemingly nifty layout function that goes beyond static CSS hacking, but I've not dared to try my hand on it yet.

A possible downside is that instead of a separate Blogger logon, they've integrated it with memberships and stuff. I'm not sure I like that, since it would appear that to have multiple Blogger accounts, I need a distinct email address for each and every one. (Why would I want that? Glad you asked; if I want to use and display different personal profiles, that's what 'll need.)


So all I need now for my Google-induced happiness is a GMail account. But that's not yet in widespread release so I guess I'll just have to wait.

Iceweasel in Debian, Part Two

After a few days of procrastinating, I finally upgraded to Iceweasel 2.0, that is, Firefox 2.0 minus the trademarked logo. Mysterious are the ways of militantly free open source, but it's a very nice browser.

Wednesday, 22 November 2006

The MS Windows Vista EULA

Microsoft's version of the brave, new world was never more apparent than in the Windows Vista EULA:
You may not work around any technical limitations in the software.
In other words, you're prohibited from downloading and installing any patch or driver to your shiny new Windows Vista OS, unless the patch or driver is provided by Microsoft. Where do you want to go today? Me, I want to run away screaming.

I think I'll stick to Debian GNU/Linux, for now.

Tuesday, 21 November 2006

Iceweasel in Debian

Long time no blog. Shocking as it may seem, I've not blogged since September. I'm sure you've all missed me.

Anyway, here's why I blogged today. To put it simply, the Mozilla Foundation uses a trademarked Firefox logo that Debian team cannot distribute with its upcoming Etch release of the Debian OS, and therefore decided to rename the browser Iceweasel. The current license (of the logo) does not allow the reselling of software that includes the Firefox logo, so the renaming was the only option available to the Debian team if they wanted to distribute the browser. (For those of you not in the know, Debian is free software, and you can do whatever you want with the OS, including reselling it for a hefty sum of money.)

Unfortunately, Debian's taking a lot of heat for the move. The decision to let Debian remain free and untainted by non-free licenses is called anything from "lame" to "disruptive", and people are arguing that Debian's strict license policy is hurting the open source movement since Firefox is its flagship product, soon to run on every desktop there is. And the policy is supposedly extra dangerous now, when Microsoft finally decided to upgrade Internet Explorer.

Unfortunately, people are missing the point. This is what open source really is about. The whole development model is about the freedom to do whatever you want with the software, including reselling it. It's the "free" part that enables fast development, quick and efficient bug tracking, and new versions as fast as you can type apt-get.

Don't let the open source ideals get lost because of some stupid image that will be changed and forgotten in a few version bumps, anyway.

Thursday, 28 September 2006

Back in Action

wine 0.19-1 has now reintroduced XMetaL in my Linux apps repertoir. However, it still crashes if I double-click on a word in the edit window. This rather limits the usefulness of the editor, for now.

Tuesday, 12 September 2006

XMetaL... Not!

wine 0.9.17-1 breaks XMetaL 3.1. So there.

I don't have the strength to go back to wine 0.9.16-1 right now, so I think I'll just wait until the Debian package folks catch up. At WineHQ, the current version is 0.9.20...

Wednesday, 9 August 2006

No Viruses Right Now, Please

ClamAV, my virus hunter for Linux, stopped working today, after an unfortunate update of it and LSB Base ("Linux Standard Base"). Therefore, please don't send any viruses my way until the fix is in place (the updates are supposed to be uploaded within the next few days; have a look at the bug report).

Tuesday, 1 August 2006

Weird XMetaL Bug in Wine

Up to, and including, wine 0.9.15-1, my installation of XMetaL crashes if I double-click somewhere in the writing area... I wonder if this is because of the reimplementation of the Internet Explorer Active X APIs in wine? I think I have to find a way to continue using Internet Explorer in wine, for now. Or downgrade to 0.9.11-1.

By the way, Internet Explorer doesn't start in wine 0.9.15-1 but you knew that, didn't you?

Tuesday, 4 July 2006

Prenatal Autism Test, Part Two


I just wanted to add the above image, from the Autism Prenatal Test site. If you want to use it on your site/blog/car bumper sticker, feel free to do so.

Monday, 3 July 2006

Eugenics and the Autism Prenatal Test

It's now possible to test for autism in your unborn baby. A blood test, so far with a very limited availability, can be used to scan the fetus for possible autism genes. So the question is: if you knew, would you do it?

Before you start arguing for the parents' right to choose, please have a look at this site. I won't force you to read all of it, but at least consider if, given the choice, you'd have allowed Bill Gates to be born. Yeah, I know; I'm a Linux user myself, and a question such as this, even if it is rhetorical, is almost impossible to resist.

Eugenics, anyone?

Tuesday, 20 June 2006

Would You Give Electric Shocks To Your Child?

Would you give electric shocks to your child?

I'm asking because while most of the so-called civilized world would react in horror at the mere suggestion of torturing children to alter their behaviour, this is exactly what's discussed by the State Education Department at the University of New York, right now. The issue at hand is whether or not to allow aversion therapy to alter or hinder unwanted behaviour in children, especially in disabled children. Sounds abstract? Uncivilized? Let me give you an example.

Autistic individuals sometimes display seemingly involuntary body movement such as arm flapping, rocking, or tics of various kinds. They call this stimming and while such behaviour can certainly appear bizarre to "normal" people, it is actually a sensory coping mechanism and allows autistics to deal with outside stimuli and reduce overall stress. The fact that stimming works is well documented in autism research.

Adults with autism and Asperger Syndrome can often avoid stimming noticeably in public, knowing fully well that NTs (Neurologically Typical, in other words normal people; a term coined by autistics on the Internet) have difficulty accepting such deviant behaviour. Autistic children, however, often don't realize this and happily stim whenever they need to.

But, as I said, many "normal" people consider stimming deviant behaviour; some even think it should be forbidden.

Which brings us to Judge Rotenberg Center in Canton, MA, an educational facility where aversion therapy is used. They use a Graduated Electronic Decelerator or "GED", a device of their own design, to regulate the students' behaviour. The GED is basically a zap box complete with two remote electrodes to be attached on the hapless student, up to six inches apart to increase the "therapeutic value". Every time a student displays unwanted behaviour (stims are the prime time example here, but talking without permission is perhaps easier for most readers to relate to), the educator pushes a button and shocks the student.

Now, unless your children have special needs and must be educated outside the public school system, they are safe. You see, the Judge Rotenberg Center is a special needs facility, serving "both higher-funtioning students with conduct, behavior, emotional, and/or psychiatric problems and lower-functioning students with autistic-like behaviors". Also, it is privately held, and here's the key: aversion therapy is not approved for use in public educational facilities.

I ask again: would you give electric shocks to your child?

Saturday, 10 June 2006

Downgrade!

Just downgraded wine to 0.9.11. Everything works like a charm, including XMetaL, Internet Explorer, and my newly installed FrameMaker 6.0!

Monday, 5 June 2006

wine 0.9.12

Just upgraded to wine 0.9.12. It broke my XMetaL installation. It seems that wine now wants to handle ActiveX using built-in libraries, but unfortunately the new library either doesn't implement OLE properly, or there is a bug somewhere. A quick Google search didn't tell me anything earth-shattering but confirmed that others are having problems as well.

On the other hand, the Debian wine still lags behind; 0.9.14 is the latest version out from Wine HQ.

Thursday, 1 June 2006

References

I talked to a friend yesterday. He works at an IT consultancy that is best left unnamed here, a well-respected one, I might add, and yesterday, they had a job ad in the paper. They have everything, the ad claimed, but they need to grow. They need a few more good men (and women).

My friend and I, we have a mutual acquaintance, a developer who's one of three or four top developers in his field. He's also a nice, likable guy, and so my friend recommended him to his bosses at the well-respected IT consultancy. Of course, they asked to see his CV, and so far, so good.

Except they said no. He isn't what they're looking for. He's got the wrong profile.

So I started to think about this, and realized that the people who hire other people are usually the ones who are the least qualified for the job. They're executives, salespeople, or perhaps HR people in som cases, but most of them have never done any dirty, hands-on work in "their" fields. They lead, and they hire people, and they make executive decisions, all of which is fine and dandy, but they don't know the details of what their companies do.

Therefore, they shouldn't be the ones hiring other people. In this case, everyone in the field but the bosses know the value of our mutual acquaintance. We all know he's top notch, he's a real find, he's proven his worth many times over. Yet, the bosses are the ones doing the decisions, and they say no. Why?

A part of what's supposed to make a leader great is the ability to listen, to trust those working for you. Why is it that this trust is so rarely extended to the employees?

Tuesday, 23 May 2006

XMetaL, Again!

Turns out that once I sorted out the localhost resolution problem, outlined below, wine and everything with it works like a charm. Therefore, today I pressed my luck by reinstalling XMetaL, according to my set of instructions from a February blog entry, and it also works like a charm.

Now I'm anxiously waiting for the Debian maintainers to update wine to the latest version. The unstable wine lags two versions behind...

Monday, 22 May 2006

Wine Solutions

It turned out that my wine problems, mentioned in previous posts, were pretty easily explainable: Somehow, my local DNS resolution was out of order, meaning that I couldn't map localhost to 127.0.0.1. wine, just as many other programs, use localhost just about everywhere. All it took was a reconfiguration of my LAN, easily achieved with dpkg-reconfigure etherconf.

Monday, 15 May 2006

Tomorrow...

...could easily be my last day as a projectionist, as my theatre, the Draken, has its last scheduled commercial screening. It's at 7 p.m., and it's a Swedish classic by Bo Widerberg; it's old, it's black-and-white, and it's boring, and for the life or me, I can't recall its title.

See, the Swedish Film Institute is moving its Cinemateket film classics screenings to the Capitol theatre after eleven years with me and Draken doing their dirty work, and there's very little I can say about the whole affair without losing the PG rating of this blog.

All of this has come about on a very short notice; a day or two before my theatre's 50th birthday on April 26, I was still confident that the Draken still had many years left in public service. It was only on the day before the anniversary that I first heard about their plans, and this was an accident. I wasn't meant to know. Nobody was.

Anyway, if you want to complain, the contact information is easily found at the Swedish Film Institute's home on the Internet. There are laws against me publishing phone numbers here, apparently.

I suppose all this gives me more time to write.

Sunday, 7 May 2006

Corrective Measures

I mentioned below that I haven't been able to blog due to technical problems at Blogger. This is not entirely true. Yes, Blogger had problems, but I also have discovered that changing my router's MTU from 1492 bytes to 1500 bytes makes all of my Blogger-related problems go away, including the intermittent connectivity problems...

Makes me wonder, now. Can my wine problems (also outlined below) be at least partly caused by the router problem? Watch this space.

More Wine!

wine is behaving more and more strangely. The timeouts have continued, and Internet Explorer won't work properly. It starts, but crashes when it connects to anything outside my LAN.

There are a couple of possibilities here. First of all, I've switched to an older ADSL modem/router combo because my D-Link G604T keeps on losing DSL sync every few hours and behaves erratically in between, and so I suspect that this new (well, old) hardware doesn't like IE on Debian, for some strange reason. (I mean, what's there not to like?) Second, I've upgraded Xorg to 7.something, and the something might interfere with wine. Or it could be any random C library I've upgraded recently. I'm a dist-upgrade junkie and I need my fix practically every day.

In any case, I got tired of the whole mess today and removed wine and every Windows application I've installed. Yes, folks, that includes XMetaL.

Thursday, 4 May 2006

BTW...

Blogger has been experiencing some problems lately, which is why I haven't posted anything for awhile. Or maybe they've read my blog.

Weird wine Timeouts

I've had some weird wine timeouots lately. My Windows apps take up to two minutes to start. It could be my recently upgraded Xorg but I'm not sure... Stay tuned.

Tuesday, 18 April 2006

More E.T.

Göteborg Film Festival just added a third E.T. screening to celebrate the Draken theatre's 50th anniversary on April 26, at 7 p.m. Stay tuned; I'll update with further details when I have them.

Why I Write Blogs

I had an interesting conversation about blogging a while ago. A friend of mine who also blogs suggested that I'd get more readers if I'd focus on a select few topics instead of, well, writing whatever crosses my mind. I've thought about it, and it's probably true.

I'd probably get the Linux/XML geeks interested if I focused on Debian and getting my favourite XML tools to run on wine. I'd get the movie buffs if I wrote regularly on the classics I screen at the Draken every week, and I might even get some of the Aspies out there if I gossiped on Wrong Planet more. And there are dozens of other subjects I could focus on, stuff that I know enough about to write blogs.

But you know what? I don't care. I don't write this to satisfy any particular group out there. I write because it's a great way to let out steam while honing my writing skills. If a post can help someone to set up XMetaL on Linux, well, good for you, but that's not why I write. I write because I like to write, and blogging is better than hiding the results in drawers.

Those of you who speak Swedish, on the other hand, can jump to my Swedish-language blog, where I actually try to stay on topic. It's my commentary on local stuff, the kind that only matters to the Swedish-speaking population.

As for the rest of you, well, WYSIWYG!

Tuesday, 11 April 2006

Fanny & Alexander

I rather like "Fanny & Alexander", director Ingmar Bergman's final theatrical epic. It's a classic story of evil, with great actors and stunning, Academy Award-winning photography by Sven Nykvist. However, once is quite enough, and I'm painfully aware of this since I still have 4 reels to go. I love being a movie projectionist but I'd pick Arnold Schwarzenegger any day if I got to choose when doing my time in the booth.

Monday, 3 April 2006

The WP Daytime Soap, Part 294

The daytime soap that is Wrong Planet continues. I heard that other members have been banned from the site as well, and in the mean time, again a thread was deleted, this time the one that got me banned. The "owner" is cleaning house, blindly following advice from The Admin Zone, a forum for forum owners and such.

Obviously, I no longer wish to link to WP from my blog, and so removed the link.

Sunday, 2 April 2006

Wrong Planet Heading for Disaster

Wrong Planet, the AS/autism forum I've been reading, is heading for disaster. Today, I became a persona non grata there after daring to compare the latest developments on the forum with a bad daytime soap. Now, this in itself is hardly a disaster; most people there won't probably even notice that I'm gone. However, it also seems that Alex Plank, the site's owner, today fired every moderator and every admin in sight. With more than 4000 members, this is certainly a recipe for disaster.

WP is therefore now more of a soap opera than ever before. And it's still a bad one.

wine 0.9.10 Fixes the Disappearing Font Problem

Well, like the header says, wine 0.9.10 fixes the annoying disappearing system font problem in wine 0.9.9. Finally! I've been holding back a full Debian dist-upgrade until the wine libraries catch up with what I need...

Unfortunately, the file path problem is still very much in existence. Stay tuned, though, because I just checked Wine HQ and it turns out that version 0.9.11 just came out.

Friday, 31 March 2006

E.T. In 70mm

"My" theatre, the Draken, will turn 50 on April 26. To celebrate, we're going to screen E.T., in 70mm! If you happen to attend a school in the Göteborg area, I think you should bug your teachers until they give in and contact Skolbio Göteborg for free tickets. You won't regret it!

Sunday, 19 March 2006

Valley of the Wolves - Iraq

As I write this, I'm screening the turkish film Valley of the Wolves - Iraq, a controversial account of what happened after 11 Turkish soldiers were abducted by American troops near the Iraqi border. The abduction as such actually occured; what happens later in the film probably falls under an artistic license of some sort.

Be as it may, the Americans are supposedly less than happy about the film while Turks line up for seeing the movie, the most-seen film in Turkey, ever. At least, this is what I've been told by the enthusiastic Turks in the audience tonight.

I love controversial stuff, and the film appears to deliver more than its share of that. Unfortunately, a Swedish premiere isn't more likely than an American one...

Sunday, 12 March 2006

Wine System Font & Versions Problem

I upgraded my wine version to 0.9.9-1 the other day and discovered that some system fonts used by wine for Windows dialogs went missing. The dialogs opened without any text whatsoever in the various GUI objects, including the all-important XLink dialog in my X4 XMetaL installation.

This was very annoying and rendered X4 unusable.

I did some research on Google, without coming up with anything particularly conclusive, so I downgraded to version 0.9.8-1 (winelib had to be downgraded as well, of course, as the library version follows the main package version), and the font problem went away.

Thursday, 9 March 2006

XMetaL Linux Update

I've been toying with XMetaL on Linux and Wine, with varying degrees of success. It's quite obvious that the XMetaL/Wine/Linux combo isn't ready for prime time just yet, but it's so close.

I've had some interesting problems along the way, most importantly that the Save As function isn't reliable. Or rather, it doesn't work with relative paths. If you want to save a file, but only enter a filename in the dialog, XMetaL says things like "File is read-only" or "File doesn't exist". A little investigating shows that the save component is unable to fill in the correct path to the file, and therefore cannot find the location. This problem is cured by entering a Windows-like path to the file, for example, D:\myfile.xml. (Note that your home directory is D:\ in Wine.)

The absolute path problem can be a character encoding problem (for example, the save component could very well use some weird Windows keymap scheme instead of pure Unicode; XMetaL is supposed to run on Windows 98, an OS not known for its Unicode capabilities) but there are other variables in the equation, too. For one, I suspect that Wine's file path translation also matters.

A lesser, but still annoying, problem is that a saved XMetaL window size (when starting the application) doesn't work at all if you've set Wine to Windows 98 mode. It works more often in Windows 2000 or XP modes, but not every time, which I don't understand at all. Also, XMetaL forgets the view mode (tag view, normal view, etc), for some reason, not necessarily the same.

On the other hand, I've successfully been able to use (most parts of) X4, an XMetaL authoring environment that we developed at Information & Media a few years ago. This is good news since while I can live with writing in OpenOffice, it doesn't beat a real XML editor with a decent authoring DTD and environment.

I expect that Wine 1.0, when out, can solve some of the current problems. I'll keep you posted.

Tuesday, 28 February 2006

Wrong Planet to an Elliptical Orbit

Wrong Planet, the autism/Asperger forum I wrote about the other day, is a bit shaky at the moment after some issues concerning privacy, censorship, and moderation policies. It's still a great, great resource but right now, things are a bit tense. It's quite possible that the events of the last few days--of which you can't form your own opinion since the relevant posts are no longer there--will hurt WP and other forums, such as On the Spectrum, will gain increase their membership counts fast.

We'll see. The situation's as close to a soap opera you'll get among Aspies and Auties.

Friday, 24 February 2006

XMetaL, Later Versions

Running XMetaL in Debian is cool. Very cool, even, and I have loads of fun right now. However, I need to point out that the version I installed is 3.1. In other words, Corel's first XMetaL release. Earlier versions should work, even though I doubt 1.2 or 1.0 will prove meaningful because of the problems early versions had in general.

Later versions, however, will give you problems in Wine. I think XMetaL 4 Author could be forced to run, but since Corel struck a deal with Microsoft and integrated the developer parts of the editor with Visual Studio, you'd better be prepared for a long night. Visual Studio requires a lot of patience, and I won't even try to install it since the very idea sort of negates the point with running Linux in the first place. Microsoft, the empire of evil, and all that...

However, if you decide to go ahead, please post a note about it. Or better yet, email Blast Radius, the current keeper of the XMetaL flame.

Yet Another Rant on XML Tools

Being an XML developer isn't always easy if you're running Linux, not if you aren't happy with emacs and nxml-mode. Not that I don't like emacs; I do, but there are limits to what it can do. But before I go on, let's get some things straight. This post is basically a rant on XML tools so if you aren't an XML geek, or if your particular flavour of geek-ishness differs from mine, then go read something else, say, Henrik's Ruby articles.

So anyway, moving on... If you develop DTDs, for example, you need something to visualize the DTDs with. I always liked Near & Far from Microstar, even though the product is dead and gone, and it's impossible to buy it anywhere. Luckily, I have a copy (which I'm not selling, thank you very much), and even though it's Windows software, it runs just fine on Wine/Linux.

Not that I'd want to actually create DTDs using Near & Far. It's not good enough; for the actual writing, a text editor, say, emacs, is still by far the best choice. Near & Far will ruin any modularization you ever wanted for your DTD, it likes to normalize anything and everything it sees. But for pure visualization, it's great.

It's somewhat worse with XSL software. There are IDEs for XSLT available for Linux, but most range from bad to awful, and I've given up on all but one of them. The remaining one is ActiveState's Komodo, a payware IDE that you can use for your Perl and Python stuff, too. The version I have, 3.01 is somewhat dated, but runs great on my Debian box. And newer versions are supposed to handle Ruby and PHP, too, but don't take my word for it.

Unfortunately, it doesn't do XSL-FO natively. Sure, you can write your transformations to FO in it but there's no help for the target FO namespace, only your basic XSLT. It's possible to write a macro to couple your debugging with, say, FOP, to get PDF output right off the bat, but that's not the real issue. I want FO namespace help. Context-sensitive help, thank you very much.

XML Spy does this help-on-FO-namespace part, but I haven't managed to install it; yes, I know it's possible because it's listed on the various Wine compatibility lists, but I've failed miserably so far. I'll try again, one of these days, now that XMetaL finally made it to Linux.

And also, I never liked XML Spy. I know, people hold it in high regard, but I bet all of them are codeheads (you can't join if you have to ask; I'm a dochead myself). XML Spy is just so... not document-oriented. It's for programmers, the kind I'm most certainly not.

Then there's Oxygen, a payware IDE that is available for Linux as well as Windows. Unfortunately, it's yet another tool created for (and by) those codehead people. It's like a text editor on steroids, only it's a bad trip and I prefer emacs if I must go down that road. Also, there's an Eclipse plugin available but the last time I tried a demo version, it messed up my Eclipse installation beyond all reason, and I had to remove both to recover my sanity. I'm not going to try again unless there is a very, very good reason for me to do so. Like if a client pays me to.

And that's that. There are a few other tools available for Windows that I'm going to try one of these days, but since this was basically a rant, I'm not going to waste time and space on them now. Cheers!

Of course, there are lots of command line XML tools available, and I'm not complaining there. I've got just about everything there, from OpenSP to Jade (yes, every now and then it's nice to have it to do DSSSL), and to, of course, FOP.

Thursday, 23 February 2006

Finally, XMetaL on Linux!

Wine (Wine Is Not an Emulator, the open-source Windows environment available for Linux) is nearing 1.0, after some 12 years (or is it 13?) of development. The current Debian version is 0.9.7, and it's actually pretty darn good. So good, in fact, that I decided to try installing XMetaL again. The avid reader of this blog might remember my last tirade about the sorry state of XML editors available for Linux, when all my attempts at installing XMetaL had been unsuccessful and I was losing hope.

But I tried again today, optimistic as ever, and here's the result:

Pretty cool, huh? It's XMetaL 3.1, running peacefully on my Debian box. It's not perfect yet, not by a long shot, but it runs!

Here's what to do (and mind you, I'm not going to list the trivialities of installing Wine or its helper apps, you'll have to do that part yourself):
  1. Set Wine to Win98 mode. It's the easiest mode, by far.
  2. Install Internet Explorer 6 SP1 by following the instructions at Frank's Corner. The DLL overrides are important; don't forget them!
  3. Install Microsoft Active X Control Pad. It's available as a download from Microsoft, but it's also on the XMetaL CD.
  4. Install Windows Scripting Host 5.6 from the XMetaL CD. This went like a charm, BTW, in stark contrast to my attempts using earlier versions of Wine. I don't know why it's that difficult; others have installed WSH before on older Wine versions...
  5. Then install MDAC from the XMetaL CD. Use a version no newer than 2.1, if you use another source.
  6. Install XMetaL using Custom options. Do not forget Templates and Samples. The XMetaL installation might complain about WSH missing; in that case, reinstall it after completing the XMetaL installation.
This should be all. In other words, it worked for me. There are some weird bugs, though (if you try this, and figure out why the weirdness is happening, contact me):
  • If you choose Tools->Options, you mess up your KDE taskbar, for some strange reason. Change any settings using the configuration file in the XM directory instead.
  • Customized toolbars do not always work. I suspect there are things in WSH not recognized by Wine, as of yet.
  • In a similar manner, some Insert Elements events will not work, probably because WSH is doing something weird.
Obviously, I'm not going to offer any support on this, even though I will most likely respond to a polite query. And I'm not, repeat, not, responsible for any damage you might cause to your computer when following the above instructions.

It certainly looks like I finally have a decent XML editor for Linux, though. I'm going to tinker with Wine/XMetaL for a while, and post any success stories here.

Tuesday, 21 February 2006

Klytus I'm Booored

Anyone remember the Flash Gordon movie from 1979? No? Well, I do, that's how bored I am.

Look Ma, No Bugs!

I recently delivered a bunch of XSLT templates to a (very) large client. They replied today, after a day or two of testing, stating that there are no bugs! Almost automatically, I was reminded of Lars Wirzenius' priceless list of programming truths. For example, If it runs, it doesn't have any bugs. But especially A 1% crash rate is actually pretty darn good.

Footnote: Lars Wirzenius is less well-known than Linus Torvalds, but probably fairly important to the overall development of linux. They are friends, and have been so for a long time.

Thursday, 16 February 2006

Get Rid of That Rain Man Image!

I've been reading www.WrongPlanet.net a lot lately. For those who don't know, it's a site for those afflicted with autism or Asperger Syndrome, and for their families and loved ones. There are articles and various resources available, as well as some high-traffic forums devoted to every aspect of autism and Asperger.

The forums, of course, are what makes Wrong Planet fun to read. If Dustin Hoffman is what pops up in your brain whenever somebody says "autism", do yourself a favor and go read Wrong Planet. These people are opinionated, intelligent, and articulate, and just about as far from Rain Man as you can get.

Tuesday, 7 February 2006

It's Over!

The film festival, that is. I screened 55 feature films in 11 days, some good, many bad, and some just boring. I would like to see the Canadian film C.R.A.Z.Y., though, instead of just screening it and watching bits and pieces. Great music and some very funny moments.

Wednesday, 1 February 2006

Anniversaries...

Next year's supposed to be the 30th anniversary of Göteborg Film Festival. Only, it isn't. I was present in the projection booth when what was to be the 13th festival was relabeled 14. Superstition was quoted as the primary reason by the then-festival-general Mr Gunnar Bergdahl, who could make a career at certain airlines with similar ideas.

Just a friendly reminder; I dislike history rewrites.

Black-and-White, Again

This B&W thing really bothers me. I screened George Clooney's movie about the McCarthy era, Good Night, and good Luck earlier tonight, and of course it had to be in black and white. It looked pretty good, admittedly, but still... Wasn't the world in colour then?

Sunday, 29 January 2006

B & W

Black-and-white films are supposed to look artsy. Me, I think they look cheap. But maybe it's the same thing.

The Audience

Movie theatre patrons are a lot like children. They--

Never mind.

Moviemakers

Moviemakers are a lot like children. They are constantly bothering projectionists with questions about the wrong things or just plain repeating themselves, put way too much value in their toys, and are only rarely self-reliant. There's nothing like a film festival to make these traits obvious.

Kids have an excuse, though; they're kids and there's still time to learn.

Friday, 27 January 2006

That Time of Year Again

The festival is rolling, again. The first film was an Icelandic epic, Beowulf and Grendel. Unfortunately, the print was somewhat damaged; reel 3 appeared to have been exposed to light while still being developed. Ugly as hell, and the soundtracks, SRD and optical, sounded just awful. Oh well.

Monday, 23 January 2006

Thursday, 19 January 2006

Lucky Me

I won a free cruise to the Caribbean, again!

I mean, what are the odds? Now, I wasn't at home, and my wife didn't want to answer a f0reign, unknown number, 009724900000. I was more than willing to check the answering machine when I got home, however; I knew the number.

Sure enough, my old friends at Best US Promotions had left a message, offering another free cruise. We are to call 0014078300147 (a Florida number, I believe) with the code cruise.

Feel free to claim the price. I won't.

Sunday, 15 January 2006

misc.writing

I used to participate in a Usenet newsgroup called misc.writing, a group supposedly about writing in all of its forms but in reality about anything but. The people there were writers, though; most had never published, but quite a few had. These were the ones that kept themselves off topic the most; usually, the wannabes contributed actual writing-related posts.

There were also trolls. One I remember in particular called herself Chelsea and claimed to be a published writer; her merits consisted of about 800 Usenet posts. She also thought I was George Lucas. Really. I won't tell that story now, but if you're interested, do a Google groups search on "Ari+Chelsea+George+Lucas".

The other night, after a three-year absence, I visited misc.writing again. The place hasn't changed at all. Sure, there are some new names and many of the old ones are gone, but it's scary how little the place has changed. The same trolls, the same endless political discussions, the same insults.

But the scariest thing of all is to realize that all of this time, I've thought of a Usenet newsgroup as a "place". Virtual reality is here, folks.

Kallokain...

...is a book by Karin Boye, an old Swedish TV series with Sven Wollter (based on the book, obviously), and now a blog by my old friend Henrik. Those of you interested in programming in Ruby, eXtreme Programming, or perhaps a quirky interest in software development methodologies in general, go have a look. But the blog's not based on the book, not the way I remember it.

Henrik never does things half-heartedly, I can tell you that, but when I suggested him to write a blog, I never thought I'd help create a monster.

Friday, 13 January 2006

Jamie Cullum...

...is probably the most talented person in jazz right now.

Tuesday, 10 January 2006

Film Festival, Any Day Now...

17 days (and counting) left before Göteborg Film Festival. And about 18 days before I'll again sip coffee in the projection booth, wondering why I'm putting myself through the whole thing again.

And, of course, 28 days (and counting) before it's all over again.

Sunday, 8 January 2006

On Autism

Here's an article you should read if you read and cared about my last two posts. If not, well, glance through this instead and get back to me.

Thursday, 5 January 2006

Autism Clock, Part Two

Apparently I'm not the only one to see similarities between the autism clock and eugenics. www.autistics.org reacted pretty much the way I did, only they have graphics.

Wednesday, 4 January 2006

Autism Clock

The good citizens of the US can now peruse an Autism Clock. Is it just me, or does this remind you of eugenics? When are they going to attack the crippled and the old?