iPod Versus the Cassette

rather funny – and true….
iPod Versus the Cassette

but i still love my ipod – even if apple are being assholes with their attitude towards people who want to interface with parts of it (think FairPlay, Real).

even though i’ve never liked realplayer – they should be able to compete.

MemberDB Voting code (planning… in some sense of the word)

well… at some point there has to be some voting code done for MemberDB. Namely because Linux Australia has to have elections sometime early next year, and the code really should work before then!

Currently, we can easily work out who is a current member of the organisation. Only current members, with the appropriate type of membership should be able to vote. Initially, we will assume that if member_types.validates_membership=true and member_types.revokes_membership=false, they are able to vote (i.e. if they show up in the current_memberships view).

This means they can log in. This is a good thing (note, a member may have to reset their password first – this is supported in latest MemberDB snapshots).

Once logged in, the member should be able to see a list of elections they can currently participate in. Elections (election table?) should be tied to organisation and a time period. They should also have a name and description. Only the election_id should be unique.

e.g., something like:

create table election (
        id serial unique not null,
        org_id int not null,  -- election for this org (NULL=all orgs)
        name varchar(50) not null,
        start_advertising date, -- date that we'll display in a UI that "an election is coming"
        nominations_start date,
        nominations_close date,
        advertise_candidates date, -- list the candidates from date onwards
        live_results boolean, -- results in real-time
        start_voting date, -- when voting opens
        close_voting date, -- when it closes
        show_results date, -- show results from election from this date onwards (NULL=never). This field can be updated (i.e. after the results have been verified/approved)
        description text,
        CONSTRAINT "election_pkey" PRIMARY KEY (id),
        CONSTRAINT "election_org_id_fkey" FOREIGN KEY (org_id) references orgs(id) on update restrict
);

In the future, we may want to support more than one election type – this should be safe to introduce in the future as we can add a column to election and election_vote. Currently, we’re only going to care about “first past the post” style elections. i.e. the classic “a show of hands”.

Only authorised people should be able to change any details of the election – this should be a new activity, and members granted explicit permissions to do this. We will probably need to add a “data” field to the permissions table – allowing us to have more specialised permissions (i.e. only membey X can modify election Y, and only member A can modify election B).

We need positions to elect people into.
e.g.

create table election_position (
 id serial unique not null,
 election_id int not null,
 name varchar(50) not null,
 description text,
-- FIXME: insert constraints here
);

Each election needs candidates. Candidates need to be approved (by whoever can modify the election. Since the process for approving candidates can vary, this will require human thinking logic to work out that everything is okay before they click the “approve” button).

something like:

create table election_candidate (
     id serial unique not null,
     election_position_id int not null,
     approved boolean,
     member_id int not null,
     spiel text,
        CONSTRAINT "election_candidate_pkey" PRIMARY KEY (id),
        CONSTRAINT "election_candidate_election_position_id_fkey" FOREIGN KEY (org_id) references election_position(id) on update restrict,
      CONSTRAINT "election_candidate_member_id" FOREIGN KEY (member-id) references current_memberships(id)
 -- FIXME: need constraint that member is a member of the correct org.
 );

We’re currently making the assumption that only members can go for positions. This seems fair and reasonable – am open to arguments against it though.

So, an election has positions and each position has candidates. Candidates have spiels, and have to be approved before they’re listed.

Each member gets one vote per election position. They can change this anytime up until the closing date (this should take care of the “oh shit, someone dropped out of the election” thing too).

create table election_vote (
    election_position_id int not null,
    member_id int not null,
    election_candidate_id int not null
-- FIXME: constraints here
);

now… all that needs to be done is a UI… and some sanity checking of the above. :)

planet luv?

there’s a bit of talk about a planet.luv.asn.au….. any thoughts anyone? probably not….

but it could be quite interesting… and it’d mean that i’m on a planet!

(okay… there’s been talk of a planet.linux.org.au for a while too… we just have to work out *who* could be on it)

Fedora Core 3 Test 1

Installed it on my crash-and-burn box.

Dual PII 350mhz, 128MB RAM (and a number of disks… this is on a 120GB WD drive, but on a slow IDE controller)

and, of course, the ultimate in graphics power, an S3 Trio3D.

So, install took about an hour. Not very snappy, but it got there. Not enough time using CPU while doing disk writes. multithreaded RPM installation would rock :)

Reported a bunch of bugs, some feature enhancements and found the desktop backgrounds :)

SELinux is now on by default… and so far I’ve only hit one bug with it (namely that you couldn’t launch the software update). bytebot said I should update to get the update to fix the updater, so i ran ‘yum update’ in the terminal. Hrrm…. not so quick with only 128MB ram. oh well…

squash racquet

bought one today. now i don’t have to hire the darn things and put up with bent raquets with strings that are barely there.

also going to pick up a CD drive for the Alpha’s i have bumming around here. means i can load an OS a heck of a lot easier! :)

GNOME programming with only a GUI

http://www.flamingspork.com/junk/gnome-drivers.tar.bz2

Is my attempt at a little gnome app only using GUI utilities. It’s a graphical lsmod, showing what modules are currently loaded on your system.

I’m now kicking around trying to integrate modinfo with it so you can get a nice slab of information about what modules you’ve got loaded. Then I can go and integrate modprobe :)

the code is kind of ugly… really shows that this was a hack so that i could learn how GTK and all work a bit better… but, it’s libglade based, so that’s cool.

I’ve now learnt how programmed I am to the emacs key bindings while coding… it’s really annoying when they don’t all work. Maybe we need an emacs text editor widget.. :)

augie march – official website

augie march – official website

Great music, but one day will they PLEASE get a web site that has some form of usability. I mean, really.

FTA disastrous for Australian computer industry and users

Dr Andrew Tridgell (or tridge as he is more commonly known as) has got a great paper up on his site about the AU-US FTA. It’s short, sweet and to the point.
FTA disastrous for Australian computer industry and users

In "About the Author" he does fail to simply say “tridge: genius”, but he does tend to be a bit modest :)

all about never getting drawing on a web search

That’s why I’m linking to Sketches on the hope that if we do it in enough places, we’ll be able to convince certain search engines that it’s the most important type of drawing or drafting something out there.

google and wayback machine

help find old source that you thought could have been lost. ahhh… googling for your own work.

and qemu with i386 only binaries is nice too. works quite well. I mean, sure I actually have sunk low enough to have i386 machines around, but this is way cooler :)

new hardware

A firewire card for my desktop (because my Asus P4P800 Deluxe motherboard’s connectors DO NOT WORK, but this shintaro one does), a TV tuner card (now i need an ariel), and a new wireless card for my laptop (802.11g, not that i have a g access point, but this one actually supports 128bit wep.).

Plus, it has open source linux drivers (that work on ppc).

Also some CDs and DVDs.

american talk shows

Jerry Springer, Ricki Lake and whatever else is on has this wonderful effect of no matter how crap your life is, no matter how screwed up you feel, they let you know that there’s always a country with a ready supply of people more screwed up.

Inkscape

Just did my first illustration using Inkscape (www.inkscape.org). It’s pretty cool. Open Source Vector illustrator (produces SVG graphics and has good bitmap export).

i.e. select what you want, File->Export Bitmap (and it’s already gone to the “export selection” thing, choose the res of the image, where it is, and click export.

Funky!

Slashdot | Australia-US Free Trade Agreement Examined

Slashdot | Australia-US Free Trade Agreement Examined

More press (references a research paper in the Australian Parliamentary Library) about the negative impacts of the Intellectual Property sections of the AU-US “Free” Trade Agreement.