Loris Bognanni

Loris Bognanni

@loris.codes

I spend way too much time in front of screens πŸ§‘β€πŸ’» Generalist software developer 🏠 https://loris.codes πŸ“ London, UK

94 followers97 following130 posts

Management: nonono you can't just work on that rafactoring that will improve development experience for all of engineering. We can't just trust your experience, we're ✨data driven✨! How much time is it saving? How better is it making things? We need data!

Also management: We need a plan to increase AI adoption org wide, because we're AI first now. It will make you more productive, of course! Btw you should also be in the office more often, it's going to improve productivity and communication so much! Who needs data, this stuff is obvious!

I had some weird 2d canvas issues with #Firefox on #Linux, where Firefox would always render a blank canvas. #Zen browser worked out of the box, so comparing flags led me to enable `layers.acceleration.force-enabled` and `gfx.webrender.all`. That fixed it πŸŽ‰

It took a reeally long time on and off but here is my _once Windows only_ clock app running on Linux! Partial transparency and everything πŸ₯Ή Windows Forms => @avaloniaui.net System.Drawing => SkiaSharp Still a bunch of things to port over, but getting something on screen feels great! #dotnet

How do other indie devs deploy their web apps? I use a single VPS and Docker swarm but would be interested to see what the #indiedev hive mind thinks! #buildinpublic

Loris Bognanni@loris.codes

"As a solo maintainer, I need something manageable without breaking the bank." If that resonates with you, check out my blog post on how I deploy web apps in 2025 using Docker Swarm, GitHub Actions, and Caddy - all on a single VPS. codemade.net/blog/my-dock... #Docker #WebDev

Every other tool out there wanted a file upload, so I had Cursor build me a simple tool to transform an image from my clipboard into its data:uri version. It took only one prompt!

My conspiracy theory is that the so called "reasoning" models are not really reasoning, they're just over-explaining whatever was the first response they managed to auto-complete. And they take A REALLY LONG TIME doing so!

It took me a while to understand multi-stage docker builds (after all, why not build outside docker and package the result?), but now that I do, it kinda feels like a superpower

fun fact: if you're implementing drag and drop, `setPointerCapture` / `releasePointerCapture` will keep you dragging even when you try move things out of their CSS container.

And adding `touch-action: none` to the container's CSS will prevent the browser from scrolling the page on mobile while you drag your finger on your HTML element πŸ€“