Hot take, C is better then C++. It really just has one unique footgun, pointers, which can be avoided most of the time. C++ has lots of (smart)pointer related footguns, each with their own rules.
Hot take, C is better then C++. It really just has one unique footgun, pointers, which can be avoided most of the time. C++ has lots of (smart)pointer related footguns, each with their own rules.
Prevent subprocess from killing itself until finished.
This is actually how you should declare something that you will never change, but something might change externally, like an input pin or status register.
Writing to it might do something completely different or just crash, but you also don’t want the compiler getting creative with reads; You don’t want the compiler optimizing out a check for a button press because the “constant” value is never changed.
What ever happened to the badly drawn comic memes, I liked those.
Security from what? Get a threat model.
A NAT will restrict connections from the internet, but won’t stop attacks from your local network. As your network grows, it might be a good idea to isolate shitty IOT devices (firmware is often full of holes), home internet and sensitive devices like cameras.
Where thinkpad?
I reserve comments for explaining why a section of code is needed or explaining how a complex algorithm works.
i = 0; // Set i to 0
is pointless.
if (last_output_vertex[i] == bounds[i]->length - 1) contibuting_bounds[i] = NULL; // stop outputting a bound if the entire bound has been output
is helpful.
In my experience it really depends on the language, Python apps constantly breaks, Java sometimes works and C nearly always works. (I have seen 40 year old programs that compile without any changes) When it comes to binarys however, C is horrible because even a hello world (by default, this can be changed) uses several hard coded library paths.
Copy the entire SD card (both partitions) with a tool like dd to a file.
Backups people backups. You don’t realize how much you want them until it’s too late to make them.
You got it to crash your kernel? I only ever got it to crash the editor. :(
Fine, discrete transistor logic.
Oh so that’s why you can’t buy them anymore, people are using them as microcontrollers.
Meanwhile the pacman -Syu
sect:
If you don’t bother to provide any argument, I won’t bother to argue.
Compress Zee Vucking Files: tar -czvf out.tar files.
For alerts I just have the server directly send email over SMTP to my address, no service needed. You could implement DKIM with such a setup if you wanted to.
Kittybox: old laptop that my cats like sitting on
Thinbox: new laptop that is thiner then kittybox.
Tallbox: desktop
Tinybox: BeagleBone black single board computer acting as server
Using Linux with obscure hardware (CNC mills, chromatographs, etc) is a bit like punching yourself in the nuts, but still free.