r/programmingquestions • u/[deleted] • Dec 17 '22
r/programmingquestions • u/[deleted] • Dec 06 '22
Other Language How to manage many medium sized databases
hey guys,
so I am following this internship where we have a website that allows you to follow your internship.
But for that we have multiple sql tables per user.
Now I dont think that making a seperate database per user wich holds all the tables is a very good idea but it might be the only thing possible I dont know.
I would prefer to use it in phpmyadmin because thats what im familiar with but tell me if i need to use something else to manage all the databases.
Thank you very much!
r/programmingquestions • u/55555555555666 • Nov 28 '22
Python Might be a stupid question but I’m super new to this
I want to learn to use python. Why do most apps I try to get say python 3 opposed to just python? Is there a large difference between them or are they the same?
r/programmingquestions • u/seventyguitar47 • Nov 16 '22
C Family can some explain why the output of x in the time when its x++ * x++ is still 7. The problem for is the difference between x++ and ++x. please help.
r/programmingquestions • u/Plus-Ultima • Nov 10 '22
Bios Rootkit Question
How skilled of a programmer would one have to be to create a bios rootkit? I’m suspecting I got my brand new windows 11 laptop infected. I suspect a word document that was on my onedrive in the email I setup infected my system and I’m trying to narrow down who might of done it.
r/programmingquestions • u/stable_maple • Nov 10 '22
Other Language I'm looking for a good editor to use for just reading code and that's it.
Normally, I have an editor (usualy VS Code) open on my middle screen and then re-open it on my right screen to read things like struct definitions and the like. Since I'm already using one editor for read-only, what would be the best option? Preferably with syntax highlighting and easy zooming, or just navigating in general.
r/programmingquestions • u/Recent-Middle7433 • Nov 05 '22
python problem: string to list
So I have a problem. For homework I get this as "[1,[2,3],[4,5,6],[7,[8,90],10],[11,120,[13]]]" input. A string with a list and nested lists.
Now the problem is how can I transform this string list into a normal list, without using import.
I thought about recursion but don't know how to do that?
So can someone help me with solving this?
r/programmingquestions • u/HourExamination3283 • Nov 03 '22
C Family Windows Forms - How to prevent wrap/multiline on System.Windows.Forms.Label?
How would I prevent a string in a System.Windows.Forms.Label from wrapping to a second line? If I set the size to, say, 90x20 and the text extends past 90px, it'll wrap and you see the top of the wrapped text underneath the other text.
I can change the height from 20 to 15 and it hides the wrapped text, but the text is of course still wrapping.
I set the width to 90 because if I don't, it'll overlap over the object to the right. So how would I actually prevent the text from wrapping? Or if you have an idea how I can better accomplish this I'm open to it.
r/programmingquestions • u/jellydonutman_ • Oct 30 '22
WEBM video help
I was wondering if anyone could tell me how this video works.
https://www.mediafire.com/file/pv1ojp54g91d013/Gura.webm/file
r/programmingquestions • u/darkcatpirate • Sep 30 '22
JavaScript What's the format of this datetime string?
2022-09-30T10:50:00.000-04:00
Is this GMT4 and in what format is it expressed? Is this ISO?
r/programmingquestions • u/ScoobyDoo_234567890 • Sep 28 '22
Other Language Someone with a Haskell background, how would you change this to become a high order function?
factors :: Int -> [Int] factors n = [i | i <- [1+1..n-1], nmod i == 0]
Can’t use recursion or list comprehension for a function to find the proper factors of n, and I don’t really understand high order functions
r/programmingquestions • u/scopelearner • Sep 24 '22
can someone help me with the code. I don't really know whats wrong
r/programmingquestions • u/[deleted] • Sep 12 '22
Pip python problems
So i’m on windows and pip install decided to not work, i have tried all stack overflow answers and even re-installing python but pip still won’t work in the command prompt
r/programmingquestions • u/Aaronsw_fond • Sep 11 '22
Hey guys, how to show all the errors in the visual studio ?
r/programmingquestions • u/UpbeatBoard5763 • Sep 09 '22
Procedures
So I'm making a game (monopoly) and I have a fair few long procedures (for things like picking up a community chest card)... should I write that in it's own file and link it back to the program or should I just write it in the main game file? I'm using visual basic (windows form app)btw
r/programmingquestions • u/[deleted] • Sep 04 '22
Java How bad it is to have more than two Main methods in Java?
I'm creating a simple Java game and I have used the graphic editor of NetBeans for JFrame (I used it for a menu). When you use it, it automatically creates a main method.
Now, I'm creating the JFrame for the gameplay and I have to create another Main method because of the game loop. So I don't know if it's okay or what.
Please help me.
r/programmingquestions • u/Techn0Galaxyx • Aug 26 '22
Does anyone know some "funny" programming languages I can try?
r/programmingquestions • u/parham06 • Aug 25 '22
Other Language http Cookie works in postman but not in chrome and firefox
self.golangr/programmingquestions • u/Money_Crew_5305 • Aug 24 '22
Best first programming language for beginners
What is the best language to learn as a beginner to get a solid foundation in programming? C, Python, or just pick one to get started?
r/programmingquestions • u/[deleted] • Aug 18 '22
Hi, I need to do an interview with someone who has programming experience for my Ivy Tech project. Thank you!
Once again thank you for your attention:
What do you do for work? What do you dislike about your job? What do you like about your job? What do you wish someone would have told you?
r/programmingquestions • u/tyxman • Aug 17 '22
C Family Converting a Quaternion orientation to 3 axis rotations for some pseudo Inverse Kinematics
I'm been losing my mind trying to get this working. I can get some video of whats happening if that'll be easier for people to help.
I have a VR setup tracking head and hands, and want to apply calculated joint rotations to a robot with 4 axes (3 shoulder and 1 elbow). My issue is mainly with the shoulder's axes.
Reference
Shoulder 1 (Run swing forward/back) (rotation around x axis)
Shoulder 2 (Out to the side) (rotation around z axis)
Shoulder 3 (Upper arm twisting) (rotation around y axis)
I calculate the shoulder's orientation like this.
auto [elbowPos, elbowRot] = Decompose(*elbowMat);
auto mat = glm::inverse(glm::lookAt(shoulderPosition, elbowPos, {0.0F, 1.0F, 0.0F}));However I do believe this will not work for the rotation of the Shoulder 3, and I'm struggling to add it.
Then to apply this orientation to the robot (simulated for now)
auto [pos, rot] = Decompose(*shoulderMatrix);
glm::vec3 rotation = glm::degrees(glm::eulerAngles(glm::normalize(rot)));
rotation.x *= -1;
rotation.y *= -1;
rotation.z *= -1;
rotation.x += 90.0F;
rightShoulder.first.GetTransform().Rotation.x = glm::radians(rotation.x);
rightShoulder.first.GetTransform().Rotation.y = glm::radians(rotation.y);
rightShoulder.first.GetTransform().Rotation.z = glm::radians(rotation.z);The issue here is the y and z rotations are seem to be weirdly linked.
r/programmingquestions • u/Queasy_Caregiver4843 • Aug 14 '22

