Skip to main content

Recently Updated Pages

Fetch

Node and Typescript

The Fetch API was adopted as a standard replacement for XMLHTTPRequest in the last few years. It ...

Updated 1 year ago by James

Logging and Winston

Node and Typescript

Winston is a fancy logging library for node. Using Common Loggers Between Packages As per this st...

Updated 1 year ago by James

Handling File Uploads in Express

Node and Typescript

Express and Multi-Part Uploads Historically I've used the express Multer middleware and associate...

Updated 1 year ago by James

Debugging Complex TS Projects in VSCode

Node and Typescript

launch.json Config File This page assumes a build config based on the one in Publishing Type Defi...

Updated 1 year ago by James

AMQPLib and RabbitMQ

Node and Typescript

Channel closed by server: 406 (PRECONDITION-FAILED) with message "PRECONDITION_FAILED As explaine...

Updated 1 year ago by James

Publishing Type Definitions

Node and Typescript

It can be useful to be able to publish these types in custom NPM repos e.g. Gitlab Configuring pa...

Updated 1 year ago by James

NPM and Gitlab

Node and Typescript

Gitlab has a built in package repository that can be used as a stand in for NPM's global repo. Be...

Updated 1 year ago by James

Knex

Node and Typescript

ORM for node.js with Typescript compatibility

Updated 1 year ago by James

SQLAlchemy and MySQL

Python

  Install dependencies for SQLalchemy and MySQL: pip install sqlalchemy pymysql python-dotenv ...

Updated 1 year ago by James

Data Lakehouse

Software Misc

A data lake house combines together the best bits of data warehouses and data lakes.   Data Lak...

Updated 1 year ago by James

Story Mapping

Software Misc

  Resources https://www.easyagile.com/blog/the-ultimate-guide-to-user-story-maps/#what-is-user-...

Updated 1 year ago by James

CLI Development

Python

Simon Willison has some really interesting/useful advice for building command lines (mirror). I ...

Updated 1 year ago by James

RSync

Software Misc

RSync is a FOSS file copying/syncing tool that has a number of uses and can be used to sync via S...

Updated 1 year ago by James

FastAPI Logging

Python FastAPI

Inspired by https://stackoverflow.com/questions/63510041/adding-python-logging-to-fastapi-endpoin...

Updated 1 year ago by James

Low and No Code Frontends

Software Misc

Quite often it is useful to have ugly-but-functional frontends for accessing things like database...

Updated 1 year ago by James

Batch Iterating in Pandas

Python

BATCH_SIZE=32 for k,grp in df.groupby(np.arange(len(df))//BATCH_SIZE): # grp is a tiny data...

Updated 1 year ago by James

Times and Dates in Python

Python

The built in datetime library in Python can be a bit rubbish/difficult to use. Pendulum provide...

Updated 1 year ago by James

React Native on Android

Node and Typescript

Installing Dev Environment On ubuntu you can install the android SDK with apt-get install android...

Updated 1 year ago by James

CRON No MTA installed discarding output

Software Misc

Answer from here Linux uses mail for sending notifications to the user. Most Linux distributions...

Updated 1 year ago by James

Golang Web Services and Gin

Software Misc

I've been using GoLang to build IndieScrobble Live Reload I use this package to live-reload my ap...

Updated 1 year ago by James