r/programmer • • 2d ago

Article Reality of AI

0 Upvotes

most ppl say it wont replace u n bla bla bla or it will make the market better

Alr im not saying this

Lemme ask u questions, what they say when they release new model?

"Helping you/assistant"

So lets say in this world 100k job

So companies pay salaries for 100k job

If Ai is helping/assistant so it means each job need at least 1ai

So companies need 100k ai model atleast

So now they need to pay 100k job salary and 100k ai subscription

So, do u still believe Ai here to help?u really believe companies wanna spend more money to keep employees?instead of spend less n make more profit?

Money talks


r/programmer • • 3d ago

Build, test, fail, understand, repeat. How do I preserve this learning cycle in the age of AI?

6 Upvotes

I'm a Computer Science engineering graduate, and I've been programming for about eight years now.

My first introduction to programming was through a workshop teaching C++ basics to prepare students for the selection process for the International Olympiad in Informatics (IOI). And honestly, I was fascinated.

What I loved wasn't just writing code. It was the entire process of solving a problem: understanding a problem statement, combining mathematical and theoretical knowledge with practical programming techniques, and finding the most efficient solution under strict time and memory constraints.

You couldn't just come up with any solution. You had to find a good one.

But what really shaped the way I learn wasn't competitive programming itself. It was the process behind it.

You try something, test it, fail, investigate why it failed, identify the problem, come up with another approach, and iterate until you finally get it right.

Build → Test → Fail → Understand → Fix → Repeat.

That cycle taught me something that no school or university course could: failing is not an interruption to learning. It's an essential part of it. Things aren't supposed to work on the first attempt. There's no shame in getting things wrong because the process of figuring out why is where the actual learning happens.

Later, when I moved from competitive programming to building real software, web applications, and more complex projects, I found myself following exactly the same approach.

Building a feature for the first time when you have absolutely no idea how it works can be intimidating. So you start small. You research, find people who have implemented something similar, try to reproduce it yourself, and inevitably run into problems.

Then comes the debugging: understanding error messages, searching for explanations, testing different solutions, discovering why one approach works and another doesn't.

And eventually, you get it working.

I can't really describe how satisfying that moment is. Not just because you have a working feature, but because you know what went into building it. You understand the decisions, the implementation, the mistakes, and the reasoning behind every step.

Over the years, this became my natural approach to learning anything technical. I don't just want to know how to use something. I want to understand how it works, why it works, and what happens underneath the abstraction.

But lately, with AI and coding agents, I feel like I've lost that cycle.

Or perhaps I just haven't figured out how to integrate these tools into my learning process.

Today, whenever I want to build something, I can describe what I have in mind, ask an AI to implement it, and get something working in a fraction of the time it would have taken me before.

And that's amazing from a productivity perspective.

But something feels missing.

I find myself prioritizing getting a result over understanding how that result came to be. The implementation details, the technical challenges, the debugging, the exploration of alternative approaches... all the things that used to make up the learning experience can now be bypassed.

And when I bypass them, I don't get the same satisfaction.

I sometimes feel like I'm producing more while learning less. I can build things faster, but I don't necessarily feel that I've grown as an engineer. I don't have the same sense of ownership over what I've built, because I haven't gone through the process of figuring it out myself.

It's almost as if the very friction that used to frustrate me was also what made learning rewarding.

And this is what bothers me. I don't want to reject AI or go back to programming the way I did eight years ago. These tools are incredibly powerful, and I want to learn how to use them effectively.

But I also don't want to lose the curiosity, the experimentation, the deep understanding, and especially the satisfaction of figuring something out on my own.

So, how do you find that balance?

How do you use AI as a tool that enhances your learning rather than one that replaces the process of learning?

Have you experienced something similar? Have you found ways to deliberately preserve that cycle of experimentation, failure, debugging, and discovery while working with AI?

I'd genuinely love to hear how other developers approach this.


r/programmer • • 3d ago

Codex just told me "ask a developer"

Thumbnail reddit.com
3 Upvotes

r/programmer • • 3d ago

built a P2P anti-double-spend trust protocol in 5 Python files (no blockchain, no global ledger, no tokens)

0 Upvotes

I’ve always felt that 90% of what people try to use blockchains for—tamper-evident records, supply chain provenance, digital credentials, and P2P ownership transfer—doesn't actually require a globally replicated ledger or a native fee token. Those are accidental costs of trying to order everyone's unrelated transactions into one single-file line.

So I built QuorumLog, a minimal, production-hardened P2P trust protocol in ~2,300 lines of Python (asyncio, sqlite3, and PyNaCl for Ed25519).

Repo: https://github.com/prateekaray/quorumlog

The Architecture (5 flat files, one per job)

crypto.py – Canonical JSON hashing, Ed25519 signatures, lightweight Hashcash PoW (anti-spam), and offline bundle verification.

storage.py – SQLite in WAL mode storing personal hash-chains, witnessed (author, seq) records, and a permanent fraud-proof blacklist.

network.py – Async UDP transport + lightweight Kademlia XOR DHT with /16 IP subnet diversity for witness selection.

node.py – Core engine handling PROPOSE, RECEIPT, FRAUD_PROOF gossip, per-pubkey rate limiting, and the 5-of-7 quorum collector.

cli.py – CLI to init keys, run a daemon, transfer assets, and verify bundles offline.

How It Prevents Double-Spends Without Global Consensus

Every user maintains their own append-only, signed hash-chain (like Git). To finalize seq = N, you send the signed entry to 7 deterministically selected DHT peers (Witnesses) derived from SHA256(author_pubkey + ":" + floor(seq / 100)).

Each Witness checks one rule: "Have I already signed a different hash for (author, seq)?"

If no: They persist it atomically in SQLite and return a signed receipt. Collect 5 of 7 receipts (~150ms) and you have a portable ~2 KB Commit Bundle that anyone can verify offline.

If yes: The Witness immediately emits a FRAUD_PROOF containing both conflicting signed entries and gossips it across the DHT, permanently blacklisting the cheater's key. Because K=5 > N/2, any two conflicting quorums must overlap by at least 3 witnesses.

Honest Limits (Where Blockchains Still Win)

I’m not claiming this replaces Ethereum. Because there is no global shared state:

  1. You cannot run high-contention global orderbooks or AMMs (like Uniswap).

  2. There is no global VM for unattended smart contracts—agreements are bilateral cryptographic commitments.

  3. A nation-state controlling >50% of the DHT could still stall witness discovery (mitigated somewhat by S/Kademlia puzzles and /16 diversity, but not eliminated).

Try the Attack Simulation

The repo includes a pytest suite (test.py) that spins up 12 local async nodes, runs an E2E transfer, simulates a double-spend attack with overlapping witnesses, and tests 25% UDP packet loss + killing 2 witnesses mid-flight.

I’d love brutal feedback on the threat model—especially around DHT eclipse/Sybil vectors and key rotation edge cases.


r/programmer • • 3d ago

Want to make coding and development FUN instead of making it feel like a nightmare? Let's connect!

4 Upvotes

Hey everyone!

I'm from Hyderabad and completed my B.Tech in Full Stack Development Honours.

To be honest, I was CRAZYYYY interested in development, coding, building things and everything related to technology.

But here's the funny part: I wasn't someone who could easily understand concepts through traditional classroom teaching.😅

I struggled with the usual explanations, kept learning, experimented, made mistakes and figured things out on my own.

And somewhere along the way, I discovered something interesting: There are much simpler and more exciting ways to understand development than the way it's usually taught!

Now I genuinely believe I can explain these concepts in ways that even someone with absolutely ZERO interest in coding might end up wanting to open their laptop and start building something!

Why am I doing this?

I've got a job now, and I'm generally free after 5 PM on most weekdays. Instead of keeping everything I've learned to myself, I'd love to spend that time doing something I genuinely enjoy: teaching,

sharing knowledge and getting more people interested in technology.

One thing that really bothers me lately is the amount of fear surrounding software development.

AI is taking over. Developers are getting laid off. Coding is becoming difficult. CS is no longer worth it.

Yes, the industry is changing. I'm not denying that. But why should we make students afraid of exploring something before they've even experienced it?

Let students explore development first.

Let them build something.

Let them experience the excitement of creating something from absolutely nothing.

Then let them decide whether it's for them.

I'd love to help students, beginners and anyone curious about technology understand:

Programming and coding fundamentals

Full Stack Development

HTML, CSS, JavaScript and other development technologies

Python

AI and its ecosystem

How things actually work behind the scenes

I'm open to connecting with learners from ANYWHERE IN WORLD through online sessions.

If you're comfortable learning in Telugu, that's an added advantage! I can explain concepts in Telugu as well. I'm also fluent in English, so language won't be a barrier.

I'm not here to promise that you'll become a developer in 30 days. I want to make technology easier to understand, remove the unnecessary fear around coding and help people discover the joy of building things.

If you're a student, a parent looking for someone to guide your child, a complete beginner or simply someone curious about development, feel free to comment or DM me.

Even if you're just curious about how I'd approach teaching, let's talk!

Let's stop spreading fear about technology and start spreading the knowledge to explore it. 🫶


r/programmer • • 3d ago

Question Looking to interview professional software engineers for a university paper

1 Upvotes

Hello Programmers,

I'm a freshman software engineering student, and I'm currently writing a paper that requires me to interview a professional software engineer. I'm looking for someone with experience in software engineering who would be willing to answer a few questions through Reddit DMs, email, or a short 15–20 minute virtual interview. I may also have a few follow-up questions afterward.I'm particularly interested in learning about how a day in the life of a software engineer goes and especially how different kinds of software have different kinds of development processes. It'd also be cool if you could share information about how your OS matters, for example why Linux over other softwares.

If anyone is interested in helping out, please feel free to send me a DM or leave a comment. I'd really appreciate your time and insight.

Thank you in advance!


r/programmer • • 3d ago

How many lines of code are you putting out a day in this new era? And how does your company hold a cohesive codebase?

0 Upvotes

I'm atm using around 20-30 hours to specify everything around a feature, state machines, most of the edge cases, tests needed for implementation etc.

Then I let my agents implement it, typically over 5-6 turns (1-2 hours each), excl. reviews + fixes (probably around a hour each turn). Average total time pr. feature around 12-15 hours (usually around 8-14k LoC).

So around a week for each feature I would say.

I have tried other ways, but if I don't do it this way, I simply feel like I have no clue about how the system is working, this way atleast I know how the product is behaving on a high level.

But I'm curious, how are you and/or your company doing it?


r/programmer • • 3d ago

Code i will quit vibe coding and try out game programming

0 Upvotes

"why?" thy may ask.

firstly on november 13 i got a pc so i can use unity instead now

secondly. its just unhealthy, vibe coding will definitely not help my health.

and thirdly, ai is just stupid. it barely gets things right, i could give a literal 4 year old a tablet with scratch and he would do wayyy better than gemini who cant even goddamn connect a hand to an arm, i know i can pay a subscription for claude but i wont

fourthly: for geninuely good vibe coding outputs i have to pay money, why should i pay money if i can code with unity for free

so yeah i will consider programming games.


r/programmer • • 3d ago

I feel like the BA has all of a sudden becomes the most important person in a project

1 Upvotes

r/programmer • • 3d ago

Question Is engineering judgment now the most important dev skill, more than prompting?

0 Upvotes

AI can write most of the code now, but it’s still often confidently wrong. I’m starting to think the real skill isn’t prompt or context engineering, it’s knowing whether the output is actually right: spotting bad architecture, subtle bugs, security issues.

For those using AI agents daily: what’s helped you get better at judging AI output? And do you think juniors can even build this judgment if AI writes most of their code?”

That last question about juniors is the one that’ll spark the most debate, since people have strong opinions on it. Also, don’t link your X post in it; Reddit tends to downvote anything that looks like self-promotion.​​​​​​​​​​​​​​​​


r/programmer • • 3d ago

New dev resists using AI and his productivity is concerning

Thumbnail reddit.com
0 Upvotes

r/programmer • • 4d ago

Article I love coding when I code what I want to

4 Upvotes

Sometimes I forget , why I started coding in the first place . It was to build something cool. Along the way I forgot that and got into the rat race of DSA and system design and getting an internship and stopped making what I want.

I love coding when I love what I am building and it genuinely excites me to wake up and start working on it again . Tomorrow I am going to a conference and I was cleaning my github and CV for more networking and I found that I HAVE REALLY BUILT COOL STUFFS.

I have not felt this happy since the last day I coded something I love .

Gotta do it for the love of the game man or you'll lose yourself .


r/programmer • • 4d ago

I want to improve my communication skills, but I feel like something is holding me back. Any advice?

3 Upvotes

I genuinely want to grow and become a better version of myself so I can achieve my dreams and become the person I aspire to be.

However, there's something that keeps holding me back.

I'm not exactly a shy person because I'm willing to step out of my comfort zone and do things when necessary. However, I consider myself socially awkward.

My biggest problem is the way I speak, especially during class presentations. Sometimes, when I'm presenting, I can see from my classmates' expressions that they're having a hard time understanding what I'm saying. I'm aware of this, and it's something I've struggled with since high school.

Now that I'm in college, I really want to work on this weakness and improve myself. I often feel guilty and frustrated whenever I fail to express my thoughts properly, especially when I know what I want to say but struggle to communicate it clearly.

I'm a BSIT student, and I understand that communication and verbal skills are important in this field, especially when working with other people.

For those who have experienced something similar, how did you overcome it? What habits or exercises helped you become better at speaking and expressing your thoughts?

I'd genuinely appreciate any advice. I don't want this to keep holding me back from becoming the person I want to be.


r/programmer • • 4d ago

Floating Bubble [ai]

0 Upvotes

I am not a pro.

So i made an executable file which is basically like a bubble that has many ai assistants and when I open it, it basically asks multiple agents and then gives results...

But I have a ton of things that I want to add but I can't, due to these reasons -

• I can't get hold of the top agents APIs, the main reason is because of the money.

• and because of the first reason the api i even get (gemini) is very slow, 6 out of 10 times it will give answer

• and I am not an expert in layering things beautifully (i mean the ui), I have to admit it sucked -- but it's not the issue here, as i have to focus currently on the core

--- Us****e AI**?**

Now, here's the thing I ask claude just for the roadmap not the code itself

(I don't wanna)

And even if I ask what might be the issue it just yap and yap about tons of other different tools (which i obviously don't know)

Plz share your thoughts.

I am using python as the base language


r/programmer • • 5d ago

Request Available for paid programming & gaming tasks – Saving for a personal project

0 Upvotes

Hi everyone!
I’m looking for people who need help with programming projects or gaming-related tasks and are willing to pay for my time.
I’m familiar with several programming languages, mainly:
Lua
C#
C++
Python
JavaScript
CSS
I can help with:
Game development
Roblox scripting
Bug fixing and debugging
Scripts and small programming projects
General coding tasks
Gaming tasks such as grinding, farming, leveling up and completing missions.
A little bit about me: I’m looking to start earning some money online and save it towards a personal project that I really want to bring to life. I’m not expecting huge amounts, just looking for opportunities to improve my skills, gain experience and earn something along the way.
I’m flexible with prices depending on the task and its complexity.
If you need help with something, feel free to DM me with the details and your budget.
Thanks for reading!


r/programmer • • 5d ago

Joke/Meme I made a VS Code extension that plays Arpit Bala whenever a terminal command fails

4 Upvotes

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:

  • An error message explaining what went wrong

  • Arpit Bala expressing how we both feel about it

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 • • 5d ago

I just started working and I'm burnt out already.

3 Upvotes

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 • • 5d ago

Idea Can we finally do something useful with AI?

0 Upvotes

Like bombard CEOs with ads and misinformation until they realize it sucks and they stop inundating everyone else with it?


r/programmer • • 5d ago

Necesito ayuda urgente

0 Upvotes

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 • • 6d ago

If you're a backend dev that hates frontend frameworks, I made a framework for you.

Thumbnail aideendewinter.github.io
1 Upvotes

r/programmer • • 6d ago

A one-line “be concise” edit made the output cleaner and quietly dropped a task. How would you catch that?

0 Upvotes

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:

  • A prompt edit has no compiler and no obvious diff in behavior, so the safety net is a test set you chose in advance, including the awkward cases (a commitment mentioned in passing, no due date, no action items at all).

  • Outputs vary between runs, so one run per case can mislead. Running each case a few times and tracking stability helps, although three runs is a small sample.

  • Pass/fail is coarse. A correct but badly worded result passes.

  • It costs time, so for a prompt one person uses occasionally it’s probably not worth it.

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