home.social

Search

7 results for “anand7253”

  1. What private DNSCrypt or DNS-over-HTTPS services running some foss software do you use?
    Preferably owned and hosted in Europe.

  2. I'm giving up.
    I have been defeated by the spaghetti.
    I will... add comments.
    How terrible.

  3. I'm still designing my language.

    Why not just introduce RegExps into pointers?

    int *a; /* nonnull pointer to single int */
    int *?a; /* can-be-null pointer to single int */
    int +a; /* nonnull pointer to array begining */
    int +?a;

    Isn't using the nonnull __attribute__ a bit long?

    Now yes, I don't see the point of + and +?, but there is the 'array of unspecified length' syntax:
    int *argv[];
    so why not?

  4. Vim is so intuitive and convenient

    I just typed `:imap dirs $partial_content.directories` and it worked exactly as expected.
    And removing the mapping is just as easy: `:iunmap dirs`.

    I wonder if Vim isn't just the thing joining one letter short, fast to type variable names with meaningful variable names :)

  5. I don't care about doing stuff the right way.
    I do it in an effective way that works.
    For example: I have a function that recursively copies a small tree, built on the stack with pointers to rodata, each node has a name assigned to it.
    How do I make the nodes from one tree have different names to those of the nodes from the other tree?
    Simple.

  6. I'm starting to insert comments into my redo to remember the meanings of variables.

    I know the variable names should speak for themselves, but they don't... as usual :blobcatnotlikethis: :blobcatshrug:

  7. After an update of my laptop, the \l in /etc/issue started expanding to -, not ttyN.
    From the manual: agetty(8) accepts the port as a pathname relative to /dev or '-' for the current terminal.
    And using htop(1) I observe that aggetty is called as follows:
    /sbin/agetty -o -p -- \u --noclear - linux
    Probably '-p -- \u' is one argument

    So now I just need to convince systemd to give the terminal device name instead of '-'.
    Sigh