Tin Rabzelj Profile Banner
Tin Rabzelj Profile
Tin Rabzelj

@tinrab

137
Followers
32
Following
76
Media
802
Statuses

Building no-code tools. Rust, TS/React/Next.js, e/acc 🚀

Slovenia
Joined October 2021
Don't wanna be here? Send us removal request.
Pinned Tweet
@tinrab
Tin Rabzelj
4 months
I've written a macro to generate better TypeScript for me. #rustlang
Tweet media one
1
0
3
@tinrab
Tin Rabzelj
3 months
@wayotworld That's misleading. Andrew even clarified it.
Tweet media one
Tweet media two
Tweet media three
81
94
3K
@tinrab
Tin Rabzelj
4 months
@flaviocopes HTMX, Google sheets as a database, CoffeeScript on backend, hosted on a Raspberry Pi.
9
2
110
@tinrab
Tin Rabzelj
3 months
@TheOmniLiberal Online keyboard nerds talking about how to communicate like humans:
8
0
73
@tinrab
Tin Rabzelj
2 months
@t3dotgg I bet you muted this the second after posting it.
2
0
65
@tinrab
Tin Rabzelj
4 months
@t3dotgg What's confusing about it? It's just terrible webdev nonsense forced on the desktop.
3
0
60
@tinrab
Tin Rabzelj
4 months
@rauchg Everything really. I was thinking of just trashing it all, moving to the country side, growing my own food and never bother with software again.
1
0
59
@tinrab
Tin Rabzelj
3 months
@tsoding I usually call it the "main" function.
1
0
51
@tinrab
Tin Rabzelj
1 month
@t3dotgg I prefer TOML the most. YAML has many quirks.
3
0
51
@tinrab
Tin Rabzelj
3 months
@tsoding I wonder what will happen when all the devs who know OS-es and low-level stuff retire. We're going to be left with JS hipster running V8 on serverless, praying for the bare-metal gods to keep all the levels of virtualization healthy. I, for one, can't wait.
6
2
49
@tinrab
Tin Rabzelj
3 months
@t3dotgg What? WASM with Rust is really good.
3
0
46
@tinrab
Tin Rabzelj
6 months
@rauchg @vercel Fixing some of 2.5k+ Next.js issues on GitHub.
3
0
43
@tinrab
Tin Rabzelj
3 months
@ThePrimeagen Bro, stop shitting on Rust. That drama is old and nobody cares anymore.
11
1
41
@tinrab
Tin Rabzelj
4 months
@ThePrimeagen It's horrible to write, though, compared to TS. I've never been in a situation where the problem was having a build step. It's a non-issue, imo.
2
0
37
@tinrab
Tin Rabzelj
3 months
@t3dotgg Twitter is way worse.
3
0
39
@tinrab
Tin Rabzelj
3 months
@rauchg "Now I know what you’re thinking, “this is an atrocity, what a horrible mess!” and you’re right, it’s kind of ugly. In fact, it’s just about impossible to think this is a good idea the first time you see it — you have to actually try it."
1
0
28
@tinrab
Tin Rabzelj
2 months
@t3dotgg I'm mad. Rust has the best concurrency (just hard for newbies). What do you mean by pattern matching? Function overloading is bad.
4
0
27
@tinrab
Tin Rabzelj
3 months
@t3dotgg Rust is just better in a lot of ways. Building tools in Go is a half-measure. If you want solid tools, don't go from JS to Go, go all the way.
4
0
28
@tinrab
Tin Rabzelj
4 months
@t3dotgg Coverage shouldn't be the goal. Tests should help the development.
1
0
28
@tinrab
Tin Rabzelj
3 months
@thdxr The only game I played in the last few years is Factorio, which runs great on Linux or even better than Windows (with "large pages support").
1
0
27
@tinrab
Tin Rabzelj
4 months
@danny_mx @t3dotgg Sorry, I can't see what you wrote. My graphics driver just crashed.
1
0
27
@tinrab
Tin Rabzelj
3 months
@SOL_VanGlo @ThePrimeagen Bro, we're all nerds.
1
0
25
@tinrab
Tin Rabzelj
4 months
@ThePrimeagen "Node calls C++ so you don't have to."
0
0
22
@tinrab
Tin Rabzelj
3 months
@MelkeyDev Sometimes I wonder what I am doing with my life. I try to do things the right way, while listening to a podcast with a guy who makes $70k per month with a browser extension he made in a week.
1
1
22
@tinrab
Tin Rabzelj
22 days
@rauchg @vercel Sometimes, I just want to deploy a Docker container.
0
0
22
@tinrab
Tin Rabzelj
2 months
@t3dotgg This is great. We need more Flutter on the web as well. Drawing everything on a canvas makes a lot more sense than using the DOM, and it helps to avoid some of the web's quirks.
1
0
21
@tinrab
Tin Rabzelj
2 months
@MacRumors This is great if it doesn't end up getting a subscription model.
2
0
20
@tinrab
Tin Rabzelj
3 months
@ImSh4yy The first important thing is ease of use, if your app succeeds in any meaningful way, switch to something more appropriate.
0
1
18
@tinrab
Tin Rabzelj
5 months
@t3dotgg Ranked by people who don't code, or refuse to learn anything new.
2
0
16
@tinrab
Tin Rabzelj
4 months
Some thoughts about "Mojo outperforming Rust": Stating that something outperforms Rust is nothing new. It's often used for clickbait because it works. The conversation around performance typically centers on programming languages rather than the underlying systems, and the
5
2
17
@tinrab
Tin Rabzelj
3 months
@enjojoyy There is a point. We must accelerate up the Kardashev scale. Thermodynamics, entropy, it's physics. We must continue to build things, progressing from monkeys with bones to space, like in 2001 Space Odyssey.
5
2
15
@tinrab
Tin Rabzelj
4 months
@teej_dv He's completely ignoring that you buy things because you value the thing more than the required money.
2
0
16
@tinrab
Tin Rabzelj
3 months
2
0
13
@tinrab
Tin Rabzelj
4 months
@Asmongold @CircleToonsHD Isn't this just rent-seeking? Especially for you, being a react streamer and all. I'm fully on board with AI, but this gray-area of copyright and art still needs to be taken seriously.
1
0
13
@tinrab
Tin Rabzelj
7 months
@thdxr Worked with Go, wouldn't want to go back.
3
0
13
@tinrab
Tin Rabzelj
4 months
@t3dotgg We have to remember that JS was created in 10 days. Personally, I'd scrap it and redo, but those madlads just went with it.
1
0
12
@tinrab
Tin Rabzelj
2 months
@teej_dv It's based. Just ship, don't think about it.
1
0
10
@tinrab
Tin Rabzelj
4 months
@inerati There's a reason why Rust is so loved. Try to understand it, instead of hating it.
1
0
11
@tinrab
Tin Rabzelj
5 months
@ThePrimeagen True. Like, I can't even imagine not writing tests. Why wouldn't you want to? It makes no sense. This whole anti-test thing seems like a psy-op by people who don't code.
1
0
10
@tinrab
Tin Rabzelj
3 months
@AstraKernel I'm seeing both critiques, "why is everything written in Rust" and "no use for Rust."
0
2
10
@tinrab
Tin Rabzelj
21 days
@anthdm How? Rust is better than Go in all the ways that matter. WASM, serialization, concurrency, macros, error handling etc.
1
1
10
@tinrab
Tin Rabzelj
7 months
@t3dotgg npx create-remix @latest
0
0
10
@tinrab
Tin Rabzelj
4 months
@tsoding *triggers fingers trying to correct you*
0
0
10
@tinrab
Tin Rabzelj
3 months
@shuttle_dev I think the Rust book is still the best way.
0
0
9
@tinrab
Tin Rabzelj
3 months
0
0
9
@tinrab
Tin Rabzelj
4 months
@mitsuhiko Yes, debug builds should be faster. There was a new optimization done for FE (parallel builds, nightly only currently). But practically, I find running tests fast enough during development.
1
0
9
@tinrab
Tin Rabzelj
3 months
@swlkr Stuff like this is why I love Rust's macros.
1
0
9
@tinrab
Tin Rabzelj
3 months
@t3dotgg It depends on the subreddits I guess. I think reddit and hackernews are generally good.
1
0
7
@tinrab
Tin Rabzelj
8 months
@factoriogame Omg, this is actually insane! 🤯
0
0
0
@tinrab
Tin Rabzelj
4 months
👀 FreeBSD evaluating Rust's adoption into base system #rustlang
0
1
8
@tinrab
Tin Rabzelj
4 months
@__femb0t Probably done on purpose, despite the constant negative press covfefe.
0
0
8
@tinrab
Tin Rabzelj
3 months
0
0
8
@tinrab
Tin Rabzelj
1 month
@t3dotgg Woah, Factorio is my favorite game and I also love Figma 🤓
0
0
8
@tinrab
Tin Rabzelj
4 months
@ausaf_rashid @ThePrimeagen There's a purpose to those. UTF-8, zero-delimited, slices...
1
0
8
@tinrab
Tin Rabzelj
4 months
@clattner_llvm "Rust experts"? Why are they using Rust as a marketing gimmick? The benchmarks are flawed and misleading. You present a flawed statement, then call out "experts" who are pointing out the problem.
2
0
8
@tinrab
Tin Rabzelj
4 months
@clattner_llvm I don't really care for marketing material. I just pointed out that the performance comparison is misleading, which it was.
2
0
7
@tinrab
Tin Rabzelj
6 months
@trashh_dev One time, I searched for how to get unique elements of an array. Then seconds later remembered that `Set` exists.
3
0
7
@tinrab
Tin Rabzelj
17 days
@tsarnick Lmao, I want what he's on.
0
0
8
@tinrab
Tin Rabzelj
2 months
@AstraKernel I don't think hiring is based on specific skills and tech. It's more about recognition, trust, who you know, referrals, luck, etc.
2
0
6
@tinrab
Tin Rabzelj
4 months
I've written a lot of Go, but got tired of constantly fighting the language. Zig feels like what Go should've been. #golang #ziglang
0
1
7
@tinrab
Tin Rabzelj
1 month
@reactjs Great! Deprecating `forwardRef` is obviously the best change. Especially for writing prop types in TypeScript.
0
0
7
@tinrab
Tin Rabzelj
3 months
@AdamSinger @Bigba11r That's my prediction.
Tweet media one
0
1
7
@tinrab
Tin Rabzelj
8 months
@t3dotgg Funny thing is, I find naming it "main" makes more sense.
2
0
6
@tinrab
Tin Rabzelj
2 months
@t3dotgg The gaming industry is just exhausting. I don't game anymore, but the only game I played in the last couple of years is Factorio. No politics, agendas, just factory building and genocide of natives.
0
0
7
@tinrab
Tin Rabzelj
4 months
@fasterthanlime Nvidia has issues. I need nvidia-settings to work (), and there are other problems .
0
0
7
@tinrab
Tin Rabzelj
3 months
@levelsio It's just Markov chains, bro.
1
0
6
@tinrab
Tin Rabzelj
3 months
@t3dotgg Not just CSS, but a lot of gripes about JS are because of the web, not necessarily because of the language.
2
0
6
@tinrab
Tin Rabzelj
5 months
@ThePrimeagen If you want to stop writing Go, just write a lot of it.
0
0
5
@tinrab
Tin Rabzelj
8 months
@bloberenober @bunjavascript And they say that Rust is a cult.
0
0
6
@tinrab
Tin Rabzelj
4 months
1
0
6
@tinrab
Tin Rabzelj
7 months
Why do people say that react-query is a state management library? It's not. It's about client-server communication.
8
0
6
@tinrab
Tin Rabzelj
3 months
@AstraKernel "Developer velocity" is nonsense most of the time. JS/TS is fast, but not when you have to deal with browsers/packages/web bullshit. Go is good at the beginning, but when the project grows, it's a mess. "go:generate" is worse than just having macros. Container abstractions,
1
0
6
@tinrab
Tin Rabzelj
3 months
@MelkeyDev Been there, done that 😀 But, I really like Rust's way of handling errors, especially chaining (map_err, try_into, try_collect, etc.). Also, pattern matching and handling different error types is important to me. Using `err.(type)` is not that nice.
0
0
5
@tinrab
Tin Rabzelj
6 months
@tsoding Oh come on 🤣 You just do #[tokio::main] on async main, then write async code. After that, you need to use sync primitives from tokio::* instead of std. It's not that complicated. Macros join! and select! are also great.
1
0
5
@tinrab
Tin Rabzelj
17 days
@thdxr Make sure they're hydrated.
0
0
6
@tinrab
Tin Rabzelj
19 days
@t3dotgg "use client" is not only for interactive stuff. "cache" is fine, it's not only "deduping." "useEffect" is fine in certain cases. "use server" has a history...
0
0
6
@tinrab
Tin Rabzelj
5 months
@shuttle_dev Well, the first dependency in any crate I write is `thiserror` 😀
0
0
6
@tinrab
Tin Rabzelj
20 days
@sebmarkbage Yes. I'm full on WASM/Rust. Besides the obvious use-cases, I think there's a huge potential in plugins (for tools, and maybe mods for games).
0
0
7
@tinrab
Tin Rabzelj
7 months
@factoriogame I love how you can just dumb items into space 🤣
0
0
6
@tinrab
Tin Rabzelj
6 months
@tsoding So, Arc for atomic reference counting and Mutex for concurrent access. Doesn't seem too complicated to me 😀
1
0
6
@tinrab
Tin Rabzelj
21 days
@tawnniee bcrypt is cpu-hard, while scrypt is also memory-hard. I use argon2 (cpu & memory), which is newer. It has params for memory cost and parallelism, for example. The encoded version is nice because it includes the params, so you can change them later w/o updating DB records.
0
0
4
@tinrab
Tin Rabzelj
3 months
@enjojoyy Maybe you should try it. There's a reason why it is so loved. Btw, Twitter's "see similar" is powered by Rust.
1
0
5
@tinrab
Tin Rabzelj
3 months
@cognition_labs Maybe AI can actually replace some programmers...
1
0
5
@tinrab
Tin Rabzelj
21 days
@thdxr React has the largest ecosystem, and Next is the go-to ssr solution. Idk why people wouldn't recommend it.
0
0
5
@tinrab
Tin Rabzelj
3 months
@AstraKernel I prefer `self` because I don't like thinking about naming. It's easier to always keep it the same. But in Go, that's not the standard.
1
0
5
@tinrab
Tin Rabzelj
19 days
@brunocroh @t3dotgg I don't think more issues means more instability. A lot of issues are nonsense, off-topic/beginner/out-of-scope questions, duplicates... Large repos typically have thousands of issues.
1
0
5
@tinrab
Tin Rabzelj
4 months
@Trozdol @ThePrimeagen But you always have a build step, unless maybe for npm scripts. Even then, if you use Bun, you can write TS (tsx/ts-node is tedious in certain cases, like monorepos).
1
0
3
@tinrab
Tin Rabzelj
2 months
@thdxr Also, clone their landing page.
0
0
4
@tinrab
Tin Rabzelj
23 days
@t3dotgg This is good. Explicitly using `cache` is way better. Also next's cache, where you can revalidate using keys. It just makes more sense than this to be hidden.
0
0
5
@tinrab
Tin Rabzelj
4 months
@DeepDishEnjoyer That's just one guy, bro. e/acc is bigger.
2
0
5
@tinrab
Tin Rabzelj
25 days
@rauchg Nice seeing Rust grow. I only do high-level stuff in it😀, unless WASM counts.
0
0
5
@tinrab
Tin Rabzelj
3 months
@sean_j_roberts What's with all the Rust hate? You can learn Go in a day, so why not learn both?
3
0
5
@tinrab
Tin Rabzelj
3 months
@enjojoyy I would say it's physical, not ideological. Where the line between *is* and *ought* is, it's up to philosophers. All I know is that I want space ships.
2
0
5