Displaying 20 results from an estimated 5000 matches similar to: "Need to call C++ processing beast from backgroudrb"
2006 Jun 30
2
Rather ominous resource consumption figures
Hello,
Yesterday I posted about how to email from a worker. I decided to be a bit
piggy and just inhale all of rails. Sorted. I am noticing some rather
ominous behavior though.
The setup: My worker takes an uploaded image as a param and passes it (via
system call) to a C++ image processing engine. Take a look at these memory
consumption figures for successive runs uploading the identical image
2006 Jun 30
2
Need to send email from a worker
Hello,
Can someone suggest the simplest way to send email from a worker? At
completion, I need to send the results of it''s work to a recipient.
Thanks,
Doug Turner
skype: dduuggllaa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20060629/94d9fb64/attachment.html
2008 Jan 08
5
Different environments in backgroudrb.yml
Hi,
Got everything setup nicely with backgroundrb for the development
environment and running tests with rspec. However, I have to keep
editing the backgroundrb.yml file, to switch between development and
testing environment. How can I declare a development, testing and
production environment in backgroundrb.yml?
Thanks in advance
Rai
2006 May 25
3
No joy for newbie Capistrano user
Hello,
I tried taking Capistrano out for a test drive and I can''t even get out of
the garage.
I am following the instructions here:
http://manuals.rubyonrails.com/read/chapter/98#page262
As well as Duncan Davidson''s Deploying Rails with Lighty:
Deploying Rails with
LightTPDhttp://duncandavidson.com/essay/2005/12/railsonlighty
Specifically, when I do:
rake remote:exec
2006 Jun 30
0
Fwd: Need to send email from a worker
Begin forwarded message:
> From: Ezra Zygmuntowicz <ez at brainspl.at>
> Date: June 29, 2006 8:18:10 PM PDT
> To: Douglass Turner <douglass.turner at gmail.com>
> Subject: Re: [Backgroundrb-devel] Need to send email from a worker
>
>
> On Jun 29, 2006, at 7:45 PM, Douglass Turner wrote:
>
>> Hello,
>>
>> Can someone suggest the simplest way to
2006 Jun 15
12
Multithreading and DB access in Rails
I just tried writing some controllers, etc. that would allow me to start
and monitor background tasks running in new (Ruby) threads, with the
idea that I''d eventually manage long-running indexing processes that
way. I can kick off such threads OK (by using Thread.new in a routine
called by a controller), but it seems like Rails gets huffy if those
background tasks and the ordinary
2006 Jun 03
1
Seek Rails Design Pattern for Photo Manipulation Service
Hello,
I''ve built a powerful image manipulation engine in C++ that I want to
deploy as a Web-based service for all to use. The idea is straight
forward: Visit my site, submit a photo, select a visual treatment, press
go, and receive the resultant photo via email.
See samples here: http://www.flickr.com/photos/tags/theimageengine
While the engine is rock solid, I am struggling a bit
2005 Dec 15
2
Questions regarding architecture of a server-based image-processor deployed in ROR
Hello,
I''m planning to deploy a hybrid 2D/3D visual fx and image manipulation
engine as a server accessible via the Web. So you can send Flickr
images to it for all manner of image trickery.
My engine uses a little text-based language I devised that is parsed
and a resultant image produced. The UI for this service collects the
input image and associated params and passes the collection
2006 Aug 21
3
strange problem with system call
Hi,
I am using backgroundrb to create a automated system of typo blogs.So, users
can create new typo applications using web interface and all that jazz.
Now..its working perfectly except one minor glitch. Since latest version of
typo has a command called "typo", i simply use that command to install new
typo app.And it works.
def do_work(args)
DIR =
2006 Oct 27
8
Error after moving to production server
so i have an after_create method on my track model that kicks off a
background process that converts an mp3 to a swf.
this is working fine locally on my machine, but upon moving it to my
production server, i am getting the following error. I''ve only been
using backgroundRB for like 48 hours, so i''m not really sure what
this means or where to go. any ideas?
2006 Jul 13
1
Problems With IO.popen
Howdy.
I am trying to launch an external shell process from my Rails app using
IO.popen.
The process runs just fine when I am logged in as the user from the shell
but when I run it from Rails, the task doesn''t run properly and the output
is too truncated to see any errors.
Anything special I need to worry about when running shell tasks this way?
I have code like the following:
2006 Aug 09
3
Need help with backgroundrb''s concepts and installation
Hello backgroundrb-devel
my name is Teeranit Ruangdet. I''m fairly new to Ruby on Rails so please bear
with me here.
I''m currently on a project where I need to import a whole bunch of records
from spreadsheet(.csv) and save them in the database. My problem is that
while I''m importing (huge file...say 5000 employees), no one else can access
the website (it basically block
2006 Aug 16
7
Forward of moderated message
OK I know whats happening. Your while loop completes and calls kill
on the worker before your task_progress controller method ever gets
called> So the worker is deleted and when you try to access it from
rails you get an error because there is no longer a worker at that
job key. The kill method is meant to be used within a worker that you
fire and forget. If you want to get the
2005 Mar 04
2
Part 2 of ONLamp.com Rails article is online
ONLamp.com has finally published part 2 of my Rails article! You can find it
here:
http://www.onlamp.com/pub/a/onlamp/2005/03/03/rails.html
It would be really nice if we could get this slash dotted again before the
weekend.
>From what I understand, you''re more likely to get accepted when multiple
people submit something. So, to anyone who has the inclination: if you would
submit
2006 May 08
4
Asterisk documentation..
Where can I get some asterisk books.. or tutorials..? I?ve been searching in
google.. but I find just some tutorials explaining how to fast set up an
asterisk server. I want to learn how to use it and how to make my own
configurations. So, the thing is that I want to know what is the best book
or tutorial that you know? recomendations? Thanks to everyone...
Danko Miocevic
2006 Mar 28
6
blank page output
Hello, I''m new to Ruby and RubyOnRails. I''m running Fedora 4 which comes
with Ruby 1.84-1. I installed rubyonrails, and I''m doing the a sample
program found on
http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=2
I ran ruby script/generate controller MyTest. I edited the file
my_test_controller.rb. Here''s the code I entered
class MyTestController
2006 Aug 14
5
UML
In Rolling with Ruby on Rails tutorial -
http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html - I saw that to
introduce a new element to my domain, I needed to define it in a table,
generate a model element with a similar name and the class would
autoamtically take the attributes from the table definition. Is it
possible to do this in the other direction... i.e to take the class
diagram
2007 Feb 03
3
Backgroundrb-devel Digest, Vol 9, Issue 1
Hi Bill,
I have "version 1" backgroundrb running on my development server with
rails 1.2.1, with no issues (other than the left over DB connections
blocking up my MySQL server, which isn''t exactly a new problem).
Going to move production servers to rails 1.2.1 very soon, I''ll post
back if there''s any trouble.
Still would *really* like to get version
2006 Aug 08
2
Should I uninstall everything to install InstantRails?
Please help me I am brand new to this.
I have been following this tutorial from OnLamp
http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html
which tells you how to install ruby, rails and mySQL and get going.
Doing this tutorial convinced me RoR was the way to go for me.
So I got hold of this e-book:
Agile Web Development with Rails - The Pragmatic Programmers
The book tells me to install
2006 Mar 09
3
ONLamp.com Tutorial Trouble
I have installed Ruby on Rails and the latest version of MySQL in my
Windows XP machine and I am following a demo from ONLamp.com
<http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=3>. I am
3/5 down the page where it says:
"Open a browser and navigate to http://127.0.0.1:3000/recipe/new. You
should see something like Figure 32."
Instead of a page like Figure 32, I get