skysight-inc/HackerNews huggingface dataset:
At a previous job we did a 'tech experiment' to write a Go REST service. As far as I'm aware it's still in use in a production-level capacity. It used the following:

- gotest

- No DI, but in hindsight this would have been the right thing to do. The dev team is 100% Python, so mocking was more the talk of the office than DI/IoC.

- For routing and HTTP the service used httprouter https://github.com/julienschmidt/httprouter

I think it's a fantastic language, gofmt and gotest are both great utilities, and the short time to create an executable made development turnaround a breeze.

However, I think for the purposes of a simple REST service I would probably use Python/Flask. Less boilerplate and for a Python team, it would have made more sense ...
> a startup built atop of...

...a third-party company that can kill your business at any time (see for example what happened with, twitter, facebook etc).
I'm looking daily at https://www.reddit.com/r/COVID19/ - it's well moderated and current papers and preprints are discussed. There are also often detailled comments explaining why a certain paper might be wrong or interesting. My take-away from reading there for a while is that it's complicated and reading publications and pre-prints is is an art that should not be taken lightly.
I don't understand

I've been messing with trees in C# with EF Core + MSSQL and it correctly maps schema like

Id, Name, ParentId (nullable)

into tree, and then into json
Agency: Forest Service, USDA. Action: Notice of Contract Extensions
I'm not familiar with Paddle versus Stripe, what are (some of) the dealbreakers? And does Stripe not have these same dealbreakers?
There are a lot of baseless claims here. As far as I can see, the authors are just making big claims hoping the readers' prejudices will prevent them from questioning it.

We all yearn for at least some major reform. But this (coronavirus) isn't it. And this definately isn't 101 different major societal changes all wrapped up in one.
Well now every rational investor must reduce the value of YC's brand being attached to a company. If YC only invests in X% of YC companies, there must be some Y% discount to the YC brand as a whole, no?

If there's a 100% chance YC takes their pro rata stake, then the YC brand is more valuable.
Are top performers team players? If you are a top performer who always gets the juicy assignments then that's to the detriment to the growth of other people. But there are only so many top performers in many organizations. Just like when the top performer at high school goes to college and finds they're no better than average there, top performers are some mediocre companies will be put on performance plans at Google.
I know you're joking, but putting everyone on a daily fitness regimen would likely save lives. (Obviously not something we can mandate.)
Also, it was a consultant with that first customer who brought us in, he could see the value despite the rough edges, and was willing to take the risk.
> or Sweden

Please note that the reporting on Sweden from outside Sweden is completely bananas. The idea of how Sweden is handling the pandemic, alongside cherry-picked data, is being used to argue for whatever lockdown theory people seem to have.

The facts though are that Sweden is not an outlier in any way shape or form. Compared to other European countries, Sweden is boringly in the middle of the pack, and showing the same trajectories as every other country. Swedes are working from home, isolating themselves, going out less, traveling less, staying home from school, closing non-essential businesses, and washing their hands just like everyone else.
Even your source says a minority of Americans (even though it again, cherry picks from that study).

The actual statistic is that when asked if they could cover an unexpected 400$ bill - 40% of Americans responded that they would sell something to help pay it OR couldn’t pay it.

Secondly the survey itself admits that it had an, “oversample of individuals with a household income less than $40,000 per year”

https://www.federalreserve.gov/publications/files/2017-repor...
I threw TheLounge on a raspi in the basement and I have persistent message history now. Hit it from any browser, and I have a very Discord-like or Slack-like interface.

Been meaning to check out Convos which looks like it solves much the same problems.
"Grain"... Black Mirror reference? https://en.wikipedia.org/wiki/The_Entire_History_of_You
This was a bioweapon launched against us by the evil Chinese Communist party. We just watched China murder over 145,000 people. We must punish their horrible regime severely!
Coronavirus can survive long exposure to high temperature: paper
Josh here from the Stripe Checkout team. We're actively thinking about VAT-related features for Checkout. We'd love to chat; drop me a note at jackerman@stripe.com
I should have been more clear. I was not required to prove economic hardship by providing financials.

The application makes you certify the following: "Current economic uncertainty makes this loan request necessary to support the ongoing operations of the Applicant."

This is fairly ambiguous language putting most applicants in a defensible position regardless of firm performance over the next 6 months. There was a lot of litigation against lenders during the last QE so banks were more cautious about compliance. However, I was still not asked for tax returns, any financial statements, etc.
If it's in their database, why can it not be in our database? If it is public and it's out there.
I'm liking the live casts from Bret and Heath over at:

https://www.youtube.com/channel/UCi5N_uAqApEUIlg32QzkPlg
Huh? No scientist claims to have ultimate knowledge of why there is life on earth. But to claim that Earth was created for life is leap too far. I mean we used to believe storms where conjured up by the gods because we didn't understand how they really are created. What you are saying is essentially the same. We don't know so it must have been created. You are essentially invoking the God-of-the-gaps fallacy.
Reminds me of Plex
There's AccA (and the command-line ACC) which allow fairly sophisticated control over max voltage and charging rates, with easy profile switching (features depend on kernel/hardware, but works with a lot of stock ROMs). Root is required, unsurprisingly.

https://github.com/MatteCarra/AccA/releases/
Today, large telescope mirrors are finished using ion figuring: neutral atoms are shot at the surface of the mirror blank, for a precision ablation of a few angstroms. This works especially well for hexagonal mirror segments, because you can control the surface shape right to the edge of the mirror. Mechanical figuring (using ceramic or glass blanks) has troubles near the edge.
Using Stripe Checkout (where you create a stripe session on ur server and redirect the client to stripe to complete payment and then listen for a Webhook that says the checkout session was completed) was so amazingly easy to setup and use. My app that uses it will up and running soon, Stripe has been a pleasure to use so far!
I know we're talking about people's lives, but maybe the world needs to see a country get it devastatingly wrong.
Maybe a home machinist can answer this question.

If I'm on a desert island, I know how to make a flat plane via ABC grinding. How do I make a right angle? Do I decide on a measure, grind 12 gauge blocks to the same height and make a 3-4-5 triangle?
As the article says, YC is running out of money. They can’t fund the existing companies at the original levels. Shrinking number of companies helps in the long term, but not in the immediate.
We don't tend to change that much after things like this.

Economic and political forces still end up pushing the same wheels.

Yes this may push some things in the direction they were already going. Like more people working from home. But this is not likely going to fundamentally change the world. Not any more so than the twin towers attack or the 2008 crash. Little changes to a massive system.
>Stripe is an American technology company based in San Francisco, California. Its software allows individuals and businesses to make and receive payments over the Internet.

They're worth how much!? Forgive me but how is this worth that much?
Good luck to all Brazilians. They'll need it.
I used to work for a company that provided "outsourced business process services" to public and private sector clients, and about half the employees were in India, but half not. Last I knew, they weren't making much if any money though. But my point is, yes, everything gets outsourced, but plenty of outsourcing goes to Americans or wherever.
The argument is that the primary driver of recessions is uncertainty. Some businesses fail, as happens even in good times, but people don't want to expand others or start new ones because they're not sure what the world will look like. Something could always come out of left field, but we have reason to be confident about what the world's going to look like between when lockdowns end and when we have vaccines or strong treatments.
To be fair that's a pretty big thing to screw up. I commend Apple for a lot (see my last 3 comments), but I think they cross the line of too-voodoo too frequently. I think they'd do well to dispel more magic.
Yes, from a user perspective I would like more repairable hardware. I also see that developing hardware is hard. These things are complex and any modification could cost thousands of dollars. It's not black and white.

Most user doesn't care about repairability. I don't see a lot of people buy the Fairphone. They complain about John Deere but don't look for alternatives. They always chose the cheaper alternatives.

If we could somehow separate the development cost and the manufacturing cost, we could get super repairable hardware. Just like with OSS. If someone sponsors the development the product is great otherwise commercial software wins.
Yes, I agree. Lots(most?) of channels on freenode are explicitly not publicly logged anywhere, and the freenode staff are pretty helpful at helping chanops enforce this. None of the channels I help run have any public logs available.
I wish the effects were limited to the politicians making the decisions.

Perhaps Boris Johnson's attitude will change a little bit now, for example.
Already happening in Sweden: https://nationalpost.com/news/world/covid-19-as-swedens-deat...
Probably something more like Sweden but then again, our demographics are pretty good. Either way, I'd expect all the potential deaths in a shorter timeframe.

What I really would have preferred is a response more akin to Taiwan's. A lockdown was required because of how lax we were in allowing travellers to return from China and Europe with virtually no screening. Had we simply taken it seriously in January (our government was shockingly nonchalant back then) we could have avoided a lot.
The parallels between the current US and Brazilian administrations are hard to ignore. That said, I really hope Trump and Fauci are able to see this crisis out together. Bolsonaro’s decision today could kill thousands, no doubt.
Amazon’s Alexa gets a new longform speaking style
This Is Why You Hate CSS
Gasoline is a better car than Prius - Convince me otherwise
I think Russia is already setting that example, really no need for two.

https://www.cbc.ca/news/world/covid-19-russia-spike-cases-1....
What if the laptop was hollow where the battery cells are. And what if something that looks similar to the Nokia 5165 battery would be put into this place. The battery would contain the same bag shaped cells.
Here for this comment.

For those who don't know: https://www.youtube.com/watch?v=IMeain2cvBM
I'm surprised that nobody has mentioned that this is exactly how Facebook's API used to work, before the era of the "Graph API". Your FQL queries ran against what appeared to be some sort of stripped-down MySQL instance.

Most documentation seems to have been stripped from the web, but there's still a wikipedia page: https://en.wikipedia.org/wiki/Facebook_Query_Language

I used it. It was okay. I tended to prefer the boring REST api because it was simpler.

From an API provider perspective, I much prefer REST or RPC apis just because it's far easier to get the security and performance implications right. "Less powerful" is a feature.
1) doesn’t say most Americans and doesn’t even cite the full response (nor does it provide context for the question in the survey).

The actual statistic is that when asked if they could cover an unexpected 400$ bill - 40% of Americans in this survey responded that they would sell something to help pay it OR couldn’t pay it. We don’t know how many said they couldn’t and we don’t know why those who said they would sell something said that.

Secondly the survey itself admits that it had an, “oversample of individuals with a household income less than $40,000 per year”

https://www.federalreserve.gov/publications/files/2017-repor...

The same survey also found:

“74 percent of adults said they were either doing okay or living comfortably in 2017“
On the other hand, having the virus at the lab puts the virus within Wuhan. No evidence has been produced that bats (or whatever animal) containing the virus was at the wet market.
What version of bash do you use? I can't seem to get this to work with mine. For me, Alt-. gets the last argument of the penultimate command.

$ echo $BASH_VERSION
5.0.11(1)-release

$ mv foo.txt
mv: missing destination file operand after 'foo.txt'
Try 'mv --help' for more information.

$ mv foo.txt $BASH_VERSION # Alt-. pasted $BASH_VERSION instead of foo.txt
> email does not have an equivalent to TLS

Email does have the equivalent of TLS, its TLS. Send a message to another user in Facebook or whatev over the web and its secured by TLS over the wire, but does not protect from the server reading it. Send a email to user on an email server and its secured by TLS over the wire, but does not protect the server from reading it. Exactly the same thing.
If they do it'll look a heck of a lot like lisp or one of its many flavours.
I was wondering if there was a way to increase the transparency in this process and find a way for donors to support but also get something in return:

1) Can businesses be open about operating expenses and costs? How much do they need to survive the next 1/3/6 months?
2) Can businesses sell futures or pre-sell services? For example, in the examples you provided, could I pre-buy yoga classes for the future or let's say 10 garments for dry cleaning?
Because otherwise it's kind of hard to get system root from a single click in a (somewhat) sandboxed environment.
I must say I never understood why Apple is supposed to be any guarantee of privacy?

If you are technically minded, you can easily flash LineageOS + microg on your phone a use a virtually surveillance-free phone (as far as you can, ignoring stuff like cell tower tracking and opaque baseband, etc).
LiveView is such a game changer for Phoenix (and thus Elixir). From being “just another web framework” (albeit a very nice one), LiveView enables a whole different paradigm for web applications. As a developer, it’s like having superpowers. What would have taken days to build with an SPA or similar “fat client” JavaScript can be done in hours with LiveView.
Network Performance During Covid-19 [pdf]
Besides that, we have proper units for binary multiples

Approximately 0 average users know about them, and of the technical users, only the truly irritatingly pedantic are going to use them (which may be why they've shown up in Linux).
For Linux users, there's TLP.

https://linrunner.de/en/tlp/tlp.html
Honest question: Did we see any anormal mortality in any country caused by the covid-19? Countrywide there seems to be less death than usual on the period January-March in Europe.

Edit: And here goes my karma. I will need to do some PR to catch up with this :)
I think that the reported numbers of deaths place some bounds on the kinds of hypotheses that are tenable, including those suggesting that there is already a protective level of herd immunity, or a vanishingly small death rate. For instance, one early hypothesis was that the virus was endemic in our population for a long time, but that doesn't explain why the death rate shot up suddenly over the past month. And 15000 people dying per week could not have escaped notice, even a month ago.

Many of those hypotheses coincided with claims that the lockdown was unnecessary or excessive.
Moscow and most of the other places in Russia are on a complete lockdown for more than a week now - much stricter that eg. NY or California. I’m not sure what do you mean by your comment.
That reminds me of another headline from last month that was right up the Monty Python alley too: ”Turkmenistan Has Banned Use Of The Word ‘Coronavirus’”

As a friend who’s a standup comedian said in response to reading that: “Brilliant, why didn’t our government think of this? We wouldn’t have all these problems.”

[1] https://www.npr.org/sections/coronavirus-live-updates/2020/0...
Except: The actual statistic is that when asked if they could cover an unexpected 400$ bill - 40% of Americans responded that they would sell something to pay it OR couldn’t pay it

Secondly the survey itself admits that it had an, “oversample of individuals with a household income less than $40,000 per year”

https://www.federalreserve.gov/publications/files/2017-repor...
Yes, PayPass seems to be the go-to method in the physical world, even more so now (they have doubled the limit for non-PIN payments due to COVID-19 recently, so people don't use cash and don't touch the terminals as often), and Blik is winning on-line payments.
The cards reportedly do work on-line, but I have never bothered to activate them. I have a Revolut card now for the odd CC payments with US-based companies, but I hardly ever use it for this purpose. I don't get the security model of CC, to me it's like: "here are all the details you will ever need to charge me an arbitrary amount until the card expires in X years". Any other method I have ever used was 2FA: I had to authorize the transfer of funds from my account to the recipient by some means.
Dow futures surge amid report Gilead drug showing effectiveness treating virus
We are. comparable death rates in the UK are higher.
I wish this b.s. would stop.

Corona virus is so contagious and we're so unprepared that it will continue to spread in the US regardless of what we do.

Yes, thousands will die regardless of what we do.

But there is no way lockdown will continue until people starve. So end this timid lockdown before the total destruction of our economy.

Start thinking about public policy instead of "my dear 80 year-old grandpa in the home."
Quite a few 16" owners have been reporting their battery capacity to be down to 90% already.
Europe's seen abnormally high mortality rates starting at the end of March. Someone sent me this graph, although unfortunately I didn't keep track of the source:

https://lh3.googleusercontent.com/-nq9Tcrho5QQ/XpjnH7DgeRI/A...
I don't understand the Sweden example. Their daily % increase in deaths is well below California. I don't know if there is a difference in counting deaths but Sweden seems to be doing ok relative to other countries. I have heard that they are effectively shut down voluntarily, so government action was not needed but the effect has been the same. Maybe a Swede can weigh in.

https://en.wikipedia.org/wiki/2020_coronavirus_pandemic_in_C...

https://en.m.wikipedia.org/wiki/2020_coronavirus_pandemic_in...
All I've ever heard about the US grid is that it's held together with spit and baling wire and is highly insecure--but that's just anecdotal.

(E.g., the SCAD systems that control various aspects are eminently hackable; a few high-powered rifle rounds fired at a Palo Alto area transformer caused serious problems for days; etc, etc.)

Does anyone have any good references about overall grid reliability and security?
Right, I understand it is not good in the cloud environments, but how exactly would you exploit it on a desktop Linux computer?
It's not that adding additional charge to the battery is difficult. It's that the current has to be tapered off when the battery is near-full so it doesn't go over its rated voltage.
ababababa
I've run out of disgust, all I have left is awe. I wish Obama had had half the balls.
I mean, if you just google "covid death tolls" you'll see 34,386 deaths in USA alone that we know of. Considering a lot of COVID patients don't even get diagnosed the real number is likely higher. Isn't that enough?
One form cue from deadlifts that's very helpful is to "hold the ceiling up with the top of your head" to finish. When a lot of people "stand up straight" they are pushing their sternum forward and arching their upper back. What good posture really is about is taking the force of gravity and distributing it straight down among all your joints, then resisting it with all your muscles.

Your feet are pushing into the floor, your knees are pushing into the tops of your tibias. Hips, ribs, vertebra, head. When you feel the downward pressure on your skeleton it means your muscles are pulling you up. Like a circus tent pole surrounded by guy wires, you're in a perfect balance between tension and compression.

I don't know if there's one weird trick for it. Ice skating helps you develop the feel.
It will be quite the opposite,I think. The Brazilian president had it as well and here's the article about his actions.
Encryption does not do a thing to prevent malware or phishing.

Quite the contrary, it prevents the various middle boxes we have scanning our email from scanning for malware or phishing attempts.

There are signing schemes that could help, but they'd not help much if the mail were encrypted before signing unless you're imagining client implementations wildly different than what we see today.
I think it’s hard to understand for a lot of people. I know it is for me. If you’re cooped up at home, working remotely but basically normally and haven’t really been impacted by things so far other than the inconvenience it’s pretty easy to expect things will just go back to normal. All the local indicators aren’t visible and the news slips into this comfortably surreal space where there is a dream like dissonance between life and the reality outside our own homes.
Dark Mode in GitHub
Pelosi endorses remote voting for US House
> Well, I've read that in some cases, they heavily funded the competition anyway.

This was the case with their investments in ride-sharing companies globally.
Or maybe it was a false positive.
It might be worth getting the notice period (for which I assume you must be paid fully) ticking ASAP.
Bolsonaro has no negotiation skills, and is (frankly) bad at mostly everything, but he's got a good finance minister who's saying that the country just can't stop creating value, but what is the right balance?

Mandetta, the previous health minister, had no flexibility in his views, he wanted to follow the WHO blindly, without weighing anything else.

Maybe the new guy has the flexibility and the brains to find a better balance of views, and to create a strategy on top of it.
'Go check on your car:' Police see spike in auto thefts during stay-home order
Gameplay footage of raytraced Minecraft RTX version
... where are you getting that? See https://www.euromomo.eu/

About the only country significantly under normal is Ireland, which has a youngish population and a fairly effective lockdown.