man, i just want to write a function to find the last two posts on each page, but some mean ol' troll in Chit Chat says that my function is broken and won't work:
50 % 47 = 350 % 48 = 250 % 49 = 150 % 50 = 0
3/5/2009 3:41:21 AM
50 % 3 == 250 % 4 == 250 % 6 == 250 % 7 == 150 % 8 == 250 % 12 == 250 % 16 == 250 % 24 == 2...50 % 51 == 5050 % 52 == 50and so on with numbers above 50.[Edited on March 5, 2009 at 4:35 AM. Reason : oh, you're bitching at Tiberius. i see.]
3/5/2009 4:29:24 AM
This has got to be most desperate trolling I have ever seen. Have you had a death in the family or something?
3/5/2009 9:20:03 AM
3/5/2009 10:29:25 AM
Any reason you're using modulo in a case where it's identical to subtraction except for giving more false positives?
3/5/2009 10:59:31 AM
ask Tiberius to explain it to you. that ought to be good.
3/5/2009 11:08:49 AM
give joe_schmoe a day timeout and delete this crap for him acting like a little babywhat a ridiculous way to go about things
3/5/2009 11:12:04 AM
3/5/2009 11:14:28 AM
Oh, sorry Omar. I didnt realize you had a dog in this fight.so, it's not an appropriate topic for TT? we have a new expert who has just disposed of the modulo operator. i think that has far-reaching implications.but whatever, i probably need a break from all this grabassery, anyhow.[Edited on March 5, 2009 at 11:17 AM. Reason : ]
3/5/2009 11:15:37 AM
don't worry - there won't ever be any confusion - i never have a dog in a fight on a message board...
3/5/2009 11:18:30 AM
3/5/2009 11:19:02 AM
ibtl/suspend
3/5/2009 11:20:40 AM
This is a really strange trolling effort.
3/5/2009 11:27:09 AM
i know right. at first i was intrigued and maybe a little excited to see a thread about modulus, but then i kept reading the thread and my brow began to furrow and my e-dick got limp. very disappointing indeed]
3/5/2009 11:37:29 AM
I'm just all kinds of modulus is my favorite operator. Also, joe is right, Tiberius is wrong on every level in this
3/5/2009 12:58:49 PM
agreed[Edited on March 5, 2009 at 1:11 PM. Reason : ASSERT(joe_schmoe % Tiberius == programming knowledge);]
3/5/2009 1:04:45 PM
so i dont look like a retard to someone wandering in this thread... here's the starting point from the original, epic, 3am, ChitChat, e-peen battle:message_topic.aspx?topic=560116&page=3#12693473beware, there's a lot of
3/5/2009 1:20:00 PM
MOV AX, 203 ; AX = 00CBhMOV BL, 50DIV BL ; AL = 4 , AH = 3RET
3/5/2009 1:25:07 PM
oh, snap
3/5/2009 1:44:27 PM
#define MOD(divis,divid) divis - divid * floor(divis / divid)
3/5/2009 1:49:13 PM
wouldn't you do the mod in the opposite order that you have:if(mod(post,50)==49.or.mod(post,50)==48) then blahso that mod(47,50) = 47mod(48,50) = 48mod(49,50) = 49mod(149,50) = 49mod(2,50) = 2etc. . .
3/5/2009 2:15:23 PM
^that's method/language specific. Joe is referring to modulus as an operator.
3/5/2009 3:30:02 PM
3/5/2009 3:45:21 PM
i don't know what sort of tomfoolery is going on here. but was my post wrong? i can accept that order of the arguments can change from language to language. but in any case, isn't the method that i propose different (and more correct) than the OP?i get the feeling though that i'm missing some awesome joke because i don't care to look back through joe's post history in chit chat while at work.
3/5/2009 4:04:02 PM
^ no, you're absolutely right. and which i merely pointed that out to Tiberius when this whole thing startedwho rather than look at it and say "oh, yeah, you're right" instead went into a tizzy fit insisting that modulus operators do indeed work in this backasswards manner he dreamed up.when he finally ran out of chestbeating, he claimed that it's just silly "pseudocode" that, in some desperate bid for attention, I subjected to "exhaustive verification" particularly funny, since he actually wrote a script to "verify" his function and posted the results. divisors up to 50. That was his "proof". LOL when the rest of the world can just see it is broken by inspection. of course, then there's his assertion that the modulus is "unnecessary obfuscation" and that real programmers decline to use it as it is "poor programming practice."well, i don't know what the hell to make out of THAT [Edited on March 5, 2009 at 4:12 PM. Reason : ]
3/5/2009 4:11:44 PM
ok. i figured i was missing something.
3/5/2009 4:12:51 PM
Don't forget that he thinks because he can compile C with a C++ compiler means he knows C++ too.
3/5/2009 4:15:18 PM
Oh God,joe_schmoe is pissed!
3/5/2009 4:15:28 PM
3/5/2009 4:19:26 PM
hey.we all see your point, and it's completely valid. you are correct.however, when you keep reiterating the same things over and over again in an attempt to make Tiberius look even worse, you lose credibility.just sayin'.
3/5/2009 4:25:13 PM
sorry. I come from TSB. us people are dicks over there.It'd be one thing if he just argued the technical merits. but i get a little uppity when someone essentially calls me a stupid cocksucker, when that person doesnt know wtf they're talking about.i mean if it were me, i'd be like O RLY? and re-look at my code rather than get personally offended and jump down someones throat ready to fight because the technical accuracy of some code snipped was questioned.its this "tribal knowledge" mentality, rather than problem solving, that i find to be common with technicians and others lacking a formal engineering training.[Edited on March 5, 2009 at 4:34 PM. Reason : ]
3/5/2009 4:26:01 PM
damn i thought this was a thread about modulus[Edited on March 5, 2009 at 5:02 PM. Reason : s]
3/5/2009 4:57:54 PM
doesn't the compiler convert mod statements to signed addition and shifts anyway?
3/5/2009 7:13:28 PM
who cares what the compiler does? Its self-documenting to use modulo
3/5/2009 7:15:56 PM
holy fuck, is joe_schmoe still beating off about this? For everyone's reference, the post this is about:"
3/5/2009 11:52:39 PM
the further this progressesthe more of an ass joe_schmoe makes of himselfthe more i start agreeing with Tiberius.this simple (and admitted) mistake did not warrant such an attempt at trolling.]
3/5/2009 11:54:33 PM
This is why no one goes to Soap Box
3/5/2009 11:59:25 PM
if there ever was a thread that legitimately deserved the carlface
3/6/2009 12:06:53 AM
my work is done here.
3/6/2009 10:22:27 AM
3/6/2009 10:35:53 AM
3/6/2009 12:26:49 PM
NOBODY CARESSTFU EVERYBODY
3/6/2009 12:28:43 PM
Results 1 - 10 of about 27,500 for modulo operator bad practice. (0.32 seconds) Results 1 - 10 of about 73,600 for modulo operator good practice. (0.14 seconds)
3/6/2009 12:56:39 PM
3/6/2009 1:24:29 PM
3/6/2009 1:40:12 PM
3/6/2009 1:41:30 PM
TIBERIUS I WANT YOU TO POST YOUR LINKED IN ACCOUNT IMMEDIATELYbecause i want to join your professional network. let's be friends again.i miss the days we used to hang out and shit.[Edited on March 6, 2009 at 1:59 PM. Reason : ]
3/6/2009 1:57:43 PM
3/6/2009 2:02:15 PM
3/6/2009 2:05:48 PM
nobody reads the 49th post
3/6/2009 2:32:38 PM