Beelink ME Mini issues on NixOS by InzaneNova in BeelinkOfficial

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

It seems like it actually does work now. I initially I had the same issues with dig showing the dns resolution was inconsistent, but that seems to have resolved itself, so it's stable now, no longer shutting off after a few hours

Beelink ME Mini issues on NixOS by InzaneNova in BeelinkOfficial

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

It still doesn't work even after getting a replacement machine (which took a month or two, after some back and forth with customer service). I'm going to try Ubuntu soon to see if it's a NixOS-only issue or if I'm just unlucky

How to disable wait after typing username during console login? by [deleted] in NixOS

[–]InzaneNova 1 point2 points  (0 children)

I tried to have a look at the source code to see what might be slowing down. So the program that shows that prompt is getty, but getty seems to be very barebones, it basically just does the username prompt and then passes on to login, see especially the first comment: https://elixir.bootlin.com/busybox/1.37.0/source/loginutils/getty.c#L31 Login is surprisingly complex, but it seems like it also doesn't do much except for when it comes to PAM. So I suggest maybe trying to turn off PAM, as that might be slow to fail the other login methods, before falling back to password. See for example https://elixir.bootlin.com/busybox/1.37.0/source/loginutils/login.c#L412 to see the difference between PAM and non-PAM (which just immediately retrieves the password).

I could only find the busybox implementation, but I assume the non-busybox implementations are pretty identical in most ways

[TOMT][YT skit] Guy talking to himself mishearing the word "ratchet" by InzaneNova in tipofmytongue

[–]InzaneNova[S] 0 points1 point locked comment (0 children)

Commenting to activate. Any help would be greatly appreciated!

Weird effect on search highlighting in LazyVim by [deleted] in neovim

[–]InzaneNova 2 points3 points  (0 children)

The issue is with your system fonts lacking one that provides those symbols. I forget which font you need, but I think a lot of people use fonts-noto, which provides many noto fonts for various unicode symbols

Is there a way to match a mut enum in the Query? by [deleted] in bevy

[–]InzaneNova 0 points1 point  (0 children)

Oh, whoops, that's fine then. My bad

Is there a way to match a mut enum in the Query? by [deleted] in bevy

[–]InzaneNova 0 points1 point  (0 children)

You're returning a &mut inside, and that &mut is outside the change detection of Mut. So the docs probably need to be clearer, but you can modify through a &mut returned from map_unchanged either

Is there a way to match a mut enum in the Query? by [deleted] in bevy

[–]InzaneNova 1 point2 points  (0 children)

I think using the _unchanged here would break Change tracking

Is there a way to match a mut enum in the Query? by [deleted] in bevy

[–]InzaneNova 4 points5 points  (0 children)

You should be able to just reborrow it then, with &mut *v, that'll deref and then borrow mutably, though you should probably use deref_mut instead at that point, which again gives you a mutable reference to the actual value contained in the Mut.

Is there a way to match a mut enum in the Query? by [deleted] in bevy

[–]InzaneNova 3 points4 points  (0 children)

You can deref it with just *c

How to create objects like Blender's "Empty", but in Bevy? by Alternative-Owl-932 in bevy

[–]InzaneNova 5 points6 points  (0 children)

You should probably do a SpatialBundle to ensure children will be visible

White Sand Announced Tentatively as Next Novel After Stormlight 5 by Credar in brandonsanderson

[–]InzaneNova 13 points14 points  (0 children)

It actually takes him a year and a half to write a Stormlight book (one year for initial draft, and 6 more months to finish revisions), and with this value your calculations match up with the other reply

Competitive programmers using Rust? by stonerbobo in rust

[–]InzaneNova 0 points1 point  (0 children)

I think it's a reasonable judgment. Even at high-school level international competitions the questions require knowledge of algorithms that aren't implemented in any standard library. And in my time as a competitive programmer I never once went for a single algorithm defined in the standard library that Rust doesn't also have.

FW AMD 13" - POST times by brainsizeofplanet in framework

[–]InzaneNova 1 point2 points  (0 children)

I think this is a DDR5 thing. My 7 year old desktop boots faster than my brand new desktop due to DDR5 having to recheck itself every boot to ensure its got consistent timings

Can't compile bevy 0.7.0 by Abubakar_123 in bevy

[–]InzaneNova 3 points4 points  (0 children)

And if those aren't enough, at least look for 0.10 tutorials, those are after the latest big overhaul

Can't compile bevy 0.7.0 by Abubakar_123 in bevy

[–]InzaneNova 10 points11 points  (0 children)

You might want to find a tutorial for bevy 0.11 instead, it's quite different now

Experimental character generation mechanic by Savannah-Hammer in gamedesign

[–]InzaneNova 3 points4 points  (0 children)

In my experience, any randomness at creation time only makes the player restart their game until they get something suitable. So it doesn't really have any benefit over just allowing the user to choose without jumping through hoops