code logs -> 2017 -> Wed, 20 Sep 2017< code.20170919.log - code.20170921.log >
--- Log opened Wed Sep 20 00:00:05 2017
00:07
< RchrdB>
Ah, so your obfuscator has to do some static analysis to guess what it's safe to mess with.
00:08
< RchrdB>
and probably has to have some warnings in the documentation pleading with you to not do anything too self-referential with the Reflection API lest every transformation be barred.
00:09
<&McMartin>
IME that's true of all obfuscators
00:15 himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code
00:15 mode/#code [+o himi] by ChanServ
00:19
< RchrdB>
Anyway: thing I have successfully learned today. In the WebGL implementation in Chrome, if I make a texture with format gl.RGBA and fill it from a Uint8Array(), when I call texture2D(sampler, coord) to read from it in GLSL, the values [0, 1... 255] inclusive in the Uint8Array are mapped linearly to [0, (1.0/255.0)... 1.0] inclusive in the shader.
00:20
< RchrdB>
This solves the mystery of "are my values getting mapped through an sRGB transform or something that makes the numerical relationship more complicated?" with "nah".
00:40
< RchrdB>
Yay I figured out how to simulate gl.NEAREST texture lookup using gl.LINEAR
00:40
< RchrdB>
later I must figure out why I bothered attempting that
00:44 Kindamoody is now known as Kindamoody[zZz]
00:45 RchrdB [RchrdB@Nightstar-qe9.aug.187.81.IP] has quit [[NS] Quit: Leaving]
00:52
<@gnolam>
Man. I only notice how brain damaged I've become when I read "sRGB" and have an instinctive "Pah! Inferior!" response to it.
00:55 celticminstrel [celticminst@Nightstar-ce0j0u.dsl.bell.ca] has joined #code
00:55 mode/#code [+o celticminstrel] by ChanServ
01:17 Derakon[AFK] is now known as Derakon
01:19 Jessikat` [Jessikat@Nightstar-bt5k4h.81.in-addr.arpa] has quit [Connection closed]
01:24 Jessikat [Jessikat@Nightstar-ucr3kq.dab.02.net] has joined #code
01:48 macdjord is now known as macdjord|slep
03:13 Jessikat` [Jessikat@Nightstar-ms2cod.dab.02.net] has joined #code
03:16 Jessikat [Jessikat@Nightstar-ucr3kq.dab.02.net] has quit [Ping timeout: 121 seconds]
04:11 macdjord [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has joined #code
04:11 mode/#code [+o macdjord] by ChanServ
04:13 macdjord|slep [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has quit [Ping timeout: 121 seconds]
04:14 Derakon [Derakon@Nightstar-fr5qel.ca.comcast.net] has quit [Connection closed]
05:30 Mahal [sid171286@Nightstar-0bi4dv.irccloud.com] has quit [Ping timeout: 121 seconds]
05:30 Mahal [sid171286@Nightstar-0bi4dv.irccloud.com] has joined #code
06:00 celticminstrel [celticminst@Nightstar-ce0j0u.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
06:44 himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
07:00 himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code
07:00 mode/#code [+o himi] by ChanServ
07:19 ktemkin is now known as kate`mkin
07:21 mac [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has joined #code
07:21 mode/#code [+o mac] by ChanServ
07:24 macdjord [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has quit [Ping timeout: 121 seconds]
07:31 Kindamoody[zZz] is now known as Kindamoody
07:47 Jessikat` is now known as Jessikat
07:50 kate`mkin is now known as ktemkin
08:02 Kindamoody is now known as Kindamoody|working
08:29 himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
08:38 himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code
08:38 mode/#code [+o himi] by ChanServ
09:43 Jessikat` [Jessikat@Nightstar-3q278s.dab.02.net] has joined #code
09:46 Jessikat [Jessikat@Nightstar-ms2cod.dab.02.net] has quit [Ping timeout: 121 seconds]
09:56 Jessikat` [Jessikat@Nightstar-3q278s.dab.02.net] has quit [[NS] Quit: Bye]
11:36 Kindamoody|working [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has quit [Connection closed]
11:37 Kindamoody|autojoin [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has joined #code
11:37 mode/#code [+o Kindamoody|autojoin] by ChanServ
12:17 Jessikat [Jessikat@Nightstar-3q278s.dab.02.net] has joined #code
13:17 himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
13:23 himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code
13:23 mode/#code [+o himi] by ChanServ
15:20
<~Vornicus>
Naming: I have a pathfinder class that works in single steps - that is to say, it has a method `step` that will do one tile's worth of pathfinding. I now wish to name a method that, when passed a number, will do that many steps.
15:23
<&ToxicFrog>
step-n
15:27
<@mac>
Vornicus: `journey`
15:28
<@mac>
And make the default value for the N parameter be 1000.
15:28 Degi [Degi@Nightstar-0tcho5.dyn.telefonica.de] has joined #code
15:29
< Jessikat>
AdvanceAlongPath(int steps)
15:30
<@TheWatcher>
mac: "I would walk a thousand tiles"?~
15:31
<@Tamber>
(an' I would walk five hundred tiles, an' I would walk five hundred more~)
15:31
<@mac>
TheWatcher: I was thinking 'a journey of a thousand miles begins with a single step', actually.
15:31 * Jessikat stumbles
15:31
<@TheWatcher>
yeah, that's right, I can never remember the lyrics
15:32
<@TheWatcher>
(we are horrible nerds)
15:32
<@mac>
Tamber: Dammit, now I want to do a Minecraft filk of that song.
15:32
< Jessikat>
Just to be the man who walked the optimal path to you door
15:32
<@Tamber>
:D
15:32
< Jessikat>
Your
15:33 * Jessikat hands off some work she took on that was way too much for her, feels like it was a good thing to do but also like she failed somehow - tl;dr don't be a hero it's bad for your mental health
15:34
<@Tamber>
Also it often becomes expected of you.
15:36
< Jessikat>
Basically my boss noticed I was completely out of it with stress yesterday by the coffee machine and asked if I wanted to park the work
15:37
< Jessikat>
I got far too used to just powering through
15:37
< Jessikat>
And I think if I'd tried it again with this it would have completely burned me out
15:37
< Jessikat>
It's also a *terrible* example to set
15:49 Degi_ [Degi@Nightstar-0tcho5.dyn.telefonica.de] has joined #code
15:52
<@Tamber>
Yeah.
16:10 Kindamoody|autojoin is now known as Kindamoody
16:13 Jessikat` [Jessikat@Nightstar-9go.jtr.132.82.IP] has joined #code
16:17 Jessikat [Jessikat@Nightstar-3q278s.dab.02.net] has quit [Ping timeout: 121 seconds]
17:01 Emmy-zZz [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has joined #code
17:03 Emmy-zZz is now known as Emmy
17:49
<&ToxicFrog>
Jessikat`: "No Heroes" is explicit SRE policy here
17:52 * Jessikat` signs up
17:52 Jessikat` is now known as Jessikat
18:08 Jessikat [Jessikat@Nightstar-9go.jtr.132.82.IP] has quit [[NS] Quit: Bye]
20:27 RchrdB [RchrdB@Nightstar-qe9.aug.187.81.IP] has joined #code
21:03 Degi [Degi@Nightstar-0tcho5.dyn.telefonica.de] has quit [[NS] Quit: Leaving]
21:30 Degi [Degi@Nightstar-0tcho5.dyn.telefonica.de] has joined #code
21:30 Degi_ [Degi@Nightstar-0tcho5.dyn.telefonica.de] has quit [[NS] Quit: Leaving]
22:55 McMartin [mcmartin@Nightstar-rpcdbf.sntcca.sbcglobal.net] has quit [Ping timeout: 121 seconds]
22:56 Degi [Degi@Nightstar-0tcho5.dyn.telefonica.de] has quit [[NS] Quit: Leaving]
22:57 ion_ [Owner@Nightstar-gmbj85.vs.shawcable.net] has joined #code
23:02 ion [Owner@Nightstar-gmbj85.vs.shawcable.net] has quit [Ping timeout: 121 seconds]
23:43 RchrdB [RchrdB@Nightstar-qe9.aug.187.81.IP] has quit [Ping timeout: 121 seconds]
--- Log closed Thu Sep 21 00:00:07 2017
code logs -> 2017 -> Wed, 20 Sep 2017< code.20170919.log - code.20170921.log >

[ Latest log file ]