frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

First 12 Minutes of MTV [video]

https://www.youtube.com/watch?v=oVrEzH9gkZk
1•MilnerRoute•32s ago•0 comments

Tim Cook and Sundar Pichai are cowards

https://www.theverge.com/policy/859902/apple-google-run-by-cowards
7•mdhb•6m ago•0 comments

Pre-Commit Lint Checks: Vibe Coding's Kryptonite

https://www.getseer.dev/blogs/pre-commit-linting-vibe-coding
1•akshay326•7m ago•1 comments

Turso: The Next Evolution of SQLite

https://github.com/tursodatabase/turso
1•nateb2022•7m ago•0 comments

The Future of Stack Overflow

https://waspdev.com/articles/2026-01-09/the-future-of-stack-overflow
1•senfiaj•14m ago•0 comments

America is falling out of love with pizza

https://www.msn.com/en-us/money/companies/america-is-falling-out-of-love-with-pizza/ar-AA1Tziyh
1•jnord•16m ago•0 comments

The Abstraction Trap: Why Layers Are Lobotomizing Your Model

2•blas0•16m ago•0 comments

Tell HN: X changed its Iran flag emoji

2•michaeltimo•16m ago•1 comments

Italy Fines Cloudflare for Refusing to Filter Pirate Sites on Public 1.1.1.1 DNS

https://torrentfreak.com/italy-fines-cloudflare-e14-million-for-refusing-to-filter-pirate-sites-o...
2•jnord•16m ago•0 comments

Start your meetings at 5 minutes past

https://philipotoole.com/start-your-meetings-at-5-minutes-past/
1•otoolep•18m ago•0 comments

Nano-VLLM

https://huggingface.co/blog/zamal/introduction-to-nano-vllm
1•zansara•19m ago•0 comments

A Brief, Incomplete, and Mostly Wrong History of Programming Languages

http://james-iry.blogspot.com/2009/05/brief-incomplete-and-mostly-wrong.html
2•piinbinary•19m ago•0 comments

Show HN: Vect AI– Replace your marketing agency with autonomous agents

https://vect.pro/
3•MMAFRAZ•19m ago•0 comments

Show HN: I built an app that blocks social media until you read Quran daily

2•kalyfacloud•20m ago•0 comments

'Money mule' cases surge as criminals target young people on social media

https://www.theguardian.com/money/2025/dec/22/money-mule-cases-surge-as-criminals-target-young-pe...
3•PaulHoule•23m ago•0 comments

Personal Websites with a /now Page

https://nownownow.com/
2•susam•23m ago•0 comments

Ask HN: What useful skills can be learned through rote memorization?

1•blev•24m ago•1 comments

Mini SGLang

https://github.com/sgl-project/mini-sglang
1•zansara•24m ago•0 comments

Genetic inheritance for animals in Dwarf Fortress

https://old.reddit.com/r/dwarffortress/comments/1q8bagk/does_size_matter_lets_breed_colossal_rabb...
1•danso•25m ago•0 comments

How to Record on iPhone with Face Cam [video]

https://www.youtube.com/watch?v=Xzk0-AtH1ZU
1•admtal•25m ago•0 comments

When Will Robots Go Mainstream

https://colossus.com/article/when-will-robots-go-mainstream/
2•nickswalker•28m ago•0 comments

K8o5 decentralized universal search engine 1 HTML

https://k8o5.com
1•k8o5•30m ago•0 comments

Nominations for Words of the Year 2025

https://americandialect.org/nominations-for-words-of-the-year-2025/
2•mrzool•30m ago•1 comments

Show HN: Affordable Attack Surface Management tool for everyone

https://threat-surface.com
1•Frankbb•30m ago•0 comments

Trump says the United States will take Greenland the "easy way" or "hard way"

https://twitter.com/BRICSinfo/status/2009739940670660993
11•amrrs•31m ago•0 comments

Non-Traditional Profiling

https://www.mgaudet.ca/technical/2026/1/8/non-traditional-profiling
1•mgaudet•35m ago•0 comments

OpenAI is allowing 3rd-party coding agents to use Codex API keys

https://twitter.com/thdxr/status/2009742070471082006
3•vmg12•36m ago•0 comments

A lawsuit says Workday's AI shut out applicants over 40

https://san.com/cc/workday-hires-for-millions-a-lawsuit-seeking-plaintiffs-says-its-ai-shut-out-a...
14•SunshineTheCat•36m ago•0 comments

People in Brazil are living past 110 and scientists want to know why

https://www.sciencedaily.com/releases/2026/01/260107225527.htm
4•mmaia•38m ago•0 comments

WhatsApp Ate My RAM: 20MB →3GB (WTF Meta?) [video]

https://www.youtube.com/watch?v=1IkGgr6xCkQ
1•senfiaj•39m ago•0 comments
Open in hackernews

Mathematics for Computer Science (2018) [pdf]

https://courses.csail.mit.edu/6.042/spring18/mcs.pdf
357•vismit2000•15h ago

Comments

october8140•14h ago
I always see lists of like 100 MUST HAVE books for Computer Science. Is there like a top 5 must have books for Computer Science?
throw-qqqqq•13h ago
It’s very dependent on the type of work you end up doing IMO. Sort of like “which programming language should I learn?”. Not a great answer, I know..
bmez•12h ago
Given unlimited time, read all of them, learn all the languages. It will all help make you a better programmer in your preferred language. With limited time (as a normal being), start with the top 100 books. Any of them. The next will be simpler than the first...

I have an M.Sc. in Comp.Sci. Flicking through books like these, all the chapter titles resonate with courses, exams, and problems we solved. It also makes me realise I have probably forgotten more than I like to think.

On the other hand, bashing my head against graph theory and logic, has made me a much better programmer. Similarly, the hours spent in Van Roy and Haridi's fairly abstract and technically language-agnostic "Concepts, Techniques and Models of Computer Programming" made me primed to learn a lot of languages fast - because I had the primitives mastered.

pipes•12h ago
Not sure what your goal is, but If like me you don't have a computer science degree, and want to fill some gaps, this site is fantastic.

https://teachyourselfcs.com/

See the "still too much section". If you want the top two books they recommend if you don't have time for the rest.

Jhsto•12h ago
I got no particular book recommendation, but this book seems more about the numbers than relations -- maybe my PDF search is broken, but both 'type theory' and 'category theory' return 0 results. I would recommend to also look into those if you are interested in mathematics of computer science.
anthk•11h ago
Concrete Abstraction and next, SICP, both for Scheme. If you do these, you already understood most of the grounds of CS; learning another language will be a piece of cake.
mgaunard•11h ago
It's more useful to practice programming through projects. Then once you feel you're missing the knowledge for a particular problem you're trying to solve, read up about that one.
criddell•10h ago
Thats a little like saying if you want to learn mechanical engineering, fix things around your home and then do research when you get stumped.

Building a bunch of software projects probably isn’t a very efficient way of learning computer science. You might figure out things like big-O or A* on your own, but a more academic approach is going to take you further, faster.

mgaunard•10h ago
It's well established that practical project work is what works best at producing tangible results, and most institutions that aim to produce the best programmers focus on that.

I can understand this is not the approach preferred by academic types which is a strong community on hackernews.

Most people are more motivated to understand the theory because it helps them solve a practical problem, rather than theory for the sake of theory.

criddell•9h ago
I thought this thread was about computer science. Working on a programming project is related to computer science in the same way that welding together a shelf is related to mechanical engineering.
mgaunard•8h ago
An elitist view disconnected from reality.

Even something like game theory was only developed and earned nobel prizes because of its applications to making money in finance.

ghaff•8h ago
Being "handy" around the house (or even more advanced tinkering) and a mechanical engineering degree--maybe especially from a good school--are absolutely not the same thing.
criddell•7h ago
Totally agree! And being able to whip together a webapp for your church is absolutely not the same thing as computer science.

Computer scientists often program but not all programmers are computer scientists.

bee_rider•8h ago
That seems more like a necessary precondition, than a path to learning computer science. Like you will probably need to learn penmanship and multiplication tables before you get into real mathematics, but, that isn’t really mathematics.
roadside_picnic•2h ago
Projects are essential, but I've found there is a huge problem with your advice: you have no clue about the possible solution surface.

My advice to learners has been "try to learn as much about a topic as someone who has taken the subject in college and forgotten about it".

For example consider calculus: Someone who took calc 20 years ago and hasn't used it since will probably forget exactly how to compute most derivatives and integrals. But if someone mentions an optimization problem "we need to know when this curve peaks" or asks something involving finding the area under a curve, alarm bells should start ringing. They'll know this can be done, and likely go grab a calc book to refresh.

Another example I run across all the time, which is the opposite scenario: Survival analysis. I have been on countless teams where somebody needs to understand something like churn or the impact of a offering a discount that hasn't expired yet, etc. These are all classic survival analysis problems, yet most people are ignorant that this field of study even exists! Because of this I've seen so many times where people complain that "we'll have to wait months or years to see if these changes impact customer lifetime!" (note: if anyone out there is doing Churn or LTV analysis and aren't familiar with survival analysis, you are most certainly approaching it incorrectly).

I've seen a lot of people get frustrated with self study because they try to learn the material too well. If you aren't going to be using survival analysis soon, it's not really worth remembering all the details of how to implement a Kaplan Meier curve. But if you even have a vague sense of what problem this solves, when you encounter that problem in a project, you know where to go back to. Then you typically walk away with a much stronger sense of the subject then if you had studied it harder in the first place.

layer8•38m ago
Computer science is to programming what physics is to engineering. They are not the same thing. You can do some programming without knowing computer science, but a general knowledge of computer science will give you a much more solid foundation, and for some aspects is indispensable.
maqp•11h ago
Top 5 will never cover the field. Here's my top 10

* Brookshear and Brylow - Computer Science - An Overview

* Forta - Teach yourself SQL in 10 minutes

* Stallings - Computer Organization and Architecture

* Stallings - Operating Systems - Internals and Design Principles

* CLRS

* Kurose, Ross - Computer Networking - A Top Down Approach

* Sipser - Introduction to The Theory of Computation

* Stallings, Brown - Computer Security - Principles and Practice

* Aumasson - Serious Cryptography

* Russell, Norvig - Artificial Intelligence - A Modern Approach

And even this fails to cover programming languages. Python is the lingua franca of the field. Most past recommended books are getting outdated, but perhaps Matthes' Python Crash Course 3rd edition.

wlruys•10h ago
Just to add to this, I think John Levine's Linkers and Loaders is also a great reference.
commandlinefan•7h ago
> * Kurose, Ross - Computer Networking - A Top Down Approach

Over TCP/IP Illustrated?

rchiang•5h ago
I'd make the argument that TCP/IP Illustrated Volume 1 covers the details of TCP/IP in a very "packet and fields" oriented way. Volume 2 goes into a lot of the "data structures and implementation" way. That makes for a very good supplemental reference, but makes for a less than ideal introductory textbook on the subject of computer networking.

Kurose's book really does take the top-down approach from high level networking concepts through the application layer to the transport layer and downward. It provides just enough of the necessary details (here's a datagram with fields A and B) over a comprehensive list of all the details (here's every field, every field size, and a list of every field option).

rchiang•5h ago
I agree that five books won't ever cover every discipline withing Computer Science. Just providing an introductory book, a university-level textbook, and an expert/graduate-level reference for each discipline turns into a long list.

See if this blog post helps out with sorting through the various CS subjects: https://tolerablecoder.blogspot.com/2022/03/a-short-list-of-...

kenjackson•3h ago
SICP still deserves to be on such lists.

I also love Concrete Mathematics.

I prefer the Tanenbaum OS books over Stallings. In particular the design and implementation book, although it is more than a decade old now.

segmondy•8h ago
no, there's no such agreeable thing. everyone has their own idea. but if i was to recommend such today, i would say, go on a self discovery method and find your idea books for algorithms/algorithm analysis & data structure, automata theory, programming languages, operating systems & machine learning.
louthy•4h ago
TAOCP
eimrine•14h ago
I really love this book, it is hard af but I still can understand 1-2 pages of each paragraph. I have received some great insights, like the function is the endless lists of inputs and outputs, and some really great humour, such as all is not lost in mathematical notation. I really wish I can understand this book completely before I die.
bryanrasmussen•13h ago
>1-2 pages of each paragraph.

made me laugh, envisioning the book as written by Victor Hugo.

fuzztester•13h ago
"1-2 pages"

Simplifying: -1 pages.

eimrine•6h ago
Excuse me! I am a J programmer, we have right-to-left execution order.
endymion-light•13h ago
This is why I love Hackernews - I've literally been looking for this recently and now I get it as a full PDF.

Does anyone have recommendations for better screen readers?

eimrine•13h ago
Screen reader which is able to read PDF with Latex formulas? I will be surprised if this is possible at all. I can not even name most of the symbols from that formulae.
davepeck•7h ago
Give https://www.paper2audio.com/ a try; it is targeted at just this use case. It’s a Seattle-local startup.
goldenjm•4h ago
I'm the Paper2Audio founder and I'm thrilled to see you recommending us here. Paper2Audio specializes in narrating complex documents like research papers to you. It is free for personal use.

This PDF exceeds our page limit, so you would have to split it up. We're working on increasing our page limits.

layer8•26m ago
This is great! However, would it be possible to add dark mode support to the PDF view? Otherwise I have to manually follow along using Adobe Reader (which has a night mode), or separately convert PDFs to inverted-color versions. The latter is relatively straightforward, but having it integrated into the viewer would be much more convenient.
danielfalbo•12h ago
Context:

Thomson Leighton is the founder of Akamai

Lectures here: https://www.youtube.com/playlist?list=PLB7540DEDD482705B

One of the set of lectures on the internet I loved the most.

sylware•11h ago
akamai? Could they be more concerned with the various script kiddies and scanners using akamai (often linode) IPv4 ranges?

Please?

teshaq•28m ago
a couple of other resources:

- More recent lectures on MIT OCW https://ocw.mit.edu/courses/6-1200j-mathematics-for-computer...

- A well-paced course that follows the textbook and uses online videos done by another one of the authors (Albert Meyer) of the textbook: https://openlearninglibrary.mit.edu/courses/course-v1:OCW+6....

sylware•11h ago
It did not see the proof of the correctness of circular buffers? one consumer, one producer, parallel execution, 2 atomic pointers, one read pointer, one write pointer and the cycle bits.
PanoptesYC•11h ago
I've not worked through a large book of problems like this before. At risk of sounding silly, are there solutions to the sample problems? I've given a few a go but can't find the answers anywhere to check my work.
ktallett•11h ago
It is not a silly question at all, a companion book with working and answers makes perfect sense. Universities and academic institutions who create things like this were often very wary as they often reuse these questions in classes and alternate the same questions over a span of 5 years. As realistically to test a small module of a subject the actual amount of viable questions in that question pool is rather few.
ky3•5h ago
Such problems are a cakewalk for LLMs, you realize? Lots of didactic activities you could do with LLMs.
BeetleB•5h ago
I hate to be that guy, but ... frontier LLMs have gotten quite good at problems like these!

I recently was struggling with a linear algebra problem. It wanted me to prove X. If I used one route I could prove X. But then strangely enough, going another route, I disproved X!

I went to Gemini and asked how it could be so, and it pointed out flaws in my proof. Very helpful!

AstroBen•5h ago
I looked into this book before and without solutions it makes it much harder to use for self-study. Maybe LLMs do change that now but I'm not sure I'd trust their output if I were learning the topic

Susanna Epp's Discrete Mathematics With Applications is also a really good option

ky3•4h ago
The logical skills to evaluate the output of a LLM are the same skills brought to bear reading any book. What makes you trust this textbook then? Textbooks are not infallible.
AstroBen•4h ago
Good textbooks have gone through expert reviews and multiple iterations of improvement. That can't be said of an LLM answering your personalized questions or the book problem

But why not both?

sbondaryev•10h ago
I like this book. The probability section is great, especially how they handle the Monty Hall paradox. They use "four step method" that breaks it down perfectly - way clearer than the explanations you get in movies like 21 or numb3rs.
2b3a51•8h ago
I've discovered that the 2017 edition is available on print on demand in the UK via abebooks. I prefer paper for dipping into and working through bits and pieces.
noosphr•9h ago
Each section is quite standard in presentation which isn't a bad thing.

I love that each citation has back references to _all_ the places that it is cited from.

I wish more books did this.

generationP•7h ago
I found the choice of material quite nonstandard. And the writing is witty, full of MIT humor. It's a bit sad that the writing has stopped in 2018.
gsinclair•9h ago
This is a very valuable resource for me. Thanks for posting!
einpoklum•8h ago
I'm not such a fan of trying to cram everything-mathematically-relevant into a single huge book (and it is huge - 1048 pages).

Anyway, this reminds me of a rather different initiative in the same vein: The building of Mathematical principles based on the expediences of Computer Science: CONCRETE MATHEMATICS

by Donald Knuth, Ronald Graham and Oren Patashnik.

https://www-cs-faculty.stanford.edu/~knuth/gkp.html

https://en.wikipedia.org/wiki/Concrete_Mathematics

available on the Internet Archive: https://archive.org/download/concrete-mathematics/Concrete%2...

generationP•7h ago
Graham/Knuth/Patashnik is a lot less "basic discrete maths you're most likely to need" and a lot more "number sequences we've known and loved". Almost more useful for physicists due to the amount of summation fu you'll learn there.
svat•4h ago
The book Concrete Mathematics started as course notes for a class whose textbook initially was the (dense) "Mathematical Preliminaries" chapter of The Art of Computer Programming (Chapter 1 and roughly the first half of Volume 1), so it can be seen as an expanded and leisurely (and even more delightful, because of all the student jokes and other marginalia) version of that chapter. This is mathematics that Knuth needed for the rest of TAOCP.

So it's more "mathematics for the analysis of algorithms" (incidentally the title of another book by Greene and co-authored by Knuth), and so probably most applicable to the field of "AofA" rather than physics or computer science in general.

Lovely book, very few math books fill one with as much joy as this one.

kccqzy•5h ago
I took a look at the table of contents and found that the second chapter is about the well-ordering principle. That’s surprising to me because I’ve only heard of the well-ordering theorem by Zermelo, which is a fundamental theorem in set theory, stating that any set has a well-ordering assuming the axiom of choice. It’s amazing and mind-bending in its own right (imagine a well-ordering for reals), but is clearly not very relevant to computer science.

I find the well-ordering principle slightly bewildering. It seems to presuppose the existence of an ordering on natural numbers and then prove this principle. But I’ve never been taught things this way; you always construct the natural numbers from Peano and define the ordering first, then you can actually prove the well-ordering principle rather than leaving it as an axiom.

BeetleB•5h ago
The well ordering principle, the axiom of choice, and Zorn's Lemma are all "equivalent", meaning you can pick any one as an axiom and prove the other two.

So some text books may pick one as the axiom and others pick a different axiom.

The crazy thing about the well-ordering principle: It states that a well ordering exists on the reals, which means that you can find an ordering such that any open set has a minimum. Apparently, elsewhere in mathematics, they've proven that even though it exists, you cannot articulate that ordering.

There's a common joke:

"The Axiom of Choice is obviously true, the well-ordering principle obviously false, and who can tell about Zorn's lemma?"

kccqzy•4h ago
You are talking about the well-ordering theorem, not the similarly named well-ordering principle. That’s exactly my confusion when I first opened this PDF.
BeetleB•4h ago
Different folks use different conventions. When I was taught it, they called it the principle, not theorem. You can find similar comments on the Internet (e.g. math subreddit).

Here's one that acknowledges it:

https://math.stackexchange.com/questions/1837836/well-orderi...

> The "well-ordering principle" has (at least) two different meanings. The first meaning is just another name for the well-ordering theorem. The second meaning is the statement that the usual relation < on the set N is a well-ordering. This statement is equivalent to the statement that ordinary induction on the natural numbers works.

soseng•5h ago
Not to say it isn't useful to a CS education, but the only time I've ever ran into the well-ordering principle was to establish the foundation for mathematical induction proofs. Students usually learn this in discrete math for CS in undergrad. Then in many future undergrad courses that are algorithms focused, the proofs tend to use induction and no one really thinks of the WOP
kccqzy•4h ago
Yeah. I have had several different courses teach induction, and nobody really thinks of the WOP. I’m pretty sure most of them skips the WOP when introducing induction.
seanhunter•3h ago
I’ve seen it used when people show a proof of induction as a theorem. Sometimes they just take the technique of induction as given and don’t prove it.
ky3•4h ago
re: Chapter 15.8 on the so-called pigeonhole principle

Following Dijkstra’s EWD1094, here’s a way to solve the hairs-on-heads problem eschewing the language of pigeonholes and employing the fact that the mean is at most the maximum of a non-empty bag of numbers.

We are given that Boston has 500,000 non-bald people. The human head has at most 200,000 hairs. Show that there must be at least 3 people in Boston who have the same number of hairs on their head.

Each non-bald Bostonian must have a hair count between 1 and 200,000. The average number of such people per hair count is 500,000 / 200,000 = 2.5. The maximum is at least that; moreover, it must be a round number. So the maximum >= 3. QED.