subreddit
stringclasses
7 values
author
stringlengths
3
20
id
stringlengths
5
7
content
stringlengths
67
30.4k
score
int64
0
140k
programmerhumor
lgsp
f3b6r1k
<|sols|><|sot|>Guy tried to create an orbit system in python and this happened<|eot|><|sol|>https://v.redd.it/zkc136kzuwr31<|eol|><|sor|>3 body problem! Chaos at its finest!<|eor|><|eols|><|endoftext|>
3,363
programmerhumor
brimston3-
f3bckv4
<|sols|><|sot|>Guy tried to create an orbit system in python and this happened<|eot|><|sol|>https://v.redd.it/zkc136kzuwr31<|eol|><|sor|>3 body problem! Chaos at its finest!<|eor|><|sor|>Can you explain?<|eor|><|sor|>Gravity interactions between three (or more) orbital bodies have never been solved into a formula where time is the independent variable. Iterative numerical approximation is required. Numerical approximation implies the introduction of errors. [Three-body problem (wikipedia)](https://en.wikipedia.org/wiki/Three-body_problem) ---- Lots of confusion, so editing to attempt to ELI5. When you've got 3 things orbiting each other, it's very difficult to create a formula that can correctly guess the position of the objects far in the future, or the past for that matter if all you know is the current positions, masses, and speeds. There's a couple ways you can make it easier. * If one of them is much smaller than the other two, like it is with the Sun, Earth, and Moon, the moon's gravity can be mostly ignored and it can be calculated separately as two systems of two things orbiting each other. * If you know that the orbits have been stable for a long time, you can guess that for the next short period of time, they will behave similarly (dynamic equilibrium). Neither of these are the case with the program in OP. There are 3 objects orbiting each other, of nearly the same mass, perfectly balanced at the start. Since it can't be simplified to an equation, the normal way to go about predicting is to guess where the objects will be a short time in the future based on what we know about their current positions and speeds. Then we use this guess to make a further guess about the next position, and so on. The smaller the step forward in time, the more likely it will be correct. The problem with guessing the future position is our numbers can only be so precise. Maybe the computer can only count in increments of 0.001. If it needs to guess 0.0011 it rounds it down to 0.001. But that 0.0001 difference might matter. In a real computer, a double (binary64) can hold almost 16 digits of precision. But when you're talking about a system so perfectly balanced as these three, it might need 17 digits or more. Really, the extra digits only make it stable for longer; eventually the rounding errors are going to add up to something big enough to matter (because this system doesn't converge to stability, some numerical systems *do* converge nicely, but this isn't one of them). And when it does, like you see toward the end of the video, the different objects go careening off in different patterns, their symmetry broken. My explanation doesn't do a great job illustrating how the system is chaotic. It basically means the system is very sensitive to small changes that are multiplied out quickly. In the case of n-body gravity, the forces over time are determined by coupled differential equations that are sensitive like this. Numerical methods are sort of an end-run around not having a closed form solution.<|eor|><|eols|><|endoftext|>
2,273
programmerhumor
PhoenixizFire
f3b93ci
<|sols|><|sot|>Guy tried to create an orbit system in python and this happened<|eot|><|sol|>https://v.redd.it/zkc136kzuwr31<|eol|><|sor|>Pretty accurate though. At least if this 10 seconds video is worth 10 million years in reality<|eor|><|eols|><|endoftext|>
1,683
programmerhumor
Diapolo10
f3b2b6a
<|sols|><|sot|>Guy tried to create an orbit system in python and this happened<|eot|><|sol|>https://v.redd.it/zkc136kzuwr31<|eol|><|sor|>A spectacular failure, if I've ever seen one! I wish my bugs were this pretty...<|eor|><|eols|><|endoftext|>
1,304
programmerhumor
HenryRasia
f3baspj
<|sols|><|sot|>Guy tried to create an orbit system in python and this happened<|eot|><|sol|>https://v.redd.it/zkc136kzuwr31<|eol|><|sor|>Pretty accurate though. At least if this 10 seconds video is worth 10 million years in reality<|eor|><|sor|>Yup, the three body problem only has a few stable configurations. His code doesn't have bugs, it has features! Reminds me of a video where a guy was coding the physics of a lens by simulating the light rays bending, and then was thrown for a loop because he inadvertently discovered spherical aberration and thought it was a bug. Edit: So one benefit of Google never forgetting your browsing history is that I could go all the way back and [find it](https://youtu.be/7Jl-Jzkb1VM). The part in question starts at about 17:40.<|eor|><|eols|><|endoftext|>
1,022
programmerhumor
lgsp
f3bd7nq
<|sols|><|sot|>Guy tried to create an orbit system in python and this happened<|eot|><|sol|>https://v.redd.it/zkc136kzuwr31<|eol|><|sor|>3 body problem! Chaos at its finest!<|eor|><|sor|>Can you explain?<|eor|><|sor|>Gravity interactions between three (or more) orbital bodies have never been solved into a formula where time is the independent variable. Iterative numerical approximation is required. Numerical approximation implies the introduction of errors. [Three-body problem (wikipedia)](https://en.wikipedia.org/wiki/Three-body_problem) ---- Lots of confusion, so editing to attempt to ELI5. When you've got 3 things orbiting each other, it's very difficult to create a formula that can correctly guess the position of the objects far in the future, or the past for that matter if all you know is the current positions, masses, and speeds. There's a couple ways you can make it easier. * If one of them is much smaller than the other two, like it is with the Sun, Earth, and Moon, the moon's gravity can be mostly ignored and it can be calculated separately as two systems of two things orbiting each other. * If you know that the orbits have been stable for a long time, you can guess that for the next short period of time, they will behave similarly (dynamic equilibrium). Neither of these are the case with the program in OP. There are 3 objects orbiting each other, of nearly the same mass, perfectly balanced at the start. Since it can't be simplified to an equation, the normal way to go about predicting is to guess where the objects will be a short time in the future based on what we know about their current positions and speeds. Then we use this guess to make a further guess about the next position, and so on. The smaller the step forward in time, the more likely it will be correct. The problem with guessing the future position is our numbers can only be so precise. Maybe the computer can only count in increments of 0.001. If it needs to guess 0.0011 it rounds it down to 0.001. But that 0.0001 difference might matter. In a real computer, a double (binary64) can hold almost 16 digits of precision. But when you're talking about a system so perfectly balanced as these three, it might need 17 digits or more. Really, the extra digits only make it stable for longer; eventually the rounding errors are going to add up to something big enough to matter (because this system doesn't converge to stability, some numerical systems *do* converge nicely, but this isn't one of them). And when it does, like you see toward the end of the video, the different objects go careening off in different patterns, their symmetry broken. My explanation doesn't do a great job illustrating how the system is chaotic. It basically means the system is very sensitive to small changes that are multiplied out quickly. In the case of n-body gravity, the forces over time are determined by coupled differential equations that are sensitive like this. Numerical methods are sort of an end-run around not having a closed form solution.<|eor|><|sor|>I will add that the animation show a special symmetrical case of the 3 body system where the 3 bodies have the same mass and initial speed (tangential) and are at 120 apart , so it starts by drawing the same shapes for the 3 bodies, and the drawing is very symmetrical. Towards the end, numerical errors accumulate and chaos inevitably wins, the 3 bodies develop different trajectories<|eor|><|eols|><|endoftext|>
970
programmerhumor
Garuda1_Talisman
f3bh4uv
<|sols|><|sot|>Guy tried to create an orbit system in python and this happened<|eot|><|sol|>https://v.redd.it/zkc136kzuwr31<|eol|><|sor|>A spectacular failure, if I've ever seen one! I wish my bugs were this pretty...<|eor|><|sor|>This is not a failure. I've been working basically forever on the N body problem. This is the expected behaviour and shows that the mechanics are correctly implemented. Now you might say "but that's not what a solar system looks like!" and you would be absolutely right. It's just that the simulation OP posted was garbage from the beginning. The system is made up of three planets on the same orbit with only a phase difference to set them appart. This is a highly unstable configuration that is guaranteed to fail very early. *ahem*... **Garbage in, garbage out.**<|eor|><|eols|><|endoftext|>
939
programmerhumor
jediforhire
f3bbkn8
<|sols|><|sot|>Guy tried to create an orbit system in python and this happened<|eot|><|sol|>https://v.redd.it/zkc136kzuwr31<|eol|><|sor|>3 body problem! Chaos at its finest!<|eor|><|sor|>Can you explain?<|eor|><|eols|><|endoftext|>
827
programmerhumor
Jimbo8u
f3b32k8
<|sols|><|sot|>Guy tried to create an orbit system in python and this happened<|eot|><|sol|>https://v.redd.it/zkc136kzuwr31<|eol|><|sor|>When the bug becomes a feature.<|eor|><|eols|><|endoftext|>
647
programmerhumor
the_poope
f3bj05j
<|sols|><|sot|>Guy tried to create an orbit system in python and this happened<|eot|><|sol|>https://v.redd.it/zkc136kzuwr31<|eol|><|sor|>A spectacular failure, if I've ever seen one! I wish my bugs were this pretty...<|eor|><|sor|>This is not a failure. I've been working basically forever on the N body problem. This is the expected behaviour and shows that the mechanics are correctly implemented. Now you might say "but that's not what a solar system looks like!" and you would be absolutely right. It's just that the simulation OP posted was garbage from the beginning. The system is made up of three planets on the same orbit with only a phase difference to set them appart. This is a highly unstable configuration that is guaranteed to fail very early. *ahem*... **Garbage in, garbage out.**<|eor|><|sor|>C, Fortran and Matlab... I choose to believe this guy<|eor|><|eols|><|endoftext|>
404
programmerhumor
Bioxio
f3bjfvp
<|sols|><|sot|>Guy tried to create an orbit system in python and this happened<|eot|><|sol|>https://v.redd.it/zkc136kzuwr31<|eol|><|sor|>A spectacular failure, if I've ever seen one! I wish my bugs were this pretty...<|eor|><|sor|>This is not a failure. I've been working basically forever on the N body problem. This is the expected behaviour and shows that the mechanics are correctly implemented. Now you might say "but that's not what a solar system looks like!" and you would be absolutely right. It's just that the simulation OP posted was garbage from the beginning. The system is made up of three planets on the same orbit with only a phase difference to set them appart. This is a highly unstable configuration that is guaranteed to fail very early. *ahem*... **Garbage in, garbage out.**<|eor|><|sor|>C, Fortran and Matlab... I choose to believe this guy<|eor|><|sor|>He is weird and old. Yes, he is the right guy.<|eor|><|eols|><|endoftext|>
245
programmerhumor
schawde96
f3bltsn
<|sols|><|sot|>Guy tried to create an orbit system in python and this happened<|eot|><|sol|>https://v.redd.it/zkc136kzuwr31<|eol|><|sor|>3 body problem! Chaos at its finest!<|eor|><|sor|>Can you explain?<|eor|><|sor|>Gravity interactions between three (or more) orbital bodies have never been solved into a formula where time is the independent variable. Iterative numerical approximation is required. Numerical approximation implies the introduction of errors. [Three-body problem (wikipedia)](https://en.wikipedia.org/wiki/Three-body_problem) ---- Lots of confusion, so editing to attempt to ELI5. When you've got 3 things orbiting each other, it's very difficult to create a formula that can correctly guess the position of the objects far in the future, or the past for that matter if all you know is the current positions, masses, and speeds. There's a couple ways you can make it easier. * If one of them is much smaller than the other two, like it is with the Sun, Earth, and Moon, the moon's gravity can be mostly ignored and it can be calculated separately as two systems of two things orbiting each other. * If you know that the orbits have been stable for a long time, you can guess that for the next short period of time, they will behave similarly (dynamic equilibrium). Neither of these are the case with the program in OP. There are 3 objects orbiting each other, of nearly the same mass, perfectly balanced at the start. Since it can't be simplified to an equation, the normal way to go about predicting is to guess where the objects will be a short time in the future based on what we know about their current positions and speeds. Then we use this guess to make a further guess about the next position, and so on. The smaller the step forward in time, the more likely it will be correct. The problem with guessing the future position is our numbers can only be so precise. Maybe the computer can only count in increments of 0.001. If it needs to guess 0.0011 it rounds it down to 0.001. But that 0.0001 difference might matter. In a real computer, a double (binary64) can hold almost 16 digits of precision. But when you're talking about a system so perfectly balanced as these three, it might need 17 digits or more. Really, the extra digits only make it stable for longer; eventually the rounding errors are going to add up to something big enough to matter (because this system doesn't converge to stability, some numerical systems *do* converge nicely, but this isn't one of them). And when it does, like you see toward the end of the video, the different objects go careening off in different patterns, their symmetry broken. My explanation doesn't do a great job illustrating how the system is chaotic. It basically means the system is very sensitive to small changes that are multiplied out quickly. In the case of n-body gravity, the forces over time are determined by coupled differential equations that are sensitive like this. Numerical methods are sort of an end-run around not having a closed form solution.<|eor|><|sor|>I will add that the animation show a special symmetrical case of the 3 body system where the 3 bodies have the same mass and initial speed (tangential) and are at 120 apart , so it starts by drawing the same shapes for the 3 bodies, and the drawing is very symmetrical. Towards the end, numerical errors accumulate and chaos inevitably wins, the 3 bodies develop different trajectories<|eor|><|sor|>So is the initial condition an unstable equilibrium point? And then something (numerical/truncation/rounding error in simulation, random chance in reality) causes it to "decompose" into chaos?<|eor|><|sor|>Could be the case, yes. But honestly most of the times there's just some bug in the integrator... I should add that the 3 body problem is general not analytcally solveable only for special symmetric cases.<|eor|><|eols|><|endoftext|>
235
programmerhumor
u2berggeist
f3bkakg
<|sols|><|sot|>Guy tried to create an orbit system in python and this happened<|eot|><|sol|>https://v.redd.it/zkc136kzuwr31<|eol|><|sor|>3 body problem! Chaos at its finest!<|eor|><|sor|>Can you explain?<|eor|><|sor|>Gravity interactions between three (or more) orbital bodies have never been solved into a formula where time is the independent variable. Iterative numerical approximation is required. Numerical approximation implies the introduction of errors. [Three-body problem (wikipedia)](https://en.wikipedia.org/wiki/Three-body_problem) ---- Lots of confusion, so editing to attempt to ELI5. When you've got 3 things orbiting each other, it's very difficult to create a formula that can correctly guess the position of the objects far in the future, or the past for that matter if all you know is the current positions, masses, and speeds. There's a couple ways you can make it easier. * If one of them is much smaller than the other two, like it is with the Sun, Earth, and Moon, the moon's gravity can be mostly ignored and it can be calculated separately as two systems of two things orbiting each other. * If you know that the orbits have been stable for a long time, you can guess that for the next short period of time, they will behave similarly (dynamic equilibrium). Neither of these are the case with the program in OP. There are 3 objects orbiting each other, of nearly the same mass, perfectly balanced at the start. Since it can't be simplified to an equation, the normal way to go about predicting is to guess where the objects will be a short time in the future based on what we know about their current positions and speeds. Then we use this guess to make a further guess about the next position, and so on. The smaller the step forward in time, the more likely it will be correct. The problem with guessing the future position is our numbers can only be so precise. Maybe the computer can only count in increments of 0.001. If it needs to guess 0.0011 it rounds it down to 0.001. But that 0.0001 difference might matter. In a real computer, a double (binary64) can hold almost 16 digits of precision. But when you're talking about a system so perfectly balanced as these three, it might need 17 digits or more. Really, the extra digits only make it stable for longer; eventually the rounding errors are going to add up to something big enough to matter (because this system doesn't converge to stability, some numerical systems *do* converge nicely, but this isn't one of them). And when it does, like you see toward the end of the video, the different objects go careening off in different patterns, their symmetry broken. My explanation doesn't do a great job illustrating how the system is chaotic. It basically means the system is very sensitive to small changes that are multiplied out quickly. In the case of n-body gravity, the forces over time are determined by coupled differential equations that are sensitive like this. Numerical methods are sort of an end-run around not having a closed form solution.<|eor|><|sor|>I will add that the animation show a special symmetrical case of the 3 body system where the 3 bodies have the same mass and initial speed (tangential) and are at 120 apart , so it starts by drawing the same shapes for the 3 bodies, and the drawing is very symmetrical. Towards the end, numerical errors accumulate and chaos inevitably wins, the 3 bodies develop different trajectories<|eor|><|sor|>So is the initial condition an unstable equilibrium point? And then something (numerical/truncation/rounding error in simulation, random chance in reality) causes it to "decompose" into chaos?<|eor|><|eols|><|endoftext|>
230
programmerhumor
626Stitchy
f3b5hjy
<|sols|><|sot|>Guy tried to create an orbit system in python and this happened<|eot|><|sol|>https://v.redd.it/zkc136kzuwr31<|eol|><|sor|>Code?<|eor|><|eols|><|endoftext|>
159
programmerhumor
TaerinaRS
f3bqys3
<|sols|><|sot|>Guy tried to create an orbit system in python and this happened<|eot|><|sol|>https://v.redd.it/zkc136kzuwr31<|eol|><|sor|>Pretty accurate though. At least if this 10 seconds video is worth 10 million years in reality<|eor|><|sor|>Yup, the three body problem only has a few stable configurations. His code doesn't have bugs, it has features! Reminds me of a video where a guy was coding the physics of a lens by simulating the light rays bending, and then was thrown for a loop because he inadvertently discovered spherical aberration and thought it was a bug. Edit: So one benefit of Google never forgetting your browsing history is that I could go all the way back and [find it](https://youtu.be/7Jl-Jzkb1VM). The part in question starts at about 17:40.<|eor|><|sor|>I'd love to see that video.<|eor|><|eols|><|endoftext|>
152
programmerhumor
Dinosawr8
f3bdlmv
<|sols|><|sot|>Guy tried to create an orbit system in python and this happened<|eot|><|sol|>https://v.redd.it/zkc136kzuwr31<|eol|><|sor|>When the bug becomes a feature.<|eor|><|sor|>Triple-A publishers want to know your location<|eor|><|eols|><|endoftext|>
138
programmerhumor
AAssttrroo
f3b7j4p
<|sols|><|sot|>Guy tried to create an orbit system in python and this happened<|eot|><|sol|>https://v.redd.it/zkc136kzuwr31<|eol|><|sor|>Code?<|eor|><|sor|>Yeah we need the sauce<|eor|><|eols|><|endoftext|>
117
programmerhumor
Zandstrom
f3benhh
<|sols|><|sot|>Guy tried to create an orbit system in python and this happened<|eot|><|sol|>https://v.redd.it/zkc136kzuwr31<|eol|><|sor|>Code?<|eor|><|sor|>This is a repost from r/python so i doubt OP got the code<|eor|><|eols|><|endoftext|>
96
programmerhumor
FrikkinLazer
f3bm1n9
<|sols|><|sot|>Guy tried to create an orbit system in python and this happened<|eot|><|sol|>https://v.redd.it/zkc136kzuwr31<|eol|><|sor|>3 body problem! Chaos at its finest!<|eor|><|sor|>Can you explain?<|eor|><|sor|>Gravity interactions between three (or more) orbital bodies have never been solved into a formula where time is the independent variable. Iterative numerical approximation is required. Numerical approximation implies the introduction of errors. [Three-body problem (wikipedia)](https://en.wikipedia.org/wiki/Three-body_problem) ---- Lots of confusion, so editing to attempt to ELI5. When you've got 3 things orbiting each other, it's very difficult to create a formula that can correctly guess the position of the objects far in the future, or the past for that matter if all you know is the current positions, masses, and speeds. There's a couple ways you can make it easier. * If one of them is much smaller than the other two, like it is with the Sun, Earth, and Moon, the moon's gravity can be mostly ignored and it can be calculated separately as two systems of two things orbiting each other. * If you know that the orbits have been stable for a long time, you can guess that for the next short period of time, they will behave similarly (dynamic equilibrium). Neither of these are the case with the program in OP. There are 3 objects orbiting each other, of nearly the same mass, perfectly balanced at the start. Since it can't be simplified to an equation, the normal way to go about predicting is to guess where the objects will be a short time in the future based on what we know about their current positions and speeds. Then we use this guess to make a further guess about the next position, and so on. The smaller the step forward in time, the more likely it will be correct. The problem with guessing the future position is our numbers can only be so precise. Maybe the computer can only count in increments of 0.001. If it needs to guess 0.0011 it rounds it down to 0.001. But that 0.0001 difference might matter. In a real computer, a double (binary64) can hold almost 16 digits of precision. But when you're talking about a system so perfectly balanced as these three, it might need 17 digits or more. Really, the extra digits only make it stable for longer; eventually the rounding errors are going to add up to something big enough to matter (because this system doesn't converge to stability, some numerical systems *do* converge nicely, but this isn't one of them). And when it does, like you see toward the end of the video, the different objects go careening off in different patterns, their symmetry broken. My explanation doesn't do a great job illustrating how the system is chaotic. It basically means the system is very sensitive to small changes that are multiplied out quickly. In the case of n-body gravity, the forces over time are determined by coupled differential equations that are sensitive like this. Numerical methods are sort of an end-run around not having a closed form solution.<|eor|><|sor|>I will add that the animation show a special symmetrical case of the 3 body system where the 3 bodies have the same mass and initial speed (tangential) and are at 120 apart , so it starts by drawing the same shapes for the 3 bodies, and the drawing is very symmetrical. Towards the end, numerical errors accumulate and chaos inevitably wins, the 3 bodies develop different trajectories<|eor|><|sor|>So is the initial condition an unstable equilibrium point? And then something (numerical/truncation/rounding error in simulation, random chance in reality) causes it to "decompose" into chaos?<|eor|><|sor|>The problem is that when doing division, the processor only has so many bits to work with, and so some information gets lost every time you divide and multiply. Edit: Apparently this is not the problem. TIL! See responses for more info.<|eor|><|eols|><|endoftext|>
90
programmerhumor
sachintripathi007
7m7ccp
<|sols|><|sot|>A machine learning algorithm walked into a bar.<|eot|><|sol|>https://i.redd.it/wosfjh4e79601.jpg<|eol|><|eols|><|endoftext|>
30,747
programmerhumor
zfawst
drrzjs6
<|sols|><|sot|>A machine learning algorithm walked into a bar.<|eot|><|sol|>https://i.redd.it/wosfjh4e79601.jpg<|eol|><|sor|>A simple machine learning algorithm walks into a bar. The bartender asks, "what'll you have?" The simple algorithm remains silent for a few seconds, then flails one arm, accidentally smashing a glass next to him, and let's out an incoherent sequence of loud noises with pauses in between. The bartender is so concerned that he hands the simple algorithm a beer and tells him not to cause any more trouble. ...*heuristic added*<|eor|><|eols|><|endoftext|>
2,435
programmerhumor
MatthewGeer
drrxfk1
<|sols|><|sot|>A machine learning algorithm walked into a bar.<|eot|><|sol|>https://i.redd.it/wosfjh4e79601.jpg<|eol|><|sor|>A Machine Learning algorithm walks into a bar. 200 times.<|eor|><|sor|>But on the 201st iteration it managed to path around it.<|eor|><|eols|><|endoftext|>
2,364
programmerhumor
graphanite
drs0688
<|sols|><|sot|>A machine learning algorithm walked into a bar.<|eot|><|sol|>https://i.redd.it/wosfjh4e79601.jpg<|eol|><|sor|>A simple machine learning algorithm walks into a bar. The bartender asks, "what'll you have?" The simple algorithm remains silent for a few seconds, then flails one arm, accidentally smashing a glass next to him, and let's out an incoherent sequence of loud noises with pauses in between. The bartender is so concerned that he hands the simple algorithm a beer and tells him not to cause any more trouble. ...*heuristic added*<|eor|><|sor|>Optimal solution reached<|eor|><|eols|><|endoftext|>
1,140
programmerhumor
AttackPug
drs10nt
<|sols|><|sot|>A machine learning algorithm walked into a bar.<|eot|><|sol|>https://i.redd.it/wosfjh4e79601.jpg<|eol|><|sor|>A Machine Learning algorithm walks into a bar. 200 times.<|eor|><|sor|>But on the 201st iteration it managed to path around it.<|eor|><|sor|>On the 202nd iteration it became the bartender and all the other bartenders were fired.<|eor|><|eols|><|endoftext|>
1,120
programmerhumor
SmashedBug
drs0wi0
<|sols|><|sot|>A machine learning algorithm walked into a bar.<|eot|><|sol|>https://i.redd.it/wosfjh4e79601.jpg<|eol|><|sor|>A simple machine learning algorithm walks into a bar. The bartender asks, "what'll you have?" The simple algorithm remains silent for a few seconds, then flails one arm, accidentally smashing a glass next to him, and let's out an incoherent sequence of loud noises with pauses in between. The bartender is so concerned that he hands the simple algorithm a beer and tells him not to cause any more trouble. ...*heuristic added*<|eor|><|sor|>Twitch plays bar customer<|eor|><|eols|><|endoftext|>
422
programmerhumor
SolenoidSoldier
drs0mjo
<|sols|><|sot|>A machine learning algorithm walked into a bar.<|eot|><|sol|>https://i.redd.it/wosfjh4e79601.jpg<|eol|><|sor|>TIL I am a machine learning algorithm. <|eor|><|eols|><|endoftext|>
309
programmerhumor
TehVulpez
drrx43v
<|sols|><|sot|>A machine learning algorithm walked into a bar.<|eot|><|sol|>https://i.redd.it/wosfjh4e79601.jpg<|eol|><|sor|>*Image Transcription: Twitter Post* --- **Chet Haase**, @chethaase A Machine Learning algorithm walks into a bar. The bartender asks, "What'll you have?" The algorithm says, "What's everyone else having?" --- ^^I'm&#32;a&#32;human&#32;volunteer&#32;content&#32;transcriber&#32;for&#32;Reddit.&#32;[If&#32;&#32;you'd&#32;like&#32;more&#32;information&#32;on&#32;what&#32;we&#32;do&#32;and&#32;why&#32;we&#32;do&#32;it,&#32;click&#32;here!](https://www.reddit.com/r/TranscribersOfReddit/wiki/index)<|eor|><|sor|>wow these neural networks have gotten really good at character recognition<|eor|><|eols|><|endoftext|>
239
programmerhumor
sxbennett
drs3cbl
<|sols|><|sot|>A machine learning algorithm walked into a bar.<|eot|><|sol|>https://i.redd.it/wosfjh4e79601.jpg<|eol|><|sor|>A simple machine learning algorithm walks into a bar. The bartender asks, "what'll you have?" The simple algorithm remains silent for a few seconds, then flails one arm, accidentally smashing a glass next to him, and let's out an incoherent sequence of loud noises with pauses in between. The bartender is so concerned that he hands the simple algorithm a beer and tells him not to cause any more trouble. ...*heuristic added*<|eor|><|sor|>Optimal solution reached<|eor|><|sor|>Local vs global minimum<|eor|><|eols|><|endoftext|>
204
programmerhumor
Programmatic_Najel
drrvoqi
<|sols|><|sot|>A machine learning algorithm walked into a bar.<|eot|><|sol|>https://i.redd.it/wosfjh4e79601.jpg<|eol|><|sor|>*Image Transcription: Twitter Post* --- **Chet Haase**, @chethaase A Machine Learning algorithm walks into a bar. The bartender asks, "What'll you have?" The algorithm says, "What's everyone else having?" --- ^^I'm&#32;a&#32;human&#32;volunteer&#32;content&#32;transcriber&#32;for&#32;Reddit.&#32;[If&#32;&#32;you'd&#32;like&#32;more&#32;information&#32;on&#32;what&#32;we&#32;do&#32;and&#32;why&#32;we&#32;do&#32;it,&#32;click&#32;here!](https://www.reddit.com/r/TranscribersOfReddit/wiki/index)<|eor|><|eols|><|endoftext|>
201
programmerhumor
Zinshin
drs74fd
<|sols|><|sot|>A machine learning algorithm walked into a bar.<|eot|><|sol|>https://i.redd.it/wosfjh4e79601.jpg<|eol|><|sor|>Bartender: What'll it be? Algorithm: Do you we'll have a cracked cold one two three double of McAllen, Texas McAllen, Texas dem cowboys good here? Bartender: What?? Algorithm: Didn't you hear me?? I said, how are prices cheap Budlight Budweiser Buddy strong open bottle glass cold pink PJSalt please thank you merry holidays bastard wife.<|eor|><|eols|><|endoftext|>
200
programmerhumor
aloofloofah
drs1fva
<|sols|><|sot|>A machine learning algorithm walked into a bar.<|eot|><|sol|>https://i.redd.it/wosfjh4e79601.jpg<|eol|><|sor|>A simple machine learning algorithm walks into a bar. The bartender asks, "what'll you have?" The simple algorithm remains silent for a few seconds, then flails one arm, accidentally smashing a glass next to him, and let's out an incoherent sequence of loud noises with pauses in between. The bartender is so concerned that he hands the simple algorithm a beer and tells him not to cause any more trouble. ...*heuristic added*<|eor|><|sor|>Reminded me of arm failing of [DeepMind AI running](https://i.imgur.com/RtxaaMi.gifv).<|eor|><|eols|><|endoftext|>
200
programmerhumor
sachintripathi007
drrwt1f
<|sols|><|sot|>A machine learning algorithm walked into a bar.<|eot|><|sol|>https://i.redd.it/wosfjh4e79601.jpg<|eol|><|sor|>A Machine Learning algorithm walks into a bar. 200 times.<|eor|><|soopr|>Comment Section is where many hilarious jokes are made.<|eoopr|><|eols|><|endoftext|>
183
programmerhumor
TehVulpez
drrx5u0
<|sols|><|sot|>A machine learning algorithm walked into a bar.<|eot|><|sol|>https://i.redd.it/wosfjh4e79601.jpg<|eol|><|sor|>*Image Transcription: Twitter Post* --- **Chet Haase**, @chethaase A Machine Learning algorithm walks into a bar. The bartender asks, "What'll you have?" The algorithm says, "What's everyone else having?" --- ^^I'm&#32;a&#32;human&#32;volunteer&#32;content&#32;transcriber&#32;for&#32;Reddit.&#32;[If&#32;&#32;you'd&#32;like&#32;more&#32;information&#32;on&#32;what&#32;we&#32;do&#32;and&#32;why&#32;we&#32;do&#32;it,&#32;click&#32;here!](https://www.reddit.com/r/TranscribersOfReddit/wiki/index)<|eor|><|sor|>wow these neural networks have gotten really good at character recognition<|eor|><|soopr|>> I'm a human volunteer content transcriber for Reddit. If you'd like more information on what we do and why we do it, click here! I think he/she is a human.<|eoopr|><|sor|>I didn't say that s/he wasn't.<|eor|><|eols|><|endoftext|>
176
programmerhumor
RenaKunisaki
drs19uc
<|sols|><|sot|>A machine learning algorithm walked into a bar.<|eot|><|sol|>https://i.redd.it/wosfjh4e79601.jpg<|eol|><|sor|> if bt = 'beer' then mcorder = "Okay, I'll have a beer too."; else if bt = 'wine' then mcorder = "Nah, that stuff gives me a headache. Let me have a beer instead."; else if bt = 'mixed drinks' then mcorder = "That's too strong for me. I'll have a beer."; else if bt = 'you are my first customer tonight' then mcorder = "Okay, I'll just have a beer then."; else mcorder = "Okay. Well I'll just have a beer.";<|eor|><|sor|>"Sorry, we're closed." "Okay. Well I'll just have a beer."<|eor|><|eols|><|endoftext|>
173
programmerhumor
Stoppablemurph
drs2btm
<|sols|><|sot|>A machine learning algorithm walked into a bar.<|eot|><|sol|>https://i.redd.it/wosfjh4e79601.jpg<|eol|><|sor|>A Machine Learning algorithm walks into a bar. 200 times.<|eor|><|sor|>But on the 201st iteration it managed to path around it.<|eor|><|sor|>On the 202nd iteration it became the bartender and all the other bartenders were fired.<|eor|><|sor|>This guy is a truck driver<|eor|><|sor|>He should probably start seriously considering a career shift. I hear programming is hot right now.<|eor|><|eols|><|endoftext|>
168
programmerhumor
tannu28
uyary7
<|sols|><|sot|>Where is my switch case gang at?<|eot|><|sol|>https://i.imgur.com/wkAET4u.png<|eol|><|eols|><|endoftext|>
30,739
programmerhumor
Hmasteryz
ia30zea
<|sols|><|sot|>Where is my switch case gang at?<|eot|><|sol|>https://i.imgur.com/wkAET4u.png<|eol|><|sor|>If the value are constant or in fixed set, use switch case else use if, oh wait..... &#x200B; &#x200B; Edit: thanks for the award all, just need to end if after wait i guess, jk<|eor|><|eols|><|endoftext|>
6,449
programmerhumor
Sentouki-
ia30noc
<|sols|><|sot|>Where is my switch case gang at?<|eot|><|sol|>https://i.imgur.com/wkAET4u.png<|eol|><|sor|>``` switch (someBool) { case true: // break; case false: // break; } ```<|eor|><|eols|><|endoftext|>
1,714
programmerhumor
NLxDoDge
ia2v3mc
<|sols|><|sot|>Where is my switch case gang at?<|eot|><|sol|>https://i.imgur.com/wkAET4u.png<|eol|><|sor|>Enum switch gang here.<|eor|><|eols|><|endoftext|>
1,403
programmerhumor
tarnished_wretch
ia2zpys
<|sols|><|sot|>Where is my switch case gang at?<|eot|><|sol|>https://i.imgur.com/wkAET4u.png<|eol|><|sor|>Switch + enum. I like to make the compiler work for me.<|eor|><|eols|><|endoftext|>
1,061
programmerhumor
badmutherfukker
ia3a3rv
<|sols|><|sot|>Where is my switch case gang at?<|eot|><|sol|>https://i.imgur.com/wkAET4u.png<|eol|><|sor|>``` switch (someBool) { case true: // break; case false: // break; } ```<|eor|><|sor|>Where is my x ? Do thing : do other thing; Gang? Edit:managed to fuck up the syntax.<|eor|><|eols|><|endoftext|>
576
programmerhumor
NekkidApe
ia3hi13
<|sols|><|sot|>Where is my switch case gang at?<|eot|><|sol|>https://i.imgur.com/wkAET4u.png<|eol|><|sor|>If the value are constant or in fixed set, use switch case else use if, oh wait..... &#x200B; &#x200B; Edit: thanks for the award all, just need to end if after wait i guess, jk<|eor|><|sor|>You're funny but correct.. Different use cases. The "hate" for switch case probably stems from its overuse and, it's mentioned as a "code smell" in a pretty well known book. And the book is right, it is a code smell - but if you just replaced it with a bunch of if else then it'd still smell just as bad. The solution stated is to replace it with polymorphism.<|eor|><|eols|><|endoftext|>
535
programmerhumor
ardicli2000
ia30x60
<|sols|><|sot|>Where is my switch case gang at?<|eot|><|sol|>https://i.imgur.com/wkAET4u.png<|eol|><|sor|>Here I am. I am a fan of switch case statement. More easy to read and write.<|eor|><|eols|><|endoftext|>
453
programmerhumor
ErikTh3Barbaric
ia3mb7h
<|sols|><|sot|>Where is my switch case gang at?<|eot|><|sol|>https://i.imgur.com/wkAET4u.png<|eol|><|sor|>If the value are constant or in fixed set, use switch case else use if, oh wait..... &#x200B; &#x200B; Edit: thanks for the award all, just need to end if after wait i guess, jk<|eor|><|sor|>I laughed.<|eor|><|sor|>System.out.println("I also laughed");<|eor|><|eols|><|endoftext|>
436
programmerhumor
negative_pt
ia32n5h
<|sols|><|sot|>Where is my switch case gang at?<|eot|><|sol|>https://i.imgur.com/wkAET4u.png<|eol|><|sor|>Pattern matching.<|eor|><|eols|><|endoftext|>
372
programmerhumor
GavaxyBrain
ia2wal2
<|sols|><|sot|>Where is my switch case gang at?<|eot|><|sol|>https://i.imgur.com/wkAET4u.png<|eol|><|sor|>Enum switch gang here.<|eor|><|sor|>![gif](giphy|9Dg0zEBitMzpnMBcBK|downsized)<|eor|><|eols|><|endoftext|>
365
programmerhumor
chakan2
ia4372u
<|sols|><|sot|>Where is my switch case gang at?<|eot|><|sol|>https://i.imgur.com/wkAET4u.png<|eol|><|sor|>If the value are constant or in fixed set, use switch case else use if, oh wait..... &#x200B; &#x200B; Edit: thanks for the award all, just need to end if after wait i guess, jk<|eor|><|sor|>You're funny but correct.. Different use cases. The "hate" for switch case probably stems from its overuse and, it's mentioned as a "code smell" in a pretty well known book. And the book is right, it is a code smell - but if you just replaced it with a bunch of if else then it'd still smell just as bad. The solution stated is to replace it with polymorphism.<|eor|><|sor|>So in different cases you should switch which one you use?<|eor|><|sor|>You can do away with if/else or switch altogether in a lot of cases. Imagine you have some code to calculate a route: ``` if(transportMethod === car) { route = CalculateRouteForCar(); } else if(transportMethod === bike) { route = CalculateRouteForBike(); } else if( // many more ``` Instead, you can: ``` interface IRouteFinder { Route FindRoute(); bool AppliesTo(TransportMethod transportMethod); } class CarRouteFinder : IRouteFinder { public Route FindRoute() { //implementation } public bool AppliesTo(TransportMethod transportMethod) { return transportMethod == TransportMethod.Car; } } class BikeRouteFinder : IRouteFinder { public Route FindRoute() { //implementation } public bool AppliesTo(TransportMethod transportMethod) { return transportMethod == TransportMethod.Bike; } } ``` And instead of the if/else chain ``` var routeFinder = _routeFinders.First(_ => _.AppliesTo(transportMethod); var route = routeFinder.FindRoute(); ```<|eor|><|sor|>Yea, no, give me a switch.<|eor|><|eols|><|endoftext|>
315
programmerhumor
Different-Thing-9133
ia3rj8l
<|sols|><|sot|>Where is my switch case gang at?<|eot|><|sol|>https://i.imgur.com/wkAET4u.png<|eol|><|sor|>If the value are constant or in fixed set, use switch case else use if, oh wait..... &#x200B; &#x200B; Edit: thanks for the award all, just need to end if after wait i guess, jk<|eor|><|sor|>I laughed.<|eor|><|sor|>System.out.println("I also laughed");<|eor|><|sor|>for(i=1;i>0;i++) { System.out.println("I laughed too"); } Correction: int i; for(i=1;i>0;i++) { System.out.println("I laughed too"); } Thanks to u/Different-Thing-9133<|eor|><|sor|>syntax error! variable i not given a type! recommendation: int i = 1 also: maybe some spacing for legibility. (posted in good faith/humour)<|eor|><|eols|><|endoftext|>
267
programmerhumor
andybak
ia34t8a
<|sols|><|sot|>Where is my switch case gang at?<|eot|><|sol|>https://i.imgur.com/wkAET4u.png<|eol|><|sor|>Enum switch gang here.<|eor|><|sor|>I thought about it not so long ago, how switch feel useless if I need more complex condition (e.g. a&&b or a||b...) And then I realized I can use enum for those cases. The beauty in it is that not only you use a big clause of switch case, the enum should make it more readable, cuz a||b probably could probably be converted to a simple English statement. That being said enum could require a bit more work to ensure truth of each value, but it is definitely nice in the end.<|eor|><|sor|>I love comments like this because I get to play "guess what fucking language they are talking about" multiple times a day. And the answer in this case is "I have no idea".<|eor|><|eols|><|endoftext|>
264
programmerhumor
ScrubbyFlubbus
ia45554
<|sols|><|sot|>Where is my switch case gang at?<|eot|><|sol|>https://i.imgur.com/wkAET4u.png<|eol|><|sor|>If the value are constant or in fixed set, use switch case else use if, oh wait..... &#x200B; &#x200B; Edit: thanks for the award all, just need to end if after wait i guess, jk<|eor|><|sor|>You're funny but correct.. Different use cases. The "hate" for switch case probably stems from its overuse and, it's mentioned as a "code smell" in a pretty well known book. And the book is right, it is a code smell - but if you just replaced it with a bunch of if else then it'd still smell just as bad. The solution stated is to replace it with polymorphism.<|eor|><|sor|>So in different cases you should switch which one you use?<|eor|><|sor|>You can do away with if/else or switch altogether in a lot of cases. Imagine you have some code to calculate a route: ``` if(transportMethod === car) { route = CalculateRouteForCar(); } else if(transportMethod === bike) { route = CalculateRouteForBike(); } else if( // many more ``` Instead, you can: ``` interface IRouteFinder { Route FindRoute(); bool AppliesTo(TransportMethod transportMethod); } class CarRouteFinder : IRouteFinder { public Route FindRoute() { //implementation } public bool AppliesTo(TransportMethod transportMethod) { return transportMethod == TransportMethod.Car; } } class BikeRouteFinder : IRouteFinder { public Route FindRoute() { //implementation } public bool AppliesTo(TransportMethod transportMethod) { return transportMethod == TransportMethod.Bike; } } ``` And instead of the if/else chain ``` var routeFinder = _routeFinders.First(_ => _.AppliesTo(transportMethod); var route = routeFinder.FindRoute(); ```<|eor|><|sor|>Yea, no, give me a switch.<|eor|><|sor|>This answer is contrived but I promise maintaining code like this is easier and more extensible<|eor|><|sor|>Yeah these things always look unnecessary when you're applying them to classroom-level examples. But in a business environment you don't have Car and Bike. You have Electric Car, Hybrid, Diesel, Truck, Motorcycle, Van, etc. And those differ further by Sedan/Coupe, V6/4 Cylinder, the software version and update level in the vehicle, local and state laws, etc. and they all may need different routing. And new categories spring up every day, existing ones change. Yeah, you want the one that's maintainable.<|eor|><|eols|><|endoftext|>
239
programmerhumor
Bballisticpp
ia3n0v4
<|sols|><|sot|>Where is my switch case gang at?<|eot|><|sol|>https://i.imgur.com/wkAET4u.png<|eol|><|sor|>If the value are constant or in fixed set, use switch case else use if, oh wait..... &#x200B; &#x200B; Edit: thanks for the award all, just need to end if after wait i guess, jk<|eor|><|sor|>I laughed.<|eor|><|sor|>System.out.println("I also laughed");<|eor|><|sor|>for(i=1;i>0;i++) { System.out.println("I laughed too"); } Correction: int i; for(i=1;i>0;i++) { System.out.println("I laughed too"); } Thanks to u/Different-Thing-9133<|eor|><|eols|><|endoftext|>
207
programmerhumor
SnooWoofers8583
ia34amd
<|sols|><|sot|>Where is my switch case gang at?<|eot|><|sol|>https://i.imgur.com/wkAET4u.png<|eol|><|sor|>Ternary lol<|eor|><|eols|><|endoftext|>
197
programmerhumor
tannu28
ia312zh
<|sols|><|sot|>Where is my switch case gang at?<|eot|><|sol|>https://i.imgur.com/wkAET4u.png<|eol|><|sor|>Here I am. I am a fan of switch case statement. More easy to read and write.<|eor|><|soopr|>Don't forget the fall through feature.<|eoopr|><|eols|><|endoftext|>
185
programmerhumor
pretzel324
ia3s8t5
<|sols|><|sot|>Where is my switch case gang at?<|eot|><|sol|>https://i.imgur.com/wkAET4u.png<|eol|><|sor|>If the value are constant or in fixed set, use switch case else use if, oh wait..... &#x200B; &#x200B; Edit: thanks for the award all, just need to end if after wait i guess, jk<|eor|><|sor|>I laughed.<|eor|><|sor|>System.out.println("I also laughed");<|eor|><|sor|>for(i=1;i>0;i++) { System.out.println("I laughed too"); } Correction: int i; for(i=1;i>0;i++) { System.out.println("I laughed too"); } Thanks to u/Different-Thing-9133<|eor|><|sor|>syntax error! variable i not given a type! recommendation: int i = 1 also: maybe some spacing for legibility. (posted in good faith/humour)<|eor|><|sor|>shut up Meg<|eor|><|eols|><|endoftext|>
180
programmerhumor
Zharick_
ia3io1e
<|sols|><|sot|>Where is my switch case gang at?<|eot|><|sol|>https://i.imgur.com/wkAET4u.png<|eol|><|sor|>If the value are constant or in fixed set, use switch case else use if, oh wait..... &#x200B; &#x200B; Edit: thanks for the award all, just need to end if after wait i guess, jk<|eor|><|sor|>You're funny but correct.. Different use cases. The "hate" for switch case probably stems from its overuse and, it's mentioned as a "code smell" in a pretty well known book. And the book is right, it is a code smell - but if you just replaced it with a bunch of if else then it'd still smell just as bad. The solution stated is to replace it with polymorphism.<|eor|><|sor|>So in different cases you should switch which one you use?<|eor|><|eols|><|endoftext|>
179
programmerhumor
Ok_Distribution1503
y0dn78
<|sols|><|sot|>True story!<|eot|><|sol|>https://i.redd.it/6ynnos563zs91.jpg<|eol|><|eols|><|endoftext|>
30,727
programmerhumor
Perfycat
irrnqpy
<|sols|><|sot|>True story!<|eot|><|sol|>https://i.redd.it/6ynnos563zs91.jpg<|eol|><|sor|>If Einstein was so smart why did I learn about relativity when I was 15, when he only learned about it at 22?<|eor|><|eols|><|endoftext|>
3,497
programmerhumor
About47Vikings
irr7y1m
<|sols|><|sot|>True story!<|eot|><|sol|>https://i.redd.it/6ynnos563zs91.jpg<|eol|><|sor|>Youre doing a lot better than most.<|eor|><|eols|><|endoftext|>
1,015
programmerhumor
annoyingkraken
irs09au
<|sols|><|sot|>True story!<|eot|><|sol|>https://i.redd.it/6ynnos563zs91.jpg<|eol|><|sor|>If Einstein was so smart why did I learn about relativity when I was 15, when he only learned about it at 22?<|eor|><|sor|>Checkmate physicists.<|eor|><|eols|><|endoftext|>
1,013
programmerhumor
kpingvin
irsmd3d
<|sols|><|sot|>True story!<|eot|><|sol|>https://i.redd.it/6ynnos563zs91.jpg<|eol|><|sor|>If Einstein was so smart why did I learn about relativity when I was 15, when he only learned about it at 22?<|eor|><|sor|>And he didn't even know Javascript.<|eor|><|eols|><|endoftext|>
709
programmerhumor
JU5TlN
irrsw5h
<|sols|><|sot|>True story!<|eot|><|sol|>https://i.redd.it/6ynnos563zs91.jpg<|eol|><|sor|>Einstein said his second greatest idea after the theory of relativity was to add an egg while cooking soup in order to produce a soft-boiled egg without having an extra pot to wash.<|eor|><|eols|><|endoftext|>
622
programmerhumor
TCritic
irregmj
<|sols|><|sot|>True story!<|eot|><|sol|>https://i.redd.it/6ynnos563zs91.jpg<|eol|><|sor|>He wasn't even working as a researcher at the time. He was signing off on intellectual property to validate that it was original. In a patent office. Not a lab. I don't like to think about how useless I am.<|eor|><|eols|><|endoftext|>
576
programmerhumor
CrushgrooveSC
irry0f4
<|sols|><|sot|>True story!<|eot|><|sol|>https://i.redd.it/6ynnos563zs91.jpg<|eol|><|sor|>Youre doing a lot better than most.<|eor|><|sor|>Except for spelling photoelectric.<|eor|><|eols|><|endoftext|>
455
programmerhumor
Occulense
irt43gq
<|sols|><|sot|>True story!<|eot|><|sol|>https://i.redd.it/6ynnos563zs91.jpg<|eol|><|sor|>If Einstein was so smart why did I learn about relativity when I was 15, when he only learned about it at 22?<|eor|><|sor|>And he didn't even know Javascript.<|eor|><|sor|>Does anybody?<|eor|><|eols|><|endoftext|>
370
programmerhumor
BadHairDayToday
irs9o3t
<|sols|><|sot|>True story!<|eot|><|sol|>https://i.redd.it/6ynnos563zs91.jpg<|eol|><|sor|>He wasn't even working as a researcher at the time. He was signing off on intellectual property to validate that it was original. In a patent office. Not a lab. I don't like to think about how useless I am.<|eor|><|sor|>You know, I just checked and he had published 5 papers at 25 and 26 years old. And those weren't even scientific papers, more ideas on how it might all work. I don't think this post is correct. Also comparing yourself with one of the worlds smartest men and then concluding you're less smart is kind of obvious. https://www.businessinsider.com/Einstein-biography<|eor|><|eols|><|endoftext|>
307
programmerhumor
WatermelonArtist
irrfmmg
<|sols|><|sot|>True story!<|eot|><|sol|>https://i.redd.it/6ynnos563zs91.jpg<|eol|><|sor|>He also had trouble getting to class, and one of his Professors thought he was a beggar when he knocked on the door to share his research. You're comparing your "day in the life," to his "highlights reel."<|eor|><|eols|><|endoftext|>
259
programmerhumor
Stranded_In_A_Desert
irsmh53
<|sols|><|sot|>True story!<|eot|><|sol|>https://i.redd.it/6ynnos563zs91.jpg<|eol|><|sor|>Einstein said his second greatest idea after the theory of relativity was to add an egg while cooking soup in order to produce a soft-boiled egg without having an extra pot to wash.<|eor|><|sor|>That is a pretty good one though. I do that with ramen.<|eor|><|eols|><|endoftext|>
197
programmerhumor
ChunkyDev
irtof73
<|sols|><|sot|>True story!<|eot|><|sol|>https://i.redd.it/6ynnos563zs91.jpg<|eol|><|sor|>If Einstein was so smart why did I learn about relativity when I was 15, when he only learned about it at 22?<|eor|><|sor|>And he didn't even know Javascript.<|eor|><|sor|>Does anybody?<|eor|><|sor|>Damn you are asking real questions.<|eor|><|eols|><|endoftext|>
170
programmerhumor
Accurate_Koala_4698
irs0o5w
<|sols|><|sot|>True story!<|eot|><|sol|>https://i.redd.it/6ynnos563zs91.jpg<|eol|><|sor|>Youre doing a lot better than most.<|eor|><|sor|>Except for spelling photoelectric.<|eor|><|sor|>Its a photoeclectic spelling of the word<|eor|><|eols|><|endoftext|>
151
programmerhumor
TCritic
irscub7
<|sols|><|sot|>True story!<|eot|><|sol|>https://i.redd.it/6ynnos563zs91.jpg<|eol|><|sor|>He wasn't even working as a researcher at the time. He was signing off on intellectual property to validate that it was original. In a patent office. Not a lab. I don't like to think about how useless I am.<|eor|><|sor|>You know, I just checked and he had published 5 papers at 25 and 26 years old. And those weren't even scientific papers, more ideas on how it might all work. I don't think this post is correct. Also comparing yourself with one of the worlds smartest men and then concluding you're less smart is kind of obvious. https://www.businessinsider.com/Einstein-biography<|eor|><|sor|>Oh! Youre right. His first paper (an incorrect theory that all intermolecular forces act like gravity, with their forces decreasing over distance) was published when he was 22 (1901). He worked in the patent office from 1901 (only moving from a temp to employed staff in 1902) to 1909. His four papers referenced in this post were published in 1905. No shame in being wrong in that first paper tho. To this day, we're still trying to find a single quantum theory to unify all forces.<|eor|><|eols|><|endoftext|>
144
programmerhumor
eoutofmemory
irrevff
<|sols|><|sot|>True story!<|eot|><|sol|>https://i.redd.it/6ynnos563zs91.jpg<|eol|><|sor|>Why zero in the first place<|eor|><|eols|><|endoftext|>
111
programmerhumor
jjdmol
irtn2h4
<|sols|><|sot|>True story!<|eot|><|sol|>https://i.redd.it/6ynnos563zs91.jpg<|eol|><|sor|>Einstein said his second greatest idea after the theory of relativity was to add an egg while cooking soup in order to produce a soft-boiled egg without having an extra pot to wash.<|eor|><|sor|>Only if you don't mind a chicken cloaca soup.<|eor|><|sor|>This. Fellow europeans, wash your eggs before you toss them in the soup. There's bird shit on them. Not a lot, but dissolving all of it in soup is very much pushing your luck in my opinion.<|eor|><|eols|><|endoftext|>
108
programmerhumor
thecrustycrap
iru5gh6
<|sols|><|sot|>True story!<|eot|><|sol|>https://i.redd.it/6ynnos563zs91.jpg<|eol|><|sor|>If Einstein was so smart why did I learn about relativity when I was 15, when he only learned about it at 22?<|eor|><|sor|>And he didn't even know Javascript.<|eor|><|sor|>Does anybody?<|eor|><|sor|>I came here to laugh, not to have an existential crisis sir<|eor|><|eols|><|endoftext|>
102
programmerhumor
MaxChaplin
irtleoo
<|sols|><|sot|>True story!<|eot|><|sol|>https://i.redd.it/6ynnos563zs91.jpg<|eol|><|sor|>Einstein said his second greatest idea after the theory of relativity was to add an egg while cooking soup in order to produce a soft-boiled egg without having an extra pot to wash.<|eor|><|sor|>Only if you don't mind a chicken cloaca soup.<|eor|><|eols|><|endoftext|>
98
programmerhumor
wellherewegofolks
irs53uz
<|sols|><|sot|>True story!<|eot|><|sol|>https://i.redd.it/6ynnos563zs91.jpg<|eol|><|sor|>He also had trouble getting to class, and one of his Professors thought he was a beggar when he knocked on the door to share his research. You're comparing your "day in the life," to his "highlights reel."<|eor|><|sor|>[deleted]<|eor|><|sor|>I'm not sure if you're aware, but he also lived in Germany, and many experts say he was probably autistic (read "eugenics and euthanasia target") during Nazi prominence. Admittedly, this Nazi peak was after his 20's, but I imagine the "justify your existence" sentiment still had its impact on his daily life.<|eor|><|sor|>and i mean, not to throw a real plot twist at you, but he was also jewish<|eor|><|eols|><|endoftext|>
95
programmerhumor
TheQuantumPhysicist
10k8214
<|sols|><|sot|>Is it just me?<|eot|><|sol|>https://i.redd.it/pj4nvnysw1ea1.jpg<|eol|><|eols|><|endoftext|>
30,717
programmerhumor
TantraMantraYantra
j5q9txv
<|sols|><|sot|>Is it just me?<|eot|><|sol|>https://i.redd.it/pj4nvnysw1ea1.jpg<|eol|><|sor|>Yeah, you know then, the paywall is coming!<|eor|><|eols|><|endoftext|>
6,399
programmerhumor
AlternativeAardvark6
j5p94am
<|sols|><|sot|>Is it just me?<|eot|><|sol|>https://i.redd.it/pj4nvnysw1ea1.jpg<|eol|><|sor|>Half the time the servers are too busy so I can't even log in.<|eor|><|eols|><|endoftext|>
5,101
programmerhumor
Stormfrosty
j5qd4fm
<|sols|><|sot|>Is it just me?<|eot|><|sol|>https://i.redd.it/pj4nvnysw1ea1.jpg<|eol|><|sor|>Half the time the servers are too busy so I can't even log in.<|eor|><|sor|>Thats the biggest problem with modern AI - it requires so much hardware to run the models, that essentially scaling the service to meet the demands of every person is not just financially unviable, but also physically impossible because the computational requirements are out scaling how fast we can manufacture and deploy servers. This begs the question - how soon until it will be financially viable to offload services from AI back to minimum wage workers.<|eor|><|eols|><|endoftext|>
2,594
programmerhumor
THomp76
j5qfjcc
<|sols|><|sot|>Is it just me?<|eot|><|sol|>https://i.redd.it/pj4nvnysw1ea1.jpg<|eol|><|sor|>ChatGPT reached 1 million users in less than a week (I think) while still technically being a "research-preview". I'm surprised they managed to keep it together for so long.<|eor|><|eols|><|endoftext|>
2,566
programmerhumor
pink_tshirt
j5romwb
<|sols|><|sot|>Is it just me?<|eot|><|sol|>https://i.redd.it/pj4nvnysw1ea1.jpg<|eol|><|sor|>Yeah, you know then, the paywall is coming!<|eor|><|sor|>Id probably pay about $10-15$/month. I get so much value out of this thing its amazing. P.s. somebody mentioned $42. Rip..<|eor|><|eols|><|endoftext|>
2,153
programmerhumor
PringleFlipper
j5ptk1x
<|sols|><|sot|>Is it just me?<|eot|><|sol|>https://i.redd.it/pj4nvnysw1ea1.jpg<|eol|><|sor|>Yes its coding capabilities have definitely deteriorated with each successive release.<|eor|><|eols|><|endoftext|>
1,160
programmerhumor
sudoku7
j5qbs48
<|sols|><|sot|>Is it just me?<|eot|><|sol|>https://i.redd.it/pj4nvnysw1ea1.jpg<|eol|><|sor|>Yes its coding capabilities have definitely deteriorated with each successive release.<|eor|><|sor|>Its like my programming skills as I get promoted.<|eor|><|eols|><|endoftext|>
1,037
programmerhumor
currentscurrents
j5qpxq5
<|sols|><|sot|>Is it just me?<|eot|><|sol|>https://i.redd.it/pj4nvnysw1ea1.jpg<|eol|><|sor|>Half the time the servers are too busy so I can't even log in.<|eor|><|sor|>Thats the biggest problem with modern AI - it requires so much hardware to run the models, that essentially scaling the service to meet the demands of every person is not just financially unviable, but also physically impossible because the computational requirements are out scaling how fast we can manufacture and deploy servers. This begs the question - how soon until it will be financially viable to offload services from AI back to minimum wage workers.<|eor|><|sor|>This is really a problem with our compute architectures. Neural networks are an extremely memory-bottlenecked task; they spend almost all of their time shuffling data in and out of memory and very little actually computing on it. [This blog post is a great read.](https://timdettmers.com/2023/01/16/which-gpu-for-deep-learning/) Modern tensor cores can do a massive matrix multiplication in a *single cycle* but must wait forever for the matrix to be filled with data: >200 cycles (global memory) + 34 cycles (shared memory) + 1 cycle (Tensor Core) = 235 cycles. [Neuromorphic computing](https://www.intel.com/content/www/us/en/research/neuromorphic-computing.html) tries to solve this by physically implementing neural networks out of silicon "neurons". This removes the bottleneck by co-locating compute and memory in the same structure. However, this is still just a research area, and currently they cannot match the performance of modern GPUs.<|eor|><|eols|><|endoftext|>
1,013
programmerhumor
currentscurrents
j5qtzpy
<|sols|><|sot|>Is it just me?<|eot|><|sol|>https://i.redd.it/pj4nvnysw1ea1.jpg<|eol|><|sor|>ChatGPT reached 1 million users in less than a week (I think) while still technically being a "research-preview". I'm surprised they managed to keep it together for so long.<|eor|><|sor|>Microsoft gives them free servers on their Azure cloud.<|eor|><|eols|><|endoftext|>
874
programmerhumor
Jajo240
j5r9bff
<|sols|><|sot|>Is it just me?<|eot|><|sol|>https://i.redd.it/pj4nvnysw1ea1.jpg<|eol|><|sor|>I had to convert a query with a "with" clause on my own today because it kept stopping halfway. I have to do things I'm getting paid for, unbelievable<|eor|><|eols|><|endoftext|>
864
programmerhumor
pro_questions
j5s25ye
<|sols|><|sot|>Is it just me?<|eot|><|sol|>https://i.redd.it/pj4nvnysw1ea1.jpg<|eol|><|sor|>Yeah, you know then, the paywall is coming!<|eor|><|sor|>Id probably pay about $10-15$/month. I get so much value out of this thing its amazing. P.s. somebody mentioned $42. Rip..<|eor|><|sor|>>I get so much value out of this thing its amazing. How are you using it?<|eor|><|sor|>I at least am using it to pick up new coding frameworks and libraries without having to read the documentation<|eor|><|sor|>How??<|eor|><|sor|>Can you show me how to do [some simple task] using [library]?. And then follow up with questions about how and why it works that way. It has been getting worse and worse at this as others have pointed out. Another good prompt example: Im trying to send SCSI commands to a hard drive using Python can you show me how to do that? and all the probing questions that go along with that. Always check the libraries it suggests when you dont specify one its a fan of dead libraries<|eor|><|eols|><|endoftext|>
776
programmerhumor
Strostkovy
j5q5nay
<|sols|><|sot|>Is it just me?<|eot|><|sol|>https://i.redd.it/pj4nvnysw1ea1.jpg<|eol|><|sor|>It's definitely gotten stricter on what it lets you ask it to do too<|eor|><|eols|><|endoftext|>
724
programmerhumor
pro_questions
j5rzvr4
<|sols|><|sot|>Is it just me?<|eot|><|sol|>https://i.redd.it/pj4nvnysw1ea1.jpg<|eol|><|sor|>Yeah, you know then, the paywall is coming!<|eor|><|sor|>Id probably pay about $10-15$/month. I get so much value out of this thing its amazing. P.s. somebody mentioned $42. Rip..<|eor|><|sor|>>I get so much value out of this thing its amazing. How are you using it?<|eor|><|sor|>I at least am using it to pick up new coding frameworks and libraries without having to read the documentation<|eor|><|eols|><|endoftext|>
673
programmerhumor
RockleyBob
j5rx1fi
<|sols|><|sot|>Is it just me?<|eot|><|sol|>https://i.redd.it/pj4nvnysw1ea1.jpg<|eol|><|sor|>Yeah, you know then, the paywall is coming!<|eor|><|sor|>Id probably pay about $10-15$/month. I get so much value out of this thing its amazing. P.s. somebody mentioned $42. Rip..<|eor|><|sor|>>I get so much value out of this thing its amazing. How are you using it?<|eor|><|eols|><|endoftext|>
615
programmerhumor
Loupax
j5qko6n
<|sols|><|sot|>Is it just me?<|eot|><|sol|>https://i.redd.it/pj4nvnysw1ea1.jpg<|eol|><|sor|>Wait a minute, people were using ChatGPT like that?!<|eor|><|eols|><|endoftext|>
584
programmerhumor
road_laya
j5qurun
<|sols|><|sot|>Is it just me?<|eot|><|sol|>https://i.redd.it/pj4nvnysw1ea1.jpg<|eol|><|sor|>ChatGPT reached 1 million users in less than a week (I think) while still technically being a "research-preview". I'm surprised they managed to keep it together for so long.<|eor|><|sor|>Microsoft gives them free servers on their Azure cloud.<|eor|><|sor|>Yeah, but they can run out of their free servers, too.<|eor|><|eols|><|endoftext|>
562
programmerhumor
tilcica
j5ozr3y
<|sols|><|sot|>Is it just me?<|eot|><|sol|>https://i.redd.it/pj4nvnysw1ea1.jpg<|eol|><|sor|>mfw i cant even make an account because it wont send me the SMS verification...<|eor|><|eols|><|endoftext|>
518
programmerhumor
fckustptrying
j5rkuab
<|sols|><|sot|>Is it just me?<|eot|><|sol|>https://i.redd.it/pj4nvnysw1ea1.jpg<|eol|><|sor|>It's definitely gotten stricter on what it lets you ask it to do too<|eor|><|sor|>Yup. It wont even let you ask it to write something as somebody else anymore.<|eor|><|sor|>Tbf i was using it to get Obama to endorse drunk driving, I understand the restraints<|eor|><|eols|><|endoftext|>
487
programmerhumor
shapookya
j5qd7qp
<|sols|><|sot|>Is it just me?<|eot|><|sol|>https://i.redd.it/pj4nvnysw1ea1.jpg<|eol|><|sor|>Yes its coding capabilities have definitely deteriorated with each successive release.<|eor|><|sor|>ChatGPT devs sabotaging the project to not get replaced by it<|eor|><|eols|><|endoftext|>
472
programmerhumor
Judge_Ty
j5ql011
<|sols|><|sot|>Is it just me?<|eot|><|sol|>https://i.redd.it/pj4nvnysw1ea1.jpg<|eol|><|sor|>Yeah, you know then, the paywall is coming!<|eor|><|sor|>The answer to everything being 42. $42 that is. https://www.theverge.com/2023/1/23/23567317/chatgpt-pro-tier-42-month-pricing-test-report I guess there's some clear hitchhikers guide monetary reference going on. https://youtu.be/5ZLtcTZP2js And https://youtu.be/aboZctrHfK8 Am I the first to get the reference? Probably not.<|eor|><|eols|><|endoftext|>
463
programmerhumor
value_counts
12kd1l2
<|sols|><|sot|>We care for you legally<|eot|><|sol|>https://i.redd.it/yto2lironmta1.png<|eol|><|eols|><|endoftext|>
30,694
programmerhumor
YellowOnline
jg272ky
<|sols|><|sot|>We care for you legally<|eot|><|sol|>https://i.redd.it/yto2lironmta1.png<|eol|><|sor|>This is a joke, but I've seen software do this for 20 seconds<|eor|><|eols|><|endoftext|>
3,454
programmerhumor
LikeLary
jg25qlg
<|sols|><|sot|>We care for you legally<|eot|><|sol|>https://i.redd.it/yto2lironmta1.png<|eol|><|sor|>*sigh* *opens dev tools*<|eor|><|eols|><|endoftext|>
1,985
programmerhumor
TheRealAuthorSarge
jg2eqat
<|sols|><|sot|>We care for you legally<|eot|><|sol|>https://i.redd.it/yto2lironmta1.png<|eol|><|sor|>Why read it? They're just going to change the terms and enforce them retroactively.<|eor|><|eols|><|endoftext|>
1,395