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

Most people think of DSLs as a language you can create within a language. All the things you named are either entire languages themselves like HTML, SQL, and the shell family, or formal extensions of existing languages like JSX. A DSL would be something you could create inside JS tagged literals or Ruby.

comment 1y ago · link · parent

In the immortal words of Pitch Meeting's Screen Writer Guy, I'm gonna need you to get allll the way off my back about the name being innacurate.

comment 1y ago · link · parent

Ha, yeah. I intentionally avoided any ctx.clear() calls just so we could have mouse trails again when things crash :D

comment 1y ago · link · parent

I agree. To be fair, naming things is one of the three hardest problems in computing (the other one being cache invalidation).

comment 1y ago · link · parent

Thanks everyone. I just shipped what I've been working on for 3 months. Even though everyone says it was fine, I know that it was too early. I should have made some working demos, polished the API a little more, and done a lot better job on the announcement post.

Hopefully this will at least be a lesson for someone else.

comment 1y ago · link · parent

No, an API uses existing rules, but a DSL uses its own ad hoc rules.

GP is right. Don't make DSLs, make APIs, which are:

* More composable

* More reusable

* More simple to reason about

* More natively supported

* More portable

* More readable

* More maintainable

comment 1y ago · link · parent

Well I released it today and I'm kind of regretting it. It's woefully underdeveloped.

comment 1y ago · link · parent

Thanks. Oh man I remember buying Voxatron and thinking it was such a cool idea, but not knowing how to use it at all or what to do with it beyond the demos. I guess the guy behind it probably ran into the same issue. Still a cool idea.

comment 1y ago · link · parent

I think a fun solution to this, and the one I adopted, is to leave these power features in here as easter eggs, so that devs are rewarded for finding them. At least for me, it gives me a sense of the fun and excitement of learning GUI dev during the 90s. The screen resizing functionality can be found by anyone who digs into the code a little.

comment 1y ago · link · parent

Thanks! Hopefully it'll give you an idea of how fun it was to make GUI apps in the 90s!

comment 1y ago · link · parent

It should be fixed now! Can you try it again?

comment 1y ago · link · parent

Just fixed! Thanks for the feedback.

comment 1y ago · link · parent

Fixed!

comment 1y ago · link · parent

Ahh, figured it out.

Firefox ESR doesn't return an iterator from map.values() with .find() etc on it.

Okay, fixing now.

comment 1y ago · link · parent

Downloaded FF ESR just now, working on fixing it.

comment 1y ago · link · parent

You were right, it wasn't at the time. It works now, except for undo/redo.

comment 1y ago · link · parent

Thanks! That's an encouraging way to look at it, as it allows me to ship something that's not 100% perfect yet. But I guess no matter how hard we try, it never really is, is it?

comment 1y ago · link · parent

Thanks! And you are not worthless trash, just in case your username was serious.

comment 1y ago · link · parent

Odd. Not sure why.

comment 1y ago · link · parent

How about now?

comment 1y ago · link · parent

It just occurred to me:

Pico8 is to Picotron, as Tic80 is to 90s.dev

or

Pico8 is to Tic80, as Picotron is to 90s.dev

comment 1y ago · link · parent

Man I wish I was as good at pixel art as those people apparently are!

That's part of why I made my app into a platform where you can build apps but also share apps, libraries, and game assets. I can't make a game all on my own! I'm hoping people make and share spritesheets with this, after someone makes a spritemaker app of course. I'll keep working on my basic one.

comment 1y ago · link · parent

I took great pains to support Firefox, mostly in my service worker.

Unfortunately when it comes to mounting drives for faster local development, there's nothing I can do until FF supports `showDirectoryPicker`

However, you could just load up a local file server in your local directory (python -m http.server 8080) and import your file directly:

  import 'http://localhost:8080/index.js'
Then put that one line of code inside usr/myapp.app.js and click it in filer[1]

You'll have to use filer to create the file and edit it by right-clicking, then type it in and ctrl-s to save or use the top-left menu button.

I'll add all of this to the website under some "Using Firefox" page or something, for people who can't stand Chrome.

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

comment 1y ago · link · parent

You might also be interested in Picotron[1], made by the same guy who made Pico8. It's basically a desktop OS with the same basic design as Pico8 but with slightly looser restrictions. I've never really tried it, only looked at his gifs once a long time ago, but I think he and I had the same basic idea: make a platform that you could make pico8 in. We just went different routes.

[1] https://www.lexaloffle.com/picotron.php

comment 1y ago · link · parent

Thanks for the feedback.

You're likely using Firefox, right? This feature relies on showDirectoryPicker which Firefox doesn't support. You'd have to use Chrome for the getting started guide.

Also, the drive name shouldn't have a path. Name it something like "foo". I'll udpate the guide to reflect this. Then foo/helloworld.app.js will point to /some/local/path/helloworld.app.js, as long as you mounted "foo" to point to the directory at "/some/local/path"

comment 1y ago · link · parent

Ha, thanks! Yeah the reactivity system was born out of trying to get stuff done quickly. I was tired of manually setting variables so I made it easy to "chain" and "adapt" them and stuff. Same thing with the (hacky?) auto-layout system. Shortcuts to get stuff done quick!

comment 1y ago · link · parent

Wow, bb4win and bblean take me way back. In fact, they were a huge inspiration for my shells[1] feature, which are just userland programs that happen to be able to manage panels (windows).

[1] https://90s.dev/technical/architecture.html#shells

comment 1y ago · link · parent

I think you're both right. It's tricky to know when to make something a default and when to make it a constant. Especially when it comes to users, who cannot all be pleased.

comment 1y ago · link · parent

Thanks for letting me know. Hmm, I don't know what Floorp is doing differently. I'd need more of a stacktrace. It works in regular Firefox though. Feel free to paste a stacktrace and/or stacktrace screenshot on the issues page and I'll take a look.

comment 1y ago · link · parent

Yep, that's why I decided to make the pages able to have interactive demos. Though only the hello world tour and the refs guide use it so far.
1
171819
31