[-] dgdft@lemmy.world 57 points 4 days ago

Friends don't let friends use Oracle.

[-] dgdft@lemmy.world 1 points 4 days ago

Tkinter might work, depending on what you have in mind.

[-] dgdft@lemmy.world 34 points 5 days ago

Samples of every form of biological matter we encountered were ingested, and the results were recorded in a logbook. Most of the leaves and twigs were unpalatable, chewy and inert, while the animals universally avoided analysis because they were too fast to catch.

This is a banger. RIP to our boy George.

7
[-] dgdft@lemmy.world 17 points 2 months ago

Just to tail on the “Postgres is a better document DB than Mongo” theme, there’s now a QuickJS procedural extension for postgres (in addition to the earlier but clunkier plv8):

https://github.com/plv8/pljs https://bellard.org/quickjs/quickjs.html

The rub is that you can yeet any document data you like into JSONB columns, and mung them efficiently and freely with JS — taking all the upsides of Mongo, yet letting you merge them seamlessly with the full capabilities of PG’s relational model.

[-] dgdft@lemmy.world 15 points 3 months ago* (last edited 3 months ago)

I will die on the hill of bash + atuin & ble.sh being absolute peak.

Atuin is a shell-history tool that stores detailed shell history in Sqlite, and provides a TUI + fuzzy search to query it efficiently. Optional and self-hostable cross-machine sync is available too, with E2E encryption.

Ble.sh is a bash-enhancement suite that provides autocomplete, syntax highlighting, multi-line editing, etc.

You can test them both out in under 5 minutes, and uninstall them just as easily if they aren’t your cuppa. Singular warning: install ble.sh before atuin, since atuin will use a different, buggier pre-exec dependency if ble.sh is not present.

E: ble.sh is getting automatically converted into a link in my comment , and I’m not sure how to stop that w/o side effects. But the correct URLs are https://github.com/akinomyoga/ble.sh & https://atuin.sh/.

[-] dgdft@lemmy.world 21 points 4 months ago* (last edited 4 months ago)

Still are.

And in February, the contractor that worked on the anti-vax campaign – General Dynamics IT – won a $493 million contract. Its mission: to continue providing clandestine influence services for the military.

OG Reuters Piece (read it at the time): https://www.reuters.com/investigates/special-report/usa-covid-propaganda/

240
submitted 5 months ago by dgdft@lemmy.world to c/cat@lemmy.world
[-] dgdft@lemmy.world 14 points 5 months ago* (last edited 5 months ago)

Flatpak is quite fucking far from perfect, and will always remain so due to its flawed design and UX approach.

Pretty sure the culprit here is Fedora’s packaging which adds an opaque systemd timer to run auto-updates, but the thread immediately next to this one on my homepage just happened to be a nice case-study in Flatpak fuckery: https://lemmy.world/post/30654407

Of course, the proposed changes in the article do nothing to fix this sorta problem, which happens to be the variety that end users actually care about. Flatpak is an epic noob trap since it pretends to be a plug-n-play beginner friendly tool, but causes all sorts of subtle headaches that newcomers inevitably don’t have diagnostic experience to address.

[-] dgdft@lemmy.world 19 points 5 months ago* (last edited 5 months ago)

Speaking as a data engineer, you’re having trouble because git is the wrong tool for the job. You can make it work if you use git-lfs + custom hooks — but if you choose to go that route, be aware you’re making things unnecessarily hard for yourself.

If you want to make this easy, separate out your concerns:

  1. Versioning: take periodic snapshots of your unconverted files with a binary-friendly diffing tool like restic or borg. Alternatively, ZFS/btrfs snapshots are an excellent way to handle this.
  2. Conversion: keep your original files in their own directory. Set up a small script that searches your directory of original files recursively, passes the files to lame to encode to V0 or V2, and outputs them to a separate directory of lossy mp3 files.
  3. Syncing: use rsync with the --delete flag to copy your lossy files to the server + clear out files you’ve removed locally.
[-] dgdft@lemmy.world 32 points 6 months ago

This is brilliant! You can even let the front truck pull all the others tied behind it so you need fewer working engines.

What if you added guide rails to the lane so the trucks didn’t have to steer?

[-] dgdft@lemmy.world 19 points 6 months ago

One of my cats, despite being an extreme clinger, absolutely will not tolerate being picked up under any circumstance.

Lone exception? If there’s a bug she wants but can’t reach, she will meow until I come lift her up to catch it. One hand under her hind legs, one under her stomach - so she has both front paws free to pin the bug with. Fortunately, she’ll let me summon her too, so whenever there’s a moth or something hanging out on the ceiling, I yell “bug” and the cat comes running to catch it for me.

Right ol’ on-demand vacuum cleaner, that one.

45
submitted 6 months ago by dgdft@lemmy.world to c/gardening@lemmy.world
3
submitted 8 months ago* (last edited 8 months ago) by dgdft@lemmy.world to c/gardening@lemmy.world

Hey garden peeps!

I tried overwintering some of my pepper plants this year. The process worked very well, and was easier than I'd expected, so I figured I'd share the results in case anyone else finds this useful.

Only big catch is that you'll need a space that stays around 40-60 degrees across your winter season. If you have a garage, basement, shed, root cellar that meets those requirements, you're in luck - otherwise, you're probably better off sticking to starts, or barerooting in a used wine cooler.

I used this page as my guide: https://peppergeek.com/overwintering-pepper-plants/, but to summarize, you basically uproot your plants at the end of the season, prune them down to the bottom few nodes, root wash them, and stick them in fresh, cheap potting soil with a small light to hang out for the winter.

Additional notes:

  • I added crushed granite as a mulch to keep out fungus gnats.
  • Watered every ~3 weeks, going off of container weight.
  • Kept the light timer around 6 hrs per day.
  • I pruned new growth for the first ~6 weeks, then tapered off to avoid draining all of the plants' reserves.
  • I followed the standard hardening-off procedure to reintroduce the plants to the outdoors.
  • This was USDA zone 8, so the short winter made this EZ mode. Maintenance was painless and the plants were showing little sign of stress, so I don't think it would've been hard to keep it up a few more months.
view more: next ›

dgdft

joined 8 months ago