HNHacker News
TopNewBestAskShowJobs

longor1996

58 karma · joined July 3, 2023

Software Developer whose brain is full of sarcasm, bad memes, autism and ADHD; Personal Site at http://www.longor.net/

Maintainer/writer of https://voxel.wiki/

submissionscomments
longor1996··on Small Programs and Languages
When it comes to writing small languages/interpreters, it is obligatory to mention "Crafting Interpreters" by Robert Nystrom, so here we go!

https://craftinginterpreters.com/

longor1996··on The HTML-in-Canvas API origin trial
Which requires doing a ton of math/layout in JavaScript, since I need those shapes to go between, around and behind the normal HTML elements (working on games and editors here).

Doing all that is a colossal PITA, since SVGs aren't built to act as "fragments" I can arbitrarely draw with CSS or Canvas.

This new html-in-canvas API will alleviate the pain a bit, at least.

longor1996··on The HTML-in-Canvas API origin trial
Yes, I'm aware of this API, but that's exactly the problem (IMHO): it's an API, not built right into CSS itself, thus forcing you to use JavaScript.

What I really want is something along the lines of...

    @declare-some-shape MYSHAPE (ARGS) {
        /* tree of draw commands */
        /* can reference css animations, timelines, variables, etc. */
    }
    
    #my-div { content: draw-some-shape(MYSHAPE ARGS, TRANSFORM); }

    /* or, as some kind of pseudo-element: */
    #my-div::draw-some-shape(MYSHAPE) { ??? }
And yeah, fully aware that this looks abominable, but I'd rather this than stringly/DOMly generating SVGs or drawing in a canvas.
longor1996··on The HTML-in-Canvas API origin trial
Or to add canvas operations (in?)directly to CSS!

Imagine being able to declare a list of paths with fill/stroke-paints to draw, filled in from attributes, variables and `calc()` values... one can only dream.

longor1996··on The Future of CSS
They're less functions and more akin to templates or hygienic macros, iiuc from the specs/docs
longor1996··on The death of web development education
...and it sure as hell doesn't help, that "social" media (not networks) is annihilating people's attention spans and ability to care, beyond upvoting and meaningless comments (like this one!).
longor1996··on America's Driver's License Breach Is a National Security Disaster
Yep, and the understandable fear/worry/expectation/knowledge of that possibility happening, is part of the reason that (usually) stops that cycle from starting in the first place.
longor1996··on America's Driver's License Breach Is a National Security Disaster
Not a lot of people, because if you went and murdered someone, their family (if they have any) would presumably just murder you in turn.
longor1996··on Rust is tier-1 language at Microsoft
Because retooling and relearning development pipelines (on any level/most teams) for games is a horrifically expensive and time-consuming affair... which are resources not spent on developing any one of the potentially dozen or so games. It's just priorities, alas.
longor1996··on .NET (OK, C#) finally gets union types
The new C# unions are not reference-only. The attribute/interface allows implementing custom union types by writing `TryGetValue`-methods instead of a single `object? Value {get;}`. The compiler handles this transparently.
longor1996··on Xilem – An experimental Rust native UI framework
Seems to be "native" as in "not a web-browser/view".
longor1996··on Show HN: WolfStack – Proxmox-like server management in a single Rust binary
Err, the website footer takes up the entire lower half of the viewport/screen, on mobile.
longor1996··on Graphics Programming Resources
Well, do I ever have a treat for ya!

https://voxel.wiki/wiki/references/

longor1996··on Ask HN: Who wants to be hired? (March 2026)
Location: Europe, Germany, State of BW, District of RV.

Remote: Yes, or hybrid if close by; office only if in-district.

Willing to relocate: No, unable to.

Technologies: C#, Rust, Git, SQLite, PostgreSQL, Vulkan, TypeScript, JavaScript, HTML, CSS, Regex, PowerShell, Blender, Unreal Engine, Python, OpenGL, C, CCNA

Résumé/CV: Available on request.

Email: longor [at] mailbox [dot] org

LinkedIn: https://www.linkedin.com/in/lars-k-69727719b/

---

I've been tinkering with computers for 20 years now, working for the last 9, building a variety of side-projects & prototypes; most recently a binary data-format using gradual typing and writing a wiki focused on voxels. My focus lies mostly around compilers/DSLs, graphics and web-technology.

The current job/contract of creating an "Welding-Assembly Process-Tracking, Reconstruction and Reporting"-System (using C#/Typescript/PostgreSQL) is nearing completion (~1.5 months), so I'm looking for new/interesting opportunities... excluding AI/LLM related things.

longor1996··on End of an era for me: no more self-hosted git
That this is a plausible explanation is... beyond horrifying to me.
longor1996··on Ask HN: Who wants to be hired? (February 2026)
Location: Europe, Germany, State of BW, District of RV.

Remote: Yes, or hybrid if close by; office only if in-district.

Willing to relocate: No, unable to.

Technologies: C#, Rust, Git, SQLite, PostgreSQL, Vulkan, TypeScript, JavaScript, HTML, CSS, Regex, PowerShell, Blender, Unreal Engine, Python, OpenGL, C, CCNA

Résumé/CV: Available on request.

Email: longor [at] mailbox [dot] org

LinkedIn: https://www.linkedin.com/in/lars-k-69727719b/

---

I've been tinkering with computers for 20 years now, working for the last 9, building a variety of side-projects & prototypes; most recently a binary data-format using gradual typing and writing a wiki focused on voxels. My focus lies mostly around compilers/DSLs, graphics and web-technology.

The current job/contract of creating an "Event-based Welding-Assembly Process Tracking, Reconstruction and Reporting"-System (using C#/Typescript/PostgreSQL) is nearing completion (~2 months), so I'm looking for new/interesting opportunities.

longor1996··on Ask HN: Who wants to be hired? (January 2026)
Location: Europe, Germany, State of BW, District of RV.

Remote: Yes, or hybrid if close by.

Willing to relocate: No, unable to.

Technologies: C#, Rust, Git, SQLite, Postgres, Vulkan, TypeScript, JavaScript, HTML, CSS, Regex, PowerShell, Blender, Unreal Engine, Python, OpenGL, C, CCNA

Résumé/CV: Available on request.

Email: longor [at] mailbox [dot] org

LinkedIn: https://www.linkedin.com/in/lars-k-69727719b/

---

My current job/contract is nearing completion (~3 months), so I'm looking for something new-ish.

longor1996··on Show HN: One clean, developer-focused page for every Unicode symbol
Maybe you could use unifont glyphs (drawn as SVGs?) as fallback?
longor1996··on No AI* Here – A Response to Mozilla's Next Chapter
Nah, [BetterFox](https://github.com/yokoffing/Betterfox) still works fine
longor1996··on Microsoft increases Office 365 and Microsoft 365 license prices
On the surface level, building/compiling/running, maybe... But properly integrating with a given platform (or hell, version of platform!) is a whole new world of pain. :(
longor1996··on Firefox 147 Will Support the XDG Base Directory Specification
Given that many tools are relatively small, I'd almost argue it wouldn't take more than 30min, ignoring testing.
longor1996··on UK's first small nuclear power station to be built in north Wales
Oh, sorry! Shouldn't have said "all" there... :'D
longor1996··on UK's first small nuclear power station to be built in north Wales
Wasn't all that bad PR mostly caused by the coal/oil industry, doing some serious astroturfing for a decade or so?
longor1996··on How long does it take to create a new habit? (2015)
Interesting! Do you have some studies or references at hand for this?

Never heard of "human brain needs nicotine" before...

longor1996··on Levels of configuration languages
The article actually (accidentally or on purpose?) refers to just that:

> How to avoid this madness? Introduce another low-level configuration file. Back to level one...

longor1996··on I spent 2 years building my own game engine (Rust, WASM, WebGPU)
It absolutely does, as the definition of a voxel is, roughly, "a 3ormoreD regular grid of point-samples".
longor1996··on I spent 2 years building my own game engine (Rust, WASM, WebGPU)
There are quite a lot of successful voxel-based games; see https://voxel.wiki/wiki/projects/ for an incomplete list.

Most people think voxel means 'cube' or 'block', but really it just means "regularly spaced sample in a 3-or-more-D grid".

The voxel gamedev community tends to call Minecraft-y voxel games "bloxel"-based.

longor1996··on What I think about Lua after shipping a project with 60k lines of code
Perhaps redbean might be of interest? It's a web server with all the batteries included, scripted via lua.

https://redbean.dev/

longor1996··on The Perfect Voxel Engine (2021)
With the help of the voxelgamedev community, I'm maintaining a relatively large listing of such projects over at https://voxel.wiki/wiki/projects/.

Sadly, a lot of projects get abandoned.... :(

longor1996··on WebKit switching to Skia for 2d graphics rendering
bgfx and The-Forge come to mind:

https://github.com/bkaradzic/bgfx

https://github.com/ConfettiFX/The-Forge