--- Log opened Thu Apr 12 00:00:28 2018 |
00:04 | < RchrdB> | the twitter thread this is from contains many gems https://twitter.com/eddynardo11/status/983345537876406272 |
00:17 | | Jessikat` [Jessikat@Nightstar-bt5k4h.81.in-addr.arpa] has quit [Connection closed] |
00:41 | | Kindamoody is now known as Kindamoody[zZz] |
00:50 | | celticminstrel [celticminst@Nightstar-m1ak9t.dsl.bell.ca] has joined #code |
00:50 | | mode/#code [+o celticminstrel] by ChanServ |
01:10 | | RchrdB [RchrdB@Nightstar-qe9.aug.187.81.IP] has quit [Connection closed] |
01:20 | | Derakon[AFK] is now known as Derakon |
02:15 | | Degi is now known as Degi[afk] |
02:34 | | Degi[afk] is now known as Degi |
03:11 | | Degi [Degi@Nightstar-vrmak5.dyn.telefonica.de] has quit [[NS] Quit: Leaving] |
05:04 | | Derakon is now known as Derakon[AFK] |
06:28 | | celticminstrel [celticminst@Nightstar-m1ak9t.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
06:44 | | Vornlicious [Vorn@Nightstar-q7fdq5.sub-174-211-18.myvzw.com] has joined #code |
06:46 | | Vorntastic [Vorn@Nightstar-1l3nul.res.rr.com] has quit [Ping timeout: 121 seconds] |
07:03 | | Kindamoody[zZz] is now known as Kindamoody |
07:08 | | macdjord is now known as macdjord|slep |
07:18 | | Vornotron [Vorn@Nightstar-1l3nul.res.rr.com] has joined #code |
07:18 | | mode/#code [+qo Vornotron Vornotron] by ChanServ |
07:24 | | Vornotron [Vorn@Nightstar-1l3nul.res.rr.com] has quit [Ping timeout: 121 seconds] |
08:24 | | Pink [user1@Nightstar-g7hdo5.dyn.optonline.net] has quit [Ping timeout: 121 seconds] |
09:09 | | Pink [user1@Nightstar-g7hdo5.dyn.optonline.net] has joined #code |
09:42 | | Vornlicious [Vorn@Nightstar-q7fdq5.sub-174-211-18.myvzw.com] has quit [Ping timeout: 121 seconds] |
09:58 | | Vorntastic [Vorn@Nightstar-q7fdq5.sub-174-211-18.myvzw.com] has joined #code |
10:09 | | Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has joined #code |
10:22 | <@ErikMesoy> | today on "WTF is this old code", I have 1a) a Python class containing strings with {0} in them that are supposed to replace this with context-appropriate text, 1b) a classattr string that is to replace the {0} where appropriate 2) subclasses overwriting the classattr string |
10:23 | <@ErikMesoy> | and the nice replacement happens so that every class uses the proper name when talking about itself at runtime, it's just that I can't find the *actual replacement instruction* |
10:23 | <@ErikMesoy> | it's like the {0} is just getting replaced with first classattr string by default or something, but that can't be right |
10:25 | < Vorntastic> | .format is how but |
10:25 | < Vorntastic> | Paste it? |
10:27 | <@ErikMesoy> | too large, searching for .format |
10:29 | <@ErikMesoy> | Aha. The .format() call existed but for reason I had split it out to another module. At least knowing its name helped find it. Thanks. |
10:30 | <@ErikMesoy> | Now why would I write a series of "self.foo=self.foo" and "self.var=self.var" assignments... |
10:52 | < Emmy> | i pity the self.foo |
10:53 | <@ErikMesoy> | aha, it works out to "this object instance.var = class attribute.var" |
12:03 | | Degi [Degi@Nightstar-vrmak5.dyn.telefonica.de] has joined #code |
12:04 | | Vorntastic [Vorn@Nightstar-q7fdq5.sub-174-211-18.myvzw.com] has quit [Ping timeout: 121 seconds] |
12:58 | | gnolam_ [lenin@Nightstar-ghphrt.cust.bahnhof.se] has joined #code |
13:01 | | gnolam [lenin@Nightstar-ego6cb.cust.bahnhof.se] has quit [Ping timeout: 121 seconds] |
13:16 | | gnolam [lenin@Nightstar-ego6cb.cust.bahnhof.se] has joined #code |
13:16 | | mode/#code [+o gnolam] by ChanServ |
13:17 | | gnolam__ [lenin@Nightstar-ghphrt.cust.bahnhof.se] has joined #code |
13:19 | | gnolam_ [lenin@Nightstar-ghphrt.cust.bahnhof.se] has quit [Ping timeout: 121 seconds] |
13:20 | | gnolam_ [lenin@Nightstar-ego6cb.cust.bahnhof.se] has joined #code |
13:21 | | gnolam [lenin@Nightstar-ego6cb.cust.bahnhof.se] has quit [Ping timeout: 121 seconds] |
13:23 | | gnolam__ [lenin@Nightstar-ghphrt.cust.bahnhof.se] has quit [Ping timeout: 121 seconds] |
13:31 | | gnolam [lenin@Nightstar-ghphrt.cust.bahnhof.se] has joined #code |
13:31 | | mode/#code [+o gnolam] by ChanServ |
13:32 | | gnolam__ [lenin@Nightstar-ego6cb.cust.bahnhof.se] has joined #code |
13:35 | | gnolam_ [lenin@Nightstar-ego6cb.cust.bahnhof.se] has quit [Ping timeout: 121 seconds] |
13:35 | | gnolam [lenin@Nightstar-ghphrt.cust.bahnhof.se] has quit [NickServ (RECOVER command used by gnolam__)] |
13:35 | | gnolam__ is now known as gnolam |
13:35 | | mode/#code [+o gnolam] by ChanServ |
13:42 | | macdjord|slep is now known as macdjord |
13:47 | | gnolam_ [lenin@Nightstar-ghphrt.cust.bahnhof.se] has joined #code |
13:50 | | gnolam [lenin@Nightstar-ego6cb.cust.bahnhof.se] has quit [Ping timeout: 121 seconds] |
13:51 | | gnolam [lenin@Nightstar-ego6cb.cust.bahnhof.se] has joined #code |
13:51 | | mode/#code [+o gnolam] by ChanServ |
13:51 | | Vorntastic [Vorn@Nightstar-8jns86.sub-174-210-1.myvzw.com] has joined #code |
13:52 | | gnolam__ [lenin@Nightstar-ghphrt.cust.bahnhof.se] has joined #code |
13:54 | | gnolam_ [lenin@Nightstar-ghphrt.cust.bahnhof.se] has quit [Ping timeout: 121 seconds] |
13:56 | | gnolam [lenin@Nightstar-ego6cb.cust.bahnhof.se] has quit [Ping timeout: 121 seconds] |
14:18 | | gnolam__ is now known as gnolam |
14:18 | | mode/#code [+o gnolam] by ChanServ |
14:37 | | Vorntastic [Vorn@Nightstar-8jns86.sub-174-210-1.myvzw.com] has quit [Ping timeout: 121 seconds] |
15:07 | | Jessikat [Jessikat@Nightstar-bhb8qh.dab.02.net] has joined #code |
15:23 | | Vornicus [Vorn@Nightstar-1l3nul.res.rr.com] has joined #code |
15:23 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
15:28 | | simon_ [simon@Nightstar-e7dcnn.com] has joined #code |
15:28 | < simon_> | hrm |
15:28 | < simon_> | I'm testing some code that calls rand(). luckily Perl has Test::MockRandom that can redefine rand() for particular classes. |
15:30 | < simon_> | unluckily, I don't think these test are sufficient at all. what I should be doing is extract the randomness into a separate method, mock *that* method to always return something specific, rather than rely on how the method currently handles rand() internally. |
15:30 | < simon_> | in my case, I've got a method that picks a random object from a collection. |
15:31 | < simon_> | that'd be pretty black-boxy. okay. thanks! |
15:36 | < simon_> | grr. so this function returns a random element after it's filtered them. so really what I'd love to do is make a quickcheck property that says that that filter condition is true. but we're not doing property-based tests. |
16:21 | | Degi [Degi@Nightstar-vrmak5.dyn.telefonica.de] has quit [Connection closed] |
19:01 | | Jessikat` [Jessikat@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code |
19:01 | | Jessikat [Jessikat@Nightstar-bhb8qh.dab.02.net] has quit [[NS] Quit: Bye] |
19:14 | | * abudhabi glares at Dropbox for integrating symlinks. |
19:39 | | Vornicus [Vorn@Nightstar-1l3nul.res.rr.com] has quit [Ping timeout: 121 seconds] |
20:41 | <&McMartin> | Is somebody who's really good at scheduling work to be done a 'cron artist'? |
20:41 | | Vorntastic [Vorn@Nightstar-ct1qjt.res.rr.com] has joined #code |
20:51 | | Vornlicious [Vorn@Nightstar-nv856c.sub-174-211-7.myvzw.com] has joined #code |
20:53 | | Vorntastic [Vorn@Nightstar-ct1qjt.res.rr.com] has quit [Ping timeout: 121 seconds] |
20:54 | | Vornlicious [Vorn@Nightstar-nv856c.sub-174-211-7.myvzw.com] has quit [[NS] Quit: Bye] |
20:55 | | Vorntastic [Vorn@Nightstar-ct1qjt.res.rr.com] has joined #code |
21:38 | | Degi [Degi@Nightstar-vrmak5.dyn.telefonica.de] has joined #code |
21:56 | | Degi_ [Degi@Nightstar-vrmak5.dyn.telefonica.de] has joined #code |
21:59 | | Degi [Degi@Nightstar-vrmak5.dyn.telefonica.de] has quit [Ping timeout: 121 seconds] |
21:59 | | Degi_ is now known as Degi |
22:04 | | Vornlicious [Vorn@Nightstar-d61veb.sub-174-211-3.myvzw.com] has joined #code |
22:05 | | Vorntastic [Vorn@Nightstar-ct1qjt.res.rr.com] has quit [Ping timeout: 121 seconds] |
22:06 | | Derakon[AFK] is now known as Derakon |
22:09 | <&[R]> | <Sitri> killown: what is the issue that's making you want to look into another distro? |
22:09 | <&[R]> | <killown> Sitri, archlinux |
22:09 | <&[R]> | <Sitri> That's not an issue |
22:09 | <&[R]> | <killown> ? |
22:14 | <&McMartin> | I thought pacman was the issue~ |
22:15 | <&[R]> | Nah, turns out he's having display glitches, which aren't fixed with a driver switch |
22:15 | <&[R]> | Which screams HW issue |
22:18 | | Degi_ [Degi@Nightstar-vrmak5.dyn.telefonica.de] has joined #code |
22:21 | | Degi [Degi@Nightstar-vrmak5.dyn.telefonica.de] has quit [Ping timeout: 121 seconds] |
22:21 | | Degi_ is now known as Degi |
22:56 | | Degi [Degi@Nightstar-vrmak5.dyn.telefonica.de] has quit [Connection closed] |
22:58 | | Vornlicious [Vorn@Nightstar-d61veb.sub-174-211-3.myvzw.com] has quit [[NS] Quit: Bye] |
22:58 | | Vorntastic [Vorn@Nightstar-1l3nul.res.rr.com] has joined #code |
23:05 | | Vornicus [Vorn@Nightstar-1l3nul.res.rr.com] has joined #code |
23:05 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
23:09 | | Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has quit [Connection closed] |
23:18 | | Vorntastic [Vorn@Nightstar-1l3nul.res.rr.com] has quit [Ping timeout: 121 seconds] |
--- Log closed Fri Apr 13 00:00:29 2018 |