question on scope in callback419 (3/31/2012 12:01:39 PM) comp.lang.javascript I seem to be having a problem with this code below that uses ruby/faye websockets. I am not sure what stuff is in scope when the callback in the subscribe() function. I have stuff like the marker_arr variable ... Jedrin
regex matching a state in a string275 (3/15/2012 9:29:39 PM) comp.lang.ruby I wonder if there is an easier way to do this. State here is going to be two characters, it can be preceded by space, or comma and followed by period, end of string, or space. Also, if this can be done with a... Jedrin
multiple gmail client in TK/windows ?043 (2/29/2012 9:32:51 PM) comp.lang.ruby I had this idea that I have multiple gmail accounts and I could write a Ruby program that uses something like TK on windows that stores my passwords encrypted locally and allows me to see my emails across the... Jedrin
I don't quite understand tricky reg ex with back ref1200 (2/18/2012 3:29:06 AM) comp.lang.ruby I am trying to understand exactly why this reg ex works the way it does. The key part here is the back ref \2 which confuses me a bit as it seems recursive in a way that I haven't intuited quite: s = "111221"... Jedrin
puzzled by yaml error ..031 (7/21/2011 9:02:24 PM) comp.lang.ruby I have some code that uses a yaml file. I moved the code onto a different server in windows server 2008 or some such. My code seems to fail here on the other machine: label_path = File.dirname(__FILE__) + ... Jedrin
progromatic download of rpm file139 (10/6/2010 4:44:55 PM) comp.lang.ruby not sure why neither of these ways to download an rpm from ruby don't work, but if I use a web broswer on the same url there's no problem .. ------------------------------- require 'net/http' Net::HTTP.start... Jedrin
how to get rpm file with ruby ?141 (10/5/2010 7:17:51 PM) comp.lang.ruby Neither of the methods below are able to download this rpm file. If you use firefox it works fine, how can I do this in ruby as part of a install script I am trying to write in ruby ? -------------------- req... Jedrin
question on if / defined?()5127 (8/17/2010 4:02:47 PM) comp.lang.ruby assuming x is not defined, why does the statement
x = true if !defined?(x)
produce x is nil ?
y = true if !defined?(x)
is no different
this however works fine:
if !defined?(x)
x = true
... Jedrin
kerberos API differences between linux/windows/mac014 (5/12/2010 4:01:35 PM) comp.protocols.kerberos We are writting a simple client/server app that uses the kerberos API. I am wondering how portable this might be to the kerberos API on other platforms as the use of GSSAPI seems more common ? ... Jedrin
strange java error with geoserver453 (2/26/2010 10:53:09 PM) comp.lang.java.programmer I am using geoserver and I started to get a strange java error message. I did some google searches for 'java.io.IOException: FULL head' which led me to think this could be an obtuse problem. I had posted this... Jedrin
jrubiando's replies:
Items(2) /1
strange java error with geoserver453 (2/26/2010 10:53:09 PM) comp.lang.java.programmer I am using geoserver and I started to get a strange java error message. I did some google searches for 'java.io.IOException: FULL head' which led me to think this could be an obtuse problem. I had posted this... jrubiando(15)
Calling a method with an instance627 (10/5/2010 6:59:39 PM) comp.lang.ruby Hi. I'm playing around with creating methods and then creating an instance that calls the instance. Here's my code..... class Discount attr_accessor :amount, :discount def initialize(am, dis) @amount = am @... prpaulroche(9)