skysight-inc/HackerNews huggingface dataset:
I made something similar for use with Knockout.js. Love your clear code and efficient implementation! I will probably swap out my core logic for yours.

Some here have mentioned the webpack overhead, and suggested rollup.js. I've had great results with rollup for these teeny-tiny browser-focused projects.
Just use https://www.npmjs.com/package/lodash.throttle
Yes, lazy loading is a good use case.

Echo.js (https://github.com/toddmotto/echo) is another small no-dependency library (1.89 KB minified), which detects elements appearing on screen, and goes a step further to swap the "src" attribute with a placeholder for lazy loading and unloading.

Disclosure: I've submitted a pull request to it.
Thanks, impressive foresight in the last paragraph (as of today; the picture might yet get bigger of course):

The drive for the Euro has been motivated by politics not economics. The aim has been to link Germany and France so closely as to make a future European war impossible, and to set the stage for a federal United States of Europe. I believe that adoption of the Euro would have the opposite effect. It would exacerbate political tensions by converting divergent shocks that could have been readily accommodated by exchange rate changes into divisive political issues. Political unity can pave the way for monetary unity. Monetary unity imposed under unfavorable conditions will prove a barrier to the achievement of political unity.
Reminds me of a hack we used in the First Lego League. One of the challenges was to unlock a gate, and we ran out of time for designing the necessary hardware/software. Instead, we just had a program that drove full speed in a set direction. About 1/10 times, it'd hit the gate just right and open it.
in a tree structure, isn't 24 just an arbitrary number based on which level of the tree you make your claim? if all of mathematics, for example, can be traced ultimately to the first mathematician ever, then the argument can be made that 100% of mathematicians hail from one 'family', or indeed one person.
Dark arts – A bodily pigment may have industrial uses
CRISPR technique to “screen” species for special genetic traits
The repository you linked to, actually contains the official polyfill: https://github.com/WICG/IntersectionObserver/tree/gh-pages/p... (it should be about 6 KB minzipped)
Distraction is the right word. Focus on harder to measure notions of systematic, analytic or creative thinking are happily exchanged for measurable educational innovations like iPads. If there are two schools: one where they use iPads and another where they build some weird touch device from technological scrap parts - which school would you rather send your child to?
In Mathematics, Mistakes Aren’t What They Used to Be (2015)
That's simply not true. If the rich are reinvesting all of their wealth... we wouldn't have a wealth gap. This is almost a tautology.

Rich guy has wealth X. He invests it all and 1 time period later he has X(1+R).

If the poor guy has worse investment opportunities (as Piketty claims), then the poor guy will have wealth only x(1+r). Here x < X is the poor guy's wealth, and r < R is the poor guy's investment growth rate.

The gap grows by (1+R)/(1+r).

In contrast, if the rich guy hoarded he would only have wealth X, while the poor guy would have x(1+r). The gap would shrink by 1/(1+r).

If, as you postulate, the rich guy invests k of his wealth and hoards (1-k) then the gap would change at the rate (1+kR)/(1+r). More hoarding = smaller k = slower growth (or shrinkage) of wealth gap.

Life is rarely black and white.

Try doing the math and you'll see it sometimes is.
DevOps landscape overview
Nothing - it's simply an intellectual exercise. It uses the MOV instruction exclusively to create a working program.

Further reading - http://www.cl.cam.ac.uk/%7Esd601/papers/mov.pdf
You are missing the part about customer's servers being used for malicious purposes (without their knowledge alas)
I think schools should teach only functional programming, because it's much more challenging and better suits the purpose of educating the students.

When it comes to FP, I suggest Haskell without second thought, because it's pure and forces children to think functionally. Haskell's clean syntax also makes it easier for children to read and write code.

On a side note, Haskell also resembles much of mathematical notations kids learn in school anyway, more so than any other language (guards, functions, etc.) Teaching it would not only help kids with programming, but also would serve as a tool to implement math lessons on a computer.
If heroin was legal (and affordable), you wouldn't be worrying about your stereo. Your stereo is in danger because heroin is illegal - because it's expensive, and because you've already pushed users into criminal status, so what's one more crime?

If you want to reduce property crime associated with drug addiction, legalization is absolutely the most effective path.
SpaceX's Dragon cargo ship splashes down in Pacific
Too bad Go is not a C replacement, if anything it would be Rust.
Temple OS
And the money returns to their home state, which increases wealth, which increases consumption, which increases prices, which increases salaries.

Again, it's a question of looking at the bigger picture rather than the immediate situation.
Some years (pre-crash) GE Capital made more than the rest of the company combined. Not sure that's failing.
By delivering quality and focusing on clients that don't care about pinching pennies.
Pair Programming has the potential for delivering software faster with lower cost
Do you get Google cloud credits if you help them find faults in their service?
But on Linux you also have to check against RHEL/CentOS 6, 7, and some fresh distro. It's also quite a lot of effort.
I decided to explain Pair Programming myself because I am tired of seeing smart developers missing entirely the point of why it exists.

Please, any feedback is welcome. Criticize at will.
> "I just have one server that uses Docker for packaging, and now want to throw in another, for resiliency"

Yes, when you only have a couple of servers, that is not the sweet spot for K8s.

But few people stop at 2 servers. A few months in, someone asks for a staging environment, and/or QA environment. Someone eventually realizes that they need to regularly test their fail-over and backups. Someone hires a contractor, and wants to give them a copy of the setup that won't block anyone else. Someone realizes we can centralize the logs from all these environments... And so it goes.

Even with one server, sometimes you go to do an upgrade, and find your "one server" is actually a tightly coupled bunch of services. (Made-up example: I want to upgrade Varnish, but it requires a newer library that is incompatible with my WordPress version.) That one server could be a server for the Database, one to run the cron jobs, a few for the cache layer, etc. If you break up those into different boxes, you can scale them better -- Instead of one big beefy server, you can have each layer at it's own scale (one or more wimpy boxes, dynamically adjusted).

You don't do this to save money directly. But by simplifying things, you make it easier to maintain. That saves labor, plus prevents problems (and makes it easier to hire and train ops.)

When you have just a few servers, it looks manageable. As you grow, it gets a lot harder to manage. K8s helps.
I have always imagined a software service that would identify clauses in contracts and show you what the clause is a reaction to.

Given that most of it is copypasta and legal counsel isn't researching the relevance of their boilerplate clauses either
You cannot agree to what you cannot read so anything that can only be read after purchase is not part of the contract that you agreed with the seller.
Of course it's borne out by the numbers - if you accept a priori that black people are no less intelligent or moral than white people. If two populations are equal, yet one is imprisoned at a much higher rate than the other, an external cause (institutional racism) is the only rational explanation.

The alternative would be to just say that black people are inherently inferior to whites, and that's why they're more criminal. But I don't think you want to go there, do you?
Become a founder building projects that scratch your own itch. The 37signals (neè Basecamp) guys have written quite a bit about this.

Consulting is probably a faster way to financial independence than founding is, but founding is more about lifestyle independence, which seems important to you too.
As long as infrastructure investment fails to materialise or lands in corrupt hands, then no, you will not make progress. EU projects tend to go better than domestic ones due to the increased accountability and oversight they demand. I drove across Europe in the late 90's and it took weeks, navigating awful roads and overtaking horse carts. Now, there are motorways, a very visible physical embodiment of investment done well. Hell, you can drive to China from the UK in four days now. It's nothing to sniff at.
The guy who was looking half a year for a bug in his code and then half a year for a bug in GCC (or something like that) only to find out that it was a bug in an AMD CPU.
Contrast this with the tinkering view that students should be given devices that do things. Often described in very imperative languages. It is not shocking that many actually find imperative easier to get things done in.

This is not to say that I think functional is bad. But blind advocacy that ignores how you got to the spot you are is not helpful in getting others to the same spot.
MarkApp – Building apps by authoring HTML
The important part is no-contract, not unlocked. If you're not getting service for it the carrier doesn't matter.
Maru OS becomes an open source project
While the THE multiprogramming system may have had these, Multics had them roughly at the same time, and I'm pretty sure today's operating systems trace their use of these concepts back to Multics, rather than THE.
Ancient plankton influences voting patterns (2012)
Go is resembling Algol more.
Log IDs on the nodes then match them up when theres problems to work out the source, situation, etc...
Someone made something very clever, but it has no practical usefulness whatsoever. It is an interesting intellectual exercise. It's also very impressive that they could pull this off.
Well when I was 13 I was creating video games and faux operating systems in Turbo Pascal. And I was also drawing and building model planes and thinking about how to best get girls' phone numbers on IRC then never dare call them.

It's not about not having computers, it's about how you use them.
There is a free R course on Codeschool if anyone wants to try it for an hour or two. It's fun.

https://www.codeschool.com/courses/try-r
His conclusion, to "not try to make programmers out of kids, but rather enable kids to be makers", seems like the right idea. "Hacky coding", which would be an accurate description for the programming I've done outside of front-end dev, is comparable to "making". Making is more about creativity and trying than syntax and optimization.

It's not about encouraging mediocrity; it's about saying there's nothing wrong with failing.
> At my age I can barely read the article's thin, small, low-contrast font, but I believe that I agree with the author.

It's not your age, it's bad design.

Original:

font: 14px/1.5 Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #777;
font-weight: 300;

Suggested:

font: 16px/1.5 Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #212121;
font-weight: 400;

See the difference:

http://imgur.com/a/GJpqA

Lato Regular is easy to read, Lato Light is not great for body-text.

https://fonts.google.com/specimen/Lato?query=lato
(Disclosure: I'm working on a med device security startup.)

Taking public short positions, then publicizing vulnerabilities is perhaps the shittiest way to ensure patients are not harmed by these vulnerabilities. I wonder if Carson Block would be as enthusiastic about this approach if his grandmother had a St. Jude ICD in her chest.
Visionary is something other people might call you after you earn it. Beware of anyone who toots their own horn like that.
It doesn't work with touch events.. so I can't test on my phone. :(
If you're working on an internal product, your work is not standing up to, or shaped by, market pressures. At least not to the level of that of your peers who are working on public-facing projects. I've seen a tendency for internal projects to develop in a way that is more academic and less practical, for exactly this reason.
> Britain's Prime Minister is the elected MP for the Maidenhead constituency

Britain's PM is technically a Royal appointment, nobody ever gets "elected to be PM". By convention, the party leader winning at the last election is nominated, hence bringing some democratic legitimacy to the role. However, whenever someone else gets the job in unorthodox ways, like May or Brown did through changing equilibria in their parties, such legitimacy is clearly lacking. The only way we have to express that situation is by saying that the current PM is "unelected", and the PM is supposed to rectify this state by calling for a general election where he or she will obtain popular legitimacy.

Anyone following UK politics for more than 10 minutes knows perfectly well how this works, and trying to fight the definition through pedantry is, by itself, a partisan statement.

> The EU on the other hand has a so-called "Parliament" which cannot propose legislation

But it can veto it, blocking anything they want.

> cannot amend legislation

In practice it does, through the various committees "helping" the Commission.

> cannot repeal legislation

That is a problem, but it's not terrible in itself; a Parliament who'd want a certain directive dropped would express a popular will that the Council would likely share; which in turn would make the Commission prepare a superseding directive.

> It has neither "Government" nor "Opposition"

In practice it does. The Commission President is the candidate of the party winning the largest amount of seats, and the Parliament President is the candidate of the runner-up party. The most popular party will naturally be in government in most countries, hence dictating the agenda in Commission and Council. The Parliament can try blocking legislation, much like a national opposition would do.

> being essentially a rubber-stamping body

That's unfair. Directives can change quite dramatically when going through committees; in some cases, the final result is almost the opposite of what was first introduced, to the horror of commissioners who then drop them. The stats about votes don't reflect the fact that, since veto powers were introduced in 2009, directives without Parliament support simply don't come up for a vote, because every vote against the Commission weakens it. Much like a government would do...

> the unelected EU Commission.

The Commission President is an elected MEP who is nominated as candidate by the party before the election; and the Commissioners are nominated by elected governments through the Council.

> what happens when that unelected group [...] starts to act in ways even more harmful

You leave. Any member state can leave at any time by triggering the famous art. 50. The EU has no army to stop you from doing that.

Of course, if your own national elites don't really want to do it, that's a problem; but that's a problem with your national elite, not with "European tyrants".
Ironically the areas of the UK that most strongly voted for Brexit are also generally the areas which see the lowest levels of immigration.
Shhhh.
Historically that's correct.

The software industry has routinely been denied enforcement of their agreements by the way they make users agree to them

The reaction is some companies have slightly different agreement things such as making you scroll to the bottom first

But then everyone decides again that the risk is pretty low and user engagement matters more and the tos agreement stuff takes a backseat again
Author here! Didn't expected to see the plugin being posted here. The plugin is still very incomplete, and I haven't been able to find any time to work on it. But feel free to ask me anything!

There's also another implementation by different author: https://github.com/oldpatricka/vagrant-xhyve that use different approach and easier to install (vagrant plugin install vagrant-xhyve)
Wow, this looks great! My older 9 and 8 year-old girls will love this. I agree with the comments below about variables and conditional logic, which might be tough for kids in the 3-4th grade range. Anyway, good luck. Looking forward to the release.
I was just discussing this idea with friends the other day. It's definitely going to become big business, especially once these funds can take leveraged short positions.

This is also a good way to finance very expensive investigative journalism. Just short the companies' you've found dirt on.

Any idea why these models aren't huge already?
This is an excellent question. I think it can actually matter a lot, at least in some cases. (Disclosure: I am on the faculty of a research university, and of course I don't want to think I'm wasting my time or my students' time. :-) There are a couple reasons. One, as mentioned by other posters, is that the advisor can have a lot of influence on choosing good problems to work on; in my field (applied mathematics), it can be tempting for a bright student to focus excessively on interesting but narrow technical problems, or on chasing flashy things that have little depth or substance. Second, precisely because of how much material is published these days, beginners need a guide to the field. For whatever it's worth, a good advisor's job (I think) is to put new findings in context, which is increasingly hard to do on one's own. In short, one significant way in which the advisor can have tremendous influence has more to do with decision-making, and not so much fact-finding (although sometimes that is important too).
Eurosceptics and europhiles are not necessarily on opposite sides when it comes to closer political union. Many of us who are of the opinion that the European Union has done a lot of good are nonetheless of the opinion that tighter integration and standardization are not necessarily a good idea.
Great! Finally somebody explained this to me, I thought it was just a marketing term related to different patents of similar ideas.

I was puzzled by this as I was stopped by a ranger coming out of Waipio Valley on Hawai'i, where there was a sign "4WD only" and my rental car had AWD. I thought they were the same, just different names, so I argued with the ranger that I do in fact have 4WD, which is in my case just called AWD and in other cases 4x4 as well. Well, he was still pretty upset but the "I am a European and we have different cars" finally disarmed him...
As you say, having done everything in their power to undermine the institutional effectiveness of the EU, the Eurosceptics cannot reasonably turn around and blame the results of their own actions on the EU. Nonetheless, that's exactly what they do. It's very similar to the Republicans in the US making sure the federal government can't pass any bills, then blaming 'big government' for being ineffective.

Case in point: The migrant crisis, caused by large numbers of refugees coming to Greece and Italy's wide open coasts. How did they get there? No unified European border or coast guard and no integrated defense, which Britain ensured would never happen.

No government should tolerate this kind of behavior, as it is a hostile action against the state, holding the population hostage. It should be treated as a form of criminal extortion or terrorism.
Few things:

1. Can you just add another box to the right ?

2. Can you give me xyz similar to website A but mix it with ABC from website B ? sorry, I want a bit of both.

3. Can you change this text on the button ? (Hint: No I don't want to. It requires a code change in my SAAS and could impact other clients)

4. My page loads too slow according to Google Page Speed.

5. Can I not require users to activate their email during initial sign up ? This scares potential sign-ups and we lose conversions. (Hint: No, otherwise you will get fake emails and cannot contact them anyway to up-sell)

6. My site is down. (Hint: You need to clear DNS cache as after moving your site to a new host, your computer is still trying to hit the old DNS settings).
Can someone ELI5 what asm.js is? I've tried Googling it multiple times now and every time I basically give up because I can't relate to anything it's talking about when all they use is buzzwords.
Here are the key takeaways for me:

"Thanks to that differential between your axles, an AWD car will send your engine’s power down the path of least resistance—the wheel with the least grip. Where a two-wheel drive car can only choose between two wheels, an AWD system looks for that least resistance across all four wheels."

"4WD works by locking the front and rear axles together, splitting torque 50:50 between them. This provides great traction, but a vehicle locked in 4WD cannot safely be operated on dry pavement because its front and rear axles are forced to rotate at the same speeds."

I remember being scared when I bought my first 4wd vehicle, a '91 Toyota pickup. I knew I shouldn't have the wheels locked in 4wd on dry pavement, and I was worried about going from snowy roads to dry pavement. When I moved on to an Outback (AWD, not 4wd) I wondered why I didn't have to worry about transitioning between slippery roads and dry pavement. Now I understand.

There's also a great video from 1937(!) that shows why we need differentials, and how they work. Here's a direct link to the video if you're going to skip the article:

https://www.youtube.com/watch?v=yYAw79386WI
This is a really good question, I'll try to answer from different perspectives (and hopefully others can chime in with what I missed).

1) For End Users and Developers, Golang can mean fewer bugs

Golang is a "type-safe" language, meaning that all the programming code is written to be explicit and consistent, versus "untyped" languages like PHP or JavaScript, where programming is more implicit with many different ways to say the same thing.

It's easier for software tools to automatically analyze type-safe languages and find bugs. And those languages are also easier to read and review--since there's only one way to express something--and that helps too.

2) For System Administrators, Golang means easier install and management

Golang is a "complied language", meaning that after the programming is done, a single file is produced. So a System Administrator just installs one file and Mattermost works. To upgrade, they just change that one file. Easy!

Languages like PHP and JavaScript are "interpreted languages", meaning that a System Administrator would need to download lots and lots of files, install one or more programs to interpret those files, and hope that nothing breaks. When it's time to upgrade, she's got to make sure all the files and interpreters on her server are exactly the right version. It can be a nightmare to maintain.

3) So what's the trade-off?

The trade-off with Golang is that it takes more work to learn than PHP and JavaScript. The programming language isn't as forgiving to new programmers. You need to say things exactly the right way or the program won't even start, whereas PHP and JavaScript if you say things "kind of right" and things will "kind of work".

Does this help?
I think you are severely underestimating difficulty of understanding non-trivial code. Even good programmers would need days if not weeks to understand how software like card processing AI works. And even when you understand the code behind it the AI like deep networks produce models that cannot tell to a human "how" it works.

So when a person uses a software component for real-life purposes I don't think there's a difference between someone who knows how to code and someone who doesn't - it's a black box.