VSCode Multi-Root Magic: Run Flutter APK Builds in Separate Git Repos

TL;DR

Stuck with “No pubspec.yaml found” when building Flutter APKs in a multi-root VSCode workspace? Fix it in 3 steps:

  • perfect workspace naming,
  • cwd overrides,
  • emulator-ready URLs.

The Problem

  • Top-level folder with 2 separate Git repos:
    • flutter_app/ (Flutter)
    • fastapi_backend/ (Python)
  • Flutter .vscode/tasks.json ignored in parent.
  • Tasks fail: “Must be run from root of Flutter project” or “No pubspec.yaml found”.
Continue Reading »

Deepseek : Model vs Web app

There was a post on LinkedIn about how asking DeepSeek to list states of India is not answered. 1

First of all, why would you ask such a trivial question to it , when you can just search.

We need to consider the difference between search engine and “thinking model” like DeepSeek

It is like asking Einstein help with 10th class Physics exam 😃 - while he may be able to help, his abilities are better suited for more difficult tasks.

Continue Reading »

Access Google Bard via API

Yesterday, I was trying to access Bard API via Rust

The task is WIP because :

  1. I’m still learning Rust (Although on Day 5 I was able to access a URL from rust code)
  2. I didn’t know how to access Bard API

It started with a Youtube video that:

  • Uses python code which uses Bard library
    • Not sure if it is official one or third party one
    • In either case it won’t be directly useful in rust code
  • Uses a hack to get session cookie from browser (which will expire sooner or later)

At that time, I didn’t know whether Google has made Bard API accessible via an API

Continue Reading »