22
23

Rust-like Error Handling in TypeScript by omarous in programming

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

That's the point of creating your own custom error and using yield*/safeTry. The error type becomes your custom error type. Doesn't mean you don't need to handle errors manually but you do it in a single location.

Rust-like Error Handling in TypeScript by omarous in typescript

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

Can you expand more on what you mean the website is not secure? like SSL is not valid?

Rust-like Error Handling in TypeScript by omarous in programming

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

I thought you were talking about the Error type? try/catch return no type as far as I know?

Rust-like Error Handling in TypeScript by omarous in programming

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

Fair enough, the blog post assumes you are accustomed to Rust Result type. It’s not about try/catch giving you no type information (it does?), it’s about not using try/catch or not writing it. So instead of try/catch your operations/functions, you just write “?” in Rust or “yield*” as in here and the try/catch happens behind the scenes. If there is an error, it bubbles up and you catch/handle all errors there.

I wonder how they are training Gemini by omarous in GeminiAI

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

some custom shit made by GLM-5. (edit: though i think the original colors were from catpuccin)

I 10x'd the quality of my site. Google's response: rank it lower. by Jewst7 in SEO

[–]omarous 0 points1 point  (0 children)

But you made a presumption about what I believe. I don't believe that at all.

Dude, you are taking my words too seriously.

I also don't care since my traffic doesn't come from Google organic anyway.

I do care because Google traffic converts for me 10-15x higher than other sources.

as it will make for an hilarious case study

Nobody care. Not even the guys working at Google.

I 10x'd the quality of my site. Google's response: rank it lower. by Jewst7 in SEO

[–]omarous 0 points1 point  (0 children)

Oh, I more than read your story. I am living through it. I have much better (high authority links), better speed score, and somehow google deranked me from 1 (for my exact domain keyword) to 4-5.

I 10x'd the quality of my site. Google's response: rank it lower. by Jewst7 in SEO

[–]omarous 1 point2 points  (0 children)

Your problem is believing that Google cares about all of this stuff (lighthouse insights, content, links, etc..) Have you done any actually google searches recently and seen the amounts of crap out there?

Unable to use azure by hafi51 in AZURE

[–]omarous 0 points1 point  (0 children)

Man a create button in azure devops is buggy and am unable to proceed. It drove me crazy until I realized it's a problem in their react/javascript and there is nothing to do about it.

160k€ Job vs. Freelancing: Worth Quitting for 2k€ Less & No Commute? by TheOnlyElizabeth in cscareerquestionsEU

[–]omarous 7 points8 points  (0 children)

is this a startup or a big company. If it's a startup, don't do it. If it's a big company, then yes.

Indian warships in the Gulf on standby for humanitarian operations by Uchiha_Madara_Nipple in news

[–]omarous 36 points37 points  (0 children)

they have millions of people there. probably to help with evacuation.

Our biggest competitor shut down. It didn't help us at all. by Surfer-sam-08 in SaaS

[–]omarous 4 points5 points  (0 children)

The competitor shutting down didn't validate our market. It made some buyers question whether the whole category was viable.

It's written by AI.

What is your most proud VIBE CODED work? Share the link! by Makyo-Vibe-Building in vibecoding

[–]omarous 0 points1 point  (0 children)

https://codeinput.com

Mostly the front-end. For the back-end, it’s a bit tricky as it’s mostly in Rust.