Daniel's Tumblog

  1. In conclusion, you're fucked. :)

    Tags: PROGRAMMING HUMOR INSIGHTFUL HATE

  2. "Optimising your notation to not confuse people in the first 10 minutes of seeing it but to hinder readability ever after is a really bad mistake."

    Hear hear!

    Tags: PROGRAMMING FUNCTIONAL CATAMORPHISMS SCALA

  3. autobliss 1.0 simulates a programmable 2-input logic gate that you can program using reinforcement learning, i.e. reward and punishment. It can learn any of the 16 possible 2-input logic functions, i.e.AND, OR, XOR, NAND, etc. You train it by rewarding it when it gives the correct output (0 or 1) for a given input (00, 01, 10, 11), and punishing it when it gives the wrong output.

    I'd like to see implementations of this in other languages when I have time.

    Tags: PROGRAMMING C AI

  4. The only time when I slow down a bit is when I create and deploy a new project. If I saved the time somehow I could spend this time solving business problems instead.

    More sage advice.

    Tags: RAILS PROGRAMMING WEB-DEVELOPMENT

  5. Did you know that Io’s introspection and meta tricks put Ruby to serious shame? Where Ruby once schooled Java, Io has now pogoed.

    Io should be getting a boost in users after this.

    Tags: IO PROGRAMMING OBJECT-ORIENTED REFLECTION

  6. For those of you unfamiliar with UCW, you might question how it can be "continuation-based" when CL doesn't support continuations. Well, Marco Baringer (the creator of UCW) has written a CPS transformer that saves the lexical and GUI state in a web application written with UCW.

    Wow.

    Tags: PROGRAMMING LISP CONTINUATIONS

  7. Mandelbrot in Common Lisp, rendered with textual characters.

    Tags: PROGRAMMING LISP FRACTALS MATH GEOMETRY

  8. Here’s Dijkstra’s solution in Haskell...

    Exactly what it sounds like. Short, sweet, very cool.

    Tags: PROGRAMMING HASKELL

  9. There are lots of ways to ruin any project. I’ve seen most of them over the last few decades, but this year I’ve been called in to salvage a series of Rails projects that were, well, off the rails, in some ways that maybe special to Rails.

    Sage advice.

    Tags: RAILS RUBY WEB PROGRAMMING

  10. Chris Coyne created a small language for design grammars. These grammars are sets of non-deterministic rules to produce images. The images are surprisingly beautiful, often from very simple grammars.

    Pretty!

    Tags: GRAPHICS PROGRAMMING