PHP loop benchmarking

This benchmark of different ways of looping over a hash array is very interesting. Some things aren’t too surprising, such as counting the elements in an array before looping over them is faster than not counting them, could be expected, but it’s good to see how fast the built-in functions run.

PHP loop benchmarking

Poker hand nicknames

I was given a book called Schott’s Sporting Gaming & Idling Miscellany for my birthday. In there is a list of popular nicknames for poker hands. I’m dubious about some of them myself, but they are:

  • Ace, King, 4, 7 – The AK47 Machine Gun
  • 4, 4 – Magnum (Colt 44)
  • Jack, Jack, 5, 5 – Motown (‘Jacks on fives’)
  • King, King, King, King – The Horseman (of the Apocalypse)
  • 3, 3, 3, 3 – Forest (‘four trees’)
  • Queen, Queen, Queen, Queen – Village People (‘four Queens’)
  • 10,4 – Over and out
  • 6, 6, 6 – The Devil/The Beast
  • Jack, Queen – Oedipus
  • Queen, Queen, Queen, 3, 3 – San Francisco Waiters (‘queens with treys’)
  • 9, 5 – Dolly Parton (‘working 9-5’)
  • Ace, Ace – Pocket Rockets/Bullets
  • Ace, 2, 3, 4, 5 – Wheel (Steel Wheel if suited)
  • Jack, King – Harry Potter (J.K. Rowling)
  • Ace, 3 – Ashtray
  • King, King, 9, 9 – Pair of Dogs (two K-9’s)

Whilst playing at Pacific Poker I’ve also come up with a few of my own:

  • Jack, 6 – Jack Shit
  • King, Ace – f**king ace!
  • 5, 6, 7, 8, 10 – not quite a run (doesn’t generally win you much)
  • 2, 2 – A Desmond (Tutu)
  • Ace, Ace, Ace, Ace, Ace – Cheating Bastard
  • Number 9, Number 9, Number 9, Number 9 – Annoying Beatles track

Review of Wagamama Japanese restaurant, Covent Garden

I first went to a Wagamama a couple of years ago and was fairly impressed. Decent enough food and fairly cheap, being able to eat for around a tenner quite easily. The side dishes seemed particularly good. It was, in fact, the Covent Garden branch where my Wagamama experiences started. At the time I apparently said “I bet as this place gets more popular the food will start to go downhill”. Unfortunately, that does seem to be the case

I went back to the Covent Garden restaurant a couple of nights ago and was distinctly unimpressed. The side dishes were still okay, at least, but I don’t think a single one of the people I was with was actually enjoying their main dish. I was served some chicken of dubious origin with rice and salty glupe. (I don’t think that’s the proper name for it, but it describes what was in front of me.) The taste can be best described as ‘salty’, and that’s about it.

I’m actually guite disappointed as Wagamama was one of those places that I thought I could count on to produce fairly good fast food. I guess that’s just the way these chains go over time.

Wagamama