Readit News logoReadit News
stirfish commented on Thought-Terminating Cliché   en.wikipedia.org/wiki/Tho... · Posted by u/walterbell
philipallstar · 10 hours ago
Well, I know that it sounds perfectly logical and unbiased, but "thought-terminating cliché" is actually a populist, right wing racist dogwhistle that demeans women and minorities.
stirfish · 9 hours ago
Let's agree to disagree
stirfish commented on LinkedIn checks for 2953 browser extensions   github.com/mdp/linkedin-e... · Posted by u/mdp
throwaway808081 · 4 days ago
Just have a database of UUIDs. Seems pretty trivial to generate and sort as it's only 16 bytes each.
stirfish · 4 days ago
lol

Let's go a step further and just iterate through them on the client. I plan on having this phone well past the heat death of the universe, so this is guaranteed to finish on my hardware.

  function* uuidIterator() {
   const bytes = new Uint8Array(16); 
   while (true) {
     yield formatUUID(bytes);

     let carry = 1;
     for (let i = 15; i >= 0 && carry; i--) {
       const sum = bytes[i] + carry;
       bytes[i] = sum & 0xff;
       carry = sum > 0xff ? 1 : 0;
     }
 
     if (carry) return;
   }
 }
 
 function formatUUID(b) {
   const hex = [...b].map(x => x.toString(16).padStart(2, "0"));
   return (
     hex.slice(0, 4).join("") + "-" +
     hex.slice(4, 6).join("") + "-" +
     hex.slice(6, 8).join("") + "-" +
     hex.slice(8, 10).join("") + "-" +
     hex.slice(10, 16).join("")
   );
 }
This is free. Feel free to use it in production.

stirfish commented on Notepad++ hijacked by state-sponsored actors   notepad-plus-plus.org/new... · Posted by u/mysterydip
ryandrake · 8 days ago
Similar comments also come up in the [now regular] "I don't want to see political articles on HN" threads, and I think the response is similar: Asking for "no politics" is itself a strong political view: One in support/service of whatever the current status quo is. Trying to set oneself apart from (or above) politics is itself political. If you're lucky enough to be one of the fortunate people on earth who are not under attack by political forces or who benefit from status quo politics, I'd encourage you to simply reflect on that good luck and try to ignore the "politics" that others are deeply affected by and care about.
stirfish · 8 days ago
Sometimes when the politics deeply affects you, you just need a little break from it.
stirfish commented on BYD's cheapest electric cars to have Lidar self-driving tech   thedriven.io/2026/01/11/b... · Posted by u/senti_sentient
tim333 · a month ago
They don't have to die first. The company can avoid the expense by planning how not to kill people.

If you charged car makers $20m per pedestrian killed by their cars regardless of fault you'd probably see much safer designs.

stirfish · a month ago
> They don't have to die first. The company can avoid the expense by planning how not to kill people.

This is an extremely optimistic view on how companies work

stirfish commented on Why does a least squares fit appear to have a bias when applied to simple data?   stats.stackexchange.com/q... · Posted by u/azeemba
bgbntty2 · a month ago
I haven't dealt with statistics for a while, but what I don't get is why squares specifically? Why not power of 1, or 3, or 4, or anything else? I've seen squares come up a lot in statistics. One explanation that I didn't really like is that it's easier to work with because you don't have to use abs() since everything is positive. OK, but why not another even power like 4? Different powers should give you different results. Which seems like a big deal because statistics is used to explain important things and to guide our life wrt those important things. What makes squares the best? I can't recall other times I've seen squares used, as my memories of my statistics training is quite blurry now, but they seem to pop up here and there in statistics relatively often, it seems.
stirfish · a month ago
I haven't done it in a while, but you can do cubes (and more) too. Cubes would be the L3 norm, something about the distance between circles (spheres?) in 3d space? I need to read about norms again to tell you why or when to choose that, but I know the Googlable term is "vector norms"

I remember one is Manhattan distance, next is as-the-crow-flies straight line distance, next is if you were a crow on the earth that can also swim in a straight line underwater, and so on

stirfish commented on Total monthly number of StackOverflow questions over time   data.stackexchange.com/st... · Posted by u/maartin0
fragmede · a month ago
Human psychology is fascinating. If I say I'm cool, I'm full of myself. If someone else says that I'm cool, that hits different. So is reverse psychology.
stirfish · a month ago
Hey fragmede, you are cool.
stirfish commented on Total monthly number of StackOverflow questions over time   data.stackexchange.com/st... · Posted by u/maartin0
jbreckmckye · a month ago
Oh I love that game! (At least I think it's a game)

You ask how to do X.

Member M asks why you want to do X.

Because you want to do Y.

Well!? why do you want to do Y??

Because Y is on T and you can't do K so you need a Z

Well! Well! Why do you even use Z?? Clearly J is the way it is now recommended!

Because Z doesn't work on a FIPS environment.

...

Can you help me?

...

I just spent 15 minutes explaining X, Y and Z. Do you have any help?

...(crickets)

stirfish · a month ago
How do I add a second spout to this can?

...

Well, the pump at the gas station doesn't fit in my car, but they sold me a can with a spout that fits in my car.

...

It's tedious to fill the can a dozen times when I just want to fill up my gas tank. Can you help me or not?

...

I understand, but I already bought the can. I don't need the "perfect" way to fill a gas tank, I just want to go home.

stirfish commented on Total monthly number of StackOverflow questions over time   data.stackexchange.com/st... · Posted by u/maartin0
Alupis · a month ago
People in this thread are missing another key component in the decline of StackOverflow - the more experienced you become, the less useful it is.

The harder the problem, the less engagement it gets. People who spend hours working on your issue are rewarded with a single upvote. Meanwhile, "how do I concat a string" gets dozens or hundreds of upvotes.

The incentive/reward structure punished experienced folks with challenging/novel questions.

Pair that with the toxic moderation and trigger-happy close-votes, you get a zombie community with little new useful content.

stirfish · a month ago
Remember when the R developers would ask and answer their own basic questions about R, essentially building up a beginner tutorial on stack overflow? That was a cool time
stirfish commented on More dynamic cronjobs   george.mand.is/2025/09/mo... · Posted by u/0928374082
petepete · a month ago
The GOV.UK website has a list of UK bank holidays on it. If you add a .json to the end of the URL you get this, a thing of beauty.

https://www.gov.uk/bank-holidays.json

stirfish · a month ago
Neat, what does bunting mean in this context?
stirfish commented on I don’t need a Steam Machine   brainbaking.com/post/2025... · Posted by u/ingve
graemep · 3 months ago
People will buy a Steam Machine who would not buy a Linux desktop.

The perception and the marketing are very different. it is small and looks like games console. This is something people will buy instead of a Playstation or a gaming PC. A lot of people buying it will not know what Linux is.

If you look at this page:

https://store.steampowered.com/sale/steammachine

It does not use the word "Linux" at all and only mentions Arch and KDE right at the bottom of the specs.

> Linux has less problems than Windows now.

I agree, and it has been my experience for the last few years. I am not a gamer nor do I use any of the software you mention so its even better for me. I am very glad not to be using Windows 11 from what I hear of it.

stirfish · 3 months ago
>People will buy a Steam Machine who would not buy a Linux desktop.

I have a Linux desktop and a mental block around playing games on a computer. The computer is supposed to be where I work or write code, etc. If I have leisure time, I "should" do something away from the computer.

Getting a steam deck let me shake some of that. I'd be very tempted by a box that is a Linux computer, but for fun use only.

u/stirfish

KarmaCake day503March 25, 2021
About
pronounced like an adjective
View Original