July 6, 2005
Public transport
So, I’m booking tickets to travel from Cardiff to Heathrow Airport on Friday afternoon… I can:
- Travel directly by coach (I hate coaches), takes up to 3 hours 30 minutes, costs £35 or £28 with a £10 youth discount card I don’t have.
- Travel by train to Reading, and then by the train company’s coach (of course!) to Heathrow, takes up to 2 hours 45 minutes, costs £30 with a young persons railcard (which I already have).
- Travel by train to Paddington, and then by an infeasibly expensive train to Heathrow. Also takes 2 hours 45 minutes (despite being an extra 45 miles, and giving me 25 minutes to hang around in London), but the ticket costs £50 even with the discount, because the second train has no cheap tickets.
- Travel by train to Paddington on a heavily discounted ticket, and then on the expensive train to Heathrow with a seperate ticket. Takes the same length of time obviously, but costs £36 in total.
Boggle.
July 6, 2005
I’m still alive!
Sorry I havn’t blogged for over a month, I’ve been quite busy writing my dissertation, sitting my three final exams, rowing for my college, drinking beer, stressing about results, helping organise a truly amazing may ball, writing my CV, applying for jobs, graduating, and moving back home (for a while). Leaving me just enough time to catch up on sleep, laundry and e-mail, get new contact lenses, and book train tickets and travel insurance before I fly to Helsinki on Friday.
May 20, 2005
Done!
In other news, I submitted my dissertation yesterday after being awake for 32 hours completing it. I’ve reconnected to IRC for a bit, a couple of pub visits scheduled, and I’m going home for the weekend to relax before I start preparing for my finals in two and a half weeks.
May 20, 2005
Resizing LVM2 physical volumes
People keep running into situations where they’ve grown a block device (by repartitioning or md-fiddling) and want to grow the LVM2 physical volume on that device. Once when I wanted to do this, I managed to find a post to the linux-lvm mailing list explaining how to resize an LVM2 physical volume given that LVM2 has no pvresize. I’ve blogged it here so that I don’t have to remember the exact search terms to find it again, and hopefully Google will find it too and help others in the future.
May 14, 2005
Sigh
As a result of viewing an over-large jpg in Gimp, I ran out of disk space on ~ today whilst I was fiddling around trying to ssh to localhost and X forward something so I could run ethereal on lo and see what it was doing. The upshot of this was that my X auth cookies got munched when ssh tried to fiddle with them, so I was unable to open any new X clients and was forced to restart my session, so decided to try and make X listen on tcp to avoid the ssh hassle. In the process, I discovered two things:
- Editing
/etc/gdm/gdm.conf
to remove-nolisten tcp
from the X server command line is apparently not sufficient – it adds it on the end of the line anyway. I had to useXnest
in the end. - Rhythmbox has a thread which saves your playlists into an XML file. It makes a temporary filename, calls xmlSaveFormatFile to write the playlist to the temporary file, and then renames the temporary file to the original one, with absolutely no regard as to whether or not the previous function worked or not. So I’ve lost all of my Rhythmbox playlists. Again. One RC bug coming up.
Sigh.
Update: When going to update my todo list, I discovered that stickynotes-applet ate it. I am unamused. Rather than the active idiocy of making a temporary file and failing to check if it was successful before clobbering the original (did someone get distracted when writing that? a bee came into the room?), this is just sheer idleness. It fails to make a temporary file at all and just unleashes the same xmlSaveFormatFile on the only existing copy of all of your notes, giving me my 2nd RC bug of the day. Marvellous. Just because it says xml doesn’t mean it can never fail. I’m not trying to find them, they’re forcing themselves on me. Sorry, but there’s just no excuse for throwing my data away like that.
May 12, 2005
Scowl
Recently I received a pleasant package of forms and information from college about graduation. One of them is a pleasant reminder that if I owe any money to college by the (previously unheard of) Friday 5th June 2005, I will be removed from the list of graduands. Given that my last bill was £3,300 greater than what it was supposed to be, because my LEA lost my original student support application, so I submitted a replacement application over two weeks ago, and have heard nothing since. I phoned them today and they checked on their computer system, had a wander round the office, and assured me that the last they’d heard from me was my form for last academic year. They then went on to blame me for probably not putting enough postage on when I handed the f🤬ing form in at a post office, and they weighed it and charged me the appropriate amount of postage. So now I have to fill out and send them another of their stupid forms (taking no chances – recorded delivery this time). Thanks guys, it’s not like I have enough to worry about with my dissertation being due in 8 days time.
On the up side, I rewrote half of the code between Monday and Wednesday, meaning it’s 1500 lines shorter, but has the benefit of actually working now. As a consequence, I also have a lot more to write about (testing it, demonstrating it works, why the first one didn’t work, etc) rather than something which is a poor reimplementation of strace. On the down side, you get no marks for the code, so I’d better get back to the writing about it. Yay.
May 3, 2005
Seven Gummie Sins
Spotted this link on IRC, a series of photos on flickr which depict the Seven Gummie Sins. Just thought they were really cool.
May 2, 2005
Pwned!
Was helping a friend with his Debian box, he thought he had some filesystem corruption after an unclean shutdown, so we booted from a live CD and unpacked coreutils into /tmp/asdf and started replacing the corrupted files including /bin/ls which was segfaulting. Then set about doing the usual dpkg -l | grep ^ii | awk
to get a list of packages to reinstall, but then ls started segfaulting again, and grep got Aborted. Hmmm…
livecd:~# /tmp/asdf/bin/cp /tmp/asdf/bin/ls /bin livecd:~# /tmp/asdf/bin/ls -la /bin/ls /tmp/asdf/bin/ls -rwxr-xr-x 1 root root 75948 Apr 29 16:20 /bin/ls -rwxr-xr-x 1 root root 75948 Jul 16 2004 /tmp/asdf/bin/ls livecd:~# grep Usage: grep [OPTION]... PATTERN [FILE]... Try `grep --help' for more information. livecd:~# /tmp/asdf/bin/ls -la /bin/ls /tmp/asdf/bin/ls -rwxr-xr-x 1 root root 80611 Apr 29 16:20 /bin/ls -rwxr-xr-x 1 root root 75948 Jul 16 2004 /tmp/asdf/bin/ls livecd:~#
Pwned! Turned out to be unstable from about February 2004 with kernel 2.4.22… aaargh. Gave him Ubuntu so that he gets a little pop-up icon when there’s security updates to install in future, and he’s very pleased with it. Might try and do some forensics later, but in the meantime I’ve got some dissertations and finals to stress about for the next month.
Of course, I managed to find time to sponsor a shiny new unison 2.10.1 package, complete with long-overdue Gtk2 support, coming soon to a mirror near you. The old 2.9.2 version is now provided in a unison2.9.2 package for compatibility with woody systems.
If anyone wants to help woody to sarge upgrades for Gaim users by forward porting the ability to import at least your IM accounts from old .gaimrc files, which was removed in Gaim 0.7x-ish, please let me know. I don’t really have time to dedicate to doing it right now.
April 24, 2005
Things that just don’t work
I’m getting increasingly annoyed with quirks in Rhythmbox’s UI and don’t have enough patience to track them down and patch them by bumbling through the strange bonobo hoops and layers of object abstractions they’ve used at every stage to implement what is at first glance not that hard a problem (although as a disclaimer, I don’t really appreciate the issues involved, it just *seems* highly overcomplicated). I had a browse around for some other music library program for GNOME, and found Sonance, which is fully buzzword enabled with C#, Glade and GStreamer, and initially started as an XMMS-type queue songs and play them thing, but looks in SVN trunk to have grown into a program that quite resembles Rhythmbox’s UI for a music library, but might grate less initially and be much easier to hack. Worth a try at least, so I installed Mono 1.1.6 and Gtk# stuff from experimental (why do people insist on building packages in experimental against eg experimental’s libc? I’d have happily waited for that one to hit unstable), checked gst-sharp (the only remaining dependency) out of Mono CVS, and tried building it. The result?
robot101@alpha:~/projects/sonance/gst-sharp$ ./autogen.sh **Warning**: I am going to run `configure' with no arguments. If you wish to pass any to it, please specify them on the `./autogen.sh' command line. Running aclocal ... Running autoheader... Running automake --gnu ... Running autoconf ... configure.in:9: error: possibly undefined macro: PKG_PATH If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. **Error**: autoconf failed. robot101@alpha:~/projects/sonance/gst-sharp$
The line in question just says PKG_PATH=
to clear a variable before using it, and has been the same in gst-sharp CVS for about a year, so autoconf must’ve changed its mind about what’s allowable. As a consequence I’m unable to try Sonance or any other gst-sharp based programs such as Muine which I’d have also liked to try. Guess I have to stick with shouting at Rhythmbox for the moment. This awesome t-shirt suddenly becomes more tempting.
Update: Interesting. That *ERROR* actually meant it produced me a configure script anyway. Wow… cool.
April 19, 2005
Low-competence Education Authority (LEAs)
I’ve just been billed by my college for an extra £3300 of college fees which are supposed to be paid on my behalf by my LEA (Local Education Authority). They sent me a form to arrange this during last summer, some time around July, with a covering letter saying it was meant to be with them by 24th May or something. I sent it back to them by return of post, and they lost it. Hence, my college haven’t received the money so they’ve billed me instead. Curiously, my LEA did send me a letter earlier this year asking why I hadn’t submitted a form for this academic year, and so I phoned them and asked them to send me another. Which I’m now filling in so I don’t need to pay college, except for the fact they sent me a PHOTOCOPY of their STUPID PASTEL COLOURED FORM, making it practically illegible, mostly irrelevant to me, half in Welsh, DOESN’T MATCH THE ACCOMPANYING NOTES BOOKLET they sent me, and to top it off, IS REQUESTING EXACTLY THE SAME INFORMATION I GAVE THEM LAST YEAR AND THE YEAR BEFORE, AND THIS YEAR’S FORM IF THEY HADN’T LOST IT. F🤬ING SORT IT OUT!
Update: Oh… this 🤬 poor excuse of a photocopied form they sent me is the WRONG ONE, which is why it doesn’t match the notes they sent me along with it. EXCELLENT. SO VERY, VERY GOOD.
Calendar
M | T | W | T | F | S | S |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
Links
Archives
- April 2024
- February 2024
- March 2023
- November 2022
- May 2022
- February 2022
- June 2021
- January 2021
- August 2019
- October 2018
- July 2017
- May 2010
- October 2009
- August 2009
- July 2009
- March 2009
- January 2009
- July 2008
- June 2008
- April 2008
- May 2007
- January 2007
- December 2006
- June 2006
- April 2006
- March 2006
- November 2005
- October 2005
- September 2005
- August 2005
- July 2005
- May 2005
- April 2005
- March 2005