Displaying 20 results from an estimated 300 matches similar to: "hosts allow/deny question"
2024 Aug 18
2
allequal diff
Dear Ivan
Thanks a lot for this very nice example.
Is it true that all.equal just compares y values?
Based on this help here I think so and the value I got is the difference for the y-values.
https://www.statology.org/all-equal-function-r/
However, here I see x and y testing?
https://www.rdocumentation.org/packages/base/versions/3.6.2/topics/all.equal
I am actually interested in the x values
2024 Aug 16
1
allequal diff
? Fri, 16 Aug 2024 11:32:58 +0200
<sibylle.stoeckli at gmx.ch> ?????:
> # values and mask r1
> r1 <- getValues(r1)
> mask1 <- is.na(r1)
> # Do the same for r2
> r2 <- getValues(r2_resampled)
> mask2 <- is.na(r2)
>
> # Combine the masks
> all.equal(r1[!(mask1 & mask2)], r2[!(mask1 & mask2)])
Let's consider a more tangible example:
# The
2024 Aug 16
1
allequal diff
Cool thanks
# values and mask r1
r1 <- getValues(r1)
mask1 <- is.na(r1)
# Do the same for r2
r2 <- getValues(r2_resampled)
mask2 <- is.na(r2)
# Combine the masks
all.equal(r1[!(mask1 & mask2)], r2[!(mask1 & mask2)])
output
> all.equal(r1[!(mask1 & mask2)], r2[!(mask1 & mask2)])
[1] "'is.NA' value mismatch: 389 in current 56989152 in target"
2024 Aug 18
2
allequal diff
"Is it true that all.equal just compares y values?"
The following may be a bit more than you may have wanted, but I hope
it is nevertheless useful.
The first place you should go to for questions like this is the Help
system, not here, i.e.
?all.equal
When you do this, you will find that all.equal() is a so-called S3
generic function, which, among other things, means that it works
2024 Aug 16
1
allequal diff
? Fri, 16 Aug 2024 10:35:35 +0200
<sibylle.stoeckli at gmx.ch> ?????:
> what do you mean by use is.na() in getValues(). So I need to call
> getValues a second time?
Not necessarily, but it's one of the options. I was thinking along the
lines of:
values1 <- getValues(r1)
mask1 <- is.na(values1)
# Do the same for r2
# Combine the masks
all.equal(values1[!combined_mask],
2024 Aug 18
1
allequal diff
?? The OP's original problem is that the all.equal method for raster
objects (raster:::all.equal.raster), which is a wrapper around the
compareRaster() function, compares a bunch of different properties of
rasters (extent, resolution, values, etc.) and only returns a single
overall logical (TRUE/FALSE) value. OP wanted to see the magnitude of
the difference (as you could get for more
2024 Aug 18
1
allequal diff
Ah...I see.
Perhaps, then, the maintainer should be contacted, as the desired
functionality seems similar to that provided in other all.equal
methods. I realize that this may often not elicit a (prompt) response.
-- Bert
On Sun, Aug 18, 2024 at 11:50?AM Ben Bolker <bbolker at gmail.com> wrote:
>
> The OP's original problem is that the all.equal method for raster
>
2005 Feb 01
1
multiple defaults
I have 1 100MB NIC with two 2MB-subnets trough a router behind it. I''d
like to create multiple default classes:
1: +
|\_ 1:10 default, ceiling 100000kbit, rate 96000kbit
|
|\_ 1:11 ceiling 2048kbit, rate 2048kbit
| |
| |\_1:110 ceiling 2048kbit, rate 1536kbit
| \_1:111 ceiling 2048kbit, rate 512kbit (default subnet1)
|
\_ 1:12 ceiling 2048kbit, rate
2005 Jun 24
7
tcp redirect questions
Hi there. Currently, our network design has two ISP
lines and 3 subnets for LAN. Below are some details :-
eth0 - isp1
eth1 - isp2
eth2 - subnet1
eth3 - subnet2
eth4 - subnet3
What i wanted to do is to assign incoming port 80 to
our local squid server running on the firewall itself
and assigned it to eth0(ISP1). I think it shouldnt be
a problem as /etc/shorewall/rules provides a sample of
the
2005 Aug 24
1
wins browsing issue
good morning all,
i have an interesting issue with browsing.
details:
i have three subnets. (subnet1, subnet2, and subnet3)
i have a samba server on each subnet. (samba1, samba2, and samba3)
i have a windows 2000 server on subnet1. (m$1)
samba1 is the domain master and wins server with ip 192.168.0.1
win2k clients authenticate to their local server and wins is set to
192.168.0.1.
when i run a
2006 Jun 24
2
data frame search
Hi,
I want to make a data frame which contains the positions of some searched values in another data frame.
Like:
Dataframe 1:
1 2 3 4 1 2 3 4
2 3 4 1 2 3 4 2
4 1 2 3 2 3 4 1
Let's say I searched on "4", then Dataframe 2 should contain:
x y
1 4
1 8
2 3
2 7
3 1
3 7
I have written a routine, but it seems to me that it isn't that perfect:
x<- 0
2013 May 16
0
[LLVMdev] Combining physical registers
On 5/16/2013 11:17 AM, Jakob Stoklund Olesen wrote:
>
> Would this TRI function solve your problem?
>[...]
> ///
> /// Covering = getCoveringLanes();
> /// MaskA = getSubRegIndexLaneMask(SubA);
> /// MaskB = getSubRegIndexLaneMask(SubB);
> ///
> /// If (MaskA & ~(MaskB & Covering)) == 0, then SubA is completely covered by
> /// SubB.
2004 Jan 15
2
Crypto API and Shorewall
A number of you are flailing around trying to get the subject combination to
work.
You should all be aware that there are parts of this that don''t currently work
and that won''t work well until there are enhancements made to Shorewall (and
probably to Netfilter).
I. There is no clean way currently to support Road Warriors from a
Masquerading Netfilter firewall/gateway. As
2010 Jul 27
1
Multiple Workgroups and Subnets
Hi,
I am configuring a network with two subnets with a different workgroup
in each subnet. My aim is to have users being able to view and access
shares on both workgroups. I have a Samba server in each
subnet/workgroup, configured as both the domain and local master for
each workgroup. Each server is also the WINS server for its subnet. The
setup is like this:
Subnet1:
network -
2005 Jan 11
2
PA-168(S) - Netweb IPweb-301 Phone
Greetings,
I just received some netweb-301 phones frm Seshu down in NJ.
I cannot for the life of me get it to register with the asterisk server,
nor upgrade the firmware to the latest (1.41) i'm still using 1.37.
The packets are traversing the router, going into the other subnet,
hitting the asterisk box, but not actually making it to asterisk.
Nothing in the asterisk logs, but tcpdump
2018 Feb 05
1
Using Samba AD for NFSV4 Kerberos servers and clients
Hello Kevin,
We have a Samba/Windows20008R2 domain that's been running a few years now.
Here are the details:
* clients auth with SSSD (ldap, kerberos, ldap_schema=rfc2307bis)
* idmap
* samba on clients/server for joining domain
We have scripts that automatically create users with UnixHomeDir, UID
and GUID numbers within AD.
I don't know about using WInbind... I dropped that
2013 May 16
1
[LLVMdev] Combining physical registers
On May 16, 2013, at 8:13 AM, Krzysztof Parzyszek <kparzysz at codeaurora.org> wrote:
> The function TII::canCombineSubRegIndices has been gone for a while now, and I was wondering if there is a target-independent way of determining if a certain set of physical registers "adds up" to a larger register. For example, on X86, AL and AH together form AX. On Hexagon, R0 and R1 are
2005 Jul 23
3
Multiple ISP Provider on one interface
The problem is that I have only 2 ethernet adapters in my linux router,
one of this adapter pluged to the LAN and the other is pluged to a HUB
who have 2 routers DSL. Each DSL routers have an static ip and the
solution that I found was creating an eth0 and eth0:1 but with this
option I have any way to use the eth0:1 adapte...
Any one knows a solution for this ?
Regards.
2013 May 16
2
[LLVMdev] Combining physical registers
The function TII::canCombineSubRegIndices has been gone for a while now,
and I was wondering if there is a target-independent way of determining
if a certain set of physical registers "adds up" to a larger register.
For example, on X86, AL and AH together form AX. On Hexagon, R0 and R1
are D0.
The context here is an attempt to coalesce multiple loads/stores into
fewer loads/stores
2005 Nov 09
5
What Cisco calls ''Overloading NAT''??
Hi,
Is there a way in Linux to do NAT with a pool of outside addresses such
that each connection to the outside resource gets a different IP address??
I don''t want 1:1 NAT as I have some thousands of IP addresses on one side
of the LARTC router that _may_ need to access a resource on the other
side... The resource needs to see a different IP address for each active
call, but these