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.19 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-06-14
[01:48]<`d0>but it does work
[01:48]<y-gz>NULL sould be
[01:48]<y-gz>IntPtr.Zero
[01:49]<y-gz>public const IntPtr HD_DEFAULT_DEVICE = IntPtr.Zero;
[01:53]<vynvyv>+vulture: oh i see what you're talking about
[01:56]<vufvuzn>+tieTYT: and what's that? :)
[01:56]<vynvyv>+i thought that having a method signature with ref on it would prevent nulls being passed in
[01:57]<vynvyv>+but all it enforces is that the reference is set to something before being passed in
[01:57]<vufvuzn>+I'm suprised you can pass an uninitialized value anywhere.. ref or otherwise.
[01:57]<vynvyv>+well sometimes you can have flow control based on that
[01:58]<mrfjrrg_>+If I wanted to put a form under the menu, and then use the space underneath that as the MDI client area, how would I go about doing that? I'm not finding a way to alter the clientsize or set any properties, or link windows in a docked fashion above the client area
[01:58]<vynvyv>+my coworker walked by and said something interesting
[01:58]<vynvyv>+and that was that in .net you can make every instance variable public until you have a need to make property methods for it
[01:59]<vynvyv>+at which point, you rename the public variable to _x and create a property: public XType x { ... }
[01:59]<vynvyv>+anything wrong with this? Do people usually do it? Will this logic break the coding convention?
[02:00]<y-gz>-why ?
[02:00]<vynvyv>+?
[02:01]<vufvuzn>+tieTYT: I assume it would break at the assembly level - so you'd have source compatability with that change, but not binary compatability
[02:01]<y-gz>-if you don't really care about the value to set :)
[02:01]<vynvyv>+vulture: that's what i thought! But he said it would be retarded if it worked that way
[02:01]<y-gz>-wait wait wait
[02:01]<vufvuzn>+(and of course if you wanted to restrict to read or write-only, you could break some source uses as well)
[02:01]<y-gz>-public int BananasCount;
[02:01]<vynvyv>+vulture: yep
[02:01]<vufvuzn>+tieTYT: Easy enough to test, and you might just be able to show him that it is 'retarded'.
[02:03]<vynvyv>+:T i've gotta figure out how to compile into something that another project can use
[02:03]<vufvuzn>+Managed Library, or somesuch thing.
[02:03]<vufvuzn>+"Class Library" in fact
[02:03]<vufvuzn>+(in VS2k5 anyway)
[02:04]<vufvuzn>+Not sure how you create a dependency between a Class Library project and say, a Console Application project in the same Solution
[02:05]<vynvyv>+hrm csc not found...
[02:05]<vynvyv>+i could have sworn i used that command before
[02:05]<afd>+add PATH
[02:05]<vufvuzn>+you might need to start a VS cmd window, rather than just a normal cmd
[02:05]<vufvuzn>+that way it'll set your PATH and all that fun stuff
[02:06]<cfudsd>+damn lawyers
[02:07]<`d0>+hoho
[02:08]<y-gz>-btw `m0 are you sure that when porting the original bindings, you aren't breaking their license?
[02:20]<`d0>+hey sorry, I am back
[02:20]<`d0>+what do you mean breaking their license?
[02:21]<y-gz>-are you allowed to do anything with the official bindings :
[02:21]<y-gz>-:)
[02:21]<`d0>+what is it illegal?
[02:21]<`d0>+:p
[02:22]<`d0>+OpenHaptics.hdEnable(OpenHaptics.HD_FORCE_OUTPUT);
[02:22]<`d0>+OpenHaptics.hdStartScheduler();
[02:22]<`d0>+:p
[02:22]<`d0>+can delegates be declared within methods?
[02:27]<cfudsd>+whose library is it?
[02:27]<cfudsd>+ACTION releases a software licensign allowing majority of uses, but by no means is it to be called from java :)
[02:28]<`d0>+lol
[02:29]<`d0>+beh I am trying to do a similar function as _kbhit in C
[02:29]<`d0>+is there a cornio class in c#?
[02:29]<`d0>+http://msdn2.microsoft.com/en-US/library/58w7c94c.aspx
[02:35]<`d0>+ACTION seeya
[02:42]<afd>+morning monkey!
[02:43]<afd>+my project is on sourceforge now, anyone wanna help? :)
[02:43]<afd>+i dunno what to add though, other than some docs
[02:44]<y-gz>-what is a "void collection"
[02:44]<afd>+huh?
[02:44]<y-gz>-http://msdn2.microsoft.com/en-us/library/system.componentmodel.design.designsurface.loaderrors.aspx
[02:44]<afd>+hmmm
[02:45]<zgzzcydjvgev>+lol @ people that dont understand C#/.NET
[02:45]<y-gz>-"Returns a collection of loading errors or a void collection."
[02:45]<y-gz>-AnarkiDotNET: ?
[02:45]<pzjdyv>-AnarkiDotNET, planning to elaborate there?
[02:45]<afd>+AnarkiDotNET: ??
[02:46]<zgzzcydjvgev>+oh yeah
[02:46]<zgzzcydjvgev>+ACTION got sidetracked
[02:46]<zgzzcydjvgev>+<Skillet> Lol Microsoft software and portablity in the same sentence
[02:47]<eg->-I am trying to learn about reflection by loading an existing assembly. It has dependancies and errors about missing methods since it can't find a assembly it depends on. Is there a way to recursively say 'load your dependancies?'. Anyone have any suggestions? Thanks
[02:47]<y-gz>-any idea what is a "void collection" guys ?
[02:47]<vufvuzn>+i-nZ: in what context?
[02:48]<y-gz>-"Returns a collection of loading errors or a void collection."
[02:48]<vufvuzn>+I assume that would mean an empty collection, perhaps
[02:48]<y-gz>-public ICollection LoadErrors { get; }
[02:49]<y-gz>-non-typed collection
[02:49]<vufvuzn>+I assume it's just being explicit about the fact that there may be no errors at all.
[02:49]<y-gz>-hm
[02:49]<y-gz>-an empty object array maybe
[02:49]<vufvuzn>+an ICollection with Count == 0, whether it's an array or not is irrelevant
[02:49]<cfudsd>+anybody here wnat to help me come up with a good domain name for a community portal, i got laywers breathing down my neck for windowsscripting.info, and windowspowershell.net (powershell is the context of the community portal)
[02:49]<y-gz>-well i am actually implementing this code atm
[02:49]<y-gz>-so i need to know what to return :)
[02:49]<cfudsd>+because i'm using the windows TM in my darn URL
[02:50]<vufvuzn>+i-nZ: Who's contract is it?
[02:50]<y-gz>-i will bet on new object[0]
[02:50]<svryg>+klumsy: just choose a generic name
[02:50]<y-gz>-my own summer project :)
[02:50]<svryg>+klumsy: or something cool
[02:50]<y-gz>-design-time for Mono :)
[02:50]<svryg>+ws1337.net for instance
[02:50]<vufvuzn>+i-nZ: but who wrote that piece of documentation that specifieds what you must do?
[02:50]<cfudsd>+does "powershellers.com" sound awkward or tacky?
[02:51]<y-gz>-vulture:
[02:51]<y-gz>-http://msdn2.microsoft.com/en-us/library/system.componentmodel.design.designsurface.loaderrors.aspx
[02:51]<y-gz>-:)
[02:51]<eg->-I am trying to learn about reflection by loading an existing assembly. It has dependancies and errors about missing methods since it can't find a assembly it depends on. Is there a way to recursively say 'load your dependancies?'. Anyone have any suggestions? Thanks
[02:51]<vufvuzn>+Me, I'm a simple man "powershellusers.org". *shrugs*
[02:51]<y-gz>-MS/MSDN wrote the docs :P







