metadata

How To Check for an Index in Oracle

I am writing a schema upgrade script for a product that depends on an Oracle database. In one area, I need to create an index on a table - if that index does not already exist. Is there an easy way to check for the existence of an index that I know the name of in an Oracle script? It would be similar to this in SQL Server: IF NOT EXIS...

Is there a 3rd party .NET library/assembly that will parse & import files using a metadata-driven approach?

Hi, I need to parse a bunch of delimited flat files and import them into a database. I could build my own simple metadata-driven parser and importer but figure there must be something like this out there already? Thanks, Dave. ...

Does anyone bother with Dublin Core anymore?

As the question states, is there any point adding Dublin Core meta-tags to your HTML head? Or has sitemap.org removed the use for most of this (though it only replaces some of the tags) I ask this as most sites I visit don't seem to use DC metatags in their source. I'm interested in whether I need them for a site that will be used mos...

SEO for common misspellings

Here's the general question that I'm asking: How do you optimise your website so that searches using common misspellings of your name find their way to you? And my specific situation: At my company, we sell online education courses. These are given a code of two letters followed by two numbers, eg: BE01, BE02, IH01. These courses have ...

MagicDraw: Bind style to model

Hey guys, is it possible to bind a defined style to a metamodel (uml2 profile), so that every time I use this metamodel (profile), I also use this defined style? I hope you get what I mean. :) greets Tobias ...

WCF Service Backwards Compatibility Check

I have just written a new version of a WCF web service and I want to make sure that I have not made any breaking changes with regard to Service and Data contracts. Thinking back to my days as a VB6 Com Api developer I recall how easy it was to specify the previous release version of the component at compile time, and have the compiler c...

Oracle 9i: How can I determine, using metadata, whether or not an index is clustered?

The question pretty much sums this up, but I'll provide some more details. I can almost safely assume that any primary key index in an Oracle database is clustered. But I'm not one to assume. Besides, a user might have created a clustered index that wasn't the primary key. If that's the case, I'd really like to know. So, in the interes...

Having an image stripped of metadata upon upload in PHP

A certain site I know recently upgraded their bandwith from 2,5 TB monthly to 3,5 TB. Reason is they went over the 2,5 limit recently. They're complaining they don't know how to get down the bandwidth usage. One thing I haven't seen them consider is the fact that JPEG and other images that are displayed on the site(and it is an image-h...

Is there a way to ease the pain of maintaining .NET assembly references?

I'm currently working on a web project that involves several assemblies, structured something like this: WebProject | +--> A (external assembly, Version 1.0.0.0) | +--> B (external assembly, Version 1.0.0.0) The difficulty is that in order to keep track of what's deployed, I'd like to updated the version numbers of assemblies A an...

Reading metadata from images in WPF

I'm aware that WPF allows you to use images that require WIC codecs to view (for the sake of argument, say a digital camera RAW file); however I can only see that it lets you show the image natively, but I can't see anyway of getting at the meta-data (for example, the exposure time). It obviously can be done, as Windows Explorer shows i...

How do I look at column metadata in Sybase?

I have a list of columns a co-worker has given to me, but these columns reside in different tables in the DB. Is there some kind of tool in Sybase where I can query the table a column belongs to? (I've tried Google-ing for this kind of tool, but no luck so far) ...

How do I stop search engines indexing a maintenance page

I need to setup a maintenance page for a website I'm running, e.g. for display when I'm performing site maintenance (scheduled downtime) or if something really breaks and I need to put up a holding page. Is there anything special I need to do to ensure that search engine crawlers don't index it and think that it's my site. Or should I d...

What’s the best way to discover all variables a Perl application has currently defined?

I am looking for best, easiest way to do something like: $var1="value"; bunch of code..... **print allVariablesAndTheirValuesCurrentlyDefined;** ...

What is the difference between SGML and XML?

All the Google results suck. ...

How can I write DAOs for resources with extensible properties?

I'm trying to write an embedded (NOT web, not enterprise) content management system in Java, with a focus on organization and ease of use and scalability to 100,000 or so items. The user & system should be able to create and define metadata items which can be associated with unique resources, to allow for searching. For example, they c...

Using WPF Imaging classes - Getting image dimensions without reading the entire file

Hi guys Link this post I want to be able to read an image files height and width without reading in the whole file into memory. In the post Frank Krueger mentions there is a way of doing this with some WPF Imaging classes. Any idea on how to do this?? Cheers Anthony ...

How can you get the metadata of an image by the Perl module?

I installed the following component by MacPorts: p5-image-info @1.16 (perl, graphics) Extract meta information from image files It says in its website that you can use it by Usage is something like this: use Image::Info qw(image_info); @info = image_info("filename"); $refto_hash_describing_1st_image = $info[0]; $reft...

Is AssemblyInfo.cpp necessary?

I want to remove AssemblyInfo.cpp, because of some metadata errors that sometimes come up. Is AssemblyInfo.cpp useful for anything? Or can it be removed without any problem? ...

What Meta informations should I use ?

Hi, I see a lot of different point of views on internet concerning meta tags. I've been using them for a while, but I'm now wondering if I've been doing it using the current best practices. I know that the description is the most important one... <meta name="description" content="This is not a website" /> But what about other meta t...

"LNK2022: metadata operation failed" driving me insane

I have a big solution with lots of projects, using VS2008 SP1, and at least once a day I encounter the LNK2022 error. If I do a full rebuild of the solution it builds fine, but this is not fun. It happens when a dependent DLL is changed 'insignificantly' (i.e. without changing any methods or classes), and the referencing project is late...