-
Content Count
4119 -
Joined
-
Last visited
-
Days Won
22
Content Type
Profiles
Forums
Calendar
Everything posted by tsc
-
THE MLM INVASION IS COMING EVERYONE BARRICADE YOUR FORUMS
-
Goddamn it Tabletop Simulator looks like it's really awesome if it does support all that. $15 too expensive tho.
-
I am mad because I am bad.
-
Stacks were useful because coordinating units together now is... messy. If there were a way to assign units to a group and have them move all at once it would be perfect.
-
The Programming Insult Thread/The Nerdiest Flamewar
tsc replied to <Witty Name>'s topic in General Discussion
Well, you don't have any class and you just fired yourself to boot. General rules: Use .equals() when dealing with objects (String, for example) Use == when comparing primitives (int, double, boolean, etc) Use == to test if something is null The last case is unusual- sometimes you need to check for null values. For example: String name = playerMap.get("Foo"); if (name.equals("Bar")) //stuff That would give you a runtime error if "Foo" wasn't in the map, since it'd return null and store that in "name". A safer way to do so is this: String name = playerMap.get("Foo"); if (name != null && name.equals("Bar")) //stuff If the name is null and fails the first condition, Java won't even evaluate the other half of the expression. It's called a short-circuit and is a handy way to avoid exceptions. I can't fire anybody because I'm not an employer, and not a programmer by profession either. And as for class... you don't need any to be awesome in JavaScript. error: incompatible types String theSupremeCommanderIsLame = true; ^ required: String found: boolean 1 error -
A set hat too! Nice find.
-
The Programming Insult Thread/The Nerdiest Flamewar
tsc replied to <Witty Name>'s topic in General Discussion
You're just bad with inheritance in general. And you defined your variables wrong. Java's such a mess, especially when the programmer is not up to standards. Fear not though, I've been instructed to run one simple command as a result of your programming ability. employer.fire(nonWittyProgrammer, 'incompetent', 0); Wrong? It's all up to spec- interface-typed objects can contain their implementors Maybe you need to drink some coffee or implement the Witty interface I was referring to how you made everything the wrong class. -
The Programming Insult Thread/The Nerdiest Flamewar
tsc replied to <Witty Name>'s topic in General Discussion
You're just bad with inheritance in general. And you defined your variables wrong. Java's such a mess, especially when the programmer is not up to standards. Fear not though, I've been instructed to run one simple command as a result of your programming ability. employer.fire(nonWittyProgrammer, 'incompetent', 0); -
The Programming Insult Thread/The Nerdiest Flamewar
tsc replied to <Witty Name>'s topic in General Discussion
That was the ">goal all along commander.ruse(Ruse.MAXIMUM); System.out.println(">> " + commander.isRused()); >> true At least everything before that could actually work, whereas what you posted would not actually ever happen. database.Users.find({'$where': {'level': {'$lt': 0}}}, function(err, users) { console.log(users); }); database.Users.remove({'$where': {'level': {'$lt': 0}}}, function(err) { if (err) console.log('failed') else console.log('successfully removed scrubs'); }); [{'name': '<Witty Name>', 'level': -9001}] successfully removed scrubs -
The Programming Insult Thread/The Nerdiest Flamewar
tsc replied to <Witty Name>'s topic in General Discussion
chown: changing ownership of `/': Operation not permitted chown: changing ownership of '/': Operation permitted due to critical scrub levels Now you're just making stuff up that could never happen. Thus, I declare victory. -
The Programming Insult Thread/The Nerdiest Flamewar
tsc replied to <Witty Name>'s topic in General Discussion
chown: changing ownership of `/': Operation not permitted -
The context of a recent dream was Dust2, but I was thinking about a real-life event next week. I think I've played too much CS:GO.
-
The Programming Insult Thread/The Nerdiest Flamewar
tsc replied to <Witty Name>'s topic in General Discussion
Java's notorious slowness isn't really as bad as it's made out to be, although the memory issue can become annoying. It's the tradeoff for running in its own sandbox, I suppose. also cmdr.getSkill(); error: OperationNotSupportedException thesupremecommander@thesupremecommander:/home$ rm -rf witty/ thesupremecommander@thesupremecommander:/home$ rm -rf thesupremecommander/ rm: cannot remove `thesupremecommander': Permission denied Or, you know, the banana error ARG. -
The Programming Insult Thread/The Nerdiest Flamewar
tsc replied to <Witty Name>'s topic in General Discussion
Aka JavaScrub At least JavaScript's not known for being a general memory hog. -
The Programming Insult Thread/The Nerdiest Flamewar
tsc replied to <Witty Name>'s topic in General Discussion
The language was JavaScript (in particular Node.js event emitters). -
The Programming Insult Thread/The Nerdiest Flamewar
tsc replied to <Witty Name>'s topic in General Discussion
Yeah, well your face is a BIGINT. grep skill commander I have no skill I am envious of Witty's skill I wish I had skill My lack of skill makes me sad I should give Witty admin because he is so skilled At least I'm not the one trying to fake my file sources. witty@witty:~$ ls -alh fake/ lrwxrwxrwx 1 root witty 100G Apr 14 13:40 commander -> ../madeup/insults -
The Programming Insult Thread/The Nerdiest Flamewar
tsc replied to <Witty Name>'s topic in General Discussion
I've only taken one CS class total, and that was basically a rehashing of Java. Everything else is experience. -
The Programming Insult Thread/The Nerdiest Flamewar
tsc replied to <Witty Name>'s topic in General Discussion
I'm sorry, I don't respond to SIGINT. I consulted Prolog: 1 ?- scrub(commander). true. 2 ?- scrub(witty). false. 3 ?- wrecks(witty,commander). true. Mate, your skill is so low that it got truncated even in a BIGINT. mysql> SELECT skill FROM Members WHERE username = "<Witty Name>"; +----------------------+ | skill | +----------------------+ | -9223372036854775808 | +----------------------+ 1 row in set (0.00 sec) mysql> SELECT skill FROM Members WHERE username = "thesupremecommander"; +---------------------+ | skill | +---------------------+ | 9223372036854775807 | +---------------------+ 1 row in set (0.00 sec) -
The Programming Insult Thread/The Nerdiest Flamewar
tsc replied to <Witty Name>'s topic in General Discussion
Huh, did you remember to do your unit tests? It's giving errors when you say anything. >> this.commander.getListOfRetorts().size(); 0 You can't even be sure you exist! > witynam ReferenceError: witynam is not defined at repl:1:2 at REPLServer.self.eval (repl.js:110:21) at Interface.<anonymous> (repl.js:239:12) at Interface.EventEmitter.emit (events.js:95:17) at Interface._onLine (readline.js:202:10) at Interface._line (readline.js:531:8) at Interface._ttyWrite (readline.js:760:14) at ReadStream.onkeypress (readline.js:99:10) at ReadStream.EventEmitter.emit (events.js:98:17) at emitKey (readline.js:1095:12) -
The Programming Insult Thread/The Nerdiest Flamewar
tsc replied to <Witty Name>'s topic in General Discussion
I'll throw all your talk up! NonWittyPerson.on('message', function() { throw new Error('MEANINGLESS DRIVEL ENCOUNTERED'); }); -
That's a known issue that I can't fix. It's a security feature that I can't disable.
-
Speaking of which, incase some of ye be interested. http://www.reddit.com/r/tf2/comments/22nqkh/tumblr_vs_reddit_round_2_applications_open_now/ I was actually working on something about that for Season 3. Stay tuned...
-
It was a joke. Reddit's OK I guess. I've derailed this thread enough though. In order to rectify this I am posting a picture.
-
I wish.
-
They changed the crits for 3 seconds to minicrits for 8 seconds, which actually makes it WORSE than the SMG. In a two second period, assuming that all bullets connect, the SMG does 160 damage. The Carbine does 165ish damage with the minicrits in that time, but without it, it does 120 damage. But then you also have to factor in the lowered clip size, making the Carbine a straight downgrade. They really meant it for quickscoping targets with your sniper rifle. That's why they made the period longer but lowered it to minicrits. Is it dumb? I guess.