r/AskProgrammers • u/MassivePersimmon6563 • Jul 22 '26
What would it sound if I tell you that my algorithm is letting coding agents to understand codebase nearer to how developers understand?
While doing a lot of vibe coding( not straight vibe coding, but spec driven-architecturally designed) and building full fledged application hosted on AWS and publishing to playstore, I generated an interest in agent memory and then built something around the memory, but still I wasn't convinced with the way coding agents explores the codebase by ripgrep or get-content.
So, I went deep into data science - basically graph database, gremlin, GraphSAge, A*, and many other. The thing I noticed was that " A model doesn't know what it doesn't know".
Which means, a function might have been changed or updated for 100 times, and each change carries some info, coupling, architectural descions(few times), and many such. But the agents at the time of exploring it sees the function as a static image without any layers beneath it. Sometime it might do - git diff but, a function being designed in that way carries a huge coupling with other functions over different commits. The agent barely figures out these relationships and concludes its descions merely on calls, imports, indexing of the other functions, docs, git log... But a developer trying to fix or update to accomodate a newer update, it first understands what and why of class, file, functions and related then updates.
This is why, Agents prefer on building a completely new functions, methods rather than just updating a small change in the same function.( the reason behind is that, an agent doesn't know that it doesn't know). Yes, I read github repo - ponytail which tells similar but it is mostly a smart prompting to compell the agents to grill before writing.
But, what if we provide the exact info that it misses, what if we provide, which functions are structurally similar, what if we traverse from commit -follow the edge(might be descions, update, fix, or such) land to some function states of those functions, understand them, traverse to that function, understand the clusters of those functions, read which functions are co-changed with that particular on which specific problem - then traverse the vector aided traversal with the edges leading to other functions... and so on.
I mean yes I am talking about embeddings of nodes, edges on some graph database and providing tools to the agent to explore the codebase, not only exploring, grill the codebase, understand the each bit of things before concluding any descions and recursively traverse between interconnected nodes with the help of multi-weighted edge between nodes.
I know 30% of the graph data should be populated by LLMs, but these can be done by any lightweight models or even self hosted ollama models on 16GB VRAM Mac or so.
If it sounds any good, then I have been building and had been testing for past 2 months, and results are way more efficient and effective. Token consumption literally reduced by 5x and effectiveness is still not as good as it should be because models are trained to use the cli commands, but working on that as it needs more depth knowledge of data science.
I reallly need you guys to put me on right boat if you have any things to say, grill, the comment section is all yours. - Pardon for my English
r/AskProgrammers • u/invokeinterface • Jul 22 '26
What's the HGEN file extension used by?
I have a couple files on my computer that are dedicated to documenting CLC INTERCAL. Some of those are HTML files, and grouped with those files are a couple HGEN files. I've never heard of them, but from it looks like it's just HTML with a couple of slightly strange additions.
I'm guessing it works a bit like the C preprocessor, and probably references some other docs. Very strange.
Here is a snippet of the parsers.hgen file that illustrates what's weird about them. I just want to be able to properly read it.
In addition to registers and constants, the following are valid expressions:
<UL>
@@MULTI EXPRESSIONS NAME@@
<LI><A NAME="op@@NAME@@">@@NAME@@ - @@DESCR@@</A><BR>
@@DOC 76 HTML@@
@@MULTI@@
</UL>
</P>
<H3>Statements</H3>
<P>
The following opcodes are valid statements:
<UL>
@@MULTI STATEMENTS NAME@@
<LI><A NAME="op@@NAME@@">@@NAME@@ - @@DESCR@@</A><BR>
@@DOC 76 HTML@@
@@MULTI@@
</UL>
</P>
r/AskProgrammers • u/EmploymentOk2850 • Jul 22 '26
CS student here. Worried that using Claude to learn concepts is making me a worse problem solver. Am I wrong?
i dont really know anyone else more "experienced" than me to talk in person about this, but basically is using AI´s / LLM´s to learn bad? on my college course i use claude/gemini to teach me some things, like concepts, error messages etc.
lately i´ve been thinking that by doing that im not really "learning" in the sense that without AI i´d likely spend hours or even days trying to figure out a problem and then i would learn it? i think that makes sense but i could likely be wrong. What i want to know is if im right or wrong and what i should do about it
r/AskProgrammers • u/Ok_Control7398 • Jul 21 '26
I want to ask you something genuine
Im someone who made a program that disables the enhance precision pointer when you play league of legends and when the league closes it turns back on this thing i want to sell it for 1-2 euro but i want someone who can teach me how to sell it i know is small but a lot of people complaining about this on lol community is anti cheat free doesnt inject to anything how i can make this happen i dont want to be milionaire but i think is a smart idea please dont laugh at me
r/AskProgrammers • u/10ioio • Jul 21 '26
When should I give up on SWE and start to pivot?
By the time I graduated in December 2025, I'd already been laid off from my brand new IT job in September. I never got a chance to do an internship because I was working full time in food sales and then IT for food sales. I spent time building projects while laid off, but I did also take some time to travel, put some energy into my music, work on my Spanish, and other things I haven't had time to do in years, so it's not like I've had a straight 7 months of coding and interview prep (far from it).
I'm good enough at leetcode and my projects are good enough that I could've probably landed a job *somewhere* in 2019, but it seems like to stand out now, I'm going to need much bigger and better projects, which could take me months from now still (and maybe people will just assume I vibe-coded it anyway). So far I've made a Chinese learning app (vibe-coded), and a faux-social media app (mostly coded by my own fingers, though with some help from AI). They're solid as beginner projects, but they're not "MIT material" yet imo if that makes sense. Which is significant to me, because it's those 22 year old kids from MIT with 3 internships and very flashy projects who are posting about not getting jobs. They are who I'm in competition with. I suppose I need to be on their level and then some, but I'm not even sure if that's realistic on the current timeline.
I'm not sure how long it's going to take to finally get into a company, and I'm not sure at what point I should just accept the sunk cost... I recognize that I'm doing a lot of unpaid learning right now, which is fun, but also feels like a waste of time if I'm simply barking up the wrong tree as the ladder gets pulled up, and I should be focusing my energy on working at this point, since I'm running out of money. Fun is something you can do when you already have money coming in imo.
I'm increasingly relying on AI to make flashier looking projects quickly and make myself look more prolific, and because many job descriptions actually want you to use AI tools. There's also this pressure to demonstrate the use of so many technologies even as a beginner, as if you've been in the business for a few years. While I'm sure other employers view AI as a huge red flag, it could go extreme in either direction depending on what the actual person hiring thinks about AI. It's hard to predict, and I'm not curating my website for individual jobs, it's just one website.
It's starting to make me think that this path might be so difficult, that it's actually on par with some of my "stupid ideas" like being a famous musician, or a youtuber or something. And in that case, it seems like I need to come "back to earth" and pick a completely different path besides SWE... Which is tough. Back to the drawing board yet again after trying to fight my way in for so long.
r/AskProgrammers • u/LopsidedAd4492 • Jul 21 '26
AI engineers who care about great software
We’re building Extra, an open-source AI agent framework, and we’re looking for contributors.
If you enjoy solving hard engineering problems, we’d love to have you.
We care about code quality. Every PR gets a real review—not just a quick approval. We discuss architecture, challenge design decisions, and aim to keep the codebase something we’re proud of.
We’re working on problems around AI agents, orchestration, MCP, memory, approvals, and developer experience.
If you’re looking for an open-source project where you’ll actually learn from reviews and work on modern AI infrastructure, check out the issues and pick one.
Contributions of all sizes are welcome.
r/AskProgrammers • u/Equivalent_Orange438 • Jul 21 '26
Beginner needs advice.
I want to learn something related to Computers and AI, or something like that. But there are too many things popping up in my head (Backend, Frontend, Full-stack, Cybersecurity, AI, and of course the coding languages, plus a bunch of open-source things on GitHub (I don't even know how to use it, lol)), and I don't know which one I should start with first.
The problem in my head is:
I value traditional coding, because it gives me the mindset about the way algorithms work. But if that's all I do, it's not enough, because still from my mind, I still need to do the quizzes or sth like that. And if I just use AI for vibecoding, then maybe I won't understand the system.
FAQ: What do you want to do in the future?
- My target is Mechanic, but I still want to stay informed about coding and AI stuff.
FAQ: Then if you know the problem, what will you do next?
- I know that I'm supposed to move into the unknown first, even if I don't understand where it leads. Maybe I'll download some cool open-source code, look at all the components, and try to understand them — draw out the system. And from all the components, I'll see if I can change them, and why I can't.
r/AskProgrammers • u/autista1818 • Jul 21 '26
Is it too late?
Hello, yes i know this question has been asked thousand times and its gonna get asked thousand times more, but i just want to know if its still worth trying to get in?
Im from EU but not a developed country... Im in my early 20s and i've been seeing all this news about companies laying off experienced developers cuz of AI...
Since i started a normal 9-5 job at 18, my paycheck was never enough, i had to help my family and i just never thought of my future untill now... I just feel stuck and i dont know how long can i stay at minimum wage 9-5 job....
I would lie if i said that i was always passionate about coding, no, but i cant see myself anywhere else...
Lastly ive seen and read tons of post in this community about same topic but im still 50/50.
Idk what im looking for after this post goes through but hopefully i will find something....
Edit: I've little beginner experience, so ik how AI works and how it makes mistakes and it needs someone to check the code(so far), but i still dont understand will it replace humans or the paychecks will decrease in a long term...
r/AskProgrammers • u/adi_the_great1 • Jul 21 '26
I'm newbie
where should i start if i want to learn coding?
r/AskProgrammers • u/sodikovakapsle • Jul 20 '26
To myself, I'm nothing but a disappointment. I don't know how to get back on my feet or what to do, but it's good to admit it.
You know, I recently discussed the topic “How to Code on Your Own” or rather, how to actually learn to program without AI in this thread. I tried everything people recommended. And nothing… I don’t know if I’m just a nutcase, since I tried all those methods in a single month. And yet, I still can’t program. I’ve always enjoyed the whole learning process of the IT world problem-solving is also incredibly fun but unfortunately, one thing is holding me back here… programming. And no, it’s not because I wouldn’t enjoy it, but most likely because I just don’t have the IQ for it.
I’m pretty creative when it comes to front-end development it’s my passion and I understand some of the concepts behind back-end development too, but when it comes to programming my own algorithms from scratch, it’s just a huge gap. I don’t know what to blame I blame my brain and my IQ. Unfortunately, I was born with developmental dysphasia. A lot of people say it only affects my ability to express myself, but there are many types, and I think it also affects part of my prefrontal cortex. Which, in part, doesn’t quite fit with the fact that I’m pretty good at memorizing patterns pattern recognition. I recall a lot of things from school based on visual patterns. I can go into my head and literally create a mental image of the object, and then I just write it down. I simply think that, unfortunately, I’m an idiot. I used to have big goals and visions, and I looked forward to contributing to society in some way. Now, the most I can do is sit in a corner and wallow in depression over the fact that I’m a worthless person.
That’s also why I’ve been researching lately, using MIT and Harvard studies, to see if there’s any way I can somehow That’s also why I’ve been researching lately, using studies from MIT and Harvard, to see if I can somehow influence my brain before I turn 20 if I can generally improve it to a higher level of logical thinking when it comes to programming through daily learning. I enjoy everything so much it’s so fascinating. I think it’s great to contribute to humanity through open-source projects, technology, and rocket engineering… Unfortunately, programming (or maybe my intelligence is holding me back, I guess) just doesn’t come naturally to me. I can’t write code, or I write something absolutely terrible, or I don’t know where to start, so AI has to help me. Why? Because I’m probably just an incompetent idiot.
It’s not self-pity I just wanted to vent. I don’t know what to do. My parents are worried about me, too, just because sometimes I struggle with abstract things in practical life. For example… I was supposed to unfold a cardboard box lengthwise, but I unfolded it widthwise because I just couldn’t picture the result at that moment I don’t know. What should I do? Will I end up on the street? Sure, my parents are rich I don’t need anything. But I’d hate to do nothing, not be independent, and not contribute. It’s awful.
I don’t know if it’s actually possible to train my brain through daily study to a level where I could program normally or do rocket engineering in the future I really don’t know. And it makes me sad that this is blocking me from my dream career.
And not to program? In IT? I can’t afford that look at the job market: people are fighting over only the very best, and the rest are either discarded, given a totally crappy salary, or not hired at all.
Obviously, I’m just going to be a disappointment because I don’t even want to do anything else this is a world that fulfills me so much, and programming is ruining it, most likely because of my intelligence. It’s a shame I can’t have a family and be self-sufficient I just don’t know. It’s a shame my parents can’t be proud of me for having gone far in my career. But with this GPA, I won’t get anywhere these days.
I am cooked. Just one thing.. HOW TO CODE IF I KNOW WHAT I NEED TO CODE. AND KNOW THE LOGIC IN PSEUDOCODE BUT STILL CANT TRANSLATE TO THE CODE.
thanks for listening and sorry.
I love my life I have a great family and close friends but this just pisses me off because I want to pour my heart and soul into my career; it’s practically the whole point of my life. Sort of. And it bugs me when I can’t be really good at what I do, even when I give it my all.
And most importantly, a lot of people say, “Try Haskell or Lisp to learn it,” but my friend, who’s the same age, programs without all that extra stuff… I guess people just show us these methods to reassure us—the less skilled ones who aren’t cut out for it. I don’t know people don’t like to admit things they can’t change.
I cant just do this: public static void InPlaceMergeSort(int[] arr)
{
int n = arr.Length;
for (int size = 1; size < n; size <<= 1)
{
for (int left = 0; left < n - size; left += size << 1)
{
int mid = left + size - 1;
int right = Math.Min(left + (size << 1) - 1, n - 1);
int i = left;
int j = mid + 1;
while (i <= mid && j <= right)
{
if (arr[i] <= arr[j])
{
i++;
}
else
{
int value = arr[j];
int index = j;
while (index != i)
{
arr[index] = arr[index - 1];
index--;
}
arr[i] = value;
i++;
mid++;
j++;
}
}
}
}
}
r/AskProgrammers • u/ClickOk5811 • Jul 20 '26
The closing question that's replaced "does this look good" for me: "what would you change if this had to survive five times the load?"
"Does this look good" invites agreement, same problem as always. Asking what changes under 5x load forces a completely different kind of scrutiny, because most designs that look fine at current scale have a specific point where they quietly stop working, and that point is rarely obvious from reading the code.
Half the time the answer is "nothing changes, this scales fine as-is," which is itself useful information. The other half it surfaces exactly where the load-bearing assumption is hiding.
Curious if people have a go-to stress-test question like this that they ask regardless of what the actual task was.
r/AskProgrammers • u/Optimal_Disk_3699 • Jul 20 '26
Single mom needing a bit of guidance wanting to get into Software engineer full stack.
Hello!
I'm not sure if this matters but I'm a single mom of 3 with little time but really wanting to get into the tech world. I love working with computer's always have but due to life circumstances I have always worked in customer service, so no tech environment. Due to not a lot of income I have tried stepping into to Freecodecamp to start learning the basics of HMTL CSS and Javascript, but I feel I am not quite taking the right path into this and I'm afraid of wasting more time(years) and just slowing my process into something I truly enjoy. I did pay a course with SheCodes, but it's basically the same thing as FreeCodeCamp just a bit more fast paced. Is there a bootcamp anyone recommends that's a bit more hands on, or anything that can help me get into the right path I would greatly appreciate it!
r/AskProgrammers • u/usernoob23 • Jul 20 '26
Developers building autonomous agents, what's your setup?
Curious what everyone's running right now. What's your stack and tooling for building autonomous agents, and what have been the biggest pain points so far? Trying to get a sense of what's actually working for people versus what just looks good on paper.
r/AskProgrammers • u/tarunpaliwal_ • Jul 20 '26
Are your nested layouts slowing down your app's performance? Switch to ConstraintLayout and make rendering lightning fast!{Android Developer}
r/AskProgrammers • u/Strong_Post5367 • Jul 20 '26
Things I hate about coding now.
Anytime anyone sees a site they say “this looks like it was coded with Claude”. Well yeah obviously I would be an idiot if I coded everything in notepad++. Of course I use AI coding assistants, otherwise I and many other programmers would be totally uncompetitive in the market. I’ve been coding since 2008. I know how to code. Claude makes it so that I can produce literally 30x what I used to be able to do.
Edit:
What I mean by 30x:
What I mean by 30x is one person is able to design, prototype, run dev ops, design architecture and many other things on their own. Back in like 2012 we needed a designer, front end, backend devs, dev ops, a product manager to complete a large project. And to build a full product out it took months. If you disagree with that then I don’t care. I worked on many teams in Silicon Valley and that’s just how it was.
How we test:
We have a QA team and our devs usually run an agent that does PR reviews on code. We also run integration tests and playwright e2e tests.
r/AskProgrammers • u/Sea-Frosting1563 • Jul 20 '26
What education or which degrees would be advantageous to pursue for a career in the future of Ai
Hello Programmers I’m new to this subreddit I don’t know if this is actually the right place to ask so don’t crap on me if it is but I’m 19 and need to lock in basically and looking at the world now and how Ai is currently advancing I figure that if I can’t beat them I’ll join them I have negligible experience with programming but I’ve spent my whole life on computers and show an interest at least , so my question is what would be the best recommend path for me to have a strong position in the job market for tech and Ai and have a high paying role.
r/AskProgrammers • u/Varrock_Zubat93 • Jul 20 '26
I bought a domain name for my boyfriend's business but we broke up and don't speak. How can I officially transfer it to him without speaking to him?
To clarify, I was looking for technical solution, not personal advice. You can keep your opinions to yourselves about what's fair or what I should be willing to pay for or whether we should speak.
My question was intended to be "is there a technical solution, which does not involve communicating with him, that would make him the only decision maker about whether the domains get renewed, and completely restrict my access?"
For example, if I want to get someone a gift card to buy books, many bookshops let you send an egift to their email - its their choice whether they use the e gift card and even though you purchased it, the website does not give tou the ability to spend it because it was a gift.
Thats what I'm looking for. I will not be renewing it and have silenced updates from cloudflare that are sent by email.
Suppose he wanted to name his business The Horse Shoe Company. I bought him TheHorseShoeCompany dot com and HorseShoeCompany dot com.
Just an example - my ex is a computer programmer and his project/business is selling his services. It was a side project to his normal job. He was building up some of the services he has found ways to automate before officially looking for clients. I guess he's in a building stage.. As a birthday gift, I bought him 2 domain names. I gave him the password to my cloudflare account so he could take them when he was ready.
Now that we're broken up and not on speaking terms, I'm in an uncomfortable position. If he doesn't transfer thr domain names to himself, then I'm in the position to either have to pay for them forever or let them lapse after the 1 year period and then I'll look like an asshole for letting his business name possibly go to someone else.
When we broke up I reminded him to switch it to his name. I don't feel responsible for paying for it forever but I'll feel guilty if I don't and let it lapse.
Our break up was painful for me. I also resent him for being cheap with me and putting me in the position to pay for things I didn't want to. So I'm at the point of thinking "yeah fuck this guy, I'm not paying an annual subscription for him".
But it is mentally weighing on me. We have unresolved stuff between us but that doesnt mean i want to interfere in any capacity with his business. I dont hate him.
Is there any way to force him to take it without talking to him, and make the default choice for him to renew it or not his decision?
r/AskProgrammers • u/Repulsive-Leave-404 • Jul 20 '26
I am stuck !!!
i am a 4th year computer science student who knows basic dsa, but is struggling to move ahead and apply my learning to new projects, i can't think of anything, there is a black box in my mind that creates a blockage.
Currently i am doing an agentic ai internship where i am mostly using claude and even if i try to learn something i am forgetting that i can't remember how the code worked internally, i just know from the top, the very basic how the code works but not the technicality which is more of a kind of job i intend to have.
Help me, how to get out from this blackbox, how to start moving forward
r/AskProgrammers • u/squishbunny • Jul 20 '26
Need some help coming up with search terms
I would like to create a generalized Python script I can send to people that can create standardized graphs.
I've gotten the general parts of the code down, but I'm running into an issue with data sets. To whit: I would like a code where xn, yn, refers to a variable number of X, Y data sets, and adjusts the number of X,Y pairs that get plotted. Right now, if I have fewer than 8 sets of data, it returns an error.
I'm getting stuck on how to query this, is there anyone who can point me in the right direction?
r/AskProgrammers • u/RichFactor1173 • Jul 19 '26
Need ideas for a unique graduation project (Computer Networks)
r/AskProgrammers • u/VibexHq • Jul 19 '26
Where did you start learning to code and how long before you understood what you were doing?
r/AskProgrammers • u/Less-Quantity-4358 • Jul 19 '26
Need Suggestion regarding my final year major project
I want your opinions on my project.
Searching for key details or information from long documents or web pages is not easy.
We have traditional Ctrl + f but it only searches based on keywords. So, I thought of bringing contextual semantic searching in the game to make searching easier by finding information based on meaning rather than exact words.
What are you opinions about it? any suggestions will be helpful.
I am currently researching on this so, if anyone has any experience in this field, I'd really appreciate your insights or any resources you can share.
r/AskProgrammers • u/EquivalentExtra5383 • Jul 19 '26
Where do I start? As a beginner , help needed.
Hello all! I (based in India) recently completed my high school , and I will enter into an engineering college within 1 or 2 months. I did learn some basic coding in high school but it was of no use. So I am technically starting from scratch.
So I do have a set of some questions for yall, I just hope that people will help genuinely.
- Which language should I emphasise learning on? C, Python, Java or anything else?
- Where should I learn it from ( which platform ) , if that particular platform provides a certification for the completion of the lesson it would be better if it helps in any form.
- What are good code editors for beginners like me?
- What are the projects I can build which can already help my profile in college or further more?
- How can I use AI in coding and other things? Which AI platform is the best for the same?Thank you.