107665-112568

107388-110151 subjects 107877-108870

^ Compiling problems
107665 [Meino.Cramer] Trying to compile the stabe snapshot (28.7.) of ruby with gcc 3.4.1
107670 [matz ruby-la] It was caused by a bug in the snapshot.  I fixed the bug today.
107672 [Meino.Cramer] Thanks a lot! :)

^ mailing list?
107666 [snowzone5 ho] did something happen to the mailing list/.  number of messages that
+ 107671 [matz ruby-la] I did something bad in the list configuration early today (JST).
+ 107673 [surrender_it] I thought of this too, but I can't see the usual
  + 107705 [snowzone5 ho] i was getting  over 50 messages or so a day. i've had 12 since sunday.
  + 107706 [ptkwt aracne] That's an interesting trend.
  + 107841 [discord mac.] In the past week, I have noticed at least a few responses that are
    + 107851 [jamesUNDERBA] Same here.   Thought maybe I had too much coffee.
    + 107855 [dooby d10.ka] 107731 Subject: Re: Stupid ODBC!

^ Test-First vs. Bottom-Up
107668 [cpine hellot] I guess this isn't strictly a Ruby question, but it's about stuff that comes up on the ML quite a bit, so I thought I'd mention it.
+ 107669 [surrender_it] I'm not sure I understand: what do you mean by bottom up?
+ 107676 [peter semant] tdd or 'test first' has nothing to do with 'bottom up' or 'top down',
  107782 [bob.news gmx] "Peter Hickman" <peter@semantico.com> schrieb im Newsbeitrag
  107787 [csshsh struc] i think its much better to use mocks and not stubs for the top-down

^ ruby-dev summary 23878-23970
107680 [ksaito uranu] This is a summary of ruby-dev mailing list.
107689 [tom infoethe] Yours,

^ <no subject>
107684 [Roland.Schmi] But can you type [,],{ and }?

^ OpenSSL and Key Passphrases
107691 [jgb3 email.b] require 'openssl'
107694 [jgb3 email.b] Duh. It always happens that way. I get desperate, ask the question, and
107768 [drbrain segm] =20

^ IRB with Readlines using non us/uk keyboard mappings
107698 [dennis.ranke] I'd expect that anybody with UK or US keyboard mappings can, while those
107700 [ruby-talk wh] For a standard US keyboard the built in key handling should cover

^ The GPL and taint (was Re: a question on diff modules)
107699 [halostatue g] This is wrong. GNU GPL supporters don't like hearing this, but the GNU
107701 [msparshatt y] But so do a lot of the GPL's opponents

^ Cool use of Ruby as extension language
107703 [rcoder gmail] "...Enterbrain's 'RPG Maker XP has been released [for Japanese PC
+ 107704 [tom infoethe] Good times...
+ 107710 [nkh NO_tele2] Olivier D.
  107876 [im_not_givin] Shame its Windows only though.
  107992 [rubyguru hot] Heh.  I was thinking it's a shame the author used "return" so many times.

^ Stupid ODBC!
107715 [rcoder gmail] So, in response to David's call for contributions of adapters for
+ 107719 [nathaniel ta] As far as I know, getting the last row id is specific to the underlying
| 107722 [rcoder gmail] That's what I was afraid of. Maybe I can use the 'info' method on the
| 107725 [nathaniel ta] SELECT @@identity
| + 107728 [david.naseby] I believe its recommended to use
| | 107729 [nathaniel ta] Ah, I should have said, "SQL Server 7"... it didn't have
| + 107731 [rcoder gmail] Well, that's closer, but it still isn't a totally general solution,
| | 107734 [nathaniel ta] I guess I don't understand the problem... why does this mean that
| | 107735 [rcoder gmail] which columns serve as a unique identifier for the table, but it
| | 107744 [nathaniel ta] Then I don't understand something about your request; you said you were
| | 107769 [rcoder gmail] The SQL Server concept of IDENTITY is different from a ROWID (as in
| | 107773 [cjh-nospam n] Relational theory doesn't encourage the use of an arbitrary rowid
| + 107776 [npoly_iki ya] At least for the MSSQL server I think the most appropriate query is
+ 107727 [carl.youngbl] Oracle and PostgreSQL use sequences, MySQL uses auto_increment fields
+ 107738 [sean celsoft] A number of database engine autoid implementations I've seen generate a unique
  107741 [rcoder gmail] Sean,
  + 107743 [sean celsoft] This won't help in your particular case, but in general I advocate putting all
  | 107771 [rcoder gmail] ID generation. Properly done, it could easily extend to other useful
  | 107818 [sean celsoft] I would use a regular old file.  If you have a persistent layer, maintain it
  | 107821 [ahoward noaa] this is alot trickier than it sounds: you will have locking issues since every
  | 107824 [sean celsoft] A middle layer server would be able to use file locks and mutexes to
  | 107829 [ahoward noaa] unless you are on something pervasive, and evil, like NFS...  i agree in
  | 107831 [sean celsoft] Oh, okay, I understand.  Extend that then to make it a general rule: NEVER use
  | 107835 [rcoder gmail] I appreciate everyone being so interested in this, but I think we're
  | + 107836 [carl.youngbl] What's so bad about the idea of using the database itself to guarantee
  | | 107848 [rcoder gmail] Mainly the fact that I can't change the schema on some of the
  | + 107892 [david loudth] Here's what I think would be a good idea. Implement an abstract ODBC
  + 107745 [carl.youngbl] Why not take the approach of using a autoid function if you have it
    + 107746 [sean celsoft] If portability is not much of an issue, and the autoid implementation works
    | 107749 [carl.youngbl] MySQL has an internal counter variable for every table that never gets
    | 107752 [sean celsoft] Are you positive?
    | 107825 [carl.youngbl] Yes.  I did this exact test a couple of years ago and it just keeps
    + 107770 [rcoder gmail] This is most certainly not acceptable for my current needs, since

^ GUI
107717 [Joseph.V.Lau] I've been tasked with creating a GUI application.  I'd like to do it in
+ 107720 [madsen lille] Madsen
+ 107721 [rcoder gmail] FLTK and Fox both have good Ruby bindings and solid OpenGL
+ 107723 [vjoel PATH.B] Fox/FXRuby has a nice table widget, and also tabs and an OpenGL viewer
+ 107946 [Joseph.V.Lau] If anyone else is interested,

^ Re: [Not so?] Stupid ODBC!
107732 [WBrown isoft] Lennon,

^ IO::Reactor on a disk file?
107733 [ljz asfast.c] I have been experimenting with IO::Reactor to implement a multi-file
+ 107736 [ljz asfast.c] The `select' manpage on my FreeBSD system says nothing about EOF, but I
+ 107786 [ysantoso-rub] select() is not particularly useful in dealing with disk i/o. It

^ [ANN] Active Record 0.9.1: More naturalness, new license
107737 [david loudth] What's new in Active Record 0.9.1?

^ [ANN] Action Pack 0.7.6: Do The Bug Fix
107739 [david loudth] What's new in Action Pack 0.7.6?

^ [ANN] Rails 0.5.5: Windows, WEBrick, lots!
107740 [david loudth] What's new in Rails 0.5.5?
+ 107747 [carl.youngbl] I'm drooling.  So does this mean I could write a rails app without
| 107750 [flgr ccan.de] Yes, all you have to do is adding a virtual host in your apache
+ 107772 [lenya chemse] Damn, that was fast :-)
+ 107777 [se hexatex.d] David, when you said on IRC that this is going to take some time I
  107780 [david loudth] That's were the work of Florian _really_ impressed me. See the
  107784 [se hexatex.d] Ah, that is fantastic! That means you can even use CONSTANTS which is
  107806 [dave.lee.wil] really?  where can I find more info on this?
  107808 [se hexatex.d] Download http://modruby.net/archive/mod_ruby-1.2.0.tar.gz and look at

^ ironpython (.net python) and dynamic langs on CLR
107742 [daniel danie] This might interest some of you :)
+ 107783 [timsuth ihug] Yes, this is very interesting.
+ 108575 [unseulmcmcmc] (just for info)
+ 108587 [chadfowler g] I was in the talk at OSCON.  It was very interesting.  The talk mostly

^ Automatically setting attributes
107751 [Joseph.V.Lau] class Foo
+ 107753 [assaph avaya] [:goo,:moo].each { |sym| send "#{sym}=", 0 }
| 107755 [dblack wobbl] You could also use: instance_variable_set("@#{sym}",0)
| 107756 [Joseph.V.Lau] Do those methods have any advantages over doing
| + 107757 [assaph avaya] You only write one zero... :-)
| | 107758 [dblack wobbl] @goo = @moo = 0   # :-)
| | 107945 [Joseph.V.Lau] I like!
| + 107759 [dblack wobbl] As Assaph said, not really if you know the names in advance.  I hadn't
|   + 107760 [Joseph.V.Lau] The above just seems way more straightforward to me than the other
|   + 107764 [gsinclair so] It's always annoyed me that you need to specify the '@' when using
+ 107754 [vjoel PATH.B] class Foo
+ 107762 [ahoward noaa] ~ > cat a.rb
+ 107785 [bob.news gmx] "Laughlin, Joseph V" <Joseph.V.Laughlin@boeing.com> schrieb im Newsbeitrag

^ [OT] Automatically setting attributes
107761 [assaph avaya] <sledge>
107763 [gsinclair so] dictionary.com doesn't know about this meaning of "sledge", which is a
+ 107887 [martindemell] A related term in Scrabble circles is "coffeehousing"
+ 112568 [ceo nospam.o] American's talk "smack" or "trash" -- which works well for those of us

^ Equivalent of Perl HTML::TreeBuilder?
107765 [jwkenne attg] Is there a well-known, supported Ruby equivalent to Perl's
107779 [alex deletem] You can use these to get a REXML parse tree from ordinary HTML. You can
107953 [dooby d10.ka] ...

^ [ANN] Net::SSH 0.0.5
107766 [jgb3 email.b] 0.0.4, but I'm going out of town for a week and a half and figured I
107822 [carl.youngbl] Do you really mean "pure ruby"?  I thought that ruby relied on OpenSSL
+ 107827 [halostatue g] In the sense that Jamis has written no C code that requires
+ 107828 [jgb3 email.b] I do mean pure Ruby. The Net::SSH stuff is all Ruby. Yes, it has
  107830 [carl.youngbl] Okay, thanks for the clarification.

^ Tk extensions support (Re: ruby-dev summary 23878-23970)
107767 [nagai ai.kyu] It includes Tk extentions support (especially, for ActiveTcl binary

^ IO issues: forking, select, and duplexing
107775 [hal9000 hype] Suppose I have a source and a sink of data. These are IO-like,
107778 [matz ruby-la] If your IO-like object contains a reference to a real IO object that
+ 107794 [ahoward noaa] you mean this will (is) supported?
| 107802 [ksibilev bel] I guess it's already supported. Check out io.c rb_io_get_io() function.
+ 107797 [hal9000 hype] That is very interesting. I don't think I can do this easily (as the
  107799 [walker letha] May I suggest Socket.pair ?

^ to_s isn't automatically called
107788 [dvoelkerts w] perhaps it is a newbies fault, but I can't figure out where to find my
107789 [halostatue g] class HtmlTag < Tag
107791 [bob.news gmx] "Austin Ziegler" <halostatue@gmail.com> schrieb im Newsbeitrag
107837 [dvoelkerts w] Oh that sounds great. Thanks a lot. I'll have a look on it tomorrow.

^ ulimit alike in ruby?
107790 [clr3.10.rand] Dear ruby-hackers,
+ 107801 [t_leitner gm] You could write an extension in C that calls the setrlimit function.
| + 107811 [clr3.10.rand] Thanks for the pointer! That looks doable (just did a quick test).
| | 107813 [drossruby ya] I think rlimit is what you are looking for. It is
| + 107817 [clr3.10.rand] That is what I did now. I always skipped this chapter of pickaxe
+ 107804 [ksibilev bel] Check out http://raa.ruby-lang.org/project/rlimit/
  107812 [clr3.10.rand] rlimit as well as the other project mentioned there
  107814 [drossruby ya] Oh shoot me for not reading all the emails. I will get
  107816 [drossruby ya] Here is the link to rlimit_1_0. Thankfully I was able
  107826 [clr3.10.rand] David, thanks for the url

^ [Q] class and case
107792 [unet01 radio] a = 3
+ 107793 [halostatue g] % ri "Module.==="
| 107796 [unet01 radio] Thanks a lot!
+ 107795 [gsinclair so] Because #A and #B are not the same!

^ Access MS SQL data
107800 [gene.leung g] Is it possible for ruby to access Microsoft SQL Server data under linux
+ 107805 [mneumann nte] It is possible.
| 107810 [shanko_date ] I have done all of the above and it works !
+ 107807 [nathaniel ta] I've successfully used a combination of Ruby/ODBC, unixodbc and FreeTDS
  107809 [shanko_date ] I am interested in learning the details of this
  107815 [nathaniel ta] Basically bugs (and/or omissions) in FreeTDS that my code in particular
  107854 [cjh-nospam n] Which of those modules calls FreeTDS and how does it plug in?
  + 107858 [nathaniel ta] Ruby -> (DBI) -> Ruby/ODBC -> unixodbc -> FreeTDS -> MS SQL Server
  + 107884 [mneumann nte] yes ;-)

^ [ANN] **RC6** Ruby Installer for Windows 1.8.2-14
107819 [curt hibbs.c] This release candidate of the Ruby Installer for Windows

^ Re: [OT] microphone (was [ANN] Rails 0.5.5: Windows, WEBrick, lots!)
107823 [carl.youngbl] What microphone did you get?  I've been considering getting one for a

^ C ext: GC claiming objects early
107832 [tilman code-] I'm implementing Ruby bindings for a C library and I'm encountering some
+ 107834 [sean celsoft] If this object is a VALUE variable in your C code, you should declare it this
| + 107839 [Richard_Dale] What about using rb_gc_register_address() to ensure the result object isn't
| + 107903 [tilman code-] Okay, but that wouldn't really be different from using
|   107905 [sean celsoft] It's completely different; it's for VALUEs on the stack.  By declaring it
+ 107885 [decoux moulo] Well it's best if you post the *real* C code : it's easy to understand
  107904 [tilman code-] Heh :)
  + 107907 [sean celsoft] Show me a couple more things.  Show me the Ruby code you call, and tell me
  | 107925 [tilman code-] class Basic
  | 107930 [sean celsoft] Sorry, hopefully Guy can help you.  I can't match up any of those calls to the
  + 107912 [decoux moulo] this is, no ?
  | 107924 [tilman code-] Yes, that's it. rbres->self came from an older version I experimented
  | 107970 [decoux moulo] Circular reference is not a problem because the GC is a mark-sweep GC.
  | 107980 [tilman code-] Ah, so the GC might omit the call to the mark callback before the free
  | 107981 [cyclists nc.] The Pickaxe says that the purpose of the mark routine is "to mark any
  + 107914 [cmills frees] You should show us c_mark and c_free
    107927 [tilman code-] static void c_mark (RbResult *res)

^ Including other people's Ruby libs in your package
107838 [jamesUNDERBA] I'm writing some code that depends on MIME::Types, and works better with
+ 107840 [aredridel nb] Speaking as a packager, don't. Just document, clearly, the dependencies
| 107843 [jamesUNDERBA] I've considered this, but find it potentially too annoying to the user.
| 107844 [jgb3 email.b] On the other hand, it can be very annoying for a user as well when they
| 107849 [jamesUNDERBA] That's right.  So let's don't do that. :)
| 107859 [chadfowler g] I've had this on the list for a while, but I'm still not sure if it's
| 107863 [jamesUNDERBA] An idea I floated on another list (and somewhat off-topic for the main
| 107864 [assaph avaya] works.
| 107866 [jamesUNDERBA] Both.  Complete control with a minimum of fuss (why must there be a
| 107868 [assaph avaya] choice?).
| + 107869 [jamesUNDERBA] I'm familiar with it, and while it's often true, it may not have to be.
| | 107870 [assaph avaya] True. My only concern is what happened to Java apps a couple of years
| | 108066 [rasputnik he] For me it's not so much a space thing as a library path thing - if the app
| | 108212 [chadfowler g] I'd love to hear more details offlist if you can provide them.  Do you
| + 107871 [nick activeh] "Cost-Schedule-Scope" is my prefered triangle. "Quality is free" applies
+ 107846 [ahoward noaa] i use this layout
+ 107862 [halostatue g] With Ruwiki, we depended on Algorithm::Diff -- and we will be
  107865 [jamesUNDERBA] Well, if you *must* know, it takes either a string of XHTML or

^ Class variables
107845 [jbshaldane h] I know the rules for class variables have changed in 1.9, but I am not

^ [ANN] ri-emacs
107850 [kristof vlee] [ANN] Ri for (X)Emacs 0.1
+ 107852 [phubuh phubu] I love you.
+ 107861 [dblack wobbl] added to the /contrib directory of the ri distribution in 2001 :-)
| 107895 [kristof vlee] Oh, I didn't know this one existed too!  I must give it a try.
+ 107893 [alex deletem] This is great. I've always missed an equivalent of M-x cperl-perldoc.
  107901 [kristof vlee] It seems that the ruby-script is returning an error.  I
  107917 [alex deletem] Yep, it's failing because it can't load 'rdoc/ri/display'; the class
  107920 [kristof vlee] ri --version returns V1.0pr1 (on Debian linux).  That ruby
  107922 [alex deletem] Strange. I did try that, which required a small tweak to the constructor

^ [ANN] ladspar version 0.1
107856 [hans fugal.n] ladspar is a Ruby module for using LADSPA plugins[1]. Here's a short
107872 [madsen lille] Wow! I'm really looking forward to try it out. :)
107919 [hans fugal.n] Yes, there is a detailed README and an API reference. They are also

^ defined? in ruby-1.9
107867 [sdmitry lrn.] raise if defined?(Test::Unit)
+ 107873 [bob.news gmx] "Dmitry V. Sabanin" <sdmitry@lrn.ru> schrieb im Newsbeitrag
| 107874 [sdmitry lrn.] Well, no.. this code is used in exception-catching framework, so the point is to re-raise exception
| 107879 [bob.news gmx] "Dmitry V. Sabanin" <sdmitry@lrn.ru> schrieb im Newsbeitrag
| 107898 [sdmitry lrn.] I agree, but there's no other way to test modules for my web-framework, because it manages
| 107899 [bob.news gmx] "Dmitry V. Sabanin" <sdmitry@lrn.ru> schrieb im Newsbeitrag
| 107957 [sdmitry lrn.] I swear :-)
+ 107890 [matz ruby-la] Because 1.8 silently ignores NameError in the check for Test::Unit.
  107900 [ahoward noaa] but isn't that what 'defined?' is for?  to determine if the compiler has seen
  107902 [msparshatt y] I supposed the rational is that by running
  + 107911 [ahoward noaa] ah - hadn't thought of that.  that it better than failing silently.
  + 107915 [matz ruby-la] Yes.  But your example made me change my mind.  In the near future 1.9
  + 107958 [sdmitry lrn.] Now I see, thanks for explanation.
threads.html
top