frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

OpenCiv3: Open-source, cross-platform reimagining of Civilization III

https://openciv3.org/
391•klaussilveira•5h ago•85 comments

The Waymo World Model

https://waymo.com/blog/2026/02/the-waymo-world-model-a-new-frontier-for-autonomous-driving-simula...
750•xnx•10h ago•459 comments

Monty: A minimal, secure Python interpreter written in Rust for use by AI

https://github.com/pydantic/monty
118•dmpetrov•5h ago•49 comments

Show HN: Look Ma, No Linux: Shell, App Installer, Vi, Cc on ESP32-S3 / BreezyBox

https://github.com/valdanylchuk/breezydemo
131•isitcontent•5h ago•14 comments

Show HN: I spent 4 years building a UI design tool with only the features I use

https://vecti.com
234•vecti•7h ago•113 comments

Dark Alley Mathematics

https://blog.szczepan.org/blog/three-points/
28•quibono•4d ago•2 comments

A century of hair samples proves leaded gas ban worked

https://arstechnica.com/science/2026/02/a-century-of-hair-samples-proves-leaded-gas-ban-worked/
57•jnord•3d ago•3 comments

Microsoft open-sources LiteBox, a security-focused library OS

https://github.com/microsoft/litebox
302•aktau•11h ago•152 comments

Sheldon Brown's Bicycle Technical Info

https://www.sheldonbrown.com/
304•ostacke•11h ago•82 comments

Show HN: If you lose your memory, how to regain access to your computer?

https://eljojo.github.io/rememory/
160•eljojo•8h ago•121 comments

Hackers (1995) Animated Experience

https://hackers-1995.vercel.app/
377•todsacerdoti•13h ago•214 comments

Show HN: R3forth, a ColorForth-inspired language with a tiny VM

https://github.com/phreda4/r3
44•phreda4•4h ago•7 comments

An Update on Heroku

https://www.heroku.com/blog/an-update-on-heroku/
305•lstoll•11h ago•230 comments

I spent 5 years in DevOps – Solutions engineering gave me what I was missing

https://infisical.com/blog/devops-to-solutions-engineering
100•vmatsiiako•10h ago•34 comments

How to effectively write quality code with AI

https://heidenstedt.org/posts/2026/how-to-effectively-write-quality-code-with-ai/
167•i5heu•8h ago•127 comments

Learning from context is harder than we thought

https://hy.tencent.com/research/100025?langVersion=en
138•limoce•3d ago•76 comments

Understanding Neural Network, Visually

https://visualrambling.space/neural-network/
223•surprisetalk•3d ago•29 comments

FORTH? Really!?

https://rescrv.net/w/2026/02/06/associative
36•rescrv•12h ago•17 comments

I now assume that all ads on Apple news are scams

https://kirkville.com/i-now-assume-that-all-ads-on-apple-news-are-scams/
956•cdrnsf•14h ago•413 comments

Introducing the Developer Knowledge API and MCP Server

https://developers.googleblog.com/introducing-the-developer-knowledge-api-and-mcp-server/
8•gfortaine•2h ago•0 comments

PC Floppy Copy Protection: Vault Prolok

https://martypc.blogspot.com/2024/09/pc-floppy-copy-protection-vault-prolok.html
7•kmm•4d ago•0 comments

Evaluating and mitigating the growing risk of LLM-discovered 0-days

https://red.anthropic.com/2026/zero-days/
33•lebovic•1d ago•11 comments

I'm going to cure my girlfriend's brain tumor

https://andrewjrod.substack.com/p/im-going-to-cure-my-girlfriends-brain
30•ray__•1h ago•6 comments

Claude Composer

https://www.josh.ing/blog/claude-composer
97•coloneltcb•2d ago•68 comments

The Oklahoma Architect Who Turned Kitsch into Art

https://www.bloomberg.com/news/features/2026-01-31/oklahoma-architect-bruce-goff-s-wild-home-desi...
17•MarlonPro•3d ago•2 comments

Show HN: Smooth CLI – Token-efficient browser for AI agents

https://docs.smooth.sh/cli/overview
76•antves•1d ago•56 comments

Show HN: Slack CLI for Agents

https://github.com/stablyai/agent-slack
37•nwparker•1d ago•8 comments

How virtual textures work

https://www.shlom.dev/articles/how-virtual-textures-really-work/
23•betamark•12h ago•22 comments

Evolution of car door handles over the decades

https://newatlas.com/automotive/evolution-car-door-handle/
38•andsoitis•3d ago•61 comments

The Beauty of Slag

https://mag.uchicago.edu/science-medicine/beauty-slag
27•sohkamyung•3d ago•3 comments
Open in hackernews

Bonsai: A Voxel Engine, from scratch

https://github.com/scallyw4g/bonsai
259•jesse__•1mo ago

Comments

wiz21c•1mo ago
didn't find any video so: https://www.youtube.com/watch?v=sRL_RU7-jfc
javantanna•1mo ago
btw the license is nuts
nonoesp•1mo ago
WTFPL (Do What The F*k You Want To Public License) https://en.wikipedia.org/wiki/WTFPL
andersa•1mo ago
This seems like a bad idea. Surely the warranty and liability disclaimer found in licenses like MIT exists for a reason.
swiftcoder•1mo ago
> Surely the warranty and liability disclaimer found in licenses like MIT exists for a reason

Obviously IANAL, but I entirely don't see how the WTFPL (which does not ask the consumer to accept any restrictions) would create an implied contract (which would seem to be a necessary precondition for a warranty obligation)?

codeflo•1mo ago
IANAL either, so my own legal theories are as creative as yours, but I'd like to offer the following data point: All unrestricted open-source licenses that were written by actual lawyers, from MIT to CC0, have found it necessary to include such a liability clause.
Zambyte•1mo ago
In what sense is the MIT license "unrestricted"?
codeflo•1mo ago
In the sense that when people want to use a piece of MIT-licensed software in another piece of software, they don't in practice find themselves restricted from doing so by the conditions of the license. "Permissive" might be a word I should rather have used.
swiftcoder•1mo ago
The MIT license does place one specific license restriction on its users. Specifically: "subject to the following conditions: the above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software"
Zambyte•1mo ago
This is what I was getting at. The MIT license has restrictions, so calling it "unrestricted" doesn't make sense.
gorgoiler•1mo ago
Off the top of my head the CAPITALIZED WARRANTY DISCLAIMER is specific to a subset of states in the US. If you’re outside those jurisdictions (or any other where it is required) then for aesthetic or principled reasons I can see why you wouldn’t kowtow to the legalese spiral.
infogulch•1mo ago
Maybe don't drop the warranty disclaimer just yet.

> The MMWA requires conspicuous disclosure of warranty terms (e.g., designations like "Full" or "Limited" as prominent titles).

> The common practice of ALL-CAPS WARRANTY DISCLAIMERS (e.g., "AS IS, NO WARRANTY") stems primarily from state adoptions of UCC § 2-316, which requires disclaimers of implied warranties to be "conspicuous" (and suggests all-caps as one way, especially in plain text).

- Grok https://grok.com/share/bGVnYWN5_5c7db73a-ffd2-48b2-bb36-296f...

That said, maybe it wouldn't be too hard to argue there is obviously no implied warranty with a crass license like WTFPL.

Zambyte•1mo ago
To be fair, most are.
nurettin•1mo ago
Better than LGPL which prevents you from static linking even if you give attribution.
Joel_Mckay•1mo ago
That is a fact.. LGPL can unintentionally contaminate the code base, and why https://wxwidgets.org/ had to have a more open license to cross-port programs from/to other platforms (especially Android and windows often needed Static builds just for practical reasons.)

Additionally, a public-domain/CC0 license can run up against some organizations policies. It is better to release under several licenses to reach as many users as possible. Personally prefer Apache 2.0, as 10 years from now someones situation may need that...

Sad a grief'er decided to bury your response. Happy holidays =3

jesse__•1mo ago
Author here.. that was kind of the point.
another_twist•1mo ago
The author mentions simplicity in their Readme. I would be very interested to read their journey and some of the decisions they made where they preferred simplicity. More of this please !
jesse__•1mo ago
Hello, author here :)

I've been thinking of doing a series of blogs on the journey but .. it's been a journey, which is a lot to write about in full. In short, a few places where I've been able to prefer simplicity:

1. Allocators are all pretty much as simple as you can get. Most memory in the program is bump/arena allocated. There is a buddy-style heap allocator for things that are annoying to arena allocate (strings that can be edited, for example). I make heavy use of temp memory and freelists.

2. Containers are all very straight-forward, and it's definitely a feature. The example I always give here is std::map from C++. On paper, it looks great; it has very good looking properties. In practice, the implementation is a nightmare; it's slow, and has a comically large rebalancing-shaped performance cliff. My containers strive to be simple, with reasonable average and worst-case performance.

3. I wrote my own metaprogramming language instead of using C++ template metaprogramming. Writing an entire programming language sounds like the antithesis of simplicity, but in reality, having a good metaprogramming layer makes your life immeasurably easier in the long run. With strong metaprogramming capabilities, stuff like realtime debug UI and state serialization becomes nearly trivial. Once you start doing versioned data serialization in C++, you quickly realize you need a better compiler (see: protobuf, cap'n proto)

Joel_Mckay•1mo ago
Nice project, this tutorial was also helpful for a hobby volumetric data display routine. Cheers =3

"I Optimised My Game Engine Up To 12000 FPS" ( https://www.youtube.com/watch?v=40JzyaOYJeY )

https://github.com/vercidium-patreon/meshing

xyzsparetimexyz•1mo ago
It's really not that hard to ray trace the voxels instead of using rasterization and allows for way higher voxel counts.

https://dubiousconst282.github.io/2024/10/03/voxel-ray-traci...

ghc•1mo ago
I've always wondered why voxel engines tend to produce output that looks so blocky. I didn't realize it was a performance issue.

Still, games like "C&C: Red Alert" used voxels, but with a normal mapping that resulted in a much less blocky appearance. Are normal maps also a performance bottleneck?

codeflo•1mo ago
Before Minecraft, basically all voxel engines used some form of non-axis-aligned normals to hide the sharp blocks. Those engines did this either through explicit normal mapping, or at the very least, by deriving intermediate angles from the Marching Cubes algorithm. Nowadays, the blocky look has become stylish, and I don't think it really even occurs to people that they could try to make the voxels smooth.
wongarsu•1mo ago
I think marching cubes is still decently popular in games with modifiable terrain, we just stopped referring to it as voxels
reactordev•1mo ago
Voxels have been around since the 1980s. The smoothness came from that beautiful CRT and its inability to display crisp images. Normals weren’t really used until early 90s and used heavily by games like Comanche by NovaLogic.

The reason why Minecraft voxels are blocks is because Notch (Markus Persson) famously said he was “Not good at art”. He didn’t implement the triangulation and kept them unit blocks. Games that had voxels AND were triangulated that came before Minecraft were Red Faction, Delta Force, Outcast just to name a few.

The point is, voxels aren’t anything special, no more than a texel, or a vertex, or a splat, a normal, or a uv. It’s just a representation of 3D space (occupied/not occupied) and can just as easily be used for culling as it can for rendering. The Minecraft style because popular because it reminds people of pixels, it reminded people of legos, and Minecraft was so popular

squigz•1mo ago
> it reminded people of legos,

I don't think this should be understated. LEGO are easy and fun to build with and don't require a lot of artistic talent. The same goes for block-based games like Minecraft.

nkrisc•1mo ago
It depends on how the voxels relate to the gameplay.

Regardless of the original intent, in Minecraft the voxel grid itself is a very important aspect of the core gameplay loop. Smoothing the voxel visual representation disguises the boundaries between individual logical voxels and makes certain gameplay elements more difficult or frustrating for the player. When the visuals closely (or exactly) match the underlying voxel grid, it's easy for the player to see which specific voxel is holding back some lava or if they're standing on the voxel they're about to break.

In Minecraft you can, for example, clearly count how many voxels wide something is from a distance, because the voxels are visually obvious.

In Red Faction, you're never concerned with placing or breaking very specific voxels in very specific locations, so it's not an issue.

reactordev•1mo ago
So your point is, Minecraft uses voxels on a unit scale. Red faction uses voxels differently, so Minecraft wins?

I get the appeal of Minecraft but Notch didn’t invent this stuff as much as you would love to believe. He simply used it in a way that made it easy to understand. To the point where people like you are explaining it to me like I have never played it. I have. I was one of the first testers.

Almost all of Minecraft is ripped off other games. World creation, dwarf fortress. Mining, dig dug. The only original thing was The Creeper.

nkrisc•1mo ago
> So your point is, Minecraft uses voxels on a unit scale. Red faction uses voxels differently, so Minecraft wins?

What? That’s not my point at all.

squigz•1mo ago
This seems like a needlessly antagonistic response? GP was only pointing out that the voxel shape is fundamentally important to Minecraft. It's not just a matter of Notch's artistic talent, as you said.

Anyway I don't think anybody is saying Notch invented this stuff or Minecraft was the first to do certain things. But it's probably worth pointing out that, ripped off or no, those other games haven't become remotely close to the popularity of Minecraft, so Notch clearly did something right... maybe the Creepers are why?

jesse__•1mo ago
Hello, author here :)

I originally chose to go with axis-aligned blocks and hard axis-aligned normals because I liked the aesthetic. I've since slightly course-corrected; each voxel has bent normals which follow the surface. How much the normals are bent is artist configurable. This has the effect of smoothing out the look of the surface when viewing from a distance, but still gives the distinct blocky look when up close.

In terms of performance, there is a cost to having fully 3D normals per voxel, but it's certainly manageable. There's a lot of other, more expensive, stuff going on.

qoez•1mo ago
It's way more performant though and looks fine so I see the reasoning why you would do rasterization instead
rendaw•1mo ago
Can you add more details? This seems to directly contradict GP. GP said ray tracing can do higher voxel counts = ray tracing is more performant (than rasterization).
jesse__•1mo ago
Hello, author here.

It's actually more efficient to do a hybrid approach, especially at high view distances. Rasterizing triangles is extremely fast, and is basically a perfect primary-ray intersection. Ethan Gore recently did some experiments with raytracing and said that for large scene volumes (his engine comfortably renders the entire 32-bit range, or 4B^3) it turns out to be faster to do raster for primary rays and raytrace shadows/GI.

tyleo•1mo ago
I’ve been using Voxel Max for the last couple weeks to draw voxel art for a game and it’s incredible.

I’ll have to try some of my assets out in this engine.

jesse__•1mo ago
I'm curious, did you specifically choose Voxel Max over MagicaVoxel for any reason?

> I’ll have to try some of my assets out in this engine.

The asset loading is currently broken in Bonsai after a big rewrite, but it's the next thing on my list to fix! Would love to see your art :)

tyleo•1mo ago
I did a decent amount of work in MagicaVoxel in the past.

I like that Voxel Max works on iPad. It also allows 3D meshes to be imported and voxelized.

Voxel Max has a good amount of polish these days. It’s my top option with MagicaVoxel a close second.

I’ve also used Qubicle and Goxel. Qubicle is okay for specific things. I really like its masking planes feature. I really don’t like Goxel. It’s UI just feels clunky.

jesse__•1mo ago
Sweet, thanks for the summary :)

I've been wanting a good mesh->voxel pipeline. I'll have to check out Voxel Max's facilities there.

tyleo•1mo ago
I think you’d really like Voxel Max’s capabilities there. Even if you just use it for the mesh -> voxel conversion and then reexport to MagickaVoxel.

The Voxel Max folks have been very helpful in their Discord server too.

blastro•1mo ago
very cool
tim-fan•1mo ago
Not to be confused with Bonxai (Fast, hierarchical, sparse Voxel Grid)

https://github.com/facontidavide/Bonxai

Is there some connection between Voxel grids and Bonsai trees that I'm missing??

jesse__•1mo ago
Funny coincidence on naming. I called the project Bonsai because I tended to it in a similar way that someone tends a bonsai tree; carefully, over years. Not sure of the origin of the Bonxai name
dirtybirdnj•1mo ago
the look and aesthetic of some of your screenshots is awesome. reminds me of ultima online in the best way possible.

It's like looking into the future, will there be a point where you can just render the entire scene in voxels at high enough res where it's indistinguishable from modern 3d graphics?

jesse__•1mo ago
> the look and aesthetic of some of your screenshots is awesome. reminds me of ultima online in the best way possible

Thank you!

> It's like looking into the future, will there be a point where you can just render the entire scene in voxels at high enough res where it's indistinguishable from modern 3d graphics?

There are two really big problems getting in the way of this.

1. Data size. One of the ways that my engine gets away with rendering such large volumes is by discarding most of the voxel data after it gets generated and converted to triangles. In the context of a traditional 3D pipeline, where artists hand-author content in zbrush, maya, blender, etc, which is then imported and drawn in the engine .. it gets complicated.

2. Animation. Animating voxel data is hard. I'm going to completely gloss over all the details, but current techniques mostly boil down to playing back 3D video, which is problem (1) on steroids.

That all said, many voxel-based techniques are used in commercial 3D game engines today. Unreal Engine just landed a feature that voxelizes foliage in the distance, and just draws the ~1px voxels instead of textured quads. Voxel Cone Tracing is another prominent example. Fluid sims and many volumetric effects are also commonly done using voxel grids.

dustbunny•1mo ago
So many of these voxel engines suck, but it appears that this person totally nailed it. Bravo