neolateral

programming, drawing, photograpy etc.

Articles tagged with programming

First beta release of litpd

litpd is a simple literate programming tool built on markdown. It uses pandoc and some lua code to build both a readable and runnable version of the same program from one markdown document. The litpd program is itself written as a literate program.

The first beta version of litpd is out. This release contains several bug-fixes, and a significant change to support linux and macos using litpd.sh (bash script).

Also new is a new github pages website which is the entire litpd program as its own standalone website. See it here https://abhishekmishra.github.io/litpd/.

This is the …

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 …