A photo of me wearing a blue blazer and pocket square while on a horse, looking quite dapper.

David Celis

A cowboy coder.

Follow me

Notes

my maddening rabbithole for the last 1-2 days has been trying to figure out why smart punctuation and text replacements work differently in various HTML inputs, contenteditable elements, and specifically CodeMirror editors depending on whether or not you’re using a Mac or an iPhone. i wish i could just let this go, but nooo, i want my own little post composer text field that makes dumb little curly quotes, fixes ellipses, and counts my characters!

💬 6 ❤️ 2

If all went according to plan, I should have cross-posting set up on my website, and you’ll see this on Mastodon 🤞 Once I get my posting interface set up to accept photos and videos, I’ll finally be able to switch to posting everything from my own site!

💬 2 ❤️ 6

there’s nothing quite like the dread of having to implement a difficult feature followed by the relief of discovering a package that’s a complete (and extensible!) plug-and-play solution

💬 1 ❤️ 1

if you haven’t deleted your twitter account yet, you should really log back in to spread this amongst your friends who remain there:

in a week, all of the free tools that make it easy to bridge between Twitter and Mastodon will die, and it’s unclear if anybody who maintains one will pay, especially since no price has been announced. in a week, your twitter friends will find it more difficult than ever to find folks who have left and joined other platforms. let them know. twitter.com/twitterdev/status/

💬 1 🔁 2 ❤️ 4

is there any point to using the “Pause Docker” option in Docker Desktop? like ideally pausing Docker would mean it stops sucking up the entire memory limit that I’ve set for it, but it doesn’t seem to do anything. keeps on using 16 GB of memory for no reason.

GOD i am such a javascript noob. Stimulus is helping, but it took me way too long to get this working 🫠

tho, to be fair to myself, a lot of the difficulty stemmed from sticking with Rails’ newer importmap pattern because i really really do not want to have to deal with building javascript dependencies

💬 4 ❤️ 1

i’ve never really known whether or not this kind of silly commentary in my alt text is good or bad or useless, but i almost always do it. i feel like, worst case it adds nothing, best case it provides some extra/fun context for people who rely on screen readers or people who just decide to do the extra bit of digging?

💬 8 ❤️ 5

tried using tailwind’s aspect-ratio plugin and put aspect-w-* and aspect-h-* on some images today; they immediately rendered at 0x0 and vanished off of the page. i love CSS 😌

do twitter’s data exports seriously not include all the fucking alt text i wrote for my images? i’ve been working on importing my tweets into my new website and while the photos are there, none of the captions are. if i want to keep my shit accessible, im gonna have to go back and write alt text for thousands of pictures 🫠

💬 2 ❤️ 1

just spent thirty minutes trying to figure out why i couldn’t request a file in my DigitalOcean Spaces bucket from a Rails console without getting a 403, but then exiting out and using curl would get me the file.

thirty minutes.

it took me thirty minutes to notice that the URL in my rails code had a typo.

💬 1 ❤️ 3

officially turned off cross-posting to/from twitter and probably won’t even be logging in to read there much anymore. my timeline has been dwindling for a while but it’s been like a ghost town since they killed the popular third-party apps last week. there’s just no joy there anymore.

love to rediscover that i have a yearly subscription to an MMO that i haven’t played in ages because i get a renewal email that specifically says “no refunds lol”

i’ve dreamt of having one of these in my kitchen or near my espresso machine ever since i started brewing 13-14 years ago… my partner got me one as a gift and our friend helped her set it up and now it’s finally reality 🥹

i know a lot of titles in the tech industry sound ridiculous but when the first caller on the latest episode of “Wait Wait… Don’t Tell Me” introduced himself as a “customer success manager” i immediately cringed

trying to google why one certain website would open fine on my mac, but not in any browser on my windows PC, and it’s so infuriating. literally every result is about the opposite problem!