On coding, tech, privacy, AI and whatever else comes to this mind.

Wow, an amazing use of is rubber duck programming: When facing a coding problem, describe it high level and ask the . If it comes back with something not too helpful, you can provide follow-up prompts. Even if it doesn't come up with the solution, it might spark ideas you didn't consider, and the instant feedback is amazing.

It just helped me get unstuck on a problem I encountered when drawing polygons in an Azimuthal map projection. Didn't quite provide the solution I needed, but helped me think in a new direction.

Screenshot of my chat with ChatGPT:

Me: How do | determine whether a polygon goes outside the bounds when using an Azimuthal projection?

AI: To determine whether a polygon goes outside the bounds of an Azimuthal projection, you can use a few different methods. One approach is to calculate the center of the polygon, and then check if that point is within the bounds of the projection. If the center is within the bounds, then the entire polygon should be within the bounds as well.

Me: I mean how do | determine whether it wraps around the "outside", i.e., coloring in the polygon should be a cutout

AI: If you want to determine whether a polygon wraps around the "outside" of an Azimuthal projection, one approach is to calculate the shortest distance from the center of the projection to each vertex of the polygon. If the shortest distance is greater than the radius of the projection, then the polygon wraps around the outside of the projection and should be treated as a cutout.

The final remark by ChatGPT in our conversation was: "It may be best to consult a professional with expertise in this area". Hah.