Advertisement · 728 × 90

Posts by Trevor Burnham

Preview
It’s hard to justify Tahoe icons Looking at the first principles of icon design—and how Apple failed to apply all of them in macOS Tahoe

I like the overall look of macOS Tahoe. But the menu bar icons? Hoo boy… tonsky.me/blog/tahoe-i...

3 months ago 0 2 0 0

I’m very proud of this book. And, thankfully, it hasn’t become obsolete as quickly as the first edition. 😅

6 months ago 3 1 0 0
LL Cool J - Deepest Bluest
LL Cool J - Deepest Bluest YouTube video by Bogdan3l123

Huge wasted opportunity that Apple didn’t hire LL Cool J to do an ad for the iPhone Air where he raps 🎶 Thinner. Lighter. My phone is like a shark’s fin! 🎶 youtu.be/6cYcdBVQ8NM

6 months ago 1 0 0 0
Preview
Secrets of the JavaScript Ninja, Third Edition - Trevor Burnham, Bear Bibeault, Josip Maras, John Resig The secrets of modern web development using JavaScript and TypeScript! If you’re serious about web development, you need to be ninja-stealthy, efficient, and ready for anything! Secrets of the JavaSc...

The new edition of Secrets of the JavaScript Ninja is coming along nicely! I’ve just finished a chapter on promises and generators. If that intrigues you, the book is Manning’s Deal of the Day: www.manning.com/books/secret...

7 months ago 2 0 1 0
A cute mascot with a lobster hat and Necco wafer shoes standing in Fenway Park.

A cute mascot with a lobster hat and Necco wafer shoes standing in Fenway Park.

I asked Gemini to generate a Chiitan-style mascot for the city of Boston.

Ladies and gentlemen: Bostan!

10 months ago 1 0 1 0
Preview
Secrets of the JavaScript Ninja, Third Edition The secrets of modern web development using JavaScript and TypeScript!</b> If you’re serious about web development, you need to be ninja-stealthy, efficient, and ready for anything! Secrets of the Ja...

In a rare confluence, both of my new books are on sale today! 🤑 Test-Driven React, 2nd Edition is 40% off with code 2025testing: pragprog.com/titles/tbrea... And Secrets of the JavaScript Ninja, 3rd Edition (currently in early access) is 50% off, no code needed: www.manning.com/books/secret...

11 months ago 3 0 0 0
Preview
GitHub - TrevorBurnham/eslint-plugin-debarrel: An ESLint plugin to transform barrel imports into direct imports. An ESLint plugin to transform barrel imports into direct imports. - TrevorBurnham/eslint-plugin-debarrel

Just dropped a new project: eslint-plugin-debarrel, an ESLint plugin that can autofix your barrel imports to speed up your build times. ⚡️ github.com/TrevorBurnha...

1 year ago 1 0 0 0
Menu bar item showing that the song "Animal Spirits" by Vulfpeck is playing.

Menu bar item showing that the song "Animal Spirits" by Vulfpeck is playing.

Fun little side project: NowPlayingMenuBar, a tiny app to show what you're listening to directly in your Mac's menu bar. Works with any music app that integrates with Apple's "Now Playing" feature. Free and open source. github.com/TrevorBurnha...

1 year ago 1 0 0 0
Post image

I hadn’t seen that claim! Perplexity confidently tells me that Lighthouse is not AI, thereby asserting its dominance over the AI kingdom. 🦍

1 year ago 2 0 1 0
Advertisement

Yep. “I need a CLI command to do X” has been the most valuable use case for AI in my career so far.

1 year ago 0 0 0 0

🌠 Did you know, Gmail makes it easy to spawn infinite unique variants of your email address?

Let’s say your email is zhangwei@gmail.com. When signing up for Netflix, you can specify your email as "zhangwei+netflix@gmail.com".

You’ll still receive all emails sent to that address!

1 year ago 162 21 15 14
Best Robot Vacuums LATE 2024 - Surprising Results!
Best Robot Vacuums LATE 2024 - Surprising Results! YouTube video by Vacuum Wars

I like the RoboRock S7+, if you have mostly hard floors and want something that both vacuums and mops.

But mostly I’d recommend watching YouTube reviews! They seem to be the best source of info on vacuums these days. youtu.be/jYGsJiDvQKQ?...

1 year ago 2 0 0 0
A screenshot of a New York Times update that says: In Grand Central Terminal, Leon Chang, 26, of Brooklyn, said he had not heard of congestion pricing and asked what it was. When explained it was a toll for cars entering Manhattan, he then asked “What do you mean? What is a car?” Walking outside, we showed him a vehicle parked on the street. He gently touched the hood of the car. “You wish to forbid these majestic beasts from entering the city,” he said in a wistful tone. “It is a folly of man. The desire to tame the world around us.”

A screenshot of a New York Times update that says: In Grand Central Terminal, Leon Chang, 26, of Brooklyn, said he had not heard of congestion pricing and asked what it was. When explained it was a toll for cars entering Manhattan, he then asked “What do you mean? What is a car?” Walking outside, we showed him a vehicle parked on the street. He gently touched the hood of the car. “You wish to forbid these majestic beasts from entering the city,” he said in a wistful tone. “It is a folly of man. The desire to tame the world around us.”

where does the new york times even find these people

1 year ago 26482 3522 706 331
Post image Post image

Claude has the right idea on this one, I think: If it’s a true error, and it only occurs when the user submits the form, then role="alert" is correct. If it’s a warning or fires as the user is working, then you should use something less intrusive.

1 year ago 2 0 0 0

I had an issue with an apartment smoke detector that would go off any time I cooked with oil. It was located right above the stove. Mentioned it to the super: “Oh! That should be a heat sensor.” Swapped it out, issue solved. (There are other smoke detectors located a bit further from the stove.)

1 year ago 0 0 0 0
Preview
Secrets of the JavaScript Ninja, Third Edition The secrets of modern web development using JavaScript and TypeScript!</b> If you’re serious about web development, you need to be ninja-stealthy, efficient, and ready for anything! Secrets of the Ja...

I'm delighted to announce my latest book: Secrets of the JavaScript Ninja, Third Edition! It's an honor to update this classic for a new generation of developers. If you'd like to join the @manningbooks.bsky.social Early Access, use promo code mlburnham to get 50% off (valid 'til 12/27). mng.bz/wJP2

1 year ago 4 0 1 0
5 JavaScript books by Trevor Burnham on a bookshelf with a decorative sculpture of a tiger

5 JavaScript books by Trevor Burnham on a bookshelf with a decorative sculpture of a tiger

Another book for my author shelf just arrived today! Thanks as always to the fine folks at @pragprog.com. pragprog.com/titles/tbrea...

1 year ago 8 1 1 0

I always liked that yarn passes unrecognized arguments through to the script it’s calling. Sadly npm just silently ignores them. 🫠

1 year ago 0 0 0 0
Advertisement
Find a Provider - optomap

I second the recommendation to find an optometrist that offers Optomap. Usually costs a premium, but well worth it to avoid dilation! www.optomap.com/find-a-provi...

1 year ago 3 0 0 0
Preview
GitHub - TrevorBurnham/codemod-add-import-extensions: A tool for automatically adding file extensions to relative imports in JavaScript and TypeScript. A tool for automatically adding file extensions to relative imports in JavaScript and TypeScript. - TrevorBurnham/codemod-add-import-extensions

Just shared a little tool I've been working on! It automates the task of adding file extensions to your ESM imports (`import x from "../x"` ➡️ `import x from "../x.ts"`), speeding up module resolution. 🚀 github.com/TrevorBurnha...

1 year ago 1 0 0 0
Preview
Test-Driven React, Second Edition Learn the right way to do test-driven development with React. You'll come away knowing how to use the latest tools to streamline your entire workflow.

I’m proud to announce the release of Test-Driven React: Second Edition, an up-to-date primer on the art of writing reliable React code! 🚀 pragprog.com/titles/tbrea...

1 year ago 4 0 0 0