Displaying 20 results from an estimated 1000 matches similar to: "Learning ruby question"
2011 May 07
3
how to not match partial names
Dear friends,
How do I stop partial matching of list names?
e.g.,
x <- list(AAAA="aaaaa", BBBBB="bbbbb")
is.null(x$A) #returns FALSE even though there is no element A.
if(is.null(x$A)) {result <- x$BBBB} else {result <- x$A}
result #is aaaa even though there is no x$A element
x <- list(CCCC="aaaaa", BBBBB="bbbbb")
if(is.null(x$A))
2012 Sep 29
1
Error during decryption of meta key
Hi,
I've got a relatively simple tinc setup.
I've got two "servers" that are on the public internet that act as
routers for three "clients" that are behind NATs.
Those servers are called aaaaa and bbbbb the clients are xxxxx, yyyyy and zzzzz
Unfortunatly the servers have problems accepting a connection from the clients
syslog on aaaaa:
Sep 29 18:28:58 schuerrer
2015 Feb 13
4
Centos 6 Sendmail backup MX Config
Hi All,
I'm just wanting to check that my understanding of the settings is
correct as my web searches are finding a lot of dated information.
If I want a Centos 6 sendmail system act as the secondary MX for domain
bbbbb.co.uk do I just add a
Connect:bbbbb.co.uk RELAY
statement into /etc/mail/access and restart sendmail
Obviously I have the DNS MX records for the domain are
2015 Oct 24
4
ADUC - "UNIX Attributes" tab - "Unwilling To Perform"
Thanks Rowland - appreciated.
I have checked the ldbsearch result and both groups look to be pretty
much exactly the same to me, one of them is shown below (I have
sanitised some of the output, replacing parts with 123/a/b/c, but the
rest of the output is byte for byte as seen)
In the time between posting my original message and checking again
just now, however, I have the following additional
2009 Feb 24
2
Multiple SIPGate accounts.
Hi all,
I have two sipgate accounts (numbers), if I have both accounts register only
one will work for incoming calls (which is all i'm interested in). However
if I disable either account the other account will work perfectly. Am I
missing something obvious?
Thanks in advance,
Ray.
Excerpts from sip.conf -
[general]
8<---- SNIP! ---->8
Register => 1212121:aaaaaaaa at
2011 Dec 06
1
RStudio: copied line is always not the same as the line that I highlighted
Hi all,
I am using RStudio. I wanted to copy and past an expression/line.
I highlighted it, and then copied and pasted:
The result was not the line that I wanted, instead, it was the line above...
For example:
I have three lines:
aaaaa
bbbbb
ccccc
....
I highlighted "bbbbb" and copied, but the pasted outcome was "aaaaa"...
What happened?
Thanks al ot!
[[alternative
2017 Jun 26
3
Request for help - adding text files to a data frame
Hello Everyone,
I have a data frame which looks something like this:
V1 <-c(1,2,3)
V2 <-c(5,6,7)
V3 <-c(9,10,11)
df <- data.frame(V1,V2,V3)
I want to add couple of text files at the beginning of df and save
the df as a csv file.
The csv file should look something like this:
"AAAAAAAA"
"BBBBBBBBB"
"CCCCCCCCC"
V1 V2 V3
1 5 9
2
2007 Jul 22
11
Many same managed domain
Hi,
When I tested xm new command without uuid parameter repeatedly,
I saw many same managed domain as follows.
# xm list
Name ID Mem VCPUs State Time(s)
Domain-0 0 941 2 r----- 51.9
# xm new /xen/vm1.conf
Using config file "/xen/vm1.conf".
# xm new /xen/vm1.conf
Using config file
2014 Feb 20
2
Hacking attempt, Asterisk 1.4
Hi all
We have an Asterisk server that?s been running for a few years now without
problems. We have IPTables running, as well as fail2ban and have followed
all the security recommendations we have found.
Every few weeks we get an attack that lasts about a minute or two, resulting
in our AGI script being overloaded.
What happens is that somebody seems to be trying to connect from our
2009 Jun 16
1
overshoot of formula line in summary output of Sweave
Hi,
In the Sweave output for summary for several types
of model objects and also for the comparison of models
with anova, I find that that the display of the call(s)
or formula does not obey the width option, even with
keep.source=TRUE set, so that a long formula will overshoot
the margins in the document. I would like to know if
there is a good way to correct that. Looking at the
print.summary
2011 Jan 30
2
bit wise operation on long bit vector?
Hi
Is there any function to do bitwise or/and/xor on long bit vectors?
"aaaaa"
"0000000000000000000000000000000000000000000000000000000000000000......................"
"bbbbb"
"0000000000000000000000000000001000000000000100000000100000001100......................"
"ccccc"
2004 Jan 14
4
Multiple phonenumbers on one E1 PRI with Digium TE410P ?
Hi,
one short question: Is it possible for the zaptel driver to deal with
multiple phone numbers on one single E1 PRI line?
I could make my carrier route +49 xxx aaaaa-zzz and +49 xxx bbbbb-zzz
and others down one single PRI trunk to our asterisk box terminating in
a Digium TE410P.
Does the driver handle this and can I put calls coming in all on the
same physical interface put into
2009 Jun 02
2
reference counting bug: overwriting for loop 'seq' variable
It looks like the 'seq' variable to 'for' can be altered from
within the loop, leading to incorrect answers. E.g., in
the following I'd expect 'sum' to be 1+2=3, but R 2.10.0
(svn 48686) gives 44.5.
> x = c(1,2); sum = 0; for (i in x) { x[i+1] = i + 42.5; sum = sum +
i }; sum
[1] 44.5
or, with a debugging cat()s,
> x = c(1,2); sum = 0; for (i in x) {
2003 Oct 26
3
Best way to filter "Nachi pings"?
We're being ping-flooded by the Nachi worm, which probes subnets for
systems to attack by sending 92-byte ping packets. Unfortunately,
IPFW doesn't seem to have the ability to filter packets by length.
Assuming that I stick with IPFW, what's the best way to stem the
tide?
--Brett Glass
2016 Sep 09
5
drs showrepl - Failed to bind to UUID - Undetermined error
Hi Guys,
I have now updated to 4.5.0 - thank you to all the team for your efforts on
this :)
I was excited to read in the release notes that there were many replication
improvements, and I have run 'samba-tool dbcheck --cross-ncs --fix' on all
my DCs; there were many, many replPropertyMetaData and other errors which
have now been found and fixed - thanks!
However, I think something
2015 Feb 13
0
Centos 6 Sendmail backup MX Config
On Fri, Feb 13, 2015 at 9:57 AM, Ken Smith <kens at kensnet.org> wrote:
> Hi All,
>
> I'm just wanting to check that my understanding of the settings is correct
> as my web searches are finding a lot of dated information.
>
> If I want a Centos 6 sendmail system act as the secondary MX for domain
> bbbbb.co.uk do I just add a
>
> Connect:bbbbb.co.uk
2015 Feb 15
0
Centos 6 Sendmail backup MX Config
On Fri, February 13, 2015 10:57, Ken Smith wrote:
> Hi All,
>
> I'm just wanting to check that my understanding of the settings is
> correct as my web searches are finding a lot of dated information.
>
> If I want a Centos 6 sendmail system act as the secondary MX for
> domain
> bbbbb.co.uk do I just add a
>
> Connect:bbbbb.co.uk RELAY
>
>
2002 Aug 22
1
Error: object is not a matrix
Hi,
I have encountered the following error, when using 'aov', which I think
has something to do with the length of my call to 'aov', and I cannot
understand why:
Error in model.frame.default(formula = Y2 ~ P2 + P2:AAAAAAAA +
P2:B2 + :
object is not a matrix
The error occurs when I run the first sequence below, but not the
second. The two sequences are based on the SAME
2009 May 04
1
Syncronization in rails
Hello,
Here is the logic that I am trying to achieve. I have a User Model and
the business rule is that user can accept maximum 5 friends requests.
for this I have an accept method in User Model which looks similar to
below code snippet
def accept(friend)
raise ArgumentError if self.friends.count >= MAX_FRIENDS_ALLOWED
...
...
#code to add friend to friends list
end
As you
2015 Oct 28
1
Strange problem with MS Office while saving
Hi all,
I sometime have a strange behavior when using MS Office and saving
files.
First things first:
- OS CentOS 6.7 x86_64
- SAMBA version 3.6.23, configured as member server (see [1] for full
configuration)
- inotifywait watching my shares to replicate them off-site
- about 100 W7/W8 clients with MS Office 2010
Using inotifywait, I tracked how MS Office file save function works.
Basically,