[-] sbstp@programming.dev 3 points 11 months ago

Unfortunately there's no way to have a generated TOC within the page itself. It's usually in a sidebar or something like that.

[-] sbstp@programming.dev 2 points 11 months ago

sqlboiler does this in Go

[-] sbstp@programming.dev 4 points 11 months ago* (last edited 11 months ago)

I think one of the issues I had was trying to run pihole with podman on a raspberry pi. I could not get DNS requests to work by just mapping the right ports. I ended up just running with --net=host and it worked, I didn't feel like debugging further.

I had other issues on my NAS but I don't remember what it was, I have a lot of services on it, qBittorrent, Wireguard, Jellyfin, Jackett, netdata, prometheus, samba, syncthing, pihole (redundant), wsdd all in docker.

[-] sbstp@programming.dev 32 points 11 months ago

I tried replacing some components of my NAS server that were on docker/docker-compose with podman but unfortunately it was not a 100% drop-in replacement. I had networking issues in podman that I did not have in docker.

The network stack is implemented quite differently in podman than in docker, once you start using more advanced features the backward compatibility disappears.

Since it came second, I think it has a lot of technical advantages, avoiding docker's mistakes and what not. In the long term I'll probably switch to it, unless Redhat keeps shooting itself in the foot...

[-] sbstp@programming.dev 2 points 11 months ago

Ahh okay je vois. Je cherchais "poo" sur google, les résultats étaient pas génials.

[-] sbstp@programming.dev 5 points 11 months ago

Never meet your heroes

[-] sbstp@programming.dev 5 points 11 months ago

That's pretty decent. I'm not convinced about the 16 core limit though, the 12700H has 6 P-cores, 8 E-cores and 6 threads, totalling "20 cores". Not the best chip to benchmark multicore workloads

[-] sbstp@programming.dev 1 points 11 months ago

what is POO? Can't find a definition on google

[-] sbstp@programming.dev 2 points 1 year ago

Is there a place that has a list of classic programming articles like this? Such a fun read. I know PHK has another one of the design of Varnish vs Squid here https://varnish-cache.org/docs/trunk/phk/notes.html

[-] sbstp@programming.dev 11 points 1 year ago

I've worked at 5 different companies in the last 5 years since finishing University and it hasn't been an issue with recruiters. I've been able to almost triple the salary I got in my first job. I'm hoping to stay a while at my current place, but you never know how things turn out. When you feel like the job is unhealthy for you or that you have better prospects elsewhere, there's no reason to stay.

Employers are not loyal towards employees and will fire them without blinking an eye the moment they need to prop up their stock value. I don't see why employees should feel any different towards employers. It's business.

[-] sbstp@programming.dev 7 points 1 year ago

I used to use LXC maybe 5 years ago but I've since replaced everything with docker/compose. The main difference between LXC and Docker is that LXC is meant to be more like a Virtual Machine than a container. LXC containers run their own instance of systemd and can run multiple processes easily. Docker is meant to run a single process although people sometimes do hacks with supervisord or s6 overlay to run multiple processes.

At the time LXC didn't really have a concept of images like Docker, it was just base images like Ubuntu 18.04 or Debian 9 and you'd shell in the container and install your stuff.

LXD is a tool built on top of LXC, confusingly enough the LXD client is called lxc... It's higher level and might have the ability to use images, not sure, I never felt the need to learn it.

view more: next ›

sbstp

joined 1 year ago