Black Friday: 12 months of WIP for $99, until Monday 11:59pm PT. Get the deal
Back
Marc Köhlbrugge
Pinned
Add option to hide life-updates and similar todos from your feed #wip
Load previous page…
Delete some old (empty) projects that no longer had a user associated with them, because the user deleted their account #wip
Cache logo_color on project records, rather than fetching metadata of logo attachment each time which required 1-2 additional database queries whenever we showed a project's color somewhere #wip
Fix typo that broke homepage #wip
Come up with idea for View Components to natively support caching by running callbacks whenever an associated record is updated #wip (psuedo code)
Use fixed project logo URLs to reduce DB queries. If a project emoji logo doesn't load, please do hard a reload to refresh your browser cache #wip
See response times drop significantly after switching to permanent avatar URLs and fixing indexes for todo similarity search #wip
Move to fixed avatar URLs for all users ( wip.co/@marc/avatar ) and cache it with Cloudflare, so we no longer need to run an ActiveStorage database query each time we show an avatar somewhere #wip
Write long post about finally cracking "social network for makers" #wip twitter.com/marckohlbrugge/st…

✅ post reply

Reply
Load "recent media" on user profiles in a turbo frame to see if it improves page speed #wip

it is noticeably faster!

Reply
Add caching keys as HTML comments so I can see if todos are properly cached #wip
Ask author of `neighbors` gem how to optimize my SQL queries, because I just realized that by adding vector embedding to the todos, we're now loading ~25x as much data whenever we're loading todos from the database even though in 99% of cases we don't need the embeddings #wip – github.com/ankane/neighbor/is…

maybe dumb idea but can't you speed things up by just not adding embedding columns in your select statement? Or am I missing something?

Reply

@toomasb Yes, that's one of my suggested solutions. But having to specify a custom select all over the place gets messy.

Reply
Show 4 more replies
Don't try to load todo comments if comments_count is zero, saving an unnecessary network request and making the site feel a bit more snappy #wip

Whole internet is full of unnecessary network requests yeah

Reply

@marc I spotted a bug which might be related to this. On my lumphini park post, you commented and I responded, but it seems the entire comment tree has suddenly disappeared. Here's the link: wip.co/todos/297906#comment_2…

Or at least it's not showing any comments for me now, but was before. Is it possible comments_count is returning 0 incorrectly for this post?

Reply
Show 2 more replies
Use comments_count cache for "Reply 3" buttons instead of doing a database query for each 😅 #wip
Make WIP streak mascott called "Streaky McWipperson" #wip

Haha cool! Midjourney?

Reply

@screenfluent Dall-E

Reply
Show 2 more replies
Add a comments_count cache to todos #wip
Simplify the way we count comments on a Post by including all replies too #wip
See someone trying to hack into my old Twitter account I haven't used in 10 years, so thank you for reminding me about it #life

twitter had a massive data leak last year (emails/usernames follower counts) I guess they are just running scripts to try and test if they can login

Reply
Render SVG fallback avatars on WIP itself rather than the unreliable node server we had before. Example: wip.co/avatars/1.svg?text=MK #wip

@laurent Clever! We also support emoji and colors are based on ID, so have to generate dynamically. But it’s quick to render and Cloudflare caches it after the first request

Reply
Show 1 more reply
Add swapfile to server #wip
Manually clear out PgHero jobs that were stuck in the queue, not allowing any other backgrounds jobs to run #wip
Home
Search
Messages
Notifications
More

Are you sure?