[rails-oceania] [JOB] Sydney Rails developer
Opportunity available for a medium to high grade Rails developer with a fun, funky, creative Website Development/Internet Marketing company. (3 month contract with a view to becoming permanent) About us We are a Sydney based company with global aspirations. Work with us to create memorable and engaging web products. Based in Rosebay, Creagency is working on many projects that include brands like Kazaa and new entrepreneurial projects. We're currently in the middle of releasing a (hopefully) best-of-breed music & playlist sharing website for the US. We have the support of all the major record labels. The Role You will be responsible for: web design and development in Rails for several of our many projects. Initially, assisting with the music site mentioned above. Essential * Ability to work on and manage your own projects. * Some eye for design, you must understand and like clean XHTML/CSS Desirable Skills * At least 1 year dedicated Rails experience, other languages certainly a bonus. * Gem releases. * Prototype/Javascript UI development. * Git experience We will * Support your creative endeavors and ideas * Provide a positive work environment * Provide positive challenges Finally The most important thing is that you fit in, experience is less important than your drive. If you are enthusiastic about the Internet, Ruby & Rails we want to hear from you. We will consider remote work, based on referrals. We won't consider referrals from recruitment agencies. --- Adam Salter Creagency - Targeted Online Marketing http://www.creagency.com.au Ph: 0448 440 064 Email: a...@creagency.com.au --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] Re: Action/Active naming convention
Wow, An actual explanation. This has been bugging me too. The current naming just 'sounds right' but that isn't a good reason. I'm not sure if it's just because I'm used to it, but ActionRecord sounds wrong, likewise ActiveController. -Adam On 30/10/2009, at 12:45 PM, Adam Meehan wrote: > > From what I can recall from the RailsConf 2008 core group panel, the > rationale is something along the lines that Active is given to a > component/gem that can be used standalone and Action is given to > component/gem which is dependent on other components. Though it > doesn't quite work since ActiveRecord needs ActiveSupport. But most of > the Action stuff is in ActionPack and can't be used standalone as > such. ActionMailer depends on ActionController so that still holds. > > But its a loose convention that is getting muddier and they said they > won't be holding on to it religiously. > > Adam > > On Oct 29, 9:02 am, Chris Lloyd wrote: >> Hi, >> >> This has been bugging me for a while: why is there a difference in >> the >> Action/Active naming convention that Rails uses? Why is there >> ActiveRecord >> and ActionController? Why not ActionRecord or ActiveController? >> Neither >> Action or Active are particularly descriptive. >> >> I tried Googling but nothing came up so perhaps somebody closer to >> DHH can >> chip in an answer? >> >> Cheers! >> >> Chris >> >> -- >> chrislloyd.com.au > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] Re: Hpricot segfault OSX - ruby1.9.1
> What does `gem env` output? The usual: RubyGems Environment: - RUBYGEMS VERSION: 1.3.1 - RUBY VERSION: 1.9.1 (2009-07-16 patchlevel 243) [i386-darwin10] - INSTALLATION DIRECTORY: /opt/local/lib/ruby1.9/gems/1.9.1 - RUBY EXECUTABLE: /opt/local/bin/ruby1.9 - EXECUTABLE DIRECTORY: /opt/local/bin - RUBYGEMS PLATFORMS: - ruby - x86-darwin-10 - GEM PATHS: - /opt/local/lib/ruby1.9/gems/1.9.1 - /var/root/.gem/ruby/1.9.1 - GEM CONFIGURATION: - :update_sources => true - :verbose => true - :benchmark => false - :backtrace => false - :bulk_threshold => 1000 - :sources => ["http://gems.rubyforge.org/";, "http://gems.github.com "] - "gem" => "--no-rdoc --no-ri" - REMOTE SOURCES: - http://gems.rubyforge.org/ - http://gems.github.com ... but I found the issue: > [a...@omegatron ~/dev/temp] which rails > /usr/bin/rails > [a...@omegatron ~/dev/temp] which ruby > /opt/local/bin/ruby I'm guessing OSX has a rails binary installed by default... I've just rm -rf my whole macports... -Adam --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] Re: Hpricot segfault OSX - ruby1.9.1
Wow. Ruby_fu. # => 64bit -Adam On 16/09/2009, at 2:25 PM, Wayne Meissner wrote: > > e.g. > ruby -e 'puts 0xfee1deadbeef.is_a?(Fixnum) ? "64bit" : "32bit"' --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] Re: Hpricot segfault OSX - ruby1.9.1
Yes. /opt/local/bin/ruby I know it sounds stupid that it should segfault against 1.8.7 when installed with ruby 1.9.1'gem' I hope that it isn't something like the gem using a guess on mac as to 'site_ruby' and macports is being circumvented. Anecdotal evidence from others using ruby 1.9.1 is that it's only me... I'm reinstalling my macports with: sudo port upgrade --force installed (upgrade all currently installed ports) Will let all concerned know how I go. Ruby 1.9.1 - not for the faint of heart. (I've overcome a few hurdles just to get to this stage lol - all in all a very nice experience when it works though) -Adam On 16/09/2009, at 3:03 PM, Ian Leitch wrote: > I've not been following this thread very closely, but the ruby > version you're building the gem against is 1.8.7, not 1.9.1. > > Wild guess... you're building the gem using sudo, does your root > user have /opt/local/bin in PATH? > > does 'which ruby' and 'sudo which ruby' give you the same result? > > 2009/9/16 Adam Salter > Firstly, wow cutting edge hardware! > 'arch -x86_75 irb' > ;) > > Second, > Protip: require 'rbconfig' > > >> Config::CONFIG['CFLAGS'] > NameError: uninitialized constant Config > from (irb):1 > from /opt/local/bin/irb:12:in `' > >> require 'config' > LoadError: no such file to load -- config > from (irb):2:in `require' > from (irb):2 > from /opt/local/bin/irb:12:in `' > >> require 'rbconfig' > => true > >> Config::CONFIG['CFLAGS'] > => "-O2 -arch x86_64 -O2 -g -Wall -Wno-parentheses -fno-common - > pipe -fno-common" > > It _is_ 64 bit. :/ > > > And third, > It works if i install hpricot from source... > > now i'm getting json gem compiler errors... even after uninstall/ > reinstall > >> /Users/adam/.gem/ruby/1.9.1/gems/json-1.1.9/ext/json/ext/ >> parser.bundle: [BUG] Segmentation fault >> ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0] >> >> Abort trap > > > I think my macports archs might be f#$%ked up somewhere along the > line. > > I was a _early_ snow leopard adopter and a lot changed in the first > few days... > > -Adam > > On 16/09/2009, at 2:35 PM, Bodaniel Jeanes wrote: > >> Nice ... Good tip for me to remember! >> >> >> Config::CONFIG['CFLAGS'] >> => "-arch i386 -arch x86_64 -g -Os -pipe -fno-common - >> DENABLE_DTRACE -fno-common -pipe -fno-common " >> >> Adam, is you see it is compiled as both you can force it to run as >> one or the other by doing: >> >> $ arch -i386 irb >> >> or >> >> $ arch -x86_75 irb >> >> and see if that yields better results (`man arch` for more info) >> >> On Wed, Sep 16, 2009 at 2:30 PM, Ian Leitch >> wrote: >> ~ $ irb >> irb(main):001:0> Config::CONFIG['CFLAGS'] >> => "-O2 -arch x86_64 -fno-common -pipe -fno-common " >> irb(main):002:0> >> >> 2009/9/16 Bodaniel Jeanes >> >> nevermind, none of those return anything useful for me with regards >> to the architecture. Someone who is more knowledgeable about these >> things could probably find out using something like Array#pack and >> the byte orders etc but this is way beyond my knowledge. If `file` >> says it is 64-bit it's a good bet it is and perhaps you should be >> force-compiling Hpricot as 64-bit instead... >> >> >> On Wed, Sep 16, 2009 at 2:12 PM, Bodaniel Jeanes >> wrote: >> Sorry .. what about the following constants: >> >> >> Object.constants.grep /RUBY/ >> => ["RUBY_DESCRIPTION", "RUBY_VERSION", "RUBY_COPYRIGHT", >> "RUBY_FRAMEWORK", "RUBY_RELEASE_DATE", "RUBY_FRAMEWORK_VERSION", >> "RUBY_PLATFORM", "RUBY_PATCHLEVEL"] >> >> >> On Wed, Sep 16, 2009 at 1:44 PM, Adam Salter >> wrote: >> So what version of ruby1.9 do I have? 'i386-darwin10' or 'x86_64' >> >> btw: ruby -e 'puts RUBY_VERSION' >> gives '1.9.1' >> >> -Adam >> >> On 16/09/2009, at 1:34 PM, Lincoln Stoll wrote: >> >>> That's because SL reports the kernel architecture as the platform >>> type, not the userspace architecture. It's been a contentious >>> issue.. But that's another story. >>> >>> Also, by default macp
[rails-oceania] Re: Hpricot segfault OSX - ruby1.9.1
> And third, > It works if i install hpricot from source... > > Out of curiosity, what happens if you do a gem install with > ARCH_FLAGS set to use 64-bit? No that doesn't work. same result. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] Re: Hpricot segfault OSX - ruby1.9.1
Firstly, wow cutting edge hardware! 'arch -x86_75 irb' ;) Second, Protip: require 'rbconfig' >> Config::CONFIG['CFLAGS'] NameError: uninitialized constant Config from (irb):1 from /opt/local/bin/irb:12:in `' >> require 'config' LoadError: no such file to load -- config from (irb):2:in `require' from (irb):2 from /opt/local/bin/irb:12:in `' >> require 'rbconfig' => true >> Config::CONFIG['CFLAGS'] => "-O2 -arch x86_64 -O2 -g -Wall -Wno-parentheses -fno-common -pipe - fno-common" It _is_ 64 bit. :/ And third, It works if i install hpricot from source... now i'm getting json gem compiler errors... even after uninstall/ reinstall > /Users/adam/.gem/ruby/1.9.1/gems/json-1.1.9/ext/json/ext/ > parser.bundle: [BUG] Segmentation fault > ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0] > > Abort trap I think my macports archs might be f#$%ked up somewhere along the line. I was a _early_ snow leopard adopter and a lot changed in the first few days... -Adam On 16/09/2009, at 2:35 PM, Bodaniel Jeanes wrote: > Nice ... Good tip for me to remember! > > >> Config::CONFIG['CFLAGS'] > => "-arch i386 -arch x86_64 -g -Os -pipe -fno-common - > DENABLE_DTRACE -fno-common -pipe -fno-common " > > Adam, is you see it is compiled as both you can force it to run as > one or the other by doing: > > $ arch -i386 irb > > or > > $ arch -x86_75 irb > > and see if that yields better results (`man arch` for more info) > > On Wed, Sep 16, 2009 at 2:30 PM, Ian Leitch wrote: > ~ $ irb > irb(main):001:0> Config::CONFIG['CFLAGS'] > => "-O2 -arch x86_64 -fno-common -pipe -fno-common " > irb(main):002:0> > > 2009/9/16 Bodaniel Jeanes > > nevermind, none of those return anything useful for me with regards > to the architecture. Someone who is more knowledgeable about these > things could probably find out using something like Array#pack and > the byte orders etc but this is way beyond my knowledge. If `file` > says it is 64-bit it's a good bet it is and perhaps you should be > force-compiling Hpricot as 64-bit instead... > > > On Wed, Sep 16, 2009 at 2:12 PM, Bodaniel Jeanes > wrote: > Sorry .. what about the following constants: > > >> Object.constants.grep /RUBY/ > => ["RUBY_DESCRIPTION", "RUBY_VERSION", "RUBY_COPYRIGHT", > "RUBY_FRAMEWORK", "RUBY_RELEASE_DATE", "RUBY_FRAMEWORK_VERSION", > "RUBY_PLATFORM", "RUBY_PATCHLEVEL"] > > > On Wed, Sep 16, 2009 at 1:44 PM, Adam Salter > wrote: > So what version of ruby1.9 do I have? 'i386-darwin10' or 'x86_64' > > btw: ruby -e 'puts RUBY_VERSION' > gives '1.9.1' > > -Adam > > On 16/09/2009, at 1:34 PM, Lincoln Stoll wrote: > >> That's because SL reports the kernel architecture as the platform >> type, not the userspace architecture. It's been a contentious >> issue.. But that's another story. >> >> Also, by default macports on 64 bit capable systems will build 64 >> bit binaries. You can change this to build for 32/64 or 32 only by >> playing with the universal variant. >> >> Linc >> >> // Sent from my mobile phone. >> >> On 16/09/2009, at 3:38, Adam Salter wrote: >> >>> I don't know what the hell is going on: >>> >>> [r...@omegatron ~]# ruby -v >>> ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10] >>> [r...@omegatron ~]# file `which ruby` >>> /opt/local/bin/ruby: Mach-O 64-bit executable x86_64 >>> >>> ruby is saying it's 32-bit, file is saying it's 64-bit >>> >>> -Adam >>> >>> On 15/09/2009, at 8:54 PM, Bodaniel Jeanes wrote: >>> >>>> using stock ruby you definitely want to be doing that, he is >>>> using macports ruby 1.9 which based on his `ruby -v` output is 32- >>>> bit so he should in fact ensure that he is compiling the >>>> extensions as 32-bit >>>> >>>> On Tue, Sep 15, 2009 at 8:21 PM, Pat Allan >>> > wrote: >>>> >>>> Not sure if it's relevant, but for Snow Leopard I installed >>>> mysql, pg >>>> and do_sqlite3 gems configured for 64bit like so: >>>> sudo env ARCHFLAGS="-arch x86_64" gem install mysql >>>> >>>> -- >>>> Pat >>>> >>>> On 15/09
[rails-oceania] Re: Hpricot segfault OSX - ruby1.9.1
So what version of ruby1.9 do I have? 'i386-darwin10' or 'x86_64' btw: ruby -e 'puts RUBY_VERSION' gives '1.9.1' -Adam On 16/09/2009, at 1:34 PM, Lincoln Stoll wrote: > That's because SL reports the kernel architecture as the platform > type, not the userspace architecture. It's been a contentious > issue.. But that's another story. > > Also, by default macports on 64 bit capable systems will build 64 > bit binaries. You can change this to build for 32/64 or 32 only by > playing with the universal variant. > > Linc > > // Sent from my mobile phone. > > On 16/09/2009, at 3:38, Adam Salter wrote: > >> I don't know what the hell is going on: >> >> [r...@omegatron ~]# ruby -v >> ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10] >> [r...@omegatron ~]# file `which ruby` >> /opt/local/bin/ruby: Mach-O 64-bit executable x86_64 >> >> ruby is saying it's 32-bit, file is saying it's 64-bit >> >> -Adam >> >> On 15/09/2009, at 8:54 PM, Bodaniel Jeanes wrote: >> >>> using stock ruby you definitely want to be doing that, he is using >>> macports ruby 1.9 which based on his `ruby -v` output is 32-bit so >>> he should in fact ensure that he is compiling the extensions as 32- >>> bit >>> >>> On Tue, Sep 15, 2009 at 8:21 PM, Pat Allan >> gods.com> wrote: >>> >>> Not sure if it's relevant, but for Snow Leopard I installed mysql, >>> pg >>> and do_sqlite3 gems configured for 64bit like so: >>> sudo env ARCHFLAGS="-arch x86_64" gem install mysql >>> >>> -- >>> Pat >>> >>> On 15/09/2009, at 11:04 AM, Bodaniel Jeanes wrote: >>> >>> > I'm still running 187 but i have 191 installed (from source). I >>> just >>> > tried installing it and I could use the gem fine. I installed like >>> > so, just to be sure: >>> > >>> > $ sudo env ARCHFLAGS="-arch i386" gem install hpricot >>> > >>> > >>> > On Tue, Sep 15, 2009 at 6:20 PM, Adam Salter >>> > wrote: >>> > Interesting point... >>> > Are you running ruby 1.9.1/hpricot 64bit? >>> > >>> > -Adam >>> > >>> > On 15/09/2009, at 6:09 PM, Bodaniel Jeanes wrote: >>> > >>> >> One thing to consider is that the ruby 1.8.7 that comes with 10.6 >>> >> is 64-bit but your ruby 1.9 seems to be 32-bit. Possibly the gem >>> >> install picked up on some incorrect env variables and defaulted >>> to >>> >> building Hpricot for 64-bit? >>> >> >>> >> On Tue, Sep 15, 2009 at 5:43 PM, Adam Salter >>> >> wrote: >>> >> Is anybody else seeing a segfault on hpricot on OSX 10.6 and Ruby >>> >> 1.9.1? >>> >> >>> >> I've installed ruby with MacPorts. >>> >> >>> >> Here's the error: >>> >> >>> >>> /opt/local/lib/ruby1.9/gems/1.9.1/gems/hpricot-0.8.1/lib/ >>> >>> fast_xs.bundle: [BUG] Segmentation fault >>> >>> ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0] >>> >>> >>> >>> Abort trap >>> >> >>> >> ruby -v: >>> >> ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10] >>> >> >>> >> -Adam >>> >> >>> >> >>> >> >>> >> >>> >> >>> >> >>> >> >>> > >>> > >>> > >>> > >>> > >>> > > >>> >>> >>> >>> >>> >>> >> >> >> > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] Re: Hpricot segfault OSX - ruby1.9.1
I don't know what the hell is going on: [r...@omegatron ~]# ruby -v ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10] [r...@omegatron ~]# file `which ruby` /opt/local/bin/ruby: Mach-O 64-bit executable x86_64 ruby is saying it's 32-bit, file is saying it's 64-bit -Adam On 15/09/2009, at 8:54 PM, Bodaniel Jeanes wrote: > using stock ruby you definitely want to be doing that, he is using > macports ruby 1.9 which based on his `ruby -v` output is 32-bit so > he should in fact ensure that he is compiling the extensions as 32-bit > > On Tue, Sep 15, 2009 at 8:21 PM, Pat Allan gods.com> wrote: > > Not sure if it's relevant, but for Snow Leopard I installed mysql, pg > and do_sqlite3 gems configured for 64bit like so: > sudo env ARCHFLAGS="-arch x86_64" gem install mysql > > -- > Pat > > On 15/09/2009, at 11:04 AM, Bodaniel Jeanes wrote: > > > I'm still running 187 but i have 191 installed (from source). I just > > tried installing it and I could use the gem fine. I installed like > > so, just to be sure: > > > > $ sudo env ARCHFLAGS="-arch i386" gem install hpricot > > > > > > On Tue, Sep 15, 2009 at 6:20 PM, Adam Salter > > wrote: > > Interesting point... > > Are you running ruby 1.9.1/hpricot 64bit? > > > > -Adam > > > > On 15/09/2009, at 6:09 PM, Bodaniel Jeanes wrote: > > > >> One thing to consider is that the ruby 1.8.7 that comes with 10.6 > >> is 64-bit but your ruby 1.9 seems to be 32-bit. Possibly the gem > >> install picked up on some incorrect env variables and defaulted to > >> building Hpricot for 64-bit? > >> > >> On Tue, Sep 15, 2009 at 5:43 PM, Adam Salter > >> wrote: > >> Is anybody else seeing a segfault on hpricot on OSX 10.6 and Ruby > >> 1.9.1? > >> > >> I've installed ruby with MacPorts. > >> > >> Here's the error: > >> > >>> /opt/local/lib/ruby1.9/gems/1.9.1/gems/hpricot-0.8.1/lib/ > >>> fast_xs.bundle: [BUG] Segmentation fault > >>> ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0] > >>> > >>> Abort trap > >> > >> ruby -v: > >> ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10] > >> > >> -Adam > >> > >> > >> > >> > >> > >> > >> > > > > > > > > > > > > > > > > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] Re: Hpricot segfault OSX - ruby1.9.1
'maintained' yep. Try finding somebody who wants to take ownership for hpricot... I couldn't. Unfortunately the bug is in 'rails myapp -d mysql'... Can't quite be bothered to make the change to nokogiri... ;) I'll look at my compilation re:64-bit I'm pretty sure I've seen stuff about changing all MacPorts compiles to 64-bit by default. -Adam On 15/09/2009, at 6:40 PM, Richard Heycock wrote: > > Excerpts from Adam Salter's message of Tue Sep 15 17:43:20 +1000 2009: >> Is anybody else seeing a segfault on hpricot on OSX 10.6 and Ruby >> 1.9.1? >> >> I've installed ruby with MacPorts. >> >> Here's the error: >> >>> /opt/local/lib/ruby1.9/gems/1.9.1/gems/hpricot-0.8.1/lib/ >>> fast_xs.bundle: [BUG] Segmentation fault >>> ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0] >>> >>> Abort trap >> >> ruby -v: >> ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10] >> >> -Adam > > I know this may not be that helpful but have you considered using > nokogiri. Porting from hpricot is pretty straightforward and > nokogiri is > faster, oh, and maintained. > > rgh > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] Re: Hpricot segfault OSX - ruby1.9.1
Interesting point... Are you running ruby 1.9.1/hpricot 64bit? -Adam On 15/09/2009, at 6:09 PM, Bodaniel Jeanes wrote: > One thing to consider is that the ruby 1.8.7 that comes with 10.6 is > 64-bit but your ruby 1.9 seems to be 32-bit. Possibly the gem > install picked up on some incorrect env variables and defaulted to > building Hpricot for 64-bit? > > On Tue, Sep 15, 2009 at 5:43 PM, Adam Salter > wrote: > Is anybody else seeing a segfault on hpricot on OSX 10.6 and Ruby > 1.9.1? > > I've installed ruby with MacPorts. > > Here's the error: > >> /opt/local/lib/ruby1.9/gems/1.9.1/gems/hpricot-0.8.1/lib/ >> fast_xs.bundle: [BUG] Segmentation fault >> ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0] >> >> Abort trap > > ruby -v: > ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10] > > -Adam > > > > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] Hpricot segfault OSX - ruby1.9.1
Is anybody else seeing a segfault on hpricot on OSX 10.6 and Ruby 1.9.1? I've installed ruby with MacPorts. Here's the error: > /opt/local/lib/ruby1.9/gems/1.9.1/gems/hpricot-0.8.1/lib/ > fast_xs.bundle: [BUG] Segmentation fault > ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0] > > Abort trap ruby -v: ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10] -Adam --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] Re: Bloddy Ruby 1.9 encodings
Sorry guys... Completely missed this conversation till now... The first example: [ %m: %c ] % # find bad_encodings-ruby19 -name '*.rb' -exec ruby19 -c '{}' \; |grep -v OK bad_encodings-ruby19/test/bad_encodings/bad1.rb:4: invalid multibyte char (US-ASCII) bad_encodings-ruby19/test/bad_encodings/bad1.rb:4: invalid multibyte char (US-ASCII) is actually correct since they are the "bad" test encodings... WHO WOULD DO SUCH A THING!! The second error that Dr Nic was having is kind of weird... I was getting something similar where my 1.8 and 1.9 gems were mixed... had to use a bash 'chruby' script[1] and everything seems pretty separate (note: i don't use macports ruby 1.8, just local version) Anyway glad it is actually working... biggest fear is always that you forgot something completely obvious. ;) I'm also pretty glad for the encoding support in ruby 1.9 although it makes life more difficult at times... Re: the gem... I've actually pushed the gem to gemcutter instead of rubyforge... anybody else using gemcutter over rubyforge? [1] http://gist.github.com/175158 -Adam On 10/09/2009, at 11:50 PM, David Lee wrote: > Ah, that explains it. > > I was looking at the offending line number in the 1.9 HEAD, > wondering how it could be busto. > > thanks, > David > > > On Thu, Sep 10, 2009 at 8:54 PM, Dr Nic Williams > wrote: > I resolved the issue by uninstalling the copy of the gem in ruby18 > that didn't work. The ruby19 version now works. > > > On Thu, Sep 10, 2009 at 8:49 PM, Dr Nic Williams > wrote: > $ /usr/bin/env ruby -e 'puts RUBY_VERSION' > 1.9.1 > > $ gem env > RubyGems Environment: > - RUBYGEMS VERSION: 1.3.5 > - RUBY VERSION: 1.9.1 (2009-05-12 patchlevel 129) [i386-darwin9.7.0] > - INSTALLATION DIRECTORY: /Users/drnic/.ruby_versions/ruby-1.9.1- > p129/lib/ruby/gems/1.9.1 > - RUBYGEMS PREFIX: /Users/drnic/.ruby_versions/ruby-1.9.1-p129/lib/ > ruby/gems/1.9.1/gems/rubygems-update-1.3.5 > - RUBY EXECUTABLE: /Users/drnic/.ruby_versions/ruby-1.9.1-p129/bin/ > ruby > - EXECUTABLE DIRECTORY: /Users/drnic/.ruby_versions/ruby-1.9.1- > p129/bin > - RUBYGEMS PLATFORMS: > - ruby > - x86-darwin-9 > - GEM PATHS: > - /Users/drnic/.ruby_versions/ruby-1.9.1-p129/lib/ruby/gems/1.9.1 > - /Users/drnic/.gem/ruby/1.9.1 > - GEM CONFIGURATION: > - :update_sources => true > - :verbose => true > - :benchmark => false > - :backtrace => false > - :bulk_threshold => 1000 > - :sources => ["http://gems.rubyforge.org/";, "http://gems.github.com > "] > - "gem" => "--no-rdoc" > - REMOTE SOURCES: > - http://gems.rubyforge.org/ > - http://gems.github.com > > > On Thu, Sep 10, 2009 at 7:50 PM, David Lee > wrote: > DrNic: out of curiousity, what do you get when you run > $ /usr/bin/env ruby -e 'puts RUBY_VERSION' > ? > > On Thu, Sep 10, 2009 at 7:40 PM, Dr Nic Williams > wrote: > Having issues running it: > > $ ruby -v > ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-darwin9.7.0] > $ find_bad_encodings . > /Library/Ruby/Gems/1.8/gems/adamsalter-bad_encodings-ruby19-0.1.1/ > bin/find_bad_encodings:11: Requires Ruby 1.9 (ArgumentError) > from /usr/bin/find_bad_encodings:19:in `load' > from /usr/bin/find_bad_encodings:19 > > Less surprisingly, it fails to run within ruby18 too. > > On Thu, Sep 10, 2009 at 5:28 PM, Adam Salter > wrote: > I got sick of a particularly bad time tracking down a 'bad encoding' > error in rails on ruby 1.9, so I've written a gem... > > http://github.com/adamsalter/bad_encodings-ruby19/tree/master > > It basically iterates over the regular 'ruby' files it can find and > tries each line for 'valid_encoding' and then returns a list of all > lines that failed. > > Fixed my issue (another coder, on ruby 1.8, had edited a library(!) > and put a bad encoding in) > > Try it out and let me know how you go. > > Cheers, > -Adam > > > > > > > > -- > Dr Nic Williams > Mocra - Premier iPhone and Ruby on Rails Consultants > w - http://mocra.com > twitter - @drnic > skype - nicwilliams > e - dr...@mocra.com > p - +61 412 002 126 or +61 7 3102 3237 > > > > > > > -- > cheers, > David Lee > > > > > > > -- > Dr Nic Williams > Mocra - Premier iPhone and Ruby on Rails Consultants > w - http://mocra.com > twitter - @drnic > skype - nicwilliams > e - dr...@mocra.com > p - +61 412 002 126 or +61 7 3102 3237 > > > > >
[rails-oceania] Bloddy Ruby 1.9 encodings
I got sick of a particularly bad time tracking down a 'bad encoding' error in rails on ruby 1.9, so I've written a gem... http://github.com/adamsalter/bad_encodings-ruby19/tree/master It basically iterates over the regular 'ruby' files it can find and tries each line for 'valid_encoding' and then returns a list of all lines that failed. Fixed my issue (another coder, on ruby 1.8, had edited a library(!) and put a bad encoding in) Try it out and let me know how you go. Cheers, -Adam --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] Re: why oh _why?
Do I dare say it? You Mailing List Nah didn't have the guts... -Adam On 26/08/2009, at 2:14 PM, Mark Ratjens wrote: > Um ... off topic, perhaps? > Could you start a new thread if you want to continue ... I'm > interested in _why, but not what this thread has morphed into > > On Wed, Aug 26, 2009 at 1:29 PM, Andrew Grimm > wrote: > > Martin Heidegger is someone who's a little off-limits due to his > nazi-era stuff (he's quoted by "Everything is Miscellaneous" author > David Weinberger ). > > Can you provide some information on FDR and fascism? > > As far as I can tell, Roosevelt was opposing the axis powers when > general public opinion was isolationist. Also, conspiracy theorists > thought that he was under the control of "the Jews", and that "the > Jews" were behind world war 2. > > Andrew > > On Wed, Aug 26, 2009 at 11:48 AM, Duncan Bayne > wrote: > > > >> lol excuse my Monday arvo tiredness ... but seems Ayn Rand is a > noughties > >> mutation of Godwins law (http://en.wikipedia.org/wiki/Godwin%27s_law > ) > > > > It's funny that some philosophers & religions are considered > kosher in > > online fora but others aren't; one can mention Jung, but Rand is > off- > > limits? > > > > (On a related note it's funny how many politicians and public > figures > > who are so popular nowadays - esp. Churchill and FDR - were > outspoken > > supporters of fascism & fascist leaders, right up until it profited > > them to oppose it. If Godwin's law were applied with an even hand, > > one wouldn't be able to mention pretty much anyone politically > active > > between 1920 and 1945 or so). > > > > > > > > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] Re: why oh _why?
How could you say that, You NAZI!!! -Adam On 24/08/2009, at 6:31 PM, Myles Byrne wrote: > > On Mon, Aug 24, 2009 at 5:25 PM, Conversant > Studios wrote: >> lol excuse my Monday arvo tiredness ... but seems Ayn Rand is a >> noughties >> mutation of Godwins law (http://en.wikipedia.org/wiki/Godwin%27s_law) > > Probably. At the very least the mention of any "mutation of Godwins > law" is probably itself a mutation of Godwins law :) > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] Re: The future of Ruby
https://twitter.com/yukihiro_matz/statuses/2887132160 -Adam On 30/07/2009, at 9:56 AM, Matthew Winter wrote: > > My only concern about all the moves to Engine Yard, is just that, > are we not reliant too heavily now on the good will of one company. > Heck they now have the core developers for Rubinius and JRuby. The > idiom "too many eggs in one basket" comes to mind. Do we need to > worry about the direction Engine Yard may push on these > implementations. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] Re: apologies
Myles, Your talk was a good excuse to poke fun at XML. I don't/didn't personally think you would be anything more than tech agnostic. I guess I can see some uses (HTML)... Anyway, I didn't really see your talk as knocking XML. For me it's just that XML can be have kind of unpleasant connotations because of it's 'overuse' (IMHO). http://www.w3.org/TR/owl-ref/ http://www.w3.org/TR/2000/NOTE-SOAP-2508/ http://www.w3.org/TR/wsdl ... Maybe XML is the best way of describing these things?? It is sure fricken complicated... and pretty unpleasant to parse or translate into Ruby objects. -Adam On 17/07/2009, at 12:54 PM, Myles Byrne wrote: > > On Thu, Jul 16, 2009 at 10:48 AM, Ben Schwarz > wrote: >> >> Myles, I think I witnessed a similar response to my talk >> which was pretty loosely on the subject of abstracting before >> understanding the domain, rather than bashing / a personal opinion >> of one technology or another. > > Yeah except my title was not "Why XML sucks" apparently (for reasons I > don't entirely understand) everyone read it as that anyway. > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] Re: apologies
Classic. -Adam On 15/07/2009, at 12:06 PM, Dave Newman wrote: > Xml is like violence. If it's not solving all your problems you're > not using enough of it. > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] Re: apologies
I did think the mention of XML in the title was a bad idea... You might as well have called it: "Going back to SOAP - the good old days" or "Why XSLT was actually a good idea" or even "COBOL for fun and profit (and brain hurt)" I've got sooo many more... -Adam On 15/07/2009, at 11:39 AM, Lachlan Hardy wrote: > > Also the feedback I got from the guys in the office (before it became > evident we weren't going to make it to the meeting) was that no one > wants to hear a talk with XML in the title, so I'm happy to give the > talk next month re-titled as "Good Abstraction, Bad Abstraction - A > Jovial Jaunt Through the Dark Side of Software Engineering" > > It's still the same talk, though, right? > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] Re: A taste of where the web is going
Agreed. Exposé is a pretty cool (and useful) technology on the desktop, which involves 3d manipulation and effects. Also Mover App on iPhone: http://www.iphonelife.com/blog/2884/mover-app-does-move-it-move-it Also, for sake of completeness, MS "Surface" technology, but I've _NEVER_ actually seen as more than a product demonstration... I still think it would make a great 'history' browser as long as it is still accessible and degrades gracefully... -Adam On 15/07/2009, at 10:34 AM, Nathan de Vries wrote: > > On 15/07/2009, at 10:00 AM, James Salter wrote: >> Revolution? yeah maybe for say, band websites, but I'm sceptical this >> is a big deal for anyone trying to develop web apps with complexity >> anywhere above trivial. > > 3D effects probably won't be used too much in practical cases, but > Snow Stack demonstrates much more than 3D effects. I think we're > slowly going to see web pages transition from static, boxy pages into > fluid applications that respect the principles of animation [1]. We've > already seen this on the iPhone, where (mostly) appropriate use of > animation makes interacting with applications much more pleasurable. > CSS transforms open the door to decent animation on the web. > > > Cheers, > > Nathan de Vries > > [1] http://en.wikipedia.org/wiki/12_basic_principles_of_animation > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] Re: A taste of where the web is going
Woot. Got a suggestion from our JS guru that this would make a great history function for a website. Dynamically load old items as needed. Any idea when it might make it into 'real' Safari/other Webkit clients? Thanks for sharing, -Adam On 14/07/2009, at 11:16 AM, Bodaniel Jeanes wrote: > I just found this: > http://www.satine.org/archives/2009/07/11/snow-stack-is-here/ > > That 3d effect is done just with CSS and Javascript. If you have > Snow Leopard like I do, the effects are even hardware accelerated > (like on the iPhone) and I am able to move through the demo site and > Safari barely tops 40% of a single core at full throttle. This is > absolutely stunning. > > Bo > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] Re: timely traffic reporting
Might just be the 3G network today, but anecdotally, their 'technology' (heat map tracking etc.) is pretty unusable on an iPhone. Sent from my iPhone On 12/07/2009, at 3:34 PM, Torm3nt wrote: > > Likewise, that product looks fantastic - would love to get in and > give it a go. > > > -- > Kirk Bushell > http://www.kirkbushell.com > Follow me: http://twitter.com/kirkbushell > > > > On Sun, Jul 12, 2009 at 2:56 PM, Mike Bailey > wrote: >> >> Thanks Lachlan, that looks great. Do you have any spare invites? >> >> - Mike >> >> On Sun, Jul 12, 2009 at 12:03 PM, Lachlan Hardy> > wrote: >>> I use http://reinvigorate.net/ >>> >>> Real time reporting to such an extreme they have a client you can >>> install >>> that will notify you whenever somebody is on the site (I don't >>> advise using >>> that tool - it'll lower the quality of your life immensely). >>> >>> I'm not sure where it is going at the moment. The development is >>> quite >>> opaque. But I've been using it for two years and if you want to >>> know what's >>> happening on your site *right now* it's pretty good for that. >>> >>> GA is for long term planning of campaigns and the like. Not really >>> my bag. >>> >>> On Sun, Jul 12, 2009 at 11:54 AM, Mike Bailey >>> wrote: If one of your apps was slashdotted, how long before you would know about the spike in traffic? It seems Google Analytics won't tell you till the next day. What tools are people using for up to the minute traffic stats? Has anyone got SMS alerts setup for extreme traffic spikes? - Mike >>> >>> >>> >> >>> >> > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] Re: Sydney Meetup, July 14
Awesome segue for my just released Sitemaps plugin: http://github.com/adamsalter/sitemap_generator-plugin/tree/master Pings all major search engines!! -Adam On 02/07/2009, at 12:26 PM, Jonathan Clarke wrote: > > Though you should be doing some nice meta SEO stuff to get it listed > by the engines... > > 2009/7/2 Jonathan Clarke : >> Brilliant. >> >> 2009/7/2 Keith Pitty : >>> >>> http://isitroroyet.bivou.ac/ >>> >>> On 02/07/2009, at 7:51 AM, Jason Crane wrote: >>> Hi, Anyone interested in talking at the next rorosyd meet up, July 14? Head on over to the wiki and put your name down :) (I think Myles and Gareth have volunteered) There are two types we usually do: Lightning talks, around 5 minutes long (great for showcasing something you've worked on, a cool plugin, gem, anything!) Longer talks, around 15 minutes (good for an in-depth look at something) http://wiki.rubyonrails.com.au/index.php/roro:Sydney_- _Topics_Confirmed Jason > >>> >>> > >>> >> > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] Re: Thoughts on HAML?
I would like to chip in and say that (at least in our company) our designer (that's you Elton) loves HAML. Designers don't want to much around with closing tags and html id/ class attributes any more than programmers. The main problem as I see it is that graphical ide's (like Dreamweaver) don't support HAML, so noob front end designers can't produce HAML. But I personally think no designer worth their salt would use a graphical ide since the output is never optimal (and can't be). So the (VERY SMALL) learning curve for HAML is welcomed -- provided the designer trusts your opinion I guess ;). Honestly, there are also html2haml snippets for Textmate (or "insert favourite editor here"). If your designer needs to work in HTML just do it and convert. Do the layout and initial stuff in HTML and later convert. It really is quicker and easier for everyone. I have never had any trouble with the html2haml conversion unless there is ruby in it. It doesn't do the indentation for blocks, but this is not something that can reasonably be done automatically. Once you know this you just look for blocks after conversion and fix the blocks that need fixing. -Adam On 12/06/2009, at 8:53 AM, Bodaniel Jeanes wrote: > I know about them. They are quite buggy and only help with the > initial conversion. It is the successive updates that are hard > because the designs don't have all your ruby code in them, so you > have to manually copy over what has changed > > CSS -> SASS isn't the worst thing to do, other than that most > developers modify CSS a bit, either to add semantic classes for JS > effects or because re-structuring of some divs is required. > > I just don't like alienating designers, I need them for products I > develop to be truly successful, and if I am going to use them at > all, I want to focus on my Ruby, not on connecting their HTML to it. > Haml, becomes an extra barrier, layer, and learning curve which is > ultimately not needed. I speak Ruby, designers speak html, we don't > need to mess with that to have a great workflow. > > On Fri, Jun 12, 2009 at 3:47 PM, Chris Lloyd > wrote: > Perhaps checkout the html2haml and css2sass programs which are > packaged with HAML. > > 2009/6/12 Bodaniel Jeanes > > Advantages: > > * easy to change and manage templates > * no ugly erb snippets everywhere with conditional statements > * much better in diffs > > Disadvantages > > IMO, one reaaly big one. HAML (and SASS for that matter) is > code, so it's great for developers. However, developers generally > can't and shouldn't be doing design. That's what designers are for. > Designers shouldn't have to learn a new language to do what they do > best -> html, css, and pretty colours. Suddenly they can't use the > tools that make THEM efficient and effective. > > I think using HAML is a bit of an anti-pattern (not the right word, > but hopefully you get my gist), it encourages the coders to do the > front-ends and that usually results in atrocious user experiences or > extremely data-driven designs. > > The whole idea behind HAML was to make HTML more manageable so you > spend less time on it. Ultimately in my experience on real projects, > it can have the opposite effect, especially in the early stages of > development. Either the designer is slowed down if you force them to > learn it, or they do all the css and styleguides in separate > documents, and the developer(s) have to spend time converting them > to HAML/Sass and repeating this conversion for each correction, > revision, or re-design. This takes a LOT of time and can be a lot of > manual labour. > > So, in summary: i use haml on small projects where design isn't > important or I am doing it (always ugly, of course), but for client > projects or bigger projects where design is someone else's > responsibility and talent, I actively prevent the use of haml. > > Bo > > > On Fri, Jun 12, 2009 at 3:25 PM, Michael A. > wrote: > > Hi Guys, > > I'm new around here though I've been using rails on and off since > around 0.13. > > Something that's been on my todo for a long time is to check out HAML. > I've started converting a few templates, at first I thought it was > great. So much clutter removed. But as I started doing more templates, > I found I didn't really find HAML templates any easier to read (maybe > the brain just gets used to cancelling out the noise in HTML?). I did > like not having to type close tags all the time and the consistency it > brings to your markup. > > So... what are your thoughts on HAML? Are there other major advantages > I should know? > > Cheers, > Michael > > > > > > > > -- > chrislloyd.com.au > > > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe fr
[rails-oceania] Re: Introducing Bananajour (plus slides from last night)
I was trying to think of a better name for this particular package and all I came up with was "gitjourgasm" I think I like bananajour better -Adam On 11/06/2009, at 2:58 AM, Glen Maddern wrote: > > Awesome. I just ate a banana in celebration. :) > > On Thu, Jun 11, 2009 at 4:10 AM, Dr Nic Williams > wrote: >> Woohoo! >> >> On Wed, Jun 10, 2009 at 11:32 PM, Lachlan Hardy > > >> wrote: >>> >>> Huzzah! >>> >>> >> >> >> >> -- >> Dr Nic Williams >> Mocra - Premier iPhone and Ruby on Rails Consultants >> w - http://mocra.com >> twitter - @drnic >> skype - nicwilliams >> e - dr...@mocra.com >> p - +61 412 002 126 or +61 7 3102 3237 >> >> >>> >> > > > > -- > Glen Maddern > 0423 118 405 > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] Re: Installing Webrat on Mac OS X - possible?
I'm pretty sure my passenger runs the app as the owner of the directory not the apache user. This means all my local gems work and no problems with permissions. I think it's a setting in Passenger, but on by default... You might have a rogue setting in your apache conf... On Sun, Jun 7, 2009 at 3:10 AM, Bodaniel Jeanes wrote: > I haven't tried, but I wouldn't be surprised if there were permission > errors. I am sure with some chmod action you could get around them, but it'd > be awful if it had to be done after every gem install. > How would you change apaches path anyway? SetEnv in httpd.conf? The apache > user doesn't have a home directory > > Bo > > > On Sun, Jun 7, 2009 at 8:07 PM, Torm3nt wrote: > >> >> Bodaniel - couldn't yo add the gem path to the apache user's path, or >> do you then get permission errors? >> >> >> -- >> Kirk Bushell >> http://www.kirkbushell.com >> Follow me: http://twitter.com/kirkbushell >> >> >> >> On Sun, Jun 7, 2009 at 8:05 PM, Bodaniel Jeanes wrote: >> > Lachie, only problem with local gems is if you use passenger for >> development >> > (like I do), apache won't pick up your gems >> > >> > On Sun, Jun 7, 2009 at 11:28 AM, Pat Allan >> wrote: >> >> >> >> For what it's worth, I've always used OS X ruby, and never had issues, >> >> and I'm fine with compiling other libraries I need instead of using >> >> ports. Each to their own, though. >> >> >> >> Lachie: I didn't know about 'gem pristine' - that's a super-useful >> >> tip, I'm often throwing debug puts into gems. Thanks! :) >> >> >> >> -- >> >> Pat >> >> >> >> On 06/06/2009, at 8:55 PM, Lachie wrote: >> >> >> >> > >> >> > my two cents are as follows: >> >> > >> >> > I was on ports and moved back to OS X ruby, so that I could write >> >> > rubycocoa apps targeting the built-in Leopard ruby (so that anyone >> >> > could have their ruby dependency covered by the OS) With MacRuby its >> >> > not really an issue anymore. >> >> > >> >> > I've never had any problems with either. >> >> > >> >> > One thing I would say (for either version) is that I never install >> >> > system-wide gems anymore. Since around 1.3 rubygems has automatically >> >> > installed gems into ~/.gem if it can't write to the system gem >> >> > location. >> >> > >> >> > Just drop the sudo and add ~/.gem/ruby/1.8/bin to your PATH >> >> > >> >> > This is really handy for a number of reasons. >> >> > >> >> > For debugging it doesn't hurt to be able to drop a puts into a gem's >> >> > code; when they're owned by my user, I don't have to authenticate or >> >> > sudo to do that. >> >> > >> >> > When I'm finished, I just do "gem pristine gemname" to quash any >> >> > debugging shenanigans. >> >> > >> >> > :lachie >> >> > http://smartbomb.com.au >> >> > http://www.flickr.com/photos/lachie/ >> >> > >> >> > >> >> > >> >> > On Sat, Jun 6, 2009 at 12:23 PM, Pete Yandell >> wrote: >> >> >> >> >> >> I'm also with Nathan. >> >> >> >> >> >> Don't touch the built-in Ruby on OS X. Installing gems touches >> >> >> directories that nothing but OS updates should touch. OS updates can >> >> >> blow them away, and change your Ruby version. You can break >> RubyCocoa >> >> >> apps that depend on the default Ruby setup. >> >> >> >> >> >> Install either by hand or MacPorts, put your Ruby earlier in your >> >> >> PATH >> >> >> than /usr/bin, and use #!/usr/bin/env ruby in your scripts. You can >> >> >> monkey around with Ruby versions and gems as much as you like. You >> >> >> can >> >> >> run identical Ruby versions in development and production. You can >> >> >> blow it away and start again if you completely screw things up. You >> >> >> can easily install libraries that gems depend upon. >> >> >> >> >> >> I've never had any performance issues with the MacPorts Ruby. >> >> >> >> >> >> I wrote up how I install everything here: >> http://notahat.com/posts/15 >> >> >> >> >> >> You can use the ruby186 port if you'd rather have 1.8.6 than 1.8.7. >> >> >> >> >> >> - Pete >> >> >> >> >> >>> >> >> >> >> >> > >> >> > > >> >> >> >> >> >> >> > >> > >> > > >> > >> >> >> > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] Re: Thursday the 28th of May
Small note: autotest-mac is no longer supported It is now 2 packages: http://github.com/svoop/autotest-fsevent/tree/master http://github.com/svoop/autotest-growl/tree/master autotest-fsevent cleans up the most annoying/problematic autotest issue of recent times. Essential, essentially. -Adam On 02/06/2009, at 5:46 PM, Gareth Townsend wrote: > > Results of the Analog Blog: > > Analog Blog! > > RailsCamp - Awesome! Drunkening. > Bananjour - Gitjour replacement. Check it out. Soon to maybe be up > on github? > > Railsconf - Also awesome and drunkening. Las Vegas is awesome. > INteresting keynotes. Check out the Uncle Bob Marten keynote. Lots o > talks were recorded. > > gem install autotest-mac - Mac specific performance enhancements. > > mod_porter - Apache module for passenger for large file uploads. See > Rails Way blog. > > citcon - Continuous Integration and testing conference. citonf.com (go > register, near Brisvegas, June 27th) > > Perryn's cucumber fork merged into master. > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] Re: Tomorrow's lightning talk bonanza in Sydney
Nice. I wasn't chuffed about the :message option. Took me a while to work out what it was doing, but this is basically a candidate for the 'awesome' stamp! ;) -Adam On 08/05/2009, at 10:45 AM, Lawrence Pit wrote: > May not be what you want, but it's perfect for my purposes, just > stick in an extra 5 lines of code in the config/initializers part: > > http://gist.github.com/108497 > > no need to explicitly specify the :message option to validates_* > methods. > > > > Cheers, > Lawrence > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] Re: Sydney May 2009 Meetup
Just don't do it again. That thing that you do, that you do so well... (oops that's a bit risque!) -Adam On 20/04/2009, at 6:49 PM, Ben Schwarz wrote: > > It might have been my presence. For that I am sorry. > > On Apr 20, 6:02 pm, Lachie wrote: >> Was it something we said? >> >> :lachiehttp://smartbomb.com.auhttp://www.flickr.com/photos/lachie/ >> >> >> >> On Mon, Apr 20, 2009 at 5:57 PM, Dylan Egan >> wrote: >> >>> Hi, >> >>> When: >>> We are unable to hold the meetup at Trinity on Wednesdays anymore. >>> The >>> next RoRO Sydney meeting will be on Tuesday, May 5, 2009. >> >>> Who: >>> If anyone is wanting to deliver a lightning talk, or a presentation >>> then add yourself to >>> http://wiki.rubyonrails.com.au/index.php/roro:Sydney_-_Topics_Confirmed >> >>> Location: >>> Trinity Bar - 505 Crown St, Surry Hills, NSW 2010 - >>> http://tinyurl.com/6emfna(upstairs) >> >>> Extras: >>> We are also looking for anyone wanting to sponsor the event (bar >>> tab). >>> If you are interested please contact me off the list. >> >>> Cheers, >> >>> Keith & Dylan (filling in for Jason) > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] Re: Right tool for the job
Without being trite, I'd like to say that I can't now see any reason to use another framework. "Best tool for the job" is a exactly the reason why. (As long as the job is "web application development", I guess.) Compare Rails feature for feature with any other framework. Rails 2.3 now provides all the mechanisms (and did with a bit of hacking previously) that you could ever need for web development. And it's in Ruby a great language by itself. Let's just go over the new and old "greatness" Ruby 1.9 (Low, low, low memory usage and very fast) Metal (Low, low, low latency) Active etc (Support and Record... too many to list) Passenger/Apache deploy Capistrano Git integration/support Plugins/Gems ... IMHO Scaling is s stupid a consideration anyway... I think for any good coder it is really is a joke. Any web app can handle several million hits per day on the right hardware - php, java, coldfusion, anything. Who cares? Processor time is cheap. Would you run a million(s) of hits a day app on a el-cheapo 256Mb linux VPS? No, you would start out small and build as needed. Although you almost can now with Rails. I benchmarked a non-trivial Rails shopping cart application on 1Gb Linux VPS at able to handle without serious slowdown approx 5-6 million requests per day. (~60 requests per second) If your app is getting anywhere close to those numbers you would have time to make some architecture changes to increase support (and perhaps pay for a real server or two). And I hadn't even done any caching. Every request was handled dynamically. Most apps I know of don't get more than 1-2 requests a minute (2-4000 requests per day). And as for twitter I never understood what exactly was running on Rails... The front-end? Should be a pretty easy Rails app and might need some architecture fixes but not huge. The back-end message passing/handling system? Running on Rails? You've got to be kidding me. Why? Write it in C, or even Ruby, (or Scala - boo!) but it doesn't involve Rails as far as I can see. -Adam On 08/04/2009, at 5:49 PM, David Lee wrote: > I recently began a reasonably small project where I expected > performance to be fairly important, and wanted a very small, simple > codebase. > > I started by setting up a sinatra app. Then i began including only > the parts of activesupport I felt i couldn't do without - a few > things from core_ext. > > Fast forward a few days, and I'd learnt a great deal about the > internals of activesupport by trying to include only the parts I > missed without loading the whole library - the dependencies don't > really like being . Ditto, a lot of stuff about rake and Rails' rake > tasks. I'd gotten a bastardised form of migrations going. The list > goes on ... > > I realized I was up against a variation of Greenspun's 10th rule > (http://en.wikipedia.org/wiki/Greenspun%27s_Tenth_Rule > ) - I was spending more time on the stuff I normally take for > granted when writing Rails apps than I was on my problem domain. > > About that time rails 2.3 came out, and i thought to myself, if i > really need to worry about performance there's now Metal and various > freedoms afforded by Rack. I turned it into a Rails app and didn't > look back. > > " In one instance I witnessed a Rails application for getting > reports on a database." > > If I had to write a simple application to get reports out of a > database, and it was going to take more than a paragraph or two of > code, I'd use Rails without even mild hesitation. > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] Re: Announcing next roro sydney meetup (Wednesday, April 8, 2009)
7pm right? (Wasn't there a RORO calendar for subscriptions??) -Adam On 27/03/2009, at 12:32 PM, Keith Pitty wrote: > Hi, > > The next roro sydney meeting is on Wednesday April 8, 2009. > > If anyone is wanting to deliver a lightning talk, or a presentation - > then add yourself down over... > > http://wiki.rubyonrails.com.au/index.php/roro:Sydney_- > _Topics_Confirmed > > This month we're at: > Trinity Bar - 505 Crown St, Surry Hills, NSW 2010 > http://tinyurl.com/6emfna (upstairs) > > Keith & Dylan (filling in for Jason) > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] [JOB] iPhone application development
Opportunity available for a C/C++ developer with iPhone development experience in funky, creative Internet Marketing company. About us We are a Sydney based company with global aspirations. Work with us to create memorable and engaging web products. Based in Rosebay, Creagency is working on many projects that include brands like Kazaa and new entrepreneurial projects. The Role As a Software Engineer you will be responsible for: development/ support for an iPhone application to integrate with large Internet website. Essential * Ability to work on and manage your own projects. * Demonstrable experience in iPhone development. * Some eye for design. Desirable Skills * Google Maps/location APIs experience * Accelerometer experience We will * Support your creative endeavors and ideas * Provide a positive work environment * Provide fun challenges Please contact me for more information and/or arrange a interview, -Adam --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] [JOB] Medium-grade Rails developer
Opportunity available for a medium to high grade Rails developer with funky, creative Internet Marketing company. About us We are a Sydney based company with global aspirations. Work with us to create memorable and engaging web products. Based in Rosebay, Creagency is working on many projects that include brands like Kazaa and new entrepreneurial projects. The Role As a Software Engineer you will be responsible for: web design and development in Rails for several of our many projects. Essential * Ability to work on and manage your own projects. * At least 6 months dedicated Rails experience, other languages certainly a bonus. * Some eye for design, you must understand and like clean XHTML/CSS Desirable Skills * Prototype/Javascript UI development. We will * Support your creative endeavors and ideas * Provide a positive work environment * Provide positive challenges -Adam --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] Re: Different dirs for views/layouts
Pseudo theme-system my butt! This is all I would want in a theme system. That way you could still have all your haml/rjs/other without using crappy template languages like Liquid. If it had a public directory as well it would be perfect... OK I guess 'perfect' would be Apache searching views/my_theme/public/ for files, then public/ But yeah twould be great. On 27/02/2009, at 11:03 AM, Torm3nt wrote: > Hey all! > > I think this is the first time I've actually requested help here, > and as I know we have an incredibly talented group of people, I > should be able to (hopefully) get this feature resolved! > > We currently have a project that reads all the views/layouts from > the default directory, however (and after a LOT of searching the > net), we now need the ability to have views/layouts loaded from > subdirectories, like a pseudo-theme system. Aka: > > /views/default/.etc.etc. > /views/theme1/.etc.etc. > > I've been able to update the search for views by simply prepending > the view path by using controller.prepend_view_path(). However, this > doesn't seem to work for layouts. Anyone had a similar task/feature > and can help me? This is driving me a little batty. > > > Kirk > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] Re: Best Javascript UI library?
Right. Having read the terms on their website. It is dual licensed. If you are distributing it in a commercial application then you have to purchase a license. That's basically the gist of it. If the application is open source then it must be compatible with GPLv3. So I'm wanting to use it in a commercial application, therefore I must purchase a license. ... Which I'm thinking now I will do. I'm a commercial application developer, I see no reason they can't be as well. It does seem to be the best from what I've seen so far. Thanks all for suggestions. In particular the 'build it first in straight html and extend from there'. I think this is a good methodology, since not all browsers will support a JS interface. On 26/02/2009, at 9:32 PM, Adam Salter wrote: > IANAL, but... > For example, the linux kernel is GPL, but you can build proprietary > intefaces that use the kernel. > Any modifications to the kernel have to be released, but the stuff > you put on top (other libs/binaries etc) don't As I understand it. > This is how Nvidia and others can release closed source graphics > drivers > They have a LGPL interface which just passes the data on to their > driver. > > In this case ExtJS is open source, and, since I've very careful to > make no direct modifications to the ExtJS source (just drop it in > public/) I might have to release the javascript that loads and > executes with ExtJS (which is visible in the browser anyway). But no > way do I have to release the source of the rails app itself. > > I mean I could be using external data sources on another server (ie > Yahoo, S3) which would imply they would have to release their source > as well. Which is ridiculous. > > ... As I understand it. > > If not then, well I guess I can't use it... Haven't gone that far > yet... > > SmartClient certainly looks good. Plenty of history (7 years). > > On 26/02/2009, at 1:47 PM, Kunzmann wrote: > >> >> Hey Adam, >> >> We're using SmartClient here. We looked into ExtJS, as well, but, as >> others have already pointed out, the licensing isn't ideal. We've >> been >> pretty happy with SmartClient so far. >> >> Cheers, >> Kunzmann >> >> On Feb 25, 7:26 pm, Adam Salter wrote: >>> Hey all, >>> Ummm I'm doing an admin interface for a site atm... >>> Basic resizable columns and paging interface for searching and >>> adding >>> new items for various models etc. >>> >>> Here's how I've progressed. >>> Started in active_scaffold, but it's too... inflexible and doesn't >>> look good enough. Good way to get a quick scaffold though. >>> I've just finished doing the admin interface in Dojo, but just now >>> found ExtJS and liking the feel of it way better. >>> I've looked at YUI as well and discarded it as not quite my style... >>> >>> I'm just wondering what other peoples impressions are? >>> >>> I think I'm going to redo the interface in ExtJS 2.0 now since it's >>> just more flexible... and looks great. >>> >>> Dojo has some nice REST data interfaces, but I think I can replicate >>> them manually in ExtJS, other than that ExtJS seems to be the best >>> option so far. >>> >>> Thoughts? >>> -Adam >> >> >> > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] Re: Best Javascript UI library?
IANAL, but... For example, the linux kernel is GPL, but you can build proprietary intefaces that use the kernel. Any modifications to the kernel have to be released, but the stuff you put on top (other libs/binaries etc) don't As I understand it. This is how Nvidia and others can release closed source graphics drivers They have a LGPL interface which just passes the data on to their driver. In this case ExtJS is open source, and, since I've very careful to make no direct modifications to the ExtJS source (just drop it in public/) I might have to release the javascript that loads and executes with ExtJS (which is visible in the browser anyway). But no way do I have to release the source of the rails app itself. I mean I could be using external data sources on another server (ie Yahoo, S3) which would imply they would have to release their source as well. Which is ridiculous. ... As I understand it. If not then, well I guess I can't use it... Haven't gone that far yet... SmartClient certainly looks good. Plenty of history (7 years). On 26/02/2009, at 1:47 PM, Kunzmann wrote: > > Hey Adam, > > We're using SmartClient here. We looked into ExtJS, as well, but, as > others have already pointed out, the licensing isn't ideal. We've been > pretty happy with SmartClient so far. > > Cheers, > Kunzmann > > On Feb 25, 7:26 pm, Adam Salter wrote: >> Hey all, >> Ummm I'm doing an admin interface for a site atm... >> Basic resizable columns and paging interface for searching and adding >> new items for various models etc. >> >> Here's how I've progressed. >> Started in active_scaffold, but it's too... inflexible and doesn't >> look good enough. Good way to get a quick scaffold though. >> I've just finished doing the admin interface in Dojo, but just now >> found ExtJS and liking the feel of it way better. >> I've looked at YUI as well and discarded it as not quite my style... >> >> I'm just wondering what other peoples impressions are? >> >> I think I'm going to redo the interface in ExtJS 2.0 now since it's >> just more flexible... and looks great. >> >> Dojo has some nice REST data interfaces, but I think I can replicate >> them manually in ExtJS, other than that ExtJS seems to be the best >> option so far. >> >> Thoughts? >> -Adam > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] Best Javascript UI library?
Hey all, Ummm I'm doing an admin interface for a site atm... Basic resizable columns and paging interface for searching and adding new items for various models etc. Here's how I've progressed. Started in active_scaffold, but it's too... inflexible and doesn't look good enough. Good way to get a quick scaffold though. I've just finished doing the admin interface in Dojo, but just now found ExtJS and liking the feel of it way better. I've looked at YUI as well and discarded it as not quite my style... I'm just wondering what other peoples impressions are? I think I'm going to redo the interface in ExtJS 2.0 now since it's just more flexible... and looks great. Dojo has some nice REST data interfaces, but I think I can replicate them manually in ExtJS, other than that ExtJS seems to be the best option so far. Thoughts? -Adam --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] Re: Can anyone recomend a good demo Rail app?
Lovdbyless is pretty cool, if only a demo of a full app... On 26/01/2009, at 6:29 PM, Mike Bailey wrote: > I'm looking for a Rails app on github to use in deprec documentation. > > I looked but could find anything on github that worked *and* looked > nice. > > Any suggestions? > > - Mike > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] Re: sphinx plugin recommendation?
At the risk of being labelled 'blasphemer!!!' (note multiple exclamation marks ;) What does everybody think of SOLR? I think github uses solr as their search backend... -Adam On 23/01/2009, at 1:00 PM, Kim Pepper wrote: > > As a followup, I found it difficult to deal with acts_as_sphinx in > multiple rails envs, so I switched over to thinking_sphinx. Lo and > behold, my search code got slightly more simpler than the 11 line > behemoth listed above. > > def search > @application_forms = ApplicationForm.search(params > [:query], :conditions => {:complete => true}, :page => (params[:page] > || 1)) > end > > Thanks for a great plugin Pat! You're a frickin' legend. > > Kim > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] Sample ActiveMerchant credit card form?
Does anybody have a sample AM credit card form, with error_messages etc? I'm doing it myself at the moment, but things like drop-downs for month/year/card type are a little complicated. Thanks in advance, -Adam --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] Re: Ruby on Rails job in Sydney
Apologies. Unfortunately, easy mistake to make. ;) On 03/12/2008, at 11:55 PM, Arlen Cuss wrote: > I suggest you email him at that address and not on-list, perhaps! > > 2008/12/3 Adam Salter <[EMAIL PROTECTED]> > Andrew, > I'm a Rails developer. Interested in doing contract work. > > I've included my resume and basic cover letter. > > Let me know if you would like to meet up. (I also have a quote for a > job to present on Monday which could potentially tie me up for at > least a month to a month and a half, but it would still be good to > meet up). > > Best, > -Adam > > > > > > On 03/12/2008, at 10:43 AM, Anthony W wrote: > > > > > > > We are currently looking for a developer to join our friendly, > relaxed > > Sydney office. We're really looking for the right person rather than > > an exact skill set - so even if you don't know Ruby on Rails and > want > > to learn, or are a senior Rails developer, we're interested in > talking > > to you. Remuneration will be based on experience. We're preferably > > looking for a full time person but the possibility exists for > contract > > work too. > > > > If you're interested please email [EMAIL PROTECTED] - no > > recruitment agencies we promise. Your email will go straight through > > to the Rails development team where you can ask any question you > like. > > > > Thanks! > > > > > > > > > > > > > --~--~-~--~~~---~--~~ > You received this message because you are subscribed to the Google > Groups "Ruby or Rails Oceania" group. > To post to this group, send email to rails-oceania@googlegroups.com > To unsubscribe from this group, send email to [EMAIL PROTECTED] > For more options, visit this group at > http://groups.google.com/group/rails-oceania?hl=en > -~--~~~~--~~--~--~--- > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] Re: Next Sydney roro Meetup - Wednesday December 10
hahaha views on databases... (ok i'll shut up now ;) On 02/12/2008, at 10:51 PM, Michael Koukoullis wrote: > > Myles I'd love to hear more about your views on databases ... > seriously! > > On Dec 2, 7:57 am, "Myles Byrne" <[EMAIL PROTECTED]> wrote: >> It's been a while. I'm up for Javascript Animation via Custom Events >> and OO Design. I'll use prototype but the talk is not framework >> specific. >> >> On Mon, Dec 1, 2008 at 5:43 PM, Tim Lucas <[EMAIL PROTECTED]> >> wrote: >> >>> On 29/11/2008, at 5:44 PM, Jason Crane wrote: >> There's two and a half weeks! until the next Sydney roro meetup (cheers Dylan E) - so let's get rocking! >> If you want to do a talk, head on over to the wiki and put your name down and what you want to talk about: >> http://wiki.rubyonrails.com.au/index.php/roro:Sydney_-_Topic_Offers >> It looks like we have three people happy to talk at December? (Charles, Lindsay, Ian) - are you people still keen and available? >> Charles Dale on "Flex and Rails" Lindsay Holmwood on "Deploying Merb" Ian White on "resources_controller" >> >>> I'm up for giving "Staticish sites with Nanoc and/or Sinatra" >> How did everyone like the 5min lightning talk vs. presentations line- up? Is there a better medium between full length pressos and lightning demos we could try either in December, or in the New Year? (If people are willing to put their hand up and talk) (We've always opted for a mix of lightning demos and pressos, but the balance is never quite right) >> >>> Maybe alternate the months? >> >>> -- tim > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] Re: Next Sydney roro Meetup - Wednesday December 10
hahaha yield... ... sorry. Ruby joke... On 02/12/2008, at 8:00 AM, Ian White wrote: > > How many talks are required? I've got one on offer, but talked last > time, so will happily yield > > Cheers, > Ian > On 2 Dec 2008, at 07:57, Myles Byrne wrote: > >> >> It's been a while. I'm up for Javascript Animation via Custom Events >> and OO Design. I'll use prototype but the talk is not framework >> specific. >> >> On Mon, Dec 1, 2008 at 5:43 PM, Tim Lucas <[EMAIL PROTECTED]> >> wrote: >>> >>> On 29/11/2008, at 5:44 PM, Jason Crane wrote: >>> There's two and a half weeks! until the next Sydney roro meetup (cheers Dylan E) - so let's get rocking! If you want to do a talk, head on over to the wiki and put your name down and what you want to talk about: http://wiki.rubyonrails.com.au/index.php/roro:Sydney_-_Topic_Offers It looks like we have three people happy to talk at December? (Charles, Lindsay, Ian) - are you people still keen and available? Charles Dale on "Flex and Rails" Lindsay Holmwood on "Deploying Merb" Ian White on "resources_controller" >>> >>> I'm up for giving "Staticish sites with Nanoc and/or Sinatra" >>> How did everyone like the 5min lightning talk vs. presentations line- up? Is there a better medium between full length pressos and lightning demos we could try either in December, or in the New Year? (If people are willing to put their hand up and talk) (We've always opted for a mix of lightning demos and pressos, but the balance is never quite right) >>> >>> Maybe alternate the months? >>> >>> -- tim >>> >>> >>> >> >>> > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] Re: [railscamp] Railscamp 4: What worked well; how can we improve?
Ummm. Can we leave the PHP out? ... and I would love to hear more about Flex/actionscript on the frontend. On 20/11/2008, at 3:56 PM, Ryan Bigg wrote: > > > Let's throw in some .NET and PHP too. > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] Re: [rorosyd] Slides from my *cough* open-uri and hpricot talk
Works for me. Maybe less talks (5-8) and 20 mins for questions... On 20/11/2008, at 3:40 PM, Tim Lucas wrote: > > On 20/11/2008, at 3:08 PM, Adam Salter wrote: > >> Yeah, >> I definitely got the most out of the short talks this time around. >> But >> I agree that dedicated question time is good. I can't think of one >> talk last night where questions wouldn't have been necessary. (in >> fact >> for the comet demo in particular I was a bit miffed that there wasn't >> time for questions). > > Maybe at the end you could get everyone up the front and have an open- > ended 30 minutes for questions... that way you keep the momentum up > with the presos. > > -- timbo > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] Re: [rorosyd] Slides from my *cough* open-uri and hpricot talk
Yeah, I definitely got the most out of the short talks this time around. But I agree that dedicated question time is good. I can't think of one talk last night where questions wouldn't have been necessary. (in fact for the comet demo in particular I was a bit miffed that there wasn't time for questions). On 20/11/2008, at 9:44 AM, Matt Allen wrote: > I'd like to echo that. Last night's meetup was the best yet. > > It was definitely up there, that's for sure. > > So, I reckon there is a happy median for these talks, ones that drag > on for ever tend to put the room to sleep and these short sharp ones > were tops but I felt on a few there was a couple of good questions > that could have been tabled and everyone would have benefitted. So, > that said, maybe we could do a 5 min talk and an N min Q&A session > in the future? if N was 2.5 mins then that'd make it 2 talks with > questions every 15 mins. > > Anyone have any thoughts? > > Matta > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] Re: Sydney: Call for Lightning? Speakers - Wednesday, November 19 2008
Jason, I was thinking that it might be good to also have a "Websites I've known" kind of section for each meetup... ... As in websites/other sites/iphone apps or whatever that the people are working on (for fun or professionally)... 5 mins rundown on what you like, don't like, challenges etc. I'm happy to do that for my latest project, which was a non-profit website which is going to become 'business.un.org'. Just recently returned from Hong Kong where I was working on this as part of a team... Awesome project obviously because of it's applications. Thanks, -Adam On 23/10/2008, at 9:10 AM, Jason Crane wrote: > > Hi, > > The next meeting is coming up fast, and planned for the Wednesday > after RailsCamp. > > In an attempt to keep things fresh (and steal ideas from other groups > - hi Brisbane!) a few people have suggested we do a night of lightning > demos. There should be a few late additions to the list post > railscamp, but if you want to secure a spot and get in early, now is > your chance. > > Remember: a lightning demo is only 5min long - and this time we might > even skip discussions, and run it WebJam Stylee. There could be some > schwag to give away to the best presentations. There should be no > excuses not to step up! > > If you want to talk, head on over to wiki and post your topic (you'll > see I've secured myself a position - not sure what I'm talking about > yet) - let's see some people who haven't spoken before put their name > down. > > http://wiki.rubyonrails.com.au/index.php/roro:Sydney_- > _Topics_Confirmed > > We'll be at the Trinity Bar (reminders will be emailed, blog will be > posted to -once we get half a dozen people down) > > Jason > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---
[rails-oceania] Re: Syd: Reminder: Next Meetup, Wednesday October 8!
On 30/09/2008, at 9:10 AM, Matt Palmer wrote: > > On Tue, Sep 30, 2008 at 10:36:19AM +1000, Max Muermann wrote: >> >> On Tue, Sep 30, 2008 at 9:53 AM, Matt Allen <[EMAIL PROTECTED]> >> wrote: >>> On Tue, Sep 30, 2008 at 9:50 AM, Lachlan Hardy <[EMAIL PROTECTED] >>> > >>> wrote: > maybe its a bimodal recursive > > 50% roro or rails oceania > 50% roro or ruby oceania +1 >>> >>> +-1 >> >> +0.5 > > +i i += 1 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~--~~~~--~~--~--~---