Displaying 20 results from an estimated 10000 matches similar to: "Displaying environment differences"
2014 Jun 26
2
About memory index/search in multithread program
There may be some solutions?for example
class XAPIAN
{
*static* int InitDatabase(); //for reading only, do not need lock, but
if writing use lock
int Search(); //safe in one object, do not need lock
};
XIPIAN xp[ THREAD_NUM ];
one thread use one object, they use one database.
these can be in memory with one database.
2014-06-24 20:48 GMT+08:00 Olly Betts <olly at survex.com>:
2014 Jun 19
2
About memory index/search in multithread program
hi,
Why xapian don't support memory index/search ?
I know there is a method can create memory datebase, like this:
Xapian::WritableDatabase db(Xapian::InMemory::open());
*But, if i use these in multithread program, i need create many
datebases!!*
Xapian::WritableDatabase db1(Xapian::InMemory::open()); //used in thread1
Xapian::WritableDatabase db2(Xapian::InMemory::open()); //used in
2005 Mar 02
1
404 and NameError
Hi guys,
I was wondering if anyone knew a fix for this problem I have. I''ve
ported one of the apps I work with to Rails 0.10.0 to use Routes.
Everything works great, except for 404 pages.
The thing is that if I give a non existent path, I get the correct 404
error page back. However if I request a non existent file such as
test.php (in fact anything non existent that isn''t a
2013 Jul 01
1
Weird problem with PL2 tests
Hi olly, I rewrote the test for PL2 after adding code to deal with negative
weights. It passes on all backends other than inmemory . I see a different
value of weight for inmemory backend. The code to calculate the lower bound
is implemented in init().Please can I get some help with this ?
-Regards
-Aarsh
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2011 Dec 18
1
Saving nothing with save()
Scenario: Here I am working away in R. I've got results that prove
global warming is anthropogenic and also the solution for producing
limitless carbon-neutral energy from nuclear fusion. Its been a good
day.
So, I want to save my work. I don't want to overwrite my current
.RData, so I save it to another file:
save(file="prize.RData") # just need to email this to the Nobel
2015 Jan 26
2
TestCases Failure
Please find my inline reply.
On 26 January 2015 at 06:56, Olly Betts <olly at survex.com> wrote:
> On Sun, Jan 25, 2015 at 06:46:26PM +0500, Saad Ahmed wrote:
> > I have been able to successfully build the code. But when I run the
> > existing testcases (to verify everthing is working fine), It says 3 out
> of
> > the six testcases fails. Here is the report of the
2004 May 25
0
RMySQL problem - SOLVED
Hi,
The problem was the row.names that were sent to the database and created
an primary key duplicate. Now it works fine.
BTW congratulations for the package. It copied 15300 rows by 11 columns
in less than 5 seconds, in my PIII 833 with 1 GB RAM.
> system.time(dbWriteTable(con, "TBL_SIMDATA", TBL.SIMDATA, append =
TRUE, row.names=F))
[1] 3.87 0.05 4.86 0.01 0.00
Just one
2020 Jan 09
0
Relicensing Xapian
This is an update on the current status of the relicensing, but also an
opportunity to give feedback. Sorry it's rather long, but I think it's
necessary to summarise the situation - there are probably list members
who weren't even born at the start of the history of this!
Xapian is currently licensed as GPLv2+, but isn't something we actually
chose for Xapian, but rather due to a
2005 Aug 12
1
error building xapian
I'm getting the following error when trying to build xapian. I've
tried versions 0.9.1 and 0.9.2, same error. It's a x86 debian box,
gcc 4.0.1. It builds fine on my gentoo amd64 box (gcc 3.4.3).
Any ideas?
Thanks,
Alex
make[3]: Leaving directory `/home/mcam/xapian-core-0.9.1/backends/flint'
Making all in inmemory
make[3]: Entering directory
2012 Mar 28
2
getopt does not work as expected!
I have the following script (also attached):
#!/usr/bin/Rscript
spec=matrix(c(
'verbose', 'v', 1, "integer",
'help' , 'h', 0, "logical"
),ncol=4, byrow=TRUE)
spec.dim=dim(spec)
spec.opt.long=spec[,1]
spec.opt.short=spec[,2]
spec.opt.l <- spec.dim[1]
infile <- "test.dat"
args=commandArgs(TRUE); l=length(args)
self =
2017 Nov 21
0
[PATCH] builder: planner: Don't add some impossible transitions.
Certain transitions where the input and output filename are the same
are impossible, eg copying a file to itself. Don't add these.
Reported-by: David Kaylor.
---
builder/builder.ml | 28 ++++++++++++++++------------
1 file changed, 16 insertions(+), 12 deletions(-)
diff --git a/builder/builder.ml b/builder/builder.ml
index a4c830e89..843106a86 100644
--- a/builder/builder.ml
+++
2004 Sep 09
2
InMemory backend
I've just added a feature test for the new WritableDatabase methods -
replace_document() and delete_document() with a unique term. This
initially failed for inmemory due to bugs in the backend. They weren't
trivial to fix and my initial attempt at a fix caused other tests to
fail.
I've come to the conclusion that the code there probably should be
retired. It was written early on
2011 Aug 24
1
[PATCH] febootstrap-supermin-helper: Replace objcopy call for embedding init binary
objcopy needs "output-target" and "binary-architecture" parameters
which makes it necessary to keep a list of known architectures.
The bin2s.pl script generates input for the GNU assembler which should
produce an object file that is equivalent to that produced by objcopy.
I have successfully tested the change on an amd64 Debian/unstable system.
---
helper/Makefile.am |
2009 Aug 21
2
Lightweight 'package' idea.
I'm often wanting to develop functions whilst manipulating data. But I
don't want to end up with a .RData full of functions and data. It
might be that I have functions that are re-usable but not worth
sticking in a package.
So I've tried to come up with a paradigm for function development
that more closely follows the way Matlab and Python do it (partly
inspired by a confused Matlab
2017 Mar 15
2
xapian core missing link to math on MSYS2
Dear All,
I've tried to build xapian-core 1.4.3 on MSYS2. It fails with attached
error (undefined reference to `exp10'). I think it might be missing an
explicit link to 'm'. I'm not able to fix this myself as I do not
know autotools sufficiently well, but I hope you might be able to help.
Cheers,
Mario Emmenlauer
--
BioDataAnalysis GmbH, Mario Emmenlauer Tel.
2003 Aug 25
6
Syncronize Monitored Calls
I thought I would post this in case it might be of any use to anyone.
Not anything special but it does work. Keep in mind you need sox and
wmix.
Here is some relevant exerpts of my extensions.conf using John Todds
macro.
[globals]
CALLFILENAME=foo
FOO=foo
CALLERIDNUM=foo
[default]
exten => 287,1,Macro(dial,SIP/agent20002|20)
exten => 287,2,Voicemail(u287)
exten =>
2008 Aug 21
0
[PATCH]fix a little problem in formats file of xentrace
This patch (attached) fixes a small problem in xentrace_format.
Signed-off-by: Yang Xiaowei <xiaowei.yang@intel.com>
Zhou Ting <ting.g.zhou@intel.com>
---
diff -r 0df3bf8aac1e tools/xentrace/formats
--- a/tools/xentrace/formats Mon Jun 16 16:35:17 2008 +0100
+++ b/tools/xentrace/formats Thu Aug 21 17:36:03 2008 +0800
@@ -23,8 +23,8 @@ 0x00081001 CPU%(cpu)d
2008 Aug 05
0
[PATCH] collect memory location of each domain
This patch will collect memory location (the domain has how many pages
in different node) of each domain and display if you input debug key.
Signed-off-by: Zhou Ting <ting.g.zhou@intel.com>
Thanks,
Zhou, Ting
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2010 Jun 30
1
What is wrong with this code?
Here it is:
read.inputs<-function(infile) {
for (counter in 1:length(input.list)) {
seek(infile,where=0,origin='start')
newline<-readLines(infile,n=1)
while(length(newline)>0) {
if(!is.na(grep(as.character(input.list[[counter]][1]),newline)[1])) {
break
}
newline<-readLines(infile,n=1)
}
if (length(newline)>0)
2018 Jan 09
0
isolinux.bin checksum
> Hi,
>
> i think i found a suspect in lzo/prepcore.c and it would indeed be a
> wrong range of checksumming (speculative congratulations to Ady).
Thank you Thomas for your replies and for looking into this issue.
My part on the initial investigation that triggered this email thread
is relatively small. Others deserve much more credit. I was/am
providing not just my own report,