math changes from 1.8.1 to 1.8.2?
I've got some code that does simulated fixed-point math and things like
exp(-x). I find that my simulations work fine on a Windows XP box,
Pentium IV, Ruby 1.8.2. However, when I run the same exact Ruby code on my
Powerbook G4 running Ruby 1.8.1 I get lots of errors from my unit tests.
I suspect that what I'm doing is really stressing the floating point
operations so it could just be a difference between the G4 and Pentium
FPUs, but I'm also wondering if there were changes between Ruby 1.8.1 and
Ruby 1.8.2 that might account for this (even changes to the way Bignum
works...Ruby extension (C++) on OS X [ruby 1.8.2] and Google-Sketchup [ruby 1.8.5]
I have written a ruby extension in C++ and it works fine on OS X
Tiger which ships ruby-1.8.2.
With the succesful test of the extension (bundle), I then proceed to
try to use it within Google-Sketchup [which I think embeds ruby-1.8.5].
Sketchup crashes the application just loading the extension.
cRCL = rb_define_class("rcl", rb_cObject); <=== /CRASH
8<------8<------8<------8<------8<------8<------8<------8<------8...where to download 8.1.5, 8.1.6, 8.1.7?
Does anybody know where to download any of these Oracle installations:
8.1.5, 8.1.6, 8.1.7? Windows/Linux versions, doesn't matter.
I can't find them at Oracle website.
Thanks in advance.
The keyword is here: desupported.
But if you have a valid CSI you can still get them from support. You
need to submit a service request though.
Senior Oracle DBA
...ruby 1.8.4 gives warnings where ruby 1.8.2 doesn't
How do I disable warning output in Ruby? The servers at work use ruby 1.8.2,
which gives no warning when running some rake / rails scripts. If I rsync /
copy those scripts to my ruby 1.8.4 machine and run them there, I get loads of
I don't want to downgrade my beloved Ruby, can anyone tell me how I can simply
disable those warnings at run-time?
To reply, take of all ZIGs !!
Alternative email address: emailZIG@asfandyarZIG.cjbZIG.netZIG
Asfand Yar Qazi wrote:
> I don't want to downgrade my beloved Ruby, can anyone tell me how I can
> simply d...GCC 3.3.3 and Ruby 1.8.0 and 1.8.1
We recently upgraded to GCC 3.3.3 and now we can no longer compile ruby
due to its use of some obsoleted constructs.
Apparently GCC no longer supports <varargs.h>, and code should be
revised to use <stdarg.h>
Not knowing anything about it, is there a good workaround?
Will this be changed in future versions of Ruby so that it will play
nice with the latest GCC?
gcc -fPIC -g -O2 -fPIC -mpa-risc-2-0 -I.
-I/home/kgr/work/actruby/build/hpux11.0...Ruby 1.8.4 and Ruby 1.8.6
I was wondering, if we could use previous version if we installed
i know this is stupid. :) any suggestions?
On Feb 28, 2008, at 01:14 AM, Bala wrote:
> Hi Experts,
> I was wondering, if we could use previous version if we installed
> i know this is stupid. :) any suggestions?
[unpack a ruby 1.8.6 tarball and cd into it]
make && make install
On Feb 28, 2:20 pm, Eric Hodel <drbr...@segment7.net> wrote:
> On Feb 28, 2008, at 01:14 AM, Bala wr...188.8.131.52 ?
my firewall logs dropped packets from an internal IP address trying to
contact 184.108.40.206 through port 9999. Any ideas whether 220.127.116.11 is valid
IP? and what is port 9999??
> my firewall logs dropped packets from an internal IP address trying to
> contact 18.104.22.168 through port 9999. Any ideas whether 22.214.171.124 is valid
> IP? and what is port 9999??
These trojans *BlitzNet*, *Backdoor.Oracle*, *Backdoor.Spadeace* uses port
"StarScripter" <Star@privacy.net> wrote in message news:<bv8ejj$p54t3$1@ID-185702.news.uni-berlin.de>...
> mike wrote:
> > hi
> > my firewall logs dropped packets from an internal IP address trying to
> > contact 126.96.36.199 through port 9999. Any ideas whether 188.8.131.52 is valid
> > IP? and what is port 9999??
> > thanks
> These trojans *BlitzNet*, *Backdoor.Oracle*, *Backdoor.Spadeace* uses port
thanks very much..will check it out
...from 1.8.2-14 to 1.8.2-15
I'm bound to win environment and I wonder whether it is convenient to
upgrade from 1.8.2-14 to 1.8.2-15: apart from tab completion in irb is
there any other major motivation?
In case of upgrading, should I reinstall the whole environment from
scratch (ie: gems, .irbrc, .inputrc, etc.)?
...pango 1.14.8, cairo 1.0.2, atk 1.12-4 - Alpha 8.2
This is a packaging and port of Pango 1.14.8, Cairo 1.0.2, and ATK
1.12.4 built for use with GNV style build environments and packaged in
a PCSI kit.
The files containing the licensing terms are present in the release
notes installed by the binary kits.
ATK is the Gnome Accessibility TookKit, licensed under the LGPL which is
less restrictive than the GPL.
For more information about ATK and accessibility in GNOME, see:
Cairo is a 2D graphics library with support for multiple output
devices. Currently supported output targets include the X Window...Error installing rubygems 0.8.1 with ruby 1.8.2
I have compiled and installed ruby 1.8.2preview3 on a new laptop.
On trying to install rubygems 0.8.1 (ruby install.rb) I get an error
finding the file zlib at the end of the installation. I tried both
commenting and uncommenting the #zlib line in the ext/Setup file
during the compilation of ruby 1.8.2. From the console:
As of RubyGems 0.8.0, library stubs are no longer needed.
Searching $LOAD_PATH for stubs to optionally delete (may take a while)...
No library stubs found.
`require__': No such file to load ...ruby1.9.2 looking for Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/csv.rb:312
I have just started learning ruby and Im using ruby 1.9.2p0 (2010-08-18
revision 29036) [x86_64-darwin10.5.0].
Im trying to run a program from a book for CSV reader and when I try to
run it (using csv file as input) i get error from CSV library which is
under 1.8. And Im not sure if its correct..
Can someone please help
/csv_reader.rb:14:in `read_in_csv_data': uninitialized constant
...readlines changed from 1.8.0 to 1.8.1?
$ cat >foo
$ ruby-1.8.0 -e 'p IO.readlines("foo", nil)'
$ ruby-1.8.1 -e 'p IO.readlines("foo", nil)'
-e:1:in `readlines': Interrupt from -e:1
$ ruby-1.8.1 -v
ruby 1.8.1 (2003-12-25) [i686-linux]
I had to interrupt the second one.
There's nothing about readlines in the ChangeLog. What happened?
I know I can use File.read, but I had left IO.readlines in some places
for backwards compatibility.
Joel VanderWerf <vjoel@PATH.Berkeley.EDU> writes:
> $ cat >foo
> $ ruby-1.8.0 -e 'p IO.readlines...Ruby 1.8.7 from 1.8.6
I have been given a project to understand the ruby and rails so every
time when I try to execute the server via script/server i get following
=> Booting Mongrel
=> Rails 2.3.8 application starting on http://0.0.0.0:3000
/usr/lib/ruby/gems/1.8/gems/mail-184.108.40.206/lib/mail.rb:19: You need to
install tlsmail if you are using ruby <= 1.8.6 (RuntimeError)
/usr/lib/ruby/gems/1.8/gems/activ...Error Compile 1.8.0 and 1.8.1-pre2
I'm trying to compile they latest. But i'm getting a SEGMENTATION FAULT error.
It happens on miniruby. I found a post that said to add --enable-shared. So I did and this got me to the next file libruby.so with an error saying 'Unkown nod type 0'.
I tried it on 1.8.1 and got the same segementation fault on miniruby. --enabled-shared didn't help.
I'll keep searching and hacking but I thought I'd put this out these to see if anyone has any ideas.
p.s. I'm doing this on GoboLinux. So maybe the alternate file hiearchry is the problem, but I doubt I w...Why is Ruby 1.8.6 RC1 more recent than Ruby 1.8.6 Final?
Getting to the Ruby One-click installer for Windows, we may go to
however over there, it seems that
Ruby 1.8.6 RC1 (patchlevel 383)
is actually more recent than
Ruby 1.8.6 RC2 (patchlevel 27)
Ruby 1.8.6 Final (patchlevel 26)
If I install them on different machines, the RC1 actually shows a more
recent date than RC2 or Final, by using
What's the rule? Does it go strictly by patchlevel? That is, the
patchlevel decides how update it is, instead of whether it is R...Best way to upgrade from 1.8.2 to 1.8.4 on Linux? #2
I have installed from source Ruby in the folder /usr/lib/ruby-1.8.2/.
(I use Linux)
If I do "which ruby" I get /usr/local/bin/ruby. It seems that Ruby has
created the folder /usr/local/bin and filled it with ruby, irb, etc...
I don't mind, this is all fine.
Now my question is: when at XMAS Metz dressed like Santa will bring me
Ruby 1.8.4, how should I upgrade?
I was thinking do to the following:
1) Remove the folder /usr/lib/ruuby-1.8.2/
2) Install Ruby 1.8.4 from source in /usr/lib/ruby-1.8.4/
3) During the Installation of Ruby 1.8.4, it will overwrite
automatically the folder...How can I convert from 8.2.1 to 7.1.1?
I would like to convert the following files from 8.2.1 to 7.1.1. Is this possible without just having someone else do it inside 8.2? If not, then can someone please convert them for me? They are listed in order of most needed. Thanks for the help.
Somebody needs to to the 8.0 to 7.1 conversion inside 8.0. Here's my attempt, see if they work.
Thanks a bunch. I really appreciate it. Cheers, Sean
...Should I upgrade Ruby from 1.8.5 to 1.8.7?
I just upgraded to Rails 2.3.2 but my Ruby is still 1.8.5. Rails 2.3.2
doc says it work fine with 1.8.5 but it recommends 1.8.7. I remembered
from a previous attempt that upgrading Ruby to 1.8.6 was too complicated
for me, so I'm wondering what I would get if I upgrade to 1.8.7 and if I
should just stick with 1.8.5.
Posted via http://www.ruby-forum.com/.
There have been a few threads on this so far. Possibly the right
thing to do is to install multiple versions and flip back and forth
if you run into difficulties. Unfortunately, this is complicated and
there are hidden proble...Proc in ruby 1.8.6 and 1.8.7
In Ruby 1.8.7 it is possible to do such thing:
pr = Proc.new do |arg, &block|
pr.call(123) do puts "xyz" end
When calling proc another block can be given as parameter.
Is there any way to do it in Ruby 1.8.6 ?
irb(main):001:0> aba = Proc.new do |arg, &block|
SyntaxError: compile error
(irb):1: syntax error, unexpected tAMPER, expecting '|'
aba = Proc.new do |arg, &block|
irb(main):003:0> pr = Proc.new do |arg, block|
irb(main):...Re: Error Compile 1.8.0 and 1.8.1-pre2
> Could you show stack trace?
Sorry, I don't know much about compiling programs. How do I do what you are asking?
At Wed, 12 Nov 2003 09:23:55 +0900,
T. Onoma wrote:
> > Could you show stack trace?
> Sorry, I don't know much about compiling programs. How do I do what you are asking?
Run miniruby from gdb or run "gdb miniruby core" after
segfault, and type "where" (without quotes, with return).
At Wed, 12 Nov 2003 10:06:43 +0900,
> Run miniruby from gdb or run "gdb minirub...Re: Error Compile 1.8.0 and 1.8.1-pre2 #3
took me a bit to get back to...
> Check `ulimit -c'.
> > the error specifically says: 'mkmf.rb:354: [BUG] Segmentation
> > Fault' if that helps.
> Hmmm, only "false" line?
> What's your configure options?
./configure --prefix=/Programs/Ruby/1.8.1 \
like i said, Gobo has non-standard ...LV 8.2.1 Error 66 or 1379 occured at open Application Reference. A LV 8.2.1
LV 8.2.1 Error 66 or 1379 occured at open Application Reference. A LV 8.2.1
Application access an other LV application on an remote PC with Vi-Server Technology. (Based on MS OS Windows XP SP2 with all patches ...)
With LabVIEW 8.2.1 it is not possible (exactly: with one PC it works, with other PCs, (identical regarding configuration of LabVIEW-Components), the described errors occured ...
There is no problem with LV 7.1.1. ( If the VI-Server Configuration of the .exe will be done within the .ini -File...)
The differences between LV 7.1.1 are in the .ini-File of the application regarding the the access-List property.
Error 66 occures if ther is no entry in the access-List property.-> OK.
Error 1379 occures if i will use the copy of the LV .ini-File acl-property with allowed access from all clients (*) or special clients defined with IP-Adress ... -> BUG
The same behaviour is described in 2 threads in the discussion forum ..., but in my application/configuration the workaround acl.configuration: "allow access from all clients" will work only with one PC ?
So what is the solution ?
At this moment i gol back to LV 7.1.1, but this is surely not the solution ....
Thanks for help ....
is it really a known bug ?
Exists an error ID for the Bug ? What does NI said to the problem ?
In which future version ( > 8.5.x) and when is the fix to be expected ?
I think the VI-Server Technology is a main feature of LabVIEW and it is not accept...Help construct a tree 1 -> 1.1 -> 1.2 -> 2 -> 2.1 -> 2.1.1 etc HELP !!!!!!!
Borland Guru's I need help
I have a text file as follows:
I cannot use a control active x tree
I need to read this file and 1 is a parent 1.1 is a child of parent 1
2 is a parent 2.3 is a child of parent 2 and construct in search a way
or probably a recursive function
No xml parsing just read a file. Does any body have a function
"Mos" <firstname.lastname@example.org> wrote in message
> I have a text file as follows:
>...Help construct a tree 1 -> 1.1 -> 1.2 -> 2 -> 2.1 -> 2.1.1 etc HELP !!!!!!!
Folks I need help. I have a view or(Text file) as follows:
Dim Parent() As String
Dim Level1() As String
Dim Level2() As String
Dim Level3() As String
How can I construct a tree. parent, children, grand children etc...
and also figure out # of children # of grand children etc
"Mos" <email@example.com> wrote in message
> Folks I need help. I have a view or(Text file) as follows: