Alberto Sosa

@Petox03

Software Development Engineer | Laravel (TALL) & Go

Commit activity

209 commits in the last 6 months

longest streak 14 dayscurrent 14

5,488 XPMaximum rank (UID 0)

Yesterday

AirPHP #4 and more weird stuff php can do: the phones found each other… and then started flickering in and out of existence 👻 The UDP discovery worked, but peers blinked in and out. Turned out to be 4 bugs stacked on top of each other: peers.json written non-atomically, a TTL…
Show thread

Tue, Nov 24

Follow-up on the PHP-server-inside-Android experiment. Today I ran capability probes on the real device to see what's actually viable vs what only exists on paper. The good news first: 📡UDP broadcast works BOTH ways in pure PHP, the phone emits and receives LAN beacons, so…
GitHubGitHub - Petox03/AirPHP: An AirDrop-style PoC built with NativePHPAn AirDrop-style PoC built with NativePHP. Contribute to Petox03/AirPHP development by creating an account on GitHub.
Show thread

Sun, Nov 22

Sat, Nov 21

A few days ago I built an HTTP server from scratch in Go to see what's under the hood. Also built a personal mobile app. Today I took it somewhere weirder: a #php HTTP server running inside an #android app, the phone itself serving the LAN. 1 GB to disk at a speed of about 23…

Fri, Nov 20

Thu, Nov 19

Wed, Nov 18

What is your favorite way to make #coffee ? I've been using an espresso machine for a few years now, but I wanted to try an Italian moka pot
Those are good, I used one of those when just making the one cup for myself. I got an Ibrik last year for Christmas to make Lebanese style coffee. No filter, flavoured with cardamom and sometimes a little sugar.

Tue, Nov 17

Mon, Nov 16

I had the day off from work today, so I decided to do something different. I built an HTTP server from scratch in Go to understand what really happens under the hood before a framework returns a fancy response. In this first iteration, I managed to set up a TCP listener, handle…
GitHubGitHub - Petox03/malport: An attempt to build an HTTP server “from scratch” using the net library in GoAn attempt to build an HTTP server “from scratch” using the net library in Go - Petox03/malport
Welp, I just completed a second iteration of the HTTP server. I moved on to modeling actual structs and responses. - I implemented safe parsing of the Request Line (Method, Route, HTTP Version). - I handled errors defensively for malformed headers, and corrupt Content-Length…

Sun, Nov 15

🚀 Keim v0.2.3 has just been released, and since I never posted v0.2.2, here's both. v0.2.2: A beta user encountered a rare edge case: the "init" command generated a faulty project because of their Go version, “go1.26.5-X:nodwarf5”. 😵‍💫 That suffix was copied verbatim into…
GitHubRelease v0.2.3 · Petox03/Keimlightweight and idiomatic CLI that creates projects container-first in Golang - Release v0.2.3 · Petox03/Keim

Sat, Nov 14

GitHub Actions are simply very powerful. The more you need to automate specific tasks, the more you discover the power of these “simple” tools.
Yeah, same goes with Forgejo. Their 'actions' are largely based on GitHub (and mostly compatible).

Fri, Nov 13

Thu, Nov 12

Thu, Nov 5

Wed, Nov 4