yOm

@y0m
20 Followers
48 Following
35 Posts
FreeBSD; Developer: C, Go, Rust, Zig; Gamer. Hominem te esse memento

#Coding #Ziglang #Zig
After "zplocgi", a way to make CGI program with Zig,
I've also added "zformdata": https://codeberg.org/y0m/zformdata, a "multipart/form-data" implementation for HTML form.

They almost complete each other, as shown in this sample repository: https://codeberg.org/y0m/testcgi.

It may not be perfect, but at least that's my PoV on these subjects.

zformdata

KISS implementation for multipart/form-data

Codeberg.org

I'm pretty sure you've always wanted to write CGI, especially with Zig #ziglang

Do not fear anymore for your life! (or do...)
zplocgi CAN help you, although nightmarishly named and also named with deep meaning 🌀

https://codeberg.org/y0m/zplocgi

And just like for any CGI, a new beginning awaits You!
🎶 dissonant jingle in the background 🎶
✨ zplocgi! Simple CGI! ✨
(the project is real, this presentation is not)

zplocgi

Simple implementation of CGI for Zig

Codeberg.org

#FreeBSD
Don't be too harsh ...

$ freebsd-version -kru
11.2-RELEASE-p8
11.2-RELEASE-p8
11.2-RELEASE-p8
$ uptime
2:25PM up 2600 days, 5:06, 2 users, load averages: 0.31, 0.24, 0.25

Hello #FreeBSD fellows.
I've been trying for a few days to use `buildah from ...` inside a freebsd-runtime:15.0 podman container. I could manage to work around the `extattr` using hooks, but I'm still getting stopped a 'operation not permitted' error, even looking buildah's code, or using truss for errors before the problem occurs.
Ofc, it's working directly on the host.
But I guess I just wanted to try to build freebsd images from containers triggered by CI in forgejo.
Any clue or advice?
FreeBSD Containers using Podman

Table of Content Some contextal informations /etc/pf.conf and sysctls Testing configuration… Emerged problem from the PF+sysctl configuration Some contextual informations As everytime I’m trying myself on posting on this blog, I’ll take some time to try to put some context around my writings… Some of you may known, there has been some works for now over a few years on FreeBSD to try to give “Containers” (Docker, Podman, …) to its users. I’ve been watching its evolution from my point of view, sometimes interesting and sometimes I was wondering if this subject was going anywhere.

y0m's blog
Zig SHOWTIME is returning starting with a new episode by the end of January. Full announcement coming soon :^)

#FreeBSD #Bhyve #Gitlab
I've spent some time building a Gitlab
runner vm-bhyve executor in FreeBSD, and I've tried to explain what I've used to achieve this in this blog post: https://yom.iaelu.net/2024/12/gitlab-runner-bhyve-executor/
It's not perfect, but it should be helpful.

updates: I've fixed some typos, and added some missing essential configuration.

Gitlab Runner VM-Bhyve Executor

Some contextual informations I’ve been using self-managed Gitlab both for work and home projects, and just as anyone would, I’ve learnt to use the Gitlab CI, installing the Gitlab Runner insed various OS, as a simple shell executor on FreeBSD, and also on Docker inside a Linux virtualized guest. I like both, because the shell executor can be a really quick interface on a development server used by many developers, and because Docker let you manage things in fresh containers almost always up to date.

y0m's blog
@mwl Hello, I've just found out that you were kickstarting "Run Your Own Mail Server" and some friend were trying to get a paperback version, but it seems it's not available anymore. Any info on some other marketplace availability?
recorded a Windows 95 full disk defrag to soothe your timeline.
Enjoy Netflix? You Should Thank FreeBSD

Netflix is one of the most popular streaming services in the world. But you already know that. Don’t you? What you probably did not know is that Netflix uses FreeBSD to deliver its content to you. Yes, that’s right. Netflix relies on FreeBSD to build its in-house content

It's FOSS