code logs -> 2018 -> Fri, 26 Jan 2018< code.20180125.log - code.20180127.log >
--- Log opened Fri Jan 26 00:00:36 2018
00:01 Kindamoody is now known as Kindamoody[zZz]
00:12 Jessikat [Jessikat@Nightstar-jru1bg.dab.02.net] has quit [The TLS connection was non-properly terminated.]
00:47 celticminstrel [celticminst@Nightstar-gil1m1.dsl.bell.ca] has joined #code
00:47 mode/#code [+o celticminstrel] by ChanServ
00:50 Vornicus [Vorn@Nightstar-1l3nul.res.rr.com] has quit [Ping timeout: 121 seconds]
01:11 Alek [Alek@Nightstar-7or629.il.comcast.net] has quit [Ping timeout: 121 seconds]
01:15 Alek [Alek@Nightstar-7or629.il.comcast.net] has joined #code
01:15 mode/#code [+o Alek] by ChanServ
01:20 Derakon[AFK] is now known as Derakon
02:15 himi [sjjf@Nightstar-g7b.0ah.44.138.IP] has joined #code
02:15 mode/#code [+o himi] by ChanServ
02:24 Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has quit [Ping timeout: 121 seconds]
02:40 Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has joined #code
02:40 mode/#code [+o Reiv] by ChanServ
02:44 himi [sjjf@Nightstar-g7b.0ah.44.138.IP] has quit [Ping timeout: 121 seconds]
03:13 Jessikat [Jessikat@Nightstar-rifujp.dab.02.net] has joined #code
05:15 macdjord|slep [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has quit [[NS] Quit: Live Long and Prosper.]
05:17 Derakon is now known as Derakon[AFK]
05:25 macdjord [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has joined #code
05:25 mode/#code [+o macdjord] by ChanServ
06:18 Vornicus [Vorn@Nightstar-1l3nul.res.rr.com] has joined #code
06:18 mode/#code [+qo Vornicus Vornicus] by ChanServ
06:26 celticminstrel [celticminst@Nightstar-gil1m1.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
07:06 himi [sjjf@Nightstar-ck9.otu.7.125.IP] has joined #code
07:06 mode/#code [+o himi] by ChanServ
08:15
<&McMartin>
\o/
08:15 * McMartin gets double-buffering working on his GB project
08:16
<&McMartin>
It's glitching out the bottom two lines, but that's intentional and hiding that is the last stage of the project~
08:16
<&[R]>
Nice
08:16
<&[R]>
Why is the glitching intentional?
08:16
<&McMartin>
The GB screen is a 20x18 viewport into a 32x32 map.
08:17
<&McMartin>
So I'm drawing two 20x16 screens and using scrolling to flip between them, and then bringing in the secondary 32x32 bank to replace the bottom two lines.
08:17
<&McMartin>
First with its status-window capability, and later with C64-style splitscreen that will let me put scrolling text down there.
08:18
<&McMartin>
Hee, awesome
08:19
<&McMartin>
And of course once I get it into a state where it's using 2-step oscillators, the animation continues but the actual VRAM stays perfectly static
08:19 * McMartin captures that for the eventual illustration
08:19
<&McMartin>
But yeah, this is kind of important because it turns out it takes four frames to actually refresh the entire display.
08:20
<&McMartin>
The Game Boy's approach to preventing bus contention is... direct
08:20
<&McMartin>
attempts to access video memory outside of VBLANK or HBLANK simply silently fail
08:20
<&McMartin>
On the plus side this means unlike the C64 the CPU gets to always run full speed whenever it wants
08:22
<&McMartin>
(The C64's graphics chip will periodically put the CPU on standby so it can load all the graphics data it needs to load for the next 8 lines of text.)
08:25
<&McMartin>
https://i1.wp.com/bumbershootsoft.files.wordpress.com/2018/01/gb_double_buffer.png?ssl=1
09:04 Kindamoody[zZz] is now known as Kindamoody|afk
09:12 Jessikat [Jessikat@Nightstar-rifujp.dab.02.net] has quit [Ping timeout: 121 seconds]
10:20
< simon_>
the company CEO moved his office close to the tech department and started commenting on the fact that we have no art on our walls.
10:22
< simon_>
(he's also the founder and a computer scientist and is pretty cool.) my tech lead doesn't care about art. his idea of christmas decoration is hanging an unwrapped bag of christmas decorations on the coat hanger as a 'minimal, demonstrative effort'.
10:24
<&[R]>
I have to admit, when I was younger, I'd totally agree with him
10:24
< simon_>
now that I said that I like to pick my own art before the CEO does, my tech lead gave me the job of finding art for the department. I'm thinking mostly of: surrealism, geeky references, deep dream.
10:24
<&[R]>
But now, I can see the value in having a visually pleasing area.
10:25
<&[R]>
Check out your local artists
10:25
<&[R]>
Not sure what your budget is, but you can find some good art at local galleries or art groups
10:26
< simon_>
good thinking. I just went to a local poster shop where you can get copies of local artists in any format.
10:26
< simon_>
I was thinking of finding some nice surrealist pieces and do a deep dream mashup with some cultural references that other people at my dept. might appreciate.
10:27
<&[R]>
Also if you let them know what you're doing, the artists might help you out
10:27
<&[R]>
Having unsold paintings /sucks/
10:27
< simon_>
I gave this one to my girlfriend as a christmas gift: http://halfdan.bigcartel.com/product/doden-til-hest-gul-gul
10:27
<&[R]>
Source: mom used to be an artist
10:29
< simon_>
https://simonshine.dk/deepdream.png - I'd like to do a mashup like this.
10:30
< simon_>
and then get it printed in big.
10:30
<&[R]>
That's cool
10:31
< simon_>
https://deepdreamgenerator.com/ - there's some very nice examples (you can see what other people have uploaded to the generator).
10:32
< simon_>
I'm thinking of maybe a book cover for a classic CS book, or some other recognizable thing.
10:33
< simon_>
https://www.cs.bham.ac.uk/research/projects/lics/052154310X.jpg - like this one.
10:33
< simon_>
https://qph.ec.quoracdn.net/main-qimg-8844c10d02cae0ae0bf36e1ee7996ff7-c - or this one.
10:33
< simon_>
maybe just the icon and not the actual title and author texts.
10:34
<&[R]>
Cover art you mena?
10:34
<&[R]>
mean*
10:35
< simon_>
yes. or maybe a recognizable landscape. the landscapes seem to work really well for the deep dream generator because so many classical paintings are of landscapes.
10:57 Degi [Degi@Nightstar-0dgs3j.dyn.telefonica.de] has joined #code
12:42 mac [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has joined #code
12:42 mode/#code [+o mac] by ChanServ
12:44 macdjord [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has quit [Ping timeout: 121 seconds]
12:48
<@mac>
Mahal: Just had another hard-lock. Going through event viewer now. Nothing in the system log that looks relevent.
13:28 * mac changes one value in a spreadsheet, suddenly all the numbers look /odd/ for reasons unclear
13:31
<@mac>
On closer inspection, I discovered that a number of cells had values that were calculated by a division operation, with different numerators but a single common denominator, and that this denominator now had the value /11/, which meant the results of those divisions were all single-digit repeating decimals.
13:32
< Vornlicious>
11 will be things like 0.90909090 or 0.36363636
14:24
< Vornlicious>
Simon_: a motivator with Alfred North Whitehead's famous quote
14:28
< Vornlicious>
"civilization advances by extending the number of important operations which we can perform without looking at them"
14:28
< Vornlicious>
Autocorrect suggested chillax instead of civilization
14:30
< Vornlicious>
Also, *thinking about, gosh
14:37
<@TheWatcher>
There's a deep irony there....
14:38
< simon_>
Vornlicious, that's a nice quote for a tech dept. wall. :)
14:40
< simon_>
listening to a coworker explain AJAX/XMLHttpRequests to a student programmer makes me happy I've not got that job.
14:41
< Vornlicious>
Ajax, or teaching
14:45
< Vornlicious>
Or yes
15:09
< simon_>
teaching ajax to student programmers
15:10
< simon_>
or, I mean, it's not that bad. but explaining the etymology is horrible.
15:24
<@TheWatcher>
Heh, yeah
15:26
<@TheWatcher>
"Asynchronous" is always a fun one to explain to students, and "So, it's .. and XML, except almost nobody ever uses XML now and really it should be '...and JSON'," is a can of worms
15:32
<@mac>
Vornlicious: 0.004444444444444, 0.008888888888889, 0.022222222222222, 0.044444444444445, 0.222222222222222, 0.444444444444444
15:32
<@mac>
are the relevent numbers.
15:32
<&jerith>
This ate my entire day yesterday: https://jira.mesosphere.com/browse/DCOS_OSS-2109
15:34
< Vornlicious>
225
15:34
< ASCII>
jsut say it is named after a steely dan some and a variable
15:34
<@mac>
jerith: Oops~
15:36
< Vornlicious>
(1, 2, 5, 10, 20, 100 are your numerators. Doing something with cash?)
15:36
< Vornlicious>
(oh and 50)
15:37
<&jeroud>
Also: I still hate Erlang syntax.
15:39
<&jeroud>
A handful of syntactically relevant line terminators is the devil.
15:40
<&jeroud>
On the other hand, Elixir is fantastic and I still haven't found anything to hate about it.
15:50
<@mac>
Vornlicious: Off by a factor of 20 on all of those.
15:51
<@mac>
And no - calculating which Unicorn-generating structure is most efficient to buy next in http://bloodrizer.ru/games/kittens/#
15:53 Degi [Degi@Nightstar-0dgs3j.dyn.telefonica.de] has quit [Connection closed]
16:43 himi [sjjf@Nightstar-ck9.otu.7.125.IP] has quit [Ping timeout: 121 seconds]
16:44 himi [sjjf@Nightstar-ck9.otu.7.125.IP] has joined #code
16:44 mode/#code [+o himi] by ChanServ
16:52 Vornicus [Vorn@Nightstar-1l3nul.res.rr.com] has quit [Ping timeout: 121 seconds]
16:53 Vornlicious [Vorn@Nightstar-ks897s.sub-174-211-8.myvzw.com] has quit [[NS] Quit: Bye]
16:53 Vorntastic [Vorn@Nightstar-1l3nul.res.rr.com] has joined #code
17:08 Vornicus [Vorn@Nightstar-1l3nul.res.rr.com] has joined #code
17:08 mode/#code [+qo Vornicus Vornicus] by ChanServ
17:22 Kindamoody|afk [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has quit [Ping timeout: 121 seconds]
19:34 Jessikat [Jessikat@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
19:44 * Kizor readsup
19:45
< Kizor>
When I was like nineteen I temped at a central hospital that had over a hundred pieces of art.
19:46
< Kizor>
(I ran into someone making a catalogue and asked her.)
19:46
< Kizor>
Abstract paintings, pretty much. Arranged colours.
19:53 McMartin [mcmartin@Nightstar-rpcdbf.sntcca.sbcglobal.net] has quit [Connection closed]
19:55 Jessikat [Jessikat@Nightstar-bt5k4h.81.in-addr.arpa] has quit [Connection closed]
20:07 Kindamoody|autojoin [Kindamoody@Nightstar-viu.upc.136.148.IP] has joined #code
20:07 mode/#code [+o Kindamoody|autojoin] by ChanServ
20:12 Kindamoody|autojoin is now known as Kindamoody
20:33 McMartin [mcmartin@Nightstar-rpcdbf.sntcca.sbcglobal.net] has joined #code
20:33 mode/#code [+ao McMartin McMartin] by ChanServ
20:33 mac is now known as macdjord|slep
21:38 Jessikat [Jessikat@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
22:05 Kindamoody [Kindamoody@Nightstar-viu.upc.136.148.IP] has quit [Ping timeout: 121 seconds]
22:17 himi [sjjf@Nightstar-ck9.otu.7.125.IP] has quit [Ping timeout: 121 seconds]
22:21 RchrdB [RchrdB@Nightstar-qe9.aug.187.81.IP] has joined #code
22:32 Degi [Degi@Nightstar-0dgs3j.dyn.telefonica.de] has joined #code
22:45 Jessikat [Jessikat@Nightstar-bt5k4h.81.in-addr.arpa] has quit [Connection closed]
22:47
<&McMartin>
Ugh, a bunch of code examples on my blog got wrecked by their helpful attempts to render code as HTML
22:47
<&McMartin>
Thus wiping out half of every program as an invalid tag because LDA #<lbl clearly starts a lbl tag
22:47
<&McMartin>
I wonder if I can use CDATA to keep it from doing that, because <pre> sure doesn't
22:48 Jessikat [Jessikat@Nightstar-s4o2s3.dab.02.net] has joined #code
22:49
< RchrdB>
AFAIK <pre> only affects layout (by setting 'white-space: pre') not parsing so yeah you still need to replace < with &lt; and & with &quot; inside a <pre>.
22:53
<&McMartin>
Yeah
22:54
<&McMartin>
The part that is horrifying is that WP apparently converts them b ack, so when I fix a typo, it trashes the code.
22:54
<&McMartin>
Unless I go and re-replace them with &lt;s and friends.
22:54
<&McMartin>
Because it's also going through and postprocessing it to remove illegal tags.
22:54
< RchrdB>
I'm curious because now that browsers are expected to rigidly stick to the HTML5 parsing algorithm which AFAIK is completely defined, it might be safe to consider https://www.w3.org/TR/2011/WD-html5-20110113/tokenization.html#rcdata-state to be completely authoritative for how-to-lex-HTML?
22:54
<&McMartin>
Hence my wondering if CDATA will work.
22:55
<&McMartin>
This is WordPress's own software helpfully deleting giant chunks of my posts
22:55
<&McMartin>
Not the browser rendering them invisible
22:56
< RchrdB>
I'm not sure. I thought CDATA was only a thing in XML and not in HTML5 but I have very low confidence in that belief.
22:56
<&McMartin>
So the question is whether it will also helpfully delete them from inside a post that include <![CDATA[ ... ]]> around it.
22:57
< RchrdB>
Are you using the HTML view to put your posts in or the WYSIWYG one? Whichever you're using, try the other one and see if WP mangles your code any less?
22:58
<&McMartin>
The damage appears to be done by hitting the "Edit" button.
22:58
<&McMartin>
Not the "Post" buttton
22:58
<&McMartin>
As in, it's gone, from the
22:58
<&McMartin>
text
22:59
<&McMartin>
Converted from &lt; back into <
22:59
<&McMartin>
And then the next operation that interprets it deletes it
22:59
<&McMartin>
The export format actually does use CDATA.
23:00
< RchrdB>
The export format is XML, isn't it? so using CDATA in it makes sense
23:00
<&McMartin>
Yes
23:00
<&McMartin>
And that also actually works
23:00
<&McMartin>
Everything I see online is "how do I *stop* < and > from becomign HTML entities", e.g., the reverse situation, or "buy my plugin that makes this stop happening", which I can't use because it's a free site.
23:01
<&McMartin>
I think the real answer will be "never edit in place and copy entire articles whenever any typo is fixed"
23:08 Kindamoody [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has joined #code
23:08 mode/#code [+o Kindamoody] by ChanServ
23:31 Kindamoody is now known as Kindamoody[zZz]
23:34
< RchrdB>
Sad. I feel like that really ought to be something that WP should be able to just not fuck up, out of the box. :/
23:45
<&[R]>
I thought WP was trying for feature parity with webdonkey
23:46
<&[R]>
... actually ignore that, there's a ton of mental leaps that didn't get included there, so that makes no sense in context
23:46
< RchrdB>
what's webdonkey, is it anything like the Concrete Donkey from Worms, do you drop it on your enemies heads to hilariously annihilate them?
23:47
<&[R]>
It's a webapp that's intentionally written to have every possible web exploit at every possible point
23:47
<&[R]>
It's meant to help you test security systems
23:48
< RchrdB>
test *security* systems?
23:48
< RchrdB>
not as a practice target for intrusions/
23:48
<&[R]>
Yeah, like snort or mod_security
23:48
< RchrdB>
oh right like WAFs
23:50
<&[R]>
Yeah, stuff that'd you'd have because the beancounters bought a program that is as secure as Win95 and needs you to have all possible attack vectors wide open to run.
23:52
<&McMartin>
And yeah, most of the stuff around this involves how to patch your personal copy of WP to make it not do this, but I'm not so foolish as to attempt to administer my own WP system.
23:53
<&McMartin>
I'm running this off a free account that can be burned if necessary and isn't tied to anything important.
23:54
<&[R]>
Derp, it's called webgoat
--- Log closed Sat Jan 27 00:00:38 2018
code logs -> 2018 -> Fri, 26 Jan 2018< code.20180125.log - code.20180127.log >

[ Latest log file ]