Marek Knápek
banner
marekknapek.bsky.social
Marek Knápek
@marekknapek.bsky.social
Level 33 C++ sourcerer. https://about.me/marek.knapek
I'm happy with Server 2022 (on a desktop computer). Not sure how Server 2025 behaves.
October 19, 2025 at 11:44 AM
Last time I used em dash, I also googled hbox overfull. Might save you some time.
October 3, 2025 at 8:42 AM
Is diskette read speed fast enough to play the video in real time?
October 1, 2025 at 2:00 AM
I was half expecting that MB_ICONSTOP is zero, but it isn't.
September 19, 2025 at 4:57 AM
Clang inside WASM inside web browser ... I have an idea ... offline Compiler Explorer!

Everything is slowly shifting from desktop apps to web apps. What about entire operating system inside WASM and web browser?
September 17, 2025 at 9:12 PM
Because I don't know the difference. My goal is to run C in web browser. I wanted to do everything "by hand" and use as little code as possible (including generated code). And I achieved my goal to my satisfaction. The repo is for my own reference in the future. I will research more your suggestion.
September 17, 2025 at 8:44 PM
OK the problem was on my side, I was doing something wrong. I set the stack pointer to zero and in WASM code it underflowed under zero. I learned from my mistake and created minimal WASM repo at github.com/MarekKnapek/...
September 17, 2025 at 7:23 PM
JSON is text and text has its pitfalls too. Various encodings, is it cp1250, UTF-8, UTF-16? UTF-8 is not trivial to get right (overlong sequences, non valid code points, surrogate pairs, normalization forms). JavaScript escape sequences in JSON. How to escape quotes? Parsing numbers, dates. Oh boi.
August 16, 2025 at 8:30 AM
Another one, from the Wine project.
July 8, 2025 at 12:34 AM
Not C standard function. Not POSIX standard function. It is a Linux system call. So...Linux API with threatening aura.
July 6, 2025 at 5:55 AM
C99 does not have `typeof` that is since C23, nor `_Generic` that is since C11. I am eager to see the solution.
July 4, 2025 at 3:05 PM