skysight-inc/HackerNews huggingface dataset:
> Hospitals are required to disclose prices publicly, but the latest change would put that information online in machine-readable format that can be easily processed by computers.

This is great news and step zero on the long road to transparency in the voodoo that is USA medical billing.

What would be really awesome is if someone can get non-Medicare versions of these prices and somehow marry that with the co-pay / co-insurance of common insurance plans to give people an idea of what they'd be on the hook for. At the moment nothing short of going through with the medical service and then taking a time machine will get you the true answer. And even then they can retroactively change it!
It's more like they were real Gucci bags, but the Gucci label had worn off and he's getting prison time for restoring the label.
It would be better for them to continue to let theaters die off, than breathe life into their competition.
It's not meaningless. Because you know if the procedure costs X, and your insurance covers 80%, you know you will only pay 0.2X at most. There will be no random charge for thousands of dollars for something trivial.

And it will introduce price competition.
You think there were only two names on the ballot?
as someone who only has a little experience with pattern matching, how does this look bad? The syntax looks good enough to me that I could and would want to use it.
We're about to start the process of getting authorized as a bank in the UK (we want to be a digital-only bank that handles client money for companies like Coinbase, PayPal, etc).

The Bank of England and the FCA's resources on how to go through the process have been invaluable. The founding team is American and we've literally relocated to the UK because of the friendlier regulatory environment in order to do this.
I will never understand the people who dump blame on the CEOs without moving on to why the government doesn't hold them accountable.

The CEO's job is to create value for shareholders. The government's job is to create laws that benefit society and enforce them.

Fine, a lot of CEOs suck but it's basically their job to suck to the degree allowed by the law. Why don't we work on changing the laws instead of endless complaining about the CEOs.
Bonds can be sold, thus lowering their price and making it harder for Tesla to sell new bonds.
The plaintiffs believed that this power interfered with their right to profit off their products free of "copycats". The Supremes agreed with you; they held that the rights of exclusivity to an invention protected by a patent were rights granted by the government, not inherent rights, so the government was free to revoke them even absent a court challenge.
Opioid addiction is because opioids make you feel really good and they are really addictive and they had a tendency to be overprescribed. Blaming the economy for opioids is like blaming airplanes for AIDS.

As far as the wasteland heartland, I am not sure if Texas is included in the heartland, but the Texas economy is one of the biggest in the world — about as large as the GDP of Canada and larger than that of South Korea. Basically Texas is the 9th or 10th largest economy in the world. California is 5th or 6th. The state of Ohio’s economy is only slightly smaller than the entire country of Belgium.

The desolate wastelands are in the non-major cities and towns of Europe. Avignon France, for example, in the city center, has blocks and blocks of boarded up storefronts. Unemployment in Avignon is over 15% and only 35% even earn enough to have to pay income tax. Gary, Indiana, about as heartland as it gets, has a 7.6% unemployment rate — a rate that is declining. By European standards of GDP, disposable income and unemployment, Gary is a boomtown.

Don’t just consume the NPR-worthy stories of the death of the US heartland. Remember, most media outlets in the vein of the Atlantic, NPR, etc., they are typically coastal elites who have barely ever visited the heartland, let alone actually lived or worked there. They are also an echo chamber pushing an when’d a of a certain political persuasion, so it helps their narrative when “fly-over country” isn’t doing well.
Rust is working on exactly this, targeting stabilization later this year: http://aturon.github.io/2018/04/24/async-borrowing/
Except ternary expressions have the huge advantage that they allow assigning to const. Eg:

const var =
val == 1 ? 1 :
va1 == 2 ? 2 :
null;
None of your examples actually use intellectual property of McDonald’s, ram or milk products.

It’s like selling your own burgers with less calories and calling them Big Macs and selling them next door from McDonald’s store. You can’t do that according to law
How is "unlock the phone, click on the picture of the phone, dial number" a horrendously unfriendly UX?
What do you need the battery for? No power at your desk, or just something a basic UPS could handle?
Its an interesting concept but, The choice of syntax seems bad.

The definition bit looks like a function definition but behaves entirely differently. Why? Why not make it a constructor like everything else? People could look at it and be like "oh a match object" instead of wondering if you overloaded function.

The selectors look like json, only assignable. Again make it obvious.I mean we could even just make it json why not.
Yeah, that gets _wayyyyy_ past what I want to do.

There are quite a few existing libs for doing data fetching and collection management ( https://github.com/markerikson/redux-ecosystem-links/blob/ma... ), ranging from simple normalized reducers to complex "auto fetch from a REST or JSON-API and provide full CRUD support" libs.

I simply don't understand the complaints about switch statements myself, but it keeps coming up, so it seemed like a simple enough starting point for a "starter kit" library like this.
Azure Container Instances now generally available
Sexual harassment can and does frequently rise to the level of criminal conduct. Dave McClure's behavior, which he will face no legal repercussions for, comes to mind.
I lived in Beijing for 10 years working in tech so know it pretty well. I always surprised how much smoother things were in SH in comparison to BJ. Heck, many second tier cities (like Hangzhou) were much better run than Beijing.
I'm not quite won over, but the links to Dijkstra's work were a goldmine for me! Totally agree
I stopped going to the theater for a long time until the local theaters put in large recliners, reserved seating, and cheap-ass Tuesdays. All seats for all showings on Tuesdays are $5-7 (depending on the theater). So we have started going back to the theaters on Tuesdays for spectacle movies like Star Wars and Marvel.
That is why I think we need some way to identify pattern matching + exhaustiveness checking, vs non-exhaustive switching matching is really more like "destructuring with syntactic sugar".

Exhaustiveness checking is what elevates pattern matching to the other side of the expression problem, which is about getting feedback from the compiler to help you write programs.
My spacebar locked up on me briefly a week after purchase - calling it dust would be BS. Doesn't bode well for the future.
But this concept does also solve that problem. Maybe more simply.

Rust is renowned for being a total headache with borrowing and lifetimes. Nurseries might be a simpler solution for this.

As you say, a corner case. But a common one...
That sounds like a fantastic message to impart to your community.

Can you talk a little more about where that message comes from, the specific forms it takes, or maybe point readers towards other sources that talk more about Salt Lake City? I'm embarrassed to say I know next to nothing about the city or surrounding state...
> And the purpose of shopping around is comparing between hospitals. List prices should be a good relative predictor for comparing cost.

When is the last time you dealt with any healthcare bills? This is almost universally untrue. Hospital A's list price for an MRI might be $1000, but your insurance has a deal with them where you only pay $100 out of pocket. Meanwhile Hospital B's list price for the same MRI is $500, but your insurance doesn't have a deal with them, so your OOP cost is $500. This is very common, and in many cases is impossible to know if it will happen until after you have had the procedure and are billed.
Gathering stats requires keeping them somewhere. Making inferences. Documenting the inference engine. Explaining the magic to users. Sounds a lot more complicated than explaining that what HTML tags will be parsed.

Proxies are already complicated as is. Caching proxies more so. (Think of how Varnish has a - probably Turing complete - DSL to decide what to serve and/or cache and when, and how.)
>Way outside of the norm.

>It's a tiny minority who are truly bothered.

I don't think women feeling harassed by men's advances is remotely "outside the norm", or a "tiny minority". It's very common, which is exactly the problem.

>What about the discomfort faced by the many many women who like being chased?

If people like this kind of courtship, they should be willing to communicate that, rather than making it impossible for anyone to say "no" just so they can get their kicks. If there's no safeword for this "chasing" it shouldn't be considered consensual.
No idea why you are being downvoted, but your reply is pretty factual.
You can easy switch out any thinkpad keyboard, and they're not big or heavy. Ugly is in the eye of the beholder, that being said, it's a laptop, not a purse.
Don't forget environmental disasters, they just get a nice golden parachute to leave
I don't understand what all the fuss is about. Just looking at the syntax examples given, it looks really nice and I would jump at the opportunity to use it.
Javascript already has a conditional expression, the ternary operator: `condition ? expr-if-true : expr-if-false`.
> In addition to what others have suggested, Adafruit and Sparkfun both have loads of tutorials. Even if you're not using their parts their documentation is still some of the best if you're using a similar part.

If, however, you are not using their parts pay particular attention to voltages.

For example suppose you are playing around with a range finding module that uses one of ST Microelectronics' nifty time-of-flight IR laser rangefinder chips. These are 2.8 V chips and are not 3.3 V or 5 V tolerant.

Adafruit has modules for two of them, a short range one [1] and a longer range one [2]. The Adafruit modules add a 2.8 V regulator and level shifters so you can hook them right up to your 3.3 V or 5 V system with no additional components.

Sparkfun has two modules for the shorter range one [3] [4]. The first of those, which is about the same price as the Adafruit module, does NOT provide a regulator or level shifters. The second Sparkfun module, which is about $10 more, does provide a regulator and level shifting.

If you are following the Adafruit tutorials, which hook the module directly up to an Arduino, but you are using the first Sparkfun module and just hook it directly up you are probably going to fry your module.

[1] https://www.adafruit.com/product/3316

[2] https://www.adafruit.com/product/3317

[3] https://www.sparkfun.com/products/12784

[4] https://www.sparkfun.com/products/12785
What is the scale of this scene? How tall is that wall?

I just finished reading Arthur C. Clarke's 2061 about people landing on Halley's Comet, so this video is a timely illustration of what they might have seen. :)
Seems like the U.S. should adopt the Swiss system. It's much more effective than the current U.S. train wreck without quite so much political baggage as single-payer systems.
VS Code Extensions for Happier JavaScript Coding
This is a different problem though. Sure thing, EU should work on improving the imperfect system; for what it's worth I personally think the EU state is little too socialist and too safe, if you will.

But this isolated issue with this particular tax dodging scheme should be solved separately, as should "lowering tax rate", "reducing unemployment" et al.

Enforcing law is different job than making law.
Box Office Mojo's inflation adjusted list: http://www.boxofficemojo.com/alltime/adjusted.htm
I have yet to see any of these problems in core.async (Clojure's version of goroutines). core.async has enabled fantastic programming abstractions like async pipelines using transducers and "socket select" type programming. Perhaps functional programming is the solution to solve concurrency issues.
Good! It should have been done a long time ago.
The 30-Day Deadline of Failure and Follow-Through
People. Ai (YC S16) Is Hiring UX Interaction Designer
https://godoc.org/github.com/oklog/run is a more-general and IMO more-elegant version of errgroup.
> There are plenty of people in China who are happy to discuss the pros and cons of their government, especially as compared to America

https://vimeo.com/44078865

https://rsf.org/en/ranking

https://en.wikipedia.org/wiki/List_of_Chinese_dissidents

http://newyork.cbslocal.com/2018/04/24/china-assigns-every-c...

I'm sure you'll forgive my skepticism.
As well as erlang, see also racket/match, perhaps the most comprehensive implementation of pattern-matching anywhere: https://docs.racket-lang.org/reference/match.html
>It's not meaningless. Because you know if the procedure costs X, and your insurance covers 80%, you know you will only pay 0.2X at most. There will be no random charge for thousands of dollars for something trivial.

That's not how insurance works, though. You would pay 20% of your insurance's negotiated cost, not the list price. So you could still end up paying more at a hospital that has "lower prices", based on how well your insurance negotiates with them.

>And it will introduce price competition.

This is not universally a good thing.
Lundgren intended to sell the disks to computer refurbisher shops, this is a fact of the case. In theory, they could have found a shop he intended to sell the discs to and caught him in the act. The OP was lamenting the waste of resources that went into setting up a sting, I would imagine the time involved in the above mentioned scenario would be much greater.

Lundgren wasn't setup, he wasn't coerced into doing something illegal. He was or was planning to do it and they just called him up and asked to be a customer.

This is similar to busting people for prostitution. You can either spend extraordinary time and effort in surveillance to catch them in the act. Or you can just dress in civilian clothing and approach them.
Show HN: A Webpack loader that runs an arbitrary shell script on matching files
There is a lot of Supreme Court precedent, going back to the 1800s, calling patents a "property right." Generally, administrative agencies (which is what the USPTO is) cannot take away property rights; only Article III courts can do so.

If the Social Security Administration (an executive agency) gives you $1,000 per month, it can probably decide to stop that monthly payment. But to get the money back, it probably has to sue you in an Article III court.
Null Object as identity
I would argue that it doesn't feel like JavaScript much which seems bad.
Apple doesn't seem to have an official lemon limit but they replaced the top-case 5 times on my 2016 and then gave me a 2017 with the same specs (slightly faster processor), and it's already crapped out already although this time they managed to replace the key and fix it.
> This old MacBook Pro is still fine

Then why did you buy a new one?!? Excess consumerism drives the tech ahead, sure, but I can only have so much sympathy for your buyer’s remorse.

The problem must be environmental or physiological (he presses the keys harder than average, or something) because keyboard malfunction isn’t some recall-level dysfunction as he wants to make it out to be.

That said, the new keyboard is indeed a travesty.
Yes. I've developed a simple strategy that algorithmically trades cryptocurrencies (mainly ETH and BTC because volume, but it would apply successfully to any of the others as well). The strategies are simple, they are based on simple technical indicators, and result in about 2 trades executed per day. The strategy can be applied to "normal" equities as well but it performs particularly well on cryptocurrencies due to the amount of volatility in the market. Also the amount of freely available data for cryptocurrencies makes implementation much easier (and cheaper).

Over the last 3 months, January to March, I've had a return of just under 50% (in spite of the massive down turn in the crypto market). Which sounds great, but I only turned it loose on about $250 so we're not talking about buckets of money here. With higher amounts of capital you run into other issues that would need to be addressed in the algorithm/strategy.

I've often been told the same thing (you can't beat HFT, large firms, etc) but in the end it's not about beating them. It's about finding a strategy that works, that can be automated, and having the patience to let it run and do it's thing. I only trade about 1 to 2 times per day (not HFT) and only rely on fundamental data (no inside info, no "get the data before everybody else and act on it", etc). Keep it simple.

Happy to answer any questions.
Lein is a declarative build tool. Perhaps your problem lies with not understanding how the tools work?
The sovereign wealth fund has a full time philosopher on it's staff; policy decisions are required to have an active input from said philosopher around a number of issues, in particular ethics.[0]

[0] https://www.wsj.com/articles/SB113340298608010935
What makes it a low quality comment? Because you disagree? Seems like you lowered the bar.
One Giant Leap for SQL: MySQL 8.0 Released
Actually, voters have no say in who gets to make these prosecutorial decisions, and that’s a huge problem. Unless a prosecutor files a case against someone, there is no case, no matter what they’ve done. Assistant US Attorneys (AUSAs) are the ones making the decisions as to whether or not to file, and they are just lawyers hired through normal recruiting channels. Branch US Attorney offices are little fiefdoms - technically they answer to the head US Attorney in their federal district, but in practice they have little contact with him or her and do as they please unless they really mess something up.

Because people are people, and many of them view the position of AUSA as a stepping stone to $800/hr jobs at white collar criminal defense firms or prestigious political appointments, they tend to file cases with which they can make a name for themselves. One way for them to do that is “creative prosecution” - charging people for conduct that isn’t clearly in violation of a given statute, and then trying to shoehorn the case into a conviction or guilty plea. There is no moral hazard for them in doing this - if they lose, nobody cares, and if they win, they get credit for their genius - so they will do it again and again until it works.

That’s what happened here - they managed to shoehorn a conviction in a highly questionable case, and the AUSAs behind it will ultimately leverage this into a better job and a better life. I’m not sure that voting for individual AUSAs is the answer, but something needs to be done to reign these people in. They currently have free reign to burn lives to the ground for their own gain.
The CPUs inside VPS providers hardware
I moved on to an HP Spectre and Windows 10 from my 2009 MBP...I'm mostly happy with it, but VERY SAD that the MBP era seems to have ended rather than getting better and better. It's a damn shame.
* Google doesn't run software on my phone, thank you very much.

* At the time I was using Android, they were using a plethora of dark patterns to force me to continuously share my location with the "Google Maps" application, even if not in use. Indicating that they weren't just slurping the location info via Android. Most likely because of legal concerns: there are plenty of alternatives to the "Google Maps" application, there are only 2 widely adopted mobile OSes; the spectre of anti-monopoly action looms large.

* There are legal arguments to be made to prevent my operator from profiting from my location information.

> Commercial privacy of location information in the United States

> The U.S. does limit commercial use of location information under the (US) Telecommunications Act, at 47 CFR §222. The Telecommunications Act, at 47 CFR §222(f), requires consent from the subscriber, and prohibits telecommunication common carriers from accessing location information for purposes other than system operation without consent of the customer.[28] Businesses such as LocationSmart, which provide a tracking service based on subscriber information, require mobile users' consent prior to tracking.[29]

https://en.wikipedia.org/wiki/Mobile_phone_tracking#United_S...
On mobile apps, the "pages" are called "screens" it's just the main UI container that gets replaced if you switch between screens
The courts are really not that friendly to the protected class in cases like that.

There’s a lot of political bodies focused on playing up the idea that women and minorities are this big bad wolf suing legitimate businesses left and right over nothing, and winning. But it’s a largely fabricated narrative created by people trying to turn the leftist identitity politics arguments into a quagmire by “both sides!”ing the situation.

In reality there’s a substantial burden of proof for someone to win a wrongful termination suit.
I'm surprised not to see generic tools on this list which make use of event-based file system notifications such as dnotify and inotify. See https://github.com/rvoicilas/inotify-tools/wiki or inotifywait (https://superuser.com/a/959040) for examples.

I know this particular API (inotify) is specific to Linux (there might be similiar APIs on other OS). But it is awesome for all kind of build systems, for instance latex documents.
This will eventually break the tiny legs in the keycaps rendering your key permanently inoperatable.
What was the total cost for your setup?
The dictionary definition simply isn't accurate to modern usage. 19th century uses of "bigot" are mostly about what we would call a "religious zealot" or "fundamentalist". By the 21st century, most "bigot" references are closer to "xenophobe". It seems to have taken on the meaning of "racist or sexist or homophobic etc.," a generic term for anyone with prejudiced views.

This semantic drift is convenient for those who would like to equivocate between "ideologue" and "xenophobe" and pretend that they are basically the same thing, or necessarily as bad as one another.
Try http://instantwatcher.com as an alternative interface to Netflix. Simple lightweight text oriented page with better search and filters than Netflix offers.
what's the battery for then? Just so you can move it from one place to another without shutting it down? And if so then it would only have to be enough of a battery to power the suspend right?
I'm sort of familiar with how sacred these standards are. I'm interested in what was the deciding factor, when IETF and which WG decided now we have enough (significant) successful operational experience.

It's surprising, because IPv6 was set in stone at least around 2010 already, with a lot of experience (6bone ended in 2006, and so on), but on the hand general rollout is still very much ongoing.
The bit about Spielberg just sounded like an old man complaining about something he doesn't understand.