Skip to main content
Photo of DeepakNess DeepakNess

Raw Notes

Plaintext raw notes containing useful resources, incomplete thoughts, ideas, and learnings as I go about my day. You can subscribe to the RSS feed to stay updated.

Total notes: 56


Trying Django

I do have some basic knowledge about Python and I am thinking of trying the Django framework to build a web app for searching and filtering abandoned Chrome extensions for ideas. I am already scraping 1000s of such Chrome extensions and it would be a fun project to learn everything.

As of now, I am not very sure about the complexity that Django has, but I am willing to try it. I will be storing all the extensions data in a sqlite3 database, and can host the app on a Hetzner VPS.


Gemini 2.5 Pro in cursor is amazing

Was trying to design a Supabase database schema based on the requirements I gave the Gemini 2.5 Pro model in Cursor and it just quickly got started by saying this:

Okay, let's design the Supabase database schema based on your requirements. We'll need three main tables: profiles, timelines, and events.

1. Database Schema (SQL) Here's the SQL to create the tables, define relationships, and set appropriate constraints:

And when I ran the provided SQL queries in Supabase SQL Editor, I saw no errors. But other models like Claude 3.7 or 3.5 are not this sleek. First, they provide a lot of commentary and second, most of the time SQL query show errors on the first run. So... Google, I'm impressed. Again.


Finding manifest versions of Chrome extensions

I scraped a list of more than 64,000 Chrome extensions and wanted to find their manifest_version, but this isn't mentioned anywhere on the Chrome Webstore public page anywhere. But after spending hours, I finally found a way to know the exact manifest version of each extension, automatically.

First, I am downloading the CRX file of each extension through an automated way, extracting the CRX file to find the manifest.json file, and then reading the JSON file to get the manifest_version (whether it's 2 or 3).

I think, there's a huge opportunity of building much required Chrome Extensions where they have not been updated to the latest manifest v3 and have stopped working. One can find such an extension with 1000s of downloads/reviews/ratings, and build an alternative one.


The idea of second brain is useless

I think, this idea of having a second brain is utter useless and it doesn't help anyone in any way. It sure feels nice when you're just loading all the information in Notion, Obsidian, or other tools that are suitable for it. But this is just a kind of productivity porn that I was once addicted to – and I had a serious addiction towards it. I am writing about this because I came across this tweet when scrolling today, and it reminded me how I also ditched this second brain thing a few years ago and have only been better since then.

And the reason why it doesn't work is, you spend a lot of time "preparing" your second brain for what information you might need in the future then actually working on something productive. Whenever you see an interesting piece of information, instead of going through it and learning it right away, you start saving it in your second brain for when you might need this in the future. Whenever I found a good article, instead of reading it right away, I would save it and then forget about it. But this is just the part of the problem – the bigger issue is you don't just save things that are useful as of now, but your mind also hallucinating about what information you might need in the future.

But yes, someone who is actually writing all the information in the second brain as they learn, and not using some kind of clipper to save random articles and links from the internet – for them it might actually be useful. Out of 100s of videos I watched back then about the second brain, only a few's second brain were actually helpful for themselves, now that I think about it.


We keep wanting more

Sometimes, it feels that AI tools like ChatGPT or Cursor have become dumber over the last few months but the reality is: they have not, and only our perspective have changed. We have started having more expectations from these tools, as we use them.

The slow and gradual update in something is not appreciated enough.

It wasn't even possible to write code using AI only a few years ago, in fact, even AI tools like ChatGPT weren't also available only a few years ago. Now, we are able to do a lot of things using AI but... it's not enough, actually, it will never be enough because that's how we are.

I came across this tweet and it's correctly explained how it's all about "perspective". With time, our perspective changes.

Another example comes in mind:

It wasn't possible to do video calls using smartphones only a decade and a half ago, and that the changes from keypad phones to modern day smartphones were "gradual" – it's not appreciated enough.

But yes, it is how it is.


Trying more things

I think, trying more and more new things places you in front of a lot of possible opportunities that you wouldn't have believed otherwise. Most of my projects are results of some silly projects that I did in a weekend.

Lately, my goal has been to learn a lot, a lot of different things by trying different things and keep iterating and keep doubling down on things that show some potential for growth.

Everything in the world is coincidence or rather luck, and if you try more things, your chances of becoming lucky increases.

Yes, this is what I believe in.


Which browser then

Came across this post which suggests to not use the Brave browser, which I am currently using (I was using Chrome earlier). All the points it suggests are true, but the question is – what do I use then? It's a shame that we don't even have a decent web browser on the internet?

  • Google Chrome - tracking, privacy risk, consumes a lot of resources
  • Brave - keeps pushing ads, AI, and crypto stuff
  • Firefox - not good anymore
  • Safari - not user friendly, but most of all not ideal for web development (which I need)
  • Edge - too clunky, has too many options
  • Zen - very new, have experienced some bugs

Have tried them all.

Should I really just keep trying all the browsers – Opera, Vivaldi, DuckDuckGo, etc. are still left to install and try for me. Have tried DuckDuckGo on my phone, but not on the desktop.

But the problem here is, it's not only about the performance or the UI. It's also about the concerned security issues, and I am no expert to know all those things of how a browser is working behind the scenes – I have to rely on people for this. And opinions changes, because once everyone said is a good browser is now the worst, right?

For now, I am going to stick with Brave... and will be open to trying new recommendations as I discover.


Vibe coders are developers

One thing I am noticing these days that all the successful vibe coders are developers, or at least, they understand the basics of programming. They just keep downplaying it by saying that they don't know how to code but still able to build successful apps.

Why?

Because it gives them more attention as people are more attracted towards something which requires less effort but does more impact.


AI is power

I think, AI is going to speed up the innovation and it's going to bring more good to the world than more harm.

Think of AI as a tool, just a tool. For example, how inventions of "tools" like wheels or iron or other groundbreaking things completely changed the course of the then-future. Similarly, AI is a tool which is enabling people to do more people's work and that's indeed a great thing.

Yes, it's going to take some people's jobs but at the same time it's enabling people, who use AI, to work more, or rather, do more work with less efforts in less time. No?

What say?


Using AI + reading docs

Yes, vibe coding is really cool as it should be. But have you ever tried going a bit slow and also reading the docs and understanding what AI is writing? It's so satisfying, to be honest.

I was trying to implement auth to a Next.js project and Claude 3.7 Sonnet was really struggling with that. However, Google's Gemini 2.5 Pro did successfully implemented it and I was so happy. But I decided to re-do the authentication, but I was also going through the generated code this time; I was surprised that how easy the auth implementation was as compared to earlier when I was just asking AI to fix the issues again and again. If I had just followed the docs, it would have taken me a lot less time and I would have also felt more confident vibe coding.

Sometimes, it does feel that I don't need to read the code and let's just get it over with. But I am trying my best to, at least, just have a casual look at the code that AI is generating.

What say?


Art evolves

Like everything else, art evolves.

I keep seeing people not accepting the images or rather visuals that AI produces, and I get it because acceptance takes time.

But... if you think, were the current popular form of arts always like this? No, back then people did different things and now people are interested in different form of arts. And the transition phase is difficult, no doubts.

For example, initially, they draw on stones or leaves and then would they have easily accepted when someone first invented paper and starting drawing on the paper? No, absolutely not. But eventually, everyone moved to paper, right?

Similarly, people nowadays are making Ghibli arts using AI and then some people are calling it bad. I understand that, but eventually, this will be widely accepted and no one will say a thing.

This is how it works.


Git branching fundamentals

Viewing Branches

git branch                  # List local branches
git branch -a               # List all branches (local and remote)

Creating Branches

git branch <branch-name>    # Create a new branch (stays on current branch)
git checkout -b <branch-name>  # Create and switch to new branch in one command

Switching Branches

git checkout <branch-name>  # Switch to an existing branch

Merging Branches

git checkout main           # Switch to the target branch
git merge <branch-name>     # Merge specified branch into current branch

Deleting Branches

git branch -d <branch-name> # Delete a branch (safe - won't delete unmerged)
git branch -D <branch-name> # Force delete a branch (even if unmerged)

Remote Branch Operations

git push origin <branch-name>  # Push branch to remote
git pull origin <branch-name>  # Pull remote branch

AI coding is hard

Yes, coding using AI is harder than you imagine, especially when you try building complex apps.

For example, I tried building a web app using AI and it perfectly did everything I asked, but only at a point; after that it started hallucinating and the changes were not very good. And, in fact, I tried all major AI coding apps available in the market.

Here's what I think about AI coding tools:

  • Lovable.dev: bad
  • Bolt.new: good for simple projects
  • v0.dev: really good, but highly opinionated
  • cursor.com: the best (but sucks in UI)

Yes, I have tried only these as of now.


Tried replying to tweets

For the first time, I started experimenting with replying to people tweets wherever I see fit and I think it's a good idea, and it totally makes sense. I'd say that now I do understand people spamming replies under famous tweets. But I'm not talking about spamming, obviously.

I posted this simple reply under a tweet when it was just posted. And by the time of writing this post, which is about after 4 hours, it already has ~4,500 impressions. Most of the time, my tweets don't get this much impressions, but a reply did. Crazy!

But the question here is, like most of my tweets, like 99% of the time, aren't intended to "sell" something, this was also unintentional. I just liked showing my setup and people liked it.

I think, I would do this more often now. Not very aggressively, but yes.


Useful SQL queries

Actually, I have recently set up a PostgreSQL database on a VPS for a new project I am working on.

And since this is the very project of this kind that I am working on, I am learning some basic SQL queries and will be taking a note of some of them below:

Common SQL queries

Here are the most essential PostgreSQL queries you'll likely use frequently:

  1. Select all records:

    SELECT * FROM sample_table;
  2. Create a new table:

    CREATE TABLE sample_table (id SERIAL PRIMARY KEY, name VARCHAR(255), created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP);
  3. Add a new column:

    ALTER TABLE sample_table ADD COLUMN status VARCHAR(50);
  4. Change column data type:

    ALTER TABLE sample_table ALTER COLUMN rating TYPE FLOAT;
  5. Update specific rows:

    UPDATE sample_table SET status = 'Active' WHERE status = 'Working';
  6. Delete specific rows:

    DELETE FROM sample_table WHERE created_at < '2023-01-01';
  7. Insert new records:

    INSERT INTO sample_table (name, status) VALUES ('Example', 'New');
  8. Rename a column:

    ALTER TABLE sample_table RENAME COLUMN old_name TO new_name;
  9. Drop a column:

    ALTER TABLE sample_table DROP COLUMN unused_column;
  10. Remove all rows from the table while preserving the structure

    TRUNCATE TABLE sample_table RESTART IDENTITY;

Obsidian is not open-source?

I just found out that Obsidian, the notetaking app, is not open source. I do not have a problem as I am already using tons of apps that are not open source, but to be honest, I always thought that Obsidian was a open source app.

I found out from this tweet, where the OP also thought it was open source until he found out.

I have used Obsidian for a long time, not so much recently, but still have installed on my computer and occasionally use it. As of now, I have started using the VS Code directly for taking plain-text notes and it's working fine for me.

Actually, the idea here is, I want to take notes which are:

  • no proprietary format
  • no vendor lock-in
  • should be accessible by any apps
  • can be opened for decades to come
  • should be full-text searchable
  • should take less disk space
  • freedom to backup at multiple locations

Yes, I would definitely want these features from my notetaking app. And my current VS Code setup is giving me the flexibility to do all that.

So... I am all set.


Boring tech stacks

Came across this tweet on X earlier this morning where they are discussing about the closing of a database provider company called Fauna. It has recently announced that it will be closing down in the next few months.

I am super glad about my choice of recently setting up a PostgreSQL database on a VPS server via Coolify. I can also automate regular backups and there are multiple benefits:

  • I am not platform locked
  • It would cost me a lot less than, say Supabase

Actually, I have always been very hesitant about using a platform where there is the slightest possibility of me getting locked out due to any reason – like proprietary data format or risk of getting banned/blocked and not being able to access the data.

Yes, I did not settle with such note-takings apps as well. Currently, I take notes in the plain .md format which can be accessible using any tool, and backup those notes to multiple places securely as well.

I saw another tweet about the same, and feeling good about my choices lately.


Bolt.new hackathon

I got to know about the amazing hackathon that bolt.new is organizing via this tweet and I am all excited for it. Have already applied for the hackathon, but currently not very sure what and how I will be building it.

However, it's a good opportunity to push myself to do something under a given timeline while also standing a chance to win something. I know, there would also be "real" developers applying for the hackathon but I think, it's more about the idea than the code. Currently, not sure what we have to build so I am waiting on their official website to be updated with latest info so that I can think of an idea accordingly.

Super excited for this. LFG!


Should I make a new blog platform?

I am fascinated by BearBlog and tempted to build a similar but a bit different (and better?) blog platform. And Karpathy just made it an even stronger case with this tweet.

Someone asked and ideal features of a blog would be, according to him:

  • a WYSIWYG markdown++ editor
  • support for math, code, images, etc. (Obsidian style)
  • basic features like SEO, feed, newsletter, custom domains, analytics, media, etc.
  • discovery feature (much like Bear blog style)
  • easy to leave the platform with all data in simple formats

"I mean... basically I want Bear but richer authoring interface that looks a lot more similar to Obsidian, instead of just a legacy plain textbox."

Yes, that's his last line.

I am sure that I am very tempted to and can actually build such a platform but not very sure about the tech stacks to make the code maintainable. Because if I start, it should be a long-term project that keeps running for years to come, maybe even till I live or maybe even after that.

I did take a look at the Bear Architecture and it's good. So... here, only my limited knowledge of databases, Django, maintainable code, etc. is holding me back.

Absolutely nothing else.


Screen.studio: my best purchase

I was thinking about how much of my time screen.studio is saving for editing videos. I think, it saves me at least 30–60 minutes of time for each video that I put on YouTube – my workflow has become a lot faster because of this one app.

When I record videos, it saves a lot of time in editing:

  1. automatically creates the zooms highlighting important areas
  2. automatically puts and records my camera feed in the video
  3. splitting and removing certain sections is much faster
  4. now, i can also blur/highlight certain parts in the video

And much more.

Screen.studio is one of those purchases that save you a lot of time and basically offer much much more value than the money you spent on it. Super happy for it, and I don't think I will be needing a separate setup for videos anytime soon.


Randomness

I always say that the world is full of coincidences, we control a very few things (or rather even nothing), and all the things around us are so random.

I am watching this podcast where Paras Chopra is talking about randomness, and I became so happy after listening to the argument because I also think the similar way. While we like to think that we're in control of our lives, no, it's not the truth – things are so random that you don't even know what's going to happen tomorrow or even in the next minute.

It's chaos everywhere.

And that brings me to this post of mine where I've discussed about "uncertainty" and how everything revolves around that only. You know, I started playing badminton and got my leg fractured only 3-day after joining the court. Clearly, I wouldn't have predicted it.

But what do you do with this information that everything is random?

Nothing, really. Just know that not everything is in your control, so if you be successful in something, happy; but if you do not meet success, do not be too broken. Because you did not have all the cards.


Hyping everything is irritating

Yes, hyping works in marketing, you have hype a little that your product works great, solves real problems, and is getting good response from the people. I understand that; but what I don't understand is people, at least on X, hyping every single thing about AI.

It's irritating.

You might have also come across these folks who unnecessarily try to hype every single of their tweets. I mean, hyping a good strategy to stand out and make a bold claim, but when you hype everything, you're slowing decreasing the value of your next tweets/posts.

People will start getting bored knowing that all your posts are hype, and then your social account will die a slow death.

Don't do it.


The all new Manus AI

China is not holding back!

It's dropping mind-blowing developments in AI one-by-one. It was only a few weeks ago when DeepSeek was released and now they have released this AI which has the capabilities of Deep Research + Operator + Claude Computer combined. I mean, just see the demo by yourself.

Yes, it's a bit slow as of now (claim a few people who already have the access), but hey, it's just the start and I'm sure that it will become even better.

Excited for this!


Cool AI games

I don't know why some people are worried or rather pissed about Pieter Levels building a simple flight simulator game like this and making money out of this. Obviously, it's not about how good the game is (one person was complaining about this, I don't remember who now), it's about "reach", it's about "distribution", about "placement". Advertisers are paying because so many people are trying this "mediocre" game and it's going to give them eyeballs. Simple.

I love it, have played the game, and it's fun despite being very simple.

I also noticed that this has given a lot of other people the motivation to build something like this and, surprisingly, those few people are also making money out of this:

Very cool, right?

I expect, there will be a lot more this kinds of game would be coming out in the near future which can be played directly in the browser.


Quick shareable videos using ffmpeg

ffmpeg is great!

If you want to compress a video without visible loss in the quality, here's the command:

ffmpeg -i input.mp4 -vcodec libx264 -crf 28 output.mp4

And if you want to speed the video up by, say, 1.33x, you can just run the below command:

ffmpeg -i input.mp4 -filter:v "setpts=0.75*PTS" -filter:a "atempo=1.33333" -r 60 output.mp4

And you can also combine both above commands into one, just run the below command and your video will be compressed as well as become 1.33x faster in seconds:

ffmpeg -i input.mov -vcodec libx264 -crf 28 -filter:v "setpts=0.75*PTS" -filter:a "atempo=1.33333" -r 60 output.mp4

Make sure to cd into the folder where your video file is, and replace input.mp4 with the actual video filename you have.