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: 1822.63 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-05-19
[05:16]<ggmzr>lol
[05:16]<kjr>you wrote a Winsock wrapper...? why
[05:16]<ggmzr>ive been doing VB6 for quite a while
[05:16]<ggmzr>I feel more comfortable that way
[05:16]<kjr>what's wrong with the stuff in .NET?
[05:16]<ggmzr>nothing, it uses the stuff in .NET it just makes it a hell of alot easier
[05:16]<kjr>so then why not use the System.IO objects? heh
[05:16]<ggmzr>like it launched a GotData giving me the direct data
[05:17]<ggmzr>I just started C#
[05:17]<ggmzr>this is seriously my first project
[05:17]<ggmzr>lol
[05:17]<kjr>GotData... yeah, I remember that
[05:17]<kjr>some dude wanted to write IRC services in VB6
[05:18]<kjr>(aside from The Wiz and Andrew Quick)
[05:18]<ggmzr>I remember andrew
[05:18]<ggmzr>I know the guy who wrote the vb ircd
[05:18]<kjr>endra: you ever read wircds.net?
[05:18]<ggmzr>yes
[05:18]<kjr>endra: recognize my nick?
[05:18]<ggmzr>used too maybe 2-3 years ago
[05:19]<ggmzr>looks familiar but cant say I remember exactly from where
[05:19]<kjr>me, mystro and mephisto used to run that site
[05:19]<kjr>mostly me and mstro
[05:19]<kjr>erm, mystro
[05:19]<ggmzr>cool cool
[05:19]<ggmzr>the 3 m's
[05:19]<kjr>endra: in proper grammar - Mystro, Mephisto and I used to run that site heh
[05:20]<ggmzr>in proper technical speech - Mystro, Mephisto and yourself used to operate the box in which the DNS of the domain wircds.net was pointed too.
[05:20]<ggmzr>im bored :-/
[05:20]<ggmzr>.ver
[05:20]<ggmzr-2jv>IRCBot version 0.1 by endra
[05:20]<kjr>naw, I just ran the forums
[05:20]<ggmzr>horay
[05:20]<kjr>you got your bot PING/PONG ok?
[05:20]<ggmzr>nah not yet
[05:21]<ggmzr>gonna do that now, its quite easy the way I built my classes
[05:21]<kjr>how do you do the parsing?
[05:21]<kjr>regex? split by string?
[05:21]<ggmzr>mostly split and arrays
[05:21]<ggmzr>not regex
[05:21]<ggmzr>if you want I can send you the source
[05:21]<ggmzr>maybe give me a few pointers -.-
[05:22]<kjr>no, that's quite alright... I've come to strongly dislike programming IRC related stuff
[05:22]<ggmzr>I dislike IRC :-/
[05:22]<ggmzr>Happens after like 9 years
[05:22]<ggmzr>I'm only 18 too :(
[05:22]<kjr>it took you 9 years to hate IRC? slow learner ;)
[05:23]<ggmzr>I was a kid when I started
[05:23]<ggmzr>and whenever I got bored I learned something knew
[05:23]<ggmzr>lol
[05:23]<ggmzr>not the IRC protocol itself but the activies on irc
[05:23]<kjr>I got bitter and jaded after quitting GamesNET in '02
[05:23]<kjr>because before that I just sat around talking w/ friends
[05:24]<ggmzr>I've never had a interest in gamesnet
[05:24]<zsvzj-->i'm learning c# using vs2005 express. basically, any time i generate an exception my (-simple-) app will hang, forcing an end task. any ideas?
[05:25]<zsvzj-->int i = 0; while (i < int.Parse(textBox1.Text)) { i++; }
[05:25]<zsvzj-->MessageBox.Show("The final value was: " + i.ToString());
[05:25]<zsvzj-->that's what i'm talking about -- if i put strings in the textbox, it throws and exception and then the app dies
[05:26]<kjr>probably an NPE
[05:26]<kjr>surround with a try/catch
[05:26]<ggmzr>what is an NPE?
[05:26]<kjr>null pointer exception
[05:26]<zsvzj-->it takes me to the right line number in vs, says it was an unhandled exception
[05:26]<ggmzr>ah ok
[05:26]<kjr>so handle it
[05:27]<ggmzr>astro do something like..
[05:27]<zsvzj-->right, i realize it can/should be handled
[05:27]<zsvzj-->it doesn't make sense to me that the app hangs 100% of the time after that though
[05:27]<ggmzr>int a; try { a = int.Parse(textBox1.text) } catch { a = 0 }
[05:27]<ggmzr>something like that
[05:28]<nvzzfzsv_>don't you have to catch something?
[05:28]<zsvzj-->i guess what i'm asking is, is it normal for an unhandled exception like this to hang the app instead of the operation just failing?
[05:28]<kjr>uh, you should probably catch (Exception e) { e.PrintStackTrace(); }
[05:28]<ggmzr>I never catch something cause I dont need to see the exception
[05:28]<ggmzr>really?
[05:28]<ggmzr>I just do try and catch
[05:28]<kjr>astro--: unhandled exceptions should kill your app
[05:28]<ggmzr>and it seems to work
[05:28]<kjr>endra: that is a catch...
[05:28]<ggmzr>yes but I dont have Exception e
[05:29]<ggmzr>I just do try { } catch { }
[05:29]<kjr>when you want to print the exception, it comes in hand
[05:29]<ggmzr>ah yea ok
[05:29]<ggmzr><endra> I never catch something cause I dont need to see the exception
[05:32]<ggmzr>hey
[05:32]<ggmzr>email_split = email.Split('@');
[05:32]<ggmzr>why doesn't this crash when there is no @
[05:33]<vj2nxe>why would it
[05:33]<ggmzr>it used too -.-
[05:33]<kjr>uh
[05:34]<ggmzr>well I figured it would cause it cant split
[05:34]<zsvzj-->ok, thanks for the advice all
[05:34]<vj2nxe>it simply tries to
[05:34]<vj2nxe>it doesn't HAVE to
[05:34]<nvzzfzsv_>hte split doesn't crash.
[05:34]<vj2nxe>but i have no idea with .net 1.1
[05:34]<zsvzj-->i was just curious because i'm learning from these learnvisualstudio wmv videos
[05:34]<vj2nxe>i never used .split in 1.1
[05:34]<ggmzr>its like.. cut this rope at 5 meters, and the rope is only 2 meters wrong. The cutters head is suppose to explode :-/
[05:34]<zsvzj-->and "his" stuff doesn't appear to crash post-exception







