Displaying 5 results from an estimated 5 matches for "200503".
Did you mean:
200507
2007 May 10
3
Getting the last day of the month.
...day of the
month, I tried
> as.Date(as.yearmon(x$Date,frac=0))
But I don't get the last day of the month here. (Tried frac=1 too.)
I then add a month to the date, substract one day from the resultant
date. But this wouldn't work for December.
> x$YearEnd
[1] 200203 200303 200403 200503 200603 200603 200312 200503 200603
200203 200303
[12] 200403 200503 200512 200612 200203 200303 200403 200503 200603
>
> x$Date <- as.Date(ISOdate(substr(x$YearEnd,1,4),
+ as.integer(substr(x$YearEnd,5,6))+1,
+ 1))-1
> x$Date
[1] "2002-03-31" "2003-03-31" "200...
2005 Mar 07
0
[Bug 2423] New: Feature Request: Ability to transfer files newer than date or file. (--newer switch).
...e] transfer only files newer than file or date
(e.g. rsync --newer "15/03/05 21:22:00" -a dir1 dir2)
That would really make my day when transferring daily cumulative sql changelogs
and not having to keep older ones.
E.G:
changelog-200502-09.sql 100Mb
changelog-200503-01.sql 100Mb
changelog-200503-02.sql 100Mb
changelog-200503-03.sql 56Mb (and growing)
The first 3 files were transferred, applied to the backup database and deleted.
The third file is then partially transferred until it reaches 100Mb. There's no
way however to just rsync files newer than chang...
2012 Nov 09
2
Creating yyyymm regexp strings on the fly for aggregation.
...s<-function(yrs, numSplits) {
unlist(lapply(yrs, function(x){ paste(x,formatC(numSplits, width = 2, flag = 0), collapse = "|", sep = "")}))
}
Here is an example of running the function:
groupingStrings(2004:2006, 1:3)
[1] "200401|200402|200403" "200501|200502|200503" "200601|200602|200603"
This would yield first quarter matches for the years 2004 through 2006.
My plan was to use both splitIt and groupingStrings to be able to create regexps all quarters.
In addition I want it to be flexible enough for me to be able to create matching regexps...
2005 Mar 12
3
[Bug 2423] Feature Request: Ability to transfer files newer than date or file. (--newer switch).
...------------------------------------------
Status|NEW |ASSIGNED
------- Additional Comments From wayned@samba.org 2005-03-12 16:35 -------
I'd suggest using a combination of "find" and the --files-from option to rsync:
find . -newer changelog-200503-02.sql | rsync -av --files-from=- . host:/dest/
or
find /src -mtime -1 | rsync -av --files-from=- / host:/dest/
Unfortunately, that only works (easily) with a push, which is rather annoying.
Even so, I'm currently doubtful that I'll include this, but I'll leave it open
for now as a...
2017 Jan 27
2
Preserving Call to Intrinsic function
Hello everyone,
Consider we have this following set of code:
int foo() {
int a,b;
a = __builtin_XX(0x11);
b = __builtin_XX(0x11);
return a+b;
}
The problem currently is that LLVM eliminated the second call and copied
the result from the first call into a new set of registers. Is there is a
way to force LLVM to generate two explicit calls to a builtin function. The
builtin takes in an integer