frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: Playra

https://playra-app.vercel.app/
1•Allenboyy•27s ago•0 comments

ClawMem

https://github.com/yoloshii/ClawMem
1•flippyhead•1m ago•0 comments

Alpha release: HunterPrey, a persistent SSH PvP world

https://hunterprey.com/
1•kicksent•2m ago•0 comments

Show HN: Association rule mining on 21.6M poker hands

https://pattern.poker
1•et9797•4m ago•0 comments

The Environment Will Be Saved If We Just Avoid Doing Icky Things (2024)

https://branchfree.org/2024/11/25/the-environment-will-be-saved-if-we-just-avoid-doing-icky-things/
1•usdogu•5m ago•0 comments

When the sun sets, batteries rise: 24/7 solar in California

https://pv-magazine-usa.com/2026/02/17/when-the-sun-sets-batteries-rise-24-7-solar-in-california/
1•toomuchtodo•6m ago•0 comments

Show HN: Three deployable open source platforms from a solo builder

1•BrainDAnderson•7m ago•0 comments

New OllamaMQ Version v0.2.5

https://github.com/Chleba/ollamaMQ
1•chleba•9m ago•0 comments

MoaV: Why Anti-Censorship Needs Infrastructure, Not Just Tools

https://medium.com/@sbetamc/moav-16-protocols-one-server-why-anti-censorship-needs-infrastructure...
1•shayanbahal•11m ago•0 comments

Why Tech Bros Are Now Obsessed with Taste

https://www.newyorker.com/culture/infinite-scroll/why-tech-bros-are-now-obsessed-with-taste
1•rmason•11m ago•1 comments

Microbenchmarking Chipsets for Giggles

https://chipsandcheese.com/p/microbenchmarking-chipsets-for-giggles
2•zdw•20m ago•0 comments

AI Is Garbage and a Bubble

https://www.richardcarrier.info/archives/38652
16•mastabadtomm•21m ago•5 comments

Show HN: Inner Warden, self-defending server with eBPF and AI

https://www.innerwarden.com/
2•maiconburn•22m ago•0 comments

Describe an app in one sentence, get it built and shipped within minutes

https://bubbling.dev/
1•georgesmith9914•23m ago•2 comments

GrapheneOS will remain usable by anyone without requiring personal information

https://grapheneos.social/@GrapheneOS/116261301913660830
2•nothrowaways•24m ago•0 comments

Show HN: SYNX – a new config format with active mod. Built for AI and humans

https://synx.aperturesyndicate.com/
2•Kaiserrberg•25m ago•0 comments

Show HN: Discover Indie Version of Popular SaaS Products

https://indiehustles.com/
2•devarifhossain•26m ago•1 comments

Mutual Party Extremism

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6425039
2•neehao•27m ago•0 comments

The Slow Collapse of MkDocs

https://fpgmaas.com/blog/collapse-of-mkdocs/
1•zdw•28m ago•0 comments

Show HN: I built a paper-based vault with m-of-n keys

https://papervault.xyz
2•boazeb•28m ago•0 comments

Solod: Go can be a better C

https://antonz.org/solod/
5•ibobev•30m ago•0 comments

Show HN: EnvMaster – inject encrypted env variables from your terminal

https://www.envmaster.dev/
2•selixe_•31m ago•0 comments

Onefiling

https://bumbershootsoft.wordpress.com/2026/03/21/onefiling/
2•ibobev•31m ago•0 comments

Learning Rust

https://alexene.dev/2018/09/09/Learning-rust.html
2•ibobev•33m ago•0 comments

MFOS: Enforcing a commit boundary for AI-assisted decisions

https://github.com/justabriar/mfos-commit-boundary/blob/main/README.md
1•tcook462•34m ago•0 comments

Scientists discover AI can make humans more creative

https://www.sciencedaily.com/releases/2026/03/260315004355.htm
1•logicprog•35m ago•0 comments

The vocoder, the military tech that changed music

https://www.theverge.com/podcast/898697/vocoder-music-instrument-version-history
1•ianrahman•36m ago•0 comments

Learning Creative Learning

https://lcl.media.mit.edu/
2•ngmc•45m ago•1 comments

Vertical Farms Tried to Compete with Open Field Farming. It Isn't Going Well

https://www.nytimes.com/2026/03/21/business/vertical-farms-tried-to-compete-with-open-field-farmi...
4•Kaibeezy•46m ago•1 comments

Science Has a Major Fraud Problem

https://www.thefp.com/p/science-has-a-major-fraud-problem
1•nextos•47m ago•0 comments
Open in hackernews

The gold standard of optimization: A look under the hood of RollerCoaster Tycoon

https://larstofus.com/2026/03/22/the-gold-standard-of-optimization-a-look-under-the-hood-of-rollercoaster-tycoon/
47•mariuz•2h ago

Comments

sroerick•1h ago
I had always heard about how RCT was built in Assembly, and thought it was very impressive.

The more I actually started digging into assembly, the more this task seems monumental and impossible.

I didn't know there was a fork and I'm excited to look into it

mikkupikku•32m ago
Macros. Lots of macros.
HelloUsername•1h ago
Fun read, thx! I'd also recommend more about RCT:

"Interview with RollerCoaster Tycoon's Creator, Chris Sawyer (2024)" https://news.ycombinator.com/item?id=46130335

"Rollercoaster Tycoon (Or, MicroProse's Last Hurrah)" https://news.ycombinator.com/item?id=44758842

"RollerCoaster Tycoon at 25: 'It's mind-blowing how it inspired me'" https://news.ycombinator.com/item?id=39792034

"RollerCoaster Tycoon was the last of its kind [video]" https://news.ycombinator.com/item?id=42346463

"The Story of RollerCoaster Tycoon" https://www.youtube.com/watch?v=ts4BD8AqD9g

fweimer•50m ago
What language is this article talking where compilers don't optimize multiplication and division by powers of two? Even for division of signed integers, current compilers emit inline code that handles positive and negative values separately, still avoiding the division instruction (unless when optimizing for size, of course).
cjbgkagh•14m ago
It was written in assembly so goes through an assembler instead of a compiler.
londons_explore•30m ago
> it turns an optimization done out of technical necessity into a gameplay feature

And this folks is why an optimizing compiler can never beat sufficient quantities of human optimization.

The human can decide when the abstraction layers should be deliberately broken for performance reasons. A compiler cannot do that.

applfanboysbgon•29m ago
> Imagine a programmer asking a game designer if they could change their formula to use an 8 instead of a 9.5 because it is a number that the CPU prefers to calculate with. There is a very good argument to be made that a game designer should never have to worry about the runtime performance characteristics of binary arithmetic in their life, that’s a fate reserved for programmers

Numeric characteristics are absolutely still a consideration for game designers even in 2026, one that influences what numbers they use in their game designs. The good ones, anyways. There are, of course, also countless bad developers/designers who ignore these things these days, but not because it is free to do so; rather, because they don't know better, and in many cases it is one of many silent contributing factors to a noticeable decrease in the quality of their game.

edflsafoiewq•17m ago
Examples?
andai•6m ago
https://en.wikipedia.org/wiki/Nuclear_Gandhi

From what I heard, there was a Civilization game which suffered from an unsigned integer underflow error where Gandhi, whose aggression was set to 0, would become "less aggressive" due to some event in the game, but due to integer underflow, this would cause his aggression to go to 255, causing him to nuke the entire map.

The article says this was just an urban legend though. Well, real or not, it's a perfect example of the principle!

luaKmua•57s ago
Indeed an urban legend. Sid Meier himself debunked in his memoir, which is a pretty great read.
timschmidt•13m ago
Absolutely. I have written a small but growing CAD kernel which is seeing use in some games and realtime visualization tools ( https://github.com/timschmidt/csgrs ) and can say that computing with numbers isn't really even a solved problem yet.

All possible numerical representations come with inherent trade-offs around speed, accuracy, storage size, complexity, and even the kinds of questions one can ask (it's often not meaningful to ask if two floats equal each other without an epsilon to account for floating point error, for instance).

"Toward an API for the Real Numbers" ( https://dl.acm.org/doi/epdf/10.1145/3385412.3386037 ) is one of the better papers I've found detailing a sort of staged complexity technique for dealing with this, in which most calculations are fast and always return (arbitrary precision calculations can sometimes go on forever or until memory runs out), but one can still ask for more precise answers which require more compute if required. But there are also other options entirely like interval arithmetic, symbolic algebra engines, etc.

One must understand the trade-offs else be bitten by them.

lefty2•26m ago
> The same trick can also be used for the other direction to save a division:

> NewValue = OldValue >> 3;

You need to be careful, because this doesn't work if the value is negative. A