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.43 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-08-08
[21:43]<awjzdd>how does it handle the raw socket bit?
[21:44]<znmnzz>someone has to listen better
[21:44]<znmnzz>he is not transmitting xml
[21:44]<znmnzz>as long as your use of xml is pretty low in overhead i guess no one would argue with you on that point
[21:44]<zgzzcygnv>System.Net.Sockets.Socket <--like that
[21:44]<mggvrf_ffjss>ahh. DayOfWeek.Saturday is much cleaner than DateTime.Now.DayOfWeek = 5.
[21:45]<azyfm>what'd be the point in *setting* the DayOfWeek on a DateTime.Now?
[21:45]<awjzdd>Arild: its tuesday.
[21:45]<mggvrf_ffjss>comparason. DateTime.Now.DayOfWeek == 5. my mistake.
[21:46]<pz2>the first one was Visual basic
[21:46]<awjzdd>lol
[21:46]<vyzusdjvnev>im backies :D
[21:46]<pz2>if x = 1 then x = 2
[21:47]<pz2>perfectly valid visual basic code :/
[21:47]<awjzdd>sadly.
[21:47]<zgzzcygnv>funny how everyone seems to have gone silent now that is 100% clear i'm not transmitting xml
[21:47]<awjzdd>thats why vb programmers are always confused.
[21:47]<rxrcr>AnarkiNet, I was silent before too
[21:47]<vyzusdjvnev>wouldn't that be the same as ?:
[21:47]<azyfm>so what kind of XMl are you transmitting?
[21:47]<pz2>AnarkiNet: you still get no cookie
[21:47]<awjzdd>lollllll
[21:47]<vyzusdjvnev>do i :D
[21:47]<zgzzcygnv>Arild, like this:
[21:48]<zgzzcygnv><stfu><please /></stfu>
[21:48]<vyzusdjvnev>lol
[21:48]<azyfm>so stfu is the document element then?
[21:48]<zgzzcygnv>yes
[21:49]<azyfm>Is there an xsd for this schema?
[21:49]<pz2>AnarkiNet: does it make coffee?
[21:50]<zgzzcygnv>no but if coffee is a .NET type it'll fling it across the internet for someone else to enjoy.
[21:50]<awjzdd>there is some thing undermy desk that is right there where my knee goes
[21:50]<awjzdd>and i slam my knee into it al lthe time
[21:50]<awjzdd>and it makes me love working.. everytime.
[21:50]<awjzdd></sarcasm>
[21:51]<cjmgrug>heh
[21:51]<pz2>jwormy: get an intern to sit there so you knee him instead
[21:51]<cjmgrug>its fun, when you bang your toe against the foot of your bed(or some other piece of furniture) too.
[21:52]<azyfm>Monica Lewinsky might be interested in the job
[21:53]<awjzdd>Arild: no presidential penis here.
[21:54]<zgzzcygnv>so
[21:54]<zgzzcygnv>an example (example, unfinished, not completed, stfu if it looks wierd) http://nwiki.org/tempest/files/tempest.xml
[21:55]<zgzzcygnv>that is the packet structure definition document
[21:55]<cjmgrug>hmm..
[21:55]<cjmgrug>nice.
[21:56]<zgzzcygnv>so in code, you do something like:
[21:56]<awjzdd>why do some types have a mode.
[21:56]<awjzdd>and others dont?
[21:57]<zgzzcygnv>i was experimenting with short and long type names
[21:57]<zgzzcygnv>long names being the full thing with the PublicKeyToken bit and all that stuff
[21:57]<zgzzcygnv>short names being just the "System.String" stuff
[21:57]<zgzzcygnv>Packet MyTransmission = new Packet(SchemaManager.GetPacketSchema("Messaging", "DirectMessage"));
[21:58]<zgzzcygnv>then
[21:58]<zgzzcygnv>MyTransmission["Contents"].Store("This is my message");
[21:58]<zgzzcygnv>PacketExchanger.Send(MyTransmission);
[21:58]<zgzzcygnv>and you're done
[22:03]<cjmgrug>sounds cool.
[22:04]<zgzzcygnv>PacketExchanger is a static class, so is SchemaManager
[22:21]<jnpys>int miss; int all; action: int ret = ((miss/all)*100) ; why ret is allways 0?
[22:22]<jnpys>oh
[22:22]<jnpys>let's say miss = 199
[22:22]<jnpys>all=899
[22:23]<sz2yzgrzzsx>(miss/all) is returning an int
[22:24]<jnpys>which is 0
[22:24]<jcynsdjcyn>Because the decimal gets truncated?
[22:24]<jnpys>maybe ;)
[22:25]<sz2yzgrzzsx>cause an int does not store decimals
[22:25]<sz2yzgrzzsx>so therefore its 0 * 100
[22:25]<sz2yzgrzzsx>which is 0
[22:26]<sz2yzgrzzsx>use double or float
[22:26]<jnpys>o decimal
[22:28]<sz2yzgrzzsx>right
[22:34]<zj2-wzc>Anyone else read TheDailyWTF? today's is great
[22:35]<jdvgdjgcgd>i read the wtf all the time
[22:35]<jdvgdjgcgd>its great
[22:36]<-- dvxn|syzzzyus xzs>http://www.bagdadsoftware.de")
[22:37]<mjzymygo>rob-wrk: thats the situ that my professional world revolves around
[22:37]<mjzymygo>rob-wrk: I do project repair
[22:37]<nvzzfzsv>Moridin8: how did you get into that line of work?
[22:38]<mjzymygo>evarlast: by being good
[22:38]<zj2-wzc>"project repair" ;) I like that.
[22:38]<nvzzfzsv>Moridin8: I'm really good.
[22:38]<mjzymygo>rob-wrk: actually it's total ball ache and it doesn't make friends in the team who's project your fixing
[22:38]<mjzymygo>but it pays well ;)
[22:39]<mjzymygo>in fact i got so fed up with it, that my next contract is a greenfield project...
[22:39]<zj2-wzc>evarlast: It usually happens when you fix some stuff, then people ask you to fix more stuff, then you get a reputation as being one of the people that can make broken stuff work.
[22:39]<mjzymygo>I finish this contract on friday officially
[22:39]<nvzzfzsv>Moridin8: independant, or are you with a company
[22:39]<mjzymygo>evarlast: independant contractor
[22:39]<nvzzfzsv>man, I wish I could do that. I just don't feel like i have the contacts to get steady work.
[22:40]<mjzymygo>evarlast: where are you in the world?
[22:41]<nvzzfzsv>AnnArbor, MI
[22:41]<mjzymygo>ah... I'm in the UK
[22:41]<jdvgdjgcgd>michigan sucks
[22:41]<jdvgdjgcgd>cold and dreary and everything is rusted
[22:41]<mjzymygo>I don't know what the contractor market is like in the states
[22:41]<mjzymygo>Jivemonkey: hehe... I'm moving to Wisconsin next year
[22:41]<jdvgdjgcgd>not much better







