Displaying 20 results from an estimated 5000 matches similar to: "creating directories on destination"
2007 Sep 26
0
activerecord multiple databases
So, I was looking for a setup that would allow me to easily query
multiple databases and not have to re-write my customer finder type
queries. Here is what I came up with and it seems to be working for
me in my very basic tests so I thought I''d share. Just posting it in
case this helps anyone else trying to do the same thing.
I''m using this with activerecord, but not rails, so
2009 Jul 22
3
How to replace NAs in a vector of factors?
# Just when I thought I had the basic stuff mastered....
# This has been quite perplexing, thanks for any help
## Here's the example:
db1=data.frame(
olditems=c('soup','','','','nuts'),
prices=c(4.45, 3.25, 4.42, 2.25, 3.98))
db2=data.frame(
newitems=c('stew','crackers','tofu','goatsmilk','peanuts'))
2013 Mar 05
1
Remote database & local database, and adding new weight found vtable error
Hello, guys.
Q1.
now I have load all the docid and its document data into a dictionary for
faster loading data instead of calling
Xapian::MSetIterator i;
i.get_document().get_data();
but I was happened to discover that the dictionaries got by such two method
were different:
both methods use DB1, DB2
method 1:
Xapian::Database db = Xapian::Database(the path of DB1);
Xapian::Database db2 =
2010 Apr 01
1
Stack with factors
Hi R users:
I found that I cannot stack() a data.frame with factors.
db1<-data.frame(replicate(6,factor(sample(c("A","B"),6,replace=TRUE))))
str(db1)
db2<-stack(db1)
db2
"db2" does not have any row.
How can I stack them by the variables X1,X2,...,X6?
Thank you for your help.
Kenneth
2007 Oct 10
2
Something to think about
I'm planning to add multiple-database support for searches to my "Xappy"
python wrapper (more on this wrapper later, but for now, see
http://code.google.com/p/xappy for details). This is reasonably
straightforward, because Xapian supports this nicely: except that
"Xappy" generates a "fieldname->prefix" mapping automatically. The
prefix which corresponds
2010 Dec 01
2
Are stub databases still supported in 1.0.21?
I have the following setup:
Databases:
/var/lib/xapian-omega/data/db1
/var/lib/xapian-omega/data/db2
/var/lib/xapian-omega/data/db3
Stub:
/var/lib/xapian-omega/data/default
The stub file "default" is a text file that contains the following:
auto /var/lib/xapian-omega/data/db1
auto /var/lib/xapian-omega/data/db2
auto /var/lib/xapian-omega/data/db3
Using the following returns nothing:
2020 Feb 19
0
prioritizing aggregated DBs
On Wed, Feb 19, 2020 at 10:23:09AM +0000, Eric Wong wrote:
> Btw, is there a way to quickly figure out which sub-DB a retrieved
> document or mset item belongs to?
Yes: https://trac.xapian.org/wiki/FAQ/MultiDatabaseDocumentID
1.4.12 added a Database::size() method which reports the number of
shards - for older versions you have to keep track of that yourself
(which needs a little care as
2020 Feb 21
1
prioritizing aggregated DBs
Olly Betts <olly at survex.com> wrote:
> On Wed, Feb 19, 2020 at 10:23:09AM +0000, Eric Wong wrote:
> > Btw, is there a way to quickly figure out which sub-DB a retrieved
> > document or mset item belongs to?
>
> Yes: https://trac.xapian.org/wiki/FAQ/MultiDatabaseDocumentID
>
> 1.4.12 added a Database::size() method which reports the number of
> shards - for
2007 Jan 16
4
ocfs Vs ocfs2
Hi everbody this is my first post,
I have two test server .(Both of them is idle)
db1 : RHEL4 OCFS2
db2 : RHEL3 OCFS
I test the IO both of them
The result is below.
db1(Time Spend)db2(Time Spend)OS Test Command
dd (1GB) (Yazma)0m0.796s0m18.420stime dd if=/dev/zero of=./sill.t bs=1M count=1000
dd (1GB) (Okuma)0m0.241s8m16.406stime dd of=/dev/zero if=./sill.t bs=1M count=1000
cp
2007 Jan 16
4
ocfs Vs ocfs2
Hi everbody this is my first post,
I have two test server .(Both of them is idle)
db1 : RHEL4 OCFS2
db2 : RHEL3 OCFS
I test the IO both of them
The result is below.
db1(Time Spend)db2(Time Spend)OS Test Command
dd (1GB) (Yazma)0m0.796s0m18.420stime dd if=/dev/zero of=./sill.t bs=1M count=1000
dd (1GB) (Okuma)0m0.241s8m16.406stime dd of=/dev/zero if=./sill.t bs=1M count=1000
cp
2019 May 15
1
Second VPN network fails to start
Hi,
I have a small problem and any help appreciated.
Tinc 1.0.33 Ubuntu 18.04 at Digital Ocean
I need VPNs between 1 database server and two servers on separate networks:
VPN0 works OK
DB2 10.0.0.50/24 connects to Web1 10.0.0.1
Here is my ip r result:
default via x.x.x.x dev eth0 proto static
10.0.0.0/24 dev tun0 proto kernel scope link src 10.0.0.51
10.15.0.0/16 dev eth0 proto kernel scope
1999 Mar 09
2
summary() of lm() problem (PR#135)
Debuggers,
I wrote to r-help about this and was appropriately told off by Peter
Dalgaard. I append that mail in case you have not seen it.
Following Peter's advice I have attempted to simplify the problem.
First note that the following does *not* fail (by which I mean crash, as
in generate a memory access violation):
> tmp<-matrix(c(1,0,0,1,1,1),2,3)
>
2005 Dec 16
0
very strange OCFSv1 problems
We are using RHEL ES 3.0 Update 6, kernel version is 2.4.21-37.ELsmp. We have 5-node Oracle 10g RAC (10.1.0.4).
# cat /proc/ocfs/version
1.0.14-PROD1 Fri Jan 7 13:58:41 PST 2005 (build 7a10bc19875bb2abf8a7fd110639b81b)
One problem with ocfs v1 here is that when I used "debugocfs -h /dev/emcpowere1" command, it always show that "curr_master=INVALID_MASTER". My question is: Is
2005 Dec 16
0
RE: very strange OCFSv1 problems
For the 2nd problem, on node 5, I tried the following:
$ rmdir hotbackup
rmdir: `hotbackup': Directory not empty
$ ls -ldi hotbackup/
266133504 drwxr-xr-x 1 oracle dba 131072 Dec 14 15:46 hotbackup/
Now this folder is back! Strange!
> -----Original Message-----
> From: Wu, Hai
> Sent: Wednesday, December 14, 2005 5:47 PM
> To: 'ocfs-users@oss.oracle.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
2012 Aug 07
0
spatial_adapter and ruby_ldap
Hi,
I''m running rails 3.0.9 with activerecord 3.0.9 and have three database
connections in my rails application - LDAP connection, Oracle and Postgres
with PostGIS. I have installed gems GeoRuby v 1.3.4, spatial_adapter v
1.3.1, activerecord-oracle_enhanced-adapter v 1.4.0, ruby-ldap v 0.9.12 ,
pg v 0.14.0.
With both gems the spatial_adapter seem to work well which also is the case
2006 Aug 06
0
Rails Core Weekly July 16 - August 6
Rails Core Weekly July 16 - August 6
Rails Core Weekly summarizes the rails-core mailing list, a list
dedicated to Ruby on Rails internals and its development. RCW is
brought to you by Rodney Ramdas and proofread by the good people of
The Caboose (http://blog.caboo.se/) for accuracy.
RSS feed and RCW home:
http://www.pinupgeek.com/articles/category/rails-core-weekly-news
The ruby on rails
2003 Dec 20
1
rsync "hang"
Hello rsync list,
I am running a Solaris 8 system and have rsync 1.6.2 protocal 14 installed.
We have updated (wed 17-dec) to the latest Solaris 8 recommended patch set.
When performing an rsync of two local UFS partitions rsync "hung", never
completed, didn't exit. What I forced an exit via kill signal core dumped.
Config of disks is that 1) Mirror by Solistice Disksuite rsync to
2011 Oct 17
1
plotting issues with PCA
Hi Listers,
This has a simple answer but it has been eluding me nonetheless.
I have been building a PCA plot from scratch with the ability to plot
predefined groups in different colors. This has worked fine but when I try
to get a polygon drawn around each of the groups it is not recognising my
colour file correctly and is only printing the first colour in the
file....code is below
2009 Feb 02
1
[LLVMdev] Proposal: Debug information improvement - keep the line number with optimizations
Hi,
I've been thinking about how to keep the line number with the llvm
transform/Analysis passes.
Basically, I agree with Chris's notes (
http://www.nondot.org/sabre/LLVMNotes/DebugInfoImprovements.txt), and I
will follow his way to turn on the line number information when optimization
enabled.
Here is a detailed proposal:
1. Introduction
At the time of this writing, LLVM's