/r/CodingHelp
Join our discord server: https://discord.gg/r-codinghelp-359760149683896320
1. FLAIR YOUR POSTS! Don't put tags in post titles!
2. Do not ask us to do all the coding for you unless you have money to spend. (If you have got money to spend, make that clear and the amount in question).
3. Do not post spam and/or misleading titles.
4. Do not be abusive to other coders.
5. Please format code properly, or use a site such as Gist or Pastebin. If possible please provide a live example of your issue.
6. Do not downvote people because you think they asked a dumb question. Just because you think that someone has a dumb question, doesn't mean that it is dumb to them.
7. Do not have a misleading user flair. Keep them sensible, describing your level of coding ability and/or languages you know and/or your profession.
8. Please do not ask unethical questions, such as asking for homework to be written by someone else, or asking someone to copy another project directly.
9. Make sure to follow the Reddit Rules.
Check our website https://codinghelp.site we have all the information you need there!
If you have any suggestions for flairs (programming languages or generic coding topics) that we should add, please use the button below to message the mods with your suggestion.
If approved as a sensible flair for the community to use, it will be added to our bot for automated suggestions and to the flair list for everyone to use!
Anyone who abuses this by spamming mods will be banned.
Green
Web Related Languages (Eg HTML, CSS)
Blue
App Related Languages (Eg Python, C#)
Red
Generic Coding Topics (Eg Open Source)
Yellow
Other Flairs (Eg Random, Meta)
/r/CodingHelp
Trying to build an application for class and I am struggling to find map APIs that are actually free. Currently building a travel type blog. Was hoping to see if anyone had any thoughts.
Hello all! I am currently looking for someone to collaborate with for coding projects. I have done quite a few projects in python and some in java but would prefer python for now (some projects are on github as i just started with gitbhub a few months ago). I think it would be a good experience while getting better at git if I had someone else to code with (please correct me if I'm wrong about this). I have a little under a year until I graduate and am trying to be "job ready". I have mainly done simple stuff and a some more complex codes but nothing spectacular yet.
I'm not entirely sure yet about what specific field I want to be in. I have done some simple software, a few games (one that is more complex on python), a few data manipulation scripts with graphs, I have also dabbled in machine learning but that seemed to loose my interest over time. I have done one or 2 ETL scripts which wasn't too bad and somewhat interested me. I have not done much front end work besides experimenting with website design for my portfolio and a couple of simple guis.
Things that interest me are science and astronomy and would love to make a cool program of some kind that involves scientific statistics. (Not star charts or weather trends as everyone else seems to do that and I'm trying to be as original as i can)
Practice makes perfect and im trying to take my practice to a different level lol.
What are some ways to build a desktop application that connects directly to a MS SQL Server database without requiring an external backend server? The app should be able to handle CRUD operations(some of which are limited to users with admin perms), and I’m looking for a solution that can be packaged as a standalone executable. Are there any frameworks or best practices that allow embedding both the frontend and backend within the application itself, while securely connecting to the database?
Is there also a way to create it using electron and have the backend in the app with the server credentials inside of it.
The app will only be used by a group of people.
I created this recreation of the "WDW Today" loop (https://www.youtube.com/watch?v=cjUbp7Z2C0Q) that plays on the TVs at the hotels in Disney World. Most of the assets were rendered in After Effects and put in OBS Studio to stream 24/7 on YouTube. But streaming it on OBS took too much bandwidth and computing power.
I have very little experience with coding, so I'm hopefully looking for someone to help me transfer the assets to some sort of website with the same functions as the OBS version (clock, updating weather, updating theme park hours, updating showtimes, etc) and then stream that to YouTube.
I'm currently working on a science fair project that would create a website where users could answer survey questions I got the website to work before but I tried to edit the code and haven't been able to get it to work since. I started on vs code where I got it to work before then on the second try it started telling me there was something wrong with my debugpy. So I tried do downgrade my Python and it stopped throwing the error code when I did but now it tells me that my debugpy wont spawn. I have also tried the code on replit and still, it won't work but it also won't tell me whats wrong.
Im a beginner to all of this and am teaching myself as I go along but everyone I've asked has no idea whats wrong with it. someone who has a lot of experience with Python please help me.
This is an open-ended question for all of you, and I genuinely want to hear your advice and thoughts.
Context: After dedicating more than 25 years of my life to coding, I’ve come to realize that it may no longer provide sufficient financial stability due to recent advancements in AI. Mark Zuckerberg mentioned on Joe Rogan’s podcast that AI is already replacing mid-level software engineers.
In this situation, what should I do as someone from a lower-middle-class background? Is there still hope for us? What are the alternative sources of wealth creation, and how can I upskill myself?
Update: I fixed it and I feel as silly as I expected I would. All I needed as a direct image link. After uploading the image through a different service and grabbing the direct link, all is working exactly as I'd like it too.
Hello all, I have spent six hours on this code, and am coming to you for help. I sincerely hope someone from across the internet is able to assist me with that I am positive is a simple fix.
I am an amateur coder at best. I wrote this code to use via google app scripts to send an email to respondents anytime they fill out a google form. It works perfectly, and formats exactly how I want it to on both pc and mobile - except for one thing.
I cannot seem to get our logo to appear on both mobile and pc emails. It works just fine on pc, but on mobile I get a question mark. I am hosting the image via google drive and using a shareable link. It is set to public.
When I try embedding the image inline, I lose my email background color. What I want is to be able to maintain the email background color and have the logo populate on both mobile and pc devices.
I hope this is achievable, and I am positive what I'm missing is simple, I just have not gotten it.
Code is below:
function onFormSubmit(e) {
// Log the event object and namedValues for debugging
Logger.log("Event object: " + JSON.stringify(e));
Logger.log("Named values: " + JSON.stringify(e.namedValues));
// Extract form responses
const name = e.namedValues["Your Name"] ? e.namedValues["Your Name"][0] : "Participant";
const email = e.namedValues["Email Address"] ? e.namedValues["Email Address"][0] : "";
if (!email) {
Logger.log("Email address is missing. No email sent.");
return;
}
// Email subject and course URL
const subject = "Welcome to our Course!";
const courseUrl = "enter course URL here";
// Email body without inline images
const message = `
<div style="font-family: Arial, sans-serif; color: #333; background-color: #f9f9f9; padding: 20px; border: 1px solid #ddd; border-radius: 10px;"><!-- Top Banner --><p style="text-align: center;"><img src="https://drive.google.com/uc?id=1sjesb00rYT-DKyFrHd8wyNh2kh4f0ECy" alt="HCE Banner Logo" style="max-width: 600px; width: 100%; height: auto; display: block; margin: 0 auto;"></p><!-- Greeting and Main Message --><p>Dear ${name},</p><p>Thank you for signing up for our course! We're excited to have you join us and look forward to supporting you through this journey.</p><!-- Call-to-Action Button --><p style="text-align: center; margin-top: 30px; margin-bottom: 30px;"><a href="${courseUrl}" style="background-color: #2a7ae2; color: white; padding: 10px 20px; font-size: 16px; text-decoration: none; border-radius: 5px; display: inline-block;">Access the HCE Certification Course</a>
</p><!-- Bookmarking Sentence --><p style="margin-bottom: 20px;">We recommend bookmarking the course page so you can easily access it at any time.</p><!-- Footer --><p>If you have any questions, feel free to reply to this email.</p><p>Welcome aboard!</p><p><em>- The Certification Team</em></p><p style="font-size: 12px; color: #666; text-align: center; margin-top: 40px;">© 2025 Course | <a href="https://example.com" style="color: #666; text-decoration: none;">Unsubscribe</a>
</p></div>`;
// Send email
MailApp.sendEmail({
to: email,
subject: subject,
htmlBody: message
});
Logger.log("Email sent successfully to: " + email);
}
I want to make an torrent client in c# and found certain librarys but no where to find how to use them anyone down to help me out? I only need to be able to upload torrent files and download torrent files
Hi all,
I am currently working on a project and i cant seem to understand why i keep getting this message: "Uncaught TypeError: Cannot read properties of undefined (reading 'toUpperCase')".
I have tried to look up different solutions as well as see if chatGPT can help, however, I am getting no where. Can you take a look at my code to see what went wrong within the decrypt function?
const
alphabet = "abcdefghijklmnopqrstuvwxyz";
function encrypt (message, shiftValue)
{
// To generate a random letter:
const
randomLetter = () => alphabet[Math.floor(Math.random() * alphabet.length)];
let
encryptedMessage= "";
for(
let
i = 0, nonAlphabetCount = 0; i < message.length; i++) {
const
char = message[i];
//Gets the current character
const
isAlphabet = alphabet.includes(char.toLowerCase());
// Checks to see if the character is part of the alphabet
}
if (isAlphabet) {
const
isUpperCase = char === char.toUpperCase();
//Sees if the character is uppercase
const
index = alphabet.indexOf(char.toLowerCase());
//Gets the index of the character in the alphabet
const
newIndex = (index + shiftValue) % alphabet.length;
//Calculates the shifted index
const
encryptedChar = alphabet[newIndex];
//Gives you the shifted character
//To convert the character back to uppercase if it was so in the original message
if (isUpperCase) {
encryptedMessage += encryptedChar.toUpperCase();
}
//If it was not, keep the character as lowercase
else {
encryptedMessage += encryptedChar;
}
//Add a random letter after every two alphabetical characters
if ((i - nonAlphabetCount + 1) % 2 === 0) {
encryptedMessage += randomLetter();
}
//If the character is not part of the alphabet, add it as is
else {
encryptedMessage += char;
nonAlphabetCount ++;
}
}
return
encryptedMessage;
}
function decrypt(message, shiftValue) {
const
alphabet = "abcdefghijklmnopqrstuvwxyz";
// Or however you define your alphabet
let
decryptedMessage = "";
let
skipCount = 0;
for (
let
i = 0; i < message.length; i++) {
const
char = message[i];
const
isUpperCase = char === char.toUpperCase();
//Check if character is uppercase
if (!alphabet.includes(char.toLowerCase())) {
// If the character is NOT in the alphabet, add it directly.
decryptedMessage += char;
}
else {
const
index = alphabet.indexOf(char.toLowerCase());
const
newIndex = (index - shiftValue + alphabet.length) % alphabet.length;
let
decryptedChar = alphabet[newIndex];
if (isUpperCase) {
decryptedChar = decryptedChar.toUpperCase();
}
decryptedMessage += decryptedChar;
}
skipCount++
}
return
decryptedMessage;
}
const
shiftValue = 42;
const
encryptedMessage = "Iueuan jrxuq cjythdykwxaj mixkqtaeml ebv wHenckvbkei rqdmt fHukckvi.r Jbxuihus, tmxayiwfuxh sjxau amenhtv 'zQkhhuubyjkit' yjew jhxux mxydatij. zJxmu hvymhihj ajel kldlsuyjb dyju yid uekdh qIbkqsxa xsxqqdvduzb wuqzhdoi qjxwu waueo xjem jfxuy dpuntj dgkvuiwj.";
const
decryptedMessage = decrypt(encryptedMessage, shiftValue);
I want to code a game that has platformer levels, think Legend of Dark Witch(3DS) and Pizza Tower, with boss fights that are bullet hells, like Touhou and Deltarune. For added context, I plan to have a victory screen with a time system, health ofc, and there are supposed to be 8 areas total.
What would be a good starting point? I have art down, I'm just rusty at code.
Hey Everyone! I'm building a POS system and am torn between using MERN, MEAN, or Laravel. I have some experience with JavaScript, but I'm also familiar with PHP.
If you've worked with any of these stacks for a POS project, or have insight on which would be most suitable, I'd love to hear your thoughts!
Also, if you have any course or tutorial recommendations specifically for learning POS system development, that would be much appreciated!
Thanks in advance!
I know this is more or a back-end coding group, but if anyone knows NVIVO I could really use help. Basically I have interview transcripts which I want to classify in different ways (by ABC). I want to be able to search for interviews that were AB, and BC or compete just B to just C, for their coded content. Is this possible? I’m trying all day!
heyo. literally first time doing this. I used youtube and chatgpt. I wanted to create a minecraft plugin for my server. I belive everything went well since no errors showed up managed to fix them. Im trying to run a command in cmd now to create the jar file for the plugin i belive. "mvn clean install" Then i get this problem ":\Users\NAME>mvn clean install
The JAVA_HOME environment variable is not defined correctly,
this environment variable is needed to run this program."
Before that i had this: [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6.290 s [INFO] Finished at: 2025-01-16T14:03:29+01:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile (default-compile) on project GambitPlugin: Compilation failure [ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? [ERROR] [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException: But Chatgpt gave me a fix so i ended up with the problem i mentioned at the start. What could be the problem?
i'm a college student, struggling with a very important assignment which requires me to code an entire interactive UI dashboard-type interface. can anyone please help me with that? DM for more info.
So this is going to sound kinda bad but I recently downloaded a game (off of steam) and want to play it on my Chromebook. The thing is, that Chromebook doesn't support most stream games. I've searched for tutorials, tried learning coding (very bad at it) and a bunch of other things but I still can't figure it out!!!
If someone knows how to solve this problem, please tell me!!!
I have just finished python basics, and started learning DSA, linear search and binary search. But i m not even able to solve div 4 questions, solve is far away, I'm not even understand the question well. So when to start participating in contest??
I want to learn coding I'm a grade 12 student in the Philippines and i want to learn about coding because IT is what i want in college
Hello so i'm learning to code and i'm doing this ramen rater project where all the ramen images load up. Is anyone willing to help me with this? Please and thank you.
Is there any pseudocode language with a syntax similar to this pseudocode: put(x, y), if condition do(action), and while condition do(action)? Looking for something with a similar structure especially for learning or teaching logic
I'm from a Tier 3 college currently doing a paid internship, I'm grateful for that internship because my peers didn't get any internship and they have to pay to get that internship certificate. When I use Linkedin I feel so overwhelming how good people are doing in their life and whereas me I feel like I'm nothing in front of them. I want to become a good engineer at a good company. Do you think I would be able to do it? Or you can atleast guide me how to do it??
#engineering #linkedin #internship #job #career
<head>
<title>Newton's Discoveries</title>
<style>
/\* Style for the header row \*/
th {
background-color: #5F9EA0; /* Header background color */
color: white;
padding: 10px;
}
/\* Style for table cells \*/
td {
padding: 8px;
text-align: left;
}
/\* Optional: Add some spacing around the table \*/
table {
width: 80%;
margin: auto;
border-collapse: collapse;
}
/\* Style for the first two rows with background color #a8149c (2nd and 4th rows) \*/
tr:nth-child(2) {
background-color: #a8149c;
}
tr:nth-child(4) {
background-color: #a8149c;
}
/\* Style for the remaining three rows with background color #9ca814 (3rd, 5th, and 6th rows) \*/
tr:nth-child(3) {
background-color: #9ca814;
}
tr:nth-child(5) {
background-color: #9ca814;
}
tr:nth-child(6) {
background-color: #9ca814;
}
</style>
</head>
<body>
<table border="1"><tr><th>Year Discovery Published</th><th>Discovery</th></tr><tr><td>1666</td><td>Claims nature can be explained mathematically</td></tr><tr><td>1671</td><td>Reflecting Telescope</td></tr><tr><td>1687</td><td>Three laws of motion</td></tr><tr><td>1693</td><td>Calculus</td></tr><tr><td>1704</td><td>White light is made up of different colors of light and can be refracted using a prism</td></tr></table><br><br><br><br>
<p>Sources:Jacob Silverman "How Isaac Newton Worked" 16 March 2009. <br>
HowStuffWorks.com. http://science.howstuffworks.com/dictionary/famous-scientists/physicists/isaac-newton.htm<br>
11 July 2017<br>
<br>Wikipedia contributors. "Newton's law of universal gravitation." <br>
Wikipedia, The Free Encyclopedia. Wikipedia, The Free Encyclopedia, <br>
4 Jul. 2017. <br>
Web. <br>
11 Jul. 2017<br>
</p></body>
</html>Why can't i access the foo variable here?
%%HTML
<script type="text/javascript">
IPython.notebook.kernel.execute("foo=11")
</script>
foo
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
Cell In[59], line 1
----> 1 foo
NameError: name 'foo' is not defined---------------------------------------------------------------------------
NameError Traceback (most recent call last)
Cell In[59], line 1
----> 1 foo
NameError: name 'foo' is not defined
I’m working on some animation projects in Stick Nodes Pro and aiming for a more cinematic feel, ideally something closer to IMAX 1.43:1 and even 8K resolution. The problem is that Stick Nodes seems pretty limited in how it handles aspect ratios and export options.
Here’s the situation:
I’m hoping to figure out a way to:
I’ve tried decompiling the app with ApkTool, but locating the right part of the code to change these settings has been challenging, and getting it recompiled and signed is another hurdle.
If anyone knows how to approach this or has experience modding mobile apps like this, I’d appreciate your advice. Myself, I'm not good with coding.
Hi everyone,
I’m working on a project to create a mesh network with several Arduino Nanos and one main Raspberry Pi. The goal is to collect data from all the Arduino nodes, send it to the RPi, and then relay it to a server over the internet.
Here’s my current idea:
1. The RPi will store the unique IDs of all Arduino nodes.
2. When an Arduino boots, it will send a message to the RPi to indicate it’s operational.
• If the RPi receives the message directly, it will acknowledge the Arduino and mark it as directly accessible.
• If the RPi doesn’t respond, the Arduino will ask other Arduinos to relay its presence to the RPi.
3. This way, the RPi will know how to reach each Arduino, even if it requires multiple hops through other Arduinos.
4. I plan to add collision prevention to avoid message conflicts.
I’m wondering:
• Is this approach too complicated for what I’m trying to achieve?
• How should I handle collision prevention effectively?
I’m a front-end developer, so I’ve never tackled something like this before. Any advice or suggestions are greatly appreciated!
Let's say if i wanted to make a simple bot for my Instagram which would do a basic task- Whenever any reels gets shared in one particular group, it opens it, likes it and shares it to another person. Just wanted to know what languages or software would be required to build something like this ...and how much effort. Thank you to everyone for helping.
I tried several years ago with a Chromebook and it was a nightmare
SyntaxError: invalid or unexpected token
at wrapSfae (node:internal/modules/cjs/loader:1512:18)
at Module._compile (noce:internal/modles/cjs/loader:1534:20)
at Object..js (node:internal/modules/cjs/loader:1699:10)
at Module.load (node:internal/modules/cjs/loader:1699:10)
at Function._load (node:internal/modules/cjs/loader:1123:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:170:5)
at node:internal/main/run_main_module:36:49
I'm trying to make a messaging app. Originally, this error message wasn't showing, but the app wasn't opening up so I changed the port number. That's when this error message occurred. I then changed the port number back to its original number, but the error message stayed. The code looks correct. I can't figure out what the issue is.
I Have A .exe File That Is Protected With VMProtect. Its a Cheat Table And Its Loaded Through C++. i cannot find any youtube videos or github apps that actually help me unpack the protection. everything is through dnspy and my exe file doesnt run through there. anyone got any ideas on how to unpack vmprotect? (the app has anti-Debug)
fx_version 'cerulean'
game 'gta5'
author 'Jacobmaate'
description 'FIB Police (FIBP) Pack'
version 'v3.03'
files {
'data/vehicles.meta',
'data/carvariations.meta',
'data/carcols.meta',
'data/handling.meta',
'data/dlctext.meta',
'data/vehiclelayouts.meta',
'data/jmfibpolice_game.dat151.rel',
'data/buffaloac_sounds.dat54.rel',
}
data_file 'HANDLING_FILE' 'data/handling.meta'
data_file 'VEHICLE_METADATA_FILE' 'data/vehicles.meta'
data_file 'CARCOLS_FILE' 'data/carcols.meta'
data_file 'VEHICLE_VARIATION_FILE' 'data/carvariations.meta'
data_file 'DLC_TEXT_FILE' 'data/dlctext.meta'
data_file 'VEHICLE_LAYOUTS_FILE' 'data/vehiclelayouts.meta'
data_file 'AUDIO_GAMEDATA' 'data/jmfibpolice_game.dat'
data_file 'AUDIO_SOUNDDATA' 'data/buffaloac_sounds.dat'
client_script 'vehicle_names.lua'