Questions tagged [metadata]

Metadata is data about data, such as when it was created, and by whom, and how it is stored.

13 questions
10
votes
1 answer

Is there a situation where it would be better to use weak references instead of simple composition?

Although the Java docs specify, that Weak references are primarily for canonicalizing mappings, you will find many, many, many people on the internet stating, that the WeakHashMap is perfect for storing object metadata during its lifetime. However,…
Leprechaun
  • 240
  • 1
  • 6
4
votes
1 answer

Is there a standardised way of adding custom metadata to image and other filetypes?

What's a good way of storing and referencing files of different types (csv, pdf, jpg, html), each of which needs my own custom metadata? The metadata stores details of the content and how it was created. Ideally I could add metadata to the file…
MrTelly
  • 637
  • 4
  • 8
3
votes
2 answers

How to propagate seldomly changing data in a distributed system

We store data – some kind of metadata like car manufacturers or types of computer parts – in one of our applications. This data changes rarely. Let's say it changes once every two weeks. This data is also relevant for other applications in other…
Harold L. Brown
  • 207
  • 1
  • 5
3
votes
1 answer

Is there a standard project metadata / dependency file for Python?

In my Node.JS projects, I save my project metadata into package.json: dependencies, version number, author, description, and so on. This makes it so anyone can clone my project and run npm install to create a virtually identical local…
sffc
  • 133
  • 5
2
votes
3 answers

What metadada to save and whether to include it inside the binary file?

I'm wondering if there are any general guidelines or best practices regarding when to split data into a metadata format, as oppose to directly embedding it within the data. (Specific example below). My understanding of metadata is that it describes…
smg
  • 135
  • 5
1
vote
1 answer

Metadata evolution considerations?

As application evolves, so does the metadata. What are the top considerations for transitioning into a more refined metadata schema? Two example cases, which in my opinion are quite archetypal. Case 1. New metadata is more structured and detailed.…
Roman Susi
  • 1,763
  • 2
  • 12
  • 20
1
vote
3 answers

How to handle custom metadata in XML?

Backstory I have an XML type document (SSML, which is used forText-To-Speech), which will be used to generate audio files when ssh transferred to a remote server. As such, I will need to include metadata for the ID3 tags that typically are used in…
Anon
  • 3,565
  • 3
  • 27
  • 45
1
vote
1 answer

Meta-driven application an anti-pattern in MVC context?

I am working with Ruby on Rails at work and have been reading the Pragmatic Programmer on the side. I was given the task to create some small registration application with ~10 form fields. From my previous experience, when dealing with forms it…
Pithikos
  • 232
  • 2
  • 9
1
vote
2 answers

How to design a meta model for configuration?

In our software we have a client/server architecture where the server is actually running on an embedded system with various hardware components (sensors, etc.). The different sensors as well as other features of the system itself can be configured…
aKzenT
  • 457
  • 4
  • 10
0
votes
5 answers

Metadata persisted or created at runtime?

Let us say I have an entity House that I want to store on a database. The House has an attribute yearBuild. If the house was build before 1990 its status should be 'ToBeSelled'. Now I have two ways to model this a) store the status in the database…
Cap Barracudas
  • 1,001
  • 9
  • 17
0
votes
0 answers

Managing an index of file metadata on a network share

What is a good way of setting up a "shared index" of file metadata, when there can be no shared process such as a database server? I'll explain the scenario: A server contains M (say 10000) large files (say e.g. image files). each file is in a…
Anders Forsgren
  • 449
  • 4
  • 8
0
votes
1 answer

What is the proper way to track my build versions in Qt?

Basically what I need in my project is a number of some sort that iterates itself every time I build my project, and that I can output by my program. So for example, when generating audio, I need to add metadata that states that this audio file was…
Anon
  • 3,565
  • 3
  • 27
  • 45
0
votes
1 answer

What metadata do files contain?

I know when a file is created date information such as date created, last modified, last opened, is automatically updated as meta data on that file. Is there other meta data though? Specifically, is there a way to tell what…