Kyle Shevlin

@kyleshevlin
1.4K Followers
200 Following
648 Posts
Software engineer, toxic positivity disruptor & anti-grifter. Enjoys JavaScript, React & more. AuDHD AF. He/him.
Websitehttps://kyleshevlin.com

"A canonical problem in computer science is to find the shortest route to every point in a network. A new approach beats the classic algorithm taught in textbooks."

https://www.quantamagazine.org/new-method-is-the-fastest-way-to-find-the-best-routes-20250806/

#ICYMI

New Method Is the Fastest Way To Find the Best Routes | Quanta Magazine

A canonical problem in computer science is to find the shortest route to every point in a network. A new approach beats the classic algorithm taught in textbooks.

Quanta Magazine

Was reminded of this post today, so I thought I'd reshare it: https://kyleshevlin.com/quit-your-yapping/

The answer to balancing constraints and flexibility is often not "yet another prop", what I call YAP syndrome, but rather the use of composition.

Quit Your YAP-ing | Kyle Shevlin

Learn when adding yet another prop to a React component becomes a problem and how to fix it with composition.

Kyle Shevlin's Blog

Had a reason to share this article this morning, so now I'm sharing it with you.

I know I can be a PITA about it, but I really believe the best way to make composable component systems is to avoid exporting margins (or paddings on border/background-less components).

https://kyleshevlin.com/no-outer-margin/

No Outer margin | Kyle Shevlin

It is an anti-pattern to add margin to the outermost element of a component. It breaks encapsulation and makes components difficult to reuse. Let's learn what to do instead.

Kyle Shevlin's Blog

Are any of you also on BlueSky? Things have really popped off for the tech community there with the mass Xodus. I’m planning on focusing there and just want to make sure we connect if we’re mutuals.

I’m [at]kyleshevlin.com there, so should be easy to find.

I'm only 2 weeks in, but I find myself wishing I could just use raw SQL to query my database versus the ORM.

One big reason: AIs are _much_ better at generating raw SQL queries, views, fns, etc than the ORM equivalents.

Are they well written queries? Now, that I dunno...

Sometimes a file just has to be a long file. It's ok.
I've said this before, but the hardest part of my morning is when I gotta stop working on my side projects and start working on the stuff that actually pays me.
Learning SQL the hard way this week and getting my ass kicked in the process.
Wife desperately wanted to see Wicked while it’s in town and I cannot believe how packed this auditorium is for a Thursday matinee.
A brain that requires interest to function is an exceptionally bad thing to have when it also has no control over what interests it at any given time.