frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Neomacs: Rewriting the Emacs display engine in Rust with GPU rendering via wgpu

https://github.com/eval-exec/neomacs
1•evalexec•2m ago•0 comments

Show HN: Moli P2P – An ephemeral, serverless image gallery (Rust and WebRTC)

https://moli-green.is/
1•ShinyaKoyano•6m ago•0 comments

How I grow my X presence?

https://www.reddit.com/r/GrowthHacking/s/UEc8pAl61b
1•m00dy•8m ago•0 comments

What's the cost of the most expensive Super Bowl ad slot?

https://ballparkguess.com/?id=5b98b1d3-5887-47b9-8a92-43be2ced674b
1•bkls•9m ago•0 comments

What if you just did a startup instead?

https://alexaraki.substack.com/p/what-if-you-just-did-a-startup
1•okaywriting•15m ago•0 comments

Hacking up your own shell completion (2020)

https://www.feltrac.co/environment/2020/01/18/build-your-own-shell-completion.html
1•todsacerdoti•18m ago•0 comments

Show HN: Gorse 0.5 – Open-source recommender system with visual workflow editor

https://github.com/gorse-io/gorse
1•zhenghaoz•19m ago•0 comments

GLM-OCR: Accurate × Fast × Comprehensive

https://github.com/zai-org/GLM-OCR
1•ms7892•20m ago•0 comments

Local Agent Bench: Test 11 small LLMs on tool-calling judgment, on CPU, no GPU

https://github.com/MikeVeerman/tool-calling-benchmark
1•MikeVeerman•21m ago•0 comments

Show HN: AboutMyProject – A public log for developer proof-of-work

https://aboutmyproject.com/
1•Raiplus•21m ago•0 comments

Expertise, AI and Work of Future [video]

https://www.youtube.com/watch?v=wsxWl9iT1XU
1•indiantinker•21m ago•0 comments

So Long to Cheap Books You Could Fit in Your Pocket

https://www.nytimes.com/2026/02/06/books/mass-market-paperback-books.html
3•pseudolus•22m ago•1 comments

PID Controller

https://en.wikipedia.org/wiki/Proportional%E2%80%93integral%E2%80%93derivative_controller
1•tosh•26m ago•0 comments

SpaceX Rocket Generates 100GW of Power, or 20% of US Electricity

https://twitter.com/AlecStapp/status/2019932764515234159
2•bkls•26m ago•0 comments

Kubernetes MCP Server

https://github.com/yindia/rootcause
1•yindia•27m ago•0 comments

I Built a Movie Recommendation Agent to Solve Movie Nights with My Wife

https://rokn.io/posts/building-movie-recommendation-agent
4•roknovosel•27m ago•0 comments

What were the first animals? The fierce sponge–jelly battle that just won't end

https://www.nature.com/articles/d41586-026-00238-z
2•beardyw•36m ago•0 comments

Sidestepping Evaluation Awareness and Anticipating Misalignment

https://alignment.openai.com/prod-evals/
1•taubek•36m ago•0 comments

OldMapsOnline

https://www.oldmapsonline.org/en
1•surprisetalk•38m ago•0 comments

What It's Like to Be a Worm

https://www.asimov.press/p/sentience
2•surprisetalk•38m ago•0 comments

Don't go to physics grad school and other cautionary tales

https://scottlocklin.wordpress.com/2025/12/19/dont-go-to-physics-grad-school-and-other-cautionary...
2•surprisetalk•38m ago•0 comments

Lawyer sets new standard for abuse of AI; judge tosses case

https://arstechnica.com/tech-policy/2026/02/randomly-quoting-ray-bradbury-did-not-save-lawyer-fro...
5•pseudolus•39m ago•0 comments

AI anxiety batters software execs, costing them combined $62B: report

https://nypost.com/2026/02/04/business/ai-anxiety-batters-software-execs-costing-them-62b-report/
1•1vuio0pswjnm7•39m ago•0 comments

Bogus Pipeline

https://en.wikipedia.org/wiki/Bogus_pipeline
1•doener•40m ago•0 comments

Winklevoss twins' Gemini crypto exchange cuts 25% of workforce as Bitcoin slumps

https://nypost.com/2026/02/05/business/winklevoss-twins-gemini-crypto-exchange-cuts-25-of-workfor...
2•1vuio0pswjnm7•41m ago•0 comments

How AI Is Reshaping Human Reasoning and the Rise of Cognitive Surrender

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6097646
3•obscurette•41m ago•0 comments

Cycling in France

https://www.sheldonbrown.com/org/france-sheldon.html
2•jackhalford•42m ago•0 comments

Ask HN: What breaks in cross-border healthcare coordination?

1•abhay1633•43m ago•0 comments

Show HN: Simple – a bytecode VM and language stack I built with AI

https://github.com/JJLDonley/Simple
2•tangjiehao•45m ago•0 comments

Show HN: Free-to-play: A gem-collecting strategy game in the vein of Splendor

https://caratria.com/
1•jonrosner•46m ago•1 comments
Open in hackernews

Show HN: The Little Book of C

https://github.com/little-book-of/c
37•tamnd•4mo ago

Comments

omoikane•4mo ago
There is a bug in this example:

    char ch;
    while ((ch = fgetc(in)) != EOF) {
        fputc(ch, out);
    }
https://little-book-of.github.io/c/books/en-US/book.html#exa...

The return type of fgetc() is `int` and not `char`. This example will not differentiate between end-of-file in input versus reading 0xff. 82.7 appears to be the only example with this issue, all other places with fgetc correctly uses `int`.

----

I found another section with lots of syntax errors, for example:

    int x = 10;
    int *p = &x;
    int pp = &p;   // Should be int **pp
https://little-book-of.github.io/c/books/en-US/book.html#add...

Most likely because the two asterisks needed for pointer-to-pointer isn't rendering properly.

anonnon•4mo ago
> The return type of fgetc() is `int` and not `char`. This example will not differentiate between end-of-file in input versus reading 0xff

Be aware that character literals in c, e.g., 'f' or 'A', have type int for probably this reason. From the ANSI C89 spec:

> An integer character constant has type int. The value of an integer character constant containing a single character that maps into a member of the basic execution character set is the numerical value of the representation of the mapped character interpreted as an integer.

However, in C++, they have type char.

tamnd•4mo ago
I have fixed some bugs here: https://github.com/little-book-of/c/pull/4

Let me carefully review all the code snippets, create tests, and integrate them into the CI/CD pipeline to make sure everything is correct.

tamnd•4mo ago
My next step is to extract all the code into the "src/" folder and set up proper CI/CD to test everything.

Could you help create some GitHub issues? I will fix them in my free time next weekend.

reader9274•4mo ago
If the "little" book is 461 pages, I can't wait to see the big book.
taminka•4mo ago
fr that's like the size of full C spec lol
userbinator•4mo ago
For comparison, the "gold standard" of K&R is roughly 200 pages.
tamnd•4mo ago
I'm planning to create a 10-page cheatsheet for fast learners, and I'd like to shorten the book to around 150–200 pages.
indianmouse•4mo ago
Nice effort. Good to see 'C'!
teiferer•4mo ago
LLM output to get clicks. Yeah, really nice effort.

/s

tamnd•4mo ago
I use Go for my professional work, but it feels great to "C" again!
user982•4mo ago
Nobody finds it at all questionable that this submitter has "authored" around a dozen such books in 30 days?
ForceBru•4mo ago
Yeah, 15 different "Little books of..." here: https://github.com/orgs/little-book-of/repositories. Seems LLM-assisted.

This post about neural networks is from the "Math" book: https://news.ycombinator.com/item?id=45434678.

teiferer•4mo ago
And many of them have the same "citation" to the math one by a Duc-Tam Nguyen, which they then didn't bother to adjust the title of.

I'd vote for flagging this submission. It's just AI slop.

teiferer•4mo ago
I wonder if those LICENSE files in such repositories even mean anything in the world of LLM created stuff/slop/crap.

There is no obvious authorship attached to this "Little book" which is a tell-tale sign since anybody investing time into actually writing such a book would surely like to claim authorship.

tamnd•4mo ago
So you assume that writing those books takes little time? Just some "prompt magic," and boom, a book appears?
teiferer•4mo ago
Yes, that's what I think. Considering the number of "little books" you (assuming it was you) published in the last weeks, it's a reasonable view, don't you think?
tamnd•4mo ago
It's just me and my operating system called Emacs, with no editor and no publisher. With the help of LLMs, I can finally share some of my notes and ideas with the world.
schmorptron•4mo ago
Oh wow, I would not have caught that. I had a look at the first couple of pages, and as not-a-C-expert, it looked pretty solid to me. Readjusting our heuristics to generated slop (or even non-slop?) is gonna take so much more energy than before.

Although I've also been thinking about the overall role of effort in products, art, or any output really. Necessary effort to produce something is / was at least some indicator of quality that means that the author spent a certain amount of time with the material, and probably didn't want to release something bad if it meant they had to put a certain threshold of effort in anyways. With that gone, of course some people are gonna get their productivity enhanced and use this tool to make even better things, more often. But having to expend even more engery as a consumer to find out whether something is worth it is incredibly hard.

tamnd•4mo ago
Because all the content is taken from my personal notes (with more to come on building a search engine, vector database, and graph database in C and Go), in the last step I used an LLM for editing and fixing grammar and formulas (typing LaTeX by hand takes a lot of time). If you find the content to be just AI slop, I'm sorry for taking your time.
avocad•4mo ago
Thanks for noticing!
tamnd•4mo ago
I've been preparing these notes for 20 years, and now it's finally time to put them online. Please judge them by their content, not by whether they were "LLM-assisted" or not. All the books are licensed under CC-BY-SA, and I intend to keep sharing more with the community free of charge. If you find any errors, please open an issue or submit a pull request, and I'm happy to fix them. https://github.com/little-book-of/c/pull/4 (for examples, this one) I know many of these books still need polishing (fixing bugs, improving wording, etc.), but I'm glad that some people already find them helpful. It really saddens me when people dismiss the project as just "AI slop." I've poured a lot of time and care into it.
teiferer•4mo ago
How much is CC-BY-SA worth if nobody knows how much of the content fell out of an LLM?

> I've been preparing these notes for 20 years, and now it's finally time to put them online.

As much as I would like to believe that, there are too many red flags at this point and you have given little indication that it's true. If you really are an expert in all the fields of your little books, it should be easy for you to provide references/credentials?

No, that's not gatekeeping, as in this day and age, those things become more and more important to be able to separate the sea of slop from the real deal.

chrisbrandow•4mo ago
This reads like one of the clearest intros to C that I have seen in a long time. Feels approachable the whole way through.
tamnd•4mo ago
Thanks for your kind words! They really encourage me to share more. Please be aware that there might still be some bugs, so feel free to create issues or pull requests!
jmclnx•4mo ago
I do not get this ? Why is this flagged ?

I agree in flagging in the cases I have seen, but flagging a C book seems very odd.

tamnd•4mo ago
Because of some LLM editing and the help of "AI policies," some people call this book "AI slop." I admit that I used an LLM for editing, and this book still needs heavy editing and a thorough review to fix all the bugs in the code. But I wanted to share it early to see if anyone is still interested in C before I move on to reviewing the list of exercises and preparing for several upcoming projects: building a search engine, a vector database, and a columnar database from scratch in C.

This book is open source, open for contributions, and completely free of charge, and anyone with a GitHub account can contribute.