Comet C/2022 E3 (ZTF)

When Comet NEOWISE was visible to the naked eye in July 2020, I went out to see it. I didn't own a nice camera then and only got a few terrible smartphone shots. Missing out on that opportunity helped motivate me to get a camera and lens. When I heard about this "green" comet I was excited to try to photograph it.

As luck would have it, after a few days of waiting, the clouds finally cleared. On a cold, perfectly clear night a few days ago (at the end of January) I was able to take some photos of comet C/2022 E3 (ZTF).

It was nice and high in the sky, and there weren't any clouds to deal with, but with the quarter moon shining brightly the comet was not visible even with binoculars. Some members from the local astronomy club were at the same location, with their telescopes, and they could barely see it.

I pointed my lens in the general direction of where the comet was. I took a 4-second exposure at ISO 2500, and the widest focal length I could... and there it was! On the little screen on the back of the camera I could see a faint green smudge around a small bright nucleus.

continue reading...

Programming in the era of ChatGPT

ChatGPT was released for free public use in November 2022 by OpenAI. I'd heard and read about how well it works not only as a chatbot, but for writing code.

While new for me, AIs writing code is not a new concept. GitHub Copilot (which I also haven't used) was released for public use more than a full year before ChatGPT. As I understand it, GitHub Copilot is built upon a similar sort of AI service, also from OpenAI, but is less generically conversational and more of a pure code-generation tool.

Asking an AI to write code, with a back-and-forth dialog, and actually have it generate something useful, seemed so far-fetched to me I had to try it out. As you'll see below, I was blown away by how well it performed!

With some back and forth fixing and incremental improvements (I hardly had to change anything myself) ChatGPT wrote several programs for me, and the following webpages:

In this article I'll share my chats with ChatGPT and most of the code it wrote for me. I close with my rambling thoughts on the onset of this technology.

continue reading...

Advent of Code 2022

This is my first year trying the Advent of Code. I'll be keeping my journal here.

I'd heard about it on podcasts on the TWiT network for a few years now (specifically, Security Now), and I'd like to see for myself how hard the puzzles get toward the end.

I am writing my solutions in python 3 — usually just the minimum effort to get the answer, perhaps with some comments here and there. I am not looking for hints on reddit or anything, as the Advent of Code site suggests.

I've made my code available on GitHub. Obviously, THERE ARE SPOILERS ahead. Don't continue reading if you want to solve these puzzles yourself.

continue reading...

RSS Feed

I've added an RSS feed output to my static site generator scripts (written in bash). The feed file is now available at feed.xml.

It was pretty quick and easy to output the XML for the feed. I wanted to include both blog articles and birds galleries in the feed, so I write out both of those to XML files (containing just a series of <item> elements) in their respective bash scripts. The final step was reading the <item> elements and sorting them based on their <pubDate> (NetNewsWire didn't sort the items based on date, as I assumed it would).

continue reading...

September 3rd 2022 Moon

We had a half Moon and clear skies on the evening of September 3rd, and the Moon was in a good position to be photographed from the deck, so I took a bunch of photos.

Unlike my previous attempts at photographing the Moon, I used a tripod. I didn't have my star tracker with me so I had to manually adjust the tripod every few shots.

I'm happy with the results. Compared to my previous photo (from this February post) I ended up with a photo with a lot more contrast and detail.

continue reading...