IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-04-02 18:00:08
Channels: 41
Logged Lines: 6229042
Size: 1806.43 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-08-01
[00:00]<sdnffdxdlld>I would but its on a disc and i need to rewrite it
[00:00]<rrd2uppnw>ah.. i c
[00:00]<rrd2uppnw>on disc ???
[00:00]<rrd2uppnw>floppy
[00:01]<rrd2uppnw>5 1/4 ?
[00:01]<sdnffdxdlld>hehe I already thought of doing it to help you but it's not to hand to hand ;)
[00:01]<sdnffdxdlld>errr -to hand
[00:01]<sdnffdxdlld>lol no cd :P
[00:02]<sdnffdxdlld>staz ... isnt the template pattern just normal abstraction? :P
[00:03]<svzz[wjzc]>smellyhippy i know nothing of the template pattern i just copy/pasted the code on that page caus i thought it was a nice way to do stuff, and i still think it, but it doesn't take Dicitonnary filling by a value in it's structur
[00:03]<rrd2uppnw>yeah .. i dont get it.. seems like a lot of work
[00:03]<sdnffdxdlld>lol
[00:04]<sdnffdxdlld>no its nhot alot of work ... tis using an abstract base class to provide common funcitonality
[00:04]<sdnffdxdlld>it saves on coding and mantinance
[00:04]<sdnffdxdlld>and makes its very easy to change stuff!
[00:04]<sdnffdxdlld>StaZ[home]: you know about inheritance right? and abstract classes?
[00:05]<vr2drg>is there a way that I can check whether a user input is integer or not ?
[00:05]<sdnffdxdlld>int.TryParse
[00:05]<svzz[wjzc]>smellyhippy you kidding me right?
[00:05]<sdnffdxdlld>staz: you being serious or sarcy? :P
[00:06]<sdnffdxdlld>tabman or object.GetType() == typeof(int)
[00:06]<rrd2uppnw>well i put in my own data access layer.. then use my datareader loop to populate my dictionary... works pretty good
[00:06]<sdnffdxdlld>I have custom collections of custom objects, but i use dictionaryies when i needa fast index
[00:06]<svzz[wjzc]>well i do know about inheritance, yeah... anyway the Dictionnary is not compatible with the pattern as it is tright now i'll have to rework it anyway this is my problem
[00:07]<sdnffdxdlld>paste your base class
[00:07]<sdnffdxdlld>pastebin obviously :P
[00:08]<rrd2uppnw>while<font size="3"> (reader.Read())        { try {collection.Add(Map(reader));}  catch { throw;    } //wouldnt this be dictionary instead ?</font>
[00:08]<rrd2uppnw><font size="3">in the MapperBase abstract class</font>
[00:09]<sdnffdxdlld>hehe pasting from VS? ;)
[00:10]<rrd2uppnw><font size="3">maybe not</font>
[00:11]<rrd2uppnw><font size="3">sweet</font>
[00:21]<vddjvxdp>Hello, anybody familiar with IHttpModule ?
[00:32]<rrd2uppnw><font size="3">StaZ[work]: that code looks decent.. i may rewrite to work with some of my objects</font>
[00:35]<`d0>hmm
[00:35]<`d0>why are you writing like that jaybuffe1
[00:35]<`d0>?
[00:36]<rrd2uppnw><font size="3">like what ?</font>
[00:36]<pzrrnrvqt0wr>is there a web collab thingie, other than a wiki that allows programmers to see what else it there to be done
[00:36]<pzrrnrvqt0wr>not a text file either
[00:36]<pzrrnrvqt0wr>like a web todo thing
[00:37]<pzrrnrvqt0wr>Delphi is good at this
[00:37]<pzrrnrvqt0wr>has a todo list that can be exported as xhtml
[00:37]<svlnvnz>bye all
[00:37]<txnjzd>you mean like bugzilla?
[00:37]<pzrrnrvqt0wr>so, you can see what you have done
[00:37]<pzrrnrvqt0wr>Theory: bugzilla tracks bugs only, right?
[00:37]<txnjzd>Project2501a: it can track features too
[00:37]<txnjzd>the principle is the same
[00:37]<drygq>i need to parse a x/y set of coordinates to a method, what datatype can hold these two at the same time?
[00:38]<pzrrnrvqt0wr>hmmmm
[00:38]<drygq>i forgot the name of it (quitted coding for a while)
[00:38]<pzrrnrvqt0wr>main2: uh, dunno, Point( ) maybe? :P
[00:38]<txnjzd>main2: PointF ?
[00:38]<drygq>:D
[00:38]<drygq>thanks guys
[00:38]<pzrrnrvqt0wr>well, PointF for floats.
[00:38]<pzrrnrvqt0wr>i like my integers
[00:38]<pzrrnrvqt0wr>integers > *
[00:38]<drygq>now i remember what system.drawing is usefull for :O
[00:39]<txnjzd>integers are nice, but sometimes you need floats. like for lat and long :-)
[00:39]<pzrrnrvqt0wr>that's what ratios are for, silly.
[00:39]<vddjvxdp>I have class inheriting from IHttpModule, but i want to add properties, can I then set these properties in the web.config file?
[00:39]<txnjzd>Project2501a: lies
[00:40]<txnjzd>you can't add many ratios before it starts getting silly
[00:40]<vddjvxdp>what?
[00:40]<pzrrnrvqt0wr>TimothyP: i'd say yes, but then i'd take away from myself the joy of making you look into the manual.
[00:40]<vddjvxdp>:)
[00:40]<vddjvxdp>I'll put it to the test
[00:40]<pzrrnrvqt0wr>so, my answer is maybe.
[00:40]<vddjvxdp> <add name="OIDMod"
[00:40]<vddjvxdp> type="Janrain.OpenId.Consumer.Asp.ConsumerHttpModule, Janrain.OpenId.Consumer.Asp"
[00:40]<vddjvxdp> loginPage="/login.aspx"
[00:40]<vddjvxdp> openIdUrlField="ctl1_openid_url"
[00:40]<vddjvxdp> openIdErrorContextString="errmsg" />
[00:40]<pzrrnrvqt0wr>NO PASTING IN THE CHANNEL PLEASE
[00:40]<vddjvxdp>sorry
[00:41]<vddjvxdp>:(
[00:41]<pzrrnrvqt0wr>thank you
[00:41]<pzrrnrvqt0wr>use http://ratf.net/paste
[00:41]<vddjvxdp>ok hang on
[00:41]<pzrrnrvqt0wr>Theory: hmmm
[00:41]<vddjvxdp>server cannnot be found
[00:41]<vddjvxdp>oh well
[00:41]<pzrrnrvqt0wr>i think i might have to go with fogcreek
[00:42]<txnjzd>Project2501a: why?
[00:42]<pzrrnrvqt0wr>http://rafb.net/paste/
[00:42]<pzrrnrvqt0wr>Theory: well, call me anal retentive, but like a bugtracker is for bugs
[00:42]<txnjzd>by fog creek software are you talking about in particular?
[00:43]<pzrrnrvqt0wr>yeah
[00:43]<txnjzd>do you mean FogBugz?
[00:43]<pzrrnrvqt0wr>yup
[00:43]<pzrrnrvqt0wr>i wonder how much is it to get a copy
[00:43]<txnjzd>erm...and you are using this instead of other options because you don't want a bug tracker?
[00:43]<txnjzd>$129
[00:43]<pzrrnrvqt0wr>no, i don't want *just* a bugtracker
[00:44]<vddjvxdp>well it doesn't seem to like it, it says Unrecognized attribute (node name:add)
[00:44]<txnjzd>well, it's your money :-)
[00:44]<vddjvxdp>and there's nothing in the manuall about adding Properties to IHttpModule







