skysight-inc/HackerNews huggingface dataset:
I wouldn't use offensive humorous test data, but using obviously fake humorous test data makes it easier to detect and mitigate those kinds of situations. If for some reason I noticed that all of my production data came from an obscure browser that called itself "The Thrilla In Mozilla", that would be a lot more noticeable and easier to correct than if my test user-agent string was just Chrome or whatever.
SWI Prolog also has the ability to provide a simple endpoint for querying prolog dynamically provided by the Pengines library.

https://github.com/Anniepoo/JavaPengine

Querying is straightforward. It's simply another service in your web stack if you go this route.
This gives you a download of the JRE (the runtime components), not the JDK (the developer components). So if you're an end user of Java with no desire to compile your own Java projects, the java.com site will give you what you need.

Note also, java.com will only give you the latest short-term support version, which is currently Java 12. So if you want a LTS version, you will have to go elsewhere.
This is way to radical to ever actually be tried, but sometimes I think what we need to do is put taxes or subsidies on pretty much everything that has calories to make it so that all foods cost the same per calorie to the eater.

That would make keeping track of your calories a lot easier, which may make it easier for most people to get to and maintain a healthy weight.

It would probably also result in healthier eating for most people. When you see that a big sugary soda takes up the same amount of your food budget as a nice big steak, you are probably going to drink less sugary soda. To avoid feeling hungry at the end of the day, you'll shift to more foods that make you feel full without giving a lot of calories, and/or to foods that provide high satiety.
Or frameworks helping you do so - like "benchmark" for C++ (though I wonder if there is a cross-language one - that does the same amount of "pre"-warming, same counters, etc.)

Probably not... and too much to ask.
It's called "take rate" and it was reported in the S-1 and is reported in quarterly earnings for both companies. While some rides it might be 50%, it is far from 50% for either.
If you are interested in distributed systems/programming problems they are fun for that. I have setup 5-6 Pi's before and written different leader election methods and play with pulling their network cables etc. I also wrote a partially custom service discovery using etcd and tested it on them, again mostly for learning but it led to some production code later on. I've played with data consistency problems using them too. Also worked good for testing system recovery when I was writing code that did graceful recovery from failures, lot less at risk if you pull power from a Pi then a server to test the code. :)

Outside of that, you could connect them to some relays and do some electrical switching via the network etc. Or setup a few of them with the camera and do image classifications or just motion detection.
The Fantasy of Being Disconnected
Ask HN: Is it safe to drink tap water or R/O water better?
Here in US, can we trust government and authorities to drink tap water or recommend any water filters or R/O system for safe water. Concerned about artificially removing natural minerals at the same time drinking contaminated water in pipelines or process.
Rough. His wife also left earlier this month.

It's interesting though in both videos, he seems to place the blame on them (his wife, facebook). His wife was a gold digger and facebook didn't like his youtube channel.

Both could be entirely possible, but one does have to wonder if maybe all the money and the YouTube fame changed him. Perhaps he wasn't that easy to work with anymore. His ego outgrew his position, both in the marriage, and at Facebook.

From his wife leaving video:

"My funny personality, my charm ... carries no weight against the best thing about me - I'm successful".

Just a thought. No disrespect to the guy, he's clearly very smart and knows how to succeed. Best of luck to him.
People have trouble thinking outside of the limited world view that was forced upon them as children. It's much easier to put things into containers in your mind that can't be overlapping.
I love this example. I can understand why the audio version isn't included for free with the text version: the voice artist had to work 40~50 hours to create it, akin to the coloring artist in your example. But the reverse doesn't make sense. When I buy an audio book, I'm already paying both for the contents and for the execution: surely the contents were already paid for.
Quarterly Performance Review Template
it makes you think about your code in a more structural way where composability and low coupling start playing a fundamental role
It's interesting to me that several of the island nations in the Oceanic region will likely disappear within our lifetime. Might be interesting to pay a visit before they disappear.
Nobody is confused when they buy this product that it’s animal based meat. The packaging is very clear about what it is.

It’s called meat because it tastes and feels like meat. It’s a perfectly cromulent word to use because it describes what the product is.
> Wired's recent article over this was a breath of fresh air.

I agree that this article is pretty good. Ironically, Wired's first article about China's social credit system generated a lot of misinformation about the social credit system in the first place. Nothing was factually incorrect, but most of the article was pure speculation and then everyone on the internet treated that as fact.
Possibly, though I think the bigger problem is that personal accountability has somehow become politically dangerous.
The better approximation to fricative z is usually rz. (Like Polish dipthong.)

rj could be mispronounced as unrecognizable ar-jay combo, resulting in something resembling dwor-yak or dwor-jak instead of rd3. (Sorry about lack of proper IPA.)
You will be surprised how much less healthy cheap plant based food can be than meat... Now you get human pesticides (the ones sprayed on plants), GMO and plant pesticides (the one plants have developed against mammals) on top of the low quality crap that was previously called meat.
There's also a ChexSystem that banks use to block people from opening accounts, which is like basically blocking someone from even being able to get started doing anything financially since so much of it is digital now.
Okay, but lots of people don't realize the effect things can have on your blood sugar. Potatoes can raise your blood sugar just as quickly as white bread, or even sugary drinks depending on how you cook them (i.e. baked potatoes get processed differently than french fries). It isn't just added sugar, it's also how you cook it, and the other things you eat with it.
When I was in university not that long ago, I noticed my country (Canada's) major spy agency had a prominent presence at most job fairs. Maybe we are and it's jut not obvious.
Spatial Awareness #9 – Maps and Spatial Newsletter by Robin Hawkes
Interestingly, sugar was originally added to mass-produced Ketchup to act as a preservative. I'm not sure if that was the only reason, mind you, but it was a part of it. At the beginning of the 20th century there was a lot of public outcry about the use of preservatives in various food items. I actually wouldn't be surprised if a lot of food manufacturers switched from using some of those chemical preservatives like sodium benzoate to sugar to avoid some of that public scrutiny, and kept using it to improve the flavor.

Which of course raises a question. I suspect most food products could cut back on the majority of the added sugar and be fine, but for some of those food products some portion of that sugar is necessary as a preservative. So, in those cases, would the public prefer to have some added sugar, a more "artificial" preservative like nitrates, another preservation method (freezing, canning, pickling, etc.), or accept food products that will have a much shorter shelf life?
As well the long trend in the US is for devices outside the kitchen to use less power. Whens the last time you overloaded a breaker in a bed room?
> my work friend's driver license is expired

Not a full solution of course, but when a proper ID is needed, a passport is the goto. I've seen tourists use them at bars.
> Plant-based meat, on the other hand, can be both cheaper and less gross at the same time, and it might help them cut down on calories and improve their health image.

Which is “less gross” is highly objective.

> I wonder what impact it'll have on climate change when McDonalds stops buying real beef.

Would be a nice longbet, “McDonald’s will stop selling beef burgers by 20XY”. I’d be on the “no” side of that bet.
In fairness, neither of these guys was, at the time, spying.
There's a huge spread between trade-in value and prices on a dealership lot. It's completely reasonable to expect to get $8-10k in trade-in for a five year old Camry, and totally reasonable to expect to pay $15k to buy that same car from the dealership.
This week's issue features jelly-like elastic maps, why you shouldn't use zip codes for spatial visualisations, as well as the usual collection of other spatial goodies.
Yes, sugary drinks are much worse, but also prepared industrial dishes that you can find in supermarkets.
That's boring though and don't you know that whole grains are poison? /s

For real though- the big battle is convincing people of this simple but boring fact. Limiting portion size and adding a little moderate exercise is all you need but it doesn't sell books and make the social media rounds. What is the best way to portray this to the public?
Modern Programming Languages vs. Go
i am suprised that nobody mentioned `unsplash` (eg: https://instant.unsplash.com) or its chrome extension yet. :/
That's nuke-from-orbit level stupidity!
> Which is totally contrary to how DMCA works, if someone makes a wrong claim there it gets very expensive for them.

No, it doesn't. There is only one part of a DMCA takedown notice that is made under penalty of perjury, and it's not the part that is usually at issue in a false notice.
Well yeah, that's why you don't buy pre-made stuff.

It makes me feel like some sort of weird Zen-master to say this, but you don't need that. It's super overkill, not every meal has to be this thing with 500 ingredients like a budget version of what a high end restaurant might serve.

"Sauce" (saying that word without a qualifier makes me kind of shudder) is a tin of chopped tomatoes, an onion, and maybe some spices. Done. It barely takes longer than emptying a jar.
Don't know why you are being down voted. As a vegan, one of my biggest gripes with the recent movement is the marketing of new products and the obsession of replacing meat with vegetables.

To further illustrate your point, imagine trying to replicate carrots using only veal and calling it something like "calf-rots", it absolutely makes no sense. Your issue is primarily with the false representation, my issue is that we're intentionally making it harder to sell vegan/vegetarian alternatives by trying to replicate something unachievable instead of coming up with entirely new products. For example, I highly suspect there's an entire food category like bread that we haven't discovered yet.
Desired by whom, and for whose benefit? Drinks I used to like no longer exist, but have just been substituted by coke so there is zero reduction in sugar consumption, but my quality of life has been reduced.
Ask HN: Is there a viable non-android non-iPhone mobile device?
My buddy rocks a dumb phone. I’m highly tempted. I do kinda like having slack, email and Lyft though. Any viable alternatives out there? The big two are pretty annoying, aggressive, opinionated, and anti-privacy.
I’d be happy with someone who just hasn’t had the opportunity to get bloated and forget that it’s actually about the customer. I remember there was an Ubuntu phone, a Firefox phone, some weird privacy first Black phone. Are any of these viable today?
A quick Google search for "beyond meat" reveals lots of photos of their packaging. Every single one of them has large, all-caps, bright green "PLANT BASED" on the front of the package. They're not hiding anything, and anyone confused by it probably has themselves to blame.

For example: https://www.amazon.com/dp/B074YGZ77H/
20 years ago I made the observation that the whole intellectual property domain was fundamentally based around all of the individual aspects of intellectual property being cleanly and completely distinguishable from each other, e.g., this is a book, this is a song, this is a movie (which is made of this song and this script), etc. But even then it was becoming clear these categories were getting fuzzier and fuzzier and in many cases outright merging, and the categories weren't going to just go together nicely because of the various contradictory assumptions in them.

The worst then, and I think still today, is computer software, which is covered by both patents and copyright. Copyright has always covered them, in the last 20 years, patents have covered more and covered less at times, but still have always covered some of it.

I'm actually a bit surprised that I've still seen no hint of the legal system directly grappling with this problem. It just keeps getting worse. I've been keeping my eyes out but I haven't seen anything.

And this is another example; nobody wrote the copyright laws for the YouTube case. If you get down to it, you have this intricate interplay of video, audio, automated systems generating some content, automated systems checking them, an extra-judicial system for mediation where I will not say the incentives are 100% misaligned, but they are certainly nowhere near 100% aligned with what they should be, with a lot of mismatches between YouTube, the copyright holders, and the video producers in terms of powers and responsibility (that is, there are many places in the system where there is power without responsibility, and responsibility without power), and we're trying to adjudicate it on 20th century law that was already, at times, kinda cobbled together. (Don't look, but we're already 1/5th of the way into the 21st century.) It's madness.
Windows Update, Windows Defender Antivirus, NTFS compression, maybe more I've forgotten.

Also old (and not-so-old) games.
Couldn't they choose to not be beholden to larger customers regardless of the pricing? That seems like a business choice that is independent of the pricing model.
Meat can be full of antibiotics so I disagree with your assertion that plants have all these extras that meat somehow avoids.
I wouldn't quite say "old versions" - it's possibly better to say LTS versions (long term support). The LTS versions are what Oracle is requiring registration/payment for now; so if you want to stay on the "Java 8 Oracle JVM", you'll have to pay for that privilege.

Or alternatively, you can get a LTS version from another vendor based on the OpenJDK source. For example, AdoptOpenJDK or your Linux distribution.
Avoid Premature Optimization
Very neat, I especially like it's compability with mkdocs-themes. Will try this out on some project :)
Yes, you pick the moment (much) better than wandering over to peek over their shoulder when 'something interesting is going on'. IMO that's exactly when you don't, ask them about it later.

To borrow from that cringeworthy scene in The Social Network: He's wired in!
Perfectly true facts can still create bias, by selectively focusing attention. None of this needs to be wrong or distorted.
I already do that. The problem is that too many people all over the political spectrum don't do that and they have the right not to seek out competing viewpoints, but they also have the right to vote. As a result, an externality of all this biased agenda-driven content masquerading as journalism is that bad politicians with bad policies are elected, and I and others are hurt by that.
Are you comparing losing your email versus being kidnapped and held in jail without access to a lawyer or courts?
Oracle Java 8 is no longer freely supported. Switch to OpenJDK and move on if you don't need their support.
I own many recordings of Liszt. Some performances are better than others.
Those plant based protein patties often have too much salt but I just checked and the beyond meat seems reasonable with 390mg sodium and 300mg potassium all while using pea protein which has a pdcaas of 0.78.
Quite impressive.
If they can achieve the same with the chicken patties it'll be good!
On a side note, reading 19th century novels about the press makes you realize « attention economy » is what press is about right from the very first days.
Incidentally, Susan Rice (on the Netflix board) was the national security advisor that spied on Trump campaign members.

https://www.cnn.com/2017/09/13/politics/susan-rice-house-inv...
From what information are you assuming these will run for centuries? Most sats have a design life of like 10 to 25 years max. Also keep in mind that station-keeping and correction data is mandatory to keep the accuracy in check. I think I read somewhere that after 180 days of un-corrected drift the GPS would be able to get you within a few km of your target - not meters/feet.
I co-manage an ebook to audiobook conversion product https://auditus.cc. Spending a little time in this space and being an avid audiobook listener myself, I somehow feel that both sides are right on some level. The publishers' sole goal is to place as many physical copies as they can in people's hands. That is why you often hear things like "The feel of paper is what makes the book better", "this digital reading takes the feel away", etc. Now if you are listening to a book on Audible and you feel "ah! this book sounds pretty interesting and has some very notable points; I should read this rather than just listening to it!", you might end up buying a copy of it. But now since Audible has the exact text of the book, you can read it right there while also listening to it, which is obviously better because two faculties of your brain are working on the same thing thus you grasp faster. But clearly that's not good for the publisher at all, thus the frowning. On the other hand, audible's point that the A.I. generated text is not gonna be an exact replica of the hard copy might be the only and helpful justification they can present.
Launch HN: Memfault (YC W19) – Crashlytics for Firmware
Hi everyone!

We're Chris, François, and Tyler, founders of Memfault (https://memfault.com). Memfault helps firmware teams find and fix issues before customers start calling (or worse, tweeting!) by providing a small <3kB SDK to include in the firmware and a web dashboard to manage releases, monitor devices, and view crashes. In the software world, Crashlytics, Sentry, and other error monitoring systems have been offering similar solutions for years. Memfault is the first such solution for firmware.

Embedded devices today are very different from ones built 10 years ago. Then, a device would run a small piece of firmware in a while() loop, capture input, compute some logic, write to a small 7-segment display, and that was about it.

Today, new products have a wireless connection to the internet, a bright 320x320 full color LCD, a high quality microphone and speaker for Alexa integration, and sometimes even run machine learning or computer vision algorithms on device! Building hardware products in 2019 is a significant software project, it requires software tools.

The three of us met at Pebble in 2013, where we shipped 4 watches together. Chris and Tyler went on to work at Fitbit, while François went to Oculus. Each time, we found ourselves building all of our tools from scratch which slowed us down tremendously. Imagine having to build a log collection solution every time you want to build a new web app!

As a result of the effort required to build them, the tools available to firmware engineers are not up to the task. For example, the state of the art in debugging requires connecting a physical debugger to your board. To investigate an error report from the field, customers must be contacted, devices shipped back, and enclosures disassembled. By the time this is all done, flash logs have rolled over, variables have reset, and developers are left scraping together raw data from flash to debug the issue. It can take weeks to get to the bottom of an issue that would be root caused in minutes with reasonable tools.

We've long wanted to show people what Memfault can do without the hurdle of integrating our SDK into their code. Today, we are launching a zero code, try-it-at-your-desk version of our tool available at https://memfault.com (click on the "Try Memfault" button"). In about 5 minutes, you should be able to connect a ARM Cortex-M based development board and upload an error report using a GDB script. If you do not have a board, you'll be able to interact with an example error report.

We could go in at length about the implementations (ask us questions in the comments!). One thing we're especially proud of is the "Globals & Statics" tab which lets you query the state of any static or global variable in your system. To get this to work, we cross compiled libdwarf to wasm via emscripten and used it to implement parts of an in-browser debugger which can be used to look up values for a known symbol given an elf file and a Memfault core file.

We'd love to hear what you think, and find out what other tools you've found helpful in this space. Looking forward to the discussion!
How successful was Obama's digital campaign? From what sources are we deriving that conclusion?

Two countervailing arguments:

First, the narrative about Obama's digital success is itself extraordinarily powerful and was used throughout the marketing industry to sell marketing services and products to commercial organizations; many of the obvious Google searches about Obama's campaign effectiveness will turn up a first SERP filled mostly with appeals to social media programs.

Second, people have written that the impact of digital marketing on Obama's campaign might be overblown. Here's an example: https://harvardpolitics.com/united-states/just-good-obama-ca...
Please describe how this selection bias filter works.
Exactly. Anything where you have a main clump with a long tail will show this pattern--most samples will be better than the mean.
It's more of a meta comment on which stories surface up on Hacker News and other media. The selection of content you get exposed to can matter more than the exact content you consume.

I went for dinner to my in-laws a few months ago and my mother-in-law asked if I had heard about the Tesla that caught fire in Shanghai. I said, yeah but did you hear about all the combustion cars that had combusted that day. She had not of course. Didn't even know "normal" cars catch fire. Nothing against her in particular (she had seen it on a mainstream TV news program), I've had similar conversations with coworkers, aquiantances, on social media, etc.
Why should the shareholders have any determination of direction? They are there to invest in a company, not run a business. If they don’t like the direction they can invest elsewhere.
there’s an open-source model for parsing Google Street View, classifying the car parked and making precinct-level predictions

Mind blown. The lengths campaigns will go to for the win. Can you share any more stories like that?
Interactive Explaination of the CapitolOne Breach
The only benefit a "Blockchain" can provide is decentralized time ordering.

All other properties must be verified by the client, don't require a blockchain, and are typically some other cryptographic proof.

There are many properties of a blockchain that are an anti-feature of voting.
Prolog-first startup, eh? Lucky duck! Are you hiring? I already know Prolog...

Like I said above the thing that puzzles me is why I didn't grok Prolog twenty years ago when my friend was spoon-feeding it to me so patiently. I had to bang my head against the wall right up to the very last minute, when I had pretty much implemented a crude unification program.