skysight-inc/HackerNews huggingface dataset:
So, my initial thought when reading was "yeah, it's async/await". But it's subtly different than that though.

You're free to spawn parallel tasks in async/await -- you just use Promise.all or Future.sequence, or whatever your language provides to compose them into a larger awaitable.

Nurseries seem to go a step beyond this by reifying the scheduling scope as the eponymous nursery object. This means that you have a new choice when the continuation of your async task happens: a nursery pass in from some ancestor of the call tree. My gut says that this offers similar power as problematic fire-and-forget async tasks, but takes away the ability to truly forget about them.

My guess is that, in practice, you end up with some root level nursery in your call stack to account for this. But account for it you must! And while the overwhelming sentiment in these comments is pretty dismissive, I'd caution against downplaying the significance of this. It's basically like checked exceptions or monadic error handling.

I also think about how this maps to task or IO monad models of concurrency. It seems like there's an inversion of control. Rather than returning the reification of a task to be scheduled later, the task takes the reification of a runtime, upon which to schedule itself. I'm not sure what the ramifications of this are. Maybe it would help with the virality of async return values [1], but at the cost of the virality of nursery arguments.

Lastly, one thing this article nails is the power of being able to reason about continuation of control flow. Whether or not nurseries have merit as a novel construct, this article still has a lot of educational use by making this argument very clearly. Even if the author is wrong about nurseries being "the best", it sets a compelling standard that all control mechanisms--async or not--should have to explain themselves against.

I do have a couple questions:

- In the real world, would library APIs begin to get clogged with the need for a nursery on which to run an async task? Think async logging or analytics libraries.

- Would usages similar to long-running tasks that receive async messages be compatible? I'm thinking of usages of the actor model or channel model that implement dynamic work queues.

- Does this increase the hazard presented by non-halting async tasks?

[1] http://journal.stuffwithstuff.com/2015/02/01/what-color-is-y...
Car insurance is not comparable to health insurance. It's apples to oranges. Car insurance reduces risk, by exchanging the cost of an unpredictable potentially costly event (an accident) for a regular much reduced cost event (monthly payment). The benefit is predictable expenses and budget.

Health insurance only works this way for the healthy. For the chronically ill, it's flat out cost reduction to have it and a profit loss for the insurer.

My insurance pays out more than I pay into it every year. I had one year it paid out ~$250k.

Unless we stop mandating care for the sick unable to pay for it, healthcare is socialized; it's just a matter of how efficiently socialized it is.

Insurance companies overcharge the healthy to make up for their losses with the chronically ill, and hospitals overcharge those who can pay to make up for their losses with those who can't.

Really just need to cut out the middle men.
> Multiple the medicare spending for the amount of population it serves and rejoice in a 40% GDP spending on healthcare.

Don't forget to account for the fact that Medicare's reimbursement rates are not self-sufficient - they're implicitly subsidized by private insurers. So it's actually much higher than that.
People also seem awfully confused about how much the government currently spends on healthcare: the US government currently spends roughly as much per-capita on healthcare as socialized systems that cover the entire cost of healthcare for their citizens, and have better measured outcomes.

The crippling healthcare costs borne by individuals entirely consist of rent-seeking. It's also important to say that a lot of that money comes back out in salaries for the massive workforce required for the unnecessary administrative overhead, adding to the economy, and of course in non-imported luxury goods purchased by the rent-seekers themselves.
It's hard to see how email would not be worse, since anything you 'post' could be forwarded without your knowledge to anyone with an email account. You would have to solve that one first.
Thought I'd share seeing as I've not seen this posted before and I've been using this software pretty much constantly for the past 5 years or so.

xwax is one of the only open source pieces of DVS software that's comparible to the proprietary alternatives (serato, traktor) which all cost in the hundreds of dollars just to get digital vinyl working. it works with cheap soundcards, you can get a full DVS setup with about $30 worth of extra gear, and you'll actually get much better latency (<5ms) using ALSA on linux than you'll get with any of the proprietary alternatives.

massive shout out to the xwax developers that have made an incredible piece of fast, straightforward and useable software for DJs and turntablists everywhere <3
I wrote a few indicators on Tradestation back in the mid 2000's and had a similar result after using them with an automated trading strategy, albeit less loss (somewhere around $10k). I was trading on 3-1 margin and closed all positions before the end of the day. Very stressful, I too let emotion interrupt trades, etc. Fun to develop, painful to execute. I'm much happier creating startups! =)
I recently moved to low cost city for job. Though we still have cubes but now there are about 40% smaller and walls are lower than last workplace. So in effect it is quite louder for work. However manager cabins are now twice as larger than before.

At the same time management has cracked down on any work from home requests. So somehow management does not care about individual productivity. As long as a crappy HP laptop is hooked on to 2 monitors every developer is good to go.
Most grocery stores aren't non-profits that are exempt from taxes. Many hospitals are.
Stuck: Why the rent and mortgage-burdened don’t always move to cheaper pastures
Fortunately not every company is that close-minded.

I work in a remote office, and I collaborate every day with my team in Dallas (and most company members are distributed mostly all through the U.S. but also Canada, the UK and India).

There's a LOT of collaboration tools, we use Slack (well, we were forced on Microsoft Teams now), Jira, Skype, e-mail, WhatsApp...

I still appreciate meeting in person, they flew me once to meet most of the team.

Videocalling is decent, but still no substitute, but all those tools I outlined do enable us to create value :) .
Or they just need to move to cities that have room to grow.

I'm in Houston and I bought a gorgeous townhouse-style home in my favorite part of town near downtown, and it was in the $300k range. Can you buy a patch of dirt in the Bay Area for that much?
In NYC, 2hr+ commutes from New Jersey that involve a car, a bus, and some trains are not uncommon.
Maybe it was about their home not being a good environment to work (spouse running a daycare operation for kids, whatever), not about the company policy.
This might not apply to everybody with depression, but here's something that can sometimes help:

Take responsibility for your life. Stop blaming other people, society, your employer, etc. for your woes. Take a hard look at yourself and consider how you contribute to your own misery, how perhaps you use that misery to confirm your sense of victimhood. This trick makes you feel both justified, and completely miserable. By abandoning the concept of blame, and considering what you can do right now to live according to the principles you believe deep inside you to be right, you can escape this cycle and make the world a better place.

It's an idea I've been playing with lately.
Wasn't support for that removed?
You're not wrong. Her blog is tame compared to some of the comments I see DAILY in ANY subreddit on reddit.

What Joy SHOULD have done was admitted that she "used" to be a homophone, and apologized.
> but I think it is a lot more complicated than saying lets copy X countries plan

I don't think anyone in the discussion thread is advocating carbon copying another country's healthcare.
My commute ranges anywhere from 35 minutes to 90 minutes. It used to be pretty consistently under an hour to mostly anywhere in Manhattan south of Central Park, but the past few years have been pretty terrible (thanks MTA).
As many mentioned elsewhere, there's a halfway point that are remote offices - or coworking spaces or whatnot.

It is a source of friction, sure, but it also has a lot of positives.

I'm pretty sure there's an equilibrium point for on-site vs remote, but I also believe we're nowhere near that right now - and technology might keep bridging the gap to swing it even more towards the remote side.
LA has similar problems as well, so you're stuck either way. Price of paradise I suppose.
And that's why we can't have nice things:
https://en.wikipedia.org/wiki/California_Proposition_13_(197...
The ER is only required to assess patients and if you come in uninsured, unable to pay and with a GP-level complaint (flu, whatever) you'll receive no further treatment other than the assessment.

A lot of people seem to think ERs are simply required to treat everyone, which is not even close to true.
For algorithms that seem correct, but aren’t, look at any security vulnerability in decently audited software. A nice example is https://crocs.fi.muni.cz/public/papers/rsa_ccs17

Also, see ”Nearly All Binary Searches and Mergesorts are Broken” (https://research.googleblog.com/2006/06/extra-extra-read-all...), which is caused by the difference between mathematical integers and computer ‘ints’.
Hope. That is the single most effective solution. Working out,dieting and spending regular scheduled time on yourself helps as well. but in essence depression is one way to say "the mind is starving from lack of hope"

Find out the things,people and concerns that matter the most to you and find hope. With or without reason,find hope.

No matter what other solution you might use, if your hope problem is not fixed then you're probably only fixing symptoms.
I commute this in Austin daily, but it's a result of poor city planning.
I'm having a hard time seeing how something coming out of an incubator will be a viable solution to Facebook's destructive nature. As long as the solution is for profit, the resulting outcome will be biased towards monetizing user's data and causing addictive behavior.

IMHO, the money would be better spent funding one of the many open source decentralized solutions such as Mastodon, Secure Scuttlebutt, Beaker Browser, IPFS, etc.
Author here.

If you wanted to run you own drivers, or had code written specifically against protocols exported by Tiano components I believe the answer is - yes.

RaspberryPiPkg is the $35 64-bit Arm UEFI devkit.

Of couse the U-boot implementation of UEFI spec is getting better and better day by day, and that’s obviously awesome. I am sure someone will add ACPI support to it any day now. Having choice is good, and I wouldn’t want to live in a world with a single implementation. That said, Tiano (like it or not) /is/ the reference implementation, and you’re much less likely to run into surprises (today). Notice how I didn’t say Tiano is /better/, because in a number of ways (code quality, complexity, fragmentation) it’s pretty awful.

One thing the U-boot implementation excels at is embedded Arm board support - U-boot is the defacto firmware for most embedded hardware, and now all of that hardware is EFI-capable. Porting Tiano is effort you don’t want to spend.

That said, there are hybrid approaches - EFIDroid (efidroid.org) runs Tiano on top of LK, using LK’s platform support for drivers.
I think this conflates spending with results.

I dont know enough to confirm or refute, but government science in general is pretty inefficient: yes it does things that the private sector wouldnt do that are valuable, but it does a lot of other things poorly and expensively.

Not to mention that the very state makes researching drugs onerously expensive. It can take a billion dollars to get FDA approval, how is that reasonable.
Hah, that's a lot to digest there :)

I've already spent more time in this thread than I really should have, and I'm also sorta slightly burnt-out after spending the last few weeks putting together my first Redux workshop. My immediate priorities for the near future are trying to consolidate the PRs and issues we have for updating React-Redux to work with React 16.3+, and pushing forward on the "redux-starter-kit" package I put together.

That said, yeah, I _hate_ that we've had to spend so much time "defending" Redux rather than figuring out niftier things to do with it. I've seen a lot of interesting experiments in the community, but haven't had time to really go off and investigate or play with them further. (I don't even have enough time for all the blog posts I want to write :( )

At a minimum, Redux has been hugely instrumental in changing the minimum bar for debuggability and state tracing, but yes, I'd love to figure out ways to push the envelope somehow.
No. If you have a private system, the public system gets abandoned; it's the first thing to be cut when budgets are constrained because no one making the decisions knows anyone who uses it. See US public schools.
Sometimes. It sort of depends.

I mentioned above that there are scenarios where failure is incredibly costly, but the opposite is sometimes also true. Job hunting comes to mind.

I use luck to describe anything with variance that I can't control. So by that measure, job hunting has a ton of luck involved. But I don't need to have a good win rate for job applications - I just need one job application to succeed.

That's something I can play the odds with - if I have a 10% chance of getting hired at any given company, I can send out 10 applications and have... what, a 60% chance of getting hired? I'm bad at math, but you get the point.

In Hearthstone terms, aggressive decks also used to use this strategy as well. I don't know if this still works, but at one point at least all a deck needed was a >50% win rate and enough games to hit legend because wins gave you more points than losses removed. Something like that, I forget the exact mechanic.

People would play decks that won or lost based on randomness very early - their overall percentage was pretty bad, but because they were just effective enough, and because their games were incredibly fast, players could take advantage of the fact that (at least at the time) wins were more valuable than losses.

Again, take that with a grain of salt. This wouldn't hold true for games where you get limited tries, or where losses matter a lot more than wins, etc. You have to figure out whether or not it makes sense for the specific 'game' you're playing.
Our Early Ancestors Stalked Eight-Foot-Tall Sloths
Videoconferencing introduces friction in to the process. Those meetings must be planned and scheduled. There are no serendipitous hallway or kitchen conversations that flow easily when people are colocated

There is also the friction of the software itself. Whiteboarding and freewheeling discussion is possible but it doesn’t have the same feel to it
> Remote work hasn't taken off on a large scale

Which is fortunate for any US or European citizen who hopes to ever find employment again.
True, Colorado has some gorgeous backdrops, but then again, you'd also have to be into 1/2 a year of intense snowy winters.
How this isn't already mandated by law is baffling. We like to champion the "free market" but then completely fail to implement policies that make that even remotely possible.

When people talk about the free market and today's healthcare in the US I'm always like, "What are you even talking about?" You've got a situation where there is typically no competition and little or no information available to the consumer. Free market economics simply don't apply.

One of the reasons I like Kaiser is because the price for just about everything is posted. I know an CT scan of stomach area, with dye is $608. Every healthcare provider should be required by law to give you an estimate price on the spot. If it's too complicated because of multiple insurance providers and their contracts they should be forced to renegotiate in a way that make this possible. "It depends" or "we can't tell you until after we bill you" is not acceptable. Can you imagine any other market working that way? How much is this car? Can you imagine if the response was, "Well, it depends. We can't tell until after you agree to take possession. It's somewhere between $40 and $40,000. But it might actually be free if you submit form X, but you have to go back in time and submit it before you walked in the door and get it approved."

If the option was universal healthcare vs a free market system there would at least be a discussion. Instead it's universal healthcare vs the roll-of-the-dice healthcare system we have now.
A lot of it really is code quality issues, both in the core and some of the contributed I/O drivers.
I think it would be better but it still doesn't address the problem of easy money making everything expensive. The other problem I think could come from making each state a "walled garden" so to speak that prevents non-residents from using those services. At least with the states deciding you can vote with your feet.

I could see California residents arguing why they should pay for the medical expenses of tourist.
You also won't find the 'popular excitement' that is late-night tv guest appearances, supermarket checkout magazines, radio spots, entertainment news, social media 'influencers', and so on, reminding us of the 'significance' of the netflix produced items either..

There were plenty of late night tv guest appearances, supermarket checkout magazine articles, radio spots, entertainment news, and quite frankly excessive social media influencers fawning over House of Cards, Orange is the New Black, or Stranger Things in their first two seasons. HoC especially is single-handedly responsible for Netflix's status today as a destination for shows (and the people who make them)

when hollywood itself is determining what is culturally significant, and neflix is basically a 'rogue studio', this is hardly surprising..

Hollywood doesn't determine what is culturally significant, people do. Netflix produces culturally significant shows...but not movies.
Anyone got any strong recommendations?
> But if you are in the top 10%, life is amazing here

I totally agree. I wouldn't be in the top 10% if I moved out there even _with_ a relatively good tech job.
Show HN: Need feedback on our automated Facebook Ad scaler idea
Bosch says new clean diesel system beats tough emissions limits
My question for everyone: Where do people get reliable data for back testing? Ideally I'd like data that goes back over 20 years. And with relatively few data integrity issues (e.g. does not exclude companies that no longer exist).

Even more important: How do I know my data is accurate?
Indeed. If the offices were in the same building as the homes, some of that commuter traffic even moves to the elevators and stairwells, and never leaves the site.
There's a quote from Lundgren stating as much. I don't know if that's his assessment taken from the 2 convictions or something more.

It would be curious to find out. I've not read anything to indicate that Microsoft would have opposed that so an official statement from them would be nice.

The fact that Microsoft sells refurbishers licenses for $25 for "unlicensed hardware" seems to acknowledge that refurbished computers can retain their license.

That being said, I would be surprised if Microsoft allowed distribution of recovery media from an unlicensed sources regardless of the label.
“Consider the source.” Not to mention that the “conent” opening with “printing money is wealth theft” isn’t worth the time it took to read, never mind responding to it.
Celso's quote applies equally well to SQLite, which is SQL compliant until it's not. Glad to see MySQL improvements, but wish SQLite was also getting similar upgrades. It was a bit depressing to see the solid column of Xs by SQLite for all these great new features the author was relishing.
I feel bad for people who have to do this. I'm sure they can justify it to themselves and explain it away as not a big deal, but I've done it, and know that it's terrible. There are so many better ways to spend that time than sitting in a vehicle.

If I can't reasonably ride my bike to work then I'm not interested. It's just not worth the decrease in quality of life.
But hey, they publish important world affairs (TM) like https://www.express.co.uk/news/royal/950139/jeremy-corbyn-Ka...

(Or perhaps I just don't get the extent to which you English people fawn over your royalty, and a lot of you REALLY think it's OUTRAGEOUS that Corbyn took SEVERAL HOURS before congratulating?)
RaspberriPiPkg can’t boot Raspbian today, since the latter is 32-bit. Can boot stock 64-bit SUSE and Ubuntu, though.
DNS security is a red herring. This is a BGP attack; the attackers control IPs. They can intercept traffic --- including DV cert checks --- without touching nameservers.
Memex: As We May Think
this source claims 72% is more accurate: https://www.quora.com/What-percentage-of-San-Francisco-apart...
If diesel is less refined than gasoline how is it possible that it could produce less* pollution, than gasoline?

Diesel has always been an illusion to me, like turning lead into gold.
This looks like a great place to tell you about the burning white hot rage I have for Debian after my difficulties with MySQL this past weekend.

I was working on script that builds a LEMP stack with Vagrant on a Debian box. And when the script was upgraded to use Debian Stretch, everything we did to customize MySQL configuration broke, and I spent many hours of anguish not knowing why.

Until I stumbled onto the fact that Debian decided that in version 9, they'd start installing MariaDB when you typed "apt-get install mysql-server". I cannot fully explain the anger I have for this dark pattern: When I say "install x", you should either install x or say you don't have it, not install a competitor you think is close enough.
Do you have a source for the average FANG salary being $200k cash plus $200k in equity?

Glassdoor shows Google software engineers make a base of $127k cash plus $75k bonus and stock:

https://www.glassdoor.com/Salary/Google-Salaries-E9079.htm

Senior software engineers make more, but there seem to be many fewer of them relative to software engineer.
There is no treatment for Alfie Evans.

All the doctors (even the Italian doctors) agree: Alfie Evans is going to die, and soon. What they're offering in Italy is exactly the same palliative end-of-life care that he'd get in the UK, but with the addition of a long painful trip.

Alfie Evans has had the benefit of world class medical treatment - in the US he'd have been killed by the insurance company a long time ago. He's also had the benefit of free legal representation to make sure his best interests (because in the UK and Europe the best interests of the child are what's important) are looked after.