similar to: dynamic database switching..

Displaying 20 results from an estimated 30000 matches similar to: "dynamic database switching.."

2006 Jul 31
4
switching database dynamically based on incoming request
So I have this idea to reduce code replication in our rails setup. Currently we have our rails app serving two distinct sites, soon to be three. At the moment we check out a separate set of code for each site, and configure it by adjusting the database setting and some config files that pull in separate style sheets. To remove this replication I''d like to have a single codebase, but
2006 Dec 25
2
Problem to generate training data set and test data set
I have a full data set like this: aa bas aas bms ams bcu acu omega y 1 ALA 0 127.71 0 69.99 0 -0.2498560 79.91470 outward 2 PRO 0 68.55 0 55.44 0 -0.0949008 76.60380 outward 3 ALA 0 52.72 0 47.82 0 -0.0396550 52.19970 outward 4 PHE 0 22.62 0 31.21 0 0.1270330 169.52500 inward 5 SER 0 71.32 0 52.84 0 -0.1312380 7.47528 outward 6
2006 Dec 08
1
question for if else
I have a data set like this I want to assign "outward" to Y if sc <90 and assign "inward" to Y if sc>=90. then cbind(p1982,Y) to get like these p aa as ms cur sc Y 1 154l_aa ARG 152.04 108.83 -0.1020140 92.10410 inward 2 154l_aa THR 15.86 28.32 0.2563560 103.67100 inward 3 154l_aa ASP 65.13 59.16 0.0312137 7.27311 outward 4 154l_aa CYS 57.20 49.85
2006 Aug 18
1
controller is to app.rb ; view is to layout folder ; rjs template is to ??
any help with this analogy? i have an rjs template that goes along with a method i have in application.rb and the functionality will be used from many diff controllers (the method take a tag as param to accomplish some AJAX acrobatics).. just trying to stay DRY here. is there no other way other than sticking the same rjs template in each view folder that uses this functionality? i guess i could do
2006 Jul 20
1
guru needed: connecting to a second (remote) db that may not be available
hi, My rails app connects to 2 databases a local one and a remote one. No problems there.. The problem is that the remote database may or may not be available at any given time. My problem: when the remote db is unavailable, any time my code tries to query the remote database it hangs for a few minutes until it times-out. I would very much like to change the timeout value to something
2006 Dec 26
1
Colored Dendrogram
Hi all, I am a real novice to R. :) I am struggling with a problem for generating colored dendrogram. I have searched the R list and complied/collected a R code which can generated a colored dendrogram based on the rainbow color and 4x4 similarity matrix (say matrix:m). In this dendrogram, each leaf is colored differently. But, I do not want the leaf colored on a random basis. I want to assign
2008 Nov 24
2
lattice contourplot background covers inward-facing ticks
I wish to have inward-pointing ticks on my contourplot graph, but the colored background produced by the "region=TRUE" statement covers the ticks up, is there any way around this? Sample code below. --Seth library(lattice) model <- function(a,b,c,d,e, f, X1,X2) # provide model function for contour plot {J <- a + (b*X1) + (c*X2) + (d*X1*X2) + e*(X1^2) + f*(X2^2) pp
2005 Jun 15
1
Changing caller ID on a Zap channel
I have asterisk with two zap channels which are analog ports off a T1. They each have a inward DID number If they are used for outgoing they show the T1 main number not the DID's number. Is there any way to send caller ID of the inward DID number not the main number Jeff
2006 Apr 08
2
question about DISA
Lists, ? ? Hi, good day, i was being task to create a DISA access for internal purpose of the company, i'm having a problem to work with it with authentication, but i think it's really a straight forward thing to do, can someone enlight me on this. thanks ? sample code snippet ? ???? exten => 5,Goto(inward,s,1) ? [inward] ? ?????????? exten => s,1,Disa(1234|outgoing) ?????????? ;
2020 Apr 01
0
[ANNOUNCE] libnftnl 1.1.6 release
Hi! The Netfilter project proudly presents: libnftnl 1.1.6 libnftnl is a userspace library providing a low-level netlink programming interface (API) to the in-kernel nf_tables subsystem. This library is currently used by nftables. See ChangeLog that comes attached to this email for more details. You can download it from: http://www.netfilter.org/projects/libnftnl/downloads.html
2006 Nov 22
1
What training algorithm does nnet package use?
Greetings list, I've just swapped from the "neural" package to the "nnet" package and I've noticed that the training is orders of magnitude faster, and the results are way more accurate. This leads me to wonder, what training algorithm is "nnet" using? Is it a modification on the standard backpropagation? Or a completely different algorithm? I'm
2024 Mar 28
0
[linux-next:master] BUILD REGRESSION a6bd6c9333397f5a0e2667d4d82fef8c970108f2
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: a6bd6c9333397f5a0e2667d4d82fef8c970108f2 Add linux-next specific files for 20240328 Error/Warning: (recently discovered and may have been fixed) ERROR: modpost: "memcpy" [crypto/chacha20poly1305.ko] undefined! ERROR: modpost: "memcpy" [fs/efs/efs.ko] undefined! ERROR:
2002 Feb 19
1
Autoconf
Hi, I have a question about compiling Ogg/Vorbis. As I plan to have the code run on the LEON/SPARC CPU so I have to use sparc-rtems-gcc, sparc-rtems-ld, sparc-rtems-ranlib. Now, in order to compile the libs, e.g., libogg, I have to create my own Makefile like this: PROG=bitwise framing CC=sparc-rtems-gcc AR=sparc-rtems-ar RANLIB=sparc-rtems-ranlib CFLAGS=-rtems -msoft-float -Wall -W -g
2011 Sep 06
2
[LLVMdev] bitwise AND
Hi, I want to compute the bitwise 'and' between two values of type int1:  %x = and %a, %b  . Which is the LLVM instruction that creates this? I only found the APInt class, whose constructor is:  APInt(unsigned numBits, uint64_t val, bool isSigned = false) and which provides the bitwise AND operation: APInt  llvm::APIntOps::And (const APInt &LHS, const APInt &RHS)   Bitwise
2016 Jul 12
2
RFC: Strong GC References in LLVM
Hi Andy, Andrew Trick wrote: > Sanjoy, > > This looks very close to my understanding of the statepoint design trajectory when you first introduced it. It’s great that you followed through and took the time to formalize the IR semantics. It’s been a couple years since I’ve thought about it so I may ask some obtuse questions. > > I think he subject line is wrong though! Did
2015 Jan 14
1
[PULL] uaccess: fix sparse warning on get/put_user for bitwise types
Hello, Arnd, As you asked, here's a pull request. This has been in linux-next apparently with no ill effects. The following changes since commit 99975cc6ada0d5f2675e83abecae05aba5f437d2: vhost/net: length miscalculation (2015-01-07 12:22:00 +0200) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/uaccess_for_upstream for you to
2015 Jan 14
1
[PULL] uaccess: fix sparse warning on get/put_user for bitwise types
Hello, Arnd, As you asked, here's a pull request. This has been in linux-next apparently with no ill effects. The following changes since commit 99975cc6ada0d5f2675e83abecae05aba5f437d2: vhost/net: length miscalculation (2015-01-07 12:22:00 +0200) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/uaccess_for_upstream for you to
2016 Jul 11
4
RFC: Strong GC References in LLVM
On Mon, Jul 11, 2016 at 2:28 PM, Sanjoy Das <sanjoy at playingwithpointers.com> wrote: > ping! > > Sanjoy Das wrote: > # Proposed Solution: >> >> We introduce a "new" LLVM type. I will still refer to it as GCREF >> here, but it may actually still be "<ty> addrspace(k)*" where k is >> specially noted in the datalayout. >>
2003 Oct 18
0
DID line with Adtran TA750 and T100p
Hello, I new to this, but with the help of mailing lists archives and IRC I am able to build my PBX. Thanks to all who had help me to reach till here. I am stuck at a point where I can't find the solution on mailing lists or even on IRC. I have individual 4 DID (Direct Inward Line) coming from Telco and terminating into TA 750 to FXS card. Many of them told that Phone instrument terminates
2003 Nov 09
1
vertical service codes (US standard)
Source: http://www.nanpa.com/number_resource_info/vsc_assignments.html See also: http://bugs.digium.com/bug_view_page.php?bug_id=0000071 Some (which?) of the codes below are hardcoded into Zap channels only. Is there a European equivalent for this (or ITU / IETF)? Greetings, Philipp VERTICAL SERVICE CODES (US Standard) ASSIGNMENTS *00 - Inward Voice Activated Services (English) *01 -