Imminent Death of the Heroku Google Group

2012-04-25 Thread Alex Chaffee
27;re not having any problems. Why uproot a productive community (this mailing list) and hope that it migrates to a new place with a radically different interaction model? [1] http://lists.heroku.com/t/ViewEmail/r/6DFC781E555FD71E/CEC5941F8B0A6F4BC5EC08CADFFC107B -- Alex Chaffee -

Re: Background job guidance

2011-12-08 Thread Alex Chaffee
I rolled my own background job processor using CouchDB. Procfiles and Foreman and the Cedar process model make it very simple. I can even scale up and down using the Heroku API from inside a running Heroku web process; I think the Resque systems I saw described don't allow you to scale down to

Re: [ANN] rerun 0.6.3 released, with foreman/Procfile support

2011-12-04 Thread Alex Chaffee
weaks. And since this is the Heroku list, let me re-pose the question: Is rerun now the only one of the myriad "restarter" tools with support for restarting foreman (worker procs) in development? - A On Sun, Nov 27, 2011 at 1:14 PM, Alex Chaffee wrote: > rerun 0.6.3 released >

[ANN] rerun 0.6.3 released, with foreman/Procfile support

2011-11-27 Thread Alex Chaffee
by pressing keys:   r - restart (as if a file had changed)  c - clear the screen  x - exit (just like control-C) -- Alex Chaffee - a...@stinky.com http://alexchaffee.com http://twitter.com/alexch -- You received this message because you are subscribed to the Google Groups "Her

How can I scale my worker processes from inside a web process?

2011-11-18 Thread Alex Chaffee
(was "Can I issue a "heroku restart" from within my app that's running on Heroku") Neil, you read my mind! Thanks for the answer. My only regret is that it's buried in a thread with advice for some poor soul who wants to use heroku:restart. Oh wait, I can rename the thread! :-) How about "How

[addon] Cloudant CouchDB Futon - formatting problem and fix

2011-11-18 Thread Alex Chaffee
First, in case you don't know, CouchDB calls its admin console "Futon". Yes, it's a stupid name for an admin console. Anyway. Cloudant's Heroku console (https://cloudant.com/futon/database.html once you're logged in) wraps the normal couchdb futon in some extra HTML, show

Deploying an app on behalf of a third party

2011-07-27 Thread Alex Chaffee
o the user (after appropriate email validation, of course). So I guess now my question becomes, can I use the heroku gem or CLI from inside a running heroku app? - A [1] not nearly as tasty as Animal Crackers. (cc'ing the test-first-teaching google group in case someone there has any

Re: Anyone having trouble using heroku console?

2011-07-15 Thread Alex Chaffee
Rake 0.9.x no longer includes the DSL module in the top level namespace. So another solution to the "uninitialized constant Rake::DSL" problem is to explicitly include the DSL module in your Rakefile, near the top, like this: require "rake" include Rake::DSL It's more or less fixed now (with Rake

Re: uninitialized constant Rake::DSL

2011-06-21 Thread Alex Chaffee
YMMV, but I'm pretty sure Rake 0.9.2 fixes this. Another solution is to add the following to your Rakefile, right after "require 'rake'" class Rails::Application include Rake::DSL end (from memory; please let me know if it doesn't work and I'll look it up for you) On Jun 17, 7:01 pm, Daniel

Re: workers crashing....

2010-08-13 Thread Alex Chaffee
Try heroku workers 0; heroku workers 1 to force a worker restart. btw I upgraded to the 1.9 stack and haven't had a worker crash since. Alex -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to her...@googlegroups.c

Re: workers dying overnight

2010-08-06 Thread Alex Chaffee
Update: I upgraded my stack to Ruby 1.9.1 and the crashes seem to have stopped. (Knock wood!) heroku stack:migrate bamboo-mri-1.9.1 On Jul 30, 10:28 am, Alex Chaffee wrote: > What a useful command! Thanks. > > Still, I don't know what I could be doing to cause DJ to crash

Re: workers dying overnight

2010-07-30 Thread Alex Chaffee
s is when I messed up something > on my side so that I was causing DJ to crash. I debugged it by doing: > > heroku ps > > > > On Thu, Jul 29, 2010 at 11:10 AM, Alex Chaffee wrote: > > I wrote a simple Heroku app to do service monitoring. It uses > > DelayedJob to qu

workers dying overnight

2010-07-29 Thread Alex Chaffee
The code is at http://github.com/alexch/sentry if you want to try it yourself. Has anyone else had this problem? -- Alex Chaffee - a...@cohuman.com - http://alexch.github.com Stalk me: http://friendfeed.com/alexch | http://twitter.com/alexch | http://alexch.tumblr.com -- You received this m

Re: alternative to pony

2010-07-09 Thread Alex Chaffee
Check out the Mail gem, the successor to TMail. Also, if pony's a gem, you can declare it in .gems and it'll add 0MB to your slug size. Same with mail. On Jul 8, 1:27 pm, Shane wrote: > I just added pony to my app to send email and it added ~1.5MB to my > slug size. Is there an alternative that

Re: Deployment Planning and general safeguards

2010-06-28 Thread Alex Chaffee
We've got our own set of rake tasks which I recently extracted into a separate object so I could add tests and make them more modular. They add a few features to the (awesome, stellar, beautiful) heroku deploy process: * "rake stage" pushes master to staging * "rake deploy" pushes what's on stagin

Re: Web Stats

2010-05-29 Thread Alex Chaffee
Google Analytics is indeed the best (if not the only) way, in my experience. We also log some significant events (e.g. signups) in our database as they happen, and provide a protected "/stats" page for admins. On May 28, 10:50 am, DAZ wrote: > Hi, > > Is it possible to get basic web stats such as

Maximum RAM per dyno?

2010-03-09 Thread Alex Chaffee
ting Ruby objects, especially ActiveRecord objects, not to mention that memcached isn't officially available as an addon.) --- Alex Chaffee - a...@cohuman.com - http://alexch.github.com Stalk me: http://friendfeed.com/alexch | http://twitter.com/alexch | http://alexch.tumblr.com -- You re

problem (and solution) with migrating db twice

2010-02-05 Thread Alex Chaffee
. I've got a relatively clean rakefile for wrapping deploys to Heroku with things like grepping git logs and sending an email; let me know if anyone's interested and I'll post it in a gist or something. --- Alex Chaffee - a...@cohuman.com - http://alexch.github.com Stalk me: htt

UTC vs Ruby, ActiveRecord, Sinatra, Heroku and Postgres

2010-01-22 Thread Alex Chaffee
heroku-and-postgres --- Alex Chaffee - a...@cohuman.com - http://alexch.github.com Stalk me: http://friendfeed.com/alexch | http://twitter.com/alexch | http://alexch.tumblr.com Now that I'm starting to use DelayedJob to perform jobs in the future in my Heroku Sinatra app, its important that

Re: Site down between Push and Migrate?

2009-08-17 Thread Alex Chaffee
Awesome. That's even better than I'd hoped! :-) - A On Aug 17, 12:00 pm, Adam Wiggins wrote: > On Sun, Aug 16, 2009 at 10:39 AM, Alex Chaffee wrote: > > During the few seconds the restart is happening, what happens to > > incoming HTTP requests? Are they queue

Re: Site down between Push and Migrate?

2009-08-16 Thread Alex Chaffee
Ricardo - Thanks for the detailed replies but I'm still unclear on a few things about downtime during deploy. During the few seconds the restart is happening, what happens to incoming HTTP requests? Are they queued or do they fail? If the latter, where's the error page and can we change it? And

Re: .gems vs. geminstaller.yml

2009-06-30 Thread Alex Chaffee
> Is there a feature that Gem Installer offers that you wished you had > for the gems manifest?   Not yet... But I want to be able to have a single config file, not 2 or 3. Since geminstaller has nice features like rogue gem listing which may come in handy, I'd prefer that one. > Or are you loo

.gems vs. geminstaller.yml

2009-06-29 Thread Alex Chaffee
Geminstaller has been out for a while now and has many good features and a YAML config file and a trivial activation sequence. Any chance Heroku can look for geminstaller.yml in addition to (or instead of) the .gems file? http://geminstaller.rubyforge.org/ - A --~--~-~--~~-

Re: Spam

2009-06-25 Thread Alex Chaffee
Please keep the Google Group. Every web-based forum is missing some feature that email has that is vitally important to some people and irrelevant or invisible to others (usually it's the latter type who advocate moving to a web-based system, imagining everyone else will follow them there because

Re: Way to see DB size used?

2009-06-04 Thread Alex Chaffee
Doesn't work. All I get are url, git repo, and collaborators. No size info. On Jun 3, 4:50 pm, Adam Wiggins wrote: > On Wed, Jun 3, 2009 at 4:44 PM, Carl wrote: > > Is there anyway to see the size of the database being used on Heroku, > > http://docs.heroku.com/heroku-command#app-commands > > A

Re: Getting Heroku errors...any updates/suggestions?

2009-05-16 Thread Alex Chaffee
art responding on twitter. > > I love you Heroku...but I have to be able to trust you, too.  :) > > Jason > > On May 16, 12:36 pm, Alex Chaffee wrote: > > > > > A further report... as of 10:30 am my server is totally unavailable as > > well. > > > &quo

Re: Getting Heroku errors...any updates/suggestions?

2009-05-16 Thread Alex Chaffee
A further report... as of 10:30 am my server is totally unavailable as well. "heroku logs" returns a blank line. "heroku db:pull" returns "Internal server error" Hitting the web site gives the ouchie Japanese guy. --~--~-~--~~~---~--~~ You received this message