skysight-inc/HackerNews huggingface dataset:
Not a huge fan of Scala[1], but it must be said that Scala.js is AMAZING for what is does. We've been using it in production since 0.4 (I think?) and we've never had any problems that could be traced back to sjs.

[1] Long story. "Trapped" programming Scala instead of Haskell by my own conservatism -- and now -- the need to support legacy systems. Still... it's way better than Java, so at least there's that. When thinking of Kotlin I always think of it as a sort of "what Java should have been", but when thinking of Scala I can't help but think "Well, it's not quite Haskell, is it?". (The poor type inference, the whole OOP thing, the lack of TCO means that any Monadic abstraction must be trampolined and that's just cruel.)
The biggest problems I had with TypeScript involved type definitions, combined with the module system. Now, the latter is not TS' fault and a bit clusterfuck at the moment for everyone, but it's a bit more complicated if you add TS to the mix.

It's improved immensely though in the past months/year.
no, but the concept of marketing still makes sense. We know that corporations devote a lot of resources in marketing. Is it ok to "brainwash" people into buying stuff that harm them?
This also shows the true evil of the TTP and TTIP trade deals: corporations can sue any government if their laws affect the corporation's profits. Pure evil. The article has the example of Mexico being sued for their protective laws.
In fact, I have my own DNS server running ;)

But if I had not:

- My ISP whose DNS I used, is subject to strong regulations and laws here

- "Additional" 3rd parties are more out of control from this perspective, therefore a significant higher risk, imho

I agree, when you used google DNS before, it's same same...
'Pokémon GO's' Creator Answers All Your Burning Questions
Yeah, this is a relatively unusual decision to find that a user agreement did not give enough notice of an arbitration clause.
> Have you seriously never seen mailman before?

Sure I have, and every time I'm annoyed by the archive site layout.

> You must've taken a wrong turn getting here.

No need to get personal, take a step back cool down and don't take things so serious.

> Of course bettermotherfuckingwebsite.com uses #444 on white.

Yeah it's also a bit too bright for my taste, but the general point still holds.
It bears repeating, always have back-ups of everything. Store a version on the 'cloud', on an external hd, and on the hard drive of your computer.

maybe one of those 'ads' were underage or something

Google is notoriously Orwellian and Kafkaesque in their TOS so I think he's out of luck. It would be a nice guesture if they just gave him back his data though. I don't think that's too much to ask
"Putting the thumb on the scales" is itself a violation of the DNC's own charter, under which they are obligated to treat every Democratic candidate for president with impartiality and evenhandedness. There was a massive amount of coordination with the Hillary campaign, anti-Bernie stories were crafted and distributed from inside the DNC, and planting audience questions designed to undermine him was floated as an idea (even if it was never acted upon, that's an egregious misuse of DNC resources and an egregious breach of the charter). You don't have to hack a voting machine to "corrupt" the democratic process, you just have to violate the terms of your own party's charter.

I also wonder why you think the fact that DWS scheduled debates for low-visibility nights in order to help Hillary is so "obvious". I mean, maybe to us, but a few months ago bringing that up would get you labeled as a conspiracy theorist. It probably would even now.

And just one last thing -- on Symone Sanders. What else is she going to say? That they got cheated? She was the press secretary. If she wants any kind of future in politics she's going to take a graceful L.
But ...

The Tampa Bay Desalination Plant produces 25 million gallons per day of drinking water to provide 10% of the region's needs. [1]

Americas’ largest seawater desalination plant provides 50 million gallons (189 million liters) of drinking water for the San Diego area each day - 8% of needs

[1] http://www.tampabaywater.org/tampa-bay-seawater-desalination...

[2] http://www.japantimes.co.jp/news/2015/11/02/world/florida-fl...
seems like bug bounty blogs have become the new resumes for coders

instead of just telling what you're good at, demonstrate it by finding bugs
I used to agree, but even I now sometimes use the camera of my phone.
Plastic bag use plummets in England since 5p charge
I'm in the UK, and recently tried to make sense of my water bill as I've a change in how our waste is managed. We are off the sewer network with about 50 houses with a treatment works. An annual water bill from average figures for our region (different water companies), is about £400 for a two person household and £600 for four. You pay more for your waste removal than clean water intake. Waste is measured against clean water intake.

We are now looking at a figure of over a pound per day for waste removal. The figure feels steep to me. If I could separate liquids and solids easily, then actually I could dump both in the garden. If you have the space then composting seems like a great solution. And would save flushing all that clean water down the toilet.
Let me try to make you more comfortable with it: it is all about food corporations trying to block scientific studies and consumers' rights for fair package labeling, etc. also, do some reading on the harmful Candida bacteria in our guts. Some Candida is natural but too much sugar, as we see in processed foods, causes a harmful level of Candida. And Candida itself has quickly evolved to affect brain chemistry to induce people to eat more sugar.
They behave exactly like they would in JavaScript.
Because the desert might have other things humans find useful, such as minerals.
The OP is a shameful blot on Bruce Schneier's record [imo].

For "evidence" we are directed to The New York Times -- a political organization. This sort of evidence certainly suffices for the non-technical set but that HN is accepting this without subjecting the assertion to the rigor that we apply to topics that are not conflated with emotional and psychological triggers is disconcerting.

I would like to pose the question here to my fellow geeks: Do you really think Russians are so incompetent that they would not avail themselves of e.g. Tor to cover their tracks?

[edit: take courage & answer the question instead of downvoting.]
It's the same amount of clicking, just that 'save' and 'export' do different things.
That requires humans to be perfectly rational like a homo economicus [1], but in reality people aren't.

[1]: https://en.wikipedia.org/wiki/Homo_economicus
Amazing ressource thank you ! I should have search deeper before my project, clearly not finished reading yet but there are clearly superior methods than I currently have.

My grudge on python was probably linked with the incompatible libs with the version 3. I should have used 2.7 and miss some features with OpenCV in restrospective, but I wanted to learn python at the same time and it seemed a waste of time to begin with an older version.
I've had a lot more experience in C++ and I don't mind a few dependencies problem, but it's probably that I'm used to it now.

I would love to see if you have a demo of what you have done (we never think to record our projects but heh you never know), if not a link to the code can be interesting when you aren't busy :)
Agree, imho it's a bad strategy to add such things to your core product and risk loosing loyal users.

Looks like they have somehow realized that though as the approach with "experiments" is a different one.
Hey, this is off topic, but I will be in Belgium for my
first time this November. I'd love to meet up with some folks from "that nerd site" of ours ;)

I'll be there for the Devoxx conference in Antwerp, and probably a bit of time before/after. Contact info is in my profile if anyone's interested in getting together.
That is a totally different need. You carry one gadget instead of two, and the camera gets benefits from the connectivity of the phone.
8 Ways Coding Is Like Pokemon Go
Fair enough, I saw it as an attack on no-frills developer-oriented content in favor of some notion of beauty. Mailman pages, like most GNU HTML, are simple and excellent. They're accessible, resize predictably, readable, and they fill the window. They're light and download quickly. They have high information density. It's sort of baffling how narrowing the content, reducing contrast and increasing line height are an improvement over browser defaults. And if you want pages to look like that by default, you can put bestmotherfuckingwebsite.com's CSS in your browser's default stylesheet.

So your criticism seemed out of touch and (can't believe I'm quoting pg) "middlebrow."
Hackers Are the Real 10x Engineers (2015)
This was to promote WebRTC.
It's the website that's crippled - and intentionally so!
No it don't. You're free to choose unhealthy products, but aren't forced to choose them. Just live healthy and promote your lifestyle to other persons, that is the best thing you can do for yourself and for any other person without harm.
I'm very libertarian, but I view "liberty" primarily as an individual thing; I don't subscribe to the notion that corporations are people or have human rights. I think it's most certainly in the interest of us all that the governments enforce certain rules and protect us in some ways, as long as there are ways to avoid the rules.

For example, killing is forbidden, except euthanasia (in certain countries). Hedge funds can exist, but they can't do any marketing and can only have "sophisticated" investors. In Sweden, alcohol is only sold by special stores.

I'd advocate the same approach to health & food safety. Businesses can sell everything, but there should be limits on (1) marketing (can't market sugar to kids, if at all), (2) taxes (more sugar, more tax - similar to tobacco), (3) general availability (can't buy cigarettes under 18), and (4) labeling (I support labeling of GMOs and of even trace amounts of trans fat).

Edit: especially number 4 above - I see no reason that a honest business would ever see information disclosure regulation as a negative thing; in addition, availability of (trustworthy) information will only increase the economic activity and decrease economic waste (again, only applies to honest companies and products).
The figure of long-term 7% real returns is accurate assuming a 60-40 stock bond portfolio, averaged over around 100 years of US stock market. This estimate does not include the information about the current over or under valuation of the stock.

However, if you start investing now, in 2016, not at some average starting time in the past 100 years, note that the US stock market is over-valued according to the CAPE metric. As well as average real returns of 7%, historical data also makes a strong case for CAPE valuation being a good predictor of expected market returns over the following 10 years.

If your long-term forecast takes the additional information of the current over-valuation of the US stock market into account, the 10-year forecast of expected real returns for a 60-40 stock bond portfolio is roughly 4-4.5%.

One fairly obvious way to mitigate this might be to over-weight your portfolio to focus on stocks that are currently regarded as under valued by the CAPE metric instead of simply investing according to current market capitalization weights.

Further details in this article from 2012 (things look slighly more over-valued 4 years later): http://www.researchaffiliates.com/Production%20content%20lib...
I'm not convinced Hello should be in Firefox myself, but:

One of the newer features of Hello is tab sharing, which is niche but clever, and needs some sort of browser integration.

People use their browser (through webapps) for chat, mail, etc anyways, instead of using dedicated applications, so there doesn't seem to be much purity in that regard. And Hello is mostly build on web-tech the browser already has to support. Putting it there makes it more likely for people to quickly try it, and learn that browsers now can do cool new things with WebRTC.
They only have trash bins at train stations because people drink and eat on the train. In the city there is nothing elsewhere.
Ask HN: How did you get your “O-1” visa as a software engineer?
So I've just graduated from school, landed an awesome job with an epic startup in Europe. They have offices in the US and are looking to relocate permanently there.

The L visas are out of the question as they require at least a year of working for the company abroad. It's too late for H1Bs petitions for 2017. Which leaves the potential for E visas or some way to write a story that makes me an "alien of extraordinary ability".

I fulfil 2 out of the 8 criteria for the O1 visa and can maybe scrape into another 2, with the experience I have and things I've accomplished so far.

So how did you get your O-1 visa and what made you an "alien of extraordinary ability"? How "extraordinary" does one need to be, or need to be able to demonstrate?
It's highly unlikely that space colonization will happen soon enough to matter to demographers.
>Source?

This is logical extrapolation, and it's more or less validated by empirical evidence. It's not scientifically proven because we're dealing with incredibly complex phenomena where there are always potential confounding factors, but a reasonable case can still be made based on real world events.

See Venezuela for an extreme example of the consequences of interventionism.

The theory that intervention does harm is based on the fact that this complex system we know as an economy exists the way it does because of carefully weighted decisions of millions of people, each trying to meet their own needs in the most efficient manner available to them that does not cause harm to others (since harmful action is generally illegal in a market economy [there are edge cases of courses, like misleading advertising]). That carefully wrought symphony of welfare-maximizing human interaction is crudely disrupted by authoritarianism any time a legislature signs a law in effect that forces millions to act a certain way, that they otherwise would not have, or refrain from engaging in some voluntary interaction that they otherwise would have engaged in.

An authoritarian intervention to force several million to do some action to benefit several other million is going to have innumerable unintended consequences, that could not possibly be a net positive for the world.
Russian Hackers Altered Emails Before Release to Wikileaks – Updated
I mean, it would probably help to have a white dwarf that you could two around and manipulate somehow.
This is from 2012, and his then idea of a website listing academics who publicly boycott Elsevier was long ago implemented here: http://thecostofknowledge.com/
It's hard not to read this as "the solution to a city government abdicating its responsibilities is to abdicate them even further. Problem solved."

Like, why not just do away with all those pesky municipal services people pay taxes for? It'd be so much easier.
MY PSYCHO NEIGHBOR IS SPYING ON ME
That's a very good point, some things are very good at doing everything.

But I don't think that should apply to the browser. Firefox already gives you extensions, which means you can add to it whatever you need.

Would you say the browser should come with a painter program by default? Maybe a file manager too? What about a specific program to print for a specific printer?

At what point should you stop reinventing the wheel?
Betteridge, eh? I thought it was Hinchliffe? I'm so confused. :|
And non-sugar products are...?

A part of the publication explained how large lobbying efforts are made to make labeling systems less accurate or get rid of them altogether. So, in short, the industry spends a lot of money so consumers don't even know which foods are "suger foods" and which aren't.
For once in my life, I am glad we have the Electoral College.
It's not just evil, I presume in the future there will be civil wars because of that - people who'll have enough vs. corporations.
> You might later find that something that took you 5 lines is a standard abstraction ready to be re-used.

Such a great point and perhaps one of the biggest challenges as languages allow increasingly reusable and powerful abstractions. I would love to have GHC tell me something like "this piece of code here has a signature that is familiar, you could probably make this fit into {list of abstractions}".
Is the playlist somewhere on soundcloud? I really liked it.
Libertarians are not the same thing as anarchists. Most libertarians agree that government is necessary, they simply discuss the limits of its power.
No it's not the same amount of clicking. From Gimp 2.7 to 2.8 something that used to be ctrl-s and close window went to ctrl-shift-e, and answering four dialog boxes before getting the image saved and the window closed. Around the time Gimp 2.8 came out, I wanted to edit and save around 50 images (in away that wasn't easy to automate). That (without the plugin that gives the old behavior) would be 200 dialog boxes to deal with that I didn't have to before.

No it wasn't literally painful. But frustrating. Nearly as frustrating as people not accepting that people legitimately use software in different ways.
How does Dubai do this? I like the idea of piping water about, but could it change local eco-systems/weather?
How could we not buy "sugar products" when it is added without knowledge everywhere? Wouldn't your point of view also require removing labels; after all gov. regulation put them there. Sugar corp would sell to ag corp, with no transparency. How would we know how much sugar and compare? I know that humans over the past 50 years have been terrible judges on their own.
What Makes People Feel Upbeat at Work
The Day After (1983 – full length)
If I were trying to run a small bakery or confectionary under all the terms (and more, presumably) of your last paragraph, I'd have a hard time believing you took my individual liberty (or that of my customers) very seriously.
(I am not a lawyer, and I am not your lawyer, but during previous and current jobs I've helped people through this process.)

Approximately 25% of engineers I know would qualify for O-1 (counterfactually, for Americans) given 1 to 3 months of worksmanlike effort towards checking off boxes that they don't already have. People think I'm joking when I say:

"Participation on a panel, or individually, as a judge of the work of others in the same or in a field of specialization allied to that field for which classification is sought"

can be satisfied by judging a hackathon. I really am not joking when I say that.

The engineers I know who actually hold O-1s in their hand generally sound much closer to "Bright guy; founded a YC-backed company; clearly an asset to a development team" than "Nobel prize winner" in terms of career accomplishments.
I think the complaint is that Whole Foods is selling you the idea that the small subset of "healthy" brands they are promoting is what you should be exclusively eating. They're a great store as far as options, but the Kool-aid they're pouring can be a little annoying at times.
Great example of how simple legislation can make a difference. I have been using a reusable shopping bag for years and always found it ridiculous how supermarkets gave out free bags to everyone (which then ended up collecting dust at people's homes, since nobody ever reused them).
Ask HN: How would you solve case mis-match in C++ includes?
I came into possession of a large-ish C++ project (2000 files, 20 Mb of code) that i want to port to Linux.

The code is rather clean and not too OS-dependent, so i didn't expect much problems. But straight away i ran into a show-stopper.

The files are all in rather random case - some are lowercase, some are camel-capitalized.

The #include statements in them are also in rather random case.

And the problem is that these two randoms are different randoms that rarely match.

Windows does not care about such things, but in Linux this matters.

So, how would you go about fixing something like that?

On one half, renaming a lot of files to lowercase is a matter of a simple bash script.

But on the other half it's a matter of going through thousands of files and manually changing the case in #include to lowercase...

I was thinking of making a relatively simple CPP-like parser that would look for the right preprocessor statements and fix them, but first i'd like to know whether this bicycle have been invented already.

TL;DR: Is there an existing tool that can go through 2000 cpp and h files and change the #include "..." statements to lowercase?
Well, even if it wasn't Russia that hacked the DNC (and now the Clinton campaign) it is still the case that someone did, and that's still reason enough to take the measures Bruce Schneier's advocates.
> You're free to choose unhealthy products, but aren't forced to choose them

It's not that simple. For instance, kids aren't free to choose what they eat or drink and they can't make rationale decisions. Many adults lack the proper information and so on...
Agreed. Integrating non-browser parts into a browser reminds me of the SeaMonkey days, where the browser wasn't just a browser but a whole "internet suite" with integrated email, IRC client, HTML editor... Glad these days are over.
Here are a couple of reports on the marine impacts of desalination.

Documents are in PDF form

Key Issues in Seawater Desalination in California: Marine Impacts
http://pacinst.org/app/uploads/2013/12/desal-marine-imapcts-...

Desalination Plants:
Potential impacts of brine discharge on
marine life
ftp://ftp.pcouncil.org/pub/Salmon%20EFH/338-Danoun_2007.pdf
I'm pleased by the ruling that throwing pages of legal jargon at a layman doesn't constitute sufficient notice. Seriously even if I read every T&C I agreed to I'd likely have difficulty fully understanding it, and I like to think I'm not completely stupid.
That sounds weird. How did you build it? Can you paste the SBT error?
And we'll only have seen it coming in our discussions and fiction for what... almost a century? Total shock!