skysight-inc/HackerNews huggingface dataset:
> Knowing the language alone isn't enough to go to production: Hands-on Scala introduces the reader to the ecosystem of editors, build tools, web frameworks, database libraries, everything necessary to do real work using Scala. You will finish this book having all the necessary building blocks to be productive using Scala in production.

We definitely need more books to include this by default. Kudos!

I only wish a book like this existed for F#! If anyone has any recommendations, I'm all ears
Or fruits that still exist that we don't really know about. There are 3800 different types of potatoes in Peru apparently. Why can we only get like 7?

Also, seems like Asian countries all have their distinct version of aspergillus oryzae that they've domesticated, how many others are there waiting out there to dramatically change the taste of food.
I don't think any conclusion can be made here based on energy expended.
Are there any particular ones that you would recommend?
Red flag 1: Failure to cite relevant literature.

Red flag 2: Data vendor co-author.

1) There are equally credible claims that buyout funds are statistically indistinguishable from portfolios of highly leveraged small-caps + hold to maturity accounting [1].

2) PE studies based on the kind of data they used have major quality issues to overcome: a) NAV is mark to whatever your accountant that you pay says; b) GP's openly admit to using credit lines to time cashflows (and thereby manipulate IRR) [2].

A serious study based on LP nav/cashflow data needs to grapple with these issues. That means a well considered error-in-variables model. If memory serves me right, these authors basically just "back tested" a couple heuristic commitment strategies.

As a referee, I would raise these as serious questions about the work.

[1] https://papers.ssrn.com/sol3/papers.cfm?abstract_id=2639647

[2] https://www.institutionalinvestor.com/article/b1ft12gp9lsv00...
Brazil's Bolsonaro appears in protest calling for military intervention
No mention of the UBI initiatives in Canada https://www.ontario.ca/page/ontario-basic-income-pilot (scrapped by the new Conservative government) and the older https://en.wikipedia.org/wiki/Mincome (also "free money for surfers"? wtf)
Books that are giving me life
Ask HN: Programmer-friendly time zone conversion tool?
Hi there. I am looking for a tool that will convert dates/times from logs on other servers to other time zones (predominantly UTC) so I can marry up log entries etc.

The major sites that convert times that I found on Google require you to fill in a form with multiple drop downs etc. which seems silly when I have the time string on my clipboard, and I am going to want to repeat the operation many times quickly.

Is there a nice tool online or chrome extension etc. that does a good job of this?

If not I might have to scratch my own itch here and build something.
SAP had or has a blind developer at their Walldorf, Germany headquarters. As of 2000, he was using a Braille line.

Perhaps back-end work is easier without vision, in particular databases.

I hope you get to travel a bit whilst you can still see - catch some beautiful memories (nature) while you can... that's what I would do. All the best!
With a sufficiently large key that attack you're proposing is effectively impossible (people would notice the yottabytes or however many you need to pull it off).

Although you still do need to protect against people making false claims.
Hello HN :)

As a consumer I shy away from scanning random QR codes because I don’t know what’s behind them, and as a potential maker of QR codes I found the process kind of tedious, especially if I wanted to share something more than just a link or a phone number or something.

So I made toecodes.com - the domain is literally in the code pattern (toe.codes), so you know what you’re scanning, and you can add images and other information so that it’s more than just a link to a webpage that you may or may not have.
I get the joke, but using a very common phrase and a well known url that's already heavily overloaded seems like a poor choice. Searchability and clarity are important for this kind of thing.
They should only accept infection reports that are signed with a trust chain terminating with an Apple/Google internal CA, and sign keys provided by governments with their root CA.

Alternatively, the system could be configured to connect to the "infected keys server" run by the local government(s), as determined by the countries of the cell network the user connected to in the last 30 days.
The majority of my wife's family also do not work. It has been this way for at least 3 generations and are raising another generation of the same.
> There are no ads on Google News.

This is the ironic part of the policy. You're right about the glut, and there was a glut in print 20 years ago, too. Google's definitely hurt businesses, but it's usually though disintermediating them (think Yelp). Google News and search don't really do that for news--snippets and headlines aren't the same as an article. I find it hard to believe that ABC's brand isn't strong enough for them to pull their content from Google and expect people to go to abc.net.au; I just don't think than can sell enough ads to give the content away.
My impression is, if you compare health care costs across various wealthy countries, it's pretty clear that socialised health care is cheaper than privatised health care. Netherland has universal but privatised healthcare, and has one of the most expensive health care systems in Europe, costing more than half that of the American health care system. And it's not particularly better than the more socialised healthcare systems of the surrounding countries, as far as I can tell.

And the only place in health care where you can have a free market at all, is in elective treatments. Treatments that you can choose not to use when they are too expensive. For everything else, it's your health and possibly your life at stake; you can't really say no to treatment, so you pay whatever it takes, and that's a situation that's easily abused by profit-seeking companies.
This presentation by a blind software engineer at Microsoft has always stuck with me: https://www.youtube.com/watch?v=94swlF55tVc
You say that as if the name has no value. It's an enormously valuable social signal.
But then people need to go out and shop for those things using UBI, for example compete for housing in markets that may offer no affordable housing, but housing subsidies would help resolve that.

If targeted programs can be poorly designed or mismanaged inconsistently, then so could UBI. The whole idea is to thoughtfully design a program. If that is possible, there's no reason we can't thoughtfully design targeted programs, and UBI would still be there in a lesser capacity precisely for those people that would fall through the cracks of those targeted programs.

UBI just feels like a kind of sledgehammer, when a dozen scalpels might perform better. I'll grant that UBI would be superior to the very loose "safety net" of social programs in the US though.

Even with a "strong" UBI program, I still think we'd need other programs as well-- UBI will be far too low for people that suddenly lose a job that pays 5x UBI and need to get by until they find new comparable employment, as an example.
(1) The books you claimed I was cooking were typos (notice they were off by one character each?). I've updated the post to reflect what I intended, so thanks for calling that out.

(2) Let's use our noodle for a sec greedo.

They haven't been attempting to control the spread of COVID, and you're telling me they only have 15,000 cases out of a population of 10,000,000 when the R0 is between 2 and 3? Do you genuinely believe that it's not a lack of proper testing? When Gangelt had a seropositive rate of 15% and Santa Clara has 2-5% previously infected?

That would make the denominator not 15,000 but 200,000-1,500,000 or 0.75% to 0.1% which is again in line with IFR estimates we've been seeing lately. Worse than the flu, certainly, but not devastating.

Frankly, that's probably a conservative denominator.

Second as I explained in a peer post, trying to establish the infection fatality rate of the disease based on its case fatality rate is like trying to figure out how risky skydiving is by setting your denominator at "whoever shows up in hospital with skydiving injuries" and the numerator at "whoever survives" -- it's peak adverse selection bias. Can you imagine the government of Sweden telling the population that 1 in 10 of them will die and them being okay with this plan? haha.

Studies are pinning the infection fatality rate at between 0.25% and 1%, and more often than not in the lower quartile of that band -- and almost all of those deaths are the old and sick who should be isolated and protected.

Further, because so many people don't have symptoms and it's so contagious, and the vaccine is at least 12-18 months away, we are all going to get it. Well 70% of us anyways. Sweden is front-loading this burden. Basically none of the numbers are directly comparable, as the minute the US re-opens it'll be playing whack-a-mole with city/state level shutdowns as China is.

Sweden will not.
Agree. compared to the shit-storms politicians are creating in other countries I'm sort of proud of the way our government acted so decisively and unilaterally, and I generally get the feeling they are acting for the good of the people not themselves.

I can already see the cracks appearing as some idiots try to score points or promote their own agendas and the media are happy to give them air time, the "covidcard" or phone tracing app will open another one of those cracks even though like you say the majority would conform
For anyone with an nVidia GPU, at least on my desktop I can just use my integrated Intel GPU while leaving my nVidia 2080 in the slot for Windows.

Works like a charm. Just a simple boot flag required with WhateverGreen.
I've also seen a tendency for people to disregard all of the other social distancing measures now that masks are more common. Squeezing up next to someone to grab a bunch of parsley rather than waiting 5 seconds for them to move on. Tons of face touching from adjusting masks too.
Yes, for IP protection I get why that's interesting. But crucially, it's the vendor's interest. For a hospital or such, the interest is actually opposed to this. They should be looking for secure software that is as open as possible to allow for audit and servicing if needed. So selling DRM as something that somehow makes the customer more secure is BS.
> I'm sorry, but in the real world you have to make predictions in order to make decisions.

I'll overlook the implication that I don't live in the 'real world'. What the statement means is that just because you're fine today you can ease up, because you really don't like the shutdown. You're still standing in an explosives factory, and now propose to shoot off bottle rockets just because nothing bad has happened today.

In the real world, you look at conditions as they are. In this case, those conditions are that the virus is still epidemic and there are none of the preconditions necessary to contain it present in the US, at least, and also in most of Europe.

> assuming you have testing and tracing capacity

Where is it that you are describing, since you are 'in the real world'?

Here in the US there is no where that I am aware of that has sufficient testing and tracing capacity to deal with a 3-week old exponential outbreak.
Ask HN: What would make it easier for you to Build?
As per the Marc Andreessen essay.

And, perhaps other commenters could note possible solutions for those things, assuming they're possible (i.e. not against the laws of physics).
With the disclaimer that I'm only using Google Translate, it appears this document is from one hospital and is not a requirement, merely a guideline / informational document.
I didn't study in the US, but having studied in college faculties staffed by professors who are at the cutting edge of their fields in my country, I can confidently say that the experience was unparalleled vs. my friends who didn't. In my undergrad one of my profs was a "may have been" Nobel prize winner. In my B-school, some of the profs essentially created the government's public policy in some fields. Their perspectives and insights during classes was quite enriching.

So I find your comments quite curious. Nowadays I tell my younger cousins and nephews/neices to research the faculties in colleges they are applying to and look at the quality and impact of their publications.
> there's no way to magically all of a sudden get any long term damages to anything if you don't have them to begin with

Based on what exactly can you claim that?

It's surely not how every non-latent virus works. Every non-latent virus actually destroys whatever cells it enters. (1) (2) If your immune system stop its spread in your body, it still doesn't mean that exactly that virus hasn't permanently destroyed some of your tissues before the immune system had the time to stop the actions of the virus.

1) https://science.howstuffworks.com/life/cellular-microscopic/...

2) https://en.wikipedia.org/wiki/Cytopathic_effect

There are also many observations of SARS-CoV-2 destructiveness of various tissues, not only lungs:

https://www.sciencemag.org/news/2020/04/how-does-coronavirus...

The same article was also on HN: https://news.ycombinator.com/item?id=22915660
My personal pitch for Scala comes down to two things: developer experience and suitability for projects of all scales.

I frequently miss basic features when I'm using other languages. Some of these include:
- Its system for basic immutable data structures.
- Pattern matching for very concisely extracting and branching on data.
- A really nice immutable collections library.
- Scalacheck for generative testing, driven by the type system.
- A bunch of other nice-to-have syntactic features.

From the perspective of building projects, I appreciate that it can model anything from quick utilities to simple web services to concurrent systems, all within a single JVM. And with tools like Akka, you can move that to distributed systems without having to add external software you have to operate.
Apple appears to be headed in the direction of making their own processors for their desktops and laptops, so this Hackintosh business isn't going to last much longer.
I think it has more to do with forcing people in there homes cooped up for weeks on end.
I frequently use part-time people through Upwork. My highest-paid dev makss $125/hr, has no other contracts right now, and works 10 hrs/wk. He spends the rest of his time on his own projects.
The problem with UBI is that we would turn it back into the welfare system we have now.

Let's say we pass a truly universal basic income bill -- every person gets the same amount of money from the government, every month. It wouldn't take long before politicians propose giving more money to teachers and single mothers, or taking benefits away from convicted felons and sex offenders.

Over time, bit by bit, we will entitle certain groups of people to more or less money than others. That will happen for the same reason our existing welfare system is the way it is - the voters believe that some people are more deserving of help than others. UBI would not remain universal, or basic, for very long.

Given that we can't actually end up with a universal or basic income system, and that we will end up largely re-creating the same kinds of entitlements that characterize our current welfare systems, we might as well just improve and extend our current systems.
> Are the people divided about whether it was a good idea to wait until new cases got this low before making decisions about moving forward?

People are generally agreeing that it's a good idea to wait b.c. they also think that there's still the possibility that a new wave of outbreak can happen.

> Or is there very broad support for the kind of discipline it takes to wait until May 5 despite the cases being so low already?

The policy of dropping the 'social distancing' was decided by the KCDC (consistently have less than 30 cases / cases which infection routes are unknown should be less than 5% of all new cases) on April 12th when the count has dropped less than 30 for the first time.

The government is still saying that if a new outbreak happens within the next two weeks, the day might be pushed back. It's still very elastic.

> Have people's opinions about the appropriate level of response become politicized? Have the facts and statistics and science of it all become politicized?

It's only targeting the people of Seoul, but 97% of all people agreed that the 'social distancing' policy should be dropped sometime soon, but 64% also agreed that April 19th was too fast - hence the May 5th decision.
Yes! This never gets any attention, but I can't see why.

We also never talk about the GDPR's general enforcement history.
you won't go down with everyone else when disaster strikes. This creates some feeling of resentment which caused people to lash out at you.

A well known psychologist was castigated a few years back for his likening people to lobsters. Yet here we have a perfect example of people acting like the proverbial lobsters who drag the escaping lobster back into the pot.
Although only maybe half of the people around where I live are wearing masks of any variety, it doesn't hurt to wear a bandana or a buff or whatever when you go into a store. It probably doesn't do much good but it doesn't hurt and isn't any real effort.
Just drop both companies and the recruiter.
You're right about that guy. So I'll be more specific. The model that shows large numbers like 14,400 (not even 100,000) presumes we do NO contact tracing at all (not just slower contact tracing). I'd wager most people would agree that is an unreasonable assumption.
How do you look when you look at someone like they are scum?
> 1) Most top schools offer free tuition if your family income is below a generous threshold (like $150k). If you can get into Stanford and meet this criteria, it's cheaper than your local community college.

This is only a few private schools doing this and they account for well under 1% of all people attending university in the US so not really relevant.

> 2) If you are studying a technical field, even if you are average, a degree has greater ROI than just about anything else. You can pay off your debt in the first few years out of school and continue earning dividends for the rest of your life.

You're still getting a degree. I work/have worked with people who went to MIT, Harvard, Yale, etc. and the degree only mattered for them in the case they wanted to do research or for their first job. Beyond that it has very little value in the job market. The fact that I got to the same place they did without a degree also says something.

tl;dr you're choosing to disagree with good general advice because it doesn't account for 0.02% of americans
With all the issues with tracing apps listed. I can see the systems around the world causing more problems than benefits for the person in the street.

Possibly the concern for many of ending up causing massive issues in their social and work circles. Will mean many simply wrap in tinfoil if indeed they bother to carry at all.

No body wants to be known as the person who sat the otherside of a drywall partition to someone covid 19 positive. Which meant they then basically quartined for two weeks all their work mates in a role which was not WFH compatible and hit them all in the wallet.
I use CST often, and used it for helical resonators, specifically the Eigenmode solver. The latest version should do an eigenmode analysis with open boundaries, which you’d need for coils. My resonator was in a cavity.
More recent articles:

https://www.mercatus.org/bridge/commentary/amidst-techlash-m...

https://www.nytimes.com/2019/09/14/opinion/tech-backlash.htm...

I read a similar one in the last 6 months tying it to politics. One was that Trump is ironically more tech-friendly than Sanders or Warren (~Nov 2019), despite tech workers generally not supporting Trump. The other oddity was that polls don't really show that there's a techlash, so why are Democratic frontrunners making it a talking point?
G and FB could keep removing people from their index until at some point individuals will start asking them to pay them for any content they upload. This tax is just the beginning of this process.
I think you're missing perhaps the biggest camps in the form of the Lightbend ecosystem (very much pragmatic OO/FP hybrid) and the big data ecosystem around Spark. Even though the Lightbend stack also has Java APIs, the Scala APIs are very much their own thing.
There will always be people who don't agree with whatever policy is chosen ofc. Judging by opinion polls Tegnell is actually much less controversial now than he was when the pandemic started here (trust in Folhälsomydigheten rose from 50% in March to 71% in April) [1].

And as is mentioned in [3] the numbers cited by those researchers were not accurate. That doesn't mean that they're automatically wrong, but it's worth keeping in mind.

We'll ofc have to wait a year or two to find out if Sweden's strategy was ultimately a good or a bad one. But if you want to know what's being done and why it's being done then Tegnell is the person to listen to since he's very much at the center of it all.

[1] https://www.aftonbladet.se/nyheter/a/70OzwW/fortroendet-for-...
>> In life, we want to be lazy.

> Therea plenty of evidence that this isn't really all that true

"All that true" doesn't mean anything and is ostensibly misleading, ie false. There are segments of the population (pareto) that try to excel, but they generally do not do it sustainably (burnout). Common terminology...scams, shortcuts, work smarter not harder, are all colloquialisms centered around basic human behavior. Even working in ANY industry, people do everything in their power to either accrue wealth simply and/or make their work easier, without taking on additional work and asking for more compensation for doing more with their time.
The issue is the amount of regulation, of course. Regulatory capture can have worse effects than most market failures, and healthcare is one of the most obviously "captured" sectors.
I'm not totally buying that for the initial surge. Stores were running out of toilet paper a week or two before any kind of orders were issued. All businesses were still open.
Unorthodox suggestion 2: Practice Yoga or exercise (seriously)(not meditation rather physical & breathing). Eat healthy food (not just meat but veggies) .
You are still young & your body can hold a lot more than how you thought it to be & would recover for sure.