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.66 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-07-27
[21:28]<edjg>haha
[21:28]<zgzzcygnv>kog time to whip out the banstick
[21:28]<kjr>AnarkiNet: has this dude even talked before I showed up?
[21:28]<vynvyv>see, THAT was a joke
[21:29]<kjr>oh yeah, he asked a question about reflection and something on asp.net
[21:29]<edjg>Can I access a constant (e.g. extern const int someconstant;) from a native DLL with P/Invoke?
[21:29]<azyfm>Emon: no
[21:29]<edjg>:/
[21:30]<txyzmlbz>Kog: i asked some decent questions man
[21:30]<kjr>AnarkiNet: btw - WAMU online banking does work
[21:30]<txyzmlbz>you should seen me
[21:30]<azyfm>constants aren't exported from DLLs
[21:30]<txyzmlbz>i was like 'aye yo whats this all about'
[21:30]<kjr>ThirdLBR: I was sleeping at the time, sorry
[21:30]<edjg>oh
[21:30]<txyzmlbz>np
[21:30]<azyfm>in fact, they're not in the DLL at all, they're in the header
[21:30]<edjg>yeah
[21:31]<kjr>you could just do some file io on the header ;)
[21:31]<edjg>haha
[21:31]<kjr>it'd be ghetto as hell
[21:31]<azyfm>and write a subset C parser in the process...
[21:31]<edjg>nah I'll just redefine them heh
[21:32]<kjr>Arild: you missed it... I was telling a great story about running into Larry Wall while talking shit about perl yesterday
[21:33]<edjg>hahaha
[21:33]<edjg>seriously?
[21:33]<azyfm>awww
[21:33]<kjr>Arild: I'm thinking about pretending to trip and falling on him and dropping hot coffee all over him
[21:33]<azyfm>ie, pouring your java over him?
[21:33]<kjr>of course, I was at Sherrys when I came up with that idea
[21:34]<vynvyv>dude why you gotta bash perl?
[21:34]<vynvyv>that's fucked up
[21:35]<azyfm>bash bash instead?
[21:35]<svzz[wjzc]>hey, where can i read about "Testing an algorithm" i mean i'm making a test case for some algorithm and i would like to know, how long it takes, and how much RAM it uses
[21:35]<kjr>tieTYT: who said anything about perl?
[21:35]<kjr>tieTYT: I was bashing Larry Wall
[21:35]<vynvyv>"while talking shit about perl yesterday"
[21:36]<kjr>past tense heh
[21:36]<kjr>tieTYT: how often do you get to insult various "icons" by trash-talking their work?
[21:36]<kjr>gotta keep them humble
[21:37]<kjr>imagine: if someone had only kept RMS humble, how much of a better person he'd be for it
[21:38]<vynvyv>what did that guy do?
[21:38]<vynvyv>did he throw a chair?
[21:38]<kjr>chair throwing is more a Ballmer sort of thing
[21:38]<edjg>hahaha
[21:38]<edjg>yeah
[21:38]<vynvyv>did he throw a goat?
[21:39]<azyfm>or a camel?
[21:40]<kjr>Arild: I hear certain perl programmers practice evil rights with camels, late at night on Walpurgisnicht
[21:40]<azyfm>ewww
[21:40]<kjr>or is it Walpurgisnacht
[21:40]<azyfm>the latter
[21:44]<rrd2uppnv>hello all.... so i created a class " public class DuplicationItemsForBinding<T>: System.ComponentModel.BindingList<myobj>".. it only contains the ctor... why wont vs allow me to select that as a DataSource for my BindingSource for my datagridview
[21:48]<azyfm>jaybuffet: probably because you have the <T>
[21:51]<rrd2uppnv>it doesnt bind to generics?
[21:52]<rrd2uppnv>i mean you cant use generic as a datasource
[22:00]<azyfm>why does your class have to be generic?
[22:06]<azyfm>jaybuffet: or rather, why does it have to be an "open" generic type rather than a closed one?
[22:06]<sdnffdxdlld>you can bind to a List<T>
[22:07]<azyfm>public class BlahList : BindingList<Blah> {}
[22:07]<sdnffdxdlld>that impliments IList
[22:07]<azyfm>perfectly bindable ^
[22:07]<sdnffdxdlld>but it'll have less functionality
[22:07]<azyfm>smellyhippy: I think he's talking about having it appear in the VS designer
[22:07]<azyfm>the VS designer won't accept open generic types
[22:07]<sdnffdxdlld>oh
[22:07]<sdnffdxdlld>yeah I wrap me generic controls
[22:07]<sdnffdxdlld>my
[22:08]<sdnffdxdlld>just dont put the wrapper class in the same file as a control otherwise VS goes nuts about a none existant error
[22:08]<sdnffdxdlld>control as in user control
[22:08]<azyfm>I think it works as long as it's not the first type in the file
[22:08]<azyfm>but VS does freak out if you have it first
[22:08]<sdnffdxdlld>ahhhh
[22:08]<sdnffdxdlld>nice tip dude :D
[22:09]<sdnffdxdlld>-e
[22:09]<rrd2uppnv>wow.. people were responding and i didnt even know it
[22:09]<rrd2uppnv>what does "open" mean ?
[22:10]<azyfm>BindingList<T> is an open generic type
[22:10]<azyfm>BindingList<string> is closed, since you've provided the type parameter
[22:10]<rrd2uppnv>it is closed
[22:10]<azyfm>no
[22:10]<azyfm>public class DuplicationItemsForBinding<T>: System.ComponentModel.BindingList<myobj>
[22:10]<rrd2uppnv>public class DuplicationItemsForBinding<T>: System.ComponentModel.BindingList<myobj>
[22:10]<azyfm>You have a <T> there
[22:10]<azyfm>that means it's open
[22:11]<rrd2uppnv>but i have BindingList<myobj>
[22:11]<rrd2uppnv>doesnt that make it closed
[22:11]<azyfm>yes, that provides the type parameter for BindingList, but you're making your own class require a type parameter as well
[22:11]<azyfm>public class DuplicationItemsForBinding : System.ComponentModel.BindingList<myobj>
[22:12]<zzcn>so, question
[22:12]<zzcn>suppose im making an app
[22:12]<zzcn>in C#
[22:12]<zzcn>what does .NET provide me with for making a web based front end?
[22:12]<zzcn>as in, what would be my best options?
[22:12]<vynvyv>asp.net?
[22:12]<zzcn>suppose its a server app
[22:13]<zzcn>how should it interact, etc.
[22:13]<azyfm>web services?
[22:14]<azyfm>windows client and web app both talk to server over web services







