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.60 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-05-31
[17:23]<ggyjzgx>personnaly, i won't ever run an iis :)
[17:24]<ggyjzgx>i'm not really a pro windows dude
[17:24]<rzrprrrywr>enioreh: What if you have to :) IIS sucks, I hate it, recently have to do an assignment with ASP.NET, and I hate it, enough with that.
[17:24]<rzrprrrywr>enioreh: But suppose you have to run it.
[17:24]<ggyjzgx>but what I say it that windows and Microsoft stuff can't be held only for bad things
[17:24]<rzrprrrywr>enioreh: How do you minimize the damage?
[17:24]<lcs>DragonD: maybe some string were the same
[17:24]<lcs>DragonD: and it packed them up :)
[17:25]<ggyjzgx>Arafangi1n: first : paranoid firewalling
[17:25]<dzrrjgd>pks: will arraylist do that or does the binarary formater do that?
[17:25]<rzrprrrywr>enioreh: It's common sense on unix and linux systems to put it into a chroot.
[17:25]<lcs>DragonD: dunno
[17:25]<lcs>DragonD: maybe both
[17:25]<ggyjzgx>but i don't know much about windows security
[17:25]<ggyjzgx>but there are probably ways to enforce security
[17:25]<sdnffdxdlld>Arafangi1n, you run the latest version of the OS and IIS, fully patched with good firewalls and security practices
[17:25]<lcs>DragonD: but, why do you care at the first place?
[17:25]<rzrprrrywr>smellyhippy: But teh application code REQUIRES IIS 5.1, what do you do?
[17:26]<ggyjzgx>is still iis 5.1 supported ?
[17:26]<dzrrjgd>pks: just exploring ways to transfer lists via tcp/ip.
[17:26]<sdnffdxdlld>either get the client to sign something to say they know that it has possible security issues and they are ok with it or make them upgrade
[17:26]<rzrprrrywr>enioreh: For as long as XP is, I would imagine so.
[17:26]<lcs>DragonD: ah
[17:26]<dzrrjgd>oh and store data in mysql.
[17:26]<ggyjzgx>if it is, patches should be available
[17:26]<lcs>DragonD: if you are talking about .net 2.0, then binary formater compresses them
[17:26]<rzrprrrywr>enioreh: There are two approaches to security.
[17:27]<dzrrjgd>pks: what does it use to compress?
[17:27]<rzrprrrywr>enioreh: (1) Keeping the bad guys out (2) Minimizing any damage if they still manage to get in
[17:27]<lcs>DragonD: dunno
[17:27]<rzrprrrywr>enioreh: Just (1) or (2) alone is not enough imho, both should be applied.
[17:28]<rzrprrrywr>Anyway, it's really late, and I'm in danger of becomming a Troll.
[17:28]<lcs>DragonD: but i've read somewhere that .net 2.0 offers better ways of serializing data into files then .net 1.0 (xml serialization only)
[17:28]<sdnffdxdlld>theres no danger of that ... its too late :P
[17:28]<rzrprrrywr>So G'night enioreh, smellyhippy and ColdFusion
[17:28]<sdnffdxdlld>cya dude :)
[17:28]<rzrprrrywr>smellyhippy: Ha!
[17:28]<cjfmfusyjg>gnite Arafangi1n
[17:28]<ggyjzgx>ahah :)
[17:28]<ggyjzgx>'night
[17:28]<lcs>DragonD: if you have .net 2.0 on the other end of the pipe, then you probably do not have consider how binary formater compresses stuff
[17:28]<ggyjzgx>going back to my outlook plugin
[17:29]<cjfmfusyjg>just out of curiosity, who of you do and does not listen to music while you work?
[17:29]<ggyjzgx>ColdFusion: it depends ...
[17:29]<ggyjzgx>i don't like it because i'm looking like the nerd in back of the room ...
[17:29]<cjfmfusyjg>lol
[17:30]<ggyjzgx>but as there's always noise .. it's the only way to work efficiently without being disturbed
[17:30]<afd>yo ColdFusion!
[17:30]<afd>hi enioreh and bbart!
[17:30]<cjfmfusyjg>yo AqD
[17:30]<ruyprrruyr>is it possible to pass vars between methods? such as int i = 10; in main() can be used in AnotherMethod() ?
[17:31]<ruyprrruyr>without having to define int i again
[17:31]<afd>yes?
[17:31]<afd>anonymous method you mean?
[17:31]<ruyprrruyr>not sure..first day coding, so im asking :P
[17:31]<lcs>GUIPenguin: pass it as argument
[17:31]<afd>i see
[17:32]<cjfmfusyjg>if you have the int declared outside of the method but in the class, everything in that class can access it
[17:32]<afd>pks: not necessarily
[17:32]<lcs>throw exception
[17:32]<lcs>p
[17:32]<lcs>;P
[17:32]<afd>GUIPenguin: wait a min
[17:32]<afd>i have forgot how to define a closure
[17:33]<ruyprrruyr>so if I define int i = 20; in main() { and then I call MyMethod(); } int i can be accessed from my method out side of main MyMethod() ?
[17:33]<lcs>ah, closures
[17:33]<cjfmfusyjg>GUIPenguin, no
[17:33]<lcs>GUIPenguin: no
[17:34]<cjfmfusyjg>GUIPenguin, define int in the class, not in any method, then simply set the value on it in main
[17:34]<afd>GUIPenguin: main() {int i; Del mycall = delegate() { // use the "i"}; }
[17:34]<lnvnzxu>only for anonymous delegates
[17:34]<cjfmfusyjg>GUIPenguin, this was ur first day of programming you siad?
[17:34]<ruyprrruyr>yes
[17:35]<cjfmfusyjg>AqD, doubt they're lerning delgates this early
[17:35]<afd>ColdFusion: they could learn it first :)
[17:35]<afd>closure could be used to construct objects
[17:35]<afd>with all the inheritance stuff
[17:36]<cjfmfusyjg>GUIPenguin, public class something { int i; ...main(){i=10} mymethod(){do soemthing with i}
[17:36]<ggyjzgx>GUIPenguin: you should read some basic stuff about programming, don't you think ? :)
[17:37]<ruyprrruyr>well..this is my first day doing C#..but I have dabbled in C a bit on unix...I work as my highschools student tech and thought I should start picking up a bit of programming, im reading O'reilly's C# book
[17:38]<cjfmfusyjg>What you are after is stimple GUIPenguin, just do as I said, declare the int in the class, not in the method, then everything in that class can reach it
[17:38]<ruyprrruyr>thanks
[17:38]<cjfmfusyjg>np
[17:39]<ruyprrruyr>sweet, that makes sense lol :) works
[17:39]<cjfmfusyjg>and know that a variable declared in a mehtod is only "active/alive" in that method
[17:39]<cjfmfusyjg>:)
[17:40]<ggyjzgx>variables declared in a method are only valid in the scope of the method : they are called local variables :)
[17:40]<cjfmfusyjg>ya
[17:41]<ggyjzgx>a scope is a part of code going from a { to a }
[17:41]<ruyprrruyr>so a var defined in a class, would that be called 'global' ?
[17:41]<ruyprrruyr>:P
[17:41]<ggyjzgx>there can be inner scopes in a function like the scope of a for loop
[17:41]<ggyjzgx>GUIPenguin: no, it's an instance variable
[17:41]<ggyjzgx>global variables are accessible from anywhere in a program
[17:42]<ggyjzgx>but that's a bad habbit
[17:42]<cjfmfusyjg>if you make it public int i; then it's global, not good :p private int i; and it's private inside that class, offcourse you can add a public int I{get{return i;}}so other classes can reach it
[17:43]<cjfmfusyjg>GUIPenguin, read about private,protected,public, internal
[17:43]<ggyjzgx>in oop, variables should always be hidden by methods to hide implementation and prevent users of the class to fuck class behavior
[17:43]<cjfmfusyjg>I agree
[17:43]<ruyprrruyr>well im not going to jump to far... although at the end of the summer I am hoping to write a windows app to authenticate to our school and library network managment and display a lit of abalible nodes....thanks for the help, I g2g







