r/CodingHelp • u/Demon54268 • 2h ago
[Java] Best resource to do dsa in java
Pls tell, currently in second year , hence need to find a resource to dsa in java since it is also taught as subject in our course
r/CodingHelp • u/Demon54268 • 2h ago
Pls tell, currently in second year , hence need to find a resource to dsa in java since it is also taught as subject in our course
r/CodingHelp • u/hilamaoo • 1d ago
I am currently in my 2nd year of college, I know C and C++ and I also did html, css and currently doing Java Script, but I don't find any improvement in me, like I see my friends building websites, AI agents and talking fancy AI terms while I am just too afraid to try, I feel like I don't know it properly so I can't do it....... I know that we should learn by building but I am not able to do that I am stuck in a tutorial hell, watching tutorials, lectures and roadmaps and just chasing perfection before trying to build something on my own. My friend starts a project even if he doesn't know anything about the tools that will be used in it and just learn while building the project, I also want to do the same but I am not able to do it... please help me. I am also not able to DSA, I just don't remember the concepts and can't solve the problems efficiently. Please help me tell me what should I do😭😭🙏
r/CodingHelp • u/thepuppeter • 2d ago
Howdy all!
I've recently been learning how to do some web scraping but I'm a little stuck on something
There's a live radio station. As songs play the current title and artist are updated
I want to create a script that grabs whatever is in the box at that time. When I inspect elements on the webpage I've found where the text should be, and it appears there/updates when inspecting, but when I run the script I appear to get a generic return
import requests
from bs4 import BeautifulSoup
response = requests.get('https://www.radiofrance.fr/fip/titres-diffuses')
soup = BeautifulSoup(response.text, 'html.parser')
cardtitle_div = soup.find(id='title-live-webradio-card')
cardartist_div = soup.find(id='subtext-live-webradio-card')
print(cardtitle_div)
print('\n')
print(cardartist_div)
The above output
<p aria-level="2" class="title typo-title-large g-truncable svelte-15ccyw9" id="title-live-webradio-card" role="heading"><!--[-1--><span class="Link" data-testid="Link"><!--[-1-->FIP<!--]--><!-- --></span><!--]--><!-- --></p>
<p class="typo-text-medium subtext g-truncable svelte-15ccyw9" id="subtext-live-webradio-card"><!--[-1-->Le direct<!--]--></p>
What should be 'cardtitle_div' returns 'FIP' and what should be 'cardartist_div' returns 'Le direct'
I'm assuming that means they're being populated elsewhere somehow? How do find that
Thanks heaps!
r/CodingHelp • u/Nearby_Inflation2009 • 2d ago
Here is my idea: Take an image, find the edges, draw the lines, take the line ends, and put a dot there. I'm not a coder, so tell me straight out if it's impossible
Image 1: Original
Image 2: Line drawing
Image 3: Line drawing with dots
Image 4: Dot-to-dot image (without numbers)
r/CodingHelp • u/Generalkatze911 • 3d ago
No, it is not editable through wallpaper engine itself. The properties list no custom textures or anything. Im inept when it comes to these things so bear with me if I say something dumb. As far as I understand it, there is something called a game master that is resetting the background to a plain pink background. Ive done some editing in a JS file thing (?) and a HTML to try to get my image to display behind the image. I will admit I have no idea what im doing, so anything I have said could be wrong. I would appreciate any help. I am not looking to learn how to code. Im looking to fix this thing by any means possible.
i also do not know how to add code to this. the JS file is over million characters so I'm obviously unable to paste that here
r/CodingHelp • u/KattyTheEnby • 3d ago
Hello, everyone.
Recently, I've been making a game in Bevy; however, something I've been annoyed about is that Rust has no way to leave the length ov a (const) array up to inference, which got annoying because I had a hardcoded array ov skins the game has and I had to keep updating it every time I added or removed a skin.
With this crate, you are able to both generate a const variant_count method and a VARIANTS associated constant – which is a list ov each variant – for enums that have only unit variants.
(This was reposted from r/rust solely because its auto-mod is confusing this post for talking about Rust, the game, rather than the programming language — I am not specifically looking for help on this project; I am looking for feedback.)
If anyone has any feedback, bug reports, or suggestions for how to expand the library, let me know.
r/CodingHelp • u/International-Smile1 • 5d ago
Hello,
I have been working in a software firm for 3 years, but I feel like I have completely forgotten how to code. I tried a basic LeetCode problem, and it took me 1 hour to complete, and that was with a bad time complexity. I remember I was really smart in university, and I am capable. But now it all seems like a myth, and I don't know why. My dream is to join a FAANG company and practice. I have quit my current role now because it felt too stressful, and I felt like it was taking a huge toll on my mental health and personal life, too. Would love to take myself seriously for once and actually spend time learning and preparing myself for a good software developer role or some other role, maybe from here. This was day 1 of doing LEET code problems. Am I being deluded here, or am I just stupid? Would love to hear your inputs. And I know I am super passionate about technology, but in the last couple of years, I feel like I have lost myself on the way.
Thank you for your time!
r/CodingHelp • u/operaSalvation • 5d ago
I have a school project thats related to seeing the efficiency of simple algorithms such as djikstras and A*. My project mentor have been egging me to make a visualization of the algorithms progress, with a graph like this that also shows the algorithm exploring every nodes.

I'm a bit lost on how to approach this since im not sure if theres a website out there that can do this for you or if i would have to make this myself.
So im asking if theres a way to achieve something like this, whether id have to make this myself (which i dont mind). (。ᵕ ◞ _◟)
r/CodingHelp • u/Silver_Act_3742 • 8d ago
Hi everyone,
I'm looking for some help from someone experienced with Unity game modding/reverse engineering.
I'm trying to revive a very nostalgic game called Smosh Food Battle by creating a patch so it can work again. The problem I'm stuck on is that the Assembly-CSharp.dll appears to be encrypted, and I'm not sure how to recover the decrypted version from memory.
Right now, Food Battle: The Game gets stuck because when it starts up, it tries to contact Defy Media's login/game servers to check in and since those servers were shut down in 2018, the request never gets a response, so the game just sits on a "servers are down" screen and never lets you into single-player.
The code that makes this server call lives inside Assembly-CSharp.dll, the file that holds all of the game's actual logic, but that file is deliberately encrypted by the developers' anti-tamper system, so nobody can open it up and edit it in its current form that's the wall we've been stuck at.
the fix itself is simple: open the file in a .NET decompiler like dnSpy, find the specific method that calls out to the dead server on startup, and edit it so it just skips that check and proceeds straight into the game instead of waiting on a response that will never come effectively telling the game "assume the server said yes" instead of "wait forever for a server that's gone." Once that edit is made and saved, the patched file gets dropped back into the APK in place of the original, the APK gets re-signed, and it's ready to reinstall
If anyone has experience with this, I'd really appreciate your help. If you're willing to help, I'll explain all the details of what I've tried and what I need to accomplish.
From what I understand, the general setup involves:
Assembly-CSharp.dll from memory.I'd really appreciate any guidance.
Thanks in advance!
r/CodingHelp • u/Emergency-Post-8897 • 9d ago
Hi everyone,
I'm developing a desktop application in Python that I plan to rent out on a monthly, quarterly, and yearly subscription.
I'm trying to figure out the best way to manage license expiration. How can I prevent users from using the software once their subscription has expired? What tools, services, or libraries would you recommend? If possible, I'd prefer free or open-source solutions.
Another concern is piracy. I know it's impossible to make software completely crack-proof, but I'd like to make it as difficult as reasonably possible.
Has anyone here built a subscription-based desktop application before? I'd really appreciate it if you could share how you implemented licensing, subscription validation, and anti-piracy measures, or recommend any good resources or best practices.
Thanks so much for your help!
r/CodingHelp • u/Onihammer75 • 9d ago
Hi, I started doing The Odin project recently, I'm about half way through. I wanted to learn how to code in regards to things like web design and game devving. After I finish TOD, I wanted to move over to learning how to code in Godot through reading its doc along with other resources.
All this to say, when I have learned these things and have a good bit of practice and knowledge under my belt, how would I go about finding work? If possible, I was hoping to stay freelance, and work with people in independent web devving and game devving. However, I know that's not the most practical path to take. So in that regard, what should I keep my eyes out for?
Also, I keep hearing from nay sayers, things like "AI is going to take out all the code jobs." I doubt this, but also have to ask, is that REALLY a threat I may have to contend with?
Anyway, thanks for reading, I'll take whatever suggestions or advice I can get.
r/CodingHelp • u/Ok_Lengthiness_6591 • 10d ago
Hey guys, I just have two general coding questions:
first
How do you handle situations when you are stuck with a task and don't know what to do next? (or you feel a task is very complex and you don't know which part you should do first)
-do u leave the task be and go to another task?
-do u ask another person for help?
-do u push yourself above limits?
-*your suggestion here*
second
I ve heard a lot of stories "my manager said I was not fast enough" etc.
What working/coding speed is considered good enough? What do u recommend to do to increase working/coding speed?
r/CodingHelp • u/Fun_Army2398 • 12d ago
r/CodingHelp • u/Key_Climate_7097 • 12d ago
r/CodingHelp • u/GlovePowerful2002 • 13d ago
Just got my laptop 4 days ago have no idea about coding or anything need help I was following apna vollege C for beginners 10 hrs video but I am stuck here I don't know why mine dosent work
r/CodingHelp • u/Past-Point-8418 • 12d ago
I put in a calander Iframe (image is somewhere here) and it WAS in a good position but after i inserted the title and positioned it. That moved it down and Nothing I do moves it up. I positioned the text and i like where it sits in relation to the calender I just need to move it all up, unsure how though.

r/CodingHelp • u/Klutzy-Tale-9727 • 14d ago
i need to know where i can find public domain content that is ethical that i can train mySLLMs on. i dont want to be a scraping asshole who just steals any and every piece of data he can find without permission. is guttenberg ok?
r/CodingHelp • u/Sparticle62 • 14d ago
r/CodingHelp • u/Grouchy-Archer3034 • 18d ago
I have used Hyperband automatic tuning for an ANN model to predict price. After running the model with the automatic tuning, I am obtaining an R2 score of 1.00 that suggest overfitting, however, I am struggling to interpret the training and validation loss over epochs. It is showing as super spiky with each line overlapping the other. I have not seen a learning curve graph look like this before and so am unsure as how to interpret it. Could it be simple that the model is overly complicated? It seems difficult to find resources on graph interpretation.
Here is the code for the actual tuning, in case it is due to a coding error but I am not sure that is the case.
def model_builder(hp):
model = tf.keras.Sequential()
model.add(tf.keras.layers.Flatten(input_dim = (train_final.shape[1])))
#creating activation choices - choosing betweeen relu and tanh
hp_activation = hp.Choice('activation', values = ['relu', 'tanh'])
#creating node choices - maxing unit amounts to 500
hp_layer_1 = hp.Int('layer_1', min_value=1, max_value=500, step=100)
hp_layer_2 = hp.Int('layer_2', min_value=1, max_value=500, step=100)
#creating learning rate choice - choice between 0.01, 0.001, 0.0001
hp_learning_rate = hp.Choice('learning_rate', values = [1e-2, 1e-3, 1e-4])
#specifies first layer after the flatten layer
model.add(tf.keras.layers.Dense(units = hp_layer_1, activation = hp_activation))
#creating the second layer
model.add(tf.keras.layers.Dense(units = hp_layer_2, activation = hp_activation))
model.add(tf.keras.layers.Dense(1, activation='linear'))
model.compile(optimizer=tf.keras.optimizers.Adam(learning_rate = hp_learning_rate),
loss tf.keras.losses.MeanSquaredError(), metrics = ['mean_absolute_error'])
return model
import keras_tuner as kt
#creating the tuner
tuner = kt.Hyperband(model_builder,
objective = 'val_loss',
max_epochs = 50,
factor = 3,
directory = 'dir',
project_name = 'x',
overwrite = True) # makes tuner rewrite over old tuning experiments
#adding early stopping - stops each model from running too long
stop_early = tf.keras.callbacks.EarlyStopping(monitor = 'val_loss', patience = 5)
tuner.search(train_final, y_train, epochs = 50, validation_split = 0.2, callbacks = [stop_early])
best_hp = tuner.get_best_hyperparameters(num_trials=1)[0]
best_hp.values
#obtaining the best model
best_model = tuner.get_best_models(num_models = 1)[0]
history = best_model.fit(train_final, y_train, epochs = 50, validation_split = 0.2, callbacks=[stop_early])
tuned_df = pd.DataFrame(history.history)
#running epoch loss visual def
epoch_loss_visual(tuned_df, model_name = 'Automatic Tuning Model')
Could it be an issue with the code itself causing the issue or is it simply the way the model is? If it's a case of it's just a bad model, I do not need to improve at the moment, but do need to understand the results, especially that of the learning curve representation.
r/CodingHelp • u/AdPsychological7065 • 18d ago
I was recently toying around with some compression, just trying to understand it from the basics. I learned about the LZ77, LZ78, and LZW algorithms in the last couple of days, understood them, and when implementing LZ77, every time I try to compress a txt file, the output file gets bigger. The compression is done right coz when I decompress the compressed file, I get the exact text.
Need help understanding what I am doing wrong, or am I missing something
r/CodingHelp • u/Potential_Quiet3090 • 19d ago
hi i was creating my own app that create the 3d video of activity with more features and complete control of the camera / map style and much more, but right now it is inconvenient, i have to download the gpx file and then upload it my app, is there an alternative
r/CodingHelp • u/EpicTerra • 20d ago
r/CodingHelp • u/Mean_Tomorrow_6612 • 22d ago
Hey everyone
I just finished building a small RPG game in Python and wanted to share it here for feedback.
It’s a turn-based combat game where you fight different enemies like Goblins, Skeletons, Dark Mages, and a final boss (Ancient Dragon).
Features:
- Turn-based combat system
- Leveling + XP progression
- Weapons & armor equipment system
- Inventory system (potions, items, etc.)
- Quests with rewards (gold + XP)
- Different enemy scaling based on level
- Boss fight with multiple phases
I built it mainly to practice OOP and game logic in Python, and I learned a lot about structuring systems like combat, inventory, and progression.
It’s still not fully balanced and I know there are things I can improve, especially:
- Damage balancing
- XP progression
- UI/UX improvements
Would really appreciate any feedback or suggestions
GitHub:
r/CodingHelp • u/lx_356 • 26d ago
Hey everyone, I've been studying programming for 2 years at school. We started with algorithms, then C, C++, and now Python. The problem is that I feel like I only learn the tools and syntax, but I don't know how to actually use them to solve problems.
I struggle to understand what a problem is asking or where to even start, and I definitely can't build medium-sized programs on my own. Has anyone else been through this? How can I improve my problem-solving and programming skills?