search for: lowi

Displaying 14 results from an estimated 14 matches for "lowi".

Did you mean: low
2010 May 02
3
How could I use a function saved in one file ?
...unction directly, because no matter where I save this file, R always reports a missing function. For example, > M = matrix(c(25194,2783,307,20),2) > P_Value(M) Error: could not find function "P_Value" Sincerely thanks a lot for any suggestions. Lowie -- Without dream, life is incomplete! [[alternative HTML version deleted]]
2007 Sep 05
4
Mocking to spec a sort_by method
Hello, I have a question regarding the use of Mocha with rSpec to spec one of my methods. My spec contains the following vehical1 = mock() vehical2 = mock() vehical1.stubs(:mph).returns(150) vehical2.stubs(:mph).returns(250) comparer.add_vehical([@vehical1, @vehical2]) comparer.sort_by(:mph) The comparer is an object that has a basic "stack like" functionality, add_vehical is the method to add objects t...
2009 Feb 03
2
ThinkCell type waterfall charts in R?
Hi all, with PowerPoint and ThinkCell one can draw something they call waterfall chart and it looks like this: http://www.think-cell.com/products/images/waterfall.gif I found discussions on waterfall charts in the archive of this mailinglist, but unfortunately they looked totally different. Other names for this type of plot seem to be bridge chart, cascade chart, stair case chart, etc. but
2006 Jul 31
9
Problems with ever-increasing ID value
...sting data, but new rows are created with increasingly large ID number -- ie the "old" IDs are not reused. Has anybody seen this problem ? Perhaps I am misunderstanding the destroy_all method ? I would like the new rows to begin with ID = 1 . My "Residence" model has the following line, if it is revelevant: has_many :comments, :dependent => :destroy I would appreciate any suggestions, Chris -- Posted via http://www.ruby-forum.com/.
2006 Aug 16
5
Dreamhost FastCGI: incomplete headers (0 bytes) errors
...AME} !-f RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] Unfortunately I cannot access my app. After a couple of minutes I get a Application error Rails application failed to start properly and [Wed Aug 16 03:01:05 2006] [error] [client 88.110.215.43] FastCGI: comm with (dynamic) server "/home/c_lowis/residence-review.com/dispatch.fcgi" aborted: (first read) idle timeout (120 sec) [Wed Aug 16 03:01:05 2006] [error] [client 88.110.215.43] FastCGI: incomplete headers (0 bytes) received from server "/home/c_lowis/residence-review.com/dispatch.fcgi" in my error.log in the ~/logs/...
2006 Aug 16
6
Experience with ferret on Dreamhost ?
...can require ''ferret'' and make a new Index object . Everything appears to be ok in that respect. Unfortunately there is nothing logged in these circumstances, except : [Wed Aug 16 07:10:23 2006] [error] [client 152.78.115.107] FastCGI: comm with (dynamic) server "/home/c_lowis/residence-review.com/public/dispatch.fcgi" aborted: (first read) idle timeout (120 sec) [Wed Aug 16 07:10:23 2006] [error] [client 152.78.115.107] FastCGI: incomplete headers (0 bytes) received from server "/home/c_lowis/residence-review.com/public/dispatch.fcgi" in the "ap...
2006 Aug 16
3
gems vs plugins
Hi, Is there an easy way of converting a gem to a plugin, or at least something you can dump into $RAILS_ROOT/vendor? I''m uncomfortable having stuff like capistrano, the shipping gem, builder, autotest being installed globally as a gem instead of being installed for each application. What do you think? Joe
2006 Jul 09
4
Search terms in URL
I have set up a ferret search using the examples in the demo app. Is it possible to have the search terms included in the URL, so that, for example, users can bookmark a search results page ? Chris -- Posted via http://www.ruby-forum.com/.
2006 Aug 12
2
How to add # anchor to ferret generated url ?
I have the following action in my controller def search @query = params[:query] || '''' unless @query.blank? @results = Residence.find_by_contents @query end end In my View I have <div id="search-box"> <%= form_tag( { :action => ''search''...
2006 Jul 27
2
is there an easy way to move data from one table and copy it
to another? i would like my website to be able to have the user to fill out a web form. i then would like to have a view of my own to either accept or reject what the user filled out. if i accept it, i want the info deleted from where it was stored and then store it to the ''public'' database. i guess its all of a matter of saving each field in the form to a temp table. when
2006 Sep 01
1
integration problem with gamma function
...---- # Begin: ON THE DIFFERENCE IN MEANS # -------------------------------------------------- #DiffinMeans <- function(Ni, Di, si, Nii, Dii, sii, L, H, sL, sH) ## BEGIN BLOCK #{ # necessary variables in the function #{ NN, DD, Dsi, Dsii, DsD, ss, # dd, lownum, upnum, low, up, psv, PSV, # zz, lowinum, upinum, lowiinum, upiinum, psbarv, PSbarV, # psvbar, PSVbar, psbarvbar, PSbarVbar, cc, # sv, sbarv, svbar, sbarvbar, # samemeans, diffmeans, samevars, diffvars, diffsets }, ### defintion of constants NN <- Ni+Nii DD <- (Ni * Di + Nii * Dii) / NN Dsi <- (Ni-1) / Ni * si^2 + Di^2 D...
2007 Sep 05
5
RSpec for dummies screencast?
Does anyone know of any RSpec screencasts for dummies, like me :) I have a Java background, but I have never written a java test in my life. I''ve never learned about TDD or BDD so I''m totally blank on everything that has anything to do with testing and stuff. Where should I start?!? ;) Christian... --~--~---------~--~----~------------~-------~--~----~ You received this
2006 Oct 03
8
Ferret install, rake failing on make
....06) system. I have tried the gem, but it does not generate the ferret_ext.so file. Ideally I would prefer to install from the gem, but if source works, I''m fine with that too. I am now trying an install from source, but when I run the command ''$ rake ext'' I get the following error when it reaches the ''make'' command: make rake aborted! Command failed with status (127): [make] /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:722:in `sh'' /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:729:in `sh'' /usr/lib/ruby/gems/1.8/gems/rake...
2007 Sep 07
7
Simple websites (no DB?) with Rails??
I have been learning Rails and building small things over the last several months. Question I have that has been surprising difficult to figure out is this (I know it seems somewhat nonsensical but ignore that). I recently started getting a few requests for basic website to be built, small businesses, stores, even individual people. How would one about doing such a thing using Rails? I may not