--dLSfI54yvKq+jsnIuNF
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

On Sat, 2006-04-08 at 03:07 +0900, Simon Strandgaard wrote:
> On 4/7/06, James Edward Gray II <james / grayproductions.net> wrote:
> [snip]
> > These can be quite a bit of fun, depending on what text you prime
> > them with...  ;)
> 
> 
> input_text : uby_talk;   (* hehe *)

I had to try this out :) With 500 messages from the past couple of days,
order of 3, I found lots of cryptic wisdom when using a small word
limit, such as:


windows :\ i guess clarity, just isn't a interesting. 

thanks for making def say_stuff puts

bereflected to the foo to design a gui by open source path.

in summary, to get wrote: pointers, or care what you mean.

example, c# guys (including even worse - perl.

warning: pointer targets in boese wrote: use an i'll go digging

+0900, james edward gray would help with reading v_mod/1 m  m'

to figure this out? tashiro wrote: you need own license, possibly

april fool's joke. v.- interface and doscommand which next implemented
anobjective-c frontend set of programming


I've attached the quick and dirty script I used to get cleaned-up input
text from ruby-talk archive.

This is a seriously cool quiz :) Thanks all concerned.

-- 
Ross Bamford - rosco / roscopeco.REMOVE.co.uk

--dLSfI54yvKq+jsnIuNF
Content-Disposition: attachment; filename=rubytalk2text.rb
Content-Type: text/plain; name=rubytalk2text.rb; charset=utf-8
Content-Transfer-Encoding: 7bit

#!/usr/local/bin/ruby
require 'open-uri'

if ARGV.empty?
  puts "syntax: rubytalk2text.rb <msgid | range | expr>+"
  puts "        rubytalk2text.rb 188001"
  puts "        rubytalk2text.rb 188001..188005"
  puts "        rubytalk2text.rb '(188001..188010).select { |i| i % 2 0 }'"
else 
  ARGV.each do |id|
    begin
      ids  val("[*(#{id})]")
    rescue Exception
      $stderr.puts "message id #{id} is malformed"
      next
    end              

    ids.each do |msgid|
      r  RI("http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/#{msgid}").read
      # ouch
      if r /<pre>(.*)<\/pre>/m
        puts $1.gsub(/<br(?:\s*\/)?>/,"\n").
                gsub(/^\s*&gt;.*$/,'').
                gsub(/&quot;/,"'").
                gsub(/&amp;/,'&').
                gsub(/&lt;/,'<').
                gsub(/&gt;/,'>').
                gsub(/<[^>]+>/m,'').
                gsub(/^\s*--------.*$/,'').
                gsub(/&[A-Za-z]+;/,'').
                gsub(/\n+/,"\n").chomp.lstrip
      else
        $stderr.puts "message id #{id} is bogus"
      end
    end
  end
end

            
      
    

--dLSfI54yvKq+jsnIuNF--