11 comments| lobste.rs
11 comments| lobste.rs
In web development and deployment, most software engineers are familiar with either: Separating the built SPA and the backend (Client-Side Rendering), or Return HTML directly from the backend (Server-Side Rendering) I recently (re)discovered 1 that there is a third way: embedding the built SPA into the backend’s binary file, and serving it directly. I think this is an elegant approach, as the pros are: Simpler deployment as we only have one binary file in the end Simpler code where we don...| nguyenhuythanh.com
Learn how to take a regular command-line application and convert it into a serverless function.| OpenFaaS - Serverless Functions Made Simple
Learn how to build functions from source with the Function Builder API and Go SDK for OpenFaaS| OpenFaaS - Serverless Functions Made Simple
This semester in university I had one professor that distributed lectures and other learning material as PDF files. Sounds perfect! I can use them and take notes directly on my iPad! – Me Nope, because these PDFs are not writable and protected by a password, rendering iPad note taking impossible. I mean, why would anyone lock a PDF file of a lecture in the first place? After a brief Google search, I learned that PDFs like mine can be unlocked by a high number of tools (qpdf, pdftk, …) wit...| tortel.li
How I switched hosting my Go-based side projects from Amazon EC2 to Fly.io, significantly simplified deployment, and saved a bit of cash while I was at it.| benhoyt.com
Introduction In this post, we will learn about portable or relocatable eBPF programs. You might wonder, can we not just copy our compiled program to another machine with the same CPU architecture and run it like any other program? Well, usually not. eBPF programs are more unique and rightfully so. They run directly in the kernel space and miss out on some of the help and abstractions that normal programs benefit from.| thegraynode.io
Go Modules Reference| go.dev
The Operator Pattern from Kubernetes is an excellent way of handling tasks in a cluster in an automated way, for example, provisioning applications, running backups, requesting certificates, and injecting chaos testing. As a Nomad user, I wanted to do something similar for my clusters, so I set about seeing how it would be possible. It turns out; it is much easier than I expected! While Nomad doesn’t support the idea of Custom Resource Definitions, we can achieve an operator by utilising a ...| andydote.co.uk