Print Story Big fish, little fish, card board box
By whazat (Thu May 06, 2004 at 01:41:15 AM EST) (all tags)
Alternate title. "Are you dancing?". A relatively busy period in Whazat-world tm. With Electrofest, a job interview (with associated programming problems) and philosophy on friends inside.

An Electronic Beat Music/electro festival held in london. Went with one of my housemates and girl-friend and met up with one of of my Uni mates and co.

The headliners were Project Pitchfork, who were quite cool although they were flagging near the end of their over an hour long set. XPQ-21 (IIRC) were also good, but slightly strange, their lead singer being a bald guy dressed in black with a pocket watch and bowler.

However he barely measures on the weirdometer compared to the Ju-Ju babies with a guy with a theremin in a skull mask pretending to be a preacher.

All in all a good time was had, and I remembered how much I miss mindlessly moshing and dancing to music.

Went to a interview and C test on wednesday. A hint for anybody who doesn't code C like a pro, go find the comp.lang.c FAQ and read all the little glitches and things people are likely to get wrong. It helped a lot. After the C test got asked a lot about my graphics background (as it was an interview for a programming job for a company that does IP for 3D/2D chips) and also I got given a few programming and other problems.

Problem 1

You wish to implement a doubly linked list however you are only allowed to store a single 32 bit value for both the forward and backward link.

Problem 2

You have two 1-hour explosive fuses. They burn at a variable rate along there length. So in the first 10 minutes it could burn 50% of the fuse and the rest in 50 minutes. Measure 45 minutes.

Philosophy on friends

I am currently hanging around with people who have a different philosophy on friends.

My philosophy is pretty much this. I care about my friends, but I am quite happy on my own. And there are times where I need to be on my own to do work on projects etc. And other times where I don't want to spend money on eating out.

However my friends generally decide what they want to do and then expect me to do it (because I am the easygoing single rather than part of the three fussy pairs I know). If I decide I don't want to do it they will try and convince me to do it and get slightly huffy, which gets me slightly annoyed because they should allow me to do what I want.

This might be slightly moot if I happen to get the job, because I will be moving out.

< [Redacted] | BBC White season: 'Rivers of Blood' >
Big fish, little fish, card board box | 3 comments (3 topical, 0 hidden) | Trackback
Are y'askin? by Breaker (5.00 / 1) #1 Thu May 06, 2004 at 02:56:00 AM EST
  1. Store back/forward pointers as 16 bits.  Or, use an array and define macros NEXT (int n) and PREV (int p) to manipulate the index.  Every variable every declared can ultimately be described as an array.

  2. Bin the candles.  Go to the pub when there's a football match on, power drink 3 pints.  Watch the first half of the match, stop the clock when the game's at 45m00s.

Do I win £10?

Nope by whazat (3.00 / 0) #3 Thu May 06, 2004 at 07:08:02 AM EST
Far more cunning for the first answer is the following

XOR the previous pointer with the next pointer to make a combined number. Then whenever you traverse the list you can xor that combined number either with a pointer to the previous node. Or the next thus getting the opposite node and allowing you to traverse the list.

2. However that indeed is a masterful plan, however beer costs £3.34 in the imaginary arms so you owe me 10.02p for the money used in your problem. But you do win £10 so it evens out at 2p for me. So I will let you off.

The revolution will not be realised

[ Parent ]
Re: poll by Cwis (5.00 / 1) #2 Thu May 06, 2004 at 03:02:01 AM EST
Where's my "Broken shopping trolley dance" option?

Also, Goths will be bemoaning the lack of "The chewing gum dance"....

Big fish, little fish, card board box | 3 comments (3 topical, 0 hidden) | Trackback