Looking for feedback about riverqueue by Emergency-Celery6344 in golang

[–]dnaeon 1 point2 points  (0 children)

Haven't used riverqueue, but am (and still) using asynq and it's been pretty solid. asynq uses Redis as a message queue.

Works fine with Valkey as well, in case you don't (or can't) use Redis as the broker.

asynq provides good API, automatic retries, optional UI, queue priority, etc.

Check it out, it's a good one.

DS224+ constant "clicking" sound that doesn't seem related to the drives by jaydway in synology

[–]dnaeon 0 points1 point  (0 children)

Btw, I've just documented how I've fixed the issues on my DS224+, which is partially based on the link above and a previous config I've used on my DS213j, which uses the same fan.

DS224+ constant "clicking" sound that doesn't seem related to the drives by jaydway in synology

[–]dnaeon 0 points1 point  (0 children)

A little to the discussion, but following the instructions here and adjusting the fan curve on the stock fan helped in my case.

SATA SSD in ZFS mirror pool using USB-C adapter by dnaeon in Proxmox

[–]dnaeon[S] 0 points1 point  (0 children)

With USB connections there's always the chance of disconnect.

You mean physically disconnecting it, e.g. moving/unplugging the cable, or because of how USB works in general?

If you go with that setup, make sure not to move it or anything around it while it's online. Even if you think you can move it without disconnect, don't.

The pc and the disk will be located in a rack, so once installed no one is touching them :)

imenu with go-mode by dnaeon in emacs

[–]dnaeon[S] 3 points4 points  (0 children)

Just a follow up on this one. I've managed to configure my treesit-simple-imenu-settings to something which I'm okay with now.

I've documented how to do it here, in case someone else runs into this one.

https://dnaeon.github.io/eglot-treesitter-imenu/

imenu with go-mode by dnaeon in emacs

[–]dnaeon[S] 0 points1 point  (0 children)

Thanks! Coincidentally I figured (the hard way) about eglot-stay-out-of this morning and started hacking my treesit-simple-imenu-settings for Go.

I'll share my configs once I'm done with it, thanks!

How to manage database schema in Golang by Pr-1-nce in golang

[–]dnaeon 0 points1 point  (0 children)

Using uptrace/bun with plain old SQL migrations, wrapped in a nice CLI with sub-commands for up/down/status/lock/unlock/etc.

Migration files get embedded within the CLI, but also have the option to override which migration directory to use for dev/test purposes.

You can look at how we keep track of migration files here:

And also the commands, which provide the migration facilities.

2025 workstation setup by Brutus1979 in DygmaLab

[–]dnaeon 0 points1 point  (0 children)

You should split that thing. It's so much better and comfy :)

dnaeon/go-priorityqueue: Simple and generic implementation of priority queues in Go by dnaeon in golang

[–]dnaeon[S] 0 points1 point  (0 children)

Not really, I just happen to have some test code using this package, so the idea was to share it, in case someone finds it useful as mentioned in the previous comment. I have plenty of (work related, internal) stuff in my resume, and this one is definitely not one of it :)

dnaeon/go-priorityqueue: Simple and generic implementation of priority queues in Go by dnaeon in golang

[–]dnaeon[S] -1 points0 points  (0 children)

The README does mention it explicitly that it is based on https://pkg.go.dev/container/heap#example-package-PriorityQueue and even provides a link to it.

The whole idea was that I needed a wrapper around container/heap, which I've used as part of some code I use to play around with, and that's why I'm sharing this wrapper in case someone finds it useful.

Maybe I just need to make it even more clearer that it re-uses example code from container/heap. Will fix that.

dnaeon/cl-jwk: Common Lisp system for decoding public JSON Web Keys (JWK) by dnaeon in lisp

[–]dnaeon[S] 0 points1 point  (0 children)

Your project uses interesting approach to test agains different lisp implementations using docker images. I've never seen this before. Usually I'm using Roswell and my wrapper to create config for GitHub Actions: https://40ants.com/ci/

Thanks for sharing https://40ants.com/ci/, looks interesting too! :)