Displaying 20 results from an estimated 5000 matches similar to: "Using Runt with Rails Tutorial or Helpers?"
2008 Feb 17
1
Strange bug using runt with rails
Hi all,
I''m trying to include the ''runt'' gem (http://runt.rubyforge.org/) in
my Rails project. I''ve tried a few ways of doing this. I''ve tried
installing runt using ''gem install runt'' and then trying to do
"require ''runt''" in my environment.rb, and I''ve also tried using the
''vendor
2008 Nov 10
3
Runt Recurring events
I am planning on using Runt to calculate recurring events. I
calculate a Runt object in the view and use it to see if it includes a
certain date, which is populates from the database, and display the
info for that date if it is included. I have recurring events for
every week, which was pretty easy to set up. I can just say:
r = Runt::DIWeek.new(4)
For a recurring event every Thursday, and
2012 Mar 30
4
[PATCH] virtio_blk: Drop unused request tracking list
Benchmark shows small performance improvement on fusion io device.
Before:
seq-read : io=1,024MB, bw=19,982KB/s, iops=39,964, runt= 52475msec
seq-write: io=1,024MB, bw=20,321KB/s, iops=40,641, runt= 51601msec
rnd-read : io=1,024MB, bw=15,404KB/s, iops=30,808, runt= 68070msec
rnd-write: io=1,024MB, bw=14,776KB/s, iops=29,552, runt= 70963msec
After:
seq-read : io=1,024MB, bw=20,343KB/s,
2012 Mar 30
4
[PATCH] virtio_blk: Drop unused request tracking list
Benchmark shows small performance improvement on fusion io device.
Before:
seq-read : io=1,024MB, bw=19,982KB/s, iops=39,964, runt= 52475msec
seq-write: io=1,024MB, bw=20,321KB/s, iops=40,641, runt= 51601msec
rnd-read : io=1,024MB, bw=15,404KB/s, iops=30,808, runt= 68070msec
rnd-write: io=1,024MB, bw=14,776KB/s, iops=29,552, runt= 70963msec
After:
seq-read : io=1,024MB, bw=20,343KB/s,
2005 Jan 26
1
FW: How to delay before mounting root filesystem
yup runned it. probably something wrong with my initrd filesystem. can
you send me a directory listing of your initrd? and probably a sample
linuxrc.
if worse comes to worse, i'll probably load my usb and scsi modules in the
initrd.
i'm probably doing it all wrong. i'm trying to imitate the slackware10usb
way of booting up. every driver built in the kernel, patch on the mounting
root
2012 Jun 01
4
[PATCH v3] virtio_blk: unlock vblk->lock during kick
Holding the vblk->lock across kick causes poor scalability in SMP
guests. If one CPU is doing virtqueue kick and another CPU touches the
vblk->lock it will have to spin until virtqueue kick completes.
This patch reduces system% CPU utilization in SMP guests that are
running multithreaded I/O-bound workloads. The improvements are small
but show as iops and SMP are increased.
Khoa Huynh
2012 Jun 01
4
[PATCH v3] virtio_blk: unlock vblk->lock during kick
Holding the vblk->lock across kick causes poor scalability in SMP
guests. If one CPU is doing virtqueue kick and another CPU touches the
vblk->lock it will have to spin until virtqueue kick completes.
This patch reduces system% CPU utilization in SMP guests that are
running multithreaded I/O-bound workloads. The improvements are small
but show as iops and SMP are increased.
Khoa Huynh
2005 Dec 12
2
Using a lib in YAML fixtures
I''m using the runt library [1] to do some temporal expression
matching. I want to keep the expression in a binary field in my db.
I figured that then in order to do the fixtures, I''d need to do some
erb in the yaml file. So I came up with this:
onetime:
id: 1
name: One Time
description: This event occurs only one time.
timex: <%= REYear.new(7) & REMonth.new(24)
2004 Aug 19
2
Syslinux patch
Out of necessity, a friend of mine and I have created a patch for
syslinux to allow it to modify the mbr and partition table in windows.
It adds a -m option to syslinux. If given, it will overwrite the MBR of
the drive specified with the mbr.bin provided in syslinux, and if the
bootable flag is not set on the partition being syslinuxed, it will set
it. This was done to distribute with my USB
2008 May 07
2
design question
Hi,
I''m developing a budget planner for myself and do have a table for recurring
expenses, as well as a transaction table for my bank account CSV file
uploads.
Questions: For the projections forward in time I''m wonder whether to:
(a) keep it simple and just calculate future balance projections on the fly,
then feed to gruff graphs
(b) each time a recurring item changes, or
2006 Feb 04
2
Differentiating between normal site content and accounts with subdomains
I''m using the subdomains as accounts method fine on a project, but
I''m wondering what is the best way to differentiate between account
subdomains to access the app using an account, and www.domain.com and
domain.com in order to show normal site content.
I''ve noticed that on Backpack, it seems that when you leave the
information pages and start using the app,
2006 Mar 04
29
Getting RJS / EgdeRails working
Hi,
using Rails 1.0 on windows (without svn yet) I just wrote "rake
freeze_edge". Are the RJS-templates already included then ? When I write
"rake update_javascripts" I receive this error:
svn: ''.'' is not a working copy
Any tipps for a newbie on how to get the update done (if neccessary) ?
thx
Jan
2008 Sep 09
3
Modality Test
Dear Readers:
I have two issues in nonparametric statistical analysis that i need
help:
First, does R have a package that can implement the multimodality test,
e.g., the Silverman test, DIP test, MAP test or Runt test. I have seen
an earlier thread (sometime in 2003) where someone was trying to write
a code for the Silverman test of multimodality. Is there any other
tests that can enable me to
2017 Oct 10
2
small files performance
2017-10-10 8:25 GMT+02:00 Karan Sandha <ksandha at redhat.com>:
> Hi Gandalf,
>
> We have multiple tuning to do for small-files which decrease the time for
> negative lookups , meta-data caching, parallel readdir. Bumping the server
> and client event threads will help you out in increasing the small file
> performance.
>
> gluster v set <vol-name> group
2005 Dec 12
2
Can you unserialize an object from the db?
I don''t even know if this is possible. I want to use an object as an
attribute for one of my classes. I can save it to the db fine, looks
like...but I need to be able to use it after I pull the object from
the db. Right now the attribute is just a String, but I need it to be
a Runt::Intersect object. Does anyone know how I can unserialize the
attribute so I can use it as an object?
2006 Feb 05
3
Accessing Strongspace from a rails app
Is there any information on how to go about accessing a strongspace
account from a rails app? What are the preferred methods for doing
this?
Are there plugins for RoR that support SFTP transfers and so on?
Jake
--
Posted via http://www.ruby-forum.com/.
2005 Nov 19
3
file uploads with lighttpd-1.4.7 broken??
Hi guys,
Im doing fileuploads and it works great with webrick...I just installed
lighttpd 1.4.7 and ran ruby script/server suecessfully picking up my
lighty and fcgi install...
however...when I try to upload a file the proces either stalls (no
evidence of the hit in any logs) or returns 503....
any suggestions??
thanks in advance...
Mikkel
--
Posted via http://www.ruby-forum.com/.
2017 Oct 10
0
small files performance
I just tried setting:
performance.parallel-readdir on
features.cache-invalidation on
features.cache-invalidation-timeout 600
performance.stat-prefetch
performance.cache-invalidation
performance.md-cache-timeout 600
network.inode-lru-limit 50000
performance.cache-invalidation on
and clients could not see their files with ls when accessing via a fuse
mount. The files and directories were there,
2017 Apr 08
2
lvm cache + qemu-kvm stops working after about 20GB of writes
Hello,
I would really appreciate some help/guidance with this problem. First of
all sorry for the long message. I would file a bug, but do not know if
it is my fault, dm-cache, qemu or (probably) a combination of both. And
i can imagine some of you have this setup up and running without
problems (or maybe you think it works, just like i did, but it does not):
PROBLEM
LVM cache writeback
2006 Feb 07
14
Production Server That Just Works?
Hi,
Love Rails...
I''m looking for a Production Quality Server that brings the same ease of
use as Rails does to web development.
I''ve tried TextDrive, and never got it to work. I''m sure there are good
reasons why it didn''t work but they are beyond me. I''ve contacted tech
support there several times, and it seems that there are so many setups
that