r/AskProgrammers Oct 18 '24

Zerops.io - Dev First Cloud Platform

Thumbnail
zerops.io
1 Upvotes

r/AskProgrammers 3h ago

What is the funniest code you ever read in production?

10 Upvotes

This is a piece of code I found while refactoring our insanely complex drag-and-drop component canvas that already went through several refactors for performance optimization in the past:

function refreshShape(shapeId: number) {
return shapeId;
};

I'm not even kidding. My teammate and I laughed so hard. It was probably written by someone at some point to do something and either got distracted or was multitasking. This was before LLMs were being integrated in our workflows.


r/AskProgrammers 6h ago

Opensource PHP/Laravel LMS system feedback

2 Upvotes

Hi everyone,

Over the past few months, we've been building TadreebLMS, an open-source Learning Management System focused on enterprise and corporate training.

We've recently completed a major restructuring of the project

How can we use AI in our product and process to speedup the development, process and customer support ?

The project is built with:

  • PHP / Laravel
  • MySQL
  • Bootstrap / JavaScript
  • Docker

GitHub:
https://github.com/Tadreeb-LMS/tadreeblms

Issues:
https://github.com/Tadreeb-LMS/tadreeblms/issues

We have a huge roadmap like SCRUM Integration, UI upgrade as per FIGMA, Gap Analysis Module Integration, Integrations with HR Systems etc...

Please anyone experience or architect in PHP can give recommendation on best practices, gaps in the system etc..


r/AskProgrammers 3h ago

Honestly, 80% of developers today are missing what this dude is talking about

Post image
0 Upvotes

r/AskProgrammers 16h ago

Suggest me about Programming.

4 Upvotes

Hello! I just started Programming like 4 months ago and yes i started from web development, learned how to program in js and typically in html and css too did some normal and easy projects because i really didn't like Designing at all still i don't like designing. I started Programming in Python and after getting to know what "OOPS" is, i did write some programs using the stuffs i learned before. I was really interested in C++ and i started programming in C++, it was so fun and i did learn till some STL ( Standard Template Library ) of C++ then my friend suggested me to continue back on python as its mostly used right now, its easy, used in variety of tasks. I am back in python learning the use of some libraries and hosting backend on FLask. I am doing these but dont know what do i do now. Can anyone give me some advice, i would love to hear all of your guys Opinion.


r/AskProgrammers 19h ago

C++or JavaScript?

5 Upvotes

Heyy all, I've recently started learning programming and I've already covered the basics and I think I'm now ready to start learning my first language properly. I have a very little tiny background on C and python because I took some courses a while ago but ended up not finishing them.

I ha've asked some people for advise, some said you should start with C++ to have a good foundation and it makes it easier later to learn new languages, while others said you should start with JavaScript because its faster and easier to learn. And I'm completely lost now.

Also, I'm starting my high school senior year in September so I'll need to balance school with learning to code so I can't 100% focus on coding. And I'm also still lost in what field I want to get into but Ai and web development seem pretty interesting to me. I don't want to start with something and ending up not finishing and regretting it like what I did a while ago.

So my question is what would you do in my situation?

Thanksss!!


r/AskProgrammers 1d ago

When should I give up on SWE and start to pivot?

6 Upvotes

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 18h ago

What's the HGEN file extension used by?

1 Upvotes

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 1d ago

Beginner needs advice.

9 Upvotes

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 1d ago

Basic project to learn more about Linux system calls and C programming. I accept any criticism.

Thumbnail
github.com
2 Upvotes

Basic project to learn more about Linux system calls and C programming. I accept any criticism.


r/AskProgrammers 23h ago

CS student here. Worried that using Claude to learn concepts is making me a worse problem solver. Am I wrong?

0 Upvotes

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 1d ago

Is it too late?

4 Upvotes

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 14h ago

What would it sound if I tell you that my algorithm is letting coding agents to understand codebase nearer to how developers understand?

0 Upvotes

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 1d ago

What's one programming concept that took you way longer to understand than it should have?

Thumbnail
1 Upvotes

r/AskProgrammers 1d ago

Myshell

Thumbnail
github.com
1 Upvotes

Basic project to learn more about Linux system calls and C programming. I accept any criticism.


r/AskProgrammers 1d ago

Hi guys i learned java yesterday upto loops

4 Upvotes

I'm finding it really hard to write code. While loops are especially confusing I don't know when to use them or how to decide what condition to write. I'm also struggling to build logical thinking for programming. Do you guys have any suggestions on what I should do to improve

And I fixed my target to learn java completely in 20 days


r/AskProgrammers 1d ago

Why do I struggle with this?

Thumbnail
1 Upvotes

r/AskProgrammers 1d ago

I want to ask you something genuine

0 Upvotes

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 2d ago

Math coding project ideas?

16 Upvotes

Hi, can anyone recommend any IT projects in which mathematics plays a major role?

I am currently finishing low-level library implemenation in C++ that handles large floating-point numbers, which includes optimizations such as the Chinese Remainder Theorem and cryptographic tests for key generation.

This project is mostly just pure math, so I am looking for something where math will play a key role. I was thinking about some kind of simulation, but physical simulations like fluid or light simulation are not what I am looking for.

I would be grateful for any ideas.


r/AskProgrammers 1d ago

I'm newbie

0 Upvotes

where should i start if i want to learn coding?


r/AskProgrammers 1d ago

AI engineers who care about great software

0 Upvotes

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 2d ago

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?"

6 Upvotes

"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 2d ago

What programming opinion have you changed your mind about over the years?

Thumbnail
1 Upvotes

r/AskProgrammers 2d ago

Single mom needing a bit of guidance wanting to get into Software engineer full stack.

3 Upvotes

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 2d ago

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?

7 Upvotes

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?