HNHacker News
TopNewBestAskShowJobs

bdevine

237 karma · joined August 14, 2012

submissionscomments
bdevine··on California moves to decriminalize use of magic mushrooms, other psychedelics
Ah. It was paywalled and I foolishly assumed it was copy I read earlier about it passing the Assembly with it yet to be sent back to the Senate. That's what I get for assuming.
bdevine··on California moves to decriminalize use of magic mushrooms, other psychedelics
My cynical take is that this will not make it past the Senate, due to Newsom leveraging himself into the discussion behind the scenes. His national political ambitions likely prevent him from taking a public stand on this issue, as he would were it to come to him to be signed.
bdevine··on Are Apple AirTags Being Used to Track People and Steal Cars?
You've independently discovered Betteridge's Law of Headlines[0].

[0] https://en.wikipedia.org/wiki/Betteridge%27s_law_of_headline...

bdevine··on Warren Buffett is right, inflation is running rampant
He's citing year-over-year? Seems to me that for some reason the economy was in the toilet this time last year but it had reason to be an aberration. I don't know, it's a real mystery.
bdevine··on I tried to buy an actual barrel of crude oil (2015)
You've missed your very best chance ever to lead with "Well, actually"!
bdevine··on Lightning, Gods, and Mushrooms (2013)
Summary: mild electrical stimulation of ectomycorrizhal matsutake mushrooms yielded immense gains in both quality and quantity of fruiting bodies.
bdevine··on In field tests, device harvests water from desert air
Ok, I have a dumb question about this sort of technology. Aren't these devices essentially just borrowing from tomorrow by capturing moisture that would have eventually collected as clouds? Are there any long-term ramifications to using these?
bdevine··on Ask HN: What's the most absurd A/B test result you've seen?
"Turns out the last shower curtain you bought from us isn't working out so great, is it? Well, check out all these top-ranked shower curtains that your search didn't return!"
bdevine··on “Reclaim Windows 10” Powershell Script
Up voted for this:

"If you do not understand every single command in this thing, you should avoid it, and if you understand every single command in this, you don't need it."

It's so universally applicable!

bdevine··on San Diego Struggles to Keep Its Young Tech Talent
Count me in too! Who knew we were so many?
bdevine··on The Perfect Crime, or how to get away with murder in Idaho
From the abstract: "This article argues that there is a 50-square-mile swath of Idaho in which one can commit felonies with impunity. This is because of the intersection of a poorly drafted statute with a clear but neglected constitutional provision: the Sixth Amendment's Vicinage Clause."

Mods: The title "The Perfect Crime" seemed insufficiently descriptive, so I took the liberty of augmenting the title.

bdevine··on Don't let a single day pass without doing something towards your goal
That's great and all, but when you've got multiple goals in multiple domains, something is going to fall to the bottom, or, more likely, right off it. There is only triage and its attendant guilt.
bdevine··on How to minimize procrastination
"Sir, Thank you very much for the article on hoarding. I've put it with the others."
bdevine··on Show HN: Should I automate this task? (Time ROI Calculator)
Now I have to spend time deciding between this source or https://xkcd.com/1205/
bdevine··on A metabolic master switch underlying human obesity
I'm completely unfamiliar with this stuff, but from the article:

"In risk individuals, a thymine (T) is replaced by a cytosine (C) nucleobase, which disrupts repression of the control region and turns on IRX3 and IRX5. This then turns off thermogenesis, leading to lipid accumulation and ultimately obesity... Switching the C to a T in risk individuals turned off IRX3 and IRX5, restored thermogenesis to non-risk levels, and switched off lipid storage genes."

So yes, CC is taken to mean "risk" and CT is likewise "non-risk".

As always, one finding doesn't indicate ultimate truth, so take this all with a grain of salt (or not, depending on what 23andMe has to say about your sodium intake).

bdevine··on McDonald's manager reveals 'secret menu'
At a minimum, I'd guess that it goes directly to PG's concept of "submarining"[0].

[0] http://www.paulgraham.com/submarine.html

bdevine··on Django Developers Survery Results
I've felt more or less the same as you and recently I've found Test-Driven Development with Python[0] to be a really nice resource. It is first and foremost a TDD book, which I certainly appreciate, but it takes you through creating an app in a (to my eyes at least) fairly rigorous way. It probably shouldn't serve as an introduction to Django but for someone who has a basic idea of how a project is put together but has never connected those dots, it might be really helpful.

[0] http://shop.oreilly.com/product/mobile/0636920029533.do

bdevine··on The 500-mile email (2002)
The mapping was done for the purpose of reproducing the error though. I wouldn't call that a wasted effort.
bdevine··on Ask HN: Who are your favorite poets?
Wallace Stevens is a favorite of mine. His work has been described as "rigorous", which I would agree with. He is an inspiration to me due to his ability to straddle two worlds: his day job was mainly as an insurance executive, but he flowered late and won a Pulitzer for his poetry. I particularly like "The Emperor of Ice Cream":

  Call the roller of big cigars,
  The muscular one, and bid him whip
  In kitchen cups concupiscent curds.
  Let the wenches dawdle in such dress
  As they are used to wear, and let the boys
  Bring flowers in last month's newspapers.
  Let be be finale of seem.
  The only emperor is the emperor of ice-cream.

  Take from the dresser of deal,
  Lacking the three glass knobs, that sheet
  On which she embroidered fantails once
  And spread it so as to cover her face.
  If her horny feet protrude, they come
  To show how cold she is, and dumb.
  Let the lamp affix its beam.
  The only emperor is the emperor of ice-cream.
bdevine··on The Village that fell asleep: mystery illness that perplexes Kazakh scientists
It's not clear from the article that that's a smoking gun. Just prior to that point, we see:

"Elevated levels of radon and carbon monoxide were detected but later ruled out as a cause.", with a link to a Russian page that, Google Translated, seems to actually indicate that CO is still a leading suspect. However, the article immediately goes on to apparently quote from the same Russian page that

"...some of houses (sic) of the affected residents had carbon monoxide levels that were ten times higher than recommended. This... could have caused similar symptoms to the “sleeping sickness”."

So the article itself seems a little sloppy. Beyond that, I wonder what the sickness relationship is between high-CO houses and all inhabitants of them, given that at least one inhabitant per house has experienced the sickness. Is there a correlation? Also, is the social structure of the village such that there are frequent visitations to most or every home? If so, then one might expect to experience the sickness even if one's own house doesn't have high CO.

bdevine··on HTTPie: a CLI, cURL-like tool for humans
Previously submitted here[0] and here[1].

[0] https://news.ycombinator.com/item?id=4261263 [1] https://news.ycombinator.com/item?id=7890367

bdevine··on Git in six hundred words
This points to http://maryrosecook.com/blog/post/introducing-gitlet, not http://maryrosecook.com/blog/post/git-in-six-hundred-words.
bdevine··on Mistakes Developers Make When Using Python for Big Data Analytics
Your "bid data" typo seems like a nice little Freudian slip!

As far as your second point though: although it's not ideal, don't virtualenvs do the trick? If you really needed to, you could even set up a workflow of different sandboxes to pass data through. If the alternative to relying on frameworks is rolling your own, frankly I would probably choose the former, but that's just me.

bdevine··on Feeling Sad Makes Us More Creative
Three! Don't forget boredom. Does feeling faintly amused also boost creativity?
bdevine··on Python Tips and Traps
Ah! Thanks for the correction. Somewhere along the way I picked up the belief that in addition to the file-closing aspect, "with" ensured a line-at-a-time iterator, akin to adding on "for line in f:".

I'm not sure I understand your third comment though. As I understand it, iterables have an __iter__ method. __iter__ methods return iterators. So an iterator for the iterable f traverses f and sends f's values to, in this case, set(). I believe we agree there. My initial concern was simply that the statement could be read "The iterator, set(), uses f.", and I don't see where the disagreement arises.

bdevine··on Python Tips and Traps
I think you may have gotten ahead of yourself in your explanation, but to be clear, it's the "with" statement that causes the line iteration that then feeds into set(f). To say that "set(f) uses f as an iterator" might imply to some that set() is causing the iteration, which isn't true.

ETA: See raymondh's post below.

bdevine··on Python Tips and Traps
Always glad to see tips, tricks, and otherwise for Python. But for anyone checking out Python who sees how useful the defaultdict construct is but doesn't necessarily need nested attributes, the Counter class[0] has been available for some time now. If you just want to keep track of, well, counts, it's very handy and versatile.

[0] https://docs.python.org/3.1/library/collections.html#collect...

bdevine··on An Algorithm for the Forecasting of Romantic Options
Taken in good fun, but if anyone is interested, urn models are frequently used in probability theory though. [0]

[0] http://en.m.wikipedia.org/wiki/Urn_problem

bdevine··on How to Start a Startup Lecture 1: Full Transcript
As someone who is similarly afflicted, here's a seconded "Thank you"!
bdevine··on The War Nerd: Here’s everything you need to know about “too extreme” I.S.I.S
Thanks for posting this. A great read and I'm now following the author on Twitter.
Page 1 of 3Next →