Probably the best of the lot so far, even though it did cut a lot from the book. Mind you, the book had a lot of cuttable stuff, so that's not a bad thing. The film stuck to the plot well. A criticism perhaps is that the adult characters weren't really explored much, and perhaps… Continue reading Harry Potter and the Order of the Phoenix
Another Haskell question
Which pattern is more efficient? Pattern a: circleSumA :: [Int] -> Int circleSumA (i1 : is) = aux i1 is where aux i [] = i + i1 aux i is = i + aux (head is) (tail is) Pattern b: circleSumB :: [Int] -> Int circleSumB is = sum (is ++ [head is]) Is… Continue reading Another Haskell question
Haskell problem followup
Having read a bit of the next chapter and discovered the zipWith function, I now have a higher-order non-recursive solution to the makeChange problem, viz. makeChange1 :: Int -> [Int] -> [Int] makeChange1 amt vs = zipWith div modvs vs where modvs = scanl mod amt vs
Haskell problem
Define a function makeChange that, given a nonnegative integer amount and a list of coin denominations, returns a list of the number of coins of each denomination required to make up the amount. For example: makeChange 99 [5,1] => [19,4] i.e. 19 nickels and 4 pennies equals 99 cents. To make life easier, you may… Continue reading Haskell problem
Building a MAME cabinet 7
Just come back from a trip to Home Depot. I used the truck hire, which was easy. Now I also have 3 sheets of 4’x8′ 3/4″ oak ply in my basement, and I picked up a few 2″x3″x8′ studs too for cutting supports.
More wikihowery
Especially for . How to Find Headers and Libraries for C/C++ Pograms Using pkg-config.
I made a wikihow entry
How to Play Tiddlywinks.
Building a MAME cabinet 6
Today I was given some dedicated time by Mrs Elbeno to start the project. It being 2pm on a Saturday, I didn’t fancy my chances at getting a Home Depot truck hire (my local HD has 2 trucks and it’s first come, first served). Anyway, I headed down there and picked up: 2x 8′ 2x4s… Continue reading Building a MAME cabinet 6
Building a MAME cabinet 5
Another stop at Home Depot this morning. DeWalt countersink bits Mallet (for knocking in the t-molding) Gloves Masking tape (for anti-splinter on the top side of ply cuts, and for painting) 4 x 2-1/2″ hinges (two for the top, two for the front) I’m now at the point where I can pick up some wood… Continue reading Building a MAME cabinet 5
Building a MAME cabinet 4
I ordered the Retro Mame Marquee (third one down). With the Lexan sandwich. Since the Home Depot Lexan is 3/32″ rather than 1/8″, I decided I can’t use it. I need to make the control panel from 1/8″ Lexan and 5/8″ MDF/Ply, so that the 3/4″ t-molding will fit properly. So what I’m going to… Continue reading Building a MAME cabinet 4