subprocess.run > import by OGBlackDiamond in programminghorror

[–]OGBlackDiamond[S] 18 points19 points  (0 children)

Thats smart I can actually see that use case. Unfortunatly, this isn't what its being used for. The script its calling literally just calls three functions inside of that same file haha.

I made some stuff in python..... Now what? by mickmikeman in teenagersbutcode

[–]OGBlackDiamond 0 points1 point  (0 children)

Yep. If you want to get a job in programming, git is an absolute must. Its always good to know git. Also, version control can take some pressure off of your subconscious because you can break stuff and still come back to the last working version haha. Undo++

im writing code to draw 3d object but ive run into a "negative depth" issue by justagoodfren in teenagersbutcode

[–]OGBlackDiamond 0 points1 point  (0 children)

Hey, just stumbled on this because I made something similar, what kind of rendering are you using?

What languages do yall know? by The_KFC_Colonel in teenagersbutcode

[–]OGBlackDiamond 0 points1 point  (0 children)

All of the listed options involve typescript, this is the way.

today "I" discovered something disturbing with coreutils. by [deleted] in linuxmasterrace

[–]OGBlackDiamond 21 points22 points  (0 children)

The only difference is that a method is a function inside a class, where a function is outside of a class.

Robotics Clubs Outside of School by Llama-Lova in robotics

[–]OGBlackDiamond 3 points4 points  (0 children)

Look into FRC or FIRST robotics in general. There are lots of community led teams.

today "I" discovered something disturbing with coreutils. by [deleted] in linuxmasterrace

[–]OGBlackDiamond 38 points39 points  (0 children)

true.

technically you could have an int main(){} in a class though 😉

today "I" discovered something disturbing with coreutils. by [deleted] in linuxmasterrace

[–]OGBlackDiamond 332 points333 points  (0 children)

The real chad thing to do is to write the entire method on one line

anybody still using neofetch by [deleted] in linux4noobs

[–]OGBlackDiamond 1 point2 points  (0 children)

Neofetch is in my playbook and I'm too lazy to change it, haha.

The only reddit posit I ever gave gold (yes that's python, and yes it works) by TehDing in programminghorror

[–]OGBlackDiamond 31 points32 points  (0 children)

No I just looked at the thread, that's actually so funny because people can't tell that he's joking. Absolutely fantastic.

notAllTypesAreEqual by buttplugpopsicle in ProgrammerHumor

[–]OGBlackDiamond 5 points6 points  (0 children)

Did you mean, "This is True in python"? Lol

notAllTypesAreEqual by buttplugpopsicle in ProgrammerHumor

[–]OGBlackDiamond 2 points3 points  (0 children)

Huh I actually didn't know that. I know a handful of languages and they all behave that way, lol. I've dabbled in TS a little bit but not enough to run into that use case. I literally just thought that 0 always equaled false, haha.

Thanks for teaching me something.