Aug. 12th, 2007

gusl: (Default)
Who's going to the Ditty Bops show on September 2? How much are the tickets?

I'm looking for tickets for myself, and probably my parents too (they'd probably prefer non-standing spaces). My parents will be visiting me from Brazil, Sunday through Wednesday, before continuing their trip to Las Vegas and Mexico City.

puzzle

Aug. 12th, 2007 03:45 pm
gusl: (Default)
The story of how I lost my sandals is the story of Romeo & Juliet. Decipher.

---

UPDATE: [livejournal.com profile] chrisamaphone and [livejournal.com profile] infryq have the right idea. But it's not clear that they actually understand how I lost my sandals.

---

Pun, due to [livejournal.com profile] letters_in_sand (personal communication): "They were meant to be together. They were solemates."

Java

Aug. 12th, 2007 03:53 pm
gusl: (Default)
I'm writing code to answer multiple-choice SAT analogy questions.

A design issue:

Where to put the givenAnswer:
* inside the AnalogyQuestion object
* outside, using some kind of Hash < AnalogyQuestion,int >

---

I think the class Hash < A,B > should have an argmax() method, returning the A for which B is maximum, whenever B has a Comparator. Or more generally, we should have an argmax() function to which you pass the list and a closure specifying how to get the property that is being compared.

I haven't been able to find a nice solution. This is annoying.

February 2020

S M T W T F S
      1
2345678
9101112131415
16171819202122
23242526272829

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags