Displaying 20 results from an estimated 150 matches similar to: "Add missing values/timestamps"
2009 Apr 15
2
shift/lag when merge zoo
Hello alltogheter,
I have a little problem regarding merging to zoo series.
I want to merge two zoo series to reduce the timegaps between the stamps.
I use the following code:
data.test <-
as.POSIXct(seq(data.input01[1,1],data.input01[nrow(data.input01),1],900),tz="GMT")
data.troughput01 <- as.zoo(data.input01$V2)
index(data.troughput01) <-
2009 Mar 26
1
Sort by timestamp
#Good morning alltogheter. I'm using R for a short time to analyse TimeSeries
and I have the following Problem:
#I have a bunch of Time Series:
#First of all I import them from a txt File
data.input01 <-read.csv("./LD/20081030.txt", header = TRUE, sep = ";",
quote="\"", dec=",", fill = TRUE, comment.char="")
data.input02
2006 Apr 12
1
timestamps in fixtures
what''s the recommended way to insert database agnostic timestamps in
fixtures? at present, I''m using strftime to insert a mysql formatted time
string but that would break my fixtures if I move to a different db. what''s
everyone else doing?
2007 Oct 05
0
file type to monitor files recursively and ignore dir timestamps
I have a manifest that looks for changes in files recursively and
restarts a service should it find any changes. Problem is that i
''ignore'' some files that i do not wish to monitor and ones that change
occasionally and when they change it modifies the timestamp on the
directory which in turn triggers puppet to restart the service.
So is there a way to monitor only file
2006 Feb 12
0
slicing and dicing timestamps by month, week, day, etc
I''m trying to finish up a comp lab sign-in app in RoR that includes a db
table logging each visit with a timestamp. I want to be able to loop
through the visits table and get a weekly or monthly array and print a
table of the last four weeks listing a count for the number of visits
each day. I''ve got it working alright but it''s pretty ugly...overcoded.
Does anyone
2006 Feb 14
0
Preserving seconds fraction in PG timestamps when updating?
I have this code:
Link.find(params[:id]).toggle!(''active'')
Before it, its timestamp is:
2005-11-20 20:45:48.741973-07
After:
2005-11-20 20:45:48-07
Why does Rails take it upon itself to truncate the
seconds fraction? How can I get Rails to not change
it?
Thanks,
csn
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best
2005 Mar 03
0
uniform handling of timestamps
considering that sqlite, mysql, postgresql, etc all handle times differently
(well only postgresql really *handles* them) i''m wondering how to best
approach time fields in rails. my current thinking is that sqlite is the
least common denominator: it stores everything as text and does not checking,
mysql has datetime, date, and timestamp but does poor checking (crippled to be
precise) to
2011 Apr 27
0
Preserving timestamps with smbclient
I have a backup script that uses smbclient to push files to a Windows
server and I have noticed that the mtime on the server is the time of
upload, not the mtime of the original file. I can not find an option to
preserve the original mtime. Does such a thing exist? Shouldn't it do
this by default?
2010 Jun 07
1
GPFS, samba, robocopy and timestamps
Hi list,
I'm trying to use robocopy to move some files over to a samba share
backed by GPFS. I keep getting "ERROR 50 (0x00000032) Time-stamping
destination file ... The network request is not supported."
What is strange is that the files are still coped over, even though
robocopy believes the copy failed, and in the smb log I don't have any
errors or erroneous NT_STATS
2011 Jun 03
0
Preserving timestamps with smbclient
I have a backup script that uses smbclient to push files to a Windows
server and I have noticed that the mtime on the server is the time of
upload, not the mtime of the original file. I can not find an option to
preserve the original mtime. Does such a thing exist? Shouldn't it do
this by default?
2007 Oct 20
0
Proper timestamps in callbacks
Yay, another Task model:
## the model
class Task < ActiveRecord::Base
attr_accessible :lots, :of, :stuff, :but, :not, :finished_at, :and, :finished
before_save do
@before_save.call if @before_save
end
def finish
self.finished = true
@before_save = proc { self.finished_at = Time.now }
end
end
## usage
t = Task.find(some_id)
t.finish
t.save
(same code on pastie:
2010 Jun 01
0
Samba and Windows file timestamps
I have setup Samba 3.4.7 as a network file server for a Windows XP machine and have the basic sharing working. For my Windows files, I would like to preserve the attributes and create/modify dates and my searches have found some mention of modifying Samba to accomplish this. Has anyone made this work with the current Samba package? Does Samba 3.5.x support this natively?
2013 Oct 22
0
Timestamps on -d 10 output from samba-tool
Hi all,
Is there a way of getting the same timestamps (hires if possible) on
output to stdout/stderr that appear in the log files?
For example, running:
samba-tool ntacl sysvolreset -d 10
gives me level 10 debugging output but doesn't timestamp the lines. I
have all the timestamp options enable in my smb.conf and my log-files
have timestamps.
Thanks,
Alex
2008 Apr 26
1
Does a script exist to fix broken maildir timestamps?
Hello,
When I upgraded to dovecot (changing servers at the same time) in
November last year I copied the maildirs from my old server without
using the -p option to preserve timestamps! Since my mail client
displays the email dates based on the Date header rather than the imap
"internaldate" I didn't notice the problem until today when I tried to
migrate an account to gmail using
2006 Aug 21
0
Timestamps -- XP vs. w2K?
I know, I know: "Never trust the end user." Nevertheless, he may have a
valid point; if so, I'm somewhat confused: when XP simply *looks* at some
files, it updates their timestamps. This isn't just stuff like .XLS,
where it might be saving metadata, autosave info, or somesuch; this is
things like .JPG files. Why is that? It's confusing the users, 'cause
they assume
2009 Mar 02
1
Conflicting timestamps in rsyncd.log
Hi list,
I just setup my first rsyncd server and all is working well as far as
file syncing goes. However, I am a bit baffled by the fact that some of
the log entries in the rsyncd.log file are entered in local time and
other are entered in GMT. Here is a sample:
file upload:
============
2009/03/01 15:15:49 [22641] connect from UNKNOWN (xxx.xxx.xxx.xxx)
2009/03/01 23:15:49 [22641] rsync to
2008 Jul 28
1
Editing timestamps?
Hi, I''m redeveloping an old site for someone and want to import all
their old news archives into my database. They were previously stored
as text in the html so I''m having to cut and paste each story, so
everything is timestamped with today''s date. What''s the easiest way to
edit the timestamp so I can change it to the date it was originally
created?
Thanks
--
2009 Oct 28
2
MySQL sometime fail to record timestamps, become NULL.
My Rails apps using MySQL and sometime timestamps, created_at and
updated_at, become NULL.
Why it fails to record?
Does anyone know about this?
2018 May 17
0
Trusted Timestamps - has anybody used OriginStamp? I am lost with their R-client
Hi
I am looking into obtaining trusted timestamps in R for data files. I am considering using OriginStamp and their API which you can find at https://doc.originstamp.org/#!/default/getHashInformation . They have an R client code which is available here http://originstamp.org/dev but I have no clue on how I can use it - maybe because I have never used R6 classes and the whole topic of trusted
2017 Nov 25
1
How to read geo replication timestamps from logs
Folks, need help interpreting this message from my geo rep logs for my
volume mojo.
ssh%3A%2F%2Froot%40173.173.241.2%3Agluster%3A%2F%2F127.0.
0.1%3Amojo-remote.log:[2017-11-22 00:59:40.610574] I
[master(/bricks/lsi/mojo):1125:crawl] _GMaster: slave's time: (1511312352,
0)
The epoch of 1511312352 is Tuesday, November 21, 2017 12:59:12 AM GMT.
The clocks are using the same ntp stratum and