skysight-inc/HackerNews huggingface dataset:
> In a country with functioning democracy, citizens vote responsibly because they know they will own the consequences if they don’t.

I never heard gerrymandering until after the 2016 election. It is scary how minority can still win the district election. So first fix that hole, and even getting rid of Electoral College, then we can talk about vote's value.

Cooperative platform seems to be a thing for this journalist. My reading is some socialism in this writing.

> would be to distribute that stock among the people who made it valuable in the first place: Facebook’s users. Like the British retailer John Lewis Partnership did for its employees, the stock could be held in a trust that users directly control and have the opportunity to benefit from.

I am going to say this is tough to do. Employee != users. Granted, there are fake accounts, how do you deal with that? You can't have a fake employee because that's a fraud.

> On the other hand, users might then have at least a seat in the boardroom when decisions are being made about what to do with their valuable, personal data now locked up in the platform.

Same argument above. Users can actually participate if they purchase stocks, but sure the entry cost is high.

I completely agree users should have influence in how a company runs and creates product, i.e. this is how a successful business should be, listen to users and take in the good advice. Let us supposed FB allows users to vote on features and how Facebook should run, then some malicious organization could create a lot of fake accounts to influence the outcome. Are we going to now required everyone to give out passport / proper government ID and verify our online status? Otherwise, how can you take these voting seriously? This is exactly what driving people away from Facebook the fact so many people are paranoid about their online privacy and identity. This is different from taking a user survey and asking WOULD YOU LIKE. Internet is fighting against fake news.

Until there is a solid solution, sorry, it's just idealism. The ideas are exciting but please give me a concrete implementation.
Devil's Advocate: The Federalist Papers required the use of privately owned printing presses for large-scale distribution. I'm not sure we can ever disentangle corporations from democracy, especially in America.
I did some somewhat similar calculations for my country. What you say is true and doesn't even just apply to the super-rich. The amount of people who have 10 or more times higher income than average is around 1 in 100 people in my country.

So the frequency drops by 2 orders of magnitude as income ratio grows by 1 order of magnitude.

In the US it's perhaps not 1:100, but it's also unlikely to be anywhere near 1:10.

So yes, the average person "suffers" from competition from people who are near their general level of income way more than from competition from rich people.
How (not) to Use Welch's T-test in Side-Channel Security Evaluations
Do you version your files or does it just overwrite the existing ones?

What happens if you do accidentally overwrite your local copy with zeroes, does the sync process sync the now broken file to Nextcloud making recovery impossible?
You're doing excellent work with Caddy, Matt. This solution of yours, which detects inconsistent headers on a single connection, is a good one. What will you do if and when MITM attackers do the extra work to duplicate headers?
Giving up beef is the best way for urbanites to become more sustainable
Very interesting tool. Tried to build something like this awhile ago but it became a bit messy. Glad to see Netflix have done it. I can see myself using this for a number of groups we work with.
Watch content in the language you are learning. Its pretty helpful if you are not surrounded by native speakers. I think most of my friends who grew up in Asia all watched Friends.
I seem to remember it's slightly implied Louise's desire to protect her daughter from heights (isn't there a scene with a staircase in the story, or did I dream it?) actually pushes her daughter into climbing. Like a self-fulfilling prophecy.
Ukrainian oligarch Dmitry Firtash faces extradition to US
You're way ahead of me, I really just dabbled, and I kinda embraced the inefficiency. Though when I did the calculation on the GPU the bottleneck kind of became reading pixels of the texture data for individual agents to make decisions on - otherwise, the potential field updated way faster than the agents could move, and local minima didn't exist long enough to matter. But of course that all really depends on the game map (resolution) and gameplay, and even just having requirements like map sections where some agents don't fit through, while others do, might make it kinda useless.

I think the main power is that potential fields reduce the complexity of the calculation to the map and the number of goals, with an infinite number of agents being able to use that at little cost, but you pretty much always have to build additional pathfinding on top of it. For example, for some games it might be fine for agents to follow the potential field generally, but every tick one of them gets to use Dijkstra/A*, and if that points the other way it follows that path until coming close to another agent or something. Too much efficiency can be off-putting, but also be too predictable and easy to exploit as a player, that's also worth noting. But of course, I'm kind of rationalizing my lack of deeper knowledge here, I'd love to be able to do it perfectly, and then tone that down for realism/gameplay. Alas :)
The author, disappointingly, seems to present Zuckerberg's "Building Global Community," covered in vaseline to advance his own political agenda.

Zuckerberg is clearly talking about community and not governance.

Additionally, throwing around terms like "authoritarianism", "feudal" and "dictator" does nothing to engage Zuckerberg's points, or advance his own agenda. Rather, it simply clouds the conversation with personal assumptions, judgments, attacks, etc.

I'm old enough to remember when Bill Gates was depicted as a villain on a daily basis. This appears to have a similar tone.

Today, I'm not sure we could have a better fiduciary than Bill Gates through the Bill and Melinda Gates Foundation. Had he distributed ownership of Microsoft in a way similar to what the author suggests of Facebook the Global Community would have lost out, big league[0].

[0] NB: Trumpism intentional for the sake of humor.
Draft law to require warrants for border device searches
Yes but jeesus here we are discussing an algorithm that I first heard about in literally my first CS course on algorithms in my first year at the university, some 20 years ago. And I had to manipulate red black threes on the blackboard.
Haven't seen them since in my 20 years of work in the industry.

I you need to write so performance critical code that the choice of tree structures matters then this interview question sure as hell isn't going to find out if you are cut out for it.
If we just lean into climate change face-first, as Republicans demand, there will be widespread famine and displacement. Nobody alive today has seen famine on a large scale. Relatively food-rich countries are going to be mowing down hungry hordes at their borders with machine guns. When I say "end of civilization as we know it" I'm not kidding.
Elixir/Phoenix might give you a head-start, but the rest is nothing exotic which puts you in the same pool with much more advanced engineers.

Granted that there always will be better engineers around and everyone started from somewhere, you need to go out and start looking for people who might be interested in that setup.

Upwork doesn't work for me, but you could try. It works for many freelancers.

Now, have in mind one thing: Asking how do I get clients is like a caveman asking how do I get food: You hunt! Any way you can. There's no guide. A guy finds clients through conferences, another from cold-emailing and a third one from facebook. Of course, being in the loop helps.

Try to present your work and difficulties you came across, from design to implementation, to a meetup that might be interested. You're in London, the best way to find clients is to talk to them in person.

Good luck & stay strong :-)
I think you misread both the movie and the novella. In both, Louise chooses her actions, despite knowing the consequences. In both, and especially in the novella, the overriding theme is that the journey is more important than the destination. It's not about where you go, it's how you get there. That is why Louise chooses to have her daughter, despite knowing she will die--because it is about the life her daughter will get to have.

The movie does a better job of showing the progression of Louise's perception of time. At the beginning of the move, she can see her daughter (i.e., the destination resulting from the first contact mission) but not the journey (i.e., her husband or intervening events.) By the time she calls General Chang, she can see the destination and part, but not all, of the journey leading to that moment (i.e., what he told her during the call). By the end of the movie and the novella, her perception of time has improved to the point that she can see her daughter's entire life (the journey) in the instant she chooses to make love to her husband and thereby conceive her daughter.

(Note that the movie goes with the illness rather than the climbing accident because it's easier to convey to mass audiences. The movie is about Louise's choices and perception of time, not her daughter. However, the novella devotes a significant amount of text to emphasizing the daughter's free-spirited ways, suggesting that the daughter would have gone climbing even if her mother had told her how and when she would die. People like that actually exist, see e.g. BASE jumpers as a direct analogy.)
I'm not a fan of hate speech laws personally as a general concept, but Germany does have some pretty strong laws on their books regarding hate speech (https://en.wikipedia.org/wiki/Volksverhetzung). So Zuckerberg may not really have a choice here (https://www.nytimes.com/2016/11/28/technology/facebook-germa...).
I actually wrote a short field manual on this (partially as a joke) to try and sell to recruiters that gives them tips about actually, you know understanding the candidate they are contacting.
I think that the reason why people wouldn't pay $1 per month is mostly because of inconvenience. If people had to pay for Facebook as part of their income tax (which amounted to about $12 per year), then I think a lot of people would be OK with that and everyone would be better off overall.

The problem is that the force of marketing is invisible. Even people who are resistant to targeted advertising are at least susceptible to indirect advertising through peer pressure from their friends... If all your friends do something, you will probably start doing it too - Or else, over time, they might stop being friends with you.

I don't use Facebook much and so I rarely see their ads but I can clearly feel the effects of Facebook's advertising in my life through my personal and professional relationships.
Spracht Konf-X Buds Active Noise Cancelling Earbuds.

Lifetrak c410 watch - battery life more than 6 months.

Moleskine Classic Notebook, Large, Squared.
I really enjoyed this.

Nice solution to put the (sorted by letters) words into a hash table to find the anagrams.
> I have yet to see UBI advocates resolve the inflationary problem short of re-implementing Soviet-style communism, yet they are unable to resolve the various problems with communism the same way the Soviets and others were unable to do so in the past.

Soviet-style communism is not the only type of "communism" that is possible, just like American-style capitalism isn't the only way to do capitalism. In fact, some argue that Soviet-style communism was never communism in the first place: https://en.wikipedia.org/wiki/State_capitalism

That said, what various problems with communism do you think are not resolved?
I believe this is tailored towards employees rather than end-users
So strange.. I just watched this yesterday (Making sure my DVD's are ripped ok before they decay).

How does it hold up 25 years later? Mr. Burns wants the best player (his childhood baseball stars), but smithers notes, they might not be the best choice now.. the "modern" players that are assembled aren't so modern anymore. Its a fun episode and holds up ok. Wade Boggs arguing with Barney cracks me up.

The baseball players voice acting is decent, with some standouts.

The credits have a custom song, thats pretty good too.
Why is Zuckerberg / FB responsible for presenting only views you agree with to his audience?

If you don't like someone's ideas make better ones. It's not zuckerbergs fault people liked one persons ideas over another.
Is this the way it should look like? http://chronial.de/misc/screenshots/firefox_2017-02-21_19-11...
The effect of reducing calorie intake is so much greater than exercising more. If you could reduce your calories by 500/day that would be like working out vigorously for 1 hour every day. Its all just inputs and outputs. If your baseline calorie burn assuming no exercise is 1500/day and you reduce from 1750 to 1250, then over time you will lose weight.

In either case, the mechanism is the same, you convert organic carbon compounds to CO2 and water and excreting those through breathing and urination is how the weight goes from your body back to the environment.
This same exact argument could be used to require every interview candidate to know assembly.

You're not thinking big enough. My usual extension of the argument is to suggest that part of the interview process should be to give the candidate a bucket of sand and some ore, and make them smelt everything and build their own CPU from scratch.

Because, y'know, it's important to cover fundamentals!
>because adequate performance is usually trivial to implement with hash tables/arrays/linked lists

Are you sure about that? What if your code has to work for billion plus people correctly 99.999% time who are on all different kind of connections?
(HN: bitcrazed is Rich, the person presenting in the video)

Hey Rich, can you (or colleagues) tell us any news on console? I get the vibe from Michael Niksa back in August [1] [2] there's a big changes happening that will fix readline-type stuff and I'd love to know more about this - I use ConEmu / Win32 SSH on Windows and it, was well as bash, seem to occasionally suffer from terminal-corrupting weirdnesses.

I'd love to know more about the causes, the fixes, whether the fixes will make it into Creators Update, etc.

[1] https://github.com/Microsoft/BashOnWindows/issues/111#issuec...

[2] https://github.com/Microsoft/BashOnWindows/issues/111#issuec...
I think it could also be described as a bait-and-switch.

> You think MZ's vision of replacing democratic institutions with facebook is a bad idea? Me too!

becomes

> Let me point out to you all the ways that MZ's intentions are good. I guess he's really a nice guy and we should trust him to provide a replacement for a failing democracy.

Personally, I can't get behind it, no matter how nuanced the rhetorical strategy used to persuade me.
Best quote:

"Natural stupidity, rather than artificial intelligence, remains the greatest risk".
Yeah. I need to align more with what you've just explained.
Sweet, seems like you could potentially retrofit existing services to be "serverless" this way.

I'm guessing this could be done similarly using Express, too?
New gTLDs: 3 conferences are coming
> it is not sensitive to non-algorithmic skills and talents that interviewees have.

I work at Google and do interviews (though I don't enjoy them). We do ask questions around domain expertise, software design, etc. It's not all just coding and algorithms.

A good question:

1. Has a low enough floor that a poor candidate can still make some progress and not feel like they are doing poorly and get stressed out.

2. Has a high enough ceiling that a strong candidate doesn't blow through it in five minutes.

3. Has a smooth ramp between those points.

4. Doesn't rely on too much domain-specific knowledge so that a candidate who happens to have a random gap in their background that leaves them totally hosed.

5. Is concrete enough that the interviewer can capture that feedback in a way that the hiring committee can easily understand.

6. Isn't well-known outside of Google as stock interview question so that candidates can game us by just learning the answer.

7. Isn't asked by any of the other interviewers the candidates sees.

8. Can be explained and worked through in about twenty minutes.

In case it isn't obvious, it is really really hard to find good questions that pass that gauntlet. Questions do tend to skew towards smaller-scale algorithm coding questions because I think those tend to survive that gauntlet better than most other questions.

> unusually good at algorithm puzzles

Interviewers are trained to not ask "puzzle" or "trick" questions. Not only are trick questions a shitty experience for the candidate, they are a shitty experience for the interviewer too. My job in an interview is to get as much data as I can about a candidate in order to provide information to the hiring committee. If I ask you a trick question, I get about one bit—in the binary sense—of data from you: did you find the trick or not?

I don't think you have to be unusually good at algorithms. I basically read some Wikipedia articles and spent a few hours in the hotel cramming Algorithms in a Nutshell, and I managed to squeak through.

That time was incredibly well-spent. Since then, I have relied on that algorithm knowledge way more than I expected too, and have since spent more time learning algorithms and data structures because I can clearly see it's made me a better programmer.

> on whiteboards,

That part is hard. We allow candidates to use a laptop too, if they prefer, or both. My experience is that candidates who use the whiteboard, at least for the earlier "design" parts of the question tend to do better than the ones that go straight to typing.

We need to learn how you think, and putting a screen in front of people tends to make them clam up. If all I see is the code you write and you don't explain your thinking behind it, I don't get much data.

> under time pressure.

That part is really hard too. The reality is that interviewers and candidates have a limited amount of time they can put into this process. Keep in mind that most candidates are currently employed and don't want their job to know they are interviewing. Many of them travel to interview. There are only so many hours.
tldr: cinematographer megachiropteran (the latter is a giant bat)
> Crazy, I would never have imagined climate dependant industrial processes..

Depends on the industry. Some, like semiconductor chip manufacturing, go to extreme lengths. One plank of Intel's success is a strategy to measure everything they can, and calibrate every copy of a factory until they all line up. Don't try to figure out every possible causal connection, just control and copy exactly everything you can measure.
When (if ever) will we see Pascal cards in the cloud?
THE sales presentation software
This is a classic example of what we call a blogrammer and self-serving bias.

Classic CS (Algorithms and Data Structures and basics of FP) is the must. The questions about subtleties of C++ syntax is, perhaps, less reasonable (but they are aimed to catch an experienced dev instead of a self-proclaimed wizard) but ignorance of the basic CS is a major red flag.
Infrastructure and transportation has been a significant issue in US elections since at least 2008 (see below). Historically, democrats have sought significant public investment for infrastructure; republican proposals have preferred incentivizing private investment. So while everyone agrees that it needs to happen, partisanship prevents anything from happening.

Official Democratic & Republican Party Platforms: http://www.presidency.ucsb.edu/platforms.php

Occurrances of the word "infrastructure" in party platforms:

2016 D: 23, R: 3

2012 D: 26, R: 11

2008 D: 28, R: 6

2004 D: 4, R: 12

2000 D: 5, R: 5

"Infrastructure" as...

Prominent Issue (i.e., specific paper or plan released):

Clinton 2016 -- https://www.hillaryclinton.com/issues/fixing-americas-infras...

Sanders 2016 -- https://berniesanders.com/issues/creating-jobs-rebuilding-am...

Trump 2016 -- (dead link) https://www.donaldjtrump.com/policies/an-americas-infrastruc...

Obama 2008 -- (dead link) http://www.barackobama.com/pdf/issues/FactSheetTransportatio...

Minor Issue (i.e., some mention):

Romney 2012 -- https://grist.files.wordpress.com/2012/01/believeinamerica-p...

McCain 2008 -- (dead link) http://www.johnmccain.com/Informing/Issues/CBCD3A48-4B0E-486...

Kerry 2004 -- http://www.4president.org/brochures/2004/johnkerry2004brochu...

Article comparing Obama/McCain 2008: http://www.dailykos.com/story/2008/9/6/589460/-
Converting a Large React Codebase from Coffeescript to ES6
Actually, it's currently a 'beta' feature while we continue to expand the breadth and depth of WSL's syscall implementation & supporting tools.

That said, WSL is now far, FAR more compatible with the majority of mainstream dev tools than it was in Anniversary Update or early Insider builds.

Don't take my word for it - I am biased ;) - but if you've not taken a look at WSL in 2017, you might be surprised by how much now works very well :)
Put it in the HN profile, so that we can know you :)
Good blog post explaining the behavior of glibc, I also saw this first hand when profiling Apache awhile back too:

http://mail-archives.apache.org/mod_mbox/httpd-dev/201111.mb...

https://github.com/apache/httpd/blob/trunk/server/util_time....

The internals of glibc can often be pretty surprising sometimes, I'd really encourage people to go spelunking into the glibc source when they are profiling applications.
On the GPU side of things, I can confirm that AWS p2.xlarge has worked well for me. It has one Tesla K80. Azure's offering is similarly priced. Back in November Google Cloud announced P100 GPUs would be available soon; that will be interesting.
> but as I don't care for GC pauses or perfect memory safety

I personally don't need to care about either of these things to find Rust a nice programming language to use for general purpose stuff. Its type system and tooling are quite pleasant.
http://www.yegor256.com/testimonials.html

?
Uptime Monitoring for Websites, APIs and Web Services
I love mine too, but $600 service every 10 years can be a frustrating concept for some.
This gourd could solve it: http://veggietales.wikia.com/wiki/Mr._Lunt
I would argue that the recent future has much more evidence for AI than aliens. Evidence for the Messiah seems to primarily come from a 2,000 year old book.

Thinking about the future is an exercise in prediction. Necessarily, not all predictions would be correct.
I currently have zero issues running tmux and bunch of other software in mintty/wsltty

https://github.com/mintty/wsltty
8 billion a day! That is great! You should write an article and post it. (or if you know the OP you should mention this in the current article). What setup are you using? Thanks - I'd love to learn your tricks.
That's a lot of fun. I'd like to see someone go further with some of the suggestions the author mentions at the end, like weighting the scores by word familiarity and word length.
Thank you, finally someone with a bit of compassion, instead of hate because "there are affiliation links on the website, so he was obviously paid".
That was exactly my idea: no ads, because ads sucks and if a service has an affiliation link, why not use it? For some websites like DigitalOcean, actually using the affiliation link gives you free credits when you register, while without the affiliation link, you don't get anything.
I thought that mentioning the affiliation links in the main section of the FAQ page would be enough, but maybe that's not enough. That's something I should fix soon.