skysight-inc/HackerNews huggingface dataset:
Isn't this also solved by just load balancing so that the customer ends up reconnected to a healthy node while the downed node is replaced?

We run our Scala apps on Aurora/Mesos behind a load balancer (hundreds of instances for just one app). If there's an issue that can't be handled within the app and error rates breach a given threshold, Aurora just kills the instance and creates a new one on another host.
> I wouldn't say it's impossible to invalidate them individually

It's impossible to invalidate individual "stateless" JWT's.

If you have a server-side "blacklist", guess what: you're not stateless any more, because you still need to keep data in sync, and now you're tempted to allow some otherwise unacceptable delay for sync, giving a potential attacker more time with a stolen JWT. Plus, you know, defeating the whole purpose of using JWTs (being stateless).

> On the keeping info in Javascript vs keeping it in a cookie issue, I don't understand that so well.

Cookies can be set HTTP only. They're sent to the browser, and it will send them back when making requests as per usual, but they're not exposed to JavaScript, at all. There is 0 way for malicious (or non malicious) client side code to see these cookies, thus 0 way for malicious javascript to steal one used as a session cookie.

> If you made the token a private member of an object

If the data can be read from the network by your JavaScript, it can be read from the network by their JavaScript.
I want to understand the idea of rating a book throughout while reading it but I'm not sure that I do. Maybe it's analogous to how SoundCloud lets you leave comments throughout various points in a song.
Wikipedia even supports them semantically

https://en.wikipedia.org/wiki/%F0%9F%90%84
Just to provide a counterpoint to the two other comments which are disparaging of the parent, I thought this was a great contribution, even if it was written less like a HN comment and more like a philosophy essay.
The whole point? We still spray roundup on many of our non-GMO crops. It's inconsequential, if not desirable, to kill the crop near harvest. Roundup had a couple of decades of use in food production before GMOs arrived on the scene.

Also, most of what you see coming out of the sprayer is water. The actual amount of glyphosate used in an application is minimal.
This is the real story - Monsanto interfering with our ability to find out what is safe.

I'm not sure why you're singling out Monsanto, to the exclusion of the government meddling.

Given the statement

a senior official at the Environmental Protection Agency had worked to quash a review

Shouldn't we be pointing a finger at the EPA - even more so, because it's their duty to protect us?

We should all be watchdogs, pointing out malfeasance. But it can't stop when we discover a corporation doing wrong, especially when the implication of that finding is that the government needs more power to keep us safe - when part of the problem is malfeasance in the government itself.
Zero Days and Cargo Cult Science
And I'm responding specifically to that response.
B&H is supposed to let you checkout without providing that.
> low level tools (javascript)

Sincerely confused by this parenthetical statement.
The main goal was to create a patent-free replacement for GIF, with a number of improvements for its main uses. GIF animation was not used much at that moment.
The game does have performance issues. Anyone telling you they aren't there is either in love with the game (and not seeing it) or is only used to low framerate games

It's not an issue undocked (because it runs at 720) and the game looks fantastic. If you play docked, though, there's lots of performance stutters - look at a certain area, attack a specific enemy and framerate drops to sub-30 and it might stay that way for a few seconds.

That being said, it's a good enough game that you can ignore it and even forget about it, but it's always there. It's my only real issue with the game.
Critical vulnerability in json web encryption
Sure, they do alright I suppose. They're also not the most economically successful and powerful nation on Earth.
And what is clickbait, Phaedrus,

And what is not clickbait—

Need we ask anyone to tell us these things?
I haven't used a whiteboard in five years. Some people seem to love them, but I just don't get it - in any situation I might use a whiteboard for, I have more effective tools that I can use instead.

There's nothing like having to pull out your phone and take snapshots of a whiteboard because people can't be bothered to use something persistent.
Or maybe the last person forgot, or they were stolen, or whatever. You'd probably have to report that and waste the time of a bunch of people.
No, we probably don’t live in a computer simulation
> But in general, I think the idea of the whiteboard interview is a chance to see someone "think out loud", to see them reason through a problem.

So thinking out loud while coding is a job requirement now? I have been an engineer for over 14 years, and a software engineer for 10, and I can count on one hand the number of times I have done that outside of an interview. I collaborate all the time, but almost never synchronously while actually writing code.
Thank you for the response. My original post wasn't meant to specify that the climate is /more/ divisive, but to ask the community what kind of ideas we can implement to make the community /less/ divisive.

Also, a friend recently sent me this article which might support the idea that climate has indeed become more divisive, even if this wasn't my original post's reasoning.[1]

1. http://www.nbcnews.com/politics/elections/how-big-data-broke...
> I mean, that's how it's taught in schools, but how well does that reflect the actual history? Certainly it doesn't represent the UK's history with Ireland, which really isn't taught in schools.

How it's taught in schools in UK/England perhaps. In Ireland the history class is all about how England is a horrible oppressor of Ireland. ;)
What on earth were you doing that required solving software problems under extreme pressure?!

This sounds like an incredibly toxic working environment, where developers are either being allowed to create fires on production systems, or management is completely incompetent or both.

Also, being able to "handle it" has nothing to do with anything in this discussion. I'd much prefer to hire someone capable enough to not need to "handle it" than someone proud of the fact that they often s*it the bed but are willing to jump up and do the laundry under pressure.
Trump Wrote Off $100M in Losses in 2005, Leaked Forms Show
If we're trying to be precise, why not also enter the time at which we were born?
No, of course not. It makes this kind of JSON insecure and slow.

You can use YAML for this kind of stuff already, and it's still more readable than STON.
News can be both truthful and misleading. The frequency and tone of this type of article is completely disproportional to reality.

There are definitely problems in how women are treated in tech, just as there are in every other field with similar demographics that comes to mind. Those problems need to be addressed.

The title of this article is "Why is Silicon Valley So Awful to Women?", though. "Awful". Do you really believe that it's "awful", particularly relative to all other professions?
I had the same experience at Harbor Freight. They needed my zip code in case I needed to make a return. I said "that's what the receipt is for...?" and she persisted so I gave her the zip code for the part of town the store is in.

Zip codes are often associated with social and economic status and Harbor Freight is in a really bad zip code. I wasn't about to tell everyone standing in line that I was getting in my $100k SUV and driving to my $500k home in the suburbs after they hear my zip code (none of that is true but that's what you'd expect from the city I live in compared to the city I was shopping in).
Wireless doesn't scale. Municipal delivered internet is the feasible option, which Comcast has sought to prevent via regulations.

The state should file antitrust charges and use the fines to erect new infrastructure that any ISP can lease, restoring competition.
> Unequivocally today's Republicans are heavily weighted, not exclusive, toward classism.

The problem is the Democrats do the same thing just on different issues.

Republicans are in the pocket of oil companies, ISPs, agribusiness and defense contractors. Democrats are in the pocket of Hollywood, lawyers, HMOs, public sector unions and, let's face it, tech companies. They're both in the pocket of Wall St.

The idea that one of them is overall worse rather than worse for a specific industry is belied by the fact that they each get ~50% of the votes.

The problem is sometimes, like with Network Neutrality, there are objectively worse and objectively better overall alternatives, but those alternatives line up across party lines. So when the Republicans get in they try to destroy network neutrality and when the Democrats get in they try to pass SOPA and negotiate the TPP.

The key is to recognize that candidates matter more than parties. Zoe Lofgren and Diane Feinstein are both California Democrats, but what a difference.
3 Steps to Follow When Starting to Write a Story
Exactly. Scotland doesn't have as much die-hard "unionists" as NI does.
Isn't it already, with guilt-laden options like:

* Yes, I want to be a better person!

* No, I don't want to be a better person and am content to live a life of misery without this service.
It's all too true. There are, in my estimation, probably twice as many people who can talk around in circles and make it sound like they know what they are talking about, as people who can actually knuckle down and get things done. There's a little bit of overlap in the Venn diagram there, but not as much as you might think, for whatever reason. Probably because the people who can actually do things are too busy implementing all the shit that the bullshitters get their teams on the hook for.
In general, I've found the forums on MOOCs pretty useless other than for dealing with specific technical issues with the course itself. They just don't scale well and there's a huge disparity in the level of the participants a lot of the time. In programming courses, you've got some people asking about some nuance of an algorithm while others aren't sure how to install a text editor. Any course built around having meaningful discussions in the forums has been a tire fire in my experience.

Automated code checkers are definitely useful but, other than that, I'm not sure I've found MOOCs much different from watching YouTube videos. Nothing wrong with that--especially with top-flight lecturers--but they're hardly revolutionary. Videos of lectures have pretty much been a solved problem since VCRs went mainstream.
John Maeda: If You Want to Survive in Design, You Better Learn to Code
so could someone just sit at the stop light to just annoy the other german drivers and police?
Ranking of most visited US websites by pageviews – 2017
ARM Talks Mali Vulkan, Lack of Open Drivers and More  Linaro Budapest 17
The new 3D view is amazing. I've wasted hours playing with it.

Does anyone know if the implementation was ever explained?
1) I don't believe. I'm not talking sun's JVM, just the byte code. We have jvms with super fast boot times already, just not openjdk.

2) interesting. I wasn't aware of these. It would have been useful to get sun involved in the project, but they didn't.
My personal favorite fabric is merino wool. It can cool you, it can warm you it's not itchy doesn't wrinkle and it doesn't smell (you can hike in it for days without any sweaty smell). It's absolutely fantastic.
Income inequality is the problem that people who put the same effort in don't get the same pay.

That's one aspect of inequality. There's also "absolute income inequality" or what might be better termed "wealth inequality" or something. TBH, I assumed that was more what the OP had in mind.
Ask HN: DevOps notifications and alerts?
We do a fair amount of logging, monitoring and automation.

This means we have a lot of individual systems pushing notifications (e.g. deploy messages in Slack with Ansible, threshold warning by email from TICK).

We're getting to the point where we're bringing a status page to the mix and are trying to find a standalone solution to centralize all alerts/notifications and who/how we subscribe to them.

Anybody aware of an OSS project that does this? And I don't mean something that bundles this with other features (monitoring for example).
I look at things like the articles claim:

>> The safety of glyphosate is not settled science.

and then Monsantos claim:

>> In a statement, Monsanto said, “Glyphosate is not a carcinogen.”

>> It added: “The allegation that glyphosate can cause cancer in humans is inconsistent with decades of comprehensive safety reviews by the leading regulatory authorities around the world.

which is backed by "leading regulatory authroities around the world" and then I reflect on the CO2 / climate change issue which is also claimed by a lot of people to be settled science. I just found that comparison (mine, not the articles) interesting.
Even suffering is not universal. There are many groups who have overcome their subjective pain and no longer feel it.

We don't all suffer (but in the practical sense we do).
Does anyone has a list of websites reviewing all those kind of boards ?
Why does everyone assume that you're asked to write perfect code on a whiteboard? I've been through 15+ interviews and have never been asked to worry about method names being right or signatures of methods being perfect and such. Most of the time people are amicably against me worrying about it. This isn't an issue.
> You can't have just one lane without traffic light and all the others with.

Of course you can.

> It would be highly confusing

Why?

> also probably against the road laws.

Laws can be changed. The fact that "it's the law" is a stupid reason to keep doing something that doesn't otherwise make sense. Germans of all people should understand this. (And BTW, I am German.)
> God of War

The first game. The sequels are much worse.
Doom had a similar trick, the "Quit: Yes/No" prompt would say something like "I wouldn't quit if I were you, work is much worse".
Did you even watch GCPNext? The entire event was enterprise-focused. They brought a half-dozen companies on stage to basically say the same thing over and over again: "We moved to Google cloud, its so much better, Google helped us every step of the way."

Its possible these companies were lying, but I think that conference should be evidence enough for any prospective customers that Google is ready.
Slightly offtopic. But would love to hear more about the adjustments you have to make to live on the road. Are you self-employed?
Jenny's number is usually already signed up, I just give them that plus the local area code.
> They provide their own rasp pi distro

The story of why this world of "linux" machines is a disaster in seven words. I'm sure this new BeagleBone is just a tarball flinger too.
While many applaud this notation superior to JSON let's face the criticsm:

It's slower than JSON, less readable than JSON and YAML, and more insecure than JSON.

To get this feature set, use YAML 2.0.
YAML supports classes and references already, and is more readable then STON.

Slower: Having to support references, STON needs to store every object in a hash. JSON doesn't need to. JSON is at least 10x faster.

Readable: JSON and YAML have much less syntax, and are more pleasant to the eye.

Insecure: Changing classes in serialization protocols without any protection is the most common exploit vector. Esp. supporting user-classes, not only builtins. YAML at least supports builtin-classes only via tags.
How to write a Pokémon Go clone for iOS
Where is this? I go to Destin a few times a year. Usually visit Fort Walton and all over. Can't figure out where it is.
fwiw, in the US you can turn right on red unless there is a sign saying you can't... I've never seen a green arrow sign. Sometimes there are green arrow lights that say you have a protected right turn.
There were some local political scandals ("cash for ash") in NI which could have also changed the polling results.
Hackers Stole My Phone Number – A Personal Story
I do this all the time. What I do is make sure that the question, and anything that I would want to write on the whiteboard, is typed up ahead of time. Then, I use a teleconferencing program that supports sound, screen sharing, and IM. (Gotomeeting works well for me, but there's plenty others that work well too.)

In the actual interview, I IM the written parts of the question to the candidate. Then, I ask the candidate to share his/her screen, and use a program like Notepad or Textedit to complete the question.

It's useful if the candidate copy/pastes my IMs into Notepad / Textedit. Often I've provided a sample API that the candidate needs to program with.

I discourage using an IDE like Visual Studio or XCode. (They get in the way when you're just trying to quickly express an idea.) Most candidates "get it" that I'm just trying to see how they think and approach a problem.

Some candidates just feel more comfortable in an IDE, though. Other times, though, when a candidate uses an IDE it shows that the candidate will get too bogged down in details to communicate; or that the candidate really doesn't understand the language that he/she claims to be proficient in.

Edit: In the context of the article, I'm a HUGE fan of whiteboard coding. It tells me a lot about the candidate. Being on both sides of an interview; a successful whiteboard interview has more to do with how the interviewer plans the question and his/her expectations about what the candidate will answer. A whiteboard interview isn't there to determine that a candidate can think of a tricky algorithm; it's there to judge coding ability for very obvious problems with well-known APIs.

Where I think the industry needs to go, though, is a universal certification that demonstrates competence. Doctors have to go through this, thus doctors don't need to demonstrate competence when interviewing for a job. That's handled by the impartial 3rd party.
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p053...

call/cc is the basic mechanism - useful to implement stackful coroutines and fibers (cooperative multi-tasking)
> Why would you try drag it?

Because it’s large and I want to see it wiggle? :D
>> why are students paying for that?

Because it's a LOT better than online courses are at the moment. I've used Coursera/iTunes U/Udemy etc. a lot since they came out and only ever finished a couple of things. Motivation is a big issue. Also very little of the knowledge I gained through it has stuck because it is not very engaging. I recently started University (mature student) and the things I'm learning stick much easier as you are constantly forced to pair with people to debate problems and work as teams to answer questions. This repetition and group debate is invaluable. Despite participating on the forums when doing online courses they don't come close. Previously, as a self-taught programmer I couldn't see the value in 90% of university courses and thought they were going to start struggling thanks to MOOC's. Now, as a student, I can see that they do offer quite a lot of value (by value I mean increasing my knowledge, not salary after degree). They are certainly very inefficient, but I would certainly consider my program value for money (although I am a student in the UK so fees are lower than a lot of places).
Pi (“π”) may be full of hidden patterns
Native advertising is very effective. I run a local lifestyle brand as a side project and native advertising is the only type of advertising we have. I even put "Sponsored Content" and "We were invited to eat at this restaurant in exchange for a review" and I've still had people comment that they don't know how we can afford to do all of this stuff and we don't even sell anything or have ads! People don't make the connection between "sponsored content" and "advertising", or catch on to the fact that we get basically all of our stuff for free (at worst) or that we're actually paid to write about it (at best).

But I'm happy because no one visiting my site is getting a virus from shitty third-party ads.
>If they can't write some simple code unaided, then I don't want to work with them. I was a copy-paste programmer once too.

Lovely. Someone put up with you, but now you won't do the same and offer to teach.
GitHub Enterprise Remote Code Execution
>Which usually results in a huff and/or an eye roll from the cashier

I never know whether to be sad or glad cashiers no longer catch on when I give my phone number as "[area code] 555-1212".
Can't remember where I read this, but I believe in the EU the "maximum residue levels" of the active ingredients of pesticides are set orders of magnitude lower than the estimated safe ingestion threshold. That gives a significant leeway for errors in judgement or scientific process, which is understandable when it comes to public health. Must be a major concern for homeopaths, mind.
On a Mission to Fix the Internet – With Andy Ory
> Women who Code: always ask fellow men for help with their coding skills or just appear to not know what they were doing. Present them as sex objects, where men are thinking of them just for sex

Carla played by http://www.hbo.com/silicon-valley/cast-and-crew/alice-wetter... was a prominent woman coder with none of what you described exhibited.

Granted, I can't think of any other female coding characters on that show.

Did you mean the HBO "Silicon Valley" show or a Bravo TV series with the same name (later re-branded "Start-Ups")?
Jesse Anderson Is Mr. Big Data
Why is STON less secure than JSON?
White King goes to a8, only using white squares and b8. Black has to make the mistake to leave b8 unguarded for one move. Then white pawn to c7. Black King cannot b7 because of the white King on a8. Black bishop has to take the pawn, or pawn c8Q will be mate. Black bishop on c7 however is forced stale, since the white King cannot move.
Still, it's not like it was impossible to make some last minute changes, while PNG was still relatively young. See https://boutell.com/innards/apng.html
Show HN: Fargs, a simple JavaScript arguments manager
Would it be possible to somehow run this on Windows?
Do you think your app encourages or discourages people to speed?
> The schools don't teach data structure just so a graduate can answer related interview questions.

At my university, "Data Strctures" is one course where you write no code, another corse that is just about discrete math, and then at your senior year you actually do a Data Structures class.

I have no problem with Data Structures and I of course think they are important. I have a problem with what colleges think Data Structures are, or how they should be taught.
There are two lines in the spec summary. The PRU is one, a Cortex M3 is another. It's not unliklely that the SoC indeed has both, intending the ARM for use as a very low power, always-on sensor listener (e.g. the DSPs that handle audio and sensor input on phones so they can wake up the main CPUs for gesture or voice recognition).
surely it is illegal to put up a traffic signal without working bulbs.
according to: http://www.naturalnews.com/047868_glyphosate_contamination_o...

USDA does allow some level of glyphosate in organic products, if they are seen as residual and not from pesticides being applied during farming.
That sounds a lot like journalism, which is the nyt's job
I saved like mad for 4 years, now driving around Africa for a couple of years.

I did the same thing a few years ago, drove from Alaska to Argentina over 2 years.

Best decisions I have ever made.

I'm http://theroadchoseme.com if you're interested in what I'm doing. Here are my thoughts on saving money: http://theroadchoseme.com/work-less-to-live-your-dreams
I'm unable to convince my employer to use Kotlin. Having Google put their weight behind it would tremendously help that situation.