Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: stillflame
  • Content: Threads
  • Order by date
  1. stillflame

    timeouts and Timers

    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...
  2. stillflame

    wrapping structures

    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...
  3. stillflame

    can i eval a string

    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...
  4. stillflame

    rb_intern

    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...
  5. stillflame

    Equivilent to '-w'?

    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...
  6. stillflame

    Programming Ruby - The Pragmatic Programmer's Guide

    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'...
  7. stillflame

    Weird regex behavior....

    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...
  8. stillflame

    script intended for multiple systems....

    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...
  9. stillflame

    where are CGI error messages?

    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...
  10. stillflame

    Welcome to the Ruby forum...

    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...
  11. stillflame

    How do I set an un-jumpered modem to different settings?

    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...

Part and Inventory Search

Back
Top