[lang]

Present Perfect

Personal
Projects
Packages
Patches
Presents
Linux

Picture Gallery
Present Perfect

Filed under: General — Thomas @ 14:18

2003-12-31
14:18

Home Improvement

Time for some chores around the house. Of course, nerd chores. First task at hand was to have an automatic updater for my dyndns account set up.

Felt like an old-school hacker when I cooked up an expect script to retrieve the assigned IP address from my NAT Nokia router through telnet; five minutes of work after understanding enough of expect to see what I want.

Then tried this with ez-ipupdate, but that only allowed me to set the address on the command line, which when run as a daemon from init is no good of course. Started putting in an address-command argument to ez-ipupdate, but after going through the source a bit which was full of static vars and irc-daemon-like maze code, and also after seeing that the included debian patch in the .src.rpm was so huge that the original was even more messy than I thought, I gave up.

ddclient seemed to have an option for running an external command to get the ip though, so that worked out fine as an alternative.

So, that was two hours wasted.

Second task was making sure the bits from fedora.us and rpm.livna.org get mirrored. I would love for someone to write a very simple program that sets up mirroring scripts for you based on collections of files you want. I don't want the whole fedora.us mirror, just stuff for RH9 and F1, and only stable, testing and unstable.

Having to write these scripts manually all the time (in this case, with lftp) is a pain.

Another hour and a half wasted.

Dave/Dina

Finally started doing some work again, prompted by another user trying it out and poking at bugs. Started with figuring out a better layout for the package tree, making sure the online and local one are in sync, and starting to fix bugs by rebuilding packages. Will take me some more time this week

Weekend

jdahlin dropped by last night. We were wondering how it was going with him. He stayed for dinner and a movie, "Love and Sex". Quite alright, and Famke Janssen is never bad to look at.

To rent movies I needed a copy of my appartment rental contract and my NIE papers. The video store also had a Lego Mindstorms set for sale, which prompted a discussion between Johan and me. I have an expensive Mindstorms set lying around doing nothing. So Johan suggested I do something really useful with it, like, pushing the eject button on a floppy drive.

But then it hit me - I have a very simple Mindstorms project that could benefit Dave/Dina.

See, I have this one remote that, by typing in some codes, can emulate any of 200 remotes. Yesterday I was thinking that it would be nice to have all these config files out of the box to choose from, but it would be very painful to push all those buttons.

But, if I made a lego machine to push the buttons, and a LegOS app to control it, and have it communicate directly with lirc so it can ask for another keypress when it didn't work well, I could easily let the thing run for a day to make it learn all the codes !

Hm, that really makes me want to try LegOS and see if this is possible, I need to poke some friend who knows about LegOS to check :)

GStreamer

Still spent more time fixing up docs, adding API to the doc build, still busy with the website, still busy with cleaning up some of the error stuff. I fixed up the player library and the player to actually display these error messages.

So, when an error comes up, you get this dialog. And when you click on Information (which really should be a "Debug Information" button), it gets replaced with this dialog.

I like it, because if users send us the debug information we can check where the error is coming from.

Still, UI wise I would prefer the original dialog would expand to show the debug info on clicking Information...

Tomorrow is Johan's first day at work. Wish him luck, he'll need it...

No Comments

No comments yet.

RSS feed for comments on this post. TrackBack URL

Sorry, the comment form is closed at this time.

picture