Displaying 20 results from an estimated 700 matches similar to: "New Feature Request"
2008 Jun 04
8
Shared File System
I have a few cases where I need to share a filesystem (Read/Write) with
multiple DomUs. Currently I use NFS to accomplish this task. However, NFS
on Fedora 7 locks up under heavy traffic from time to time, forcing a
reboot. Wouldn''t want that on the Dom0.
Any one recommend a good way of sharing a file system in read/write with
multiple DomUs?
--
View this message in context:
2008 Apr 07
2
CentOS, Postgres init and puppet
Me again!
I have a recipe that looks like:
class postgresql {
file { pg_hba_conf:
name => "/var/lib/pgsql/data/pg_hba.conf",
source =>
"puppet://puppetmaster/files/workstations/common/var/lib/pgsql/data/pg_hba.conf",
owner => postgres,
group => postgres,
mode => 600,
subscribe => [ Package[postgresql] ],
2000 Oct 31
1
Silhouette plot labels in package cluster
Hello everybody:
I have just started using R, specifically the clustering packages. Despite
the vastness of the functionality of the system, I have found it very
flexible and intuitive. It has been great fun to experiment with it.
Nevertheless, I am under tight time constraints to complete a cluster
analysis of some data and need to come up with a "quick" solution for the
following
2009 Nov 23
2
home directories ask user for password
Hi to all,
I have Samba configured as domain member with winbind and kerberos, I can access all share but I have some problem with the home directories because it ask me for password.
This is my smb.conf
[global]
workgroup = domain
netbios name = Manufac
server string = Server di rete
comment = server di rete
encrypt passwords = true
realm =
1999 Sep 22
1
dates screwed up, help!
Hi, the problem I am reporting relates to RH Linux 6.0
I have successfully mounted a disk from a windows NT server machine,
using smbmount as follows:
$ smbmount //machine/service -c 'mount /mnt/NTgroups -u local_owner' -U
remote_username
and everything looked fine. Now I have just noticed that when "touching"
or creating files everything behaves strangely, that is the date is
2017 Nov 22
6
assign NA to rows by test on multiple columns of a data frame
Given this data frame (a simplified, essential reproducible example)
A<-c(8,7,10,1,5)
A_flag<-c(10,0,1,0,2)
B<-c(5,6,2,1,0)
B_flag<-c(12,9,0,5,0)
mydf<-data.frame(A, A_flag, B, B_flag)
# this is my initial df
mydf
I want to get to this final situation
i<-which(mydf$A_flag==0)
mydf$A[i]<-NA
ii<-which(mydf$B_flag==0)
mydf$B[ii]<-NA
2017 Nov 09
0
weighted average grouped by variables
Hello
an update about my question: I worked out the following solution (with the package "dplyr")
library(dplyr)
mydf%>%
mutate(speed_vehicles=n_vehicles*mydf$speed) %>%
group_by(date_time,type) %>%
summarise(
sum_n_times_speed=sum(speed_vehicles),
n_vehicles=sum(n_vehicles),
vel=sum(speed_vehicles)/sum(n_vehicles)
)
In fact I was hoping to manage everything in a
2017 Nov 09
4
weighted average grouped by variables
hi all
I have this dataframe (created as a reproducible example)
mydf<-structure(list(date_time = structure(c(1508238000, 1508238000, 1508238000, 1508238000, 1508238000, 1508238000, 1508238000), class = c("POSIXct", "POSIXt"), tzone = ""),
direction = structure(c(1L, 1L, 1L, 1L, 2L, 2L, 2L), .Label = c("A", "B"), class =
2006 Sep 25
8
mongrel.pid disappearing
Hi to everybody,
This my first post on the list.
I''m a newby of mongrel & rails, I''ve deployed my first project and
everything seems to work fine, the only problem I have is the following:
After about 1 or 2 days of the mongrel_rails daemon running the
mongrel.pid in the log directory disappears, the mongrel process is
still there running
but doesn''t respond
2007 Mar 28
4
snmp ups Status: Not supported
Hi
I set up my ups with driver snmp-ups, and it get recognized as a AEC T2003.
In the nut-cgi upstats page input/output/load are displayed corectly, but the
Status field is marked as "Not supported".
Is "Status" important to initiate shutdown in case of low battery ? Will my
server shut down correctly ?
thanks
Massimo
I include "upsc snmp@localhost" output:
2017 Nov 23
1
assign NA to rows by test on multiple columns of a data frame
yes, it works, even if I do not really get how and why it's working the combination of logical results (could you provide some insights for that?)
moreover, and most of all, I was hoping for a compact solution because I need to deal with MANY columns (more than 40) in data frame with the same basic structure as the simplified example I posted
thanks
m
----- Messaggio originale -----
Da:
2008 Dec 26
2
CAP and performance problem
Hi,
my application is written in std C++ and it makes a matrix
multiplication: so it uses only CPU and memory (no i/o, no network).
I''m quite surprise that with CAP = 100% I got my results in about 600
seconds and with CAP = 50% I got my results in about 1800 seconds
(around 3 times longer).
For this kind of application I was expecting to get results in about
1200 seconds (2 times
2017 Nov 09
1
weighted average grouped by variables
Dear Massimo,
It seems straightforward to use weighted.mean() in a dplyr context
library(dplyr)
mydf %>%
group_by(date_time, type) %>%
summarise(vel = weighted.mean(speed, n_vehicles))
Best regards,
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE AND
FOREST
Team
2017 Nov 22
0
assign NA to rows by test on multiple columns of a data frame
Hello,
Try the following.
icol <- which(grepl("flag", names(mydf)))
mydf[icol] <- lapply(mydf[icol], function(x){
is.na(x) <- x == 0
x
})
mydf
# A A_flag B B_flag
#1 8 10 5 12
#2 7 NA 6 9
#3 10 1 2 NA
#4 1 NA 1 5
#5 5 2 0 NA
Hope this helps,
Rui Barradas
On 11/22/2017 10:34 AM, Massimo Bressan
2012 May 09
1
Authorization to publish the Riello UPS protocols
(forwarding msg because of attachments too big)
@Massimo: prefer to send references instead of actual documents,
whenever you mail to the list.
We have a 40Kb limit, to not overload our readers.
Please also avoid Microsoft OpenXML (Ie, .xlsx, .docx, ...) and prefer
PDF or anything else that is actually inter-operable .
Thus I've converted the XLSX spreadsheet to PDF.
To all: I've added
2015 Dec 31
2
[squid-users] squid3 / debian stable / please update to 3.4.14
> you are better off building the more up to date 3.5 version available
> from Stretch/Testing repository.
I disagree with this one, use SID and not testing, testing has a longer delay in security updates and coms after unstable.
See : https://www.debian.org/security/faq
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: squid-users [mailto:squid-users-bounces at
2017 Nov 22
1
assign NA to rows by test on multiple columns of a data frame
...well, I don't think this is exactly the expected result (see my post)
to be noted that the columns affected should be "A" and "B"
thanks for the help
max
----- Messaggio originale -----
Da: "Rui Barradas" <ruipbarradas at sapo.pt>
A: "Massimo Bressan" <massimo.bressan at arpa.veneto.it>, "r-help" <r-help at
2007 Mar 03
2
Sigmoidal fitting
I am trying to write a function that fits a sigmoid given a X and Y vector guessing the start parameters.
I use nls. What I did (enclosed) seems to work well with many data points but if I want to fit small
vectors like :
pressure <- c(5,15,9,35,45)
gas <- c(1000,2000,3000,4000,5000)
it do not work. The help page says that it do no not work on zero residual data.
Massimo Cressoni
2017 Nov 22
0
assign NA to rows by test on multiple columns of a data frame
Do you mean like this:
mydf <- within(mydf, {
is.na(A)<- !A_flag
is.na(B)<- !B_flag
}
)
> mydf
A A_flag B B_flag
1 8 10 5 12
2 NA 0 6 9
3 10 1 NA 0
4 NA 0 1 5
5 5 2 NA 0
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
sticking things into
2006 Jan 19
4
Disabling zap echo cancellor from dialplan
Anybody knows if it's possible to disable zap echo cancellor from
dialplan only for certain outbound calls ??
I share the same phone lines for voice calls and faxes. Iaxmodem works
fine for me only turning off the echo cancellor, but I need it for
voice calls.
Any ideas ?
maxx