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.50 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-07-23
[00:01]<vyzusdjvnev>anyone?
[00:01]<pzrrnrvqt0wr>VirusDotNET: wtf?
[00:01]<pzrrnrvqt0wr>what does XML have to do with JavaScript?
[00:01]<pzrrnrvqt0wr>javascript is a language
[00:01]<pzrrnrvqt0wr>xml is a document specification
[00:01]<vyzusdjvnev>no shit sherlock
[00:01]<zyccus>a 'document specification'?
[00:01]<vyzusdjvnev>I want to know which should I learn first
[00:01]<pzrrnrvqt0wr>rikkus: eh, of sorts.
[00:02]<pzrrnrvqt0wr>it's actually meta-information on text.
[00:02]<txnjzd>VirusDotNET: what do you want to do?
[00:02]<al->learn which ever you need first.
[00:02]<zyccus>XML stands for eXtensible Markup Language -> it's a language too
[00:02]<pzrrnrvqt0wr>eh
[00:02]<pzrrnrvqt0wr>anythign that describes something else is a language.
[00:03]<pzrrnrvqt0wr>especially if codified.
[00:03]<nnzjpfrr>rikkus: it's a data description language; javascript is a programming language; chinese is a spoken language; you want more examples?
[00:03]<vyzusdjvnev>Theory, well data storage and well the features of Javascript for certain things that hasn't came to mind yet
[00:03]<zyccus>zeroflag: yes please, but I'm not sure why you're giving them
[00:04]<nnzjpfrr>rikkus: can you programm in chinese? no. can you programm in xml? no. can you describe data in java? well, some people try and are mostly considered "morons" and "newbs" for doing so...
[00:04]<zyccus>zeroflag: I have no idea what you're on about
[00:05]<nnzjpfrr>rikkus: different languages have different purposes.
[00:05]<zyccus>zeroflag: I simply disagreed with Project2501a's implication that XML is not a language... I said nothing more
[00:05]<pzrrnrvqt0wr>i disagree with you to disagree
[00:05]<zyccus>zeroflag: yes, I am aware that different languages have different purposes
[00:05]<nnzjpfrr>rikkus: don't say "languages are just languages" because it's not that simple.
[00:05]<zyccus>zeroflag: I didn't say that... scroll back
[00:05]<pzrrnrvqt0wr>zeroflag: description of data in java? it's called a "Data structure" :P
[00:05]<nnzjpfrr>rikkus: xml is a document specification language; happy now?
[00:05]<zyccus>zeroflag: I think you might be talking to the wrong person
[00:06]<nnzjpfrr>Project2501a: it's a container. it doesn't actually contain anything until initialized.
[00:06]<pzrrnrvqt0wr>ehehehe
[00:06]<pzrrnrvqt0wr>here we go with the OO terminology :>
[00:06]<pzrrnrvqt0wr>oy
[00:16]<kjvjvrdr>hi, does anybody why there is no set collection in the .Net framework?
[00:16]<kjvjvrdr>+know
[00:22]<ofrf>Is there any problem with redrawing speed when using User Controls in a WinForms (GUI) application. My program is verry sluggish since I broke out some parts of the GUI.
[00:23]<pzrrnrvqt0wr>Kototama: there's a BOATLOAD of collections in the .NET framework. look under System.Collections
[00:23]<pzrrnrvqt0wr>and System.Collections.Generic
[00:23]<pzrrnrvqt0wr>OlaL: come again?
[00:24]<pzrrnrvqt0wr>please ask more specific questions.
[00:25]<kjvjvrdr>Project2501a: sorry for my bad english, I search a "Set" collection, like in C++ for instance
[00:25]<pzrrnrvqt0wr>Kototama: Nijongi?
[00:25]<kjvjvrdr>just like a hashmap with null value :]
[00:25]<kjvjvrdr>i'm french ;)
[00:26]<pzrrnrvqt0wr>Kototama: press F1 inside VS.NET and type "Hashtable"
[00:26]<kjvjvrdr>no no i want a real Set :)
[00:26]<pzrrnrvqt0wr>Collection
[00:26]<ofrf>Project2501a: I am building a chat client that has both public and private chats (like Mirc, in tabs like irc) and I wanted to be able to reuse the code for the chat so I create a generic Chat as a UserComponent and now my GUI feels verry sluggish
[00:26]<pzrrnrvqt0wr>Colletion <-- unordered set.
[00:26]<kjvjvrdr>humm
[00:27]<pzrrnrvqt0wr>OlaL: 30 bux says you've designed something wrong.
[00:27]<ofrf>Project2501a: Sorry, I mean UserControl
[00:27]<kjvjvrdr>thereis is ICollection but it's an interface
[00:28]<ofrf>Project2501a: But it is a good way to break out functionality to UserComponents? Or is there any other, better way of splitting different GUI parts?
[00:28]<pzrrnrvqt0wr>break out functionality?
[00:28]<pzrrnrvqt0wr>erh?
[00:29]<pzrrnrvqt0wr>Kototama: you want System.Collections.Collection
[00:29]<kjvjvrdr>it doesn't exist
[00:30]<znzznss_>I'm pulling down the source of a webpage, and then displaying it in a textbox. I then run some regular expressions on it, and display the results on a textbox beneath the first. But it takes a LONG time to do both, it seems, and my program is unresponsive in the meantime
[00:31]<znzznss_>I set the statuslabel epending on what's going on, but it never gets updated while these two parts are happening, the program doesn't get repainted, anything like that. I'ld like to have it be more responsive, how can I do this?
[00:31]<pzrrnrvqt0wr>regress_: read up on Application.DoWork()
[00:31]<znzznss_>k, sounds good
[00:32]<pzrrnrvqt0wr>you might also want to update your application manualy every now and then, by calling your form's .Refresh() method.
[00:32]<pzrrnrvqt0wr>Kototama: yes it does
[00:32]<pzrrnrvqt0wr>i'm using it as we speak. wtf.
[00:32]<pzrrnrvqt0wr>regress_: you could also display a progress bar.
[00:33]<znzznss_>Project2501a: I do have a progress bar added on there, just haven't used it at all
[00:33]<pzrrnrvqt0wr>well, you might want to
[00:33]<znzznss_>I'll give that a try...but I assumed it wouldn't regresh, just like the rest of the controls
[00:33]<pzrrnrvqt0wr>you need to learn about processing events :P
[00:33]<pzrrnrvqt0wr>and the Message Queue
[00:33]<pzrrnrvqt0wr>ok, Peztold Uber Alles
[00:33]<znzznss_>hmm, sounds like fun stuff
[00:33]<pzrrnrvqt0wr>it's the Win32 API
[00:33]<kjvjvrdr>you've got ICollection and CollectionBase but it's an interface and an abstract lass
[00:37]<pzrrnrvqt0wr>Kototama: looking
[00:55]<kjvjvrdr>^^
[00:56]<nnzjpfrr>how about just an array? oO
[00:56]<pzrrnrvqt0wr>heh
[00:56]<pzrrnrvqt0wr>yeah
[00:56]<pzrrnrvqt0wr>crazy suggestion :)
[00:57]<nnzjpfrr>I know.
[00:57]<nnzjpfrr>sometimes these sick c++ ideas just pop into my head...
[01:02]<nnzjpfrr>I'm wondering...
[01:03]<nnzjpfrr>why don't I have a workstation service? oO
[01:04]<pzrrnrvqt0wr>a what?
[01:05]<vxznrv>*shrugs*
[01:06]<nnzjpfrr>my debugger in visual studio complains that the workstation service isn't running...
[01:06]<nnzjpfrr>that's the one responsible for SMB connections and the likes...
[01:06]<kjvjvrdr>zeroflag: it's really more slow
[01:06]<vxznrv>zeroflag, ok, what does that have to do with compiling a program?
[01:06]<nnzjpfrr>Kototama: what is?
[01:07]<znzznss_>if I want to iterate through each entry in a CheckedListBox and see if it's checked or unchecked, how would I do it?
[01:07]<nnzjpfrr>threat: I can compile just fine, I just can't debug - and don't ask me why because I don't have the slightest clue...
[01:07]<nnzjpfrr>regress_: uhm? foreach?
[01:07]<kjvjvrdr>zeroflag: an array for accessing!
[01:08]<nnzjpfrr>Kototama: arrays are slower than what? O_o
[01:08]<vxznrv>zeroflag, lol that is just stupid
[01:08]<znzznss_>yeah, that's what I'm using right now, but the syntax of what I'm trying to do seems a bit wierd to me







