Devin Lane's Avatar

Devin Lane

@devinlane.com

πŸ§‘β€πŸ’» Software engineer / web dev 🎸 Songwriter / producer / guitarist: https://gentlereturn.bandcamp.com/ 🐈 olive πŸˆβ€β¬› nathan 🌱 Big on plants πŸ—£οΈ Language nerd: fluent in Spanish... πŸ«‚ Long covid justice, treatment, research 🌁 Based in SF, CA

850
Followers
901
Following
466
Posts
03.05.2023
Joined
Posts Following

Latest posts by Devin Lane @devinlane.com

terminal GUI showing a different/wrong node version than the terminal output of `node -v`

terminal GUI showing a different/wrong node version than the terminal output of `node -v`

the correct node version is displayed in the terminal GUI

the correct node version is displayed in the terminal GUI

in case you're a nerd and dislike that your @ohmyposh.dev theme shows the wrong Node version after you update, `oh-my-posh cache clear` might just save you 🫑

29.01.2026 20:03 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 1
Preview
ARIA: aria-expanded attribute - ARIA | MDN The aria-expanded attribute is set on an element to indicate if a control is expanded or collapsed, and whether or not the controlled elements are displayed or hidden.

the `aria-expanded` attribute indicates if the control (accordion button in this case) is expanded or collapsed, and whether or not the controlled elements (the accordion children) are displayed or hidden

developer.mozilla.org/en-US/docs/W...

08.01.2026 21:45 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Accordion Pattern (Sections With Show/Hide Functionality) Accessibility resources free online from the international standards organization: W3C Web Accessibility Initiative (WAI).

some really good insights on accessibility with accordions here: www.w3.org/WAI/ARIA/apg...

08.01.2026 21:42 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

accessibility: accordions

In an accordion you can pass an `aria-expanded` attribute to the button controlling the opening/closing of accordion children. You can connect this to the same state controlling the display of the accordion children, for example:

`aria-expanded={isActive}`

08.01.2026 21:42 πŸ‘ 3 πŸ” 0 πŸ’¬ 2 πŸ“Œ 0
MDN example showing the <del> tag with strike through

MDN example showing the <del> tag with strike through

TIL about the HTML <del> tag: indicating something that has been deleted from a document, which will render with strike through by default

developer.mozilla.org/en-US/docs/W...

07.01.2026 21:45 πŸ‘ 8 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

nice, let's do accountability buddy checkins!

07.01.2026 21:41 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Preview
GitHub - DevinCLane/qr-code-component-main: frontend mentor QR component challenge frontend mentor QR component challenge. Contribute to DevinCLane/qr-code-component-main development by creating an account on GitHub.

github.com/DevinCLane/q...

07.01.2026 01:15 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
QR code for frontend mentor design challenge

QR code for frontend mentor design challenge

decided to do one of those @frontendmentor.io challenges--i'm doing so much full stack / state mangement work, i was wanting to just look at a design and built it

qr-component-dlane.netlify.app

07.01.2026 01:14 πŸ‘ 7 πŸ” 0 πŸ’¬ 3 πŸ“Œ 0
Preview
Lightning Lessons music school Lightning Lessons is an online music school and community focused on helping you write songs and express yourself.

So now my "mutual referrer" form is safe πŸŽ‰

lightninglessons.com/classes/writ...

15.11.2025 19:45 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Bots thwarted. Only after they sent about 120 emails in my name πŸ€¦β€β™€οΈ

15.11.2025 19:45 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

I used `position: absolute; left: -9999px; opacity: 0;`. I didn't use `display: none` in case a bot was set up to detect this. I called this input field "phone" just to keep it believable.

On my server I said "if we get a submission to the phone field, throw it away"

15.11.2025 19:45 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

I finally decided to add a "honeypot".

This is an input field in the form that you hide, and expect that no human user would fill in. A bot automatically fills this in and then you can safely throw away that submission.

15.11.2025 19:45 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

I tried deprecating HTTP/0.9 and HTTP/1.0, the idea being maybe an old or poorly written bot is using these older protocols.

this didn't work

15.11.2025 19:45 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

I tried appending a # hash to the form's action URL, the idea being that if the bot was old or poorly written it would submit the wrong URL (and a browser just throws this away)

this didn't work

15.11.2025 19:45 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Preview
7 simple bot detection methods that won’t inconvenience users Protect your contact, comment, or other forms from spam submissions by evaluating minute details about how it got submitted. Privacy-preserving. No CAPTCHAs.

What do to? Akismet seems cool but was there a simpler solution?

Went through this site: www.ctrl.blog/entry/detect...

15.11.2025 19:45 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
List of a bunch of gibberish names and random emails

List of a bunch of gibberish names and random emails

No, you did not go viral, you got bots πŸ˜….

15.11.2025 19:45 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Email stating that this user is 80% of the way to their daily quota of 200 emails

Email stating that this user is 80% of the way to their daily quota of 200 emails

A few days later I got an email from Resend (who I'm using to send emails) that I was almost hitting the max allowed emails in a day. Strange...that's gotta be a lot of users. Did I go viral 🀩

15.11.2025 19:45 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

The features works like this: submit your name and email, and your friend's name and email. That hits my backend, creates one promo code for each user, and sends each user an email with their promo code.

15.11.2025 19:45 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
A form for a course website that says refer your friends and has a spot for one person's name and email and another person's name and email

A form for a course website that says refer your friends and has a spot for one person's name and email and another person's name and email

I built a nice little referral form on my website for a course I'm running: refer a friend and you both get 15% off.

15.11.2025 19:45 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

"If you build it they will come" refers to bots and the form on your website

15.11.2025 19:45 πŸ‘ 3 πŸ” 1 πŸ’¬ 1 πŸ“Œ 0
Black text on a yellow background - This is Alice's friend Sandy Ho, posting. Per Alice's wishes, this message is being shared at the time of her passing.
Hi everyone, it looks like I ran out of time. I have so many dreams that I wanted to fulfill and plans to create new stories for you. There are a few in progress that might come to fruition in a few years if things work out. I did not ever imagine I would live to this age and end up a writer, editor, activist, and more. As a kid riddled with insecurity and internalized ableism, I could not see a path forward. It was thanks to friendships and some great teachers who believed in me that I was able to fight my way out of miserable situations into a place where I finally felt comfortable in my skin.
We need more stories about us and our culture.
You all, we all, deserve the everything and more in such a hostile, ableist environment. Our wisdom is incisive and unflinching. I'm honored to be your ancestor and believe disabled oracles like us will light the way to the future. Don't let the bastards grind you down. I love you all.

Black text on a yellow background - This is Alice's friend Sandy Ho, posting. Per Alice's wishes, this message is being shared at the time of her passing. Hi everyone, it looks like I ran out of time. I have so many dreams that I wanted to fulfill and plans to create new stories for you. There are a few in progress that might come to fruition in a few years if things work out. I did not ever imagine I would live to this age and end up a writer, editor, activist, and more. As a kid riddled with insecurity and internalized ableism, I could not see a path forward. It was thanks to friendships and some great teachers who believed in me that I was able to fight my way out of miserable situations into a place where I finally felt comfortable in my skin. We need more stories about us and our culture. You all, we all, deserve the everything and more in such a hostile, ableist environment. Our wisdom is incisive and unflinching. I'm honored to be your ancestor and believe disabled oracles like us will light the way to the future. Don't let the bastards grind you down. I love you all.

β€œDon’t let the bastards grind you down. I love you all.”

15.11.2025 06:15 πŸ‘ 3547 πŸ” 1165 πŸ’¬ 10 πŸ“Œ 170

and if it's a type error from older types, Restart TypeScript Server could be needed

15.11.2025 00:03 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

sometimes you write a whole bug report for an API but realize if you just update the package all your troubles go away πŸ€¦β€β™€οΈ

14.11.2025 23:54 πŸ‘ 3 πŸ” 0 πŸ’¬ 2 πŸ“Œ 0

I’m in this workshop with Ab and Devin. Hands down the most comprehensive groundwork for the mechanics and foundation of music I’ve had. I’m excited to do the exercises. And they both are just lovely, awesome humans. I want them to keep doing this! If interested, they have three more sessions.

30.10.2025 21:21 πŸ‘ 4 πŸ” 1 πŸ’¬ 1 πŸ“Œ 0

Thanks @lilgreybirb.bsky.social!

31.10.2025 23:06 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

what are the preferred dimensions / aspect ratio for videos on bluesky?

Browsing around it seems like both 16:9 (horizontal) and 9:16 (vertical) are out there, with a trend towards the vertical videos

10.10.2025 20:14 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

signups: lightninglessons.com/classes/writ...

10.10.2025 19:18 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Video thumbnail

Our upcoming songwriting workshop is meant to give you the tools to break down songs you love into concepts that you can take and use in your own songs

let me know if you have any questions

video link: www.youtube.com/shorts/qWQpQ...

10.10.2025 19:18 πŸ‘ 2 πŸ” 0 πŸ’¬ 1 πŸ“Œ 1
Preview
Lightning Lessons music school Lightning Lessons is an online music school and community focused on helping you write songs and express yourself.

you can check it out at: lightninglessons.com/classes/writ...

07.10.2025 17:19 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

This class is for all levels, beginners to advanced. It's best if you know how to play a few chords on your instrument.

We're running it 12-1pm PT on Oct. 30, Nov. 6, Nov. 13, and Nov. 20, but also sending out recordings after each class for you to work through at your own pace.

07.10.2025 17:18 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0