Sitemap

Whatever you might want to say about ChatGPT … it is still magic !

So I had this Powershell script, written by someone else, which supposedly copied some .proto files and modified them for a slightly different situation.

3 min readOct 1, 2024

--

Except it didn’t… Get-Content : Could not find a part of the path !

Here’s the script:

Press enter or click to view image in full size

Presumably at some point in time it worked. But not on my machine, not anymore, not today. Some environment setting perhaps, or a change made by Microsoft to Powershell … or something. Who cares!

And well that “or something” is kind of the point.

The error I got was this:

Press enter or click to view image in full size
Get-Content : Could not find a part of the path

Clearly this is nonsense, cos the path is definitely there, and files are there inside the folder, and etcetera. And I googled it and found a lot of different suggestions about people with similar problems and so on, but nothing that would just make the problem go away. I really don’t need to be dealing with this problem. I don’t care why the script doesn’t work. I don’t want to get any better at writing Powershell scripts, I don’t want my life to be about this at all in any way, shape or form.

So then I asked ChatGPT and it gave me the following:

Press enter or click to view image in full size

Like I say, at some point in the recent past this script presumably worked. I have no reason to believe that it didn’t. But ChatGPT managed to find 4 problems with it ! And then provided me with a replacement ! …

Press enter or click to view image in full size

And, profanities falling from my mouth, the replacement just worked, 100%, without any modification being required. It did the job I needed it to do. Effortlessly I was back to working on the thing I actually wanted to work on.

Like I say. Magic.

Addendum

Here’s another example of AI magic. It boggles my mind that ChatGPT is able to do this just with meaning-vectors.

Press enter or click to view image in full size

--

--

Andrew Bindon
Andrew Bindon

Written by Andrew Bindon

https://medium.com/thortspace - #Social #3D #VR #AR #mind_mapping. What we are able to think is shaped by the structures and environments inside which we think.

No responses yet