Ordoviz
31
33
Ordoviz

@lemmy.ml

Ordoviz 32 points 3 years ago path: 0 17509, hotness: undefined, score: 32, children: 6
Ordoviz 13 points 3 years ago

OpenStreetMap and Internet Archive because they are operating with a small budget (as opposed to Wikipedia).

path: 0 5138675, hotness: undefined, score: 13, children: 0
Ordoviz 9 points a year ago

Using MIT license means the developers cannot look at GNU source code when writing code for uutils. This feels like a unnecessary hurdle given that uutils wants to be 100% compatible with GNU tools.

path: 0 17266268 17279465, hotness: undefined, score: 9, children: 11
Ordoviz 9 points 2 years ago path: 0 15131680, hotness: undefined, score: 9, children: 0
Ordoviz 8 points 4 months ago

Ctrl+Q closes Firefox (very easy to misinput due to being so close to Ctrl+W): browser.quitShortcut.disabled = true

path: 0 23088460, hotness: undefined, score: 8, children: 5
Ordoviz 8 points 2 months ago

Use systemd-zram-generator. The process is explain in the DebianWiki and the ArchWiki and this random blog, but it boils down to just a few commands you need to run:

$ apt install systemd-zram-generator
$ sudoedit /etc/systemd/zram-generator.conf
[zram0]
zram-size = min(ram, 8192)
compression-algorithm = zstd
$ sudo systemctl daemon-reload && sudo systemctl start systemd-zram-setup@zram0.service

You can tweak the settings above. Fedora recommends using zram-size = min(ram, 8192), which would correspond to 8GB ZRAM in your case. CachyOS uses a less conservative config with zram-size = ram.

To confirm that zram is working, run zramctl. It should print something like

NAME       ALGORITHM DISKSIZE   DATA  COMPR  TOTAL STREAMS MOUNTPOINT
/dev/zram0 zstd            8G 430.8M 137.6M 142.9M         [SWAP]

See also Improving system responsiveness under low-memory conditions.

path: 0 24233806, hotness: undefined, score: 8, children: 6
Ordoviz 8 points 3 years ago path: 0 1896933 1899476, hotness: undefined, score: 8, children: 2
Ordoviz 7 points 3 years ago path: 0 6295634, hotness: undefined, score: 7, children: 5
Ordoviz 5 points 7 months ago path: 0 21444330, hotness: undefined, score: 5, children: 1
Ordoviz 4 points 3 years ago

Wired has removed the story because it "does not meet [their] editorial standards".

path: 0 4275983, hotness: undefined, score: 4, children: 0
Ordoviz 4 points 3 months ago

Undertale, In Stars and Time, Blue Prince, and Doki Doki Literature Club are my favorite games that haven't already been mentioned here. All of them are somewhat dialogue/text-heavy.

path: 0 23998917, hotness: undefined, score: 4, children: 3
Ordoviz 4 points 3 years ago
#!/bin/sh
# Select a file with fzf from a database sorted by frecency and open it using
# xdg-open. frece can be found at https://github.com/YodaEmbedding/frece

DB_FILE=${FRECE_FILES_DB:-$HOME/.cache/frecent-files.csv}
item=$(frece print "$DB_FILE" | fzf --tiebreak=index --scheme=path)

[ -z "$item" ] && exit 1
frece increment "$DB_FILE" "$item"

xdg-open "$item"

#!/bin/sh
# Update frece database

DB_FILE=${FRECE_FILES_DB:-$HOME/.cache/frecent-files.csv}
tmp_file=$(mktemp)
fd -H . ~ > "$tmp_file"  # use ~/.fdignore file to exclude certain dirs
frece update "$DB_FILE" "$tmp_file" --purge-old
rm "$tmp_file"
path: 0 5138357, hotness: undefined, score: 4, children: 0
Ordoviz 3 points 4 months ago

Undertale* is a classic and must-play.

*might also make you cry

path: 0 23179648, hotness: undefined, score: 3, children: 0
Ordoviz 3 points 3 years ago

The mojo, cpan and pip bash scripts don't fail my test of "skimming over the source and looking for dangerous external commands like curl or rm" (good syntax highlighting is helpful here). They look like typical completion scripts. However, if your Linux distribution has a pip completion script in their repos, prefer that one.

path: 0 4622272, hotness: undefined, score: 3, children: 1
Ordoviz 3 points 2 months ago

Celeste is a perfect game. My only complaint is that "it's just a platform game", which I don't find that interesting anymore compared to games like Deltarune. Still, it brings me lots of joy, even on replays.

path: 0 24249680, hotness: undefined, score: 3, children: 0
Ordoviz 3 points 2 months ago

I don't have any good advice, so I will just list some unorthodox ways to discover new videos:

  • Use filmot.com. It allows you to search for channels by keyword among other things.
  • Search for specific topics on YouTube by putting the search term into double quotes, sort by popularity, and scroll down. I found lots of hidden gems that way.
  • YouTube lets you filter search results for playlists. Since many users put their favorite videos into playlists, this is a good way to find older, unusual, and unlisted videos.
  • Search for site:youtube.com OR site:youtu.be on your favorite subreddit
  • Search for youtube.com on Lemmy. You can filter by community and add more keywords.
  • Install the FreshView browser addon to hide already watched videos on YouTube (probably does not work on mobile).
path: 0 24264131, hotness: undefined, score: 3, children: 0
Ordoviz 3 points 7 months ago

dupeGuru has a great GUI for finding similar looking images (videos are not supported). See How to deduplicate files on Linux with dupeGuru for a tutorial. There's a similar tool for videos called videoduplicatefinder but I did not try it out.

I will now share my experiences with using dupeGuru. I ran it in Picture mode and selected "Match pictures of different dimensions". It was nice to see that it found a few low-quality JPEGs that look identical to higher-quality PNGs. One feature that I really like is the option to "ignore duplicates hardlinking to the same file"; let me explain why: I sometimes download the same image into multiple subfolders of my fan art collection, so I want to keep both images despite them being exact duplicates. This can be accomplished by running rdfind -makehardlinks true . to turn exact duplicates into hardlinks, and running dupeGuru afterwards.

I experimented a bit with with "Filter Hardness". On the first run, I set it to "≥95% match" and the results did not contain any false positives! I later went down to "≥70% match", which reported more duplicates, but also some false positives. If you have many comic doodles in your collection, choose at least 80%. However, if you want to detect crops of other images, you have to choose a lower percentage. On my collection of 3000 images, dupeGuru took about 5 minutes.

dupeGuru has one major downside: The current release version ignores webp images, but you can build it from source (Arch users can install dupeguru-git from the AUR). Another downside is that it automatically chooses the biggest file among all duplicates as the reference file. This is often a good heuristic but fails badly with webp images that have better compression ratio than other formats. You can fix this by going to Actions → Re-Prioritize Results and putting "Dimension: Highest" at the top of the list.

path: 0 21889625, hotness: undefined, score: 3, children: 0
Ordoviz 3 points a year ago

Baba Is You is Finnish (and hands down the best puzzle game ever).

path: 0 19691700, hotness: undefined, score: 3, children: 0
Ordoviz 3 points 2 months ago

Undertale/Deltarune, Hollow Knight, Celeste und Animal Well gehören zu den besten Spielen aller Zeiten und erfüllen deine Bedingungen – Ich würde sie aber nur in ruhiger Umgebung spielen. Baba Is You und Dicey Dungeons kann man gut im Zug spielen.

path: 0 24558353, hotness: undefined, score: 3, children: 0
Ordoviz 3 points 2 months ago

If your extension consists of just a single JavaScript file you can simply add that to your Violentmonkey script collection. Otherwise, you can unzip the XPI file and load it as a temporary addon (AFAIK temporary addons are removed when you close Firefox).

path: 0 24504758, hotness: undefined, score: 3, children: 0

thanks for using Leebra!

go to feed...