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: 1825.67 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-07-17
[18:53]<lyfuym-wjzc>should be on the daily wtf
[18:53]<rwyfcygs>theshadow: Given that I have SharpDevelop installed and compiling stuff for .NET 2.0, your return of a colloqiual term for diamorphine (aka Heroin) does not help.
[18:54]<svzz_wjzc_>okay, once again my brain has blown for thinking too much... does that make any sense to any of you : http://rafb.net/paste/results/RAO7j272.html
[18:55]<rwyfcygs>StaZ_work_: Nope
[18:55]<lyfuym-wjzc>lo StaZ_work_
[18:56]<lyfuym-wjzc>theshadow why not download the express versions of vs
[18:56]<lyfuym-wjzc>StaZ[work] sup
[18:56]<svzz[wjzc]>stupid connection (>)_(<)
[18:56]<zyccus>StaZ[home]: should it be: class SubFormBase<T> where T : SubFormContent<AdresseRow> { } ?
[18:56]<mjzymygo>staz: class SubFormBase<T> where T : SubFormContent { } <-- Error 1 Using the generic type 'ConsoleApplication3.SubFormContent<T>' requires '1' type arguments K:\CSharpUnsafe\ConsoleApplication4\ConsoleApplication3\Program.cs 36 33 ConsoleApplication3
[18:57]<mjzymygo>whoops... pasted too much
[18:57]<svzz[wjzc]>should it requires another generic?
[18:57]<mjzymygo>staz: class SubFormBase<T> where T : SubFormContent { } <-- Error Using the generic type 'SubFormContent<T>' requires '1' type arguments
[18:57]<mjzymygo>complete the object at line 36
[18:58]<lyfuym-wjzc>I am going to compress my C# code into one line
[18:58]<lyfuym-wjzc>and check if it compiles faster
[18:58]<svzz[wjzc]>what line 36?
[18:58]<mjzymygo>staz: sorry... Line 8
[18:59]<mjzymygo>class SubFormBase<T> where T : SubFormContent<...whatamI...> { }
[18:59]<lyfuym-wjzc>a wanker?
[18:59]<2zdrgrgvxjgd>lol
[19:00]<cxrfnm>Liquid-Work, lol :)
[19:01]<vxnsxrmjw>lol
[19:01]<lyfuym-wjzc>ooooooooh kinky
[19:01]<lyfuym-wjzc>but I am using brute force
[19:01]<svzz[wjzc]>http://rafb.net/paste/results/N1Nviy39.html <- Moridin8 makes more sense?
[19:01]<lyfuym-wjzc>not reflection
[19:01]<svzz[wjzc]>* seems * to compile
[19:02]<lyfuym-wjzc>sup Andy?>
[19:02]<sdnffdxdlld>bah I'm still having a veritable bounty of joy with Sql Server 2005 and visual studio ^_^
[19:02]<mjzymygo>staz: class AdresseSubForm : SubFormBase<AdresseContent,...whatami...> { }
[19:03]<svzz[wjzc]>right i changed that too forgot to paste
[19:03]<svzz[wjzc]>this sucks a bit... since on line 8... L is related to T... i mean only one L can go with a given T...
[19:04]<svzz[wjzc]>and it's lunch time and my collegue is waiting on me...>_<
[19:04]<svzz[wjzc]>note to self : stop asking question at 11:55.
[19:04]<mjzymygo>staz: does this help you? http://msdn2.microsoft.com/en-us/library/ht11xcwe.aspx
[19:05]<svzz[wjzc]>i,ll see once its loaded, after lunch, curse MSDN :P
[19:07]<lyfuym-wjzc>ok back to work for me
[19:07]<lyfuym-wjzc>laters ladies
[19:07]<mjzymygo>laterz
[19:10]<lyfuym-wjzc>hmmm
[19:10]<lyfuym-wjzc>hold
[19:10]<lyfuym-wjzc>wrong window
[19:10]<lyfuym-wjzc>:()
[19:21]<lyfuym-wjzc>hmmm
[19:21]<lyfuym-wjzc>is it bad to do SELECT * FROM TABLE?
[19:21]<lyfuym-wjzc>Should one rather do SELECT Field1,Field2,Field3 FROM TABLE
[19:22]<zzyzzjm-wjzc>depends if you need all the fields or not
[19:22]<lyfuym-wjzc>gringod-work its for a DAL
[19:22]<lyfuym-wjzc>the user can manipulate it
[19:22]<lyfuym-wjzc>I would think
[19:24]<zzyzzjm-wjzc>our DAL uses SELECT *, but it is a pretty minimal layer
[19:26]<sdnffdxdlld>I use * if I want to show that I want all the fields
[19:30]<sdnffdxdlld>bbiab
[19:31]<sxdrrdvd>I am unable to debug my ASP.NET project in VS.NET2k3 after I update from Subversion. Any ideas why?
[19:33]<rgmznrs_>shiggity, you recompiled and restarted the server?
[19:33]<sxdrrdvd>I did recompile but I did not restart the server. Things work fine if I remove everything and reupdate.
[19:34]<mjzymygo>gringod: why? and slap him anyway... tomorrow... or something... you work in the same room don't you ;)
[19:36]<zzyzzjm-wjzc>he's on holiday for 2 weeks, and he submitted his config files to the repository so I need to change them all back again
[19:36]<mjzymygo>whoopsie
[19:41]<vxnsxrmjw>argh... I am having a heck of a time trying to get SharpDevelop2 to compile .NET 2.0 code. I have tried uninstalling SharpDevelop and reinstalling. Uninstalling it and the 2.0 sdk, and then reinstalling. Nothing seems to work. Does anyone have any input or know where I could look for some help?
[19:43]<dzmzaivnz>Hmm. I've just found a piece of code wrapped in a while(true). I'm sure there's a good reason for that really...
[19:43]<vxnsxrmjw>lol
[19:43]<dzmzaivnz>As far as I can tell what it's doing is repeatedly trying something until it succeeds.
[19:44]<vxnsxrmjw>Well at least its code with tenacity
[19:45]<y-gz>while(true) and for(;;) is useful in some cases yeap yeap
[19:45]<y-gz>:)
[19:46]<sdnffdxdlld>yer while(true) can be damn handy
[19:46]<sxdrrdvd>while("juan" == "juan")
[19:46]<dzmzaivnz>This seems to be while(true){ try { foo; break; } catch { bar; } }
[19:46]<mjzymygo>while(Bad_idea == Bad_Idea)
[19:47]<dzmzaivnz>(With slightly better error handling and infinite loop prevention)
[19:48]<sdnffdxdlld>what would you use instead matt?
[19:48]<mjzymygo>not an infinite loop?
[19:48]<sdnffdxdlld>what if you want to loop it infinatly? :P
[19:48]<mjzymygo>then you suck ass
[19:48]<mjzymygo>there is no need ever for that
[19:48]<dzmzaivnz>In this particular case it actually can't get into an infinite loop without something going really seriously wrong.
[19:48]<vxnsxrmjw>Moridin8: personal amusement?
[19:49]<dzmzaivnz>It's for deadlock prevention.
[19:49]<sdnffdxdlld>what about an app that has to poll for some reason?
[19:49]<dzmzaivnz>So it basically tries, sees if someone else is already doing it, if they are it sleeps for a bit then tries again.
[19:49]<dzmzaivnz>It looks a bit odd to me but I don't think it's actually broken.
[19:50]<dzmzaivnz>(Actually it throws any exceptions which aren't of the form 'a deadlock has occurred', so it should never infinitely loop)
[19:58]<maxgg>wow now i have to read 2.0 of chris sells book
[19:58]<maxgg>i love the book but i hate rereading a whole book just to upgrade to 2.0
[19:58]<maxgg>referring to windows forms book here
[20:00]<maxgg>i am going to let monad drop until next time since i didn't get an okay from our hosting partner to use it :(
[20:00]<maxgg>they probably never even heard of it
[20:03]<lyfuym-wjzc>dchen whats the name?
[20:04]<maxgg>monad
[20:04]<maxgg>um PoSH
[20:04]<maxgg>Powershell
[20:04]<lyfuym-wjzc>nice
[20:06]<maxgg>well it would be nice if it came a few years sooner
[20:06]<awjzdd>sup playas
[20:06]<maxgg>almost a case of too little too late
[20:06]<maxgg>but hey if someone is bothering to improve the state of the art in administrative scripting and making it available for free, i oughta thank them
[20:06]<maxgg>but if they want maximum appreciation, one should see it on linux too :)







