yardbarker

OT: Alex Jones freaks out on CNN

Moderators: moocow007, magnumt, j4remi, nyknicks2k2, Knickstape1214, NoLayupRule, kane2021, Thugger HBC, knicks742

ImageImageImageImageImage

Re: OT: Alex Jones freaks out on CNN

Postby AndroidMan on Tue Jan 08, 2013 9:44 pm

johnnywishbone wrote:
AndroidMan wrote:
Damn, I was really trying to ace this internet pop quiz as well. i didn't even bother google the info. Damn it.

swap(int a, int b)
{
int temp = a;
a = b;
b = temp;
}


Sure you didn't? http://stackoverflow.com/questions/1039 ... es-in-java

:lol: :lol: :lol: :lol:


certainly didn't google for inheritance and interfaces, but most def did for swap function. Even better if using instance variables for classes, assuming there are appropriate setter and getter methods contained in the skeleton of the class as required, which I'm not writing out.

public void swap( AndroidMan a, AndroidMan b ) {
int JInt;

JInt; = a.getJInt();
a.setJInt(b.getGetJInt());
b.setJInt(JInt);
}
User avatar
AndroidMan
Starter
 
Posts: 2265
And1: 17
Joined: May 6, 2010

Re: OT: Alex Jones freaks out on CNN

Postby johnnywishbone on Tue Jan 08, 2013 9:50 pm

AndroidMan wrote:
certainly didn't google for inheritance and interfaces, but most def did for swap function. Even better if using instance variables for classes, assuming there are appropriate setter and getter methods contained in the skeleton of the class as required, which I'm not writing out.

public void swap( AndroidMan a, AndroidMan b ) {
int JInt;

JInt; = a.getJInt();
a.setJInt(b.getGetJInt());
b.setJInt(JInt);
}


That code makes no sense. And it certainly wouldn't compile.

if you want to swap the values of two AndroidMan objects it would have to be

void swap(AndroidMan a, AndroidMan b) {
AndroidMan x = a;
a=b;
b=x;
}
For rent
User avatar
johnnywishbone
Lead Assistant
 
Posts: 5925
And1: 33
Joined: Sep 4, 2009
Location: In the land where palm trees sway...

Re: OT: Alex Jones freaks out on CNN

Postby AndroidMan on Tue Jan 08, 2013 9:56 pm

johnnywishbone wrote:
AndroidMan wrote:
certainly didn't google for inheritance and interfaces, but most def did for swap function. Even better if using instance variables for classes, assuming there are appropriate setter and getter methods contained in the skeleton of the class as required, which I'm not writing out.

public void swap( AndroidMan a, AndroidMan b ) {
int JInt;

JInt; = a.getJInt();
a.setJInt(b.getGetJInt());
b.setJInt(JInt);
}


That code makes no sense. And it certainly wouldn't compile.

if you want to swap the values of two AndroidMan objects it would have to be

void swap(AndroidMan a, AndroidMan b) {
AndroidMan x = a;
a=b;
b=x;
}



wouldn't that just swap the class instances of AndroidMan themselves and all of its memeber values? If we just wanted to swap an instance variables from 2 separate androidMan instances my code is applied for that, as I assumed we were speaking of specific instance variables inside of a class to swap.
User avatar
AndroidMan
Starter
 
Posts: 2265
And1: 17
Joined: May 6, 2010

Re: OT: Alex Jones freaks out on CNN

Postby johnnywishbone on Tue Jan 08, 2013 10:10 pm

AndroidMan wrote:
wouldn't that just swap the class instances of AndroidMan themselves and all of its memeber values? If we just wanted to swap an instance variables from 2 separate androidMan instances my code is applied for that, as I assumed we were speaking of specific instance variables inside of a class to swap.


FIrst there are a bunch of compilation problems - I'll overlook those as typing into a text box.

Second, the test was to swap the value of two instance variables. Objects can be instance variables, just like a primitive. So I don't know why you are trying to show two objects swapping values of a specific attribute? Really the answer I was looking for (if you were going to use Java) was something like this:

void swap(Object a, Object b) {
Object x = a;
Object b = a;
Object a = b;
}

Then you could use the same method to swap values of different types (provided it's not a primitive)...

GTG - can't believe how much time I spent in here today.
For rent
User avatar
johnnywishbone
Lead Assistant
 
Posts: 5925
And1: 33
Joined: Sep 4, 2009
Location: In the land where palm trees sway...

Re: OT: Alex Jones freaks out on CNN

Postby AndroidMan on Tue Jan 08, 2013 10:20 pm

johnnywishbone wrote:GTG - can't believe how much time I spent in here today.


Yep, way too much time spent here myself as well. Till next time.
User avatar
AndroidMan
Starter
 
Posts: 2265
And1: 17
Joined: May 6, 2010

Re: OT: Alex Jones freaks out on CNN

Postby Knicksfan20 on Tue Jan 08, 2013 10:32 pm

Brooklyn_Yards wrote:

So I've been loosely following AJ for years because my bf is a CT and here's another one of his EPIC rants, this guy sounds like all the other freakjobs afraid of loosing their precious weapons,



Hes right though. Not that i think there ever will be a zombie apocolipse.. but if there was...Not having an assault rifle would suck balls.
Image
User avatar
Knicksfan20
RealGM
 
Posts: 10532
And1: 21
Joined: Aug 18, 2006

Re: OT: Alex Jones freaks out on CNN

Postby QueenzAllDay on Tue Jan 08, 2013 10:51 pm

Stephen A. I CHOOSE YOU.

I used to listen to Alex Jones for pure entertainment before. His ego has been increasing every year. This right here. My god. He can't get worse than this.
#KNICKS
QueenzAllDay
Rookie
 
Posts: 1066
And1: 8
Joined: Mar 18, 2011
Location: Jamaica, QueenZ

Re: OT: Alex Jones freaks out on CNN

Postby E86 on Tue Jan 08, 2013 11:14 pm

weird triple post
Image
User avatar
E86
Veteran
 
Posts: 2582
And1: 34
Joined: Jul 29, 2004

Re: OT: Alex Jones freaks out on CNN

Postby E86 on Tue Jan 08, 2013 11:14 pm

weird triple post
Image
User avatar
E86
Veteran
 
Posts: 2582
And1: 34
Joined: Jul 29, 2004

Re: OT: Alex Jones freaks out on CNN

Postby E86 on Tue Jan 08, 2013 11:14 pm

Image

this thread took the weirdest direction
Image
User avatar
E86
Veteran
 
Posts: 2582
And1: 34
Joined: Jul 29, 2004

Re: OT: Alex Jones freaks out on CNN

Postby Knicker23 on Tue Jan 08, 2013 11:15 pm

That guy looks like such a buffoon it's actually hilarious. He looked like a mentally unstable schizophrenic himself. Bouncing around from voice to voice, idea to idea, factoid to factoid. Incapable of sitting still, answering a question etc.

And fact is, these are the types of people that make up a large portion of the "pro gun" stronghold. Type that think they need bazookas to protect themselves from Obama taking over the world. That 9/11 was a inside job.

He memorizes little facts and statistics and then nonsensically spits them out as rebuttals to everything and anything as if they're the answer. And yet, he can't answer the simple question: why do you need a semi-auto.

He's so blinded by just pure hate & disdain, combined with this passion that he's unquestionably right.. that he looks like some sort of character... And frankly, make pro-gun people look like lunatics.
Image
User avatar
Knicker23
General Manager
 
Posts: 9121
And1: 25
Joined: Apr 24, 2010

Re: OT: Alex Jones freaks out on CNN

Postby E86 on Tue Jan 08, 2013 11:18 pm

Knicker23 wrote:That guy looks like such a buffoon it's actually hilarious. He looked like a mentally unstable schizophrenic himself. Bouncing around from voice to voice, idea to idea, factoid to factoid. Incapable of sitting still, answering a question etc.

And fact is, these are the types of people that make up a large portion of the "pro gun" stronghold. Type that think they need bazookas to protect themselves from Obama taking over the world. That 9/11 was a inside job.

He memorizes little facts and statistics and then nonsensically spits them out as rebuttals to everything and anything as if they're the answer. And yet, he can't answer the simple question: why do you need a semi-auto.

He's so blinded by just pure hate & disdain, combined with this passion that he's unquestionably right.. that he looks like some sort of character... And frankly, make pro-gun people look like lunatics.



They're not the large portion, they are just the loudest and what the media wants you to see to discredit the rational ones. Just like when the news only shows videos of the crazy flag burning Muslims.
Image
User avatar
E86
Veteran
 
Posts: 2582
And1: 34
Joined: Jul 29, 2004

Re: OT: Alex Jones freaks out on CNN

Postby duetta on Tue Jan 08, 2013 11:19 pm

Alex Jones deserves to be heavily medicated - again, and again, and again...
duetta
Retired Mod
 
Posts: 19484
And1: 11
Joined: Aug 27, 2002
Location: Patrolling the middle....

Re: OT: Alex Jones freaks out on CNN

Postby Mr_Perfect on Tue Jan 08, 2013 11:33 pm

Alex Jones is a huge moron and I have to question the sanity of anyone who follows him.
User avatar
Mr_Perfect
Starter
 
Posts: 2130
And1: 55
Joined: Apr 30, 2012

Re: OT: Alex Jones freaks out on CNN

Postby frogfood on Tue Jan 08, 2013 11:39 pm

Looking at the # of posts in this thread, I'm gonna guess there are a few.
User avatar
frogfood
Analyst
 
Posts: 3449
And1: 19
Joined: Nov 17, 2005
Location: far side of the moon

PreviousNext

Return to New York Knicks

Who is online

Users browsing this forum: ezmoney707, GONYK, GoodAzzGame_NYK, GoodSir, greenhughes, Jazz(FU), jonny31623, Knicks_Fan2, MaseInYourFace, Mr_Perfect, mrpoetryNmotion, ny41101, Nyk_Fatboy, NYKBaller, NYKnickerbocker, omerome, projectpaki, runlikehell, seren, sixersfan23, SonOfMars, sortpar, swisscheeseD, Trav_NYK, yaboynyp