Roman's Avatar

Roman

@sa-tre

1996, Software Engineer, Studio Ghibli, Ace Combat, From Software, Physics, Cooking

33
Followers
54
Following
187
Posts
20.11.2024
Joined
Posts Following

Latest posts by Roman @sa-tre

All day migraine is not how I wanted to spend Saturday

04.01.2025 18:50 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

GOOOOOD EVENING

03.01.2025 22:49 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
a close up of a cat laying on its back on a black surface . ALT: a close up of a cat laying on its back on a black surface .
02.01.2025 18:44 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
Water Spray Stop GIF ALT: Water Spray Stop GIF
02.01.2025 18:27 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

We balling with this list

02.01.2025 16:59 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Don't get me wrong, I agree completely, and I'd love to have something akin to Rust's stronger enum system to underpin errors, options, and pattern matching.

It does feel like you have to architect around the languages semantics

01.01.2025 23:14 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Love the green

01.01.2025 23:07 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

This might be a consequence of trying to fit a square in a round hole or whatever the phrase is. Go very much lends itself to microservice architecture, within which your error mapping on your service looks more like checking the HTTP response code of another service, if that makes sense?

01.01.2025 23:04 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Best remake

01.01.2025 22:59 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

I'm back home now, so no more doggo for a while. Gonna miss him

01.01.2025 22:58 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

You know, seeing stored procs with their earliest change log at 2003 doesn't seem so bad now

01.01.2025 22:56 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Enforcing boundaries when you haven't done that before can come off as confrontational, but it isn't. You just have to be firm and make it clear you don't want them to be part of your life anymore. There's no need to discuss it at length, just state intentions and cut ties and communications

01.01.2025 22:55 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

If this is true, this is the funniest thing I've heard about VB. I need to laugh to cope with the pain of the legacy projects

01.01.2025 22:51 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

I swear this is a consequence of those tiktoks people were making a few years ago romanticising it for some reason. It's really not much to ask to be met with an open mind and no expectations of some type to fill

01.01.2025 22:50 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Even if they make you write VB .NET or god help you, VB6?

01.01.2025 22:47 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

You could potentially still do this, but you might just have to hardwave details on the error and swap for an alternate at some point. This isn't something I've seen done in Go, and I'm not sure what use case it'd come up in? Sounds very OOP

01.01.2025 22:46 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

I think the intention really is to focus on then as more generic values that you keep a same error path for rather than more granular control where you might perform different control depending on the outcome. It's closer to an A then B, if it fails here then do this. Then proceed to next

01.01.2025 22:45 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

You also don't- there's no exhaustive checks required for matching errors. Onus is on the programmer here to do their homework properly

01.01.2025 18:59 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

You'd have to snoop the service package code and couple the handler to its internal error representations if any custom ones are made. It's not nearly as elegant as what rust can do with enums and error mapping, no. I wish

01.01.2025 18:58 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Can't do it, I don't have object permanence so if I don't see people they don't exist until I'm reminded about them

01.01.2025 17:29 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Always be an eternal learner if you can, the basics never end, and those foundational skills are always useful

01.01.2025 17:21 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

This kind of granular error handling isn't usually implemented. Usually you just return an error of some variation and you can potentially check it in the calling function to match it and do different things, but typically it'll just be going down error path or bubbling up from there

01.01.2025 15:43 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Was alarmed that you've just started programming or something

01.01.2025 15:41 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
CVE Website

This aged like wine www.cve.org/CVERecord?id...

01.01.2025 15:37 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Corposlop straight from the source today

TS is a glorified vscode extension

01.01.2025 13:11 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Ok, but what if we didn't sit in the quiet coach on the train and talk loudly with a screaming toddler

01.01.2025 11:55 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
a man in a black robe sits at a table with a bowl of grapes ALT: a man in a black robe sits at a table with a bowl of grapes
01.01.2025 09:30 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Happy new year, hoping 2025 treats you better

01.01.2025 00:41 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Happy NY moots ~~

31.12.2024 22:55 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Post image

He's a complete teddy, so he'd love that. Highly recommend getting one someday

31.12.2024 20:37 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0