Displaying 20 results from an estimated 10000 matches similar to: "ambiguous nested conditions on find"
2010 May 19
1
sample and rearrange
Dear Wu Gong and Peter Ehlers,
thank you very much for your help debugging my script.
Now I have a general following up question:
Is there a straightforward way to rearrange the following dataset so
that all first letters of each column will be combined in one column,
all the second letters in a second column, all the third ones in a
third column and so on, resulting in 7 columns,
i.e. for
2015 May 21
2
IPv6 subnet routing
I've been trying out IPv6 networking with tinc and noticed that it will not
route smaller segments than /48
If I try to run ip -6 route add aaaa:bbbb:cccc:dddd::/64 dev tun0 I get
network unreachable
However if I run ip -6 route add aaaa:bbbb:cccc::/48 dev tun0 it works fine
Is this is a limitation in tinc or the kernel network stack itself?
-------------- next part --------------
An HTML
2007 Feb 04
1
Error : Doing a node status request to the domain master browser at IP aaaa.bbbb.cccc.dddd failed
I've the following error : Doing a node status request to the domain
master browser at IP aaaa.bbbb.cccc.dddd failed
First time I configure my smb.conf file on a server with the adress
aaaa.bbbb.cccc.dddd
For some raison I have to change this address for another.
When I restart samba I the message :
nmbd/nmbd_browsesync.c:get_domain_master_name_node_status_fail(486)
2010 Dec 30
2
remove newlines / perl /concise example
Thanks for the previous tips and suggestions. Here's a more concise
example:
Input file:
<aaaa>
<bbbb>
<cccc>
<dddd>
I want everything on one line, i.e., remove all newlines. Like so:
<aaaa><bbbb><cccc><dddd>
Simple perl code:
#!/usr/bin/env perl
# Remove newlines from a file in two ways:
# (1) Just "chomp" them;
# (2) Replace
2015 May 21
2
IPv6 subnet routing
I have 2 nodes nodeA and nodeB
I'm using tinc 1.1pre11
-- nodeA(fd80:2015:2105:abcd::1) :
$ ip -6 route
fd80:2015:2105:abcd::1 dev tun0 proto kernel metric 256
fd80:2015:2105:adcd::/64 dev tun0 metric 1024
fe80::/64 dev eth0 proto kernel metric 256
$ ping6 fd80:2015:2105:abcd::1
PING fd80:2015:2105:abcd::1(fd80:2015:2105:abcd::1) 56 data bytes
64 bytes from fd80:2015:2105:abcd::1:
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))
2007 Oct 10
1
form builder
hi,
I''m creating a custom form_builder and
i''m trying to figure out how would helpers like text_field know if
the field has an error message so I can highlight it and show the
message text
thanks
linoj
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To
2012 Jun 01
4
Adding a column into the file
Dear all,
I have a lot of problems on R-programming.
for example
my csv. file is ..
Date wrfRH wrfsolar wrfwindspeed wrfrain wrftd wrfta
21/10/2010 92.97 22.11 53.27 0 1546.337861 61.00852664
22/10/2010 87.35 21.99 40.89 0 1300.408288 62.85352227
23/10/2010 88.38 21.71 28.04 0.01 1381.768284 54.80594493
24/10/2010 92.32 15.45 22.38 0.51 1113.90981 39.46573663
25/10/2010 93.42
2010 Mar 08
1
compare tables
Hi!
I need some help to finish my script.
I have two tables that I combine randomly to produce a third table.
This I do for hundreds of iterations. In the output file I get all the
simulated tables after each other. It looks like this (in this case 3
iterations):
output file:
[[1]]
[,1] [,2] [,3]
[1,] "GM030005" "WI920024" "CCCC"
[2,]
2007 Nov 28
3
overriding rest show route but not delete
hi, lets say routes.rb has
map.resources :foo
and I want the show action to have a diffent url, so I add (after the
above line)
map.foo ''/bar/:id'', :controller => ''foo'', :action => ''show''
this works fine, including foo_path( :id => "1") => /bar/1
and <%= link_to ''Show'', foo %>
2007 Jul 31
11
helper spec not finding rails core helpers
Hi,
My helper specs were going ok until I added a call to a rails
DateHelper method in one of my helpers
http://api.rubyonrails.com/classes/ActionView/Helpers/
DateHelper.html#M000574
The helper runs fine from my view templates, just dies in the spec test.
I boiled my question down to a simple (not too useful) example. I''m
not sure what I''m missing.
#
2011 Jul 12
1
"PDC with LDAP-Samba 3.3. Now i want to install BDC"
I have already a linux PDC with LDAP-Samba 3.3. Now i want to install BDC
which will work if my PDC goes down.
Pleases help me out.
Thanks
kamal
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
2007 Nov 20
4
cap deploy:spec
fyi, I just posted this
http://www.vaporbase.com/postings/Running_rspec_after_you_deploy
- linoj
2007 Oct 29
7
rake spec default environment
hi,
When I run rake spec , it seems to be starting with my default
environment (development or production) and connects to that
database, before actually connecting to the test one and proceeding
with the tests. When I remove the development database, the specs
wont run. How do i initiate rspec to be test environment from the
start? I dont see this when i run using script/spec
linoj
2007 Oct 26
2
rspec and capistrano
Hi,
has anyone here written a capistrano task for rspec to run through my
specs on the deployed server? I''d appreciate a snippet or two to get
me started.
Thx
linoj
2007 May 30
2
should_eql etc?
Hi, I''m trying the specs for restful_authentication I found here
http://jonathan.tron.name/articles/2007/01/02/rspec-on-rails-restful-
authentication
It seems to use custom .should methods: should_eql,
should_be_an_instance_of, should_redirect_to, should_be_success,
should_not_be_nil, should_be_nil, should_not_be_nil, should_be_empty,
should_be_success, should_not_change, and
2007 May 23
3
log file
hi,
When running rails spec tests is there a log file generated? i''m
looking for generated sql to help me debug like in development.log
or is there a way to run the test against a webrick server so i can
see logs?
(i''m not running with spec_server at the moment, it doesnt seem to
work well with autotest)
thanks
linoj
2015 Apr 07
3
Help debugging a possible SIP channel leak in 11.17.0, possible race condition
I am trying to collect enough information about an problem a client is having with its asterisk 11.17.0 x86_64. This issue was observed before in 1.8.20, and we upgraded to 11.15.0 and then to 11.17.0 with no solution.
Background: this client is a telemarketing call-center that generates outgoing calls with close to a hundred agents operating simultaneously in peak hours. The system uses
2015 May 21
0
IPv6 subnet routing
On Thu, May 21, 2015 at 02:26:54PM +0000, Martin wrote:
> I've been trying out IPv6 networking with tinc and noticed that it will not
> route smaller segments than /48
> If I try to run ip -6 route add aaaa:bbbb:cccc:dddd::/64 dev tun0 I get
> network unreachable
> However if I run ip -6 route add aaaa:bbbb:cccc::/48 dev tun0 it works fine
>
> Is this is a limitation in