Why is tableView titleForFooterInSection is called so many times?

Hi,
I have a table and I am noticing that for every new row which shows up during scrolling operation (one call to
tableView cellForRowAtIndexPath
there are 27 (!!!) calls to
tableView titleForFooterInSection
Why so many?
While application seems to work fine, I am concern about performance.
thanks

Hi Yanakin,
Welcome to Apple Discussions
Why aren't songs with the same album art grouped together?
Regards,
Colin R.

Similar Messages

  • A function in a subquery is call too many times.

    Dear all,
    I'm struggling to understand why a function in a subquery is called too many times.
    Let me explain with an example:
    create or replace function all_emp (v_deptno in number)
    return varchar2
    as
    v_all_emp varchar2(2000);
    begin
        dbms_output.put_line ('function called');
        for i in (select * from emp where deptno = v_deptno) loop
            v_all_emp := v_all_emp || i.ename || '; ';
        end loop;
    return v_all_emp;
    end;
    -- running just the subquery, calls the function all_emp only 4 times (once for each row in table dept)
    select
        d.deptno,
        d.dname,
        all_emp(d.deptno) f_all_emp
        from dept d;
    -- running the whole query, using regexp to split the value of f_all_emp into separate fields, causes that function all_emp is called 28 times, thus 6 times for each row!!
    select tmp.*,
    regexp_substr(f_all_emp,'[^;]*',1,1) emp1,
    regexp_substr(f_all_emp,'[^;]*',1,3) emp2,
    regexp_substr(f_all_emp,'[^;]*',1,5) emp3,
    regexp_substr(f_all_emp,'[^;]*',1,7) emp4,
    regexp_substr(f_all_emp,'[^;]*',1,9) emp5,
    regexp_substr(f_all_emp,'[^;]*',1,11) emp6
    from
        (select
        d.deptno,
        d.dname,
        all_emp(d.deptno) f_all_emp
        from dept d) tmp
    ;I don't understand why Oracle is calling my function 28 times in this example, 4 times should be sufficient.
    Is there a way to force that the subquery is materialized first?
    Little background:
    Above function / query is of course a simple example.
    Actually I have pretty complex function, embedding in a subquery.
    The subquery is already slow (2 min to run), but when I want to split the result of the funciton in multiple (approx 20) fields it's over an hour due to above described behaviour.

    Optimizer merges in-line view and query results in:
    select  d.deptno,
            d.dname,
            all_emp(d.deptno) f_all_emp
            regexp_substr(all_emp(d.deptno),'[^;]*',1,1) emp1,
            regexp_substr(all_emp(d.deptno),'[^;]*',1,3) emp2,
            regexp_substr(all_emp(d.deptno),'[^;]*',1,5) emp3,
            regexp_substr(all_emp(d.deptno),'[^;]*',1,7) emp4,
            regexp_substr(all_emp(d.deptno),'[^;]*',1,9) emp5,
            regexp_substr(all_emp(d.deptno),'[^;]*',1,11) emp6
      from  dept d
    /That's why function is called 28 times. We can see it from explain plan:
    SQL> explain plan for
      2  select tmp.*,
      3          regexp_substr(f_all_emp,'[^;]*',1,1) emp1,
      4          regexp_substr(f_all_emp,'[^;]*',1,3) emp2,
      5          regexp_substr(f_all_emp,'[^;]*',1,5) emp3,
      6          regexp_substr(f_all_emp,'[^;]*',1,7) emp4,
      7          regexp_substr(f_all_emp,'[^;]*',1,9) emp5,
      8          regexp_substr(f_all_emp,'[^;]*',1,11) emp6
      9    from  (
    10           select  d.deptno,
    11                   d.dname,
    12                   all_emp(d.deptno) f_all_emp
    13             from  dept d
    14          ) tmp
    15  /
    Explained.
    SQL> @?\rdbms\admin\utlxpls
    PLAN_TABLE_OUTPUT
    Plan hash value: 3383998547
    | Id  | Operation         | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |      |     4 |    52 |     3   (0)| 00:00:01 |
    |   1 |  TABLE ACCESS FULL| DEPT |     4 |    52 |     3   (0)| 00:00:01 |
    8 rows selected.
    SQL>  If we use NO_MERGE hint:
    SQL> select  /*+ NO_MERGE(tmp) */
      2          tmp.*,
      3          regexp_substr(f_all_emp,'[^;]*',1,1) emp1,
      4          regexp_substr(f_all_emp,'[^;]*',1,3) emp2,
      5          regexp_substr(f_all_emp,'[^;]*',1,5) emp3,
      6          regexp_substr(f_all_emp,'[^;]*',1,7) emp4,
      7          regexp_substr(f_all_emp,'[^;]*',1,9) emp5,
      8          regexp_substr(f_all_emp,'[^;]*',1,11) emp6
      9    from  (
    10           select  d.deptno,
    11                   d.dname,
    12                   all_emp(d.deptno) f_all_emp
    13             from  dept d
    14          ) tmp
    15  /
        DEPTNO DNAME          F_ALL_EMP  EMP1       EMP2       EMP3       EMP4       EMP5       EMP6
            10 ACCOUNTING     CLARK; KIN CLARK       KING       MILLER
                              G; MILLER;
            20 RESEARCH       SMITH; JON SMITH       JONES      SCOTT      ADAMS      FORD
                              ES; SCOTT;
                               ADAMS; FO
                              RD;
            30 SALES          ALLEN; WAR ALLEN       WARD       MARTIN     BLAKE      TURNER     JAMES
                              D; MARTIN;
        DEPTNO DNAME          F_ALL_EMP  EMP1       EMP2       EMP3       EMP4       EMP5       EMP6
                               BLAKE; TU
                              RNER; JAME
                              S;
            40 OPERATIONS
    function called
    function called
    function called
    function called
    function called
    function called
    SQL> explain plan for
      2  select  /*+ NO_MERGE(tmp) */
      3          tmp.*,
      4          regexp_substr(f_all_emp,'[^;]*',1,1) emp1,
      5          regexp_substr(f_all_emp,'[^;]*',1,3) emp2,
      6          regexp_substr(f_all_emp,'[^;]*',1,5) emp3,
      7          regexp_substr(f_all_emp,'[^;]*',1,7) emp4,
      8          regexp_substr(f_all_emp,'[^;]*',1,9) emp5,
      9          regexp_substr(f_all_emp,'[^;]*',1,11) emp6
    10    from  (
    11           select  d.deptno,
    12                   d.dname,
    13                   all_emp(d.deptno) f_all_emp
    14             from  dept d
    15          ) tmp
    16  /
    Explained.
    SQL> @?\rdbms\admin\utlxpls
    PLAN_TABLE_OUTPUT
    Plan hash value: 2317111044
    | Id  | Operation          | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT   |      |     4 |  8096 |     3   (0)| 00:00:01 |
    |   1 |  VIEW              |      |     4 |  8096 |     3   (0)| 00:00:01 |
    |   2 |   TABLE ACCESS FULL| DEPT |     4 |    52 |     3   (0)| 00:00:01 |
    9 rows selected.
    SQL> Not sure why function is executed 6 and not 4 times. What we actually want is to materialize in-line view:
    SQL> with tmp as (
      2               select  /*+ materialize */
      3                       d.deptno,
      4                       d.dname,
      5                       all_emp(d.deptno) f_all_emp
      6                 from  dept d
      7              )
      8  select  tmp.*,
      9          regexp_substr(f_all_emp,'[^;]*',1,1) emp1,
    10          regexp_substr(f_all_emp,'[^;]*',1,3) emp2,
    11          regexp_substr(f_all_emp,'[^;]*',1,5) emp3,
    12          regexp_substr(f_all_emp,'[^;]*',1,7) emp4,
    13          regexp_substr(f_all_emp,'[^;]*',1,9) emp5,
    14          regexp_substr(f_all_emp,'[^;]*',1,11) emp6
    15    from  tmp
    16  /
        DEPTNO DNAME          F_ALL_EMP  EMP1       EMP2       EMP3       EMP4       EMP5       EMP6
            10 ACCOUNTING     CLARK; KIN CLARK       KING       MILLER
                              G; MILLER;
            20 RESEARCH       SMITH; JON SMITH       JONES      SCOTT      ADAMS      FORD
                              ES; SCOTT;
                               ADAMS; FO
                              RD;
            30 SALES          ALLEN; WAR ALLEN       WARD       MARTIN     BLAKE      TURNER     JAMES
                              D; MARTIN;
        DEPTNO DNAME          F_ALL_EMP  EMP1       EMP2       EMP3       EMP4       EMP5       EMP6
                               BLAKE; TU
                              RNER; JAME
                              S;
            40 OPERATIONS
    function called
    function called
    function called
    function called
    SQL> explain plan for
      2  with tmp as (
      3               select  /*+ materialize */
      4                       d.deptno,
      5                       d.dname,
      6                       all_emp(d.deptno) f_all_emp
      7                 from  dept d
      8              )
      9  select  tmp.*,
    10          regexp_substr(f_all_emp,'[^;]*',1,1) emp1,
    11          regexp_substr(f_all_emp,'[^;]*',1,3) emp2,
    12          regexp_substr(f_all_emp,'[^;]*',1,5) emp3,
    13          regexp_substr(f_all_emp,'[^;]*',1,7) emp4,
    14          regexp_substr(f_all_emp,'[^;]*',1,9) emp5,
    15          regexp_substr(f_all_emp,'[^;]*',1,11) emp6
    16    from  tmp
    17  /
    Explained.
    SQL> @?\rdbms\admin\utlxpls
    PLAN_TABLE_OUTPUT
    Plan hash value: 634594723
    | Id  | Operation                  | Name                       | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT           |                            |     4 |  8096 |     5   (0)| 00:00:01 |
    |   1 |  TEMP TABLE TRANSFORMATION |                            |       |       |            |          |
    |   2 |   LOAD AS SELECT           |                            |       |       |            |          |
    |   3 |    TABLE ACCESS FULL       | DEPT                       |     4 |    52 |     3   (0)| 00:00:01 |
    |   4 |   VIEW                     |                            |     4 |  8096 |     2   (0)| 00:00:01 |
    |   5 |    TABLE ACCESS FULL       | SYS_TEMP_0FD9D6603_20255AE |     4 |    52 |     2   (0)| 00:00:01 |
    PLAN_TABLE_OUTPUT
    12 rows selected.
    SQL> However, hint MATERIALIZE is an undocumented hint.
    SY.

  • GetNameList function got called so many times

    Hello.. I have a question. Could some one please answer me?
    Suppose, I have two web pages. First one has only a link. If you click it, it will send you to second page, which only has h:dataTable like this...
    <h:dataTable value="#{mybean.nameList}">
    </h:dataTable>
    getNameList() method returns the list of names. I put the system.out.println() method in the getNameList() method and found out that my getNameList() method get called more than one time for just a single page refresh.
    Anyone knows why this is happening like that?

    That is the nature of the beast. Each time the component needs the list, it accesses it from the EL expression. It you want to avoid doing an expensive operation multiple times, you will have to code your getter accordingly.

  • Type's constructor function is called as many times as there are attributes

    The constructor method for object types is being called multiple times by SQL when using the constructor in an SQL insert statement. For example, if I create an object type called TEST_O, and an object table TEST_OT based on type TEST_O, and then insert into TEST_OT using the constructor:
    INSERT INTO TEST_OT VALUES ( TEST_O( TEST_ID_SEQ.nextval, 'Test', USER, SYSDATE ) );
    The contructor is actually called 5 times by SQL. Here's a sample type, table, type body, and anonymous PL/SQL procedure that reproduces this error:
    create type TEST_O as object (
    test_o.tps
    by Donald Bales on 3/1/2007
    Type TEST_O's specification:
    A type for debugging object type problems
    test_id number,
    test varchar2(30),
    insert_user varchar2(30),
    insert_date date,
    -- Get the next primary key value
    STATIC FUNCTION get_id
    return number,
    -- A NULL values constructor
    CONSTRUCTOR FUNCTION test_o(
    self in out nocopy test_o)
    return self as result,
    -- A convenience constructor
    CONSTRUCTOR FUNCTION test_o(
    self in out nocopy test_o,
    aiv_test in varchar2)
    return self as result,
    -- Override the defaul constructor
    CONSTRUCTOR FUNCTION test_o(
    self in out nocopy test_o,
    test_id in number,
    test in varchar2,
    insert_user in varchar2,
    insert_date in date)
    return self as result,
    -- Write to the debug object table
    STATIC PROCEDURE set_test(
    aiv_test in varchar2),
    -- A map function
    MAP MEMBER FUNCTION to_map
    return number
    ) not final;
    grant all on TEST_O to PUBLIC;
    ========================
    create table TEST_OT of TEST_O
    tablespace USERS pctfree 0
    storage (initial 1M next 1M pctincrease 0);
    alter table TEST_OT add
    constraint TEST_OT_PK
    primary key (
    test_id )
    using index
    tablespace USERS pctfree 0
    storage (initial 1M next 1M pctincrease 0);
    drop sequence TEST_ID_SEQ;
    create sequence TEST_ID_SEQ
    start with 1 order;
    analyze table TEST_OT estimate statistics;
    grant all on TEST_OT to PUBLIC;
    ============================
    create or replace type body TEST_O as
    test_o.tpb
    by Donald Bales on 3/1/2007
    Type TEST_O's implementation
    A type for logging test information
    STATIC FUNCTION get_id
    return number is
    n_test_id number;
    begin
    select TEST_ID_SEQ.nextval
    into n_test_id
    from SYS.DUAL;
    return n_test_id;
    end get_id;
    CONSTRUCTOR FUNCTION test_o(
    self in out nocopy test_o)
    return self as result is
    begin
    SYS.DBMS_OUTPUT.put_line('test_o(zero param)');
    self.test_id := NULL;
    self.test := NULL;
    self.insert_user := NULL;
    self.insert_date := NULL;
    return;
    end test_o;
    CONSTRUCTOR FUNCTION test_o(
    self in out nocopy test_o,
    aiv_test in varchar2)
    return self as result is
    begin
    SYS.DBMS_OUTPUT.put_line('test_o(one param)');
    self.test_id := TEST_O.get_id();
    self.test := aiv_test;
    self.insert_user := USER;
    self.insert_date := SYSDATE;
    return;
    end test_o;
    -- Override the default constructor
    CONSTRUCTOR FUNCTION test_o(
    self in out nocopy test_o,
    test_id in number,
    test in varchar2,
    insert_user in varchar2,
    insert_date in date)
    return self as result is
    begin
    SYS.DBMS_OUTPUT.put_line('test_o(four params)');
    self.test_id := test_id;
    self.test := test;
    self.insert_user := insert_user;
    self.insert_date := insert_date;
    return;
    end test_o;
    STATIC PROCEDURE set_test(
    aiv_test in varchar2) is
    begin
    insert into TEST_OT values ( TEST_O(aiv_test) );
    end set_test;
    MAP MEMBER FUNCTION to_map
    return number is
    begin
    return test_id;
    end to_map;
    end;
    ====================
    begin
    TEST_O.set_test('Before loop');
    for i in 1..10 loop
    TEST_O.set_test('Testing loop '||to_char(i));
    end loop;
    TEST_O.set_test('After loop');
    commit;
    end;
    ==========================
    Which produces the following output:
    SQL> @test_o
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    test_o(one param)
    PL/SQL procedure successfully completed.
    SQL> select * from test_ot order by 1;
    TEST_ID TEST INSERT_USER INSERT_DATE
    2 Before loop SCOTT 20070301 173715
    7 Testing loop 1 SCOTT 20070301 173715
    12 Testing loop 2 SCOTT 20070301 173715
    17 Testing loop 3 SCOTT 20070301 173715
    22 Testing loop 4 SCOTT 20070301 173715
    27 Testing loop 5 SCOTT 20070301 173715
    32 Testing loop 6 SCOTT 20070301 173715
    37 Testing loop 7 SCOTT 20070301 173715
    42 Testing loop 8 SCOTT 20070301 173715
    47 Testing loop 9 SCOTT 20070301 173715
    52 Testing loop 10 SCOTT 20070301 173715
    57 After loop SCOTT 20070301 173715
    12 rows selected.
    Is it possible to get an Oracle employee to look into this problem?
    Sincerely,
    Don Bales

    Here some sample JavaScript code that might help you resolve the issue.
    var curPageNum = xfa.host.currentPage + 1; // this is index
    // based starts with 0
    if (curPageNum == 1) {
    // run your current script here then it will run only one
    //time on page 1

  • How would i reset my iPod without turning off my iCloud and "find my iPod" its been almost a year and i can't do anything about it neither can Apple and i have called them many times... should i just not use it ever?

    my iPod says that i need the iCloud password and i already had put it in and it is saying it is wrong... so I'm trying to totally reset my iPod touch but i have to turn off the "find my ipod" and i have to sign into my iCloud so i was wondering how to reset it... Is it possible or should I just throw it away?

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Forgot passcode or device disabled
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:                                                             
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: Back up and restore your iOS device with iCloud or iTunes       
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:           
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        
    If problem what happens or does not happen and when in the instructions? When you successfully get the iPod in recovery mode and connect to computer iTunes should say it found an iPod in recovery mode.

  • NOKIA6210 NAVIGATOR:HOW MANY TIMES HAS BEEN RECEIV...

    Hello
    Is urgent, please.
    In other nokia models I could see - at received calls- how many times a single number( the same number) has called. for example:le´ts suppose the number 123( a friend of you) called you 3 times yesterday. How could you see these 3 calls with their respective hours with the 6210 navigator?
    Thank you very much for your help.

    You can see that in the log application.
    Not the call log that you get by pressing the green key but the full log accessible through the phone's menus.
    Was this post helpful? If so, please click on the white "Kudos!" star below. Thank you!

  • How many times can i call the start()

    Hi All:
    I would like to know how many time you can actually call the start(),
    cuz my app is doing some really strange things,
    here is a fragament of my code:
    private void spawnThreads()
    ListIterator it = _vWorker.listIterator();
    while ( it.hasNext() ) {
    ClientWorker client_worker = (ClientWorker) it.next();
    client_worker.start();
    ClientWorker is another Thread, and in the run() of the ClientWorker, I have
    public void run() {
    Runtime rt = Runtime.getRuntime();
         try {
         // Start the timer
         Process child = rt.exec(_fileName);
         // gobble any error or output streams
    StreamGobbler errorGobbler = new
    StreamGobbler(child.getErrorStream(), "ERROR");
    StreamGobbler outputGobbler = new
    StreamGobbler(child.getInputStream(), "OUTPUT");
    errorGobbler.start();
    outputGobbler.start();
    child.waitFor();
                                            } catch (IOException e) {
                   System.err.println("IOException starting process!");
              } catch (InterruptedException e) {
                   System.err.println("Interrupted waiting for process!");
    I have a couple of cmd files to execute, so This spawnThreads() will be called a couple of times,and the funny thing is , it will execute the first cmd files, and that is it, it won't execute the 2nd or the 3rd cmd files, it will start the thread, but then the run()won't actually gets invoked,,,so I am just wondering if anyone of you has encountered this problem, perhaps you could lend me some insight on this?
    thanks,

    Yes, you can run the start() of a Thread more than once,
    here is my Test App,
    public static void main(String[] args) throws Exception {
    Vector vec = new Vector();
    for (int i=0;i<4;i++){
    ClientThread ct = new ClientThread();
    vec.add(ct);
    ListIterator it = vec.listIterator();
    while(it.hasNext()){
    ClientThread ct = (ClientThread)it.next();
    ct.start();
    and as you have already guessed it the run() of ClientThread simply does system.out.println()
    and here is the output
    run started
    run started
    run started
    run started
    so..yeah..I don't really have any idea what is happening to my app and why it is not executing any cmd files after executing the very first cmd file

  • Do you know why oracle queries many times sys.props$ for BACK_END_DB

    I noticed that oracle executes the following query too many times.
    select p.value$, lengthb(p.value$)
    from
    sys.props$ p where p.name = 'BACK_END_DB'
    Oracle 9i DB
    This query is not executed into a form, report, package or procedure.
    Question is:
    Do you know why oracle queries many times sys.props$ for BACK_END_DB?
    or how can we avoid it?
    Regards
    Marcos Galeana

    Hi,
    Internal table sys.props$ contains data for some oracle parameter/variables. Oracle makes internal calls to its internal tables for many fornt end SQL statements (recursive queries). So do not worry about those internals calls.
    Regards

  • Why does my iMac appear many times in my network and labelled 1,2,3, etc

    why does my iMac appear many times in my network and labelled 1,2,3, etc

    Ok, I solved it.
    I followed this steps:
    1- Turn Off Wi-Fi from the Wireless menu item
    2- From the OS X Finder, hit Command+Shift+G and enter the following path:
    /Library/Preferences/SystemConfiguration/
    3- Within this folder locate and select the following files:
    com.apple.airport.preferences.plist
    
com.apple.network.identification.plist
    com.apple.wifi.message-tracer.plist

    NetworkInterfaces.plist

    preferences.plist
    4- Move all of these files into a folder on your Desktop called ‘wifi backups’ or something similar – we’re backing these up just in case you break something but if you regularly backup your Mac you can just delete the files instead since you could restore from Time Machine if needed.
    5- Reboot the Mac
    6- Turn ON WI-Fi from the wireless network menu again

  • Bug: method beginning by "get" are called many times

    Hi,
    I have created a managed bean, and in this class, I have a method beginning by "get" like getchPasswordRendered.
    I trace something with System.out.println in this method, and when I call it to set dynamically a composant property like rendered i have this trace many times.
    It's called 2 times to set rendered property to FALSE, 5 times to set it to TRUE.
    Can you explain to me why?
    Thanks.

    Since you did not mention which UI technology you are takling about I'll assume faces.
    In this case your method get called at different times in the jsf (or adf) life cycle. To investigate this further you can use a PhaseListener and print out a message in each phase and see in which phase your getter is called.
    Timo

  • Why can't I record calls with the iPhone?

    Hi,
    Why can't I record calls with the iPhone? Every other mobile can! That's quite pitty ...!

    Nonsense. There are many places where you are not allowed to take photos or video but those functions are included. Apple assumes no responsibility for them. Apple would not be responsible for managing the recordings on the phone either. It's most likely because Apple is located in California and in THAT particular state, both parties have to be informed of the recording. Most states do not require that. If Apple were located in another state (e.g. Alaska) there would be no restriction.
    All the apps that record calls store those recordings in their servers and charge you a fee. It would be preferable to have the calls stored only on the phone so no one else could access them. The iPhone has the technological capability; we have just been restricted from having this functionality without paying a 3rd party.

  • Why does my safari browser frequently gives me a gray screen? I resetted my safari many times and it doesn't help. Also sometimes when I scroll it gives me this weird scrolling effect where everything is either upside or messed up.

    Why does my safari browser frequently gives me a gray screen? I resetted my safari many times and it doesn't help. Also sometimes when I scroll it gives me this weird scrolling effect where everything is either upside or messed up.

    This article is for startup but it might help.  http://support.apple.com/kb/ts2570

  • I am trying to buy a song from itunes which i have done many times, but its telling me that its my first purchase and wont except my apple ID. Could someone tell me why????

    I'm trying to buy a song from ITunes which i have done many times, but it wont except my apple ID and a page comes up saying that its my first time buying from this computer and i have to answer security questions but it wont except my answers there either, which i know are right. While all this is happening i am actually already signed to itunes so why wont it accept my password when trying to buy???? Please Help.

    Wish I could help. My wife is having the same problem.  Same computer for 2 years and all of a suddent it thinks this is her first purchase.

  • How do I keep track of how many times a method is called inside anthr clas?

    I am writing code for a program that solves a Knight's Tour. A Knight's Tour is a path a Knight Chess piece can take around the board starting at any spot, touching every square once, and only once. I have to write 2 classes and one is provided. The provided class is encrypted and written by our professor. All I know that it does is simulates the game using the two classes I write and provides a print out and prompts to ask the user which square they want to move to next.
    The square class I have to write consists of a constructor that makes a square object that keeps track of its color (white/black) and its status (whether it has been visited, is occupied by the knight, or is free and has not be visited).
    The GameBoard class I have to write is what I am having problems with. I am writing a method that determines how many squares have been visited. The previous mentioned class that my professor wrote for me contains a method moveKnight();. The way the program works is that every time moveKnight() is called a square's status is changed to occupied and therefore visited later. moveKnight() will only work if the move requested by the user is a valid move.
    SO! My main problem (sorry for all the explaining, just trying to give you all the information) is that I don't know how to keep track of how many times moveKnight() is called by the program. If i can figure this out it should be simple. I'm new to java but i believe...
    if(moveKnight() is called)
    {count++;} //count is a member variable already initialized
    return count;
    the moveKnight() is called section within the if() statement is what I am unclear how to do. Please help.
    Thanks, Veritas

    in your case you want 'count' to be a class attribute rather than a local variable. But yes, incrementing it each time that the method is called will serve your purpose.

  • No matter how many times I start itunes on my pc I have to agree to the terms of service gain and when it does open my settings have all been changed.  why is it doing this and how can I satop it?  reinstalling does not fix it.

    No matter how many times I start itunes on my pc I have to agree to the terms of service again and when it does open my settings have all been changed.  Why is it doing this and how can I stop it?  Reinstalling/repairing does not fix it.

    McAfee AntiVirus by any chance? See the thread Why does iTunes delete my itunesprefs.xml?
    Or it could be an issue with the SC Info folder. See TS1277 - iTunes: Missing folder or incorrect permissions may prevent authorization for details.
    Or a repair install of iTunes from the Programs and Features control panel might fix the problem.
    tt2

Maybe you are looking for

  • Office 365(O365) and Windows Security Pop-Up When opening outlook

    This post is being transfered from the office 365 team because they created a brand new profile and i still get the same problem when connecting to their newly created one. Any help you can provide would be much appreciated. I really would like email

  • IPhone Volumn too low

    Does anyone have extremely low volumn during a phone conversation? Even when I turn the volumn to the max, I can bearly hear the other person, the tone ring is also very low. There doesn't seem to be an option in the setting to set the voice volumn h

  • Can't find SerialContextProvider

    Hi, I have successfully deployed my EJB application and have also built a client app which references the ejb. While creating the InitialContext to lookup the ejb in the client, if I do the folowing, my application works well. Properties h = new Prop

  • Port speed and Wan speed

    While reading Cisco documentation, router have a specific WAN speed up to 21 Mbps etc or more depending on router. You also see port speeds of 100Mbps or 1Gbps, but why are Wan speeds limited to far less on most Cisco routers.

  • I Need Serious Quick Help

    I would like to know a script or what ever i can use to make it that when someone click on my button, i want it to go to the top of the page, not reload the page, just goto the top... is this possible?