--- Log opened Mon Oct 29 00:00:52 2018 |
00:24 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code |
00:24 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
00:32 | | Degi [Degi@Nightstar-8m4l4s.dyn.telefonica.de] has quit [Connection reset by peer] |
01:03 | | Kindamoody is now known as Kindamoody[zZz] |
03:39 | | celticminstrel is now known as celmin|sleep |
04:39 | | Derakon is now known as Derakon[AFK] |
05:04 | | Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client] |
05:52 | | ricer [ricer@Nightstar-52ic2g.wechall.net] has quit [Ping timeout: 121 seconds] |
05:59 | | McMartin [mcmartin@Nightstar-rpcdbf.sntcca.sbcglobal.net] has quit [Operation timed out] |
06:02 | | McMartin [mcmartin@Nightstar-rpcdbf.sntcca.sbcglobal.net] has joined #code |
06:02 | | mode/#code [+ao McMartin McMartin] by ChanServ |
07:40 | <~Vornicus> | waugh recursive removal |
07:40 | | Degi [Degi@Nightstar-3u81rq.dyn.telefonica.de] has joined #code |
07:53 | <&McMartin> | ? |
07:53 | <~Vornicus> | I have a list of things; some items in the list may dictate the removal of other items in the list. |
07:54 | <~Vornicus> | The things removed may be earlier or later in the list than the things that dictate their removal |
07:54 | <~Vornicus> | Then once I've done that it's possible that, having removed the items (and adjusted the dictating item accordingly), things that were not previously dictated to be removed will now be |
07:57 | <~Vornicus> | And this being Python and not C++, iteration hates removal |
08:02 | | Degi [Degi@Nightstar-3u81rq.dyn.telefonica.de] has quit [Connection reset by peer] |
08:12 | <&McMartin> | If you think C++ iteration doesn't hate removal I have some very bad news for you |
08:13 | <&McMartin> | Any given class is consistent about whether or not removal is OK but what "OK" means varies by class and some classes are simply not OK with it |
08:13 | <~Vornicus> | It hates removal less than python and java do, that's for sure. |
09:53 | | * gnolam sighs. |
09:54 | <@gnolam> | There are few things more frustrating than when all you can find about a problem is that a whole bunch of other people are having the same problem, but nobody has a solution. |
09:56 | <@TheWatcher> | Oh there is |
09:56 | <@TheWatcher> | "I have this problem with X, I can't Y..." |
09:56 | <@TheWatcher> | "Wait, never mind, fixed it" |
09:56 | <~Vornicus> | when somebody has a solution but it's wrong |
09:57 | <@TheWatcher> | HOW, YOU FUCKING PUTRIFIED MASS OF SCROTAL PUSS CRUSTING?! |
09:57 | | * TheWatcher ahem |
10:03 | | * Vornicus thinks he's figured it out: just pass through until you reach one that can be merged, perform the merge, then *start over from the beginning* |
10:04 | <@TheWatcher> | That sounds like it might be a bit slow? |
10:06 | <~Vornicus> | not a huge worry here; there's at most around 100 items, and each time a merge succeeds the count is reduced by 1 |
10:06 | <@TheWatcher> | Oh, right |
10:06 | <@TheWatcher> | 'cos otherwise I was going to suggest that instead of removing, you build up a second list of things you're keeping *shrug* |
10:08 | <~Vornicus> | The other issue here is that the merges can perform actions that cause more merges to be possible. |
10:09 | <~Vornicus> | that is, more than were apparent before the merge was performed |
10:11 | <~Vornicus> | Nice, it worked. |
10:12 | <@TheWatcher> | huzzah |
10:36 | | Kindamoody[zZz] is now known as Kindamoody |
10:44 | <@gnolam> | TheWatcher: http://www.optipess.com/2018/10/15/titsmcgee4782/ |
10:45 | <@TheWatcher> | Beheading is too good |
12:42 | | Degi [Degi@Nightstar-3u81rq.dyn.telefonica.de] has joined #code |
15:06 | | Degi [Degi@Nightstar-3u81rq.dyn.telefonica.de] has quit [Connection reset by peer] |
15:08 | | Kindamoody is now known as Kindamoody|afk |
15:42 | | Syloq [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Operation timed out] |
16:01 | | Syloq [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code |
16:01 | | mode/#code [+o Syloq] by ChanServ |
16:28 | | Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has joined #code |
18:25 | | Kindamoody|afk is now known as Kindamoody |
20:30 | | Degi [Degi@Nightstar-3u81rq.dyn.telefonica.de] has joined #code |
21:27 | | Derakon[AFK] is now known as Derakon |
21:53 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
23:14 | | Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds] |
23:44 | | himi [sjjf@Nightstar-1drtbs.anu.edu.au] has joined #code |
23:44 | | mode/#code [+o himi] by ChanServ |
23:44 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Operation timed out] |
23:53 | | Degi [Degi@Nightstar-3u81rq.dyn.telefonica.de] has quit [Connection reset by peer] |
--- Log closed Tue Oct 30 00:00:53 2018 |