Better HN
topnewbestaskshowjobs
Log inSign up

bdevine

237 karma · joined Aug 14, 2012 (14y ago) · 82 submissions

Submissions

comment 12y ago · link · parent

As a broad first pass, have you looked into LSI and other related topic-modeling algorithms? I am a Pythonista and I like a library called gensim very much for playing in that space; maybe look at the documentation for that and see if it sparks any ideas?

comment 12y ago · link · parent

PyCharm has a free edition that is quite nice, IMO. It even plays nicely with Vagrant and IPython, if that matters.

63.

Innovative solar-powered toilet ready for India unveiling(rdmag.com ↗)

2 points · by bdevine · 12y ago · discuss

comment 12y ago · link · parent

In response to blahah: suppose that you could somehow make the enablers previous recipients of expertise? If you could assess an incoming project's needs and bin it with previous projects, people associated with those previous projects could pay back to the overall effort by trying to help the incoming project decide what the pain points are and how they might be solved.

comment 12y ago · link · parent

I agree with emhart -- this was my exact reaction. Of course I understand that you can't launch beta with all your features, but please consider this another vote for a more robust matching mechanism. Other than that, great work! I think this sort of opportunity to get our hands dirty is exactly what a lot of people are looking for.

comment 12y ago · link · parent

Everyone's pedagogical requirements vary, and decorators are notoriously hard to explain[0], but seeing something like "A decorator in Python is a function that accepts another function as an argument." as a flat statement at the beginning of the article is an immediate turn-off for me, since I can easily see someone who is still learning about Python in general extrapolating from this to conclude, say, that map(), reduce(), and filter() are decorators as well. It's just a bad start to the article IMO and I didn't bother reading much further.

[0] http://pythonconquerstheuniverse.wordpress.com/2012/04/29/py...

comment 12y ago · link · parent

Certainly true, but there can be a gap between providing such tips and having them be accepted/upvoted. There is probably something to be said for exploring optimizing strategies, along the lines of frequenting the site at certain times, ignoring requests from brand-new accounts that aren't likely to follow through on accepting answers, and so on. Having said that, I am not sure that there is enough to be said about those strategies to be worth the time of maintaining a repo, although I always admire people who are pushing the bounds of what Git can be used for.

comment 12y ago · link · parent

This title needs re-editing unless I am missing something. The linked article only details a collapsed building, not a bridge. As it stands, reading the title of the submission alone gives the impression that there is a full-fledged terrorist attack underway, which has not yet been shown to be the case.

comment 12y ago · link · parent

My apologies -- I posted this from mobile and didn't see the ad. I should have checked. If you're motivated, I found that deleting the div ids "jpintoverlay" and "jp_lightbox" worked for me.

ETA: Even better: prepend a "m." to the URL.

70.

The Lost Boys of California(vice.com ↗)

2 points · by bdevine · 12y ago · 3 comments

comment 12y ago · link · parent

Of course, the more wallets you create and sell, the higher the probability that at least one of their buyers is stupid.

comment 13y ago · link · parent

I am one of those who can't have lyrics in the background. I like a mix of light classical and modern (Satie to Glass) along with cool jazz (if you include Sketches of Spain in that category). For my late nights I tend to go with Boards of Canada though.

comment 13y ago · link · parent

Honest question: does it really matter? If you're obliquely referencing the holiday season, I have to think that the number of people for whom giving this as a gift is a viable option is basically a rounding error in Apple's customer base. I could be wrong, though.

comment 13y ago · link · parent

If you're not aware of it, wget[1] allows you to save pages, whole sites, file types, etc.

[1] http://www.thegeekstuff.com/2009/09/the-ultimate-wget-downlo...

comment 13y ago · link · parent

The members of the election commission are almost certainly criminals, but I'm not as convinced when it comes to the guy who pulled the trigger on releasing the data. I can all too easily picture a hapless developer whose family doesn't know where he is.

comment 13y ago · link · parent

Snark aside, I feel very sorry for those involved in pushing out the "results" early. I cannot see anything good happening to them.

comment 13y ago · link · parent

It was probably media speculation. Since "Champagne" is well-known to be trademarked (only sparkling wine made in the Champagne region can technically be called Champagne), Apple likely never intended to call the gold version a champagne color. I never saw any leaked material from Apple referring to it as such, at least. It seems like the media settled on calling it champagne and the Champagne gatekeepers preemptively made noise about it[1], thus adding fuel to the fire.

[1] https://twitter.com/Champagne/status/370623172166430720

comment 13y ago · link · parent

I swear by Boards of Canada, which, judging from the criteria you listed, might be right up your alley.

comment 13y ago · link · parent

Why, I'm sure that would be more than OK, seeing as how that will probably be the sole revenue stream Zynga has in a year or so.

comment 13y ago · link · parent

I just bit the bullet on an MBA myself. I would have preferred to be able to wait until the Pros get Haswell, but I can't really wait any longer due to the decrepitude of my current laptop. If OP can wait, though, the Pro might satisfy him/her.

comment 13y ago · link · parent

The NRF index[1], which measures the nutrient density of a food.

[1] http://www.ncbi.nlm.nih.gov/pubmed/20368382

comment 13y ago · link · parent

Hi, new guy here. My solution took me about 15 minutes to code in Python, but I looked up my algorithm (I am not nearly as math-oriented as I should be; programming came later in life to me). I'm genuinely curious about anyone's opinion of where I would be ranked among candidates.

def gen_pascal_row(n): row = [1] for i in range(1,n+1): row.append(row[-1] * n/i) n -= 1 return row

ETA: This might be better. https://gist.github.com/4612320

123