Twitter | Search | |
fasterthanlime ♻
hi, I'm amos! 🦀 rust & systems programming enthusiast, loves to teach ☕ support my writing: 🌱 he/him 🍉 say hi, be nice!
63,395
Tweets
310
Following
9,501
Followers
Tweets
fasterthanlime ♻ retweeted
rust-analyzer 24h
Reminder, you can auto-import traits from method calls:
Reply Retweet Like
fasterthanlime ♻ Oct 19
Replying to @a_hoverbear @amanjeev
These are great GIFs.
Reply Retweet Like
fasterthanlime ♻ Oct 19
Replying to @fasterthanlime
Reply Retweet Like
fasterthanlime ♻ Oct 19
doing webdev again
Reply Retweet Like
fasterthanlime ♻ Oct 19
Replying to @minigamedev
I got excited about "aggressive cache warmup" in particular RA works great for me as-is though, I'm not waiting for anything 😁
Reply Retweet Like
fasterthanlime ♻ Oct 19
Reply Retweet Like
fasterthanlime ♻ retweeted
Anthony Ramine Oct 19
"Sorry boss I know it's not the right timing for me to take a week off from work, but wrote a short blog post I really want to read."
Reply Retweet Like
fasterthanlime ♻ Oct 19
Replying to @soaponarop
It's not really based on YAML, but it serves the same purpose.
Reply Retweet Like
fasterthanlime ♻ Oct 19
Replying to @TedMielczarek
yeahhh when I got the work macbook, I really really tried to give Safari a chance, but now I'm back to good ol' Chrome.
Reply Retweet Like
fasterthanlime ♻ Oct 19
Replying to @TedMielczarek
YOU'RE NOT MY MANAGER TED
Reply Retweet Like
fasterthanlime ♻ Oct 19
Replying to @floofstrid
also honestly I did the local dev (with live reload) experience first, and then I discovered if it was atomic and rejected invalid updates, it would be fit for production and deploy would literally be just a git pull
Reply Retweet Like
fasterthanlime ♻ Oct 19
Replying to @floofstrid
3500 last week but I haven't published a new thing in almost a month. Cloudfare is in front, it caches static assets (all of which have hashes in the URL for cache busting)
Reply Retweet Like
fasterthanlime ♻ Oct 19
Replying to @theprincessxena
(and I mean all of this with love)
Reply Retweet Like
fasterthanlime ♻ Oct 19
Replying to @theprincessxena
yes yes we're all damaged in our own unique ways lmao I blame the webp/avif rabbit hole entirely on you btw, you didn't have to nerd-catnip me that hard
Reply Retweet Like
fasterthanlime ♻ Oct 19
Replying to @fasterthanlime
every page that isn't changed is just "pointed to" by the new revision, typically only one page changes the processed markdown is cached in the DB, so only the templates that make up the rest of the HTML doc get evaluated when it's served - which is quite fast as well
Reply Retweet Like
fasterthanlime ♻ Oct 19
Replying to @TedMielczarek
obviously the webp/avif thing is a bit of a guilty pleasure, but ALSO this new series is the first one that's so image-heavy, and I didn't feel like committing 50MB+ of images just for the first article, those live in the monorepo forever you know
Reply Retweet Like
fasterthanlime ♻ Oct 19
Replying to @TedMielczarek
but if I can't pay tech debt and have nice things on my main side project, then what *can* I do, mhh??? gotta treat oneself.
Reply Retweet Like
fasterthanlime ♻ Oct 19
Replying to @fasterthanlime
regular deploys are zero-downtime and wicked fast, it re-uses local dev logic, which is: * get inotify events about files having changed * debounce them, queue up a new revision to be processed * process it in the background * atomically switch to it once it's ready 💪
Reply Retweet Like
fasterthanlime ♻ Oct 19
Replying to @fasterthanlime
whenever I deploy updates that touch the content pipeline, I rebuild all pages of the website, and I'm happy to report that, it currently takes 1.1 seconds (sorry for the downtime!)
Reply Retweet Like
fasterthanlime ♻ Oct 19
Replying to @TedMielczarek
haha it's a balance! I haven't been able to spend 20 entire days on it, there were many days where my priorities were elsewhere... but late at night, I'm always doing research on my phone haha
Reply Retweet Like