hi all,
here's the basic problem i'm trying to solve.
i have a method that can take a really long time depending on the data, and i need to know which of the data in my data set takes more than, say 2 minutes. also, some data may take MANY MANY hours, so i don't want to have to sit through...
hey all,
this is likely well beyond the scope of what any of you have done with ruby, but i figured i'd ask it here, and at least answer it myself when and if i figure it out.
i have a problem writing this ruby extension 'o mine, and i was wondering if anyone could help me figure out why. i've...
i come from perl and ruby - high level scripting languages. there is an ability in both of them to construct a string and then evaluate that string as if it were code. i find myself now writing an extension for ruby in c and i have the following problem:
there are a bunch of functions in the...
well, this is probly more than any of you have tried to do with ruby yet, but i'll ask anyway.
i'm working on a c extension for ruby (doing a ruby version of perl's Lingua::LinkParser, for anyone who cares), and i'm unsure about how to use the api fuctions 'funcall' and 'rb_intern'. i know i...
in perl, you can use '-w' on the command line to enable warnings, and you can use 'use strict' to make the compiler look for more errors.
i remember something like these for ruby, but i cannot find what it was. if anybody else knows, i'd be happy with that knowledge (well, if anybody ever...
The book, written by David Thomas and Andrew Hunt (Dave & Andy), is the first (and probly still the only) book written in english on the Ruby Language.
The book is very thourough and insightful, especially for how young Ruby is. It covers the language itself, both from a 'first language'...
This isn't a problem, more a question about an accidental solution.
Here's the meat of it:
m/^*$/ will match any string. Why is this? i played around, and, in fact, m/^*/ will also match any string, but m/^$/ will only match a null string, and m/*$/ and m/*/ both give an error (as they...
the "#!/..." line at the beginning of a script points to the location of perl. what do you put to be able to use the same script on two different systems, each with a different path (or, in this case, file system. it's to go from *nix to win9x and back again every day)?
i vaugely...
Hey,
i write perl cgi scripts for an apache webserver, but to debug them, i always have to do it on the command line, as i do not know how to access their error messages from apache. i make a subroutine &dienice for anytime i have to exit from within my script, but general perl errors don't...
Er, as i'm the only one here right now, and i don't have any expertise in this language (d-loaded it two weeks ago), the most i can do right now is point anyone who care to the english page: www.ruby-lang.org
There you can download your own version and start playing with it in your spare time...
Okie... I have a modem, a Rockwell HCF 56k DataFax PCI Modem, which has no jumpers on it to change it's settings, and is set to COM2. BeOS 4.5 doesn't support COM1 or COM2 modems, and they say to change the jumpers on the modem to make sure that doesn't happen, but i can't.
What i've tried so...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.