search for: clunkier

Displaying 14 results from an estimated 14 matches for "clunkier".

2008 Jan 31
2
viewing a subset of folders in dumb IMAP clients
...n of metadata 2) configure the iPhone to use that login 3) subscribe to the folders I want I test-drove the Dovecot config in a webmail app and it worked exactly right, but it turns out the iPhone (running the latest, 1.1.3) apparently doesn't respect IMAP subscriptions. My world-weary, clunkier, but seemingly working solution: 1) have the alternate login yield my existing permissions, but a different mail folder and metadata 2) create that mail folder, make its cur/new/tmp symlinks to the real ones, and symlink in the other folders I care about Is this safe? And is there a more ele...
2009 Aug 05
2
using ddply but preserving some of the outside data
...hole vector? Or maybe making each value it's own column in the new data frame, and then using reshape is the answer. Hrm. Seems clunky. 2) Or, can a for loop around a plyr-kind of statement do the trick (and if so, pointers on why the below code won't work) (also, it, too, seems clunkier than I would like) sites<-c("a", "b", "c") dates<-1:5 a.df<-expand.grid(sites=sites, dates=dates) a.df$value<-runif(15,0,100) a.df<-as.data.frame(a.df) #now, I want to get the average of the mean2<-function(df, date){ sub.df<-subset(df, df$da...
2019 Dec 17
2
is_stmt and column numbers
It appears to me that from this: https://iis-git.ee.ethz.ch/H2020-Compiler/llvm/commit/1d68fc5021ca8c704e21f171d98bb18eb396a7fa That LLVM basically emits DWARF expressions where is_stmt is true only "once per line". Is that still true? Is there an option to emit more than one per line? Thanks all. -Roger Pack- refs: https://github.com/crystal-lang/crystal/pull/8499
2019 Oct 07
4
An internet Forum instead of mailing lists?
Hi all, I suppose this has been asked before, but I wasn’t able to find a discussion on the subject. Is there a reason for not using a web based interface instead of a mailing list?. It seems to me that a using a private Forum would bring a lot of advantages. John
2016 Jan 13
6
[Bug 2525] New: Please add an alias such as -o Insecure for -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no
https://bugzilla.mindrot.org/show_bug.cgi?id=2525 Bug ID: 2525 Summary: Please add an alias such as -o Insecure for -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no Product: Portable OpenSSH Version: 6.7p1 Hardware: amd64 OS: Linux Status: NEW Severity:
2005 Oct 03
2
access to R parse tree for Lisp-style macros?
...erstand it, Lisp-style macros manipulate the already-parsed syntax tree. This seems very uncommon in non-Lisp languages and environments, but some - like Python - do have such support. (I don't use Python, but I'm told that its standard parser APIs are as powerful as Lisp macros, although clunkier to use.) Is implementing Lisp-style macros feasible in R? Has anyone investigated this or tried to do it? What internal representation does R use for its parse tree, and how could I go about manipulating it in some fashion, either at package build time or at run time, in order to support true Li...
2008 Jan 24
0
JRuby, JNA, Windows
...rectoryA = Kernel32.getFunction(''GetCurrentDirectoryA'') # You can also do -> buf = java.nio.ByteBuffer.allocate(256) buf = Array.new(256).to_java(:byte) GetCurrentDirectoryA.invokeInt([256, buf].to_java) buf = java.lang.String.new(buf) p buf.to_s.strip It''s a little clunkier than MRI at the moment, because Java strings are immutable. We''re passing by reference, so we have to pass a ByteBuffer instead, and convert back and forth. Charles tells me that this will be hopefully be more seamless in the future. You could always monkey patch the String class, too....
2012 Jan 23
1
Return the matrix location of multiple entries
Hello! I'm working with a matrix called 'subER'. This matrix has 150(=h) rows and 15 columns. What I would like to do is have a command that will identify the minimum 4 values in each row and return the column numbers where these values were found. My hope is to store this information in a new 150 by 4 matrix called P. So far I've only been able to get R to identify one minimum
2019 Oct 08
2
An internet Forum instead of mailing lists?
...instead of a >> mailing list?. It seems to me that a using a private Forum would bring >> a lot of advantages. > > I personally far prefer a mailing list. It is easy to filter e-mails > and doesn't require a web browser. Every forum setup I've used makes it > much clunkier to respond to messages than with e-mail. > > -David
2010 Apr 09
3
using as.numeric() without generating warning message
I'm interested in testing whether or not a character string is numeric or not as follows: is.na(as.numeric('3')) # returns F is.na(as.numeric('A')) # I'd like this to return T without issuing a warning about NAs introduced by coercion. I guess you could suppress the warning with options(warn=-1), but I was wondering if there's an alternative. Or perhaps an
2019 Aug 28
2
[PATCH nbdkit] freebsd: In nbdkit_nanosleep, fallback to calling nanosleep(2).
...deas, in order of preference: + /* The fallback path simply calls ordinary nanosleep, and will + * cause long delays on server shutdown. + * + * If however you want to port this to your platform, then + * porting ideas, in order of preference: * - POSIX requires pselect; it's a bit clunkier to set up than poll, * but the same ability to atomically mask all signals and operate * on struct timespec makes it similar to the preferred ppoll interface @@ -364,8 +369,13 @@ nbdkit_nanosleep (unsigned sec, unsigned nsec) * a recalculation of the timeout to still reach the end...
2011 Oct 12
5
strsplit question
Dear R People: I have the following set of data > Block[1:5] [1] "5600-5699" "6100-6199" "9700-9799" "9400-9499" "8300-8399" and I want to split at the - > strsplit(Block[1:5],"-") [[1]] [1] "5600" "5699" [[2]] [1] "6100" "6199" [[3]] [1] "9700" "9799" [[4]] [1]
2019 Aug 03
0
[nbdkit PATCH 3/3] server: Add and use nbdkit_nanosleep
...-297,3 +299,62 @@ nbdkit_realpath (const char *path) return ret; } + + +int +nbdkit_nanosleep (unsigned sec, unsigned nsec) +{ +#ifndef HAVE_PPOLL +# error "Please port this to your platform" + /* Porting ideas, in order of preference: + * - POSIX requires pselect; it's a bit clunkier to set up the poll, + * but the same ability to atomically mask all signals and operate + * on struct timespec makes it similar to the preferred ppoll interface + * - calculate an end time target, then use poll in a loop on EINTR with + * a recalculation of the timeout to still reach...
2019 Aug 03
5
[nbdkit PATCH 0/3] More responsive shutdown
We noticed while writing various libnbd tests that when the delay filter is in use, there are scenarios where we had to resort to SIGKILL to get rid of nbdkit, because it was non-responsive to SIGINT. I'm still trying to figure out the best way to add testsuite coverage of this, but already proved to myself that it works from the command line, under two scenarios that both used to cause long