Missing libraries?

I’m starting a new thread to get away from
the other issues in the other one.

Here are some things I think might be
useful and not yet existent.

Disclaimer: In many cases I’m treading
on ground where I know little or nothing.

  1. Secure FTP
  2. Secure Telnet
  3. SSH (not even really sure what this is??)
  4. Is there good CORBA support?
  5. Any need for cryptographic stuff?
  6. I18N/M17N stuff??
  7. Native threads (e.g. pthreads)? (Yes, I
    know this is supposed to come with 2.0)
  8. Platform-independent audio support?
  9. MIDI??
  10. Read/write RTF?
  11. Read/write Postscript, PDF??
  12. Read/write archives? Compression?
  13. Natural language processing?
  14. X10 device control (home automation)
  15. Slink-e support (home automation)
  16. Sunrise/sunset by latitude/longitude/date
  17. Festival (TTS) interface
  18. Sphinx (voice rec) interface
  19. What was that thing at RubyConf? Ruby/Snack?
  20. PayPal vendor support (IPN, etc.)
  21. Advanced data structures??
  22. wxRuby (in progress)
  23. WebDAV?
  24. RSS?
  25. Oracle interface??

These things (below) are at least partially
supported by Ruby libraries, but may need
enhancement: JRuby, RJudy, POP3, IMAP, SMTP,
CORBA, Jabber, etc., etc.

Just some random notes. Release the hounds!

Hal

Hal E. Fulton wrote:

  1. Secure FTP
  2. Secure Telnet
  3. SSH (not even really sure what this is??)

A single wrapper around OpenSSH client package will do the above three.
SSH provides VPN-like layer for any network activity for the primary
purpose of being anti-sniffing.

openssh provides a “telnet”-like function out of the package, this is
“ssh” command.

A “ftp”-like function is via “sftp”.
An “rcp”-like function is via “scp”.

···


Wai-Sun “Squidster” Chia
Techinical Consultant
Consulting & Integration
“Just Another Ruby Miner”

  1. Numerical ruby (solidify NArray ?)
  2. Applicaton Server
  3. Scientific Library (like python has)
  4. SysVIPC (currently ‘experimental’)

-a

···

On Thu, 23 Jan 2003, Hal E. Fulton wrote:

  1. Secure FTP
  2. Secure Telnet
  3. SSH (not even really sure what this is??)
  4. Is there good CORBA support?
  5. Any need for cryptographic stuff?
  6. I18N/M17N stuff??
  7. Native threads (e.g. pthreads)? (Yes, I
    know this is supposed to come with 2.0)
  8. Platform-independent audio support?
  9. MIDI??
  10. Read/write RTF?
  11. Read/write Postscript, PDF??
  12. Read/write archives? Compression?
  13. Natural language processing?
  14. X10 device control (home automation)
  15. Slink-e support (home automation)
  16. Sunrise/sunset by latitude/longitude/date
  17. Festival (TTS) interface
  18. Sphinx (voice rec) interface
  19. What was that thing at RubyConf? Ruby/Snack?
  20. PayPal vendor support (IPN, etc.)
  21. Advanced data structures??
  22. wxRuby (in progress)
  23. WebDAV?
  24. RSS?
  25. Oracle interface??

====================================

Ara Howard
NOAA Forecast Systems Laboratory
Information and Technology Services
Data Systems Group
R/FST 325 Broadway
Boulder, CO 80305-3328
Email: ahoward@fsl.noaa.gov
Phone: 303-497-7238
Fax: 303-497-7259
====================================

Thanks for the enumeration, Hal. I’ve created a Wiki page for people
to give details of existing packages. Everybody please visit and fill
in some information!

http://www.rubygarden.org/ruby?RubyPackages

Gavin

···

On Thursday, January 23, 2003, 3:15:18 PM, Hal wrote:

I’m starting a new thread to get away from
the other issues in the other one.

Here are some things I think might be
useful and not yet existent.

[…]

RSS is so easy to implement:

http://segment7.net/ruby-code/rss/rss.rb

It provides minimal parsing of the .9, .91, and 1.0 formats. If you
really needed to, it would be trivial to have complete support.

···

Hal E. Fulton (hal9000@hypermetrics.com) wrote:

I’m starting a new thread to get away from
the other issues in the other one.

Here are some things I think might be
useful and not yet existent.

  1. RSS?


Eric Hodel - drbrain@segment7.net - http://segment7.net
All messages signed with fingerprint:
FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04

Hal E. Fulton wrote:

  1. MIDI??

There is a text to MIDI compiler (mine), what sort of midi tools do
people want?

  1. Read/write RTF?

I am working on this as we speak

  1. Read/write Postscript, PDF??

Maybe the next project unless a braver soul than I wants to take it on

  1. wxRuby (in progress)

Oh yes please. I want, I want, I want

The mcrypt library is fairly complete wrt available cryptographic
algorithms, and we have Ruby/MCrypt written by Hans-Dieter Stich at
http://www.rubylinks.de/ .

(However, it seems that the wrapper only functions properly in ECB mode.
This behavior seems to differ from the author’s intent, as the small
test program included in the distribution tests CFB and CBC as well, but
those tests fail.)

Has anyone implemented any strong crypto algorithms in native Ruby to
measure performance feasibility?

Brian

···
  1. Any need for cryptographic stuff?


Brian Smyth
smythb@alleg.edu || http://aries.etree.org/~hamal/

Something I’ve been looking for an found only aborted attempts. Ruby
BEEP. And especially, an XMLRPC/SOAP profile for it.
I’ve actually started looking at doing it myself, either trying to wrap
the roadrunner-c library using SWIG or doing a native implementation.
However, both of these have me a bit stumped. With the SWIG
implementation, I’m wondering how much of the glib-2.0 library I’ll have
to wrap, or if I’ll just need to make some minor conversions of things
like GBool and such.
As for the native implementation, I’m not sure how to do things like
send a 32bit int over the wire, without actually writing the library in
c and then wrapping it. My only thoughts are to use just a Fixnum and
then mask it off before sending it.

If someone were willing to tutor me a bit on this, I’d be willing to
take a shot at this.

Hal E. Fulton wrote:

···

I’m starting a new thread to get away from
the other issues in the other one.

Here are some things I think might be
useful and not yet existent.

Disclaimer: In many cases I’m treading
on ground where I know little or nothing.

  1. Secure FTP
  2. Secure Telnet
  3. SSH (not even really sure what this is??)
  4. Is there good CORBA support?
  5. Any need for cryptographic stuff?
  6. I18N/M17N stuff??
  7. Native threads (e.g. pthreads)? (Yes, I
    know this is supposed to come with 2.0)
  8. Platform-independent audio support?
  9. MIDI??
  10. Read/write RTF?
  11. Read/write Postscript, PDF??
  12. Read/write archives? Compression?
  13. Natural language processing?
  14. X10 device control (home automation)
  15. Slink-e support (home automation)
  16. Sunrise/sunset by latitude/longitude/date
  17. Festival (TTS) interface
  18. Sphinx (voice rec) interface
  19. What was that thing at RubyConf? Ruby/Snack?
  20. PayPal vendor support (IPN, etc.)
  21. Advanced data structures??
  22. wxRuby (in progress)
  23. WebDAV?
  24. RSS?
  25. Oracle interface??

These things (below) are at least partially
supported by Ruby libraries, but may need
enhancement: JRuby, RJudy, POP3, IMAP, SMTP,
CORBA, Jabber, etc., etc.

Just some random notes. Release the hounds!

Hal

Something I’ve been looking for an found only aborted attempts. Ruby
BEEP. And especially, an XMLRPC/SOAP profile for it.
I’ve actually started looking at doing it myself, either trying to wrap
the roadrunner-c library using SWIG or doing a native implementation.
However, both of these have me a bit stumped. With the SWIG
implementation, I’m wondering how much of the glib-2.0 library I’ll have
to wrap, or if I’ll just need to make some minor conversions of things
like GBool and such.
As for the native implementation, I’m not sure how to do things like
send a 32bit int over the wire, without actually writing the library in
c and then wrapping it. My only thoughts are to use just a Fixnum and
then mask it off before sending it.

If someone were willing to tutor me a bit on this, I’d be willing to
take a shot at this.

Hal E. Fulton wrote:

···

I’m starting a new thread to get away from
the other issues in the other one.

Here are some things I think might be
useful and not yet existent.

Disclaimer: In many cases I’m treading
on ground where I know little or nothing.

  1. Secure FTP
  2. Secure Telnet
  3. SSH (not even really sure what this is??)
  4. Is there good CORBA support?
  5. Any need for cryptographic stuff?
  6. I18N/M17N stuff??
  7. Native threads (e.g. pthreads)? (Yes, I
    know this is supposed to come with 2.0)
  8. Platform-independent audio support?
  9. MIDI??
  10. Read/write RTF?
  11. Read/write Postscript, PDF??
  12. Read/write archives? Compression?
  13. Natural language processing?
  14. X10 device control (home automation)
  15. Slink-e support (home automation)
  16. Sunrise/sunset by latitude/longitude/date
  17. Festival (TTS) interface
  18. Sphinx (voice rec) interface
  19. What was that thing at RubyConf? Ruby/Snack?
  20. PayPal vendor support (IPN, etc.)
  21. Advanced data structures??
  22. wxRuby (in progress)
  23. WebDAV?
  24. RSS?
  25. Oracle interface??

These things (below) are at least partially
supported by Ruby libraries, but may need
enhancement: JRuby, RJudy, POP3, IMAP, SMTP,
CORBA, Jabber, etc., etc.

Just some random notes. Release the hounds!

Hal

We have Oracle and RSS (I have an old version that I’ve recently updated
but not yet posted, and I believe someone else has an unreleased one).
Depending on
what you mean by Application Server, there’s a bit of that available too.
Can you clarify what you mean by Application Server?

Chad

···

On Thu, 23 Jan 2003, ahoward wrote:

On Thu, 23 Jan 2003, Hal E. Fulton wrote:

  1. Secure FTP
  2. Secure Telnet
  3. SSH (not even really sure what this is??)
  4. Is there good CORBA support?
  5. Any need for cryptographic stuff?
  6. I18N/M17N stuff??
  7. Native threads (e.g. pthreads)? (Yes, I
    know this is supposed to come with 2.0)
  8. Platform-independent audio support?
  9. MIDI??
  10. Read/write RTF?
  11. Read/write Postscript, PDF??
  12. Read/write archives? Compression?
  13. Natural language processing?
  14. X10 device control (home automation)
  15. Slink-e support (home automation)
  16. Sunrise/sunset by latitude/longitude/date
  17. Festival (TTS) interface
  18. Sphinx (voice rec) interface
  19. What was that thing at RubyConf? Ruby/Snack?
  20. PayPal vendor support (IPN, etc.)
  21. Advanced data structures??
  22. wxRuby (in progress)
  23. WebDAV?
  24. RSS?
  25. Oracle interface??
  1. Numerical ruby (solidify NArray ?)
  2. Applicaton Server
  3. Scientific Library (like python has)
  4. SysVIPC (currently ‘experimental’)

-a

Peter Hickman wrote:

[…]

  1. Read/write Postscript, PDF??

Maybe the next project unless a braver soul than I wants to take it on

We have been using a ruby postscript module extensively here, but it’s
written in a way that is fairly specific to our needs and may not be of
much use to anybody else. It would be a big objective-specifying and
refactoring job to come up with a general purpose ps module if this were
a starting point – it might be easier for somebody to port the existing
perl stuff over.

But typesetting using Ruby, I must say, has proved to be a pretty cool
thing to be able to do.

  1. Any need for cryptographic stuff?

The mcrypt library is fairly complete wrt available cryptographic
algorithms, and we have Ruby/MCrypt written by Hans-Dieter Stich at
http://www.rubylinks.de/ .

I disagree if it only contains symmetric ciphers according to
http://mcrypt.hellug.gr/.

(However, it seems that the wrapper only functions properly in ECB mode.
This behavior seems to differ from the author’s intent, as the small
test program included in the distribution tests CFB and CBC as well, but
those tests fail.)

Has anyone implemented any strong crypto algorithms in native Ruby to
measure performance feasibility?

I have RSA, DSA and ElGamal in pure Ruby. I haven’t compared to pure-c
implementations since assymetric ciphers are used “seldomly” compared to
symmetric ciphers so the advantage of having pure-Ruby implementation
outweighs disadvantage of speed, in many situations.

Having symmetric ciphers (AES, Blowfish et al) in pure Ruby would be
almost meaningless imho…

I can pack this up and submit to RAA if there is any interest.

Regards,

Robert Feldt

···

On Fri, 24 Jan 2003, Brian Smyth wrote:

What do people think of just wrapping the GNU Scientific Library?

So Scientific::zeta() would wrap gsl_sf_zeta_int() or would
Scientific::GSL::zeta() be better? I think that this is getting a little
verbose.

Then we can start adding other stuff that might not be included in the
GSL. Like an interface to PGPLOT.

Note: The GSL is GPL, not LGPL. I am cool with that, but I felt I should
mention it.

Cheers

···

On Thu, Jan 23, 2003 at 03:43:12PM +0900, ahoward wrote:

  1. Scientific Library (like python has)


Daniel Carrera
Graduate Teaching Assistant. Math Dept.
University of Maryland. (301) 405-5137

Hi,

From: “Eric Hodel” drbrain@segment7.net
Sent: Friday, January 24, 2003 2:00 AM

  1. RSS?

RSS is so easy to implement:

Agree. I created quick-and-dirty rss parser with xmlscan
for www.ruby-lang.org to show RAA in its sidebar.

http://segment7.net/ruby-code/rss/rss.rb

It provides minimal parsing of the .9, .91, and 1.0 formats. If you
really needed to, it would be trivial to have complete support.

I want RSS parser/generator built on Rubyrdf module though
I don’t think I can do it… Is there already?

Regards,
// NaHi

I disagree if it only contains symmetric ciphers according to
http://mcrypt.hellug.gr/.

Agreed, only symmetric ciphers are available in that library. Do you see
any glaring omissions in libmcrypt?

I have RSA, DSA and ElGamal in pure Ruby. I haven’t compared to pure-c
implementations since assymetric ciphers are used “seldomly” compared to
symmetric ciphers so the advantage of having pure-Ruby implementation
outweighs disadvantage of speed, in many situations.

Very good point.

Having symmetric ciphers (AES, Blowfish et al) in pure Ruby would be
almost meaningless imho…

That’s what I had figured, but I hadn’t seen any hard numbers.

I can pack this up and submit to RAA if there is any interest.

I’d love to see those.

Brian

···
  1. Scientific Library (like python has)

What do people think of just wrapping the GNU Scientific Library?

i have had this exact same idea. i think it would be an excellent start!

-a

···

On Fri, 24 Jan 2003, Daniel Carrera wrote:

On Thu, Jan 23, 2003 at 03:43:12PM +0900, ahoward wrote:

So Scientific::zeta() would wrap gsl_sf_zeta_int() or would
Scientific::GSL::zeta() be better? I think that this is getting a little
verbose.

Then we can start adding other stuff that might not be included in the
GSL. Like an interface to PGPLOT.

Note: The GSL is GPL, not LGPL. I am cool with that, but I felt I should
mention it.

Cheers

====================================

Ara Howard
NOAA Forecast Systems Laboratory
Information and Technology Services
Data Systems Group
R/FST 325 Broadway
Boulder, CO 80305-3328
Email: ahoward@fsl.noaa.gov
Phone: 303-497-7238
Fax: 303-497-7259
====================================

I just realized that there is no “Math” module:

require ‘math’
LoadError: No such file to load – math
from (irb):23:in `require’
from (irb):23

Would it be better to call the functions Math::zeta, Math::sinh and the
like? So they can be required with “require ‘math’” ?

···


Daniel Carrera
Graduate Teaching Assistant. Math Dept.
University of Maryland. (301) 405-5137

In article 20030123233856.GA1870@math.umd.edu,

  1. Scientific Library (like python has)

What do people think of just wrapping the GNU Scientific Library?

I’m not too familiar with it…

So Scientific::zeta() would wrap gsl_sf_zeta_int() or would
Scientific::GSL::zeta() be better? I think that this is getting a little
verbose.

Hmmm… well probably the second even though it’s more verbose. Just in
case someone wants to wrap a different scientific lib.

Swig would be a good tool for wraping this library.

Then we can start adding other stuff that might not be included in the
GSL. Like an interface to PGPLOT.

How about GNUPlot - actually there is something for gnuplot on the RAA.

Note: The GSL is GPL, not LGPL. I am cool with that, but I felt I should
mention it.

No problem as far as I’m concerned.

Phil

···

Daniel Carrera dcarrera@math.umd.edu wrote:

On Thu, Jan 23, 2003 at 03:43:12PM +0900, ahoward wrote:

“Or perhaps the truth is less interesting than the facts?”
Amy Weiss (accusing theregister.co.uk of engaging in ‘tabloid journalism’)
Senior VP, Communications
Recording Industry Association of America

Mark Slagell wrote:

– it might be easier for somebody to port the existing
perl stuff over.

That was my plan, it would be easier to do a regression test for the
Ruby code if there was a Perl program that I could pillage. It also
helps that I am a Perl programmer by day (and death wombat by night).

Don’t confuse module names with file names. There
is a Math module, of course, it’s just part of the
core and there’s no corresponding require.

Whether these things belong in Math is a question
I can’t answer. I assume they’d only get stuck in
Math if you loaded the library. And anyway, some
of these are probably already there. Isn’t there
a Math.sinh in 1.7.x?

Hal

···

----- Original Message -----
From: “Daniel Carrera” dcarrera@math.umd.edu
To: “ruby-talk ML” ruby-talk@ruby-lang.org
Sent: Thursday, January 23, 2003 6:18 PM
Subject: Re: Scientific library [ was Re: Missing libraries??]

I just realized that there is no “Math” module:

require ‘math’
LoadError: No such file to load – math
from (irb):23:in `require’
from (irb):23

Would it be better to call the functions Math::zeta, Math::sinh and the
like? So they can be required with “require ‘math’” ?