DerpyCoder

@derpycoder.bsky.social

Engineer by Passion Backend + Frontend #golang, #templ, #tailwindcss, #alpinejs, #htmx Database #clickhouse, #sqlite Devops #kubernetes, #taloslinux, #hetzner Workhorse #nvim, #zellij, #wezterm, #starship #selfhosting, #indiehacking, #microsaas

@psionicalch.com , Is Golang Templ unstable? I’m running into lots of weird issues. LSP is pointing out wrong places for errors. JavaScript and CSS formatting and highlighting is not working in the style and script tags. For loop is acting weird.

YouTube on web is leaking memory! One tab reached 1.2 GB, WTF? Here I am, trying to reduce the memory footprint while developing by, using only CLI tools, and open browser tabs are eating up ram. Hardware developers must really hate web developers. What a waste of resources. 🤦

I have made lots of art, both good and bad. I have never felt attached to any AI art that I generated, unlike the ones I painstakingly created. I don’t think I will get attached to AI generated code either. I see why and how it’s increasing velocity for others. But it’s not for me.

I was somewhat lucky to have started my studies with C, C++ so I got to understand what was happening to the computers. Then I dipped my hands in with LAMP stack, so I got to understand web apps. I saw bootcamp developers using React, with no grasp on Javascript. I fear what AI will do to them!

Just lost lots of open tabs on Firefox, again. Last week Chrome failed to restore my tabs. Tabs were open, but the site link was gone. What’s up with these unreliable pieces of tech. Chrome used to be fast, now it boots up slow. I have to now go through history to recover what’s lost.

Bluesky video upload limit is annoying, so I read around to find out the best format and how to reduce the size of my videos. Here's the magic incantation: `ffmpeg -i input.mp4 -vcodec libx264 -crf 20 -preset medium -acodec aac -b:a 128k output.mp4` This got my video from 181 Mb down to 852 Kb!

I’m never trusting any starter pack ever again!! I saw an account with 1 post, another a domain squatter, some filled with starter packs to the brim, and marketers with no substance just call to actions! And somehow they have managed to weasel their way into creator/indiehacker starter packs!

I got everything right, with asset loading and what not, My custom Asset Pipeline helped me achieve this perfect score. Along with Brotli, Cache-Control Immutable, Client Hints, Highway Hash, Text Minification! Now, how do I reduce the TTFB? Anyone? Varnish or CDN? For MVP? Also, #golang rocks!!

Page Speed Index MobilePage Speed Index DesktopAll Assets Optimally Loaded

Yay, Asset Pipeline is shaping up nicely. Todo: - [ ] PNG/WebP/AVIF conversions, with different sizes - [ ] Snippets with dynamic styling & lexers - [ ] Import Maps, perhaps in `gob`, so the imports in #templ can be dynamic - [ ] ffmpeg for gif or videos - [ ] Changing imports to use hash #golang

Golang Asset Pipeline.

I made a mistake of just clicking follow all in starter packs. Now I have close to 750 Followings, with whom I didn’t build any rapport. There are lots of marketer in the mix and people with tech stack with which I can’t relate. I want to go back to people I interacted with. 😮‍💨