Search
7 results for “anand7253”
-
What private DNSCrypt or DNS-over-HTTPS services running some foss software do you use?
Preferably owned and hosted in Europe. -
I'm giving up.
I have been defeated by the spaghetti.
I will... add comments.
How terrible. -
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?#programming #languageprogramming #c #pointers #regex #regexHumor #humor #becauseWhyNot
-
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 :)
-
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. -
I'm starting to insert comments into my #HTTPclient redo to remember the meanings of variables.
I know the variable names should speak for themselves, but they don't... as usual :blobcatnotlikethis: :blobcatshrug:
-
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 argumentSo now I just need to convince systemd to give the terminal device name instead of '-'.
Sigh