skysight-inc/HackerNews huggingface dataset:
How do you tell the load balancer to stop sending traffic? I've done two ways in previous jobs:

- Refuse all new connections. If you can change the program, this can be done by closing the listening socket (I think) , but I just installed an iptables rule.

- use the load balancer's API to offline the server(at the time it was F5).

I liked the first solution because it was load balancer agnostic, but required retries by the load balancer or client to avoid disruptions. Curious to hear what other people did.
Proof of what? That Google includes your Gmail, Gmail attachments, Photos, Videos, Music, Drive files, etc in their data exports.
if there is a forest fire and all crops were lost, how would futures help the farmer?

Futures let farmer lock-in a sell price for the crops, but without any crops due to the fire, the sell price wouldn't matter
Faces, DNA, and relationships aren’t particularly new data points. The government has my passport photo, DNA (military record), and can check out my tax returns, Facebook, Twitter, etc to see who my wife, children, business partners, coworkers, and other family are.

The fundamental issue with their new database is that some analysis will be done on all of that data, along with criminal and public records, to characterize someone and store the result in the database. At that point, you’ve been classified and good luck getting out of whatever box they put you in (just see no fly lists for an example).

Now that you’re on some list, it snowballs. Every encounter with agents, every flight, every new relationship, any odd transaction will just make it worse and solidify how much of a threat/person of interest/terrorist/extremist you are.

Source: I’m a former intelligence analyst.
Correct me if I’m wrong, but wasn’t PRISM an endpoint for companies to comply with legally mandated warrants? I find it very hard to fault them for reducing their compliance burden - it was either have employees pull that data or have a computer do it. The data is getting pulled either way.
Employee Burnout in the Tech Industry
> people who paid for it the most

If we are talking about equal sacrifice, they did not pay the most, they paid as much as anyone else.

> hen someone pays a lot of money into federal treasury - nil

Why should they get any praise for doing their share? Or everyone should get praise (which I support). The premise that someone is somehow superior for doing their fair share is fallacious. They are not aristocrats condescending to help the poor; they are merely pulling their weight.

> are being called thieves and abusers of the system and that they should give more.

This is a strawman often used by advocates of low tax on the wealthy to, in a standard rhetorical technique, somehow portray themselves as victims - which is quite an incredible, cynical, and frankly embarrassing stretch.

In fact, consensus has supported decreasing taxes for the wealthy, which is what has happened. Also, even those who oppose it, calling names is rare, IME. I'm sure there are some out there, but given that it's just a portion of one side of the debate, it's not many. If anyone on HN is using those words, I don't recall it.

> While praise (if any) goes towards that ambiguous system.

I'm not sure what's ambiguous about it at all.
Perhaps that is true, but some incremental steps have the possibility of making driving infinitely better.

Imagine cars that refuse to tailgate, drive at excessive speed, drive with drowsy owners, drive on the right-hand side of the road in non-emergency situations, skip red traffic lights, etc...
Yes it has value, but it also has cost. If Apple were to begin monetizing user data, their brand would be impacted and users would be less willing to purchase products from them. That has serious bottom line consequence, and Apple has spent years (decades!) building a particular brand image that this would undermine.

Re: company's soul, companies are made of individuals, and if those individuals are opposed to the companies practices, the company can lose those people. Apple has a particularly well-defined and long lasting culture, and it'd be a huge change to who they are and who works there. Talent+brand risk the kind of risk a business wouldn't take unless it was a last resort. Sure it could happen, but there's a lot of more realistic hypotheticals to ponder in the world.
23 months ago, she was banned for 2 years from running a lab. Coincidence? https://www.engadget.com/2016/07/08/theranos-ceo-elizabeth-h...
You need to let air through into the bottle to replace the volume of ejected water. No air should ideally be entering the straw.
I think better evidence is just to point out what Apple is doing in China when principles and money go head to head. Apple has acquiesced to censorship of VPN apps by the government as well as turned over iCloud to be hosted on servers owned in part by the PLA.

Apple could have refused, and gotten banned from the domestic Chinese market, but they made a decision to damage the liberties and privacy of their customers there, because the market is worth a lot to them.

Cook even IIRC, humiliated himself by praising the CP management of the internet in China at a conference there.

Edit, QUOTE:
"During his speech, Cook declared that China’s vision “is a vision we at Apple share.”

“The theme of this conference — developing a digital economy for openness and shared benefits — is a vision we at Apple share,” he proclaimed. “We are proud to have worked alongside many of our partners in China to help build a community that will join a common future in cyberspace.”"
Doesn't this approach have the same issue as trying to correlate violent video games with actual violence?
Sure, but for now they are conducting themselves pretty well. I'll deal with the future if it happens.
When Apple introduced Screen Time in this past keynote, I was pretty stoked about it, but not about Screen Time itself, but rather: when it seems every large corporation's product or application out there is tailored for more and more consumption (think Spotify, Snapchat, Netflix, Facebook, etc), where they disregard the mental well-being of their consumers, anything that tries to limit or stop that seems particularly grand, in my opinion.
You wrote..

> GraphQL, like SQL, doesn't have any place for naming the use-case of a request

This is not true, see the docs:

> The operation name is a meaningful and explicit name for your operation. It can be very useful for debugging and server-side logging reasons

https://graphql.org/learn/queries/

You wrote...

> There is no inherent reason why a service cannot expose an SQL API

GraphQL let's you query across backends, such as relational (SQL), graph databases, REST APIs, it is backend agnostic. You're comparing apples to oranges, SQL & GraphQL are different abstractions.
I've heard that. In your experience, does that match the hypothesis that it's just a tactic of the right to divide voters - turn the working class against each other (on racial and rural-urban lines too)?
So its more work to replace them I guess.
Yeah, weird.

Also, Yu Darvish got plenty of shit in his country before he became an elite pitcher in NPB - his father is Iranian. It wasn't just being a foreigner, Yu was full blooded Japanese, born there and everything.
Cara Bermain Situs Judi Online Tanpa Deposit / Tanpa Uang Sendiri
I realize this is a silly idea, but would forming a religion around privacy ever provide protection from this sort of thing?
Ultimately if consumers will support these business models, there will always be a Bezos willing to sell to them, at whatever the human cost.

Slap some pretty marketing around your product and most consumers are blissfully ignorant. Certainly helped by global-scale supply chains that add a fog of war.

Even those who are aware of it, in many cases, fall prey to "that's a pity" thinking without actually changing their own habits. Like a crowd of folks walking by litter - many shake their heads, but few actually pick it up.

Have you omitted all such products from your own life? Good for you if so, but few of us can make such a claim.
I always figured the solution to this problem was buses. Take a bus and drive it alongside the running train, then merge it sideways into a C-shaped train car frame that accepts it and lifts it up. Now the bus is just another train car. At another point along the route, it can be set down, and un-merge back out again, and ply the streets again.
Yeah, and this is strange. Why would Apple so strongly resist pressure from the FBI, and then cave to Chinese authorities? For the Chinese case, there was language about respecting nations' laws. So in the US case, were they arguing on Constitutional grounds?
Can we improve their working conditions first and get philosophical afterwards?
I don't think three examples are representative of the wealthy overall. I didn't say 'no rich get richer'; beyond a doubt, some do - and that's fine and fully compatible with meritocracy. The question is, what is the overall trend? Is there social mobility, opportunity and meritocracy, or aristocratic power and inheritence?
You could have a REST API that requires 100s of query params to get at some simple data, or a graphQL API which exposes complex data serialized into a single field. Both can be as easy or as hard to query as you want them to be.
That’s not true. We knew about the warming effect of CO2 since 1897 or earlier and over 100 years ago, we knew that continual burning of coal and other fossil fuels would cause considerable warming.
Good point. So with enough pressure in the US, they'd fold.
I mean standard dataset and standard model, for example YOLO v2 on COCO. Say 1950X vs 1080Ti.
> what is going on in an infinitesimal region around it

A "field" is just a name for spooky action at a distance. It's a description, not an explanation. There is no mechanical contact, only "locality" of a field.

Or are you saying that fields are really mediated by particles... so there is mechanical contact?
That website is straight out of 2003 (not that there's anything wrong with that)
I once had a temp job where myself and a few other temps were assigned to alphabetize a stack of about a thousand folders.
I managed to get everyone to execute a merge sort, and it ended up being pretty efficient.
I recognize what I said was a *little vague, and definitely was not constructive. (sorry)
You made a good point about how you choose your products, I can't argue against the fact that you weight privacy as a factor in buying from Apple. However, I don't see that Apple protects your privacy enough that it should even be a factor. Sure they aren't exploiting your data now, but Apple still stores a bit of data about you forever. (https://www.apple.com/legal/privacy/en-ww/) I don't think you get very much control over it either. How do you not know a struggling Apple in 3 or 4 years may not be willing to exploit your data?
Who's wealth are you revering to, those that own the knowledge and institutions,
or those that do the work ? In modern democracies we used to try and, what do
you know, 'democratise' wealth. In the last year 81% of the wealth created went
to 1% of people. This is why capitalism is failing humanity, and why it will be
rejected.

The vast bulk of 'wealth' is generated by perpetual rent-seeking by those that
maintain artificial scarcity. There are exceptions of course, and most of those
are to be found in new technologically driven enterprises.
Tesla might have achieved battery energy density and cost breakthroughs
Who still uses flash? I thought it went the way of the Dodo years ago.
If the concern is about newcomers not getting a fair shake, why not just assess a one-time wealth tax on VCs with over a certain net worth and use some of it to establish a fund to lend to underrepresented founders? The current president of the US proposed a one-off 14.75% wealth tax on estates over $10 million. Maybe he should dust that one off.
Problem is that capital gains aren’t all gains, they include inflation. I’m all for a transition to ordinary income if you index the basis of investments to the inflation rate.
The math is pretty simple, and this should be implemented tomorrow. If we look at SF, based on Case-Schiller, there has been 5.7x appreciation since 1987. If you bought for $200k, your house is now worth $1.14 million, and you have paid $84k in tax total. Under this plan, you could still pay the $84k total over 31 years, and then if you sell for a cool $940k profit, you owe about $116k in deferred taxes, assuming 4% interest.
> I’m in China, I use Apple for privacy and a foreign SIM so my data never touches any servers here.

Woah! How does that work? Are you close enough to the border to use non-Chinese cell towers?
Inca civilization was better at skull surgery than Civil War doctors
Right, the dentists have been fighting back because they would rather see people die of infections than let a low cost provider jeopardize their salary.

Physically sickening.
>PRISM is a lawful program

This is, at the very least, debatable: https://en.wikipedia.org/wiki/PRISM_(surveillance_program)#A...
I know this is a stupid question, and please forgive me for asking it... but just how wide do monitors need to get or how high do resolutions need to go before longer lines become reasonable?
Here's a rewording: all of us should be very careful not to put words in others mouths, especially when doing so with little knowledge and understanding. That's it.

It just so happens that I know Richard's perspectives very well. I've not only read most of his writings, heard/watched several recordings of his, and heard him speak half a dozen times… I've also had several conversations with him directly and also with several people who know him well. So, I have a pretty good understanding of his views. It's only in that light that I'm able to see how rash and poorly-thought-out many of the other people's comments are when they make bold and quite inaccurate assertions about what and how Richard thinks.

It's not that you should accept my authority in some sort of logical way that would prove anything I'm saying as true. It's just incidental that I have knowledge in this case that allows me to recognize gross intellectual sloppiness in others in this topic. Asking you to blindly accept my claims about Richard would be closer to appeal-to-authority. But my point is that I want to be wary not to be sloppy the way I see others being. It's a commentary about being overconfident in general.

What I'm saying in my meta comment is that there's a risk that I could or even have done the same sloppiness in describing other people who I don't really understand as well. I could imagine writing some dismissive caricature of someone I have negative impression of, such as say Jeff Sessions, for example. And I would be better not to claim to know anything there. All I really know about Sessions is a few bits of impressions from a small number of places I've seen reference to him in the news… If I had to bet, I'd go with my impressions, but it would be careless of me to weigh in with some assertion about what he thinks in the context of some comment-section on some news. I have no real knowledge there, and at most should describe my impressions and ask questions rather than make bold claims about what Sessions believes.
> If we are talking about equal sacrifice, they did not pay the most, they paid as much as anyone else.

I am talking in absolute numbers. There is plenty of research on who is paying the most taxes. A just random result from google - http://www.pewresearch.org/fact-tank/2017/10/06/a-closer-loo...

" A Pew Research Center analysis of IRS data from 2015, the most recent available, shows that taxpayers with incomes of $200,000 or more paid well over half (58.8%) of federal income taxes, though they accounted for only 4.5% of all returns filed (6.8% of all taxable returns)."
Why not go further and tax other forms of wealth. Maybe a 1% wealth tax on everything beyond some minimum amount (say $50k/person.)
Yes rush hour driving (and many other modern behaviors) is a form of collective insanity,
however this behavior is individually completely rational.
So each individual is doing a great job maximizing their own utility, yet the result tends to be totally unoptimal.

Western countries appear more and more dysfunctional as an emerging result of their citizens inability to collectively take action.
The illness is not in the mind, its between the minds. It is a social illness.
So tesla has emergency braking system now? I paid for auto pilot
This is in the docs.

https://graphql.org/learn/serving-over-http/

> [a] query might result in some data and some errors, and those should be returned in a JSON object of the form {data: {}, errors: [] }

Also checkout https://github.com/kadirahq/graphql-errors which exposes a standard `path` field for each error, so the client has a standard way to know which part of the query resulted in an error.

If a mutation fails, for example a bank withdrawal fails because of insufficient funds, that is not necessarily an "error". To quote "code complete":

> Exceptions should be reserved for what's truly exceptional.

I'd send a mutation like this:

withdrawFunds($amount: 100, $currency: "USD") {
didSucceed
didOverdraft
canRetry
}

The client can control exactly which field(s) to request, or simply fire & forget if it does not care if the transaction went through. If you change your mind later, you can add & deprecate fields, in the true spirit of graphQL.

In the case you shove arbitrary error codes in strings, you lose the benefits graphQL brings, like tracking usage of a field, self documenting & introspection, solving for over/under fetching, and the ability to revise these codes without versioning your mutations.
This is the most likely scenario I think. Border agents will ask very probing questions to try and uncover contradictions in your story
I would say it is still early days for VR. I was a skeptic at first till I got my own VR rig, now I'm convinced it's the future even if I don't know what time-frame that is going to be. As for Google glass it was just a little ahead of it's time and it's even gaining traction on the enterprise side.
“Never send a Human to do a Machine’s job” - Agent Smith, The Matrix.
Do Cold Calling Services for B2B Sales Work?
It would be easier to vote out the asswipes who promote this kind of agenda.
It never occurred to me to be desirable to mix alcohol and working. I don't drink much but if i choose to have a pint it is as a reward after finishing work. It's like a ritual that delineates clearly that work has finished and it's time to unwind. That feeling is practically the best thing about the pint.
Thanks to the Constitution that would be a three part effort but I have no doubt that it’s doable in today’s America. With one more Supreme Court vacancy Trump could surely do it.
Imagine how much more heated debates about the accuracy of the government CPI calculation would be if the number formed the basis of a bunch of people's tax bills. Oh man oh man!
DNA records would be new for the vast majority of Americans (i.e. non-veteran civilians).
I'm familiar with the theory, but I think economic theories that only looks to maximize economic productivity while ignoring philosophical or ethical concerns are idiotic.

If you don't take into account what is being produced and why, you are left with a line of tautological reasoning that more productivity is good because more productivity is good.

The reason this is idiotic because there are a lot of ways to maximize productivity where the vast majority of people do not benefit. Not only that, but there is absolutely no reason that maximizing the productiveness of an economy results in maximum utility (in the philosophical sense).

Even if you could demonstrate that economic productivity was positively correlated with (philosophical) utility, you'd have absolutely no guarantee that utility would be distributed equitably. You could literally have 1 super happy person with everyone else on the planet enslaved in perpetual (productive) agony.

That's even before you get into the fact that maximizing production now probably ends up creating a hellscape of a planet tomorrow.

Of course you could argue that you can account for all of this using negative externalities. In that case you might as well tax capital gains to account for the negative externalities. I suppose you could tax something else, like lifetime earnings, but the point is I feel comfortable making the claim that not taxing capital gains is idiotic.
In corporate Japan, its even numbered too. Software Division 1, 2, 3, 4, 5

Platoon, Company, Battalion 1, 2, 3, 4, 5 etc.

Of course the goal is to get into Division 1, as its the most prestigious.
Got rid of them years ago. Never looked back.

Comments require moderating. If you're not prepared to do that, outsource it to somewhere like reddit or HN where others can do it for you, and do it better.

But mostly I got rid of it because my blog is about _opinions_. I have an opinion. And the only thing you'll get by allowing comments, is someone underneath your delightful article telling you your opinion is wrong.
I think “the right” flames it up, but my family was very liberal, even socialist, yet still felt this way. When the taxman takes so much it feels he’s stealing from your children’s mouths you’re gonna complain.

Fundamentally people in this situation, in my experience, don’t really care who is in power because they see them all as the same sort of enemy: the rich and powerful oppressing the working poor and pandering to the destitude so they look good and charitable on paper.

This is hard to imagine if you’ve never been in a situation where a 5% discount on a gallon of milk is incentive enough to go to a different supermarket for this week’s grocery run.
Just a couple of weeks ago[1]. The fiber wasn't run properly and got pinched between some innerduct and the conduit edge.

Had 20+db of loss while it was pinched, but after unpinching it and massaging the kink out, it went right back to normal.

[1] https://imgur.com/a/bHX6eRJ
Aren't employees get a same long-term capital taxation treatment on profits from their shares for their risk of taking part of the company in exchange for their time?
LOL. You actually think voting isn't gerrymandered in every way, shape and form possible?
Dot dot is range notation:
https://doc.rust-lang.org/rust-by-example/flow_control/for.h...

Here's the reference for the drain() method on vectors which takes the range argument:
https://doc.rust-lang.org/rust-by-example/flow_control/for.h...

Altogether, it sounds like (I haven't read the whole thing) it's supposed to drain from the current row until the end, including every row in between.
Check Fujistu, NEC, Hitachi and some game companies,
As long as you are a programmer, I believe the median is around 6 million yen(56 grand), with highest no more than 10 million(9 grand).
Do people still use G+? :O
:) twitter
And yet national ID cards are still out of the question.
Building the Geekcreit RGB LED Gravity Sensor Ambient Light Kit
>using the Godot engine

it's at http://godotengine.org/
5 Unexpected Uses for a Free Phone Call
Autopilot would have worked fine if the lane markings were properly painted. No one will blame Caltrans terrible maintenance of 101. As I am writing this, NB 101 near Oregon Expressway has been under construction for over two years with no painted lane markings (and the lanes suddenly become super narrow), leading to merge hell and probably at least 3-4 fender benders a week. The Tesla GUI shows you whether or not it can see & track the lane markings, watching the road is much more important than "keeping your hands on the wheel". The one thing I will lay at the foot of Tesla: they really should have implemented eye tracking.
>The Nazis shot people in the head for extra-marital sex.

I can find zero statements outside this comment on HN backing up or even implying any sort of punishment relatively close to this absolutely absurd statement. Nazism wasn't some cartoonishly evil villain. Propping it up as such is dangerous because it makes people see it as an absurd historical event that is too crazy to be repeated.