frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

The Crumbling Workflow Moat: Aggregation Theory's Final Chapter

https://twitter.com/nicbstme/status/2019149771706102022
1•SubiculumCode•33s ago•0 comments

Pax Historia – User and AI powered gaming platform

https://www.ycombinator.com/launches/PMu-pax-historia-user-ai-powered-gaming-platform
1•Osiris30•1m ago•0 comments

Show HN: I built a RAG engine to search Singaporean laws

https://github.com/adityaprasad-sudo/Explore-Singapore
1•ambitious_potat•7m ago•0 comments

Scams, Fraud, and Fake Apps: How to Protect Your Money in a Mobile-First Economy

https://blog.afrowallet.co/en_GB/tiers-app/scams-fraud-and-fake-apps-in-africa
1•jonatask•7m ago•0 comments

Porting Doom to My WebAssembly VM

https://irreducible.io/blog/porting-doom-to-wasm/
1•irreducible•7m ago•0 comments

Cognitive Style and Visual Attention in Multimodal Museum Exhibitions

https://www.mdpi.com/2075-5309/15/16/2968
1•rbanffy•9m ago•0 comments

Full-Blown Cross-Assembler in a Bash Script

https://hackaday.com/2026/02/06/full-blown-cross-assembler-in-a-bash-script/
1•grajmanu•14m ago•0 comments

Logic Puzzles: Why the Liar Is the Helpful One

https://blog.szczepan.org/blog/knights-and-knaves/
1•wasabi991011•25m ago•0 comments

Optical Combs Help Radio Telescopes Work Together

https://hackaday.com/2026/02/03/optical-combs-help-radio-telescopes-work-together/
2•toomuchtodo•30m ago•1 comments

Show HN: Myanon – fast, deterministic MySQL dump anonymizer

https://github.com/ppomes/myanon
1•pierrepomes•36m ago•0 comments

The Tao of Programming

http://www.canonical.org/~kragen/tao-of-programming.html
1•alexjplant•38m ago•0 comments

Forcing Rust: How Big Tech Lobbied the Government into a Language Mandate

https://medium.com/@ognian.milanov/forcing-rust-how-big-tech-lobbied-the-government-into-a-langua...
1•akagusu•38m ago•0 comments

PanelBench: We evaluated Cursor's Visual Editor on 89 test cases. 43 fail

https://www.tryinspector.com/blog/code-first-design-tools
2•quentinrl•40m ago•2 comments

Can You Draw Every Flag in PowerPoint? (Part 2) [video]

https://www.youtube.com/watch?v=BztF7MODsKI
1•fgclue•45m ago•0 comments

Show HN: MCP-baepsae – MCP server for iOS Simulator automation

https://github.com/oozoofrog/mcp-baepsae
1•oozoofrog•49m ago•0 comments

Make Trust Irrelevant: A Gamer's Take on Agentic AI Safety

https://github.com/Deso-PK/make-trust-irrelevant
5•DesoPK•53m ago•1 comments

Show HN: Sem – Semantic diffs and patches for Git

https://ataraxy-labs.github.io/sem/
1•rs545837•54m ago•1 comments

Hello world does not compile

https://github.com/anthropics/claudes-c-compiler/issues/1
33•mfiguiere•1h ago•20 comments

Show HN: ZigZag – A Bubble Tea-Inspired TUI Framework for Zig

https://github.com/meszmate/zigzag
3•meszmate•1h ago•0 comments

Metaphor+Metonymy: "To love that well which thou must leave ere long"(Sonnet73)

https://www.huckgutman.com/blog-1/shakespeare-sonnet-73
1•gsf_emergency_6•1h ago•0 comments

Show HN: Django N+1 Queries Checker

https://github.com/richardhapb/django-check
1•richardhapb•1h ago•1 comments

Emacs-tramp-RPC: High-performance TRAMP back end using JSON-RPC instead of shell

https://github.com/ArthurHeymans/emacs-tramp-rpc
1•todsacerdoti•1h ago•0 comments

Protocol Validation with Affine MPST in Rust

https://hibanaworks.dev
1•o8vm•1h ago•1 comments

Female Asian Elephant Calf Born at the Smithsonian National Zoo

https://www.si.edu/newsdesk/releases/female-asian-elephant-calf-born-smithsonians-national-zoo-an...
4•gmays•1h ago•0 comments

Show HN: Zest – A hands-on simulator for Staff+ system design scenarios

https://staff-engineering-simulator-880284904082.us-west1.run.app/
1•chanip0114•1h ago•1 comments

Show HN: DeSync – Decentralized Economic Realm with Blockchain-Based Governance

https://github.com/MelzLabs/DeSync
1•0xUnavailable•1h ago•0 comments

Automatic Programming Returns

https://cyber-omelette.com/posts/the-abstraction-rises.html
1•benrules2•1h ago•1 comments

Why Are There Still So Many Jobs? The History and Future of Workplace Automation [pdf]

https://economics.mit.edu/sites/default/files/inline-files/Why%20Are%20there%20Still%20So%20Many%...
2•oidar•1h ago•0 comments

The Search Engine Map

https://www.searchenginemap.com
1•cratermoon•1h ago•0 comments

Show HN: Souls.directory – SOUL.md templates for AI agent personalities

https://souls.directory
1•thedaviddias•1h ago•0 comments
Open in hackernews

Reversing engineering is a great way to find programming trainwrecks

1•quozine•1mo ago
Not that long ago, I was trying to reverse part of a piece of software so I could work with a proprietary format. Along the way, I encountered some of the worst code I have ever seen. And mind you, this was in a widely-used professional software developed by a multi-billion dollar company.

* The program was centered around a single core library. This library worked by loading several component libraries and then providing wrappers around them. The way the wrappers worked was a bit convoluted, but this was probably the least bad part of it.

* The largest component library involved creating an object and then calling its methods. Rather than implementing this directly, it was done in this bizarrely convoluted way where an object would be created and then a pointer would be put in a small, fixed-size array. The function then returned an index into that array. All the methods would then work on that index instead of the pointer directly. Some methods checked the bounds, while others didn't. If the array filled up, the program would crash.

* There was a static mapping of strings that was used as a lookup table. The table was indexed by the first two letters in each entry. Every time a value in the table was looked up, it would search through all the index prefixes until it found the matching one. It would then search through every entry in the table with that prefix. It would stop if either the entry matched, or the prefix changed. There was no boundschecking whatsoever. If the key contained a prefix not in the index, it would crash. If the key was not in the index and the prefix was the last prefix, it would wait for the prefix in the table to change, going past the end and crashing. The cherry on top was that everything was already completely lexicographically sorted, so they could have just used bsearch without having to change anything else. Oh and this was not a small amount of data in a minor part of the program, it was 5MB+ of data with 100,000+ entries that was regularly called from a loop that runs thousands of times.

* In the biggest component, nearly everything was stored in one enormous class. And I mean enormous. It was dozens of megabytes in size and had hundreds of fields. Nearly every other class and struct was embedded in it, directly without a pointer. Well actually there were some pointers but that part was even more absurd. The class contained pointers to various objects, but those objects were already in the class - but sometimes they weren't. There was a whole bunch of spaghetti code to check whether they were in the class directly, or whether the pointers pointed to classes that were allocated in the heap, or if they were null. All of this seemingly served no purpose whatsoever.

* There was a function that took a c-string of a directory path and added another c-string containing a filename. Rather than just using a malloc and strcat, it did the following: create an std::vector; parse the directory path splitting each '/', converting it to wide-character string and then appending it to the vector; convert the file name to a wstring and appended it too; create a new wstring and then append each element of the array followed by a '/'; convert the wstring back to a c-string. I'm not kidding.

This was just the tip of the iceberg.