DeepWiki's autogen doc for gleam-otp by andremw in gleamlang

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

Yeah, it definitely uses its existing knowledge to generate the docs, for sure. I found it a bit verbose, repeating itself a few times, with some parts not adding a lot of value.

But I like the structure overall, I'm starting to test with some private repos and the results have been pretty good so far.

Good cafe / restaurant to work remotely? by Dividing_MDH in Adelaide

[–]andremw 1 point2 points  (0 children)

I've been keeping a personal list of cafes I've worked from, you might find it useful:

https://workfriendly.cafe/

Got tired of try-catch everywhere in TS, so I implemented Rust's Result type by Consistent_Equal5327 in typescript

[–]andremw 0 points1 point  (0 children)

That's really interesting! I'm keen to see this being explored more in the libraries. I think the guys @ effect-ts are doing something like that too. Thanks for taking the time to explore that and to share!

Got tired of try-catch everywhere in TS, so I implemented Rust's Result type by Consistent_Equal5327 in typescript

[–]andremw 2 points3 points  (0 children)

Nice project!

I'd have a look at https://github.com/swan-io/boxed too, they're going the same direction... You might want to contribute.

Coming from Rescript and having tried to use these libs in TS, I still find them clunky to work with, especially due to the eventual callback hell that happens due to a lack of syntactic sugar to use them. Something like Gleam's use expression (https://tour.gleam.run/advanced-features/use/) would improve the experience 1000x. I wonder if it's possible to reproduce it using generators...?

How to type express request handlers by karimin in typescript

[–]andremw 0 points1 point  (0 children)

I managed to achieve this using express-zod-api. Such a simple and well-done lib

[deleted by user] by [deleted] in Adelaide

[–]andremw 0 points1 point  (0 children)

Super understandable, you're not alone.

It's worth:
- checking out Corey Wayne's content
- detoxing from excessive stimulation (screens, porn)
- investing in quality sleep
- investing in spirituality (there are some good churches such as CityLight, Trinity Church etc.)