Sunday, March 30, 2025

AI dev tools that I use in March 2025

It's 2025, and LLM-based developer tools have become mainstream, not a novelty. I've been gradually using these tools for coding tasks outside of work. I enjoy using them in two popular ways: for vibe coding, which is all about those fun, low-stakes projects, and in responsible AI-assisted programming. In that latter setting, I take the time to review every line of code it generates, as I have higher security and quality requirements for certain tasks.

Here are the tools I commonly use these days:

  • Co-pilot chat in VS Code: I use it mostly to ask questions about the code base I have open in the editor and for general technical questions regarding the task at hand. Inline chat by highlighting code snippets or adding @workspace as context to the chat works well with my flow. The 50 chat requests/month on the free plan are enough for me. Although it comes with access to both GPT-4o and Claude 3.5 Sonnet models, I'm mostly sticking to GPT-4o here.
  • Cline: This is one of the first VS code extensions I tried for AI-assistance, and I liked it enough to stick with it. There are a few features I enjoy most in Cline:
    • The separation of plan/act modes helps me to mentally track the progress of the task.
    • The pane showing token costs helps to track the API costs in dollars as well as tokens.
    • The diff view clearly shows the proposed changes, so I can approve/disapprove as needed. After the task is completed, I will have a sense of which files of the code base were modified.
  • Claude code: It was somewhat surprising to see a big model provider like Anthropic getting into the application layer by providing an agentic CLI tool for development tasks. I'm sure they have some good reasons to build a CLI tool without going on the IDE extension route like the others. The installation, setting up, and working with it were very smooth. I like that they keep adding new features to it.
  • repomix and llm tool: I use this combination to understand code bases I'm delving into for the first time. I use repomix to first generate an LLM-friendly representation of the code base and then ask LLM to generate an architecture summary of the repo like this: cat repomix-output.xml | llm -m gemini-2.5-pro-exp-03-25 -s 'this file contains all the files in the repository combined into one. provide architectural overview as markdown' | tee architecture.md

Based on the number of input tokens sent to the model, I can clearly see that Cline is a bit more verbose in its prompts than Claude Code. But I guess the additional context helps because I noticed Cline was slightly better when handling complex tasks. So my usage pattern is to first try the task with Claude Code and, if it fails, throw away the generated code to start from scratch with Cline.

In terms of the models, I've moved from Claude 3.5 to Claude 3.7 Sonnet, and I'm paying for the API tokens as needed. Based on some quick experiments via their web interface, I'm also considering moving to Gemini 2.5 Pro (gemini-2.5-pro-exp-03-25 to be exact) because Google's offering a generous API quota in the free tier for this very capable model.

Tools that I want to start using more:

  • OpenHands: I've heard a lot of good things about it since OpenDevin, but I didn't get the time to try it out.
  • Zed: With me trying out Rust development, I wanted to use Zed for my development with all the hype surrounding it. But I could not get into the flow with it.
  • Warp: Same as with Zed, Warp sounded amazing on paper. But I kept going back to the plain old terminal. I should give this another chance.
  • files-to-prompt: I want to use it instead of repomix, but could not get it to work with UV.
  • Cursor, Windsurf, and others: Cline is working well for me for now, but I should try these out to see what's new with them.
  • Ollama: I'm eager to integrate all my tools with a locally hosted model! Unfortunately, the models I've found so far for my hardware (MacBook Air M3 16GB) haven't quite met my needs for coding tasks. I'm really looking forward to that amazing future. If you have any suggestions for models that would work well for me, I'd love to hear them!

PS: I also use Grammarly Premium. I thought I would include it in dev tools because I write a lot in English while coding (in code comments and documentation, and these days, mostly as prompts to the LLMs). So, grammar and spell checking all of this prose is important.

Sunday, June 18, 2023

Playing Warhammer: Vermintide 2 on Steamdeck

Due to this game using Easy Anti-Cheat (EAC) and EAC having limited support for Linux, the game does not work out-of-the-box on the Steamdeck. Here are the tweaks I had to do to get it to work. Before diving in, make sure to read the note at the very end of this post about preserving settings.

  • Delete Vermintide 2 compatdata directory  (It's here: ~/.local/share/Steam/steamapps/compatdata/552500)
  • Do 'Verify game files' using the Steam client
  • Delete WebView2Loader.dll and MicrosoftEdgeWebview2Setup.exe. ( By default they are both here: ~/.local/share/Steam/steamapps/common/Warhammer Vermintide 2/launcher. But the location is slightly different if you have installed the game on an SD card. You can find the exact location using Browse local files option in the Steam client. See the screenshot below.)
  • Then run the game!

Note: The user settings and game saves are at the following locations. Back them up before deleting the compactdata directory if you don't want to lose them.

  • .../steamapps/compatdata/552500/pfx/drive_c/users/steamuser/AppData/Roaming/Fatshark/Vermintide\ 2/user_settings.config
  • ../steamapps/compatdata/552500/pfx/drive_c/users/steamuser/AppData/Roaming/Fatshark/Vermintide\ 2/save_data.sav
You can find more details on the ProtonDB page of the game here.

Monday, February 20, 2023

Fixing SteamDeck Warframe installation (missing executable) error

When I tried installing Warframe on SteamDeck, I encountered this problem. It appeared to download several GBs of content for some time and run Vulcan shaders. However, when the installation finished, the game didn't launch.

When I checked the game directory (~/.local/share/Steam/steamapps/common/Warframe/) it was empty. When the game was launched in Desktop mode, it complained ~/.local/share/Steam/steamapps/common/Warframe/Tools/launcher.exe was missing. (Of course, because the directory is empty.)

'An error occurred while updating Warframe (missing executable)' Photo courtesy: /u/mylastnameschampion (https://www.reddit.com/r/SteamDeck/comments/xwvksm/anyone_have_issues_getting_warframe_to_launch/)

Here's how I fixed it and got Warframe to work on SteamDeck:

I added the game to my library on Epic Games Store. Then, downloaded Warframe using the Heroic Games Launcher. But note that I didn't launch it. (I wanted to run the steam version of the game, not Epic version). Heroic had downloaded several MBs and now there was a Warframe.zip inside ~/Games/Heroic/Warframe/. I then extracted that zip into ~/.local/share/Steam/steamapps/common/Warframe/. Voila! now there's tools/launcher.exe. When you launch the game on Steam now it will start.

The game is very optimized. It ran smoothly. The only minor annoyance is that I have to log in to Warframe account in the launcher every time.

Tuesday, October 25, 2022

Some Tips and Tricks for the Steam Deck

Steam Deck is a remarkable device. In the last few months, I had a delightful time clearing up the backlog of games I had in my Steam library, Epic Games store, EA, and Ubisoft. There were times when I encountered issues, however, and here are some valuable tools that I used to customize the Steam Deck in various ways. I will keep updating the following list as I come across new ones along the way.

How to play non-steam games

For Epic Games and GOG, I had success using Heroic Games Launcher. I heard some positive reviews about Lutris as well. For EA and Ubisoft games, I use the Origin Launcher and Ubisoft Launcher respectively.

Where to find the Origin installer

Since SteamOS is Linux-based the EA website doesn't allow downloading the Origin client from the web browser on Steam. However, you can directly download the original windows client hosted on EA Origin servers from here: https://www.dm.origin.com/download. (Don't use the installers hosted on websites not affiliated with EA Origin due to security risks.)

P.S. EA has now introduced a revamped EA app which can be found here and recommends using it instead. 

How to add non-steam game shortcuts to Steam game mode

Heroic Bash Launcher: Works for games that are installed with Heroic Games Launcher. This needs some command-line experience but conveniently takes care of downloading artwork for the shortcuts as well.

BoilR: Supports multiple game platforms (not only Heroic) but requires a little tweaking to get the artwork downloading to work. (i.e. by adding a SteamGridDB API key)

How to add custom artwork for non-steam games

If you didn't get custom artwork automatically added using the above tools, you can use SteamGridDB in conjunction with the SGDBoop tool. If SGDBoop is not working based on their instructions, you may have to run this command: systemctl restart --user xdg-desktop-portal

Other miscellaneous tips and tricks

  • One of the disadvantages of playing non-steam games over steam games is that non-steam games do not automatically download pre-compiled shader caches. However, to prevent non-steam games from lagging too far behind while shader caches are being compiled during games, you can use the DXVK_ASYNC=1 launcher option.
  • If you are concerned about shader caches taking too much space on the Steam Deck (as observed by the growth of the Other section in storage settings) use shader cache killer to selectively delete the cache directories that are no longer needed.
  • Install ProtonUp-Qt to manage multiple versions of Wine and Proton as needed by different games
  • Install Protontricks to further tweak Proton and install additional libraries required by certain games
  • Install Flatseal to manage Flatpak permissions (e.g., for installing non-steam games to the microSD card)
  • Check out the very helpful r/steamdeck subreddit if you need help with other steam deck issues.

Tuesday, May 26, 2020

Rooting Lenovo TAB 2 A7-20F on Linux

Lenovo TAB 2 A7-20F is a nice sturdy tablet that was very handy for me in the past to read the occasional article or ebook. However, it has been gathering up dust on my desk recently because it was slowing down. So I thought of giving it fresh life, removing the bloatware which came pre-installed with it.

In terms of specs, this comes with Android 4.4 (KitKat) and a Mediatek MT8127 chipset. Not stellar specs, but decent enough to get some work done. For rooting this, I was primarily looking for a way to do it using just a Linux laptop and a USB cable. So here are the steps I followed:
  • Do a hard reset of the tablet
    • For this, you need to restart the device to Bootloader by holding Volume up + Power keys when the tablet is starting. Then you'll come to this menu in Chinese.
      Chinese Bootloader menu of Lenovo TAB2 A7-20F
    • Here you need to select the clear eMMC (清除 eMMC) option by navigating to it via volume down key and selecting it via the power key.
  • Download SP Flash Tool for Linux from here
  • Then follow the steps in this XDA thread to install TWRP. (You'll have to run SP Flash Tool with root privileges.)
  • Copy the SuperSU zip to the tablet via USB.
  • Reboot the table to recovery mode by holding Volume up + Volume Down + Power keys when the tablet is starting. This should boot to TWRP.
  • Take a back up of system, data, and boot partitions via TWRP, just in case if you need to restore the stock ROM in the future.
  • While inside TWRP, install SuperSU by going to 'Install' -> 'Install ZIP' and selecting the copied SuperSU zip.
  • Now when you boot into the normal mode, you'll see SuperSU has been installed.
  • You can verify it by opening a terminal and typing su.
Success! Root access in Tab2 A7-20F
After this, I used Titanium Backup to freeze/uninstall the bloatware.

Here are some other threads if you plan on going beyond the new ROM and installing a new one.

Friday, January 26, 2018

Using Office365 Mail and Calendar in Linux

For some reason, if your school or workplace is using Microsoft Office365/Outlook for all communication, you can configure your Linux e-mail client to support most of those features such as e-mail, calendar, and contacts working. Sometime back, support for Microsoft Exchange-based services was very buggy in open-source e-mail clients like Thunderbird and Evolution. But they have come a long way since then. Here are the steps I followed to get my University e-mail working in Evolution.

Step 1: First install the software needed.
sudo apt-get install evolution evolution-ews 

Step 2: (Optional) If you are not using a GNOME-based Desktop Enivronment you need to install following dependencies as well. (For example, I'm using XFCE with i3WM)
sudo apt-get install gnome-online-accounts gnome-control-center

Step 3: Then start the gnome-contol-center. If you're not on GNOME, you might have to trick the Desktop to make it believe you're on GNOME like this:
env XDG_CURRENT_DESKTOP=GNOME gnome-control-center
 

 Step 4: Click on Online Accounts and add your Microsoft Exchange details. (Here use outlook.office365.com as the server.)

Step 5: Go to Evolution. Add an identity.

Step 6: In Receiving e-mail section, use https://outlook.office365.com/EWS/Exchange.asmx as the Host URL. Then when you click the Fetch URL button, OAB URL should be auto-completed.

Step 7: Once you restart, everything should be synced.
 

Thursday, January 11, 2018

Weather info in i3bar with i3status

Update: wttr.in now has a new one line format. So some of the below logic for parsing the output is no longer required.

I recently started using i3wm because it is light-weight, keyboard-friendly and uses the screen real-estate efficiently.  I customized i3bar and i3status (which came installed with i3) to show system information and date/time. But there was no out-of-the-box feature to get weather information from i3 status.

I wanted a simple solution that does not require installing an external program like i3blocks, conky, dzen2, xmobar or lemonbar. It had to also preserve colors I had configured for the i3bar output. So I came up with this simple solution.

Step 1: Setup a cron job to retrieve weather information every 5 minutes and store it in a temporary file. (This is because wttr.in only allows 1000 API calls per day and the weather information is not frequently updated in the server.)

*/5 * * * * curl -s wttr.in/montreal?T | head -n 7 > ~/.weather.cache

Step 2: Write a shell script to add this information to i3status data.
#!/bin/sh
# shell script to prepend i3status with weather
i3status | (read line && echo "$line" && read line && echo "$line" && read line && echo "$line" && while :
do
read line
temp=$(cat ~/.weather.cache | grep -m 1 -Eo -e '-?[[:digit:]].*°C')
status=$(cat ~/.weather.cache | head -n 3 | tail -n 1 | cut -c 16-)
echo ",[{\"full_text\":\"${temp}${status}\",\"color\":\"#00FF00\" },${line#,\[}" || exit 1
done)
view raw i3weather.sh hosted with ❤ by GitHub


Step 3: The ~/.config/i3/config file needs to be updated for the status_command to pipe through this script, as follows.

bar {
        status_command .config/i3/weather.sh
        tray_output primary
}


Step 4: The ~/.i3status.conf file should also be updated to change the output to the JSON format.

general {
        output_format = "i3bar"
        colors = true
        interval = 5
}


This is how it looks like in the end.

 You can find more information from the following links.