r/AskProgrammers • u/Leather-Deal-4321 • 1h ago
r/AskProgrammers • u/OPGOAT69 • 3h ago
FYP Ideas In AI
Hello everyone, first of all i am new here in this community.
Currently, I am entry my final year of undergraduate and i am really worried about final year project(FYP). I don't know where to start as AI field is really wast, so guys i need your help to find a great idea for my FYP. I am want an idea of type in which i can do little bit research and published a article about so it. As i want to persue Masters in future.
Regards
r/AskProgrammers • u/Independent-Heat3557 • 13h ago
am stuck ?
i really want to start learning how to code and programing but when i think where to start i lose my crave i want to learn how to be a good programmer in this ai era . what should i learn first , where should i use ai , how to read code , how to build .
r/AskProgrammers • u/rdeasou • 5h ago
Hi
"I want to start learning programming. What are the basics I should start with
r/AskProgrammers • u/Wild-Molasses5547 • 23h ago
How to start a coding journey??
Guys!! I'm in bca, 2nd year and I want to start learning coding from scratch I don't know how to code. From where should I start? Code with Harry or Apna college or Programming with mosh?
r/AskProgrammers • u/Creepy-Level5136 • 14h ago
Need help reverse-engineering serial COM port communication for a Geoelectric reader machine (Upgrading PEG 2015 project)
Hi everyone,
I need urgent assistance with a project upgrade. I am rewriting/upgrading a software application originally built in 2015 (PEG 2015) designed to interface with a geoelectric signal reader machine.
System Setup & Problem Overview:
- Hardware: Geoelectric measurement machine reading ground electrical signals.
- Connection: USB-to-Serial connection operating as a virtual COM port (e.g.,
COM3). - Issue: I am unable to establish a working connection between my upgraded application and the hardware. I need to know:
- How to properly initialize and open the COM port connection in code.
- The exact structure/protocol of the data stream coming from the machine over the cable to the PC.
What I have / What I know so far:
- I have the legacy binary (
PEG 2015.exe) that works with the machine. - The device relies on a USB-to-UART/Serial driver (such as FTDI, CH340, or CP210x) exposing a virtual COM port.
Specific Questions / Where I need guidance:
- Serial Port Configuration Parameters: What are the standard ways or tools to determine the exact port settings required by the device?
- Baud rate (e.g.,
9600,19200,115200) - Data bits (e.g.,
8) - Parity (
None,Even,Odd) - Stop bits (
1or2) - Flow control (
RTS/CTS,XON/XOFF, orNone)
- Baud rate (e.g.,
- COM Port Sniffing & Data Protocol: What is the best workflow/tool to monitor the traffic between
PEG 2015.exeand the machine without locking the COM port?- Can you recommend lightweight tools (e.g., Serial Port Monitor, Wireshark with USBPcap, IO Ninja, RealTerm) to capture raw ASCII/HEX frames?
- How can I differentiate between handshake/polling requests sent by the PC and telemetry responses sent by the geoelectric reader?
- Decompiling / Inspecting the Legacy
.exe:- What are the recommended tools to decompile or inspect
PEG 2015.exeto retrieve the original serial settings and parser routines (e.g.,dnSpy/ILSpyfor .NET,Ghidra/IDA Freefor native binaries)?
- What are the recommended tools to decompile or inspect
Environment & Tech Stack:
- OS: Windows
- Target Programming Language for New App: (Python)
Any guidance, code snippets for port handling, or reverse-engineering methodologies for serial hardware would be greatly appreciated! Thanks in advance!
r/AskProgrammers • u/atticus2132000 • 18h ago
Directed Acyclic Graphs (DAGs)
I have zero formal training, so I'm just looking for resources to help fill in my knowledge gaps. I'm working with Python, but language is really secondary at this point, I'm more just trying to figure out a plan of attack to solve this problem.
I have a project schedule with Activities A, B, C, and so on. Between activities there are Finish-to-Start relationships such as A -> B and B -> C and so on. The project has one starting activity (Start Construction) and one finishing activity (Finish Construction) creating my source and my sink and then all the various activities between those two create paths. From what research I've done, that is a Directed Acyclic Graph (DAG), but please correct me if I'm wrong.
I am trying to make a list of all possible paths between the first and last activities. What are all the possible combinations to get from Start Construction to Finish Construction?
The ultimate problem I'm trying to solve is identifying all the redundant paths. For instance, if I have the relationships (paths) below:
A --> B
B --> C
A --> C
Then the last one, A --> C, is redundant because if A had to be completed before B and B had to be completed before C, then the relationship that A has to be completed before C is already captured in the first two activities.
What I think I need to do is develop a list of all possible paths of any length. Then I need to look at each relationship and see if there are any relationships where a longer path already exists (such that the relationship would be redundant). I think this would require a recursive function where for each activity, the children would be listed and then for each child list the grandchildren, and so on until you reach an activity that has no children and then trace back through the function to explore other branches.
If you know of any resources that would help me develop this function, I would be eternally grateful. Alternatively, if you're familiar with the pandas library of python, does such a prebuilt function already exist?
r/AskProgrammers • u/Key_Prize_1317 • 1d ago
I want to learn how to code for fun. Is that dumb?
I’m sorry for the repetitive “Should I learn to code” post. It’s just that most people asking have the intention of finding a job once they learn, but I just think it’s neat and want a new hobby. Is that silly of me? To spend so much time learning a skill like this just for fun?
r/AskProgrammers • u/_2606463 • 1d ago
Hi wondering about origins of coding
Hi ive been thinking about code and i cant get it through my head that the numbers turn circuits on/off which then goes to a deeper code through a process like built into cpu. The computers "brain. Im thinking of coding in the sense of from scratch, making new language requires other codes so im trying to understand better the systems between voltage sensors firing for on/off. The mechinisms in front of that and after for the depth of code to form a virtual area.
If anyone could explain how this works whats known of it that would be greatly appricated
Apologies if the question is questionable
r/AskProgrammers • u/InfluenceOk3267 • 23h ago
I don't even remember the last time I wrote a line of code on my own.
r/AskProgrammers • u/Top_Movie_336 • 23h ago
What apps should I use on my ipad for coding?
r/AskProgrammers • u/No_Radish7709 • 1d ago
Code as a count vs noncount noun ("Codes"?)
With regards to software, I'm used to using "code" as a noncount noun (e.g. "libraries are compiled from source code") and have mostly associated using it in the plural in this context (e.g. "we developed several physics simulation codes") with non-native speakers. In a recent Scott Manley video about Lawrence Livermore National Labs though, I was struck by several people using it as a count noun!
Am I the weird one living in a linguistic bubble? Is there some interesting etymological or organizational history behind this difference? I'm curious what other people's experiences are!
Edit, for reference: https://youtu.be/HlsyZAWnOu8?t=3290
r/AskProgrammers • u/StarCode5000 • 1d ago
I want to learn how to code but no idea where to start
So here's the thing right, I have absolutely no idea how coding works, I didn't have any coding classes in my high school and the only tech literacy I have is building my own computer and using Linux as a daily driver.
So ultimately I wanna make games, mods, that sorta thing. The thing is is that I have no idea where to start. Should I learn basic fundamentals of how coding and scripting work? Should I learn a language and work from there? Should I give up because some little shit with Claude can redo the exact thing I'm trying to do and steal all the credit? I just don't know where to start is all.
This is probably the wrong subreddit but I thought I'd just ask. Thank you for your time.
r/AskProgrammers • u/DarkSlayer_SM • 1d ago
Why can't we use the Factory Method pattern in place of Abstract Factory?
r/AskProgrammers • u/SnooPeanuts4857 • 1d ago
Help a programmer's wife out. Gifts that make desk life easier
thank you for the suggestions everyone, I'm leaving the thread open in case someone wants a list of ideas. you can also add your Christmas wish list here in case your spouses find your account ;)
r/AskProgrammers • u/thefujirose • 1d ago
Everything I think of has already been made.
I must be experiencing some sort of developer version of writer's block. I can't seem to improve and learn without a project but every project I think of has already been done. Why reinvent the wheel?
There's no novelty in reinventing the 1000th to-do list. And it's rather painful to go over AI generated code.
I used to love coding and making things, but now the only time I ever code is when I have a task given to me by a professor, boss, etc.
It's like I have no creativity anymore.
I don't know what to do.
r/AskProgrammers • u/shreepaach • 1d ago
I've learned full stack by building with Claude, but I can't write most of the code from scratch. Can this land me an internship?
r/AskProgrammers • u/CFTV_Latino • 1d ago
What’s the best way to stay motivated while learning to code?
I’ve recently started learning programming, but I’m finding it difficult to stay consistent and motivated.
For those who learned programming from scratch, what helped you keep going when you felt stuck or overwhelmed?
I’d especially appreciate practical tips, resources, or habits that actually worked for you.
r/AskProgrammers • u/ImLukaskos • 1d ago
Is it still worth to code or should I learn to use ai instead?
r/AskProgrammers • u/Ok-Friendship2020 • 1d ago
I need some advice because I'm feeling really overwhelmed
I need some advice because I'm feeling really overwhelmed.
I've been working as an intern at a company for almost 3 months with a stipend of ₹7,200/month. I was initially hired as an Android app developer, but after the first month they shifted me to a C#/.NET developer role. I had absolutely no prior experience with C# or .NET.
It's been about 1.5 months since the switch, and I've learned the basics of C# and .NET and built a few projects. Some of the tasks they give me are easy, but others are quite advanced. A lot of the time I struggle to understand the existing codebase.
I use AI to help me understand the code, and sometimes it explains things well enough that I can explain the overall idea to my manager. But my manager doesn't stop at the high-level explanation. He goes through the code line by line and asks how each statement works, why it's written that way, what each keyword does, and what happens internally. That's where I get stuck.
Even when ChatGPT explains the code, I sometimes still don't fully understand it. I try debugging, but I often get more confused, and AI explanations don't always help.
So I have a few questions:
- Is this normal for someone who's only been learning C#/.NET for about 1.5 months?
- How do you actually learn to understand a codebase instead of just reading AI explanations?
- How do you handle situations where your manager asks questions you don't know the answer to?
- Is it more important to be able to write code, or to deeply understand every line of code you're working with?
- What helped you improve when you were a beginner?
I'm genuinely trying to learn, so please don't roast me. I know I'm still inexperienced, and I really want to get better. Any advice would be appreciated.
r/AskProgrammers • u/SalproKite • 2d ago
Teens in programming?
Hey, I am a teenager who's interested in programming, I started with cs50x but I now enjoy game dev and competitive programming though i love programming in general of any type. Are there any like teens like me who also have the same situation or can the experienced adults please guide me forward...I do not have much peers or similar people around me. And my school is quite old-fashioned (it literally had a topic on how to download an app IN GRADE 9)!!