Browse by Tags

Tagged Content List
  • Blog Post: 8-Queens in 8 Lines

    Brushing up on “whiteboard coding” for internal interviews… Inspired by Hal Ableson’s streams-based solution to this old classic in the SICP lectures, here’s a pretty concise n-Queens solution: let rec Solutions n board size = seq { // board is (x,y) tuple list of...
  • Blog Post: Wolfram – A New Kind of Turing Machine

    Stephen Wolfram ’s book, “ A New Kind of Science ” is flippin’ brilliant! (or perhaps I'm just not brilliant enough to realize he's a mad man) 1,280 pages packed with beautiful insights and Tufte-worthy visualizations. I remember discovering it while randomly browsing the MS library...
  • Blog Post: Ants

    Gram's blog has been pretty fun to follow. Like with Project Euler , I constantly want to implement each thing he talks about (e.g. Monadic Coconuts , Towers of Hanoi ). Here now is " The Wondering Ant ": open System.Drawing open System.Windows.Forms let rec ant (x, y) (dx, dy) g...
  • Blog Post: TinyRPN Calculator

    It’s fun dorking around with the HP 41CX emulator on the iPhone. It’s a near-perfect rendition. I forgot how much I loved RPN calculators. The 48GX looks even more interesting with Reverse Polish Lisp but I haven’t figured out how to use it yet. The 41CX, on the other hand, is an old friend. :-) ...
  • Blog Post: Sweeping Mines... Functionally

    Mr. GeekRaver and I were walking between buildings and, for some reason, talking about how silly it is that good ol’ Minesweeper was “glossed up” for Vista. He said he had written it for DOS in some tiny amount of C code ( http://www.bradygirl.com/Work/mine.c ). His explanation of little tricks to...
Page 1 of 1 (5 items)