skysight-inc/HackerNews huggingface dataset:
> This crisis has also proved your assertion wrong - witness the mass buying of perishable foods and toilet paper.

It hasn’t at all. For starters, non-perishable food was absolutely the first to vanish off the shelves. But that aside, buying too much has no detriment at all to the purchaser. The risk that they may not consume all of it is so incredibly minimal compared to what they’re actually worried about. This is only possible because prices are artificially constrained. Most people don’t have to face a considerable opportunity cost when buy way more food than they need.
Its one way the Singapore government is helping the tourism industry. No tourists are allowed in, there are many empty rooms.
Is not a strawman if GIMP changed it's name, this would effect world users. There is a very odd prudishness in the US. Is somewhat the same in the UK, but the US turns that knob full crank.
This sounds like a fun idea, but similar to ehacke I doubt this would be legal. Payment processing is pretty complex and heavily regulated, making this an even harder project.

There are some projects that want to make credit card payments more anonymouse. There are some cryptocurrency credit card providers that have a license to operate, but using cryptocurrencies comes with its very own set of problems.

Another way would be to use privacy.com. They allow you to create multiple credit cards with individual spending limits or ones for single use. So you could have one credit card for your netflix subscription, another one for your Spotify subscription and so one. Unfortunately their service is only available to U.S customers and I couldn't find any alternative for EU customers (if you know of any, please let me know).

I can't try privacy.com myself, but from what I've read an heard, this seems like the most promising option for private credit-card payments.
They use consumer hardware, that's why they are so cheap.
Mods, please add (2012) to the title. I remember when they published it at the time :)
Astro Slide 5G Transformer: most powerful 5G Smartphone and Pocket Computer
>The entropy of the sorted list is 0.96MiB so it is theoretically possible (see https://news.ycombinator.com/item?id=4679756), but I've not seen a good writeup of an actual algorithm.

I reckon the easiest way to actually achieve that bound is to use the combinatoric number system. I've seen people refer to arithmetic encoding but I'm not too sure on the exact details, they're probably encoding the gaps between numbers but then there'll be some loss as those aren't IID, using the exponential distribution does seem to get you below the bound though, even if it is extremely annoying to implement.

For the combinatorial number system you basically need to sum (10^100 + 10^6 choose x + k) for all numbers x where k is the position of x in the (sorted) list. This would have been many times easier if you didn't need to take possible repeated values into account, but it is what it is.

If I'm honest both are complicated enough that I worry they'll be nigh impossible to implement without accidentally using 2MB of RAM.

Edit: Actually, just use Golomb-Rice codes for the gaps, if you pick the parameters right you'll need [d/128]+7 bits (rounded to the nearest integer) for a gap of size d, which is good enough. Since every gap uses a whole number of bits you'll just need to update and insert a few bits to update, rather than basically rewriting the whole thing (although you'll still need to shift the entire tail by a few bits).
I've been soldering on prototypes for work since what, 1984.

Every time I see a cheap ass or busted soldering iron I have the urge to smash it with a hammer and fling into the dumpster where it belongs.
"Lacking" in the sense not capable enough to do complex toolpath backplots.
Though in that example, to be fair, a major point in readability is the quality of the scan. Of course the LaTeX document is nicer, because it's digitally rendered instead of low-resolution scanned from a paper original. ;)

That doesn't make me agree with you any less, though. Some words are just unnaturally wide in monospace.
Postgresql has built in crypt and gen_salt functions which may be good enough for your security requirements.
Nginx Free Resources for Websites Impacted by Covid-19
GCP Transfer Appliance: https://cloud.google.com/transfer-appliance

(I work at Google, don't work on that product.)
there is plenty of CF templates

This by definition is deploying something you don't fully understand. If there's a problem in any of those templates you won't know. You won't really know if they even do what they say they do.

Using one to do something as important as this would be crazy.
An N95 mask doesn't "stop" coronavirus either, that's the 95 part of it.

A bedsheet would absolutely reduce viral load you spread, even at naïve assumption of the size - simply because it's an obstacle that inevitably catches some of particulate and reduces the airflow range.

But coronavirus is spread in suspended aerosol particles 3µm or so in size, which are filtered out even more efficiently by a wide range of materials.
Show HN: A Covid-19 for African countries only
A really nice 'toy' for experimenting with CSS and learning what get affected by what. I would like to see this extended to use the various blend modes. These can be tricky to play with in the browser and really the fun of them needs the interface you have going here.
Interesting, sort of bucket sort using a linked list if I understand correctly. How do you determine the optimal number of bits - 12 for 32bit and 6 for 1e8 = 30bit?
+1 for WLED. They have an Android app that works quite nicely. Apparently WLED also implements ways to sync to systems like Philips Hue and offers alternative interfaces like MQTT. The community is also great and will help you out where they can.
Bot Traffic Analysis – This Backlink Scraper Leads [March 2020]
Blackmail, extortion, protection money...
I have been watching some videos about quantum field theory[1]. Now that I saw this, just got the random idea if there could be some relation between those and cellular automaton.

Particles would be the "cells". Them being live or dead would be result of the interactions of the underlying fields.

[1] https://en.wikipedia.org/wiki/Quantum_field_theory
Variolation May Cut Covid19 Deaths 3-30X
When, how and why you should call Haskell functions from C
Microsoft Processor Groups Offer Path for Scaling Beyond 64-Thread Limitations
Lots of recommendations for the Steelcase Leap here. I’ve not tried it, but I’ve been using a Steelcase Think for about 12 years and have found it to be superlative. Can’t imagine sitting on anything else for an extended period.

Fwiw I have also tried an Aeron - it wasn’t for me at all.
it's point is that it is provokes strong emotions and it's amazing at it.
In my opinion, even if it was invented in some parts, this does not detract from the great power of this book. Apart from this, I have read that some events have been invented and, it is said, but it is not proven, that some events have not happened to the protagonist but to his fellow prisoners. Even if it were true I would still suggest reading this great adventure.
if you follow the guidelines that are repeatedly stressed, your code should never be reading or handling AWS credentials directly. That wouldn’t be an issue.

The access keys would be in your usr directory and all of the SDKs would know how to find them. When running on AWS, the SDKs get the credentials from the instance metadata.
Uh, it's absolutely true. I have entire offices (100s of people) that switched from Webex to MS Teams for better video quality.
Speaking as a European, do USians have access to HÅG chairs, or some of the other brands designed by Peter Opsvik? They definitely allow varied sitting positions and have a very high ergonomic track record.

See for instance:
https://store.flokk.com/global/en-gb/products?type=office%20...
You were already given some nice answers. Mind you, in many countries, a huge chunk of AirBnB stays are domestic not international.
Can’t help but feel we wouldn’t have to go too far back in time to discover people ate whatever they could.

Are you likely to find evidence of fruit having been eaten?
WLED is a quite cool project that works very well on the ESP8266/32. It supports multiple chipsets, has an Android app and multiple ways to control it.

If you plan on actually using it as a lighting source, I'd recommend you buy some LED strips with a dedicated white source since the RGB only white often looks weird on video. Also, if you want a longer strip, get one with 12V instead of 5V.
That visualisation graph is horrific. There's no way someone can look at 1,600 services and say that this is a good idea.
However when you’re programming, you’re looking for structural rather than semantic meaning of words.

The only true meaning of natural text is the meaning given to the words; but the only true meaning of code is the way punctuation is organised around superficial natural texts within the elements.
Ah, no. The cause of Chernobyl is lost to the dead but probably caused by a young engineer who didn't quite do the right thing.

You absolutely must drill for rare, high stakes events. Auto-rotations in helicopters. Mass casualties in hospitals. Reactor scrams. Man overboard on a ship. All these things are drilled because you don't have time to read the book when it actually happens, and it rarely happens.
Comparing SharePoint vs. OneDrive: Complete Overview
No, and I'm not a brain surgeon either, so I suppose I can't claim you aren't qualified to perform brain surgery, using that logic. Better scrub up!

But if you're going to claim the contrary, I take it that you have a wealth of experience administering ventilation.

For the record, I've worked in fields tangential to medicine, including lab research for FDA trials and health tech. I may not be qualified to operate a ventilator, but I'm experienced enough to understand the technical skill gap between a non-invasive procedure and an invasive one. And ventilation falls into the latter category.
Most people aren't 1500 years old ;) Even the invention of the dot-matrix printer is older than most on here (never mind the typewriter).

A fair amount of the older workforce did grow up with typewriters and, later, dot matrix printers (or even teletypes) in their offices. Many on even started their careers using computers that only supported monospaced typefaces. I remember the first time I saw variable width fonts on a VDU (as they used to call "monitors") and it took me a second or two to adjust to typeface because most of my text consumption up to that point had been with fixed with characters.

Or to use an analogy: horse-drawn ploughs might have pre-dated tractors by hundreds of years but that doesn't mean I have more experience with seeing horses ploughing fields than tractors.
You can still burn an awful lot of money with 20 EC2 instances.
Ask HN: Crisis Plan for Entrepreneurs – what to take into consideration?
What should a small business take into consideration when creating a business continuity plan for this crisis?

I am mostly thinking about brick and mortar business but also about SaaS.

I have already a checklist:

1. Emergency management strategy and plans

2. Employees health, safety and motivation

3. Communication (internal and external)

4. Current Assets Management

5. Suppliers and supply chain management

6. Remote work planning and implementation

7. Sales and cash flow risk scenarios and alternatives

8. New business opportunities adapted to current situation

What am I missing? What should be there?

What big areas I am not taking into consideration?
It would help if you could substantiate what you are trying to say, particularly if that substantiation was somehow building on to the foundation that the post you respond to has laid.
In a world full of confusion and cynicism, I'm not surprised. This will only continue unfortunately.
God, I was so annoyed reading WHO statements and people quoting them as an authority when this first started to blow up in China.

The numbers quickly went from dozens to hundreds, and they still tried saying there was no chance of human-to-human transmission (pretty unlikely that they all ate the same food and that a virus with the main symptom being coughing isn't transmitted by coughing) and that it'd all be contained and there was no need to worry.

In this crisis, the WHO has been bending over so far backwards that it's spinning donuts to serve as a political mouthpiece for certain governments. There was panic over people being under-supplied and under-prepared, and one of the main supplies in short supply was masks. Masks aren't perfect, but even if they're reducing transmission by 10% and keeping people from touching their mouth, that's a decent effect.
Go with mandatory error handling enforced by a linter is probably one of the best ways I've seen reduce mistakes. Not all aspects of the language are perfect, but I'm confident it is loads better than exceptions-based approaches with catch-all exceptions and generic error handling strewn everywhere. I imagine this is especially useful from a banking perspective where mistakes can wipe out millions.
React UI library including more than 50
but maybe that's a good thing. In my experience, most people are not flexible in their mindset and so are averse to change their ideas based on changing times. This would create a world like that of Altered Carbon where people at the top just keep accumulating resources and never die and their ideals never change.
This is a common misconception. The virus doesn’t arrive as individual viruses. If it were purely a matter of filtering 100nm particles, a n95 mask wouldn’t be very effective either - the ratings are for particles 0.3um or larger.

Luckily, people don’t generally sneeze out plumes of pure virus. They’re embedded in much larger particles, and even cotton has some benefit: https://smartairfilters.com/en/blog/coronavirus-pollution-ma...
It's embarrassing to write that now but I accidentally left private key for EC2 instance publicly available on GitHub. And I think what happened is that a bot scraped that key and used my resources to mine Bitcoin.
The placement of generators at the base of the containment structures was already a mitigation to another risk: that ground movements common to the area might damage or destroy the generators.

A complex environment is one in which multiple risks constrain options and operations. Generators can be placed neither high nor low without assuming risks or requiring additional mitigations.

If a solution space is a search through a complex multidimensional topology, constraints place bounds on that space.
All Office 365 company customers were also dormant Teams customers. There's a lot of these companies and some non-trivial portion of those have now become active Teams users. That probably drives a big portion of the increased conference traffic at least.
I have a fully-adjustable chair from Office Depot similar to this one for $350:
https://www.officedepot.com/a/products/448575/WorkPro-Quantu...

$450 for separate lumbar support: https://www.officedepot.com/a/products/9518879/WorkPro-12000...
What does genetic similarity have to do with unity? This is the "race" farce packaged into a new and exciting flavour of wrongness, but that doesn't make it any less wrong.
Investor wisdom for startups’ coronavirus pain
Politico continues to throw shade on the treatment, for obvious political reasons. Meanwhile it is the only approved treatment in India, it has been in use for some time in Malaysia, and it is now the standard treatment in Italy. Trials all over the world are showing great results.

Some of that info and more:

https://www.trustnodes.com/2020/03/29/italy-finally-starts-m...
Yamaha FG850 Acoustic Guitar – Unboxing Part 2
I really doubt running ARM64 Linux in VM will be a problem. Most software from repositories should be OK as well.
I switch my theme based on how I’m trying to read. Some themes emphasize comments, others deprioritizes them.
In case anyone thinks they're doing something equivalent by making a screen-256color-italic terminfo with the right keys and making sure your terminal uses that, but is then surprised that it doesn't work, the linked tmux FAQ ie very important:

> As of tmux 2.1, if default-terminal is set to "screen" or matches " screen-* ", tmux will behave like screen and italics will be disabled.

This means that you must use a terminfo name that doesn't start with screen-*.
Great story. Also, a great learning experience. This is what I liked about the old times of the C64 and others, they invited so much for these learning experiences. Good old times :)

But even today, many years later and working as a software developer, my greatest source of innovation are the at the beginning goofy ideas and silly experiments.
If you hate soldering with it, it's lead free
Startups Are Eager to Push At-Home Covid-19 Testing for Profit
Merging mkdir and touch: Advanced New File
This is a marathon, not a sprint. A normal retooling for an auto manufacturer appears to take 8-10 weeks.

They should be in time to save a lot of lives.
Its a weird to flex about how complicated is the system that you created. Creating simple systems is harder.
I hate to rain on the parade, but on the face of it, this sounds utterly ridiculous.

I simply cannot believe that their product really calls for an architecture consisting of 1600 individual microservices.

Don't get me wrong, I don't think one huge monolith is ideal either, but how is this better?

Who at Monzo could possibly understand how a significant portion of their platform works, in detail, and be confident that knowledge isn't going to be outdated in ten minutes from now? Who understands how changes to each of these tiny pieces will impact the others? What are they actually solving by doing things this way?

Would this abomination exist if they didn't feel the need to hire people whose primary objective is to get the words "microservice" and "Kubernetes" stamped onto their resumes?

Am I just out of touch? Is this the new normal?
I'd be interested to understand how they manage their "common" library, especially the RPC bit.

I find it very painful to version APIs signatures and protocols:
Let's say service S1 has a method "DoSomething(a, b)" and you want to add a new feature that makes is "DoSomething(a, b, c)" how do you handle that ? From what I've seen you would do "DoSomething_v2(a, b, c)" but that seems hardly sustainable:
- you need a new version of the shared library for the new RPC calls
- you need all services to maintain a lot of code to support different signatures

And I don't think rewriting all the callers to use the new signature is really an option. Or maybe they keep previous versions of the services deployed and they have some kind of routing that would find which service supports what signature (+probably some metadata like a minimum version number ?).

People of HN, what would be your advice on approaching this situation ?
So if for example an empire is built on slavery, it will collapse if slavery is abolished?
You can still buy leaded solder in the EU. Lead is restricted in most consumer applications, but it's still perfectly legal in a lot of industrial products.

https://eu.mouser.com/ProductDetail/MG-Chemicals/4884-227G?q...
I think that might have been to prepare us for ARM. They did the same stuff with the headphone jack : Removed it one iteration sooner than needed, so the new design wouldn't catch flack for missing it.

If the ARM macs can run Intel 64 bit software, but not 32 bit, then removing it in Catalina makes perfect sense
Blouses-shirts Prices branded Products in
> Well, setting whole books in fixed-width has never been the norm.

In books, I agree. Even Gutenberg's press had variable width "types". However not everyone reads books regularly and fixed width was all that was available in offices (well, that or handwritten documents). So for a great many people like myself, fixed width typefaces were still the norm.
If you are looking for a ready-made web app that can do something like that, try https://bincdn.com . I built it so if it is close to what you were looking for.. we can definitely talk further.

You could build your own CDN using https://bunnyapi.com .

DreamObjects by DreamHost would be another option for which you can upload the AWS library to your website and use that code too.
Dolphins are awful creatures, it is perfectly acceptable for them to be killing and raping their own and other species, just for fun. They're the humans of the sea, some might say.

Why should it be immoral to eat them, just because they're smart or smarter than us? If they're that smart, they should figure out how to not get caught. It's immoral to fool the far less intelligent farm animals into getting slaughtered.
My biggest gripe is people keep creating new "posts" thinking they're simply typing in to a normal chat window. The posts are replies to other posts, but then when you go back to that screen (team?) they're in a completely random order.
hope, and vengeance...
I got the Steelcase Gesture based on the recommendation from The Wirecutter here: https://thewirecutter.com/reviews/best-office-chair/ . I like it.
MIT-based team works on rapid deployment of open-source, low-cost ventilator
How a DevOps Workflow Reduces Efforts and Costs
> Interesting is this a counting sort then?

Not really as all the input values are unique. So counting wouldn't do any good.

It's basically using a bitfield long enough to encompass all possible values and then switching the bit of the input value.

As an example, if you are dealing with 3 digit numbers, then the max possible value is 999 and the min possible is 0. So you need a bitfield that is 1000 bits long. And if your input values are 999, 2, 123 and 7. Then you set the 999th bit, 2nd bit, 123rd bit and the 7th bit. Now when you read the bitfield from the 0th bit to the 999th bit, you will find 4 set bits - the 2nd bit, the 7th bit, the 123rd bit and the 999th bit. So instead of viewing them as ordinal numbers but cardinal numbers, we get 2, 7, 123 and 999 which is sorted.

Another way to view it is as setting the positions in an array. Instead of bits, lets say you have an array of 1000 ints all initialized to 0. Lets call this array MyBitArray. And if your input values are 999, 2, 123 and 7 then

MyBitArray[999] = 1;

MyBitArray[2] = 1;

MyBitArray[123] = 1;

MyBitArray[7] = 1;

Now if you pass through the array in order and check for the indices with the value set to 1, you'll see that indexes 2, 7, 123 and 999 are set to 1 which incidentally gives you your sorted list.

The difference between the array example and the bit example is that the bit example is much more space efficient. But the overall idea is the same.
Ok. When I said ban, I meant that back in the time, I went to the shop and they didn't sell it.
You immediately changed the subject from the one I posted. Why?

And what vitriol are you referring to, which particular words that I wrote led you to form that conclusion?
No it isn't, because the problem specifies that you have 1 MB of RAM and no other local storage. You don't have a disk to write back out to.
I have a different beef :)
This is a tool for sharing personal information, but I couldn't spot anything close to an 'about us' / 'contact us', even a twitter link.

I wonder if that's on purpose. Or most people that might use this wouldn't care too much about the details?
For avoiding bans, having a large ipv6 range can help (e.g. like one you might get with a VPS at a proper hosting company). As for grabbing the content itself, I've used a lot of frameworks but I usually end up back at some combination of simple string search and regex.
I think the second solution from SO is almost the same as yours, including having begun with Golomb coding: http://preshing.com/20121026/1mb-sorting-explained

However, they explain that Golomb coding isn't quite enough for the 1M case and switch to arithmetic coding instead.