Gossamer Forum
Home : General : Chit Chat :

Anyone fancy Ruby?

Quote Reply
Anyone fancy Ruby?
Until Perl 6 comes out, and becomes a truly OO language, is anyone else tempted to check out Ruby? Freshmeat are running a good article on why you should check it out:

http://freshmeat.net/articles/view/358/

Of course, once Perl 6 comes out (if it ever does?) then it's a different story ;-)

- wil
Quote Reply
Re: [Wil] Anyone fancy Ruby? In reply to
I've seen Ruby around google groups before... it doesn't look too complicated to learn... Just finished downloading a Windows version so I'm gonna fool around a little this week.

--Philip
Links 2.0 moderator
Quote Reply
Re: [ThatPerson1024] Anyone fancy Ruby? In reply to
perl takes a lifetime to master......I couldn't imagine wanting to learn Ruby too....it would get really confusing...

Last edited by:

RedRum: Jan 14, 2002, 2:29 PM
Quote Reply
Re: [RedRum] Anyone fancy Ruby? In reply to
Ruby was supposedly based somewhat on Perl, so I'd expect that core functions (I saw each, foreach, while, etc. are there) are nearly identical. I don't like how there is no statement seperator. No Ruby one-liners I expect :-(

I only program in Perl, but I find PHP and C fairly legible enough to understand. Same goes with spoken languages... I speak English and Spanish (well, used to), but have no problem with reading Portuguese and some Italian.

The point: in most cases, one language is based on another, and there are always recognizable differences in structure to keep you strait.

--Philip
Links 2.0 moderator
Quote Reply
Re: [ThatPerson1024] Anyone fancy Ruby? In reply to
I use both PHP and Perl. PHP has a lot of easy to use functions, whilst Perl makes certain functions, like opening a flat file, much easier. Where PHP makes it much easier to use MySQL. I find it quite hard to decide what language to use for each project I do.

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [AndyNewby] Anyone fancy Ruby? In reply to
Ruby doesn't look like anything special. Java is probably the best language to learn at the moment. It's overkill for most things, but it is faster then PHP and Perl anyday.
Cheers,
Michael Bray
Quote Reply
Re: [Michael_Bray] Anyone fancy Ruby? In reply to
Yes, you're right. Java is the future for jobs and what have you. That's what you'll have to learn to programm PDA,s mobile phones, new interactive television etc. That's where the money is!

- wil
Quote Reply
Re: [Michael_Bray] Anyone fancy Ruby? In reply to
>>It's overkill for most things, but it is faster then PHP and Perl anyday. <<

But it hogs server resources much more than perl.
Quote Reply
Re: [RedRum] Anyone fancy Ruby? In reply to
There's be no money in Perl, though. There's more of a market for java-like technologies. Think of everything you use, like a Mobile Phone, Sky Digital, Electronic Organiser. That's where the dollars are ringing :-)

- wil

Last edited by:

Wil: Jan 15, 2002, 5:22 AM
Quote Reply
Re: [Wil] Anyone fancy Ruby? In reply to
hmmm ... sounds like you folks should really look into WebObjects ... make java life real easy!

openoffice + gimp + sketch ... Smile
Quote Reply
Re: [QooQ] Anyone fancy Ruby? In reply to
Now that would mean we'd all have to buy Mac's to go with it :) *shudder*

Edit: I do apologise for talking to a newly crowned Veteran like that :)

Last edited by:

RedRum: Jan 15, 2002, 5:29 AM
Quote Reply
Re: [RedRum] Anyone fancy Ruby? In reply to
Nope... can run it off NT and *NIX .... cool Next technology that's what it is!

openoffice + gimp + sketch ... Smile
Quote Reply
Re: [QooQ] Anyone fancy Ruby? In reply to
Hmmm but Java is like SO tricky to learn....infact it sucks.
Quote Reply
Re: [RedRum] Anyone fancy Ruby? In reply to
Don't you like challenges?

- wil
Quote Reply
Re: [QooQ] Anyone fancy Ruby? In reply to
>>Nope... can run it off NT and *NIX .... cool Next technology that's what it is! <<

Ha, I guess you could say that. I didn't realise it would work on NT/*nix....thats pretty handy....well it would be if I had a spare $700....eeek
Quote Reply
Re: [QooQ] Anyone fancy Ruby? In reply to
Whilst Im at it mr mac supporter, why the hell are IPod's $399 (about 250) and at the UK site they are 349 (about $550)

Last edited by:

RedRum: Jan 15, 2002, 6:18 AM
Quote Reply
Re: [RedRum] Anyone fancy Ruby? In reply to
Imports are always expensive. Why the hell are we paying 4,000 more for our cars than our European counterparts?

- wil
Quote Reply
Re: [RedRum] Anyone fancy Ruby? In reply to
Whats an iPod? Unsure

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [RedRum] Anyone fancy Ruby? In reply to
Angelic cuz they have to re-write every single manual so that you Brits won't Bitch about the spellings ... Angelic

besides ... they're just passing the extra added cost they incure on to you customers; such as the extra ink for words like colour !

openoffice + gimp + sketch ... Smile
Quote Reply
Re: [QooQ] Anyone fancy Ruby? In reply to
LOl....we should get it as cheap as the Americans! We pay stupid prices for actual nsurance (I'm looking at 1000 this year..for my 1.2 car), road tax, petrol and almost everything else!

Its insane!

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [AndyNewby] Anyone fancy Ruby? In reply to
http://www.apple.com/hardware/

just the coolest mp3/portable harddrive on the market.

Check out the the iMac while you're there ... it's awesome ... although I still prefer a tower ... I like expansion slots.

openoffice + gimp + sketch ... Smile
Quote Reply
Re: [QooQ] Anyone fancy Ruby? In reply to
You're just jealous because we are well spoken and don't chop letters out of words making us sound common "hey dude"......err no it's "hello my good friend"!

Last edited by:

RedRum: Jan 15, 2002, 6:34 AM
Quote Reply
Re: [QooQ] Anyone fancy Ruby? In reply to
http://www.devshed.com/...va/JSPDev/page1.html

I am setting up my computer at the moment to let me work with Java. I figure if I want to make some money I am gonna have to either learn it, or some sort of Microsoft language so I can work with .NET technology. I am hoping I don't have to resort to that Smile

Its fairly easy to setup. I have Apache/PHP/MySQL/Perl etc all setup on Windows XP, and in 15 mins will have Java/Tomcat as well.
Cheers,
Michael Bray
Quote Reply
Re: [AndyNewby] Anyone fancy Ruby? In reply to
sounds like a socialistic society to me .... what about the Danes they pay somewhat like 40% of their salary for taxes and such ... I could be wrong about the actual figure though.

openoffice + gimp + sketch ... Smile
Quote Reply
Re: [RedRum] Anyone fancy Ruby? In reply to
You have it wrong again. "G'Day Mate" is the only correct greeting!
Cheers,
Michael Bray
Quote Reply
Re: [Michael_Bray] Anyone fancy Ruby? In reply to
big money can be made with with WebObjects ... academics get a discount on it ... I payed about $150 which is normally $800 ... hmmm does M$ have this type of situation?

openoffice + gimp + sketch ... Smile
Quote Reply
Re: [AndyNewby] Anyone fancy Ruby? In reply to
>>I'm looking at 1000 this year..for my 1.2 car<<

Haha.....thats what you get for being a young male driver.
Quote Reply
Re: [Michael_Bray] Anyone fancy Ruby? In reply to
>>Its fairly easy to setup. I have Apache/PHP/MySQL/Perl etc all setup on Windows XP, and in 15 mins will have Java/Tomcat as well.
<<

We could be twins :)
Quote Reply
Re: [RedRum] Anyone fancy Ruby? In reply to
That's why half the world thinks Brits are "stuffy" Angelic

openoffice + gimp + sketch ... Smile
Quote Reply
Re: [RedRum] Anyone fancy Ruby? In reply to
Quote:
Haha.....thats what you get for being a young male driver.

Yeah, and that is cheap! I'm looking at 1,500 ($2k~ US) with some other companies! What did you pay for your first year as a young driver?

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Michael_Bray] Anyone fancy Ruby? In reply to
>>You have it wrong again. "G'Day Mate" is the only correct greeting! <<

Don't get me started...the aussies have more slang words for stupid things than the rest of the universe.

"G'day mate, lets put anthoer shrimp on the barbie"

"rack off"

....sigh....do you still have Neighbours and Home and Away televised?
Quote Reply
Re: [AndyNewby] Anyone fancy Ruby? In reply to
>>What did you pay for your first year as a young driver? <<

The trick is to use your parents insurance :)

I pay 600 (and did right from the start).
Quote Reply
Re: [RedRum] Anyone fancy Ruby? In reply to
LOL ... all great words come from the Queen's English ... pretty sick ones at that too .... LOL all my students thought americans came up with F - word ...

I just reply, "nah ... Prince Charles did!" Angelic

openoffice + gimp + sketch ... Smile
Quote Reply
Re: [RedRum] Anyone fancy Ruby? In reply to
In Reply To:
>>What did you pay for your first year as a young driver? <<

The trick is to use your parents insurance :)

I pay 600 (and did right from the start).

Ugh. No. The faster you start building your no-claims discount the better. Go solo, brave man!

- wil
Quote Reply
Re: [RedRum] Anyone fancy Ruby? In reply to
Throw another shrimp on the barbie is an american thing for impersonating aussies. We don't even call "shrimps", shrimps. We call them Prawns.

Yeah, Neighbours and Home and Away are still on, I don't watch them though!
Cheers,
Michael Bray
Post deleted by Wil In reply to

Last edited by:

Wil: Jan 15, 2002, 6:44 AM
Quote Reply
Re: [Michael_Bray] Anyone fancy Ruby? In reply to
LOL ... I thought shrimps and prawns are different ... well they're part of the same family but cousins in a sense.

shrimps ... little thingys
prawns ... big thingys

Laugh

openoffice + gimp + sketch ... Smile
Quote Reply
Re: [QooQ] Anyone fancy Ruby? In reply to
>>
shrimps ... little thingys
prawns ... big thingys
<<

Try the other way around...in the UK at least. Although you can get big shrimps and tiny things, same with prawns.

My mum and dad went to Australia in August and went to a posh restaurant and had Oysters and my mum collapsed with food poisoning.

Last edited by:

RedRum: Jan 15, 2002, 7:11 AM
Quote Reply
Re: [RedRum] Anyone fancy Ruby? In reply to
Quote:
My mum and dad went to Australia in August and went to a posh restaurant and had Oysters and my mum collapsed with food poisoning.
Thats what you get when you need damn uncooked food...

--Philip
Links 2.0 moderator
Quote Reply
Re: [ThatPerson1024] Anyone fancy Ruby? In reply to
I've never collapsed with food poisoning from eating an apple Wink

Edit: Touch wood...

Last edited by:

RedRum: Jan 15, 2002, 1:30 PM
Quote Reply
Re: [RedRum] Anyone fancy Ruby? In reply to
Nah, not a lifetime... Just a good year or so as being your primary job - assuming you want to learn it.

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [AndyNewby] Anyone fancy Ruby? In reply to
I've seen PHP's MySQL interface and I have to say I like GT::SQL much better. Something like GT::SQL (in fact, many of the GT:: modules) wouldn't even be feasible in PHP.

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [AndyNewby] Anyone fancy Ruby? In reply to
In Reply To:
LOl....we should get it as cheap as the Americans! We pay stupid prices for actual nsurance (I'm looking at 1000 this year..for my 1.2 car), road tax, petrol and almost everything else!

Its insane!
1000 isn't that bad. My insurance is coming up in March; I'm guessing it'll be around CAD$2400 (though I'm thinking of raising my deductibles a bit to bring that down). That's about comparable.

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [jagerman] Anyone fancy Ruby? In reply to
>>1000 isn't that bad<<

It is when I pay 600

Last edited by:

RedRum: Jan 15, 2002, 2:10 PM
Quote Reply
Re: [jagerman] Anyone fancy Ruby? In reply to
Quote:
I've seen PHP's MySQL interface and I have to say I like GT::SQL much better. Something like GT::SQL (in fact, many of the GT:: modules) wouldn't even be feasible in PHP.


You have to consider the value of a DB abstraction layer though GT:SQL does get things working with many DB's, but this is not nessecarily a good thing! While I will admit useful for commerical scripts such as Links SQL, if you want to take advantage of a databases full capabilties they are not good. They only allow you to use the basic features of databases, rather then taking advantage of the extra features that some databases have.

I was forwarded a message, in which Rasmus Lerdof (the guy that started PHP) was talking about DB abstraction layers. His quote was

Quote:
I am sure everyone by now has heard my opinion on db abstraction layers
though. As far as I am concerned they are pointless. It is the wrong
place to do things. The right way to do database abstraction is at the
functional layer. ie. write a function that implements a certain
database
action your application needs. get_user_record(), for example. Then
write this function for each database your application needs to support.

Anything short of this and you end up with a nearly useless system that
is
only capable of using generic or lowest-common-denominator SQL
statements.
For really simple applications that is ok, I guess, but for anything
substantial you are going to have to use DB-specific SQL to take
advantage
of each database properly. See Oracle's DECODE() statement for a
blatant
example of this.


I have to admit I agree with this.
Cheers,
Michael Bray
Quote Reply
Re: [Michael_Bray] Anyone fancy Ruby? In reply to
Testing!