frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Why does C have the best file API

https://maurycyz.com/misc/c_files/
11•maurycyz•2h ago

Comments

FrankWilhoit•33m ago
A file API is not the same thing as a filesystem API. The holy grail is still a universal but high(-enough)-level filesystem API.
seba_dos1•9m ago
mmap is not a C feature, but POSIX. There are C platforms that don't provide mmap, and on those that do you can use mmap from other languages (there's mmap module in the Python's standard library, for example).
a-dub•3m ago
this.
mmastrac•4m ago
"best file API" and the man page for the O_ flags disagree.
srean•3m ago
> However, in other most languages, you have to read() in tiny chunks, parse, process, serialize and finally write() back to the disk. This works, but is verbose and needlessly limited

C has those too and am glad that they do. This is what allows one to do other things while the buffer gets filled, without the need for multithreading.

Yes easier standardized async interfaces would have been nice, not sure how well supported they are.

The World of Dreampolitik

https://novum.substack.com/p/the-world-of-dreampolitik
1•paulpauper•2m ago•0 comments

Anthropic and the Dow: Anthropic Responds

https://thezvi.substack.com/p/anthropic-and-the-dow-anthropic-responds
1•paulpauper•3m ago•0 comments

Show HN: PgQueuer – A PostgreSQL job queue that works without PostgreSQL

https://github.com/janbjorge/pgqueuer
1•jeeybee•4m ago•0 comments

Tools Say They Can Spot A.I. Fakes

https://www.nytimes.com/2026/02/25/technology/ai-detection-generated-photos-video.html
1•viewtransform•4m ago•1 comments

Are the Mysteries of Quantum Mechanics Beginning to Dissolve?

https://www.quantamagazine.org/are-the-mysteries-of-quantum-mechanics-beginning-to-dissolve-20260...
1•wjb3•8m ago•0 comments

Smart LED display lovers and enthusiasts

https://www.crowdsupply.com/meterbit-cybernetics/pixlpal
1•fustinus•9m ago•1 comments

The Colour of Production

https://lmika.org/2026/02/27/the-colour-of-production.html
1•captn3m0•9m ago•0 comments

Show HN: SwarmClaw – Orchestration dashboard for OpenClaw and AI agents

https://github.com/swarmclawai/swarmclaw
1•jamesweb•10m ago•0 comments

Securing Shell Execution Agents: From Validation to Custom DSLs

https://yortuc.com/posts/securing-shell-execution-agents/
1•xyortuc•11m ago•0 comments

Track your Claude Code ROI from the terminal

1•akshat2634•12m ago•0 comments

Kalshi voids some bets on Khamenei's ouster

https://www.theverge.com/tech/887210/kalshi-void-bets-khamenei-death
1•us321•12m ago•1 comments

Khamenei Trade

https://www.businessinsider.com/khamenei-prediction-markets-kalshi-polymarket-insider-trading-out...
1•us321•13m ago•0 comments

Brain, Think on Thyself

https://knowablemagazine.org/content/article/mind/2026/science-of-self-awareness-and-decision-making
3•wjb3•13m ago•0 comments

Ask HN: What's the best way to learn how Claude Code/codex works?

1•tabs_or_spaces•13m ago•0 comments

Scientists train human brain cells on a microchip to play Doom

https://www.dexerto.com/gaming/scientists-train-human-brain-cells-on-a-chip-to-play-doom-3326709/
2•Anon84•15m ago•0 comments

Show HN: A local AI news aggregator built with Vue 3, FastAPI, and Ollama

https://github.com/fanitarantsopoulou/ai-news-aggregator
2•ftarants•16m ago•1 comments

Show HN: Nopp – AI-generated interactive sales microwebsites

https://notpptx.com
2•rob-blaga•16m ago•0 comments

Show HN: Lightweight, S3-compatible object storage server with built-in web dash

https://github.com/eniz1806/VaultS3
2•open_source_new•16m ago•0 comments

Pentium 4 – 5GHz overclocked (2003) [video]

https://www.youtube.com/watch?v=z0jQZxH7NgM
1•st_goliath•17m ago•0 comments

MemVector: Local Vector API, Storage and Embedding Engine for PHP

https://github.com/memvector/ext-memvector
1•bruceduk•17m ago•0 comments

AI that makes life or death decisions should be interpretable

https://manidoraisamy.com/ai-interpretable.html
5•QueensGambit•19m ago•0 comments

Proposal: Built-in secret management for Claude Code

https://github.com/anthropics/claude-code/issues/29910
1•bicx•22m ago•1 comments

A girls' elementary school was hit in Iran

https://www.cnn.com/2026/03/01/world/video/osint-investigation-iran-minab-girls-school-iran-us-is...
6•simonebrunozzi•22m ago•2 comments

Ask HN: How to approach new people in 2026?

1•tavro•22m ago•0 comments

HN: JournalistDB – A searchable database of journalists and their contact info

https://journalistdb.com/
1•veritas9•24m ago•1 comments

An offline-first blog built on WASM, WebSockets, and SQLite

https://robida.net/entries/2026/01/28/having-fun-with-modern-web-apis
1•halicarnassus•25m ago•0 comments

I benchmarked 10 Claude.md profiles across 1,188 runs – empty won every time

https://techloom.it/blog/claudemd-benchmark-results.html
1•jchilcher•25m ago•0 comments

Why Are Chinese EVs So Cheap?

https://rhg.com/research/why-are-chinese-evs-so-cheap/
1•gmays•27m ago•0 comments

JWT Studio – Your local tokens, organized

https://github.com/MiguelRipoll23/jwt-studio
2•PhilDunphy23•27m ago•0 comments

Infinite Battery Cargo (Repairable Battery Pack)

https://infinite-battery.com/products/infinite-battery-cargo-48v
1•cuu508•27m ago•0 comments