code logs -> 2017 -> Sat, 08 Jul 2017< code.20170707.log - code.20170709.log >
--- Log opened Sat Jul 08 00:00:14 2017
00:47 celticminstrel [celticminst@Nightstar-cn2je9.dsl.bell.ca] has joined #code
00:47 mode/#code [+o celticminstrel] by ChanServ
01:07 macdjord|slep is now known as macdjord
03:32
<&[R]>
https://twitter.com/perrymetzger/status/883087042359549952 systemd!
06:20 celticminstrel is now known as celmin|Zzzzzz
07:25 Kindamoody[zZz] is now known as Kindamoody
08:08 xxpt [qozlae@Nightstar-gvimed.client.bresnan.net] has joined #code
08:10
< xxpt>
EXCITING AND TALKATIVE I-R-C O-N-I-O-N
08:10
< xxpt>
q*u*i*c*k*t*a*l*k*e*h*6*7*6*t*e*.*o*n*i*o*n*/*6*6*9*7
08:10
< xxpt>
Kindamoody Orthia TheWatcher sshine macdjord Reiv PinkFreud Mahal Azash VirusJTG Kizor himi jerith Reiver JustBob abudhabi [R] Tamber McMartin ion Attilla jeroud Turaiel[Offline] Pi gnolam Namegduf iospace ToxicFrog starkruzr Syloq Vornicus crystalclaw celmin|Zzzzzz Alek
08:10 xxpt [qozlae@Nightstar-gvimed.client.bresnan.net] has left #code ["quicktalkeh676te.onion/6697"]
08:12 mode/#code [+b *!*@*vimed.client.bresnan.net] by Kindamoody
08:17
<~Vornicus>
siiiigh
08:54 * McMartin prods old sprite formats.
08:55
<&McMartin>
I spend a fairly alarming amount of time messing around in a Python REPL with struct imported.
09:38 * McMartin gets a text representation of the sprite out!
09:38
<&McMartin>
This 8-bit truecolor mode arranges its bits BGGRBRKK, wtf
09:39
<&McMartin>
("KK" is the lower two bits of R, G, and B all at once)
09:39
<@gnolam>
Err
09:41
<@TheWatcher>
.... whaaaa
09:41
<@TheWatcher>
Why would you do that?! O.o
09:42
<&McMartin>
I acknowledge and respect that the UK went its own way with personal computing, but Acorn, what is wrong with you.
09:42
<&McMartin>
Also why are icons 34x17x256 with all scanlines doubled, you are being plugged into the equivalent of a Super VGA monitor
09:46
<&McMartin>
Note that if you are using a 64-color mode it's 00BBGGRR like the rest of those circuits designed by human beings or their creations
09:49
<&McMartin>
I'll even grant that while I haven't seen that gamut before it makes sense
09:49
<&McMartin>
If the chip can theoretically do 12-bit color but your video ram kind of just wants to use 8 bits per pixel, "Those colors in the 12-bit space where the lower two bits of R, G, and B are the same value" is a reasonable choice.
09:50
<&McMartin>
(There seems to be a programmable palette, but that is kind of grimly hilarious when you try to use it in a desktop environment)
09:50
<&McMartin>
tl;dr: man, it was way easier to learn to program in the late 1980s than the early-mid 1990s.
09:51
<&McMartin>
(We won't discuss the PC BIOS's idea of a sensible default 256-color palette.)
09:52
<&McMartin>
(Because we don't have to! Standard practice was to pick your own 256 from the 24-bit truecolor space that BIOS provided.)
09:52
<&McMartin>
(... but that it turns out VGA secretly didn't, which I didn't learn until like three months ago.)
10:06
<@TheWatcher>
Hey, at least it didn't use bitplanes~
10:08 macdjord is now known as macdjord|slep
10:08
<&McMartin>
THAT I KNOW OF
10:22 ion [Owner@Nightstar-gmbj85.vs.shawcable.net] has quit [Ping timeout: 121 seconds]
10:35 ion [Owner@Nightstar-gmbj85.vs.shawcable.net] has joined #code
10:41 Alek [Alek@Nightstar-7or629.il.comcast.net] has quit [Ping timeout: 121 seconds]
10:44 Alek [Alek@Nightstar-7or629.il.comcast.net] has joined #code
10:44 mode/#code [+o Alek] by ChanServ
11:36 * McMartin gets icon import working, notices it is 0330, collapses
12:40 Jessikat [Jessica@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
12:41
< Jessikat>
https://lambdashirehotpot.wordpress.com/2017/07/08/extracting-the-signature-of-a -cpp-callable/
13:07 * Vornicus reads, goes *whoosh*
13:07
<~Vornicus>
I suspect I'd need way more understanding of C++ templating to get what's going on there
13:09
<@abudhabi>
May or may not require some black goats.
13:27
< Jessikat>
...I've gone too deep, haven't I
13:29
<&ToxicFrog>
Possibly.
13:29 * ToxicFrog pokes it with a stick
13:36
< Jessikat>
:D
13:36 * Jessikat shrugs
14:29
<&ToxicFrog>
One of the questions I have: is the anonymous function in the example inherently typed as std::function, or is it implicitly converted from a normal function pointer to that/
15:22 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
16:09 celmin|Zzzzzz is now known as celticminstrel
16:51 macdjord|slep is now known as macdjord
17:05 Kindamoody [Kindamoody@Nightstar-0lgkcs.tbcn.telia.com] has quit [Connection reset by peer]
17:05 Kindamoody|autojoin [Kindamoody@Nightstar-0lgkcs.tbcn.telia.com] has joined #code
17:05 mode/#code [+o Kindamoody|autojoin] by ChanServ
17:06 Kindamoody|autojoin is now known as Kindamoody
17:31
< Jessikat>
ToxicFrog: std::function is just a normal templated type, the type of print_backwards is void (std::string) and the constructor of std::function will likely implicitly convert it to a function pointer to store internally
17:31
< Jessikat>
the mechanics of doing that are... a little hairy
17:31
< Jessikat>
but not that much code
18:41 Kindamoody is now known as Kindamoody|afk
19:35 Kindamoody|afk is now known as Kindamoody
21:29
<&McMartin>
I'm going to need to eat lunch before I read that
22:39 RchrdB [RchrdB@Nightstar-qe9.aug.187.81.IP] has joined #code
23:00 Kindamoody is now known as Kindamoody[zZz]
23:43 * McMartin fiddles with the binutils, drops this binary size from 33600 bytes to 140 bytes.
23:44
<@Alek>
o_o
23:44
<&McMartin>
For some reason ld keeps insisting on throwing 32KB of zeroes into these binaries.
23:45
<&McMartin>
I *think* it's because I want the text segment to start in a location that the ELF loader wants to keep the header
23:45
<&McMartin>
Whatever it's doing *works in the end*, but.
23:45
<&McMartin>
One can do better with more rigorous instruction. :)
23:45
<&McMartin>
Also, I am full of burritos now, I can try to read Jessikat's article.
--- Log closed Sun Jul 09 00:00:15 2017
code logs -> 2017 -> Sat, 08 Jul 2017< code.20170707.log - code.20170709.log >

[ Latest log file ]