Anshuman Khanna
banner
anshumankhanna.bsky.social
Anshuman Khanna
@anshumankhanna.bsky.social
Software dev | Live project https://grievance.msit.in/ | I'll make everything open source
This code is very bad, tell why
April 27, 2025 at 9:55 AM
Is this fact that we can do this in C/C++ good or bad?

I find it very cool but at the same time it is doing so much in one line which seems very unreadable if it was part of production codebase
April 24, 2025 at 6:58 PM
People making CSS videos have my maximum respect

They are the true example of loyalty
April 24, 2025 at 2:26 PM
Experimenting sometimes can be so irritating because it's just like why won't this thing work and no one will tell you because you are the first one doing it
April 23, 2025 at 5:00 PM
First is using bash in vs code, second is using powershell in vs code

For both I ran using the command node --experimental-strip-types, yet I got different results, why?

@nodejs.org @mrpowershell.bsky.social

Testing ANSI sequences
April 23, 2025 at 3:46 PM
Sum of digits is such a commonly used technique that I feel languages should have an inbuilt function to get that
April 23, 2025 at 3:20 PM
Old software innovations:

LSP, so you can focus on writing code not the boiler plate
IDE, don't worry about setting stuff up, just focus on working

New software innovations:

AI writes the code, you debug it, you review it, you fix it, do all the boring things
April 23, 2025 at 2:52 PM
Try this
April 23, 2025 at 2:55 AM
Everyone programming language community has some lunatics that believe that their language has no flaws

Once I asked what is the special feature of Java and a person said 'community'

That's not a feature of the language, but he didn't back down
April 22, 2025 at 11:27 AM
Every language has a purpose and the only reason to use a language for something is 'I want to' or 'it has more tools for this purpose', anything other than that is trash, every language can virtually do everything nowadays
April 22, 2025 at 11:27 AM
I have started finding books on topics I really want to explore for free and I think I am now in idea hell

Gotta organize, make some plan
April 22, 2025 at 11:24 AM
I don't know if this'll ever happen but if you make write an educational book, after you recover x (some number > 5) times the cost of producing it,

Make it free online

Still keep a price for offline and the option to pay extra
April 22, 2025 at 11:04 AM
Reference Manuals aren't that bad if you really resist the urge to use AI anytime you can't understand any trivial thing and read again or just write out some code

This advice is not for beginners though
April 21, 2025 at 7:08 PM
Idea: Sites should read the URL you are on and suggest you the URL you probably wanted

Like if I am on leetcode.com/problemsset
It should have an error page that suggests that I probably wanted leetcode.com/problemset

Just a good experience thing
leetcode.com
April 21, 2025 at 3:19 PM
For some time now I think I'm starting to like open source tools more

Just something about them, the fact that I know if I wanted I could change them internally makes it very comfortable for me
April 21, 2025 at 3:18 PM
I save OpenAI millions by not saying please and thank you

Doing my part for the better future
April 21, 2025 at 3:18 PM
I can't code DSA problems in Typescript and I can't code web dev in C++

The world will say this is completely fine

I don't think it is

Gonna focus on covering this vulnerability

Also, gonna ship some stuff soon, was busy and got disrupted
April 21, 2025 at 3:18 PM
I used to star the github repos that contained some information and I had to study them for later read

Lately with all that's going on I just fork them

You never know which resource will vanish in the thin air because of some random drama
April 20, 2025 at 10:10 AM
A language's strength is inversely proportional to the number of undefined behaviours possible with it
April 20, 2025 at 6:03 AM
"A person might turn to me and say you're blind, you have special needs.

No, you have special needs, you need light to read, I don't need light to read"

It's all about perspective

youtu.be/TtJqfmT-r9o
Why I don’t need you to "fix" my disability | Sara Minkara | TEDxMidAtlantic
YouTube video by TEDx Talks
youtu.be
April 17, 2025 at 12:01 PM
There is a certain level of being a developer where you realise every product is bad

Like every product has some cons that you feel a lot of and it's either balance pros and cons or make your own
April 16, 2025 at 12:24 PM
Nvim seems to have increased my typing speed
April 16, 2025 at 10:55 AM
I am trying to help someone fix an error with package installation

This is what has happened

Mind you I had the same error and I fixed mine in 1 min, by just reading what the error was on vercel deployment and then what the error was on package manager
April 16, 2025 at 10:52 AM
Idiots spread fears
Wise spread facts
April 16, 2025 at 10:52 AM
I need APIs for my social media, just so that when I come just to post, I don't have to open the application and wait for it to load and then wait for it to send before I can close the application

Just give me an API, I'll make my own UI and upload so much stuff
April 16, 2025 at 10:52 AM