It's quiet bored in school. So I read the GNU C reference manual on class and found these tricks.

// Allocate n+1 bytes on heap (useful when dealing with strings)
xmalllc (strlen (x));

// Allocate n bytes on stack
alloca (n);

// Print out error message in printf
printf ("%m");

// Concate two strings
strcat (a, b);

// Automatically get a allocated buffer from format
asprintf ("...", ...)

// Check out wordexp if you want to create a shell-like handling

// It has built-in hash table support

Tech youtuber says "you don't need the headphone jack anymore". How about you go fuck yourself shill?! :kirby_angery:

People always say Elon Musk is a genius... yet he hasn't come up with the trivial idea to build a giant refrigerant loop between Earth and Mars to create the biggest airconditioner ever...
Pump all that heat to Mars, solve the warming of the Earth, ezpz.

Shame on you for not realizing this Elon...

Please boost for reach. So, anyone that is working on FOSS projects like web apps, sites, Linux apps, desktop environments, or other user interfaces, please let me know if you want them tested for accessibility. I can do both CLI, web, and GUI testing, and app testing on Android. I'm running Debian (on a ChromeBook but that's not too important), so just give me the name of the package, or the URL of the site or app. I can also do Flatpak!

#a11y #foss #linux #flatpak #accessibility

What got you into tech?

My story:

A few years ago, I was playing a game, I got bored of it and decided to sell the account. However, I had terrible tech knowledge, as well as terrible cybersecurity knowledge in general.

I of course got scammed on the account. My account got banned a week later, since the game noticed weird activity.

Something hit me in the head that I should learn tech. I began learning programming, cybersec etc.

Was worth it :p



Shit. Why there are too much hate speech in social.linux.pizza.

Wait... You just said you hate M$ and Windows. Okay, we're friend. :ablobdj:

"Trans people defy the laws of nature and are a threat to society" Awesome.

While Microsoft claims that the stuff coming out of Copilot is fair use but I see that, in the Copilot terms of service, they put the responsibility on you. Just in case.

"The code, functions, and other output returned to you by GitHub Copilot are called "Suggestions" ... you retain ... responsibility for ... Suggestions you include in Your Code."

Show older
Linux.Pizza

A instance dedicated - but not limited - to people with an interest in the GNU+Linux ecosystem and/or general tech. Sysadmins to enthusiasts, creators to movielovers - Welcome!