Search found 1649 matches

by avansc
Fri Nov 14, 2008 9:37 pm
Forum: General/Off-Topic
Topic: so my dad is pretty funny.
Replies: 22
Views: 1716

Re: so my dad is pretty funny.

i think its less possibilities, like less possibility that she has crabs hiding in that bush. eeewwwww.
by avansc
Fri Nov 14, 2008 6:23 pm
Forum: Programming Discussion
Topic: Need Help With Determinig A Formula
Replies: 4
Views: 590

Re: Need Help With Determinig A Formula

What formula could i use if i wanted to determine if a single point landed inside a set of points (i.e., triangle or circle)? EDIT: this code works for any geometry. skew lines and so on. just some code from my old stuff, good code. let me know if you need help implimenting it. bool SimCol::pointIn...
by avansc
Fri Nov 14, 2008 5:11 pm
Forum: Programming Discussion
Topic: Which language should I go with?
Replies: 15
Views: 1865

Re: Which language should I go with?

revolution3d or something like that
by avansc
Fri Nov 14, 2008 4:09 pm
Forum: General/Off-Topic
Topic: so my dad is pretty funny.
Replies: 22
Views: 1716

Re: so my dad is pretty funny.

damn straight, this is the friggen 21st century, if i liked hairy woman id move to frace. :lol: :lol: Yeah, I do prefer mine well groomed as well. Yes, groomed is a nice way to put it. :P I'll pass on the wall-to-wall carpeting. i'll pass if there is to much stubble. im very chauvinistic. hahaha.
by avansc
Fri Nov 14, 2008 3:05 pm
Forum: General/Off-Topic
Topic: Fallout Boy on CNN -- Kill me now.
Replies: 11
Views: 670

Re: Fallout Boy on CNN -- Kill me now.

GyroVorbis wrote:Could we at least follow singers that like... don't suck? :lol:
pun intended!
by avansc
Fri Nov 14, 2008 2:52 pm
Forum: General/Off-Topic
Topic: Fallout Boy on CNN -- Kill me now.
Replies: 11
Views: 670

Re: Fallout Boy on CNN -- Kill me now.

trufun202 wrote:But didn't you know?! As Americans we can't possibly make a decision without the guidance of celebrities. :nono:
haha yeah, who woulda thunk.
by avansc
Fri Nov 14, 2008 1:04 pm
Forum: Programming Discussion
Topic: BITWISE challenge
Replies: 16
Views: 1413

Re: BITWISE challenge

did you know that it fliped the bits before you wrote the program. and do you know what 2's compliment it? how about little and big endian? these are all very interesting fundamental concepts of CS Yes, I didn't just randomly try operators to see which one worked. 2's complement is the way negative...
by avansc
Fri Nov 14, 2008 12:42 pm
Forum: General/Off-Topic
Topic: any computer builders out there?
Replies: 18
Views: 1939

Re: any computer builders out there?

i didnt say sell your stocks. yeah def keep them. but spending money unwisely is never a good idea, especially now. (yes you can get things for alot cheaper now) but you need to save money for "incase"... mark my words.. if the government does not bail out the automakers we will see a dep...
by avansc
Fri Nov 14, 2008 12:01 pm
Forum: Programming Discussion
Topic: Whats the difference Between...
Replies: 15
Views: 1257

Re: Whats the difference Between...

I would think that anybody that's not a white male has a much larger chance of acceptance. Be sure to mark your race and family income (but only if it's "low enough") yeah it was 1600 when i took it to. but yeah you are right, white males have the worst chance of getting in, anywhere. at ...
by avansc
Fri Nov 14, 2008 11:58 am
Forum: Programming Discussion
Topic: BITWISE challenge
Replies: 16
Views: 1413

Re: BITWISE challenge

They're extremely relevant in computer engineering when you're working at super low levels with assembly and hardware. Maybe not so much for higher level computer sciencey and stuff. well maybe not for the avarage developer, but someone who is concerned about efficiency i think its pivotal. also, i...
by avansc
Fri Nov 14, 2008 10:03 am
Forum: Programming Discussion
Topic: Prime challenge
Replies: 3
Views: 533

Re: Prime challenge

I didn't have enough time to write a timer, but the sieve of eratosthenes is probably on of the fastest ways to do it. I cooked this code up quickly, so if I have made any mistakes I apologize. Later. #define MAX 10000 int *ListA(NULL), *ListB(NULL); ListA = new int [MAX]; ListB = new int [MAX]; //...
by avansc
Fri Nov 14, 2008 9:55 am
Forum: Programming Discussion
Topic: BITWISE challenge
Replies: 16
Views: 1413

Re: BITWISE challenge

It's the 'One's Complement Operator' and it flips all the bits in the integer, not sure what happens with negative numbers though. So I wrote a little program to find out what is does with negative numbers. And it really does flip every bit: one's complement of -3: ~11111111111111111111111111111101...
by avansc
Thu Nov 13, 2008 12:57 pm
Forum: Programming Discussion
Topic: Whats the difference Between...
Replies: 15
Views: 1257

Re: Whats the difference Between...

Haha, just to make you feel even better about yourself :) a friend of mine got a 1580 on the SAT and was disappointed in himself -- perfect score is 1600 for those not in the know, and you lose like a third of a point for wrong answers as well as gain a point for a right one. He goes to Vanderbilt....
by avansc
Thu Nov 13, 2008 12:56 pm
Forum: General/Off-Topic
Topic: any computer builders out there?
Replies: 18
Views: 1939

Re: any computer builders out there?

i didnt say sell your stocks. yeah def keep them. but spending money unwisely is never a good idea, especially now. (yes you can get things for alot cheaper now) but you need to save money for "incase"... mark my words.. if the government does not bail out the automakers we will see a depr...
by avansc
Thu Nov 13, 2008 12:52 pm
Forum: Programming Discussion
Topic: BITWISE challenge
Replies: 16
Views: 1413

Re: BITWISE challenge

Amarant wrote:Like this?

Code: Select all

int math_floor(int value)
{
    return value & ~1;
}

int math_ceil(int value)
{
    return (value & ~1) + 1;
}

very nice, here is another one a|a^1

do you know what the "~" (tilde) opperand does?