Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 New Forums?
Index -> General Discussion
Goto page 1, 2  Next
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Naveg




PostPosted: 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?
Sponsor
Sponsor
Sponsor
sponsor
wtd




PostPosted: 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
Amailer




PostPosted: Fri Mar 25, 2005 12:19 am   Post subject: (No subject)

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




PostPosted: Fri Mar 25, 2005 12:21 am   Post subject: (No subject)

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




PostPosted: Fri Mar 25, 2005 12:21 am   Post subject: (No subject)

how bout Python for the next new one? Razz
wtd




PostPosted: Fri Mar 25, 2005 12:26 am   Post subject: (No subject)

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

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




PostPosted: Fri Mar 25, 2005 12:31 am   Post subject: (No 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?
wtd




PostPosted: Fri Mar 25, 2005 12:47 am   Post subject: (No 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
Sponsor
Sponsor
Sponsor
sponsor
Delos




PostPosted: Fri Mar 25, 2005 9:11 pm   Post subject: (No 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?
rizzix




PostPosted: Fri Mar 25, 2005 9:17 pm   Post subject: (No 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.
wtd




PostPosted: Fri Mar 25, 2005 9:33 pm   Post subject: (No subject)

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


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




PostPosted: Fri Mar 25, 2005 10:04 pm   Post subject: (No subject)

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

PS: welcome to the club.
wtd




PostPosted: Fri Mar 25, 2005 10:09 pm   Post subject: (No 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
rizzix




PostPosted: Fri Mar 25, 2005 10:56 pm   Post subject: (No 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
Tony




PostPosted: Fri Mar 25, 2005 11:57 pm   Post subject: (No subject)

oh... umm... let me try to figure those things out Laughing
Display posts from previous:   
   Index -> General Discussion
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 2  [ 17 Posts ]
Goto page 1, 2  Next
Jump to:   


Style:  
Search: