code logs -> 2016 -> Tue, 19 Jul 2016< code.20160718.log - code.20160720.log >
--- Log opened Tue Jul 19 00:00:14 2016
00:14
<@celticminstrel>
Gah, it's currently not re-entrant. Meaning it works if I call it only once, but not if I call it once per frame.
00:33 catadroid [catadroid@Nightstar-et0vio.dab.02.net] has joined #code
00:33 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: Leaving]
00:36 kourbou [uid114955@Nightstar-u0buu4.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity]
00:37 Kindamoody is now known as Kindamoody[zZz]
00:48 Turaiel[Offline] is now known as Turaiel
00:52
<@celticminstrel>
Why!
00:53
<~Vornicus>
Because!
00:53
<@celticminstrel>
:(
00:53
<@celticminstrel>
It also doesn't work if I redefine the VAO/VBO each frame. It only seems to work if I setup and render only once.
01:12
< Pinkhair>
You mean the array won't update?
01:13
< Pinkhair>
or it just stops working altogether?
01:18 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection reset by peer]
01:30
<@celticminstrel>
Nothing gets drawn at all. I just get a blank screen in my chosen clear colour.
01:30 himi [sjjf@Nightstar-dm0.2ni.203.150.IP] has joined #code
01:30 mode/#code [+o himi] by ChanServ
01:32
<@celticminstrel>
Maybe my draw routine is missing something, but I have no idea what it would be.
01:32 Derakon[AFK] is now known as Derakon
01:32
< Pinkhair>
do you have to clear the current one before redefining it?
01:38
<@celticminstrel>
Huh?
01:45 Derakon_ [chriswei@Nightstar-5mvs4e.ca.comcast.net] has joined #code
01:45 Derakon [chriswei@Nightstar-5mvs4e.ca.comcast.net] has quit [Ping timeout: 121 seconds]
01:54 Derakon_ is now known as Derakon
01:54 mode/#code [+ao Derakon Derakon] by ChanServ
02:03
<@celticminstrel>
At the moment I'm not even bothering to delete the VAO/VBO, but I have no idea if doing so would allow it to be re-entrance if I recrated it each frame... but I doubt recreating it each frame is the right approach anyway.
02:03
<@celticminstrel>
^re-entrant
02:05 catadroid` [catadroid@Nightstar-s8pepu.dab.02.net] has joined #code
02:07 catadroid [catadroid@Nightstar-et0vio.dab.02.net] has quit [Ping timeout: 121 seconds]
02:10 iospace [Alexandria@Nightstar-fkokc2.com] has quit [Ping timeout: 121 seconds]
02:28 VirusJTG [VirusJTG@Nightstar-055.kas.104.208.IP] has quit [Connection closed]
03:20 ion [Owner@Nightstar-6grqph.vs.shawcable.net] has quit [Ping timeout: 121 seconds]
03:21 ion [Owner@Nightstar-6grqph.vs.shawcable.net] has joined #code
03:21 mode/#code [+o ion] by ChanServ
04:40 iospace [Alexandria@Nightstar-fkokc2.com] has joined #code
04:40 mode/#code [+o iospace] by ChanServ
04:50 Turaiel is now known as Turaiel[Offline]
05:06 Derakon is now known as Derakon[AFK]
05:17 Shady [ShadyGuru@Nightstar-8v9css.leh.ptd.net] has joined #code
05:17 Shady [ShadyGuru@Nightstar-8v9css.leh.ptd.net] has quit [Connection reset by peer]
06:28 crystalclaw is now known as crystalclaw|AFK
07:33 mac [macdjord@Nightstar-r9vt2h.mc.videotron.ca] has joined #code
07:33 mode/#code [+o mac] by ChanServ
07:36 macdjord [macdjord@Nightstar-r9vt2h.mc.videotron.ca] has quit [Ping timeout: 121 seconds]
07:50 Kindamoody[zZz] is now known as Kindamoody
07:52 catadroid [catadroid@Nightstar-s8pepu.dab.02.net] has joined #code
07:52 catadroid` [catadroid@Nightstar-s8pepu.dab.02.net] has quit [The TLS connection was non-properly terminated.]
07:54 catadroid [catadroid@Nightstar-s8pepu.dab.02.net] has quit [[NS] Quit: Bye]
07:55 mac [macdjord@Nightstar-r9vt2h.mc.videotron.ca] has quit [[NS] Quit: Where there's a whip! (Whup-CHA!) There's a way!]
08:16 himi [sjjf@Nightstar-dm0.2ni.203.150.IP] has quit [Ping timeout: 121 seconds]
08:37 macdjord [macdjord@Nightstar-r9vt2h.mc.videotron.ca] has joined #code
08:37 mode/#code [+o macdjord] by ChanServ
08:55 celticminstrel is now known as celmin|sleep
10:13 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
10:13 mode/#code [+qo Vornicus Vornicus] by ChanServ
10:44 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
10:44 mode/#code [+ao VirusJTG VirusJTG] by ChanServ
10:52 You're now known as TheWatcher[d00m]
11:28 catadroid [catadroid@Nightstar-csvjkv.dab.02.net] has joined #code
11:29
< catadroid>
WHY AM I HAVING TO CONVINCE TOOLS DEVELOPERS THAT BASIC FUNCTIONALITY CHECKS ARE IMPORTANT TO DO BEFORE RELEASING A PRODUCT TO USERS
11:32 himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code
11:32 mode/#code [+o himi] by ChanServ
12:41
<@simon_>
it's funny how our student assistant refuses to do what I ask of him.
12:43
<@simon_>
"these links are broken; change http to https." "but really, are they? why?" "because of <reason>." "but does it make a difference?" "yes." "but is the difference significant?" "you could measure it, but in similar cases, it is and we go to greater lengths to fix it." "those links probably shouldn't even be there." "if you think that, just delete them." "yeah, but are you sure it matters?" "yes."
12:45
<@simon_>
it irritates me so much when people use their own lack of understanding of a subject matter as an argument for not wanting to do something, and then filling up the conversation with nonsense excuses. the fix was literally 30 seconds of work.
12:47 You're now known as TheWatcher
12:54 Emmy [NSkiwiirc@Nightstar-41pbej.static.chello.nl] has joined #code
12:55 mode/#code [+o Emmy] by ChanServ
13:34
<@ion>
https://media.giphy.com/media/wErJXg1tIgHXG/giphy.gif Keep one of these on hand for both those cases?
13:35 Kindamoody is now known as Kindamoody|afk
13:51 catadroid` [catadroid@Nightstar-csvjkv.dab.02.net] has joined #code
13:51 catadroid [catadroid@Nightstar-csvjkv.dab.02.net] has quit [The TLS connection was non-properly terminated.]
14:14 catadroid` [catadroid@Nightstar-csvjkv.dab.02.net] has quit [[NS] Quit: Bye]
14:14 catadroid [catadroid@Nightstar-csvjkv.dab.02.net] has joined #code
14:14
< catadroid>
Seems about right
14:35 Emmy [NSkiwiirc@Nightstar-41pbej.static.chello.nl] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
14:39 Emmy [NSkiwiirc@Nightstar-41pbej.static.chello.nl] has joined #code
14:39 mode/#code [+o Emmy] by ChanServ
15:06 catadroid` [catadroid@Nightstar-8maqb8.dab.02.net] has joined #code
15:08 catadroid [catadroid@Nightstar-csvjkv.dab.02.net] has quit [Ping timeout: 121 seconds]
15:41 Emmy [NSkiwiirc@Nightstar-41pbej.static.chello.nl] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
17:36 grindhold [quassel@Nightstar-0ona3l.cyan.servdiscount-customer.com] has quit [Ping timeout: 121 seconds]
17:54
<@gnolam>
https://twitter.com/charlieboisseau/status/755055488820191232
17:55 macdjord [macdjord@Nightstar-r9vt2h.mc.videotron.ca] has quit [Connection reset by peer]
17:55 macdjord [macdjord@Nightstar-r9vt2h.mc.videotron.ca] has joined #code
17:55 mode/#code [+o macdjord] by ChanServ
18:08
<@gnolam>
I am reminded of the stock photos of people soldering.
18:09
<@gnolam>
(http://www.boredpanda.com/soldering-iron-stock-image-fails/ )
18:14 * Azash soothes gnolam with choice Louis Rossmann videos
18:14
<@gnolam>
Wha?
18:16
<@Azash>
gnolam: https://www.youtube.com/watch?v=S25NDRVOmo0
18:17 grindhold [quassel@Nightstar-0ona3l.cyan.servdiscount-customer.com] has joined #code
18:17 mode/#code [+o grindhold] by ChanServ
18:18
<@gnolam>
... is he dubbed or just not bothering to synch his sound?
18:20
<@Azash>
Probably the latter
18:20
<@Azash>
His videos are done as he works on stuff so the focus isn't as much on being perfect as illustrating the work
18:21
<@gnolam>
Either way, it's too distracting to bother to watch.
18:21
<@Azash>
The focus is not on his face once he starts working
18:50 celmin|sleep is now known as celticminstrel
19:22 catadroid [catadroid@Nightstar-8maqb8.dab.02.net] has joined #code
19:22 catadroid` [catadroid@Nightstar-8maqb8.dab.02.net] has quit [The TLS connection was non-properly terminated.]
19:23 catadroid [catadroid@Nightstar-8maqb8.dab.02.net] has quit [[NS] Quit: Bye]
19:24 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
20:26 Pinkhair [user1@Nightstar-g7hdo5.dyn.optonline.net] has quit [Connection reset by peer]
20:26 Pinkhair [user1@Nightstar-g7hdo5.dyn.optonline.net] has joined #code
21:20
<@celticminstrel>
Wondering if my problem from yesterday could've been timing...
21:22
<@celticminstrel>
Works if I draw it exactly once and then never redraw. Fails if I draw it in the event loop.
21:28
<@celticminstrel>
Doesn't work if I call it twice in a row.
21:28
<@celticminstrel>
(And then never again.)
21:28
<@celticminstrel>
s/call/draw/
21:30
<@celticminstrel>
Even if I repeat the setup on the second call.
21:31
<@celticminstrel>
Or sleep for 1 second between.
21:31
<@celticminstrel>
I guess it's not timing then?
21:32
<@celticminstrel>
On another note, Firefox manages to take a ridiculously amount of CPU (and of course memory) even after I've quit it.
21:33
<@celticminstrel>
It might be partly swapping issues, but still, its shutdown process seems to be needlessly complicated.
21:34
<@ion>
I'd like to take your last two words and apply them as a slogan for firefox
21:41
<@celticminstrel>
I also hate VLC. It doesn't do what you ask it to when streaming and stutters far worse than iTunes.
21:42
<@celticminstrel>
But Apple hates ogg, so I can't use them in iTunes.
21:44 * celticminstrel kills Firefox, frees up almost half my RAM.
21:44
<@celticminstrel>
It should've died by now anyway, since I did tell it to quit.
21:45
<@ErikMesoy>
It was probably downloading and installing updates.
21:45
<@ErikMesoy>
Some apps do that on close rather than on startup.
21:45
<@ErikMesoy>
It saves time/nagging on startup.
21:45
<@celticminstrel>
No, it only does than when I ask it to.
21:46
<@celticminstrel>
I get a notification and everything.
21:46
<&McMartin>
Also, I'm used to getting the ping a few minutes after startup in FF, so unless they changed it even the automatic one is on startup
21:46
<@celticminstrel>
Actually sometimes the ping gets really annoying if I say "remind me later". I'm pretty sure I've been reminded three or more times in one day before.
21:51
<@celticminstrel>
I want something better than VLC for oggs.
21:52
<@celticminstrel>
Bonus points if it also handles mods.
21:52
<@celticminstrel>
And whatever other formats Apple can't be bothered with.
21:52
<@celticminstrel>
Midi I guess. Though VLC doesn't support that unless you make a custom build.
21:53
<@celticminstrel>
Midi works in Quicktime Player, at least.
21:53
<&McMartin>
If you find one, let me know; it's my only option on Mac too
21:53
<&McMartin>
On Windows I use WinAmp, but
21:54
<&[R]>
mplayer for the win
21:55 Derakon [chriswei@Nightstar-5mvs4e.ca.comcast.net] has joined #code
21:55 mode/#code [+ao Derakon Derakon] by ChanServ
21:55
<&Derakon>
"Strong typing means pressing your keyboard keys very hard"
21:56
<@celticminstrel>
I did find an alternative for video (MPlayer OSX Extended) but its playlist functionality seemed very poor (though I only actually tried it on video files), and anyway I think it's better to have different apps for audio and video.
21:56
<&McMartin>
Stealing that for the guy I know who drives his co-workers nuts
21:56
<@celticminstrel>
There was at least one other mplayer wrapper that wasn't as good, though I can't recall why.
21:57
<&Derakon>
McM: it's from the coding horrors thread on SA.
22:01
<@celticminstrel>
Is it my imagination, or does VLC's shuffle not necessarily reach all songs in the playlist?
22:08
<@ErikMesoy>
As your playlist grows, the time it takes shuffle to reach every song grows quadratically.
22:08
<@ErikMesoy>
How big is your playlist?
22:08
<@celticminstrel>
VLC's command-line syntax also makes no sense whatsoever. ffmpeg is far better.
22:08
<@celticminstrel>
At the moment, only 18 songs.
22:09
<@celticminstrel>
Why would the time taken to shuffle grow quadratically?
22:10
<@celticminstrel>
That does not make any sense.
22:10
<@celticminstrel>
Anyway, the point is that the total play time is given as 27 minutes, and it definitely stopped playing after less than that.
22:10
<@celticminstrel>
Almost five minutes less.
22:11
< Pinkhair>
Some audio formats store length in metadata which might not match the actual contents
22:11
<&Derakon>
https://forum.videolan.org/viewtopic.php?t=109640
22:12
<&Derakon>
^ seems relevant to your issue.
22:12
<&Derakon>
Of course, not helpful in the slightest, beyond that someone else has the same problem.
22:12
<@celticminstrel>
Even if that's true, I don't think it would result in a difference of 5 minutes?
22:12
<@celticminstrel>
I dunno if it's relevant, but all these particular songs happen to be FLAC.
22:12
<&Derakon>
I am not a VLC expert, so I'm afraid I'm going to be zero help here beyond wielding Google-fu.
22:12
<@celticminstrel>
In ogg containers.
22:13
<@celticminstrel>
Since my Firefox is currently shut down, I'll check that a bit later once XCode's indexing is complete.
22:13
< Pinkhair>
Hrm, that's weird. I haven't used vlc in... almost a decade
22:13
< Pinkhair>
It feels weird saying that
22:13
<@celticminstrel>
Lucky you.
22:15
<&Derakon>
The URL I pasted basically says "Hey, I have <exact thing CM just complained about>, any ideas?" with no responses.
22:15
<@celticminstrel>
Ah.
22:15
<@celticminstrel>
Maybe I won't click later, then.
22:22
< Pinkhair>
yeah, all it is seems to be historical evidence that it isn't just you =P
22:24
<@celticminstrel>
I forget, is a name like _rect reserved for compiler use, or would only _Rect be reserved?
22:24
<@celticminstrel>
Well, compiler or standards.
22:24
<@celticminstrel>
C/C++
22:25
<&Derakon>
Doesn't the compiler mangle all names to avoid conflicts anyway?
22:25
<@celticminstrel>
That's not really the point.
22:25
<&Derakon>
Like your "_rect" would be mangled to "_5_rect" or something.
22:26
<@celticminstrel>
Names beginning with two underscores are reserved, and there's some rule about starting with one underscore too.
22:26
<@celticminstrel>
You can do it, but you might conflict with compiler-dependent internal variables or something.
22:26
<@celticminstrel>
Or standard library-dependent ones.
22:26
<@celticminstrel>
(Should be two hyphens there, I guess.)
23:42 himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Connection closed]
--- Log closed Wed Jul 20 00:00:30 2016
code logs -> 2016 -> Tue, 19 Jul 2016< code.20160718.log - code.20160720.log >

[ Latest log file ]