Newbie help with cache design/custom filter

Hello,
I'm very new to Coherence, so you'll have to forgive me if these are easy questions. I have an application that contains 1.5 million products. Each product has a map of prices for our client list. So internally, each product object I'm caching contains a pricelist map with up to 100 entries (clients):
private String productId ;
private String productName ;
private Map<String, Integer> priceList; //where the String is the client id and the Integer is the price for that clientHere's my question(s):
1. Is there any type of query that would return the product info and just the price for the 1 client (there really is no need to send all 100 of them for the individual quries)? How could this be done efficiently?
2. I need to sort by price. To do so, I've created a filter on the product keys, and a comparator that contains the client ID. This works fine, but it seems to take a long time to sort based on price using the comparator. Is there any other method of sorting that might be more efficient on the Coherence side of things? Sorting by product name is also a bit slow - is there a way to speed that up? The product name is the same for all clients, and thus is a simple string in the object being cached.
3. Indexing: Is there any way to index the internal Map of the price list? And would that help in performance?
Since this is a new implementation, the object design for the cache is open for change as well - if there are other structures that would enhance the performance. Any help would be most appreciated!
Sincerely,
Chris

There are actually techniques you could use to keep all the information about an article in the same object. This may be attractive in particular if the information is rarely updated (frequently updating a large object is costly and, unless every attribute changes with every update, breaking up the object graph making some of the objects into separate cache items is then preferable).
With the later Coherence releases there are for instance PofExtractor that allow you to extract selected parts of an object without de-serializing the whole object. You could probably use this to only extract the "price list"for a product. Combine this with a custom aggregator (that aggregates over all products a customer want to get a quote on) that could extract just that customers price from the "price list" and you would have a quite efficient solution...
As for indexes you COULD put the price list and other info from the large object in indexes but be aware that Coherence indexes are always stored on heap (other data can nowadays be stored off-heap) and also occupy a lot of space (Coherence always creates both index and reverse index and since Java objects are used to implement them there is quite a lot of overhead)... I would first look into either a 3NF-like solution with mainly primary indexes or a single cacnhe solution using PofExtractors etc...
/Magnus

Similar Messages

  • Need Help with setting up this Filter

    Hi,
    I need help making a filter sound like the one used in this youtube song.
    I tried setting it up but I've had no success; even though I know for a fact that this filter was made in Logic Pro 9 according to the maker of this song.
    I think there might be a bit of 'Fuzz-Wah' in there too but I've never really used that effect so any tips on that would be great, too.
    Link: http://www.youtube.com/watch?v=tf017M8SZZE&feature=plcp
    Any help with this would be widely appreciated.
    Thank you :-)

    It sounds like a simple hi Q filter sweep to me but getting close to the original synth sound that it is being used on is the challenge. It might well be that it is the filter on the synth itself is what is being swept. Either way, turn up the filter resonance on a band pass filter and sweep it with the lfo or adsr to modulate the filter cutoff if its the synth filter, or automate the filter frequency  sweep if you use the channel filter.

  • Help with Java Printing-Custom paper sizes

    Hi,
    I'm trying to print documents with custom paper sizes out of java.
    I can print fine when I don't try to set the MediaSize to a custom size or when I use already named constants like: "MediaSizeName.JIS_B4"
    The error message I get is this:
    java.lang.ClassCastException
         at javax.print.attribute.AttributeSetUtilities.verifyAttributeValue(Unknown Source)
         at javax.print.attribute.HashAttributeSet.add(Unknown Source)
         at hello.Printy.printDocument(Printy.java:103)
         at hello.Printy.main(Printy.java:135)
    The offending line(103) looks like this:
    pras.add(new MediaSize(1,10,MediaSize.INCH ));The function that its from looks like this:
    public  void printDocument()
    try
              System.out.println("input file name is");
         System.out.println(inputFileName);
    PrintRequestAttributeSet pras = new HashPrintRequestAttributeSet();
    DocFlavor flavor = DocFlavor.INPUT_STREAM.AUTOSENSE;
    PrintService printService[] = PrintServiceLookup.lookupPrintServices(flavor, pras);
    PrintService defaultService = PrintServiceLookup.lookupDefaultPrintService();
    PrintService printPrintService = null;
    // didn't work pras.add(new MediaSize(1,10,MediaSize.INCH) );
    PrintService service = ServiceUI.printDialog(null, 200, 200,printService, defaultService, flavor, pras);
    if (service != null)
         System.out.println("There is a service aunty-may!!");
    DocPrintJob job = service.createPrintJob();
    FileInputStream fis = new FileInputStream(getInputFileName());
    DocAttributeSet das = new HashDocAttributeSet();
    //pras.add(new MediaSize((float)3.25, (float)4.75, Size2DSyntax.INCH ) );
    // - works
    //pras.add(MediaSizeName.JIS_B4);
    pras.add(new MediaSize(1,10,MediaSize.INCH ));
    //pras.add(new MediaSize(1,10,MediaSize.INCH) );
         System.out.println("Doc has been set to custom size");
    Doc doc = new SimpleDoc(fis, flavor, null);
    job.print(doc, pras);
         System.out.println("any doc for you?");
    catch (Exception e)
    e.printStackTrace();
    }Any help with this would be greatly appreciated. I'm new to java but I've programmed a bunch in c++.

    Hmm ... no real help, but I found this note in the API:
    MediaSize is not yet used to specify media. Its current role is as a mapping for named
    media (see MediaSizeName). Clients can use the mapping method
    MediaSize.getMediaSizeForName(MediaSizeName) to find the physical dimensions of
    the MediaSizeName instances enumerated in this API. This is useful for clients which
    need this information to format & paginate printing.

  • Reduce resolution with Quartz/ColorSync custom filter

    Must be missing something at this late hour, but it seems that a custom filter to reduce resolution can be configured in the Apple ColorSync Utility, but cannot be acknowleded in Apple Pages.
    Open the Apple ColorSync Utility, change view to Filters, click Add, input a name e.g. Reduce Resolution, and press Return on the keyboard.
    Open the Disclose triangle on the right, choose Add Image Effects Component, choose Image Compression, choose Mode, choose JPEG, and choose the reduction of resolution.
    The filter will be available in Apple Preview when Save As > PDF is chosen, and will work there, but the filter will not be available in the comparable menus of Apple Pages 3 and Apple Pages 4.
    (Adding a Domain component to the filter appears broken under 10.4, as before. Should see if this is also the situation in 10.5.)
    /hh

    Did you ever solve this?
    No, I never solved that.
    This particular filter function will work in Apple Preview, though. At least if you have a file with one and only one object such as a TIFF or JPEG.
    The decompression functionality should also work if you want to convert compressed JPEG into an uncompressed colour bitmap rather than compress JPEG that is already compressed.
    /hh

  • Newbie - help with homework.

    Create a procedure to insert a record into the Bill_Items table. All the fields in the Bill_Items table will be specified as para with the exception of the Selling_Price, which will be the Current_Price, retrieved from the Menu_Items table. Do not allow the insert to finish unless there are enough of all ingredients on hand. If the insert is successfull, the quantity field in the Ingredient table will need to be updated accordingly.
    Tables are below.
    Thanks,
    CREATE TABLE Bill_Items
    Bill_Number NUMBER(6,0)
    CONSTRAINT FK_Bill_Items_Bill_Number REFERENCES Bills(Bill_Number)
    CONSTRAINT NN_Bill_Items_Bill_Number NOT NULL,
    Menu_Item_Number NUMBER(5,0)
    CONSTRAINT FK_Menu_Item_Num REFERENCES Menu_Items(Menu_Item_Number)
    CONSTRAINT NN_Bill_Items_Menu_Item_Num NOT NULL,
    Discount NUMBER(5,2)
    CONSTRAINT N_Bill_Items_Discount NULL,
    Quantity NUMBER(3,0) DEFAULT 1
    CONSTRAINT Bills_Items_Quanity_CC CHECK(Quantity > 0)
    CONSTRAINT NN_Bill_Items_Quantity NOT NULL,
    Selling_Price NUMBER(6,2) DEFAULT 0
    CONSTRAINT Bills_Items_SellingPrice_CC CHECK(Selling_Price >= 0)
    CONSTRAINT NN_Bill_Items_Selling_Price NOT NULL,
    CONSTRAINT PK_Bill_Items PRIMARY KEY(Bill_Number,Menu_Item_Number)
    CREATE TABLE Menu_Item_Ingredients
    Menu_Item_Number NUMBER(5,0)
    CONSTRAINT FK_Menu_Item_Ing_Menu_Item_Num REFERENCES Menu_Items(Menu_Item_Number)
    CONSTRAINT NN_Menu_Item_Ing_Meun_Item_Num NOT NULL,
    Ingredient_Number NUMBER(5,0)
    CONSTRAINT FK_Menu_Item_Ing_IngredientNo REFERENCES Ingredients(Ingredient_Number)
    CONSTRAINT NN_Menu_Item_Ing_IngredientNo NOT NULL,
    Quantity NUMBER(5,2) DEFAULT 1
    CONSTRAINT Menu_Item_Ing_Quanity_CC CHECK(Quantity > 0)
    CONSTRAINT NN_Menu_Item_Ing_Quanity NOT NULL,
    Constraint PK_Menu_Item_Ing PRIMARY KEY(Menu_Item_Number, Ingredient_Number)
    CREATE TABLE Ingredients
    Ingredient_Number Number(5,0)
    CONSTRAINT PK_Ingredients_IngredientNo PRIMARY KEY
    CONSTRAINT NN_Ingredients_IngredientNo NOT NULL,
    Ingredient_Name VarChar2(35)
    CONSTRAINT NN_Ingredients_Ingredient_Name NOT NULL,
    Portion_Code CHAR(2)
    CONSTRAINT FK_Ingredients_PortionCode REFERENCES Portions(Portion_Code)
    CONSTRAINT NN_Ingredients_PortionCode NOT NULL
    REFERENCES Portions(Portion_Code),
    On_Hand NUMBER(6,2) DEFAULT 1
    CONSTRAINT Ingredients_OnHand_CC CHECK(On_Hand > 0)
    CONSTRAINT NN_Ingredients_On_Hand NOT NULL,
    Reorder_Point NUMBER(6,2) DEFAULT 1
    CONSTRAINT Ingredients_Reorder_Point CHECK(Reorder_Point > 0)
    CONSTRAINT NN_Ingredients_Reorder_Point NOT NULL,
    Current_Cost NUMBER(5,2) DEFAULT 0
    CONSTRAINT Ingredients_CurrentCost_CC CHECK(Current_Cost >= 0)
    CONSTRAINT NN_Ingredients_Current_Cost NOT NULL
    CREATE TABLE Menu_Items
    Menu_Item_Number NUMBER(5,0)
    CONSTRAINT PK_Menu_Items_MenuItemsNo PRIMARY KEY
    CONSTRAINT NN_Menu_Items_MenuItemsNo NOT NULL,
    Menu_Item_Name VARCHAR2(50)
    CONSTRAINT NN_Menu_Items_Menu_Item_Name NOT NULL,
    Current_Price NUMBER(6,2) DEFAULT 0
    CONSTRAINT Menu_Items_CurrentPrice CHECK(Current_Price >=0)
    CONSTRAINT NN_Menu_Items_Current_Price NOT NULL,
    Production_Cost NUMBER(6,2) DEFAULT 0
    CONSTRAINT Menu_Items_ProdCost CHECK(Production_Cost >=0)
    CONSTRAINT NN_Menu_Items_Production_Cost NOT NULL
    );

    Newbie to oracle - help with homework.. Letting others do your work is called cheating, where I live.
    C.

  • Need help with security design!

    Hi,
    I haven't worked with security design very much. Currently I'm about to develop an application to my father which should implement some sort of security.
    One of the reasons for this application besides making my father happy is educating myself.
    The application is an online image album.
    The security could be divided in role-based security and instance level security.
    Role-based (NO PROBLEM):
    A user cannot delete another user, an administrator can delete users.
    Instance-level (DON'T KNOW HOW):
    A user can load other users image albums if he/her is allowed/granted to view the album and its images. Note that the user could be granted to view the album, but not all of its images.
    My problem is how I should design the "instance-level" security? Should I keep a ACL (Access Control List) with each instance of album and image?
    This seems to be a common functionality to add view/load/read/write permissions to an instance in runtime to let a certain user to operate on an asset?
    Have searched the Internet but haven't found any nice framework to help me.
    Could anyone with some experience please help me out?!
    Kind regards, Andreas

    Hi,
    I ran into the same problem. Could you resolve it?
    please give me your feedback.

  • Need help with class design

    I want to design and use one or more classes for a particular project I am working on.
    I need some advice hopefully from someone who has experience in this area. Basically,
    for this particular problem I have two database tables. I want the first class to
    represent the first database table and the second class to represent the second
    database table. An object of the first class will be created first, and then if certain
    criteria are met then an object of the second class will be created.
    Question:
    Should I use classical inheritance and let the first class inherit from the second class?
    Or should I use the containment delegation model and embed an object of the second
    class in the first class?
    ----Tables------
    For example, my first table ET_UserData looks something like this:
    ET_UserData
    (PK)UserName
    Password
    FirstName
    LastName
    My second table ET_DetailedUserData looks like this
    ET_DetailedUserData
    (FK)UserName
    WorkAddress
    WorkPhoneNumber
    CityWhereEmployed
    SocialSecurityNumber
    City
    State
    StreetAdress
    PrimaryTelephoneNumber
    AlternatePhoneNumber
    HasRegistered
    RegistrationDate
    RegistrationTime
    CreditCardNumber
    NameOfPrimaryContact
    DateOfBirth
    Weight
    EyeColor
    Height
    Member
    Here is are some pseudo classes for the two classes.
    Class UserData
    string UserName
    string FirstName
    string LastName
    Class DetailedUserData /* For a classical approach, sub class off of class UserData */
    /* UserData ThisUser --> Containment delegation model */
    string (FK)UserName
    string WorkAddress
    string WorkPhoneNumber
    string CityWhereEmployed
    string SocialSecurityNumber
    string City
    string State
    string StreetAdress
    Int PrimaryTelephoneNumber
    Int AlternatePhoneNumber
    Bool HasRegistered
    Int RegistrationDate
    Int RegistrationTime
    Int CreditCardNumber
    String NameOfPrimaryContact
    Int DateOfBirth
    Int Weight
    Int EyeColor
    Int Height
    bool Member
    }

    Thank you for your help. If you can continue to help me I would appreciate it.
    I and another developer did the database design. Pretty solid design. Plus we have all of the requirements
    which are very good too.
    Originally I wanted just one table to contain all of the data associated with a user. Instead of ET_UserData and ET_Detailed user data I wanted just one table. But I decided to break this table up into the two tables for the following reason.
    1.) This is a web application where each user logs into a web form. At a minimum, in order to use the website the session associated with each user needs the UserName, Password, First and last name.
    This is the data in the first table.
    If they choose to do more specialized functions on this website, then they will need all of the information (Attributes) that are located in the second table. In general 40% of the time all users will need information located in the second table.
    My reasoning for breaking the table into two seperate tables is that I wanted to minimize the amount of data involved in a result set, created from the sql query. The math tells me that 60% of the time most of the data in the result set will not be used.
    2.) If I create one class to represent all of the data/attributes in both tables, then my reasoning is that their will be alot of overhead in the single class because 60% of the time, a majority of the attributes are not needed and used.
    I would deeply appreciate your help with this. You seem to have great insight and advice. Please help me as I increase the duke dollars Sir.

  • Newbie: help with join in a select query

    Hi: I need some help with creating a select statement.
    I have two tables t1 (fields: id, time, cost, t2id) and t2 (fields: id, time, cost). t2id from t1 is the primary key in t2. I want a single select statement to list all time and cost from both t1 and t2. I think I need to use join but can't seem to figure it out even after going through some tutorials.
    Thanks in advance.
    Ray

    t1 has following records
    pkid, time, cost,product
    1,123456,34,801
    2,123457,20,802
    3,345678,40,801
    t2 has the following records
    id,productid,time,cost
    1,801,4356789,12
    2,801,4356790,1
    3,802,9845679,100
    4,801,9345614,12
    I want a query that will print following from t1 (time and cost for records that have product=801)
    123456,34
    345678,40
    followed by following from t2 (time and cost for records that have productid=801)
    4356789,12
    4356790,1
    9345614,12
    Is this possible?
    Thanks
    ray

  • Newbie - Help With templates

    I am fairly new to dreamweaver. Looking to put together a
    basic site for a holiday home for rent. Would like to include
    photos of the house and surrounding area, travel details, details
    of things to do and see, calendar, temeperature charts etc. Can
    anyone suggest where I can get my hands on templates that would
    help with this?
    Many thanks

    The best I've seen are from ProjectSeven -
    http://www.projectseven.com/
    They are commercial (look at the Page Packs) and they are
    excellent.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Gusley5" <[email protected]> wrote in
    message
    news:[email protected]...
    >I guess sources for templates is what I'm looking for.
    I've little
    >knowledge
    > of writing code so was looking for a draft template
    which would have a
    > professional look to it with regard to font, layout,
    colours, buttons to
    > use
    > for links etc. I suppose some sort of table layout for
    including photos
    > with
    > related text may be best place to start.
    >
    > Code below is from a starter page available from
    dreamweaver. Any other
    > suggestions for templates gratefully received.
    >
    > Thanks
    >
    > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    > "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    > <html xmlns="
    http://www.w3.org/1999/xhtml">
    > <!-- DW6 -->
    > <head>
    > <!-- Copyright 2005 Macromedia, Inc. All rights
    reserved. -->
    > <title>Lodging - Catalog</title>
    > <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    > <link rel="stylesheet"
    >
    href="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltI
    > n/StarterPages/mm_lodging1.css" type="text/css" />
    > </head>
    > <body bgcolor="#999966">
    > <table width="100%" border="0" cellspacing="0"
    cellpadding="0">
    > <tr>
    > <td width="15"
    nowrap="nowrap"> </td>
    > <td height="60" colspan="2" class="logo"
    nowrap="nowrap"><br />
    > WEBSITE NAME HERE</td>
    > <td width="100%"> </td>
    > </tr>
    >
    > <tr bgcolor="#ffffff">
    > <td colspan="4"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_spacer.gif" alt="" width="1" height="1"
    border="0"
    > /></td>
    > </tr>
    >
    > <tr bgcolor="#a4c2c2">
    > <td width="15"
    nowrap="nowrap"> </td>
    > <td height="36" id="navigation"
    class="navText"><a
    > href="javascript:;">HOME</a></td>
    > <td> </td>
    > <td width="100%"> </td>
    > </tr>
    >
    > <tr bgcolor="#ffffff">
    > <td colspan="4"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_spacer.gif" alt="" width="1" height="1"
    border="0"
    > /></td>
    > </tr>
    >
    > <tr bgcolor="#ffffff">
    > <td valign="top" width="15"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_spacer.gif" alt="" width="15"
    height="1" border="0"
    > /></td>
    > <td valign="top" width="35"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_spacer.gif" alt="" width="35"
    height="1" border="0"
    > /></td>
    > <td width="710" valign="top"><br />
    > <table border="0" cellspacing="0" cellpadding="2"
    width="610">
    > <tr>
    > <td colspan="7" class="pageName">Page Name
    Here</td>
    > </tr>
    > <tr>
    > <td width="22%" height="110"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_product_sm.gif" alt="small product
    photo" width="110"
    > height="110" border="0" /></td>
    > <td> </td>
    > <td width="22%" height="110"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_product_sm.gif" alt="small product
    photo" width="110"
    > height="110" border="0" /></td>
    > <td> </td>
    > <td width="22%" height="110"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_product_sm.gif" alt="small product
    photo" width="110"
    > height="110" border="0" /></td>
    > <td> </td>
    > <td width="22%" height="110"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_product_sm.gif" alt="small product
    photo" width="110"
    > height="110" border="0" /></td>
    > </tr>
    > <tr>
    > <td valign="top" class="calendarText"
    nowrap="nowrap"><a
    > href="javascript:;">Product Name</a><br
    />
    > Price: $0.00</td>
    > <td> </td>
    > <td valign="top" class="calendarText"
    nowrap="nowrap"><a
    > href="javascript:;">Product Name</a><br
    />
    > Price: $0.00</td>
    > <td> </td>
    > <td valign="top" class="calendarText"
    nowrap="nowrap"><a
    > href="javascript:;">Product Name</a><br
    />
    > Price: $0.00</td>
    > <td> </td>
    > <td valign="top" class="calendarText"
    nowrap="nowrap"><a
    > href="javascript:;">Product Name</a><br
    />
    > Price: $0.00</td>
    > </tr>
    > <tr>
    > <td colspan="7"> </td>
    > </tr>
    > <tr>
    > <td height="110"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_product_sm.gif" alt="small product
    photo" width="110"
    > height="110" border="0" /></td>
    > <td> </td>
    > <td height="110"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_product_sm.gif" alt="small product
    photo" width="110"
    > height="110" border="0" /></td>
    > <td> </td>
    > <td height="110"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_product_sm.gif" alt="small product
    photo" width="110"
    > height="110" border="0" /></td>
    > <td> </td>
    > <td height="110"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_product_sm.gif" alt="small product
    photo" width="110"
    > height="110" border="0" /></td>
    > </tr>
    > <tr>
    > <td valign="top" class="calendarText"
    nowrap="nowrap"><a
    > href="javascript:;">Product Name</a><br
    />
    > Price: $0.00</td>
    > <td> </td>
    > <td valign="top" class="calendarText"
    nowrap="nowrap"><a
    > href="javascript:;">Product Name</a><br
    />
    > Price: $0.00</td>
    > <td> </td>
    > <td valign="top" class="calendarText"
    nowrap="nowrap"><a
    > href="javascript:;">Product Name</a><br
    />
    > Price: $0.00</td>
    > <td> </td>
    > <td valign="top" class="calendarText"
    nowrap="nowrap"><a
    > href="javascript:;">Product Name</a><br
    />
    > Price: $0.00</td>
    > </tr>
    > <tr>
    > <td colspan="7"> </td>
    > </tr>
    > </table> </td>
    > <td> </td>
    > </tr>
    >
    > <tr>
    > <td width="15"> </td>
    > <td width="35"> </td>
    > <td width="710"> </td>
    > <td width="100%"> </td>
    > </tr>
    > </table>
    > </body>
    > </html>
    >

  • Newbie - Help with Fireworks CS5 nav bar

    I am new to Fireworks. I am using Fireworks CS5. I need help with creating navigation bars and menu. Any tutorial or tips is greatly appreciated.
    Thank you.

    You'll find a tutorial named "Create a basic navigation bar" in the Fireworks help files.

  • Help with a design

    Hello,
    I am attempting to replicate a design of a popular Bill Murray T-shirt and need help.
    On the left is the design that I want to have and on the right is my design
    They are close but the one on the right is too cartoonish, the edges are not as crisp and the coloring is not consistent.
    Here are the steps I took:
    -Copied new layer
    -Unlocked Background
    -Image->Adjustments->Black&White
    -Copied Layer->Pasterize->level 3
    -Copied New layer
    -Filter->Artistic->Cutout
    -Levels->8 Simplicity->0 Fidelity->3
    -Image->Brightness/Contrast
    It's not quite what I am looking for, PLEASE HELP!
    Thanks!

    A couple of comments - and these are just my thoughts -
    Part of the reason the image on the left looks as it does is the black background as opposed to the white one on the right. Changing that would probably give a whole different feel to the image to start with.
    If you want to "darken up" and sharpen parts of the image you could try putting a copy of the original layer (I do mean the original - not the gray scale one you have created) above the grayscale layer. Choosing Adjustments / threshold to create a very starkly contrasted image. Then use a combination of opacity level on that layer to reveal the gray image. Alternatively place an inverted mask on the layer (hiding the new B&W layer) and then, using a white brush with opacity of 30% or less to gradually darken the areas of the image that you feel need it.
    As I said - just my suggestion, I am sure other people will have different suggestions.
    Cheers
    John

  • How Do I get Help with a Major Customer Service Issue?

    Hello,
    I am a Pro Care member and I took my Macbook Pro in to one on the local stores to ask them about a font issue that I was experiencing. One one the Genius guys came over and asked me a few questions and told me that this wasn't a big deal at all, that they just needed to reinstall my default fonts and that it should take maybe 45 minutes. This was at 4:30pm. Six hours later they came back to be to tell me that they had corrected the font issue but all of my user data and applications were lost! It was if I had a brand new Macbook Pro! This was a Friday evening. I was told to take my laptop to a company called Data Savers the next day to have this company try to restore my data/applications.
    I took my laptop to Data Savers on Saturday and they told me that they would need to keep it for a day. I went back to pick it up on Sunday and I was given an external drive that had "raw restored data" on it. When I had been speaking with the store manager about the situation and he wanted me to provide him with a list of software that was on the machine. So, when I got home from picking up my laptop from Data Savers I started it and all I got was an icon of a circle with a slash through it!! I called the guys at Data Savers and told them about this and they asked to bring the laptop back to them on Monday. I did. After running some diagnostics on the machine I was told that my hard drive was "toast!"
    Needless to say I was both upset and distraught! The store manager told me (in emails that I still have) that he understands how upset that I was about coming in for a font related issue and three days later being told that my laptop was no more that a big paper weight. He said (in these emails) that he would replace my laptop and he would try to get me the latest versions of the software that I had to make up for the business that I had lost in the last few days due to the fact that I didn't have have my machine.
    The store manager then called me back on a Tuesday and said that his superiors had told him that he cold not do what he said that he would do. Obviously, this increased my level of frustration. I was able to speak to this manager, think it may have been some sort of regional manager and after indicating that I had emails of the store manager acknowledging the facts of the matter and stating that he was very sorry for what happen, the regional manager said that she wanted me to send her copies of the emails. I told her that the store manager had copies of everything. She told me that she would get back to me. This was Wednesday afternoon. That same evening the store manager called me to say that "because I was lead to believe that Apple would replace my laptop, they would do so. I was told to be be at the store around noon on the following day (Thursday) and to bring my laptop. I was told that they would replace it.
    When I got to the store on Thursday, the manager came up to me and shook my hand and said that he was sorry for all the trouble and inconvenience. He went on to say that before he could replace my laptop that I would have to sign a document saying that I agree that they were not responsible for anything that had happened in the past six days!!
    The fact is, that isn't true and they know it. I have the email to prove it. I didn't sign the document. the next day because I could no longer afford to lose money and clients I went into another Apple store and purchased in brand new system!
    The fact is that I believe that Apples products are far superior to PC products. I was told by some to never buy from Apple again and tell everyone that I know about my experiences with this particular store. All I want is for Apple to do the right thing! Just replace my Macbook Pro like they said they were going to do. They don't have to provide any software updates, just do the right thing and replace my machine!!
    Can anyone tell me if they have had a similar experience and if so, how it was resolved? Who in the corporate office can I talk to about this to get it resolved? Are there and Apple insiders out there that can help me resolve this situation? I would like to avoid having to take legal action if at all possible.
    I look forward to any help that you can provide.
    SydCam

    Apple Computer Customer Relations:
    1-512-674-2500

  • How can I get some help with Verizon's customer service?

    I want to preface this by stating that this is the first time in the 10 years in which I've been a Verizon wireless customer, that I've had a problem that cannot be resolved to my satisfaction.  My issue started with a Verizon Wireless Stores in Bethlehem, PA.  I asked one of the sales clerks for some assistance (which I now regret).  My question to her was that I simply wanted to be able to connect my home laptop computer to the internet data on my mobile plan. Without even discussing the different options, I was "told" I needed to purchase a Mobile Hotspot Device (for $69.99, but just $20 after rebate!).  I told the clerk I didn't want to have to pay an additional bill every month and didn't want something that wasn't absolutely necessary.  She neglected to give me the more costly details, like the fact that it would require a 2 year contract on the device, and it would also cost me an additional $20 per month.  She knew I wasn't really sure what the most cost-effective option was, so I trusted her knowledge.  I even had my husband speak to her over the phone about the device, since he's more savvy about technology than I am.  The clerk spoke with him the entire time she completed my transaction, and when she rang the sale up, she did not have me sign anything.  She handed me the receipts, and told me I had 14 days to decide If I wanted to keep the device.  When I got home and tried to use it, it would not connect to my computer.  I took it to a local Verizon store on my lunch break one day and they looked into the transaction.  They told me it was never put on my account; it was charged to someone else's account in error.  I had to go back to the store where I originally purchased it.  I wasn't able to get back to the original store right away, but I made sure to get there by the 14th day.  It took two store managers to look at my account and figure out the error.  They fixed it, but no one apologized to me for the inconvenience; they simply told me they could activate the device for me, or if I didn't want it any more, they would take it back (minus the $35 restocking fee). I took issue with the restock fee, because the store made the error by not giving me the full information at time of purchase, and then not charging it to my account so that I could try it out for 14 days.  I was very upset that the manager refused to remove the restocking fee due to "policy" and that I "signed a contract" and I had to pay it.  I argued that she should make an exception in this case, because I was inconvenienced.  I told her if she valued my future business at her store, she would reconsider.  She refused to budge and told me that I didn't need to shop in her store any more.  I thought that was quite rude and insulting. So, I took all of my original receipts, along with the receipt that indicated that she refunded the $69.99 plus tax (minus the $35 restock fee).  I left the store quite upset, but figured there wasn't much else I could say to her. Meanwhile, it's days later and my bill still shows the entire amount of $74 for the mobile hot spot device still on there.  There is no credit for the return at all.  I called customer service on my lunch break yesterday, and was on the phone for 45 min with a "Kendra R" to no avail.  The entire call, she kept putting me on hold, and my bill was still not straightened out. When I asked to speak with a supervisor or manager, she said there was no one else available.  Later that afternoon, I got an automated call (that left a voice message) from Verizon Customer Service to do a survey on my customer service experience.  I did the survey and explained that my problem was not resolved and I would like a call back.  No one has called me back yet, and I am stuck with no resolution to my problem.  Now the Verizon store has the device back, and I still have the entire amount for it on my bill.  Can you help me please?

    Nope, it was a Verizon Wireless Store.  I went in there in the first place because I trusted the Company for their professionalism, but I've been let down badly.  I posted my story on here because I'm hoping to be able to get the attention of someone from Customer Service.  It seems like the only way you can actually speak with a live person who knows what they are doing, is when you stop paying your bill on time.  After you pay your bill, they transfer you to a poorly trained "rep" that has no authority to handle anything important. I'm actually a pretty patient person, but when it takes someone over 45 min mostly just to keep me on hold, and then tell me they can't help me, I'm not really impressed with their idea of customer service.

  • Help with creating a custom component.

    Hi. I have created a really simple custom component called
    myComp. It is a simple Canvas 100 pixels x 100 pixels with an Image
    control component.
    <mx:Canvas>
    <mx:Image id="image1">
    </mx:Canvas>
    After instantiating the component in Main.mxml eg. var
    pic1:myComp = new myComp(); I am having a problem setting the
    source property of the Image component.
    "image1" is the id of mx:Image in the custom compoenent so I
    tried pic1.image1.source = "assets/ball.jpg" but I get a run time
    error "Error #1009: Cannot access a property or method of a null
    object reference".
    Don't really know what I am doing wrong.
    Any help please!

    In your custom component, try adding a bindable public var
    which contains the path to your image. Also, set the image.source
    to this var.
    In your main app, set the var within the <mx:> tags of
    the custom component. Since it is a public var, it will show up in
    the code hint. You can also now change the image var from the main
    app anytime you like using ActionScript code.

  • Help with moving between custom screens in a Standard Transaction

    All,
    I'm working with a standard transaction, but in this transaction, the I'm having 2 tabs of customized screens. In each of the screen, I have 1 mandatory fields to be filled. If the user only fill in the mandatory field of the first screen and click save, I need to display an error message and also display the second screen automatically? How can I do this? I tried to use CALL SCREEN 9200 but the system keep displaying the error "Screen SAPLXQQM 9200 must not be in Include screen".
    Can anyone help me on this one? Thanks in advance.

    You must don't calling screen 9200. I mean delete lines code
    CALL SCREEN 9200.
    from your program.
    This code can be placement in screen fiew logic only!
    Instead, set code of needed tab of tabstrip using FM. Program process this command and automaticly call tab with your 9200-subscreen.

Maybe you are looking for