276450-277802
276193-277576 subjects 276665-277450
^ [ANN] RubyJS 0.6 - pre-RubyConf version
276450 [mneumann nte] After 9 months, the second incarnation of RubyJS is out (a complete rewrite).
276471 [james.britt ] Very cool!
^ A screen cast of RubyCocoa
276455 [dangerwillro] There is a screencast of building a RubyCocoa app with Xcode in the
^ Racc: when is on_error called?
276459 [aaron tender] When is on_error supposed to be called? Will on_error be called when
^ Something wrong with my hash of hash
276460 [nicolas.rass] I try to get a hash of hash to make some sort of counter (I have a set
+ 276461 [nicolas.rass] Changing declaration by
| 276479 [sepp2k googl] Hash.new is called, since parameters are evaluated before the actual method
| 276523 [nicolas.rass] Thanks all of you guys and especially Sebastian for the explanations.
+ 276462 [Gennady.Byst] h =3D Hash.new { |h, k|
+ 276470 [rick.denatal] You're using the wrong form of Hash.new for this use case.
^ is rubyzip threadsafe ?
276469 [come.news fr] zipfile.extend(MonitorMixin)
^ form.select question
276473 [daveh videx.] charset="us-ascii"
276481 [jgarvin.list] You'll probably get more response over at the Rails list...
^ does a required_by method exist?
276474 [jack.dempsey] Through some caller() and load path searching, I've found you can get
276478 [ara.t.howard] over ride Kernel#require and Kernel#load
^ Cheri: Builder-style JRuby/Swing GUI development
276487 [charles.nutt] Ara mentioned wanting to hear more about Swing-based GUI stuff in JRuby,
276524 [charles.nutt] I can certainly do that, at least when it's a purely informational post.
^ Rexml Xpath parsing change
276491 [ermac100 yah] Some of my old code no longer works with the latest version of ruby
277384 [halfgaar gmx] Did you find a solution? I'm having the same problem.
277392 [halfgaar gmx] "Unfortunately, there is a bug in Ruby 1.8.6 that affects documents with a
^ RubyConf wifi
276494 [ruby anthrop] For those going to RubyConf, it appears that WiFi is available at the
+ 276503 [rick.denatal] Does anyone know if there will be wifi access at the conference for
| 276506 [dblack rubyp] Yes, we're providing wifi for the conference.
+ 276518 [pergesu gmai] On Oct 29, 2007 12:38 PM, Gregory Seidman
^ 21 Success Scerets of Self-Made Millionaires
276497 [mneumann nte] ...
^ RubyCocoa dmg on 10.4
276498 [ari aribrown] Much in the way that Charles Dickens asked Dr. Who, I, too, want to
276543 [laurent.sans] We fixed a similar problem a few weeks ago, and we plan to release a
^ Problem with socket.recv()
276500 [frank.preisw] I'm currently developing a Ruby TCP client and have a problem with
+ 276540 [vjoel path.b] #recv gives you data as soon as there is data available, not necessarily
| 276608 [frank.preisw] Yes, I understand that socket.recv() reads UP TO size bytes, but doesn't
| + 276614 [garbagecat10] If the server closes the connection after sending the data, you can simply
| | 276616 [shortcutter ] There is another option - even if the server does not close after
| | 276619 [bbxx789_05ss] That's not what I'm seeing. What I see is: read() blocks until it
| | + 276629 [garbagecat10] ...snip...
| | | 276633 [shortcutter ] So it seems pretty clear that he knows how many bytes to expect. In
| | + 276632 [shortcutter ] Yes, I was imprecise: when using #read(limit) the method will block
| + 276709 [vjoel path.b] Here's an idea that's a little different from what you're asking for (it
+ 276624 [bbxx789_05ss] I just wanted to add that as far as I know, you can't count on
+ 276716 [rogerpack200] Make sure you flush on the sending side, as it might not send it all
276791 [frank.preisw] First of all thanks a lot for all your inputs!
^ .txt on README?
276501 [transfire gm] I'm curious about use the .txt extension on README. I know Hoe does
+ 276557 [m_goldberg a] Not just Windows. The Mac OS X Finder recognizes the txt extension.
| 276567 [konrad tyler] charset="iso-8859-1"
| 276590 [bigboss64 ip] I think any decent file management program should use both MIME and
+ 276689 [tim.pease gm] Hoe is using regexp patterns to select files to include in the gem.
276717 [transfire gm] Ah, I see. Thanks for explaining. I just wanted to makes sure I wasn't
^ find the closest items in an array to a given value.
276502 [mrobert treb] I'm searching for a light method for finding the closest items to a given
+ 276521 [shortcutter ] It's crucial to know whether your sequence of values is always sorted.
| 276537 [dblack rubyp] Is that your .sig? :-)
| 276866 [shortcutter ] Not until now. Thanks for the inspiration!
+ 276528 [linkin.dev g] Something like this? (Supposing the array may not be in order)
| + 276549 [bbxx789_05ss] arr = [...]
| | 276576 [botp delmont] T24gQmVoYWxmIE9mIDdzdHVkIC0tOg0KIyBhID0gWyAxLjI1LCAxLCAzLCAxLjksIDEuOTUsIDIu
| | 276591 [bbxx789_05ss] No, I haven't. Thanks for pointing the partition method out to me.
| + 276571 [mrobert treb] e.-tf4714369.html#a13475984
+ 276536 [apeiros gmx.] [1,2,3,4,5,6].min {|a,b| (a-value).abs <=> (b-value).abs }
| 276541 [apeiros gmx.] Since you want more than 1 you can either implement your own min method
+ 276565 [ara.t.howard] install rbtree - it has upper_bound and lower_bound methods that do
| 276570 [mrobert treb] While waiting for solutions, i did something really similar.
| 276575 [botp delmont] # a =3D myhash.keys.sort[value-0.05..value+0.05]
| 276594 [botp delmont] ignore that post.
+ 276588 [ermac100 yah] Of course there are many ways. Here's one. Add your target value to
^ Good learning-by-doing projects?
276510 [soren.anders] I'm fairly new to ruby coming from some Java.
+ 276525 [thomas.adam2] This come up from time to time, and frankly, I never understood what
| 276531 [dblack rubyp] This message is in MIME format. The first part should be readable text,
+ 276526 [jeremywoerti] Well, my first language was ruby, so I learned it by doing Rails stuff.
+ 276533 [dblack rubyp] This message is in MIME format. The first part should be readable text,
| 276548 [znmeb cesmai] You *really* want that "checkers" Ruby Quiz, don't you? ;)
| 276556 [dblack rubyp] That's funny -- I actually hadn't even read that thread.
+ 276562 [m_goldberg a] Learning by doing is good. So is reading the code others have =20
| 276563 [ari aribrown] Depending on how new you are to programming (as i am/was), try =20
| 276577 [eric.mahurin] If you liked the rope one, you should try the current one - editing
+ 276586 [lloyd 2live4] I believe that this is very much an "eye of the beholder" issue. You
^ Ruby 1.9 upgrade problems with existing Ruby web application
276519 [s.d comcast.] I've upgraded to Ruby 1.9 today, in preparation for attending RubyConf
276626 [ajalkane gma] File.exists? has been deprecated in favor of File.exist?
+ 276685 [ara.t.howard] and, of course, test(?e, filename) still works...
+ 276722 [s.d comcast.] Why should something as simple as this cause legacy code to break? And
^ [ANN] Sup 0.2 released
276522 [wmorgan-ruby] Sup version 0.2 has been released!
+ 276583 [konrad tyler] charset="utf-8"
| 277185 [wmorgan-ruby] Sadly there's no POP functionality. (Patches welcome, of course!)
+ 276644 [manish gslab] Great stuff.
277189 [wmorgan-ruby] You could download and store them locally with fetchmail. But (if you're
^ Zip an existing directory?
276539 [petertmarks ] system("zip /Users/petermarks/Desktop/orbus/public/1/daily/2007-10-29")
276544 [phlip2005 gm] How does zip work on the command line? What does zip --help tell you?
276546 [znmeb cesmai] At least on Linux / Cygwin, the command to make a zip archive from a
276550 [petertmarks ] Thanks for the help guys. I am developing in osx and will deploy in
276587 [znmeb cesmai] zip -r archive.zip
276589 [petertmarks ] Thanks Ed, that archives the contents of "2007-10-29". Do you know if
276597 [znmeb cesmai] $ cd /Users/petermarks/Desktop/orbus/public/1/daily/
+ 276599 [petertmarks ] I think I'll digg up that other way in order to write this into a ruby
| 276601 [znmeb cesmai] Isn't there a Ruby library that does this without calling the
| 276602 [petertmarks ] Apparently there's rubyzip. I haven't really looked into that too much,
+ 276603 [bbxx789_05ss] Dir.chdir("/Users/petermarks/Desktop/orbus/public/1/daily")
276604 [bbxx789_05ss] Whoops. Too late.
276605 [petertmarks ] You were by no means too late. I was unaware that there was a ruby
276607 [bbxx789_05ss] system("cd /Users/petermarks/Desktop/orbus/public/1/daily")
+ 276609 [bbxx789_05ss] Actually, that doesn't work because the cd system() call executes in a
| 276610 [bbxx789_05ss] Gee whiz, I can't get anything straight tonight. In your case, it would
+ 276611 [petertmarks ] Oh you're right. I must have done something wrong when initially trying
276612 [petertmarks ] system("cd #{RAILS_ROOT}/public/1/daily")
^ ruby-frontbase doesn't compile on Mac OS X version 10.5
276542 [lists kalama] When trying to compile ruby-frontbase version 1.0.1 on a G5 PPC
^ Gateway Upgraded
276547 [james graypr] We are now running on my new gateway code that will hopefully get
+ 276554 [raasdnil gma] Hey James,
| 276573 [james graypr] My new version uses TMail, yes.
| + 276581 [raasdnil gma] James,
| + 276592 [raasdnil gma] irb(main):007:0> mail = TMail::Mail.new
| | 276658 [james graypr] => true
| | 276671 [raasdnil gma] No, you are doing it right. Looks like a bug. I'll get onto it.
| | 276672 [james graypr] Mikel, if you could email me (private is fine) when there's a new
| + 276638 [fred lacave.] Double-plus-ungood. Strictly, it _may_ be an acceptable folded header,
+ 276555 [james graypr] My upgrade did not go as planned and I have reverted, while I figure
| 276572 [james graypr] Usenet readers, can you confirm the gateway is functioning as
+ 276895 [james graypr] The TMail team tried to squeeze in a fix for our new gateway script
277058 [james graypr] The new gateway is now in place and does seem to be gating messages.
277236 [james graypr] Just a small update on how this went=85
+ 277239 [celtic sairy] Thank you.
| 277342 [raasdnil gma] VGhhbmtzIGZvciB5b3VyIHdvcmsgSmFtZXMuCgpNaWtlbAoKT24gMTEvMy8wNywgQXJsZW4gQ2hy
| 277361 [see signatur] Well, there appears to be at least one little glitch remaining.
| + 277401 [james graypr] I'll look into this issue tomorrow. Thanks for pointing it out.
| + 277472 [james graypr] Mikel, I have some TMail questions for you=85
| | 277501 [raasdnil gma] TMail does not handle the email body. In fact, it basically ignores
| | 277520 [james graypr] I use the two message approach because I filter what goes through.
| + 277551 [james graypr] I've deployed some fixes to the gateway this morning that I hope will
| 277633 [james graypr] I have deployed another set of fixes to the gateway tonight.
+ 277623 [martindemell] Brilliant work. Out of curiosity, is there any part of the gateway
277625 [james graypr] Well, the gateway is now just a bit of glue code between TMail and
277626 [raasdnil gma] Maybe we could make it an extension to TMail...
277630 [james graypr] This might be a possibility.
^ How to trim a string
276552 [dany wu.net.] I'm a newbie who's just started experimenting with Ruby and Rails. At
+ 276558 [TimHunter nc] String#[] takes a variety of arguments that support the activities you
+ 276574 [bbxx789_05ss] str = "In the absence of justice, what is sovereignty but organized
276578 [dany wu.net.] ...<snipped> Some excellent examples </snipped>
^ Re: Fluid Dynamics
276560 [ari aribrown] There's a company (Fluent) located in my town that does fluid
^ jruby and case insensitive environment variables on win32
276561 [martindemell] When converting a Win32/Ruby application to JRuby, I ran into an
276579 [charles.nutt] In JRuby, we pull in whatever the system provides as an environment, and
276595 [renard nc.rr] On Oct 29, 11:52 pm, Charles Oliver Nutter <charles.nut...@sun.com>
^ (none)
276564 [neomatrixjc ] "unsubscribe"=0A=0A=0A=0A__________________________________________________=
^ Getting a stack trace of a running thread
276568 [bryan raplea] I'm trying to update a tool we've developed here at Rapleaf for
^ book about design pattern
276580 [coolgeng410 ] Dear all,
+ 276584 [znmeb cesmai] Well ... I don't know if it's *perfect*, but I highly recommend Martin
+ 276585 [james.britt ] No.
+ 276623 [thomas.adam2] I can't say I agree here. Patterns are just that; patterns. How they
+ 276628 [chris.lowis ] Regards,
276660 [dangerwillro] Interesting. Veeeery, interesting.
277631 [coolgeng410 ] Actually, I got the book named "GOF patterns in ruby". It may be the answer
^ ruby libpcap fails when passing command-line argument
276593 [kenny.roytma] Can someone please help me out here? I'm trying to use Ruby/Libpcap
^ ANN: Sequel 0.3.1 Released
276606 [ciconia gmai] Sequel version 0.3.1 has just been released. This release includes an
^ db4o oo database for ruby?
276615 [gerpux gmail] I saw that the guys at db4o support ruby to some degree and I wanted
276696 [edlich gmail] Dear gerpux,
276721 [christof db4] I don't recommend to create a separate rewrite, though. We currently
^ what is the difference between two block?
276617 [hariharan.sp] Dear friends,
+ 276620 [sepp2k googl] Precedence. Other than that there is no difference, but it's convention to use
| 276622 [hariharan.sp] Dear friend,
| 276627 [sepp2k googl] Ehrm, I open my mouth and the words come out? I don't quite understand
| 276631 [hariharan.sp] Dear friends,
+ 276634 [botp delmont] RnJvbTogQXJ1bCBoYXJpIFttYWlsdG86aGFyaWhhcmFuLnNwY0ByZWRpZmZtYWlsLmNvbV0gDQoj
276657 [hariharan.sp] Dear Friend,
^ [ANN] the result of Ruby official logo contest
276618 [matz ruby-la] As a chairman of the recently formed Ruby Association LLC[1], I
+ 276621 [matz ruby-la] Oops, this is Japanese version. Try
| 276625 [benjohn fysh] It's a little like an invitingly open door way.
| 276643 [peter rubyra] This is really interesting... The (so far 2) answers here are quite...
| + 276649 [raasdnil gma] From a design point of view, it has a number of flaws and I find it
| | + 276653 [dangerwillro] It's ok, but it's really just the same logo in a box.
| | | + 276668 [eustaquioran] I know it's too late for the contest, but this is a logo I'm using on some
| | | + 276712 [james.britt ] Yes, well Python proved that a sucky logo need not hamper a language,
| | + 276835 [_mwryder wor] A couple of seconds experimenting with PhotoShop and the Spotlight
| + 276711 [james.britt ] Well, I rarely comment on blogs, and prefer to hold discussions on lists
| + 276746 [martindemell] That was my first thought too. It lacks contrast and "edge
| | 277216 [simon mullis] Haha! Genius!
| + 276755 [qdbrown gmai] Speaking strictly as a new user to Ruby, first impressions are very
| + 276759 [mental rydia] Fully concur. Also, as a merely practical matter, this logo will be
| 276760 [perrin apoth] See the very simple inverted triangle logo dealio on the left. Think
+ 276728 [stas FreeBSD] For me, the old logo looks much more simple, clean and stylish. The new
+ 276799 [jeremymcanal] You can see my comments on the http://www.rubyinside.com/ page, and I
| + 276808 [matz ruby-la] Those comments made me down. X-<
| | + 276832 [jeremymcanal] Oh, I didn't mean to make you sad! :)
| | + 276854 [raasdnil gma] T24gMTAvMzEvMDcsIFl1a2loaXJvIE1hdHN1bW90byA8bWF0ekBydWJ5LWxhbmcub3JnPiB3cm90
| + 276810 [james.britt ] FWIW, I announced this contest on a mailing list for Web designers and
+ 276882 [celtic sairy] I changed the logo on
| 276928 [dangerwillro] Arlen, it looks like you adjusted the logo a bit. Colors are more
| 277053 [celtic sairy] I did not modify the logo in any other way than cropping the text.
+ 277802 [eustaquioran] Argh, sorry to post this again but I noticed now looking on my logs
^ Ruby Survey/Questionaire ?
276630 [remco.zwaan ] Is there a gem or script available for a survey/Questionaire..so i can
^ Ruby2exe with tk
276635 [martyn.jago ] charset="us-ascii"
^ Is there a better way to do this? (write something to a file
276642 [evilgeenius ] Is there a better way to write text to a file?
+ 276645 [thomas.adam2] File.copy in this instance, surely?
+ 276648 [d_rems yahoo] file = File.open("/file/location/new.txt","w")
| 276650 [eustaquioran] File.open("test.txt","w") {|file| file << "data to write"}
+ 276654 [dblack rubyp] Are you sure you mean unmessy? :-) In any case -- I agree, it does
+ 276670 [lojicdotcom ] What would you prefer?
^ Re: Is there a better way to do this? (write something to a
276647 [evilgeenius ] This isn't a file copy. I'm just writing data to a file.
+ 276651 [thomas.adam2] Oops. That's what I get for not drinking coffee before replying. :)
+ 276823 [botp delmont] RnJvbTogQ2hyaXMgUmljaGFyZHMgW21haWx0bzpldmlsZ2Vlbml1c0BnbWFpbC5jb21dIA0KIyBU
^ Ruby Lex Specification
276659 [vascoas gmai] Where can i find a ruby (1.8.6) syntax specification? If that
276667 [jameskilton ] parse.y is your source. (http://svn.ruby-lang.org/repos/ruby/trunk/parse.y)
+ 276669 [vascoas gmai] Thanks Jason.
| 276674 [pticedric gm] ...
| 276834 [vascoas gmai] Thanks a lot.
| 276855 [gene.tani gm] there were also ANTLR grammars
+ 276690 [gaspard teti] Waou!!
threads.html
top