Questions tagged [metadata]

Meta-data provides information about one or more aspects of the data. Meta-data may refer to either structural metadata (data about the containers of data) or descriptive metadata (data about data content).

Metadata may refer to either descriptive, structural or administrative metadata, which is data about data content.

Descriptive metadata describes elements such as title, abstract, author, and keywords to be associated with a document.

Structural metadata describes the types, versions, relationships and other characteristics of documents.

Administrative metadata provides information such as when and how a document was created, file type and other technical information, and who can access it.

6332 questions
36
votes
3 answers

What does "^:static" do in Clojure?

I've seen the ^:static metadata on quite a few function in the Clojure core.clj source code, e.g. in the definition of seq?: (def ^{:arglists '([x]) :doc "Return true if x implements ISeq" :added "1.0" :static true} seq? (fn ^:static seq?…
mikera
  • 105,238
  • 25
  • 256
  • 415
36
votes
3 answers

How to set InputStream content Length

I am uploading files to Amazon S3 bucket. The files are being uploaded but i get the following Warning. WARNING: No content length specified for stream data. Stream contents will be buffered in memory and could result in out of memory…
Shaonline
  • 1,597
  • 6
  • 18
  • 36
36
votes
6 answers

Is there a way to touch() a file in Amazon S3?

I'm currently working with Amazon S3 and I am writing a program that uses the modified dates. I'm looking for a way to edit the modified dates. I could loop trough all the files and save them as they are, but this sounds like a bad solution. In PHP…
Ron van der Heijden
  • 14,803
  • 7
  • 58
  • 82
35
votes
3 answers

How can I obfuscate my sdk coded with kotlin (and get rid of Metadata)

I'm developing a SDK (Android library), and I have to obfuscate a large part of my code so the customer may not try and play with internal code. My lib is coded in kotlin, and I used proguard to obfuscate the code. Problem is that there are still…
AlexG
  • 367
  • 3
  • 6
34
votes
3 answers

Finding a list of all double-underscore variables?

Related: What is the common header format of Python files? Where can I find a list of all double-underscore variables that are commonly used in Python? In Python, variables starting and ending with double underscores are typically to store metadata…
Michael0x2a
  • 58,192
  • 30
  • 175
  • 224
34
votes
4 answers

Is it possible to add a description/comment to a table in Microsoft SQL 2000+

Is it possible to add a "metadata"-like description or comments to a table in Microsoft SQL 2000 and above? How would you do this through the CREATE TABLE statement? Is it possible to add a description or comment to fields? How do you query this…
BuddyJoe
  • 69,735
  • 114
  • 291
  • 466
34
votes
1 answer

Should I resubmit the binary after replying to a metadata rejection?

I have received a metadata rejection for my application requesting some clarification about my application Information Needed Your iTunes Connect settings indicate that your app serves third-party advertisements. However, we were unable to locate…
Iphone User
  • 1,930
  • 2
  • 17
  • 26
34
votes
4 answers

Add extra meta for orders in Woocommerce

I'm creating a custom plugin for my website. In some part of this plugin I need to store extra meta in wp_postmeta for each orders. I added this in my plugin's class: add_action ('woocommerce_before_checkout_process', array( &$this, 'add_item_meta',…
Mo Saeedi
  • 575
  • 1
  • 5
  • 15
33
votes
2 answers

What is the origin of __author__?

Where does the convention of using private metadata variables like __author__ within a module come from? This Python mailinglist thread seems to hint at some discussion about it in 2001, but by the sound of it the convention was already out in the…
mvanveen
  • 9,754
  • 8
  • 33
  • 42
33
votes
3 answers

Is there a way to alter column type in hive table?

The current schema is: hive> describe tableA; OK id int ts timestamp I want to change ts column to be BIGINT without dropping table and recreate again. Is it possible?
interskh
  • 2,511
  • 4
  • 20
  • 20
33
votes
4 answers

Can matplotlib add metadata to saved figures?

I want to be able to ascertain the provenance of the figures I create using matplotlib, i.e. to know which version of my code and data created these figures. (See this essay for more on provenance.) I imagine the most straightforward approach would…
ihuston
  • 893
  • 6
  • 10
32
votes
5 answers

How do you embed album art into an MP3 using Python?

I've been using mutagen for reading and writing MP3 tags, but I want to be able to embed album art directly into the file.
Connor
31
votes
5 answers

How to extract metadata from an image using python?

How can I extract metadata from an image using Python?
MrDanger
  • 331
  • 1
  • 3
  • 3
31
votes
4 answers

What are some uses of Clojure metadata?

How have you used metadata in your Clojure program? I saw one example from Programming Clojure: (defn shout [#^{:tag String} message] (.toUpperCase message)) ;; Clojure casts message to String and then calls the method. What are some uses? This…
unj2
  • 52,135
  • 87
  • 247
  • 375
30
votes
5 answers

Find if a column in Oracle has a sequence

I am attempting to figure out if a column in Oracle is populated from a sequence. My impression of how Oracle handles sequencing is that the sequence and column are separate entities and one needs to either manually insert the next sequence value…
stimms
  • 42,945
  • 30
  • 96
  • 149