Displaying 20 results from an estimated 27 matches for "powerset".
2011 Dec 28
1
Probability Question
...e how I can re-post
this to Usenet groups sci.stat.consult., so they can help with this
question:
Exercise 1. Let Ω = {H,T,E}(a set with 3 elements, called H ,T and E . You
can think of “heads”, “tails” and “edge” if you like, but this
interpretation is not necessary).
1. List the elements of the powerset P (Ω) of Ω. (Recall that the powerset
of a set is the set of all subsets of that set, including Ø (the empty set)
and the whole set.)
2. Suppose P is a set function on Ω (that is, a rule assigning real numbers
to subsets of Ω). Suppose that
P({H,T}) = 3, P({H,E}) = 3, P({H}) = 1 444
Why is it im...
2004 Sep 28
4
An index of all possible combinations of variables in a data fram e
Hello list
Does anybody know of any way to create an index of all the possible
combinations of variables (factors) in a data frame? ie for 3 factors A, B &
C we have
A
B
C
AB
AC
BC
ABC
which equates to columns 1, 2, 3, 1:2, (1,3), 2:3 and 1:3.
I realise that a function like model.matrix does this, but how to get the
seqence of the index?
Any help would be greatly appreciated.
2008 Jan 22
12
rollbacks
Has anyone done rollbacks with puppet?
The story goes that last night I pushed a change out, which
intentionally changed the way certain services where managed. The
change involved pushing out a few files, cronjobs, etc., which was okay
until it was discovered there was a bug with the service.
My configurations are kept in subversion and rolling back to a previous
configuration would have
2011 Nov 21
1
Sub sets
I'd appreciate it if you'd keep on list for the archives. That said, I
think this function does what you were hoping for.
Michael
powerset <- function(n, items = NULL){
if(!is.null(items)) {
if(n != length(items)) warning("Resetting n in preference to
length(items)")
n = length(items)
}
smat <- do.call(expand.grid, rep(list(c(0,1)), n))
if(!is.null(items))
smat <- smat * mat...
2007 Dec 17
5
question about 0.24.0
I see in the changelog that:
You now must specify an environment and you are required to specify
the valid environments for your site. (#911)
Does this mean that the puppetmaster has to be updated before clients
work correctly?
I ask because I''m testing out a client upgrade to 0.24.0 (server is
still 0.23.2) and this is what I''m seeing:
[~]% sudo /foo/bin/puppetd
2007 Jun 20
5
0.23 question
I think that I''m running into the warning on external node support here but
after a recent upgrade for my puppetmaster I get:
puppetmasterd[19397]: Could not find aa0-006-4.foo.com with names
aa0-006-4.foo.com, aa0-006-4
I''ve not changed puppetd.conf which contains:
ldapnodes = true
ldapserver = my.ldap.foo.com
ldapbase = ou=hosts,dc=foo,dc=com
I''ve not
2007 Oct 12
7
puppetd dies?
Greetings all,
My deployment of puppet includes a monitrc to make sure that puppetd stays
up and running. It seems like (across all of my hosts) that pupeptd will
end up dying and restarted by monit. I''m running puppetd under a screen
session now on one particular host with --debug --verbose to see if any
thing comes out on console but until it happens again, any anybody else
2007 Oct 02
2
Ordering of names on X- and Y-axis
Hi,
I am new to R.
I have a bit of data looking like this:
SemType, Length
GeoLocation, Sentence
GeneralInfo, Paragraphs
GeneralInfo, Paragraphs
GeneralInfo, Sentence
GeneralInfo, Paragraphs
NatLang, Phrase
Advice, Article
GeneralInfo
Advice, Article
Resource, Sentence
...
(roughly 40,000 lines in total)
I am interested in how many counts of each item in the second row I get for
each item in
2007 Oct 10
5
Puppet ldapnodes issue
I am attempting to move our test puppet installation from looking for node information in a manifest to LDAP. I followed the instructions at: https://reductivelabs.com/trac/puppet/wiki/LdapNodes and was able to get the puppet schema loaded into our LDAP.
I can now query LDAP and modify/load data without any issues using the OpenLDAP tools.
e.g.
ldapsearch -h ldapdev1.domain.com -x
2007 Oct 01
3
How to beat Google aka Xapian & Natural Language Processing.
Xapians!
If tomorrow Xapian search engine would achieved the same performance
and result in searches as Google we would not be able to beat Google,
because we would create only a copy of the searches that already
exists from Google search engine. However there is a way to beat
anyone, and there is a way to beat Google successfully as well just do
not give up. Some see it as implementing Ajax, or
2007 Apr 18
2
Computing an ordering on subsets of a data frame
If I have a data frame X that looks like this:
A B
- -
1 2
1 3
1 4
2 3
2 1
2 1
3 2
3 1
3 3
and I want to make another column which has the rank of B computed
separately for each value of A.
I.e. something like:
A B C
- - -
1 2 1
1 3 2
1 4 3
2 3 3
2 1 1
2 1 2
3 2 2
3 1 1
3 3 3
by(X, X[,1], function(x) { rank(x[,1], ties.method="random") } ) almost
seems to work, but the data is not
2008 Jan 04
6
who is using puppet?
Hi There,
I''m implementing puppet for a large scale Enterprise, with a lot of sites
and a lot of different setups (for about 1500 Linux and Solaris machines).
Now, the time has come to get some management attention, and of course, the
first question I''ll have is who else is using puppet....
So I thought it Worth''s a try to ask - who is using puppet in a large scale
2007 Oct 31
15
puppetd can set more than one server address
hi,all
I want set up a puppet HA structure. but if the puppetd can
set more than one server address ,the work will be simple :D
if one puppetmaster have error, the client can auto try the
next. I think I can use the heartbeat or dns to do this same
thing,but not so good. so I want know the puppetd can direct set in
the configure file ? if not,will be add this option?
--
Huang
2010 Oct 14
13
First boot with Puppet
Hi guys,
I''m installing Puppet on RHEL5 systems using KickStart but struggle with
the first boot.
Here''s my situation:
1) kickstart installs the system, including puppet from our local repo
2) after reboot I have to login and set the hostname and IP
3) then run puppet, register it with the server and bring in the config
4) configure puppet for automatic start
I have to
2007 Jul 03
15
Puppet as a push model
I just started digging into puppet and it looks like puppet is using a
pull model. You have a master server and clients talk to it to get
config info.
Is anyone out there using a push model? If not, why not? Are there
security reasons you would use one over the other?
It seems that cfengine also uses a push model, so I wondered if this is
a "standard" or if there are specific
2007 Dec 04
1
odd behavior with provider yum...
Anybody else noticed this:
debug: package provider yum: Executing ''/usr/bin/yum -d 0 -e 0 list
available portmap''
err: //nfs_server/Package[portmap]: Failed to retrieve current state
of resource: Could not get latest version: Execution of ''/usr/bin/
yum -d 0 -e 0 list availaSearching 100% |
=========================| 16 kB 00:03
Error: No
2007 Dec 05
1
Is there a way to ''exec'' last
I''m wondering if there is any easy way to run a command after
everything else, something like:
exec {
when => "last"
command => "/usr/local/bin/update",
}
Or even "run these commands in the following order", as the last step.
The bottom line is that I''m trying to trigger certain behaviors after
the state of the system has
2007 Jul 23
4
options not being parsed...
With both puppet-0.23.0 and 0.23.1 if I setup just the configuration file
puppet.conf, none of the puppetd options seem to get parsed. I first
noticed this when monit failed to start/stop services due to the lack of a
pid file being generated (and mine is not in one of the usual places).
I''m sure that something like the patch attached but I bet it breaks other
assumptions :-)
Cheers,
2007 Jun 04
1
Ldap connectivity
I just discovered that puppet makes an assumption about which ruby ldap
implementation is used. FWIW, ruby/ldap and not net/ldap is the preferred
choice.
Just curious, why choose on over the other?
Cheers,
Ryan
2007 May 19
2
A little more on this puppetmaster thing
So one of the behaviors that seems to wedge puppetmasterd is if you
re-initialize a client, the example here being that I installed an older
version of puppet on a bunch of machines to test out how things work:
* at some point in the past install older rev of puppet
- client regiesters itself with the server, etc.
- works fine.
* recently, remove the old puppet in favor of a new version that