Displaying 20 results from an estimated 100 matches similar to: "Help with output"
2009 Feb 19
1
Switching to ActiveRecord Session Store
I''m having a problem switching from cookie sessions (the default) to
active record sessions.
I''ve created the sessions table via the rake task, uncommented the
line
config.action_controller.session_store = :active_record_store
in my environment.rb file, cleared out my browsers cookies, restarted
the server (natch), but still the it''s using cookie_store instead of
2009 Nov 01
5
Headache with sessions being shared.
I have a really horrendous problem with sessions.
before_filter :find_cart_from_session
private
def find_cart_from_session
if session[:cart] # if there''s is a cart in the session
begin
@cart = Cart.find(session[:cart]) # return existing or new cart
rescue ActiveRecord::RecordNotFound
@cart = Cart.create
@cart.save
session[:cart] = @cart.id
2008 May 26
1
Bind Help
How does one include a view in another? I have a view which matches one client that I also want to be able to see the view right after, but it stops at its first match.
Thanks!
jlc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20080526/676e1263/attachment-0005.html>
2012 Mar 21
3
distributed mdbox
Anyone know how to setup dovecot with mdbox so that it can be used through
shared storage from multiple hosts? I've setup a gluster volume and am
sharing it between 2 test clients. I'm using postfix/dovecot LDA for
delivery and I'm using postal to send mail between 40 users. In doing
this, I'm seeing these errors in the logs
Mar 21 09:36:29 test-gluster-client2 dovecot:
2008 May 28
2
functional testing joins table problem
I have models/controllers
Class Facility
has_many :facilities_services, :dependent => :delete_all
Class Service
has_many :facilities_services, :dependent => :delete_all
Class FacilitiesServices
belongs_to :facility
belongs_to :service
so in my test/functional/facilities_controller_test.rb, I have
post :destroy, :id => 5
which tosses an error...
2017 Jan 20
2
NEAR non-leaf subqueries
Olly Betts writes:
> On Thu, Jan 12, 2017 at 07:53:21PM +0100, Jean-Francois Dockes wrote:
>
> > Recoll also supports multi-word synonyms which could potentially
> > generate PHRASE subqueries inside NEAR queries, but this
> > understandably already did not work with 1.2, so the multi-word
> > expansions are only used when proximity is not involved (by the way,
2017 Jan 12
2
NEAR non-leaf subqueries
Olly Betts writes:
> On Wed, Jan 04, 2017 at 07:29:58AM +0100, Jean-Francois Dockes wrote:
> > Olly Betts writes:
> > > The ticket has a patch which attempts to handle the OR case (which seems
> > > to be the part you actually care about) but this suffers from issues with
> > > object lifetimes which get a bit involved in the details. Since there
>
2002 Feb 01
4
error in rsync protocol data stream (code 12) at token.c(288)
I am getting the following error when mirroring part of the RedHat
distribution tree over a slow connection (~T1 speed). When running
over a faster network (100BaseT) the problem does not appear. Note,
the problem file a large 600MB ISO image, whereas other small files
appear to be fine.
rsync: open connection using /path/ssh remote.host /path/rsync --server -vlHogDtprRz --timeout=600 --delete
2006 Sep 23
4
plotting grouped data object
All,
I'd like to plot the main relationship of a grouped data
object for all levels of a factor in a single panel.
The sample code below creates a separate panel for each level
of the factor. I realize that this could be done in other ways,
but I'd like to do it via plotting the grouped data object.
thanks!
dave
z = rnorm(18, mean=0, sd=1)
x = rep(1:6, 3)
y =
2008 Jun 17
1
AGP bridge detected as pcib
Skipped content of type multipart/mixed-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20080617/73afe727/attachment.pgp
2006 Sep 12
11
levels of factor when subsetting the factor
All,
When I take a subset of a factor the reduced factor still maintains all
the original levels of the factor when say forming the key in a plot.
The data is correct, but the variable still "remembers" the original
levels. See below for reproducible code. Does anyone know how to fix
this?
cheers,
dave
fact = as.factor(c(rep("A", 3),rep("B", 3), rep("C",
2009 Jul 15
1
Error in simulation R-code
Dear List,
I have got error message when I run the R-code. Can anyone has a suggestion?
v.code <- df.bm7[,c(10:31)]; v.code[1:3,]
names(v.code)
CM = v.code # variable binomial code
sim.sp <- function(data,CM,n,N)
{
C <- matrix(rep(NA,N),ncol=1)
for(i in 1:N)
{
j <- n
xx <- which(colSums(CM[j,])==1)
V <- names(xx)
V <- paste(V,
2006 Sep 07
5
augPred plot in nlme library
All,
I'm trying to create an augPred plot in the nlme library, similar to the
plot on
p.43 of Pinheiro & Bates (Mixed Effects Models in S and S-Plus) for
their Pixel data.
My data structure is the same as the example but I still get the error
msg below.
> comp.adj.UKV <- groupedData(adj.UKV ~ Time | Patient_no/Lisinopril,
data = comp.adj.UKV.frm, order.groups = F)
>
2010 Sep 23
1
non-linear integer optimization?
Are there any packages that do non-linear integer otimization? Looked at
lpSolve but i'm pretty sure it only works with linear programming and not
non-linear, tried "L-BFGS-B" optim after flooring all my params, works
somewhat but seems really inefficient. Anything else I should look at?
--
View this message in context:
2006 Jun 27
2
supplying dynamic main argument to plot?
All,
Simple question but I don't seem to be able to find the answer in the
documentation:
When using "plot" within a loop, is there any way to supply the argument
to "main" dynamically,
i.e., so that the title is Patient k below as the loop cycles through
each value of k?
plot(x,y, xlim=c(0,250), ylim=c(0,1000), xlab="gamma", ylab="r1",
2009 Jul 15
1
Simulation code error
Dear List,
I have some problem with my simulation code. Here is output from R:
> sim.sp <- function(data,CM,n,N)
+ {
+ C <- matrix(rep(NA,N),ncol=1)
+ for(i in 1:N)
+ {
+ j <- n
+ xx <- which(colSums(CM[j,])==1)
+ V <- names(xx)
+ V <- paste(V, collapse="+")
+ V <- paste("SBA~", V)
+ rd <- round(nrow(data)*(2/3))
+ d <-
2013 Feb 06
4
FreeBSD-9.1 would not boot on pentium3 laptop
Hello!
I have an old Dell Latitude C800 laptop (with Pentium3 CPU in it).
FreeBSD 6.3-STABLE was running fine on it, but I decided to update the
machine to 9.1-STABLE.
Well, neither my own custom kernel, nor even the official 9.1-RELEASE
CD1 would boot... In both cases the boot process runs up to detecting
uhub0, then either hangs forever or shuts off after a short while.
Again, I thought I
2007 Jul 05
3
summarizing dataframe at variable/factor levels
All,
Is there an efficient way to apply say "mean" or "median" to a dataframe
according to say all combinations of two variables in the dataframe?
Below is a simple example and the outline of a "manual" solution that
will work but is not very efficient
(could also generalize this to a function). Searched the archives and
docs but didn't see anything close to
2008 Jan 13
6
[Bug 14060] New: Server fails to start with randr 1.2 and a NV20
http://bugs.freedesktop.org/show_bug.cgi?id=14060
Summary: Server fails to start with randr 1.2 and a NV20
Product: xorg
Version: 7.3
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: nouveau at lists.freedesktop.org
2012 Feb 07
10
Ruby Developer position
Please let me know your interest in following.
Location: Columbia, SC
Duration: 12 months+
Rate: $65/hr 1099/c2c
Required Skills:
RUBY, RAILS, GIT, MYSQL, CUCUMBER, RSPEC, JQUERY, EXCELLENT ORAL AND WRITTEN
COMMUNICATION SKILLS, TEST-DRIVEN DEVELOPMENT, LINUX, OS X, JSON, COMMAND
LINE, SQL, SSH, HAML, SCSS
Thanks
Sandeep
Sandeep Jain
Software People Inc.
www.softwarepeople.us