Scope Question - ratios?

Hi all,
A question about the scope when calculating ratios.
If I have a report and introduce breaks to get sub-totals, when I total the columns, WebI puts sum(column_value) in the totals fields. If I then have a column which computes a percentage of column A to column B, I would normally put a new calculated field in the totals row of sum(column A) / sum(column B) as below
     A                   var1           var2         var1/var2
     A                   var1           var2         var1/var2
     A                   var1           var2         var1/var2
     A                   var1           var2         var1/var2
     Sub-Total A:        sum(var1)      sum(var2)    sum(var1)/sum(var2)
     B                   var1           var2         var1/var2
     B                   var1           var2         var1/var2
     B                   var1           var2         var1/var2
     Sub-Total B:        sum(var1)      sum(var2)    sum(var1)/sum(var2)
     Overall Total:      sum(var1)      sum(var2)    sum(var1)/sum(var2)
I know this works - but as WebI "knows" the scope of the report, is this necessary?
Or would it be valid just to use the column values as in
     A                   var1           var2         var1/var2
     A                   var1           var2         var1/var2
     A                   var1           var2         var1/var2
     A                   var1           var2         var1/var2
     Sub-Total A:        var1           var2         var1/var2
     B                   var1           var2         var1/var2
     B                   var1           var2         var1/var2
     B                   var1           var2         var1/var2
     Sub-Total B:        var1           var2         var1/var2
     Overall Total:      var1           var2         var1/var2
It seems to work - but is this a valid approach I can rely on in all cases?
(In real life, to allow for dividing by 0, we would create a variable for the ratio column, and this would mean creating another variable to do the same thing for the sub-total and total rows)
Thanks,
Malcolm

Hi Malcolm,
Break Footer will display the subtotal of the each braked value. where it aggregate the value and display subtotal.
You can change this calculation as per your requirement.
For more detail you see the below document.
http://help.sap.com/businessobject/product_guides/boexir31SP3/en/xi31_sp3_webi_ffc_en.pdf
Page no 33
I hope this is what you are looking for.

Similar Messages

  • Page flow scope questions

    Hi guys,
    I'm continuing my investigation of ADF Faces 11 and have a few questions about pageFlowScope:
    1. When are objects removed from pageFlowScope, aside from a session ending? Do they need to be removed manually or are they removed when they are no longer accessed, such as in Orchestra's conversation.access scope?
    2. Managed beans cannot be declared to be of this scope in the core release. Does anybody know of an extension that provides a Spring custom scope based on pageFlowScope, similar to what Orchestra's offering?
    Thanks all!

    Hi,
    +1. When are objects removed from pageFlowScope, aside from a session ending? Do they need to be removed manually or are they removed when they are no longer accessed, such as in Orchestra's conversation.access scope?+
    If you open a dialog within the external dialog framework then this creates a new pageFlowScope. This is cleaned up for you when you exit it. Beside of this the pageFlowScope of the base flow is cleaned up when the session ends.
    +2. Managed beans cannot be declared to be of this scope in the core release. Does anybody know of an extension that provides a Spring custom scope based on pageFlowScope, similar to what Orchestra's offering?+
    The managed bean scope is handled by the JSF RI navigation handler, which you use if not using ADFc. This means that unless you build your own decorator for it there are no additional scopes to put managed beans into. Maybe posting the same question to the Trinidad mailing list on Apache gives you some more inside
    Frank

  • New to Java and I guess a scope question.

    Hello and thank you for taking the time to read this. I am not a real programmer, everything I have ever done was a total hack, or written without a full understanding of how I was doing it. One thing about Java is that you might have like 20 classes (or interfaces or whatever), and that code is "all over" (which means to me not on one big page). My comment statements may look odd to others, but the program is for me alone and well, only I need to understand them.
    Through some hacking, I wrote/copied/altered the following code:
    import java.io.*;
    import java.util.*;
    public class readDataTest
         public static void main(String[] args)
              /* get filename from user, will accept and work with drive name
              e.g. c:\java\data.txt, if it is the same drive as the compiler
              does not need the directory. however, it always needs the extension.
              userInput is created by me, File, StringBuffer, BufferReader
              are part of java.io */
              userInput fileinput = new userInput();
              String filename = fileinput.getUserInput("What is the file's name");
              File file = new File(filename);
              StringBuffer contents = new StringBuffer();
              BufferedReader reader = null;
              //try to read the data into reader
              try
                   reader = new BufferedReader(new FileReader(file));
                   String text = null;
                   while((text = reader.readLine()) !=null)
                        //create a really big string, seems inefficient
                        contents.append(text).append(System.getProperty("line.separator"));
                   //close the reader
                   reader.close();
              catch (IOException e)
                   System.out.println(e);
              //take the huge string and parse out all the carriage returns
              String[] stringtext = contents.toString().split("\\r");
              //create mmm to get take the individual string elements of stringtext
              String mmm;
              //create ccc to create the individual parsed array for the ArrayList
              String[] ccc = new String[2];
              //create the arraylist to store the data
              ArrayList<prices> data = new ArrayList<prices>();
              /*go through the carriage returned parsed array and feed the data elements
              into appropriate type into the arraylist, note the parse takes the eof as an
              empty cell*/
              //prices pricestamp = new prices();
              for(int c=0; c < stringtext.length-1; c++)
                   prices pricestamp = new prices();
                   mmm=stringtext[c];
                   /*trims the extra text created by the carriage return, if it is not
                   trimmed, the array thinks its got an element that is "" */
                   mmm=mmm.trim();
                   //whitespace split the array
                   ccc=mmm.split("\\s");
                   pricestamp.time=Integer.parseInt(ccc[0]);
                   pricestamp.price=Double.parseDouble(ccc[1]);
                   //System.out.println(ccc[1]);
                   data.add(pricestamp);
                   //System.out.println(data.get(c).price);
                   //pricestamp.time=0;
                   //pricestamp.price=0;
                   pricestamp=null;
              //pricestamp=null;
              //System.out.println(pricestamp.price);
              System.out.println(data.size());
              double totalprice=0;
              for(int c=0; c<data.size(); c++)
                   //System.out.println(data.get(c).price);
                   totalprice+=data.get(c).price;
              System.out.println("This is the total price: " + totalprice);
    public class prices
         int time;
         double price;
    public class evenOdd
         public int isEven(double number)
              int evenodd;
              double half = number/2;
              int half2 = (int) half;
              if(half == half2)
                   evenodd = 1;
              else
                   evenodd = 0;
              return evenodd;
    So the program works and does what I want it to do. I am very sure there are better ways to parse the data, but thats not my question. (For argument's sake lets assume the data that feeds this is pre-cleaned and is as perfect as baby in its mother's eyes). My question is actually something else. What I originally tried to do was the following:
    prices pricestamp = new prices();
              for(int c=0; c < stringtext.length-1; c++)
                   mmm=stringtext[c];
                   mmm=mmm.trim();
                   ccc=mmm.split("\\s");
                   pricestamp.time=Integer.parseInt(ccc[0]);
                   pricestamp.price=Double.parseDouble(ccc[1]);
                   data.add(pricestamp);
    however, when I did this, this part:
    for(int c=0; c<data.size(); c++)
                   //System.out.println(data.get(c).price);
                   totalprice+=data.get(c).price;
              System.out.println("This is the total price: " + totalprice);
    would only use the last price recorded in data. So each iteration was just the last price added to totalprice. I spent hours trying to figure out why and trying different ways of doing it to get it to work (as you probably can tell from random commented out lines). I am completely dumbfounded why it doesn't work the other way. Seems inefficient to me to keep creating an object (I think thats the right terminology, i equate this to dim in VB) and then clearing it, instead of just opening it once and then just overwriting it). I really would appreciate an explanation of what I am missing.
    Thank you.
    Rich

    prices pricestamp = new prices();
    for(int c=0; c < stringtext.length-1; c+)
    mmm=stringtext[c];
    mmm=mmm.trim();
    ccc=mmm.split("\\s");
    pricestamp.time=Integer.parseInt(ccc[0]);
    pricestamp.price=Double.parseDouble(ccc[1]);
    data.add(pricestamp);
    }This is definitely wrong. You have only created one instance of pricestamp and you just keep overwriting it with new values. You need to put the new inside the loop to create a new instance for each row.
    Also I doubt you really mean .length - 1, that doesn't include the last row.
    Style wise:
    Class names should always start with capital letters, fields and variable always with lower case letters. These conventions aren't imposed by the compiler but are established practice, and make your code a lot easier to follow. Use "camel case" to divide you names into words e.g. priceStamp
    When using single letter names for integer indices people tend to expect i through n. This is a historical thing, dating back to FORTRAN.

  • Dynamic View Object Creation and Scope Question

    I'm trying to come up with a way to load up an SQL statement into a view object, execute it, process the results, then keep looping, populating the view object with a new statement, etc. I also need to handle any bad SQL statement and just keep going. I'm running into a problem that is split between the way java scopes objects and the available methods of a view object. Here's some psuedo code:
    while (more queries)
    ViewObject myView = am.createViewObjectFromQueryStmt("myView",query); //fails if previous query was bad
    myView.executeQuery();
    Row myRow = myView.first();
    int rc = myView.getRowCount();
    int x = 1;
    myView.first();
    outStr = "";
    int cc = 0;
    while (x <= rc) //get query output
    Object[] result = myRow.getAttributeValues();
    while (cc < result.length)
    outStr = outStr+result[cc].toString();
    cc = cc+1;
    x = x+1;
    myView.remove();
    catch (Exception sql)
    sql.printStackTrace(); myView.remove(); //won't compile, out of scope
    finally
    myView.remove(); //won't compile, out of scope
    //do something with query output
    Basically, if the queries are all perfect, everything works fine, but if a query fails, I can't execute a myView.remove in an exception handler. Nor can I clean it up in a finally block. The only other way I can think of to handle this would be to re-use the same view object and just change the SQL being passed to it, but there's no methods to set the SQL directly on the view object, only at creation time as a method call from the application module.
    Can anyone offer any suggestions as to how to deal with this?

    I figured this out. You can pass a null name to the createViewObjectFromQueryStmt method, which apparently creates a unqiue name for you. I got around my variable scoping issue by re-thinking my loop logic.

  • Scope question... I think?

    I have the following that opens a movieclip that has a class attached to it.
    var quiz_1_2:Quiz_1_2 = new Quiz_1_2();
    addChild(quiz_1_2);
    quiz_1_2.initQuiz(quiz1Answer, quiz1Audio);
    Inside that class I am referencing the stage like this:
    addEventListener(Event.ADDED_TO_STAGE, mousemoveF);
    This works fine if I am adding the child from a function, but if I open it via cue point like the following, it no longer works. It seems that the stage eventlistener no longer gets attached to the stage.
    if(infoObject.name == "quiz_1_2")
              var quiz_1_2:Quiz_1_2 = new Quiz_1_2();
              addChild(quiz_1_2);
              quiz_1_2.initQuiz(quiz1Answer, quiz1Audio);
    What am I doing wrong here?
    Thanks a lot for any advice!!!

    yes, the MC gets added and all works great, except the function that is supposed to get called never does.
    The trace in mousemoveF never gets called. So I was thinking I might not know where the stage is?
    public function initQuiz(corretOne:uint, theAudio:String):void
    addEventListener(Event.ADDED_TO_STAGE, mousemoveF);
    private function mousemoveF(e:Event){
         trace("mousemoveF was called");

  • Scope issue: Trying to set the value of a variable in a calling (upper) script from a called (lower) script

    Hi,
    I have a basic scope question . I have two .ksh scripts. One calls the other.
    I have a variable I define in script_one.ksh called var1.
    I set it equal to 1. so export var1=1
    I then call script_two,ksh from script_one.ksh.  In script_two.ksh I set the value of var1 to 2 . so var1=2.
    I return to script_one.ksh and echo out var1 and it still is equal to 1.
    How can I change the value of var1 in script_two.ksh to 2 and have that change reflected in script_one.ksh when I echo var1 out after returning from script_two.ksh.
    I've remember seeing this I just can't remember how to do it.
    Thanks in advance.

    Unfortunately Unix or Linux does not have a concept of dynamic system kernel or global variables.
    Environment variables can be exported from a parent to a child processes, similar to copying, but a child process cannot change the shell environment of its parent process.
    However, there are a few ways you could use: You can source execute the scripts, using the Bash source command or by typing . space filename. When source executing a script, the content of the script are run in the current shell, similar to typing the commands at the command prompt.
    Use shell functions instead of forking shell scripts.
    Store the output of a script into a variable. For instance:
    #test1.sh
    var=goodbye
    echo $var
    #test2.sh
    var=hello
    echo $var
    var=`./test1.sh`
    echo $var
    $ ./test2.sh
    hello
    goodbye

  • Scope issue?

    Folks, I have a question on scope (or at least I think it is a scope question.
    Here is what I want to do. In my game class (that manages the turns and picks a winner), I want to create either a SmartPlayer or a DumbPlayer object. Both are children of Player. My first run at this ended with a scope issue which, through your suggestions, I solved. I made some changes to the code and got past it.
    (code below) I created an Interface PlayerInt which has the required methods (I know in this simple program, I don't need an Interface, but I am trying to learn about them and inheritance, and other things. ).Then I defined a Player class, and SmartPlayer and DumbPlayer. Player has the private name variable and a setter to set the name properly. In the constructor for SmartPlayer and DumbPlayer, I call setName("the name").
    When I run the game, I declare Player computer and then instantiate a either a SmartPlayer or DumbPlayer object and assign it to Player. Howver, computer.name is null. I don't understand why it is not being set.
            Player computer = null;
            if (generator.nextInt(2) == 0){
                  computer = new SmartPlayer();
            } else {
                 computer = new DumbPlayer();
            } Thanks, in advance. Oil.
    relevant code below:
    public interface PlayerInt {
        public int takeTurn (int stones);
        public void setName(String theName);
        public String getName ();
    public class Player implements PlayerInt {
        public String getName () {
            return name;
        public void setName (String theName) {
            name = theName;
         public int takeTurn(int stones){
             return -1;
        private String name;
    public class DumbPlayer extends Player {
        public void DumbPlayer () {
            setName("Dumb Player");
    * Take a random number of stones that are less than or equal to 1/2 pile.
    * PlayerInt must take between 1 and 1/2 stones. At 3 or less, can only take 1 stone and comply with rules.
    * @param stones this is the number of stones in the pile.
    * @return returns the number of stones taken.
        public int takeTurn (int stones) {
            Random generator = new Random();
            int stonesTaken = 0;
            if (stones > 3) {
                stonesTaken = generator.nextInt((1 + stones)/2);
            } else {
                stonesTaken = 1;
            return stonesTaken;
    public class SmartPlayer extends Player {
        public void SmartPlayer() {
            setName("Smart Player");
         * PlayerInt takes a turn based on rules.
         * PlayerInt takes enough stones to make the pile 1 power of 2 less than 3, 3, 7, 15, 31, or 63 and less than 1/2 the pile.
         * If the pile is already 3, 7, 15, 31, or 63, take a random stone.
         * @param stones the number of stones left in the pile.
         * @return the number of stones taken.
        public int takeTurn (int stones) {
            int halfstones = stones/2;
            int stonesToTake = 0;
            switch (stones) {
                case 1:
                case 2:
                case 3:
                    stonesToTake = 1;
                    break;
                case 7:
                case 15:
                case 31:
                case 63:
                    Random generator = new Random();
                    stonesToTake = generator.nextInt(1 + halfstones);
                    break;
                default:
                    if (stones > 3 && stones < 7){
                        stonesToTake = stones - 3;
                    } else if (stones > 7 && stones < 15) {
                        stonesToTake = stones - 7;
                    } else if (stones > 15 && stones < 31) {
                        stonesToTake = stones - 15;
                    } else if (stones > 31 && stones < 63) {
                        stonesToTake = stones - 31;
                    }else if (stones > 63) {
                        stonesToTake = stones - 63;
            return stonesToTake;
    public class Game {
        // Let player choose to play smart vs dumb, human vs computer,
        //human vs dumb, or human vs smart.
        public void playGame() {
            Pile thePile = new Pile();
            Random generator = new Random();
            int turn = generator.nextInt(2);
            HumanPlayer human = new HumanPlayer();
            boolean foundWinner = false;
            String winner = "";
            int stonesTaken;
    // declare parent
            Player computer;
    // instantiate and assign a SmartPlayer or DumbPlayer object to Player reference.
            if (generator.nextInt(2) == 0){
                  computer = new SmartPlayer();
            } else {
                 computer = new DumbPlayer();
            if (turn == 0) {
    // Should print out either "Smart Player" or "Dumb Player"
                System.out.println(computer.getName() + " took the first turn. There are " + thePile.getNumberOfStones() + " stones in the pile.");
            } else {
                System.out.println("You take the first turn. There are " + thePile.getNumberOfStones() + " stones in the pile.");
            while (!foundWinner) {
                if (turn == 0) {
                    stonesTaken = computer.takeTurn(thePile.getNumberOfStones());
                    thePile.takeStones(stonesTaken);
                    System.out.println(computer.getName() + " took: " + stonesTaken + " stones.");
                    turn = 1;
                } else {
                    thePile.takeStones(human.takeTurn(thePile.getNumberOfStones()));
                    turn = 0;
                if (thePile.getNumberOfStones() == 0) {
                    if (turn == 0) {
                        foundWinner = true;
                        winner = human.getName();
                    } else {
                        foundWinner = true;
                        winner = computer.getName();
            }// end while
            System.out.println("The winner is " + winner + ".");
    }

    To be honest. I'd keep both interface and abstract class.
    But instead of using a reference to the abstract class use the interface instead.
    So
    PlayerInt player = null;
    //later
    player = new DumbPlayer();This is actually the "correct" way of doing this. So basically any code that uses the PlayerInt does not actually need to know what implementation is being used. In your example this is not important since you initialize it yourself but imagine you had an APIthat exposed the computer player with a method like this...
    public PlayerInt getComputerPlayer()Then other code can use this method to get a PlayerInt implementation. It won't know which one, and it won't care. And that's why this is flexible and good. Because you can add new implementations later.
    The Player abstract class is actually hidden away from most code as an implementation detail. It's not great to use abstract classes as reference types because if you want to create new implementations later among other things you've boxed yourself in to a class heirarchy. But abstract classes are good for refactoring away boilerplate code, as you have already done here. There's no point in implementing get/setName over and over again so do as you have here, create an abstract class and stick the basic implementation there.
    Anyway all this is akin to why it is preferrable (uj slings and arrows aside) to do things like
    List<String> list = new ArrayList<String>();All you care is that you have a List (interface), you don't care what implementation (ArrayList) nor do you care that there is an abstract class (or two) that ArrayList extends.

  • Mac not booting/running slow as molasses

    Alright. This is going to be a large and multi-scope question, so please bear with me, everyone.
    Here are the (general) specifications of my MBP:
    Mid-2012 15.4" MacBook Pro
    500GB HDD, 4GB of RAM (I believe)
    OS X 10.9 (Mavericks)
    Now, for the questions. The two are chronologically related; I believe also in other ways related as well. In order of what happened:
    1. My machine (what I'm typing on now; I'll get to that later) has been running slow as molasses for the past few days. We're not talking 'not as fast as when I bought it' slow, we're talking 'slow as a fully-loaded mule going uphill' slow. Things started to occur the other day, when, for the second time in this computer's existence, it was dropped. You don't need to educate me on why I shouldn't drop a computer; I know what can occur and I've accidentally dropped many other devices before, and had to suffer the consequences. The first occasion was when a friend of mine as using the machine and dropped it while walking with it. The screen was spiderwebbed (LCD fine; display glass has spiderweb cracks across it), but other than that, no real issues. The second time, about a week ago, was when it slipped off my lap onto a tile floor (not that laminate stuff, the hard grouted tile). It was in a case and the display glass only suffers minor advancement of damage (barely noticeable...still like that...as a student and working to support myself as a programmer, I can neither afford monetarily nor the downtime of having the computer sent to Apple for repair, especially for something that doesn't affect the functionality of the machine).
    The next part isn't necessary to the problem description, but bears saying - I am not a novice shouting 'my computer is slow, plz help' without any description; but I am not the best user on the face of the earth. Most of my experience in my life has been on the Windows platform; the OS X operating system handles similarly enough in terms of general functions but has enough internal difference (I know this is a major understatement - they are two fundamentally different OSs) to still cause me problems when trying to perform maintenance or "power-user" tasks.
    Now, back to the actual problem, the computer immediately turned off, which I found to be immediately suspicious. Upon rebooting, the computer successfully turns on and functions without issue, but is as the title and first few sentences describe, is slow as all ****. I have recently done two things to this computer (major things) which I feel could contribute to the issue, namely:
    Partitioned the HDD to install Fedora 19 - I'm in the process of working on an open-source project involving an IBM SDK which requires Fedora - as I live during the week in the Bay Area and commute to and from home, I only have intermittent access to a desktop which I would otherwise use for it. The computer's speed of operating didn't seem to bat an eye at this process.
    Installed two things, namely the upgrade to OS X 10.9 and Photoshop CS6, which I use to generate the GUIs for my applications (iOS development primarily).
    Both of these didn't cause any issues with the speed, but after the drop, this thing handles like it has Alzheimer's. Now, I know that dropping the computer isn't a good thing; if anyone can elucidate me further to how such a thing could be detrimental I'll be the first (and only one) accepting full responsibility for it. Mostly though, it's just been an annoyance of little enough significance in terms of productivity that I could still work without it.
    Which brings me to point number two:
    So, in an effort to generally bring up the speed, I noticed that Fedora had created two partitions, one called 'disk0s5' or something of the like, and one called 'untitled', taking up about 30GB. I know that space can be an issue due to operating systems handling by copying data around, shuffling it, etc. but as I still have over 400GB free, I only did this as a test.
    I removed the partitions (did not touch the one titled Macintosh HD...we all know what that leads to) and rebooted, which brings me to present time & day.
    Might as well list this to establish a chronology:
    I start the restart process, and head to the bathroom in the meantime.
    I hear the startup chime.
    Upon returning, the computer is off, so I know something is up, but I manually boot it to see what.
    Upon the white initial boot screen, it loads a progress bar, much like the Mavericks install.
    The typical spinning throbber loads and the load bar progresses to about a tenth (takes 15-20 seconds) and the computer shuts off.
    Now, for me, this is bad mojo. I haven't done a full system backup on this machine (I know it's bad form, no need to educate me on this, call it the 'not wearing a seatbelt' for computing), but I know that ideally, the partition should be intact, so I intend to clone the drive to an image and back it to disk or portable HDD before reinstalling 10.9 or sending in to Apple.
    For the obvious... I am on the computer and it isn't booting as of now, but I was able to get into the recovery partition via option-boot and use Safari.
    Please advise. Again, I'm not a novice, but Mac OS X isn't my primary forte so you will need to break things down somewhat for me. I will provide anyone with more information upon request, if need be, limited to what I can access in the partition.
    Thanks in advance,
    Eli Fedele

    Boot from an external system disk:
    Format the external disk Mac OS Extended (journaled) running Disk Utility form the Recovery Partition.
    (Boot then hold down Command and R simultaneously).
    Install OS X onto that external disk.
    Boot from that external disk (Boot then hold down Option).
    Using the Finder drag as many folders as you can to the external disk.
    As a last-ditch effort you can use recovery software to recover files the Finder will not copy.
    DiskWarrior:  http://www.alsoft.com/diskwarrior/
    uFlysoft          http://www.uflysoft.com/
    McAfee Data Recovery for Mac:  http://mcaf.ee/x0pfi

  • Sharpening and noise defaults in the Develop Module

    Capture Sharpness
    I’m getting my head around sharpening and am of the understanding that there are three distinct phases: Capture Sharpening, Creative Sharpening and Output sharpening
    With regards to Capture Sharpening I’ve noticed that when I import a CR2 file into Lightroom 3.6 there is an Adobe pre-set in the Develop Module. Is this a form of Capture Sharpening default?
    Sharpening
    Amount: 25
    Radius: 1.0
    Detail: 25
    Noise Reduction
    Luminance: 0
    Colour: 25
    Detail: 50

    In Lr, "capture" sharpening is global sharpening, and "creative" sharpening is local sharpening (or sharpen masking on global basis but tailored to the image), or at least that's one way of looking at it.
    in other words, if you're sharpening raw data non-destructively, such that first round of sharpening isn't being baked in, there is no need to separate capture sharpening from creative sharpening, in your mind, or in the software you use.
    Put another way, the notion of capture sharpening comes from days when first round of sharpening was baked in, e.g. shooting jpegs, or in raw workflows where first pass yields a baseline tiff, and 2nd pass is artist's choice...
    That said, what's needed for artistic sharpening (creative effects) can differ from what's need for baseline sharpening (initial "capture" sharpening, if you will).
    Capture sharpening: just make stuff look reasonably sharp, since without it things don't.
    Creative sharpening: sky's the limit... - some people consider Clarity to be a form of creative sharpening...
    Note: since Lr's sharpening settings can't be varied (there is no way to apply high-radius sharpening in one region, and low-radius sharpening in another), and since its algorithm is aimed primarily at countering inherent and/or subtle/limited unsharpness, some people consider Lr's sharpening to be "capture-only". On the other hand, capture sharpening is, almost by definition, global, so since Lr supports local sharpening, and sharpen masking, those aspects can be considered "creative".
    In my opinon, it's best not to get too hung up on semantics/terminology, but in a nutshell, conceptually:
    * Capture sharpening needs to be done so stuff looks reasonably sharp, and is often done across the board, not dependent on image content (this is why most people apply a default amount of sharpening in Lightroom).
    * Creative sharpening is going beyond initial/default sharpening, generally on an image-by-image basis, although not necessarily. Note: it may involve removing all global "capture" sharpening in favor of no sharpening, or local sharpening only (raw data required).
    * Output sharpening depends on resolution and medium etc, and therefore needs to be done last - tailored to output device and such..
    Sorry if this post had too high of an answer to question ratio .
    Rob

  • Drag and Drop objects in web app

    Hi all,
    I have a web application in which i have an option to delete the listed items. now i have to place an image of recycle bin on the webpage and to give the utility of delete operation by only dragging the object from list and droping it into recycle bin. How can i do this? Is there any body who have already done this? Any reply will be welcomed.
    And guys no reply for my validation and 'scope' questions.
    Thanx in advance.

    http://www.googleisyourfriend.com/search?q=javascript+drag+and+drop&meta=

  • Purpose of this Forum (Server General) *** Please Read Before Posting ***

    Welcome to Windows Server General Forum !
    This is an English TechNet forum, Please post your queries in English !
    Scope:
    The name "General" has a very broad significance and sometimes that might lead to some ambiguities.
    The scope of this forum is to answer General "Server Administration" related queries pertaining
    to Windows Server 2003, Windows Server 2008 / R2 and 2012  operating systems.
    Again, "Server Administration" has innumerous aspects and at times it becomes bit difficult to categorize
    them.
    We try to answer your questions in General or provide troubleshooting support in depth as and when necessary
    based on the context of the query.
    Questions could be related to AD, GP, Server OS related Queries/issues/errors, general troubleshooting etc…
    list is too huge and it's highly difficult to elaborate them here :-) 
    We understand that this scope and purpose can be a little confusing, we apologize for any confusion.
    If you might not know the scope or purpose of this forum, we'll redirect you to read this thread if we need
    to explain how this forum works.
    Out of Scope:
    Queries on following (but not limited to…) are Out of scope in this forum.
    Scripting
    SBS
    - Small Business Server
    IIS
    Coding/Development: 
    Windows Client Operating Systems
    Exchange
    Server
    Lync
    TFS
    SQL
    server
    Visual
    Studio
    .Net 
    SharePoint: 
    SCCM, SCOM
    Third Party Applications
    etc… 
    We might (but do not claim to) answer some of the out of scope questions directly here. If we do,
    then it's just a Bonus ! and it's not the purpose or in the scope of what this forum provides.
    Moving Threads:
    It may happen that, your question might have been moved to this forum in an attempt by another moderator from
    a different forum to help you find the correct forum or we might move your threads to an appropriate forum as and when necessary.
    If a community member gave you the URL/link of a specific Technet forum, then you may request a move to that
    specified forum (If a link to the forum category is specified; you'll still need to pick a specific forum from that category) or thread will be moved to the appropriate forum if a Moderator is around.
    NOTE:
    We cannot move a thread to another Microsoft forum that's not in the TechNet Forum System such as ASP.net,
    IIS.net and Answers.Microsoft.com etc… So we can only provide links to those forums.
    Marking Answers:
    We propose a reply (such as a link about where to go ask your question) to a recent question as an answer,
    and then we will usually wait one week (~7 days) before we mark it as the answer. We prefer you (the Asker/OP - Original Poster) to mark the answer, but we do not require it if you abandon the thread for a long time.
    If you (the Asker/OP - Original Poster) refuse to let us propose and mark an answer (without telling us why
    and helping us figure out the alternatives/workarounds), then we might need to lock a thread or move it to the Off Topic forum.
    Please Read Before Posting:
    How
    to ask a question efficiently in TechNet forum 
    We have dedicated Server
    Forums for different products/technologies, please consider posting your queries in appropriate forum for better help and support.
    If you can't figure out where exactly to post your questions, please seek help in "Where
    is the Forum For...?" forum and you will be given a URL/Link to an appropriate forum where you can post your questions.
    Official
    Microsoft Forum Sites
    Credits: 
    Ed
    Price - MSFT (Forum Owner) 
    This sticky has been created inspired by the Sticky on Where is the Forum for.. forum.
    Regards, Santosh 
    MVP - Directory Services
    I do not represent the organisation I work for, all the opinions expressed
    here are my own. 
    This posting is provided "AS IS" with no warranties or guarantees and confers no rights. 
    Blog | Wiki 
    If you have issues with your account verification or you can not post images, please get your account verified
    by posting request in below linked thread.
    Verify Your Account 7

    Something new (or not noticed by me before) then as this thread appears as normal discussion in
    My Thread view. 
    Regards, Dave Patrick ....
    New UI has this functionality i.e. if you reply on a sticky, it will appears as a 'Discussion' in thread view.
    Regards, Santosh
    I do not represent the organisation I work for, all the opinions expressed here, are my own and posted AS IS.

  • Giving Wrong Answers

    All ,
    Lately I am seeing lot of advice(s) which is not true or noting to do with the question or sometimes even destroy the system. I did notice this in Netweaver (Basis) forums , might be true for other forums as well.
    In my opinion, If we don’t know the answer, don’t try to answer and watch the answers to learn rather giving incorrect advices. It might happen some times but giving incorrect replies most of the time is not advisable and Moderators should warn. I would like to see others opinion on this
    Thanks
    Prince Jose

    I have also seen this, except I have not noticed any particular increase in it lately.
    I agree with Jurjen: when the question displays an understanding of the topic and the problem (should there be one), then the quality of the answers are better and the type of answers Prince referred to seem to steer well clear of them.
    The opposite case is, in my opinion from observing this, also directly proportionate to the quality of the question: When somebody with a posts : questions ratio < 3 : 1 (at least a thank you and average of 1 follow-up is fair to assume...) opens an obscure question and < 20% of their questions are resolved, then this sort of answer appears more often.
    Personally, I would support some rules (also technically implemented) to have some watch on the ratios and %'s mentioned above (e.g. to be able to ask more than 10 obscure questions, the ID first need to have provided some good answers and followed up on previous questions). That would curb the number of questions, "force" searching first and increase the quality of the question which does make it into SDN... I think it would be good for SDN and make my life as a hobby-moderator a bit easier (I have discovered that making judgement calls in internet forums is not easy).
    Having said that, I have contributed to threads where folks have pointed out to me that my answer is incomplete, incorrect or even suffering from R/2 mentality I am very thankfull for them and the team effort!
    Cheers,
    Julius

  • Aspect ratio question

    Hello all,
    this footage Im using imported into FCP as 720 x 480 regular ntsc footage. In final cut the video displayes with a letterbox. Unfortunately I went ahead and edited everything before asking questions about this letterbox. So now im running into problems, I know Im doing this after the fact, but I cannot recapture and re-edit (although my suspicion is that the black bars were generated in the camera and thus were captured as part of the footage). Im am trying to build a dvd with this edited sequence in DVDSP.
    I figured out that the actual footage (not including the black bars) is 720 x 360, which is very weird, I know. So to have my movie display correctly on a wide-screen and 4:3 tv, it would have to be at a 16:9 aspect ratio.
    OK, Ive tried so many things, but I cant get it right.
    1st, I made a new sequence in FCP changed this sequence to anamorphic. Then I copied my regualr sequence and pasted into new sequence, then I right click and choose remove all attributes/distort. It removes the letterbox but it sqeezes the footage vertically since my footage is 720 x 360, not 720 x 404... So this wont work...
    Then I exported from FCP directly into compressor and I chose a 16:9 NTSC preset and crop 38 of top and 38 of bottom. The footage is now not sqeezed in any way and only a small letterbox remains (which I can live with) but the problem is, no matter what setting I use: DVD 90 minute best quality or increase bit rate, change gop, the footage looks aweful. Any time there is just a slight movement it has horizontal bars through it. Now, Its not the cropping, because it does it without cropping as well.
    My questions are:
    Is compressor just not that good? because when I ue a reference quicktime and let DVDSP do the encoding it looks great.
    If I cant use compressot to crop how can I get a final m2v file that has a aspect ratio of 16:9 and doesnt get sqeezed...
    Im sorry for this long post, just wanted to be clear on everything, please help!
    Thank you! Danielle
    Im using FCP 5.1, compressor 2 and DVDSP 4, footage came from regular dv camera (obviously set to some weird widesreen format) and I captured it directly into FCP

    Thank you for your reply!
    It worked! thank you so much, ive been struggling with this for a while now! I defenitely have a loss of quality, I will have to watch it on my big plasma at home to make sure it is still ok.
    Can I ask you another question?
    When I export using compressor I get horizontal lines in the video, no matter the settings, Ive tried: dvd best quality 90 minutes 16:9 preset and customized a dvd 16:9 one with very high bit rates, and different GOP settings.
    when I export with quicktime reference and import into DVDSP, it looks much better with their build in encoder.. since I have this loss of quality now, any suggestions on my compressor settings?
    Ive already resigned to 2 DVD's with the main movie on one and the extras on the other, so we can go pretty high with bit rates.
    Thanks again!
    Danielle

  • Question about navigation in session scope

    Hi.
    I dont know how to resolve a problem or how to focus this stuff.
    I'll try to explain myself.
    Let say I have a page (a.jsf) with several links, all this links navigates to the same page (b.jsf) which shows the results.
    For each link in a.jsf I have attached a bean with a logic, so If I click in link 1 I go to the b.jsf showing data read from the database.table1. If I clik in link2 I go to b.jsf showing data read from database.table2, and so on...
    The beans are in session scope (and must be).
    The first time works ok because I initialize the bean in b.jsf, read data and I show using a selecManyListBox to show it, but if I go back and select another link it goes to b.jsf, but it shows the old data, the data read the first time, because it never calls again the init method.
    Somebody has talked about using an additional bean to control this but once the bean in b.jsf is created I don't know how to call again the init method in beanB (b.jsf)..
    I have attached a very simple project to deploy in eclipse 3.3 and tomcat 6.0. In this example instead of read from database I read from an structure created in memory to simulate this.
    Somebody could take a look and comment something about it.
    http://rapidshare.com/files/197755305/_session-forms.war
    Thanks

    Hi.
    I understand is the same doing in the action method in a button or a commnad, the project is just an example, my real app is a tree, so is not a question about a button or a command, is about the logic being in session scope. I don't know how to face it.
    thanks

  • Hi, I have quick question about use of USEBEAN tag in SP2. When I specify a scope of SESSION for the java bean, it does not keep the values that I set for variable in the bean persistent.Thanks,Sonny

     

    Make sure that your bean is implementing the serializable interface and that
    you are accessing the bean from the session with the same name.
    Bryan
    "Sandeep Suri" <[email protected]> wrote in message
    news:[email protected]..
    Hi, I have quick question about use of USEBEAN tag in SP2. When I
    specify a scope of SESSION for the java bean, it does not keep the
    values that I set for variable in the bean persistent.Thanks,Sonny
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!

Maybe you are looking for

  • Problem in saving layout in ALV's

    Hi all!      I am getting a strange problem in ALV's .For an ALV report some users are able to save the layouts where as some are not able to save .Why is it happening so? I have mentioned IS_SAVE = 'X' in my func.module REUSE_ALV_GRID_DISPLAY.Please

  • Cross co. code controlling area - CO Real time integration with FI

    Hi all of you, We are in to New GL, and implementing one controlling area for all the company codes (cross company code cost accounting) with group currency  "30". And my client requires the CO - FI Real time integration to take the segment reporting

  • CFP-2110 will only boot into safe mode + communication error?

    Hello all, I have a new cFP-2110 and I'm trying to configure it. I'm using Realtime 8.0, Fieldpoint drivers 5.1.2 on WIndows XP. My host computer versions match the FP controller software version and the safe-mode dip switch is in the 'off' position.

  • 6303i won't sync with a MacBook - HELP PLEASE!

    Hi, I have just got a 6303i as a business phone - all I need is a phone that would sync the contacts from the MacBook so that I can call or text easily. But I have a few issues... Firstly, it is not supported by the Mac via Bluetooth; the two would j

  • Keep TC-Partition mounted

    I was screening several discussion groups since days w/o success to find an answer to my problem... My desired TC-usage would be to store content of iTunes, iPhoto an iMovie on it. I created 2 partitions thatfore - one for TM-backups and one for file