From aeyakovenko at gmail.com Tue Jun 12 23:14:14 2007 From: aeyakovenko at gmail.com (Anatoly Yakovenko) Date: Tue, 12 Jun 2007 20:14:14 -0700 Subject: [Rant-cafe] is there anybody out there Message-ID: Is rant still being developed? Or has it reached perfection? Anatoly From russel at russel.org.uk Wed Jun 13 06:07:18 2007 From: russel at russel.org.uk (Russel Winder) Date: Wed, 13 Jun 2007 11:07:18 +0100 Subject: [Rant-cafe] is there anybody out there In-Reply-To: References: Message-ID: <1181729239.11220.85.camel@balin.russel.org.uk> Anatoly, On Tue, 2007-06-12 at 20:14 -0700, Anatoly Yakovenko wrote: > Is rant still being developed? Or has it reached perfection? Yes and no. Definitely not, but... :-) Part of the `issue' is that Stefan's direction took a turn and so he has little time for Rant. Xavier's life changed hugely and he basically gave up programming. I suspect there are quite a number of people using Rant but it does all they need so they don't do much development of Rant itself. Also of course some projects use Rake rather than Rant as a base, cf. Buildr. For my own part, I have contributed some bits and pieces for LaTeX processing and will be updating that as and when. Most of the LaTeX support code I have is for book writing using LaTeX and is probably not something that should go in Rant per se. (The material is available from my Subversion server if anyone wants it.) I may soon have to do more C++ and Fortran work at which point I will have to decide between building up the Rant infrastructure or just using SCons or Waf. This is a difficult issue for me: I prefer Ruby to Python for this sort of thing, but the SCons infrastructure is already there and the community very active. It is all about community and creating a momentum behind project development. Last year it seemed that there might be a number of people going to contribute more to the Rant infrastructure, but it petered out unfortunately. So the upshot of this is that if a group of people can agree on a roadmap for development of Rant, and get stuck in to doing it, then it can happen. -- Russel. ==================================================== Dr Russel Winder +44 20 7585 2200 41 Buckmaster Road +44 7770 465 077 London SW11 1EN, UK russel at russel.org.uk -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://rubyforge.org/pipermail/rant-cafe/attachments/20070613/4e3295c7/attachment.bin From aeyakovenko at gmail.com Wed Jun 13 10:16:31 2007 From: aeyakovenko at gmail.com (Anatoly Yakovenko) Date: Wed, 13 Jun 2007 07:16:31 -0700 Subject: [Rant-cafe] is there anybody out there In-Reply-To: <1181729239.11220.85.camel@balin.russel.org.uk> References: <1181729239.11220.85.camel@balin.russel.org.uk> Message-ID: I am glad to hear that someone is out there. > I may soon have to do more C++ and Fortran work at which point I will > have to decide between building up the Rant infrastructure or just using > SCons or Waf. This is a difficult issue for me: I prefer Ruby to > Python for this sort of thing, but the SCons infrastructure is already > there and the community very active. It is all about community and > creating a momentum behind project development. Last year it seemed > that there might be a number of people going to contribute more to the > Rant infrastructure, but it petered out unfortunately. I am tinkering around with rake for a somewhat big C project at work. Actually what I like about it over SCons and Waf is the native ruby syntax and that Rant does very little in terms of features. We've tried SCons a while back, and it failed to get any internal interest over using vanilla make. Personally it doesn't look like I need any more features, but I was more concerned if there was anyone to accept any bugs and hopefully patches. So far I have not come across any. One thing I was looking into adding to Rant is the ability to generate a brain dead makefile for the current build targets. So something like rant --create-makefile foo > Makefile will generate as dead simple as possible non recursive Makefile that knows how to build foo and its dependencies. Unfortunately lots of tools for distributing large builds depend on make, so I guess a fancy feature for Rant would be to distribute its build across multiple machines. By the way, do you know of any performance issues related to Rant? So far just comparing to Make its a lot faster. I suspect its mostly due to Rant not forking bash for every shell command. From aeyakovenko at gmail.com Wed Jun 13 10:17:59 2007 From: aeyakovenko at gmail.com (Anatoly Yakovenko) Date: Wed, 13 Jun 2007 07:17:59 -0700 Subject: [Rant-cafe] is there anybody out there In-Reply-To: References: <1181729239.11220.85.camel@balin.russel.org.uk> Message-ID: > I am tinkering around with rake for a somewhat big C project at work. Got myself mixed up, i meant to say that I've been using Rant instead of Rake. From langstefan at gmx.at Wed Jun 13 15:58:37 2007 From: langstefan at gmx.at (Stefan Lang) Date: Wed, 13 Jun 2007 21:58:37 +0200 Subject: [Rant-cafe] Further Rant development Message-ID: <200706132158.37739.langstefan@gmx.at> I've accidently sent this mail to the old make-cafe mailing list first. Sorry for any confusion. ----------------------------------------------------------- Hi all, As Russel has hinted at, I've little time for Rant and that won't change in the near future. So personally, I won't develop any big features anytime soon. Anyway, Rant is a very useful tool for me, so at least I'll keep up maintenance. If someone of you has a greater vision for Rant, and is willing to take over leadership, I'll happily pass it on. If no one steps up until then, I intend to make a symbolic 1.0 release by the end of July and we'll keep backwards compatibility in later releases. Of course in this case feature contributions and bufixes are still very welcome and we'll hand out subversion access to regular contributors. Thanks, Stefan From aeyakovenko at gmail.com Wed Jun 13 19:30:46 2007 From: aeyakovenko at gmail.com (Anatoly Yakovenko) Date: Wed, 13 Jun 2007 16:30:46 -0700 Subject: [Rant-cafe] Further Rant development In-Reply-To: <200706132158.37739.langstefan@gmx.at> References: <200706132158.37739.langstefan@gmx.at> Message-ID: > If no one steps up until then, I intend to make a symbolic > 1.0 release by the end of July and we'll keep backwards > compatibility in later releases. Of course in this case > feature contributions and bufixes are still very welcome > and we'll hand out subversion access to regular contributors. Great, thats what I was hoping for. From russel at russel.org.uk Thu Jun 14 14:56:19 2007 From: russel at russel.org.uk (Russel Winder) Date: Thu, 14 Jun 2007 19:56:19 +0100 Subject: [Rant-cafe] Ubuntu / Mac OS X difference Message-ID: <1181847379.11220.325.camel@balin.russel.org.uk> I have a LaTeX build that works fine on Ubuntu but on Mac OS X every time epstopdf is run the build crashes out: |> rant epstopdf --outfile=Figures/inheritingClass/gui_tree.pdf Figures/inheritingClass/gui_tree.dia.eps rant: [ERROR] in file `/home/Checkouts/Subversion/Rant/trunk/lib/rant/rantlib.rb', line 738: rant: [ERROR] Task `default' fail. rant aborted! |> If I run the epsftopdf command manually it terminates fine and checking the return code it is 0, so I have no idea what the problem is. Does anyone else see this sort of Mac OS X specific problem? -- Russel. ==================================================== Dr Russel Winder +44 20 7585 2200 41 Buckmaster Road +44 7770 465 077 London SW11 1EN, UK russel at russel.org.uk -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://rubyforge.org/pipermail/rant-cafe/attachments/20070614/8d39503c/attachment-0001.bin From langstefan at gmx.at Thu Jun 14 16:47:21 2007 From: langstefan at gmx.at (Stefan Lang) Date: Thu, 14 Jun 2007 22:47:21 +0200 Subject: [Rant-cafe] Ubuntu / Mac OS X difference In-Reply-To: <1181847379.11220.325.camel@balin.russel.org.uk> References: <1181847379.11220.325.camel@balin.russel.org.uk> Message-ID: <200706142247.21381.langstefan@gmx.at> On Donnerstag, 14. Juni 2007, Russel Winder wrote: > I have a LaTeX build that works fine on Ubuntu but on Mac OS X > every > > time epstopdf is run the build crashes out: > |> rant > > epstopdf --outfile=Figures/inheritingClass/gui_tree.pdf > Figures/inheritingClass/gui_tree.dia.eps > rant: [ERROR] in file > `/home/Checkouts/Subversion/Rant/trunk/lib/rant/rantlib.rb', line > 738: rant: [ERROR] Task `default' fail. > rant aborted! > > > If I run the epsftopdf command manually it terminates fine and > checking the return code it is 0, so I have no idea what the > problem is. Does anyone else see this sort of Mac OS X specific > problem? ATM I have no access to a mac. Could you run it via system from irb, to narrow the problem? Once via system "epstopdf", "firstarg", "nextarg"... and once via system "epstopdf firstarg nextarg..." and inspect $? after each run. Stefan From russel at russel.org.uk Fri Jun 15 06:53:38 2007 From: russel at russel.org.uk (Russel Winder) Date: Fri, 15 Jun 2007 11:53:38 +0100 Subject: [Rant-cafe] Ubuntu / Mac OS X difference In-Reply-To: <200706142247.21381.langstefan@gmx.at> References: <1181847379.11220.325.camel@balin.russel.org.uk> <200706142247.21381.langstefan@gmx.at> Message-ID: <1181904818.11220.382.camel@balin.russel.org.uk> Stefan, > Could you run it via system from irb, to narrow the problem? > Once via > > system "epstopdf", "firstarg", "nextarg"... > > and once via > > system "epstopdf firstarg nextarg..." > > and inspect $? after each run. From the Bash command line: |> epstopdf --outfile=Figures/theFundamentals/square.pdf Figures/theFundamentals/square.dia.eps |> echo $? 0 |> Using irb: |> irb irb(main):001:0> system( "epstopdf --outfile=Figures/theFundamentals/square.pdf Figures/theFundamentals/square.dia.eps" ) => false irb(main):002:0> system( "epstopdf" , "--outfile=Figures/theFundamentals/square.pdf" , "Figures/theFundamentals/square.dia.eps" ) => false |> I guess this is a path problem of some sort. |> echo $PATH .:/Users/russel/bin:/Users/russel/lib/Java/groovy/bin:/Users/russel/lib/Java/maven/bin:/Users/russel/lib/Scala/bin:/usr/local/teTeX/bin/i386-apple-darwin-current:/Library/Frameworks/Python.framework/Versions/Current/bin:/opt/local/bin:/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/teTeX/bin/i386-apple-darwin-current |> which epstopdf /usr/local/teTeX/bin/i386-apple-darwin-current/epstopdf |> -- Russel. ==================================================== Dr Russel Winder +44 20 7585 2200 41 Buckmaster Road +44 7770 465 077 London SW11 1EN, UK russel at russel.org.uk -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://rubyforge.org/pipermail/rant-cafe/attachments/20070615/062f792c/attachment.bin From langstefan at gmx.at Fri Jun 15 09:08:45 2007 From: langstefan at gmx.at (Stefan Lang) Date: Fri, 15 Jun 2007 15:08:45 +0200 Subject: [Rant-cafe] Ubuntu / Mac OS X difference In-Reply-To: <1181904818.11220.382.camel@balin.russel.org.uk> References: <1181847379.11220.325.camel@balin.russel.org.uk> <200706142247.21381.langstefan@gmx.at> <1181904818.11220.382.camel@balin.russel.org.uk> Message-ID: <200706151508.45128.langstefan@gmx.at> On Freitag, 15. Juni 2007, Russel Winder wrote: > From the Bash command line: > |> epstopdf --outfile=Figures/theFundamentals/square.pdf > > Figures/theFundamentals/square.dia.eps > > |> echo $? > > 0 Sorry, I meant the $? variable in irb. > Using irb: > |> irb > > irb(main):001:0> system( "epstopdf > --outfile=Figures/theFundamentals/square.pdf > Figures/theFundamentals/square.dia.eps" ) > => false > irb(main):002:0> system( "epstopdf" , > "--outfile=Figures/theFundamentals/square.pdf" , > "Figures/theFundamentals/square.dia.eps" ) > => false > > > I guess this is a path problem of some sort. > > |> echo $PATH Compare it to ENV["PATH"] in irb, and also try require "rant/rantlib" Rant::Env.find_bin "epstopdf" # returns full path if found Stefan From russel at russel.org.uk Fri Jun 15 09:32:13 2007 From: russel at russel.org.uk (Russel Winder) Date: Fri, 15 Jun 2007 14:32:13 +0100 Subject: [Rant-cafe] Ubuntu / Mac OS X difference In-Reply-To: <200706151508.45128.langstefan@gmx.at> References: <1181847379.11220.325.camel@balin.russel.org.uk> <200706142247.21381.langstefan@gmx.at> <1181904818.11220.382.camel@balin.russel.org.uk> <200706151508.45128.langstefan@gmx.at> Message-ID: <1181914333.11220.397.camel@balin.russel.org.uk> On Fri, 2007-06-15 at 15:08 +0200, Stefan Lang wrote: > Compare it to ENV["PATH"] in irb, and also try > > require "rant/rantlib" > Rant::Env.find_bin "epstopdf" # returns full path if found Path and everything are OK. I have, however, found an angle on the problem... It looks like it might be that this might be some shoddy porting by teTeX. epsftopdf is a Perl script -- sad but... :-) The Ubuntu version starts with: #!/usr/bin/env perl and everything seems fine. However the Mac OS X version starts: eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' && eval 'exec perl -S $0 $argv:q' if 0; and fails to run when executed by Ruby via it's system functions. -- Russel. ==================================================== Dr Russel Winder +44 20 7585 2200 41 Buckmaster Road +44 7770 465 077 London SW11 1EN, UK russel at russel.org.uk -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://rubyforge.org/pipermail/rant-cafe/attachments/20070615/d462e583/attachment.bin From langstefan at gmx.at Fri Jun 15 11:04:51 2007 From: langstefan at gmx.at (Stefan Lang) Date: Fri, 15 Jun 2007 17:04:51 +0200 Subject: [Rant-cafe] Ubuntu / Mac OS X difference In-Reply-To: <1181914333.11220.397.camel@balin.russel.org.uk> References: <1181847379.11220.325.camel@balin.russel.org.uk> <200706151508.45128.langstefan@gmx.at> <1181914333.11220.397.camel@balin.russel.org.uk> Message-ID: <200706151704.51497.langstefan@gmx.at> On Freitag, 15. Juni 2007, you wrote: > On Fri, 2007-06-15 at 15:08 +0200, Stefan Lang wrote: > > Compare it to ENV["PATH"] in irb, and also try > > > > require "rant/rantlib" > > Rant::Env.find_bin "epstopdf" # returns full path if found > > Path and everything are OK. I have, however, found an angle on the > problem... > > It looks like it might be that this might be some shoddy porting by > teTeX. epsftopdf is a Perl script -- sad but... :-) The Ubuntu > version starts with: > > #!/usr/bin/env perl > > and everything seems fine. However the Mac OS X version starts: > > eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' && eval 'exec > perl -S $0 $argv:q' > if 0; > > and fails to run when executed by Ruby via it's system functions. This looks like a shell trampoline and explains why system "epstopdf", "..." fails, since it doesn't run the command in a subshell, but directly invokes the epstopdf program. OTOH, system with one argument, i.e. system "epstopdf ..." _should_ run the command in a subshell and thus the trampoline should work. That's weird. I suggest you try to either explicetely invoke a subshell or directly the perl interpreter, i.e. in the Rantfile: sys "sh", "-c", "epstopdf", "...", "..." or sys "perl", "epstopdf", "...", "..." ----------------------------------------------------------- I've tried the trampoline on my Linux box now, and it doesn't work with Ruby's system but works when directly invoked from the shell. Both of the solutions I've given above work with the trampoline. Stefan From xavier-list at rhnh.net Sat Jun 30 21:17:15 2007 From: xavier-list at rhnh.net (Xavier Shay) Date: Sun, 01 Jul 2007 11:17:15 +1000 Subject: [Rant-cafe] is there anybody out there In-Reply-To: <1181729239.11220.85.camel@balin.russel.org.uk> References: <1181729239.11220.85.camel@balin.russel.org.uk> Message-ID: <1183252635.5492.16.camel@puma> > Xavier's life changed hugely and he basically > gave up programming. You won't believe it but as of this weekend I now have a place to live AND an internet connection! That took waaay too long. I might actually be able to code outside of work now... Xav