Alberto Sosa

@Petox03

Software Development Engineer | Laravel (TALL) & Go

Commit activity

227 commits in the last 6 months

longest streak 17 dayscurrent 17

6,032 XPMaximum rank (UID 0)

Fri, Nov 27

My laptop was dying. Or so I thought. The thing is, #windows is such a drag 🫩 26 GB free on a 512 GB drive, fans screaming, bloatware respawning every time I killed it. WidgetService came back from the dead twice, felt personal. Two weeks of digging later, what I learned: - The…
How did you free it up? I'm also running out of space on my 512gb ssd (ssd prices aren't smiling too) and my fans always scream even when I just turned it on. I really want to switch to Linux but I still have a couple of softwares I use on windows.😫

Thu, Nov 26

Wed, Nov 25

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

Lately, I've been really curious about measurements when making #coffee with my espresso machine. I didn't want to write everything down on paper, and none of the apps or websites out there quite met my needs. So I built my own using #nativephp 🤯 Being able to build my own tools…

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