Search Results: "dom"

26 October 2005

Alexander Schmehl: Favourite songs

If someone would have asked me about my favourite song a year ago, I most probably would have answered: "Still haven't found what I'm looking for" by U2. While packing stuff for upcoming Linux-Info-Tag Dresden my xmms (which I usually run on my entire audio collection in random mode) played exactly that song, and after that an other one, which made me think a bit. And I must say, that the former statement is no longer true. My new favourite song is "Forever" by the Beach Boys. Thanks.

25 October 2005

Axel Beckert: X on IBM ThinkPad 760ED

As many of my friends know, I installed Debian GNU/Linux 3.0 aka Woody on my IBM ThinkPad 760ED (Pentium 1, 133 MHz, 48 MB RAM, 1 GB HD) named bijou at Chemnitzer Linux-Tage this spring. Although many helped me trying to configure X, I didn’t get rid of the LCD “forgetting” more or less pixels each row so that the picture got blurred towards the right rim. During Berlinux, a not so convinced Linux user (he told me he likes the feeling of Windows, but got stick with Debian because his modem just didn’t work with Windows) told me that he had similar problems with a graphics card with similar chips as the ones in my ThinkPad. Since I never was sure, if my problem is a hardware defect, a driver or a configuration problem (but I tended to hardware defect or a not supported chipset, since I read about several Trident 96xx and 98xx chipsets to be unsupported under Linux), his comment was a ray of hope to me. He told me he found the solution on Werner Heuser’s TuxMobil website, whom I showed my X problem also Berlinux but who hadn’t an idea what it could be. He also told me, that XFree86 4.x doesn’t support this graphics chip, but XFree86 3.3.x does. But somehow I had forgotten that TuxMobil not only has informations about Linux on laptops but also a big bunch of links to pages which deal with specific models. I can’t remember, if I looked there already back in March, but it felt like I didn’t although my own small text about bijou is linked there, too. I looked through the other 760/770 ED/XD pages and on the second or third I found someone who seems to have had the same problem and also with a 760ED. He wrote, someone else has gone down that path already so he linked directly to the XF86Config he found elsewhere. That sounded like an easy earned money so I followed the link — 404. Shit! For luck a few lines down he linked also his own XF86Config, so I grabbed it, uncommented everything unnecessary and put in the essential parts of his XF86Config of which the most important parts probably were the modelines. The one for 1024×768 was commented as the only one working, those for 800×600 and 640×480 were commented out. Then I downgraded X to XFree86 3.3.6. It didn’t work as expected. The display stayed black which was less than I had accomplished before. Shit! But giving up is not my style. So first I reduced the color depth. No change. Then I started with reducing the resolution. With 800×600 and 16 bit color depth, it finally worked. No hardware defect, no unsupported graphics chip. Just not the right modelines. That was all. YESSS! I guess the guy whose XF86Config I used didn’t have a 760ED but a similar model with a LCD with higher resolution. because my 760ED definitely has no 1024×768 resolution because 800×600 fills the screen completely. Still leaves the problem with the svgalib: The system just freezes with a black screen if I start a svgalib application like e.g. zgv. First I found out, that svgalib indeed has a configuration file which (at least under Woody) can be found at /etc/vga/libvga.conf. Copied the modelines from the now working XF86Config, configured the mouse and tried again. Freeze. Hmmm, in the config there is mentioned that if svgalib doesn’t correctly recognise the graphics card’s chipset, you can hardcode it with a configuration directive, e.g. “chipset VGA” for otherwise unsupported chipsets. And that worked, although only with 640×480 yet. So I tried the only setting for Trident cards found in the list of supported chipsets. And what happend? Right, the system froze again. So svgalib probably recognised the card as Trident and used the only available Trident driver which was obviously the wrong one. So here are my XF86Config and my libvga.config working on the IBM ThinkPad 760ED. But nevertheless — this 0€ laptop has just proven that it can be even more useful than it already was with text mode only. I also already played Frozen Bubble up to level 25 or so on the train back from Berlin. Old hardware rules. But I now also have another problem (again): Since X works now, I can run Galeon 1.2 on the ThinkPad, but GTK 2 respective GNOME 2 are much slower than in the 1.x versions and also need much more ressources, which the laptop just does not have. And since I — as most of the people who read my blog or Planet Debian should know ;-) — don’t like Galeon 1.3, I probably won’t dist-upgrade my ThinkPad to Sarge that fast although I already thought about it. XFree86 3.x isn’t in Sarge either IIRC but this should be no problem since the Woody packages are said to work under Sarge, too. Well, still yet another reason for forwardports.org… ;-) Or maybe I can get Kazehakase running on Woody so I can drop at least the whole ballast GNOME 2 comes with. We’ll see…

Axel Beckert: Image based captchas are evil

I always found Captchas annoying. But since I also had or have problems with guestbook or comment spamming, I understood that people and especially companies saw no other choice against comment or wiki spamming, mass account grabbing, etc. But since most captcha are based on the fact that people can still read deformed or garbled texts in images while machines can’t or at least only with a big effort, there is one big drawback with them: They are even more an insuperable obstacle for blinds or visually handicapped people than for machines. The blind computer science student Sebastian Andres showed at Berlinux how blinds navigate and use the web and where they (must) stop. So because of GMail uses visual captchas as a defense against mass account grabbing, he couldn’t get such a “free” e-mail account. (And yes there exist non-visual captchas. But they’re seldom used.) Thanks Sebastian for this insight.

24 October 2005

Erich Schubert: Wireless and Linux

Christopher Aillon mentioned that people like NetworkManager a lot. While I agree that NetworkManager is something nice, and especially people really expect "Desktop Linux" to have it, there are a lot of other issues. I've tried netapplet, which is I think a predecessor. It looks just as fancy, but it doesn't really solve my needs. And in fact, I don't think NetworkManager can do that either (yet?). As usual, it's a bit more than just picking the right essid and maybe displaying the network strength (which doesn't work in netapplet for me, the hostap driver lists a quality of 0 for all networks, but the signal level value is fine), but also a lot about setting up VPN, encryption, handling network switches gracefully - and last but not least: saving power by disabling wireless when not needed. Also it didn't give me a proper list of networks. It just picked a random one (interestingly not the strongest, actually one I don't see right now...) and never showed the other 5 access points. That doesn't mean of course that NetworkDaemon wouldn't, it's just not in Debian yet, so I didn't try it yet. Guessnet is a nice tool for detecting your network setup. Using mii-tool it can detect whether my network cable is plugged in, and by doing "ifup eth0 ifup wlan0" I can bring up whatever is available. Well, almost except that guessnet also fails to detect my wireless networks (it probably would just need to wait a second for the scan to run). I agree that this is mostly an issue of the wireless driver. But just about every driver has it's own issues, unfortunately. For example, the vanilla orinoco driver doesn't do scanning. The hostap driver doesn't properly power down (right now I'm using some iwpriv hack to disable radio tx to save some power), the ralink driver has been locking up the laptop every now and then... some drivers don't do WEP, others don't to WPA. The wireless keyboard shortcut obviously didn't work either... So maybe, we right now (once more) need more people working on the drivers. Oh, and there are more issues with drivers - for example Scorched3D still doesn't work properly on radeon. The OSS nvidia drivers still don't have 3D. Some bluetooth headsets don't work yet... and the closed source drivers are even worse (a pain to install since they aren't properly integrated in the distributions etc.). So Linux still needs more support by hardware vendors (especially WRT to specs!) as well as more people actually doing the dirty job in C and not just having fun with PHP, Python and Mono.

22 October 2005

Andreas Rottmann: Some thoughts on binding C and Scheme

This are some random thoughts I posted to the G-Wrap development mailing list regarding creating bindings for C libraries for Scheme. Although partly G-Wrap specific, it also might be of interest to other Scheme hackers. I’m not at all convinced my effort to make G-Wrap support Scheme 48
makes much sense at all, for these reasons: So in short: G-Wrap’s future looks brightest when staying a Guile
(-only) tool; a much more simple, portable C-binding tool can be
achieved by:

Brett Parker: YAY! I R TEH WINNOR!

Having said that I'd spend the day fixing xmms-scrobbler, I kinda, possibly, got a tinsy bit sidetracked, instead Buffy was watched and Mario Kart was played, I've just completed the All Star Cup in Mirror Mode (YAY!) so we now have the parade car... now that we've got all the stuff, I might not have an excuse to randomly play it quite so much - feel damned accomplished though :) In other news - JD made toad in the hole today, and he actually made a good job of it! Well done David!

21 October 2005

Andreas Rottmann: Some thoughts on binding C and Scheme

This are some random thoughts I posted to the G-Wrap development mailing list regarding creating bindings for C libraries for Scheme. Although partly G-Wrap specific, it also might be of interest to other Scheme hackers. I’m not at all convinced my effort to make G-Wrap support Scheme 48
makes much sense at all, for these reasons: So in short: G-Wrap’s future looks brightest when staying a Guile
(-only) tool; a much more simple, portable C-binding tool can be
achieved by:

MJ Ray: Will the last ex-UEA-er to leave Norfolk please switch out the light?

A surprisingly high proportion of ex-UEA people stay in the area after finishing at UEA. Over 40% want to, according to the local chamber of commerce. Eventually, that number falls: with John and Brett leaving, I think I can now count on one hand those from my Norwich years (1994-1998) who I know are still here. Most left some time ago. Why? Small place syndrome? Underpaid work? Both? Possibly. It feels like only in Norfolk could the train station start to expand its car park to cope with demand and the same week most train services to it are cancelled because a Cambridgeshire farmer drove onto the single line stretch, was killed and it takes at least a day for access and safety checks in this sparsely-populated area. From the BBC's picture, the unit involved was one of the commemorative King's Lynn "picture trains". You seldom hear what happens to the damaged trains and injured drivers. I guess the railways and the media doesn't like to worry passengers. Even the Potter's Bar investigation ending only got brief mentions that I saw. Also at the train station, local police put out a picture of people they would "like to interview" about the spate of recent bike thefts. Possibly as a result, they've charged one man. Someone I know had a bike nicked, which meant a long walk to/from work until it was replaced. Very annoying. The sort of petty bike vandalism/theft which annoyed savs is also on the increase here again. I'd've expected nicked bikes to sell better in summer, but maybe the local crims are thick or there are more easy-to-nick bikes in September. At least it's not Fakenham, (which is one of the most boring places on earth, you may remember - original source ) where the headline story is that the kerbs are too high. I'm sorry someone was hurt, but kerbs here seem tiny compared to the ones in Northamptonshire. Probably they've all been lowered for safety there too now. As a result of adding Dave's blog to Planet ALUG, I noticed BritBlog for the first time. I spent a while browsing the other Norfolk-based blogs on it one evening. Unsurprisingly, I knew about most of the ones I found interesting already, apart from Ztroller who links to me... erm, why? Does he read this? Most listings are from blogspot and I still won't add Atom support to my blogging software - I want to read, not edit, so Atom is mostly extra cache filler. I only added Really Simple Syndication as well as RDF Site Summary because it was fairly cheap to do and I didn't know about the obvious way to get RSS 1 from Wordpress. Finally, in local(ish) concerns, Northern Ireland, from Noodles' emptiness:
"while I'm ranting, why is the adjective for someone from the UK "British"? Britain doesn't cover all of the UK. I wasn't born in Britain yet I'm British. Can't I be UKish or something?"
I'd hate to be called UKish. I don't have any particular affection for this Kingdom's political boundaries. If the UK ended tomorrow, would anyone besides its rulers mourn? I'll not thank you if you call me British. I'm English, a midlander and Towcestrian. British nationality is a side-effect. (And why is it so hard to get .gb domains anyway?) It's odd that there's such argument over England's anthem. So there is imagery or irony involved in Jerusalem, depending how you want to view it: who cares? It's rousing (unlike the UK dirge) and mentions England past. Yikes, I've just discovered I'm agreeing with Billy Bragg of all people. As for the UK, why don't we work together with others when we agree and work independently when we don't agree? Unfortunately, few politicians advocate English self-rule, apart from racist bigots and English imperialists. The really depressing thing is that those sort of people would probably easily get a majority in any English legislature, if backed by the mess media. Maybe Britain is diverse enough that it balances the extreme English... diverse we are or de verse it gets... (ouch)

James Morrison: Attempted suicide #2

So, on my way home again, another vehicle (a mini-van) decided to illegally take the right of way away from me. This time the driver decided to run a red light and almost hit me. WHY CAN'T PEOPLE DRIVE?

After my flat tire, I took my bicyle into the store where I got it for a free tune-up and to get the tire fixed while I was there. They had my bicycle for a week, because they didn't call me when it was done. When I picked it up, the back tire was flat and the front derailer cable wasn't tighten and they had somehow messed up the rear derailer. At this point, I've decided it's not worth going back there, and I'll fix the gears myself. I know, I won't get them right the first, second, third time, but it will be worth the effort.

Randomness: Ataxx is a pretty cool game, it's in the gnome-games package. My planet is back.

20 October 2005

MJ Ray: Selling, the web, chipping and bloody hacking

The Internet Advertising Bureau thinks the UK spend could be over a billion for the first time. It's now 5.8% of the national advertising spend and is growing at a pretty remarkable rate. Is Christmas coming early for online? OSCommerce - the future will be templated. We're doing more OSCommerce work and 2.2 MS2 is a fairly typical PHP application, with some structure, but also lots of spaghetti code. The next version is looking a lot better, including this announcement from the lead developer. Templating and styling has to be the most-requested work. I find it a little worrying that OSCommerce is not more openly developed, but it'll be good when the new release ships. Jakob Neilsen has announced the top ten web design mistakes of 2005 and "Legibility Problems" are number one. This isn't a surprise to me. Many websites, including some big names, are totally broken if your browser defaults are light text on a dark background, because that's easier on your eyes. I once spotted the Disability Rights Commission getting this wrong. Even planet.debian.org is missing a:link color: ... . The second top mistake is bad linking, including:
"In particular, don't open pages in new windows"
.which is another thing which I find irritating on many sites. If I want a new window, I'll pick the link for a "new window" from the context menu, or by shift-clicking. Does Mozilla or Firefox or something have an "ignore _blank link targets" option yet? It's only a matter of time. My own company's web site has been updated and I've tried to take these on board. We don't do any of the worst things, but there are always things we can do better. Our site isn't that high a priority - there's so much else to do. The W3C's internationalisation working group has issued a note on working with time zones. I get a lot of unusual time zone requests while programming, but I'll remember these explanations and I think I usually follow the recommendations in s1.5 anyway. Also from W3C is a Working Draft of "Mobile Web Best Practices 1.0" which they'd like feedback on, if you use or develop for mobile web devices. At first glance, it seems that many of the items are stronger versions of the Web Content Accessibility Guidelines. PlayStation chipping is legal in Australia but not in the UK, where it was ruled illegal last year. Chipping is the practice of adding a part to the games console so that it can play imported titles. If the chipping and the risk of breaking it costs less than the difference between imported and domestic releases, some people will want to do it. It's competition between markets. I remember similar things for the old cartridge-based machines of my youth. UK law-makers seem to be trying to kill off that trade in favour of foreign companies that want to tightly control the consoles long after they've been sold. The ruling from Australia might bring the start of a backlash against the increasingly restrictive UK laws, but it's more likely that the EU, US and others will press Australia to fall into line. Copyright seems to be one of the few areas where free trade is being reduced, rather than increased. And finally, I remember the feeling of getting sparc32 Linux working.

19 October 2005

Robert McQueen: Comments

Just a quick post to reply to the comments I’ve had on some previous posts. On Missing entropy on my server box, I received lots of comments on how to feed random other stuff into the entropy pool or make it bigger or other hacks, but Alexander Reelsen pointed me to the real cause — a kernel bug in older 2.4 kernels which causes the entropy pool to deadlock on SMP systems, and never get refilled. There is a patch from RedHat which backports the fix from 2.6, and is included in recent 2.4 kernels. On the topic of kernels, now I’ve upgraded from 2.4.29-rc1 to 2.4.32-rc1 I get lots of errors like hw tcp v4 csum failed in my syslog. I’m using the e100 driver which as far as I can see hasn’t changed between versions, but there have been some changes to TCP checksumming code which I havn’t quite been able to grok. Google finds mailing list posts with other people asking what the cause is, but nobody answering. Anyone know what’s going on there? On Windows accessibility, many people seem to not listened to the first couple of minutes of the tasteless song I linked to, and hence taken my comment completely seriously. Thanks to everyone who told me about sticky keys etc in comments, but I did already know about the existence of Windows accessibility support (warning: mjg59 in furious anger mode). :D On the topic of blog comments, how do I cut down on the comment spam I have to moderate without requiring people to go through a completely unaccessible captcha image thing, or the annoyance of registering and acknowledging an e-mail? Would prohibiting comments and URIs containing words like ‘mortgage’, ‘casino’ and ‘ringtone’ ever cause false positives?

17 October 2005

Joey Hess: thoughts (less random than expected)

This time of year it's great to curl up in the evening with a feather comforter and a good text file. I recently read all of Andy Hertzfeld's stories about the origin of the mac on folklore.org, pretty much straight through in chronological order during one long night. Only at the last story did I find out that he'd turned the website into a book. Reading a whole book in one sitting online is not a novel experience for me, though it seems to be for many, but doing it by accident is. My enjoyment of quantities of text online does sometimes come out in my own weblog postings, which are probably long enough, if not good enough, to be their own book. This weblog at least occasionally violates 8 of Nielsen's 10 weblog usability guidelines. The only one I think I should fix is point 5. Another book I read online recently is Karl Fogel's Producing Open Source Software. The contrasts between how Karl suggests doing some things and how projects I'm involved in work are sometimes large (he suggests voting on technical issues for example), sometimes due to differences in technology (the debbugs bug tracker makes conversations and other email-based use of a bug tracking system work much differently than the BTSes he describes using), and sometimes pointed to things that could be improved. More often though, he seemed spot on in extrcting and highlighting best practices. For example, he does a great job in pointing out that simple, consistent naming conventions, like #404093 for a bug report and r1021 for a repository revision, are more important than they appear. I also enjoyed reading some reviews of Katamari Damacy, which sounds like a truely unique and fun game. I'm looking forward to playing it (probably under emulation) one of these years.

Next.

Previous.