code logs -> 2021 -> Thu, 18 Mar 2021< code.20210317.log - code.20210319.log >
--- Log opened Thu Mar 18 00:00:12 2021
00:33 Kindamoody [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has quit [Ping timeout: 121 seconds]
00:33 Kimo|autojoin [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has joined #code
00:33 mode/#code [+o Kimo|autojoin] by ChanServ
00:38
<@sshine>
heh, I'm merging two databases for separate instances of an application that has been running for different sets of customers. a part of the data contains randomly generated [a-zA-Z0-9]{4} tokens of which there have accumulated 7 duplicates. it's funny how even though there are (26+26+10)^4 = 14.776.336 combinations, the birthday paradox makes duplicates likely really quick.
01:59 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed]
02:07
<&Reiver>
Yup, it's the stuff of nightmares
02:46 Degi [Degi@Nightstar-622kku.pool.telefonica.de] has quit [Operation timed out]
02:47
<@sshine>
fortunately they're for activation links, so all we gotta do is make sure the duplicates are pointed to invalid/expired objects and disambiguate the old ones... the algorithm in use is "pick 4 unique characters. while that combination is already taken, pick another random character"
02:52 Degi [Degi@Nightstar-geesq2.pool.telefonica.de] has joined #code
04:28 VirusJTG [VirusJTG@Nightstar-42s.jso.104.208.IP] has quit [Connection closed]
04:28 VirusJTG [VirusJTG@Nightstar-42s.jso.104.208.IP] has joined #code
04:28 mode/#code [+ao VirusJTG VirusJTG] by ChanServ
06:45 Netsplit Krikkit.Nightstar.Net <-> Traal.Nightstar.Net quits: @VirusJTG, @jeroud, Kizor, @McMartin, @jerith, @sshine, abudhabi, Alek, tripflag, Mahal, (+3 more, use /NETSPLIT to show all of them)
06:46 Netsplit over, joins: &McMartin, &jeroud, Alek, Mahal, &VirusJTG, Kizor, Yossarian, tripflag, abudhabi, @Tamber (+3 more)
08:31 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
08:31 mode/#code [+qo Vornicus Vornicus] by ChanServ
09:25 Kimo|autojoin is now known as Kindamoody
10:02
<@sshine>
hehe, code review only took two hours. I'm being socratic because I'm the new guy, so I'm hoping that repeating questions like "Could we name this something other than $value and $type?" enough times, and eventually referencing Clean Code chapters, maybe the stubbornness will go away.
10:25
<@sshine>
"Do we need a dedicated normalisation function here?" -- "Nah, we don't." -- "If there are three different ways to normalise input depending on the field name, and one of them depends on case-folding while the other two don't, then there's a lot of hard-earned knowledge hidden in these lines."
10:27
<@sshine>
I've found that if I just let my feedback pass as if it wasn't actionable, the next PRs fix them. so there definitely is a level of stubbornness-but-acceptance-over-time.
10:29
<@sshine>
...aaaand yes, there comes a commit afterwards that changes it, haha. I don't understand why they want to say no and then change it anyways, as if I don't see the commit history. :-D
10:42
<~Vornicus>
oh those aren't metasyntactic
10:42
<~Vornicus>
uch, naming
10:42
<@ErikMesoy>
sshine: Solipsist. :P People are capable of rethinking things even out of your line of sight. ;)
10:43 Kindamoody is now known as Kindamoody|afk
10:46 Netsplit Deepthought.Nightstar.Net <-> Krikkit.Nightstar.Net quits: @Tamber, @VirusJTG, Yossarian, Kizor, @McMartin, @jerith, @sshine, @Vornicus, Alek, tripflag, (+5 more, use /NETSPLIT to show all of them)
10:46 Netsplit over, joins: &McMartin, &jeroud, Alek, Mahal, &VirusJTG, Kizor, Yossarian, tripflag, abudhabi, @Tamber (+4 more)
10:50 catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Ping timeout: 121 seconds]
10:55 PinkFreud [WhyNot@NetworkAdministrator.Nightstar.Net] has joined #code
10:55 ServerMode/#code [+o PinkFreud] by *.Nightstar.Net
11:00
<~Vornicus>
Okay, I have a shader that selects an image from an array, based on data from a texture. About half the data comes from the texel associated with the floor of the uv, and the other half comes from a neighboring texel, based on the fractional part of the uv. Which neighbor, and how to aggregate the data, comes from an array of const structures that have a variety of data in it such as the offset of the appropriate neighbor and what parts
11:00
<~Vornicus>
of the data come from the neighbor and what parts come from the current cell. i need to name: 1. the structure type itself; 2. the array of structures; 3. the structure I have selected within the shader function.
11:10 Emmy [Emmy@Nightstar-l49opt.fixed.kpn.net] has joined #code
12:33 catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code
13:06 catalyst_ [catalyst@Nightstar-k4s6a1.dab.02.net] has joined #code
13:08 catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Ping timeout: 121 seconds]
13:19 catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code
13:21 catalyst_ [catalyst@Nightstar-k4s6a1.dab.02.net] has quit [Ping timeout: 121 seconds]
14:24 abudhabi [abudhabi@Nightstar-3cqjmq.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
14:25 abudhabi [abudhabi@Nightstar-eicbea.adsl.tpnet.pl] has joined #code
14:52 Netsplit Deepthought.Nightstar.Net <-> Krikkit.Nightstar.Net quits: @PinkFreud
15:02 Netsplit over, joins: @PinkFreud
17:58 celmin|sleep is now known as celticminstrel
18:02 catalyst_ [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code
18:02 catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Connection closed]
18:09 catalyst [catalyst@Nightstar-q32k3c.dab.02.net] has joined #code
18:11 catalyst_ [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Ping timeout: 121 seconds]
18:36 catalyst_ [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code
18:39 catalyst [catalyst@Nightstar-q32k3c.dab.02.net] has quit [Connection reset by peer]
18:40 Kindamoody|afk is now known as Kindamoody
19:22 Alek [Alek@Nightstar-kaiguq.il.comcast.net] has quit [Ping timeout: 121 seconds]
19:31 Alek [Alek@Nightstar-kaiguq.il.comcast.net] has joined #code
20:05 Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has joined #code
20:05 mode/#code [+o Reiv] by ChanServ
20:52
< abudhabi>
Credit where it's due: GIMP has good flipping UI. Horizontal and vertical flips are labeled with icons that indicate what it will do. In Paint, I'd almost always select the opposite of what I wanted.
21:04 catalyst_ [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Ping timeout: 121 seconds]
21:05 catalyst [catalyst@Nightstar-q32k3c.dab.02.net] has joined #code
21:41 Alek [Alek@Nightstar-kaiguq.il.comcast.net] has quit [[NS] Quit: ]
21:42 Alek [Alek@Nightstar-kaiguq.il.comcast.net] has joined #code
21:57 catalyst_ [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code
22:01 catalyst [catalyst@Nightstar-q32k3c.dab.02.net] has quit [Ping timeout: 121 seconds]
23:04 Emmy [Emmy@Nightstar-l49opt.fixed.kpn.net] has quit [Ping timeout: 121 seconds]
23:06 Kindamoody is now known as Kindamoody[zZz]
23:13
<&[R]>
https://cdn.discordapp.com/attachments/292674417413324800/581935925257437220/cNMlGWN.jpg
23:37 Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
--- Log closed Fri Mar 19 00:00:13 2021
code logs -> 2021 -> Thu, 18 Mar 2021< code.20210317.log - code.20210319.log >

[ Latest log file ]