PhD Thesis writing links

December 15th, 2008

Some more readable examples:

http://www.cs.ucl.ac.uk/staff/c.clack/phd.html

http://www.ccs.neu.edu/home/shivers/diss-advice.html

http://www.phys.unsw.edu.au/~jw/thesis.html

The irony is that so many pieces of advice on writing are so bloody unreadable.

Classic Video Game Songs

December 14th, 2008

Not classic video games, but songs about video games from the classic era. Ones you could buy on record!

These are the only ones I can think of from the late 70s and early 80s.

Computer Games by Mi Sex.

Video Fever from the War Games soundtrack.

Pacman Fever by  Buckner and Garcia.

Player One by Space Invaders.

Any more?

(and I know that Buckner and Garcia had a whole album of it - so not counting them)

Vale Ken Austin

December 2nd, 2008

Ken Austin

Why Melbourne’s public transport doesn’t work well in most cases

November 15th, 2008

I live 17km from work. A zone 1&2 ticket to get there for a week costs $47.40.

To drive in a car that I will own regardless (so I’m not really factoring in rego and comprehensive insurance) using fuel at $1.25 a litre, is $30 per week.

This car uses 10.4 litres per 100 km on average driving city/highway cycle.

Per month that works out at $130. The monthly ticket is  $161.

This is the same for people who live in the northern suburbs of melbourne from the north side of Reservoir to Epping. Those a bit closer, but still in zone 2,  the mathematics of driving is going to be better still.

Oh and driving is the same or quicker for the overall trip in peak times. And did I mention that trains in Melbourne are now constantly overloaded and unreliable? From Epping, its standing room only after about 5 stops. By Northcote its sardines. In the evening, the trains are consistently late and DANGEROUSLY overcrowded. How there hasn’t been a death or serious injury lately is just pure luck - I have been on carriages where people have fainted or become caught in doors. The latter is a once a week observation.

If I factor in my registration and insurance its more like $255 a month. However were I to buy a crappy corolla or datsun or some other $1000 shitheap to get to work in (which I’m seriously considering), bomb insurance only plus rego brings it down to pretty much the same cost and providing the engine isn’t shot will get more like 8 litres per 100km. Now if I get a motorcycle…

Science, Art and Engineering

November 3rd, 2008

Science is the search for fact.

Art is the search for meaning.

Engineering is the application of both.

Discuss.

sdlmame, kxmame and a hotrod, xarcade or slickstik joystick keymap

November 2nd, 2008

Can’t figure out how to use mame on linux with an arcade joystick?

The trick is that you need to set the directories to point to where the keymaps are. Otherwise you just get a blank dropdown. This is really frigging annoying as there’s little documentation and its less than obvious (to me anyway).

Here is the solution:

Settings->Directories->Mame/Mess additional paths.

Set the directory path to where the joystick config path(/etc/xmame/ctrlr/):

screenshot-directories-selection.png

Then when you go back to configure kxmame->Controllers there will be items in the controller dropdown.

screenshot-default-properties-kxmame.png

Once selected, you’ll find that your joystick starts to work properly in the next game you try.

Here are the keymap config files (that were in /etc/xmame/ctrlr/ in this example) if you don’t have them:

ctrlr.tar.gz

Provisional Quality Meats

October 12th, 2008

Is the name of a butcher in Epping, VIC.

Reminds me of a computer company in NSW, from ages ago, called penultimate computers.

Can someone direct me to the best computer shop, rather than the second best one? Oh and anyone know of a butcher in Epping that has always been, and will always be, of good quality?

tod man pla

August 6th, 2008

This is a slight variation on the excellent recipe found at http://eetsmakelijk.thesserie.com/tod-man-pla-fish-cakes/

Ingredients:

A 425-500gm tin of tuna in brine

3 tbsp cornflour

1 tbsp fish sauce

1 egg

1/2 cup coriander leaves

Small red onion diced

2 tsp red curry paste

1-2 red chilis or chilli flakes

100 g beans finely sliced

peanut oil for frying

In a food processor place the fish, flour, fish sauce, egg, coriander, curry paste and chilis for few seconds or enough to get a cakey consistency. Or just mush it all together in a bowl using a bamix. Transfer then to a bowl, mix in the chopped beans and spring onion. With clean hands both damp, form rounded patties then flatten them..size is up to you. In a frying pan, with oil over medium heat, fry the patties until they turn golden brown on both sides. Place a kitchen paper on a plate and let the cakes drain on top.Serve with sweet chilli sauce or the thai sweet and sour recipe thus:

(nicked from Rick Stein at http://www.bbc.co.uk/food/recipes/database/thaifishcakeswithgre_12214.shtml)

I often omit the vegetables and make just plain sauce. It works very well either way.

For the sweet and sour cucumber sauce:
50ml/2fl oz white wine vinegar
100g/4oz caster sugar
1½tbsp water
2 tsp Thai fish sauce
50g/2oz cucumber, diced very finely
25g/1oz carrot, diced very finely
25g/1oz onion, chopped very finely
2 red bird’s eye chillies, sliced thinly
Method
1. For the sauce, gently heat the vinegar, sugar and water in a small pan until the sugar has dissolved.
2. Bring to the boil for 1 minute, then remove from the heat and leave to cool
3. Stir in the fish sauce, cucumber, carrot, onion and chillies. Pour into four small dipping saucers or ramekins and set aside.

Dear Kev, a suggestion on how to explain carbon trading simply

July 6th, 2008

After seeing you vacillate on Insiders, heres a simple way to explain it:

The message:

Polluting in Australia has always been essentially free. We can’t allow companies to continue polluting for nothing otherwise there is no real incentive for them to find ways to stop. The best way to do this is to attach a price to polluting by having a carbon trading system and make it illegal to pollute without having enough credits to cover it. Then companies can shop around and buy carbon credits where they genuinely can’t avoid polluting and sell their credits where they can save on pollution.

That’s a lot simpler than what you were banging on about. Its also less accurate but thats the cost of explaining something complicated in a simple fashion. You can add more later - thats how you teach. Make sure they understand addition and subtraction first before moving on to invariant calculus.

If you are going to add more, make sure the more you add is still simple. Use a metaphor.  Think of a market full of different stalls selling carbon credits. You buy a credit and then you’re allowed to emit one credits worth of carbon. You can go to different stalls and buy at different prices. You can also set up your own stall if you have left over credits and resell them. Clean energy companies might have lots of credits to sell where a coal company might need to buy a lot of credits.

Don’t get too bogged down in the metaphor either. Just a sentence or two IF YOU NEED IT. Look up the KISS principle: Keep it simple, stupid.

On a longer spot you can discuss the alternatives to a market solution, such as regulation, but explain clearly how if you do that that imposes the negatives of carbon trading (raising costs, suppressing output) without any of the positives of the market solution (selling on your carbon savings, allowing the prices to shift as other market forces change, creating new businesses, etc). However, you should only discuss the extras on a longer spot but at the end reiterate the short message above. You could reiterate the short message instead of blaming the last government. Sledge the liberals once, thats ok, but doing it a few times in a spot makes you look like you’re evading the question.

If you’re on a business program you can explain that you know that businesses have income, profit and costs. This way is the simplest way for companies to deal with this. It becomes an added cost to begin with but smart companies will be able to lower their pollution costs by polluting less. Really smart companies will be able to sell their left over credits to other companies. Regulation doesn’t work well as the fines are never large enough and companies continue to pollute, factor in the costs of the fines and pass them on to consumers. This is what happens every single day right now (if you don’t believe this look into the smelting or casting industries - or take a trip to Tassie).

Alan Kohler did a pretty good job of discussing it on Inside Business just then as well.

Please watch insiders this morning and inside business and have a think about getting a clearer message. You’re not in the public service anymore, toto. Stop sounding like it.

Cheers,

Brad

(A scientist)

Intel Graphics, Ubuntu and 915resolution

June 22nd, 2008

Getting 1440×900 going on some Intel onboard video chipsets and Ubuntu can be less than automatic.

Install 915resolution from synaptic then run one of the following:

sudo 915resolution 3a 1440 900 8 1904 934
sudo 915resolution 4b 1440 900 16 1904 934
sudo 915resolution 5a 1440 900 32 1904 934

This will change the each mode’s settings. Restart X (ctrl+alt+backspace) and see if you have a fix.

To make the change permanent, edit /etc/default/915resolution and plug in the values from the mode/colourdepth above that made things happy.This did it for me:

#
# 915resolution default
#
# find free modes by /usr/sbin/915resolution -l
# and set it to MODE or set to ‘MODE=auto’
#
# With ‘auto’ detection, the panel-size will be fetched from the VBE
# BIOS if possible and the highest-numbered mode in each bit-depth
# will be overwritten with the detected panel-size.
MODE=5a
#
# and set resolutions for the mode.
# e.g. use XRESO=1024 and YRESO=768
XRESO=1440
YRESO=900
#
# We can also set the pixel mode.
# e.g. use BIT=32
# Please note that this is optional,
# you can also leave this value blank.
BIT=32