least squares curve fitting: Levenberg–Marquardt or other algos...

2011-05-05 Thread fearless_fool
[this is a follow-up on http://groups.google.com/group/heroku/browse_thread/thread/1291b69e5908654] Sooner than later, my app will need access to a solid least-squares curve fitting algorithm. From other comments, it appears that Gnu Scientific Library (GSL) is NOT part of the Heroku stack. Bef

Fragment Caching "kind of" expiring

2011-05-05 Thread joshmckin
We have started to make use of some basic Rails 3 based caching to improve performance of our site, but are having an issue. I am trying to use fragment caching to cache a portion in our head that contains a select box that (depending on the user) could have over 300 options. Although the local-t

Re: Download CSV from AWS as file, not text

2011-05-05 Thread Kerri Miller
IIRC S3 likes to send things as "application/octet-stream" if you don't specify the MIME when you upload. -k- On Thu, May 5, 2011 at 10:18 AM, Steve Smith wrote: > When you inspect the headers of the file are you seeing a content type? It > sounds like you need to tell amazon the content-type an

Re: Download CSV from AWS as file, not text

2011-05-05 Thread batate
Yeah...good call. The content type is bogus. How do I force it with carrierwave? Is that in the uploader? On May 5, 12:18 pm, Steve Smith wrote: > When you inspect the headers of the file are you seeing a content type? It > sounds like you need to tell amazon the content-type and set a > conten

Re: Download CSV from AWS as file, not text

2011-05-05 Thread Steve Smith
When you inspect the headers of the file are you seeing a content type? It sounds like you need to tell amazon the content-type and set a content-disposition/filename. I would guess that there is no content type being set and therefore amazon doesn't know to set the headers that force the browser t

Re: Download CSV from AWS as file, not text

2011-05-05 Thread chris
Oh boy, not sure what you're doing there... or used to be doing... but to send data, you use... send_data. http://apidock.com/rails/ActionController/Streaming/send_data But, if you're downloading from S3... you could just, y'know, redirect the user to your s3 bucket/path? -- You received this

Re: CAN'T HOST FILE UPLOAD SAMPLE APP ON HEROKU

2011-05-05 Thread Ben Scofield
Heroku applications run in a read-only filesystem -- you can't upload files directly. Instead, you should be uploading them to an external service like S3. Here's the relevant Dev Center article on the limitation: http://devcenter.heroku.com/articles/read-only-filesystem On May 4, 1:53 pm, ken bob

Download CSV from AWS as file, not text

2011-05-05 Thread batate
I am uploading reports, via Carrierwave, to Amazon s3, but with protected urls. I'm able to process the upload fine, and I can see the file on Amazon, but it renders as text. I want it to trigger a browser download instead of just render the text. When I was generating the file via a template, I c

CAN'T HOST FILE UPLOAD SAMPLE APP ON HEROKU

2011-05-05 Thread ken bob
Hi, After hosting my sample app for file upload on heroku using the FREE account, it does not work properly. However, everything works fine on my local machine. Please help FOR FILE UPLOAD:: // controller.rb def uploadFile if params[:upload] == nil redirect_to(:action => :home, :noti