Podman error on Ubuntu - short-name did not resolve to an alias and no unqualified-search registries

I recently installed Ubuntu on one of the Pi’s are home and installed Podman - which I hadn’t heard of until recently and is a container engine, similar to docker but doesn’t have a daemon. When trying to get a basic alpine test image running I got this error: Error: error creating build container: short-name "python:3.7-alpine" did not resolve to an alias and no unqualified-search registries are defined in "/etc/containers/registries....

March 25, 2022 · 1 min · Amit Bahree

Changing Window Terminal's default directory

If you are like me, and don’t really have your work saved in the “%USERPROFILE%” it gets annoying after a time, to keep changing the directory. If there is one specific folder that you prefer, it is an easy configuration change in the profile setting - add a setting called “startingDirectory” and point it to the path you want. For example, I have a root folder called “src” where most of the code I am working on sits, and that’s where I wanted to default the terminal to....

January 8, 2021 · 2 min · Amit Bahree

WSL2 +Ubuntu on Window 10 (2004)

One of the key advances in the latest version of Windows 10 (2004) is WSL2 (Windows Subsystem for Linux v2) - and whilst a version bump, it offers so much more. This allows us to run with near-native performance linux binaries ( ELF64 ). Before we get into the steps outlined to install WSL2, I also recommend installing Windows Terminal , and winget . Although not required, it does make it simpler to use and a better (dev) experience - especially when setting up a new workstation....

August 5, 2020 · 2 min · Amit Bahree

Deleting Windows run history

If you have butter fingers like me, and over time end up with a lot of old commands with typos in your Windows run box that get annoying - deleting them is a simple. All you need to do it remove the following registry key. 1 HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU Now every time one plays with regedit, it can be dangerous - you can also save this commend as a ....

September 28, 2019 · 1 min · Amit Bahree

VSCode + Python on a mac

As my experimentation continues, I wanted to get Visual Studio Code installed on a mac, and wanted to use python as the language of choice - main reason for the mac is to understand and explore the #ML libraries, runtimes, and their support on a mac (both natively and in containers - docker). Now, Microsoft has a very nice tutorial to get VSCode setup and running on a mac, including some basic configuration (e....

January 19, 2019 · 5 min · Amit Bahree

Ubuntu on Surface Book

I am writing this on a Microsoft Surface Book, running Ubuntu natively, and there isn’t any Windows option - I blew away, the Windows partition, and there isn’t any other OS on it. Why some of you might think? Well, why not. :) For me the motive is two fold: one am a geek and love to hack what works and cannot work - how else will one learn?...

December 5, 2018 · 9 min · Amit Bahree

Is this why my machine might be slow?

Wait. I have how many tabs open? I can’t count more than fingers I have, so not sure if this is accurate. Maybe time to reboot. 😄 PS – Yes, I can count using more than 10 (toes, remember?)

September 25, 2018 · 1 min · Amit Bahree

Setting up your own Model 3 "keyfob" - using a IoT Button

Some time ago, I talked about my Tesla Model 3 “keyfob” which essentially uses a Amazon IoT button to call some of Tesla API’s and “talk” to the car. This for me, is cool as it allows my daughter to unlock, and lock the car at home. And of course it is a bit geeky, and allowing one to play with more things. :) Since publishing this, I was surprised how many of you ping me asking on details on how they can did this for themselves....

September 16, 2018 · 12 min · Amit Bahree

How many lines of code does it take?

Often once hears are Lines of Code (LoC) as a metric. And for you to get a sense of what it means, below is a info-graphic that outlines some popular products, and services and the LoC that takes. Always interesting to get perspective - either appreciate some home grown system you are managing, or worried about a stinking pile you are going to inherit or build. 😄

August 29, 2018 · 1 min · Amit Bahree

My Tesla Model 3 "Keyfob"

Inspired by a few folks on a few forums online , I took the liberty to extend their idea using a IoT Button, that acts as a simple “keyfob” for the Model 3. The main goal was being to allow my daughter to lock and unlock the car at home. She is too young to have a phone, and without a more traditional fob, this gets a little annoying....

August 7, 2018 · 1 min · Amit Bahree