search for: codeforpeopl

Displaying 20 results from an estimated 25 matches for "codeforpeopl".

Did you mean: codeforpeople
2006 Feb 14
0
rubyforge-0.1.1
...: rubyforge login rubyforge login --username zaphod --password 42 create_package(group_id, package_name) creates the named package under the specified group. example : rubyforge create_package 1024 traits rubyforge login && rubyforge create_package codeforpeople.com traits notes : in order to use group_ids by name, rather than number, you must edit the rubyforge[group_ids] translation table in your config.yml. add_release(group_id, package_id, release_name, userfile) release a file as release_name under the specified group_id...
2007 Dec 29
0
(unknown)
...hat they are quite easy to test before submitting them from inside your application. ________________________________ Install -------------------------------- Bj can be installed two ways: as a plugin or via rubygems plugin: 1) ./script/plugin install http:// codeforpeople.rubyforge.org/svn/rails/plugins/bj 2) ./script/bj setup gem: 1) $sudo gem install bj 2) add "require ''bj''" to config/environment.rb 3) bj setup ________________________________ Api --------------------------------...
2006 Apr 08
3
[Tip] Application Wide Context Howto
...our requests can get the same application wide vars or objects no matter how many fcgi''s or mongrel''s you have serving up requests. You could also just as easily serve up an app wide array or hash. Lets look at a small example of this. Get the slave library here: http://codeforpeople.com/lib/ruby/slave/slave-0.0.0/README http://codeforpeople.com/lib/ruby/slave/slave-0.0.0.tgz Now lets publish a simple hash that we can use application wide. Put the following in your environment.rb file so it starts up when rails starts up. $application_wide_hash = Slave.new(Hash.new).ob...
2006 Apr 17
0
pre compiled gnu scientific library for win one-click-installer
...array package, which integrates nicely with the gsl http://narray.rubyforge.org/index.html.en this is the first thing i''ve compiled using the msys/mingw approach so i''m not 100% certain that my approach -- which i''ll be writing up on the sciruby wiki (http://sciruby.codeforpeople.com) in a few days and which applies to compiling any posix package under windows in a way that''s one-click compatible -- is the best one. because of this please consider this pre-release experimental. the purpose of my releasing it now is to uncover any gotchas before writing up the pr...
2008 Jun 05
2
Newbie - Is BackgrounDRb compatible on windows ?
I searched online but couldn''t find it. Even BackgrounDRb does not specify platform compatibility. Earlier version of BackgrounDRb ( < 0.2 ) were incompatible with windows. The current version of BackgrounDRb is 1.3. If anybody had any luck running this library on windows machine ? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are
2006 Nov 04
0
cry for help - make this faster
yes, it will require deep ruby and ''c'' knowledge http://codeforpeople.com/lib/ruby/acgi/acgi-0.1.0/README and, obviously http://codeforpeople.com/lib/ruby/acgi/ i think it''s a potentially powerful idea. if you know how to make it faster, please do so and send in a patch. at this point only a factor of 2x is need to close the gap on fastcgi. at thi...
2006 Nov 04
0
traits-0.10.0
URLS http://rubyforge.org/projects/codeforpeople/ http://codeforpeople.com/lib/ruby/traits INSTALL yes|sudo gem install traits ABOUT traits.rb is set of attr_* like methods on steroids, caffeine, and botox. it encourages better living through meta-programming and uniform access priciples. traits.rb supports smart inheritence o...
2006 Aug 07
0
open4-0.5.0
URIS http://rubyforge.org/projects/codeforpeople/ http://www.codeforpeople.com/lib/ruby/ SYNOPSIS open child process with handles on pid, stdin, stdout, and stderr: manage child processes and their io handles easily. HISTORY 0.5.0: - on the suggestion of tim pease (thanks tim!), i added timeout features to open4. the...
2007 Dec 18
9
Long-running pages cause mongrel time-outs
Hi all, We use mongrel behind apache (using mod_proxy_balancer) to run an internal app for our business. Lately we''ve been seeing frequent errors from some of our mongrel processes. [Sun Dec 16 08:48:47 2007] [error] [client <CLIENT1>] (70007)The timeout specified has expired: proxy: error reading status line from remote server 127.0.0.1, referer:
2006 Apr 11
4
Managing "application scope" data - best practices
All, I have some data that I need to be able to see across the application. For J2EE people out there, I need something that I want to have available in the "application scope" of my app. What is the best way to handle this? I''m trying to access a class variable that I created in my controller from my view (to no avail). Create a class variable in my helper class and use
2006 Nov 04
0
traits-0.9.2 - better living through metaprogramming
URLS http://rubyforge.org/projects/codeforpeople/ http://codeforpeople.com/lib/ruby/traits ABOUT traits.rb is set of attr_* like methods on steroids, caffeine, and botox. it encourages better living through meta-programming and uniform access priciples. traits.rb supports smart inheritence of class attributes and a fistful of h...
2006 Nov 04
0
arrayfields-3.6.0
URLS: - http://raa.ruby-lang.org/project/arrayfields/ - http://www.codeforpeople.com/lib/ruby/arrayfields/ - http://rubyforge.org/projects/arrayfields/ SYNOPSIS: allow keyword access to arrays: require ''arrayfields'' fields = ''name'', ''age'' row = [ ''bob'', 30 ] row.fields = fiel...
2006 Jun 08
0
slave-0.0.1
URIS http://codeforpeople.com/lib/ruby/slave/ http://rubyforge.org/frs/?group_id=1024&release_id=5631 SYNOPSIS the Slave class forks a process and starts a drb server in the child using any object as the server. the process is detached so it is not required (nor possible) to wait on the child pid. a He...
2006 Apr 19
0
open4-0.3.0
URIS http://rubyforge.org/frs/?group_id=1024 http://www.codeforpeople.com/lib/ruby/ SYNOPSIS open child process with handles on pid, stdin, stdout, and stderr HISTORY 0.3.0 : - bug fix from jordan breeding. general clean up. added spawn method. 0.2.0 : - added exception marshaled from child -> parent when exec fails. thanks to jo...
2006 Dec 07
9
Exec as another user
I''m running puppetd as root and I''m trying to execute tar as the "puppetd" user 59 define untar ( $source, $dest, $creates, $user = "puppetd" ) { 60 exec { "tar -xzf $source" : 61 cwd => $dest, 62 path => "/bin:/usr/bin", 63 user => $user, 64 creates => $creates,
2006 Nov 04
0
open4-0.5.1
URIS http://rubyforge.org/frs/?group_id=1024 http://www.codeforpeople.com/lib/ruby/ SYNOPSIS open child process with handles on pid, stdin, stdout, and stderr: manage child processes and their io handles easily. HISTORY 0.5.1: - fixes a __critical__ but in ThreadEnsemble class that had a race condition that could cause thread deadlock. sorr...
2007 Nov 02
3
tumblr-0.0.1
...ent response = tumblr.read :start => 42, :num => 42, :json => true json = response.content PARAMETERS --name=name, -n (1 ~> name) --email=email, -e (1 ~> email) --password=password, -p (1 ~> password) --debug, -d --json, -j --help, -h a @ http://codeforpeople.com/ -- it is not enough to be compassionate. you must act. h.h. the 14th dalai lama --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to ruby...
2006 Jun 07
1
Using DRb within Rails
I want to use DRb within my Rails app. Right now I''ve got a very basic class: class PaymentGateway cattr_accessor :ssl_config, :host, :port def self.gateway @@gateway ||= new end def process(amount, card, type = :auth) @biller.process(amount, card, type) end def set_card(user_id, number) @biller.set_card(user_id, number) end protected def initialize
2006 Nov 01
0
fatal flaw in popen4 on windows? [WAS] Re: Nonblocking IO read (fwd)
...reference i''m including the code for my open4 lib''s spawn > method: which illustrates the logical concept of what must be > done to avoid a subprocess blocked writing to it''s parent''s pipes... > > > # > # for complete code see > # http://codeforpeople.com/lib/ruby/open4/open4-0.9.1/lib/open4.rb > # http://rubyforge.org/frs/?group_id=1024&release_id=7556 > # > > def spawn arg, *argv #--{{{ > argv.unshift(arg) > opts = ((argv.size > 1 and Hash === argv.last) ? argv.pop : {}) > argv.flatten! >...
2007 May 15
6
Behaviour of pool_size setting
Hi, I have backgroundrb running to decouple the execution of massive business logic from an ActionWebservice request. The service is designed to take some configuration parameters and fire a lot of background workers to do the requested work. Due to performance reasons I want to limit the number of workers to a maximum number of 30. But when I start a configuration that requires for example