354392-355433

354248-354890 subjects 354626-355237

^ Parsing of Html/Text files
354392 [hemant.bharg] Actually the situation is that i have a txt file or can be html file. In
354393 [ibc aliax.ne] When that text is contained in a HTML file, is it alawys enclosed in the sa=
354394 [hemant.bharg] I am not using any tags for text. Ok leave html part. Help me only with
354395 [ibc aliax.ne] Then using pure regex is good enough. If you want something "cooler" try=20

^ ANN: Sequel 3.8.0 Released
354420 [code jeremye] Sequel is a lightweight database access toolkit for Ruby.

^ Re: which project should I work on?
354425 [rogerpack200] Are there any other requests for ruby documentation that people out
+ 354427 [aldric trevo] I was wondering on any feedback on which of the following pet projects
| + 354430 [rogerpack200] Any +1's out there? :)
| + 355432 [rogerpack200] I did notice
|   355433 [aldric trevo] (n)curses!
+ 355372 [rogerpack200] Any other burning requests for things in Ruby, for me to work on?
  355373 [aldric trevo] Well, I can't really +1 my previous request for the proxy authentication

^ Why does "warn" print a extra \n ?
354432 [ibc aliax.ne] ve=20
354462 [shortcutter ] ) I've=20
354464 [ibc aliax.ne] =20
354465 [fxn hashref.] On the other hand, that \n may come in handy in line-buffered I/O, and

^ Interfacing with Ruby garbage collector - when returning value from C  extension to Ruby
354436 [benjie labli] I am working my way through Ferret (Ruby port of Lucene) code to solve
354441 [vikkous gmai] text=token.text
354443 [benjie labli] Hmm, can you elaborate on where the reference in C is created to
+ 354468 [benjie labli] Actually, I believe a better solution to the problem I described is
+ 354494 [vikkous gmai] So, Data_Wrap_Struct returns a VALUE, that is, something that ruby's
  354504 [benjie labli] Caleb,
  354575 [vikkous gmai] damn. I had my hopes.

^ ruby debugger
354442 [fbogdanovi x] require 'debug'
354480 [rogerpack200] debugger

^ Subclassing in a C extension
354445 [echristopher] I've been trying to make a subclass written in C of the MySQL/Ruby
+ 354452 [b.candler po] In my opinion, you should not use rb_require("rubygems"). If your
| 354510 [echristopher] That makes sense. It is possible to install mysql (and I would imagine
| 354517 [b.candler po] Sorry, I meant the latter - using rb_funcall to invoke 'require', a bit
+ 354509 [albertschlef] Here's a simple solution: ship a mysqlemb.rb file with your extension,

^ How to generate a collection?
354446 [superxain gm] Given any four letter word, for example: "card"
354449 [billk cts.co] 0001
354507 [superxain gm] Thanks.

^ [ANN] SgfParser 0.8.0 - Open, browse and save!
354450 [aldric trevo] SgfParser has been released!

^ closing of the stderr pipe not detected - issue in 1.9.1?
354459 [shortcutter ] in trying to come up with a test script for

^ stenography
354467 [alexandrtara] in the BMP file. How can this be achieved in Ruby?
354469 [chris.hulan ] On Jan 5, 8:42=A0am, Alexander Alexander <alexandrtaras...@gmail.com>
354470 [  sim me.com] Cool! I hope there steganography gem around XD
354471 [alexandrtara] stenography
354474 [chris.hulan ] On Jan 5, 10:02=A0am, Alexander Alexander <alexandrtaras...@gmail.com>
354475 [alexandrtara] Your link something does not work :(.
+ 354485 [jonathan jmn] -Jonathan Nielsen
| 354484 [jonathan jmn] ...
+ 354488 [b.candler po] Replace spaces with %20 to make a valid URL.

^ [Q] how can I create a VB Date object from ruby using win32ole?
354472 [cremes.devli] I need to pass a VB Date object to a COM object using win32ole. I have

^ Volunteering for Scheme language standardization working groups  ***deadline January 8***
354473 [feeley iro.u] *** PLEASE NOTE THAT THE DEADLINE IS JANUARY 8 ***
354520 [gavcomedy gm] .html

^ [A] win32ole types was Re: [Q] how can I create a VB Date object from ruby using win32ole?
354477 [cremes.devli] I answered my own question. You need to use the WIN32OLE::VARIANT to

^ Re: Volunteering for Scheme language standardization working
354479 [marnen marne] What has this got to do with Ruby?

^ Pair of O'Reilly Authors looking for challenging work opportunities
354483 [gregory.t.br] [the following message is from Gregory Brown (of "Ruby Best

^ RCR: fork(n) {|n| }
354486 [rogerpack200] Currently, it's surprising to me to have the semantics of fork differ
+ 354487 [b.candler po] I don't think it gains you anything: in a fork the child process has a
| 354491 [rogerpack200] right it doesn't gain anything, except continuity between threading
| 354492 [shortcutter ] How would that proposed change make switching between threads and
| 354493 [rogerpack200] Unless you don't do any (ex: sub jobs that used to run in threads can
| 354608 [quixoticsyco] Posted via http://www.ruby-forum.com/.
| 354627 [rogerpack200] Interesting--language level multiprocessing.  I guess this isn't quite
| 354702 [quixoticsyco] Fork is not used.
| 355297 [quixoticsyco] I missed the 'unparse' method in RedParse which converts a sexp into
+ 354636 [djberg96 gma] Regards,
  354638 [ruby-lists n] This is my project and actually, Roger's question came from a
  354670 [djberg96 gma] What about redefining fork?
  354676 [ruby-lists n] Not opposed necessarily but start(...) is already a wrapper around

^ Online Math Coding Contest
354489 [kvenkan gmai] Coding Contest of Kurukshetra 2010 , the International Techo-

^ Ruby library that creates classes from an XML Schema
354490 [gjeudy gmail] I've been googling and couldn't find any Ruby library that would let me

^ Controlling another browser window
354495 [parzival min] I have a set of static html files with their own links (essentially a
354496 [paradisaeida] I have used it to accept OpenID's on a page.
354585 [parzival min] Open both the book page and the companion page separately.  Then have

^ How Do I Debug This?
354497 [james grayso] ..........................................................................=
+ 354498 [jeremy hineg] When I have something like this, I generally will compile a debug (-g)
| + 354542 [james grayso] ..........................................................................=
| + 354567 [rogerpack200] Like Jeremy said, you could run it in gdb by re-compiling your version
+ 354499 [rogerpack200] Running ruby under valgrind might help.
  354501 [achoi hanmai] <html><head><style> p {margin-top:0px;margin-bottom:0px;} </style></head>

^ JRuby bug mash...with PRIZES!
354500 [headius head] Hey all! We're running a JRuby "Bug Mash" this weekend to help attack

^ what's String.hash
354502 [rubynewbee g] irb(main):038:0* x="hello"
+ 354503 [rick.denatal] Actually all Objects have both a hash and an eql? method.
| 354541 [b.candler po] A Hash puts objects into "hash chains", to make it quick to find a
+ 354562 [ryand-ruby z] 501 % ri String.hash
  354566 [echristopher] st
  354568 [Rob AgileCon] yes, and if you're using fastri (it's a gem), you'll get actual

^ being very confused about this hash
354505 [rubynewbee g] irb(main):039:0> hash = Hash.new []
+ 354506 [billk cts.co] I'm not sure why hash.keys was empty.
| 354514 [emr1776 mind] I believe that keys is returning empty because the hash is empty.  If
+ 354513 [ninja slapha] I assume here that [] is the default value, right?
  354515 [rubynewbee g] Thanks for the explaining, now I think I have got it.

^ html formatted string -displaying only upto specific length
354518 [subashinikum] I have a string

^ group in the array
354519 [lastdrv gmai] I have a two-dimensional array Farr.
+ 354521 [ralf.mueller] regards
+ 354522 [ralf.mueller] irb(main):039:0> a = [["200912-829", 10],["200912-893",
| 354523 [lastdrv gmai] Many thanks, Ralf!
+ 354525 [jeffpeng net] You could use a hash for translating that.
| 354526 [lastdrv gmai] Also works.
+ 354534 [shortcutter ] arr.group_by {|date,val| date}.each do |date, items|
  354538 [ralf.mueller] Looks good, but I could not find it in the online documentation on
  354539 [shortcutter ] group_by
  + 354580 [rubynewbee g] I have checked the document for inject, but still can't understand for.
  | 354584 [rubynewbee g] Now I checked some other help documents wigh google, and find Ruby's
  | 354595 [shortcutter ] I don't know Python's reduce but a few things are probably noteworthy
  | 354631 [rick.denatal] ut
  | 354739 [shortcutter ] out
  + 354589 [ralf.mueller] thanks robert!

^ Bug on ruby_parser gem?
354527 [andrea.grana] I think i just found a bug on ruby_parser gem on ruby 1.9.1
354536 [headius head] .rb:381:in
354561 [ryand-ruby z] ...

^ [ANN] Rack 1.1, a modular Ruby webserver interface
354528 [chneukirchen] Today, with a few days delay, we are proud to announce the release of

^ Online math-coding contest
354529 [athena.kuruk] Coding Contest of Kurukshetra 2010 , the International

^ invoke javascript by clicking an image
354530 [gopinathmand] I am newbie to Ruby so pl pardon my ignorance.
354540 [b.candler po] If you want to control a browser programatically using Ruby, have a look
354545 [gopinathmand] Thanks a lot for your prompt note. I actually started off with Watir,
+ 354556 [ninja slapha] Wait, why are you attaching this as a screenshot? Shouldn't you be able to
+ 354559 [b.candler po] Then your question should be: "in Watir, how do I click on an image that

^ Script to interact with a database
354543 [qaiserwali h] I have an application in rails in which i am adding a new column in one
+ 354546 [aldric trevo] Sounds like you should be posting this in the Rails forum / newsgroup.
| 354547 [qaiserwali h] I shall try posting to the rails forum, but i would still very much like
| + 354548 [marnen marne] That can also be better answered in the Rails forum, I think.
| + 354552 [aldric trevo] Migrations, as I mentioned, are excellent for one-time work on tables,
+ 354553 [jdmaher jdma] Can you update the database outside of your Rails application?  Yes.
| 354555 [marnen marne] You should see my apps, then.  Unless the DB is corrupted (which has
+ 354554 [flo andersgr] one
| 354641 [qaiserwali h] Thanks a lot for the help. seems the Rails group wins as they made a
+ 354558 [josh.cheek g] I'd make a method in your model that gets the address, then have it get that

^ Strings - foo[0,0] vs..  foo[-1,0] ?
354544 [shevegen lin] string = 'bc'
354549 [matt harpsta] string[string.size,0]='c' works

^ Re: html formatted string -displaying only upto specific len
354551 [marnen marne] You'll need to parse the HTML to know where the tags begin and end.  Use

^ [ANN] hoe-seattlerb 1.2.2 Released
354563 [ryand-ruby z] hoe-seattlerb version 1.2.2 has been released!

^ [ANN] hoe 2.5.0 Released
354564 [ryand-ruby z] hoe version 2.5.0 has been released!

^ [ANN] minitest 1.5.0 Released
354565 [ryand-ruby z] minitest version 1.5.0 has been released!
354569 [ibc aliax.ne] Is there doucmentation somewhere? I'd like to try it.
354576 [ryand-ruby z] There is always rdoc/ri once you install a gem. You can see the rdoc =

^ Re: openssl error - ubuntu
354570 [james jcalfe] Worked for me, libopenssl-ruby was the missing package.
354712 [roberto.fell] I to all.
+ 354713 [xeno.campano] This may not address your concerns at all, but something we found out last year
+ 354715 [jonathan jmn] Recompile and reinstall ruby 1.9.1 with the libssl-dev package
+ 354727 [lucas lucas-] Install libopenssl-ruby1.9.1.
  354729 [jonathan jmn] Works on Ubuntu Karmic and better, but this is 8.04 (Hardy), you need
  354736 [roberto.fell] Many thanks to all.

^ Is File.open deprecated?
354571 [xeno.campano] I don't see it mentioned in the File chapter of the latest Pickaxe book?  Is
+ 354572 [xeno.campano] It looks like the answer of my question is on page 162.  Apparently it still is
+ 354573 [rick.denatal] =A0Is
  354574 [xeno.campano] No, it's not on my page 549.  I've got instance methods pid through putc on that
  354578 [rick.denatal] It's page 549 of the PDF version, my dead tree version is upstairs.

^ [ANN] clogger 0.2.0 - configurable logging for Rack
354577 [normalperson] Clogger is Rack middleware for logging HTTP requests.  The log format

^ [ANN] Falluto: A model checker for verifying fault tolerant systems
354581 [ehames gmail] I'm very excited to announce the availability of Falluto: a model

^ Re: Falluto: A model checker for verifying fault tolerant systems
354582 [jherrera14 g] Cool, negro!

^ text to speech - OS agnostic
354587 [dglnz2 gmail] I'm interesting in getting some feeling on how best to approach the
+ 354588 [james.daniel] And gem tie ins http://festivaltts4r.rubyforge.org/
+ 354635 [marnen marne] It might be best to write an abstraction layer that wraps the OS's

^ Help
354590 [mnjagadeesh ] Here my data structure
+ 354591 [jgabrielygal] =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 && ('open' ||
| 354597 [mnjagadeesh ] On Jan 7, 2:33=A0pm, Jes=FAs Gabriel y Gal=E1n <jgabrielyga...@gmail.com>
| 354600 [jgabrielygal] =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 && ('open' ||
| 354677 [mnjagadeesh ] On Jan 7, 3:08=A0pm, Jes=FAs Gabriel y Gal=E1n <jgabrielyga...@gmail.com>
+ 354592 [stefano.croc] ($DATA[pr].has_key?('closed') || $DATA[pr].has_key?('feedback')) &&
  + 354594 [mnjagadeesh ] =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 && ('open' ||
  | 354604 [stefano.croc] I'm not sure about what you mean by "using array?". Your code clearly uses =
  + 354596 [mnjagadeesh ] Here is how I am trying to do with array
    354607 [stefano.croc] Still I don't understand exactly what you're trying to do. states contains all
    354612 [stefano.croc] You don't need to use grep to see whether an array contains an element. You

^ [ANN] nanoc 3.0.3
354598 [denis.defrey] nanoc 3.0.3 has been released.
354601 [ibc aliax.ne] r=20
354605 [ibc aliax.ne] In the tutorial page there is a non working link with text "full list of=20
354615 [denis.defrey] to

^ Serialization ruby 1.8 vs ruby 1.9
354603 [ odo mac.com] I am trying to marshal objects with ruby 1.8 and read them with 1.9 but
+ 354606 [james.daniel] Marshal isn't constant, it can only be expected to work when you are
+ 354618 [shortcutter ] James is right: the format of Marshal is not guaranteed to be portable
  354621 [ odo mac.com] Thank you for your very informative answers.
  354623 [shortcutter ] You're welcome!

^ each method in FireWatir::Firefox
354609 [manojchouras] I am trying to run my script in Firefox. I want to count hoe mant

^ encrypt message in html file
354610 [alexandrtara] that is, the message must be recorded in the gaps that HTML ignores.
354611 [pg thimian.c] HTML has no "gaps", in the sense that content is ignored.
354629 [alexandrtara] it does not address the problem of safety, it is a task for the
+ 354630 [pg thimian.c] That does not, however, *hide* your text.
+ 354634 [marnen marne] You could put it in comments, or encode it as whitespace characters, or

^ How to use the same params in respond_to for some formats ?
354613 [roux.camille] I want to make an API in XML and JSON (maybe more), and I want most of
354663 [b.candler po] respond_to is not a ruby method. My guess is that you are writing an

^ which shell?
354614 [wybo servaly] #!/usr/bin/env ruby
354620 [shortcutter ] If I would want to enforce a particular shell I would always explicit

^ What is ruby-web.exe
354616 [michael.hugh] Newbie question!
354703 [michael.hugh] After a little more searching...ruby web was a foundation built to
354709 [walton vyper] Darn, and here I was hoping you knew something I didn't since getting
354835 [michael.hugh] Unfortunately I work at a windows site so IIS it is.

^ Nexus Programming Language
354617 [acampbellb h] In the spirit of agile software development practices "release early,
354624 [jameskilton ] Wrong mailing list.

^ Non-blocking communication between Ruby processes
354619 [ibc aliax.ne] es.=20
+ 354622 [shortcutter ] cesses.=20
| 354625 [ibc aliax.ne] Really thanks a lot.
| 354640 [shortcutter ] TTP
| 354643 [ibc aliax.ne] =20
| 354645 [ibc aliax.ne] Hummm, I have a reader process and a writer process.
| + 354646 [pg thimian.c] pipe.write unless pipe.full?
| | 354651 [ibc aliax.ne] Unfortunatelly #full? is not a method of File :(
| | 354652 [pg thimian.c] Well, yes, you'd have to implement the method (or something like it)
| | 354653 [shortcutter ] not
| | + 354657 [pg thimian.c] A little refined (in that I skipped the buffering), but it's still the
| | + 354658 [ibc aliax.ne] =20
| |   354661 [normalperson] FIFO are pipes, they just have a name on the filesystem.
| |   354665 [ibc aliax.ne] is
| + 354647 [shortcutter ] so
| | + 354650 [ibc aliax.ne] so
| | + 354744 [ibc aliax.ne] threads. Finally I've decided to use posix message queue [*] under Ruby.
| |   + 354773 [shortcutter ] o,
| |   + 354774 [gwtmp01 mac.] benchmarks (but=20
| |     354778 [ibc aliax.ne] Yes, pipes allow atomic operation but just in case the message is less than=
| |     354801 [gwtmp01 mac.] I just tried this on Mac OS X using threads and using forks to write to
| |     354802 [ibc aliax.ne] I got the mixed strings using a name pipe (created with "mkfifo" command) a=
| |     354804 [gwtmp01 mac.] command) and=20
| |     354805 [ibc aliax.ne] d)
| + 354649 [ibc aliax.ne] Ok, the fifo remains working at SO level so it can receive messages after s=
+ 354662 [normalperson] If stressed enough, everything has to block/reject or run your systems
  354666 [ibc aliax.ne] Really interesting. Is it safe to have various processes (Unicorn workers)=
  354668 [normalperson] These queues are completely atomic at the message level and descriptors
  354673 [ibc aliax.ne] Great!
  354674 [ibc aliax.ne] is
threads.html
top