neolateral

programming, drawing, photograpy etc.
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 …

Learning Deep Learning (Again)

Earlier this month, I've started learning from a couple of Deep Learning tutorials/courses/books. I had been thinking of picking up Deep Learning again for some time, but could not push it into my schedule. I do have a background in Machine Learning and Data Science, but I have never used Deep Learning methods in production applications yet. I have studied them in the past. Now that the space has moved quite fast, and Deep Learning now dominates over rest of the methods in ML, I feel the need to bring myself up to speed with the whole field …

Dragon Curves An in-depth article discussing Dragon Curves, their mathematical interpretation, and drawing techniques using Turtle Graphics.
Linux Namespaces - Create a UTS Namespace and Change Hostname

Introduction

I'm starting a new series of posts about container and VM specific API's and tools in the Linux operating system. These posts reflect some of the work I'm doing systematically exploring the containerization and virtualization options natively available in the Linux kernel. I will also explore some APIs and tools built on top of these functionalities.

In the first post here we look at creating a simple namespace and then using that namespace to modify some resource in that namespace.

Namespaces

Namespaces are one of the fundamental concepts available in new Linux kernels which support isolation of resources. A …

PicoTurtle release - v0.2.0-alpha.4

The tenth weekly release PicoTurtle v0.2.0-alpha.4 of PicoTurtle is out.

This release features a couple of important editor features:

  1. Indent/De-indent code lines and blocks. Editor shortcuts are Ctrl+] and Ctr+[ respectively. One can also indent and de-indent using Tab and Shift-Tab.
  2. Toggle comment code lines and blocks using Ctrl+/.

Here's a screenshot of the application on my macbook air...

alt PicoTurtle 0.2.0 on MacOs

The windows installer can be downloaded here -> PicoTurtle v0.2.0-alpha.4 for Win/64-bit. Linux and Macos installers are still work in progress. Macos is turning out to especially difficult with my current CMake/vcpkg based …

ZClk release - v0.1.0-alpha.0

The first source-only release Zclk v0.1.0-alpha.0 of Zclk is out. It is a C library which can be used to create CLI programs written in both C and Lua. It supports commands, sub-commands, arguments, options and typed values.

Commands and sub-commands can be implemented both in Lua and C. Allowing a mix of implementations.

The documentation is available online at ZClk docs. For further details check the project page Zclk.