cherrykraken

joined 2 years ago
[–] cherrykraken@lemmy.ca 3 points 6 months ago

During a high school English class, we had a section on fairytales and their origins in old European folklore (think stories that inspired The Witcher, the gorier version of Cinderella, etc.)

One of the assignments was to write our own short fairytales, but apparently I was the only person that got a memo that these should have a darker style and tone as well... I don't remember the whole of what I wrote, only that it involved trying to kill a witch, if you failed you died, and the winning method was using a pencil (this was 3-4 years before John Wick).

After I read it to the entire class... well if there wasn't a whispered "WTF" to break the silence, there should've been.

I think I got a B minus.

[–] cherrykraken@lemmy.ca 21 points 6 months ago* (last edited 6 months ago) (1 children)

Carmy: "Cooking is not fun for me."

Richie: "Yeah, but you love it."

Carmy: "That doesn't mean it's fun."

Richie: "If this shit is not fun for you, Cousin,what the fuck is fun for you?"

-- The Bear, S2 E1

[–] cherrykraken@lemmy.ca 7 points 6 months ago (2 children)

I've actually been investigating Postgres cluster configurations the past 2 weeks at work (though we're considering CloudNativePG+Kubernetes on 3 nodes spanning two physical locations).

One thing I might recommend is to investigate adding a proxy like PgBouncer in front of the databases. This will manage request differences where write-queries must go to the primary, but read-queries may go to any of the replicas as well.

It should also better handle the recycling of short-lived and orphaned connections, which may become more of a concern on your stage 3, and especially on some stage 4.

[–] cherrykraken@lemmy.ca 3 points 6 months ago (1 children)

Regarding access tokens, there's a third party credential helper for Linux that uses OAuth. I recently found it and started using it a month ago. Works pretty much the same as Git + Windows Credential Manager. In case you are running headless, there is a device mode flag that will allow you to login with the GitHub app on your phone.

https://github.com/hickford/git-credential-oauth

(And if you layer a timed cache helper before the OAuth helper... well you shouldn't have to reauthenticate every time!)

Otherwise, the Git manual lists some other credential helpers that interface with some password managers.

https://git-scm.com/doc/credential-helpers

[–] cherrykraken@lemmy.ca 3 points 8 months ago (1 children)

My city has fully integrated the Transit app into our bus system, so you can also buy and scan your tickets within the app, including monthly passes and 10-use "punch cards". Just activate the QR code as you're boarding. It's awesome.

[–] cherrykraken@lemmy.ca 3 points 1 year ago (1 children)

I personally use rdfind as it has an option to replace duplicates with hardlinks instead of deleting them outright (if on the same filesystem). This is useful if you do still need a file to exist at multiple paths.

I then use Czkawka for everything else, especially for similar, non-duplicate files.

view more: ‹ prev next ›