Better HN
topnewbestaskshowjobs
Log inSign up

90s_dev

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

Submissions

421.

Indiana Pi Bill(en.wikipedia.org ↗)

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

comment 1y ago · link · parent

We would only need a committee's approval if changing it would break things.

I say we skip that process, test it in a lab somewhere in rural midwest where nobody lives, and see if gravity starts changing or whatever. As long as cows don't start to float in a 3 mile radius within 4-5 hours, that's probably good enough validation to move forward with changing thermodynamic legislation.

[edit] we should also probably make sure the boiling point of water stays the same

comment 1y ago · link · parent

They already weighted in on the definition of π so why not?

https://en.wikipedia.org/wiki/Indiana_pi_bill

comment 1y ago · link · parent

> If there's a way to extract moisture from the air with less energy and less noise, that would be huge.

I vote we write to our legislators to update the laws of thermodynamics to enable this. Typically I would agree we should leave well enough alone, but in this case it seems like the benefits outweigh the costs.

comment 1y ago · link · parent

I never knew WebGL or OpenGL, my first experience was learning WebGPU, because I planned to use it for the drawing of 90s.dev which is meant to be future-first. But WebGPU is just not there yet. And from what I read about it, it looks like it has only slightly better performance than WebGL2, being the common denominator to all post-2015 native GPU frameworks. So it's disproportionately harder to write, doesn't have nearly all the same features as native would, and all this to be only slightly faster. Which is why I switched to WebGL2 as the graphics backend (WIP). Now I have to learn how all the GL state functions work (ugh), I admit that was easier to reason about in WebGPU, mainly because it's easier to deeply digest and understand APIs when they have clear ins/outs that link together clearly and cleanly. Which GL doesn't. At all. Just a buncha confusing globals. But this helps, kinda: https://webgl2fundamentals.org/webgl/lessons/resources/webgl...

comment 1y ago · link · parent

I still don't really understand them. The last time I used them was for a client probably in 2016 or 2018, and I forgot everything I learned about them. But they have an RFC so that's pretty cool.

comment 1y ago · link · parent

> It’s often said that one sign of a standard having succeeded is that it’s used for things that the inventors never imagined.

It's certainly a sign of something's utility and versatility, for sure. Congrats.

comment 1y ago · link · parent

I agree. I actually named my submission "Finally releasing 90s.dev" but the HN mods changed it to the current "Show HN: ..." title. They based it on the second section of my blog, which I changed to "New game making platform that runs on the web" and added a tl;dr section essentially clarifying that the HN title is not accurate (without blaming the HN mods; it was my fault). But yes I agree with the rest of what you said. What I should have done is added some kind of waitlist. Oh well. I'll keep that in mind for the next release I guess.

comment 1y ago · link · parent

Wow, this is an incredibly full featured Win10-like OS using plain HTML, with apps like Quake3 and Tic80 built in.

Besides having something you can continuously work on, what's the current concrete end goal for it for users?

comment 1y ago · link · parent

Looks like a good zig argparse lib.

How do you like Zig compared to TypeScript? What would you like to see improved?

comment 1y ago · link · parent

These points summarize the principles behind 90s.dev which I've been following for years and still stand by. Especially this: don't be afraid to try to innovate, to get a new answer to an old question, to start over from first principles, even if it fails. Because it might not.

comment 1y ago · link · parent

Maybe I'm just old and tired, but this pun is exactly like what you'd find in a movie review, which is literally the worst type of literature for that exact reason, and should be banned worldwide.

comment 1y ago · link · parent

The one thing I miss about dired-x is being able to edit multiple filenames simultaneously in the same way you do edit a file using multiple cursors, and commit the changes all at once. Can someone make that work in Windows Explorer or VS Code please?

comment 1y ago · link · parent

You're mixing up ideas.

Microsoft isn't "sincere" because it's just a business doing what businesses do, making money. They're not trying to be altruistic or principled. They're just doing business.

But I have personally benefited from this deal by having TypeScript and VS Code at my disposal.

comment 1y ago · link · parent

Also, given that they recently bought github, they have financial incentive to keep people there, who might upgrade to pro accounts or grow to need enterprise.

comment 1y ago · link · parent

Microsoft seems to be going all in on open source over the past 10-15 years.

From a consumer perspective, we're almost all benefiting.

From a business perspective, they get unpaid help and community brownie points.

comment 1y ago · link · parent

The semantics are very different. It's much closer to a mathematical proof than a C program with different syntax, in terms of its lazy evaluation.

comment 1y ago · link · parent

I honestly just skimmed the code and assumed it probably does what I would guess it does. It seemed to make sense and be straightforward... assuming my guesses were right, I guess?

comment 1y ago · link · parent

For one thing, it's hard to know what to spend it on. What should take priority? Obviously your own basic needs, for starters. And then of course the needs of your immediate dependents. But then what? Do you try to increase your quality of life? Theirs? At what point do you draw the line and begin to help others altruistically? Are two coins worth more than billions in practice? Besides, what even is quality of life? It's a very difficult and heavy problem. One I'm glad I don't have.

comment 1y ago · link · parent

Neat. With ~3 more lines of code, you could get a URL and render it in simpler HTML and be a full fledged replacement.

comment 1y ago · link · parent

Firefox introducing tabs instantly made it more usable than IE. Then Chrome came out, and was always two steps ahead of Firefox. A month ago or so I added Firefox support for 90s.dev but for some reason they still don't support ES modules in service workers, which was a pain to work around (see https://github.com/sdegutis/os.90s.dev/blob/main/main.ts#L12... and https://github.com/sdegutis/os.90s.dev/blob/main/site/sw.ts#... )

comment 1y ago · link · parent

That's a new error, and it's because I changed some internals[1]. For now, you'll have to open the link[2] in a new tab and do the steps there.

[1] For about a week (and at the time of posting) the app was on 90s.dev/os/ to avoid this exact CORS error. But I got tired of how it forced me to name my github repos or pay for my own server, so I moved it back to os.90s.dev, which has the one downside of the error you ran into.

[2] https://os.90s.dev/#sys/apps/filer.app.js

443.

Gccx transforms CPX (JSX like syntax) into asm-DOM Virtual DOM (C++)(github.com ↗)

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

comment 1y ago · link · parent

I tried jsdoc for so many years before just giving up and going full TypeScript.

But you're right, the TS layer would be static, and you would compile to JS and just use that... I guess.

Until the types-proposal is inevitably implemented, of course.

comment 1y ago · link · parent

I think so, but that was the 90s where we needed a lot more hindsight to get it right. Plus that was mostly just Sun, right? WASM is backed by all browsers and it looks like MS might be looking at bridging it with its own kernel or something?

comment 1y ago · link · parent

QuickJS came out a few years ago, and it was really exciting at the time, being a Lua-style embeddable JS in contrast to V8 which is a beast but very fast and much more comparable to LuaJIT. Which basically meant you could stop using Lua for scripting and start using JS. But by the time it came out, TypeScript was already king of JS land, and QuickJS didn't have native TypeScript type stripping support last time I checked (~2023), though he did port the `tsc` compiler to it I think? so you can build this functionality yourself. I wonder how QuickJS compares to JSCore which Bun uses.

comment 1y ago · link · parent

It seems to me like all languages are converging towards something like WASM. I wonder if in 20 years we will see WASM become the de facto platform that all apps can compile to and all operating systems can run near-natively with only a thin like WASI but more convenient.
1
141516
31