Giter VIP home page Giter VIP logo

Comments (4)

stoewer avatar stoewer commented on August 22, 2024

This would help allot, since currently setUpdatedAt() is not invoked in some places and therefor update times are sometimes wrong.
There is only one problem: If we want to preserve the creation time, when one entity is copied from one fine to another, we must find a way to overwrite the ctime inside the hdf5 file.

from nix.

balint42 avatar balint42 commented on August 22, 2024

not sure if I understand the issue: why & when to copy an entity from one file to another?

from nix.

gicmo avatar gicmo commented on August 22, 2024

I had a look into[1] this and it is quite disappointing. Apparently support for everything but ctime for datasets is lacking:

% ./playground                                                               [master|◯]
--- group
atime: 0 Thu Jan  1 01:00:00 1970
mtime: 0 Thu Jan  1 01:00:00 1970
ctime: 0 Thu Jan  1 01:00:00 1970
btime: 0 Thu Jan  1 01:00:00 1970
---
--- dataset
atime: 0 Thu Jan  1 01:00:00 1970
mtime: 0 Thu Jan  1 01:00:00 1970
ctime: 1393954764 Tue Mar  4 18:39:24 2014
btime: 0 Thu Jan  1 01:00:00 1970
---
--- file
atime: 0 Thu Jan  1 01:00:00 1970
mtime: 0 Thu Jan  1 01:00:00 1970
ctime: 0 Thu Jan  1 01:00:00 1970
btime: 0 Thu Jan  1 01:00:00 1970
---

See also this conversation from June, 2012: [2]

This is basically a showstopper for this bug -> not a target for Milestone First Alpha.

[1] Compete hack as a test: https://gist.github.com/gicmo/9351530
[2] http://permalink.gmane.org/gmane.comp.programming.hdf/3580

from nix.

jgrewe avatar jgrewe commented on August 22, 2024

Indeed a bit disappointing and I would not like to implement created_at in a different way than the updated_at time-stamp...

from nix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.