HNHacker News
TopNewBestAskShowJobs

mati365

289 karma · joined May 20, 2022

submissionscomments
mati365··on Writing a Compiler is Surprisingly Easy (part 1)
* compiler without optimization phase
mati365··on A C Compiler that fits in the 512 byte boot sector of an x86 machine
Slightly different idea but currently I'm working on C + Assembler Compiler to prototype and run such 512B games / apps for retro CPUs.

https://github.com/Mati365/ts-c-compiler

mati365··on Dockerize a React app
I used to use rootless Podman Quadlet with autoupdate instead of docker compose. It seems to be much more stable and its integration with SystemD logs is great.
mati365··on Building and programming a 16-bit Intel x86 breadboard computer [video]
Agh yes, but it is quite hard to run node on such old CPUs
mati365··on Building and programming a 16-bit Intel x86 breadboard computer [video]
Recently I made C compiler for such old CPUs.

GH: https://github.com/Mati365/ts-c-compiler

mati365··on Google Kubernetes Engine incident spanning 9 days
Nomad solution moves complexity from tech to license ;)
mati365··on Dockerized local and offline backing up of PostgreSQL with rotation, compression
How do you update postgres on CoreOS? Its better to keep IT immutable so in case of change the whole image must be recreated?
mati365··on Show HN: Pigsty – Free RDS Alternative
to increase attack surface
mati365··on Writing a C compiler in 500 lines of Python
I made similar project in TypeScript[1]. Basically multipass compiler that generates x86 assembly, compiles it to binary and runs it. The worst thing were register allocator, designing IR code and assembler.

[1] https://github.com/Mati365/ts-c-compiler

mati365··on Helm-Compose – The Docker-compose like tool for K8s development
Why not just use podman quadlet and systemd?
mati365··on Zero-Downtime Hetzner Deploys with Ansible
I used to deploy Podman Quadlet containers there and I'm super satisfied.
mati365··on Rectify11 Improving upon the Windows 11 experience
No info about what it is
mati365··on C89 compiler produces printable executables from C code [pdf] (2017)
Recently I was working on something like that [1]. Basically I created simple C compiler (with IR and other stuff) that compiles code to basic X86 16bit instructions which can be directly booted into real mode.

[1] https://github.com/Mati365/ts-c-compiler

mati365··on Docker Acquires Mutagen
What's your salary?
mati365··on Make your programs run faster by better using the data cache (2020)
OpenMP is doing something like that
mati365··on Make microservices look like monoliths
It makes no sense. Why not just create modular monolith?
mati365··on Every Signature Is Broken: Insecurity of Microsoft Office’s Ooxml Signatures
Isn't the file part of the file system which can be file too? Basically everything everywhere is broken.
mati365··on Node.js built-ins on Deno Deploy
Reinvent of unevil / pledge
mati365··on Podman Desktop 1.0
love
mati365··on MRSK: Deploy web apps anywhere
Why not use just podman systemd service (with quadlet)?
mati365··on Tiny-C Compiler (2001)
Recently I'm working on toy C compiler and x86 Assembler in TypeScript[1] and I can confirm that the amount of work that have to be done to compile and print simple Hello World is astronomically huge (as the satisfaction)

[1] https://github.com/Mati365/ts-c-compiler

mati365··on Mysterious object is being dragged into the black hole at the Milky Way’s center
Maybe it is smaller blackhole with gas around itself
mati365··on Blink virtual machine now supports running GUI programs
So we invented Java again?
mati365··on Accidental complexity, essential complexity, and Kubernetes
Kubernetes and its complexity again..
mati365··on A JavaScript Runtime in ~100 lines of code
It is just a wrapper..
mati365··on Flowers for Algernon (1965) [pdf]
Mine too but I was always wondering why haven't the main character mind been used by scientist to improving method used in book?
mati365··on Docker is dead? Podman – an alternative tool?
It's also happening on Debian. Podman seems to be also losing quite often network firewall configuration after killing containers that were using cached images so you are not able to access internet from containers (logs say its libpodman bug)
mati365··on Docker is dead? Podman – an alternative tool?
Have you ever used podman-compose? It's amount of bugs and missing features is bigger than actual features count.
mati365··on Memory Safety for SerenityOS
So it is something like HolyC but for Serenity?
← PreviousPage 3 of 3