code logs -> 2020 -> Wed, 28 Oct 2020< code.20201027.log - code.20201029.log >
--- Log opened Wed Oct 28 00:00:26 2020
00:42 Pink [uid208117@Nightstar-h2b233.irccloud.com] has joined #code
00:44 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed]
02:49 Degi [Degi@Nightstar-u4quho.pool.telefonica.de] has quit [Ping timeout: 121 seconds]
02:51 Degi [Degi@Nightstar-23b82l.pool.telefonica.de] has joined #code
04:12 Pink [uid208117@Nightstar-h2b233.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity]
04:16 VirusJTG_ [VirusJTG@Nightstar-42s.jso.104.208.IP] has quit [Connection closed]
04:17 VirusJTG_ [VirusJTG@Nightstar-42s.jso.104.208.IP] has joined #code
04:30 Kindamoody[zZz] [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has quit [Ping timeout: 121 seconds]
04:31 Kindamoody[zZz] [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has joined #code
04:31 mode/#code [+o Kindamoody[zZz]] by ChanServ
05:04 Pink [uid208117@Nightstar-h2b233.irccloud.com] has joined #code
05:06 Kindamoody[zZz] [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has quit [Ping timeout: 121 seconds]
05:07 Kindamoody[zZz] [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has joined #code
05:07 mode/#code [+o Kindamoody[zZz]] by ChanServ
05:20 Kindamoody[zZz] [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has quit [Ping timeout: 121 seconds]
05:32 Kindamoody[zZz] [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has joined #code
05:32 mode/#code [+o Kindamoody[zZz]] by ChanServ
05:51 Kindamoody[zZz] [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has quit [Ping timeout: 121 seconds]
05:52 Kindamoody[zZz] [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has joined #code
05:52 mode/#code [+o Kindamoody[zZz]] by ChanServ
06:04 Kindamoody[zZz] [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has quit [Ping timeout: 121 seconds]
06:10 Kindamoody[zZz] [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has joined #code
06:10 mode/#code [+o Kindamoody[zZz]] by ChanServ
06:26 Kindamoody[zZz] [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has quit [Ping timeout: 121 seconds]
06:26 Kindamoody[zZz] [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has joined #code
06:26 mode/#code [+o Kindamoody[zZz]] by ChanServ
06:31 celticminstrel [celticminst@Nightstar-r1cum5.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
07:13 Kindamoody[zZz] [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has quit [Ping timeout: 121 seconds]
07:14 Kindamoody[zZz] [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has joined #code
07:14 mode/#code [+o Kindamoody[zZz]] by ChanServ
08:11
< Yossarian>
representing 3d space with octtrees?
08:13 Kindamoody[zZz] [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has quit [Ping timeout: 121 seconds]
08:14
< Yossarian>
http://www.gameaipro.com/GameAIPro3/GameAIPro3_Chapter21_3D_Flight_Navigation_Using_Sparse_Voxel_Octrees.pdf
08:16 Netsplit Deepthought.Nightstar.Net <-> Krikkit.Nightstar.Net quits: craftxbox, @ToxicFrog, @gnolam, tripflag, @mac, @ErikMesoy, Mahal, jerith_, @abudhabi, @sshine, (+12 more, use /NETSPLIT to show all of them)
08:24 Netsplit over, joins: Syloq
08:26 Kimo|autojoin [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has joined #code
08:34 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code
08:34 tripflag [ed@Nightstar-7pe1df.clients.your-server.de] has joined #code
08:34 gnolam [lenin@Nightstar-ik80lk.priv.bahnhof.se] has joined #code
08:34 jeroud [sid10043@Nightstar-h2b233.irccloud.com] has joined #code
08:34 Kizor [moryok@Nightstar-e0a4sm.utu.fi] has joined #code
08:34 abudhabi [abudhabi@Nightstar-7nkq9k.de] has joined #code
08:34 Yossarian [soryu@Nightstar-d7h8ki.org] has joined #code
08:34 iospace [quassel@Nightstar-50v6q2.members.linode.com] has joined #code
08:34 craftxbox [craftxbox@Nightstar-dltca9.ninja] has joined #code
08:34 [R] [rstamer@genoce.org] has joined #code
08:34 ErikMesoy [Bruker@Nightstar-5d8uau.bb.online.no] has joined #code
08:34 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
08:34 Pink [uid208117@Nightstar-h2b233.irccloud.com] has joined #code
08:34 Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has joined #code
08:34 sshine [simon@Nightstar-3bh0ea.eta.solutions] has joined #code
08:34 Reiver [quassel@Nightstar-ksqup0.co.uk] has joined #code
08:34 jerith_ [jerith@Nightstar-ip7ar2.slipgate.net] has joined #code
08:34 himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code
08:34 mac [macdjord@Nightstar-re5.7if.45.45.IP] has joined #code
08:34 Mahal [sid171286@Nightstar-0bi4dv.irccloud.com] has joined #code
08:34 bluefoxx_ [fuzzylombax@Nightstar-gmbj85.vs.shawcable.net] has joined #code
08:34 ServerMode/#code [+aooaoooaoooooo ToxicFrog ToxicFrog gnolam jeroud jeroud abudhabi iospace [R] [R] ErikMesoy Reiv sshine himi mac] by *.Nightstar.Net
08:35 Kimo|autojoin [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has quit [Ping timeout: 121 seconds]
08:42 Kimo|autojoin [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has joined #code
09:04 PinkFreud [WhyNot@NetworkAdministrator.Nightstar.Net] has joined #code
09:04 ServerMode/#code [+o PinkFreud] by *.Nightstar.Net
09:04 mode/#code [+o Syloq] by ChanServ
09:06 Kimo|autojoin [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has quit [Ping timeout: 121 seconds]
09:09 Kimo|autojoin [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has joined #code
09:10 mode/#code [+o Kimo|autojoin] by ChanServ
09:15 Kimo|autojoin [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has quit [Connection reset by peer]
09:16 KiMo|autorejoin [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has joined #code
09:31
<@ErikMesoy>
Yossarian: I do not have a similar book to hand on game engine creation, but I have dabbled quite a bit myself. A lot of it is the usual object-oriented-programming stuff but scaled up to much larger objects that have many more functions for interacting with each other. But there's also so much variety it's hard for me to generalize usefully.
09:33
<@ErikMesoy>
I'm not familiar with the X series, but looking at it, I imagine there's a lot of standard actor templates in the code proper, and then a domain scripting language on top for operating with high-level entities.
09:38
<@ErikMesoy>
This may or may not be integrated into the usual Model-View-Control or Model-Interface whatever other kind of code separation you like to use.
09:44 catalyst [catalyst@Nightstar-v6lb30.cable.virginm.net] has quit [[NS] Quit: -a- Connection Timed Out]
09:48 catalyst [catalyst@Nightstar-p88uga.dab.02.net] has joined #code
09:48 catalyst_ [catalyst@Nightstar-v6lb30.cable.virginm.net] has joined #code
09:51 catalyst [catalyst@Nightstar-p88uga.dab.02.net] has quit [Connection reset by peer]
09:54 catalyst [catalyst@Nightstar-v6lb30.cable.virginm.net] has joined #code
09:54 catalyst_ [catalyst@Nightstar-v6lb30.cable.virginm.net] has quit [Connection reset by peer]
10:43 Pink [uid208117@Nightstar-h2b233.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity]
10:58 VirusJTG_ [VirusJTG@Nightstar-42s.jso.104.208.IP] has quit [[NS] Quit: Leaving]
10:59 VirusJTG [VirusJTG@Nightstar-42s.jso.104.208.IP] has joined #code
10:59 mode/#code [+ao VirusJTG VirusJTG] by ChanServ
12:40 celticminstrel [celticminst@Nightstar-r1cum5.dsl.bell.ca] has joined #code
12:40 mode/#code [+o celticminstrel] by ChanServ
15:09
< catalyst>
"someone asks... 'do we need to use volatile?'. No. That was easy. Please do not use volatile for anything ever"
15:09
< catalyst>
(Arthur O'Dwyer in his concurrency talk from CppCon 2020)
15:32
< Vornicus>
ugh. Okay I need a better structure for this. i have a bunch of methods I want private which means testing them "externally" is hard, I have a bunch of metaprogramming that's happening behind the scenes and that needs testing... guh.
15:33
< Vornicus>
like I get it, you're doing this stuff to get performance, but like ... wow it makes it hard to make sure it's right
15:33
<@TheWatcher>
catalyst: That's an interesting position, I wonder what his solution for memory mapped peripheral registers in embedded systems is >.>
15:40 Pink [uid208117@Nightstar-h2b233.irccloud.com] has joined #code
16:01
< catalyst>
this was in the context of a beginner's guide to concurrency :)
16:01
< catalyst>
I think if you're essentially writing drivers you probably have a more nuanced view
16:13 KiMo|autorejoin is now known as Kindamoody
16:13 mode/#code [+o Kindamoody] by ChanServ
17:05 Emmy [Emmy@Nightstar-l49opt.fixed.kpn.net] has joined #code
17:18
<@TheWatcher>
catalyst: aaaah, right. Yeah, in that case, fair enough.
17:50 Pink [uid208117@Nightstar-h2b233.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity]
18:12
<&McMartin>
Well, more to the point
18:12
<&McMartin>
The thing TW describes is essentially the only correct use case for volatile
18:12
<&McMartin>
So the nuanced version of the question is "is that memory location directly mapped to hardware I/O? No, no it is not. Thus: do not use volatile."
18:13
<&McMartin>
There's a certain breed of systems programmer that thinks that "have the asm re-issue a memory load" actually helps in the absense of synchronization operations
18:13
<&McMartin>
Sadly, NUMA has been a thing for a while, and caches have been a thing for a very long time indeed :)
18:37
< Vornicus>
O-ZONE has entered the chat
18:38 * McMartin erects a read barrier
19:21
< Reiver>
Y'know
19:21
< Reiver>
As a guide-to-newbies, having the answer to "Oh hey, what's this tool do? When should I use it?" be "Don't." is not a bad starting point
19:22
<&McMartin>
Yeah, but the problem is that bright newbies often like to ask the extremely good question "why does this feature exist?"
19:23
<&McMartin>
And volatile is particularly nasty on this because "what does this tool do?", when answered in the way that the standard specifies and in the way that can be read out of disassemblies (bright newbies get aggressive) turns out to be dangerously misleading!
19:24
< Reiver>
aha, yes
19:24
<&McMartin>
tbh I haven't properly mastered the state of the art in that domain where one used to be able to fake with volatile.
19:24
<&McMartin>
to be even more honest, the correct answer to newbies is not merely "don't use volatile" but also "don't use multithreading"
19:27
< Reiver>
legit
19:28
<&McMartin>
I'd like to also say "and also don't use asynchronous callbacks" but it turns out that, much like how volatile used to be a jury-rigged solution that worked for this stuff, the surrounding environment of a newbie programmer is a lot more complicated than it was in the mid-1980s~
19:45
< Reiver>
I believe it
19:46
< Reiver>
I am increasingly sympathetic to video games that manage to multi-thread in precisely one place: Offloading AI to a different core and then letting it make decisions and respond like an actual player
19:46 Emmy [Emmy@Nightstar-l49opt.fixed.kpn.net] has quit [Connection closed]
19:46
< Reiver>
(After all, it's fiiiiiine, players have input lag too, right?)
19:46 Emmy [Emmy@Nightstar-l49opt.fixed.kpn.net] has joined #code
20:35 Pink [uid208117@Nightstar-h2b233.irccloud.com] has joined #code
21:24 bluefoxx_ [fuzzylombax@Nightstar-gmbj85.vs.shawcable.net] has quit [Connection closed]
21:24 bluefoxx [fuzzylombax@Nightstar-gmbj85.vs.shawcable.net] has joined #code
22:02 catalyst [catalyst@Nightstar-v6lb30.cable.virginm.net] has quit [[NS] Quit: -a- Connection Timed Out]
22:02 catalyst [catalyst@Nightstar-v6lb30.cable.virginm.net] has joined #code
23:14 Emmy [Emmy@Nightstar-l49opt.fixed.kpn.net] has quit [Ping timeout: 121 seconds]
23:37 Kindamoody is now known as Kindamoody[zZz]
23:45 bluefoxx [fuzzylombax@Nightstar-gmbj85.vs.shawcable.net] has quit [[NS] Quit: bust]
--- Log closed Thu Oct 29 00:00:27 2020
code logs -> 2020 -> Wed, 28 Oct 2020< code.20201027.log - code.20201029.log >

[ Latest log file ]