skysight-inc/HackerNews huggingface dataset:
Micro-ops are the actual things that can be executed by the hardware. A floating-point FMA unit is going to support a floating point addition, subtraction, fused multiply add (with various intermediate sign twiddles), and integer multiplication and wide multiplication--all without adding much more hardware: you're adding a few xors or muxes to the big, fat multiplier in the middle of it all. Each of these might have distinct micro-ops, or you might be able to separate the processing stages and use a single multiplier micro-op with distinct preprocessing micro-ops for the different instructions. Realistically, though, you are adding new micro-ops, although the overall hardware burden may be light.

The motivation of adding new instructions is generally to get higher performance, so there's going to be pressure to have hardware to execute it well, as opposed to a more naive emulation. But sometimes people add support without making it fast--AMD chips used to (still do? I'm not sure) implement the 256-bit AVX instructions by sending the 128-bit halves through their units in sequence, so that it technically supported AVX instructions but didn't see any improved benefit from it.
>V-shaped recession

Some experts think otherwise:

"When the global economy recovery arrives, it may look more like a “swoosh” than a V, according to Davy, Ireland’s largest securities firm.

“It’s like a Nike-shaped swoosh,” Aidan Donnelly, head of equities at Davy’s private clients unit, said in an interview. The firm has assets worth over 14 billion euros ($15.4 billion) under management."

https://www.bloomberg.com/news/articles/2020-03-31/get-ready...
No, most Americans are sick of Trump and his mindless anti science supporters and their endless lies.

Yeah. We are going to see in November. You aren’t going to like the outcome for your racist draft dodging business failure tax cheating rapist impeached serial liar with early dementia but restoring adults to leadership will suit the rest of us well.
I wasn't aware they moved to hCaptcha. On one hand, I understand it to some degree, since it's a way to offset the losses caused by malicious actors who are using captcha farms, and they can dedicate those additional resources to better detection and blocking. But as you say, it gives them an awful incentive, and just feels slimy in general.

It also potentially provides an incentive to profit from the growing interest in privacy and anonymization among the general public. The more who people who start using Tor or certain VPNs to mask their activity (as opposed to those using them for malicious purposes - the number of such people may not be growing nearly as quickly), the more they profit.

They should definitely go back to reCAPTCHA.
>The problem is building proper architecture, so code won't quickly turn into spaghetti [...] With vanilla JS it's the wild west.

This is a "problem" that I solved for myself years ago. It's not even that hard. I've started by noting that most of the issues with JS come from a few sources.

- Managing code dependencies.

- Navigating DOM. (Manipulating DOM is trivial.)

- Managing events.

- Synchronizing JS state with DOM state consistently.

If you pause to think about those, each of them has a straightforward solution that does not require a framework.

- Do not make libraries that directly depend on external code. Use DOM and HTML events for configuration and communication.

- Use CSS queries.

- Use timers or document-level events. They will continue to operate regardless of how elements change.

- Use DOM as your state storage. (Custom attributes + occasionally symbols.) This way your code itself is completely stateless.

There is more to it, but this is the foundation.

One of my favorite libraries is one that checks for specific attribute that contains a CSS query, then runs it, then outputs the result as a parameter on the original element. Couple dozen lines of code, countless applications. Best of all, you don't have to write any page-specific glue code. You load the library and it just works.
Is there consensus on when we might see the bottom of the V?
I always like when classic lean-and-mean Unix tools get attention, as opposed to big language ecosystems. Speaking of which, is there a particular reason why only gawk is covered? gawk has only very minor enhancements to POSIX awk, and gawk isn't even the default in many place. For example, Debian uses, or used to use, mawk as default, while the BSDs and Mac OS have nawk. I think the point of awk is that it's portable, and introducing gawkisms in your program not only makes it non-portable, but also would make it impossible to run on mawk, which is much much faster for eg. log file analysis. Might not matter all that much for one-liners, though.
I'm in Canada and we have surprisngly few cases where we are, relative to the population size (Edmonton). We've had snow and a cold snap, which is definitely keeping people inside.

I don't doubt that Russia is downplaying their cases, but I can absolutely believe that the cold is making people self-isolate, and thus keep infection down.
Your proposed changes are not supported in IE 11. The snippets are advertised as IE 11+ compatible on the landing page.
Shell scripts get a bad rap where they probably shouldn't. This stems mostly from people who write them as a quick hack and never replace them with something "more serious". It doesn't make shell script bad, it just means developers should remember there's a time and place for everything.
That's still not a partisan issue.
Sars did not infect nearly enough people to die due to herd immunity. It was eradicated/contained through various public health interventions and possibly because it was so much more deadly than Sars Cov 2.
I love that the address one issue and ignore all the other security holes. They have a structural problem with taking security seriously.
Mentally, I have priced this in as approximately the same as The Great Depression. Vastly different causes and very different ways to get out of it, and different long-term repercussions, but either way it'll be bad and much worse than 2008. One way I've started thinking about is to mentally push back everything I thought about the future by about 3-5 years. I wanted to install a solar roof on my house in 3-5 years, so now that's like 5-8 years. I was considering a CyberTruck, but now I'm just gonna keep driving my car, etc etc.

We're gonna have massive unemployment that'll dwarf 2008. Some industries will come back relatively quickly (dine-in, coffee, etc), but others will take years (travel, hospitality). Government support will leave everything with massive debt, which doesn't seem like a problem now (money is on sale!), but the scale of it will eventually cause austerity. I think this will leave many people in a more prepper / saver / hoarder mindset, which will further slow down the recovery.

We'll hopefully start to see a recovery towards the end of next year and mostly recover within two years of that.
I think the best way to prevent a great depression 2.0 is to build massive infrastructure projects. Green jobs, trains, highway updates, bridge repairs, electrification, grid modernization, IMO these are best to both kill unemployment and decarbonize for an efficient 21st century economy.
Kaiser's insurance wing is a nightmare. They'll find any possible way to kick you off or refuse to pay for essential services. They did it to me twice.

On the other hand, ACA put a dent into their ability to do that.

The non-insurance wing of KP is great, aside from some administrative problems - the main one being that they don't allow some specialists to limit how many patients get referred to them, so they can get overloaded. The alternative is presumably not being able to get a specialist at all, but many of the ones I deal with have waitlists 6 weeks long or longer. Specialist turnover is also quite bad, I've had 4 of my specialists quit in the last 5 years.
There probably won't be much of a celebration. This is nowhere near as catastrophic as WWII (it doesn't even alter how most people live their lives, unlike WWII, let alone death counts). Life will probably go on as normal.
>> He heard something about these two drugs, and without any scientific evidence he announced it, causing a panic-grab for the drugs. Unfortunately even the CDC was saying we don't have evidence supporting it.

He simply reported that it looked promising in early studies, like we had already seen reported here on HN. His other action was apparently to lean the FDA to find out ASAP rather than heming and hawing for years following standard beaurocratic protocols. I think it was fine to do both those things. Responsible even.
> In the UK the doctor has to be able to say to the best of their knowledge and belief that covid-19 was the cause of death before putting it on the death certificate.

Is "covid-19 on the death certificate" the same thing as "this death is included in covid-19 counts reported by NGOs/media"? Because I've noticed several news outlets in the UK reporting death counts with wording like "deaths of people who tested positive".
So awesome... I guess someone at that bank tried to pull of a fantastic side-move. It was just 20 years too early, but that guy saw "apps" before Jobs had even returned at Apple!
Blog Lover
honestly? i like it. properly formatted it looks alright:

return (
(cellA === cellB) ? 0 :
(cellA > cellB) ? 1 :
-1
);

and it's an expression, so i immediately know it won't do any weird control flow. i'd prefer "if/then/else" vs "?/:" but it's not bad
Send a 401 (let's call this "vanilla-http").
It's definitely worth doing, if nothing else, for the experience. It's gotten harder to run one's own mail server due to aggressive IP reputation systems and because many ISPs block a large number of ports to prevent doing exactly this, but is still worth knowing how to do.
It's very likely that a bunch of companies RFP process is a feature checklist and to get the "encrypted" box checked they needed that lie, or their product was out of the running.

RFP by "who can tailor their marketing to check all the boxes" is a terrible process and leads to this marketing bloat. RFP would be much more useful if it stuck to "list only things you do your competitors doesnt; what processes come with your product that are much more efficient or innovative compared to your competition; like an sec disclosure what are three true non fluff risks to selecting your product; describe your revenue, user growth, and future ownership expectations." If a company cant answer those seriously, push them until they can, or tell them youll move on.
The irony is almost palpable! Thank you for sharing this.
There's a lot of misinformation going around on the internet, and one of the ones I keep seeing over and over is the idea that the Fed is buying stocks (which it is not).

The Fed's balance sheet only holds US treasuries, and a small amount of high quality corporate bonds. They are considering purchasing municipal bonds (i.e., local government debt) but I don't think that's happened yet.

The Fed primarily provides liquidity, and it does that by purchasing bonds (aka debt) that nobody else wants to buy, but it's primarily US treasuries (i.e., US government debt).

Yes this will lead to inflation (if you look at real numbers, not the shady official CPI numbers), but the USD is also the world's reserve currency, so the US will probably come out mostly unscathed as other countries look to horde USD.
With a 100,000 person company, the CEO cannot direct all products.

Startups can launch a product off 5 engineers. Let's say, hypothetically, Google is way less efficient and can launch a product off 50 engineers. You are looking at thousands of products. If the CEO spent literally every working hour just reviewing and approving products they get roughly an hour per product per year.

This means that these decisions must be delegated and therefore there will be decisions that seem boneheaded in retrospect. Its just a fact of being a massive company.
In my experience, a framework atleast provides some ropes to hold onto while traversing the mess. Currently I'm stuck with a codebase with almost no documentation of a mess of legacy and new code with layers and layers of developers' opinions on top. The only way I'm able to figure anything is out is by tracing remnants of a light framework that's in place. I'm able to read the framework documentation and slowly unravel it, without it it'd be an even more monumental task!

I googled/linkedin developers that have worked on this codebase for the past decade and most of them appear to have this "rockstar developer" thing going on. They are opinionated, had heated debates (from what I'm told), and often rolled their own solutions whenever possible. Now we see the result of these geniuses doing their thing.

Just use a framework please, your homegrown solution is sucks. I guarantee it.
There is no "technical" definition of a recession. The "two consecutive quarters" thing is just one, among many hotly debated, ways to try to define it. Among other economists, a recession is defined by unemployment rate, while others like the IMF define it more broadly as just an arbitrary period of bad macroeconomics.

The NBER, which is the main US body that previously used the "two consecutive quarters" definition, no longer uses that definition and now says a recession is defined as "a significant decline in economic activity spread across the economy, lasting more than a few months, normally visible in real GDP, real income, employment, industrial production, and wholesale-retail sales."

By that definition, we may already be in a recession.
We are talking about HCQ, please dont bring up other issues.
Then criticizing the President for promoting drugs that haven't been shown to work is non-partisan as well. Can't have it both ways.

I find the "political" vs "non-political" distinction facile anyways.
Open reimplementation of Might and Magic 6 7 8 game engine
And then the company is publicly shamed for not providing privacy and security for everyone by the exact people who would never pay for anything anyway.
"Zoom has always strived to use encryption to protect content in as many scenarios as possible, and in that spirit, we used the term end-to-end encryption. While we never intended to deceive any of our customers, we recognize that there is a discrepancy between the commonly accepted definition of end-to-end encryption and how we were using it."

In other words, "We deceived our customers with false advertising but we're never going to admit that."
Seems more user friendly to me, people just have to visit a url, no need for an installation.
From what I have seen React is not better. It may not be spaghetti but then it is an exercise in architecture astronautics with way too many layers of indirection that is might as well be that spaghetti bowl.
> Once your app has some "click X and A, B and C should update" logic you quickly descend into a tangle of tracking dependencies by hand.

I managed to deal with moderately difficult scenarios with about 7 files in typescript. I ended up using webpack but that is a dev-dependency which doesn't really count.

I built this for me, but if you employ some basic patterns and use something that is a little more powerful than JavaScript it isn't that hard. I also very rarely ever use a DOM selectors in my JavasScript.

I don't particularly like frameworks these days because you end up spending more time dealing with the framework than actually getting things done.
>On the other hand, I don't see any mainline Galaxies newer than the S5 on the device list.

They started locking their bootloaders, and nobody has been able to bypass the lock.
Sadly having the opposite effect on my relationship
Uproar Among Workers Supplying the World’s Meat Is Spreading
Is it? I don't want to live forever in a decrepit state. And I don't want child-rearing to be 1/100th of my life. No religion needed to get to that.
Your bias is showing. I could say "most Americans are sick of a lying, inept administration that can't be trusted". But I would be accused of being a biased democrat. I suspect the reality is the administration is totally inept or rendered inept due to the rotten top. The misinformation or biased information on either side's media outlet does not let the people see the real truth. Strange times indeed.
It will be technically a recession, due to the current timing. March in Q1 and April in Q2, which means both quarters will see negative growth. We might still bounce back relatively soon, but yeah, it will be a recession no matter what.

See also: https://www.calculatedriskblog.com/2020/03/the-economic-outl...
We did exactly this!
https://covidtrace.com/

We built a privacy focused contact tracing app. It records your location history for a 3 week period and then compares it against reports of COVID-19 infections. The comparisons happen all on your phone so your location history is not exposed.

We are working on getting into the app stores but both Google and Apple have changed their requirements requiring us to partner with an existing recognized organization. We are working as quickly as possible to find someone, if you know of any potential partner, please let me know!
And a pony!
Its sounds like that's what they were holding out to do, but their 60 day window was closing so even though they didn't need healthcare they figured with what's happening they needed to execute the option and keep their insurance before losing it.
Stuck in lock-down, we started a hack to volunteer contact information to keep your friends & family informed if you fall ill. Couple of weeks later, we joined an online Hack and got global support. Then we launched: https://contacttracing.app/en/

Totally non-commercial; we're relying on the generosity of cloud providers @neo4j and @digitialocean.

I reached out pepp-pt (catchy name) to see if they wanted to contribute. Come put time and energy into our hack.

If any JS devs wanna help out please, please say hi: https://github.com/contactTracing-app
> He heard something about these two drugs, and without any scientific evidence he announced it, causing a panic-grab for the drugs.

And? As I said, there has been some anecdotal evidence coming from countries like China, SK, and France indicating it could help. It shouldn't be a strike against a government official for sharing potentially important information. At a certain point we need to stop blaming people in positions of authority for the stupidity that exists among individuals in society. I'd rather my government be open and transparent than hide information from me because the more idiotic portions of the population may react poorly.

Its also worth noting that Hydroxychloroquine is unavailable in the US without a prescription. The "panic-grab" you are seeing is entirely due to physicians buying for themselves and their family/friends. Definitely sleazy, but they are hardly uninformed.

> Unfortunately even the CDC was saying we don't have evidence supporting it.

The CDC has proven itself to be conservative and slow to the point of harmful ineptitude. A huge part of the reason the situation in the US has diverged so much from countries that have managed to successfully clamp down on the disease (like SK) is because they insisted that testing rely on their own, overengineered procedures, and because they've insisted (for at least a decade now) that masks are only beneficial for HCPs, despite numerous studies to the contrary and the advice of nations like those in East Asia. Now, after the cat is well out of the bag, they've opened up testing to private companies and other testing procedures, and are now beginning to say that regular people should in fact be using masks to prevent the spread of the disease.

An appeal to authority is a fallacy on the best of days. Its even worse when said authority is in the midst of the most incompetent moment in its history.
I agree. I'm stubborn to take on frameworks as I have a vision and want to code it now; rather than learn and understand the framework to do what I want to create which by then my idea has deflated.

The company I am currently contracting for use Ansible. I've never used it prior and I get where the hype is but to me the whole system is just a mess. Asking the younger developers on "why isn't this working" feels quite embarrassing.

Five different folders, within more folders and then more folders on that; then you've got YAML which if you have one wrong space spews errors. I'm not dissing any of it as when it works when it works they do have their reasons for existence but it just feels so convoluted to do something you could write simply in bash.

Maybe I'm just a cynical SysAdmin throwing "get off my lawn" while wanting to see the world burn. But the era where I am from, where the internet was truly developmental; where if you wanted a CMS you built it from scratch. If you wanted a forum, you built it from scratch is kind of almost deleted from internet history.

Wordpress came a long and it ended all that, though I suppose it had to happen if you wanted more features from the users on the internet. It was a niche in the early 00's to have your own website but now my 70 year-old mother administrates her own website.
Google is great at security. Privacy, ... not so great.
It's not "partisan statements," it's the strategy of trying to take ownership of one particular treatment. It shouldn't be a political issue.

It's hard to see the president's statements as anything but an effort to promote himself by tying himself to this treatment. It should be non-partisan.

Previous administrations didn't try to set up "I win" scenarios in times of crisis. We need to be able to evaluate the treatment without it being clouded by the issue of whether one side or the other was right.
Thanks. Is it sufficient to handle date or number formatting ? I was under the impression you had to use elixir-cldr, Timex etc for a comprehensive localization.
Probably because of a misunderstanding of QE. At first glance it seems obvious that it would cause excess inflation (more money==less value) but that's not generally the case (at least not to the extent that one would assume).
This kind of thing sounds great on personal projects, but doesn't scale. Like many abstractions, frameworks' biggest benefit is (arguably) making it easier for teams to work together.
Every author who's published by a traditional publisher will agree with you that the system has problems, but I guarantee you won't find many who think the whole thing needs to be scrapped and turned into Spotify or OnlyFans or whatever you think the new model is going to look like. Otherwise you would already see a lot more established authors defecting! The truth is the current system, for all its faults, supports the production of a lot of wonderful work, and generally people want to get into it, not out of it.
The question was really whether that was your criteria for claiming my analogy was not comparable. Reading the rest of your comment, I see now that is not the reason.

It seems to me whether or not you can get something for nothing is rather orthogonal to the question of whether it's absurd to expect privacy while not paying for anything.

Are privacy and security less important than food safety? As I posted the question my immediate thought was, as yours, obviously, but the more I think about it the less I am sure. A single security breach in a critical information service could potentially have profound far-reaching effects possibly worse than a local case of food poisoning.
For those interested in reading the actual journalism, not a blog re-writing someone else's work:

https://www.reuters.com/article/us-health-coronavirus-amazon...

The HN link should probably be changed.
The problem in corporate is too many developers trying to do things all at once 10 different ways, without anyone pushing to maintain consistency