Surprised concerning size when measures added in cube

Hello
I am surprised to see that the size of the cube increases only by 14% when 3 measures are added in the cube with only one measure earlier.
Initially, I maintained a cube with only one measure paidamt with datatype number(19,4). The tablespace size was just 434MB with maintenance time 7 mins. Then I added 3 more measures with types number(19,4), number(19,4) and float(53).
The size of the cube after this second maintenance was 930MB and time only 9 mins. The second maintenance addes on the first without deleting it ( i have known it, if i am incorrect, please show me the way). So, the actual size of the cube of second time should be
930-434= 496MB
Then, the increment in size due to added measures
= 496-434
=62MB

I am sorry that
the posting above was incomplete
The remaining part is below
Isn't it surprising!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Only 14% increasement instead of 300% (expected).
Even if AWM does not append to the size of first maintenance, its only about 100% increment.
So, how does it happen. Is it due to compression algorithm of AWM 10g R2 (that i am using)?
Can anyone help me to understand it?
With regards
Subash

Similar Messages

  • How come a font set at a certain pixel size is not actually that size when you measure it's height? For example, a font set at size 24 pixels is actually only 16 pixels tall (cap height).

    How come a font set at a certain pixel size is not actually that size when you measure it's height? For example, a font set at size 24 pixels is actually only 16 pixels tall (cap height).

    Hello, indeed, as Semaphoric stated, the Em box is not the same as the Cap heigh...
    It is described in length in this blog post by Thomas Phinney http://www.thomasphinney.com/2011/03/point-size/
    THis article has good images also that illustrate the em square: Font Bureau Blog | The Em

  • [svn:fx-trunk] 9407: Reordering the if-statement in isMeasureFixed() exposed that hostFormat can be null when measure() is called if styles changed and measure is done before the next commitProperties .

    Revision: 9407
    Author:   [email protected]
    Date:     2009-08-19 15:11:34 -0700 (Wed, 19 Aug 2009)
    Log Message:
    Reordering the if-statement in isMeasureFixed() exposed that hostFormat can be null when measure() is called if styles changed and measure is done before the next commitProperties.  This states test exposed this.
    We should rethink if we want to clear hostFormat rather than have a hostFormatChanged flag.  If there is no hostFormat at measure then it has to be fixed because there is no line break format to check for auto-size.
    QE notes:
    Doc notes:
    Bugs: SDK-22779
    Reviewer: Gordon
    Tests run: checkintests
    Is noteworthy for integration: no
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22779
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RichEditableText.as

    Oh my god, it is too long! You definitely check out types, casting and especially ODP.Net (it does everything for you)... etc. They can help you to simplify your code. I do not have enough time to copy paste it to Studio and understand and solve your issue, so I got title of your message as your main question.
    In Oracle, you can create an autonumber field by using sequences object. This is really useful when you need to create a unique number to act as a primary key.
    Basically you can create a sequence simply typing;
    CREATE SEQUENCE MY_SEQUENCE;
    now you have a sequence called "MY_SEQUENCE"... Then, I advice you select a number from sequence;
    select MY_SEQUENCE.nextval from dual;
    I said I advice actually kinda must, although it called sequence, I cannot be sequential. Do not even try to predict the value. You can be sure that it is unique number so you can use it.
    Then insert you record and use that number part of your primary key. I think that's it. Have fun.

  • Is it possible? "automatically increasing text block size when typing?"

    I want to know that:  "automatically increasing text block size when typing?" This works exactly in Freehand 10, 11.
    is it possible?
    Thanks.

    Smart Text Reflow was added to CS4, which might also be of interest to you.
    Adobe does, in fact listen to customer requests for new and improved features. Not all requests can be satisfied during each release cycle, but if you have a suggestion, you should file it at Adobe - Feature Request/Bug Report Form

  • Mapping measures in a cube vs Calculated Measure

    I have a fact table as
    Fact_Table_
    Sales Product_ID Special_Product_Flag
    Special_Product_Flag is a y/n flag
    and a Dimension_ table as
    Product_ID Product_Name
    I want to have 2 measures in the cube
    1. Product_Sales
    In the cube I specify the mapping for this measure as Fact_Table.Sales
    2. Special_Product_Sales
    in the cube I specify an olap expression in the mapping as
         case
         when Fact_Table.Special_Product_Flag = 'Y' then Fact_Table.Sales else 0 end
    Now is the measure      Special_Product_Sales treated as a calculated measure ?

    Here are definitions of base versus calculated measures.
    <li> A base measure is a measure that has associated physical storage in the AW. This physical storage is populated using some kind of load step, which may use either SQL or OLAP DML. The measure may then be aggregated according to the aggregation rules of the cube. The value of a base measure for any given cell in the cube may be stored or may be calculated dynamically depending on the "precomputation" rules of the cube.
    <li> A calculated measure is one that has no physical storage in the AW. The values of a calculated measure are always calculated dynamically regardless of the precomputation rules of the cube.
    Your case is clearly a base measure because you are physically loading data into the AW. The fact that you use a case expression in the mapping does not change the fact that is takes up physical storage nor the fact that it can be aggregated. It is the ability to aggregate the data that makes this a useful feature. In your case you will be able to aggregate special_product_sales up the product hierarchy so that its value for 'ALL_PRODUCTS' will be
    select sum(sales)
    from fact_table
    where Special_Product_Flag = 'Y'The value of sales for 'ALL_PRODUCTS', by contrast, would be
    select sum(sales)
    from fact_tableAs a side note it may be better to define your mapping using NULL instead of 0.
    case
    when Fact_Table.Special_Product_Flag = 'Y'
    then Fact_Table.Sales
    else null
    end

  • How can I keep tabs on the file size when importing from the Event Library into a Project? I want to ensure the movie will fit onto a 4.7Gb disc?

    How can I keep tabs on the file size when importing from the Event Library into a Project? I want to ensure the movie will fit onto a 4.7Gb disc?

    iDVD does not care about file sizes, as it compresses the file to the standard DVD format of mpeg2.
    It only cares about length i.e. max 2 hours including titles etc.
    iDVD encoding settings:
    http://docs.info.apple.com/article.html?path=iDVD/7.0/en/11417.html
    Short version:
    Best Performance is for videos of up to 60 minutes
    Best Quality is for videos of up to 120 minutes
    Professional Quality is also for up to 120 minutes but even higher quality (and takes much longer)
    Professional Quality: The Professional Quality option uses advanced technology to encode your video, resulting in the best quality of video possible on your burned DVD. You can select this option regardless of your project’s duration (up to 2 hours of video for a single-layer disc and 4 hours for a double-layer disc). Because Professional Quality encoding is time-consuming (requiring about twice as much time to encode a project as the High Quality option, for example) choose it only if you are not concerned abo
    In both cases the maximum length includes titles, transitions and effects etc. Allow about 15 minutes for these.
    You can use the amount of video in your project as a rough determination of which method to choose. If your project has an hour or less of video (for a single-layer disc), choose Best Performance. If it has between 1 and 2 hours of video (for a single-layer disc), choose High Quality. If you want the best possible encoding quality for projects that are up to 2 hours (for a single-layer disc), choose Professional Quality. This option takes about twice as long as the High Quality option, so select it only if time is not an issue for you.
    Use the Capacity meter in the Project Info window (choose Project > Project Info) to determine how many minutes of video your project contains.
    NOTE: With the Best Performance setting, you can turn background encoding off by choosing Advanced > “Encode in Background.” The checkmark is removed to show it’s no longer selected. Turning off background encoding can help performance if your system seems sluggish.
    And whilst checking these settings in iDVD Preferences, make sure that the settings for NTSC/PAL and DV/DV Widescreen are also what you want.
    http://support.apple.com/kb/HT1502?viewlocale=en_US

  • How to reduce file size when using batch processing?

    I use File > Process Multiple Files to batch process photos to a smaller file size along with adding my watermark.  I've played with many different settings and no matter what I choose, I can't get my average file size to be less than about 200k.  However, when I've exported the same photos using iPhoto, I can get the file size to about half of that with no difference (to my naked eye at least) in quality.
    I definitely want to keep the height at 768 pixels so that needs to stay constant.
    My current settings in batch processing (average file size = 200 kb)
    Resize images with a height constraint of 768 pixels at 150dpi
    What I've tried:
    Resize at 72dpi (reduced file size by about 5kb)
    convert file to JPEG low quality (reduced file size by about 10kb)
    convert file to JPEG medium quality (not much difference in file size)
    I'm using PSE 10 on a Mac running Lion.
    Thank you in advance for your help!

    You should go with default settings of Optimizer.
    One difference between default settings of Optimizer and Reduce file size is that Optimizer does not guarantee a reduction in file size (if your Optimizer settings lead to an increase in file size, that's what you will get).
    With Acrobat 9, the default setting in Optimizer has an additional setting which would not do an image optimization that results in increase of file size. In that sense it would in most cases give a smaller file.

  • Keeping images full size when uploading from "Photos" after editing

    Is there any way that I can edit photos in the ”Photos” app and keep what I have edited and also keep them full size when I upload them Flickr?

    Highlight the images you wish to export.
    Ctrl-Shift-E to open the export dialog.
    Change the top drop-down list to Hard Drive.
    Choose a location for the files in the Export Location section.
    Adjust file naming if necessary.
    In the File Settings section make sure you have the correct output format selected and choose a quality (85 is fine for most things and keeps file size manageable).
    Make file size changes as appropriate in the Image Sizing section.
    If you are downsizing a lot then consider adding some output sharpening.
    Click Export.
    Hopefully that covers most things.

  • Wrong image size when placing

    When I try to place a picture in photoshop CS6 either from drag&drop in the application window or from the place command, my image gets automatically resized based on the resolution (pixels per inch) of my document.
    Example:
    I create a new blank document, 1000*1000px @ 300ppi.
    I have another image that I want to place in the document and this image measures 500*500px @ 100ppi.
    I then go to File->Place  and the image that appears is way too big.  In the Info panel, it says that the image is 1500x1500 and the transform settings at the top indicate that the image hasen't been scaled because both width and height are at 100%
    If I cahnge my document resolution (no resample) to 100ppi, the image has the right size when I place it.
    So my question is:  Is this normal?  Because it has never done that with past versions of Photoshop.  If it is normal, is there a way I can change this because placing an image based on it's physical (printed) size makes absolutely no sense.  1 pixel = 1 pixel.
    Thank you for your help

    Once you understand how Photoshop works you can batch some some things you create some actions for.  Size is difficult to deal with in actions and often you will have problems dealing with aspect ratios and image orientation.
    To automate a process well scripting is more powerful then actions for you can use logic to solve problem area involving sizing, orientation, aspect ratios and positioning.  You can size an image to cover an area then mask off any excess to virtually crop the image to the areas aspect ratio.  If you download my Photoshop Photo Collage Toolkit there are script that create composite that can deal with any size image.
    One script PasteImageRoll.jsx can past selected images into a document to be print on roll paper. Images will be tiled into the document some images may be rotated for a better fit for the tiles aspect ratio. Image will be resized to fill the tile area and masked to virtually make a center crop of the images.  Other scripts will place in images file into collage template as smart object layers. Smart object images layers will be scaled to fit the various templates images areas position over the area and masked to the area. Link Documentation and Examples for the toolkit and Link Paste Image Roll Script Information
    Scripting is very powerful you can even open image off the web using its URL even stack all the image on a web page using its url
    OpenImageFromWeb.jsx
    // OpenImageFromWeb.jsx
    // Copyright 2006-2009
    // Written by Jeffrey Tranberry
    // Photoshop for Geeks Version 3.0
    // modified by MLH
    // modified by JJMACK 2010
    <javascriptresource>
    <about>$$$/JavaScripts/OpenImageFromWeb/About=JJMack's OpenImageFromWeb.^r^rCopyright 2010 Mouseprints.^r^rJJMack's Script.^rOpen Image From Web as a Placed smart object layer!</about>
    <category>JJMack's Script</category>
    </javascriptresource>
    Description:
    This sample script shows how to download images from a web server using the
    Socket object.
    // Note: Socket.read() parameter & behavior
    // Socket.read() will read or time out. It may not read all data fromserver. <---------------
    // Socket.read(999999) will read 999999 bytes, or timeout, or socket will be
    // closed by the server.
    // enable double clicking from the
    // Macintosh Finder or the Windows Explorer
    #target photoshop
    // Make Photoshop the frontmost application
    app.bringToFront();
    // SETUP
    var html = "";
    var request = "";
    var url = "";
    var binary = "";
    var requesthtml = "";
    var socket = new Socket;
    var domain = "www.mouseprints.net" // the domain for the file we want
    var sImg = "/old/dpr/JJMack8btiSrgb.png"; // the rest of the url for the file we want
    var port = ":80"; // the port for the file we want
    // MAIN
    var url = prompt("Enter the image's full URL http://domain/full image path",url);   // prompt for domain name
    if (url != null && url != ""){
              if ( (url.indexOf("http://") != -1)  || (url.indexOf("HTTP://") != -1)  ) {
                        domainPathLength = url.length - "http://".length;
                        domainPath = url.substr(7, domainPathLength);
                        pathOffset = domainPath.indexOf("/");
                        domain = domainPath.substr(0, pathOffset);
                        sImg = domainPath.substr(pathOffset, domainPath.length - pathOffset );
                        // Isolate Image name
                        var Name =  sImg
                        var imagePath = "";
                        while (Name.indexOf("/") != -1 ) {                                        // Strip Path
                                  imagePath= imagePath + Name.substr(0, Name.indexOf("/") + 1);
                                  Name = Name.substr(Name.indexOf("/") + 1 ,);
                        //alert("domain = " +  domain + " , Image = " + sImg + " Image File Name = " + Name);
                        if ( domain != "" && sImg != "" && sImg != "/" && Name.indexOf(".") != -1 ) {
                                  var f = File("~/" + Name); // Image file name
                                  f.encoding = "binary"; // set binary mode
                                  f.open("w");
                                  if (socket.open(domain + port, "binary")){
                                            //alert("GET " + sImg +" HTTP/1.0\n\n");
                                            requesthtml ="\n\nDmain:" + domain + " Port" + port + " binary\n"
                                            request ="GET " + sImg +" HTTP/1.0\n\n"
                                            socket.write(request); // get the file
                                            var binary = socket.read(99999999);
                                            binary = removeHeaders(binary);
                                            f.write(binary);
                                            socket.close();
                                  else { alert("Connection to Domain:" + domain + " Port" + port + " Failed   ");}
                                  f.close();
                                  if (binary.length != 0) {
                                            //alert ("file length = " + binary.length );
                                            if(app.documents.length == 0) {
                                                      //app.documents.add([width] [, height] [, resolution] [, name] [, mode] [, initialFill] [,pixelAspectRatio] [, bitsPerChannel] [,colorProfileName])
                                                      app.documents.add(new UnitValue(1600,'px'), new UnitValue(1200,'px'), 72, null, NewDocumentMode.RGB, DocumentFill.WHITE, 1,BitsPerChannelType.EIGHT, "sRGB IEC61966-2.1" );
                                            placeSmartObject( f );
                                  f.remove(); // Remove temporary downloaded files
                        else { alert("Invalid Image URL: " + url ); }
              else { alert("Invalid URL: " + url ); }
    else { if ( url == "" ) alert("No URL Entered"); }
    // FUNCTIONS
    function placeSmartObject(fileRef){
              //create a new smart object  layer using a file
              try {
                        var desc = new ActionDescriptor();
                                  desc.putPath( charIDToTypeID( "null" ), new File( fileRef ) );
                                  desc.putEnumerated( charIDToTypeID( "FTcs" ), charIDToTypeID( "QCSt" ),charIDToTypeID( "Qcsa" ));
                                  desc.putUnitDouble( charIDToTypeID( "Wdth" ),charIDToTypeID( "#Prc" ), 100 );
                                  desc.putUnitDouble( charIDToTypeID( "Hght" ), charIDToTypeID( "#Prc" ), 100 );
                                  desc.putUnitDouble( charIDToTypeID( "Angl" ), charIDToTypeID( "#Ang" ), 0 );
                                  desc.putBoolean( charIDToTypeID( "Lnkd" ), true );
                        executeAction( charIDToTypeID( "Plc " ), desc, DialogModes.NO );
                        activeDocument.activeLayer.resize(100 ,100,AnchorPosition.MIDDLECENTER);
                        activeDocument.revealAll();
              } catch (e) { alert("Placeing file: '" + fileRef + "' failed"); }
    // Remove header lines from HTTP response
    function removeHeaders(binary){
              var bContinue = true ; // flag for finding end of header
              var line = "";
              var httpheader = "";
              var nFirst = 0;
              var count = 0;
              while (bContinue) {
                        line = getLine(binary) ; // each header line
                        httpheader = httpheader + line;
                        bContinue = line.length >= 2 ; // blank header == end of header
                        nFirst = line.length + 1 ;
                        binary = binary.substr(nFirst) ;
              if (httpheader.indexOf("Bad Request") != -1 || httpheader.indexOf("Not Found") != -1) {
                        alert (requesthtml + request + httpheader);
                        var binary = "";
              //alert (requesthtml + request + httpheader + "\nFile length = " + binary.length);
              return binary;
    // Get a response line from the HTML
    function getLine(html){
              var line = "" ;
              for (var i = 0; html.charCodeAt(i) != 10; i++){ // finding line end
                        line += html[i] ;
              return line ;
    StackWebPageImages.jsx
    // Copyright 2007.  Adobe Systems, Incorporated.  All rights reserved.
    // This script demonstrates how to download images from a web server using the Socket object.
    // Adobe's Socket.jsx Photoshop sample javascript
    // modified by JJMACK 2011
    <javascriptresource>
    <about>$$$/JavaScripts/StackWebPageImages/About=JJMack's StackWebPageImages.^r^rCopyright 2011 Mouseprints.^r^rJJMack's Script.^rPlaces Images used in a Web page as smart object layers in stack in a new document!^rOnly images embedded coded with path relative to the domains root will be Placed though.^rImages that fail to be placed may be Placed into the document using your browser right click to copy image URL.^rThen paste that URL into the OpenImageFromWeb script URL input field. </about>
    <category>JJMack's Script</category>
    </javascriptresource>
    // Note: Socket.read() parameter & behavior
    // Socket.read() will read or time out. It may not read all data from server.
    // Socket.read(999999) will read 999999 bytes, or timeout, or socket will be
    // closed by the server.
    // Settings
    #target photoshop
    app.bringToFront(); // bring top
    //if("en_US" == $.locale) { // display only US build
    //          alert("This sample script shows how to download images from a web server using the Socket object.");
    // Remove header lines from HTTP response
    function removeHeaders(binary)
              var bContinue = true ; // flag for finding end of header
              var line = "";
              var nFirst = 0;
              var count  = 0;
              while (bContinue) {
                        line = getLine(binary) ; // each header line
                        bContinue = line.length >= 2 ;  // blank header == end of header
                        nFirst = line.length + 1 ;
                        binary = binary.substr(nFirst) ;
              return binary;
    // Get a response line from the HTML
    function getLine(html)
              var line = "" ;
              for (var i = 0; html.charCodeAt(i) != 10; i++){ // finding line end
                        line += html[i] ;
              return line ;
    var socket = new Socket;
    var port = "80";
    var html = "";
    //if (socket.open("www.adobe.com:80")){
    //          socket.write("GET /index.html HTTP/1.0\n\n");
    //          html = socket.read(9999999);
    //          socket.close();
    var url = "";
    var url = prompt("Enter the Web page full URL the images are in like http://domain/index.html",url);   // prompt web page
    if (url != null && url != ""){
              if ( (url.indexOf("http://") != -1)  || (url.indexOf("HTTP://") != -1)  ) {
                        domainPathLength = url.length - "http://".length;
                        domainPath = url.substr(7, domainPathLength);
                        if ( domainPath.indexOf("/") != -1 ) {
                                  pathOffset = domainPath.indexOf("/");
                                  domain = domainPath.substr(0, pathOffset);
                                  wPage= domainPath.substr(pathOffset, domainPath.length - pathOffset );
                        else {
                                  domain = domainPath;
                                    wPage = "/";
                        // Isolate Page name
                        var pName=  wPage;
                        var pagePath = "";
                        while (pName.indexOf("/") != -1 ) {
                                  pagePath= pagePath + pName.substr(0, pName.indexOf("/") + 1);
                                  pName = pName.substr(pName.indexOf("/") + 1 ,);
                        //if (socket.open("www.adobe.com:80")){
                        if (socket.open(domain +":" + port)){
                                  //alert("GET page = " + wPage + " HTTP/1.0\n\n");
                                  socket.write("GET " + wPage + " HTTP/1.0\n\n");
                                  html = socket.read(9999999);
                                  socket.close();
                                  //var aImg = html.match(/src=\"\/images\/(.*?)\"/g);                    //  src="/images/~~~"
                                  //var aImg = html.match(/img src=\"(.*?)\"/g);                              // img src="~~~"
                                  //var aImg = html.match(/img src=\"(.*?)[\"?]/g);                    // img src=["|?]~~~" 
                                  //var aImg = html.match(/img (.*?)src=\"(.*?)[\"?]/g);                    // img ~~~src="~~~" 
                                  var aImg = html.match(/<img (.*?)src=\"(.*?)\"/g);                    // <img ~~~src="~~~"
                                  //var aImg = html.match(/<img (.*?)src=\"(.*?)[\"?]/g);                    // <img ~~~src=["|?]~~~"
                                  //alert("Image List\n" + aImg);
                                  if (null != aImg) { // parsed image tags
                                            //app.documents.add([width] [, height] [, resolution] [, name] [, mode] [, initialFill] [,pixelAspectRatio] [, bitsPerChannel] [,colorProfileName])
                                            app.documents.add(new UnitValue(1600,'px'), new UnitValue(1200,'px'), 72, null, NewDocumentMode.RGB, DocumentFill.WHITE, 1,BitsPerChannelType.EIGHT, "sRGB IEC61966-2.1" );
                                            for (var i=0; i < aImg.length; i++) {
                                                      var str = aImg[i];
                                                      imageNo=i+1;
                                                      //var sImg = str.substring(5, str.length-1); // remove "src=" & ["]
                                                      //var sImg = str.substring(9, str.length-1); // remove "img src=" & ["]
                                                      var sImg = str.substring(str.indexOf('src="')+5, str.length-1); // remove "<img ... src=" & ["]
                                                      try{
                                                                if (sImg.substring(0,7) == "http://" || sImg.substring(0,7) == "HTTP://")  { placeWebImage(imageNo, sImg); } // redirect image
                                                                else {
                                                                          if (sImg.substring(0,1) != "/" ) { sImg = pagePath + sImg ; }                               // image is relative to web page path
                                                                          //else { sImg = sImg.substr(1, sImg.length - 1) ; sImg = pagePath + sImg; }          // aways include web page path bad idea
                                                                          // Isolate Image name
                                                                          var Name =  sImg;
                                                                          var imagePath = "";
                                                                          while (Name.indexOf("/") != -1 ) {                                        // Strip Path
                                                                                    imagePath= imagePath + Name.substr(0, Name.indexOf("/") + 1);
                                                                                    Name= Name.substr(Name.indexOf("/") + 1 ,);
                                                                          Name= imageNo + " " + Name;
                                                                          //var f = File("~/socket_sample_" + i + sImg.substr(sImg.length-4)); // 4 = .gif or .jpg
                                                                          var f = File("~/" + Name ); // Temp File name
                                                                          f.encoding  = "binary";  // set binary mode
                                                                          f.open("w");
                                                                          //if (socket.open("www.adobe.com:80", "binary")){
                                                                          if (socket.open(domain +":" + port, "binary")){
                                                                                    socket.write("GET " + sImg +" HTTP/1.0\n\n"); // Adobe's site image link starts with "/"
                                                                                    var binary = socket.read(9999999);
                                                                                    binary = removeHeaders(binary);
                                                                                    f.write(binary);
                                                                                    socket.close();
                                                                          else { alert("Socket Open " + domain + ":" + port + ", binary Failed"); }
                                                                          f.close();
                                                                          //app.open(f); // Open files in Photoshop
                                                                          placeSmartObject( f );
                                                                          f.remove();  // Remove temporary downloaded files
                                                      catch(e){
                                            alert("Number of images found in page = " + imageNo );
                                  else { alert("No images found for " + url); }
                        else { alert("Connection to Domain:" + domain + " Port " + port + " Failed   ");}
              else { alert("Invalid URL: " + url ); }
    else { if (url == "") alert("No URL Entered"); }
    // FUNCTIONS
    function placeSmartObject(fileRef){
              //create a new smart object layer using a file
              try {
                        var desc = new ActionDescriptor();
                                  desc.putPath( charIDToTypeID( "null" ), new File( fileRef ) );
                                  desc.putEnumerated( charIDToTypeID( "FTcs" ), charIDToTypeID( "QCSt" ),charIDToTypeID( "Qcsa" ));
                                  desc.putUnitDouble( charIDToTypeID( "Wdth" ),charIDToTypeID( "#Prc" ), 100 );
                                  desc.putUnitDouble( charIDToTypeID( "Hght" ), charIDToTypeID( "#Prc" ), 100 );
                                  desc.putUnitDouble( charIDToTypeID( "Angl" ), charIDToTypeID( "#Ang" ), 0 );
                                  desc.putBoolean( charIDToTypeID( "Lnkd" ), true );
                        executeAction( charIDToTypeID( "Plc " ), desc, DialogModes.NO );
                        activeDocument.activeLayer.resize(100 ,100,AnchorPosition.MIDDLECENTER);
                        activeDocument.revealAll();
              } catch (e) { }
    function placeWebImage(num, url){
              var socket = new Socket;
              domainPathLength = url.length - "http://".length;
              domainPath = url.substr(7, domainPathLength);
              pathOffset = domainPath.indexOf("/");
              domain = domainPath.substr(0, pathOffset);
              sImg = domainPath.substr(pathOffset, domainPath.length - pathOffset );
              // Isolate Image name
              var Name =  sImg
              var imagePath = "";
              while (Name.indexOf("/") != -1 ) {                                        // Strip Path
                        imagePath= imagePath + Name.substr(0, Name.indexOf("/") + 1);
                        Name = Name.substr(Name.indexOf("/") + 1 ,);
              Name= num + "R " + Name;
              //alert("domain = " +  domain + " , Image = " + sImg + " Image File Name = " + Name);
              if ( domain != "" && sImg != "" && sImg != "/" && Name.indexOf(".") != -1 ) {
                        var f = File("~/" + Name); // Image file name
                        f.encoding = "binary"; // set binary mode
                        f.open("w");
                        if (socket.open(domain +":" + port, "binary")){
                                  //alert("socket.write GET " + sImg +" HTTP/1.0\n\n");
                                  //socket.write("GET " + sImg +" HTTP/1.0\n\n");           // did not work
                                  socket.write("GET " + url +" HTTP/1.0\n\n");                    // use url to this server works
                                  var binary = socket.read(9999999);
                                  binary = removeHeaders(binary);
                                  f.write(binary);
                                  socket.close();
                        //else { alert("Connection to Domain:" + domain + " Port" + port + " Failed   ");}
                        f.close();
                        placeSmartObject( f );
                        f.remove(); // Remove temporary downloaded files
              //else { alert("Invalid Image URL: " + url ); }

  • UJK_EXECUTION_EXCEPTION:Data records rejected when writing to the cube

    Hello,
    I ran into an issue while testing Script using UJKT.
    I can plan the same intersection/record from BPC template but it doesn't work from Script/UJKT.
    I checked work statuses, scripts, rules. Found nothing that locks the intersection.
    Anything else I should check?
    Is there a way to find out more detailed log to see why the data records are rejected.
    Appreciate your help. Thanks.
    P.S. I looked at many scn posts on this error but nothing really helped.
    UJKT Log:
    #dim_memberset=9
    REC :%VALUE% * 110
    CALCULATION BEGIN:
    QUERY PROCESSING DATA
    QUERY TIME : 571.13 ms. 1  RECORDS QUERIED OUT.
    QUERY REFERENCE DATA
    CALCULATION TIME IN TOTAL :197.47 ms.
    1  RECORDS ARE GENERATED.
    CALCULATION END.
    ENDWHEN ACCUMULATION: 1  RECORDS ARE GENERATED.
    UJK_EXECUTION_EXCEPTION:Data records rejected when writing to the cube

    Thanks Vadim. I debugged UJKT but didn't find anything helpful yet.
    Will keep digging.
    Here is the script.
    *XDIM_MEMBERSET CAP_VIEW = 27
    *XDIM_MEMBERSET PPS_TIME = 2014.03
    *XDIM_MEMBERSET PPS_ITEM = 52540046EAC51ED3B2E49C10DBDB1565
    *XDIM_MEMBERSET CAP_GRP = ZHM_IT00050001
    *XDIM_MEMBERSET PPS_ENTITY = US
    *XDIM_MEMBERSET CAP_CATG = ZHM_IT0005
    *XDIM_MEMBERSET PPS_ACCOUNT = COST
    *XDIM_MEMBERSET RPTCURRENCY = USD
    *DESTINATION_APP=PPS_PLANNING
    *SKIP_DIM = CAP_CATG,CAP_GRP,CAP_VIEW
    *ADD_DIM PPS_CATG = ZHM_IT0001
    *ADD_DIM PPS_GROUP = ZHM_IT00010001
    *ADD_DIM PPS_VIEW = ZHM_IT0001000127
    *WHEN PPS_ACCOUNT
    *IS  COST
    *REC(EXPRESSION=%VALUE%*10)
    *ENDWHEN
    *COMMIT
    LGX:
    LOG:
    FILE:\ROOT\WEBFOLDERS\HM_PLAM \ADMINAPP\PPS_CAPPLAN\TEST.LGF
    USER:SMULLAPUDI
    APPSET:HM_PLAM
    APPLICATION:PPS_CAPPLAN
    [INFO] GET_DIM_LIST(): I_APPL_ID="PPS_CAPPLAN", #dimensions=9
    CAP_CATG,CAP_GRP,CAP_VIEW,MEASURES,PPS_ACCOUNT,PPS_ENTITY,PPS_ITEM,PPS_TIME,RPTCURRENCY
    #dim_memberset=8
    CAP_VIEW:27,1 in total.
    PPS_TIME:2014.03,1 in total.
    PPS_ITEM:52540046EAC51ED3B2E49C10DBDB1565,1 in total.
    CAP_GRP:ZHM_IT00050001,1 in total.
    PPS_ENTITY:US,1 in total.
    CAP_CATG:ZHM_IT0005,1 in total.
    PPS_ACCOUNT:COST,1 in total.
    RPTCURRENCY:USD,1 in total.
    REC :%VALUE%*10
    CALCULATION BEGIN:
    QUERY PROCESSING DATA
    QUERY TIME : 1038.58 ms. 1  RECORDS QUERIED OUT.
    QUERY REFERENCE DATA
    CALCULATION TIME IN TOTAL :173.04 ms.
    1  RECORDS ARE GENERATED.
    CALCULATION END.
    ENDWHEN ACCUMULATION: 1  RECORDS ARE GENERATED.
    UJK_EXECUTION_EXCEPTION:Data records rejected when writing to the cube
    Thanks,
    Vasu

  • JLists, JScrollPanes different size when empty than when populate

    I have a JList which is inside of a JScrollpane, which is inside of a panel who's layout is controlled with a GridBagLayout.
    When I first start my program, and the JList is empty, the JList is the size I want. The GridBagLayout is set to fill both directions for the JList.
    However, when I add an item to the JList, the GridBagLayout resizes the cell that the JList is inside of just slightly. How can I prevent this? It is obnoxious to use the program when the all the items on the screen change size a little bit when a JList goes empty as opposed to when it is populate.
    Why does a JList (inside of a scrollpane) get a different size assigned to it by the grid bag layout when it is empty, as to when it has items in it?

    Setting the preferred size on the scroll pane containing the list corrects 1/2 of my problem - The vertical space alloted by the grid bag layout no longer changes with an empty list compared to a populated list.
    I'll give the first guy a couple of points.
    The rest of the points are still up for grabs ----
    I still have problems with side by side lists which have items that can be moved back and forth.
    I tried setting min size and preferred size on the scroll panes.
    I tried putting each scroll pane into its own JPanel that had a Grid Layout, and then added the panels to my main panel with a grid bag layout, and weights set to .5 for horizontal expansion.
    I even tried putting min, preferred, and max sizes on these panels.
    I still cannot make the grid bag layout alot equal space to the left and right scroll panes.
    Is there any way that I can get the space alloted between my components to be roughly
    ====================
    || 45% || 5% || 45% ||
    || JList || buttons || JList ||
    ====================
    Ane then have only the outside two columns change size when the window is resized (in equal proportion)???

  • Loading measures to a cube

    hi
    How to load measures to a cube.
    I created a cube, validated and deployed successfully.
    I am loading only a single measure from a table, but it does not load anything.
    even the keys of the dimensions are not in the database table.
    do i need to map on the measure to the proper row in the cube or i also need the keys to be mapped?
    regards
    Arif
    P.S. I am unable to include a screen dump in the forum, how to do it?
    Edited by: badwanpk on Nov 4, 2008 2:36 PM

    Yes, you need to build a row for insertion to the fact by joining your source tables.
    At the moment you are building a Data Mart/Star Schema (fact and dimension tables i.e. a cube), this Star Schema will be used for reporting i.e. no need to go back to the source. Ultimately, this could grow into a Data Warehouse that has dimensions and facts populated from many sources allowing reporting across your whole organisation rather than a single application. The dimensions are likely to contain far more descriptive i.e. text attributes than the source systems and will be used to constrain your reporting queries.
    I suggest reading some articles/books by Ralph Kimbal, they should give you a good overview of Data Warehousing and Dimensional modelling.
    http://www.kimballgroup.com/html/articles.html
    Si

  • Text Size When Printing Comments Different Than On-Screen

    Hello.  We are supporting an end-user with an unusual problem.  They are able to make sticky comments fine and adjust the font size on screen.  However, when this user goes to print either to a physical printer or a PDF, the font size of the comment is different (smaller) than what is shown on screen.
    On-Screen Example:
    Print To PDF Example:
    Is there an option to match the text size of the printed version to that of the on-screen?  Even if the printed text size can be bumped up just a bit, it'd be greatly appreciated.  The font size when commenting on-screen is 18 Arial but it seems like the printed version is more like 10 Ariel.
    Thank you.

    Just tried the latest version of Adobe Reader and the same issue occurs.  Making the on-screen font size 70 in the Commenting Preferences field makes NO CHANGE when printed (comes out at about 10 / 12 point font).  Even the Print Preview doesn't show the larger font so there's some setting getting lost when you go to print.
    Talking to our client, this problem likely coincides with Adobe updates that were pushed out.  This is easily reproducible (anyone with an up-to-date version of Adobe Reader can do this) but doesn't seem to be a fix.
    Any help out there?

  • How can I increase the thumbnail size when using Safari to upload an image to a website?

    I upload many images to multiple websites and when using Safari to upload these images, the thumbnails are so small I can barely make out what the image is. I can easily figure out how to increase the thumbnail size when viewing them in Finder and set the default to my liking, but I cannot seem to find a way to do this in Safari. The last topic I saw on this was form 2013 and have not seen any update. Is there a way to do this?

    Delete all unused, invisible layers.
    Sometimes zip compression is better than jpg compression (in the pdf output settings). Zip is lossless, and works better with non gradient colour or no images.
    Flattening the image before you save it to pdf can reduce the file size if you are using jpg compression.
    Post a preview of your pdf and we can comment further on how to reduce the file size.

  • I'm no longer able to select the file size when emailing a photo. How can I solve this? iPhone 4S with iOS 7.1.1

    I'm no longer able to select the file size when emailing a photo. How can I solve this? iPhone 4S with iOS 7.1.1. Thanks a lot.

    Yeah - I tried that, several times; each time I get "iTunes is restoring the software on this iPhone" and after about 30 minutes the screen on the phone lights up again with the same screen I had before.  After that ... nothing.

Maybe you are looking for