
KZK's blog
Lead engineer
Socratic method 🔗 Clarifying your thinking. Why do I think this, What exactly do I think? Challenging assumptions Looking for evidences Considering alternative perspectives (What might others think? How do I know I am correct?) Examining consequences and implications ( What are the consequences if I am wrong?) Questioning the original questions (Why did I think that? was I correct?)
First principles is the principles we use to build understanding on top of them.
If we never learn to take something apart, test our assumptions about it and reconstruct it, we end up bound by what other people tell us, trapped in the ways things have always been done.
When the environment changes. we just continue as if things were the same, making costly mistakes along the way
There are two main techniques to establish first principles,
Today I just discovered that KeepassXC, can do something I used to be envying of my pals that have been using 1password. There is a functionality named Auto-Type, which will auto-fill the user and password for not just web pages but also for apps. You can check the manual to set it up ( https://keepassxc.org/docs/KeePassXC_UserGuide.html#_auto_type), I did change my global binding to be special hard to hit on other apps.
Setup of my Laptop Install brave browsers Install hammersponn with my configuration https://github.com/kozko2001/hammerspoon Install prezto (trying it out) (https://github.com/sorin-ionescu/prezto) install keepassxc + dropbox to sync the passwords. Install python with pyenv (check this post https://varrette.gforge.uni.lu/blog/2017/11/22/using-pyenv-virtualenv-direnv/) direnv load some specific environment variables for specific projects (like secrets) load specific environment for python or node, without having to use nvm or pyenv-virtualenv that are slooooow Espanso, an open source text expansion, follow this guide to install it https://espanso.
Github actions allow you to create workflows likes the one you can have in a ci/cd system Right now I have a couple of scripts that allow me to write using roam and publish to my blog. and a circle ci pipeline that bring that executes the script, and I wanted to check if I could do the same but using github actions.
You can go to one of your repositories, click in actions, and then in clic and then in setup workflow my self Now you will have the whole control to create your workflow in an editor!
DRAFT ! Goal: Able to extract the anki flashcards from own notes Definition of Success: Given I do some changes in my roam files And I add a new flashcard node When some time happens (1h) Then in my phone (ankiDroid) I have my new flashcard Highlevel: Download the markdowns Parse all the markdowns and find the cards Send the cards to anki somehow Anki highly personalizable software LOT, lot, loooot of addons makes it hard to understand how it actually works Research, how I can update anki from my server The oficial way to sync between different devices in anki is to use ankiweb, but ankiweb has no public api AnkiDroid, the app for anki in android, has a Droid API => 💡 create an app that gets the data from an s3 bucket or a server.
understanding and being honest about when we have and edge with the knowledge we have or where we have gaps. will improve our decision making process in our circle of competence we know exactly what we don’t know. we can make decisions fast and relatively accurate. we have ways multiple source of info we can tap the circle of competence is not static, you can not achieve it and then move to the next thing.
Weight decay is a way to make sure the models don’t overfit, how? easy, for a model to overfit, it has to have crazy values in the model…. I mean if all the values were small it would be really hard to create weird folds in space. So what if in the loss function we add a new term, this term will be the sum of all parameters in the model squared!
Shallow work -> ⬇️ value and easy to replicate, for example powerpoints presentation, reports etc… Deep work -> ⬆️ value and hard to replicate There is a new economy knowledge workers
high skilled workers -> fast learners superstar -> people who master a single skill -> specialists owners -> 💰 To master or learn fast, you need to focus.
Attention residue: when switching tasks -> how much your mind is still thinking in the old task -> We should minimize it