March 11, 2022Comments are off for this post.

Peering Off into the Desert

March 8, 2022Comments are off for this post.

Neon

March 8, 2022Comments are off for this post.

Casino Sign on Fremont Street

December 17, 2021Comments are off for this post.

Pro-tip: how to quickly change audio input on macOS Monterey

Why does bluetooth audio have to be this difficult 🥴

Read more

December 3, 2021Comments are off for this post.

Nightrider

December 3, 2021Comments are off for this post.

Fluttering

November 30, 2021Comments are off for this post.

Gingko on Seaman Avenue

August 11, 2021Comments are off for this post.

This is Your Mind on Plants

Take coffee and tea: People around the world rely on caffeine to sharpen their minds. But we do not usually think of caffeine as a drug, or our daily use as an addiction, because it is legal and socially acceptable. So, then, what is a "drug"? And why, for example, is making tea from the leaves of a tea plant acceptable, but making tea from a seed head of an opium poppy a federal crime?

More at michaelpollan.com

August 11, 2021Comments are off for this post.

Anders Snylund’s Bulletproof TypeScript useLocalStorage hook

I've found myself using localStorage more and more these days. Turns out there's a fancy hook for that. Not surprised! But where's the love for TypeScript?

Turns out, Anders has done the refactoring for us:

import { useState } from "react";

export const useLocalStorage = <T>(key: string, initialValue: T): [string, typeof setValue] => {
  const [storedValue, setStoredValue] = useState(() => {
    try {
      const item = window.localStorage.getItem(key)
      return item ? JSON.parse(item) : initialValue
    } catch (error) {
      return initialValue
    }
  });

  const setValue = (value: T): void => {
    try {
      const valueToStore = value instanceof Function ? value(storedValue) : value
      setStoredValue(valueToStore)
      window.localStorage.setItem(key, JSON.stringify(valueToStore))
    } catch (error) {
      return error
    }
  };

  return [storedValue, setValue]
}

July 22, 2021Comments are off for this post.

The Scanimate, The Last Analog Motion Graphics Machine

Easily one of the coolest machines you’ll ever lay your eyes upon. All of those iconic VHS production company intro graphics and spiffy effects from the eighties? You can thank the Scanimate for that. The last engineer taking care taking care of one of these machines is Dave Sieg, a thankless hero.

The short Viceland video is fantastic, but if you really want to sink your teeth into the history of this machine and motion graphics check out this documentary. From the description on Vimeo:

In this short documentary, Nick Campbell of Greyscalegorilla talks to Roy Weinstock, one of the original Scanimate animators, and Dave Sieg, the engineer who has kept it running all these years.