Displaying 20 results from an estimated 2000 matches similar to: "Re: rubyonrails problem w/ multiple dbs and webrick"
2006 Apr 15
6
view code regular expression
I''m lost on regular expressions to begin with...
I''m trying to fix a value to one of 4 radio buttons as there will be
value of either 1,2,3 or 4 in @roles_users...
<TD><input type="radio" id="roles"
name="case_managers[case_manager_name]"
value="Case Manager Admin"
<% if =~ @roles_users /1/ checked =
2008 Nov 21
6
VST plugin (ez drummer)
Hi, I just registered. I have a problem related to wine:
lmms can run some vst plugins with VeSTige, so I tried to get ez drummer working. It didn't work, so I downloaded Toontrack Solo, that is a program needed to run ez drummer as a standalone, and not as a plugin. It still wouldn't work, neither as a standalone.
I made a few searches and I found out that it needed mfc42.dll so I
2006 Jul 14
1
(Solved) Re: How to configure omega.cgi to search multiple flint dbs?
Folks,
OK found it, omega.cc looks for multiple DB definitions and adds it to the search list. If the dbs are only one directory lower (e.g. not in default as in beta/default, but only "beta"), then modifying database_dir setting as follows will work:
database_dir /svr/hda1/xapian
then,
./omega.cgi 'P=pda' FMT='xml' DB="beta" DB="gamma"
2020 Feb 07
2
prioritizing aggregated DBs
Hey all, I've been using ->add_database for a few years
to tie sharded DBs together and it works great.
Now, I want to be able to search across several DBs
which aren't sharded, say: linux-DB, glibc-DB, freebsd-DB.
I want to search for something across all of them, but
prioritize results to favor one or some of those DBs over
others. Is there a way to do that without reindexing?
Or
2011 Sep 10
1
DBS to R
Hello,
I have a bunch of data files all with "dbs" file extensions. They are
generated via a SQL query from another program and source. Does anyone know
(or have ideas) how to get the data from a dbs file type into R (or into
some other format that can imported to R)? I've searched online for 4 hours
now...
Thanks!
Ben
[[alternative HTML version deleted]]
2020 Feb 07
0
prioritizing aggregated DBs
On Fri, Feb 07, 2020 at 09:33:08PM +0000, Eric Wong wrote:
> Hey all, I've been using ->add_database for a few years
> to tie sharded DBs together and it works great.
>
> Now, I want to be able to search across several DBs
> which aren't sharded, say: linux-DB, glibc-DB, freebsd-DB.
>
> I want to search for something across all of them, but
> prioritize results
2006 May 16
4
Problems with multiple ''id'' columns in a join_table
I have a problem declaring a relationship through a join_table ; the SQL
generated by ActiveRecord is correct, but there are two columns called
''id'', and the final object gets the ''wrong'' column ...
Here''s a more detailed description of the data, code, and problem :-
There''s a People table, with id, name, and a few things.
Also a
2020 Feb 08
2
prioritizing aggregated DBs
Olly Betts <olly at survex.com> wrote:
> On Fri, Feb 07, 2020 at 09:33:08PM +0000, Eric Wong wrote:
> > Hey all, I've been using ->add_database for a few years
> > to tie sharded DBs together and it works great.
> >
> > Now, I want to be able to search across several DBs
> > which aren't sharded, say: linux-DB, glibc-DB, freebsd-DB.
> >
2009 Mar 18
1
Multiple DBs
Welcome,
I'm new one here . I've switch to dovecot in order to get mysql auth to
recive emails.
And I am not sure about one thing : may I configure dovecot to user more
then one DB
to authorize users ?
I have suse 11.1/postfix/mysql system where the users exist in 2
separate DBs. Delivering
works well, I'm just not sure if everyone could revive the emails ?
Any tips ?
reagards,
2011 Apr 16
1
btrfs frozen solid with postgresql dbs
kernel: 2.6.37.6
At least twice I''ve experienced problems when using btrfs with ssd for
postgresql db storage. Server gets frozen, i even can''t kill it using
kill -9, I cant chown postgresql db dir (it never gets done). If I
initiate copy operation of postgresql db dir to another partition
(without actually switching to using it) everything starts to work
fine for some time...
2020 Feb 09
0
prioritizing aggregated DBs
On Sat, Feb 08, 2020 at 06:04:42PM +0000, Eric Wong wrote:
> Olly Betts <olly at survex.com> wrote:
> > On Fri, Feb 07, 2020 at 09:33:08PM +0000, Eric Wong wrote:
> > > Or would I fiddle with wdf_inc for all ->index_text and ->add_term
> > > calls on a per-DB basis?
> >
> > That would probably work if you don't want to be able to vary the
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
2017 Apr 02
0
rdb and rds files include abolute file paths / help understanding how lazy-load dbs are created
Hi,
I'm trying to understand why/how absolute file paths are stored in .rdb[1] and
.rds[2] files during package installation. As a consequence building the same r
package in different directories does not produce identical .rdb and .rds files.
The background is that I work on reproducible builds[3] of R packages. I think
this is important from an engineering point of view but also from a
2020 Feb 19
2
prioritizing aggregated DBs
Olly Betts <olly at survex.com> wrote:
> On Sat, Feb 08, 2020 at 06:04:42PM +0000, Eric Wong wrote:
> > Olly Betts <olly at survex.com> wrote:
> > > On Fri, Feb 07, 2020 at 09:33:08PM +0000, Eric Wong wrote:
> > > > Or would I fiddle with wdf_inc for all ->index_text and ->add_term
> > > > calls on a per-DB basis?
> > >
>
2007 Apr 13
2
2 mysql dbs or 2 types of encryption
Just upgrading to 1.0.0 and I'm trying to switch from PAM (using
pam-mysql) to a direct mysql query from dovecot, and I've got both
md5crypt and crypt passwords in a password db.
http://wiki.dovecot.org/Authentication/PasswordSchemes seems to indicate
that I have to pick 1, but that is per auth-worker, right?
So, I created 2 auth workers using 2 dovecot-sql config files specifying
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
2006 Aug 18
9
Rails is doing what I want - but I don''t understand how.
Hi guys, I have the strangest thing happening. The funny part is its
doing exactly what I want to do, I just don''t understand how.
Basically here is my model.
class Role < ActiveRecord::Base
has_and_belongs_to_many :users
has_and_belongs_to_many :rights
def self.names
names = Array.new()
for role in Role.find :all
names << role.name
end
return
2007 Mar 21
1
Double homedirs and tilde problems in case of chroot in passwd-file / static dbs.
Recently I've made the post about "double homedir" problem,
but I couldn't recreate it later. Here're the exact steps to
make it happen (configuration is at the bottom):
1) set configuration as below with passwd-files
2) clean testms dir (not necessary though)
3) reload dovecot (HUP is enough)
4) access the server with any client using testms user
(make sure no other
2006 Jul 11
1
Problems using the authorization plugin from Bill Katz
Hello everyone,
I was trying to set up access control in a new application Im working on,
I''m trying to use the excellent authorization plugin from Bill Katz,
Its pretty straight forward to setup and should be to use.
But when i try to give the same permission on two differents users on
the same object i get an error.
(Well , Im kinda new to all this rails stuff)
r = Red.find(1)
u1 =
2005 Dec 14
3
why would an int column in a join table be a String class in model?
i''ve got an issue with integer columns in the database becoming strings in
the model and I''m not sure why this is happening. perhaps someone can
explain.
given the following setup (simplified for example)
tables:
users
----------
id - int
name - varchar(60)
roles
----------
id - int
name - varchar(60)
roles_users (join table)
----------
role_id - int
user_id - int