Advanced Search
Search Results
156 total results found
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...
Introduction to Migrating from Linear to JIRA
Why would you want to migrate from Linear to JIRA? At our company we started to realise that we needed more of Jira's heavy duty features that Linear doesn't provide. Mainly things like burn-down charts and estimation tools. We also wanted to take better adva...
Exporting Issues from Linear
The first step we need to take is to export our issues from linear. The easiest way to do this is from Linear's UI. You'll want to Log into Linear and click on your profile pic in the top left and then select Settings. On the next page, click "Import/Expo...
AI Causing Chaos
So much AI turns out to be low-waged people in a call center in the Global South pretending to be robots that Indian techies have a joke about it: “AI stands for ‘absent Indian’” - Cory Doctorow I am collecting examples of AI fails by people who either de...
Learning with Limited Data
Good machine learning is heavily dependent on good data. A few more good data-points is likely to be worth billions of model parameters. However, sometimes we need to train models when data is limited. There are a number of strategies that we can try. Zero-S...
DeBERTa Zero Shot
The DeBERTa zero-shot model is an NLP zero-shot classifier trained by Moritz Laurer and made publically available on HuggingFace
Mental Health Primer
May I have the serenity to accept the things I cannot change,the courage to change the things I can,and the wisdom to know the difference I am an anxious person and I partially attribute my success, drive and tenacity to my anxiety.
Design Frameworks
Design frameworks provide out of the box styling and components for use in websites. Many frameworks sit on top of Javascript and Typescript libraries and some lightweight frameworks simply provide CSS styles on top of static HTML. React Frameworks Lig...