5,109 karma · joined Jun 27, 2012 (14y ago) · 1,639 submissions
comment 10y ago · link · parent
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
comment 10y ago · link · parent
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
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
* 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
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
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
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
Letting your devs goof off/work on the side while keeping the seat warm is easier for everyone.
comment 10y ago · link · parent
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
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
https://www.washingtonpost.com/news/wonk/wp/2016/06/06/how-d...
comment 10y ago · link · parent
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