Displaying 20 results from an estimated 6000 matches similar to: "running samba"
2007 Sep 14
2
Testing a nested controller
Hey everyone.
I really stuck on testing a nested controller. I''m trying to make a
request using get and afterwards checking the response by
response.should ...
My routes.rb looks like this:
map.resources :writers do |writers|
writers.resources :notes
end
In my notes_controller_spec.rb
def do_get
writer_id = 1
note_id = 1
get note_path(writer_id, note_id)
end
it "should show
2007 Sep 14
2
Testing nested controller
Hey everyone.
I really stuck on testing a nested controller. I''m trying to make a
request using get and afterwards checking the response by
response.should ...
My routes.rb looks like this:
map.resources :writers do |writers|
writers.resources :notes
end
In my notes_controller_spec.rb
def do_get
writer_id = 1
note_id = 1
get note_path(writer_id, note_id)
end
it "should
2006 Oct 21
2
object(s) are masked from package - what does it mean?
Hi,
Sometime when I attach a dataset, R gives me the following
message/warning:"The following object(s) are masked from package:datasets:
column_name". Does anyone know what it means? Since it seems that the
dataset was attached and I could manipulate the data from the dataset
without problems, I am wondering what was R trying to tell me.
Thanks,
Tom
[[alternative HTML version
2012 Mar 15
3
using puppet to configure local settings
Hi,
I was asked by my boss if puppet can handle the following scenario.
- 2 server (A and B)
- same config for each server, eg. /etc/resolv.conf (nameserver
1.2.3.4)
- but B should have a local unique requirement of another nameserver
5.6.7.8
so, A will have
nameserver 1.2.3.4
but B will have
nameserver 5.6.7.8
nameserver 1.2.3.4
when we change the global nameserver 1.2.3.4 to 9.8.7.6, it
2009 Mar 10
5
Changing factor to numeric
Dear Users,
I have a variable in my dataset which is of type factor. But it actually
contains numeric entries which like 5.735 4.759 ..... This is because the
data was read from a CSV file into R and this variable contained other
charaters which were not numeric. I have now dropped the records with the
characters which are not numeric for this variable and want to change it to
numeric srotage
2006 Aug 31
6
newbie question about index
Hi,
I am trying to convert a variable a = sample(1:3,100,rep = T) represents choices into a 3X100 dummy varible b with corresponding element set to 1 otherwise 0.
eg.
a: 1 3 2 1 2 3 1 1....
b: 1 0 0 1 0 0 1 1..
0 0 1 0 1 0 0 0...
0 1 0 0 0 1 0 0...
Is there something like b[a] =1 existing? I could not figure this out myself.
---------------------------------
2006 Jun 14
3
Decimal series how to make.........
Hi List,
I am new to this Rsoftware, i want to make a sereis for example which is having values like this, s<- 0,0.1,0.2,0.3,0.4........,1
i tryed this statement
s<-0:0.1:1
but this giving an error megssage.
but by default increment 1 it is taking ,,,,,so what to do ,,
i want to use this varible in for loop..
like for(j in s)
thanks in advance
ANIL KUMAR( METEOROLOGIST)
LRF
2005 Oct 10
2
wildcards and removing variables
All,
Is there are a wildcard in R for varible names as in unix? For example,
rm(results*)
to remove all variable or function names that begin w/ "results"?
cheers,
Dave
ps - please respond directly to afshar@miami.edu
[[alternative HTML version deleted]]
2013 Mar 08
2
multiple pamameter values in puppet dashboard ENC
Is there a way to use send multiple parameter values using puppet dashboard
ENC?
For example,
nameserver = 10.0.0.1, 10.0.0.2
or perhaps
nameserver = [''10.0.0.1'',''10.0.0.2''}
then the template erb file can loop through each of the nameserver values
to set up mulitple nameservers in resolve.conf?
Thanks - Oli
--
You received this message because you are
2003 Aug 21
2
winbindd problem with 3.0.0rc1
i've been trying to get samba 3 to join my AD domain, and have gotten stuck.
when I wbinfo -t it returns "Could not check secret"
log.winbindd says:
nsswitch/winbindd.c:
nsswitch/winbindd.c:process_loop(722)
process_loop: Invalid request size from pid 5368: 1304 bytes sent,
should be 1568
here's my smb.conf incase it matters.
# Global parameters
[global]
workgroup =
2007 Feb 14
2
environement.rb compent récupérer une variable ?
Salut,
Je souhaiterai définir dans mon fichier environement.rb une variable qui
puisse être récupéré dans mes controlleurs.
Plus précisément je souahiterai initialiser une varible avec l''ip du
serveur qui héberge l''appli et pouvoir la récupérer dans mes
controlleurs.
Je suis sur que c''est trés simple mais je n''ai pas trouvé l''info.
Merci !
--
2012 Apr 17
4
top not restoring terminal echo/icanon correctly
(Please keep me CC'd as I'm not subscribed to the list)
I'd like to request that folks running RELENG_8 (and RELENG_9, though I
do not use it) please check the behaviour of their terminal after each
of following commands are run (check terminal after each command):
top -a (press "q" after 1 screen refresh)
top -b
If you find that your input characters in your shell
2004 Oct 15
1
categorical varibles in coxph
Hello,
I wonder when I do coxph in R:
coxph( Surv(start, stop, event) ~ x, data=test)
If x is a categorical varible (1,2,3,4,5), should I creat four dummy
varibles for it? if yes, how can I get the overall p value on x other
than for each dummy variable?
Thanks
Lisa Wang
Princess Margaret Hospital
Phone 416 946 4501
2005 Jul 27
3
reference counting in ssh-agent?
Hi,
In a machine that I regularly use one console and remotely I have the line:
eval `ssh-agent`
In my .login, as per the ssh-agent(1) man page.
Problem: when I log out, the ssh-agent process persists which is the
correct behavior in some cases, but not in others. This means that
periodically I have to kill off hundreds of ssh-agent processes as they
are taking up a substantial amount of my
2009 Sep 23
2
[LLVMdev] About porting llvm-gcc frontend.
I am porting llvm-gcc frontend. We have ported GCC4.2 for our target. So I move *.h *.md and *.c to llvm-gcc. I do not implement any LLVM MACRO, and use default action of llvm-gcc. I get a new llvm-gcc for our target. But I get a bug.
/******************************/
//#include <stdio.h>
union MYunion {
unsigned char uc ;
int ui;
} myunion;
void vfu1(union MYunion u) {
u.ui =
2007 Apr 13
1
how to control which version of a package library() installs?
library() seems to remember the location of a package when I give it a
lib.loc, and then use that version thereafter, even if I don't supply
lib.loc again. Is there any way I can load different versions of a
package in one R session? -- I don't seem to able to simply detach the
package and then load a different version from a different library location.
$ R
[...startup info...]
>
2012 Jan 23
13
Template Help Please
Hello,
I am trying to setup a template with data being passed in as a long
string of data which is being returned via extlookup()
i.e. $resolvers = "10.10.10.10 11.11.11.11.12.12.12.12"
The template should split those up and put a nameserver entry per line
in /etc/resolv.conf
I have this in the template now:-
<%=
2010 May 16
2
Box-Cox Transformation: Drastic differences when varying added constants
Dear experts,
I tried to learn about Box-Cox-transformation but found the following thing:
When I had to add a constant to make all values of the original variable
positive, I found that
the lambda estimates (box.cox.powers-function) differed dramatically
depending on the specific constant chosen.
In addition, the correlation between the transformed variable and the
original were not 1 (as I
2013 Mar 11
1
using parameter with puppet dashboard and site.pp
I have just set up my puppet dashboard to be used as a ENC. This is for the
time being the easiest way to get support guys to add nodes to classes. I
have to use global parameters in my modules if I would like to declare
parameters using dashboard as the ENC.
So I have a module which does this:
class resolver ($domain_name=$::domainname,
$search_path=$::searchpath,
2006 Aug 17
1
del.icio.us api - repeating in my layout??? HELP!
I''m pulling in my most recent 6 entries from my delicious account based
on a certain tag. This was working fine for about a week - I just
visited my site, and each time I visit, it keeps adding the same 6
bookmarks below the current 6. So, everytime you navigate throughout
the site, it adds 6 bookmarks to the last (but it''s the same list over
and over).
I have a function