skysight-inc/HackerNews huggingface dataset:
Very interesting. It touches on something I've been thinking about lately. The book Why Nations Fail [1][2] makes an argument very similar to yours that there are two factors that determine (economic) success of a nation: 1) inclusive economic systems and 2) inclusive political systems. They argue that these can form a virtuous cycle where they enhance themselves. However, if nations don't have inclusive systems, they tend to form a vicious cycle.

They give the example of Venice which had (for the time) relatively inclusive systems, allowing a a middle class to rise and generate wealth for the city. This new elite started to limit political inclusiveness to protect their wealth. This tipped the scale back to extractive systems. By the 1500s Venice was in decline.

This example makes me wonder if we're headed that way. In Hong Kong -- but also e.g. in the US -- it seems there's a class of mega rich that are moving more and more into rent seeking behavior and greater income inequality. If the book's theory is right this will lead to political systems to become less inclusive over time, which will eventually lead to economic decline.

[1] https://en.wikipedia.org/wiki/Why_Nations_Fail
[2] http://www.economist.com/node/21549911
I will check this out. It stores data on the card, but I had forgotten about this. It might be interesting to see if any correlates with the sleep data.
Yes. Our founder is actually a lawyer. Right now, at the MVP stage we are leaving that to the lawyer and client, but may build and/or integrate solutions down the road.
This issue was covered in a NPR segment last year about an even older Harvard Business Review article. How to prevent the next oil rig disaster - solution - get the workers to admit vulnerability.

http://www.npr.org/sections/health-shots/2016/06/17/48220344...

https://hbr.org/2008/07/unmasking-manly-men
Subtle way of saying "Your argument is moot."
How AI and IoT must work together
>where I was held by someone
>carrying a gun

Who said anything about someone pointing a gun?
Transmission is an issue for that long of a distance.
If you wrote the test after you coded your unit,you would not know why it passed. It could be a false positive.
When you move on to the next part of the requirement, you can ensure all your tests still pass.

Sometimes the tests give you the starting point of the problem, "what is the simplest way to get result x" with a way to rapidly get feed back that all the requirements are ment as the structure takes form and you refactor all the code.
"Would you rather live in a society where everyone has a right to medical care regardless of their social standing or financial wherewithal, but some people will die because of bureaucratic incompetence or because the person who could've saved them has no incentive to? Or would you rather live in a society where medicine can work miracles, even the most debilitating ailments can be cured, but only if you happen to be rich?"

Is this honestly a question?

There are way more non-rich people who need health insurance than there are people who may die because of "bureaucratic incompetence" or lack of incentive(what? do people really need money to not let someone die?).

The way you phased it the former is obviously(to me at least) better than the latter one.

It also sounds like you think medical research advances only in countries with the latter style of health insurance. Do you really think medical advances happen only in America?
Much appreciated! It's so hard to get direct access to information like this these days.
US billionaire spent 12 days in NZ before getting citizenship
It's easy to Intend to "contribute towards fixing" any large problem resistant to change (specific actions do you intend to take, at what specific dates in the future? how will you measure the amount of contribution to "fixing the problem of lacking social safety nets in the US"?).

Here's some lower hanging fruit, and more directly measurable too: https://www.givedirectly.org

Real problems need solving, indeed.
Docker 17.06 is out with support for multi-stage builds
Don't wait for a VC
They should pump water uphill during these surges. California hydropower is constrained by rainfall, so the dams and generators already exist. Pumps cost less than batteries and this process has about an 80% roundtrip efficiency
The challenge is that these mobs are essentially random, and the public's attention span is short. So if your company does something evil, there's basically a 1% chance that you will face a company-ending event, and a 99% chance that it will never come to light. And even if your company doesn't do something evil, there's still maybe a 0.25% chance that you will face a company-ending event, because online lynch mobs don't really care about facts. So it doesn't act very well as an incentive.

Just look at the recent Monsanto news, where they knew that Roundup causes cancer, sold it anyway, and paid off the EPA to bury the investigation. There've been news stories, but no major social media outrage. Probably we've just been conditioned to expect no better of Monsanto.

The advantage of a real legal system that's accessible to all is that there're procedures for finding out the truth of any accusation, and then if it is true, there's enforcement teeth behind it. (Or used to be, at least; I think many companies are now using the bankruptcy/reorg shield to avoid court judgments.) Mobs are a poor substitute for that.
The permuted symbol index is my homepage. Best thing since sliced bread.
The Monsanto Papers: MDL Glyphosate Cancer Case Key Documents and Analysis
I've heard that desalination of seawater is not a practical solution to drought because it's too energy-intensive. Does this change when energy temporarily costs less than $0/unit?
FWIW informit.com has the same model. We have regular holiday sales (including a 4th of July sale starting tomorrow), update our eBooks, and offer the different DRM-Free formats including PDFs.

Informit.com is a Pearson owned site and sells the following tech imprints:
Addison-Wesley, Prentice Hall, Sams, Microsoft Press, Cisco Press, Pearston IT Certification, Big Nerd Ranch, Peachpit, Adobe Press, and New Riders.

And we currently have no plans to change that model-just make it better!
NASA Tests Flexible Solar Array, ROSA, on ISS for Future Solar Propulsion
I'm sure there's some business opportunities that can be taken to alleviate this surplus. There's a generation of people that have been groomed to use their electrical appliances during the night time wether to do laundries or wash dishes because they would be charged less from energy providers. In recent years, people are doing their charging at home in the middle of the night.

But perhaps this can flip around. Imagine laundromats that charge cheaper for drying or washing during the day vs during the night. Cheaper electric car charging during the day. Business opportunities that benefit everyone simply by changing some habits.
Wait, so Zillow agreed to back down but McMansion Hell can't continue their (clearly legal) fair use of images fro Zillow's site? How is that a win for anyone but Zillow?
> the purpose of insurance, the many helping the few, not the other way around

This is too idealistic of a view of insurance. Insurance, if possible, would help the none as they are all companies in the end and want to maximize their dollar for their shareholders. This is why, before the ACA, things like pre-existing conditions and other, costly things were used to decline someone coverage.

Insurance companies need to make their numbers which means they will drop anything not required.

In theory the many helping the few is done through various programs powered by tax money. I'm not convinced we'll ever get to an ideal state of everyone being covered if the only mechanism is capitalism.
Why is this news-worthy?
Yeah it's funny. Anecdotally, I think most people would agree that other countries, particularly Western European ones, seem to just care more about transportation infrastructure. Maybe it's just a cultural thing. But there is still that interest misalignment I would argue. And voters tend to be as myopic as the politicians, always waiting for a crisis to roll around before actually caring.
I had this thought too.

If you check N+K and N-K you only need to scan the numbers once.

The theoretically fastest implementation would probably use a bitmap, you'd only need 125 megabytes. (you'd dereference the offset and check the appropriate bit with a mask). It would be interesting to see if this is faster or slower. I'm going to go try it out.
I've always relied on unit tests with mocks with the rule that I only mock modules that are tested and I mock or stub all db and network calls. I also like integration and end to end tests but not may of them. I rely on unit tests for regression and should be able to run the whole suite in less than an hour. I set my precommit hook to run unit tests with coverage and static analysis.
As another American, I'm happy you are free to express that opinion, and also happy so few share it.
Having lived in the South long enough to mildly dislike it, I wouldn't say that Southerners are friendly. They are polite, and only when someone whose opinion they may care about is around. Midwesterners are more apt to be friendly, but with far less concern for politeness.

Southern conversation:

A: You know, B, we have been friends for a long time.
A: I think you ought to know: I'm homosexual.
B: Oh, bless your heart. Thank you for telling me.
B: I'm gonna pray for you, A.
B: [never speaks to A again]

Midwest conversation:

A: You know, B, we have been friends for a long time.
A: I think you ought to know: I'm homosexual.
B: No duh. When was the last time you looked at yourself?
B: Why do you think the rest of us call you "Mothball"?
B: Stays in the closet, and also stinks.
B: Guess we'll have to come up with something else now.
A: You're a great friend, Farticus.
I guess, the complexity of the billing system in the US is the outcome of an insurance driven market which has kept a status quo due to vested interests.

India also has a complicated insurance system, but it is kept in check by a parallel free-market and state funded system. There is competition not just between carriers, but also pressure on them to keep their policies simple, lest customers circumvent and pay themselves.

You are right about enforcements about drug patent, but if I am not wrong this is true only for a small set of medicines which are marked essential. My guess is that vast majority of drugs sold are generic copies of off-patent drugs.
I don't know, the CTA seems to be functioning okay.
This is an improvment in practical cases, not theoretical ones.
Programming languages characteristically haven’t adopted Unicode syntax because Unicode input methods aren’t “there yet”. But if we start accepting Unicode in programming languages, at least as an option with ASCII as a fallback, then input methods, searching, and so on will be forced to improve.

I currently use Emacs’ TeX input method, so I can type “\forall\alpha. \alpha \to \alpha” and get “∀α. α → α” or ”4.7k\Omega \pm 5%” for “4.7kΩ ± 5%”, which isn’t too bad. And in Haskell at least there’s Hoogle, which lets you search for unfamiliar operators, even Unicode ones. For instance, searching for “∈” gives me base-unicode-symbols:Data.Foldable.Unicode.∈ :: (Foldable t, Eq a) => a -> t a -> Bool and tells me it’s equal to the “elem” function which tests for membership in a container.

Using ASCII art instead of standard symbols introduces some cognitive load for beginners as well. When I was tutoring computer science in college, I had students get confused by many little things, like “->” instead of “→” (“Minus greater than? What could that possibly mean?”) or writing “=>” instead of “>=” because “≤” is written “<=”.
This is some more directly sourced information as a follow-up to the prior story on HN: https://news.ycombinator.com/item?id=14659301

The email that was the subject of the previous story is in this dump, in a thread starting on p. 99 of this PDF: https://usrtk.org/wp-content/uploads/2017/03/JessRowlandseri...

Below is a quick transcription of the email referenced in the prior article:

===

Hey- cc'ing Jen

So...Jess called me out of the blue this morning:

"We have enough to sustain our conclusions. Don't need gene tox or epi. The only thing is the cheminova study with the sarcoma in mice- we have that study now and its conclusions are irrelevant (bc at limit dose...?) I am the chair of the CARC and my folks are running this process for glyphosate in reg review. I have called a CARC meeting in June..."

Also, Jess called to ask for a contact name at ATSDR. I passed on Jesslyn's email. He told me no coordination is going on and he wanted to establish some saying "If I can kill this I should get a medal". However, don't get your hopes up, I doubt EPA and Jess can kill this; but it's good to know they are going to actually make the effort now to coordinate due to our pressing and their shared concern that ATSDR is consistent in its conclusions w EPA.

Dan Jenkins
U.S. Agency Lead

Regulatory Affairs
Monsasnto Company
1300 I St., NW
Suite 450 East
Washington, DC 20005

Office: 202-383-2851
Cell: 571-732-6575
If your insurance covers pre-existing conditions, it's not insurance anymore.
> So assume that the U.S. health system goes away and that no further medical research is ever conducted; we're left with whatever the state of knowledge is now, and it'll never get better. This is what I was somewhat obliquely referring to as "some people will die because the person who could've saved them has no incentive to".

Again, there is no "would you rather". You can't treat these as binary options, and you can't treat these as operating in isolation. They're an array of systems that mutually operate within a global context. There is no answer to that question, because the dichotomy assumes both a binary and isolation.

There is indeed a tradeoff between quality and access, and there's a worthwhile and necessary conversation to be had around that. But that's not the same as the difference between the US and the multitudinous systems within Europe (most of which are not single-payer). And it's not the same as the question you opened with.
At least it has chance to measure sleep. My Android Wear device (Huawei watch V1) has no battery by evening and has to spend the night charging.
it's dated, but still the best public resource on de-obfuscating gclid's.

https://deedpolloffice.com/blog/articles/decoding-gclid-para...
My point is, a sensor in the pillow might be more accurate in tracking your sleep than a fitness tracker.
Thats all!
Tiny robots already exist - they're called proteins (of which Cas9 is one). We're just now starting to be able to program these proteins de novo.

Reading DNA - well, DNA is inside a nucleus inside a cell. That's tricky to get that information out. But if you're just trying to trigger a signal iff a case exists (i.e. viral infection), well, that too already exists - it's you're immune system.

Problem with wireless beaming is power. The amount of power required to transmit a (radio) signal through centimeters of human tissue is just not a biologically reasonable amount.

If you want to use light, well, that's getting interesting - there are a lot of ways that biology can create and read light (see bioluminescence and plants, respectively). There is currently a lot of research and a number of companies that are building biological sensors that you can 'wear' that can peer into your bloodstream that get access to some information. But the bandwidth is not such that you could transmit much more than a single gradient of signal, much less a few gigabytes of genetic information.

But the research presented here is how to do high-throughput analysis in an academic manner very much outside of a live organism, and in a consumable laboratory setting. This is a useful technique using relatively accessible materials to analytically check that a study's gene therapies are not too far off their targets.
I think it is these "pick and choose" exclusions that have no actual sense to them. Of course a homeowner's insurance policy should cover flood damage to a floor. The floor is part of the home, isn't it? But no, the company decides to pick and choose, and they never really call attention to it.

This is why the ACA came up with the "Essential Health Benefits" list. There were so many things that, common sense would tell you should be covered, but insurance companies would exclude for no viable reason (making more money or not having to pay out claims are not things I consider "viable reasons" in this context). You'd buy insurance, only to find out it wouldn't actually cover things that people would want to use it for.
As a legal assistant in Illinois, which will start using this software statewide by the end of the year (excluding Cook and some other counties, which adopted other software), this is troubling news.
I'd love to see you and chimeracoder (sibling comment) fight it out, because his comment was exactly that medical advances happen because of freeriding off the American system, and without the American system, those advances would not happen.
The wiki strikes me as similar to GitHubs wiki / pages stuff (which seems obvious enough). Which I appreciate the features it offers (markdown, git, etc), I don't feel like the majority of people using Confluence would, and the feature set is indeed fairly different. Not bad, and I would certainly use it, but I'm not sure it's a replacement for Confluence users.

The issue board on the other hand seems a lot closer to a "replacement" for Jira. The tag based concept reminds me (again) of a Github 3rd party tool, but it's nice that it's built in. Again, less feature-rich compared to Jira, but in this case, not necessarily a bad thing. Jira can be overboard for most workflows. I might have to give that a try.
https://en.wikipedia.org/wiki/Fantastic_Voyage_II:_Destinati...
Personally, I found that TDD works very well for small modules / classes, etc, when there's little design to be done. In this case, you can focus on writing down the spec (test cases) and be fairly confident that it works by the time all test cases pass. Also, I agree with the author about complexity involved if one decides to go down the TDD way for large, complex systems. So, essentially, it boils down to picking the right tool for the job, and TDD is just a tool, like any others.
>> I can see there's REPL, but is it possible to have dynamic evaluation while running inside web browser?

> Here's a version of Lumen you can copy-paste directly into your browser console:

> https://gist.github.com/anonymous/c8e26607668dd6240f606fc2d0....

> That's not too convenient, but it's easy to create a wrapper around these building blocks.

I got Lumen evaluation going on page load with this and it was surprisingly easy!

>If you have any other questions at all, please don't hesitate to ask. I love talking about this stuff.

It very late here, have to try and get some shut eye. I'll be playing with Lumen more now that I got over the first step, thanks to you. I'll be checking this thread and Lumen's repo soonish, I hope.
> People who sleep 5 hours or less a night deprive their body of the opportunity to get enough deep sleep, which occurs near the beginning of the night.

I'd like that explained to me. If it's something that happens near the beginning of the night how does duration affect it?
> The application comes back after the crash and find the same state as before the crash (the 'socket' still has the data ready to pull off), it pull again, process, and then commit.

Isn't this the same app layer stuff that has to get reimplemented? I can see how this is often pushed back to a human (oops, my money transfer didn't go through, I'll have to redo it) but it's still something that has to be dealt with somewhere.
Is there anything folks won't just add "with a blockchain!" to and claim to have solved a problem?
> The issue is they should be sounding the alarm on whatever broad class of system vulnerabilities they find.

Sounds like the IAD mission. Examples:

- https://github.com/iadgov/Pass-the-Hash-Guidance/blob/master...

- https://www.iad.gov/iad/library/reports/nsa-methodology-for-...

I mention that first one especially because Pas-The-Hash was a major reason the most recent ransomware outbreak was able to get onto already-patched machines.
It is a popular term, so popular that the low hanging branches are thoroughly picked in most markets.

A good phrase would be "least cost development", which is really the idea behind the book "Rapid Development"

https://www.amazon.com/Rapid-Development-Taming-Software-Sch...

The short of it is that working to a realistic plan with the right amount and kind of planning is much more "rapid" than the typical "let's point the boat in the right direction and row for a while" strategy that is rooted in wishful thinking.

That said there often is some simple strategy that gets 70% of the answers right and it is correct to get that into place (at some required scale) and then think about the problem of developing a strategy that another gets 7% of the remaining right, then 3%, etc. It could be very dangerous to start from the other end of implementing strategies that add 1% or 0.1% of gain. That is, "pick the low hanging fruit" but with a plan to pick the rest of it!
My issue with insurance companies is that they're conflicted by design.

As typically publicly traded companies, they have a fiduciary responsibility to their shareholders to maximize profits. And the only way to maximize profits is to deny coverage.

The purpose and value of insurance is amortizing risk. There are very few things that I think should be controlled by the federal government, but a single payer health care system is one of the few that actually makes sense from an incentives perspective.

In the words of Charlie Munger who's spent more time thinking about insurance than almost anyone: "Show me the incentive and I will show you the outcome."

Why does the US pay the highest prices for mediocre health care? Perverse incentives.
Zeo made a very good one called something like Zeo Sleep Manager. They stopped making them a few years ago, but you can still find them online and there's a fairly active community around them still.
FWIW informit.com has the same model. We have regular holiday sales, update our eBooks, and offer the different DRM-Free formats including PDFs.

Informit.com is a Pearson owned site and sells the following tech imprints:
Addison-Wesley, Prentice Hall, Sams, Microsoft Press, Cisco Press, Pearston IT Certification, Big Nerd Ranch, Peachpit, Adobe Press, and New Riders.
Your point about the US effectively funding pharma research for the whole world is well taken (I think it's often kinda ignored by a lot of people), but the billing complexity is not inherent to healthcare—it's a result of the system, so I don't think it stands as an argument.

Also, while drug costs can be explained, there are a lot of other costs in the system that are not necessarily affected by that argument (for instance, for a surgery, how much of the cost is actually due to said drugs, and how much is due to all the other factors?)
Surely you only need to check N+K? Because if (N1,N2) satisfies N+K, then (N2,N1) must satisfy N-K?

You can also stop when you hit Nmax-K... might save a few lookups when K is large.
If I recall correctly, hydrogen storage is lossy as well, because it escapes most containers, slowly.
> wait, I'm starting to have a deja-vu...

The last sentence from 'Animal Farm'?
Does not handle leap seconds:

https://api.epoch.sh/2016-12-31T23:59:60Z

Edge case, but 2016-12-31T23:59:60Z is a valid UTC time.
What's the context of this reference?
I did not realize he legislated banks to make Affirmative Action (Subprime) loans as HUD Sectary during President Bill Clinton's administration. I did not realize he was the brother of CNN news anchor Chris Cuomo.
Building a Website Screenshot Generator
And, 33 years later, Multiplan finally gets open sourced!
What Is CPM FUN? CPMFUN an Ad Network?