similar to: StartsWith over vector of Strings?

Displaying 20 results from an estimated 4000 matches similar to: "StartsWith over vector of Strings?"

2015 Jul 01
3
strange: 20 characters max in samAccountName
Hi all, Sernet Samba 4.2.2 as Active Directory on Debian 7.8. No other DC. I can't log in with on Windows systems (Windows 7) when samAccountName are longer than 20 characters. This seems to be a LAN MAN or NT4 limitation which should not happen on AD domain. Any idea what could leads my to that limitation? I can log in using administrator account or any other having a short (enough)
2011 Oct 17
1
What does \Sexpr[results=rd]{} exactly mean in Rd?
Hi, I have spent a few hours on the R-exts manual and the documentation of parse_Rd() (as well as the PDF document in the references), but I still have not figured out what results=rd means. I thought I could use an R code fragment to create an Rd fragment dynamically. Here is an example, in which I was expected the output to be a describe list <DL> in HTML, but it turns out not to be true.
2012 Nov 30
3
[LLVMdev] Tablegen bug???
Should tablegen detect this as an error, or is it documented as a limitation somewhere that we've missed? In the tablegen-generated file AMDILGenIntrinsics.inc, we have a bunch of if statements comparing strings, many of which are dead, preventing correct recognition of some intrinsics in the their text form. I'm not quite sure what GET_FUNCTION_RECOGNIZER is used for, but if it's
2011 Jul 22
2
averaging rows based on string¿?
Hi Folks, Ran into something I'd really like to do in R simply/elegantly, but my R - coding skills seem surpassed. This is the thing. Imagine the following data: labs<-c("abcdef","abcgg","tgthefdk","tgtijuel","tgtnjmoi","gbnt","dlift") dat<-c(0.5,0.25,1,2,16,0.250,4) dframe<-data.frame(labs,dat) I would like to
2012 Nov 30
0
[LLVMdev] Tablegen bug???
Out of curiosity, what is wrong about that? It looks ok to me. -Chris On Nov 29, 2012, at 6:52 PM, "Relph, Richard" <Richard.Relph at amd.com> wrote: > Should tablegen detect this as an error, or is it documented as a limitation somewhere that we've missed? > > In the tablegen-generated file AMDILGenIntrinsics.inc, we have a bunch of if statements comparing
2012 Nov 30
2
[LLVMdev] Tablegen bug???
If the source being scanned has "llvm.AMDIL.barrier.global, it will match the first barrier test and return AMDIL_barrier, not AMDIL_barrier_global. On Nov 29, 2012, at 7:19 PM, Chris Lattner <clattner at apple.com> wrote: > Out of curiosity, what is wrong about that? It looks ok to me. > > -Chris > > On Nov 29, 2012, at 6:52 PM, "Relph, Richard"
2009 Jan 18
8
regex -> negate a word
Dear all, let's assume I have a vector of character strings: x <- c("abcdef", "defabc", "qwerty") What I would like to find is the following: all elements where the word 'abc' does not appear (i.e. 3 in this case of 'x'). Since I am not really experienced with regular expressions, I started slowly and thought I find all word were
2007 Feb 12
1
bug in partial matching of attribute names
There looks to be a bug in do_attr() (src/main/attrib.c): incorrect partial matches of attribute names can be returned when there are an odd number of partial matches. E.g.: > x <- c(a=1,b=2) > attr(x, "abcdef") <- 99 > attr(x, "ab") [1] 99 > attr(x, "abc") <- 100 > attr(x, "ab") # correctly returns NULL because of ambig
2010 Feb 05
1
String Manipulation- Extract numerical and alphanumerical segment
I am currently attempting to split a long list of strings (let's call it "string.list") that is of the format: "1234567.z3.abcdef-gh.12" I have gotten it to: "1234567" "z3" "abcdef-gh" "12" by use of the strsplit function. This leaves me with each element of "string.list" having a split string of the above format. What
2007 Jan 26
3
Multiple Filesystems on one path stmt in smb.conf
Can the path statement in the smb.conf contain two entries as in the example below: path = /u04/abcdef /u03/xyz What I want to do is to essentially have 2 filesystems be part of one share so that the windows users would see all the sub-directories of filesystems /u04/abcdef and /u03/xyz
2023 Aug 24
1
Crash on "samba-tool domain level raise --domain-level=2016 --forest-level=2016"
Hi, today I updated my DC debian 12 to samba 4.19rc2 from mjt repository and I tried to increase feature level of domain but failed. First 2 commands was ok: samba-tool domain schemaupgrade --schema=2019 samba-tool domain functionalprep --function-level=2016 the third instead failed: > samba-tool domain level raise --domain-level=2016 --forest-level=2016 > ERROR(<class
2024 Apr 11
3
Regexp pattern but fixed replacement?
I noticed this issue in stringr::str_replace, but it also affects sub() in base R. If the pattern in a call to one of these needs to be a regular expression, then backslashes in the replacement text are treated specially. For example, gsub("a|b", "\\", "abcdef") gives "def", not "\\\\def" as I wanted. To get the latter, I need to escape
2016 May 09
2
LLVM issuse:AArch64 TargetParser
Hi all, Actually,I found there is a same problem for arm.For this case,I think > maybe we can play a trick in the clang. > Checking whether the given arch valid or not,before we throw it to the > parser,which can be used for both arm > and aarch64. For the actions I mentioned above,I wrote a check function as below, basing on the naming rules of the arm architecture. +//Only if
2006 Mar 13
3
Strange SSH login try.
Hello list. Today I saw something strange in logs one of my servers. Part of the /var/log/security: Mar 12 15:01:03 server sshd[28505]: Invalid user abc from ::ffff:x.x.x.x Mar 12 15:01:03 server sshd[28503]: Invalid user ab from ::ffff:x.x.x.x Mar 12 15:01:03 server sshd[28507]: Invalid user abcd from ::ffff:x.x.x.x Mar 12 15:01:03 server sshd[28509]: Invalid user abcde from ::ffff:x.x.x.x Mar
2014 Jun 19
2
[LLVMdev] [PATCH] triples for baremetal
Eric, Attached are patches for llvm and clang that implement this. I've made 'none' a component that must be added explicitly (i.e. don't turn arm-eabi into arm--none-eabi, but rather turn it into arm--unknown-eabi) to try to reduce surprises. It also keeps the normalization logic a bit simpler than it would otherwise have to be. SPIR triples were one place where I was
2005 Aug 29
2
how to mirror only selected directories?
Hi, I've tried various combinations of --exclude and --include, but I can't quite get it. What I'd like to do is only mirror certain directories in a tree. For example, say a directory tree starting at /x contained under it several directories named "abc". I want to mirror only the "abc" directories and what's under them and nothing else. /x/abcdef/456
2020 Jan 03
3
samba-tool user syncpasswords 4.10 bug
Hi, When I use "samba-tool user syncpasswords" in Samba 4.10.11 (and earlier version of 4.10), I get a python exception coming from a place in /usr/lib/python3/dist-packages/samba/netcmd/user.py I could fix it with this patch: diff user.py.orig user.py 2001c2001 < reply = sync_command_p.communicate(input)[0] --- > reply =
2013 Jul 15
1
pmatch inconsistency
The pmatch help (see also section 4.3.2 in the R Language Definition) claims that pmatch with duplicates.ok=FALSE provides the same functionality as R's argument matching algorithm, modulo how empty strings are matched. Here's an undocumented inconsistency between pmatch and R's argument matching algorithm: > sessionInfo() R version 3.0.1 (2013-05-16) Platform:
2016 Mar 16
1
Rsync temporary file name
Hi list, I have some questions on how rsync names the temporary files it create during a file transfer. It is my understanding that temporary files are name .<filename>.ABCDEF, where "ABCDEF" is a random 6-chars alphanumeric string. First question: it is correct to say that the random aphanumeric string is _always_ 6 chars long? Second question: it is possibile to define a
2010 Apr 30
2
drop last character in a names'vector
Hi, i have a vector filled with names: [1] Alvaro Adela ... [25] Beatriz Berta ... ... [100000] ... I would like to drop last character in every name. I use the next program: for (i in 1:100000) { ? ? ? ? ? ? ? ? ? ? ? ? ? largo <- nchar(names[i]-1) ? ? ? ? ? ? ? ? ? ? ? ? ? names[i] <- substring (names[i],1,largo] ? ? ? ? ? ? ? ? ? ? ? ? ?} Is another and faster way of do it? Thanks,