Meta Data and generics

In the development of generics are a big set of opinions how to implement it. In a C++ like language (which gets build into an executable) the most common choice is to do something like macro expansion. In Java on the other hand, it becomes much more complicated to implement generics, not only because Java supports run time loading of classes but it is also a new feature to the language, which makes it more difficult because backward compatibility is needed.
With the ongoing Tiger release, I noticed that generics are somewhat loose. There are many ways to undo what the idea behind generics is. This is mainly because previous build classes need to be able to use modern classes, which can be misinterpret if changing the bytecode semantics.
However, there is the possibility to use Meta Data to setup some of the rules needed by generics. The upside is that generics become much more strict, the downside is that older classes cannot understand it, and the strictness will get lost.
But is this a shame, should it be understood by older classes? Perhaps it is a possibility to provide two different classes. (Or at least, pieces of classes), one which is strict and is secure in the 1.5 environment, and one which is translated from this one, into an older pre-1.5 class, where the security is more loose. It should be possible to override this with injecting the necessary code to prevent malicious use of the class.
Cary on with the good work,
Sjoerd

As a supplement to this, maybe it is possible to use an attribute for this. You could supply compatible to classes which need to be compatible and you could supply strict to classes which need to be strict, such as the following:
// Template only compatible with 1.5 release using meta data
@generic(Generics.STRICT)
class Test<...> {...}
and
// Template compatible with < 1.5 releases, not strict
@generic(Generics.COMPATIBLE)
class Text<...> {...}
I think much more is possible an can be implemented this way, standard the STRICT notation should be implied when using generics.

Similar Messages

  • Songbird Damaged iTunes Meta Data and Recently Added List. Best way to fix?

    Hello, Apple forums.
    A while ago (Long enough to fix some of the broken Meta data), I tried out Songbird as an alternative for when I'm gaming and want a little extra resources.
    Unfortunately, I set it up to sync between iTunes and Songbird, and Songbird "updated" my iTunes information and removed META data in the process for any song played on Songbird.
    It also had the recently added moved to "Songbird > Recently Added," and proceeded to fill it with every song in my library.
    My music is stored on a Western Digital MyBook external HDD (320GB) formatted to FAT32.
    I have fifteen playlists, and would like to retain ratings and play counts on the songs.
    My library reads "8196 songs, 19:15:40:31 total time, 50.13"
    Granted, a couple hundred of these are the ones missing the META data and are broken entries (IE has all the data listed but does not have the file where it should be) and their META-less version added from %library%\music\unknown artists\unknown album\
    (The tracks retain their real name with the track number prefixing them, it's just a matter of going through all of the songs and matching them up)
    Given that this is as it is, how should I go about this?
    I would also like to keep the apps for my 2nd Gen iPod Touch (iOS Pois0ned 4.2.1).
    All music is either imported from a CD or an independent artist.
    I don't have access to all of the CD's, nor do I particularly want to manually re-add everything.
    I am more concerned with the recently added playlist being fixed! I understand that I will have to cut my losses on the META data!

    I thought you said Songbird had removed metadata. Most files carry metadata in a tag. If a file "goes missing" because another program chooses to relocate it iTunes will retain an entry in the library with all that information. The FindTracks script makes a bash at locating the moved files in a number of alternate locations, including the unknown artist/unknown album folder or the main Music folder. If the files have actually had metadata removed, but have a tag, then iTunes will read the damaged data and update itself. Not necessarily what you want. For files that are in a logical artist/album layout but don't have tags you could be better off repairing tags first with, for example, MediaMoney's AutoTag from Filename feature.
    tt2
    I had to look up RAT. I'm guessing you meant something like remote admin/access tool. By all means be wary of anything recommended on this site but to accuse me of being underhand without any evidence is hardly the way to start a fruitful conversation. I thought you wanted help here...

  • Meta data and data asset management

    I am looking for suggestions and or products that can support managing our footage.
    Our goal is for an editor to search for a clip using the  data entered in the “description” (metadata) field of clips and sub-clips  that have been logged in various projects. 
    Here is the outline. 
    We record clips of high def footage and we import batches of these clips; sometimes a few dozen,  and sometimes thousands.  We bring these batches into a Premiere Pro CS5 project by importing the video clips from within a P2 card folder structure, or avchd, or dslr footage or ??/any format we collect...
    We log a description of the clips and of sub-clips, and then we edit a film from those elements.    After 1 project, or after 50 projects, we have all the detailed description (metadata) we've entered about each clip and sub-clip captured, and this data lives within the CS5 project. We can only search it from within the original project.
    If we start a new project and we need to look back at footage from old projects, we can only search for footage by going into that old project .  We would like to have the metadata write back to our archive (or a copy of the footage in a new archive.)  If the archive and the clips and sub-clips had the metadata from the project we could search and find assets.  Among the obstacles is that sub-clips share the name of the clip it comes from so there is no “place” for it’s metadata.  We've tried using Project Manager>Collect Files & Copy to New Location but the subclip .mxf files created through this process are copies of the source clip despite being labeded "random.subclip001".   When imported, this "random.subclip001" file shows up in Premiere as the original "random" source clip name.
    We are looking at a small library – but it’s big for us.  About 20 terabytes…  A typical client might have 4-6 terabytes of assets we would like to look through for a shot, or an interview…  Has anyone made inroads on this?
    Many thanks for any thoughts and ideas.
    Sincerely,
    Rees Candee

    Hi Abhilash,
    Meta Data- 
    In BW the meta-data contain data about data.
    It is like having information about the information.
    You have the business related meta-data for example the description used in your reports or the technical related meta-data for example the rules used in the transformation or the extraction. These are the two types of meta-data you have in the metadata repository that you manage with the metadata manager
    http://help.sap.com/saphelp_nw04/helpdata/en/80/1a6197e07211d2acb80000e829fbfe/content.htm
    Meta Data Repository
    It is the repository which Manages Meta Data, for example like when talking about an ODS in the metadatarepository you can read about which characteristics, key figures, infosource and updaterules are used in it. And creation date, owner etc.
    Thanks,
    Sudhakar
    saying thanks in sdn == assigning points

  • I use Windows XP. The problem now is that on two consecutive occasions when I open iTunes it either says the library is corrupt and creates a new one or will not load a previous one from the file. All my meta data and 2K  songs are "missing".

    Can I recreate my proper library with its 8700+ songs and a load of meta data from the iPod. Since two upgrades ago iTunes, for me, has become very unreliable.

    Hi there caunsall!
    I have an article for you that can help you re-create your iTunes library. That article can be found right here:
    iTunes: How to re-create your iTunes library and playlists
    http://support.apple.com/kb/ht1451
    That article will walk you through all the steps to take care of re-creating your library. Take care, and thanks for visiting the Apple Support Communities.
    -Braden

  • File Properties (Meta Data) and Indexing

    Meta Edit™
    Find what you need, when you need it.
    If you manage a large network or portal, chances are that there are thousands of documents floating around that are difficult to locate due to poor file property information.
    With MetaEdit™, it’s easy to gain the control you seek and create rich document repositories you can count on.
    At it’s core, MetaEdit™ is a simple and easy-to-use software solution that allows users to quickly search, index, modify and maintain the META properties of ALL your files, such as Author, Company Name, etc…
    It’s EASY! Simply set a base folder to scan, then let MetaEdit™ do the work of gathering all the related meta information for you to efficiently manage and edit.
    Why wait? Maximize the value of your information today.
    For more detailed information and a FREE demo, visit http://www.spheric.ca/MetaEdit.aspx

    File -> Library -> Import playlist and select the old .XML file.

  • File Properties (Meta Data) and Indexing for your Portal

    Meta Edit™
    Find what you need, when you need it.
    If you manage a large network or portal, chances are that there are thousands of documents floating around that are difficult to locate due to poor file property information.
    With MetaEdit™, it’s easy to gain the control you seek and create rich document repositories you can count on.
    At it’s core, MetaEdit™ is a simple and easy-to-use software solution that allows users to quickly search, index, modify and maintain the META properties of ALL your files, such as Author, Company Name, etc…
    It’s EASY! Simply set a base folder to scan, then let MetaEdit™ do the work of gathering all the related meta information for you to efficiently manage and edit.
    Why wait? Maximize the value of your information today.
    For more detailed information and a FREE demo, visit http://www.spheric.ca/MetaEdit.aspx

    Acath?
    (1) Why would you need to change the color in HTML when you can specify it in Catalyst (Artboard Size & Color)?
    (2) I think the question was about specifying an "Image"... you can't in Catalyst, but is there any plan for beta 3?
    (3) Can you put a tranparent Artboard in Catalyst and specify a background image in the HTML?
    Thanks
    Roger

  • Data Cache and Generic Cache

    Hello,
    According to this document,
    http://download.oracle.com/docs/cd/B16240_01/doc/apirefs.102/e12639/chapter1.htm#CIAEFHFB
    I see there are two cache system in Oracle BI Server, "Data Cache" and "Generic Cache".
    What is the difference between these two kinds of cache ?
    Thanks.

    Hi user611881,
    I'll try to explain the two cache types here, but if someone can better phrase it than myself, by all means, step up.
    Data Cache:
    The OBIEE BI Server will cache the result set of SQL that is executed. These cached results are records and if OBIEE sees another report requesting the same record set that it already has in cache, it will go straight to the cache version instead of re-issuing the SQL
    Generic Cache:
    The generic cache is the presentation server cache. This has to do with the caching of particular request. If the BI Server detects a cached version of a request, it will get the request directly from the cache and not even go down to check for the cached record set.
    This is how they function. Assume you have report A with record set 1 and there's no data in either cache.
    You run Report A
    1) Presentation Service checks if the Request is in the generic cache.
    2) This check fails.
    3) Presentation service issues logical SQL query to BI Server
    4) BI Server checks if there is any record set matching the logical query in the cache
    5) This check fails.
    6) BI Server issues the physical SQL
    7) BI Server caches the result set
    8) Presentation service gets result set and formats the data
    9) Presentation service caches presentation results
    10) Report A is displayed
    That is my understanding of the Data and Generic Caches.
    Good luck and if you found this post useful, please award points!
    Best regards,
    -Joe

  • Problems with Importing / Exporting Keywords and Meta Datas

    Hi to all!
    I recently upgraded to Aperture 3 and upgraded my referenced library.
    Today I opened the Keyword HUD and noticed some keywords splattered in my list, which seem to be any older ones, since the new numbering indicated that they are not applied to any pictures.
    So I deleted them.
    Than I noticed the <Imported Keywords> folder, opened it, and it contained also a large number of previous keywords. Also they seemed not to be in use, so I also removed them.
    Than I locked the Keyword HUD.
    Now my question: If I export a version, with the option for 'include metadata' ticked, and edit the version than in Photoshop, and after it, import it back into the Aperture library I do have the problem.
    I have tried 'Import Meta Datas' and and click 'Append'. Than it is recognizing the former keywords, which I would appreciate, but not as 'Imported Keywords'.
    If I would open the file w/ the External Editor and return it back, I guess I would not have this problem. Usually I do open the referenced RAW file, and import than the edited version back into Aperture. Keywords are stored in the Library, so I would not avail the former given keywords than, is that right?
    By the way are the keywords part of Meta Datas or not?
    Are there any workarounds?
    And had other people also problems with their keyword list after upgrading?
    Thank for any ideas / infos!
    Michael

    Added header to CSV and to Code
    $ImportFile = Import-Csv "C:\Users\username\Desktop\Scripts\Powershell\Epic\SCCM CI\Tags.csv" -Header Computer
    foreach ($Computer in $ImportFile){
    $path = "\\$Computer\c$\Epic\bin\7.9.2\Epic Print Service"
    $xml = select-xml -path "$path\EpicPullService.config.xml" -xpath //EpicPullService//Cleanup | Select -ExpandProperty Node
    if ($xml.ArchiveHours -eq '12' -and $xml.DeleteHours -eq '120') {
    $Compliance = $True
    }Else{
    $Compliance = $False
    } "$Computer","$Compliance" | Export-Csv "C:\Users\username\Desktop\Scripts\Powershell\Epic\SCCM CI\Results.csv"
    Results:
    select-xml : Cannot find path '\\@{Computer=SW1412-16985}\c$\Epic\bin\7.9.2\Epic Print Service\EpicPullService.config.xml' because it does not exist.
    At C:\Users\username\Desktop\Scripts\Powershell\Epic\SCCM CI\Check_PullServiceXML.ps1:4 char:8
    + $xml = select-xml -path "$path\EpicPullService.config.xml" -xpath //EpicPullServ ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : ObjectNotFound: (\\@{Computer=SW...vice.config.xml:String) [Select-Xml], ItemNotFoundException
        + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SelectXmlCommand
    If it is not a CSV file then just get it with Get-Content
    Get-Content C:\Users\UserName\Desktop\Scripts\Powershell\Epic\SCCM CI\Tags.csv |
        ForEach-Object{
            $computer=$_
            $path ="\\$computer\c$\Epic\bin\7.9.2\Epic Print Service\\EpicPullService.config.xml"
    ¯\_(ツ)_/¯

  • Is the meta data in google search engine changeable?

    Hi there,
    I have made a website using iweb, published with mobile me and using web forwarding. The website when seen in google comes up with the following meta data to describe the site:
    GALLERY shapeimage10_link0. ABOUT shapeimage11_link0. HIRE shapeimage12_link0. CONTACT shapeimage15_link0.
    the website is catebakescake.co.uk
    How can I change this? I have been onto iwebFAQ and it seems to say you cannot change the meta data and google looks at your page and describes it from the info on the page; but I am sure there must be a way to change the information as for some reason it is looking at the shape files of the page and not the text! Obviously I just want to put information about the site which explains what the site is about. I thought I had done this as I put the descriptions in when publishing the site with the web hosting company.
    Thanks in advance

    You can use iWeb SEO Tool to add tags and meta data but what you really need to do is write some interesting and relevant text for the search engine spiders to read.
    The problem with your landing page is that there is no actual text for the spiders to read. Your "text" is an image so all they can pick up is the image titles and not the text.
    Read more about SEO here....
    http://www.iwebformusicians.com/SearchEngines/SEO.html
    ... and SEO Tool here....
    http://www.iwebformusicians.com/SearchEngines/Tags.html
    "I may receive some form of compensation, financial or otherwise, from my recommendation or link."

  • Meta data not included upon export - Please confirm

    Hello everyone. I'm looking to confirm with several people the following:
    After updating to the most recent version of Aperture and Tiger (Leopard is not tame enough yet), exported images do not include meta data (yes, I know how to click the little box that says include meta data so please understand in advance that isn't the solution).
    I'm looking for several people to confirm this is happening to them too. Kinda a bummer to have done all the key-wording & meta data work only to have exported images void of anything. Previous version of Aperture exported meta data just fine: I have one folder here full of images I just processed (no meta data) and one folder full of images processed 7 weeks ago (has meta data).
    Thoughts?
    Thanks in advance,
    Christopher David

    Your problem and description gave me the first clue about the little box that needs to be checked, but where to find that little box. I'm adding my resolution here because your title most closely matched my problem. Maybe someone searching in the future needs to know how to find the box to check and won't have to search any farther with this explanation. I hope you've solved your problem too.
    I searched and posted in several forums before calling Apple Support today. I've discovered the problem with that tech person's guidance. If anyone else faces this dilemma, check your settings here:
    Aperture > File > Export Versions
    Then you get a pop up box with some drop down menus. The top drop down box has 'Edit' at the bottom of its list. Go into there. You'll have several preferences to choose from (file type, dimensions, quality, etc) and there's a tiny box that accidently got unchecked which says something like: Include Metadata.
    I can't check it for exact wording because I'm merrily re-exporting right now - Metadata intact!
    Apparently there's an even quicker path to fix this:
    Aperture > Presets > Image Export
    I can't check this either because exporting doesn't go to the background and I have a bunch of photos to resend now that it's working OK!

  • Algorithm to read pdf meta data

    Hi,
    I want to know how can i read pdf meta data. Like number of pages and each page height and width. Note i want to for older pdf files which are created by 1.5 pdf creator.
    I know using pdf 1.7 version we can communicate two way. Abou we know that pdf files has a meta data and in that meta data there will some text values for pdf creator version, page count author etc.
    I want this by using action script so that i can access it in flex for web application.
    Thanks
    Thulasiram.Seelamsetty

    You could try AlivePDF
    www.flexmycode.com

  • What is the best way to edit meta data..

    What is the best way to edit meta data and tag photos, faces, places etc. and have the data saved to the original photo.
    On a PC I would just use Windows Gallery. iPhoto on the Mac allows for some tagging, but it doesn't save to the original file.
    I like to have my photos in a folder, edit them and save the changes.
    What software would work best on a MAC to accomplish this?
    Thanks for any help,
    Nick

    iPhoto is a database and any metadata you add or edit is available in any app - if you learn how to use it.
    iPhoto is a non-destructive processor. It never touches the original file - it treats it like a film shooter treats the negative.
    If you want a copy of the original file with the metadata included simply export a copy.
    This User Tip
    https://discussions.apple.com/docs/DOC-4921
    has details of the options in the Export dialogue.
    As an FYI:
    For help accessing your photos in iPhoto see this user tip:
    https://discussions.apple.com/docs/DOC-4491

  • Meta Data About Query

    Hi Friends,
    If we create a query , where meta data about this query will be  stored ?
    was it stored in bi server ,if it stored how can we find?
    Thanks & Regards,
    Ramnaresh.P.

    Hi,
    Meta data means data about data
    it will show the technical information,description and graphical view of any object which is a part of Business content or activated objects in BW.
    The meta data will be stored in the meta data repository,
    To see the meta data > go to RSA1 > Meta data repository > you can see the Business content objects and activated objects.
    if you have a technical name for the query , you can find out and double click on the description of the query, for which you want to see the meta data and you can anlalyse here.
    you can also use RSRT t.code to see the information for the query.
    i hope it will be helpful for you
    Thanks and regards.
    Rambabu
    Edited by: RAMBABU VELANATI on Dec 22, 2008 4:24 PM

  • Preserving Meta Data when encoding JPEG (JAI)

    I have a project where the requirements are that images which I compress (using the JPEG encoder of JAI) must be as much compressed as possible, but also must not be altered in any other way from the original image file, i.e. things like meta data must be preserved exactly as it was, and preferably other things in the header (such as resolution) should also be preserved.
    I have had no problems with the compression process as such, but unfortunately it seems that JAI writes a fresh new (default) header every time the compressed (encoded) image is written out. I also tried the new Java Image I/O stuff for doing this, and it seems to have exactly the same behaviour.
    I have searched both thses APIs extesively for something which would enable me simply to set the option that original meta data (and preferably all header data) should be preserved, but to no avail.
    I do realize that image meta data can be both read and written (at least using the Image I/O), but I find it quite complex and also find it a pitty and a waste to have to do that when the requirements are not about altering/processing any of this data, but simply about leaving it alone.
    If any one has any suggestions about how this problem might be solved, I would be very interested to know about it, and very greatful for any hints or pointers to information also.
    Thank you.
    Helgi

    What do you meen about meta-data??? Can you provide an example.....
    i.e. an initial image you have, in what format is in, it's meta-data (as you say ) and what you finally get encoding

  • VIDEO_TS meta data for Front Row?

    Front Row in Leopard supports playing VIDEO_TS folders. You can also add cover art by saving a file as preview.jpg in the parent directory. The folder structure would be like the following.
    /Users/fred/Movies/The Day the Earth Stood Still/VIDEO_TS/
    /Users/fred/Movies/The Day the Earth Stood Still/preview.jpg
    /Users/fred/Movies/Cloverfield/VIDEO_TS/
    /Users/fred/Movies/Cloverfield/preview.jpg
    /Users/fred/Movies/Attack of the Killer Tomatoes/VIDEO_TS/
    /Users/fred/Movies/Attack of the Killer Tomatoes/preview.jpg
    This works great, however I was wondering if there is any equivalent method for adding meta-data to VIDEO_TS folders. Obviously you cannot do the normal process of storing it as MPEG4 tags in an MPEG4 video file via iTunes. If it was possible I would presume the most logical method would be to store an XML file in each folder something like this.
    /Users/fred/Movies/The Day the Earth Stood Still/VIDEO_TS/
    /Users/fred/Movies/The Day the Earth Stood Still/preview.jpg
    /Users/fred/Movies/The Day the Earth Stood Still/metadata.xml
    /Users/fred/Movies/Cloverfield/VIDEO_TS/
    /Users/fred/Movies/Cloverfield/preview.jpg
    /Users/fred/Movies/Cloverfield/metadata.xml
    /Users/fred/Movies/Attack of the Killer Tomatoes/VIDEO_TS/
    /Users/fred/Movies/Attack of the Killer Tomatoes/preview.jpg
    /Users/fred/Movies/Attack of the Killer Tomatoes/metadata.xml
    I suspect that unfortunately this is not currently possible but does anyone know for certain?

    Unfortunately it looks like currently there is no way to do it and Apple have been sorely neglecting Front Row (it has fallen well behind even the Apple TV which is far from state of the art). As Snow Leopard is concentrating on performance enhancements rather than new features, I do not hold out hope for any significant change for well over a year.
    Note: Apple TV is not necessarily a bad product, indeed I bought one for my parents, it is merely like Front Row extremely limited, too limited for many people which is why it sales are (allegedly) so poor. I think the comment raised by more than one pundit that it fails to replace a box under your TV is an extremely important one. It does not replace your DVD player (there are still comparatively few movies on the iTunes store - assuming you are in a country which has any at all), the movies are too expensive compared to DVDs and do not offer either as good quality or as many features. It also fails to replace a video recorder or these days a DVR since it has no TV capabilities. As such it has to be treated as an additional box if at all, and as an additional box it increases the spaghetti factor and thus fails the WAF (Wife Acceptance Factor) even if it is by far the easiest to use product.
    I have therefore switched to using Plex which is a Mac version of XBMC. Plex allows you to use VIDEO_TS folders just like Front Row (indeed the same folders can be used in both), but it does have a built-in 'library' which stores meta-data and artwork for these VIDEO_TS folders and any other videos you might have. It uses plugins called 'scrapers' to search sites like http://www.imdb.com for metadata about the movies, I have even written a 'scraper' to search Amazon for those few DVDs not listed on IMDB.
    See http://www.plexapp.com
    Since Plex does an excellent job handling VIDEO_TS (i.e. DVDs) it can 'replace' a box - the DVD player and also means the kiddies do not destroy your fragile discs.
    PS. Horror of horrors, even Microsoft Media Center is 'better' than Front Row. This is practically the only category Microsoft has actually genuinely earned first place in rather than cheating/bribing/stealing/buying its way to.

Maybe you are looking for

  • How to sync with multiple computers?

    I have my iTunes library on my MacBook and all of my Apple devices synced accordingly. My family also has an iMac, and I would like other family members to be able to sync from the iMac. I know I can use Home Sharing to allow the iMac to view/play th

  • USB printer on Airport Express via Bonjour: print queue no longer works

    This is a variation of similar postings on this forum, but hopefully provides more information to allow others to pinpoint the problem. Have been using Intel iMac 10.4.8 now upgraded to 10.4.10. Two printers attached: 1 via USB and a 2nd via USB/Bonj

  • Problem cloning your old hard drive to a new hard drive / ssd

    I followed the procedure (from Bimmer, and several googled results), on cloning a boot disk for my macbook pro 17" (A1229), circa 2007, and I have a cloned SSD (Kingston ssdnow v300/240GB) that boots in an external drive, but not internally.  The ori

  • VSO agile template adding link task as child makes parent missing from backlog

    HI, I have a tasks in my backlog for iteration, if I add a new child task for this as a linked workItem, the parent task doesn't show up in backlog/task board. If I go to stories view, and show hierarchy I can see both the parent task and child task

  • Reinstalling, serial "Invalid," Windows 7 sticker faded

    I have an HP CQ60-615DX with Windows 7 Home (64 Bit) pre-installed. My computer was running increasingly slowly so I uninstalled and attempted to reinstall ran into a roadblock with the serial number. The 25 digit number on the back of my computer wa