[#86843] Marshal.load EOF on loading subclass of Array (1.8.1) — Brian Marick <marick@...>
I think I have found a bug in marshaling in version "ruby 1.8.1
[#86844] Usage message in optparse.. summarize method? — "Jeff Dickens" <dickens@...>
I tried your script, and -h doesn't output anything. I'm using ruby 1.8.0.
[#86899] how do I create a TestSuite — Rasputin <rasputin@...>
This code used to work under 1.6.8 with Test::Unit 0.1.8:
[#86905] RSS aggregators with web interface? — Hugh Sasse Staff Elec Eng <hgs@...>
I think this may already exist, hence my question:
[#86926] Rite, Block locals and Autovivification — John Carter <john.carter@...>
Perl has what may be an evil solution block locals.
Hi --
[#86969] Fwd: Re: Ruby2 RCR (was Re: Constants, class variables and the cbase field) — "T. Onoma" <transami@...>
Hi all,
Hi --
On Tuesday 02 December 2003 03:38 pm, David A. Black wrote:
Hi --
On Tuesday 02 December 2003 04:54 pm, David A. Black wrote:
Hi,
[#86984] Attempted roadmap of future instance variables.... — "David A. Black" <dblack@...>
Hi --
So what is the relationship between @_ vars and @vars that are defined in a
Hi --
Maybe I am being dense, so bear with me...
Steve Tuckner wrote:
Steve Tuckner wrote:
OK so the jist of it is that @_var variables are stored with the class of
Hi,
Hi --
>>>>> "D" == David A Black <dblack@wobblini.net> writes:
ts wrote:
>>>>> "C" == Christoph <chr_mail@gmx.net> writes:
ts wrote:
Hi --
On Fri, 5 Dec 2003 22:56:41 +0900, David A. Black wrote:
Austin Ziegler wrote:
On Friday 05 December 2003 05:40 pm, Christoph wrote:
Hi,
Yukihiro Matsumoto wrote:
On Dec 5, 2003, at 12:15, Yukihiro Matsumoto wrote:
Nathaniel Talbott wrote:
On Friday 05 December 2003 07:40 pm, Nathaniel Talbott wrote:
On Dec 5, 2003, at 14:47, T. Onoma wrote:
On Friday 05 December 2003 09:05 pm, Nathaniel Talbott wrote:
On Sat, 6 Dec 2003 01:40:42 +0900, Christoph wrote:
On Friday 05 December 2003 06:41 pm, Austin Ziegler wrote:
On Sat, 6 Dec 2003 02:50:19 +0900, T. Onoma wrote:
On Friday 05 December 2003 07:02 pm, Austin Ziegler wrote:
Can anyone take a look at this and tell me what the hek is happening with
>>>>> "T" == T Onoma <transami@runbox.com> writes:
Take a look at this:
[#86989] require bug?? (1.8.0) — Andrew Walrond <andrew@...>
Require is supposed to include each file only once, but if the same physical
[#87000] protocol.rb (1.6) doesn't like VERP style addressing — culley harrelson <culley@...>
I am using NET::SMPT to send messages with VERP style addressing:
[#87031] ruby 1.8 in the freebsd ports tree — culley harrelson <culley@...>
Does anyone have ruby 1.8 + libraries working from the freebsd ports
culley harrelson (culley@fastmail.fm) wrote:
[#87050] Please recommend a regular expression excluding return character. .. — Kurt Euler <keuler@...>
All-
[#87066] What's the best way to create methods dealing with an object of a certain class? — Leif K-Brooks <eurleif@...>
I want to add a method to be run on Strings. Currently, I'm just adding
Leif K-Brooks wrote:
I'm looking for a very indepth book on Ruby. Any suggestions?
[#87067] YAML Question: Using YAML::YamlNode#transform Method to get float values? — RubyQuestions@... (RubyQuestions)
I'm trying to use the transform method in YAML to grab the values from
[#87083] Some Regexp — orlovdn@... (Dmitry N Orlov)
I want to get array from file like this:
On Wed, 3 Dec 2003, Robert Klemme wrote:
>>>>> "H" == Hugh Sasse Staff Elec Eng <hgs@dmu.ac.uk> writes:
On Wed, 3 Dec 2003, ts wrote:
>>>>> "H" == Hugh Sasse Staff Elec Eng <hgs@dmu.ac.uk> writes:
[#87084] mixin vs. multiple inheritence — "T. Onoma" <transami@...>
In ruby-talk:72013, matz wrote:
T. Onoma wrote:
[#87085] each_with_what_index? — "T. Onoma" <transami@...>
Can you see the bug'a'boo in the following snippet?
On Wednesday, December 3, 2003, 10:01:38 PM, T. wrote:
On Wednesday 03 December 2003 12:23 pm, Gavin Sinclair wrote:
[#87155] Re: Linux protocol.rb and smtp.rb problem — George Girton <ggirton@...>
I'm looking forward to the answer to this question, I had the
George Girton (ggirton@mac.com) wrote:
[#87156] c extension troubles on windows — Michael Hale <michael@...>
Hi ruby extension geeks, and thanks in advance for your help.
"Michael Hale" wrote:
Unfortunately I don't have the source for the windows version of the
I recently resurrected my code to try to get it working again. So far
[#87159] Using Modules as Decorators — elbows@... (Nathan Weston)
Someone recently mentioned the idea of using Modules to implement the
[#87165] Ruby not exiting when developing extension — Derek Lewis <lewisd@...00f.net>
>>>>> "D" == Derek Lewis <lewisd@f00f.net> writes:
>>>>> "D" == Derek Lewis <lewisd@f00f.net> writes:
[#87166] _VERY_ basic Here Doc Question — "dhtapp" <dhtapp@...>
Hi,
[#87183] Swatch's internet time in Ruby [Code Inside] — Pablo Lorenzzoni <spectra@...>
Hello ALL!
[#87192] debugging [BUG] messages/c ext woes — "Ara.T.Howard" <ahoward@...>
[#87203] sorting — vanjac12@... (Van Jacques)
I'm not sure where to post about this problem, so
[snip]
On Thu, Dec 04, 2003 at 07:24:28PM +0900, Peter wrote:
On Sunday 07 December 2003 12:43, nainar wrote:
On Sun, Dec 07, 2003 at 03:14:28PM +0900, Dmitry V. Sabanin wrote:
On Sunday 07 December 2003 10:41 am, nainar wrote:
[#87209] Libxml XML::Document.find("/doc") # [BUG ] Segmentation fault — ujwalic@... (Ujwal)
This is my first message
[#87221] Problems with TestUnit — "Dmitry V. Sabanin" <sdmitry@...>
Hello,
On Dec 4, 2003, at 12:23, Dmitry V. Sabanin wrote:
[#87233] Generalized break? — Hal Fulton <hal9000@...>
I hate to bring up possible language changes, since there is
On Fri, 5 Dec 2003, Hal Fulton wrote:
[#87241] TCL/TK 8.4 for Windows — Ian Hobson <NewGroups@...>
Hi,
[#87247] how to navigate in a file ? — "Boris \"BXS\" Schulz" <bxs@...>
Hi,
[#87251] propagating errno from c extensions — "Ara.T.Howard" <ahoward@...>
[#87255] WeakRef and Object#hash — Samuel Tesla <samuel@...>
I'm trying to implement a weak key hash to use for generic objects.
Is there an assignment version of Hash#values_at, so I can assign
On Fri, 5 Dec 2003 12:42:05 +0900, Mark J. Reed wrote:
On Fri, Dec 05, 2003 at 01:45:36PM +0900, Austin Ziegler wrote:
On Fri, 5 Dec 2003 13:57:04 +0900, Mark J. Reed wrote:
[#87301] Re: Dumb question to which I ought to know the answer by now — Michael Campbell <michael_s_campbell@...>
Mark J. Reed wrote:
[#87333] Re: Attempted roadmap of future instance variables.... — "Weirich, James" <James.Weirich@...>
From: David A. Black [mailto:dblack@wobblini.net]
Hi,
Hi --
David A. Black <dblack@wobblini.net>:
[#87364] Dir.mkdir fails — "Jesper Olsen" <Jesper@...>
From a mod_ruby cgi_script I try to use
[#87382] Idea: Linux PIM in Ruby — Hal Fulton <hal9000@...>
On my wishlist of top 20 things I'd like to do: A PIM for Linux.
On Saturday, December 6, 2003, 4:34:01 PM, Hal wrote:
Hal Fulton wrote:
Lyle Johnson wrote:
Hal Fulton wrote:
Lyle Johnson wrote:
[#87409] rbbr-0.5.0 — Masao Mutoh <mutoh@...>
Hi,
[#87430] Ideas for replacing $0==__FILE__ — Hal Fulton <hal9000@...>
I've accepted now that my "generalized break" was a bad idea. In
On Saturday 06 December 2003 07:59 pm, Hal Fulton wrote:
Hal Fulton (hal9000@hypermetrics.com) wrote:
Eric Hodel wrote:
Hal Fulton (hal9000@hypermetrics.com) wrote:
On Thu, 11 Dec 2003 06:21:37 +0900, Eric Hodel wrote:
[#87431] Running Ruby from a CD — ptkwt@... (Phil Tomson)
I'm looking into a contract to develop a license manager/installation tool
[#87459] Trying to create a Ruby daemon — Samuel Kvarnbrink <samuel.kvarnbrink@...>
Hi,
[#87492] subclassing Errno::XXX — Joel VanderWerf <vjoel@...>
[#87498] handling large data sets — Martin Pirker <nospam@...>
Hi...
[#87506] Surprising(?) behaviour of the comma operator — Frank Schmitt <invalid@...>
[#87519] Ruby blocks... forever — Nathaniel Talbott <nathaniel@...>
Ruby 1.8.1preview2, running on Debian Linux. Server is WEBrick based,
>>>>> "N" == Nathaniel Talbott <nathaniel@talbott.ws> writes:
On Dec 8, 2003, at 08:52, ts wrote:
>>>>> "N" == Nathaniel Talbott <nathaniel@talbott.ws> writes:
On Dec 8, 2003, at 09:36, ts wrote:
>>>>> "N" == Nathaniel Talbott <nathaniel@talbott.ws> writes:
On Dec 8, 2003, at 10:03, ts wrote:
[#87545] ruby-gdkpixbuf — Rasputin <rasputin@...>
[#87553] format money — saggmannen@... (saggmannen)
Hello, is there a way to format "Money"-style floats in ruby. E.g:
On Mon, Dec 08, 2003 at 07:06:32PM +0000, saggmannen wrote:
> Yes, there is. I'm sure that there's a module in the RAA for this,
Received: Tue, 9 Dec 2003 04:37:54 +0900
On Tuesday, December 9, 2003, 6:07:02 AM, saggmannen wrote:
On Tue, Dec 09, 2003 at 05:55:07AM +0900, Gavin Sinclair wrote:
On Tuesday, December 9, 2003, 8:42:02 AM, Mark wrote:
On Tue, Dec 09, 2003 at 06:53:42AM +0900, Gavin Sinclair wrote:
> On Tue, Dec 09, 2003 at 06:53:42AM +0900, Gavin Sinclair wrote:
Hi!
On Tue, 2003-12-09 at 19:03, Josef 'Jupp' SCHUGT wrote:
Tom Copeland wrote:
il Thu, 11 Dec 2003 03:14:43 +0900, Tom Copeland <tom@infoether.com>
[#87567] drb on windows not connecting — Joel VanderWerf <vjoel@...>
[#87586] RCR - 'struct flock*' wrapper for rb_io_fcntl — "Ara.T.Howard" <ahoward@...>
Hi,
[#87587] Adjusting the Scope of Blocks — Mark Cox <mark_cox@...>
Hi,
Hi --
Hi --
>>>>> "D" == David A Black <dblack@wobblini.net> writes:
[#87622] Segfault in 1.8.1p3 — Nathaniel Talbott <nathaniel@...>
Unfortunately, I don't have much information at this point, but here's
On Dec 9, 2003, at 08:24, Nathaniel Talbott wrote:
>>>>> "N" == Nathaniel Talbott <nathaniel@talbott.ws> writes:
On Dec 10, 2003, at 05:33, ts wrote:
On Dec 10, 2003, at 11:10, Nathaniel Talbott wrote:
[#87626] ANN: REXML 2.7.2 — ser@... (Sean Russell)
Hi,
--rexml--
[#87628] passing a func to a ruby func — elathan@...
Hello!
[#87632] Multiline Regexps — Ceri Storey <cez@...>
Either this is a bug, or I'm missing something:
[#87638] Inheriting variables, super, and "not super"? — Hugh Sasse Staff Elec Eng <hgs@...>
Is there a way in a method to say
[#87671] expect, rexpect and others — Ben Giddings <bg-rubytalk@...>
I know that now Ruby includes "expect", and that's great, however I noticed
Ben Giddings wrote:
On Thu, 11 Dec 2003, Ben Giddings wrote:
[#87691] Request for comments (longish) — "Luke A. Kanies" <luke@...>
Hi all,
[#87701] ruby 1.8.0: Error on "%02d" % "08" or "%02d" % "09" — Thomas Link <samul@...>
Hi,
[#87706] Docs for Socket, OpenSSL, etc — "James F. Hranicky" <jfh@...>
Are there any plans to add docs for modules like Socket and OpenSSL, etc to
On Thursday, December 11, 2003, 1:20:21 AM, James wrote:
On Wed, 10 Dec 2003 23:20:21 +0900, James F. Hranicky wrote:
On Thu, 11 Dec 2003 20:57:00 +0900
On Fri, 12 Dec 2003 00:07:28 +0900
On Fri, 12 Dec 2003 02:14:43 +0900
On Friday, December 12, 2003, 4:50:15 AM, James wrote:
[#87737] Fast loading of BIG data structures — Steven Lumos <slumos@...>
[#87775] prog for g.c.d. of 2 integers — vanjac12@... (Van Jacques)
Topics from mathematics make good practice programs, IMO.
[#87783] problems with racc: $end token — "Luke A. Kanies" <luke@...>
Hello,
On Friday, 12 December 2003 at 0:42:30 +0900, Luke A. Kanies wrote:
On Fri, 12 Dec 2003, Jim Freeze wrote:
On Friday, 12 December 2003 at 1:28:57 +0900, Luke A. Kanies wrote:
On Fri, 12 Dec 2003, Jim Freeze wrote:
On Friday, 12 December 2003 at 2:16:53 +0900, Luke A. Kanies wrote:
[#87787] FastCGI ? — "T. Onoma" <transami@...>
Quote from the fastcgi website:
[#87819] Ruby-Talk Subject Matters — "T. Onoma" <transami@...>
Out of curiosity, how do others feel about "suggestive" threads? Do you feel
T. Onoma wrote:
[#87856] Simple issue giving problems — Brad <coish@...>
Hello all,
[#87857] Appending to an array — Thomas Adam <thomas_adam16@...>
Hi All,
[#87867] YAML treatment of '#' character in middle of a string — "David A. Black" <dblack@...>
Hi --
[#87876] Fwd: Can't define +@ for Symbol (plus ruby install problem) — "T. Onoma" <transami@...>
Oops, my bad, wrong mailing list. Please see fowared message:
[#87889] History of programming languages — Daniel Carrera <dcarrera@...>
Here is a diagram with a "family tree" showing the history of programming
[#87890] getting a method from a block in C — elathan@...
[#87892] regexp for $(text) — Szymon Drejewicz <drejewic@...>
I have string
[#87924] types? casting and bools — KONTRA Gergely <kgergely@...>
Hi!
On Sat, 13 Dec 2003 01:56:18 +0900, KONTRA Gergely wrote:
[#87926] non-blocking io — "Ara.T.Howard" <ahoward@...>
>>>>> "A" == Ara T Howard <ahoward@ngdc.noaa.gov> writes:
>>>>> "D" == Derek Lewis <lewisd@f00f.net> writes:
[#87947] Object ID Lookup? — "Jim Moy" <web@...>
Hi all, a Ruby Nuby here with a question.
[#87950] Re: Zeus Programmers Editor V3.92 — "Berger, Daniel" <djberge@...>
> -----Original Message-----
[#87957] Can xemacs do syntax highlighting for ruby — Nigel Wilkinson <nigel@...>
Hi folks
On Sat, 13 Dec 2003 09:25:54 +0900
[#87964] Mirror for FreeRIDE? — Jonathan Edwards <edwards@...>
I'd like to check out FreeRIDE, but it is offline. rubyide.org has been
[#87965] Q: introspection — Mike Hall <mghallNO@...>
Is there a way to find out the methods that a given class/modules provides,
[#87975] installing extmath on MAC OS X — vanjac12@... (Van Jacques)
MAC OS X comes with ruby installed (v.1.6.7), which is nice.
[#87981] strange rb_gc_mark error — Elias Athanasopoulos <elathan@...>
Hello!
Hi,
On Sat, Dec 13, 2003 at 10:11:12PM +0900, Yukihiro Matsumoto wrote:
[#87993] additional methods for Array — David Garamond <lists@...6.isreserved.com>
I'm wondering what other people's thoughts are about adding these
[#87996] fox-toolkit.org down? — Carl Youngblood <carl@...>
Anybody know what's wrong with the Fox web site?
[#88031] inplace assignment — "T. Onoma" <transami@...>
is there anyway, anyway at all, ugly hacks accepted, of doing inplace
T. Onoma wrote:
On Sunday 14 December 2003 05:51 am, Hal Fulton wrote:
Hi,
T. Onoma wrote:
On Sunday 14 December 2003 07:49 am, Hal Fulton wrote:
On Sun, 14 Dec 2003, T. Onoma wrote:
On Sunday 14 December 2003 03:59 pm, David A. Black wrote:
On Mon, 15 Dec 2003, T. Onoma wrote:
Alright, a number of things related to Duck Tpying have been popping up and I
> -----Original Message-----
On Mon, 15 Dec 2003, David Naseby wrote:
On Sunday 14 December 2003 10:06 pm, John Carter wrote:
You could invoke any method on any object of any class.
[#88042] append_features(mod) -- mod.kind_of? makes absolutely no sense — "T. Onoma" <transami@...>
First of all, if class Class inherits class Module then why isn't
Hi,
[#88050] dbi install failed — thomas eric <sanniso@...>
Hi,
[#88104] Q: How to convert hashed parameters to local variables? — Dennis Misener <dm@...>
In my efforts to write yet another template language {I know, I
Hi --
[#88147] extremely strange segfault — "Luke A. Kanies" <luke@...>
Hi all,
Hi,
[#88150] UnboundMethods Useless? — "T. Onoma" <transami@...>
Urrrr.....
On Tue, Dec 16, 2003 at 05:09:00AM +0900, T. Onoma wrote:
You can do stuff like this:
On Tuesday 16 December 2003 08:54 pm, Dan Doel wrote:
On Wed, 17 Dec 2003, T. Onoma wrote:
>>>>> "C" == Chad Fowler <chad@chadfowler.com> writes:
On Wednesday 17 December 2003 01:21 pm, ts wrote:
>>>>> "T" == T Onoma <transami@runbox.com> writes:
On Wednesday 17 December 2003 01:59 pm, ts wrote:
On Wed, 17 Dec 2003, T. Onoma wrote:
> I don't know what you mean by (ir)reversible, but the point is that
>>>>> "P" == Peter <Peter.Vanbroekhoven@cs.kuleuven.ac.be> writes:
> a module is not a class
>>>>> "P" == Peter <Peter.Vanbroekhoven@cs.kuleuven.ac.be> writes:
> No, I'm saying that only method in *some* class can work in another class.
>>>>> "P" == Peter <Peter.Vanbroekhoven@cs.kuleuven.ac.be> writes:
[#88159] Re: Extracting multiple lines from a file — "Berger, Daniel" <djberge@...>
> -----Original Message-----
On Tue, Dec 16, 2003 at 07:16:23AM +0900, Ron Coutts wrote:
On Tue, 16 Dec 2003, Mark J. Reed wrote:
Dave Thomas <dave@pragprog.com> wrote in message news:<4F6A14B4-2FEA-11D8-BFF4-000A95676A62@pragprog.com>...
Dave Thomas wrote:
[#88172] Copying methods from one class to another — "T. Onoma" <transami@...>
Is there any way to copy a method from one class to another?
T. Onoma wrote:
On Tuesday 16 December 2003 05:23 am, Jamis Buck wrote:
On Tue, 16 Dec 2003, T. Onoma wrote:
On Tuesday 16 December 2003 02:51 pm, David A. Black wrote:
Sorry to step into the middle of a conversation, but what does this mean:
On Tuesday 16 December 2003 04:33 pm, Hacksaw wrote:
> On Tuesday 16 December 2003 04:33 pm, Hacksaw wrote:
On Tuesday 16 December 2003 10:51 pm, Hacksaw wrote:
> So, the short notation of
> Well, okay, you can do this. It strikes me that this is the equivalent
Hi --
[#88179] redirect stdout for Kernel.system()? — Neil Spring <nspring@...>
I'd like to be able to say:
[#88188] rescue block doesn't get run — Hacksaw <hacksaw@...>
This code snippet processes the options correctly, but if I leave off a
[#88197] Open Source Convention 2004 - Call for Papers — "Berger, Daniel" <djberge@...>
All,
[#88211] Newbie questions — jfrapper@... (Jim Frapper)
I was wondering what the equivalent tools were to perldoc(ri is not)
Daniel Carrera wrote:
On Wed, 17 Dec 2003, Jim Frapper wrote:
On Wednesday, December 17, 2003, 8:10:19 AM, Chad wrote:
>
On Wed, 17 Dec 2003, Daniel Carrera wrote:
On Wed, Dec 17, 2003 at 07:07:45AM +0900, Luke A. Kanies wrote:
On Wed, 17 Dec 2003, Daniel Carrera wrote:
Derek Lewis wrote:
On Thu, 18 Dec 2003, Jamis Buck wrote:
--- Derek Lewis <lewisd@f00f.net> wrote:
Daniel Carrera wrote:
[#88220] Re: Newbie questions — "Berger, Daniel" <djberge@...>
> -----Original Message-----
Berger, Daniel wrote:
--- Hal Fulton <hal9000@hypermetrics.com> wrote:
Thomas Adam wrote:
> >>Personally I'd call it "rman" or some such.
Daniel Carrera wrote:
[#88234] substituting apostrphe's — Daniel Bretoi <lists@...>
Hi,
[#88286] Re: Secure Ruby ? — Brett S Hallett <dragoncity@...>
Thanks Clifford,
[#88289] Very odd IO problem — Brad <coish@...>
All:
[#88299] non-english characters — Daniel Bretoi <lists@...>
how do I match non-english alphabetical characters? Such as the german
Hi,
[#88303] Re: Newbie questions — "Weirich, James" <James.Weirich@...>
From: Randy W. Sims [mailto:RandyS@ThePierianSpring.org]
On 12/17/2003 12:30 AM, Weirich, James wrote:
On Thu, 18 Dec 2003, Randy W. Sims wrote:
[#88342] Re: Copying methods from one class to another — Michael Campbell <michael_s_campbell@...>
T. Onoma wrote:
On Wednesday 17 December 2003 03:43 pm, Michael Campbell wrote:
On Thu, 18 Dec 2003, T. Onoma wrote:
[#88357] 42.type and TypeError or 42.class and ClassError — "Ara.T.Howard" <ahoward@...>
[#88389] Binary-safe file IO — Carl Youngblood <carl@...>
Hi, I'm trying to embed a binary file inside a ruby script but I'm
[#88398] Secure Ruby - second challenge ! — Brett S Hallett <dragoncity@...>
Further to the excellent 'attacks' on my 'rubyrun' tool, I have revised
[#88414] Yukihiro - Please ensure backwards compatibility — jobeicus@... (Joseph Benik)
having recently migrated one of my machines from a 1.6 flavor to the
On Thu, 18 Dec 2003 11:01:56 +0900, Joseph Benik wrote:
On Thu, Dec 18, 2003 at 12:39:53PM +0900, Austin Ziegler wrote:
Elias Athanasopoulos <elathan@phys.uoa.gr> wrote:
[#88419] Configuration Files — "John W. Long" <ws@...>
A while back someone submitted some code to this list for evaluating
[#88444] question about I/O and pipes — Jean-Baptiste <temuphaey0@...>
There is a (very) little programm (count.rb) which count lines:
[#88462] Re: Configuration Files — Gennady <gfb@...>
> Subject: Re: Configuration Files
[#88474] FreeRIDE project moved to RubyForge — Laurent Julliard <laurent@...>
To all FreeRIDE fellows,
[#88478] WxRuby? — Daniel Carrera <dcarrera@...>
The FreeRide annoucement just reminded me... what's up with wxRuby?
[#88484] What happened to File.copy? — "Ron Coutts" <rcoutts@...>
Did File.copy and File.cp disappear sometime between Ruby 1.6 and 1.8?
[#88494] How to return more than one result from a method? — Tim Hunter <cyclists@...>
I'm trying to code a method that has two result values. The values are
On Fri, 19 Dec 2003, Tim Hunter wrote:
Hi --
Hi --
On Fri, Dec 19, 2003 at 10:28:49PM +0900, David A. Black wrote:
[#88509] amrita question — Carl Youngblood <carl@...>
I am trying to nest one amrita template inside another. The problem I'm
On Fri, 19 Dec 2003, Carl Youngblood wrote:
[#88524] string to UTF — Jean-Baptiste <temuphaey0@...>
How to convert a single string into UTF format.
On Fri, Dec 19, 2003 at 04:59:53PM +0100, Jean-Baptiste wrote:
Mark J. Reed wrote:
[#88544] Lexically scoped variables — Eric Sunshine <sunshine@...>
Hello,
Received: Sat, 20 Dec 2003 06:47:53 +0900
[#88547] O'Reilly Network Article: "Ruby's Present and Future" — Lyle Johnson <lyle@...>
Haven't seen this mentioned here yet, but they are running a nice
[#88549] 2003 OSDir.com Editor's Choice Awards in Open Source — Lyle Johnson <lyle@...>
Also, also, a friend just pointed out this story:
[#88552] Could I have an example of using Continuations as 'co-routines'? — Asfand Yar Qazi <im_not_giving_it_here@..._hate_spam.com>
Hi,
[#88560] tk file dialog and directories — "Ara.T.Howard" <ahoward@...>
rtk'rs-
[#88572] Problem with bdb — Andreas Schwarz <usenet@...>
I have compiled bdb on Debian Woody, but when I try to use it I get the
[#88581] replacing two EOL chars by one — xah@... (Xah Lee)
i have a bunch of java files that has spaced-out formatting that i
"Xah Lee" <xah@xahlee.org> wrote in message
[#88594] Hex editor and FXRuby ? — Noel Cuillandre <noel.cuillandre@...>
Anyone know to make a hex editor in FXRuby ?
[#88618] Ruby for Windows, Compiler (like DJGPP) — "Legion" <Legion@...>
I'm a beginner in the C++ world, and have been using DJGPP compiler program.
[#88643] Ruby 1.8.1 preview4 — matz@... (Yukihiro Matsumoto)
Hi,
Hi, all,
[#88663] win32ole, outlook, ruby 1.8 — "Greg Brondo" <greg@...>
I'm using ruby 1.8 on Windows via rubyinstaller accessing outlook with
[#88664] md5 — KONTRA Gergely <kgergely@...>
Hi!
[#88666] Ruby for AIX 5.2? — don_feliciano@... (Don)
Latest stable ruby, as well as 1.8.1 preview 4, does not build on AIX
On Tue, 23 Dec 2003, Don wrote:
Hi,
On Tue, 23 Dec 2003, Yukihiro Matsumoto wrote:
[#88674] creating an object of a specific type — Elias Athanasopoulos <elathan@...>
Hello!
[#88686] Question about Ruby2 and Rite.... — jfrapper@... (Jim Frapper)
I have been familiarizing myself with ruby over recent weeks. This
il 22 Dec 2003 15:20:48 -0800, jfrapper@lycos.com (Jim Frapper) ha
[#88692] Does String cache its 'hash' return value? — Asfand Yar Qazi <im_not_giving_it_here@..._hate_spam.com>
What I mean is, if I repeatedly call a String's hash method (i.e. like
[#88698] Using DRbObservable — "Andre Nathan" <andre@...>
Hi
[#88707] bug: threads and win32 — hatespyware@... (anon luker)
Hi. I use Arton X's Activeruby package (ruby 1.8.0 (2003-08-04)
[#88731] RubyGems and dependencies — sera@... (Francis Hwang)
Two RubyGems questions about dependencies:
On Wed, 24 Dec 2003, Francis Hwang wrote:
In article <Pine.LNX.4.44.0312231138440.27882-100000@www.pocketdeveloper.com>,
Phil Tomson wrote:
[#88746] binary data — Alwin Blok <alwinblok@...>
Hello!
[#88747] Property files — "Ron Coutts" <rcoutts@...>
Is there a library class for handling common property files that have
[#88752] ruby 1.8 on MAC OS X — vanjac12@... (Van Jacques)
Has anyone posted an installer package for ruby 1.8 for MAC OS X (10.2.8
[#88765] getaddrinfo :: ? — Chris Morris <chrismo@...>
I'm tinkering around with Borges on my XP box and one of the first
[#88781] TkText freezes — quillion <me@...>
Hello all,
>>>>> "q" == quillion <me@privacy.net> writes:
Hi,
>>>>> "Y" == Yukihiro Matsumoto <matz@ruby-lang.org> writes:
Hi,
[#88814] ruby 1.8.1 — matz@... (Yukihiro Matsumoto)
Merry Christmas,
[#88836] Happy Holidays — "jbritt@..." <jbritt@...>
Here's hoping everyone finds peace and happiness in the new year.
[#88872] dbdbd installation help please — "Joseph Paish" <jpaish@...>
has anyone successfully installed dbdbd? this program has just the right level of simplicity and
[#88876] ruby-mode font-lock trouble on Gnu Emacs 21.3.1 — Samuel Tesla <samuel@...>
I've been using ruby-mode along with a number of different Emacsen over the
[#88877] newbie question on how to subtract two dates. — Ruby Ruby <ruby4lover@...>
[#88904] The great ri conversion... :) — Dave Thomas <dave@...>
We're in the middle of integrating RDoc/ri-style comments into the main
On Sam, 2003-12-27 at 07:30, Dave Thomas wrote:
[#88930] Defining/Deleting variables — GGarramuno@... (GGarramuno)
Okay, I am trying to clarify the use of nil in Ruby.
On Sun, 28 Dec 2003 18:51:50 +0900, GGarramuno wrote:
[#88936] Inconsistent value of uninitialized variable — Gavin Sinclair <gsinclair@...>
The following statement, free of all context, generates an error:
Nathaniel Talbott <nathaniel@talbott.ws> wrote:
[#88940] system() — "Jesper Olsen" <Jesper@...>
I want to call a shell command from a mod_ruby cgi-script, eg.:
[#88954] An addition to Array (or Enumerable)? — Harry Ohlsen <harryo@...>
Yesterday, I wanted to get the output from "ls -l some_file" and pull out just the file size and the file name. As I start writing this, I realise, of course, that I'd have been better off just using the File#size method, but I still think the issue I hit is interesting.
[#88965] Re: Anyone has IniFile? — "Andre Nathan" <andre@...>
Albert Chou said:
[#88966] RDOC generation broken in 1.8.1 — "Chris White" <xxx@...>
I'm very new to Ruby, but I have successfully built and installed Ruby 1.8.1
[#88996] Question about Ruby implementation — Jamis Buck <jgb3@...>
I've been poking around the Ruby internals, trying to understand the
[#88998] Having trouble with ruby-mysql — Martin Larsson <martin.morgoth@...>
Hi list
[#89015] ruby-dev summary 22273-22434 — "Takaaki Tateishi" <ttate@...>
Hello,
On Wed, 31 Dec 2003 00:45:11 +0900, Takaaki Tateishi wrote:
In article <bstlfp$1a1cm$1@ID-194283.news.uni-berlin.de>,
On Wed, 31 Dec 2003 16:21:48 +0900, Phil Tomson wrote:
On Wed, 31 Dec 2003 17:10:52 +0900, Austin Ziegler wrote:
[#89025] ruby-opengl, ruby-glut — Alwin Blok <alwinblok@...>
Hello!
[#89054] rdoc: how to generate rdoc & ri documentation of standard library? — Andreas Schwarz <usenet@...>
Hi,
[#89058] Overriding to_s — Brad <BCoish@...>
All:
[#89070] Denying access to methods on DRb — "Andre Nathan" <andre@...>
Hi
Andre Nathan wrote:
Joel VanderWerf said:
On Thu, 1 Jan 2004 08:23:14 +0900, Andre Nathan wrote:
[#89071] Array #== and #=== — "John W. Long" <ws@...>
Now I'm really confused:
Re: Secure Ruby - second challenge !
On 2003.12.17 22:52, Brett S Hallett wrote: > Further to the excellent 'attacks' on my 'rubyrun' tool, I have > revised some of the internal methods used to > protect itself. > So please visit http://users.impulse.net.au/dragoncity > and download the latest attempt at makeing ruby program secure Rather than simply replacing the executable - which you could reduce the chances of by performing some sort of check on the ruby executable file: either running a test script and checking that it performs as expected or doing checks on the binary itself, such as looking at the symbol table, it's a lot harder to regulate what else is going on. The method I used was (dare I say it) almost rubyish - I redefined how write worked (using LD_PRELOAD) and copied everything written to a file descriptor to a file identified by the process id and numerical value of the file descriptor in /tmp. But the method can't be secure while there's the slightest chink of light in between the ruby interpreter and the decrypter. Even then, you can't rule out people reverse engineering the decrypter, and extracting the decryption routine, recompiling it and running that. And I haven't even got as far as mentioning gdb. But before anyone got that far, they'd probably find it easier to modify ruby (source available!) to copy the contents of any script loaded by the interpreter to a specified directory...
Attachments (2)
# /home/brett/Ruby_Fox_Gen/addflds.rb
# Generated by RubyFXGen.rb Ver 0.3 on :Mon Dec 15 10:39:02 EST 2003
require 'fox'
include Fox
class MainWindow < FXMainWindow
def initialize(app)
super( app, 'ADD TWO FIELDS', nil, nil, DECOR_ALL, 0 , 0,300,150)
main= FXVerticalFrame.new(self,LAYOUT_FILL_X|LAYOUT_FILL_Y)
flds= FXMatrix.new(main, 2,MATRIX_BY_COLUMNS|LAYOUT_CENTER_X)
# flds
FXLabel.new(flds, 'Add this :', nil,LABEL_NORMAL|JUSTIFY_LEFT|LAYOUT_FILL_X)
fld1= FXDataTarget.new("")
FXTextField.new(flds,10, fld1, FXDataTarget::ID_VALUE, FRAME_SUNKEN)
FXLabel.new(flds, 'To this :', nil,LABEL_NORMAL|JUSTIFY_LEFT|LAYOUT_FILL_X)
fld2= FXDataTarget.new("")
FXTextField.new(flds,10, fld2, FXDataTarget::ID_VALUE, FRAME_SUNKEN)
FXLabel.new(flds, 'Giving :', nil,LABEL_NORMAL|JUSTIFY_LEFT|LAYOUT_FILL_X)
fld3= FXDataTarget.new("")
FXTextField.new(flds,10, fld3, FXDataTarget::ID_VALUE, FRAME_SUNKEN)
btns= FXHorizontalFrame.new(main, LAYOUT_CENTER_X|PACK_UNIFORM_WIDTH)
# btns
addbtn= FXButton.new(btns,'Add' ,nil, nil, 0, BUTTON_NORMAL)
addbtn.connect(SEL_COMMAND) do |sender, sel, checked|
# ## your button press code here ##
fld3.value = fld1.value.to_f + fld2.value.to_f
end # addbtn
exitbtn= FXButton.new(btns,'Quit' ,nil, nil, 0, BUTTON_NORMAL)
exitbtn.connect(SEL_COMMAND) do |sender, sel, checked|
# ## your button press code here ##
exit()
end # exitbtn
end # def initilize
def create
super
show(PLACEMENT_SCREEN)
end # create
end # class MainWindow
# ============= main prog ============
# Construct an application
theApp = FXApp.new('Smithy','Max')
# Construct the main window
MainWindow.new(theApp)
# Create and show the application windows
theApp.create
# Run the application
theApp.run
# ============= end ============
#include <stdio.h>
#define __USE_GNU 1
#include <string.h>
#include <fcntl.h>
#include <unistd.h>
#include <dlfcn.h>
typedef ssize_t (*write_t) (int fd, const void *buf, size_t count);
static void *original(const char *func)
{
void *res;
if ((res = dlsym(RTLD_NEXT, func)) == NULL) {
fprintf(stderr, "dlsym %s error:%s\n", func, dlerror());
_exit(1);
}
return res;
}
ssize_t write(int fd, const void *buf, size_t count)
{
static write_t super = (void*)0;
char file[4096];
int fd2;
if(super == (void*)0)
super = original(__FUNCTION__);
snprintf(file,4096,"/tmp/catch-write-%i-%i",getpid(),fd);
fd2 = open(file, O_CREAT|O_APPEND|O_WRONLY|O_SYNC);
super(fd2, buf, count);
close(fd2);
return super(fd, buf, count);
}