skysight-inc/HackerNews huggingface dataset:
I just deployed ActionCable into production yesterday. I’ll be using it to share some information between our users’ mobile app and our web client.

I’m concerned about performance. As much as I know that premature optimization is the Devil, it’s hard to stomach deploying something that is so notorious for becoming a bottleneck. Once I get past my MVP of this feature and have some maintenance hours budgeted, I plan on exploring AnyCable.
As even the tiniest bit of research will show, that is insanely high. Well over 99th percentile for that age group, according to US CDC. While it might be counterproductive to get anxious about minor symptoms, when one of the most critical indicators of overall health is off the charts I think "you should be worried" (with "go see a doctor" as the express or implied followup) is the humane response. "Meh" or denying the statistical reality is IMO irresponsible.
I had the exact same problem with a junior dev. I blogged about it here https://hadalin.me/blog/how-to-become-a-better-programmer

Too many people take the path of least resistance and want to deliver quickly, because hey, who wants to spend time reading the docs, it's so boring. But that's just one of those things you have to do. The best programmers I worked with all share the thirst to go deep when they start using a library or framework. They spend a significant time reading the source code and the docs until they have a clear mental model how the thing works. The outcome of such approach is very few surprises when running the code, because the code behaves how you think it should behave.

My advice would be to mentor the dev of potential problems that would arise if you only partially understand how the library works. The most obvious are bugs or worse, you go against conventions and end up rewriting the whole app because it becomes unmaintainable.
Venezuela is losing a generation of tech talent to its humanitarian crisis
If it happens to a brand new plane? I'd say: Yes; that's reasonable.

At least until the cause is known.

Edit : Some clarification
Really! This looks like a case of local optimization.
Most people are 955 with occasional overtime, I work more like 666...
It sounds like you're assuming the SSR is not well architected and then using that assumption to prove your point. It's pretty easy to have an API layer interal to your application -- have your view templates consume that API. No reason you have to have your view templates across the network, written in another language.
Humanitarian crisis, also know as socialism.
> Preferential voting would clearly be a step too far.

I believe that's planned for Monday
Correct. More precisely I meant brexit not happening at all. That is article 50 will be rescinded and UK will return to status quo.
Hopefully RISC-V support will land in the mainstream soon.
Market cap loss since crash of flight 303 is $27 billion. https://ycharts.com/companies/BA/market_cap
Is it sending data to Chinese servers?
It looks like its a key exchange algorithm, not a host key algorithm. So you don't make keys with it, you just tell your client and server to try using it when connecting. You can specify it with the KexAlgorithms config property, like for example ssh -o "KexAlgorithms=whatever". Use ssh -Q kex to see what options are available on your installation.
In fairness, it's substantially different in the UK is a sovereign nation. In this instance the UK sees that the EU erodes their sovereignty. If that were the case the UK leaving the EU is a reasonable course of action. Geography is also a factor in that the UK actually can physically separate from the UK, arguments with regards to the land border with Northern Ireland notwithstanding of course!
I agree that normal flight should not encounter these conditions. Although, does it actually check for air speed before activating MCAS?
Taxi Dispatch Software Leads to Run a Successful Taxi Business
No, the trains are faster and more comfortable. Driving Tokyo-Osaka is probably 6 hours, while the train is less than 3. saving 3 hours each way on a trip is worth a lot of money to a lot of people. Imagine you work in Osaka and have a meeting in Tokyo. If you're driving you'd have to leave a day early, and spend a night in a hotel, leave as soon as possible after the meeting and probably wouldn't be home before midnight. With the train you hop on the train in the morning, work all the way to Tokyo, attend the meeting, grab the first train back and finish up any work you had on your way home.
40s is only enough if you know what to do right away from the start of the situation. A failing sensor may confront the pilots with many (unrelated to a trim runaway) warnings (like unreliable airspeed, stick shaker, alt disagree). That has been the case for Lion Air at least.
Nice diagram, but it's already out of date. The indicative votes already passed, there was no consensus and I think now they'll do a second round? I wouldn't be surprised if a good chunk of MPs are confused about what's happening.

Anyway, the central delusion of Brexit is that the British public vote to have a foreign sovereign government give them something. Technically they voted for the British government to leave the EU, but what they really voted for is to have the EU give them an unbelievably awesome deal that screws over the EU. That is not going to happen, so now we're witnessing this mass political delusion crash into reality.
ClearFog ITX Workstation May Be the Ultimate Arm Developer Platform
Yes, let's talk about the unassailable infrastructure that Lyft and Uber have built. It would help for you to name such things that they have built, since they have not built fiber or railroads. Is it the software? Because it seems there are dozens of locale-specific services that work the same way. As near as I can tell, the only thing they have right now is brand recognition. That is a moat, but hardly unassailable if someone brings more pricing transparency to the entire market.
Just for context, the Atlantic council is a think tank created to support nato and the American-European alliance in general, so take this with the appropriate numbers of grains of salt.
This gets my vote for nicest alias in the thread.
A Kubernetes-based polyglot microservices application with Istio service mesh
You don't need to buy a company to use its systems in an attack. The odds of discovery and disclosure ahead of time increase massively if you go through a major company's decision making processs as part of your hacking process. Companies are people. Lots of them. They are consequently not good at keeping secrets, particularly "I'm hacking the world for evil" secrets.
From my perspective as a developer who's had to use React, it seems more like following trends than solving a real problem.

In my case, I've had to deal with a form-heavy application, where React adds more boilerplate to form handling than just using the DOM.

I've really never bought the performance thing about a javascript-heavy SPA. I'd much rather see progressively-loaded html content than watch a loading indicator. I'd really rather have slightly longer page loads on average than deal with the long wait, and then hurry up and wait of the typical Single-Page App.
Interesting.

If I understand each of us correctly, my position is that the internet has provided a ton of information and drama, just nothing of use to the general public. Your position is because of the vast amount of information, we can identify these problems and route around them.

I can certainly see where you might be correct. I think the key question is this: does the emotional impact of all the noise outweigh the nuggets of useful information a person may find here or there? (And I use the term "noise" generously. A cynic would consider this a form camouflage)

In a way, this is the discussion the net is having all over, right? Do you get more social control by creating these made-for-internet dramas that hide the actual important stuff? Or does the fact that the information can exist much easier now and be published instantaneously to millions easily overcome that?

I'm with the "people decide based on emotion, then use reason to justify their decisions" group of folks, but that's only because I come at this from a sales/startup angle. It very well may be different in the political realm.
If a dev stopped me from working on something to make me look up some documentation for them that they can easily look up themselves, I’d be sort of annoyed.

If the extra info in the documentation wasn’t actually important to the code implementation, I’d be more annoyed.

If the goal of asking is to help me grow as a dev, please directly tell me what it is I need to learn.

It seems like the OP is just as vague as the junior dev when it comes to communicating.

If the senior dev saw something in the junior dev’s code and thought it was important to look at the documentation, why not just tell the junior dev that? Why does the senior dev have to tiptoe around and ask leading questions?
One of the key Brexiteers Jacob Rees Mogg has written the book (literally) on disaster capitalism! [0] (EDIT - my mistake, that's his father, but still).

This is why the EU is so eager now to seize control of the timetable, and will now just boot the UK out if they don't shit or get off the pot.

[0] https://pbs.twimg.com/media/DyMuQcWUwAA7gbq.jpg
More accurate: Imagine Florida was an independent country for a thousand years. Then 20 years ago, it joined a newly formed pseudo-state organization. It's since realized that it doesn't like when Maine enacts an insane internet copyright law (because it conflicts with Florida's insane cookie law) and a host of other unforeseen issues. It decides to go back to being an independent entity but Floridians with economic ties to New Hampshire resist.
Note: I use the word deal to mean the withdrawal agreement, which is an agreement on how we leave, not on the future direction.

Deadlines
April 12 -- if mays deal has passed, extended to May 22 to allow domestic legislation to be passed to implement the deal

If not passed by then, then uk leaves with no deal

However May's government can ask for an extension at any point up until April 12th. This extension will rely on the UK participating in the EU elections. Those elections can be held if announced by or on April 12th -- there's a reason it's that day and not April 3rd or 19th.

It's almost certain we'll be looking at a long delay, and either a referendum or general election
> The principle is that for most people accused of a crime by the state, the state has much, much more power than the accused.

It's not just state power but the combination of that with the kinds of harms that are inflicted as criminal punishment, which is why even the State does not bear the same high burden with mere civil claims.

> If homer is declared innocent under law because the state couldn’t prove its case, we don't go back to Frank and harass him for making a false claim.

In fact, Frank might still prevail against Homer in court on a civil claim for restitution for Homer having taken the sandwich.
That's why the government put out a pamphlet before the referendum (one in which many accused of being biased towards remaining). In that leaflet it stated that leaving the EU would entail leaving the Single Market and Customs Union.

Since that vote, we have seen many an MP push to remain in the EU when their own constituency voted to leave. This and the subsequent General Election saw the two main parties stand on a manifesto that said they would respect the vote and enact it.

Yet here we are, of two years spinning around the drain plug and in effect achieved nothing beyond disenfranchising people of our political process.

SO yes, no positive outcomes will happen as credibility and respect has been lost on so many levels.

Only way to break this enpass IMHO would be to cancel article 50, reenact it. Do another referendum and then total up the votes from the 1st and 2nd referendum and if we stay in the EU - we stay, if we leave, we go and plan for WTO and if the EU (one of many collectives in the World) want to do a trade deal, great, otherwise it should not get in the way and hold everything else up.

That approach, respects the initial referendum, appeases those who now say everybody changed their mind.

I would say though, that any second referendum has all MP's as neutral and they just deal with facts, no opinion, no FUD, no doom and gloom posting, no statistical waxing, no forecasts - nothing that is not a clear and solid fact - just actual facts.

But whatever happens, I lament how the EU has missed the opportunity to action this reform they have mooted for years and what Cameron initially sought and got palmed off with some token concessions instead that lead to him having to hold a referendum.
The EU could of and should of looked at reform, that would of offered the people of the UK something different and a clear reason to do another referendum vote. Instead - pig-headed politics has prevailed on both sides.

But let us not forget - UK PM position is akin to seagull management, Cameron did something that did not go his way to he left instead of fixing the mess. May now in effect going to do the same thing by saying agree my deal and I'll quit - leaving you all to sort it out. Utter madness, but that is politics.

In short - politicians will say anything to get your vote, even lie and political manifesto's are not legally binding contracts. In effect, they can not only lie, but legally get away with it with the crux being - you can lie to get votes.

Much needs to change in politics and nobody has any faith that is going to happen.

We had a vote on proportional representation - that got shot down by the public. Which is ironic as that is how they are treating the referendum result.
Same result though right? The government decides how much gaming you can do.

EDIT: Just to be clear, my original comment was sarcastic; gaming is bad for your social credit score under the new system. Just in case you thought I actually meant good.
Exactly, -after-.
As an airplane passenger that’s mostly amazed at butt’s ability to fly 10km up in the air while I’m enjoying peanuts and listening to music, I’m going say it’s a good thing that an extra MCASH, or whatever it is, is a good thing.

And I know what I’m talking about.
Is that the right tweet? In this one you're just saying that the GBP dropped by 5p against the dollar, but nothing more.
City density is a really tough metric. Most of NYC's land area is Staten Island which is essentially suburban. The transit situation is much different for NYC as a whole than it is for Manhattan.

You run into the same sorts of things with most cities. Urban density is at least somewhat a function of fairly arbitrary political boundaries.
I'd just like to say Spring Security has come a LONG way. It use to be a maze of madness and frustration but now is fairly straightforward.

Also, Spring Boot saved that whole organization from irrelevance. It took a huge amount of effort to just get hello world on the screen prior to Spring Boot.
I'm not planning to leave Russia just yet, due to being a Russian nationalist with a family, but I can sure answer any questions. The trend (or rather, reversal of previous trend) surely exists.

Upd: HN, the place where you get downvotes by agreeing to answer some questions. That's why I stopped coming.
Still way cheaper, though, than the Apple tax? What is the cost forwarded to consumers for Windowson one of those Lenovos? I doubt it's much.
noted, thanks.
And that was in 2012. I reckon everybody who cares knows that openssh config uses ~/.ssh, and those who do not care will not cry if they accidently delete it.
Amazon Aurora: design considerations for high throughput relational databases
The original referendum itself was the real heart of the disorder. The government is now tying itself into knots trying to put into action a perceived desired action, even though the general concept of "Brexit" has a tremendous number of vastly different interpretations, and nothing close to a majority actually exists for any of those options.

There never should have been a referendum to begin with, and the idea that a simple majority vote could have such dramatic consequences was frankly actually undemocratic.

Based on how entrenched certain positions are (see the DUP, for example), the (rightly) strong opposition to a No Deal, and the fact that ANY deal is going to make a majority of people unhappy, it would seem there is no majority in Parliament willing to be connected with the actual outcome.

Therefore, it seems the most likely scenario by far is simply an extension. That will probably lead to a General Election or a Second Referendum, where the "choice" can be said to be given to voters, which would also give MPs cover for any decision made.

The EU will not decide against an extension either, as their preferred outcome is the UK remaining in the EU. The longer this drags on, and the more impractical Brexit options are shown to be, the more the likelihood the UK decides to remain increases.

The only way I see the UK actually leaving the EU is if hard Brexiteers decide to back May's deal; however, that would be considerably more politically risky for them than simply continuing to take a hardline position — even if the end result is remain.
Four Ways to Get Your Innovation Unit to Work
Productivity Isn’t About Time Management. It’s About Attention Management
There are bad apples everywhere. No place or team is perfect. The military, however, quickly purges the idiots and losers once they are exposed. If only this were possible in the civilian world. You tend to hear of the negatives of the military over the news, never the thousands of little, often unnoticed or undocumented missions that occur daily where the military simply does what it does.

I've met more sociopath types in IT than I ever ran into in the military. The military tends to get a bad rap in civilian circles, particularly the Marines, because they attract alpha males. It takes a certain mindset and ability to deal with vast amounts of mind games and BS to serve in the Marines, but to outsiders, this makes no sense. The near-24-hour chaos provided in training and in garrison teaches people to deal with chaos while making decisions that affect the lives of teammates. The yelling, hazing, banter, and heavy physicality teach you that in your chosen profession, there is no rose garden. As George Orwell wrote: "People sleep peaceably in their beds at night only because rough men stand ready to do violence on their behalf."

Bullying should be purged, near-harmless hazing, no. It teaches rite of passage, that membership is achieved and earned, not given. I don't want to work with beta males. They get people killed. Indecisiveness in combat gets people killed. When you're in combat, you're not giving a shit about the US or any other place. You're not fighting for that. You care only about the guys to your right and left. You live or die as a team.

Morals always put the other person first. Love of family or teammates is not an emotion, but an act of the will. Love is not an emotion, it's an act of the will. You will the good of the other for other, with their best intentions in mind, even if it costs you your life.

As Jesus said, "Greater love hath no man than this, that a man lay down his life for his friends."
Agreed, but the 41 MP had Carl Zeiss lens (I hear that is good) and the PureView tech. Please correct me if that is just a good name on slapped on a crap lens (I'm not a photography enthusiast )
Sure. This is both sides of a coin. Or we get freedom and take care for it with responsibility, or we're stuck inside a box.
intelligence services play the long game. Gradually exert pressure, put friendly management in place, move supporting services to Chinese data centers, etc. Maybe it takes 10 years. They aren’t in any rush.
Unfortunately, that all only makes sense if we were given the vote in order to make the decision to leave the EU or not.

But that wasn't why. It was to stem the haemorrhaging of MPs and voters to UKIP for the 2015 GE. As such, the calculation was that anything other than a straight fight wouldn't resolve the question.

I see no reason to disagree with that calculation. I mean, say it was a 2/3rds vote and we got the result we did. How likely would it be that Farage et al would just say "Fair cop" and move on?

The truth is it was a high risk punt, same as with the Scottish referendum and AV vote, to kill any constitutional questions for a generation. If it had succeeded as the other two had done, we would likely have Tory hegemony for at least another decade. And Cameron could have argued (quite reasonably) that he was the most democratic PM in our history.

And the way I see, it the calculation was based on the idea that the British people are generally pretty conservative (with a lowercase c). This worked well for AV (I mean who votes to retain FPTP?), reasonably well for Scotland and spectacularly well for Brexit. The only problem was that, it turns out, we're too conservative: we didn't want the status quo, we wanted the Edwardian era back.
> the point you missed is how the media is almost as powerful as the state

“The media” collectively might have such power, but the media isn't a single entity like the state, and in any case neither the media nor the entities actually comprising it inflict criminal punishment, and even the State does not bear the high burden of criminal proof when it isn't trying to inflict criminal punishment.
Except the stack is deployed as a lambda function.
As I understand it, no. But airspeed, actually Mach, is an input to the calculation of how much nose down to apply. I.e. the higher the speed, the less trim change is needed to achieve the desired effect.
But this directive said "handle like a trim runaway". However MCAS may present itself differently from a trim runaway when failing. Furthermore a failing sensor may activate the stick shaker and the last thing a pilot is trained to do is pull up in such a situation. So you might get:

- unreliable airspeed warning

- stick shaker (=stall is imminent)

So you don't know your airspeed (otherwise you can conclude you're safe for your current pitch and vertical speed) and a stall warning. The last thing you do is to look for horizontal trim.
Thanks for the explanation. Still, it is absurd they don't use paper (or computers) for all votes.
What's the culture and workload like? Do they have the time and space to think about learning things for their own sake, rather than to solve an immediate problem.

Perhaps sit them down and explain that being a junior dev is job of two halves - delivering immediate value to the company, but also developing themselves and their craft so that they can do away with the 'junior' tag.
> There is a big difference between "Innocent" and "not guilty"

No, there isn't. Innocence is precisely the absence of guilt; to be innocent is to be not guilty and vice versa.
I think anybody that's educated can filter out the noise usually and get at some element of the truth. This is an option that would have been mostly unavailable beforehand.

Anybody that's easily swept up by rumours and bullshit was always just getting sucked in by the tabloids and the mainstream press anyway so their situation remains unchanged.

What is particularly interesting in the case of Brexit, and perhaps tangential is how the Brexiteers keep getting caught out speaking out both sides of their mouths time after time. They make a deal in Brussels and then fly home and speak to factory workers in Grimsby contradicting that deal. It's reported immediately online and goes straight back to Brussels where they're "like really?".
Am Russian, a software engineering consultant, currently living in Switzerland, do not plan to come back to Russia if I can help it, conditions there are rapidly deteriorating (more socially than economically), especially since 2014. Currently doing some work to reverse the damage that Russian government did to social media and information sharing in general.
Adding Notification Badges to a Kotlin App
Think in terms of force, it has enough force to raise itself on Mars.