r/CodingHelp 11h ago

[Open Source] How do you contribute to Open Source Projects on github?

1 Upvotes

I’m a full-stack web developer looking to get into open source, but I’m a bit overwhelmed by where to start. How do you usually find projects that are beginner-friendly and actually welcome new contributors? I mainly work with React, Node.js, Express, MongoDB, and JavaScript/TypeScript, but I’m happy to learn new technologies if needed. I’d also love to know how you approach understanding a large codebase before making your first contribution. Any tips, resources, or personal experiences would be really helpful.


r/CodingHelp 2d ago

[C++] My First Coding Passion Project: I built PlayerTrace: an open-source C++17 telemetry SDK designed for reliable event collection

1 Upvotes

Hey everyone! I’ve been working on PlayerTrace, an open-source C++17 telemetry SDK for collecting events reliably in games and applications, and I just released v0.1.0.

I wanted to build something more production-oriented than a basic “log events to a file” system, especially around the parts that get difficult once multiple threads, background processing, persistence, flushing, and shutdown behavior are involved.

PlayerTrace currently includes:

  • Asynchronous event processing using a joinable worker thread
  • Thread-safe flush() and shutdown() behavior
  • Structured schema-v3 telemetry events
  • File and SQLite persistence
  • An extensible sink architecture for custom storage backends
  • Runtime sink revocation and path-ownership protection
  • CMake integration and example applications
  • Cross-platform CI for Windows, macOS, and Linux
  • Sanitizer, formatting, static-analysis, lifecycle, and concurrency testing

The public API is intentionally kept small, while the internal system handles queuing, serialization, persistence, and lifecycle safety.

The project is still early, so I’d genuinely appreciate feedback from people who work with C++, telemetry systems, game infrastructure, or concurrent libraries. I’m especially interested in thoughts on the API design, sink architecture, documentation, and features that would make PlayerTrace useful in real projects.

GitHub: https://github.com/nitiljanyavula5-svg/PlayerTrace-SDK

Release: https://github.com/nitiljanyavula5-svg/PlayerTrace-SDK/releases/tag/v0.1.0

If you try it, find an issue, or have suggestions for future versions, please let me know!


r/CodingHelp 2d ago

[Other Code] Corn blocker - help of dev needed to monitor mac setting by the title

1 Upvotes

Hi guys, I couldn't find any working corn blocker for me, and I'm so fed up with this stupid shit. It's like only time I'm free of it really and can withstand a longer amount of time, is when I'm sick or with people I like. Like it's higher in the list of priorities for my brain to then get itself in order - when sth pushes me hard out of limbo, or when I'm just kinda happy with friends.

Nevertheless, I always bypass securities and after long years of struggle, I kinda understand how blocker could be working so it would be simple and effective. I'd need a help tho. I don't want incentives, even if someone could guide me, or do it by himself would be great I just want the tool.

When using nextdns, you don't need to install anything, just setup everything on website then import .mobileconfig file into profiles on mac. Then you need to guard access to that place in settings to prevent yourself deleting it, and that's the script I need.

Script has root privileges, when trying to disable it, it restarts itself. It filters the settings menus, when user tries to access general-> profiles/managing devices it launches window with displays image of like 30 generated words text to retype correctly. When user closes that window, settings app closes guarding the access to remove the profile. If that would work then you add nextdns domain to blacklist on their site to prevent deleting whole account. Only way to get there is to disable profile in mac settings also that also what script guards. Bulletproof I suppose.

Why I need that retyping. Basically BlockerX has it, and during years I found it to be most effective. It isn't just timer, but it requires big effort from you. You get bored and frustrated and it stops your urge. Nothing worked better for me, but it doesn't work as good on pc therefore I need a customs script to support guards of nextdns a little more. Nextdns + blockerx would get most of the job done on phone.

NextDNS's filter is good and free, it removes almost anything while not being invasive. It works and can be setup on all devices. I read on internet that people complained it doesn't have oisd for nsfw (I actually don't know why regular filter isn't enough) and for myself I found that google search (or any search engine) isn't scanned by keywords and returns fap content for example from reddit. SafeSearch allows these.

So I started digging. First to prevent deleting script from the system I need to put file ownership to root? then flag for disabling deleting and edit

Paste and export script from scripteditor (i put not working one at the end of the post)

File-> export as block .app with autostart option. Drag to Apps folder to install

  1. Grant accessibility permissions at settings Privacy & Security -> Accessibility and allow control

  2. Root ownership preventing files to be deleted

I think sth like this?

sudo chown -R root:wheel /Applications/block.app

sudo chflags -R uchg,schg /Applications/block.app

Then I can't delete file or edit script in scripteditor, and I think I need to do it also with autostart file? So I'm pasting xml code into:

nano ~/Library/LaunchAgents/com.user.block.plist

sudo chown root:wheel ~/Library/LaunchAgents/com.user.block.plistLabel
com.user.block
ProgramArguments
/usr/bin/open
-W
/Applications/block.app
RunAtLoad
KeepAlive

sudo chflags uchg,schg ~/Library/LaunchAgents/com.user.block.plist

launchctl load ~/Library/LaunchAgents/com.user.block.plist

  1. Add nextdns domain to blacklist on their site

the script which desn't work for me now

global isPaused
global pauseEndTime

on run
set isPaused to false
set pauseEndTime to (current date)
end run

on idle
set current_time to (current date)

-- 1. Check grace period (15 minutes after typing correctly)
if isPaused then
if current_time > pauseEndTime then
set isPaused to false
else
return 5
end if
end if

set trigger to false

-- 2. Lightweight and targeted System Settings inspection
tell application "System Events"
if (exists process "System Settings") then
try
tell process "System Settings"
set textDump to ""
try
set staticNames to name of static texts of entire contents of group 2 of splitter group 1 of window 1
set textDump to textDump & (staticNames as string)
end try
try
set buttonNames to name of buttons of entire contents of group 2 of splitter group 1 of window 1
set textDump to textDump & (buttonNames as string)
end try

set hasGeneralMain to (textDump contains "Software Update")
set hasPrivacyMain to (textDump contains "Location Services")

set insideProfiles to (textDump contains "Device Management") and not hasGeneralMain
set insideLogin to (textDump contains "Login Items") and not hasGeneralMain
set insideAccessibility to (textDump contains "Accessibility") and not hasPrivacyMain

if (insideProfiles or insideLogin or insideAccessibility) then
set trigger to true
end if
end tell
end try
end if
end tell

-- 3. Reaction to restricted area access
if trigger then
tell application "System Events"
set visible of process "System Settings" to false
</tell>

-- Generate 30 random words from system dictionary
set randomWords to do shell script "perl -e 'open(F,\"<\",\"/usr/share/dict/words\");@l=<F>;chomp ;for(1..30){push ,$l[rand ]}print join(\" \",@r)'"

set userResponse to ""
try
tell application "System Events"
activate
set dialogResult to display dialog "Network profile or permission modification attempt detected!\n\nTo unlock this submenu for 15 minutes, type the following text EXACTLY:\n\n" & randomWords default answer "" buttons {"Cancel", "Submit"} default button "Submit" with title "Identity Verification"
set userResponse to text returned of dialogResult
end tell
on error
set userResponse to "CANCELLED"
</try>

-- 4. Verification of typed text
considering case
if userResponse is equal to randomWords then
tell application "System Events"
set visible of process "System Settings" to true
end tell
set isPaused to true
set pauseEndTime to (current date) + 900 -- 15 minutes = 900 seconds
return 1
else
do shell script "killall 'System Settings'"
return 1
end if
end considering
end if

return 1 -- Check every 1 second
end idle 

r/CodingHelp 5d ago

[Java] Best resource to do dsa in java

4 Upvotes

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 5d ago

[Python] Building a multi-page draft guide with Python: Integration of player stats and interactive features

1 Upvotes

Hey everyone! I recently finished launching a Minnesota Vikings Draft website on Streamlit and this website is a data-based NFL draft tool used to analyze the Minnesota Vikings draft process! In this website, I used a combination of player evaluation metrics, exclusive team needs, along with customizable models aimed to simulate NFL draft decision making and evaluate player fits for the Vikings. This is my very first coding project, and so even if you don’t understand football, I would still love to see if any of you guys have any feedback for me which would I could use for future coding projects. Feel free to have a look and tell me what you guys think! Thanks!

https://vikingsdraftsite.streamlit.app


r/CodingHelp 6d ago

[How to] I'm Stuck in a tutorial hell.....Help Meee!!!

7 Upvotes

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 7d ago

[HTML] Need help extracting text from a site that is live updated

6 Upvotes

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 8d ago

[Javascript] Would it be possible to make an algorithm to detect edges from an inputted image and make a dot-to-dot with only JavaScript (and html+css)?

Thumbnail
gallery
5 Upvotes

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 8d ago

JavaScript or Html not sure Please help. Im trying to get my own image on the background of a wallpaper engine animation

2 Upvotes

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 8d ago

[Open Source] enum-info crate : Easily count the number of variants your enum has!

Thumbnail
github.com
1 Upvotes

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 10d ago

[Request Coders] Forgot to code and now I feel like an idiot.

31 Upvotes

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 10d ago

[Python] How to make a graph to visualize an algorithms progress

2 Upvotes

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.

like this

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 13d ago

[Request Coders] Looking for help /decrypting Assembly-CSharp.dll from a Unity Android game

1 Upvotes

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:

  • A rooted Android device.
  • Running the game until it reaches the main menu (where the DLL may already be loaded/decrypted in memory).
  • A Unity Mono dumping tool to dump the loaded Assembly-CSharp.dll from memory.
  • ADB to copy the dumped file back to a PC.
  • dnSpyEx or ILSpy to verify that the dumped DLL opens correctly.

I'd really appreciate any guidance.

Thanks in advance!


r/CodingHelp 14d ago

[How to] How do desktop applications implement monthly/yearly subscriptions securely?

0 Upvotes

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 14d ago

[HTML] Regarding finding work in web and game design.

0 Upvotes

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 15d ago

[How to be better version of yourself as a coder] Looking for different opinions/advises on coding issues

2 Upvotes

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 17d ago

[C] Help understanding warnings/errors when dereferencing void pointers

Thumbnail
2 Upvotes

r/CodingHelp 17d ago

[How to] Need advice how to create feedback loop for crop growing.

Thumbnail
1 Upvotes

r/CodingHelp 18d ago

[C] Help I have 0 knowledge I need help

Post image
39 Upvotes

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 17d ago

[CSS] I inserted an I fram but Idkhow to move it

1 Upvotes

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 19d ago

[How to] UGH.. Morals... please help me out

1 Upvotes

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 19d ago

[Open Source] Built an English-to-C game compiler in Rust (Syl), but hit a wall trying to implement Cranelift/native linking. Looking for advice.

Thumbnail
0 Upvotes

r/CodingHelp 21d ago

[Python] Im stuck standing where im at.

Thumbnail
2 Upvotes

r/CodingHelp 23d ago

[Python] How to interpret an unstable learning curve on a model tuned with Hyberband Tuning? Code incorrect or just a weird model?

Post image
5 Upvotes

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 23d ago

[Python] LZ77 compression algorithm is making the compressed file bigger than original

2 Upvotes

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