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

"It's only complex because it's new, it will get less complex over time."

They said the same thing about browser tech. Still not simpler under the hood.

comment 1y ago · link · parent

To be fair, if you learn computer science well enough to thoroughly understand Scheme, I don't think it'll take more than a few weeks during the summer to learn Python.

33.

Microsoft.PowerShell.PlatyPS 1.0.0(devblogs.microsoft.com ↗)

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

comment 1y ago · link · parent

I stopped caring about that question a long time ago.

comment 1y ago · link · parent

Yep.

comment 1y ago · link · parent

Modern programming is. But look at assembly, which is what actual machines do. And you can write assembly with tons of gotos and not a single function in sight.

comment 1y ago · link · parent

It seems to me that a large percentage of jobs exist just to exist, and that they use their continued existence to justify their continued existence. I wonder how much the world would keep spinning if 90% of people were laid off. Maybe we'll find out if AI is adopted widely enough...

comment 1y ago · link · parent

To be fair, the Monaco team did an amazing thing. It's not clear to me just how much of VS Code's complexity is essential to its genius, but if anyone ever creates a slim version that does 90% of the work in 10% of the code, it would forever change editing like VS Code did. It would be great if it was portable too, but it's hard to get that without pulling in HTML + JS + CSS as dependencies. Maybe as a Dear ImGui extension?

39.

Show HN: HRAM, the Hand-Rolled Assembly Machine(hram.dev ↗)

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

comment 1y ago · link · parent

Yeah exactly, this is why I stopped liking DSLs about 15 years ago, shortly after using Ruby extensively (probably not a coincidence) and converting to Clojure, where there was a large movement away from macros despite it being lisp. They're good in very isolated situations, and only when designed very carefully. This wm is quite possibly one of them; if you need more complexity than the macros here allow, and adding/changing macros only makes it worse, just use another wm.

comment 1y ago · link · parent

Yeah those apps were my inspiration: use the native UI and share logic as a lib.

I don't even have a Mac yet, so no point in shipping for that if I can't debug it.

If sales are good, I'd be glad to buy a cheap macbook off ebay and port it.

comment 1y ago · link · parent

This is the entire source:

    #include <X11/Xlib.h>
    #include <stdlib.h>

    #define stk(s)    XKeysymToKeycode(d, XStringToKeysym(s))
    #define on(_, x)  if (e.type == _) { x; }
    #define map(k, x) if (e.xkey.keycode == stk(k)) { x; }
    #define grab(...) const char *l[] = { __VA_ARGS__, 0 }; \
                        for (int i = 0; l[i]; i++) XGrabKey(d, stk(l[i]), Mod4Mask, r, 1, 1, 1);

    int main() {
      Display *d = XOpenDisplay(0); Window r = DefaultRootWindow(d); XEvent e;
      XSelectInput(d, r, SubstructureRedirectMask);
      grab("n", "q", "e");

      while (!XNextEvent (d, &e)) {
        on(ConfigureRequest, XMoveResizeWindow(d, e.xconfigure.window, 0, 0, e.xconfigure.width, e.xconfigure.height));
              on(MapRequest, XMapWindow(d, e.xmaprequest.window);
                            XSetInputFocus(d, e.xmaprequest.window, 2, 0));
                on(KeyPress, map("n", XCirculateSubwindowsUp(d, r); XSetInputFocus(d, e.xkey.window, 2, 0))
                            map("q", XKillClient(d, e.xkey.subwindow))
                            map("e", system("dmenu_run &")));
      }
    }
I have to say, I'm not usually a huge fan of C macros, but it works here so well, it feels so elegant and clean somehow.

comment 1y ago · link · parent

> Most software today is crappy. Do you really need all the bells and whistles? Probably not.

I agree that most software today is bloated, but I wouldn't say crappy. There are legitimate reasons to choose bloat, for example using SDL or Electron to speed up development and have easier portability. But for some reason I do strongly enjoy writing and using minimalist software. That's why I removed C++, SDL and other libs from my app (hram.dev) and just used C, native Win32 APIs, and D3D, getting it down to 1.4mb and speeding up compilation a lot. So projects like this always appeal to me, and I love seeing different ways we can be minimalist without sacrificing too much functionality or convenience.

comment 1y ago · link · parent

Funny enough, I came across WiX the other day when I was looking into windows installers like msix, nsis, etc. Eventually settled on self-contained exe (and it's only 1.4 mb, woo!) but seeing the name wix took me back, I vaguely remembered it from around 2005 or so when I was first trying to make "real" windows programs (as opposed to visual basic ones). Took 20 years, but I finally did it, and written entirely in C, too! Anyway yeah, different wix than the popular one. Tom, you may want to rename this post.

comment 1y ago · link · parent

I did something similar ones as a vs code extension for love2d which I called live2d, so that you could develop your game while it was running. It was incredibly fun, but incredibly hard to use, and nobody had any interest in it, so I abandoned it and lost the source code eventually. But it worked so well. I had invented this thing called magic tables to go along with it and make it easier to use, I forgot what they did, I just remember the name and how cool it was.

comment 1y ago · link · parent

The readme just looks like it was written by AI, and the initial commit is the entire code. It just seems like AI was used at least somewhat. Just curious how much, if at all.

I submitted a link to a project[0] with similar characteristics a few days ago, before I realized it was probably entirely made by AI. That's what got me wondering this in the first place.

[0] https://news.ycombinator.com/item?id=44642557

comment 1y ago · link · parent

How much was AI used to help create this?

comment 1y ago · link · parent

Right but it comes after a long line of similar CSS frameworks with the same promise, starting with Bootstrap, and there were large movements about 10 years ago of whole orgs deserting those frameworks because of serious issues. Are you saying Tailwind somehow has resolved those? That was the main reason I didn't try to learn it considering it to be just yet another CSS framework's conventions.

comment 1y ago · link · parent

I forgot to ask, that day that the Go team did an AMA here: did AI have any influence or sway or advice etc in choosing Go over other solutions?

comment 1y ago · link · parent

I've been writing CSS manually since it came out. The latest additions make it less difficult, like & and nesting, variables, etc.

But overall, CSS is just really difficult to scale well properly. I should probably learn Tailwind at this point, instead of continually rolling my own CSS.

So now I have DaisyUI bookmarked since the site is excellent and looks so useful.

51.

Building Faster AMD64 Memset Routines(msrc.microsoft.com ↗)

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

52.

RayEditor: Modern, customizable, & lightweight WYSIWYG editor in pure JavaScript(rohanyeole.com ↗)

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

comment 1y ago · link · parent

Someone requested clarification on another post, so here it is:

It's a native Win32 app, with a window of 320x180 pixels, which scales upwards as you resize bigger. By itself the program does nothing except read and run a specific Lua file located in AppData. Drawing to the screen is the main operation of the program.

The Lua API has a few built in modules:

- "image" for dealing with gpu images, which includes the screen

- "lpeg" so you can write a custom parser

- "asm" so you can compile and run assembly code from Lua

- "memory" so you can read and write to real memory addresses

It uses real memory:

All the APIs, including the assembly you write, can access real memory addresses. So you can write to 0x20000 and read from it, either in Lua or Asm, and it just works. And you get raw pointers as Lua integers that you can pass around, which lets you pass them through assembly and back.

The app has a few competing primary purposes:

- Learn or practice writing x64 win32 assembly

- Learn or practice writing a programming language

- Learn or practice writing video games like it's 1979

- Learn or practice writing programs that manage raw memory

comment 1y ago · link · parent

Did x64 linux asm change that much in the last 14 years?

55.

Stack frame layout on x86-64(eli.thegreenplace.net ↗)

6 points · by 90s_dev · 1y ago · 2 comments

56.

Ask HN: Looking for alpha testers for HRAM (asm)

7 points · by 90s_dev · 1y ago · 2 comments

comment 1y ago · link · parent

Note that you can also get TSX in native Node.js with minimal configuration[0]. This is accomplished via module hooks and TypeScript's own compiler (or bring your own compiler like swc).

[0]: https://github.com/sdegutis/immaculata

comment 1y ago · link · parent

Plain guess work, and excitement, and fads, and people profiting from being "the experts", and in general social noise that overcomplicates the simplicity of life.

59.

A Windows mutex is not a mutex(sevangelatos.com ↗)

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

12345
31