Adding Custom Sleep Screen Images to the Kindle Scribe

Last year I upgraded my Kindle Paperwhite to a Kindle Scribe to be able to write notes and draw diagrams while programming to help visualize things.

One thing that bothered me about the Scribe was that its sleep screen images were pretty boring and because I'm now often reading PDFs or writing in a notebook, I couldn't benefit from the Kindle OS's new functionality that uses the cover of the book being read as the sleep screen image (which previously required a jailbreak and custom software).

Since the process for installing custom sleep screen images is rather cumbersome and the information is scattered across old forum posts, I thought I'd document how I did it to possibly make it easier for someone else.

Continue reading 1,240 words...

Wikipedia Reader 1.1 Released

Wikipedia Reader 1.1 has been released:

  • wikipedia-1.1.sit (StuffIt 3 archive, includes source code and THINK C 5 project file)
    SHA256: 14761cefe2552886476cdf018445d4454f355fca31636af5d55c52e7b28908da
    SHA1: acd1b9433113237d0fd5e15fba6a4c4b992be783

Changes in this version:

  • Add support for opening multiple windows
  • When clicking a hyperlink with the Command key down, open the link in a new window
  • Try allocating more memory to resize internal buffers when parsing rather than just giving up right away

Advice for Operating a Public-Facing API

I've been operating Pushover's public-facing API for over a decade now and I thought I'd pass on some advice for those creating a new API.

Pushover's API might be unusual in that it is used by a wide range of devices (embedded IoT things, legacy servers, security cameras, etc.) and HTTP libraries, rather than mostly being accessed from JavaScript in the latest web browsers. It also doesn't process sensitive financial information, so the advice given here may not be applicable to something operating like Stripe's API.

Continue reading 1,724 words...

Amend 3.7.1 Released

Amend 3.7.1 has been released:

  • amend-3.7.1.sit (StuffIt 3 archive, includes source code and THINK C 5 project file)
    SHA256: 2ea2718c890d0c50ff90364f89baccbaf184314036370dcd9c873d21a13d4470
    SHA1: d1f097d0b144b97ec45c43144896803e970ca767

Changes in this version:

  • Fix a bug that sometimes caused a crash after the diff/commit window closed after producing a large diff and using a lot of memory
  • Fix bug when exporting an amendment as a patch where the suggested filename was bogus
  • Fix bug that caused a system lockup on some machines with slower disks; thanks to Valtteri Koskivuori for helping locate and fix this bug
  • Show progress window when opening repositories since the process may take a while
  • Add resource to allow MultiFinder to correctly open a repo from double-clicking a .repo file when Amend is already running (thanks to Steve Crutchfield)
  • Properly update scrollbars when cutting or pasting in edit and commit window text fields

Taking a Better Photo of a CRT Screen with a Phone

As a frequent reader of the retrobattlestations and VintageApple subreddits, I see a lot of photos of CRT screens that show significant scanlines resulting in images like the one on the left.

With a simple post-processing tip on the iPhone (though there is probably a similar technique for Android phones), it's easy to fix this photo after it's been taken so it looks like the one on the right:

Continue reading 690 words...