Explore >> Select a destination


You are here

blog.pwkf.org
| | ravendb.net
5.1 parsecs away

Travel
| | I previously askedwhat the code below does, and mentioned that it should give interesting insight into the kind of...
| | blog.oddbit.com
5.4 parsecs away

Travel
| | Overview I was recently working with someone else's C source and I wanted to add some basic error checking without mucking up the code with a bunch of if statements and calls to perror. I ended up implementing a simple must function that checks the return value of an expression, and exits with an error if the return value is less than 0. You use it like this: must(fd = open("textfile.txt", O_RDONLY)); Or:
| | todbot.com
3.6 parsecs away

Travel
| |
| | rolisz.ro
32.7 parsecs away

Travel
| I often need to set up a VM with a server to run some ML models. While I could package things in Docker and deploy them like that, whenever possible, I like to do things more directly, using systemd services. To create a systemd service, create a file called /etc/