search for: thus

Displaying 20 results from an estimated 21123 matches for "thus".

Did you mean: this
2007 Dec 10
5
Neat conditional assignment
...e a new vector with values taken from two existing vectors conditional upon a third. At present I am doing this with a for loop but wonder if there is not a neater way, given some of the very neat things R can do. a<-rep(c("A","B"),50) b<-rep(1,100) c<-rep(2,100) a is thus "A" "B" "A" "B" "A" "B"... b is thus 1 1 1 1 1 1 ... c is thus 2 2 2 2 2 2 ... I want d[i] to be b[i] if a[i]=="A" and c[i] if a[i]=="B". I'm current using a for loop: d<-rep(0,100) # initialise d for(i in...
2006 Oct 27
7
[Bug 1255] Solaris contract support has a problem
...lem Product: Portable OpenSSH Version: 4.4p1 Platform: All OS/Version: Solaris Status: NEW Severity: normal Priority: P2 Component: sshd AssignedTo: bitbucket at mindrot.org ReportedBy: andrew.benham at thus.net Built 4.4p1 with Solaris contract support on Solaris 10 - both x86 and sparc Problem can be shown with: Create two ssh connections to a Solaris 10 machine running this code. In the first connection, do "tail -f /var/adm/messages" In the second connection, kill the 'tail'...
2012 Jun 14
1
matrix manipulation
...>From the original matrix A, I'd like to generate a new matrix B satisfing 1) B is initially set to be equal to A, and then 2) Each row of B is a weighted sum of rows of A 3) The weight is given by the number of common 1 shared by the rows. For row 1: it has one common 1 with row 2, thus the weight is 1; it has zero common 1 with row 3, thus the weight is 0; For row 2: it has one common 1 with row 1, thus the weight is 1; it has one common 1 with row 3, thus the weight is 1; For row 3: it has zero common 1 with row 1, thus the weight is 0; it...
2009 Dec 17
2
Integrate a CPE with Asterisk in MGCP
...202020202-1) on aaln/1 at 020202020202-1 -- Executing Dial("MGCP/aaln/1 at 020202020202-1", "SIP/mgcp-out/0xxxxxxxx") in new stack -- Called mgcp-out/0xxxxxxxxxx Dec 17 18:34:47 NOTICE[17889]: chan_mgcp.c:1656 find_subchannel_and_lock: Gateway '020202020202' (and thus its endpoint 'virtual/nat-timeout') does not exist -- SIP/mgcp-out-09d998c0 is making progress passing it to MGCP/aaln/1 at 020202020202-1 Dec 17 18:34:48 WARNING[17932]: chan_mgcp.c:1375 mgcp_indicate: Don't know how to indicate condition 14 -- SIP/mgcp-out-09d998c0 answered MG...
2003 Sep 24
3
Dlink DG-104S (chan_mgcp) and configuration w/Asterisk
...2427 bindaddr = 0.0.0.0 [dlinkgw] host = 172.16.1.42 context = default line => aaln/1 line => aaln/2 line => aaln/3 line => aaln/4 But I'm getting errors spew'ing on the * console: NOTICE[8201]: File chan_mgcp.c, Line 1099 (find_subchannel): Gateway '172.16.1.42' (and thus its endpoint 'aaln/1') does not exist NOTICE[8201]: File chan_mgcp.c, Line 1099 (find_subchannel): Gateway '172.16.1.42' (and thus its endpoint 'aaln/3') does not exist NOTICE[8201]: File chan_mgcp.c, Line 1099 (find_subchannel): Gateway '172.16.1.42' (and thus its e...
2007 Dec 18
9
Scatterplot Showing All Points
...", ylab="etc") it seems that the overlap of points is not shown in the graph. Namely, there are 5,000 points that should be plotted, as I mentioned above, but because so many of the points overlap with each other exactly, only about 50-60 points are actually plotted on the graph. Thus, there's no indication that Point A shares its coordinates with 200 other pieces of data and thus is very common while Point B doesn't share its coordinates with any other pieces of data and thus isn't common at all. Is there anyway to indicate the frequency of such points on such a gr...
2008 May 26
0
[ wxruby-Feature Requests-20367 ] wxToolBarTool (wxToolBarToolBase) missing, thus anti-OO
...an respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=221&aid=20367&group_id=35 Category: Missing class(es) Group: None Status: Open Priority: 3 Submitted By: Pascal Hurni (phi) Assigned to: Kevin Smith (qualitycode) Summary: wxToolBarTool (wxToolBarToolBase) missing, thus anti-OO Initial Comment: The fact that WxToolBarTool is missing (these object represent a tool in a toolbar) makes it anti-OO and thus less rubyesque to manage toolbars. Toolbars are the last component (as I''v seen) that requires concrete ID''s. This is a pain to handle in ruby....
2005 Jan 30
0
Re: Dovecot doesn't call pam_open_session, thus dodging
...ake life a little easier for us rpm'ers) -- Chris L. Franklin -- ----- Original Message ----- From: "Chris L. Franklin" <cfranklin at nomadcf.com> To: <dovecot at dovecot.org> Sent: Sunday, January 30, 2005 1:49 PM Subject: RE: Dovecot doesn't call pam_open_session, thus dodging > This is great I've been wanting to get rid of my NFS mounts for some time and have just the user MailDirs be local to the web server. And this will help alot ! > > -- Chris L. Franklin -- > >> Message: 1 >> Date: Thu, 27 Jan 2005 16:08:28 -0700 >> Fro...
2011 Nov 08
1
Bug#648029: patch for Bug#648029 xen-toolstack (and thus xm) works with bash, but not dash
tags 648029 +patch thanks Here's a patch for bug #648029 "/usr/lib/xen-common/bin/xen-toolstack (and thus /usr/sbin/xm) works with bash, but not with dash". Works for me, tested with dash and bash. -------------- next part -------------- A non-text attachment was scrubbed... Name: 648029.patch Type: text/x-diff Size: 611 bytes Desc: not available URL: <http://lists.alioth.debian.org/pipermail/...
2005 Feb 25
3
main effect & interaction in 2-way ANOVA
...rence mean? I understand that main effect for A generally means averaging over levels of B, is this explanation for the situation when interaction is included or is not included or is irrelavant? And if my interest is in the main effect of A, in the above senario, should I include the interaction (thus lose the significance) or not include the interaction (thus keep my significance)? Thanks!
2011 Jan 25
4
Subtracting elements of data.frame
...1 101 5 11 189 # Actually I am having dataframe having multiple columns. I am just giving an example. I need to subtract all the rows of df by the first row of df i.e. I need to subtract each element of 'x' column by 1. Likewise I need to subtract all elements of column 'y' by 11. Thus I need an output like > df_new    x   y 1  0   0 2 13 398 3  2 -62 4 20  -1 5 10  87 As I had mentioned above, I have number of columns in reality and thus I can't use the command say df_new = data.frame(x = df$x-df$x[1], y = df$y-df$y[1]) Kindly guide Thanking you all in advance Rega...
2015 Jul 23
3
rsyslog.conf
...t;> >>-- >>LF > > > Perhaps I should say instead that it "strongly encourages" top posting, > and all our internal emails follow that convention. > > It's habit-forming.... :-) > Well, my habit for regular e-mail exchange is "top posting" thus the person reads my message thus is right to the point why this particular message message was sent in a first place... But when mail lists are concerned, I do an opposite, that is I follow mail lists conventions. I never thought about rationale behind them, I'm just following them. I believe,...
2007 Dec 18
2
Asterisk/iaxclient IAX2 source port
...0.0.0:4569 and it works as expected. But if I try to set it to: proper.ip.of.box:5000 or 0.0.0.0:5000 it fails around line 8536 in channels/chan_iax2.c, function peer_set_srcaddr, specifically: if (ast_netsock_find(netsock, &sin)) { always returns false unless the port is set to 4569. Thus tripping the error message: chan_iax2.c:8940 peer_set_srcaddr: Non-local or unbound address specified (0.0.0.0:5000) in sourceaddress for 'test-trunk', reverting to default Is there any way to get asterisk to listen for inbound connections on 4569, but to use a non-4569 source port? (...
2003 Jun 28
1
IAX2 trunking: codec bandwidth comparison notes and results
...he same destination is to use IAX2 (Inter-Asterisk eXchange version 2) in "trunk" mode, which eliminates IP overhead to a large degree. This trunking eliminates the IP overhead found in individual VoIP IP streams by pipelining RTP data from multiple calls into single (larger) packets, thus removing the redundancy of IP overhead for each RTP stream and more closely allowing bandwidth scaling as a function of codec usage instead of a function of (codec usage + IP overhead.) Of course, this mode can only be used if all the calls are between two specific Asterisk servers, but this i...
2003 Dec 08
5
Multiple Asterisk servers sharing/propagating registry ?
Dear all, I'd like to know if there is a way for multiple asterisk servers to share a common SIP and/or IAX registry. The setup I imagine would be something like : - several asterisk servers called sip1.isp.com, sip2.isp.com, ... - a DNS alias sip.isp.com pointing to all the addresses (thus providing a round robin resolution on each server) - each SIP client would register with sip.isp.com (thus ending on a random asterisk servers) - but after that, all the servers would be "aware" of the registration. Thus any asterisk server would know how to route a call to SIP/&l...
2017 Oct 20
3
Why dup()?
I've been using ssh without it duping stdout and stderr, and had no problems.? I think this change should be made to the master source. WHAT IS THE PROBLEM WITH SSH RIGHT NOW? It duplicates FILENO_STDOUT and FILENO_STDERR, thus there are two descriptors for each of these files.? When the remote program closes its stdout or stderr, the remote sshd sends the appropriate message to the local ssh, which responds by closing the corresponding (duplicate) descriptor, but it ignores the original descriptor, thus that file re...
2006 Apr 04
4
Membership Management System Plugin/Gem?
Hi, I''m looking to create an online internet community for managing user profiles and other data. Thus, I would need that has the following features: o authentication - protect individual member pages/directories o session management o retrieve and reset passwords In short, I''m looking to create an online community. Thus, can someone direct me to a plugin(s) for completing this...
2004 Aug 06
3
install instructions for iceS on i.cantcode.com
hello, liveice just won't work for me anymore, it crashes and thus I won't waste my time on it anymore. thus, what's the url with the install instructions for iceS. If I'm not mistaken, it was somewhere hidden on i.cantcode.com? thanks, t. --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.or...
2017 Nov 03
2
[PATCH] diff: avoid potential null pointer dereference on error
If visit_guest() fails, then it returns a null pointer; later on, free_tree() is called unconditionally on the variables, thus dereferencing null pointers. Thus guard the free_tree() invocations. --- diff/diff.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/diff/diff.c b/diff/diff.c index 5851a1c9c..1f1ab6933 100644 --- a/diff/diff.c +++ b/diff/diff.c @@ -389,8 +389,10 @@ main (int argc, char...
2009 Jul 09
2
Lattice xyplot: same scales within one factor
I am using R 2.8.1 and lattice to produce xyplots conditioned on two factors. What I would like is to have the scales be free between values of one factor, but some within. Thus, in the example: xyplot(mpg ~ disp | factor(gear) + factor(cyl), mtcars, scales=list(x=list(relation="free"))) rather than having the x scales be free within a gear as well, I want it to be the same for the gear, but free between cyl (and thus only have x scales below the bottom...