Better HN
topnewbestaskshowjobs
Log inSign up

tinrab

52 karma · joined Jun 16, 2017 (9y ago) · 28 submissions

Changing the world, one line of code at a time.

https://rabzelj.com

Submissions

comment 1y ago · link · parent

I'd say TypeScript is currently the best choice for agents. For one, MCP tooling is really solid, the language itself is easy, fast to develop in, and not esoteric.

2.

Working with CUDA in Rust – Basic FFI(flinect.com ↗)

1 points · by tinrab · 1y ago · discuss

comment 2y ago · link · parent

Can you give me an example of what the borrow checker prevents you from doing without calling Rust developers delusional? The hardships are way overstated, in my opinion. One issue I can think of newcomers might have is immutable and mutable references. You can't borrow as mutable something already borrowed. Let's say you have a reference to a Vec element, then you add an item to Vec. The realloc could invalidate that reference, which Rust prevents. Using Cell/RefCell also helps if you don't want to deeply nest &mut. Rust is definitely hard, but after a while it's fine and you kind of get how even if using another language you still have to think about memory.

comment 2y ago · link · parent

I hear this constantly but never see any examples of what they actually mean, or it's coming from misunderstandings of what the language is. I've seen people say how well the async code could be if Rust got a garbage collector. For the borrow checker specifically, I think it's important to understand smart pointers, Cell/RefCells, other primitives, and the fact that you don't have to solve everything with references.

comment 2y ago · link · parent

From crates.io, `serde` is a 76.4 KiB dependency. And from what I've seen looking through the code, it's pretty minimal.

comment 2y ago · link · parent

Holding him to account is what taxes do, which are allocated by the government. Should taxes be increased? Should there be a wealth tax? I don't care, but it feels wrong when people expect CEOs or investors to somehow fix the world's problems.

comment 2y ago · link · parent

I'm seeing this kind of sentiment a lot on hnews, which is weird because it's owned by YC. This is not how investors or businesses work. Government's job is not Sam's job, his job is OpenAI.

8.

Rust wont save us, but it's ideas will(glitchbyte.io ↗)

4 points · by tinrab · 2y ago · discuss

comment 2y ago · link · parent

I like using "resource names" defined by Google's AIP (https://google.aip.dev/122). For example, the name "users/1/projects/42" is a nested project resource of a user "users/1". TypeScript type could be "users/${number}".

10.

Working with Rust, TypeScript and WebAssembly Made a Bit Easier(flinect.com ↗)

2 points · by tinrab · 2y ago · discuss

11.

I Use Declarative Macros in Rust(flinect.com ↗)

3 points · by tinrab · 2y ago · discuss

comment 3y ago · link · parent

That's an amazing headline.

comment 3y ago · link · parent

I keep getting a crypto trading bot ad with AI generated Elon Musk. Ad blockers are necessary.

14.

Announcing SurrealDB 1.0(surrealdb.com ↗)

63 points · by tinrab · 3y ago · 55 comments

15.

Write Your Own Zod(zackoverflow.dev ↗)

2 points · by tinrab · 3y ago · discuss

comment 3y ago · link · parent

Is there a way to protect against the "Denial of wallets" attack?

comment 3y ago · link · parent

Why do people always complain about unrealistic standards? I can't see how that would be bad. The problem is repeated dopamine hits.

18.

Generating Realistic Test Traffic Using Markov Chains(outcrawl.com ↗)

7 points · by tinrab · 6y ago · discuss

19.

Why Should Microservices Be Idempotent(outcrawl.com ↗)

2 points · by tinrab · 6y ago · discuss

20.

Rate Limiting in Rust Using Redis(outcrawl.com ↗)

1 points · by tinrab · 6y ago · discuss

21.

Show HN: Building a Real-Time Chat App in Rust and React(outcrawl.com ↗)

2 points · by tinrab · 6y ago · discuss

22.

How to Build a Search Service with Go and Elasticsearch(outcrawl.com ↗)

2 points · by tinrab · 8y ago · discuss

23.

Building a URL Shortener with Go and AWS Lambda(outcrawl.com ↗)

3 points · by tinrab · 8y ago · discuss

24.

Building a Real-Time Collaborative Drawing App in Go(outcrawl.com ↗)

2 points · by tinrab · 9y ago · discuss

25.

Generating Unique 64 Bit IDs with Go on Kubernetes(outcrawl.com ↗)

1 points · by tinrab · 9y ago · 1 comment

26.

Getting Started with Microservices Using Go, GRPC and Kubernetes(outcrawl.com ↗)

2 points · by tinrab · 9y ago · discuss

27.

Build an Image Recognition API with Go and TensorFlow(outcrawl.com ↗)

2 points · by tinrab · 9y ago · discuss

28.

How to Keep Your Development Environment Clean(outcrawl.com ↗)

2 points · by tinrab · 9y ago · discuss