skysight-inc/HackerNews huggingface dataset:
Our 'workspace' is so ornate that yarn couldn't handle it. 1.21+ almost looks right, but something very bad is still going on with mocha deduping, such that tests are failing with really bizarre error messages.

I check yarn about every three months, or when I find a new, infuriating bug with the npm CLI (so, every couple of months on average). I think npm install suffers greatly from not having a formal spec. It has been bugfixed by so many different individuals now that it has reached a truly astounding level of schizophrenia.

If yarn didn't exist, I would have started trying to break down the install problem into many independent concerns that can be reasoned about individually and tried to solicit help in making a full installer out of it. If I'd known I'd still be trying to make yarn workspaces work for us 18 months later I probably would have.

Node modules in general have some bad patterns of delegation that are utterly antagonistic to self-documentation, and both yarn and npm seem to suffer from this as well. I think in the next week or so I'm going to have to set up a small test case that exhibits the yarn bug I'm seeing, or any of the half a dozen interlocking (emphasis on 'lock') npm bugs that now have me painted into a very tiny corner.
Github is very rarely the first link I click on when reading search results. Often you find the project home page, or a forum discussion, well before any of that
Citation please? This seems like overt misinformation.
And in the particular case of an epidemic, having a significant part of the population without good access to the healthcare system is likely to create worse outcomes for EVERYONE.
If you want to resolve the safety issue your lights are apparently now causing, you can have the entire headlamp assembly retrofit for LED bulbs, instead of just replacing the bulb. The reflector is designed for a particular type of bulb -- replacing just the bulb means there is often no way to aim the light in a safe and effective direction.
I never see mention of Windows with Session Manager. I have a mixed infrastructure with a number of Windows (IIS) app servers running various things.

We currently connect via SSH to a bastionhost, then tunnel from there to various systems, which allows connecting to SSH (linux instances), RDP (Windows), or basically any other network services like Redis or a database. I ended up writing some scripts to automate all this, so as long as you have the right certificates and IAM permissions, you can connect with a single command -- for Windows instances, it even retrieves the randomized password from the EC2 API. The end result is for any EC2 instances you're instantly popped into a shell/RDP session without having to enter credentials.

I'd love to replace this with something better (eg Session Manager), but I've not seen how to do this for RDP, and haven't had the time to go experimenting on my own to see if it's even possible. If I can't 100% replace the bastionhosts, having two entirely different connection methods doesn't solve anything (and in fact makes it worse, because it's harder to use).
Ask HN: Best Stripe Alternatives?
Recently, we've been having a lot of problems with stripe (transactions are falling because some issue when passing the token/customer to stripe). We are considering moving to another provider. I've used stripe in all my previous companies.

Any recommendations on which payment gateway to use? We want to own the entire checkout experience.

I am interested in hearing your experiences :)

[Edit] We are trying to find the root cause of the issue, a processor that allows us to talk to an engineer would be great.

[Edit] Checkout works correctly on test mode, but fails when running payments live. Customers have used their cards on other websites using stripe and transactions went smoothly.
That's a fair point - thanks for the reminder :|
How common is it for depressed people to self-isolate anyways? If that's super common the additional impact should be lower.
Good improvement,
I've added "include something about the nature of measurement and irreversibility to QM notes"
FWIW, Open Air Treatment was used to fight the 1918 flu pandemic. But I think culturally, we (Americans at least) love our HVAC.

"A combination of fresh air, sunlight, scrupulous standards of hygiene, and reusable face masks appears to have substantially reduced deaths among some patients and infections among medical staff. "

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4504358/
I do not disagree! My “simply” was just indicating a resigned acceptance that there isn’t a technological solution, so we might as well reach for good ol’ fashioned political instruments - with all the complexity those entail.
Quite true, my thought was that a loan can be a larger amount. $1k one time on't change much, $10k would help people pay for food etc.

It's always possible to do both.

> Furman proposes Congress pass a "one-time payment of $1,000 to every adult..."
6 Years Remote
This entire article is nothing but evangelisation for Pharo. Misleading title, worthless post.

I’m not surprised either. The author only ever writes Pharo evangelicals that consistently fail to demonstrate any of the supposed benefits; we’re always to simply believe what is said.

Any body can show me buzz words. Nobody gets points for buzz words, not even for effort.

That’s patently not how one promotes a programming language.
NICE! It would be wonderful to expose that information!

Somewhat related, I believe NPM pulled in (or co-opted) some of the heuristics from this: https://github.com/npms-io/npms-analyzer (but those don't seem to include any of the aspects I suggested above).
Only feasible if you only use libraries which maintain ABI compatibility scrupulously or if you just take a narrow view of portability.

There's a lot of code in the wild which maintains compatibility only at the C source level using preprocessor macros.

FFIs are a nice toy for one-offs or integrating with vendored dependencies. Most never get past that stage.
The primary goal right now is to flatten the curve so the growth doesn't stay exponential for any longer than it has to.

Once that flattens out and the growth rate slows or decreases a concerns is that folks will head back out, assuming the coast is clear.

That could cause a second wave of infections that restarts this whole thing.

Folks not taking this seriously is a problem, imagine what happens when folks who don't take this seriously think that it's finally over, when it really isn't.
UNECE regulations require further angling the headlamp vertical aim downward based on the vehicle height. This page[1] has some common values:

[1] http://www.danielsternlighting.com/tech/aim/aim.html
> Except optimizing based on undefined behavior is also a form of ignoring the situation.

That is illogical.

1. The optimizing is based on undefined behavior (your exact words). (Actually it is based on the assumption of freedom from a specific undefined behavior, but the assumption is somehow tied to that case of undefined behavior.)

2. The situation that is to be "ignored completely" is the undefined behavior.

3. So the "based on" and "ignore completely" both refer to the undefined behavior.

4. Contradiction: "based on" is quite opposite to "ignoring completely". You can only be doing one or the other.

Also, you're neglecting to provide a plausible hypothesis as to why "permissible" had to be changed to "possible", if it
makes no difference in meaning.

I don't think that the original ANSI C committee would have signed off on that change. It's not an interpretation of existing committee intent, but a case of new people changing the language.

The purpose of, say, numeric overflow being undefined is that implementations didn't agree on how it was handled. Compilers simply passed that on to the machine code. that's what it means to "ignore the situation completely": just compile the code, and let whatever happen in the translation. Programmers who understand the machine could infer the behavior anyway, for their platform.

> see that one of them invokes undefined behavior, ignore that situation completely

Removing something from consideration after evaluating it is not compatible with the wording "ignore completely". It might be compatible with "ignore"; I could swallow that much. Definitely with the "completely" though. The C89 authors added that adverb there for a reason.

> And that would be perfectly in line with the wording of the standard.

Well, with the current wording, not the historic wording in C89.
> I can't imagine anything useful we'd be getting out of that experiment

I uhhhh. People's ability to work and live is important. That's what we get out of it. People not starving or living in poverty is, surprisingly enough, pretty important to the economy and the ability to sell luxury goods. Regarding 'useful data':

https://www.inverse.com/article/53466-basic-income-canada-s-...

And articles from the institute that performed the study:

https://www.basicincomecanada.org/nearly_half_of_basic_incom...

https://www.basicincomecanada.org/ontario_government_defends...
My bet is that the Canadian government wanted to close the border to US tourists, but in discussions with the US government it was made clear that that is unacceptable.

I think it's fair to assume that's because of internal US politics, ie. Trump wouldn't like it and it would make him look bad.

There's no reason Canada couldn't close to US tourism, but remain open to commerce.
It is good to have insurance. I have one. But when I was trying to reach a doctor during the weekend because I had bad cough and was very worried, I couldn’t get through. The line was overloaded. At that time it hit me that, in case of emergency, different set of rules apply. Having insurance becomes almost irrelevant.
A special day. The stock market is down 388% and 142% of people are predicted to die, but I got Internet karma points for guessing something right and that's what really counts.
Someone on Reddit largely debunked this as a (possibly intentionally) bad translation, leading to the 32k upvote thread on /r/worldnews being removed:

Original comment, copy pasted below: https://old.reddit.com/r/worldnews/comments/fj61zf/norwegian...

=====

FAKE NEWS!

They are talking about "collective infrastructure" which is a poor translation of the norwegian term "kollektivtransport" or "kollektiv infrastruktur".

The Norwegian original makes it abundantly clear, as they mention an example of: "where it could be difficult to get to the airport without your own car".

> I tråd med rådet fra UD vil jeg som rektor sterkt anbefale alle NTNU-studenter som befinner seg utenfor Norge om å reise hjem. Det gjelder spesielt hvis du oppholder deg i et land med dårlig utbygd helsevesen. Det gjelder også for land med dårlig kollektiv infrastruktur som for eksempel USA der det kan være vanskelig å komme seg til flyplass hvis du ikke har bil. Det samme gjelder hvis du ikke har helseforsikring.

Proper translation would be:

> In accordance with the advice from the UD, I as a principal strongly urge every NTNU-student that is outside Norway to come home. This especially applies if you are in a country with poorly developed health care. It also applies for countries with poor public transport, like for example the US where it can be difficult to get to an airport without your own car. The same applies if you do not have health insurance.

I tried to translalte word by word, rather than getting the grammar correctly, hence the strange wording.
Not sure how good an exit it was. Crunchbase says they have fewer than 50 employees [0], so I'm guessing the first 10 people did pretty well but that the rest got what amounts to a nice bonus.

Keeping the lights on long enough makes this kind of exit more likely. Paul Graham has a good article about this: http://www.paulgraham.com/die.html

NPM did better than "just" keeping the lights on, though. They even held Yarn at bay by adopting its best features very quickly.

[0] https://www.crunchbase.com/organization/npm
If the Detroit/Windsor border crossing was closed, you can take another 15-25% off the NYSE.
Or just watch this video https://www.youtube.com/watch?v=YfsdJGj3-jM
Most of them seem to be Canadians returning to Canada, not American tourists.
I'm counting on the hope that banks will realise that the cost of giving normal people a few months to get their shit back together will cost much less in the long run than the cost of evicting people.
I agree with you that those things happen and are wrong. However, they don't meet the bar of "suppression". Suppression is an action, it's an active thing.

When China arrests doctors for posting on social media about a new disease or when they fire tear gas at people and beat them with clubs while they are protesting peacefully on the streets in Hong Kong, THAT is suppression. It's also a problem that we live in a massive world of surveillance enabled by commercial entities and exploited by governments, but that is not in itself a form of suppression.

If you were to consider this suppression, then technically we are all suppressed in our everyday lives from nearly any activity or statement which dissents from the norm. Meanwhile, over here in reality I'm well known among friends and coworkers as being a cranky guy who dissents about nearly everything for good reasons that most people are too busy with their lives to care about.

Hanlon's Razor feels like it's necessary to be invoked, or at least a corollary here. No shadowy conspiracy makes protest movements in the US ineffective, what makes them ineffective is that the average American is /just, barely/ comfortable enough in their daily life to not consider it worth it to join. Even when people are uncomfortable, they fear losing what little they have on a slim promise of change if they join a protest movement.

My statements are not to laud the state of the US or the actions of our government, just to defend the sanctity of meaning behind our words.
I like the one where the guy made the vacuum scream every time it ran into something
It's your typical pandemic response:

- denial

- placating measures

- minor lockdowns

- major lockdowns and panic (running to the store to stockpile toilet paper, for some reason)

- total quarantine

- life slowly returns to normal

China is now on the final stage (restaurants and stores reopening, etc), with the rest of the world between 2 and 3 months behind.

Most people are unable to comprehend exponential growth, so this is the pattern that gets followed.
Yet my software company refuses to even let people do voluntary WFH. Amazing.
Epidemic
I thought it's more like there's no evidence that show massive use of masks by the public is effective.
Yeah, not exactly an immediate concern of mine. But now that I've done everything I can to prepare my family and home for quarantine I've started worrying about things outside of my control...
This is not to contradict what you're saying, but it should be clarified that Norway's flag carrier is Scandinavian Airlines, not Norwegian Air:

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

Again: I'm aware that you haven't said anything to the contrary. But it's useful context.
As a former Sun employee I love this comment, but in all fairness Sun did have its own level of sleaze in the C suite (neither Eric Schmidt nor Scott McNealy would really do well as ethical leader exemplars)

That said, I'm thinking Moon Microsystems :-) Not as big or as hot as Sun. (ok that is a bad punalogy) I did get the domain though, it was available and I couldn't resist.
I believe partial clone makes the situation a little better, but it's not nearly as good as resumable cloning, because you have to partition your repo in advance.
We already have the best case (South Korea) and worst case scenarios (Italy) in front of us. Each country affected is shutting down so not to become another Italy.

If you're not aware of the situation there, I really urge you to look it up - doctors are saying they're having to choose who has the best survival chance to give attention to.

https://www.bostonglobe.com/2020/03/13/opinion/coronavirus-c...

it's all about "flattening the curve" right now, to slow it down.
It depends on your financial situation. If you can afford it, take some time off and forget about the whole thing. If you need money, I would either get a steady job or a contracting position to reestablish a stable financial situation. It’s hard to think straight while being broke.
Whether or not it's too serious for b depends on the alternatives. When the alternative is you don't make any money or have anything to eat, coronavirus might seem like the inevitable alternative, especially for younger/healthier folks.
To me it looks like water that isn't wet. PR (propaganda) and time will improve their reputation, but the "commodify your compliment" strategy, the intent to dominate markets through anticompetitive behavior... Those things aren't gone. Big tech companies (like most big business) don't prioritize public good over profit, so they really don't deserve anyone's trust apart from trusting them to seek profit.
I wonder why some people think that relationships are transactions. I also associate such thinking with lower empathy and stronger sociopathy tendencies.
I think it's time that the government started to consider stepping in a providing support to these out of work ASICs.
Also, start with the problem. Get people engaged first, then offer a solution.
That's a short term dip. People may be able to stop flying for a few weeks or months. but, all those businesses will still need people to move around the globe. then again, maybe this will prove to the world how unnecessary all those flights were to begin with.
There's a school district in Washington where the children have to take a bus through Canada to get to school.

That is, if Washington State schools are still open.

Still, there are a number of U.S. towns that can only be accessed through Canada.

Also, my relatives in Minnesota say that most of the retail sales in their town is Canadians who don't have anywhere else to shop.
Is this why US healthcare is so terrible - there's an assumption that if things get really bad you can just head up north into Canada?

Why not just fix your country - Canada isn't a big country and it provides well for its population, but those services wouldn't hold up under pressure from large numbers of Americans.
Gas prices can include significant taxes. I'm guessing it also takes a while for the lower prices to propagate through the system. You also have refinery bottlenecks, so even though we might have lots of crude, we don't have a glut of refined gasoline yet.
> There is no scenario where this doesn't ripple.

We can argue (b), but did you just ignore my (a)? How would that ripple like this?
China needs to be held accountable.

Dang - I know you're listening. Don't censor this post because it the truth hurts you, bro.

This virus started in Wuhan, China. China, being the communist regime that it is, withheld this information from the world. Now we're here.

And China's multiple attempts to spread disinformation to make its citizens believe the US is responsible for the virus should disgust us all.
Anti-Hoarding/Herding corona virus survival guide
Whenever the current situation has subsided to the point where we are no longer asked to engage in social distancing, perhaps local governments should make it a priority to allow a bunch of festivals and other large public events to take place. This will create work for the service industry which will help bootstrap their sector back into motion and also give the public a sense of normalcy so they'll start going out again.
Coronavirus: Universal is changing how movies are released
> The whole argument against government safety nets is that companies will take care of their employees in a time of crisis

I don’t recall ever hearing the argument that companies should pick up the burden.

But there is a lot of literature suggesting people save up for a ”rainy day”:

https://en.m.wikipedia.org/wiki/The_Ant_and_the_Grasshopper

https://www.biblegateway.com/passage/?search=Genesis+41&vers...
>you'd probably perform the same home treatment as any other respiratory illness.

Notably, you should not take ibuprofen or other NSAIDS. Stick to acetaminophen/paracetamol instead.

Guidance from France's health minister:

https://www.theguardian.com/world/2020/mar/14/anti-inflammat...

https://twitter.com/olivierveran/status/1238776545398923264
You also have to have the courts on board. No point in ticketing if the courts just throw everything out.
Doesn't this crash highlight a fundamental problem with stock markets ?

NASDAQ: -25% in one month.
CAC40 (french stock market index) : -33% over the same period.

These stock markets collapsing is just stupid, it just shows that it's pure speculation...

The world economy takes a break during let's say 2 months (everything will resume as before afterwards) and hundreds of billions of euros/dollars disappear.

In fact, the question is: If everyone stops working because of the covid19, if the whole economy is paused (which is basically what is happening) why doesn't the stock exchange do not simply stop too? When a company presents quaterly financial results, it's over a period of _activity_. But then at the moment it's a period of total inactivity... ?!
good questions! (author here)

I've had a hard time trying to find hard figures on these numbers, and am trying to steer as much from speculation as possible.

Your second observation is a very good one. This is true, e.g. for the default intervention. Adding initial infections has a similar effect to waiting, and delaying an intervention can have a tremendous effect (at least according to the model) on the course of the epidemic
As someone who can switch on and off, honestly I’m a wallflower much of the time just because I’m not in the mood. Or I’m tired. Or I’m there out of social obligation.

You’ll find me nigh impossible to engage in conversation. Because I’m actively trying not to.

But find me in a social mood and I’m the life of the party. It really depends.
Shameless plug: I did a similar thing for browser extensions to have a fully functional browser extension with Vue and Tailwind in under 30 seconds: https://gumroad.com/l/XUPxA

I actually like the idea of opinionated starter kits a lot, especially when built out of experience over multiple projects they show a lot of maturity, tailored for a specific workflow. Depending on the developers, these kinds of kits are mostly made for specific use-cases, and they pick the technologies already so that once the project is kicked off most of the non-crucial decisions are already made. Most of the time I have found myself thinking about which database library to use, what Docker image to deploy, which UI framework to use and all these kinds of decisions that have not much value add if all the other alternatives are getting the job done as well. If I were to start building a native macOS app, I'd definitely go for something like this because I just want to get to the core of the thing, not spending time on choosing libraries or thinking about where to put files.

Great job!
Where do you live that has a 47% effective tax rate? Maybe if you make $1M in San Francisco and have a bad accountant, but short of that...
You're right, artifacts in GitHub repos have been around a long time. I suppose what I was missing was a way to point to a specific built artifact (like a tar.gz from a release) as a dependency, from package.json. As far as I know, it's not possible yet with npm. I can imagine that will be covered somehow with deeper integration of GitHub and the NPM package repository.