IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1822.39 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-09-02
[03:36]<fzzrjs>Fr3DBr: I'm not sure
[03:37]<fzzrjs>Fr3DBr: I don't know tcp/ip that well
[03:37]<fzzrjs>Fr3DBr: but you should assume any size of message
[03:49]<jusvygc>handling arbitrary sizes shouldn't really be a problem
[03:50]<jusvygc>right? you can just allocate what you need
[03:50]<jusvygc>I mean, it's not like your protocol is going to be sending 10 M messages is it?
[03:55]<zyjvnz>Fr3DBr what does mtu stand for :P
[03:55]<fz1dbz>Max Transfer Unit
[03:55]<zyjvnz>exactly :P so of course you cant send a packet larger than that :P
[03:55]<fz1dbz>i know
[03:55]<fz1dbz>but
[03:56]<fz1dbz>the max size of block will be the mtu
[03:56]<fz1dbz>right?
[03:56]<fz1dbz>if i send for example 3000 bytes
[03:56]<fz1dbz>and mtu is 1500
[03:56]<fz1dbz>it will send 2 blocks of 1500 ?
[03:56]<zyjvnz>um, no because remeber you have headers etc
[03:56]<fz1dbz>yea
[03:56]<fz1dbz>almost that tho.
[03:57]<zyjvnz>?
[03:57]<fzzrjs>it *could* send much smaller packets than the mtu, couldn't it?
[03:57]<zyjvnz>yes
[03:58]<fz1dbz>i see.
[03:58]<fzzrjs>so expect anything between 3000 and 3 packets :)
[03:58]<fz1dbz>smaller yes
[03:58]<fz1dbz>largos yup
[03:58]<fz1dbz>but
[03:58]<fz1dbz>i only have the problem
[03:58]<fz1dbz>with larger chuncks of data
[03:58]<fz1dbz>not small packets
[03:58]<fz1dbz>lol
[03:59]<fz1dbz>but
[03:59]<fzzrjs>the key there is that *you* only have the proble with large chunks
[03:59]<fz1dbz>i already Wrote a Logic Myself
[03:59]<fz1dbz>If the data i received is what i expected... i will just use it the way i want.
[03:59]<fzzrjs>you have no idea what "large" will mean on another maachine
[03:59]<fz1dbz>if the data has more than what i expected
[03:59]<zyjvnz>Fr3DBr your sending the data arnt you?
[03:59]<fz1dbz>ill cache the excess and i will wait for the next recv
[03:59]<fz1dbz>to merge both streams
[03:59]<fz1dbz>and find my entire message
[03:59]<fzzrjs>cool
[04:00]<fz1dbz>if there is still any reaming data i will just loop through this code
[04:00]<fz1dbz>until i finish merging the streams
[04:00]<fz1dbz>i was just writting in a paper... it should work :p
[04:00]<txnjzd>did I cough and say remoting recently? :-)
[04:00]<zyjvnz>remoting bad
[04:00]<fz1dbz>reaming = remaining data :p
[04:01]<txnjzd>remoting easier than rolling your own
[04:01]<zyjvnz>thats the Theory, pun intended
[05:22]<sxrmmr>I will never understand the concept of vectors in directx
[05:23]<zgzzcygnv>a vector is an angle and a magnitude
[05:24]<zgzzcygnv>in direct3d it probably means two angles
[05:25]<zgzzcygnv>XY and YZ
[05:25]<vufvuzn>more likely just a coordinate in 3-space
[05:25]<zgzzcygnv>er
[05:25]<zgzzcygnv>that would be a point :)
[05:26]<zgzzcygnv>vector is an angle + magnitude (distance) from a specific point
[05:26]<vufvuzn>not necessarily
[05:26]<vufvuzn>just different representations of the same data
[05:27]<vufvuzn>45 degrees, magnitude of sqrt 2 is the same as 1,1 - you could think of the latter as the addition of two unit vectors if you wanted.. *shrugs*
[05:27]<zgzzcygnv>eg vector from (0, 0) to (2, 2) is going to have an angle of 45 degrees and a magnitude of (sqrt(2) * 2)
[05:27]<vufvuzn>which is equally well written/represented as (2,2)
[05:27]<vufvuzn>I can point to a myriad of examples where mathematical vectors are represented as coordinates rather than angle/magnitude
[05:27]<zgzzcygnv>unless you're talking about 3d graphics
[05:27]<vufvuzn>they're equivalent representations
[05:27]<zgzzcygnv>maybe in math
[05:28]<vufvuzn>in maths & computer graphics
[05:28]<vufvuzn>and many other things
[05:28]<zgzzcygnv>but the trajectory of a bullet trace can't be represented as a specific point
[05:28]<vufvuzn>there's nothing in the definition of a "vector" that limits it to an angle/magnitude representation
[05:28]<vufvuzn>no, I'm not talking about a point
[05:38]<cjmgrug>morning fellas!
[05:46]<afd>morning
[05:47]<cjmgrug>sup AqD
[05:48]<jdvgdjgcgd>http://mesiab.com/jivecam
[05:49]<jdvgdjgcgd>for sexy lady want cyber
[05:50]<mrsrmm>wtf
[05:51]<jdvgdjgcgd>haha, gay
[05:51]<mrsrmm>F U
[05:51]<jdvgdjgcgd>hahah!
[05:52]<mrsrmm>i missundersood.... :|
[05:52]<cjmgrug>:o
[05:52]<mrsrmm>t
[05:52]<txnjzd>cool, a boat
[05:52]<zgzzcygnv>wtf
[05:52]<zgzzcygnv>your computer is in the garage?
[05:52]<jdvgdjgcgd>i'm on the laptop
[05:52]<jdvgdjgcgd>cuz i smoke out here
[05:53]<jdvgdjgcgd>sailboat even
[05:53]<txnjzd>what class is it?
[05:53]<jdvgdjgcgd>laser class
[05:54]<txnjzd>fun :-)
[05:54]<jdvgdjgcgd>i have a catamaran too
[05:54]<jdvgdjgcgd>25ft mast
[05:54]<txnjzd>I've not got out on the water enough this summer :-(
[05:54]<jdvgdjgcgd>me either, too much work
[05:55]<jdvgdjgcgd>what do you sail?
[05:55]<txnjzd>used to sail a modified Merlin Rocket
[05:55]<txnjzd>this summer been taking out a GP14







