Sat, 10 Oct 2026

On Photography and AI

— SjG @ 12:42 pm

There was a recent brouhaha about a video competition withdrawing its award because of AI use. I talk about image manipulation apropos photography and “cheating” here occasionally (most recently on choosing angles and removing power lines).

To some extent, this is simply a problem where we’ve been trained to believe that photographs depict some objective reality. It’s never been true, but it’s strangely less true than ever before. Generative diffusion techniques unlock a whole new horizon of fakery, and it’s hard not to conclude that the people pushing it everywhere are interested in destroying baseline confidence in the ability to understand reality (or to destroy a concept of reality itself).

For what it’s worth, I do use tools to post-process images, and this is usually in order to change or enhance the narrative of the picture.

For example, here’s a picture of a hummingbird sitting on branch in front of the full moon I took in April.

Hummingbird and full moon

This image is different than the original capture. First off, the sensor in most digital cameras does not have true color perception, but only measures luminance. A pattern of colored filters are put over the sensor, and the camera uses interpolation to determine the color image.

Beyond that, I cropped the image, and adjusted the relative lighting. That hummingbird was not illuminated, so in contrast to the moon behind it, there was almost visible detail. In software, I brightened up the levels of the shadowed area, and I increased the saturation so you could see the faintest hint of color.

Wanna see the straight-out-of-the-camera version? Of course you do.

Un-edited photo

This original picture tells a different story. It tells me that I didn’t have the 600mm lens on the camera. It’s not a bad picture, but I like my edited version better: it’s more about the hummingbird.

A few other things are worth discussing. My camera isn’t taking “High Dynamic Range” (HDR) photographs. With HDR, it would have taken multiple exposures at different light levels and then combined them algorithmically. It could have got more color in the hummingbird. The camera is also not doing focus stacking. With focus stacking, it would have taken multiple exposure at different focal distances, then combined the sharp areas of each photo to form the final image. In this case, there are really only two focal areas, the bird and the moon. The physics of my lens allowed me to get one or the other in focus. With focus stacking, I could have combined multiple images and gotten both.

You could look at both of these multiple exposure techniques as cheating, or you could consider them ways of circumventing physics to make an image more like one we “see.” Our eyes play all sorts of tricks to circumvent physics, like constantly moving and changing focus, but the processing that takes place in our brains makes it seem like we’re seeing this heavily processed information gathered over time as a single instantaneous image.

The following version is from ChatGPT. It was asked to take the top image, and fed the prompt “Can you please enhance this image, bring out the colors in the hummingbird, and bring the full moon behind it into clearer focus? I’d like it to remain photorealistic and dramatic.” Below are the results. I’ll let you assess for yourself.

ChatGPT Processed Image

What’s did the AI processing do? Well, it cropped closer in, for one thing. It brought up the colors in the hummingbird. And it replaced the moon with a different picture of the moon.

My processing could never have made the image look like this. The information simply wasn’t in the data I got from the camera — the moon, for example, was too far out of focus and had none of the detail in it. It looked like the hummingbird was replaced too. Could I have got those colors if I’d tweaked the exposure enough? Well, to find out, I took the original unaltered image, and cranked up the exposure to see. And yes, you can see that it replaced the hummingbird altogether. Compare the chin coloration and the angle of the head — that ain’t the same bird!

Original image details

So what’s the point of this entire discussion? I guess I’m trying to draw lines between “legitimate” image manipulation to tell a story, and “faking it.” The line’s not a very clear one, but I do think there’s a distinction to be made.

Obviously, with better prompting, I may have gotten less obvious changes. If they had been subtle, would I have felt better about it? Not really. To me, the addition of statistically-generated data means it’s no longer “real.”

What are your thoughts?

Sun, 7 Dec 2025

Wed, 2 Apr 2025

Stop some iOS 18.4 nagging

— SjG @ 3:30 pm

I don’t want to use biometrics on my phone. There are a lot of reasons, most of them not very good for a nobody like me. Still, I like reading about OPSEC and thinking about it.

Biometrics are not revocable like a code. That may seem like a strange concern, but if, say, your fingerprint gets reproduced on the internet, there’s no way to prevent its abuse. People have 3D-printed fingers in gelatin with a captured image and gotten past phone fingerprint sensors. Many years ago when I was in the aerospace industry, we’d joke about the Russians “borrowing” your head if they wanted to get through the retina scanner at a secure facility. Again, do I have this kind of security requirements? No, but I still don’t want to use biometrics.

For the longest time, I couldn’t find the way to get Apple to honor my preference. I get a daily pop-up telling me to “finish setting up your phone.” Naturally, it pops up when I’m in the middle of a phone call and trying to do something with my calendar or something, and it gets in the way. Furthermore, it’s disrespectful. I don’t want to set up Face ID. Stop bugging me, Apple!

I used to be able to click into Preferences > Finish Setting Up Your iPhone and clicking the “Set up later…” button on each feature I didn’t want. Now there’s only an “Enable” feature. But it turns out that you can click the “Enable” and then “Cancel” when it asks for your passcode. This stops the nagging.

Apple has always thought they know best how you should be using their products. I’m finding it increasingly annoying. Why should each update turn on Apple Intelligence? I don’t want “AI” just as much as I don’t want biometrics.

I don’t want to go full Luddite, but maybe it’s time for me to start thinking more along the lines of a dumber phone.

Thu, 16 Jan 2025

Backups

— SjG @ 10:34 am

So, computer folks always talk about the 3-2-1 strategy of backups: have three copies of your data, stored on two different types of media, with one geographically separated. They also like to repeat slogans like “if you have one backup you have no backups.”

For years, I’ve relied on Time Machine, the backup system Apple includes with their operating system. It not only provides a backup, but it keeps multiple versions of files, so if you, for example, accidentally clobbered your book manuscript by searching and replacing a badly-chosen term but didn’t notice for a week, you could go back to the version you had backed up last week. I felt like I was doing a pretty good job of securing my data: I back up onto an external drive at home, and I also back up on an external drive at the office, a little over 1km away. These external drives are encrypted, so if someone were to break into either place and swipe a drive, they’d have the hardware but not my data.

A few years ago, I also added another layer of redundancy: an encrypted cloud backup. I hadn’t liked the cloud backup services I’d seen before, because all of my files would be on someone’s machine where I had no control over them. A screw-up on the part of a system administrator somewhere could make my files available to the open internet! However, a bunch of new services started offering encrypted backups, where the encryption happens locally and the service doesn’t have view into your files other than it’s a big chunk o’ data (more on this later).

To make a long story short, I tried a few services, and went with Backblaze (disclaimer: that’s an affiliate link, I get credits if you follow it and subscribe. You can always avoid that by going directly to https://backblaze.com).

Fast forward a few years. A friend who’s not particularly computer savvy needed help with some IT stuff. They had an external hard drive connected to their machine and used Windows backup, but the process had silently failed a year before. In diagnosing and fixing this, I also convinced them to pay for and use cloud backups.

This friend lost their house and everything in it during the wildfires last week. Among the long list of things that they didn’t have time to grab before evacuating was that backup hard drive. Cloud backups to the rescue! I was able to download all their files for them.

The surprising scope of the fires also brought one thing into sharp focus: my original strategy of “one backup at home and one at the office” is really insufficient. One kilometer’s not far enough away! Having a remote backup somewhere is an important part of backup plans.

I mentioned above that encrypted cloud services like Backblaze have no visibility into your data. This is not completely true. If you use their encryption scheme, the data is encrypted on your local machine before the data is transmitted over the network. So it’s true in normal operations that there’s no way for them to see the contents. However, when you use their interface to restore files, you need to give them your encryption key so they can identify which file(s) you wish to restore. That means the data is (at least temporarily) decrypted on their servers. When I did a full restore of my friend’s files, I provided the key and they generated a zip file for me to download. That zip file was not encrypted. They say it’s on their server for only a seven days, and I don’t have any reason to distrust them.

I want my data encrypted when it’s backed up because I have financial information like account numbers, etc, that could be abused. That these could exist as clear-text on someone else’s server for short periods of time is not ideal, but it’s also a pretty minimal threat. That being said, if you are involved in journalism, political activism, or other activities where your information could impact people’s lives, this may not be the best solution.

Sun, 10 Nov 2024

Obsolescence

— SjG @ 11:06 am

[insert old man yelling at cloud meme here]

Everybody’s pissed off because things are crappy and they used to be better. I know I certainly am. But it’s not “regulations” or “wokeness” that forces me to buy a $56 part to fix the dishwasher because a 5ยข switch embedded in an un-openable assembly burned out.

When we first moved into this house twenty five years ago, there were plumbing problems I had to fix. The kitchen faucet was leaking. In those days, there was B&B Hardware, an old style hardware store. I brought the weird brass fitting from the faucet to B&B, took a number at the plumbing desk, and eventually talked with the guy there. He cast a sardonic eye on the fitting, and said “You’ve got a 1950s Moen. In the 60s they changed this to have an additional flange right here for an o-ring, and in the 70s they stopped making this style altogether. The good news is I have a compatible part.” He went up on his ladder and sorted through some boxes and found me a part. It was expensive — nearly 15 dollars. But it worked.

Well, the kitchen sink’s been redone in the interim, and the faucet replaced with a very low-end wall-mount double-handle bridge faucet which lasted about seven years before being replaced by the new (yet not parts-compatible) version. And the new one’s leaking. So I took it apart, grimaced at the cheapness of the thin metals and plastic fittings. I headed to Home Depot, since B&B is long gone. At the big box, I got a shrug from the worker. No, there aren’t parts for those. They don’t sell that model, but new kitchen faucets are on aisle 6, and washers and stuff are on aisle 11, bay 9.

When I finally found washers and o-rings on aisle 12 bay 15, they didn’t have a replacement for the cracked plastic compression retaining ring. So I bought new o-rings in the hope that screwing down the conical ring cap tightly would continue to work. I went through the self-checkout, where the scanner pulled up the wrong price for the item and the employee that came over sneered at my mask and low-key accused me of shoplifting when he saw the old, broken part I’d brought along.

Eventually, it worked out. The sink is not leaking, I have 8 more of the o-rings (potentially saving me from buying another $2.92+tax set next time, if the smog doesn’t degrade them in storage), and I can go on to do other chores.