Re: Time Zone best practices? UTC? Local?

2010-09-03 Thread Mike P.

Thank you both very much for your responses, that makes sense! :)

Mike

On Sep 3, 11:38 am, Albert Chou  wrote:
> +1
>
> On Sep 3, 2010, at 7:49 AM, malomalo  wrote:
>
>
>
> > Keep it simple, use UTC - all the time. Only convert and display in
> > timezones when you need. I wish all my data sources were UTC
>
> > That said if your only working in one timezone it probably doesn't
> > matter and choose whatever you like. If your in EST and you don't have
> > to do conversion EST is fine.
>
> > Only my 2 cents though.
>
> > -Jon
>
> > On Sep 1, 10:38 am, "Mike P."  wrote:
> >> Hello,
>
> >> I keep seeing conflicting recommendations on dealing with time zones
> >> on Heroku, and I'm really not sure what to do. For example:
>
> >> 1) This post (which I think may be from someone at Heroku) says to use
> >> UTC:
>
> >> -http://groups.google.com/group/heroku/browse_thread/thread/8e7566a7b8...
>
> >> 2) This post gives a suggestion to specify the Heroku time zone in the
> >> application:
>
> >> -http://stackoverflow.com/questions/2719330/heroku-time-zone-problem-l...
>
> >> 3) This post recommends specifying a TimeZone during a heroku db:pull
> >> call
>
> >> -http://stackoverflow.com/questions/1416294/weird-time-inconsistencies...
>
> >> And so on...
>
> >> I'm inclined to go with number 1, but does anyone have any suggestions/
> >> recommendations/tips or "best practices" on dealing with this time
> >> zone issue?
>
> >> Right now, my time zone is set to "Eastern Time (US & Canada)" in
> >> environment.rb, and the date/time columns in my Postgre tables are set
> >> to "timestamp without time zone." The users will have their own
> >> timezone setting that will be used throughout the app.
>
> >> Is there anything else I should be doing? How can I eliminate any
> >> potential timing issues between development and running on Heroku in
> >> production? Any thoughts or advice would be greatly appreciated.
>
> >> Thank you very much,
> >> Mike
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Heroku" group.
> > To post to this group, send email to her...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > heroku+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/heroku?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: How to deploy app with sensitive config information?

2010-09-03 Thread Oren Teich
thanks for the note - docs updated.

Oren

On Fri, Sep 3, 2010 at 1:22 PM, marcel  wrote:

> "heroku config" truncates the values by default. If you want to
> quickly grab your S3 key or mongohq_url, use the secret "--long"
> parameter. It should really be in the documentation.
>
> heroku config --long
>
> --
> You received this message because you are subscribed to the Google Groups
> "Heroku" group.
> To post to this group, send email to her...@googlegroups.com.
> To unsubscribe from this group, send email to
> heroku+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/heroku?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: How to deploy app with sensitive config information?

2010-09-03 Thread marcel
"heroku config" truncates the values by default. If you want to
quickly grab your S3 key or mongohq_url, use the secret "--long"
parameter. It should really be in the documentation.

heroku config --long

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: git push heroku master CONNECTION REFUSED

2010-09-03 Thread @demetriusolsen
Never mind! Everything works fine. I was working at a public library,
which for some reason wouldn't let me push ???

On Aug 31, 5:59 pm, "@demetriusolsen"  wrote:
> Two-hours later, the simplest command isn't working for me: git push
> heroku master
> Here's what I get in response:
> ssh: connect to host heroku.com port 22: Connection refused
> fatal: The remote end hung up unexpectedly
>
> I've followed Heroku's documentation (Created a new SSH key, double-
> checked to make sure my public key matches with what Heroku has, gem
> uninstalled heroku and reinstalled it). Does anyone have a
> suggestion?
>
> The ONE that that I know I did differently was not use sudo when
> installing heroku. I'm letting RVM manage my gems... could that be it?
>
> What's strange about this is that I was able to use git push heroku
> master a few weeks ago when I was trying to decide if I should use
> Heroku to deploy my app. It worked then
>
> Thanks in advance!

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: Time Zone best practices? UTC? Local?

2010-09-03 Thread Albert Chou
+1


On Sep 3, 2010, at 7:49 AM, malomalo  wrote:

> Keep it simple, use UTC - all the time. Only convert and display in
> timezones when you need. I wish all my data sources were UTC
>
> That said if your only working in one timezone it probably doesn't
> matter and choose whatever you like. If your in EST and you don't have
> to do conversion EST is fine.
>
> Only my 2 cents though.
>
> -Jon
>
> On Sep 1, 10:38 am, "Mike P."  wrote:
>> Hello,
>>
>> I keep seeing conflicting recommendations on dealing with time zones
>> on Heroku, and I'm really not sure what to do. For example:
>>
>> 1) This post (which I think may be from someone at Heroku) says to use
>> UTC:
>>
>> -http://groups.google.com/group/heroku/browse_thread/thread/8e7566a7b8...
>>
>> 2) This post gives a suggestion to specify the Heroku time zone in the
>> application:
>>
>> -http://stackoverflow.com/questions/2719330/heroku-time-zone-problem-l...
>>
>> 3) This post recommends specifying a TimeZone during a heroku db:pull
>> call
>>
>> -http://stackoverflow.com/questions/1416294/weird-time-inconsistencies...
>>
>> And so on...
>>
>> I'm inclined to go with number 1, but does anyone have any suggestions/
>> recommendations/tips or "best practices" on dealing with this time
>> zone issue?
>>
>> Right now, my time zone is set to "Eastern Time (US & Canada)" in
>> environment.rb, and the date/time columns in my Postgre tables are set
>> to "timestamp without time zone." The users will have their own
>> timezone setting that will be used throughout the app.
>>
>> Is there anything else I should be doing? How can I eliminate any
>> potential timing issues between development and running on Heroku in
>> production? Any thoughts or advice would be greatly appreciated.
>>
>> Thank you very much,
>> Mike
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Heroku" group.
> To post to this group, send email to her...@googlegroups.com.
> To unsubscribe from this group, send email to 
> heroku+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/heroku?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: Time Zone best practices? UTC? Local?

2010-09-03 Thread malomalo
Keep it simple, use UTC - all the time. Only convert and display in
timezones when you need. I wish all my data sources were UTC

That said if your only working in one timezone it probably doesn't
matter and choose whatever you like. If your in EST and you don't have
to do conversion EST is fine.

Only my 2 cents though.

-Jon

On Sep 1, 10:38 am, "Mike P."  wrote:
> Hello,
>
> I keep seeing conflicting recommendations on dealing with time zones
> on Heroku, and I'm really not sure what to do. For example:
>
> 1) This post (which I think may be from someone at Heroku) says to use
> UTC:
>
> -http://groups.google.com/group/heroku/browse_thread/thread/8e7566a7b8...
>
> 2) This post gives a suggestion to specify the Heroku time zone in the
> application:
>
> -http://stackoverflow.com/questions/2719330/heroku-time-zone-problem-l...
>
> 3) This post recommends specifying a TimeZone during a heroku db:pull
> call
>
> -http://stackoverflow.com/questions/1416294/weird-time-inconsistencies...
>
> And so on...
>
> I'm inclined to go with number 1, but does anyone have any suggestions/
> recommendations/tips or "best practices" on dealing with this time
> zone issue?
>
> Right now, my time zone is set to "Eastern Time (US & Canada)" in
> environment.rb, and the date/time columns in my Postgre tables are set
> to "timestamp without time zone." The users will have their own
> timezone setting that will be used throughout the app.
>
> Is there anything else I should be doing? How can I eliminate any
> potential timing issues between development and running on Heroku in
> production? Any thoughts or advice would be greatly appreciated.
>
> Thank you very much,
> Mike

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Amazon VPC and Heroku

2010-09-03 Thread fbjork
I'm currently developing an app that needs to connect to a service
behind firewall.

Any ideas on how to set this up with little moving parts?

I've looked at Amazon VPC. Any one who is running an app on Heroku
that has similar requirements that could share some ideas?

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: Bundler 1.0.0 Rollout

2010-09-03 Thread Ashley Moran

On 1 Sep 2010, at 06:42, Gabriel wrote:

> Maybe I'm missing something obvious, but can't you specify a group for
> those gems and then only deploy them in dev and test?  So as part of
> your deployment to heroku you'd do something like: bundle install --
> without gems_heroku_dun_like
> 
> I'm going to have to deal with exactly the same problem so I'm curious
> if this will work for you.

Hi Gabriel

Interesting idea, but how do you tell Heroku which Gemfile groups to bundle?  I 
didn't think that was possible.

Cheers
Ash

-- 
http://www.patchspace.co.uk/
http://www.linkedin.com/in/ashleymoran

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.