Computer Science Canada

New Forums?

Author:  Naveg [ Thu Mar 24, 2005 10:59 pm ]
Post subject:  New Forums?

Is the Ruby forum new? or did i just get access to it...what other forums do we have here?

Author:  wtd [ Thu Mar 24, 2005 11:05 pm ]
Post subject:  Re: New Forums?

Vladimir wrote:
Is the Ruby forum new? or did i just get access to it...what other forums do we have here?


It's new. Go learn Ruby so you can enjoy it. Smile

Author:  Amailer [ Fri Mar 25, 2005 12:19 am ]
Post subject: 

Ah- good.
Ruby needed a forum- it seems to be getting really popular.

Author:  wtd [ Fri Mar 25, 2005 12:21 am ]
Post subject: 

Here and elsewhere. Ruby's the rising star of the programing world.

Author:  Bacchus [ Fri Mar 25, 2005 12:21 am ]
Post subject: 

how bout Python for the next new one? Razz

Author:  wtd [ Fri Mar 25, 2005 12:26 am ]
Post subject: 

Nawww... I'm working on Haskell for the next popular language here. Smile

Oh, and if you have any Python questions, ask away.

Author:  Bacchus [ Fri Mar 25, 2005 12:31 am ]
Post subject: 

well i was really just going for some good tutorials to help get started. i kno some basics but is there a way to make a program interact with a website? kinda like clicking?

Author:  wtd [ Fri Mar 25, 2005 12:47 am ]
Post subject: 

Beginner's Guide

As for reading web pages...

code:
from urllib2 import urlopen, Request, URLError

request = Request(url="http://www.compsci.ca")

try:
   web_page_handle = urlopen(request)
   contents = web_page_handle.read()
   print contents
except URLError:
   print "Couldn't open the URL."
except:
   print "Some unexpected error occurred."
finally:
   f.close()


For what it's worth, the equivalent Ruby:

code:
require 'open-uri'

begin
   web_page_handle = open "http://www.compsci.ca"
   contents = web_page_handle.read
   puts contents
rescue SocketError
   puts "Couldn't open the URL."
rescue
   puts "Some unexpected error occurred."
ensure
   f.close
end

Author:  Delos [ Fri Mar 25, 2005 9:11 pm ]
Post subject: 

Ruby Forum!

Awsomeness....now perhaps I'll be inspired enough to continue learning that language. From what little I know of it (and I mean *little*), it's completely deserving of all the attention it gets.

So, does that mean that wtd gets to be bumped to Ruby Moderator status?

Author:  rizzix [ Fri Mar 25, 2005 9:17 pm ]
Post subject: 

hmm probably although all mod decissions are taken by the senior staff (compsci board of directors Wink)

you see compsci.ca has become more communistic vs dictatored. and hell no its not democratic. Twisted Evil

but finally its up to wtd, to accpet or decline.

Author:  wtd [ Fri Mar 25, 2005 9:33 pm ]
Post subject: 

rizzix wrote:
but finally its up to wtd, to accpet or decline.


Oh, what the heck... why not? Smile

Author:  Mazer [ Fri Mar 25, 2005 10:04 pm ]
Post subject: 

But wtd, what about your... responsibilities? Very Happy
Scientific discoveries won't make themselves!

PS: welcome to the club.

Author:  wtd [ Fri Mar 25, 2005 10:09 pm ]
Post subject: 

Coutsos wrote:
But wtd, what about your... responsibilities? Very Happy
Scientific discoveries won't make themselves!

PS: welcome to the club.


I'm more about inspiring others to make great discoveries, then taking a small part of the credit. Wink

Author:  rizzix [ Fri Mar 25, 2005 10:56 pm ]
Post subject: 

Coutsos wrote:
PS: welcome to the club.
hmm not yet.. not every one has voted yet. hmm. but so far its 100% in favour. besides why are the admins sleeping over zylum's moderators status? 87% of his votes were in favour!

tony... Evil or Very Mad

Author:  Tony [ Fri Mar 25, 2005 11:57 pm ]
Post subject: 

oh... umm... let me try to figure those things out Laughing

Author:  rizzix [ Sat Mar 26, 2005 1:44 am ]
Post subject: 

yea u might wanna change their titles as well. hmm.

btw: welcome wtd, and zylum u too, if u happen to read this post.. heh.

Author:  Delos [ Sun Mar 27, 2005 5:08 pm ]
Post subject: 

rizzix wrote:
yea u might wanna change their titles as well. hmm.

btw: welcome wtd, and zylum u too, if u happen to read this post.. heh.


There is such a thing as PMs you know Wink.

Hope that link works


: