First  |  Prev |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Is it possible to access memory as a block ?
I have a situation to load large amount of data multi-million of data to memory for processing. It's memory intensive application. Analysis. I have found that Hash is too slow, then I try Array but it's overhead of 20 or 40 byte make me run out of memory. I try to find how to define a pointer to block of memor... 8 Aug 2010 13:24
Attributes in class
Hi Please help someone that knows C++ , and my question : Does "attribute" in ruby is same as "private member" in c++ ? if no please exactly explain me what is the concept of "attribute" in ruby? -- Posted via http://www.ruby-forum.com/. ... 9 Aug 2010 10:05
Hel;p with Tip Calculator
puts "What is the total?" input = gets.chomp.to_i puts "What percent do you want to tip?" input2 = gets.chomp.to_i percent = 100 tip = input2 * input * 0.01 puts "You should tip $#{tip}" This is a tip calculator. I want it to work if the person enters $45 or 15%. Right now, it would only return 0 because t... 11 Aug 2010 14:43
New in classes
Hi In the attached code what is the meaning of colored part of code? what is the meaning those codes that showed when I wrote "Test.new" and "variable = Test.new" ? Attachments: http://www.ruby-forum.com/attachment/4926/capture.jpg -- Posted via http://www.ruby-forum.com/. ... 8 Aug 2010 14:30
ruby update from 1.8.6 to 1.8.7
I have instantrails installed, updated rails to 2.3.8, but can't get ruby updated from 1.8.6 to 1.8.7. I have ruby 1.8.7 on a different directory which I can use, but under instantrails... there is a ruby directory with version 1.8.6. Any idea how I can update it to 1.8.7 ?. Thank you. Dani -- Posted via http:/... 12 Aug 2010 01:43
calendar hash
Posted this in the rails group, but didn't get an answer yet. maybe you can help me? Hi! I'm trying to create a nested hash which should hold the dates in my database as a kind of calendar. What I did so far is obviously wrong, because I'm storing the week-number for every day in the week array. I don't real... 8 Aug 2010 04:47
Loops
Hi, I'm only a newbie on ruby could someone help me with my code: Here's: I'm writing a program which will ask the user to input a word or typed goodbye to quit the program. The first part is done the problems is that how can i find the longest word? example: Type a word (or goodbye to quit): Hello Type a word (o... 8 Aug 2010 10:08
[ANN] Inochi 5.0.0
Inochi Gives life to Ruby projects http://snk.tuxfamily.org/lib/inochi/ Version 5.0.0 (2010-08-07) This release switches from [1][Ronn] to [2][AsciiDoc] for writing the help manual, reduces the file size of generated gem packages,... 8 Aug 2010 03:42
[ANN] Call for Participation for 2010 Workshop on Scheme and Functional Programming
[The early registration deadline is only 2 days from now. Please register ASAP!] CALL FOR PARTICIPATION 2010 Workshop on Scheme and Functional Programming Montreal, Quebec, Canada Saturday and Sunday August 21-22, 2010 http://... 7 Aug 2010 22:20
[ANN] rake-compiler 0.7.1 Released
rake-compiler version 0.7.1 has been released! * <http://github.com/luislavena/rake-compiler> * <http://rubyforge.org/projects/rake-compiler> = rake-compiler rake-compiler aims to help Gem developers deal with Ruby extensions, simplifying code and reducing duplication. It followss *convention over config... 7 Aug 2010 20:10
First  |  Prev |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19