804 karma · joined February 17, 2016
He said the NHTSA made "no attempt at a dialog". What does he call that letter? Ridiculous.
Since the book is creative commons and freely available, I decided to download the book and have a look. Figure 8.1, the "automatic teller" example is just downright hilarious. The author presents the code and throws a challenge at the reader: "Easy to read? Tell me under what condition the user’s card gets eaten." Here's the code:
IF card is valid DO
IF card owner is valid DO
IF request withdrawal DO
IF authorization code is valid DO
query for amount
IF request <= current balance DO
IF withdrawal <= available cash DO
vend currency
debit account
ELSE
message
terminate session
ELSE
message
terminate session
ELSE
message
terminate session
ELSE
IF authorization code is valid DO
query for amount
accept envelope through hatch
credit account
ELSE
message
terminate session
ELSE
eat card
ELSE
message
END
(hopefully no transcription errors from copying out of the PDF…)Yes, it's easy. It gets eaten if the owner is not valid. Took one glance.
The thing that makes me laugh is that the example is contrived. This is the sort of thing code editors solve. Even though I could quickly glance at it and decipher the conditionals by eye, if I were working with this I'd still throw it into an editor that shows me code scope. That makes it trivial and removes any chance of error. This is a problem that has been solved.
I'm sure I will get a lot of responses saying I've missed the point, and yes I'm aware that I've dodged it, but the author acts like the problem of navigating nested conditionals is somehow impossible, which I think is ridiculous. Not only do lots people do it every day, not only are there tools that help us do so, but there's pretty much no way to exist in this world without depending on software that is written this way (ever looked at the source for GCC, to pick one example?) Not saying it's right, but it's clearly not a deadly problem.
It's also rather unbelievable to me that big companies like Apple haven't come down on them like a ton of bricks for such large-scale facilitation of trademark violation. It's good that they are finally going after one of the individual vendors, but that's whack-a-mole at the end of the day. How big does the problem have to get before there is pushback against Amazon itself?
I've come to believe that the real purpose of Burning Man is to have these kinds of meta-discussions. The actual gathering in the desert is nothing but a side effect.
Seriously, is there anyone left who isn't fully aware this is just a ploy to create more lock-in and entrenchment, disguised as charity?
I hope Apple releases Night Shift for macOS soon and then I can stop manually switching color profiles around, but for now it's not a big deal.
(See here for explanation: https://news.ycombinator.com/item?id=11939829)
What about those quantum effects that have recently been shown to potentially be part of brain activity:
https://www.sciencedaily.com/releases/2014/01/140116085105.h...
It's probably going to stay that way for the foreseeable future. As it stands right now, women have nearly all the power in heterosexual relationships, so they are able to see to it that progress is made in removing their own shackles while keeping them firmly in place on men. This is not some evil conspiracy, it's just a natural consequence of self-interest combined with a power imbalance. (Incidentally, one of the other rigid expectations of society is that this power imbalance is never discussed out in the open, so I fully expect a harsh negative reaction to this comment.)
The only things which could change this situation are technological emergences which directly impact the power dynamic: realistic sex robots, artificial wombs, AI strong enough to put everyone permanently out of work, etc. Some of these might balance things out to a more equal level, while some of them might tip the scales wildly in one direction or another. It remains to be seen how things will play out as technology advances, but it is doubtful that things will stay as they are now over the long term, even if they do in the near / foreseeable term.
(Oh, and it'd be nice if they did something about the potential for Thunderbolt viruses...)
Programmers make it all the time too, or at least something very similar. See all those people who are on the endless quest for the "perfect" language, which usually means one which allows for writing the shortest code, sometimes at a very high cognitive cost for very little payoff. No, I really don't want to do a massive amount of mental backflips just to save a few characters, thanks.
It's impossible to overstate just how bad it would be to allow Facebook to define what is and isn't "the internet" for billions of people. I'm continuously stunned that anyone would defend their efforts in this area.
I don't know about anyone else, but giving people Facebook-only service and calling it pretending that's the same as full internet access is not my idea of "more connected". Free or not, that's an insane level of lock-in.
https://www.youtube.com/playlist?list=PLHKuF51aPFaq-2UvU-HkS...
As well as all the follow-ups and side stories by the same person (check their channel for the rest).
However, it is similar in that Amazon should be exercising more control over their inventory and logistics, not to mention the case I am talking about is arguably much more egregious and much more within Amazon's control to fix. I think that makes it highly relevant as a comment to this story.
It's becoming more and more difficult to figure out who you are buying from, and as a result there are outright scams sitting on Amazon's store at this moment that they continue to do nothing about:
https://www.amazon.ca/ORIGINAL-MACBOOK-Magsafe-ADAPTER-CHARG...
See that? That's the infamous "dangerous" counterfeit Apple Macbook charger that made the rounds[1][2] a while back. Notice how it says "by Apple-Computers"? This is a scam. It's not by Apple. It's a dangerous fire-hazard knockoff. Yet it's tagged in a way that will no doubt mislead people into thinking it's safe and "official". People were pointing this out months ago[3], yet it's still there on Amazon's store, no doubt along with countless other dangerous misleadingly-branded ripoffs.
This is fraud, pure and simple. And Amazon continues to profit from it, right out in the open. It's disgusting.
[1] http://www.righto.com/2016/03/counterfeit-macbook-charger-teardown.html
[2] https://news.ycombinator.com/item?id=11325150
[3] https://news.ycombinator.com/item?id=11325464People young enough to have never been through a downturn in their professional career are usually in denial right up until the moment it happens. And the people who try to call the bubble early, as funny as it may be to make fun of them as is being done here, are usually the ones who have been through it before, see it coming early, and try to warn everyone, even though no one ever listens (too busy enjoying the party!)
According to Wikipedia[1], there are 56% more traffic fatalities annually than in the US. Compared to the UK, it's 472% more. I don't think it's merely a matter of perspective. The data indicates it's much more dangerous in absolute terms.
[1] https://en.wikipedia.org/wiki/List_of_countries_by_traffic-r...
Incidentally, that's pretty much how the language got started -- as a pre-processor add-on for plain C:
[1] http://stackoverflow.com/questions/19366134/what-does-object...
What do they mean "even" after controlling for those factors? Why wouldn't you control for those factors -- the comparison is meaningless otherwise.
To me, this is just further confirmation that Apple's product line is a complete mess. Just go to (apple.com/iphone/compare) or (apple.com/ipad/compare) and look at how ridiculous it is. Can anyone really tell me which one of those models is "best"? There is no clear winner -- the ones with the bigger screen sizes and storage capacity don't have the latest CPUs or other features. Anyone remember the simple "Good, Better, Best" models of Powerbooks?
It is starting to feel like Apple is overdue for a product line simplification, like when the four quadrant product grid was first introduced: