skysight-inc/HackerNews huggingface dataset:
I've wanted to try this too. I think speed should be fine. Roles are saved in system tables.

Traditionally the applicaiton handles authentication and authorization. Then it connects to the database as a generic user account, with access to everything. It lets the signed-in user do only the things that he should, through carefully crafted queries.

If instead you registered each end user as a database user, then that makes certain things easier (and perhaps other things harder). For one thing, the current user is available as a variable, current_user. You could create database views that use that variable, instead of having to feed it into each query as a parameter (a small convenience, I admit). You could make the current_user the default value for columns like created_by. You could update columns like last_edited_by purely through triggers. In general, you could write more of your logic in pure SQL, instead of a tight coupling of SQL and your application.

If you're not used to doing it this way, it feels dangerous, and rightly so. But don't think it's actually harder than securing it in application code, just less familiar. A new user in PostgreSQL has no rights, only what is granted through commands.

For ease of maintenance, you can gather users into groups. They are both called roles. A role that has a login is generally a user. You can add role to another role, though, and so the second role acts like a group. Then you can grant and revoke rights to the group, instead of having to issue commands to change the rights one user at a time. There is even a function to help check role membership, pg_has_role.
Looking at the log-graphs of confirmed cases, Sweden is a freaky outlier. Other countries with reliable (ish) numbers show a nearly continuous smooth slope, where as Sweden's graph has a rather curious inflection point.

In the official data, Day 1 is 2020-01-22. If you plot the confirmed cases for Italy, Spain, S.Korea, Finland, Sweden, Denmark, UK, US and Switzerland in the same graph, you can see how Sweden's rate follows the general trend until about day 50. From that point onwards, the growth rate of confirmed cases drops.

Knowing how badly Finland has handled this mess, I have serious doubts about the Swedish numbers. Such a sudden and rapid deviation feels more like a change in reporting (and testing) policy than anything else.
Its really hard to be slower than python, unless you are using ruby. Considering that the parent was asking about node, that is what I was looking at. While V8's performance is hugely impressive, it is still significantly slower than other languages.

I'm not sure what you are trying to say though? My point was that you have to develop expertise before you can create high performance programs. If you are considering dropping node because you need more performance, be careful.
DB & API on the same instance doesn't sound ideal
Funny you mention this–my dad bought me this book at that age. I read it over a couple of days and loved it, but I don't think I really "got it" until I re-read it in my 20s. I've read it three or four times since then. Some beautiful concepts in this book if you can get past the sexism typical of sci-fi novels from this era.
Take a breather. Pretty sure the confusion here is in the overloading and different contexts of "reporting". One kind of reporting is post-hoc, and the other is "real time" reporting for outages and such. There are probably other ways to define it, but let's try to figure out where the confusion is first. How are you defining "reporting" to where it's orthogonal to the ability to backfill?
Right before the Corona lockdown there was a concert announced with him as conductor, for a late piece of him. About a month ago. In our city which is about an hour away from the place where he lives in Poland. Unfortunately he didn't show up. We already thought, how bad, he's probably not feeling well. I had this bad feeling already then.
I don't think the perfect happiness drug causes you to sit inside and end your life quickly. That sounds a lot like heroine, which we already have, and is very much not perfect.

When I'm happy, I still go out and do things, and the happier I am, the longer I want to live, so I eat healthfully and exercise. The perfect happiness drug would make me want to extend my own life and spread joy to others, so I'd probably still have kids and try to provide for them. If it meanwhile made me give up hopes of winning the Superbowl or founding a unicorn, meh, I'm ok with that.

If you stretch the meaning of "ambition" to cover all of "life and civilization" then I think it's not possible to achieve happiness while dropping ambition.
Why do none of these cloud services have spend caps?

Why not have a simple "budget" setting and have a setting what to discuss when it's exceeded. Options could be "shut down most recently started resources" or "shut down everything but don't delete any data", and "delete everything".
> Infectiousness and incubation period tend to be in tension with each other, many routes for virus shedding are symptoms (runny nose, cough, etc).

Yeah, I agree, but I think this is somewhat orthogonal to my point—gain-of-function[0] studies seem to indicate that artificial passage is potentially selective enough to make this possible, even though these things are usually negatively correlated.

> An extremely high death rate also does a better job of motivating responses, which while it isn't directly biological, has a significant impact on transmission.

Absolutely. This was also likely why we saw such a huge and immediate response to SARS, which seemed roughly as (if not more) contagious than SARS-nCov-2, but had a CFR of around 10%. SK was also much less well-equipped to handle it then than it would be today (likely due to that exact reason).

> I'm not so sure we really understand the full possibility space of infectious diseases though.

Agreed, and this is mostly my worry.

---

[0] For an even more terrifying gain-of-function study on H7N9, with higher virulence and mortality than the H5N1 study, the reference is: https://www.nature.com/articles/nature12392

In this case, the virus was also able to be transmitted from ferret to ferret and appeared to have very high concentration in the lungs of ferrets (much more so than H5N1 which was scary enough), which are the usual model for transmission and replication in humans.
Natural Weight Loss: When you do not have to Go Over
Contact Form for a Static Website with Serverless, AWS Lambda, SNS, SQS
Documentation will be one of the biggest bottle necks. You can not do anything in the system without documenting every single item you used or action you have taken. It takes huge amounts of time. These doctors could increase the patients they see I would guess 10 fold if they didn’t have to document every detail. But it would be hard to bill without the details and for some things documentation is critical and important. In a triage situation however a lot of stuff could be ignored completely and focus solely on critical elements like lab values not that you used 12 pieces of cotton so bill that.
Wasn't the government generally simply approving of more tests as long as it doesn't implicate the care?

The push was launched by the main opposition party to be able to open the economy earlier.
Why would Microsoft be disproportionately affected by this? Are we expecting similar decrees from AWS and GCP? Or was Microsoft operating with less runway before this began?
You are thinking about it wrong. Suspend your disbelief about the practicalities of what he did (pretend he was tired and not thinking at all). The story is a metaphor about life, the struggle, and a cruel world. Every person will interpret it differently. Think about how his story is a metaphor for some part of your life, and you might get the emotional import of it.
It could be that Swedes are following the norms established everywhere else, even if 'lockdown' orders are not that hard.

Or it could be, as the article noted, that more than 50% of households are just one person.
Any familiarity with the Pevear and Volokhonsky translation? It's the only one available at my library, but if the Burgin/O'Connor translation is truly superior I'll just get it on Amazon.
Just quickly glanced over some comments on this thread, found it's a bit funny that most comments are about AWS, mean while the original artichle is about Azure.
Perhaps because the safety of the majority should outweigh the minority. If you'd like to risk yourself, why shouldn't you be the one to move to a high infection site? Why protect you and yours and not me and mine? Those who opt in to risky behavior (willfully accepting the possibility of being infected with a dangerous virus being the risky behavior), should be allowed to do so away from the rest of us.
We have an existence proof. The iPads are already a better value when you compare price/performance.

Even the low end $329 iPad can hold its own performance wise to low and midrange laptops. The high end iPad Pros are cheaper and faster than lowend and midrange laptops.
Saying it is easy to ramp up machinery implies that it actually is... while your point that human capital is more valuable than tools is correct, ask yourself why a sophisticated pump costs 10k$ and requires a medically trained person to operate it.

There is a lot of money to be made by keeping these barriers in place, through legal, technical means and by limiting people’s access to “experts” that know what to do with them.
Dutch Disease: English insults often refer to sex; Dutch ones, to disease
Rhode Island expands car stops from only New York to all states
what does "exponentially more lethal" mean here? The lethality is not yet known, but whatever it is, it's a multiplicative factor compared to flu.

I don't think there would be much economic impact if this were annual. The overarching impact would be a reduced lifespan in developed countries (by a small number!). We wouldn't shut down everything every year.
This is an interesting triangle.

Deadly, Contagious, or Incubation. Pick 2.

This COVID-19 is contagious, and has a long incubation.

The deadly part might be during secondary reinfection, or where it wears down your body’s defenses, that other diseases begins to ravage you.

So, this virus might actually be the perfect combination of all 3.
Companies aren’t going hat-in-hand. Governments are rightly bridging companies if they agree to not fire people.
Sort of. This service launched May 2019.
Putin liked this comment.
just do an external merge sort

https://en.wikipedia.org/wiki/External_sorting#External_merg...
"Rampant" work from home with Office 365 I guess. I guess most of the load is all these Team video calls and VPN services?
Again, I don't subscribe to the hypothesis that flu iir = covid iir, but what you are seeing isn't incompatible with that hypothesis. The hypothesis is that iir is the same, but covid has a way higher transmission rate.

So what you are seeing in Italy (or Wuhan for that matter) is a symptom of:

1. A 4 month flu season compacted into a month
2. Hospitals collapsing from the load pulling death rate way up.
3. A lack of vaccination (which limits the deaths/year due to flu)

Honestly, we won't know what the case was until a few months from now when broad, randomized seriological tests are run.
Office 365 runs on Azure in the same regions other workloads do (There's probably some replication going on behind the scenes too, since you don't pick your instance), so I'd bet that tons of new Office 365 subscriptions in the past month are what is causing this, not people deciding to lift-and-shift their app workloads because of the virus. Teams adoption has probably shot way up too.
What I hear from friends in Gothenburg is that certainly a lot more people WFH, but also that restaurants etc are still quite busy.
Yep, I absolutely see what you mean ... but the point here is you're talking about text templating, then you use a jsx example, which isn't text templating.

I believe I understand what you're trying to say ... but the way you've said it ends up including a giant factual error that will potentially put people off. I figured it was "not super good at explaining" so thought I'd mention it so you could try and fix it (I'd be happy to help review an updated version, btw).
I absolutely love Walkaway by Cory Doctorow.
That's a little simplistic.

Rent is determined by a fairly complex interplay between what landlords believe they could collect from some hypothetical tenants, and what tenants believe they could afford to pay based on some hypothetical level of business.

Granted, not many tenants will choose to pay rent that exceeds what they think they can pay, but it may certainly exceed what they are actually able to pay.

And plenty of landlords keep premises empty because they want to wait for some other tenant who will pay them what they think they can get, rather than accept the rate real potential tenants are prepared to pay.
The Importance of People People
In the face of the fact that the number thing the WHO is recommending, and which we know helps a lot, is testing - you are essentially saying that the Swedish healthcare pandemic response is incompetent.

Testing has increased radically in almost every advanced country, in neighboring Norway, they have 4x more testing - do you not think that Sweden, a rich, advanced nation would somehow be able to figure out how to expand testing?

The testing/capita figures are here [1] where you can see that Sweden is, in fact, testing quite a bit behind most other rich nations (though not far behind Denmark).

So the question is, why are they failing so badly on this venue? Or have they actually decided to focus elsewhere?

I find it easier to believe they are actually competent, but taking a different approach and they are obfuscating/lying about their ability to expand testing.

[1] https://en.wikipedia.org/wiki/COVID-19_testing

Edit: I am adding the official Swedish statement as reference:
"Almost all those who get Covid-19 have mild symptoms and recover without requiring medical care. There are thus no medical reasons to test all those who have a cough, sore threat, fever or other symptoms that may indicate a Covid-19 infection, but may in fact be caused by another type of infection. The Public Health Agency of Sweden recommends testing of those people who have a very high fever or acute respiratory symptoms and require hospital care." [2]

Unfortunately, they indicate that 'there is no medical reason to test for Covid unless high fever' which I think is a problematic statement in the context of a pandemic. Of course, there are 'medical reasons to test' beyond those factors.

[2] https://www.krisinformation.se/en/hazards-and-risks/disaster...
Visual CSS Editor – Grab'n Go
The jokes usually aren't on the front page in the first place. It would be bad to put it right there, on such a sparse page, next to the coronavirus note. But that's a tiny tiny subset of possible jokes. And even then, it's not messing with the medical advice. Give them the tiniest amount of credit.

> Can you see how that would undermine Google’s credibility?

Do you honestly think I might be okay with the specific action of redirecting the coronavirus links, and that it's a fair representation of my point? Or are you falsely equating that with 'jokes on the same page' and 'jokes on other pages' as a deliberate strawman?
That's a great example. Hadn't heard of it before.
Pandemic Economics: ‘Much Worse, Quickly’
Usage went up 40% last week:

https://www.theverge.com/2020/3/19/21186452/microsoft-teams-...
One of the key points of the paper is about how OpenCL makes it easier to implement things for an FPGA. Using Verilog/VHDL is about an order of magnitude more work, which would probably completely disqualify using the FPGA for a project like this.
I do. But in my sports club, where I'm training 4 days a week. I play in a league competitively. In the office playing ping pong is not interesting at all.

At work I'd rather prefer a pool. In the US I used to work after office hours poolside.
Azure has this in their Cost Management page, available for each subscription. You can set a budget and get notifications about when you are reaching its limit. Not sure about the power it has with re to shutting things down.
"The source code for the FPGA imager is highly different from the GPU code.This is mostly due to the different programming models: with FPGAs, one buildsa dataflow pipeline, while GPU code is imperative."

Please explain how they used OpenCL kernels designed for GPU.
Of course they can be capped, you just turn off the services. If you're asking them to automate that for you, then the counterpoint would be people accidentally setting a budget that wipes out their resources and complaining about that.

Easier for both sides to just ask AWS for a refund if there's a reasonable case.
Cory Doctorow's Little Brother

Still my favorite book of all time. I ended up spending a few years doing crypto research after reading it.
This does not dispute what the OP said. If you've lived in Sweden for the majority of your live you can't really realize the gathering/social culture that some other societ s might have. E.g. Italy common to spend lots of time with extended family
Wow.

First of all, I'm curious to what proportions this is driven primarily by remote office work (O365), videoconferencing streaming, recreational video streaming (does Disney+ run on Azure?), or what.

But second... I'm fascinated by the concept of prioritization rules in place rather than simply raising prices. I wonder if it "looks bad" to raise prices, or if the vast majority of customers already have locked-in prices contractually so that raising prices has little effect. But I'd always thought that with AWS's spot pricing and so forth, that auction-style dynamic pricing was a core feature of clouds.
Penderecki's "long illness" has been common knowledge in the classical music world for some time now, and the composer has been forced to cancel many engagements and commissions over the last couple of years due to ill health, well before Covid-19 was ever a thing.
A package signed with the Debian signing keys proves it is approved by them. A package signed with the Signal Foundation signing keys proves it is approved by them. It's substantively the same thing, you're just enabled to trust multiple independent parties, or yourself if you install something outside of the package manager.
I now don't remember where I saw this, nor can I find it... but I swear I had seen something in the past week or two comparing how much retraining different medical professions needed to quickly get useful for staffing ventilator technology, and veterinarians came out on top; so like, people are (unless I dreamth this?!) looking into reusing people.
I imagine companies are flocking to Microsoft's virtual desktop solutions more than AWS or Google. It is the most well-known provider among managers who need to make a snap decision right now on how to have people work from home, if I had to guess.
If only there were a nation, so far unaffected by the virus, with a large number of skilled medical professionals willing to travel to other countries and help. I'm sure if such a place existed, the US would be negotiating right now to get a supply of such medical professionals. And certainly wouldn't be sabotaging that country's ability to aid other countries /s.

https://en.wikipedia.org/wiki/Healthcare_in_Cuba
Some feedback on landing page:

- Make the sample script response header "Content-Type: text/plain" so that it renders in the browser instead of downloading a file.

- Make the sample video demonstrate the three features it says it has, like image captions.
Small correction: the password that has been seen 12 times is "aaaaA1" (no ! char). But "agkxA1" has still been seen 0 times.
Dickens did the same. Suspense!
That’s Emacs for you
The jungle primaries actually make even that case better.

You don't have the case where some nitwit edges out a reasonable candidate in the primary and then wins the general simply because they have (D) or (R) next to their name.

In California's case, if we send two Democrats to the general election, the Republicans get to weigh in on which they find more acceptable. It forces the candidates to the actual center.

It would work that way for two Republican candidates as well, but a whole host of Republicans simply quit after we un-gerrymandered the state.
How exactly did Finland handle this badly? It's looking pretty good I think.
Damned if you do. Damned if you don’t.

I wonder why France only chose to do a quarantine, after 6,000 people were infected. By the time you confirm someone is infected, then you might have 10 times the actual number infected. Meaning, France might have 60,000 infected, when they finally mandated the quarantine.

Good luck France. Stay safe.
The more complex an organism, the more a proof-reading mechanism is required.

Enveloped Coronaviruses are complex enough that a break of the proof-reading mechanism will almost certainly also be fatal to the virus.

That is why you're much more likely to see mutations in smaller simpler viruses like Rhinovirus - and why vaccination efforts are futile.

...but you are correct that this is a statistics question - at what number of infected humans, does the odds of a meaningful mutation occur? 10^6 humans? 10^9 humans? 10^12 humans? We don't really know.
The budget required more than just simple majority control until California fixed that with a proposition.

If you wish to comment intelligently, you may need to research first.
The Mac was already on an upward trajectory before the x86 transition. OS X hasn’t really gained that much marketshare. Besides the “beleaguered years”, Macs have historically trended at around 10% market share. They actually had more marketshare in the early 90s before Windows 95.

Apple has done this three times if you include the Apple //e transition. Each time they brought customer’s along.

The first transition from 68K to PPC, almost all of their revenue came from Macs. The second time about half (the other half was iPods). Now it’s less than 10%. It’s much less risky this time.
"The Ruler of the World" by Alexander Belyaev talks about the future where everyone can be controlled by radio waves.
Interview with Cofounder of Bottomless, “Amazon for Repeat Purchases”
Did you ignore the rest of my post, where I spend a lot of time talking about all the other people who also die from covid-19?
> the slowest part of all here is still fetching the fricking page over the internet.

That may be true, but have you tried browsing the web on an older device? Once the webpage is loaded, I can't say the experience is very nice on my iPad mini 2. Now, granted, that's a 2013 device. All I'm saying is that after all the "network stuff" you mention is done, the device power matters greatly, especially on JS-heavy sites.
Google Nose
They are also getting help from the government, in addition to the normal unemployment benefits which have always been available. It's not like nothing is being done for them.

Both businesses and workers are getting some help, which may not be enough. But let's not act like the government is only helping businesses.
People love to talk about how lenders take a risk by lending, and that's why contemporary "capitalism" tends to limit the distribution of profits back to lenders/shareholders.

But you take a risk simply by deciding to "invest" your labor in a venture too. And if the venture fails, in almost all cases, those who chose to provide labor instead of capital find themselves much worse off, practically speaking, than those who can spread their investments around and amortize risk.

It's not that the lenders are bad guys, it's that they are participants in a bad system that provides preferential treatment to capital versus labor.
In re: the "magic", it seems to me that you could use a mock object and get the required info from it.