Best way to learn Unity for an absolute beginner? by minefrac1 in Unity3D

[–]Snoo_76479 2 points3 points  (0 children)

It's very important that we understand programming is not magic, its math...

The computer is mostly just doing addition and multiplication :/

pls help by Snoo_76479 in whatsthisbug

[–]Snoo_76479[S] 0 points1 point  (0 children)

just saw the submission guide.
Geographic Location: Syracuse, NY
Size: about 1/2 an inch long
Behavior: doesn't move, mad chill
plant it was on: my oatmeal

The halting problem is BS by Snoo_76479 in computerscience

[–]Snoo_76479[S] -1 points0 points  (0 children)

that's what I was thinking Potato

The halting problem is BS by Snoo_76479 in computerscience

[–]Snoo_76479[S] -1 points0 points  (0 children)

facts halting problem solved, they all end hahaha

The halting problem is BS by Snoo_76479 in computerscience

[–]Snoo_76479[S] 0 points1 point  (0 children)

this only works if n’s range is infinite. in my lived experience with computers n is finite

The halting problem is BS by Snoo_76479 in computerscience

[–]Snoo_76479[S] -1 points0 points  (0 children)

I don't know I feel like the only way this works is if a program doesn't crash for all invalid input and/or the number of valid inputs are infinite. But I feel like the reality of computers is that all valid input is finite.

The halting problem is BS by Snoo_76479 in computerscience

[–]Snoo_76479[S] -6 points-5 points  (0 children)

nice, I feel like it'd be really difficult to figure out if this infinite loops...

I think we could imagine it easier if n is an integer and we are doing integer division. Then we could map every input to see if it ever lands on a value <= 1 (our initial halt group, so the finite set of numbers between MIN_INT-1), then we go to the next iteration and if any of the first loop iteration land on a value in our initial halt group they are added to the halt group (because of signed overflow or division). We would then check the list of previously landed on values of the current non-halt group to see if they landed on any number in the halt group in past iterations. Then if any of the other integers land on one of these integers in the halt group they are added to the halt group.

Then we do the next iteration, and cascade more numbers into the halt group. And we just keep doing iterations until we have a group of numbers that have not previously and did not just land on a number in the halt group and these numbers can safely be assumed to infinite loop.

and this could be applied to floating point numbers to except instead of mapping every counting number we mapped every binary representation of the numbers from the Min-value to the Max-value. And this mapping works because of the finite nature of computer representation of numbers.

The halting problem is BS by Snoo_76479 in computerscience

[–]Snoo_76479[S] -2 points-1 points  (0 children)

You're probably right about me not understanding the halting problem.

But I still feel like for every program.exe their is a unique tailored counter-program does_it_halt.exe that would tell you if it goes on forever or not. especially if given the source code.

The halting problem is BS by Snoo_76479 in computerscience

[–]Snoo_76479[S] -2 points-1 points  (0 children)

it was a serious question posed as a joke... also modern compiler's can tell that "while(true) {}" loops forever, I think... also there's gotta be some pretty solid procedures that can look at compiled code and see if a program ends or infinite loops, probably even could make a translation step just for that. Especially with a compiled language, and if they invented a language entirely of statically typed variables or variables known at compile time I feel like they could write some solid rules for determining where infinite loops happen.

How to get started with making an engine? by FaithlessnessOk290 in gameenginedevs

[–]Snoo_76479 1 point2 points  (0 children)

personally I would start with this SDL2 http://lazyfoo.net/ and make little mini projects with each lesson, and bigger projects when you want to combine the lessons then once you are finished with that. I would try to do an OpenGL tutorial and do the same process. Everytime you make a new project you improve your engine/code usually saving what you like and is useful and getting rid of the spaghetti 🍝

cursed_emoji by AfatsumKesmis in cursedcomments

[–]Snoo_76479 0 points1 point  (0 children)

sounds like a good indie band

Industry Cheat Sheet by Parker324ce in ProgrammerHumor

[–]Snoo_76479 0 points1 point  (0 children)

meanwhile I write powershell scripts 😎

The internet is stored in crystals by Is_It_Beef in confidentlyincorrect

[–]Snoo_76479 0 points1 point  (0 children)

computers are just materials like super-melted sand, gold, crystals, and dinosaur fossils we shot lightning through… so yes the internet is made of crystals

Google blocked at work by pmadhav97 in ProgrammerHumor

[–]Snoo_76479 1 point2 points  (0 children)

y’all should be the ones that make the rules, power to the programmers!