Displaying 20 results from an estimated 2000 matches similar to: "False Positives In ActiveRecord Tests"
2010 Jan 25
3
question on sqldf syntax
trying to structure sql to merge two datasets. structure follows:
dbs.possible.combos (all possible combinations of dates and places)
Date Place
1/1/10 N-01
1/1/10 S-02
1/2/10 N-01
1/2/10 S-02
etc...
dbs.aggregate (the raw data aggregated by date and location)
Date Place Days
1/1/10 N-01 6
1/1/10 S-02 10
1/2/10 S-02 5
Trying to merge so I look-up the values for each possible combo
dbs.final
2010 Jun 21
2
Return value associated with a factor
I am using the code below to extract census tract information.
save.tract$state, save.tract$county and save.tract$tract are returned as
factors. In the last three statements, I need to save the actual value of
the factor, but, instead, the code is yielding the position of the factor.
How do I instead return the value of the factor?
By way of example, for Lon=-82.49574 and Lat=29.71495, the code
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
2007 Dec 03
4
RSYNC
If I try:
rsync -lptgoD -e "ssh -i /root/.ssh/rsync-key" --verbose --exclude="/*.*"
--exclude="*.xml" --include="+ */Tariff/"
192.168.1.1:/home/e-smith/files/ibays/frogs/files/dbs/
rsync lists the correct files, but if I add the destination like this:
rsync -lptgoD -e "ssh -i /root/.ssh/rsync-key" --verbose --exclude="/*.*"
2006 Jun 14
1
compare items from 2 db
I''ve dug thru docs, recipes, wiki, but haven''t found anything quite like
what I''m trying to do..
I have 2 databases with the same tables and same models representing
them. I want to get an item (of same name) from the 2 dbs for
comparison. Now, each example of connecting to multiple dbs I''ve seen
(including from Rails Recipes and the wiki) assumes that
2008 Apr 14
2
Problems with nil object
Hi to all. I''ve a very big problem. I know this can seem very loing, but
please, try to read it. I have a simply blog, with posts and their
comments. I''ve two tables in my db, posts, with post id, text and
comments_count to store the number of comments-children of each post (as
recomanded to do in AWDWR); and the table comments, with comment id,
post_id for the post
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 Jul 17
2
Adding users with ldif file
Fri, 17 Jul 2020 18:23:42 +0100 Rowland penny via samba <samba at lists.samba.org>:
> On 17/07/2020 17:59, RhineDevil wrote:
> > I mean all dbs containing samba ad-dc data
> > Forgot to ask something, an LDAP client connecting to samba LDAP implementation can use `cn=mycn,dc=domain,dc=tld` or it's forced to provide DC and CN in uppercase?
>
> As far as I am aware,
2006 Mar 27
5
Accessing Session Object from a model
i realise that this goes against the basic idea of the MVC architecture,
but i''ve found myself in a situation where i need to get information
about the current user in a model & i''m not sure how to do it.
Basically, we have a product where each customer has their own profile
with data stored in a separate database. There are some tables in a
common
2006 Apr 03
2
Order By Number of Comments
Hi,
I am new to Ruby on Rails, so I apologise if this has been answered
elsewhere. I have had a look through the list but I can''t seem to find
what I am trying to do.
I have implemented the standard blog and comments app from the
screencast. However I am trying to extend the functionality.
I want to be able to display a list of posts and order them by the total
number of comments
2006 Jun 08
7
The Agile Book Messageboard?
Hello.
Where is there an Agile Messageboard?
On the first part of the Depot example, a price field shouldn''t be an
integer right? (it should be more of a float since a price has decimals)
Dominic Son
--
Posted via http://www.ruby-forum.com/.
2011 Jan 19
2
domain stripping
Hi, using dovecot 2.0 and I'm using a couple of user DBs, sql/prefetch and
pam. Currently if the user logins with username at domain it authenticates off
the sql DB and works fine. If the user logins with username with no @domain
it fails on the sql lookup and succeeds on the pam user DB.
However I was wondering if I can have another sql DB lookup that says when
the user logins and fails
2024 Dec 12
1
Using a document id as metadata key and merges
Hi,
Following a discussion a few years ago, Recoll stores the documents text
contents in database metadata entries, with keys derived from document ids.
More recently an index creation method using several temporary indexes
merged on completion was implemented. This is still a bit experimental. It
brings a significant speed increase in some cases.
I just realised that the merge lost many
2015 Sep 11
1
Dovecot CalDAV server
* Niklaas Baudet von Gersdorff <niklaas at kulturflatrate.net>:
> On Fri, 11 Sep 2015 00:43:16 +0300
> Timo Sirainen <tss at iki.fi> wrote:
>
> > I've been once in a while over the years thinking about implementing
> > CalDAV (and CardDAV) to Dovecot. It might be time to start that soon.
> > Does anyone have any suggestions? So far my main goals would
2015 Sep 10
12
Dovecot CalDAV server
I've been once in a while over the years thinking about implementing CalDAV (and CardDAV) to Dovecot. It might be time to start that soon. Does anyone have any suggestions? So far my main goals would be:
- scalable, of course
- configurable storage (object storage, regular fs, maybe some key-value dbs, maybe storing as emails)
- efficient indexes (potentially using key-value dbs? or maybe
2005 Mar 31
4
spamassassin - sa-learn
How do I get this set up?
spamassassin -D --lint
shows me an error...
debug: bayes: no dbs present, cannot tie DB
R/O: /root/.spamassassin/bayes_toks
and with no db present, it doesn't learn.
Is there something simple that I'm missing?
Craig
2005 Jun 27
9
FK constraints overrated?
Hello folks,
I use to think that a relational databases without foreign keys
constraints enforced strictly by the RDBMS were no good, piece of crap,
data junk.
However, I''ve also learned the hard way that FKs constraints imposes
serious difficulties when moving data around, specially between
different DBs, or for loading test data or for upgrading DBs schemas, or
for porting DBs
2017 Jun 13
9
RFC: Dynamic dominators
Hi folks,
This summer I'm working on improving dominators during my internship at
Google. Below is an RFC on switching to dynamic dominators, which you can
also read as a Google Doc
<https://docs.google.com/document/d/1wPYeWykeO51YDPLYQEg4KNTlDIGIdyF65OTfhSMaNHQ/edit?usp=sharing>
if you prefer so. Please let us know what you think.
~Kuba
2014 Apr 01
3
trouble installing Math::BigInt module
I had to move a perl script from an old server to a new one. Both the
old and new servers are running "CentOS release 5.10 (Final)" and perl
v5.8.8. (But the problem I'm running into appears to be a package
management problem and not a Perl problem which is why I'm posting it to
a CentOS list.)
The line of code in the script that attempts to open a Net::SFTP
connection,
2017 Jun 13
2
RFC: Dynamic dominators
Hi Tobias,
1) Daniel and Chandler have for a long time been talking about computing
> dominance and post-dominance in one shot to reduce the cost of
> post-dominance and make it (freely) available everywhere. Is this
> covered by your current (or planned) work?
I'm not sure what you exactly mean by one shot; I'll ask around tomorrow.
I wanted to play a little bit with your