skysight-inc/HackerNews huggingface dataset:
The simple answer to this is that these days "functional programming" doesn't just mean the absence of side effects. It means strong type systems, algebraic data types, list comprehensions, etc. It is a distinct cultural stream in the development of programming languages. Of course "functional" has an original narrow meaning, but so do "Republican" and "Democrat".

When Rust introduced ADTs they were recognizably a concept from functional programming. It's a place or community of practice, not a purely descriptive adjective.
> The common name for the virus is Wuhan virus.

Except the common name for the virus is _not_ wuhanvirus. This simple fact destroys your entire point.

The virus is overwhelmingly known as coronavirus, and less known by it's official WHO designation SARS-CoV-2, or the illness it causes, Coronavirus disease.

It's true that we sometimes refer to novel pathogens by their first known origin, but it's hardly a general rule. We don't call SARS foshanvirus, and we don't call H1N1 American flu. If you used any of these names, no one would know what you're talking about.

It's not particularly strange for the public to refer to a novel virus by it's original location, but it is extremely strange when people want to redefine the common name as location-based when it's already widely known by a different, more distinguishing name.

Your point is that the thoughtpolice are out in full force to redefine our language in politically correct terms. But that's not what's happening at all. The entire world already knows the virus by an altogether different name, and it is you out to redefine it by its location, a less distinguishing feature.
> Lords of Finance

Oh, yes, great book! And good read.

Two things stuck in my mind:

A) How slow things were back then. The British finance minister (“Chancellor and Under-Treasurer of Her Majesty's Exchequer”) would get on a steam ship, incognito, for a month or so to visit his counterpart in the US, then skipper back, and months later respond to the crisis.

B) How few people saw things coming. People thought the skirmishes that ended up precipitating WW I would soon be over, Irvin Fisher confidently declaimed just before the 1929 stock market crash that “stock prices have reached what appears to be a permanently high plateau”, people didn’t pay much attention to this obscure Adolf Hitler guy.

Every time, by the time the true dimensions became obvious, it was too late to do something (flee, sell, ...).

With respect to the current “15 cases going down to zero, we are doing great, we have it under control” flu, draw your own conclusions.

Edit: typos
Wouldn't dying in your 30s or 40s allow you to avoid the elderly years when you rack up the most health care expenses?
Since Nordic countries are very similar in many ways, Finnish social scientists specializing on youth recently visited Iceland in attempt to learn about the system and wrote a report about it (in Finnish) https://www.nuorisotutkimusseura.fi/nakokulma53

Summary:

* They didn't find any clear Icelandic model. Icelandic politicians promoting it. Icelandic researchers don't know if it exists.

* Icelandic experts are not unanimous that there is causal link between the advertised methods and effects. Halldór Hauksson has noted that increasing the age of adulthood with two years might have been the real cause. Many young people having problems stayed within the children programs and could be treated under them and not as adult alcoholics.

* It's very adult oriented model. Teenagers are just subjects.

* There was clear distrust against unsupervised gatherings among teenagers. Adults don't seem to see any value or learning in stuff that young people do among themselves.

* Nobody have studied what teenagers think about the system. Apparently they didn't even think to ask it.

* There are parts of the system that might violate agreements that protect children rights. (Yes, Nordic countries take things like United Nations Declaration of the Rights of the Child seriously) Some methods violate Finnish constitution of equality and equal rights (when people are subject to government actions they must have an opportunity to voice their opinion) so they can't be directly used.

If you look at other things like alcohol use, things don't look good.

* Teenage suicides have grown off the chart. Boys: 42.5 suicides per 100k. For comparison Finland 12, Sweden 8.5, Norway 6.5, Denmark 5.5

* Psychotropic medication among teenagers if many times what it is in other Nordic countries. UN children rights commission has notified Iceland about child medication.
They should, but they have no real incentive to beyond civic duty.
I'm in game dev, and logs are one of the most, if not the most useful debugging tools we have. It's not uncommon to see rare bugs that we can't reproduce yet have to fix, and the only thing we have to go on is a log and a video. It's usual to add speculative logging to help figure out what the problem is the next time we happen to see the bug.

It's also very helpful to identify performance issues when you have a flamegraph with interspersed log lines on a timeline.
Ask HN: I am in lockdown. Asking help to find remote work
I am asking for some help here to see if somebody has any opportunity or suggestion to procure some remote work that I might be able to do in my condition.
I am from Italy and in lockdown. Presumably will not be able to move for the next 4-6 weeks.
Cannot leave my family since my spouse is a doc and I have to watch after the kids because grandparents on both sides cannot come close to the kids.

I tried popular platforms (up-Work etc.) but the process to be admitted and start getting gigs is long/complex and a bit foreign to me.

I just recently finished teaching two bootcamps in Germany in Full-Stack Web Dev.
I am also a Certified Engineer (Italy), but unsure what I could do remotely in this regard.

Here are some things I think I can contribute to:

1) Front-end specifically React, but would not disdain Vue. Good to advanced skills here.

2) Apps Script / Google Suite coding and automation. Good to advanced skills here

3) Back-end, specifically Node/Express/Mongo. Good to advanced skills here, but can do basic SQL methods.

4) Some Python/Panda but very basic.

5) Remote team management / project management. Good to advanced skills here.

Also, if others are in my situation and affected by the travel ban, please come forward. It's always good to band together.

Marco
Before I saw the year tag, I thought this was related to “what libraries can do if they shut thier doors in the COVID19 crisis...
More amateur intuition: there are probably more available trained health care providers (e.g. radiologists who put tubes in as med students) than there are devices. These things aren't going to be needed by "us", but by them. They need to be the ones coming up to speed.

Again: I'd be sort of OK with a ventilator manufactured by a HN reader. Under no circumstances do I want a software geek putting a tube in me.
Shameless self-plug: ChangeGear. We’re cheapest in-class for medium-sized companies.
I'm going to want to deliver information in tabular form (1993)
Better still, you can easily bake bread. White flour lasts for years if stored well, dry yeast lasts as long. Add some rye, oats, muesli, nuts and/or other random kitchen finds to create something akin to whole-grain bread. Add boiled grits or ground boiled pasta to create a more moist loaf. I've been baking my own bread since high school (i.e. for about 40 years) and see no reason to stop doing so. It also gives you something to do while waiting out the quarantine...
$5,000?! That’s price gouging!
Assumptions are perhaps even more dangerous than the topic at hand.
> The common name for the virus is Wuhan virus.

Not anymore. It was a casual name for the virus in the very beginning, but not according to WHO standards.

If the Chinese government discourages people to use the name Wuhan virus, they are right in their argument. If they use force to enforce this discouragement, that's over the top IMO, but it is an authoritarian regime so its within their character to do so.

> No, it isn't offensive. We frequently name diseases after locations. Ebola is an example. MERS is an example. Spanish Flu is an example.

WHO recommends not to, and Spanish flu is not descriptive of its origins, as it did not origin from Spain; the rest of the world was just too busy to notice/act on it. [1]

[1] https://en.m.wikipedia.org/wiki/Spanish_flu
Amid ‘ghost towns,’ students have mixed views about virus shutdowns
Of course he has.

Vast majority of hoarders don't hoard nearly that much.

Vast majority of hoarders don't plan on exploiting people.
Also Morph, which is like NixOps, but stateless:

https://github.com/DBCDK/morph
Most innovative AI companies in 2019
Tell them you have no capacity problem. You are raising capacity. Rise the price by 30%+, the reason for that would be to cover up additional cost you have and make people think a bit before they panic buy. Rank up production to absolute maximum given the time allowed. That basically means factory running 24/7. Absolutely flood the market with excess stocks.

Some people have more toilet paper than they need for the rest of their life. Some of them has hundreds rolls of toilet paper. You want SPAM? Great, have cartons of SPAM, lets play the game of Supply and Demand and see if you have more buying power than my capacity. The simple lesson is, idiots and selfish people are everywhere. ( Nothing wrong with keeping two weeks worth of stock, but right now people are buying for the sake of buying )

So what hasn't this happen? The answer is Lead time. Not only in capacity but in decision making. As far as I am aware NO manufacturers to date have risen capacity when they were given prior notice. They only raise when the stock were running dry, and there were real incentives to do so. The decision of that has also taken days if not weeks till action, which is very long in consumer's view perspective.

Look at Hong Kong and Taiwan. Shops now have years wroth of stocks in hand cleaning and washing solutions. They only capacity constraint we have right now is Mask.
My default tends to be Ansible because it is really versatile and lightweight on the systems being managed. That versatility can bite you though because it's easy to use it as a good solution and miss a great one. Also, heaven help you if you need to make a change on 1000s of hosts quickly.

I also use (In order of frequency):
Terraform,
Invoke (Sometimes there is no substitute for a full programming language like python),
Saltstack (1000's of machines in a heterogenous environment)

If I were going to deploy a new app on k8s today, I would probably use something like https://github.com/fluxcd/flux.

I haven't really had a pleasant time with the tooling around serverless ecosystem yet once you get beyond hello worlds and canned code examples.
You'll find that even in the hard sciences, which are more objective many times over than the social sciences. Any complex field is going to generate controversy. That doesn't mean it isn't worth learning about.

That said, you should know why you're studying finance if you're going to spend the time on it. For me intellectual curiosity is a good enough motivator. It also helps me evaluate claims made by, for example, public officials. But I think it is reasonable to question whether it will significantly improve your personal financial situation.
I find it more curious if there won't be sequelae such as overweight rates going up instead. That would be interesting.

Iceland is not that small. It's comparable to many medium sized cities in Europe, or a district of a big one.
I haven't seen any panic buying yet. Pretty sure the shop downstairs even has toilet paper.

I got ~month of Mana powdered meals just in case though.
Here also docker-compose. Easy to separate tenants using same stack (nginx+django+postgres+minio).

Question though: how do you manage the possible rebooting-containers-loop after a host reboot? I had to throw in more memory to prevent this but it feels like a (expensive|unnecessary) workaround. Anyone figured out how to let multiple containers start after each other (while not in 1 docker-compose.yaml)?
> But Folding@Home is setup for home,

Nothing prevents running the fah client on nodes of a compute cluster -- in fact my colleagues did that (while running a local F@H server), though that was a number of years ago just because they wanted take advantage of the distributed computing facilities provided by the client-server setup and built-in algorithms.

> crowd sourcing has the potential to scale to many orders of magnitude larger than what can be done in a data center.

Potential it does have, but I am skeptical of the "many orders of magnitude" claim ever having a chance to materialize.
I'd love to see a cost / benefit analysis on the effective amount of useful work contributed vs the cost of the same in a data center.
Trump was never very ideologically inclined, so this does not seem unbelievable. He mostly acts out of self-interest and to stroke his ego (a caricature, but one which doubles as a fairly solid heuristic).

As other commenters have pointed out, the interest rates are also historically low.
An argument supporting gouging: https://reason.com/2019/01/31/price-gouging-is-supply-and-de...
Those stuck with me but so did the points the author made about gold. There was a depression. Central banks sticking to the gold standard is part of what made it the Great Depression.
In music applications, 10ms is considered noticeable, which should give us an approximate idea of the physiological bounds. Asserting that 150-250ms is "not detectable by humans" is way off.
On the other hand, why not at least try out the approach?
(Including the nasty curfew.)
Is USA so poor they cannot get $250 in to send teens to do extracurriculars/sports?

Iceland is not exactly super rich.
It's so true, I'd say over half of 'finance/trading' books are almost entirely about psychology and their own personal take, it's really discouraging.
It's simple recognition that Iceland is a very homogenous place so homogenous solutions to problems are more likely to be effective. Iceland doesn't even allow baby names that aren't listed in their book of acceptable names. Now try to come up with a solution for homelessness that works in both Spokane, Washington and Coral Gables, Florida. They're very different populations with very different needs. It's great that Iceland has been able to reduce youth drug use but it's not applicable to the wider world except in limited circumstances.
Another "I'm a Swede and I hate my country" poster. I'm also Swedish so I know what you write is 100% bullshit and parroted from a bunch of right-wing sites.

The reason why not everyone is offered testing is because healthcare is very accessible and free in Sweden (like it is in Denmark, Norway, and Germany too) meaning that you can't offer it to everyone who wants it. Because if you did, you would have to pointlessly test a million hypochondriacs with symptoms that have nothing to do with corona just for the sake of it.

For one view on how well countries handle the epidemic, look at the fatality rate. US: 49/2195 = 2.2%, Germany: 5/3062 = 0.16%, Sweden: 2/867 = 0.23%, Norway: 1/996 = 0.10%, Frane: 79/3667 = 2.2%.
Rapsberry Pi eBook
>> There is a much more effective way to prevent people from buying more than they need... limit sales to x items per buyer, or rationing. The only thing rising costs ensure is that people without money don't get anything.

> It's not so simple. What do you say to the family with seven kids who also has grandma and grandpa living at home? Do they get only one bottle of sanitizer the same as the college student?

It is that simple. People who legitimately need the item have the time to come back later for more, but price gougers don't have that time and need to clean the store's inventory efficiently in a short time.
Here in America what I’ve observed is that most people are overconfident, or just lazy, with regards to the coronavirus. Even though the epicenter of US outbreaks is here in Seattle, many are going about business as usual - attending dinner parties, going skiing, traveling, or whatever else. It’s even worse when I speak to friends in other parts of the country, where there they are exercising no caution whatsoever except when forced to (by businesses closing responsibly or by local governmental action). The mortality rate and R0, along with asymptomatic qualities for many incubating humans, are causing people to not take it seriously even though we have all the information access to know better. I’ve seen coworkers and friends ridicule others for overreacting only to realize weeks later (when it is probably too late) that this is a very serious situation.

I am not sure what the solution is, or what the problem even is. The easy answer is that most people lack intelligence. Maybe a more generous answer is that most people are bad at evaluating anything beyond the short-term. But my gut tells me this is a cultural and social problem, rather than one cause by a lack of (innate/biological) intellectual capability or access to information. But if complacency can be so ubiquitous then how can a democracy hope to function, knowing the same crowds wield votes? I don’t have the answers, just thinking out loud.
it's not illogical at all

If everyone else is likely to 'stock up' and therefore cause shortages, the only logical thing to do is also 'stock up', before there are shortages and you can't get things you need.
For #3, it’s because the contract for making the official test for the US is going to be awarded to a friend of someone in the committee, and they have to wait for said friend to have tests ready.
> I don't think the author has ever debugged a complex semantic/logic state bug, maybe even across multiple components or systems.

That includes rare conditions where you have to backtrack from error to root cause based on information already in the log. I worked for years on data replication and got into the habit of logging anything that might affect data integrity at INFO level to ensure it would be available to guide debugging.

Simple examples: where did you read config values from on startup? Log the file name including the full path. Rebooting?
Log all steps in the boot sequence in detail. Retries of calls to remote components? Log that too--put in a counter to log every N failures so you don't flood the log. Transaction aborts? Log them as well using the same counter method. Extra credit: Use ring buffers to dump current transaction state on fatal errors.

If things are OK the log is fairly small.

This kind of logging is essential in transaction processing systems. You can't log every transaction because (at least in my case) there were billions of them. But you should log everything that gives insight into whether the system is meeting preconditions for safety and liveness. If you need more info you can turn on traces but this will at least give you an idea where [not] to look.
And keep in mind that both of these are Austrian/libertarian takes on things - with important insights, no doubt, but then balance it with some more conventional and maybe even some left accounts.
Europe has given us many positive changes in online regulation, but the cookie warning is not among the positive.

Please, can we get rid of cookie warning? If we we want to do something, let's regulate the path browser makers are already pursuing on third party cookies.
Um, no, you can't use Python to infer that "EOF (as seen in C programs) is not a character".

The exception even tells you that "chr() arg not in range(0x110000)" which has nothing to do with range of C's character types.
For bread that isn't sliced thick, I've found that it thaws remarkably fast. 10-15 minutes on a paper towel on the counter is enough.
Price isn't just the cost of buying something, it's the reward for producing it. If we see too many price gouging laws, then you can expect shortages as companies find themselves unable to justify extreme measures that would otherwise increase production (at great expense). Secondly, I would expect that localities with price gouging laws will discover that their goods are being re-routed to other places without those laws, exacerbating shortages further.
Looks like what I learned in scouts, vis. lashing a rope end.
Does this include VBA, virtual basic for applications?
If so, what would Microsoft's preferred alternative be ?
Ask HN: Are Viruses Alive?
I keep seeing advise to wash hands and use hand sanitizer to kill viruses but are they alive? Original sources would help in the responses.
I think the undertone of the reaction actually varies a lot. Some people are dismissive, but I think a lot of people find it frustrating because the approaches and solutions that work when a group the size of a small American city has full national sovereignty are generally not workable in the many-layered federal system with city, state, and federal jurisdictions each many times larger.

Many people (Americans included) also fail to recognize that the majority of governance happens at the city and county level, then the state, then the least at the federal level.

So if you have a situation where a policy only works if “everyone does it,” that’s basically impossible in the US. Individual cities can (and do) act on all sorts of lessons learned from around the world, especially including the Nordic countries, and point to them as inspiration all the time. But just because an Austin or a Seattle wants to copy what was done elsewhere does not mean they can: it may conflict with state or federal law they cannot change, or it may be unworkable when half the population of their economic area is distributed among dozens of small and entirely independent suburban governments.

So in short, yes some Americans are dismissive of things that “worked in Iceland,” but I think most Americans are merely jaded that it’s much easier to accomplish significant change in city states and small countries, particularly with more homogeneous populations. It’s nothing against Iceland or any other country, except perhaps fatigue at people from those places wagging their fingers at America and saying how easy things are in a place completely unlike this one.
It's a fairly sold heuristic for the average politician.
My bet is that heated lemon-honey concoction gramma made.
The main pragmatic problem with anti-gouging laws (or even just anti-gouging policies within retailers) is that when manufacture and distribution are not supported on the back end to keep up, it leads to shortages (as can be seen at most grocers in the U.S. and Canada right now). My local Wal Mart closed yesterday because they were cleaned out.
This isn't Spanish Flu—there's no cytokine storm with COVID-19.

That's why the deaths are almost entirely the very old and immunocompromised.
If we can use data related to Human Coronavirus strains (HCov), which are responsible for many colds, then not that much different.

Of course, SARS-CoV-2 could be different. For SARS-CoV and MERS-CoV, there was no data on this.
>I am very much against it since it's a very illogical thing to do.

OP I wish you to never experience a natural disaster. This is nothing compared to those.
It's not "just". Cancer isn't purely random on its own authority. It has causes.

Variance could be due variation in environment, pollution, personal habits, quality of record keeping, and many other meaningful or spurious causes. Outliers and 95%iles are worth studying, not merely writing off.

Iceland's models might not work for larger countries due to size difference, and might not work for other cities due to differences in sovereignty structure, but it's worth investigating.
Yes, that is an an argument. It's just not terribly convincing if you don't already subscribe to the idea that markets are always right, externalities be damned.