I’ve finally powered on a 15 year old machine to run a bot I’ve been writing. The thing is slow as dirt and stuck behind a flakey power line network, but it’s working. I got to write my first systemd service definition, which is kind of cool.
I’ve finally powered on a 15 year old machine to run a bot I’ve been writing. The thing is slow as dirt and stuck behind a flakey power line network, but it’s working. I got to write my first systemd service definition, which is kind of cool.
just one little drop
Joining an existing project would be more helpful.
Phew. Glad that bug got papered over 9999 years ago, so we won’t have to deal with it.
Screenshots are also disabled.
Instead of returning a random number, what if we make the program guess?
Nice!
you just need to say the magic words…
The Venn diagram of Lemmy users and Outlook users is probably pretty close to two separate circles. I’m sure there’s some commonality, but probably not a lot.
Debugging. It’s a whodunnit where the victim, murderer, and investigator are all you.^(apologies to Filipe Fortes)
As someone who has tried to make useful and accurate progress bars: fuck progress bars.
I thought those were for only when shit is seriously wrong and execution can’t continue in the current state.
That’s how it starts. Nice and simple. Everyone understands.
Until
some resource was in a bad state
and you decide you want to recover from that situation, but you don’t want to refactor all your code.
Suddenly, catching exceptions and rerunning seems like a good idea. With that normalized, you wonder what else you can recover from.
Then you head down the rabbit hole of recovering from different things at different times with different types of exception.
Then it turns into confusing flow control.
The whole Result<ReturnValue,Error> thing from Rust is a nice alternative.
I remember getting these for games. They were awesome, but they never fit my keyboard.
I love shitting on Python, but I feel like all those problems are present in libraries for other languages as well. There’s a tonne of that crap for JS/TS.
Similarly, I find a fair number of Rust crates (that I want to use) have virtually no doc or inline examples, and use weird metaprogramming that I can’t wrap my head around.
I am brainstorming right now.
M E T A
What is spilled cannot die
My machine is not a workhorse. I got it second hand. It has around 8gb of RAM, and an 80gb HDD I found in a laptop.
But it’s enough to work as a testbed, so it’s fine with me.