Matthew Lein

1K posts

Matthew Lein banner
Matthew Lein

Matthew Lein

@matthewlein

Front-End/Fullstack Developer, Independent Make-Awesomer

Minneapolis/St. Paul, MN Katılım Ağustos 2010
0 Takip Edilen986 Takipçiler
Matthew Lein
Matthew Lein@matthewlein·
Welp *slaps knee* better get on my way now. 🦋 really hit a critical mass recently, come join us, it's really nice! bsky.app/profile/matthe…
English
0
0
0
53
Matthew Lein
Matthew Lein@matthewlein·
@RoyDigerhund 15ish years ago, these were known as Penner easing, created by Robert Penner. The mathematical source of truth is here robertpenner.com/easing/ They were a staple in the flash days and then into JS. For CSS I tried to match sampled output and visuals. Good Enough but not perfect
English
1
0
2
53
Matthias Martin
Matthias Martin@RoyDigerhund·
Does anyone know where the definition of bezier easing curves is coming from? A lot of easing curve generators are using the same or similar values for curves like Cubic, Expo, Circular and Back but I couldn't find a source of truth. For example, the curve Circular is often described as "a quarter of a circle" but looking at the curves from common easing generators, it doesn't look like a quarter of a circle at all. And more importantly, the curve is not the same for ease in and ease out, as seen in the picture. @merittthomas @lochieaxon @matthewlein does one of you (as creator of some of the easing curve generators) know where the values are coming from? Or someone else?
Matthias Martin tweet media
English
2
0
2
369
Matthew Lein
Matthew Lein@matthewlein·
@rauchg @nextjs @Shopify Try updating your checkout to the now required one-page checkout/extensibility checkout. The UX for headless stores is significantly worse
English
0
0
0
66
Guillermo Rauch
Guillermo Rauch@rauchg·
This is a fully dynamic, server-rendered @nextjs app router + headless @shopify storefront. Zero client / CDN page caches, fully personalized, feels as though it was local-first. Try it for yourself!
English
35
28
680
66K
Matthew Lein
Matthew Lein@matthewlein·
After months of training, Copilot finally understands how I write classes.
Matthew Lein tweet media
English
0
0
2
150
Matthew Lein
Matthew Lein@matthewlein·
I’m discussing code changes in my pull request with a robot. I love 2023
English
0
0
0
162
Matthew Lein
Matthew Lein@matthewlein·
Wow, ChatGPT makes hiring much much more difficult and time consuming.
English
0
0
0
168
Matthew Lein
Matthew Lein@matthewlein·
TIL safari does not like top: -99999% in some weird cases It’s ok with -59999% though so we’re cool
English
0
0
0
0
Matthew Lein
Matthew Lein@matthewlein·
@ronderksen “It does exactly what it says, it used to be a, now its b”
English
0
0
0
0
Matthew Lein
Matthew Lein@matthewlein·
Around this time, 20 years ago, I published my first website—a band page on a free cjb.net subdomain, awful flash animation and all.
English
0
0
0
0
Matthew Lein
Matthew Lein@matthewlein·
@snorklTV the braid design system uses :before and :after with neg margins to trim all whitespace above and below text using some crazy calculations. For a single font scenario you can hack something together using a similar approach codepen.io/matthewlein/pe… twitter.com/markdalgleish/…
Mark Dalgleish@markdalgleish

Our design system crops text nodes, removing white space above capital letters and below the baseline—all while honouring our grid. Space between elements becomes infinitely more predictable. Once you've tried it, you'll never go back.

English
2
0
1
0
Matthew Lein
Matthew Lein@matthewlein·
YIL: On m1 macs, you need to install older versions of node (<15) using shell sessions(?) that are launched in rosetta, or they will be crazy slow. Here's helped me: jurnalanas.com/node-js-mac-m1/
English
0
0
0
0
Dave DeSandro
Dave DeSandro@desandro·
Will a billion dollar industrial complex understand the core tenet of a 40y/o video game franchise — that characters and storylines are window-dressing in service of the ultimate quality, gameplay — or will they cast big movie leading man as a mustachioed Italian plumber?
English
4
0
1
0
Matthew Lein
Matthew Lein@matthewlein·
And now reflecting on how dev has changed in 10 years...its so good now! Sure I have issues like everyone, but overall its amazing. All the browsers are evergreen. I barely ever have to check cross browser issues. CSS layout is so so much better. So good.
English
1
0
1
0
Matthew Lein
Matthew Lein@matthewlein·
10 years ago today, I opened my first PR on a public open source library (adding touch events to a jQuery plugin). Sadly, it sat without author comment for all 10 years of its life. I did help at least 1 person, so I guess it was mission accomplished.
English
0
0
1
0
Matthew Lein
Matthew Lein@matthewlein·
@davatron5000 Would 1 or 2 uniq indexes based those ids work? Not sure if uniq indexes are would care about order or not but you could find out
English
0
0
0
0
Dave DeSandro
Dave DeSandro@desandro·
Every layer of abstraction adds to the overhead. For example, you may gain 1 min catching type errors, but you lose 2 min waiting for compilation
English
3
0
2
0
Dave DeSandro
Dave DeSandro@desandro·
Writing TypeScript is like brushing your teeth with a broom
English
8
8
54
0
Dave DeSandro
Dave DeSandro@desandro·
Have you ever created an image map?
English
3
0
6
0