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.63 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-05-19
[10:48]<vxznrm_>no
[10:48]<lcs>just tt get the list of all objects in the class...
[10:48]<vxznrm_>nothing besides your newobj.foo = this.foo; and so on
[10:48]<lcs>uh
[10:48]<lcs>it sucks then :P
[10:53]<dzrrjgd>how do you use code snippets in vs2005?
[11:01]<dzrrjgd>static public Settings LoadFromFile(string file, out bool loaded) how can i make "loaded" optional?
[11:02]<vxznrm_>make an overload without loaded
[11:02]<vxznrm_>you havent optional in c#
[11:03]<dzrrjgd>ok
[11:03]<vxznrm_>only method overloading
[11:03]<ggmzr>im goin to bed, later
[11:03]<vxznrm_>nn
[11:13]<zzcn>hi
[11:16]<dzrrjgd>need new bateriers for keyboard!!!
[11:16]<dzrrjgd>so hard to type
[11:29]<mrrrr`>http://groups.google.com.au/group/microsoft.public.dotnet.framework/browse_thread/thread/db2d2b5839070fa
[11:33]<zyccus>Macca`: I'm guessing you can work out what DateTime(1, 1, 1) is when FoxPro's date is 0, and then just work relative to that?
[11:33]<zyccus>boci^: yes, someone made one...
[11:34]<zyccus>http://blogs.msdn.com/jmstall/archive/2005/02/06/368192.aspx
[11:39]<zyccus>Macca`: http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/dnarfoxgen/html/vfpy2k.asp
[11:40]<zyccus>boci^: just a sec, I'm asking a friend who's compiled on his PDA...
[11:42]<zyccus>he didn't use that... apparently it didn't do reflection.emit
[11:45]<zyccus>http://pocketgcc.sourceforge.net/pcsharp/
[11:45]<lcs>lol, manager on one of our branches, told me that they are periodicaly loosing internet access, and that rebooting of the router usualy helps, sometimes they have to reboot it twice
[11:46]<zyccus>I looked for 'pocket pc#'
[11:46]<zyccus>but google just gave me anything about 'pocket pc'
[11:46]<zyccus>so I searched for 'pocket pcsharp' - that worked :)
[11:47]<lcs>i logged in into the server and started looking at logs, but there was nothing suspecious, after two days... i solved the problem... the nic cable was faulty, and when they rebooted the server, they moved the cable, and internet was working once again ;p
[11:49]<zyccus>sounds typical
[11:50]<zyccus>boci^: http://groups.yahoo.com/group/pcsharp/?yguid=217118808
[11:51]<lcs>rikkus: depends
[11:51]<lcs>rikkus: usualy i manage so see such problems instantly
[11:52]<lcs>s/so/to/
[11:52]<lcs>this time i was checking stupid pppoa connection settings, and not looking at the rest ;p
[11:52]<lcs>that concluds that pppoa sucks :P
[11:54]<mrrrr`>rikkus... foxpro's date when it's 0 is 1/1/4712BC ... not 1/1/0001AD
[11:54]<mrrrr`>DateTime(1, 1, 1) == 1/1/0001AD
[11:55]<zyccus>Macca`: I meant the other way around... work out what FoxPro's date is at 1/1/1
[11:55]<mrrrr`>ahh k
[11:55]<zyccus>Macca`: then try working relative to that
[11:55]<mrrrr`>good idea
[11:55]<zyccus>should be fine then - any leap days, calendar change weirdness etc. will then be handled by DateTime
[12:04]<dzrrjgd>where could i get some information or wave data processing?
[12:05]<dzrrjgd>like how to mix it stuff
[12:07]<mrrrr`>haha rikkus, you are a genius.
[12:13]<mrrrr`>anyone wanting to read .dbf files?
[12:13]<mrrrr`>http://macca.pastebin.com/726207
[13:08]<z0>hi there
[13:09]<z0>is there a standard byte order for .NET ?
[13:09]<z0>in intel machine it seems to be little endian, but is it the same in all machines by specification?
[13:10]<z0>(like java = big endian)
[13:10]<lcs>does windows run on big endian machines? :P
[13:10]<z0>err... nope, but .net does
[13:10]<z0>(i presume itanium is little endian?)
[13:10]<lcs>i think, that you can run .net only on windows (not counting mono)
[13:11]<z0>mono/.net does run on big endian machines
[13:13]<z0>apparently it's not specified... but mono converts byte order on big-endian machines
[13:14]<z0>so it's little endian in practice, I presume
[14:06]<afamcs>could you please help with .net channels?
[14:07]<afamcs>in addition to this
[15:03]<-- svgvsdyzgjvr_ xrs>/dev/null")
[15:37]<svzz[wjzc]>hey guys i don't know what to search i'm trying to make a "variable" parameter list... not an overload... like void MyFunct(Name, Param1, Param2, Param3...) undetermined number of params
[15:38]<afamcs>like String.Format?
[15:38]<svzz[wjzc]>huh... not sure, but like a sprintf would do
[15:39]<afamcs>http://blogs.msdn.com/csharpfaq/archive/2004/05/13/131493.aspx
[15:39]<svzz[wjzc]>bingo! :D
[15:39]<svzz[wjzc]>thanks!
[15:41]<afamcs>what is bingo?
[15:43]<svzz[wjzc]>hum... an expression that means "Yeah that's exactly what i've been looking for"
[15:43]<zyccus>House!
[15:43]<afamcs>:-)
[15:43]<svzz[wjzc]>AFAMCS may i ask, did you google to find this, and which keywords did you use?
[15:43]<afamcs>tnx
[15:44]<afamcs>http://www.google.com/search?sourceid=navclient&ie=UTF-8&rls=GGLG,GGLG:2006-09,GGLG:en&q=c%23+variable+parameters+list
[15:44]<afamcs>the 5th link
[15:45]<svzz[wjzc]>oh well, guess i was just unlucky with my searches :(
[15:45]<svzz[wjzc]>thank you!
[15:59]<g0vrrrygn>if i do a .Split(';') on this string -> one;two; does that mean the array will have 3 items?
[16:02]<gjwna|>N0vacaine: 3. but how long would it have taken you to test it yourself?
[16:02]<gjwna|>N0vacaine: Console.Write(("one;two;").Split(';').Length);
[16:03]<g0vrrrygn>argh
[16:03]<g0vrrrygn>nowec|, ure right
[16:03]<g0vrrrygn>i just wasnt thinking straight
[16:03]<afamcs>2, if StringSplitOptions.RemoveEmptyEntries as second parameter
[16:03]<g0vrrrygn>but also i was getting some strange behaviour
[16:03]<gjwna|>N0vacaine, if it is a problem, just run .Trim(';') on it
[16:03]<afamcs>3 otherwise
[16:04]<g0vrrrygn>AFAMCS, that is exactly what i need to do
[16:04]<g0vrrrygn>im using a loop to add keywords and semi-colons to a string
[16:05]<g0vrrrygn>and i just realised that if i try split one;two; it gives me 3, so i get some weird behaviour because of that
[16:05]<lyfuym-wjzc>N0vacaine: :D
[16:05]<g0vrrrygn>i was gonna modify the loop to add the semi-colon at the front of the keyword, unless its the very first keyword, but the .REmoveEmptyEntries is a much better solution
[16:05]<g0vrrrygn>sup Liquid-Work, hows the new laptop eh?
[16:06]<gjwna|>AFAMCS: where do you add StringSplitOptions.RemoveEmptyEntries as a second parameter? (.net 1.1)
[16:08]<g0vrrrygn>hmm, interesting
[16:08]<g0vrrrygn>this is how it looks in 2.0 : theCandidateObject.Languages.Split(';', StringSplitOptions.RemoveEmptyEntries);
[16:11]<gjwna|>then I guess it's a 2.0 feature







