Displaying 20 results from an estimated 5000 matches similar to: "Automatically decrement value each day"
2011 Jul 05
9
How to implement a schedule of recurring events?
Hello,
I am fairly new to Ruby and Ruby on Rails. I am creating an
application that "has many :groups", each with their own schedule of
events. This is a little different than a calendar of events, since
these events recur every week and do not have a specific date. So for
example, I need to display a schedule for one group that looks like
this:
Group A''s Activities
- Monday
2019 Aug 10
1
[PATCH v3 2/2] virtio: decrement avail idx with buffer detach for packed ring
On Fri, Aug 09, 2019 at 12:18:47PM +0530, Pankaj Gupta wrote:
> This patch decrements 'next_avail_idx' count when detaching a buffer
> from vq for packed ring code. Split ring code already does this in
> virtqueue_detach_unused_buf_split function. This updates the
> 'next_avail_idx' to the previous correct index after an unused buffer
> is detatched from the vq.
>
2019 Aug 12
1
[PATCH v3 2/2] virtio: decrement avail idx with buffer detach for packed ring
On 2019/8/9 ??2:48, Pankaj Gupta wrote:
> This patch decrements 'next_avail_idx' count when detaching a buffer
> from vq for packed ring code. Split ring code already does this in
> virtqueue_detach_unused_buf_split function. This updates the
> 'next_avail_idx' to the previous correct index after an unused buffer
> is detatched from the vq.
>
> Signed-off-by:
2010 Jun 03
7
Scheduled tasks in Rails: Cron + wget = Best solution?
Hi there,
do you agree that for having scheduled tasks in Rails, the leanest
solution is the following?
- Create a controller with an action for each task
- Implement the logic of the task as controller code
- Set up a cron job at the OS level that uses wget to invoke the URL of
this controller/action at the appropriate time intervals
Advantages:
1) full access to all your Rails objects just as
2011 Apr 05
1
[PATCH] virtio: decrement dev_index when device is unregistered
When virtio device is removed, dev_index does not get decremented.
The next device hotplug event results in consuming the next pci to
the one that is suppose to be available.
Signed-off-by: Takuma Umeya <tumeya at redhat.com>
diff --git a/drivers/virtio/virtio.c b/drivers/virtio/virtio.c
index efb35aa..67fe71d 100644
--- a/drivers/virtio/virtio.c
+++ b/drivers/virtio/virtio.c
@@ -216,6
2011 Apr 05
1
[PATCH] virtio: decrement dev_index when device is unregistered
When virtio device is removed, dev_index does not get decremented.
The next device hotplug event results in consuming the next pci to
the one that is suppose to be available.
Signed-off-by: Takuma Umeya <tumeya at redhat.com>
diff --git a/drivers/virtio/virtio.c b/drivers/virtio/virtio.c
index efb35aa..67fe71d 100644
--- a/drivers/virtio/virtio.c
+++ b/drivers/virtio/virtio.c
@@ -216,6
2019 Sep 11
3
Compile for ARM SVE with the latest LLVM
Renato et al.
In the meantime, is there an out of tree branch I mean, other than LLVM
trunk so I can test how much I can SVE vectorize my code with it?
Arm seemed to gave taken down the GitHub branch for sometime.
On Wed, Sep 11, 2019 at 20:41 Renato Golin <rengolin at gmail.com> wrote:
> On Wed, 11 Sep 2019 at 06:13, Itaru Kitayama via llvm-dev
> <llvm-dev at lists.llvm.org>
2019 Aug 09
0
[PATCH v3 2/2] virtio: decrement avail idx with buffer detach for packed ring
This patch decrements 'next_avail_idx' count when detaching a buffer
from vq for packed ring code. Split ring code already does this in
virtqueue_detach_unused_buf_split function. This updates the
'next_avail_idx' to the previous correct index after an unused buffer
is detatched from the vq.
Signed-off-by: Pankaj Gupta <pagupta at redhat.com>
---
2011 Apr 05
3
[PATCH] virtio_blk: decrement index when blockdevice is removed
When virtio block device is removed, index does not get decremented. When
another virtio disk is attached it uses the next device letter to the
one that is suppose to be available.
Signed-off-by: Takuma Umeya <tumeya at redhat.com>
diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c
index 6ecf89c..730e7af 100644
--- a/drivers/block/virtio_blk.c
+++
2011 Apr 05
3
[PATCH] virtio_blk: decrement index when blockdevice is removed
When virtio block device is removed, index does not get decremented. When
another virtio disk is attached it uses the next device letter to the
one that is suppose to be available.
Signed-off-by: Takuma Umeya <tumeya at redhat.com>
diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c
index 6ecf89c..730e7af 100644
--- a/drivers/block/virtio_blk.c
+++
2007 Dec 05
2
Term frequency doesn''t decrement after document is deleted.
Hey all,
The frequency count returned by my ferret reader doesn''t decrement
after I remove a documents with those terms. Using the example from
http://ferret.davebalmain.com/api/classes/Ferret/Index/TermEnum.html
the frequency increments after a document is added but stays the same
after a document is deleted.
index.reader.terms(:tags).each do |term, freq|
"#{term} appears
2011 Mar 16
1
[PATCH] virtio: Decrement avail idx on buffer detach
When detaching a buffer from a vq, the avail.idx value should be
decremented as well.
This was noticed by hot-unplugging a virtio console port and then
plugging in a new one on the same number (re-using the vqs which were
just 'disowned'). qemu reported
'Guest moved used index from 0 to 256'
when any IO was attempted on the new port.
CC: stable at kernel.org
Reported-by:
2011 Mar 16
1
[PATCH] virtio: Decrement avail idx on buffer detach
When detaching a buffer from a vq, the avail.idx value should be
decremented as well.
This was noticed by hot-unplugging a virtio console port and then
plugging in a new one on the same number (re-using the vqs which were
just 'disowned'). qemu reported
'Guest moved used index from 0 to 256'
when any IO was attempted on the new port.
CC: stable at kernel.org
Reported-by:
2010 Apr 16
4
DEEEEPLY nested
Hello,
i have "a" has many "b", "b" has many "c", and "c" has many "d"
Now... "d" is a user model, and I have a current_user helper method
defined.
If i navigate to an "a" show page, how can I make sure that my
current_user ("d") is part of that "a"? meaning how can i make sure
that
2010 Sep 23
2
Creating 'trash' folder
This might well be OT; however, I thought I would ask anyway.
Please keep in mind that the IMAP server is Dovecot.
I have a friend who uses Becky Internet Mail
<http://www.rimarts.co.jp/becky.htm> on a Windows system. There us an
options under the configuration menu in Becky to create the trash
folder on the server. It suggest ".trash" for the name. He is aware
that I use Dovecot
2014 Mar 16
4
unable to make USB-ZIP using rufus_v1.4.5
Hello Sir,
Following are the settings I used,
Device: NO _Label (O:)
Partition scheme and target system type: MBR partition scheme for BIOS
or UEFI computers
File System: FAT32
Cluster size: 4096 bytes (Default)
New Volume label:
(i)Quick format
(ii)Create bootable disk using: MS-DOS
(iii)Create extended label and icon files
Format Options > Advanced Options:
(i)List USB Hard
2010 Feb 23
12
"no such file to load -- gettext/rails" error
I get the error below when I try to start my server.
Here are the versions installed:
OS: Windows Server 2008
Ruby: 1.8.7
Gems:
actionmailer (2.3.5, 1.3.5)
actionpack (2.3.5, 1.13.5)
actionwebservice (1.2.5)
activerecord (2.3.5, 1.15.5)
activeresource (2.3.5)
activesupport (2.3.5, 1.4.4)
cgi_multipart_eof_fix (2.5.0)
daemons (1.0.10)
gem_plugin
2016 Mar 08
2
Improving TAILS, WAS: Module Versioning
Here are some thoughts:
1. Customized Syslinux could be customized such that it refuses to boot
from USB. No amount of version-matching nor downloading from the
same source can help with that scenario. A different Syslinux would
be needed, by definition (of the customizer)
2. Slightly less bad is where an ISO or CD/DVD is made with a key piece
of non-ISOLINUX Syslinux missing
2019 Oct 22
2
Problems with internal DNS
On Mon, Oct 21, 2019 at 5:03 PM Rowland penny via samba <
samba at lists.samba.org> wrote:
> On 21/10/2019 15:47, Thomas Schweikle via samba wrote:
> > Hi!
> >
> > Samba server set up for domain rufus.ada.de a proxy is reachable in
> > proxy.ada.de.
>
> How are you running Samba ?
>
As ADDC.
Please post your smb.conf.
>
OK. Here it is:
[global]
2007 Nov 25
2
Install repeated library
Hello -
I cannot get to
www.alpha.luc.ac.be/~jlindsey/rcode.html<http://www.alpha.luc.ac.be/%7Ejlindsey/rcode.html>to
obtain and install the repeated library for use of glmm(). Is the web
page not active? Can you give me an alternative location to obtain the
repeated library?
Thank you,
Becky Parker
[[alternative HTML version deleted]]