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-15
[18:07]<isnnisnn>different servers have different C# channel ?
[18:07]<isnnisnn>anywayz atleast on this channel someone replies :)
[18:07]<rzrprrryjr>IseeIsee: Other servers have less _policy_.
[18:07]<isnnisnn>i've 2 tapages, i've a button on a tabpage, I want that when I click that button, the other tabpage appears
[18:08]<isnnisnn>i tried tabpages.focus() & tabpages.show(), nothing works
[18:16]<isnnisnn>so why doesn't anyone replies ?
[18:16]<rzrprrryjr>IseeIsee: Probably because you haven't given enough info for people to see "Ok, that's what you're doing wrong". As for me, I'm a wxWidgets man.
[18:17]<isnnisnn>well I posted the whole problem
[18:17]<isnnisnn>I need a solution for it
[18:23]<isnnisnn>damn man
[18:23]<isnnisnn>dead communities
[18:24]<rzrprrryjr>Why can't you get a book or do some basic research as to how to do it?
[18:25]<isnnisnn>I checked MSDN & the internet
[18:25]<isnnisnn>the function which apparently should do is TabPage.Show()
[18:25]<isnnisnn>but its not working
[18:25]<rzrprrryjr>I'm not too keen about fixing that when I only use wxWidgets, I assume you're using swf, and I've got my hands full.
[18:25]<rzrprrryjr>IseeIsee: There's your problem.
[18:25]<rzrprrryjr>IseeIsee: tabpages.show() is not the same as tabpages.Show().
[18:25]<isnnisnn>where's my problem :)
[18:26]<isnnisnn>I mean to say I'm doing whatever function the IDE brings up for show
[18:26]<rzrprrryjr>What IDE?
[18:26]<isnnisnn>vs 2005
[18:26]<rzrprrryjr>IseeIsee: Sorry, I mean, what does the IDE have to do with it?
[18:27]<isnnisnn>well when you write the code, the IDE brings up the functions associated with that object
[18:27]<isnnisnn>ok forget it
[18:27]<isnnisnn>are you into linux & stuff ?
[18:28]<rzrprrryjr>I suppose you could say that.
[18:28]<isnnisnn>I've an ext3 partition
[18:28]<isnnisnn>I wanna convert it to FAT
[18:28]<isnnisnn>how can I do that
[18:28]<isnnisnn>I don't have any OS installed on it
[18:28]<rzrprrryjr>IseeIsee: Backup, reformat, reinstall.
[18:29]<isnnisnn>yeah but reformat with what ?
[18:29]<rzrprrryjr>IseeIsee: mkfs.vfat or something.
[18:29]<isnnisnn>what is this ?
[18:30]<rzrprrryjr>IseeIsee: A format program... I suppose in windows one would use FORMAT
[18:30]<isnnisnn>yeah but from where will I start this program
[18:30]<isnnisnn>is it in the linux CD or I'll have to boot from floppy ?
[18:31]<rzrprrryjr>As you don't have an OS on it, I would think you'd have to boot it using a CD or floppy. I suggest you use the CD.
[18:31]<isnnisnn>ok Thanks
[18:31]<isnnisnn>atleast some problem is solved :P
[18:31]<rzrprrryjr>IseeIsee: How else would you format it?
[18:32]<isnnisnn>well I put a linux CD and it only gives an option to format as ext3
[18:32]<rzrprrryjr>The recommended format, indeed.
[18:32]<rzrprrryjr>fat is really silly.
[18:33]<rzrprrryjr>fat's only useful to share data with windows.
[18:33]<rzrprrryjr>(In a dual-boot situation)
[18:34]<rzrprrryjr>IseeIsee: Which distro do you use?
[18:44]<pnrreus>Does anyone knows a good book/way to learn C# targeted to people who knows C++ and OOP already? :)
[18:46]<pnrreus>seems no one...
[18:48]<rzrprrryjr>Pegazus: You're very rude, to expect people to respond inside of 3 damn minutes!
[18:48]<pnrreus>:)
[18:48]<pnrreus>it's not rude...
[18:48]<pnrreus>it's impatient...
[18:50]<rzrprrryjr>Pegazus: I'll let you know of a book I like, in... 10 more minutes ;)
[18:50]<pnrreus>k
[18:50]<pnrreus>12:49:04
[18:50]<pnrreus>//timer 1 600 say Time is up Arafangion!!!
[18:51]<pnrreus>mirc will tell you in 10 minutes :)
[18:51]<rzrprrryjr>Ha!
[18:52]<rzrprrryjr>Well, I don't mind "Deitel Developer SEries - C# for Experienced Programmers"
[18:52]<pnrreus>:) thanks
[18:52]<rzrprrryjr>But, it neglected to tell me that threads can exist in two states at the same time.
[18:52]<pnrreus>//timer* off
[18:52]<pnrreus>what do you mean by that?
[18:56]<azyfm>So it's like a Schrödinger thread, then?
[18:59]<rzrprrryjr>Arild: I can't explain it, it really was in two states at the same time.
[19:00]<rzrprrryjr>Arild: GetThreadState (Or whatever that's called) reported two states.
[19:00]<rzrprrryjr>Arild: It was caused by me, as a newbie, trying to kill the thread from "outside".
[19:00]<fyfuym-syfggag>smellyhippy :P
[19:01]<fyfuym-syfggag>slut hows the rocking g/f?
[19:01]<azyfm>well, seeing as ThreadState has the [Flags] attribute, it's not actually surprising
[19:01]<azyfm>"A thread can be in more than one state at a given time. For example, if a thread is blocked on a call to Wait, and another thread calls Abort on the blocked thread, the blocked thread will be in both the WaitSleepJoin and the AbortRequested states at the same time. In this case, as soon as the thread returns from the call to Wait or is interrupted, it will receive the ThreadAbortException to begin aborting.
[19:01]<azyfm>"
[19:02]<twnswrmjww>Ok I have the following: SortedList sl = new SortedList(); string sKey = "test"; sl.Add(sKey,new ArrayList); sl[sKey].Add(oSomeObj); but the compiler complains about sl[sKey] not having Add. What am I missing?
[19:02]<azyfm>Casting, by L'Oreal
[19:03]<azyfm>Are you restricted to .NET 1.x?
[19:03]<twnswrmjww>Arild are you talking to me?
[19:03]<azyfm>yup
[19:04]<rzrprrryjr>Arild: It wasn't in AbortRequested state, it was in some other state.
[19:04]<twnswrmjww>No/Yes, I don't have access to VS 2k5. And I have installed the 2.0 SDK but can't get VS 2k3 or SharpDevelop to use it
[19:04]<rzrprrryjr>Arild: WaitSleepJoin, and some other state. My point was that the documentation doesn't mention this clearly.
[19:04]<azyfm>it does state that it can be in multiple states
[19:05]<azyfm>TheShadowx: ((ArrayList)s1[sKey]).Add(oSomeObj);
[19:05]<twnswrmjww>Arild: ok but is there a way I could get the 2.0 sdk to work with VS 2k3 or SharpDevelop?
[19:06]<azyfm>sharpdevelop, possibly, VS, no
[19:06]<azyfm>there should be a 2.0 SD out there
[19:07]<twnswrmjww>alrighty that is more information then I have been able to get from all the c# channels I have visited across the irc universe :P
[19:07]<rzrprrryjr>Arild: Well, this book very strongly implies that threads can only exist in one state at a time. "Thread States: Life Cycle of a Thread: At any time, a thread is said to be in _ONE_ of several thread states" (Emphasis mine).
[19:07]<rzrprrryjr>Arild: It doesn't appear to mention anywhere the possibility of it existing in several states, and the diagram also implies it only exists in one state at a time.
[19:08]<azyfm>right, but you were blaming the documentation just now, which does explicitly point out that it can be in multiple states
[19:08]<rzrprrryjr>Arild: I was blaming it in the context of the book I just recommended.
[19:09]<azyfm>docs also say this: "Thread state is only of interest in a few debugging scenarios. Your code should never use thread state to synchronize the activities of threads.
[19:09]<azyfm>"
[19:20]<fuwyvrg>Hi, I'm having trouble sorting rows in GTK.TreeView, can anyone help me?
[19:32]<azyfm>http://www.codinghorror.com/blog/archives/000635.html
[19:37]<azyfm>"Programmers, who on the whole like to point and click,
[19:37]<azyfm>often expect that if you make programming point-and-click, then novices will find it easier. The
[19:37]<azyfm>entire field can be summarised as saying “no, they don’t”."
[19:41]<vufvuzn>makes a bit point about one assumption, and glosses over the assumption that programmers "on the whole like to point and click" - which I suspect is a fallacy..







