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.68 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-07-24
[04:07]<sjmn_mumn>I have an app written on in WxRuby, but ado would be a huge plus, but since linux does not support ado, that's going to be a problem
[04:08]<svlnvnz>sure linux dosn't support it?
[04:09]<svlnvnz>i see the ado classes in the mono website
[04:10]<sjmn_mumn>I'm talking about a standard ruby app, not a mono/.net app
[04:11]<svlnvnz>mmm for what i know ado it's only a generic interface to databases
[04:11]<svlnvnz>ruby surely have something similar
[04:12]<sjmn_mumn>they have something, but it lacks the update options, it reads like ado, but takes a query to update, and it can't move_next and move_prev like ado can
[04:15]<svlnvnz>sqlalchemy?
[04:16]<sjmn_mumn>stpeter I'll look into that
[04:17]<svlnvnz>mmm i'm wrong it's python
[04:21]<pzw>Anyone here ever programmed for a PDA with Windows Mobile 5?
[04:21]<sjmn_mumn>it's ok, because it lead me to a few links that might help
[04:21]<svlnvnz>some_dude: cool
[04:22]<svlnvnz>frW: no
[04:23]<pzw>stpeter: why do you even answer if you havnt ?
[04:24]<sjmn_mumn>I don't want to be left out, I've not either
[04:27]<svlnvnz>frW: sorry
[04:31]<pzw>:P
[05:03]<2zdrgrgvxjgd>any windows forms guys in here?
[05:17]<znzznss>whenever the debugger tells me there's an error with indexOutOfRange on a line that has two variables with indexes, how can I tell which index is out of range?
[05:18]<znzznss>I think knowing that would save me a considerable amount of time when debugging
[05:18]<vyzusdjvnev>sup peeps
[05:19]<znzznss>VirusDotNET: you may be able to help me
[05:19]<znzznss>whenever the debugger tells me there's an error with indexOutOfRange on a line that has two variables with indexes, how can I tell which index is out of range?
[05:19]<znzznss>same goes with any kind of error...input string format not correct, when there are two variables taking string inputs...
[05:19]<vyzusdjvnev>code please so i can see if its what im thinking
[05:20]<znzznss>compareClasses(mMasterList[0][i], mMasterList[1][j]
[05:20]<znzznss>I get an IndexOutOfRange error on this line, but I don't know which one has the error
[05:21]<vyzusdjvnev>out of index means that part of the array or object is not there
[05:21]<vyzusdjvnev>you either went over or under
[05:21]<vyzusdjvnev>or it could mean when you compare they aren't the same length so it throws the exception
[05:22]<znzznss>yeah, I understand the error, the problem is either one could be out of range
[05:22]<znzznss>say I did myFunction(array1[i], array2[j]), and got that error
[05:22]<vyzusdjvnev>is it gui, console, or net?
[05:23]<znzznss>how could I tell if array1 or array2 had been too high?
[05:23]<znzznss>console
[05:23]<znzznss>I thought the debugger should be able to tell me
[05:23]<vyzusdjvnev>comment out the compareClasses and then use Console.WriteLine() and it will let you know
[05:23]<vyzusdjvnev>i haven't never used the debugger XD
[05:23]<znzznss>wha...?
[05:24]<znzznss>no debugger?
[05:24]<vyzusdjvnev>nope
[05:24]<vyzusdjvnev>i just looked at the exception and knew right away ;)
[05:24]<znzznss>actaully, now that I've sat down and looked for it, it seems to have the information under the autos tab
[05:24]<znzznss>great
[05:24]<znzznss>thanks
[05:24]<vyzusdjvnev>sorry :(
[05:25]<vyzusdjvnev>but im pretty positive that they aren't the same so do a print of each array and see what it shows then you can find ur answer
[05:32]<asxyds>HELP!
[05:32]<asxyds>the type or namespace 'resources' could not be found...
[05:33]<asxyds>in relation to...
[05:33]<asxyds>this.flash_player.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("flash_player.OcxState")));
[05:33]<asxyds>that
[05:34]<asxyds>Any help would be appreciated-- someone elses code-- I have 20 minutes to make the damn thing compile.
[05:36]<zgzzcygnv>hmmm
[05:36]<zgzzcygnv>how many overloads can a method have, realistically?
[05:37]<zgzzcygnv>just an arbitrary amount here but would like 200 overloads be "too much" or is there any detriment at all?
[05:39]<vyzusdjvnev>is it yeah it would be too much :P but depending on what it does :P
[05:40]<zgzzcygnv>well just a method providing a sort of "optimized serialization" for whatever types with any others being just serialized with BitConverter
[05:41]<vyzusdjvnev>oh
[05:41]<zgzzcygnv>so lik
[05:41]<zgzzcygnv>e
[05:41]<zgzzcygnv>right now i just have like string, int, byte[], and a couple others, and then the one that takes Object handles the rest
[05:42]<zgzzcygnv>but controlling how the bytes are created from the object manually...allows it to be more efficient (usually)
[05:43]<vyzusdjvnev>hmm
[06:27]<sxncrsv>hi all, this is beating the he** outta me. ----- (int)Math.Ceiling((double)(5/7)) ------- that should be 1 not 0, can someone explain why (double) 5/7 is 0 (i debugged it and found that's what it's doing)
[06:29]<sxncrsv>my workaround was Math.ceiling(Math.round( (double) 5/7)) ) however i want to know how C# retains values
[07:21]<svlnvnz>how can i concatenate arrays?
[07:29]<xylxjzys>does anyone know what SortedList is vs Dictionary?
[08:01]<vj2nxe>dictionary is a key based list
[08:02]<vj2nxe>sortedlist is sorted
[08:02]<vj2nxe>dictionary doesn't do any sorting
[08:02]<vj2nxe>pretty straightforward
[08:21]<xylxjzys>hmm
[08:21]<xylxjzys>tobehz: so how does the dictionary determine whether objects are already in it?
[08:21]<xylxjzys>linear search through all existing elements?
[08:21]<vj2nxe>maybe
[08:21]<vj2nxe>you could check the actual code for it
[08:25]<vxznrm>dic.contains()
[08:32]<slzygc>just started learnin C# today.. after doin strictly c for the past couple years.. man i'm lovin it so far
[08:34]<vj2nxe>c# owns hard
[08:36]<slzygc>hehe.. its pretty neat
[08:37]<slzygc>never been so productive in such little time.. and still have control
[08:37]<pzw>i just bought myself a pda :D
[08:38]<slzygc>nice
[08:38]<slzygc>you must be important to need one of those :P
[08:38]<pzw>sprink: yes and only for 359 dollars
[08:38]<pzw>Yes im am the new bill gayts
[08:39]<slzygc>I said important.. not rich
[08:39]<slzygc>lol
[08:40]<rzzjrrgv>i am the new frank sinatra
[08:43]<slzygc>anyone know where to find a OEM version of VS2005 Standard?
[08:44]<slzygc>hmm.. silly question
[08:44]<slzygc>hmm.. probably doesn't have one
[08:45]<slzygc>minus the 2nd hmm..
[08:46]<djapxggyx>just use #develop
[08:46]<djapxggyx>:P







