I actually did a pathetic job of illustrating the point I was trying to make... (I was already staying after hours at work just to read slashdot and wanted to get the hell out of there). At any rate, this is a much better code sample:
var messages = new Array();
function addMessage(message){
messages[messages.length] = message; }
alertMessages(){
for(var i = 0; i messages.length; ++i){
alert(messages[i]);
} }... code...
function addMessages(messages){
for(var i = 0; i messages.length; ++i){
addMessage(messages[i]);
} }
addMessages(new Array("Javascript is cool!", "If you're careful");
alertMessages();
What happens here? Well, your javascript environment 'crashes' due to out of memory before the alertMessages() call executes because of the way namespaces work.
Free variables in functions can be quite powerful (especially with functions as first class objects), but JS is the only language I've ever worked in where all the namespace pitfalls I learned about in my CS Theory courses have ever come into play.
Not to mention the original radio series (both phases) are by far the most hillarious and well realized version of 'The Guide' yet.
Nothing flabberghasts me more than Hitchhiker's fans that have never heard the original show. The other day I discovered one of the guys at work named his machine zaphod so I asked him if he'd heard the new radio show yet. "Radio show? What do you mean? Zaphod is a name from a book."
My guts almost spilled out in jealousy knowing he'd still get to listen to the original shows for the first time.
I dont know about you, but I found most of my "professors" to be incredible resources for learning. And most of them loved when a student would come to office hours with a question that went beyond the scope of the standard curriculum. Oh sure, I COULD have went to the library or the internet to research that problem I had about the decidablility of root-finding algorithms on the real numbers, or whether it was possible for a function to be continuous but non-differentiable, but I'd say it was much faster, more enlightening, and more fun to work with a professor on them.
Oh, also I got laid a lot in college and became 1000x more well adjusted socially. But, nah, that's no big deal compared to learning some CS and Math.
Lots. Lots and lots and lots. And have you ever been to a sports bar during Monday Night Football? How many of the women there even played football on the playground as a child?
Yep... Primes have nothing to do with the symbols used to represent numbers. If you have 5 apples you know the number of apples you have in prime because you cant divide the apples into equal piles (other than all of them in 1 pile of course). This has nothing to do with the fact we write 5 as 5 and not 101 (5 in base 2).
Straight up. I lived off for 3 of 4 years and missed out on a lot. Not that I didn't have a blast off campus but I just stopped incorporating many new people into my life once off campus. Also you miss out on a lot of the fun of campus life (things as simple as going to the dining hall with your crew become huge once you realize you don't get to do them any more). Oh, and booty calls obviously become 1000x harder off campus.:)
No offense meant. I was a Computer Science & Math double major and the undergrads in Math were actually quite more balanced than the CS majors. Also, Math had about 45% women where CS had about 5%. Perhaps that's more what I was getting at.:) I actually had quite a few friends from CS but my 'main' group of friends were simply freshman year neighbors.
Of all the people I knew though, the CS majors had the highest tendency to define their groups through their major. I seriously don't even remember running into Bio, Psych, or English cliques.
All said however, college is certainly the greatest period of growth other than parenthood that I know of. And screwing either of those things up is something one may regret for a long time.:)
Umm... do your best NOT to 'stick together' with friends in CS (if you choose that major). Sure, your Doom 3 skills will skyrocket but you'll probably blow your only true chance at rapid social development. And has been stated, TAKE CLASSES OUTSIDE OF SCIENCE. This cannot be stressed enough. And keep your door open (when you're there), your room relatively tidy, and your clothes clean!
Actually I have been 'tricked' by a dog although I wouldn't go as far as to say 'decieved'. My parents have 2 small dogs, one of which I allow to sleep on my bed when I stay there (it stays down at the bottom of the bed, has short hair and doesn't shed much), and the other which I don't (like to sleep up on the pillows, has long hair, and sheds). They both know the situation, and once I got up in the morning to go to the bathroom... When I came back to my room to go back to sleep the 'allowed' dog had come into the room and was on the bed. Now I knew the other dog wanted to come in also, so I looked around for her, and not seeing her decided that she must not have come in (which was quite surprising). I closed the door and got into bed. After a couple minutes, once I was good and comfortable and unlikely to quickly get out of bed and immediately put her out, the 'disallowed' dog came running out of the closet where she had been hiding and jumped onto the bed!
It was sheer brilliance, and if I wasn't so angry at being tricked I probably would have let her stay. Unfortunately it was early in the morning and I was a mean prick and threw her out anyway.
Yah, those dummies. I hate when people saythings like Cuculas, Nomber Therey, Algeabra too. Juist because your good at math doesn't mean you get to make up stupid meaningless words!
For the sake of completeness, I should mention that the axiom A=A is acually stated For all A, For all B [ For all X, X is in A if and only if X is in B ] implies A = B. This axiom is called extension as mathematics at this level works with extensions of objects into a defined realm, not with objects themselves.
In a sense what the axiom is saying is that if there is no possible way to tell two things apart, they are the same thing. Are you going to disagree with this?
Actually this apparently used to be a very troubling question to many mathemeticians before some of the formalization of set theory in the 20th century.
I have some friends who practically bust a nut when talking about Q3A... personally, i think the gameplay is far WORSE than Q2 (although better than Q1).
But I don't think it was ID's goal this time around to create a great game... they (IMHO) correctly assesed their strengths, and decided to create the ultimate game ENGINE... i believe they are counting on the community to make the game, in terms of mods, etc.
The net code, curved surfaces, etc make for an improved playing experience, but why waste time trying to innovate gameplay when you have Carmack laying down the infrastructure that 3rd parties are drooling to extend?
I actually did a pathetic job of illustrating the point I was trying to make... (I was already staying after hours at work just to read slashdot and wanted to get the hell out of there). At any rate, this is a much better code sample:
... code ...
var messages = new Array();
function addMessage(message){
messages[messages.length] = message;
}
alertMessages(){
for(var i = 0; i messages.length; ++i){
alert(messages[i]);
}
}
function addMessages(messages){
for(var i = 0; i messages.length; ++i){
addMessage(messages[i]);
}
}
addMessages(new Array("Javascript is cool!", "If you're careful");
alertMessages();
What happens here? Well, your javascript environment 'crashes' due to out of memory before the alertMessages() call executes because of the way namespaces work.
Free variables in functions can be quite powerful (especially with functions as first class objects), but JS is the only language I've ever worked in where all the namespace pitfalls I learned about in my CS Theory courses have ever come into play.
var x = "JavaScript is cool...";
function f(){
return function () {alert(x)};
}
f()();
var x = "If you're careful.";
f()();
Not to mention the original radio series (both phases) are by far the most hillarious and well realized version of 'The Guide' yet.
Nothing flabberghasts me more than Hitchhiker's fans that have never heard the original show. The other day I discovered one of the guys at work named his machine zaphod so I asked him if he'd heard the new radio show yet. "Radio show? What do you mean? Zaphod is a name from a book."
My guts almost spilled out in jealousy knowing he'd still get to listen to the original shows for the first time.
I dont know about you, but I found most of my "professors" to be incredible resources for learning. And most of them loved when a student would come to office hours with a question that went beyond the scope of the standard curriculum. Oh sure, I COULD have went to the library or the internet to research that problem I had about the decidablility of root-finding algorithms on the real numbers, or whether it was possible for a function to be continuous but non-differentiable, but I'd say it was much faster, more enlightening, and more fun to work with a professor on them.
Oh, also I got laid a lot in college and became 1000x more well adjusted socially. But, nah, that's no big deal compared to learning some CS and Math.
Lots. Lots and lots and lots. And have you ever been to a sports bar during Monday Night Football? How many of the women there even played football on the playground as a child?
Maybe Mars actually *is* the future of pimping!
Yep... Primes have nothing to do with the symbols used to represent numbers. If you have 5 apples you know the number of apples you have in prime because you cant divide the apples into equal piles (other than all of them in 1 pile of course). This has nothing to do with the fact we write 5 as 5 and not 101 (5 in base 2).
Straight up. I lived off for 3 of 4 years and missed out on a lot. Not that I didn't have a blast off campus but I just stopped incorporating many new people into my life once off campus. Also you miss out on a lot of the fun of campus life (things as simple as going to the dining hall with your crew become huge once you realize you don't get to do them any more). Oh, and booty calls obviously become 1000x harder off campus. :)
No offense meant. I was a Computer Science & Math double major and the undergrads in Math were actually quite more balanced than the CS majors. Also, Math had about 45% women where CS had about 5%. Perhaps that's more what I was getting at. :) I actually had quite a few friends from CS but my 'main' group of friends were simply freshman year neighbors.
:)
Of all the people I knew though, the CS majors had the highest tendency to define their groups through their major. I seriously don't even remember running into Bio, Psych, or English cliques.
All said however, college is certainly the greatest period of growth other than parenthood that I know of. And screwing either of those things up is something one may regret for a long time.
Umm... do your best NOT to 'stick together' with friends in CS (if you choose that major). Sure, your Doom 3 skills will skyrocket but you'll probably blow your only true chance at rapid social development. And has been stated, TAKE CLASSES OUTSIDE OF SCIENCE. This cannot be stressed enough. And keep your door open (when you're there), your room relatively tidy, and your clothes clean!
Actually I have been 'tricked' by a dog although I wouldn't go as far as to say 'decieved'. My parents have 2 small dogs, one of which I allow to sleep on my bed when I stay there (it stays down at the bottom of the bed, has short hair and doesn't shed much), and the other which I don't (like to sleep up on the pillows, has long hair, and sheds). They both know the situation, and once I got up in the morning to go to the bathroom... When I came back to my room to go back to sleep the 'allowed' dog had come into the room and was on the bed. Now I knew the other dog wanted to come in also, so I looked around for her, and not seeing her decided that she must not have come in (which was quite surprising). I closed the door and got into bed. After a couple minutes, once I was good and comfortable and unlikely to quickly get out of bed and immediately put her out, the 'disallowed' dog came running out of the closet where she had been hiding and jumped onto the bed!
It was sheer brilliance, and if I wasn't so angry at being tricked I probably would have let her stay. Unfortunately it was early in the morning and I was a mean prick and threw her out anyway.
Yah, those dummies. I hate when people saythings like Cuculas, Nomber Therey, Algeabra too. Juist because your good at math doesn't mean you get to make up stupid meaningless words!
For the sake of completeness, I should mention that the axiom A=A is acually stated For all A, For all B [ For all X, X is in A if and only if X is in B ] implies A = B. This axiom is called extension as mathematics at this level works with extensions of objects into a defined realm, not with objects themselves.
In a sense what the axiom is saying is that if there is no possible way to tell two things apart, they are the same thing. Are you going to disagree with this?
Actually this apparently used to be a very troubling question to many mathemeticians before some of the formalization of set theory in the 20th century.
I throw my trash out the window. It's at least 4-5 times cheaper than paying for garbage men to take it away.
u r stupid.
Diablo2 has sold more copies for PC than there are X-Boxen in existance.
Halo for PC would most likely sell as many copies as RTCW, which is > 1,000,000.
I have some friends who practically bust a nut when talking about Q3A... personally, i think the gameplay is far WORSE than Q2 (although better than Q1).
But I don't think it was ID's goal this time around to create a great game... they (IMHO) correctly assesed their strengths, and decided to create the ultimate game ENGINE... i believe they are counting on the community to make the game, in terms of mods, etc.
The net code, curved surfaces, etc make for an improved playing experience, but why waste time trying to innovate gameplay when you have Carmack laying down the infrastructure that 3rd parties are drooling to extend?