298991-378241

298743-299836 subjects 299222-323109

Effect.Fade and Back Button
298991 [ju.dith@gm .] i have a picture which dissapeares via Effect.Fade, but i'd like it to
+ 299000 [raasdnil@gm ] You want AJAX history.
+ 299001 [TimHunter@nc] Judith, this sure looks like a question about Ruby on Rails, but this is

Binary in "big endian" representation
298995 [dendicus@gm ] I would like to convert an input (like a file, or a password) into
299002 [dblack@ru yp] I can't quite picture what you want the result to be. unpack will give

[ANN] Thin 0.8.1 Rebel Porpoise release
298996 [macournoyer@] Hey all,

rakefile gives syntax error, unexpected ':', expecting $end
298998 [hawat.thufir] I want to make run dependant on the compile and cat tasks, but don't seem
298999 [dblack@ru yp] task :run => [:compile, :cat] do
299007 [hawat.thufir] Ah, thanks!

Re: forkoff - parallel processing for ruby enumerables
299003 [fredjoha@gm ] This is really nice! I would prefer to change this syntax
299004 [ara.t.howard] the next release supports either an hash (options) or numeric argument

Extract lines with regular expressions
299011 [michael.dore] I am a newb trying to take a list of data in a text file and print out a
+ 299014 [shortcutter@] files.each do |file|
+ 299023 [bbxx789_05ss] First, you might try dreaming up more than one variable name.

Accessing Windows actions(Shutdow.Restart)
299012 [jazzezravi@g] I want to access the windows functionalities such as Shut down, Restart,
+ 299040 [david.mullet] system('shutdown.exe -r -f -t 0')
+ 299043 [gthiesfeld@g] Here are a few ways.  You'll need admin privileges on any box you run
  299107 [jazzezravi@g] Thank for David and Gardon.
  299135 [gthiesfeld@g] Ok, you'll need the 'Shutdown' privilege for a local machine and the
  300502 [jazzezravi@g] I got simple solution. But need t sharp it.
  + 300505 [dezertir@po ] I tried your code and all OK!
  | 300506 [jazzezravi@g] i did this already. But need to get in a single variable. I think it is
  | + 300508 [gthiesfeld@g] => "\r\nWindows IP Configuration\r\n\r\n\r\nEthernet adapter Wireless
  | + 300509 [shevegen@li ] a = `ipconfig`
  | + 300510 [dezertir@po ] var = system('ipconfig')
  + 300507 [phasis@gm il] a = `ipconfig`
    300511 [jazzezravi@g] Fantastic idea from u. Thank a lot.
    300512 [jazzezravi@g] Previously i am used 'ipconfig' --> It should be `ipconfig`

[ANN] heel 1.0.0 Released
299015 [jeremy@hi eg] heel version 1.0.0 has been released.

How to build Ruby 1.9 with TK 8.5 ?
299016 [ nop@li t. u] I've just built latest Ruby version from svn (for win32). Seems it lacks

Problem in installing gems
299018 [pranjal.jain] I am trying to install the gems, but I am having the problem in
+ 299031 [kranthicu@gm] ...
| 299034 [pranjal.jain] Gem is working but the installations of others are not working.
| 299035 [kranthicu@gm] ...
| 299036 [pranjal.jain] I mean i tried to install some of the following gems
| 299039 [kranthicu@gm] ...
+ 299102 [drbrain@se m] Are you behind a firewall?
  299103 [pranjal.jain] Yes I am behind the firewall. But I dnt think it is an issue which is
  299105 [drbrain@se m] Sorry, I meant proxy server.  My fingers slipped.
  299106 [pranjal.jain] Yes
  299188 [drbrain@se m] You will need to tell RubyGems about your proxy server.  You can use

Rubyforge RubyGem propagation delay
299019 [mneumann@nt ] I noticed that when I upload a new gem to Rubyforge, it takes several
299358 [tom@in oe he] Another option is for RubyForge to just serve up gems for the first 24
299529 [ryand-ruby@z] I have a clean and simple 404 handler written in ruby that allows for
306372 [tom@in oe he] file that the RewriteMap reads... that should cut the deploy time down
306374 [fedzor@gm il] excuse  me?
+ 306375 [tom@in oe he] ============
+ 306425 [ben@bl yt in] It's a fork of the code that originally ran SourceForge.  It's not a

Re: heel 1.0.0 Released
299020 [godfat@gm il] for a
299049 [jeremy@hi eg] Good idea, I've added it to the feature request tracker on rubyforge.

[ANN] Ruby In Steel 1.2 - Fast Debugging, 'Visual' Rails
299025 [huw@da kn on] SapphireSteel Software has just released a major update to its Ruby and
299052 [charles.nutt] JRuby is not "Sun's". It belongs to the Ruby and JRuby communities.

This Week in Ruby (April 21, 2008)
299027 [acangiano@gm] Cheers,

ruby signals
299032 [martin@op ng] Someone know like connect a signal inside a class??
299033 [robert.dober] I have no idea what Gnome really needs but the doc is pretty good IIRC.
299113 [shortcutter@] Here's my - equally Gnome agnostic - suggestion
299114 [martin@op ng] thanks robert.

Most Maintained Asterisk Ruby API?
299037 [raasdnil@gm ] I have a need to start mucking around with Asterisk and integrating it
299038 [cmdjackryan@] What about Adhearsion?[0]

problem wth rubyclr and win32 service
299041 [mparvio@po s] I'm writing ruby application which should be run under windows service
299042 [cmdjackryan@] What error do you get?
299116 [mparvio@po s] That's the problem is. I don't get any ruby error message. I get only

CSV nesting
299047 [thedossone@g] next if row.nil?
299051 [jeremy@hi eg] I would use FasterCSV and loop over each row, and have some controlling
299140 [thedossone@g] Thanks, although after looking at the FasterCSV docs. I'm thinking of
299269 [thedossone@g] I've attached what I'm now using. I'm finding however that, due to the

require 'msn/msn'?
299056 [hb.pat87@ho ] but I have some problem when I use require 'msn/msn' on my code and I've
299060 [jan.svitok@g] The page looks like there are no gems yet.
299062 [hb.pat87@ho ] this link isn't work :'(
+ 299064 [cmdjackryan@] - --
+ 299065 [hb.pat87@ho ] I found it in http://rubymsn.googlecode.com/svn/trunk/scripts/msn/

Win32 OLE event sink & Quit
299059 [philippe.lan] I'm trying to setup a win32 ole callback that would notify me that the
299072 [gthiesfeld@g] WMI Events?  Here's a VBScript example that will notify when a process
299110 [philippe.lan] rue

[ANN] Barby 0.1 - Ruby barcode generator that doesn't suck (that  much)
299068 [toredarell@g] This is something I released a while ago, but I thought I'd announce
+ 299125 [raasdnil@gm ] Heh... I just showed this to a work associate of mine who has been
+ 378241 [botpena@gm i] thanks for barby (very nice name btw)

<no subject>
299074 [twolak@sk yd] Afternoon all,
+ 299077 [jan.svitok@g] 1. It's easier to help if you provide some samples from the data,
+ 299078 [damnbigman@g] ...
+ 299082 [shortcutter@] Good night.

Interpreter doesnt work?
299075 [skanemupp@ya] so i downloaded and installed ruby and there is no APPlicatin/Exe int
+ 299076 [olsonas@gm i] Welcome to ruby!
+ 299087 [dev-null@pm ] You probably don't want to invoke the interpreter directly, but

Leeching site with ruby
299093 [lukasz.chojn] functionality. I need some code which grab a given page from url, leechs
+ 299095 [waratuman86@] ...
+ 299096 [ara.t.howard] man wget
+ 299097 [martindemell] why do you need ruby? you could just shell out to wget in mirroring mode.

[ANN] forkoff-0.0.1
299094 [ara.t.howard] NAME

Re: Triangle Area (#160)
299098 [gsinclair@gm] Area = sqrt( s(s-a)(s-b)(s-c) )
299100 [caduceass@gm] Daniel has a cool solution.  It's in his first email in this thread as
299109 [alex.shulgin] I haven't read the link until now.  Guess, my solution is close to
299224 [matthew.moss] Here's my own solution. It's a Monte Carlo solution. It's accuracy

how to use regexp assertion
299117 [smellcode@gm] ...
299119 [ryand-ruby@z] ...
299120 [smellcode@gm] ...
299121 [smellcode@gm] ...

character substitution using tr()
299122 [toastkid.wil] which is intended to strip accents out of strings, turning for example
+ 299154 [jan.dvorak@k] With ruby 1.9 your code works fine without modifications, with ruby 1.8 and
| 299156 [toastkid.wil] ah...i'm a bit scared to change our project over to ruby 1.9 (i didn't
+ 299158 [sepp2k@go gl] It works if you require 'jcode' first.
  299253 [toastkid.wil] Perfect, thanks!  That's much more palatable than upgrading ruby.

How to write data to Excel file format in Ruby on linux platform
299124 [vaibhav.tand] I want to create a excel sheet and write a data to it in Ruby langauge
299126 [hannes.wyss@] Vaibhav

Rools gem for rule engine??
299127 [varun.rajesh] Any one worked on Rools rule engine.If yes pls tell me some idea
299143 [jmettraux@op] the webpage for rools is at

How can I organize my project in the best way?
299128 [lerno@dr go ] I'm writing a server for a networked game using ruby, but I keep
+ 299129 [transfire@gm] On Apr 22, 6:45 am, Christoffer Lern=F6 <le...@dragonascendant.com>
| 299132 [lerno@dr go ] Yes, but if the test is in
| 299137 [transfire@gm] On Apr 22, 7:55 am, Christoffer Lern=F6 <le...@dragonascendant.com>
| 299231 [lerno@dr go ] So what you're saying is basically to add everything to the load path =20=
+ 299546 [fedzor@gm il] check out the "need" gem! makes these things simple.

Deadlock in DRb
299130 [larsch@be un] In a program with two DRb servers running (two time start_service), i
299144 [shortcutter@] Why do you have two servers?
299283 [larsch@be un] Well... legacy. I have converted my application to having only 1 DRb
299285 [shortcutter@] Too bad.
299316 [ezmobius@gm ] What version and patch level of ruby do you have? If you have ruby
299419 [larsch@be un] ave ruby =A0

Grouping results by similar names
299131 [toastkid.wil] I've got a question that's more to do with good old fashioned
299296 [wuttke1@we .] Your second approach is not only more flexible, it has also

Ruby and Contract Programming (was Ruby vs. Ada)
299133 [robert.dober] I have had some thoughts about Contract Programming and Ruby, this
299136 [micathom@gm ] So don't use it then. Making it possible for others to incorporate
299151 [robert.dober] Do you mean by this that CP could be done reasonably in Ruby now? I
299168 [micathom@gm ] It depends what you mean with "reasonable". I have my doubts that such
299176 [robert.dober] Yes that sounds very interesting indeed.

Rake: race condition between task prerequisites
299138 [tobie.langel] I'm having a strange race condition between task prerequisites in the
299146 [overlord@gm ] If :test_units needs the result of :build_tests, the latter should be a
299155 [tobie.langel] Rake: race condition between task prerequisites
299159 [tobie.langel] I ended up solving the issue. Turns out what I though was a block for
299210 [overlord@gm ] Yes, why put it there instead just posting it here?

gem malfunction
299141 [albertschlef] Sometimes, when I use 'gem' to install a package, say 'sudo gem install
+ 299142 [albertschlef] Posted via http://www.ruby-forum.com/.
+ 299189 [drbrain@se m] Upgrade your RubyGems.  0.9.0 has a security vulnerability that allows

Re: Ruby script to run command as root on remote linux syste
299145 [jdinkel@gm i] That's all good to know.  Since Arlen says it is working for him.  I
300333 [jdinkel@gm i] Ok, a little more testing, and I think I've found the problem.  This is

Negative nums
299147 [twolak@sk yd] Morning all,
+ 299289 [jan.svitok@g] le
+ 299291 [dblack@ru yp] ...

Catching runtime exceptions from callbacks
299152 [remigillig@g] I am currently integrating Ruby (1.8.6) inside an application. Until

[ANN] Sup 0.5 Released
299157 [wmorgan-ruby] Sup version 0.5 has been released!

Where did the monsters go?
299161 [bengalyean@h] Stuck again. My random monster-fight generator works, but it's so BASIC.
+ 299163 [jg@co ne ti ] Yep.
+ 299164 [rabbitblue@g] As the great Julian Raschke once said, one level of indirection solves
+ 299165 [jgarvin.list] Try this....
+ 299166 [caduceass@gm] I'm not sure why you use constants, but...
  299178 [caduceass@gm] Once again that weird todd person makes a slight mishap :) That double

#wday and #cwday same thing?
299162 [rabbitblue@g] The documentation for #wday says that the start-of-week is Sunday.
299167 [rabbitblue@g] Ah, I see. Start-of-week for #wday is 0, and #cwday is 1. So they will

wxruby with wxglade?
299169 [zyggy.nowak@] haven't been able to find anything so far.... is it possible?
299197 [alex@de et m] I've never used it, but it says it outputs XRC as well as Python. XRC is

Installing Rails, noobhelp needed!
299171 [skanemupp@ya] rails path/to/your/new/application
299174 [cmdjackryan@] - --
299191 [skanemupp@ya] On 22 Apr, 21:26, Phillip Gawlowski <cmdjackr...@googlemail.com>

Hashes
299172 [twolak@sk yd] Can Ruby create a hash and have a key and the value be an array?
+ 299173 [dblack@ru yp] Let's ask it :-)
| 299181 [caduceass@gm] I didn't realize this before, but even if it's off topic, I thought
| + 299184 [twolak@sk yd] Ouch, I guess that would be a bad thing...  If I'm going line by line then I
| | + 299185 [dblack@ru yp] It's never exactly closed, in that sense. Hash keys are unique, so if
| | | 299190 [caduceass@gm] I guess I kind of knew that, but I was a tiny bit surprised this
| | + 299195 [caduceass@gm] I didn't have a close look at your original post, but in all honesty
| + 299361 [overlord@gm ] I guess that
+ 299399 [robert.dober] As David has shown you it is perfectly possible, but (although strings
  299404 [dblack@ru yp] => "abc"

Fast XML output
299177 [michael.e.li] we just started playing with ruby and ActiveRecord a few days ago at
+ 299215 [dvdplm@gm il] Slow as hell. We just did a refactoring today, going from xml to json to pass AR data between apps. We achieved an order of magnitude speed increase and profiling showed 70% of the time on the client side was spent parsing xml and 30% on the server side creating the xml reppresentation.
+ 299217 [avdi@av i. r] Look into libxml.
  299374 [matt@ti bi s] libxml instead of REXML and the libxml-based version of my routine takes

Did using Yacc in the Ruby parser require a lot of messy hacking?
299186 [irishhacker@] I'm assuming that the grammar of Ruby does not follow the LALR grammar
+ 299256 [ryand-ruby@z] LALR and context free can be found in fundamental CS literature or on
+ 299258 [fox@ns l. su] Can't answer for the Ruby parser's use of yacc but

Any reason for having no module exclusion functionality in R
299187 [yrashk@gm il] May be I am missing something (since I am not MRI hacker), but why
299320 [pit.capitain] Interesting, Yurii. Maybe you should ask on ruby-core?

Ridiculously cool Ruby snippets?
299192 [philip.broco] And it got me thinking. Is there a site somewhere dedicated solely to
+ 299196 [kyleaschmitt] Dunno about that, but really, that snippet he posted is an easy one to
| + 299229 [kyrreny@br a] ...
| + 299315 [philip.broco] It may be easy to understand, but it's still hard to believe! that a
|   299319 [kyleaschmitt] Granted :)
+ 299205 [olsonas@gm i] Posted via http://www.ruby-forum.com/.

[ANN] JRuby 1.1.1 Released
299198 [Thomas.Enebo] The JRuby community is pleased to announce the release of JRuby 1.1.1!
+ 299232 [james.britt@] Much thanks.
+ 299264 [hramrach@ce ] That's fast!
  299288 [charles.nutt] So many version numbers, so little time!

Ruby and Visual Studio .NET
299200 [villas82@gm ] Do you have any experience working with Ruby and Visual Studio .NET?
299201 [cmdjackryan@] Ruby in Steel does that for you.
299306 [huw@da kn on] If I can add a little detail to the above... Ruby In Steel is a fully

Extending Hast class with custom [] []= methods
299204 [ibc@al ax ne] {"a"=>1,"b"=>2}["a"]
299206 [dblack@ru yp] ...
299207 [ibc@al ax ne] def [](key)" method
299209 [dan@da fi ni] class MyHash < Hash
+ 299212 [ibc@al ax ne] opss, yes, it was no so difficult XDD
+ 299214 [cmshea@gm il] But he asking for case-insensitivity.  If a key is created with
  + 299219 [cmshea@gm il] Or just use Rubinius: http://pastie.textmate.org/185232
  | 299240 [shortcutter@] Or delegation
  | 299241 [shortcutter@] require 'delegate'
  + 299246 [ibc@al ax ne] class InsensitiveHash < Hash
    299262 [shortcutter@] ... and is awfully inefficient.
    299265 [ibc@al ax ne] Oh, thanks, I'll spend some time investigating what your solution (or

Follow the conversation and search relevant sites with What's up in  Ruby
299208 [robertonrail] Hey all,

Ruby and object paradigm
299216 [andresgaragi] I=B4m a smalltalk developer and now i'm beginning with Ruby. I found
+ 299218 [gwtmp01@ma .] puts is a message
+ 299220 [justincollin] The implicit receiver is "self", which at the top level is an object
+ 299221 [rick.denatal] puts is a message.  The puts method is implemented in the Kernel
+ 299268 [botp@de mo t] # I=B4m a smalltalk developer and now i'm beginning with Ruby. I found
| + 299270 [dblack@ru yp] ...
| + 299349 [andresgaragi] Yes, you are right. sorry
+ 299292 [albertschlef] BTW, you _can_ implement if/else in Ruby using methods alone.
  299313 [rick.denatal] Sort of a circular definition though.  In the spirit of the Smalltalk
threads.html
top