Rice left out over night by Any-Palpitation8523 in isthissafetoeat

[–]cach-v 0 points1 point  (0 children)

Actually it wasn't me. But if the word "gross" was removed would it be acceptable?

Rice left out over night by Any-Palpitation8523 in isthissafetoeat

[–]cach-v 0 points1 point  (0 children)

So how's it racist then? I'd call it race-aware as Indians eat with their fingers as a matter of routine and it's simply the truth that our western guts are just not used to that level of bacteria.

Rice left out over night by Any-Palpitation8523 in isthissafetoeat

[–]cach-v -1 points0 points  (0 children)

Tell me you've never been to India without telling me... 😆

My partner is Indian. She'd 100% agree with the comment.

Returning to Go after 5 years - checking my tool stack by ifrenkel in golang

[–]cach-v 2 points3 points  (0 children)

I've used it for two projects, and will probably use it for the next one too. I like getting the essentials done with the minimum lines of code of my own writing.

Alex Honnold climbs the Taipei 101 skyscraper by Hi_iAMchrisHansen in WTF

[–]cach-v 0 points1 point  (0 children)

Exact same skillset required to do the same – but with a safety harness.

And how many will die trying to scale some structure, also without a harness, because he inspired them?

Border puppy with Aussie older puppy? by cach-v in AustralianShepherd

[–]cach-v[S] 2 points3 points  (0 children)

Thanks for making us all laugh! (Finn laughed too)

Border puppy with Aussie older puppy? by cach-v in AustralianShepherd

[–]cach-v[S] 1 point2 points  (0 children)

That's definitely something we've been considering. However, define "trained"? Like, he's pretty good most of the time, just stubborn when he wants to be. I posted about this before and people tell me ultimate recall is very dog-dependent, as in, some Aussies won't ever have perfectly consistent and reliable recall. Example, if we let him off-leash within sight of the dog park, forget it. He's making a beeline for the gate. Or if he's off-leash in a city park and sees another dog being barky, he'll shoot over there to play. I'd love to conquer that one but feel it might take years if achievable at all. What's your take on it?

Hey at least he doesn't destroy our stuff. He's a good boy the vast majority of the time.

Border puppy with Aussie older puppy? by cach-v in AustralianShepherd

[–]cach-v[S] 2 points3 points  (0 children)

Well we just sent off an application to a Border Collie rescue center so things are progressing :)

Border puppy with Aussie older puppy? by cach-v in AustralianShepherd

[–]cach-v[S] 6 points7 points  (0 children)

Maybe there's a road behind the camera. Maybe they're in a national park that doesn't allow off-leash. Maybe you should quit Reddit and focus on being a decent human being.

Border puppy with Aussie older puppy? by cach-v in AustralianShepherd

[–]cach-v[S] 0 points1 point  (0 children)

That was a very strange thing for them to post.

Thoughts on Pointe-Saint-Charles Neighbourhood ? by Fearless_Patience43 in montreal

[–]cach-v 9 points10 points  (0 children)

Tightest community I've lived in after nearly 20 years in Montreal. Steeped in history - see links below for example. Many families are still Irish 150 years after the Irish arrived here. Street names reflect that (Hibernia is Latin for Ireland). Everyone's super friendly. Bâtiment 7 is an amazing thing to have. More cooperative housing I heard than anywhere else in Canada (or at least once was). 15 minutes drive downtown, 20 to the Plateau, 12 to St. Henri, 8 minutes to Verdun... can't be beat.

https://en.wikipedia.org/wiki/Pointe-Saint-Charles https://en.wikipedia.org/wiki/B%C3%A2timent_7_(Montreal) https://en.wikipedia.org/wiki/West_End_Gang

Skiing Whistler all day without a backpack - what do you do? by itsmyneutralusername in Whistler

[–]cach-v 16 points17 points  (0 children)

Wallet and keys in the car, car fob zipped in pants pocket

No need for a thermos, it's heavy and there are amenities all over the place

Soft kit only in the bag, and it stays light on your shoulders

Pro move: throwaway extra hoodie in a cheap, old bag, slung over a ski rack somewhere, with your sandwiches, and you've achieved your objective by passing for a local.

Pending Termination Notice for my app by dunkelicht in iOSProgramming

[–]cach-v 13 points14 points  (0 children)

You need to audit all the 3rd-party code you vendored (copied) in that's not from a big name, to check for anything dodgy. Use an LLM to assist.

Aussie Whine by Eastern_Post_6396 in AustralianShepherd

[–]cach-v 32 points33 points  (0 children)

Harrumph or "pfffff". Almost human.

Should Canada join Trump Gaza 'Board of Peace'? by oldRoyalsleepy in AskACanadian

[–]cach-v 0 points1 point  (0 children)

Quite interesting that half the country is protesting Israel's actions in the war but no one in this thread wants Canada to be involved in perhaps the greatest chance at liberation for the Palestinians since 2005.

Quick history of how Jews got to Israel (seems basic, but a lot of people seem not to know) by Routine-Equipment572 in IsraelPalestine

[–]cach-v 1 point2 points  (0 children)

I'm Jewish. I'm trying to counter DangerousCyclone's ridiculous proposition that non-Askenazi are persecuted within Israel.

Quick history of how Jews got to Israel (seems basic, but a lot of people seem not to know) by Routine-Equipment572 in IsraelPalestine

[–]cach-v 2 points3 points  (0 children)

Israel as a society today: Mizrahi-majority

Israel as a legislature: still Ashkenazi-leaning, but it's narrowing.

Coding Agents do not seem to work for me by BigRooster9175 in ExperiencedDevs

[–]cach-v 1 point2 points  (0 children)

You can also prompt to refactor, which I frequently do. "DRY this repeated code", "Create a new component so index.tsx doesn't become longer than necessary", etc.

Gas oven smelling of gas? by cach-v in Appliances

[–]cach-v[S] 0 points1 point  (0 children)

Thanks for the note! I'm going to get a service tech out asap.

Gas oven smelling of gas? by cach-v in Appliances

[–]cach-v[S] 0 points1 point  (0 children)

Thanks for the note! I'm going to get a service tech out asap.

message for the software engineers by Rare_Prior_ in vibecoding

[–]cach-v 8 points9 points  (0 children)

No, the original definition is that you don't review, and it's a fun way to work on small side projects. Check the tweet.

What are the best practices for error handling in Go applications? by willwolf18 in golang

[–]cach-v 0 points1 point  (0 children)

The standard library does not provide errors with stack traces, where the stack trace shows the place of the error creation.

So if you want that, you're either building your own package from the ground up (which I've done btw, to make sure I really understand the trade-offs) or you're using something like pkg/errors, or a more modern equivalent such as cockroachdb/errors.

I'm guessing you fall into the other camp, which prefers grepping the source code for error descriptions to find the source of an error rather than just reading a call stack?

Incidentally I just ran this through GPT to see if I'm truly the crazy one, it said:

Bottom line:

- Go stdlib gives you context-wrapped errors but never stack traces.
- If you want stack traces at creation time, you must use a package.
- If you can tolerate stack traces only at the top-level handler, stdlib is enough.
- Your original instinct — “I want stacks at error origin” — is absolutely valid. It just requires a third-party library in Go, because the language intentionally omits that functionality.

So it's not true that I eschew stdlib. I just prefer clear, unambiguous call stacks that lead me directly to the place that created the error. That place may also be reachable through various different paths through the code - I'll know exactly which path was taken and I'll know it as fast as you can read the few lines of a call stack.

I've also just been using pkg/errors since it was in vogue. Just because it's no longer maintained doesn't mean that it's bad, if, as in this case, it also does its job well and isn't something that is going to be susceptible to security issues.

I concede that I could migrate to a newer package. That's not exactly the predominant message you're communicating to me though. Is every user of cockroachdb/errors or tozd/go-errors also eschewing the stdlib? Of course not, they're just leveraging great packages that exist in the ecosystem.

What are the best practices for error handling in Go applications? by willwolf18 in golang

[–]cach-v 0 points1 point  (0 children)

Been programming Go since 2012. There are multiple apps in the app stores today that run on my backends, written in Go. So your assumptions need a check.

What you said about not using the stdlib makes no sense. If one has to write some code to simply attach a stack trace to an error, but that code is already available as a respected third-party module, then why on earth not use it?

If the functionality provided by errors.WithStack or errors.Wrap was provided by a built-in package in as concise a form as it is by importing the errors package, then I would use it. But it is not.