Displaying 20 results from an estimated 128 matches for "farmer".
Did you mean:
farber
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 Bessie 2
Sheep Fred 6
What''s the best way to do this in rails? I...
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 Farmer.find(:first).cows I get the correct cow order.
If I do Farmer.find(:first, :include => ''cows'')...
2011 Jan 16
4
persistence by reachability
Hello guys, I have these models
class Farmer < ActiveRecord::Base
has_many :cows
end
class Cow < ActiveRecord::Base
set_table_name :cows
belongs_to :farmer
end
...
graph = Farmer.find(x) # Retrieves four cows of x
graph.cows[1].name = "Trottolina"
graph.save
while adding a new cow to collection wo...
2010 Sep 16
5
AGI Delimiter in 1.6
...as the AUTH line is also comma
delimited. Thus the AGI sees the AUTH as extra arguments instead of a
single argument. As the AUTH may contain varying number of arguments I
need a new way for a my AGI to access this data.
Does anyone have any ideas how I might go about this?
Regards
Jon
--
Jon Farmer
Tel 07795 118140
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 (not even a general context)
> > - would that likely cause issues? I would expect the defa...
2007 Apr 05
0
Help: Ticket farmers
Hi all,
Now that it looks like we have some kind of process to manage
tickets, I need people to help me with that process.
There are currently something like 117 open tickets, and there are
about 6 different dimensions on which these tickets can be
categorized (e.g., complexity, triage stage -- all the report times
listed on the Reports page).
My plan is to work my fingers raw going
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 traffic leaving the server. I have
> > ensured that there is a DNS record for the ser...
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 on the module
> it may not be using /etc/hosts. You can also increase debug (debug to
> console in logger.conf and core set debug 9) an...
2010 Dec 15
5
Allegations regarding OpenBSD IPSEC
Some of you probably already read this:
http://marc.info/?l=openbsd-tech&m=129236621626462&w=2
Interesting...I wonder what is the impact of all this on FreeBSD code.
We may very well suppose that any government or corporation funded code
can theoretically have some kind of backdoor inside.
--Andy
2019 Apr 04
2
PJSIP Delay in Dialing
...neral 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 at digium.com> wrote:
> On Thu, Apr 4, 2019, at 11:18 AM, Mark Farmer wrote:
> > Seems to be res_resolver_unbound.so
> > Reading the documentation now but any hints greatly appreciated!
>
> The general section of the resolver_unbound.conf file has various options,
> including for using the /etc/hosts file. Per my previous email though if
> you...
2019 Jun 14
2
Early Media Issue
...ink are relevant (I'm using chan_sip):
(sip.conf)
ignoresdpversion=yes
internal_timing=yes
progressinband=never
silencesuppression=no
prematuremedia=no
(Per peer)
progressinband=yes
directrtpsetup=no
dtmfmode=rfc2833
directmedia=no
silencesuppression=no
prematuremedia=no
TIA
Mark.
--
Mark Farmer
farmorg at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20190614/4d36bd8a/attachment.html>
2011 Jul 12
2
Deviance of zeroinfl/hurdle models
...omething that is easy enough to program or compute using
existing packages...
Thanks in advance,
Carson
[1] Cameron, A.C., Windmeijer, F.A.G., 1996. R^2 measures for count
data regression models with applications to health-care utilization.
J. Bus. Econom. Statist. 14, 209?220
--
Carson J. Q. Farmer
ISSP Doctoral Fellow
National Centre for Geocomputation
National University of Ireland, Maynooth,
http://www.carsonfarmer.com/
2006 Apr 11
1
Question on clicking
...terisk question, more of a telco question. Hopefully
someone on this list involved with telco can answer it.
I have a client who is using asterisk with analog phone lines. There
is a bad clicking noise on the line. "Click.... Click.... Click".
We have narrowed it down to being the farmer's fencer next door. (And
by next door I mean 2 acres away). Who's problem is this to fix?
Famers? - His fencer is causing telecommunications interfearence.
Verizons? - Their phone network doesn't seem to be properly isolated.
The Company? - The problem is at their location.
The pro...
2005 May 25
15
PHP/AGI Problem
...look in the server process list the
PHP app is still running.
ps -ax
...
8029 ? S 0:00 /usr/bin/php -q
/usr/share/asterisk/agi-bin/test.php
They only way to get rid of it is to killall -9 it.
Any ideas how I can get asterisk to kill the script if
the caller hangs up?
Regards
Jon Farmer
___________________________________________________________
How much free photo storage do you get? Store your holiday
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
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 lo...
2006 Jan 12
12
Ajax Button Back function?
Hi Folks! I''m new in the forum and i have a doubt. The button back
function with the Ajax on Rails? tks.
--
Posted via http://www.ruby-forum.com/.
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 / Web: intercity.technology
For a list of our accreditations and frameworks please visit: intercity.technology/accreditations
Notice & Disclaimer: This email (i...
2010 Jun 17
1
plotting radial dendrograms
...as.dendrogram(result)
where merges is as above, and membership is:
> membership
[1] 0 0 0 0 0 2 2 2 2 2 1 1 1 1 1
Any thoughts on how to convert a dendrogram object to an hclust or
phylo object, or barring that, another way to plot a radial dendrogam
in R?
Regards,
Carson
--
Carson J. Q. Farmer
ISSP Doctoral Fellow
National Centre for Geocomputation
National University of Ireland, Maynooth,
http://www.carsonfarmer.com/
2006 Apr 05
5
Dial Plan Logic Problem
...en => s,7,Goto(huntgroups,0,1)
exten => t,1,GotoIf($[${LOOPER} < 4]?mainmenu,s,2)
exten => t,2,Hangup
exten => i,1,Goto(mainmenu,s,1)
exten => 1,1,Goto(sales,s,1)
exten => 2,1,Goto(finance,s,1)
exten => 0,1,Goto(huntgroups,0,1)
exten => #,1,Goto(mainmenu,s,1)
Jon Farmer
Telford, Shropshire, UK
___________________________________________________________
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com
2006 Jan 09
3
Selecting a subset of a table with DRY
...a listing viewable, call it
viewable_sql, and then put that where appropriate. However, I''d like
find_viewable to work just like find, except that it would modify the
parameters to find to incorporate those conditions.
Any thoughts or examples of something similar?
Thanks.
--
Jesse Farmer <farmerje@uchicago.edu>
University of Chicago - NSIT Web Services
AIM: farmerje
Jabber: farmerje@im.uchicago.edu
Phone: (773)363-1058