Quantcast
Channel: Stories by Forbes Lindesay on Medium
Browsing all 28 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Flow’s best kept secret

Read only and Write only properties in flow.Continue reading on Medium »

View Article



Image may be NSFW.
Clik here to view.

Thanks for spotting this, it would be an error. I meant the exact reverse....

Thanks for spotting this, it would be an error. I meant the exact reverse. It’s now updated:Passing a nullable string to something that expects a string => clearly an errorPassing a string to...

View Article

Image may be NSFW.
Clik here to view.

This is because the

This is because the <T: ?string> already just says T is a sub-class of ?string. This is fine, because string is already a subclass of ?string (i.e. every string is a ?string. The problem that...

View Article

Image may be NSFW.
Clik here to view.

The Easiest Way to Query Postgres in Node.js

Securely querying postgres from node.js with minimal effortContinue reading on Medium »

View Article

Image may be NSFW.
Clik here to view.

Storing JSON in Postgres using Node.js

One of the things that made NoSQL so popular was how easy it is to just throw a blob of JSON in, but Postgres can do the same trick!Continue reading on ITNEXT »

View Article


Image may be NSFW.
Clik here to view.

Query Nested Data in Postgres using Node.js

Use Postgres’ JSON functions along with node.js for more efficient queries on nested data.Continue reading on ITNEXT »

View Article

Image may be NSFW.
Clik here to view.

Docker Over SSH

I needed to transfer a docker container that I’d built on one machine, to another, and all I had was an SSH connection.Continue reading on ITNEXT »

View Article

Image may be NSFW.
Clik here to view.

A Guide to Rate Limiting with Examples in JavaScript

Learn 2 rate limiting strategies you should avoid and 2 strategies you should be using and how to implement them in Node and JavaScript.Continue reading on Level Up Coding »

View Article


Image may be NSFW.
Clik here to view.

Streaming SQL in Node.js

Sometimes you need a way to look at every row in a database table, and perform some operation on it.Continue reading on ITNEXT »

View Article


Image may be NSFW.
Clik here to view.

Using SQLite in Expo for Offline React Native Apps

One of the biggest things that determines whether an app “feels” native is how fast it is. You want to be fast even if the network is slow.Continue reading on ITNEXT »

View Article

Image may be NSFW.
Clik here to view.

The issue with fixed window rate limiting when you have a very short window...

The issue with fixed window rate limiting when you have a very short window is that you can’t allow for bursts. It’s normal for most legitimate users of an API to have brief windows of time where they...

View Article

Image may be NSFW.
Clik here to view.

One thing that I find really useful is when packages also publish semver tags.

One thing that I find really useful is when packages also publish semver tags. So when pushing version 1.2.3 you would push to `my-image:latest`, `my-image:1`, `my-image:1.2` and `my-image:1.2.3`. That...

View Article

Image may be NSFW.
Clik here to view.

is-promise post mortem

Last Saturday, I made the decision to try and catch up on some of the many contributions to my open source projects. One of the first pull…Continue reading on JavaScript in Plain English »

View Article


Image may be NSFW.
Clik here to view.

Hi Maximilian,

Hi Maximilian,It works great on repos that previously used semantic release — just be sure to do a release immediately before switching to Rolling Versions, so you start with a clean slate (i.e. no...

View Article

Image may be NSFW.
Clik here to view.

Designing a Notifications Service with SQS and SNS

It is important to consider tradeoffs carefully when planning a big project.Continue reading on ITNEXT »

View Article


Image may be NSFW.
Clik here to view.

The relevant documentation is at https://nodejs.org/api/esm.html

The relevant documentation is at https://nodejs.org/api/esm.html although I found it was too much to read and not enough clarity on which bits were important.

View Article

Image may be NSFW.
Clik here to view.

This is really problematic advice.

This is really problematic advice. In practice it is not remotely scaleable to have every lambda have it’s own Postgres connection. Of course it works great in these tiny examples of 20 requests at a...

View Article


Image may be NSFW.
Clik here to view.

Pug 3.0.0

This week I released pug 3.0.0. This release brings a few really exciting new features, as well as a couple of small breaking changes.Continue reading on RollingVersions »

View Article

Image may be NSFW.
Clik here to view.

Hi Maximilian,

Hi Maximilian,I just wanted to let you know that we now have a proper guide to how to get started with Rolling Versions and either GitHub Actions or CircleCI:...

View Article

Image may be NSFW.
Clik here to view.

I’m not entirely sure what’s going on here.

I’m not entirely sure what’s going on here. One thing that does jump out at me is that you’re not awaiting the result of db.query even though it is inside an async function. You could try:const testDB...

View Article
Browsing all 28 articles
Browse latest View live




Latest Images