153215-154102
153001-154863 subjects 153444-154820
^ C extension with Ruby extras; preferred naming?
153215 [no spam.plea] I recently published the OneWire module, which wraps parts of
+ 153217 [cyclists nc.] Hmmm...RMagick does exactly what you describe: RMagick.rb loads
+ 153295 [nobuyoshi.na] Requiring with explicit ".so" suffix should load an extension
^ WTF is Struct? Oh! [was Re: Ruby beginner question 2]
153219 [gavin refine] Wait wait wait...I never grokked Struct before.
153220 [gavin refine] charset=US-ASCII;
^ Re: beaten to the punch, and a request
153294 [jeff.darklig] Hey bud,
^ Re: server.rb with a Manager and Job Class?
153296 [drbrain segm] exec "ruby server.rb" # use rbconfig.rb to find ruby
^ Named Arguments
153299 [kevin.olbric] I was working through the new version of the pickaxe tonight and decided to
+ 153300 [brian.takita] Here is how you can set the instance variable @test
| + 153301 [brian.takita] Here is yet another way (
| + 153306 [jtregunna bl] Just as a supplementary note, the hash literals aren't required. You
+ 153308 [ruby.brian g] I do not know of such a feature and can't find it mentioned in the
153312 [rhkramer gma] Pgs 84 and 85 of Pickaxe 2 discuss / describe hash arguments consisting of key
153313 [kevin.olbric] Actually the section that got me working on this is page 256. Of course at
153336 [brian.takita] PiAKPiBmcm9tIHdoYXQgSSBjYW4gdGVsbCBSdWJ5IGRvZXNuJ3QgZG8gdHJ1ZSBuYW1lZCBhcmd1
^ Re: Meta programming basics
153302 [brian.takita] You could also use a Hash.
153304 [brian.takita] Oops, sorry Gavin.
^ Automatic check of RDoc documentation
153307 [lucas lucas-] I've documented my project with RDoc, but I have a problem : how do I know
+ 153311 [botp delmont] #If not, I'd look at coding this. I was thinking of adding a
+ 153333 [mailinglists] You can try ArachnoRuby. The class browser does take the data from the
^ Re: No Keys, nor other hash methods on multidimensional hash
153309 [ruby.brian g] Ruby does what you ask it to do. Just as an example I took my
^ OS independent way to read/write paths?
153316 [lists source] Guys,
153324 [halostatue g] winpath = rubypath.gsub(%r{/}, "\\")
153332 [Daniel.Berge] See pathname2, available on the RAA. It will preserve your slashes as
153504 [caldridge gm] require 'rbconfig'
153508 [Daniel.Berge] I'm going OT here, but...
+ 153519 [nobu.nokada ] In 1.9, ENV["HOME"] will be set to %HOMEDRIVE%%HOMEPATH%,
+ 153531 [caldridge gm] Cool! Thanks for sharing the correct way of doing it :-)
153559 [Daniel.Berge] I can't think of a good reason not to. Unless anyone objects, I say
^ Embedding ruby in a multi-threaded host application
153319 [om-lists tip] I would like to host ruby interpreter in an application to bring in a
153394 [om-lists tip] Hmm. I could not find evidence that this is being worked on, nor even
153396 [lyndon.samso] Sometimes Thread Local Storage is a possible work around for global variabl=
^ Very strange GC behaviour
153323 [Geert.Fannes] charset="us-ascii"
+ 153326 [ruby.brian g] The Garbage Collector is conservative. If the address of an object
| 153328 [Geert.Fannes] Can these registers be cleared without doing much damage before doing
| 153330 [ruby.brian g] Why do you need this. Maybe you are tackling the problem from the
| 153331 [simon.kroege] I had some troubles (and still having some) with the gc also.
| 153399 [Geert.Fannes] I implemented a sparse matrix class for loading a calling network (vertices are mobile phone users and edges are calls. The rows are held by a Hash and each row is an AVLTree, containing the information to where some customer called and how much (total duration). These AVLTrees are balanced trees that allow fast lookup and insertion, I used the C package "C AVL Tree generic package" from Walt Karas for this and converted it to a ruby class.
| 153451 [skaes gmx.ne] You can try my GC patch, which allows one to specify the initial heap
+ 153413 [ruby.brian g] The next version of ruby will contain another GC. IIRC it will be a
+ 153410 [ruby.brian g] One gotcha I've only seen after sending the other mail is, that moving
| 153421 [simon.kroege] True, but
| 153491 [ruby.brian g] That was exactly what I wanted to show ;-/
+ 153440 [ mfp acm.org] two *bit* refcounting
153492 [ruby.brian g] on this mailing list that claimed hashes where trees. But I never
^ what is the equivalent of "Effective Ruby"
153337 [rsanheim gma] Is there an equivalent book to Meyers' "Effective C++" series and
+ 153338 [robby.lists ] ;-)
| 153339 [rsanheim gma] I've already "done my time" with why's guide. Its a fun read but I'm
| 153347 [joevandyk gm] Try printing it in Firefox. Set the margins to 0 and turn off all
| 153351 [gaston.garci] make sure you print that one.
+ 153342 [lyle.johnson] I'll add a "ditto" for "The Ruby Way". It's not laid out in the same
+ 153398 [rasputnik gm] 'me three' - felt like 'the ruby cookbook' to me. Hal's got a nice
+ 153400 [the.mindstor] #: Lyle Johnson changed the world a bit at a time by saying on 8/23/2005 6:23 PM :#
^ Debian, SQL Server 7, and Ruby
153341 [ng johnwlong] For some time now we have used custom compiled versions of SQL Relay
153362 [corey.ssf.la] There is a freeware/opensource ODBC stack that will connect to MSSQL
153373 [ng johnwlong] Are you referring to iODBC?
^ ri - what does it know?
153355 [r.mark.volkm] It's unclear to me what I can expect ri to know about. Does this
153357 [drbrain segm] ri should know about just about everything in the core. It should
+ 153360 [r.mark.volkm] It doesn't seem to know about everything in the standard library. For
| 153365 [drbrain segm] That's because lib/.document and ext/.document mention only a handful
| 153372 [james_b neur] * The code does not redefine any other classes (as this tends to boink
| 153385 [drbrain segm] I think if the documentation mentions where non-core methods come
| 153389 [james_b neur] The issue is not user confusion, but rdoc/ri obliterating the proper ri
+ 153367 [mailinglists] No. At least not the ri database that comes with the one-click-installer.
153381 [drbrain segm] I don't see any bugs matching that description in the rdoc bug or
153402 [mailinglists] Okay i added this, but what sense does it make as long as nobody is
153464 [drbrain segm] Ryan Davis (and myself) have taken over maintainership.
^ about sockets recv() method.
153358 [pirata gmail] the input i did this.
153368 [akr m17n.org] recv() waits some data from the socket.
^ [ADV] Shameless plug (Re: hacker logo)
153371 [james_b neur] I've added bags and buttons, too.
153375 [jamal.hansen] Funny you would post this. I just bought one of the speed metal long
154031 [julian coret] I really don't like the logo on those...
+ 154058 [james_b neur] It's meant to be humorous. Except when trying to spook your Java
+ 154067 [shalev simpl] Mmmm, my Rails sweatshirt should be in any day now.
^ Re: [QUIZ] Sodoku Solver (#43) [SOLUTION]
153378 [ruby_talk sh] My solution is 347 lines; I'll attach it below because I hate your mail
+ 153382 [gavin refine] numbers = str.scan( /[\d_]/ ).collect{ |char| char.to_i }
| 153409 [james graypr] line.delete!("+-| ")
| 153415 [gavin refine] charset=US-ASCII;
| 153446 [ruby_talk sh] These are all new to me. I learned Ruby by skimming the manual for the
| 153475 [james graypr] Sure, feel free to repost. However, I've already edited that method
+ 153418 [mohit.muthan] Ahem... Mine used array subtraction too. Sorry.
+ 153450 [ruby_talk sh] Doh! I apologize for the oversight.
+ 153482 [ruby_talk sh] Our algorithms are essentially similar. One optimization I made is that
153493 [mohit.muthan] Interesting... thanks... :-)
^ The Chainsaw Infanticide Logger Manuever
153380 [zedshaw zeds] One of the things that's really great about agile languages is they give you the power to do anything. One of the most horrible things about agile languages is they give every other idiot the same power to stab you in the back with a rusty pitchfork.
+ 153383 [gavin refine] [... snip an awesome tirade...]
+ 153390 [james_b neur] I take it you first tried to contact the author of the offending code
+ 153391 [nseckar gmai] Zedas, here's concept as discussed in #ruby-lang... Take note that I've
+ 153395 [drbrain segm] Oh? You think that's bad?
| 153436 [ruby_talk sh] Guys,
| 153477 [drbrain segm] I don't understand why I'm supposed to test a standard library I'm
| + 153485 [ruby_talk sh] Me either. I thought Logger was your own code. I agree that you
| | + 153487 [jeff.darklig] I'm not saying you need to test Logger ... I'm simply stating that you
| | + 153520 [julian coret] charset=US-ASCII;
| + 153937 [surrender_it] talking about silence_warning in tests.. I actually found the need to
+ 153439 [billk cts.co] I was bitten recently by a change to the CGI module. I don't
| 153445 [jeff.darklig] My feelings are in-line with the review of Dave's session as OSCON @
| + 153452 [billk cts.co] Dudes, I do have tests. How in blazes would you write a test
| | + 153455 [jeff.darklig] The truely iterative & testing-complete way to build software is to
| | | 153459 [the.mindstor] #: Jeff Wood changed the world a bit at a time by saying on 8/24/2005 7:06 PM :#
| | + 153457 [jeff.darklig] So,
| | + 153465 [billk cts.co] Jeff,
| | | + 153471 [jeff.darklig] Ok, my set of tests for my application would include asserting that if
| | | | + 153564 [gavin refine] ... which would lead you on the 3 hour hunt that Zed was complaining
| | | | + 153609 [dfayram gmai] At some point--and that point approaches us very quickly on anything
| | | + 153480 [ruby_talk sh] I find that the hardest tests to write are the ones that I overlooked
| | | 153490 [billk cts.co] Thanks for your thoughtful reply.
| | + 153466 [Daniel.Berge] As Alexander mentioned, the point of the email was not that he couldn't detect
| + 153462 [halostatue g] I think the real problem is when this is done in released code. If
| | + 153495 [jim weirichh] Well said.
| | + 153943 [transfire gm] Seems this thread just come over the fixed gateway? Seems to have
| + 153469 [mailing-list] Violence is surely the road to enlightenment,
+ 153944 [rampant gmai] Could all these problems be solved by a require_into_namespace?
+ 153952 [transfire gm] Douglas,
+ 154048 [surrender_it] IMHO this problems could be sloved by just running ruby by default with
^ Problems with the Jamis RDoc format
153384 [jim weirichh] I've been using the jamis rdoc format for some time. Recently I noticed that
+ 153387 [jamis 37sign] If someone has a fix, I'll be happy to apply it to my copy.
+ 153388 [vjoel path.b] I noticed the exact same problem this morning.
153408 [jim weirichh] works for me.
+ 153461 [vjoel path.b] Yay, method links are working again.
| 153498 [jamis 37sign] Yah, I designed the template for use with inline-source, and never
+ 153494 [jamis 37sign] Whew. Good to know. Thanks for the follow-up, Jim.
^ Re: Error using Net::SSH
153386 [zdennis mkte] Jamis,
153499 [jamis 37sign] Zach,
^ Postgrey
153392 [shugo ruby-l] I installed Postgrey (http://isg.ee.ethz.ch/tools/postgrey/)
^ Recurring dates in ruby
153393 [snacktime gm] Is there an existing module out there for calculating recurring dates?
153404 [Mlipper doit] Not sure if this'll do, but there's: http://runt.rubyforge.org . This is
153479 [snacktime gm] Thanks Matt. Looks like that would work. I'll let you know if I run
^ Ruby and socket.so
153405 [peter easysp] When I "require socket" in my application I get following error.
153454 [vjoel path.b] ldd /usr/local/lib/ruby/1.8/x86_64-linux/socket.so
^ Searching Google vith SOAP4R
153406 [dali insula.] Does anybody use SOAP4R to access Google search service?
153441 [ mfp acm.org] batsman@tux-chan:/tmp$ cat ggl.rb
153486 [dali insula.] Thanks. Your code works although only with the version 1.5.4. The 1.5.3
^ determining the attribute names of an object
153414 [r.mark.volkm] The way to determine the names of the attributes of objects created
+ 153417 [dblack wobbl] instance variables are not the same as attributes. Attributes can be,
| 153419 [r.mark.volkm] I really don't get this. Can you give a definition of each of the
| + 153423 [james graypr] class Name
| | 153516 [julian coret] Yeah,
| + 153424 [dblack wobbl] They may be the same in other languages. In Ruby they're related but
| 153425 [r.mark.volkm] Ah ... thanks for the explanation! Had I been paying attention, I
| + 153432 [dblack wobbl] If anything, I would say members correspond to attributes, not to
| + 153530 [hal9000 hype] Well, Structs are not implemented by using instance variables (well,
| 153535 [dblack wobbl] What if you wanted to add methods to the class, or one or more
| 153536 [hal9000 hype] Granted, but that's the opposite problem from the one I
| + 153556 [r.mark.volkm] That's certainly what I hoped was the case for both Struct and OpenStruct.
| + 153560 [dblack wobbl] I'm just not sure where you would experience a need for that. What
| + 153563 [gavin refine] I think you're correct; I think the problem is simply one of
| + 153578 [r.mark.volkm] Okay, I'll revise my statement. ;-)
+ 153420 [mohit.muthan] Attributes are not the same as instance variables. Attributes really
^ Good cross-platform IDE / multiple document text editor for ruby / rails?
153422 [brockweaver ] I apologize for the cross-post, but I thought it would spur a good
+ 153426 [akulbe gmail] What about vim?
| + 153433 [mando.escami] That's what I use. With vim's ability to split windows horizontally and=20
| | 153897 [joevandyk gm] How does the keyword completion in vim work?
| | + 153899 [dbatml gmx.d] 1. Whole lines |i_CTRL-X_CTRL-L|
| | + 153917 [dougkearns g] There will be an erb syntax file (eruby.vim) in the next release of
| + 153437 [jeff.darklig] Also, I know that Lothar is working on multiple platform support in
| 153448 [tiefox gmail] A little off topic...anyone knows how to disable syntax error checking in=
| 153453 [merkoth gmai] just a little note: SciTe DOES SUPPORT tabbed mdi (disabled by
+ 153428 [mneumann nte] QT4) they will be available on Windows, too.
| + 153435 [vicente.reig] I have been using jEdit (http://www.jedit.org) too for all my projects
| + 153533 [jamal.hansen] I made the move to Linux on my home PC about 3 months ago and felt
| | 153534 [cbueno81 gma] UniRed works well with Ruby too.
| + 153608 [chriscodes g] I've added basic rails syntax support for Editors that make use of
+ 153429 [eric_mahurin] I been using jedit for several years now because it is a very
+ 153431 [the.mindstor] #: Brock Weaver changed the world a bit at a time by saying on 8/24/2005 4:51 PM :#
+ 153458 [zimba.tm gma] It seems that not lot of people know Mondrian IDE. I'm wondering why
| + 153460 [merkoth gmai] yup, totally forgot about it. but it's a great choice if you're
| + 153463 [runlevel7 gm] I'd like to use it, but had a hard time getting it installed. Or,
+ 153470 [rob.02004 gm] If you're checking out jEdit, don't miss it's Ruby Editor Plugin which
| 153483 [rhkramer gma] I wasn't going to mention nedit (my favorite editor for five years now, since
| + 153488 [brockweaver ] Thank you everybody for your responses. I'm sure I'll waste a few
| + 153489 [vjoel path.b] I've put some ruby-related nedit stuff, including syntax hilighting, at
| 153496 [rhkramer gma] I don't know, but I have a thought. I'm at my Mandrake 10 system right now--I
+ 153532 [james_b neur] Maybe OT, but one possible issue with such cross-posting is that not
| 153576 [rhkramer gma] You are absolutely right that that is one of the problems with crossposting.
| 153584 [james_b neur] Um, no, other than to perhaps make a point of periodically summarizing
| 153600 [rhkramer gma] That makes sense, and maybe we should even start suggesting that as an
| 153619 [zimba.tm gma] What I suggest is that people don't cross-post, but rather choose one
| + 153622 [brockweaver ] Thank you everybody for the active discussion.
| | 153685 [zimba.tm gma] I would have posted on the rails ML first.
| + 153645 [rhkramer gma] That also makes sense, probably even more sense!
+ 153548 [snowzone5 ho] can't speak for anyone else, but i'm envious :)
153570 [rhkramer gma] And, Off Point for this post, I guess if I was going to ask for a snappy
+ 153712 [snowzone5 ho] then i think it was relevant. i've tried all the ide's on a PII/350
| 153727 [rhkramer gma] Thanks! (I use nedit, works great!)
| 153740 [snowzone5 ho] ah, i thought you were looking for a cross-platform ide...
| 153766 [rhkramer gma] Ahh, sorry for the confusion, that was the OP (somewhere back in the dawn of
+ 153793 [mailinglists] Sounds like a challenge. But please contact me, if you want to
153842 [rhkramer gma] I'll start by saying "maybe".
+ 153843 [rhkramer gma] Hmm, maybe I should have said something about why I'm not considering nedit
+ 153869 [mailinglists] I think there is not very much except Scintilla.
+ 153879 [rhkramer gma] I had started to look at Scintella just a few days ago. I'll look for the
+ 153891 [the.mindstor] #: Lothar Scholz changed the world a bit at a time by saying on 8/28/2005 3:30 AM :#
| 153894 [rhkramer gma] What can I say? ;-) I use it everyday (in nedit with my macros), and expect
| 153977 [rhkramer gma] See http://twiki.org/cgi-bin/view/Wikilearn/NmTWikiFold, I think it's all
+ 153918 [neoneye gmai] Sorry, AEditor is completely dead for this moment (I have converted to
| 153923 [rhkramer gma] Simon,
+ 153974 [thunder gmai] You may be referring to SynEdit although that project forked IIRC
+ 154088 [snowzone5 ho] i think i'm in the camp of more ruby specfic features. i registered it
154097 [mailinglists] Yes, i'm not trying to do a general editor.
154102 [snowzone5 ho] i'd find xml and html specific features handy. as it is now i do all
threads.html
top