skysight-inc/HackerNews huggingface dataset:
> It does nothing for you if you have computationally intensive tasks and want to keep all processor cores busy.

I would argue this isn't concurrency at all (the job of juggling mostly independent tasks, and scheduling them to a relatively small number of processing units), but parallelism (the job of performing a single computational task faster by employing multiple processing units), and exactly the job of parallel streams.

> It doesn’t help you with user interfaces that use a single event thread.

It might. Loom allows you to plug in your own scheduler, and it is a one-liner to schedule virtual threads on the UI thread:

var uiVirtualThreadFactory = Thread.builder().virtual(java.awt.EventQueue::invokeLater).factory();

All threads created by this factory will be virtual threads that are always "carried" by the UI OS thread. This won't currently work because each of those threads will have its own identity, and various tests in the UI code check that the current thread is actually the UI thread and not any thread that is mapped to the same OS thread. Changing these tests is something the UI team is looking into.
How Sea Turtles Find Their Way
Came here to mention HTDP.

Here's an anecdote. I have two friends who decided to take advantage of some COVID downtime to learn to code. I suggested they start by doing some HTDP, and they did. Now one is doing a bootcamp and the other is building his own apps. Both are doing Javascript, React, Ruby, a bunch of popular stuff.

I've interviewed and hired dozens of junior devs in my career, many of whom had already been on the job for a couple years. Most had only gone through a bootcamp. My two friends are far surpassing what any of those folks were capable of. They are able to understand these modern tools on a deeper level, not just copy-pasting or memorizing parts of an API.

I recommend it to anyone who wants to learn to code. Once you know fundamentally how to design functions, you can learn any of the trending technologies that might snag you a job. And you'll probably end up with higher quality, higher output, fewer bugs than your peers.
I'm Dutch, and here are some funny things suggested wrong by spellcheckers:

* hoofdaannemer - hoofd aannemer : main contracter - person who takes heads

* wegomlegging - weg om legging : road closure, a road around a legging(pants)

* dagverse vis - dag verse vis : catch of the day - goodbye, fresh fish

This twitter has many such errors in the wild.

https://mobile.twitter.com/spatiegebruik

Not all spellcheckers suggest it wrong, but almost all that rely on statistics, will get it wrong: hoofdaannemer (or hoofdanything), will occur far less than hoofd or aannemer.

This, I fear, is forming our language use. As people rely on tech, they'll follow the suggestions and wrong use of space will turn an actual problem.

Edit: formatting.
You seem to be using a rather specific meaning of the word "research".

If, for example, I pause coding and spent a few hours comparing and reading about various libraries to aid in a certain task, wouldn't this task be best described as "research" as well?
Seems pretty much a worthless analysis to me. Facemasks were introduced in April, infection went down in April, masks worked! Except that this virus seems highly seasonal and spring also came in April!

Where are the "if it's not a double blind study where you isolate a variable, you haven't proven anything" people when we need them!
Parsing Clojure namespace forms using Raku grammars – Samuel B. Chase
Given how terrible bad most spell checkers are I would say it's still a major fear in 2020.

(Through it's a feat of properly incorporating linguistic knowledge into your spell checker.)

It just happens that for the English language terrible bad spell checkers are often still good enough.
Apart from Oakland Tribune at one point writing about that the US government was selling drugs to fund arms in other countries, I don't think the whole "selling crack to poor" thing has been factually proven (yet).

That doesn't take away the fact that they sold weapons to an embargoed country in order to fund right-wing paramilitaries, which is horrible in it's own, but drugs doesn't seem to have been involved as we're seeing with The War on Drugs.
I only started watching the show when it was almost over because of the hype and checked out the books because I was disappointed in the final TV seasons.

I couldn’t tolerate ASOIAF. I can’t recall even one instance of feeling joy or mirth in all of the first book. GRRM comes off as a bitter old and somewhat misogynistic man. There are no normal women characters to be found anywhere that aren’t raped or murdered or otherwise broken in some way.

I just skim through the wikis to get the gist of the plot without having to suffer the tediously cynical prose.
Overcoming frustration regarding ads, performance, nag screen, consent screens, poor design, various hijacking, tracking, clickbait and otherwise poor content is very personal in my experience.

Some people even invent new protocols (Gemini comes to mind) to circumvent some of these frustrations.
I find it weird that science can't conclusively answer the question "is wearing a face mask going to significantly reduce the spread of covid". It's been nearly a year since this was a known disease, and beyond that masks have been around for a long time and they are used by the medical community to some degree. How can we not know based on the shear mechanics of these two entities whether this is effective?

I feel like every other day there is a new study or report that refutes the study or the report I just saw from another respected institution. I'm not surprised people are frustrated at this problem. As an example, look at this study that was posted just 13 days ago on HackerNews: https://news.ycombinator.com/item?id=25159583
Please leave the propaganda at home friend, it's hard enough to browse the internet as it is.
Show HN: Creating messy bug with Javascript
China turns on nuclear-powered 'artificial sun'
Wait, what morality issues do candles/flashlights have? Or are you just ignoring your own metaphor?
It would be if the reason the advice was given by governments was NOT at the behest of doctors/scientists fighting the pandemic. However it is, so in this case the governments are just the messenger best able to broadcast the message and ensure a high level of compliance.
It'd probably be better to look for words with small Levenshtein distance that look like a case of typo, because people tend to miss-spell some words repeatedly, especially in larger texts.
Thank you.

But having RSS as an option would be even better for those who already use RSS readers.
Denmark becomes first oil-producing nation to set deadline to end extraction
And I’m pretty happy that students use nowadays google docs. Sure, it’s propiertary and can break at any point, but man if it does not make collaboration easier.
UDP port 443 is entirely unconnected to TCP port 443—they’re the same number, but in a completely different namespace. HTTP/3 didn’t have to use UDP ports 80 and 443, it was just most convenient for all parties concerned to use the same numbers as the TCP ports, because there was no obvious reason to change it.

I do wish you could specify which port to use for your HTTP with SRV records, but it’s unlikely that will ever happen.

10–15 years ago, SCTP didn’t work on the internet at large, just like it doesn’t now. Face it, protocols at this layer have ossified so that TCP and UDP are your only options if you want broad compatibility—and that’s nothing to do with any one party, it’s everyone’s fault. TCP and UDP will never get another sibling. (See also how TLS ossified in 1.2 so that fundamental improvement was an enormous effort and 1.3 is still not universally supported.) Fortunately, UDP is pretty close to raw IP, so there’s not a great deal of difference between implementing QUIC on top of UDP and QUIC on top of IP.

> Over 5-10 years we could get 90% adoption of an entirely new network stack.

Nope, this is absolutely false; I even have a concrete counterexample: IPv6. Standardised in 1995–1998, supported by DNS since 2008, supported by all major OSes by 2011, but still unavailable to a very large fraction of internet users. (As a consumer of internet, I’ve encountered IPv6 support in one commercial internet supply in Australia, but not in any other, or any residential or cellular connection in Australia, or in a few stints in India, or in a cellular connection in the USA.)

You’re seriously overestimating the ability to get people to change. If your solution is incompatible with the past, people won’t change because no one’s using the new thing (because it’s incompatible). If your solution is compatible with the past, people won’t change because there’s no good reason to. Most of the time people will only change if there’s a compelling reason to: e.g. with HTTP/2, many adopted it because the multiplexing normally improved page load performance, and with HTTPS, many adopted it because browsers were starting to label their sites as insecure if they didn’t, and they didn’t like that.
Designers primarily designing for other designers is a core problem with the entire field of design and it holds back a lot of society as it seems to really encourage apps having super low information density displays with slow animations.
Side note: thank you for mentioning the shortcut keys to skip frames. I did not know that!
The US oppresses and murders differently (though you could look to Cuba and say with gusto "this is a crime and needs to get someone in front of the international tribunal") than China. For examples of the US being an absolute ass, you may for example look towards the middle east. Or I suppose right next door, to south america.

Edit: Note that these are enormous swathes of land where the US has been perpetrating war crimes for so long most people living there don't even remember differently anymore.
The description of S15 gives a plausible explanation of why the effect is much less for some of these city than for Jena. Of course this is speculation but this doesn’t mean that fig S15 disproves the paper’s finding. And for Jena the effect is extraordinarily strong, and well controlled for. I’m not aware of any alternative explanation (to mask-wearing) which could explain this effect, and until I hear such an explanation I consider this strong evidence for the effect of mask-wearing on COVID-19 transmission. This study isn’t the only evidence for the effectiveness of mask-wearing but it’s certainly part of the overall evidence, and I’d like to hear better arguments for calling it “bad”.
It's unclear where these statements come from, but I find it hard to imagine they were meant to be public, the CEO would know better. Most likely they were internal conversations that got leaked or conversations that got logged which were part of some sort of warrant/information request.

Or you're right and CEOs of huge multi-international companies are a lot more stupid than we previously thought.
> It doesn't make sense to compare the M1 with the EPYC Rome. They couldn't more different and were developed for dramatically different use cases.

The author of your beloved article compared M1 to Zen 3, and all Zen 3 CPUs use the same 8-core chiplet. From the cheapest 6-core Ryzen 3 5600 to the 64 core EPYC. All of them are made of the the exact same chiplets, just then number of chiplets varies. If you have 2 chiplet you get 16 cores, etc.

> Yes, even the EPYC Rome only has 4 instruction decoders.

It doesn't have "4 decoders"; it's just one 4-way instruction decoder. It's not the same thing.

> Firestorm cores to essentially process twice as many instructions as AMD and Intel CPUs at the same clock frequency.

A decoder doesn't not process instructions, it only interprets them and splits it up into smaller instructions. It doesn't make sense to compare number of instructions across different ISAs anyway, ARM has smaller, simpler, and on account of that more numerous instructions. One x86-64 instruction more often than not maps to multiple ARM instructions. It just makes no sense to compare counts.

I sort of stopped reading your comment around here, sorry about that.
>> Instead of reading 100 books, it’s better to find one that really changes your life

This is just flat out wrong for non-fiction. This is not a good way to use books or any research material, except perhaps meta-analysis’ but even then with caution.

It doesn’t matter how many 5 star reviews it has, or who wrote it. You will be far better served by reading many writers on the topic and using your learning from each to compare and contrast between the materials and arrive at a deeper understanding.

For example, there are thousands of books with a theme that could be written as “how i got rich”. Every single one of these books tells the version of the story the author would like you to believe rather than the actual truth because the simple fact is the author themselves, despite living that life, may not actually know the truth of the matter themselves. Plus some actively seek to deceive.
At least clang and gcc will also warn about unused static functions (included in -Wall though). IMHO that's a good reason to use static-by-default (and also not to split a project into a myriad of tiny source files, since this usually means less functions can be made static). Of course in the end LTO will take care of unused functions project-wide, but you'll not get a warning about stale functions that way.
Maybe it does. It isn't poor quality per se, on the first contact those fonts look great. Only prolonged usage will reveal their flaws, and then only if you know what you are looking for. Most buyers won't be so sophisticated, so it can work. Actually, lots and lots of products are sold in such a superficial way.
I believe that touching them, wearing them too long, imperfect (but not outrageously bad) fit are merely imperfections, not nullifications. These things are a bit like stripping off a few nines from service availability vs shutting it down completely.

Preventing these imperfections is extremely important in a very high infectivity environment like a hospital's Covid ward, but they don't really change the masks' impact on the epidemiologics of supermarket trips.

A protection level that only shifts the average time to infection of a Covid ward's staff from Monday to Thursday would be terrible, but the same level of protection added to otherwise unprotected supermarket goers can easily reduce the supermarkets' contribution to the R value from heavy to insignificant.

Yes, of you do not impeccably follow the procedures required by medical staff in high infectivity environments the small remaining risk of defense penetration will rise by a high factor, no, the remaining protection will still be much better than no mask.
Yup. sure, sealed, but is it sanitary enough?

They used to seal jellies and jam with wax over the top. Unfortunately, this method made it more likely that you would get food poisoning (and it is still an issue with home canning, but we are a little safer).

Hence the question about if it keeps out microbes and such.
Is your technology business ready for international expansion?
Does this mean that all CDN hosting of libraries, etc. will now be semi pointless for optimization?
> Except that this virus seems highly seasonal and spring also came in April!

This effect is controlled for by the study, by comparing Jena to synthetic control groups.
You don't have to be so cynical, because some people might have deep-down issues, and the posturing is a way to hide it. They just want to be liked, and so they "cheat", and that's why they are biologically "punchable". Cheating is punished.
Sidekick Browser
Its actually incredible how ugly fonts render on windows. After using linux for so long I thought I was experiencing a bug when seeing fonts on windows.
"Human right" is one of those sacred terms that are supposed to mean so much but mean nothing. "Human rights" are just superstitious conventions about what's good/bad. "No one can deprive you of housing" oh look I am gonna set up my tent here in this warm shop and claim human rights protection.
Someone else posted this recently in a similar thread:

https://css-tricks.com/snippets/css/system-font-stack/

where you have a list of system fonts across platforms that for serif, sans-serif and monospace. always looks good & no extra downloads
This. The best advice I have received is from people who never intended to share it and were almost shy about it. It's only thorough my observation that I learned about their skill.
Anecdotal, but my city made masks mandatory both indoors and outdoors about a month ago with €250 fine for non-compliance. Other measures roughly stayed the same. Prior to that, roughly one in every 88 people were considered to be active cases. Today, that number is one in every 121.

Of course this is just my rough calculation (latest population census divided by the number of active cases), and the number is expected to improve somewhat as the amount of population with antibodies increases, but I'm pretty sure masks help.
> countries that had it "easy" in the spring are hit harder now

Not all. At least here in Norway we had about double the confirmed infection rate on 12th November (771) that we had in the early peak on 26th March (423), 7 day averages. We are now down to 110 per 100 k people (14 day average).

But on the 9th March 17% of tests were positive, on the 18th of November it was 3.5%, now it is only 2.2%. But we test a lot more people now; 6k tests per day in the early peak in the spring, 31k in November, now about 90k per week, roughly 1600 per 100k people.

Here the second wave was regarded as rather serious but the threshold for regarding things as bad is rather lower than is usual in Europe; in comparison with most of our peers and neighbours we have it pretty good.

Sources: https://www.vg.no/spesial/2020/corona/#norge, https://www.vg.no/spesial/2020/corona/norden/
Three Cheers for Solutionism?
There is a pervasive view that they have scifi technology that someone had to program

I think after various leaks that idea did evaporate a lot
My uni had deals with Silicon Graphics, Sun and Apollo... I am showing my age here, but there is nothing new in this. Or unhealthy really.
As a professor in a computer science department at a state run university (that has one of the oldest CS departments in the nation), I actually am far more afraid of the book publishers than "big tech". They are going down the road of "who needs uni, just use our text, our online learning aids, our online _courses_"... With each new ad from the textbook publishing company, I see a push to have learners just use their material... the large problem is the university expects you to use books from well known publishers, so they have leverage to get you to use the book+material.

Big tech giving software and courses is one thing, but those come and go... it is like learning to use any tool, hey do you use a DeWalt or Milwaukee? Each are the same but different. In 10 years, you might use a completely different tool, but the tool was just that, it is the ideas and concepts that you are supposed to learn in (and outside of) the classroom. It is my job to teach you _how_ to solve problems, perhaps using the DeWalt or the Milwaukee or both.

Eh, as others have noted, companies have been donating for years, we could argue that grants shape our research too, but as long as professors keep the goal in mind (how do I get students to effectively and efficiently solve problems using available tools of the day), I think our future will be alright.
>Where are the "if it's not a double blind study where you isolate a variable, you haven't proven anything" people when we need them!

Yes if only we had a second Earth.
NASA to pay company $1 (£0.74) to collect rocks from moon
The situation is what it is.

That said "communicating via electronic channels" is not an insurmountable problem. It could be turned into and advantage. If union organizers post a letter, video or whatnot... amazon employees can see it. If people want to sign up to an unsurveiled "stream," they can.

The reality of secrecy and anonymity are what they are. Amazon are feisty, but they aren't the KGB. Secrecy is hard, probably unattainable. Anonymity is doable, but not default. Circulation is easy, assuming recipients are into it. etc.
> Reading a bunch of popular bestseller self help books doesn't actually teach you anything, even if you read 5000 of them.

Agree. Your time in life is finite, so one should read only the good stuff (and yes, objectively, some books are better than others).
It depends.

In Firefox, disabling "Allow pages to choose their own fonts" does not completely block web fonts (as setting gfx.downloadable_fonts.enabled to false would); what it does is to prioritise the default fonts, and move any page-specified fonts to the end of the fallback list.

This means that for "normal" text, the browser's default fonts will be used, but if there are Private Use Area character codes that are only supported by the site's custom webfont, it'll still get used for those. So icon fonts that are based on PUA code points will still work.

What doesn't work in this scenario is when the icon font doesn't encode its icons in the PUA, but uses normal Unicode characters -- either symbol code points that are supported by the system's default fonts, or as some icon fonts do, regular English words that then use ligature rules to produce the icon glyphs. (So the icon font contains OpenType mappings such as "phone" -> [phone icon].) In this case the content on the page will end up rendered using the default font instead.

[Edited: HN doesn't let me include an actual phone icon there, apparently.]
That really depends on the particular policeman you find.

Once I was having lunch with some friends in a park and one of us was drinking a beer can. We were alone there and, certainly, not causing any problem. The police approached us and fined my friend for drinking in public (I don't remember how much it was, this was some years ago). I live in front of a park now and I've seen similar things. I've also been drinking many times in public without any problem, and I am quite sure the police noticed us.

The Netherlands is, in general, a very tolerant country, but not as much as some people think. Maybe it is compared with America (although, in my very limited experience, I've never had any problems with the American police), but the difference with most European countries is quite moot.
Better programmers on C can't effecicely eliminate whole classes of the most common fatal security vulnerabilities.

Of course after we do eliminate these low hanging fruit, we will be left with a pie of the remaining classes of vulnerabilities that looks different, it's like Amdahls law. But that's no excuse to skip past "step 1".
What lunatic would strip hinting!?

Is this really done?
AWS should pay a special Enterprise agreement to companies like MongoDB and Timescale so they could really host and resell the product. It would be good for users and license owners, and I guess for AWS also. GCP and Azure would soon follow.
If my friends made a habit of giving unsolicited advice for things that they don't have the results to show for what they are preaching, we wouldn't be friends for long.

So, yeah, I wish people applied some self-restraint when posting these things. As much as we can develop a bullshit detector, there is only so much time we can spend calling out BS vendors in our lives.
These slides on Bit Hacks are interesting too if you're looking for a more verbose presentation on some of these:

https://ocw.mit.edu/courses/electrical-engineering-and-compu...

Also, curiously enough, I was on the page in the submission after a co-worker asked yesterday if there was a cleaner way to do:

return direction === 'asc' ? value : -value;

Was fun to work through how https://graphics.stanford.edu/~seander/bithacks.html#Conditi... works. (no, we didn't change our javascript code to use the bit hack)