skysight-inc/HackerNews huggingface dataset:
In the US, they were also sharing pens to complete the photocopied symptom forms, which constituted the ‘screening’.
>You'd have to define an empty class with a destructor, then instantiate the class at the appropriate place in your code. The point of Boost.ScopeExit is to handle that boilerplate for you.

I would argue that every time you want to execute something on scope exit, that essentially models a resource or lock of some kind. Which means the constructor wouldn't be empty (it would acquire the resource), and writing the class wouldn't really be "boilerplate", it would be clean design.

>This strikes me as hijacking a memory-management facility, using it for a different purpose than its intent. That's bad for readability. I'd prefer either ScopeExit or the dummy object pattern I described.

I think it is much better for readability, because it usually models the thing you want to do much more precisely. Although it is a shame that only unique_ptr is standard and not unique_handle, but you could write that yourself relatively quickly. This case doesn't just model that you want to execute something at the end of a scope, but that you have a handle to a resource that you can std::move around and that will get destroyed at the appropriate time (if you model your data correctly).
Most people don't want the modern web replaced with an extremely minimalist version only good for publishing whitepapers, and they wouldn't want to use a browser that enforces such a restriction. Pages with minimalist HTML already render extremely fast in modern browsers, that's not a problem anyone actually has.

So why would other browsers even bother to compete with you? Do they bother competing with Lynx?
Given it took Whitehead and Russell 300 pages to logically prove that 1 + 1 = 2, I think we can all go ahead and assume any supposition stated in less detail is naturally flawed and incomplete, including this one.
How can law firms get the best use out of AI?
Self-care Tips if you become sick with Covid-19 from an activist nurse
I don't think the internet is well served by a monoculture of user agents all speaking HTTPS (and only HTTPS) and trying to cram everything under the sun into HTML/CSS/JS.

My personal preference would be for more specialized agents speaking protocols designed for their use case: email over SMTP/IMAP (or JMAP!), newsreaders with RSS, chat on XMPP, etc, content browsers with some limited markup language, maybe games and fat apps loaded as binaries to a sandbox VM.

Maybe this is unrealistic and that time is passed, but the internet used to work more like what I've described. Today, more and more things are just a JS webapp that only runs properly in Chrome.
Wait until we start breeding in space, then we're really gonna be diverse. Shortly after I predict various parties on either side will start agitating to purge the others to keep the pool "clean".
When I am writing plain JS I often end up having to write loads of tests to check that I don't to wrong things with types. Did I remember to consider null/undefined? What if I sent in something totally different?

With TS I don't need to spend as much time with these types of tests. I just let the compiler do it for it. If my function says in it's signature the argument can't be null I don't need to do null-checks.
Tens of thousands of people were fired in my country just this week, across all industries.

While this periodic restructuring of the economy is probably healthy in the long term, I wish well to all individuals and families hurt by this crisis. Some people I know won't recover financially.

One consequence of this crisis, IMO, will be that people will focus on their fellow nationals for a while, and globalism will take a hit. When resources are scarce compared to the scale of the problem, you have to prioritize.
No... the Saudi oil production costs are circa US$10/bbl, and their marginal production costs (ie costs to produce one more barrel) are circa US$3.00.

They are not selling at a loss, but they are not making enough to run their country (that would take prices of ca US$80/bbl at the current rate).
What Is a College Education in the Time of Coronavirus?
Try Nakivo Backup and Replication v9.3 Beta and Get an Amazon EGift Card
> The Great War destroyed the stability of a generation, and took 20 million lives

That's an understatement. Rather two or three generations, since the Second World War is pretty much a direct consequence of how the First one ended.
What does this mean for Wikimedia? Will they extend file uploaders and such with some fancier animations and code or will Wikimedia turn into another one of these God-awful Javascript applications running an HTML renderer inside the browser's HTML renderer?

Don't get me wrong, Javascript web applications have their place, but Wikimedia is a website and not a web application.

Will Vue and React work on 2G cell phones running super basic browsers? Will screen readers support all elements created by the Javascript framework?

I have seen too many sites collapse into an empty white page because whatever javascript they were running couldn't access a resource and the shitty JS framework just stopped, leaving me with an empty page. I hope the Wikimedia foundation can stay clear of unnecessary javascript development as long as possible.
People in the west also don’t seem to understand that Japanese news media is closer to that in China than here. Abe is notorious for silencing his critics, having them fired or moved if they question the government line. Press freedom has entirely collapsed from where it was in Japan not even a decade ago.

https://www.theguardian.com/world/2017/jun/13/japan-accused-...

This is all to say, even if you had this spike in deaths, I’m skeptical it would be reported until it was too late.
You can mix and match traditional server-rendered content and JS framework (in this case Vue)-rendered components on the same page (not considering SSR here). Going full SPA means using the latter exclusively.
Please don't make Wikipedia a JS monstrosity :(
One Million Coronavirus API Requests
> The ship is filled with 100 people from 20 countries, drifting at the mercy of the ice floe, farther from civilization than the International Space Station.

That probably depends on where the ISS is, doesn't it?
Nothing needs to work with Russia, it is an excuse. Russia's oil output as % of global production hasn't really changed for decades. It's is all about US frackers, peak oil demand, and a prince's concern about his personal future.
Good to know, I missed that. Luckily I've given them AN email :)
Still think Ponce de Leon discovered Florida? More evidence that you are wrong
This is where VR is needed
In foundations of math that mathemati ians actually use (such as ZF), you don't need 300 pages to show 1+1=2.
EU Urges Netflix to Limit Quality to Ease Strain Amid Surge in Remote Working
But when the cost recovers we'll be back at it again. US shale has seen booms and busts for a hundred years.
I think you should have supported Web components
This is basically a simple theorem about graphs.
There's a similiar site for german cultural sites/rooms (unfortunately only in german):
https://vr-dynamix.com/bayern3d-heimat-digital/

Direct links to the vr-application:
https://www.vr-dynamix.com/bayern3d/dk/index.html
https://www.vr-dynamix.com/bayern3d/wbgarten/index.html
Well, you know my conclusions.

I'd disagree with your claim that you've responded (in my view your "Aaah you're attacking me" is just a deflection), but as I've written, I'm walking away. Enjoy that cognitive dissonance!
Half expecting some form of a bailout for shale producers if it comes to that.
Almost all of his wealth is the value of the companies he runs. He's so cash-poor that he couldn't even pay a $75k fine.[1]

1. https://observer.com/2019/10/elon-musk-british-diver-lawsuit...
> How are your production bundle sizes?

Application I'm working on is not that complex, 20 something different pages with multiple sub-sections themselves, bundle ends up being 1.5MB or something like that, 300kb gzipped. Main weight comes from using multimethods which pulls in a lot of cljs.core, so not using that would make it a lot smaller.

Also gonna start splitting the bundle per page but haven't yet.

> Are you using shadowcljs? If not, what tooling are you using?

No, using figwheel-main, project was started before shadowcljs starting to look as good as it looks today. Starting a project today I would probably look into shadow-cljs first. But we're not using any npm dependencies, but shadow-cljs seems to have better introspection properties than figwheel-main (like seeing partitions of bundle size easier, we're currently doing it by looking at the sourcemaps...)

> Also, what editor?

Using vim + fireplace which been working really well for me.

> Calva wasn’t up to snuff. I wonder if that’s changed

Haven't used Calva myself but tons of people in the community swear by it, so I'm thinking it's been improving since the last time you tried it.

I'm not sure when was the last time you tried Calva but Calva been in at least two Clojurists Together (https://www.clojuriststogether.org/) funding cycles, so if you tried it before mid-2019, give it a try again (and report back :) )
Don't forget night light and automatic closing. Regular toilets are appalling.
Same thing the Chinese did with solar panels back in the early 2000s. Subsidise national production so it could run at a loss, forcing others out of business and cornering the market.

In some sense it's pretty obvious that a free market capitalist system will mostly lose in competition with a state regulated system, if the latter decides it is important to have control of a sector.
>pushing wealth out of their country. (Balance of payment in negative, it is right?.)

No...if balance of payment is negative, that means they are pushing money out of the country. Presumably there is a corresponding flow of goods inward, so the "wealth" does not change as such.

The imported goods may of course be consumed (e.g. Swiss chocolate, movies), or put to productive use (e.g. a lathe, education), or just stored (e.g. gold).
what advantages does vscode add for c++ development over current IDEs and editors?
Zoom on linux isn't too bad. Unlike other companies, they provide a linux client. It has all the essential features in it (I haven't spotted anything missing). In addition, it doesn't depend on some ancient java stack. Yes, you have to install the package as root, but I don't see a lot of hate from zoom.
Doesn't make sense. They could just buy US shale. I think the answer is Saudis are brainless. There is enough evidence.
Typescript is as strongly typed as you want it to be. You can easily work with dynamic types and it will fill in where it can.
> will be exploited again

There could be investment inertia and reluctance. After all, it's possible that the oil producer companies play the "price war" again.
It's proprietary. Do we need another Flash?
That's true. What is the point of overpriced aws though if you don't want it to scale uncontrollably?
I'm a React fanboy, but I have to admit, the Svelte performance and code size is impressive.

Maybe that would be a feasible way to get a modern developer experience without the bloat?
It also selects against religious people...
The First U.S. Company Has Announced an Upcoming Home Covid-19 Test
When people start debating the truthfulness of things the rest of us agree upon, it's usually time to disengage because they are being unreasonable. Another option is to question not the truth of a belief, but its usefulness.
Manufactures like Hamilton Medical that are local here are currently working overtime and also work on Saturdays to keep up with demand.

They are not raising prices, but they're also not selling to new customers, as they're afraid intermediate buyers are taking advantage and raising prices on their end.

They also said they have about 2-3 months of runway until their supplies dry up, since parts from China aren't coming in. They did however get supplies ordered in December, because they anticipated the crisis.
Berkshire (BRK-B)

https://finance.yahoo.com/quote/brk-b/

- Buy it now.

- Check in on it every quarter.

- You might lose money in the short term.

- But not participating in the eventual rebound would be a huge missed opportunity.
I believe the templating is what's declarative, here. For instance, in Vue you can insert logic such as for loops, conditionals, event listeners, two-way data binding and so on right in the template with directives (HTML attributes).

<Todo v-for="(todo, index) in Todos" :key="index"/>

Instead of an imperative JavaScript for loop.
If you don't need it, don't use it.
Another edge-case highlighting the usefulness of global time; maybe a soft rollout of UTC at the North Pole is a good start in wait for the rest of the world to catch on?
There's no cognitive dissonance. Just a lot of disappointment every time I read the facts behind the latest "scandal" and find that it's just anti-Trump spin.

Let's not bring that nonsense here. Let's discuss facts and evidence and make an effort to put partisanship aside.
In the news it was said that normal procedures require about 30 masks per IC patient per day. That’s a lot of masks to stockpile and even then it wouldn’t last too long.

Still difficult to understand how in Japan everyone wears these masks every day and in the West they can’t be produced.
If a software is used to create data that is okay like editing text files in microsoft windows. But computational software such as Wolfram being closed source bothers me a lot. There is no way to verify the science you do is correct.
Can you install rain water collection system? Where I live, even houses that have central water line do have a second rain water system for washing, gardening, etc.
The Real-Time Impact Covid-19 Is Having on Small Businesses and Workers
Contemporary framworks all allow for server side rendering and build time rendering.

Sure, you won't get 100% of the goodies, if you disable JS, some stuff simply can't be done with HTML/CSS, but at least the important parts would still work.

Also, solutions like Svelte are rather fast and small, compared to Vue/React but also compared to previously known small frameworks like HyperApp.
In person, I have an open door policy with my students. If my door is open, it generally means I'm available to talk with them. Since all of our instruction has moved online, I'm adopting a virtual open door policy. I have a camera pointed at my door. If that door is open, students know I am there and if they announce themselves, I "let them in" by turning the camera around. When I'm in a meeting, I mute the audio and close the door so they know I'm not currently available. To be determined how effective this will be.
How can I contact you?

There is an app already in use in the Netherlands. They are field testing at scale and releasing better versions twice a day. Next monday it will be distributed to all hospitals and most citizens. Dutch PBS prime time news had a 5 minute documentary on the app yesterday March 18th.
Don't expect millions to die from the Covid Virus according to Richard Epstein
On Tuesday afternoon Lichess (a popular free and open source chess service) showed a notification that they're "dealing with connection issues due to peak online users".

The live stats panel showed around 60k players in around 25k games.
Ask HN: How do you keep web pages for further reference?
Lately, I started being much more systematic in how I keep track of what I read [1]. With it came the need to keep a reference to the source. While it is easy for scientific papers (just download the pdf), I struggle with web-based content (blog posts and podcasts, mostly). Keeping the URL is easy but not future proof. Printing to pdf kinda works for blog posts, but you loose links. Saving the html seems messy, and could still break if links to external content (stylesheets, scripts, images) break.

I am surely not the only one to hit this wall. I am curious to hear how others solved this.

[1] I use the Zettelkasten method, discovered recently through HN
I’m a Mathematica addict and (as I have remarked elsewhere) rely predominantly on iPads as my platform of choice. Sure, Wolfram Online works fine when a network connection is available, but I’m really, really, really hoping that sooner rather than later they’ll release a fully fledged notebook & back-end kernel version of Mathematica for the iPad.

This shows some flexibility on their behalf, but it’s moving in the wrong direction (as far as I’m concerned, at least).
How is this related to Flash? Mathematica is a powerful pattern based symbol manipulation language, Flash is a media creation software, which do you think reaches more end users?
Is it just me, or does this seem terrible? Lack of a stable business key & limiting key size to 4.5 digits just seems terribly lacking in any competent database practice.

I was building ISAM database applications for small business in the early nineties, and we used 6 digit keys.. and an index to access records by.

I'm sure Raymond Chen is a nice guy, but this just makes me think of a retard stabbing his cheek when trying to eat with a fork. (Dirty Rotten Scoundrels movie.)
Every Startup Has Three Stories and You Need to Tell All of Them
"A friend who plays more tabletop games than I do tells me that — in terms of the mechanics — as tabletop games go, it’s middling" absolutely, just played my first few games of Infinity recently (yes plural each game took around an hour) and was blown away by how much more fun it was to play. The next day we were trying to organise the next session. That never happened with 40K because the games were exhausting and more something you 'got through'.

However as the author says Games Workshop have created an incredibly engrossing setting which pulls you in and enhances all the other aspects of the hobby.
I agree with this.

TypeScript makes Java and .NET developers think they understand the language and platform and causes a lot of irrelevant design to be copied over into the JS world where it mutates and becomes absolutely poisonous.

Just look at Angular where the boilerplate and crazy dependency injection completely surpasses anything seen in the Java / .NET world.
Anything other than Japanese robot washlet is medieval
Haha, that would be really short sighted and I can't imagine the author thinking restaurants will never open again.
Abstractions and Serverless
Hey this sounds a lot like Cloudlets / edge computing! Really happy to see some real world applications out there: http://elijah.cs.cmu.edu/
Logically, that makes sense, but since this thread is about logic, not math, it doesn't. (Unless you're saying logic and math are the same, in which case I would need to see a rigorous proof in order to believe you.)
Google critics see its Firebase tools as another squeeze play
Both are proprietary trapware.
> Individuals can stop writing JS (and for content-first websites, I have), but that won't stop us from having to see it.

And that's the rub.

None of this is actually about wanting to improve the web with a sane minimalist subset of HTML, or separating "documents" from "apps", it's about wishing the web never left universities, never got mainstream, and never got complicated by modernity or tainted by capitalism.

But you can't put that genie back into the bottle and, honestly, I don't think it should be done were it possible. The modern web enables a great deal of creative freedom and cultural expression which simply wouldn't be possible if it were only plain hypertext documents.
Following links gets you to this article which tries to explain that the Neolithic decline happened also because of a plague.

https://en.wikipedia.org/wiki/Neolithic_decline
You can easily do that with React too. In fact, that's how Facebook first used it, using it for just the chatbox (or something) with the rest of the page as it was.
> It is estimated that below 50$/barrel Saudi Arabia is basically pushing wealth out of their country. (Balance of payment in negative, it is right?.)

You are assuming that the saudis didn't hedge. Being the "first mover" in this case, they would have had ample time to hedge against any drop in oil prices. Of course when they decide to cut supply and increase oil prices, they could bet on oil futures and make a lot of money beyond the selling of oil itself.

> What is the strategy here? Push all "high-tech" producers out of the market and shut up the price again? How long can they last? And how much it will cost?

Putting frackers out of business is that same old nonsense financial "news" has pushed the last 10 years. If someone at bloomberg actually knew what they were talking about, especially about the saudis and their oil plans, they wouldn't be slaving away at bloomberg. They would trade oil/commodities and retire in a day. A journalist at bloomberg knows about as much about the saudis plans as a journalist at espn knew about brady's plan during free agency. They know nothing. All they do is spew conjecture for clicks.

Oil is a geopolitical tool. It's an election year. Low gas prices make voters happy. Someone likes the saudis and the saudis like that someone. Also, low oil prices hurt venezuela and iran more than anyone else and will cause the suffering of many people. 2+2=5. Your guess is good as any from bloomberg.
The sun doesn't only rise and set once a year at the north Pole! Is this a joke?

Edit: -3 for correct science. Good work HN
Jitsi is already peer-to-peer as far as I know.
I have been donating to Wikimedia for years, but have sent an email to let them know that I will stop the day Wikipedia becomes inaccessible without JavaScript.

Wikipedia is a unique project because of how reliable it is -- in both its merit and its tech. It would be sad to see it go.
THIS. Yes I'm aware of the challenges, not the least of which is ventilation. But this is a great step towards a pivot. Thanks!
Could you explain what is better? And how to properly set up compile_commands.json? It seems I struggled with getting `make` to work with VScode.
> essentially models a resource or lock of some kind

I agree that proper RAII is generally the way to go. I think of ScopeExit as being for those situations where you have to deal with C-style code. One way is to wrap the C-style code in C++ and leverage C++'s RAII. The alternative is to write C-style code yourself, but you can still use ScopeExit to ensure you didn't miss any edge-cases where cleanup is necessary (multiple points of return, exceptions, etc).

In this way, ScopeExit is for 'C++ as a better C' programming.

> This case doesn't just model that you want to execute something at the end of a scope, but that you have a handle to a resource that you can std::move around and that will get destroyed at the appropriate time

This is going far further down the C++ rabbit-hole than what we started with, though. If I just want to be sure that I didn't miss any places where I need to call free (or similar) in my C-style code, ScopeExit is just the thing.
Where I was in Asia it was one of the reasons, because you don't want to suffer the glares of people if they catch you sneezing without a mask. But people also wear them to protect themselves, from flu on the trains and smog when on the streets. And the other reason is for a bit of privacy, which appeals to young women in particular.