Displaying 20 results from an estimated 900 matches similar to: "persistence by reachability"
2006 Jul 02
2
:include breaks has_many :order
It would appear that using :include on a model that has_many with an
:order on another model makes it so that the order is ignored. Is this
supposed to happen? Strikes me as odd behavior.
For example
class Farmer < ActiveRecord::Base
has_many :cows, :order => ''position''
end
class Cow < ActiveRecord::Base
acts_as_list :scope => :farmer
end
If I do
2006 Mar 08
12
best way to combine results from two tables
I want to combine a selection of data from two tables and display it as
list. Note that this isn''t a join.
i''m looking for something like this:
Table 1: Sheep
Name, Age, Farmer, etc. (sheep specific columns)
Table 2: Cows:
Name, Age, Farmer, etc. (cow specific columns)
For my display I nneed something like this:
Farmer Jone''s Livestock:
TYPE NAME AGE
Cow
2019 Apr 04
2
PJSIP Delay in Dialing
Thanks Joshua.
Hopefully I'll be able to retry tomorrow.
On Thu, 4 Apr 2019 at 15:30, Joshua C. Colp <jcolp at digium.com> wrote:
> On Thu, Apr 4, 2019, at 11:27 AM, Mark Farmer wrote:
> > Thanks, I did enable debugging but didn't see any attempts to resolve
> > hostnames. I will give it another look.
> >
> > I did have an empty resolver_unbound.conf
2019 Jun 27
5
[RFC] ASM Goto With Output Constraints
[Adding the correct cfe-dev mailing list address.]
On Thu, Jun 27, 2019 at 11:06 AM Bill Wendling <isanbard at gmail.com> wrote:
> Now that ASM goto support has landed, Nick Desaulniers and I wrote up a
> document describing how to expand clang's implementation of ASM goto to
> support output constraints. The work *should* be straight-forward, but as
> always will need to
2019 Apr 04
2
PJSIP Delay in Dialing
Sorry, should have included that.
Asterisk 16.2.1
Mark.
On Thu, 4 Apr 2019 at 14:56, Joshua C. Colp <jcolp at digium.com> wrote:
> On Thu, Apr 4, 2019, at 10:53 AM, Mark Farmer wrote:
> > As I understand it, delays like this are almost always caused by slow
> > or failing DNS lookups. Running a packet capture on all interfaces
> > filtering on port 53 shows no DNS
2019 Apr 04
2
PJSIP Delay in Dialing
Seems to be res_resolver_unbound.so
Reading the documentation now but any hints greatly appreciated!
Mark.
On Thu, 4 Apr 2019 at 15:07, Joshua C. Colp <jcolp at digium.com> wrote:
> On Thu, Apr 4, 2019, at 11:03 AM, Mark Farmer wrote:
> > Sorry, should have included that.
> >
> > Asterisk 16.2.1
>
> And what res_resolver module is loaded and in use? Depending
2019 Apr 04
2
PJSIP Delay in Dialing
Thanks, I did enable debugging but didn't see any attempts to resolve
hostnames. I will give it another look.
I did have an empty resolver_unbound.conf (not even a general context) -
would that likely cause issues? I would expect the defaults to kick in but
I have now added:
[general]
hosts=system
I will retest/debug when ASAP.
Mark.
On Thu, 4 Apr 2019 at 15:20, Joshua C. Colp <jcolp
2011 Jul 12
2
Deviance of zeroinfl/hurdle models
Dear list, I'm wondering if anyone can help me calculate the deviance
of either a zeroinfl or hurdle model from package pscl?
Even if someone could point me to the correct formula for calculating
the deviance, I could do the rest on my own.
I am trying to calculate a pseudo-R-squared measure based on the
R^{2}_{DEV} of [1], so I need to be able to calculate the deviance of
the full and null
2010 Sep 16
5
AGI Delimiter in 1.6
Hi
I am currently using 1.2.x and 1.4.x behind OpenSER. One of the things
I do on INVITES is to re-authenticate the user from OpenSER. Then when
the INVITE gets passed to Asterisk I capture the AUTH to a variable in
the dialplan and pass to an AGI script. I am now trying to set the
same thing up in 1.6 However because the argument delimter in 1.6 has
changed from pipe to comma this breaks as the
2019 Apr 05
2
PJSIP Delay in Dialing
On Fri, Apr 5, 2019, at 8:07 AM, Mark Farmer wrote:
> Hi. Sadly I'm still struggling with this. I've captured the debug output.
> I also upgraded to 16.3.0 this morning.
>
> https://pastebin.com/raw/HxbX0uXt
This doesn't really give enough context to be able to really say anything. The SIP traffic, "pjsip set logger on", and normal verbose information mixed in
2019 Jun 14
2
Early Media Issue
Hi all
I've got an issue where when I call a number that just plays early media
back to me.
Instead of hearing the full sequence of tones I hear a short ringing then
part of the sequence. What seems odd is that I can see
the telephone-event/8000 being passed up the chain but when it gets to
Asterisk, it is never sent back to the phone. Instead I just see the usual
RTP flows.
I've been
2015 May 26
8
Weak DH primes and openssh
On Tue 2015-05-26 14:02:07 -0400, Hubert Kario wrote:
> On Tuesday 26 May 2015 13:43:13 Daniel Kahn Gillmor wrote:
>> On Tue 2015-05-26 12:57:05 -0400, Hubert Kario wrote:
>> > creating composites that will pass even 100000 rounds of Miller-Rabin is
>> > relatively simple....
>> > (assuming the values for M-R tests are picked randomly)
>>
>> Can you
2019 Apr 02
2
PJSIP/SIPAddHeader etc
Hi everyone
I’m building an Asterisk 16/PJSIP server and my dialplan uses SIPAddHeader & SIPRemoveHeader but the apps don’t appear to be installed in v16.
Can anyone tell me where they went and how to get them installed please?
Thanks
Mark.
Mark Farmer
Senior UC Systems Architect
Intercity Technology Limited
HQ 101-114 Holloway Head, Birmingham, B1 1QP
Tel: 0330 332 7933 / 07872542107 /
2010 Jun 17
1
plotting radial dendrograms
Dear list,
I am trying to plot a radial dendrogram using the ape package, which
requires my data to be of class 'phylo'. Currently I have my
dendrogram stored as an object of class 'dendrogram' which was
produced from an outside bit of C code, but was made into an object of
class 'igraph.eigenc' and converted to a dendrogram using
'as.dendrogram()' from the igraph
2007 May 11
1
centos5 cifs/autofs
Hi all
I am trying to use the cifs module to mount a share from a win2k3
server but I am getting the following error in /var/log/messages - the
filesystem does mount but i'm having other issues accessing the data
from our web based app.
Can anyone explain why I get this error please? Indeed the file
mount_cifs.so does not exist on the machine.
automount[31080]: open_mount: (mount):cannot
2006 Apr 12
1
Call Forward and AGI
Hi
i have a agi script that gets called when a user wants to dialout
externally. it gets passed in the exten number and the number dialled
and looks up in a db to see if they are allowed to dial the number. the
problem is if someone forwards their phone to a external number the
CALLERIDNUM is the CLID of the calling party not the extension forwarded
thus the call is denied. Can anyone think of a
2007 Jun 28
1
Avaya IP Office DTMF Issue
Hi
I have a client using a Avaya IP Office PBX that is taking a SIP trunk
from me terminating on a * box. It all works perfectly apart from DTMF.
Although you can hear the tones they don't seem to get recognised. I
have tried DTMF mode auto, inband, out of band and rfc2833 but no luck.
Any ideas?
Regards
Jon
--
Jon Farmer
Telford, Shropshire, UK
2007 Mar 16
1
Complex superscript plot text
Hi all:
I would like to create a line of plot margin text (using mtext() ) that
features both a superscript and a subset of an object. However, I
cannot seem to do both things at once, nor have I found a way to paste
the two results together.
(I pull the object subset because this is part of a for-next loop to
make multiple graphs)
This example doesn't give me what I want from mtext():
2006 Apr 05
5
Dial Plan Logic Problem
Hi
I can't for the life of me work out why this is not
working. When in the campon contect if you hit a DTMF
key 2 you get moved to the exten => 2 defined in the
mainmenu context not the exten => 2 defined in the
campon context. What is wrong? The same happens if you
hit key 1.
[campon]
exten => _*1XXX,1,Answer
exten => _*1XXX,2,SetCallerID(${CALLERIDNUM})
exten =>
2008 Apr 23
1
ccf and covariance
Hi.
It's my understanding that a cross-correlation function of vectors x
and y at lag zero is equivalent to their correlation (or covariance,
depending on how the ccf is defined).
If this is true, could somebody please explain why I get an
inconsistent result between cov() and ccf(type = "covariance"), but a
consistent result between cor() and ccf(type = "correlation")?
Or