![](https://campfyre.nickwebster.dev/pictrs/image/040dfe35-7b71-4a33-aa44-f2c8938bcdde.webp)
![](https://lemmy.ml/pictrs/image/c0ed0a36-2496-4b4d-ac77-7d2fd7f2b5b7.png)
I’ve used a number of different Linux distros (including Debian) on laptops over the years. Although most recently my XPS 15 was running Arch.
I’ve used a number of different Linux distros (including Debian) on laptops over the years. Although most recently my XPS 15 was running Arch.
It’s falsifying business records, which becomes a felony when combined with it being a campaign finance violation.
Not as strong of a case as the docs one but it is a crime.
By doing this the connections are all severed, the RAM is freed up, and it’s all good again.
Ah, neat! I didn’t think of that. You can limit the size of the connection pool in your lemmy config fwiw.
Nice, that looks like it’s doing a similar thing to my weird mess of SQL and Python that I did last year haha
Good luck for the migration :)
cronjob to restart the backend lemmy container
Fair enough, that’d work. I run my database in a different pod to lemmy (I run this all in kubernetes), and I cannot restart that pod without causing an outage for a bunch of other things like my personal website. I ended up just needing to tune my config to have a maximum RAM usage and then configuring k8s to request that much RAM for the DB pod, so it always has the resources it needs.
pictrs image cache is 250-300gb
oof :(
That’s what my custom lemmy patch was, it turned off pictrs caching. That’s now in lemmy as a config flag (currently a boolean but in 0.20 it will be on/off/proxy where the proxy option goes via your pictrs but does not cache). I then went back through mine and did a bunch of SQL to figure out which pictrs images I could safely delete and got my cache down to 3GB.
Interesting. I have some New Relic stuff setup with my cluster but most of that is just resource usage stuff. I ran out of RAM a while back so I’ve had to be a bit more restrictive about how many connections Lemmy can have to postgres db.
There’s no progress meter and so far it has taken 2 days 😱.
Uh oh. I considered updating to 0.5 as part of my 0.18.3-ish (I was running a custom fork I made with some image caching stuff that has since been merged in to real lemmy) -> 0.19.3 upgrade but I’m glad I didn’t.
Thanks for the heads up. Are you migrating to postgres for pictrs too, or sticking with sled?
These are pretty neat graphs! Is it sourced from the Prometheus logs?
Just updated to 0.19.3 but the DB migrations failed due to a permissions change I made a while back to my DB, so I had to spend a few hours in the SQL dungeons fixing things.
I’m running on 0.19.3 without any issues on Linux arm64. I built my own docker image though.
The web is built on hot linking hypermedia. It is more fragile obviously, but it distributes the bandwidth and storage load. If nobody hotlinked, then small forum admins/Lemmy admins/etc. have considerably more cost to bear.
As a compiler developer this speaks to me on a deep level lol
Wellington needs more karaoke spots
((a, b) => a ?? b)();
const fn = (a, b) => a ?? b
I use all three, although primarily run Linux and macOS.
I think Apple’s hardware offerings have really beaten the competition with their new M-series chips just outperforming everyone else with significantly less energy. You also get the advantage of macOS being a UNIX system, so if you’re familiar with Linux, the same principles apply.
I switched from running Linux on my Surface Pro 3, then Linux on a Dell XPS 15, to a 14" MacBook Pro with the 10-core M1 Pro. I still use Linux on my desktop and love it, but macOS is very similar to Linux and apple’s portable hardware beats everyone else by about 3 years or more imo. There are definitely some apple universe quirks but I wouldn’t consider anyone else for a laptop for another few generations of competitors attempting to catch up with where apple was in 2021.
ARM, but Apple has the most advanced ARM chips and macOS /The AS Platform has the best amd64 to arm64 translation layer.
I mean at that point you’re basically running macOS 😉
I couldn’t imagine buying any laptop other than a Mac because the performance to battery life ratio on everything else is awful. Plus if you want a UNIX system, it’s an easy buy.
After owning an Apple ARM laptop I’d never go back to anything else.
I miss circles
Manjaro and Antergos are just asking for trouble. If you want Arch, use Arch. Otherwise Ubuntu, Debian, Linux Mint, and Fedora are popular.
I don’t think the full Radeon suite is on Linux but there are tools for screen recording like simple screen recorder and OBS.
There is lots of 3rd party software available on all of these distros in their respective package managers, but Ubuntu has the advantage with PPAs allowing for more 3rd party repos to be easily added to the package manager.
HDR support is still very early/basic right now: https://wiki.archlinux.org/title/HDR_monitor_support
No wait at all at my place.
I enjoy OpenMW and I’m happy to host if you want, although my instance is basically just me and a few friends right now.