First I'd recommend looking at the cocoaheads list. But secondly
perpcode has a few good screencasts that are well worth the $9. I'd
give links but I'm on the iPhone and there's no multitasking... Yet...
-Cam
On 24/04/2010, at 1:34 PM, chris h wrote:
Hi,
I'm trying to learn how to make iP
collections without loading the entire collection of records into
> memory. Those methods default to 1000 record batch sizes, but can be
> configured using the :batch_size option.
>
>
> Cheers,
>
> Nathan
>
>
>
> On 22/04/2010, at 11:31 AM, Cameron Barrie wr
One simple thing to ensure if that you're not doing a
Class.find(:all)
If you've got an even semi large dataset, you'll hose your memory footprint by
loading up 1000's of ActiveRecord objects. I know, it's a mistake I've made
once. User.find(:all) in a Facebook app, was a stupid thing for me to
doc = Nokogiri::HTML(html)
(doc/'body').text
I believe will do what you want.
Please correct me if I'm wrong
-Cam
On 22/04/2010, at 10:28 AM, Korny Sietsma wrote:
> Hi folks - I'm looking for something that will load a web page and extract
> just visible text elements from it.
> I cou
how this initializer to get the
> property from YAML looks like?
>
> Thanks in advance.
>
> On Thu, Mar 25, 2010 at 12:04 PM, Cameron Barrie
> wrote:
>> Personally I'd make a YAML file and add an initialiser to put it in a
>> constant. Or even just a const in
Personally I'd make a YAML file and add an initialiser to put it in a constant.
Or even just a const in environment.rb
application_helper won't be available to any of your models, so you'd hose
yourself if you decided to use it in the future outside of a view context.
-C
On 25/03/2010, at 12:00
Me 3. Happy to hack on it.
C
On 16/03/2010, at 2:24 PM, James Sadler wrote:
> I'd be more than happy to hack on this with you.
>
> I think a module that supports a event-driven data channel that tries
> to connect using Websockets and gracefully degrades to Flash or AJAX
> polling would be awes
Knew there was something in the ActiveRecord API.
Although I still like the Javascript version as well.
On 16/03/2010, at 1:38 PM, Ben Hoskings wrote:
> On 16/03/2010, at 1:36 PM, Cameron Barrie wrote:
>
>> that is true.
>> find(:conditions => "confirmation IS t
that is true.
find(:conditions => "confirmation IS true") littering everything sux.
Surely there's a good way to dry that up though?
On 16/03/2010, at 1:26 PM, Ben Hoskings wrote:
> On 16/03/2010, at 1:16 PM, Cameron Barrie wrote:
>
>> You could also creat
You could also create the entry with a single POST, then display the
confirmation page, but then PUT(i.e. update) the entry with the confirmation
flagged to true when the confirmation form is submitted.
That way it would follow the HTTP spec/Restful principles properly.
At the end of the day se
For me the hack night we had here at Snepo was great. Only thing was how long
it took to get coding.
Could we do the whole what projects are available vote prior to the evening,
i.e. on the wiki - participants can(or even would be required to) put an idea
on the wiki and vote for ideas on the
Apple's WWDC dates not announced yet though.
On 03/03/2010, at 5:00 PM, Dylan Fogarty-MacDonald wrote:
> Yea, I'm keen on Ruby Kaigi too. I'm planning on heading to the conference
> and spending another week or so trying to find some waves. Should be fun!
>
> Dylan
>
> On 3 March 2010 16:56,
I tend to agree with the some of you actually. I don't mind job postings.
It's the lame, and inappropriate shit flinging that starts afterwards(our WA
diatribe from last week is an example), that annoys the crap out of me.
Although I think that generally off topic remarks aren't doing anyone any
Mark Afflick from Cocoaheads recently created this - http://CocoaJobs.info/ and
I'm sure we could use it if we wanted(though I'd need to check with him).
See his email below to the Cocoa group:
Hi all,
As the organiser of CocoaHeads Sydney I wanted a way to better connect Cocoa
developers an
I personally found it very informative Dave. Hand waving drivel and all
Thanks,
Cam
On 10/02/2010, at 8:46 PM, Dave Bolton wrote:
Last night at the RORO Sydney meetup I spoke about components and
Rails.
A couple of things:
- It occurred to me that I didn't really give any good examples of
That actually doesn't look to bad...
I'd want to run it on Postgres, but it's open source so I'm sure I could patch
it if there's issues.
The building of other content blocks would be the interesting thing have you
tried that yet?
Cam
On 03/02/2010, at 11:21 AM, Kirill Radzikhovskyy wrote:
t; need...)
>>>>> Josh
>>>>> On 19/01/2010, at 10:55 AM, Josh Price wrote:
>>>>>
>>>>> Hello hackers,
>>>>> It's been a great start to the year for Ruby, and we've started like we
>>>>> mean
>>>
Not really no sorry(bicycle is fine though),
It's just street parking, although at that time of night it should be ok.
Cam
On 27/01/2010, at 2:40 PM, Julio Cesar Ody wrote:
> Sorry if that question was answered already: is there parking for
> bike/car available?
>
>
> On Wed, Jan 27, 2010 at
osh Price wrote:
> >
> > Hello hackers,
> > It's been a great start to the year for Ruby, and we've started like we mean
> > to continue.
> > We've secured an awesome venue thanks to Cameron Barrie and Snepo. So
> > without further ado I'd lik
gt; searchable metadata, it's probably better to use something like mongo
>> which is designed for it, rather than shoehorning it into a key-value
>> table in your RDBMS.
>>
>> mark
>>
>> On Wed, Jan 27, 2010 at 12:20 PM, Cameron Barrie
>> wrote:
&g
Yup.
I'd love to hear from people about there thoughts on all forms of persistent
storage.
I've always had the thought that Document based storage lacked the integrity of
a RDBMS mainly with foreign keys etc(yes I do use foreign key constraints in my
rails projects).
However I think I'm just u
On 25/01/2010, at 5:38 PM, Xavier Shay wrote:
> On 25/01/10 12:35 PM, Jason Stirk wrote:
>>... Deployment database?
>> MySQL, recently played a bit with Postgres (although I'm still unimpressed)
> This is contrary to most opinion I've heard, so I'm interested in hearing
> more.
Me too actual
On 22/01/2010, at 1:10 PM, Mikel Lindsaar wrote:
> On Fri, Jan 22, 2010 at 1:06 PM, Cameron Barrie
> wrote:
> +1 for Ruby, Java + .Net runtime solutions, this is a major reason I really
> enjoy being a Ruby programmer... options... (.Net still needs some work from
> what I can
e option too if the need presents itself.
Cam
On 22/01/2010, at 12:54 PM, Anders Østergaard Jensen wrote:
> On Fri, Jan 22, 2010 at 12:47 PM, Cameron Barrie
> wrote:
> I'd also be really happy to work on something in this space. It's been
> banging around in my head for
I'd also be really happy to work on something in this space. It's been banging
around in my head for a while(amongst all the other crap in there).
I think starting with something small with a good plugin architecture is
paramount. I'd even consider not using Rails, but other Ruby frameworks if th
Of course... php app. My bad. Use a .htaccess to not allow access to the .git
folder on the server, or something similar to that.
Cam
On 20/01/2010, at 4:57 PM, Ben Hoskings wrote:
> Hi Terj,
>
> That's not a problem for ruby apps, because the convention is to set the
> DocumentRoot to a subd
Short answer would be yes it would. If a user hits
http:///.git/config it will reveal all your remotes etc. Probably
not what you want
The question for me is why do you have a .git folder in your public directory
in the first place? There should only be 1 in the root of the project from my
unde
Awesome. I'd be keen on the Sydney one.
C
On 06/01/2010, at 11:14 AM, Xavier Shay wrote:
> On 6/01/10 12:56 AM, Epoch wrote:
>> You got me interested. Any updates on this?
> It's all go.
>
> I am checking out venues in Melbourne this week (www.factory59.com.au is
> looking good), aiming for e
Nope,
Auspost website nows nothing about that.
http://www1.auspost.com.au/postcodes/index.asp?Locality=&sub=1&State=NSW&Postcode=1793&submit1=Search
It's fine for me on the project I'm working on, as I don't want PO Boxes anyhow
but someone should log it as an issue with Australia Post. IMO anywa
Yup I'd love to hear about it.
On 11/08/2009, at 10:12 PM, Mark Wotton wrote:
>
> Hey all,
>
> I'm working on an app to let you call Haskell code from Ruby. It's
> pretty embryonic at the moment (http://github.com/mwotton/Hubris and
> http://hubris.rubyforge.org
> ), but I'm hoping that the st
root_path method just returns a string "/" so that would work in any
case. Named routes simply return a string so they should work
C
On 05/08/2009, at 3:46 PM, Jonathan Clarke wrote:
> Example,
>
> :completed=>root_path
>
> 2009/8/5 Jeff Patmon
> Jonathan - can u give me a clearer example of
Yello RORO peeps,
Just a shout out to anyone looking for some contract work.
Snepo has a contract position available for 12 weeks starting from mid
August.
The position is basically to fill in for me, while I'm off overseas
getting married, and honeymooning, however with all the work we have
+1
On 08/07/2009, at 2:32 PM, David Newman wrote:
> Heroku
>
> On Wed, Jul 8, 2009 at 2:21 PM, Alan Harper
> wrote:
>
> I'm with Linnode, been happy with them. Not exactly a high traffic
> site though
>
> On Wed, Jul 8, 2009 at 2:03 PM, Michael
> Cindric wrote:
> > Hi Guys,
> > Question any
I'm also going.
On 24/06/2009, at 12:09 PM, Lachlan Hardy wrote:
>
> There'll be a few of us heading from AR HQ (Foveaux St, Surry Hills) @
> 5:30pm, feel free to meet us there.
>
> Yeah, I'll definitely be going too :)
>
> >
--~--~-~--~~~---~--~~
You received
I also found a few places in Gion but it's a bit of a mission if you
based around shinjuku. However I do agree that once cans of coffee
loose there novalty, things can get a little desperate
On 20/06/2009, at 12:24 AM, Hugh Evans wrote:
> This is a public service announcement. By an amazing
to
>>> you. If you're a CSS person you'll be shocked and sickened. That's
>>> just the way it is.
>>>
>>> If y
p://www.flickr.com/photos/lachie/
>
>
>
> On Wed, Jun 17, 2009 at 3:42 PM, Daniel N wrote:
>>
>>
>> On Wed, Jun 17, 2009 at 3:34 PM, Cameron Barrie > >
>> wrote:
>>>
>>> From the 960 front page:
>>>
>>>
>>>
&
> From the 960 front page:
>
>
>
>
>
> ...
>
>
> ...
>
>
>
> ...
>
>
>
> ...
>
>
>
>
That's exactly the problem, but using compass/sass you can mix those
grid_2 alpha classes
I'm with Martin,
I've used compass a few times now, and I've really enjoyed it so far,
it allows me to leverage blueprint and sass, with the added benefit of
creating semantic mark-up.
Of course one textmate2 is released, all our CSS woes will disappear. :P
C
On 17/06/2009, at 2:39 PM, Joh
booze provided by textmate2?
On 17/06/2009, at 12:57 PM, Lincoln Stoll wrote:
>
> y
>
> On 17/06/2009, at 2:10 AM, Ryan Bigg wrote:
>
>>
>> I heard there's a party here?
>>
>> y/n?
>>
>>>
>
>
> >
--~--~-~--~~~---~--~~
You received this message because you are s
Take a look at CouchDB instead of using a more traditional RDBMS.
It sounds more like what you're after... I think
http://couchdb.apache.org/
Geoffery's also done a peepcode thang about it here:
https://peepcode.com/products/couchdb-with-rails
Hope this is some help.
Cam
On 02/06/2009, at
Goddammit. *cries* why I can't I come.
Stupid Tuesday night. Stupid Trinity... Stupid stupid dammit
C
On 05/05/2009, at 10:06 AM, Nathan de Vries wrote:
>
> On 04/05/2009, at 11:20 PM, Tim Lucas wrote:
>> * view-first rails validations
>
> Cool - looking forward to this one.
>
>
> Chee
Yup from here as well.
Cam
On 24/04/2009, at 12:08 PM, Torm3nt wrote:
>
> It's very interesting. I'm getting the feeling that the "global
> economic downturn", is actually forcing companies to use external
> resources as they're not sure if they can keep permanents on or not.
> Anyone else fee
That is the best blog post about scaling eva! LMAO
On 08/04/2009, at 3:41 PM, David Turnbull wrote:
>
> Agreed, http://teddziuba.com/2008/04/im-going-to-scale-my-foot-up-y.html
>
> On 08/04/2009, at 3:39 PM, Cameron Barrie wrote:
>
>> I agree with that last point.
>&
I agree with that last point.
I do loathe the twitter examples in regards to scaling(no disrespect
meant to anyone BTW).
I can't think of any framework/architecture out of the box that would
have, Got that built for them quickly as it did, and not had a scaling
issue.
Twitter get's slammed by
Anyone got any idea's when Heroku will release a pricing scheme?
Cam
On 08/04/2009, at 8:51 AM, Torm3nt wrote:
>
> Hi Xavier,
>
> Here at the office we use external monitoring apps to see when
> services are down, and our operations team all get an SMS when such an
> occurence er... occurs.
>
Need to re-write Rails in Yiddish first though. :D
*forks rails*
This code is mashugana!
On 18/03/2009, at 1:39 PM, Adam Meehan wrote:
>
> Rails Kibbutz - Code for food
>
> Matt Allen wrote:
>> Without getting too far from the message ...
>>
>> Maybe it's now the time to put my 75 acres to use
+1, that's one I use all the time as well.
On 11/03/2009, at 1:20 PM, Christopher Robbie wrote:
>
> c = a || b
>
> if 'a' is got something, use it, if 'a' is nil(or false) then use 'b'.
> love it.
>
> >
--~--~-~--~~~---~--~~
You received this message because you
>
> On Tue, Mar 10, 2009 at 4:31 PM, Cameron Barrie
> wrote:
>> conditionals on the end of lines. simple but awesome.
>> puts "Awesome" if @apple.awesome?
>> rather than the verbose and less readable C example :P
>> if (apple->flavour == "awesome&quo
conditionals on the end of lines. simple but awesome.
puts "Awesome" if @apple.awesome?
rather than the verbose and less readable C example :P
if (apple->flavour == "awesome")
printf("Awesome\n");
You can even use them on the ends of class definitions and such if
really want to.
class
Can you add a small dash of Heroku to that? After your tweet the other
day.
C
On 04/03/2009, at 12:46 PM, Myles Byrne wrote:
>
> I'm down for a Sinatra Tips & Tricks talk, kind of like a part2 to
> Tim's talk last month
>
> On Thu, Feb 26, 2009 at 3:04 PM, Lindsay Holmwood
> wrote:
>>
>>
I'm rsvp'd for wsg also.
C
On 26/02/2009, at 10:45 AM, Matt Allen wrote:
> I'd like to see the happenings at WSG.
>
> I've been asked to present there at some stage, so need to see what
> i'm up against.
>
> Matta
>
> On Thu, Feb 26, 2009 at 10:43 AM, Ben Askins
> wrote:
>
> On Thu, Feb 26
hella yeah
On 29/01/2009, at 1:51 PM, Daniel N wrote:
>
>
> On Thu, Jan 29, 2009 at 1:47 PM, Lachlan Hardy > wrote:
>
> I'm happy to do a talk on YQL and the hotness it brings to your app,
> if anybody is interested?
>
>
> +1 from me.. That sounds awesome
>
>
> >
--~--~-~--~~--
Oh and I should add it was not considered a mission critical
application.
C
On 27/01/2009, at 6:11 PM, Cameron Barrie wrote:
>
> We've used The Planet for some of the hosting for our clients needs,
> and we actually had this happen about a year ago. It took them about 3
>
We've used The Planet for some of the hosting for our clients needs,
and we actually had this happen about a year ago. It took them about 3
hours to have us back up and running, but the data set was a few days
old. Not too bad considering the building burnt down.
Cam
On 27/01/2009, at 4:34
> Cheers
>
> --
> Pat
>
> On 17/01/2009, at 8:34 AM, Cameron Barrie wrote:
>
>>
>> Hey Pat,
>> Is Thinking Sphinx working with Postgresql yet? I know there was talk
>> of working on it when you presented at Sydney RORO.
>>
>> Cam
&g
Hey Pat,
Is Thinking Sphinx working with Postgresql yet? I know there was talk
of working on it when you presented at Sydney RORO.
Cam
On 16/01/2009, at 9:13 PM, Pat Allan wrote:
>
> Something non-plugin-specific:
> http://freelancing-gods.com/posts/sphinx_a_primer/
>
> If you want more Think
Models would actually be so.
class Post < ActiveRecord::Base
has_many :comments
end
class Comment < ActiveRecord::Base
belongs_to :status
belongs_to :post
end
class Status < ActiveRecord::Base
has_many :comments
end
Simple one to many relationships.
gives you following instanc
COD4
Just sayin'
On 12/11/2008, at 5:40 PM, Ryan Bigg wrote:
>
> Fun was fun.
> -
> Ryan Bigg
> Freelancer
> http://frozenplague.net
>
>
>
>
>
>
>
> On 12/11/2008, at 4:51 PM, Dylan Fogarty-MacDonald wrote:
>
>>
>> I'm sure some of us will get to a singing state at some point..
>>
>> 2008/
+1
On 12/11/2008, at 10:41 AM, Jason Crane wrote:
>
> +1
>
>
> On 12/11/2008, at 10:22 AM, Lachlan Hardy wrote:
>
>> Hells, yes!
>>
>> They do it once a week... That would be awesome, but let's start
>> easy, eh?
>>
>>>
>
>
> >
--~--~-~--~~~---~--~~
You received
Could youtube them on a 'RORO' user account, and then grab the feed
into rubyonrails.com.au?
On 11/11/2008, at 10:09 AM, Torm3nt wrote:
> I think they need to be put on a static page, if needs be, so those
> that miss the ones they wanted to get to, can still view the awesome
> content =)
Just contact them and ask if you can. They're very accommodating
normally.
C
On 29/10/2008, at 1:24 PM, Rex Chung wrote:
> seems rimuhosting doesnt have slice >450mb ram in Sydney..
>
> Rex.
>
> On Wed, Oct 29, 2008 at 10:16 AM, Cameron Barrie <[EMAIL PROTECTED]
They've got VPS's in Dallas, London and Sydney
http://rimuhosting.com/datacenters.jsp#a9
Cam
On 29/10/2008, at 1:09 PM, Adam Meehan wrote:
>
> I can second RimuHosting. Great, quick support.
>
> Adam.
>
> On Oct 29, 12:50 pm, "Anthony Richardson"
> <[EMAIL PROTECTED]> wrote:
>> According to th
Except that they died just 2 secs after I sent that email. :D
I happens I suppose.
They have been quick to fix though, and very informative.
C
On 29/10/2008, at 1:09 PM, Adam Meehan wrote:
>
> I can second RimuHosting. Great, quick support.
>
> Adam.
>
> On Oct 29, 12:50 pm, "Anthony Richards
I use Rimuhosting, who have VPS's in Sydney. They've always been great
to deal with.
Cam
On 29/10/2008, at 11:54 AM, Torm3nt wrote:
> I've got a VPS with crucialparadigm.com
>
> They were quick to respond, their support so far has been excellent
> (the person I talked to was able to help me
65 matches
Mail list logo