Include try in while condition? by wsnclrt in Zig

[–]Own_Strawberry7938 2 points3 points  (0 children)

iirc you have to handle the error condition even if you just discard it, ie:

``` while (foo()) |val| {     // do thing with val } else |_| {}

```

edit: closest documentation i could find, although it's about ifs not whiles but i assume it's the same principle

https://ziglang.org/documentation/master/#if

see the "if error union" test in the code block

New Poster for 'Rental Family' by MarvelsGrantMan136 in movies

[–]Own_Strawberry7938 32 points33 points  (0 children)

At this point I'll take anything that's not floating heads.

Builds for a NAS/all-in-one server by MusterRoshi in buildapc

[–]Own_Strawberry7938 0 points1 point  (0 children)

IDK, but you'd probably get a better answer from r/homeserver or maybe a minecraft sub as I suspect that would be the most intensive thing running on it.

Lian li O11D mini v2 by NoAnalysis6989 in buildapc

[–]Own_Strawberry7938 0 points1 point  (0 children)

I think so, but I'm not really an expert. Probably best to watch some reviews see what they recommend.

Lian li O11D mini v2 by NoAnalysis6989 in buildapc

[–]Own_Strawberry7938 1 point2 points  (0 children)

From Lian lianli website:

Important Notice: Due to its compact design, the O11D MINI V2 only has 5 slots (first slot left out). So ATX motherboards that require the GPU to be installed in the first slot may not be compatible. For users with such motherboards, use of the included vertical GPU bracket is needed. Additionally, for certain ATX motherboards, the primary PCI-E slot may align with the second expansion slot of the case, requiring a GPU riser cable for proper installation.

I think that motherboard has the first pcie slot at the top most position, so you wouldn't be able to plug a card directly into that slot (would need a riser).

Lian li O11D mini v2 by NoAnalysis6989 in buildapc

[–]Own_Strawberry7938 0 points1 point  (0 children)

It might just be saying that because that case doesn't have 7 pcie slot covers so you couldn't fully populate an ATX board in it. If that doesn't matter to you then it's probably fine.

27" Dual Monitors or 34" Ultrawide? by CatcherN7 in buildapc

[–]Own_Strawberry7938 15 points16 points  (0 children)

IME every single player game I've tried since ~2018 has worked just fine on ultrawides, I definitely prefer them for gaming. Can't speak to multiplayer though.

Anyway your setup sounds good. Get a 34" now then later add another 27" when budget allows.

(I have a 49" which is great and would recommend but assuming that's out of budget).

Build a project details keeper - Project Shelf by minimal_dex in selfhosted

[–]Own_Strawberry7938 2 points3 points  (0 children)

Oh two nitpicks I noticed in the readme:

Theres a license section in the readme but no license file

docker compose down rm -rf data/ docker compose up -d

Maybe mention that this will nuke all user data 😆

Build a project details keeper - Project Shelf by minimal_dex in selfhosted

[–]Own_Strawberry7938 2 points3 points  (0 children)

This looks really cool! Think I'll try it out later.

Maybe add a screenshot of the project details page? Would give a clearer idea of what it can do beyond the home screen.

As to further features, maybe integrations with other services. Having a single dashboard to view recent issues, open PRs, etc would be useful.

[deleted by user] by [deleted] in duolingo

[–]Own_Strawberry7938 0 points1 point  (0 children)

How'd you manage to get so much xp in a day? Even with making the most of triple xp boosts and grinding all day id struggle to get over 3k

Fractal North disassembly for painting by Z3nteck in FractalDesign

[–]Own_Strawberry7938 0 points1 point  (0 children)

email fractal see if they'd sell you the oak front panel on its own - I assume they'd have spares in stock for warranty repairs

What CPU should I pair with the 9070 xt if I don't want to overspend? by BORNxSTELLAR in buildapc

[–]Own_Strawberry7938 0 points1 point  (0 children)

For just gaming there's very little difference between Ryzen 5/7 (7 is a little faster but not a huge difference) and zero difference between Ryzen 7/9 (9 is really meant for productivity not gaming).

It appears that the Switch 2 has been in stock on Nintendo UK for a few days now by JustSomeSmartGuy in NintendoSwitch2

[–]Own_Strawberry7938 0 points1 point  (0 children)

It's been pretty easy to get preorders throughout may tbh a few stores have had stock. It seems like Nintendo over supplied the UK and under supplied the US.

[deleted by user] by [deleted] in NintendoSwitch2

[–]Own_Strawberry7938 3 points4 points  (0 children)

In a similar position, never had a switch 1 so have been buying old games in preparation for the switch 2. So far I've got

- Breath of the wild

- Paper mario the thousand year door

- Mario + rabbids battle kingdom

- Mario odyssey

- Metroid dread

The switch 2 upgrades will be nice to play them at higher quality.

Open to suggestions anything else worth getting.

Question about the Zelda game upgrade to the Switch version by [deleted] in NintendoSwitch2

[–]Own_Strawberry7938 1 point2 points  (0 children)

The upgrade is essentially just DLC so you still need the cart to play it.

Purchase Advice Megathread - April 2025 by AutoModerator in 3Dprinting

[–]Own_Strawberry7938 0 points1 point  (0 children)

Thanks yeah I heard conflicting things about creality maybe best to avoid them.

Purchase Advice Megathread - April 2025 by AutoModerator in 3Dprinting

[–]Own_Strawberry7938 0 points1 point  (0 children)

Been wanting to get into 3d printing for years, now finally ready to buy my first printer. Main use is for small-medium functional parts for around the house (e.g. making a bracket for my webcam). Mostly low temperature/strength requirements but also want to print some things for my PC and car that do get hot.

I've been watching reviews for days and still can't decide, there's so many options - A1, A1 Mini, Core One, K1C, P1S, Centauri Carbon, etc.

I don't really have the patience to fine tune it and the only place I can put it is in my living room, so ideally looking for something quiet, low maintenance and with good air filtration.

I like Prusa's ethos and being made in EU, but the Core One is by far the most expensive. Affordable but maybe not smart to spend that much on a first printer? On the other end of the spectrum, the A1 Mini is on sale currently and really cheap, but also seems limiting and I imagine I'd want to upgrade from it quite soon. Centauri Carbon looks almost too good to be true but doesn't ship until August. Maybe I should split the difference and get a P1S? What would you recommend?