Involves Stack, push and pop

Hi, I have this exercise which I'm not sure how to approach:
Evaluate the following expresion, where '+' menas "push the following letter onto the stack," and '-' means "pop the top of the stack and print it": "+U+n+c---+e+r+t---+a-+i-+n+t+y---+ -+r+u--+l+e+s---"
public class Ex15 {
     public static void main(String[] args) {
          Stack<String> stack = new Stack<String>();
          String str = "+U+n+c---+e+r+t---+a-+i-+n+t+y---+ -+r+u--+l+e+s---";
}Not sure if I'm supposed to use String.split() somehow in an if statement??? How do I actually evaluate this so that I can push or pop where necessary? Any help appreciated

I don't see the need for split here. Just get the character array from the String and spin through it (a for loop). In the for loop evaluate each character looking for your operators (+ and -) and then decide what to do.
When you encounter a + you should grab the next character, push it and advance your loop iterator by one.

Similar Messages

  • Push() and pop()

    I'm writing my own Stack class, in which I'm using a 100 element String array. I'm trying to write the push and pop methods for this class. I'm having trouble figuring out how to add an element to my array in the push method.
    Here is my code so far:
    public class Stack
         String array[] = new String[100];
         int c = 0;
        public Stack()
        public voide clear()
          c = -1;
        public void push(String x)
       public String pop()
           throws EmptyStackException
           return null;
    }So if someone could please help me with my push and pop methods. Thanks

    Ok here is what I came up with after all of your help. I'm not sure if it's correct, because I have to use an text file that already has input in it to test it. If you want to see exactly what I have to do, go to this site:
    http://webmail1.uwindsor.ca/Redirect/davinci.newcs.uwindsor.ca/~angom/cs254/
    here is my code now:
    public class Stack
         String array[] = new String[100];     
         int top=0;
         public Stack()
         public void clear()
              top=-1;
         public void push(String x)
              for(int i=0; i < array.length; i++)
              array[i] = x;
              top = i;
         public String pop()
              throws EmptyStackException
              if(top > 0)
                   for(int j=0; j < array.length; j++)
                        System.out.print(array[j]);
              top = top - 1;
              return null;
    }And this is the code so for the reading in of the file
    import java.io.*;
    import java.util.*;
    public class Assign1 
       static BufferedReader in;
       static StringTokenizer toke;
       public static void main (String args[]) throws Exception
           Stack stack = new Stack();
               in = new BufferedReader(new InputStreamReader (System.in));
           //you can now use in to read in a full line
           //System.out.println("type something");
           System.out.println(in.readLine());
           //to break up a line use stringTokenizer
           //System.out.println("type something again with a space");
           String line = in.readLine();
           toke = new StringTokenizer(line);
           System.out.print(toke.nextToken());
           if (toke.hasMoreTokens()) System.out.println(" " + toke.nextToken());
    Thanks again for all of everyone's help

  • Javascript array ;Add and remove elements without using push and pop

    Hi
     I need to perform add and remove  operation in Javascript with following scenarios
    i) Add element, if element does not exist in array(javascript)
    ii) Remove element, if element exist in array(javascript)
    Without using push and pop method how to achieve this?
    Regards
    Siva

    Completed the Scenario.

  • What is the difference between PUSH and FETCH

    I am a little confused. I use my iphone for both my personal POP email accounts and my business exchange account. I am trying to save as much battery as I can so I turned off push and set everything to manual...but now when I try and get may mail....it either says "connecting" or "checking for new mail" at the bottom of the screen and nothing happens from there.
    What is the best way to setup this situation for the most battery life? I don't need it to automatically download emails just when I open the email accout would be nice.
    I also noticed that when I delete an email from my iphone on my exchange account, it also deletes is on my desktop at work...I need to turn this off...is it possible?

    Hi maxum25,
    The difference between push and fetch is that:
    When using push, the server sends a signal to the iphone and lets it know that an email is coming its direction. Kind of like receiving a call. The iphone does not need to do anything except receive the email.
    When using fetch, the iphone has to wake up every so often and send a request to the server to see if there is any new email waiting for it on the server to download. This takes more time because the iphone sends a request, the server says yes there is some, the iphone says ok give me the new email.
    Now the exchange email uses active sync to keep all changes on the exchange server and mobile device in sync. This is automatic and is the nature of exchange and active sync. In order to keep this from happening you would need to talk to your IT dept. and see if they have an imap or pop alternative. Even using imap reflects the changes back to the server.
    Hope this helps.

  • How do I improve performance while doing pull, push and delete from Azure Storage Queue

           
    Hi,
    I am working on a distributed application with Azure Storage Queue for message queuing. queue will be used by multiple clients across the clock and thus it is expected that it would be heavily loaded most on the time in usage. business case is typical as in
    it pulls message from queue, process the message then deletes the message from queue. this module also sends back a notification to user indicating process is complete. functions/modules work fine as in they meet the logical requirement. pretty typical queue
    scenario.
    Now, coming to the problem statement. since it is envisaged that the queue would be heavily loaded most of the time, I am pushing towards to speed up processing of the overall message lifetime. the faster I can clear messages, the better overall experience
    it would be for everyone, system and users.
    To improve on performance I did multiple cycles for performance profiling and then improving on the identified "HOT" path/function.
    It all came down to a point where only the Azure Queue pull and delete are the only two most time consuming calls outside. I can further improve on pull, which i did by batch pulling 32 message at a time (which is the max message count i can pull from Azure
    queue at once at the time of writing this question.), this returned me a favor as in by reducing processing time to a big margin. all good till this as well.
    i am processing these messages in parallel so as to improve on overall performance.
    pseudo code:
    //AzureQueue Class is encapsulating calls to Azure Storage Queue.
    //assume nothing fancy inside, vanila calls to queue for pull/push/delete
    var batchMessages = AzureQueue.Pull(32); Parallel.ForEach(batchMessages, bMessage =>
    //DoSomething does some background processing;
    try{DoSomething(bMessage);}
    catch()
    //Log exception
    AzureQueue.Delete(bMessage);
    With this change now, profiling results show that up-to 90% of time is only taken by the Azure Message delete calls. As it is good to delete message as soon as processing is done, i remove it just after "DoSomething" is finished.
    what i need now is suggestions on how to further improve performance of this function when 90% of the time is being eaten up by the Azure Queue Delete call itself? is there a better faster way to perform delete/bulk delete etc?
    with the implementation mentioned here, i get speed of close to 25 messages/sec. Right now Azure queue delete calls are choking application performance. so is there any hope to push it further.
    Does it also makes difference in performance which queue delete call am making? as of now queue has overloaded method for deleting message, one which except message object and another which accepts message identifier and pop receipt. i am using the later
    one here with message identifier nad pop receipt to delete message from queue.
    Let me know if you need any additional information or any clarification in question.
    Inputs/suggestions are welcome.
    Many thanks.

    The first thing that came to mind was to use a parallel delete at the same time you run the work in DoSomething.  If DoSomething fails, add the message back into the queue.  This won't work for every application, and work that was in the queue
    near the head could be pushed back to the tail, so you'd have to think about how that may effect your workload.
    Or, make a threadpool queued delete after the work was successful.  Fire and forget.  However, if you're loading the processing at 25/sec, and 90% of time sits on the delete, you'd quickly accumulate delete calls for the threadpool until you'd
    never catch up.  At 70-80% duty cycle this may work, but the closer you get to always being busy could make this dangerous.
    I wonder if calling the delete REST API yourself may offer any improvements.  If you find the delete sets up a TCP connection each time, this may be all you need.  Try to keep the connection open, or see if the REST API can delete more at a time
    than the SDK API can.
    Or, if you have the funds, just have more VM instances doing the work in parallel, so the first machine handles 25/sec, the second at 25/sec also - and you just live with the slow delete.  If that's still not good enough, add more instances.
    Darin R.

  • Cracks and popping sound: A never ending sto

    A few years ago i had few cumputers (always custom made) in which i always used the same SB Li've! 3.0 card (Windows 98 SE). Worked like a charm without any problem.
    Then i upgraded to Windows XP and the problems started. I still kept using that SB Li've! 3.0 but i had cracks and pops in about every sound environment i used (games, CD playback etc). In the end, i got rid of the SB Li've! 3.0 and started using the onboard sound from the motherboard (ASUS at first). This was a RealTek AC97. All problems gone, no cracks, no pops, just great sound without any problems.
    I did upgraded again, now to an MSI motherboard also with integrated sound (RealTek AC97). Just as with the ASUS, not a single problem soundwise.
    Then a few days ago, i decided to look for an add-on soundcard again to reduce the CPU workload a bit. Guessing the old SB Li've! 3.0 and XP didn't go along fine, i went for cheap SB Li've! Audigy. Disabled the onboard AC97, removed it's drivers, installed the Audigy without any problems, updated the Creative drivers to the latest version and rebooted my system... guess what... the cracks and the pops in the sound are back in about every sound environment i use.
    Today, i reverted back to the AC97... No more cracks and pops!!!!
    Since i used a varity of hardware with various chipsets which all worked fine as long as there was no Creative soundcard involved, i can only conclude that your product has some serious problem (and regarding the same remarks made on various forums, i'm far from the only one). I tried about every solution i could find, without succes until this date.
    Therefore, i decided that this will be my last Creative product ever bought.

    Well, i got it working. I tried about everything i came accros (IRQ settings, PCI latency and stuff like that) but nothing really helped. Forcing IRQ's in the MB's BIOS didn't help and Latency was AOK.
    Then i did read here somewhere that you can change your computer setting from ACPI to Standard PC in the device manager and that this helped. So i checked that but i could not change to a Standard PC like mentioned in a previous topic. Since i'm planning a complete re-install when my new Videocard arri'ves this week, i thougt "what the heck", let's do some extra testing. The only thing i could do was uninstall the ACPI driver. I did this, rebooted and i had to set a few settings (video and stuff) back to my settings because they reverted back to default. Also, every hardware on the USB asked for a re-install. Since everthing was still install, this was a piece of cake.
    So after removing the ACPI driver (although the device manager says that it's still an ACPI PC), and resetting a few setups + re-installing a bit of hardware, i tried and soundcard and BINGO!, no cracks, no pops, no tics anymore. Sound is just as smooth as a baby's ass now.. :-)
    BTW: For those interrested in my setup: MSI K8T Neo motherboard, AMD Athlon 3000+ 64bit, GB Ram, GT6600 256MB DDR3, SB Audigy LS, 200GB SATA Harddisk & a 40 GB HD on IDE as back up, Plextor CD 6x burner, HP printer, Cougar stick and throttle (modded), TrackIR, etc...

  • Clicks and pops when running Mainstage 2 with Guitar Rig 5 in Mavericks.

    **I've read that this may be unsolvable but I hope someone can help me**
    Hello everyone,
    I very recently upgraded to the new Macbook Pro 15" Retina as my 2010 Macbook running Snow Leopard is on it's way to Apple heaven. This means I am now on Mavericks and **** is ******, it's my fault for not upgrading sooner so I am to blame in some respects. Here is my issue.
    My set up is fairly basic:
    Mainstage 2.2.2 (I can't upgrade to 3 as the synths we use are not 64bit compatible.. another nightmare due to my lack of upgrading in the past)
    Axiom 64 MIDI controller via USB
    Guitar Rig 5 controller via USB (audio interface)
    In Mainstage we have the L output for virtual instrument parts and the R output for guitar parts. These are globally panned L and R.
    The L output from Mainstage goes through the Guitar rig footcontroller out the L output through a DI and then to the mixing desk. The R output goes through the Guitar rig controller out the R output and straight to the guitar amp. Simple way to do both keys and guitar.
    We never had any problems with this in Snow Leopard. With Mavericks this setup is unusable due to the clicks and pops shooting through the guitar amp. It doesn't matter whether the voume on the guitar itself is turned up or down it's still all "click POP.. CLICK pop pop click" Mainstage just seems to be sending these pops regardless if anything is being played or not.
    When I ran the same session through my Focusrite Saffire Pro 24 there was no popping on the virtual instruments so I'm thinking it could be a guitar rig issue.
    Can anyone help me with this? I'm sure a lot of people are finding the same thing... **** I know a lot of people are getting the pops without guitar rig involved. For now I'm going to continue to use my old Macbook but I'd LOVE to have the new one running smoothly!
    Thanks a lot!

    **I've read that this may be unsolvable but I hope someone can help me**
    Hello everyone,
    I very recently upgraded to the new Macbook Pro 15" Retina as my 2010 Macbook running Snow Leopard is on it's way to Apple heaven. This means I am now on Mavericks and **** is ******, it's my fault for not upgrading sooner so I am to blame in some respects. Here is my issue.
    My set up is fairly basic:
    Mainstage 2.2.2 (I can't upgrade to 3 as the synths we use are not 64bit compatible.. another nightmare due to my lack of upgrading in the past)
    Axiom 64 MIDI controller via USB
    Guitar Rig 5 controller via USB (audio interface)
    In Mainstage we have the L output for virtual instrument parts and the R output for guitar parts. These are globally panned L and R.
    The L output from Mainstage goes through the Guitar rig footcontroller out the L output through a DI and then to the mixing desk. The R output goes through the Guitar rig controller out the R output and straight to the guitar amp. Simple way to do both keys and guitar.
    We never had any problems with this in Snow Leopard. With Mavericks this setup is unusable due to the clicks and pops shooting through the guitar amp. It doesn't matter whether the voume on the guitar itself is turned up or down it's still all "click POP.. CLICK pop pop click" Mainstage just seems to be sending these pops regardless if anything is being played or not.
    When I ran the same session through my Focusrite Saffire Pro 24 there was no popping on the virtual instruments so I'm thinking it could be a guitar rig issue.
    Can anyone help me with this? I'm sure a lot of people are finding the same thing... **** I know a lot of people are getting the pops without guitar rig involved. For now I'm going to continue to use my old Macbook but I'd LOVE to have the new one running smoothly!
    Thanks a lot!

  • Querying/setting "Print notes and pop-ups" application preference

    Hi
    I'd like to be able to alert the user if a particular setting is disabled within a plugin application I've written for Acrobat 9 Pro. The particular preference in question is the "Print notes and pop-ups" setting in the Comments preferences page.
    I've tried querying the value using AVAppGetPreference(avpPrintAnnots), but it seems that the particular constant I pass doesn't refer to what I assumed it does. Is there another I should be using instead? I'd have tried using the AVAppGetPrefBool or similar function, except it requires a key parameter containing a value that doesn't appear to be documented anywhere.
    Failing to access the preference store via the API, I eventually found that the value for the setting I'm after is stored in the windows registry at HKLM\Software\Adobe\Adobe Acrobat\9.0\Annots\cPrefs\bprintCommentPopups, however setting this value in a AVAppDidInitialize callback function is already too late the application to read the new value I've set, and I couldn't find a more suitable callback; not that I was able to find a complete list of these in any of the documentation.
    Regards, Andrew

    Please forgive me for pushing the matter, but given the absence of documentation on this matter, I really have no other option.
    Inserting #define avpPrintCommentPopups (Str("printCommentPopups")) into my source file didn't work either, the Str macro is also undefined. Besides this point, why exactly should the define have worked? The AVAppGetPreference function/macro takes an enum value as an argument, not a string.
    If you are able to supply me with the relevant section and key names for the AVAppGetPrefBool function I would be happy to use this function instead.

  • Problem when "Checking for Mail" using IMAP and POP

    Hello,
    I have an iPhone 3G running 2.0.1 and created 3 mail accounts (1 Gmail using IMAP, and 2 using POP).
    When I first set up the phone 2 days ago the installer copied the settings from my Mac and emails on my iPhone showed up correctly.
    Since yesterday something is screwed up because when I try to fetch new email I only see "Checking for Mail" at the bottom of the screen but nothing happens and new emails don't show up.
    Any idea how to fix this problem?
    Thanks!

    FYI you don't actually have to completely reboot the phone. From inside your email program, push and hold the HOME button for 7 or 8 seconds until it exits email and dumps you back at your home screen. That causes a hard-quit of the email program and will reset it. You should begin getting email again immediately after.
    Here's hoping Apple fixes that anomaly on their next release...

  • Problem push and hold on a Surface Pro tablet's touch screen

    Hi,
    I tried posting this before, but I can't find my origional post so I hope I'm not spamming accidentally.
    I have a problem with my program on a Windows 8.1 Surface Pro tablet. I programmed a button to be 'push-and-hold', but when I touch the tablet nothing happens until I release my finger. This briefly controls the button. When I connect a USB mouse to the tablet, it responds normally; when I press the left mouse button: the button in my program goes down until I release the mouse button. I tried about every setting in the Touch section of the Windows control panel without any succes.
    Does anyone have a suggestion?
    Any help would be greatly appreciated.
    Chris  

    Previous Post.
    http://forums.ni.com/t5/LabVIEW/Press-and-hold-on-a-Surface-pro-touch-screen/m-p/2816346
    If you clicked on your username and looked at your profile, you can see the messages you've created or replied to in the past.

  • Something was hidden in a download and now these double green underlined hyperlinks show up everywhere, and pop ups too whenever I click on ANYTHING. I can't figure out how to find it and get rid of it.

    Something was hidden in a download and now these double green underlined hyperlinks show up everywhere, and pop ups too whenever I click on ANYTHING. I can't figure out how to find it and get rid of it.

    You installed the "DownLite" trojan, perhaps under a different name. Remove it as follows.
    Malware is constantly changing to get around the defenses against it. The instructions in this comment are valid as of now, as far as I know. They won't necessarily be valid in the future. Anyone finding this comment a few days or more after it was posted should look for more recent discussions or start a new one.
    Back up all data.
    Triple-click anywhere in the line below on this page to select it:
    /Library/LaunchAgents/com.vsearch.agent.plist
    Right-click or control-click the line and select
    Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item named "VSearch" selected. Drag the selected item to the Trash. You may be prompted for your administrator login password.
    Repeat with each of these lines:
    /Library/LaunchDaemons/com.vsearch.daemon.plist
    /Library/LaunchDaemons/com.vsearch.helper.plist
    /Library/LaunchDaemons/Jack.plist
    Restart the computer and empty the Trash. Then delete the following items in the same way:
    /Library/Application Support/VSearch
    /Library/PrivilegedHelperTools/Jack
    /System/Library/Frameworks/VSearch.framework
    Some of these items may be absent, in which case you'll get a message that the file can't be found. Skip that item and go on to the next one.
    From the Safari menu bar, select
    Safari ▹ Preferences... ▹ Extensions
    Uninstall any extensions you don't know you need, including any that have the word "Spigot" in the description. If in doubt, uninstall all extensions. Do the equivalent for the Firefox and Chrome browsers, if you use either of those.
    This trojan is distributed on illegal websites that traffic in pirated movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect much worse to happen in the future.
    You may be wondering why you didn't get a warning from Gatekeeper about installing software from an unknown developer, as you should have. The reason is that the DownLite developer has a codesigning certificate issued by Apple, which causes Gatekeeper to give the installer a pass. Apple could revoke the certificate, but as of this writing, has not done so, even though it's aware of the problem. This failure of oversight is inexcusable and has compromised the value of Gatekeeper and the Developer ID program. You can't rely on Gatekeeper alone to protect you from harmful software.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • Double stack BI and Enterprise portal for SSO

    I am in the process of configuring a double stack BI and SAP Enterprise Portal. Both systems are residing on different domains. We want to utilize the standalone SAP Enterprise Portal for our BEx etc. For that I have exchanged certificates between the ABAP and the SAP Enterprise Portal systems and with the help of Support desk tool I have overcome the certificate issues. The RFC connection from ABAP and SAP Enterprise Portal works fine. The Support desk tool is complaining now about the prefix of these two servers. Also when I check the connection testing between these two systems all the messages are correct except for WEBAS connection it complains about the ping service which is already active on ABAP side. For Connectors it complains about SSO which is not detected/complained by the Support desk tool (0.426). I need your advice:
    1. Either uninstall the JAVA instance of BI or
    2. Make a Federated Portal network by making the BI JAVA as PRODUCER and the SAP standalone as CONSUMER.
    The Support package levels are the same as EHP1 SP 7 of both the double stack BI and the standalone Enterprise Portal systems. The source of users are both local to the systems.

    answered

  • After reading and resetting everything with Keyboard I still get blank white screen. The only way I can boot to Mavericks is unplug power cord, push and hold power button while plugging power cord in. Fans at full speed.

    After reading and resetting everything with Keyboard I still get blank white screen on 2nd? page of boot. The only way I can boot to Mavericks is unplug power cord, push and hold power button while plugging power cord in. Fans run at full speed, machine boots then runs normal except the dvdrw will not . The mid 2011 IMAC had the same problem with LION. I changed hard drives, formatted, and installed a clean install of latest os x mavericks. Any help would be greatly appreciated.
    EtreCheck version: 1.9.15 (52)
    Report generated August 30, 2014 at 6:56:41 PM EDT
    Hardware Information: ?
        iMac (21.5-inch, Mid 2011) (Verified)
        iMac - model: iMac12,1
        1 2.5 GHz Intel Core i5 CPU: 4 cores
        4 GB RAM
    Video Information: ?
        AMD Radeon HD 6750M - VRAM: 512 MB
            iMac 1920 x 1080
    System Software: ?
        OS X 10.9.4 (13E28) - Uptime: 0 days 0:16:53
    Disk Information: ?
        ST3120026AS disk0 : (120.03 GB)
        S.M.A.R.T. Status: Verified
            EFI (disk0s1) <not mounted>: 209.7 MB
            Untitled (disk0s2) / [Startup]: 119.17 GB (87.12 GB free)
            Recovery HD (disk0s3) <not mounted>: 650 MB
        HL-DT-STDVDRW  GA32N 
    USB Information: ?
        Apple Inc. FaceTime HD Camera (Built-in)
        CHICONY USB NetVista Full Width Keyboard
        Apple Inc. BRCM2046 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple Computer, Inc. IR Receiver
        Apple Internal Memory Card Reader
    Thunderbolt Information: ?
        Apple Inc. thunderbolt_bus
    Gatekeeper: ?
        Anywhere
    Kernel Extensions: ?
        [loaded]    com.nvidia.CUDA (1.1.0) Support
        [loaded]    com.sophos.kext.sav (9.0.61 - SDK 10.7) Support
        [loaded]    com.sophos.nke.swi (9.0.53 - SDK 10.8) Support
    Startup Items: ?
        CUDA: Path: /System/Library/StartupItems/CUDA
        FanControlDaemon: Path: /Library/StartupItems/FanControlDaemon
    Launch Daemons: ?
        [loaded]    com.adobe.fpsaud.plist Support
        [running]    com.arcsoft.eservutil.plist Support
        [running]    com.bjango.istatmenusdaemon.plist Support
        [loaded]    com.oracle.java.Helper-Tool.plist Support
        [running]    com.sophos.autoupdate.plist Support
        [running]    com.sophos.configuration.plist Support
        [running]    com.sophos.intercheck.plist Support
        [running]    com.sophos.notification.plist Support
        [running]    com.sophos.scan.plist Support
        [running]    com.sophos.sxld.plist Support
        [running]    com.sophos.webd.plist Support
    Launch Agents: ?
        [running]    com.arcsoft.esinter.plist Support
        [running]    com.bjango.istatmenusagent.plist Support
        [loaded]    com.nvidia.CUDASoftwareUpdate.plist Support
        [loaded]    com.oracle.java.Java-Updater.plist Support
        [running]    com.sophos.uiserver.plist Support
    User Login Items: ?
        Macs Fan Control
        Firefox
    Internet Plug-ins: ?
        FlashPlayer-10.6: Version: 14.0.0.176 - SDK 10.6 Support
        Flash Player: Version: 14.0.0.176 - SDK 10.6 Support
        QuickTime Plugin: Version: 7.7.3
        JavaAppletPlugin: Version: Java 7 Update 67 Check version
        Default Browser: Version: 537 - SDK 10.9
    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
    3rd Party Preference Panes: ?
        CUDA Preferences  Support
        Fan Control  Support
        Flash Player  Support
        Java  Support
    Time Machine: ?
        Time Machine not configured!
    Top Processes by CPU: ?
             1%    WindowServer
             1%    fontd
             0%    firefox
             0%    SystemUIServer
             0%    SophosWebIntelligence
    Top Processes by Memory: ?
        229 MB    firefox
        156 MB    SophosScanD
        152 MB    InterCheck
        131 MB    com.apple.IconServicesAgent
        115 MB    SophosAntiVirus
    Virtual Memory Information: ?
        424 MB    Free RAM
        1.53 GB    Active RAM
        1.37 GB    Inactive RAM
        699 MB    Wired RAM
        1.26 GB    Page-ins
        0 B    Page-outs

    I'd start by getting rid of the following software responsible for these extensions.
    Kernel Extensions: ?
        [loaded]    com.nvidia.CUDA (1.1.0) Support
        [loaded]    com.sophos.kext.sav (9.0.61 - SDK 10.7) Support
        [loaded]    com.sophos.nke.swi (9.0.53 - SDK 10.8) Support
    Startup Items: ?
        CUDA: Path: /System/Library/StartupItems/CUDA
        FanControlDaemon: Path: /Library/StartupItems/FanControlDaemon
    Use the uninstaller provided with the Sophos software. You can uninstall CUDA via the preference pane. Be sure you remove the com.nvidia.CUDA extension which is located in the /System/Library/Extensions/ folder. Not sure if Fan Control has an uninstaller so you will have to do it manually:
    Uninstalling Software: The Basics
    Most OS X applications are completely self-contained "packages" that can be uninstalled by simply dragging the application to the Trash.  Applications may create preference files that are stored in the /Home/Library/Preferences/ folder.  Although they do nothing once you delete the associated application, they do take up some disk space.  If you want you can look for them in the above location and delete them, too.
    Some applications may install an uninstaller program that can be used to remove the application.  In some cases the uninstaller may be part of the application's installer, and is invoked by clicking on a Customize button that will appear during the install process.
    Some applications may install components in the /Home/Library/Applications Support/ folder.  You can also check there to see if the application has created a folder.  You can also delete the folder that's in the Applications Support folder.  Again, they don't do anything but take up disk space once the application is trashed.
    Some applications may install a startupitem or a Log In item.  Startupitems are usually installed in the /Library/StartupItems/ folder and less often in the /Home/Library/StartupItems/ folder.  Log In Items are set in the Accounts preferences.  Open System Preferences, click on the Accounts icon, then click on the LogIn Items tab.  Locate the item in the list for the application you want to remove and click on the "-" button to delete it from the list.
    Some software use startup daemons or agents that are a new feature of the OS.  Look for them in /Library/LaunchAgents/ and /Library/LaunchDaemons/ or in /Home/Library/LaunchAgents/.
    If an application installs any other files the best way to track them down is to do a Finder search using the application name or the developer name as the search term.  Unfortunately Spotlight will not look in certain folders by default.  You can modify Spotlight's behavior or use a third-party search utility, EasyFind, instead.
    Some applications install a receipt in the /Library/Receipts/ folder.  Usually with the same name as the program or the developer.  The item generally has a ".pkg" extension.  Be sure you also delete this item as some programs use it to determine if it's already installed.
    There are many utilities that can uninstall applications.  Here is a selection:
        1. AppZapper
        2. AppDelete
        3. Automaton
        4. Hazel
        5. AppCleaner
        6. CleanApp
        7. iTrash
        8. Amnesia
        9. Uninstaller
      10. Spring Cleaning
    For more information visit The XLab FAQs and read the FAQ on removing software.
    Be sure to remove your two Login Items. Finally do this:
    Reinstall Lion, Mountain Lion, or Mavericks without erasing drive
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported then click on the Repair Permissions button. When the process is completed, then quit DU and return to the main menu.
    Reinstall Lion, Mountain Lion, or Mavericks
    OS X Mavericks- Reinstall OS X
    OS X Mountain Lion- Reinstall OS X
    OS X Lion- Reinstall Mac OS X
         Note: You will need an active Internet connection. I suggest using Ethernet
                     if possible because it is three times faster than wireless.

  • When I put in my earphones to listen to music the sound isn't clear and I have to push and hold them in it in order for it to be. It's not the earphones because I use them in my laptop and they work fine. Is there a way to fix this problem?

    Whenever I put my earphones into my iPod Touch 2g the music isn't clear and I have to push and hold them in order to hear the song normally. It isn't the earphones because I tried another pair, that worked fine, and there was still no difference. I also use the same pair of earphones in my laptop and it sounds great. Is there a way to fix this problem without having to buy a brand new iPod touch? Do I need to clean it or something? And if so, how would I go about doing that? Thanks!

    - Try cleaning out/blowing out the headphone jack. Try inserting/removing the plug a dozen times or so.
    If still problem that indicates you have a bad headphone jack.
    Apple will exchange your iPod for a refurbished one for this price. They do not fix yours. Likely not worth it for your old 2G iPod
    Apple - iPod Repair price                  
    A third-party place like the following will replace the jack for less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens
    Replace the jack yourself
    iPod Touch Repair – iFixit

  • When playing FarmVille I continually get a window poping open that is title "about blank" it then closes and pops open again, preventing me from doing anything on Farmville how can I stop this?

    when trying to play FarmVille with Firefox on my laptop, a window continually pops open with the title "about blank" then it closes, and pops open again right away. Because of this I can not manage to do anything on the FarmVille screen. This does NOT happen on my desktop machine. Both are running Windows 7 64 bit. How can I prevent the window from poping up all the time? Something is continually sending a request, but I do not know what it is. Thank you for any help or suggestions. By the way, Google Chrome works perfectly, but I prefer Firefox.

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

Maybe you are looking for

  • SSO login for custom BO SDK Application

    Hi, I am trying to build custom application using BO SDK. Requirement is application should be SSO configured. Below is my sample code of JSP <%@ page import = "com.crystaldecisions.sdk.framework.ISessionMgr"%> <%@ page import = "com.crystaldecisions

  • Photostream not showing photos on iMac

    Why is my Photostream not showing photos in iphoto, if I drag them in they do go onto the ipad but disappear off the photostream in iPhoto?

  • Reading Zipfile into Memory

    Can someone please show me how I can get the 5th field (comma seperated) out of a zipped file? I am having NO luck. I need to get it into a variable.

  • External editing

    how do I select multiple photos in lightroom and then open them to edit in photoshop?

  • To adjust before Photoshop or just export and then adjust. Pls Help.....

    Good evening. Problem driving me a bit nutz. I've been making my adjustments in Aperture such as Levels, Sat and Shadows etc., and then first, when I exported to PS the adjustments did not show, so I figure, rut ro, I have to export the "versions" of