similar to: Counting session days

Displaying 20 results from an estimated 600 matches similar to: "Counting session days"

2013 May 03
1
Race condition in lightdm greeter setup
I came across a race condition in lightdm greeter setup phase before the login screen is displayed (at boot time or after logout). I reported this also on Launchpad with more details (https://bugs.launchpad.net/lightdm/+bug/1172752), but to work on a proper fix, ideas on how to fix this would be welcome. During greeter setup "lightdm --session-child" is spawned twice. The first call to
2005 Oct 28
4
find_by_sql column types
Hello-- There must be a better way to do this. I have a class method in my model that finds averages and does a few calculations using find_by_sql. The problem I¹m encountering is that all computed columns from MySQL come back as type string. E.g., def self.find_averages(domain_id) if @@domain_average return @@domain_average else @@domain_average =
2006 May 23
2
additional fields in session DB table
I am using active record sessions and everything works fine. I am integrating it with phpbb however so i need some extra fields populated in the session table. In application.rb i put a before_filter to update the session table I have a model for the sessions $ more app/models/session.rb class Session < ActiveRecord::Base set_primary_key "session_id" set_table_name
2006 Mar 09
2
turn off auto increment
Hello, I have an old table that handles sessions. the primary key is a field called session_id and is the actual session id like "8df838303ufdfu838" however when i do the following in the model: set_primary_key "session_id" and the following in the controller: @session_hash = { "session_id" => @session.session_id, "session_user_id" =>
2001 Nov 17
1
rsync hangs or exists without copying anything
I am trying to mirror a file system using rsync. The command I am using is of the form: rsync -a /fs/home/6/ /usr/fs/home/6 /fs/home/6/ is an NFS file system, /usr/fs/home/6 is a local disk. With versions 2.4.6 and 2.4.7pre1, rsync hangs at random places during the building file list phase. I tried with and without -v option(s) and tried breaking the file system down into smaller chunks with no
2012 Aug 28
3
date in plot, can't add regression line
Hello all, I have been using R for about 3 weeks and I am frustrated by a problem. I have read R in a nutshell, scoured the internet for help but I either am not understanding examples or am missing something completely basic. Here is the problem: I want to plot data that contains dates on the x axis. Then I want to fit a line to the data. I have been unable to do it. This is an example of
2010 Jan 25
1
Web-Meetme 4.0 and Asterisk 1.6.2
Hi, I'm trying to setup Web-Meetme 4.0 and I always get the following warning when I open the default page http://localhost/web-meetme Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/www/web-meetme/locale.php:36) in /var/www/web-meetme/meetme_control.php on line 34 Has anyone a solution to this? Cheers
2008 Oct 20
5
Combining all possible values of variables into a new...
I'm trying to create a new column in my data.frame where subjects are categorized depending on values on four other columns. In any other case I would just nest a few ifelse statements, however, in this case i have 4*6*2*3=144 combinations and i get weird 'context overflow' errors. So I wonder if there is a more efficient way of doing this. For illustrational purposes, let's say
2008 Feb 21
2
Unable to create/index a zoo irregular timeseries
In the text file pressione2008.csv I have the following "Data","MAX","MIN","Note" "07-01-2008 08:00:00", 135, 90, "Eccessi feste, inizio dieta" "07-01-2008 18:00:00", 135, 85, "" "08-01-2008 08:00:00", 125, 75, "" which is a collection of blood pressure data at different time of the day. I would
2008 Jun 11
4
Matrix transformation problem
ng, I have a matrix (x) with binary content. Each row of the matrix holds exactly one 1, and the rest of the row is zeros. The thing is that I need to 'collapse' the matrix to one column where each row holds the original column index of the 1's (y). Sometimes, the matrix is quite large, so I have a perfomance problem. x <- matrix(c(1,0,0, 0,0,1, 0,1,0, 0,0,1, 0,1,0,
2005 May 18
0
caci problem in CentOS-4
i installed cacti following the INSTALL file but if i try to view cacti url it shows this error: Warning: mb_ereg_replace(): mbregex compile err: premature end of regular expression in /var/www/html/cacti/include/config.php on line 43 Warning: mb_ereg_replace(): mbregex compile err: premature end of regular expression in /var/www/html/cacti/include/config.php on line 44 Warning: Cannot modify
2004 Dec 17
2
question about Webtraffic monitoring
Does anyone know a good open source and free webmonitoring software which I can use to monitor some websites and build simple uptime/downtine statistics for my customers (conform SLA's) ? Any help/hitns would be very apperciated :) -- Michiel
2006 May 23
1
Extension to book login code: list of online users?
Hi. I''ve been, fruitlessly, trying to extend the login code from the Agile book. What I''m trying to do, is create a list of logged in users. My idea is to the list of sessions. However, many sessions seem to be outdated. I believe the best way would be to get a list of sessions that have been active in, say, the last 15 minutes. Question is: how can I do this? Any hints
2009 Jan 22
2
SquirrelMail Sending Under Wrong Username
CentOS team... as is already bug reported and marked solved... as we await the upstream repair for this. It was reported that this was happening on CentOS 5. You likely already know, but it also happens on CentOS 4. For those unaware. It seems that SquirrelMail has an issue which allows mail to be sent out from one user on the system and it uses the from address of another user on the
2011 Jan 12
1
Reloading smb.conf smdb only
Hi everyone, I'm new in this list and I hope I'll write my problem in a right way. So, this is my problem: Every an undefined time (It could be 5 min or 20 min) my pc restarts the samba service and It writes this line on the screen: "Reloading /etc/samba/smb.conf smdb only" I have Ubuntu Server 9.10 x32. I am looking for fix this problem for a long time but I don't know
2010 Jan 29
2
RMySQL, Sweave and the annoying TRUE echo
Hi, A small (but annoying) problem with RMySQL library. When a connection is closed, it echoes 'TRUE' to the console. Like this: R> mysqlCloseConnection(con) [1] TRUE The real problem comes when I use RMySQL with Sweave, since the TRUE echo gets into my final Sweave document. Even when I explicitly state <<include=FALSE, echo=FALSE>>= in the header of the R code chunk.
2005 Mar 03
0
RE: Getting phpconfig to work?
Hi, When I do click on the phpconfig.php link from http://ip-of-machine/phpconfig/, it returns a page with the actual contents of that file (phpconfig.php) and doesn't load the page. See some of the output below; <?PHP /** * * Asterisk configuration file interface script * * * * * * phpconfig:,v 1.0 2003/07/03 17:19:37 * Authors: Dave Packham <dave.packham@utah.edu> *
2011 Sep 28
1
Password protected R Repository
Hi, I've set up a very simple R repository. Just a single source library. Everything works fine. I can install the package on my client using: install.packages(repos='http://www.myServer.se/myRepo/', pkgs='myLib', dep=TRUE) However, I want to protect the repo, so I use a .htaccess, placed directly under 'myRepo' on the server. I use 'Authentication Basic' and
2005 Mar 03
1
RE: Getting phpconfig to work?
Hi, When I do click on the phpconfig.php link from http://ip-of-machine/phpconfig/, it returns a page with the actual contents of that file (phpconfig.php) and doesn't load the page. See some of the output below; <?PHP /** * * Asterisk configuration file interface script * * * * * * phpconfig:,v 1.0 2003/07/03 17:19:37 * Authors: Dave Packham <dave.packham@utah.edu> *
2010 May 17
2
Dynamically build variable names
I'm trying to dynamically build variable names to use on a list. Let's say I have a list like this one: l <- list(V1_1=c(1,2,3), V1_2=c('One','Two','Three')) And I succesfully build my variable name like this: paste('l$', 'V1_1', sep='') Why can't I just run a mean call with the pasted variable name? mean(paste('l$',