@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.
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
What’s RapidAPI alternative to sell APIs? This stops me from using them: “RapidAPI currently only pays out API providers via PayPal” PayPal, is a no-no for me. #buildinpublic, #golang, #indiehackers
It’s ironic how lighthouse is written in JavaScript, given it’s a “performance” testing tool. Was it not possible for it to be written in performant language? Is there a #rust or #golang based alternative to #lighthouse, that’s blazingly fast 🚀?
What are some budget thocky keyboard everyone’s using? Keychron K2 is dying on me. It worked great for my need. Now the ‘tab’ and ‘q’ keys are notchy and not so responsive. Just happened after I switched to nvim!
a bald man with glasses is pointing at a tv screen and the words coincidence are above him
ALT: a bald man with glasses is pointing at a tv screen and the words coincidence are above him
media.tenor.com
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. 🤦
Hey Guys, Check this out, I don’t need this as I have one server, but if you are a power user, checkout Omni. It will make managing Kubernetes on Baremetal or Cloud easy! Our own managed Kubernetes!! #golang, #kubernetes, #taloslinux, #buildinpublic www.youtube.com/watch?v=fZMk...
Introducing Omni
YouTube video by Sidero Labs
youtube.com
Happy new year bare metal Kubernetes enthusiasts 🎉 We’re starting off the year with a gift 🎁 Repost ♻️ and like ❤️ this post and we’ll pick 10 people to give a free year of Omni SaaS ($120 value) Follow us on other platforms for more chances to win Winners will be announced on Jan 2nd
Anyone using #duckdb or #chdb embedded with #golang? Can we deploy these two like #sqlite and have lightweight analytics on our sites? clickhouse.com/chdb duckdb.org
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 wow, influencers peddled Honey to everyone, and they are getting scammed in return. www.youtube.com/watch?v=vc4y...
Exposing the Honey Influencer Scam
YouTube video by MegaLag
youtube.com
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.
@psionicalch.bsky.social, are you using #templ? I'm running into a wall, when I'm trying to do dynamic values for the Critical CSS at the top of a layout page. I'm unable to use the templating syntax inside style tags. Any workaround or suggestions? Without this, fonts flicker!
Anyone using Microsoft Clarity? Should I steer clear of it? clarity.microsoft.com
Microsoft Clarity - Free Heatmaps & Session Recordings
Clarity is a free user behavior analytics tool that helps you understand how users are interacting with your website through session replays and heatmaps.
clarity.microsoft.com
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!
Can’t believe this came out 2 years ago! I was good at C/C++/C# and then someone egged me about not knowing “jAvaScRIPt”. I had to prove him wrong… youtu.be/Uo3cL4nrGOk
Interview with Senior JS Developer
YouTube video by Programmers are also human
youtu.be
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!!
Now that I have slimmed up my Docker image, how do I inspect its contents? Using Dive!! github.com/wagoodman/dive
GitHub - wagoodman/dive: A tool for exploring each layer in a docker image
A tool for exploring each layer in a docker image. Contribute to wagoodman/dive development by creating an account on GitHub.
github.com
This is a favourite tool of mine! I built a Docker image of my project, and it was bloated. I thought to myself, it’s just #golang & #libvips, what else needs to be in there to run that binary? Why can’t OS be lightweight? Turns out there’s a tool for that!! github.com/slimtoolkit/...
Also adding a syntax highlighter, to my asset pipeline, for occasional snippet sharing. Basically, it will take `.snip` files from my asset directory and move them to build directory. github.com/alecthomas/c...
GitHub - alecthomas/chroma: A general purpose syntax highlighter in pure Go
A general purpose syntax highlighter in pure Go . Contribute to alecthomas/chroma development by creating an account on GitHub.
github.com
I wish #hetzner had a Docker Image repository, so I can just upload images there.
This is a favourite tool of mine! I built a Docker image of my project, and it was bloated. I thought to myself, it’s just #golang & #libvips, what else needs to be in there to run that binary? Why can’t OS be lightweight? Turns out there’s a tool for that!! github.com/slimtoolkit/...
GitHub - slimtoolkit/slim: Slim(toolkit): Don't change anything in your container image and minify it by up to 30x (and for compiled languages even more) making it secure too! (free and open source)
Slim(toolkit): Don't change anything in your container image and minify it by up to 30x (and for compiled languages even more) making it secure too! (free and open source) - slimtoolkit/slim
github.com
Found another ingredient for my asset pipeline! It's faster than esbuild, and we can invoke the minifiers programmatically. Just what I need!! github.com/tdewolff/min...
GitHub - tdewolff/minify: Go minifiers for web formats
Go minifiers for web formats. Contribute to tdewolff/minify development by creating an account on GitHub.
github.com
This is incredible. The standard library in #golang is so good, I was searching for fast file walker so I can pre process them in my asset pipeline, turns out I don't have to! engineering.kablamo.com.au/posts/2021/q...
You Don't Need a Library for File Walking in Go
Go file walk implementations have radically different performance characteristics. In 2021 the native implementation has improved so much, you don't need anything else.
engineering.kablamo.com.au
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. 😮💨