Better HN
topnewbestaskshowjobs
Log inSign up

bcoates

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

ben blueskylabs com
Submissions

comment 10y ago · link · parent

I guess I'm missing the part where I'm supposed to care that CEOs are in the long, long line of people fleecing dumb investors.

comment 10y ago · link · parent

-1 from me. 'localhost' is an artifact of a model of network computing that is no longer relevant; it's a special case of the general antipattern of network-topology sensitive design.

Back in the bad old days only a single user on a physical computer could log into a windows domain, because it was possible look up what user (singular) was on a host. Of course domain logins were also exquisitely sensitive to the nature of the network between client and server as well. It was a nightmare. Localhost is a product of that kind of thinking.

One-per-host resources that have to be shared across all users, security perimeters, vms, containers, etc. are an unwelcome headache. Of course, real systems don't actually share a localhost between all of these things, resulting in the even goofier concept of "which localhost do you mean?" That question was exactly why site-local addressing was deprecated from ipv6 https://tools.ietf.org/html/rfc3879

An actually portable standard for resolving well-known local entities would be great, but more special cases to try to fix the doomed localhost idea is a move in the wrong direction.

comment 10y ago · link · parent

The double negative phrasing Google and the spec uses makes it sound weirder than it is. You could phrase it as "only use tags that are needed for the document to be parsed correctly" which makes explicitly including an <html> tag with no attributes or a information-free stack of closing tags seem like a strange thing to do if it wasn't tradition.

comment 10y ago · link · parent

That's the point. This is Obama scoring points with the most gullible parts of his base. If there was any chance of it actually mattering he wouldn't have done it.

This is standard lame-duck presidential politics, making grandstanding moves that have no consensus to actually be carried out and leaving the messy details of actual politics to their successor and/or congress.

Climate deals in particular have a history of meaningless promises like this that won't ever be implemented, going back at least to Kyoto (which was signed by Bill Clinton, to no effect)

If anything, a signature on this deal without a plan for ratification and implementation is a defeat, an acknowledgement that real action isn't possible so symbolism will have to do.

comment 10y ago · link · parent

Home audio/hifi/theater systems

comment 10y ago · link · parent

This makes me wonder if they'd be better off pursuing complaints with Customs than with lawsuits.

Getting a shipment of infringing hardware impounded at the border would be a lot of leverage.

comment 10y ago · link · parent

Super clickbait title for yet another enterprise single-sign-on product.

comment 10y ago · link · parent

In the second case, IO is not allowed to interrupt between between 'someoperation' and 'stuff' and change your program's state.

In node, the first form is only needed when 'someoperation' has to perform IO to do its job so concurrent operations are unavoidable.

If you're trying to reason about your program, this is huge. It very much matters where these points are. A concurrent thread being allowed to jump in and modify memory at any time at all, even halfway through a primitive math operation (the deranged C / Java / Python[1] memory model) means a correct program is a morass of locks and defensive programming and an obvious program is horribly broken.

Communicating sequential processes (Go, PHP+MySql) makes IO have a modestly simpler synchronous syntax at the cost of communicating between I/O operations much more complex (sending a message to a port or performing some sort of transaction instead of just assigning to a value). It's a tradeoff.

node.js does assume you're writing a network program that needs to overlap multiple communicating I/O operations; if this isn't the case there's no tradeoff to make and non-communicating sequential code is probably easier (think PHP without a database or sessioning)

[1] Python is modestly less braindead by having a very modestly larger set of operations guaranteed to be protected by the GIL. Hoever, it's not composable at all and it doesn't really make reasoning about nontrivial programs easier in practice.

comment 10y ago · link · parent

Blanket blocking of third party cookies and frames isn't necessarily a complete solution, but it breaks most of these and very little of value.

comment 10y ago · link · parent

I know a lot of people prefer Lyft as a first resort but to me it has two serious problems:

* Lyft doesn't let you book a ride by web or sms, which means in an emergency, I can't cadge a ride easily at a web cafe, library, laptop at a Starbucks, borrowed phone, etc. Lyft is optional, having a working m.uber.com login is a survival skill.

* I've never experienced the level of drivers outright misbehaving and fucking with passengers in an Uber that I semi-frequently experience as a friend's guest in a Lyft. I don't know if it's culture or what, but Lyft drivers seem to feel comfortable doing things like picking a location and ditching you or not accepting your instructions to drive a particular place, which as far as I can tell is a "never drive for us again" infraction over at Uber and the drivers know it.

comment 10y ago · link · parent

They're extremely complimentary. In LA (for example) mass transit has a tendency to strand you, and traditional taxis and car services have gigantic no-go areas unless you're a VIP.

I can take a bus or train anywhere at any time, knowing that if I'm, for example, south of Washington at any time of day or downtown after 2am, I can call a car and still get home. In the 00s, the only way out of those zones was to bring your own car or be prepared for a "Falling Down" style 10 mile walk.

Yellow cabs (then and still) don't enter a massive buffer zone around regions where they might get a black guy as a fare even if you called, but Uber serves those areas reliably, 24/7.

comment 10y ago · link · parent

At least in the LA market, Uber's cheapest level of service appears to accept any car that can wedge in 5 adults. I've been picked up by sub-compacts and 20th century Corollas on UberX.

comment 10y ago · link · parent

I'm honestly a little surprised Uber and Lyft can't manage a duopoly, considering how many miles ahead of the nearest competitors they are and how many mutual enemies they have.

comment 10y ago · link · parent

I'll bite: sliding windows are a pain, if you hit them by accident they result in a weird self-DoS. Why not token bucket? It's a simpler algorithm to implement and less pain for the client.

If I'm unaware of these limits and use them up all at once, I'm locked out for a week instead of having to wait 1/rate to issue just one more.

comment 10y ago · link · parent

Perl 6 regexes are really awesome and I hope the eventually become the "standard" system in other environments the way other perlisms did.

comment 10y ago · link · parent

Judging from the responses, I'm not the only one that missed the subtlety on the first read. Good Job.

comment 10y ago · link · parent

Crack down on the businesses mass-importing slave labor from outside the US. Unskilled labor isn't being replaced by robots and outsourcing, it's being replaced by imported labor that can be kept in line with various legal and extra-legal threats.

comment 10y ago · link · parent

"Hear the Biography, not the ideology"

This is just another way of attacking someone else's position, with the added bonus of letting you be intolerably smug while you do it. You're not communicating in good faith unless you're willing to concede the possibility that the other person is actually right about something. At the very least you need to be able to entertain a thought without accepting it.

This, on the other hand, is a way of reconciling the fact that you obviously don't have a good reason to believe the things you do (otherwise, you wouldn't be threatened by the mere fact that someone disagrees with you) with your preference to believe that your views are in some meaningful way correct: obtain ammunition against the other by "discovering" the real reason they believe such obviously wrong things, then being the superior person by empathizing with this poor benighted creature.

comment 10y ago · link · parent

Nobody in a position to make the decision gains anything from lowering your salary. Reducing your pay doesn't solve a problem they have, but explaining how you don't work 10 hours a day like the employees of $BADMANAGER creates a problem they don't have.

Letting your devs goof off/work on the side while keeping the seat warm is easier for everyone.

comment 10y ago · link · parent

Planned obsolescence would be changing the base on the lamp every few years so that people would have to buy new fixtures when they can't buy replacement bulbs anymore. Author is not using that term correctly.

The actually interesting story is about the market failure where customers have no choice but to prefer the thing they can measure (bulb life vs cost) over the more important thing they can't measure (electricity cost over life of bulb).

comment 10y ago · link · parent

While I'm sure the US isn't losing sleep over Edrogan going away there's no reason for the US to have any role in this besides the standard assurances to the coup plotters that the US won't move against them.

Recently, even that hasn't been necessary, which has really damaged the "puppet strings" theory that was so popular a decade or more ago.

comment 10y ago · link · parent

I wonder what Tablizer is up to these days...

comment 10y ago · link · parent

He did articles for newspapers and webmagazines in the 00s, they had an Andy Rooney-ish "I hate people these days and everything they do" thing going.

comment 10y ago · link · parent

You're thinking that the evil AI will be some sort of nagging scold, "eat your vegetables or I'll tell you to eat your vegetables again". It's more likely that it'll be like Gawker: "eat your vegetables or I'll send an angry mob of idiots to burn your house down"

comment 10y ago · link · parent

Wonkblog recently posted about a study that claims to refute the "how doctors die" thing with evidence that doctors have roughly the same medical experience as everyone else when dying:

https://www.washingtonpost.com/news/wonk/wp/2016/06/06/how-d...

comment 10y ago · link · parent

Exactly. It's 2016 already, I expect to be happy and engaged sitting on my couch. Elevators are so 20th century.

comment 10y ago · link · parent

If you're ever in Philadelphia, don't miss out on the Mütter Museum. It's an experience you won't forget.

comment 10y ago · link · parent

This sort of strategy game AI in general works on a Dark Forest-ish theory, recursively evaluating what it would do if it were in the opponent's shoes to predict the reaction it will get to each possible move.

Since Go is zero-sum the only reasonable strategy is to be maximally malicious and assume the other guy is too.

comment 10y ago · link · parent

I agree that fab commoditization is on the horizon, and I'm inclined to go a little further than you on the effect: I think we're going to see (in maybe 20 years) an ASIC design golden age where custom and semi-custom designs become the norm in performance-sensitive applications, and demand drives up the scale and down the costs of tooling, expertise, and deployment.
1
151617
55