r/programmer • u/Theycallmedude09 • 1h ago
r/programmer • u/Signal-Leather3809 • 15h ago
Love using AI (at work)
It’s great to be able to prompt for code creation. Does it massively flop? Yes. Would I spend less time figuring out these issues myself? Of course!
For instance I am currently having an agent upgrade a repo from commonJS to ESM. The agent is massively assuming stuff that causes MORE issues that I have the agent try to fix. Honestly I could do this work on my own faster as I have been working with this repo for years. It’s fun to see AI make the work longer because I can report back during standup. “Upgrading to ESM, AI agent ran into some issues that I am currently debugging”
Which is the truth and everyone will smile and node because I am using AI which everyone at my company is instructed to do. A lot of times it can be inefficient but I don’t care.
For personal projects, I watch every code change with scrutiny. I rarely run agents without a solid plan and code examples to approve as I truly care about my projects.
r/programmer • u/Emmy198 • 22h ago
I just spent an hour looking for ways to make $500 and somehow ended up considering becoming a hacker. I'm tired, man.
So I was gonna use AI to write this, but no one's probably gonna read it anyway, so screw it!
I just spent the last hour zombie-scrolling through different subreddits and forums looking for gigs and shit. It started with searching "$500" on Twitter, hoping to find some post that mentioned paying someone $500 for literally any task or gig. Lol. Lazy attempt, sure, but it wouldn't hurt to try, I thought.
Well, it did hurt, because that somehow spiralled into 30+ minutes of searching for open bounties on GitHub, watching hacking 101 videos on YouTube, and genuinely considering becoming a white-hat hacker just to collect some bounties.
All because I wanted to find a way to make some extra money so I could move out of my shitty apartment as soon as possible.
I'd ask for help, but these days, help doesn't really seem to be helping. Feels like everyone's deep in it, too.
"Become a web developer," they said. So I did. Learned the thing. Built things. Got a few interviews.
And now I'm in this weird position where AI has made it possible for me to build things I probably couldn't have built this quickly on my own, but somehow that makes me feel like even more of an impostor.
I've built and deployed actual projects. Not some half-assed thing running on localhost that only works when the stars align. Stuff that's hosted, tested, and actually does what it's supposed to do. I recently built a whole fucking e-commerce platform that works.
But then you get into interviews, and you're expected to explain every little thing, every decision, every line of code, like you personally hand-crafted the entire thing from scratch and can recite it in your sleep.
And I get it. I really do. You need to know what you're doing. You need to understand the code you're shipping. I'm not saying people should just blindly generate code and call themselves developers.
But there's a difference between not understanding what you've built and not being able to remember every single decision you made along the way. I might not remember every file Opus wrote or every technical decision we made together, but if something breaks, I can investigate it, understand what's going wrong, and work towards fixing it.
At least, I believe I can.
Apparently, that doesn't count for much.
The advice is always the same: go back, learn to do things the old-fashioned way, build everything from scratch, understand every little thing.
And maybe they're right. Maybe I'm just coping. But honestly, it feels shitty to be told to start from zero when I've already built something that works. Why should I have to pretend these tools don't exist? Why should I go back to centering divs by hand just to prove I deserve to call myself a developer?
I don't know, man. I'm just tired.
I want to make money. I want to get out of this apartment. I want to feel like all the time I've spent learning, building, and trying to figure things out is actually going somewhere.
Instead, here I am, searching "$500" on Twitter and contemplating a career in cybersecurity because apparently, that's where we're at now.
If this whole dev thing doesn't work out, I might just go back to baking. That shit was simpler. You mix the stuff, mould the stuff, throw it in the oven, and hope it doesn't burn more than 20%. Usually worked.
At least when a cake came out wrong, I didn't have to explain to someone why I'd chosen that particular frosting architecture.
Anyway, if you actually made it this far, shout-out to you. Seriously.
Not sure I'd have read all this myself.
I don't even know what I'm expecting from posting this. Maybe nothing. Maybe I just needed to get it out of my head.
If you're in a similar position, I'd genuinely like to hear how you're dealing with it. Not the usual "just keep grinding, bro" stuff. I mean, actually dealing with it.
Because right now, I'm just trying to figure out my next move.
r/programmer • u/Top-Calendar3391 • 13h ago
sapri sort algorithm
Hi everyone, I recently released sapriSort, a Rust sorting library I’ve been working on. The idea grew from the need to sort large datasets while maximizing raw performance and sticking to a strict zero-allocation design to avoid memory overhead.
In early benchmarks on 32-bit data, the numbers show a clear advantage over standard Quicksort:
• Grouped datasets: 353ms vs 520ms (~32% faster) • Concentrated datasets: 316ms vs 707ms (~55% faster) • Boundary scenarios (Max90OnBlock): 319ms vs 757ms (~58% faster)
On 16-bit data, the speedup is even more drastic, ranging from 6x to 8x.
The project is open source (MIT). If you’d like to try it out, run a few benchmarks, or check out the code, I’d really appreciate any feedback or suggestions!
Repo link:https://github.com/SapriZero/sapriSort
#rust #rustlang #algorithms #systemsprogramming #opensource #github #performance #sorting
r/programmer • u/Available_Recipe2927 • 10h ago
Looking for coders of every level to help build a new community: help, hire, learn
Hey everyone! I recently started a Discord server called Pull Request, and I'm looking for people who want to help build it into a solid coding community from the ground up.
The idea is simple: one place where you can get help with your code, find (or offer) dev work, and learn without feeling dumb for asking questions.
What's in it:
- Help forums: post your question with a language tag (Python, JS, C#, C++, Java, web, game dev, bots, and more) so it doesn't get buried in chat
- Beginner-friendly channels: no question is too basic
- Marketplace: post projects you need built, or get verified to offer your services, with clear rules and scam reporting
- Learning section: resources, coding challenges, and people who actually want to help you improve
- Show your project: share what you're building and get real feedback
A bit about me: I'm an HVAC tech with a background in computer science and game dev, so I know what it's like to learn this stuff on the side while working a full-time job. I wanted a server that's welcoming but still focused on actually getting better at coding.
It's still small, which means you can help shape what it becomes, and right now your questions will get answered fast.
Join here: https://discord.gg/PF63ATtSf
Would love to see you there!
r/programmer • u/Beawriterfirst • 16h ago
I am thinking to start an open-source decentralised email system
So the main idea is we make a decentralised email network which doesn't need any kind of fancy servers to run but can be ran on basic mobile phones. I am thinking to build the architecture like the satoshi nakamoto's bitcoin architecture where every phone becomes a personal node and can do p2p conversation I am looking for ppl truly intrested in this project.
r/programmer • u/South-Reserve-8020 • 17h ago
Guys is web development dead in this AI era?? is it useful to learn html css and Java script from basics and take help of AI to make it Working website
My question is Why we need to learn Html javascript and Css ??
Now Gemini AI has launched ai studio in that we can create a real working website without the coding knowledge, By just typing prompt,
Is learning html css Java script basics useful??
Do companies hire web developer in this AI era??
Coz ai is doing website
I am kind of screwed by this question
r/programmer • u/Upstairs_Dog_8792 • 1d ago
Question Quick 3-Min Academic Survey: Is GenAI code generation creating hidden project risks?
Hey devs and PMs,
I’m researching the long-term trade-offs of AI coding tools for my MBA thesis—specifically looking at whether heavy reliance on AI code generation leads to skill atrophy and unexpected late-stage project delays.
The survey is 100% anonymous and takes under 3 minutes (12 quick rating questions):
🔗 Take the survey here:https://forms.gle/62mAgdmDjAzjLhbZA
Appreciate your input and insights!
r/programmer • u/AdCareful9081 • 1d ago
Will ai replace me, a human programmer?
Hey guys. I hope i can post this kind of content here and it doesnt ban me, so, I’ve been programming for a while now. I would say i’m pretty experienced at this point. I spent a lot of work and time on it and its obvious why i’m asking I’m genuinely scared. Will ai take over programming? I dont wanna solve ai’s code, i wanna CODE myself. Im really afraid that i waste all the time. So maybe i should stop and not go further. I really wanna become a developer but by the time i will do that its like 2035 cuz im mad young, and ai is good EVEN now and looking at how fast it evolved…will it kill programming? I wanna listen to some experienced guys who know what’s up.
r/programmer • u/trymeouteh • 1d ago
Question Why use task runners when you can use shell scripts?
r/programmer • u/Bababoey_guy • 1d ago
Question How hard is it to recreate RivaTuner?
This is just a question I came up with while thinking about different softwares out there. I was just wondering about how hard is it to recreate RivaTuner with all the sensors, ect... For monitoring your hardware while gaming.
r/programmer • u/justtakethel111 • 1d ago
this is Linux Monitor.
this is my application.
advanced monitor to optimize your Linux Arch, Debian and Ubuntu.
totally free and access to the code.
unlicensed and free to use.
I would appreciate your stars if you find the program useful.
this is github and you can use and modify it if you want.
post data, you can use it as a challenge and translate it all to Windows. the files are not difficult.
it is made on: c++ and qml. no other external language.
r/programmer • u/Majestic-Taro-6903 • 2d ago
Question Has fitness helped you become a better developer?
Movies often portray developers as nerds who spend all their time coding, with little focus on fitness or diet.
For those working in software development, has staying physically fit helped your coding journey in terms of focus, productivity, or handling work stress?
Curious to hear your experiences.
r/programmer • u/Bring_the_light_ • 1d ago
current state of software? is there a point to invent things?
r/programmer • u/roqayamourad • 2d ago
Would love your thoughts on my portfolio
Hey!
I'm a Frontend Developer, and I recently built my portfolio using Angular and I wanted to get some honest feedback.
I went with an interactive 2D room instead of a traditional portfolio layout.
Would love to hear what you think, especially if anything feels confusing or needs improvement
r/programmer • u/Raviteja-5312 • 2d ago
What's a "stupid" coding doubt you had as a beginner that took you way too long to figure out?
What are some silly coding doubts you had as a beginner that you wish someone had cleared up earlier?
I'm talking about those small, seemingly stupid questions that you were too afraid to ask or didn't even realize you had until you were deep into learning a programming language or technology.
Things that could have been explained in the first few days but somehow took months to figure out!
What were those doubts for you? Let's help beginners avoid the same confusion. 😅
r/programmer • u/KindSlothy • 2d ago
Question I need opinions for my class plz
The last time your team shipped an AI feature, how did you decide it was ready, and who would have to approve paying for a tool that proved it?
What part of that was the most painful or took the longest?
What would your security team ask before letting an outside tool in?
Would $3,000 a month for one team get approved, and by whom?
Has anyone ever asked you for a signed record of what was tested?
I am a Master's student at ASU, I need my questions answers for a grade plz!
P.S. questions generated by Claude.
r/programmer • u/CreepyInflation7519 • 2d ago
Become an Advanced AI and Cloud Computer 🌐☁️
SIGN UP for our FREE AI and Cloud Computing Class 📌📡☁️🌐
We also offer
- resume coaching
- AWS Certification
- GITHUB projects
- professionals with 19+ years of experience
- 8+ weeks of professional training for up to 80% discount!!!
📌 Check the 2nd link in our bio to learn more
r/programmer • u/NaturalDegree3066 • 3d ago
Plan Before Actual code
How you guy plan a programming project before actual start to code it? And how you make your project easy to fix and update later?
r/programmer • u/Mission-Journalist-1 • 4d ago
My tech lead tells us to "stop thinking, stop designing, and just churn out code like a factory using AI." Is it time to leave?
Hey everyone, I’m a software engineer with a few years of experience, mainly working on backend and system-level tasks.
Lately, I’ve been feeling completely disillusioned by my team lead’s management style and engineering philosophy, and I’d appreciate some perspective from fellow developers.
1. Zero accountability and shifting blame
A while ago, I ran into an edge case regarding deployment configurations and sent a message asking for confirmation on a specific setting (clearly marked with a question mark).
My lead read the message but never replied. Given the release schedule, I kept the existing baseline settings and shared the updated status.
When a minor issue arose later, instead of discussing how to resolve it, he completely lost his temper and yelled at me, claiming:
"If you saw I was busy and forgot, you should have reminded me the next day. It’s entirely your fault for not following up." "Your message looked like a status update, not a question, so I didn't bother checking."
He flat out refused to acknowledge any fault (0% blame on his end). While I admit I could have been more proactive with follow-up reminders, seeing a manager completely abdicate review responsibility and gaslight me was a massive red flag.
2. The "Don't think, just use AI like a factory" mindset
What concerns me even more is what followed. He now acts like an AI visionary, using AI as both a shield and a weapon:
Whenever an issue comes up, his immediate defense is: "It's your fault for not leveraging AI properly."
Yet, he doesn't understand the underlying system constraints, dependencies, or edge-case handling. Instead, he openly tells the team:
"Stop wasting time thinking about design and architecture. Just use AI to pump out results as fast as possible like a factory."
Whenever someone tries to do proper engineering—like defensive coding, exception handling, or verifying architectural integrity—he frames it as "being resistant to change" or "falling behind modern trends."
Ultimately, real debugging, messy environment troubleshooting, and production risks are dumped on the ICs (individual contributors). If things go well, it's his "AI adoption achievement"; if things break, it's "the engineers who don't know how to prompt properly."
3. The core dilemma
I don't hate AI. I see it as a powerful power tool that boosts productivity. But it shouldn't replace the engineer's core responsibility—thinking, verifying, and ensuring system stability.
Working under a manager who actively discourages engineering fundamentals and pushes for unverified copy-paste speed makes me fear that staying here will degrade my core skills and leave me with empty, low-quality experience.
Should I just put up minimal emotional boundaries, do the bare minimum to stay safe, and quietly prep for interviews?
Has anyone dealt with an "AI-obsessed, zero-accountability" manager like this, and how did you navigate your career and mental health?
r/programmer • u/Dismal-Divide3337 • 3d ago
No AI. No Open-source. No reliance on 3rd Party code. Can it be done?
After years of chasing bugs in code that I had not written; Trying to decipher open-source code. Looking for someone who can address an issue; Opening tickets and waiting; And, meanwhile developing work-around patches while customers wonder if we actually can help them. When the opportunity came up to make a redesign decision, I made one that you might think crazy.
While it is true that it can get your code to market faster these days, reliance on externally developed libraries and code comes with risk. In a court of law, evidence is inadmissible if you cannot demonstrate the chain of custody back to its discovery at the crime scene. In analogy, I find it hard to trust code wherein you cannot list (on one hand) the authors and those who might still be responsible for its performance. And, today, you are vibe coding and using code generated by AI. And AI is an author whose thinking cannot be explained in detail by its own designers.
In 2011, when faced with the need to redesign my product, I made the decision to be completely DIY. The first rule being - no 3rd party code. Fifteen years later with over 40,000 placements worldwide, I feel safe in declaring that it can be done. It was a beneficial decision.
Now, we can address any bug, performance deficiency, or feature addition directly. Most issues that can be replicated are fixed same day and update delivered to the customer. We have achieved a level of reliability and stability that I can't find in anything else.
I am willing to debate this approach against the directions that all of you seem to be taking.
There is more background in this blog entry. Also, you can see this OS in action at r/jnior. I am less interested in promoting the product. It has a life of its own. I have been writing to prompt discussion.
https://jnior.com/blog/how-jnior-got-its-own-operating-system/
r/programmer • u/ClickOk5811 • 3d ago
23 people, 77,000 IDs, 280,000 short links. The same birthday paradox at four sizes
Most people have heard that in a room of 23 people there’s about a 50% chance two share a birthday. It feels wrong, because 23 is so much smaller than 365. The reason is that you’re not comparing everyone to you, you’re comparing every pair, and 23 people make 253 pairs.
The same math shows up any time you generate random IDs, and the numbers are worth looking at, because the pattern is that a 50% chance of some collision arrives at roughly the square root of the number of possible values (a bit more precisely, about 1.18 times the square root).
A random 32-bit ID has about 4.3 billion possible values. The square root is about 65,000, so you hit a 50% chance of at least one collision at around 77,000 IDs. That’s a small table.
A 6-character random short code using letters and digits (62 options per character) has about 56.8 billion combinations. The square root is about 238,000, so the 50% mark is somewhere near 280,000 links. For a URL shortener, that’s not a lot.
A random 64-bit ID has about 18 quintillion combinations, and 50% arrives around 5 billion IDs. Fine for most things, uncomfortable for something at very large scale.
A random UUID v4 has 122 random bits, so the 50% point is around 2.7 quintillion IDs. You’re not going to get there.
The numbers are approximate and assume the IDs are truly random and uniformly distributed.
The thing I find interesting is that “a collision is likely” doesn’t mean “the system is broken”. If your short codes live in a database with a unique constraint, a collision is just a failed insert and a retry with a new code. The cost is a bit of extra work as the table fills up, and the cost grows: when the space is half used, roughly every second attempt collides.
So the choice is usually between making IDs longer, which makes collisions negligible, or keeping them short and handling the retry. Neither is wrong, but only one of them is a surprise six months in.
What do you do for short codes: check-and-retry on insert, longer IDs from the start, or something sequential and encoded?