Category

Engineering

New Languages Highlighted

CoffeeScript (.coffee) LotteryDraw: { play: -> result: LotteryTicket.new_random() winners: {} this.tickets.each (buyer, ticket_list) -> ticket_list.each (ticket) -> score: ticket.score(result) return if score is 0 winners[buyer] ||= [] winners[buyer].push([ticket, score]) this.tickets:…

Chris Wanstrath

Multiple file gist improvements

We've always had the ability to embed multiple file gists: Your browser does not support IFrames But today we added the ability to embed specific files in a multi-file gist!…

Kyle Neath

How We Made GitHub Fast

Now that things have settled down from the move to Rackspace, I wanted to take some time to go over the architectural changes that we've made in order to bring…

Tom Preston-Werner

unicorn.god

Some people have been asking for our Unicorn god config. Here it is: # http://unicorn.bogomips.org/SIGNALS.html rails_env = ENV['RAILS_ENV'] || 'production' rails_root = ENV['RAILS_ROOT'] || "/data/github/current" God.watch do |w| w.name =…

Chris Wanstrath

Unicorn!

We've been running Unicorn for more than a month. Time to talk about it. What is it? Unicorn is an HTTP server for Ruby, similar to Mongrel or Thin. It…

Chris Wanstrath

Smart JS Polling

While Comet may be all the rage, some of us are still stuck in web 2.0. And those of us that are use Ajax polling to see if there's anything…

Chris Wanstrath

Keeping GoogleBot Happy

One of the interesting side effects I hadn't considered when we rolled out some fairly significant caching updates on GitHub in the beginning of January was how much Google's crawler…

PJ Hyett

PHP in Erlang

You heard me right. php_app manages a pool of persistent PHP processes and provides a simple API to evaluate PHP code from Erlang. The blog post gives a quick overview…

Chris Wanstrath

Easy Git!

eg is a nifty piece of work. Are you meeting resistance trying to move your coworkers or friends to Git? ("SVN is good enough.") Know someone who would love to…

Chris Wanstrath

Scripting Bioclipse

Bioclipse (a Java-based, open source, visual platform for chemo- and bioinformatics) has scripting support and the community has developed a great method for sharing those scripts: Gist! They create Gists…

Chris Wanstrath