Help needed urgently with Superduper backup of Macbook and external HHD

My Macbook is doing strange things (not sleeping and turning itself on and off, fans going mad etc) so I want to do a cloned back up before taking it to my Apple Service store. I have downloaded Superduper ready to do this but am not sure how I use this as I have an external firewire drive as well as the Macbooks internal drive. Ideally I want to clone everything in order to make sure I have it all covered. Can I make one cloned backup that will include the external drive and the Macbooks drive onto one hard drive that I will use just for this purpose? Or do I have to use Superduper to clone the macbook and then do a separate backup of the files on my external drive? All my important files are on the external drive (photos, iMovie, documents) and I do have a backup of this on another portable drive but this is now too small to fit any more on and is therefore not up to date so I now need to buy a bigger drive and do a full back up ASAP.
By the way, I am still using Tiger so do not have Time Machine.
Also, how do i prepare the new drive? Do I need to partition it to a GUID system for my Intel Macbook first before doing the clone?
Message was edited by: 12frets56

I am not clear on how many drives you have, of what type, and how much data is on them and which are empty. Perhaps you could provide a list. You say you have an internal, and an external, both with data. If you want to back up both of these you will need another drive that is at least the size of the current space occupied by the files on your internal and important data external. I am less familiar with SuperDuper than I am with CarbonCopyCloner but for both programs there exists a complete bootable backup clone option which puts everything on a drive (including invisible files from your operating system which are essential for your computer to boot) onto the backup. This will also erase the target drive so you need to have an empty drive (or one where you don't care about the content) for a target. You would back up your internal drive in this manner. Your external drive (unless it has a different boot system on it) you can just copy files over since it is just data. It would be handy at this stage if we knew more about the drives so we can make specific recommendations as to what to copy where, and how.
Kappy posted a detailed description of drive preparation in [this thread|http://discussions.apple.com/message.jspa?messageID=7009683#7009683].
Message was edited by: Limnos

Similar Messages

  • Help needed urgently with cc

    i cannot download and open ccfiles on windows 7 premium, im a mature student struggling to get a library of tutorials together to look back on, but cc keeps stopping i cant download update or get new apps, i pay monthly and i'm getting nowhere even after 12 mths i've no library. files are empty and my photoshop never seems to work correctly. If i cant get this sorted in some way i will be giving up the ghost, ive had enough of struggling with what is supposed to be so easy to do, my confidence as now reached rock bottom.
    If theres anyone out there that  can help, in plain english as i'm no expert. Please! you are most wellcome to talk as much as you want, i will be eternally gratefull....Norma R

    This is an open forum with a mix of program users and Adobe staff, not Adobe support... you need Adobe support
    Adobe contact information - http://helpx.adobe.com/contact.html may help
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"

  • Help needed urgently with two major Logic 9 issues

    Dear all,
    We've recently migrated from Logic 7 to 9 and have a major album project to finish using a fairly modest tracking setup. We've encountered two major issues that are holding up progress and wondered if anyone here has experienced them and has a solution..?
    Our set up is an early 2009 2.93GHz 17" unibody Macbook Pro with a Motu 828mkII Firewire interface. We also have a motu microlite for extra midi.
    Firstly, we're trying to track drums from an Elektron MachineDrum. With Logic 7 the MachineDrum's transport controls would control Logic's transport automatically so that we had a clear sync when tracking and could edit sounds and patterns on plus control Logic's transport from the MachineDrum. It also meant that we could drop in parts from song based sequences (of multiple patterns) in the correct position as song pointer information was also received. In the midi synch settings it would automayically jump to "midi clock". In Logic 9 it seems the Midi clock option is gone entirely.
    We've also tried with an Elektron MonoMachine and have exactly the same problem. This all worked automatically in Logic 7. These machines have excellent sequencers and are very hands on so it makes it preferable to do it this way. We've spent the afternoon trying to replicate the behaviour of Logic 7 with no joy at all. I should say that Logic is receiving midi information but is not responding to the transport controls. Has this midi clock feature been removed entirely..? It will be a huge disappointment if this vital functionality has been removed as it's crucial to the way we write, sequence and record.
    Does anyone have a solution..?
    Secondly, there seems to be a major bug with Logic 9 and we frequently have to quit and reboot to overcome it. Namely, certain actions reduce the audio to metal machine noise/ digital breakup bearing no resemblance to what we've recorded. This includes opening two projects simultaneously, dragging any audio from the media bin to the arrange, editing a marker in the list window etc. This has happened about twenty times today doing some light work on a project. We also noticed this intermittently when doing some vocal tracking on Logic 8 at a friends studio.
    Has anyone else experienced this? It's a nightmare and means we won't be able to use it reliably live either. Does anyone have a solution?
    Many thanks for taking the time to consider this,
    JH 

    Pancenter wrote:
    spheric wrote:
    Having tried to sync Logic to my LinnDrum back in Logic 7, I can see why they removed it.
    It was hideously catastrophic and caused me ages of grief, as the function only really makes sense for MIDI/trigger sequencing.
    As I remember it works perfectly well with MIDI only, which is what it was designed for. I've synced Logic via MIDI from a second computer for 20-30 minutes with absolutely no sync problems or drift.
    yes, that worked fine.
    But then turning around and trying to sync +something else+ to that recording.
    Logic never could record tempo variation as a continuous stream, as an analogue tape machine would record a sync signal, so the stepping would inevitably lead to increasing loss of sync, loss of hair, and the desire to break things.
    I eventually just set aside that function, with the intention if revisiting in a later, hopefully fixed, version.
    And whaddaya know - they fixed it good.

  • HT201210 i have an error of no 11. kindly help, needed urgently

    i have an error of no 11. kindly help, needed urgently
    when i try to upgrage my
    iphone 3gs wit 4.1 to new latest 5.1
    it gives the erorr of 11. what that mean? Reply as soon as you can !
    thnx

    Error -1 may indicate a hardware issue with your device. Follow Troubleshooting security software issues, and restore your device on a different known-good computer. If the errors persist on another computer, the device may need service.

  • Some J2ME midlets doubts!! help needed urgently!!!

    Hi,
    I am currently working in a company where it does wireless technology like WAP and I am assigned a task of creating a screensaver midlet. I have some doubts on the midlets.
    1) How do i use a midlet suites? From what I heard from my colleagues & friends, a servlet is needed for midlets to interact with one another. is it true?
    2) How do I get the startin midlet to take note the phone is idling so that the screen saver midlet can be called?
    Help needed urgently... if there is any source codes for me to refer to would be better... Thanks...
    Leonard

    indicates that MIDlet suites are isolated (on purpose) from each other, so you can't write over another one's address space.
    Also, I believe (at least on cell phones) that you have to specifically enter the Java Apps mode; unless you do the app won't execute. If you are in Java apps mode and a call comes in, the cell's OS puts the Java app currently executing on "Pause" mode and switches back to phone mode.
    Not sure if you will be able to have a Java app do that automatically.
    BTW why do you need a screensaver on an LCD display? Is it really intended to show an advertisement?
    Download and real all the docs you can from Sun, once you get over the generic Java deficiencies MIDlet's aren't that hard.

  • Load bar at start up, then shut down. HELP NEEDED URGENTLY!!! plss....

    Load bar at start up, then shut down. HELP NEEDED URGENTLY!!! plss..

    The startup disk may need repairing.
    Startup your Mac while holding down the Command + R keys so you can access the built in utiliites to repair the startup disk if necessary or restore OS X using OS X Recovery

  • Can i use my time capsule to wirelessly backup my macbook and its external hard drive, which up until now was it's time machine and storage? How?

    Can i use my time capsule to wirelessly backup my macbook and its external hard drive, which up until now was it's time machine and storage? How?

    The external drive must be connected to the Mac using either USB or FireWire
    You must remove the external hard drive from the list of items that are "excluded" from backups in Time Machine Preferences.
    Here's how:
    Open System Preferences (gear icon on the dock)
    Open Time Machine
    Click Options
    Look for the name of the hard drive in the list of "excluded" items and click on it to highlight it
    Click the -- (minus) button at the bottom of the list to remove the hard drive from the list of "excluded" items....so it will now be backed up
    Strongly recommend that you do the first backup using Ethenret from your computer to the Time Capsule since the entire contents of the external drive will be copied on the first pass. Ethernet will be 3-5 faster than wireless.
    Once you have the first backup done, you can use wireless for subsequent backups since they will nornally be much smaller....unless you add large files to the external drive.

  • I have my Time Machine on an external drive (not connected to Airport Extreme) and I have an external HD attached to airport extreme. Is it possible to have Time Machine backUp computer HD AND external HD connected to Airport Extreme. How?

    I have my Time Machine on an external drive (not connected to Airport Extreme) and I have an external HD attached to airport extreme. Is it possible to have Time Machine backUp computer HD AND external HD connected to Airport Extreme. How?

    Is it possible to have Time Machine backUp computer HD AND external HD connected to Airport Extreme.
    Sorry, but no.
    Time Machine will backup your Mac, but not the hard drive attached to the AirPort Extreme.
    Time Machine will back up a hard drive only if it is attached directly to your Mac via USB or FireWire.

  • Problem with jasper. Help needed urgently!

    Hi everybody. I'm trying to run jasper reports in a new web applicattion i've done. The problem is that the jasper runs perfectly in my pc i've developed the apllicattion but it doesn't work in the server. The error message that I show is:
    [Error de servlet]-[net/sf/jasperreports/engine/fill/JRVerticalFiller]: java.lang.NoClassDefFoundError: net/sf/jasperreports/engine/fill/JRVerticalFiller
    java/lang/Throwable.<init>(Ljava/lang/String;)V+4 (Throwable.java:85)
    java/lang/Error.<init>(Ljava/lang/String;)V+1 (Error.java:41)
    java/lang/NoClassDefFoundError.<init>(Ljava/lang/String;)V+1 (NoClassDefFoundError.java:38)
    net/sf/jasperreports/engine/fill/JRFiller.createFiller(Lnet/sf/jasperreports/engine/JasperReport;)Lnet/sf/jasperreports/engine/fill/JRBaseFiller;+44 (JRFiller.java:147)
    net/sf/jasperreports/engine/fill/JRFiller.fillReport(Lnet/sf/jasperreports/engine/JasperReport;Ljava/util/Map;Ljava/sql/Connection;)Lnet/sf/jasperreports/engine/JasperPrint;+1 (JRFiller.java:57)
    net/sf/jasperreports/engine/JasperFillManager.fillReport(Lnet/sf/jasperreports/engine/JasperReport;Ljava/util/Map;Ljava/sql/Connection;)Lnet/sf/jasperreports/engine/JasperPrint;+3 (JasperFillManager.java:402)
    org/apache/jsp/_listado_5F_jasper._jspService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+503 (_listado_5F_jasper.java:173)
    com/ibm/ws/webcontainer/jsp/runtime/HttpJspBase.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0 (HttpJspBase.java:89)
    javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0 (HttpServlet.java:848)
    com/ibm/ws/webcontainer/jsp/servlet/JspServlet$JspServletWrapper.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Z)V+225 (JspServlet.java:396)
    com/ibm/ws/webcontainer/jsp/servlet/JspServlet.serviceJspFile(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljava/lang/String;Ljava/lang/Throwable;ZLjava/lang/String;)V+97 (JspServlet.java:880)
    com/ibm/ws/webcontainer/jsp/servlet/JspServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+352 (JspServlet.java:978)
    javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0 (HttpServlet.java:848)
    com/ibm/ws/webcontainer/servlet/StrictServletInstance.doService(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0 (StrictServletInstance.java:105)
    com/ibm/ws/webcontainer/servlet/StrictLifecycleServlet._service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0 (StrictLifecycleServlet.java:160)
    com/ibm/ws/webcontainer/servlet/IdleServletState.service(Lcom/ibm/ws/webcontainer/servlet/StrictLifecycleServlet;Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0 (StrictLifecycleServlet.java:313)
    com/ibm/ws/webcontainer/servlet/StrictLifecycleServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0 (StrictLifecycleServlet.java:116)
    com/ibm/ws/webcontainer/servlet/ServletInstance.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lcom/ibm/ws/webcontainer/webapp/WebAppServletInvocationEvent;)V+0 (ServletInstance.java:250)
    com/ibm/ws/webcontainer/servlet/ValidServletReferenceState.dispatch(Lcom/ibm/ws/webcontainer/servlet/ServletInstanceReference;Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lcom/ibm/ws/webcontainer/webapp/WebAppServletInvocationEvent;)V+0 (ValidServletReferenceState.java:42)
    com/ibm/ws/webcontainer/servlet/ServletInstanceReference.dispatch(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lcom/ibm/ws/webcontainer/webapp/WebAppServletInvocationEvent;)V+0 (ServletInstanceReference.java:40)
    com/ibm/ws/webcontainer/webapp/WebAppRequestDispatcher.handleWebAppDispatch(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0 (WebAppRequestDispatcher.java:936)
    com/ibm/ws/webcontainer/webapp/WebAppRequestDispatcher.dispatch(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Z)V+0 (WebAppRequestDispatcher.java:268)
    com/ibm/ws/webcontainer/webapp/WebAppRequestDispatcher.forward(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0 (WebAppRequestDispatcher.java:155)
    org/apache/struts/action/RequestProcessor.doForward(Ljava/lang/String;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0 (RequestProcessor.java:1058)
    org/apache/struts/action/RequestProcessor.processForwardConfig(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Lorg/apache/struts/config/ForwardConfig;)V+0 (RequestProcessor.java:428)
    org/apache/struts/action/RequestProcessor.process(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0 (RequestProcessor.java:217)
    org/apache/struts/action/ActionServlet.process(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0 (ActionServlet.java:1481)
    org/apache/struts/action/ActionServlet.doPost(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0 (ActionServlet.java:525)
    javax/servlet/http/HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0 (HttpServlet.java:733)
    javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0 (HttpServlet.java:848)
    com/ibm/ws/webcontainer/servlet/StrictServletInstance.doService(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0 (StrictServletInstance.java:105)
    com/ibm/ws/webcontainer/servlet/StrictLifecycleServlet._service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0 (StrictLifecycleServlet.java:160)
    com/ibm/ws/webcontainer/servlet/IdleServletState.service(Lcom/ibm/ws/webcontainer/servlet/StrictLifecycleServlet;Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0 (StrictLifecycleServlet.java:313)
    com/ibm/ws/webcontainer/servlet/StrictLifecycleServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0 (StrictLifecycleServlet.java:116)
    com/ibm/ws/webcontainer/servlet/ServletInstance.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lcom/ibm/ws/webcontainer/webapp/WebAppServletInvocationEvent;)V+0 (ServletInstance.java:250)
    com/ibm/ws/webcontainer/servlet/ValidServletReferenceState.dispatch(Lcom/ibm/ws/webcontainer/servlet/ServletInstanceReference;Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lcom/ibm/ws/webcontainer/webapp/WebAppServletInvocationEvent;)V+0 (ValidServletReferenceState.java:42)
    com/ibm/ws/webcontainer/servlet/ServletInstanceReference.dispatch(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lcom/ibm/ws/webcontainer/webapp/WebAppServletInvocationEvent;)V+0 (ServletInstanceReference.java:40)
    com/ibm/ws/webcontainer/webapp/WebAppRequestDispatcher.handleWebAppDispatch(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0 (WebAppRequestDispatcher.java:936)
    com/ibm/ws/webcontainer/webapp/WebAppRequestDispatcher.dispatch(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Z)V+0 (WebAppRequestDispatcher.java:268)
    com/ibm/ws/webcontainer/webapp/WebAppRequestDispatcher.forward(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0 (WebAppRequestDispatcher.java:155)
    com/ibm/ws/webcontainer/srt/WebAppInvoker.doForward(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0 (WebAppInvoker.java:79)
    com/ibm/ws/webcontainer/srt/WebAppInvoker.handleInvocationHook(Ljava/lang/Object;)V+0 (WebAppInvoker.java:159)
    com/ibm/ws/webcontainer/cache/invocation/CachedInvocation.handleInvocation(Ljava/lang/Object;)V+0 (CachedInvocation.java:66)
    com/ibm/ws/webcontainer/srp/ServletRequestProcessor.dispatchByURI(Ljava/lang/String;Lcom/ibm/ws/webcontainer/srp/ISRPConnection;)V+0 (ServletRequestProcessor.java:126)
    com/ibm/ws/webcontainer/oselistener/OSEListenerDispatcher.service(Lcom/ibm/ws/webcontainer/oselistener/api/IOSEConnection;)V+0 (OSEListener.java:317)
    com/ibm/ws/webcontainer/http/HttpConnection.handleRequest()V+0 (HttpConnection.java:56)
    com/ibm/ws/http/HttpConnection.readAndHandleRequest(Z)V+0 (HttpConnection.java:575)
    com/ibm/ws/http/HttpConnection.run()V+0 (HttpConnection.java:375)
    com/ibm/ws/util/ThreadPool$Worker.run()V+0 (ThreadPool.java:654)
    I'm running the applicattion with jasperreports1.2.2.jar and the other needed libraries as it's explained in sourceforge.
    Should I have missed any .jar? What's the problem? Why the applicattion runs perfectly in my pc but doesn't run in the server?

    Yes, because if i hadn't put each and every library required in WEBINF/lib it hadn't work in my pc. There is something in the server different but i don't know what it is. The ear file i export contains the libraries required in the places that they're needed.

  • Help needed please, with Iphone stuck with apple picture and progress bar after software update attempted

    Help needed please, everytime I try to update the software version on my iphone it comes up with a message saying it could not be completed and is now frozen with the apple picture and progress bar on it. Do I unplug it and hope the macbook pro sees it again, I also stupidly did not back up before starting the download which I realise I will have to go back to the previous back up. This keeps happening, everytime I do this type of update, I'm starting to think I should just give up on updating my software on the Iphone. I thought it was happening because I was using a window based computer to do the updates, this time I used my Macbook Pro. Please somebody help

    ljm17 wrote:
    ...This keeps happening, everytime I do this type of update, I...
    Then you should know what you need to do... If you don't remember...
    See Here  >  http://support.apple.com/kb/HT1808

  • Help needed Urgently- Rebate based on collected amount

    Dear all,
    I come across scenario while discussiion with client that they require rebate with collection. Details of the requirement are given below:
    1. SAP rebates run on billed values & set the accrual in rebate agreement on the rate what we have specified in the rebate agreement. Requirement is that, If i have billed on 1000$ & my accrual value is 100$ with the rate of 10%. If i collected 800$ instead of 1000$, then i need to pay the accrual on the basis of 800$ not on the basis of 1000$. It means i have to adjust accrual amount on the basis of 800$. Conclusion is that i have to pay not 100$ accrual instead less then 100$ on the basis of 800$ which i collected.
    2. In month 1 have billed on 5000$, my accrual amount is 500$ with rate of 10%. In the 2nd month i have to bill 1000$ and i have given an discount of 500$, it means my billed value is 500$ and my accrual amount is 50$@10%. In month 3 again i billed 500$ and my accrual amount is 50$@10%.
    Requirement is that, when i am going to pay the accrual to client, i should pay correct accrual for which he is entitled for. Means i should pay 100$ accrual not 600$ because i have already given an discount of 500$. Discount which i have given already of 500$ should need to be offest with the first month accrual of 500$. So remaning accrual is 100$.
    Great if somebody can help me out for the solutioning of the above requirements.

    Thanks Ivano,
    Somebody has started the conversation.
    Let me put my questions again.
    This requirement is nothing to do with Payment procedure in the agreement type.
    1. In any month if i billed 1000$, so my account receivable would be 1000$. My rebate for that month is 100$ at the rate of 10%. During customer receipt if i collected against my invoice 900$ instead of 1000$, my accrual needs to be corrected 90$ instead of 100$.
    I know this can not be fullfilled by standard SAP, by any thoughts on this welcomed.
    2. I know Rebate can be settled partially or full settlement by payment method( by cheque, bank transfer, or by credit memo) we have configure in rebate agreement type. But here requirement is totally different.
    Here, i need to pay the Rebate as a Discount instead of by cheque or by credit memo. While doing the partial or full settlement system will take into account collected accrual up to that day & apply as a discount to the final bill.
    Scenario is like that sometimes customer asked to give us the discount on bill for whatever they accrued so far.
    This is again cannot solved by standard SAP, but any thought by any body welcome. We have already thought that we need to enhance the solution.
    Solution needed urgently.

  • Help needed imediately with photos in swf project!

    Firts of all thanks in advance.
    Ive made a website with flash. I have 6 photos as thumbnails that are buttons. I want to know , when a thumbnail is clicked how to activate lightbox/flashbox to bring up the bigger image via light/flashbox. What function to I need to apply in the actionscript window to the thumbnail that is converted to a symbol as a button
    I am using Flash CS5 and actionscript 3.
    Please any help would be greatful. Ive been seearching and trying for 3 whole days with no luck

    Give a event listener to the btns,
    btn.addEventListener(MouseEvent.CLICK, openbigimage);
    function openbigimage(e:MouseEvent):void
    //write your code for opening big image here
    //Look this for reference
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/EventDispa tcher.html#addEventListener%28%29
    http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/events/MouseEvent.html

  • Help needed urgently on a problem..plzzz

    hi..this is a linear congruential generator. I have to implement it and i need the execution time for the program.
    for your understanding i'm providing an example below.
    Xn=(( a* xn-1 )+b) mod m
    If X0=7 ; a = 7 ; b =7 ; m=10
    Then
    X0 = 7
    X1 =((7 * 7) + 7))mod 10 = 6
    X2 = ((6*7)+7))mod 10 = 9
    X3 = ((9*7)+7) mod 10 = 0
    X4 = ((0*7)+7) mod 10 = 7
    Now since the cycle is being repeated i.e 7 appears again�so the period is 4 coz there are 4 diff nos. i.e 7,6,9,0�..
    help required urgently....your help will be appreciated...thankyou..

    Hi,
    I wrote the code so that it catches any cycle (not only the "big" one).
    Otherwise it will enter infinite loop...
    The time complexity is O(N*logN): it can do at most N iterations (here N is your 'm'), and in each iteration there can be O(log N) comparisons (since I maintain TreeSet).
    Interesting issue: is it possible to supply such (x0, a, b, m) tuple such that all possible values from 0 to m-1 will be output? I think no :)
    Here is the program:
    package recurr;
    import java.util.TreeSet;
    import java.util.Comparator;
    public class Recurrences {
         private static long x0, a, b, m;
         private static TreeSet theSet;
         public static void main(String[] args)
              long l0, l1, l2, l3;
              try {
                   x0 = Long.parseLong(args[0]);
                   a = Long.parseLong(args[1]);
                   b = Long.parseLong(args[2]);
                   m = Long.parseLong(args[3]);
              } catch(NumberFormatException nfe) {
                   nfe.printStackTrace();
              System.out.println("X[0]: " + x0 + "\n");
              long curr = x0;
              boolean cut = false;
              int i;
              // initialize the set
              theSet = new TreeSet(new LongComparator());
              // we can get at most m distinct values (from 0 to m-1) through recurrences
              for(i=1; i <= m; ++i) {
                   // iterate until we find duplicate
                   theSet.add(new Long(curr));
                   curr = recurrence(curr);
                   if(theSet.contains(new Long(curr))) {
                        cut = true;
                        break;
                   System.out.println("X[" + i + "]: " + curr + "\n");
              if(cut) {
                   System.out.println("Cycle found: the next will come " + curr + "\n");
              } else {
                   System.out.println("No cycle found!");
              System.out.println("----------------------------------");
              System.out.println("Totally " + (i-1) + " iterations");
         private static long recurrence(long previous)
              return (a*previous + b)%m;
         static class LongComparator implements Comparator
              public int compare(Object o1, Object o2)
                   if(((Long)o1).longValue() < ((Long)o2).longValue()) {
                        return -1;
                   } else if(((Long)o1).longValue() > ((Long)o2).longValue()) {
                        return 1;
                   } else return 0;
    }

  • Help Needed Urgently !! weblogic portal , webflow, cookies

    Hello!!
    I am new to java related technology, I need help asap,
    Using webflow, I need to make a portlet within a portal with 3 JSP
    pages (login.jsp,welcome.jsp,logout.jsp)
    Login.jsp
    It should have form with 2 textboxes (Username & password) and a
    submit button
    Upon clicking submit button a cookie for username and password should
    be created and the displayed in "welcome.jsp" page.
    welcome.jsp
    Everytime his page is called by the browser it should read the
    username and password from the cookie and display.
    It should have a Button upon clicking which the cookie containing the
    username and password is deleted.
    logout.jsp
    This page should confirm the deletion of cookie and should have a link
    to login.jsp page
    NOTE: PLEASE I NEED THE ENTIRE CODE ASAP.

    you know what ... i need the entire money ... all 3 million $ for that job bevore
    I will write a line :)
    [email protected] wrote:
    Hello!!
    I am new to java related technology, I need help asap,
    Using webflow, I need to make a portlet within a portal with 3 JSP
    pages (login.jsp,welcome.jsp,logout.jsp)
    Login.jsp
    It should have form with 2 textboxes (Username & password) and a
    submit button
    Upon clicking submit button a cookie for username and password should
    be created and the displayed in "welcome.jsp" page.
    welcome.jsp
    Everytime his page is called by the browser it should read the
    username and password from the cookie and display.
    It should have a Button upon clicking which the cookie containing the
    username and password is deleted.
    logout.jsp
    This page should confirm the deletion of cookie and should have a link
    to login.jsp page
    NOTE: PLEASE I NEED THE ENTIRE CODE ASAP.

  • Grapher - help needed urgently!

    Hi,
    I need to user grapher for my examn, and there is some simple funtions i need, that i have spend hours trying to find,
    so i hope one in here can help me.
    Simple line in graper ex:
    y=-0,25x+875
    1) How can i 'limit its length' so that the line only shows from x=0 to x=1600??
    2) How can a make a vertical line and also how do i 'limit its length'?
    3) How can a make a horisontal line and also how do i 'limit its length'?
    4) How do i edit the axis labes x and y to f.eks. Q and P?
    Do anyone know where to find a detailed manual in english? (i think i have only seen discussion with one in french)
    Thank you.
    GW1811

    Dear Gitte,
      Most of your question were already answered by e-mail.
    About the last one, an English manual : download (double click)  "Instructions for Use - Grapher from this website, page "Documentation" :
    <http://y.barois.free.fr/grapher/Documentation.html>
    (All free of course and free of advertising).
    Enjoy,
    YB24

Maybe you are looking for

  • Dimension Hierarchy

    We are in the process of creating a dimension hierarchy. We see multiple options here There is Logical Level. Each logical level can have multiple keys. Each key (*Logical Level Keys* ) can have multiple multiple columns. Each column has a check box.

  • In the past, I have had no problem copying from a network HDD to my Mac.  Recently, I cannot copy and get error code 8084.  Any thoughts?

    I cannot copy from my network drive to my iMac; I get error code 8084.  I can copy the same material from my network drive to my PC.  In the past, I have had no troubl copying to my iMac. What happened-going from OS 10.6.7 to 10.6.8?

  • Display XML content in af:outputText

    Hi I need to display a large xml content which is returned as a String in <af:outputText>. I had read it works by setting the property escape of <af:outputText> to TRUE. Its not working. i need to render the raw XML content in my panelgrouplayout . H

  • Multiple Queues(Content Specific) - Can't get more than two queues

    Hi, I have a ccBPM scenario, which collects messages read by the file adapter and then sends them grouped. It's working fine in many different configurations, but I'd like to configure it in a way described in the PDF "How Tou2026 Configure Inbound P

  • EJB binding w/ JNDI prefix

    Hello, How about if I want to create a subcontext*before*any ejb binding? for example, I want to bind a ejb with directory prefix like "ejb/MyBean", how can I achieve that? I notice that (from the doc)*all* startup action(s) are done after others. Is