Advanced Search
Search Results
219 total results found
Atomic Habits and Incremental Improvement
For personal development, prevailing wisdom seems to be that rather than setting big lofty goals for ourselves, we should make small incremental improvements and commit to small behavioral changes that we can develop into healthy habits. Set Priorities Ryan ...
Flipping the Bozo Bit
Flipping the bozo bit on someone is a mental trap/antipattern/shortcut whereby we assume the person is a bozo. This could mean that you assume all of their opinions are useless going forward and/or that you treat them like an idiot. This is an expression I fi...
BigQuery Working with Array Structures
On a companies table where you can have multiple websites per company: SELECT * FROM project_namespace.dataset.companies as companies, UNNEST (companies.websites) as website LIMIT 1000 The above would produce a flattened table structur...
Availability
As tempting as it is, there is no need to be always available to others via instant messenger. Always being available s bad for your mental health and productivity and sets poor expectations for others.https://dailystoic.com/you-dont-need-to-be-so-reachable/
Zellij
Zellij is a Golang terminal workspace + multiplexer - its a bit like tmux on steroids Featured in charm interview https://www.youtube.com/watch?v=mnp9LCUdtJw
Dell XPS 13 9305
I had one as my daily driver at work from late 2020 to late 2023. I was so pleased with it I bought one for home/personal use too. Dell no longer make this laptop. Managing and Limiting Battery I used dell-charge-limit to automatically stop chargin...
Angle Brackets (Greater Than, Less Than) show as upside down question and exclaimation marks
This is an issue when <> render incorrectly, it can look very weird. Check your encoding According to this post (mirror), it could be as simple as not using the correct encoding and can be remedied with the correct package being included in the document: \u...
RSync
RSync is a FOSS file copying/syncing tool that has a number of uses and can be used to sync via SSH. Preserving User Permission in Rync https://brainsteam.co.uk/2024/01/03/migrating-users-across-servers-with-rsync/ Syncing with Non-Standard SSH Ports It...
Installing Airflow Locally
Install Script # Airflow needs a home. `~/airflow` is the default, but you can put it # somewhere else if you prefer (optional) export AIRFLOW_HOME=~/airflow # Install Airflow using the constraints file AIRFLOW_VERSION=2.5.3 PYTHON_VERSION="$(python --...
TriggerDAGRunOperator
You can use wait_for_completion=True and it will detect whether the dag passed or failed. If you have a cleanup function make sure that it marks the upstream task as failed as appropriate. for task_instance in kwargs['dag_run'].get_task_instances(): ...
Handling non-string DAG parameters
You may need to pass a dag parameter to an operator using templates - however, it may be important that this is the right data type (e.g. bool). By default all template values are stringified. You can override this by passing render_template_as_native_obj=Tru...
Proton Mail Bridge
Proton Mail Bridge is a tool that allows end users of Proton Mail to send and receive email using traditional protocols (i.e. SMTP and IMAP). It can be installed and run on a desktop machine but there is an unofficial docker image which you can use to run it ...
La Rentrée
La Rentrée scholaire - literally french for "the return to school" describes a mood or vibe for reinvention and new thinking. I first encountered this description here.
CLI Development
Simon Willison has some really interesting/useful advice for building command lines (mirror). I took a copy of his cookie cutter template and put it here
ML Introduction
Welcome to my Machine Learning and AI notebook. 🧱 AI and ML Fundamentals AI Best Practices - some thoughts and principles that I've built up during my career building data projects. Learning with Limited Data - thinking around AI Causing Chaos - a compi...
Local LLMs
LLM Utility I'm a big fan of Simon Willison's llm package. It works nicely with llama-cpp. Installing llm I didn't get on well with pipx in this use case so I used conda to create a virtual environments for LLM and then installed it in there. Since I have ...
Story Mapping
Resources https://www.easyagile.com/blog/the-ultimate-guide-to-user-story-maps/#what-is-user-story-mapping
Data Loading with Airbyte
Airbyte is a FOSS tool for mass data import and export when working with common flavours of SQL and OLAP databases.