What if the guy I'm talking about... is me?
Posts by Lucas Mace
ohmygawd
Can't wait for Monday!
My work assistant is always ready to help.
I feel like you knew this already.
Is this from Salo?
The Dropkick Mollies.
Flogging Murphy.
Clarification please.
Hate = Love
Interacting with = Flattening
Peasants = Dogs
?
You show me yours, I'll show you mine.
Is this a Severance joke?
Would LOVE to find out.
History is not much rhyming, it's more screaming the lyrics over and over again.
I want to know so badly what this means.
It is nearly 2026 and Adobe Acrobat still does not have a native Eye Dropper Tool for reading color values from PDFs.
#cunninghamsLaw
Year 9 into my #frontEndWebDev career and today I used my first "else if" statement in production.
Mistakenly leaving off the Element you're assigning an event listener to is a very confusing bug to figure out ๐
#frontEndWebDev
The smallest Play/Pause <svg> I could write. Toggle the shapes' display with the parent's aria-label. #frontEndWebDev
<svg width="100" height="100"><defs><style>svg { fill: #fff5 } rect { width: 40%; height: 100%; }</style></defs><rect/><rect x="60" /><polygon points="0,0 100,50 0,100" /></svg>
Do you take commissions?
Lately, my favorite CSS trick has been using the attribute selector to pick out the beginning of class names so I don't need to add two classes to very similar elements.
<img class="foo-left" />
<img class="foo-right" />
[class^="foo"] {}
I'm always looking for tricks like this to ship less code!
Updating some legacy code today at work.
I changed a <div> display property from "table" to "flex".
I can hear 2004 exploding in the distance.
#frontEndWebDev
Submitted without context... CSS Grid is amazing.
#frontEndWebDev
Wrote a function to front load some easy answers to NTPv2 if the user is a first time player.
Really made it obvious that I need to upload some easier parts because it was pretty difficult to choose.
Hopefully it helps decrease the number of folks only playing once.
#frontEndWebDev
What's more important? Fetching less data from your API, or doing less computing on your users' devices?
Right now for my game that most folks play on their phones, I want faster fetches. I might change my mind (again) in the future.
#webDev
I've been studying web performance for 3+ years and I still feel like I learn things every week. There are always new techniques and technologies to help if you just do the research and keep testing.
#frontEndWebDev
The last few days I've done a lot of studying about what order the browser does things in and what resources block the critical rendering path. I feel like I learned a lot.
But what really helped me understand was creating a custom 2KB/s network throttle and watching the network waterfall.
#webDev
Morning commute.
The great John Carmack told us to "Act on press" and I think he's right.
I changed namethatpart.com answer buttons to "mousedown" from "click" and I think it makes gameplay feel snappier.
It should also help those competing for the high score squeeze out a few more points.
#frontEndWebDev
I think BS is trying very hard to market themselves as "approachable and safe" so they're perhaps still overly- cautious with content moderation. Hopefully this clear oversight of theirs can be fixed because your content is legit, great art.
If you test your JSON Web Token Auth before you set up your environment variable, the JWT will still verify and you may wonder why.
I'm guessing it's because JWT will coerce "undefined" to a string and treat that as the private key, right?
#frontEndWebDevelopment
Just found the editor.linkedEditing preference flag in VS Code for changing the opening and closing element tags in HTML at the same time.
Read: I just saved hundreds of seconds of dev time per year.
#frontEndWebDev