Advertisement · 728 × 90

Posts by Peter Sobot

After working with thousands of smart engineers for more than a decade, I can very confidently say:

People hate reading log output, and so they don't. Well-formatted logs, structured logs, nice highlighting; it all barely does anything to convince people to read.

1 year ago 3 0 0 0
screenshot of a Slack message saying "You left a baguette at your desk again"

screenshot of a Slack message saying "You left a baguette at your desk again"

I swear I'm not intentionally trying to poke fun at my French colleagues for being too stereotypically French, but-

1 year ago 7 0 0 0

I now distrust nearly all open-source libraries.

“But it’s widely used!” Nope, it’ll fall over at scale.

“But <big ML or data project> uses it!” Run even faster; hype and attention do not correlate with good software engineering practices.

1 year ago 2 0 1 0

It was, but it should be O(1) to check if a directory exists, regardless of if it has one file or a million files in it.

In this case, the code would only crash after running for a long time and writing a lot of files; this O(n) check effectively made it O(n^2) in time and memory.

1 year ago 1 0 1 0

A week of my career was just spent fixing an crash that only happened after my code ran for >24h.

Turned out to be a directory existence check that's O(n) time and O(n) memory for a directory with n files in it.

And people wonder why I don't trust widely-used libraries.

1 year ago 10 0 1 0

As of today, my age is no longer a nice round power of 2. 🥲

1 year ago 3 0 1 0

Every holiday, I’m reminded that all of the engineers working on FaceTime audio quality at Apple are no match for that one family member’s blown iPhone speaker.

1 year ago 2 1 1 0
Amazon.com: ACEIRMC 4pcs Type-C QC AFC PD2.0 PD3.0 to DC Fast Charge Decoy Trigger Polling Detector USB-PD Notebook Power Supply Change Board Module Support 5V 9V 12V 15V 20V Fixed Voltage Output : El... Amazon.com: ACEIRMC 4pcs Type-C QC AFC PD2.0 PD3.0 to DC Fast Charge Decoy Trigger Polling Detector USB-PD Notebook Power Supply Change Board Module Support 5V 9V 12V 15V 20V Fixed Voltage Output : El...

www.amazon.com/dp/B0BTHXKM9...

1 year ago 2 0 1 0

taking this as the world’s highest compliment

1 year ago 1 0 0 0
Post image

The only remaining to-do: toss all of the old USB-C PD power supplies that don’t support all of the required voltages

1 year ago 1 0 1 0
Advertisement

Bespoke power supplies are now obsolete. GaN power supplies are a quarter of the size and weight of custom transformers; and are mostly interchangeable with each other.

I will finally be able to ditch a full Rubbermaid bin of transformers. 🤩

1 year ago 1 0 0 0
Post image Post image Post image

I have been thoroughly nerd-sniped by USB-C PD. If any devices in my house take 9V or 12V, they will soon be taking USB-C.

I didn’t say it would look pretty, though.

1 year ago 21 4 7 0

People ask me "what guide can I read to get started with machine learning?"

There's actually a great guide for this now; it's free, comprehensive, interactive, and even built with some of the ML techniques you might want to learn about.

Find it at: chatgpt.com

1 year ago 1 0 0 0
Preview
a bald man in a red and black uniform says certainly not ALT: a bald man in a red and black uniform says certainly not
1 year ago 1 0 0 0

Seeing so much A.I.-generated text online has changed how I read all text online.

I now seem to notice the “shape” of A.I. text and skip large chunks if it looks like slop, even if it’s not.

I definitely did not have this on my bingo card.

1 year ago 5 0 1 0

That was the dream before I got engaged to an American and bought a house in Brooklyn 😅

1 year ago 2 0 0 0
a graph showing CAD/USD and how CAD is at a 20-year low against the USD

a graph showing CAD/USD and how CAD is at a 20-year low against the USD

I miss Canada, am proud to be Canadian, visit regularly, etc etc.

But oof, am I ever glad I moved to the US.

1 year ago 3 0 1 0

Me: “man I’m excited to be able to see my entire work team again in person, it’s been so long”

Also me: “wow why is the entire team out sick after a full week of jet lag, meetings, and dinners????”

1 year ago 2 0 0 0
Advertisement

U.S. CBP missed a co-branding opportunity with Apple for Global Entry:

“Face ID® for the U.S. Border”

1 year ago 1 0 0 0
Preview
Code Review Guidelines for Data Science Teams A proposed code review guideline for data science teams, emphasizing the benefits of code reviews, what they are not intended for, and offering advice for both submitting and reviewing pull requests.

My team was discussing our code review practice and I offered to talk about the post I wrote for a previous team (tdhopper.com/blog/code-re...).

I dropped the markdown for the post from GitHub into chatgpt and asked it to generate Marp (marp.app) slides for me.

1 year ago 4 1 1 0
Preview
a cartoon of a man drinking from a glass Alt: a cartoon of a man trying to drink water from a glass but doing everything except actually drinking the water normally, from the show Gravity Falls

when you reach for the mouse to copy some text in your code editor by right-clicking

1 year ago 0 0 0 0

Another day, another reminder that "mastery of one's tools" is the most reliable signal of competency that I've ever seen.

If you've worked with a piece of software every day for years but have never bothered to learn things like its keyboard shortcuts, stop what you're doing and learn those now.

1 year ago 3 0 1 0

There are few things more stressful than trying to write an email about two things to someone who doesn’t read past the first sentence.

1 year ago 4 0 0 0
https://a.co/d/8uJfdoT

tired: USB-C is great because I can charge my phone and laptop with the same cable

wired: USB-C is great because I can now use $15 USB-C PD bricks and $5 barrel jack adapters to power nearly all home electronics that need between 5V and 20V

t.co/AeGd6IhtJ5

1 year ago 5 0 1 0

So happy to have more great people to work with. Welcome, @tdhopper.com!

1 year ago 1 0 0 0
Advertisement

The Worst Programmer I Know dannorth.net/2023/09/02/t...

2 years ago 1 1 0 0

For the past couple of years, I've felt like I've been drowning in notifications and emails.

I just tallied the numbers: I got 1,855 notifications last week, 380 work emails, and 99 personal emails.

That's about one interruption about every 3 waking minutes. Is this normal?

2 years ago 1 0 2 0

Last night, I picked up a 32-pound laser printer from a coworker who lived a mile away. I decided to carry it home instead of taking a taxi.

I'm now googling "how to get started lifting weights" "is lifting weights good" "what does it mean if your arms hurt but you like it"

2 years ago 3 0 1 0

Oppenheimer was great. I especially loved Nolan’s choice to just use William Onyeabor’s “Atomic Bomb” as the only music.

2 years ago 0 0 0 0

Assuming each notification is roughly equally spaced out, that means I’m getting interrupted once every 150 seconds, all day, every weekday.

It’s a wonder that modern humans have time to get anything done at all.

2 years ago 0 0 0 0