Open in app

Sign In

Write

Sign In

Michael Hoffman
Michael Hoffman

558 Followers

Home

About

Pinned

Could a Podcast Make Itself?

I run a daily podcast called The Weather in Brooklyn. Every morning, you can expect a new episode to appear in its feed. There’s an audio logo at the beginning, then some music starts playing, and the host begins to speak. The host presents the weather forecast for that day…

Podcast

6 min read

Could a Podcast Make Itself?
Could a Podcast Make Itself?
Podcast

6 min read


Nov 7, 2022

Six Coding Interview Formats to Replace LeetCode Bullshit

Based on my recent job market experience, I’m happy to report that esoteric algorithm interviews seem to be on the decline. Below I describe six other, better coding interview formats. LeetCode-style interviews are bad. You can tell that engineering interviews are broken because there is a burgeoning industry that’s sprung up around interview prep…

Tech

8 min read

Six Coding Interview Formats to Replace LeetCode
Six Coding Interview Formats to Replace LeetCode
Tech

8 min read


Sep 12, 2022

Quicksort the Ruby Way

I’m gearing up to apply for my next engineering job by reviewing some classic algorithms and implementing them in Ruby. Quicksort is a recursive algorithm for sorting lists of values. I won’t recapitulate the details of how quicksort works here. This explanation from Khan Academy is good. I used the JavaScript implementation developed in that course as the basis for my own. This post is for folks who write Ruby and want to see what an idiomatic Ruby implementation of quicksort might look like. In particular, I’ve eschewed the overly terse single-letter-variable salad you so often find in example implementations of basic algorithms.

Ruby

1 min read

Quicksort the Ruby Way
Quicksort the Ruby Way
Ruby

1 min read


Jan 29, 2022

hey, look at us

On a lark, I built a website that does nothing more or less than report the number of people who are currently on that very website: heylookat.us FAQ What does this site do, exactly? The number is how any people are currently on the site. That’s…it? Yes. Ok but why…

Web Development

2 min read

Web Development

2 min read


Jan 5, 2018

🐶 All of the Good Dogs in New York 🐶

The making of Good Dogs of NYC, a Twitter bot about real doggies — 🎉 I’ve launched a new Twitter bot that tells the stories of all of the very good dogs who live in New York City. The data the bot uses originates from a ~90k row CSV of dog licensing data obtained from the city of New York via a FOIA…

Twitter

5 min read

Twitter

5 min read


Sep 7, 2017

A Puzzle About Ruby Constants

Ruby’s algorithm for finding the definition of a constant is more complex than you might think. — The other day, I was doing some refactoring in the Rails CMS that serves thriveglobal.com. We allow our editors to toggle several boolean attributes on stories—starring them, flagging them, etc.—and we’d DRY’d up the controllers for these attributes by subclassing them to an abstract controller, StoryBooleansController:

Ruby

10 min read

A Puzzle About Ruby Constants
A Puzzle About Ruby Constants
Ruby

10 min read


Published in Code Like A Girl

·May 20, 2016

Why ‘her’?

The Case for a Pronoun for a Programmer. — In computer programming, time zones are famously tricky to work with. Antarctica has a lot of timezones. That’s all the context you need to understand why this tweet I posted struck a nerve with computer nerds: The tweet started to get some traction, and soon I received this question:

Women In Tech

2 min read

Why ‘her’?
Why ‘her’?
Women In Tech

2 min read


Jul 28, 2015

A Good Engineer is a Lazy Engineer

(Shhh! This seal is writing good code.) A Good Engineer is a Lazy Engineer The customer care manager at my company was hiring for a position that involved responding to customer emails. As part of the application process, she asked candidates to respond to a sample customer complaint. One applicant submitted a response that sounded oddly familiar…

Software Development

2 min read

A Good Engineer is a Lazy Engineer
A Good Engineer is a Lazy Engineer
Software Development

2 min read

Michael Hoffman

Michael Hoffman

558 Followers

Dad. Once and future software engineer.

Following
  • Sean Ammirati

    Sean Ammirati

  • AlphaLab

    AlphaLab

  • Innovation Works

    Innovation Works

  • Sara Benincasa

    Sara Benincasa

  • Kip Price

    Kip Price

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech