skysight-inc/HackerNews huggingface dataset:
> We are most vulnerable when life does not afford us an opportunity to accumulate that experience.

We fuck up the things we only do once.

Scammers will gravitate to those events as they don't get punished by bad behavior. Ahhh, and this is why people use the big business, been around awhile car dealerships, funeral homes, etc. They get a solid dependable level of shafting instead of total shafting.

I have yet to find a wireless bluetooth headset where I can reliably (more than 100 button pressed) operate the device when it is on my head.

How do we fix capacitive touch buttons? Vibrator motor? Injection molded textures? Moar beeping?
Makes no difference to the end user. My bank recently switched it's debit card from Visa to MC and it changed nothing for me.
JPA beyond copy-paste by Jakub Kubrynski
The firebase web SDK is written in TypeScript: https://github.com/firebase/firebase-js-sdk
This is a bad idea for any serious app. I inherited a framework that did this, and it performed terribly. Not to mention, it’s an exercise in discovering browser edge cases you would have otherwise never had to worry about. Use postMessage or localStorage to communicate between windows. Don’t use window handles.
Maybe.

If I understand correctly, the process they're using is something like the following...

1) Cool the skin down to some depth by applying an icepack

2) Remove icepack and take a video of the skin with infra-red (a temperature map) as the skin reaches thermal equilibrium.

3) Process the "stack" of images by measuring the thermal conductivity at each point-- you do this by getting a curve of the temperature for each point.

This will give you a map of structures underneath the skin which have different material properties (a different thermal conductivity).
The always carrying something to identify myself is weird. In practice I usually carry my driving license around, but I'd expect to be able to go out without it (and do so occasionally if I'm in an outfit without much pocket space).
Some people are down voting him for name calling. Both republicans and democrats suffer from a persecution complex on HN. It's kind of funny.

All sites are agenda driven. But somehow sites with agendas that I disagree with are more guilty of bias. Funny how that works. Fake news, on the other hand, is claiming global warming is hoax invented by the Chinese. I would say only 10% of my facebook friends are conservative and I've only seen them post blatant lies like photoshops of black NFL players cheering the burning of a US flag. The liberals, at worst, get a little too excited about the Russian investigation. Though that has as much merit as Hilary's emails.
You can if you have to. But then you're really only doing a fancy simulation.

I accompanied my dad (power engineer) to a water purification plant where they were testing new equipment for the back up generator. There their weekly tests involved moving the entire plant to the diesel generator and running it of back up power for a couple of hours (once you start a big generator you have to let it run or it wont last long).

Potential problems for your generator that a resistor bank wont capture include, power factor (phase shift from a motor or switching supply), harmonics (from switching power), startup transients (from every power supplies' capacitors).

All these things can trip the generator, or worse, burn it out.

So if you can't test with the real load, supersize it!

P.S. Every test is a simulation of reality. At Fukushima the diesel generators flooded. Lesson - the unknown reason that'll knock out your grid can knock out your backup

P.P.S If you can, gently turning the load back on is very beneficial. Don't flip the master switch that controls all your load - flip a part of your load, wait a while for the system to stabilize, and flip part of it back.
I'm not saying it SHOULD be worth more. Just saying that market behaviors don't always make logical sense.

Right now most cryptocurrencies trade against Bitcoin. If that were to change it would require all exchanges introducing new trading pairs against some other coin. Not saying that won't happen, but it would take some time.

Also, yes those companies have revenue, expenses, earnings which can be used to value them. My point was let's say tomorrow I release my own uber competitor. Even if it is better in every way than Uber: Better UX, faster, easier to make payments, all robotic cars (debatable if that is better :]), etc, etc.

That does not mean that my app will gain adoption and end up becoming more valuable than Uber. Some of it has to do with brand recognition, first mover advantage, press coverage, etc.

A lot of people thought Ethereum would take over as the dominant cryptocurrency cause it can arguably do everything bitcoin and more, but that didn't happen and Bitcoin is still going strong.
Nope. You said fully autonomous. The cars are not the only moving objects in existence, sorry to spoil it.
"Jack Gyllenhaal"
I am doing some python to go conversions for some performance gains in parts of my stack - I really like it so far because of how they brought some of the perks of languages like python into a compiled language. One thing I really miss though is ipdb.

The Delve debugger still doesn't let you run functions and I miss all the autocomplete fun with ipdb. I hope they can make go a little more friendly to debugging in general.
As someone who's interested (but not remotely capable yet) in this sort of thing, I think it would have been nice to see some more detail as to how the system worked - this seemed more of an executive summary to me rather than giving any significant technical details; is this true or is it my lack of knowledge showing?
I don't mean to be insensitive but that is straight up bizarre behavior. In what way does Japanese business culture benefit from this? I'm open to ideas that it does add something.
I read the whole article end to end - this guy looks like he had a real interest into cooking, was willing to work hard and was able to contribute to the society in terms of a nice highly rated restaurant. It doesn't look like he wanted to draw millions of dollars from day 1 nor that he wanted his restaurant in the fanciest of the places. This should be a very normal thing to do and such people should succeed. Why is our modern day society arranged such that following this straightforward path doesn't help you make the ends meet?

Something is very very wrong.
I've met a few people who got addicted to pain killers at 15/16 years old. It started with a small prescription after dental surgery or similar, their parents left them to their own devices to take meds as needed. When the prescription was up they then went out and bought it on the street because they wanted the feeling to keep going. Some people are simply vulnerable, and even a little temptation is too much.
React 16.1.0
it is not for nothing but for wealth protection, it is impossible to do a DDOS attack because you have to burn energy as a collateral, people will exploit anything when it comes to money so this is the only fair one
They didn’t say opioids are no better than either acetaminophen or ibuprofen; they said that opioids are no better than the combination of ibuprofen with acetaminophen — something very rarely prescribed (and usually advised against on the labels of both drugs.)
Perl6 for less code and interoperate with other languages – Damian, designer perl6
"The song was inspired by a remark by Dean Holloway, Haggard's lifelong friend and tour bus driver. At the end of a packed two-day recording session at Britannia Studios in Los Angeles, Haggard went to the bus to check on Holloway, who had been minding the bus, and asked him how he was doing. Holloway responded, "I hate this place. I'm tired of this dirty old city." Haggard immediately saw inspiration, and began writing the song, based on Holloway's remark, on a nearby pad of paper. "I'm tired of this dirty old city" became the song's first line. Haggard decided that the chorus should include the narrator talking about moving elsewhere, and asked Holloway where he would rather be, to which Holloway responded, "If it were up to me, it'd be somewhere in the middle of damn Montana." "Somewhere in the middle of Montana" became part of the chorus. Haggard rushed back into the studio, where the band was packing up, and told them to unpack their instruments in order to record one last song; the band recorded the song in one take, with no rehearsal.

Haggard credited Holloway as a co-writer, entitling him to half the royalties for the song, which amounted to around half a million dollars for Holloway."

https://en.wikipedia.org/wiki/Big_City_(Merle_Haggard_song)
I wonder how difficult it would be to adapt this game to read the text adventure out loud and allow visually impaired kids to play it. The author here has done tremendous work into the mechanics of a text-based game, and I think it would be a relatively small task to port it to an "audio-based" game.

Every year I volunteer at as event at the University of North Carolina CS department called Maze Day. Students build games, which blind and handicapped children come and play on certain day. I think the children that visit in this event would LOVE a game like this, if it became accessible.
Removing much of the motivation for this crap by outlawing exploitation of user data, and making even having it very expensive and/or risky, through huge bond or insurance requirements to cover data breaches for anyone who stores such things, would be a good place to start.

And yes, that should absolutely apply to more traditional data-mining companies (credit card companies, for example).
Yeah, which is why I mentioned adding machines.
How the keyword was named when Bjarne introduced it doesn't matter, the purpose was the same as C++11 auto.
It is, if you look on externally.

If you are the employee wondering "why don't they act on this", that's still not a helpful take. Neither for you - nothing will change - nor for the manager, who might miss out on critical info.

Which is why good managers usually make sure that people are aware what the escalation paths are, and how to use them.

And why they keep hammering on the point that "not my job" is not helpful - because they (should) know that they operate on necessarily incomplete information, and that they make mistakes they're not aware of that are immediately obvious to people on the front lines.

The conundrum of management. It's your job, but you can't do it all by yourself.
5 Top Reasons Your Future Is Powered by Thorium Energy
> a single fetch from the UI knows about all the data it needs, so you can easily avoid multiple roundtrips to the database.

This needs to be backed up by data. In my opinion there's no difference between

GET /users/1
GET /users/1/friends

and

{
user(id: 1) {
name
age
friends {
name
}
}
}

Unless the backend is extremely smart and can generate (optimized!) SQL queries on the fly from GraphQL schemas, this will be two trips to the database.

Granted, there's LINQ and some ORMs where you just chain requests. And still... And the above can also be solved by providing an `Accept: application/vnd.my-company.users-full+json` in REST.

> My intention here was to say that GraphQL's ability to understand what fields are being asked for makes it easy to return specific cache controls, rather than having to put one on the whole query.

How? Skimmed through the video. Oh. Right. By providing custom `maxAge` fields to the returned data so that a custom-built gateway (that has to be schema-aware) could build a cache of that data. An exact same thing can be done in REST: add custom fields, develop a custom resolver/caching layer, voila. There is a reason no one is doing that :)
There is an industry in japan where people can get fake married[1]. Its very popular among women. Its a sad outcome of a country that penalizes marriage.
I remember when a Goldman advisor told Japanese govt to make baby and child care easier to bringing more woman into economy, he quipped "But madam, thats why we are building a big robot industry"(presumably to solve the child care system which is heavily backlogged[2][3]).

[1] https://www.amazon.com/gp/video/detail/B06Y1JVLD4
[2] https://www.japantimes.co.jp/news/2016/04/17/national/day-ca...
[3] https://www.npr.org/sections/parallels/2016/01/05/460801951/...
How to scale PostgreSQL 10 using table inheritance and declarative partitioning
To be fair I've been on the underling side of that where I wanted to build some new server we needed in a new language (coincidentally, Golang), but it was honestly just for curiosity/shits&giggles. It became somewhat of a running gag for ~5 years where every new service we needed I'd suggest Golang.
Theoretically only.
You're right he is, but if being outnumbered opinion-wise now leads to downvotes, I feel skeptical of HN's future.

Would we still upvote those who deny climate change for discussion's sake, for example?
Even non-hateoas services can be quite good ;)
When someone says that I cannot discern fake from real, and for my own well being I should be protected from "fake news" (otherwise I'll start to believe that global worming is real / not-real), than I'm being treated like I'm some type of an "idiot", so why hide that word.
Warning against cheap keyloggers: Get expensive high quality keyloggers from Microsoft, Google etc.
I find it appalling that you don't even confront the question of "why are we using algorithms to promote news"?

Unless Google can somehow find a way to reliably present factual content, what they're doing here is fundamentally irresponsible.

That their choice of editorialization strategy is based on algorithms is entirely besides the point. The proof is in the pudding, and Google's pudding sometimes has chunks of shit in it. The onus is not on me to understand why that shit got there to be able to state that I don't want shit in my pudding.
There is a lot of buzz around virtual reality, but it seems to me this kind of business is scarier than any head-mounted display.
I worry far more about malicious collectivism.
Yeah, look, I staggered into the ER with a shattered collar-bone and a shitload of missing skin, and 10 mg of oxy had me feeling pretty much FINE while a nurse took a coarse sponge to scrub the asphalt out of my wounds.

Overprescribed, yes. Comparable to OTC? Absolutely fucking not. Claiming that ibuprofen is as effective as diluadid or morphine is completely disingenuous.
Word from the field this summer is the practitioners are advancing rapidly through sheer will. They literally shed the fluff and get down to business. With skin in the game, they jump hurdles in the field overnight!
Did they invent some new mechanism to detect melanomas? Or did they just automate existing methods?
If loneliness is a huge problem why don’t people become friends with strangers more often?
I think what you're missing is that GraphQL isn't SQL, but rather a SQL-ish query language that supports a limited subset of what SQL does. Additionally, GraphQL lets the server define the schema that's being exposed to the client independent of the actual storage underneath that, including defining and limiting the types of mutations that can be applied. If you were to simply expose the ability for clients to feed SQL queries into your backend then you have to worry about policing those queries, scrubbing problematic values out of the queries, and in general preventing users from doing bad things with your database. By exposing a GraphQL interface you're providing a limited and tightly controlled view into your data, but still allowing the client the freedom to specify the shape and partitioning of the data being returned.
In the US, everything needed to initiate an ACH is printed on a Check... and people feel very safe writing checks to one another and to companies. You never really know who sees your checks, where they are stored long-term, etc. Also, it's trivial to find a website that will sell you a box of checks, they do no verification to your identity/ownership of the accounts, they basically just print what you tell them to. Nothing is secure about banking, it really does need a modern reboot where we just sever ties to the legacy features
It can be done easily. I would say it will be done in the future by governments and forced on us. The amount of control a government would have with a forced cryptocurrency is the only problem I see.
Soothsayer in the Hills Sees Silicon Valley’s Sinister Side
This isn't an issue of poor enforcement. Unlike the state sales tax problem, it's not that taxes that are legally owed not being paid. To go with your metaphor, you're proposing New York ask for some new tax for sales made in Oregon (which has no sales tax) if you have an office in New York because they think it's unfair that Oregon has no sales tax.

That some companies are getting low effective tax rates largely comes down to incompetent tax regulation in the EU and a few of its member states. If they really want that money so bad, they can change their laws. The US shouldn't try to take it until they do. If nothing else, when the EU does get around to fixing its laws it would be a nasty shock to the department of the treasury as that money stops flowing in.
Implies the new variable's type to be the return type of the assigned expression.
>Today we in the developed western world freak out about 60 people dying, and a single 9/11 is a world shaking event.

Keyword being Western - if the killings don't happen there they somehow don't count. Around 400,000 people died in Syrian war - that's 2% dead count out of 20 million of pre-war population; pretty close to what you mentioned is WW2 level.

>Scaled up to present day population that would be more than 231,000,000 killed

The fact that we by random chance managed to avoid a global war in the last 70 years doesn't mean that when it finally hits the death tally won't be 231,000,000. In fact, I'd say it's going to be much higher.
Ask HN: Why can't I play YouTube videos inside Facebook anymore?
I googled this but I couldn't find anything useful. Facebook compels me to open YouTube videos in new tabs like normal links instead of playing it inside Facebook. Is this the new trick by Facebook to advance it's video business and make people more unwilling to open YouTube videos?
If someone from Watsi sees this, I'd love to know if this is something they'd work with their clinical partners to deploy.
Move slow and build things
Sheeple Magazine is a great training corpus for this.
Elastic acquires SwiftType – a conflict of interest with open source?
You mean like every human-curated news source since the beginning of time?
Yes, we've updated the title to a representative phrase from the linked page.
I don't get the US stance on opioids. In Germany they are heavily regulated and can't be obtained without special prescription giving them an rather exclusive aura. No German doctor would prescribe them for headaches and people only really get them after serious surgery for a really short term. Advil (Ibuprofen) and Aspirin (ASS) are far more common here and used for pain management at a far broader extent than in the US. And frankly so, Germany doesn't have an opioid problem.

That said, I think Bayer (manufacturer of Aspirin) being a German company could have something to do with that, on the other hand seeing the immense money spent on lobbying by Opioid companies in the US really says a lot. IIRC Purdue even paid university professors to downplay risks of Oxy in front of their students so they would get a biased view on them already.
I thought about this too when I was writing my comment but then I was also hoping that someone else will correct me.
Watch out popping ibuprofen in large quantities, it is hepatoxic.
Bitterness is a naturally evolved reaction to unpalatable and dangerous foods. It's not a false premise, it's merely the biological premise behind the development of bitter receptors in the first place. We developed bitter receptors to help us identify dangerous plantlife. https://en.wikipedia.org/wiki/Bitter_taste_evolution (Or for the biologists out there, random development of bitter reception was naturally selected for as a trait which improve fitness). However some two million to half a million years ago, we stopped depending on bitter reception for survival as much because of meat eating and cooking. So it's not expressed as strongly in people anymore.

So sure, some people enjoy bitter. But people do bad things. Alcohol is a poison through and through and we as a species love it.

Doesn't mean it's not a poison! i.e. just because someone enjoys bitter doesn't invalidate the fact that bitter is unpleasant and our natural instinctual reaction to it is avoidance.
>In a randomized, double-blind clinical trial—the gold standard of trials—a combination of ibuprofen (Advil) and acetaminophen (Tylenol) was just as effective at treating patients with acute pain in an extremity as three other pain-killer combinations containing opioids.

They tested medicine combinations (400mg of ibuprofen and 1,000mg of acetaminophen), not ibuprofen alone.

Extremity pain (arms and legs) was tested only, not pain in general.

They only tested medications delivered orally, not intravenously. That distinction is very, very important as intravenously administered medications have a much higher placebo effect than orally administered medications. In fact, I'd love to see a comparison of orally administered opioids vs intravenously administered NSAIDs.
That's nice yes. Isn't it rare to deprecate fields though? And you can't be sure some of your clients are not overfetching "for convenience / just in case", especially if they don't use the full suite of Facebook libs.
>io.Reader and Writer are interface{}'s[1].

With this statement, you've shown you have close to 0 Go experience.

* interace{} - a place-holder for a value of "any type". It means "a value that satisfies the empty interface", i.e. an interface with no methods. All types implement it. To do anything with the actual data it encapsulates, you have to do a type assertion to unbox the value. The type assertion will panic or return an error if the type assertion is incorrect. This is something like C's void , or Java's Object.

io.Reader, io.Writer - these are interface types that specify a set of methods that must be implemented by another type in order to satisfy that interface. These are akin to C#/Java's interfaces, but are less restrictive in the sense that any type in Go can implement them, not just "classes". E.g., http.HandlerFunc - a function type that implements the http.Handler interface.
counter-anecdote: my doctor told me to use precisely that combination for severe pain. She said you cannot combine multiple NSAID's (ibuprofen, naproxen, ASA), but you can combine an NSAID with acetaminophen.
Acute pain from injury? Give me opioids. Post-surgical pain while in hospital? Opioids. Released from hospital? Opioids probably shouldn't be prescribed.
https://www.google.com/search?q=emoji+fistbump

Thanks man!

1138 is one of my favorite documentaries about the future. There are a lot of naysayers around here, but only because of the high fidelity mirror you present them with. It is only their own self loathing.
We use a janky vpn system where every device connects to a mother server on the vpn and sends messages to a port on a GO server. Looking to transition this to a real MQTT broker soon (hopefully before scaling forces us to). We'll probably use AWS IOT rather than brew up our own. I have used Xively in the past as well. For testing I use HBMQTT (python based open source).
horrible interview. Who cares about actors playing as your spouse or whatever.

Why didn't interviewer get into the logistics of being able to rent a human infant!? This is perhaps the most inconceivable aspect of this business.

Any guesses on the logistics and safety protocols for renting one's infant?
have you heard about Lazy Image Load?
Assuming its sending it as audio, and not as transcribed text which is both smaller and also much more compressible.
The Git index race condition