Upgrading my simple site with Cursor.AI

The Challenge

I recently received an end-of-life notification for Bing Maps, with the recommended solution being to upgrade to Azure Maps. This affected my Electric Grid Power Outages site that I previously wrote about in another post. Additionally, I wanted to explore using E-Redes OpenData API to directly obtain power outage data rather than relying on third-party services.

Working with Cursor.AI

My experience using Cursor.AI for this upgrade was a mixed bag:

Creating a simple website using ChatGPT

Software development has too many paradigms, programming languages and tools to know it all. This sometimes makes me a bit frustrated since I known a lot about some languages and tools but creating a simple site can seem too much effort.

Now there’s ChatGPT, without much effort or skill, here it’s a site that shows Electric Grid Power Outages in Portugal https://vpereira01.com/electricalgridptqos/

I have wanted to create such site since I discovered that E-REDES, the electrical power distributor, has an API that provides information about outages. Still, I always stopped when I thought the amount of stuff I would have to learn, debug and troubleshoot.

Why is Zoom help page broken? A router IPv6 bug

Trying to enable Zoom blur background in Linux I end up several times on the Zoom Virtual Background system requirements page which was always broken, as in, clicking on the Linux section did not expand to show the relevant information. It was annoying but I could reach the relevant information using the Firefox Web Developer Tools. Nonetheless, it was bothering that it was always broken and if it was broken for everybody Zoom people would already handled it.

Go big.Int add one performance curiosity

Trying to solve a coding exercise I noticed that doing z.Add(z, one) is kind of slow so I implemented my own increment method :)

Practicing Go by solving the CodeWars exercise “FabergĂ© Easter Eggs crush test”, I was able to find a simple, and slow solution, by performing many many additions. This simple solution was enough to meet the test requirements but something bugged me from my CPU profilings, z.Add(z, one) was taking cumulative more than one second. In comparison, adding two big numbers was taking cumulative more than five seconds.

Hi and site setup

Hi and welcome to my site :)

For a while I thought it was a good idea to set up a personal site, or blog, but like others I had always postponed it. Recently because I lived through an interesting tech story I finally decided to do it.

Since this is my first site/blog please excuse my lacking writing skills.

Choosing a domain and registrar

My GitHub username has ended up being my handle/nick on most professional and tech platforms so reusing it seemed like a good option. Having the “01” on “vpereira01” does not sound great but it’s preferable to have a recognizable name than to try to find a better domain.