skysight-inc/HackerNews huggingface dataset:
POPCNT was not from the future, it was from the past.

The Intel designers only assumed that this belongs to the operations that would not be frequently used in the applications expected for their processors.

This was caused in part because they were not personally familiar with such applications. Even if POPCNT actually has a very wide area of applicability, during the seventies of the 20th century the only people who were concerned with the speed of executing POPCNT were some who worked at cryptographic applications and at that time almost all such work was classified.

However, with such operations there is always a chicken and egg problem. When they are not implemented in hardware, the programmers and the compiler writers avoid expressing algorithms with them and use various workarounds to implement in a different way the algorithms that would benefit from them.

This leads to a low frequency of use of such operations, which is then used to justify that it is not necessary to implement them in hardware.

The correct analysis whether such operations would be worthwhile when implemented in hardware requires much more work in writing alternative versions of various algorithms, to be run in simulated hardware, and this is almost never done.
You do not need to worry about the argument that you are a Boltzmann brain
im sure the same standard would apply if some other huge political news broke… like biden resigning. oh wait
And yet it's exactly this fear of voters abstaining which just ousted Biden as nominee.
The state of calendar libraries in Rust is less than ideal. When working with Pandas, there is .tz_convert() and .tz_localize() and that is basically it for timezone conversions. My benchmark for this is: given a date, get first hour of CET/CEST day in UTC. In Pandas a very simple operation. In Chrono, you have to have a NaiveDate, convert to DateTime<FixedOffset> and then to DateTime<Utc>. And there is no pattern in those conversions I managed to find. Sometimes it is a member function, other times a static method on the timezone object.

I hope somebody will rectify this at some point. Jiff seems like a step in a right direction but the syntax is sometimes weird. I guess I’d wellcome something more predictable
> My trans. "Muriochane/Muiochane

Shouldn't that be 'my(r)iochane'? And wouldn't that be ten thousand instead of one?
Engineering the highest cited cat, Larry
The "Unlicense" is not considered as serious.
Trouble with TRT is it requires either injections, or extremely expensive (in the US) patches. Most people aren’t going to be comfortable giving themselves intramuscular injections every couple of weeks. Going to the hospital to do it takes time and (where I live) about $100/injection. Also, unless your T is way, way too low (not merely in the bottom of the “normal” range, like it is for most men over 40), your insurance will not cover it. But yeah, the benefits are real, even at modest doses - after a few months you can realistically lose 10-20lbs, without doing anything specific to lose weight. The bedroom situation will get a bit livelier, but don’t expect miracles there. Importantly - don’t expect to notice the benefits right away. It takes at least a month to notice anything at the “physician” doses.
And that is an exceptional example. For most modern wars or major conflicts it's nowhere near as bad as 1 in 3.
From the article:

> It is estimated that about 70 percent of the energy generated worldwide ends up as waste heat.

This has me a bit confused and I’m curious if someone has more insight. Doesn’t all energy generated end up as heat somewhere? Like every watt going into a bitcoin mining rig gets released as heat. I’m unsure how you’d determine what percentage of that is waste heat.
Projects considered harmful – Part 1
Sorry to hijack this post, but for affected admins reading this: how is the recovery process going? What is your estimated time to normalcy?

Also, for Linux and especially BSD admins: has this incident affected your perspective on EDR/XDR systems in the kernel? What would you suggest as an alternative to ensure regulatory compliance?
The title doesn't conform to the HN guidelines, dang.
Oh that's weird. I definitely have it served on a plate in one of the restaurants in Cappadocia. The best pistachio ice cream I've ever had.
Thank you for your feedback!

I improved my post (and my carver) by including parsing the program headers as well.

Also, thanks for the suggestion of super-strip. An interesting tool that I will play around with.
What I gather about the author's thoughts about that, he isn't a fan of copyright in general, and uses UNLICENSE as an ideological statement, plus a practical way of saying "do whatever you want with this", but also slaps the option to use MIT as "something almost as good" because non-standard licenses deter corporate types, which kind of defeats the original "do whatever you want" purpose of UNLICENSE :D
Burntsushi has written many important crates in the Rust ecosystem. He started with licensing under Unlicense exclusively, until people requested a dual license with MIT. See this issue from 2016 for more details - https://github.com/BurntSushi/byteorder/issues/26

Almost all of the Rust ecosystem is dual licensed under MIT/Apache 2.0, so this combination is a bit unusual. But the presence of MIT means that it hasn’t been a problem in practice.
Looks like I didn't make myself understood.

I meant that if the voters don't want an 82 year old president, they can just not vote for him.

I did not talk about primaries.
this issue then is, will dumping this stop it stumbling along people...

ie we know nothing much about that area... who's to say it wont suddenly turn up on a beach or in fish or plant life after 50 years of being down there...?
Of Other Spaces, Heterotopias (1967)
"preference voting" and "ranked choice" are largely used as synonyms, as both involve an ordered list of preferences. When I mentioned writing out a list of numbers in order, I was talking about ballot UX design here.

The ordinary case of preference voting is extremely explainable: if more people prefer A to B than prefer B to A, A beats B; pick the candidate that beats everyone else. "It's like running a bunch of head-to-head elections all at once."

They're also really easy to tally into a table: "A ranked above B" is a point for A over B; "B ranked above A" is a point for B over A; A and B ranked equal relative to each other doesn't add anything to either of those two cells.

The corner cases like cycles almost never come up. And even then, it's relatively easy to explain a high-level understanding of the most common methods: "if there's a loop of people who each beat the next one in the loop, ignore the one with the smallest margin of victory". If A beats B in a landslide, B beats C in a landslide, and C very narrowly beats A, A wins.

Also:

> Let's say you're three people and the rankings are ABCD, EBCD and FBCD.

Every ballot implicitly ranks every option, and the usual assumption is that if someone doesn't even care enough to list a candidate, they prefer every candidate they did list over any candidate they didn't list. (There are UX design ideas that could let someone say "this candidate is last" without ordering every candidate, but that adds complexity.) So these ballots are:

A > B > C > D > E = F
E > B > C > D > A = F
F > B > C > D > A = E

Writing it out that way shows that B beats A by 2:1, B beats E by 2:1, B beats F by 2:1, B beats C by 3:0, and B beats D by 3:0. No corner cases or cycles here; a majority of people prefer B to every other candidate.
Fair enough :) I'll think about it too.
Facts > feelings
Thanks, this site is a gold mine. I especially like the optional explanation of panel votes.
Wrt trying to get something out of the crash: https://www.theregister.com/2024/07/19/cyber_criminals_quick.... The conspiracy-minded could be suspicious of the quick response to this outage. "They must have known in advance!" Or they could suspect an overeager account manager at Crowdstrike, who wanted to show how important the product is.

But indeed, this really sounds like it was an internal error.
The brain is plastic, but it does not respond well to being hit with a brick wall. It needs reinforcement in the direction you want it to go.

For example, you treat a phobia through gradual exposure to the source of fear, not through undergoing a sudden overwhelming experience. That usually creates a traumatic response that actually makes the phobia worse.

Likewise, if you want to learn how to read a long book, start with shorter books and work your way up. If you can't sit through a novella and so you try to force yourself to read Crime and Punishment, you will fail — and you risk actually making it harder to read books in the future by strengthening the neural association between reading and feeling bored/frustrated.
No specific intent, sorry, though virtual cards are more effective since they can pick any money directly, no action needed on their former customer part.

I state that because MANY do not see little expenses or even if they see they decide that digging and acting for little money it's not worth, as a result many parasitic companies still exists "sold in bundle" of something else, where they give some breadcrumbs to the one who sell them together and few money per many customers makes them profitable anyway.
There was a group trying to do this literally for this election, but they couldn't get anyone to actually join the ticket: https://en.wikipedia.org/wiki/No_Labels#2024_presidential_ti...
Twitter. Most spam is by paying users
Who knew all this time I was self-medicating
I found the article unbearable and just a convoluted way to say: this incident would have had a lot less impact if CrowdStrike had less customers or more competitors. A real page filler without any insight or solutions, just look at this paragraph, completely void of anything useful.

> This time, the digital cataclysm was caused by well-intentioned people who made a mistake. That meant the fix came relatively quickly; CrowdStrike knew what had gone wrong. But we may not be so lucky next time. If a malicious actor had attacked CrowdStrike or a similarly essential bit of digital infrastructure, the disaster could have been much worse.

Gee, the damage from an honest mistake (what does the author even base that on) is most likely easier to fix than the damage done by a malicious actor with bad intent. I feel so enlightened!
Yeah, they're evil too. As if saying one is evil means that the other isn't? Come on...
Work-in-progress vector search SQLite extension that runs anywhere
People seem to like "mostly correct" summaries though, like most other things AI
A post to HN with a query for how to get in touch with a16z engineering probably would have been fruitful.
Sorry, I should have clarified that Maraş ice cream is sold everywhere, not only in Maraş. It's just the origin of the recipe.
That’s incorrect: Both have hardware support for decoding H265 up to 4K. The difference is H264: the Pi4 still has a hardware decoder (up to FullHD) while the Pi5 doesn’t and will use software decoding as it’s more than fast enough. As it is software, there’s no resolution limit.
Rust will determine what `parse` does based on the inferred return type (which is being explicitly set to `Timestamp` here). This is possible when the return type has `FromStr` trait.
You want a better viewer? Why settle for needing a viewer?

https://gutenberg.org/ebooks/author/51883
Forgive me if I am saying something wrong. But what stops you from uploading a PDF file to GitHub, GitLab, or Archive.org?
Yes, exactly. If a group of anarchists puts up spammy websites optimized for TF-IDF, blocking or downranking them suddenly means you are biased against anarchists.

The flip side is that history is littered with examples of rules which seem neutral on their face but which have very biased intentions. For example “literacy tests” for voting, or poll taxes.
Report anonymously saying you were driving by and saw it?
> If I don't vote, and if many others also stay home, both parties would scramble to gain support and third parties that previously had no chance at least have a potential market opportunity to break the two party system.

That won't work. A non-vote says absolutely nothing about what needs to be done to get that vote. A vast quantity of non-votes are, in fact, not gettable: most non-voters are apathetic and they will never vote, full stop. Many others are, for lack of a better term, snowflakes who will refuse to vote for anyone who does not implement every bullet point of the program that they have in their head, and will therefore never vote, because their standards are impossible to meet.

Basically, most non-voters are either lost causes, really fickle, or have demands that rebuff a larger number of reliable voters and are incompatible with each other -- go and try to figure out who wants what. It's impossible. Parties can't read your mind, if you want better candidates you have to communicate your demands explicitly, and not voting communicates effectively nothing. It's like refusing to choose between spaghetti and curry and secretly hoping they offer you a hamburger instead. They won't. They'll cycle through a dozen other dishes you hate until, perhaps, they randomly stumble upon something you like, (or something you think you like, but ultimately don't.) It's not their fault: you're not telling them what to do! A better methodology is to vote in local races or primaries: that will show up in their statistics, letting them know what it is that you do like.
OK, fair enough... but isn't that the lion's share of "biodegradable" plastic? The reason I say that, is I can assure you it is marketed as such. That it "breaks down" in the environment.

Which it does. Into little pieces. Quite annoying.
`parse` is actually an inherent method on `str` that always exists: https://doc.rust-lang.org/core/primitive.str.html#method.par...

Its return type is generic, and here it's inferred from the left hand side. It's implemented using the `FromStr` trait, and you can equivalently write `Timestamp::from_str(t)`.

You're thinking of the "extension trait" pattern for using traits to add methods to existing types when the trait in scope, but that's not what's going on here. Jiff's `ToSpan` mentioned above is an example of that pattern, though: https://docs.rs/jiff/latest/jiff/trait.ToSpan.html
Any plans for opening video game to Europe? I once wrote to you about availability for individuals to purchase it in Europe, but didn’t get any answer
It’s because Timestamp implements the FromStr trait which is one of the first traits everyone learns about when learning rust. So when you say that your value is a Timestamp and the expression is string.parse()?, the compiler knows that it has to use the implementation which returns a Timestamp.

There will never be two libraries that clash because of Rust’s orphan rule: you can only implement either a trait which you define on any type, or define a foreign trait on a type which you define, so there’s no way for some random library to also ship an implementation of FromStr for Timestamp
Show HN: I was tired of all the productivity apps, so I made one myself
Hey hackers,

Like many of you, I'm always trying to optimize my productivity, and I have tried a lot of apps out there to do so.

I didn't find the exact one that I could use, so I built one for myself.

Check it out and let me know if you have any thoughts!
I think this is a snake oil, but since (as other commenters mentioned) it seems to bring benefits even though it’s mediocre game I have another question.

Would it be possible that ANY video game has a positive effect on ADHD?

I’m wondering because usually games reward focus and provide plethora of stimulus both visually and auditory.
The overall GDP tells you what capabilities exist in total. Life of Russians is significantly more impacted in post because they are redirecting a much larger part of their economy. Let's also not forget that the cold war was with the Soviet Union and not just Russia.
If you like using psql, you might want to try out https://pxlapp.com/home
It’s not anonymous, it’s if anything pseudonymous; it’s clearly labeled as an editorial piece and it’s ascribed to the publication itself, which means it’s the opinion of the publication, and authored by either the editor themselves (if an individual fills that role) or the editorial board / team (if no individual holds the role exclusively).

This is extremely common practice in print journalism, and has been for centuries.

An email to editorial@lancet.com with reference to the DOI will get you through to the author(s).
So haiku has it?
I was highlighting the fact that it isn't simply about knowing the risks.
The unlicense is considered problematic in various jurisdictions, among them Germany - under German law, you cannot relinquish certain rights that are associated with the author at all. Dedicating something to the public domain is not a valid concept here. This means the whole license could be declared invalid in court. Other jurisdictions may be similarly problematic- thus the fallback to MIT

There’s a stackoverflow post that discusses some of the issues https://softwareengineering.stackexchange.com/questions/1471...
I've been dealing with time and timezones for a long time, but this is the first time I have ever seen the "[Olson/Name]" suffix. Is that actually standard?
Watching the video, it's not really clear how this game is substantially different than a normal mobile game. What is the actual mechanism here for treating ADHD?
Crowdstrike does not have a shortage of competitors, there are plenty in this field, at least a dozen. They just happen to be the best, primarily because of their intel, and you wouldn't believe this but because their sensor has always been very lightweight and easy to manage.

The article is barely scratching the surface, supply chain security is a lot more scary than this.
I do manage a few Linux machines (firewall passes only http and https -> nginx -> custom backend), but I'd never heard of Crowdstrike before. I don't even know what their product is supposed to do. As far as I can see, kernel level protection could only help prevent someone bypassing the firewall and trigger an exploit in nginx. But if Crowdstrike knows about such exploits, everyone does, and the firewall or nginx gets patched.

What am I missing?

Edit: I know it is supposed to implement "EDR", but it's always explained in the vaguest of terms.
Because Trump is an idiot but his movement of grifters is not. If Trump was smart he’d have picked a candidate of color. Instead he went with a mediocre Peter Thiel VC plant who wants to make America like the Handmaid’s tale.

I think they were banking on Biden staying in and being stubborn. Do you really think Biden would leave his son’s incarceration up to chance? That he voluntarily left the run for POTUS is huge and while they say they’re prepared I think Trumpville is scared.

If the democrats run an open primary and let the merits of the candidates win they’ll emerge with a slam dunk.
So all a virus has to do is cause the driver to crash.
Of course. Fun fact, the father of Galileo Galilei, Vincenzo Galilei was a musical theorist who, long before Bach, established the idea of equal temperament.

I myself don't believe in before/after thing. It's not that one day all the composers in the world agreed to write music by the book. I think things shifted slowly but steadily along with the technological progress. Compared to Galilei's time, in Bach's era there were more books to learn from, more and better developed instruments, and with the rise of bourgeoisie, more listeners (and musicians).

Bach is just a convenient milestone.
WHQL signifies it is tested and that driver is WHQL certified.
Llama 3 405B just dropped?
this article is an ordeal to read, highly repetitive, has many funny wordings and, spoiler, does not answer the question
> mistake

Funny way of spelling ‘complete failure in functional testing before going to prod causing billions of dollars worth of damage likely due to criminal level negligence’.
Lots of HN Q&A with their CEO from 4 years ago: https://news.ycombinator.com/item?id=25372401

I was a bit surprised that on my first visit to the main mojeek search page the "No tracking. Just search" text entry field was prepopulated with a few suggestions that are personally relevant, possibly from reddit searches I've made!

Is this something the browser manages, or is there some tracking after all, I wonder?
Hypothetically, but parties are also incredibly weak right now.

In California, we run an Open Primary system for every partisan office outside the POTUS so parties can’t even guarantee they’ll get a candidate into the general election even if they are otherwise eligible to put nominees forward and sometimes it’s Democrat vs Democrat (this has been happening for US Senate elections) or in some legislative districts Republican vs Republican.

Then coming from the opposite direction, you had a complete outsider in Trump effectively takeover the Republican Party in 2016 and he’s still holding the reins in 2024. Bernie Sanders almost managed something similar with the Democratic Party and they just barely held strong enough to keep that from happening. Twice.

Frankly political parties are incredibly unlikely to come together to impose any restrictions that would impose any kind of extra burden on their elder members, let alone age-gate them.
No, lots of energy goes into moving large things around. Energy that goes into doing work (as in the physical quantity work) doesn't become heat.
I want to know more about why the update was pushed to every single machine online at that time, ignoring CS sensor update policies that admins use to update test network first, before updating production.
Not sure how that relates to someone's accomplishments being just spending?
They do have the 'adult version' at https://www.endeavorotc.com/
“More than one-third (36.6%) of adults with ADHD moved into the non-clinical, or normative, range (TOVA ACS score of >0)”- https://www.businesswire.com/news/home/20230503005295/en/Adu...

So about as effective as a placebo or sugar pill https://en.wikipedia.org/wiki/Placebo
Free and open-source, self-hostable alternative could be hotglue[1].

[1] https://hotglue.me/
I would expect a bit more in-depth article from Martin Fowler website.

The shown implementation is naive and prone to bugs, for example a race condition. If this id is rapidly changed (say from 1->2), and the first request arrives last, you think you are looking at user 2 but you've loaded data for user 1.

const [user, setUser] = useState<User | undefined>();

useEffect(() => {
const fetchUser = async () => {
const response = await fetch(`/api/users/${id}`);
const jsonData = await response.json();
setUser(jsonData);
};

fetchUser();
}, [id]);

If you don't know what you're doing, use Tanstack Query libs or read a better article.

- https://tanstack.com/query/latest

- https://maxrozen.com/race-conditions-fetching-data-react-wit...
Here is a facsimile of the 2nd unaltered print of Julius Rosenbaum's German original "Geschichte der Lustseuche im Altertume", Halle 1845: https://www.digitale-sammlungen.de/de/view/bsb10474358 -- The first print was from 1839. For the date see his entry in the "Allgemeine Deutsche Biographie": https://de.wikisource.org/wiki/ADB:Rosenbaum,_Georg_August_W...
Caffeine suppresses cerebral grey matter responses to chronic sleep restriction