A problem wtih my loop!! please have a look !!

this is the first node for the program master mind
Actually i need to enter a string, then i need to check whether its of 4 characters and if all letters are in the liste( a,b,c,d,e,f)
until these 2 conditions are nt satisfied , i need to continue to accept strings from keyboard.
so here i did a lot of manipulations, i know tat some are useless, they r just to help me to understand much better
so if u can find a solution; please do help me , coz im really getting mad
thank you!!!
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!MASTER MIND !!!!!!!!!!!!!!!!!!!!!!!!!!!!
int nbEchecs=0,nbpresent=0,j;int nbtrouves =0;int nblettre;int
nIndices=0;int i,c=0,k=0,h=0,p=0;int nbtrouves2=0, nbtrouves1 =0;
        boolean bgagne,bAbsent;bgagne=false;
        boolean present,pluslong=false;
        String cmot1,cLettre;
              char [] cDevine  = new char[10];
              char [] cLettres = new char[26];
              char [] couleurs  = {'A','B','C','D','E','F'};
BufferedReader clavier = new BufferedReader(new
InputStreamReader(System.in));
              System.out.println("Entrer la combinaison secrete a deviner avec le code A, B, C, D, E, F");
              cmot1=clavier.readLine();
              nblettre=cmot1.length();
              cmot1=cmot1.toUpperCase();
              cDevine = cmot1.toCharArray();
              present=true;
//********  to check if it the colors are from a to f n length is 6
               do
                  if(cmot1.length()!=4)
                  pluslong=true;
                  else
                  pluslong=false;
                  for(k=0;k<nblettre;k++)
                  for(int g=0;g<6;g++)
                             if(cDevine[k]!=couleurs[g])
                              c=c+1;
                  if(c>1)
                      present=false;
                  else
                      present=true;
              if(present==false || pluslong==true)
                 System.out.println("Il y a plus que 4 characteres ou Vous avez rentrez une couleur qui nest pas valide!!!");
                 System.out.println("Recommencer, entrer une combinaison");
                 cmot1=clavier.readLine();
                 cmot1=cmot1.toUpperCase();
                 cDevine = cmot1.toCharArray();
                 nblettre=cmot1.length();
            }while(present==true && pluslong ==false);

Hey if u dont mind can u explain me how this loop works? Mind if i do?
int count= 0;
// char's are (in a way) just like int's
// This for-loop starts with A then increases
// to B, C, D, E and the last in the line: F
for (char c = 'A'; c <= 'F'; c++) {
    // indexOf(...) is a method from the String class;
    // see http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html
    // indexOf(...) return -1 if a char is NOT in the String 'input'
    // So if a char from your loop (A,B,C,D,E or F) is indeed in the
    // String 'input', then the counter is increased with 1.
    if (input.indexOf(c) >= 0) {
        // you could also do:
        //   count = count + 1;
        // or:
        //   coutn += 1;
        // It's all the same.
        count++;
}

Similar Messages

  • Waveform peak detection ...Please have a look

    Hi folks,
               I am trying to acquire 2 signals and then detect the peaks of each of them and divide the peaks and display it in a waveform chart.But my Peak detection doesnt work at all...I tried plugging in values from 3 to 10000 but it just doesnt work...Please have a look at my VI and feel free to point out any errors in my VI..
    Thanks
    Attachments:
    slope 2 channels3.vi ‏51 KB

    Hi,
    Had a look at ur VI
    tell me, do u need a single peak for every iteration or a series of peaks above a certain threshold?
    If it is a single peak for each acquired waveform , then extract y array from the waveform cluster( you have already done it in ur VI) and connect it  to 'find array min max' function found in array functions palette and u get the single peak for each waveform.
    If it is a series of peaks u are interested in, then compare all these values inside a for loop.
    Index each element inside a 'for' loop, check it for threshold using a conditional case structure and put it inside a shift register.
    regards
    Dev

  • Material staging in WM - Jurgen please have a look at this

    Dear Jurgen,
    I'd kindly like to ask you to please have a look at this issue.
    Re: Requesting urgent reply
    Thanks in advance,
    Csaba
    (sorry for sending message this way...)

    I answered in the other thread.

  • Please have a look at this, problem loading images from jar.

    I made a post at the wrong place..
    Pleae have a look at it:
    http://forum.java.sun.com/thread.jsp?forum=422&thread=434524&tstart=0&trange=15

    Answer (hopefully not totally useless) posted over there.

  • Can a moderator please have a look into my connect...

    Hi Mods,
    Over a few weeks now my connection has seem to of deteriorated quite badly now to a point everything runs terrible. I have tried to do a pin reset on my HH5, no joy also I have reset my Openreach box no joy there, I have also connected straight to my HH5 without the Openreach box connected and nothing changes, I keep the openreach box connected because the HH5 seems to reboot and this makes my connection worse but it reset about a few days ago with the Openreach box connected and now it is really bad also no difference also connected straight to the HH5. My Download has plumeted from a steady 24.2MB down to now 18.8MB and my Upload has gone from 1.91MB down, now to an awful 0.67MB, surely something is really wrong with the connection and needs looking into also my Pings are just awful as well, its hitting 66ms from a steady 15ms and no Jitter, my estimates back when I first had Infinity installed where 19.1/2.90MB so its below my contract anyway, the strange part about it if I connect direct to my HH5 and look at the stats in the Helpdesk section it reads max attainable rate 24558/2208 but my actual speeds are no where near that. I will post an img below taken via ethernet cable today, could someone please seriously have a look at it for me. I don't want to take this as I am just complaining cause it is not good at all it seriously needs looking into for me please, thankyou:-
    Please click on pink star to the left and say thanks if I have helped you at all!. Thank you. Home Hub Page- http://bthomehub.home/
    BT Speed test- http://www.speedtest.btwholesale.com/
    Speedtest:-http://diagnostics.bt.com/login/?workflow=Speed
    Net Connect test- http://netalyzr.icsi.berkeley.edu/index.html

    Can a mod please please help me out or someone from BT I have ran another test now and its going down further this time now and all the time something is wrong. I've asked my parents and they have said they don't want an engineer coming out at all they have made this very clear to me and bothering them again they say, my backs against the wall with this issue, I have explained to them an engineer needs to come out to fix the problem but my dad seems to think they can fix it without an engineer coming out to the house cause one did before a while back without coming out so hes remembering that and trust me hes a rite stubbon git when it comes to this sort of thing the internet is really unusable at this moment, its just awful and I don't know what to do for the best???!.:-
    I have filled in the contact form if it helps me but hopefully they will read this thread and understand my difficult position so they know where I am with the problem.
    Please click on pink star to the left and say thanks if I have helped you at all!. Thank you. Home Hub Page- http://bthomehub.home/
    BT Speed test- http://www.speedtest.btwholesale.com/
    Speedtest:-http://diagnostics.bt.com/login/?workflow=Speed
    Net Connect test- http://netalyzr.icsi.berkeley.edu/index.html

  • Procedure ..Please have a look and give ur suggestion

    Hi all,
    Please have a below procedure.
    Suggest me if I do anything to make it more efficient?
    Because I'm very very new to pl/sql .
    I have to send this to code review.Before just to make sure everything is good and all logic and everything.
    Thanks in advance.
    PROCEDURE proc1 (
      in_report_parameter_id   IN      NUMBER,
      in_date_format_mask      IN      VARCHAR2,
      in_start_date_time       IN      TIMESTAMP,
      in_end_date_time         IN      TIMESTAMP
    AS
        my_current_date_time TIMESTAMP;            
    BEGIN
          my_current_date_time := TRUNC(in_start_date_time);
          DELETE FROM table1;
      LOOP
         EXIT WHEN my_current_date_time >= in_end_date_time;
         INSERT INTO table1 (
                     date_time )
         VALUES (my_current_date_time);
          my_current_date_time := my_current_date_time + numtodsinterval(1, 'DAY');
      END LOOP;
      DELETE FROM table1
         WHERE   TRUNC (date_time) IN
              SELECT TO_TIMESTAMP(report_parameter_value, in_date_format_mask)
                FROM report_parameters
              WHERE report_parameters.report_parameter_id    = in_report_parameter_id
              AND report_parameters.report_parameter_group = edr_rpt_constants_pkg.date_format_mask_group
              AND report_parameters.report_parameter_name  = edr_rpt_constants_pkg.excluded_date_name
    END proc1;

    Hi,
    I meant something like this:
    INSERT INTO table1 (date_time)
    WITH   all_dates   AS
         SELECT     in_start_date_time
                      + LEVEL - 1     AS dt
         FROM     dual
         CONNECT BY   LEVEL <= 1 + in_end_date_time
                                    - in_start_date_time
    SELECT     dt
    FROM     all_dates
    WHERE     dt     NOT IN     (
                       SELECT  TO_TIMESTAMP (report_parameter_value, in_date_format_mask)
                     FROM     report_parameters
                   WHERE     report_parameters.report_parameter_id    = in_report_parameter_id
                   AND     report_parameters.report_parameter_group = edr_rpt_constants_pkg.date_format_mask_group
                   AND     report_parameters.report_parameter_name  = edr_rpt_constants_pkg.excluded_date_name
    ;If you post CREATE TABLE and INSERT (or CREATE TABLE AS) statements, then I' can test it.
    As Tim said, TRUNCATE TABLE is not a PL/SQL command, so to use it in PL/SQL you have to use EXECUTE IMMEDIATE, like this:
    EXECUTE IMMEDIATE 'TRUNCATE TABLE  table1';The word TABLE before the table name is required.

  • Please have a look at my site

    Hi i've just uploaded a site i'm working on. See it
    here and the css file
    here.
    It displays ok in Firefox but in IE 6 it looks awful. Have a
    look and you'l see what i mean. Can anyone explain to me why this
    is happening?
    Also before i added the "contentfooter" div the site was
    centred in the browser (well in FF at least) but now it's aligned
    to the left.
    Another thing i would like is to be able to set the height of
    contentleft, contentcenter and contentright to vertically
    auto-stretch if possible.
    Any help would be greatly appreciated.
    *EDIT, i played about with it and fixed the issues with IE.
    I'm still trying to iron out a few problems though. Now the top
    shadow doesn't look right in IE but it's nearly there. I created a
    "bluetext" style for some of the text but it's not showing up. I'm
    still interested in auto-sizing the site vertically.
    thanks guys

    There was a great explanation from Murray on 10th September.
    Find this
    thread and see if it sorts you out. If not, post back.
    "Horizontal alignment of text boxes with css"
    Jo
    "ali_chisholm" <[email protected]> wrote in
    message
    news:ee4j9d$mll$[email protected]..
    > Hi i've just uploaded a site i'm working on. See it
    >
    http://www.mensanafitness.co.uk
    and the css file
    >
    http://www.mensanafitness.co.uk/mensana.css.
    >
    > It displays ok in Firefox but in IE 6 it looks awful.
    Have a look and
    > you'l
    > see what i mean. Can anyone explain to me why this is
    happening?
    >
    > Also before i added the "contentfooter" div the site was
    centred in the
    > browser (well in FF at least) but now it's aligned to
    the left.
    >
    > Any help would be greatly appreciated. I need to get
    this sorted asap.
    >

  • Problem with while loops, please help!

    I am having quite a bit of trouble with a program im working on. What i am doing is reading files from a directory in a for loop, in this loop the files are being broken into words and entered into a while loop where they are counted, the problem is i need to count the words in each file seperately and store each count in an array list or something similar. I also want to store the words in each file onto a seperate list
    for(...)
    read in files...
         //Go through each line of the first file
              while(matchLine1.find()) {
                   CharSequence line1 = matchLine1.group();
                   //Get the words in the line
                   String words1[] = wordBreak.split(line1);
                   for (int i1 = 0, n = words1.length; i1 < n; i1++) {
                        if(words1[i1].length() > 0) {
                             int count= 0;
                                           count++;
                             list1.add(words1[i1]);
              }This is what i have been doing, but with this method count stores the number of words in all files combined, not each individual file, and similarly list1 stores the words in all the files not in each individual file. Does anybody know how i could change this or what datastructures i could use that would allow me to store each file seperately. I would appreciate any help on this topic, Thanks!

    Don't try to construct complicated nested loops, it makes things a
    tangled mess. You want a collection of words per file. You have at least
    zero files. Given a file (or its name), you want to add a word to a collection
    associated with that file, right?
    A Map is perfect for this, i.e. the file's name can be the key and the
    associated value can be the collection of words. A separate simple class
    can be a 'MapManager' (ahem) that controls the access to this master
    map. This MapManager doesn't know anything about what type of
    collection is supposed to store all those words. Maybe you want to
    store just the unique words, maybe you want to store them all, including
    the duplicates etc. etc. The MapManager depends on a CollectionBuilder,
    i.e. a simple thing that is able to deliver a new collection to be associated
    with a file name. Here's the CollectionBuilder:public interface CollectionBuilder {
       Collection getCollection();
    }Because I'm feeling lazy today, I won't design an interface for a MapManager,
    so I simply make it a class; here it is:public class MapManager {
       private Map map= new HashMap(); // file/words association
       CollectionBuilder cb; // delivers Collections per file
       // constructor
       public MapManager(CollectionBuilder cb) { this.cb= cb; }
       // add a word 'word' given a filename 'name'
       public boolean addWord(String name, String word) {
          Collection c= map.get(name);
          if (c == null) { // nothing found for this file
             c= cb.getCollection(); // get a new collection
             map.put(name, c); // and associate it with the filename
          return c.add(word); // return whatever the collection returns
       // get the collection associated with a filename
       public Collection getCollection(String name) { return map.get(name); }
    }... now simply keep adding words from a file to this MapManager and
    retrieve the collections afterwards.
    kind regards,
    Jos

  • Please have a look my problem and suggest us ..................

    I Have iphone 3gs Using in present time, but my iphone can't ios 6 update.
    please how can i update ios 6 in iphone 3gs, plz tell me how can i update ios 6.................   and this iphone not installed any apps.............plz tell me............

    Follow the directions here:
    http://support.apple.com/kb/ht4972
    iOS 6.1.3 will be installed on your phone.

  • Ms7100 - random post problems (please have a looK!)

    Hi,
    I have a msi 7100 k8n sli platinum for a few months now. Initially I had no problems, but for the past few weeks I have frequent problems getting it to boot to post.
    I have the Diagnostic bracket, and it frequently hangs at a memory error problem. Other times it proceeds to hanging at decompress bios to ram, and sometimes even displaying bios info on graphics card. Frequent resetting and powering on (>30 times in a row) cause it to post perfectly and continue. On other times it just boots normally.
    I rarely have stablility problems once I get past post and use my computer for the whole day with no issues. Then if i switch it off for an hour and try to turn it on i have the same problems again.  I updated the bios to 3.8 but no difference and have gone back to 3.1.
    I have disconnected the ide drives, graphics card, usb devices, keyboard, mouse, leaving only my sata harddrive, memory and cpu connected. The only thing I have not removed is my MSI tv anywhere master pci card, but I don't have any problems with it in windows or in my past computer for a few years.  I have tried one stick of memory instead of two, and ran memtest for an hour which found no problems. I have reset the BIOS several times when trying unsuccessfully to boot (power off), but this doesn't help.
    After repeated power cycles (worried about the toll on my harddrive!), it'll just take off and away it goes happily! Power rails seem rock stable, except the Vcore seems to vary a bit 1.38-1.43V approximately, with cool & quiet disabled. Fans are happily spinning and CPU temp is about 32-35C.
    It's starting to drive me really mad, because I don't want to do without a computer for weeks (and my only TV as well!)... any advice appreciated! I don't have compatible system to test RAM, CPU or motherboard... The most frequent error is the memory error, but since the memory controller is on the CPU this doesn't narrow it down much.
    AMD Athlon 64 3000+ 1.8GHz Socket 939,512KB Venice
    MSI K8N SLI Platinum, nForce4 SLI, ATX Socket-939,4xSATA2,GbLAN,Firew,PCI-Ex16
    Western Digital Caviar SE 320GB SATA 8MB 7200RPM
    XFX GeForce 6600GT 128MB GDDR3 PCI-Express, Extreme Gamers Ed., Retail
    Crucial PC3200 BallistiX DDR 1024MB CL2 Kit w/two matched,2.8V,64Meg x 64,184pin
    MSI TV Anywhere Master
    580W Hiperpower Power Supply

    I already gave system specs - 580W hiperpower psu
    i don't think it's the psu, as the voltages are rock stable.... and well within 5% specs. It seems now that the system will no longer boot first time at all, it takes several resets to get it to boot.
    I have a workaround for the moment, until i get another system from my homeplace to keep me going while I RMA the motherboard, CPU and RAM....  I made a circuit that periodically reboots the system, until it POSTS! Never thought I would have to make one of those I can tell you. Every ten seconds or so it resets the motherboard (its tied into the reset switch) and unless it posts (led four goes green in my case is sufficient to guarantee this) it is continually reset. when led four is green then the circuit is disabled and computer boots as normal...

  • Hello please have a look with my problem, i am Confused

    i put two segments of code to replace string with new one. and want to test which one is faster.
    but i found its very interesting if i put one segment in front of another , the first one will be slower than the last one, and vice versa.
    who can tell me the reason?
    int begin = System.currentTimeMillis();
    ... // code segment1 to perform replace
    int end = System.currentTimeMisslis();
    System.out.println(end - begin);
    int begin = System.currentTimeMillis();
    ... // code segment2 to perform replace
    int end = System.currentTimeMisslis();
    System.out.println(end - begin);

    Put the code that you want to benchmark in a loop like this one:
    long t0, nLoops, nMillis = 10000;
    for(nLoops=0, t0 = System.currentTimeMillis();
        System.currentTimeMillis() - t0 < nMillis; )
            for(int i=0; i<100; i++, nLoops++)
                yourCodeHere();
    double dt = (double)(System.currentTimeMillis() - t0)/nLoops;
    System.out.println("Done in : " + dti + "ms");This way you are more acurate.
    Iulian

  • Please have a look, its to do with JLists

    Hey guys I have been searching for the information online and in books but i cant find anything that works.
    I am inserting a name (string) into a JList.
    But before I do I need to search the JList to make sure the record dosent already exist in the list.
    Becuase if it does, i dont want to enter in the name again.
    My problem is searching through the list, becuase JList has no list iterator...and i must use a JList
    For this reason I am trying to do it with loops...Will someone please look at my code and try help me. My problem is that: tn does get a value, but tmp never gets the value of that position in the list.
    String tn = new String("");
                   int j = 0;
                   int y =utwoModel.getSize()+1;
                   int x = uModel.getSize();
                   while (result.next())
                             tn = result.getString("UserResponsible");
                             while(j<y)
                                  for(int f = 0;f==j;f++)
                                       String tmp = new String(uModel.elementAt(j).toString());
                                       System.out.println("tmp:"+tmp);
                                       if(tn.compareTo(tmp)== 0)
                                            uModel.addElement(tn);
                                            break;
                                  j++;
                                  y =utwoModel.getSize();
              

    isStringInList is a simple method to check if a String exists in a JList:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    public class TestList extends JFrame
         JList list;
         public TestList()
              String[] tabs = { "one", "two", "three", "four", "five" };
              list = new JList( tabs );
              getContentPane().add( list );
              System.out.println( "six in list: " + isStringInList( "six" ) );
              System.out.println( "one in list: " + isStringInList( "one" ) );
         public boolean isStringInList(String value)
              for (int i = 0; i < list.getModel().getSize(); i++)
                   Object o = list.getModel().getElementAt(i);
                   if ( o.toString().equals( value ) )
                        return true;
              return false;
         public static void main(String[] args)
              JFrame frame = new TestList();
              frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
              frame.pack();
              frame.setVisible( true );
    }

  • VERY IMPORTANT! PLease have a look!

    HI Champs,
    We have a daily load to Cube through Process Chain,and it has got  2 aggregates on it.
    The steps in the Process Chain is as follows:
    1.Delete Index from CUBE1.
    2.Load data to CUBE1.
    3.Create Index On CUBE1.
    4.Delete Overlapping request From CUBE1.
    5: Roll Up of CUBE1.
    Note: We have kept COMPRESS AFTER ROLLUP SETTING ON in the Aggregate.
    Now The problem is everyday while performing 4th steps i.e.Deleting Overlapping request.
    First it deactivates previouse aggregates and then delete overlapping request and fill the aggregates again in this step only and later on it failed by giving following error: : Error when structuring the index of aggregate 100079 for InfoCube ZCOPA_C05. Each day we have to repeat this failed steps.And 5 steps is no more use as aggregates filled by previous steps only.
    So, can anyone suggest me how to overcome from this probs.
    Please....I m tired by repeating the failed steps..Please
    10zin

    hi,
    hope the load is full load to cube. we have faced the same issue.
    first step before the load deactivate the aggregates using the program, then you can have the dlelete index lod cube delete request and create index then add the activate and fill program for the aggregates.
    rollup and fill in this case going to have same time(full load )
    SAP_AGGREGATES_ACTIVATE_FILL  Activating and Filling the Aggregates of an InfoCube 
    SAP_AGGREGATES_DEACTIVATE  Deactivating the Aggregates of an InfoCube 
    Ramesh

  • Help making a treepage in htmldb- Carl/Scott please have a look

    How do I make a tree page of this data?
    create table Flatfile
    (Pgroup varchar2(30),
    Pclass varchar2(30),
    Manufacturer varchar2(30),
    Article varchar2(30),
    Price Number(6,2));
    Insert into Flatfile Values
    ('Application Software','Database Software','Oracle','Oracle 10G',115);
    Insert into Flatfile Values
    ('Application Software','Database Software','Microsoft','MS SQL Server 2000',200);
    Insert into Flatfile Values
    ('Application Software','Spreadsheet Software','Microsoft','Excel',100);
    Insert into Flatfile Values
    ('Monitor','15"','Acer','Acer 15"" TFT superscreen',199);
    Insert into Flatfile Values
    ('Monitor','15"','Sony','Sony R1500 flat',225);
    Insert into Flatfile Values
    ('Monitor','17"','Philips','Philips Flatscreen',250);
    Insert into Flatfile Values
    ('Monitor','19"','Viewsonic','Viewsonic PLasma Monitor',275);
    Insert into Flatfile Values
    ('Processor','AMD','AMD','FX-55',600);
    Insert into Flatfile Values
    ('Processor','Intel','Intel','P4 3 GHZ',399);
    I tried alot, but simply can't figure it out, please help:
    A fixed level of two or three would be fine. I just don't understand the concept in creating one in htmldb. So:
    Pgroup
    ---Pclass
    Or
    Pgroup
    ---Pclass
    ------Manufacturer
    How must my query be written?
    What do I fill in for these parameters:
    Identify Query - You do not code the query. Instead, you identify the following:
    ID - The primary key column of the table that is then used as the foreign key reference.
    Parent ID - The foreign key column of the table that references the primary key column, thus forming the hierarchy.
    Leaf Node Text - Select the column to display. Although this is a singular selection, you can edit the resulting query after it is defaulted to concatenate in other columns.
    Link Option - If the tree is for informational purposes only, a Link Option is not necessary. If the tree will be used for navigation, select Existing Application Item.
    Sincere,
    Peter
    Message was edited by:
    Pete

    Pete,
    Your example begs the question - if it's too hard for you to navigate it, then it will DEFINITELY be too hard for your users.
    Let's say I was looking for a Monitor on your site. I would have to search the entire top-level of the tree and come up with a list of several nodes which MAY contain what I'm looking for:
    - LCD TV
    - Monitors LCD
    - Monitors CRT
    - Plasma Displays
    - Screens
    - VGA
    Instead, why not have a higher-level category called "Displays", then list each one of these sub-categories under it? Something like this:
    + Displays
      + CRT
        - VGA
      + LCD
        - Monitors
        - TVs
      + PlasmaI think that if you consolidate your tree, it will 1) solve your scrolling problem and 2) make your site more usable.
    Thanks,
    - Scott -

  • 2012 13" MacBook Pro constant rainbow wheel and heating after upgrade to Yosemite. Link Davis can you please have a look?

    Hey guys, I've been trying to save my mac from this constant lag for the past few days to no avail. I've been reading the forums and trying to figure this out myself but I haven't been able to reach a solution so here I am. I've done a clean reinstall. I've run disk permissions and repaired the disk. I've reset PRAM. I don't have FileVault running. I am constantly getting rainbow wheel, even as I'm typing this question out. Applications freeze in their own windows, for example, Chrome will freeze but I will still be able to move over to another application like safari and use safari. It's practically impossible to run any kind media because it stutters constantly. Any and all help is welcome, thanks in advance.
    Problem description:
    Mid 2012 13” Macbook Pro slowed to a crawl after update to Yosemite. I currently have 10.10.1 running. I have tried a clean install, I’ve resetted PRAM, I’ve run disk permission verification and repair. None have helped. I constantly get rainbow wheel and all sorts of media stutters.
    Below are my EtreCheck results. Any and all help is welcome, thanks in advance guys.
    EtreCheck version: 2.1.5 (108)
    Report generated December 19, 2014 at 3:38:07 PM GMT+2
    Click the [Support] links for help with non-Apple products.
    Click the [Details] links for more information about that line.
    Click the [Adware] links for help removing adware.
    Hardware Information: ℹ️
      MacBook Pro Intel Core i7, 15" (Mid 2012)
      MacBook Pro - model: MacBookPro9,2
      1 2.5 GHz Intel Core i5 CPU: 2-core
      4 GB RAM Upgradeable
      BANK 0/DIMM0
      2 GB DDR3 1600 MHz ok
      BANK 1/DIMM0
      2 GB DDR3 1600 MHz ok
      Bluetooth: Good - Handoff/Airdrop2 supported
      Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
      Intel HD Graphics 4000
      Color LCD 1280 x 800
    System Software: ℹ️
      OS X 10.10.1 (14B25) - Uptime: 0:21:9
    Disk Information: ℹ️
      APPLE HDD TOSHIBA MK5065GSXF disk0 : (500.11 GB)
      EFI (disk0s1) <not mounted> : 210 MB
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
      SamiEfes HD (disk1) / : 498.88 GB (402.53 GB free)
      Core Storage: disk0s2 499.25 GB Online
      MATSHITADVD-R   UJ-8A8 
    USB Information: ℹ️
      Apple Inc. FaceTime HD Camera (Built-in)
      Apple Computer, Inc. IR Receiver
      Apple Inc. BRCM20702 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Inc. Apple Internal Keyboard / Trackpad
    Thunderbolt Information: ℹ️
      Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
      Mac App Store and identified developers
    Launch Daemons: ℹ️
      [loaded] com.adobe.fpsaud.plist [Support]
    User Launch Agents: ℹ️
      [loaded] com.google.keystone.agent.plist [Support]
    User Login Items: ℹ️
      None
    Internet Plug-ins: ℹ️
      FlashPlayer-10.6: Version: 16.0.0.235 - SDK 10.6 [Support]
      Flash Player: Version: 16.0.0.235 - SDK 10.6 [Support]
      QuickTime Plugin: Version: 7.7.3
      Default Browser: Version: 600 - SDK 10.10
    3rd Party Preference Panes: ℹ️
      Flash Player  [Support]
    Time Machine: ℹ️
      Auto backup: YES
      Volumes being backed up:
      SamiEfes HD: Disk size: 498.88 GB Disk used: 96.35 GB
      Destinations:
      BACKUP [Local]
      Total size: 500.10 GB
      Total number of backups: 8
      Oldest backup: 2014-12-17 03:32:23 +0000
      Last backup: 2014-12-18 23:14:04 +0000
      Size of backup disk: Adequate
      Backup size 500.10 GB > (Disk used 96.35 GB X 3)
    Top Processes by CPU: ℹ️
          4% Google Chrome
          2% WindowServer
          0% AppleSpell
          0% opendirectoryd
    Top Processes by Memory: ℹ️
      309 MB Google Chrome Helper
      172 MB spindump
      163 MB Google Chrome
      52 MB mds_stores
      52 MB WindowServer
    Virtual Memory Information: ℹ️
      1.19 GB Free RAM
      1.80 GB Active RAM
      605 MB Inactive RAM
      698 MB Wired RAM
      1.20 GB Page-ins
      0 B Page-outs
    Diagnostics Information: ℹ️
      Dec 19, 2014, 03:18:52 PM Self test - passed
    MacBook Pro, OS X Yosemite (10.10.1)
    It's been a few days since my last post, i've tried uninstalling chrome and adobe flash but my mac is the same. My problems have actually grown. Now my mac is heating up even when the lid is down and the computer is sleeping. The battery has also begun to drain very quickly. Any suggestions? solutions? Below is my current etrecheck result, the one above was when this first started.
    EtreCheck version: 2.1.5 (108)
    Report generated December 21, 2014 at 10:19:28 PM GMT+2
    Click the [Support] links for help with non-Apple products.
    Click the [Details] links for more information about that line.
    Click the [Adware] links for help removing adware.
    Hardware Information: ℹ️
      MacBook Pro Intel Core i7, 15" (Mid 2012)
      MacBook Pro - model: MacBookPro9,2
      1 2.5 GHz Intel Core i5 CPU: 2-core
      4 GB RAM Upgradeable
      BANK 0/DIMM0
      2 GB DDR3 1600 MHz ok
      BANK 1/DIMM0
      2 GB DDR3 1600 MHz ok
      Bluetooth: Good - Handoff/Airdrop2 supported
      Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
      Intel HD Graphics 4000
      Color LCD 1280 x 800
    System Software: ℹ️
      OS X 10.10.1 (14B25) - Uptime: 0:31:36
    Disk Information: ℹ️
      APPLE HDD TOSHIBA MK5065GSXF disk0 : (500.11 GB)
      EFI (disk0s1) <not mounted> : 210 MB
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
      SamiEfes HD (disk1) / : 498.88 GB (422.36 GB free)
      Core Storage: disk0s2 499.25 GB Online
      MATSHITADVD-R   UJ-8A8 
    USB Information: ℹ️
      Apple Inc. iPhone
      Apple Inc. Apple Internal Keyboard / Trackpad
      Apple Computer, Inc. IR Receiver
      Apple Inc. BRCM20702 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Inc. FaceTime HD Camera (Built-in)
    Thunderbolt Information: ℹ️
      Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
      Mac App Store and identified developers
    User Launch Agents: ℹ️
      [loaded] com.google.keystone.agent.plist [Support]
    User Login Items: ℹ️
      None
    Internet Plug-ins: ℹ️
      Default Browser: Version: 600 - SDK 10.10
      QuickTime Plugin: Version: 7.7.3
    3rd Party Preference Panes: ℹ️
      None
    Time Machine: ℹ️
      Auto backup: YES
      Volumes being backed up:
      SamiEfes HD: Disk size: 498.88 GB Disk used: 76.52 GB
      Destinations:
      BACKUP [Local]
      Total size: 500.10 GB
      Total number of backups: 6
      Oldest backup: 2014-12-17 03:32:23 +0000
      Last backup: 2014-12-19 21:11:44 +0000
      Size of backup disk: Adequate
      Backup size 500.10 GB > (Disk used 76.52 GB X 3)
    Top Processes by CPU: ℹ️
          4% WindowServer
          0% helpd
          0% AppleSpell
          0% launchd
          0% coreduetd
    Top Processes by Memory: ℹ️
      295 MB com.apple.WebKit.WebContent
      159 MB Safari
      73 MB mds_stores
      60 MB WindowServer
      43 MB com.apple.WebKit.Networking
    Virtual Memory Information: ℹ️
      1.49 GB Free RAM
      1.80 GB Active RAM
      343 MB Inactive RAM
      664 MB Wired RAM
      812 MB Page-ins
      0 B Page-outs
    Diagnostics Information: ℹ️
      Dec 21, 2014, 09:48:26 PM Self test - passed
      Dec 20, 2014, 01:03:45 AM /Library/Logs/DiagnosticReports/Kernel_2014-12-20-010345_[redacted].panic [Details]

    This is what I got when I ran Linc's code on terminal:
    Start time: 09:30:23 12/25/14
    Model Identifier: MacBookPro9,2
    System Version: OS X 10.10.1 (14B25)
    Kernel Version: Darwin 14.0.0
    Time since boot: 30 minutes
    Diagnostic reports
       2014-12-17 mds_stores crash x2
       2014-12-20 Kernel panic
       2014-12-23 fontd crash x7
    Shutdowns
       Dec 20 15:30:57 cause: -60
       Dec 21 21:51:06 cause: -60
       Dec 22 15:00:42 cause: -60
       Dec 22 21:28:26 cause: -60
       Dec 23 01:14:12 cause: -60
       Dec 23 13:20:50 cause: -60
       Dec 23 13:34:25 cause: -60
    Log
       Dec 23 16:21:35 process WindowServer[129] caught causing excessive wakeups. EXC_RESOURCE supressed due to audio playback
       Dec 23 18:27:25 PM notification timeout (pid 67, loginwindow)
       Dec 23 18:27:25 PM notification timeout (pid 67, loginwindow)
       Dec 23 18:27:25 PM notification timeout (pid 67, loginwindow)
       Dec 23 20:21:37 pci pause: SDXC
       Dec 23 21:43:38 PM notification timeout (pid 42, coreduetd)
       Dec 23 23:32:25 pci pause: SDXC
       Dec 23 23:48:42 pci pause: SDXC
       Dec 23 23:51:27 SerialATAPI device reconfiguration did not complete successfully.  (failedCommandInfo = 0x1)
       Dec 24 00:01:15 com.apple.xpc.launchd.domain.pid.BKAgentService.633: Path not allowed in target domain: type = pid, path = /Library/Frameworks/iTunesLibrary.framework/Versions/A/XPCServices/com.apple.iT unesLibraryService.xpc error = 147: The specified service did not ship in the requestor's bundle, origin = /System/Library/PrivateFrameworks/BookKit.framework/Versions/A/XPCServices/com. apple.BKAgentService.xpc
       Dec 24 00:01:15 com.apple.xpc.launchd.domain.pid.BKAgentService.633: Path not allowed in target domain: type = pid, path = /Library/Frameworks/iTunesLibrary.framework/Versions/A/XPCServices/com.apple.iT unesLibraryService.xpc error = 147: The specified service did not ship in the requestor's bundle, origin = /System/Library/PrivateFrameworks/BookKit.framework/Versions/A/XPCServices/com. apple.BKAgentService.xpc
       Dec 24 00:01:44 com.apple.xpc.launchd.domain.pid.MediaLibraryService.642: Path not allowed in target domain: type = pid, path = /Library/Frameworks/iTunesLibrary.framework/Versions/A/XPCServices/com.apple.iT unesLibraryService.xpc error = 147: The specified service did not ship in the requestor's bundle, origin = /System/Library/Frameworks/MediaLibrary.framework/Versions/A/XPCServices/com.ap ple.MediaLibraryService.xpc
       Dec 24 00:01:44 com.apple.xpc.launchd.domain.pid.MediaLibraryService.642: Path not allowed in target domain: type = pid, path = /Library/Frameworks/iTunesLibrary.framework/Versions/A/XPCServices/com.apple.iT unesLibraryService.xpc error = 147: The specified service did not ship in the requestor's bundle, origin = /System/Library/Frameworks/MediaLibrary.framework/Versions/A/XPCServices/com.ap ple.MediaLibraryService.xpc
       Dec 24 01:27:21 PM notification timeout (pid 27, powerd)
       Dec 24 01:29:24 pci pause: SDXC
       Dec 24 18:23:40 process com.apple.WebKit[285] caught causing excessive wakeups. Observed wakeups rate (per sec): 258; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 229247
       Dec 24 18:48:20 wl0: Beacon Loss Event, last RSSI[-77]
       Dec 24 19:00:24 PM notification timeout (pid 67, loginwindow)
       Dec 24 19:00:24 PM notification timeout (pid 67, loginwindow)
       Dec 24 19:00:24 PM notification timeout (pid 67, loginwindow)
       Dec 24 19:54:42 pci pause: SDXC
       Dec 24 23:25:25 PM notification timeout (pid 27, powerd)
       Dec 25 02:29:44 pci pause: SDXC
       Dec 25 03:01:45 PM notification timeout (pid 152, VDCAssistant)
       Dec 25 03:02:15 PM notification timeout (pid 27, powerd)
    Agents
       com.apple.PTPCamera.45472.UUID
       com.google.keystone.user.agent
       com.apple.AirPortBaseStationAgent
    Bundles
       /Users/USER/Downloads/EtreCheck.app
       - com.etresoft.EtreCheck
       /Users/USER/Library/Address Book Plug-Ins/SkypeABDialer.bundle
       - com.skype.skypeabdialer
       /Users/USER/Library/Address Book Plug-Ins/SkypeABSMS.bundle
       - com.skype.skypeabsms
       /Users/USER/Library/Application Support/Google/Chrome/Default/Web Applications/_crx_aohghmighlieiainnegkcijnfilokake/Default aohghmighlieiainnegkcijnfilokake.app
       - com.google.Chrome.app.Default-aohghmighlieiainnegkcijnfilokake-internal
       /Users/USER/Library/Application Support/Google/Chrome/Default/Web Applications/_crx_apdfllckaahabafndbhieahigkjlhalf/Default apdfllckaahabafndbhieahigkjlhalf.app
       - com.google.Chrome.app.Default-apdfllckaahabafndbhieahigkjlhalf-internal
       /Users/USER/Library/Application Support/Google/Chrome/Default/Web Applications/_crx_blpcfgokakmgnkcojhhkbfbldkacnbeo/Default blpcfgokakmgnkcojhhkbfbldkacnbeo.app
       - com.google.Chrome.app.Default-blpcfgokakmgnkcojhhkbfbldkacnbeo-internal
       /Users/USER/Library/Application Support/Google/Chrome/Default/Web Applications/_crx_coobgpohoikkiipiblmjeljniedjpjpf/Default coobgpohoikkiipiblmjeljniedjpjpf.app
       - com.google.Chrome.app.Default-coobgpohoikkiipiblmjeljniedjpjpf-internal
       /Users/USER/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle
       - com.google.Keystone
    dylibs
       /Users/USER/Library/Application Support/Google/Chrome/WidevineCDM/1.4.6.703/_platform_specific/mac_x64/libwidev inecdm.dylib
    Contents of Library/LaunchAgents/com.google.keystone.agent.plist (checksum 3747762641)
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
        <key>Label</key>
        <string>com.google.keystone.user.agent</string>
        <key>LimitLoadToSessionType</key>
        <string>Aqua</string>
        <key>ProgramArguments</key>
        <array>
         <string>/Users/USER/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bu ndle/Contents/Resources/GoogleSoftwareUpdateAgent.app/Contents/MacOS/GoogleSoftw areUpdateAgent</string>
         <string>-runMode</string>
         <string>ifneeded</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        <key>StartInterval</key>
        <integer>3523</integer>
        <key>StandardErrorPath</key>
        <string>/dev/null</string>
        <key>StandardOutPath</key>
        <string>/dev/null</string>
       </dict>
       </plist>
    User login items
       iTunesHelper
       - /Applications/iTunes.app/Contents/MacOS/iTunesHelper.app
    Restricted files: 53
    Lockfiles: 1
    Elapsed time (s): 1037

Maybe you are looking for

  • Cannot delete mail from ipod touch & "syncing error"

    I get this error message "unable to move message" and "the message could not be moved to the mailbox trash".  When I tap on settings and mail,contacts,calendars I get "accounts are currently syncing.   Please help.  

  • Saving the file to a particular location!!!

    Hi,       I have to upload a file and the file uploaded should be saved to aparticular location. For Example if i upload a file named 'eg.jpeg.' , how can i save this file to a particular location in the system? Regards, Shiny

  • ABAP code is not shown in SQ01

    Hi, can somebody help us to understand why ABAP code inserted in a query is shown in SE38 but not in SQ01? The query was probably created with Quickviewer. How can we correct this? Thank you.

  • Mainstage CPU spikes

    I have MainStage 2 and Lion running on my MacBook Pro . . . plenty of memory. It's a newer MBP. Anyway, I still get the red CPU spikes after I installed Pianoteq recently. I noticed in Activity monitor I max out at 50-60% CPU usage. However, in MainS

  • Repository package building script

    I've been using a script to build all the packages for my repo for some time, but it was pretty hacked together, so I decided to rewrite it today. I made it so that it works with both makepkg and versionpkg. The assumption is that you make a director