search results matching tag: Anal

» channel: motorsports

go advanced with your query
Search took 0.000 seconds

    Videos (90)     Sift Talk (11)     Blogs (6)     Comments (654)   

Tabs v(ersu)s Spaces from Silicon Valley S3E6

MilkmanDan says...

(**EDIT** hmm, code HTML tag doesn't seem to allow whitespace to show at the beginning of lines, so I'm replacing spaces with _underscores_ in the pseudocode below)

Code uses spaces or tabs to visually distinguish the flow of the program, what code belongs to what functions / loops / whatever.

Here's some C-style "pseudocode" that should get the idea across:

void function fizzbuzz {
__for (i = 1; i <= 100; i++) {
____set print_number to true;
____If i is divisible by 3
______print "Fizz";
______set print_number to false;
____If i is divisible by 5
______print "Buzz";
______set print_number to false;
____If print_number, print i;
____print a newline;
__}
}


The braces { } show the beginning and ending of a "function" (essentially one of potentially many self-contained algorithms in a program) and the beginning and ending of a "for loop" (that will repeat the code inside it some number of times). And the "if" statements will only perform the stuff after them IF the test they perform evaluates to true.

So in that pseudocode, there's sort of 4 tiers or things going on. First is the function (named "fizzbuzz"). Since functions are kind of the most basic structural unit of the code, they are on the far left -- not indented at all. Sorta like Roman Numerals in an outline.

Then, the actual content of that function (the code that makes up its algorithm) is set a consistent amount of space to the right to make it clear that it is contained inside the function. That can be done with *1* tab, or some consistent amount of spaces so that it lines up. The only thing in that tier is the "for loop" and the braces that show its beginning and end.

Then the content of the for loop is set a bit further to the right (with another space or another set number of spaces). All of the "if" statements are at that 3rd tier level, along with a bit more code at the beginning and end. Then, the actual content of the if statements is set one more tier to the right to help distinguish that it will only run IF the conditions are met.

That pseudocode uses spaces for all of the tiering -- 2 spaces per tier. I'm a tab person like the guy Richard in the video, because it seems easier to press tab once per tier than hitting the spacebar 2/3/4 times per tier. But it really is just a personal preference issue, because as he said in the video, by the time the code is compiled (turned into an executable file that the computer can run) the final result will be the same whether the programmer used spaces or tabs.

But like with many things, Silicon Valley really hits the nail on the head here. Programmers tend to be very set in their ways and anal about their style preferences for code. If we have to go through someone else's code that doesn't follow our style conventions exactly, it kinda tends to throw us out of whack. To make an analogy with something less nerdy, consider how annoying it can be when someone borrows your car and you have to adjust the seat / mirrors / radio stations etc. when you get back in.

eric3579 said:

Don't think i've ever used a tab outside filling in a form or playing video games. Does the tab thing have more to do with writing code?

jokes and metaphors in MONTY PYTHON AND THE HOLY GRAIL

noims says...

This is Monty Python we're talking about. The fans overthink everything. We put the 'anal' into over-analysis.

Case in point, here are a few things that may or may not be relevant that he missed:
1) We see Bedevere tying coconuts to birds' legs to distribute them, as per the first castle scene.

2) When God talks to Arthur, both are played by Graham Chapman. Does this mean God is only in his/your own mind? The other knights react to what they see, but don't talk to him or reference anything he says.

3) You can see that when the black knight is down just just the one leg, he's actually played by a one-legged local instead of by Cleese.

There's lots of this rubbish, and we love it. I only just made up number two (although it is true).

As a bonus, here's a relevant XKCD:
https://xkcd.com/16/

artician said:

Video should be retitled:
"Overthinking, and other things I noticed"

L.A.'s Spiciest Fried Chicken

poolcleaner says...

*explosive sounds of anal misery cascade across the bathroom stalls*

Foodie: "WHY DID I DO THIS TO MY STOMACH AND MY ANUS?"

Reporter: "Congratulations, sir, you are now the foodie ninja warrior. What are you going to do?"

Foodie: "I'm going to Disneyland so I can ride the teacups to acid reflux!"

Jon Stewart Calls Out The Media Regarding Trump

Baddest Man on Earth Destroys Yellow Jacket Nest Barehanded

Yes We Can. Obama stories are shared. What a guy.

enoch says...

@ChaosEngine
never going to happen.
the obama administration has been waging war against whistleblowers for 8 years.prosecuting more whistleblowers using the archaic "espionage act of 1917" to pursue and prosecute more whistleblowers than any other president in americas history COMBINED.

unless there is a massive public outcry to force the executive branch to pardon snowden,it is never going to happen.

but as long as we are making a wishlist to the fairy godmother of shit-that-is-never-going-to-happen,let me add to that list:

1.repeal the NDAA of 2017,which is an addon to the NDAA of 2012,which is a simply continuation of the MCA of 2006 (look em up folks,those "rights" you claim to have are really mere suggestion due to these abominations.

2.pursue and indict ALL wall street players who knowingly engaged in fraud and collapsed the global economy.strip them of all begotten gains to pay back the american people,and throw them in the most vile of maximum prisons (hopefully with a bunkmate nicknamed 'anal destroyer").

3.recind ALL expanded powers that the bush administration enacted (thanks to neocons addington and woo) and which the obama administration actually expanded even further,and NOW trump will be executive over the most powerful executive branch in american history .(this would be a nice one eh?).

4.have the DEA and ATF actually honor obamas original statement that his administration would not pursue federal law in regards to marijuana,mandated by referendums by the citizens of those states (to which he had promptly disregarded,and raided local dispenseries).

5.reduce americas prison population(2.4 million,largest on the planet) by pardoning the non-violent drug offenders,and disallowing companies like nike and apple to abuse prison labor (slave labor).

6.stop the practice of military intervention at the behest of corporations to exploit the poorest and most vulnerable.

7.stop the practice of regime change at the behest..oh this is becoming familiar...corporations wishing to exploit the poorest and most vulnerable for their resources.

8.and could we possibly,maybe..stop with targeted drone strikes? a.k.a "assassinations". how a constitutional law professor reconciles his law pedigree with his "value target tuesday" i.e:murder just boggles my mind.

man,i should stop.my wishlist is becoming to long..and depressing.

i voted this video up because i will not ignore that obama did some good,and even some great things during his presidency,but i also will not ignore his very disturbing failures.

and there are a LOT of disturbing failures.

so i will sit and hold hands and sing kumbaya as we all remember our very smart president,but let us not forget..this very same president expanded an executive branch that trump will be taking over the reigns very soon.

and on that note,i have to give him a failing grade.

the empathy museume

poolcleaner says...

k, I'm going Wednesday Addams on yall, so fair warning if you can't stomach the grotesque. It's just my sense of humor is very dark. This is one of the few times I'll do you a favor by breaking the fourth wall of my videosift persona. Mainly because I enjoyed this video and the concept is really neat; but, I can't help my brain from going where it goes in its logical conclusions. It's tldr so you'll skip it anyway. Doesn't matter to me, first and foremost, I post for me, not you -- though I acknowledge it is public and therefore for the public's consumption, it is so purely for reasons of science:

Is there a section at the Empathy Museum for empathizing with EMT drivers? Seeing dead and dying bodies in every conceivable way on a daily basis. How do you try on those shoes?

A friend of mine who was a technician for many years told me he witnessed dozens of different forms of decapitation and loads of ways a person can lose one or more or all of their limbs; or, how about this one -- a man who squatted over a plunger he had suctioned to the bottom of a tub because he was too much of a prude to buy a dildo, slipped in the tub while he was pleasuring himself anally...

It tore up through his bowels and punctured out of his abdomen. He was still alive but out cold from the shock while his bowels flooded his insides; dead not long after his wife had made the call.

Listening to an EMT driver discuss their years of experience is one of the best ways to empathize with the human condition.

Or here's another good one: Go work in a nursing home and learn what being old and dying is like.

But cool, I get to wear oversized women's shoes... wait, I already do that. Here, empathize with me: wear pumps and stockings for an hour, then chuck tailors and socks for two hours, then pumps, then chuck tailors, then pumps, then chuck tailors.

I'm gonna open myself a true empathy museum in collaboration with the Holocaust Museum. Could you imagine if the Holocaust Museum had you wear the shoes of dead Jews? Would anyone take that seriously? I seriously doubt it.

Aside from alternating between gender-based shoes, my empathy museum will also allow you to interact with people who have low functioning autism and have a discussion with a man who has severe brain damage because his dad was involved in organized crime and the price of not paying a debt on time was that his family got murdered before his very eyes. Lucky for him, only brain damage. Sole survivor. Let him regale you with tales of woes made entirely of spitting sounds and aimless staring.

Empathy's a crazy thing. Makes you want to crawl inside a hole sometimes. But if you emerge sane and ready to TRULY empathize by doing a goddamn thing about it -- and not just proclaim your civil rights and be angry at the injustices of the world and how unfair your lot or the lot of other pitiful humans are -- maybe you'll have what it takes to gain an iota of true humanity. That's what my empathy museum is all about.

Not that I'm against this form of chic empathy. I quite enjoy art installations.

I don't get it

kingmob says...

South Park FTW...
I remember when these kids started their first show with animated anal probes.

Shame they hobbled that beautiful site.

There used to be a time someone could mention an episode and you could derive the episode name by googling and go to the south park site and watch it.

Last Week Tonight - Brexit v2 There are no f*cking do-overs

radx says...

Nobody can deny that the current situation made the life of that lady and her children infinitely more complicated, and it will make it more miserable in the future.

However, what about all the Chavs? No, I'm not being sarcastic. What about all the people whose life can hardly become more miserable, because it's been miserable all along with no hope for improvement? Life is shit for a lot of people, and it has been for a long time.

What were their options in this referendum?

Remain told them that their quality of living would decline in case of a Brexit, and that it would decline more slowly if they remain part of the EU. In short, they offered them fuck all. Any notion of reforming the EU from within to make it care about the proletariat is an illusion, and a costly one if you look at either Greece or the recessionary EU in general.

So they went with the demagogues, who spewed such outrageous lies that even Goebbels would be ashamed. But they made an offer nonetheless.

All this talk about stock prices or the exchange value of the Pound is meaningless dribble if you live in places like Nuneaton. How is telling them all to sod off an irrational decision if all they did for decades was shit on you?

So yeah, I fucking hate the anti-immigration part of the discussion. It's despicable. But the patronising reactions from not just the elites but also large swaths of the Remain campaign gives me assteroids.

The casual way they discuss how to ignore or reverse the result of the referendum is a sign of why it went this way in the first place. They look down on the decision made by "those people". It makes no sense to them, so it has to be irrational. Silly plebs are not informed enough to make smart decisions, let's educate them. Or better yet, let's make the decisions for them.

It just oozes condescension. And it breeds contempt.

To end on a personal note: how the German government now appears to be the moderating factor on the EU side is beyond fucked up, given how they were the ones to piss on the plebs the most with their anal fixation on austerity. You really cannot make this shit up...

Edit:
Here's one for sovereignty: just last night, Jean-Claude Juncker said that the European Commission doesn't want national parliaments to vote on CETA. What's the point of democracy then?

Britain Leaving the EU - For and Against, Good or Bad?

radx says...

My comment was rather egocentric in nature. Few countries have the means to upset the balance of power within the EU and a (vote for) Brexit might just be the least horrific way of poking the EU. Next down the line would be a Le Pen-administration in France, which most people would rather avoid. Or some unforseen poltical kerfuffle in Italy.

Bad options, all of them. But austerity will lead to even worse outcomes, so German hegemony must be curbed and broken -- or the EU as a whole must be reduced to countries whose economies work the same parasitic way.

The best of all options, of course, would be political change in Germany, away from this anal fixation on austerity. But looking at our parliament, I see 630 seats, 566 of which belong to parties in support of austerity. So no, not gonna happen.

My hopes, as always, are on the French people. Recent actions have made me hopeful that they will once again come to our rescue.

Jinx said:

So what do we do? Leave and pretend there is more than 30 miles of water between us and France? Europe's fate will surely have of a massive impact on the UK regardless of whether we call ourselves part of it or not. No man is an island, even when that man is, err, a country that is an island...

Anyhoo. Maybe London will hold a referendum on whether it wants to be part of the UnUnited Kingdom.

Words We Invented By Getting Them Wrong

dannym3141 says...

And that's why i'm no longer anal about people using modern words.

Except when people use then instead of than. That kind of thing can drive a man to murder.

Michigan Republicans Said What-What? Not in the Butt!

newtboy says...

I get your point, but I feel this is more akin to fixing the ignition but ignoring the fact that there are no brakes on the car. It's all fine to do it that way, unless you put the car on the road before you fix it all.
I just fear that leaving these laws (or portions thereof) in effect means they will be used and abused to abuse people, as they have been used in the past. I find them disgusting attempts to make homosexuality illegal, and leaving them on the books also indicated it's immoral by the states measure. That needs to be fixed, as it dehumanizes a large number of people for nothing.
I hope someone WILL pick this up as a battle worth fighting. I don't want my tax dollars going to support homophobic, illegal, immoral laws, their use, or even their removal by the courts when it would be so simple and reasonable to have taken care of it as they re-wrote the law. It's abhorrent to me that it's assumed that just bringing this issue up would end debate and halt the bill...it's likely reality, but it's disgusting.

To be clear, it doesn't effect me. I live in Cali, and I'm not getting any anal anyway (giving or receiving), but no oral?!? Screw that, yo. I'm sure glad Cali lets me get my freak on.

ChaosEngine said:

Yep and where did that ruling come from? The supreme court, i.e. not politicians who pander to their idiot homophobic base.

I'm fine with someone picking this as a battle. As I said, it might come down to one brave couple "confessing" and forcing the law to be tested in court.

But sometimes, when you're fixing the ignition, you have to let the worn out shocks slide. Yeah, you need to sort that shit out, but it's not the job you're working on right now.

Three Ways to Destroy the Universe

poolcleaner says...

Ok, right before they talk about the Big Rip, pause the video and pretend its a video about anal sex. No, no, convince yourself it is, then unpause and -- MAYBE it's just me -- but that was funny.

Everything You Need To Know About Anal

eric3579 says...

When it comes to anal pillow talk this is a must see.


oregon militia-stop sending us bags of dicks

poolcleaner says...

I'll take the vaginal and anal fleshlights plz, but only if they're disguised as bottles of Mr. Pibb. I'm very particular. And throw in the double sided dong for the wife. Jokingly. Hah. Life is all jokes until someone follows through.

Asmo said:

And here I was thinking you'd like the Fleshlight Anal Edition...

\= |

Seriously though, they should consider keeping some of those dicks. That big double ender looks like it would make a handy billy club if they run out of bullets.

ps. Yeah, I also thought it was highly ironic that they were happy to take advantage of the federal mail whilst protesting against the gov. Socialism is so sneaky even right wing militia nuts are fans of it. /grin



Send this Article to a Friend



Separate multiple emails with a comma (,); limit 5 recipients






Your email has been sent successfully!

Manage this Video in Your Playlists

Beggar's Canyon