** The two C# programs used during this class are displayed at the
bottom of this log **
[2009/02/05 12:29] Snowdrop Short: how many of you expect to
participate in the class?
[2009/02/05 12:29] paulie Flomar: I would like to.
[2009/02/05 12:29] Alyvaral Aeghin: back
[2009/02/05 12:29] Snowdrop Short: Hi Adelle
[2009/02/05 12:29] Snowdrop Short: wb
[2009/02/05 12:30] paulie Flomar: Howde, AA.
[2009/02/05 12:30] Alyvaral Aeghin: Hi Snowdrop!
[2009/02/05 12:30] Adelle Fitzgerald: helloo!
[2009/02/05 12:30] Alyvaral Aeghin: LOL, hi Paulie
[2009/02/05 12:30] Jeff 1564: i do
[2009/02/05 12:30] Snowdrop Short: are we ready?
[2009/02/05 12:30] Alyvaral Aeghin: It's Aly, Paulie
[2009/02/05 12:30] paulie Flomar: :)
[2009/02/05 12:30] paulie Flomar: yah
[2009/02/05 12:30] Snowdrop Short: so this is a beginners class
[2009/02/05 12:30] Snowdrop Short: beginning programming and
beginning c#
[2009/02/05 12:31] paulie Flomar: k
[2009/02/05 12:31] Jeff 1564: sweet
[2009/02/05 12:31] Snowdrop Short: well do these classes on
thursdays, in order to keep up with the lessons on the regular tuesday
classes
[2009/02/05 12:32] Snowdrop Short: have you all done your homework?
[2009/02/05 12:32] Jeff 1564: :)
[2009/02/05 12:32] Adelle Fitzgerald: yep :)
[2009/02/05 12:32] paulie Flomar: ?
[2009/02/05 12:32] Snowdrop Short smiles
[2009/02/05 12:32] Alyvaral Aeghin: my dog ate it
[2009/02/05 12:32] paulie Flomar: :)
[2009/02/05 12:32] Snowdrop Short: lol
[2009/02/05 12:32] Snowdrop Short: the homework assignment was to
download and install
[2009/02/05 12:33] Snowdrop Short: either Visual Studio C# express or
mono-develop
[2009/02/05 12:33] Snowdrop Short: depending on your choice of
operating system
[2009/02/05 12:33] Snowdrop Short: having done that will make things
easier
[2009/02/05 12:33] paulie Flomar: Oh. Sorry. I'll just listen,
then. :)
[2009/02/05 12:33] Alyvaral Aeghin: ok, I'll wing it ;p
[2009/02/05 12:34] Snowdrop Short: also that way you'll have the
opportunity to experiment a little
[2009/02/05 12:34] Snowdrop Short: I've been thinking about how to go
about this
[2009/02/05 12:34] Snowdrop Short: and decided that the best would be
to jump right into it
[2009/02/05 12:34] Snowdrop Short: is that ok with you?
[2009/02/05 12:35] Jeff 1564: 100%
[2009/02/05 12:35] Adelle Fitzgerald: yep :)
[2009/02/05 12:35] Snowdrop Short: from now on I'll just say IDE
[2009/02/05 12:35] Snowdrop Short: that's short for "Integrated
Development Environment"
[2009/02/05 12:35] Snowdrop Short: so that's either VS C# Express or
Mono-develop
[2009/02/05 12:36] Snowdrop Short: depending on what you have got
[2009/02/05 12:36] Snowdrop Short: if you haven't started your IDE, I
think you should
[2009/02/05 12:36] Snowdrop Short: let me know when you are ready
[2009/02/05 12:36] Adelle Fitzgerald: ready
[2009/02/05 12:36] Jeff 1564: here too
[2009/02/05 12:37] paulie Flomar: I'm installing VC# EX. Go ahead.
I'll catch up. :)
[2009/02/05 12:37] Snowdrop Short: ok...
[2009/02/05 12:37] Adelle Fitzgerald: Eagle is on his way, but I'm
keeping updated via IRC
[2009/02/05 12:37] Snowdrop Short: my computer may be a little slow
[2009/02/05 12:37] Snowdrop Short: I'm running quite a lot of
programs on it
[2009/02/05 12:38] paulie Flomar: Always happens just when ya
needit. :)
[2009/02/05 12:39] Adelle Fitzgerald: I thought this class was to
start at 21:00?
[2009/02/05 12:39] Adelle Fitzgerald: thats why I was late
[2009/02/05 12:39] Snowdrop Short: I thought so too
[2009/02/05 12:39] Snowdrop Short: but then I saw all the people and
thought I might have made a mistake
[2009/02/05 12:40] Snowdrop Short: I'll just do it twice to make up
for it :-)
[2009/02/05 12:40] Adelle Fitzgerald: hehe, I just came over to chat
to people
[2009/02/05 12:40] Adelle Fitzgerald: glad I did
[2009/02/05 12:40] Snowdrop Short: we can easily wait
[2009/02/05 12:40] BlueWall Slade will look fro a better system to
track these things
[2009/02/05 12:40] Charles Krinke: Everyone is "eager", SnowDrop. It
makes the heart soar.
[2009/02/05 12:41] Snowdrop Short: this is really quite an experiment
[2009/02/05 12:41] eaglefx Binder: Ops sorry i had region troubel
[2009/02/05 12:42] eaglefx Binder: .
[2009/02/05 12:43] Snowdrop Short: note my self, never start up a
virtual machine, while logged into a grid
[2009/02/05 12:43] paulie Flomar: Still installing D-Flat Express. :)
[2009/02/05 12:44] Snowdrop Short: lol
[2009/02/05 12:44] Adelle Fitzgerald chuckles
[2009/02/05 12:44] paulie Flomar: :)
[2009/02/05 12:44] Jeff 1564: I need to go to the bathroom :) brb
[2009/02/05 12:44] Starky Rubble: yikes I hought I was a half hour
early!
[2009/02/05 12:44] Snowdrop Short: actually there is a programming
language called f#
[2009/02/05 12:44] Starky Rubble: geez
[2009/02/05 12:44] Snowdrop Short: we are all too early
[2009/02/05 12:44] paulie Flomar: hehe
[2009/02/05 12:44] Snowdrop Short: Blue .. could you rez the box I
gave you
[2009/02/05 12:44] BlueWall Slade: long as they don't make one call
Bflat
[2009/02/05 12:44] Starky Rubble: ah good
[2009/02/05 12:45] robert omegamu: second that lol
[2009/02/05 12:45] Snowdrop Short: and add the script I gave you to
the box
[2009/02/05 12:45] Starky Rubble: so this is informal pre-class?
[2009/02/05 12:45] Snowdrop Short: that way everyone here will have a
copy of the programs we'll be looking at
[2009/02/05 12:45] Snowdrop Short: yes, lets call it that
[2009/02/05 12:46] paulie Flomar: Oh my. C# Ex setup crashed with an
error. Silleh Microsoft programs...
[2009/02/05 12:46] Starky Rubble: good cause i gotta get some stuff
done I just wanted to already be here lol
[2009/02/05 12:46] Starky Rubble: brb
[2009/02/05 12:46] Snowdrop Short: does my t-shirt have a logo?
[2009/02/05 12:46] BlueWall Slade: Snowdrop, try dropping it just
behind you?
[2009/02/05 12:46] paulie Flomar: not for me
[2009/02/05 12:46] Adelle Fitzgerald: newp
[2009/02/05 12:46] robert omegamu: not that i am looking at your
chest or anything but no :-)
[2009/02/05 12:47] Starky Rubble: what color do you want?
[2009/02/05 12:47] Snowdrop Short smiles
[2009/02/05 12:47] Snowdrop Short: good, you need to stay focused
[2009/02/05 12:47] Starky Rubble: thats prolly just textures
[2009/02/05 12:48] Starky Rubble: use the one I just gave you
[2009/02/05 12:48] Starky Rubble: tis better
[2009/02/05 12:48] Starky Rubble: there is one at the end of the
square
[2009/02/05 12:49] Snowdrop Short: that's the one I used
[2009/02/05 12:49] Starky Rubble: there were serius issues with perms
and all yesterday which caused confusion - siorry bout that
[2009/02/05 12:49] Snowdrop Short: thanks Starky
[2009/02/05 12:49] Starky Rubble: this one
[2009/02/05 12:49] Starky Rubble: brb
[2009/02/05 12:50] Starky Rubble: oh crap you cant move it
[2009/02/05 12:51] Snowdrop Short: the white one seems to have no
texture
[2009/02/05 12:52] Alyvaral Aeghin: I gotta run, bbl ;-)
[2009/02/05 12:52] paulie Flomar: bye
[2009/02/05 12:52] Snowdrop Short: see ya
[2009/02/05 12:52] eaglefx Binder: we cant take it
[2009/02/05 12:52] Jeff 1564: i cant take it
[2009/02/05 12:53] Snowdrop Short: great .. orange and white
[2009/02/05 12:53] Snowdrop Short: how about right click and open?
[2009/02/05 12:53] eaglefx Binder: nope
[2009/02/05 12:53] Jeff 1564: no
[2009/02/05 12:54] Snowdrop Short sighs
[2009/02/05 12:54] Jeff 1564: what about sell it
[2009/02/05 12:54] Jeff 1564: contents
[2009/02/05 12:54] eaglefx Binder: yes i will bid 1OL
[2009/02/05 12:54] Adelle Fitzgerald: 20!
[2009/02/05 12:54] eaglefx Binder: hehe
[2009/02/05 12:54] eaglefx Binder: 30
[2009/02/05 12:54] Jeff 1564: :)
[2009/02/05 12:54] Adelle Fitzgerald: 100l!
[2009/02/05 12:54] Jeff 1564: 101.5
[2009/02/05 12:54] paulie Flomar: Well, my VC# EX installation is
crashing like a sick dawg. Once again, I'll just listen. I'll try to
get it working for next time.
[2009/02/05 12:54] eaglefx Binder: 1000 i'm gonna be broke
[2009/02/05 12:54] Snowdrop Short: hey, it's not at date with me
[2009/02/05 12:54] eaglefx Binder: lol
[2009/02/05 12:55] Primitive: Script running
[2009/02/05 12:55] Snowdrop Short: it's just a few note cards :)
[2009/02/05 12:55] eaglefx Binder: allrighty
[2009/02/05 12:55] Adelle Fitzgerald: only 1000 for date? *giggles*
[2009/02/05 12:55] eaglefx Binder: haha
[2009/02/05 12:55] Snowdrop Short: money is quite cheap in here :)
[2009/02/05 12:55] Snowdrop Short: any luck?
[2009/02/05 12:56] Snowdrop Short: the contents of this box is going
to be the center of our talk today
[2009/02/05 12:57] Jeff 1564: i can make the box if you give te docs
to me.
[2009/02/05 12:57] eaglefx Binder: well i can only delete it ;)
[2009/02/05 12:58] Adelle Fitzgerald: gotcha
[2009/02/05 12:58] Adelle Fitzgerald: oops
[2009/02/05 12:58] Starky Rubble: its fully permed and set to a buck
lol
[2009/02/05 12:58] Snowdrop Short: I think it might be because I set
the notecards to no mod
[2009/02/05 12:58] Snowdrop Short: maybe that's it
[2009/02/05 12:58] Jeff 1564: i will go to a sandbox and brb
[2009/02/05 12:59] Snowdrop Short: that way people won't accidentally
delete the sample programs
[2009/02/05 13:00] Snowdrop Short: I gave jeff 5 notecards
[2009/02/05 13:00] Snowdrop Short: actually I have 6, but the last
one is meant to be a bit of a surprise
[2009/02/05 13:00] Snowdrop Short: so I'll hang on to it for a little
while
[2009/02/05 13:00] Snowdrop Short: did anybody see the video I gave
you a link to last time?
[2009/02/05 13:01] Adelle Fitzgerald: the beginners thing?
[2009/02/05 13:01] Snowdrop Short: yes
[2009/02/05 13:01] Adelle Fitzgerald: yep :)
[2009/02/05 13:01] paulie Flomar: no
[2009/02/05 13:01] robert omegamu: yep watched it aswell
[2009/02/05 13:01] Adelle Fitzgerald: i even did that same app as on
the video
[2009/02/05 13:01] Snowdrop Short: what did you think, was it any
good?
[2009/02/05 13:01] Adelle Fitzgerald: and published it
[2009/02/05 13:01] Adelle Fitzgerald: and installed and ran it hehe
[2009/02/05 13:01] Snowdrop Short smiles
[2009/02/05 13:01] Adelle Fitzgerald: it helped a lot
[2009/02/05 13:01] Snowdrop Short: good
[2009/02/05 13:02] robert omegamu: i got confused at hello eric lol
[2009/02/05 13:02] Snowdrop Short smiles
[2009/02/05 13:02] Adelle Fitzgerald: then ckrinke threw the LSL bit
of opensim at me, so I looked at that...
[2009/02/05 13:02] eaglefx Binder: i tried to open up all the
OpenSIm, but PHEEEEEEEEEEEEEW what a whole lot of stuff ... i hurried
close it again ;)
[2009/02/05 13:02] Snowdrop Short: Eric Gunnarsen is a compatriot of
mine
[2009/02/05 13:03] Starky Rubble: no the log just showed uplast night
[2009/02/05 13:03] Snowdrop Short smiles
[2009/02/05 13:03] Jeff 1564: the docs still loading for ever
[2009/02/05 13:03] Snowdrop Short: it is big
[2009/02/05 13:03] eaglefx Binder: i think i will never find anything
in the right pane
[2009/02/05 13:03] Snowdrop Short: one of the tricks of programming
is focussing on only a few things
[2009/02/05 13:03] Snowdrop Short: so don't let the size ooverwhelm
you
[2009/02/05 13:04] Adelle Fitzgerald nods
[2009/02/05 13:04] eaglefx Binder: ok i have some LDAP stuff that i
wanna focus on, i found some good examples
[2009/02/05 13:04] eaglefx Binder: ;)
[2009/02/05 13:04] Adelle Fitzgerald: i can see how C# is broken down
into little bits, much like lsl, the syntax is similar too
[2009/02/05 13:05] Starky Rubble: C# seems a lot lot my old MS Access
stuff - even to the forms
[2009/02/05 13:05] Starky Rubble: is it just VBA reimagined?
[2009/02/05 13:05] Snowdrop Short: actually c# is very much inspired
by Java
[2009/02/05 13:06] Snowdrop Short: and inspired by Java
[2009/02/05 13:06] Snowdrop Short: java on the otherhand has much
inspiration from c++
[2009/02/05 13:06] Snowdrop Short: which is an extension to c
[2009/02/05 13:07] Starky Rubble: K&R
[2009/02/05 13:07] Snowdrop Short: which was an extension to A
[2009/02/05 13:07] Snowdrop Short: which was created by some people
who hated Fortran and Cobol
[2009/02/05 13:07] Starky Rubble: right
[2009/02/05 13:07] paulie Flomar: there was no B?
[2009/02/05 13:07] Snowdrop Short: Cobol was made in disgust of
Fortrans as welll
[2009/02/05 13:07] Snowdrop Short: yes
[2009/02/05 13:08] Snowdrop Short: which grew into Beta
[2009/02/05 13:08] Snowdrop Short: :-)
[2009/02/05 13:08] Starky Rubble: Yep
[2009/02/05 13:08] paulie Flomar: fascinating :)
[2009/02/05 13:08] Starky Rubble: history
[2009/02/05 13:08] eaglefx Binder:
http://www.novell.com/coolsolutions/feature/11204.html,
i'm gonna have a look into this one here and see if that can be used
for any.
[2009/02/05 13:08] Snowdrop Short: and Fortran was the first
programming language ever made
[2009/02/05 13:09] Snowdrop Short: lets try this one
[2009/02/05 13:09] Starky Rubble: And Cobol the first by a woman
wasn't it?
[2009/02/05 13:09] Snowdrop Short: more luck?
[2009/02/05 13:09] Object does not appear to be for sale.
[2009/02/05 13:09] Object does not appear to be for sale.
[2009/02/05 13:09] Snowdrop Short: hehe
[2009/02/05 13:09] eaglefx Binder: it is not for sale
[2009/02/05 13:09] robert omegamu: yup not for sale lol
[2009/02/05 13:09] eaglefx Binder: bid again? ;)
[2009/02/05 13:09] Adelle Fitzgerald chuckles
[2009/02/05 13:09] Starky Rubble: just pass it out?
[2009/02/05 13:09] eaglefx Binder: YAY
[2009/02/05 13:10] eaglefx Binder: it works
[2009/02/05 13:10] Snowdrop Short: Cobol was made by IBM, the first
attempt of using natural language
[2009/02/05 13:10] Starky Rubble: like mimeos?
[2009/02/05 13:10] Adelle Fitzgerald: i got a box, not the contents :
(
[2009/02/05 13:10] Snowdrop Short: I don't know mimeos
[2009/02/05 13:10] robert omegamu: can some one send me os$10 i seem
to be empty lol
[2009/02/05 13:10] eaglefx Binder: can we rezz the box here
[2009/02/05 13:10] eaglefx Binder: no
[2009/02/05 13:10] Snowdrop Short: the other day I had -999,999
[2009/02/05 13:11] Starky Rubble: mimeos were before copiers
[2009/02/05 13:11] robert omegamu: whoo ho that worked lol
[2009/02/05 13:11] Starky Rubble: smelled funny in the classroom lol
[2009/02/05 13:11] Jeff 1564: i gess now is working
[2009/02/05 13:11] Snowdrop Short: lol
[2009/02/05 13:11] Snowdrop Short: I think it was to do with next
owner no mod
[2009/02/05 13:12] Snowdrop Short: maybe we should check if it is a
bug in the server
[2009/02/05 13:12] Snowdrop Short: ... after class that is
[2009/02/05 13:12] Snowdrop Short looks stern
[2009/02/05 13:12] eaglefx Binder: cant be ;)
[2009/02/05 13:12] Adelle Fitzgerald: can you set its 'contents' for
sale, not the 'copy'
[2009/02/05 13:12] Starky Rubble: Ok but I have not gotten the
scripts yet
[2009/02/05 13:12] BlueWall Slade: ok, I'll make a giver real quick
[2009/02/05 13:12] Snowdrop Short: done
[2009/02/05 13:12] eaglefx Binder: we get only a Class object
[2009/02/05 13:12] Snowdrop Short: contents is for sale
[2009/02/05 13:13] Adelle Fitzgerald: wheee
[2009/02/05 13:13] Adelle Fitzgerald D
[2009/02/05 13:13] eaglefx Binder: yes now
[2009/02/05 13:13] Snowdrop Short: sorry I've never really been into
all this selling of stuff
[2009/02/05 13:13] paulie Flomar: We're on teh bleedin edge, here!
Woot.
[2009/02/05 13:13] Snowdrop Short: neither in here nor in the LL grid
[2009/02/05 13:13] eaglefx Binder: hehe
[2009/02/05 13:14] Snowdrop Short: should we 5 minutes to start or do
you want to start now?
[2009/02/05 13:14] eaglefx Binder: the notes do not open up :((
[2009/02/05 13:14] eaglefx Binder: loading ....
[2009/02/05 13:14] Snowdrop Short sighs
[2009/02/05 13:14] robert omegamu: notes just show as loading lol
[2009/02/05 13:14] Jeff 1564: let me see
[2009/02/05 13:15] Jeff 1564: same here
[2009/02/05 13:15] eaglefx Binder: yeeee haaaa
[2009/02/05 13:15] Starky Rubble: now is fine I just want the
material
[2009/02/05 13:15] paulie Flomar: Don wait for me. I'm sloggin
through upgrading to .Net 3.5 SP1.
[2009/02/05 13:15] Snowdrop Short: ok
[2009/02/05 13:15] Snowdrop Short: let's forget about that for now
[2009/02/05 13:15] Snowdrop Short: I will hand them out when we need
them
[2009/02/05 13:15] Starky Rubble: buying isnt working
[2009/02/05 13:15] Starky Rubble: good
[2009/02/05 13:15] paulie Flomar: heh
[2009/02/05 13:15] Adelle Fitzgerald: could you pasetbin it for us,
program by program? if the notes dont load?
[2009/02/05 13:16] Snowdrop Short: good suggestion
[2009/02/05 13:16] paulie Flomar: yeah
[2009/02/05 13:16] Jeff 1564: good one adlelle
[2009/02/05 13:16] Snowdrop Short: does everybody know what that
means
[2009/02/05 13:16] paulie Flomar: yep
[2009/02/05 13:16] eaglefx Binder: yep
[2009/02/05 13:16] Starky Rubble: nope
[2009/02/05 13:16] Snowdrop Short: ok
[2009/02/05 13:16] M1sha Dallin: nope
[2009/02/05 13:16] BlueWall Slade: the perms are still no copy, no
mod, no transfer
[2009/02/05 13:16] Snowdrop Short: a pastebin, is a place on the
internet
[2009/02/05 13:16] Snowdrop Short: where you can upload some text
[2009/02/05 13:16] Snowdrop Short: and it will be stored there,
temporarily
[2009/02/05 13:16] Snowdrop Short: you are given an URL
[2009/02/05 13:17] Snowdrop Short: and you can give that URL to
others
[2009/02/05 13:17] Snowdrop Short: and then they can see the text you
uploaded
[2009/02/05 13:17] Starky Rubble: hmmph
[2009/02/05 13:17] Adelle Fitzgerald: people use it on IRC a lot for
sharing things like opensim.ini and long error messages
[2009/02/05 13:17] Snowdrop Short: I would have preferred to use
OpenSim Technology
[2009/02/05 13:17] Starky Rubble: yes
[2009/02/05 13:18] eaglefx Binder: whats with these notes here, why
do they not load? server issues?
[2009/02/05 13:18] Snowdrop Short: I don't know
[2009/02/05 13:18] Snowdrop Short: we'll try to figure out later :-)
[2009/02/05 13:18] Starky Rubble: ok
[2009/02/05 13:18] Snowdrop Short: so has everybody got their IDE
started?
[2009/02/05 13:19] Jeff 1564: yea
[2009/02/05 13:19] Adelle Fitzgerald: yep
[2009/02/05 13:19] Snowdrop Short: ok
[2009/02/05 13:19] Snowdrop Short: the way I plan for this to happen
is
[2009/02/05 13:19] Snowdrop Short: that I'll show you a program
[2009/02/05 13:19] Snowdrop Short: and then you and the person next
to you will dicuss it in IM
[2009/02/05 13:20] Snowdrop Short: and figure out what it does,
[2009/02/05 13:20] Snowdrop Short: maybe run it
[2009/02/05 13:20] Snowdrop Short: and then we'll talk about it
[2009/02/05 13:20] Snowdrop Short: in here
[2009/02/05 13:20] Snowdrop Short: we'll start with something very
simple
[2009/02/05 13:20] Snowdrop Short: (I didn't know where to start
really)
[2009/02/05 13:20] Jeff 1564: hello C# :)
[2009/02/05 13:21] Snowdrop Short: and then progress from there to
something a little more comples
[2009/02/05 13:21] Snowdrop Short: complex, even
[2009/02/05 13:21] Snowdrop Short: the first one is a classic, with
just a very minor twist
[2009/02/05 13:21] Snowdrop Short: so start up, and create a new c#
console project
[2009/02/05 13:22] eaglefx Binder: empty one?
[2009/02/05 13:22] Jeff 1564: ready
[2009/02/05 13:22] Simulator Version v0.5 shouts: OpenSimulator
Server 0.6.2.8236 (OS Microsoft Windows NT 5.2.3790 Service Pack 2)
ChilTasks:True PhysPrim:True
[2009/02/05 13:22] Snowdrop Short: Console Project, in VS C# Express
[2009/02/05 13:22] eaglefx Binder: there is a whole bunch of
templates
[2009/02/05 13:22] Adelle Fitzgerald: ready
[2009/02/05 13:22] M1sha Dallin: ready
[2009/02/05 13:22] robert omegamu: ready
[2009/02/05 13:23] Starky Rubble: just a blank one?
[2009/02/05 13:23] eaglefx Binder: mine it is called console
application i have 2008
[2009/02/05 13:23] Snowdrop Short: not a blank one
[2009/02/05 13:23] Snowdrop Short: a "Consol Project"
[2009/02/05 13:23] Starky Rubble: Ok
[2009/02/05 13:23] eaglefx Binder: ok
[2009/02/05 13:23] Jeff 1564: go file
[2009/02/05 13:23] Snowdrop Short: blank/empty will not work
[2009/02/05 13:23] Jeff 1564: new project
[2009/02/05 13:24] Jeff 1564: console application
[2009/02/05 13:24] Snowdrop Short: in your IDE you should see some
files
[2009/02/05 13:24] eaglefx Binder: yes thats what i too
[2009/02/05 13:24] eaglefx Binder: k
[2009/02/05 13:24] Snowdrop Short: yes, console application
[2009/02/05 13:24] eaglefx Binder: allrighty
[2009/02/05 13:24] Snowdrop Short: forget about all of them, except
the Main.cs
[2009/02/05 13:24] Snowdrop Short: that's the interesting one
[2009/02/05 13:25] M1sha Dallin: program.cs?
[2009/02/05 13:25] Jeff 1564: 2080
[2009/02/05 13:25] Jeff 1564: 2008
[2009/02/05 13:25] Jeff 1564: ues
[2009/02/05 13:25] eaglefx Binder: yes thats mine too
[2009/02/05 13:25] Jeff 1564 whispers: yes
[2009/02/05 13:25] Snowdrop Short: 2008
[2009/02/05 13:25] Snowdrop Short: but 2005 will work fine too
[2009/02/05 13:25] Jeff 1564: yes program.cs
[2009/02/05 13:25] M1sha Dallin: ok
[2009/02/05 13:25] Snowdrop Short: program.cs in MS
[2009/02/05 13:25] Snowdrop Short: Main.cs in MD
[2009/02/05 13:25] Starky Rubble: ahh... ok
[2009/02/05 13:26] eaglefx Binder: why dont these classes goes with
voices, maybe a little easier ;)
[2009/02/05 13:26] Snowdrop Short gave you Program1.
[2009/02/05 13:27] Snowdrop Short: anybody not with me, so far?
[2009/02/05 13:27] paulie Flomar: got the note. it's "loading..."
[2009/02/05 13:27] Starky Rubble: loading...
[2009/02/05 13:27] robert omegamu: same here note loading
[2009/02/05 13:27] M1sha Dallin: loading.... here too
[2009/02/05 13:27] Starky Rubble: sressing the asset server
[2009/02/05 13:27] Starky Rubble: we need gameshow music
[2009/02/05 13:27] Starky Rubble: still
[2009/02/05 13:28] Adelle Fitzgerald: notecard isnt working :-/
[2009/02/05 13:28] robert omegamu: hold on i think we may have lost
one or two lol
[2009/02/05 13:28] M1sha Dallin: :-)
[2009/02/05 13:28] Snowdrop Short: jeff will give you an URL for a
place to go get it
[2009/02/05 13:29] paulie Flomar: still "loading..."
[2009/02/05 13:29] paulie Flomar: ok
[2009/02/05 13:29] paulie Flomar: uh oh
[2009/02/05 13:29] paulie Flomar: ...
[2009/02/05 13:29] Snowdrop Short: auch .. if we crash
[2009/02/05 13:30] Adelle Fitzgerald: .
[2009/02/05 13:30] paulie Flomar: whew. chat lag.
[2009/02/05 13:30] Snowdrop Short: we shoudl meet here in 5
[2009/02/05 13:31] paulie Flomar: I'm gonna log to decrease stress on
this regions since I donty have the IDE installed anyway. Yall
continue. :)
[2009/02/05 13:31] Adelle Fitzgerald: hmm
[2009/02/05 13:39] M1sha Dallin: Hi again
[2009/02/05 13:39] eaglefx Binder: Hola
[2009/02/05 13:40] Snowdrop Short: hi
[2009/02/05 13:40] BlueWall Slade: Hi
[2009/02/05 13:40] Snowdrop Short: I think nextime we should plan for
a backup sim
[2009/02/05 13:40] Jeff 1564: hehe
[2009/02/05 13:40] eaglefx Binder: well or on a sim you rule ;)
[2009/02/05 13:40] Adelle Fitzgerald: one of Charles's maybe?
[2009/02/05 13:41] Starky Rubble: or Zaius
[2009/02/05 13:41] eaglefx Binder: how about making a community one
called colleuge ;)
[2009/02/05 13:41] Starky Rubble: Its in the works
[2009/02/05 13:41] Adelle Fitzgerald: that would eb cool, but can
chat about that after
[2009/02/05 13:41] BlueWall Slade gave you OSG Sandbox.
[2009/02/05 13:41] eaglefx Binder: thanks Blue
[2009/02/05 13:42] BlueWall Slade: sure
[2009/02/05 13:42] M1sha Dallin: yep ty
[2009/02/05 13:42] Starky Rubble: Good idea
[2009/02/05 13:42] BlueWall Slade: it seems more stable now
[2009/02/05 13:42] robert omegamu: shhh dont say that blue lol
[2009/02/05 13:42] eaglefx Binder: yep i changed some code while you
guys crashed .. hehe
[2009/02/05 13:43] M1sha Dallin: still no notecard though
[2009/02/05 13:43] Starky Rubble: yeah but still loading
[2009/02/05 13:43] eaglefx Binder: well okay joking, we ended with
opening that Console Application. i think didnt we.
[2009/02/05 13:44] eaglefx Binder: hello ping
[2009/02/05 13:44] Starky Rubble: passing the notecard out was the
last thing
[2009/02/05 13:45] Starky Rubble: pong
[2009/02/05 13:45] eaglefx Binder: ok
[2009/02/05 13:45] eaglefx Binder: ok yes right and we couldent open
those either
[2009/02/05 13:46] Adelle Fitzgerald: did Snowdrop crash?
[2009/02/05 13:46] robert omegamu: still there snow
[2009/02/05 13:47] Starky Rubble: still loading
[2009/02/05 13:47] Adelle Fitzgerald: yep
[2009/02/05 13:47] eaglefx Binder: yes she crashed
[2009/02/05 13:47] BlueWall Slade: <poof>
[2009/02/05 13:47] robert omegamu: hmmm guess not lol
[2009/02/05 13:47] robert omegamu: party time teacher has gone who
has the drinks
[2009/02/05 13:47] eaglefx Binder: yooohoooo
[2009/02/05 13:47] Adelle Fitzgerald: lol
[2009/02/05 13:47] Jeff 1564:
http://www.youtube.com/watch?v=O_HjFVFkSe4
[2009/02/05 13:47] eaglefx Binder: shhhh she si back
[2009/02/05 13:47] eaglefx Binder: ;)
[2009/02/05 13:47] robert omegamu: hide the drinks :-P
[2009/02/05 13:48] eaglefx Binder: lol
[2009/02/05 13:48] Adelle Fitzgerald: im gonna look into making a sim
heartbeat hud thingy, so if it stops beating you know you have crashed
[2009/02/05 13:48] Snowdrop Short: okay
[2009/02/05 13:48] eaglefx Binder: cant the lagmeter tell?
[2009/02/05 13:48] Snowdrop Short: where were we?
[2009/02/05 13:49] M1sha Dallin: opening the notecard
[2009/02/05 13:49] Adelle Fitzgerald: we just created a new project
[2009/02/05 13:49] eaglefx Binder: yeps
[2009/02/05 13:49] robert omegamu: unable to open program one lol
[2009/02/05 13:49] eaglefx Binder: post it on the wiki
[2009/02/05 13:49] eaglefx Binder: i have a wiki too
[2009/02/05 13:50] robert omegamu: ..
[2009/02/05 13:50] Starky Rubble: hee first it was the "how to say a
time" hurdle
[2009/02/05 13:51] Snowdrop Short: ok
[2009/02/05 13:51] Starky Rubble: now "passing out class notes"
[2009/02/05 13:51] Snowdrop Short: I think I'm back now
[2009/02/05 13:51] Snowdrop Short: Jeff will pass out a pastebin URL
[2009/02/05 13:51] Snowdrop Short: delete all the text in Program.cs
or Main.cs depending on you ide
[2009/02/05 13:52] Snowdrop Short: and insert the text from the
pastebin
[2009/02/05 13:52] Adelle Fitzgerald nods
[2009/02/05 13:52] robert omegamu: ok
[2009/02/05 13:52] Starky Rubble: k
[2009/02/05 13:53] Snowdrop Short:
http://www.pastebin.ca/1328383
[2009/02/05 13:53] Snowdrop Short: here it is
[2009/02/05 13:53] Snowdrop Short: I know this program is very simple
[2009/02/05 13:53] Snowdrop Short: but we have to start somewhere
[2009/02/05 13:53] Snowdrop Short: M1sha and Starky
[2009/02/05 13:54] Snowdrop Short: I suggest you IM together
[2009/02/05 13:54] Snowdrop Short: eaglefx and jeff you are a team
[2009/02/05 13:54] Starky Rubble: yep
[2009/02/05 13:54] Snowdrop Short: and Adelle and robert are a team
[2009/02/05 13:54] eaglefx Binder: ok
[2009/02/05 13:54] Jeff 1564: ready here
[2009/02/05 13:54] Snowdrop Short: IM together, and discuss it
between you
[2009/02/05 13:54] Adelle Fitzgerald: if you get trouble with
pastebin putting the line numbers in, there is a 'raw' button at top
rist of web page, click that then copy/paste
[2009/02/05 13:54] Snowdrop Short: and then yell out when you are
ready for a discussion in open forum
[2009/02/05 13:55] Snowdrop Short: let me know if you have any
problems
[2009/02/05 13:56] Jeff 1564: we have a namespace Lesson1
[2009/02/05 13:56] Starky Rubble: Should we run it?
[2009/02/05 13:56] Jeff 1564: ops..
[2009/02/05 13:56] Snowdrop Short: if you want to
[2009/02/05 13:56] Snowdrop Short: maybe that can help you understand
it better
[2009/02/05 13:57] Starky Rubble: I love hello World but i don't see
how to run it it MS 2008
[2009/02/05 13:57] Snowdrop Short: what goes wrong?
[2009/02/05 13:57] eaglefx Binder: i just pasted it over all of the
new project page was that tryue?
[2009/02/05 13:58] Adelle Fitzgerald: Starky, top menu: debug -->
start without debugging
[2009/02/05 13:58] Adelle Fitzgerald: or hit F5
[2009/02/05 13:58] Snowdrop Short smiles
[2009/02/05 13:58] Adelle Fitzgerald: i mean ctrl + F5
[2009/02/05 13:58] Starky Rubble: heh
[2009/02/05 13:58] Snowdrop Short: that is part of the excercise
[2009/02/05 13:58] Snowdrop Short: learning to use the IDE
[2009/02/05 13:59] Snowdrop Short: it is quite an excercise, just
like learning a word processor or drawing program
[2009/02/05 13:59] Snowdrop Short: ctrl-f5 on MS
[2009/02/05 14:00] Jeff 1564: Console.ReadKey();
[2009/02/05 14:00] eaglefx Binder: Dang man it works :P
[2009/02/05 14:00] eaglefx Binder: yuuhoo
[2009/02/05 14:00] Snowdrop Short: yes, what about it?
[2009/02/05 14:00] Snowdrop Short: the Console.ReadKey();
[2009/02/05 14:00] eaglefx Binder: well i didnt know how it would,
but i see thats pretty cool
[2009/02/05 14:01] Snowdrop Short: what happens when you run it is
that it is converted into machine language
[2009/02/05 14:01] Snowdrop Short: and executed by the cpu
[2009/02/05 14:02] M1sha Dallin: It runs fine- but syntax is not
clear compared with Ada or Ada95
[2009/02/05 14:02] Snowdrop Short: (I've skipped a few steps, but we
must crawl before we walk)
[2009/02/05 14:02] Snowdrop Short: has everybody gotten it to run?
[2009/02/05 14:02] robert omegamu: yes
[2009/02/05 14:02] Starky Rubble: we have
[2009/02/05 14:02] Snowdrop Short: on Mono-Develop
[2009/02/05 14:02] Jeff 1564: :)
[2009/02/05 14:02] Snowdrop Short: you have to run it from the
command line
[2009/02/05 14:03] Snowdrop Short: ok
[2009/02/05 14:03] Snowdrop Short: are we ready to debate the
program?
[2009/02/05 14:03] eaglefx Binder: sure
[2009/02/05 14:03] Starky Rubble: Sure
[2009/02/05 14:03] Jeff 1564: i do
[2009/02/05 14:03] M1sha Dallin: yep
[2009/02/05 14:03] Adelle Fitzgerald: yeppers
[2009/02/05 14:04] Snowdrop Short: Ok .. we'll start from the inside
and work our way out
[2009/02/05 14:04] Snowdrop Short: what does:
"Console.WriteLine....." do?
[2009/02/05 14:04] Jeff 1564: hello world in your console
[2009/02/05 14:04] robert omegamu: it writes hello world
[2009/02/05 14:04] Starky Rubble: wriets a line to the console
[2009/02/05 14:04] M1sha Dallin: write the string parameter
[2009/02/05 14:05] Snowdrop Short: yes
[2009/02/05 14:05] Adelle Fitzgerald: it writes the message string
between the quotes tot eh console
[2009/02/05 14:05] Jeff 1564: M1sha PRO :)
[2009/02/05 14:05] Snowdrop Short: the string, the text in the
quotes, is written to the console
[2009/02/05 14:05] eaglefx Binder: ir read the key typed
[2009/02/05 14:05] Starky Rubble: and a linefeed
[2009/02/05 14:05] Snowdrop Short: we are using a simple constant
string
[2009/02/05 14:06] eaglefx Binder: it should print type your input ;)
[2009/02/05 14:06] Snowdrop Short: do you have a "Console.ReadLine
();" as well?
[2009/02/05 14:06] Adelle Fitzgerald: no
[2009/02/05 14:07] eaglefx Binder: no
[2009/02/05 14:07] Snowdrop Short: ok
[2009/02/05 14:07] robert omegamu: no
[2009/02/05 14:07] Snowdrop Short: let's forget about that one
[2009/02/05 14:07] eaglefx Binder: it was a suggestion
[2009/02/05 14:07] Snowdrop Short: what does the semicolon do?
[2009/02/05 14:07] robert omegamu: tells it to move to the next line
[2009/02/05 14:07] eaglefx Binder: end of line ?
[2009/02/05 14:07] Starky Rubble: ends the line of code
[2009/02/05 14:07] Adelle Fitzgerald: it denotes the end of that
current command
[2009/02/05 14:07] Jeff 1564: is better if your not in runnign from
the console
[2009/02/05 14:07] eaglefx Binder: using system; whats that?
[2009/02/05 14:08] Snowdrop Short: yes, it marks the end of the
"statement"
[2009/02/05 14:08] Snowdrop Short: actually it's not the line
[2009/02/05 14:08] Snowdrop Short: you can have several statements on
a line
[2009/02/05 14:08] Snowdrop Short: although that isn't common
[2009/02/05 14:08] Snowdrop Short: and sometimes frowned upon by the
pro's
[2009/02/05 14:09] eaglefx Binder: what are the first 3 lines? doing?
[2009/02/05 14:09] eaglefx Binder: 4 maybe
[2009/02/05 14:09] Snowdrop Short: lets work our way out
[2009/02/05 14:09] eaglefx Binder: ok
[2009/02/05 14:09] Snowdrop Short: what does the { and } mean?
[2009/02/05 14:09] Starky Rubble: code block wrappers
[2009/02/05 14:10] Jeff 1564: open and close a function etc...
[2009/02/05 14:10] eaglefx Binder: tuborg klammer ,) hehe
[2009/02/05 14:10] Snowdrop Short: in danish, yes
[2009/02/05 14:10] M1sha Dallin: delimit a block?
[2009/02/05 14:10] Starky Rubble: What I used to call a procedure or
a function
[2009/02/05 14:10] Snowdrop Short: curly braces in english
[2009/02/05 14:10] robert omegamu: begin and end of statment
[2009/02/05 14:10] Snowdrop Short: yes, they delimit a block of
statments
[2009/02/05 14:10] Adelle Fitzgerald: curly braces that show the
start and end of that particular statement
[2009/02/05 14:10] eaglefx Binder: allrighty
[2009/02/05 14:10] Adelle Fitzgerald: ahh statements
[2009/02/05 14:10] Adelle Fitzgerald: :)
[2009/02/05 14:11] Snowdrop Short: { tells the compiler that now it
will encounter a list of statements
[2009/02/05 14:11] Snowdrop Short: and the } indicates, an end to the
list
[2009/02/05 14:11] Snowdrop Short: so a block { } can have multiple
statements, each of them separated by semicolons
[2009/02/05 14:11] Starky Rubble: sets the scope of the block?
[2009/02/05 14:12] Snowdrop Short: that too, although we'll hold off
on scope for a few days
[2009/02/05 14:12] eaglefx Binder: so why aint there any above the
namespace then?
[2009/02/05 14:12] Snowdrop Short: because that is the outer block
[2009/02/05 14:12] Snowdrop Short: the outer MOST block, even
[2009/02/05 14:12] eaglefx Binder: ok, well
[2009/02/05 14:13] Hello Metaverse!
[2009/02/05 14:13] Snowdrop Short: a lot of the things we write in
the code, is there to make life easier for the compiler
[2009/02/05 14:13] eaglefx Binder: and those are blue for some
reason?
[2009/02/05 14:13] Snowdrop Short: the program which tranlates from
c# into machine code
[2009/02/05 14:13] eaglefx Binder: ah i know machine code ;)
[2009/02/05 14:13] Jeff 1564: public static void Main(string[] args)
inisde class MainClass inside namespace Lesson01
[2009/02/05 14:13] Snowdrop Short: the colors are there to help you
see what is where
[2009/02/05 14:13] eaglefx Binder: ok
[2009/02/05 14:14] eaglefx Binder: sorry if i'm too newbie, but how
else to learn ;)
[2009/02/05 14:14] Snowdrop Short: when you get a little more used to
the IDE, the colors helps guide your eyes
[2009/02/05 14:14] Snowdrop Short: the only dumb question, it the
question not asked
[2009/02/05 14:14] eaglefx Binder: okay np
[2009/02/05 14:14] Snowdrop Short: that's why we are here, to have
our questions answered
[2009/02/05 14:15] eaglefx Binder: but looks like i can use this for
something
[2009/02/05 14:15] Snowdrop Short: so what is the "public static void
Main(string[] arg]) all about?
[2009/02/05 14:15] eaglefx Binder: i didnt know you could make a
console application this easy
[2009/02/05 14:16] eaglefx Binder: some microsoft thing?
[2009/02/05 14:16] Snowdrop Short: Mono has it too
[2009/02/05 14:16] Snowdrop Short: and it is an absolute must
[2009/02/05 14:16] Adelle Fitzgerald: the public static thingy if
'that' block of statements..
[2009/02/05 14:16] Snowdrop Short: any program must have one and only
one of those
[2009/02/05 14:16] Adelle Fitzgerald: oh
[2009/02/05 14:17] Snowdrop Short: any guesses?
[2009/02/05 14:17] M1sha Dallin: defines the function 'main'
[2009/02/05 14:17] eaglefx Binder: in human language what would it
translatye to?
[2009/02/05 14:17] Starky Rubble: main
[2009/02/05 14:17] Jeff 1564: is your main function... something to
do.....
[2009/02/05 14:17] Snowdrop Short smiles
[2009/02/05 14:18] eaglefx Binder: oki
[2009/02/05 14:18] Snowdrop Short: yes, it is true, but the word Main
has a special significance
[2009/02/05 14:18] Adelle Fitzgerald: oh! a bit like the 'default'
state in lsl?
[2009/02/05 14:18] Snowdrop Short: if you think about it
[2009/02/05 14:18] eaglefx Binder: so it would always be like Main?
[2009/02/05 14:18] Snowdrop Short: when the operating system loads
your program
[2009/02/05 14:18] M1sha Dallin: the main program?
[2009/02/05 14:18] Jeff 1564: adelle kind of
[2009/02/05 14:18] Snowdrop Short: it sees only a stream of
instructions
[2009/02/05 14:18] Snowdrop Short: but where in the stream should it
start to execute from
[2009/02/05 14:19] Snowdrop Short: in this case it is pretty simply,
there is only one place
[2009/02/05 14:19] Snowdrop Short: but in a large program?
[2009/02/05 14:19] M1sha Dallin: always entry point for function
main?
[2009/02/05 14:19] Snowdrop Short: so by convention, it has been
decided that the operating system should start executing the block of
code in the FUNCTION main
[2009/02/05 14:20] Snowdrop Short: and end the program, when it has
executed all the statements in the block
[2009/02/05 14:20] Snowdrop Short: so we have a function called Main
(yes there is a difference between main and Main)
[2009/02/05 14:20] eaglefx Binder: will all programs start like that?
[2009/02/05 14:20] Snowdrop Short: (capitals matter)
[2009/02/05 14:20] Snowdrop Short: yes, all c# programs start like
that
[2009/02/05 14:21] Snowdrop Short: Main is always where the program
starts
[2009/02/05 14:21] Jeff 1564: yes when you learn talk your learn
probably or mom heheh
[2009/02/05 14:21] Jeff 1564: :)
[2009/02/05 14:21] eaglefx Binder: so like OpenSim there is alot of
Mains or only one?
[2009/02/05 14:21] Snowdrop Short: one per server
[2009/02/05 14:22] Snowdrop Short: so the sim has one
[2009/02/05 14:22] Snowdrop Short: the U-ser server has one
[2009/02/05 14:22] eaglefx Binder: ah ok
[2009/02/05 14:22] Snowdrop Short: and so on for each of the UGAIM
[2009/02/05 14:22] eaglefx Binder: good to know
[2009/02/05 14:22] eaglefx Binder: what about modules then
[2009/02/05 14:22] eaglefx Binder: also a main each
[2009/02/05 14:22] Snowdrop Short: reading a program is like
unwinding a bundle of yarn
[2009/02/05 14:22] Snowdrop Short: but you always know where to start
[2009/02/05 14:22] Snowdrop Short: "Main"
[2009/02/05 14:22] M1sha Dallin: is that a main or Main for modules?
[2009/02/05 14:23] Jeff 1564: M
[2009/02/05 14:23] Snowdrop Short: modules are a bit different,
because they are extensions
[2009/02/05 14:23] M1sha Dallin: ok
[2009/02/05 14:23] Snowdrop Short: not real programs
[2009/02/05 14:23] Snowdrop Short: but the extensions are loaded by
real programs
[2009/02/05 14:24] eaglefx Binder: i have been wondering if i wanted
to write a module for opensim, and it has a place in the OpenSim.ini
will then that be a Main of its Own? kinda like the IRC Module?
[2009/02/05 14:24] Adelle Fitzgerald: so, the only Main exists in the
actual executable application, at machine level?
[2009/02/05 14:24] Snowdrop Short: yes
[2009/02/05 14:24] Snowdrop Short: it is always there, in any
executable
[2009/02/05 14:24] Snowdrop Short: and by convetion, it is called
Main in c#
[2009/02/05 14:25] Starky Rubble: Im lost by the Module references
[2009/02/05 14:25] Snowdrop Short: that's ok, it is not an easy thing
[2009/02/05 14:25] Starky Rubble: ok
[2009/02/05 14:25] Snowdrop Short: quite complex, but I hope well get
to it
[2009/02/05 14:25] Starky Rubble: ok back to Masin then
[2009/02/05 14:25] eaglefx Binder: okay, in a few years ;)
[2009/02/05 14:25] Snowdrop Short: essentially a sim server is "just"
program
[2009/02/05 14:26] Snowdrop Short: and has a Main
[2009/02/05 14:26] Starky Rubble: right
[2009/02/05 14:26] Snowdrop Short: but it is a quite complex program,
and can extend itself
[2009/02/05 14:26] Snowdrop Short: while it is running
[2009/02/05 14:26] Starky Rubble: right
[2009/02/05 14:26] Snowdrop Short: those extensions are called
modules
[2009/02/05 14:26] Starky Rubble: ah
[2009/02/05 14:27] eaglefx Binder: are this C# only to make .exe's or
can it be compiled to run native on Linux too?
[2009/02/05 14:27] Snowdrop Short: they are not real programs, just
chunks of code, which the Main program knows how to use
[2009/02/05 14:27] Jeff 1564: mono
[2009/02/05 14:27] Starky Rubble: got it
[2009/02/05 14:27] Snowdrop Short: you can copy a .net exe from MS to
LINUX and it will generally run
[2009/02/05 14:27] Snowdrop Short: and vice versa
[2009/02/05 14:27] eaglefx Binder: ok
[2009/02/05 14:27] Snowdrop Short: it is very portable, just like
java
[2009/02/05 14:28] Snowdrop Short: that is one of the reasons for
using c# for opensim
[2009/02/05 14:28] eaglefx Binder: C# = C++ and so on? same look and
feel is that right?
[2009/02/05 14:28] Jeff 1564: .net id kinf of java virtual machine
[2009/02/05 14:28] Snowdrop Short: no, c++ isn't c#
[2009/02/05 14:28] eaglefx Binder: ok
[2009/02/05 14:28] Starky Rubble: no Glbal Vars for instance
[2009/02/05 14:29] Snowdrop Short: no global variables
[2009/02/05 14:29] eaglefx Binder: C# is a Microsoft invention?
[2009/02/05 14:29] Snowdrop Short: I'm actually very fond of c#, I
think it is a great language
[2009/02/05 14:29] Snowdrop Short: yes, invented my microsoft, and
then made a standard language
[2009/02/05 14:30] M1sha Dallin: So everything must be in a class
with accessor functions?
[2009/02/05 14:30] eaglefx Binder: ok
[2009/02/05 14:30] Snowdrop Short: so anybody can use the language
[2009/02/05 14:30] Snowdrop Short: we are getting ahead of ourselves,
but yes M1sha
[2009/02/05 14:30] Snowdrop Short: ok, I have one more for you
[2009/02/05 14:30] M1sha Dallin: ok ty - and sorry
[2009/02/05 14:30] Snowdrop Short: np, we can talk about it after
class if you'd like
[2009/02/05 14:31] Simulator Version v0.5 shouts: OpenSimulator
Server 0.6.2.8236 (OS Microsoft Windows NT 5.2.3790 Service Pack 2)
ChilTasks:True PhysPrim:True
[2009/02/05 14:31] Snowdrop Short:
http://www.pastebin.ca/1328416
[2009/02/05 14:31] Snowdrop Short: I have a new one for you
[2009/02/05 14:32] eaglefx Binder: you should have a desk and a board
up there to paste up the lines as we do too ;)
[2009/02/05 14:32] Snowdrop Short: you can either just replace the
text
[2009/02/05 14:32] Snowdrop Short: or create a new project
[2009/02/05 14:33] Snowdrop Short: let me know when you are ready
[2009/02/05 14:33] robert omegamu: ok
[2009/02/05 14:33] M1sha Dallin: Gives the wrong answer
[2009/02/05 14:33] Adelle Fitzgerald: got it
[2009/02/05 14:33] Snowdrop Short: M1sha?
[2009/02/05 14:33] Jeff 1564: ready
[2009/02/05 14:34] eaglefx Binder: ready
[2009/02/05 14:34] Jeff 1564: compiled
[2009/02/05 14:34] Jeff 1564: and working
[2009/02/05 14:34] Jeff 1564: :)
[2009/02/05 14:34] eaglefx Binder: build succeded :P
[2009/02/05 14:34] Snowdrop Short: M1sha+Delvina+eaglefx .. should
form a team
[2009/02/05 14:34] Snowdrop Short: Starky+Adelle
[2009/02/05 14:34] Starky Rubble: Ok we got it
[2009/02/05 14:35] Snowdrop Short: Jeff+robert
[2009/02/05 14:35] eaglefx Binder: Ok
[2009/02/05 14:35] Starky Rubble: ok
[2009/02/05 14:35] Jeff 1564: ok
[2009/02/05 14:35] Snowdrop Short: talk it over internally
[2009/02/05 14:35] Snowdrop Short: and let me know when you are ready
to discuss
[2009/02/05 14:35] eaglefx Binder: but we cant be 3 in a IM can we?
[2009/02/05 14:35] Snowdrop Short: no, so you should use open chat,
or IRC,
[2009/02/05 14:36] eaglefx Binder: ok
[2009/02/05 14:36] Snowdrop Short: #osgrid-college on freenode, could
be a choice
[2009/02/05 14:36] eaglefx Binder: Okay yes maybe better
[2009/02/05 14:37] Starky Rubble: OK we tthink there is an error
[2009/02/05 14:38] Adelle Fitzgerald: it works for me
[2009/02/05 14:38] Snowdrop Short: M1sha+Delvina+eaglefx should go to
IRC or talk in open chat
[2009/02/05 14:38] Snowdrop Short: what is the problem Starky
[2009/02/05 14:38] Snowdrop Short: there is a bug in the application,
but it should still run
[2009/02/05 14:38] Jeff 1564: run ok here
[2009/02/05 14:38] Snowdrop Short: I'm hoping you'll find my mistake
[2009/02/05 14:39] M1sha Dallin: you write that you are calculating
3! but pass teh parameter 5
[2009/02/05 14:39] Snowdrop Short smiles and nods
[2009/02/05 14:39] Snowdrop Short: true
[2009/02/05 14:39] Snowdrop Short: it is acutally a piece of bad
design on my part
[2009/02/05 14:40] robert omegamu: ok just gunna say whooosh ?????
that went so over the top of the old head lol
[2009/02/05 14:40] Snowdrop Short smiles, well talk it over, in
public
[2009/02/05 14:40] Jeff 1564: :)
[2009/02/05 14:41] Jeff 1564: i know you did that just to see if we
will find out
[2009/02/05 14:41] M1sha Dallin: It's al lin the Console.WriteLine
("The factorial of {0}={1}", 3, Factorial(5));
[2009/02/05 14:41] Snowdrop Short: later on I'll show an improved
version
[2009/02/05 14:41] M1sha Dallin: It's writing a line of text
containing to numeric parameters
[2009/02/05 14:41] Snowdrop Short: let me know when you are ready to
discuss in public
[2009/02/05 14:42] M1sha Dallin: denoted by {0} and {1} in the string
part
[2009/02/05 14:42] Starky Rubble: Yes we think the text 3 dhould be a
5
[2009/02/05 14:42] M1sha Dallin: or the factorial (5) should be
factorial(3)
[2009/02/05 14:43] Adelle Fitzgerald: i dont understand 'factorial'
[2009/02/05 14:43] Starky Rubble: and the (0)=(1) is stinky
[2009/02/05 14:43] robert omegamu: whats factorial
[2009/02/05 14:43] Snowdrop Short: what is wrong with the {0} and {1}
[2009/02/05 14:44] Snowdrop Short: factorial is a mathematical
function
[2009/02/05 14:44] Snowdrop Short: calculating 1*2*3* ... *n
[2009/02/05 14:44] Adelle Fitzgerald: ahhhh
[2009/02/05 14:44] Snowdrop Short: uptill the number needed
[2009/02/05 14:44] Snowdrop Short: so factorial(5) is: 1*2*3*4*5
[2009/02/05 14:44] Starky Rubble: specifed in the parens
[2009/02/05 14:44] Snowdrop Short: and factorial 3 is 1*2*3
[2009/02/05 14:45] Adelle Fitzgerald: gotcha :)
[2009/02/05 14:45] Starky Rubble: what is the {0}={1} for?
[2009/02/05 14:45] Adelle Fitzgerald: the {0} & {1} are in curly
braces so dont actually do anything, right?
[2009/02/05 14:46] Snowdrop Short: it is use by the .net run time
[2009/02/05 14:46] Adelle Fitzgerald: oh...they must though
[2009/02/05 14:46] M1sha Dallin: I believe they identify which of the
following parameters are substituted
[2009/02/05 14:46] Starky Rubble: isn't it an assignment?
[2009/02/05 14:46] Snowdrop Short: when Console.WriteLine prints out
the line
[2009/02/05 14:46] Snowdrop Short: it looks at the text it is
printing
[2009/02/05 14:47] Snowdrop Short: and tries to find any numbers in
braces
[2009/02/05 14:47] Starky Rubble: ohh args
[2009/02/05 14:47] M1sha Dallin: so the string value of the numeric 3
is placed where {0} is in the string
[2009/02/05 14:47] Snowdrop Short: like {0}, {1}, {3} and so on
[2009/02/05 14:47] Snowdrop Short: it will replace that with the
value after the text
[2009/02/05 14:47] Snowdrop Short: each value is separted by comma's
[2009/02/05 14:48] Snowdrop Short: so it replaces {0} with 3
[2009/02/05 14:48] Snowdrop Short: and it replaces {1} with what?
[2009/02/05 14:48] Adelle Fitzgerald: ahh, i get it :D
[2009/02/05 14:48] Starky Rubble: I get it - the 3 and the Factotial
() are arguments 0 and 1 respectivelly for the Console.Write
[2009/02/05 14:48] Adelle Fitzgerald: Factorial(3)
[2009/02/05 14:49] Snowdrop Short: that's the question, what happens
with {1}?
[2009/02/05 14:49] Starky Rubble: its evaluated
[2009/02/05 14:49] Adelle Fitzgerald: it runs the 'static int' loop 3
times
[2009/02/05 14:50] Adelle Fitzgerald: called upon by the reference
'Factorial'?
[2009/02/05 14:50] Snowdrop Short: remember that I called Main a
function?
[2009/02/05 14:50] Snowdrop Short: Factorial is a funtion
[2009/02/05 14:50] Snowdrop Short: only I decided on the name
"Factorial"
[2009/02/05 14:51] Snowdrop Short: it could have had any name
[2009/02/05 14:51] eaglefx Binder: ah ok
[2009/02/05 14:51] Adelle Fitzgerald: so a function is something that
happens outside of Main?
[2009/02/05 14:51] Snowdrop Short: like Banana or Jonesey
[2009/02/05 14:51] Snowdrop Short: yes, other wise Main would grow
very very long
[2009/02/05 14:52] Snowdrop Short: if everything was inside main
[2009/02/05 14:52] eaglefx Binder: is there a function in this one? i
see sort of a counter
[2009/02/05 14:52] Snowdrop Short: so we can define new functions,
and write statements inside their codeblocks
[2009/02/05 14:52] Snowdrop Short: remember the { ... } talk
[2009/02/05 14:52] Snowdrop Short: and the list of statements
[2009/02/05 14:52] Adelle Fitzgerald: and you can call upon the same
function time and tme again passing it different variables each time
to cut down on the length of code, and more importantly the memory
used by the app
[2009/02/05 14:52] Snowdrop Short: true
[2009/02/05 14:53] Snowdrop Short: you can reuse the function, again
and again
[2009/02/05 14:53] Snowdrop Short: that's a skill in it's own right
[2009/02/05 14:53] Snowdrop Short: figuring out what functions to
make
[2009/02/05 14:54] Snowdrop Short: it is part of what is called
"design"
[2009/02/05 14:54] Starky Rubble: ok but the {0}={1} part
[2009/02/05 14:55] eaglefx Binder: it would be great with comments
inside those lessons! to maybe understand those better. for
starters ;)
[2009/02/05 14:55] Snowdrop Short: so the compiler knows it needs to
execute a function called "Factorial", and goes out looking for where
that function is defined
[2009/02/05 14:55] Snowdrop Short smiles
[2009/02/05 14:55] Snowdrop Short: there is purpose behind the
madness
[2009/02/05 14:55] Snowdrop Short: you see, I wan't you to read the
code, not the comments
[2009/02/05 14:55] eaglefx Binder: hehe i figured ;)
[2009/02/05 14:55] Snowdrop Short: sometimes the comments are wrong
[2009/02/05 14:56] eaglefx Binder: okay np
[2009/02/05 14:56] Snowdrop Short: so it replaces {0} and {1} with
the actual values
[2009/02/05 14:56] Snowdrop Short: and eventually prints out
[2009/02/05 14:57] Snowdrop Short: "The factorial of 3=120"
[2009/02/05 14:57] Snowdrop Short: which is where the program error
is
[2009/02/05 14:57] Snowdrop Short: because 1*2*3 is acutally 6
[2009/02/05 14:57] Snowdrop Short: so if I hadn't made a mistake, I
would have said
[2009/02/05 14:57] Snowdrop Short: "The factorial of 3=6"
[2009/02/05 14:58] Adelle Fitzgerald: what would factorial actually
be used for?
[2009/02/05 14:58] Snowdrop Short: it is used in probaility theory
[2009/02/05 14:58] M1sha Dallin: How many ways can you arrange 3
items on a desk?
[2009/02/05 14:58] Snowdrop Short: for counting ways in which you can
combine things
[2009/02/05 14:58] Adelle Fitzgerald: gotcha
[2009/02/05 14:59] Snowdrop Short: if you have a blue, red and green
ball
[2009/02/05 14:59] Snowdrop Short: you can arrange them in factorial
(3) different ways
[2009/02/05 14:59] Primitive: Script running
[2009/02/05 14:59] Snowdrop Short: (Discovered by a french monk in
15hundred and something called Blaise Pascal"
[2009/02/05 14:59] eaglefx Binder: ahhh Pascal :P
[2009/02/05 14:59] Primitive: Script running
[2009/02/05 15:00] Primitive: Script running
[2009/02/05 15:00] Snowdrop Short: any questions so far?
[2009/02/05 15:00] M1sha Dallin: nope
[2009/02/05 15:00] Adelle Fitzgerald: im good :)
[2009/02/05 15:00] Jeff 1564: i m fine
[2009/02/05 15:00] eaglefx Binder: i think i have a few hundred but i
better just read a little on this ;)
[2009/02/05 15:00] Starky Rubble: Ok, what if you wanted to say "The
factorial of 3=6 and the factorial of 5=120" - would there be a {3}=
{4}?
[2009/02/05 15:00] Snowdrop Short: try changing it so it calculates
factorial 12
[2009/02/05 15:00] Snowdrop Short: no
[2009/02/05 15:01] Adelle Fitzgerald: I'm taking down the chat log,
I'll find some way of distributing it afterwards to those that want
it :)
[2009/02/05 15:01] Snowdrop Short: you have to numbers after the
string, separted by comma
[2009/02/05 15:01] Snowdrop Short: so it will crash at runtime,
looking for the 3rd and 4th values after the message
[2009/02/05 15:01] M1sha Dallin: The factorial of 12=479001600
[2009/02/05 15:02] Snowdrop Short: but if you write:
[2009/02/05 15:02] Snowdrop Short: Console.WriteLine("The factorial
of {0}={1}and the factorial of {2} = {3}", 3, Factorial(3),5, Factorial
(5));
[2009/02/05 15:03] Snowdrop Short: it would work and print
[2009/02/05 15:03] Starky Rubble: Oh... zero counting bit me
again!!!!
[2009/02/05 15:03] M1sha Dallin: :-)
[2009/02/05 15:03] Starky Rubble: Arrggh
[2009/02/05 15:03] Snowdrop Short: "The factorial of 3=6and the
factorial of 5 = 120"
[2009/02/05 15:03] Snowdrop Short: all programmers start from 0
[2009/02/05 15:03] Snowdrop Short: you should start doing that
[2009/02/05 15:04] Snowdrop Short: always count from 0, never 1
[2009/02/05 15:04] Starky Rubble: Doh!
[2009/02/05 15:04] eaglefx Binder: hehe
[2009/02/05 15:04] Snowdrop Short: 0 is probably the biggest
invention made
[2009/02/05 15:04] eaglefx Binder: after the wheel
[2009/02/05 15:05] Snowdrop Short: nobody know when the wheel was
invented
[2009/02/05 15:05] eaglefx Binder: lol
[2009/02/05 15:05] Starky Rubble: (verging on philosophy lol)
[2009/02/05 15:05] Snowdrop Short: but zero was - it is believed -
invented by the arabs in about 965
[2009/02/05 15:05] Starky Rubble: Babalonians
[2009/02/05 15:05] Snowdrop Short: ad
[2009/02/05 15:05] eaglefx Binder: well anyways u sure got me
confuswed now, i think i will sleep better now .. hehe
[2009/02/05 15:06] Starky Rubble: ylonians lol
[2009/02/05 15:06] Snowdrop Short: yes, it is getting late
[2009/02/05 15:06] Snowdrop Short: do you want to break and continue
next
[2009/02/05 15:06] Adelle Fitzgerald: any integer always starts at 0,
always..
[2009/02/05 15:06] Snowdrop Short: or should we continue
[2009/02/05 15:06] eaglefx Binder: it is allright with me i stay up
until 02:00 anyways
[2009/02/05 15:06] Adelle Fitzgerald: im good to continue
[2009/02/05 15:06] Starky Rubble: yes and Case always matters and
never forget the ";"
[2009/02/05 15:07] Snowdrop Short smiles and nod to Starky .. true
[2009/02/05 15:07] Adelle Fitzgerald: most errors when writing when
tired are syntax, always syntax... when tired ;)
[2009/02/05 15:07] Snowdrop Short: true
[2009/02/05 15:07] Starky Rubble: and the == /= = part
[2009/02/05 15:07] Snowdrop Short: never write programs when you are
tired
[2009/02/05 15:08] Snowdrop Short: and do not code under the
influence
[2009/02/05 15:08] Starky Rubble: and thats 90% of my problrms in the
old days
[2009/02/05 15:08] Adelle Fitzgerald chuckles
[2009/02/05 15:08] Snowdrop Short: inside the messge?
[2009/02/05 15:08] Adelle Fitzgerald: most of my lsl was done tired
and sometimes under the influence, that tought me to check syntax
again and again ;)
[2009/02/05 15:08] Snowdrop Short: somethins are best, when you are
sober ::P
[2009/02/05 15:08] Starky Rubble: no the assignment vs equals in
general
[2009/02/05 15:09] M1sha Dallin: I need to go - many thanks Snowdrop
[2009/02/05 15:09] Snowdrop Short: ok
[2009/02/05 15:09] Snowdrop Short: You are welcome M1sha
[2009/02/05 15:09] Starky Rubble: Yeah I should run too
[2009/02/05 15:09] Snowdrop Short: it is my pleasure to try to give
something back
[2009/02/05 15:09] Adelle Fitzgerald: bye M1sha :)
[2009/02/05 15:09] Starky Rubble: Thanks Snowdrop
[2009/02/05 15:09] M1sha Dallin: bye all
[2009/02/05 15:09] Jeff 1564: bye
[2009/02/05 15:09] Adelle Fitzgerald: bye Starky
[2009/02/05 15:09] Starky Rubble: with all the problems it worked out
well
[2009/02/05 15:10] Snowdrop Short: ok, I think we should round it up
[2009/02/05 15:10] Adelle Fitzgerald nods
[2009/02/05 15:10] Snowdrop Short: but before we split
[2009/02/05 15:10] eaglefx Binder: good starters, here, but you need
a teacher board ;)
[2009/02/05 15:10] Snowdrop Short: I would like to hear from you
[2009/02/05 15:10] Snowdrop Short: how to make it better
[2009/02/05 15:10] Starky Rubble: beyon the nuts and bolts part lol
[2009/02/05 15:10] robert omegamu: use pastebin for sure lol for now
anyway lol
[2009/02/05 15:11] Starky Rubble: yes
[2009/02/05 15:11] Adelle Fitzgerald: just need to get notecards
working here
[2009/02/05 15:11] Snowdrop Short nods
[2009/02/05 15:11] Starky Rubble: mine is still loading lol
[2009/02/05 15:11] Snowdrop Short: this is very much an experiment
[2009/02/05 15:11] Adelle Fitzgerald: or better still, copyable text
from a prim and VNC on a prim too! ;)
[2009/02/05 15:11] eaglefx Binder: it would be great if the text came
up here on a board as well, i imagine
[2009/02/05 15:12] robert omegamu: it may be an idea to place them in
the sim some time before class give people a chance to get them before
the sim fills up
[2009/02/05 15:12] Snowdrop Short: I doubt there has been any
attempts in teaching c# inside a metaverse before
[2009/02/05 15:12] Starky Rubble: nebs got a board that will show the
pastebin
[2009/02/05 15:12] eaglefx Binder: hehe
[2009/02/05 15:12] Snowdrop Short: so I'm just as much a newbie as
you guys
[2009/02/05 15:12] eaglefx Binder: Oh cool yes
C# Program 1
[Code]
using System;
namespace Lesson01
{
class MainClass
{
public static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
}
[/Code]
C# Program 2
[Code]
using System;
namespace Lesson02
{
class MainClass
{
static int Factorial(int n)
{
int result = 1;
for(int i=1; i<=n; i++)
result = result * i;
return result;
}
public static void Main(string[] args)
{
Console.WriteLine("The factorial of {0}={1}", 3, Factorial
(5));
}
}
}
[/Code]