code logs -> 2017 -> Thu, 26 Oct 2017< code.20171025.log - code.20171027.log >
--- Log opened Thu Oct 26 00:00:48 2017
00:32 Degi [Degi@Nightstar-8qt94j.dyn.telefonica.de] has quit [Connection reset by peer]
00:37
<&[R]>
https://i.redd.it/20cfb3suvztz.png <-- your daily cringe
00:38
<&[R]>
I mean, I get python doesn't have #defines... but that's still no excuse to have magic numbers.
00:38
<&McMartin>
Looks 32-bit based on the range and that ought to kill the VM on the first line.
01:02 celticminstrel [celticminst@Nightstar-gaap84.dsl.bell.ca] has joined #code
01:02 mode/#code [+o celticminstrel] by ChanServ
01:16
<&McMartin>
You know, when I was digging around trying to figure out how to send commands to the sound chip on a ZX Spectrum 128, I did not expect to find a crucial piece of the puzzle on Stack Overflow
01:16
<&McMartin>
Turns out everything really is on Stack Overflow.
01:16
<&McMartin>
(https://stackoverflow.com/questions/8507799/undocumented-16-bit-i-o-addressing- on-z80 )
01:16
<&McMartin>
There's even code to copy-paste! Albeit not doing the thing I actually *need*.
01:19
<&McMartin>
But close enough to close the gap.
01:22 Derakon[AFK] is now known as Derakon
01:38 Vornicus [Vorn@Nightstar-1l3nul.res.rr.com] has joined #code
01:38 mode/#code [+qo Vornicus Vornicus] by ChanServ
01:42 Jessikat` [Jessikat@Nightstar-3sk4ol.dab.02.net] has joined #code
01:46 Jessikat [Jessikat@Nightstar-9tic5r.dab.02.net] has quit [Ping timeout: 121 seconds]
02:05 * Derakon eyes that reddit image.
02:05
<&Derakon>
I'm guessing this is Python 3, otherwise doing "list(range(...))" is redundant.
02:06
<&Derakon>
I'm also guessing this is intentionally awful~
02:46
<~Vornicus>
v.
02:49 macdjord|slep [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has joined #code
02:49 mode/#code [+o macdjord|slep] by ChanServ
02:52 mac [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has quit [Ping timeout: 121 seconds]
03:11 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [Connection reset by peer]
03:35 macdjord [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has joined #code
03:35 mode/#code [+o macdjord] by ChanServ
03:37 macdjord|slep [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has quit [Ping timeout: 121 seconds]
03:48 Alek [Alek@Nightstar-fdj.dfo.111.73.IP] has quit [Ping timeout: 121 seconds]
03:51 Alek [Alek@Nightstar-7or629.il.comcast.net] has joined #code
03:51 mode/#code [+o Alek] by ChanServ
04:22 Vorntastic [Vorn@Nightstar-1l3nul.res.rr.com] has joined #code
04:28 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
04:28 mode/#code [+ao VirusJTG VirusJTG] by ChanServ
05:03 Derakon is now known as Derakon[AFK]
05:12 Vornlicious [Vorn@Nightstar-789c6l.sub-70-211-132.myvzw.com] has joined #code
05:13 Vornicus [Vorn@Nightstar-1l3nul.res.rr.com] has quit [Ping timeout: 121 seconds]
05:16 Vorntastic [Vorn@Nightstar-1l3nul.res.rr.com] has quit [Ping timeout: 121 seconds]
05:37 celticminstrel [celticminst@Nightstar-gaap84.dsl.bell.ca] has quit [[NS] Quit: KABOOM! It seems that I have exploded. Please wait while I reinstall the universe.]
07:18 Vornicus [Vorn@Nightstar-1l3nul.res.rr.com] has joined #code
07:18 mode/#code [+qo Vornicus Vornicus] by ChanServ
07:23 Vornicus [Vorn@Nightstar-1l3nul.res.rr.com] has quit [Ping timeout: 121 seconds]
08:12 Jessikat [Jessikat@Nightstar-sne0f7.dab.02.net] has joined #code
08:16 Jessikat` [Jessikat@Nightstar-3sk4ol.dab.02.net] has quit [Ping timeout: 121 seconds]
09:10
<@Pi>
Ooh, is this a competition to make the most terrible isEven implementation?
09:26 * McMartin finishes his latest port of his usual sample program.
09:27
<&McMartin>
https://i0.wp.com/bumbershootsoft.files.wordpress.com/2017/10/spectrum_lights_ou t.png
09:37 Jessikat [Jessikat@Nightstar-sne0f7.dab.02.net] has quit [[NS] Quit: Bye]
10:08 Degi [Degi@Nightstar-87qk26.dyn.telefonica.de] has joined #code
10:18
< Degi>
"There are 10 types of people in this world. Those who can read binary, those that can't, and those that realized this joke was actually written in trinary."
10:19
<&McMartin>
balanced ternary or gtfo
10:22
< Vornlicious>
I always thought balanced ternary was dumb until I actually used it
10:26
<&McMartin>
What does it buy you?
10:26
<&McMartin>
Meanwhile, I should do some geometry, but not now.
10:27
< Vornlicious>
It helped in solving a balance problem.
10:28
< Vornlicious>
Basically, I did sgn(weights on left - weights on right) for each possible measurement, plopped into balanced ternary, and indistinguishable weight groups had the same signature value
10:32
<@Pi>
McMartin: No separate sign, and some nifty computational properties.
10:32
<@Pi>
https://en.wikipedia.org/wiki/Balanced_ternary#In_computer_design
10:32
<@Pi>
https://en.wikipedia.org/wiki/Balanced_ternary#Other_applications
10:35
< Vornlicious>
https://math.stackexchange.com/a/2453766/167895
12:15
< simon_>
wow. and he's given two upvotes.
12:46
< Vornlicious>
The answers that get popular are often quite random. My two most upvoted posts are showing how hard it is to do a particular trig problem a particular way, and a thing about commutativity of matrices and how eigenvectors are involved
12:48
< Vornlicious>
Three now!
12:49
< Vornlicious>
(presumably one of you liked it...)
14:13 Degi [Degi@Nightstar-87qk26.dyn.telefonica.de] has quit [Connection closed]
15:44 Vornlicious [Vorn@Nightstar-789c6l.sub-70-211-132.myvzw.com] has quit [Connection closed]
15:44 Vorntastic [Vorn@Nightstar-1l3nul.res.rr.com] has joined #code
15:47 RchrdB [RchrdB@Nightstar-qe9.aug.187.81.IP] has joined #code
15:51 RchrdB [RchrdB@Nightstar-qe9.aug.187.81.IP] has quit [Ping timeout: 121 seconds]
16:58 mac [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has joined #code
16:58 mode/#code [+o mac] by ChanServ
17:01 macdjord [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has quit [Ping timeout: 121 seconds]
18:00 Jessikat [Jessikat@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
18:04 Alek [Alek@Nightstar-7or629.il.comcast.net] has quit [Operation timed out]
18:08 Alek [Alek@Nightstar-7or629.il.comcast.net] has joined #code
18:08 mode/#code [+o Alek] by ChanServ
18:19 RchrdB [RchrdB@Nightstar-qe9.aug.187.81.IP] has joined #code
18:54 macdjord|slep [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has joined #code
18:54 mode/#code [+o macdjord|slep] by ChanServ
18:57 mac [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has quit [Ping timeout: 121 seconds]
20:24 Degi [Degi@Nightstar-87qk26.dyn.telefonica.de] has joined #code
21:23 Jessikat [Jessikat@Nightstar-bt5k4h.81.in-addr.arpa] has quit [Connection closed]
22:58 Jessikat [Jessikat@Nightstar-jaok1i.dab.02.net] has joined #code
22:58 Jessikat [Jessikat@Nightstar-jaok1i.dab.02.net] has quit [The TLS connection was non-properly terminated.]
22:59 Jessikat [Jessikat@Nightstar-jaok1i.dab.02.net] has joined #code
--- Log closed Fri Oct 27 00:00:50 2017
code logs -> 2017 -> Thu, 26 Oct 2017< code.20171025.log - code.20171027.log >

[ Latest log file ]