Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

novarubygroup · The Ruby User Group of Northern Virginia

The Yahoo! Groups Product Blog

Check it out!

Group Information

? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

Advanced
Messages Help
Messages 1 - 30 of 2848   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#1 From: "russell59" <russolsen@...>
Date: Thu Nov 17, 2005 4:55 pm
Subject: Anyone have any experience with Ruby base rules or expert system engines?
russell59
Send Email Send Email
 

Has anyone out there had any experience with Ruby base rules or expert system engines? It seems like Ruby with be a good language for these kinds of applications.

Two that I have come across are:

 * Mycin: http://www1.cs.columbia.edu/~laza/Software/Mycin/mycin.html: A Ruby implementation of the venerable mycin medical expert system shell.

* Rein: http://www.spice-of-life.net/rein/rein.html:  a simple rules engine built with Ruby.

Any others that you have some opinions about?

Russ Olsen

 


#2 From: "urdost" <urdost@...>
Date: Fri Nov 18, 2005 7:36 pm
Subject: Re: Anyone have any experience with Ruby base rules or expert system engines?
urdost
Send Email Send Email
 
Folks,

I was fortunate to attend "Ruby on Rails" talk by Dave Thomas last
night and that was my first entry into Ruby world. Hope to try it out
sometime this week.

If anyone missed last night's presentation @NovaJUG, here are few
pointers. http://bhamidipaty.blogspot.com

Cheers,
Satish


--- In novarubygroup@yahoogroups.com, "russell59" <russolsen@g...>
wrote:
>
>
> Has anyone out there had any experience with Ruby base rules or
expert system engines? It seems like Ruby with be a good language for
these kinds of applications.
>
> Two that I have come across are:
>
>  * Mycin:
http://www1.cs.columbia.edu/~laza/Software/Mycin/mycin.html: A Ruby
implementation of the venerable mycin medical expert system shell.
>
> * Rein: http://www.spice-of-life.net/rein/rein.html:  a simple
rules engine built with Ruby.
>
> Any others that you have some opinions about?
>
> Russ Olsen
>

#3 From: "David Bock" <dbock@...>
Date: Wed Nov 23, 2005 4:09 am
Subject: Welcome to the group!
javaguy_98
Send Email Send Email
 
This is amazing - we already have 47 members in this group.

First, let me mention that this is a moderated list for new members
only - this is to prevent spammers from joining.  Your first message
or two may lag until it gets approved, but after that, no approval
will be necessary.

So, lets get some conversation starting!  LEt me ask a few questions:

1) What are people using Ruby for?  Is your interest just
curiosity/academic, or are you using it in your jobs?

2) Do we have anyone in the group willing to give a presentation or
two on some Ruby subjects?  I'm thinking Ruby basics, web services,
text processing, connecting to services like LDAP, etc, would all be
facinating topics.

3) Would people be interested in doing a group study of the PragProg
Pickaxe book and/or rails book?  I can provide some space to meet in
Reston if people are interested in picking a regular date/time.

-db

#4 From: "lakshmanan_s" <lakshmans@...>
Date: Wed Nov 23, 2005 1:02 pm
Subject: Re: Welcome to the group!
lakshmanan_s
Send Email Send Email
 
--- In novarubygroup@yahoogroups.com, "David Bock" <dbock@f...> wrote:
>
> This is amazing - we already have 47 members in this group.
>
> First, let me mention that this is a moderated list for new members
> only - this is to prevent spammers from joining.  Your first message
> or two may lag until it gets approved, but after that, no approval
> will be necessary.
>
> So, lets get some conversation starting!  LEt me ask a few questions:
>
> 1) What are people using Ruby for?  Is your interest just
> curiosity/academic, or are you using it in your jobs?

my interest currently is purely curiosity.

>
> 2) Do we have anyone in the group willing to give a presentation or
> two on some Ruby subjects?  I'm thinking Ruby basics, web services,
> text processing, connecting to services like LDAP, etc, would all be
> facinating topics.
>
> 3) Would people be interested in doing a group study of the PragProg
> Pickaxe book and/or rails book?  I can provide some space to meet in
> Reston if people are interested in picking a regular date/time.
>

I am interested in doing a group study.

> -db
>
- Lakshmanan S.

#5 From: Tom Copeland <tom@...>
Date: Wed Nov 23, 2005 1:43 pm
Subject: Re: Welcome to the group!
tomcopeland_...
Send Email Send Email
 
On Wed, 2005-11-23 at 04:09 +0000, David Bock wrote:
> So, lets get some conversation starting!  LEt me ask a few questions:
>
> 1) What are people using Ruby for?  Is your interest just
> curiosity/academic, or are you using it in your jobs?

I'm using Ruby at work - writing an extension to move data in and out of
Evolution and writing a Ruby on Rails app, too.

Yours,

Tom

#6 From: Jeff Faust <ersatzjef@...>
Date: Wed Nov 23, 2005 12:34 pm
Subject: Re: Welcome to the group!
ersatzjef
Send Email Send Email
 
47 members and three emails<g>.   I'm interested in Ruby primarily because it demos so well, and hey - I'd like to be that productive.  I've been to a couple of the agile codefests, but I live in Frederick, so excepting a project I was on for the first few weeks of the Reston codefests the logistics just don't work.  I'm mentioning the codefests mostly because I'm expecting we're looking at a lot more interest than experience, and that seems like a pretty good way of getting into a new technology.
   How're the codefests going? 

 -jef

On 11/22/05, David Bock <dbock@...> wrote:
This is amazing - we already have 47 members in this group.

First, let me mention that this is a moderated list for new members
only - this is to prevent spammers from joining.  Your first message
or two may lag until it gets approved, but after that, no approval
will be necessary.

So, lets get some conversation starting!  LEt me ask a few questions:

1) What are people using Ruby for?  Is your interest just
curiosity/academic, or are you using it in your jobs?

2) Do we have anyone in the group willing to give a presentation or
two on some Ruby subjects?  I'm thinking Ruby basics, web services,
text processing, connecting to services like LDAP, etc, would all be
facinating topics.

3) Would people be interested in doing a group study of the PragProg
Pickaxe book and/or rails book?  I can provide some space to meet in
Reston if people are interested in picking a regular date/time.

-db






YAHOO! GROUPS LINKS





#7 From: "John Athayde (Meticulous)" <bobo@...>
Date: Wed Nov 23, 2005 6:12 am
Subject: Re: Welcome to the group!
roboboshi
Send Email Send Email
 

On Nov 22, 2005, at 11:09 PM, David Bock wrote:

1) What are people using Ruby for?  Is your interest just

curiosity/academic, or are you using it in your jobs?


We're mainly using the rails framework for building some very complex content management systems for clients. We're also building our visual effects pipeline in it right now. That's a long way from being complete, but is going to push the levels of our knowledge further. Might have to write some ruby wrappers for various things at some level.

So hiya everyone!

--


John Athayde   M. ARCH   

PARTNER 

Meticulous 

Design Group | Effects Group

1608 New Jersey Ave NW

Washington DC 20001


703.294.4832 (office)

202.285.3544 (mobile)

jmpa@...

www.meticulous.com




#8 From: Navjeet <navjeetc@...>
Date: Wed Nov 23, 2005 2:33 pm
Subject: Re: Welcome to the group!
navjeet
Send Email Send Email
 
I am writing a small rails web application to do a typical search and list items kind of thing. Also just launched another rails app on rubyforge to enter a timesheet (http://rubyforge.org/projects/timesheet/ ) to log time spent on projects, that will include some reporting as well.

Happy Railing....


--Navjeet

On 11/22/05, David Bock < dbock@...> wrote:
This is amazing - we already have 47 members in this group.

First, let me mention that this is a moderated list for new members
only - this is to prevent spammers from joining.  Your first message
or two may lag until it gets approved, but after that, no approval
will be necessary.

So, lets get some conversation starting!  LEt me ask a few questions:

1) What are people using Ruby for?  Is your interest just
curiosity/academic, or are you using it in your jobs?

2) Do we have anyone in the group willing to give a presentation or
two on some Ruby subjects?  I'm thinking Ruby basics, web services,
text processing, connecting to services like LDAP, etc, would all be
facinating topics.

3) Would people be interested in doing a group study of the PragProg
Pickaxe book and/or rails book?  I can provide some space to meet in
Reston if people are interested in picking a regular date/time.

-db


 

#9 From: Tom Copeland <tom@...>
Date: Wed Nov 23, 2005 2:30 pm
Subject: Re: Welcome to the group!
tomcopeland_...
Send Email Send Email
 
On Wed, 2005-11-23 at 08:43 -0500, Tom Copeland wrote:
> On Wed, 2005-11-23 at 04:09 +0000, David Bock wrote:
> > So, lets get some conversation starting!  LEt me ask a few questions:
> >
> > 1) What are people using Ruby for?  Is your interest just
> > curiosity/academic, or are you using it in your jobs?
>
> I'm using Ruby at work - writing an extension to move data in and out of
> Evolution and writing a Ruby on Rails app, too.

By the way, that extension is open source, BSD license:

http://revolution.rubyforge.org/

Yours,

Tom

#10 From: Jim Van Fleet <jim@...>
Date: Wed Nov 23, 2005 2:32 pm
Subject: Re: Welcome to the group!
xman
Send Email Send Email
 
David Bock wrote:
> This is amazing - we already have 47 members in this group.
>
> First, let me mention that this is a moderated list for new members
> only - this is to prevent spammers from joining.  Your first message
> or two may lag until it gets approved, but after that, no approval
> will be necessary.
>
> So, lets get some conversation starting!  LEt me ask a few questions:
>
> 1) What are people using Ruby for?  Is your interest just
> curiosity/academic, or are you using it in your jobs?

While I am not yet using it in my day job, a healthy amount of
curiousity exists there.  The notion of a "brown-bag" presentation to my
fellow employees has been raised.  I've just started here, so that's
been on the back-burner a bit.

I have, however, done one site in Rails as a hobby project.  It's now in
production and helping me in my role as membership chair for a local
non-profit.

I am working on a specialized application in Rails that I hope to turn
into a startup in the not-too-distant future.  Even if my business turns
out to be a total flop, I have learned so much about Rails that I would
consider it a positive investment of my time anyway.

I am also using Rails to create a new site for another non-profit I'm a
part of.  This one I used the Rails list to contract for.

> 2) Do we have anyone in the group willing to give a presentation or
> two on some Ruby subjects?  I'm thinking Ruby basics, web services,
> text processing, connecting to services like LDAP, etc, would all be
> facinating topics.

Any such presenter could get ideas from the very nice Enterprise
Integration With Ruby book available from the Pragmatic Programmers.
I've purchased the combo pack and have been very satisfied.

> 3) Would people be interested in doing a group study of the PragProg
> Pickaxe book and/or rails book?  I can provide some space to meet in
> Reston if people are interested in picking a regular date/time.

Like another poster, I don't know how much I'll be able to take
advantage of any meetings since I live in Richmond.  That hasn't stopped
me from making several trips up to NOVA for JUG meetings, though.

If I were in the area, I'd love the idea of using a meeting to do a Ruby
Quiz.  Reading the solutions to those are always fascinating.  It seems
like a great way to get exposure to new techniques.  Perhaps more than
half of what fascinates me about Rails is Ruby itself, after all.

Cheers,

Jim
http://blog.jimvanfleet.com/

#11 From: "Olson, Curtis B" <olsoncb@...>
Date: Wed Nov 23, 2005 4:13 pm
Subject: RE: Welcome to the group!
gullywompr
Send Email Send Email
 
Greetings!  My name is Curtis Olson, from Hamilton, VA.  I am
self-employed, currently working under contract to the U.S. Dept. of
State.  I just went through the Pragmatic Studio Ruby on Rails class in
Reston, and proudly count myself as a member of the Golden Spike group.

> 1) What are people using Ruby for?  Is your interest just
> curiosity/academic, or are you using it in your jobs?

My client is apprehensive to try Ruby, saying that nobody knows it, and
therefore the staff here can't maintain systems written in it.  Still, I
plan to work up some prototypes at home to try to convince them.
MapServer purportedly has nice Ruby script hooks, and a nifty GIS app
will get them where they live ;-)

> 2) Do we have anyone in the group willing to give a
> presentation or two on some Ruby subjects?  I'm thinking Ruby
> basics, web services, text processing, connecting to services
> like LDAP, etc, would all be facinating topics.

I'd be interested in doing this.  I'll try to create something
presentable.

> 3) Would people be interested in doing a group study of the
> PragProg Pickaxe book and/or rails book?  I can provide some
> space to meet in Reston if people are interested in picking a
> regular date/time.

I would very much like to participate in this.  The location is ideal
for me.  Hopefully it can be something scheduled outside of normal work
hours, but I can make do if necessary.

Cheers,
Curtis Olson

olsoncb@...
curtiso@...

#12 From: "Mark" <mark.gustetic@...>
Date: Wed Nov 23, 2005 7:52 pm
Subject: Re: Welcome to the group!
daltonus
Send Email Send Email
 
Hi everyone,

Right now I'm working with Ruby primarily for curiosity but if I
continue to like it, I'd definately be interested in getting a job
doing this type of programming.

I would also be interested in joining and study groups or
participating in and group meetings.

Mark



--- In novarubygroup@yahoogroups.com, "David Bock" <dbock@f...> wrote:
>
> This is amazing - we already have 47 members in this group.
>
> First, let me mention that this is a moderated list for new members
> only - this is to prevent spammers from joining.  Your first message
> or two may lag until it gets approved, but after that, no approval
> will be necessary.
>
> So, lets get some conversation starting!  LEt me ask a few questions:
>
> 1) What are people using Ruby for?  Is your interest just
> curiosity/academic, or are you using it in your jobs?
>
> 2) Do we have anyone in the group willing to give a presentation or
> two on some Ruby subjects?  I'm thinking Ruby basics, web services,
> text processing, connecting to services like LDAP, etc, would all be
> facinating topics.
>
> 3) Would people be interested in doing a group study of the PragProg
> Pickaxe book and/or rails book?  I can provide some space to meet in
> Reston if people are interested in picking a regular date/time.
>
> -db
>

#13 From: "Andrew Semprebon" <andrew@...>
Date: Wed Nov 23, 2005 9:34 pm
Subject: Re: Welcome to the group!
semprebon
Send Email Send Email
 
I'm interested in ruby/rails mainly for future jobs - I'm always
looking out for better ways to develop web applications. I'd also be
willing to give a presentation, although I'm not sure what about - I'm
not exactly a ruby guru yet.

--- In novarubygroup@yahoogroups.com, "David Bock" <dbock@f...> wrote:
> So, lets get some conversation starting!  LEt me ask a few questions:
>
> 1) What are people using Ruby for?  Is your interest just
> curiosity/academic, or are you using it in your jobs?
>
> 2) Do we have anyone in the group willing to give a presentation or
> two on some Ruby subjects?  I'm thinking Ruby basics, web services,
> text processing, connecting to services like LDAP, etc, would all be
> facinating topics.
>
> 3) Would people be interested in doing a group study of the PragProg
> Pickaxe book and/or rails book?  I can provide some space to meet in
> Reston if people are interested in picking a regular date/time.

#14 From: Devin Mullins <twifkak@...>
Date: Thu Nov 24, 2005 7:47 am
Subject: Re: Welcome to the group!
devinmullins
Send Email Send Email
 
David Bock wrote:

>This is amazing - we already have 47 members in this group.
>
>
Ye have magical publicity powers. :)

>1) What are people using Ruby for?  Is your interest just
>curiosity/academic, or are you using it in your jobs?
>
>
Mainly just interested in it as a really cool language -- easy to do
normal things, and possible to do weird things. Trying to push Rails at
work as a productivity booster. We'll see how that goes. Direct
management has actually been incredibly open to the idea. Middle
management I've had less contact with (purposefully :) so I dunno about
them. Peers have been giving me the run-around, though, asking all sorts
of skeptical questions, and then saying, "Oh, I mean, that's what I
expect somebody's going to ask you when you have to get it approved for
corporate use."

>2) Do we have anyone in the group willing to give a presentation or
>two on some Ruby subjects?
>
>
I've got a topic brewing that I'm pretty sure everybody would love. I've
just got to figure out how to get it in a presentable format, first.

>If I were in the area, I'd love the idea of using a meeting to do a Ruby
>Quiz.  Reading the solutions to those are always fascinating.  It seems
>like a great way to get exposure to new techniques.
>
I think that's a fantastic idea.

Devin
Re: rules engines, I seem to recall something about them on ruby-talk
(aka comp.lang.ruby) awhile back -- you could search the archives.

#15 From: "krbennettmd" <kbennett@...>
Date: Fri Nov 25, 2005 3:17 pm
Subject: Starting "Ruby Advocacy" Links Folder
krbennettmd
Send Email Send Email
 
All -

I'm very happy to be part of this new group.  I have used Ruby at work
off and on for a few years, but as yet only for simple tasks.

I would be very interested in attending meetings in the Reston area.
I do not yet have content to contribute, though I hope and expect that
at some point I will.

In 1964, Justice Potter Stewart declined to define pornography,
stating simply that "I shall not today attempt further to define the
kinds of material I understand to be embraced . . . [b]ut I know it
when I see it . . . "
(http://library.findlaw.com/2003/May/15/132747.html).

Similarly, although I don't know well other scripting languages (such
as Perl, PHP, and Python), when I look at Ruby, my gut tells me that
I'm looking at a great and revolutionary langugage...that 'I know it
when I see it'.

Yet this intuitive feeling of mine is not convincing to others who
require objective information on which to base their opinions.  So my
question is: does anyone know of objective, informative
presentations of Ruby's benefits over these languages?  Powerpoint
slides, Flash presentations, audio or video files, webcasts, web
pages, or plain text files would be examples of media that could be
provided to management to help persuade.

Resources directed to both technical and nontechnical (management)
people would be useful.

I suggest that we as a group keep track of such documents that can be
used by ourselves and others.  Perhaps we could start by posting them
in the Links section of this Yahoo group.  I've just created a "Ruby
Advocacy" folder there.  I've added three links as a start.

Regards,
Keith

#16 From: Devin Mullins <twifkak@...>
Date: Tue Nov 29, 2005 2:13 am
Subject: Re: Starting "Ruby Advocacy" Links Folder
devinmullins
Send Email Send Email
 
Hi, Keith!

krbennettmd wrote:

>I suggest that we as a group keep track of such documents that can be
>used by ourselves and others.  Perhaps we could start by posting them
>in the Links section of this Yahoo group.  I've just created a "Ruby
>Advocacy" folder there.  I've added three links as a start.
>
>
I added a link you're gonna love:

http://ruby-doc.org/whyruby/

Devin

#17 From: Colin Freas <colinfreas@...>
Date: Tue Nov 29, 2005 6:23 pm
Subject: Ruby on windows
colinfreas@...
Send Email Send Email
 

What's the best way to get Ruby up and running on Windows?

Is the ruby-1.8.3-i386-mswin32.zip file the best way to go, off of the releases at ruby-lang?

Any special caveats to running Ruby under Windows?

- Colin

#18 From: "Mark" <mark.gustetic@...>
Date: Wed Nov 30, 2005 6:18 pm
Subject: Re: Ruby on windows
daltonus
Send Email Send Email
 
--- In novarubygroup@yahoogroups.com, Colin Freas <colinfreas@g...>
wrote:
>
> What's the best way to get Ruby up and running on Windows?
>
> Is the ruby-1.8.3-i386-mswin32.zip file the best way to go, off of
the
> releases at ruby-lang?
>
> Any special caveats to running Ruby under Windows?
>
> - Colin
>

Here is the link to the one click installer for windows.

http://rubyforge.org/projects/rubyinstaller/

Mark

#19 From: Sean Mountcastle <smountcastle@...>
Date: Wed Nov 30, 2005 3:29 pm
Subject: Re: Ruby on windows
smountca
Send Email Send Email
 
Colin,

>  What's the best way to get Ruby up and running on Windows?

I would recommend using Curt Hibbs One-Click Ruby Installer:
http://rubyforge.org/projects/rubyinstaller/  or if you are interested
in Ruby on Rails using Instant Rails:
http://rubyforge.org/projects/instantrails/

Personally, I use Mac OS X, but I have used the One-Click Ruby
Installer on a Windows machine at work.  I have no experience with
Instant Rails, but from what I've read folks like it.

Regards,
Sean

#20 From: "Mark" <mark.gustetic@...>
Date: Wed Nov 30, 2005 6:21 pm
Subject: Very cool ruby tutorial
daltonus
Send Email Send Email
 
Here is a neat interactive introduction to ruby all through the web
browser.

http://tryruby.hobix.com/

If you want to show someone what ruby is like or introduce them to it,
this is a great way to do it.

Mark

#21 From: "David Bock" <dbock@...>
Date: Wed Nov 30, 2005 7:26 pm
Subject: Ruby and LDAP
javaguy_98
Send Email Send Email
 
Anyone have any experience with using LDAP authentication from Ruby?

I have found this library:  http://ruby-ldap.sourceforge.net/

But I am also interested in some kind of lightweight LDAP tutorial.  I
know in principal what LDAP is all about, but I have never used it via
an API before...

-db

#22 From: Navjeet <navjeetc@...>
Date: Wed Nov 30, 2005 7:03 pm
Subject: Re: Ruby on windows
navjeet
Send Email Send Email
 
You can either use one click installer from http://rubyforge.org/frs/?group_id=167

If you want Ruby, Rails, Apache, and MySQL, all preconfigured and ready to run, try instantRails @ http://instantrails.rubyforge.org/wiki/wiki.pl

--Navjeet


On 11/29/05, Colin Freas <colinfreas@...> wrote:

What's the best way to get Ruby up and running on Windows?

Is the ruby-1.8.3-i386-mswin32.zip file the best way to go, off of the releases at ruby-lang?

Any special caveats to running Ruby under Windows?

- Colin


SPONSORED LINKS
Programming languages Northern virginia Computer security
C programming language Computer programming languages Computer training


YAHOO! GROUPS LINKS






--
Navjeet
http://www.javaah.com

#23 From: m m <staticvars@...>
Date: Wed Nov 30, 2005 9:04 pm
Subject: Re: Ruby and LDAP
staticvars
Send Email Send Email
 
Check out this link for rails:
http://wiki.rubyonrails.com/rails/pages/HowtoAuthenticateViaLdap

When you say Authenticate via LDAP, do you mean that you are storing some token such as passwords in a directory and then checking them against what a user submits? I suppose you could also have user roles in the directory, or groups that specify users.  Another thing you might have to worry about is authenticating to the LDAP server itself from your application.

The API is just going to give you the ability to do queries (mostly) and updates of the directory.

-Matt-

David Bock <dbock@...> wrote:
Anyone have any experience with using LDAP authentication from Ruby?

I have found this library:  http://ruby-ldap.sourceforge.net/

But I am also interested in some kind of lightweight LDAP tutorial.  I
know in principal what LDAP is all about, but I have never used it via
an API before...

-db






Yahoo! Music Unlimited - Access over 1 million songs. Try it free.

#24 From: "Tom Copeland" <tom@...>
Date: Wed Nov 30, 2005 7:33 pm
Subject: RE: Ruby and LDAP
tomcopeland_...
Send Email Send Email
 
> Anyone have any experience with using LDAP authentication from Ruby?
>
> I have found this library:  http://ruby-ldap.sourceforge.net/
>
> But I am also interested in some kind of lightweight LDAP
> tutorial.  I know in principal what LDAP is all about, but I
> have never used it via an API before...

There's also:

http://rubyforge.org/projects/ruby-activeldap/

which seems fairly active (last release Nov 2).  Not that I've used
it...

Yours,

Tom

#25 From: Scott Sayles <scott.sayles@...>
Date: Thu Dec 1, 2005 7:05 am
Subject: Re: Ruby and LDAP
scott.sayles@...
Send Email Send Email
 
I'm guessing you are just talking about how to simply create an authenticated connection to the LDAP server...

The setup for ActiveLDAP kinda sucks.  I had an easier time using ruby-ldap although there aren't many good docs, but at least there is a good amount of rdoc.  There was a decent example I found somewhere, but I'm having a hard time finding it again.  I think it was some additional docs that Ian wrote (the latest maintainer of ruby-ldap) but I might be thinking of something for ActiveLDAP.  Anyway.  Connecting with ruby-ldap is very simple:
 begin
LDAP::Conn.new($HOST, $PORT).bind(user, password)
rescue
# connect failure
end

If that doesn't error, you've successfully authenticated.

The bind call yields the connection and will close it for you if you use it in an accepting block.  You can then use the Conn object to submit searches and do updates or whatever.

Scott

On 11/30/05, David Bock <dbock@...> wrote:
Anyone have any experience with using LDAP authentication from Ruby?

I have found this library:  http://ruby-ldap.sourceforge.net/

But I am also interested in some kind of lightweight LDAP tutorial.  I
know in principal what LDAP is all about, but I have never used it via
an API before...

-db






------------------------ Yahoo! Groups Sponsor --------------------~-->
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/I258zB/QnQLAA/TtwFAA/saFolB/TM
--------------------------------------------------------------------~->


Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/novarubygroup/

<*> To unsubscribe from this group, send an email to:
    novarubygroup-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/






#26 From: Jim Van Fleet <jim@...>
Date: Thu Dec 1, 2005 11:56 am
Subject: Re: Ruby on windows
xman
Send Email Send Email
 
On Tue, 2005-11-29 at 13:23 -0500, Colin Freas wrote:
>
> What's the best way to get Ruby up and running on Windows?
>
> Is the ruby-1.8.3-i386-mswin32.zip file the best way to go, off of the
> releases at ruby-lang?
>
> Any special caveats to running Ruby under Windows?
>
> - Colin

I would also recommend the One-click Installer.  It may not make a bit
of difference for most cases, but I've found it the most useful of the
things I've tried.

Also, don't count on getting it to work with Cygwin, as well.  Maybe
that's just on my setup, though.

And installing it from *within* Cygwin you should just forget about
right now.  I didn't even mention it.  (Ruby gets S--L--O--W!  Try
running those test cases as often when you know it'll take 2 minutes to
even start running.)

Cheers,

Jim

#27 From: Sean Mountcastle <smountcastle@...>
Date: Thu Dec 1, 2005 2:10 pm
Subject: Re: Ruby and LDAP
smountca
Send Email Send Email
 
David,

Anyone have any experience with using LDAP authentication from Ruby?

I have found this library:  http://ruby-ldap.sourceforge.net/

I'm using ruby-ldap to authenticate users for an intranet Rails web-app at work. The code is modelled on the authentication in the AWDwR. Here is a snippet (I replaced by company name with 'example'):

      begin
        connection = LDAP::Conn.new(host="ldap.example.com", port=389)
        dn = 'uid=' + name + ',ou=active,ou=employees,ou=people,o=example.com'
        res = connection.simple_bind(dn, password)
        # check if  authentication was successful
        rval = connection.bound?
      rescue LDAP::Error => detail
        puts "bind failed ..."
        pp detail
      end

      return rval

I'm relatively new to Ruby so my style is probably bad, but the code works. I do wish ruby-ldap was packaged as a gem ...

There is also a good example of using LDAP in Enterprise Integration with Ruby.

Regards,
Sean

#28 From: Erik Hatcher <erik@...>
Date: Thu Dec 1, 2005 8:34 pm
Subject: Fwd: [cvillejug] Ruby Code Jam!
ErikHatcher
Send Email Send Email
 
I came up from C'ville to the PragRailsStudio... now it's your turn
to come down to C'ville. You know, it's that place out in the sticks
where TJ set up shop?!   :)

Space is limited, so we're capping attendance, so sign up early if
you are interested.

I've got a couple of ideas to implement already... a Kowari semantic
web querying DSL (think ActiveRecord for the semweb) or Ferret/Rails
integration...

	 Erik


Begin forwarded message:

> From: "Nick Laiacona" <nick@...>
> Date: 30 November 2005 08:50:04 GMT-05:00
> To: <cvillejug@yahoogroups.com>
> Subject: [cvillejug] Ruby Code Jam!
> Reply-To: cvillejug@yahoogroups.com
>
> Announcing the Ruby Code Jam!
>
>
> January 28, 2006 @ the Mudhouse Smartoom space
>
>
> This is going to be an all day hack-a-thon, dedicated to learning
> and exploring the capabilities of Ruby and Ruby on Rails. We have
> reserved the executive meeting space at the Mudhouse on the
> downtown mall in Charlottesville. Breakfast, lunch, and coffee will
> be included. Bring your laptops and your ideas! Participation is
> limited to twelve people, the cost of the event is $60. You must
> pay to be registered.
>
>
> More information can be found here: www.laiacona.com/rubyjam . Feel
> free to forward this message to interested parties.
>
>
> Hope to see you there!
>
> - Nick
>
>
> YAHOO! GROUPS LINKS
>
>  Visit your group "cvillejug" on the web.
>
>  To unsubscribe from this group, send an email to:
>  cvillejug-unsubscribe@yahoogroups.com
>
>  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
>

#29 From: "krbennettmd" <kbennett@...>
Date: Wed Dec 7, 2005 7:04 pm
Subject: Ruby IDE?
krbennettmd
Send Email Send Email
 
All -

I'd be curious to know how many people use (and like) any IDE's for
Ruby, and if so, which ones?  Or do you just text editors, and if so,
do you use your usual preferred editor (vi, emacs, etc.) or another
editor with Ruby-specific features?

I downloaded and installed the One-Click Installer, which includes the
FreeRIDE IDE, and also the RDE from Sourceforge.  At first glance, RDE
looks better, but that's just first glance.

Any preferences?

Thanks,
Keith

#30 From: "Tom Copeland" <tom@...>
Date: Wed Dec 7, 2005 7:10 pm
Subject: RE: Ruby IDE?
tomcopeland_...
Send Email Send Email
 
\
> I'd be curious to know how many people use (and like) any
> IDE's for Ruby, and if so, which ones?  Or do you just text
> editors, and if so, do you use your usual preferred editor
> (vi, emacs, etc.) or another editor with Ruby-specific features?
>
> I downloaded and installed the One-Click Installer, which
> includes the FreeRIDE IDE, and also the RDE from Sourceforge.
>  At first glance, RDE looks better, but that's just first glance.

I've been using Eclipse + RDT:

http://rubyeclipse.sourceforge.net/

It works pretty well - syntax highlighting, running unit tests from with
Eclipse, all that sort of thing.

Yours,

Tom

Messages 1 - 30 of 2848   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help