• 3 Posts
  • 231 Comments
Joined 1Y ago
cake
Cake day: May 26, 2021

help-circle
rss

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.




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.




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)



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.



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, MacOS or some BSD doing this with a bash script would be the easiest imo, since there already exists 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.

Should be straight forward (just a series of commands and some command substitution for the find part) as long as you don’t have too many images.

On windows you could (probably) do the same with a python script (or maybe powershell idk)

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

That can be configured.



Press [F12], that should bring up the developer tools, and select the console tab. Then do the action that fails and see if something gets logged in the mean time.



But they already posted it, isn’t it a bit to late then?! And why would anyone delete their answers to questions that are unlikely to disclose anything neaningful?


The list was left accessible on an Elasticsearch cluster that had no password on it. …

fedilink

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

fedilink

USBGuard: Black- or Whitelist USB Devices

Protect your Linux machine from being plug-and-pwned by malicious USB devices. They have a command line program which allows you to easily write your own scripts for showing notifications, controlling what devices are allowed etc…

fedilink