skysight-inc/HackerNews huggingface dataset:
Ask HN: Most life changing things that you bought?
Just reading about air purifiers and wondering what other things like this I completely missed in my life.

Personal recommendations: kindle, rice cooker.

Edit: It's so obvious to me now (and to most people I guess) that I forgot about my washer dryer. To other young adults reading this, if you can afford it and have the space in your apartment, just get a washer dryer ASAP. Even if you live 5 minutes away from a self-service laundry. It'll actually change your life.
I use Edge when using Google services such as Gmail and Chrome when using Microsoft services such as Office 365. That way they can't log me into the browser when I log into the service.
https://github.com/Eloston/ungoogled-chromium would probably be better than a simple Chromium.
Lagrange's Four-Square Theorem
Actually most of the scientific progress in these tasks had already been made and all that was missing was the compute power. Just like the know-how and basic principles of how electric cars and have been around for more than a 100 years and what’s most been missing are cheap and powerful enough batteries.

So it depends on how you measure progress? Scientifically and advancement of knowledge, or success in applying such knowledge to business problems and use cases. That the deep learning community insists on publishing most of these breakthroughs as research is the basis of the critique being made in the OP.
I was a teen also fiddling around those BASIC game programming engines like Dark and Blitz Basic. That was so much fun.

All of my memories of Allegro mostly revolve around DJGPP. What an interesting piece of software that was.
Fun fact,CDC was not prepared in 2014.

FEMA appeared to have their shit together but completely boondoggled every disaster response in some way.

It’s amazing we didn’t see this coming sooner
What about washable face masks?
If you haven't read Greg Egan's "Permutation City," it seems it might be right up your alley.
That is fine, I just wanted to give another perspective why people only read the title and not articles.
Xmake v2.3.5 released, Multi toolchain flexible switching support
What do you mean by joint parallelism?
I hear your concerns and thanks for taking the time to respond. I will try to work on the messaging

edited: flippancy
Coronavirus Pool Testing
I think so, but the data collection practices are governed by individual apps.
I think ppl are starting to realize that running a country is hard work and not something that should be left to someone in their armchair behind a computer screen...
Homemade VIC-II 6567/6569 Video for the Commodore 64
There are startups that build specialized AI to optimize AWS bills for a living.
Took me a bit to figure out why Intel was researching mortal psychotherapists, lol.
Can Look Like This on GTA 6, Playstation 5 and Xbox Series X
Why did the chicken cross the road?

The next time someone asks you this question, you can give them the following answer.

The question "Why did the chicken cross the road" is invalid. It is invalid because "why" assumes that the chicken had some reason for taking the action "cross the road". This, in turn, assumes that the chicken has the concept of "road"; after all, if the chicken doesn't know that the road is there, then the chicken did not - from the chickens point of view - cross the road, and consequently it is meaningless to ask for its motivations for doing so.

Since chicken is an animal, it is unlikely that it has the concept of road in the same sense than humans do; since it is a bird, whose ancestors were propably capable of flight in the near past, it is unlikely to have the concept of road in any sense - why would a flying bird need roads?

Therefore, the chicken can never have any motivation for crossing the road, since from the chickens point of view, it never does any such thing. It simply moves from one point to another, and these points happen to be on the opposite side of a flat area of ground. No road-crossing has happened.

Think of it this way: if you walk over a scent trail left by some animal, and you don't know that the trail is there, it is foolish to ask your motives of crossing that trail. One can ask your motives for walking in the first place, but the crossing was pure coincidence and not something you chose.
a testimony on the need to train people to think about memory with lazy fp ?
You can read their respective privacy policies to understand what data they collect and how it is used.

If you're skeptical of their legal terms, then you're better off with Chromium as it remains open-source. Edge unfortunately is a closed-source product.
The same is true for China and Russia.
That doesn’t give a perspective on why they feel compelled to comment though. This is a discussion of the article not a guess-what-the-article-might’ve-said contest.
Glad to hear it! Knowledge management is definitely a crowded space – probably because it's something that is almost universally useful to humanity if done "correctly".

Being around HN for a while has definitely influenced how I think about the product and what I want to build. For a while I was wanting to build Supernotes as a federated service (and at some level I still want to do that), but for now the focus is mostly on making the most seamless UX.
There's lots of variety out there still, just not in factory farms.

Lucky for the chicken it has a personality which humans seem to get immense enjoyment out of.

My wife has gone a little chicken crazy since I brought home 4 pullets a couple years ago...
We'd recently moved our jwt code into rust (using the jsonwebtoken crate), and it's wonderful to have this article to read in that context. The pitfalls listed in the article were mostly handled by design, so we had to correct mistakes in the PHP implementation that were impossible to make now.

Eg we'd been using the `iss` field, a claim, to determine which key to use, when we should've used the `kid` in the header. All claims are now completely inaccessible until verified to the point where there's no way to access them short of manually deserializing the jwt. We'd also allowed some invalid tokens where the `exp` was in the past, only if you were refreshing the token of an active session. This could've caused problems if we ever wanted to issue a token that expired very quickly, since you could have a token that's theoretically 10-times longer lived than you intended.
I eat 5000 calories worth of sawdust a day and can't gain weight.
Rugstore Company invents nouvelle concept – Working From Home
People are divided on what the US military‘s role in the world should be and how much money it should take to uphold that role.

Sitting atop the longest stretch of global stability (largely enforced/maintained by the US military), it’s very hard to think clearly about what variables we can or should fiddle with.
In Mexico City, the Coronavirus Is Bringing Back Aztec-Era ‘Floating Gardens’
Speeding up function calls with lru_cache in Python
I use Firefox for the same reason, especially that, thanks to tab containers, I can be logged in in one tab and out in another.

Linking your browser login to online services is incredibly invasive.
Regardless of your view on the necessity of mask wearing or lockdowns, the CDC should be releasing accurate information about the efficacy of treatments and prophylaxis, period. It is absolutely unacceptable to be lying to the public because it is politically convenient or because the government wants to steer the public in a certain direction. Whether masks fundamentally work or not has nothing to do with how many masks we happen to have at hand.
Alex on his journey to founding Hallow – a Christian faith-based meditation app
Godot 4.0 gets SDF based real-time global illumination
Belated response, apologies.

re "whitelist" vs "blacklist"

Nice phrasing. Stealing it.

re rehosting, copyright exemptions

I hadn't connected those dots. Thanks. Very interesting.

Tangentially, I've been chewing on an idea similar to quotebacks (recently on HN's front page). My naive take was to create URL shortener to support my use cases. For example, by shortener would attempt to link to OC, falling back to Internet Archive (or whatever). I'll now learn about IPFS, Invidious, Nitter.

Also, I didn't do a good job explaining my 1/2 baked notion for implementing a "whitelist" based content scrapper.

I imagined distributing the whitelist to be used by client's browsers to do the actual transformation locally. Your explanation of how uBlock can also rewrite HTML DOM client side sparked this line of thinking. For the whitelist's curators, my notion for capturing and diffing was providing tools, like a better debugger, which could also be used by front-end developers.

Back to your notion of server side processing, for some combo of caching, transformation, render: I love it.

Opera did something similar with their mini mobile browser, ages ago. The server would render pages to GIF (?) with an image map for interaction, pushed out to the mobile device. Squint a bit and that architecture resembles MS Remote Desktop, PC-Anywhere, X-Windows, etc.

I keep hoping someone trains some advertising hating AI, that will scrap content for me.

re cat-and-mouse

No doubt.

I have written a few scrapers in anger. On mostly structured data. Often mitigating compounding ambiguity from standards, specifications, tool stacks, and partner's implementations.

So I just tossed the traditional ETL stuff (mappings, schema compilers), treated the problem space as scrapping. Generally speaking, I used combos of "best match" and resilient xpath-like expressions (eg prefer relative to absolute paths) to find data.

Worked pretty good. Super easy to troubleshoot.
Yep any day now the entire decades-old entrenched embedded systems industry will start using javascript because...this project?
I can only applaud your brother's accomplishments!

That said, why do you believe that he succeeded because of the military and not in spite of it? Is his story in any way typical for veterans? From my understanding, not at all.

Also, why do you assume that Russian or Chinese military service is less valued or constructive for their service members than US service? Are you basing this on something, or just the general image created by US media about the Chinese and Russian armed forces?
Hi, you sound like you know what you're talking about.

Can you elaborate with more details (my "reading comprehension" is such that I enjoy/comprehend academic papers more than watered down (and sometimes wrong) "pop-science" simplifications) about the counter-evidence against MOND?

You've given me some great topics to google search for, and it's much appreciated! (somehow I missed hearing about the bullet cluster. reading about it now... including the rebuttal: https://web.archive.org/web/20160721044735/http://www.astro....)

Can you perhaps drop a few more links to things I can dig into that provide counter evidence for MOND? MOND has been sort of a ... romantic crush ... of mine since I first learned of it 20 years ago. :)
Agreed.

This can be both bottom-up with more Responsible Disclosure programs, as well as top-down (i.e. via the legal system), making sure to take intent and actual harm caused into greater consideration when seeking to prosecute a white hat.
Yeah pretty much. (I say this not from a position of profound knowledge or anything like that, just that I'm not familiar with a good argument for why it is, not that I have looked into it in great detail. My knowledge of QFT is very basic)
Thought this was an Onion headline at first.
You are entitled to your own opinion, but not to your own facts.

The fact is that the USSR and Germany signed a non-aggression pact, not a treaty of alliance. You can read the text [0] yourself and see that there is nothing resembling a war alliance.

[0] https://en.wikisource.org/wiki/Molotov%E2%80%93Ribbentrop_Pa...
Yes, Apple doesn't allow 3rd party browsers on IOS.
> New research in humans suggests our bodies and metabolic rates can behave differently when given identical calories in different contexts.

I wonder what the "a calorie is a calorie" zealots would say about this?
Why would only salaries be scaled that way? It costs China a fraction as much as the U.S. to build a train line. Do you think it costs them the same amount in nominal dollars to build a landmine?
Not if it means you can't pay officers their salaries, and those salaries are protected by a collective bargaining agreement. Now the city is in violation of a contract and is going to end up paying more in litigation costs plus punitive penalties. That's the difference between "technically can" and "can, but will open up the municipality to so much liability it probably constitutes gross negligence on the part of anyone who votes for it."
Corporate America never ceases to amaze me (in bad ways, of course). Things like this always read like a "The Onion" headline.

Anybody able to explain why this would be an offense? I mean, patent numbers are visible to everyone, since a patent has to be listed, no?
Per the article, U+213a ('℺') is part of ISO 5426-2:

> ISO 5426-2 is a second part to ISO 5426, published in 1996.[4] It specifies a set of 70 characters, some of which do not exist in Unicode. Michael Everson proposed the missing characters in Unicode 3.0, but some were postponed for further study. Later, new evidence was found, and more was encoded. P with belt is probably an error for P with flourish.[5]

* https://en.wikipedia.org/wiki/ISO_5426
Which is crazy, because in March the U.S. was shipping more masks overseas than at any point in the past decade[1], masks started getting recommended while there still was a PPE shortage, and after masks were recommended it seems like very few were N95 masks. So why were leaders at the time discouraging Americans from even wearing homemade cloth masks?

It's hard to tell whether or not they were lying to us at the time in order to pursue a poorly thought out strategy or if they're lying to us now to defend their poor decisions (I'm guessing the latter).

[1] https://www.usatoday.com/story/news/investigations/2020/05/0...
Insoluble fiber is not included in calorie counts on nutritional labels.
They're not, and that's the point. If a software company in the U.S. was spending 5x as much as one in India (where are experienced developer might make 1/5 as much or less), would you say the U.S. company was spending to much?
$35 billion is an EXTRAORDINARY amount of money. It's the economic output of Vermont, a state with 630,000 people.
Because it’s not true that JSON parsing is I/O bound. It might be if you have an old 5400 RPM laptop hard drive, otherwise it’s CPU bound. There are many, many benchmarks which will indicate this to you, including ones in TFA.
According to the article, encoding/json is particularly slow with respect to decoding due to allocations. Notably, the API makes it difficult (impossible?) to avoid these allocations. Do you know if simdjson is significantly faster in this regard? And if you don't know that, do you know if the decoding API is the same as with encoding/json?
Interesting, ugh, I hate that kind of broad sense usage. It should be called a "short animation" or "short video" not "Graphics Interchange Format".

Facebook still uses actual GIFs for the video stickers in chat and they look horribly degraded, like websites out of the early 90s. I was very surprised they added support for GIF in 2015 when that's the time I thought they should be deprecating GIF in favor of newer, better algorithms.
Don't have a link at hand, but main reasons out of my head:

- exploits for breaking out of the container are easier to pull off if you have root access

- if the image has a system python, installing with sudo will install things in the system site-packages directory, which can cause a lot of troubles
The full readme is worth the read about chromium/chrome. But this highlights edge differences. No browser is perfect, but you can always be able to restrict things or use GPo baselines to limit browser use.

https://github.com/CHEF-KOCH/Chromium-hardening#chrome-vs-ms...
it’s June 2020. No new episodes? Did they give up on the podcast?
Haha C++ simdjson go brrrrrrrr
https://www.theverge.com/2019/4/8/18300772/microsoft-google-...
Lemonade IPO coming 42% below SoftBank Series D
I can see this happening. This is one of the biggest reasons I think product development needs to be close to the engineers. They understand it and understand the implications more than someone abstracted away from it. In an ideal world the engineers would also _care_ for the product too.
Show HN: First attempt at a CLI midwest card game in Haskell
I'm trying to learn Haskell, but don't know anything about app development. Ultimately, I want to iterate and use this project to learn how to write idiomatic, production quality Haskell, and learn app development.

This is a draft of the game engine. Rules in README. Feedback is appreciated.
Unless the company is money laundering or doing something else illegal - can you think of one realistic scenario where someone goes to work everyday and has no idea how their company makes money?

I'd return the bits if the tech and inbox was there. Not sure that's what you intended there.

If it is not a company’s business model to let you try before you buy and has a return policy that is unacceptable - then don’t buy their product. You wouldn’t shoplift it would you?
Bottom-up is perhaps the best approach, however. I mean, if an organization doesn't want white hats snooping around, then that's up to them, period. So should be a matter of more organizations actually putting out some guidelines.

Top-down would be important for accidental discoveries though. It's quite problematic to go after someone that accidentally finds an issue in your service.
You just made me realize that it would be cheaper for an advanced civilization to send a message light years away by altering the medium through which the signal passes than to control the source directly, e.g. a neutron star.
Man Utd knocks out Norwich to proceed to the FA semi-finals
The title does not mean that they think calories have no impact on nutrition. They state their stance more clearly midway through the paper:

"We need urgently to overturn calorie counting as the mainstay of nutritional advice and prevention of obesity. There is growing consensus that it lacks value as a practical tool in weight management. It is impossible to measure intake accurately, and too many variables influence calorie expenditure to make calorie counting useful. New research in humans suggests our bodies and metabolic rates can behave differently when given identical calories in different contexts."

This seems accurate to me. What we're doing isn't working great, and it seems unlikely that if we had less emphasis on calorie counting that the obesity epidemic would be much worse. So let's try something else, and see if it works better!
Those folks tend not to be very interested in the actual problems of nutrition and obesity. In my experience, they are much more about sitting in moral judgement of people who have other-than-ideal bodyweight and fitness.
I’ve lost weight multiple times using calorie counting. It’s literally the only thing that works for me.
The Vectrex video game console had special overlays that matched the games layout, for example:
http://forum.arcadecontrols.com/index.php/topic,154425.msg16...
Just because something isnt the slowest part of your pipeline doesn't mean it's not worth optimising.

It might be the slowest part of the pipeline you control, or your network might be a local network where your throughput is 10G. Modern SSDs can do 3+GB/second. Even if you're aiming at 1GB/second, your json parser has to be able to do 0.1ms/MB to be able to keep with even a normal disk. If JSON parsing is fast enough, you can use it as an interchange format high performance tasks, and if it's your input and output format, you can use existing tools for non performance critical tasks that use json already!
Sort of a tangent, but I legitimately thought at the start of lockdown that people would lose weight on average because they couldn't go out to eat anymore. It turns out I just completely underestimated how much people eat out, and how quickly they would all switch to just getting take out.

I have friends that would always talk about how we spend way more than them at the grocery store each week. Obviously, they'd tell me, it's because we didn't shop at Aldi. Nope. Turns out it's because we cook and eat at home.

I don't remember where I heard it (maybe Michael Pollen?), but the advice I try to follow is: Eat whatever you want, just make it yourself.
Indeed, PGP smartcards should work too, as should cards using the open-source ISOApplet.

I also played around with tpm2-pkcs11 last year and it worked nicely, and has support on a lot of devices like the XPS (which works really well on Linux!)

Your idea for using TPM as host verification makes a lot of sense to me - as it stands right now, I'm playing around with this for a side project right now, and a TPM-backed key which is bound to the right PCRs should give you assurance secure boot is enabled, with your own custom keys, and that it loaded your signed Grub, booting your signed kernel.

Got all the secure boot stuff working, now need to figure out what to use the TPM for - options are remote attestation, where server verifies the attestation signature (but this wouldn't be particularly standardised), network level authentication (actually easier - IIRC NetworkManager supports 802.1x authentication using PKCS11, so you can use tpm2-pkcs11 for that), or disk encryption.

Assuming you mean for the remote-end host key, and assuming your server has a TPM available, I reckon that could be quite interesting, but it doesn't look like openssh supports using PKCS11 for HostKey access. Would need to see if the key is used often, or if it's just used to establish connections (since PKCS11 crypto is usually pretty slow, but fine for one-off authentications).

As a closing note for time-travellers from the future etc, worth remembering TPM is far from perfect, and there's quite a few nice attacks if you can "sniff" the serial lines from the motherboard to the TPM itself. And if using the fTPM (firmware TPM), the regular Intel SGX/TXE holes will likely compromise the TPM security properties.
> Concepts don’t automatically change because things happen “on the internet”.

There's no magic to the web: it is and always been pages you can access by knowing or finding urls. It's up to servers to decide how to serve things.

I'd propose a better analogy to what publishers are doing on the web: they are renting public billboards, posting contents on them and somehow wanting people to close their eyes or pay to look at them. This is what most (but not all) web is today.

And it doesn't have to be that way. Web3 is hinting at a different world. Not saying it's a better or perfect world but in theory it is one where content owners have more control over who/how they distribute content to.
Taking such a strong proselytizing stance when it comes to Antifa is not exactly a good look in my eyes either as the entire situation reeks of thinking "Antifa" only means "Anti-fascist." I subscribe strongly to the horseshoe theory and Antifa is closer to those they purportedly fight against than most people are comfortable with admitting.

But hey, that's the beauty (and ugliness) of federation: I don't have to like it and I can just start my own server. On the flipside, it also means I need to be beholden to a considerable amount of social rules, some of them unwritten, if I want to federate with the majority of the servers out there. I know how it goes, I've seen it first-hand when it comes to ActivityPub instances. That's how you get cliques.
I'm not a zealot so I'm actually interested in knowing whether this is true, but I noticed that they provide no references for that statement, does anyone know of one?
Show HN: Space Invaders clone made with 24a2
I think I have two reasons not to roll Krita now. Thank you for your time.