by ianlevesque · 4y ago · 0 comments
The part that I find unsettling when using Copilot is the risk that credentials or secrets embedded in the code, or being edited in (.gitignore'd) config files, are being sent off to Microsoft for AI-munging and possible human review for improvements to the model.
Since Copilot is constantly making new suggestions, a momentary entry is all it takes.
Once that key is in your git history, it's in the history. You might be able to edit it, but it's going to be a nightmare to do it.
I needed to run a comparison over a window of a numpy array, and given the sheer size of my data, I needed it to be fast and efficient, which means vectorized operations with minimal python interaction. Copilot figured a solution that is orders of magnitude faster than what I could conjure up in 10 minutes, most of which I'd spent searching for similar solutions in SO.