First  |  Prev |  Next  |  Last
Pages: 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153
pseudo-randomize an array in a consistent order
Does anyone know how to pseudo-randomize an array (eg with a seed) so that you get the same order every time you do it? thanks max -- Posted via http://www.ruby-forum.com/. ... 4 Jul 2008 07:57
Software for web-based private discussion groups
Dear all, I'd like to set up a web-based discussion group for some 20-50 people. It should be possible to restrict access to some of the messages, as it is finance-related ... Can you recommend a software written in Ruby to do this easily ? Thank you very much. Best regards, Axel -- GMX startet ... 3 Jul 2008 10:26
Ruby C API Question
[Note: parts of this message were removed to make it a legal post.] I've been going over the Ruby API and I have a couple questions. Why are the variables defined outside the block? What effect does this have on the variables? static VALUE fsdbm_s_open(argc, argv, klass) int argc; VALUE *argv; ... 6 Jul 2008 03:48
Load xml data in a html file
I have in a xml file a hard disk folders/files structure <folder id='1'> <folder id='2'> <file> <filename>new.txt</filename> <filesize>1234</filesize> .................................... I want to load that xml file in a hmtl one so that:in the left of the html page i have a frame wit... 3 Jul 2008 08:23
any 3 letters
> xxx765xxx should match vvv123vvv should be omitted is it possible to write proper regular expression? Yes, it's possible, but you may find it less mind-bending just to use two regular expressions: puts "match" if foo =~ /\A[a-z]{3}\d{3}[a-z]{3}\z/ && foo !~ /\A...123/ If you really want a single... 3 Jul 2008 07:22
yet another regexp problem
Hello- I need to match any string which contain: any 3 letters any 3 digits _but_not_123_ any 3 letters so: xxx765xxx should match vvv123vvv should be omitted is it possible to write proper regular expression? Regards- shaman ... 3 Jul 2008 08:23
Detecting a connection loss && other network questions
Hello all, I'm trying to get acquainted with network programming in Ruby and I'm facing several problems. The biggest 2 are 1) How do I detect a connection loss when it happens while the client is blocking, waiting for data? According to Stevens, most tcp implementations time out after 11 minutes, but I discon... 3 Jul 2008 06:20
method for assigned value
Hello, Like this: class A attr_accessor :attr1 attr_accessor :attr2 end A.attr1="x" A.attr2="y" Is there any method to code like this : A = {"x", "y"} thanks. ... 3 Jul 2008 06:20
TO DOWN THE COOL TRISHA!! IMAGES!!!!!!!
TO DOWN THE COOL TRISHA!! IMAGES!!!!!!! TO DOWNLOAD THE KUSALAN AND IMAGES ON RASIYA, MUMTHAJ,STEYA,..... TO THE COMEDY IN THE NEW FILM AND THE THEME OF THE STORIES AND TALIORS OF NEW FILM ON HINDI ALSO................................. SO WANT MORE!!! CLICK MY PROFILE!!!!!! *************************************... 3 Jul 2008 05:19
Likely bug in Mechanize 0.7.6
I was trying to use Mechanize when it kept throwing an exception at me. After trying to debug it, I found this code snippet starting at line 441 of mechanize.rb: url = ((base && base.uri && base.uri.absolute?) ? base.uri : cur_page.uri) + url url = cur_page.uri + url Now, without knowin... 3 Jul 2008 16:37
First  |  Prev |  Next  |  Last
Pages: 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153