Roy's Blog

A Hacker's musings on Code | Tech | Life

Merry Christmas to one and all 8) I woke up this morning with a smile on my face, a song in my heart and Abbey in my arms. Perfect start to whats going to be a perfect day :)

Continue reading...

Which is bad. Luckily I keep backups - unluckily I lost my entire pgp keyring including my revokation cert as directories with .g weren't being backed up for some odd reason.So I've had to make a new 0xa699fcd1I've tailored my backup not to skip the .g now. Maybe I did that so the bloated GNOME stuff didn't get backed up all the time. At least all the KDE stuff appears to be under .kde :)

Continue reading...

So, recent conversion to KDE I've been using Konqueror as my default browser. It's come a very long way since I last used it all those years ago - it's now quite slick. In many ways I now prefer it to Firefox as it loads much much faster, uses less memory and is integrated to a higher level in the DE and relevant applications than Firefox.However, it's not without it's cons either. Some pages don't display well (compared to other browsers) when the brower is in a window smaller than ~800x600, including this page when it has a wide picture. It doesn't appear to work with the Mozilla css ad blocker which was a godsend. Looks Like I'll have to use Konquerors internal ad-block which is a simple URL filter by the looks of it. :(But my main gripe is that some things Just Don't Work. Well, they do, but you have to tell Konqueror to impersonate another browser. Like First Direct, which blocks any browser they haven't "tested". Using the same id as Apples Safari Browser the site works 100% fine.Another guilty one is Draytek. Well, more specifically their routers. They make use of javascript for their buttons and you have to tell Konqueror to impersonate Firefox or it won't work. Luckily Opera users have to do the same thing, but the bad news for Opera users is that they can only set which browser to impersonate on a global basis where Konqueror can do it on a site basis :)So with a small tweak here and there, Konqueror is now in daily use. My hope is that Konqueror never gets ported to Windows as I see that as a lot of bloat that Firefox has. Konqueror compiles faster than Firefox and is a fair bit smaller than Firefox, and almost as good. 8)

Continue reading...

Well, in Gentoo anyway ;) A developer called max had the package, but as he's been inactive for over a year so he's been "retired" and I took it! Which makes me the maintainer for dhcpcd, pump and now dhcp (dhclient). Yay :)

So I've closed all outstanding bugs (some marked NEEDINFO, UPSTREAM or TEST-REQUEST) bar one which should be solved when 3.0.4 goes into portage. I may put 3.0.4b2 in when 3.0.3-r1 goes stable as it's very good for me so far. Heck, I may even put it into ~ARCH but p.masked. :evil:

After actually taking time going through the code, it's not as badly written as I last thought - although it was almost a year ago when I last looked. There's a distinct lack of comments in places and it's hard to read, which makes it difficult for me to implement a cracking idea I've had. Namely passing a string of setup commands like the config file OR an extra config file so that you can stack configs.

This idea stems from these issues I have with dhclient:

  • You have to put the hostname into a config file to send the host name
  • I don't like messing with config files in /etc with sed/grep
  • Every other dhcp client can send hostname on the command line

Well, hopefully I can find the time to write a patch for that over the comming Christmas/New Year break 8)

Continue reading...

I've been a long time GNOME user pretty much since the start. I dabbled with GNOME and KDE when they were both in their early infancy (ie pre version 1) and finally settled on GNOME. KDE was (at the time) too slow, very klunky and loads of bugs. And it looked naff too!So, a long time using GNOME and yay life was good. But recently, life has not been to good for me in GNOME land. Things changed, mostly for the better, but some for worse as well. The software got slower and more unreliable. Thankfully the 2.10 release solved most of the instability issues I had. So I thought why not take a look at KDE and see where it's at?So, after emerging the split and newly into portage 3.5.0 ebuilds with gcc-4 (and it killed my laptop with the kdeendablefinal USE flag as it really does need 512 meg memory - my laptop as 464 useable after graphics card nicks some - even X took too much!) I gave it a whirl. Very nice, very taseful. The default theme for KDE looked swish even if it resembled my Windows XP box a little ;) The first thing that made me go "Wow" was konsole - as it loads very fast compared to gnome-terminal (I use the console a lot). Plus it has a nicer shade of colours, more pastel compared to gnome-terminal boldness.Konqueror is nice too - again it loads much much much faster than Firefox, which is important for use on this slow laptop. It may not render as well as Firefox and it's a little slower and klunkier in use but it also compiles a lot lot faster whereas Firefox takes ages. Swings and roundabouts - I'll give Konq a whirl for a while ;)I'm not going to blather for ages about KDE vs GNOME - each has their merits, flaws (bug #114141) and target audience and there's plently of room for each of them in the NIX world. But this GNOME user is going to try KDE for a while :)

Continue reading...