We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

Bikeshed! Live!

00:00

Formale Metadaten

Titel
Bikeshed! Live!
Serientitel
Anzahl der Teile
66
Autor
Mitwirkende
Lizenz
CC-Namensnennung 3.0 Unported:
Sie dürfen das Werk bzw. den Inhalt zu jedem legalen Zweck nutzen, verändern und in unveränderter oder veränderter Form vervielfältigen, verbreiten und öffentlich zugänglich machen, sofern Sie den Namen des Autors/Rechteinhabers in der von ihm festgelegten Weise nennen.
Identifikatoren
Herausgeber
Erscheinungsjahr
Sprache
Produzent
ProduktionsortSan Antonio

Inhaltliche Metadaten

Fachgebiet
Genre
Abstract
Everyone loves live coding! What's not to love about watching someone struggle through some trivial code while the audience corrects their every syntax error? This session takes that to the next level by adding literal play-by-play commentary to a live coding session. Come and join us for what is sure to be a hilarious (and hopefully informational) trainwreck.
26
Vorschaubild
44:21
ProgrammfehlerMAPGüte der AnpassungProgrammierungComputerunterstützte ÜbersetzungInternetworkingKartesische KoordinatenRadikal <Mathematik>Fächer <Mathematik>SpieltheorieSoftwareentwicklerNeuroinformatikMultiplikationsoperatorSchlussregelZweiWeb SiteBroadcastingverfahrenPunktSchnelltasteWort <Informatik>HypermediaInverser LimesGrundraumAuflösung <Mathematik>RichtungZahlenbereichVerkehrsinformationSoftwareWeb logGesetz <Physik>Gemeinsamer SpeicherKoroutineGravitationBitComputersicherheitVererbungshierarchiePasswortMatchingAggregatzustandUnrundheitEliminationsverfahrenRechter Winkel
RankingMathematikToken-RingSummengleichungMereologieProgrammierungBitTouchscreenMAPTexteditorGraphfärbungCodeMultiplikationsoperatorMathematikPunktEvoluteNummernsystemGemeinsamer SpeicherCoxeter-GruppeBesprechung/Interview
SpieltheorieBitVererbungshierarchieSoftwaretestSicherungskopieGleitendes MittelEntscheidungstheorieGrenzschichtablösungElektronische PublikationProjektive EbeneSoftwareentwicklerGraphfärbungCoxeter-GruppeLesezeichen <Internet>CodeWeb Site
SoftwaretestInstallation <Informatik>Elektronische PublikationPrototypingMereologieSpieltheorieNabel <Mathematik>VererbungshierarchieCodierungMultiplikationsoperatorTypentheorie
Installation <Informatik>Interrupt <Informatik>SoftwaretestFehlermeldungKonstanteFlächeninhaltSchnelltasteMomentenproblemSelbst organisierendes SystemBitWort <Informatik>Vorlesung/Konferenz
SoftwaretestFehlermeldungKonstanteAlgebraisch abgeschlossener KörperMetropolitan area networkSoftwaretestWort <Informatik>AutorisierungGeradeCodeNeuroinformatikVererbungshierarchieMultiplikationsoperatorBitSchnelltasteFächer <Mathematik>SystemzusammenbruchSchreib-Lese-KopfSpieltheorieGamecontrollerVerknüpfungsgliedVorlesung/Konferenz
FehlermeldungSoftwaretestErwartungswertSchlüsselverwaltungVererbungshierarchieMereologieSpieltheorieFormale SpracheWeb logQuick-SortMultiplikationsoperatorAlgorithmusRauschenWort <Informatik>Arithmetisches MittelElektronische PublikationAutomatische HandlungsplanungLokales MinimumBitSoftwaretestPackprogrammCodeInformationSichtenkonzeptMinkowski-MetrikFlächeninhaltPunktMetropolitan area networkMAPDatenfeldParametersystemFigurierte ZahlEreignishorizontVorlesung/Konferenz
CachingFehlermeldungSoftwaretestErwartungswertSoftwaretestRechter WinkelSprachsyntheseImplementierungDifferenteArithmetisches MittelVererbungshierarchie
Computerunterstützte ÜbersetzungOrtsoperatorSchnelltasteARM <Computerarchitektur>MultiplikationsoperatorQuick-SortDatenverwaltungHackerProdukt <Mathematik>VerschlingungTouchscreenSpieltheorieVorlesung/Konferenz
MultiplikationsoperatorFächer <Mathematik>Formation <Mathematik>SpieltheorieTaskBroadcastingverfahrenSoftwaretestUniversal product codeMereologieImplementierungBefehl <Informatik>Quick-SortReelle ZahlKonstanteComputerspiel
GeradeCodeSoftwaretestMessage-PassingBroadcastingverfahren
FehlermeldungSoftwaretestErwartungswertp-BlockVersionsverwaltungMultiplikationsoperatorCADComputerunterstützte ÜbersetzungNichtlinearer OperatorQuick-SortZeiger <Informatik>SystemzusammenbruchKommandospracheFünfBitBrowserMathematikRuhmasseWeb SiteWhiteboardMereologieVorlesung/Konferenz
FehlermeldungSoftwaretestLoopNichtlinearer OperatorComputerspielWeb SiteEntwurfsmusterKonstruktor <Informatik>Fächer <Mathematik>GruppenoperationElementargeometrie
FehlermeldungSoftwaretestLoopErwartungswertElektronische PublikationImplementierungSoftwaretestVorlesung/Konferenz
GeradeFehlermeldungp-BlockCodeSoftwaretestZeitreiseAlgorithmische ProgrammierspracheComputerunterstützte ÜbersetzungMultiplikationsoperatorGüte der AnpassungMereologieMatchingLipschitz-StetigkeitWechselsprungPunktUnrundheitZahlenbereichQuick-SortCodierungSampler <Musikinstrument>WürfelDatensatzData MiningKontrollstrukturFigurierte ZahlFlächeninhaltDeterministischer ProzessWasserdampftafelTaskDämpfungFormation <Mathematik>KoroutineHackerMehrrechnersystemFreewareVorlesung/Konferenz
FehlermeldungSoftwaretestLoopErwartungswertFreewareZeitreiseImplementierungLoopUniversal product codeMultiplikationsoperatorOrdnung <Mathematik>Produkt <Mathematik>
FehlermeldungSoftwaretestLoopErwartungswertMultiplikationsoperatorImplementierungElement <Gruppentheorie>Elektronische PublikationSchnelltasteRechter WinkelArray <Informatik>Vorlesung/Konferenz
SoftwaretestKonstanteDisjunktion <Logik>Formation <Mathematik>SpieltheorieMehrrechnersystemBrennen <Datenverarbeitung>Taylor-Reihe
MereologieKlassische PhysikKlasse <Mathematik>ZweiZeichenketteSchnelltasteParametersystemFunktionalProgrammierungFormale GrammatikZahlenbereichMultiplikationsoperatorPoisson-KlammerRekursive FunktionArithmetischer AusdruckHash-AlgorithmusTypentheorieSchlussregelSpieltheorieSelbst organisierendes SystemGruppenoperationGeradeCOMp-BlockSystemaufrufSoftwaretestBimodulSchreiben <Datenverarbeitung>Minkowski-MetrikGenerizitätBitPhysikalische TheorieQuadratzahlRechter WinkelStatistische HypotheseLambda-KalkülGarbentheorieSyntaktische AnalyseMathematikVollständigkeitLesezeichen <Internet>SchnittmengeFehlermeldung
Kernel <Informatik>FehlermeldungSoftwaretestp-BlockExogene VariableZahlenbereichZeichenvorratKontrollstrukturOrdnung <Mathematik>Computerunterstützte ÜbersetzungZweiArithmetisches MittelMeterLesezeichen <Internet>ProgrammierungMultiplikationsoperatorCASE <Informatik>FlächeninhaltDivergente ReiheWasserdampftafelRechter WinkelVorlesung/Konferenz
Transkript: Englisch(automatisch erzeugt)
Welcome to Bike Shed Live with your dancers Adam Keys and Evan Phoenix Good evening. Good evening, everyone This is Bike Shed Live. Well, I'm related to the podcast to this event. Yes. There's a name for everything like this
We were gonna do play-by-play. That's also a thing So this is Bike Shed. It was gonna be platypus. That was also a thing So we were running out of names. All the words are taken. So what this is is We're gonna have three people on stage pair programming three people pair programming one of them will be able to tag out any given time and what we are gonna do is provide a
sports play-by-play style broadcast narrative some commentary Maybe some some constructive criticism. Probably not constructive criticism, right? Just insults And we're just gonna have some fun with it. Absolutely
Audience participation at some point Are we stretching at one point in time? Yeah, they'll be stretching maybe dance routines We'll hear from some of our sponsors other things really excited about our sponsors on the Bike Shed NBC network And so we'd like to bring out our coders today hailing from
beautiful Seattle, Washington You might know him on the internet as that guy with the cats and the keyboards. It's Aaron Patterson Welcome on stage he's a He's a first-year coder out of Red Hat Software previously of AT&T
Has a really solid career in fixing all of our bugs a lot of our security bugs He's a he's done some some really great work there and in the community big community player big community player Great beard on this one, too. It's
Really strong really nicely he's keeping it clean though. Absolutely Next our next participant victim hailing from state Eileen Eileen is a second year developer out of 37 signals in Chicago. She hails from upstate, New York
And has is also fixing many of our bugs and makings our things quite fast quite fast. It's just unbelievably Imperceptibly fast I cannot even I've tried Hundreds of milliseconds. I've tried to like I carry around a long piece of wire
Just so visualize it. Yes. Yeah, you got huh? Yes. Yep. It's so hard to know it is and Finally wrapping out our stellar team from Cornell University. It's Mike Parham. You might know Mike Good. Yes, please Get round of applause Let's I need an extra chair. I realized I'll get that in a sec
Mike Mike Parham is the monkey in the middle. He works on sidekick Which you probably use in your application. He also Maintains the dolly memcache gym. So Mike is all up in your infrastructure making that really nice Really great as well
So as you might have noticed we have we are para programming with three people What we're gonna be doing is that we'll be having one of them tag in and out Basically at random we're just gonna make up the rules as we go as to whether someone is tagged in or out It put a lot of time into prep for this
Can you tell if you in the audience feel like someone should tag out, you know, just just just yell, you know Be nice about it, but you know, let us know It's all audience participation and and that's basically the rules I believe what the what they're gonna be working on today is
a fallout Solver so in this new in this game fallout 4 there's the there are puzzles many puzzles in the game where you have to Hack a computer terminal that has a bunch of words on it and you have basically a limited number of guesses to figure out Which word is the password?
You do it by trial of elimination every time you guess it will say You got three letters, right or you got two letters, right? So as I've played this game, I've sat there try studiously trying to hack these terminals without dying in the game Thinking it is such a waste of my time that I sit here manually solving these puzzles instead of writing a program
To do it because I'm capable of writing a program and I should So that's what they're gonna be doing today is writing me a program Let's let's do some quick pregame interviews Mike how you feeling about this matchup today? Not really strong not strong No, not strong. You haven't been practicing this week. I have no idea what I'm doing up here. Okay
You're in good company my friend Eileen how are we feeling today? This should make for an interesting matchup, there's a lot of drama in the locker room this week The press conferences were very tense very tense lots of speculation on the fan sites and in the media
bleacher report had a very damning interview with The coach earlier this week and and Aaron any any last words before we begin No
Always one for brevity. Well now we know who are You there you go now, we know who are Sean is on the side here, okay, so Let's let them go ahead and just take a second to get set up part of this whole thing is not just us entertaining you Which hopefully we're doing that
Sufficiently, but also to be able to watch some people pair program It's kind of learn from them a little bit too. So let's just take a second while they get stuff set up if It's very important you see this screen. So if you can't see the screen right now Let's can anybody are we having a hard time seeing it? Anybody want changes to it colors sizes bigger
The bike shedding has begun. Yes, truly So let's let's bump it up the font size at least the editors that I don't like to use are Emacs
Pico and So this is actually kind of an interesting thing that we're looking at here
How do I keep from swearing on stage you don't just swear away my friend We're all adults here, you know, there's not there are actually not adults here I'm reminded of myself. There's a minority of non-adults. Yes so who just got back from Disneyland, so
You know, it's this is actually a very interesting point to look at in the evolution of some code because we have They've just reversed the color scheme. That is a real promo What a presenters not a lot of people know what's going on when that happens we've got some third-year developers I just is there something wrong with this food that I just ate. Why did the colors?
Just completely shift. Mm-hmm. So we've got the empty files which are always a
Place a scary place to be at the very beginning of a project So let's let's see how this plays out. Where are they gonna begin? They want backups in already. Let's let them get started before we do the backups Backlog, so they're going with mini test here, which is clearly already a controversial decision
It's a bit like opening the game with an onside kick. It's really It's it's really Beatles versus Rolling Stones and then who is your favorite it is
Or the monkey Paul, I kind of like one of the monkeys are worthless But There's a shade of the Beatles. Let's be honest, but Paul definitely the best beetle Who performed in the Super Bowl several years ago?
He did actually Super Bowl football not of coding. Oh, which is we should have a That would actually be quite good. This is the Super Bowl of coding. Oh, this is the big game the world champion How much am I making for this the world championships? Okay So now they're in a shell
Which is a nervous place to be when you're coding it in front of a bunch of people Part it to the ground Always wait, that was a really excellent prototype. You know, the best prototype is just the blank file. I'm done with this strong move When you know, you've gone down the wrong path and you just say nope
so one thing that we did not point out early on and I I actually can't Do this all that well is Aaron is using a very controversial keyboard that he's brought with him He actually travels everywhere with this keyboard Is multi-colored Aaron would you hold up that keyboard for the audience to see for a moment here?
Could you could you tell us a little bit about that keyboard? No He likes brown keys, that's what we can learn from it I built it myself It was handmade artisanal keyboard a handmade locally grown
Organic keyboard Actually Phil designed this keyboard Where is Phil these days Phil Haggleburg formerly of the Ruby community. Mm-hmm. I think I hear he's pretty big in the closure community. I know Nancy
Yeah, I hear too. Yeah. Yeah Author of the line engine tool if you've ever used closure you probably use that So we have oh crap an assertion a passing test on accident I assume did we write any code I was too busy talking about
That's what you want to get that's where you want to start you want to get a real quick win Right out right. I want to show that code who's boss. Somebody's feeling good over here right out of the gate of the game Dick you really want to dictate to the code to the computer What what's gonna happen here and you start out? Yes strong move that fall out
I think my keyboard crashed that one constant So the one thing about artisanal keyboards is that they sort of are artisanal, you know, the great thing about Computers is that if you really love computers you can put a computer in your keyboard and then your keyboard can crash
and then opportune times So if you hate computers Well, that's another thing then keyboards are for you, I don't know I Think we I think we're gonna do one more test here and I think we're gonna do a tag So so now we're going for that controversial second test
Which is where you have to either? Remove the constant or fudge it. We'll see what they do here now they're using the also Control versus the inducing Seattle style here. Well, they're mixing it up a little bit missing it with our third equal
You've reminded him they've gone without the parents now now we're going whole hog back to Seattle back to Seattle style What did parents ever do to anybody How did the Seattle now Evan you you have lived in Seattle I didn't tell me how the Seattle style
Was born was born Ryan Davis was very lazy and The the paren key was too far away for his fingers very short It's really because it reached the pair spacebar parents now now easier to get to statistically speaking Actually, we should interview Ryan. Let's do that
All right, so he's testing a war he's right there you Just testing a score here. So what they're trying to do, I'm guessing what the game plan here is that they are
Trying to get themselves a baseline algorithm so they can figure out you guys will have to what? Like how far a word is incorrect? to perhaps sort the Score the list so that they can figure out the next guess
Because this game is sort of like hangman and that Every time you guess you lose a point, but you also Get some more information. So you want to maximize so you want to choose a word like Bar with three distinct letters instead of foo where you only get two letters to figure out what?
What letters might be in the correct guess? So so I'm out here on the field with With retired army general Ryan Davis, could you tell us a little bit about the origin of Seattle style?
When did you start doing Seattle style? Seattle style was actually influenced by Jim. Why are some suggested he wrote a blog post Way back in the day, and I don't know if it is in the archive anymore
that Removed all of the alphanumeric characters from a Ruby file and showed all of the parens and commas and colons and everything ourselves around and talked about the minimization of noise and In so doing he influenced the Seattle style because what we want to do is we want to remove all of the extraneous characters
That actually don't contribute to the semantic meaning of the code and there you have it folks Seattle style I mainly do it to annoy people Success then my friend it kind of looks like small talk. It does well. That's you know Ryan. That's not all that
That's yeah, I think part of it when you're writing Seattle styles code. You're saying I wish I was writing small talk It's like the bump It's like the I'd rather be coding small talk bumper sticker of Ruby my other my other language at the time is small talk
Okay Speaking of saving yourself, we've already we've had a impromptu tag while you were what during the interview I Lane has taken Perm has tagged himself in and is now trying to figure out what is actually going on You're not supposed to write the test and the implementation like I think it's my parents confused ping-pong pairing for playing ping-pong
against a wall Yeah Different kind of exercise Eileen has tagged back in let's see how Aaron's feeling right now and
Are you feeling a hundred percent right now 50% and I noticed that You you're known for your cats and there are no cats here. Is that affecting your performance in any way?
It's really really improving my performance Keyboard is How do what's what is their preferred performance Position do they like to sit on your arms and your lap on the keyboard on your mouse?
That's an that's an excellent set up the lap cat I Personally have that at home as well. My other cat will sit directly in my line of sight Not a team player. So you've got one team player and one are they both team players?
I think that's really cute and I just move the mouse around and I forget what I was doing and But then it position do they like to sit on your knees on to my screen Have you have you considered writing a hacker news? Link bait post about the productivity
advantages and disadvantages of having a cat because hacker news folks are really into Not getting interrupted and by managers, but cats are sort of like managers Yeah, I I've actually written an article like that several times and posted it, but I just keep getting down voted. So
That is unfortunate. Thanks for your time there and we'll let you get back to the game That's it that is what sports fans consider music
One of our sponsors This this part of our broadcast Sponsored by bundler at first you hated it and then you kind of liked it And now you realize that it's just way better than NPM bundler
Because dependencies are just a part of life So I see we've moved on to four tests now and we still have hard-coded constants This is a strong move moving into sort of the middle part of the game here And we still actually haven't written any productive code
They've got one conditional they're Real well, really they have three or four with those or statements Let's see. We'll see if that's gonna come back to bite them in the future Well clearly it's gonna come back to bite them because they've just hard-coded a bunch of junk in there. So That's gonna have to change in the future
I do always find you know when you're doing the old test first as we're doing here today How far can you go with just hard-coding the implementation directly to the tests? Evidently, they're they're proving today very far I've always found it a little frustrating personally when I get from
doing the TDD the the real hardcore TDD part where you're getting these tests in place with completely bogus tests and data towards Actually solving the problem that I need to solve It's a big gap to jump it is it takes a real pro
It does it does take a real pro sometimes realizing that you're here to actually write code and not make tests pass but you know There's so few businesses that just need food and bar They just write that just code probably just cornered that market that's it that's it just the foods and the bars
This broadcast brought to you by test double when you need tests and lots of them and we need twice as many tests test double Has got you covered So one thing, you know, we didn't go over is what version of Ruby we're using here
Aaron what version of Ruby are we using here 10 10 version version version 10 so time we Actually, we didn't know this Gorby puff is actually a time-traveling cat brought Ruby version 10 back from the future
That was a tag that was We're gonna have to work on high fives a little bit more out on the sideline is here Oh, no, wait does a that was a fire drill That was a fire drill
Aaron has become distracted. It's He's managed himself into Not knowing what he's doing This is a common problem, how often does it crash in a day too often to
So they're using Ruby 10, which I presume has some Amazing version of refinements in it And and an operator for rescue nil instead of just the
Question dot operator. That's actually a that's such a good time. Why don't we take some questions from the audience? Maybe you know recently was introduced and I'm sure Matt's will get into this a little later today The this new question dot operator of anybody see this show of hands for this seeing this it got changed to dot
And I it's now and Anybody who's heard of this? I'd love to hear some opinions on it Maybe raise your hand and Adam will can come around and get an opinion on it Jason. What's your opinion on this? Question dot operator. It's sort of like the try method and active support as far as I understand What's your take actually? Could I ask the contestants a question?
That is an untraditional. But yes, you can Do you guys like websites? Websites, yeah Yes All right. Thanks. Let's hear it for websites Paying most of our bills since
You buy websites you've used them Websites you can make one on geocities except not anymore anyone else with Opinions websites about website construction or operators the question dot operator Opinions we have an opinion coming right at me
You're you remember when you gave that talk That was great That's a real opinion we have they're not all winners folks By that I mean comments not people. I'm sure he is a winner in life
Personally, I'm a big fan of adding extra syntax to avoid using design patterns Take that gang of four If you liked it you should have put a facade on it
All the singletons, sorry, I should have led with the singletons all the singletons So we've moved on now to a whole lot of failing tests and and I see that Perm is trying to solve the quandary of not just hard coding a bunch of answers in the
implementation file I'll be honest that when Adam and I talked about doing this we figured we'd be further into the implementation by now We figured code would be okay but clearly The competition
To be honest we had some awards that we picked up for our contestants We may keep them we may be the real winners here. Oh, we've got strife amongst oh
We can't know we can't we don't have a lip reader here, but it looks like on the sidelines that Aaron is either Pumping up the pumping up the team or yelling profanities at the coaches very Does Bryant move? We're getting passive-aggressive in the tests This is always a really strong move to your co-workers
I believe one test that you find Aaron may be the tallest amongst them. So a very Des Bryant move on his part Being tall and good at coding. Mm-hmm. Let's see what they do with this. Mike is stupid test The worst seems out of scope you guys really need to be working on that
I've got really high priority tickets here Maybe you should stay within the scope of the problems And get that on my desk by Monday morning. Thank you Yes, we have a we have a mail-in question from Ernie. I'll repeat it. Oh have I considered hacking time?
When I do hack time, this is what I'm going to do I am going to use my time machine to go back and talk to ice tea and ice cube and let them know that in
Their future they will be actors in police procedural and and a number of 21 Jump Street spin-offs respectively, I really think it's going to blow their world when 1985 iced tea hears that he plays a cop on CBS
This episode by acting careers. They take you strange places So we're struggling now with the test. This is always a This is always a really good point when you're pairing where where the two or the three of you are just staring at the test
Trying to figure out what were we doing again? Now seems like a good time for halftime halftime show. Let's all take Let's all take a quick break here. Take a knee for a couple minutes stretch. There we go Mike's really working it out stretch that out. There we go
Did no one prepares no no prepared dance routines Aaron is is is he's not taking he's skipping halftime You cannot figure that's the best way to win the match up can't stop won't stop
Good friend Nathaniel Talbot. So this is a a Controversial technique when you're working on your tests by adding the five times you basically say if it didn't work the first time Maybe it'll work the next few times just 20 procedures not deterministic. I don't know if you knew that
20% it's Cat if they're hungry you ask them a couple of times and they say no and then the last time they scratch your eyes Out yes, they're hungry now You don't have a talking cat. Oh, well, you know mine does talk to me
So I'm here with that might be me now that I think about it. I'm here with longtime Ruby comp Attendee Nathaniel Talbot Nathaniel, how many did you is your streak still a lot? This is just confirming to me that ping-pong pairing is as annoying as I usually find it to be Nathaniel Do you know how questions work?
Close that was he says no very close Nathaniel which how many Ruby comps have you attended 15 15 and what what was your what was your streak? 15 this is your 15th in a row. We've attended 100% of them a big round of applause for Nathaniel Talbot
Factoid about RubyConf We actually offer free tickets to Nathan and a couple of other people who've been to all of the RubyConf's We started doing that a couple years ago as sort of a thank you for our longtime listeners first-time callers, so
Just a little factoid there for you put that one in the old noggin That's another thing to do if you successfully invent a time machine is go back to the first RubyConf attend all of them and now For all your effort building a time machine you can go to a recon for free for free
Let's go to another one of our sponsors a numerable because writing a for loop is awful. So We're getting into the five-minute warning here and currently
Our method can return a one or a zero And 20% of the time and we've and we have written no production code. No actual implementation So it's a little cliche in the realm of competition to say we're in a hundred percent
110 percent of the time but here 20% now we're getting really enough now. We're getting very interesting I I think maybe someone has pulled out the big guns in order to do this one We're we were using I Believe they're they've gone with our sponsor a numerable. That's right
It looks now zip zip is a thing that I just don't understand I use zip never because there was this one time in 2008. I think I used zip Yeah, you understand so you understood it at one time in 2008 perhaps now I understand that it like pulls two arrays together. Let's get let's get Aaron to just explain it to us
I believe it's called zip because it works like a zipper Pulling the elements together Lots of consulting going on here. I'll let them Playbook, they're they're they're really up against the wall here with the five-minute warning
And I think they've realized that they need to go ahead and look at the implementation they did last week time Time and keyboards are conspiring against them. That's right And Prep work and prep work. Well prep between me and Aaron we left Mike out
So we've actually moved on to a new test here I'm wondering if we're actually gonna we've moved on beyond constants, which is just amazing. Frankly. I'm I'm
Stupefied that we've moved beyond constants here. We're using an assert. I think that's gonna come back to bite them Maybe not really excited to have Mike on the team. I think he makes a really good sidekick
Now we're just lucky this isn't the Ruby game show because that would have almost certainly been a buzzer His evil feeds on your applause
Don't give him what he wants tonight on NBC News will have a exclusive interview with Tech billionaire and entrepreneur
Paul Graham Paul Graham has recently discovered the music of Taylor Swift and will be discussing with our interviewer the statistical veracity and the And the game theoretic implications of whether haters will always be hating
That's tonight tonight Paul Graham on NBC tonight We see we switched again and we're back to the crashing keyboard so this probably will not go well it appears they're both typing Aaron continues to be the
Negative Nelly on the sideline Giving me the side eye So what do you think this fallout dot hack method is going to do Evan? Well, it looks like it takes an array
That is what it looks like And this particular you can say what a heterogeneous array of a string in a number well, you can say what you want about the Ruby grammar, but
It's pretty clear when there's an array. It's right Unless it's a function call that it could be It could be a call to a lambda this section brought to you by square brackets Sometimes there's actually a hash inside there to square brackets That segment brought to you by when your co-workers use that weird hash thing where you can create a hash from an array with square brackets
That weird thing with a hash when your co-workers really don't like you so now we're moving into another kind of Interesting twist here and going on now. We're actually mixing what we'll call I
Don't want to call oh, though Eileen has corrected the Seattle style. Oh, no, we've gone back where we're actually fighting over style now Classic blunder while pair programming and not agreeing on where to put the parentheses or how to name your arguments You've got to set you've got to set ground rules now
I think renaming it to T could be a strong move because the thing I really dislike when I'm Programming is when I see something of a variable named after its type, which is Almost certainly useless unless you're implementing a generic data type. Oh, I like this move
This move is confirming all of my biases And I really like inject inject has got to be one of my top five favorite Methods in innumerable. I think we're gonna ruble is definitely my favorite module I think we're gonna give them 30 more seconds before we we call this
Second warning, which means there's really five minutes left in the game except not Is there there isn't yet not yet? Okay, they've changed. There's no dot minus or minus dot What would it do it would be something from Haskell it would be it would be something from it would be something from someone's
graduate Thesis technically, I think you can actually do dot minus Because it's a it's a it's a method call on the right-hand side and you can have a spade I don't can you still have a space between the receiver and a dot? Okay. There we go Okay, that minus when your coat when you hate your co-workers this segment brought to you by parse dot Y
when you have insomnia And I think we're gonna go ahead and say that this expression is gonna call it So what however we end here, this is gonna be it. Okay hands off the keyboard run your tests When they're I know we're gonna really taking expression recursively, that's okay. He's still got an open paren. I'm gonna let him be syntax
Complete. Yes. Let's let them Fix Let them fix all their syntax errors here. Oh So we find we have almost gotten into actually using one of the methods that we wrote previously
Now they have an opportunity here Very important when refactoring is to actually use the methods you write and not just have a jumble of methods Unrelated to each other they had they had an opportunity here to code golf the last line To get under our one more expression rule. I would say that that that unpack the
Block argument unpacking kind of qualifies as golfing something here. Yes. Let's see using unpack When you're doing something really serious or really dumb. There it is
I Think we're gonna go ahead and call it. Let's give them a hand everybody. So now that you've seen our
contestants Program this has actually been a secret competition the whole time. We are going to have the audience rank them by means of applause meter third second and first place
and Then we have special awards for the winners, so I will be the applause meter, okay let's begin with let's start with let's go in alphabetical order if Aaron you think was the champion Applause applause and hoot and holler now
tepid response If you believe that Eileen was the champion hoot and holler and applause now That's strong and
finally Mike applause now All right, the the applause has spoken Eileen is number one Mike is number two and Aaron is number three There's always the question of people if people know how to use an applause meter because the first person is always
Screwed in that case Applause this is where I applaud How are they really going to and never to use an applause meter with Paul Graham because he Can't he can't get over it. Thanks for that Adam This segment brought to you by my need to make fun of Paul Graham
Eileen please stand up we have some amazing gifts for you from Spencer's in the mall We have an owl cup a pug cup unicorn cup And my personal favorite
Nice Siamese cat come you can you can do it. All right. All right. Thanks for tolerating us For 45 minutes. Thanks everybody. I think we've got a break a little break now and then session. So thanks everybody. Thank you