skysight-inc/HackerNews huggingface dataset:
note: the article mentions that the app is written in TypeScript which _is_ statically typed and therefore many of these optimizations are at least possible if not in place
Previous discussion has this top comment (https://news.ycombinator.com/item?id=11652159) by cant_kant, which I believe is worth posting here:

Sensible doctors do not believe drug company marketing.

I get large amounts of ad-junk from drug companies that ends up unread in the bin. I refuse to meet with drug company representatives. I smile politely at them if I bump into them in the corridor and suggest that they leave their ad-junk with my secretary. My staff then file their ad-junk in the trash bin.

On Friday, I had a drug company representative attempt to tell me ( he was hanging around my coffee area ) about the joys of Targin, a fixed-dose combination of oxycodone and naloxone. I gently shook him off, and directed him to my secretary.

Drug company representatives are usually decent human beings with lives and families. However they are poorly educated, poorly informed salesmen and women with sales targets to meet and product managers to keep happy. Even worse, they and the drug company have no accountability if a patient dies because of their recommendations. If avoidable death supervenes or if there are non-lethal complications or even just therapeutic failure, I am accountable.

Instead of relying on marketing, I rely on information from good, well performed randomised controlled studies published in reputable peer reviewed journals ( I like the NEJM ) and on meta-analyses of these. I view the results of these through a filter of scepticism, cynicism, pragmatism and a modicum of hope.

Many of my colleagues do likewise. I trust that you do the same in your respective vocations. Regrettably, there is a bell curve. I am sure that the drug companies find enough gullible prescribers out in the wild for their purposes.
Are all of these jobs at the same location SF? The jobs page (https://www.codeforamerica.org/jobs) lists locations "Headquarters", "San Francisco, CA, United States", and "San Francisco Headquarters" as if they might be different places.
Offtopic, but why does this page have no downvote buttons anywhere?
With your real finger doing the action it doesn't look as jarring.

But good point, thanks for the feedback.
I have seen this too, but it turns out they also hide from their wife at the bar afterward.
Expense and convenience (a thing with access to your blood isn't very convenient).

IV pain management often includes a button the patient can push (that releases a dose and sets a timer for the next dose). Or at least it used to, I don't know if it is still done.
If your timelines are so severe that you can't spend five minutes reading the jQuery docs in a day, it might be time to look for a new job.
I read or heard somewhere that a lot of modern brain surgery techniques came out of Vietnam. Thanks to the basically new invention of military helicopters, they could rapidly medivac people who previously would have just died in the field with no hope of survival. They had people out cold with dirt in their hair, etc, and they began doing things like going in through the mouth which was cleaner, had less hard structures between it and the brain than the scalp and generally healed up better.

I also saw a video, probably a TED talk, by a guy who was asked by the military to revolutionize prostheses for military members who had lost an arm. He initially said that their ambitious goal for improved functionality could not be done. They inundated him with stats on people who had lost an arm serving their country. Their punchline was the number of soldiers who had lost both arms. At that point he caved and accepted this crazy sounding, "impossible" task which led to radical improvements in the tech, iirc.
If I understand your question correctly, submissions have up-vote and flag. They don't have down-vote.
AAC has widespread support, Opus does not.

Unless you know what you're doing (have to use the Ogg container and a .ogg extension and use Android >= 6.0), you can't fill an Android device with Opus files and play them back like you can AAC or MP3. I don't believe you can play them back at all on iOS. Mobile devices also often have a hardware codec that allows them to save on battery somewhat, when playing other codecs.

Plus desktop support is limited. Browsers support it but widespread desktop apps like iTunes generally don't.
The two women say they were not raped, and were railroaded by Swedish police.

> "On a point of law, the Swedish Supreme Court has decided Ny can continue to obstruct on the vital issue of the SMS messages. This will now go to the European Court of Human Rights. What Ny fears is that the SMS messages will destroy her case against Assange. One of the messages makes clear that one of the women did not want any charges brought against Assange, "but the police were keen on getting a hold on him". She was "shocked" when they arrested him because she only "wanted him to take [an HIV] test". She "did not want to accuse JA of anything" and "it was the police who made up the charges". (In a witness statement, she is quoted as saying that she had been "railroaded by police and others around her".)

> Neither woman claimed she had been raped. Indeed, both have denied they were raped and one of them has since tweeted, "I have not been raped."

-from http://johnpilger.com/articles/assange-the-untold-story-of-a...
Steve Jobs did that more than most, so did Thomas Edison, yet we venerate them for doing so. There must be a different reason people dislike Wolfram. He's obviously a brilliant guy, his premises make a lot of sense and he's been much more successful business wise than most mathematicians. I'd think he'd be a poster child for HN, not an object of hate.
No, developers just need to stop being sheep and start evaluating technology for what it is.
Apple has told several social-networking apps to disable their ‘tip’ functions
Work to make widely-deployed software more efficient. For open source software, anyone can help with this. Data centers are ~2% of U.S. energy consumption [0], and that will probably grow.

[0] http://www.datacenterknowledge.com/archives/2016/06/27/heres...
> ... mixing in humans is, in my view, fundamentally wrong.

The humans were part of the original emoji on Japanese handsets, so in order for unicode to be compatible with a very large, existing text-base, they had to include people when their incorporated emoji.

So mixing in humans isn't a wrong turn, it has always been there.
That table is for opiate use, which needs not be (at all) ab-use. Your argument does not stand on that data.
I certainly know people here (Denmark) who are hooked on prescribed opiates for no real good reasons at all. They are, in all but their own perception, addicts.

Seems to me it comes down to competence and ethics of individual doctors, as well as to preferences and susceptability of individual patients, of course.

We are not experiencing quite the epidemic proportions of the US, presumably owing to a different structure of health services, and probably a higher general level of scepticism towards medical authority, but the mechanisms and the potential are clearly in place.
I think you could say the same thing about almost any first world country.
A Grand New Theory of Life's Evolution on Earth
No mention of the alleged victims in the OP?

Here's the NYTimes story: https://www.nytimes.com/2017/05/19/world/europe/julian-assan...

'Elisabeth Massi Fritz, who represents the woman who accused Mr. Assange of rape, issued a scathing response after the prosecutors abandoned the case.

“A legal examination is very important for someone who has been raped, as is the possibility for redress,” she said. “In this case, there have been many turns and the wait has been very long. My client is shocked and no decision to shut the case down can get her to change her position that Assange raped her.”'
>This is not only demotivating and unfair but also very inefficient, since companies will often tend to solve problems using manual labor instead of seeking more innovative solutions.

FTFY, since I think you just described the problem with the low-wage economy as a whole. But it's especially bad in science, where innovation and knowledge are the core competency.
You're not factoring in market timing and drawdowns. Average is great if you're living 10 lives at 10 different moments in history, but we only get one.

Put 25 million in the S&P 500 (qqq) in March of 2000 and draw 2 million a year on it. You are out of money inside of 4 years.

There is no 100% safe place to stick that much money and live off of it. The world is too dynamic and it takes real skill and work to make money work for you.
Heh. Since this only works before a reboot and Windows 10, by design, destructively reboots with no recourse, I could imagine this ironic farce:

a) security holes lead to a ransom, b) security holes let you reverse the ransom, but c) forced reboots kill any hope you have of recovering with this kind of hack.
> Say you have a messed up disk in your spine. Surgery is tens of thousands of dollars.

There are situations where risks from surgery are potentially worse than the (yes, possibly misinformed) side effects of painkillers.

Is there any data on this? Anecdotally, I know a few people who are either living with pain or taking medication because surgery is too risky.
> But what if drivers don’t make enough to cover their rental charges? The company has clearly considered this possibility, as it’s included in a program FAQ. “No problem,” Uber says. “When you pick up your vehicle, Enterprise will take your valid credit or debit card to place on file. In the event of a difference, Enterprise will automatically charge the outstanding balance to the card on file.” See? No problem.

https://qz.com/563622/ubers-new-car-rental-program-for-drive...
I don't know when the circus died, but I think it is more than the elephants missing. I took my kid to see the Circus Extreme show this year, since it's their last tour. That's not the circus, and my parents and grandparents would say the same thing. It didn't look, smell or sound anything like what I knew as "the circus." My kid is never going to know that. He was quite amused and entertained by the show, though. I have to say it was a good show but I came with these old ideas about "the circus."

When we got home I found a copy of [0] and my wife and I got pretty nostalgic.

[0] https://en.wikipedia.org/wiki/The_Greatest_Show_on_Earth_(fi...
>Science is very well funded in the U.S.

Then why do the grant agencies have a constantly-declining acceptance rate, and budgets that basically stay constant every year in real dollars while the economy as a whole grows?
Quite the opposite, that is the reason why websites like Twitter should honour DNT.
Joe Gregorio has a great video presentation that answers some of the questions I see posted here:

https://www.youtube.com/watch?v=GMWAHzXQnNM
I don't really have a strong opinion about either issue, but it isn't necessarily incoherent to simply want the FDA be be better in both cases.

Like what if some of the requirements for new drugs are arbitrary (slowing approval) and the standard of proof for novel release mechanisms is too low?
Yes there is, @mholt said it’s a WONTFIX. You're supposed to script it yourself.

https://github.com/mholt/caddy/issues/1632
I'm a complete layman, but I've heard an economist say something different about real wage rising. Doing some searches, I think making that conclusion might also be misleading. Here's some of the stuff I found out:

- There was a recession in 1980s , so it's shouldn't be used as comparison point

- If you look at inflation adjusted historic data: http://web.stanford.edu/class/polisci120a/immigration/Median... - in 2000 adjusted, there hasn't been any increase since 1970s. Since 1970s it's been ~40k in 2000's dollar. Using this: http://www.usinflationcalculator.com/ shows - ~40k in 2000 is 56.8k in today's money. Looking at real wages for in recent times https://fred.stlouisfed.org/series/MEHOINUSA672N - the last (2015) data shows: 56.5k So, it looks like real wages hasn't grown at all in recent history.

Note that I went looking for info to match what I've heard an economist say on youtube video: https://www.youtube.com/playlist?list=PL-uRhZ_p-BM4Pei6Xlr_A... (episode 4 is most relevant to current topic)
#FUNcationFriday What Is FUNcation? Drone Giveaway Each Friday
Who's a VC's Customer? Brad Feld Explains
Serious question: Is the elephant thing your view or your kids' also? I loved the (now discontinued) Aladdin show at Disneyland, and the highlight of the show (judging from the crowd's reaction) seemed to be when the 'elephant' entered.
This is a little over my head. Could you please explain how to use it?
"The people who rule create a lot of value"

not

"We need exploitative rulers in order to create that value"
I linked the NY Times story above, but at least one of the women remains adamant that she was raped, and is shocked by the decision to drop the case. https://www.nytimes.com/2017/05/19/world/europe/julian-assan...

'Elisabeth Massi Fritz, who represents the woman who accused Mr. Assange of rape, issued a scathing response after the prosecutors abandoned the case. “A legal examination is very important for someone who has been raped, as is the possibility for redress,” she said. “In this case, there have been many turns and the wait has been very long. My client is shocked and no decision to shut the case down can get her to change her position that Assange raped her.”'
I just got ACL surgery and am doing the entire recovery (day 11) without any painkillers stronger than ibuprofin. This is not because I'm so brave, but because I know the pain associated with opioids to be so much than the physical pain in my knee. We've got to aggressively pursue alternatives.
On CSS Preprocessors
Seems we could just layer any of these other techniques then. The big thing is layers, and neural networks just get traction because people think we're discovering something important about the brain and mind. So it's just PR at the end of the day. Not a true breakthrough.
This! Living in the UK for the last few years, the difference is remarkable. Yes, the UK has its hypochondriacs, but the comfort culture in the US takes it to a whole other level. Great for business, I imagine.
They probably are.

But some applications will decode the percent-encoding too early in the process of normalizing, security-escaping, and processing the URL. Encoded slashes in URLs are problematic [1][2][3][4][5].

[1] https://httpd.apache.org/docs/2.4/mod/core.html#allowencoded...
[2] http://stackoverflow.com/questions/3235219/urlencoded-forwar...
[3] http://codeinthehole.com/tips/django-nginx-wsgi-and-encoded-...
[4] http://stackoverflow.com/questions/3040659/how-can-i-receive...
[5] https://groups.google.com/forum/?fromgroups#!topic/django-us...
It's already been disrupted, the disruptor is called Cirque du Soleil.
Oh, odd! Yeah I'll get that fixed.

Yes — San Francisco (SOMA) is the location for all of those.
Agreed. Money can't buy everything, including experience and awareness gleaned from personally facing the problems such NGOs target. The knowledge accrued could demonstrate value later.
OT, but I'm curious if there's any manual memory management analogue for moving GC. Generally in that setting if you want to allocate a bunch of objects with good locality you use a slab allocator. But what if you want to compact that slab after a certain period of time because of fragmentation, or you have a bunch of object already on the heap you want to move together onto a single slab? The complexity is you have to have a way to update all the references to those objects.

I'm curious if anyone knows of such work that has been done?
Regular reminder that Signal has had 0 messages ever provably decrypted and that Telegram has had 0 messages provably decrypted. All of the MTproto weaknesses are theoretical and have 0 working proof of concept attacks.
yo people - you guys really need to handle slashes properly!

They are quite important for www-stuff you know.

"a majority of the OCSP requests we were receiving were prepended with a slash"

Everything is unsafe - one has to make sure that external data is converted into a sane format internally; and to never assume that external input can be safe!
China is still a developing country, there are more people in China that do not have access to electricity or then entire population of many of those 40 or so countries between it and the US on that list.

China has an energy problem if it wants to continue to grow it needs to increase its energy production by a steep factor.

It has a growing working and middle class that wants refrigerators and air conditioners.
It still has half a million households had are not connected to electricity and many many more that are not connected to other utilities such as sewage.

China is investing in every energy solution it can because it's in a desperate need of more juice.
Can you point out something that talks about macros in Clojure vs Common Lisp, or SBCL in particular?
When did that comment say anything like that?
What does that actually mean? If I stop and think about it, I'm experiencing a variety of chronic pains right now. Most of them don't warrant an aspirin, but they're pain nonetheless. Your response here is really a quibble over definitions: in context, I'm clearly talking about "chronic pain whose severity warrants powerful opiate analgesia" ("powerful" because maybe we should have T2 or something like it available in the US).

I tried to avoid this pointless debate with a second paragraph to immunize my argument from the trope that arguments against opiates are arguments in favor of pain.

My point --- I think obviously --- is that no underlying medical pathology occurred to spur the uptake in consumer opiate products.
Animals memorize too. But, humans generalize, and that's the secret to our success. That's why generalization is a big deal and not memorization.
For those interested in this topic and how the opiate epidemic has stretched across the US, read Dreamland by Sam Quinones (https://www.amazon.com/Dreamland-True-Americas-Opiate-Epidem...)

There are a multitude of reasons to explain how this happened but to quickly sum up an excellent book:

- Purdue created the whole "sell-direct-to-doctor" phenomena that is now the norm in the US medical profession

- One bad study that showed opiates for pain relief are NOT addictive and this study kept being cited by sales people

- Mexican drug dealers from a very tiny area in Mexico importing black tar heroin

- A prevailing idea in the US that people should never be in pain and managing it through lifestyle changes is not acceptable; a quick fix is needed

- economic depression in the Midwest and Appalachia regions

But really, read the book. It's eye opening and well written.
It is perfectly good statistic for POLITICIANS because 4.4% uneployment rate does sound much better that 22.1% reported by ShadowStats. Former is typical for rich (e.g. G-7) countries, latter would make US look like 3rd world country in that regard.

You might be right that it does capture info about how hard it is to find a new job as the software developer, or a lawyer, but tells almost nothing about blue collar jobs.
I think part of it is how the social safety net is done in the US. Americans have to "deserve" help, so when the lumber mill closes down for good, the 50 year old manual laborer has to become "disabled" due to his back pain in order to access the money he needs to survive. I've heard anecdotes of doctors asking whether patients have college degrees when they come in complaining of back pain. And the ranks of the disabled have swelled tremendously in recent years.
Not sure how it's different than uship, freightcenter.com, freightquote.com
A little history-and-context-free, are we?

First, this is the text of the tweet in question:

"Any black or brown engineers wanna work at Code for America on criminal justice? Come code to keep people out of jail, it's worth it."

Your assumption that the poster is not OK with non black/brown engineers is an assumption.

I'd add, your comment is context-free and somewhat disingenuous, considering that we live in a society which has had a high degree of (and still has a significant amount of) systemic/institutional racism:

https://en.wikipedia.org/wiki/Institutional_racism#United_St...

If one wants to talk about racially targeted messages, well, there's plenty of good studies on portrayal of minorities in media (film/tv/news).

I think you raise a valid topic of discussion, but don't seem to want to put all the facts on the table before drawing conclusions.
Yeah, the last hackathon-type thing I was at, we had a few projects that desperately needed a little bit of TLC from someone with solid programming chops to help push them forward.

Instead, we ended up with half a dozen prototypes of new projects solving problems no one had.
Ask HN: Why don't more websites use HTML 5 Audio for button clicks, etc.?
Curious why more websites don't use what I thought would be one of the more popular HTML 5 features for UI interactions. Would they be annoying? A lot of the games I've played make use of those sounds, and they enhance rather than annoy. What are your thoughts?
I've personally experienced working with a junior dev who changed careers into development, had a desire to learn but just couldn't grasp the logical concept of development.

I've also seen self taught developers - mostly "database developers" - who had the aptitude to break problems down logically and get something working but their code was unmaintanable except by them (barely), didn't scale, and required manual intervention for failure cases.

On the other hand, I've known plenty of business analysts who spend most of their time documenting processing and working with customers who could easily move into development. They seem to have a natural aptitude when it comes to breaking problems down logically.

Some people just can't learn to code. Their mind doesn't operate that way. No one would ever say that why don't people learn how to sing or play sports because those can be high paying careers, because most people understand that not everyone has the natural talent to do so. Why does everyone think that anyone can learn how to be a developer?
Even stranger is that it's a non Google language (Kotlin) that's receiving all the exposure at Google I/O.
Netflix booed at Okja’s Cannes premiere
It seems to me that the real question is: is that the normal procedure for this kind of questioning in Ecuador territory?

I suspect that this is the case.
My understanding is that he had consensual sex with them, they went to sleep, then he had nonconsensual sex with them while they were sleeping. They were individually disturbed by these events, but did not decide to file charges until they compared stories.

That's very different from "the sex became nonconsensual retroactively". And I don't think it's uncommon for women brave the consequences of speaking out about sexual assault when they believe there's a pattern of behavior they can protect other women from.
Folks interested in this unusual combination may also be interested in the use of particle tracks to date geological samples

> "Techniques for geological dating of minerals by chemical etching of fission fragment tracks"

> http://www.sciencedirect.com/science/article/pii/00167037649...

and the even more surprising case of using ancient rocks as particle detectors with extremely large exposure times (> 1B yr)

> "Unique Signature of Dark Matter in Ancient Mica"

> https://arxiv.org/abs/astro-ph/9701215
I"m not sure that it is, given that the empty interface is more annoying (IMO) than just wrapping a native map in a sync.RWMutex.

Especially considering that sync.Map just uses a mutex under the hood: https://github.com/golang/go/blob/master/src/sync/map.go#L19

edit: although reading the comments, apparently there are conditions where the mutex does not always need to be held. This would be an improvement over sync.RWMutex wrapping.