skysight-inc/HackerNews huggingface dataset:
> not every society has needed to use so many pain relievers

Medicine used to do major surgery without anesthetic. It's not a world people would want to go back to.

There might be some mileage in a more integrated pain clinic approach to some kinds of milder chronic pain which could benefit from physiotherapy. But in the American context, what matters is what people can get on insurance (if any), not what's best for them.
Remember the Digg vs Slashdot wars as well?
From IIT-Delhi, Rs 10 'Nasofilters' Stay in Your Nose and Fight Air Pollution
> a massive influx of random Mickey Mouse media that would saturate the market and dilute the media

this is full of hypothetical, while we exactly know what would happen because we have concrete case studies to work from, like the old star wars expanded universe.
> Do we really want for-profit corporations working to create demand for heroin and meth?

The sensible thing to do would be to bring the supply of drugs out into the open and remove it from the black market.

Most of the issues from drugs like crime, violence and overdose deaths comes from the fact that it's a black market that cannot be regulated with standards or restricted to minors. If we regulated it similar to alcohol or tobacco (or stricter even), we wouldn't have so many problems.
copyright covers derivative work better
8-bit Workshop
AES256 using the system’s `OpenSSL`. I’d like to move to a self-contained executable with a more modern cipher but am wary of introducing too many home-brewed parts.
The entire article can be summarized in these 3 lines:

> The proposal is based on the power of discretion given to USCIS officials to decide on extensions to be given to H-1B holders waiting for Green Card. They could choose to extend from one to three years, and often chose the maximum of three, and granted some visa holders as many extensions as needed. “If it has been left to their discretion,” said a lobbyist. “They can theoretically decide not to grant any extension at all.”

A better title could be: Deportation of more H1-B holders possible as Trump admin proposes pushing visa ext. discretion to USCIS officials.

I don't know much about how the USCIS makes decisions — are they likely to decline all/most visa extension requests for Indians waiting for green cards?
Quiet in the peanut gallery
“There is no limit to what can be accomplished if it doesn't matter who gets the credit.”
― Ralph Waldo Emerson
How can you call a swat call homicide unless the entire swat team is charged with accessory to murder, being wielded like a weapon?

If you're just charging the officer and not the entire swat squad, then you're admitting that that officer stepped out of line of what the swat call should have done. In that case, there's no homicide case against the caller.

In this case, ONLY the officer should be charged with homicide.
Great article.

But MAC address cannot be considered unique, as soon as software like keepalived is running.
Much, much harder than going to the moon.
Dashlane can change your password on a lot of sites. Unfortunately they do it server-side.
Each time there is an aircraft where boeing can not compete technically like concorde and a380, they fight to make the market less profitable. I am not sure there are a380 buyers reading HN, but I think they should not buy boeing's lobbying. The more a380 are sold, the more profitable it is for buyers.
It's deliberate. The journalists know they're making a wild claim, and by asserting in the story that it's based on a "study" by "experts" at the University of Whatever but not actually linking to the original paper, the story benefits from ambient trust in the scientific system regardless of whether it is justified in this particular instance. If the underlying study was easily findable then annoying comment posters might actually read it and discover that the claim which is getting so many juicy clicks is nonsense/misleading/etc.

This is one of the key problems facing journalism: if journalists started taking measures to improve the reliability of their output they'd take a short term hit to profitability which they cannot afford.

I recently did a bit of investigative journalism myself on this very topic:

https://blog.plan99.net/did-russian-bots-impact-brexit-ad66f...

Briefly, mainstream media (Times of London, NY Times, Economist etc) started claiming that there were hundreds of thousands of Russian controlled bots posting pro-Brexit tweets in the runup to the UK/EU referendum. It was outright stated that the vote was manipulated and this claim was picked up and repeated by the British Prime Minister.

The story was based on an academic study that was not linked to or even named anywhere. However the academics in question did interviews for the media where they bigged up their results. It took some digging but I was able to find an early draft of their paper online (the only copy anywhere) which immediately raised huge red flags: the paper appeared to be deliberately obfuscated, it made claims that weren't backed by its own data and the claims it did make were patently absurd e.g. they defined a "bot" as including anyone who sometimes posted after midnight. The low quality of the paper would have been detected by comment posters immediately if it'd been more easily discoverable. Indeed it became clear that the story's foundations were weak to the point of collapse.

Interestingly after I published this one of the journalists at the Economist reached out to me to ask some questions about it. He'd done a story based on that paper which came across as very biased and I told him that. He agreed with me, at least to some extent, and told me the story had originally been much more equivocal but it'd been taken out in editing. Still, we had a decent conversation about it. I also sent it to the author of the relevant article at The Times of London and got a response indicating he'd read it, but of course, nothing ever happened there.

There are of course many other examples from pop psychological, miracle cures and so on where primary sources are either abused or are actually weak/bogus to begin with, and where demanding a higher standard of accuracy would mean the stories never got published at all.
Take a look at following news and search for the thread started by guicho271828.

https://news.ycombinator.com/item?id=15593305
This would deserve an upvote if the code was legally usable.

Since it's not too easy to spot, the paper refers to http://www.ti.uni-bielefeld.de/html/people/moeller/tsimd_war... and that page has a "Software Download" section with a custom license that has significant arbitrary restrictions:

* "agrees not to transfer [...] to other individuals"

* "agrees not to use the software [...] where property of humans [is] endangered"

* etc.

I.e. this "contribution" would only be relevant if was usable under a really free license, e.g. one of:
https://www.gnu.org/licenses/license-list.html#SoftwareLicen...
I agree with some cases, but "is this parameter/input value properly sanitized" is a bit weird. It should only every apply to a) the db framework, b) those N really weird cases that have to break the abstraction and don't use the db framework. If you have to test every input, then the problem is on a completely different level than missing a test.
What Exactly Is the Gas Limit and the Gas Price in Ethereum
VESA Defines DisplayHDR Standards for Desktop HDR Monitors
I have a 1973 edition of the "Norton Anthology of Modern Poetry", which includes six of her poems. I think the volume serves its purpose well, and includes a nice balance of British and American poets.

From the brief biography included: "After 1939, when she returned to the United States, she renounced poetry and wrote no more poems: she came to see poetry as obstructing the dedicated use of words for truth that it invited."
I thought this too, my guess is the authors felt going all the way would just seem too radical from the current status quo.
I've written a library for that purpose [1]. It's not ideal, but I guess it's as close as you can get to UDP in a browser without using extensions.

[1] https://github.com/seemk/WebUDP
There are no organizations of that scale in the US where the employees all work crazy hours and sleep under their desk

The US Navy expects officers at sea to only sleep about 5 hours a day. This is implicated in at least 3 incidents of warship collisions.
Social problems aren’t caused by tech? You don’t think that the massive increases in cost-of-living in San Francisco have nothing to do with the tech industry’s presence?
This guy sounds like he has more dollars than sense.

He’s made many foolish investments as stated in the archive link another user mentioned.

But what can I judge. He’s rich I’m not.
I swear I've seen your site before. I'd consider that good but hopefully it wasn't due to a similar scenario in the past. Anyway, best of luck!
> Taking in natives mean pay has to be high.

More than pay, it is the "culture fit" that these companies seem to care more for.

The business model of these companies involve getting most of the work done in India. For that to work, one needs phone calls at odd hours. An Indian employee will be more willing to accommodate these demands to attend work-related calls at odd hours.

As regulation around H-1B and similar work visas tighten, Indian outsourcers are trying to hire people of Indian origin who have green cards or are American citizens. I know from a handful of acquaintances that these employees are paid well - hence my thesis that it really isn't about the money.
Salil Parekh Becomes New Infosys CEO
Putin considers ‘cryptorouble’ as Moscow seeks to evade sanctions
he expects everyone working for him to share his passion for his vision.

So long as they also have an equal share in the equity... oh wait
Isn't likely to be from dice because it's such an ancient expression, like from Roman times?
Fortunately (depending on your perspective) this is the first and only time a company has not made good on their invoices.

I have great relations with every company that has paid me! And every company I’ve worked with has been satisfied with what I’ve built for them
How to catalyze innovation
The private attributes thing has also but me in the ass...encode/decide functions won’t touch private variables and won’t throw an error if all variables in a struct are private. What kind of issues did you run into with pointers inside of a struct in a map?
Not sure what you mean but it seems to work for me

https://play.golang.org/p/U9Uuy-_sdjn
Interesting to note that https://en.wikipedia.org/wiki/Kernel_page-table_isolation was created on December 29th.
As I understand it, the entire industry is like this. The reason you're constantly seeing drivers with performance updates and rendering fixes for particular games is that they've put something in the driver to work around a mistake in the original game code.

nVidia have a big developer support program, to the extent of sending their own devs to work on big titles, which makes this easier for them than AMD.
10% Off on Purchase of Crossover Gifts- YahWeh
Find perfect crossover gifts such as christian t shirts, hoodies, major 1 forex trading book, power and favour oil combo etc & get 10% off (use code “CROSSOVER”). Visit YahWeh now & place your order https://yahweh.io/collections/crossover-gifts
The secret to desire in a long-term relationship [transcript]
> Do any of us really doubt that there would be a bunch of Mickey Mouse porn?

That ship has sailed already (actually, Magica de Spell is kind of sexy...), so I don't think it's a valid argument :)
Google Drive creates a proxy link that makes sure that user actually has the proper privileges to access the content, before doing the redirect.

This can be seen by inspecting image link in Google Drive.

I was simply expecting to see the same behavior with Google Photos. As you said, at the very least it would be nice to see a warning, which turns out they provide in some, but not all flows.
Do most users of these plugins know that this is happening? Are these services free or paid?

> "The plugins focus largely on the usernames, but according to the researchers, there’s no technical measure to stop scripts from collecting passwords the same way. The only robust fix would be to change how password managers work, requiring more explicit approval before submitting information. “
The research on artifical neural networks started already in the 50ths.

Take a look at this video.

https://www.youtube.com/watch?v=cNxadbrN_aI
Given how bad AMD's Linux drivers were not too long ago. It will take years of very high quality before I trust them again.
Correction, it does show this warning in some flows: https://www.alexkras.com/wp-content/uploads/share-4.png

Unfortunately for me, I was using the other flows to share my photos.
I'm not convinced that the odds are "very very poor". Some names (like Robert Smith or Maria Garcia) are quite common. And a hobby club is not a random selection of people, members would typically tend towards a specific geographic area, social class or culture depending on the subject. Some cultures have a very limited pool of names, depending on tradition.
It's recently gotten way cheaper.

Cost per kilogram delivered to LEO:

Saturn V (used for the Moon landing mission): $8,250

Falcon 9: $2,700 (price for an expendable launch)

BFR (hypothetical, in development rocket): $500
I believe the corporate sponsor deserves credit (and protection) for work created under its direction.

The problem is that the Constitution specifies "exclusive rights for a limited time", which the supreme court appears to have interpreted as _any finite timespan_ [1].

Of course, that only establishes an upper bound. congress is free to introduce legislation to weaken current protections.

[1] https://en.wikipedia.org/wiki/Eldred_v._Ashcroft#Supreme_Cou...
Proposal for Proquints
Its a subscription magazine. So, Patreon will be useful for people who do not really want to read the magazine but donate the money anyway. Not sure how that would work.
True people do share. But you have to believe it isn’t. If your system already assumes email must be unique, then your system will make email field as a unique constraint. Otherwise what will you considered as unique?

Phone number, however, should be avoided as an ID. Far more likely to have phone number ownership changed than Google reclaiming your email address and give it to someone else realistically.
> Yes. Please, someone, make gamedev in the browser a reality.

I think gamedev in the browser is a reality, but it requires two things:

1. Familiarity with Web/OpenGL.

2. Familiarity with well-written Javascript.

Those two camps are typically not the same crowd...

There's a transition period that comes from writing dom-based UI controls into WebGL- and this scares off a lot of solid js developers.

Similarly, there's a transition period that comes from writing C# or C++ into clean JS on the level that games require (e.g. where messy code has a huge impact on development speed and sanity). For example, I think well-written javascript looks more functional than object-oriented. That point could start a flame-war of its own, but we can all agree that the JS in the wild is often messy as hell.

This assumes that JS is the language the game is written in at its core... tbh I don't see WebAssembly replacing this part anytime soon... I see C->WebASM more for like helper utilities. For example, it would be great for a tool to generate geometry for line drawing, rather than manage the logic of when and where to draw the line due to mouse events.

As more people start to glue these sides together, I think we'll see some really cool stuff on the web. Maybe even as cool as the full-flash Away3D type sites we had 10 years ago :P
The way I interpret the writing is that if one understands who she is then the act of pleasing herself is meaningless "doing" that would never cross her mind in the first place.

I really don't think there is anything in the writing that promotes/suggests the "please yourself pop culture" you mentioned; in fact, I don't think there is anything in the writing about pleasing oneself at all.

The closest thing that I can imagine is consider that you are on a hike alone and all of a sudden you feel the urge to play a tune. You take out your ocarina and just naturally play a tune. When you are done you simply continue hiking. You didn't play the tune to please yourself and you didn't play the tune to please an audience—you simply played because it felt like the most natural thing to do that moment, and it's good because of that.

> I personally believe that you can't truly know yourself unless you also invest in others so you know them well enough to contrast who you are and are not.

I tend to disagree with this. I personally think that you can't understand yourself through contrast with who others are (not least because you can never understand others better than they understand themselves)—that way you are simply creating an image yourself based on the opinions you have on other people, not because you are just being you because you understand yourself.
I've been wondering about that for a while.

So far, I've not been able to find any examples of test architecture that follows those principles online or in my day job.

I've also been too lazy to do a side project and explore a more decoupled and scalable test suite. Maybe I should get off my arse and finally do it.
Agreed, I am mostly bothered by UI that allows me to share these sacred private URL without alerting me that there is no additional security in place to insure that only user's I've shared the link with will be able to access my data.

I still think it's OK to use Google Photos. People just should be very careful with what they chose to share.
For those who, like me, looked at the original painting and wondered how many people have recreated Mondrians in Lego, the answer is: many people.
Is the Japanese learning tool online? Are you going to share it with others? I'm just curious.
"Modify the genomes of elephants like those, as nature modified their ancestors’ across hundreds of thousands of years, and you can make your own mammoths."

Yeah, right... They make it sound like putting together a child puzzle.

The differences between those 2 genomes can be vast and even if we did know it 100%, it would take a lot of effort to "craft" this DNA into a usable one and after that how would you have variance? You would need to craft at least a couple dozens randomly changing it so they can breed or would we clone the same one over and over again?

I think it's interesting to bring it back, I would even like to see it but it is one weird of a project to say the least.
Yes. But I do add a special characeter and/or a maj at a certain place when it is needed
Drug companies have aggressively and unlawfully marketed off-label use for decades, with the most egregious examples being psychiatric drugs.

Pfizer were fined $2.3bn for off-label promotion of Bextra, Geodon, Zyvox and Lyrica. Eli Lilly were fined $1.4bn for off-label promotion of Zyprexa. GSK were fined $3bn for a slew of misconduct, including off-label promotion of a dozen drugs. AstraZeneca were fined $520m for off-label promotion of Seroquel. Abbott were fined $800m for off-label promotion of Depakote. Novartis were fined $422m for off-label promotion of Trileptal.

Despite these huge fines, the unlawful marketing continues. I don't think we're taking the issue nearly seriously enough. For years, drug companies have been telling (and even bribing) doctors to prescribe drugs with serious side-effects to vulnerable patients based on no real evidence.

There's a deep malaise at the heart of the pharmaceuticals industry. Marketing has become the core function of many drug companies. Blatantly fraudulent marketing is endemic. Drug companies are chalking up billion dollar fines as a cost of doing business.

I urge you to read the GSK settlement agreement. They admitted to promoting the prescription of Paxil to children, while having no evidence of efficacy and hiding evidence that it increased the risk of suicide. They admitted to hiding evidence that Avandia increased the risk of congestive heart failure and myocardial infarction. They admitted to bribing doctors to prescribe half a dozen drugs for off-label use.

This level of corruption would be outrageous in the developing world, let alone the richest country on earth.

https://www.justice.gov/opa/pr/glaxosmithkline-plead-guilty-...
It’s a good book for adults, too!
The problem is the FDA won’t let you in practice test in humans until you have shown effectiveness in animal models.

Of course if the animal model is not similar to the human form then what you end up doing is testing a drug that worked for one disease on a totally different one. In someways it is like using a drug that treats high blood pressure and then testing to see if cures bladder cancer. You might get lucky, but it is a pretty longshot.
> You don't ever install anything, it just exists when you ask for it

Relevant XKCD:

"Installing" https://xkcd.com/1367/
I add a special character at the end when it's needed
Ah, this brings me back to the time when I was trying to convince a product manager that it was a bad idea to "validate" email addresses with regular expressions. I failed, and the product was rolled out with the following regex: ^[a-z0-9.-]+@[a-z0-9.-]+\.[a-z]{2,4}$

I quit shortly thereafter.
Where to Find a BBW to Meet and Chat
Show HN: Cppbase – A template for a simple CMake-based C++ project
> are there lessons from browsers that we can integrate into the OS?

Windows 10 is working on adding tab navigation to all windows: https://arstechnica.com/gadgets/2017/11/tabs-come-to-every-w...
It would probably work the same way it got saved: Supporting great work is a good in and of itself.
>I think the point was that for a 40 people club odd are very very poor that two people would have the same name.

Wrong. For example I have exactly the same name as my father and we're members of the same squash club.
The 99 best things that happened in 2017
Sure, i meant that x and y are different identifiers.
Nice of you to offer both affiliate and non-affiliate links, though I wish everyone would click the affiliate links so you are rewarded for the effort.
Buy Wismec Noisy Cricket at Affordable Rates – Justchillglass
I am the same guy...

Re AMP, I was not just posting to gain up-votes, I believed in all the things I said. But I did underplayed the benefits that AMP provided, for which I apologized. You can read more about that here if you'd like: https://www.alexkras.com/google-amp-is-winning/

I don't have an agenda... I saw something the surprised me concerning my security, realized that other's might have overlooked it, and wrote a blog post about it...

Re continues re post, it is not against HN terms. I was doing it because I thought that there are people who can benefit from my writing, I take a lot of time to write my posts and it sucks when nobody gets to read it. I did however go overboard towards the end, I have been warned, and I am only submitting articles once now. Such as this post, as you can see in my history.
How Java thread maps to OS thread?
Hi all,

I thought I'd kick off the new year by submitting an open-source project of mine that I haven't been tracking on Github at all until recently. I happened to check my Github account a few weeks ago and saw that it had quite a few stars (at least for my standards). I figured maybe it's useful to more people.

Moreover, I'd be happy for any and all feedback. This project is the culmination of fighting with CMake and C++ for a few years and I use it as the basis for most new codebases that I build.

I have a few ideas on how to expand it further and would be grateful for input, even if it means ripping the project to shreds.

Thanks!