Displaying 20 results from an estimated 400 matches similar to: "Variable Losing it''s Value"
2006 May 26
2
Lighttpd Config
Hi this is a newbie question that should be easy enough for somebody to
answer, I''m horrible at this web server configuration stuff.
I''m running Rails on Fedora Core 5 with Lighttpd and MySql. I''ve created a
rails application ''logapp''. I have an entry in /etc/hosts like...
127.0.0.1 logapp
So when I point my browser to ''logapp''
2004 Jul 26
1
Time out failure with mvfs on Linux
I have tried Samba 3.0.2a and 3.0.4. We use Active directory. The server
is running on RHEL3.
When I connect to the server on a share that is acutally an ext3 or NFS
file system, I have no known problems. We use ClearCase on Linux and I
am trying to access my workspace (view) as I have done many times before
on Solaris, but now we are running on Linux and with a newer version of
ClearCase
2008 Sep 28
1
Error accessing third-party programs
Good night,
Sorry for my English is not very good, but must solve a problem that is generated when accessing a program.
When you run a program with Wine is generating the error below:
fabito at casa:~/.wine/drive_c/Tributos$ wine tributos.exe
wine: Unhandled page fault on read access to 0x00000085 at address 0x7ede6d4a (thread 0034), starting debugger...
Unhandled exception: page fault on
2013 Jan 29
2
Count entries in postgresql grouped by date
Hi!
I have a table with visits with a visited_at: attribute which is a datetime
field. They seem to be stored as UTC. Now I want to count all visits each
day and return something like:
{
2013-01-01: 8,
2013-01-02: 4,
2013-01-07: 9,
...
}
So, I did it like this which kind of works...:
def self.total_grouped_by_day(start_date, end_date)
visits = where(visited_at:
2006 Mar 30
1
strange has_many array problem
I have a class that has_many :visits, I want to search through the
visits to get only ones that are committed:
I thought it would be as easy as:
==================
visits.find_all do |visit|
visit.coming?
end
=================
but this always returns the entire list of visits. The only way to
get it to work is to put the visits into a new array first:
=================
2005 Jun 20
1
(no subject)
R friends,
I am using R 2.1.0 in a Win XP . I have a problem working with lists, probably I
do not understand how to use them.
Lets suppose that a set of patients visit a clinic once a year for 4 years
on each visit a test, say 'eib' is performed with results 0 or 1
The patients do not all visit the clinic the 4 times but they missed a lot
of visits.
The test is considered positive if it
2006 May 29
6
override automatic update of updated_on column
i know that title sounds confusing, but here is the deal:
the two columns that we are concerned with for this question are the "updated_on" column and the "views" column. the views column increases everytime a user visits a certain page. like this:
@object.update_attributes(:views => @object.views + 1)
the problem is that when a user visits the page, it AUTOMATICALLY
2008 Oct 22
2
setting session id for first visit
I am logging web visits with a before_filter on the application
controller. The issue I''m having is that the initial visit does not
return a session id. I''m using the SqlSessionStore and the function
MysqlSession.find_session(session.session_id) to retrieve the session
id. If it doesn''t exist I use a -1. So looking in my visits table the
initial visit always has -1 for
2008 Jan 23
13
DRYing up stories
I''m finding that I''m writing sets of very similar scenarios to check access
permissions for each of my actions. Does anyone have suggestions on how to
dry this up:
Given an existing Account
And a logged in Admin
When the user visits account/manage
Then he should get access
Given an existing Account
And a logged in Manager
When the user visits account/manage
Then he should get
2003 Sep 27
1
A re-sampling problem
I plan on analyzing some bird point count data. I need to develop a
re-sampling regime for data like this.
I used scan(file="Sample.txt",what=list(0,0,0,0,0,0),sep="\t")
[[1]]
[1] 1 2 3 4 5
[[2]]
[1] 6 7 8 9 NA
[[3]]
[1] 10 11 12 13 NA
[[4]]
[1] 14 15 16 NA NA
[[5]]
[1] 17 18 19 20 21
Each row represents one site and the numbers (1-21) are visits to that site.
2006 Dec 12
4
How to sum one column in a data frame keyed on other columns
I have a data frame that looks like this:
url time somethingirrelevant visits
www.foo.com 1:00 xxx 100
www.foo.com 1:00 yyy 50
www.foo.com 2:00 xyz 25
www.bar.com 1:00 xxx 200
www.bar.com 1:00 zzz 200
www.foo.com 2:00 xxx 500
I'd like to write some code that takes this as input and outputs
2010 Nov 09
2
"repeated"repeated measures in ANOVA or mixed model
dear List
I have a dataset with blood measurements at 5 points in TIME (0,30,60,90,120) taken on 3 VISITS (same subjects). the interest is to compare these measurements between Visits, overall and at the different time points.
I have problems setting up repeated measures ANOVA with 2 repeated measures (VISIT and TIME) (and then doing post hoc testing) or doing it with a linear mixed model ( both
2008 Sep 10
1
Mixed effects model with binomial errors - problem
Hi,
We released individual birds into a room with 2 trees. We counted the number
of visits to each of the 2 tree. One of the trees is always a control tree
and the other tree is either treatment 1, treatment 2 or treatment3 or
treatment 4.
Ind Treat ContrTree ExpTree Total visits
1 1 11 16 27
1 2 6 9 15
1 3 5 13 18
1 4 11 25 36
2 1 2 3 5
4 1 6 7 13
4 3 4 4 8
4 4 2 5 7
6 1 1 1 2
6 4 5 16 21
2003 Jan 20
2
Adding reference lines to xyplot
I'm trying to add a set of reference lines to a multipanel xyplot
xyplot(y ~ x | Visit,
panel = function(x, y, ...){
panel.xyplot(x, y, ...)
abline(v = c(0.5, 1))
})
However, the reference lines are different for different visits. For
example, for the first 2 visits, I'd like vertical lines at x = 0.5 and 1.
For visits 3 and four, I'd like vertical lines at x = 1 and 1.5. I can
2010 Nov 23
1
compare GLM coefficients
I have a data set of repeated abundance counts over time. I am
investigating whether count data reduced to presence-absence (presence) data
will reveal similar population trends. I am using a negative binomial
distribution for the glm (package MASS) because the count data contains many
zeros and extreme values. "count" and "presence" are annual sums for each
metric. I have
2007 Jan 18
1
Problems replicating rows and associated increasing index
? stato filtrato un testo allegato il cui set di caratteri non era
indicato...
Nome: non disponibile
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20070118/911a5d2a/attachment.pl
2011 Nov 01
0
Rails 3 Multiple database with Joins conditions throws exception
My environment: Ruby 1.9.2p290, Rails 3.0.9 and RubyGem 1.8.8
unfortunately I have an issue when come across multiple database.
The situation is this: I have two model connect with two different
database and also establishing association between each other.
database connection specifying in each model, look likes
class Visit < ActiveRecord::Base
self.establish_connection "lab"
2007 Dec 19
2
Nested partials losing the view context ?
Hi all !
I can''t seem to make a simple thing work... The code is here:
http://pastie.caboo.se/130660
Essentially, that''s a form with a couple of partials. The backtrace is
included in the pastie. It looks like the context for the current view
is lost when a partial is rendered. In _series.html.erb:2, I use
"series" to get the name. This is the parameter I
2006 May 15
0
losing validation error messages
Hello all,
I am pretty new to Rails and have recently started on a simple
project with it..
I have a simple home_controller and home/index.rhtml page that
displays a login/registration form.
The login/registration actions are handled by users_controller.rb.
register action in users_controller always redirects back
to :controller => "home", :action => "index"..
The
2011 Nov 30
0
[XEN-user-list] XENServer 6 losing xapi after restart
I am a consultant needing to learn virtual machines. Using XEN Server 6
as tool.
I will put real internet servers on it when stable. Been working fine
till it crashed out of the blue.
This problem is from a full wipe and reload.
Problem:
1. Build XEN Server 6. Works fine after install reboot.
2. Reboot XEN Server. Big message "The underlying Xen xapi is not
running"