Recent submissions

Comment · 2 months ago
the korg kronos 88key is listed as 1457mm long, so you might need several in order to swaddle it. but at that size, it probably no longer needs swaddling
Comment · 11 years ago
it was added in python 2.7 / 3.0
Comment · 11 years ago
it's possible to do this with PEX. I've done this experimentally by subclassing gunicorn.app.base.Application. Haven't tried it out in prod yet though.
Comment · 11 years ago
Comment · 12 years ago
Comment · 12 years ago
Comment · 13 years ago
I think your rental prices are a little off. Have you looked for a place in TO recently?
Comment · 13 years ago
> but is it wise to run a webapp and Postgres on the same instance?

This really depends on the level of traffic you expect. For lower amounts, it works fine.

Comment · 15 years ago
Law #2 makes mention of law #1:

A robot must obey the orders given to it by human beings, except where such orders would conflict with the First Law.

Comment · 15 years ago
mongoengine does do validation. It can be disabled on a per-model basis though.
Comment · 15 years ago
using list() in this manner feels a bit weird to me.

If you want to be truly explicit, why not use the built in copy module?

eg:

    from copy import copy
    b = copy(a)   #or deepcopy(), depending on your needs

*edit: I should note that the docs for copy suggest using the slice operator.
Comment · 15 years ago
It's in the bar along the bottom. Very similar to Textmate.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton