skysight-inc/HackerNews huggingface dataset:
I feel like both Google and Apple has just want QR codes to go away. Some of their apps use QR codes for very specific purposes, like setups, but neither of them provide a generic QR code scanning app.

The Twitter app on Android actually has a built in generic QR scanner for whatever reason, but for most purposes I use ZXing team's Barcode Scanner app. I've been looking towards using a QR code keyboard to semi-safely let me input complex passwords in apps.

[EDIT] Another reply notes that the Apple camera app actually does scan QR codes out of the box. I haven't used an iPhone / iPod in years so made an incorrect guess.

[EDIT] Apparently some Google made Android phones do actually have some QR code support in the default camera app, but the Nexus 6P (Huawei, but under the now defunct Nexus program) certainly doesn't.
Apollo’s 1202 Alarm Explained
QR Codes for payment are absolutely _huge_ in China & a few other countries. So is QR Codes for authentication (WeChat & WhatsApp use them) and a few other uses.
The rise of obesity in the US tracks very closely with the massive increase in cheese & chicken consumption. Sugar consumption actually plateaued years earlier.
Your relatives are not entirely honest with you. Of course they might not be starving and people might have enough food, but they are having less access to medicines and other necessities.
Fake news right?
Most everything we develop (I work for the DOE) has to be open source.
To be frank, lobste.rs seems like the same content as Hacker News + /r/programming, but with fewer people commenting.
The only thing is they integrate things like pocket and they're putting some other things in soon.
Factions in government are sometimes caught spying on gov organizations that have oversight/control athority over them. That was the real scandal of Edward Snowden's bombshell (that was quickly covered up).
Maybe it’s just me, but I’m always baffled when people categorically claim that they know the source of their cyber attacks. It’s not exactly difficult for someone with the most basic knowledge of networking to disguise that information or masquerade as someone they’re not.
There's many Americans that didn't live in Iraq, but fully supported the toppling of Saddam.
Why the Impossible Burger’s ‘blood’ is raising eyebrows
In a related note - my wife had chronic vomiting for 5 years. Almost every meal would make her throw up. We went to general doctors and two gastroenterologists, who gave antacids that made the vomiting worse if anything.

One day I found an amateur website that said the issue was more likely not enough acid, gave ways to test it, and recommended drinking a tablespoon of apple cider vinegar.

My wife's vomiting stopped immediately after one dose. She recurred once or twice in the last 4 years but another dose of AC vinegar fixed it each time. Literally miraculous.
I deleted the tweets and Gist just out of respect for the Chromium people's decision to restrict the issue.

I personally do not see the point of considering this specific issue particularly severe because the Chrome Web Store already allows extensions to execute remote code in extension context simply by declaring `unsafe-eval` or `unsafe-inline` (or specific remote hosts) -- and one can find such extensions quite easily.[1]

If the Chrome Web Store had a policy of "no remote code execution in extension context under any circumstance", then the issue would definitely have been high severity.

* * *

[1] https://twitter.com/gorhill/status/1139306139072507906
My position is based on decades of actually looking at HTML, writing it, creating a few web authoring tools along the way, and participating tangentially in HTML5 standardization.

I'm not insufferably offended by what you think I can or can't do (I couldn't care less) I just honestly can't fathom, after 20 years of looking at HTML produced by hand and by tools, how anyone could think the tools produce better markup if you're actually talking about inherent quality of the end result. Cheaper and faster, maybe, with a lower learning curve, sure, but better? I don't buy it.
Hundreds of masked men assault protesters, journalists, residents
Your timeline seems to align better with the introduction of the smartphone. The phone screen severely limited the weirdness of content that fits in it, (with or without advertising). It might be the case that it actually enabled the boring , single-task engagement economy that came after it. I think that endlessly scrolling facebook would not be equally addictive on a desktop computer - there is better things to do there, while there is not much else to do on a phone.
Anyone else getting "WebSocket connection to 'wss://puffer.stanford.edu:50021/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED" ?

It was working fine about an hour ago.
HN is very fast. Stackoverflow is very fast. Lots of other well engineered sites are very fast. As the article shows, browsers are well optimized and really don't download all the content again. In most cases it's just the HTML, which is streamed and rendered as it comes in. All the assets are cached, and scripts are even stored in compiled state to skip reparsing.

Some sites might be slow at generating that HTML but then they would be equally slow at generating whatever JSON/API responses used in a SPA, along with loading all the heavy JS in the first place to render it all.
> I can play a 100 kHz tone at extremely high sound pressure levels and you will never hear it

You won't hear it, but it will hurt like hell when your proteins start to coagulate.
How do we reduce the cost of two industries that are heavily subsidized and lack transparent
Very relevant: https://youtu.be/YvNxgHTWIlo
Reddit thread for more context:
https://www.reddit.com/r/worldnews/comments/cg1sh2/chaos_and...
When Canada wanted novel ritual for their engineering schools, they hired Rudyard Kipling. He adapted the story of Martha, Mary’s sister.

The Masons too fictionalized the story of Solomon’s Temple.

I think the OA could do worse than to hire Gaiman or similar to produce them a ritual set with historic resonance and good meter.
I took this image [1] yesterday in a fairly nice italian restaurant in Vientiane, Laos.

It stood out to me because of all the qrcodes and because they are all Chinese payment providers. China is building dams, roads and railways all across Laos. The workers bring their families. The families need to eat. Apparently, they like italian food.

I could go on and talk about thoughts on Libra related to this, but I would probably get downvoted. =)

[1] https://imgur.com/a/SFuqTkM
Expect a couple of releases soon, and then, probably in a fork, a replacement of the clustering backend, which will either be open source or non-free, depending on whether funding for an open source-up-front implementation can be had. I'm working on it actively right now.
Good luck building. It's probably going to be a bit more than a few weekends... ;-) if you do get something built, maybe blog it / share it somewhere.
> the use of small async requests would be a boon to everyone! But no one's doing this.

Some of us are! RFC8620 is purpose-designed for building network efficient APIs: https://tools.ietf.org/html/rfc8620
They also describe how the Belgians do it wrong.
RETHINKDB:

- There is a recent discussion about whether or not RethinkDB is dead here: https://github.com/rethinkdb/rethinkdb/issues/6747

- Judging by new PR's and commits, Rethinkdb development slowed down substantially in Jan 2016.

SAGEMATH:

- SageMath development is still very active; maybe more so, due probably to strong Europe grant support (OpenDreamKit): https://github.com/sagemath/sage/graphs/contributors

SAGEMATHCLOUD: What this blog post is "really" about.

- We renamed it "CoCalc" -- https://cocalc.com

- I rewrote everything that depended on RethinkDB using PostgreSQL. Though it was months of work, this was obviously a VERY good decision in retrospect!

- I rewrote all the realtime sync functionality to not depend on the database at all (just use a custom protocol over websockets), which is obviously a much more scalable approach to this problem. RethinkDB (and anything like it) is totally the wrong tool for implementing realtime sync for file editing.

- Development on CoCalc is very active: https://github.com/sagemathinc/cocalc/graphs/contributors

Disclaimer: I wrote this blog post and started Sage and CoCalc. I didn't repost this here, and just happened to notice it while scanning HN.
Thread from 2012: https://news.ycombinator.com/item?id=3827851
> Really interesting going back and seeing what was on the front page on some random day in 2006.

Surreal. I was on YouTube several times a day every day throughout 2006. YouTube used to actually be relatively static and unchanging, the top videos in the afternoon might have been roughly the same as in the morning.

I’m not just recognizing individual videos, I’m recognizing entire pages, down to video placements in the sorting order, seeing videos I actually clicked on and watched, maybe even gave one of like 51 star ratings to.

For some reason, it never occurred to me to look at YouTube in the Wayback Machine. On my phone right now, I can’t load any of the videos anyway for lack of a browser plug-in which around that time was basically Macromedia Flash 8 or something. Actually Macromedia might not have even been acquired by Adobe yet, or else the acquisition had just been recently announced. Either way it was Macromedia up until Adobe Flash 9.

I don’t know if I’ll be able to play any of the videos on a laptop, but I bookmarked a few familiar looking pages to try later.
>Not to get all political but I think it's pretty clear that the US is the only western country not liking Iran, and they use their influence to have the whole world obey US sanctions. You expecting OP to raise against their government? I say odds of succeeding are slimmer than storming Area 51.

This isn't exactly true. The EU is opposed to Iran's aggressive policies in the region (e.g. in Yemen, Syria, and now Hormuz) and its continued development of ballistic missile technology. They're just content with the 2015 nuclear deal as a starting point, whereas current US policy is not.

It's also worth noting that the EU disproportionately benefits from oil purchases from Iran relative to US so they have their own political self-interests factoring into their decision.
I'm always annoyed by Outlook's HTML, I remember when it set Calibri as font and the fall back was "sans-serif" which would not really work.

It really made me wish that HTML in emails would vanish, just vanish and never come back again. Sadly this won't happening.
No deal will be made unless perhaps if Trump wins a second term. One year with sanctions is not something new. As long as Iran have it’s energy supply secured.
Do you think Russian efforts on this same front are a result of US policies? Should those policies change, stay the same or something else?
My Frantic Life as a Cab-Dodging, Tip-Chasing Food App Deliveryman
Most of googles evangelization of tech and AI is a marketing and adoption strategy for google compute engine. Which is fine, but it should be seen for what it is
Dude! #scrollhijacking is the worst!
The only non-tech legit use I've seen is coffee shops loyalty points. Although you could go in and scan the code every day without buying a coffee.
So stop using a browser from a company that has a source of income besides selling your info to install a browser from a company to which you are the product. Ironic, no?

Not saying MS is not doing anything wrong, but the lesser evil I think.
Of course they're genetically transmitted, what do you think evolution is doing? Just carefully sculpting my nose? No! Its changing the inner structure of my brain. If the contours of my face are heritable, how can people possibly think the contours of my brain are not?? Insanity! How could good behavior be rewarded via evolution? How is personality not entangled in this? Its all propaganda convincing you otherwise.
The US doing nothing will hardly serve as encouragement. And India also has major coastal cities threatened by climate change. Maybe China does too.

Overall "but China and India" is a cop-out, a convenient excuse for doing nothing. China and India are actually investing in renewable energy - unlike many developed countries who have their heads stuck in the sand. And they're justified in pursuing a growth agenda because otherwise who's going to help them when the climate change sh*t hits the fan? Developed countries haven't done squat so far, so can they be counted on to help in future?
Liberal countries tend to befriend other liberal countries. So yes, even from a purely strategic perspective US foreign policy has a desire to liberalize other countries (in the classical sense of the term).
I do agree that reducing costs of bringing new medical devices to market would be helpful. The only way to do that, however, is to reduce the regulatory framework a company has to comply with.
Actually, the representation of the ancestral diet being primarily meat is incorrect - outside of a few examples where there just weren’t many plants available. Largely, humans ate what they happened upon. Meat was a scarce byproduct of another predators meal. Ie we ate what the big cats left behind.

Furthermore, the ultra refined and concentrated foods we now eat didn’t exist until very recently. The amount of sugar cane needed to produce a single can of soda isn’t something any human would sit down to eat.

Edit-changed are to ate
Low value doesn't make copyright disappear.
We always received an envelope with a dumb “emergency phone” and were expected to hand it back in closed afterwards unless we had used it to call them.
The elites in countries like Iran and Venezuela derive all of their wealth by theft from the bottom 99%, without exception.

Just take a look at the extraordinary pile of wealth and power the fake theocracy in Iran has thefted away via Setad (about $100 billion stolen from the Iranian people). Reuters has done great investigative reporting on this over the years:

https://www.reuters.com/investigates/iran/#article/part1

It turns out Khamenei is nothing more than a Putin-like kleptocrat, a thief, using religion as a cover for building a massive corporate empire on the backs of the poor Iranian people (from which he aggressively steals property). Everything about modern Iran makes sense once you read about Khamenei and Setad.

The people in the bottom 99% are the only ones who can change these countries. If you could take most of the personal wealth of the members of eg the Maduro regime in Venezuela, it would change absolutely nothing. They ultimately rule by gun, through military control. The majority - including large sections of the military - has to turn against the leadership to spur change.

Countries have no moral obligation to support the Maduro or Khamenei regimes (which is what happens when you freely trade with them and prop them up through hundreds of billions of dollars in foreign investment and oil purchases). Someone will reply to this and say: well the US is exactly the same as Maduro and Khamenei (or worse). The only proper response to that is: ok, sure, boycott or embargo the US, give it your best shot.
Forcing HTTPS apparently doesn't help people who could benefit from privacy. You don't really need privacy to learn to code.
PIDs will recycle rather than exhausting. As an aside, that's also the reason why it's unsafe to use a PID from any process other than the parent process. As soon as the parent calls wait(2), the PID is released and could be reused for a fresh process at any moment.
When baristas are paid as little as €3/hr (post-crisis Greece), tips are a survival requisite.
> A 'relatively invasive' inspection regime where you had to get permission in advance from Iran to visit 'military sites', and nearly all of the restrictions were temporary.

Thankfully, you can detect traces of nuclear material for months and years: https://www.iiss.org/blogs/survival-blog/2019/04/iaea-inspec...

On the other hand, you might now get less access, an Iran as a nuclear threshold state, and the war to stop it might not happen after all.

> There's a pretty massive civil war you may have heard of, where Iran is on the side which uses chemical weapons. Or maybe we could mention sending lots of IEDs to Iraq to kill Americans.

Those things at least are not terrorism by any reasonable definition.
Waze is Israeli. Which is actually more interesting.
fill the screen/DEC tube alignment sequence

printf "\033#8"
Remember the muslim ban, and general rise of right wing populism in the West?

There’s no way out at least not any perception of it’s existence.

We have fuel and oxygen for war, what’s needed now is the ignition.
> Slaveholders were a tiny portion of the UK economy by the time of the 1833 abolition act

The payments to slaveholders were 40% of the British Treasury's annual income and about 5% of British GDP at that time. Hardly negligible.
I am not saying we don't need licensing. I was saying second opinions can be helpful in making an informed decision. I have gotten bad advice from licensed people before as well.
Thanks for IncludeOS, that sounds interesting...

On Facebook: I'm willing to bet a switch to binary from PHP is one magnitude less of processing power required, and an early switch would've cut their server requirements by 90%. Not sure which would've been cheaper, the C devs or all those extra servers burning electricity to interpret a language during runtime.

EDIT: And that's just an economic incentive. From an ecological perspective, it's borderline criminal for a website as massive as Facebook to be running PHP.
Gallium: China tightens grip on 5G wonder metal
And yet none of those explications were cited by Trump. They would seem like obvious rhetorical wins for populist support of the fight against terrorism. A more honest explanation would have to ask what the US government stands to gain from renewed sanctions of Iran.

https://en.wikipedia.org/wiki/United_States_withdrawal_from_...
Did you know that 40% of sick days are on a Monday or Friday!
Cat filter activates during police live stream about double murder
If anyone finds this interesting, I highly recommend this lecture series: https://www.audible.com/pd/A-New-History-of-Life-Audiobook/1...

It covers the great oxidation event in some detail, and covers all of the super-early single cellular and multicellular life history in great detail.
No, you don't deserve it. In its non-horticultural sense, "graft" is a particularly tricky word, because it's familiar to most native English speakers, but can mean almost opposing things in England and America. So people often think they understand what is being said, while actually misunderstanding each other. Here's an article on the topic: https://separatedbyacommonlanguage.blogspot.com/2012/01/graf....

On the other hand, many of the readers of this blog are native English speakers, and to most of us the metaphorical meaning of the title was clear. A very useful function of voting is to re-order the comments on the page. This is a useful comment, but only for a small subset of readers. As such, it's perfectly reasonable that it would appear after the other more technical comments.

Which is to say that while you don't deserve to be downvoted, the comment arguably does. I personally upvoted it, because of my personal experience with intercontinental miscommunication involving the word "graft", but I can see why others would want to prioritize other comments. Not because it's a bad comment --- I'm sure a few people found it really helpful --- but because it's a meta-comment on a technical site that helps only a small portion of the audience.

So you should proudly keep making helpful comments like this, and not take it at all personally when they are downvoted to the bottom of the page. This is a case where you should feel confident that you did the right thing, despite the apparent feedback.
> As to why the North did not secede I would probably say that when you have the majority of the votes you don't need to be the one to leave.

This was certainly true in 1860 and arguably for the better part of the decade before that. But abolitionists had been advocating for secession much earlier. They were a major factor in the Hartford Convention in 1815.

Also, abolitionism as a movement had the unfortunate but entirely predictable effect of making the South harden its own position. In 1831, the Virginia legislature was considering a bill to abolish slavery in the state, and it had a good chance of passing. Then word came that William Lloyd Garrison had started publishing an abolitionist pamphlet in Boston, and the bill failed.
AIPAC has influence because politicians wants perception of an ally to ”defend” and so have better support for their policies. This is not about real genuine support for Israel.
> What is wrong with that reply? It _is_ hard to do it correct _and_ quick.

If it were anyone other than Google/Microsoft/Apple, I might accept that. Closing the bug (rather than assigning it to a future unknown release) because it’s “too hard” is ridiculous. It’s a valid concern, the results are noticeable even on hi-dpi displays, and it should be fixed (if not now, later).
Here's the problem - there's usually a stipulation of good faith. A Chinaman investing money in your company with the intent to clone it like that is not in good faith, and would be so adjudicated by any American court of competent jurisdiction. Even if, however, your contract is technically enforceable in American court, it's not easy to go get some one from China to punish.

In America, you're very much expected to be a "right guy" when dealing with others. Regardless of what the piece of paper says, you will (deservedly) gain a bad reputation is you exhibit bad behavior, and become a person with whom no one wishes to transact. Word will get around. I think this system of doing things is highly effective, contracts aside. Interestingly enough, this is strongest in the South, followed by the Midwest, and only occurs to a lesser degree on the coasts. I sill haven't figured out why.

China has a very different perspective. Her business culture involves things like committing embarrassing acts in each other's company, a sort of mutually assured destruction. For better or for worse, when these two cultures mix, American businessmen end up the suckers.
On the topic of generating QR codes with JavaScript, I have a project that requires generating QR codes and the various libraries I could find all seemed to be rather... poor. A lot of them were simply made for another era of JavaScript, where the only way to generate the image was to set up a table, or even implement its own png encoder(?). There were a few more modern ones, with active development, but the changelogs weren't terrible re-assuring as they were mostly fixing bugs that really shouldn't happen in a standards compliant code generator.

In the end I settled on Project Nayuki's QR code library[0]. The JavaScript is targeting ECMAScript 5, but is commented really well so it's not too difficult to refactor it into ES6+. I'm hoping to publish my efforts soon, but it still needs some more work.

[0] https://www.nayuki.io/page/qr-code-generator-library
Automated Gleason Grading of Prostate Biopsies Using Deep Learning
If what you care about is something other than economic prosperity, you have to use other tools other than economic analysis. It's not a core problem of political economy to make a system where different interpretations of what social cohesion is and how to use economic policy to satisfy them.

Though the little that political economy does to touch those subjects it will tell you: the most cohesive and prosperous societies are those that respect life and liberty and allow people to trade amongst themselves as freely as possible, and that restrictions flame anger, dissent and war. I personally find it ridiculous to argue that making most of Americans poorer and sicker to protect the wages of doctors is socially cohesive.
If you're using fixed point, wouldn't you just as easily substitute 16-bit integers instead?