+1. What James said.
On Wed, Apr 21, 2010 at 4:13 PM, James Sadler wrote:
> Ryan,
>
> How about you put together a list of a few tickets that we might make
> a reasonable stab at fixing during hack night? You'd probably have a
> better idea of what's achievable than most of us. I'm guessing tha
Love this idea. Would love to do the haml debate if it hasn't happened
by the time I get back from Europe. I could run for either side.
One interesting idea is to encourage people to play devils advocate
and not just fight for their legitimate opinions. We might learn
something.
On Wednesday, Apr
> The Sydney Opera House already has a Festival of Dangerous Ideas, so
> consider it stolen.
The Festival of Very Dangerous Ideas
--
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-ocea...@goog
Reminder: RORO is next week!
--
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-ocea...@googlegroups.com.
To unsubscribe from this group, send email to
rails-oceania+unsubscr...@googlegroups.com.
This is a great idea, I think it'd probably result in much better
"introductions" to the debated technologies for those who dont know
much about them than the usual talk format.
lucas
On Thu, Apr 22, 2010 at 1:12 AM, Michael Koukoullis
wrote:
>> The Sydney Opera House already has a Festival of D
On 22/04/2010, at 1:12 AM, Michael Koukoullis wrote:
The Festival of Very Dangerous Ideas
What about "First World Problems"?
Cheers,
Nathan
--
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
Haha yes!
On Thursday, April 22, 2010, Nathan de Vries wrote:
> On 22/04/2010, at 1:12 AM, Michael Koukoullis wrote:
>
> The Festival of Very Dangerous Ideas
>
>
> What about "First World Problems"?
>
>
> Cheers,
>
> Nathan
>
> --
> You received this message because you are subscribed to the Goog
If you can reach the reCAPTCHA site and the client can reach you, you
should be able to assume the client can get to recaptcha (since the
internet routes around damage).
Therefore you should be able to write a keepalive sweeper that pings
reCAPTCHA every few minutes, and provides a class method to
I think Andrew may have already borrowed the name. See
http://en.wikipedia.org/wiki/Festival_of_Dangerous_Ideas
On 21/04/2010, at 12:40 PM, Gareth Townsend wrote:
> I'm stealing that name.
>
> Not sent from my iPad
>
> On 21/04/2010, at 12:20 PM, Dr Nic Williams wrote:
>
>> "festival of dan
At Railscamp 7, I stood up during our Sunday night town hall meeting and
shared about how I want to big up myself and find a mentor to help me grow
as a software craftsman. I asked the room for a show of hands for people
who would be willing to mentor others and/or would want to have a mentor for
Hi folks - I'm looking for something that will load a web page and extract
just visible text elements from it.
I could probably write something using nokogiri (is nokogiri still the best
option for html parsing?) but I was wondering if someone had alread done
something similar.
I don't need initia
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
Visible as everything that's actually visible to end-users? (e.g.:
elements that are CSS set to display: none don't count)
If so, I seem Nokogiri is the way to go, as it also has a CSS parser
apart from HTML.
On Thu, Apr 22, 2010 at 10:28 AM, Korny Sietsma wrote:
> Hi folks - I'm looking for s
Would this really work with people who aren't already buddies, without
any sort of tangible incentive?
Not meaning to sound like a greedy bastard, teaching is always an
awesome idea, as both sides stand to grow a lot with it. I just can't
see *qualified* people who perhaps already maintain project
I'd say nokogiri or Hpricot (http://hpricot.com/) would be your best bets.
On Thu, Apr 22, 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 could probably write something using nokogiri (i
>
> Would this really work with people who aren't already buddies, without
> any sort of tangible incentive?
>
I've got no idea if this will work. I think the point here is to try and see
if it works or not.
> I just can't see *qualified* people who perhaps already maintain projects
> and
> res
Yeah by all means, trying is the way to go, and props for the initiative.
On Thu, Apr 22, 2010 at 10:51 AM, Gabe Hollombe wrote:
>> Would this really work with people who aren't already buddies, without
>> any sort of tangible incentive?
>
> I've got no idea if this will work. I think the point
Thanks Daniel, I like this idea and will give it a go!
It shouldn't be too hard to extrapolate into a generic web service swapping
plugin as well.
Cheers
-Chris
On Thu, Apr 22, 2010 at 9:53 AM, Daniel wrote:
> If you can reach the reCAPTCHA site and the client can reach you, you
> should be
With great respect to your idea:
I think that people looking for mentors should surround themselves with
great people
then look to approaching certain individuals based on particular skills.
I'm not really sure how a program to organise this would work.
Although I believe that anyone who is seri
I can see the experience / ability / willingness to mentor others being
pretty attractive to employers (or even clients); with the framework for it
set up a certain way, I can see this (plus our native altruism of course)
helping to provide a good incentive.
I'm not trying to be cynical either, bu
"come to tuition"
Oh, that's a great pun. :-)
Regards,
Gus
On Thu, Apr 22, 2010 at 11:05 AM, Ben Schwarz wrote:
> With great respect to your idea:
> I think that people looking for mentors should surround themselves with
> great people
> then look to approaching certain individuals based on pa
I thought someone might like that. I'd hoped anyway.
On Thu, Apr 22, 2010 at 11:13 AM, Gus Gollings wrote:
> "come to tuition"
>
> Oh, that's a great pun. :-)
>
> Regards,
>
> Gus
>
> On Thu, Apr 22, 2010 at 11:05 AM, Ben Schwarz
> wrote:
> > With great respect to your idea:
> > I think that peo
Sanitize will do it (It's based on Nokogiri)
http://github.com/rgrove/sanitize/
--
Myles Eftos
Mobile: +61-409-293-183
MadPilot Productions - Created to be Different
URL: http://www.madpilot.com.au
Phone: +618-6424-8234
Fax: +618-9467-6289
Try our tim
Hi all,
Currently I am running Rails application online and it is running dog
slow. The current memory that I have on the VPS right now is 360MB,
which I thought was more than enough. How much would you recommend,
based on your experience, I should allocate for a Rails apps? Is there
anything els
That amount of RAM _can_ be enough, but it depends quite heavily on
your setup, and the particulars of the application design and how much
traffic it gets. A bit more information might help:
- what's the app?
- how much traffic do you get?
- what version of Rails are you using?
- does the app run
Hi Joshua
The best way when learning is to react to what's happening for your
app right now.
And the first question to ask is "is my slice swapping" -- that is,
has it run out of real memory and is resorting to disc based virtual
memory.
(assuming you're using linux of some kind) Use free -m to
To add onto that list, does your app have any memory intensive tasks
(such as importing and transforming data from an external source)?
For most apps, 360mb is more than adequate (and possibly overkill).
On Thu, Apr 22, 2010 at 11:27 AM, Simon Russell wrote:
> That amount of RAM _can_ be enough,
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
More importantly, it depends how many instances of the Rails app you are
running. If Passenger is spooling up 2+ then you might want to look into
restricting it to 2 max
On Thu, Apr 22, 2010 at 11:29 AM, Jared Fraser wrote:
> To add onto that list, does your app have any memory intensive tasks
>
Hey Cam,
About a year ago, ActiveRecord::Batches was introduced to avoid that
exact problem. You can use either find_each() or find_in_batches() to
iterate over large collections without loading the entire collection
of records into memory. Those methods default to 1000 record batch
sizes
That's exactly right, I use find_in_batches regularly these days. Each of those
methods limits the amount of AR objects instantiated and put into memory at any
given point in time(which as I found out the hard way is really important).
find(:all) will just write a select with no limit on it, and
Hi Nathan and Cameron,
Thanks for the pointers. I think I use alot of find(:all) in the code.
I am going to revise the code again. =)
Kind regards,
Joshua
On Thu, Apr 22, 2010 at 11:41 AM, Nathan de Vries wrote:
> Hey Cam,
>
> About a year ago, ActiveRecord::Batches was introduced to avoid that
Hi Simon and Lachie,
These are the setup that I use :
- Rails 3 with Passenger and nginx
- Database: MariaDB in the same box with the app
- Traffic, not so much as nobody know about it yet
- On dev it is running quite well, but I am using 2Gig of RAM on my dev box
In case you are wondering how do
Hi Chendo,
As I am using passenger, I am going to read passenger doc on how to
limit the number of spools. Thank you very much for the pointers.
Kind regards,
Joshua
--
http://twitter.com/scrum8
On Thu, Apr 22, 2010 at 11:31 AM, chendo wrote:
> More importantly, it depends how many instances
Hi Lachie,
Thank you for the pointers. I am going to monitor the memory usage on
the online box tonight. This is really helpful.
Kind regards,
Joshua
--
http://twitter.com/scrum8
On Thu, Apr 22, 2010 at 11:29 AM, Lachie wrote:
> Hi Joshua
>
> The best way when learning is to react to what's
Hey Joshua
It seems really fast to me, just clicking around a little.
Could it be the passenger spin up you're noticing? Where passenger
kills idle apps after 5mins of idle, and on first use they need to be
spun back up.
(You can turn this behaviour off with passenger_pool_idle_time: 0; in nginx
Joshua Partogi wrote:
> Thanks for the pointers. I think I use alot of find(:all) in the code.
> I am going to revise the code again. =)
find(:all) / all() is ok on models that will only ever have a few
records (CustomerType, ProductFormat, etc). You just need to be careful
when using it on models
MySQL server is down for me
On Thu, Apr 22, 2010 at 1:23 PM, James Healy wrote:
> Joshua Partogi wrote:
> > Thanks for the pointers. I think I use alot of find(:all) in the code.
> > I am going to revise the code again. =)
>
> find(:all) / all() is ok on models that will only ever have a few
> r
One thing that I hate about MySQL. It just shuts down by itself after
inactivity. Aarrgh.
--
http://twitter.com/scrum8
On Thu, Apr 22, 2010 at 1:38 PM, chendo wrote:
> MySQL server is down for me
>
> On Thu, Apr 22, 2010 at 1:23 PM, James Healy wrote:
>>
>> Joshua Partogi wrote:
>> > Thanks f
I've never seen it do that, that sounds odd.
Monit is great tool to make sure all the stuff you need is up and running,
you should check it out, or God.
On Thu, Apr 22, 2010 at 1:53 PM, Joshua Partogi wrote:
> One thing that I hate about MySQL. It just shuts down by itself after
> inactivity. A
Hi Joshua,
The app is _using_ 2 gigs on your demo box? Or you have 2 gigs of RAM?
Seems like there shouldn't be any reason for it to be slow (sorry,
it's still down, so I can't see if it's slow for me); I'd definitely
have a look at your DB schema; see if the queries you're running are
using an
Hi Simon,
The demo is running again now. The 2Gigs of RAM is my development
computer, the demo box runs on a VPS with 360MB RAM.
If you want to see the DB schema, I have dumped it here:
http://github.com/scrum8/projexion/blob/master/db/development_structure.sql
Thanks heaps mate.
Kind regards,
Is there any indexes on those tables?
Jonathan
On 22 April 2010 15:01, Joshua Partogi wrote:
> Hi Simon,
>
> The demo is running again now. The 2Gigs of RAM is my development
> computer, the demo box runs on a VPS with 360MB RAM.
>
> If you want to see the DB schema, I have dumped it here:
> ht
I was wondering the same thing, there don't seem to be many. It is
exceptionally slow to display the first page after the login.
But that should only be a problem if there's a whole heap of data in
there; what's the largest table? Also, my question about the RAM was
actually how much is being us
looks perfect - thanks!
On Thu, Apr 22, 2010 at 10:45 AM, Myles Eftos wrote:
> Sanitize will do it (It's based on Nokogiri)
>
> http://github.com/rgrove/sanitize/
>
> --
> Myles Eftos
> Mobile: +61-409-293-183
>
> MadPilot Productions - Created to be D
45 matches
Mail list logo