[-] MonkderDritte@feddit.de 252 points 3 months ago

they are on a format that NSA no longer has the ability to view or digitize,” the NSA FOIA office said in a follow-up. “Without being able to view the tapes, NSA has no way to verify their responsiveness. NSA is not required to find or obtain new technology (outdated or current) in order to process a request.”

In short, "we don't want to".

[-] MonkderDritte@feddit.de 176 points 4 months ago

SIGTERM is the graceful way tho? It nicely asks programs to please close and cleanup. Unlike SIGKILL, which bombs the shop and creates orphans.

15

cross-posted from: https://feddit.de/post/13720140

For example, there is Material Notes which has a editor toolbar with bold, ~~indented~~, ~~stroke~~, etc. But this is rendered, exported to json or syntax like Markdown. This app too, in which i write this on lemmy, does the same. We have ☐, ☒, •, ‣ in Unicode, 𝗕𝗼𝗹𝗱, 𝑖𝑛𝑑𝑒𝑛𝑡, s̵t̵r̵o̵k̵e̵, so why not use this?

Basically, what i'm looking for is a text editor with editor toolbar/keystrokes for Android or Linux, which adds unicode symbols for rich text. It would make reading plain text notes/todo lists cross-device simpler. Yes, there's UnicodePad and Charmap but that's not the same.

7

cross-posted from: https://feddit.de/post/13720140

For example, there is Material Notes which has a editor toolbar with bold, ~~indented~~, ~~stroke~~, etc. But this is rendered, exported to json or syntax like Markdown. This app too, in which i write this on lemmy, does the same. We have ☐, ☒, •, ‣ in Unicode, 𝗕𝗼𝗹𝗱, 𝑖𝑛𝑑𝑒𝑛𝑡, s̵t̵r̵o̵k̵e̵, so why not use this?

Basically, what i'm looking for is a text editor with editor toolbar/keystrokes for Android or Linux, which adds unicode symbols for rich text. It would make reading plain text notes/todo lists cross-device simpler. Yes, there's UnicodePad and Charmap but that's not the same.

26
submitted 4 months ago* (last edited 4 months ago) by MonkderDritte@feddit.de to c/linux@lemmy.ml

For example, there is Material Notes which has a editor toolbar with bold, indented, ~~stroke~~, etc. But this is rendered, exported to json or syntax like Markdown. This app too, in which i write this on lemmy, does the same. We have ☐, ☒, •, ‣ in Unicode, 𝗕𝗼𝗹𝗱, 𝑖𝑛𝑑𝑒𝑛𝑡, s̵t̵r̵o̵k̵e̵, so why not use this?

Basically, what i'm looking for is a text editor with toolbar/keystrokes for Android or Linux, which adds unicode symbols for rich text. It would make reading plain text notes/todo lists cross-device simpler. Yes, there's UnicodePad and Charmap but that's not the same.

edit: something where you mark a word, tap the B in the toolbar or press ctrl+b and it replaces the characters with uc bold characters, no? Tap the list button and it adds uc bullet points, etc...

32
submitted 4 months ago* (last edited 4 months ago) by MonkderDritte@feddit.de to c/linux@lemmy.ml

This is bothering me for years now, my backup script always takes everything with it, taking forever to finish.

I initially used the --exclude option, but this is rather restrictive, cluttered the script and still had the excluded directories.
Then i discovered -X/--exclude-from but same result here, weird globbing and still fails.
So i hacked a negative list via fd's --ignore-file and tar -T/--files-from together. But tar still includes files and directories not on the fucking files.tmp.

So i'm not sure if it is a bug in Arch's GNU tar or if it's maybe a parameter in the wrong position, tar can be removed there. This is my current code

# tar -cf - -X "$XDG_CONFIG_HOME"/backup/ignore "$INPUT" -P

fd . -Hi --ignore-file "$XDG_CONFIG_HOME"/backup/ignore "${INPUT}" > "$_tmpfile"
tar -cf - --verbatim-files-from --files-from="$_tmpfile" -P \
	|pv -tapes "$_fssize" \
	|compress >"${OUTPUT}.$_ext"

INPUT is $HOME in this case.

And if anyone has a solution that works on busybox tar as well...

[-] MonkderDritte@feddit.de 68 points 4 months ago

Can we please identify the guys always pushing encryption-breaking ideas?

[-] MonkderDritte@feddit.de 59 points 5 months ago

I don't think killing him will solve anything. It just changes the owners.

[-] MonkderDritte@feddit.de 87 points 5 months ago* (last edited 5 months ago)
17
submitted 5 months ago* (last edited 5 months ago) by MonkderDritte@feddit.de to c/linux@lemmy.ml

While updating my system the graphical session crashed and after reboot the kernel was missing (reminder that you should update on tty). Trying to fix that from a live-system, mounting system nvme partition to mnt, there's now /mnt/@ @cache @log, while your usual root folders are in @, log fikes @log and so on. Filesystem is btrfs, no subvolumes, if that matters.

So why is this? And can i just mount boot to /mnt/@/boot? Do break something, if i move /mnt/@ content to /mnt?

[-] MonkderDritte@feddit.de 60 points 5 months ago

Why be good if there is no hell?

Because morale is a societal and not a religious thing.

34
submitted 6 months ago* (last edited 6 months ago) by MonkderDritte@feddit.de to c/linux_gaming@lemmy.ml

Thought i share it, since it came in handy lots as a GoG enjoyer.

steamworkshop_dl() {
    steamcmd +login anonymous +workshop_download_item "$1" "$2" validate +quit
    mv -v "<path to your temp Steam folder>/steamapps/workshop/content/"$1"/"$2" "$PWD"/"$3"
}

Purpose: downloading Steam Workshop mod to $PWD with minimal work.

Usage: steamworkshop_dl [game-id] [mod-id] [name]

game-id is in the URL of the main workshop page, mod-id is in the URL of the mod

To make usage simpler, create an alias with the game-id:

alias stdl='steamworkshop_dl <game-id>'
stdl <mod-id> 'that mod'

Needs steamcmd. If download fails, try username and password instead of 'anonymous'.

14
submitted 6 months ago* (last edited 6 months ago) by MonkderDritte@feddit.de to c/linux@lemmy.ml

I have this in my /etc/sysctl.d/99-oomkiller.conf

# "Iron Reserve" that can not be consumed by rogue tasks
vm.admin_reserve_kbytes = 1024000

# 0 = extensive heuristic scan of joblist (system doesn't have the power for that, when oomkiller is needed). Can shoot the wrong task
# 1 or more = kills the first task with condition "out of memory"
vm.oom_kill_allocating_task = 1

Yet somehow i still got in a livelock. So i remembered nohang and found in it's readme about mgrlu. I found some documentation to it but it only provides runtime examples (already enabled but set to 0 on Artix, /sys/kernel/mm/lru_gen/min_ttl_ms should be 1000).

How should i set this permanently, sysctl doesn't accept min_ttl_ms. Via kernel, via local.d script (non-systemd, dinit)?

Why doesn't my config above work?

Any recommendation to runtime-services? (earlyoom for my server i guess)

[-] MonkderDritte@feddit.de 62 points 6 months ago* (last edited 6 months ago)

Humans are particularly difficult to preserve because of the delicate structure in (most of) our heads.

Nonsense. We are just too big to be frozen quickly enough that no ice crystals emerge. Every living thing turns to slush if frozen normally.

[-] MonkderDritte@feddit.de 191 points 6 months ago

Never understood why Windows' explorer hides extension by default. Does MS fear it would confuse their users?

[-] MonkderDritte@feddit.de 93 points 6 months ago* (last edited 6 months ago)

US needs to regulate chargers.

Yes, yes, market and all. But look at printers. Or charger cables for small electronic devices (EU stepped in). Lock-in of customers is an incentive working against common chargers.

15
submitted 6 months ago by MonkderDritte@feddit.de to c/til@lemmy.world
[-] MonkderDritte@feddit.de 78 points 6 months ago

Pretty sure that 90% of Linux users don't switch to Windows.

[-] MonkderDritte@feddit.de 62 points 6 months ago

The web should have had a Terms of Usage from start. Something like

"If you broadcast content on the internet, expect people to download it."

[-] MonkderDritte@feddit.de 61 points 7 months ago

That's not worldnews. US farms wouldn't be legal in EU. Most EU farms wouldn't be legal here (Swiss). California is not the world.

view more: next ›

MonkderDritte

joined 7 months ago