[tslug] Re: Meeting Tomorrow 2-24 VH1232
Ruby can be your standard global-function type of language. You don't have to define objects (though all the 'primitives' are still objects, you don't have to think about them as such). But if you want to over-ride the default + method for integers, you can (not that you would to). The way it works is that it will just starting executing all the method calls it sees, like Perl. And regardless, OOP isn't that hard, I can't understand why someone wouldn't want to at least take advantage of some its syntax. I guess thats kind of elitists of me. [EMAIL PROTECTED] wrote: Ruby is an awesome programming language entirely built upon the concept of objects. While I just was astounded and excited when learning Perl (because of its many features OO concepts... How disappointing. Perl certainly doesn't limit it's usefullness only to the Object-oriented elite. IMHO, that makes Perl rock even more than Ruby. Oh, and if you like some of that cool Ruby goodness, well, you can always just install Simon Cozens' Rubyisms.pm module from CPAN. See http://search.cpan.org/~simon/rubyisms-1.0/ And from http://search.cpan.org/src/SIMON/rubyisms-1.0/README we see... NAME rubyisms - Steal some features from Ruby SYNOPSIS package Foo; use rubyisms; sub initialize { # We inherit a new from class Class self->{foo} = "bar"; # And we have a receiver, self __private_stuff(1,2,3,4); } sub __private_stuff { self->{things} = [ @_ ]; # self is still around self->another_method; } sub my_method { if ($interesting) { ... } else { super } # Dispatch to superclass } sub array_iterator (&@) { yield() for @_; } array_iterator { print $_[0], "\n" } ("Hello", "World"); .. Well, Ruby steals plenty of features from Perl, so I guess thats fair. Though all those @'s, $'s and _'s make me cringe a bit (Ruby has some of that for Regex expressions, but actually has a module called English to give them logical names). As its description says, its just to steal some features from ruby (mainly the yield() call as far as I can tell, don't know enough Perl to see what else is new). Its one thing to have a yield call, its another when all the standard libraries are built around exploiting it. Many languages have ways of passing blocks of code to other methods, Ruby is the first I've seen actually taking advantage of it throughout the standard libraries. Hehe. Perl *rocks*. Ruby just *wishes* it could rock this hard. And wait 'til Parrot/Ponie/Perl6 is out. Oh, and Simon implemented *ALL* of the above in a mere 90 lines of Perl code. If you _really_ want to learn about OO and even more ways in which Perl makes OO easy where other languages "hit the wall" (e.g. closures and multiple inheritance in Java), then you should get Damian Conway's book Object-Oriented Perl (ISBN 188491 - http://www.manning.com/Conway/ ). Unbelievably lucid, and it's no mistake that he used Perl to demonstrate these OO concepts. The "eat-your-brain" explanation of Perl's "tie" feature is excellent. He discusses multiple inheritance, data inheritance vs. interface inheritance, closures, functions as objects, truly private data members, inheritance by composition, and explores some of the dark corners of Perl's "tie" facility, re-blessing objects, and more. Mike/ Really I don't know enough Perl to be able make a comparison. However, my experience with 'oh yea, Object Oriented looks nice, let's add that' type of languages (which it sounds like Perl is from its history) is from PHP. I quite like PHP, but OO design is hardly ever used in the various libraries. So there are tons of global functions. With Ruby theres only a handful of global functions, they're all methods from the object named Kernel (so unlike other languages, they're aren't really special keywords, part of what makes Ruby so dynamic). Mercury now has Ruby 1.8.1 (the newest) installed on it. You can use the ruby shell irb to play around with it easily. Send me a message if anyone wants other ruby libraries installed, currently it just has the various standard and the mysql libraries. Kronos has the Debian Woody package of Ruby, so its version 1.6. Ian Monroe - To get off this list, send email to [EMAIL PROTECTED] with Subject: unsubscribe -
[tslug] Re: Meeting Tomorrow 2-24 VH1232
sorry again: 20 -> 6:-( my gosh... Alexander Horn wrote: >...I have a question from the (my) lingustic point of view... >Perl: >$string="hello, world"; >substr($string, 20) =~ s/world/earth/; #alters $string >print $string #output: hello, earth > >how do I chomp that thing in one line? >alex > >- >To get off this list, send email to [EMAIL PROTECTED] >with Subject: unsubscribe >- > > - To get off this list, send email to [EMAIL PROTECTED] with Subject: unsubscribe -
[tslug] Re: Meeting Tomorrow 2-24 VH1232
...I have a question from the (my) lingustic point of view... Perl: $string="hello, world"; substr($string, 20) =~ s/world/earth/; #alters $string print $string #output: hello, earth how do I chomp that thing in one line? alex - To get off this list, send email to [EMAIL PROTECTED] with Subject: unsubscribe -
[tslug] Re: Meeting Tomorrow 2-24 VH1232
> Ruby is an awesome programming language entirely built upon the > concept of objects. While I just was astounded and excited when learning > Perl (because of its many features OO concepts... How disappointing. Perl certainly doesn't limit it's usefullness only to the Object-oriented elite. IMHO, that makes Perl rock even more than Ruby. Oh, and if you like some of that cool Ruby goodness, well, you can always just install Simon Cozens' Rubyisms.pm module from CPAN. See http://search.cpan.org/~simon/rubyisms-1.0/ And from http://search.cpan.org/src/SIMON/rubyisms-1.0/README we see... NAME rubyisms - Steal some features from Ruby SYNOPSIS package Foo; use rubyisms; sub initialize { # We inherit a new from class Class self->{foo} = "bar"; # And we have a receiver, self __private_stuff(1,2,3,4); } sub __private_stuff { self->{things} = [ @_ ]; # self is still around self->another_method; } sub my_method { if ($interesting) { ... } else { super } # Dispatch to superclass } sub array_iterator (&@) { yield() for @_; } array_iterator { print $_[0], "\n" } ("Hello", "World"); .. Hehe. Perl *rocks*. Ruby just *wishes* it could rock this hard. And wait 'til Parrot/Ponie/Perl6 is out. Oh, and Simon implemented *ALL* of the above in a mere 90 lines of Perl code. If you _really_ want to learn about OO and even more ways in which Perl makes OO easy where other languages "hit the wall" (e.g. closures and multiple inheritance in Java), then you should get Damian Conway's book Object-Oriented Perl (ISBN 188491 - http://www.manning.com/Conway/ ). Unbelievably lucid, and it's no mistake that he used Perl to demonstrate these OO concepts. The "eat-your-brain" explanation of Perl's "tie" feature is excellent. He discusses multiple inheritance, data inheritance vs. interface inheritance, closures, functions as objects, truly private data members, inheritance by composition, and explores some of the dark corners of Perl's "tie" facility, re-blessing objects, and more. Mike/ - http://www.valuenet.net - To get off this list, send email to [EMAIL PROTECTED] with Subject: unsubscribe -
[tslug] Re: Meeting Tomorrow 2-24 VH1232
sorry last mail got messed up, no idea why... Hi folks, If you are a computer linguistic geek or simply a real programmer at heart (which, I think, is the very reason why you are on this mailing list) you should come to the TSLUG meeting tonight. Ian?s mentioned it already, but here again: he and I are going to spread the word why Ruby rocks. Ruby is an awesome programming language entirely built upon the concept of objects. While I just was astounded and exited when learning Perl (because of its many features), Ruby just exceeding any of my expectations when it comes to syntax and oo concepts. So you should come to the Meeting tonight to make up your own mind about me (and Ian) being simply just freaks or Ruby just being a language that rocks. I thing Ian thinks similar on that issue, after all he is the object oriented fan.? alex - To get off this list, send email to [EMAIL PROTECTED] with Subject: unsubscribe -
[tslug] Re: Meeting Tomorrow 2-24 VH1232
Hi folks, If you are a computer linguistic geek or a real programmer/geek at heart (which, I think, is the very reason why you are on this mailing list) you should come to the TSLUG meeting tonight. Ian?s mentioned it already, but here again: he and I are going to spread the word why Ruby rocks. Ruby is an awesome programming language entirely built upon the concept of objects. While I just was astounded and exited when learning Perl (because of its many features OO concepts. So you should come to the Meeting tonight to make up your own mind about me (and Ian) simply being freaks or Ruby just being a language that rocks. I thing Ian thinks similar on that issue, after all he is the object oriented fan.? alex - To get off this list, send email to [EMAIL PROTECTED] with Subject: unsubscribe -
[tslug] Re: Meeting tomorrow!
You must be thinking of Ark-as-in-Noah Linux. This is Arch-as-in-Saint-Louis Linux. Arch is more or less from scratch, Ark is based on Redhat I think. The two distros probably started at around the same time so the name conflict wasn't apparent. On that note, the new version of Mozilla Firebird is named Firefox. While Firefox is a cooler name and without the conflict with the database, I think its getting a little ridiculious that they change their name so often. And I'm pretty sure its eventually going to be called "Mozilla" regardless. [EMAIL PROTECTED] wrote: Osnews has a very glowing review of Arch Linux. Arch Linux was founded by the guy that ran the KDE maintenance for Red Hat. And he's got some interesting ideas about task/role separation in terms of applications and users that's a bit different than the usual uid/gid/other permissions of *nix. I thought I read that he's using YUM to manage the package dependency/update stuff. And yes, it could be quite interesting. Mike/ - To get off this list, send email to [EMAIL PROTECTED] with Subject: unsubscribe -
[tslug] Re: Meeting tomorrow!
> Osnews has a very glowing review of Arch Linux. Arch Linux was founded by the guy that ran the KDE maintenance for Red Hat. And he's got some interesting ideas about task/role separation in terms of applications and users that's a bit different than the usual uid/gid/other permissions of *nix. I thought I read that he's using YUM to manage the package dependency/update stuff. And yes, it could be quite interesting. Mike/ - http://www.valuenet.net - To get off this list, send email to [EMAIL PROTECTED] with Subject: unsubscribe -
[tslug] Re: Meeting tomorrow!
The installfest is on Feb 21 15:00 in VH1010. Osnews has a very glowing review of Arch Linux. http://www.osnews.com/story.php?news_id=5971 It looks interesting. It uses just .tar.gz packages but has its own system ("pacman") of solving dependencies and such that looks easy like Debian and Gentoo, without the out-of-date software and long compile times respectively. I think it might be a good distro to look into for people wanting something like Debian that is up-to-date. Most of the Debian-based distros that feature up-to-date packages like Libranet don't have free downloads. Ian Monroe http://www.monroe.nu On Tue, 10 Feb 2004, Clarke Cooper wrote: > Hey Nate- > I haven't been to any meetings, and will be out of town tomorrow. When > is installfest? I plan on installing Gentoo or Debian on my laptop, > and would like to come. Thanks. > > Clarke Cooper > [EMAIL PROTECTED] > > > Nathaniel Green wrote: > > > >Hello all! > > > >There will be a meeting tomorrow at 6:30pm in VH1232. This would be a > >good meeting to attend to ask questions about the installfest, such as, > >'What do I need to bring?' and 'Which distro should I install?' or > >anything else you're curious about. > > > >Nate > > > > > > > > > >- > >To get off this list, send email to [EMAIL PROTECTED] > >with Subject: unsubscribe > >- > > > > > > - > To get off this list, send email to [EMAIL PROTECTED] > with Subject: unsubscribe > - > - To get off this list, send email to [EMAIL PROTECTED] with Subject: unsubscribe -
[tslug] Re: Meeting tomorrow!
Hey Nate- I haven't been to any meetings, and will be out of town tomorrow. When is installfest? I plan on installing Gentoo or Debian on my laptop, and would like to come. Thanks. Clarke Cooper [EMAIL PROTECTED] Nathaniel Green wrote: >Hello all! > >There will be a meeting tomorrow at 6:30pm in VH1232. This would be a >good meeting to attend to ask questions about the installfest, such as, >'What do I need to bring?' and 'Which distro should I install?' or >anything else you're curious about. > >Nate > > > > >- >To get off this list, send email to [EMAIL PROTECTED] >with Subject: unsubscribe >- > > - To get off this list, send email to [EMAIL PROTECTED] with Subject: unsubscribe -
[tslug] Re: Meeting Tomorrow
Assuming I remember, I'll be there. Or at least, plan to be. I'm excited. I'm gonna get Linux installed soon! -Keith > Also, I would like to get a bit of a preliminary head count for how > many people will be there tomorrow (Wednesday) evening at 6:30 in > VH1232. I'm planning on having food (food = pizza), so I'd like a > rough estimate. > > Thanks all! > Nate > > - > To get off this list, send email to [EMAIL PROTECTED] > with Subject: unsubscribe > - > - To get off this list, send email to [EMAIL PROTECTED] with Subject: unsubscribe -
[tslug] Re: Meeting Tomorrow
I plan on coming. Ian Monroe http://www.monroe.nu On Tue, 18 Feb 2003, Nathaniel Green wrote: >[snip] > Also, I would like to get a bit of a preliminary head count for how > many people will be there tomorrow (Wednesday) evening at 6:30 in > VH1232. I'm planning on having food (food = pizza), so I'd like a > rough estimate. > > Thanks all! > Nate - To get off this list, send email to [EMAIL PROTECTED] with Subject: unsubscribe -
[tslug] Re: Meeting Tomorrow
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I also intend to come, for a half hour or so (need to be elsewhere at 7). -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+UxrwD0uXJc9G6OcRAvl3AJ9ef67g1bLNtWAsTMNrJtOvyREzyACfY/lW myhoqn3GNPaNe15CvG8FaCc= =WjCN -END PGP SIGNATURE- - To get off this list, send email to [EMAIL PROTECTED] with Subject: unsubscribe -
[tslug] Re: Meeting Tomorrow
I'll be there (big surprise, that) On Tuesday 18 February 2003 07:07 pm, Nathaniel Green burbled: > So tomorrow's the installfest meeting. I'm not sure exactly how > everything will go down, but I think I'd basically like to begin with a > discussion of what prospective installees need to do before the > installfest. I would also like to invite anyone with more general > questions to come to the prep. meeting and ask them, and if one wanted, > one could bring their box to the Installfest and let someone who knows > what they're doing play a little and teach a little. > > Also, I would like to get a bit of a preliminary head count for how > many people will be there tomorrow (Wednesday) evening at 6:30 in > VH1232. I'm planning on having food (food = pizza), so I'd like a > rough estimate. > > Thanks all! > Nate -- Peter Snoblin - http://www2.truman.edu/~pas577/ - To get off this list, send email to [EMAIL PROTECTED] with Subject: unsubscribe -
[tslug] Re: Meeting Tomorrow
Hi -- I intend to come. Andy At 07:07 PM 2/18/2003, you wrote: >So tomorrow's the installfest meeting. I'm not sure exactly how >everything will go down, but I think I'd basically like to begin with a >discussion of what prospective installees need to do before the >installfest. I would also like to invite anyone with more general >questions to come to the prep. meeting and ask them, and if one wanted, >one could bring their box to the Installfest and let someone who knows >what they're doing play a little and teach a little. > >Also, I would like to get a bit of a preliminary head count for how >many people will be there tomorrow (Wednesday) evening at 6:30 in >VH1232. I'm planning on having food (food = pizza), so I'd like a >rough estimate. > >Thanks all! >Nate > >- >To get off this list, send email to [EMAIL PROTECTED] >with Subject: unsubscribe >- C. A. HilgartnerPhone: 660-627-2519 2413 North East Street FAX:660-627-2930 (voice contact first, please) Kirksville MO 63501 Website: www.hilgart.org - To get off this list, send email to [EMAIL PROTECTED] with Subject: unsubscribe -
[tslug] Re: Meeting tomorrow?
Yes, we will be having a meeting tonight at 6:30 in VH1232. Nate Peter Snoblin wrote: >Do we have a meeting tomorrow? I apologize if this was addressed, but my email >was acting up and it appears I missed a few messages. >-- >Peter Snoblin - http://www2.truman.edu/~pas577/ > > >- >To get off this list, send email to [EMAIL PROTECTED] >with Subject: unsubscribe >- > > - To get off this list, send email to [EMAIL PROTECTED] with Subject: unsubscribe -
[tslug] Re: Meeting Tomorrow!!
I'll be happy to bring in my BSD box if you guys want to help me futz with it. I can show you some parallels with Windows as well as with Linux. -Bill - To get off this list, send email to [EMAIL PROTECTED] with Subject: unsubscribe -