flak rss random

on the efficacy of cosmic ray sorting

Cosmic rays are believed by some to exist, although I’ve never seen one. Have you? Are the cosmic rays in the room with us now? It has been further claimed that these cosmic rays may interact with our computers, possibly causing strange behaviors. This sounds like pseudo scientific babble from people who don’t believe in the ghost in the machine.

more...

Posted 28 Apr 2022 18:13 by tedu Updated: 28 Apr 2022 18:13
Tagged: c programming

probing my ssd's latency

My SSD is probably pretty fast, but maybe a faster one would let me compile a kernel even quicker by reducing the time spent waiting for I/O to complete. First though, I need to determine its latency, and the benchmark tool available to me, dd, measures throughput not latency. We need to go deeper.

more...

Posted 25 Apr 2022 05:39 by tedu Updated: 25 Apr 2022 05:39
Tagged: openbsd programming

the three line single binary compiler free blog

A silly experiment that quickly ended up deep in the rabbit hole.

more...

Posted 21 Apr 2022 08:17 by tedu Updated: 21 Apr 2022 08:17
Tagged: go programming

cgo does clear errno

C functions commonly, though not universally, provide information about a failure through the global variable like errno. Provide, not indicate. If there’s no error, as indicated by the function’s normal return value, the value and meaning of errno is unreliable.

more...

Posted 15 Apr 2022 17:07 by tedu Updated: 15 Apr 2022 17:51
Tagged: c go programming

two and a half bad bits

It started with a simple feature addition. It always does. And then the murders began. I don’t think I’ve ever introduced so many bugs by changing so few bits.

more...

Posted 11 Apr 2022 08:08 by tedu Updated: 11 Apr 2022 08:08
Tagged: openbsd programming

The Zephyrus G14 is not a MacBook Pro 14, and Sundry Observations and Insights, Keen and Mundane, Arising from an Inquiry into Power and Performance

Two years ago, all the cool tech influences got an Asus Zephyrus G14 laptop, and all I could think about was getting one, but then I didn’t. The ports were closed, the boat got stuck, whatever, but mostly the promised QHD screen model never seemed to materialize. Now finally it has, and it’s 16:10 even, so finally I got one.

more...

Posted 08 Apr 2022 13:47 by tedu Updated: 05 May 2022 18:44
Tagged: computers

sometimes the knote comes early

Some bugs, some ambiguities, some assumptions, some bad results. Nothing went too seriously wrong, but it seems like an interesting case study in code evolution. I had nothing to do with finding or resolving the issues, I’m just commenting.

more...

Posted 04 Apr 2022 15:39 by tedu Updated: 04 Apr 2022 15:39
Tagged: openbsd programming

Fantasian

Fantasian is an Apple Arcade exclusive Final Fantasy style RPG. I liked it.

more...

Posted 01 Apr 2022 18:45 by tedu Updated: 01 Apr 2022 18:45
Tagged: games review

quick thoughts on bouncy castle bcrypt broken compare

A few thoughts on the BCBCBC vulnerability. Original report. There’s a few things not explicitly stated in the report, which I thought may be interesting.

more...

Posted 22 Dec 2020 17:53 by tedu Updated: 22 Dec 2020 17:53
Tagged: programming security

small views of large files

Sometimes you have a large file when you want a small file. You may not be able to edit the large file, but that’s okay, you can simply read the small part you want out of the large file. libfdview is a proof of concept library that presents a smaller view of a larger file.

more...

Posted 22 Sep 2020 20:00 by tedu Updated: 22 Sep 2020 20:00
Tagged: c programming