flak rss random www

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

comparative unsafety

I wrote some rust code. I used unsafe. It was unsafe. After months of contemplating this unfortunate result, I've found someone else to blame.

more...

Posted 17 Aug 2020 13:53 by tedu Updated: 17 Aug 2020 18:24
Tagged: go programming rust

skyrim vs the wild

This post never made it into words when planned, so the references are a bit dated, but I think it's still mostly relevant. (For those who are familiar with the references.) Some time ago, I saw a claim that the software developers who worked on Zelda: Breath of the Wild are much better than the developers for Elder Scrolls: Skyrim which has a great many bugs. I agree that Skyrim (and every Bethesda game) has an infamous reputation for lots of bugs, much more so than the Wild, but I don't think we can conclude much about the skills of the people jamming code into vim or notepad++ or whatever.

more...

Posted 14 Aug 2020 03:11 by tedu Updated: 14 Aug 2020 03:11
Tagged: games software thoughts

Cenum safety warning

Before relying on compiler warnings for enum mismatches, it's important to know when or if such warnings will be generated.

more...

Posted 30 Jul 2020 20:07 by tedu Updated: 30 Jul 2020 20:07
Tagged: c programming

three valued structs

Sometimes we have a boolean, which is great for storing two values, but we need just a little more space to squeeze in a third value. There's a few ways to do this.

more...

Posted 29 Jul 2020 06:20 by tedu Updated: 06 Aug 2020 01:17
Tagged: c programming

and now to try the pixelbook

Short followup to previous commentary on the Pixel Slate. The Pixelbook (sans go) was Google's previous effort at a unified form factor, a 2in1 with attached keyboard. In many ways, they are quite similar in capability, with similar specs as well.

Unlike the Slate, the Pixelbook isn't on perpetual fire sale. Google will still attempt to charge you $999 for a new one, three years later. However, I was able to find a used one for less than half that price, at which point it becomes a much better value. It's aged fairly well, as I don't think there are any competing devices that truly outclass it.

Most of my previous comments are still relevant, with the qualifier that anything the Slate is great at, the Pixelbook is merely very good at. The screen in particular is slightly less outstanding, but still very pleasing. Balancing that, the attached keyboard is an enormous improvement, though that only brings it into the realm of passable.

As an entertainment travel device, it's very heavy for a tablet, my longstanding complaint for 2in1 devices. It is much sturdier in tent mode, however, so it won't fall over if a mosquito sneezes nearby. The speakers are kinda bad, especially since they fire through the keyboard, and therefore away from screen in most multimedia modes. Bring headphones.

As a work device, its ability to function as a real laptop with keyboard crushes the Slate. The tactile feel of the keys are weird. They're soft rubber I think? Would not want to use it as my only device, but there's nothing I couldn't accomplish with it if necessary.

I'm building up quite a stable of Chromebooks, which seems rather excessive considering their limitations. However, the downside is tempered by a few things. They're fast and easy to keep updated. There's no effort to maintaining one, so there's no extra effort to maintaining two. As simple appliances to lookup Charlize Theron movies, there's a certain convenience in having one in every room, and if this means Google shows me more ads for such movies, that's a devil bargain I'm willing to make.

Posted 19 Jul 2020 22:08 by tedu Updated: 19 Jul 2020 22:08
Tagged: computers

iphone 10 vs android x

I got an iPhone X with the new gesture interface a while ago. My One Plus 7 Pro updated to Android 10 with a new gesture interface a few months ago. They're quite similar, though different in some regards, and I think I've had enough time to familiarize myself with both and make some observations.

more...

Posted 13 Jul 2020 02:17 by tedu Updated: 13 Jul 2020 02:17
Tagged: software

against testing

I really dislike writing tests. There's some amount of discomfort I'd be willing to sustain if I felt it they were beneficial, but I also find they're rarely worth the bother. Some reasons why. Most of this probably applicable specifically to unit testing, but some other bits to integration testing.

more...

Posted 07 Jul 2020 00:36 by tedu Updated: 17 Aug 2020 05:01
Tagged: programming thoughts

good idea bad implementation crosstalk

Sometimes there's a bad implementation of a good idea, which typically results in discussions turning into shouting matches between people who see only the bad implementation and people who see only the good idea. And sometimes seems more like always when it comes to smart devices, or the internet of things, aka ioshit.

more...

Posted 27 May 2020 07:47 by tedu Updated: 30 May 2020 03:41
Tagged: software thoughts

Postel's law in development

Postel’s law, also known as the robustness principle, states that we should all be friends and try to get along. It’s also occasionally harmful. Here’s an example.

more...

Posted 20 May 2020 17:42 by tedu Updated: 20 May 2020 17:42
Tagged: programming thoughts