r/CodingHelp • u/CDNEmpire • Dec 23 '25
[How to] How is something like this glass effect coded?
I like the glass effect seen at the bottom edges. How would something like this be coded? Can it be done via HTML/JS/CSS or even python?
r/CodingHelp • u/CDNEmpire • Dec 23 '25
I like the glass effect seen at the bottom edges. How would something like this be coded? Can it be done via HTML/JS/CSS or even python?
r/CodingHelp • u/jack_482 • Dec 23 '25
I keep getting these types of errors whenever I try to use pip in VS code, please help 🙏. I received the following error when I enter "pip install pillow" into the terminal:
pip : The term 'pip' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ pip install pillow
+ ~~~
+ CategoryInfo : ObjectNotFound: (pip:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
r/CodingHelp • u/G0LDm • Dec 22 '25
I I want to make an app that shows the thoughts of people sort of bubbles depending on how recent they are. It is shared while also shows the nickname of someone, which language should I use? And how do I make it stay online should I need a server?
r/CodingHelp • u/awsfhie2 • Dec 22 '25
Thanks in advance for the help!
I'm attempting to put together an experiment for my lab using builder mode, but I'm having a ton of trouble figuring things out. I want to basically use psychopy to time various tasks and communicate with a recording device we have so it can insert timestamps into that data so we know when various events have occurred.
What I'm doing isn't so important for this post, mostly I am looking for resources which will help me understand:
I've been all over the discourse site looking at others' questions, I've made multiple stroop tasks with youtube demos, and have also used psychopy's doc. The youtube demos don't cover what I want but the psychopy doc assumes a level of background knowledge I don't have.
I don't know python, but have coding experience with R and matlab including looping and conditional statements.
Edit: another thing that would be useful would be how to find more info on errors. For example as I am trying and failing to run one of my routines I get the error "routine is not defined" however there are multiple modules in this routine, it would be great to have some sense of where to start to find the error, especially for a novice like me.
r/CodingHelp • u/MIUPUNKYPIXIE82 • Dec 21 '25
this is a game called crossroads, our current coder left and we need another one to help us or else our game is not gonna be uploaded, we need someone who is at least good at making characters walk, attack and stuff..
If u are interested please just dm me
This is also a friendly community, we can chat and have fun in calls
If u are interested in being one of the team i suggest adding my discord: byebye_2night
r/CodingHelp • u/techienthu • Dec 21 '25
Hi Reddit,
I'm building an iOS app and want to integrate neural TTS into it. Obviously, the Siri voices are available, but they sound too robotic.
I researched and found puter.js as a free, (basically) unlimited TTS api that has ElevenLabs, OpenAI, AWS... I want to know how to use those inside swift without needing to deploy a node.js server or something.
Any help would be appreciated.
r/CodingHelp • u/KirlyQ • Dec 21 '25
I want to preface this by saying that I am not a programmer and frankly don't know the first thing about coding. If this is not the place to ask for this sort of thing, or if I misunderstood rule 3, I genuinely apologize.
That said, this is what I'm looking for;
I recently found a program called Morshutalk, a pseudo-text to speech program that takes messages and relays them using only soundbytes spoken by the character Morshu from the game Link: The Faces of Evil. I found this program amusing, and it gave me the idea to create a redeem for my Twitch stream where, when redeemed, a message sent by the redeemer would be sent to Morshutalk, and then play on stream. Ideally, I'd also like this event to trigger the source in OBS to appear upon redemption, and disappear upon completion of the message. Though, I'd be okay with even just the audio coming through, honestly.
I did some basic googling to see if I could find a program that did this and then figure out how to get it sent to Morshutalk, but I was unable to find one. To be fair, I may not have known the proper terminology needed to locate something like that. If you know of an existing program that could achieve what I'm looking for, I'd be happy to be pointed in the right direction!
Thanks for any help that could be given, and I greatly apologize for any amateurish wording.
r/CodingHelp • u/Repulsive-Public4126 • Dec 20 '25
Hello to the CodingHelp Community,
I have an idea for a project that i'm wanting to work on however would need some advice on a few flaws.
My idea is to be able to remotely connect to a drone and well, the most obvious problem that came over me was how to keep the drone on an internet connection, whilst being able to cover a distance of 150m.
My first thought was to use sim cards for cellular data however would that interfere with remote access, since i would want to be able to control it over network.
If this is stupid then i do apologise...
r/CodingHelp • u/BirthdayFew1908 • Dec 20 '25
(Not entirely sure if this is the right sub to post this question on, but I’ve been searching for subreddits for like an hour now and I couldn’t find anything more relevant)
Kano world was a coding site that was started around ten years ago, where they had beginner-friendly tutorials for learning how to code games and art as well as a pretty tight-knit community where you could share what you coded. I’m wondering if anyone remembers this site/was a part of the community? The community was taken down in around 2023 due to the company being in debt I think, and there’s no way of contacting anyone that I knew from that site.
Any help of any sort would be very much appreciated. I’m sorry if this post doesn’t fit the subreddit well enough - if anyone can recommend a good sub to post this query on, that would be appreciated as well. Thank you :)
r/CodingHelp • u/Stormz_Real • Dec 20 '25
r/CodingHelp • u/Subject-Village5693 • Dec 20 '25
it's at the drop-shadow bit
r/CodingHelp • u/_lazyLambda • Dec 19 '25
r/CodingHelp • u/Unlucky-Assistant870 • Dec 18 '25
r/CodingHelp • u/Additional-Leg-7403 • Dec 18 '25
r/CodingHelp • u/Difficult_Pain6821 • Dec 17 '25
I'm trying to get into coding and have no idea what im doing wrong. all the youtube videos I go to are from like 3 years ago to 6 years ago, so as helpful as they are I feel maybe they are outdated? Please help.
r/CodingHelp • u/dubex115 • Dec 17 '25
Im very new to programming and picked C++ as my first language since It seemed appealing to me and when i tried doing something as simple as printing hello world in Visual studio it spat out those error messages and I do not know how to fix them any help would be appreciated
r/CodingHelp • u/sam_3104 • Dec 16 '25
Hi everyone, I’m a B.Tech student preparing for placements and currently focusing on DSA. I really like Striver’s teaching style and roadmap, but I’m not in a financial position right now to afford the paid course.
I’m looking for free or low-cost alternatives that can give similar structured DSA preparation (arrays → strings → recursion → DP → graphs, etc.).
I’m already aware of:
Striver’s free YouTube videos
Love Babbar 450 sheet
NeetCode (some free content)
If anyone has followed a free roadmap, GitHub repo, YouTube playlist, or combination of resources that worked well for them, please share. Any advice from seniors who cracked placements without paid courses would really help.
Thanks in advance.
r/CodingHelp • u/Moon401kReady • Dec 15 '25
Just to give some context, I’m a junior who recently switched my major from business to data science. I’m currently looking for a data scientist/data analyst internship for the summer, but my resume doesn’t have any relevant experience yet. Since I’m an international student, most of my work experience comes from on-campus jobs and volunteering, which aren’t related to the field.
With the free time I have over winter break, I plan to build a Python project to include on my resume and make it more relevant. This semester, I took an intro to Python programming course and learned the basics. Over the break, I also plan to watch YouTube videos to get into more advanced topics.
After brainstorming project ideas with Chatgpt, I’m interested in either building a stock analyzer using APIs or an expense tracker that works with CSV files. I know I’m late to programming, and I understand that practicing consistently is the only way to catch up.
I’d really appreciate any advice on how to approach and complete a project like this, suggestions on which idea might be better, or any other project ideas that could be more interesting and appealing to recruiters. I’m also open to hearing about entirely different approaches that could help me stand out or at least not fall behind when applying for internships.
r/CodingHelp • u/NailedOn • Dec 14 '25
r/CodingHelp • u/Ok_Day6345 • Dec 14 '25
Hello! I'm creating a web using HTML, CSS, Node.js and MySQL(and express ejs). I don't know any of these that in depth but my teacher is expecting a web design this week.
I'm getting stuck on this part; I want my /add route to register new users into my database but even though all fields' values are being read and taken, they are not being inserted into the database. Or even it is not going past the line where it checks if all fields are filled and i can submit empty forms. please help me.
this is my in my app.js(my main js):
app.post('/add', async (req, res) => {
console.log('POST /add was hit!');
const { role } = req.body;
console.log('ROLE:', role);
if (role == 'buyer') {
try {const { name, email, phone_num, location, password } = req.body;
console.log('req.body →', req.body);
if (!name || !email || !password || !phone_num || !location) {
return res.status(400).send('All fields are required');}
const [existingBuyer] = await promisePool.query(
'SELECT * FROM buyers_input WHERE email = ?',
[email]);
if (existingBuyer.length>0) {
return res.send('User already exists');}
const hashedPassword = await bcrypt.hash(password, 10);
console.log('existingBuyer length:', existingBuyer.length);
const [result] = await promisePool.query(
'INSERT INTO buyers_input (name, email, phone_num, location, password) VALUES (?, ?, ?, ?, ?)',
[name, email, phone_num, location, hashedPassword]);
console.log('INSERT successful! InsertId:', result.insertId);
} catch (error) {
console.error('ERROR during registration:', error.message);
console.error(error.stack);
res.status(500).send('Database error');
}
res.redirect('/');
} else if (role == 'seller') {
try {
const { name, email, phone_num, location, password } = req.body;
console.log('req.body →', req.body);
if ([name, email, password, phone_num, location].some(v => !v || !v.trim())) {
return res.status(400).send('All fields are required');}
const [existingSeller] = await promisePool.query(
'SELECT * FROM seller_input WHERE emails = ?',
[email]);
console.log('existingSeller length:', existingSeller.length);
if (existingSeller.length>0) {
return res.send('Account already created!');}
const hashedPassword = await bcrypt.hash(password, 10);
console.log('ABOUT TO INSERT SELLER');
const [result] = await promisePool.query(
'INSERT INTO seller_input (company_name, emails, phone_num, location, password) VALUES (?, ?, ?, ?, ?)',
[name, email, phone_num, location, hashedPassword]);
console.log('INSERT successful! InsertId:', result.insertId);
res.redirect('/');
} catch (error) {
console.error('ERROR during registration:', error.message);
console.error(error.stack);
res.status(500).send('Database error');
}
}
});and this is in my html:
<script src="app.js"></script>
<script>
document.querySelector('form').addEventListener('submit', async (e) => {
e.preventDefault();
const role = document.getElementById('role').value;
const name = document.getElementById('name').value;
const email = document.getElementById('email').value;
const phone_num = document.getElementById('phone_num').value;
const password = document.getElementById('password').value;
const location = document.getElementById('location').value;
await fetch('/add', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ role, name, email, phone_num, password,})
});
alert('Form submitted!');
});
</script>is this an issue to do if else if statement inside app.post?
r/CodingHelp • u/Leading_Blood_7151 • Dec 14 '25
I’m building a custom dispatching system (Node.js/Firebase) for a field service business (garage door repair). I’m using VROOM (OpenRouteService) for the routing optimization.
The Context:
We have technicians starting from home (Van Nuys, CA).
Jobs are scattered across LA (e.g., Castaic in the North, Encino in the South).
We have overlapping time windows: 8am–2pm (Urgent/Morning), 9am–4pm (Standard), 12pm–6pm (Late).
The Problem:
My algorithm optimizes for Total Mileage, and mathematically, it wins. It finds routes that are 3–4 miles shorter than what our human dispatcher creates.
BUT, the routes look "crazy" to a human.
\*The Human Route: Drives to the furthest job North (Castaic, 8am–2pm) first to get it out of the way, then sweeps South linearly. Simple, low risk.
\*The Algorithm Route: Sees that the 8am job can technically be done at 11:30am. It skips the deep North drive, does 3 jobs in the middle, zig-zags North later, then comes back South.
Result: It saves 0.5 miles but creates a high-risk schedule where one delay ruins the day. The dispatcher refuses to use it.
What I've Tried:
The Question:
How do you mathematically model "Directional Flow" or "Morning Gravity"?
I don't just want the shortest path. I want the path that "feels" safest to a human (e.g., "Do the furthest/hardest constraint job first," or "Once you head North, stay North until you're done").
Is there a standard penalty or cost function for "backtracking" or "time-slot risk" that I can inject into a TSP/VRP solver? Or should I ditch the solver and write a custom insertion heuristic?
Any advice is appreciated. I need to get this reliable enough to replace a human who has 20 years of "gut feeling."
r/CodingHelp • u/thedomimomi • Dec 14 '25
Hello - this is going to look like a really dumb and basic question, but I didn't know where else to ask it.
I'm trying to delete multiple files (by name) within a directory. I managed to make a .bat file that does this successfully (e.g."del file01.nif"), however I have to manually go into every folder, paste the .bat file, run it, then go into the next folder etc. It doesn't delete recursively, just the folder it's pasted in.
I have searched and tried several different methods to get it to delete recursively but none of them seem to work. I'm only trying to delete the files with the specific names listed (not the whole folder or file type).
Is there a way to make it so the batch file can be pasted in the root folder and then delete all the listed files recursively?
(Sorry mods for listing this as HTML but I wasn't sure which flair to use)