nawordar

joined 4 years ago
[–] nawordar@lemmy.ml 14 points 2 months ago (4 children)

Is it about restoring window position and size?

[–] nawordar@lemmy.ml 7 points 2 months ago

Also, it is inspired by a Polish service, Wykop which developed its specific language

[–] nawordar@lemmy.ml 6 points 2 months ago

Zephyr is an actual operating system, but it's not Linux

[–] nawordar@lemmy.ml 14 points 3 months ago (1 children)

Heh, I thought about blocking them like a thousand times, but they are sometimes sharing neutral or interesting information so I'm just trying to ignore this type of comments

[–] nawordar@lemmy.ml 25 points 3 months ago (8 children)

How is it progressing so fast compared to Servo? Isn't Servo being developed for a longer time?

[–] nawordar@lemmy.ml 7 points 5 months ago

I thought for a minute that Linux now panics when trying to play DRM'd content

[–] nawordar@lemmy.ml 8 points 5 months ago (1 children)

Even when you don't know the language, you can judge if something is an ad just by an overly excited tone of voice. I wonder if someone has tried writing an ad detection algorithm already. It would still be a lot heavier on resources than SponsorBlock.

[–] nawordar@lemmy.ml 1 points 6 months ago

I don't know about its derivatives, but Mandriva had something similar.

[–] nawordar@lemmy.ml 6 points 7 months ago (1 children)

LaTeX and ConTeXt are both macros for TeX. LyX is a graphical editor which outputs LaTeX.

[–] nawordar@lemmy.ml 12 points 7 months ago

I didn't see it until I read your comment

[–] nawordar@lemmy.ml 44 points 7 months ago (2 children)

Actually, PulseEffects has been renamed into EasyEffects and is PipeWire only now

[–] nawordar@lemmy.ml 4 points 8 months ago
  • Fish. Much, much saner defaults.
  • I am writing #!/usr/bin/env sh for dead simple scripts, so they will be a tiny bit more portable and run a tiny bit faster. The lack of arrays causes too much pain in longer scripts. I would love to use Fish, but it lacks a strict mode.
  • No, why would I?
  • I used to share all my dotfiles, scripts included, but I was too afraid that I would publish some secrets someday, so I stopped doing that. For synchronizing commands, aliases and other stuff between computers I use Chezmoi.
  • To use Fish instead of fighting with start up time of Zsh with hundreds of plugins
  • Always use the so-called "strict mode" in Bash, that is, the set -euo pipefail line. It will make Bash error on non-zero exit code, undefined variables and non-zero exit codes in commands in pipe. Also, always use shellcheck. It's extremely easy to make a mistake in Bash. If you want to check the single command exit code manually, just wrap it in set +e and set -e.
  • Consider writing your scripts in Python. Like Bash, it also has some warts, but is multiplatform and easy to read. I have a snippet which contains some boilerplate like a main function definition with ArgumentParser instantiated. Then at the end of the script the main function is called wrapped in try … except KeyboardInterrupt: exit(130) which should be a default behavior.
  • Absolutely not a bad practice. If you need to use them on a remote server and can't remember what they stand for, you can always execute type some_command. Oh, and read about abbreviations in Fish. It always expands the abbreviation, so you see what you execute.
 

A few months ago, I rolled back to a previous btrfs snapshot using Snapper. Now I am constantly running out of space, no matter how many packages I delete and I'm wondering if that is the reason. The snapshot list looks like this:

$ sudo snapper -c root list
    # | Type   | Pre # | Date                             | User | Cleanup | Description            | Userdata
------+--------+-------+----------------------------------+------+---------+------------------------+---------
   0  | single |       |                                  | root |         | current                |         
1137+ | single |       | Thu 31 Aug 2023 07:55:47 PM CEST | root |         | writable copy of #1115 |         

Does snapshot 1137 contain all the changes made since August? I so, can I somehow delete it?

EDIT Changed "snapshot 0" to "snapshot 1137"

view more: next ›