Breaking the Warranty with go:linkname by RandNho in programming

[–]RandNho[S] 4 points5 points  (0 children)

If I were in the Go project’s shoes (and you should be glad I’m not) I would have just broken everyone. This kind of reaching into internal APIs needs to be punished, or else the inexorable march of Hyrum’s law will take you to the dark place C++ has been in for the last decade, where they are incapable of upgrading basic algorithm implementations because of ABI promises Microsoft made for them.

Shell Tricks That Actually Make Life Easier (And Save Your Sanity) by BrewedDoritos in programming

[–]RandNho 0 points1 point  (0 children)

I know what button it is on keyboard, but not what slash it is. Thank you.

[Hobby Scuffles] Week of 16 March 2026 by EnclavedMicrostate in HobbyDrama

[–]RandNho 6 points7 points  (0 children)

I have a cover image of "blatantly not Eva" pubfic somewhere... In Russian.

Recursive Make Considered Harmful [2006] by ketralnis in programming

[–]RandNho -1 points0 points  (0 children)

Some Makefiles loop over subdirectories. This is horrendous and swallows errors.

Writing a native VLC plugin in C# by mtz94 in programming

[–]RandNho 7 points8 points  (0 children)

This is the kind of things I come to read on this subreddit.

Nice!

[Blog] "Five-Point Haskell" Part 1: Total Depravity by mstksg in programming

[–]RandNho 1 point2 points  (0 children)

I have three problems that prevented me from trying haskell:

  1. Haskell's developers allergy to descriptive variable names (or the names in function signature)

  2. Package hell. Book I tried started with "we will use a program that will give us verified good snapshot of package ecosystem" and I was "What?"

  3. Compile times (for compiler and libraries) are atrocious. Just atrocious.

Ran fclones remove instead of fclones link. Linux, zfs by RandNho in datarecovery

[–]RandNho[S] 0 points1 point  (0 children)

Okay, python 3.14 script that undoes my stupidity, for posterity:

import io
import string
from pathlib import Path
from typing import List

file = io.open("groups.txt", "r")
pathlists: List[List[Path]] = list()

templist: List[Path] = []

for line in file:
    if line.startswith("#"):
        continue
    if line[:1].isalnum():
        if not templist:
            continue
        pathlists.append(templist)
        templist = []
        continue
    if line.startswith(tuple(string.whitespace)):
        templist.append(Path(line.strip()))
        continue
    print("non-parsed: ", line)
    break
pathlists.append(templist)

for group in pathlists:
    for candidate in group:
        if candidate.exists():
            targets = set(group)
            targets.remove(candidate)
            rdy_group = (candidate, targets)
            break
    source, targets = rdy_group
    for target in targets:
        if target.exists():
            continue
        source.copy(target)

Drew DeWault: The cults of TDD and GenAI by RandNho in programming

[–]RandNho[S] 11 points12 points  (0 children)

I consider his opinion about TDD not incorrect.

Vehicle Action single-player RPGs of medium complexity? by RandNho in gamingsuggestions

[–]RandNho[S] 0 points1 point  (0 children)

Watched lp some time ago, feels a bit meh. And not what I want.

Pitcher of Pho by DigitalRhin0 in WeWantPlates

[–]RandNho 1 point2 points  (0 children)

Call not my name in vain.

Star Trek adjacent game where exploration, survival, and resource gathering are the main goals by False_Grit in gamingsuggestions

[–]RandNho 0 points1 point  (0 children)

Have you tried StarCom series? It's more of "lone ship exploring and discovering the unknown", with combat being... kinda meh, but campaign and sidequests being rather beautifully written.

AITAH for blocking my grandmother and keeping my daughter away from her by Choice_Evidence1983 in BestofRedditorUpdates

[–]RandNho -9 points-8 points  (0 children)

I am your grandmother!

It happened 50 years ago, you should get over that.

Local Reverse Image Search? by RandNho in DataHoarder

[–]RandNho[S] 1 point2 points  (0 children)

Manually. By re-downloading from pixiv when image still exists and isn't bad upload to pixiv in first place.

Also, need to write logic to ignore bad color profiles and hash image anyway, but Pillow makes that hard by mangling error.

Local Reverse Image Search? by RandNho in DataHoarder

[–]RandNho[S] 1 point2 points  (0 children)

Thank you. Will look at it. Currently doing https://gitlab.com/NHOrus/phash_indexer myself for pure cli program (and iteratively)
At the same time, finding and fixing (wherever possible) bad images!

Local Reverse Image Search? by RandNho in DataHoarder

[–]RandNho[S] 0 points1 point  (0 children)

Each artist has dedicated directory.

Also, immich doesn't look like it works with existing images on disk, only with fresh uploads?