<- Previous Log | Select Different Log | Next Log -> |
Log from 2018-06-10: [01:22:34] *** Quits: Long_Shoota (LS@cpc76132-clif11-2-0-cust623.12-4.cable.virginm.net) (Read error: Connection reset by peer) [01:22:38] *** Joins: Guest79162609 (LS@cpc76132-clif11-2-0-cust623.12-4.cable.virginm.net) [01:25:58] *** Joins: physkets (~physkets@unaffiliated/physkets) [09:49:58] *** Quits: Guest79162609 (LS@cpc76132-clif11-2-0-cust623.12-4.cable.virginm.net) (Read error: Connection reset by peer) [09:50:08] *** Joins: Long_Shoota (LS@cpc76132-clif11-2-0-cust623.12-4.cable.virginm.net) [09:54:27] *** Quits: physkets (~physkets@unaffiliated/physkets) (Quit: physkets) [10:17:49] *** Joins: physkets (~physkets@unaffiliated/physkets) [12:17:41] *** Quits: physkets (~physkets@unaffiliated/physkets) (Quit: physkets) [12:26:20] *** Joins: physkets (~physkets@unaffiliated/physkets) [13:16:27] *** Joins: sinewav (~Thunderbi@ip68-7-68-87.sd.sd.cox.net) [14:30:41] *** Quits: physkets (~physkets@unaffiliated/physkets) (Quit: physkets) [15:58:07] <Lucifer_arma> luke-jr: except that when I set it up awhile back on my home server, it didn't work [16:45:51] *** Quits: sinewav (~Thunderbi@ip68-7-68-87.sd.sd.cox.net) (Quit: couldn't handle it and left) [17:24:10] *** Quits: G5 (~g5@p200300EB4BC1A300494D93D73A676B95.dip0.t-ipconnect.de) () [19:10:36] <Lucifer_arma> damn. I need a recursive function now, and I hate writing those :/ [20:10:25] <Lucifer_arma> haha, avoid writing recursive function by simply writing piecemeal until it works :) [20:10:35] <Lucifer_arma> (still not there, but now I can do it all in a while loop) [21:07:03] *** Joins: Z-Man- (~Z-Man@p5B326012.dip0.t-ipconnect.de) [21:07:03] *** Z-Man is now known as Guest61990 [21:07:03] *** Quits: Guest61990 (~Z-Man@p4FE3E777.dip0.t-ipconnect.de) (Killed (hitchcock.freenode.net (Nickname regained by services))) [21:07:03] *** Z-Man- is now known as Z-Man [21:51:05] *** Quits: Long_Shoota (LS@cpc76132-clif11-2-0-cust623.12-4.cable.virginm.net) (Read error: Connection reset by peer) [21:51:14] *** Joins: Long_Shoota (LS@cpc76132-clif11-2-0-cust623.12-4.cable.virginm.net) [22:14:42] <ct|kyle> Lucifer_arma: need help with recurssion? [22:19:00] <Lucifer_arma> ct|kyle: nah, I found a way to write it without recursion. Not that I need help with recursion.... [22:19:20] <Lucifer_arma> I just don't like using it. Either you risk a situation where you get stuck in infinite recursion, or you have to write a bunch of checks to be careful [22:19:49] <ct|kyle> Lucifer_arma: or stack overflows :) [22:19:55] <Lucifer_arma> truthfully, most recursive algorithms I've encountered can be written with a while loop [22:20:18] <Lucifer_arma> in this situation, I need to recursively scan templates to load each one, with the risk that several templates will result in an infinite recursion situation [22:20:19] <ct|kyle> that's what happend when i had too many number in my quicksort in assembly :P [22:20:37] <Lucifer_arma> ah, yes, I wrote a bubble sort back in high school [22:20:48] <Lucifer_arma> teacher gave me a B because I used a while loop, when he wanted us to use recursion [22:21:21] <Lucifer_arma> he didn't say "use recursion", mind you. After he gave me the B, THEN he told me the whole point was to learn recursion [22:21:33] <Lucifer_arma> so I used recursion (unnecessarily) on the next three assignments, and he finally quit grading me [22:21:49] <ct|kyle> lol [22:21:57] <Lucifer_arma> anyway, in this situation, I solved the problem by just keeping track of a list [22:22:16] <Lucifer_arma> by using while len(thelist) > 0: I was able to simply add to the list whenever I found new templates [22:22:37] <Lucifer_arma> using thelist.pop(0) inside the loop to process each one in turn, and just checking to see if I'd processed it already before processing it [22:22:37] <ct|kyle> before I really knew what recurssion was, I used it to kill subprocesses before killing tha parent [22:22:53] <Lucifer_arma> ah shit, that's like fighting drug cartels [22:23:06] <Lucifer_arma> sure, you can eliminate one, but there's two more waiting to take its place [22:24:25] <Lucifer_arma> I tried to write a recursive parser back in high school [22:24:29] <Lucifer_arma> worst...idea...ever [22:24:42] <Lucifer_arma> but I couldn't get it to properly detect spaces in a line of typing [22:24:55] <ct|kyle> ah [22:24:56] <Lucifer_arma> still don't know why I couldn't do it, because I did it just fine when I was like 26 [22:25:26] <Lucifer_arma> (I took a long break from computers after high school) [22:26:46] <Lucifer_arma> also, that was not writing a recursive parser, I just tried recursion because I was trying to write the parser while we were studying recursion [23:48:48] *** Joins: Guest79162609 (LS@cpc76132-clif11-2-0-cust623.12-4.cable.virginm.net) [23:49:20] *** Quits: Long_Shoota (LS@cpc76132-clif11-2-0-cust623.12-4.cable.virginm.net) (Read error: Connection reset by peer) [23:57:57] *** Quits: Guest79162609 (LS@cpc76132-clif11-2-0-cust623.12-4.cable.virginm.net) (Ping timeout: 264 seconds) [23:58:36] *** Joins: Long_Shoota (LS@cpc76132-clif11-2-0-cust623.12-4.cable.virginm.net)View entire month