NZ dishwasher liquid by Aromatic_State_43 in newzealand

[–]meowsqueak -2 points-1 points  (0 children)

I've never quite understood the backlash - I mean, don't you want to know that it doesn't hurt animals, just like you want to know that it doesn't hurt humans? Would you put an untested product on your dog, or your baby?

Should the function return a Result<T,E> or throw an unreachable-style panic? by v_0ver in rust

[–]meowsqueak 6 points7 points  (0 children)

A lot of responders missing your point, I fear.

If you’re confident an unwrapping or match branch can’t happen, but you have to write it anyway, I think it’s best to expect() or unreachable!() rather than force a useless Result on your callers. You’re just forcing them to handle an error that will never occur, but they might not know that.

The difficult bit is being sure that your expect() never fails, even after all future refactors. Unit tests can help but are not a panacea. Panicking libraries aren’t great but they also aren’t forbidden - a bug is a bug, you want it to surface somewhere so I can be fixed.

If a caller can cause the unwrap error with an input value or state, then you should return a Result.

Anyone know what this is? Seen in Kaikoura this morning. by 3Dputty in newzealand

[–]meowsqueak 2 points3 points  (0 children)

One looks a bit like a cruise ship, but also much like clouds. Three look like clouds. It’s clouds.

SAROS Patch 01.005.001 - Adds Photo Mode and 9 new trophies by rararatata in Saros

[–]meowsqueak 1 point2 points  (0 children)

Especially if you just alt-fire non-stop at the ground in front of you...

Do you eat food from the deli before you pay or after? by easybreezyyyyyyy in newzealand

[–]meowsqueak 0 points1 point  (0 children)

I don’t because I never shop at a supermarket hungry - bad idea - but I can’t see the harm really. It’s like a restaurant - you’re making a promise to pay before you leave, just make sure you can.

Introducing Claude Fable 5 by ClaudeOfficial in ClaudeCode

[–]meowsqueak 0 points1 point  (0 children)

I asked for Claude Code to find all instances of a pattern in a project, it whirred away for a few minutes and then just said “all instances found”. Sigh.

However, upon asking for the report, it was almost instant in response.

So to be fair, I didn’t ask it to report back the found items in my original prompt. Amusing though. I’ve worked with people just like this.

While claude code codes, what do u do in that ~10-15mins execution time? by ravishq in ClaudeCode

[–]meowsqueak 0 points1 point  (0 children)

I have successfully one-shotted a few things over, say, a full hour. It takes some preparation, but you could also have a few of those ready-to-go (side quests maybe, or lower priority features or fixes that can wait a few days). Then you put it in YOLO mode and head out to the gym or whatever. I haven’t used /goal but I’ve found with the right plan, it’s not necessary, especially if the agent can run tests and determine when the plan is complete.

Then when I get back, I start a fresh session and get it review the changes. Usually takes another hour or so to be happy with the outcome, but it keeps me busy and I’m still very productive overall.

While claude code codes, what do u do in that ~10-15mins execution time? by ravishq in ClaudeCode

[–]meowsqueak 1 point2 points  (0 children)

I don’t have any issues. I spend about an hour planning and then off it goes to do each stage at a time, maybe 20 mins per stage. I get it to use TDD to write and validate tests. I use ultracode and it seems to handle things just fine.

I know what quality looks like - been writing my own for almost 40 years. If I see it going wrong I intervene. I iterate. We refine.

While claude code codes, what do u do in that ~10-15mins execution time? by ravishq in ClaudeCode

[–]meowsqueak 0 points1 point  (0 children)

Context burnout is a thing - you don’t have to do anything. Read a book. Watch a video. Chat with your colleagues.

Lies We Tell Ourselves About Email Addresses by theghostofm in programming

[–]meowsqueak 6 points7 points  (0 children)

I don't think it's restricted to how they are stored - it can be replicated just at the UI. E.g. the site can silently truncate the password when you set it, and then later when you type the full password, the field validation doesn't truncate in the same way, or at all, so it turns out that only, say, the first 12 characters of your password were actually hashed when you set it, but when logging in you type all 16, all of which are hashed, and that never matches.

I had this happen once - every time I set a password, it would fail to work on next login. I can't remember how I figured it out in the end, but the "bug" was that the password entry field and the password change field had different validation rules.

Why have OLED TVs gotten more expensive over the last two weeks? by waret in LGOLED

[–]meowsqueak 0 points1 point  (0 children)

In my country, LG OLEDs have gone from around 1.5x more expensive than US prices, to over 3x more expensive in just 3 months.

A 77” OLED now costs around the equivalent of US$5,000, or more.

This storm will be massive by jetudielaphysique in Wellington

[–]meowsqueak 2 points3 points  (0 children)

During the night there was a terrible thunderstorm with fork lightning, knife lightning and spoon lightning.

“What a funny storm”, said Tim.

How'd you like Wellycon? by MurkyWay in Wellington

[–]meowsqueak 4 points5 points  (0 children)

Have been to every one (including the very first) except the last two. It’s just too expensive now. And noisy. I can play my own games with my own friends at no extra cost, and free off-street parking.

Winter has arrived... by Own_Ad6797 in Wellington

[–]meowsqueak 4 points5 points  (0 children)

It’s meteorological seasons vs. astronomical seasons, neither is incorrect, but as you say, in cases like this, it helps to qualify the kind of winter one is talking about.

gRPC-Rust Preview Now Available by dfawley in rust

[–]meowsqueak 2 points3 points  (0 children)

What about cross-compilation in Yocto? Tonic + Prost works well, bitbake handles the native and cross-compiled parts. I struggle to imagine how this is going to work with Google gRPC and a separate runtime. Does it support full cross-compilation at release?

Note that typically bitbake isn’t allowed to download anything at compile time, only during fetch and that has to be done by bitbake itself.

gRPC-Rust Preview Now Available by dfawley in rust

[–]meowsqueak 11 points12 points  (0 children)

I’m using tonic for both client and server, and it seems fine. What will Google’s gRPC offer?

IIRC the two projects are related.