search for: d_

Displaying 20 results from an estimated 120 matches for "d_".

Did you mean: _d
2002 Jul 01
1
Substitutions in strings.
Hi all, Sorry to bother you with the potentially not too bright question, but since I cannot get it to work, I'll have to ask someone.. I've got this vector: > token [1] sal skal skal bak b_r d_ gal kal l_r n_r pak p_r [13] sal sl_r sn_r spak sp_r st_r s_ bak d_ gal l_r pak [25] p_r sak sl_r sp_r t_ kal n_r s_ st_r sak kal spak [37] s_ spik t_ n_r spik spak gal pak p_r sak sl_r spak [49] s_ s_r t_ b_r s_r b...
2013 Feb 18
3
Generating QFs from same sample
...he community can help me. It’s simple but I suppose I am missing something. I generate a data matrix X, say of order n*p, where n represents independent row-vectors and p correlated col vectors. Let the row representation be X = (X’_1, . . ., X’_n)’. I generate the differences of these vectors as D_{ab} = X_a – X_b, with different indices a and b, and similarly D_{cd} = X_c – X_d, and make a quadratic form D’_{ab}D_{cd} = A_{abcd}, say. Please note that, here a is unequal b, c is unequal d, a is unequal c, b is unequal d. By slightly shuffling the same set of vectors, I generate two other si...
2005 Dec 05
1
Automatic time zone conversion
...s in GMT. I need to convert it to CST (GMT+8). I did the following steps. > cdate [1] "2000-05-11_01:00:00.0000\005\003" # I am not sure why the extra characters at the end but it doesn't affect the strptime function so I just ingored it. > strptime(cdate,format="%Y-%m-%d_%H:%M:%S") [1] "2000-05-11 01:00:00" # In order to incoporate GMT into the record, I use paste function to stick it in. >as.POSIXct(as.character(strptime(cdate,format="%Y-%m-%d_%H:%M:%S")),tz="GMT") [1] "2000-05-11 01:00:00 GMT" #It is easier to just...
2009 Apr 25
2
Extracting an object name?
...or in UseMethod("predict") : no applicable method for "predict" Is there a way to pass the unknown object name to predict, or do we need to ask the students to redo all the work with a given model name? (I hope not!) function(L) { fname <- format(Sys.time(), 'Totals_%b%d_%H%M_%S.txt') filesused <- format(Sys.time(), 'Files_%b%d_%H%M_%S.txt') setwd("/Users/gregg/R_system") dire <- getwd() print(dire) flies <- list.files(pattern = "BIOtotal*")# flies instead of files because of FEAR of reserved words!!! for(i in 1:length(flies)...
2019 Sep 01
3
vfs_shadow_copy2 not working
...n my smb.conf file: [shadowtest] path = /pool/shadowtest valid users = user1 read only = no writeable = yes guest ok = no create mode = 770 directory mode = 770 vfs objects = shadow_copy2 shadow:snapdir = /skyhawk2x4tb/shadowtest/.zfs/snapshot shadow:snapprefix = ^autosnap_ shadow:format = %Y-%m-%d_%H:%M:%S_\(frequently\)\{0,1\}\(hourly\)\{0,1\}\(daily\)\{0,1\}\(monthly\)\{0,1\} shadow:delimiter = _ shadow:sort = desc shadow:localtime = no I do not see the snapshots listed in the Windows Previous Version tab, so it doesn't work, but I can't figure out why. Any ideas? ??????? Origi...
2019 Aug 10
2
vfs_shadow_copy2 not working
...snapshots are being named like so: autosnap_2019-08-10_21:00:00_frequently autosnap_2019-08-10_21:00:00_monthly autosnap_2019-08-10_22:00:00_hourly This is in my smb.conf: [test] vfs objects = shadow_copy2 shadow:snapdir = /test/.zfs/snapshot shadow:snapprefix = ^autosnap_ shadow:format = %Y-%m-%d_%H:%M:%S_\(frequently\)\{0,1\}\(hourly\)\{0,1\}\(daily\)\{0,1\}\(monthly\)\{0,1\} #shadow:delimiter = _ shadow:sort = desc shadow:localtime = no I've also tried it with the delimiter line uncommented (and then removing the underscore from the snapprefix), I've tried putting the shadow:forma...
2013 Aug 07
2
The docs a re a bit weird on "Directory hashing"
...heme. While trying to understand how that hash will work I stumbled a old thread at: http://www.dovecot.org/list/dovecot/2010-June/049695.html there they used: mail_location=maildir:/buzones/us.es/%1Hu/%2.1u/%n so I assume it should be used like that: mail_location=maildir:/home/vmail/%H/%2.256Hn/%d_%n/Maildir/ or: mail_location=maildir:/home/vmail/%1Mu/%2.1Mu/%d_%n/Maildir/ It's a bit hard to think alone so I hope you can assist me. let say I want to follow the model of squid cache_dir which has: cache_dir aufs /usr/local/squid/var/cache/squid 40000 16 256 And means a two layers cache o...
2010 Oct 04
0
spatial interaction (gravity) model as Poisson regression
...vely, and there are several mentions of this question, but I have yet to find anything concrete that I can wrap my head around... apologies if I have missed something. Basically, the conventional origin constrained model would look something like this: T_{ij} = exp(\delta_{i} + \log{A_{j}} - \beta D_{ij}) ~ \varepsilon_{ij} where \delta_{i} is a constant parameter speci?c to the ith zone, A_{j} is the attractiveness of the jth location, and D_{ij} is the distance between i and j. Note that \varepsilon_{ij} is just the multiplicative error term of the ?ow from i to j, and \beta is the distance d...
2013 Feb 17
0
strptime() with format %OS does not print millisecs in MacOS
Hi! I'm finding this on MacOS Lion 10.7.5 > getOption("digits.secs") NULL > a <- "2012_10_01_14_13_32.445" > strptime(a,format="%Y_%M_%d_%H_%M_%OS") [1] "2012-02-01 14:13:32" > strptime(a,format="%Y_%M_%d_%H_%M_%OS3") [1] NA I can solve it with > options(digits.secs=3) > strptime(a,format="%Y_%M_%d_%H_%M_%OS") [1] "2012-02-01 14:13:32.445" But is this not in contradiction with t...
2013 Aug 20
2
Dialplan MySQL inserted ID
Hello, how can I obtain the "inserted ID" after having inserted a row with MySQL in the dialplan ? exten => s,n,MYSQL(Query resultid ${connid} INSERT INTO myTable SET C1="${ARG1}", C2="${ARG2}", timestamp="${STRFTIME(${EPOCH},,%Y-%m-%d_%H:%M:%S)}") I need to know the ID of the newly inserted row. Kind regards, Jonas. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130820/723b052e/attachment.htm>
2014 Jan 24
2
vfs_shadow_copy2 with different snapshot format
...Jan 10 12:37 20140115_12:00 drwxr-xr-x 55 root root 32768 Jan 10 12:37 20140116_12:00 drwxr-xr-x 55 root root 32768 Jan 10 12:37 20140117_12:00 we have this in smb.conf : vfs objects = shadow_copy2 gpfs acl_xattr fileid shadow:snapdir = .snapshots shadow:localtime = yes shadow:format = "%Y%m%d_%H:%M" shadow:fixinodes = yes shadow:snapdirseverywhere = yes shadow:sort = desc ..however going into the previous versions tab in the explorer properties dialog for a directory always shows that no previous versions are available. Thanks, Sabuj
2010 May 07
0
Cluster procedure using geographical neighborhood
...Deleeting is not ok; you should make them "large" in some way. I think you should just define your dissimilarities by *both* the "variability" (your current dist()) *and* the geographical distance, maybe giving much more weight to the geographical distance, something like D_{i,j} := d_{i,j} + w* d~(X_i, X_i) where d_{i,j} are your dist() or daisy() dissimilarities, 'w' is weight factor and d~(u,v) is e.g. the geodesic distance between u and v. I'm CC'ing this to the R-help mailing list, as I think you could get more advice from there. Martin Maec...
2007 Oct 02
3
Logwatch for postfix
On CentOS5 with the latest updates applied, the logwatch filter for postfix returns way too many lines from the log. I get an "unmatched entries" message and all messages that have gone through the system is listed. Here is an example: 8F930A8092: to=<morten at foo.bar>, orig_to=<morten at localhost>, relay=local, delay=0.19, delays=0.06/0.01/0/0.12, dsn=2.0.0,
2011 Feb 02
2
Using MathJax in R's help system
...e/man/svd.Rd: for demonstration: 47,51c47,50 < \deqn{ \mathbf{X} = \mathbf{U D V}^\top,} where \eqn{\mathbf{U}} and \eqn{\mathbf{V}} are < orthogonal, \eqn{\mathbf{V}^\top} means \emph{V transposed}, and < \eqn{\mathbf{D}} is a diagonal matrix with the singular < values \eqn{D_{ii}}{D[i,i]}. Equivalently, \eqn{\mathbf{D} = < \mathbf{U}^\top \mathbf{X V}},\deqn{1 = \int_{\mathbb R}\phi(z)dz} --- > \deqn{ \bold{X = U D V'},} where \eqn{\bold{U}} and \eqn{\bold{V}} are > orthogonal, \eqn{\bold{V'}} means \emph{V transposed}, and > \eqn{\bold{D}}...
2004 Aug 06
2
RPM's
Hi, <p>I deleted config.cache and gave ./configure another try and got the same o I looked in the config.log and found the following configure:6312: gcc -o conftest -O20 -ffast-math -fsigned-char -D_REENTRANT -D_$ configure:6305:26: vorbis/codec.h: No such file or directory configure: failed program was: #line 6302 "configure" #include "confdefs.h" o I looked on the box and tried to locate vorbis but this dir is not on the box at all Just wondering what I have done wrong...
2013 Jan 14
2
Reports from 5.00
...t seem to work correctly (tested with pwd.c32), specially when the new cfg file (the first parameter of the CONFIG directive) is not located in the soon-to-be new CWD. One potential example could be the ML email thread that _ends_ at http://www.syslinux.org/archives/2012-December/019062.html. D_ (This one might be already solved in git, but I have not re-tested it.) Getting out from HDT (version from Syslinux 5.00) using the "exit" option (instead of rebooting) so to return back to syslinux (menu.c32) fails (hangs). How to reproduce: boot to menu.c32, select hdt.c32 entry, ex...
2006 Aug 12
5
Windows build?
...I run rake to compile I receive the following error. App.cpp c:\wxWidgets-2.6.3/include\wx/platform.h(190) : fatal error C1083: Cannot open include file: ''wx/setup.h'': No such file or directory rake aborted! Command failed with status (2): [cl.exe -c -Ic:\wxWidgets-2.6.3/include -D_...] I''m not sure why this is happening. I have looked at my environment variables and don''t see any errors there. Thanks, Joe _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxru...
2020 Oct 05
2
VFS shadowcopy2 with FeeBSD & ZFS
...thing in the 'previous versions' tab. I think it's doing something as it say 'working' for a short amount of time. Also if I crank up vfs debugging to 10 I get: [2020/10/05 16:50:03.879093, 10, pid=50572, effective(0, 0), real(0, 0), class=vfs] ../../source3/smbd/vfs.c:65(vfs_find_backend_entry) vfs_find_backend_entry called for shadow_copy2 Successfully loaded vfs module [shadow_copy2] with the new modules system ... [2020/10/05 16:50:12.483055, 10, pid=50572, effective(3000037, 20), real(0, 0), class=vfs] ../../source3/modules/vfs_default.c:1327(vfswrap_fsctl) FSCTL_G...
2018 Mar 28
2
[sieve][pigeonhole] Can't catch stdout for pipe script after upgrade Dovecot 2.2 -> 2.3
Hi. I use custom script: > require [ "vnd.dovecot.pipe", "variables" ]; > > if address :is :all "from" "snip at snap" > { > ? pipe "sieve_to_owncloud"; > } sieve_to_owncloud: > DATE=`date +%Y-%m-%d_%H-%M-%S` > PYTHONIOENCODING=utf8 python /opt/sieve-pipe/python-imap-to-owncloud.py \ > ? --owncloud-host https://<snip-snap> \ > ? --owncloud-user user \ > ? --owncloud-password secret \ > ? --owncloud-path /path/to/here &>/tmp/sieve_logger_py_${DATE} On dovecot 2.2 af...
2019 Sep 01
0
vfs_shadow_copy2 not working
...adowtest > valid users = user1 > read only = no > writeable = yes > guest ok = no > create mode = 770 > directory mode = 770 > vfs objects = shadow_copy2 > shadow:snapdir = /skyhawk2x4tb/shadowtest/.zfs/snapshot > shadow:snapprefix = ^autosnap_ > shadow:format = %Y-%m-%d_%H:%M:%S_\(frequently\)\{0,1\}\(hourly\)\{0,1\}\(daily\)\{0,1\}\(monthly\)\{0,1\} > shadow:delimiter = _ > shadow:sort = desc > shadow:localtime = no > > I do not see the snapshots listed in the Windows Previous Version tab, so it doesn't work, but I can't figure out why. Any...