First  |  Prev |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
[ANN] Inochi 5.0.2
Inochi Gives life to Ruby projects http://snk.tuxfamily.org/lib/inochi/ Inochi is a software project infrastructure for the Ruby programming language. It helps you test, document, package, publish, and announce your projects while enco... 11 Aug 2010 01:42
Error: Bignum too big to convert into `long'
On Tue, Aug 10, 2010 at 10:51 PM, Matt Mencel <MR-Mencel(a)wiu.edu> wrote: Another reason for me to dislike Solaris SPARC. you may let ruby do the work for you :) try ruby 1.9 eg, $ ruby -ve 'puts("#{(-1.size==4?32:64)}bit", Time.at(4102380000))' ruby 1.9.2dev (2010-07-11 revision 28618) [i686-linux] 32bit... 11 Aug 2010 11:26
"NaN".to_f revisited
Hi all, I thought ".to_s.to_f" should be an identity operation on any floating point number, apart from a potential truncation error. On Ruby 1.8.7, a = 0.0/0.0 a.to_s # => "NaN" "NaN".to_f #=> 0.0 Therefore, a.to_s.to_f #=> 0.0, which isn't acceptable to me. Consider writing floating ... 11 Aug 2010 12:32
rb_set_kcode equivalent for 1.9.x
The C function rb_set_kcode was defined in the 1.8.x branch. In the 1.9.x branch, the encoding was overhauled, and all the methods were renamed (without aliasing, it seems.) I use an application than loads the Ruby interpreter (as a scripting engine.) It loads 1.8.x fine, but cannot load 1.9.x ("rb_set_kcode en... 10 Aug 2010 20:13
Best XML Parser & advice
Hey all, I have identified a file, which is not an XML file however its content represents XML e.g. <UserData><Time>1270242409</Time><ClientVersion>3</ClientVersion><Count>0</Count></UserData> I have clearly identified in this file where the the tags are however I have a few issues to overcome. First, eac... 11 Aug 2010 08:10
TkVariable and accents
hello, I'm working on a small gui, I have a tkEntry, for reading the tkEntry.textvariable I have a tkVariable. when I enter something as "toto" in the tkentry i get it in the tkvariable. but when I enter "té" I get t "tÚ" in the tkvariable. how come I get "tÚ". is there a way to handle accents? or maybe I shoud ... 10 Aug 2010 15:48
Formatting directory listings
Hi. Given an (imaginary) directory structure like so: Movies/ film1/film1.avi film2/film2.avi film3/film3.avi etc. I'd like to get a directory listing like so: Movies ==== film1 film2 film3 etc. I don't want anyone to actually do this for me, rather point me to a tutorial that deals with... 12 Aug 2010 15:52
changing the spacing in a string?
Hey guys. I have an array full of strings. When I put the strings, it looks like this http://pastebin.com/eeicUCqL which is okay, but it looks a little sloppy to me. Is there a way I can get the strings to dynamically space themselves so that they look evenly spaced? ala http://pastebin.com/cRcG97sK ? Should I ... 10 Aug 2010 15:48
Camera_Project
Hi, Im doing a proj on a camera that monitors the chest movements when breath. I need help on this proj. can any one help me??? As i have very low knowledge on Ruby i cant really play with this proj since i had to take the help from any of you. Any help much appreciated. Basically: a camera set @ an angle &... 11 Aug 2010 19:08
rubyscript2exe: adding version, vendor, etc to exe resource
In general on Windows you can interrogate the "resource block" to get the version string, vendor string, etc. of an executable. Does anyone know how I could go about inserting this into a Ruby app that was compile with rubyscript2exe? I can't find anything on it. Basically, if someone were to run something simi... 10 Aug 2010 18:00
First  |  Prev |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15