First  |  Prev |  Next  |  Last
Pages: 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192
Google Wave: A new type of "Ruby Quiz" ?
Google Wave is, according to Google, "the new email". It combines email, their idea of working together on same documents, and versioning control. It has lots of potential. I playfully created a simple class for playing cards and decks and invited a few people to it, figuring we could reinvent git (because I bet... 14 Dec 2009 12:06
Found Senryu (#224)
On Sun, Nov 15, 2009 at 7:43 PM, wkm <wiktor(a)zanoccio.com> wrote: My solution is enclosed. It uses the Lingua::EN package from http://www.pressure.to/ruby/ to count syllables. According to it there are 4729 Senryu's in the US Constitution (with amendments). :) As an aside, do people actually do these qui... 17 Nov 2009 07:14
Sorting array of names
Hi all, I have a Ruby program that reads in a text file of first names and surnames and prints them out in alphabetical order. Now I'm trying to add the option: if a person has a middle name, to print that out too and if they don't, to just print out their first name and surname. I'm having issues when allowing a ... 16 Nov 2009 07:54
Newbie question: Defining a numeric type
Have a look at Forwardable On Monday, November 16, 2009, Seebs <usenet-nospam(a)seebs.net> wrote: I have a type which has a bit of internal magic, but fundamentally, I want it to behave for most purposes like the value it yields from to_i/to_int. Basically, is there a way to avoid having to write +, -, etc... 15 Nov 2009 21:07
what's ||
sorry just was learning ruby so have some low level questions, :) in this statement: 1.upto(10) do |c| print c," " end what's the usage of "| ... |" in ruby? can't easily understand. Thanks. ... 20 Nov 2009 10:04
bsearch.rb
I found online http://0xcc.net/ruby-bsearch/. Yippee! Is the following good idiomatic Ruby for doing a binary search the way that Array.assoc searches linearly? irb -r .\ruby-bsearch-1.5\bsearch.rb sorted_array = [ [ 1, [1000, rand(1000), rand(1000)]], [ 2, [ 999, rand(1000), rand(1000)]], [ 4, [ 99... 15 Nov 2009 05:40
How do I get a random number between two random numbers?
I want to create a program that asks you to guess a number between two numbers. The problem is that I can't figure out how to make the numbers that you're guessing between random and have the random number you are guessing between those two numbers. Does anybody know how to do this? -- Posted via http://www.ruby-... 16 Nov 2009 05:45
Customized GUI
first off, sorry if this in the wrong place, i just signed up here. if so, let me know where to put further posts. i am looking for a way to make a customized gui, like using differently shaped windows or graphics for the window borders, while allowing me to add buttons (using images) i dont mind researching thi... 16 Nov 2009 11:15
servolux 0.8.0
On Nov 12, 2009, at 2:02 PM, Tim Pease wrote: Serv-O-Lux version 0.8.0 by Tim Pease http://gemcutter.org/gems/servolux Just to follow up to my own post, a small bugfix release has been issued: servolux v0.8.1 When oh when will I learn "test first, THEN release". You can see the bugfix changes... 12 Nov 2009 18:30
installing bdb-0.6.5 in ubuntu
Hello to everyone, I'm trying to install bdb-0.6.5 on my Ubuntu machine. I was able to install it using the following commands: ruby extconf.rb --with-db-dir=/usr/local/berkeleydb --with-db-lib=/usr/local/berkeleydb/lib --with-db-include=/usr/local/berkeleydb/include make make install But when I try t... 11 Nov 2009 17:58
First  |  Prev |  Next  |  Last
Pages: 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192