Mettle X
banner
mettlex.bsky.social
Mettle X
@mettlex.bsky.social
Software Engineer, Tech Educator, Independent Researcher

https://github.com/mettlex
https://seen.red/mettlex
Congratulations.
April 4, 2024 at 8:45 AM
windows os is pathetic unless you wanna play games. try "scriptkit" if you miss raycast.
March 9, 2024 at 5:41 AM
It currently solves this: bsky.app/profile/mett...
March 2, 2024 at 6:52 AM
Will it work in the future or may be removed?
March 1, 2024 at 9:39 PM
10 accounts limit increased?
March 1, 2024 at 9:33 PM
A breath of fresh air in Haskell. I haven't had chance to work with the language in a meaningful project. I guess people just appreciate this language without using it. 😆
March 1, 2024 at 10:03 AM
what's up with your new language? why is it so cool 😎
March 1, 2024 at 9:59 AM
I commented on YouTube about it:
February 29, 2024 at 9:03 PM
hash deez ... (primeagen, gtfo my head)
February 29, 2024 at 4:53 PM
Next.js doesn't provide URL hash (`#`) so this is my attempt.
February 29, 2024 at 4:36 PM
It takes time only in the beginning, at most 2 weeks. We get used to it later in the project. We can share most of the logic in both web and native, even the render logics. Up to 80% code share by making components as dumb as possible, that's how we win in the long-running projects.
February 29, 2024 at 4:07 PM
Our codebases mostly differ in how we handle optionals and effects. I ban these from my TS codebase: `?`, `!`, `as`, `useEffect`, `useState`, ternaries, etc. I heavily use pattern-matching, schema validation inferred types, global custom event handlers and always reducer to remember how a state is.
February 29, 2024 at 4:02 PM
@mozzius.dev You seem to be using Nativewind. Us.
February 29, 2024 at 3:55 PM
The recent Expo SDKs 49-50 have awesome support for debugging. We love using Expo tools.
February 29, 2024 at 3:51 PM
Also, check out "Time-travel Debugging" in devtools of Jotai. We are heavily using it nowadays.
February 29, 2024 at 3:48 PM
Some of our senior engineers are yet accustomed to it yet so we don't use it for now. It's really promising. We also use XState for complex logic avoiding "impossible states". We use model-based testing to "generate" tests. Keep React components dumb, only firing events with no logical code inside.
February 29, 2024 at 3:46 PM
We use Option<T> inspired from Rust and Result<Err, Ok> instead of try-catch. @badrap/result npm package works well for Result types. We have our custom implementation of Option<T> which has type-guards, even works with functions. 😉
February 29, 2024 at 3:39 PM
Are you the only one developing Graysky mostly? I can help you maintain large codebases in Expo Router. We have put strict guardrails in 30K+ LOC in Expo at our company to avoid most bugs, even logical ones. For example, no manual handling of null & undefined, no manual try-catch etc.
February 29, 2024 at 3:35 PM
Hi, Lee Rob. I hope, you're doing well.
February 29, 2024 at 3:23 PM
is the user's did:plc private key possible with self-custody yet?
February 28, 2024 at 6:10 PM
I just got the bug too and recorded my screen thinking it was not supposed to be in the latest version. ☹️
February 28, 2024 at 5:18 PM
Still it's better than me reading about monads for the 18th time in a natural language.
February 28, 2024 at 5:06 PM
TIL 😂
February 28, 2024 at 4:58 PM
Yeah, I was asking him which one he was trying. Also, Nix can be used for app scope too if you design it that way. Replit is an example. They replaced Docker with Nix because it suited their needs more.
February 28, 2024 at 4:51 PM
stop trolling me 😭
February 28, 2024 at 4:32 PM