Readit News logoReadit News
Tistron commented on Communities are not fungible   joanwestenberg.com/commun... · Posted by u/tardibear
Carrok · a day ago
I can’t disagree with this more. Even on discord I have four accounts for different contexts. One, my real name. Another, my gaming name. Another, my music/stage name. Another still, a different gaming name. Why? Because I don’t want people in any of those contexts knowing anything about who I am in the other contexts. This is a feature, not a bug.
Tistron · 21 hours ago
Having global identities that move with you between networks doesn't mean that your identities need to be singular nor openly tied to your government identity.
Tistron commented on Devuan – Debian Without Systemd   devuan.org/... · Posted by u/smartmic
fernandotakai · 15 days ago
same. i still remember how painful it was to setup services without systemd.

having to manually deal with daemons was so painful, to the point of being exoteric.

Tistron · 15 days ago
Exoteric is the opposite of esoteric, which is the word you mean :)
Tistron commented on jQuery 4   blog.jquery.com/2026/01/1... · Posted by u/OuterVale
Zardoz84 · 25 days ago
const $ = document.querySelectorAll
Tistron · 25 days ago
I usually do

   const $ = (s, e = document) => e.querySelector(s)
and a similar one for $$.

Tistron commented on Round and Round   futilitycloset.com/2026/0... · Posted by u/beardyw
Tistron · a month ago
I take it that the squirrel didn't circle the man? Two squirrels running around the same tree, are they circling each other? Or is it that when two bodies are orbiting the same center, then the body with the larger orbit is circling the one with the smaller? What is the definition of "circling"?
Tistron commented on You can make up HTML tags   maurycyz.com/misc/make-up... · Posted by u/todsacerdoti
tombert · a month ago
Huh, I would have sworn that Internet Explorer had the blink tag at one point, but I think my parents had Netscape and then Mozilla pretty early so maybe that's what I'm confusing it with.

Regardless, I stand by my comment. Monsters! I want my browser to be obnoxious.

Tistron · a month ago
I think I remember reading articles about how to implement blink in IE using behaviors, some IE only thing that didn't take hold(?), Maybe this was around IE5.
Tistron commented on 4 billion if statements (2023)   andreasjhkarlsson.github.... · Posted by u/damethos
imtringued · 2 months ago
You can do it even faster with the if statements:

    #include <stdio.h>
    #include <stdlib.h>

    int main(int argc, char *argv[])
    {
        if (argc < 2) {
            fprintf(stderr, "Usage: %s <string>\n", argv[0]);
            return 1;
        }

        char *s = argv[1];
        int i;

        /* find the end of the string */
        for (i = 0; s[i] != '\0'; ++i)
            ;

        /* make sure the string wasn't empty */
        if (i == 0) {
            fprintf(stderr, "Error: empty string\n");
            return 1;
        }

        /* last character is at s[i - 1] */
        char d = s[i - 1];

        if (d == '0')
            printf("even\n");
        if (d == '1')
            printf("odd\n");
        if (d == '2')
            printf("even\n");
        if (d == '3')
            printf("odd\n");
        if (d == '4')
            printf("even\n");
        if (d == '5')
            printf("odd\n");
        if (d == '6')
            printf("even\n");
        if (d == '7')
            printf("odd\n");
        if (d == '8')
            printf("even\n");
        if (d == '9')
            printf("odd\n");
    
        return 0;
    }

gcc -std=c11 -Wall -Wextra -O2 -o check_digit check_digit.c

./check_digit 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999

Tistron · 2 months ago
You can do it even even faster by replacing your if statements (works because the ascii values end in the digit they represent):

    if (d & 1)
       printf("odd\n");
    else 
       printf("even\n")

Tistron commented on Notes on Bhutan   apropos.substack.com/p/no... · Posted by u/sg5421
seanmcdirmid · 2 months ago
I don’t think Bhutan has ever had any relationship with the Dalai Lama, there Buddhism is derived from Tibetan Buddhism but is a different school. The article is weird to suggest that Bhutan has some sort of role in the future relating to Tibet Buddhism leadership, it’s much more likely to come from India.
Tistron · 2 months ago
The article doesn't suggest that Bhutan has a future in the leadership of Tibetan Buddhism, but that when/if Tibetan Buddhism gets more fractured because of disputes around lineage, then Bhutan can become globally important in the thought leadership of Buddhism more generally, or maybe more specifically Vajrayana Buddhism.
Tistron commented on Mosquitoes discovered in Iceland for the first time   cnn.com/2025/10/21/climat... · Posted by u/breve
throwway120385 · 4 months ago
On old enough maps, I thought it was sometimes spelled Island not Iceland.
Tistron · 4 months ago
Yeah, is-land means ice-land in Scandinavian languages.

u/Tistron

KarmaCake day589January 27, 2017
About
[ my public key: https://keybase.io/einarmagnus; my proof: https://keybase.io/einarmagnus/sigs/GoM3KC9FFCWY9_x8_iu-eevnT0KXfO6oY4cG4V1gFQU ]
View Original