--> How I do (type-safe) container types in C home articles data policy github rss How I do (type-safe) container types in C Recently, after seeing two articles on how to achieve container-types in C, I decided I'd also write one. Martin Uecker's article | HN thread Daniel Hooper's article | lobste.rs thread Why am I not satisfied with these two articles The only correct reason is that I suffer…
--> I wrote a bug and It made me reflect on OOP home articles data policy github rss I wrote a bug and It made me reflect on OOP The feature I wrote a piece of code that would search for matches in a text block and try to correlate text position with line numbers. let re = Regex::new('substr'); // impl Iterator<Item=usize> let source = re.find(text_block).map(|m| m.start()); let line_ends = [10,…
--> You don't have to boot from just 512 bytes home articles data policy github rss You don't have to boot from just 512 bytes Wait, what? Conventional wisdom says that you can only boot from the first sector of a floppy (512 bytes) or something that looks and behaves like the first sector of a floppy. But it doesn't have to be the case as long as you boot from a CD. The "normal" booting process…
--> Building a blog with Rust in 2023 home articles data policy github rss Building a blog with rust in 2023 As per the name, this blog is imperfect . I built it with the idea of making it as easy as possible for me to get something released without bikeshedding too much. Building it in rust made it easier to do that, but it still came at a cost. Requirements There were a few thing I was not…
--> An imperfect blog home articles data policy github rss An imperfect blog I have trouble finishing projects, my Projects/ directory is filled with half-finished parsers, barely working game engines, three slightly different versions of a web server and more than a dozen other side projects I started but never finished. This blog is no exception; I started considering having my own website two…