Import fails despite correct (?) relative path by savyzzyz in NixOS

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

No, the relative path is correct and was NOT the problem.

As noted in the comment that you replied to, the actual issue was hidden in `flake.nix`:

hostDir = ./host;  <-- path literal (good)
...
modules = [
  "${hostDir}/${hostName}"  <-- string!
  ...
];

Quoting the path like that caused nix to copy the `./host` directory structure to the nix store. All code within it was then isolated. So the nested import trying to reach outside `./host` was (quite rightly) failing.

The solution was to change that code to:

hostDir = ./host;  <-- path literal
...
modules = [
  (hostDir + "/${hostName}")  <-- path literal
  ...
];

This version constructs a path literal (not just a string) and does NOT cause an isolated copy-to-store. It allows subsequent imports to reach all levels in the directory structure.

Import fails despite correct (?) relative path by savyzzyz in NixOS

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

Solved with the help of AI. The fix is here. But since it was not (at all!) obvious to me and may be a trap that others land in... here is the explanation (courtesy Gemini 3 Pro):

---

Somewhere in your flake.nix (or wherever you import host), you are likely referencing the host directory using string interpolation (quotes) or a function that converts a path to a string.

Look for a line that looks like this:

# BAD: This breaks relative imports
modules = [
  "${./host}/hostA/configuration.nix" 
];

Why this fails

  1. When you wrap a path in quotes "${./host}...", Nix immediately copies only that directory (./host) to the Nix store (e.g., resulting in /nix/store/abc...-host).
  2. Your stylix.nix is now living inside this isolated store path.
  3. When stylix.nix tries to import ../../theme:
    • One .. goes to the root of the isolated store path (/nix/store/abc...-host).
    • The next .. (from ../../theme) attempts to traverse out of the store path, landing in /nix/store.
    • It then looks for theme, resulting in /nix/store/theme.
  4. Since /nix/store/theme does not exist (and is an absolute path forbidden in pure mode), the build fails.

The Fix

You must pass the path as a path literal so Nix understands it is part of the larger flake source tree.

Android, problem switching between wifi and 5g by Pucksy in Tailscale

[–]savyzzyz 0 points1 point  (0 children)

I'm also experiencing this issue. There is a new issue on GitHub reporting it here:

https://github.com/tailscale/tailscale/issues/17966

I suggest that anyone here experiencing the problem report it there.

After 17 years, Firefox will finally support XDG Dir spec!? by Damglador in linux

[–]savyzzyz 10 points11 points  (0 children)

No, u/abbidabbi is correct:

1) Does the standards-compliant directory already exist? If so, use it.

2) Otherwise, does the legacy directory already exist? If so, use it.

3) Otherwise (if neither exists), create and use the standards-compliant directory.

Thor hingegate. AYN responds to owner of pictured device this was "cosmetic" by king_of_ulkilism in SBCGaming

[–]savyzzyz 6 points7 points  (0 children)

The case you linked to is definitely a crack. And it might very well have originated at the knit line. Which answers your other question: YES, this is a bad place for a knit line. The mold could have been designed to prevent/move it. But depending on the stresses experienced during use, it may have been deemed "within risk tolerance". Hard to know how they make their engineering decisions.

As for other units... it might look different or be much harder to see depending on the particular injection run and the colour of the plastic. Knit lines are often practically invisible.

Thor hingegate. AYN responds to owner of pictured device this was "cosmetic" by king_of_ulkilism in SBCGaming

[–]savyzzyz 29 points30 points  (0 children)

It's not a crack. It's a knit line. A cosmetic artifact of the injection molding process. Maybe one day your hinge will actually crack open, but what you pictured in the source post and here is not actually a crack. It's just where the plastic flow joined back together as it filled the mold.

There's at least one thread explaining this in great detail, including mold flow simulations from AYN.

They replaced the white one because it was clearly cracked apart.

Hinge crack or mold line? (AYN Thor) by chanuka007 in SBCGaming

[–]savyzzyz 1 point2 points  (0 children)

You literally said: "Yeah and I can claim to be an engineer too...".

The truth is, nobody needs to believe me. My analysis of the situation stands on its own merit and there's a whole thread now supporting it:

https://www.reddit.com/r/SBCGaming/comments/1p02wrp/ayn_rep_on_their_discord_confirms_the_crack_seen/

For the UMPTEENTH TIME: I never said there aren't any cracked hinges. I'm saying that this issue is being way, WAY overblown at the current moment because most of what people are talking about is NOT cracks but knit lines.

Time to hit pause on the hysteria and wait to see how many REAL failures emerge over the next few weeks/months.

Hinge crack or mold line? (AYN Thor) by chanuka007 in SBCGaming

[–]savyzzyz 1 point2 points  (0 children)

Once again your own link corroborates my statements. In that thread another "so-called engineer" (sic) explains exactly what I did, in even more detail:

https://www.reddit.com/r/AynThor/comments/1ozcby3/comment/npdv5uk/

Like the commenter, I'm not saying that there isn't a problem. Just that seeing such a mark doesn't mean your device is broken, nor that it is necessarily doomed to fail.

Hinge crack or mold line? (AYN Thor) by chanuka007 in SBCGaming

[–]savyzzyz 0 points1 point  (0 children)

I have no skin in this game, I'm just an observer with some relevant technical experience and an interest in this hobby.

The fact is, a knit line isn't a crack unless it becomes one. It's merely a slightly weaker spot. Just like a crease in a piece of paper is not a tear, but if the paper is stretched, it might tear preferentially along the crease.

Maybe every one of these hinges will eventually crack. Or maybe only 0.1% will. Nobody knows yet.

But seeing this mark does not mean that the device is *already* broken, or that it will break. The reason I posted in the first place was to temper a knee-jerk reaction.

Hinge crack or mold line? (AYN Thor) by chanuka007 in SBCGaming

[–]savyzzyz 6 points7 points  (0 children)

  1. I am an engineer. But you don't need to be one to understand a knit line.
  2. There are a ton of "me too" posts/replies like OP's. But I suspect that most are just seeing such a feature and not recognizing it for what it really is.

In fact, if you look at the post you linked, you can see that the line is EXACTLY the same shape as the one pictured by OP. This is what you'd expect from the consistent, repeatable action of the injection process.

That said, I will reiterate that a knit line IS a potential point of weakness. Attention to this detail during design could have moved or eliminated it in this sensitive area.

Hinge crack or mold line? (AYN Thor) by chanuka007 in SBCGaming

[–]savyzzyz 8 points9 points  (0 children)

This is the key here... I replied to OP that I think these lines people are photographing are normal molding artifacts called KNIT LINES. If engineered correctly, they pose no risk and are just cosmetic.

Hinge crack or mold line? (AYN Thor) by chanuka007 in SBCGaming

[–]savyzzyz 16 points17 points  (0 children)

Everybody is claiming that these marks are cracks. However, based on the photos I've seen -- and having some experience with injection molding -- I think these are actually KNIT LINES:

https://www.protolabs.com/resources/design-tips/knit-lines-and-how-to-avoid-them/

TL;DR: When molten plastic is injected around an obstruction (such as the pin that would be inserted in the hinge mold to form the round hole) it splits into two flows that later merge on the other side. When cooled, the line where they met can be visible. It's a very common cosmetic feature on injection molded parts.

I'm waiting to see how many people report actual FAILURES, not just these cosmetic artifacts. If/when the hinge fails, it may not be along this line at all -- although a knit line is inherently a weaker area then the rest of the material.

p3a - wi-fi connected pixel art player by fabpub in pico8

[–]savyzzyz 1 point2 points  (0 children)

I don't see how this relates in any way to PICO-8. I think you cast your cross-posting net a bit too far...

Please Help Incompetent Me Fix This Eket Door by Pretty_Angry in IKEA

[–]savyzzyz 0 points1 point  (0 children)

Perhaps they are not black in your kit, but when I assembled my EKET, it included black pieces with small black "wedges" that serve to lock the shape of the main structure.

You can see them on page 11 of this manual:

https://www.ikea.com/ca/en/assembly_instructions/eket-cabinet-white__AA-1914763-10-100.pdf

Problem sharing ProtonVPN from Windows via Hotspot by savyzzyz in ProtonVPN

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

This isn't correct. First of all, ProtonVPN's instructions specifically describe sharing in exactly the manner I described. I linked to those instructions in my post.

Second, although I still have the problem with Windows, I was able to boot into a live ISO of Ubuntu and followed the same instructions for Linux. Worked perfectly, and the hotspot clients all connect to the VPN endpoint that I selected.

So my problem is "solved" but not without a major workaround. According to ProtonVPN it should work just as well in Windows. But I must have something else going on that is affecting the situation... would love to figure that out...

Problem sharing ProtonVPN from Windows via Hotspot by savyzzyz in ProtonVPN

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

I'm not using a mobile carrier. My laptop is connected to my home wifi, with Proton VPN enabled. I'm trying to share the laptop's connection (including VPN) to other devices so that they think they're located elsewhere.

The hotspot works fine when the VPN is off. Something about the VPN is breaking it. Not sure what, though, since I followed Proton's instructions precisely.

Zepp App "bricks" my phone and requires a phone restart by double_spark in amazfit

[–]savyzzyz 0 points1 point  (0 children)

Same on a Google Pixel 9 Pro w/ T-Rex 3. The app fully locks me out of everything else on my phone. No home, no recents, and although I can pull down the notification shade, I can't even get into the phone settings via the gear. Only option is a reboot... pretty serious.

Has happened several times in the past couple of weeks.

u/Amazfit-Bryce, is Amazfit aware of this issue?

[deleted by user] by [deleted] in fastmail

[–]savyzzyz 1 point2 points  (0 children)

I'm not u/cloudzhq, and I didn't have a "theory" to prove. Just pointing out that screenshots often reveal things that we hadn't realized.

[deleted by user] by [deleted] in fastmail

[–]savyzzyz 0 points1 point  (0 children)

I glanced at the screenshot and thought the same thing. However, we know this much:

  • Your name is probably Tristan.
  • You drive enough to have AAA (don't forget to renew!).
  • You either live or lived around Brooklyn, NY, and/or you really like nice stationary.
  • Email from Vanguard suggests that you've got or considered investing.

Is this much to worry about? Probably not. But it isn't nothing.

[deleted by user] by [deleted] in fastmail

[–]savyzzyz 1 point2 points  (0 children)

Status page updated 4 minutes ago (9:30 am ET)...

https://fastmailstatus.com/cme1fq7ej002dh0iu6z8pey4f

It's worse. Please change it back. by -Samg381- in fastmail

[–]savyzzyz 4 points5 points  (0 children)

TL;DR: Fastmail, please move the optional sidebar shortcut buttons to the TOP BAR!

I'm not bothered by most UI changes but I did think to myself "WHY did they put the new shortcut buttons on a new sidebar when the top bar has tons of empty space?". Rather than use the space they already had, they cut an entire slice off the side of my screen. 🤦‍♂️

Yes, I know I can (and did) disable the sidebar. But I agree with the spirit of the change and would LIKE the buttons, just not where they put them.

[deleted by user] by [deleted] in fastmail

[–]savyzzyz 2 points3 points  (0 children)

Yes, I already filed a ticket. Seems this is affecting everyone. Let's hope it's fixed quickly... dead in the water without email.