• 4 Posts
Joined 2Y ago
Cake day: May 26, 2021


You used some shallow rhetoric so I participated in shitposting. You stated the obvious to which I responded with humor because I was unsure if you are joking or just stupid. By that I owned myself apparently.

tbh where I live the air steadily got better since the revolution against our “communist” authoritarian government. (only english article I could find, idk that company but the data seems correct) For a brief moment in the early 90s we even met our climate goals, just by abolishing socialism :D

Li-Ion batteries do charge quickly and have high capacities.

I’m not sure they would survive nearly as long as lead-acid, but I’m sure that they would be way less complicated and dangerous than hydrogen.

I’ve been at multiple businesses that still used electric forklifts from what I’m pretty sure must be the late 80s. I was told that the newer ones they had were pretty similiar models and they all used lead-acid. I guess it’s just more reliable and repairable because of simplicity. Also I’m 100% sure that there are no trucks that run on lead-acid batteries, maybe as a hybrid.

Just don’t do stuff you don’t understand just because someone has told you to or because you observed someone do it who you think knows better.

Always take advice and especially rules with a grain of salt. You shouldn’t blindly follow them but try to understand why they work because then you also know when they might not.

Would self-hosting a Nextcloud instance locally without an internet connection be viable?

Yes, that should be no problem. Some nextcloud plugins might require a domain name and/or a https connection. If you can’t use your own DNS server you can change the clients hosts-file. Iirc docker and snap versions of nextcloud will auto-generate self signed ssl certificates and you can use a reverse-proxy if they don’t. (e.g. use caddy, it will automatically generate certificates) You won’t be able to update regularly, so you should only let trusted users into your network.

Idk about gitlab, but I’m sure you can run gitea offline, if you don’t need any of the fancy gitlab features. (It’s faster too+ you can set up gitea to login with the nextcloud account.)

LTS releases (should) get all bugfixes. If you read about some hype vulnerability in the news you can be pretty sure that it is or at least will be fixed.

Actually it’s a tie with F9, but caps lock is more useless

Websites usually use transport encryption but the password itself isn’t encrypted. There are authentication schemes that won’t send plaintext passwords (by involving some kind of challenge) but they won’t work without javascript (except http digest access authentication but thats no good) and you shouldn’t ask web-developers to implement them since they will find a way to fuck it up.

where the hell did you get “degeneracy” from this?

“Putin saves good christians from degeneracy” is a pretty common right-wing meme.

tldr: Buying plastic crap from private company that forces cuts out of peoples sales by making independent shops invisible is cool, but only if they are from “communist” country.

Germany closed down all their nuclear plants

That’s wrong: 3 plants are still running (probably) until the end of this year.

the end result was that they just started using more fossil fuels.

This is true, but the reason isn’t the lack of alternatives but incompetent and corrupt state and federal government. They sabotaged the domestic solar sector, they made running private (roof-) solar plants unnecessarily complicated, they made building new (on-shore) wind parks basically impossible and they blocked the extension of the electrical grid. (And thats just the stuff I remember from the top of my head)

You need to figure out the variant before you can access any fields.

let x = match p1 {
  Coordinates::Point1 { x, .. } => x, // .. means "I don't care about the other fields"
  Coordinates::Point2 { x, .. } => x,

or if you only need to do stuff on one type of point

if let Coordinates::Point1 { x, _y } = p1 {
  // Do stuff with x or y here
  // _y (prefixed / replaced with _) means "I won't use that variable"

However it looks like what you want is a struct that contains an enum and the coordinates.

enum CoordinateKind {

struct Point {
  kind: CoordinateKind,
  x: i32,
  y: i32,

fn main() {
  let p = Point {
    kind: CoordinateKind::Point1,
    x: 0,
    y: 45,

  let x = p.x;

Do you know how much work it is to get her ass up?

From my experience: the one who wants the least money.

No hamster for me, building the faraday cage required to operate that securely is just not worth it.

If you want to do it on your home pc you should absolutely go with a vm. Breaking out of a VM is quite a bit harder than breaking out of a docker container, especially if it’s a “headless” VM.

gui: Imo they all suck, GTK-rs sucks the least but it still sucks. I’ve never seen a general purpose GUI toolkit that doesn’t suck so I guess at least it’s not rusts fault.


  • Rocket is a very convenient everything-included webserver
  • Yew looks like a cool idea for frontend¹ but is not really production-ready

¹ please don’t use javascript or wasm for that unless you absolutely need to

I think they want to run this on their home computer where I would definitely recommend using a vm. Using (some kind of) containers in the VM is probably not a bad idea though.

Find should already be installed but depending on how the files are named ls should do.

You probably want to do something similiar to this snippet:

# Create a temporary directory and save it's path
TMPD=$(mktemp -d)

# Extract the archive to that directory
7z x -o$TMPD $1

# Convert the images to PDF
img2pdf $(ls -vd $TMPD/**) -o $2

# Delete the temporary directory
rm $TMPD

doing this on Python or whatever language?

If you’re on Linux doing this with a bash script would be the easiest imo, since there is ready-made software for all the steps.

  • Unpacking: unzip, unrar, 7z (the latter can handle many different formats)
  • Sorting the images: find
  • Converting them to pdf: img2pdf, imagemagick

You can even automate the downloading with e.g. wget.

Are email requirement the default for lemmy instances or it is something an operator has to choose?

That can be configured.

Want to use a modern web browser…

Proceeds to show image of palemoon…

It’s mostly no replies, deleted comments (why tf do people do that?!), people guessing (which isn’t that bad, but why don’t they disclose it?) or just pure bullshitting.

There’s so much good content out their, but search engines seem to actively punish sites that don’t have tracking, bad usability and megabytes of useless javascript.

Interesting, when I search something reddit has almost always the worst or no answer. Even the spammy tech blogs steal better content.

Survival of the fittest.

Is an emergent rule of nature, something humanity doesn’t have to abide by since most of us got something called a brain.

It is humane in the long run.

No it is and will be inhumane.

If you don’t love yourself, how do you expect others to love you?

You are a fucked up piece of shit.

tldr: they are sexist, racist, ignorant of the fact that not anyone has the same privilege as them and they think it is ok to put others in danger just because they don’t want to wear a mask.

Some people want to live in easier times again, but they fail to realize that people back then wanted so too. At some point in time there probably was a monkey thinking about how much simpler life could be if they’d just live on trees again.

Yeah, I got a bit pissed too when I first read this (wasn’t paywalled for me) as it scratches all the bullshit-bingo quantum-woo memes¹, but I came to the conclusion they just try way to hard to find non-sciency “easy” explanations.

¹ equating “observer” with “conscious being”, schrödingers cat out of context and for no reason, einstein was “wrong”, mind over matter

> The list was left accessible on an Elasticsearch cluster that had no password on it. X leaked because of misconfigured elasticsearch is pretty much a meme at this point...

Thats cool and all, but could be even better if they asked about their Matomo.