First
|
Prev |
Next
|
Last
Pages: 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147
a question about gem's ~> I have a question about RubyGems's "~>". Sorry for asking this here. I've searched in their "manual", but it's like searching a needle in a haystack. My question is simple: My gem works only on Ruby 1.8 (that is, it doesn't work on Ruby 1.9 (and isn't supposed to)). In my gem specification I have: s.re... 1 Apr 2010 06:48
divide BMP to YUV channels Hey guys! I have an univercity exersise: I'm trying to get YUV channels from BMP picture, and output it like 3 grey images. I know the proportion: RGB to YUV Y = (0.257 * R) + (0.504 * G) + (0.098 * B) + 16 V = (0.439 * R) - (0.368 * G) - (0.071 * B) + 128 U = -(0.148 * R) - (0.291 * G) + (0.439 * B) + 128 ... 28 Mar 2010 14:33
non-blocking calls to external APIs hi - sure this is becoming a more common issue for many people - from within a web-app how to interact with other systems in a non-blocking way. ie i dont need to wait for a response from the other system in the cycle of the same user request/response. i need to send some logging information off to another sys... 30 Mar 2010 07:12
Watir issue with AutoIt on Vista 64 bit Installed Watir (v1.6.5) on top of Ruby (v1.8.6) on my 32bit WinXP and 64 bit Vista systems. Ran into way too many issues trying to use Ruby 1.9.1 (64-bit) and Watir(v1.6.5), so degraded to try these older versions, as Watir site recommends. Are versions of Watir (v1.6.5) and Ruby (v1.8.6) for Vista 64-bit avail... 27 Mar 2010 18:49
remove overall indentation preserving reletive indentation I am trying to find a solution to remove the overall indentation of a block of text while preserving the relative indentation of each line, for example line 1 line 2 (2 spaces then 4 spaces) should become line 1 line 2 (0 spaces then two spaces) so that the two space between lines relative i... 27 Mar 2010 16:31
Rubygems update breaks other gems? Hello, I am on Ubuntu 9.10 I ran the following commands for a rubygems update from 1.3.5 to 1.3.6 $ sudo gem install update_rubygems $ cd /var/lib/gems/1.8/bin $ sudo ./update_rubygems $ gem -v 1.3.6 but after this some of the installed gems fail to work . For eg. $ rails -v /usr/local/lib/site_r... 1 Apr 2010 05:43
Stop the Heat from Sun Rays! Stop the Heat! Stop UV Damage! Save Money! - More Details : http://www.suntechglasstinting.com/welcome.php ... 27 Mar 2010 02:15
Class of the calling Object, is there someway to fetch it (from the called method)? Hi again, SPECIFIC QUESTION: How can I fetch the Class name of the calling Object? (The module that contains the class of the calling Object might be useful/necessary in the future.) NOTES: I checked the 'caller' stack and it doesn't show up there. Searched this forum, googled, and it is was not found. ... 27 Mar 2010 09:33
print to a label printer directly [Note: parts of this message were removed to make it a legal post.] Hello all, I'm wondering what would be the best method to print to a label printer? I need to print many labels from a rails application, and I need to do it on a windows box (until we get a linux server up and running). It's been horrid so f... 28 Mar 2010 16:45
Hash enumeration returning nulls? Okay, I must just be too sleep-deprived to see it. Why is Hash.each (and the other enumerables) returning nothing but nils when clearly the hash is being populated? $foo={'a' => '1', 'b'=> '2'} puts $foo.length puts $foo.nil? puts $foo.keys puts $foo.values puts "\n\n" $foo.each do |k, v| print $k, ... 26 Mar 2010 13:09 |