neolateral

programming, drawing, photograpy etc.

Articles tagged with programming

Initial Thoughts on Generative AI

A Revelation

Generative AI has been a game-changer for my work as a programmer in recent days. I have been using Bing AI to help me with coding problems and get useful snippets and explanations. It has boosted my speed and efficiency like never before. I have been coding since the early 90s, and this is the biggest leap I have ever experienced in my productivity.

Note that I haven't used any AI integration into my code editor or IDE yet. I talk to Bing AI using the Copilot extension in the browser or on the Bing AI webpage. I …

Creating a powershell user profile file.

I didn't know creating a powershell profile was so easy. I'm just going to document this in case I need it again.

The $profile environment variable holds the value of the powershell profile file. This file is sourced when a new powershell session is started - whether normal or elevated.

Here's the command to create a new profile file. In windows this will usually create a folder named <HOME>\Documents\WindowsPowerShell, where <HOME> is your home folder. A file named Microsoft.PowerShell_profile.ps1 will be created in this folder.

New-Item $profile -Type File -Force

One of the few useful things one …