Programming Notes
Jan 29, 2026 · Jatin Khosla
1. Godbolt
Compiler explorer to explore the compiled version of source code in over 69 languages.
link ← https://godbolt.org
2. Computer Systems: A Programmer's Perspective
Computer Systems: A Programmer's Perspective provides a detailed look at how computer systems function, focusing on system-level programming in C and x86 assembly. This is a large thread covering the book materials, including 17 video lectures that will be added over time.
— @7etsuo on Twitter
YouTube Playlist: https://www.youtube.com/playlist?list=PLfVPl_AiRiJpLDkRfxqUH_9jmHLB-E4uz
3. C
A practical guide to programming in C.
link ← https://github.com/mcinglis/c-style
Advanced C: https://www.youtube.com/playlist?list=PL71Y0EmrppR0KyZvQWj63040UEzKQU7n8
4. CLang
Clang is an "LLVM native" C/C++/Objective-C compiler.
link ← https://clang.llvm.org/
Clang static analyser ← https://clang-analyzer.llvm.org/
Clang tidy ← https://clang.llvm.org/extra/clang-tidy/
5. Brew
To switch off anonymous analytics:
brew analytics off
6. Pyenv
To install multiple python versions on a MacOS, pyenv seems to work well, here is how:
#To install pyenv
brew install pyenv
#To list all available python versions
pyenv install -l
#To activate an environment globally
pyenv global <python_version>
#To activate an environment locally inside a folder
pyenv local <python_version>
7. Poetry
Dependency and package management for Python, thanks to Gopal for introducing it to me.
# To setup poetry in an existing repository
poetry init
# To add a dependency
poetry add <package_name>
# To activate a virtual environment
poetry shell
# To get information about virtual environment
poetry env info
8. Postgres - complex pattern matching
-- Case-sensitive regex
SELECT * FROM table_name
WHERE column_name ~ 'substring';
-- Case-insensitive regex
SELECT * FROM table_name
WHERE column_name ~* 'substring';