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.26 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-07-04
[21:18]<vufvuzn>(though inetd's a little bit of overkill since he just wants it for one program)
[21:19]<rffjuv170>well i want to get it to work first
[21:20]<jnpys>it's hard work
[21:20]<rffjuv170>i know
[21:20]<rffjuv170>but i really want to do it
[21:24]<rffjuv170>come one guys
[21:24]<rffjuv170>do i have to pay to get help?
[21:24]<cjmgrug>yes
[21:25]<rffjuv170>fuck u
[21:25]<cjmgrug>hehe, what happened?
[21:25]<ddx>lol
[21:58]<sjgvnc>Hey, I'm trying to use a typed dataset as a dataobject(I usually use nhibernate) and when I set it up it asks if I want to save the connection string in the app.config and I say yes. It creates the connectstring in the app config but then also creates a setting file with the connection string in it
[21:58]<sjgvnc>is there a way to have it only use the app config rather than creating a settings file?
[22:04]<jz2zvzjg>hi - can someone check out - I am having problems getting an IENumerator class working. The first foreach loop works fine, but the second does not. pastebin: http://pastebin.ca/78958
[22:05]<sjdn>do u guys know of any good C# tuts
[22:07]<sjdn>hello?
[22:07]<rnzrnf_->codeproject.com/csharp#beginners
[22:08]<rnzrnf_->http://msdn.microsoft.com/vstudio/express/visualCSharp/learning/
[22:08]<rnzrnf_->http://codeproject.com/csharp/#Beginners
[22:08]<y-gz>Will [DllImport()] work with an .exe exporting symbols ?
[22:09]<sdnffdxdlld>[00:30:18] * BukkakeWithCows (i=fishfood@lfc.tor.istop.com) has joined ##csharp
[22:09]<sdnffdxdlld>[00:57:20] <Kog> BukkakeWithCows: ok seriously... your nickname keeps getting more and more strange
[22:09]<sdnffdxdlld>lol
[22:10]<jz2zvzjg>anyone got an example of a class that uses the IEnumerator interface which works? I don't understand what is troubling it.
[22:10]<fyfuym-syfggag_>whats the error?
[22:11]<jz2zvzjg>http://pastebin.ca/78958 - no errors, but the first foreach loop works fine, then the second just doesn;t print anything out.
[22:12]<fyfuym-syfggag_>bbaib
[22:12]<fyfuym-syfggag_>just installing drivers
[22:14]<afd>Liquid-Silence_!!!!!!!!!!!
[22:15]<fyfuym-syfggag_>#
[22:15]<fyfuym-syfggag_>foreach(String st in t)
[22:15]<fyfuym-syfggag_>#
[22:15]<fyfuym-syfggag_> Response.Write(st + "<br/>");
[22:15]<fyfuym-syfggag_>? that is broken?
[22:15]<afd>Liquid-Silence_!!!!!!!!!
[22:15]<afd>Liquid-Silence_!!!!!!!!
[22:15]<fyfuym-syfggag_>name st something else
[22:15]<fyfuym-syfggag_>ie foreach(string strObject in t ) reponse.write(strObject)
[22:15]<fyfuym-syfggag_>y0 AqD
[22:16]<fyfuym-syfggag_>dude
[22:16]<fyfuym-syfggag_>I dont know why you are using 2 foreach statements
[22:18]<fyfuym-syfggag_>because both those statements are doing the same thing
[22:18]<fyfuym-syfggag_>orbatron: ^^
[22:20]<fyfuym-syfggag_>AqD: nhibernate is not teh best man
[22:20]<afd>Liquid-Silence_: you have better choice?
[22:20]<afd>i looked linq but it sux
[22:20]<fyfuym-syfggag_>erm no
[22:20]<fyfuym-syfggag_>linq is nice
[22:20]<fyfuym-syfggag_>very nice
[22:20]<afd>not really
[22:20]<fyfuym-syfggag_>but linq is not a orm
[22:20]<afd>it has cool syntax
[22:20]<afd>yes
[22:20]<afd>but what about lazy loading?
[22:21]<afd>and cache?
[22:21]<fyfuym-syfggag_>eh
[22:21]<afd>and it needs special classes
[22:21]<afd>you can't just code a plain c# class and tell it to work
[22:21]<afd>for example
[22:21]<afd>if your user has a ref to Group
[22:21]<afd>it will have to use EntityRef
[22:22]<afd>M$ probably doesn't use those proxy things
[22:22]<afd>that makes it sux more
[22:22]<fyfuym-syfggag_>hehe I just left
[22:22]<afd>instead of a few workarounds, you have to redesign the classes specially for LINQ
[22:22]<afd>that's why many other ORMs suck too
[22:22]<afd>like AR
[22:23]<fyfuym-syfggag_>AR?
[22:23]<fyfuym-syfggag_>active record?
[22:23]<afd>yes
[22:23]<afd>not the .net one :)
[22:23]<afd>the best ORM should be invisible from your model classes
[22:23]<fyfuym-syfggag_>active record use nhibernate a its base
[22:23]<afd>not the original Rail
[22:24]<afd>the original Rail can't even handle inheritance completely
[22:26]<svzz[wjzc]>okay big problema here!!! i have a DataGridView, one of the column is a Combobox column, and this combobox, for each row, has ~2500 items... and each time i click on one of those they take about 1.5 second to load the list before they open... that is real bad...
[22:27]<svzz[wjzc]>how can i set it up that one list is loaded one time... i actually use a DataTable as the Datasource
[22:28]<fyfuym-syfggag_>chache the data
[22:29]<sjgvnc>AqD: Linq has lazy loading and cacheing
[22:30]<sjgvnc>well.. Linq for SQL does (used to be called DLinq)
[22:30]<svzz[wjzc]>Liquid-Silence_ huh i don't know what you mean by that
[22:30]<svzz[wjzc]>well i know what you mean
[22:30]<svzz[wjzc]>but i don't know the way (liek frodo)
[22:30]<svzz[wjzc]>:P
[22:30]<sjgvnc>AqD: And Linq for SQL allows you to use XML Mapping files rather than attributes if you want them
[22:31]<sjgvnc>AqD: You should do research if you're going to bag on a certain technology
[22:32]<afd>sontek: not about attributes
[22:32]<afd>sontek: from what i see in the samples, LINQ requires you to code your classes specially
[22:33]<sjgvnc>AqD: Have you even read the samples? Or did you just glance at them and make a judgement?
[22:33]<afd>sontek: i just glance them, of course :)
[22:33]<sjgvnc>AqD: "Don't judge a book by its cover"
[22:33]<afd>sontek: but you are saying i'm wrong?
[22:33]<sjgvnc>Yes, Completely wrong
[22:33]<sjgvnc>You are way out in right field
[22:33]<afd>sontek: that it doesn't need any modification to existing classes?
[22:34]<sjgvnc>No, You can create mapping files that use the properties of already created class files
[22:35]<fyfuym-syfggag_>AqD: you are right
[22:35]<fyfuym-syfggag_>I watched a screencast on linq
[22:35]<fyfuym-syfggag_>brb







