skysight-inc/HackerNews huggingface dataset:
Don't try to scapegoat, it's a collective action problem, everyone on the planet is responsible for this. Think about how painful it would be for you to totally wean yourself off fossil fuels. It's the same at the nation level.
std::thread has only been around since C++11, so most existing HPC codebases probably either use pthreads[1] directly, or an organization- or project-specific library wrapping pthreads. Some used boost::Thread, which was effectively the predecessor of std::thread.

If you want to saturate every core on a very parallel problem like "handle as many packets as you can", a very rough first approach would be to spin up 88 threads (one per core). Within each thread, you could use either something like boost::Fiber[2] (similar to goroutines, except mapped N:1 to OS threads, rather than M:N) to avoid blocking the threads on IO. This paper[3] has a good overview of different concurrency approaches.

If you're doing something that's not embarrassingly parallel[4], then often there is a well-researched approach for your specific domain. The same general ideas apply to keeping your cores busy, but you're often more bounded by communication between threads, memory bandwidth, etc.

[1] https://en.wikipedia.org/wiki/POSIX_Threads

[2] https://www.boost.org/doc/libs/1_70_0/libs/fiber/doc/html/fi...

[3] http://www.sosp.org/2001/papers/welsh.pdf

[4] https://en.wikipedia.org/wiki/Embarrassingly_parallel
Scala, too.
This talk from PyCon 2019 is related and may be of interest: https://www.youtube.com/watch?v=vTingdk_pVM
Yes, exactly, bindings shouldn't be chained. The whole point of do-notation i.e. syntax that looks like normal bindings is to make them look imperative so that our monkey brains can grok concurrent code easily. Making 'await' expression-oriented is missing the whole point of 'await'. You could have just kept using 'flat_map' or whatever macro.
We'll start out using other's pumps, and then move into making/selling fuel making systems themselves. I don't see us buying gas stations.
Did you? That system was already working and it sounds like it just needed a couple of decent Devs. I'm sure the hardware is not cheap, but surely it's cheaper than a full Java rewrite with new hardware?
Of course it does.

Assume Rider A believes (rightly) that they're stronger in the break than Rider B. If they don't bring Rider B along, they might have a 50% chance of making first place and a 50% chance of getting caught and losing in a bunch sprint (time-trialists don't generally make good sprinters and vice versa). If they do bring Rider B along, but Rider A does more work (perhaps Rider B is holding back a little bit, knowing they will try to steal the first-place finish) they might have an improved 75% chance of staying away from the pack but there's a 50% or greater chance that Rider B will sprint and win the finish.

If they cooperate, Rider A has a 75% chance of first place and Rider B has a 75% chance of second place, with both having a 25% chance of a pack finish. If Rider A defects, Rider A has a 50% chance of a first-place finish and Rider B has a 0% chance of a podium finish. If Rider B defects, both Rider A and Rider B have a 37.5% chance of a first-place finish and a 75% chance of getting a podium. If Rider B values a 75% chance of second place higher than a 37.5% chance of a first place finish, they'll offer this deal. Note that this isn't strictly a Prisoner's Dilemma becuase there's no concept of a double-defection: if Rider A defects, Rider B won't have a chance to.

Obviously in a real-world situation you won't know these percentages, but hopefully it illuminates how both sides benefit from cooperation but lose if they want to cooperate and but the other side defects.
Yeah, I've been caught out by this a few times. I've since acquired the habit of pressing Escape to de-select if I think something might be selected.
I came in here expecting to see one hell of a rationalization for using a 44 year old computer to do visualizations. :)
Not for nothing but channels become a bottleneck pretty early when you start doing highly concurrent golang.

You can very carefully design around it using only channels but it quickly starts making more sense to just use a different concurrency abstraction.
Competing on price is the plan. It's a commodity, so the only way to replace fossil fuel is to take market share by competing on price.
Exactly, Ivy is where you make great connections, like Low Taek Jho (1MDB).
"Market forces" are just people doing stuff. You don't need a minimum wage law to refuse a job that pays less than that.

If there is another job that pays more then the minimum wage does nothing, you can take the other job instead regardless. If there isn't, i.e. you're one of the drivers who would become unemployed, are you really worse off with slightly less money than zero money whatsoever? How does that help you?
Can you speak more about this? Are you saying that Altair's speed scales poorly with dataset size?
Live-Streamed Curl Development
:+1: for live share from me too. It worked really well when we used it within NZ and then back to the main office in the UK. It’s been really useful for helping some of the guys back there
If you read to the end, you realize that it’s more complicated than that. It truly and legitimately felt like cheating, and yet under the written rules, it was not clearly cheating.

That’s part of what makes this such a great story. He knew it was cheating, even if it wasn’t cheating from a these are the rules perspective. That is, cheating exists within a cultural context, not just a written context. I feel like this is a weird place in American law: the law is an interpretive endeavor, and yet it is treated as a “rule” where loopholes are “ok” even if it’s not in line with the spirit of the law.
Show me where in that article it says that a VM is required. Am I interpreting you incorrectly?
It's likely we will be exempt from ethanol blending requirements, as this would increase the carbon intensity of our fuel.
FullCalendar is excellent- it's a part of Study Swami. Thank you, Adam, and congratulations!
This fundamentally sums up why I prefer macOS over windows. Things work consistently throughout not only the desktop experience, but the phone and watch experience too.
Sure, but a user has no way of knowing if their mail client does opportunistic STARTTLS or not. It's not something the average user can test, and not something mail clients would typically feel the need to mention. On the other hand, you can tell people that good practice is to use ports 993 for IMAP and 465 for SMTP and they'll be good to go, that using any other ports opens them to potential attack.
I am flummoxed as to how anyone would consider any kind of verbal communications during a cycling race to be "cheating". There are no rules governing informal collusion agreements made during a race, as far as I know.

If there is any kind of problem here, it's that two or more colluding racers that take turns drafting each other can race faster together than each of the individual racers cycling alone, and that cycling features many different competitions including some of the same competitors. This creates a trust-dependent metagame.

So the correct game theory play against someone reneging on a false promise would be for someone to seek out and draft the renegade racer in the next national championship competition, without ever giving them the opportunity to draft, thus punishing the betrayal in a tit-for-tat fashion. Seems like an inconvenient and bloody-minded thing to do, though.

The business with handing over the winner's trophies to the runner-up just seemed bizarre and awkward to me.
So now you can't disable their "analytics".
It doesn't give you a warning if your computer has been turned off for an extended period beforehand (for instance, if you're dual booting and Windows isn't your main OS.)
> someone who has broken the rules.

Google's rules. How long till they decide that making apps to break Android DRM, or block advertising, is also against their rules? Those rules aren't written to advance ethical computing, but to make Google money.
Although the article was mostly about this social media issue, watching the attached video I found Guido's statements about diversity and unconscious bias in Open Source to be a much more interesting part of the interview. (around the 23 minute mark)

Quote from Guido:

If you say "our project is open, anybody can come and join us, anybody can contribute", you are really underestimating the issues. Because it is not just joining the project that's the problem, it is staying in the project.

Which means you have to feel comfortable exchanging emails and code reviews and what-all with people that you don't know personally but you communicate frequently online.

And that sort of communication requires that everybody has respect for each other, and that respect is often missing because of unconscious biases, where guys and sometimes even women, who believe that they have no bias, don't realize that there are small differences in communication styles between men and women, (sometimes they are large differences) that just make it harder for women to join a particular community.

Because it's not just about writing the code, you have to sort of stand up for your code, defend your code, and there is a certain male attitude there that is endemic in many projects, where a woman for example would just not feel comfortable sort of claiming that she is right, that she has the correct insight to decide or to choose a solution, while a guy who knows less than that woman might honestly believe more in their own being right, and so they present a much more confident image. And so they have a much easier time even when they are not all that competent. As long as they present confidence they might get their inferior solution adopted.

A woman will more likely feel that she has to have a perfect solution and a perfect understanding of the issues, why it is a perfect solution, before she will even submit a patch. I am doing a fair amount of mentoring of women specifically, and I found that sometimes women I am mentoring will ask for my approval on every step of the way. They will say "I want to file an issue on the bug tracker but I'm afraid of the negative backlash when I put the issue in, can I tell you what I want to write the issue about?" That is charming, but and I always tell them "just put it in the tracker already! your head is not going to be bitten off, you will got honest feedback, and whether the feedback is 'that is a good idea' or 'that is a bad idea' it will be fine". But I'm sure a guy of the same skill level would not hesitate to just put the issue in the tracker. It is a bit of an attitude and mentality difference which makes it much harder for competent women to get started and stay afloat in this community where the male attitude is the default attitude. Because if someone presents that uncertainty, they are much more likely to get ignored or rejected.
And I wouldn't use a programming language whose designer didn't have this attitude.

I also wouldn't use a programming language that is optimized for increasing the number of users at the expense of performance, clarity, stability, consistency, or power. I don't want a language that appeals to most people, I want one that disproportionately appeals to careful and competent people.
We expect a long life for the CNT membrane, as it operates on clean internal streams. They are actually not that expensive, so this is a small risk.
Is there any progress being made on carbon sequestration so that we dont have to revert to killing people?
> You could apply this argument against any form of welfare.

Only welfare that you can collect while employed. I personally feel that the welfare costs incurred by any employed person should be billed back to their employer (except in some special cases like otherwise unemployable disabled people).

> That there are some professions (like rideshare drivers) in which the pay is too low to maintain a minimum standard of living sounds like a welfare problem.

It is, though I think welfare solutions become taxation problems, and the people who should pay the most tax also those who are most sophisticated at avoiding it.
True, but you can't chain returns, making this suggested use of a special postfix operation a bad idea imo.
No, I’m not being disingenuous. As an investor, I care less about what percentage of online sales Amazon has. It could be 10% or 90%, but I care more about the total size of the retail space and Amazons specific dollar amount. If you heard their last earnings call, it’s clear their online growth is slowing down. Amazon understands this and they know a long term bet on it isn’t wise - hence, they’re shifting to a more physical presence, but WalMart trounces them. WalMart has the retail space strategically located across the country, and WalMart is offering competitive shipping, without requiring annual memberships. They’re holding their own in the online space. If anything, your 50% metric is an incomplete picture and a gross representation.

I’m still betting on Amazon going forward (I invested ~$2MM when they were below $300 a share, which has grown miraculously), but if their retail business was where all of Amazons eggs were put, I would have offloaded my investment a while ago.
Your first paragraphs are entirely correct. "Shadow banking," for example, has created a notoriously complex and opaque credit market.

Your last paragraph, though, is completely at odds with basic financial and economic theory. Loans make mathematical sense because you don't make just one of them; you aggregate capital and take calculated risks on a broad variety of prospects. Many of them are low-risk (e.g. loans backed by substantial assets), others are high-risk, and you adjust the interest charged so that to take on high-risk investments you must be compensated with high interest rates. Maybe you take the full downside on one or two investments (e.g. you invest in two outright frauds), but if you have fifty other loans that offset those losses by paying high rates of interest, then you still make a profit.

Also to your point in the second paragraph: equity is a bad tradeoff in many cases. If I'm starting a business that I expect to be hugely profitable, but I need $100,000 in startup costs, would I rather give up a big chunk of my company and pay out dividends for decades (or in perpetuity), or borrow the money and pay it back with a comparably small amount of interest quickly?
To be clear, a lisper would not solve the problem by switching to a more verbose syntax, but that doesn't mean no depth is too deep. Breaking a big, deeply-nested function up into smaller ones is a perfectly lispy thing to do.
Cygwin executables are compiled to Windows binary (PE) format but target POSIX and UNIX kernel APIs. In other words they're half Windows and half UNIX, and can run on neither natively.

That means configuration files and some tools need to specifically target Cygwin and often source code needs specific changes/patches/flags to be compiled into Cygwin's compatible format.

Nobody said Cygwin didn't work. I am just explaining to you why it is unpopular and why it is a leaky abstraction.
CSS Selector Specificity Tool: Find the best selector to override existing style
We have pretty good control, but it's not necessary to make pure substances like only octane, etc. A mix of C4 to C12 hydrocarbons and alcohols that meets the ASTM spec is all we need.
As mentioned before, I was being sarcastic.

Why does anyone believe that marginalizing or demonizing the antivax movement, that attempting to force them into submission, will do anything but strengthen their resolve?

Even I am starting to wonder why, when the benefits of vaccination are obvious, governments feel the need to _force_ parents. If the vaccination story is solid, which I believe it is, let's just let this play out. Let the anti-vaxxers be our control group. History will settle the debate.
This is only true because the US didn't lead 40 years ago when environmental impacts were well-studied but conservative politicians like Ronald Reagan began doubling down on anti-environment policies.

Then China and India cargo culted our "western" lifestyle and the rest is history.

The only inspiration I find in all of this is that many developing countries are rejecting rat race capitalism for basic sustainability. Many of them have better/cheaper internet connectivity than we do, and are adopting solar and wind projects in place of coal power plants. If they invest in automated community gardens (similar to our lettuce greenhouses), there is a chance that they will go around us within a generation.

I think that explains a lot of US interventionism in Africa and South America. They see this sort of futurism as socialism or communism and do everything possible to shut it down at every turn.
> or we pay inflated prices for goods and services to maintain wage floors. [snip] Paying inflated prices for goods and services is regressive as it's a burden that falls equally on the rich and the poor.

Not regressive if the poor are earning more because of a widely deployed wage floor (with obvious caveats).
You can use the open source version of Qt with LGPL for commercial products.
So this sound like the CPU usage will be quite a bit higher than with wsl1, since it's actually running a VM. Kind of like Docker on Mac. It's not a huge issue, but it still takes some battery life away.
[Prompt]

Measles is a very contagious disease caused by a virus. It spreads through the air when an infected person coughs or sneezes. Measles starts with fever. Soon after, it causes a cough, runny nose, and red eyes. Then a rash of tiny, red spots breaks out. It starts at the head and spreads to the rest of the body.

[Continuation]

When someone gets measles, the virus can be carried into a host for months. But the virus may spread back to another infected person or even the infected person's partner.

If you have been exposed to measles, you may have mild or mild to severe symptoms of symptoms such as:

Vomiting (bleeding from your eyes and nose) but you are not sick

Headache

Vomiting that is a little bit heavier than usual

Vomiting that is small

Headaches but no soreness

A rash

A fever of 100 or higher

How to keep measles under control:

You shouldn't have it!

Don't let
I agree. I find that overly verbose code can be just as difficult to follow as code that's too clever.
This article was linked from another article which I guess is where I saw the VM info:

> WSL 2 uses the latest and greatest in virtualization technology to run its Linux kernel inside of a lightweight utility virtual machine (VM). However, WSL 2 will NOT be a traditional VM experience.

https://devblogs.microsoft.com/commandline/announcing-wsl-2/
> Only welfare that you can collect while employed.

You're right, and I'd personally advocate for removing the employment requirement for the EITC (closer to a negative income tax or even a UBI), but expanding the EITC is more politically tenable in the near term, and becomes a stepping stone to achieve the latter.

> the people who should pay the most tax also those who are most sophisticated at avoiding it

Are you suggesting that welfare and progressive taxation don't work? Or are you arguing that regressive taxes are more optimum/more effective?
When did we forgo

> Life, Liberty and the pursuit of Happiness

?

"Modern" mentality seems to be that everything is illegal unless government specifically approves. Any substance that emerges and becomes popular enough gets banned immediately (unless there's a huge backlash; I can only recall one case like that, kratom. Don't know much about that substance though). Meanwhile invasive questionable medical treatments and supplements are marketed as safe (government stamp of approval) all the time.

I recall how green tea extract destroyed someone's liver because the dosage was just crazy high. But it's green tea, so must be good for you? Or how about alcohol or tobacco or opioids which are literally killing people?

I think psychedelics should be unbanned first, because it's the right thing to do. The need for more research to treat specific conditions is a separate manner.

At the very least this should apply to mushrooms and perhaps LSD. MDMA can be great even in self-administered setting but I think it has more potential for (unintentional) abuse.

But mushrooms can be abused right? Sure. What about people who died in water drinking or hot-dog eating contents then? Are we going to ban those?
If being the first in line to collect the proceeds of liquidation in case of bankruptcy is the only advantage of loaning vs investing, then it still doesn't seem like a very strong case to me.

>> a business might not want to hand over ownership

In terms of not wanting to hand over control; a business could achieve this by issuing non-voting shares. In terms of actual ownership, I don't think it makes sense for an economic entity to give or loan money to a venture unless they understand or at least believe in the venture - Ownership is the best way to demonstrate that belief.

Debt may be a way to commoditize the funding process but this doesn't make sense begin with - Money loaned by bankers on the basis of broad statistical probabilities cannot outperform money invested by investors on the basis of deep understanding of the market and business domain.

If the economy ran more on debt, we'd end up with fewer well informed investors and more poorly informed bankers. The economy would be much less efficient.
> though to be clear they don’t support running Linux containers

I think this needs a 'yet', since supposedly it'll be changing with WSL 2 later this year.
I wouldn't be surprised if Amazon is a national security component now and that may be why they don't pay taxes are get have deliveries subsidized etc. Can the government let them fail if they are critical infrastructure?
> Are all these equivalent?

But is that really what you're looking for? I see that idiom and I think, "Ok, this is a comparator" and I move on. If I suspect a _bug_ in the comparator, then I'll look at it more carefully, but the context is about writing code whose intent is clear, not writing code that can be scanned for bugs easily - which would be a tall to impossible order anyway and isn't made any easier by sprawling your code across 10 lines where one will do.
Makes sense. SSDs are bigger and cheaper than ever. Not as much need for spinning metal drives. Not that the need is gone, but most people can probably get by with a single large SSD where before they need an SSD and HDD to store media.

Still a pretty sharp drop for one year.
I don't want to name any particular people or groups, because everyone makes mistakes and has limitations.

I will say this: in my personal experience, I've been a part of groups that struggle in dealing with complex decisions. Many times they get bogged down when they don't find a clear answer that satisfies everyone or all criteria. In many cases, such groups don't have a clear leader or the leader lacks the skills, experience, and character to do what is necessary; namely, choose (and communicate) the least-worst decision that keeps the ball moving forward.

In such cases, it is not necessary (and unrealistic to expect) that everyone agree with every aspect of every decision. A leader needs confidence and persistence to make tough decisions, as opposed to abdicating leadership. Some examples of the latter include (1) ignoring a choice until some default decision is made implicitly or (2) simply choosing the idea from the most vocal person.

Put more broadly, in this context, leaders must balance four aspects: (a) scoping and framing a decision; (b) gathering diverse points of view; (c) building some degree of consensus or buy-in; and (d) making a decision. It appears to me that the Rust language team handled all four comprehensively.