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've been experimenting with minimal blogs for about 15 years. Some tricks I learned:

* You can get away with const title = lines.match(/# (.+)/)[1] and avoid frontmatter.

* My blogs never have so many posts they need pagination or tags, or categories, or sorting.

* JSX turns out to be a great vanilla server side string builder if you use a questionable hack like https://immaculata.dev/guides/enabling-jsx.html

* GH Pages with arbitrary build steps instead of (sigh) Jekyll is really easy now with things like https://immaculata.dev/guides/using-gh-pages.html

* highlight.js is still basically the king of super easy code syntax highlight by adding literally three lines to your HTML (shiki is cool but slooooow)

comment 1y ago · link · parent

Thanks for answering my questions. Your project is really really interesting.

Two more questions if you find some spare time:

3. Why does it use tty for interrupts instead of directly calling int 10?

4. How does this even print to the screen or use a tty in the first place? Is it just something inherent in bios api?

comment 1y ago · link · parent

Two questions:

1. I just saw how str_print is implemented. It's so short even though it's asm. Is this why nul-terminated strings were so popular and became the default in C? Would pascal strings be much longer/uglier/harder in asm?

2. Why is str_print repeated in multiple files? How would you do code sharing in asm? I assume str_print is currently not "static" and you'd have to make it so via linking or something, and then be able to get its address using an asm macro or something?

comment 1y ago · link · parent

Sorry, it's just not meant to be.

comment 1y ago · link · parent

Proudly zero. I just wrote and posted an article explaining why. The short version: genuine engineering is an abandoned skill I want to revive.

876.

Where Are All the Engineers?(90s.dev ↗)

1 points · by 90s_dev · 1y ago · discuss

comment 1y ago · link · parent

> Python

Funny you make that analogy. I remember back when the two contending C alternatives were Zig and Nim, with Nim being syntactically almost a Python clone.

It seems Nim has gone the way of Crystal (Ruby version of Nim) and is just kind of there but mostly forgotten and doomed to be abandoned unless it finds a niche.

> What sets Zig apart is compile-time

I see this claim a lot, but I'm not sure. I think it's the fact that Zig is more or less still C syntax and semantics, just... fixed. The way it does comptime does seem better than how other languages do it, but I haven't actually used it, much less for long enough to judge it properly.

comment 1y ago · link · parent

> we've lost the art of software engineering

Yes! This is what all my projects are geared towards restoring. The big one is not quite ready to announce yet, but I am very proud of it, and extremely excited to release it, to solve exactly that: it makes engineering fun again!

comment 1y ago · link · parent

> cultural focus on "identity" (as in, "who am I") has been kind of negative for people

> many become miserable because they got mired in their identity sexual and otherwise

I think one factor is that we're always looking for a balance between doing what we want and doing what's right. When they're not the same in someone's conscience, they look for external approval that what they want isn't wrong or bad or harmful, so they can keep doing it. Especially sexually.

There's also virtue signalling as a way to get social credit, which is also usually geared towards getting something that you want, but with it either being not justified or not earned.

comment 1y ago · link · parent

> The question of our continuity has an empirical side that can be answered scientifically.

Wait, what? Doesn't the Ship of Thesseus apply to our character just as much as to our body? And if so, doesn't that make it a philosophical question, and absolutely not scientific, as character is immaterial?

881.

JSLN(90s.dev ↗)

3 points · by 90s_dev · 1y ago · discuss

comment 1y ago · link · parent

> we are now a culture built on lying.

Are now? I mentioned Thomas More to show that this exact same thing happened 500 years ago. The whole point of the movie A Man For All Seasons is to show that this is always how it has been throughout human history, and that only a few people stand out as putting the truth higher than their own interests, such as Thomas More and Joan of Arc, which deeply impress even non-religious people like Robert Bolt and Mark Twain.

comment 1y ago · link · parent

The 1988 one stars Charlton Heston as Thomas More and was a made for TV movie based on the original 1965 play by Robert Bolt. Very, very good. Different from the 1966 movie. But both good in different ways. Neither is better.

comment 1y ago · link · parent

Generally none, the DA must choose to pursue perjury charges, which basically never happens. In reality, nearly everyone commits perjury. Thomas More would not approve. Both versions (1966 and 1988) of A Man For All Seasons are highly worth watching several times and practically memorizing. "Would you benefit England by populating her with liars?" [edit] in retrospect, there is one inescapable consequence of lying under oath: your word now means nothing to honest people.

comment 1y ago · link · parent

My memory is not great, as implied by that very comment.

886.

Ask HN: Is there a list of projects that will *not* adopt AI?

18 points · by 90s_dev · 1y ago · 5 comments

comment 1y ago · link · parent

Yes, I have the same history customizing everything! From Windows 3.11 to XP to Linux, and then giving up because life gets busy.

On the note of programming not being fun anymore, that's exactly why I'm making my secret project that I hope to release very very soon, maybe in a week or so. I want to make programming fun again, in a similar way that pico8 did, but x100.

comment 1y ago · link · parent

Most of the time, yes. I maintained my vimrc for maybe 10-15 years before I gave up on it.

The hard part of maintaining a config is that there's no such thing as cost-free usage, it always takes a mental toll to change a config, to learn a new config, to remember which configs are in use and what they do, to backup configs, or at least to setup and maintain a config-auto-backup flow.

By far, the easiest mental model is just learning how everything works out of the box, and getting used to it. Then again, sometimes what people want is to do things the hard way for its own sake. That's probably part of why I kept going back to C over and over for so many years.

comment 1y ago · link · parent

> Also, I tend to stick with default configurations because it makes bug filing easier.

I've learned to use default configurations pretty much everywhere. It's far too much of a hassle to maintain customizations, so it's easiest to just not care. The exception is my ~50 lines of VS Code settings I have sync'd in a mysterious file somewhere that I've never seen, presumably on github's servers, but not anywhere I can see?

comment 1y ago · link · parent

I have a certain nostalgia for bb4win, which I learned about during college, and was my first introduction to linux. Nostalgia is a powerful drug.

comment 1y ago · link · parent

We are always reinventing wheels. If we didn't, they'd all still be made of wood.

comment 1y ago · link · parent

I vaguely remember using it about 10 years ago for work, can't remember what for, or anything about that situation, but the one takeaway that I do remember is that it was neat and innovative, but ultimately not good enough to overthrow whatever we were using instead.

comment 1y ago · link · parent

Luau is gradually typed and has intellisense support? That was my biggest gripe with Love2d, and a huge motivation for why I created the project I haven't yet released! Oh man, I have to check this out.

comment 1y ago · link · parent

I got a nice wooden Wordsworth fountain pen off Amazon last year. It was fun for a bit.

comment 1y ago · link · parent

You have no idea how many times I typed clojure when I meant to type closure throughout my career. Bizarrely backwards.

comment 1y ago · link · parent

It's not just the web, native apps have always had free open source clones that technically render them useless, often just as good quality, yet they didn't go out of business. There are other considerations people make when deciding to use an app, including network effect, a strong community, sheer level of quality and passion from the developers, etc.

For fonts, I just went with a simple raster bitmap font and pixel grid storage format. Creating these limitations makes it easier for me and for developers and artists. I choose 320x180 because it fits the 16:9 perfectly, which would make full screen ideal on most monitors.

comment 1y ago · link · parent

Honestly a little bit hesitant to say anything yet. There are a few more features to add, and a whole lot more work to be done to showcase just how cool it is. But the short version is, I'm working on a sort of meta-pico8, a game maker for WebGL2 2d pixel art games (e.g. 320x180 games like Animal Well) that runs in the browser, but one that's firstly collaborative, so that we can all build it together. And some of the coolest features are the based around that. For example, I got arbitrary imports of user code working in the browser, so all you have to do is create an account, add a JS file, and other people can import it as if it were a built-in module, and it just works. Plus the SDK I ended up making is simple, and the API is clean, and there's a few innovations in the GUI layer that I'm excited to share. I wish I could explain just how cool this is.

comment 1y ago · link · parent

The CSS community's promise was always that structure and presentation can be separated.

After my 30 years of writing GUIs, I'm now convinced that this is the wrong place to draw a dividing line.

Instead, we should be isolating intent. This is what Composites do in my project. I'm so excited to announce it next week!

comment 1y ago · link · parent

Not to mention that early on, CSS was very lacking compared to today. We didn't even have `border-radius` until something like 2011! Consider that this relatively simple site design[1] takes about 420 lines of modern CSS[2]. And that's even using nesting, and liberal use of :has, which is a game changer. I remember having to restructure both my CSS and my HTML to achieve appearances which were otherwise impossible to create in the intuitive way, all because of inherent limitations to CSS at the time.

[1] https://90s.dev/

[2] https://90s.dev/style.css

1
2728293031