
Enjoy To Code is about the art of software development. AI, Machine Learning, Data Science, Cyber Security. insta: @enjoytocode
Amsterdam, London, San Fransisco
Joined July 2017
- Tweets658
- Following1.8K
- Followers254
- Likes349
Enjoy To Code retweeted
DISCRETE MATHEMATICS
Download it (3rd Edition): discrete.openmathbooks.org/p…
-or-
Buy it (updated 4th Edition): amzn.to/46dwXR7
-or-
Read it online…⤵️
A fantastic textbook "Discrete Mathematics: An Open Introduction" (3rd edition) by Oscar Levin (2025) is now in @ChapterPal's collection.
The book Introduces fundamental concepts in discrete mathematics through interactive problems in counting, sequences, symbolic logic, and graph theory.
The book has 120 figures and 510 exercises, most of which are interactive with feedback.
Read the book with an AI tutor: chapterpal.com/book/1cd4b139…
Chapter 0: Introduction and Preliminaries
## 0.1 What is Discrete Mathematics?
## 0.2 Mathematical Statements
### Atomic and Molecular Statements
### Implications
### Exercises
## 0.3 Sets
### Notation
### Relationships Between Sets
## 0.4 Functions
### Describing Functions
### Image and Inverse Image
Chapter 1: Counting
## 1.1 Additive and Multiplicative Principles
### Principle of Inclusion/Exclusion
### Exercises
### Subsets
### Bit Strings
### Lattice Paths
### Binomial Coefficients
### Pascal’s Triangle
### Exercises
## 1.3 Combinations and Permutations
## 1.4 Combinatorial Proofs
### Patterns in Pascal’s Triangle
### Exercises
## 1.6 Advanced Counting Using PIE
## 1.7 Chapter Summary
### Chapter Review
Chapter 2: Sequences
## 2.1 Describing Sequences
### Sums of Arithmetic and Geometric Sequences
## 2.3 Polynomial Fitting
## 2.4 Solving Recurrence Relations
## 2.5 Induction
### Stamps
### Formalizing Proofs
### Examples
### Strong Induction
### Exercises
### Chapter Review
Chapter 3: Symbolic Logic and Proofs
## 3.1 Propositional Logic
### Truth Tables
## 3.2 Proofs
### Direct Proof
### Proof by Contrapositive
### Proof by Contradiction
### Proof by (counter) Example
### Exercises
## 3.3 Chapter Summary
### Chapter Review
Chapter 4: Graph Theory
### Named Graphs.
### Graph Theory Definitions.
### Exercises
### Properties of Trees
### Rooted Trees
### Non-planar Graphs
### Polyhedra
### Exercises
### Coloring in General
### Coloring Edges
### Exercises
### Hamilton Paths
## 4.6 Matching in Bipartite Graphs
## 4.7 Chapter Summary
### Chapter Review
Chapter 5: Additional Topics
## 5.1 Generating Functions
### Differencing
## 5.2 Introduction to Number Theory
### Divisibility
### Remainder Classes
### Properties of Congruence
### Solving Linear Diophantine Equations
Sharing the love on the cover of omarchy.org with all the amazing YouTubers who've helped blow up Quattro! Many thanks to @NetworkChuck, @typecraft_dev, @stevenharms, and @AlexFinn 🙏
The full interview with @NetworkChuck is now on YouTube! I might have gotten a little.. excited.. about Linux and Omarchy in this one 😂 youtube.com/watch?v=_CuibYl_…
This is the best video intro I've ever seen on Omarchy! My exuberance spilling into visuals, @NetworkChuck guiding you through the system, and ending with a prayer 🙏
I think I'm finally making the switch.....and I think you should too. (@dhh convinced me)
-----> this....just might be....the YEAR OF THE LINUX DESKTOP!!
🚨 NEW VIDEO (LINK BELOW) 🚨
THE ANNOUNCEMENT: We’re going to make the prophecy of The Year of Linux on the Desktop come true. All the pieces are now in place. Time to go all in! omarchy.org/news/2026/08/oma…
Enjoy To Code retweeted
Structure and Interpretation of Computer Programs
by Harold Abelson and Gerald Jay Sussman with Julie Sussman
PDF: upload.wikimedia.org/wikiped…
FFmpeg was on the @lexfridman podcast!
youtu.be/nepKKz-MzFM?si=OyXT…
Enjoy To Code retweeted
"Competitive Programmer’s Handbook"
This book of ~300 pages covers 30 important topics. A MUST for tech interviews.
Download for FREE → cses.fi/book/book.pdf
Enjoy To Code retweeted
Collection of agent use cases
github.com/hesamsheikh/aweso…
Enjoy To Code retweeted
This 277-page PDF unlocks the secrets of Large Language Models.
Here's what's inside: 🧵
Enjoy To Code retweeted
Machine Learning from Stanford - by Andrew Ng
Stanford University has kept the complete lecture notes of its CS229 course 💯 FREE.
Download from here → cs229.stanford.edu/main_note…
Enjoy To Code retweeted
MIT offers 12 Books on AI & ML (FREE TO DOWNLOAD):
1. Foundations of Machine Learning
cs.nyu.edu/~mohri/mlbook/
2. Understanding Deep Learning
udlbook.github.io/udlbook/
3. Algorithms for ML
algorithmsbook.com
4. Reinforcement Learning
andrew.cmu.edu/course/10-703…
5. Introduction to Machine Learning Systems
mlsysbook.ai/book/assets/dow…
6. Deep Learning
deeplearningbook.org
7. Distributional Reinforcement Learning
direct.mit.edu/books/oa-mono…
8. Multi Agent Reinforcement Learning
marl-book.com
9. Agents in the Long Game of AI
direct.mit.edu/books/oa-mono…
10. Fairness and Machine Learning
fairmlbook.org
11. Probabilistic Machine Learning
❯ Part 1 : probml.github.io/pml-book/bo…
❯ Part 2 : probml.github.io/pml-book/bo…
Enjoy To Code retweeted
Entertaining Mathematical Puzzles
by Martin Gardner
PDF: abrarhashmi.wordpress.com/wp…
Enjoy To Code retweeted
The real problem of C++ - Klaus Iglberger - Meeting C++ 2025
youtube.com/watch?v=QmNkbUgA…
#cpp
#cplusplus
Enjoy To Code retweeted
Carmack is awesome
John Carmack on what he admires about Elon Musk
Programming legend John Carmack is asked about his relationship with Elon Musk, to which he replies:
“In some ways we have a similar background. We’re almost exactly the same age, have backgrounds programming personal computers, and have even read similar books that have turned us into the people we are today.”
John first met Elon when he was building Armadillo Aerospace. Elon visited Armadillo with his right-hand propulsion guy, and the three of them talked about rockets.
“I think in many corners [Elon] does not get the respect he should for being a wealthy person who could just retire,” John says. “He went all-in, and he could’ve gone bust. There’s plenty of athletes or entertainers who had all the money in the world and blew it. [Elon] could’ve been the business case example of that with the things he was doing: space exploration, electrification of transportation, and Solar City type things. These are big, world-level things. And I have a great deal of admiration that he was willing to throw himself so completely into that.”
John contrasts this with the way he approached his own aerospace company:
“I was doing Armadillo Aerospace in this tightly-bounded way. It was ‘John’s crazy money’ at the time that had a finite limit on it. It was never going to impact me or my family if it completely failed, and I was still hedging my bets working at id Software at a time when [Elon] had been really all-in. I have a huge amount of respect for that.”
It also irritates John when people call Elon “just a business guy”:
“Elon was deeply involved in a lot of the [technical] decisions. Not all of them were perfect, but he cared very much about engine material selection and propellant selection. For years he’d be telling me to ‘Get off that hydrogen peroxide stuff. Liquid oxygen is the only proper oxidizer for this.’ And the times that I’ve gone through the factories with him, we talked about very detailed things like how this weld is made or how this subassembly goes together. He’s really in there a very detailed level . . . I worry a lot that he’s stretched too thin. He’s got the Boring Company and Neuralink and Twitter too whereas I know I have limits on how much I can pay attention to.”
John continues:
“I look back at my aerospace side of things, and I’m like, ‘I did not go all-in on that.’ I did not commit myself at a level that it would’ve taken to be successful there. And it’s a weird thing having a discussion with him. He’s the richest man in the world right now, but he operates on a level that is still very much in my wheelhouse on the technical side of things.”
Video source: @lexfridman (2022)
Enjoy To Code retweeted
Our assembly lessons are trending on @github !
We have nearly 10k stars.
FFmpeg makes extensive use of hand-written assembly code for huge (10-50x) speed increases and so we are providing assembly lessons to teach a new generation of assembly language programmers.
Learn more here:
github.com/FFmpeg/asm-lesson…
Enjoy To Code retweeted
[Download 698-page PDF eBook]
Everything You Always Wanted To Know About #Mathematics*
(*But didn’t even know to ask)
A Guided Journey Into the World of Abstract Mathematics, Theorems, and the Writing of Proofs: math.cmu.edu/~jmackey/151_12…
Enjoy To Code retweeted
Stanford's ALL FREE Courses [2024 & 2025]
❯ CS230 - Deep Learning
❯ CS234 - Reinforcement Learning
❯ CS236 - Deep Generative Models
❯ CME295 - Transformers & LLMs
❯ CS336 - Language Model from Scratch
❯ CS224N - NLP with DL
Find links inside:
Enjoy To Code retweeted
The @karpathy interview
0:00:00 – AGI is still a decade away
0:30:33 – LLM cognitive deficits
0:40:53 – RL is terrible
0:50:26 – How do humans learn?
1:07:13 – AGI will blend into 2% GDP growth
1:18:24 – ASI
1:33:38 – Evolution of intelligence & culture
1:43:43 - Why self driving took so long
1:57:08 - Future of education
Look up Dwarkesh Podcast on YouTube, Apple Podcasts, Spotify, etc. Enjoy!
Enjoy To Code retweeted
I recently learned about Cayley transforms.
Similar to how you can parameterize a 3x3 rotation matrix by 3 Euler angles or a 4 element quaternion, Cayley transforms allow you to parameterize an N dimensional rotation matrix with just N*(N-1)/2 unique values in a skew-symmetric matrix, saving more than half the parameters and guaranteeing that the matrix will always be orthogonal.
Unfortunately, the transformation involves a linalg.solv() or pinverse(), so it gets slow with thousands of dimensions.
Still, I am happy to have this in my mental toolbox now!
en.wikipedia.org/wiki/Cayley…
































