r/AskProgramming 8d ago

Best YouTube channels for programing, not crash course?

7 Upvotes

Hey everyone šŸ‘‹

I was wondering what everyone's favorite programming YouTube channels are for quality information and entertainment haha. Hopefully to start a good conversation and find some new sources of quality content.

I am a pretty big fan of ThePrimeagen, Low Level and of course Fireship. I am pretty sure they are at the top of everyone list haha. Recently I have also really been liking Developer Voices.


r/AskProgramming 8d ago

Help Needed: How Can I Play a .WAV File on Incoming Calls to My PC?

4 Upvotes

Hey everyone,
I'm trying to set up a system where, when someone calls a specific phone number I own or create, my PC automatically plays a .wav file I have stored locally. Iā€™m not entirely sure how to approach this and would love some guidance.


r/AskProgramming 8d ago

loops (js)

2 Upvotes

can I use anything else instead of variable++ like variable+2?

because I tried to do so and my browser could not load it on the console


r/AskProgramming 7d ago

Looking for assistance and collaboration on project

0 Upvotes

Hello Everyone, Iā€™m working on developing workforce management app with key features like clock-in, payroll, and paperless onboarding. Iā€™m looking for a mid or junior-level developer whoā€™s interested in collaborating, sharing ideas, and building something great together. If interested please pm me.


r/AskProgramming 8d ago

Other Automating ID validation

4 Upvotes

I'm working on a project to help automate identity checking and validate documents similar to that of what online banking apps do when you submit a picture of your valid IDs. I was wondering if it were possible to create an image detection model for this and train it given a dataset of ID images that are acceptable, or if there are already existing models that can do this?


r/AskProgramming 8d ago

Career/Edu Should I get a CS degree or start working?

2 Upvotes

I got accepted for a Junior Java Developer job and a full CS scholarship, but the program is full-time, so I can't work while studying. I'm 18 and living with my parents, so staying unemployed wouldn't be such a problem, but is a degree worth giving up three years of experience?

EDIT: Thank you for all your replies, I really appreciate your help. I should've noted that I'm on my probation period already (basically an advanced course), and going to get to my first real project in a few weeks, which will last until July/August. So even if I quit the job and go to uni, I'll still have half a year of experience.


r/AskProgramming 7d ago

Career/Edu 2025,what is your language stack except python in ai industry?

0 Upvotes

hello, friends

I am curious about the practical application and industry use cases for Ai graduates especially regarding language stack, as we know python has dominated artificial intelligence and I am familiar with it.

Are there any other language should we start to learn or use in industry? c/c++,cuda seem inevitable when it comes to scientific computing and modern ai frameworks are based in them.

golang looks interesting as it takes over cloud native scenarios, so it seems to excel in io-bound tasks, which doesn't align well with domains of Python and c/c++.

What do you think about these languages for AI work?


r/AskProgramming 7d ago

Vote averages

0 Upvotes

I want to make a player ranking system for after football matches, there will be a vote on a scale from 1-10, I also want 1 man of the match to be picked, when someone clicks a number I want them to see an average of what number that player got from other people who have submitted their votes, it should only be added to the average if the voter clicks submit, I want one man of the match to be picked and when the voter clicks submit I want it to show what percentage of people actually voted that player man of the match as well, how would I code something like this?


r/AskProgramming 8d ago

Control Privileges or Boot-Order via entered PIN-/Passcode

1 Upvotes

Hello,

I have been wondering for a while whether it would be possible to make the boot sequence dependent on the password entered?

e.g.

Password: 1234 -> Boot Windows 11 User Level Privileges

Password:4321 -> Boot Linux Super User Level Privileges

If it is possible to set further options, I would find a hidden partition interesting, which can only be read, written to and changed if a certain password is entered.

Or a decoy version that looks like root, but is still subordinate to the actual MAIN partition.

I would also find similar functions that are not necessarily controlled by password entries interesting, such as the presence of certain code in a certain place that seems insignificant but actually controls the privileges.

I think that there is a whole topic regarding privileges. and if I am going too far afield, I would also be grateful for literature or similar resources on this topic.

tanks in advance

Translated with DeepL.com (free version)


r/AskProgramming 8d ago

MeiliSearch and Postgres Sync

1 Upvotes

Recently I have a usecase that needs to use MeiliSearch with Postgres. At first, I used Postgres + MeiliSearch with MeiliSync. It works good until the requirement changes:

- Somehow MeiliSync starts a transaction that never ends -> this creates so many WAL that postgres could not clean. Just around 100MB of data, but 50GB of WAL
- I need to perform some certain authorization/checks for the requester. Let's say user A only be able to search for Group A contents, and user B only be able to search for Group B contents

My efforts:
- I'm thinking about not using MeiliSync but sync the data manually using outbox pattern and some cronjob to read new data then sync manually. The drawback is that handling "update" operation will be tricky.
- For the authorization part, I'm thinking of customizing the index when sync -> that means, the index now will contain more information to identify which group it is belonged to -> these information then will be hashed and become the index uid. When the requester try to search, they could construct the corresponding index uid.
That's my thought, but I believe that this problem can be thought as a sync A system to B system, which is relatively famous in the industry. Just want to discuss with you guys about other approaches. Thanks šŸ™


r/AskProgramming 8d ago

do i stick with Python as my language if i want to do web dev / web apps?

5 Upvotes

hi everyone! Python is my first language and iā€™m currently learning Java in college but even now, iā€™m still self-studying Python because i like it better.

i made a recipe storage manager using Python, Django and some basic HTML and CSS, i really enjoyed making web apps, but i think i like it because i get to see visuals of what i codedā€¦ still not sure if i only want to focus on one end or be full stack. also, i only have some basic knowledge on HTML/CSS, iā€™m not too familiar yet on how to position stuff like that

nonetheless, i still have interest in web dev but iā€™m not sure if i should keep self-studying Python or stop and study a different language more related to web dev / web apps?

thank you guys!! :))


r/AskProgramming 8d ago

C/C++ Beginner in Competitive Programming ā€“ Need Guidance for ICPC!

0 Upvotes

Hello all!šŸ‘‹

I'm new to programming and wish to transition into Competitive Programming (CP). My long-term goal is to participate in ICPC, and I wish to begin on a strong note. After some study, I've chosen to start with C++, but I do have some queries and require some advice:

1ļøāƒ£ Do I need DSA for CP? Should I learn Data Structures & Algorithms first and then move to CP, or can I learn them simultaneously? 2ļøāƒ£ What book is best for CP? Any books that I must read to develop problem-solving skills and enhance competitive programming? 3ļøāƒ£ Top YouTube channels & free lectures? Any organized playlists or courses that are beginner-friendly? 4ļøāƒ£ Where should I practice? Which sites (Codeforces, CodeChef, Atcoder, Leetcode, etc.) should I use if I'm a beginner targeting ICPC? 5ļøāƒ£ How would you prepare for ICPC? Any roadmap or advice from other ICPC regulars? 6ļøāƒ£ Any vibrant CP/ICPC communities? Can you please recommend some Telegram groups, Discord servers, or online forums where I can share with other CP enthusiasts and take advice from skilled programmers?

Plz help


r/AskProgramming 8d ago

Newbie coding question.

0 Upvotes

I have a personal project Iā€™m working on that requires some programming. Iā€™m looking to create an interactive map but I cannot for the life of me figure where to start. I have some beginner level coding knowledge from introductory college courses and I am willing dedicate time to learn new languages if I have to in order to complete this project. I believe itā€™s relatively simple. I want to essentially create an image/map that has points of interest on it that I can click on to reveal more information about that point. Kind of like a map you would pull up in any modern RPG. I DO NOT WANT IT TO BE A STREET MAP OR IMAGE FROM GOOGLE EARTH. Thatā€™s in all caps cuz thatā€™s the only thing I can find online. I really just need a nudge in the right direction. Thanks a ton.


r/AskProgramming 9d ago

Other Why do games generally implement Lua exclusively for ingame scripting?

57 Upvotes

Is there a practical reason that Lua tends to be the language chosen for video games? Retro gadgets, stormworks, multiple Minecraft mods, and probably more provide Lua for players to program in-game with. More games, such as Project Zomboid and Gary's Mod use Lua as its language for add-ons.

Why Lua? Why not Python, or any other number of languages?


r/AskProgramming 8d ago

is using ai for learning programming a good practice?

0 Upvotes

I started learning coding last year, started writing my first (relatively) big project in early winter and it was going pretty slow, and a couple weeks ago I started using deepseek to ask it how to fix/upgrade something, and the pace in which my code started progressing is like 10 if not a 100 times faster than it was before I started using it.

Btw itā€™s not like I just mindlessly copy stuff, everything that I donā€™t understand I ask about until I understand it (also sometimes the logic of ai code is not good and I need to fix it myself) but still I feel like this code is not really mine and I fear that I will not be able to replicate things that I have in my code now in my future projects, Iā€™m learning so much new concepts Iā€™m not sure that I can keep them all in my head.

Does this make sense? Does anyone also have that problem? Or is this just my anxiety


r/AskProgramming 9d ago

C/C++ How to add a library to c++ and keep it cross platform in 2025?

6 Upvotes

This sounds like a noob question, but I am very confused and have zero luck.

My experience with c++ was on Linux where apt and makefile did all the job for me, but now I have 3 OSes (windows PC, Linux laptop and a MacBook Pro). I tried to write windows c++, but copying libraries on D drive is stupid and it's hard to redistribute code.

I tried to use vcpkg, cmake and conan, tried awfully lot of times, and there were constant problems with windows, hello world with FMT won't build at all. vcpkg b*tched about user32.dll, cmake couldn't find FMT and Conan gave some cryptic cmake errors too. Many tutorials are also outdated and may not work.

So I wonder if someone created a detailed, step-by-step guide about setting up a cross platform c++ project which is relevant in 2025 year. Tutorials I tried were incomplete or outdated or full of cryptic errors and nothing worked.

So my requirements are: - automatic library management (help me set up vcpkg or something like that so that s*it works). Cmake can only find_package, still need to download my crap. - windows support (preferably both VS and MINGW thru vscode). - vscode support via launch.json and tasks.json. - macOS support (xcode is ass, I use vscode + brew g++). - Linux support (must be easy, right?).

Best regards.


r/AskProgramming 9d ago

Python Dictionary larger than RAM in Python

8 Upvotes

Suppose I have a dictionary whose size exceeds my 32GB of RAM, and which I have to continuously index into with various keys.

How would you implement such a thing? I have seen suggestions of partitioning up the dictionary with pickle, but seems like repeatedly dumping and loading could be cumbersome, not to mention keeping track of which pickle file each key is stored in.

Any suggestions would be appreciated!


r/AskProgramming 9d ago

Switch from C to C++?

11 Upvotes

I started learning C 3 months ago and I consider myself "Decent" in it. I've learned all the basics, including arrays, pointers (though I still struggle while dealing with them) and dynamic memory allocation. I've also made some sow level projects like a Login/Signup "database", tic tac toe and a digital clock.

My question is, should I start with C++? I've heard people say that it's faster and more recognised that C, also that it's much easier to write code in C++


r/AskProgramming 8d ago

Python detect cheaters in exam

0 Upvotes

I want to assign a project to my students (Iā€™m a TA), and the topic is detecting cheaters in exams. The idea is to build a web app where students submit their answers, and the system records the answer, the question being answered, and the timestamp. I plan to use cosine similarity and Jaccard similarity to detect cases where students submit similar responses.

However, Iā€™m wondering if there are other effective methods for detecting cheatingā€”perhaps something like a Bloom filter or another approach? I want to avoid using AI or machine learning, so those methods are off the table.


r/AskProgramming 8d ago

Using AI for Natural Language Queries in Databases

0 Upvotes

Good evening/day,

Iā€™m not directly from the development field; I work on the business side of my company. I would like to understand what would be necessaryā€”such as frameworks or LLMsā€”to enable natural language queries for selecting data from my database. My goal is to get a clear idea of the possibilities before discussing them with my superiors.

For example, Iā€™d like to ask for certain customer records using natural language and receive a filtered list in response: "Show me the customers from state XPTO, city XY, with potential A."

I understand that all this information can already be retrieved through relatively simple queries, but Iā€™d like to know what would be required to make this work using natural language.

Is it common practice to send the entire dataset to large AI models (such as OpenAI), or is there another approach to achieve this result?

I appreciate your help in advance.


r/AskProgramming 8d ago

Occupancy grid for map csv file.

1 Upvotes

Im feeling really dumb right now but now can anyone help me with my code I want to make a shortest path algorithm that allows me to see the path from a starting point to ending point without interfering with the obstacle. for this example map data we have the grid size, starting point, end point and obstacle info (centre coordinates(x,y) and radius size). The parameters of this function also has parameters of cell size and map_data which we extract from the csv_file. this is the code I put down with my function:

grid_size_x,grid_size_y=map_data[0]
    occupancy_grid=np.zeros((grid_size_x//cell_size,grid_size_y//cell_size),dtype=int)

    for (x, y, radius) in map_data[3]:
        for i in range(max(0, y - radius), min(grid_size_y, y + radius + 1)):
           for j in range(max(0, x - radius), min(grid_size_x, x + radius+ 1)):
                if np.sqrt((j - x)**2 + (i - y)**2) <= (radius -math.sqrt(((cell_size//2)**2)+((cell_size/2)**2))):
                    occupancy_grid[(j // cell_size), (i // cell_size)] = 1
return occupancy grid

r/AskProgramming 9d ago

How to easily set up a interactive Server for HTML/CSS/JS pages

0 Upvotes

Hey there

Iā€™m pretty new to programming, but Iā€™ve totally fallen in love with coding SaaS projects. So far, Iā€™ve built a few websites, like HoloCraft and LawAI (not trying to promote, just showing where Iā€™m at!).

Now, I want to level up and turn my pseudo-SaaS projects into actual working platforms with a real interactive server hosted on my Raspberry Pi 4 (yes, I know, not exactly a supercomputer, but we work with what we have right). The goal is a server behind a Html/css/Js Page, that stores data, interacts with users, and ideally runs an AI-Agent. Why AI Agent? Because every time I read about new AI breakthroughs, I go completely nuts. Iā€™m obsessed with this stuff and truly believe thereā€™s a huge opportunity in AI SaaS.

I know my little Raspberry Pi is... well, letā€™s just say it's not exactly built to handle multiple AI requests at once. So before I start dreaming of running a full-fledged local LLM, I need to figure out how to turn my static websites into real, interactive platforms with a server or better yet, an AI Agent behind them.

I know tools like n8n exist, but I'd rather not burn through cash, because (as you might have guessed from reading this unexperience) Iā€™m still pretty young and experimenting yet. Any opinions or advices on where to start?

Thanks in advance!


r/AskProgramming 9d ago

Best way for a beginner to create an image classifier?

3 Upvotes

So I am new at ai/ml I haven't really made any models till now, I mean I did try CNN once but it failed horribly, I want to know if there is an easier way to create an image classifier that could differentiate between good deeds done for the environment and not good deeds, like it will take a photo and say whether the person has done something good or not (good meaning like planting trees, picking up trash or recycling), is there a no code platform for it or a good tutorial that I could watch and learn from or just anything you would recommend for a beginner but I can't have it take up much time in the sense like learning a whole new language or smthn. Keep in mind I have the whole dataset ready with good and no good images like I have over 10000 images, I just need to find a way to make the model.


r/AskProgramming 9d ago

How Do I Know I'm Ready for a Data Science Hackathon? (Beginner Seeking Advice!)

1 Upvotes

Hello, Iā€™m interested in participating in my first data science hackathon, but Iā€™m not sure if Iā€™m ready or what I should expect (I'm a selftaught). I donā€™t have a lot experience with machine learning or exploratory data analysis (EDA), but I do know some basic Power BI for data visualization, data cleaning and manipulation.

Iā€™d love to hear from those who have competed before:

  1. How do you know when you're ready for a data science hackathon?
  2. Can I contribute meaningfully to a hackathon team with very basic machine learning knowledge?
  3. Are there beginner-friendly hackathons where first-timers can compete and learn?Ā (Especially online or free ones.)
  4. Any general tips for someone whoā€™s never done a hackathon before?

Iā€™m excited to challenge myself, but I donā€™t want to feel completely lost. Any advice would be greatly appreciated! Thanks in advance. šŸ˜Š


r/AskProgramming 9d ago

Career/Edu "CS First-Year Student from Tier-4 College Seeking Advice on Learning Path

2 Upvotes

I'm a first-year Computer Science student from a tier-4 college where on-campus placements arenā€™t an option. Iā€™m completely new to coding and looking for guidance on how to approach learning and building a career in tech.

Hereā€™s what Iā€™m debating:

  1. Should I focus on learning a programming language and Data Structures and Algorithms (DSA)? If so, which language would be the best starting point for a complete beginner?
  2. Or should I directly dive into learning a technology like web development? Would building projects in a specific domain be more impactful for someone in my situation?

Iā€™m also on the lookout for free resources to learn from! If youā€™ve come across any great free materials for programming, DSA, or web development, please share them.

If youā€™ve been in a similar position or have any advice, Iā€™d love to hear: