Posts: 783
Threads: 12
Joined: Jan 2014
Thanks: 2
Given 73 thank(s) in 61 post(s)
I think the raytracing vs vector math argument is pretty much mute as we need to do the ray tracing to see if the player can actually see the enderman.
Posts: 783
Threads: 12
Joined: Jan 2014
Thanks: 2
Given 73 thank(s) in 61 post(s)
derp. Yeah ray-sphere intersection is cheap, I got it confused with raytracing.
Posts: 952
Threads: 16
Joined: May 2013
Thanks: 66
Given 105 thank(s) in 89 post(s)
Programming question:
Everyone emphasises the importance of checking that the provided "length" of some received data is actually in tandem with the actual data sent. If we can verify this, why bother sending a length at all and just compute it locally if it is needed?
Thanks!
Posts: 6,485
Threads: 176
Joined: Jan 2012
Thanks: 131
Given 1074 thank(s) in 852 post(s)
I'm not quite sure what you're referring to, can you give an example?
Posts: 6,485
Threads: 176
Joined: Jan 2012
Thanks: 131
Given 1074 thank(s) in 852 post(s)
Oh, right. Yeah, that is one strange protocol design there, sending the length multiple times. Once would have been enough.
Posts: 783
Threads: 12
Joined: Jan 2014
Thanks: 2
Given 73 thank(s) in 61 post(s)
TLS is an internet standard. Its doing massively more than it was originally designed for with all changes to the standard backwards compatible with existing implementations as well as previous versions of the standard. Its the protocol equivalent of a fortran bank application.