New

The latest blog posts to take off on Hacker News. 14,544 posts.

Software Engineering
Any year
13704

Ruby 2.0 Refinements in Practice

First Shugo announced them at RubyKaigi. Then Matz showed some improved syntax at RubyConf. But what are refinements [http://redmine.ruby-lang.org/issues/show/4085] all about, and what would they be used for? The first thing you need to understand is that the purpose of refinements in Ruby

13708

Peewee, a lightweight python ORM

For the past month or so I've been working on writing my own ORM in Python. The project grew out of a need for a lightweight persistence layer for use in Flask web apps. As I've grown so familiar with the Django ORM over the past year, many of the ideas in Peewee are analagous to the concepts in Django. My goal from…