Better HN
topnewbestaskshowjobs
Log inSign up

90s_dev

1,788 karma · joined Mar 13, 2025 (1y ago) · 921 submissions

Submissions

comment 1y ago · link · parent

I'm not saying I'm not influenced or inspired by anything. Nothing is truly from scratch without recreating the entire universe. I just mean I don't like AI assistance for the same reason I don't like people trying to finish my sentences while I'm talking.

comment 1y ago · link · parent

> It also inspired this similar Rust project

And these projects:

https://github.com/antirez/kilo/forks

comment 1y ago · link · parent

Reading through this code is a veritable rite of passage. You learn how C works, how text editors work, how VT codes work, how syntax highlighting works, how find works, and how little code it really takes to make anything when you strip away almost all conveniences, edge cases, and error handling.

comment 1y ago · link · parent

I don't even use editor suggestions for the next word I should write. For me, something I didn't think of myself is not mine.

comment 1y ago · link · parent

1. What do you like about Zig more than Rust?

2. How did you ensure your Zig/C memory was freed properly?

3. What do you not like about Rust?

comment 1y ago · link · parent

It's not.

comment 1y ago · link · parent

The point is that it's layered.

1. Validate your Buffer/UInt8Array for valid size/encoding/etc first

2. Parse it to an object via JSON.parse or whatever your use-case needs

3. Reach into it with this function to get data if it matches the type you need

This code only deals with #3 and makes a few assumptions about #2 (e.g. no undefined, typical JSON-like object, etc).

comment 1y ago · link · parent

Did they cancel it because dosbox exists? If so, that's smart.

comment 1y ago · link · parent

Or kilo[1]

[0]: https://github.com/antirez/kilo/

comment 1y ago · link · parent

I think the difference is that burnout can even be for things you're excited about and want to do, but subconsciously don't want to do for other reasons, e.g. the task/project goes against your ethics but you're pushing past that anyway, so your mind tries to stop you through stopping your body, e.g. fatigue or pain.

581.

Ask HN: What are some "eureka" projects?

4 points · by 90s_dev · 1y ago · 1 comment

comment 1y ago · link · parent

> and you can even locally reason about the code much better than in typical 'unsafe' languages like C++.

Do you have an example of this? I'm just a TypeScript guy who never had a fair chance to use C++ or Rust for long, so I'd be curious how what you say is true.

comment 1y ago · link · parent

Interesting how we always go in circles.

edit.cmd was one of the first programs I ever used.

Now it's back rewritten as a Windows 10+ program in Rust?

Yet it looks and works just the same as 30 years ago!

comment 1y ago · link · parent

I hope someone adds typed Lua support and sends a PR!

comment 1y ago · link · parent

Not disdain, just skepticism. One too many experts have gravely misled me to damaging effect.

comment 1y ago · link · parent

Yeah I just made it up.

comment 1y ago · link · parent

On the other hand, the latest research and innovations are often gravely harmful but touted as safe and helpful for a long time by the experts, like lobotomies.

comment 1y ago · link · parent

Ah so you're the guru I should have studied under all those years. If only.

comment 1y ago · link · parent

I've never touched an LLM and won't use AI. Everything I ever have and will make is hand crafted.

comment 1y ago · link · parent

Maybe you're right, what do I know? I don't have a PhD in this field. Just relating what I've seen in myself and others throughout my life.

comment 1y ago · link · parent

I've learned from the so-called experts for years. I studied directly under them. I spent so many years trying to find the perfect way to do TDD and BDD. I saw their own code and their own solutions up close. They're frauds. It was all a sham.

comment 1y ago · link · parent

Type systems make 93% of tests obsolete. The other 7% are implied by developing new features and making sure they work as you expect. If nothing broke, you're good to go. Incidentally, it scales with a team. The more people writing code, the more people who will run into some bugs one of you introduced. In my experience, automated tests (unit or e2e) never reduced that number, but only slowed us down. I wonder if TDD & BDD were just an excuse to bill clients for more time while giving them a false sense of security.

comment 1y ago · link · parent

People who think like that commenter implied, are almost always indoctrinated into "if you don't write tests and use TDD or at least BDD, you're literally Satan."

comment 1y ago · link · parent

"If I haven't seen it, it's new to me."

I'm very happy to see the case being made for static typing. Dynamic types should be niche, and eventually they will be. Rails and Python only made them popular out of a reactionary minimalism thanks to types done wrong in C++ and Java ecosystems. New developers should read articles like this very early on. The more often they're written and posted, the sooner we can all move on from unnecessary type errors.

comment 1y ago · link · parent

Unless they're just flat out lying, no:

> This is the result of a multiyear effort to prepare for this

comment 1y ago · link · parent

> Give them time and relevant experience, and they will arrive at the same conclusions:

What does this say about DHH then? He's got decades of experience yet ripped TypeScript out of his codebase angrily, preferring the foggy mystery that is dynamic types. Is he a legitimate outlier? If not, then wouldn't you have to conclude he's just a really bad programmer?

comment 1y ago · link · parent

TDD and BDD are security blankets for enterprises and clients. They add disproportionately little value, and significantly increase the cost of evolving an app in any direction.

comment 1y ago · link · parent

> Now, why doesn’t bytes.Reader implement Peek? It’s just a byte slice, it’s definitely possible to peek ahead without altering stream state. But it was overlooked, and instead this workaround is applied.

When I first looked at Go, it seemed to have far too many layers of abstraction on top of one another. Which is so ironic, considering that's one of the main things it was trying to fix about Java. It ended up becoming the thing it fought against.

comment 1y ago · link · parent

That's actually all it was in the beginning. Just writing code for fun. But the more code I wrote, the more it evolved into an app that demands to be released, especially since the nature of it is to be a platform, SDK, and API for others.

comment 1y ago · link · parent

Array.isArray isn't needed when you know your array isn't going to be deserialized e.g. via MessagePort. What other supposed bugs?

And yes I'm aware this doesn't have a huge API surface. That's the whole point. If I already have a JSON object, I can reach into it and get either what I ask for or nothing. In many real world cases, this is enough.

1
192021
31