In-reply-to » @movq I clone the important stuff on two separate clusters, but both are in my house. One of these days I'm planning to ask my brother to put a server of mine in his house, and then we can cross-clone for offsite backups that don't require the cloud.

Been thinking this too 👌

⤋ Read More
In-reply-to » I tried to clean up in the shop and I finally found my sketch for the wood glue bottle holder from several years ago. Mission accomplished! (I was too lazy to simply take measurements from the old holder.) Three stacked holes needed to be drilled in a block of scrapwood. If the bottle is running low and stored upside down in this holder, I'm always prepared to immediately apply glue without impatiently waiting for it to make it into the nozzle and shaking the glue bottle like a madman. You all experienced a ruined barbie when some crazy folks failed to put back the ketchup bottle properly. Just that PVA glue is more viscous than this red sauce.

@lyse@lyse.isobeef.org Haha too true 😆

⤋ Read More
In-reply-to » @JoeSondow If Amazon thinks retrying a function is idempotent, then wouldn't best practice be to make that true? By storing "I posted today" somewhere maybe with a Mastodon post ID? But if you have no database set up then that would be a lot of trouble...

@aburka@hachyderm.io Their contract is just, if you throw an error, they’ll retry, so don’t throw an error if you don’t want a retry. It’s fair. Just means you gotta wrap your stuff to prevent an error throwing if you think there’s any risk.

⤋ Read More
In-reply-to » 7. So how do we fix the problem? Add some logic to check whether each bot has any content scheduled for today. If no content exists for today, don't assume there is any, don't try to get today's content for that bot. And for good measure, since I might add another bot into this function years from now and forget about this issue, wrap the whole function in a try-catch block to log any errors without reporting them as failures to AWS. Better too few posts on a bad day than a bunch of duplicates.

@JoeSondow@dice.camp If Amazon thinks retrying a function is idempotent, then wouldn’t best practice be to make that true? By storing “I posted today” somewhere maybe with a Mastodon post ID? But if you have no database set up then that would be a lot of trouble…

⤋ Read More

I tried to clean up in the shop and I finally found my sketch for the wood glue bottle holder from several years ago. Mission accomplished! (I was too lazy to simply take measurements from the old holder.) Three stacked holes needed to be drilled in a block of scrapwood. If the bottle is running low and stored upside down in this holder, I’m always prepared to immediately apply glue without impatiently waiting for it to make it into the nozzle and shaking the glue bottle like a madman. You all experienced a ruined barbie when some crazy folks failed to put back the ketchup bottle properly. Just that PVA glue is more viscous than this red sauce.

New wood glue bottle holder ready to be used

⤋ Read More
In-reply-to » Time to dive into threading and c++. I will start with making the file/image downloader threaded, then I'll make the timeline fetching and all that threaded as well.

@stigatle@yarn.stigatle.no I’d imagine that you’d be mostly dealing with GLib functions in your case. 🤔 GTK/GLib has its own event loop and you’re probably screwing things up if you’re using something like pthreads directly. 🤔

⤋ Read More
In-reply-to » Boy, do I dislike summer. Good thing we continue to fuck up the planet, so it’ll get worse every year. 👌

@movq@www.uninformativ.de Welcome to the club, mate. 26°C, bah! Luckily, the shutters kept the heat outside. For today. However, the computer fan going berserk when compiling and running heavy software stacks doesn’t help this at all.

⤋ Read More

I have to admit I’m very impressed with wsl2, they have done a damn good job on that. Makes it very easy to develop linux stuff on windows when needed. And removes the need for virtual machine or dualbooting etc. Also they have done a really good job integrating it with vscode.

⤋ Read More