skysight-inc/HackerNews huggingface dataset:
There is a clear goal of lockdown policies in the US: to advance the political ambitions of politicians. Many politicians see this as their time in the spotlight, their time to show off their "executive" skills, their time to blame the other political party/politicians.
Were those ramsons flowering? Lily of the valley leaves could easily trick Google Lens, they would be more likely to find in a park, and they are deadly.
Or just copy and paste it into your project. Using a dependency for one line is beyond ridiculous.
Coronavirus: Has Sweden got its science right?
Maybe you are thinking of carbon nanotubes? Those have been demonstrated to cause mesothelioma
The better performance is due mainly to faster flash memory (eMMC), faster DRAM memory and bad standard cooling on RPI4.

For benchmarks that depend only on the CPU, using an improved cooler on RPI4 would increase the sustained performance above Cortex-A55, except for some custom programs that could be written to take advantage of the newer extra instructions available on Cortex-A55.
I have seen various reports that discretionary spending online has sunk massively, so not sure that would help. The perspective of a big economic crisis (and job loss) has collapsed the demand. And if your business is a bar...
Citation needed for that “a lot”, especially given how many news stories there are about significant delays before getting payments (see e.g. https://www.cbsnews.com/news/unemployment-benefits-6-2-milli...) and the need to pay significantly more (COBRA) or go without health insurance until qualifying for and getting on Medicaid.

There are definitely some people in low wage states getting more but that is far from universal even though it’s a standard right-wing talking point.
I don't think it should be a package.

One-liners without dependencies like this should live as a function in a utility file. If justification is needed, there should be a comment with a link to this package's repo.
Invent Your Own Computer Games with Python [Open Book]
I tend to agree with much of what you've posted in this comment section, but I want to point out that economic incentives are not what is truly at the heart of the moral underpinnings of affirmative action. If that was the point, then wouldn't cash or capital transfers be better? Instead, affirmative action, in its least cynical ideal, must be about the social value of higher education, which precludes consideration of income in lieu of race. Unless, of course, everything is ultimately about money. That's the last topic affirmative action naysayers want to breach, though, if they know what's good for them.
> > Target doesn't have any kind of social distancing policy so it was business as usual, no lines or anything.

> That's definitely state by state, fwiw.

Is it? As an employee of a T10 US retailer, I'm pretty sure we've enacted mandatory social distancing and maximum-customer-in-store policies across all our stores.

Target should be doing more at the corporate level.
Interesting but it left me wondering what was his fast routine for drawing rounded rects. The squarical formula?
Personally as a JS dev, the significant thing is which package it was. These stories happen all the time, so when I see them I’d rather know which package it is at a glance so I know if I’m affected.
Great work. Love the landing page!
Paywalled articles are fine as long as it's an approved leftist source. Nothing new around here.
This is explicitly refuted in the article.

> In an early 2018 working paper published by the National Bureau of Economic Research, Christopher J. Ruhm, a professor of economics and public policy at the University of Virginia, suggested that "the ‘deaths of despair’ framing, while provocative, is unlikely to explain the main sources of the fatal drug epidemic." He continued: "The fatal overdose epidemic is likely to primarily reflect drug problems rather than deaths of despair." Case and Deaton responded that they had explicitly tested and rejected his hypothesis, and that in their work "despair" was meant to be "a label, not an explanation."
Standard operating procedure at the FDA is to prohibit everything until it has undergone comprehensive testing. Since this virus didn't exist until recently, neither did the test, so even once the test existed it was illegal to use it and the words swift and efficient are not appropriate to describe the process for changing that.

People have been pointing out for years that the FDA's approach is excessively conservative, but the typical response is that they're doing it to save lives, even though there is a point past which being too conservative actually costs lives by keeping life-saving things off the market. This was a prominent example of that actually happening.
On mornings when I'm feeling particularly lazy in the office, I'll do

:later 8h

and commit the code before heading home. ;)
Having worked in a medical call center and the amount of men who would masturbate to our female call reps while on calls about health insurance would make this app seem like ripe for abuse for sex predators!
Facebook’s Calibra Team Outlines New Byzantine Fault Tolerance Testing Methods
Not really. Source: Omaha High Low (8 or better) has become surprisingly popular at my local casino, and the edge for skilled players does not seem to be any greater.

Limit poker has thinner edges than no limit, but NL has been the ocular game.
Yep and those people will lose everything should they have to go to the hospital and be admitted for over a day. To collect unemployment, these people had to be "let go" from their insurance providing jobs. And I strongly doubt the people who were let go trend towards being able to afford COBRA. So even if they do survive which is more likely than not, they will be ruined financially after weeks of no or diminished pay along with 5 figure hospital bills.
Show HN: XpanXn – chat designed for how conversations work
It's not true that Go always installs the latest version of a dependency. `go get github.com/x/y@v1.3.4` installs v1.3.4 of x/y, assuming there is a tag matching that.
These days, it’s not only compilers that are optimizing for the particulars of the CPU, but CPUs optimizing for compiled code. My favorite examples of this are the inconsistent and sometimes downright crappy performance of “rep” string instructions and the “loop” instruction. Both seem like ideal easy things to write for handwritten assembly, yet the performance of both constructs can be quite awful on certain modern CPUs compared to the naive loops that compilers output. Much of this can be blamed on the fact that compilers rarely use either construct, so chipmakers had no reason to make either of them efficient (and, indeed, seem to have actually pessimized them on some chips!).
Hey everyone, my name is Peter and I developed XpanXn ("Expansion") after wondering if instant messaging could better mimic real-life conversations if it were designed more like a mind-map.

XpanXn is an instant messaging app where your conversation is not limited to the vertical direction; it can expand in the horizontal direction to isolate different conversation topics being discussed simultaneously. Along with redesigning the dynamics of instant messaging, XpanXn also offers better privacy with no third-party data mining. You're the customer, not the product.

My intent is for this to be a minimum viable product. There's quite a bit of refinement needed to get XpanXn to realize its full potential and match the features we've come to expect from instant messaging apps.

I hope you'll give XpanXn a try -- no account needed. I'll be standing by to answer questions, and feedback is much appreciated!
pytz is a great example here. Imagine a separate package for every time zone.
No, and it makes no sense. There are no fixed function USB HID controller chips. They are all microcontrollers with USB interface. Makes no difference from chip point of view if it reports being basic HID profile or a custom one. Besides you can even bitbang being 10 hid devices on a good old Arduino.
"AT&T, Comcast and Verizon — put out blog posts on Friday decrying what they saw as a misinformation campaign against the bill.

They argued that..."
I thought it was incredibly callous for CC companies to send me emails saying “we’re there for you” without any mention of even the tiniest drop in interest rates, instead mentioning their stupid mobile app or something.

I agree. A lot of companies seem to be using this as a marketing opportunity. Any excuse to send spam.

Apple Card and Bank of America have both allowed me to defer payments. Apple was actually first for me, way back in the early days of March. And it's allowed two deferments so far.

Those will be the accounts I keep open when this is all over. The rest can DIAF.
They do, they just don’t care. Desperation and suffering for the poor is the system working as intended.
Really good. Notebook like Env.
That's where I ended up (though it was XPS 7590 - for the larger battery, larger screen, and people not looking up my nose on video calls).

I used a 2015 Macbook Pro to experiment with making the leap to Linux desktop (though Macbook was essentially just a Linux terminal already).

I think everything worked (this was a year ago) - what pushed me to an XPS was when I realized (pretty quickly) that I have 0 interest in figuring out which arcane key sequence on the Mac keyboard was equivalent to a certain special key on a "PC" keyboard.

I was a 10+-year MacOS power user, and I'd felt it would be impossible to be "happy" (more like "unannoyed") with anything else - I'd re-evaluate that question every year.

I've been happily using Linux Mint on an XPS 15 since Sept last year. Cannot believe what a non-issue the change has been. I have hardly thought about my Macbook - been on it maybe 2 or 3 times to test something Mac-specific. Had I known, I would have switched a few years earlier, rather than "powering through" the unpleasant last few years.
9 months ago: https://news.ycombinator.com/item?id=20533446

2018: https://news.ycombinator.com/item?id=17415270

2017: https://news.ycombinator.com/item?id=13634363
So what you're saying is that pertinent details that provide context for any given situation is "hand waving" and irrelevant? Seems like an obtuse approach to arriving at a conclusion.
He didn’t force the other guy to do anything. The other guy showed up at a notary public to sign the contract for chrissakes.
Now try 1) plotting that against household debt, 2) and against other countries.
One of the more insightful things I read recently was that, like a virus spreads, economic damage from a lockdown also follows an exponential curve.
I would love something like this with commodities (gold, silver) and crypto included...
You can do that with NPM if you pin your dependencies to exact versions, which is the same solution that you would use for any other package manager, and basically what Debian and other Linux distros do for you. I don't know why you think this problem is somehow unique to NPM or the JavaScript ecosystem.
That's fine, increase taxes. Universal health care would also lead to greater bargaining power in regards to drugs, drastically reducing cost. Maybe insulin wont cost 10 times in the US what it costs in other developed nations.

I already pay a large portion of my check towards health insurance, so does my employer. Route those funds towards Universal Healthcare. We can just call them taxes.

This should not really be an argument. We are discussing whether it is appropriate for us to pay a bit more on taxes or to allow people to die. I fall into the more taxes side of the debate.

I have good health insurance right now. Maybe a little TMI so be warned. I took my 7 year old kid to get something looked at a little over a year ago. He was experiencing burning when he urinated. They measured the flow of his urine and took a look at his genitals. Whole thing took ~15 minutes. I am still getting bills for it. Turns out he just needed to go to the bathroom more. Every couple months I get another bill for ~$40 for some other doctor or company. Its crazy. The whole system is designed to bleed people.
> If you're building a library, or maintaining one that's been built over many years, you can't easily make calls like that.

Well, you can, and in the JS ecosystem you'll often find cases where there are two libraries (or two broad classes of libraries) for a certain function that make different choices, one of which makes the simple, modern choice that doesn't support legacy, and one that does the complex, messy thing necessary to deal with legacy code, and which you use depends on your project and it's other constraints.
Depends on the situation. Anyone furloughed still keeps all their benefits.

Some laid off have benefits for longer.
You know who I didn't get a "we're there for you" email from? My insurance company. Blue Cross/Blue Shield has been suspiciously quiet on the email blast tip.
I think you'd find plenty of smart and ambitious students at your local community and state colleges. Yes, it might be harder to find them, but they're definitely there.

But yeah, not saying that there aren't major advantages to going to a school like Cornell or CMU. Just that these schools are outrageously expensive, inequitable and we have some power to relax their grip on our higher education system by asserting that yes, we can be smart, educated and worthy people (and engineers!) even if we go to more "low-brow" schools.
Just wait until we hit May 1 and the second round of rent payments. Personally, I still haven’t even gotten the $1200 check even though I’m eligible for it.
I would like to see a tool that combines "version control" and executable tracing, where you can take a snapshot of stack/heap and registers and allows you to move through each snapshot and see what changed, essentially allowing you to replay the execution instruction by instruction (with "proper" I/O result code/data simulation).

I know George Hotz was working on something like this before he got into the Comma AI thing and it really caught my eye, but I don't think there is anything out there that is "production ready" like say, IDA Pro or Ghidra or whatever.

Anyone know if such a tool exists? I imagine it would make mapping out vtables and such trivial.
Banning gambling doesn’t ban gambling.

It just drives it underground where knuckle-breakers get to make and enforce the rules.
I implemented the circle/ellipse drawing code in Microsoft Windows way back. Bresenham's algorithm is the way to go. The line drawing algorithm is better-known, but it can be extended to a circle. The idea is you calculate the coordinates incrementally, keeping track of the pixel error for each line. You scale the error so everything is simple integer arithmetic, no floating point or square roots needed.
What about an aluminium pipe factory? You don't know if they are used to build medical ventilators or cpu coolers. The supply chains are complex. You have dependencies all over the place. What if a nurse' car breaks down. Is a car repair shop non essential?
Slow down. Life is to be savoured.
Probably a book rather than an app. Search for something like "Field Guide to Plants in <location>".
Vim with coc-python works very well for me: https://github.com/neoclide/coc-python

“Built with rich support for the Python language (for all actively supported versions of the language: 2.7, >=3.5), including features such as linting, IntelliSense, code navigation, code formatting, refactoring, snippets, and more!”
Extra $2400/mo plus some percent of your salary means almost everyone making $50k or less is made whole or making more. That’s a significant percentage of those service workers who were most vulnerable to being laid off.

If you are furloughed you keep all your benefits and still qualify for unemployment

Some companies are paying for healthcare for a period of time post layoffs
My development environment is my production environment.
Hasn’t the federal government committed to paying for all covid treatment and testing costs of uninsured patients?
This is the n-body problem from the Computer Language Benchmark Game with the attribution to the original author removed.

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

The faster programs usually use SIMD.

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
I didn't know either of those, thanks!
Thank you for making these comments. You get to the crux of the issue. Rest of the threads here are just about expressing outrage and virtue signalling
I think all of the above might already be libraries on npm. From what I remember, npm has isInteger, isPositive, is-odd, is-even.
Encouraging people to wear masks is extremely controversial. It encourages people to think they have some form of immunity walking about and going places where they otherwise wouldn't have without the false sense of security provided by a mask.
OSX is an exception. OSX runs a login shell for each new terminal window and executes .bash_profile.
# http://www.joshstaiger.org/archives/2005/07/bash_profile_vs....
That a government administration that failed to appropriately staff and retain employees finds itself unable to enact emergency policy in a timely and complete manner?

I am shocked!
> With comprehensive testing we could isolate the affected quickly and accurately

That should be comprehensive with 100% coverage testing. Due to the asymptomatic nature of the disease, it was widespread before we knew it was here. There was no way to know who should be tested. We needed every single person tested on day 1, and then isolate the infected, to truly get in front of this thing. Anything else would be like trying to stop a hurricane by blowing a box fan against it.
We really are whistling past the graveyard on our economy. Everyone repeats “shut it down save lives” but completely ignores the consequences of broad unemployment. Historically this is the kind of precursor to very violent political changes, and how a lot of very violent and evil people come to power.

Just as much as we need to protect lives, we can’t drive desperate people up against a wall. Everyone in a WFH Silicon Valley bubble should pop their heads out and over to middle America for awhile to see how bad it’s quickly becoming.
I have multiple friends who have lost or won a quarter million in a day of gambling. In some circles this is not uncommon.
Liero can be played in browser now, for those who remember
objects with a .then(...) methods are treated as though they have Promise semantics by the language

See Promise.resolve
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
I’m not making any statements about current practices or what value is typically assigned to labor vs initial capital investments, just to be clear.

And I know prices go down due to less labor being needed, meaning more supply results from less investment, but my point is that it’s wrong to assume labor is the underlying source of value. Labor has no intrinsic value. It’s only valuable in relation to output.

For some people, the “image” of a product and the amount of time and care put into it is an important part of that output. So they value products that have high labor costs even when comparable but less labor intensive products exist.

But to take an extreme example, if I banged two rocks together from 9-5 every day for the rest of my life, I wouldn’t expect a paycheck because there isn’t any useful output there, despite the labor.
You have five bodies and 16 sse registers. The entire state of your simulation can fit into register space and you dont need to ever access memory during the stepping part of your code. You can loop unroll all gravity interactions so you end up with one large branchless memoryless block of code. Now that its completely inline you can rearrange your dependencies based on expected latency and throughput of operations (https://software.intel.com/sites/landingpage/IntrinsicsGuide...)

Then after that you can merge the operations where you can. (for SSE4 at most you are going to get is 2x because you are using doubles)

You may think the full inlining is cheating but the compiler has the same information as your bodies list is entirely constant. (since your dt and your masses are constant they can also potentially be folded).
The first sign of leadership issues was entering lockdowns without even vague exit criteria. It's also become clear there was (or is?) no endgame in mind.
isFalsy is just “!”; I don't think we need a new library for a more verbose way to express a one-character unary operator, no, nor does it meet the standard of “The problem it solves is not straightforward” proposed upthread.
Probably the fastest way to calculate it is the Bresenham circle algorithm. But if there are a lot of roundrects with the same few small corner size (likely in a window system), a table for that size might be better.
> Do you really expect a company to innovate every single year?

I'd say a company as large as Apple would need to innovate hundreds or thousands of times per year, to be comparable to a small startup, in innovativeness per person.
In general, trying to perform operations which truncate on negative numbers is fraught with peril, because everyone seems to do it differently and you need to look it up. Another one that tends to bite people is the modulus operator where either operand is negative: programming languages tend to differ on what the result should be. For example:

$ echo "print(-7 % 3)" | python3
2
$ echo "print(-7 % -3)" | python3
-1
$ echo "System.out.println(-7 % 3)" | jshell -
-1
$ echo "System.out.println(-7 % -3)" | jshell -
-1
Is Ninja Right About Winning and Competition? Is Gaming / Sports Just a Game?
> we already know healthcare systems will be overwhelmed (and have been overwhelmed already!!)

This isn't really true. It depends a lot on the state. The healthcare system in my area, California Bay Area, is completely underwhelmed. Here are some numbers from San Mateo:

(1) 40% of standard ICU beds are open

(2) 91% of ventilators are unused

(3) 91% of "surge beds" are unused

Source: https://www.smchealth.org/post/san-mateo-county-covid-19-dat...

If our goal is to flatten the curve to slightly below hospital capacity, current policy has flattened the curve way too much.

Current number suggest that only 1-3% of the Bay Area has been infected with covid-19. If you wan to get to 70% infection rate for herd immunity, it would take multiple years to get there at current rates.
Semi related: Stripe sent two emails on the same day earlier this month, one about how they are supporting businesses with programs like letting you pre-fund refunds you wish to issue to customers, and the other about how they are changing the fee structure and not refunding the stripe fee. Seemed like they could've delayed or waived refund fees if they really cared about us caring about our customers.
That "flattening the curve" isn't going to cut it was obvious to people that thought it through from pretty early on (if you look at the capacity of the healthcare system of your country, and look at how broad the curve needs to be, you end up with "years" for any country I looked at). So, the game plan is to hold out until a vaccine is found and tested. Putting the whole population under heavy measures for that long isn't going to work, so you impose very restrictive measures until containment (tracing infected cases and quarantining those that might have been exposed) is feasible again, all the while taking care that you don't allow big explosions of infections (like they had with one patient in South Korea).
Almost all gambling involves a strong element of skill. Horse racing, poker, blackjack, even casino games like slots have an element of skill.
Not sure, but the best metaphor for your comment is: knocking down a straw man