Displaying 20 results from an estimated 500 matches similar to: "Counting occurences of variables in a dataframe"
2012 May 25
2
Query about creating time sequences
Hi All,
I have a query about time based sequences. I know such questions have been
asked a lot on forums, but I couldnt find the exact thing that I was
looking for.
I want to create a time-based sequence which will mimic the trading window
AND would span multiple days. Something like below:
"2011-01-03 09:15:00 IST"
"2011-01-03 09:15:01 IST"
....
....
....
"2011-01-03
2015 Feb 04
1
[PATCH v3 15/18] vhost: switch vhost get_indirect() to iov_iter, kill memcpy_fromiovec()
From: Al Viro <viro at zeniv.linux.org.uk>
Cc: Michael S. Tsirkin <mst at redhat.com>
Cc: kvm at vger.kernel.org
Cc: virtualization at lists.linux-foundation.org
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
---
drivers/vhost/vhost.c | 6 ++++--
include/linux/uio.h | 1 -
lib/iovec.c | 25 -------------------------
3 files changed, 4 insertions(+), 28
2015 Feb 04
1
[PATCH v3 15/18] vhost: switch vhost get_indirect() to iov_iter, kill memcpy_fromiovec()
From: Al Viro <viro at zeniv.linux.org.uk>
Cc: Michael S. Tsirkin <mst at redhat.com>
Cc: kvm at vger.kernel.org
Cc: virtualization at lists.linux-foundation.org
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
---
drivers/vhost/vhost.c | 6 ++++--
include/linux/uio.h | 1 -
lib/iovec.c | 25 -------------------------
3 files changed, 4 insertions(+), 28
2015 Feb 04
1
[PATCH v3 18/18] vhost: vhost_scsi_handle_vq() should just use copy_from_user()
From: Al Viro <viro at zeniv.linux.org.uk>
it has just verified that it asks no more than the length of the
first segment of iovec.
And with that the last user of stuff in lib/iovec.c is gone.
RIP.
Cc: Michael S. Tsirkin <mst at redhat.com>
Cc: Nicholas A. Bellinger <nab at linux-iscsi.org>
Cc: kvm at vger.kernel.org
Cc: virtualization at lists.linux-foundation.org
2015 Feb 04
1
[PATCH v3 18/18] vhost: vhost_scsi_handle_vq() should just use copy_from_user()
From: Al Viro <viro at zeniv.linux.org.uk>
it has just verified that it asks no more than the length of the
first segment of iovec.
And with that the last user of stuff in lib/iovec.c is gone.
RIP.
Cc: Michael S. Tsirkin <mst at redhat.com>
Cc: Nicholas A. Bellinger <nab at linux-iscsi.org>
Cc: kvm at vger.kernel.org
Cc: virtualization at lists.linux-foundation.org
2015 Feb 04
2
[PATCH v3 17/18] vhost: don't bother copying iovecs in handle_rx(), kill memcpy_toiovecend()
From: Al Viro <viro at zeniv.linux.org.uk>
Cc: Michael S. Tsirkin <mst at redhat.com>
Cc: kvm at vger.kernel.org
Cc: virtualization at lists.linux-foundation.org
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
---
drivers/vhost/net.c | 82 +++++++++++++++--------------------------------------
include/linux/uio.h | 3 --
lib/iovec.c | 26 -----------------
3 files
2015 Feb 04
2
[PATCH v3 17/18] vhost: don't bother copying iovecs in handle_rx(), kill memcpy_toiovecend()
From: Al Viro <viro at zeniv.linux.org.uk>
Cc: Michael S. Tsirkin <mst at redhat.com>
Cc: kvm at vger.kernel.org
Cc: virtualization at lists.linux-foundation.org
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
---
drivers/vhost/net.c | 82 +++++++++++++++--------------------------------------
include/linux/uio.h | 3 --
lib/iovec.c | 26 -----------------
3 files
2012 Apr 22
1
[PATCH 1/5] drm: add optional per device rwsem for all ioctls
Nouveau, in normal circumstances, does not need device lock for every ioctl,
but incoming "gpu reset" code needs exclusive access to the device.
This commit adds drm_driver flag which turns on read lock ioctl encapsulation.
Signed-off-by: Marcin Slusarz <marcin.slusarz at gmail.com>
---
drivers/gpu/drm/drm_drv.c | 6 ++++++
drivers/gpu/drm/drm_stub.c | 2 ++
2001 Nov 20
3
problem with AFS token forwarding
Hello,
I came across an interoperability problem in OpenSSH 3.0p1 and 3.0.1p1
concerning the AFS token forwarding. That means that the new versions are
not able to exchange AFS tokens (and Kerberos TGTs) with older OpenSSH
releases (including 2.9p2) and with the old SSH 1.2.2x. In my opinion this
problem already existed in Openssh 2.9.9p1, but I have never used this
version (I only looked at the
2006 Oct 31
2
plotting multiple groups (newbie Q)
Hi Folks,
After loading a data set, I run the following:
> kSum <- orderBy(~group,(summaryBy(DP_Level~F2
+group,data=kdata,FUN=c(mean,sd),na.rm=T)))
kSum looks like this:
> kSum
F2 group DP_Level.mean DP_Level.sd
1 1.0 N -1.55186475 11.022245
4 2.0 N -2.48013300 10.624583
7 3.0 N -12.47671250 11.104792
10 4.0 N -13.72430950 12.000779
13
2009 Sep 20
1
Return a list from a .Call but segfaults
Hello,
I call a function via .Call passing to it a raw vector(D) and an
integer(I)
The vector is a series K1,KData1, V1,VData1, K2, KData2, ...
where the integer K1 is the length of Data1 and similarly for Ki (wrt
Datai)(similarly for V*) There 2*I such pairs( (Ki,KDatai), (Vi,VDatai))
The numbers Ki(and Vi) are written in network order.
I am returning a list of I elements each element a
2002 Jan 23
1
Fix AFS and Kerberos interaction
Hello,
I going to use ssh with Kerberos V5 support along with support for AFS. I
don't want to use Kerberos V4 or AFS token passing. The only thing I need
from AFS is creating an AFS token (using appropriate function from krb5 API)
after user's authentication. It seems to me that such scenario is not much
supported by the current code. Rather it is assumed only Kerberos 4 will be
used
2012 Sep 04
1
virt-sparsify broken after recent changes
With 1.9.37 the following script worked fine, with 1.9.39 it fails.
Any idea what the issue is?
Olaf
...
mount -o /dev/vda1 /sysroot/
[ 1.396411] EXT4-fs (vda1): mounting ext2 file system using the ext4 subsystem
[ 1.533090] EXT4-fs (vda1): mounted filesystem without journal. Opts: (null)
guestfsd: main_loop: proc 1 (mount) took 0.45 seconds
libguestfs: recv_from_daemon: 40 bytes: 20 00
2003 Oct 03
1
starting asterisk?
I'm trying to figure out how to start *.....
Rh7.3,CVS,TE410P,TA750
If I just try the way the docs spell it out
"/usr/sbin/asterisk -vvvc" it fails......
/var/log/asterisk/messages
Oct 3 22:23:34 WARNING[1024]: File chan_zap.c, Line 610 (zt_open):
Unable to open '/dev/zap/channel': No such device
Oct 3 22:23:34 ERROR[1024]: File chan_zap.c, Line 4930 (mkintf): Unable
2010 Oct 03
2
Read file
Dear R-users,
I would like to know how could I read a file with different lines lengths.
I need read this file and create an output to feed my database.
So after reading I'll need create an output like this
"INSERT INTO TEMP (DATA,STATION,VAR1,VAR2) VALUES (20100910,837460, 39,390)"
I mean, each line should be read. But I don`t how to do this when these
lines have different
2009 Jun 19
2
[PATCH/RFC] virtio_test: A module for testing virtio via userspace
Hello Rusty,
this is a result of a two month internship about virtio testing.
From: Adrian Schneider <adrian.schneider at de.ibm.com>
From: Tim Hofmann <tim.hofmann at de.ibm.com>
From: Christian Ehrhardt <ehrhardt at de.ibm.com>
From: Christian Borntraeger <borntraeger at de.ibm.com>
This patch introduces a prototype for a virtio_test module. This module can
be bound to
2009 Jun 19
2
[PATCH/RFC] virtio_test: A module for testing virtio via userspace
Hello Rusty,
this is a result of a two month internship about virtio testing.
From: Adrian Schneider <adrian.schneider at de.ibm.com>
From: Tim Hofmann <tim.hofmann at de.ibm.com>
From: Christian Ehrhardt <ehrhardt at de.ibm.com>
From: Christian Borntraeger <borntraeger at de.ibm.com>
This patch introduces a prototype for a virtio_test module. This module can
be bound to
2011 Oct 01
3
Why i cant play Dragon Age 2
I had a post since 1 week and i want to know why i cant play to Dragon Age2
I'am with Playonlinux 1.3.15, the game i purchast it to Wallmart. When i see the game on Playonlinux i go for search it, i installed it i cant play because Playonlinux tell me to bypass the anti-hacking. I said WHAT'S THAT?.
It's the first time i see it for a l?gal game, can you help me please or explain this
2011 Nov 02
2
FFA - Asterisk 1.6.2.6
Hi,
I have a 1.6.2.6 fax installation with a FFA license which seems to be
installed correctly (in fax show stats, I see that I have 1 Digium
G.711 licensed channel, and 1 Digium T.38 licensed channel).
When trying to call my business line with a fax machine, it looks like
it's ringing to my asterisk box, then transfer the call to my extension.
In the logs, I see (after the line where
2014 Sep 01
3
help: shiny leer ficheros desde google drive
Hola, no suelo usar dropbox para dejar ficheros de datos pero no he
tenido ningĂșn problema para descargar un dataset (respondiendo a una
consulta en un foro linkedin). Por ejemplo:
file_url = "https://www.dropbox.com/s/1j0pdi02asc3g20/BigDataE1.csv?dl=1"
kk <- read.table(file_url,
header = TRUE,
sep = ';',
quote = "\\")