search for: xth

Displaying 18 results from an estimated 18 matches for "xth".

Did you mean: eth
2006 Aug 02
0
[PATCH] xenstore-chmod
...0,61 @@ do_rm(char *path, struct xs_handle *xsh, } #endif +#if defined(CLIENT_chmod) +#define PATH_SEP ''/'' +#define MAX_PATH_LEN 256 + +static void +do_chmod(char *path, struct xs_permissions *perms, int nperms, int upto, + int recurse, struct xs_handle *xsh, xs_transaction_t xth) +{ + int ret; + + if (!path[0]) + return; + + ret = xs_set_permissions(xsh, xth, path, perms, nperms); + if (!ret) + err(1, "Error occurred setting permissions on ''%s''", path); + + if (upto) { + /* apply same permissions to all parent entries: */ + char *...
2011 Mar 30
2
[PATCH] xenstore-stat v2
...case XS_PERM_READ: + return "r-"; + case XS_PERM_READ|XS_PERM_WRITE: + return "rw"; + case XS_PERM_NONE: + return "--"; + default: + return "uu"; + } +} + +static void +do_stat(struct xs_handle *xsh, xs_transaction_t xth, char *path) +{ + unsigned int i, nperms; + struct xs_permissions *perms; + + perms = xs_get_permissions(xsh, xth, path, &nperms); + if (!perms) + errx(1, "Unable to get permission on %s\n", path); + + if (!nperms) { + free(perms); + errx(1, "C...
2013 Mar 13
5
string split at xth position
Hi, I have a vector of strings like: c("a1b1","a2b2","a1b2") which I want to spilt into two parts like: c("a1","a2","a2") and c("b1","b2,"b2"). So there is always a first part with a+number and a second part with b+number. Unfortunately there is no separator I could use to directly split the vectors.. Any idea
2003 May 02
1
Admin issues the Xth..
Hi there. I just switched from icecast1 to icecast2. Right now I'm not sure if that was a very good idea. I do like the ogg-support, but I lack a good amount of documentation (Hey, I'd be glad to help you out, but how can there be consistent documentation for a software that is only available through cvs(-snapshots)?) and good linux source clients. I used xmms-liveice or muse before, but
2012 Oct 23
1
Summary of variables with NA, empty
...space, blank values. Ideally it would look something like the below: # it should only includes the fields with NAs, blanks, etc. Added bonus would be to include column Index. #Valid Records = records that are not NA, blank,etc #ColIndex - what place is column in the original dataframe...1,2,3, ...xth Valid Records Null (NA?) Empty String White Space Blank Value ColIndex Var1 52 8 2 Var2...
2006 May 12
5
Bumping threads in a forum-type app
...ment, making up a thread. Like most forums, I want it so that threads are sorted based on the date of their last comment. But I have no idea how to specify this in the has_many :order of the Board model. But more than this, I want it so that a thread can only be bumped X many times; after the Xth comment the board Previously I was doing it in a rather clunky way with a table column for each parent comment that specifies when the thread was last replied to. I don''t think this is the cleanest way of doing it but it works. Any other ideas? -- Posted via http://www.ruby-forum.co...
2004 Apr 26
2
Looking for help in calculating percentiles
...rsenic toxicity, and I am trying to calculate the 20th, 40th, 60th, 80th, and highest percentiles for a variable, dietary Moisture (variable name dMoist). The inbuilt function quantile(dMoist) would print 0, 25th, 50th, 75th, and 100th percentile. Does there exist a function that can calculate xth percentile (where x = 10th, 20th, ... etc) values? I looked for such functions in the documentation, but couldn't find one. Has anyone written a similar function that can be used? Is there a module or a function that I have missed? I use R in both Windows XP as well as Linux (Fedora Core...
2004 Apr 26
0
AW: Looking for help in calculating percentiles
...rsenic toxicity, and I am trying to calculate the 20th, 40th, 60th, 80th, and highest percentiles for a variable, dietary Moisture (variable name dMoist). The inbuilt function quantile(dMoist) would print 0, 25th, 50th, 75th, and 100th percentile. Does there exist a function that can calculate xth percentile (where x = 10th, 20th, ... etc) values? I looked for such functions in the documentation, but couldn't find one. Has anyone written a similar function that can be used? Is there a module or a function that I have missed? I use R in both Windows XP as well as Linux (Fedora Core...
2004 May 18
3
Samba 3.0.4 PDC w/ LDAP - XP client
Hello, I am currently trying to set up my Samba 3.0.4 testbox to be a PDC for a MS Windows XP Pro SP1 box. I am using the latest smbldap-tools from IDEALX and I have really REALLY tried to do things right. Followed their manual... I cleaned my setup three times today and started from scratch ... Managed to join my DOMAIN yesterday but right now no chance. Read TOSHARG, OReilly`s "Using
2010 Aug 12
5
how to eliminate an element of a list
Hi, I want to eliminate an element of a list: list <- seq(1,5,1) s <- sample(list,1) lets say s=3 Now I want to remove 3 from the list: list2 = {1,2,4,5} Can someone give me a tip? Thanks, André [[alternative HTML version deleted]]
2015 Feb 24
5
recreate/re-provision DNS db from scratch?
...f early Samba 4 version on Samba Active Directory DCs ". So I ran the dbcheck, the ntacl sysvolreset, etc. > - How many DCs do you have? > - What Samba versions do your DCs run? > - Does replication works? One Samba server (DC & file server), no replication, 4.0.6 and this is my Xth attempt to upgrade the #@$^ thing. Each time it ends up broken and I have to rollback, unfortunately. And each time I hope a new version fixes the issue or that I can find the cause. As you can imagine this is quite a problem, not in the least with regards to security. The machine is a virtualized...
2004 Jul 30
3
LaTeX in R
I tried to include LaTeX expressions in the header of a plot in R. (1) Using PlotMath, LaTeX type expressions, e.g., R^x is possible, however, dist<-"...." (some string) ....main=expression(R^x,dist).... does not substitute the value of dist, as well do the proper superscripting. Also within an expression, substitute does not work, (apparently), so that explicit substituting of
2020 Feb 20
0
[PATCH] daemon: Translate device names if Linux device ordering is unstable (RHBZ#1804207).
...ce names. + * (see also L<guestfs(3)/BLOCK DEVICE NAMING> and + * L<guestfs(3)/guestfs_canonical_device_name>). They are: + * + * =over 4 + * + * =item F</dev/sdX[N]> + * + * =item F</dev/hdX[N]> + * + * =item F</dev/vdX[N]> + * + * These mean the Nth partition on the Xth device. Because + * Linux no longer enumerates devices in the order they are + * passed to qemu, we must translate these by looking up + * the actual device using /dev/disk/by-path/ + * + * =item F</dev/mdX> + * + * =item F</dev/VG/LV> + * + * =item F</dev/mapper/...> + * + * =it...
2015 Feb 24
2
recreate/re-provision DNS db from scratch?
Hi, Is there a way to re-initialize/re-provision DNS? I have a working domain with 100+ users and computers etc.. I want to preserve all those users, settings and group policies etc, only start the DNS part from scratch. Why? I've been having some (mysterious) issues with Samba 4 DNS since.. well.. I suppose since I started with 4.0.6 (migrated from Samba 3.x) but from a users' point of
2020 Mar 05
5
[PATCH v2 0/4] daemon: Translate device names if Linux device is unstable (RHBZ#1804207).
v1 was here: https://www.redhat.com/archives/libguestfs/2020-February/msg00220.html This patch series is a little bit better. It's still a bit of a hack. The _real_ fix for this is outlined in the TODO file (see patch 1) but that requires a lot more work than we could do before 1.42 is released, unless we delay 1.42 for a lot longer. I'm hoping with this to have something which works
2004 Jul 13
12
Permutations
Dear R users, I?m a beginner user of R and I?ve a problem with permutations that I don?t know how to solve. I?ve 12 elements in blocks of 3 elements and I want only to make permutations inter-blocks (no intra-blocks) (sorry if the terminology is not accurate), something similar to: 1 2 3 | 4 5 6 | 7 8 9 | 10 11 12 ----------1st permutation 1 3 2 | 4 5 6 | 7 8 9 | 10 11 12 NO - - 3 2 1
2012 Apr 02
23
[PATCH 00 of 18] [v2] tools: fix bugs and build errors triggered by -O2 -Wall -Werror
Changes: tools/blktap: remove unneeded pointer dereferencing in convert_dev_name_to_num tools/blktap: constify string arrays in convert_dev_name_to_num tools/blktap: fix params and physical-device parsing tools/blktap: remove unneeded pointer dereferencing from img2qcow.c tools/blktap: remove unneeded pointer dereferencing from qcow2raw.c tools/blktap2: fix build errors caused by Werror in
2008 May 21
0
Errors in using gdb (PR#11496)
...6kEgkEmmsQLtmV18KtItpVkS/cVNoh5hpBw9Ix3qKv9Hi4TFxVOa1zoUuuyxpArAOF8ni q13EuwrtwtvHinpWeCyUBbd2pKdfz/1TLn1oT/chLJrwUkYRaFc0FYJ2EolEImiPzH/s1jnK FNplfhGm0G5BofrGLjpKx19CEwZyTbWRhnXdApL120+J0J77CKNjtdZ3I7FwhlHfuV2q51Ev lz60a5Yrf9YsPSci/XLZ1Y/m/aV555JIJBJpVKBdMczl4pzsZ+7coxQe45mzx8heBCsd2o2A cxU8StOCp3hXTh/aI8nrdbLTKdqG5g8BubWhf670fWFUk5lYm3t/KR6rFXduL+t5dMtV5EE+ N44iWcVdoPOKq106udBepH5IJBKJ1DNo71vpLK7UVZFvTPGj+u3q9GG5TP03qJ7Lyo/+Sxmj kjKxMYlEIhG0jydox6m22UuasKOevJEpDMN6ouLzJPesNlzXZcvE4ySHuRWiFiRYq9X4KVNG sXR8cfCiQIg/UhiNzy18xMKyHbXgWLuFREcFieFqpicw75L6pzHIWsh4vbUJ2kkkEomgfVWA dpwbnEcy9dSIQuKAvqVDke...