DerpyCoder @derpycoder.bsky.social · 17/01/2025Here's how I am doing the routing. I am using Echo framework, not the stdlib router. 120
DerpyCoder @derpycoder.bsky.social · 17/01/2025I might have to. I get why golang devs prefer the stdlib over anything else. Currently echo framework is not giving me any issues, but if does. I’m going full stdlib, no external libs for the core server. 120
DerpyCoder @derpycoder.bsky.social · 17/01/2025I just migrated away from JS land to Elixir land to Goland. I don’t want to move to PHP or JavaScript. I hope Templ doesn’t keep giving me issues. 120
DerpyCoder @derpycoder.bsky.social · 17/01/2025@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. 340
DerpyCoder @derpycoder.bsky.social · 10/01/2025I give up trying to search for this online. Please tell me the site name. 100
DerpyCoder @derpycoder.bsky.social · 10/01/2025You don’t need a library for File Walking in Go!! #golang, thanks for the fast defaults. engineering.kablamo.com.au/posts/2021/q...engineering.kablamo.com.auYou Don't Need a Library for File Walking in GoGo file walk implementations have radically different performance characteristics. In 2021 the native implementation has improved so much, you don't need anything else. 010
DerpyCoder @derpycoder.bsky.social · 08/01/2025What’s the binary size? Are you able to compile the project with tinygo without issue? 000
DerpyCoder @derpycoder.bsky.social · 07/01/2025What’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 140
DerpyCoder @derpycoder.bsky.social · 07/01/2025Haha, I didn’t touch the code, but my mind kept racing. 010
DerpyCoder @derpycoder.bsky.social · 07/01/2025bunny.net/optimizer/bunny.netBunny Optimizer | Dynamic Image resizer powered by a CDNImprove your website performance with next-generation image optimizer, dynamic image optimization, and CSS & JS minification powered by a CDN. 010
DerpyCoder @derpycoder.bsky.social · 07/01/2025For CDN based approach, Bunny CDN comes to mind. They also have image optimisation service for 10$ a month. 110
DerpyCoder @derpycoder.bsky.social · 07/01/2025Haha, same here. The todo list is overflowing and so is my brain. 110
DerpyCoder @derpycoder.bsky.social · 07/01/2025Haha. As for images, if they are sized dynamically and differently at different places then you can use imgproxy. Else just cli for webp or imageoptim is great. github.com/imgproxy/img...github.comGitHub - imgproxy/imgproxy: Fast and secure standalone server for resizing and converting remote imagesFast and secure standalone server for resizing and converting remote images - imgproxy/imgproxy 110
DerpyCoder @derpycoder.bsky.social · 07/01/2025Try unlighthouse.dev, it will run on every page, so you can get that score on every page.unlighthouse.devUnlighthouseLike Google Lighthouse, but it scans every single page. 210
DerpyCoder @derpycoder.bsky.social · 07/01/2025Whoa, you are killing it. I'm procrastinating, blank canvas is scary. 110
DerpyCoder @derpycoder.bsky.social · 07/01/2025This is what I tried as well. Which added to my confusion as well. This vs Form vs JS vs Cookies. 110
DerpyCoder @derpycoder.bsky.social · 07/01/2025I did the same, but on each form submission instead. So this clever. However I am confused between 3 approaches that Echo framework has. TokenLookup: cookie, form, header. Like which is more secure. At work I use form based. Maybe all 3 are secure. 110
DerpyCoder @derpycoder.bsky.social · 07/01/2025Yes, give it a try after your release, as this will be a time sink. There’s one or two 6 - 10 hours video on YouTube, which is the most comprehensive vdo on this. Also, courage is not needed at all, seriously. Even casual users are self hosting so many web apps, engineers have nothing to fear. 010
DerpyCoder @derpycoder.bsky.social · 07/01/2025They even have Omni, I think I reposted a post from @siderolabs.com, that allows users to manage their servers from a GUI. Like a self hosted, managed Kubernetes nodes. Kubernetes as the OS, instead of Kubernetes running on top another OS. I very much like the declarative nature of this approach! 120
DerpyCoder @derpycoder.bsky.social · 07/01/2025Using the talosctl to change or access machine config. And kubectl to talk with kubernetes. 110
DerpyCoder @derpycoder.bsky.social · 07/01/2025That’s so cool! At the same time, I think that modern servers can be much more lightweight and not even have this port scanning issue. For example, TalosLinux has no ssh binary, so what’s the hacker going to do? No unnecessary process in the background, just a server that serves HTTP. 110
DerpyCoder @derpycoder.bsky.social · 07/01/2025Thanks for this gem. I want to show some middle-fingers to haquers. 110
DerpyCoder @derpycoder.bsky.social · 07/01/2025I have been holding off on that hype train. Hearing good things so far!! 110
DerpyCoder @derpycoder.bsky.social · 06/01/2025I might have to.media.tenor.coma close up of an elderly man 's face with a beard and missing teeth smiling .ALT: a close up of an elderly man 's face with a beard and missing teeth smiling . 020
DerpyCoder @derpycoder.bsky.social · 06/01/2025If it’s not doing much heavy lifting, then why not do it in 256 kb ram instead of needing a supercomputer. Also I don’t want to run or Host Node.js any longer. I think I’m getting too cranky at the state of softwares today. 😅 210
DerpyCoder @derpycoder.bsky.social · 06/01/2025It’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 🚀? 130
DerpyCoder @derpycoder.bsky.social · 06/01/2025What 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!media.tenor.coma bald man with glasses is pointing at a tv screen and the words coincidence are above himALT: a bald man with glasses is pointing at a tv screen and the words coincidence are above him 000
DerpyCoder @derpycoder.bsky.social · 06/01/2025That’s how it was for me. Even flash was running on that pentium 2 system, with very limited ram and 40 GB hdd. Now, I hate how every app starts like an Operating Systems boots up. 010
DerpyCoder @derpycoder.bsky.social · 06/01/2025I interviewed 200+ candidates. And about 90% would reach out for .find() instead of writing a simple hashmap. I know not everyone cares of DS & Algo, or work for the big four, but still. This should be basic. I don’t think the bootcamp devs care, nor the devs coming in from universities. 210
DerpyCoder @derpycoder.bsky.social · 06/01/2025And frameworks, builders that bury everything even deeper. 110
DerpyCoder @derpycoder.bsky.social · 06/01/2025Yup, community has to be there. I can’t imagine myself building all the libraries from scratch. Non v1 packages makes me afraid of a language as well. 110
DerpyCoder @derpycoder.bsky.social · 06/01/2025Damn, I will have a look. I tried running Haxe on my system, and I ran into so many issues that I gave up. I think, I tried twice. Don’t even remember what issue it was or if I tried to fix it seriously. But I expect a language to be infallible, it should be rock solid. 110
DerpyCoder @derpycoder.bsky.social · 06/01/2025SDL2. Also I have nothing against Monogame, as it’s still code. Better than GUI based gamedev. Last I checked, after Unity’s debacle, Monogame got some funding. Their site looks good as well. I don’t know how people can deploy cross platform without some boilerplate libraries like Monogame. 230
DerpyCoder @derpycoder.bsky.social · 06/01/2025Oh wow! Of course, let me know whenever you are ready. I am looking forward to it. 110
DerpyCoder @derpycoder.bsky.social · 06/01/2025Yes, I long for the flash’s glory days. Maybe a new Newsground will arise. I started doing hobby gamedev in flash because of that. 130
DerpyCoder @derpycoder.bsky.social · 06/01/2025Oh wait I saw his repo now. He switched to C#. He called it blah, now something new called Foster. 110
DerpyCoder @derpycoder.bsky.social · 06/01/2025I think after Celeste, he is making his own. Don’t know if he is using any other library, maybe SDL2? 110
DerpyCoder @derpycoder.bsky.social · 06/01/2025That is cool, I have been waiting for you to finish it. I sometimes visit your site and it says that it’s in maintenance mode. 110
DerpyCoder @derpycoder.bsky.social · 06/01/2025Oh man, take a look the Celeste creator’s videos. He live streams creating engines for gamedev. The artist for Celeste used the game engine, used the in engine editor to put pixel art block by block and added life to the game. It is so fascinating! 130