frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Go ahead, write the “stupid” code

https://spikepuppet.io/posts/write-the-stupid-code/
19•spikepuppet•1h ago

Comments

ForOldHack•7m ago
I get more done by writing the stupid code, and fixing it, than junking the old code... but every now and then I can see clearly a structure for a rewrite, and then I rewrite, but its rare.
anon-3988•5m ago
I feel like people should be writing stupid code, and in the case where its a compiled language, we should ask compiler or the language for better optimization. The other day, I was writing a check of a struct that have certain structures (protobuf probably have something like this)

struct S { int a; int b; int c; int d; int e; /* about 15 more members */ }

so I wrote

const auto match_a = s.a == 10; const auto match_b = s.c == 20; const auto match_c = s.e == 30; /* about 15 more of these */ if (match_a && match_b && match_c) { return -1; }

Turns out compilers (I think because of the language) totally shit the bed at this. It generates a chain of 20 if-else instead of a mask using SIMD or whatever. I KNOW this is possible, so I asked an LLM, it was able to produce said code that uses SIMD.

Show HN: MyLocalAI now has Google Search – Local AI with web access

https://github.com/mylocalaichat/mylocalai
1•ravi9884•13s ago•0 comments

Ask HN: Does Google Search's Verbatim mode no longer work for you?

1•frmersdog•1m ago•0 comments

TeraMD: A complete Markdown parser in ~1100 lines of Python

https://github.com/obround/teramd
2•iguana2000•3m ago•0 comments

Design, development, and field evaluation of a robotic strawberry harvester

https://www.sciencedirect.com/science/article/pii/S0168169925007902
2•PaulHoule•11m ago•0 comments

Imagination as General Intelligence: Reconciling Consciousness and Free Will

https://zenodo.org/records/17109096
1•SCAQTony•11m ago•1 comments

Making Florida More Flood Resistant Is Forcing Hard Choices for Homeowners

https://www.nytimes.com/2025/09/27/us/making-florida-more-flood-resistant-is-forcing-hard-choices...
1•lxm•12m ago•0 comments

Use the Accept Header to Serve Markdown Instead of HTML to LLMs

https://www.skeptrune.com/posts/use-the-accept-header-to-serve-markdown-instead-of-html-to-llms/
3•hahnbee•13m ago•1 comments

Autism may be the price of human intelligence, linked to human brain evolution

https://academic.oup.com/mbe/article/42/9/msaf189/8245036?login=false
2•ivewonyoung•14m ago•0 comments

The Bitter Lesson's Bitter Lesson

https://twitter.com/iamtrask/status/1972167087037808995
2•williamtrask•14m ago•0 comments

Making dance music with code [video]

https://www.youtube.com/shorts/5OYiOGxHxTQ
1•illwrks•15m ago•1 comments

The complete guide to Go net/HTTP timeouts (2016)

https://blog.cloudflare.com/the-complete-guide-to-golang-net-http-timeouts/
1•porjo•20m ago•0 comments

Monoio: High perf io_uring async runtime

https://github.com/bytedance/monoio/blob/master/docs/en/benchmark.md
2•michalsustr•21m ago•1 comments

The Most Innovative Countries

https://www.economist.com/graphic-detail/2025/09/19/the-worlds-most-innovative-countries
1•andsoitis•23m ago•0 comments

The Infinite Subway Paradox

https://www.infinitelymore.xyz/p/infinite-subway-paradox
1•FillMaths•24m ago•1 comments

Cloudflare Post-Quantum TLS

https://blog.cloudflare.com/automatically-secure/
2•dsykes•26m ago•1 comments

How to Make the Most of Your Mid-Twenties?

2•teminal•27m ago•1 comments

Musk vs. Kierkegaard: Why Wake Up

https://deepsub.substack.com/p/musk-v-kierkegaard-why-wake-up
2•dsubburam•33m ago•0 comments

Library of Babel

https://libraryofbabel.info/
1•ibobev•33m ago•0 comments

AI Assisted Intraday Stock Scalping Tool

https://github.com/raghavan/SnapScalp
2•raghavankl•36m ago•0 comments

Climate Policy Uncertainty and Sovereign Credit Risk: A Multivariate Analysis

https://www.mdpi.com/2227-9091/13/9/181
1•rntn•36m ago•0 comments

LLMs Are Bad Judges. So Use Our Classifier Instead

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=5331811
2•lordgrenville•38m ago•0 comments

Global IPv4 Market

https://auctions.ipv4.global/
1•typpilol•42m ago•2 comments

Show HN: Run agents locally, share them globally, collect feedback instantly

https://syngularai.com
3•sauercrowd•43m ago•0 comments

Arweave: Pay-once, permanent decentralized storage

https://arweave.org/
1•CGMthrowaway•49m ago•0 comments

Software testing videos shared with Software Design and Development students

https://hachyderm.io/@inthehands/112239054564819974
2•sohkamyung•56m ago•0 comments

Buffett indicator says stock market overvalued

https://www.cnbc.com/2025/09/28/buffett-indicator-stock-market-overvalued.html
14•kristianp•57m ago•3 comments

Why Microsoft Has Lower Borrowing Costs Than the U.S.

https://www.wsj.com/finance/investing/why-microsoft-has-lower-borrowing-costs-than-the-u-s-de841633
5•doener•59m ago•0 comments

Build your own internal vibe coding tool?

https://blog.cloudflare.com/deploy-your-own-ai-vibe-coding-platform/
1•J24D•1h ago•0 comments

Show HN: The Point Poker – A Free, Gamified Online Planning Poker Tool

https://www.thepointpoker.com/
1•karnoldf•1h ago•0 comments

X tells ChatGPT and Claude no – only Grok eats

https://x.com/robots.txt
2•amazonhut•1h ago•0 comments