Baillehache Pascal's personal website

Baillehache Pascal's personal website

Yet another hero 🤓 writes a web server in C on an obscure Orange Pi, because who needs security or stability when you can have #nostalgia for the 90s with a marquee tag? 🌐✨ Meanwhile, the rest of us are just waiting for the inevitable crash as this "fun" project embraces the true essence of its name—unsafe. 🤦‍♂️💥
http://unsafehttp.benren.au #webserver #OrangePi #Cprogramming #techhumor #unsafe #HackerNews #ngated
Unsafe HTTP

unsafehttp – tiny web server from scratch in C, running on an orange pi

http://unsafehttp.benren.au

#HackerNews #unsafehttp #tinywebserver #Cprogramming #OrangePi #webdevelopment

Unsafe HTTP

Question! Should I also free the string in the following code or nay. Cuz I’m already freeing the arena so I thought it wouldn’t be a big deal:

int main() {
arena = Arena_allocator(1024);

struct string* str = string_new("Hello, World!");
printf("%s\n", str->data);

Arena_deallocator(arena);
return 0;
}

string_new uses a allocator getting pointer from arena

#c #cprogramming #clang

At my day job I'm working on some #firmware for things built around the #Microchip #SAM D5x/E5x #ARM-based microcontroller. As I'm still pretty new to #embedded programming and we're doing this bare-metal—from the data sheet—I've started collecting some notes about things that surprised me while doing that. They're on my website. Perhaps someone besides me will find this useful. The list is also going to be growing as we go.

https://spiffyk.cz/notes/#sam

#atmel #atsam #cprogramming

Fixed my very first "buffer underflow" since the 90s 😅, refactored and improved code readability, doc comments, etc. I'm quite happy with the current status.

Next step: adding the logging system and removing all the debugging prints. Maybe I'll continue later, who knows... 🤓 😆

#Goophy #gopher #GopherProtocol #cprogramming #c #programming #devlog #selfhosted

Quetzal programa en C - 14/8/2025, 12:05:24

https://video.hardlimit.com/w/kNmpooHGjW8C4fXvWKGKsc

Quetzal programa en C - 14/8/2025, 12:05:24

PeerTube

Quetzal programa en C - 13/8/2025, 21:03:08

https://video.hardlimit.com/w/igDKwDWgn5TW8TFbXP7UPf

Quetzal programa en C - 13/8/2025, 21:03:08

PeerTube
Quetzal programa en C

PeerTube

As promised, here we go: #Goophy in action. As you can see it's approaching an usable status.

Next steps: refactor more code, add a logging system and start my own gopherhole to test it in a real case scenario.

#gopher #GopherProtocol #cprogramming #c #Internet #selfhosted