Search Results: "ah"

11 August 2006

Aigars Mahinovs: British rural public transport

I am writing a collective article about all thing I hate (and a few I like) in UK, but this is too important to let it slide until then - I hate British public transport.
Background information: I live in Cranfield village (ZIP code MK43 0JN, look it up) right in the middle between Milton Keynes and Bedford. Last bus from Milton Keynes to Cranfield leaves MK at 19:20. Last bus from Bedford to Cranfield leaves at 22:40. None of them is late enough for my taste, but most importantly none of them is synchronised with other transport, like trains from London.
The Story: today the sponsors of my Masters project were meeting with a technical evangelist from Google and invited me along to a pub in London. I planed my journey via Bedford. The meeting went well, the time flew by and I found myself taking a Midlands express back to Bedford that left London’s St. Pancras station at 22.00. Needless to say I missed the last bus to Cranfield by 3 minutes. Wonderful.
Of course the good thing was that I had done this walk once before a few weeks ago, when I was returning from getting my new laptop from Newcastle. Then it was a backbreaking 4 hour walk along a highway with a 10+ kg backpack and almost no water. This time I was more prepared - I knew the names of the villages in the area and knew the directions better and I had less weight with me. I also discovered a number of shops and take-away places that were still open at that hour (a rare sight here) and manged to get a sandwich and a bottle of water for the trip. I took a few safe shortcuts and in the end came home in just over 3 hours.
But still that does not change the fact - British public transport sucks, especially in rural areas.

10 August 2006

Julien Danjou: Aahaha, XFS

I must be very mean but the story of madduck about XFS made me laugh. Let me explain: I exactly had the same kind of problem on my workstation 2 years ago. A single hard reboot used to totally fuck up some random files (which were opened in read-only mode before the crash, like libraries) on my file system. Since that day I regularly spite on XFS, and I am quite amused that more than 2 years later, XFS is still totally crap! I don't understand how a so broken file system can be still in the Linux kernel. Even without power outage, I used to have dead lock problems by simply moving a (big) file and opening it at the same time. Even if I heard that this bug was fixed some versions later, I totally stopped to use that filesystem in favor of ext3, which is really the more stable filesystem I have ever seen (maybe after ext2 :-)).

Martin F. Krafft: Through with XFS

I am through with XFS, once and for all. Well, at least for laptops. I still think it's a good filesystem when you can ensure that the power never goes, and your hardware is reliable, but it's just not adequate for laptops or even desktops. I ran into some serious problems a while ago, but managed to recover. Two nights ago, however, three XFS filesystems on my laptop decided to blow up and left my system thoroughly broken. I guess as the hibernate maintainer, I should really start doing my tests somewhere else than my main system... It all started out with a dist-upgrade and this output:
dpkg: error processing /var/cache/apt/archives/dpkg_1.13.22_i386.deb
(--unpack): unable to make backup link of
'./usr/share/man/man1/dpkg-deb.1.gz' before installing new version: Unknown
error 990
Looking at /usr/share/man/man1, I started to anticipate the apocalypse:
# ls -l /usr/share/man/man1
total 7956
?????????? ? ? ?    ? ? ? 7zr.1.gz
?????????? ? ? ?    ? ? ? 822-date.1.gz
?????????? ? ? ?    ? ? ? CA.pl.1ssl.gz
?????????? ? ? ?    ? ? ? Defoma::Common.1.gz
So I look at the log, and amidst kernel oops notices, there's this lovely cookie:
Filesystem "hda6": Corruption of in-memory data detected.  Shutting down
filesystem: hda6
Filesystem hda6 is /usr, so at that time I figured "it could have been worse", booted to single user, and remade the filesystem with the intention to simply reinstall all packages... when I found /var/lib/dpkg/info to be in similar condition. The rest of /var seemed fine, but I resolved then that there was no hope in reviving this system. Fortunately I brought an external drive that had just enough free space to hold my /home and some other stuff, but since USB is really slow when it comes to shifting large amounts of data, I decided to do something productive in the mean time and to answer some outstanding mails. It wasn't difficult to get SSH back up, so I started to work on a remote machine and used the time efficiently. Some time later, though, I got confused in the mist of screen sessions and was browsing my home directory on the laptop, thinking I was elsewhere (my home directories are mostly synchronised), when I noticed a directory in similar condition as the above. Oh shit. Imagine my pain and fear as I first thought my remote machine was also dying, imagine the sigh when I found out I was on the local filesystem, and imagine the shock when I realised that /home was also affected by the XFS breakage... A glance around /var confirmed that the XFS breakage was actually spreading and had now affected three filesystems on this machine. Fortunately, by that time, I had copied everything to the external drive, and decided to put my laptop and myself to sleep. I woke the next morning to the task of reinstalling the thing and decided to be optimistic about it. After all, a reinstall would mean I could finally try partman-crypto and encrypt my laptop's data to protect against leaking sensitive stuff in the case of loss or theft of my laptop. The installation was not as painless as I had hoped, but that was mainly because I ran into a known problem with the graphical installer and partman-crypto, which does not allow to set up volumes with random encryption keys (e.g. swap; see the forthcoming announcement for the beta3 release of the installer), and a bunch of smaller bugs. I had to restart the installation with the traditional frontend to get what I wanted, but other than that, I was very impressed with what our installer development team has accomplished! And a special round of gratitude to Frans Pop for not losing his patience while helping me on several occasions throughout the process. Now, 24 hours after the incident, I am back to normal with a fresh laptop and no data lost (except for one directory which I pulled from a mirrored remote machine; it had no local modifications (so why did XFS screw it up anyway?)). The fonts are all jaggy, so there's something I have to figure out. All things considered, I am sad to have lost 24 hours, but I can also relax more now, without fear of further XFS breakage or loss of private data. Update: Oh, and despite this, I did choose ext3 for all my laptop's filesystems. JFS was really cumbersome and slow last time I tried it, and I surely would not touch RazorFS after experiencing serious data loss on numerous occasions. Update: Two responses so far. Full ack for Julien (except for him laughing at me), Ingo's post warrants a reply though. First, ext3 is also journaled, and if you're about to say "yeah, but it's a hack on top of ext2, well... ext2 is damn mature, and journaling isn't really rocket science, so that "hack" isn't going to be too complicated. In fact, I like the idea of journaling being an option rather than a built-in feature. Second, of course you're supposed to keep backups. But since you keep backups, my top requirement of a filesystem is not "how to get the data back", but "how to ensure it does not break. If it breaks, I can reinstall and restore from backup, but that's a certain amount of time lost. If it doesn't break, well, that's like stealing a little something back from death then, isn't it? Third, I do follow the linux-xfs mailing list, but so what? I did not have write cache enabled, and I was running the 2.6.17.7 kernel at the time of the mishap. Lastly, you point to "excellent tools" to recover the filesystem. I am not sure how excellent xfs_repair really is when it reports "bad magic number 0x0 on dir inode 4696727" during the run, claims to have fixed it, I mount the filesystem, unmount it, run xfs_repair again and get the same message. No filesystem is perfect, and as we know from Biella's problems (among many others, ext3 is no exception. But we did get her data off! So then it's really an open field again, crap filesystem against crap filesystem. I guess at this point it helps to know that ext3 actually follows VFS semantics, while on XFS, a completed sync() syscall does not actually mean it has written the data to disk (see e.g. #317479). And then there are bugs like #239111... ext3 it is for now. If that let's me down, I'll try JFS. If that fails and noone has actually implemented a proper filesystem, I might have a go myself. Haha. Update: Alceste Scalas adds:
Ingo is right when he says that every filesystem has bugs --- but bugs apart, the design of Ext3 (i.e. its physical-block journaling) makes it a far more reliable choice for desktop and laptop PCs, expecially for people without an UPS. An Ext3 filesystem could only crash because of a bug or an hardware failure, while an XFS filesystem can be trashed even without bugs or hardware failures, due to the unavoidable consequences of a power loss on PC-class hardware.
He also alerted me to this mailing list post, which compares data=ordered journaling of ext3 (which almost noone does for performance reasons) with XFS and RazorFS. Update: You may also be interested in this post. Update: Otavio Salvador points me to this FAQ entry, which SGI must have added very lately. It explains how to deal with the directory corruption that was part of my problem. I guess I would have liked to know earlier, but I consider the outcome with dm-crypt + ext3 a win anyhow.

Andrew Pollock: [opinion] An Inconvenient Truth gets bad press Down Under

Film at 11 My friend Andrew brought this article in the Sydney Morning Herald to my attention today. I was initially mildly incensed by it, then someone at work pointed out the author's Wikipedia entry, which led onto this Bulletin article on her. So it seems she's just a professional right-wing shit-stirrer. This other article she wrote managed to stir up some ire amongst the cycling community. Still, I am glad to see that An Inconvenient Truth is coming to Australia. Well worth the watch. Now I need to go find where Who Killed the Electric Car is screening...

9 August 2006

Aigars Mahinovs: Laptop down

A half an hour ago my brand new Dell XPS M1710 laptop stopped working. It just turned off and would not turn on again. I got my old HP lappie out and went to Dell site for debugging. After several quite nice debugging steps the fault fell into a generic “no idea what it is, but it sure is bad” category and I was told to contact the support, which I did - by email. Let’s see how long it takes to get this thing fixed and how will they respect my Linux partitions if I will need to send it in.
Oh well, that means that I will go to bed early today - yay! (P.S. As one might note, I am very keen to find good thing behind anything. I got into this habit when I was fired from my job last January. It helped me a lot. Repeat after me - every change is for good. It is that simple, you just need to find the good things sometimes. Sometimes it is hard, but the search is rewarding.)

Erich Schubert: AMD maybe to opensource ATI drivers?

Now thats what I'd call good news (URL from #debian-devel) This infoworld article claims:
AMD is strongly considering open-sourcing at least a functional subset of ATI's graphics drivers
Well, the article has some other facts wrong:
If AMD's graphics cards were the only ones with open device drivers, it might affect a buying decision or two.
Well, you know. There is not only Nvidia. There is Intel. And for both the R200 ATI Radeon series and the Intel video chipsets there are opensource drivers with 3D acceleration. It's not as if AMD/ATI would be the "only ones". Wait. Intel? Isn't that like the main competitor of AMD... AMD should better try to draw even! But yeah, if AMD would do that, Nvidia would have some issues selling their stuff to Linux users. Manufacturers that try to sell desktop linux computers will prefer AMD if it's better supported out of the box (for servers, neither ATI nor Nvidia is relevant, of course). For example Lenovo is reported to (plan to?) sell Thinkpads with SuSE Linux preinstalled (I'd actually prefer if they would sell them with FreeDOS preinstalled at a lower price); but if they preinstall the NVidia drivers (and some other things such as Intel wireless), they might violate the GPL or some of the other licenses, apparently. I don't know, just hearsay.

Martin F. Krafft: At Twelve?

If I remember correctly, then at 12 years of age, I was making my first attempts at chasing girls (mostly to play pranks on them), causing a hell of a lot of trouble in school, smoking and acquiring my first alcohol experiences, hacking on my Mac SE/30, and taking my wonderful mountain bike to places noone had ever gone before. Unfortunately, I did not pay any serious attention to the art of percussion back then, or else I would have maybe... ah, nevermind, no way I would have ever done this (videodownloader.net has links to other formats -- and there is a Firefox extension). I miss my drum kit, which is at this moment a mere 1872.45 kilometres away (or so says map24.com anyway, which is crap and does not give me a way to link to the route from Limerick to Munich, it seems).

8 August 2006

Aigars Mahinovs: SBackup revitalising - I18N

The development of SBackup was very stale for most of this year, mostly because many of the bug/feature that user were requesting required a significant rewrite of the codebase and at the same time I saw how messy the code has become over time. A few people came up and offered some help, but out of that only new icons and a command-line parameter parser were fully developed - other developers just took a task or a an idea and disappeared. However this week my trust in Open Source development model was reinforced by Jonh Wendell. He approached me yesterday about localising SBackup to Portuguese and was also willing to add the i18n support that was needed for that. I gave him all the details he needed and forgot about it. But today he came back with working code and a translation. That really inspired me to resume working on improving SBackup one little it at a time. Expect a new release version 0.10 soon with i18n and a few long awaited bugfixes. Also, if you want to translate SBackup to your language - use this file as your template. There are only 75 strings to translate. P.S. One happy user of SBackup donated some of his time cleaning up SBackup wiki from spam. Thank you for that! Now I only need a way to prevent the spam from coming back there :(

Ross Burton: Cornish Bliss (part 2)

Now, where was I... Carbis Bay Carbis Bay Ah yes. After the horrendously grim weather had passed, the weather improved and we headed for the beach. On the way down we commented on how this was the classic British burning weather: bright sunshine, a strong breeze, and occassional clouds combine to burn skin without even feeling that hot. Of course knowing this meant nothing, we were too distracted with purchasing pasties and drink to think about putting a decent amount of sunblock on. Steve Relaxing Obviously the main thing to do at the beach, after we'd sat down, not applied sunblock, and scoffed a pasty, was to dig a hole. A huge hole. Spades were purchased and we took turns to help Pete dig The Hole. Digging Diggers Astute readers will notice the inevitable outcome of saying this is burning weather, not putting enough sunblock on, and digging a hole (an activity that results in the back being exposed to the sun). Ouch. After the hole had been dug we had to full it in again to avoid trapping small childen in it. Obviously this led to a series of hilarious scenes involving burying Pete up to his chest, modelling breasts and a penis, and so on. Finally the hole was flat again, at which point an impromptu long jump sand pit was arranged. I came first in the long jump, and although failing miserably at triple jump although I swear my technique was best (it's all in the wrists). Pete Next was to explore the costal path in the opposite direction towards Porthkidney beach. The beach is pretty huge by my standards, and due to the lack of facilities (no close car park, shops, toilets, and so on) it's almost deserted: there were a few other people there with dogs (the other local beaches are dog-free in summer) and that's about it. Googling to confirm the name of the beach reveals that there is a history of naturism and "inappropriate gay activity", but we didn't encounter any of that. ;) Progression Ross Footprints The costal path was great, far more rough than the walk to St Ives (often just a foot wide cutting in the ground), steep in places, and generally running very close to the cliff edge. The views were great, but I always think what a horror paths like these would be in winter, with the full force of the Atlantic winds pounding against the cliffs. As a finale it turns out that the costal path follows the cliff all the way along the back of the beach, which would easily be another twenty minutes of walking to reach sand. There is a shortcut down some stone stairs to the beach, but we arrived at high tide and the bottom of the stairs (well, rocks) were a foot deep in water. Wading up to the beach was a fitting end to the walk, and made the beach feel like our own little desert island! Cliff Steps Wading To Land Limpets! Ross I'll have to explain the expression on Vicky in the above photo. As a child when Vicky went to visit her father in Devon they used to go to the beach and spend the day annoying the wildlife: chasing crabs, kicking limpets off rocks and so on. When Vicky noticed that the rocks at the bottom of the cliff were covered in limpets, she shouted "limpets!" with a manic expression and preceeded to prod them frantically. After lots of sitting around and digging tunnels, we headed for the dunes for a spot of dune diving. This involves running at top spead down the dunes and throwing yourself into the sand at the bottom. Ah, the simple pleasures in life! Porthkidney Beach Dune Diving Dune Diving Dune Diving Dune Diving After my dive I ran back up the hill in the manner of a mad man, arms out-stretched to Vicky as I collapsed in front of her, gasping "It's". "What?", was the confused reply. This is terrible, I really need to get Vicky to watch the Best Of Monty Python DVD we have somewhere... It's! Possibly more to write, but Lost is on, so I'm off for now.

Adam Rosi-Kessel: Caltrain Goes Wifi

Via tikirobot: CalTrain goes WiFi:
The train reached 79 mph while testers watched streaming video, composed e-mail and completed a large file download at broadband speeds…
The service apparently will be free. So when will Boston get a similar service for the subway or commuter rail? Given the MBTA’s dismal performance lately and inability to implement new technology (e.g. e.g. e.g.), I’m not going to hold my breath.

5 August 2006

Aigars Mahinovs: Cobert takes on Latvia (future, hopefull)

I was just told that Steven Colbert is going to feature Latvia in it’s new sketch “Meet an ally”. On his show, he often does thematic multi-part sketches where he meets with all participants of some kind of group. The best example is his ongoing ‘434-part series’ “Better know a district” that even earned a Wikipedia article for itself. After talking with the representative of Pilau to UN, he found out that only military force they had was one single patrol boat and that it’s ambassador has barely any relation to the small island state from the Pacific. Hopefully we will look a bit better :) P.S. Regarding spelling - I have found that it is still more convenient to use gnome-blog package then to use the Wordpress on-line spelling plugins.

Jacobo Tarrío Barreiro: Any button you want, as long as it is Ok

A script in this movie is causing Macromedia Flash Player 7 to run slowly. If it continues to run, your computer may become unresponsive. Do you want to abort the script? [Ok] Ah, do I have a choice?

Zak B. Elep: Ok, I need to post now

Ah, well. I’m such an errant blogger, being focused in doing actual work. But here are some updates:

Andrew Pollock: [tech] I can only presume I am an idiot

So it seems I was a bit quick to declare the USB controller a dud last night. Overnight, Simon Richter attested on IRC that he also had a USB controller bearing the same PCI ID, and his worked fine. (Although his had the option for extra power from the floppy drive power cable, which I find interesting. Mine does not). So tonight I worked through the various combinations to get to the bottom of the problem. I put a Sun QFE card in that PCI slot to make sure the riser and the slot were working correctly. It worked fine. Then I put the USB controller back in and tried a USB thumb drive, that worked. So I immediately narrowed in on the hard drive itself, and the IDE-USB adapter. I tried it on my laptop. Nothing. Aha. So I tried the hard drive directly with IDE, and it worked. So I assumed that the IDE-USB adapter must have been faulty, and tried a different one. It worked. I cycled through the other three IDE-USB adapters, and they all worked. Then I tried again with the one from last night, and it too worked! I can only presume that in my haste, or with my fuzzy head (I've got a cold or the 'flu or something), I managed to connect the IDE-USB adapter to the hard drive incorrectly. Don't ask me how, considering it's a keyed interface, but it's not the first time I've managed to screw up plugging in an IDE hard drive. Anyway, with that hurdle behind me now, I made four physical volumes out of the disks (no partitions at all), and then made a volume group, and a single logical volume that is striped across all four physical volumes (yes, I know if I have a disk failure I can kiss the lot goodbye, but I'm in performance testing mode at the moment). I then exported that logical volume with vblade and mounted it on what will be my MythTV box.
apollock@teevee:~$ df -Th
Filesystem    Type    Size  Used Avail Use% Mounted on
/dev/mapper/Debian-root
              ext3    259M  156M   90M  64% /
tmpfs        tmpfs    502M     0  502M   0% /dev/shm
/dev/sda1     ext3    228M   25M  192M  12% /boot
/dev/mapper/Debian-home
              ext3     63G  295M   59G   1% /home
/dev/mapper/Debian-tmp
              ext3    368M  8.1M  340M   3% /tmp
/dev/mapper/Debian-usr
              ext3    4.7G  1.7G  2.8G  38% /usr
/dev/mapper/Debian-var
              ext3    2.9G  897M  1.8G  33% /var
tmpfs        tmpfs     10M  124K  9.9M   2% /dev
/dev/etherd/e0.0
               jfs    1.5T  2.2G  1.5T   1% /mnt
I've currently got bonnie++ hammering away at the "disk" to see what sort of performance I'll get, and whether it'll be fast enough to record TV. Now I just need the TV tuner card to turn up, and I can start fiddling in earnest.

4 August 2006

David Nusinow: And My Skinny Butt Stops Exercising Too

Please ignore the religious aspect of the following essay. Linked from reddit: this piece provides some interesting insight to what keeps people in Debian motivated. It's interesting to see people take jobs where they work on Debian, because I always wonder if they will keep working on Debian when the job is finished. This essay discusses why.

It's not personally important right now, but one day I'll finish my PhD and have to decide if this science thing is still what I want to do professionally. At that point, if I want to look for a Free Software job, what would be the consequences of doing so?

Enrico Zini: addis-tasks-and-skills

Addis course Tasks & Skills questions

John Goerzen: Family Patterns and The Great Grandparents' House

First, a random amusing pattern: If you follow my family tree up, once you get back to the 1800s, you'll see several generations in a row in which people alternated names between B. H. Friesen and H. B. Friesen. The pattern finally broke when D. B. Friesen was born in 1891. This was back in the day when people were often called by their initials. (The initials stood for Heinrich Bernhard, by the way.)

Now then...

Frequent readers of this blog know that Terah and I purchased the place my grandparents owned (where my dad grew up).

The part I haven't mentioned is that my parents did the same thing -- my great grandparents owned the farm that my parents bought after they got married. My dad's mother grew up there.

My parents had an old farmhouse on their property, too. They opted to build a new house -- the old house made a nice home for rats, but not such a great home for people by that time. But that doesn't mean that the old house got torn down.

Nope, they had it moved to a museum, where a group of volunteers restored it.

Terah and I went to visit the 1911 Friesen House at the Mennonite Heritage Museum in Goessel a couple of weeks ago to get some decorating ideas for the house we're renovating. I'm going to get some more photos this weekend -- it's THRESHING DAYS again at the museum! Cliff, there's still time to drive down to Kansas! (Here's a partial schedule)

Terah liked the idea of buying the farm. But I don't think she'll go for restarting the other family tradition.... (well, I wouldn't, either, but it is funny...)

So I will end this post with a small collection of photos from Threshing Days 2004 (click the link).

Here's the usual sample:

3 August 2006

Andreas Metzler: just not my time

Currently things suck quite a bit. Yesterday the subdomain I had been using for webhosting, downhill.aus.cc, disappeared; apparently the owner/sponsor of aus.cc did not extend the "parent" domain's validity. (Thanks anyway, it was nice while it lasted.) Grumpily I have chosen a new name and gone for brevity. - Enter downhill.g.la. The second item of suckage is that the first round of the get rid of gnutls11 binNMUs still has not gone through. Looks like libgnomesu's build-dependencies are uninstallable on arm again. Afaict this is due to the directfb transition. (BTW: The actual cause of the problem could be easy and quickly debugged by using apt-get build-dep and apt-get install. However I do not know how to do this without root access on a ARM machine. Is there some smart tool I do not know about?) I thought the whole issue (about a dozen packages two be scheduled in two tranches) would be done in three to four days but I expect it to take three to five weeks now. Looks like I forgot suckage #3, probably the worst one. MTV chose to celebrate its 25 year anniverary by dumping the Kuttner Show. Not that surprising as it did not fit in. The rest of MTV's program (besides the videos) is unwatchable for me.

Aigars Mahinovs: QotD

“Oh, gnome-screensaver, I hate you!” - © Simon Law Oh, and so do I for breaking working software, like mplayer, because known and working xscreensaver interfaces are simply not supported. P.S. It feels so great to see people use the Debian Debconf6 pool photo in their Slashdotted presentations :D

Andrew Pollock: [tech] Why I like Open Source

20:19 < Caesar> Where best should I file a bug about eject not being installed on an etch desktop system
20:20 < Caesar> Right clicking on a CD and ejecting fails
20:20 < Caesar> tasksel?
20:21 < joeyh> did you install from cd?
20:25 < Caesar> joeyh: netboot
20:25 < joeyh> yeah, that'll be why, it's only installed in cd installs and maybe floppy on powerpc or something
20:26 < Caesar> But GNOME clearly uses it
20:26 < Caesar> So shouldn't the desktop task drag it in?
20:26 < CIA-1> tasksel: joeyh * r1474 /trunk/ (debian/changelog tasks/desktop):
20:26 < CIA-1> tasksel: * Add eject to desktop task as it's not installed by d-i in all cases and is
20:26 < CIA-1> tasksel:  used by gnome.
20:27 < Caesar> heh

Next.

Previous.