Displaying 20 results from an estimated 3000 matches similar to: "Fragment Caching"
2006 Aug 17
4
Unit Tests and lib/
Hi *, I have a few modules in lib/ and I use them mostly in my models.
I''d like to add a few unit tests and run them with rake with all
other tests of my app: where do I have to write them ?
TIA,
ngw
--
Nicholas Wieland
nicholas_wieland@yahoo.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Aug 18
3
RJS templates for DOM manipulation
I want to do some DOM manipulation with JavaScript. Specifically I
want to implement zoom in/out in a picture by changing it''s
width/height attributes. Is it possible to do this using RJS or should
I write javascript by hand?
All the examples of RJS I''ve seen write the javascript in the result
of an AJAX remote call. Where are the docs for RJS? All I''ve seen are
blog
2006 Jun 07
1
Label Helpers
Don''t know whether this has been discussed for the core, or if anyone
has seen a plugin.
Can anyone think of a reason why the form helpers don''t produce
corresponding labels?
......
Take the following example....
<label for="hotel_content_airportlocal" class="inputLabel">Name of
Local airport</label>
<%= text_field
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.
2006 May 01
2
Find by time?
I''m trying to find events created after an initial date. I''m sure it''s
something obvious, but I''m not sure why this isn''t working:
def self.find_recent
find(:all, :conditions=>"created_at > #{Time.local(2006, 4, 27, 22, 0, 0)}")
end
Time for more caffeine for me...
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
3
Mysql::Error: Can''t create UNIX socket (24)
Any idea what this means? I have done many google searches and got
nothing?
Any help is greatly appreciated.
--
Posted via http://www.ruby-forum.com/.
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:
2006 Aug 03
1
time based caching on rails pages.
Hello,
Quick question on caching based on time based expiration. Is this
something that rails supports? Is there a way to instruct rails to
refetch the new page after a time period or do we actually have to spawn
a background process and have it expire the pages.
Thanks,
Sam.
--
Posted via http://www.ruby-forum.com/.
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 Apr 12
1
Dynamically updating list
hi every body. i am try to do example of agil books.dynamically updating list of chapter 18.
1)this is my code for controller----
class ListnoajaxController < ApplicationController
def index
@items = Item.find_recent
end
def add_item
item = Item.new(params[:item_body])
render(:partial => "item", :object => item)
end
def item
end
end
2)the code for item class in app/model
class
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