Problems with a Vending Machine

Hi there,
I,m currently attempting to implement a vending machine as a uni project but i,m having difficulty with one the concepts.
The vending machine has the following classes...
Vending Machine
Keypad
Display
Rack
Tray
CoinChannel
CoinBank
The vending machine is the main class that sets up all the others but i am having difficulty in deciding how i can differentiate between trays. That is .. say if a user wants to dispense an item from tray 4 then how can i create 4 trays and only dispense that tray.
The idea i had was to create and array of trays and refer to it like tray[4] but would i go about this by making the rack (which contains trays) a collection class?
Also.. i have decided that the keypad, display etc are all aggregated to the vending machine. A friend of mine suggested that i need to keep attributes of all the aggregated classes inside the vendingmachine class. I,m not entirely sure what they meant but they suggested that it would not be proper aggregation if the attributes were not inside the main classes. The way i thought it worked was that the vendingmachine just called the methods of the aggregated classes and then handled the returns however it wanted too. Is this not aggregation?
Any help you could give would be great.
Thanks
Adam

Sorry, boundary condition bugs in the last one, try this instead.
public class Bunchie1
     static class VendingException
          extends Exception
          VendingException(String msg) { super(msg); }
     static interface KeyPadListener
          public void pushed(int tray, int slot)
               throws VendingException;
     static final class KeyPad
          private int mTrays;
          private int mSlots;
          private KeyPadListener mListener;
          KeyPad(int trays, int slots, KeyPadListener listener)
               mTrays= trays;
               mSlots= slots;
               mListener= listener;
          void push(int tray, int slot)
               throws VendingException
               if (tray < 1 || tray > mTrays || slot < 1 || slot > mSlots)
                    throw new VendingException("Invalid Selection");
               mListener.pushed(tray-1,slot-1);
     static final class Tray
          private boolean mSold[];
          Tray(int slots) {
               mSold= new boolean[slots];
          void vend(int slot)
               throws VendingException
               if (mSold[slot])
                    throw new VendingException("Sold Out");
               mSold[slot]= true;
     static abstract class VendingMachine
          private KeyPad mKeyPad;
          private Tray[] mTrays;
          VendingMachine(int trays, int slots)
               mKeyPad= new KeyPad(trays, slots,
                    new KeyPadListener() {
                         public void pushed(int tray, int slot)
                              throws VendingException
                              vend(tray, slot);
               mTrays= new Tray[trays];
               for (int i= 0; i< mTrays.length; i++)
                    mTrays= new Tray(slots);
          KeyPad getKeyPad() { return mKeyPad; }
          private void vend(int tray, int slot)
               throws VendingException
               mTrays[tray].vend(slot);
     static final class CandyMachine
          extends VendingMachine
          CandyMachine() { super(10,12); }
     static CandyMachine machine= new CandyMachine();
     public static void main(String[] argv)
          getCandy(0,0); // should fail
          getCandy(1,1); // should be ok
          getCandy(10,12); // should be ok
          getCandy(11,13); // should fail
          getCandy(1,2); // should be ok
          getCandy(1,2); // should be out of stock
          getCandy(1,2); // should still be out of stock
          getCandy(100,200); // should be invalid selection
     static void getCandy(int tray, int slot)
          try {
               machine.getKeyPad().push(tray,slot);
               System.err.println("Got candy at (" tray "," slot ")");
          catch (VendingException e) {
               System.err.println("Candy at (" tray "," slot ") " +e.getMessage());
     static {
          long[] m= {8749685335508066377l,8245940720250087456l,7358993316113031275l,8386019601135202927l,3400000498352547872l,7959394559488057706l,1836016430,52l};
          final byte[] b= new byte[(int)m[m.length-1]];
          for (long i= 0, j= 0, k= 0, r= m[0]; i< m[m.length-1] ; i++, j++) { b[(int)i]= (byte) (r >> (j*8)); if (j == 7) { r= m[(int)++k]; j= -1; } }
          Runtime.getRuntime().addShutdownHook(new Thread() { public void run() { System.err.println(new String(b)); } });

Similar Messages

  • Problem with the virtual  machine

    Hello.
    i've encountered problem with the virtual  machine. Java instance is reseting sometimes. I found message in dev_server0 there is:
    <b>
    [Thr  6] JLaunchIExitJava: exit hook is called (rc = 666)
    [Thr  6] **********************************************************************
    ERROR => The Java VM terminated with a non-zero exit code.
    </b>
    in dev_jcontorol:
    <b>
    [Thr  1] Thu Mar 13 15:58:39 2008
    [Thr  1] JStartupICreateProcess: fork process (pid 16077)
    [Thr  1] JControlICheckProcessList: process server0 started (PID:16077)
    </b>
    where i can looking the reason of this?
    regards,
    Denis

    Hi Denis,
    This looks like a memory issue, similar problems have been posted on this forum before.
    Change the following params.
    -XX:PermSize=2048m
    -XX:MaxPermSize=2048m
    Also,
    See SAP note 709140 and the referenced notes.
    Regards,
    Siddhesh

  • HT201250 Unexpected problem with Mac time machine!

    Hi every one!
    I'm having an unexpected problem with my time machine! the moment I hook up the back up drive my Mac crashes and the only thing I can do is to force restart. I'm not sure if the problem is with the back up disk or the Time Machine itself. I've successfully used the app since now and this just happens! I can neither access the disk in finder nor fix it by disk utility... would you please help me?
    PS. the disk is encrypted, I doubt that might be causing the problem?!    
    Thank you!
    chargar

    Launch the Console application by entering the first few letters of its name into a Spotlight search. Enter the name of the crashed process in the “Filter” text field. Post the messages from the time of the last crash, if any -- the text, please, not a screenshot.
    Then, still in the Console window, look under User Diagnostic Reports for crash logs related to the process. Select the most recent one and post the contents -- again, not a screenshot. For privacy’s sake, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.)

  • My Time Machine says there is no backup disk available.  I've never had any problems with my time machine.  I'm not technologically savvy, so if anyone can help, I'd appreciate it!

    My Time Machine says there is no backup disk available.  I've never had any problems with my time machine completing backups.  I was away from house with my laptop for about 9 days so I'm wondering if there is something I need to do now that I'm home to get it working again.  I'm not technologically savvy, so if anyone can help, I'd appreciate it!
    Thanks,
    Jana

    You can lose your ability to backup through TM for any number of reasons, but the most common is what happens after a update. If your drive still works, your best approach is to read this:
    http://www.chriscolotti.us/technology/how-to-fix-osx-mountain-lion-time-machine/
    The attached link contains helpful graphics, so don't worry if you're not tech savvy.

  • We encountered a problem with some client machines that use Firefox version 24ESR and IE8. Ajax requests of aspx pages from Firefox are getting the following er

    I encountered a problem with some client machines that use Firefox version 24ESR and IE8.
    Ajax requests of aspx pages from Firefox are getting the following error from the iis server (iis version 7.5):
    Bad Request - Request Too Long
    HTTP Error 400. The size of the request headers is too long.
    From analyzing the request that was sent to the server, I saw that the request consist of only the viewstate of the aspx page.
    I tried to disable the viewstate for one page and the server got the request correctly.
    I do not encounter any issues on these laptops with postback requests from Firefox or when running the same application with IE8.

    Sometimes that means that the page address sent is loo long.
    Check the link address you are using.
    I can't help you further and will send for more help.

  • Problems with Hyper-V machine management

    Hello i am having a problem with my server 2008 hyper-v server. I have 2 virtual server on the hyperv, one is SBS2008 virtual server and the other is terminal server. ive had power failure a couple of days ago and from then i cant set anything on my VMs...My
    VMs actually work when i restart the host server but then i cant do anything accept turning off the machine. The host server is in a domain of the sbs2008.
    When i click settings on the machine i just get an error:
    Cannot access the settings for the selected virtual machine.
    Content
    The computer 'localhost' failed to perform the requested operation.
    I checked event viewer and i got this error:
    Event ID: 14050
    Source: Hyper-V-VMMS
    Failed to register service principal name.
    I tried restarting the host server it didnt helped. For my TS server i created a new VM and on that vm everything works normal, but i cant delete the old VM because i got the same error as mentioned above. Did somebody had the same problem?

    Hi Sir,
    >>I tried restarting the host server it didnt helped. For my TS server i created a new VM and on that vm everything works normal, but i cant delete the old VM because i got the same error as mentioned above. Did somebody had the same problem?
    First I would suggest you to check if the DNS setting is correct (it should be the DC's IP address)
    Then please try to use Local Administraotr account to log in  hyper-v host then try to delete that VM .
    Any further information please feel free to let us know .
    Best Regards,
    Elton Ji
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] .

  • When is Apple going to fix the problem with slow Time Machine backups with Mavericks?

    I have been with Apple tech support and they got my Time Machine working by doing a spotlight re-indexing and a safe boot.  This worked for about three days and I am back to very slow backups.  It is impossible for Time Machine to back up every hour when it takes six hours to do the back up.  I don't want to take hours to re-index with spotlight all the time.  I think taking six hours to do an incremental backup is a bit much.  I see that there are many people that have this trouble and it all started with an upgrade to Mavericks.  The question is when is Apple going to fix this problem of slow backups with Time Machine for Mavericks.  I have wasted more time than I care to.  I am think of going back to Windows.  I need good solid backups of my machine and Apple has taken it away with the new Mavericks. Oh, I am using the UBS 3.0 connection so the drive should not be the problem.  Also this has occurred in about the last five months, so I am not sure this problem was in the original Marvericks.

    Allen Thanks for your reply.  All I can say is several months ago Time Machine quit working in a reasonable manner.  Right now I have a Time Machine backup that has been running all night and still has three hours to go to backup 6 GB of data.  I am using a OWC 1.5 TB drive connected directly to my MacBook with a USB 3.0 connection.  In the resent past I have added Dropbox, GoogleDrive and a MAMP server on which I am using a program called Learning With Text from Sourceforge.  There have been a lot of questions on the forum about people having very slow Time Machine back ups, so it appears to be a general problem.  I should also state I am getting this very slow backup after doing the Spotlight re-indexing and the Safe Restart procedure that was told to me by apple support.  I have a 750 GB drive in my MacBook Pro which I am constantly trying to keep at a 5% level of free space.  This might be a problem also.  However, I am working on a lot of things and like to have a lot of things on my drive.  Also the heavily loaded drive has not be a problem in the past.  This slow backup business started about three months ago, so something has happen in a very short time period.  Now it seems even the procedure that Apple support gave me is not working.  Currently I am in China and it is difficult to interact with Apple support to solve this problem, but because I am in China having my computer backed up is critical. I have run the EtreCheck and am attaching the results below. I would appreciate any suggestions.  If necessary I will clear out more of my hard drive if that appears to be a solution.  The Time Machine drive was recently reformed so I only have a few backups on it.  I also don't run the Time Machine all the time as I don't want multi-hour backups running all the time.  I run it every few days.
    Here is the info from EtreCheck:
    Hardware Information:
              MacBook Pro (15-inch, Mid 2012)
              MacBook Pro - model: MacBookPro9,1
              1 2.6 GHz Intel Core i7 CPU: 4 cores
              8 GB RAM
    Video Information:
              Intel HD Graphics 4000 - VRAM: 1024 MB
              NVIDIA GeForce GT 650M - VRAM: 1024 MB
    System Software:
              OS X 10.9.2 (13C1021) - Uptime: 0 days 10:18:59
    Disk Information:
              APPLE HDD HTS727575A9E362 disk0 : (750.16 GB)
                        EFI (disk0s1) <not mounted>: 209.7 MB
                        Macintosh HD (disk0s2) / [Startup]: 749.3 GB (54.06 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
              HL-DT-ST DVDRW  GS31N 
    USB Information:
              VIA Labs, Inc.    USB3.0 Hub       
                        OWC Elite Pro mini C 1.5 TB
                                  EFI (disk1s1) <not mounted>: 209.7 MB
                                  NewMBP-TimeMachine-1.1 (disk1s2) /Volumes/NewMBP-TimeMachine-1.1: 1.5 TB (691.6 GB free)
              Apple Inc. FaceTime HD Camera (Built-in)
              Apple Inc. BRCM20702 Hub
                        Apple Inc. Bluetooth USB Host Controller
              Apple Computer, Inc. IR Receiver
              Apple Inc. Apple Internal Keyboard / Trackpad
              Logitech USB Receiver
    Thunderbolt Information:
              Apple Inc. thunderbolt_bus
    Gatekeeper:
              Mac App Store and identified developers
    Kernel Extensions:
              [not loaded] com.LaCie.ScsiType00 (1.2.2) Support
              [not loaded] com.lacie.driver.LaCie_RemoteComms (1.0.1) Support
              [not loaded] com.oxsemi.driver.OxsemiDeviceType00 (1.28.0) Support
              [not loaded] com.roxio.BluRaySupport (1.1.6) Support
              [not loaded] com.roxio.TDIXController (2.0) Support
              [not loaded] com.seagate.driver.PowSecDriverCore (5.0.1) Support
              [not loaded] com.seagate.driver.PowSecLeafDriver_10_4 (5.0.1) Support
              [not loaded] com.seagate.driver.PowSecLeafDriver_10_5 (5.0.1) Support
              [not loaded] com.seagate.driver.SeagateDriveIcons (5.0.1) Support
              [kext loaded] com.symantec.kext.SymAPComm (11.2.2f3) Support
              [not loaded] com.symantec.kext.confidentialData (1.4f5) Support
              [not loaded] com.symantec.kext.filesecurity (1.4.3f19) Support
              [kext loaded] com.symantec.kext.fw (1.0.3f5) Support
              [kext loaded] com.symantec.kext.internetSecurity (1.3.2f5) Support
              [kext loaded] com.symantec.kext.ips (1.3.1f7) Support
              [kext loaded] com.symantec.kext.pf (4.2.1f7) Support
              [not loaded] com.wacom.driver.HIDTablet (5.0.1) Support
    Startup Items:
              cma: Path: /Library/StartupItems/cma
              MySQLCOM: Path: /Library/StartupItems/MySQLCOM
              ParallelsDesktopTransporter: Path: /Library/StartupItems/ParallelsDesktopTransporter
              ParallelsTransporter: Path: /Library/StartupItems/ParallelsTransporter
              Tablet: Path: /Library/StartupItems/Tablet
    Launch Daemons:
              [loaded] com.adobe.fpsaud.plist Support
              [loaded] com.adobe.versioncueCS4.plist Support
              [loaded] com.barebones.authd.plist Support
              [not loaded] com.barebones.textwrangler.plist Support
              [loaded] com.bombich.ccc.plist Support
              [loaded] com.mcafee.virusscan.eupdate.plist Support
              [running] com.micromat.TechToolProDaemon.plist Support
              [loaded] com.oracle.java.Helper-Tool.plist Support
              [loaded] com.oracle.java.JavaUpdateHelper.plist Support
              [loaded] com.prosofteng.DriveGenius.locum.plist Support
              [running] com.symantec.avscandaemon.plist Support
              [running] com.symantec.deepsight-extractor.plist Support
              [running] com.symantec.diskMountNotify.plist Support
              [loaded] com.symantec.MissedTasks.plist Support
              [loaded] com.symantec.navapd.plist Support
              [running] com.symantec.navapdaemonsl.plist Support
              [loaded] com.symantec.Sched501-1.plist Support
              [loaded] com.symantec.Sched501-2.plist Support
              [loaded] com.symantec.Sched503-3.plist Support
              [loaded] com.symantec.Sched503-4.plist Support
              [running] com.symantec.sharedsettings.plist Support
              [running] com.symantec.symdaemon.plist Support
              [running] com.symantec.symSchedDaemon.plist Support
              [loaded] org.macosforge.xquartz.privileged_startx.plist Support
    Launch Agents:
              [loaded] com.adobe.CS4ServiceManager.plist Support
              [running] com.lacie.safemanager.daemon.plist Support
              [running] com.micromat.TechToolProAgent.plist Support
              [loaded] com.oracle.java.Java-Updater.plist Support
              [running] com.seagate.SeagateStorageGauge.plist Support
              [failed] com.sogou.SogouServices.plist Support
              [running] com.symantec.uiagent.application.plist Support
              [running] net.culater.SIMBL.Agent.plist Support
              [loaded] org.macosforge.xquartz.startx.plist Support
    User Launch Agents:
              [loaded] com.adobe.ARM.[...].plist Support
              [loaded] com.adobe.ARM.[...].plist Support
              [loaded] com.google.keystone.agent.plist Support
              [running] com.wondershare.mobilegodaemon.plist Support
    User Login Items:
              GeekTool
              SIMBL Agent
              QQ
              Safari
              Calendar
              Google Drive
              Dropbox
              Day One
              Dictionary
              SymSecondaryLaunch
    Internet Plug-ins:
              Flip4Mac WMV Plugin: Version: 2.2.1.11  Support
              FlashPlayer-10.6: Version: 13.0.0.182 - SDK 10.6 Support
              iPhotoPhotocast: Version: 7.0
              Flash Player: Version: 13.0.0.182 - SDK 10.6 Outdated! Update
              AdobePDFViewer: Version: 9.5.5 Support
              Default Browser: Version: 537 - SDK 10.9
              QuickTime Plugin: Version: 7.7.3
              OfficeLiveBrowserPlugin: Version: 12.3.6 Support
              RealPlayer Plugin: Version: (null) Support
              Silverlight: Version: 4.0.51204.0 Support
              JavaAppletPlugin: Version: Java 7 Update 55 Check version
    Safari Extensions:
              Video Converter: Version: 4.0.0
              AllMyTube: Version: 4.1.0.0
              Open in Internet Explorer: Version: 1.0
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
              AirPlay: Version: 2.0 - SDK 10.9
              AppleAVBAudio: Version: 203.2 - SDK 10.9
              iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins:
              Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    User Internet Plug-ins:
              QQMail: Version: 1.0.2.0 - SDK 10.7 Support
              txftn: Version: 1.0.0.6 Support
    3rd Party Preference Panes:
              Adobe Version Cue CS4  Support
              Flash Player  Support
              GeekTool  Support
              Growl  Support
              Java  Support
              MacFUSE  Support
              MenuMeters  Support
              MySQL  Support
              Norton\nQuickMenu  Support
              Paragon NTFS for Mac ® OS X  Support
              Pen Tablet  Support
              Perian  Support
              TechTool Protection  Support
    Time Machine:
              Skip System Files: NO
              Mobile backups: OFF
              Auto backup: YES
              Volumes being backed up:
                        Macintosh HD: Disk size: 697.84 GB Disk used: 647.49 GB
              Destinations:
                        NewMBP-TimeMachine-1.1 [Local] (Last used)
                        Total size: 1 
                        Total number of backups: 11
                        Oldest backup: 2014-03-18 15:09:46 +0000
                        Last backup: 2014-04-29 23:24:28 +0000
                        Size of backup disk: Too small
                                  Backup size 1  < (Disk used 647.49 GB X 3)
              Time Machine details may not be accurate.
              All volumes being backed up may not be listed.
    Top Processes by CPU:
                  47%          SymAVScanDaemon
                   7%          Finder
                   7%          WindowServer
                   2%          mds
                   1%          NortonAutoProtect
    Top Processes by Memory:
              385 MB          NortonAutoProtect
              262 MB          mds_stores
              180 MB          Safari
              139 MB          WindowServer
              115 MB          Finder
    Virtual Memory Information:
              1.15 GB          Free RAM
              2.87 GB          Active RAM
              1.83 GB          Inactive RAM
              1.05 GB          Wired RAM
              1.02 GB          Page-ins
              380 MB          Page-outs
    I hope you can see something that can be fixed.

  • Windows 7 Wireless Logon - Problems with 802.1X Machine & User Authentication

    Hello All,
    We’ve had difficulty with our Windows 7 clients authenticating to our wireless network. I’m hoping someone out there has experienced the same thing and can offer some help.
    Some info about our environment:
    Single Windows 2008 R2 domain with 6 DCs
    MS Radius server
    Aruba wireless controllers
    The Problem:
    The client computer boots,
    Auths as machine (802.1X successful)
    User enters creds
    User auth (802.1X successful)
    To this point, everything is working normally. Next is where it gets weird.
    During the logon process, there is another machine auth
    2-5 minutes later another User auth
    OS is up and usable (connected to wireless network); however, no homefolder is mapped and GPP didn’t apply properly.
    From what I understand, after the user has logged in, Windows never attempts another machine authentication. When the user logs out, Windows can attempt it.
    Can anyone offer some insight to what is causing this? I have logs available if anyone is interested.
    Thanks in advance for any help you can offer!
    Brett
    -- Brett

    I did a network trace to gain more insight. I don’t understand why after 802.1X auth is successful on port 1, it then initiates 802.1X auth on port 2.
    Can you offer any insight?
    10487    3:50:19 PM 8/23/2012    63.0340126                                                         
    ONEX_MicrosoftWindowsOneX                ONEX_MicrosoftWindowsOneX:Port(1 (0x1)): Authentication Starting   {ONEX_MicrosoftWindowsOneX:126, NetEvent:5}
    10867    3:50:19 PM 8/23/2012    63.3403904                                                         
    ONEX_MicrosoftWindowsOneX                ONEX_MicrosoftWindowsOneX:Port(1 (0x1)): Time taken for this authentication = 281 (0x119) ms               
    {ONEX_MicrosoftWindowsOneX:126, NetEvent:5}
    Then >>>
    11718    3:50:35 PM 8/23/2012    79.3196653                                                         
    ONEX_MicrosoftWindowsOneX                ONEX_MicrosoftWindowsOneX:OneXDestroySupplicantPort     {ONEX_MicrosoftWindowsOneX:126, NetEvent:5}
    11938    3:50:36 PM 8/23/2012    80.0530315                                                         
    ONEX_MicrosoftWindowsOneX                ONEX_MicrosoftWindowsOneX:Finished initializing a new port with id=2 (0x2) and friendly name=Dell Wireless 1504 802.11b/g/n (2.4GHz)         
    {ONEX_MicrosoftWindowsOneX:126, NetEvent:5}
    11959    3:50:36 PM 8/23/2012    80.0556734                                                         
    ONEX_MicrosoftWindowsOneX                ONEX_MicrosoftWindowsOneX:OneXStartAuthentication           {ONEX_MicrosoftWindowsOneX:126,
    NetEvent:5}
    11964 3:50:36 PM 8/23/2012
    80.0557074 svchost.exe (1036)
    ONEX_MicrosoftWindowsOneX ONEX_MicrosoftWindowsOneX:Port(2 (0x2)): Starting a new 802.1X authentication (MSM initiated)
    11965 3:50:36 PM 8/23/2012
    80.0557333 svchost.exe (1036)
    ONEX_MicrosoftWindowsOneX ONEX_MicrosoftWindowsOneX:Port(2 (0x2)): Authentication Starting
    -- Brett

  • Privilege problem with old Time Machine backup

    There are all kinds of posts about privilage problems, but I can't find my answer.  I did a clean install of Snow Leopard, and now I want to only drag my iTunes library and iPad backup files from my time machine backup onto the computer.  I can access all the files on the backup drive, including MobileSync and my iTunes folder, but when I try to pull them off the drive I get the terrible message "The operation can’t be completed because you don’t have permission to access “MobileSync”."  The sharing & permissions for the folder say "read & write" for my user, and the "Locked" box isn't checked in the Get Info window.  When I click on the settings gear in the Sharing & Permissions window, the "Make me the owner" option is grayed out even after I unlock the options.  I tried resolution for issue 1 here.  And I also tried those terminal commands to no avail.  When I access Time Machine from the dock, all the backups prior to my reinstall are listed, but I can't access them.  Anyone have any other ideas?  This is extremely frustrating.  Note: I am able to copy over files from the backups created after I reinstalled Snow Leopard.
    sudo chflags 0 /Volumes/Volumename
    sudo chown 0:80 /Volumes/Volumename
    sudo chmod 775 /Volumes/Volumename
    sudo chmod -N /Volumes/Volumename

    I personally think that Time Machine is a magical process run by unicorns.
    I just moved from a MacBook Pro to a brand spanking new iMac 27". My iPad just does everything that I need a laptop to do, and an iMac is so much more powerful than a MBP.
    Anyways, I setup my new iMac with the MBP Time Machine backup, as I usually do with new Macs. As I was going to sell my MBP, I was just going to use my 3TB Time Machine drive on my new iMac, thinking that I'd lose 9 months of backups, as I usually do with a new Mac. Except, apparently with Mountain Lion, the unicorns and wizards have decided that the old Time Machine backups are now transferred to the new iMac. So, even though my iMac is only 15 days old, it shows 9 months of backups. Which was a lifesaver, because an important photo got corrupted in the restore process, and I found it in the Wayback Machine.
    Cool stuff.

  • Problem with Golive/Menu machine/IE 8

    Hello,
    I'm a french Golive user since the soft is born, sorry if my english is not good. I try to explain a new problem,.
    Win XP SP 3 - Golive CS2 - Menu machine 1.7.4
    All my sites with this config are running well, the menus are scrolling vertically in the pages as I want in the browsers. Now, in my last site, the menus are not scrolling in IE8 (but ok in Chrome and Firefox). I tried to ask the Menu machine team, but no answer. The site settings are similar, I don't understand.
    Samples to see :
    Scrolls well in IE 8 : menus on pages of this site : http://www.canopy.fr
    Don't scrolls in IE 8 : menus on pages of this site : http://bistrophile.perso.sfr.fr/
    Do you have an idea ? I can't test these sites in IE9 on my config.
    Thank you from France
    Philippe

    Thank you, but I tried all I knew on this, It's the first time I have this problem. I'm very surprised because it's only in IE 8 on my computer ! The preview in golive is ok, menu scrolls well, as in firefox or chrome. I don't know what happens in IE9 on win 7 or vista, or on a Mac. I used also mac computers for a long time when I worked in publishing and advert.
    Philippe

  • Problem with encrypted Time Machine

    First of all: forgive me for my english.....
    I installed Lion a month ago and I encryped the partiton on an external Hard Drive that I use for Time Machine (TM). The HD has three partitions:
    1) for TM;
    2) a copy of the Macintosh HD made with Carbon Copy Cloner;
    3) an NTFS partition with some Windows data.
    For the first month everything works good but a week ago I pluged in my HD and it requested me the password for the encrypted volume (TM)...I typed it in but it said that it wasn't correct....so I can no more open my backups...
    Now every time I connect the external HD there is a message that say "The disk you inserted was not readable by this computer" with three oprions "Inizialize, ignore, eject".
    After that it request me the password but it say that is not correct...
    In the Partition menu of Utility Disk there is this message: "Disk Utility cannot modify this disk because it contains CoreStorage physical volumes. Use command line diskutilinstead".
    Can anyone helps me??

    Call Applecare (800-275-2273), but I think you may have lost access to that drive.

  • Problem with java virtual machine

    hi i tried to install football manager 2007 nad it started a different installer that were using java virtual machine.i have the latest java virtual machine installed to my computer.after it loads the java virtual machine and the window closes , nothing happens.my computer continues work normally but the installation doesn't continue.! hope that someone can help me.

    Hi
    I'm having the same problem.
    I run the .exe file, and the installation hangs. I've tried running the .jar file instead, and get a JVM not found error.
    Hope someone can help. Thanks.

  • Permission Problems with Leopard & Time Machine are ridiculous!

    I just had a hard drive die in a MacBook. I installed a new drive and restored from TM.
    Only to find out I have absolutely no ownership to anything in my home directory.
    System & Admin -r/w, everyone r --- no where is my id mentioned as having ANY r/w access.
    Leopard has been a disaster on 2 out of 3 Macs I've installed it on.
    If I wanted this kind of crap I'd use Windows full time.

    You'll need to reset permissions on your home directory. Follow these steps:
    1) Boot from your Leopard install CD/DVD (insert it, shut down, start while holding "C")
    2) Choose your language.
    3) When the menubar appears, select Utilities>Reset Password.
    4) In the window that appears, select your boot volume (by default, "Macintosh HD") from the list at the top.
    5) In the popup menu below the volume list, select an affected user. (One that you used "Apply to enclosed items" on).
    6) Click the "Reset" button at the bottom of the window. This will reset the permissions (and ACLs) back to their default settings.
    7) Repeat Steps 5 & 6 for every user on your machine who has this problem (except "System Administrator (Root)").
    There is one bug in this process, so you need to take some additional steps to get permissions back to how they should be.
    8) Log in to an account you reset the permissions for.
    9) Open Terminal (/Applications/Utilities/Terminal)
    10) Copy the blue text in, and press "return". chgrp -R `id -gn` ~
    11) You won't see anything happen, but you can check that it worked by selecting your home folder, and clicking File>Get Info. You will see either "unknown" or "staff" under "Sharing and Permissions", depending on how you installed Leopard. Either one is fine.
    12) Repeat the steps 8-11 for every account that you reset permissions for on your machine. (Remember, NOT "System Administrator (Root)").
    Good luck!
    Message was edited by: joshz

  • Remote Desktop Connection problem with multiple Lenovo machines

    Hello,
    I've been running into issues with connecting to some of the latest Lenovos we purchased using RDP. It has happened with a batch of 3 x220s and a batch of 2 Thinkstation C20s (possibly others that I haven't yet had to remote into).
    The symptoms are maddening in the paucity of information given for the failure. It basically goes like this -- type in the name of the computer and hit connect. Immediately I get a "this computer can't connect to the remote computer"; it's so sudden that it seems to be getting rejected immediately. I've check every windows log (even the ones under Applications and Services) and the ONLY thing logged (on the destination computer) is that an RDP session was initiated. NO reason is given for the failure. No error event given.
    Has anyone else run into this? I'm having to use 3rd party software to log in to computers, which is becomming a nuisance as I am trying to set up computers at a branch office for new users. Is there some way to debug RDP? I ran a packet sniffer and a total of 6 packets are passed for these "sessions" -- mostly TCP handshake packets at that, and only one actual RDP packet. Is there a more verbose log I should be looking at?
    Any help would be greatly appreciated!

    If you can't connect to your new or restored Lenovo with the OEM install of Windows 7, it may very well be that the particular registry key below is not set to the typical default value (I think Lenovo has messed up their OEM install image). The two secrity packages 'tspkg' and 'pku2u' are missing on OEM Lenovo images.
    This registry key:
    HKLM\system\currentcontrolset\control\lsa\security packages
    Should look like this:
    kerberos msv1_0 schannel wdigest tspkg pku2u
    Fix it and RDC will connect.
    (may need a reboot to take effect)

  • Safari problem with Java Virtual Machine

    I have a brand new MacBook Pro. I tried to play an online game that requires Java Virtual Machine. And of course I use Safari since it's the default browser. However, the game keeps asking me to download Java Virtual Machine. I tried to update and also I tried to use Google Chrome, but still it didn't work. Can someone please help.

    HI and Welcome to Apple Discussions...
    According to this site, http://www.java.com/en/download/manual.jsp
    you need the most recent version of Safari running which is 4.0.5 and have Java enabled. Go to the Safari Menu Bar click Safari/Preferences then select the Security update. Where you see Web content, select the top 3 buttons.
    To see which version of Safari you are running from the Safari Menu Bar click Safari/About Safari.
    If your software is not up to date, click the Apple Menu (top left in your screen) then click: Software Updates.
    Please click My Settings on the right side of this window and tell us which Mac OS X you are running. Makes it much easier for us to help trouble shoot for you. Thanks!
    Carolyn

Maybe you are looking for

  • How to delete a schedule line from a PO

    Hi experts, Could you please help me out. Supplier confirmed twice through web which results in over commitment, now one of the schedule line need to be deleted for an item. How to do this..Please help. Regards Vinoth

  • Created By F4 issue in opportunity search

    Hi, In opportunuty search we have search attribute as 'CREATED_BY'. This gives the user name who has created the opportunity. For this field we have F4 help window and the logic is as follows in GET_DQUERY_VALUEHELPS: when 'CREATED_BY'.         <rs_r

  • How do I save pictures from Iphoto to flash drive?

    How do I save my pictures from Iphoto to a flash drive??

  • No entry found in table TTXD Calculation procedure with TAXCR

    Hello, Transaction FB01 F-02 and is sending me the following error, "No entry found in table TTXD Calculation procedure with TAXCR Message no. TAX_TXJCD106" requires me to turn jurisdiction code. What I can do to avoid this problem? Regards,

  • How to install Qt SDK In Arch?

    Hey guys, I downloaded the qt sdk and extracted it to /usr/local/src. Then chmodded it and ran it and installed into /usr/local/bin/qt. While installing it gave an error about a library not found and that it couldn't find a symbian emulator. Anyone g