Displaying 20 results from an estimated 2000 matches similar to: "Label Helpers"
2009 Jul 24
1
Conditional sorting
Greetings!
I am trying to figure out how to order a data frame by one variable
conditioned on another.
Here is an example of what I have:
d <- data.frame(RUN = rep(1:3, each = 3), ID = 1:9, AUC =
runif(9,1,100))
> d
RUN ID AUC
1 1 70.2
1 2 86.5
1 3 20.1
2 4 74.3
2 5 53.6
2 6 67.6
3 7 99.9
3 8 47.3
3 9 41.3
2019 Jun 05
10
[PATCH 1/4] drm/virtio: Ensure cached capset entries are valid before copying.
From: David Riley <davidriley at chromium.org>
virtio_gpu_get_caps_ioctl could return success with invalid data if a
second caller to the function occurred after the entry was created in
virtio_gpu_cmd_get_capset but prior to the virtio_gpu_cmd_capset_cb
callback being called. This could leak contents of memory as well
since the caps_cache allocation is done without zeroing.
2003 Jul 10
1
Contour Plots
Hello,
I'm a grad. student in statistics and am looking for some information on how
R draws its contours. I suspect you are using a Bezier spline. I have the
C code but am curious about how it works.
Riley A. Metzger
University of Waterloo
Waterloo, Ontario, N2L 3G1
(519) 888-4567 Ext. 3715
rileymetzger at alumni.uwaterloo.ca
2006 Jul 03
1
Apache mod_proxy to mongrel
Hi Guys,
I know this is slightly off topic, but it''d be great to get some
feedback from anyone who''s using mod_proxy on Apache 2.2 to redircet
to a rails app on mongrel.
Everything has been running fine generally but a few days back we
started getting a gap in the performance between the Apache port and
the mongrel port. accessing through port 80 was averaging ten times
longer
2006 Aug 18
1
Fragment Caching
Hello.
I wouldn''t mind getting some feedback about the use of fragment
caching. I''ve got a series of relatively expensive database queries
with their respective partials cached and everything is working fine.
The problem is that do get this to work I''ve had to move the database
queries from the controller into the view layer so as to avoid them
being called if the
2005 Aug 02
0
[LLVMdev] [patch] gccld not passing -export-dynamic to gcc for link
On Mon, Aug 01, 2005 at 05:13:15PM -0500, Nicholas Riley wrote:
> The attached patch fixes this.
...but had tabs in it. Misha kindly reminded me off-list that this
was bad. Try this one instead.
--
Nicholas Riley <njriley at uiuc.edu> | <http://www.uiuc.edu/ph/www/njriley>
-------------- next part --------------
Index: tools/gccld/GenerateCode.cpp
2011 May 11
1
Adding reference line or plane to cloud or wireframe
All,
I am wondering how one might add a reference line or plane to a cloud or
wireframe plot. I have been unable to figure this out. Let's say I would
like to draw a reference for some value of wt in the example below:
cl <- 54.1
age <- 10:80
wt <- 25:160
sim <- expand.grid(age = age,wt = wt)
sim$cl <- cl*(sim$wt/70)**0.412 * (sim$age/50)**0.152
2011 Jan 02
2
Error copying >1 message to virtual mailbox
I created a virtual mailbox which maps to a single physical mailbox (in
Dovecot 1.x I did this with a symlink but had intermittent problems with
Dovecot 2.0 doing the same.)
However, I can only copy one message at a time into the mailbox. If I
try to copy more, I get:
7.16 UID COPY 48531:48532 !/Saved
7.16 NO [CANNOT] Can't save messages to this virtual mailbox
whereas this works fine:
2007 Dec 16
3
rSpec troubles
Hello All,
I am hoping someone can help me. I am having a nightmare of a time trying to get rSpec to work. It was working at one time, but I tried installing Zentest to get autotest to work with rSpec and it''s been downhill ever since. Here are the gems I have installed in my rails app:
ZenTest 3.6.1 if it matters (technically this is in my Ruby gems list and not in my vendor
2014 May 05
2
imapc with Outlook.com transfers max 22-23 messages per mailbox!?
Hi,
I'm trying to migrate a user from Outlook.com IMAP to Dovecot. I'm
using a setup similar to that on
http://wiki2.dovecot.org/Migration/Dsync:
imapc_host = imap-mail.outlook.com
imapc_user = [...]@hotmail.com
imapc_password = [...]
imapc_features = rfc822.size fetch-headers
mail_prefetch_count = 20
imapc_port = 993
imapc_ssl = imaps
imapc_ssl_verify = yes
ssl_client_ca_dir =
2010 Oct 22
3
Problems converting to maildir with dsync in 2.0.6
I'm trying to convert from an old Dovecot (1.0.15) and mbox to a new
Dovecot and maildir. I'm running into several problems with dsync which
are causing my mboxes not to convert.
If I use LAYOUT=fs (as I'd prefer) I get an error because I have a
mailbox called "subscriptions", and none of my messages convert. Is
there a way to get dovecot to put its own metadata in
2006 Jun 12
1
Broken Pipe Error with Mysql
Hello.
Been getting the dreaded MySQL broken pipe error after a few hours of
the app being started. Obviously restarting the server fixes
everything. I gather from a few posts about running rails on fast-cgi
that this happens when mysql timesout before the application. Just
wondering what the timeout for mongrel is and which mysql variable it
has to be lower than.
Thanks for any help
--
Ross
2019 Sep 10
2
[PATCH v3 1/2] drm/virtio: Rewrite virtio_gpu_queue_ctrl_buffer using fenced version.
Factor function in preparation to generating scatterlist prior to locking.
Signed-off-by: David Riley <davidriley at chromium.org>
---
drivers/gpu/drm/virtio/virtgpu_vq.c | 19 +++++++------------
1 file changed, 7 insertions(+), 12 deletions(-)
diff --git a/drivers/gpu/drm/virtio/virtgpu_vq.c b/drivers/gpu/drm/virtio/virtgpu_vq.c
index 981ee16e3ee9..bf5a4a50b002 100644
---
2019 Sep 12
1
[PATCH] drm/virtio: Fix warning in virtio_gpu_queue_fenced_ctrl_buffer.
Fix warning introduced with commit e1218b8c0cc1
("drm/virtio: Use vmalloc for command buffer allocations.")
from drm-misc-next.
Signed-off-by: David Riley <davidriley at chromium.org>
---
drivers/gpu/drm/virtio/virtgpu_vq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/virtio/virtgpu_vq.c b/drivers/gpu/drm/virtio/virtgpu_vq.c
index
2019 Sep 10
2
[PATCH v3 1/2] drm/virtio: Rewrite virtio_gpu_queue_ctrl_buffer using fenced version.
Factor function in preparation to generating scatterlist prior to locking.
Signed-off-by: David Riley <davidriley at chromium.org>
---
drivers/gpu/drm/virtio/virtgpu_vq.c | 19 +++++++------------
1 file changed, 7 insertions(+), 12 deletions(-)
diff --git a/drivers/gpu/drm/virtio/virtgpu_vq.c b/drivers/gpu/drm/virtio/virtgpu_vq.c
index 981ee16e3ee9..bf5a4a50b002 100644
---
2007 Sep 24
2
using rsync on selinux
I'm trying to use rsync to synchronize customer application files across
multiple WEB servers. The actual copying of the files works fine. The
problem is that it changes the selinux security context of some of the
files. Since there are over 2000 files for each customer, it becomes a
major issue to correct the security context after the fact as not all
have the same context. Searching the
2011 Aug 24
1
Migrating from 2.2.8 to AD 2008R2
Hi,
We have an old samba server, 2.2.8a, running on freebsd 4.9, as a PDC.
There's currently a temporary, standalone mode, win2008r2 with an (mssql)
app that for full utility requires running on a ADC. I have very little
experience with AD. An older version of mssql and the app were running on a
standalone win2k server, which is still available if needed.
I've found various
2017 Jun 28
2
Multiple Inheritance with dyn_cast
Hello,
I recently ran into an issue where I wanted to use dyn_cast with a Multiple Inheritance hierarchy. LLVM’s help page on RTTI claims that it can be done, and that Clang’s Decl and DeclContext implement it; however, when I try to use it I run into odd behavior. Here’s my sample code which doesn’t work:
```
struct Base {
void *ptr;
bool hasInfo;
};
struct Info {
int size;
static
2005 Aug 01
2
[LLVMdev] [patch] gccld not passing -export-dynamic to gcc for link
gccld passes -shared through if it's generating a shared library, but
if you're compiling a program that needs to have its symbols
externally accessible, it doesn't pass -export-dynamic through to gcc
for the final link.
The attached patch fixes this. I've tested with a small test case I
sent Chris, and with Python; both seem to work.
I also fixed some inaccurate comments in
2004 Aug 06
2
DTX in speech
Hello,
I am trying to use the DTX feature of speex to tell if the user is
speaking. I have VBR, DTX and VAD turned on, but the function
speex_encode always returns a non-zero value. It is my understanding
that it should return a zero value when the encoder detects silence?
Could anyone give me any clues to help figure out why this isn't working
for me? I am using the 1.13 version of speex on