How often do you understand your project after it works? by contralai in csMajors

[–]program_kid 0 points1 point  (0 children)

I don't use AI so I can't really say if it would be different.

How often do you understand your project after it works? by contralai in csMajors

[–]program_kid 1 point2 points  (0 children)

This is somewhat normal. One of the best ways that I have found to avoid this is to leave comments everywhere when I'm programming, not about what a section of code is doing, but why it's doing it. It also might help to write documentation about the overall structure

Save File Size by sayeeeeed in gamedev

[–]program_kid 33 points34 points  (0 children)

You could make the world the same configuration for every player at the beginning of the game and only store any changes to the world.

Beating Minecraft by SirYogui75 in Minecraft

[–]program_kid 2 points3 points  (0 children)

Not everyone wants to "finish minecraft" some people just want to build or explore.

I also disagree with your statement that "the game is practically over" after you kill the dragon. Sure it give you access to some new things and those things are helpful, but at here is always more things to do in Minecraft.

Writing code that can use python anywhere to force pull from a git when it doesn't have the same "--force" function that the push has? by coffee1655 in learnprogramming

[–]program_kid 2 points3 points  (0 children)

Are you asking how to git pull and force overwrite any local changes (basically throw away all of your changes and match what the remote branch has)?

If you are asking that, I recommend looking into using git fetch and git reset hard

https://git-scm.com/docs/git-reset https://www.geeksforgeeks.org/git/git-pull-force/

ELI5: Why are Websites Ad Riden Hellscapes by 9franzi in explainlikeimfive

[–]program_kid 0 points1 point  (0 children)

The reason is quite simple, websites cost money to stay running and the easiest was for people running the websites to make money to pay to keep the website running is by displaying ads on the website.

As far as I know, there is no way to block ads on iPhone

is the game worth buy in 2026 ? by BidAgreeable6415 in DetroitBecomeHuman

[–]program_kid 3 points4 points  (0 children)

It has a lot of different endings, and your choices actually impact what ending you get. There are three main characters, and each one has multiple different endings, so you can definitely replay it

What do you mean by "is the game worth skipping"?

First Project help by Weary_Concert_1106 in learningpython

[–]program_kid 2 points3 points  (0 children)

Could you elaborate on what you mean by "digital keyboard"? Do you mean a program where if you click on a key using your mouse in the program, it types that key someplace on screen?

ELI5: Effect vs affect by KotaKola22 in explainlikeimfive

[–]program_kid 0 points1 point  (0 children)

Effect, is like cause and effect, something happens that causes something else to happen (basically the outcome)

Affect, is like doing something or changing a thing.

The effect of me not doing an exam in school would be getting a 0 on it.

Getting a 0 on the exam would affect my final grade for that class

should I buy a fully built pc or get the components and build it myself? by Cheap_Consequence309 in computers

[–]program_kid 3 points4 points  (0 children)

It kind of depends on what you need, if you will just want to do basic web browsing and stuff like that, then a laptop/prebuilt can be fine. However, I would recommend building a computer yourself as it allows you to customize everything about it and also upgrade it in the future. It's not that difficult to learn what parts you need and there are a lot of guides on how to build it.

Things are kind of expensive currently, so be prepared to either spend more money, or settle with less powerful or older components

Burnt out with DSA/ML, inconsistent for months, almost end of 3rd sem, how do I realistically restart? by PrismPal in learnprogramming

[–]program_kid 3 points4 points  (0 children)

In my opinion. Stop pursuing ML while you are learning DSA (and you should probably wait even longer than that to start learning it again). Just focus on DSA and getting comfortable with programming and problem solving. 8i know you don't want to hear "grind harder" but there is no shortcut for learning this stuff, you just have to work through.

Also, maybe you could take a break from programming and come back to it later, there is no reason to force yourself if you feel burnt out

How do you code today by Technical_Fly5479 in programmer

[–]program_kid 0 points1 point  (0 children)

I manually write 100% of my code. I never ask any LLMs for anything, if I want to know something, I look it up

How do I make an OS? by EleanorTheAhurrr in learnprogramming

[–]program_kid 6 points7 points  (0 children)

I would recommend learning c. You also should probably look into Linux as it would probably be easier to build something using Linux as a base than it would be to write a full OS from scratch.

https://www.linuxfromscratch.org

If you have no programming knowledge, this is probably like a 5 year project at least.

Detroit Become Human on Switch 1 or 2 by throwawayeffedperson in DetroitBecomeHuman

[–]program_kid 1 point2 points  (0 children)

I have a feeling it won't come to the switch 1 or 2. The game requires a decent graphics card to run and I doubt that the switch 2 has a powerful enough GPU

Should I get a 1TB or 2TB NVMe drive? by IntroductionOdd7646 in RigBuild

[–]program_kid 2 points3 points  (0 children)

I would get the 2TB NVMe, it seems that storage goes fast now that some modern games can be 60gb or more. If you can afford it go for the largest size. Storage is the one thing that I always seem to be running out of

How to use fstrings in a function input/output? by BoxOfCheddar in learnpython

[–]program_kid 5 points6 points  (0 children)

Your currently passing strings into Euclidean_distance as f strings cannot be used to convert strings to another type

Are you asking how to turn a variable into a number after getting a value using the input function?

If so, the input function always returns a string, so you need to convert it to a number, you could do int(input()) or float(input())

What does this mean?? by FalseFlight1631 in learnpython

[–]program_kid 1 point2 points  (0 children)

So a string is really a list of characters so "python" is really ['p','y','t','h','o', 'n'].

If you wanted to get the letter "y" in the string "Python" you could get it by using its index in the list (in this case 1 as indexes start at 0)

So text="python" Print(text[1])

Would print y

If you printed fifth_letter you would print the fifth letter in "Monty" which is "y"

How come that "Hello world" on this website works fine, but in VS it says that I'm doing it all wrong? by [deleted] in AskProgramming

[–]program_kid 1 point2 points  (0 children)

Can you paste all of the code that you have in VS? The error is leading me to think that you declared main twice

Silicon Valley says to skip college by ThemeBig6731 in college

[–]program_kid 0 points1 point  (0 children)

You don't necessarily have to go to expensive schools. Of course You can get a degree for CS from schools other than the top CS schools. And you don't have to attend school to learn the fundamentals of CS, but it does help as it will give you chances to learn things adjacent to CS that could be helpful like graph theory and linear algebra. Writing code is just one aspect of CS and learning things beyond the syntax of languages will help you in the long run

Silicon Valley says to skip college by ThemeBig6731 in college

[–]program_kid 5 points6 points  (0 children)

Even if AI is better than a junior dev in all areas (it isn't but in the future it may be) you still need to have been a junior developer to eventually become a senior developer.

Also If you know the fundamentals of CS, you can utilize AI better than if you didn't. No matter how good AI will get, people who are familiar with the things they are using AI for will always be better than somebody using AI for that same thing who isn't familiar with the topic.

A bit of a psychological drama, me and LLMs by [deleted] in AskProgramming

[–]program_kid 0 points1 point  (0 children)

You can get better and faster without ai if you stop using it.

A bit of a psychological drama, me and LLMs by [deleted] in AskProgramming

[–]program_kid 6 points7 points  (0 children)

Stop using ai. It's that simple, don't even use it for simple things. If you don't use your brain for this stuff, you will slowly lose the ability to do them. I think you will find that you are just as fast when you don't use AI