Displaying 20 results from an estimated 1000 matches similar to: "How do I pick up a trailing number in extensions.conf?"
2006 Jul 21
3
How can I create OrderItems that go in a Order?
I suspect my problem is similar to having an order and wanting to have
order items as part of the order, so I''ll explain the problem in those
more familiar terms and then explain what if anything makes my actual
situation different at the end.
In an Order lets say you have: shipping_address and a shipped bool.
OrderItem has quantity and name
So Order has_many :OrderItems, and OrderItem
2003 Jun 07
1
Extracting Numbers from MANOVA output
Hi,
Suppose I have:
> summary(manova(plank.man))
Df Pillai approx F num Df den Df Pr(>F)
plankton.new[, 1] 1 0.5267 9.8316 6 53 2.849e-07 ***
Residuals 58
---
Signif. codes: 0 `***' 0.001 `**' 0.01 `*' 0.05 `.' 0.1 ` ' 1
My understanding is the MANOVA summary returns a list.
2003 Jun 01
1
Wording of "R Installation and Administration"
Hi,
I hope I haven't got this wrong, but I don't think one needs Perl
installed if they install the "precompiled" packages for Windows right?
I'm just wondering if the first sentence in the "R Installation and
Administration" can be re-worded a bit so newbies won't get confused....
---------- Forwarded message ----------
Date: Mon, 2 Jun 2003 08:56:37 +1200
2003 Jun 10
1
Bootstraping with MANOVA
Hi,
Does anyone know what the error message mean?
> Boot2.Pillai <- function(x, ind) {
+ x <- as.matrix(x[,2:ncol(x)])
+ boot.x <- as.factor(x[ind, 1])
+ boot.man <- manova(x ~ boot.x)
+ summary(manova(boot.man))[[4]][[3]]
+ }
>
> man.res <- manova(as.matrix(pl.nosite) ~
+ as.factor(plankton.new[,1]))$residuals
> boot2.plank <-
2006 Jul 20
5
How can I make has_many prevent a delete that would lead to orphans?
e.g.
class Asset < ActiveRecord::Base
validates_presence_of :asset_number, :make, :model, :location,
:name, :serial_number
validates_numericality_of :asset_number
validates_uniqueness_of :asset_number
belongs_to :user
belongs_to :location
belongs_to :asset_type, :foreign_key => ''type_id''
end
class Location < ActiveRecord::Base
validates_presence_of :name
2006 Jul 25
4
Sorting by two fields
I have a list of TimeSheet objects from an ealier AR query, which I
can sort by the full name of the user like so:
@time_sheet_entries.sort! { |a,b| a.user.full_name <=> b.user.full_name }
I can sort by the started time like so:
@time_sheet_entries.sort! { |a,b| a.start_time <=> b.start_time }
My question is how do I do a sort so that the list is sorted primarily
by user.full_name
2005 Mar 13
2
How can I eveluate trailing numbers in extensions.conf?
Checkout
http://www.voip-info.org/wiki-Asterisk+variables
I believe that should have the answer for you.
furthermore assuming that your number is always going to be 12 digits.
exten => _NXX.,1,SetVar(mynumber=${EXTEN:0:12}) - will give you your number.
Hope this helps.
Umar
On Sun, 13 Mar 2005 09:25:11 +0100, Harald Milz <hm@seneca.muc.de> wrote:
> Hi,
>
> this
2004 Jan 16
2
Hardware for Asterisk
At 1/16/04 7:25 AM, Andrew Kohlsmith <akohlsmith-asterisk@benshaw.com>
wrote:
>That's pure bullshit -- I use software RAID *specifically* because I value
>my data. I don't want to buy two hardaware RAID controllers to have one
>sit on the shelf just in case the first dies... and if the second dies
>you're SOL because they've lasted long enough that
2005 Oct 10
4
sip register incoming call contexts?
Sorry this is a bit of a newbie question, I've been at this for a few
months and still have not quite figured this one out.
I've been able to setup one itsp (incoming calls) (sip account) with a
register line like this:
register => nnnnnnn:ppppp@sip.provider.net
-or-
register => nnnnnnn:ppppp@sip.provider.net/nnn
to come directly into an extension in the dialplan
It seems that
2010 Jun 03
3
[LLVMdev] Generating Floating point constants
Le 3 juin 2010 à 16:00, Martin Guy a écrit :
> [off list]
>
>> 0.8f get converted in 0x3FE99999A0000000 by LLVM
>
> single precision
>
>> http://babbage.cs.qc.edu/IEEE-754/Decimal.html gives:
>>
>> 0x3FE999999999999A instead and this value cannot be read back by "llc"...
>
> double precision
>
> M
Well
For float 0.8 :
2008 Jul 17
1
blktap complaining what does it mean ?
Hi,
I''m a newbie to Xen.
I installed a DomO CentOS 5.2 and several DomU (centOS, Debian and
Ubuntu). It worked very well.
Yesterday I experienced a power cut. I now experienced some problems.
For example, when I start a DomU with the "xm create whatever_I_want"
command, I get :
Using config file nnnnnnn
tap tap-10-51712 : 2 getting info
Started domain xxxxxx
and just after,
2009 Oct 07
1
Log entries with truncated service names
Hi,
Situation:
I'm seeing lots (~500k per day) of log entries like:
smbd[13939]: itlab-pc06 (::ffff:10.51.51.103) couldn't find service it261
In this case, the last character of the request is truncated - it should be
it2610
I'm seeing the same/similar issue to
http://lists.samba.org/archive/samba/2009-March/147277.html
I've dismissed this over the last few weeks as a minor
2005 Jan 29
4
format question
how can I get a float to always print two decimal places?
Thanks,
Jamie
2006 Jul 21
5
Reports in Rails
Hi,
In my rails application I want to include a reporting mechanism that will
allow the users of application to view statistics of various operations
graphically.
Does rails provide inbuilt reporting capabilities? what are different
appraoches I can follow to achieve reporting in rails?
On googling I found following as some of the options,
1.Gruff Graphs for Ruby
2.SVG
3. using Apache FOP.
2001 Apr 17
2
Stupid question: where is the Preferences box?
Good day!
I am GUI-challenged, and proud of it, but I would like a bit of help.
When I start netscape (picked from an Earthlink CD) it raises a message
box that says (this is picked from --debugmsg +text and folded for
mailing convenience):
trace:text:DrawTextExW L"Error: temporary directory E: does not exist.
Please enter a new directory in the preferences box.", 99 ,
[(0,0),(264,0)]
2002 Jun 13
1
cannot setup print in w2k on debian/samba/winwind/cups server
hi.
I am trying to get print working and have a hard time indeed...
My goal is to replace our nt4 print server with a linux/samba one as we have
problems serving printers and drivers to win2000 workstations (and I don't
want to set up a win2000 server for printing, and have the same problem
_again_ when switching to XP ;-)
The situation so far :
- Debian woody
- Samba 2.2.4-1
- Winbind
2003 Jun 08
6
Basic question on applying a function to each row of a dataframe
Hi,
I have a function foo(x,y) and a dataframe, DF, comprised of two vectors, x
& w, as follows :
x w
1 1 1
2 2 1
3 3 1
4 4 1
etc
I would like to apply the function foo to each 'pair' within DF e.g
foo(1,1), foo(2,1), foo(3,1) etc
I have tried
>apply(DF,foo)
>apply(DF[,],foo)
>apply(DF[DF$x,DF$w],foo)
However, none of the above worked. Can anyone help ?
2003 Dec 30
4
NFS error 101, again
Hi,
I've got another one... NFS error 101 with NFSROOT has been discussed a
lot, and hpa gave an answer to it which appears right. It's ENETUNREACH,
and I suspect my diskless box does not set its IP parameters right.
PXElinux is set up as follows:
label linvdr
kernel kernel-linvdr
append initrd=initrd-linvdr acpi=off root=/dev/nfs \
2010 Jun 03
0
[LLVMdev] Generating Floating point constants
On Jun 3, 2010, at 7:05 AMPDT, Stéphane Letz wrote:
> Le 3 juin 2010 à 16:00, Martin Guy a écrit :
>
>> [off list]
>>
>>> 0.8f get converted in 0x3FE99999A0000000 by LLVM
>>
>> single precision
>>
>>> http://babbage.cs.qc.edu/IEEE-754/Decimal.html gives:
>>>
>>> 0x3FE999999999999A instead and this value cannot be read back
2010 Jun 03
1
[LLVMdev] Generating Floating point constants
> ------------------------------
>
> Message: 4
> Date: Wed, 2 Jun 2010 11:07:39 -0700
> From: Dale Johannesen <dalej at apple.com>
> Subject: Re: [LLVMdev] Generating Floating point constants
> To: St?phane Letz <letz at free.fr>
> Cc: llvmdev at cs.uiuc.edu
> Message-ID: <AEC895CC-E887-4329-8743-FA606BD401F6 at apple.com>
> Content-Type: