Advanced Search
Search Results
219 total results found
Being a CTO
Being a CTO is interesting and is probably different in every company. It is also a role that changes and transforms with the size of a company. My journey as a CTO since 2016 has been very interesting and challenging in different dimensions. Resources for...
LangChain and Zephyr
Zephyr is pretty powerful and it will quite happily use tools if you prompt it correctly. Zephyr uses the following prompt template (as explained here): <|system|> </s> <|user|> {prompt}</s> <|assistant|> The system prompt is defined, followed by a use...
My GTD Workflow
GTD and Todoist I'm using Todoist to manage my todos. I've found a few resources online have been useful for getting my head around how to operate on a weekly basis. The official GTD website provides a Weekly Review Checklist template which is kind of n...
Model Registry
A model registry is a service that provides version-control-like behaviour for ML models. There are a number of open source and commercial model registries. MLFlow MLFlow is an open source model registry that provides a bunch of features including model vers...
Embeddings and Llama.cpp
SQLite VSS - Lightweight Vector DB SQLite VSS is a SQLite extension that adds vector search on top of SQLite. It's based on FAISS1 There are some examples of how to use Pure SQLite VSS on the blog post here LangChain You can use SQLite VSS with Langcha...
PyLLMCore
PyLLMCore is a python library for working with a variety of LLM models and it supports both OpenAI and Local models. Setup on Linux Install the llama-cpp-python library first so that you can ensure that the nvidia dependencies are all pre-configured. CMAKE_...
Logseq HTTP API
LogSeq provides a HTTP API for developing plugins. The documentation is not particularly intuitive to get used to. Enabling the API 1. Turn on Dev Mode + API You need to turn on developer mode within Logseq via the settings menu: Go into the advance se...
Stable Diffusion
Web UI API Run the web UI with: ./webui.sh --api Example Python Script import webuiapi # create API client api = webuiapi.WebUIApi() # create API client with custom host, port #api = webuiapi.WebUIApi(host='127.0.0.1', port=7860) # create A...
Data Lakehouse
A data lake house combines together the best bits of data warehouses and data lakes. Data Lakehouses could be seen as the natural convergence of the two architectures (see https://cloud.google.com/blog/products/data-analytics/data-lake-and-data-warehouse-c...
The Copying Task
The Copying Task is a benchmarking task in NLP that assesses recurrent models (and other sequential models)' ability to retain information for long sequence lengths. Before transformers, RNNs like LSTM or GRU suffered from the vanishing gradient problem which ...
Personal Annual Review Process
Many PKM and TFT experts advocate an annual review of your life and goals and whilst January 1st is a bit arbitrary, it still seems like as good a time as any to do some self-reflection. Taking the time to perform an annual review is the most effective way ...
SQLAlchemy and MySQL
Install dependencies for SQLalchemy and MySQL: pip install sqlalchemy pymysql python-dotenv Set up a .env file containing your DB creds: SQL_HOST=localhost SQL_PASSWORD=blahblah SQL_USER=readonly SQL_DB=my_database_name Once you have set up your...
Bulk Unsubscribe from Jira
If you find yourself in a position where you are receiving a huge number of jira notifications you might want to bulk unsubscribe from jira notifications. I was responsible for a huge import of tickets so I ended up getting notified every time anyone does anyt...
Django and PostgreSQL
When working with Django and PostgreSQL it is typically best to use the psycopg[binary] package: pip install psycopg[binary] Migrating From Integer to Duration If you need to migrate from an integer to a duration column you need to manually tell Postgres wh...
Deploying Django Apps
Packaging a Django App in Docker I wrote a blog about packaging django apps up for shipping in docker. Check Utility Use the manage.py check command to ensure that your site is ready for prod usage. Resources Deploy A Site Live - Matt Layman (mirror)
Node Version Management
Volta is a modern NodeJS runtime and tooling manager similar to NVM. An advantage of Volta over nvm is that it can store metadata about the running version of node in a package.json file an install the correct version of node. Install specific tools and runti...
Joplin
Joplin Joplin is a PKM system with feature sets similar to Evernote, Notion and OneNote. Joplin Blogging Workflow The mami tool allows you to export notes from joplin and format them for hugo and other similar static site tools.
Weekly Review
A weekly review provides an opportunity to celebrate your wins, commiserate your losses and plan your next move. Almost all PKM authors advocate weekly reviews of some description. What Should I Review? During a weekly review you should revisit the past week...