Skip Navigation

User banner
Posts
17
Comments
154
Joined
2 yr. ago

  • 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.

  • 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.

  • WWIII

    Jump
  • *rate, comment, and subscribe

    Gotta get those five stars

  • I think they're lawful evil, more devils than demons.

  • Hi, I've been doing TypeScript in my day-job and hobbies for six and a bit years now. I would not write JS in any other way.

    TS is also a superset of JS so all JS is valid (unless you turn on strict mode). So there is no productivity loss/learning curve unless you want there to be.

    In fact, a lot of people who think they're not using typescript are using it because their editors use typescript definitions for autocomplete and JSDoc type signatures are powered by typescript.

  • I use Alpine Linux quite a bit, which is a Linux distro that doesn't use the GNU coreutils or glibc.

    Also even giving GNU such a high level in the name on a distro like Arch makes little sense imo because other components like systemd are arguably much more important than one of many libc libraries you can optionally use and a bunch of coreutils you can also optionally use.

  • In my experience I haven't had an issue because usually the refactorings are small. If they're not I just hop on a call with the person who wrote the MR and ask them to walk me through it.

    In theory I'd like to have time to dedicate solely to code health, but that's not quite the situation in basically any team I've been in.

  • You should refactor as needed as you go because refactoring cases are never gonna be prioritised.

  • There's a markdown entry thing in the drop down menu that'll convert your MD to their formatting.

  • 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.

    https://github.com/wereii/lemmy-thumbnail-cleaner

    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.

  • Technically only some of HK was under the lease, some was indefinitely controlled by the British. However, you're still right because of the military force difference.

  • I attempted to boot Mandrake/Mandrivia on an old laptop once and failed, then I mucked around in Slackware's live CD for an afternoon. The first thing I actually installed and used daily was Ubuntu 10.04.

  • 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.

  • Rust is roughly similar to C in most of these benchmarks and beats it in a few: https://benchmarksgame-team.pages.debian.net/benchmarksgame/fastest/rust.html

    Arguably when LLVM gets a bit better, Rust can be even faster than C because rust can be optimised in more places safely than C code can. The issue is that LLVM wasn't written with that in mind, so some performance is left on the table.