metadata

reverse query method chain on c# assembly

I want to write some code( or if there is tool that can give thsi info ) that can return chian of methods executed( or called) - giving a starting point ( a fully qualified method name ) as input. I am hoping this can be done via querying metadata on a dotnet assembly. thanks for any pointers in advance! update #1: http://sequenceviz...

Scope and order of evaluation of Items in MsBuild

I wonder why in the following code, MsBuild refuses to set the Suffix Metadata. It does work with a CreateItem task instead of the ItemGroup Declaration (because CreateItem is computed at build time) but I can't do this here because this code is in a "property file" : the project has no target, it's just a bunch of properties/items I inc...

Outputting wordpress custom date field in different format

Okay, so I have a custom date field set up as 'm/d/Y H:i:s' and I'd like to echo that as 'M j'. How do I do this? ...

RavenDB changes metadata "Raven-Entity-Name"

I noticed that when I add a document to RavenDB and see the "Raven-Entity-Name" metadata it makes it plural. E.g. if my model name was Product it changes it to Products. Why such kind for behavior? If I have create an index I am forced to use docs.Products ...

How do you read/write/update m4u and mp3 file meta data using cocoa/objective c?

Are there some particular library files available on OS/X that are relevant, I am just not sure where to start. ...

Which image formats contain meta data, and how can I clear it in PHP?

Privacy concerns have lead me to believe I should scrub user uploaded images for any meta data. I know that JPEG have EXIF, but I'm not sure about PNG or GIF (both are able to be uploaded to my site from the public). Do these formats have meta data too, and how is it stored? What is the best way to remove it? I'm using PHP 5.29. Than...

SQL Server: should I use information_schema tables over sys tables?

In SQL Server there is two schemas for metadata: INFORMATION_SCHEMA SYS I have heard that INFORMATION_SCHEMA tables are based on ANSI standard. When developing e.g. stored procedures, should it be wise to use INFORMATION_SCHEMA tables over sys tables? ...

Finding an inverse relation in the Hibernate metadata

Hi, Hibernate exposes its data model through the Configuration object, where I can access PersistentClass and Property objects. Some of the Property objects describe a relation between two PersistentClass instances. For example, if I have a one-to-many relation between Person and Address in my model, and a many-to-one inverse relation ...

Icecast Metadata Extracting Produces Artifacts in Output Audio data

Hello. I am attempting to (in NodeJS): Connect to an Icecast internet audio stream. Ex: http://icecast3.977music.com/comedy Parse the response headers and extract the icy-metaint value. Write out the raw audio data to a file, while extracting the metadata bytes from the audio stream in order to: Intercept and parse the metadata when i...

How to view the header information of a video file AVI or FLV?

How do you view and or edit the metadata or header of a video file? ...

Reading a CR2 (Raw Canon Image) header using Python

Hello: I'm trying to extract the date/time when a picture was taken from the CR2 (Canon format for raw pictures). I know the CR2 specification, and I know I can use Python struct module to extract pieces from a binary buffer. Briefly, the specification says that in Tag 0x0132 / 306 I can find an string of length 20 - the date and tim...

error CS0006: Metadata file 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\...\some.dll' could not be found

Hi, I am experiencing this problem very often at my hosting server. The error starts happening occasionally for random DLL and until I ftp the web.config file again (even the same file), the error goes and the site starts working fine. I am posting the exception and stack trace below. Please help... Exception: error CS0006: Metadata...

Using the Description Metadata Attribute in ASP.NET MVC

I am working on a VB.NET project which is using ASP.NET MVC 2. I am taking advantage of the ability to add validation and other attributes to the metadata in my model. For example, I have added attributes such as <DisplayName("Full Name")> to the properties in my model and am rendering these using the Html.LabelFor () extension method....

PHP to place page-generated title into <head>

We include a header.php file across all the pages on our site. So we could either place a single title in the header.php file which would be applied to the entire site, or have a custom header within each page to be more descriptive. The problem is that in doing that, the title would be outside the head tags (which remain in the header...

Page displays blank in IE6 only when refreshed does it display

On select pages on my website, the page is initially blank until you refresh it and the content is displayed. The error disappears when the meta charset data is removed: <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> is changed to: <meta http-equiv="Content-Type" content="text/html;" /> The doctype is XHTML 1...

Compex MySQL Left Join using multiple entries from meta tables

I am trying to create a single query for getting information from the main table (WordPress user table), and the user meta table. If you're not familiar with WP DB architecture: wp_users holds basic user information and their IDs, wp_usermeta holds the ID, meta_key, and meta_value. Let's say I want to get all users that have certai...

Sharepoint 2010 Metadata Security

I was checking the TitusLabs product for sharepoint which basically lets you to give permissions to sharepoing documents using metadata. For example: you can have document ,you can give metadata to this document: Secret. Now only people belongs to the group Secret can access to this document. How do they do this? How do you hook into sha...

Read EXE, MSI, and ZIP file metadata in Python in Linux

I am writing a Python script to index a large set of Windows installers into a DB. I would like top know how to read the metadata information (Company, Product Name, Version, etc) from EXE, MSI and ZIP files using Python running on Linux. Software I am using Python 2.6.5 on Ubuntu 10.04 64-bit with Django 1.2.1. Found so far: Window...

Are Double constants truncated for display in VS?

The constant Math.Pi is, according to reflector and MSDN, equal to 3.14159265358979323846. When looking at the Math class in Visual Studio 2010, the value is displayed as 3.14159. Whom can I blame for truncating precious constants? ...

Get column names/types returned from a stored procedure

Is there a way via metadata (Information_Schema, perhaps?) to get a list of the columns a sproc will return? I'm trying to automate some code generation and that would help tremendously... ...