Better HN
topnewbestaskshowjobs
Log inSign up

bcoates

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

ben blueskylabs com
Submissions

comment 13y ago · link · parent

I love the new streams API. A 0.8 based Node project I had had to have a messy, callback-filled ad-hoc flow control system because advisory I/O pauses weren't enough to give bounded memory usage (in practice, not just in theory) and the general lameness of the old streams meant I minimized their use.

I was able to re-write the I/O pipeline into a handful of Streams2 transforms, I was able to ditch a few hundred lines of ugly code and what's left is vastly less complicated.

I agree with the author that it's kind of lame that objectMode streams appear to be second-class, I guess the Node people think everything should be a raw data pipeline annotated with events for a data channel, like 'npm tar' does? I can't quite wrap my brain around the object-hate.

comment 13y ago · link · parent

The problem there is people who fly flags as vague decorative objects when the entire purpose of a flag is to be a symbol for a specific group or cause.

People who put flags on their house because they like the pretty colors are as tasteless as someone wearing a black armband because they think their outfit needed an accessory.

comment 13y ago · link · parent

World seed "schnoo" has a particularly tough hill from 125-145 that several different models can almost but not quite overcome. Anyone able to get over it?

comment 13y ago · link · parent

> Your unloyal customers will steal your product if you don't sell it cheaply enough for their liking

Like all those thieving bastards listening to AM/FM broadcast radio, which pays no royalties to performers?

Home radio is killing music!

comment 13y ago · link · parent

Nobody has ever completed the course, and it's not taken seriously in C++ programming circles at all.

comment 13y ago · link · parent

The regex engine is small potatoes in the larger scheme of things, but the reason it's so problematic is the two bigger problems in the CPPGM: the questionable architecture and absolutely insane project plan, which both appear to be "convert the spec directly into code, in printed order".

This is no way to approach a complex project with serious technical risk, and willingly signing up for the death-march enterprise project from hell is the kind of thing that disqualifies you from being qualified to take on a project of this scope, let alone a grandmaster, whatever that means.

You can see the outcome coming a mile away: "We cut some corners, but it's 80% done. Now all that's left is the impossible part."

comment 13y ago · link · parent

IE9 is fine too.

comment 13y ago · link · parent

This looks like a job for a sourcemap: http://www.html5rocks.com/en/tutorials/developertools/source...

comment 13y ago · link · parent

Stories like this always astound me. Learning Forth is probably less difficult than the average GUI widget library. Anyone who I'd trust around a C compiler could probably become a serviceable Forth coder in a weekend.

Do moderately bright kids not get exposed to HP RPN calculators anymore?

comment 13y ago · link · parent

For glass and aluminum, energy saving is the whole game for recycling. If energy were free there'd be no recycling of either.

comment 13y ago · link · parent

It sounds like they're trying to solve the same problems that I/O Completion Ports and Registered I/O are, in many of the same ways. It would be nice to see a head-to-head comparison for CPU overhead and scalability between the two models.

comment 13y ago · link · parent

They answer their own question: with a retraining process that will leave their children behind as untrained bums.

They semi-accurately predict a future where employment is sufficiently fluid that nobody is securely enough situated at a job that they can train their children into it.

comment 13y ago · link · parent

Krugman's trying to juggle two contradictory viewpoints: one (the Luddite view) holds that the purpose of work is to have something to do. The Luddite petition is arguing that allowing these people to fall into idleness simply because there is a more effective machine to do their job will be toxic to society. This is somewhat confused by the Luddites also throwing out a lot of half-baked economic arguments, but those can be safely ignored in hindsight.

Krugman then proposes a solution from an entirely opposite viewpoint: that the purpose of work is to produce useful things, and if the constant disruption of jobs is the cost of efficiency, we should just give the affected a handout to provide for their needs.

But because the guaranteed income doesn't solve the Luddite's complaint, it misses the point entirely.

comment 13y ago · link · parent

This simply isn't true. Obama ran on being Bush's third and fourth terms and that's what we got. The two of them have been a radical departure from previous administrations. Two presidencies does not make an immutable law of nature.

Recent political events have demonstrated just how autonomous the President is, there is no reason to think there is some sort of hidden power at play here.

If anything we need a stronger and more professional bureaucracy that's less eager to help the President break the law.

comment 13y ago · link · parent

> I hope that ISPs do not release personal identity or billing data to arbitrary third parties.

My ISP, Time Warner/RoadRunner, claims that they will do so. It's kind of ambiguous because their declaration combines several services and kinds of data covered by different laws. I think the applicable part for their cable ISP service is:

  In the course of providing Time Warner Cable Services 
  to you, we may disclose your personally identifiable 
  information to [...] consumer and market research firms,
  credit reporting agencies and authorized representatives
  of governmental bodies.
Selling their DHCP logs and customer records to a commercial data aggregator (who could then sell it to anyone) appears to be compliant with their privacy policy.

http://help.twcable.com/twc_privacy_notice.html

comment 13y ago · link · parent

They have access to IP+time, your search query, and cookies for correlation to other requests. It's valuable information and Google openly documents that they are keeping and using it, along with anything else you leak to them: http://www.google.com/policies/privacy/

IP+time is enough to get your personal identity information from your ISP (physical location of the endpoint, billing information), I have no idea if Google's relationship with ISPs is good enough to buy that or if it's only available to cops.

comment 13y ago · link · parent

Playing into Dutch stereotypes of what Americans are like would indicate that the story is more likely fake, no?

comment 13y ago · link · parent

I haven't used a landline in years now, but when I was a kid it worked that way: one end hanging up wouldn't disconnect the circuit, and if the other end took the phone off-hook shortly afterwards it'd still be connected.

This would sometimes wind up being the deciding factor in the eternal battle of "which sibling gets to use the phone"

comment 13y ago · link · parent

A lot of that comparative slowness was caused by mechanical storage, replacing it with parallel and lower-latency SSDs makes it a lot easier to get full use out of more and faster cores. It doesn't cost much to set up a system that's completely CPU-limited on OLAP database-like workloads these days.

I suspect that as more software stops being optimized for ~10ms serial disk I/O with huge caches this will become more common and more and faster cores will be a big(er) deal.

comment 13y ago · link · parent

Alternate theory: al-Qaeda used planes because planes exist here in the real world, and weaponized Anthrax bombs that can kill 100,000 people don't.

comment 13y ago · link · parent

What's the point of truth or beauty or knowledge when the anthrax bombs are popping all around you?

comment 13y ago · link · parent

McCullagh's star named source Stewart Baker is not a credible source on this sort of thing, he's effectively a PR flack.

He's made a career of banging the drum that the cyber-boogeyman apocalypse is going to happen real soon now, and the ACLU and EFF are trying to get everyone killed, since the clipper chip era.

comment 13y ago · link · parent

> Computer vision is superior to human in many aspects

But not in any way relevant to the September 11 hijackings as the hijackers were travelling under their real identities including real photo ID cards.

comment 13y ago · link · parent

This isn't true at all, Obama has been extremely effective at getting whatever he wants done. Lots of presidents in recent memory have made sweeping changes in how the government operates. He has enormous and specific powers relevant to most of the things he promised (and the things he didn't promise but his voters imagined he did), he just doesn't actually want to do them so he doesn't.

comment 13y ago · link · parent

That worked so well for Anwar al-Awlaki.

comment 13y ago · link · parent

Depends on what you mean by "hosting". If all you need to do is serve content, CloudFront+S3 will suffice.
1
373839
55