Show more

I told a senior architect that I spent the Christmas holiday learning Rust and he immediately asked if one could use it to build Rust-ful services.

How did I not think of that?

Probably the think I find most irritating about Rust so far is its choice not to use a return keyword. Instead I'm supposed to just leave the semicolon off the end of an expression? If there's another language like that, I don't know of it, and so it seems like a deliberate choice to *not* be like every other programming language.

The point in favor of continuing with Rust is that I don’t think I’ve gotten over the hill or being maximally productive yet. Might be more fun once I get there.

I thought it would be fun to implement a Git repo viewer as a CGI script in Rust. It isn't that much fun. Trying to decide if I'll keep going, implement in Python, or implement in C.

Friends don't let friends run long-running services in systemd without PrivateDevices, PrivateTmp, ProtectSystem, and ProtectHome

Got it working! The issue was that I was re-writing in nginx.conf to make pretty urls (i.e., omitting the index.php) and this was throwing off the PHP interpreter until I set front_controller_active = true in its environment.

Seems like HTTP queries to / return a 503. I would bet that’s a step closer to a root cause. But I can’t figure out what’s causing that behavior.

Anyway, guess I’ll have to pick this up again tomorrow.

Seems to be related to the authentication (I guess hence the 401 and 403 errors). If I flush the session and browser caches I can’t even log in. I just keep getting returned to the login screen. I guess I need to look into how authentication tokens get passed around.

Still don’t know why I would be getting 412 errors...

Okay, so I really want to run Nextcloud behind a uWSGI vassal (with the half-dozen other webapps on my server), but for some reason when I do I get XHR failures like crazy (see image). Runs fine under php-fpm.

I've been working on this all day without much progress. Any of you fediverse geniuses have any ideas what I should be looking at?

Mine is triceratops, by the way. Always has been.

A wise man once said, “The worst part about being a grownup is that no one asks you anymore what your favorite dinosaur is.”

Let’s crowd-source this. my father-in-law came back from China with this picture of a sign, posted at a men’s room urinal. We feel like 1, 3, and 4 are pretty obvious, but what’s going on in 2?

Is CMake the standard for compiling bigger C projects? Or are handcrafted Makefiles still de rigueur?

Silicon Valley, language 

Show more
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either! We adhere to an adapted version of the TootCat Code of Conduct and have documented a list of blocked instances. Ash is the admin and is supported by Fuzzface, Brian!, and Daniel Glus as moderators. Hosting costs are largely covered by our generous supporters on Patreon – thanks for all the help!