IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-04-02 18:00:08
Channels: 41
Logged Lines: 6229042
Size: 1806.43 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-05-31
[01:27]<deeree>visual studio 2005 professional edition doesn't come with vss?
[01:28]<sdnffdxdlld>nope
[01:52]<zndy_wjfnz>How can I test if an object is disposed allready?
[01:53]<zj2-wzc>Remi_Woler: The author of the class needs to add support for a test property such as .IsDisposed, otherwise you can't
[01:53]<zndy_wjfnz>But, you could only find out if the property exists using a try{ } block, right?
[01:54]<zndy_wjfnz>cause if the object is allready disposed, the property isn't accessible either
[01:55]<wyfaj>no
[01:56]<wyfaj>Disposed doesnt mean it's collected by the GC
[01:57]<zndy_wjfnz>well, the app trowed an exception saying that the object was allready disposed, when I tried to call one of it's methods
[01:57]<wyfaj>that can happen yes, but that's the object itself which implements that behavior
[01:57]<wyfaj>usually these kind of objects have an IsDisposed-kind of property though
[01:58]<zndy_wjfnz>I solved it by calling the method somewhere else, but I'm going to see if it exists :)
[01:58]<zndy_wjfnz>wilco: you're right, it has
[01:59]<wyfaj>then you should be able to safely call it
[01:59]<wyfaj>no need to catch anything
[01:59]<zndy_wjfnz>you're right :) Just trying to learn something :)
[02:00]<zndy_wjfnz>just for my information: when does the GC actually kick in?
[02:00]<zndy_wjfnz>only when you close the app?
[02:00]<sdnffdxdlld>its happens under cirtain conditions ... theres lots of articles around on how it works
[02:01]<zndy_wjfnz>heh, nm then :)
[02:01]<sdnffdxdlld>its worth reading into so you have an idea of what goes on ... its always good to know whats hapopening behind the scenes and its not too complex
[02:02]<zndy_wjfnz>I know how it works. Was just wondering when it was activated.
[02:02]<sdnffdxdlld>is the object your checking for most likely to be generation 1, 2 or 3?
[02:03]<zndy_wjfnz>but tbh: one of the first things i needed to find out is to learn to develop with an active GC. I was so used to unset() a variable after using it
[02:03]<zndy_wjfnz>dunno. It's a form :)
[02:03]<sdnffdxdlld>righty off to bed now
[02:04]<sdnffdxdlld>cyall
[02:04]<zndy_wjfnz>night smellyhippy
[02:04]<zndy_wjfnz>i'm off too. Stealing smellyhippy's reason O:)
[02:26]<rnmrjsn>what are the benefits of learning C# as opposed to C, C++, java, ASP, or any language of the like?
[02:28]<kjr>ASP isn't a language
[02:30]<fjfygmzrvx>just learn them all
[02:30]<kjr>dude should learn how to stay online first...
[02:43]<lyl>GUIPenguin, hello
[02:43]<lyl>GUIPenguin, have you received my messages?
[02:50]<[txjd]>Has any ISV's in here had any luck with guru.com?
[02:50]<kjr>what, is guru.com another shitty rent-a-coder-alike site?
[03:01]<zndy_wjfnz|afk>What can be the problem if a class just doesn't see the namespace of another form?
[03:04]<zndy_wjfnz|afk>I have a class that handles all the mysql connections, so I can perform a query with 2 lines of code. I want to show a form from within that class, if the connection settings are not working. But it just won't see the formname class. Every other class does, except this one
[03:06]<zndy_wjfnz|afk>nm, forgot to define the namespace on the mysql class.
[03:08]<cpzzznff>anyone know how to use pointers to functions in c#...ie (*cmd_table[cmd].do_fun) ( ch, argument );
[03:11]<fjfygmzrvx>kfarrell: rewriting a mud?
[03:12]<cpzzznff>yup, eating an elephant, bit by bit *8)
[03:13]<fjfygmzrvx>heh, the way I did it (in Suroden, a C# mud hack at every once and a while) I made a generic Command class and made each of the commands (i.e. QuitCommand, etc) derive from that
[03:13]<fjfygmzrvx>then I did a list of all the commands and you do a lookup by the command verb
[03:13]<fjfygmzrvx>then just do cmd.Do(string args);
[03:14]<cpzzznff>lolindrath: ahh, nice
[03:15]<rnzrnf_->damn, takes me now already some hours just to read the whole rfc of ssl, though itīd take less time to understand/implement it
[03:16]<rnzrnf_->*thought
[03:18]<kjr>SSL itself is pretty simple
[03:18]<kjr>exchange your information, share a secret for symmetric, then start throwing out crypted packets
[03:19]<rnzrnf_->ofc, but if youīve never implemented such a protocol it takes some time to understand everything
[03:20]<rnzrnf_->and i didnīt know all the messages getting exchanged while communicating
[03:21]<fjfygmzrvx>Azrael_-: no code exists already to do this?
[03:21]<rnzrnf_->there exist lots of code but none suits completely my needs and without the necessary knowledge of the protocol itīs difficult to extend them
[03:22]<fjfygmzrvx>ah
[03:22]<rnzrnf_->so i try to learn it by implementing it on my own (also canīt be a that bad excercise :) )
[03:22]<kjr>what exactly are you doing with SSL that's so rough and tough?
[03:22]<rnzrnf_->nothing fancy, i just need dhe/dss-support and session resuming
[03:22]<kjr>there's probably a good reason session resuming doesn't exist as part of the spec... insecurity
[03:23]<kjr>dunno about the D/H exchange, I thought you could already do that
[03:23]<rnzrnf_->but unfortunately the rfc for ftps specifies it
[03:23]<kjr>SFTP? or FTPS?
[03:23]<rnzrnf_->ftps
[03:23]<kjr>bleh, FTPS is a piece of shit... use SFTP
[03:24]<rnzrnf_->iīm bound to ftps
[03:24]<kjr>find a new job ;)
[03:25]<rnzrnf_->itīs a hobby-job and i have to stick to established structures
[03:25]<rnzrnf_->btw: why is ftps a piece of shit?
[03:25]<kjr>because FTP is a piece of shit
[03:26]<rnzrnf_->ok, the definition is old, but it still does its job
[03:26]<kjr>no, FTP itself is a rather large piece of shit... FTPS just encrypts the packets
[03:28]<fjfygmzrvx>sftp opens an ssh connection and tunnels ftp through it, correct?
[03:28]<kjr>no
[03:28]<kjr>that's FTPS
[03:29]<kjr>SFTP is something entirely different
[03:29]<kjr>http://www.ietf.org/internet-drafts/draft-ietf-secsh-filexfer-12.txt is the working draft
[03:30]<zgzzcydjvgev>hi kog
[03:30]<kjr>sup AnarkiDotNET
[03:30]<kjr>AnarkiDotNET: how goeth the search?
[03:30]<zgzzcydjvgev>i've been visiting my dad for the last 4 days
[03:30]<zgzzcydjvgev>well, since friday
[03:30]<kjr>I see
[03:30]<zgzzcydjvgev>up on san juan island...so the search doesnt go
[03:31]<kjr>ok, I'm in Redmond right now... was down by Vashon (Southworth) yesterday
[03:31]<rnzrnf_->Kog: you work at microsoft?
[03:31]<zgzzcydjvgev>he said over the phone he could give me some money for this months rent...when i get up there it turns out he doesnt want to give me ANY money at all
[03:31]<zgzzcydjvgev>(asshole)
[03:31]<kjr>Azrael_-: there are other companies in Redmond
[03:32]<rnzrnf_->ok
[03:32]<[txjd]>McDonalds, Burger King, Domino's pizza
[03:32]<zgzzcydjvgev>lol
[03:32]<rnzrnf_->lol
[03:33]<kjr>[Thom]: says the guy talking about a shit-a-coder site
[03:33]<zgzzcydjvgev>i'm going out tomorrow to look for jobs, though
[03:33]<[txjd]>Take it easy McKog
[03:33]<[txjd]>I was just joking around.
[03:33]<zgzzcydjvgev>mckog lol :)







