frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Temporal: A nine-year journey to fix time in JavaScript

https://bloomberg.github.io/js-blog/post/temporal/
249•robpalmer•3h ago•101 comments

Making WebAssembly a first-class language on the Web

https://hacks.mozilla.org/2026/02/making-webassembly-a-first-class-language-on-the-web/
176•mikece•14h ago•81 comments

Entities enabling scientific fraud at scale are large, resilient, growing (2025)

https://doi.org/10.1073/pnas.2420092122
196•peyton•5h ago•106 comments

BitNet: 100B Param 1-Bit model for local CPUs

https://github.com/microsoft/BitNet
236•redm•6h ago•118 comments

Where Some See Strings, She Sees a Space-Time Made of Fractals

https://www.quantamagazine.org/where-some-see-strings-she-sees-a-space-time-made-of-fractals-2026...
66•tzury•3h ago•9 comments

Show HN: Klaus – OpenClaw on a VM, batteries included

https://klausai.com/
50•robthompson2018•2h ago•34 comments

Lego's 0.002mm specification and its implications for manufacturing (2025)

https://www.thewave.engineer/articles.html/productivity/legos-0002mm-specification-and-its-implic...
291•scrlk•5h ago•229 comments

Launch HN: Prism (YC X25) – Workspace and API to generate and edit videos

https://www.prismvideos.com
21•aliu327•2h ago•10 comments

Fungal Electronics

https://arxiv.org/abs/2111.11231
29•byt3h3ad•1h ago•2 comments

5,200 holes carved into a Peruvian mountain left by an ancient economy

https://newatlas.com/environment/5-200-holes-peruvian-mountain/
18•defrost•1d ago•4 comments

AI Agent Hacks McKinsey

https://codewall.ai/blog/how-we-hacked-mckinseys-ai-platform
255•mycroft_4221•8h ago•102 comments

Show HN: Open-source browser for AI agents

https://github.com/theredsix/agent-browser-protocol
50•theredsix•4h ago•17 comments

Show HN: I built a tool that watches webpages and exposes changes as RSS

https://sitespy.app
13•vkuprin•2h ago•5 comments

The MacBook Neo

https://daringfireball.net/2026/03/the_macbook_neo
104•etothet•7h ago•235 comments

Wiz joins Google

https://www.wiz.io/blog/google-closes-deal-to-acquire-wiz
100•aldarisbm•3h ago•74 comments

Swiss e-voting pilot can't count 2,048 ballots after decryption failure

https://www.theregister.com/2026/03/11/swiss_evote_usb_snafu/
61•jjgreen•5h ago•125 comments

Searching for the Agentic IDE

https://twitter.com/karpathy/status/2031616709560610993
13•bigwheels•3h ago•15 comments

Launch HN: Sentrial (YC W26) – Catch AI Agent Failures Before Your Users Do

https://www.sentrial.com/
10•anayrshukla•2h ago•5 comments

Show HN: I built an ISP infrastructure emulator from scratch with a custom vBNG

https://aether.saphal.me/dashboard/default
27•saphalpdyl•5h ago•3 comments

Faster asin() was hiding in plain sight

https://16bpp.net/blog/post/faster-asin-was-hiding-in-plain-sight/
133•def-pri-pub•4h ago•80 comments

Visualizing Ukkonen's Suffix Tree Algorithm

https://www.abahgat.com/blog/visualizing-ukkonens-algorithm/
16•gsky•1d ago•3 comments

Building a TB-303 from Scratch

https://loopmaster.xyz/tutorials/tb303-from-scratch
184•stagas•3d ago•73 comments

Show HN: Vanilla JavaScript refinery simulator built to explain job to my kids

https://fuelingcuriosity.com/game.html
37•fuelingcurious•1h ago•16 comments

Zig – Type Resolution Redesign and Language Changes

https://ziglang.org/devlog/2026/#2026-03-10
368•Retro_Dev•17h ago•203 comments

PeppyOS: A simpler alternative to ROS 2 (now with containers support)

https://peppy.bot/
59•Ekami•3d ago•21 comments

Why the global elite gave up on spelling and grammar

https://www.wsj.com/lifestyle/jeffrey-epstein-files-bad-grammar-spelling-trump-ellison-dorsey-gat...
56•matthieu_bl•3h ago•133 comments

Cloudflare crawl endpoint

https://developers.cloudflare.com/changelog/post/2026-03-10-br-crawl-endpoint/
446•jeffpalmer•20h ago•176 comments

Writing my own text editor, and daily-driving it

https://blog.jsbarretto.com/post/text-editor
195•todsacerdoti•16h ago•103 comments

Yann LeCun raises $1B to build AI that understands the physical world

https://www.wired.com/story/yann-lecun-raises-dollar1-billion-to-build-ai-that-understands-the-ph...
583•helloplanets•1d ago•470 comments

Tony Hoare has died

https://blog.computationalcomplexity.org/2026/03/tony-hoare-1934-2026.html
1956•speckx•1d ago•256 comments
Open in hackernews

Show HN: Vanilla JavaScript refinery simulator built to explain job to my kids

https://fuelingcuriosity.com/game.html
37•fuelingcurious•1h ago
Hi HN, I’m a chemical engineer and I manage logistics at a refinery down in Texas. Whenever I try to explain downstream operations to people outside the industry (including my kids), I usually get blank stares. I wanted to build something that visualizes the concepts and chemistry of a plant without completely dumbing down the science, so I put together this 5-minute browser game.

Here's a simple runthrough: https://www.youtube.com/watch?v=is-moBz6upU. I pushed to get through a full product pathway to show the V-804 replay.

I am not a software developer by trade, so I relied heavily on LLMs (Claude, Copilot, Gemini) to help write the code. What started as a simple concept turned into a 9,000-line single-page app built with vanilla HTML, CSS, and JavaScript. I used Matter.js for the 2D physics minigames.

A few technical takeaways from building this as a non-dev: * Managing the LLM workflow: Once the script.js file got large, letting the models output full file rewrites was a disaster (truncations, hallucinations, invisible curly-quote replacements that broke the JS). I started forcing them to act like patch files, strictly outputting "Find this exact block" and "Replace with this exact block." This was the only way to maintain improvements without breaking existing logic.

* Mapping physics to CSS: I wanted the minigames to visually sit inside circular CSS containers (border-radius: 50%). Matter.js doesn't natively care about your CSS. Getting the rigid body physics to respect a dynamic, responsive DOM boundary across different screen sizes required running an elliptical boundary equation (dx * dx) / (rx * rx) + (dy * dy) / (ry * ry) > 1 on every single frame. Maybe this was overkill to try to handle the resizing between phones and PCs.

* Mobile browser events: Forcing iOS Safari to ignore its default behaviors (double-tap zoom, swipe-to-scroll) while still allowing the user to tap and drag Matter.js objects required a ridiculous amount of custom event listener management and CSS (touch-action: manipulation; user-select: none;). I also learned that these actions very easily kill the mouse scroll making it very frustrating for PC users. I am hoping I hit a good middle ground.

* State management: Since I didn't use React or any frameworks, I had to rely on a global state object. Because the game jumps between different phases/minigames, I ran into massive memory leaks from old setInterval loops and Matter.js bodies stacking up. I had to build strict teardown functions to wipe the slate clean on every map transition.

The game walks through electrostatic desalting, fractional distillation, hydrotreating, catalytic cracking, and gasoline blending (hitting specific Octane and RVP specs).

It’s completely free, runs client-side, and has zero ads or sign-ups. I'd appreciate any feedback on the mechanics, or let me know if you manage to break the physics engine. Happy to answer any questions about the chemical engineering side of things as well.

For some reason the URL box is not getting recognized, maybe someone can help me feel less dumb there too. https://fuelingcuriosity.com/game

Comments

fuelingcurious•1h ago
Hello y’all as the post says, certainly a novice stepping into y’all’s space, but I am passionate that we can use the newest form of coding to allow us to change the way we teach. I think it’s a different way to use AI to teach, not having it explicitly do the teaching, but a way to extract context from different backgrounds into more fun learning tools.
Tacite•1h ago
It's very good and you can be proud. Your kids should be too!
fuelingcurious•1h ago
Thank you! They call themselves my play testers and ask to see if I have added anything new almost daily for the last week or so. I have a bonus level for the SRU I’m trying to perfect.
zbuttram•1h ago
Great to see a spiritual successor to SimRefinery[1] after all these years!

[1] https://en.wikipedia.org/wiki/SimRefinery

fuelingcurious•1h ago
I’ll take the compliment! My goal was to keep each unit to simple tap and drag play dynamics. If there’s another curiosity, mechanical, electrical, another unit, I can add it to the development plans. It’s fun for our family!
insin•1h ago
Phase 1b: The Desalter doesn't show anything on the grid in Firefox (v148.0.2), so you automatically lose.
fuelingcurious•1h ago
Ah interesting, I have playtested on safari, chrome, and edge. I’ll have to look into what’s unique there. Thank you!
cameron_b•1h ago
Up-to-date Firefox on Linux allowed me to complete certification of a shipment of Jet fuel, no trouble all the way through.

Great concept and execution.

fuelingcurious•1h ago
Hurray! Thank you for the update note. I was going to get after it tonight after I put the kids to bed otherwise.
TheGamerUncle•1h ago
Hi sorry do you have the code for this I have been delaying to work on something like this but would love to use this as boilerplate.
fuelingcurious•1h ago
Hello! Thank you for the vote of confidence! I deliberately left the client-side JavaScript un-obfuscated (AI showed me how to do it, but then I undid it for posting here). A colleague of mine started talking about selling it as a training tool, but ha I don’t know if that is in the cards. If you send me an email, we can talk about helping you get a head start!
sealthedeal•1h ago
This is awesome
fuelingcurious•1h ago
Love it! Hopefully you learned something too!
bcze56bbn854•15m ago
Great jobb!
bcze56bbn854•15m ago
Thanks I really liked it and it taught me a lot
fuelingcurious•12m ago
Great! Anything uniquely unexpected?