Basic Question On Assignment operator

Could any one explain the below solution....
int i=0;
i=i++;
i=i++;
i=i++;
System.out.println(i)// prints 0. how?

First, never, ever write code like that.
If you use i++ in a given statement, then don't use i anywhere else in that statement.
It gives zero because i++ is an expression whose value is that of i before the increment.
If you did
int i = 0;
int j = i++;you'd expect j to hold zero, right?
i = i++ operates like this:
int tmp = i; // tmp = 0, that is, the value of the expression is the value of i before incrementing
i = i + 1; // i = 1, that is, actually perform the increment
i = tmp; // i = 0, tht is assign the value of the expression (which was zero) to i

Similar Messages

  • CIF queue type basic question

    Hi,
    I have one basic question regarding CIF.
    We are assigning queue type to scm system at two places.
    1. In SCM system with tcode-/SAPAPO/C2(Assign logical system to buisness system group)
    2. In Ecc system with tcode-CFC1(Define target system operation mode and queue type)
    Is it required both above setting should have same value?
    If it could have different value what is impact?
    Why it is required to assign queue type for SCM system at both places and not for ecc?
    Regards,
    Santosh

    Hi Santosh,
    let me try to explain cutomizing setting:
    /sapapo/c2 (APO): This TX  is more comprehensive than CFC1 on ECC site (as you know).
    Firstly you have to define the queuetype of the connected ECC system (or the connected ECC systems). Therefore you have to use the Log. System names of the ECC system and the settings are simmilar to CFC1 but it is used for SCM->ECC transfer.
    As you know, you have to define also an entry for your SCM system which looks like the entry in CFC1 and therefore it looks superfluous. The reason is, that the error handling can be defined here. You can activate the "postprocessing" for your SCM system and / or your ECC system. The CIF framework checks this entry and put faulty queues into postprocessing (TX /sapapo/cfp) or as SYSFAIL into SMQ1/SMQ2. Therefore it is important that you choose the same queue type as you did it in CFC1 for your SCM system.
    CFC1 (ECC): Here you have to assign the Log. System name of your SCM which is connected to your ECC and you have to define the Queue type (I - INBOUND, INITIAL - OUTBOUND). The setting is used for the transfer from ECC->SCM. It is possible (not recommended!!!
    Stefan

  • Basic question regarding SSIS 2010 Package where source is Microsoft Excel 97-2005 and there is no Microsoft office or Excel driver installed in Production

    Hi all,
    I got one basic question regarding SSIS 2010 Package where source is Microsoft Excel 97-2005. I wanted to know How this package works in production where there is no Microsoft office or Excel driver installed. To check that there is excel driver installed
    or not, I followed steps: Start-->Administrative Tools--> Data Sources(ODBC)-->Drivers and I found only 2 drivers one is SQL Server and another one is SQL Server Native Client 11.0.
    Windows edition is Windows Server 2008 R2 Enterprise, Service Pack-1 and System type is 64-bit Operating System.
    We are running this package from SQL Server Agent and using 32-bit (\\Machine_Name\d$\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\DTExec.exe /FILE "\\Machine_Name\d$\ Folder_Name\EtL.dtsx" /CONFIGFILE "\\Machine_Name\d$\Folder_Name\Config.dtsConfig"
    /MAXCONCURRENT " -1 " /CHECKPOINTING OFF /REPORTING E) to run this package. I opened the package and tried to find out what connection we have used and found that we have used "Excel Connection Manager" and ConnectionString=Provider=Microsoft.Jet.OLEDB.4.0;Data
    Source=F:\Fares.xls;Extended Properties="EXCEL 8.0;HDR=YES"; and source is ‘Excel Source’
    I discussed with my DBA and He said that SSIS is having inbuilt Excel driver but I am not convinced.
    Could anyone please clear my confusion/doubt?
    I have gone through various links but my doubt is still not clear.
    Quick Reference:
    SSIS in 32- and 64-bits
    http://toddmcdermid.blogspot.com.au/2009/10/quick-reference-ssis-in-32-and-64-bits.html
    Why do I get "product level is insufficient..." error when I run my SSIS package?
    http://blogs.msdn.com/b/michen/archive/2006/11/11/ssis-product-level-is-insufficient.aspx
    How to run SSIS Packages using 32-bit drivers on 64-bit machine
    http://help.pragmaticworks.com/dtsxchange/scr/FAQ%20-%20How%20to%20run%20SSIS%20Packages%20using%2032bit%20drivers%20on%2064bit%20machine.htm
    Troubleshooting OLE DB Provider Microsoft.ACE.OLEDB.12.0 is not registered Error when importing data from an Excel 2007 file to SQL Server 2008
    http://www.mytechmantra.com/LearnSQLServer/Troubleshoot_OLE_DB_Provider_Error_P1.html
    How Can I Get a List of the ODBC Drivers that are Installed on a Computer?
    http://blogs.technet.com/b/heyscriptingguy/archive/2005/07/07/how-can-i-get-a-list-of-the-odbc-drivers-that-are-installed-on-a-computer.aspx
    Thanks Shiven:) If Answer is Helpful, Please Vote

    Hi S Kumar Dubey,
    In SSIS, the Excel Source and Excel Destination natively use the Microsoft Jet 4.0 OLE DB Provider which is installed by SQL Server. The Microsoft Jet 4.0 OLE DB Provider deals with .xls files created by Excel 97-2003. To deal with .xlsx files created by
    Excel 2007, we need the Microsoft ACE OLEDB Provider. SQL Server doesn’t install the Microsoft ACE OLEDB Provider, to get it we can install the
    2007 Office System Driver: Data Connectivity Components or
    Microsoft Access Database Engine 2010 Redistributable or Microsoft Office suit.
    The drivers listed in the ODBC Data Source Administrator are ODBC drivers not OLEDB drivers, therefore, the Excel Source/Destination in SSIS won’t use the ODBC driver for Excel listed in it by default. On a 64-bit Windows platform, there are two versions
    of ODBC Data Source Administrator. The 64-bit ODBC Data Source Administrator is C:\Windows\System32\odbcad32.exe, while the 32-bit one is C:\Windows\SysWOW64\odbcad32.exe. The original 32-bit and 64-bit ODBC drivers are installed by the Windows operating system.
    By default, there are multiple 32-bit ODBC drivers and fewer 64-bit ODBC drivers installed on a 64-bit platform. To get more ODBC drivers, we can install the 2007 Office System Driver: Data Connectivity Components or Microsoft Access Database Engine 2010 Redistributable.
    Besides, please note that 2007 Office System Driver: Data Connectivity Components only install 32-bit ODBC and OLEDB drivers because it only has 32-bit version, but the Microsoft Access Database Engine 2010 Redistributable has both 32- bit version and 64-bit
    version.
    If you have any questions, please feel free to ask.
    Regards,
    Mike Yin
    TechNet Community Support

  • Basic questions about Infocube

    Hi, everyone.
    I got very basic questions about infocube data handling.
    With infopackage, I extracted all the data about employees from R/3.
    But there were some mistakes during inputting employee data, like positions,
    so I just extracted those employees data once more.
    Now I have two requests in infocube, where the first one has some wrong data.
    Is there any solutions about this?
    I might got it all wrong, so as beginner, any suggestions and explanations will
    be grateful.

    Hi,
    You can manually delete the earlier request by going in the Manage option of the cube. select the request and click on delete icon at the bottom.
    Other option is to make setting in the Infopackage to delete similar or overlapping request.
    Data target tab --> 6th column Automatic loading / deletion of similar request. --> click on the blank icon --> you will get a pop-up --> select the radio button - "delete existing request" --> Select Conditions --> Infosource are same, datasource are same and source system are same, --> selections are "Same or  More Comprehensive "
    Assign points if useful
    Regards
    Venkata Devaraj !!!

  • Basic questions about the CM handling of Photoshop

    I have some basic questions how Potoshop handles colour management. Most probably this has been discussed many times before, but frankly, the manual is pretty poorly written on this subject. I do understand the principle of colour management pretty well, but am not sure whether I understand what Photoshop is doing. So could somebody please comment whether my reasoning is correct or not.
    Let's assume my monitor is calibrated and its profile loaded in OSX's monitor preference panel. Let's further assume I'm working strictly in RGB.
    Is the following correct:
    • When I open a picture which has an embedded profile, then Photoshop first calculates the "true" values from the embedded profile (whatever this means) and from this point the screen representation based on the profile which I defined in the system pref pane. So the screen representation remains always the same, regardless of the embedded profile (besides some possible conversion artefacts, especially on the edges of the colour space).
    • The same holds true in the opposite direction, so when I work on that picture on screen, then no matter which RGB space I pick as my working space, the result will always be exactly the same (except those aforementioned artefacts).
    • Hence it doesn't matter which RGB colour space I choose as my working space, it could be sRGB, Adobe RGB, "my own wild profile", whatever, the results are always the same. Of course the RGB values will differ, but this will be compensated by the embedded profile.
    • Yet the theoretically best working space is the colour space of my monitor, because this minimizes possible artefacts.
    • When I "convert" the picture from one profile into an other, then not only that new profile is assigned and embedded, but also the RGB values are recalculated accordingly, so that the result will remain the same. For example, I could first "convert" a picture from the camera space to my monitor space, then work on it, and finally "convert" it to sRGB before uploading it to a web site.
    • When I "assign" a new profile, then a new profile is simply assigned and embedded but the RGB values are not adjusted. So the RGB values remain the same, but because a different profile is embedded, the picture will actually be changed. Since Photoshop will recalculate the screen representation based on that new profile (and the monitor profile), I will see this change on the screen. (This action doesn't make much sense, except maybe to simulate the possible outcome on a system which misinterprets the profile, e.g. assumes sRGB.)
    • And finally, when I leave the picture untouched but change the monitor profile in the system pref pane, then of course the picture will not change, but its screen representation will change, because Photoshop uses that profile to calculate the screen representation. (This action makes even less sense, of course.)
    Have I understood? Then I have two final questions:
    • When I open a RGB file without any profile in it, what does Photoshop assume? How does it calculate the screen display?  What does it do if I "convert" such a picture or "assign" a profile?
    • If I select in the colour settings as working color space the monitor space, then the colour managment rule for RGB changes to "Colour management off" and can't be changed to a different value. I don't understand this.
    Thanks for your patience.

    • Yet the theoretically best working space is the colour space of my monitor, because this minimizes possible artefacts.
    No.
    (Edit: Any one screen usually has to be considered incidental, changing and transient and is not the target-medium, so it makes little sense to work based on its specific limitations.)
    • When I open a RGB file without any profile in it, what does Photoshop assume? How does it calculate the screen display? What does it do if I "convert" such a picture or "assign" a profile?
    If one opens an unprofiled file, Photoshop treats it as if it had the profile selected under RGB-Working-Space embedded and calculates display and conversion on that basis.
    (Edit: And that’s the danger of unprofiled files – they would look different if someone edited them who used a different Working Space.)
    Assigning such a file a profile is no different from assigning a profiled image a different profile – the RGB-values remain unchanged, the »key« for interpreting them changes and subsequently it will be displayed differently.

  • Basic questions from techie thicko with 'new' G4

    I've looked but can't find the answers to these basic questions.
    My new (reconditioned) computer as below came with just the operating systems and something called 'Cloner' plus some Utilities.
    A) What is the best way to switch between OSX and Classic?
    (It defaults to X on start-up and I can get to X from Classic by re-starting pressing 'x'. If that's the right way to do it, what is the approved way of getting into Classic?)
    B) I'm not sure (after reading about it!) what I can do with Cloner and how.
    C) I have AppleWorks on OS9. Can I update this for OSX? Failing this, is there a Software Download that will give me a basic DTP facility until I can afford to buy an advanced programme? I also have Pagemaker 7 in Classic.
    D) I have been transferring stuff to Classic from my iMac DV 9.2.2 with my card reader and this seems to work well. Anything to watch out for?
    There's more but I can't impose on members' kindness too much!
    For future reference, is it possible to post pictures on these boards and if so how please? I have Photoshop and hosting sites.
    Sorry to be a pain but I really am an idiot about techie stuff.
    Thanks for any help.

    I'm not sure what Cloner does. It sounds as if it may clone the hard drive, a bit like Carbon Copy Cloner:
    http://www.bombich.com/software/ccc.html
    I'm wondering whether it was just used to put the operating systems and utilites onto the drive in the first place when they reconditioned the computer. Perhaps they use a 'master' drive and just clone it to the drives in the computers they're reconditioning, rather than installing everything separately and repeatedly.
    I think version 6 of AppleWorks runs under both OS 9 and OS X natively. If you have an earlier version, I'm not sure whether it's a free downloadable upgrade or whether you have to pay for it.
    I'm sure the card reader works fine, although you could network the two computers together with an ethernet cable and create a small network. With two computers you just need a crossover cable to create a crossover network:
    http://docs.info.apple.com/article.html?artnum=106658
    If you're thinking of keeping your iMac, that may be a better long term solution. You could then use the iMac as your OS 9 machine and the PowerMac as your OS X machine if you wanted to.

  • Basic questions about CISCO IOS

    Hi everybody, Jack here,
    I have some basic questions about the Cisco IOS, could someone help me addressing some of them please? Any feedback would be greatly appreciated.
    Basically, I have two IP addresses assigned by our Cable ISP. From what I understood you can configure a Cisco router for multiple IP addresses using the IOS, thereby allowing someone like myself to take advantage of having multiple IP addresses. This may seem unnecessary to some, but I've always wanted to put the 2nd IP address to use, since after all, I've been paying for it.
    I was just wondering if someone could confirm that what I'm hoping to accomplish is indeed within the capability of the Cisco IOS (i.e. Fully utilize my 2 IP addresses). As well, if someone could kindly suggest a decent CISCO router for online gaming home use that would be super awesome!
    Thank you all so much for reading through the wall of text:)
    Jack

    Jack
    Certainly using multiple IP addresses is in the capability of Cisco IOS routers. How they can be used depends on the relationship of the IP addresses. I am assuming that we are talking about IP addresses assigned for the user to use and that the IP address for the ISP connection is not one of these that we are talking about.
    If both of the IP addresses that you have been assigned are within the same subnet then you would assign one of the addresses to the router interface to establish IP communication between the router and the ISP and to enable Internet connectivity for the devices inside your network that will use the router as their gateway to the Internet. The other address that is assigned can be used for address translation and in particular for static address translation which would make one of your devices inside to be reachable for connections initiated from the Internet (if that is something that you might want to do).
    If the addresses that are assigned to you are in different subnets then you could assign one address to the outside router interface and assign the other address to the router inside interface. Or you could use the second address for address translation.
    I do not have much expertise with online gaming, but I would think that either the Cisco 881 router or the 890 router might be appropriate for you. If 100 Mb connection is sufficient then probably the 881 would be the one to look at. If you need Gig connection then look at the 890.
    HTH
    Rick

  • Basic questions about PCI-DIO-96

    Hi
    I am trying to write code to control a digital I/O board for the first time.
    I have a legacy board, PCI-DIO-96, as the code implies, it is a PCI digital I/O boiard with 96 I/O channels
    My first question is, what would be the drivers and development platform I should download for this board?
    I am planning to write my code in C++.
    The second question is, I am trying to write a very simple application to drive 96 solenoid valves through the board.
    Basically I need to use the board in output mode only.  No data gathering here.
    The application basically needs to open and close these valves  for a specified number of milliseconds.  So basically,
    I would be sending either 0 or 1 through the output channels, that's
    it.    If I send a "1" signal through the board, does
    that
    "toggle" the channel, meaning the channel will keep sending "1" through the ouput until I send another signal, or do I need
    to send the "1" signal every few milliseconds to simulate a constant "1" signal?
    Does anyone have code samples or know where I can find code samples illustrating this simple case?
    It would be greatly appreciated.
    I realize these are very basic questions, but I am new to hardware programming and I am on a deadline.
    Thank  you
    Kiko

    Hi Kiko,
    Great to see that you are asking questions here first, you definitely came to the right place.
    Since you are starting with a clean slate as far as knowing how to use this board we can start off on the right foot. 
    Download the latest version of the drivers for your board.  You can find the drivers here: NI-DAQmx Version 7.5 for Windows 2000/NT/XP
    After you have downloaded the drivers, power down the computer,
    insert your board, and power it back up.  The board should now be
    recognized and the drivers will install similarly to any new hardware
    would in Windows.
    Now it's just a matter of learning how to use the commands that you need to get started.
    I would recommend starting in the example files.  You can find
    some excellent examples that should do almost exactly what you are
    trying to do by looking in this path:
    C:\Program Files\National Instruments\NI-DAQ\Examples\DAQmx ANSI C\Digital\Generate Values
    Look for the example that best represents what it is you are trying to
    do.  You will notice that all of the examples have a general flow
    to how they call the board.
    Create a Task and Define what that task is meant to do
    Set the configuration for how exactly that task will operate
    Read/Write various values until a condition is met
    Close the Task
    Error Check all operations to assure that everything is working properly
    It's really not all that difficult and should you run into any problems or errors don't forget to search ni.com or the forums to see if others have run into similar issues to what you are facing.
    Regarding how the states for digital lines work.  The short answer
    is that if you set a digital line to high it will stay high until you
    set it back to low and vice versa.  For more details on everything
    digital check out our Digital Fundamentals page.
    Best of luck!
    Otis
    Training and Certification
    Product Support Engineer
    National Instruments

  • Basic questions of structure Alchmy inside the AVM ans corePlayer ? Help!

    Hello community:)
    Flash Player 10 has been amended in order to run the new code from the compilation Alchemy! Is this correct?
    The new ABC Alchemy is for new features such as memory pointer, asynchronous functions? is that correct? and what else?
    This amendment consists of a small AVM separated from the Tamarin ? where everything is in Tamarin?
    The memory allocated to code from Alchemy is separated from the memory area allocated to the AVM and PlayerCore? it is like that?
    The CorePlayer flashRuntime and had to be changed?
    The ABC from Alchemy is intended only as to the AVM? or also to CorePlayer?
    Alchemy can access the BIOS? especially for 33h the mouse? if not, is it possible to control the mouse in one way or another with Alchemy?
    Immagine it would create a code C to produce sound from a bytesArray to replaceSampleData AS3 class, it's possible? If not, why? a restriction of the sandbox?
    Can be added directly to the assembler code using Alchemy? or it's prohibited because of the respect of cross platefrom?
    Thank you for maximum responses! although one can easily imagine some answers, I have confirmation:)
    Too many people claim things on forums, affirmative behave as if it was the system programmers themselves FlashPlayer! Outside, people sometimes give wrong answers! Two days ago, I had a guy who claimed that the AVM does not compile ABC! The ABC was executed directly .  It's sad and a shame to read such things. He obviously did not read and do not know the JIT
    This post is aimed at people on what they say and who were able to verify the information. Alchemy or programmers themselves.
    Thank you all!

    In order to understand things and not waste our time trying to code without knowing ifthey are not working because of am or even if it is because it is not impossible or not the player, I'm posted this on the forum Player. But my post is not answered .. Adobe programmers never come on this forum? Nobodyknows exactly how it works?
    Hello everyone
    I have some basic questions about the Flash player and  AVM2..
    I made this little flow chart for Player 9 and above >
    Can  anyone tell me if it is consistent and fair to me or to report a possible error?
    AVM2 the only accessing the CPU and Ram? and in no event in the device or OS API, right?
    The AVM2 in our current players is always a Tamarin?
    The next step is to replace the JIT by the nanoJIT spiderMonckey?
    The byteCode from Alchemy is well executed in the AVM and not elsewhere?
    The memory area codes assigned to Alchemy is the same as that of the AVM or is it different andseparate?
    Thank  you for your answers.
    Gordially,  Alain.

  • Basic questions in SRM for Workflows+need material

    Hi All,
    I have developed Workflows in SAP R3.I am very new to SRM. I have following questions -
    1. What is the use of BADI when we implement Workflow? My understanding till now is to provide all approvers to the
       Shooping Cart.That means for workflows without approval we dont need to BADI to implement.
    2. Is there any other concepts more i have to know? Like in R3 Event will be triggered with help of change doc, status mang., LIS exceptions and all through SWEC tx. is it same in R3?
       Sorry to ask very basic questions.
       Can anyone provide me step to step guide to configure SRM workflows and Cookbook for SRM?
       My Email id is [email protected]
       It will be very helpful for me.
       Thanks in advance.
       Ashwani

    Hi,
    1.All the n step workflows(where approvers are determined dynamically) in SRM can be implemented only using the BADI "BBP_WFL_APPROV_BADI".the main purpose of this BADI is to fetch the Approvers/agents for the workflow.In addition to the  n step WF,you also have no approval, 1 step and 2 step approval workflow in which the agent assignment can be done directly(no BADI reqd) and this is applicable for all types of business objects i.e. Shopping cart,Bid etc.For more details refer the foll link;
    http://help.sap.com/saphelp_srm40/helpdata/en/17/40a86c773d6c41801d78af1a34b90f/content.htm
    2.Work flow concepts are same as in R/3.So techincally you can create your custom workflows in the same way.
    Do let me know if you need any further help.
    BR,
    Disha.
    Pls reward points for useful answers.

  • Very basic questions about SMC

    I've never used SMC before and I have some basic questions. I'm trying to set up the Sun Management Colsole to manage LDAP users in accordance with the instructions in Tom Bialaski's book LDAP IN THE SOLARIS OPERATING ENVIRONMENT.
    My questions are:
    1) What's the difference between Sun Management Center and Sun Management Console?
    2) The book references Sun Management Console 2.1, what's the latest version and where do I get it? Version 2.1 is already installed on my machine and running.

    1) What's the difference between Sun Management Center
    and Sun Management Console?This forum is for Sun Management Center:
    http://wwws.sun.com/software/solaris/sunmanagementcenter/
    It's Sun's unified monitoring tool, specializing in Sun hardware/OS/apps. It ties into storage, cluster, N1 Grid Containers, flar deployment, PatchPro etc... as well as lots of 3rd party addons.
    Regards.
    Note: I am an employee of Halcyon (www.HalcyonInc.com)

  • DVD studio basic questions...

    HI!
    I have mostly used FCP to make web videos, so making a DVD is new for me. I used iDVD in the past for family videos, but that's about it.
    Some basic questions...
    1) Does DVD Studio work from different FCP files? Meaning, can I create all the "chapter sections" in my dvd in different FCP files? Is that the best way to do it? Or does it all have to be done in one FCP file with some sort of chapter marker system?
    2) Does DVD Studio read from FCP direct or from exported .dv files?
    3) Do I have a choice of using FCP or exported .dv files?
    I ask these so I know the right way to approach my FCP project.
    Also, if it can use .dv files, then I can outsource the authoring of making the DVD to someone else to save me some time. This is harder to do with the FCP files.
    FINALLY...
    4) When I used iDVD in the past and dvds I buy in the store, all I could get was about 1 hour on a dvd.
    With DVD studio, how can you make a longer DVD that can fit more than 1 hour, as I am making a professional product for duplication.
    Thanks sooooooooo much for your wisdom..... john

    Hi John - in response:
    1) yes, it can certainly do so. However, you can also use a single timeline in FCP, set chapter markers and add the DVDSP meta data (click 'm' twice in the FCP timeline to get the chapter marker window, and add the data there). You might also add the markers when in DVDSP - all fairly easy to do. I often use lots of different FCP clips to make a single track in DVDSP - you have to think of a DVDSP timeline very differently to a FCP one... in DVDSP the timeline can hold completely different films and you use chapter markers to help delineate it all. You only need to use a new track in DVDSP if it helps with the overall structure for the disc, or if you've used 99 chapter markers in the first one already.
    2) yes, it can. Using a FCP reference file is possible, as is using an exported .dv file. The difference is a matter of preference, largely. I tend to export out of FCP as a QT self-contained file, encode it using compressor to be mpeg2, and then import into DVDSP. You can, of course, go from FCP directly to compressor without making the QT file. The output from compressor is what you are after for DVDSP - you can use QT or .dv files right into DVDSP, but they get compressed to MPEG2 as the disc is built. The encoder in DVDSP is not a particularly refined tool, and Compressor will give you so many more options, including encoding the audio to AC3 (dolby digital) which is a very important thing to do!
    3) yes again... see above? You can't use the FCP project files, you certainly can use other file types, but you really ought to use MPEG2 files from Compressor. You'll get a better looking result.
    4) yes... this all comes down to the way the footage is encoded (I'm labouring the point, but Compressor is your friend here again). There are lots of ways you can squeeze more onto a standard 4.37Gb disc - it is easy to get 2 hours on if you know what you are doing. This could be an entire thread of it's own, but the basics are that you need to use Dolby Digital audio (AC3) which has a tiny file size but a decent audio sound. This leaves you with more space on your disc for the video. The more you compress the video (use lower bitrates like 3Mbps) the smaller the file will be, and therefore the more footage you can fit onto the disc.
    The problem is that lower bitrates can result in lower quality. This is especially true if your footage includes pans, zooms, shimmering water, leaves on trees, fades and so on. You tend to get blocky areas that look poor. Higher bitrates certainly help, but you get larger file sizes and thus can fit less on the disc... it's always a trade off between file size and quality. With iDVD the encoding decisions are taken for you, and you can't control it, but it fortunately does a pretty decent job.
    There is no set or enciding rules that will work for every piece of video you have got, however you can go a long way using variable rate encodes (VBR) that have a range from 4 - 7.4Mbps. In order to know whether the resulting file will fit onto your disc you have to do some good old 'bit budgeting'. There are online tools to help you where you type in the length of your footage in minutes, and the size of your DVD capacity, and it tells you what the bitrate needs to be in order to fit the space available. Be careful though - it cannot tell what your footage is, and you have to preview the results yourself to judge if the quality is right.
    A tip is to find the 'problem' areas in the footage, make a short (2mins) clip and encode that at different bit rates. When you find one that works well, use that for all of the footage. As long as you use 2 pass (VBR) encodes in Compressor, it will assign lower bitrates to the easier sections, and higher bitrates to the problem areas.
    There are many other encoders out there which are better than Compressor - have a look at Cinemacraft on a PC for a start - but you pay a premium for them. They also take a while to learn, but the trick to making a great looking DVD is to use great looking source footage and encode it well before making the DVD. If you encode as part of making the DVD then you've missed the point and you'll get 'average' results at best!

  • Basic Question - Update - Usage of index

    Gurus,
    I have a basic question. As per my knowledge, an index will speed up the process while we are selecting the data. If we are doing some DML operations (especially Update), do we need the index to speed up the process eventhough the indexed column is in the where condition?
    Regards
    Edited by: Sarma12 on Apr 17, 2012 5:59 AM

    Have you tried setting up a test scenario? For example:
    SQL> CREATE TABLE test AS SELECT 1 num FROM DUAL CONNECT BY LEVEL <= 1000;
    Table created.
    SQL> UPDATE test SET NUM = 99 WHERE ROWNUM = 1;
    1 row updated.
    SQL> COMMIT;
    Commit complete.
    SQL> UPDATE /*+gather_plan_statistics*/
      2         test
      3  SET    num = 2
      4  WHERE  num = 99
      5  ;
    1 row updated.
    SQL> SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY_CURSOR(null,null,'ALLSTATS LAST'));
    PLAN_TABLE_OUTPUT
    SQL_ID  96wt4ddwy0sa5, child number 0
    UPDATE /*+gather_plan_statistics*/        test SET    num = 2 WHERE
    num = 99
    Plan hash value: 3859524075
    | Id  | Operation          | Name | Starts | E-Rows | A-Rows |   A-Time   | Buffers |
    |   0 | UPDATE STATEMENT   |      |      1 |        |      0 |00:00:00.01 |       7 |
    |   1 |  UPDATE            | TEST |      1 |        |      0 |00:00:00.01 |       7 |
    |*  2 |   TABLE ACCESS FULL| TEST |      1 |      1 |      1 |00:00:00.01 |       4 |
    Predicate Information (identified by operation id):
       2 - filter("NUM"=99)
    Note
       - dynamic sampling used for this statement (level=2)
    24 rows selected.
    SQL> rollback;
    Rollback complete.
    SQL> CREATE INDEX test_x1 ON test(num);
    Index created.
    SQL> UPDATE /*+gather_plan_statistics*/
      2         test
      3  SET    num = 2
      4  WHERE  num = 99
      5  ;
    1 row updated.
    SQL> SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY_CURSOR(null,null,'ALLSTATS LAST'));
    PLAN_TABLE_OUTPUT
    SQL_ID  96wt4ddwy0sa5, child number 0
    UPDATE /*+gather_plan_statistics*/        test SET    num = 2 WHERE
    num = 99
    Plan hash value: 734435536
    | Id  | Operation         | Name    | Starts | E-Rows | A-Rows |   A-Time   | Buffers |
    |   0 | UPDATE STATEMENT  |         |      1 |        |      0 |00:00:00.01 |       9 |
    |   1 |  UPDATE           | TEST    |      1 |        |      0 |00:00:00.01 |       9 |
    |*  2 |   INDEX RANGE SCAN| TEST_X1 |      1 |      1 |      1 |00:00:00.01 |       2 |
    Predicate Information (identified by operation id):
       2 - access("NUM"=99)
    Note
       - dynamic sampling used for this statement (level=2)
    24 rows selected.So yes, an index may be used in DML.

  • Basic question in HRMS

    Hi anybody please clarify my basic questions in HRMS.
    Please tell me the hirarchical structure of HRMS like (company has several departments and each department has several managers, etc).
    Can a department have More than one manager?
    Can an employee have more than one manager?
    can an employee work in more than one department?
    Thank you in advance.
    Bye.

    Hi,
    Please see my answers below :
    Can a department have More than one manager? : no, you can assign just one manager to a department.
    Can an employee have more than one manager? : the question is a bit more complex if you consider using the positioni management or if you consider the dotline manager as a second manager. Basically, an employee can have as many manager as needed using the capacity to create several employee record for a same employee, at the same time.
    can an employee work in more than one department? : yes, using the multiple employee record feature (one employee can have several employee records and then potentially can work in several department, company, having several manager, be in different locations ...).
    Regards,

  • Neophyte Asking Basic Questions

    I must be thick - can't find answers to some really basic questions:
    1. To distribute Compressor tasks, is Qmaster and Compressor required on all participating Macs?
    2. Are they required to be exactly the same version across the participating Macs?
    3. Are they required to have unique serial numbers? (I tried to start Compressor on a second Mac that had been installed from FCS 5.1 Crossgrade package that resides on original Mac - all that was on the second Mac was Compressor and Qmaster - Qmaster didn't seem to mind, but Compressor gave me a warning message and terminated....)
    4. Assuming the above issues have been resolved as required, does Compressor have to be started on the "Services Only" Mac in order to assist in the processing?
    Again, my apologies for the level of these questions....
    Stan

    1. Yes, plus, if you're sending Compressor tasks from Final Cut Pro, all computers in the cluster are required to have Final Cut.
    2. It depends, but usually, yes, all versions need to be the same. Qmaster 2.0 and 2.1 are not compatible with each other. 2.0.1 and 2.0.2 would most likely work. together.
    3. I've always been working with Volume Licenses here, so I can't verify this, but as far as I know Final Cut Studio programs won't operate if an identical serial number is operating on the same network. As far as recieving tasks, I'm not sure serial number checking is done.
    4. The answer to this question can be found in the Distributed Processing Setup Manual (open Apple Qadministrator -> Help -> Distributed Processing Setup), but in a simple answer, no, a QuickCluster, Services and Controller, and Services only computer can all be configured into a cluster (I'm pretty sure).

Maybe you are looking for

  • MacBook Pro Cannot Connect to the Internet

    My MacBook pro was perfectly active and online, in my linksys router last night before I went to sleep. I left it active as I was downloading some files, they were going awfully slow, but I didnt pay attention and left up. When I woke up today, and t

  • Can't send even 1-member Mail group to SMTP server

    Using Mail 2.1.3, I can't send a group e-mail via my ISP, smtpauth.earthlink.net. This is true even when the group contains only one address, my own. The message is accepted if I expand the group. Earthlink's SMTP mail server says "message does not c

  • HT4946 Is there a way to change where itunes stores its iphone backups?

    My primary drive is a small 120gb SSD, and backing up my 64gb 4s is really not an option. I have plenty of storage on other drives on this computer (windows 8) but itunes doesn't seem to give me an option to save my backups to a specific location. Am

  • Video doesnt extend to the edges....

    Hi, I'm working on a film made up of lots of different source materials: PAL DigiBeta, PAL DVCAM, Super16mm telecined to PAL DigiBeta, and NTSC DVCAM converted to PAL DigiBeta. Everything is Anamorphic 16x9. The native PAL DigiBeta footage fills up t

  • Is it possible to make synchronous web service calls?

    Hi all, Is it possoble to get a web service call to block and wait for a response rather than doing it asynchronously using flex/action script? thanks