Search
Exclusive: Liquid Network Gets Its First General-Purpose Javascript Library
9.7.2020
A new Javascript library for Liquid could allow external developers to build a complete ecosystem around the heavily upgraded Bitcoin sidechain
How to Make a List Component with Emotion
8.7.2020
I’ve been doing a bit of refactoring this week at Sentry and I noticed that we didn’t have a generic List component that we could use across projects and features. So, I started one, but here’s the rub: we style things at Sentry using Emotion, which I have only passing experience with and...
Building Serverless GraphQL API in Node with Express and Netlify
6.7.2020
I’ve always wanted to build an API, but was scared away by just how complicated things looked. I’d read a lot of tutorials that start with “first, install this library and this library and this library” without explaining why that was important. I’m kind of a Luddite when it comes to these...
Some Performance Links
3.7.2020
Just had a couple of good performance links burning a hole in my pocket, so blogging them like a good little blogger.
Web Performance Recipes With Puppeteer
Puppeteer is an Node library for spinning up a copy of Chrome “headlessly” (i.e. no UI) and controlling it. People use it...
Rough Notation
22.6.2020
This is a neat little library. It uses SVG to insert hand-drawn looking annotations to elements (probably text), like underlines and box highlights (there are 6 design options, all configurable). Super clever.
Here’s a little demo:
CodePen Embed Fallback
Aside from it just being cool,...
Core Web Vitals
29.5.2020
Core Web Vitals is what Google is calling a a new collection of three web performance metrics:
LCP: Largest Contentful Paint
FID: First Input Delay
CLS: Cumulative Layout Shift
These are all measurable. They aren’t in Lighthouse (e.g. the Audits tab in Chrome DevTools) just yet, but sounds...
Get Programmatic Control of your Builds with Netlify Build Plugins
27.5.2020
Today at Jamstack_Conf, Netlify announced Build Plugins. What it does is allow you to have particular hooks for events within your build, like when the build starts or ends. What’s nice about them is that they’re just a plain ‘ol JavaScript object, so you can insert some logic...
How I Put the Scroll Percentage in the Browser Title Bar
12.5.2020
Some nice trickery from Knut Melvær.
Ultimately the trick boils down to figuring out how far you’ve scrolled on the page and changing the title to show it, like:
document.title = `${percent}% ${post.title}`
Knut’s trick assumes React and installing an additional library. I’m sure...
Turning a Fixed-Size Object into a Responsive Element
11.5.2020
I was in a situation recently where I wanted to show an iPhone on a website. I wanted users to be able to interact with an application demo on this “mock” phone, so it had to be rendered in CSS, not an image. I found a great library called marvelapp/devices.css. The library implemented the device...
React Integration Testing: Greater Coverage, Fewer Tests
1.5.2020
Integration tests are a natural fit for interactive websites, like ones you might build with React. They validate how a user interacts with your app without the overhead of end-to-end testing. 
This article follows an exercise that starts with a simple website, validates behavior with unit...
Arweave 2.0 Gets File Storage Project One Step Closer to Its ‘Library of Alexandria’ Dreams
29.4.2020
Arweave operates on the same idea as other blockchain-based file storage services such as Filecoin or Storj, but with far larger ambitions backed by new technical developments unveiled Wednesday as Arweave 2.0
Alpine.js: The JavaScript Framework That’s Used Like jQuery, Written Like Vue, and Inspired by TailwindCSS
29.4.2020
We have big JavaScript frameworks that tons of people already use and like, including React, Vue, Angular, and Svelte. Do we need another JavaScript library? Let’s take a look at Alpine.js and you can decide for yourself. Alpine.js is for developers who aren’t looking to build a single page...
Cointext Cofounder Unveils BFP Encrypt – Send Encrypted Data to Bitcoin Cash Addresses
3.4.2020
Vin Armani, the cofounder of Cointext, has announced the launch of a Javascript library that allows people to send encrypted data to addresses on the Bitcoin Cash (BCH) network. A BCH private key can decrypt the data, and when Armani released the Javascript package, the developer stressed that...
The Many Facts Pointing to Wei Dai Being Satoshi
1.4.2020
Satoshi Nakamoto has been an enigma for well over a decade and there’s been a number of suspects and self-styled Bitcoin inventors. One particular suspect is the computer engineer Wei Dai, the creator of the b-money system and the Crypto++ cryptographic library. Since the Bitcoin network...
Cryptocurrency Accounting Firm Launches Library of Legal and Tax Advice
26.3.2020
Crypto accounting firm Lukka launches the ‘Lukka Library’ — a subscription-based repo of expert advice on crypto taxation and law
React Suspense in Practice
19.3.2020
This post is about understanding how Suspense works, what it does, and seeing how it can integrate into a real web app. We'll look at how to integrate routing and data loading with Suspense in React. For routing, I'll be using vanilla JavaScript, and I'll be using my own micro-graphql-react GraphQL...
Two Steps Forward, One Step Back
12.3.2020
Brent Jackson says CSS utility libraries failed somewhat:
Eventually, you'll need to add one-off styles that just aren't covered by the library you're using, and there isn't always a clear way to extend what you're working with. Without a clear way to handle things like this, developers tend...
How to Make a Line Chart With CSS
11.3.2020
Line,  bar, and pie charts are the bread and butter of dashboards and are the basic components of any data visualization toolkit. Sure, you can use SVG or a JavaScript chart library like Chart.js or a complex tool like D3 to create those charts, but what if you don't want to load yet another...
How We Created a Static Site That Generates Tartan Patterns in SVG
4.3.2020
Tartan is a patterned cloth that’s typically associated with Scotland, particularly their fashionable kilts. On tartanify.com, we gathered over 5,000 tartan patterns (as SVG and PNG files), taking care to filter out any that have explicit usage restrictions.
The idea was cooked up by Sylvain...
Audio-based Image Distortion Effects with WebGL
24.2.2020
Some experiments that show how to make audio-based distortion effects on images with p5.js and its sound library.
Audio-based Image Distortion Effects with WebGL was written by Yannis Yannakopoulos and published on Codrops