News for hackers. Stuff that matters.

sibsibsib

Re:Polishing Cloth Updated on Tuesday September 01, 2026 @09:18AM (#49521615)
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
Re:Functional Programming in Python [pdf] on Friday July 24, 2015 @04:58PM (#9945145)
it was added in python 2.7 / 3.0
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.
Re:WebGL Water Simulator on Saturday January 10, 2015 @07:25PM (#8868526)
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

Re:After Docker: Unikernels and Immutable Infrastructure on Friday November 14, 2014 @06:01PM (#8610048)
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

Re:Why I Haven’t Hired a Single Developer in Canada on Friday April 12, 2013 @10:34PM (#5542298)
I think your rental prices are a little off. Have you looked for a place in TO recently?
> 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.

Re:Would an intelligent computer have a "right to life"? on Friday January 06, 2012 @10:58PM (#3436160)
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.

Re:I Accidentally Deleted All Our Data on Friday November 18, 2011 @08:12PM (#3254237)
mongoengine does do validation. It can be disabled on a per-model basis though.
Re:Python: copying a list the right way on Saturday November 05, 2011 @07:23PM (#3201229)
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.
It's in the bar along the bottom. Very similar to Textmate.
reddit is currently working for me.
Re:A change thousands want made to Google+ circles on Tuesday July 12, 2011 @11:19AM (#2755026)
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.
Re:Mindfuck WebGL Zorropark on Saturday May 21, 2011 @11:18AM (#2570986)
I see pyramids with firefox 4. I'm not sure what the 'mindfuck' part is though...
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...
Re:Puppet switches GPL license to Apache on Tuesday May 03, 2011 @09:31AM (#2509853)
this looks pretty cool. Happen to know any similar projects for python?
Re:Vico Editor (Mac text editor) on Sunday May 01, 2011 @12:12PM (#2503246)
I'm impressed so far. I've been looking for something like this.
Re:Tell HN: Please bring back comment scores on Tuesday April 26, 2011 @10:05AM (#2485184)
I didn't even notice they were gone at first...
Re:Senator questions Apple over iPhone tracking on Thursday April 21, 2011 @01:53AM (#2469600)
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?

Re:Pythex: a Python regular expression editor on Wednesday April 20, 2011 @11:41AM (#2467046)
for python-specific, there is also http://www.nongnu.org/pyreb/ . It supports named capture groups, etc.
Re:Working Best at Coffee Shops on Tuesday April 19, 2011 @02:14PM (#2463561)
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.
Re:Working Best at Coffee Shops on Tuesday April 19, 2011 @02:09PM (#2463539)
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.

are you planning on adding some kind of tour? I'd like to see screenshots before diving in.
Re:The New Guy's Computer on Thursday April 07, 2011 @10:10PM (#2422099)
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 :)

Re:The New Guy's Computer on Thursday April 07, 2011 @12:45PM (#2420146)
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?

Re:Old-School Silicon Valley Company Logos ON T-SHIRTS on Wednesday April 06, 2011 @11:52AM (#2415568)
The site itself:

"A history of silicon valley failure written in t-shirts"

Re:Collect HN: Aprils Fools on Thursday March 31, 2011 @11:30PM (#2394807)
oh... that wasn't serious? Guess I missed the April 1 date on it.
Re:Poll: How do you consume HN? on Friday March 25, 2011 @01:01PM (#2369282)
the rss feed works well for me in google reader. It allows me to keep track of what I've read and what I haven't.

If it seems like the comments might be interesting I just click the 'comments' link.

Why go through the effort? When I end up on an NY Times page, I just close it because I know they're going to make me log in. This just gives me more incentive to not click on NY Times links.

Older »