code logs -> 2020 -> Tue, 21 Jan 2020< code.20200120.log - code.20200122.log >
--- Log opened Tue Jan 21 00:00:28 2020
00:38
<&McMartin>
Oh hey, I'd missed that this got an authorized re-setting. https://github.com/jagregory/abrash-black-book
00:38
<&McMartin>
I've been relying on the PDFs for years.
03:55 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed]
04:15 Degi [Degi@Nightstar-mducp9.dyn.telefonica.de] has quit [Ping timeout: 121 seconds]
04:16 Degi [Degi@Nightstar-6altvf.dyn.telefonica.de] has joined #code
04:20 celticminstrel [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!]
08:26 ErikMesoy [Bruker@Nightstar-98ah5g.bb.online.no] has quit [Connection closed]
08:31 ErikMesoy [Bruker@Nightstar-98ah5g.bb.online.no] has joined #code
08:31 mode/#code [+o ErikMesoy] by ChanServ
08:59 Alek [Alek@Nightstar-o723m2.cicril.sbcglobal.net] has quit [Ping timeout: 121 seconds]
09:03 Alek [Alek@Nightstar-o723m2.cicril.sbcglobal.net] has joined #code
09:03 mode/#code [+o Alek] by ChanServ
09:31 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
09:31 mode/#code [+qo Vornicus Vornicus] by ChanServ
11:53 Kindamoody[zZz] is now known as Kindamoody
13:06 celticminstrel [celticminst@Nightstar-0p84vo.dsl.bell.ca] has joined #code
13:06 mode/#code [+o celticminstrel] by ChanServ
13:21
<@ErikMesoy>
After a week of work on #current_project, Coworker One has pushed a file with about ten lines of code to one of comment, and I'm staring at it to understand what a lot of it does, because he is not above using variable names like "r" and "e_ID".
13:22
<@ErikMesoy>
Coworker Two, meanwhile, is practically the reverse and has pushed one-line empty method stubs, little more than func(param, param, param), each of which has ten lines of doc comments promising future implementation. :P
13:23
<@celticminstrel>
XD
13:25
<@TheWatcher>
Given the choice, I'd honestly rather have coworker 2.
13:25
<@TheWatcher>
Y'know, as long as the code will match the documentation~
13:27
<&[R]>
I use `r` as the return value variable, I'm guessing he's not doing that?
13:28
<@ErikMesoy>
TheWatcher: Fortunately, it's not a choice, I'm working with them both, I think the best path is to try to wrangle them into cooperating somehow, because they seem able to produce a well-documented and well-working function when combined. :-)
13:30
<@ErikMesoy>
[R]: He uses 'r' first as an iterator over an object array, and later in the _same function_ reuses 'r' as an accumulator double.
13:31
<~Vornicus>
D:
13:31
<@TheWatcher>
I recommend fire.
13:31
<&[R]>
Variable reuse is D:
13:37 * ErikMesoy issues Helpful Corrections on variable naming to Coworker One
13:38 * ErikMesoy then turns to Coworker Two's code and sees that getSomeVar() is a stub call to calculateSomeVar(), while calculateSomeVar() is a stub call to getSomeVar().
13:38
<@ErikMesoy>
Even accounting for placeholder stubs, this feels wrong. :/
13:38
<@celticminstrel>
XD
13:38
<&[R]>
What do you mean?
13:39
<&[R]>
Why would you want your function calls to return without stack overflowing?
13:42
<&[R]>
Hmm, TIL in Linux that'll cause a seg fault
13:43
<&[R]>
I thought seg faults were NULL defererences only
13:43
<&[R]>
That'll help out debugging if I actually remember that later
13:43
<@celticminstrel>
Isn't segfault any invalid memory access?
13:43
<&[R]>
Right, I just woke up, not thinking 100% yet
13:53
<@ErikMesoy>
On a related note, :D https://twitter.com/molly_struve/status/1219346099959402498 "Developer accused of unreadable code refuses to comment"
14:45 celticminstrel [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!]
17:16 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has joined #code
18:44 * macdjord defenestrates ErikMesoy
18:55 * ErikMesoy refenestrates.
19:21 crystalclaw [crystalclaw@Nightstar-12q9ui.xyz] has quit [Operation timed out]
19:38 crystalclaw [crystalclaw@Nightstar-12q9ui.xyz] has joined #code
19:38 mode/#code [+o crystalclaw] by ChanServ
21:49 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed]
21:51 celticminstrel [celticminst@Nightstar-0p84vo.dsl.bell.ca] has joined #code
21:51 mode/#code [+o celticminstrel] by ChanServ
22:48 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds]
23:53
<&[R]>
Hmm, UNIX sockets can only have one client connected at a time?
23:54
<&McMartin>
More or less. There's some magic around what exactly 'listen' does.
23:55
<&[R]>
Guess I'm setting this thing up as a TCP server
--- Log closed Wed Jan 22 00:00:30 2020
code logs -> 2020 -> Tue, 21 Jan 2020< code.20200120.log - code.20200122.log >

[ Latest log file ]