[#37132] OT: Cool Open Source request — Dave Thomas <Dave@...>
Dave Thomas <Dave@pragmaticprogrammer.com> wrote:
On Tue, Apr 02, 2002 at 06:50:45AM +0900, Todd Gillespie wrote:
[#37143] re-extending object — Ed Sinjiashvili <edsin@...>
Hello,
[#37146] Trying to build eRuby under windows with GCC — "Philip Mateescu" <philip@...>
Hi,
[#37174] Re: String#begins?(s) — <mengx@...>
I implemented and have been using
[#37182] Sun Microsystems Buys Rights to Ruby — <james@...>
I'm surprised nobody in the list has mentioned this. I read in a ZDNet
[#37198] Larry Wall proclaims Ruby to be Perl 6 — ptkwt@...1.aracnet.com (Phil Tomson)
As reported in the Ruby Weekly News:
[#37228] remacs — Yohanes Santoso <ysantoso@...>
Hi,
[#37231] Announcing New Ruby Book Under Development! — <robert.calco@...>
Everybody:
Sean Middleditch <elanthis@awesomeplay.com> wrote in message news:<1017798195.15689.24.camel@stargrazer>...
On Tue, 2 Apr 2002 robert.calco@verizon.net wrote:
Have you checked out?
Hi,
On Tue, 2002-04-02 at 20:16, nobu.nokada@softhome.net wrote:
[#37232] seeking to understand... — Mark Probert <probertm@...>
Kent Dahl wrote:
On Wed, Apr 03, 2002 at 05:33:49AM +0900, Dr. David Mertz wrote:
In article <87d6xhaoif.fsf@jenny-gnome.dyndns.org>,
In article <3813.198.133.202.18.1017778936.squirrel@12.27.88.122>,
[#37253] Mixins vs. Multiple Inheritance — "Jason Voegele" <jason@...>
Given that including a module M into a class C
[#37265] a note on the . and .. discussion — patrick-may@... (Patrick May)
I just realized that unix commands do not recognize the "." and ".."
[#37281] Is eval a code/design smell? — "Chris Morris" <home@...>
I seem to have an inherent distaste for eval, but I don't know why. I've
> I never use eval. However, I use module_eval all the time. That is,
Sean Middleditch <elanthis@awesomeplay.com> wrote in message news:<1017933822.1548.12.camel@smiddle>...
On Thu, 2002-04-04 at 17:32, Avi Bryant wrote:
> I know I would. To me, that is indeed a language flaw. There should be
On Thu, 2002-04-04 at 20:33, Harry Ohlsen wrote:
On Wed, 03 Apr 2002 00:15:10 GMT, "Chris Morris" <home@clabs.org> wrote:
On Wed 03 Apr 2002 at 20:35:30 +0900, you wrote:
On Thu, 2002-04-11 at 01:40, Ian Macdonald wrote:
On Thu 11 Apr 2002 at 22:07:03 +0900, you wrote:
On Thu, 2002-04-11 at 12:06, Ian Macdonald wrote:
>>>>> "S" == Sean Middleditch <elanthis@awesomeplay.com> writes:
On Thu, 2002-04-11 at 12:25, ts wrote:
>>>>> "S" == Sean Middleditch <elanthis@awesomeplay.com> writes:
On Thu, 2002-04-11 at 12:42, ts wrote:
>>>>> "S" == Sean Middleditch <elanthis@awesomeplay.com> writes:
On Thu, 2002-04-11 at 12:59, ts wrote:
>>>>> "S" == Sean Middleditch <elanthis@awesomeplay.com> writes:
On Fri, Apr 12, 2002 at 02:05:09AM +0900, Sean Middleditch wrote:
On Fri, Apr 12, 2002 at 02:34:29AM +0900, Alan Chen wrote:
[#37296] Request for Advice -- Undefined Symbol — Dennis Newbold <dennisn@...>
Unless you've tried doing something like this, you may not be
[#37301] statement separator — Yohanes Santoso <ysantoso@...>
Hi,
[#37308] TCPSocket::new in ruby 1.7 — "Nikolay Elkov" <nick@...>
When I execute the following
[#37320] Newbie Questions — ghost <ghost_djNOSP@...>
Apologies if there is a FAQ I missed or this is out of line here, but I
[#37342] regular expression question — "Firestone, Mark - Technical Support" <mark.firestone@...>
Thanks for the help with the tread questions guys... I have one about (gasp)
Hello --
[#37385] TextPad replacement for Linux? — Tobias Reif <tobiasreif@...>
TIA,
Gerhard H舐ing wrote:
[#37397] Really new-new-newbie question :) — "Philip Mateescu" <philip@...>
Hi,
[#37428] Re: mkmf.rb — Tobias DiPasquale <anany@...>
On Wed, 03 Apr 2002 13:44:13 -0500, nobu.nokada wrote:
[#37454] ModRUBY question — George Moschovitis <gmosx@...>
Hi everybody,
George Moschovitis <gmosx@image.ece.ntua.gr> wrote:
yeas i think too that mod_ruby uses more than one interpreter. :(
> yeas i think too that mod_ruby uses more than one interpreter. :(
[#37462] Help: Ruby<->C++ callbacks — Luigi Ballabio <ballabio@...>
[#37464] SOAP query — Holden Glova <dsafari@...>
-----BEGIN PGP SIGNED MESSAGE-----
[#37470] Test the result of an initialization ? — jayce@... (Jayce Piel)
[#37482] Some ActiveRuby/RubyScript questions — Liorean <Liorean@...>
Greetings!
[#37494] REXML queries — "Nat Pryce" <nat.pryce@...13media.com>
Hi. A couple of queries about the wonderful REXML library.
[#37522] Ruby on the Sharp Zaurus? — "Stefan Matthias Aust" <sma@3plus4.de>
Hi!
[#37534] -- Starting a Background Process — Dennis Newbold <dennisn@...>
If I'm submitting this suggestion / request in the wrong form or place,
モヤチヤリナ <Pine.GSO.3.96.1020404133737.22806A-100000@shell2> Dennis Newbold ホチミノモチフ(チ):
Greetings,
>>>>> "A" == Arno Erpenbeck <aerpenbe@uni-osnabrueck.de> writes:
[#37540] Fibonacci Number Generators — jzakiya@... (Jabari Zakiya)
Hi, I'm a newbie, coming to Ruby from a
[#37549] OO/Ruby Terminology — <james@...>
I added a wiki page for Ruby book development ...
-----BEGIN PGP SIGNED MESSAGE-----
> From: bbense+comp.lang.ruby.Apr.07.02@telemark.stanford.edu
In article <PGEPJIFLPEPOHCKEEEIKIEFADCAA.james@rubyxml.com>,
> From: Chris [mailto:chris@cmb-enterprises.com]
Hi --
[#37591] Webrick session ? — "Stephan J. Schmidt" <stephan.schmidt@...>
Hello,
[#37616] Additions to math.c (more math functions) — Mike Hall <mghall@...>
Since 1.7 added the hyperbolic trig functions,
[#37617] Addition to file.c (File.extension) — Mike Hall <mghall@...>
Hi,
In message <20020408145239.67568.qmail@web12407.mail.yahoo.com>
[#37635] ruby speed? — Tyler Spivey <tspivey8@...>
i don't know if this has been issued before,
[#37653] Switching from PHP to Ruby - Comments Please — Jim Freeze <jim@...>
Hi:
> Well, I'm about ready to make the switch to a Ruby based website. My
On Sun, Apr 07, 2002 at 03:44:58AM +0900, Sean Chittenden wrote:
On Mon, Apr 08, 2002 at 12:12:52PM +0900, james@rubyxml.com wrote:
Since I am planning on using MySQL (may switch to PostgreSQL,
> Since I am planning on using MySQL (may switch to PostgreSQL, but
[#37679] Socket API — Tom Gilbert <tom@...>
Could someone tell me how to create a "struct sockaddr stored in a
In article <20020407021324.GE6112@killik.co.uk>, Tom Gilbert wrote:
Hi,
Hi,
[#37700] IRB — Carl Parrish <cparrish@...>
I can't seem to get irb to work I can find the irb.rb file. but if I
[#37710] Exception instances... — Sean Chittenden <sean@...>
I don't understand where the following warning is coming from:
On Mon, Apr 08, 2002 at 10:33:27AM +0900, Sean Chittenden wrote:
[#37746] ruby-dev summary 16501-16750 — TAKAHASHI Masayoshi <maki@...>
Hi all,
>>>>> "M" == Michael Campbell <michael_s_campbell@yahoo.com> writes:
>
>>>>> "M" == Michael Campbell <michael_s_campbell@yahoo.com> writes:
> From: TAKAHASHI Masayoshi
Hi,
[#37759] Threads — "Kontra, Gergely" <kgergely@...>
Hi!
[#37767] Re: [patch] update to (X)Emacs modes — Ville Skytt<ville.skytta@...>
>> attached is a patch with some trivial changes to ruby-mode.el and
[#37778] ruby language capabilities — Soso Chs <sosoruby@...>
hi,
[#37781] capital method names — Paul Brannan <paul@...>
When I write:
Paul Brannan wrote:
[#37788] Little interface improvement request for embedding Ruby — "Christian Boos" <cboos@...>
Hi,
Hi,
[#37795] ruby + Creating and extending XML documents — Oliver Beddows <oliver@...>
Hi,
> I`m pretty new to Object Orientation, so am I being naive?
[#37797] Source code for _The Ruby Way_ — "Hal E. Fulton" <hal9000@...>
After much delay, I have delivered the
[#37807] RE: Source code for _The Ruby Way_ — "Pe, Botp" <botp@...>
Yes, pls.
[#37833] Ruby as replacement for VB? — "Robb Shecter" <rs@...>
Hi,
> Hi,
[#37835] crypting ruby source — Ludo <coquelle@...>
Hi,
Ludo <coquelle@enib.fr> wrote in message news:<3CB31298.13A44B26@enib.fr>...
> The reasons for doing this are obvious, $$. You want to distribute
On Sun, 14 Apr 2002 13:55:45 GMT,
> > not trying to sound smartassy here, but the lack of native support for that
[#37838] Easy character comparisons — "Sean O'Dell" <sean@...>
Today I spent a little time debugging something I "didn't expect." I
[#37839] mix-in dependancy — Yohanes Santoso <ysantoso@...>
I'm playing around with the idea of attaching modules to some class
[#37887] why do the methods from my mixed-in module disappear? — Ian Macdonald <ian@...>
Have a look at this piece of code:
[#37898] SOAP4R/1.4.3 — "NAKAMURA, Hiroshi" <nahi@...>
Hi all,
Hi all,
Hi all,
[#37925] regex: how to negate sequences? — Tobias Reif <tobiasreif@...>
Hi,
[#37929] delete a sequence of chars — Tobias Reif <tobiasreif@...>
Hi,
[#37962] Is Carbon ruby dead? — mattmsykes@... (Matt M Sykes)
The only info I've found is
[#37970] ruby and finance — Patrik Sundberg <ps@...>
Hi,
[#37991] OT: OO terminology — "Hal E. Fulton" <hal9000@...>
The terminology thread reminded me of something
[#37998] Anyone attending SD Expo on April 24? — matz@... (Yukihiro Matsumoto)
Hi,
matz@ruby-lang.org (Yukihiro Matsumoto) writes:
[#38002] Am I going mad? Works in IRB not in a file! — "Ralph Mason" <ralph.mason@...>
This must be something I am doing wrong. In a file the output from this
[#38008] RegExp for "AND" search pattern... — patrick-may@... (Patrick May)
How could a regexp be constructed for an "AND" search pattern?
[#38044] RFC - class_added callback — Michal Rokos <m.rokos@...>
Hello,
> From: Michal Rokos
[#38046] GetoptLong question — djberg96@... (Daniel Berger)
Hi all,
On 11 Apr 2002, at 22:16, Daniel Berger wrote:
[#38055] Thread safety of Queue.push — Mathew Johnston <mjohnston@...>
I was wondering if it was safe to have multiple threads all pushing onto
[#38085] Array#pack: byte order for unsigned types — "Jason Voegele" <jason@...>
I've been using Array#pack heavily lately, and noticed that there is no way
HI,
[#38097] exceptions that are not Exceptions — Paul Brannan <pbrannan@...>
If someone (not me) does this in an extension:
Hi,
[#38101] How to Make a Method Ineffective Efficiently? — William Djaja Tjokroaminata <billtj@...>
Hi,
Hello,
Thanks for all the responses. I just want to add the final
[#38103] Is this behavior correct? — David Corbin <dcorbin@...>
--cut--
[#38106] Process controlls — johnwyp@... (JohnW)
OK, here's what I'm trying to do (keep in mind I'm a Ruby Nuby)...
[#38126] Ruby/Google — Ian Macdonald <ian@...>
Hi,
Ian Macdonald <ian@caliban.org> wrote:
[#38136] Idea for a new shorthand — "Hal E. Fulton" <hal9000@...>
OK, maybe this is an idea no one will like. Or
On Fri, Apr 12, 2002 at 03:59:51PM +0900, Hal E. Fulton wrote:
[#38138] Ruby and MSVC++ — "Anton V.Kondakov" <anton@...>
Hello
[#38167] Why Object#class Is Inconsistent in "==" and "case"? — William Djaja Tjokroaminata <billtj@...>
Hi,
[#38199] not vs !, and vs && — <james@...>
I'm confused about the behavior of 'not'. The Pickaxe and Ruby21Days books
james@rubyxml.com wrote:
>
james@rubyxml.com wrote:
[#38225] Re: Rudy idiom for enumeranting parents of a node? — Pete McBreen <pete@...>
Brad Cox wrote
[#38234] Stop Using SOAP, Before It's Too Late — Tobias DiPasquale <anany@...>
Hi all,
I would like to suggest to have a look at REST instead if you are looking for a
[#38238] Barnes & Noble putting on the squeeze — David Alan Black <dblack@...>
Hello --
On Sun, 14 Apr 2002, David Alan Black wrote:
In article <Pine.LNX.4.30.0204131135510.13223-100000@bigfun.whirlycott.com>,
[#38239] Freshmeat article about Ruby — Tobias DiPasquale <anany@...>
Hi all,
Tobias DiPasquale wrote:
Hi --
David Alan Black <dblack@candle.superlink.net> writes:
On Fri, Apr 19, 2002 at 01:07:22AM +0900, Mark Hulme Jones wrote:
On Fri, 19 Apr 2002, Paul Brannan wrote:
On 4/18/02 9:30 AM, "Pat Eyler" <pate@eylerfamily.org> wrote:
Jack Herrington wrote:
Hello --
> I highly recommend including the following disclaimer in every
[#38253] ring the alarm — Tobias Reif <tobiasreif@...>
Hi,
[#38270] Silence warning — David Corbin <dcorbin@...>
/home/dcorbin/projects/homenet/tools/testall.rb:41: warning: already
[#38272] statements & expressions( was RE: not vs !, and vs && ) — <james@...>
> From: Guy N. Hurst [mailto:gnhurst@hurstlinks.com]
[#38287] RCR: key value mapping for sprintf/% — "Guy N. Hurst" <gnhurst@...>
I was on irc at irc.openprojects.net in #ruby-lang
Hi,
[#38307] inspect object attributes — "George Moschovitis" <gmosx@...>
Hi all,
[#38331] mime type — Tobias Reif <tobiasreif@...>
Hi all,
[#38338] Compiling Ruby on Mac OS X — Alwyn <alwyn@...>
I've downloaded the latest Stable Snapshot and tried building it. It
In <20020415091534.A89552@freeze.org> Jim Freeze <jim@freeze.org> wrote:
On 4/15/02 6:41 AM, "Alwyn" <alwyn@alwyn.demon.co.uk> wrote:
[#38365] RE: Pascal to Ruby — "Firestone, Mark - Technical Support" <mark.firestone@...>
Well, ya... I have a bunch of text, in (in pascal terms) an array of string.
[#38373] need help on using Ruby to replace some SED expressions — kackson@... (kackson)
I tried sed. But it is getting really tough when I keep realizing I've
[#38385] Ruby/Google 0.2.0 — Ian Macdonald <ian@...>
Hi all,
[#38389] Fw: Problem with the PDF of Programming Ruby — "Philip Mateescu" <philip@...>
Hi.
[#38432] - Cleanups — Michal Rokos <m.rokos@...>
Hello,
[#38449] Help wanted for statvfs extension — djberg96@... (Daniel Berger)
Hi all,
Mike Hall <mghall@enteract.com> wrote in message
On Wed, 17 Apr 2002 05:04:06 +0900
Hi,
On Wed, 17 Apr 2002 13:45:02 +0900
Hi,
On Wed, 17 Apr 2002 21:59:00 +0900
Hi,
On Wed, 17 Apr 2002 22:35:09 +0900
Hi,
[#38461] Redefining module methods — "Sean O'Dell" <sean@...>
In two Ruby script files I have two methods of the same name within a single
[#38483] visual c, ruby, and fastcall hassle — Lorien Dunn <loriend@...>
Hello all,
Hi,
[#38525] resolv.rb Bug — "Roy J. Milican" <roy@...>
Greetings,
In article <28544001472.20020417142749@milican.com>,
Hi,
In article <200204180556.g3I5uTM16177@sharui.nakada.kanuma.tochigi.jp>,
Hi,
Greetings,
Hi,
-----BEGIN PGP SIGNED MESSAGE-----
[#38535] RFC: article about testers using Ruby. — Brian Marick <marick@...>
I've written a first draft of an article with several ulterior motives. One
[#38547] Tk under Ruby [newbie to ruby] — "Kontra, Gergely" <kgergely@...>
Hello!
"Kontra, Gergely" wrote:
>"Kontra, Gergely" wrote:
[#38555] ruby/postgres problem — "Steve Cranford" <stevecranford@...>
I'm trying to determine if a resultset is empty. if it is, I want to
[#38557] Confused by example in Pickaxe book — djberg96@... (Daniel Berger)
Hi all,
[#38571] recursive require warning... — ptkwt@...1.aracnet.com (Phil Tomson)
I ran into a problem with a Ruby script on Windows due to the fact that
[#38574] Object#send with $SAFE >= 1 — "Jason Voegele" <jason@...>
I'm writing a web application for which I need to call methods dynamically
On Fri, Apr 19, 2002 at 04:10:42AM +0900, Jason Voegele wrote:
[#38585] Ruby-Poll-0.01 — Michael Granger <ged@...>
Michael Granger wrote:
[#38592] GC problem in C++ extension — Paul Brannan <pbrannan@...>
I have a test program that looks like this:
[#38627] Imlib2-Ruby 0.4.0 — Paul Duncan <pabs@...>
I just posted Imlib2-Ruby version 0.4.0, my Ruby bindings for Imlib2
Paul Duncan wrote:
Paul:
[#38633] Replacing groups of methods: How would *you* do this? — "Hal E. Fulton" <hal9000@...>
Question for you.
[#38635] Threads creating threads creating threads... — Tobias Peters <tpeters@...>
I have already asked this question in [ruby-talk:19661], but I will ask it
My previous posting was not clear enough, I'll try to enhance it.
Tobias Peters <tpeters@uni-oldenburg.de> writes:
Hello,
On Sun, 21 Apr 2002, Jean-Hugues ROBERT wrote:
[#38654] String to method name — "R.Seymour" <switch@...>
I feel like I have a learning disability asking this, but what I am
[#38694] Ruby on .NET? — Ron Jeffries <ronjeffries@...>
I scanned the .net threads here and didn't see whether there is, or is not, an
recently found:
From: ";" <bbense+comp.lang.ruby.Apr.22.02@telemark.stanford.edu>
Sean Middleditch wrote:
<bbense+comp.lang.ruby.Apr.22.02@telemark.stanford.edu> ; wrote:
On Tue, Apr 23, 2002 at 03:33:43AM +0900, Avi Bryant wrote:
[#38704] Cardinal project page on Savannah — ptkwt@...1.aracnet.com (Phil Tomson)
I started a Cardinal project page at Savannah. Those who are interested
[#38727] Q: Possible Palm OS port? — "Hal E. Fulton" <hal9000@...>
Hello all,
[#38732] a newbie about local variables — Ferenc Engard <engard@...>
Hi there,
[#38739] problem with alias — "Guy N. Hurst" <gnhurst@...>
I just discovered a problem with how alias works while
[#38740] A few ideas/suggestions — Michael Brailsford <brailsmt@...>
I have had a few ideas about some new features. Before I submit an RCR
[#38766] Novice: Each and p — Thorsten Haude <ruby@...>
Hi,
[#38770] newbie embedding — "Jamie Knight" <bigjim16@...>
I only recently found out about ruby and I'm interested in embedding the
[#38772] MACROs cleanup 3 — Michal Rokos <m.rokos@...>
Hi,
Hello,
[#38782] Compiling stable-snapshot on linux — Martin Stannard <martin@...>
Hi,
[#38790] Problem installing algebra package, where do the files go? — Matthew PATTISON <mfp@...>
Hi,
[#38832] ruby-dev summary 16851-16960 — TAKAHASHI Masayoshi <maki@...>
Hi all,
[#38839] building extensions-- new vs initialize — "Norman Makoto Su" <normsu@...>
Hi, I'm trying to build a ruby extension in C. While looking at the pickaxe CD
Hi Norman,
Hi,
[#38874] Is there a better way to convert between arrays and strings? — Bob Hutchison <hutch@...>
Hi,
[#38908] Minor Tk bug on Windows? — "Hal E. Fulton" <hal9000@...>
Hello...
----- Original Message -----
[#38910] Numberic#prev — Sean Chittenden <sean@...>
I do a lot of incrementing and decrementing of values: it'd be nice if
----- Original Message -----
Marko Schulz <in6x059@public.uni-hamburg.de> wrote:
Hi,
[#38926] My First Time — Thorsten Haude <ruby@...>
Hi,
モヤチヤリナ <200204240855.g3O8tRu21875@sharui.nakada.kanuma.tochigi.jp> Nobuyoshi Nakada ホチミノモチフ(チ):
[#38929] Require vs. C++ include — werasmus@... (Werner)
Hi all,
[#38931] ZODB equivalent for ruby — "George Moschovitis" <gmosx@...>
Hi there,
[#38974] Xmms-Ruby 0.1.0 — Paul Duncan <pabs@...>
Hi,
[#38983] appending methods to class inside module — Ian Macdonald <ian@...>
Hi,
Ian Macdonald <ian@caliban.org> writes:
[#38987] Problem? USENET NEWS split — Michal Rokos <m.rokos@...>
Hi,
[#38993] Re: [Patch] Macros #4 — Michal Rokos <m.rokos@...>
Hi,
Hi,
Hi everyone, I am an experienced Smalltalk/Java developer, and bought the
On 26 Apr 2002, David wrote (more or less):
[#39001] $_ if no |var| — "Kontra, Gergely" <kgergely@...>
Hello!
On Thu, 25 Apr 2002, Kontra, Gergely wrote:
At 22:59 25/04/2002 +0900, Lars Christensen wrote:
[#39015] a small ruby for embedded applications — mattmsykes@... (Matt M Sykes)
Hi,
[#39025] require 'aDir' — patrick-may@... (Patrick May)
Has this been discussed in the past?
[#39047] A Wild Idea: What do you think? — Jim Freeze <jim@...>
Hi:
On Fri, 26 Apr 2002, Jim Freeze wrote:
----- Original Message -----
On Sat, 27 Apr 2002, Hal E. Fulton wrote:
[#39069] Parsing Repeating Regexp Matches — Curt Sampson <cjs@...>
[#39073] newbie: embedding ruby and garbage collection — "Baptiste Lepilleur" <gaiacrtn@...>
Hi everyone,
[#39087] RE: expand_path and overlap — "Morris, Chris" <chris.morris@...>
> I find this an interesting puzzle. Question: what would this return:
[#39094] RFC: File.join removing redundant /'s — mrp@...
[#39122] RE: A Wild Idea: What do you think? — "Morris, Chris" <chris.morris@...>
> > OK, then let's have it in Texas. How about August? Oh, what do you
On Sat, Apr 27, 2002 at 03:15:21AM +0900, Morris, Chris wrote:
On Sat, 27 Apr 2002, Jim Freeze wrote:
Hi --
On Sun, 28 Apr 2002, David Alan Black wrote:
[#39141] RE: Small patch for ruby,vim syntax highlighting file — "Gray, Jeff" <jeff.gray@...>
> From: Michael Brailsford [mailto:brailsmt@yahoo.com]
> ":foo" will not highlight correctly unless you separate the colon
> > ":foo" will not highlight correctly unless you separate the colon
[#39142] TCL interpreter in Ruby? — Craig Files <craig_files@...>
Hi,
[#39169] mod_ruby for Windows? — "Rod Schmidt" <rschmidt@...>
Anyone got a mod_ruby binary for Windows yet?
> Anyone got a mod_ruby binary for Windows yet?
[#39171] cygwin1.dll missing or corrupt — slayer@... (Slayer)
I can't remember who was looking for it, but I found the following
[#39198] Anyway to un-include a module? — ptkwt@...1.aracnet.com (Phil Tomson)
[#39214] Q: string to class? — Mike Hall <mghall@...>
I've got a string, and I'd like to get a class reference.
[#39228] RubyConf.new(2002) - ideas for agenda — "Daniel Berger" <djberg96@...>
Ok - so I'm probably jumping the gun here, but hey, what the heck.
Hi --
David Alan Black [mailto:dblack@candle.superlink.net] wrote:
----- Original Message -----
[#39304] alias_method problem — Stefan Mueller <flcl@...>
Hello
[#39323] Ranges - enable (10..-10) — Michal Rokos <m.rokos@...>
Hello,
Hello --
[#39327] Embeding Ruby — web2ed@... (Edward Wilson)
I would like to use Ruby as an embeded tool for a large scale mission
[#39338] An example of the beauty of Ruby... — "Hal E. Fulton" <hal9000@...>
Who was it who said something like, "In Ruby,
[#39366] Override "initialize" — Stefan Mueller <flcl@...>
Hello
[#39376] Sockets problem — Matthew PATTISON <mfp@...>
Hi,
[#39391] some questions about rb_newobj() — Paul Brannan <pbrannan@...>
In gc.c, I see:
Hi,
On Wed, 1 May 2002, Yukihiro Matsumoto wrote:
[#39394] ncurses, mingw32 — tony summerfelt <snowzone5@...>
i've been away from ruby for awhile, it was time to dust off the pickaxe book
Re: crypting ruby source
On Tue, Apr 16, 2002 at 09:23:02AM +0900, bbense+comp.lang.ruby.Apr.15.02@telemark.stanford.edu wrote: > -----BEGIN PGP SIGNED MESSAGE----- > > In article <20020415125925.A90269@freeze.org>, > Jim Freeze <jim@freeze.org> wrote: > >On Mon, Apr 15, 2002 at 11:28:53PM +0900, Mark Probert wrote: > >> > =- Security through obscurity never works in the long run. If > your algorithm can't be public, it can't be secure. Yes, thanks for mentioning that. I'm sure it is public knowledge among this group but worth repeating. Security through obscurity is not real security. We call it raising the bar. However, for the original posters needs, 'real' security is not absolutely needed. Let me say that I am not aware of any way to protect 'live' data in a computer if the computer is in the hands of the cracker. Once it is decrypted for use, AND the cracker has access to the hardware, all bets are off. The preconditions for this problem, from my understanding, are some client using the software on their machine. It is desired to protect text source files as they sit on disk. Running C programs are assumed to be opaque (more on this later). The value of the data to the individual employee is not worth the effort to break into. The program usually offers up the data. The value to the user is the way the program interacts with the data. The need for security of program and data for the seller is to prevent copying. And although their is no real security, the bar is high enough that the effort exceeds the value. The solution I propose is to encrypt the files with a known secure algorithm. This makes the files secure as they sit on the hardrive. The key is transfereed with a known public key exchange algorthm. So far so good. The weakness is that the cracker has access to the computer. (Let me say that I have implemented this algorithm for a wide publishing distrubution system and it works fine. The users do not have the expertise nor the desire to attempt to extract keys from a running program. In addition, the real value is not the data nor the program, but the combination of the two). My proposition to raise the bar a bit was to have the key transferred into a running C program instead of into a running ruby program. > >I think this is a good idea for some situations, especially > >as you mention above for storing data. > >And, I can't imagine this being too terribly difficult to implement. > > =- It is extremely difficult to implement in any meaningful > way. At best you get security through obscurity, which may > be enough for some uses, but at best you are just fooling > yourself. If this was easy to implement, record companies > would be doing it today. Ah, you missed the point. I don't think the record company scenario is equivalent. I'm not sure many customers would appreciate having to call the record company for an access key every time they inserted a CD. > >If I was implementing this I would do it as follows: > > 1. Write a controller in c. Granted, this is the weak part > > of the system, but unless there is internal cooperation from the > > ruby parser and encrypting of the AST's, then, as far as code > > is concerned, the security if through obscurity. > > > > 2. Write a special require module (in c) that decrypts its source. > > > > 3. Use the c controller to load the encrypted ruby code, decrypt > > the require'd modules and run as normal. > > > >Again, the reason for the c controller is so that it is not trivial > >to insert a watch point to read the code after it is un-encrypted. > > =- This is trivial for any unix hacker to get around. Root can > read the memory of any process and I only have to find a break > point somewhere in the interpeter to stop the code while the > strings are still in memory. > I think I referred to this in the original post. I certainly referred to this in this post. :) Yes, you are right. All bets are off as soon as the cracker has access to the computer. In other words, if the computer is not secured, neither is your data (in a live program). > >Now, how does one get the encryption key to the controller program. > >The nice part of ruby is that it would not be difficult to write a > >challenge-response system as part of the controller so a customer > >may gain access to their program and data. > > =- This system won't stop even the mildly dedicated, and it will > piss off your customers. Managing keys in a secure fashion is > much harder than you are making it out to be. If the key to > decrypt the data is on the machine that runs the program, I > can read the src. > I disagree. The system proposed has been implemented in another context and has not had a successful cracker. My observations are that most people without a technical degree have a hard enough time distinguishing the difference between the monitor and the computer let alone find an access point inside a running program to spy on decrypted data. The 'mildly' dedicated comment is interesting as well. There has to be some compelling reason to break the system. In the above system, the cracker could get the original key and expose the ruby code, but they would have to write a hack that another user would have to install to unlock access to the data in the origanal program. A lot of effort for no value add. > =- Booker C. Bense > Cheers -- Jim Freeze If only I had something clever to say for my comment... ~