similar to: Boogaloo Simple Cache Server 0.1

Displaying 20 results from an estimated 30000 matches similar to: "Boogaloo Simple Cache Server 0.1"

2007 Jun 18
6
Something like rcov but more explicit?
Hey list, Does anything exist that can show me which lines are explicitly tested? RCov is great, but it doesn''t really give a sense of _actual_ coverage, indeed, there is no guarantee that functions executed were in fact called as the result of a line being tested. I know nothing of the rspec internals, but would a simple list of executed lines be a relatively simple feature to add?
2007 Jun 21
4
should_receive stubs methods?
Hey, I''m using rspec and rails and have a spec that tests if a before_filter is executed, I also have a spec that tests if a method called by the filter is executed. It appears however that when I should_receive something, it is no longer actually called when I fire the http request. I''m not sure how, or where exactly I should manually fire the filter, either before or after the
2007 Jul 25
5
MockCov: Proof of concept
Hey list, RSpec is great, I''ve been using it at work for a couple of months now. One gripe I have is that I find it hard to know exactly to what extent my code is covered by the specs. I am aware of RCov and Heckle; they''re great, but I''d like to demonstrate another perspective of coverage analysis I''ve hacked up. The perspective is that of what is mocked and
2010 Apr 03
2
(OT) OpenOffice.org calc chart strangeness.
I am attempting to create a simple line chart graphing three columns from a soffice-calc spreadsheet. I expect it to take the leftmost column as the X-Axis, plotting the others on the Y-Axis, but it always creates an X-Axis of the row number in the columns, and the first column amongst the data. I have tried this on OpenOffice.org 3.2.0, NeoOffice(R) 3.0.2 Patch 2, iWork Pages, and Excel 12.2.4
2011 Jun 14
0
HP Laserjet WinXP driver install on samba 3.2.5 --> explorer.exe crash
Hi folks, I have a samba PDC with about 5 printers (from HP, Kyocera and Canon) and except the one HP Laserjet 2055 PCL6 all drivers (installed via 'Add Printer Wizard Driver Installation') for all printers did install well and without major issues in the print$-driver-share. With this driver all seems well until I finally hit the "ok"-button in the printer properties
1997 Sep 25
2
R-beta: return()
I have a question on the use of return(). (Nothing on it in the docs I have) The test code below gives the error: Error: Object "x" not found when I do: thingy2(). How should it be fixed? Thanks very much for any help! (My original solution to this sort of problem was to use global variables x<<-... y<<-...) Bill Simpson ----------------------------- thingy<-function(k)
2004 Feb 24
1
Accessing columns in data.frame using formula
Hello! I'm trying the hard way to use a formula, in a function, to specify the names of several important columns in a data.frame. Maybe I'm just battling to figure out the right search terms :-( This is on XP, R 1.8.1. So, for instance, wery[1:5,] V1 V2 V3 V4 V5 congr V7 V8 V9 ok RT 1 1 1 960 520 1483 c 1 r r 1 760 2 1 2 1060 450 3753 c 1 r r 1 555
2007 Jun 27
1
rspec_on_rails: assert_select wrapper doesn''t play nice with XML
Hey, I''m using rspec and rspec_on_rails to test some RSS feed views, the problem is that the specs spew out messy warnings when they run: ignoring attempt to close channel with link opened at byte 61, line 3 closed at byte 141, line 5 attributes at open: {} text around open: "ss version=\"2.0\">\n <channel>\n <title" text around close:
2008 Sep 15
0
Simple censored quantile regression question
I start by doing a simple gaussian tobit by MLE: x1 <- runif(1000) # E() = 0.5 x2 <- runif(1000)*2 # E() = 1 x3 <- runif(1000)*4 # E() = 2 ystar <- -7 + 4*x1 + 5*x2 + rnorm(1000) # is mean 0 y <- ystar censored <- ystar <= 0 y[censored] <- 0 library(AER) m <- tobit(y ~ x1 + x2, left=0, data=D) summary(m) Which gives: Call:
2012 Sep 15
1
Question about copying arguments in C.
Hi List, I'd imagine this is a question that has been answered before, but I can't seem to track it down, sorry for the duplication if it has. I am writing an interface for a C library and want to return an S4 class from the 'constructing' method. One of the slots of the argument to be returned will be filled with one of the arguments passed to the function. My question is about
2009 Mar 05
4
Table of contents
I'm using Markdown in an app and would like to provide support for including a table of contents. Any suggestions for a syntax? Has anyone done this before? My first thoughts are: 1. Have a special header item (using markdown extra's header syntax), e.g. generate-contents: yes 2. Have a special xml tag with optional alternative text inside, e.g. <contents> 1. First thingy 2.
2007 Jul 27
3
[LLVMdev] Implementing sizeof
Hi folks, Assuming that I'm writing a pass and that for bizarre reasons I need to programmatically do the equivalent of a C/C++ sizeof on a Value (or a Type, it doesn't matter which really), yielding a result in bytes, what is the known-safe way to do this? I notice that doing something like struct thingy { ... some stuff ... }; ... printf("Size = %d",
2003 Feb 07
0
[Bug 454] SSH doesn't consider distinguish ports for host-key verification
http://bugzilla.mindrot.org/show_bug.cgi?id=454 ------- Additional Comments From august at dce.chalmers.se 2003-02-07 21:03 ------- This feature would be useful for another issue as well: I have a dlink nat/gateway/switch/dhcp thingy, and a static IP. Behind it are about 3-5 machines. I can specify one IP on the inside that gets connections made to port 22 from the outside. But if I want
2011 Aug 17
1
powder cell
Hello, I need some help running a somewhat old windows program on wine. I am trying to run powdercell (XRD refinement thingy), here you can find the homepage of the program (sorry it is in german): http://www.bam.de/de/service/publikationen/powder_cell.htm The only report about this program dates from 2008, and I can't really tell how successful it was:
2004 Dec 19
0
ztcfg seg faulting
I am running * in a development environment, adding functionality as I go. The * box has a X100P card in it which ztcfg enabled as channel 1 with fxsks signalling (fxsks=1). Everything worked fine and I was able to make inbound and outbound calls to/from the PSTN, the only issue being that some exchanges wouldn't handle the dtmf signalling, but I put that down to a peculiarity with some AU
2010 Apr 22
7
Making ActiveSupport::Cache consistent
Lighthouse ticket: https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/4452 I have recently been working on some gems that utilize ActiveSupport::Cache and ran into some issues with the different implementations handling the same functionality differently. One of the issues was that I couldn''t rely on expiring entries with the :expires_in option. MemCacheStore takes this
2013 Aug 09
0
Re: libvirt possibly ignoring cache=none ?
On 08/08/2013 05:03 PM, Brano Zarnovican wrote: > On Thu, Aug 8, 2013 at 9:39 AM, Martin Kletzander <mkletzan@redhat.com> wrote: >> At first let me explain that libvirt is not ignoring the cache=none. >> This is propagated to qemu as a parameter for it's disk. From qemu's >> POV (anyone feel free to correct me if I'm mistaken) this means the file >> is
2008 Mar 17
4
How does one do simple string concatenation?
How does one convert objects c("a","b","c") and "d" into "abcd"? > paste(c("a","b","c"), "d") of course yields [1] "a d" "b d" "c d" -- Ajay Shah http://www.mayin.org/ajayshah ajayshah at mayin.org
2011 Feb 17
0
[LLVMdev] bytecode cache
I think the way to do this is to generate a shared library which you reload. Shared libraries already handle the problems of PIC code and relocatable globals, so I think it would be best to leverage that. However, there's obviously some issues here. Presumably you don't have all the code up front, or you wouldn't be using a JIT in the first place. I don't think you can update
2006 Dec 11
4
creating a cache in rails
I need to create a small hash of values that persists across requests in Rails. I cannot store this information in the database or filesystem and only want to do it in memory. I was looking for a simple solution to implement this and read somewhere that memcache is pretty much overkill. This app is only running on one server so putting in memory should be just fine. I''m very new to