140716-143731

140520-147000 subjects 140943-141790

Re: Trouble trying Tao - myriards of compile errors :-<
140716 [fu.limin.tao] It's suprising that it can't be compiled on the newer version of GCC.
140874 [chneukirchen] He should have been named Erhardt Erhardt or Ludwig Ludwig.  Far

Here's a patch for wxRuby to support wxWidgets 2.6.0
140717 [spamtrap@ca ] This was posted in another newsgroup by Dmitry to patch wxRuby 0.6.0 to

[OT] Re: Emacs vs. VI vs. IDE
140744 [Ara.T.Howard] no problem - my sysad actually showed it to me.  i don't know how i ever lived

Ruby DL Setup to send and receive windows messages?
140745 [awertyui@gm ] I am trying to send and receive messages between a ruby program and

Ruby DL Setup to send and receive windows messages?
140747 [awertyui@gm ] I am trying to send and receive messages between a ruby program and
140799 [ttate@tt ky ] As the type POINT can't be defined internally, you can't use it in the definition of "MSG".

DBI, Sql Server, and Windows Security
140748 [brian.takita] Is is possible to use windows integrated security with the Sql Server

enum in ruby ?
140750 [mail@ex ep i] I`ve a simple question about constants in ruby. Is there a possibility
+ 140752 [batkins57@gm] ...
+ 140753 [msparshatt@y] The following is a simple implementation of what you want
| + 140755 [mail@ex ep i] Thanks to all for your fast answers! That`s perfect, const_set is the
| + 140760 [jannis@ha de] ...
+ 140754 [usenet@an re] What do you need constants for; why not directly use symbols?
| 140757 [mail@ex ep i] I have to synchronize a lot of constants in my code with "constants" in
| 140831 [discordantus] it, and there was a major logic error, regarding scope.
+ 140756 [Ara.T.Howard] class MyClass
+ 140761 [discordantus] Others have given good direct solutions... But I wonder why you would
+ 140830 [lists@be tr ] A, B, C = (1..3).to_a

Ruby and Antrl
140758 [nospam@no pa] Is it possible to generate Ruby parsers for Antrl defined trees?

Re: Ruby and Antlr
140759 [nospam@no pa] Sorry, I meant Antlr, of course.

MMU-less systems and vfork.
140774 [binary42@gm ] I have an upcoming project that will be on an MMU-less platform
140816 [spoooq@gm il] You should probably do this in a c extension, you could pass in the execve
140827 [binary42@gm ] Sorry I should have been more clear on this.
+ 140828 [spoooq@gm il] Agreed, theres no way thats going to work. vfork != fork.
| 140829 [spoooq@gm il] Just to explain what I meant by this... For most (ruby) applications,
+ 141158 [timsuth@ih g] The usual build of Ruby on Windows does not use fork - Ruby does not require
  141162 [binary42@gm ] This is what I needed to know. thanks. I should have looked harder but
  141223 [Daniel.Berge] Perhaps adding Process.vfork to core Ruby wouldn't be such a bad idea.
  141568 [nobu.nokada@] Using vfork() resulted SEGV, so it's been replaced with fork().

"Bounty" approach for small pieces of code?
140775 [hal9000@hy e] I seem to recall there was some discussion here of
+ 140807 [hal9000@hy e] Something like that, yes.
| 140808 [hal9000@hy e] For one example, an fxruby tree widget that is like the
| 140810 [lymans@gm il] Already done. You might need to specify a bit more what you're looknig
| + 140811 [joevandyk@gm] I think you're missing the point.
| | 140815 [lymans@gm il] lol... wrong? Nothin'! I've just spent too much time working with
| | 140819 [spoooq@gm il] Last thing I want is a political debate, but Cypress Hill said it best...
| | 140821 [hal9000@hy e] First time I recall seeing CH quoted here... are you insane? In the membrane?
| | + 140822 [spoooq@gm il] In a past life.
| | + 140900 [bg-rubytalk@] best...
| + 140813 [hal9000@hy e] But there's not a widget that can do that "out of the box" as far
|   140817 [lymans@gm il] How black of a box do you want?
|   140820 [hal9000@hy e] Quite right, there would be issues to resolve. This is one that I
|   140826 [james@gr yp ] I'm found of the idea, though you're topic choices haven't touched on
+ 140840 [Bil.Kleb@NA ] I'm definitely interested on the paying end, but
| + 140850 [shalofin@gm ] Depending on the price this is likely to fall under the micro
| + 140851 [Ara.T.Howard] we pay some guys to do work for us.  in addition to a regular contract we have
+ 140877 [gavin@re in ] ...
  + 140879 [shalofin@gm ] The money goes into escrow at some point to ensure the programmer(s)
  + 140880 [agorilla@gm ] Well, as was pointed out recently, the 'Peer Review' feature on
  + 140881 [Ara.T.Howard] if i were programming the service, IRC or http based, i'd make it invite only
    140966 [lymans@gm il] While all of these are 'nice' features - what you're really wanting is

Re: FXRuby 1.2.6 using rubygems
140798 [lyle.johnson] That should be OK. If you wanted to load, say, FXRuby 1.0, you'd do
140801 [vjoel@PA H. ] Oh, yeah, I forgot one of the main reasons why rubygems is so cool!
140886 [redgeREM0VET] Thanks for your quick supply!!!
140901 [lyle.johnson] OK.
140908 [redgeREM0VET] Shame on me ...
140912 [lyle.johnson] Well, no, as you said, the RubyGems implementation of require() was

Sending email w/ attachments
140812 [mwernsing@gm] mail.set_content_type('multipart', blah blah)

[ANN] KirbyBase 2.2
140814 [jcribbs@tw i] I would like to announce version 2.2 of KirbyBase, a simple, pure-Ruby
142966 [lispamateur@] The idea of plain text files appealed to me a lot (I had been pondering
142991 [jcribbs@tw i] This might be the source of the slowness.  Is this field that you are
+ 143011 [surrender_it] why don't use a Time object?
| 143045 [jcribbs@tw i] I chose to have Date/DateTime be field types in KirbyBase, rather than
| 143055 [chneukirchen] ruby 1.8.2 (2004-12-25) [powerpc-darwin7.7.0]
| 143531 [cribbsj@oa w] irb(main):001:0> Time.at -1600000000
+ 143039 [lispamateur@] I left the Date field as a string in the format I originally receive
  143634 [lispamateur@] I found some time now for further experiments, and stored time as an
  143731 [cribbsj@oa w] If I remember my experiments correctly when I first ported KirbyBase

ruby executable
140824 [DHaskin@tr n] does any know if there are tools to produce native executables from ruby
140825 [james_b@ne r] There is nothing that takes Ruby source and produces native code.
+ 141008 [google@er kv] Grab the PDF, print it, take a beer (preferably Dutch beer),
| 141009 [jeff.barczew] Thanks Erik. That is a great article which explains and illustrates
+ 141048 [halostatue@g] Two days ago, this was true. But with Eric Hodel's "I Rock" thread, I
  + 141102 [ptkwt@ar cn ] Well, it's a bit premature to make this declaration.  You might want to
  + 141172 [james_b@ne r] Ah, of course.  But is this at the point of practical,
    141190 [ryand-ruby@z] I'm curious James, as to how far you think we are from that goal. :)
    141206 [james_b@ne r] Oh, I couldn't give any estimates.  I'm basing my optimism on my
    141280 [ryand-ruby@z] Weasel answer! :P
    141294 [james_b@ne r] Um, well, yeah.

win32ole events
140843 [jagenheim@gm] I found a couple of peculiar stuff in win32ole_events.

Has anyone used Ruby for validated FDA applications?
140844 [simon_crase@] I'm considering using Ruby for a project for a medical application; the
+ 140847 [shalofin@gm ] Take two different programs, with two different languages if you must,
+ 140848 [wmorgan-ruby] What would you normally say about your trust in a third-party tool? For
  140858 [ira.burton@g] We have made similar arguments for our php based work and it has never

MuraveyWeb 0.2.1 -- Ruby on Rails CMS
140845 [sdmitry@lr .] Here's a bugfix release of MuraveyWeb. If you're using it, I strongly

Hard Disk Part Library?
140849 [dave.m@em il] is there any lib to part a device using ruby?

Re: FileTest::exists? Not Finding Windows Files with Spaces in Name
140852 [djberg96@ho ] 'ls
140854 [dave@bu t. d] Have you tried with no quotes within the String, like Daniel's example?
140857 [bob.news@gm ] => nil
+ 140872 [Ara.T.Howard] mercifully.  ;-)
+ 141526 [dcorbin@ma h] Or just you forward slashes, the Ruby standard.

Bug Tracker
140856 [xsltguru@gm ] We've been looking for an alternative bug tracking system.  We were
+ 140859 [snowblink@gm] Bugtrack?
| 140860 [xsltguru@gm ] Thanks for the link Jon!
+ 140862 [jason.sweat@] Not written in Ruby, but Scarab (http://scarab.tigris.org/) has a
| 140865 [xsltguru@gm ] Thanks Jason,
+ 140863 [tom@in oe he] Yours,
| 140864 [krsgoss@gm i] You could also look at FogBugz.  Its pretty affordable, and has
| 140871 [xsltguru@gm ] FogBugz has the same technical drawbacks (in our view) as Trac.  And
+ 140866 [demetriusnun] If you're using Subversion for source-code repository, I would stronly
| 140894 [ptkwt@ar cn ] It's funny how everyone is trying to talk Andy out of this project.  If
| + 140899 [xsltguru@gm ] Thanks Phil,
| | + 140906 [shalofin@gm ] Andy,
| | | 140918 [xsltguru@gm ] Wayne,
| | + 140941 [stevetuckner] We currently use Instiki for use to track bugs with task pages. What
| + 140903 [shalofin@gm ] I've been looking at the same problem here too.  If I can get BugTrack
|   140909 [ksruby@gm il] And if you provide me with changes, I'd be glad to include them into
|   140921 [xsltguru@gm ] Ahh Kent! Good to hear from you.  The first step will definitely be to
|   140925 [ksruby@gm il] Sure thing. I was drugged by different projects from the BugTrack
+ 140867 [Stephan.Kaem] Could trac do it?
| + 140869 [xsltguru@gm ] Trac seems to be popular.  I'll have to review it more, but didn't see
| | + 140870 [caleb@ae -t ] <Location "/cgi-bin/trac.cgi/login">
| | + 140873 [usenet@an re] Trac doesn't do any authentication, it relies on the webserver for that.
| + 140876 [Digikata@gm ] If you're looking for a good starting design document you might look at
|   140885 [xsltguru@gm ] Thanks to everyone for their input,links, etc... You guys are fantastic!
+ 141181 [nicholas_wie] I ignore the stage of development of Coterie, but AFAIK it's a TRAC
| 141218 [xsltguru@gm ] Nicholas,
+ 141188 [angdraug@gm ] I don't think you will use it as it is (it's in PHP, and code is
  141217 [xsltguru@gm ] Thanks Dmitri.  And you're probably right.  The more references I get

OpenCascade
140878 [martindemell] Probably asking for too much, but has anyone looked at doing ruby
+ 140905 [lyndon.samso] Bummer, I thought you were talking about the Psion Revo game of
+ 140920 [vjoel@PA H. ] For what kinds of applications?
  140993 [martindemell] 3D CAD and parametric modelling. OpenCascade has excellent support for

[QUIZ] [Solution] Barrel of monkeys
140883 [ruby.brian@g] I once again had the pleasure of solving a ruby quiz. Here's my solution.
141374 [ruby.brian@g] After removing the typos that somehow crept in there and adding a
141387 [gavin@re in ] Nice fit, but it doesn't appear to be a Barrel of Monkeys playlist.
141391 [ruby.brian@g] One should not work on two things at the same time. Nicely spotted ;). *blush*

Pickaxe page 342, Ranges in Boolean Expressions --I don't understand
140884 [gunnar.larss] I can not make sense of the boolean ranges. The example
140887 [lukfugl@gm i] It appears to me that the second condition in the range UNSETs, but
140889 [gunnar.larss] OK.
140893 [bob.news@gm ] It's historic: Perl does it the same way.  It's useful because you can

I rock.
140888 [drbrain@se m] Yup, rb_intern needs to be cached.  Yup, the __self thing is wrong (it
+ 140895 [ptkwt@ar cn ] How does this differ from the current RubyToC stuff?
| 140898 [drbrain@se m] This one (Ruby2RubyC) generates a C extension, where the other tail
| + 140923 [sellberg@gm ] Sounds like a nice way to obfuscate code a bit, for those that are
| + 140924 [nohmad@gm il] Python has PyRex which enables writing CPython extensions
|   140945 [ryand-ruby@z] Ruby2RubyC will probably not, for the first few months at least,
|   140951 [drbrain@se m] Yup, it only bypasses the fast parts of eval.c (AST walking), and none
|   + 140965 [ryand-ruby@z] oooh. I didn't think of that. Not sure why. :P
|   | 141051 [agorilla@gm ] Not being a c programmer, I've been watching this thread (and some
|   | 141094 [drbrain@se m] I think that is on-target.
|   | 141169 [agorilla@gm ] Eric, you and Ryan have impressed me before, but this takes the cake.
|   + 140975 [nohmad@gm il] Oops, by 'type conversion', I meant PyRex-style C types usage.
+ 140944 [ryand-ruby@z] YAY! You do rock! And no, "__self" doesn't suck, but most of the C impl

un_metaclass
140890 [Ara.T.Howard] thoughts on how to do this
+ 140892 [bob.news@gm ] I'd prefer to call it #instance 'cause that's what it is. :-)
| + 140897 [Ara.T.Howard] hmmm.  ok.  any ideas?  i'm playing with nesting and ancestors - but no luck.
| | 140904 [kig@mi fi in] class Class
| | 140911 [Ara.T.Howard] is that perl?  ;-)
| | 140973 [Ara.T.Howard] it seems to miss much of the time?
| + 140907 [Ara.T.Howard] class Module
+ 140964 [discordantus] heh... I was ahead of you on that one :) in the "inside_metaclass?"
  140972 [Ara.T.Howard] class Module
  140985 [discordantus] Ugh. I hadn't thought about the metaclasses of classes, or the
  141022 [Ara.T.Howard] the only reason i did is that i needed
  141055 [discordantus] The problem the the above definition of inside_metaclass? is that it
  141086 [Ara.T.Howard] hmm.  so how else to do it?

[ANN] Packgen 0.1
140896 [nospam@lu ac] I'm happy to announce the first release of my first "real" project coded

RMagick build problem on OS X
140902 [usenet@an re] I've got a problem with RMagick on OS X. I have installed the
140914 [sastph@sa .c] I've not had much luck with fink. Try the procedure I describe at

Typo-checking instead of static typing
140910 [bg-rubytalk@] Once again, static typing reared its head on the mailing list, and once
+ 140913 [curt@hi bs c] As I read this, I immediately imagined parsing all the individual tokens
+ 140916 [ggg@se 1. et] once
| + 140931 [john.carter@] Searches through all defined symbols for near misses in namespace.
| | 141003 [joost@ze ka ] It's also interesting to note that perl does a simpler (but surprisingly
| + 140992 [bob.news@gm ] Thanks for that comprehensive summary.  However I don't fully agree: in
+ 140922 [james_b@ne r] The arguments I've heard for static typing rarely focus on catching
+ 140930 [drbrain@se m] between midnight and 4am.  As you can imagine, writing code tired is
| 140932 [hal9000@hy e] Let me put in a plug for code coverage tools in general.
| + 140935 [drbrain@se m] ZenTest?
| | + 140936 [hal9000@hy e] I don't know ZenTest. I was thinking of rcov or whatever
| | + 140939 [pat.eyler@gm] recently (to be published soon) -- first without unit_test, then the
| |   140940 [pat.eyler@gm] [lots of test result stuff snipped]
| + 141052 [cmills@fr es] seldom-run
|   141112 [flori@ni e. ] (flori@lambda:flori 0)$ gem list -r |grep covera
+ 140958 [nickwoolley@] At the risk of being jeered: I have found perl's 'use strict' with 'my'
| + 140963 [hal9000@hy e] It's not a question of cluelessness, but I would state it
| + 141012 [florgro@gm i] The latter is available through ruby-contract. See
+ 141005 [jlsysinc@al ] Not a typo, and arguably anything is a braino.
  141068 [joevandyk@gm] That's about my most common error too (it ties with a parse error due
  + 141092 [hal9000@hy e] Yes. Most languages just shift this "boundary problem" into
  + 141096 [bg-rubytalk@] Python to the rescue!  See, when your language doesn't have end statements
    + 141103 [joaopedrosa@] Go with Java and use Generics. Avoid reflection, bytecode engineering
    + 141105 [joost@ze ka ] [ snip ]
      + 141116 [bg-rubytalk@] anyway.
      + 141465 [bg-rubytalk@] anyway.
        + 141467 [mrcode@ne ro] Absolutely. In fact, this should be the norm. When you consider edge cases
        | 141468 [bg-rubytalk@] cases
        | 141504 [jlsysinc@al ] This one is rather tricky.
        | 141570 [mrcode@ne ro] [snip tests]
        + 141477 [ruby-ml@ma i] Did you try Ryan Davis' zentest[1]? It automatically generates

Question about unit tests
140915 [vfoley@gm il] I'm writing a small LiveJournal client, and I have a question for the
+ 140917 [Daniel.Berge] You could test with your password, but distribute with a bogus password
+ 140919 [pat.eyler@gm] You might try contacting LiveJournal to see if they have a test account, or
  140927 [tom@in oe he] Yup, or from an environment variable.
  140933 [Stephan.Kaem] Or let the tests read it from a configuration file. YAML comes to mind..

[ANN] traits-0.0.0
140926 [Ara.T.Howard] URLS
+ 140928 [Daniel.Berge] Dan
| + 140934 [Ara.T.Howard] indication, mark, note, particularity, peculiarity, point, property,
| | 140937 [vjoel@PA H. ] But that shouldn't cause any confusion to ruby folks...
| | 140947 [Ara.T.Howard] hmm.  i'll change it back to 'attributes' if people are going to use it but
| | + 140952 [vjoel@PA H. ] class C
| | | + 140960 [Ara.T.Howard] i like it - but name clashes...
| | | | 140988 [usenet2@no p] What about "member"?
| | | | 141019 [Ara.T.Howard] for some reason that implies either a function or bad joke to me ;-)
| | | + 140991 [surrender_it] +1 lovely :)
| | |   141020 [Ara.T.Howard] ok - an alias for 'has' ;-)
| | + 140954 [agorilla@gm ] I like 'traits', it's a good synonym for attributes, even gets all of
| | | 140974 [Ara.T.Howard] cool.  thats 3 for and 2 against.
| | + 141004 [jlsysinc@al ] Noooo!  I've already got 1000 lines of ruby code dependent on this module!
| + 140983 [zdennis@mk e] ...
| | 141016 [Ara.T.Howard] i actually had the whole thing wrapped in a Traits module...  i'm ok with this
| + 141038 [chneukirchen] Yeah, I thought that too... to me traits are mix-ins (possibly limited
+ 140929 [dave.m@em il] Magnificent !
+ 140955 [kh@ne cl ar ] Very cool, this is along the lines of something I've been toying with for
  140976 [Ara.T.Howard] so mtrait would be a wrapper on trait?
  141044 [kh@ne cl ar ] to
threads.html
top