Skip to content

Instantly share code, notes, and snippets.

@ciferkey
ciferkey / cabal-install.rb
Created April 25, 2012 13:37 — forked from zmoazeni/cabal-install.rb
cabal-install 0.14.0 homebrew formula
# ripped wholesale from https://github.com/mxcl/homebrew/blob/ba8277d78d4cb21e14b81ce64ad20de9162e37e0/Library/Formula/cabal-install.rb
require 'formula'
class CabalInstall < Formula
homepage 'http://www.haskell.org/haskellwiki/Cabal-Install'
url 'http://www.haskell.org/cabal/release/cabal-install-0.14.0/cabal-install-0.14.0.tar.gz'
md5 '638514bd1a5792d75866481852148ae5'
depends_on 'ghc'
@ciferkey
ciferkey / about.md
Created August 9, 2011 16:33 — forked from jasonrudolph/about.md
Programming Achievements: How to Level Up as a Developer
@ciferkey
ciferkey / itunes_festival.py
Created August 4, 2011 15:05 — forked from jrave/itunes_festival.py
Quick and Dirty script to automate some stuff for the itunes festival streams
import urllib2
import re
url = ''
host='http://streaming.itunesfestival.com'
def get_token():
sub = url.find('?token=')
return url[sub:]

"Ok, I came up with an example.

Programming is like doing a massive sudoku. But you’re not just doing your own square; you have to line up the edges with squares that you’ve already done, or squares other people in your team are working on.

And it’s not just squares that you’ve done — you have to anticipate the sudokus you’ll be doing days, weeks or months from now, and leave easy numbers at the edges so it isn’t impossible to do those squares.

And that’s why some programmers are so engrossed in it, and get all worked up, because they’re like “You left a 5 in the middle of the square, what kind of asshole does that, now I’m gonna have to line all my squares up with that.”

And then someone points out a bug, and you have to trace it back to the square it came from, and then redo that square without screwing up all the other ones.