ClemaX
0
77
ClemaX

@lemm.ee

Software developer interested into security and sustainability.

ClemaX 51 points 3 years ago

It was already like this in Europe when I began to use Spotify in 2015. I do not hate it because the app's free tier is already unusable to me due to the adverts.

path: 0 4616725, hotness: undefined, score: 51, children: 1
ClemaX 38 points 3 years ago

Maybe Firefox needs to add a new "Clipboard access" permission that can be granted on a site-per-site basis. When disabled, simple highlight and copy could still be enabled if hidden text cannot be added in between normal text.

The same permission model could be used system wide, but I do not think that such a feature exists on the X server or Wayland. Maybe using a wrapper that runs before the Desktop Environment?

path: 0 4720026, hotness: undefined, score: 38, children: 0
ClemaX 34 points a year ago

Fuck them, glad I switched to Jellyfin years ago.

path: 0 16803802, hotness: undefined, score: 34, children: 0
ClemaX 30 points 3 years ago

Maybe the app uses a WebView for login which itself includes a webpage with the tracker. It would be possible that the page's content and trackers change without any change in the app.

path: 0 1480383 1480752, hotness: undefined, score: 30, children: 0
ClemaX 30 points a year ago path: 0 17276490, hotness: undefined, score: 30, children: 1
ClemaX 29 points 3 years ago

Sometimes, if the child turns into a zombie, the parent can kill it using a fork!

path: 0 1064255, hotness: undefined, score: 29, children: 1
ClemaX 16 points 2 years ago

Eval is bad for security boundaries and the string based approach is a pain to develop and maintain. An alternative that is equally bad for security but better for development would be dynamic imports using importlib.

If you want to support custom scripts while enforcing security boundaries, you could use an embeddable interpreter like lua, or create your own.

path: 0 16066808, hotness: undefined, score: 16, children: 0
ClemaX 15 points 3 years ago

Well, one could argue that our brain is a glorified tape recorder.

path: 0 2444357, hotness: undefined, score: 15, children: 1
ClemaX 15 points 2 years ago

From Archwiki > xrandr:

Tip: Both GDM and SDDM have startup scripts that are executed when X is initiated. For GDM, these are in /etc/gdm/, while for SDDM this is done at /usr/share/sddm/scripts/Xsetup. This method requires root access and mucking around in system configuration files, but will take effect earlier in the startup process than using xprofile.

path: 0 10644622, hotness: undefined, score: 15, children: 2
ClemaX 15 points 3 years ago

But the article of the DMA says that the gatekeeper shall not prevent the business user to serve their product using other conditions than those of the gatekeeper's platform. I think that would include Apple's publishing guidelines.

path: 0 6982518 6983056 6983775, hotness: undefined, score: 15, children: 3
ClemaX 13 points 2 years ago

It all makes sense when you think about the way it will be parsed. I prefer to use newlines instead of semicolons to show the blocks more clearly.

for file in *.txt
do
    cat "$file"
done

The do and done serve as the loop block delimiters. Such as { and } in many other languages. The shell parser couldn't know where stuff starts/ends.

Edit: I agree that the then/fi, do/done case/esac are very inconsistent.

Also to fail early and raise errors on uninitialized variables, I recommend to add this to the beginning of your bash scripts:

set -euo pipefail

Or only this for regular sh scripts:

set -eu

-e: Exit on error

-u: Error on access to undefined variable

-o pipefail: Abort pipeline early if any part of it fails.

There is also -x that can be very useful for debugging as it shows a trace of every command and result as it is executed.

path: 0 15465460 15465663, hotness: undefined, score: 13, children: 3
ClemaX 13 points 3 years ago

There is a fun app called StreetComplete than makes it easy to complete missing info and I suppose fix it too.

path: 0 3394819 3398928 3400069, hotness: undefined, score: 13, children: 0
ClemaX 13 points 3 years ago

ncdu for analyzing disk space usage in TUI.

path: 0 3384737, hotness: undefined, score: 13, children: 0
ClemaX 12 points 3 years ago

You could try out the Remmina Linux client's RDP plugin.

path: 0 2506573 2510065, hotness: undefined, score: 12, children: 0
ClemaX 10 points 2 years ago

E8XIB¹⁹

path: 0 16020354, hotness: undefined, score: 10, children: 0
ClemaX 10 points 3 years ago

But you can set a tab width instead so any developer editing the code can adjust the indentation width to his liking, without changing the actual files contents and having to worry about setting the editor up to insert the right amount of spaces.

path: 0 3058005 3059151 3060167, hotness: undefined, score: 10, children: 0
ClemaX 10 points 2 years ago
  • Gnorv
path: 0 9344105 9344890, hotness: undefined, score: 10, children: 1
ClemaX 8 points 2 years ago

It is the stream itself that is buffered, so the terminal does not handle the contents until the stream is flushed.

path: 0 16260560 16260597 16261053 16262162, hotness: undefined, score: 8, children: 0
ClemaX 8 points a year ago

Actually it's just an archive. It can be easily extracted using dpkg -x *.deb ~/.local for example.

path: 0 16803347 16803555 16803619 16803833, hotness: undefined, score: 8, children: 5
ClemaX 8 points 2 years ago

You wouldn't download a car‽

path: 0 11421302, hotness: undefined, score: 8, children: 1

thanks for using Leebra!

go to feed...