< 1047773003 0 :deltab!~deltab@espians.com JOIN :#esoteric < 1047773003 0 :SamB!~naesten@64.3.60.179 JOIN :#esoteric < 1047773045 0 :Taaus!~T@cpe.atm0-0-0-196156.0x3ef21ebe.boanxx5.customer.tele.dk JOIN :#esoteric < 1047781188 0 :SamB!unknown@unknown.invalid QUIT :Read error: 60 (Operation timed out) < 1047782162 0 :calamari!killerkal@dialup-64.154.138.236.Dial1.Phoenix1.Level3.net JOIN :#esoteric < 1047782169 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :hello < 1047784364 0 :Taaus!unknown@unknown.invalid PRIVMSG #esoteric :Hello, Mr. Squid :) < 1047787253 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :okay.. challenge 2 :) < 1047787317 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :need to be able to tell whether a number is even or odd in bf < 1047787331 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :hrm *2 /2.. ew so slow lol < 1047787342 0 :Taaus!unknown@unknown.invalid PRIVMSG #esoteric :Why the *2 bit? < 1047787349 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :err got that backwards < 1047787354 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :should have said /2 *2 < 1047787368 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :then you compare to the original number < 1047787377 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :same? even, different? odd < 1047787386 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :but maybe there is a faster way < 1047787404 0 :Taaus!unknown@unknown.invalid PRIVMSG #esoteric :Probably. < 1047787482 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :aha < 1047787487 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :might have something < 1047787492 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :could have a loop with two decrements < 1047787511 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :if it hits zero with one of the decs it is even.. the other? odd < 1047787515 0 :Taaus!unknown@unknown.invalid PRIVMSG #esoteric :I guess you could do something like this: "distribute" the contents of the memory cell you wish to test into two other memory cells. You then end up with either N/2 and N/2+1 or two N/2... Subtract these from each other, and you get 0 or 1. < 1047787526 0 :Taaus!unknown@unknown.invalid PRIVMSG #esoteric :You could do that too. :) < 1047787544 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :yeah i think it should be pretty fast < 1047787628 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :hehe this esoteric stuff gets scary when you start thinking in bf code < 1047787659 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :was showing my java instructor how to copy (add) in bf.. I think I might have freaked him out < 1047787691 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :anyways.. afk < 1047787693 0 :Taaus!unknown@unknown.invalid PRIVMSG #esoteric :He was awed by the elegance when compared to Java? ;) < 1047787702 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :LOL < 1047788522 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :hrm.. was messing with the subtract twice idea.. yours seems simpler and actually faster than testing for 0 twice < 1047788562 0 :Taaus!unknown@unknown.invalid PRIVMSG #esoteric :Interesting. < 1047788616 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :for example if it hits zero on the first one then you have to put in an if to not do the second one < 1047788626 0 :Taaus!unknown@unknown.invalid PRIVMSG #esoteric :Of course. < 1047788665 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :hrm.. yours has the same problem i guess < 1047788683 0 :Taaus!unknown@unknown.invalid PRIVMSG #esoteric :Yep... But I wouldn't call it a problem :) < 1047788781 0 :Taaus!unknown@unknown.invalid PRIVMSG #esoteric :We'll have to talk about it some other time, though... It's almost 6 AM here. I'm heading off to bed :) < 1047788869 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :cya.. thanks :) < 1047788884 0 :Taaus!unknown@unknown.invalid PRIVMSG #esoteric :Anytime :D < 1047789514 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :oh wait.. thats easier to fix than I first thought ! < 1047789747 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :and i dont even have to test for 0.. sweet! < 1047792498 0 :calamari!unknown@unknown.invalid QUIT :"<=K" < 1047801599 0 :clog!unknown@unknown.invalid QUIT :ended < 1047801600 0 :clog!unknown@unknown.invalid JOIN :#esoteric < 1047822219 0 :Aardappel!wvo96r@p508C7021.dip.t-dialin.net JOIN :#esoteric < 1047827149 0 :Aardappel!unknown@unknown.invalid QUIT :Read error: 110 (Connection timed out) < 1047827607 0 :Aardappel!wvo96r@p508C5515.dip.t-dialin.net JOIN :#esoteric < 1047848589 0 :docelic!~docelic@195.246.23.200 JOIN :#esoteric < 1047848597 0 :docelic!unknown@unknown.invalid QUIT :Read error: 54 (Connection reset by peer)