skysight-inc/HackerNews huggingface dataset:
> Patients concerned about their potential out-of-pocket costs from a hospitalization would still be advised to consult with their insurer.

Having a heart attack? Make sure you call your insurance company and ask about the latest rates before you call 911, folks!
Russia claims it has a US Tomahawk cruise missile
While it's obviously safer and super helpful to have a compiler guarantee that there are checks for all cases, having a non-exhaustive pattern match call still be a big improvement over imperative checking of specific fields for control flow.

What I've seen doing fairly fast and loose prototyping and product iteration in Elixir over the last 2 years, is that patten matching can help create better boundaries and data guarantees within a codebase. A bug might still cause a runtime exception, but investigating and fixing the bug can be wayyyyy less painful than in JS, Ruby and friends when a nill/null/undefined/some-other-garbage can be passed very far through the stack before it eventually causes an issue.

Having a pattern match in the code, even a weak, non-typed pattern match on literals or basic data types, can act as an assertion in your code. "This is what the data needs to look like here if anything after is going to work". I think there is a probably an antipattern in taking this too far, coupling all sorts of your codebase to lower-level data structures There are better controls and safety mechanisms that can be implemented, but it can help a lot when there are specific parts of a codebase that are hotspots for issues, or where you're just trying to isolate where a data inconsistency is originating.
Ask HN: Anyone making money through algorithmic trading?
Is there anyone here making money on smaller trading strategies (i.e. in the stock market or cryptocurrencies) that would not be interesting enough for larger algorithmic trading firms?

I'm aware the standard advice is that you will lose your shirt attempting to compete with algorithmic and HFT firms. But are there opportunities out there for smaller strategies to generate alpha? (I'm assuming yes, but would be great to find people who actually do this -- no need to disclose _how_ you actually do it, obviously)
Oh come on. He wasn't a hapless recycler. He was the CEO of a 100 person for profit company processing 41 million pounds of stuff from IBM, Motorola, and Sprint. He knew exactly what he was doing. Who do you think he was intending to sell these CDs to? His own company, of course. And why? To increase his profit by $25 a computer.

There's no other logical explanation. No one would go through the trouble of exactly replicating a physical CD with logos and all unless they had nefarious intentions.
Yeah, sorry, I wasn't clear.

My point was mostly that you shouldn't be afraid to let state live in Components and that should be your first instinct even if you are already using Redux for any one of its benefits.

There are other reasons besides prop-drilling to offload state into the store, but don't do it if your only reason is "I want to make debugging marginally easier".
I love new things in arts and entertainment, but I feel like we're in a bit of a shovel-ware/and also moment in film where there's one hit and 100 crappy imitators. This isn't a problem per se, but it reminds me of some moments in music or video games in the last 20 years. I'm bullish on the Netflix model more or less, but I can't say I love their content lately.
Maybe you should treat both schedules as equally valuable, while acknowledging the different purposes they serve, and respectfully discuss the problem with your manager to collaborate on a solution together. It could be as simple as "Please don't schedule meeting mid-day." When I was a 50% manager / 50% dev, I blocked off 10-2 forever on my calendar for my coding. Whatever you end up with, talk, don't send links -- sending links to articles comes off about as well as sending your fellow devs to LMGTFY.
Also if your trying to make that drastic a switch, are you willing to take a paycut? Just because someone has 15 years kernal experience does not mean they deserve the same pay for mobile (or visa versa).
This is really cool, I just hope that they don't wait too long to open the domain to those of us who use an unconventional or custom toolset for our bots.
True. It means “white”. Which is why it’s largely gone out of fashion.
So, a Merkle tree?
Yes, all these things do help and you can also speak their language - they understand having multiple "back to back" meetings, so you if you schedule meetings with yourself, that you can't miss, and open up your schedule for other times, then you can allow them to book you then.
A delusional wishful thinking that a patient, while in pain and in need to care, will be shopping and browsing around to see prices, and that would drive prices down. Even if that was true, it requires that you could predict how much your treatment or visit would cost, and anyone who have actually used and paid bills in the health system in US knows how it goes.
Well, gmail IMAP is terribly terrible. I'm eyeballing fastmail (was using it for a bit and mail/calendar/contacts were working like a charm) but for my usecase I would have to pay 15usd/month (2 domains, and 2 persons, one having accounts on both domains - totalling 3 accounts according to them) which would be quite pricey.
Thanks for the hints about infomaniak.com - looks ok. Any comments?
build what on top of it? If i want a blocking thread i would just call a function.. something something goto something isn't a valid argument that applies to everything. The other way to propagate errors up is chaining promises.
Wouldn't be surprising really. If you base your society on worshiping greed, don't be surprised when it ends up being run by the greedy.
Knowing whether a background task has spawned is very different from not being able to follow the control flow (goto potentially jumping to an entirely different function body).

Now, while Go is designed mostly for you to not care about goroutines, there are some corner cases where one must know if a resource is used by anything, such as the chase of when you wish to close a file handle.

However, I'd argue that this is not related to go's concurrency model and the presence of background tasks at all. It's related to object lifetimes. This should be made clear at API surfaces.

A language solution to this would be Rust's lifetimes, not a new concurrency model.
Yeah, because you'll get penalty points... One step till 1984.
Reminds me of this: https://www.youtube.com/watch?v=YJg02ivYzSs

Which has a concept of "social score".
Several posters are talking about theater sound being a great thing, but I think it's miserable: basically a volume war, which my ears are going to lose. How can theaters get by with such loud volumes, when a work site would be shut down by OSHA if the workers didn't have hearing protection.

There is obviously an issue of how long you're exposed, but no theater should be allowed to push the volume into the range where hearing loss could possibly occur.

And in the case of Netflix... it's never an issue because I control my volume.
I don’t. Not unless European countries plan to lower taxes. High tax rates are what causes these accountancy gymnastics. If the EU just charged a flat 10% tax — and actually enforced it, tax revenues would rise and these loopholes would be unneeded. Foreign companies would actually relocate to Europe by choice and not by necessity. Unemployment would also drop as a result. Business would boom.
You're joking right? first: `var` is completely outdated, second: it should be `else if` for the next conditions, and third: ternary, nested or not, is simply better for that
Most copyright jursidictions make a difference for non-commercial copyrigth infringement and commercial copyright infringement. Most of them put commercial copyright infringement in the criminal offence category.
How I Used Appium and Selenium to Automate a Rock Band
I recently bought an stm32 board to start learning and found the datasheet to be complete gobble-de-gook. I have a feeling there is a lot fundamentals I need to learn before the sheet starts to make sense.
I don’t know about you, but nearly all theatres I go to have evolved over the years to have reserved seating and full bars with alcohol. Theatres do need to double down on the artistic experience, becoming more like art galleries and less like a place for people to enjoy a big screen.

Maybe introduce micro theatre rooms with superb audio and visual clarity and niche movies too, for a smaller audience.
I'd love to see a defense of Chinese policy that doesn't fall back upon whataboutism. America's shortcomings have nothing to do with my ability to criticism China's human rights abuses and appalling lack of individual liberty.
What is that light on the left?
God help us.

Apart from content, what hollywood movies offer is some competition on viewing experience. The netflix content is 'fine', but the UX is hateful and activates every anxiety center that exists in my brain. I get anxious just thinking about looking for content I might actually like on Netflix (and I'm not the anxious type!).

HBO/Hulu/Amazon are better in this regard for now. But it's a sure bet that they will also go the netflix route of trying to push you to WATCH SOMETHING NOW versus mindfully choose something. (E.g. HBO-Go rarely has previews now - why would they show previews when you can just waste 20 minutes deciding you don't like it?)

This says nothing of there being a half-dozen walled-garden services. You basically have to subscribe to all of them to see new-releases. Hollywood content: you pay per viewing. It's annoying to pay $15+ for a movie (or be forced to buy it online when you just want to rent it for the weekend), but at least you don't have to pay for a service every month that's full of B-rate content that you hate to dredge through.

We're on the edge of a dystopian version of "the golden age of television."
And they know, people aren't buying it. That's why they try to ban competition, thinking it will slow down the tide.
It will be interesting to see how YC helps with this as their investment and relationship with China deepens.

(see: https://news.ycombinator.com/item?id=16919952)

Update: my account has just been throttled and I cannot make further comments:/
I'm not an expert in film finances, but this is my sense too. If studios want people to see their movies in theaters, they need to take responsibility for keeping theaters alive and affordable by sharing more of the ticket sale profit.
https://news.ycombinator.com/item?id=16897194
Instagram Data Download Tool Launched – Upload Multiple Photos and Videos
> Let's be honest, from the viewpoint of an Atlantic editor, hiring a guy who thinks it's a funny joke to make would have been as bad as hiring a guy who actually believes it.

The Atlantic hired Ta-Nehisi Coates, who is far more extreme on the other side of things. It wouldn't have hurt to have someone to counterbalance him.
> gouging on food

We bring everything but popcorn in my girlfriend's purse (assuming we want any). The prices are absolutely insane. It makes baseball game food look like a bargain.
Luminar's Lidar Enters Mass Production
That’s a fine distinction to hold for yourself

Doesn’t mean the traditional model must survive

Personally, having been going to theaters since Return of the Jedi, the experience has lost novelty and is easily summarized as “been there done that over and over” for me
By the way, I don't think it is a good idea to write a function as a constant. Please compare this

function getDate(date) { .. }

to this:

const getDate = (date) => { ... }

The first version is more readable. We instantly see that it is a function and in a second case it looks like a constant at first. Also without the equal and arrow sign it looks simpler.
>> or protection

> Not working that well in your mass shootings

The number of people killed in mass shootings is statistically insignificant. That said, they are horrible, and their impact can be lessened through good gun legislation. Outlaw (or make it very hard to get) automatic/assault weapons, or my preference, also outlaw hand guns.

> How many people can I kill per seconds using knives?

Are you actually defending the assertion that the only thing guns are for is killing by just noting that some guns can kill a lot more people a lot faster? A couple sticks of dynamite thrown into a crowded space will likely kill more than either, but dynamite has been used usefully commercially for over a century.

> I honestly don't care about all the other purposes, they do not need to exist.

Well, I guess it's good you think so. I'm sure all those people that view guns as an essential check on governmental power and a personal right will have no problem with you dictating what they can do. Problem solved.
A fun story in the same vein, Ladle Rat Rotten Hut, by H.L. Chace, can be found here: http://www.exploratorium.edu/files/exhibits/ladle/
As long as they assign a variance to that mean price. Even then it woukdn’t fit any known distribution.
None of your links seem to work. Is this a private repository?
So you apparently need the original recovery disk, and the original manuals?

In other words MS are trying very hard to make selling refurbished computers impractical, so please throw it away, and buy a new one with new Windows licence.

If the judge was on the ball the man should have been found guilty and fined 1c and attention drawn to ridiculous licencing in his summing up. Better for justice of course would be throwing out the terms of the licence and finding him not guilty.
They asked to use the restroom and never came back. True story.
that's crazy fast
> And guess what: MoviePass now has 2 million subscribers. People want this service. The bad news is that the company is simply bleeding money.

Seems like they want to become a monopoly, or get to the size that it would be profitable to run the business.

Netflix has a mortal enemy: the Cinemas.

Hollywood/Cannes (movie makers in general) prefer to have the multitude of channels than having Netflix, which can be a monopoly. If Netflix doesn't like XYZ studio it can shut it down if it becomes a monopoly. And by "like" I mean, set/extort/define the pricing.

Having a unique outlet is not the best idea. Netflix wants to be _it_.

I don't think Netflix is the future of film. I will always want to watch Star Trek/Star Wars/Avengers/etc on a 10-20 _meters_ screen, eating popcorn, rather than on the 10-..-50 _inches_ of a monitor/TV/tablet eating pizza.

To be honest I like both. But Netflix wants to change the model.
It depends on the patient and the procedure. It will keep them honest tho, like if the hospital charges 10x what the next one does, you can ask some questions.
I think the fact that Microsoft pursued this suit makes it clear that they would "prefer you to buy a new license". The statement doesn't seem disingenuous to me.
The theater is ripe for disruption. I cannot stand going and in over 25 years the amount of times I have gone is 2.

I cannot wait until someone brings out VR which immerses the wearer into a theater experience. That is, big screen and thx sound. Plus, for those who "absolutely" need to have other people there. It being VR you can have people from all over the world (who you know) also join and collectively watch it.

I hope netflix also starts creating a worldwide catalogue of films. Which would do 2 things. Downplay piracy and also increase profits.

Praise be, when I read that the last theatre chain has gone under and the way of blockbuster!

Oh and one more thing. There's another revenue stream and 2d fails to realise this. How about being the lead in a film? How about both watching the movie and then actually figuring out puzzles, or needing to defeat the bad guy. Or what about actually having a movie that branches depending on your own experience?

With the rise of AI for video and lyrabird for audio. Maybe one day it's just a case of actors signing away their Avatar for their talents, a director AI creates the film and the user consumes it.

That's why I hope Netflix is the future of film. Current film is dead and has no-where to go.
Wow! This is something ... getting evicirated by Amnesty International!
Mesoamerican gold is quite common in the gilded church alters of Spain.
"Up until recently"

I wrote this a year and a half ago: https://medium.com/@dan_abramov/you-might-not-need-redux-be4...
> emergency rooms account for "2 percent of all health care spending."

http://www.politifact.com/truth-o-meter/statements/2013/oct/...
>I hope your not impugning the motives of those who issue take-home assignments.

Yes, that's exactly what I'm doing.
>this is distinct from a normal awaited block which will execute tasks inside it sequentially, awaiting each one in turn

I believe that python's `async for` construct (which may be stolen from c#, but I'm not sure) does this, and another user mentioned Promise.all which in javascript I believe allows the child promises to resolve concurrently.

In both cases, these are for concurrency, not parallelism.
Why can't you have VR with good headphones at home? It has the technical capabilities to blow away the theater experience.
It's easy to set one up using Lex, but it's $750 for this domain ($75 otherwise).
Erlang was built from the ground-up with pattern matching in mind, so it works. Instead objects are jammed into the pattern matching system, and where the two disagreed, pattern matching won. (Indeed, Erlang doesn't really even have objects, just some object-like convention.)

In a language that started with an object model that has grown a lot of features, trying to jam pattern matching into it after the fact grows a lot of corner cases fast. For instance, consider:

a = {x: 1}
a.toString = function() { return "magic: " + this.x }

Should a pattern match with the string "magic: 1"? Well... probably, because it turns out that "magic: 1" == a is true. But if we do that, how does the pattern match tell a is not in fact a string, if we want to do that? You can answer that question, but the answer will raise further complications of its own. Or you could build a pattern match system around ===, which will raise its own issues. And goodness help the pattern matching syntax if it decides that both are too useful to ignore (a defensible position) and now the syntax needs to support both....

I'd say this proposal is about 10 times too short to be useful, and by the time it's long enough to be useful, it'll be clear that almost nobody will want to learn how to take the already sloppy Javascript equality situation and then learn how to lay down a pattern matching language on top of that.

By contrast, since Erlang was built on pattern matching from day one, = and == have almost no such questions about them. It is very clear what they do. I did have to check what 1 == 1.0 was, even after years of use of Erlang, since I never used floating points in Erlang to speak of. (It is true, which technically I find a bit weird. I'm not sure there's another example of values of different types that can be equal. Note "" == [] because double-quotes are defined as producing lists and strings aren't actually a type, so that's not an exception.)
This is true if you live in a major metropolis but the small-town theaters have started simply dying away.
Most money is spent in non-emergency care. Just because something doesn't solve all problems doesn't mean it isn't an improvement. The next step is then to force the hospitals to charge all payers the same price.
No PEP8! Code rejected </sarcasm>

Most elegant code I've actually seen, and can see the lisp thinking apparent on the style.
My experience trying to set people up with Linux desktops is that even though the metaphors are the same, (like the desktop, start button, update manager, word processor), the unfamiliarity of the branding turns people off. Also, any errors that appeared (one time the package list got corrupted), they immediately go to "ah I'm not an expert this linux thing isn't for me", whereas if Windows showed a cryptic dialog error window, they just ignore it and move on, because that's the norm.

I'd be interested in your thoughts about Linux as a desktop; I just got done with a multi month battle to get my graphics card working (contradicting everything I say about Linux being easy), but I still love Kubuntu 18.
While you are right about in the moment decision making, this is a welcome change.

What will likely happen is that aggregators / bloggers / journalists will start comparing prices and write about the differences. People will see the articles. And in a moment of crisis, they'll potentially think about the ones they read about, remembering one hospital or another.

And even if they don't, the mere fact of comparison articles (and likely outrage from normal people in the comments sections, etc), will create competitive pressure driving prices closer together. At that point, people won't need to search for the specific price for a hospital because all will likely be similar.
Something has to change. Hollywood movies are just so receipt oriented. I kind of like super hero stuff, but I hate most of the super hero movies coming out. I loved kick-ass, and I think the various super hero series on Netflix such as Jessica Jones has been quite good.

Other than that I realize I want to see more movies from other cultures. I am Norwegian myself but have tended to gravitate towards Hollywood, because the production and is higher quality and selection of actors is better.

However I have noticed that some of the stuff that I have enjoyed the most and which has felt most fresh such as Skam, has been from my own country.

There is a lot of foreign films I never get access to because they are not really distributed. I notice when recommending Norwegian series or movies to friends abroad, that they are really hard to get hold of and even harder to get subtitles for.

The teen drama Skam only worked because fans made the subtitles themselves for the foreign audience.

Netflix shows a path forward here in that they are opened up for more diversity and allow more foreign series. E.g. you got Norwegian Viking comedy series "The norsemen" on Netflix.

It was made in a way that I think is a great solution going forward for foreign film/series makers. The creators of the Norsemen filmed every scene in Norwegian and English successively so that the show could be shown easily to both a domestic and foreign audience.
Every frame is 12 seconds, I believe.
Open, Closed, and Privacy
Someone would do well to interview the "PodFather" (inventor of podcasting) Adam Curry -- adam@curry.com -- and ask him to recount his experiences with PodShow/Mevio and why he continues to insist that podcasting cannot be monetized in the same way radio or print media can be.
I think Netflix should look into releasing some of their stuff to the Cinema while not taking advantage of them like that.
We don’t need a social networking website
Ask HN: What does your portfolio website look like?
I am in the process of seriously starting my freelancing career and I was just wondering what other people's portfolio websites look like.

If you know of other people with great portfolio websites that'd be fine too.