From shugo at ruby-lang.org Thu Jun 1 01:45:22 2006 From: shugo at ruby-lang.org (Shugo Maeda) Date: Thu, 01 Jun 2006 14:45:22 +0900 Subject: [Vit-core] page preview In-Reply-To: <447D0FFB.6090000@johnwlong.com> References: <447A5D16.3040104@ruby-lang.org> <447A77E0.6030700@johnwlong.com> <447BCAB2.9050008@ruby-lang.org> <447C3A19.6050209@johnwlong.com> <447CF347.4010208@ruby-lang.org> <447D0FFB.6090000@johnwlong.com> Message-ID: <447E7EF2.3030404@ruby-lang.org> Hi, John W. Long wrote: >> But I'll be more happy if I can see preview before saving changes;) > > I'm accepting patches. :) How about this patch? Shugo -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: radiant-preview.diff Url: http://rubyforge.org/pipermail/vit-core/attachments/20060601/a052509a/attachment.bat From james at grayproductions.net Thu Jun 1 11:25:13 2006 From: james at grayproductions.net (James Edward Gray II) Date: Thu, 1 Jun 2006 10:25:13 -0500 Subject: [Vit-core] Code Samples In-Reply-To: <4DB273C4-2978-44A5-B970-BE7D8EA63FF6@infofiend.com> References: <56EC29BF-1861-4F9E-BF7D-E3BAECAAFE9B@grayproductions.net> <4DB273C4-2978-44A5-B970-BE7D8EA63FF6@infofiend.com> Message-ID: On May 31, 2006, at 5:20 PM, Ben Giddings wrote: > On May 29, 2006, at 23:13, James Edward Gray II wrote: >> In short, Jared worries that we might be making people think Hello >> World is a complicated thing in Ruby. It seems like a fair complaint >> to me. What do others think? > > Personally (and I'm biased because I wrote the sample) I don't think > it's too confusing. I bet if we took someone who was a programmer, > but has never seen Ruby and showed them that sample, they'd know it > wasn't just a Hello World program, it was more an example of Ruby > class structure, etc. > > I think a bunch of other ways of doing "Hello World" would be a good > sample too. Using "puts", "print", and any other inventive ways of > doing Hello World I think would be great. Here are the three code samples I have up now: ========== # The Greeter class class Greeter def initialize(name) @name = name.capitalize end def salute puts "Hello #{@name}!" end end # Create a new object g = Greeter.new("world") # Output "Hello World!" g.salute ========== # The famous Hello World # program is trivial in # Ruby. You don't need: # # * a "main" method # * newline escapes # * semicolons # # Here's the code: puts "Hello World!" ========== say = "I love Ruby" say['love'] = "*love*" # Output "I *love* Ruby" puts say # Output "I *LOVE* RUBY" puts say.upcase # Output "I *love* Ruby" # five times 5.times { puts say } ========== Please let me know if there are any problems with these. James Edward Gray II From ng at johnwlong.com Thu Jun 1 18:02:22 2006 From: ng at johnwlong.com (John W. Long) Date: Thu, 01 Jun 2006 18:02:22 -0400 Subject: [Vit-core] page preview In-Reply-To: <447E7EF2.3030404@ruby-lang.org> References: <447A5D16.3040104@ruby-lang.org> <447A77E0.6030700@johnwlong.com> <447BCAB2.9050008@ruby-lang.org> <447C3A19.6050209@johnwlong.com> <447CF347.4010208@ruby-lang.org> <447D0FFB.6090000@johnwlong.com> <447E7EF2.3030404@ruby-lang.org> Message-ID: <447F63EE.6060005@johnwlong.com> Shugo Maeda wrote: > John W. Long wrote: >>> But I'll be more happy if I can see preview before saving changes;) >> I'm accepting patches. :) > > How about this patch? That's cool Shugo. I'm doing a bit of traveling over the next week or so, but I'll take a better look at it when I get back. -- John From ng at johnwlong.com Mon Jun 12 15:28:07 2006 From: ng at johnwlong.com (John W. Long) Date: Mon, 12 Jun 2006 15:28:07 -0400 Subject: [Vit-core] page preview In-Reply-To: <447E7EF2.3030404@ruby-lang.org> References: <447A5D16.3040104@ruby-lang.org> <447A77E0.6030700@johnwlong.com> <447BCAB2.9050008@ruby-lang.org> <447C3A19.6050209@johnwlong.com> <447CF347.4010208@ruby-lang.org> <447D0FFB.6090000@johnwlong.com> <447E7EF2.3030404@ruby-lang.org> Message-ID: <448DC047.9090709@johnwlong.com> Shugo Maeda wrote: >>> But I'll be more happy if I can see preview before saving changes;) >> I'm accepting patches. :) > > How about this patch? Shugo, I've reviewed the patch and updated it to work with the latest version of Radiant (see attached). It looks like there are a couple of things that would need to change if this was to be integrated into the core: * Pages should probably be previewed on their own URL in some way. Right now they show up on /admin/pages/edit/230 (or something of that nature). This causes some of the tags to work incorrectly (e.g. ). * Transactions. If I understand things correctly, transactions aren't supported by all of the databases that Rails supports. I'm currently programing Radiant for MySQL, PostgreSQL, and SQLite. MySQL with the default MyISAM database type doesn't support transactions. I'm not sure about the others. Something should be done about this issue. * Tests. I need unit tests for everything integrated into the core. The patch currently causes at least one of the assertions to fail. Mind if I submit your patch to the Radiant mailing list (http://radiantcms.org/mailing-list/)? I'm sure that there are others who would like to look at it. -- John -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: radiant-preview-2.diff Url: http://rubyforge.org/pipermail/vit-core/attachments/20060612/cf4102ed/attachment.bat From james at grayproductions.net Mon Jun 12 16:29:21 2006 From: james at grayproductions.net (James Edward Gray II) Date: Mon, 12 Jun 2006 15:29:21 -0500 Subject: [Vit-core] page preview In-Reply-To: <448DC047.9090709@johnwlong.com> References: <447A5D16.3040104@ruby-lang.org> <447A77E0.6030700@johnwlong.com> <447BCAB2.9050008@ruby-lang.org> <447C3A19.6050209@johnwlong.com> <447CF347.4010208@ruby-lang.org> <447D0FFB.6090000@johnwlong.com> <447E7EF2.3030404@ruby-lang.org> <448DC047.9090709@johnwlong.com> Message-ID: <29C0402F-DDF6-4FBF-8199-180C085BF7D2@grayproductions.net> On Jun 12, 2006, at 2:28 PM, John W. Long wrote: > * Transactions. If I understand things correctly, transactions aren't > supported by all of the databases that Rails supports. I'm currently > programing Radiant for MySQL, PostgreSQL, and SQLite. MySQL with the > default MyISAM database type doesn't support transactions. I'm not > sure about the others. Something should be done about this issue. If you use Rails migrations and don't force something different, the default is to use InnoDB tables for this very reason. James Edward Gray II From ng at johnwlong.com Tue Jun 13 21:37:06 2006 From: ng at johnwlong.com (John W. Long) Date: Tue, 13 Jun 2006 21:37:06 -0400 Subject: [Vit-core] RSS Feeds Message-ID: <448F6842.9020001@johnwlong.com> I've setup two news feeds for Ruby-Lang: * http://new.ruby-lang.org/en/feeds/news.rss * http://new.ruby-lang.org/ja/feeds/news.rss Shugo, the Japanese feed may need some translation (the title and description are in English). Why, you had mentioned the idea of having a feed that only delivered summaries. If we choose to take that route it will require that we write summaries for every post in the news section. I would be happy to setup a summaries feed, but I want to make sure that we are committed to doing that for all of the new news items. -- John From ng at johnwlong.com Tue Jun 13 21:54:11 2006 From: ng at johnwlong.com (John W. Long) Date: Tue, 13 Jun 2006 21:54:11 -0400 Subject: [Vit-core] News Section Message-ID: <448F6C43.1040008@johnwlong.com> I updated the news section this evening adding yearly and monthly index pages as well as a couple of sidebars: http://new.ruby-lang.org/en/news/ http://new.ruby-lang.org/en/news/2005/ http://new.ruby-lang.org/en/news/2005/ http://new.ruby-lang.org/en/news/2005/06/ http://new.ruby-lang.org/en/news/2005/06/22/upgrade-to-debian-gnulinux-31/ The Japanese news section will need to be updated to reflect this. -- John From shugo at ruby-lang.org Wed Jun 14 06:58:50 2006 From: shugo at ruby-lang.org (Shugo Maeda) Date: Wed, 14 Jun 2006 19:58:50 +0900 Subject: [Vit-core] page preview In-Reply-To: <448DC047.9090709@johnwlong.com> References: <447A5D16.3040104@ruby-lang.org> <447A77E0.6030700@johnwlong.com> <447BCAB2.9050008@ruby-lang.org> <447C3A19.6050209@johnwlong.com> <447CF347.4010208@ruby-lang.org> <447D0FFB.6090000@johnwlong.com> <447E7EF2.3030404@ruby-lang.org> <448DC047.9090709@johnwlong.com> Message-ID: <448FEBEA.3060709@ruby-lang.org> Hi, John W. Long wrote: > Mind if I submit your patch to the Radiant mailing list > (http://radiantcms.org/mailing-list/)? I'm sure that there are others > who would like to look at it. Certainly, I don't mind. Thank you. Shugo From shugo at ruby-lang.org Wed Jun 14 07:08:21 2006 From: shugo at ruby-lang.org (Shugo Maeda) Date: Wed, 14 Jun 2006 20:08:21 +0900 Subject: [Vit-core] RSS Feeds In-Reply-To: <448F6842.9020001@johnwlong.com> References: <448F6842.9020001@johnwlong.com> Message-ID: <448FEE25.3030103@ruby-lang.org> Hi, John W. Long wrote: > I've setup two news feeds for Ruby-Lang: > > * http://new.ruby-lang.org/en/feeds/news.rss > * http://new.ruby-lang.org/ja/feeds/news.rss > > Shugo, the Japanese feed may need some translation (the title and > description are in English). Thanks, I translated it. Shugo From james at grayproductions.net Wed Jun 14 07:47:07 2006 From: james at grayproductions.net (James Edward Gray II) Date: Wed, 14 Jun 2006 06:47:07 -0500 Subject: [Vit-core] News Section In-Reply-To: <448F6C43.1040008@johnwlong.com> References: <448F6C43.1040008@johnwlong.com> Message-ID: <6CB69FF4-772F-40F6-8A34-970A3EE1C091@grayproductions.net> On Jun 13, 2006, at 8:54 PM, John W. Long wrote: > I updated the news section this evening adding yearly and monthly > index > pages as well as a couple of sidebars: > > http://new.ruby-lang.org/en/news/ > http://new.ruby-lang.org/en/news/2005/ > http://new.ruby-lang.org/en/news/2005/ > http://new.ruby-lang.org/en/news/2005/06/ > http://new.ruby-lang.org/en/news/2005/06/22/upgrade-to-debian- > gnulinux-31/ John this is terrific. I especially love the monthly breakdown in the yearly views. Thank you! James Edward Gray II From curt.hibbs at gmail.com Wed Jun 14 10:57:45 2006 From: curt.hibbs at gmail.com (Curt Hibbs) Date: Wed, 14 Jun 2006 09:57:45 -0500 Subject: [Vit-core] News Section In-Reply-To: <6CB69FF4-772F-40F6-8A34-970A3EE1C091@grayproductions.net> References: <448F6C43.1040008@johnwlong.com> <6CB69FF4-772F-40F6-8A34-970A3EE1C091@grayproductions.net> Message-ID: <31d15f490606140757mdec5ed2h365c35377f0a39af@mail.gmail.com> On 6/14/06, James Edward Gray II wrote: > > On Jun 13, 2006, at 8:54 PM, John W. Long wrote: > > > I updated the news section this evening adding yearly and monthly > > index > > pages as well as a couple of sidebars: > > > > http://new.ruby-lang.org/en/news/ > > http://new.ruby-lang.org/en/news/2005/ > > http://new.ruby-lang.org/en/news/2005/ > > http://new.ruby-lang.org/en/news/2005/06/ > > http://new.ruby-lang.org/en/news/2005/06/22/upgrade-to-debian- > > gnulinux-31/ > > John this is terrific. I especially love the monthly breakdown in > the yearly views. Thank you! > +1 Curt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/vit-core/attachments/20060614/7038f99c/attachment.htm From curt.hibbs at gmail.com Wed Jun 14 10:59:55 2006 From: curt.hibbs at gmail.com (Curt Hibbs) Date: Wed, 14 Jun 2006 09:59:55 -0500 Subject: [Vit-core] RSS Feeds In-Reply-To: <448F6842.9020001@johnwlong.com> References: <448F6842.9020001@johnwlong.com> Message-ID: <31d15f490606140759y743f313aw154ec5771b1a053b@mail.gmail.com> On 6/13/06, John W. Long wrote: > > > Why, you had mentioned the idea of having a feed that only delivered > summaries. If we choose to take that route it will require that we write > summaries for every post in the news section. I would be happy to setup > a summaries feed, but I want to make sure that we are committed to doing > that for all of the new news items. > We could autogenerate a pseudo summary for these by just use the frist "n" characters or words of the post. Curt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/vit-core/attachments/20060614/548c72df/attachment.htm From ruby-talk at whytheluckystiff.net Wed Jun 14 11:02:21 2006 From: ruby-talk at whytheluckystiff.net (why the lucky stiff) Date: Wed, 14 Jun 2006 09:02:21 -0600 Subject: [Vit-core] RSS Feeds In-Reply-To: <31d15f490606140759y743f313aw154ec5771b1a053b@mail.gmail.com> References: <448F6842.9020001@johnwlong.com> <31d15f490606140759y743f313aw154ec5771b1a053b@mail.gmail.com> Message-ID: <20060614150221.GB39863@wagon> On Wed, Jun 14, 2006 at 09:59:55AM -0500, Curt Hibbs wrote: > We could autogenerate a pseudo summary for these by just use the frist "n" > characters or words of the post. Hey, that's what I was gonna say! So, yes, do as this man says. _why From shugo at ruby-lang.org Mon Jun 19 03:52:29 2006 From: shugo at ruby-lang.org (Shugo Maeda) Date: Mon, 19 Jun 2006 16:52:29 +0900 Subject: [Vit-core] News Section In-Reply-To: <448F6C43.1040008@johnwlong.com> References: <448F6C43.1040008@johnwlong.com> Message-ID: <449657BD.8080803@ruby-lang.org> Hi, John W. Long wrote: > I updated the news section this evening adding yearly and monthly index > pages as well as a couple of sidebars: > > http://new.ruby-lang.org/en/news/ > http://new.ruby-lang.org/en/news/2005/ > http://new.ruby-lang.org/en/news/2005/ > http://new.ruby-lang.org/en/news/2005/06/ > http://new.ruby-lang.org/en/news/2005/06/22/upgrade-to-debian-gnulinux-31/ > > The Japanese news section will need to be updated to reflect this. Thank you. I fixed it. BTW, I'll go to RailsConf 2006. How about others? I'll arrive at Chicago on the afternoon of Jun 21, and I'm not going to the Rails guildebook on Jun 22. Shugo From curt.hibbs at gmail.com Mon Jun 19 07:03:41 2006 From: curt.hibbs at gmail.com (Curt Hibbs) Date: Mon, 19 Jun 2006 06:03:41 -0500 Subject: [Vit-core] News Section In-Reply-To: <449657BD.8080803@ruby-lang.org> References: <448F6C43.1040008@johnwlong.com> <449657BD.8080803@ruby-lang.org> Message-ID: <31d15f490606190403o1285e738y306a92e968bc7c1c@mail.gmail.com> On 6/19/06, Shugo Maeda wrote: > > BTW, I'll go to RailsConf 2006. > How about others? > > I'll arrive at Chicago on the afternoon of Jun 21, and I'm not > going to the Rails guildebook on Jun 22. > > Shugo > I will be there. I arrive the afternoon of June 22. I look forard to meeting you. Shugo, If you like, please come to the ThoughtWorks VIP Reception Thursday evening: We would like you to join us for drinks and hors d'oeuvres on Thursday evening before the conference. Come and meet some of the ThoughtWorkers who are helping to promote the language and platform we have all come to enjoy so much. Meet fellow geeks who get as excited as you do about a new way of thinking when it comes to software development. Details When? Thursday evening from 6pm to 9pm. Where? The Wyndham O'Hare, same hotel as the conference. Who? ThoughtWorks, Inc., proud supporters of Ruby, Rails, and RailsConf. Questions? Feel free to call, IM or email me. If you would like to bring a guest along, just drop me a line. I look forward to seeing you there and trading procrastination stories. Thanks, -Joe Curt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/vit-core/attachments/20060619/1cb949bd/attachment.htm From ng at johnwlong.com Mon Jun 19 10:02:30 2006 From: ng at johnwlong.com (John W. Long) Date: Mon, 19 Jun 2006 10:02:30 -0400 Subject: [Vit-core] News Section In-Reply-To: <449657BD.8080803@ruby-lang.org> References: <448F6C43.1040008@johnwlong.com> <449657BD.8080803@ruby-lang.org> Message-ID: <4496AE76.7000700@johnwlong.com> Shugo Maeda wrote: > BTW, I'll go to RailsConf 2006. > How about others? I'll be there Shugo. It would be great to meetup with you and the other members of the VIT at some point. -- John From shugo at ruby-lang.org Tue Jun 20 02:58:35 2006 From: shugo at ruby-lang.org (Shugo Maeda) Date: Tue, 20 Jun 2006 15:58:35 +0900 Subject: [Vit-core] News Section In-Reply-To: <31d15f490606190403o1285e738y306a92e968bc7c1c@mail.gmail.com> References: <448F6C43.1040008@johnwlong.com> <449657BD.8080803@ruby-lang.org> <31d15f490606190403o1285e738y306a92e968bc7c1c@mail.gmail.com> Message-ID: <44979C9B.7060408@ruby-lang.org> Hi, Curt Hibbs wrote: > I will be there. I arrive the afternoon of June 22. I look forard to > meeting you. me too. > Shugo, If you like, please come to the ThoughtWorks VIP Reception > Thursday evening: I hope so. But I have to buy children's clothes, otherwise I'll be killed by my wife. I'll try to buy them earlier. Shugo From james at grayproductions.net Wed Jun 21 15:46:14 2006 From: james at grayproductions.net (James Edward Gray II) Date: Wed, 21 Jun 2006 14:46:14 -0500 Subject: [Vit-core] Feedback Requested Message-ID: Hey everyone, some complaints have been raised on ruby-talk about the "marketing speak" on the new site. Would those of you who can spare a moment please give me your opinions on the following complaints before I act on them? Thank you. James Edward Gray II Begin forwarded message: > From: "Michal Suchanek" > Date: June 21, 2006 6:01:35 AM CDT > To: ruby-talk at ruby-lang.org (ruby-talk ML) > Subject: Re: ruby-lang.org redesign? > Reply-To: ruby-talk at ruby-lang.org > > And I would be a bit put off by the navigation section. I do not like > marketing speak, and links section where two captions out of three > contain an exclamation mark is not something I like to read. > The explanations in link section titles and the Participate link > section only add clutter and no value (except for the explanation of > ruby core which is the only non-obvious link). And they do sound much > like marketing flyer which is annoying to read for me. Begin forwarded message: > From: "Michal Suchanek" > Date: June 21, 2006 6:05:29 AM CDT > To: ruby-talk at ruby-lang.org (ruby-talk ML) > Subject: Re: ruby-lang.org redesign? > Reply-To: ruby-talk at ruby-lang.org > > I hate to reply to myself .. > But I forgot that the links section also contains a link "Success > stories". Yet another term I learned to dislike. I think something > along the lines "What is ruby used for" would be as clear and much > less repelling.