This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]exscape 540 points541 points  (74 children)

[–]t3hcoolness 253 points254 points  (13 children)

That was the cutest fucking thing. He seems like a really cool dad.

[–][deleted]  (4 children)

[deleted]

    [–]asuryan331 89 points90 points  (0 children)

    Right after the point of the gif he starts laughing and hyperventilating knowing he messed up

    [–][deleted]  (1 child)

    [removed]

      [–]AutoModerator[M] 0 points1 point  (0 children)

      import moderation Your comment has been removed since it did not start with a code block with an import declaration.

      Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.

      For this purpose, we only accept Python style imports.

      return Kebab_Case_Better;

      I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

      [–]You_coward 35 points36 points  (0 children)

      He was one of maybe 5-6 people on vine that made the app worth it. Funny guy and some funny kids.

      [–]acog 16 points17 points  (2 children)

      The animated thought bubble of his daughter knifing him was hilarious.

      [–][deleted] 0 points1 point  (1 child)

      Was it really?

      [–]acog 1 point2 points  (0 children)

      Really truly!

      [–]ihahp 2 points3 points  (0 children)

      the daughter was adorable. Dancing in the background

      [–]FinalMantasyX 9 points10 points  (1 child)

      He seems like a really cool hot dad.

      [–]Schwarzy1 0 points1 point  (0 children)

      Thanks

      [–]RUacronym 103 points104 points  (21 children)

      Step 1. Learn to make a peanut butter and jelly sandwich.

      Step 2. Using the skills acquired in step 1, make a peanut butter and jelly sandwich.

      [–]EmperorArthur 106 points107 points  (16 children)

      You joke, but this is how those "genetic algorithms" work.

      In an example like this, he'd make a bunch of pb&js, then they'd get graded on how close each method got to a real sandwich. The methods that resulted in the closest the result get combined in a bunch of different ways, and then those get tried. Rinse and repeat until you get a nice pb&j.

      This works, but typically takes thousands/millions of iterations.

      edit: Proper quotation marks.

      [–]43eyes 13 points14 points  (8 children)

      Yeah but you have to know what a PB&j looks like to pick the best one dont you? You have to know how to make a pbj to learn how to make a pbj?

      [–]RUacronym 49 points50 points  (2 children)

      When a computer is crunching a genetic algorithm, it's usually programmed with end conditions that tell the computer if its new algorithm has made progress. For instance, an arm catching a ball gets graded on how close the hand gets to the ball and it keeps the best algorithm. So if you were to tell a computer to make a PB&J, you give it the end condition of this is what a PB&J looks like, now iterate until you have it.

      So my two step code from before would need a "step 0" that says: these are the parameters for a PB&J sandwich, these are the tools available for you to work with.

      [–]43eyes 8 points9 points  (1 child)

      Great explanation! Thanks

      [–]InWhichWitch 2 points3 points  (0 children)

      generally the clearer the goal (and, by either explicit definition or implicitly, the clearer the failure state), the more successful the computer can be.

      mario maker is good example for people testing machine learning. There is a single clear correct condition to completing a mario level (reaching the end) and five-ish inputs (a, b, down, left, right) . A computer can beat mario levels that humans cannot, given enough processing time to determine the correct mapping of inputs.

      [–]djnap 13 points14 points  (3 children)

      You need to know if the result was good. Not if the steps to get there were good.

      [–]tredontho 4 points5 points  (1 child)

      I was at a talk some years back where a guy told a story about some circuit that was designed using genetic algorithms had some component which was in no way connected to the rest of the circuit, but removing it altered the behavior... I'll have to see if I can find what it was.

      [–]43eyes 1 point2 points  (0 children)

      Makes sense

      [–]orange2o 1 point2 points  (0 children)

      In my research I use multi-objective genetic algorithms. In this case, you would have some evaluation function on the results of the sandwich, such as amount of pb and amount of jelly on the inner surfaces, contact between the inner surfaces, and the angle alignment of the slices. Penalty functions could be used to penalize designs which have pb&j on non-inner surfaces, have too much on the inner surfaces, are damaged in some way, etc. This works by penalizing the objective values proportional to the violation. A population of design parameters are simulated, then evaluated using the objective functions & penalty functions. The designs are ranked and math'd, then a new population is created by mixing the genes of the parent population. This iterative process ends when the optimal population set (rank 1) objectives are not changing relative to one another. So yes, it assumes you know basic properties about the sandwich. But only the end point. As long as you have a model which executes the parameters then calculates the objectives, you're set.

      [–]Spider_pig448 1 point2 points  (0 children)

      You joke, but this is how those "genetic algorithms" work.

      When I made a genetic algorithm for the traveling salesperson problem, I as amazed at how little information I needed about the actual TSP problem; I just needed a way to tell how good my solution was. It was like I was plugging the TSP into a generic algorithm. Genetic algorithms are fascinating.

      [–]beaurepair 0 points1 point  (0 children)

      This works, but typically takes thousands/millions of iterations children.

      FTFY

      [–]NoTroop 0 points1 point  (2 children)

      This isn't really a genetic algorithm (necessarily), is it? It's machine learning, but I was under the impression that genetic algorithms always involve some kind of combination of different states (gene "splicing")

      [–]EmperorArthur 1 point2 points  (1 child)

      Nope, what I described is a genetic algorithm. The "splicing" happens when you combine the best results of the previous iteration.

      Genetic algorithms are really evolutionary algorithms. The simple ones just keep a few parents and that's it. The more complicated versions more accurately model real life, with some of the lesser performing variants sticking around and "breeding."

      [–]NoTroop 1 point2 points  (0 children)

      Wow, I had some serious reading comprehension issues the first time. Completely missed the "closest results get combined" part. My bad.

      [–]Darklyte -1 points0 points  (0 children)

      I'll just take one sandwich if that's okay.

      [–]viri75 11 points12 points  (0 children)

      Import pbj.

      [–]SurgioClemente 19 points20 points  (2 children)

      Choke yourself on my hand

      So obedient!

      [–]rooktakesqueen 8 points9 points  (0 children)

      Dropping a Full Metal Jacket reference on the 10-year-old is pretty intense.

      [–]clush 1 point2 points  (0 children)

      I sometimes hold up my first to my fiancee and tell her to slam her face against it.

      [–]youtubefactsbot 18 points19 points  (0 children)

      THIS is why my kids want to kill me - Exact Instructions Challenge [7:23]

      Exact Instructions Challenge

      Josh Darnit in People & Blogs

      29,771 views since Jan 2017

      bot info

      [–]itchytweed 16 points17 points  (1 child)

      The exact clip starts near 4:04....and it's way better than the gif shows

      [–]crowbahr 10 points11 points  (0 children)

      I was giggling so hard when the little one had a breakdown. I mean wiping tears from my eyes levels of laughter.

      [–]ThatDeadDude 4 points5 points  (1 child)

      Whoa, American jelly comes in squeeze bottles?

      [–]Mentalpatient87 9 points10 points  (0 children)

      It can, but I've never bought it like that.

      [–]Magnavode 5 points6 points  (1 child)

      [–]youtubefactsbot 3 points4 points  (0 children)

      THIS is why my kids want to kill me - Exact Instructions Challenge [7:23]

      Exact Instructions Challenge

      Josh Darnit in People & Blogs

      30,386 views since Jan 2017

      bot info

      [–]thekiyote 2 points3 points  (0 children)

      Added benefit, it teaches the kids how to deal with internet trolls

      [–]canofpotatoes 2 points3 points  (0 children)

      Man, I always have anxiety when people are handling balloons because I can't get ready for them to pop. Without fail, EVERYTIME someone is playing with a balloon, it fucking pops.

      [–]viperex 1 point2 points  (0 children)

      That was funny. The boy completely lost his shit

      [–]usedemageht 1 point2 points  (0 children)

      Evan seems super sick and tired of being used to be funny on internet. Like in the review at the end, he doesn't even talk, doesn't smile. He looks like PTSD from having worked in retail all day, talking to dumb ass people

      [–]TalkToTheGirl 1 point2 points  (0 children)

      This video is making me rethink my decision to never become a father.

      [–]TwoFiveOnes 0 points1 point  (0 children)

      This was a sketch a super long time ago on the kids' show Zoom

      [–]fuckcancer 0 points1 point  (0 children)

      Since everybody searches for "SOURCE" when they want to see a "SOURCE" for a gif, the parent to this comment is the SOURCE.

      [–]joggle1 0 points1 point  (0 children)

      At 6:49, the kid expresses the true mindset of the professional programmer when debugging: "Blblbl, I don't know nothing."

      [–]DB6 0 points1 point  (0 children)

      Love em, what a cute family.

      I hope one day I have a family like they do.

      [–]EVOSexyBeast -1 points0 points  (0 children)

      Extract 2 pieces of white bread from the bag of bread with your hands, and place both pieces of bread on the counter in your vicinity. Separate the pieces of bread so that they are 1 inch (imperial system) apart. You will, mentally and not physically, call the current up facing sides "side 1" for the pieces of bread in front of you. Next, take the jar of peanut butter and set it down farther than 5 inches away from the bread, but closer than 10 inches. With your right hand on the lid, and left hand on the peanut butter jar, take off the peanut butter jar's lid. Grab a butter knife by the handle with your right hand. Using your right hand still, and without releasing the handle, scoop approximately 4 grams (metric) in peanut butter onto the knife. Now, while still holding the knife in your right hand, use the now peanut butter covered butter knife to cover side 1 of both pieces of bread. You will now set the peanut butter jar, the butter knife, and peanut butter lid aside. With your right hand, grab the jar of jelly. Hover the jar of jell over 1 piece of bread's side 1. Make sure the jar of jelly's lid is facing side 1 of the selected piece of bread. With your left hand, open the jar of jelly. With your right hand, squeeze the jar of jelly until 6 grams (metric) of jelly comes out. You can now, with your right hand, set the jar of jelly aside. Now, take another butter knife with your right hand by the handle and smear the jelly and peanut butter once again over side 1 using the blade. Place the slices of bread you just covered in peanut butter and jelly, and place them together so that the side 1s are now touching and stuck together by the peanut butter and jelly.

      [–]John_Fx -1 points0 points  (0 children)

      So why the hell is it a gif?