code logs -> 2017 -> Thu, 05 Oct 2017< code.20171004.log - code.20171006.log >
--- Log opened Thu Oct 05 00:00:26 2017
00:06 Alek [Alek@Nightstar-7or629.il.comcast.net] has quit [Ping timeout: 121 seconds]
00:09 Alek [Alek@Nightstar-7or629.il.comcast.net] has joined #code
00:09 mode/#code [+o Alek] by ChanServ
00:52 celticminstrel [celticminst@Nightstar-rk1uup.dsl.bell.ca] has joined #code
00:52 mode/#code [+o celticminstrel] by ChanServ
00:57 Kindamoody is now known as Kindamoody[zZz]
01:10 himi [sjjf@Nightstar-dm0.2ni.203.150.IP] has joined #code
01:10 mode/#code [+o himi] by ChanServ
01:20
<&McMartin>
Alright, #code
01:20
<&McMartin>
What do you call a contiguous chunk of code that's smaller than a function but larger than a line?
01:21
<&McMartin>
I'm torn between "block" and "stanza". I'm resisting "block" because I seem to want that to be restricted to "A certain kind of AST node, and its children".
01:21
<&[R]>
Why do you need to make the distinction?
01:22
<&McMartin>
The thing my comment refers to isn't a block by the restricted definition.
01:22
<&[R]>
Right, but why is it important to name this?
01:28
<&McMartin>
Because I'm writing a comment directing the reader to a bit of code that has not merely parents but siblings and I need a noun for it, and as I started writing "block" I hesitated due to the way block implies single AST node.
01:31
<@macdjord|slep>
McMartin: 'section' is what I'd call it.
01:43 Derakon_ is now known as Derakon
01:43 mode/#code [+ao Derakon Derakon] by ChanServ
01:47
<&McMartin>
"Section" has a special meaning for me since I occasionally rip object files apart and it has a special meaning there
01:48
<&McMartin>
-_-
01:49
<&McMartin>
"and if you have a negation clause right next to the stanza, then you'll have a sign field with your co-stanza"
01:49
<&McMartin>
brb, launching someone into orbit and then totally using that
02:00
<~Vornicus>
"chunk"
02:01 * McMartin nods
02:01
<&McMartin>
In the channels I asked this, stanza, chunk, and hunk were the three standouts
02:03 bowlich [bowlich@Nightstar-su4ao3.kynda.net] has quit [Connection closed]
02:09 bowlich [bowlich@Nightstar-su4ao3.kynda.net] has joined #code
02:22
< Mahal>
Stanza has a specific meaning (poetry) which I think I would personally avoid, regardless of your personal passion for code.
02:22
< Mahal>
Chunk seems like a practical choice.
02:38 Jessikat` [Jessikat@Nightstar-vmpfal.dab.02.net] has joined #code
02:40 Jessikat [Jessikat@Nightstar-hr7j57.dab.02.net] has quit [Ping timeout: 121 seconds]
03:20
<@himi>
I'd avoid "hunk" since it's got a fairly well defined meaning in the context of diff/patch
04:01
<&Derakon>
dirs = [NORTH, SOUTH, EAST, WEST]
04:02
<&Derakon>
combos = set(map(set, itertools.product(dirs, dirs, dirs, dirs)))
04:03
<&Derakon>
'scuse me, combos = set(map(tuple, map(set, itertools.product(dirs, dirs, dirs, dirs))))
04:03
<&Derakon>
There's probably a better way to produce every combination of possible adjacencies, but this works.
04:07 macdjord|slep is now known as macdjord
05:03 * Derakon dumps some code into his devlog in lieu of a more interesting update. https://forums.somethingawful.com/showthread.php?threadid=3832387&pagenumber=1#p ost477070099
05:03
<&Derakon>
(Requires an SA account)
05:21 Derakon is now known as Derakon[AFK]
05:27 AverageJoe [evil1@Nightstar-jlpftq.ct.co.cr] has joined #code
05:36 AverageJoe [evil1@Nightstar-jlpftq.ct.co.cr] has quit [[NS] Quit: Leaving]
06:16 himi [sjjf@Nightstar-dm0.2ni.203.150.IP] has quit [Ping timeout: 121 seconds]
06:17 celticminstrel [celticminst@Nightstar-rk1uup.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
07:25 Jessikat` [Jessikat@Nightstar-vmpfal.dab.02.net] has quit [Ping timeout: 121 seconds]
07:33 macdjord is now known as macdjord|slep
07:38 AverageJoe [evil1@Nightstar-jlpftq.ct.co.cr] has joined #code
08:11 Vornicus [Vash@Nightstar-1l3nul.res.rr.com] has quit [Connection closed]
08:41 AverageJoe [evil1@Nightstar-jlpftq.ct.co.cr] has quit [[NS] Quit: Leaving]
08:50 Degi [Degi@Nightstar-nf38d9.dyn.telefonica.de] has joined #code
09:35 himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code
09:35 mode/#code [+o himi] by ChanServ
11:09 Kindamoody[zZz] is now known as Kindamoody
12:00 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has joined #code
13:05 celticminstrel [celticminst@Nightstar-rk1uup.dsl.bell.ca] has joined #code
13:05 mode/#code [+o celticminstrel] by ChanServ
13:07 celticminstrel [celticminst@Nightstar-rk1uup.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
13:29 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has quit [[NS] Quit: Leaving]
13:42 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has joined #code
14:49
<&jerith>
"You may be asking 'Hynek, is this a serious project? Can I use it in production?' I'm so glad you asked. The answer is yes. I have stickers."
15:22 Jessikat [Jessikat@Nightstar-6m0lvl.dab.02.net] has joined #code
18:25 gnolam [quassel@Nightstar-hsn6u0.cust.bahnhof.se] has joined #code
18:25 mode/#code [+o gnolam] by ChanServ
19:39 RchrdB [RchrdB@Nightstar-qe9.aug.187.81.IP] has joined #code
19:47 Alek [Alek@Nightstar-7or629.il.comcast.net] has quit [Ping timeout: 121 seconds]
19:50 Alek [Alek@Nightstar-7or629.il.comcast.net] has joined #code
19:50 mode/#code [+o Alek] by ChanServ
20:24 Alek [Alek@Nightstar-7or629.il.comcast.net] has quit [Ping timeout: 121 seconds]
20:26 Jessikat` [Jessikat@Nightstar-7gncd5.dab.02.net] has joined #code
20:27 Alek [Alek@Nightstar-7or629.il.comcast.net] has joined #code
20:27 mode/#code [+o Alek] by ChanServ
20:29 Jessikat [Jessikat@Nightstar-6m0lvl.dab.02.net] has quit [Ping timeout: 121 seconds]
20:53 macdjord [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has joined #code
20:53 mode/#code [+o macdjord] by ChanServ
20:55 macdjord|slep [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has quit [Ping timeout: 121 seconds]
21:35 Jessikat` is now known as Jessikat
23:11 gnolam [quassel@Nightstar-hsn6u0.cust.bahnhof.se] has quit [[NS] Quit: Z?]
23:21 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds]
23:36 Degi [Degi@Nightstar-nf38d9.dyn.telefonica.de] has quit [Connection reset by peer]
--- Log closed Fri Oct 06 00:00:28 2017
code logs -> 2017 -> Thu, 05 Oct 2017< code.20171004.log - code.20171006.log >

[ Latest log file ]