code logs -> 2015 -> Mon, 14 Sep 2015< code.20150913.log - code.20150915.log >
--- Log opened Mon Sep 14 00:00:53 2015
00:04 Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has quit [Ping timeout: 121 seconds]
00:16 Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has joined #code
00:16 mode/#code [+o Reiv] by ChanServ
00:20 Reiv_ [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has joined #code
00:20 Reiv_ [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has quit [[NS] Quit: Page closed]
00:20 Reiv_ [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has joined #code
00:21 Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has quit [Ping timeout: 121 seconds]
00:24
<~Vornicus>
hooray
00:30
< Reiv_>
hooray?
00:42
<~Vornicus>
hooray, the method I gave to jerith worked
00:48
< Reiv_>
hooray indeed!
01:35 catadroid` [catalyst@Nightstar-3n2j13.dab.02.net] has joined #code
01:38 catadroid [catalyst@Nightstar-6s5o68.dab.02.net] has quit [Ping timeout: 121 seconds]
02:47
<@celticminstrel>
Anyone know what would be the Windows equivalent of "which xyz"?
02:49
< Turaiel>
uhhh
02:49
< Turaiel>
I knew this at one point
02:49
< Turaiel>
where perhaps?
02:49
< Turaiel>
Yes, where.
03:24 Reiv_ [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has quit [Ping timeout: 121 seconds]
03:28 Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has joined #code
03:28 mode/#code [+o Reiv] by ChanServ
03:45 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [Connection reset by peer]
04:15
<@celticminstrel>
Turaiel: Thanks!
04:16
< Turaiel>
No prob
04:22 Thalass [thalass@Nightstar-m49.o7s.158.104.IP] has quit [[NS] Quit: slep g'nighty]
04:32 Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has quit [Ping timeout: 121 seconds]
04:32 Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has joined #code
04:32 mode/#code [+o Reiv] by ChanServ
05:01 Derakon is now known as Derakon[AFK]
05:21 Meatyhandbag [sebastianfe@Nightstar-ohu.854.224.136.IP] has quit [Client exited]
05:27 mac is now known as macdjord|slep
05:40 Turaiel is now known as Turaiel[Offline]
05:42 Checkmate [Z@Nightstar-r9lk5l.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
06:17 Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has quit [Ping timeout: 121 seconds]
06:33 * macdjord|slep compresses a large number of highly redundant files, gets a 2257:1 compression ratio
06:35
<~Vornicus>
that is possibly the most highly redundant I've ever met
06:35 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection reset by peer]
06:36
<@macdjord|slep>
To be fair - I'm pretty sure you could have gotten 100:1 or better just by storing each file as a diff against its predicessor.
06:38
<@macdjord|slep>
Still. &-zip at max setting is impressive.
06:38
<@macdjord|slep>
Er, 7-zip.
07:08 Checkmate [Z@Nightstar-r9lk5l.cust.comxnet.dk] has joined #code
07:08 mode/#code [+o Checkmate] by ChanServ
07:51 celticminstrel is now known as celmin|sleep
08:05 catadroid` [catalyst@Nightstar-3n2j13.dab.02.net] has quit [Ping timeout: 121 seconds]
12:01 catadroid [catalyst@Nightstar-lm3rol.dab.02.net] has joined #code
12:07 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
12:25 Meatyhandbag [sebastianfe@Nightstar-ohu.854.224.136.IP] has joined #code
13:03 catadroid [catalyst@Nightstar-lm3rol.dab.02.net] has quit [Ping timeout: 121 seconds]
13:21 catadroid [catalyst@Nightstar-5qbhom.dab.02.net] has joined #code
13:38 Turaiel[Offline] is now known as Turaiel
14:05 ion [Owner@Nightstar-h5r554.vs.shawcable.net] has quit [[NS] Quit: nothing to say so have a nice day]
14:12 ion [Owner@Nightstar-h5r554.vs.shawcable.net] has joined #code
14:24 Meatyhandbag [sebastianfe@Nightstar-ohu.854.224.136.IP] has quit [Client exited]
14:34 catadroid` [catalyst@Nightstar-1fp447.dab.02.net] has joined #code
14:36 catadroid [catalyst@Nightstar-5qbhom.dab.02.net] has quit [Ping timeout: 121 seconds]
14:53 orth [orthianz@Nightstar-gm4.6v2.93.118.IP] has joined #code
14:55 celmin|sleep is now known as celticminstrel
15:06 catadroid` is now known as catadroid
15:29 orth [orthianz@Nightstar-gm4.6v2.93.118.IP] has quit [Connection closed]
15:32 orth [orthianz@Nightstar-gm4.6v2.93.118.IP] has joined #code
15:44 Meatyhandbag [sebastianfe@Nightstar-ohu.854.224.136.IP] has joined #code
16:19 himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
16:19 himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code
16:19 mode/#code [+o himi] by ChanServ
16:38 Meatyhandbag [sebastianfe@Nightstar-ohu.854.224.136.IP] has quit [Client exited]
16:43 Checkmate [Z@Nightstar-r9lk5l.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
16:49 macdjord|slep is now known as macdjord|wurk
17:26 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
17:30 catadroid [catalyst@Nightstar-1fp447.dab.02.net] has quit [[NS] Quit: Bye]
17:47 Derakon[AFK] is now known as Derakon
17:47 * Derakon grumbles at work.
17:47
<&Derakon>
The problem with having a long-running branch is that people make patches against the base branch and you have to manually merge them in.
17:57 Meatyhandbag [sebastianfe@Nightstar-jqo.q4j.224.136.IP] has joined #code
18:58 Meatyhandbag_ [sebastianfe@Nightstar-ohu.854.224.136.IP] has joined #code
18:59 Meatyhandbag [sebastianfe@Nightstar-jqo.q4j.224.136.IP] has quit [Ping timeout: 121 seconds]
18:59 Meatyhandbag_ is now known as Meatyhandbag
19:29
<@celticminstrel>
I can't figure out how my destructor has an access violation...
19:32
<@celticminstrel>
It occurs after the destructor exits...
19:35
<&ToxicFrog>
celticminstrel: are you looking at the core, or looking at in the debugger?
19:35
<@celticminstrel>
Debugger. MSVC.
19:35
<&ToxicFrog>
If the former, try running it in the debugger and catching it when it happens.
19:35
<&ToxicFrog>
Aah.
19:35
<@celticminstrel>
Maybe I could try reproducing on Mac as well though...
19:36
<&ToxicFrog>
So, if it happens after the dtor exits, and you have the stack trace proving it, where does "the dtor has an access violation" come from?
19:36
<&McMartin>
This can often man misuse of things like shared_ptr
19:36
<&McMartin>
With a double-free
19:37
<@celticminstrel>
I thought of that, but I don't see any shared_ptrs in this class.
19:37
<@celticminstrel>
TF: The debugger breaks at the closing brace of the destructor.
19:37
<&ToxicFrog>
Aah.
19:38
<&ToxicFrog>
Yeah, that sounds like something blowing up when it gets destroyed on leaving scope.
20:13
<@celticminstrel>
Doesn't happen on OSX. :/
20:20
<@celticminstrel>
Well, I'm still not sure why it happens, but it was a side-effect of another bug, and fixing that bug seems to prevent this one from occurring anymore. I hope it doesn't resurface later.
21:14 Turaiel is now known as Turaiel[Offline]
21:21 thalass [thalass@Nightstar-m49.o7s.158.104.IP] has joined #code
21:21 mode/#code [+o thalass] by ChanServ
21:29 Checkmate [Z@Nightstar-r9lk5l.cust.comxnet.dk] has joined #code
21:29 mode/#code [+o Checkmate] by ChanServ
21:30 * Derakon eyes this code, moans in despair.
21:30
<&Derakon>
Model, view, and control all mixed together in one gigantic tangled mess.
21:30
<&Derakon>
I can't even separate out minor functionality without tracing massive amounts of state through to where it's calculated in other parts of the class.
21:32
<&McMartin>
I have yet to see two frameworks decide the same bit is the "Controller" >_>
21:32
<&Derakon>
TBH separating model and view is the critical part.
21:33
<&McMartin>
Yeah
21:34 * McMartin has occasionally spent hours of argumentation with extremely angry people other whether or not the logic that controls whether or not a control is enabled due to logical consistency of the data within is part of 'Model' or 'View', gets tired just thinking about it
21:34
<&Derakon>
Heh.
21:34
<&Derakon>
Especially when the data explicitly contains items that exist to indicate whether or not a given GUI widget is enabled.
21:35
<&McMartin>
Yessss.
21:36 * McMartin tends to consider having data items like that to be tangling the model and view. This is either fundamentalist nutjobbery or unforgivable sloppiness depending on exactly which angry person he is arguing with.
21:36
<&McMartin>
"In which instance variable did I just punch you", etc.
21:37
<&Derakon>
Hm, it occurs to me I may have better luck treating this object as a model and separating out the view components, instead of the other way around.
21:56 * Derakon sighs at coworkers commit, which changed his "iff" in a docstring to "if".
21:57
<&Derakon>
Also he added @return tags for simple getter functions, and the descriptions for those tags just parrot what the rest of the docstring says.
22:04 * [R] never understood why MVC is such a huge fad.
22:06
< catalyst>
it give the illusion of having control
22:07
< catalyst>
gives
22:07
<&Derakon>
R: like I said, it's mostly critical to separate the view from the model.
22:07
<&Derakon>
Because when view and model are tightly intertwined, you can't do shit to the program except through its GUI.
22:08
<&McMartin>
^++
22:08
<&McMartin>
There are other, equivalent disciplines
22:08
<&McMartin>
But if you want something that can be maintained or extended, you've gotta have one of them.
22:08
<&McMartin>
(The traditional UNIX approach is to present the 'model' as a library linked against by both GUI and CLI programs. Think libpurple or most of imagemagick.)
22:10
< [R]>
Right. Normal sanity stuff. Just the third wheel seems pointless.
22:11
<&Derakon>
It's more relevant for webapps, which tend to be backed by a database.
22:11
<&McMartin>
When people split out "Controller" they usually do mean *something*
22:11
<&Derakon>
You don't as a rule put transformative logic into databases.
22:11
<&McMartin>
I have noticed it is never the same thing
22:12
<&McMartin>
(When I was first taught MVC, they intended "Controller" to be what I would have called the "event loop." This is not the same thing as what, say, iOS calls a ViewController.)
22:13
<&McMartin>
I would propose a cynical definition of "assuming you are using a system where GUI elements do not exist in a total vaccuum - which is, to be fair, a pretty safe assumption - the Controller is the part that lets the GUI actually work."
22:13
<&McMartin>
12:13 <@celticminstrel> Doesn't happen on OSX. :/
22:13
<&McMartin>
Belated: Microsoft's heap allocator is designed to fail fast in debug modes.
22:14
<&McMartin>
It uses different patterns of garbage for "unallocated ever", "freshly allocated", and "was allocated but is now freed"
22:14
<&McMartin>
(I forget the first, but the latter two are I think either CCCCCCCC and DDDDDDDDD or the other way around)
22:23 Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has joined #code
22:23 mode/#code [+o Reiv] by ChanServ
23:09 Turaiel[Offline] is now known as Turaiel
23:14 macdjord|wurk is now known as macdjord
23:18 * Derakon makes a first attempt at compiling after the refactor, has only 55 compilation erroros.
23:18
<&Derakon>
Er, errors.
23:18
<&Derakon>
Surely some of these are masking others, though.
23:19
<&McMartin>
Maybe some of them have common sources though. I could be a wash!
23:19
<&McMartin>
*It
23:31 orth [orthianz@Nightstar-gm4.6v2.93.118.IP] has quit [[NS] Quit: Bye]
23:45 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: ]
23:49 catadroid [catalyst@Nightstar-a88ccj.dab.02.net] has joined #code
23:49 ion [Owner@Nightstar-h5r554.vs.shawcable.net] has quit [Ping timeout: 121 seconds]
--- Log closed Tue Sep 15 00:00:09 2015
code logs -> 2015 -> Mon, 14 Sep 2015< code.20150913.log - code.20150915.log >

[ Latest log file ]