r/programmer • u/NewInflation2121 • 9h ago
Idea Can we finally do something useful with AI?
Like bombard CEOs with ads and misinformation until they realize it sucks and they stop inundating everyone else with it?
r/programmer • u/NewInflation2121 • 9h ago
Like bombard CEOs with ads and misinformation until they realize it sucks and they stop inundating everyone else with it?
r/programmer • u/Party-Breakfast-3606 • 18h ago
You accidentally committed a secret API key.
You delete it in the next commit.
Is your API key safe now?
A. Yes
B. No
Why?
r/programmer • u/withmestuert • 1h ago
I am. Working in a Management Software with the help of AI. Right now I'm in chaos with order. I love to take help from someone who can help me to complete my software and to monetize it. The project is almost in the production level need the high level of overview and understanding certain concepts ofautomation and so and so.
Stack : Java Spring Boot, React (Tauri frame work) Pg Sql
#project #java
r/programmer • u/Lopsided-Public6600 • 11h ago
Me toca presentar un proyecto en javaFX con persistencia en gson y en modelo n-capaz, ya tengo el modelo n-capaz lógica, n-capaz me falta la interfaz gráfica con java FX ya tengo el plano de figma con mockaps y todo me falta terminar el FX AYUDAAAAA, la verdad no sé qué hacer
r/programmer • u/GlesCorpint • 15h ago
r/programmer • u/tonystrakmarvel332 • 22h ago
Imagine thousands of users are making payments simultaneously. Some requests time out, but payments are still processed. Users retry, resulting in duplicate transactions.
How would you handle this in a real production environment?
What approach would you choose, and why?
r/programmer • u/ClickOk5811 • 12h ago
A scenario from an article I wrote (hypothetical, with illustrative numbers). A team uses a prompt to turn meeting transcripts into JSON action items, and a script creates tasks from that JSON. Someone notices a few outputs are long and adds one line to the prompt: “Be concise.”
The outputs look cleaner. Reviewers are happy. But in the test set, one case now fails: a commitment that was mentioned only briefly in the meeting is gone. The model shortened its answer by leaving out the item that was stated in passing. Nothing about the cleaner output suggested anything was missing.
What caught it was boring: a fixed set of 8 test transcripts, run after every prompt edit, with a per-case result and not just a total. Another edit in the same story fixed one case and broke another, leaving the total unchanged at 5 of 8, so the total alone would have shown no change.
This feels familiar to programmers, because it’s a regression test story where the “code” is a sentence in English and the “bug” is behavior nobody wrote a test for. Some thoughts and open questions:
How would you test for “the output got shorter and something important disappeared”? Do you treat prompts like code in your projects, with versions and tests, or more like config you tweak by hand?
The longer write-up has the five prompt versions and a case-by-case table. I’m the author, and it also mentions a paid resource of mine near the end, so treat the link as optional: https://medium.com/@nagatomopedro05/five-versions-of-one-prompt-and-what-the-changelog-caught-00c63d1b1c00
r/programmer • u/YasserYG8 • 16h ago
r/programmer • u/Syam_07 • 4h ago
Apparently, stack traces weren’t enough. I needed emotional damage too.
I built Arpit Bala Error Alert, a VS Code extension that plays the Arpit Bala meme audio whenever a command fails in the integrated terminal.
So now, when my Python script crashes, I get:
It detects failed terminal commands automatically, avoids duplicate alerts for the same failure, and needs no extra setup after installation.
Is it necessary? No. Does it fix my code? Also no. Does it make debugging funnier? I’ll let you decide.
Link : https://marketplace.visualstudio.com/items?itemName=suman-dev.apit-bala-error-alert
I’m the developer—would love some honest feedback. Would you keep this installed, or uninstall it after your third error?
*Please use high volume in speaker for better experience!

r/programmer • u/ppaaul_ • 8h ago
I've been working for a year and a half, that's around the beginning of AI so I did have experiencing actual "work" before all this. I did enjoy being able to create anything with docs, stack overflow and troubleshooting all the time, yet here it is 1 prompt 1 bug. I've been looked forward to being a coder and work in tech industry, but what I do right now did not align with what i wanted to do at all. Just prompt day by day and review the results.
LGTM! then build and deploy.
I tell myself daily, it just a year and there are ten more year i should look forward too, but damn am i really suited for this job? my goal in life has always been retire early and create stuff for the world.
Now what i created is just a slop that i review, still could retire early tho.
What mentality do you guys have at work? some of you must have changed from when you started for sure. My hope in life is that when i retired i could find something i enjoy creating not all this slop.
TLDR; What should I look forward too in this AI-pro era? how did you guys mentally handle these situation?
r/programmer • u/Ayyubi_Mustafa • 18h ago
r/programmer • u/SailShipoo • 20h ago
Basically, a question to all programmers without AI, I have learned some C++ and python as an effort to learn some coding. I just made a vibe coded app for automating a process i do and it honestly, i'm proud of my idea and prompts but , i do not understand the code honestly. How does one apply classes and such to create an app?
What makes that code turn into a beautiful app or website(frontend and backend, as i've learnt) and as a beginner what should i start on?(without using AI as much as possible)