skysight-inc/HackerNews huggingface dataset:
Most of what we 'feel' comes from preconceived notions. The famous example of taking a drink from your glass without looking, gagging on it because it tastes all wrong, only to find out you had orange juice and not milk as you remembered.
Once you know its orange juice then it tastes ok again.

Everything is filtered through pre-conceived notions. Everything.
The Numbers Behind Social Distancing
Touchwiz has been dead for a couple of years now. The replacement, One UI, is really good, you should give it a try.
Joy is a great language! I also wish it had been more influential.

Maybe you already knew this, but there are lots of great articles about Joy in nsl.com, and there is also Thun: http://joypy.osdn.io/ (which someone suggested me around here).
how does the FUSE filesystem interact with the c program running? I don't see the C program attempting to r/w to that x directory
We're shipping a new version of Polar (https://getpolarized.io/) this weekend that is sort of closer to the roam/zettelkasten idea of managing notes.

Here's a video explaining the new functionality:

https://www.youtube.com/watch?v=6M6jNlairGc

Basically all the documents you read can have tags. So you can manage all your documents via whatever tag you want.

You can then read those documents in Polar directly and highlight parts of text that are interesting.

These highlights, notes, comments, and flashcards that you create can also have tags.

We call these annotations. We then have an annotation manager which you can manage by tag so you can pivot everything around the tags you're working with.

This version is pushed to the web version of Polar now and the new desktop version will make it out this weekend.

We're also working on a new Polar 2.0 which will support Android and tablets and have better pen support too so you can work directly in a tablet rather than a desktop/laptop.

We're also working on a dark mode but first need to get 2.0 out the door.
Here be dragons: Analysis reveals new species in Smaug lizard group
Presumably all the engines are fairly silent.
It is actually a good video but its hard to discern this and even this well crafted explanation could have been profitably replaced by 2 pages of text.
Could you give some examples of things you talk about and things that you think would be difficult to talk about given the language's limitations?
Landlords are not bad as a rule.

They allow me to keep my assets diverse and my liabilities at minimum.

Why would I want to own a home? I would be owning a single expensive asset that:

- Cannot reasonably be relocated (wasting my time/life if I ever get a different job that's further away)

- Cannot be liquidated without losing 6% of its value to REALTOR® fees and closing costs

- Has its own value tied into other assets in its immediate geographical vicinity. If someone gets foreclosed next door, the value of my house drops instantly.

- Needs to be insured because it's so fragile that a storm could completely destroy it. In a rental I essentially only need to insure against legal liability and stolen possessions (if that's even a concern).

- Does not appreciate beyond inflation in the longest investment term

- I don't actually own it anyway (property taxes, eminent domain)

Renting minimizes risk and liability for the vast majority of typical people. I would argue that a lot of the doom and gloom articles talking about millennials being "unable to afford homes" are discounting how little home ownership ever made sense in the first place without artificial stimuli (like the G.I. Bill and various other home ownership encouragements).
Please don't take HN threads further into flamewar. Especially not on the topic of this most stressful and difficult moment.

If you'd please review https://news.ycombinator.com/newsguidelines.html and stick to the spirit of this site when posting here, we'd be grateful. Examples:

"Comments should get more thoughtful and substantive, not less, as a topic gets more divisive."

"Please respond to the strongest plausible interpretation of what someone says, not a weaker one that's easier to criticize. Assume good faith."
This feels like an advertisement for the book more than an article about Packaging and Copywriting.
OP's criticism were fair enough to not deserve a dismissive response.

I for one am thankful for their warnings.
Agree, every time I recommend it to someone I feel the need to qualify it with "the name is really weird, but trust me it's a great tool". It would be hard to come up with anything that is more random/irrelevant to the functionality, and also more off-putting than "lice".
I can give you a data point on one. I used to work in a factory/office building that had a water-retaining roof like the one described in the article. I'm wondering if the architect was reading this magazine - the structure was built around the same time.

Suffice to say, having hundreds of thousands of gallons of standing water on the roof was not a good thing in the long term. Nor was it good in the short term. The extra weight. Algae. Mold. Icing. Leaks everywhere. Just awful.

The new way is to plant a garden up there, which seems a lot more reasonable and probably gives a similar thermal load.
Toilet Licking Influencer Says He Tested Positive for Coronavirus
80%-85% of the 68k are probably mild cases that will recover without medical help.

15-20% will need hospitalization. ~5% will need ICUs.

0.5%-5% will die depending on whether the medical system is overwhelmed.
> SSH doesn't work as a SOCKS5 client

1) That's what the ProxyCommand config option is for. Most systems will have netcat or nc installed which do provide SOCKS client support

2) Or just use the -J option argument, which IIRC was originally implemented as a transformation to -oProxyCommand='ssh ... [netcat/nc]' but now is a simple transformation to the newer -W option argument, which doesn't depend on netcat/nc being installed on the intermediate host.
Join the New York State Covid-19 Technology Swat Team
Pass-by-value vs. pass-by-reference-to-const in C++
I've had debilitating sleep onset insomnia (1-2 hour sleep onset latency) for my entire life, and I cured it with the Dreem 2 headband[1].

Unlike accelerometer-based sleep trackers (fitbit, Apple Watch et. al), the Dreem 2 is EEG-based. I can't trick it into thinking I'm sleeping by just holding very still.

Now I effectively get a free sleep study done on me every night, which is AMAZING for N=1 randomized control studies on myself (ex: do I sleep better with earplugs? an eye mask? how many days after a bad night of sleep do I feel cognitive impairment? how much does blue light before bed affect my sleep onset latency?). Clean data I could trust was vital to figuring out how teach myself to sleep like a human again.

My most recent sleep report from Dreem says I've logged 181 nights wearing this headband. It's amazing. It enabled the single biggest improvement to my life in the last decade.

It's expensive, and it's so much cheaper than a sleep study that only measures a single unusual night.

I've been tooting Dreem's horn on twitter for a while, so they gave me a promo code that I think gets you 5-ish percent off: GENCO

I also recommend:

* a Manta sleep mask[2] and/or blackout curtains. Aim for pitch black if you open your eyes in bed at night. Cover any small lights in your bedroom with aluminum tape (it's light proof)

* silicone ear plugs[3]. They're actually comfortable, and you can sleep on your side without them jamming into your ear

* the Coup adjustable-loft pillow[4]. Your pillow is more important for bed comfort than your mattress (particularly your neck angle). While I'm on the topic: I'm not convinced mattresses matter nearly as much as people think. The best sleep I've gotten so far is on an ~$80 cot mattress from Amazon.

* if you sleep with a partner that sleeps hotter or colder than you, get a Chilipad[5]. Kicking your leg in and out to regulate temperature is keeping you from sleeping deeper.

Also, if you snore, that's called sleep apnea and you're suffocating while you're asleep. Get that fixed immediately. You can pick up used CPAP machines on craigslist for a few hundred dollars.

Also AMA about sleep here on on twitter @cgenco. This shit is really important to get right.

I've got an article in progress better summarizing all this stuff that will be live at https://gen.co/sleep in the next few weeks :)

1. https://imgur.com/a/3FsK39j
2. https://mantasleep.com/
3. https://www.amazon.com/Macks-Pillow-Soft-Silicone-Earplugs/d...
4. https://amzn.to/3dvoWKP
5. https://www.chilitechnology.com/
Where do you get that conclusion? You think crashing the economy won't hurt people?

> Shame on you.

Seriously?
I created a forum to share toilet paper
> most people

Who were these "most people"? I've only seen this from a few random twitter people, plus the aforementioned Texas lt governor, who is presumably a psychopath (and a stupid psychopath, too; who, precisely, does he think is voting for him...)

He was, to some extent, only saying the quiet part out loud, though. Those calling for ending restrictions within the next few weeks are saying "let's kill the olds for the economy"; they're just being a little more euphemistic than he was.

The funny thing is, even if some country did this awful thing, it almost certainly wouldn't work; a million dead senior citizens isn't really conducive to a normally functioning economy. People would be absolutely traumatized (and rightly so), and there wouldn't exactly be much discretionary consumer spending.
Any plan that anyone has right now is not worth the paper it is written on.

Things would be a lot better if this was taken seriously months ago. Things would be better if people in leadership positions all over the world were better leaders, but they are who we've got right now.

From now on, we have to make this up as we go. We have to try our best. We have to see what works and what doesn't and use that information to make better choices going forward.
I'm currently working my way through Capital in the Twenty-First Century. It's been really eye-opening about how bad inequality actually is. I suggest everyone read it, and I'm excited to read his new one soon after.
One fairly subtle point the writer gets more or less correct is how people will travel more but supersonic flight will be mostly for the rich. (Obviously supersonic commercial flight doesn't exist today but, if it does get resurrected at some point, that will almost certainly be the case.)
There have been a few people following me around and harassing me.

I'm not a doctor. Much of what I know about managing serious lung issues is because I have serious lung issues. That is being used as an excuse to say I have no right to talk about what I know because it's medical in nature and I don't have a medical degree.

I'm also a woman and that often goes weird places in online discussions. People have different expectations for women than for men.

There's also a pandemic on. People are cranky and scared and looking for a proverbial dog to kick.

Downvotes or other negative reactions can beget more of such. People can just react based on social signaling, especially if it is a touchy subject or they have personal baggage or are upset for some reason.

Etc.

Hopefully it will settle down soon and people will engage more in the future with the actual points I'm trying to make and focus less on what they feel are my personal deficiencies or whatever.

We aren't really supposed to talk about downvotes. I usually try to abide by that guideline. I'm leaving this comment because it's really meta commentary on how panic and such works in a crisis. Hopefully it will be enlightening for a few people and help them more effectively navigate the current online social climate generally.
Health and safety reasons is one reason you can quit and still get unemployment. I think Coronavirus falls into this category but I might be wrong.
> MeiliSearch can serve multiple indexes, with different kinds of documents, therefore, it is required to create the index before sending documents to it.

https://github.com/meilisearch/MeiliSearch#create-an-index-a...

Indexes are config. This is not really zero-config if you require API calls before it can receive data.

Also, there's nothing about TLS or access control. These will be required for any production deployment. At the minimum, let us specify a TLS key.pem and cert.pem file and create write-only and read-only access tokens.
> https://danluu.com/term-latency/
This was written in 2017. It's got great information but I'm guessing most, if not all, of the terminals tested have newer versions. Just think of what 3 years of feature bloat could have done to their performance.
MUCH cheaper, once the technological transition was complete. To the extent that making a bronze weapon as an actual weapon wouldn't make sense. They're available now as effectively decorative items, but I'm pretty sure that's a 20th century phenomenon.
> List of CNCF open source security projects without the blog post: https://landscape.cncf.io/category=security-compliance&forma...

Thanks for this.
Ask HN: My brother is the director of Alaska VA and asked for help for this app
My Brother is Dr. Timothy Dean Ballard - Director of the Veterans Administration for the State of Alaska - Former commander of the 10th Medical Wing for the USAF and previous flight surgeon to the Joint Chiefs of Staff.

He has asked for insight and if an app can be made for the following regarding COVID-19.

---

A smart watch app that can detect, count, and alert on the amount of time one touches their face and a buzzer/reminder for when doing so to minimize the activity.

I pointed out the difficulties in efficacy due to the fact that most wear a watch on their non-dominant hand, sensor false-positives etc...

But he stated, something is better than nothing.

I do not have the skills to create this - and my network in this area is too thin.

Can we please request some help from the HN community to crowd source from you guys to add input to prevent illness....

Please let me know.

https://www.alaska.va.gov/about/leadership.asp

http://www.ww35.usafunithistory.com/PDF/10-19/10%20MEDICAL%2...
Strangely enough, plant-based doesn't necessarily mean vegan. Some 'plant-based' diets include eggs and dairy at times. I've yet to find a plant-based food item that wasn't vegan though, so perhaps the diet aspect needs further refining.
The Covid-19 and the impact on the development of CBDC's
(Disclosure: Zotero developer)

Criticizing Zotero for privacy, of all things, is a bit bizarre. Zotero is an open-source project from a nonprofit organization with no financial interest in people's research data. It's designed as a local tool specifically to give people complete control over their data, and it's developed in the open. Most similar tools are proprietary programs owned by major publishers or analytics companies with voracious appetites for data.

The page you linked to explains the reasons for every single network connection that Zotero makes and how to disable it. Every one enables a specific Zotero feature — push-based auto-sync, fast translator updates as sites change to minimize save failures, open-access PDF retrieval. When we implemented retraction notifications, we even did it using k-anonymity to avoid sending up library data from people who don't use syncing.

We're always happy to discuss design decisions in our forums, but I'd argue pretty strongly that privacy is one of the main reasons one should use Zotero, not the other way around.
FBI Statement Regarding March 24, 2020 Incident in Belton, Mo
Some tweaks:

#1:

elif not isinstance(fn_transform, FunctionType) or not isinstance(fn_transform, LambdaType):
raise TypeError('Transformation parameter should be a function or lambda i.e. fn = lambda x: x.replace(a,b)')

What about using callable()? There's no reason you couldn't use a functor, for example.

#2:

curr = file_handle.read(chunk_size)
if encoding:
curr = curr.decode(encoding)

That assumes a single-byte encoding. Consider a multi-byte encoding where the chunk_size reads only part of the character:

>>> s="ü"
>>> s.encode("utf8")[:1].decode("utf8")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc3 in position 0: unexpected end of data

#3:

if chr(terminator) in chunk:
lines = chunk.split(chr(terminator))

Might want to compute chr(terminator) once, rather than re-evaluate it each time.

#4:

try:
transformations = iter(fn_transform)
yield list(map(lambda x: reduce(lambda a,b: b(a), fn_transform, x), columns))
except TypeError:
yield list(map(fn_transform, columns))

Since you've already checked for the two cases, set a flag to remember what fn_transform contains. Then branch on that, rather than use the try/except.

Otherwise, consider what happens if one of the callables raises a TypeError because of an internal error, rather than because of an expected structural mismatch.
What about https://gitea.io/en-us/
Why Do Houses Cost So Much? (1944)
I won't buy foods that say "lower sodium", "lower fat", etc. on the packaging. It's not because I'm illogical like the article suggests, but rather that 80% of the time such foods do in fact taste worse.
Get Young and Freedman- university Physics and start working on problems. You can find help with those problems online.
Make a study guide with timeline.
Make flash cards and learn the equations.
Find exams online and take those just like you were in school and have a friend grade it.
So sort of the same idea as docker where the address of a package (docker image) is built into its name. Interesting but also problematic. If a package in rhel repo is broken I can mask it with one I've built of the same name in my company repo. Since the package address isn't tied to its name, this works.
Doctor Describes Hospital Overwhelmed by Covid-19 Patients on Ventilators
On the topic of new rituals for storage devices, whenever I buy a microSD card or a USB flash drive and before I setup the filesystem, I've been filling it with random data and reading it back to ensure it does have the storage capacity it's supposed to have.

I started doing this after reading comments online (probably here) on fraudulent cards and drives circulating around Amazon. Some comments mentioned that there are even some devices that have their firmware set-up such that writes don't fail even when you've written more than what the device can actually hold. They supposedly manage this by reusing previously used blocks for new files. I suppose in other words, each block has multiple addresses. The addresses would probably loop around the same blocks until the fake size is reached. That would give it the most realistic appearance that it's of the reported size while silently corrupting previously written storage.

In any case, so far I've only gotten 4 cards/drives since then, and I haven't found them to be frauds.

I've since wondered how much I'm subtracting from their product lifespan with my testing. I mean, I imagine that microSD cards and USB flash drives do wear leveling on unused blocks, but without TRIM support on them, after testing them, I'm probably eliminating the devices' ability to do wear leveling since I'm occupying all blocks without the ability to tell the device that they're unoccupied now.

As far as I understand, the problem with lacking TRIM support on USB flash drives is not that there's no protocol for it through USB, since there are USB-SATA adapters that specify support for UASP. Admittedly, though, I'm assuming that UASP is enough to get TRIM support. I don't remember testing that.

In any case, I wonder if this new ritual I'm doing is really worth it, and if it's not, when would it be?

EDIT: I wonder if it's realistic to expect that one day we'll get USB flash drives and microSD cards with TRIM support. I don't expect the need to check for fraudulent storage devices to go away.
How deadly is the coronavirus? It’s still far from clear
One of the key issues in American politics is epistemic. Many voters on the right will not receive any information about just how badly the initial response was bungled. There is a relatively closed media ecosystem of TV, web, and social media which completely blots out truth with conspiracy theories, half truths, lies of omission, or whataboutism.

Many of these people really truly believe they are well informed and also believe themselves to be true patriots. How this dynamic can be changed is beyond me and it is deeply problematic.
I only know the rate for the current German PCR Sequencer. They are at the industry standard of 3%, and require two tests per swab/person to get the higher accuracy required to avoid false negatives.
It's bad here in NYC. I have multiple friends symptomatic after contact with confirmed infected. One knows he was in contact with confirmed infected because the one of their group that went back to Canada was tested there and came back positive. Of all of sick friends with confirmed exposure, only a single one has been tested and it's because he's currently in the hospital under quarantine on oxygen with a tentative pneumonia diagnosis. We just don't have test kits.

My partner and I are both sick and self isolating. My friends who are nurses are saying it's bad where they are and they're running out of supplies. And we're not due to hit the height of hospitalizations for another 3 weeks. 911 in NYC is already at Sept 11th levels.

Stay home, stay safe. Only call 911 in an emergency. Ignore the president, listen to epidemiologists and medical professionals. "anybody that needs a test gets a test. They’re there. And the tests are beautiful" - Trump, March 6
Zotero's been around a while, I remember using it and its plugins many many years ago. Glad to see it is still kicking.
To be fair, that's a pretty nice link, not many companies provide such an overview. And most (all) of those features are useful things that you'd probably actually want to enable in daily use.

And Zotero can run completely offline, without an account.

Now compare that to Zotero's biggest competitor: https://www.mendeley.com/terms/privacy
LiliusWELL – Wellness Reimagined.
If world runs out of food supply or other important products, then the "young people who don't have any underlying disease" will also die.
Have you read any of the research papers actually produced by the people working at the lab in Wuhan?

They were studying this exact thing.

And then it just so happens to explode in Wuhan.

https://www.ncbi.nlm.nih.gov/pubmed/32104915
Wonder if the reduced air pollution that's been noted just about everywhere is helping propagation.
> "[hyper-capitalism] is defined by unlimited international capital mobility to evade regulation and taxation at the national level, alongside definite limits on the ability of labor to act in the same autonomous way."

such inequities imbalance the power between labor and capital, which then destabilizes the social structures resting on these economic (and political) foundations. power is a highly dynamic, and as a result, a highly destabilizing force. no (static) socioeconomic idealogy (that we've come up with so far) can dominate it, not even capitalism.

and that means we can never truly rest in our vigilence to create and retain the properity, peace and stability that we enjoy only fleetingly.

the balance between labor and capital has tipped wildly and we need to enact measures--progressive and dynamic taxes/tariffs, both removing and enacting regulations, de-monopolizing markets, etc.--to bring it back into balance.
If I'm an investor, which I am, they are indeed bailing me out too. 55% of Americans hold equity. So 55% of Americans are being bailed out. Let's get that number to 100%, so we can move on to other issues.
IANAL, but Turkcell would lose the case in Turkey too. This is not due to net neutrality regulations (Turkey deliberately lacks it), but due to case law arisen from competition and customer rights regulations. However, telcos work around that too, by "leasing" modems, like telephone divisions did in the past. Does the trick of "leasing" work in the EU too?