Ian Macartney

Ian Macartney @ianmacartney

About: friendly engineer. works at convex.dev

Location:
San Francisco, CA
Joined:
Jan 11, 2022

Ian Macartney
articles - 10 total

Work Stealing: Load-balancing for compute-heavy tasks

For fast, light-weight workloads, you can often get away with a small number of powerful machines....

Learn More 0 0Jul 24 '24

Supercharge `npm run dev` with package.json scripts

npm run dev is the standard for "run my website locally," but how does it work? How can we expand its...

Learn More 2 0Jul 24 '24

Convert your .json array to a .jsonl (JSON Lines)

JSON Lines is a file format that stores one JSON object per line in a file. This is more scalable...

Learn More 2 0Jul 24 '24

Implementing Rate Limiting with only two numbers

There’s a lot of buzz about rate limiting, in part because of the cost exposure associated with LLM...

Learn More 0 0Jul 24 '24

Streaming HTTP Responses using fetch

This post will look at working with the JavaScript Streams API which allows making a fetch HTTP call...

Learn More 2 0Jul 23 '24

Multiple apps on a single domain hosted on sub-paths

tl;dr It's possible to deploy multiple apps on the same domain by serving each at a different...

Learn More 0 0Jul 23 '24

GPT Streaming With Persistent Reactivity

Building ChatGPT-powered experiences feel snappier when the responses show up incrementally. Instead...

Learn More 2 1Jul 10 '23

Using Pinecone and Embeddings

Looking to implement semantic search or add on-demand context to a GPT prompt so it doesn’t just make...

Learn More 2 0Jul 10 '23

The Magic of Embeddings

How similar are the strings “I care about strong ACID guarantees” and “I like transactional...

Learn More 5 0Jun 6 '23

Building a Full-Stack ChatGPT app

In this post, we’ll walk through putting together a full-stack chat app, and add some features....

Learn More 0 0Jun 5 '23