code logs -> 2019 -> Sat, 14 Sep 2019< code.20190913.log - code.20190915.log >
--- Log opened Sat Sep 14 00:00:28 2019
01:41 celmin|away is now known as celticminstrel
01:41 Degi [Degi@Nightstar-4k5031.dyn.telefonica.de] has joined #code
01:51 Degi [Degi@Nightstar-4k5031.dyn.telefonica.de] has quit [Connection closed]
02:01 ErikMesoy [Bruker@Nightstar-gilb7q.bb.online.no] has quit [Connection closed]
02:01
<@sshine>
WTF moment of the week. 'my $user = User->trylogin($email, $password);' will successfully log me in. 'User->trylogin($email, $password);' will fail.
02:03
<@sshine>
<3 Perl.
02:09
<@celticminstrel>
...how?
02:15
<@sshine>
I don't know yet. it only happens in one test file.
02:15
<@sshine>
I thought it might have been the function being sensitive to Perl's concept of scalar/list contexts.
02:16
<@sshine>
e.g. 'my $x = grep { $_ > 5 } 1..10' will return the number of matches and 'my @x = grep { $_ > 5 } 1..10' will return the list of matches, and 'grep' actually does something different rather than convert the result at the end. you can make subroutines react differently, too.
02:17
<@sshine>
maybe it has to do with mocking time. I need a job with other kinds of technical problems.
02:20 Pink [user1@Nightstar-g7hdo5.dyn.optonline.net] has joined #code
02:22 Pinkhair [user1@Nightstar-g7hdo5.dyn.optonline.net] has quit [Ping timeout: 121 seconds]
02:28
<@sshine>
maybe it's cache-related.
03:10 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
03:37 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code
03:38 mode/#code [+ao ToxicFrog ToxicFrog] by ChanServ
04:55 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
04:55 mode/#code [+qo Vornicus Vornicus] by ChanServ
05:15 Derakon is now known as Derakon[AFK]
06:40 ErikMesoy [Bruker@Nightstar-gilb7q.bb.online.no] has joined #code
06:40 mode/#code [+o ErikMesoy] by ChanServ
06:50 Kindamoody[zZz] is now known as Kindamoody
07:07 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed]
07:10 Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has joined #code
07:10 mode/#code [+qo Vorntastic Vorntastic] by ChanServ
07:44 celticminstrel [celticminst@Nightstar-6an2qt.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
08:26 Kindamoody is now known as Kindamoody|afk
14:55 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
14:55 mode/#code [+qo Vornicus Vornicus] by ChanServ
15:37 Pinkhair [user1@Nightstar-g7hdo5.dyn.optonline.net] has joined #code
15:39 Pink [user1@Nightstar-g7hdo5.dyn.optonline.net] has quit [Ping timeout: 121 seconds]
16:51 celticminstrel [celticminst@Nightstar-6an2qt.dsl.bell.ca] has joined #code
16:51 mode/#code [+o celticminstrel] by ChanServ
19:20 Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity]
19:33 Kindamoody|afk is now known as Kindamoody
20:55 Derakon[AFK] is now known as derakon
20:56 derakon is now known as Derakon
21:45 catalyst [catalyst@Nightstar-5dv16h.cable.virginm.net] has joined #code
22:13 catalyst [catalyst@Nightstar-5dv16h.cable.virginm.net] has quit [Connection closed]
--- Log closed Sun Sep 15 00:00:30 2019
code logs -> 2019 -> Sat, 14 Sep 2019< code.20190913.log - code.20190915.log >

[ Latest log file ]