Tag: Development
Showing all entries and posts with tag "Development"
Other Posts
Kutta, a Tiny Wind Tunnel in Go
Kutta is a small 2D wind tunnel written in Go with Ebitengine: it streams a Lattice-Boltzmann flow past an airfoil you can draw, cut into a wing and flap, and animate. Qualitative …
Glaze, a Desktop WebView in Go Without CGO
How Glaze stopped embedding a C++ library and started calling the operating system's WebView directly, in pure Go, using purego to keep cgo and native dependencies out of the …
Neko, a cat chasing the mouse with Go and Ebitengine
A Go reimplementation of the classic Neko: transparent window, original sprites, sound, and a cat that chases the cursor across the screen.
LQS: A Practical Tool for Testing and Debugging SQL
LQS: a practical tool for testing and debugging SQL. It allows integrating metadata, Lua scripts, and auxiliary queries to optimize your workflow and detect errors early.
Sorting and Removing Duplicate Lines with Neovim
Lua functions for sorting and removing duplicate lines in Neovim.
Bookmarks in Neovim
How to create a bookmark system in Neovim
GoScope: Exploring and Navigating Go Projects
GoScope, command-line tools to explore Go projects and efficiently locate functions, variables, and types. Learn how to use them to navigate code interactively and boost your …
Static Compilation of the Lua Interpreter: Consistency and Portability
How to statically compile the Lua interpreter to avoid problems with dynamic library dependencies.
Safe JSON Validation and Integration in Go APIs with json.RawMessage
How to safely validate and integrate JSON in Go APIs using json.RawMessage. And how to log invalid JSON errors while keeping the system's normal flow running.
Benchmark: Named vs Explicit Returns in Go
Performance comparison between named and explicit returns in Go. Learn how to measure speed with benchmarks and interpret the results.
Programming as Art
Exploring generative art with simple JavaScript programming, bringing creativity and code together to enrich the site experience.
Generative Art in JavaScript for the Sides of the Site
I added a bit of JavaScript to create generative art and make use of the side margins of the site that go unused when the screen is very wide.
Post-Apocalyptic Computing
In this text I propose an interesting exercise: how to preserve some of humanity's knowledge after a catastrophe of apocalyptic proportions.
Deploying Applications Using curl
How to distribute Linux application binaries using curl and bash scripts.
Studying Assembly
Why studying assembly matters and how it will make you a better programmer.
Hidden Files on UNIX
A classic case of how a bug became a feature.
Socket Client and Server in Golang: A Chat Example
A chat example (TCP/IP socket) written in Go with goroutines and channels, this time with a bit of optimization for speed.
Assembly on macOS M1/ARM64.
Getting started with assembly on M1/ARM64 processors.
Socket client and server in Golang with signal handling.
Adds signal handling to the TCP socket client/server example.
Socket Client and Server in Golang with Ping and Pong.
An example of a socket client and server written in Go with persistent connections, now sending and receiving ping/pong messages to make sure the connection is alive.
Socket client and server in Golang with goroutines and channels.
An example of a socket client and server written in Go with persistent connections, now using goroutines and channels.
Socket Client and Server in Golang.
An example of a socket client and server written in Go with persistent connections.
Remote Clipboard
How to copy to the local clipboard from a headless server with no graphical environment.
Speeding Up the Site
Embedding images and CSS directly into the HTML to avoid extra browser requests and speed up the web page.
How to Extend Git
How to extend the git command by adding your own parameters and new features.
Headless VirtualBox
How to use VirtualBox in headless mode, configuring virtual machines from the command line.
How to Shrink Your Container Using Multi-Stage Builds
Because Golang produces static, self-contained executables, we don't need anything installed in the container, not even libc. That means we can use a scratch image and build a …
First steps when setting up a new server
A practical guide to the setup steps I usually run when I bring up a new server, whether it's a cloud machine, a local VM, or even a Raspberry Pi.
Assembly, assembler, and machine language
Explaining the difference between assembly, assembler, and machine language