Better HN
topnewbestaskshowjobs
Log inSign up

sibsibsib

57 karma · joined Oct 1, 2010 (16y ago) · 58 submissions

Submissions

comment 2mo ago · link · parent

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 11y ago · link · parent

it was added in python 2.7 / 3.0

comment 11y ago · link · parent

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 11y ago · link · parent

the fresnel effect. http://filmicgames.com/archives/557

comment 11y ago · link · parent

I've had good results from converting to Lab space and geospatial indexing the ab components.

http://en.m.wikipedia.org/wiki/Lab_color_space

comment 12y ago · link · parent

I've done some experiments packing gunicorn+ a wsgi app with PEX[1] to have a standalone executable.

Seems to work pretty well, although I haven't tried it for anything production related.

[1] http://pex.readthedocs.org/en/latest/api/index.html

comment 13y ago · link · parent

I think your rental prices are a little off. Have you looked for a place in TO recently?

comment 13y ago · link · parent

> 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 14y ago · link · parent

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 15y ago · link · parent

mongoengine does do validation. It can be disabled on a per-model basis though.

comment 15y ago · link · parent

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 15y ago · link · parent

It's in the bar along the bottom. Very similar to Textmate.

comment 15y ago · link · parent

reddit is currently working for me.

comment 15y ago · link · parent

That's how the 'following' circle works. Notch makes a 'public' post, and everyone who has him in their following circle will receive the update.

comment 15y ago · link · parent

I see pyramids with firefox 4. I'm not sure what the 'mindfuck' part is though...

comment 15y ago · link · parent

are you on windows? I find this happens on windows more so than mac. I believe its a combination of bad hinting combined with Microsoft's very crisp font smoothing. Windows can really mess with the kerning as well...

comment 15y ago · link · parent

this looks pretty cool. Happen to know any similar projects for python?

comment 15y ago · link · parent

I'm impressed so far. I've been looking for something like this.

comment 15y ago · link · parent

I didn't even notice they were gone at first...

comment 15y ago · link · parent

what does this have to do with jailbreakers? The data in question is accessible on the machine the person syncs their phone with. It's conceivable that third parties could easily gain access to it.

I'm sure people have all kinds of other sensitive private info on their machines, but how much of it is easy to automatically parse and analyze?

comment 15y ago · link · parent

for python-specific, there is also http://www.nongnu.org/pyreb/ . It supports named capture groups, etc.

comment 15y ago · link · parent

thanks for posting this. I agree fully. The place I frequent is very small, so one person taking up a lot of space can be really annoying. The worst is when two people push two tables together (tables meant for 3-4 people!) and sprawl out over them.

comment 15y ago · link · parent

I also find it difficult to get certain kinds of work done in a coffee shop or other public place. I always seem to get this feeling that people are watching over my shoulder, despite the fact that nobody actually is. That feeling is somewhat unsettling, and makes it difficult for me to concentrate on things like code.

So, for me at least, coffee shop time is 'thinking' time. Time to enjoy the brew, do the crossword, let the mind go wild, and write down notes of ideas that pop into my head.

comment 15y ago · link · parent

are you planning on adding some kind of tour? I'd like to see screenshots before diving in.

comment 15y ago · link · parent

cool, thanks. I think I might check it out. It's certainly 'pretty'.

edit: testing it out now. It seems to be more responsive than spotlight. Liking it so far :)

comment 15y ago · link · parent

thanks for sharing. There are a couple tools in there I hadn't heard of that might be useful to me.

Is there any particular reason you use Alfred vs Spotlight?

12