code logs -> 2020 -> Wed, 12 Feb 2020< code.20200211.log - code.20200213.log >
--- Log opened Wed Feb 12 00:00:17 2020
00:26 macdjord|wurk is now known as macdjord
01:51 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed]
02:18 Kizor [moryok@Nightstar-e0a4sm.utu.fi] has quit [[NS] Quit: leaving]
02:25 Kindamoody is now known as Kindamoody[zZz]
02:53 Kizor [moryok@Nightstar-e0a4sm.utu.fi] has joined #code
02:54 Kizor is now known as NSGuest45889
03:05 NSGuest45889 is now known as Kizor
03:32 Degi [Degi@Nightstar-ogha4c.dyn.telefonica.de] has quit [Ping timeout: 121 seconds]
03:32 Degi [Degi@Nightstar-q2g21e.dyn.telefonica.de] has joined #code
05:19 Derakon is now known as Derakon[AFK
05:19 Derakon[AFK is now known as Derakon[AFK]
05:21 himi [sjjf@Nightstar-1drtbs.anu.edu.au] has quit [Ping timeout: 121 seconds]
05:27 celmin|away [celticminst@Nightstar-0p84vo.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
07:05 macdjord is now known as macdjord|slep
07:48 himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code
07:48 mode/#code [+o himi] by ChanServ
09:31 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
09:31 mode/#code [+qo Vornicus Vornicus] by ChanServ
10:30
<@ErikMesoy>
I have a set C of variables c1-cN, and I want to do a series of operations: for i_1 in f(c1): { for i_2 in f(c2): { for i_3 in f(c3): { ... do_calculation(i_1, i_2, i_3 ... i_N) }}}
10:31
<@ErikMesoy>
C is of nontrivial length, so I don't want to write out every nested for-loop by hand. What's the name of the structure I'm thinking of when I want a "meta for loop" that will create an inner for-loop for every c in C?
10:31
<@ErikMesoy>
I'm sure it has to exist, I just don't know the name to search out instructions.
10:32
<@ErikMesoy>
I could imitate it with a pile of recursive function calls, but I feel like there should exist a standard for-for construct of some sort.
10:39
<~Vornicus>
hold on let me make sure what you're doing here
10:40
<~Vornicus>
You have, uh --- five dice, say, of the type that have funky symbols
10:41
<~Vornicus>
And you wish to exhaustively check every possible roll of these dice for something
10:43
<@ErikMesoy>
Basically, yes. And the dice have different numbers of faces.
10:43
<~Vornicus>
If that's the case, the thing you need is itertools.product.
10:44
<@ErikMesoy>
Right. Thanks.
10:50 Kindamoody[zZz] is now known as Kindamoody
10:50 * TheWatcher arghs, is trying to work on stuff involving perl, python, and javascript all at the same time, is not having much luck >.<
10:50
<@TheWatcher>
Blegh, meeting time anyway
10:50 You're now known as TheWatcher[d00m]
12:46 You're now known as TheWatcher
13:02 macdjord|slep is now known as macdjord|wurk
13:54 You're now known as TheWatcher[d00m]
13:56 celticminstrel [celticminst@Nightstar-0p84vo.dsl.bell.ca] has joined #code
13:56 mode/#code [+o celticminstrel] by ChanServ
16:55 You're now known as TheWatcher
16:58 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has joined #code
17:41 catalyst [yaaic@Nightstar-295h3e.cpe.teksavvy.com] has joined #code
17:41
< catalyst>
hej
17:41
< catalyst>
which was the aoc channel again?
17:59 Derakon[AFK] is now known as Derakon
18:00
<~Vornicus>
#aocspoilers
18:14 Kindamoody [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has quit [Ping timeout: 121 seconds]
18:39
< catalyst>
oh yeah I learned rust
18:39
< catalyst>
It's a really nice language
18:54 Kimo|autojoin [Kindamoody@Nightstar-v552ts.tbcn.telia.com] has joined #code
18:54 mode/#code [+o Kimo|autojoin] by ChanServ
18:54 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has quit [Z-Lined: Your IP range has been attempting to connect too many times in too short a duration. Wait a while, and you will be able to connect.]
18:54 catalyst [yaaic@Nightstar-295h3e.cpe.teksavvy.com] has quit [Z-Lined: Your IP range has been attempting to connect too many times in too short a duration. Wait a while, and you will be able to connect.]
19:41 Vorntastic [uid293981@Nightstar-h2b233.irccloud.com] has joined #code
19:41 mode/#code [+qo Vorntastic Vorntastic] by ChanServ
19:52 Kimo|autojoin [Kindamoody@Nightstar-v552ts.tbcn.telia.com] has quit [Ping timeout: 121 seconds]
20:11
<&jeroud>
https://github.com/laynH/Anime-Girls-Holding-Programming-Books
20:20
<@abudhabi_>
Hahaha.
20:22
<@abudhabi_>
Some of these look pretty well shooped!
20:25
<~Vorntastic>
Kobayashi does indeed do python for her job
20:27
<@gnolam>
Kobayashi? Does she run Kaiser SUSE?
20:30
<&jeroud>
I must admit to not recognizing any of the anime girls.
20:31
<@abudhabi_>
The only chinese cartoons I watched were Dragon Ball and One Punch Man, so I'm in the same boat. :V
20:32
<&jeroud>
Surely you mean Japanese?
20:35
<@abudhabi_>
(Yes, I'm being facetious. "Chinese cartoons" is a pejorative for anime among detractors.)
20:37
<&jeroud>
Ah. Never heard that.
20:44
<&McMartin>
I spend enough time from people around Hong Kong that I'd associate it with someone confused about how many hops their animes took before they found them.
20:48
<~Vorntastic>
Kobayashi is from Kobayashi's Dragon Maid. She rescues a dragon somehow and the dragon moves in with her and does maid things like clean house and stuff
20:49
<~Vorntastic>
Kobayashi works as a programmer and her boss is kinda yelly
20:54 himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
21:05 Kimo|autojoin [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has joined #code
21:05 mode/#code [+o Kimo|autojoin] by ChanServ
21:07 Kimo|autojoin is now known as Kindamoody
22:33 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds]
22:34 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code
22:34 mode/#code [+ao ToxicFrog ToxicFrog] by ChanServ
22:38
<&McMartin>
Oh man, an actual REP MOVSB in modern code
22:38
<&McMartin>
I thought those were no longer worth the effort nowadays.
22:48
<~Vornicus>
?
22:48 * McMartin messed something up, got a crash inside memcpy, called up the dump
22:49
<&McMartin>
REP MOVSB is some 1980-era x86 code and I was generally under the impression that the old CISCier instructions were simulated in microcode now and didn't offer much advantage
23:01 Vorntastic [uid293981@Nightstar-h2b233.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity]
23:17 himi [sjjf@Nightstar-1drtbs.anu.edu.au] has joined #code
23:17 mode/#code [+o himi] by ChanServ
--- Log closed Thu Feb 13 00:00:18 2020
code logs -> 2020 -> Wed, 12 Feb 2020< code.20200211.log - code.20200213.log >

[ Latest log file ]