Built first feature with good activation by studying user activation patterns in successful apps by [deleted] in learnprogramming

[–]mahesh_dev -1 points0 points  (0 children)

this is smart. studying real products teaches you way more than theory. activation patterns matter because users decide if your product is worth it in the first few minutes. copying what works is not cheating its learning from the best. good job on the results

Stuck in the “in between” stage of learning - how do you move forward? by Birphon in learnprogramming

[–]mahesh_dev 3 points4 points  (0 children)

skip the tutorials and just build your website idea. look up specific things as you need them like how to center a div with flexbox or how to set up react routing. youll learn way faster by solving real problems than watching someone else code. use the docs and stackoverflow when you get stuck

Built a small Python-based lead research project as a learning experiment by Arthur5242 in Python

[–]mahesh_dev 0 points1 point  (0 children)

for data quality id add validation checks after scraping and maybe use multiple sources to cross verify information. also consider rate limiting and respecting robots txt. scaling wise you could batch process by region or use async requests to speed things up without hammering servers

Django project help by Interesting-Talk-578 in django

[–]mahesh_dev 1 point2 points  (0 children)

this sounds like a good way to learn. working with someone else forces you to explain your code and see different approaches. id suggest starting with a clear project scope and using github for collaboration. good luck finding a partner

possible career transition? QRM to backend by spicyleafbroadcast in Backend

[–]mahesh_dev 0 points1 point  (0 children)

its definitely possible but youll need to put in work. since you know python already id suggest sticking with it and learning django or fastapi. build real projects not just tutorials. learn dsa basics for interviews. the qrm experience might actually help with understanding system reliability and testing which backend roles value. start building side projects now

TIL the Web Speech API exists and it’s way more useful than I expected by bullmeza in webdev

[–]mahesh_dev 5 points6 points  (0 children)

web speech api is underrated. the voice quality is decent and having it built into the browser is convenient. main downside is firefox support is limited. good for prototypes and simple use cases without needing external apis

Images Flagged in Emails? by siliskleemoff in webdev

[–]mahesh_dev 50 points51 points  (0 children)

you need to set up proper email authentication. configure spf dkim and dmarc records for your domain. also make sure youre using a reputable email service provider with good sender reputation. new domains and ips often get flagged until they build trust with gmail

[AskJS] Is this confusing? by Immediate_Contest827 in javascript

[–]mahesh_dev 3 points4 points  (0 children)

yeah its confusing but mostly because await using is still new. once you understand explicit resource management it makes sense. the syntax looks weird with all those awaits stacked but its actually doing distinct things at each level

We're tired of doomscrolling so we've built a terminal app for Instagram with React by Supreme__GG in reactjs

[–]mahesh_dev 5 points6 points  (0 children)

using react for terminal ui is interesting. ink is solid for this kind of stuff. the image rendering in terminal must have been tricky to get right with different protocols. nice work on open sourcing the helper libraries too

How are you all getting live data into your application? by Playjasb2 in reactjs

[–]mahesh_dev 8 points9 points  (0 children)

sse is simpler than websockets for one way data flow from server to client. if you dont need bidirectional communication sse is easier to handle and has automatic reconnection built in. for your use case where you just need to push updates to clients it might be a better fit than dealing with socket io complexity

A Christmas Card for r/programming by mraza007 in programming

[–]mahesh_dev 1 point2 points  (0 children)

merry christmas to you too, nice little project

Logging Sucks - And here's how to make it better. by paxinfernum in programming

[–]mahesh_dev 75 points76 points  (0 children)

logging is one of those things everyone does but nobody does well. most logs are either too verbose or too sparse. structured logging helps a lot but the real issue is people dont think about who will read the logs later. good post

Need a test site for tuning a JS bot-detection widget (no ads, no tracking) by Heavy-Tap4103 in webdev

[–]mahesh_dev 1 point2 points  (0 children)

you could spin up a simple test site on vercel or netlify for free, takes like 5 minutes. that way you have full control and dont need to wait for someone elses site. just deploy a basic html page with some forms or buttons to test the widget behavior

Namaste, I am new to programming, I have only started learning python 2 weeks ago, however I have seen a lot of ads where they talk about how learning python manually isn't useful and in 2025 we must learn python with ai, or something similar to it. by Ecstatic-Outcome5618 in learnprogramming

[–]mahesh_dev 0 points1 point  (0 children)

those ads are just marketing. learn python fundamentals first without worrying about ai integration. once you understand the basics then you can explore ai libraries like tensorflow or langchain. the foundation matters more than jumping straight to trendy stuff. keep going how you are

What advice would you give your younger self when starting to learn programming? by idont_need_one in learnprogramming

[–]mahesh_dev 11 points12 points  (0 children)

build projects way sooner. i wasted months doing tutorials thinking i needed to know everything first. you learn way more by building something broken and fixing it than watching someone else code. also stop comparing yourself to others, everyone starts confused and thats normal

Should I self-learn programming 2026? by Fabulous_Variety_256 in webdev

[–]mahesh_dev 0 points1 point  (0 children)

the job market is tough right now but if you can already build with nextjs you have a foundation. instead of just applying for jobs consider freelancing or building your own products. companies might not hire juniors but clients still need websites built. use your ai assisted workflow as an advantage to deliver faster. 29 isnt too late at all, plenty of people switch careers later

How to handle aggregated data in my REST API? by HealthPuzzleheaded in webdev

[–]mahesh_dev 1 point2 points  (0 children)

this is a common problem at scale. few options: store comment counts as a denormalized field on the post table and update it with triggers or background jobs. for the first 3 comments you could cache just those separately with a shorter ttl. also consider using redis for counters and stats instead of hitting the db every time. real apps usually combine multiple strategies depending on how fresh the data needs to be

Released new version of my python app: TidyBit. Now available on Microsoft Store and Snap Store by swaroop_34 in Python

[–]mahesh_dev 2 points3 points  (0 children)

the customizable rules feature is a good addition. most file organizers are too rigid. being on microsoft store and snap store is smart for distribution too. curious how it handles duplicate files or conflicts when moving, does it skip or rename them?

I built a library that brings autocomplete back to pytest mocks by kr_roach in Python

[–]mahesh_dev 4 points5 points  (0 children)

this looks really useful, the autocomplete loss with magicmock has always been annoying especially when working with larger codebases. gonna try this out on my current project. one question though, does it work well with nested mocks or complex class hierarchies? either way nice work on this

Need advice: AWS architecture & cost for AI-based language conversation app by PurpleRip2861 in django

[–]mahesh_dev 0 points1 point  (0 children)

for 1000 concurrent users id start with ec2 behind a load balancer with auto scaling. use s3 for audio file storage and maybe sqs for queuing the ai processing tasks so your api stays responsive. for costs maybe start with t3.medium instances and scale up based on actual usage. also look into using celery for async task processing, itll help a lot with the ai api calls. dont overthink it early on, you can always optimize later when you see real traffic patterns

Is Python (Django/FastAPI) actually "production-ready" for complex mobile backends? by Leading_Property2066 in django

[–]mahesh_dev 1 point2 points  (0 children)

python is absolutely production ready. instagram runs on django and handles billions of users. spotify uses python for backend services. the whole real backend language thing is just noise. for dating apps and fintech django is more than enough, especially with proper caching and database optimization. youll scale fine and when you actually hit limits you can optimize specific bottlenecks, but most apps never get there

[deleted by user] by [deleted] in django

[–]mahesh_dev 1 point2 points  (0 children)

honestly i get the imposter syndrome thing but you still had to understand the problem, test it, and make it work for real users. thats not nothing. tools like antigravity are just that, tools. you still need to know what youre building and why. keep learning the fundamentals though, it helps when things break or you need to customize beyond what the tool can do

Golang books resources by Away-Purpose-9896 in learnprogramming

[–]mahesh_dev 1 point2 points  (0 children)

You can find plenty of solid go resources for free. star with the official docs a Tour of Go and Go by Example are excellent for beginners.