code logs -> 2017 -> Fri, 15 Sep 2017< code.20170914.log - code.20170916.log >
--- Log opened Fri Sep 15 00:00:58 2017
00:36 RchrdB [RchrdB@Nightstar-qe9.aug.187.81.IP] has quit [Ping timeout: 121 seconds]
00:48 celticminstrel [celticminst@Nightstar-ce0j0u.dsl.bell.ca] has joined #code
00:48 mode/#code [+o celticminstrel] by ChanServ
00:55 Jessikat [Jessikat@Nightstar-1rjn8b.dab.02.net] has joined #code
01:00
<&ToxicFrog>
Holy shit: https://codegolf.stackexchange.com/questions/11880/build-a-working-game-of-tetri s-in-conways-game-of-life
01:05
<~Vornicus>
holy shit
01:05
<&McMartin>
This seems like the opposite of golf~
01:15 Derakon[AFK] is now known as Derakon
01:49
<&[R]>
<enderst> btw https://www.safaribooksonline.com/public/cms2017-eper/?promotion_code=SAVEEPER
01:49
<&[R]>
<enderst> one day left
02:03 macdjord is now known as macdjord|slep
02:40 Vornicus [Vorn@Nightstar-ct9c67.ma.comcast.net] has quit [Connection reset by peer]
02:40 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
02:40 mode/#code [+qo Vornicus Vornicus] by ChanServ
02:45 * McMartin grmbls at audio processing code
02:45
<&McMartin>
This is your periodic reminder that "CMSampleBufferGetAudioBufferListWithRetainedBlockBuffer" is an actual function name in a core API
02:46
< Mahal>
..............
02:46
<&McMartin>
People give microsoft shit for verbose function names, but I am here to tell you, they've got nothing on Apple
02:47
<&[R]>
At least it's not WinAPI, where you need to give it 17 parameters, 3 of which are structs that you have to set a bunch of values on.
02:48
<&McMartin>
No, instead I pass it 12 arguments, some of which are variables, most of which are structs, and one of which is a callback whose contract is only properly defined in a footnote to a WWDC talk.
02:48
<&[R]>
Oh wow
02:48
<&McMartin>
Since becoming a professional iOS developer 2 years ago I have had to retroactively forgive Microsoft for a lot.
02:49
<&[R]>
Do they also do the MSDN thing where they invalidate all your bookmarks every 18 weeks?
02:49
<&McMartin>
They also occasionally break their own crossreferences!
02:49
<&[R]>
bookmarks of API documentation*
02:49
<&[R]>
Quality
02:49
<&McMartin>
Yeah
02:50
<&McMartin>
To be fair, nobody gives a fuck about bookmarks because you're supposed to push the "go tot the relevant page" button in your IDE and this does some kind of indexing or search operation that keeps working.
02:50
<&McMartin>
But that's also why I'm *much* more vexed about stale links inside of them.
02:51
<&[R]>
TBF, this was in 2002 when I was starting to learn C
02:51
<&McMartin>
That was an uglier time, I think
02:51
<&[R]>
DevCpp was my IDE
02:51
<&[R]>
Yeah
02:51
<&McMartin>
I didn't have to seriously contend with MSDN until 2010 or so and they very much had their act together by then.
02:51
<&[R]>
MSDN wasn't exactly navigatable at the time either, so bookmarks were manditory
02:52 * McMartin might still have his MSDN CD from 1997, when it fit on a CD.
02:52
<&[R]>
Then I got into PHP, and found the PHP docs /so/ much better
02:53
<&[R]>
You could by MSDN media?
02:53
<&McMartin>
It was 1997; this was the expected way to get it
02:53
<&[R]>
Fair enough
02:53
<&McMartin>
It was the other CD that came with MSVC++6, when I bought it at the student store
02:53
<&[R]>
Seperate from VS?
02:53
<&McMartin>
VS didn't exist yet :D
02:54
<&[R]>
Ah
02:54
<&McMartin>
IME, MSVS got usable around 2008 and looked nice around 2012
02:55
<&McMartin>
Unfortunately, something in the program analysis stuff went *disastrously* wrong in between those two points and tab completion shifted from taking a couple seconds (for an ~500KLOC code base) to "based on that progress bar, it would be 4 hours, whatever"
03:03
<&McMartin>
Oh wait, a correction: the callback with the API contract only documented in a footnote orphaned in the middle of the site is AudioConverterFillComplexBuffer, which also takes an argument the very long function name above was intended to create
03:03
<&McMartin>
That one *does* still have two callbacks in it, though, but you feed it values that look like enumerated types and you're golden~
03:04
<&McMartin>
Actually, a new version of Xcode landed two days ago. Maybe they've updated the documentation!
03:04 * McMartin goes tto check
03:05
<&McMartin>
It doesn't! Or rather, it doesn't completely.
03:05
<&McMartin>
It's got half the the contract there; the part where you return 0 packets. But not the part where you fail with error code 1.
03:08
<&McMartin>
Which is a success that returns valid data
03:18
<~Vornicus>
um
03:19
<&McMartin>
AudioConverterFillComplexBuffer is the worst.
04:36
<@celticminstrel>
Ugh, what on earth is this error.
04:36
<@celticminstrel>
It's complaining something is not a member of a union when it's clearly declared right there in the union and other parts of the code have no problem referencing it.
04:37
<@celticminstrel>
Even weirder, some lines that reference it in the same file have no error.
04:40
<@celticminstrel>
MSVC 2013, C2039, first occurrence at https://github.com/calref/cboe/blob/master/test/monst_write.cpp#L23
04:43
<~Vornicus>
uAbility::gen, and its decltype generalAbil?
04:43
<@celticminstrel>
Yeah.
04:43
<@celticminstrel>
(The following two lines also error.)
04:43
<~Vornicus>
alias, rather
04:43
<@celticminstrel>
There are also instances further down where I do soemthing like abil[stuff].gen that gives an error.
05:08 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!]
05:48 Derakon is now known as Derakon[AFK]
06:46 Emmy-zZz [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds]
06:58 Jessikat` [Jessikat@Nightstar-393iqv.dab.02.net] has joined #code
07:00 Jessikat [Jessikat@Nightstar-1rjn8b.dab.02.net] has quit [Ping timeout: 121 seconds]
07:34 Jessikat` is now known as Jessikat
08:45 Alek [Alek@Nightstar-7or629.il.comcast.net] has quit [Operation timed out]
08:49 Alek [Alek@Nightstar-7or629.il.comcast.net] has joined #code
08:49 mode/#code [+o Alek] by ChanServ
09:39 Alek [Alek@Nightstar-7or629.il.comcast.net] has quit [Ping timeout: 121 seconds]
09:43 Alek [Alek@Nightstar-7or629.il.comcast.net] has joined #code
09:43 mode/#code [+o Alek] by ChanServ
10:00 You're now known as TheWatcher[d00m]
10:26
<~Vornicus>
attn: McMartin http://gizmodo.com/you-have-to-be-hopelessly-devoted-to-antique-computers-181001 7275
10:38 You're now known as TheWatcher
10:59
<~Vornicus>
slep
11:21 McMartin [mcmartin@Nightstar-rpcdbf.sntcca.sbcglobal.net] has quit [Ping timeout: 121 seconds]
11:23 McMartin [mcmartin@Nightstar-rpcdbf.sntcca.sbcglobal.net] has joined #code
11:23 mode/#code [+ao McMartin McMartin] by ChanServ
11:35 Jessikat [Jessikat@Nightstar-393iqv.dab.02.net] has quit [[NS] Quit: Bye]
11:45
<@TheWatcher>
I never thought I'd say this, but thank gods for @media print { }
13:39 Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
13:55 You're now known as TheWatcher[d00m]
14:14 Jessikat [Jessikat@Nightstar-l5nrdb.dab.02.net] has joined #code
15:15 You're now known as TheWatcher
16:16 macdjord|slep is now known as macdjord
18:31 Jessikat [Jessikat@Nightstar-l5nrdb.dab.02.net] has quit [[NS] Quit: Bye]
18:32 Jessikat [Jessikat@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
19:47 mac [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has joined #code
19:47 mode/#code [+o mac] by ChanServ
19:50 macdjord [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has quit [Ping timeout: 121 seconds]
22:02 mac is now known as macdjord
22:45 Kindamoody|afk is now known as Kindamoody
23:13 Kindamoody is now known as Kindamoody[zZz]
23:45 Degi [Degi@Nightstar-ohpmsp.dyn.telefonica.de] has joined #code
--- Log closed Sat Sep 16 00:00:00 2017
code logs -> 2017 -> Fri, 15 Sep 2017< code.20170914.log - code.20170916.log >

[ Latest log file ]