This thread may prove helpful for someone wanting to study some topic in Computer Science on their own if it becomes well populated.<p>What are some of the best materials (courses, books, notes, video talks, etc) on any CS/programming topic that you have gone through or know of?<p>Also mention a bit about why it is useful.
The Stanford cryptography class (<a href="http://crypto.stanford.edu/~dabo/cs255/" rel="nofollow">http://crypto.stanford.edu/~dabo/cs255/</a>) and associated book (<a href="https://crypto.stanford.edu/~dabo/cryptobook/BonehShoup_0_4.pdf" rel="nofollow">https://crypto.stanford.edu/~dabo/cryptobook/BonehShoup_0_4....</a>) is almost everything you'd ever want to know about cryptography. If you really like that and want to see the frontiers of cryptography research, the next (and last!) class is <a href="https://crypto.stanford.edu/cs355/23sp/;" rel="nofollow">https://crypto.stanford.edu/cs355/23sp/;</a> alternatively, there's a security class (<a href="https://cs155.stanford.edu/" rel="nofollow">https://cs155.stanford.edu/</a>) more focused on industry and application.<p>Pro tip: nearly every instance of both these classes is available online (all the way back to 1998!), so if something's not making sense, you can always go back and see if it was explained differently in a prior iteration of the class.
<a href="https://teachyourselfcs.com" rel="nofollow">https://teachyourselfcs.com</a> . I have read few books from the list and found it to be comprehensive as well as manageable. The courses and books have been selected so that one can study it outside of regular university course. Books are self contained and full with exercises. It can easily take 1-2 years of serious effort to get through the material.
I have learned a tremendous amount about Linux and DNS and general computing from Julia Evans' zines and her blog. She's also a big fan of "programming playgrounds" [0] or interactive teaching tools.<p>[0] <a href="https://jvns.ca/blog/2023/04/17/a-list-of-programming-playgrounds/" rel="nofollow">https://jvns.ca/blog/2023/04/17/a-list-of-programming-playgr...</a>
Lots of great suggestions here.<p>I'll throw out a recommendation for <i>The Little</i> series of books (e.g., <i>The Little Schemer</i>, <i>The Seasoned Schemer</i>, <i>The Reasoned Schemer</i>, <i>The Little Typer</i>, etc.)<p>The first book is all you need to grok recursion. You can just toss a copy at any student who struggles with it.<p>The second book ends with some really non-trivial CS stuff.<p>They're fantastic examples of the power of good pedagogy to explain interesting and difficult concepts normally relegated to drier texts.
Base your studies on Teach Yourself CS. If you finish one item from each of their courses you will be more knowledgeable than even many CS graduates. If you could finish every book and video series they recommend for each course you would be reasonably well prepared for amateur research.<p><a href="https://teachyourselfcs.com/" rel="nofollow">https://teachyourselfcs.com/</a>
The quintessential 0 to 1 CS course with amazing teacher and tools to get you started. Also has marked tests to help you learn.<p><a href="https://cs50.harvard.edu/x/2023/" rel="nofollow">https://cs50.harvard.edu/x/2023/</a>
From Nand to Tetris: Build a Modern Computer from First Principles
<a href="https://www.coursera.org/learn/build-a-computer" rel="nofollow">https://www.coursera.org/learn/build-a-computer</a><p>Phenomenal look at different systems involved in a computer, and has you build simple versions of logic gates, ALU, assembler, compiler, bootloader, and graphics engine. Highly recommend for folks who didn't study CS in school.
I was looking at some stuff by Fogus and discovered:<p><a href="https://github.com/fogus/papers-i-love">https://github.com/fogus/papers-i-love</a><p>Really good resource for a bunch of important papers.<p>There's also some good information for compilers on github<p><a href="https://github.com/aalhour/awesome-compilers">https://github.com/aalhour/awesome-compilers</a>
The MIT's missing semester class (<a href="https://missing.csail.mit.edu" rel="nofollow">https://missing.csail.mit.edu</a>). For me, it has filled many gaps in my self-teaching journey. I don't have a CS degree.
Surprised to see these introductory courses haven't been mentioned yet.<p>These courses [0] [1] are on EdX and are taught by UBC Professor Gregor Kiczales. The explanations are so lucid it made recursion click for me. You can audit these courses without paying a single dime. They are based on the book How to Design Programs [2] which has much more stuff than the courses.This book is used in UBC, UWaterloo, NorthEastern and many other places.<p>Along the same lines there is another book for beginners called A Data-Centric Introduction to Computing [3]. It is used in Brown for their introductory courses.<p>[0] <a href="https://www.edx.org/course/how-to-code-simple-data" rel="nofollow">https://www.edx.org/course/how-to-code-simple-data</a><p>[1] <a href="https://www.edx.org/course/how-to-code-complex-data" rel="nofollow">https://www.edx.org/course/how-to-code-complex-data</a><p>[2] <a href="https://htdp.org/" rel="nofollow">https://htdp.org/</a><p>[3] <a href="https://dcic-world.org/" rel="nofollow">https://dcic-world.org/</a>
Some Coursera courses I have found to be good:<p>- Stanford algorithms specialization: <a href="https://coursera.org/specializations/algorithms" rel="nofollow">https://coursera.org/specializations/algorithms</a><p>- University of Melbourne Discrete Optimization: <a href="https://coursera.org/learn/discrete-optimization" rel="nofollow">https://coursera.org/learn/discrete-optimization</a><p>- Basic Modeling for Discrete Optimization: <a href="https://coursera.org/learn/basic-modeling" rel="nofollow">https://coursera.org/learn/basic-modeling</a><p>- Advanced Modeling for Discrete Optimization: <a href="https://coursera.org/learn/advanced-modeling" rel="nofollow">https://coursera.org/learn/advanced-modeling</a><p>Crafting Interpreters book mentioned elsewhere also very good.
All of Beej's writing is very informational. I especially enjoyed his guide to C, although his guide to network programming is more well known.<p><a href="https://beej.us/guide/" rel="nofollow">https://beej.us/guide/</a>
teachyourselfcs is a perfect recommendation as it doesn't include a ton of links thus resulting in analysis paralysis.<p><a href="https://www.notion.so/wdesert/Curated-Resources-e37b0646f3f14a7aa32d092bd7a71ce0#63c015ac73904f5d91d80e2b0df3ffd8" rel="nofollow">https://www.notion.so/wdesert/Curated-Resources-e37b0646f3f1...</a><p>This is a list I maintain for myself. It's more about general software development and is not as structured and focused as teachyourselfcs, but you mind find something useful in it
<a href="https://fullstackopen.com/en/" rel="nofollow">https://fullstackopen.com/en/</a><p>Full Stack Open, a free course by University of Helsinki, is very good on quickly teaching the core concepts for modern frontend and backend in the JS ecosystem. Such a good primer on React and the rest of the things, CI/CD, DB, backend API, auth, etc. involved in fullstack development.
If you ever decide to build a search engine, these are good resources.<p>Search Engines Information Retrieval in Practice<p>Croft, Metzler & Strohman (2015)<p><a href="https://ciir.cs.umass.edu/irbook/" rel="nofollow">https://ciir.cs.umass.edu/irbook/</a><p>--<p>Introduction to Information Retrieval<p>Manning, Raghavan & Schütze (2008)<p><a href="https://nlp.stanford.edu/IR-book/html/htmledition/irbook.html" rel="nofollow">https://nlp.stanford.edu/IR-book/html/htmledition/irbook.htm...</a><p>--<p>The Anatomy of a Large-Scale Hypertextual Web Search Engine<p>Page & Brin (2000)<p><a href="http://infolab.stanford.edu/~backrub/google.html" rel="nofollow">http://infolab.stanford.edu/~backrub/google.html</a><p>--<p>Information Retreival<p>Rijsbergen (1979)<p><a href="https://www.dcs.gla.ac.uk/Keith/Preface.html" rel="nofollow">https://www.dcs.gla.ac.uk/Keith/Preface.html</a>
While it may not be the _best_ this book is available from the author online.<p>Elaine Rich's textbook "Automata, Computability and Complexity: Theory & Applications" <a href="https://www.cs.utexas.edu/~ear/cs341/automatabook/index.html" rel="nofollow">https://www.cs.utexas.edu/~ear/cs341/automatabook/index.html</a><p>Useful because it covers non-deterministic Turing Machines complexity classes like BPP,ZPP,RP,etc.. that you would run into Monte Carlo methods etc. As the only Non-deterministic Turing machine most people have been introduced to is the maximally lucky guesser from NP's definition it can help with practical solutions.<p>Unfortunately it doesn't have bounded-error quantum polynomial time (BQP) which would help set expectations for quantum supremacy.
The digital design and computer architecture course from Onur Mutlu is amazing: <a href="https://www.youtube.com/playlist?list=PL5Q2soXY2Zi-EImKxYYY1SZuGiOAOBKaf">https://www.youtube.com/playlist?list=PL5Q2soXY2Zi-EImKxYYY1...</a>
A catalogue/search engine for university courses in computer science, math, and several other subjects that is available publicly:<p><a href="https://collegecompendium.org/" rel="nofollow">https://collegecompendium.org/</a>
Here's a pretty good website that gives direction on the path to competence/mastery for various domains of software development.<p><a href="https://roadmap.sh/" rel="nofollow">https://roadmap.sh/</a>
Neural Networks: Zero to Hero, by Andrej Karpathy [0].<p>[0] <a href="https://www.youtube.com/playlist?list=PLAqhIrjkxbuWI23v9cThsA9GvCAUhRvKZ">https://www.youtube.com/playlist?list=PLAqhIrjkxbuWI23v9cThs...</a>
This repository contains hundreds of resources for implementing complex systems from scratch <a href="https://github.com/codecrafters-io/build-your-own-x">https://github.com/codecrafters-io/build-your-own-x</a>
<a href="https://platform.intervee.io/" rel="nofollow">https://platform.intervee.io/</a><p>Provides <i>practical</i> challenges with guidance for graduates in various subjects including Linux, Network, Security, and more..<p>Computer Science can sometimes be theoretical and learning from practical example is a must.
I'm maintaining the following list of freely available books and articles about computer science, programming, math, and physics:
<a href="https://github.com/bobeff/programming-math-science">https://github.com/bobeff/programming-math-science</a>
On CodeCrafters.io (YC S22), you can learn to build your own Git, Docker, Redis etc — in any programming language.<p>It’s a great way to grok a variety of system design principles while getting to master a language of your choice
I collected a large number of awesome resources for myself:<p><a href="https://github.com/kirillbobyrev/computer-science-resources">https://github.com/kirillbobyrev/computer-science-resources</a>
<a href="https://www.csunplugged.org/en/" rel="nofollow">https://www.csunplugged.org/en/</a> is pretty nice for computational thinking
# Programming<p>"A Data-Centric
Introduction to Computing"<p><a href="https://dcic-world.org/" rel="nofollow">https://dcic-world.org/</a><p># Programming Language Theory<p>"Programming Languages: Application and Interpretation"<p><a href="https://www.plai.org/" rel="nofollow">https://www.plai.org/</a><p>"Crafting Interpreters"<p><a href="https://craftinginterpreters.com/" rel="nofollow">https://craftinginterpreters.com/</a><p># Algorithms/Data Structures<p>* Pure C *<p>"Algorithmic Thinking: A Problem-Based Introduction"<p><a href="https://nostarch.com/algorithmic-thinking-2nd-edition" rel="nofollow">https://nostarch.com/algorithmic-thinking-2nd-edition</a><p># Competitive Programming/Interviews<p>"Competitive Programming book, 4th edition (CP4)"<p><a href="https://cpbook.net/" rel="nofollow">https://cpbook.net/</a><p>"Elements of Programming Interviews in Python"<p><a href="http://elementsofprogramminginterviews.com/" rel="nofollow">http://elementsofprogramminginterviews.com/</a><p># Compilation<p>"Essentials of Compilation: An Incremental Approach in Python"<p><a href="https://github.com/IUCompilerCourse/Essentials-of-Compilation/releases/tag/python-MIT-press">https://github.com/IUCompilerCourse/Essentials-of-Compilatio...</a><p># Database Systems<p>"CMU: Intro to Database Systems"<p><a href="https://15445.courses.cs.cmu.edu/" rel="nofollow">https://15445.courses.cs.cmu.edu/</a><p>"CMU: Advanced Database Systems"<p><a href="https://15721.courses.cs.cmu.edu/" rel="nofollow">https://15721.courses.cs.cmu.edu/</a><p># Calculus I/II & Real Analysis<p>"A Course in Calculus and Real Analysis"<p><a href="https://link.springer.com/book/10.1007/978-3-030-01400-1" rel="nofollow">https://link.springer.com/book/10.1007/978-3-030-01400-1</a><p>"A Course in Multivariable Calculus and Analysis"<p><a href="https://link.springer.com/book/10.1007/978-1-4419-1621-1" rel="nofollow">https://link.springer.com/book/10.1007/978-1-4419-1621-1</a><p># Physics<p>"Matter and Interactions"<p><a href="https://matterandinteractions.org/" rel="nofollow">https://matterandinteractions.org/</a><p># Linear Algebra & ML<p>* A Series of books by prof. Joe Suzuki without using any external library for the implementations *<p>"Statistical Learning with Math and Python"<p><a href="https://link.springer.com/book/10.1007/978-981-15-7877-9" rel="nofollow">https://link.springer.com/book/10.1007/978-981-15-7877-9</a><p>"Sparse Estimation with Math and Python"<p><a href="https://link.springer.com/book/10.1007/978-981-16-1438-5" rel="nofollow">https://link.springer.com/book/10.1007/978-981-16-1438-5</a><p>"Kernel Methods for Machine Learning with Math and Python"<p><a href="https://link.springer.com/book/10.1007/978-981-19-0401-1" rel="nofollow">https://link.springer.com/book/10.1007/978-981-19-0401-1</a><p># Discrete Mathematics<p>"CMU 21-228 Discrete Mathematics (prof. Poh-Shen Loh"<p><a href="https://www.math.cmu.edu/~ploh/2021-228.shtml" rel="nofollow">https://www.math.cmu.edu/~ploh/2021-228.shtml</a><p># Mathematical Logic<p>"Mathematical Logic Through Python"<p><a href="https://www.logicthrupython.org/" rel="nofollow">https://www.logicthrupython.org/</a><p># CS Complexity and Theory:<p>Courses by Ryan O'Donnell at CMU<p><a href="http://www.cs.cmu.edu/~odonnell/" rel="nofollow">http://www.cs.cmu.edu/~odonnell/</a><p># Cryptography<p>"Serious Cryptography: A Practical Introduction to Modern Encryption"<p><a href="https://nostarch.com/seriouscrypto" rel="nofollow">https://nostarch.com/seriouscrypto</a><p># Problem Solving<p>"Math 235: Mathematical Problem Solving"<p><a href="https://www.cip.ifi.lmu.de/~grinberg/t/20f" rel="nofollow">https://www.cip.ifi.lmu.de/~grinberg/t/20f</a><p># Computer Graphics<p>* Also look up the course by @pikuma for a pure c impl without OpenGL *<p>"Computer Graphics from Scratch: A Programmer's Introduction to 3D Rendering"<p><a href="https://gabrielgambetta.com/computer-graphics-from-scratch/" rel="nofollow">https://gabrielgambetta.com/computer-graphics-from-scratch/</a><p>"The Ray Tracer Challenge
A Test-Driven Guide to Your First 3D Renderer"<p><a href="https://pragprog.com/titles/jbtracer/the-ray-tracer-challenge/" rel="nofollow">https://pragprog.com/titles/jbtracer/the-ray-tracer-challeng...</a><p># Reverse Engineering<p>"Reverse Engineering for Beginners"<p><a href="https://beginners.re/" rel="nofollow">https://beginners.re/</a><p># SAT/SMT<p>"SAT/SMT by Example"<p><a href="https://sat-smt.codes/" rel="nofollow">https://sat-smt.codes/</a><p>Also Hakan Kjellerstrand's z3 page:<p><a href="http://www.hakank.org/z3/" rel="nofollow">http://www.hakank.org/z3/</a><p># Game Engine Development<p>* 2/4 volumes out (no digital format for the 2 pending volumes due to the authors "piracy" concerns *<p>"Foundations of Game Engine Development"<p><a href="https://foundationsofgameenginedev.com/" rel="nofollow">https://foundationsofgameenginedev.com/</a><p># Creative Coding<p>"Generative Design: Visualize, Program, and Create with JavaScript in p5.js"<p><a href="http://www.generative-gestaltung.de/2/" rel="nofollow">http://www.generative-gestaltung.de/2/</a><p>Articles by Tyler Hobbs specially the one on "Flow Fields" :<p><a href="https://tylerxhobbs.com/essays/2020/flow-fields" rel="nofollow">https://tylerxhobbs.com/essays/2020/flow-fields</a><p>Articles by Sighack specially the one on "Watercolor Techniques":<p><a href="https://sighack.com/post/generative-watercolor-in-processing" rel="nofollow">https://sighack.com/post/generative-watercolor-in-processing</a>
this isn’t nearly as comprehensive, but Michael Collins’ notes on machine learning for NLP are really succinct and IMO intuitive<p><a href="http://www.cs.columbia.edu/~mcollins/" rel="nofollow">http://www.cs.columbia.edu/~mcollins/</a><p>(search for notes, where he’s listed links to pdfs he uses in classes)