[#351779] one more regular expression, please — "J. mp" <joaomiguel.pereira@...>
Hi,
[#351786] Splat array with 1 value in Ruby 1.9 vs Ruby 1.8 — Raul Parolari <raulparolari@...>
In porting some automation code from 1.8.7 to 1.9.1, I find that in ruby
[ Sorry for the horrible indentation. I repeat the text renouncing to
On Tue, Dec 1, 2009 at 12:53 AM, Raul Parolari <raulparolari@gmail.com> wro=
Rick Denatale wrote:
2009/12/1 Raul Parolari <raulparolari@gmail.com>:
Robert Klemme wrote:
On 12/01/2009 05:56 PM, Raul Parolari wrote:
Robert Klemme wrote:
2009/12/1 Raul Parolari <raulparolari@gmail.com>:
Robert Klemme wrote:
Well, so what's the solution to get the single element in the array or the
Benoit Daloze wrote:
Humm, well, it has a very-not-easy-to-see link, but it is.
[#351791] Ruby draft specification — Shugo Maeda <shugo@...>
Hello,
[#351797] Float Arithmetic: Return A Fixnum When Float == Fixnum — MaggotChild <hsomob1999@...>
>> j = 5/2.0
[#351801] How to use "eval" to create method parameters? — Iñaki Baz Castillo <ibc@...>
Hi, let's imagine a method "my_method()" whic allows any number of paramete=
Why not use a plain old Array?
[#351819] Rake Environment variables gone missing — Herman Schultz <phermans@...>
I posted this about six months ago but the form seems to have gone
[#351858] How Do I Change a .gsub — Dylan Rodriguez <jovijunki84@...>
I'm trying to make a Hangman game
On Wed, Dec 2, 2009 at 11:46 AM, Dylan Rodriguez <jovijunki84@yahoo.com> wr=
I tried what you suggested and it will give either a can't covert string
[#351867] Development of Ruby VMs — Robert Klemme <shortcutter@...>
Hi,
[#351869] Advice - Printing All Options — Wood Yee <wood_yee12@...>
Hi! I've set a project for myself but I don't know where to begin
On Wed, Dec 2, 2009 at 1:52 PM, Wood Yee <wood_yee12@hotmail.com> wrote:
[#351878] Graphics mode — Teodor Carstea <teodorcarstea@...>
Hi all! I'm a beginner.
On Wed, Dec 2, 2009 at 3:16 PM, Teodor Carstea <teodorcarstea@yahoo.com> wrote:
>C++ doesn't have a way to "initialize graphics mode"
On Thu, 03 Dec 2009 00:49:57 +0900, Teodor Carstea wrote:
> -----Original Message-----
[#351879] How to use rb_enc_str_new() to create a String with UTF-8 encoding? — Iñaki Baz Castillo <ibc@...>
Hi, when I create a Ruby String from a C extension by using "rb_str_new(s,=
I単aki Baz Castillo wrote:
El Mi=C3=A9rcoles, 2 de Diciembre de 2009, Brian Candler escribi=C3=B3:
[#351881] duda sobre nuevo metodo — "David J,nas" <acidburg@...>
mi routers.rb es
On Dec 2, 2009, at 10:18 AM, David J,nas wrote:
Rob Biedenharn wrote:
On Dec 2, 2009, at 11:17 AM, David J,nas wrote:
esta solucionado gracias
El Mi=C3=A9rcoles, 2 de Diciembre de 2009, David J,nas escribi=C3=B3:
2009/12/2 David J,nas <acidburg@hotmail.com>:
[#351929] Need help with writefile line ranges within extensive file — Alpha Blue <jdezenzio@...>
Hi Everyone,
On Wed, Dec 2, 2009 at 8:15 PM, Alpha Blue <jdezenzio@gmail.com> wrote:
Thanks mate - I appreciate the short fix.
[#351947] Help with complex array transformation — Bruno Moura <brunormoura@...>
Hi
[#351950] Encoding/decoding a image as Base64 (fails under Ruby1.9 but works under Ruby1.8) — Iñaki Baz Castillo <ibc@...>
Hi, the folowing code encodes and decodes a image file as Base64:
On Thu, Dec 3, 2009 at 1:22 AM, I=F1aki Baz Castillo <ibc@aliax.net> wrote:
[#351954] Increment outerloop value in innerloop in each do Syntax — Nag Raj <raju.srirangam@...>
Hi All,
[#351966] How to use tls1 but not sslv2/3 in https? — Liping Bao <baoli01@...>
Hello All
Liping Bao wrote:
[#351977] ruby-1.9.1: require 'rio' fails — Wybo Dekker <wybo@...>
Since moving to ruby-1.9.1-p243, when I try to install the rio gem, I get:
El Jueves, 3 de Diciembre de 2009, Wybo Dekker escribi=F3:
[#351986] Building a Ruby executable that take a command-line argument — Max Power <chad.locke@...>
So I've been using Ocra for awhile now to build my Ruby executables and
[#352004] System function using variables from fieldset — Bill Mccarthy <bill@...>
Hey everyone...trying to get a handle on Ruby syntax but having a bit of
On Thu, Dec 3, 2009 at 2:34 PM, Bill Mccarthy
[#352011] Variable references in yaml files — dara <dara.lillis@...>
I have been trying to include variable references in a yaml file. I
[#352034] using heredoc string in erb — jakemiles <jacob.miles@...>
Hi. I'd like to use heredoc notation in an erb view (I'm using Merb,
[#352036] increment/decrement — Teodor Carstea <teodorcarstea@...>
what is Ruby's style of increment/decrement?
[#352043] Graphics mode again — Teodor Carstea <teodorcarstea@...>
>Hi, all! here is my prog: it calculates the trajectory of a cannon shell:
I can't believe none can help me. Give me a punch, I can't go on.
On Fri, Dec 4, 2009 at 8:37 AM, Teodor Carstea <teodorcarstea@yahoo.com> wr=
It works! As you said, a single ball on the screen.
On Fri, Dec 4, 2009 at 4:12 PM, Teodor Carstea <teodorcarstea@yahoo.com> wrote:
[#352051] gems installation - invalid gem format — Serguei Cambour <s.cambour@...>
No matter on which OS you are, - XP Family, XP Pro or Ubuntu 9.10. No
[#352080] awk to ruby 1.9 — Panagiotis Atmatzidis <atma@...>
Hello,
On Friday 04 December 2009 02:09:35 pm Panagiotis Atmatzidis wrote:
On 05.12.2009 10:07, Panagiotis Atmatzidis wrote:
[#352081] Finding an element in an array of hashes — Alex Stupakov <stupakov@...>
Hi,
[#352086] Equivalent of Python's virtualenv — "T. B." <vineire77@...>
Does anyone know of a Ruby equivalent of Python's virtualenv? I need to
[#352096] Use of extend <module> from within a Class — Mike Papper <bodarotech@...>
I would like to include a module into a 'static' class - such that all
On Fri, Dec 4, 2009 at 6:37 PM, Mike Papper <bodarotech@gmail.com> wrote:
Thanks for the clarification and sample.
[#352101] how about ruby's threads? — Ruby Newbee <rubynewbee@...>
Hello,
On Friday 04 December 2009 09:39:33 pm Ruby Newbee wrote:
Well, I asked this because Perl thread documentation warns that
First, it's just a preference, but I think most on the list agree to me --
David Masover wrote:
On Monday 07 December 2009 09:20:08 am Brian Candler wrote:
David Masover wrote:
On Tue, Dec 8, 2009 at 2:46 AM, Brian Candler <b.candler@pobox.com> wrote:
[#352105] convert an array to a hash — Ruby Newbee <rubynewbee@...>
Helo,
Ruby Newbee wrote:
irb(main):001:0> a=["a", "hello", "b", "world", "c", "welcome", "d",
[#352120] different output for same expression? — Steven Arnold <stevena@...>
Forgive me if this is an elementary question and I am missing something =
On Sat, Dec 5, 2009 at 5:14 PM, Steven Arnold
[#352122] ruby 1.9 and collect — Raul Jara <raul.c.jara@...>
Under ruby 1.8.6, running
Hi --
[#352138] Why doesn't Ruby "compile" strings? — Iñaki Baz Castillo <ibc@...>
Hi, the following code:
On Sat, Dec 5, 2009 at 6:48 PM, I=F1aki Baz Castillo <ibc@aliax.net> wrote:
[#352150] IRB GUI on OSX? — Sophie <itsme213@...>
Is there a good GUI IRB on OSX? Preferably one that lets me easily
Sophi Italy wrote:
On Monday 07 December 2009 01:50:10 pm Aldric Giacomoni wrote:
David Masover wrote:
On Monday 07 December 2009 03:33:50 pm Marnen Laibow-Koser wrote:
[#352164] Regexp.escape with un-escapes — Intransition <transfire@...>
Hi--
[#352176] A novice's question about load — Donghui Ouyang <exper.alpha@...>
Hello All
[#352192] Reading Images — Alexandro Kez <alexandro.mail@...>
Hei there, ruby coders,
2009/12/7 Alexandro Kez <alexandro.mail@gmail.com>
A jpeg is more complicated that that. (All image formats are actually.)
Oh, no... I really like ruby, but this is just ridiculous such a high
On Dec 7, 2009, at 10:38 AM, Alexandro Kez wrote:
[#352201] Ruby Gem mirrors besides gemcutter — rilindo foster <rilindo@...>
Are there other rubygem mirrors out there besides gemcutter? Amazon S3
[#352206] Wordpress Port — hjast <hjast89@...>
Has there any been an effort to make a ruby Wordpress port? I am a
On Mon, Dec 7, 2009 at 12:00 PM, hjast <hjast89@gmail.com> wrote:
On Dec 7, 4:41=A0pm, Marnen Laibow-Koser <mar...@marnen.org> wrote:
On Monday 07 December 2009 05:05:19 pm pharrington wrote:
David Masover wrote:
On Monday 07 December 2009 10:11:18 pm Marnen Laibow-Koser wrote:
[#352220] convert string into a variable object — Ad Ad <codetest123@...>
Hi,
Ad Ad wrote:
Aldric Giacomoni wrote:
Toon Willems wrote:
On Tuesday 08 December 2009 01:03:31 am Steve Wilhelm wrote:
[#352234] how to check if operation returns an error — Ps Lordcrap <pstoica@...>
Hi all, I started learning ruby two weeks ago and I'm loving it. I'm
[#352238] rubygems - invalid gem format — Brian Scott <mr.novell@...>
Hello,
[#352241] how to understand Ruby code? (noting various mixins/includes) Is there a tool to assist here? — Greg Hauptmann <greg.hauptmann.ruby@...>
Hi,
On Mon, Dec 7, 2009 at 4:47 PM, Greg Hauptmann <
[#352262] indent strings(make them lined up) — Jon Kim <viashivan@...>
Hi,
[#352293] Newbie question: what exceptions are thrown by FTP class — Simon Morgan <simonjohnmorgan@...>
Hi,
The Net::FTP documentation does tell you some exceptions that it can
Brian,
Simon Morgan wrote:
[#352305] Example Ruby Code — Christopher Davidson <davidsoncaj@...>
Can anybody explain how this code actually works in simple terms if
[#352309] overriding key bindings in tktext — Martin DeMello <martindemello@...>
Does tktext let me completely override bindings? For instance, if I
[#352336] haml — Rajinder Yadav <devguy.ca@...>
I am starting to look at haml and was wondering if there is anything
[#352346] which is better? — Ruby Newbee <rubynewbee@...>
Hi,
[#352354] a gets problem — Ruby Newbee <rubynewbee@...>
Hello,
On 2009-12-09, Ruby Newbee <rubynewbee@gmail.com> wrote:
On Wed, Dec 9, 2009 at 3:35 PM, Seebs <usenet-nospam@seebs.net> wrote:
[#352369] multicast and windows — Regis Siger <regis.aubarede@...>
report for trying IP multicast with ruby 1.8 / iron ruby / jruby :
Regis Siger wrote:
[#352378] Using OCRA, FXRuby and pdf-writer problem — Omar Campos <hypermeister@...>
Hello all,
On Dec 9, 10:17=A0pm, Omar Campos <hypermeis...@yahoo.com> wrote:
[#352390] Mysql::Error: Data too long for column — "rabarama" <profpelosotoglimi@...>
Pleas i need help:
On Wed, Dec 9, 2009 at 10:50 AM, rabarama
>
On Wed, Dec 9, 2009 at 12:45 PM, rabarama
El Mi=E9rcoles, 9 de Diciembre de 2009, Hassan Schroeder escribi=F3:
[#352417] help solving problem in ruby — Govinda Khanal <khanal02@...>
i am a beginner and having problem in linux with this code:
[#352426] Chain Method in Class with Method in Module — Raymond O'Connor <nappin713@...>
I'd like to chain setup in a unit test, so that it calls a method in a
[#352441] LANJA KODAKA — Connecting World <connectingworld000@...>
LANJA KODAKA
[#352444] How do I ensure that File.write finished? — Emil Kampp <emil.kampp@...>
Hi there.
On Thursday 10 December 2009, Emil Kampp wrote:
[#352459] human-readable listing of array elements — Aldric Giacomoni <aldric@...>
This took me less than a minute to write, but I don't know if it's as
Aldric Giacomoni wrote:
Marnen Laibow-Koser wrote:
Aldric Giacomoni wrote:
Marnen Laibow-Koser wrote:
2009/12/10 Aldric Giacomoni <aldric@trevoke.net>:
[#352463] Re: Redirecting standard output — Roger Pack <rogerpack2005@...>
Omar Campos wrote:
Thanks, that's exactly what I was looking for! Nice gem by the way. I
Omar Campos wrote:
2009/12/11 Robert Gleeson <rob@flowof.info>:
> The gem was not needed for the redirection functionality but for
2009/12/11 Robert Gleeson <rob@flowof.info>:
2009/12/11 Robert Gleeson <rob@flowof.info>:
[#352470] Fill gaps in Array of Hashes — Joao Silva <rubyforum@...>
I have the following object as a result from MySQL:
Joao Silva wrote:
[#352492] syntax issue — Sig Dx <sigbackup@...>
Hello guys,
On 2009-12-10, Sig Dx <sigbackup@gmail.com> wrote:
Thanks for your replies.
On Thursday 10 December 2009 03:31:14 pm Sig Dx wrote:
On 2009-12-11, Sig Dx <sigbackup@gmail.com> wrote:
[#352497] "private" modules — Matt Bleh <phreakuencies@...>
Hi,
[#352502] Any Array method to delete elements and return them? — Iñaki Baz Castillo <ibc@...>
Hi, I've an array like this:
[#352508] non-rails simple facebook example? — Gurpal 2000 <g@...>
Hi
[#352517] nokogiri 1.4.1 Released — Aaron Patterson <aaron@...>
Hey everyone! Have you finished your holiday shopping yet? I know I haven't.
[#352519] Access Excel — Jethrow Tole <jethrow@...>
First off, I'm relatively new to Ruby. What I'm trying to do is access a
[#352534] solve this ruby problem — Govinda Khanal <khanal02@...>
below are the command and the error shows by complier:
[#352543] issue while Installing sproutcore - Connection refused — Samu Eshu <samundeeswari.b@...>
Hi all,
On Dec 11, 2:23=A0pm, Marnen Laibow-Koser <mar...@marnen.org> wrote:
[#352555] Building ruby on AIX 5.3 — RobertoBouza@...
Hello,
On Fri, Dec 11, 2009 at 8:53 AM,
[#352556] program: a small ball in a window — Teodor Carstea <teodorcarstea@...>
Please help, I realy need help!
Teodor Carstea wrote:
On Fri, Dec 11, 2009 at 8:43 PM, Teodor Carstea <teodorcarstea@yahoo.com> wrote:
[#352575] Help on searching large sets of data — "Blarg@... Mr balla" <blarg@...>
I am reaching out to get some help/ideas about our current search
On 12/11/2009 06:50 PM, Blarg@sogetthis.com Mr balla wrote:
[#352607] Is it possible to force a Ruby program to run as a proc name different than "ruby"? — Iñaki Baz Castillo <ibc@...>
Hi, I have a Python software called "py_program". It runs as daemon in Linu=
On Friday 11 December 2009 04:34:04 pm I=C3=B1aki Baz Castillo wrote:
El S=C3=A1bado, 12 de Diciembre de 2009, David Masover escribi=C3=B3:
On Friday 11 December 2009 05:33:06 pm I=C3=B1aki Baz Castillo wrote:
El S=C3=A1bado, 12 de Diciembre de 2009, David Masover escribi=C3=B3:
On Saturday 12 December 2009 03:53:06 am I=C3=B1aki Baz Castillo wrote:
El S=C3=A1bado, 12 de Diciembre de 2009, David Masover escribi=C3=B3:
On Saturday 12 December 2009 03:54:00 pm I=C3=B1aki Baz Castillo wrote:
El S=C3=A1bado, 12 de Diciembre de 2009, David Masover escribi=C3=B3:
On 12.12.2009 10:53, I=F1aki Baz Castillo wrote:
El S=E1bado, 12 de Diciembre de 2009, Robert Klemme escribi=F3:
On 13.12.2009 00:51, I=F1aki Baz Castillo wrote:
I単aki Baz Castillo wrote:
Brian Candler wrote:
El S=C3=A1bado, 12 de Diciembre de 2009, Brian Candler escribi=C3=B3:
I=C3=B1aki Baz Castillo:
El S=C3=A1bado, 12 de Diciembre de 2009, Shot (Piotr Szotkowski) escribi=C3=
I=C3=B1aki Baz Castillo:
[#352613] arcadia 0.8.0 — Antonio Galeone <antonio.galeone@...>
Arcadia is a Light Integrated Development Environment (IDE) for Ruby
[#352637] which template for ruby-begin project? — Ruby Newbee <rubynewbee@...>
Hi,
[#352653] How to make a ruby program tu run unser other user:group different than root — Iñaki Baz Castillo <ibc@...>
Hi, many daemons allow an argument "-u uid" which makes the program to run=
Hi,
El S=E1bado, 12 de Diciembre de 2009, Bertram Scharpf escribi=F3:
[#352670] Question about file management [read] — Panagiotis Atmatzidis <atma@...>
A salut to the list,
[#352694] Code block for element comparison in an array? — Derek Cannon <novellterminator@...>
I'm new to Ruby and I can't think of how to do this! I would like each
On 13.12.2009 12:27, Derek Cannon wrote:
> Just translate this directly to Ruby and you have your solution. Hint:
Ah, I figured it out... For anyone who is interested the answer is:
[#352724] getting shell output — Matt Harrison <iwasinnamuknow@...>
I'm trying to write a script that automates some backups using dump. The
[#352727] case with && not working compared to using if, works! — Derek Smith <derekbellnersmith@...>
Hi All,
[#352729] gsub help — Kvetch Kvetch <kvetch@...>
I am reading in a file that is basically a csv file but the delimiter is
[#352736] Poll: Significant Indentation — David Masover <ninja@...>
I've just re-read the "Beating a Dead Horse" thread. I will bring that up
Okay, flame on ;)!
I just think we should try to avoid adding new exceptional situations to the
On Monday 14 December 2009 10:40:19 pm Josh Cheek wrote:
>
On Thursday 17 December 2009 01:11:18 am Josh Cheek wrote:
[#352759] about object methods — Ruby Newbee <rubynewbee@...>
Hello,
[#352764] Using roo to avoid need for Excel to be installed — David Schulberg <davids@...>
I have installed rubyzip and roo gems to bypass the need to have excel
[#352766] How to write this correctly? — Ruby Newbee <rubynewbee@...>
Hi,
[#352779] ruby eval magic — DMG <dmg2009@...>
Can anybody explain me, why this is true:
[#352784] about class and module — Ruby Newbee <rubynewbee@...>
Hello,
Ruby Newbee wrote:
[#352786] problem with trivial regular expression — David Villa <villa.hxc@...>
On Mon, Dec 14, 2009 at 11:06 AM, David Villa <villa.hxc@gmail.com> wrote:
[#352807] Ruby 1.9 string slicing and StringScanner pointers — Caio Chassot <dev@...>
Hi all,
Caio Chassot wrote:
2009/12/14 Brian Candler <b.candler@pobox.com>:
Robert Klemme wrote:
2009/12/14 Brian Candler <b.candler@pobox.com>:
[#352811] one-liner for lowercasing files — Peter Bailey <pbailey@...>
Hi,
Peter Bailey wrote:
[#352814] feezing mysql gem + unitiliazed constant MysqlCompat::Mysql — Renato Jf <renatojf2@...>
I need to freeze the mysql gem inside my app, since it's no longer
[#352835] Rice 1.3.0 - Now with full 1.9 support! — Jason Roelofs <jameskilton@...>
Rice: Ruby Interface for C++ Extensions
[#352836] rb++ / rbgccxml 0.9.1 — Jason Roelofs <jameskilton@...>
What is rb++ / rbgccxml?
Hi,
What you're running into is a general C++ compilation issue when you have
[#352853] what does this do? — Roger Pack <rogerpack2005@...>
>> "abcd"[0..2] = 'ggg'
[#352867] Newbie Question: Blocks and Parameters — Derek Michael <derekwrobel@...>
Hi Guys,
> -----Original Message-----
Walton Hoops wrote:
On Tue, Dec 15, 2009 at 8:29 AM, Derek Michael <derekwrobel@gmail.com> wrot=
Thanks guys. I think I'm slowly wrapping my head around this.
[#352869] Multithread TCPServer not dequeueing packets — David Rodriguez <david.francisco.rodriguez@...>
Hi All
David Rodriguez wrote:
Thanks Brian and Robert
[#352875] Installing Ruby 1.9.1 on Snow Leopard — Mac Martine <public@...>
Hello,
[#352879] does module have instance_methods? — Ruby Newbee <rubynewbee@...>
I'm still confused, since module can't be instantiated, why it has the
[#352884] meta-programming — Rajinder Yadav <devguy.ca@...>
I am just starting to expand my Ruby knowledge into the area of
[#352885] Marshal documentation — Vm Vm <rotuz@...>
Hi,
[#352912] regexp to pars a HTML tag value — Mehdi Karamnejad <sepehr.online@...>
I want to replace the value inside a HTML tag with another value using
Mehdi Karamnejad wrote:
On Tue, Dec 15, 2009 at 11:10 AM, Marnen Laibow-Koser <marnen@marnen.org>wrote:
[#352920] select! — Roger Pack <rogerpack2005@...>
Is there any reason there's no select!
[#352922] Using threads to show progress — Aldric Giacomoni <aldric@...>
I want to do this in a Rake task, but the concept is Ruby. I would like
Aldric Giacomoni wrote:
On Tuesday 15 December 2009 01:53:21 pm Aldric Giacomoni wrote:
How about using a queue ?
On Tuesday 15 December 2009 07:46:26 pm Piyush Ranjan wrote:
How about using a mutex synchronize block around queue.push ? Would that
Piyush Ranjan wrote:
On Thursday 17 December 2009 02:52:26 am Brian Candler wrote:
Piyush Ranjan wrote:
Brian Candler wrote:
Aldric Giacomoni wrote:
# A suggestion
[#352927] searching for Comparison Search — John Mcleod <john.mcleod@...>
Hello all,
John Mcleod wrote:
[#352937] google_hash 0.1.1 -- it has a #each! — Roger Pack <rogerpack2005@...>
Pleased to announce the initial release of a "google_hash" gem.
[#352940] Licence issues. — "Robert Wolf" <robert.wolf@...>
Hi,
On Tue, Dec 15, 2009 at 5:21 PM, Robert Wolf
[#352945] smtp check response 500 — Derek Smith <derekbellnersmith@...>
Anyone know what resp 500 means in smtp?
[#352951] working with a slow pipe (IO.popen) — bwv549 <jtprince@...>
I'm doing some work with pymol and having trouble getting all the
[#352959] Cannot obtain child process exit code on Windows — Wi siong Ko <weishng@...>
Hi,
[#352960] a program error — Teodor Carstea <teodorcarstea@...>
hi, all! my compiler doesn't like the "minus" in line 21, it's like:
[#352990] BigDecimal and BigMath — "Brandon Olivares" <programmer2188@...>
Hi,
[#352995] Symbolic math in pure ruby — Ravil Bayramgalin <ravwar@...>
http://github.com/brainopia/symbolic - for people interested in symbolic
[#353030] Rubyforge ? — Robert Wolf <robert.wolf@...>
Hi Guys,
[#353036] Error loading "mysqlplus" under Ruby1.9.1 — Iñaki Baz Castillo <ibc@...>
Hi, I've ruby1.8.7 and 1.9.1 installed. In both I've the gems:
On Dec 18, 6:47=A0pm, Roger Pack <rogerpack2...@gmail.com> wrote:
[#353037] How to unpack an IP packed in little endian byte order — Nicolas Vincent <n.galineau@...>
Hello to forum members,
[#353044] C++ pointers to Ruby objects — Yuri Albuquerque <yuridenommus@...>
I'm trying to make an interface between PhysX and Ruby and I got stucked
You need to either build your own C wrapper around the C++ and expose that
[#353047] Unique combination of values from arrays — Milo Thurston <knirirr@...>
Here's a problem for which I can't see an obvious solution, and hope
Milo Thurston wrote:
[#353056] Encapsulating Information and Behavior without State — Intransition <transfire@...>
This should prove an interesting topic. I am currently debating two
On Thu, Dec 17, 2009 at 5:15 PM, Intransition <transfire@gmail.com> wrote:
[#353070] How to fund an open-source project? — Eleanor McHugh <eleanor@...>
In the recent thread on Ruby VMs I mentioned my newly launched =
On Thu, Dec 17, 2009 at 6:19 PM, Eleanor McHugh
On 17 Dec 2009, at 23:28, Gregory Brown wrote:
On 20.12.2009 02:28, Eleanor McHugh wrote:
On 20.12.2009 13:40, Robert Klemme wrote:
On Sun, Dec 20, 2009 at 7:40 AM, Robert Klemme
On 20.12.2009 16:16, Rick DeNatale wrote:
On Sun, Dec 20, 2009 at 10:21 AM, Phillip Gawlowski <pg@thimian.com> wrote:
On 20.12.2009 16:43, Rick DeNatale wrote:
[#353072] how to alias keywords? — Sonja Kisa <sonjaaa@...>
It's easy to alias method names. Is there a way I can alias keywords
[#353082] Computer States — "Brandon B." <scorpionl13@...>
Hey all,
On Thursday 17 December 2009 10:04:20 pm Brandon B. wrote:
[#353088] Suggestion of Array#=== which improves case/when behaviour — Dmitry Vazhov <dmitryelastic@...>
Hello,
"Set" class has meaning close to "Range" class. If we will define
> Dmitry Vazhov wrote:
I would absolutely love if Array recursively performed #=== on its
Hi --
On Sat, Dec 19, 2009 at 6:13 AM, David A. Black <dblack@rubypal.com> wrote:
2009/12/19 Gary Wright <gwtmp01@mac.com>
[#353089] Math errors — jzakiya <jzakiya@...>
(-3)**3 => -27
2009/12/18 jzakiya <jzakiya@mail.com>:
[#353092] Ruby 1.8.7 + Tk8.5 with Windows-RubyInstaller — Axel <a99.googlegroups.a99@...>
Hi,
[#353104] problem requiring gems under 1.9.1 mingw — Michel Demazure <michel@...>
I have both 1.8.6 and 1.9.1 (both mingw under windows).
[#353108] moving a file after processing — bingo bob <rcf1973@...>
I'm working on a script and trying to move the file processed to a
[#353109] grep a block — beny 18241 <beny18241@...>
[#353127] simple one — beny 18241 <beny18241@...>
Hi,
[#353136] Setting Windows Enviroment in Ruby Script — jackster the jackle <johnsheahan@...>
I need to set the following windows environment variable at the
[#353140] uninitialized constant Test error when running Fitnisse ruby — Arti Singh <arti.p.singh@...>
has anyone seen this error before? I have no idea on how to fix I have
[#353144] How to reopen the puts method — Adam Lauper <adamlauper@...>
I am looking for some additional detail regarding the puts method. Hows
[#353146] Reading from a PDF — Max Power <chad.locke@...>
I'm looking for a way to read text off of a PDF document in Windows.
[#353151] Question about sum of fibonacci sequene [PROJECT EULER] — Panagiotis Atmatzidis <atma@...>
-----BEGIN PGP SIGNED MESSAGE-----
On Dec 18, 6:28=C2=A0pm, Panagiotis Atmatzidis <a...@convalesco.org> wrote:
Panagiotis Atmatzidis wrote:
[#353166] loses scope? — Roger Pack <rogerpack2005@...>
Anybody know why this fails?
On 12/18/2009 2:06 PM, Roger Pack wrote:
[#353184] special cased? — Roger Pack <rogerpack2005@...>
This confused me a bit
[#353201] Ruby 1.9 - US-ASCII vs UTF-8 — Petri Kivikangas <wallu667@...>
So I have source files that contain unicode chars. Do I really have to
[#353220] ruby in twenty minutes not work — hazal Ates <niyaziates77@...>
in ruby offical site two links doesnot work.do you know reasons?
[#353248] Correcting complex math — jzakiya <jzakiya@...>
I thought I would extract some of the issues
If this can be made to work, it might be useful.
[#353250] Regex question — Katz Bo <lolilolicon@...>
[code]
[#353255] how to put unique lines from regexped file — beny 18241 <beny18241@...>
Hi all,
[#353272] Linux network appliances managed via Sinatra — Guido De Rosa <guidoderosa@...>
Hi all,
[#353290] Try Ruby is back up and better than ever! — andrew mcelroy <sophrinix@...>
Greetings,
It looks nice.
On Mon, Dec 21, 2009 at 6:55 AM, Colin Bartlett <colinb2r@googlemail.com> w=
[#353294] Tk load error — Teodor Carstea <teodorcarstea@...>
Hi all! I start using Tk to create Ruby GUI apps but that's da error:
[#353319] Help with gem ruby mysql error — Andrew Ting <drikting@...>
Hi,
On 21.12.2009 15:24, Andrew Ting wrote:
Yes thanks Philip, about the verbatim.
On Mon, Dec 21, 2009 at 11:07 AM, Andrew Ting <drikting@gmail.com> wrote:
Thanks Phillip and Hassan, path is correct now but below error is still
On Tue, Dec 22, 2009 at 12:26 AM, Andrew Ting <drikting@gmail.com> wrote:
[#353322] Ruby's implementation of Fixnum-assignment — RichardOnRails <RichardDummyMailbox58407@...>
Hi,
On Dec 21, 12:26=A0pm, Robert Klemme <shortcut...@googlemail.com> wrote:
2009/12/21 RichardOnRails <RichardDummyMailbox58407@uscomputergurus.com>:
On Dec 22, 9:40=A0am, Robert Klemme <shortcut...@googlemail.com> wrote:
2009/12/22 RichardOnRails <RichardDummyMailbox58407@uscomputergurus.com>:
[#353339] promiscuous mode — Marco Biscetti <bisciasia@...>
Hi guys. i have a question. i am new in a ruby world.
Give it beer?
[#353353] Strange behavior of unary +@ for Fixnum? — Alexandre Mutel <alexandre_mutel@...>
It seems that it's not possible to use the unary +@ operator for Fixnum
On Mon, Dec 21, 2009 at 10:51 PM, Alexandre Mutel
On 12/21/09, Colin Bartlett <colinb2r@googlemail.com> wrote:
On Tue, Dec 22, 2009 at 3:45 AM, Caleb Clausen <vikkous@gmail.com> wrote:
Thanks for your precise answer. The _integer literal_ "shortcut" makes
"ruby's operator overloading"
On Mon, Dec 21, 2009 at 3:51 PM, Alexandre Mutel
[#353357] Symbols vs. constants? — Sonja Elen Kisa <sonja@...>
How are symbols and constant (capitalized) strings similar or
Constants are variables that can be assigned to any object (only once). Whi=
On Tue, Dec 22, 2009 at 9:07 AM, Gennady Bystritsky
On Dec 21, 2009, at 7:38 PM, Gennady Bystritsky wrote:
> -----Original Message-----
On Dec 21, 2009, at 7:57 PM, Walton Hoops wrote:
Symbols are like an identifier. They're not really strings although they're
Hi,
On Tue, Dec 22, 2009 at 6:02 AM, Bertram Scharpf
On Dec 22, 2009, at 6:59 AM, Rick DeNatale wrote:
James Edward Gray II wrote:
[#353376] watir:How to click on play player obj embeded in browser. — Suman Yerram <ysuman@...>
How to click on play icon in a media player object embeded in web
Hello,
[#353396] integers and floats — Rajinder Yadav <devguy.ca@...>
Can someone explain to me why Ruby treats integers and floating point
On Tue, Dec 22, 2009 at 1:01 PM, Rajinder Yadav <devguy.ca@gmail.com> wrote:
Paul Smith wrote:
On Tue, Dec 22, 2009 at 1:36 PM, Rajinder Yadav <devguy.ca@gmail.com> wrote=
Paul Smith wrote:
On Tue, Dec 22, 2009 at 2:16 PM, Rajinder Yadav <devguy.ca@gmail.com> wrote=
[#353402] newbie: if is not null else... — Alfonso Caponi <alfonso.caponi@...>
Hi forum,
On Tuesday 22 December 2009, Alfonso Caponi wrote:
[#353453] Suggestions for a distributed job queue — Tony Arcieri <tony@...>
I'm looking at replacing our homebrew job queue with something better, and
> -----Original Message-----
On Tue, Dec 22, 2009 at 12:40 PM, Walton Hoops <walton@vyper.hopto.org>wrote:
On Tuesday 22 December 2009 03:39:15 pm Tony Arcieri wrote:
On Wed, Dec 23, 2009 at 12:10 AM, David Masover <ninja@slaphack.com> wrote:
On Wednesday 23 December 2009 11:04:18 am Tony Arcieri wrote:
On Wed, Dec 23, 2009 at 11:57 AM, David Masover <ninja@slaphack.com> wrote:
On 24.12.2009 03:08, Tony Arcieri wrote:
[#353460] Newbie - Moving Contents From Folder to Another — Wood Yee <wood_yee12@...>
Hi! I'm trying to create a program that will move contents that I've
[#353465] Displaying the html from a ruby .cgi script — Marc Heiler <shevegen@...>
I have a script, foobar.cgi
[#353474] How to pass commandline arguments to a file loaded with "irb -r file" ? — Iñaki Baz Castillo <ibc@...>
Hi, I run "irb -r myfile.rb" and would like "myfile.rb" to receive commandl=
[#353477] Trig value errors — jzakiya <jzakiya@...>
Hardware: 32-bit Intel P4 cpu
On Dec 23, 1:05=A0pm, pharrington <xenogene...@gmail.com> wrote:
The answers given by sin() and cos() are already the most accurate which
On Dec 23, 12:42=A0am, Phrogz <phr...@mac.com> wrote:
On Dec 23, 12:14=A0pm, Phillip Gawlowski <p...@thimian.com> wrote:
On Dec 27, 11:50=A0pm, Seebs <usenet-nos...@seebs.net> wrote:
[#353482] awk print $4 in ruby — Derek Smith <derekbellnersmith@...>
Hi All,
Derek Smith wrote:
How about this?
> Mike Stok wrote:
[#353518] Gems LoadError in Linux — Augusto Esteves <augustoeae@...>
Hello,
> `require': no such file to load -- rubygems (LoadError)
Roger Pack wrote:
Got it working. I was using Ubuntu and I had version 1.8 installed
[#353533] whichr (windows friendly which written in ruby) 0.3.5 — Roger Pack <rogerpack2005@...>
I am pleased to announce release 0.3.5 of the "whichr" gem.
[#353545] logging, rolling file, permission denied — Guillaume Guillaume <gjeudy@...>
Hi,
[#353550] Date.gregorian_leap? code — Colin Bartlett <colinb2r@...>
from date.rb
[#353553] Puts return — Eduardo Rocha <dudu.rocha.f@...>
Hello guys, i'm new in ruby and i'm trying to create an Address Book.
[#353559] How to test an iterator method — Edgardo Hames <ehames@...>
Hi guys,
[#353574] why this works not right — Eva <eva54321@...>
Hi,
[#353581] FFI Memory Leak — James Edward Gray II <james@...>
I've found a memory leak in some FFI code. I'll give example code =
[#353625] Call SendMessage WinAPI to get item_rect for tree control — Maxim Ap <maxbc@...>
Hi everyone!
[#353632] Happy Holidays — Rajinder Yadav <devguy.ca@...>
I just like to thank everyone in the Ruby community for being wonderful
[#353644] Ruby 1.8.7-p248 released. — Urabe Shyouhei <shyouhei@...>
Hello everyone.
Hi,
On Sun, Dec 27, 2009 at 07:13:57AM +0900, Ed Howland wrote:
[#353648] How to remove HTML part of a text — Darmanto Lie <darmanto.li@...>
i'm using Hpricot to parsing html and my output is:
[#353654] Newbie Question — lalawawa <usenet@...>
How do I turn the string "4.5" into the number 4.5 so I can do
[#353663] question about multiple ruby + gems installations for dev/test/prod — Alex Rice <agr@...>
Hi All, I am pretty new to Ruby, and googled quite a bit about the gem
On 25.12.2009 20:31, Alex Rice wrote:
[#353667] Making a counter for each word's occurrences in a string — Ben Ben <argh@...>
By looking at this method below, I couldn't understand a few things.
On Friday 25 December 2009, Ben Ben wrote:
[#353671] Roots Module — jzakiya <jzakiya@...>
As a Christmas/Holiday present to the Ruby community I finally
[#353677] Thunderbird 3.0 threaded view of comp.lang.ruby — Robert Klemme <shortcutter@...>
[#353690] pasing data between 2 win XP boxes via internet — Dave Lilley <dglnz2@...>
Hi folks,
Dave Lilley wrote:
Brian Candler wrote:
Hello guys,
Dave Lilley wrote:
Albert,
[#353702] How to know if a process is zombie? — Iñaki Baz Castillo <ibc@...>
Hi, after some forks I need to know if a process still is alive or not, but=
[#353733] How to truncate the spaces in the front of a line — Milo Luo <lxybhbh@...>
Hi, guys
On 27.12.2009 04:22, Milo Luo wrote:
Phillip Gawlowski wrote:
Thanks for great explainations.
On 27.12.2009 05:20, Milo Luo wrote:
Phillip Gawlowski wrote:
On 27.12.2009 06:06, Milo Luo wrote:
Phillip Gawlowski wrote:
[#353739] building ruby from source — Rajinder Yadav <devguy.ca@...>
I removed my older ruby package from my ubuntu, built ruby from source
On 27.12.2009 05:12, Rajinder Yadav wrote:
Phillip Gawlowski wrote:
You can try to add the path to your current gems:
[#353780] Installing Gems on Windows — Augusto Esteves <augustoeae@...>
I'm new to Ruby and I was wondering if every gem that works on Ruby
On 28.12.2009 04:43, Augusto Esteves wrote:
[#353804] Stencil 0.1 Released — nyarly@...
Stencil version 0.1 has been released!
[#353805] unpack :( — Alfonso Caponi <alfonso.caponi@...>
Hi forum,
Alfonso Caponi wrote:
Brian Candler wrote:
Alfonso Caponi wrote:
>>> systemdate.unpack("nccccc")
[#353809] FileSet 0.1 Released — nyarly@...
FileSet version 0.1 has been released!
[#353816] creating array —
Hi.
[#353823] au3 0.1.1 released — Marvin Gülker <sutniuq@...>
au3 0.1.1 has been released. au3 is a library that allows you to
Marvin G端lker wrote:
Marvin G端lker wrote:
Roger Pack wrote:
Marvin G端lker wrote:
Edward Middleton wrote:
Marvin G端lker wrote:
Thank you, Edward, that helped me out a lot. :)
Marvin G端lker wrote:
[#353834] Somewhat hacked-together eval jail — Jonathan Nielsen <jonathan@...>
Hi everyone,
[#353841] Ruby server — Allagbe Brice <kalibr14@...>
Hello
[#353846] glibc detected error! — Sam Sen <samnang.sen@...>
running ruby 1.9.1p376 which i compiled on my centos 5.4 box.
[#353850] ruby + apache. need to export path=/opt/ruby/bin every time before starting apache — ad <codetest123@...>
Hi,
[#353852] Can't find libxml-ruby gem — Peter Alta <peralta@...>
I am unable to find a libxml-ruby gem.
[#353854] Creating my own method for sorting an array — Joe User <gctaylor2004-rubyforum@...>
Hi,
Joe User wrote:
2009/12/29 Marnen Laibow-Koser <marnen@marnen.org>:
Robert Klemme wrote:
On Tue, Dec 29, 2009 at 11:47 AM, Marnen Laibow-Koser <marnen@marnen.org>wr=
[#353856] ? about Search in google,com and Show Result — Saji Jaooon <seyyedsajjad1363@...>
hi every body
On Dec 28, 5:10=A0pm, Phillip Gawlowski <p...@thimian.com> wrote:
pharrington wrote:
Saji Jaooon wrote:
On 29.12.2009 10:03, Saji Jaooon wrote:
Phillip Gawlowski wrote:
On 29.12.2009 10:21, Saji Jaooon wrote:
[#353865] ERRORs trying to install ruby-ldap on CentOS — Xeno Campanoli <xeno.campanoli@...>
# gem install ruby-ldap
Xeno Campanoli <xeno.campanoli@gmail.com> wrote:
[#353872] A Ruby appliance: What would you include? — Phillip Gawlowski <pg@...>
Hello, list!
On 29.12.2009 02:40, Phillip Gawlowski wrote:
Phillip Gawlowski wrote:
On 29.12.2009 14:25, Aldric Giacomoni wrote:
2009/12/29 Phillip Gawlowski <pg@thimian.com>:
Phillip Gawlowski wrote:
On 29.12.2009 16:24, Aldric Giacomoni wrote:
Aldric Giacomoni wrote:
On 29.12.2009 17:51, Marnen Laibow-Koser wrote:
Phillip Gawlowski wrote:
>
On 29.12.2009 18:08, Steve Klabnik wrote:
[#353878] Using #include at the instance level? — Intransition <transfire@...>
I would like to use #include at an instance level, such that it
2009/12/29 Intransition <transfire@gmail.com>:
2009/12/29 Intransition <transfire@gmail.com>:
2009/12/29 Intransition <transfire@gmail.com>:
This is really becoming annoying. I can't even do it via a dynamic
2009/12/29 Intransition <transfire@gmail.com>:
>=20
[#353880] PLEASE HELP...dup is not working correctly in the following code — timr <timrandg@...>
#dup creates a copy of an object with a different object_id. As
[#353881] Ruby Float out of range warning? — Kathy Lee <last.define@...>
I'm new to Ruby and I've been playing around with it abit.
On 29.12.2009 06:52, Kathy Lee wrote:
Phillip Gawlowski wrote:
[#353914] Question abour rand() — Panagiotis Atmatzidis <atma@...>
Dear Sirs,
[#353971] IO.popen('-') === fork ? — Nilez Parker <dcparker@...>
I just want to know if the following two are technically equivalent
2009/12/29 Nilez Parker <dcparker@gmail.com>:
[#354003] "Inconsistency" with display/existence of "\" — Aldric Giacomoni <aldric@...>
Basically, two ... Apparently similar objects give me the following
[#354020] How to avoid \ escaping when using "= <<-EOF" ? — Iñaki Baz Castillo <ibc@...>
Hi, the following code
[#354023] How to run one script from another, and capture the output — John Smith <ks1911shooter@...>
I have the following hypothetical script that requires arguments to run.
[#354040] How to pass a function as parameter? — Fritz Trapper <ajfrenzel@...>
I want to pass a reference to function as parameter to another function
On Wed, Dec 30, 2009 at 12:42 PM, Fritz Trapper <ajfrenzel@web.de> wrote:
Thanks for your quick replies.
On Wed, Dec 30, 2009 at 6:08 AM, Fritz Trapper <ajfrenzel@web.de> wrote:
Thanks for your help. I got it and it works fine.
[#354077] Where to find a description of yaml for ruby? — Fritz Trapper <ajfrenzel@...>
Where to find a description of yaml for ruby?
On 30.12.2009 20:40, Fritz Trapper wrote:
Phillip Gawlowski wrote:
[#354081] Test::unit assertion pass scenario — John Smith <ks1911shooter@...>
When using the test::unit assertion, such as assert_equal, the script
Yep, the example below is exactly the way I'm using it.
On 31.12.2009 02:41, John Smith wrote:
[#354098] Why can't I use "or" here? — Albert Schlef <albertschlef@...>
(The problem is in both Ruby 1.8 and Ruby 1.9)
On Thu, Dec 31, 2009 at 10:24 AM, Albert Schlef <albertschlef@gmail.com> wrote:
botp wrote:
Albert Schlef wrote:
Albert Schlef wrote:
On 2009-12-31, Albert Schlef <albertschlef@gmail.com> wrote:
Seebs wrote:
On 31.12.2009 10:31, Albert Schlef wrote:
Phillip Gawlowski wrote:
[#354124] The ruby website translator — HackerGene <hackergene@...>
Hi ,
On 31.12.2009 07:19, HackerGene wrote:
[#354128] hi i hv problem in gems pack......in ruby on rails pls help. — Ashok Bhandari <ashok.bhandari2001@...>
Error:
[#354131] Cant install Heroku gem in Snow Leopard — Brian Scott <mr.novell@...>
Hello,
[#354162] Automated testing of visual library (ncurses) — "(rkumar) Sentinel" <sentinel.2001@...>
As i work more on a ncurses widget library, I am wondering how does one
[#354187] Delete elements in array, break, and keep changes? — Joe Buck <semle2000@...>
I have an array of a lot elements that I need to cluster (they are
On Jan 1, 2:19=A0pm, pharrington <xenogene...@gmail.com> wrote:
Alright, I won't hide you from the details. I have a map (google maps
[#354190] Path problems — "Roger B. Atkins" <roger-b-atkins@...>
I am learning Ruby from scratch, using a beginner's book and have
On Dec 31, 7:12=A0pm, Luis Lavena <luislav...@gmail.com> wrote:
Correcting complex math
I thought I would extract some of the issues
and ideas raised from the thread 'Math errors'
http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/75cad8ec7b137fd8#
that dealt with taking the roots of negative reals,
like (-27)^(1/3) and extend the math to cover roots
of all real values, positive and negative.
Mathematical foundations
1) i = (-1)^(1/2)
2) i^1 = i
3) i^2 = -1
4) i^3 = -i
5) i^4 = 1
6) Then it repeats, e.g.: i^5 = i*(i^4) = i
7) e^(i*x) = cos(x) + i*sin(x)
8) when x = PI/2 then e^(PI*i/2) = i
For roots (-a)^(1/n) of negative real values:
x = |a^(1/n)|*(-1)^(1/n)
from 2) above
x = |a^(1/n)|*(i^2)^(1/n)
x = |a^(1/n)|*(i)^(2/n)
apply 8) from above
x = |a^{1/n)|*e^(PI*i/2)^(2/n)
x = |a^(1/n)|*e^(PI*i/n)
9) x = |a^(1/n)|*(cos(PI/n) + i*sin(PI/n))
For roots (a)^(1/n) of positive real values:
x = (a)^(1/n)
x = (a*1)^(1/n)
x = |a^(1/n)|*(1)^(1/n)
from 5) above
x = |a^(1/n)|*(i^4))^(1/n)
x = |a^(1/n)|*(i)^(4/n)
apply 8) from above
x = |a^{1/n)|*e^(PI*i/2)^(4/n)
x = |a^(1/n)|*e^(2*PI*i/n)
10) x = |a^(1/n)|*(cos(2*PI/n) + i*sin(2*PI/n))
There are n distinct roots for any real value:
9) and 10) say, the n roots have magnitude |a^(1/n)|
and dstributed counter clockwise (ccw) on unit circle
2*PI/n (360/n) degrees apart, first root at angle PI/n.
To find the n roots of neg real values the ccw spacing is:
11) roots(n,k)=cos(PI/n+2*k*PI/n) + i*sin(PI/n+2*k*PI/n)
=cos((2*k+1)*PI/n) + i*sin((2*k+1)PI/n)
To find the n roots of pos real values the ccw spacing is:
12) roots(n,k)=cos(PI/n+(2*k+1)*PI/n)+i*sin(PI/n+(2*k+1)*PI/n)
=cos(2*(k+1)*PI/n) + i*sin(2*(k+1)*PI/n)
where n is the root number and k = 0..n-1 is the kth root
In Ruby these can be coded as:
require 'complex'
include Math
13)
def roots-neg-reals(a,n,k) # a real value, n root, kth root
(a.abs**n**-1)*Complex(cos((2*k+1)*PI/n),sin((2*k+1)*PI/n))
end
14)
def roots-pos-reals(a,n,k) # a real value, n root, kth root
(a.abs**n**-1)*Complex(cos(2*(k+1)*PI/n),sin(2*(k+1)*PI/n))
end
When a is negative, n odd, like (-27)^(1/3), only one real root
and (n-1)/2 complex conjugate pairs (CCP), and the real root is
the middle kth ccw root, which is at [cos(PI)+i*sin(PI)].
When n is even there are n/2 CCPs.
When a is positive, n odd, like (32)^(1/5), only (+) real root is
the last ccw root at cos(2*PI)+i*sin(2*PI). Again, (n-1)/2 CCPs.
When n even there are 2 real roots (+ and -) and the rest CCPs.
Ex: In ccw order: (1)^(1/2) = -1,1; (1)^(1/4)= i,-1,-i,1
Checke with 14) with a=1, and n=2, k=0,1 and n=4,k=0,1,2,3
Thus, using 13), 14) as methods in Complex module, a syntax like
Complex(a).root(n,k), etc, can correctly find all the roots.
def Complex.root(a,n,k)
if a < 0
roots-neg-reals(a,n,k)
else
roots-pos-reals(a,n,k)
end
end
This is just illustrative of the concept, that could be
incorporatied in the Complex, et al, modules.
This will correct some of the math errors observed in the
previous thread and allow for more features to be correctly added to
the numerical classes.