skysight-inc/HackerNews huggingface dataset:
> That is also true if you attach the method to the class (C.foo = B.foo); you can call it like a method, but super() still checks the type and will complain.

You're right. Here's some example Python code:

>>> class A:
... def foo(self):
... print('A.foo')
>>> class B(A):
... def foo(self):
... super().foo()
... print('B.foo')
>>> b = B()
>>> b.foo()
A.foo
B.foo

>>> class C:
... def foo(self):
... print('C.foo')
>>> class D(C):
... def foo(self):
... super().foo()
... print('D.foo')
>>> d = D()
>>> d.foo()
C.foo
D.foo

Now, if I do `D.foo = B.foo` and call `d.foo()`, I do indeed get a "TypeError: super(type, obj): obj must be an instance or subtype of type". That's better than getting `A.foo B.foo`, as happens in JavaScript.

However, if `super` were truly dynamic, I would have expected to get `C.foo B.foo`.
Consume ANY HTTP service from Laravel: The good way
If I'm allowed to innovate here: Howabout a DNS server only for Protocols?

since the list is short atm the broser or OS can periodically download the index and register each known protocol to a dummy handler that simply displays what one can do with it.

Monetization (if needed) can be done by auctioning commercial slots in the list. (Marking clearly which are free and open source and which are commercial efforts to support that protocol.) Each entry can have an explainatory link to a world wide web document, pfd, text file, DOCX, XLSX, PPTX, etc (go nuts) explaining these new and exiting times.

Ideally the software to work with the protocol can also be installed from or by the dummy at whim. If multiple [say] video:// handlers are installed the dummy can be configured to pick a default or present a menu every time thereafter.

Then we can end the days of circular finger pointing where not explaining a protocol is always someone else's fault and we silently agree to have error pages (or worse search results) if one tries to open a link like ipfs:// gopher:// news:// nntp:// etc

If all members of the collective of IT nerds know exactly what the user is trying to do or what desired behavior looks like we cant be hiding behind "I dunno!?" type error pages. Its just to embarrassing. It is our responsibility to teach grandma how to use magnet uri's if she appertains it.
Very well written.
But this OP_INHERIT instruction isn't for calling methods; it's just for setting up the inheritance relationship.
A "Mini Pro" is what I've been wanting from Apple forever (in tech years). Just a small tower with room for a graphics card and two or three SSD/NVMe drives. I'd be fine with paying Apple's customary 100+% hardware premium for something like that.
> they need to send younger segments of the population back to work

This is the only sensible approach moving forward.

We need to quarantine the very old and very ill and provide them with financial assistance. Quarantining everyone is an overreaction and unsustainable.

When the not-very-old and healthy have built up antibodies and resistance, we'll have heard immunity and the very old or ill can return to normalcy.
If you store a function or reference to a method in a field on an instance in Lox, the function will remember its original `this` binding. That's what Python, C#, Ruby, etc. do and is generally what you want. It's not what JS does because JS doesn't really know what a "method" is, or at least didn't before classes were added.
The virus did not "pass" in China. China managed to get the spread to slow down to a crawl, by implementing a severe total shutdown of everything and keeping that up for some weeks. They are still in the process of removing those brakes again, and as far as I know, they are still at a pretty early point in that process, meaning lots of brake power is still applied.

There is absolutely nothing preventing the virus from resuming to spread as soon as economic and social activity continues to return towards normal level. In fact, most experts expect exactly that to happen, albeit maybe at a bit of a slower speed than before (due to some people being immune and people generally being a bit more cautious in their daily lives now).

Oh, and due to the incubation time, you'll not see any negative effect in testing results from removing the brakes for about 10-12 days. It's the same thing as when they were applied. So what's described above will happen, even though for 10 days you might wonder "What's the deal? The infection numbers still look good!".

This is far from over, in China and anywhere else.
? The circuit breaker are tripped at 7%, 13%, and 20%, it's not a computer randomly deciding to trip them

Everyone knew the last few circuit breakers were going to be hit in the morning because of futures

This morning it was actually surprising that we didn't hit the circuit breaker at open

We actually might have gone the whole day without hitting them too... it went off during Trump's conference when he seemed to go completely off the rails.

A lot of people will recoil to that statement saying it's an oversimplification or attempt to unnecessarily politicize this, but Trump's conferences in the last few weeks have had IMMEDIATE effects on the stock market.
No. Microsoft did not adopt to Github. The first thing microsoft did after acquiring github is forced to login to view commits. I felt like some huge corporation took over the park i daily visit and charged me. It felt terrible.
Yes, but how will you cool it?
The "simplest" gains come from adding an in memory cache, we include Redis for this and some apps work really well just leaving the DB where it is, caching aggressively, and running close to users: https://fly.io/docs/redis/

Read only replicas are a great first step for most applications. I'd probably do caching first, then replicas (which are kind of like caching).

Region specific persistence is one way to improve write latency, and I think the simplest for most apps. We've experimented with CockroachDB for this (it keeps ranges of rows where they're most busy), and you can actually deploy MongoDB this way.
I haven't tried since I don't have a USB-C iPad yet, but I would expect that if they mount as a standard FAT filesystem that you should be able to just plug it in and copy the files. You wouldn't need a new camera, just an $8 cable like this one:

https://www.amazon.com/dp/B00UUBS0SS

Or if you want to use a card reader, you get one that plugs into a USB-C port and toss it in the bag with the iPad, just like you would with a USB-A card reader and a Surface.

I don't know about the GoPro since I don't have one, but if it's a normal filesystem they ought to show up in the Files app as well.

Since you already have a USB-C MacBook Pro in sounds like either the cable or the reader would work on both devices.

EDIT: slightly outdated from iPadOS Beta 5, but this blog reports that the Files app shows RAW files and can preview them, but doesn't generate thumbnail icons. Not sure whether this is still the case https://numericcitizen.me/2019/08/01/browsing-raw-images-in-...
i have always been made fun of because i have the spray bidet on both toilets in the house. everytime someone stays with us, they always ask what that thing hanging on the toilet is. after i tell them, they laugh, but are curious.

every person who has used the spray bidet has become a convert. there is nothing but praise and apologies all around :)

since toilet paper hording has become a concern for most, lots of my people have been asking me where i got mine and how to hook it up.

who's laughing now ;)

link to bidet: https://www.homedepot.com/p/Brondell-CleanSpa-Luxury-Handhel...

installation video: https://youtu.be/18H1LfR0FEg
Are you aware of the restrictions, if any? I guess there are some.
Thanks, I'll fix those.
Hopefully this reality will also push many companies to decentralize their workforce as much as possible (i.e. remote work) where possible. It has extra benefits such as resilience to crises like these but it'll also help them meet the talent where it's at in the future.
Public broadcasters like BBC and NPR are generally considered reliable and will remain free of paywalls. Same story is made available to the worldwide public without paywall or installation of browser plugin here:

BBC: https://www.bbc.com/news/business-51921922

NPR: https://www.npr.org/2020/03/18/817650272
I once toured a stone ruin site[0] where my grandmother was born. It is now a national park. They were moved out about 80-90 years ago. My oldest uncle who would be going onto 90 was actually born at the site of the ruins. There are signs of iron works there. Iron was mainly used to make arrow tips. I don't remember my gran talking about iron works. I stand to be corrected. Note to ask my dad about this. Anyway the point I am making is how life changes so drastically in a generation let alone a few centuries.

[0] https://en.m.wikipedia.org/wiki/Bumbusi_National_Monument
No, I meant that government bonds today are going down (yield up) while stocks go down. I mentioned the good performance of government bonds YTD as indicative of their normal behavior, i.e. going up (yields down) when stocks go down. I realize now I was phrasing it poorly. Since edited.
Stock Market: Time, Not Timing, Is What Matters
The government buys the airlines after they declare bankruptcy. Sell them to the highest bidder when the market recovers.
We use bidet! Don't need much toilet papers as long as we have water.
In that article, he discusses mounting the machine-specific /etc (and the base root fs implied thereby) via NFS. I recall playing with the design for a small group of diskless of linux worstations (which I never actually built, because there was nothing I actually needed it for, it was just a fun idea). My design didn't mount root via NFS, but rather, each machine was supposed to be entirely stateless, booting from the network with PXE, getting a minimal rootFS and kernel from tftp, and then mounting /usr and /home via NFS.

I don't recall if these boxen were then supposed to act as X-terminals, with only GUI display happening locally, and all execution happening on another box on the network, or if that was its own hey-wouldn't-it-be-cool-to-build-this-useless-but-nifty-thing-I-don't-need kind of project.
The demand generation guide for SaaS
While I see what you mean, Isn't it common even in x86 for other cores to boot before and be involved in start-up of the primary CPU?

While that might be a fair view, I think it deserves further qualification as to not just cause extra confusion.
Is it possible to outsource poorly and loose money on a project? Yes of course, especially if you're making decisions based on cargo cult dogma or company politics.
> We could easily turn the pumps off

Can one? I don't know enough about oil wells to know if that's a simple thing to do. It could very well do permanent damage to the well, in excess of selling negatively for a few months.
Thank you for the link, though I strongly prefer to know full content structure information, i.e, all relevant sections' page numbers. This allows me to assess how much relative attention is given to a particular topic. I believe that a full table of contents should be a mandatory element in visual book previews for all book publishers and sellers (for outlets lacking visual previews, this information could be provided in text format).
> For comparison, the death rate across all age groups of flu is 0.1%. Extrapolating out, a failure to contain the virus will still mean tens of thousands of young healthy people dying in every country.

I’m not sure why you’re comparing the all-age mortality of flu to the age-specific mortality of COVID-19.

The relevant metric would be about 0.02% [1]

1. https://www.cdc.gov/flu/about/burden/2018-2019.html
If you're following HK/China, you know that they are already doing this tracking. Visitors and quarantined people are being required to do this in HK by a number of reports.

https://asia.nikkei.com/Spotlight/Coronavirus/Hong-Kong-tell...

Up until the virus, they were mandating no face covering so their all seeing surveillance camera network could see your face.
Ah, good to know. I'll be slumming it with the 9570 for some time yet, I expect, so I'll probably just pick up a clip-on webcam if it bugs me too much.
Wow, this is a common theme.
I have a 2015 13" macbook which wasn't max specced out and I feel like I'm hurting these days RAM wise and HardDrive wise. I bought a super specced out 2020 XPS 13 2 in 1 because of reservations about the latest macbook pro 13 and I kind of hate it.

I think this is personal taste, but I just don't love the build as much, the trackpad, and ubuntu is acting pretty flaky. The camera and wireless chipsets are not immediately working right.

There just doesn't seem to be a perfect solution.
R/CoronaVirus Bill Gates AMA
+ you are sure your job is secure enough that you won't need the extra cash as cushion before being able to find another job.
> we have no way to stop the spread at the moment.

Sure we do, universal, rapid result testing with isolation and contact tracing of positives. It works fine and is minimally invasive, and preserves the economy. First you get the exponential growth down with a shutdown, then only allow those who are tested to resume activity. If we had done it at the start we wouldn't have ever had exponential growth to begin with.
Really cool work! Would be interesting to fit a logistic as well to see if any case curve flattening can be seen. I plotted the points for Italy and it seems like the growth rate is decreasing.
Worth noting here that the clearer water is not likely due to pollution, but instead the fact that sediment is not being kicked up due to boat traffic.

https://www.cnn.com/travel/article/venice-canals-clear-water...
Lots of people are complaining but to me it shows the market is working - oil goes down because of decreasing demand and I don’t see why it should be otherwise.
The hitch there is that there's not so much an ecosystem for individual Microsoft products as there is a Microsoft ecosystem, where all the products are puzzle pieces that snap into each other. So if you're in that ecosystem and a Microsoft product you're currently using stops being available, there will be a strong gravitational pull drawing you towards other Microsoft products to fill the gap. You can fight that tendency by bringing in non-Microsoft products, but even if they're much better than the MS alternatives, MS people are always going to feel weird about using them. It's like telling them to defy gravity by standing on a chair all day.
Eh, just push all the buttons, what's the worst that's going to happen.. But seriously, I have no idea how it aims but it usually aims quite well.
Show HN: Pytest-monitor for tracking your tests resource consumption over time
Sony goes into detail on PS5’s 5.5GB/s SSD technology
My main client works in the reservoir exploration space in the Oil&Gas industry. I'm prepared for it, but I can tell that I'm going to have to replace a big chunk of income very soon.
They are not lasting forever anymore since sad is soldered one of two ours just died a little after a year.
Looks like the project was started by Sam Altman, Radu Spineanu, Tinnei Pang (YC folks, it seems).

According to https://helpwithcovid.com/projects/1

PSA, the Discord is getting more active: https://discordapp.com/invite/mgupDG
Tangentially related, one of my favorite FreeBSD manual pages: hier(7)

https://www.freebsd.org/cgi/man.cgi?hier(7)
> Meanwhile, the price of property they do own will be going down, depending on how long the crisis lasts.

Could you explain why you think this will happen?
We're being told by the medical establishment, quite angrily, that masks are useless - unless you work in the medical establishment, then they're essential.

Who is right?
If they're censoring it, they're censoring it from their own people as well. My childhood best friend lives in Shanghai and is reporting that things are pretty much back to normal there. Businesses are open again, people are in the streets like normal, etc. This was his report from this morning after we inquired for more information last night.

He says they are not completely relaxed in public, but getting there. They still observe social distancing. But from his understanding, infection rates are way down all around China.
I wonder if Borland's RAID was inspired on Microsoft's, or just the same pun.
I'm not an expert by any means but here is what I've picked up. We essentially have 3 ways out of this:

- It becomes endemic, enough people have had it that it's no longer a huge problem; so long as you ignore the hundreds of thousands who died on the way there.

- We develop and test a vaccine. Great except pressing pause on the entire world for a year or more is a challenge.

- We somehow manage to contain the spread and eliminate it. Some counties seem to have had some success with this technique but we need all countries to do it, at massive economic and social cost.

We don't seem to be holding a particularly attractive hand at the moment.
True. But imagine a more realistic scenario based on the CFR we've seen worldwide. Start with 7B people. Assume 50% get infected because we don't want to do a lockdown. 3.5B infections means 630M multi-week hospitalizations and 70M fatalities worldwide. And the follow-on effects will kill even more since these hospitalization rates will consume all our medical resources, so other illnesses will have higher CFRs as well.

I don't know about you, but avoiding 70m fatalities and over 600M hospitalizations is the optimal choice. Pursuing this choice would be the greatest human calamity, surpassing the destruction of WW2 in terms of lives.
will our broker accounts suddenly disappear?
This seems like a dubious explanation; you can get quite high-quality external webcams that use USB 2.0.

I'd say a more likely (and harder to fix) explanation is that the phone ones can be deeper; laptop ones have to be very slim to fit.
The great plains are large enough to support a ton of ruminant life. I'm not sure there needed to be a collapse in North American human population but it probably didn't hurt. I believe I read somewhere that the longhorn population boomed in Texas during the Civil War. It was afterwards that the cowboy culture really took off thanks to the abundance of free ranging cattle.
Kids at home and my wife and I are BOTH trying to work at home.

Lots of activities and discussions about independent playtime with the kids.

I wear shooting earmuffs to avoid the distractions / noise.

Planning to take the kids for some walks and etc.
Publicly owned doesn’t mean non-profit, it means government ownership. There are plenty of public companies who post profits.

And even if we were to make airline public, wed just be reversing the trend over the last few decades. There is a reason why so many nationalized airline went private, the government kind sucks at running businesses (not always, but often).
FreeBSD Manual Pages: Hier(7)
I was looking at this (2017 13" mbp with 512gb) - they offered me £380 for an 18 month old machine that cost me nearly £1700!

I bought the mac because it was an investment when I got made redundant and to hopefully shift careers.

Sold it for £800 privately (worst loss I've taken on any item), and now think I'd be lucky to get £700 for it as the price plummeted further once the 16" came out as people expect a 14" with a fixed keyboard.

Currently using a mid 2015 15". Better than the 2047 in every way, other than appearance.

They should have offered a lot more than price gouging resale value for it, imo.
This seems like a logical solution to me. It's gonna look funny though, between government owning all the companies and handing out $1000 to all Americans, Trump will be the surprise socialist candidate.
It's a bit of a pivot but still in the same space. Here's a few reasons why we landed on this:

- Our JS apps require customers to write new code to solve problems. That’s a tough sell for companies with existing code they need to make fast.

- The more people used JS apps the more unexpected things they wanted to do. Like tensorflow at the edge, audio and video encoding, game servers, etc. No way we could support any of that without moving down the stack.

- Reimplementing the service worker api was a slog we didn’t want to continue. Deno is fantastic and we’d rather just run those apps than compete with it
Both of those have in-built jet. For the ones who want to fit into existing toilet. Below one would work.

https://images-na.ssl-images-amazon.com/images/I/31MjIwM1JQL...
The previous sentence: "Now features the new Magic Keyboard."

"Refined" is also an adjective that has a definition close to "new and wonderful". It's not just a word to bring out an emotional response to make people feel like buying the thing.
AFAIK, favorites count as upvotes as well.
Economist- Corporate Debt
Can't this just be explained by chemistry and physics?
A normal faucet has two supply lines underneath the sink, and frequently they're flexible. Those can leak and cause a massive flood.

Has that ever happened to you?

In addition, every toilet also has a supply line underneath, running from the wall valve to the bottom of the tank where the fill valve is mounted. Again, these are frequently flexible lines. How is this different than a bidet?
It's time for the bidet and for water filtration systems.

You can use four squares of toilet paper to wipe your butt and then bidet the rest. This is a huge savings on toilet paper.

An under-sink 7 stage reverse osmosis water filtration system cleans water and enriches it with minerals. It is delicious.

With these two systems at home, you've addressed two top hoarding items during a panic.
Because demand for that type of property will fall and the increasing scarcity of cash will make it harder to get loans to buy property.
I don't understand people's fascination with bidets. I don't want to sprinkle my ass with water and have the resulting shit water splashing all over the place.

The argument I've heard people make multiple times is that "if you have mud on your shoes, do you wash them with water or with paper", but that's the wrong analogy. If I had (human) shit on my shoes, I wouldn't do either, I'd throw them away.
As less and less people will want to buy?
My brother is a lorry driver and has traveled through Southern Germany and Norther France these last two days. He told me that there are almost no cars on the roads apart from other lorries and some police/Gendarmerie cars, and the few photos he sent me seemed to corroborate his sayings. I suspect in Italy there are even fewer cars now circulating, and Spain is probably the same.

So you've definitely got a huge demand-side crisis, and coupled with whatever Saudi Arabia and Russia are trying to do (fighting between themselves or fighting between themselves in order to bring down the US shale companies, I'm never quite sure) that means that the only way is down.
They were already drowning in data, and as reported recently, basically no arrests from it in years. It can't detect terrorists -- no Americans, not foreigners, fascist or religious extremists, any better than stuff the FBI was already doing.
This is a good point. One of the things I have to balance with the book is teaching the optimal way to do something without dragging through reader through a large amount of verbose, grungy code. So sometimes (but not too often) I take a simpler approach even if it's not the best one.

With this VM, we have plenty of opcode space left, so it's natural to just add another instruction for inheritance, even if it does mean that the bytecode dispatch loop doesn't fit in the instruction cache quite as well.

I'll think about this some more. I'm very hesitant to make sweeping changes to the chapter (I want nothing more in life than for the book to be done), but this would be a good place to teach readers this fundamental technique of compiling language constructs to runtime function calls.