2007-11-13 / 23:03 / dave
- Man, I hope to see this at the next deabate.
- Norvig’s Palindrome code (also see the read-up). Great code. I especially liked this:
def canonical(word, sub=re.compile('[^A-Za-z0-9]').sub): "The canonical form for comparing: lowercase alphanumerics." return sub('', word).lower()
Passing in the substitution function makes canonical flexible. It also compiles the regular expression but with limited scope. Yay!
- Characters vs. Bytes. Tim Bray makes Unicode interesting.
- Middle-Class Dream Eludes African American Families. Wealth disparity across races.
- Dalvik: how Google routed around Sun’s IP-based licensing restrictions on Java ME. Android runs the java language, but not on the java platform. Interesting. An “open”Java ME sounds good but will fragment the standard once they have 80% of the market? You’d think not, since that would make developers’ lives harder. On the other hand, doens’t using custom byte-code already preclude some Java tools? Another aticle.
- NJ School Cameras Fed Live to Cops
- Getting rid of set-car! and set-cdr!. A surprisingly interesting article about Scheme. (With absolutely terrible Reddit comments)