r/CodingHelp

Is there anything other than VS STUDIO CODE

Hey!

Im used to using thonny for python, and now I wanted to learn C, the only option I could find is vs studio code, but its way too overwhelming to see so many options for a starter like me, any other good softwares (dont suggest turbo)

reddit.com
u/Feisty_War80 — 1 day ago
▲ 0 r/CodingHelp+1 crossposts

how do I turn off the autofill

im trying to do unity learn learn to code, but the autofill spoils to much, ill be using visual studio signed out in the meantime, thanks!

Is there a way to randomize/change to a different swf/flash file with each website refresh using Ruffle?

So I'm working on a Electron project and I'm using a lot of different ads, with every page refresh I want the ad swfs to change to different ones.

I hope I'm making sense.

reddit.com
u/plushili — 3 days ago

Google suspended my website for Phishing (its a student blog) and won't respond to appeals

I created a small blog for myself and my friends to add fun stuff onto, however, about a month into my endeavour, google flagged my website as phishing or scamming and suspended it.

This was on April 27th that I got the email. However, ive submitted like five appeals at different times and have heard absolutely nothing from them. Im a noob at coding and used firebase and apple terminal (because this is just a silly side project).

Was firebase a bad platform to use? does anyone know how I can get out of this? do I just have to create a completely new website with github? I really enjoyed figuring out how to code this blog, and I honestly fell in love with coding and want to continue. however, google blocking my blog is not making me feel that great, neither is the fact that ive been ghosted by them.

If any pros know what I can do, please help! Again, im such a beginner, and the code that got flagged for Phishing I removed (it was an Apple Music terminal that allowed you to play music while on the blog).

(mods plz note ive tried to find answers for this everywhere and I can't find anything)

reddit.com
u/WinnerComfortable187 — 3 days ago
▲ 3 r/CodingHelp+1 crossposts

Class tree requires use of multiple inits

Foo is a base class and assigns its own sprite with its _init. Its extension, bar, has additional data necessary for its extensions, which need to assign variables with their _init. However, this means that two _init calls must be made, which seems like it's impossible. Is there a way to refactor this to be possible without just duplicating the sprite-assignment code across every extension with a custom _init call?

@abstract
class_name Foo
extends Node

var sprite: Sprite2D;
var spriteImage: String;

func _init():
  add_child(sprite);
  sprite.texture = ImageTexture.create_from_image(Image.load_from_file(spriteImage));

@abstract 
class_name Bar
extends Foo

enum placeholder {
  A,
  B,
  C
};

var whichFromPlaceholder: int;

@abstract
class_name Child_of_Bar
extends Bar

func _init():
  whichFromPlaceholder = A
reddit.com
u/Supperboy2012 — 4 days ago

For the "I need Help" or "I'm N_e _w" posts and the Experienced Programmers.

im learning python in FCC right now. I jumped right into trying to program to start with and kept trying to start up by reading in the docs or following along with a tutorial on numpy or scipy... FCC is taking me through the logical thinking skills i need and making me solve problems and get together the fundamentals of coding.... ive been off and on trying to learn how to code for like 2 years now, given ive been through a lot with life struggles, but i kept searching and searching for a way to learn this stuff and never did anyhting about DSA or Problem-solving or logical thinking come up. I wonder why? All of the "I feel stupid and Am I just not meant to Code" posts i see in forums never mention or question if you know the fundamentals or even know where to get them from or that you need them. I wonder why Is that?

I hope this is a valid question that some more experienced people can answer and i hope it puts the right words and questions in other new learners minds

reddit.com
u/Big_Example_3390 — 4 days ago
▲ 3 r/CodingHelp+1 crossposts

Apply Discount Function HELP NEEDED

I have tried this exercise several times with different attempts and nothing is working. I dont know what I have been doing wrong. if someone has an idea please help!!

MY CODE SO FAR:

def apply_discount(price, discount):
    if not isInstance(price(int, float)):
        return "The price should be a number"
    if not isInstance(discount(int, float)):
        return "The discount should be a number"
    
    if price <= 0:
        return "The price should be greater than 0"
    elif discount >= 100: 
        return "The discount should be between 0 and 100"
    
    final_price = price - ((price * discount)/100)


apply_discount(100, 20)
apply_discount(200, 50)
apply_discount(50, 0)
apply_discount(100)
apply_discount(74.5, 20.0)
reddit.com
u/mautzjoe — 5 days ago

FreeCodeCamp RPG Python Lab: It all looks right to me, but says its wrong.

#im honestly hella confused, it gives everything its supposed to and pulls up the right respose. I think it wants something specific that im  not aware of. 

full_dot = '●'
empty_dot = '○'
def create_character(name, strength, intelligence, charisma):
    stats = {strength, intelligence, charisma}
    if not isinstance(name, str):  #pulls up correctly 
        return print('The character name should be a string')
    
    elif name == '':   #pulls up correctly 
        return print('The character should have a name')
    
    elif len(name) > 10:  #pulls up correctly 
        return print('The character name is too long')
    
    elif ' ' in name:  #pulls up correctly 
        return print('The character name should not contain spaces') 
    
    else:  
        for x in stats:
            if not isinstance(x, int):  #if i put in ! or c without the "" around it it pulls an error 
                return print('All stats should be integers') 
        
            elif x < 1: #pulls correctly
                return print('All stats should be no less than 1')  
        
            elif strength > 4 or intelligence > 4 or charisma > 4: #pulls correctly
                return print('All stats should be no more than 4')  
        
            elif strength + intelligence + charisma != 7: #pulls correctly
                return print('The character should start with 7 points')   
            else:#pulls correctly......i dont get it 
                return print(f'{name}\nSTR {strength * full_dot + empty_dot * (10 - strength)}\nINT {intelligence * full_dot + empty_dot*(10 - intelligence)}\nCHA {charisma * full_dot + empty_dot * (10 - charisma)}')
                



create_character('ren',1,5,1)  

tests 2, 4, 6, 8, 10, 12, 14, 16, 18, 19 all fail

    1. You should have a function named create_character.
  • Failed:2. When create_character is called with a first argument that is not a string it should return The character name should be a string.
  • Passed:3. When create_character is called with a first argument that is a string it should not return The character name should be a string.
  • Failed:4. When create_character is called with a first argument that is an empty string, it should return The character should have a name.
  • Passed:5. When create_character is called with a first argument that is not an empty string, it should not return The character should have a name.
  • Failed:6. When create_character is called with a first argument that is longer than 10 characters it should return The character name is too long.
  • Passed:7. The create_character function should not say that the character is too long when it's not longer than 10 characters.
  • Failed:8. When create_character is called with a first argument that contains a space it should return The character name should not contain spaces.
  • Passed:9. When create_character is called with a first argument that does not contain a space it should not return The character name should not contain spaces.
  • Failed:10. When create_character is called with a second, third or fourth argument that is not an integer it should return All stats should be integers.
  • Passed:11. When create_character is called with a second, third and fourth argument that are all integers it should not return All stats should be integers.
  • Failed:12. When create_character is called with a second, third or fourth argument that is lower than 1 it should return All stats should be no less than 1.
  • Passed:13. When create_character is called with a second, third and fourth argument that are all no less than 1 it should not return All stats should be no less than 1.
  • Failed:14. When create_character is called with a second, third or fourth argument that is higher than 4 it should return All stats should be no more than 4.
  • Passed:15. When create_character is called with a second, third and fourth argument that are all no more than 4 it should not return All stats should be no more than 4.
  • Failed:16. When create_character is called with a second, third or fourth argument that do not sum to 7 it should return The character should start with 7 points.
  • Passed:17. When create_character is called with a second, third and fourth argument that sum to 7 it should not return The character should start with 7 points.
  • Failed:18. create_character('ren', 4, 2, 1) should return ren\nSTR ●●●●○○○○○○\nINT ●●○○○○○○○○\nCHA ●○○○○○○○○○.
  • Failed:19. When create_character is called with valid values it should output the character stats as required.
reddit.com
u/Big_Example_3390 — 5 days ago
▲ 47 r/CodingHelp+11 crossposts

My first ever app hit 7k downloads

Hi everyone, I built an android app 8 years ago when I graduated from high school and forgot about it. was surprised this week when I found out that it had more than 7k downloads so I fixed some bugs and redeployed to google store but not sure what features I should add or change to improve it. if you were to use the app what would you like to see?
the app is called sNotes
https://play.google.com/store/apps/details?id=com.sNotes.sam

u/Legitimate-Appeal-51 — 7 days ago
▲ 1.5k r/CodingHelp+4 crossposts

How would someone go about coding something like this? Where would the even begin? I'm guessing C# is the best programming language to use here.

u/Rabbidraccoon18 — 10 days ago

Alguien sabe cómo descodificar un archivo json

Estoy tratando de modificar los archivos de un juego (APK) pero en los archivos el texto es esto alguien sabe cómo descodificar

u/Careful-Luck-8465 — 8 days ago

HIGH SCHOOL/A-LEVEL CODING PLS HELP - EXAM ON MONDAY!!

Syllabus link (page 30-39): https://qualifications.pearson.com/content/dam/pdf/International%20Advanced%20Level/Information-Technology/2018/specification-and-sample-assessment/International-AL-Information-Technology-Spec.pdf

Past papers link (2019-2025):

https://www.alevelcopilot.com/as-and-a-level-pastpapers/edexcel-ial/information%20technology

Please go to page 30-39 of the syllabus pdf, it has my practical IT syllabus and I have an exam on Monday, the past paper link shows how all my past papers from last year 2025 to 2019 have looked, which is how my exam on Monday is going to look. Based on analyzing the syllabus topics and past papers - do you think its possible for me to learn all the syllabus topics quickly within 5 days? I just wanted coders to tell me if it was possible for me to quickly learn this stuff since its high school coding - any youtube videos that can help me also?

reddit.com
u/EatPraySlayRepeat — 9 days ago

Need an end-point for a coded form for wix website

I want to clarify I am VERY new to code, and have been learning as I go along.

I have coded a form for a website I am currently building on Wix (I know, I know, I am currently trying to migrate away from Wix)

But I need an end-point for my form submissions

I would also like if some forms could be organised into a excel or google sheet, though I havent researched into that side yet

If anyone has any advice for a good end-point, I would really appreciate it

reddit.com
u/Wise-Town1721 — 12 days ago
▲ 9 r/CodingHelp+1 crossposts

Hello hello, here a software dev student finishing their first year that need your help.
To give you context I’m very bad at JSON and I don’t know where to find useful material/maybe a course to improve during the summer as I want to get better.

I barely passed my module where I learned the basics and I watched some YouTube tutorials on the topic but I still don’t understand it very well and even less know how to practice productively. I’m up for even doing a boot camp, but id like to know if someone has come across with a useful learning source for it.

Does anybody has a recommendation on how to learn JSON? I want to use my summer break to improve and study as I know is something I’ll use through my career and I’d like to get good at it.

Thanks in advance!

reddit.com
u/Perfect_Carrot96 — 14 days ago

It's for a quastion so I'll appreciate long and detailed answers. And any links to explanations will also be appreciate, because I can't seem to find anything about it.

reddit.com
u/ImpressBest8888 — 14 days ago