Perhaps, how not to do Open Source Software!

In grepping my feeds, I noticed something interesting about Diaspora finally hitting some recent publicity since my last check in. For those not in the know, Diaspora is meant to be a replacement for Facebook. The idea is good, basically take everything you could bitch about privacy issues on FB, fix it and roll it out with a distributed system that gives you as much control as possible over your stuff. I agree with Mark Zuckerberg (the FB guy) that Diaspora is a cool idea, really it is because of the decentralisation.

From what I’ve been reading about their first code drop however, I must say that it does not seem to be off to a very good start. A system that, to my knowledge touts privacy and security (compared to Facebook) as one of it’s strong points, obviously should not premier with more leaky holes than a Windows 98 demonstration. As much as I would like to crack a joke at that old relic, I can’t help but think how well Bill Gates took that incident in public. Old farts and fellow history lovers might see the inner-humour in that comparison. (Yes I used ’98.)

Being able to get a lot more eyes on target and the freedom in which fixes may flow, is one virtue of open source development, especially if you have enough people with a vested “Interest” in the projects outcome. There are many people who would like to see something like Diaspora succeed, and among them surely, more than a couple people willing to contribute aid towards that end. In a closed source environment, problems like that found in Diaspora would have only been findable by playing around with the release, and consequentially only fixed by the original developers a long time after attacks went wild. Like wise investors would be a different sort. Yes, even power users do glance at how their software works, let along crackers. Of those who really are looking closely, most are probably the dregs of the Internet or paid for the job, and either way it would be bad to bank business on the kindness of others. To my knowledge the only profit in finding exploits, is what you can slurp out of saps before it gets patched.

In the first article I checked out, some of the (now fixed) defects highlighted from Disporas code base were just blaringly, “WHAT THE FUCK WERE YOU THINKING!?” kind of problems. In the least, several of them are on my heads internal list of “No, No” to check before wrapping up. It makes me think the masterminds behind implementing the thing, were woefully unprepared for the task: web development is no easy taskā€”and it is best if you take an anal approach to security early on, in my honest opinion.

The thing that irks me however, is who should be fixing those kind of things? Most of what I’ve seen highlighted should have been fixed before the code even left the developers workstation, if you go by my coding ethic. That gives my mind a moment to think about student-programmers, but this isn’t a rant; yet. Any way you slice it however, it is no the whole wide world of Open Sources job to be fixing everybody else’s code! Before you put your name on it, geeze, make sure it smells like a roll before you get rolled. I don’t mean to say anything against the developers… but this is looking like the start of an epic failure. Sadly.

Fresh USB

While standing in the checkout line in Big Lots today, something caught my eye: $9.50 each for HP branded 4GB USB flash drives. Now I’m a stingy son of a bitch if there ever was one about luxury items (and when you have a network, I call UFDs a luxury), but that was a nice deal.

The last time I bought a UFD, I paid something like six times that much for a little 512MB stick at Circuit City, that’s 1/8th the capacity of what I just got for ten bucks lol. Somethings are just to good to pass up :-/. Hopefully unlike my previous one, it won’t end up getting destroyed…. or becoming the dogs new chew toy.

Misc thoughts of a lazy programmer

Since opening a chequeing account, I’ve maintained a simple text file in my home directory, that takes the format:

YYYY-MM-DD +nn.nn // comment about this credit
YYYY-MM-DD -n.nn // comment about this debit

where the entries track the actual flow of money, not what’s in the chequeing account and what’s on my person at any given time. That’s the banks and my job ;p. Basically from this file, I know when I’ve spent or received money, how much, and approximately why. A quick compile of that against my bank balance and petty cash results in an error check: if the sums don’t match, something didn’t make it into my records! Since the file provides an obvious backtrace, it’s trivial to check things against memory/receipts for anything that’s been missed.

Now being a lazy S.O.B. why should I manually write out the entries in vim and do the math in CL? Well, arguably I could just implement a program to do all this for me :-).

Some people utilise spreadsheets, which is more work than it needs to be, until they become more advanced or more thoroughly programmable, not to mention. Namely I’m to lazy to use things like =DATE() and argue locales when I could use something else. There is also a ton of financial software in the world, but reading the manual tends to take longer than writing it, and many are overkill.

My thoughts? Either a small local program or web app would be perfecto. Finding one of the latter should be as easy as using Google or taking 20 minutes to write one. Decisions, decisions :-).

The thing I have against “Canned webapps” that some business runs, is the lack of control: it’s impossible to hack the code quite the way as something home brewed.

This is a possible travesty! It seems t hat the wear and tear on my laptop is catching up to either the AC jack or adapter. Unless the thing is sitting just right it switches from AC to battery power… from so much as twisting a few degrees does it.

It’s been doing it all day, but right now seems to be working fine…. wtf?

O.K. this is definitely a double whammy of why I prefer FreeBSD.

A few days ago I installed KDE on Ubuntu, which added the Kubuntu boot splash. When I installed the *rest* of KDE via synaptic: on the next boot it broke GDM and my Gnome session until I did an apt-get remove followed by an apt-get install of the gdm and ubuntu-desktop packages. This is deffo one of the reasons why the distinction on BSD between /usr and /usr/local is a good thing ™.

This after noon I clicked through one of Gnomes settings bit for languages, and thought perhaps it would have a way to merge my preferences for U.S. and ISO formatting. It asked if I wanted to install a few dozen more language packs for English and German, since I had taken the liberty of adding the German language packs. Also told it to prefer the British English and standard German languages above standard English (rather than ignored); American English being the primary. Being American, you never have to worry until you start spelling in different dialects. That added export LANGUAGE=”en_US:en_GB:de:en” to the end of my .profile; which I moved to an /etc/profile.d script.

‘lo and behold on reboot, the entire Gnome desktop is in German…. and despite that being very different than my limited reading vocabulary, I still can figure out what the frig I’m looking at! Just don’t ask me to pronounce it properly lol.

How not to advertise your product

“When Defraggler reads or writes a file, it uses the exact same techniques that Windows uses. Using Defraggler is just as safe for your files as using Windows.” — source

I was just updating the CCleaner program I use, and thought I would take a look at the other programs they’ve posted on the new site. When I saw what I’ve just quoted above, on their defrag tools features page… I could not help but think “THAT IS THE WORST DAMN PITCH EVER!”, as safe for your files as using Windows!? Seriously folks!

Just a fluke or signs of an impending FML moment?

The desktops entire display blanked out, yet the monitor continued to display that it was receiving signal. Regardless of what I did, it wouldn’t display anything! Managed to RDP into it from the laptop and found everything working perfectly fine. On reboot everything worked as normal. Obviously I made sure the male VGA connector was properly inserted, and reseated it, but that didn’t make any difference.


The big question is it a fluke, or associated to the freak overheat a while back? Either way, it doesn’t bode well be it the hardware (GPU, Mobo) or software (crap driver, crap Windows kernel).


die portmaster die

Well, after 23 hours uptime, submitting several problem reports over gettext, and a heck of a lot of compiling, it seems that my laptops updating is finally complete… except for a few stubborn packages that I rarely use anyway lol.

The thing that *really* pissed me off, is portmaster. Three times (gettext, gtk20, gstreamer-plugins) I had to manually do make reinstalls in order to get the freaking packages to install correctly. However portmaster saw fit to work it’s magic, it forgot to install essential things, like msgfmt, libgstpbutils-.*, and and the actual gtk-x11 library o/. Which obviously caused other ports depending on them to pop corks during portmasters updating them.

I think I’m going to again ditch the third party updating tools, flip the bird, and go back to using my own custom updater script. All that’s really needed, is implementing the topological sort over dependencies anyway… then it would be automated in essence. And it’s never doubled my work load the way portmaster and portupgrade do!!!

Currently my laptop is more or less in dispose, courtesy of irksome updates. In updating devel/gettext, it seems several ports were missed on the massive stream of PORTVERSION bumps, or portmaster failed horribly to notice >_>. So far I have 6 problem reports filed: on devel/libelf; lang/gawk; graphics/evince; security/gnutls; ftp/wget; and graphics/librsvg2. Most of them were only defined as using GNU Gettext when built with Native Language Support.

Some how, I can’t help but think this is almost payback against the English speaking world :-o.

+1 for updating my stable system

Wowsa, looks like the new bwn driver actually supports my laptops integrated broadcom wireless, ’tis good. At least I know if my faithful Atheros card dies, I won’t have to buy a replacement lol.

Of course, assuming it actually works if I try to connect it to my WAP, hehe.