That's a perfect reminder of the reasons why I never write any code whatsoever when I'm up that late... At first I forgot the parentheses... Edited... Now I see that. Oops.ihartmacz wrote:Shutup Commingbackdown. You obviously messed up your programming.comingbackdown wrote:"Post whorezez... It makes mean commentses it does, precious. Maybe we treats it like we does fish... It has the precious... We wants it... WE WANTS IT... My... precioussssssssss"hockeystyx16 wrote:does anyone know who were saying hi to? cuz it sure aint sypher.
but to jump on the bandwagon, wassup post whorz
*Sorry, I just couldn't help being a super nerd there for a moment."
function oops(){
var user = cbd;
var head = " smacks his head";
var desk = " on his desk";
var headdesk = user + head + desk;
document.write(headdesk);
}
oops();
(A slightly amateur programmer just has to make jokes about it...)
With your line:
You are declaring the variable "user" to be equal to the variable "cbd", which is not defined.Code: Select all
var user = cbd;
Your line should read:
Alternatively, you could have written the code a little more efficiently. like this.Code: Select all
var user = "cbd";
Commingbackdown: you just got PWND!<html><body><p>cbd smaks his head on his desk</p></body></html>
Hi
- comingbackdown
- Master Standardshifter
- Posts: 7401
- Joined: Tue Jan 30, 2007 3:17 am
- Cars: 2013 Ford Fiesta
- Location: Ohio (Why do I live where the air hurts my face?)
- Contact:
2013 Ford Fiesta + a bike and a land yacht which are in pieces.
- wannabe
- Master Standardshifter
- Posts: 8113
- Joined: Tue May 15, 2007 11:48 am
- Cars: NONE - take the bus
- Location: Grand Rapids, MI
- Contact:
well, of course...he wrote it at 5am...i'd like to see you write perfect programming at 5am...after being up all night!ihartmacz wrote:Shutup Commingbackdown. You obviously messed up your programming.comingbackdown wrote:"Post whorezez... It makes mean commentses it does, precious. Maybe we treats it like we does fish... It has the precious... We wants it... WE WANTS IT... My... precioussssssssss"hockeystyx16 wrote:does anyone know who were saying hi to? cuz it sure aint sypher.
but to jump on the bandwagon, wassup post whorz
*Sorry, I just couldn't help being a super nerd there for a moment."
function oops(){
var user = cbd;
var head = " smacks his head";
var desk = " on his desk";
var headdesk = user + head + desk;
document.write(headdesk);
}
oops();
(A slightly amateur programmer just has to make jokes about it...)
- eaglecatcher
- Master Standardshifter
- Posts: 9441
- Joined: Fri Jun 23, 2006 2:04 am
- Cars: '90 300ZXTT 5MT
- Location: Ithaca, NY
Code: Select all
public class WTF
{
public static void main(String[] args)
{
System.out.println("What f**k language is that in?");
}
}
Z1 Intake
Z1 2.5" Test pipes
HKS 65mm Hi-Power Exhaust
AMS Short Shifter
SZ Subframe Spacers
HKS Vein Pressure Converter
DDM Tuning 6000k HIDs
Z1 2.5" Test pipes
HKS 65mm Hi-Power Exhaust
AMS Short Shifter
SZ Subframe Spacers
HKS Vein Pressure Converter
DDM Tuning 6000k HIDs
-
- Master Standardshifter
- Posts: 1139
- Joined: Sun Jul 02, 2006 10:58 am
- Location: New York City
-
- Master Standardshifter
- Posts: 1138
- Joined: Thu Feb 08, 2007 1:09 am
- Location: Western New York
- Contact:
-
- Master Standardshifter
- Posts: 1139
- Joined: Sun Jul 02, 2006 10:58 am
- Location: New York City
Modern day Java does not require more memory than it needs. Sure when it started up in the first couple of versions it was a memory hog, but Sun has long since worked out those kinks (for years now) and all that remains is a bunch of script kiddies who read age-old articles from teh internetz and rumors spread.
Java will obviously almost always require more RAM than a native language but that's all a part of the plan. It runs on a virtual machine so it's portable for the most part. It was DESIGNED that way. The amount of extra memory it uses is so minimal that it makes no difference when RAM is just another expendable commodity that can be upgraded and updated. Really, even the cheapest computers these days come standard with 512MB to a gig of RAM.
I don't know what you mean by decrypted, maybe decompiled? In that case, decompilers exist for any language and usually aren't too useful.
Right tool for the job I always say
</rant>
Java will obviously almost always require more RAM than a native language but that's all a part of the plan. It runs on a virtual machine so it's portable for the most part. It was DESIGNED that way. The amount of extra memory it uses is so minimal that it makes no difference when RAM is just another expendable commodity that can be upgraded and updated. Really, even the cheapest computers these days come standard with 512MB to a gig of RAM.
I don't know what you mean by decrypted, maybe decompiled? In that case, decompilers exist for any language and usually aren't too useful.
Right tool for the job I always say
</rant>
- ihartmacz
- Senior Standardshifter
- Posts: 983
- Joined: Fri Jul 28, 2006 1:45 am
- Cars: 1998 Ford Mustang Coupe
I don't care when he wrote it, I would have went over it before posting it knowing I'd be flamed for mistakes.
Java and .Net are both stupid. No offense to anyone, I just HATE them.
Azureus is a great application, best Torrent software out, but it takes up 73,688Kbs of memory as I'm typing this. Because of Java and it's run time librarys.
Java and .Net are both stupid. No offense to anyone, I just HATE them.
Azureus is a great application, best Torrent software out, but it takes up 73,688Kbs of memory as I'm typing this. Because of Java and it's run time librarys.