Better HN
topnewbestaskshowjobs
Log inSign up

bcoates

5,109 karma · joined Jun 27, 2012 (14y ago) · 1,639 submissions

ben blueskylabs com
Submissions

comment 12y ago · link · parent

Doesn't every H-bomb have substantial positive fuel yield?

comment 12y ago · link · parent

I'm trying to imagine a use case for grapheme-wise truncate that wouldn't be better served by counting bytes, code points, pixels, or some sort of localized letter-counting convention.

comment 12y ago · link · parent

Perhaps Facebook's Algorithm was less an even-handed garbage site detector and more a direct penalty to upworthy domains.

comment 12y ago · link · parent

Have you seen other lyrics sites? They're tripod-level garbage.

Rap Genius:Lyrics Sites::Stack Overflow:Q&A sites

comment 12y ago · link · parent

One of the things you can say in favor of the NYT is that they never bought into the TV news balance fad.

comment 12y ago · link · parent

It's in the standard rotation of shovelware. You don't get it 100% of the time but I had a Flash update for Firefox try to install Chrome last week.

comment 12y ago · link · parent

You're right, edited.

comment 12y ago · link · parent

It's a dynamic-typing thing. In some hypothetical static-strong-non-duck version of Python,

  if name != '' and len(pets) > 0 and owners != {}
would tell you that name is a non-empty string, pets has values, and owners is a non-empty dict (except it doesn't work, as pdonis noticed).

But Python allows immoral implicit conversions, so that's not what that line means! If name is a function, pets is the value '7' and owners is a list, the test passes.

  if name and pets and owners
Would pass as well, but it has the advantage of not implying it does more than it does: all you can infer from the test passing is that none of name,pets,owners are special falsy values.

If you actually wanted to test what the longer line is implying, you'd write something like

  if isinstance(name, str) and isinstance(pets, list) and isinstance(owners, set) and name and pets and owners
(don't do this, it violates duck-typing and LBYL)

comment 12y ago · link · parent

That 1981 story is bizarre. Pocketable (AM-only!) transistor radios with an earphone were on the market in the 50s and the "little Japanese radio" was ubiquitous by the 1960s.

By 1981 I'm sure there were people still grousing about the good old days but it would have been the equivalent of complaining about e-mail and the death of the handwritten letter in the 2010s (and I'm sure NPR has done more than one story about that in this decade because that's their shtick).

The Walkman was revolutionary because it was a portable cassette deck, the first true plays-anywhere format that allowed someone to completely divorce themselves from radio music without any compromises.

comment 12y ago · link · parent

http://www.wolframalpha.com/input/?i=series+representation+o...

comment 12y ago · link · parent

If the headgear is comfortable enough, it might help with RSI/fatigue issues -- body position is no longer narrowly constrained by practical display mounting.

comment 12y ago · link · parent

Communication tools that people use heavily enough to care about acquire a context beyond just "Who I can communicate with". As the recipient, for the majority of my routine communications I get information from medium > sender > content, even though all ways of reaching me just make my phone jingle.

The series of decisions that results in me calling someone is so radically different than the one that results in IMing them that I'd never find it useful to start with a person and then decide to IM or call.

I'm about as often in the task-oriented position of thinking "I should call someone" or "I wonder who's awake on jabber" as the person-oriented position anyway.

tl;dr: The medium is the message

comment 12y ago · link · parent

I think the problem with that analogy is the standard advice for men in that situation is to grow up and get over it.

comment 12y ago · link · parent

The point of the entire US atomic weapons arsenal was a murder-suicide pact against International Communism. If you don't burn the planet after a Soviet victory you may as well have not built it in the first place.

comment 12y ago · link · parent

That's not how taxes work. You can tax anything you can get your hands on. Unless this hypothetical robo-island has a mercantilist military capable of ensuring access to markets by force, the states would just tax the goods or resources moving in or out.

comment 12y ago · link · parent

The future belongs to companies that realize exactly how little the average worker cares about "work".

I can get driven to work by a nice guy in a clean car for $11 instead of a surly driver in a grotty $25 taxi (who probably has a great work ethic), because the UberX driver is trying to support his unjob lifestyle instead of being good at being an employee.

comment 12y ago · link · parent

Thanks for explaining more. I didn't respond because I realized that we didn't agree on terms, and dictionary arguments are boring. I was using "decoupling" in the sense of "what happens to an overfit model after it stops working", and hadn't really noticed that your reddit post was also using the term to argue against something I don't claim (or particularly care about), "reduction in power accompanied by increases in GDP".

I'll admit that my post was more a general reaction to Prof. Murphy's chronic abuse of statistical modelling, visible in the post you linked to "The Real Population Problem" where he applies a rather incoherent statistical model ("Population growth is exponential, but the exponential rate keeps changing", which is another way of saying "Population growth is not exponential"), while ignoring the real story on population, flat or slightly declining total births per year.... and his even more baffling and famous post, http://physics.ucsd.edu/do-the-math/2012/04/economist-meets-... where he plops down a tight exponential fit that clearly applies to the 'Industrial Manufacturing' era and visibly and extremely fails to model after that (it's a log plot, that post-1970-ish curve indicates a massive, model-falsifying difference between model and observation).

Economic modelling is hard enough for the world we live in, a world where we're mining 0.02% Uranium from the ground instead of 10+% is so unlike anything we know that making predictions about it is hubris.

I generally don't find peakery interesting because I don't accept the fundamental premise (that you can model future resource availability at all using historical consumption volumes), so I'm not even at the point where more production (=consumption) data, however well sourced, is compelling.

comment 12y ago · link · parent

Oh come on. Microsoft's "evil" amounted to giving the competition a few kicks in the ribs while they were down. It was nasty and unsporting but let's keep things in perspective.

The comparison with Nestle would only be reasonable if a Windows 95 BSOD killed one of your children.

comment 12y ago · link · parent

There's two big missing facts that I've never noticed Murphy in particular acknowledge: the 1980s peak in global births -- population growth is now driven entirely by decreasing mortality -- and the late 20th century decoupling of energy consumption from economic growth.

Both point to an obvious counter-theory: That industrialization was a centuries-long process, involving exploding populations and energy consumption, that in much of the world has come to an end. The nice little exponential lines are overfit to a particular span of human history and stopped being predictive somewhere in the 20th century.

Also, most of those peaked resources are not even vaguely scarce. I'm not even sure what it would mean to run out of iron ore or bauxite -- a large fraction of the Earth's crust is iron- and aluminum-bearing rock, and the definition of "ore" is "the particular chunks of rock and dirt that are economically viable to extract metal from". Production peaked because of limited demand and lowered shipping costs that made foreign supplies cheaper.

comment 12y ago · link · parent

Worrying about ecological self-sufficiency and sustainability at a smaller than planetwide scale is essentially throwing away the entire advantage of how much our massive global logistics network has shrunk the world in recent decades.

comment 12y ago · link · parent

I think the idea is that food aid isn't just being given out on its own but as part of a development strategy. I agree that just giving food isn't enough, and it's wrong to pretend that the drought is the problem and not the practices that resulted in a population dependent on favorable weather to live.

Hopefully, we feed the people now so that starving to death isn't their top worry, and societies with food security are more stable societies that can make improvements in other ways (on their own, or with help) which eventually lead to prosperity and independence.

Manhattan has more population than the land can support--the Manhattanites are entirely dependent on delivered food to survive, and have been for many generations. It's hopefully a permanent situation. Nobody worries about it because they've reached a place of development where they can just buy the food shipments instead of getting charity.

comment 12y ago · link · parent

Yes?

If you can't tell the difference between what happened to Nicolae Ceaușescu and what happened to Fred Hampton I'm not sure what planet you're living on.

comment 12y ago · link · parent

An idealized dynamic strong typed language can actually give you the guarantee that all statically valid programs give you well-defined runtime behavior. This is a huge advantage over weakly typed languages that you also get out of the idealized static typed language.

The issue is, outside of languages with very baroque type systems or monstrosities like Java's sandbox, static typing often winds up decaying into weak typing, which offer much weaker behavior guarantees than real-world dynamic languages.

comment 12y ago · link · parent

What are the distributions on the answers? I always get xxxP where the first three are always around neutral and I'm P off the charts, whatever the hell that means.

comment 12y ago · link · parent

The images themselves aren't illegal, and in the US search engines are covered by the online service provider safe harbor if they follow the rules.

comment 12y ago · link · parent

The Free World won the war against Communism through economic warfare, surely Toshiba contributed to that impoverishing them by $517 million of hard currency for weapons they never got to use?

comment 12y ago · link · parent

You're seriously using a dead six year old kid as a springboard for a another dreary rant about surge pricing? You're a damn ghoul.

comment 12y ago · link · parent

http://dneiwert.blogspot.com/2008/01/how-to-out-sundown-town...

The racial distribution of the US is neither an accident or the result of voluntary actions by individuals.

comment 12y ago · link · parent

I've done a lot of digging through other people's code, in general the only comments I've found helpful are those that explicitly call out defective code, and those that provide links to external references.

Writing clear code is the only hope for the poor maintenance programmer, your carefully written comments probably aren't worth the effort.

1
262728
55