Building ORM Metadata in C With offsetof and Variadic Macros
How orm-c turns a plain C struct into runtime field metadata with offsetof, sizeof and variadic macros, and how SQL for several dialects is built from it.
Engineering Journal Notes from real projects
Practical write-ups from building products for clients and maintaining open-source tools: what worked, what broke, and the checklists I now use every time.
Start here
/blog
How orm-c turns a plain C struct into runtime field metadata with offsetof, sizeof and variadic macros, and how SQL for several dialects is built from it.
A walk through the JWT flow in fastapi-reactjs-crud, from token issue to a FastAPI dependency to React's fetch call, plus the limits I would fix first.
How django-cms-api adds likes and dislikes to any Django model with a generic foreign key and a toggle endpoint, plus the gaps I would close before reuse.
Tracing memory usage through Metricbeat-ELK-Grafana, from the Metricbeat module to a daily Elasticsearch index and a provisioned dashboard, plus what to fix before real use.
Reading ecommerce-microservice to see how nginx routes three Flask services, how a shared JWT secret replaces service calls, and what breaks first.
How the Item CRUD in django-setup, an older starter of mine, fits together with a ModelForm, four function views, named URLs and one shared template, plus what I would change.
How startproject and startapp --template render files, shown with my django-rest-api-template: the .py-tpl suffix, the variables it uses and the DRF settings it adds.
A beginner look at docker-mysql-phpadmin, covering how three PMA settings point phpMyAdmin at a MySQL service by name, and what PMA_ARBITRARY quietly allows.
A beginner look at wordpress-inside-docker, showing why the database sits in a named volume, the site files in a bind mount, and which command deletes which.
A beginner how-to for fastapi-postgres-sqladmin-docker, covering the SQLAdmin mount, a model view, how DATABASE_URL reaches the app and what to change first.
A beginner look at postgres-and-pgadmin, covering the init directory mount, the ten extensions in init.sql and why editing that file later changes nothing.
How ecommerce-project prices a cart in Django on the server, with member and exclusive rates, tax and a delivery table, and where the checkout copy drifted.
How the ringtonefly-cms project turns each Ringtone row into a django CMS page through save() and plugins, and what patching a copy of the CMS to tag those pages costs.
What aws-lambdas-typescript-example really contains. It is an Express server in TypeScript with a small logging middleware, not a Lambda function.
A beginner walk-through of cython-example. The same loop in Python and Cython, how setup.py compiles it, and what the timing script does and does not prove.