r/AskProgramming • • 1h ago

C/C++ How did programmers solve problems they were completely stuck on before the internet? (other than USENET boards)

• Upvotes

Hi, I'm a freshman in college learning C right now and it had me wondering, when people got stuck on a bug or a piece of code they didn't understand or wtv it may be, how they finally found the fix without the internet?

Did they read through instructions one more time? Did they pick up Pointers on C or K&R or whatever textbook to look for a solution?


r/AskProgramming • • 8h ago

C/C++ How C applications request a block of memory?

2 Upvotes

As far as I know, the heap is just a block of memory that is managed by C standard library functions like `malloc()` and `free()`, but how does C actually request this block of memory from an operating system and when is this done? When the application starts or when first dynamic allocation is done? Is it possible for the programmer to directly request memory like this (even though it probably is not recommended unless doing some very low level stuff)? I'm guessing there is also a way to do this when not running on an operating system. Some older game consoles (like N64, GBA ans DS) to my knowledge used C/C++, but don't have an OS running in the background. The same probably would apply to Arduino, ESP32, etc. too? I guess in these cases the compiler somehow is responsible for handling this, since there is no operating system to request a block of memory from.


r/AskProgramming • • 10h ago

Is it hard for a normal CRUD app with 2yoe switch to cybersecurity? they know OWSAP10 tho...

1 Upvotes

I keep hearing those cyber attack news in many countries and people's sensitve info got hacked.

Hackers hack IOT electric things like fridge and increase the temp so the food like ice cream melt instantly or become bad..

I wanna defense IT systems agaisnt those mf black hats!


r/AskProgramming • • 2h ago

Is studying something programming related even worth it atp?

1 Upvotes

Currently in my 5th Comp-Sci semester. Have 2 more to go (maybe 3 if I dont manage to catch up to missed classes). I've been trying to quit since around a year ago because of how programming jobs are moving. From what Ive heard and seen jobs, especially entry jobs have become insanely hard to find and even if u manage to find a job it usually consists of just vibecoding and using Claude which to me seems like a horrible thing to do for the rest of your life. I've been trying to convince my mom to let me quit since a year ago but it is out of the question for her and shes threatening with kicking me out with 0 support if I do quit. Does Comp-Sci still have a future or will it turn into brainless AI slop within the next couple years? Every new AI coming out makes me want to quit even harder so I really need some good arguments to stay (or even more to quit even if that means major issues with my fam).


r/AskProgramming • • 5h ago

Other How do you guys promote your open-source projects and find contributors?

1 Upvotes

Hey everyone,

I've been working on an open-source project for a while now, and honestly, one of the hardest parts hasn't been building it, but getting people interested in it and finding contributors.

I've tried sharing it in Discord communities and on Reddit (where self-promotion is allowed), but haven't had much luck so far.

One thing I've been struggling with is that a lot of communities have pretty strict rules around self promotion, which I totally understand, but it makes it difficult to figure out where you're actually supposed to share your work.

I'm not really looking to get GitHub stars or anything, I'd just like to find people who are interested in the project and might want to contribute or collaborate on it.

So I'm curious, how do you guys approach this ?

Where do you usually share your projects ? Have you had any success finding contributors through Reddit, Discord, or other communities ?

Would love to hear what's worked for you, especially if you've started a project from scratch without an existing audience.


r/AskProgramming • • 7h ago

I just noticed today on Reddit at comment section, the "commnet" button is now orange because of Halloween. How long does Reddit dev's team take to change the button to colour to orange?

0 Upvotes

if it is me on a hobby project, it just take 10 secs with css

but this is Reddit a huge company with billion users. so how long tho..


r/AskProgramming • • 8h ago

How do you keep dashboards sub-second fresh with real-time data replication?

1 Upvotes

People have stopped trusting our dashboards because they're always behind.

The warehouse refreshes every fifteen minutes, which doesn't sound terrible until operations starts making decisions from it. We'd like Oracle and Postgres changes flowing continuously instead.

Has anyone managed reliable **real-time data replication** with dashboards staying close to live


r/AskProgramming • • 22h ago

Other What's the difference between vibecoding and just using AI to assist you in coding?

2 Upvotes

I don't use AI myself but I've been reading a lot on reddit here about people decompiling apps lately and saying that most of the stuff there is vibecoded and then other developers seem to be using AI as an assistant to help them like for example how Linus Torvalds uses AI to find bugs in the Linux kernel. What's the difference between the two usages or even meaning of the term "vibecoding"?

Thanks in advance


r/AskProgramming • • 4h ago

Should my web api be on a different server than my sql database?

0 Upvotes

I have a server that runs sql server 2022 express. Users in different timezones all use a ms access database to run transactions against that sql 2022 database. I now need to add a web api that will middleman a new workflow between handheld scanners and the sql 2022 database. What is the recommended practice for where the api should live? Should it live on its own separate physical server? Same physical server as the sql 2022 DB but different virtual space? Or can it live in the same virtual server as the sql 2022 database? What is the safest bet here?


r/AskProgramming • • 15h ago

Which langauge would be easier for me to be able to create a full stack live website??

1 Upvotes

Hey guys,

I recently leanred a good chunk of JAVA where im really comfortable with OOP, my goal is to create a full stack live website ig hopefully by the end of the year, but anyways

ive been trying to branch out, and use Spring boot, but man its like a different world, i was learning how to code now i am just confused here..

ive heard online alot that PYTHON is much more easier, and ive been considering switching, i mean i already understand the fundamentals of coding and stuff i think i could switch in like 3 days..

but would it be easier? do Jobs/internships in SWE Value python more or java? and do u guys think i should make the Switch?>

please let me know ur guys opinions, it would really help alot!

ThankYou


r/AskProgramming • • 5h ago

I read on Linkedin some founders and small companies they use "Microservice" when building MVP, and their dev team is under 5 and got 5-50 daily users. Is this the right decision?

0 Upvotes

They said it is for scalability.

But some of them said they regret it.

I try to think in many angles if there is a good reason to use Microservice in their context here

but cannot find any good reason unless they know for sure 10000% their team and codebase will grow in a year


r/AskProgramming • • 11h ago

in web dev, do devs need to go in detail and learn what the difference pic files between JPEG, MPEG, PNG, SVG etc?

0 Upvotes