frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Free software hasn't won

https://dorotac.eu/posts/fosswon/
51•LorenDB•1h ago•25 comments

Wireguard FPGA

https://github.com/chili-chips-ba/wireguard-fpga
278•hasheddan•5h ago•69 comments

Ask HN: What are you working on? (October 2025)

68•david927•2h ago•125 comments

Edge AI for Beginners

https://github.com/microsoft/edgeai-for-beginners
61•bakigul•2h ago•18 comments

Emacs agent-shell (powered by ACP)

https://xenodium.com/introducing-agent-shell
73•Karrot_Kream•2h ago•5 comments

MAML – a new configuration language (similar to JSON, YAML, and TOML)

https://maml.dev/
21•birdculture•1h ago•16 comments

Completing a BASIC language interpreter in 2025

https://nanochess.org/ecs_basic_2.html
46•nanochess•3h ago•1 comments

Three ways formally verified code can go wrong in practice

https://buttondown.com/hillelwayne/archive/three-ways-formally-verified-code-can-go-wrong-in/
29•todsacerdoti•16h ago•11 comments

A years-long Turkish alphabet bug in the Kotlin compiler

https://sam-cooper.medium.com/the-country-that-broke-kotlin-84bdd0afb237
49•Bogdanp•5h ago•45 comments

Bird Photographer of the Year Gives a Lesson in Planning and Patience

https://www.thisiscolossal.com/2025/09/2025-bird-photographer-of-the-year-contest/
27•surprisetalk•6d ago•4 comments

Macro Splats 2025

https://danybittel.ch/macro.html
358•danybittel•12h ago•59 comments

Tiny Teams Playbook

https://www.latent.space/p/tiny
49•tilt•4d ago•16 comments

A whirlwind introduction to dataflow graphs (2018)

https://fgiesen.wordpress.com/2018/03/05/a-whirlwind-introduction-to-dataflow-graphs/
15•shoo•1d ago•0 comments

3D-Printed Automatic Weather Station

https://3dpaws.comet.ucar.edu
13•hyperbovine•3d ago•0 comments

Constraint satisfaction to optimize item selection for bundles in Minecraft

https://www.robw.fyi/2025/10/12/using-constraint-satisfaction-to-optimize-item-selection-for-bund...
11•someguy101010•4h ago•4 comments

oavif: Faster target quality image compression

https://giannirosato.com/blog/post/oavif/
14•computerbuster•6h ago•2 comments

Show HN: I built a simple ambient sound app with no ads or subscriptions

https://ambisounds.app/
71•alpaca121•8h ago•30 comments

Rcyl – a recycled plastic urban bike

https://rcyl.bike/en/the-bike/
16•smartmic•3h ago•16 comments

AdapTive-LeArning Speculator System (ATLAS): Faster LLM inference

https://www.together.ai/blog/adaptive-learning-speculator-system-atlas
185•alecco•14h ago•43 comments

The neurons that let us see what isn't there

https://arstechnica.com/science/2025/10/the-neurons-that-let-us-see-what-isnt-there/
25•rbanffy•5d ago•1 comments

Addictive-like behavioural traits in pet dogs with extreme motivation for toys

https://www.nature.com/articles/s41598-025-18636-0
132•wallflower•6h ago•86 comments

Schleswig-Holstein completes migration to open source email

https://news.itsfoss.com/schleswig-holstein-email-system-migration/
295•sebastian_z•8h ago•93 comments

HP1345A (and wargames) (2017)

https://phk.freebsd.dk/hacks/Wargames/
28•rbanffy•3h ago•1 comments

How I'm using Helix editor

https://rushter.com/blog/helix-editor/
169•f311a•7h ago•49 comments

Loko Scheme: bare metal optimizing Scheme compiler

https://scheme.fail/
143•dTal•5d ago•14 comments

Nostr and ATProto (2024)

https://shreyanjain.net/2024/07/05/nostr-and-atproto.html
111•sph•13h ago•56 comments

Meta Superintelligence Labs' first paper is about RAG

https://paddedinputs.substack.com/p/meta-superintelligences-surprising
392•skadamat•23h ago•221 comments

After the AI boom: what might we be left with?

https://blog.robbowley.net/2025/10/12/after-the-ai-boom-what-might-we-be-left-with/
83•imasl42•3h ago•239 comments

Ridley Scott's Prometheus and Alien: Covenant – Contemporary Horror of AI (2020)

https://www.ejumpcut.org/archive/jc58.2018/AlpertAlienPrequels/index.html
50•measurablefunc•5h ago•37 comments

The Flummoxagon

https://n-e-r-v-o-u-s.com/blog/?p=9827
107•robinhouston•5d ago•24 comments
Open in hackernews

I audited 47 failed startups' codebases

https://old.reddit.com/r/Entrepreneur/comments/1o4jup6/i_audited_47_failed_startups_codebases_and_the/
48•dakial1•3h ago

Comments

sema4hacker•2h ago
I remember how in the days way before the Web, it seemed that companies of various sizes that wanted to "computerize" their operations either built their own homebrew systems from scratch with in-house programmers or consultants, or they bought packaged software systems (MRP for manufacturers, or a distribution package for wholesalers, retail package for brick and mortar, etc.), usually with options to customize.

But none of those systems were ready to support users on the Web, and suddenly lots of new client-server technology (and security) had to be implemented, often by programmers who never created those kinds of systems before. I think the result is often the kind of low quality software and projects the reddit article describes.

I'm somewhat surprised that "turnkey" packages for manufacturers/distributors/retailers haven't become more prevalent and dominating, like they seemed to be in the old days.

JumpCrisscross•2h ago
> not the "we ran out of money" fan, the "our product literally cannot scale and we have no idea why" fan

There may be sampling bias at play here. For every start-up struggling to scale I’ve seen twenty who architected a solution for a billion users before shipping (or getting paid for) anything. They are the ones who hit the “we ran out of money” fan.

Waiting until your code is broken is bad. I’d argue it’s worse to waste two weeks architecting a feature for 10,000 users before you even have 100.

rahimnathwani•2h ago
3NF and microservices FTW.
siva7•2h ago
I fell into this trap often enough even though i knew this anti-pattern. Doing a startup, you have to resist writing code like you would as a proud engineer. If the code is quick and dirty, you're doing it right.
JumpCrisscross•1h ago
> this trap

It’s a tough lesson every entrepreneur must learn.

And lest a non-technical type think they’re safe, it also manifests in perfectionism around document formatting, logos, product names, incorporation documents, strategic orthodoxy, et cetera.

bn-l•1h ago
How do I break out of this mindset????
JumpCrisscross•1h ago
> How do I break out of this mindset?

To the extent there is a single mindset, it’s in execution orientation more than the various deficiencies that interrupt it.

That said, the most common forms are procrastination and perfectionism. The former results in mis-prioritization, e.g. fucking with the font in your incorporation docs instead of making sales calls. The latter in task obsession, e.g. fucking with the wording in a sales message.

My demon was the former, so I can speak to it directly: pick up hobbies that force you to prioritize on the fly. For me, that’s been backcountry skiing, diving and flying. Except, of course, those are hobbies I picked up after my startup. The real answer is to find a co-founder (and/or team) who balances your patience setting.

bn-l•1h ago
Yes I really need someone to say “you’re still saving that yak? What the hell are you doing, I’ve lined up x customers already”. Like a non-technical partner who is good at sales and promotion. Absolutely no idea how to meet someone like that though.
j45•1h ago
Dirty is technical debt.

Quick and flexible often has a more favourable vector.

There's no such thing as perfectly engineered code. It has a shelf life and operating capacity just like one category of vehicle for another.

Aurornis•1h ago
There is either some sampling bias or some creative reinterpretation of history.

It’s rare that a startup acquires users so fast that their codebase becomes the bottleneck

Even if this does happen, it unlocks an easy path to investor money and you can spend your way into expensive engineers who will unlock the problem quickly for you.

JumpCrisscross•1h ago
> creative reinterpretation of history

Mis-labelling growing pains as failure would be one of them.

stingraycharles•47m ago
In similar vein: a lot of startups fail because they raise too much money too early, have unrealistic expectations, while instead they should have raised less against a lower valuation but have investors with realistic expectations.
anonu•1h ago
Not indexing your tables is a fireable offense.
shermantanktop•1h ago
If the startup tanks, the firing happens automatically.
overgard•1h ago
I don't know about his conclusion of "spend 2 weeks on architecture". If these people don't realize they need to index a database table, 2 weeks of talking about what they're going to do isn't going to help. This is 100% lack-of-experience, and it's why startups should hire more experienced people (and ideally, listen to them).
JumpCrisscross•1h ago
> This is 100% lack-of-experience, and it's why startups should hire more experienced people

But that’s fine. They demonstrated product-market fit. They’re now positioned to be able to afford experience.

Hiring an experienced scaling engineer before you have a hundred users might be about as dumb as spending two weeks architecting an MVP.

overgard•1h ago
The article is talking about timescales around 2 years out though. If you're hitting that point and you haven't fixed your engineering culture..
JumpCrisscross•1h ago
> If you're hitting that point and you haven't fixed your engineering culture

That’s also fine. They’re talking about “a team of 4.” Your priority with a four-person team should not be engineering culture other than getting shit shipped.

master_crab•1h ago
Meh. I’d like to see the codebase of the ones that survived. It may not be much different stats.

The perfect is the enemy of the good. There’s a balance between shipping code and cleaning house. As a startup that balance is weighted more towards slinging features.

But at least index your dbs.

_pdp_•1h ago
Can I add also doing micro services or loads of small serverless functions way too early. It will make your project 1000x more difficult to maintain and extend in the short term for no significant gain.

Build a monolith.

Break it up later once you have a proper engineering team.

leptons•1h ago
>doing micro services or loads of small serverless functions way too early

That hasn't been my experience at all. Your "1000x" claim is so far off the mark. In my experience it's maybe 1.001x more difficult, if not less difficult in so many ways.

I built my startup's tech stack on serverless functions and serverless database, and serverless storage, and it's been really very easy. I don't have any server that can go down, I don't have to worry about server maintenance, but I do have to worry about AWS removing older Lambda runtimes and needing to update my code to run on the new ones when necessary, which isn't all that often. But that's about it. It just runs, 24/7/365, and costs me practically nothing while building out the company. My total AWS bill for the last 2 years is about $0.40/month (less than $10 total for 2 years), and the product is mature and launching soon.

And the great thing is, this is built to scale from day 1. I don't have to worry about load balancers or bursts of traffic or anything that would bring a company down right as it's getting traction.

zanellato19•1h ago
You're claiming all of this without a product launch? If so, this doesn't seem like a counterpoint at all.
londons_explore•1h ago
I disagree with this approach.

In the first few months your product will change direction so fast any semblance of a sensible design you had will be long gone by the end of the first year.

Instead, whilst the team is small (ie. 3 devs or fewer), just kludge together everything. No good coding standards, no tests, just demo-day quality.

Then, when you get above 4 developers and the product direction is clear, rebuild everything from scratch.

Sounds like a waste, but rebuilding is far faster than doing it the first time, and you'll be able to have a sensible design rather than something that has already changed direction countless times. Now is also a good time to change programming languages away from something good for prototypes into something production ready and easy to hire developers for.

throwaway173738•1h ago
Seconding this. I would have a plan by month 6 for how to get past month 24 though and be iteratively laying the groundwork for it. You don’t need a scalable architecture from day 1, you just need to avoid painting yourself into corners.
hardwaregeek•1h ago
I’d agree before AI but it’s so easy to add tests with AI, you might as well. Same with types. You can have AI fix your type checker errors
pavel_lishin•1h ago
I feel like there's a decent middle-ground there, though. You don't have to sit down for two weeks and architect everything, but I feel like you should have indexes on your database columns.
stingraycharles•49m ago
Yeah, I personally like to think code quality doesn’t matter too much because you can refactor / rewrite fairly easily later. The same is not true for your data model: bad data will live with you forever and it’s much, much harder to refactor.
pavel_lishin•24m ago
Eh, you can migrate bad data to a better model, too - and you can write code in such a way that you paint yourself into a corner that makes rewrites, especially incremental rewrites, very difficult.

I just mostly think that all these issues are just people being bad at writing software, and that if you're bad enough at it, you can crater your business. If it's only a little bad, the business can limp along until you can rewrite it.

leptons•1h ago
I once worked at a startup where I was employee #1 doing full-stack. The CTO who hired me and 5 other developers wanted 100% test coverage from the start, and none of the details about his demands were discussed ahead of time. The rest of the tech workflow was so mired in bureaucracy and process that it was like swimming through mud. It was a disaster, we couldn't ship anything fast enough or at all, then the company pivoted, and then finally failed after about 8 months.
kwanbix•1h ago
Indexing your DB is a pretty basic thing to do, and one of the biggest offenders listed.
D13Fd•42m ago
100% agreed. Database indexing is no where near premature optimization. Failing to do it is more like going for a run without tying your shoes.
toast0•19m ago
It's pretty easy to run an alter table ... add index ...

If a team running a database can't or doesn't do that, when it's relevant, they don't know how to operate a database, or how to learn how to operate things. And they probably have no friends who know either.

That doesn't sound like a team where 'be sure to have an index on your DB' is going to be helpful.

Otoh, maybe they never bothered to add an index because they had no users, and unindexed queries were good enough while they developed their product that nobody wanted anyway. Table scans on 100,000 row tables aren't that slow when the whole table is in memory.

Adding indexes late isn't a huge deal. You add the index and things get faster and you go on with life. Worst case, you have to rebuild your table(s) so that indexes can apply... That could be a little rough, but probably not that rough until you have a lot of users; and if you have a lot of users, great!

asa400•54m ago
What languages would you start with, and what languages would you change to?
stingraycharles•50m ago
Whatever language you’re most comfortable with to ship the fastest with. Never ever learn a new language to start a startup. Learn a new language for the sake of learning it, but they’re two independent things.
zdw•47m ago
I disagree with this hot take.

Add the basic invocations for formatting, linting, testing, etc. can be boilerplate copied into a repo - maybe with a Makefile or similar that is somewhat language agnostic and can wrap anything.

Run these locally before commit, and have CI do it too. You'll get a baseline level of "not total garbage" in terms of automated checks, and even if there are no real tests, at least there's an obvious place to add them later.

rexreed•1h ago
One of the top comments (https://old.reddit.com/r/Entrepreneur/comments/1o4jup6/i_aud...):

"Step 1: Don't listen to anything OP said.

OP lies about going to Harvard. He thinks he can put it on his linkedin just because he did an 8 hour online course from HarvardX on basics of leadership.

So assuming OP didn't lie about his experiences in start-ups (he 100% did lie), his diagnosis of the issues make no sense.

Unindexed db is just pure incompetence so if this is your problem then you have many more things to worry about, like learning the basics of programming.

Automatic testing is not required in start-ups and often comes at much later stages.

Auth vulnerabilities by themselves would never fail a start-up. Only data leakages caused by them would. So it's a very weird point.

There is rarely such a thing as bad code, all the code written by other people is bad while all the code written by me is either perfect or I have an excuse. It's always like that. Saying you should "improve" your code so that the devs spend less time wrestling with it is an insane statement, beyond basic quality controls. Bad code is almost always code that does something in a way that unexpected new reqs were not accounted for. And you can't expect the unexpected.

Autoscaling servers is hard. It's always better to just get what you need and then some. Within reason of course. And then leave the actual deployment optimization to dev ops engineers that you can hire later.

The post is really nonsensical. If there is one thing you should learn, it's to recognize obvious slop and outright lies.

EDIT: Also OP most likely bought upvotes. Weekend numbers like this make no sense. Especially on such a low quality post. And his linkedin is a trove of obvious lies and misrepresentations, even sneakily claiming he founded a company with 80k customers, while in reality he worked for an already established company with 80k customers as a low level employee, and then wording his claim in such a way where he has plausible deniability.

"

Perhaps this post was a way to gain customers?

gosub100•1h ago
Yeah you have to be very skeptical of anything on Reddit anymore. It's beyond ripe for shill accounts and shill advertising. My first thought was he's low-key prompting people to DM him and hire him to save their crappy startup.

His account is 4 years old but hardly any comments. Definitely doesn't use reddit regularly.

nhinck2•1h ago
Of course it was. As are a lot of the blog posts posted here.

It doesn't automatically devalue the message.

kayo_20211030•1h ago
This is very glib. Hindsight is always 20/20 vision. No corpse appreciates the coroner explaining why they died. A patient prefers a doctor who prevents them moving from a patient to a corpse. A lot of startups have 3-6 months before they're dead. Stone dead! Architectural review sounds great, and it is, but the requirements change every day - they know what those requirements are right now; but later, even a day later, who knows? Can any company do a review before they know the "shape" of what they're trying to achieve? They have 3-6 months, and they need to ship. No startup has a reasonable chance of getting the architecture right unless the requirements for the product (a product that should generate income, and should pay the bills) are at least close. Testing? Test what? The product hasn't gelled. What are they testing? They're fumbling though. That reddit fella should cut them some slack at the funeral, and not dance on the grave. Ex post facto bs.
scotty79•43m ago
If a morbidly obese person dies then saying that maybe they should have eaten less is not really a case of 20/20 hindsight.

If you write a query but don't add an index for the fields in your WHERE ... I don't know what to tell you.

Stevvo•1h ago
"91% had no automated tests at all". I call bullshit. The rest is all plausible, but startups love test coverage. It doesn't help them scale, it just helps with maintainability which is a different problem.
dbg31415•1h ago
This happens when you have “technical” founders who don’t really know the tech, and a bunch of engineers who then have to report to that person.

When you hire senior people, expect them to tell you what you need to do. Not the other way around. Hire people who are smarter than you.

bdcravens•56m ago
One of the top comments, which was echoed by others: "I'm guessing here, but it would not surprise me if you would find the same patterns in succesfull startups as well.. Only they had the money coming in to rebuild sooner and hire more experienced engineers.."
scotty79•50m ago
> like 89% had zero database indexing.

This shocked me when I worked in a corp. Large team of quite good Java programmers and the database was severely lacking indexes. When I (hired as a frontend dev) pestered them about it and they finally added indexes they were pretty much glowing because suddenly everything took no time at all.

Indexes are the reason why databases exist. If you don't use them you might just as well use files directly.

danpalmer•43m ago
This really emphasises the Just Use Django (or Rails) advice.

Database indexing by default, check. Working, good, auth systems, check. Test framework, check.

> honestly just spend 2 weeks on architecture before writing code

This is true, or just import an existing architecture and stick to it. My previous company was all Django from day 1, and we mostly didn't have these issues. It's not a full replacement for thinking about architecture, but if you always think "where would Django put this" and do that (should it be in the form, the view, the model, etc), it'll get you a long way. Past the 24 months.

Does this work for all software? No obviously not. But even though most SaaS businesses will have a complicated non-web app sort of component, you can build that bit separately and keep it simple, while having the bulk of your accounts, billing, CRUD, etc, in a basic web app.

Importantly, there are very few frameworks that actually do this. Django, Rails, maybe Spring (I have no experience in that) do it, but composing a bunch of Node packages together is not a replacement, it never works that well. Flask, etc in the Python ecosystem are the same, every Flask app that gets big becomes a custom mess.