Ayush Dixit

485 posts

Ayush Dixit banner
Ayush Dixit

Ayush Dixit

@ayushdixitdev

Full-Stack Developer | Sharing code, mistakes & lessons from building

Kanpur , Uttar Pradesh , India Katılım Ağustos 2024
96 Takip Edilen117 Takipçiler
Ayush Dixit
Ayush Dixit@ayushdixitdev·
I’ve seen a lot of people complaining about @cursor_ai Pro plan, and honestly, I didn’t get it at first. It worked fine for me. But recently it started to click why people say that. It’s not that it’s bad, it’s that you end up using expensive models for everything. Thinking, planning, coding… all billed the same way. That adds up. That’s where something like @opencode feels different. It’s more pay-as-you-go, you pick models based on what you actually need, instead of relying on one default for everything. Use strong models for planning and architecture, then switch to cheaper ones for execution. Same workflow, just more intentional. I haven’t properly measured it yet, but it feels like you could get pretty similar results in maybe $10–15 instead of always defaulting to a $20 plan.
English
1
0
3
97
Ayush Dixit
Ayush Dixit@ayushdixitdev·
Still confused whether JavaScript is pass by value or pass by reference? Truth: JavaScript is always pass by value. But sometimes the value itself is a reference. Primitives → the actual value gets copied. Objects / arrays / functions → the reference (memory address) gets copied. That’s why this happens: const user = { name: "Ayush" } const copy = user copy.name = "Rahul" console.log(user.name) // Rahul Because both variables are pointing to the same object. So, if it were a primitive, you'd get an independent copy. With objects, you're just copying the reference.
English
0
0
2
71
Ayush Dixit
Ayush Dixit@ayushdixitdev·
Statistics and Probability is the worst branch of mathematics.
English
0
0
2
31
vibhu
vibhu@vibhu·
Never hire someone with more than 50k followers on X
English
569
21
1.3K
160.4K
Ayush Dixit
Ayush Dixit@ayushdixitdev·
@qasimbizs @Tobby_scraper Sometimes data backups can become messy and get you headaches , but I still prefer self host to reduce cost with caution of data backups
English
0
0
0
99
Qasim
Qasim@qasimbizs·
@Tobby_scraper I use docker to containerise my application and host my frontend and backend on a droplet. Pretty straight forward, the security is the only thing to consider
English
2
1
17
3.1K
Qasim
Qasim@qasimbizs·
Hot take: Vercel and supabase are great for small projects But as soon as you get decent traffic you should self host to avoid crazy $$$ costs.
English
135
21
840
56.8K
Ayush Dixit
Ayush Dixit@ayushdixitdev·
I'm in the Zed Student Pro plan!!! If you're a student developer, you can get the Zed student plan. Might be worth checking out if you're interested in trying the editor. zed.dev/education
Ayush Dixit tweet media
Zed@zeddotdev

Introducing: Zed for Students! 🎓 Enjoy Zed's Pro plan free, for a year, if you're a current university student (or teacher!) - Zed Pro features for 12 months - $10/month in token credits - Unlimited edit predictions Apply today: zed.dev/education

English
0
0
1
116
Ayush Dixit
Ayush Dixit@ayushdixitdev·
Ever wondered why "this" behaves differently in different types of functions in JavaScript? Normal function → this is decided by how the function is called. Arrow function → this is decided by where the function is written. A common misconception is that arrow functions don’t have this. They do , they just don’t create their own. Instead, arrow functions capture this from the surrounding lexical scope. Once this clicks, this in JavaScript becomes far easier to reason about.
English
2
0
3
99
Ayush Dixit
Ayush Dixit@ayushdixitdev·
Just found a crazy VPS cloud provider You can get a VPS for about $3.96/month (~₹360/month) from @ContaboCom with specs like: • 4 vCPU • 8 GB RAM • 75 GB NVMe storage • 200 Mbit/s port For this price, that’s honestly insane value. If you're a developer and want a server to deploy side projects, APIs, Docker apps, or just experiment with infrastructure, this looks like a great option. Could easily run multiple small services or apps on a single machine. Might actually be one of the cheapest VPS deals out there right now. If anyone knows even cheaper (but still reliable) VPS providers, drop them in the comments 👇
Ayush Dixit tweet media
English
0
0
3
246
Aditya
Aditya@_adityaa21·
Your Boy is Famous now 🥳 Got Placed in Tech Mahindra and College Printed a banner of this 😭
Aditya tweet media
English
67
4
322
20.3K
Ayush Dixit
Ayush Dixit@ayushdixitdev·
To every JavaScript / Node.js developer: Please take the time to deeply understand the difference between the JavaScript browser runtime and the Node.js runtime. JavaScript is not just “one thing.” It behaves differently depending on where it runs. In the browser, you have: The DOM Web APIs (fetch, localStorage, etc.) The window object A sandboxed environment In Node.js, you have: The file system OS-level access The global object CommonJS / ESM module systems A different event loop implementation Same language. Different runtime. Different capabilities. If you truly want to strengthen your understanding of JavaScript, stop treating it as just syntax. Learn how the runtime works, the event loop, execution context, memory model, and how asynchronous behavior is handled in both environments.
English
1
0
2
116
Ayush Dixit
Ayush Dixit@ayushdixitdev·
Do these code snippets print the same output? Yes or no? and Why?
Ayush Dixit tweet mediaAyush Dixit tweet media
English
0
0
2
86
Ayush Dixit
Ayush Dixit@ayushdixitdev·
If you truly want to understand advanced concepts like closures, lexical scoping, and hoisting, then don’t start with the buzzwords. Start from here 👇 How JavaScript actually runs your code. Before jumping into “what” closures are, understand: • What is an Execution Context • What are its types? (Global & Function) • What are the two phases of an execution context? (Creation & Execution) Because here’s the truth: Closures don’t “magically” remember variables. Hoisting isn’t “moving code to the top.” Lexical scoping isn’t just a definition to memorize. They all make sense only when you understand what the JavaScript engine is doing behind the scenes. Skip this foundation, and you’ll end up memorizing behavior instead of understanding it. (I did the same earlier.) Learn the runtime first. Everything else becomes obvious.
Ayush Dixit tweet media
English
0
0
3
834
Ayush Dixit
Ayush Dixit@ayushdixitdev·
Finally left my job because I was feeling very stuck there. It's time to invest some time in learning the essentials where I lack or am not that strong: - DSA (Problem Solving) – Deepening JS/TS/Node fundamentals – Go deeper into backend systems - Building some cool projects (GenAI and more) From today, I’ll be sharing everything I learn along this journey.
English
0
0
3
79
Dinesh Verma
Dinesh Verma@DINESHVERM578·
Is this Enough to Crack 100k Offer ? DSA + System Design + AI + Developement DSA + System Design + AI + Developement DSA + System Design + AI + Developement DSA + System Design + AI + Developement DSA + System Design + AI + Developement DSA + System Design + AI + Developement
Français
4
0
14
268
Arun
Arun@hiarun02·
I’m ready to invest in an AI coding tool. But which one is actually worth it? – Cursor – Codex – Copilot – Claude Code – Antigravity Everyone says AI will 10x your productivity.
English
107
1
97
8.9K
Ayush Dixit
Ayush Dixit@ayushdixitdev·
Hey Web Devs 👋 What’s your current tech stack Frontend, backend, DB, hosting — drop it all below 👇 Curious to see patterns across the community
English
2
0
4
326
Ayush Dixit
Ayush Dixit@ayushdixitdev·
Finally 100 followers!!! Appreciate everyone who’s following along. I share thoughts, experiments, and work around tech and building. If you’re into dev/tech, happy to connect 🤝
Ayush Dixit tweet media
English
0
0
2
100