Re: [MacRuby-devel] Request for feedback on new tutorial

2010-08-24 Thread Nick Ludlam
Brilliant, thanks Laurent. There's loads of topics that writing my own app has thrown up, so hopefully I can make time to write a few more, and build it into a series. On 24 Aug 2010, at 21:42, Laurent Sansonetti wrote: > Thanks for the modifications, Matt merged them and I just re-deployed the

Re: [MacRuby-devel] Request for feedback on new tutorial

2010-08-24 Thread Laurent Sansonetti
Thanks for the modifications, Matt merged them and I just re-deployed the website. Your article is now live :) http://www.macruby.org/documentation/reading-an-mp3-with-macruby.html Laurent On Aug 23, 2010, at 2:22 PM, Nick Ludlam wrote: > Hi Thibault, it's actually me who wrote the tutorial, a

Re: [MacRuby-devel] Request for feedback on new tutorial

2010-08-23 Thread Nick Ludlam
Heh, no problem! I'm planning to write a followup tutorial, using the mp3 bundle from the first tutorial to make Podcast RSS feeds with ControlTower, which should be fun. On 23 Aug 2010, at 23:50, Thibault Martin-Lagardette wrote: > Hi Nick, > > Weirdly I did know that it was you, but you know

Re: [MacRuby-devel] Request for feedback on new tutorial

2010-08-23 Thread Thibault Martin-Lagardette
Hi Nick, Weirdly I did know that it was you, but you know, when you read something, sometimes you end up typing / saying whatever you're reading when doing both at the same time. Haha :D. I'm really sorry I wrote the wrong name. Let me thank you again for your work :-) -- Thibault Martin-Lag

Re: [MacRuby-devel] Request for feedback on new tutorial

2010-08-23 Thread Nick Ludlam
Hi Thibault, it's actually me who wrote the tutorial, and Emil who gave me really solid feedback on some required steps I managed to miss out first time round. I've done what you've recommended and changed the example irb session to use simple-prompt mode. It's now pushed to http://github.com

Re: [MacRuby-devel] Request for feedback on new tutorial

2010-08-23 Thread Thibault Martin-Lagardette
Hi Emil! That's very awesome work, thanks for the dedication of making a tutorial! I would simply want to add, maybe you should launch macirb with --simple-prompt, it makes the output a little nicer and clearer I think (at least for that kind of examples where line numbers are not really needed

Re: [MacRuby-devel] Request for feedback on new tutorial

2010-08-22 Thread Nick Ludlam
Fantastic feedback, thanks again. I've included comments inline below, and I've updated the preview at http://recoil.org/~nick/macruby/documentation/realworld-dynamic-bundles.h On 20 Aug 2010, at 14:51, Emil Tin wrote: > progress! > I downloaded your project, and it builds without problems. Co

Re: [MacRuby-devel] Request for feedback on new tutorial

2010-08-20 Thread Emil Tin
progress! I downloaded your project, and it builds without problems. Comparing them I found out that: 1. my project was missing the 'Copy Headers' build phase. 2. after adding a 'copy headers' phase, and using the get info.. then checkbox method to add headers files from the taglib target to t

Re: [MacRuby-devel] Request for feedback on new tutorial

2010-08-20 Thread Nick Ludlam
Thanks very much Emil. I'll go through the points: 1. Good catch. I'll replace this with 'curl' since it's part of the base system. 2. I'll describe this step in a little more detail, perhaps with a screenshot. There is a reasonable familiarity with XCode that's assumed, though. 3. I suspect

Re: [MacRuby-devel] Request for feedback on new tutorial

2010-08-20 Thread Emil Tin
nice tutorials! i tried following the tutorial but ran into a few problems: 1. wget command was not found. wget is not installed by default in os x, it seems. 2. linking agains foundation and libz: as an xcode beginner, i had to guess a bit to figure out how to do this. i suppose you mean addi

Re: [MacRuby-devel] Request for feedback on new tutorial

2010-08-20 Thread Nick Ludlam
Oh you're right, that hadn't even occurred to me! I'm still thinking in non-GC terms with my Obj-C code because it's all influenced by iOS development. I'll fix up the wrapper source and tutorial accordingly, and post back with the URLs for the website and example git project. Nick On 19 Aug

Re: [MacRuby-devel] Request for feedback on new tutorial

2010-08-19 Thread Laurent Sansonetti
Hi Nick, It looks pretty good to me! I just have a question regarding the Objective-C wrapper. Since the goal is to use it through MacRuby, why not compiling the project with -fobjc-gc-only and simplify the code? @interface TagLib : NSObject { NSDictionary *tags; } @end void Init_TagLibBun

[MacRuby-devel] Request for feedback on new tutorial

2010-08-19 Thread Nick Ludlam
I've written up a first draft of a tutorial on taking C/C++, wrapping the code in a simple Obj-C class, then exporting this as a bundle which can be loaded by MacRuby. In this case, it's about wrapping the open-source TagLib library in order to extract ID3 tags from mp3 files. If people have th