skysight-inc/HackerNews huggingface dataset:
> After landing we discovered that checking in at the right time might get us further ahead in the line but we tried that, checking in within minutes of checkin opening and were still pretty far back in the lines.

"Minutes" isn't good enough. I travel Southwest with my wife all the time and we have never failed to get seats next to each other. You need to go the the check-in form 24 hours and 2-3 minutes before your flight, have your confirmation number and other info filled out and click "Check-in" the exact second the clock turns over to 24 hours before your flight. That will probably get you a low-numbered B or a high-numbered A boarding group.
Sure, but that can happen in any system. The visually loud ads are unique to the MTA.
> is what's wrong with Silicon Valley

this.
> how many people get enough matches to get any statistically useful information? The people that need this the most are the least likely to benefit.

Exactly. I totally agree with that.
Why Spotify wants some Blockchain; how music industry Blockchain dreams work
> There cannot be any conflict between browser and web developer. If we have to fight and hack one another, we're both failing.

It sounds like you're understanding is wrong, You're css is a polite suggestion to the browser, nothing more.

If you want pixel perfect rendering then publish PDF's.
GOOG and GOOGL are now shares in Alphabet. [1]

We're all GOOG shareholders if we have a 401(k) with a large-cap index fund. As a GOOG shareholder, I want an Android phone that doesn't run out of battery after 8 hours of typical use, but I'm probably not gonna get it.

1. https://finance.yahoo.com/quote/GOOG?p=^GOOG
I think critical analysis of an inside joke is very interesting. Particularly in this case, where it's a widespread phenomenon where not everyone will be aware of the history or origin.
The only argument that matters for legalizing the recreational use of hard drugs is bodily autonomy.

There may be other arguments to criminalize the distribution of hard drugs. But the idea that you can be penalized for putting some substance into your own body by your own volition outright stinks of using law to enforce morals.
Train people well enough
To be clearer, what I was saying is that you can't predict how much memory you'll need to allocate for a GraphQL response given the particular query you've made, because there's no way to get the server to give you a guarantee that all the field types are scalars or length-limited strings (or arrays of known-typed maps whose members are all scalars or length-limited strings, etc.)

In REST, you can, by Accept-ing only media-types that guarantee such a condition. But there's no way to annotate the "function calls" [field-accessors-with-attributes] that appear within a GraphQL request, to force the GraphQL backend to act in a similar way to a web server with regards to media types of associated fields. You can't say "for this response field, I only Accept these types", and then have the GraphQL backend realize that its response would be unwanted and throw away its work, sending back a 406 error instead.
> Since this has never been done - to my knowledge - there must be something wrong with it. But I wonder what it is?

Sure it has. Look at concert tickets. You are basically talking about introducing the scalper into the airline ticket market.

Try to get any tickets to a major act at anything approaching face price - especially for the prime seats. You can't do it. The scalpers always beat you to it.

Now imagine, the only seats left after the scalpers get through are the tickets in the way back.

Now lets just throw in the mix handling flight changes. Because from the airlines' perspective every flight is full. You could never book through the airline....

.... I could go on and on...

But yeah .... bad idea (sorry!)
One of the big gains they still have to make IIRC is providing partial compilation. That will be significant with the good developer practice of breaking source code into multiple files.
Windows : Not Ready For The Desktop

https://andrewhickey.info/2012/04/07/windows-not-ready-for-t...

Most Windows users never install Windows.
Prev HN Comments:

https://news.ycombinator.com/item?id=12060787
counter point:

i prefer southwest because there's little incentive to fight for position. They give you a complete ordering, so you can wait until the last minute to line up.

(also as others mentioned, it's faster which is great too)

If you care so much about an aisle seat, get early check in, it's $15.
Seems like someone never got a match...
That's a fantastic article, thank you. Favorite bit:

"He is probably best known for an encounter with Jimmy Carter’s Secret Service detail in 2001. While Carter was at dinner, Robbins struck up a conversation with several of his Secret Service men. Within a few minutes, he had emptied the agents’ pockets of pretty much everything but their guns. Robbins brandished a copy of Carter’s itinerary, and when an agent snatched it back he said, “You don’t have the authorization to see that!” When the agent felt for his badge, Robbins produced it and handed it back. Then he turned to the head of the detail and handed him his watch, his badge, and the keys to the Carter motorcade. "
I looked at mozilla/activity-stream a bit to try to find some examples of fathom usage, but didn't find any. Then I figured out that it doesn't depend directly on fathom-web, it depends on page-metadata-parser (which then depends on fathom-web).

Here's the code in that project which uses Fathom: https://github.com/mozilla/page-metadata-parser/blob/master/...
Personally, I give closures in Rust to be much less awkward than lambdas in C++. What issues do you have with them?
The seat upgrade procedure is pretty nice. $20 for priority boarding on southwest vs. multiple times that for a "economy deluxe" seat on other airlines? Sign me up.
Right, but that process gives the lie to "at will" employment.
It certainly takes the wind out of the Officer-Barbradyesque "Move along people! Nothing to see here!" we got from the Ec 10 auditor upthread.
According to The Verge article on Levandowski, that is why he left GoogleX/Waymo: they wouldn't ship. And he was too outspoken to be in charge of Google X self-driving.
The scientists who are directly involved with the mission get first crack at the data. It is an outreach/education decision to release raw images essentially immediately. That decision is made on a mission-by-mission and instrument-by-instrument basis. The mission scientists certainly have near real time processing for most of the correction steps applied, though there may be some fine tuning before the final archival release. The big reason for not sharing the same data publicly is to keep a lock on first publication of scientific results.
Since Dropbox is making a big push into enterprise, they are hiring a ton of high touch enterprise sales people - who can't scale in the same way an engineer can.
At a high enough price, you encourage exactly those conspiracies.
People are price-sensitive (will always buy the cheapest option) and then complain when they don't get the expensive service. It is incredibly difficult to explain to someone: "You are not getting to your daughter's wedding because reasons." ...and nobody wins that argument when it happens.

Apart from removing over-booking completely, the Delta "pre-blind-auction" is the best choice. All tickets are sold at their regular prices (no random discounts), and day-of people are able to decide if they are willing to be bumped (ideally: by how long) as well as the price it would take.

There's a huge difference in "I'll take $1000 to be bumped to a later flight today" and "I'll take $1000 to be bumped to a flight that's two days later" (depending on the route, that is something that can happen).

It's a delicate balance between customer service, incentives, and profit, and "guaranteed v. standby" pretty clearly fails.
Yes, the voucher thing is nonsense. I've been on overbooked flights before where I could have easily taken the next flight instead. I never volunteer, because the vouchers are worthless to me. Offer me cash and I'll often be first in line.
Waymo is a wholly-owned subsidiary; there's not going to be much distinction here. Not that I agree with the parent poster: the equity ownership is unlikely to be relevant to the case. People have successfully sued their own corporations and other bizarre legal actions.
Now repeat this for every article about anything that requires the minutest amount of expertise, and you have the nth reason why the general public is so dangerously misinformed about... well, everything.

I've recently been enjoying https://theconversation.com/ -- all articles are written by experts in the field they are about...
Oh wow! I was trying to write this myself last week, and got about halfway done before I realized that my credit card rewards booking system gave me different prices than Google :(

Major kudos on implementing the AirBNB search as well!
I'd say worthiness of such algorithms and "fancy" curves from having the large data set of active people to test and learn from.
I'm glad you said this. There's an async cargo cult going on, where every service must be written in "performant" async code, without knowing the actual resource and load requirements of an application.

From the last benchmark I ran [1] async IO was insignificantly faster than thread-per-connection blocking IO in terms of latency, and marginally faster only after we hit a large number of clients.

Async IO doesn't necessarily make your code faster, it just makes it difficult to read.

[1] http://byteworm.com/evidence-based-research/2017/03/04/compa...
When I was ​at Google, I kept hearing that California laws in particular are not employee-friendly and that you should ask for an opinion from a personal lawyer.

As to why this hard stance, I always suspected that sweeping that kind of stuff under the rug would have opened the company to a bunch of annoying lawsuits from shareholders and/or ambulance chasers for something along the lines of "not enforcing the company's rights". All it would have taken was just one successful side project.

Also note that, even if the stance was "Google owns it by default", lots of projects were assigned back (https://opensource.google.com/docs/iarc/). The IARC process leaves an electronic trail showing that a project was subject to at least some kind of due diligence (even if it later pockets the employee a lot of money that at some point Google or shareholders could have very hypothetically fought in court for). Or, conversely, the lack of an application might shift the legal burden onto the employee that didn't declare everything as required.
Again, the above was just all speculation on my part.
They could have just used a rental car or a taxi. Airline crews don't have to travel by air. The amount of inflexibility displayed by United is breathtaking.
Top 5 Drones with VR Headset Compatibility
std::variant with c++17, but on linux at least you need to install gcc from git to have access to it so far.

boost::variant otherwise, but depending on the types used (if there aren't any that are nothrow default constructible) it allocates on assignment.

If you just want a result type and not a more general "rust enum", this repository does it (while only allocating space for the larger, I think) https://github.com/oktal/result/

And I don't think there's any reason you couldn't implement an equivalent of std::variant for previous versions of C++, I'm just not aware of any.
>But if you show the doctor a fake drivers license you're set, right?

Right. Fake ID and fake insurance card would work just fine.
"Tinder made sure we had all the resources we needed: hackathon contenders received sleeping masks and first dibs on all of of the couches..."

Yeah,that's all your engineers need alright. Apparently clean clothes and a good nights sleep is not one of them.
If he was deceiving Google from the very beginning, why didn't Google find it out earlier and fired him? Google bought more than one companies he co-founded or was heavily involved with. How did not Google find that he was involved with these companies and there was obvious conflicts of interests there.
China, actually.
I bought a medium sized package of Schick Injector razor blades about five years ago. At this rate, that might be a lifetime supply - they don't really get dull, and you can use them almost forever.

Granted, I like my beard and don't shave daily, but even when I was keeping up the same routine and using Gilette-style cartridge razor blades, I was burning through them much faster.
Great interview of Nick Sand:
https://www.youtube.com/watch?v=WxiK827_rX8

parting words: "If we can keep moving from truth to love to beauty to preciousness, everything around us becomes sacred"
I second that, it's extremely powerful, but not the tool I would reach for a quick last-minute presentation, as well.
I'd be utterly shocked if it ever required more than, say, $2,000 to buy enough seats.

The trick, of course, is that it has to be actual United States Dollars, not this worthless fun money voucher stuff they usually offer.
Do you really think he should be in prison for intellectual property infringement?
Twitter User Sample (Random sample of 400,000 Twitter accounts with metadata)
Lots of languages with whitespace significance have no ergonomic issues with functional style. Haskell and the ML family come to mind.
Code should be explicit. There should be no "in between the lines" and the browser should not be guessing what the developer or consumer wants, let alone override what was explicitly declared.

Then having to "politely suggest" max-height: 1000000px is not the right conversation.
WOW! My goal is to develop niche apps for the music professional market so I have a lot of old ideas and mountains of failed designs to go on when I say those two apps are fantastic. In composition courses we used to make sketches just like that to start a work, as well as make density graphs for Penderecki and company.

All I can say is I wish you the best, I think you have some great designs there.
SHURE ASIA CELEBRATES THE FIRST BATCH OF CERTIFIED EXPERTS
Glad to know it's actually worth watching. I really wanted a print of their movie poster, but for whatever reason they only made them in 11 x 17:
http://belhistory.weebly.com/uploads/1/9/0/7/19079917/158004...
i heard he'll be working on a new self-driving car initiative called RADIL. not LIDAR at all.
It's great to see something like this because ethical banking is definitely necessary if we want a future that is desirable.
Yes, I am appalled by all the amateur mistakes that I read about.

But one can't rely just on Tor. CMU's exploit of the relay early bug, and cooperation with the FBI, pwned a few onion services. That didn't depend on any misconfiguration of the onion services that got pwned. The only defense would have been using private entry guards and/or nested VPN chains between the onion server and its guards. And that's not something that's widely known outside the darknet community.

Your point about "abandoned it as soon as it was up" is a good one, though :) It's totally nontrivial to get around adversaries sniffing at those network edges ;)
The problem is that even the Titan x drowns when doing real time inference, so a mobile gpu beating it without low precision is very unlikely.
Here's an article with some more details on him from 2013.

http://www.newyorker.com/magazine/2013/11/25/auto-correct
> If it is as trivially costly to find a new job or a different appartment as finding another restaurant, then consumers have a better bargaining position.

I don't now where you live, but where I do the next restaurant doesn't have 30-100+ people[1] competing for the same seat, the hostess doesn't run a credit check, and I'm not asked for a multiple of my meal-cost as a deposit.

It would appear to follow that

> then consumers have a better bargaining position

doesn't happen.

And...

> The alternative is not homelessness, starvation, or joblessness

We have homeless folks, we have jobless folks, and while I don't think many people outright starve to death in the U.S., we do have chronic malnourishment.

I'd like to ask you to consider how that evidence from the real world should provide feedback to your economic model of the reality in question.

This is one of my biggest frustrations with econ[2]. People mistake the map for the terrain in every field, but econ seems to positively fetishize doing it.

[1] I have personally witnessed over 100 people at an open house for a single apartment. Amazingly to me, my then-partner and I got it.

[2] Actually, it isn't all of econ - one school, in particular, seems to be highly susceptible to this mistake.
A single dysfunctional manager can do the trick, also -- or a bad personality interaction with a manager.
And unsafe is tagged. You don't have to look at the entire codebase, just the few unsafe blocks. Those bugs are often subtle. Any way to restrict where to look is super helpful.
The pricing nature of an airline seat is such that the closer to the flight time the more expensive the ticket is. Consumers have been forced to pay more under this model for the longest time. Buying back seats due to overbooking should follow the same rule. Buying back seats at the time of flight departure should cost the most. If airlines follow their own pricing model, they won't have a problem. It's only when they try to bend the rules and use forces to get back those seats that people got upset.
Show HN: Universal Apps with React Native
There are some people who remain open to the possibility that he never actually believed that people were being assassinated. It seemed to me that the whole assassination thing was a barely believable backstory used for a shakedown. Ulbricht conceivably paid the ransom to prevent the leak of user data, knowing full well that nobody was being killed. I came to this conclusion after reading a lot about this story; not just headlines (I did not read this article however).

I'm just explaining that many people are not just "glossing over" that. But who knows what really happened.

In the event that he thought someone really was being killed, it doesn't detract from the motivations he had in the beginning. Power corrupts, he created a monster, etc.
If you miss a flight they cancel the whole thing, including the return flight. Bastards.
My impression from working at Google was that lack of respect for property is unfortunately part of Google's culture. I've met this mindset on many occasions, so this whole lawsuit, as well as the fact that Levandowski was allowed to rise high at the company, doesn't surprise me a bit. It's just that in this case it was one of their own engineers using it against them, for a change.
Umm, that's a criminal rights issue. This is a civil case. The rules are quite different.

There is no assumption of innocence here.
When things such as the borrow checker are so heavily built in to the language, I find it hard to to see how Rust isn't ultimately intended to do memory safety. Obviously it does other things, and I'm sure it has some cool ideas in there. But I have a hard time seeing how it's a mischaracterization of Rust to say that memory safety is kind of it's thing.
It would be interesting to compare common using distributions.
It's not about IQ, it's about knowing how to learn. Being able to teach yourself something is a skill, which most people don't realise. Knowing how to find information isn't something you're born with.
If just a portion of what is claimed comes out as true there will be a criminal case as well. This sounds orders of magnitude more serious than what Sergey Aleynikov was claimed to have done to Goldman Sachs and he is about ready to be put in jail.
Again here the word "safety" starts to get rather muddy. What Rust calls safe is not what Ada calls safe. I'd rather be specific about what we're talking about.

Memory safety is not, itself, program correctness. It's just one way programs can go wrong.
> [Tinder] has since been used by chauvinists to prey on women.

Um, how about all the women who use it to 'prey' on men? Who writes this drivel?
Google Container Engine reporting issues – affecting node-pool creations
I am in a weird position in that I run the only dev shop in Key West. So while we have connection to other developers there are only about 15 of us for a 200 mile radius.

Before that I worked remote for seven years so literally my entire network consist of 15 guys in Key West and a bunch of people in Austin and the valley. Sometime it can feel isolating, but their are trade-offs like living in a Caribbean paradise.
> We need a major IoT meltdown to get rid of it, unfortunately it won't happen until the industry lets UNIX clones go.

Rust isn't going to stop IoT makers from leaving ports open and default passwords set.
You can do RAII without constructors (e.g. Rust)
The same thing used to happen non-stop about bitcoin, every day new articles that it was going to takeover the world and articles saying it was doomed, for years. None of the speculation amounted to anything. It was just bored people who invested early or missed out getting excited or angry.
> The amount of time I spend writing for loop boilerplate alone is worth the price of admission.

This can be solved with a templating system, not a new language.
Um...wtf? Are you replying to the right post? What news? It was never a secret, my cousin always knew he was adopted and nobody was ever sad.

The situation is exactly like any other adoption just was informal in that it didn't involve the government. It worked out very well for everyone involved. Adoption happens every single day.
They didn't even hit that limit before they sent in the goons in this case, though.
From Google's official opensource documentation on IARC[0]: We don’t approve every project submitted through this process, but historically we’ve been able to rapidly approve the vast majority of them.

I personally have had one IARC approved and one denied (and something like a dozen opensource launches), but from what I've seen, the above statement is accurate.

[0] https://opensource.google.com/docs/iarc/
ServiceStack's solution for this is to generate TypeScript DTOs from Server DTO classes for use with its generic JSON Service Client to enable its end-to-end Typed API:

http://docs.servicestack.net/typescript-add-servicestack-ref...

Disclaimer I work for ServiceStack
So you need to lie in your error messages and come up with a message that will get emailed to you.

How about. "Forbidden. Please request access by following this link:
http://internal/?requestguid=GUID&custn=CUSTNAME

Your request will be handled within 24 hours."

That link?

If they click the link - which they will - you have all the information they should email you (but don't.) Because you told us all you need is the GUID.

Remember: Error messages are literally an API between you and the human. If the human isn't doing what you want, you need to debug your API code until the human is doing what you want. The human is like a device! It might be flaky, but you're stuck with it. So debug your API code (the error message) until you work around the flaky humans.
Unless you're targeted by expert adversaries such as the NSA, VirtualBox or KVM are arguably enough. Qubes will give you stronger defense against guest-host breakout.
Airlines would set higher prices in the first place.
In fairness, the biggest problems in life are those where something is wrong but you can't clearly define what it is.

Once it reaches the point where the problem has been clearly isolated and the soliton path identified, I usually don't count it as a problem anymore.
Scientists Just Transplanted Small Rat Heads onto Bigger Rats