WEBrick HTTPRequest#to_s should never fail, but does626 (11/27/2004 12:39:57 PM) comp.lang.ruby While experimenting with XmlHttpRequest, I wanted to dump my req [snip code] def do_POST(req, res) puts "req=#{req.to_s}" # BOOM, HTTPStatus::LengthRequired occured. [snip code] IMO, #to_s should never fai... Simon
js with <object> in xhtml strict712 (11/22/2004 9:46:15 PM) comp.lang.javascript There are no tag in xhtml strict, instead I should use . If I change to then my javascript stops working. I am curious to how to use with javascript ? Test function reload() { var el = do... Simon
fast shutdown of webrick423 (11/22/2004 6:45:07 PM) comp.lang.ruby On my box trap(:INT){ s.shutdown } takes some time to complete. Im wondering how one can shut it down fast and safe. Is this an ok way to shut it down? trap(:INT) do fork{ s.shutdown } exit! end btw: ... Simon
[ann] symbol solver.. early experiments1030 (11/1/2004 10:26:28 PM) comp.lang.ruby Hi, I have been writing some code that can differentiate expressions. for instance: x^3 -> 3*x^2. Here is the code: http://rubyforge.org/cgi-bin/viewcvs.cgi/projects/symbol_solver/test_nodes.rb?rev=1.22&cv... Simon
[ruby/samples] request for README's124 (10/24/2004 8:49:58 PM) comp.lang.ruby The subdirs of the samples/ directory, doesn't contain any README files (except samples/drb/). For instance I attempted to get webrick to work.. I couldn't find any guides on google, on how to run webrick ..... Simon
[rcr] String#first / String#last1633 (10/24/2004 1:32:12 PM) comp.lang.ruby problem: I often use a range to extract the beginning/ending letters.. like this "string"[-4, 4] #-> "ring" It feels somewhat redundant that I have to type the length 2 times. A very simple operation that ... Simon
[bug] Array#first(symbol) doesn't raise?225 (10/24/2004 1:18:39 PM) comp.lang.ruby irb(main):001:0> %w(a b c).first(:xyz) => ["a", "b", "c"] irb(main):002:0> %w(a b c).last(:xyz) => ["a", "b", "c"] This seems inconsistent to me. I would expect a TypeError. -- Simon Strandgaard ... Simon
[ann] danish book.. early peek016 (10/16/2004 2:30:01 PM) comp.lang.ruby Before the summer I wrote some text.. which hopefully can turn into a good book. I unfortunatly have little time, so I though I rather would share some of it. I hope to write more on it.. maybe if I could f... Simon
[ann] svg graph generator, early release625 (10/16/2004 10:32:34 AM) comp.lang.ruby Hi, This is still in alpha stage.. but maybe it has others interest? demo: http://aeditor.rubyforge.org/graphs.html code: http://rubyforge.org/cgi-bin/viewcvs/cgi/viewcvs.cgi/projects/experimental/svg_line... Simon
summary of available Ruby channels (IRC)328 (10/16/2004 10:25:28 AM) comp.lang.ruby The main channel: #ruby-lang Besides it there exists other channels: #debian-ruby #iowa #RPA #ruby-de #ruby-es #ruby-it #ruby-vikings #ruby:*.jp #rubyforge #rubymine #rubyonrails -- Simon Strandgaard ... Simon
Lint for Ruby1238 (10/25/2004 6:10:22 PM) comp.lang.ruby Hi folks. I was wondering whether anyone had done any work on a Lint style tool for Ruby programs? A google for "Ruby Lint" didn't turn up anything obviously useful. Regards, Matt ... matt.mower(103)
Ruby Weekly News 18-24th October 2004723 (10/26/2004 1:03:33 PM) comp.lang.ruby I have written the Ruby Weekly News for 18-24th October 2004: http://www.rubygarden.org/ruby?RubyNews/2004-10-18 The web version is nicer than plain text (lots of hyperlinks), but if you're reading this offl... timsuth(209)
[ANN] New RCRchive is open925 (10/26/2004 8:23:47 PM) comp.lang.ruby Dear Rubyists -- I am very pleased to announce the opening of the new, rewritten RCRchive, still at http://www.rcrchive.net. The new RCRchive is a complete rewrite in Rails. Your old username and password ... dblack6674(3021)
RPA and author packages/interactions (forward vision)227 (10/29/2004 5:03:08 PM) comp.lang.ruby Discussions of the full RPA at the bottom. On Fri, 29 Oct 2004 14:48:59 +0900, GGarramuno wrote: > > > >Then it sounds like that RubyGems needs to adopt the framework of RPA, and > >help improve/adapt it to i... eeklund(173)
[ann] symbol solver.. early experiments1030 (11/1/2004 10:26:28 PM) comp.lang.ruby Hi, I have been writing some code that can differentiate expressions. for instance: x^3 -> 3*x^2. Here is the code: http://rubyforge.org/cgi-bin/viewcvs.cgi/projects/symbol_solver/test_nodes.rb?rev=1.22&cv... neoneye(532)
About Regular Expressions2920 (11/18/2004 10:34:54 AM) comp.lang.ruby Lately there have been a bunch of posts on this list about regular expressions in Ruby and people seem to cry wolf whenever they don't get them quite right. By crying wolf here I mean that they suspect a bug. ... mailing-lists.ruby-talk(371)
Anchored Regexp get stalled or hung621 (11/18/2004 9:16:41 PM) comp.lang.ruby Dear rubyists! I dare to post this question in spite of fact that lately there were many posts about false RE bug reports. I've tried to make following regexp a=/^-{150}/ and it turns out that such exp... rnicz(7)
[ANN] PseudoCode432 (11/22/2004 12:14:03 PM) comp.software-eng As there are more and more requests to tools dealing with PseudoCode we are proud to present the new programming language PseudoCode. Feature list: - PseudoCode does not adhere to a fixed syntax thus not li... bob.news(3805)
editors/IDEs2018 (11/24/2004 5:36:27 AM) comp.lang.ruby I'm curious what people are favoring for editors and IDEs for Ruby. I've been playing with TextMate, but coming from Intellij, I miss all the completion. Thanks, Jamie ... jamie(8)
WEBrick HTTPRequest#to_s should never fail, but does626 (11/27/2004 12:39:57 PM) comp.lang.ruby While experimenting with XmlHttpRequest, I wanted to dump my req [snip code] def do_POST(req, res) puts "req=#{req.to_s}" # BOOM, HTTPStatus::LengthRequired occured. [snip code] IMO, #to_s should never fai... neoneye(532)