code logs -> 2022 -> Fri, 22 Apr 2022< code.20220421.log - code.20220423.log >
--- Log opened Fri Apr 22 00:00:53 2022
01:17 gizmore [kvirc@Nightstar-rqci6v.dip0.t-ipconnect.de] has joined #code
01:20 gizmore|2 [kvirc@Nightstar-7fvci9.dip0.t-ipconnect.de] has quit [Ping timeout: 121 seconds]
01:41 Degi_ [Degi@Nightstar-q7a0md.pool.telefonica.de] has joined #code
01:44 Degi [Degi@Nightstar-f8i0p6.pool.telefonica.de] has quit [Ping timeout: 121 seconds]
01:44 Degi_ is now known as Degi
04:33 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed]
05:03 JustBob [justbob@Nightstar.Customer.Dissatisfaction.Administrator] has quit [Ping timeout: 121 seconds]
06:26
<@macdjord>
simon_: I'm pretty sure there are at least some situations where that's technically true. E.g., in Python, defining a variable means updating the current scope's list of defined variable, whereas an unstored intermediate value does not, so the one-liner will be at least theoretically faster.
06:32 Vorntastic [uid293981@Nightstar-phvupn.irccloud.com] has joined #code
06:32 mode/#code [+qo Vorntastic Vorntastic] by ChanServ
08:19
<&McMartin>
Blech
08:19
<&McMartin>
This NES project is getting frustrating
08:19
<&McMartin>
I'm actually being tempted into Zachtronics nonsense instead.
10:16 Alek [Alek@Nightstar-06ca3p.il.comcast.net] has quit [Ping timeout: 121 seconds]
10:20 Alek [Alek@Nightstar-06ca3p.il.comcast.net] has joined #code
11:36
< simon_>
McMartin, this was Rust, and the variable assignment was adjacent to its use, so I'd expect liveness analysis to kick in and never actually move the value from the register associated with the variable. i.e., 'let x = 42; f(x);' is equivalent to 'f(42);'
11:37
< simon_>
gnolam, no, but amusingly, I had a colleague named Seb who made a contribution to an open-source web-framework in Perl where the author rejected his PR because it used variables. :-D
11:38
<@gnolam>
>_<
11:44
< simon_>
https://github.com/mojolicious/mojo/pull/1414#issuecomment-643771815 -- this PR took 9 months; ultimately, the blocker was the removal of one 'return undef;' that was never reached anyway, and the naming of some variables that could be avoided by explicitly referring to the content of the variables.
11:47
< simon_>
the PR was about DOM tree traversal and it wasn't particularly easy, because the convention of what type of DOM node you're in is determined by how many elements some array has. I'm pretty sure the problem was that the project owner didn't understand the code very well and neither wanted to merge something he didn't understand, or admit that he didn't understand it. so he just criticised the PR and didn't
11:47
< simon_>
provide any useful feedback, until eventually he had time to sit down, read it through, make some minor, unimportant tweaks to it, and call it his own.
11:49
<~Vorntastic>
Man, Seb
11:50
< simon_>
oh, wait... actually both the PR author and the project owner are called Seb there.
11:51
< simon_>
Sebastian Paaske Tørholm and Sebastian Riedel.
11:51
< simon_>
battle of the Sebs
11:51
< simon_>
I tried a similar thing, contributing to a C# library where the feedback I got was "this is wrong", saw the PR closed, and then a few hours later, saw my exact changes with some small syntactic variations committed to master.
11:51
< simon_>
some people just don't want contributions from the outside, but don't know how to disable PRs.
12:57 bluefoxx [fuzzylombax@Nightstar-o8t3u3.vs.shawcable.net] has joined #code
13:25
< abudhabi__>
Meanwhile, I have a strong suspicion that some idiotic subroutine is very frequently checking the photo file index on my phone.
13:25
< abudhabi__>
KaiOS mysteriously and gradually slowed down, but when I dumped all the multimedia I'd accrued over half a year, it started working fine again.
13:43 abudhabi_ [abudhabi@Nightstar-uhuetv.adsl.tpnet.pl] has joined #code
13:46 abudhabi__ [abudhabi@Nightstar-8rbdtr.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
15:02 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
15:02 mode/#code [+qo Vornicus Vornicus] by ChanServ
16:56 Emmy [Emmy@Nightstar-l49opt.fixed.kpn.net] has joined #code
17:01 Vorntastic [uid293981@Nightstar-phvupn.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity]
19:25 * FLHerne mutters angrily
19:25
< FLHerne>
basically, we have these thousand-line files that were generated using some Python script ten years ago
19:26
< FLHerne>
the thing they were generated from has changed continuously, but all the changes have been made by hand in unstructured ways, and the original script has vanished
19:27
< FLHerne>
so now that big changes are required, I can't simply re-generate the thing - even if I had a script, the unstructured changes are depended on by like half the codebase and generating it in the original way would break everything
20:33 macdjord [macdjord@Nightstar-7aijs7.dsl.bell.ca] has quit [Connection reset by peer]
20:34 macdjord [macdjord@Nightstar-7aijs7.dsl.bell.ca] has joined #code
20:34 mode/#code [+o macdjord] by ChanServ
21:39 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed]
22:02 Kindamoody is now known as Kindamoody[zZz]
22:03
< simon_>
FLHerne, >_<
22:05 * simon_ is playing around with optimizing prime-field arithmetic. I never knew the modulo instruction was so expensive!
22:47 McMartin [mcmartin@Nightstar-i80eaa.ca.comcast.net] has quit [Connection closed]
23:11 Emmy [Emmy@Nightstar-l49opt.fixed.kpn.net] has quit [Ping timeout: 121 seconds]
23:15 McMartin [mcmartin@Nightstar-i80eaa.ca.comcast.net] has joined #code
23:15 mode/#code [+ao McMartin McMartin] by ChanServ
--- Log closed Fri Apr 22 23:58:18 2022
--- Log opened Fri Apr 22 23:58:55 2022
23:58 TheWatcher [chris@GlobalOperator.Nightstar.Net] has joined #code
23:58 Irssi: #code: Total of 27 nicks [15 ops, 0 halfops, 0 voices, 12 normal]
23:58 mode/#code [+o TheWatcher] by ChanServ
23:59 Irssi: Join to #code was synced in 15 secs
--- Log closed Sat Apr 23 00:00:48 2022
code logs -> 2022 -> Fri, 22 Apr 2022< code.20220421.log - code.20220423.log >

[ Latest log file ]