skysight-inc/HackerNews huggingface dataset:
> How does that work for stateful services like S3? Should they just delete the data?

Intuitively, if you're capping out your S3 storage, the hard cutoff should look like "don't allow me to store any additional data".

If you're capping out retrieval, then "don't serve the data any more".
For a more prosaic use of code to help people understand, I once wrote a quick simulation to help get it into the intuitions of my students: https://paul-gowder.com/montyhall/
Banks in the UK got the government to freeze the regular housing market.

Banks will only lend at greater than 40% deposit, because that's how much they feel the market might fall.

Not a strong recovery signal in that sector.
Seems like governments should be funding Khan Academy during this period, since they are effectively replacing regular public education.
There's a real lack of humility among our industry, especially in the AI space.

Literally you can google "AI solves world peace" or "AI solves COVID-19" and you'll hit an article.

We also call ourselves ninjas when most of us are just building hugely complex infrastructure behind what is ultimately just a CRUD website.
Demand for oil drops, prices fall, stocks pile up, production scales down. There is nothing broken here. This is exactly how a market-based economy works.
I appreciate having my face rubbed in the fact that while I risk my life and carry on as normal a large proportion of my countries population is getting a sabbatical funded by the government. Thank you.

Apocalypse porn with a token paragraph about some people having a hard time. Please if you are having a great time right now you owe it to yourself and all of those who aren't to be productive. Whether that's helping the vulnerable, teaching your kids, teaching yourself new skills and so on. Trust me you will wish you had done this in 6 months when you are asked in a multitude of scenarios what you did during the covid outbreak.
Memory leaks are not the only kind of leak I had to deal with in my career. I think one the worst I have stumbled upon is a network connexion leak in a database connexion pool.
I am not able to create an URL. Is it down?
Ask HN: What is the USB WiFi ADAPTER needs for?
You can't have a free market when there is a monopolistic producer
> Also, an artist's constraints are often self-prescribed, and they can easily change them if they like.

the most amazing art (both graphics and music) i have seen on computer were from atari, amiga, & c64 demosceners. these artists had real software and hardware contraints.

i like what you said about it being a spectrum though. i think it's hard to tell when engineering becomes art and art becomes engineering. but one can easily spot pure (for its own sake) engineering or pure art.
Oh that buggy mess got merged huh.
Please stop constantly complaining about something.

They can protect themselves.

There's also no one forcing them to do what they chose to do.
I forget that many of the people and projects that get mentioned here are here as well. Thanks for a deeper viewpoint!

I'll definitely put Chapel on my curious list.
That's why you have the Lambda there to scale it down. You don't need to sit there.
InGym – Monetize your fitness content for free
I am getting kicked out of my rental by my landlord and looking for a new place is really depressing at the moment.
Yes, this happens, mostly between private landlords (of which Germany has a lot) and tenants of (seemingly or actually) limited legal competence (because private tenants are in fact relatively well-protected by law except for some gaping loopholes ("Eigenbedarf" being the most-exploited one), but of course accessing that protection often means they have to go to court first, which is a considerable financial and cognitive bar not everyone is able to jump over). I am not sure if it's more often than in other European countries, because I refuse to believe it doesn't happen there as well. You have a large difference in power, it gets exploited, one way or the other way round.
Other corona viruses are said to survive for two years in the freezer.
New Conjecture in the Theory of Computation and the P vs. NP Problem
Yes it will, the virus doesn't survive long outside the body, it may not be the best way as it can survive more than 24 hours in some surfaces, but it is way better than nothing. Note that spraying them with alcohol is also recommended.
What about it? The computer animated intro to it?
That lack of humility also exists in other industries. You can Google "healthcare saves lives" and hit many articles
The flip side of that is over counting. I have read (but do not have source handy) that Italy may be over stating the death toll by lumping any death of a covid positive patient into 'covid deaths'. So if you die of a heart attack and are covid positive, its a covid death, even if you were not seriously ill with significant covid type issues (ie, respiratory).
If you're just looking at VMs you'd probably be better off with something like linode or digital ocean, and get flat monthly fees.

Though amongst those service-types, I can't really recommend beyond the fact that linode & DO didn't give me any headaches for the one month I used them
The authors of the paper, at the top of the first page, seem to have been (sloppily) redacted.

In my (admittedly very limited) experience, I've never seen an academic paper whose authors have been redacted like this. So, they are:

Zhe Chen, Chuang Wang, Guanwen Li, Zhe Lou, Sheng Jiang

Huawei Technologies Co., Ltd.

{chenzhe17, wangchuang, liguanwen, zhe.lou, jiangsheng}@huawei.com

---

Alex Galis

University College London

a.galis@ucl.ac.uk
My wife is already talking about moving out of the city to get a bit of space and it's only been two weeks indoors for us. Anecdotal, of course, I think the desire to be away from others is going to persist a while.
Top business news amid coronavirus: Layoffs, stimulus bill, restructuring – Bus
Hi, I'm happy to try to help. At its most basic, don't copy paste your code into the notebook! And don't import your code like this `from mymodule import myfunction`. Instead import it like this:

import mymodule

mymodule.myfunction()

That allows you to do this to reload your module and pick up the updates to myfunction that you've made:

from importlib import reload
reload(mymodule)

However, how do you ensure that python can find your code so that `import mymodule` even works? Don't mess about with PYTHONPATH and sys.path. What you really want to do is house your work in its own python package. So, the milestones you want to get to are (not implying you don't already do these things!):

- Always use a virtualenv when working with python

- Create proper package structure for your python project. This means your directory structure will look like this

myproject/myproject/__init__.py
myproject/myproject/mymodule.py
myproject/setup.py

- Google for how to create a minimal setup.py. Just put what you need in there, it's not much.

- Now, with your virtualenv activated, so that `which pip` resolves to `myvirtualenv/bin/pip`, do this:

cd myproject
pip install -e .

- That pip command will execute your setup.py and "install" your library into the virtualenv. But it will install it in such a way that you can edit the code and the edits will be picked up by the installed version (it uses symlinks).

- Now install jupyter in that same virtualenv and start your notebook. You should now be able to do `from myproject import mymodule` and `reload(mymodule)`. And your project is now a real python library so you can create subdirectories, etc e.g. `from myproject/plots import create_boxplot`.
None of that detail came across in the post i replied to. Yes, given that extra information, i would rescind about 95 percent of my snark.
> In what way?

The lenses aren't good enough to resolve details on the new "full frame" 50+ megapixels sensors. The smaller the sensor the more the lens has to resolve. a 4x5" sheet of film is ridiculously big compared to a "full frame" sensor, hence the lens aren't as stressed [0]

> Smartphone sensors have the highest pixel density and they can still resolve an amazing amount of detail through their not-so-great tiny lenses.

No they don't, there are many algorithm tricks to make you think it resolves more details but when you look closely there isn't any details, look at these 64mp samples [1] [2] [3] [4], they don't even look like pictures anymore.

> Not exactly because larger sensors mean larger lenses because of the larger image circle ... larger amount of glass

LF lenses are much simpler than regular lenses, they don't need floating elements, they're not zooms, they don't even need moving parts because you focus through the bellow. There is more glass if you look at the weight, but less glass in term of groups/elements. If anything they're smaller than new "full frame" lenses [5], they only get big if you want something faster than f5.6-4

This is what LF gives you: http://www.drumscanning.co.uk/wp-content/uploads/2015/09/vel... or https://youtu.be/sqN7n9bXgtU?t=288

[0] https://www.quinnimages.com/wp-content/uploads/2017/07/sizec...

[1] https://cdn57.androidauthority.net/wp-content/uploads/2019/0...

[2] https://cdn57.androidauthority.net/wp-content/uploads/2019/0...

[3] https://cdn57.androidauthority.net/wp-content/uploads/2019/0...

[4] https://cdn57.androidauthority.net/wp-content/uploads/2019/0...

[5] https://galerie-photo.com/manuels/nikkor-lenses-for-large-fo...
Sure but making it 99/100 just increased your odds significantly from 2/3.
My tools are going Rusty
By extension (and legitimate curiosity), who _isn't_ solving an actual problem in his day job?

I can think of many classes of artists, but cannot put a blank statement for _all_ of them.
The alert automatically calls a Lambda function which turns off all your services.
Another PiHole pro is that it can work for every device in your house (if you set it up that way).
I don't really see why book recommendations can't just be "books you enjoy".

But if you're specifically looking for "books that affect your outlook on life", you might try reading through Peanuts. It's a comic strip, but there's a lot going on in there.
Gab will soon get enough traffic to make it a top 10 player in social media
I guess the implication is that the exact approach you were originally taking in the in-person version of the festival, wouldn’t have been allowed by the IP authors if you’d have asked them.

Which is a great reason to just boycott their works, get every piano school to stop using them, and thus starve them of all royalties.
I’m not advocating for the post or anything else, I was just clarifying a misunderstanding.
This is correct, but based on specific assumptions. If the host flipped a coin and selected a door and 1/Nth of the time it had the car then you switching would not change your odds.

Similarly, an adversarial host who sometimes opens a door and sometimes just shows you your choice can similarly mess with the odds.

It’s really due to the host both being forced to show a door and knowing which door to choose that you gain from leveraging that knowledge.
If he thinks other people should donate a whole bunch of money, shouldn't he donate a whole bunch of money if he has it? Maybe he already does this, I don't know. If he took a lower salary he would effectively be doing this -- in a publicly verifiable way. It's a matter of "skin in the game".
> Maybe I just have an aversion to a bunch of unknown people touching all my stuff, pandemic or not.

I don't know if this will help or hurt, but by the time you pick it up off the shelf it's been handled by plenty of people.
A stencil machine. We used it to print the school newspaper. Just by writing this I can smell it.
>Some countries test post-mortem (Italy) others don't (Germany).

It's true and misleading at the same time. True: Germany doesn't do post-mortem tests on people not tested before. But at the same time, everyone who dies and has a SARS2-infection is counted as a COVID-death, whether or not they died from the infection.
I'm assuming that if I leave a slot available, there is a higher chance that someone who is sick or vulnerable will get the slot they need. Maybe you're suggesting that all the slots will be taken by 20 programmers who write bots. Even in that case, I can't see how my behaviour doesn't help the chances of that vulnerable person.
The Glass Bead Game by Herman Hesse, it probably one of the easiest Nobel Literature winners to read.
> I am not sure if it's more often than in other European countries, because I refuse to believe it doesn't happen there as well. You have a large difference in power, it gets exploited, one way or the other way round.

Imagine that in places in Czechia and Poland where I was renting long term, the landlords were returning the full deposit in cash, in exchange for the apartment keys.
Physiologically, no, we don't. Psychologically? I think there will be issues. For your sports example, there is definitely a primal need being fulfilled, otherwise athletic competitions would not have existed in ancient times. It's true that many industries aren't essential to life. That doesn't mean they're not essential to wellbeing.
On reflection, I'm not even sure that the notebook is that much of an advantage over shell-based ipython for archiving the commands. One problem is with a notebook, you have less idea what you've actually executed: you just have a bunch of code sitting in cells in a web app. Whereas the shell UX is extremely simple/linear: if a command is in ipython history, then you executed it.
This classification of applications as CRUD or not CRUD is not helpful. It‘s like thinking about software as just IO or as just some sort of transformation or even as just some sort of function. It says nothing about the complexity and very little about the structure of the problem at hand.
Mystery of Ferrera Erbognone: residents all appear to be immune to coronavirus
> “Lots of distributions give you straight-ish lines on a log-log plot”

I agree. I don't remember the last time I've seen a log-log plot that doesn't look linear. I've never found a lot of use in them for actually illuminating much.
So basically it says don’t give people random drugs where there is no evedence base for that drug’s effectiveness. So in other words telling them to practice medicine.
Oh okay, I misunderstood.
I'm unclear how that's supposed to work. Oil goes below $30 for an extended period of time. So long that all the shale producers go bust. So long that no one buys up all those assets but instead just lets them go fallow.

After all that time Saudia Arabia now lets the price rise. How much time will it be over $30 before the shale producers start up again? Will it really pay off compared to the amount of time they had to spend with it under $30? And say they keep it _just_ over $30 - just how much over $30 can they go and for how long?

It seems like in the long run you'd better be prepared to keep it not much over $30 if you want to keep the shale producers out for good. That the idea of "put them out of business and then double the price" won't really work in a practical manner.

I'm failing to think of an example where this did work. Diamonds? I thought that the producers either bought or colluded to create an effective monopoly. That would be like S.A. just buying producers. That doesn't seem practical but who knows -maybe it is.
Seriously? Your argument is that we should get rid of things that aren’t essential to life? And you include gyms in that list? I wonder how you view human well-being, leisure activities, hobbies, and activities that may have secondary benefits (e.g. Formula 1’s impact on the automotive industry).
Saudis suspected of phone spying campaign in US
It depends on the region, but the energy sector is one of the major global employers, and one of the best and biggest sources of quality blue collar jobs (with benefits etc) when energy prices are high. That’s one of the reasons oil and gas is so politically favored.
The USA did this for electricity. It is mind boggling it hasn't been done for internet access.

https://en.wikipedia.org/wiki/Rural_Electrification_Act
Nice tool. Pretty popular at my workplace.
Mimeograph.
Yes for retrieval. Just don't serve it.

But if the data is stored, the clock keeps ticking until you delete it. If I have a TB of data stored, and I hit my $1K (or whatever limit) on April 15, the only way that I don't get hit with a >$1K bill for the month is if AWS deletes anything I have stored on the service. (Or at least holds it hostage until I pay up for the overage.)
"However shale oil requires constant drilling because production rises then falls very quickly"

You seem to interpret this as a problem. However, I've read many times that it's basically a solution, because what it means is that production is responsive to demand in a far shorter timeframe than conventional oil. On top of that, supposedly you can drill a well and not complete it until a price war is over.

So I'm not sure why you think "non conventional oil industry is [doomed] to go bankrupt" when not only do people in the industry say it is relatively easy and cheap to put resources on hold, but obviously the sources of conventional cheap oil tried their best to kill the newcomers and failed, only a few years ago. According to both theory and recent history, your prediction doesn't make sense to me.

However, I have no experience whatsoever in the industry, so maybe you have some expertise?
The daughters bell have unintentionally saved us from some of the coastie live-in-the-pod, eat-the-bugs, take-the-tranny-hormones psychological warfare that they wage upon us.

Silver linings are everywhere. Long live the copy machine!
Cryptonomicon got me interested in programming and engineering when I was young.
If the author comes along, are there any plans to support FastMail for those of us who don’t use Gmail? I’d be willing to pay a bounty.
The crux of the article: "The answer is simple, if not exactly satisfying: when enough of the population—possibly 60 or 80 percent of people—is resistant to COVID-19"

But then in the next paragraph nonchalantly says "though we don’t yet know if recovering from the disease confers any immunity at all"

I'm not sure sure how articles like these get published.
Great response - Thank you. Seems I misunderstood the question.
What's with that captcha?

Tried twice, couldn't solve it.

If you're trying to sell something, make it easy to get my money.
Instead you have to deal with the myriad of optimization flags, optimizations that take advantage of UB and change between versions regarding C and C++ compilers, inlines being dropped because a bug correction made the function body bigger than the allowed threshold,...
I love the different names for various types of oil: sweet, sour, light, etc. As if it was edible.

Description of the names:

https://en.m.wikipedia.org/wiki/Sweet_crude_oil

https://www.thebalance.com/the-basics-of-crude-oil-classific...
-NextDNS is a product with a free tier. It will always be limited in that sense.

+Pihole is free and open. It is also yours to build,manage,customize as you please.

-NextDNS is also further away, meaning there will be much more latency for all your DNS queries. It is usually best to run your own resolver, or have a local DNS server in your network.

+Pihole sits on a device on your network. You can also enable recursion directly on the pihole by installing Unbound on the same device.
Could someone who purchased the early release say how any chapters are currently available? Usually Nostarch bolds the the currently available chapters in the table of contents and this looks like all of them.
Do you think there is "a gene" for being an asshole on the internet? Is there an instruction, or a group of instructions, responsible for a computer game being terrible? Can we learn anything useful from the THERAC-25 disaster by studying which instructions were linked to it in order to stop using software that has those instructions?

Talking about separating the noise or environmental influence is "not even wrong".
Right, fair enough. Especially helpful to have that iterative feedback with plots. I guess I'm just saying, have a workflow for moving that code into a version-controlled python package as you get happy with it. (I've given some instructions on how to work with your own python packages in a notebook in anothetr comment in this subthread). Now that I've fully embraced my notebookless workflow I've been using the following for plots in a traditional ipython shell:

import matplotlib
matplotlib.use("Qt5Agg")

But yes, even I might start up a notebook to iteratively refine a plot! And the HTML table output for dataframes is perfect also.
I really hate that one just isn't able to provide a basic -S or similar switch.
That's because Canadian oil is way cheaper than the 2 benchmark crude grades right now! Western Canadian Select is at 7.2$ a barrel compared to 21$/barrel for the WTI. In fact, the oil itself is probably worth 0 (or less) since some sand oil producers are literally paying to get rid of their crude.

It's hard to sell even sweet oils right now, so heavy blends that have little access to international markets like the Western Select are especially hurt by this enormous supply glut.
German minister kills himself over 'coronavirus crisis worries'
I have more requests than the workday can handle, so they pile up and they are all "urgent". I just to the request for who nags me the most, which are probably the ones that are actually urgent.

The rule is if you want something done you must ask at least 3 times.

Or if someone calls me on the phone, then it's probably urgent.
It's all about the clicks. Nobody proof-reads anything anymore.
Make enough predictions and one is bound to land. It's not even the first coronavirus outbreak "around 2020."

https://en.wikipedia.org/wiki/Coronavirus#Outbreaks_of_coron...
Actually, if the OP is asking a question like that, they should stay far, far away from the market. It is not a game for newbies.
While you're at it, the Dept of Energy has some amazing in-depth history e-books covering nuclear technology from weapons to submarines to space reactors to power reactors.

https://www.energy.gov/management/office-management/operatio...
So? Should we price everything according to developing countries? Then only those living there could produce things.
I think it’s more a side-effect of the Russia pricing fight than the goal itself.

If the price drops and shale producers don’t have the capital to whether the storm then they don’t have much of a choice. Sure later they could come back when prices are high again, but in practice that’s probably hard and takes time.
If I understand it right, in a “perfect universe” if every person was able to stay home for 14 days and also perfectly avoided infecting anyone then the virus would effectively have died off. The 14 day’s might not be the exact time required but it illustrates a concept. We of course can’t uphold that perfect universe. So we’re stuck using that technique to slow it’s roll enough that it won’t overwhelm and kill like 3% of 7 billion people in addition to the usual attrition rate.
In that case also invest in beachfront properties in northern russia and Antarctica. The weather there will be awesome
“It’s only when the tide goes out that you find out who has been swimming naked.” -Warren Buffett
Yeah but the thread is about types, not generic types specifically.

Also it’s not really true that genetics are erased. There’s that horrible thing javac does so that the VM can support reflection for generics. I get your point though.
Or at very least improve browser developer tools to give us what Lisp compilers have been doing the last half century.

Why should we need to hand compile special versions of JavaScript VMs, just to get (decompile ....)?
Covid-19: Why We Should All Wear Masks – There Is New Scientific Rationale
Do you think PiHole addresses the downsides with their v5 release (now in beta)?