It compiles but it errors and I can't figure out why and this is my final!

Hey there,
I am taking a class in Java and its finals time and I have this program due and i am just running into road blocks. I really need some help! It compiles and what not but when you are running the program and you tell it to enter the value of the type of work that was done, it hangs then if you push enter, you get this;
===========================
CIS2110 Project 4
Banach Information Technology Solutions
Weekly Reports
By Alicia Schuster
May 7, 2008
=============================
Input The rate for iHours:50
Input The rate for dHours:80
Input The rate for aHours:100
Please enter the value of the day1
Input the value for cust:222
Input the value for type:1
java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:489)
at java.lang.Integer.parseInt(Integer.java:518)
at Pro4.inJob(Pro4Driver.java:172)
at Pro4.procJob(Pro4Driver.java:145)
at Pro4.procday(Pro4Driver.java:100)
at Pro4.appMain(Pro4Driver.java:61)
at Pro4Driver.main(Pro4Driver.java:25)
Here is my code below, what do i need to change? I am about to pull my hair out. SOMEONE PLEASE HELP!
//Title: Project #4 part c
//Version:
//Copyright: Copyright (c) 2008
//Author: Alicia
//Company: Your Company
//Description: Your description
// Preprocessor directive
//import java.io.IOException;
import java.io.BufferedReader;
import java.text.DecimalFormat;
import java.io.*;
public class Pro4Driver
          public static void main(String [] args) throws IOException
               {     Pro4 app;
                    app = new Pro4();
                    app.appMain();
class Pro4
     //Instance (global) data declarations
          float iHours;
          float dHours;
          float aHours;
          float totCharge;
          float totOverCharge;
          float hiCharge;
          float iRate;
          float dRate;
          float aRate;
          int day;
          int hiDay;
          int hiType;
          float dayTotCharge;
          float dayTotOverCharge;
          int cust;
          int type;
          float hours;
          float overCharge;
          float servCharge;
          String numString;
          BufferedReader stdin;
          float num;
          DecimalFormat f6 = new DecimalFormat("$#,###.##");
          DecimalFormat f5 = new DecimalFormat("#,###.##");
     public void appMain() throws IOException
          stdin= new BufferedReader(new InputStreamReader(System.in));
          wkinit();
          outhead();
          inrates();
          procday();
          while (day != 0)
          {     wkout();
          return;
     public void wkinit() throws IOException
     {      iHours = dHours = aHours = 0f;
          totCharge = totOverCharge = hiCharge = 0f;
          return;
     public void outhead() throws IOException
     {     System.out.println("\n===========================");
          System.out.println(" CIS2110 Project 4");
          System.out.println(" Banach Information Technology Solutions");
          System.out.println("Weekly Reports");
          System.out.println(" By Alicia Schuster");
          System.out.println(" May 7, 2008");
          System.out.println("=============================");     
          return;
     public void inrates()throws IOException
          System.out.print("Input The rate for iHours:");
          numString = stdin.readLine();
          iHours = Float.parseFloat(numString);
          System.out.print("Input The rate for dHours:");
          numString = stdin.readLine();
          dHours = Float.parseFloat(numString);
          System.out.print("Input The rate for aHours:");
          numString = stdin.readLine();
          aHours = Float.parseFloat(numString);
          return;
     public void procday()throws IOException
     {     dayInit();
          inDay();
          if (day != 0);
               procJob();
               while (cust != 0)
               outDay();
          return;
     public void wkout() throws IOException
     {     stdin = new BufferedReader (new InputStreamReader(System.in));
          num = (float)Math.PI;
          System.out.println(" The Value of totCharge is:"+
f6.format(totCharge));
          System.out.println("The Value of totOverCharge is:" +
(totOverCharge));
          System.out.println("The Value hiCharge is:" + f6.format
(hiCharge));
          System.out.println("The Value Of hiDay is:" + hiDay);
          System.out.println("The Value of hiType is:" + hiType);
          System.out.println("The Value of iHours is:"+ f6.format(iHours));
          System.out.println("The Value of dHours is:"+ f6.format
(dHours));
          System.out.println("The value of aHours is:"+ f6.format
(aHours));
          return;
     public void dayInit()
     {      dayTotCharge = dayTotOverCharge = 0;
          return;
     public void inDay()throws IOException
          System.out.print("Please enter the value of the day");
          numString = stdin.readLine();
          day = Integer.parseInt(numString);
     public void procJob() throws IOException
     {     inCust();
          if (cust != 0);
               inJob();
               updateCharges();
               updateSums();
               updateHi();
               outJob();
          return;
     public void outDay()
     {     System.out.println("The value of the day is:" + day);
          System.out.println("The value of dayTotCharge is:"+
f6.format(dayTotCharge));
          System.out.println("The Value of dayTotOverCharge is:"+
f6.format(dayTotCharge));
          return;
     public void inCust() throws IOException
     {     System.out.print("Input the value for cust:");
          cust = Integer.parseInt(stdin.readLine());
          return;
     public void inJob()throws IOException
     {     System.out.print("Input the type of work they did:");
          numString = stdin.readLine();
          type = Integer.parseInt(stdin.readLine());
          System.out.print("Input the value for hours :");
          numString = stdin.readLine();
          hours = Float.parseFloat(numString);
          return;
     public void updateCharges()
     {     float overCharge = 0f;
          if (type == iHours)
               iHours = iHours + hours;
               servCharge = hours * iRate;
               if (day > 5)
                    overCharge = (float).5 * servCharge;
               if (hours > 40)
                    overCharge = overCharge + .5f *(hours -
40)*iRate;
               servCharge = servCharge + overCharge;
               else
                    if (type == dHours)
               dHours = dHours + hours;
               servCharge = hours * dRate;
               if (day > 5)
                    overCharge = .5f * servCharge;
               if (hours > 40)
                    overCharge = overCharge + .5f *(hours -
40) * dRate;
               servCharge = servCharge + overCharge;
          else
                    if (type == aHours)
               aHours = aHours + hours;
               servCharge = hours * aRate;
               if (day > 5)
                    overCharge = .5f * servCharge;
               if (hours > 40)
                    overCharge = overCharge + .5f * (hours -
40) * aRate;
               servCharge = servCharge + overCharge;
          else
               System.out.print("service-type-input-code-error-message");
               return;
     public void updateSums()
     {     dayTotCharge = dayTotCharge + servCharge;
          dayTotOverCharge = dayTotOverCharge + overCharge;
          totCharge = totCharge + servCharge;
          totOverCharge = totOverCharge + overCharge;
          return;
     public void updateHi()
          if (servCharge > hiCharge)
               hiCharge = servCharge;
               hiDay = day;
               hiType = type;
          return;
     public void outJob()
     {     System.out.println("The value of the cust is:"+ f5.format(cust));
          System.out.println("The value of the type is:"+ f5.format(type));
          System.out.println("The number of the hours is:"+ f5.format(hours));
          System.out.println("The value of the servCharge is:"+ f6.format(servCharge));
          System.out.println("The value of the overCharge is:"+ f6.format(overCharge));
          return;
}

java.lang.NumberFormatException:You entered something that wasn't a number - which is exactly what you said you did.
So you need to do something about that.

Similar Messages

  • I'm staying at my house in Peru, South America. From my PC laptop I can see my neighbor's wifi service network, but I also have my mini iPad and I can not figure out why I can't get any wifi connection from my area. Is there a setting I need to do?

    I'm staying at my house in Peru, South America. From my PC laptop I can see my neighbor's wifi service network, but I also have my mini iPad and I can not figure out why I can't get any wifi connection from my area. Is there a setting I need to do?

    Yes, I did try to go on my settings>wifi and was waiting for any wifi signals to pick up, but nothing shows up. But on my PC I get a whole list of networks to choose from. Regarding my neighbor, I already have her password that is why I was able to get it on my PC, the problem is that the mini Ipad is not picking any signal neither can it locate me when I go to maps.

  • I tried to Skype someone but I can't see them but they can see me and I can't figure out why?

    I tried to Skype somebody and they can see me but I can't see them and I can't figure out why?

    I'll guess that you're upgrading from Snow Leopard? You should be able to start using your original install dvd by inserting the disc and restarting while holding the C key. Run Disk Utility from your install disc  and try to repair the drive. Then try the upgrade again.

  • I have an iphone5 that is eating up data time and I can't figure out why? Any thoughts?

    I have an iphone5 that is eating up data time and I can't figure out why? Any thoughts? I have closed everyting I can, even took the phone to Verizon and they are not sure what is going on.   My company email is active and pushes to the phone....I use Safari regularly to look up stuff for personal and work use.  I am on Facebook but have turned it off in notifications.  Four phones and a hotspot on the account....we have 6g and have never come close to it, until lately and it's my phone that's eating up the gigs.  So what the heck is going on?

    Go to Settings/Cellular and you can see how much data each app is using. You can Reset Statistics, then track all of the apps data usage.

  • All of a sudden my new iphone will not hold a charge even when it is not being used and I can't figure out why???

    my battery drains even when iphone is not being used.  It is a relatively new phone and this battery draining just started and I can't figure out why????

    Yes, thank you.  My apologies, I was typing one handed and did not add that. 
    Anyway, I have tried deleting the cache, deleting my pics and then re-syncing, etc. and nothing is working This is very frustrating, as I had no problems up until about 2 weeks ago, and now all of a sudden, I have this issue......UGH!

  • My podcast isn't updating and I can't figure out why, please help?

    Hi everyone,
    I'm at my wits end and I can't figure out what's wrong with my podcast in regards to iTunes.
    We have a website we update that originally iTunes was pointed at (http://www.whydaddydrinks.net/?feed=rss2) and then iTunes started having issues with not updating. Recently we tried changing the feed of the podcast to the RSS feed for our podcast hosting account at Podbean (http://whydaddydrinks.podbean.com/feed/) and it's running into the same issue.
    I've checked FeedValidator for both feeds and they're fine (http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.whydaddydrinks.net%2F%3F feed%3Drss2 and http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fwhydaddydrinks.podbean.com%2 Ffeed%2F). I've clicked the links to the .mp3 files and they play off the web, so, in theory, there shouldn't be any issue as far as I know; Episode 13 shows up in iTunes but dosn't appear to be connected to the file and Season 2 Episode 1 doesn't show up at all.
    Can any of you offer any suggestions as to what the heck is going on?

    Your Store page is at https://itunes.apple.com/gb/podcast/your-book-is-why-daddy-drinks/id515363310?mt =2
    This is using the feed at http://www.whydaddydrinks.net/?feed=rss2 so the other feed URL you posted is irrelevant.
    This feed has episodes up to 13 which contain playable media, and these all show in the Store and when subscribing. However the URL for the media file for episode 13 is
    http://media40.podbean.com/pb/89ea6f327345e33833ff09885e48b8a1/50e904db/data2/bl ogs48/462271/uploads/YBIWDD_Episode13.mp3
    and there is no file at this address. The previous episode downloads OK.
    This feed contains two later episodes but neither has an 'enclosure' tag containing the URL of a media file and so the episodes don't show in iTunes. You are using WordPress to make your feed, and this problem arises a lot - it presumably means that you have failed to do something you need to do in WordPress to get the media file into the feed, but I can't advise on specifics of WordPress.
    The other feed has one of these two episodes, and there the latest episode does have an 'enclosure' tag and the episode appears when subscribing manually; however as I say this feed is not in use by the Store.
    So you need to do with the original feed whatever it was you did with the new feed to get the episode into the Store, and you need to chase the missing media file for episode 13.
    If you want to move the Store to using the Podbean feed you need to follow the procedure outlined here:
    http://www.wilmut.webspace.virginmedia.com/notes/podcast.html#move
    Note that the title in the Podbean feed is 'whydaddydrinks' which many not be what you want.

  • My Macbook Pro 2014 ran out of battery while mid-slideshow. Now the slideshow won't skip through photos and I can't figure out why? Macbook Pro 2014 13-inch Intel i5 8GB RAM 128GB flash, iPhoto library is on external HDD

    Macbook Pro 2014
    13-inch
    Intel i5
    8GB RAM
    128GB flash SSD,
    Integrated Graphics
    iPhoto library is on external HDD
    I was in a slideshow, with around 1,911 photos in it. About halfway through, my Macbook ran out of battery. Now when I restarted and charged the Macbook and reopened iPhoto, the slideshow won't advance through photos, and I can't figure out any reason why it would do this.
    I thought it may be corrupted, so I deleted and reinstalled iPhoto library, iPhoto itself, and disconnected and reconnected my external HDD.
    This didn't work, the photos still won't advance.
    I don't know any reason why this would be happening, and there is ample space on my internal drive.
    I'm happy to provide more information if needed!
    Many Thanks,
    James

    Make a few tests, James, to narrow down the problem and find out, if the slideshow is corrupted, your iPhoto Library, or settings in your account.
    To test, if only your slideshow has a problem, create a new slideshow, just for testing. Just use "File > New Slideshow" and add a few photos. Does this slideshow play correctly?
    If the test slideshow does not play either, create a new iPhoto Library. Use the File menu in iPhoto: File > Switch to library > Create New. Import a few photos and create a slideshow.  Does it play?
    If even a new library does not solve the problem, test in a different user account (see this document:  Isolating an issue by using another user account - Apple Support):   
    This process involves creating a new user account, logging in to it, and testing for the issue.
    Create a new standard or admin user account in Users & Groups preferences.
    Use these instructions for OS X Mavericks.
    See these instructions for OS X Mountain Lion.
    See this video, or these instructions for OS X Lion.
    Optional: If you have any specific files you wish to test with, copy (don't move) those items to the /Users/Shared folder in the Finder.
    Log out of your current user account by choosing Log Out from the Apple () menu.
    Log in with the new account you created.
    Attempt to reproduce the issue you were seeing in your regular user account.
    After you have completed testing, log out of the test account by choosing Log Out from the Apple () menu.
    Log in as your regular account.
    After you have completed all testing with the test user account, you may want to delete it. You can delete an account in the Users & Groups pane of System Preferences.
    Note: Prior to deleting a test account, make sure you are completely done with it. If you have files in the Guest User you wish to keep, you should copy them to the /Users/Shared folder .
    If you should find, that slideshows only play in a new user account, post back.

  • Error in exception can't figure out why?

    hi
    iam new to oracle ..can't figure out the error in this code..
    set serveroutput on
    declare
    e_m exception;
    pragma_exception_init(e_m,-1400);
    begin
    insert into dept_dup(dno) values(nULL);
    exception
    when e then
    raise_application_error(-20000,'exception e');
    end;
    thank u
    rajiv

    This compiles OK:
    SQL>
    SQL> set serveroutput on
    SQL>
    SQL> drop table dept_dup;
    Table dropped.
    SQL>
    SQL> create table dept_dup(dno number);
    Table created.
    SQL>
    SQL> declare
      2  e_m exception;
      3  pragma exception_init(e_m,-1400);
      4  begin
      5  insert into dept_dup(dno) values(NULL);
      6  exception
      7  when e_m then
      8  raise_application_error(-20000,'exception em');
      9  end;
    10  /
    PL/SQL procedure successfully completed.
    SQL> show errors
    No errors.
    SQL>
    SQL> exitReading the PL/SQL docs can also help: http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14261/errors.htm#sthref2000
    Message was edited by:
    Pierre Forstmann

  • TS1292 I got a gift card for my friend but when he types the code it says invalid he's entered it correctly and we can't figure out why it won't redeem

    I got an iTunes card for a friend but when he goes to redeem it it says invalid

    The javadoc of createImage() states that "The return value may be null if the component is not displayable."
    Not sure, but it may be that you need to call init() after this.setVisible(true).

  • Things are randomly segfaulting and I can't figure out why! [solved]

    Hi, recently I have been getting random segfaults and corruption.
    For example, I can't uncompress files, bsdtar gives errors 9/10 times and I can't compile a program.
    I get weird and random output.
    Attempt 1:
    -> Extracting libarchive-2.8.3.tar.gz with bsdtar
    bsdtar: Damaged tar archive
    bsdtar: Retrying...
    bsdtar: Damaged tar archive
    bsdtar: Retrying...
    bsdtar: Damaged tar archive
    bsdtar: Retrying...
    bsdtar: Damaged tar archive
    bsdtar: Retrying...
    bsdtar: Damaged tar archive
    Attempt 2:
    libtool: compile: gcc -DHAVE_CONFIG_H -I. -march=athlon64 -O2 -pipe -fomit-frame-pointer -MT libarchive/archive_entry_copy_stat.lo -MD -MP -MF libarchive/.deps/archive_entry_copy_stat.Tpo -c libarchive/archive_entry_copy_stat.c -fPIC -DPIC -o libarchive/.libs/archive_entry_copy_stat.o
    In file included from libarchive/archive_entry_copy_stat.c:33:
    libarchive/archive_entry.h:514: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
    make[1]: *** [libarchive/archive_entry_copy_stat.lo] Error 1
    make[1]: Leaving directory `/home/youri/abs/libarchive/src/libarchive-2.8.3'
    make: *** [all] Error 2
    Attempt 3:
    do
    eval ac_val=\$$ac_var; case $ac_val in
    *${as_nl}*)
    case $ac_var in
    *_cv_*)
    { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." 1>&5; $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." 1>&2; }
    esac; case $ac_var in
    _ | IFS | as_nl)
    BASH_ARGV | BASH_SOURCE)
    eval $ac_var=
    $as_unset $ac_var
    esac
    esac;
    done; ( set ) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in
    *${as_nl}ac_space=\ *)
    sed -n "s/'/'\\\\''/g;
    s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
    sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
    esac | sort )
    *** glibc detected *** /bin/sh: munmap_chunk(): invalid pointer: 0x00000000014c0000 ***
    ======= Backtrace: =========
    /lib/libc.so.6(+0x71906)[0x7fb5a7176906]
    /bin/sh(delete_all_jobs+0xfb)[0x4385fb]
    /bin/sh(without_job_control+0x24)[0x438694]
    /bin/sh[0x42d2bf]
    /bin/sh(execute_command_internal+0x16fc)[0x42a9fc]
    /bin/sh[0x4290ee]
    /bin/sh(execute_command_internal+0x140e)[0x42a70e]
    /bin/sh(execute_command_internal+0x12e2)[0x42a5e2]
    /bin/sh(execute_command+0x4e)[0x42aafe]
    /bin/sh(execute_command_internal+0x12a6)[0x42a5a6]
    /bin/sh(execute_command+0x4e)[0x42aafe]
    /bin/sh(execute_command_internal+0x12a6)[0x42a5a6]
    /bin/sh(execute_command+0x4e)[0x42aafe]
    /bin/sh(execute_command_internal+0x12a6)[0x42a5a6]
    /bin/sh(execute_command+0x4e)[0x42aafe]
    /bin/sh(execute_command_internal+0x12a6)[0x42a5a6]
    /bin/sh(execute_command+0x4e)[0x42aafe]
    /bin/sh(execute_command_internal+0x12a6)[0x42a5a6]
    /bin/sh(execute_command_internal+0xb06)[0x429e06]
    /bin/sh(parse_and_execute+0x1ca)[0x46568a]
    /bin/sh(run_exit_trap+0x113)[0x44ab93]
    /bin/sh(exit_shell+0x95)[0x416435]
    /bin/sh(main+0xe74)[0x417d54]
    /lib/libc.so.6(__libc_start_main+0xfd)[0x7fb5a7123b6d]
    /bin/sh[0x415fb9]
    ======= Memory map: ========
    00400000-004a6000 r-xp 00000000 08:03 8307 /bin/bash
    006a5000-006aa000 rw-p 000a5000 08:03 8307 /bin/bash
    006aa000-006b3000 rw-p 00000000 00:00 0
    01460000-0157c000 rw-p 00000000 00:00 0 [heap]
    7fb5a6cbe000-7fb5a6cd4000 r-xp 00000000 08:03 3509 /usr/lib/libgcc_s.so.1
    7fb5a6cd4000-7fb5a6ed3000 ---p 00016000 08:03 3509 /usr/lib/libgcc_s.so.1
    7fb5a6ed3000-7fb5a6ed4000 rw-p 00015000 08:03 3509 /usr/lib/libgcc_s.so.1
    7fb5a6ef9000-7fb5a6f04000 r-xp 00000000 08:03 3121 /lib/libnss_files-2.11.1.so
    7fb5a6f04000-7fb5a7103000 ---p 0000b000 08:03 3121 /lib/libnss_files-2.11.1.so
    7fb5a7103000-7fb5a7104000 r--p 0000a000 08:03 3121 /lib/libnss_files-2.11.1.so
    7fb5a7104000-7fb5a7105000 rw-p 0000b000 08:03 3121 /lib/libnss_files-2.11.1.so
    7fb5a7105000-7fb5a7252000 r-xp 00000000 08:03 3118 /lib/libc-2.11.1.so
    7fb5a7252000-7fb5a7451000 ---p 0014d000 08:03 3118 /lib/libc-2.11.1.so
    7fb5a7451000-7fb5a7455000 r--p 0014c000 08:03 3118 /lib/libc-2.11.1.so
    7fb5a7455000-7fb5a7456000 rw-p 00150000 08:03 3118 /lib/libc-2.11.1.so
    7fb5a7456000-7fb5a745b000 rw-p 00000000 00:00 0
    7fb5a745b000-7fb5a745d000 r-xp 00000000 08:03 3067 /lib/libdl-2.11.1.so
    7fb5a745d000-7fb5a765d000 ---p 00002000 08:03 3067 /lib/libdl-2.11.1.so
    7fb5a765d000-7fb5a765e000 r--p 00002000 08:03 3067 /lib/libdl-2.11.1.so
    7fb5a765e000-7fb5a765f000 rw-p 00003000 08:03 3067 /lib/libdl-2.11.1.so
    7fb5a765f000-7fb5a76b5000 r-xp 00000000 08:03 5335 /lib/libncursesw.so.5.7
    7fb5a76b5000-7fb5a78b4000 ---p 00056000 08:03 5335 /lib/libncursesw.so.5.7
    7fb5a78b4000-7fb5a78b9000 rw-p 00055000 08:03 5335 /lib/libncursesw.so.5.7
    7fb5a78b9000-7fb5a78f3000 r-xp 00000000 08:03 2997 /lib/libreadline.so.6.1
    7fb5a78f3000-7fb5a7af3000 ---p 0003a000 08:03 2997 /lib/libreadline.so.6.1
    7fb5a7af3000-7fb5a7afb000 rw-p 0003a000 08:03 2997 /lib/libreadline.so.6.1
    7fb5a7afb000-7fb5a7afc000 rw-p 00000000 00:00 0
    7fb5a7afc000-7fb5a7b1a000 r-xp 00000000 08:03 3095 /lib/ld-2.11.1.so
    7fb5a7b3e000-7fb5a7cef000 r--p 00000000 08:03 12409 /usr/lib/locale/locale-archive
    7fb5a7cef000-7fb5a7cf3000 rw-p 00000000 00:00 0
    7fb5a7d16000-7fb5a7d19000 rw-p 00000000 00:00 0
    7fb5a7d19000-7fb5a7d1a000 r--p 0001d000 08:03 3095 /lib/ld-2.11.1.so
    7fb5a7d1a000-7fb5a7d1b000 rw-p 0001e000 08:03 3095 /lib/ld-2.11.1.so
    7fb5a7d1b000-7fb5a7d1c000 rw-p 00000000 00:00 0
    7fff4289f000-7fff428b4000 rw-p 00000000 00:00 0 [stack]
    7fff429de000-7fff429df000 r-xp 00000000 00:00 0 [vdso]
    ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
    Makefile:15: *** missing separator. Stop.
    Firefox crashes the worst, deluge does too!!!!
    What's wrong!! Please help, I don't know how to fix this.
    [youri@nemesis libarchive]$ uname -a
    Linux nemesis 2.6.33-ARCH #1 SMP PREEMPT Sun Apr 4 10:27:30 CEST 2010 x86_64 AMD Athlon(tm) 64 Processor 2800+ AuthenticAMD GNU/Linux
    Edit: Nevermind, bad ram! Bah!
    Last edited by youri (2010-04-10 02:08:02)

    It is always best to avoid making changes to the selected text colors.<br />
    Firefox uses an algorithm to check if the contrast is sufficient and will swap text and background colors if that test fails.<br />
    *http://mxr.mozilla.org/mozilla-central/source/layout/generic/nsTextFrameThebes.cpp#3349
    *http://forums.mozillazine.org/viewtopic.php?f=38&t=1331845

  • Data usage skyrocketing and I can't figure out why

    I've been watching my AT&T data usage recently. I have the original iPhone and had expected to replace it this year. That will apparently cause me to lose the unlimited data plan, as per AT&T's latest announcement.
    For some reason my usage, which used to run about 70-100MB/month, is getting towards the 1 GB level and climbing. Last month it was 770 MB. My bill details only show data "out," nothing "in." Most nights around 2:30 a.m there is a lot of activity, anywhere from 60KB to 80,000KB At that time the phone is asleep (as I am) and charging -- but not connected to a computer.
    I've turned off Push email (which disables "find my Phone.") I have all app notifications turned off. My phone does not have GPS. I have wi-fi at home, but a lot of data transfers seem to be at times during the day when I believe I am connected via wi-fi. Except for the occasional App Store purchase on the fly, I download from iTunes to my Mac and sync with USB cable.
    I do have 4 email accounts besides MobileMe and I retrieve mail manually to save battery life.
    With the 2G iPhone on Edge, I cannot do streaming video and other things that I would want to do with a more capable phone. I am paying $99/year for MobileMe and have been advised to cripple it. AT&T customer support suggested that apps are the problem, but gave me no guidance on figuring out which apps might be the culprit(s). My understanding is that the iPhone doesn't allow apps to run in the background. I know Apple doesn't update without permission. I am not subscribed to any AT&T services that I know about.
    I just want to understand how this all works. If there are some apps that are misbehaving, how do I figure out which ones? I do not want to get an expensive new iPhone and find out I can't afford to enjoy it.
    I have restored the phone to factory settings twice in the past four months on advice from Apple.
    Does anyone have any thoughts on this?

    ksujeff99 wrote:
    I have the exact same issue, as do some other people at the end of this macrumors thread. http://forums.macrumors.com/showthread.php?t=576888
    I have MobileMe and 3 other email accounts but I don't think that's the issue. My 3GS is consistently doing accessing the 3G network middle of the night when I have a full WiFi signal from my home network. There is no reason that I should have any data activity during this time.
    A Mac Genius told me that when the iPhone goes to sleep, wi-fi is disconnected. This means the phone is then on the cellular network. In my mind that is a design flaw. The phone goes to sleep to reduce energy usage, but the cell network uses more energy than wi-fi. That's a separate question from the data use issue, which is relevant for several reasons: cost, user control and privacy.

  • The 'selected items' color randomly changes and I can't figure out why.

    Hi everybody, I recently upgraded to Firefox 13, which appears to be the most stable browser version so far and I really like it. I have loved Firefox very much, having used it since somewhere between versions 2 and 3.
    After upgrading to version 13 I noticed something that annoys me quite a bit. This may have been present before but I can't remember and I did not notice until now.
    On my computer (Windows 7 x64 Ultimate) I have set the color of the 'selected items' (specifically text) to be lime green text on a slightly off black background. I chose this color scheme because it blends very well with Firefox itself (I have the NASA night launch theme), Windows Explorer, and many web pages that I have changed to a dark theme (using the Stylish browser extension). This color scheme has excellent contrast in areas with black text on a light background, as well as light text on a dark background. It has served me well.
    After upgrading to Firefox 13 I have noticed that if the web page is dark with light text, the 'selected items' color changes to lime green text on a light grey background. (Less frequently, it changes instead to off-black text on a lime green background). I have not been able to isolate the threshold where this change occurs (meaning how dark the website background needs to be /how light the text needs to be for this to happen) nor have I found a solution.
    This problem sometimes extends even to sites that have dark text on a light background: when tabs are switched, with no input fields clicked and the address bar is not clicked. This very page (Firefox support) is apparently vulnerable as well.
    This problem only happens on rendered web pages. Firefox's menus, buttons and toolbars, as well as all other programs and Windows itself, are unaffected.
    I want the 'selected items' to remain as I have set it, and not deviate regardless of the apparent contrast or color scheme of the web page being displayed.
    [Edit #1]: Interestingly, as I was copying the information from about:support I noticed that it is affected as well.
    Any suggestions? Thanks so much, and I am sorry for the long-winded description. tl;dr look at the pictures.
    [http://i.imgur.com/vmLZ6.png selected items]
    [http://i.imgur.com/d8xsa.png example1]
    [http://i.imgur.com/2OE9J.png example2]
    [http://i.imgur.com/1lhvb.png example3]
    [http://i.imgur.com/UWOOp.png example4]

    It is always best to avoid making changes to the selected text colors.<br />
    Firefox uses an algorithm to check if the contrast is sufficient and will swap text and background colors if that test fails.<br />
    *http://mxr.mozilla.org/mozilla-central/source/layout/generic/nsTextFrameThebes.cpp#3349
    *http://forums.mozillazine.org/viewtopic.php?f=38&t=1331845

  • My Flash Pro CC 2014 freezes while I'm working every single time and I can't figure out why

    I just bought Flash Pro CC about a month ago, and every time I open it and start using it, it freezes and I can't click on anything in the program or even close out of it normally.  I have to use Task Manager and force it closed.  I doubt that its my hardware, as I ran previous Flash Pros on it in the past with no problem.  Is anyone else having this issue?

    You might try to remove the preferences file from Flash, but I don't think that will solve the problem. You may need to resort to a clean installation: Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6

  • FF 27 - My fonts are pixely and I can't figure out why.

    Hello friends,
    About 4 weeks ago the fonts on every page I visit using Firefox became pixely (some letters seem bolded, the lines seem low resolution, etc.). I've attempted the following steps to fix with no success:
    - Upgraded to FF 27
    - Reset to default
    - Switched off hardware acceleration
    Here is a link to a screenshot comparison of FF27 vs. Chrome vs. IE: http://i.imgur.com/f8EBC6p.png
    The only thing I can think of that might be the culprit is that around the same time I got a new monitor that required a display driver installed on my laptop.
    What other trouble shooting steps can I take to help fix the font display while I use my beloved Firefox?
    Any and all help is much appreciated.
    Thanks.

    Try playing with this:
    =
    layers.acceleration.disabled: True
    And make sure that firefox has the updated driver you can check in "about:support".
    and try disabling hardware acceleration:Try disabling graphics hardware acceleration. Since this feature was added to Firefox, it has gradually improved, but there still are a few glitches.
    You might need to restart Firefox in order for this to take effect, so save all work first (e.g., mail you are composing, online documents you're editing, etc.).
    Then perform these steps:
    *Click the orange Firefox button at the top left, then select the "Options" button, or, if there is no Firefox button at the top, go to Tools > Options.
    *In the Firefox options window click the ''Advanced'' tab, then select "General".
    *In the settings list, you should find the ''Use hardware acceleration when available'' checkbox. Uncheck this checkbox.
    *Now, restart Firefox and see if the problems persist.
    Additionally, please check for updates for your graphics driver by following the steps mentioned in the following Knowledge base articles:
    * [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]
    * [[Upgrade your graphics drivers to use hardware acceleration and WebGL]]
    Did this fix your problems? Please report back to us!
    Thank you.

  • Garageband is no longer recognizing sound from my Yamaha keyboard.  This happened suddenly and I can not figure out why.  Any tips?

    I connected my Yamaha keyboard to garageband via the iPad camera connector kit.  I had it working great to record, but suddenly garageband stopped recognizing my keyboard and I can not record any sound from my keyboard in garageband.  Any ideas to fix?

    As a first step, try doing a Reset PRAM.
    http://support.apple.com/kb/ht1379
    The sound settings are stored in PRAM.  If there is some corruption of settings in PRAM, a reset may fix your problem.

Maybe you are looking for

  • Help Center is running extremely slow in OSX Lion.

    Help Center is running extremely slow on my MacBook Pro with OSX Lion (8 GB RAM, 2.4 Ghz Intel Core i5). It takes several seconds to start up, occasionally variable names like "[currentBookname]" are displayed instead of section headings, results upd

  • LDAP security in ADF11g

    HI, I have already developed a ADF 11g ( JDEV 11.1.2.2.0) Fusion application. I have a user login page, where I need to check the authentication using LDAP + MS active directory. Should the application development start with a ldap already configured

  • Mod_rewrite for Tomcat 5?

    Hi all I'm learning JSP right now; till now I worked with PHP, and with my used WAMP (XAMPP) I had the possibility to use the Apache mod mod_rewrite to rewrite URL's. Can I use this module also for Tomcat? I tested it with a .htaccess file in a folde

  • How can I share the internet without any network distribution?

    I am facing a problem of internet sharing. I would like to share my connection from ethernet to airport, however, when I chose the "internet sharing" box, safari failed to connect to the internet. After removing the tick of the box, web browsing beca

  • User exit before TO creation to chage MAKTX field or FM to change it after

    Hi all,      I need some WM Expertise help.      When I create a Sales Order from program (with bapicreatefromdata2) , the system automatically create a delivery, and then, a transfer order with no immediate confirmation. The TO is manual confirmed.