Write some JAVA for me please, not working the way I wanted it too...

Here's what I am getting when I go to run it:
C:\Documents and Settings\Brad.HOME\Desktop\FINAL>java project1
Usage: project1 [Array File Path]
C:\Documents and Settings\Brad.HOME\Desktop\FINAL>
What I need is for it to ask me to enter the location of the numbers file and then calculate the Max, Min, Mean, etc off of that file I enter in. Right now it just says:
Usage: project1 [Array File Path]
-------------------------------java below-------------------------------------------------
import java.io.*;
public class project1 {
* Array File Path
private String location;
* set Location
* @param location String
public void setLocation(String location) {
this.location = location;
* Program initialization
public project1() {
int ar[] = new int[50];
ReadFile(location, ar);
sort(ar);
System.out.println("Minimum= " + ar[0]);
System.out.println("Maximum=" + ar[ar.length - 1]);
System.out.println("Mean= " + mean(ar));
System.out.println("Mode= " + modal(ar));
System.out.println("Median= " + median(ar));
System.out.println("Std Dev= " + stdDev(ar));
* Main program
* @param args String[]
public static void main(String args[]) {
if (args.length == 1) {
new project1().setLocation(args[0]);
else {
System.out.println("Usage: project1 [Array File Path]");
* Calculate the mean
* @param ar int[]
* @return double
public double mean(int ar[]) {
int sum = 0;
for (int i = 0; i < ar.length; i++) {
sum += ar;
return (sum / ar.length);
* Calculate the mode/modal
* @param a int[]
* @return int
public int modal(int a[]) {
int n;
int freq = 0;
int Mfreq = 0;
int Mn = a[0];
for (int i = 0; i < a.length; i++) {
n = a[i];
for (int j = 0; j < a.length; j++) {
     if (a[j] == n) {
     freq++;
if (freq > Mfreq) {
     Mn = n;
return Mn;
* Calculate the median
* @param a int[]
* @return int
public int median(int a[]) {
if (a.length % 2 == 0) {
int x = a[a.length / 2];
int y = a[ (a.length + 2) / 2];
return (x + y) / 2;
else {
return a[ (a.length + 1) / 2];
* Calculate Standard Deviation
* @param a int[]
* @return double
public double stdDev(int a[]) {
int s2 = 0;
int s = 0;
for (int i = 0; i < a.length; i++) {
s2 += (a[i] * a[i]);
s += a[i];
return Math.sqrt( (s2 - (s * 2) / a.length) / (a.length - 1));
* Sort integer array
* @param a int[]
public void sort(int a[]) {
int tmp;
for (int i = 0; i < a.length; i++) {
for (int j = 0; j < a.length; j++) {
     if (a[j] > a[j + 1]) {
     tmp = a[j];
     a[j] = a[j + 1];
     a[j + 1] = tmp;
* Read integer array from specified file
* @param filename String
* @param ar int[]
* @return int
public int ReadFile(String filename, int ar[]) {
File infile = new File(filename);
int value, n = 0;
try {
BufferedReader reader = new BufferedReader(new FileReader(infile));
String line = null;
while ( (line = reader.readLine()) != null) {
     value = Integer.parseInt(line);
     ar[n++] = value;
return n;
catch (IOException e) {
System.err.println("Problem reading input file!");
System.exit(1);
return n;

Please use code tags when posting code. There is a
button labeled code right above the text box
where you type in your post.
Your first problem occurs herepublic static
void main(String args[]) {
if (args.length == 1) {
new project1().setLocation(args[0]);
else {
System.out.println("Usage: project1 [Array File
y File Path]");
}This code executes when you first launch the
application. It checks to see if there were any
arguments in the comman line. If the number of
arguments is not equal to 1, then you get the Usage
output. You must launch the program with one
argument.I tried java project1 C:\\Temp.txt, but it still ends up with a NullException handler. I edited the code and added a catch for it so it returns File doesn't exist, but I swear it does and I'm pointing to it correctly...

Similar Messages

  • I need to cancel my membership I got today it did not work the way I wanted to and my computer is not working with it. Thank please cancel to today!!

    I need to cancel my membership I got today, it did not work the way I wanted to. So please cancel it today! Thanks

    This is a user forum; we have no access to your subscriptions, but we can help you to get it canceled.  So what did you subscribe to:
    Creative Cloud?
    an Acrobat.com online service?

  • Hi, i would like my membership cancelled. I got it yesterday but its not working the way i wanted it to work. How do i go about that i getting my refund as its before 30 days.

    Hi, i would like my membership cancelled. I got it yesterday but its not working the way i wanted it to work. How do i go about that i getting my refund as its before 30 days.

    Hi kondwastefstef,
    I'm sorry that your subscription didn't meet your needs. Please contact Adobe Customer Support via phone or chat; they should be able to cancel your account and process your refund. Here's the contact information: Contact Customer Care
    Best,
    Sara

  • Ps 3d and filters and save for web are not working the way they should

    At work we just put cs6 on a w7 machine running 64 bit which has more than that required mem and or ram to run cs6 - unfortunately I have to use a windows based machine at work (cheapskates). Anyways. I see the 3d menus and the filter menu in PS but they aren't funtional. The filter menu drop down is there but Liquify is the only one that shows up the rest are gray. The option to choose 3d is also there but they are not functional (grayed out) - I took a look at some online tutorials on using the 3d effect in PS CS6 and Ive gone through it a few times and it still won't work for me. Also, in illustrator when I save for web - when I adjust the pixel dimensions and move the mouse over and click on the image that I am saving for web nothing happens and I'm completely boggled about how to get the image size to change in the save for web pane. Typically I am used to being able to input the the number into the pixel dimenion field and click on the image and the image resizes (on a mac you can either click on the image or hit return and the image will resize in front of your eyes!). I am unable to get this to work the way I am used to, this happens for me in both ill5 and ill6 on this piece of crap windows machine. Maybe I just need to reinstall? Maybe adobe has changed the way this works? Maybe a sledge hammer into this windows machine would solve all my problems!? IDK. someone help... help me... pleeeeaaaaaaaaaaasssseeeee

    unfortunately I have to use a windows based machine at work (cheapskates).
    This gets a "stupid comment of the day" medal. Seriously. These days Macs are just as convoluted and effed up as Windows was a few years ago - nice as long as everything works, but god forbid you have a problem. So by all means, update your graphics driver and be glad that you actually have that choice rather than having to wait half a year for Apple to fix it...
    Mylenium

  • Hello I buy apps and it's not working the way I want. So I need my full refund now

    Many times I purchase app for my iPhone it's all goin some of them it's not working  I need my full refund.

    See:
    Refunds from the App Store or iTunes - Apple Club

  • JCreator not working the way i want it.

    sorry for the catchy subject header...and my pre thanks for solution providers..
    PROBLEM I AM FACING:
    I am using JCreator pro and its intellisense is not working...I had previously installed JavaFX and then removed it...is it the side effect I am having ?
    MY NEXT PROBLEM:
    also i have copied java API docs to same folder as JDK ..now when i highlight the code and press F1 i don't get API doc for the highlighted keyword...instead a bookview is shown at the right corner.....what could be the problem...please explain the solution in a beginners tone..I am new to java...thank you very much once again..... :D

    Is this what you are looking for?
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Untitled Document</title>
    <style>
    body {
        width: 940px;
        margin: auto;
    html {
        background: url(http://www.pwaworldtour.com/fileadmin/user/main_editors/images/hi_res/ARUBA_2011/A11_fs_WOMEN/A11_fs_ARU91_1755.jpg) no-repeat center center;
    .content {
        background: white;
        padding: 20px;
    </style>
    </head>
    <body>
    <div class="content">
        <h1>Header</h1>
        <p>Whose worth's unknown, although his height be taken. Let me not to the marriage of true minds admit impediments; love is not love love's not time's fool, though rosy lips and cheeks. Oh, no, it is an ever fixed mark which alters when it alteration finds, it is the star to every wand'ring bark. Let me not to the marriage of true minds admit impediments; love is not love within his bending sickle's compass come.</p>
        <p>Love's not time's fool, though rosy lips and cheeks if this be error and upon me proved, oh, no, it is an ever fixed mark. Or bends with the remover to remove. Admit impediments; love is not love whose worth's unknown, although his height be taken.</p>
        <p>Within his bending sickle's compass come; which alters when it alteration finds, but bears it out even to the edge of doom. That looks on tempests and is never shaken; love's not time's fool, though rosy lips and cheeks I never writ, nor no man ever loved. If this be error and upon me proved, within his bending sickle's compass come; it is the star to every wand'ring bark.</p>
    </div>
    </body>
    </html>

  • Overflow:visible; not working the way i want.

    Hi,
    ok so i have a problem with using overflow. I have an large image that I want to overflow outside the normal 940px wrapper on either side. So far it is all displayed fine however, im left with a scroll bar at the bottom of the screen which allows me to scroll over to the right untill all the image is displayed. I want it to only be visible if a large res display is being used. So how can i keep al this but remove the x axis scrol function?
    here  is my code
    <div id="cinema-wrapper">
    <div id="cinema-displays"></div>
    </div>
    #cinema-wrapper {
              width:940px;
              height:764px;
    #cinema-displays {
              background-image: url(../mackbyte_files/img/cinema-bg.png);
              height: 764px;
              width: 3109px;
              background-repeat: no-repeat;
              position: absolute;
              left:50%;
              margin-left:-1554.5px;
              overflow:visible !important;
    thanks

    Is this what you are looking for?
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Untitled Document</title>
    <style>
    body {
        width: 940px;
        margin: auto;
    html {
        background: url(http://www.pwaworldtour.com/fileadmin/user/main_editors/images/hi_res/ARUBA_2011/A11_fs_WOMEN/A11_fs_ARU91_1755.jpg) no-repeat center center;
    .content {
        background: white;
        padding: 20px;
    </style>
    </head>
    <body>
    <div class="content">
        <h1>Header</h1>
        <p>Whose worth's unknown, although his height be taken. Let me not to the marriage of true minds admit impediments; love is not love love's not time's fool, though rosy lips and cheeks. Oh, no, it is an ever fixed mark which alters when it alteration finds, it is the star to every wand'ring bark. Let me not to the marriage of true minds admit impediments; love is not love within his bending sickle's compass come.</p>
        <p>Love's not time's fool, though rosy lips and cheeks if this be error and upon me proved, oh, no, it is an ever fixed mark. Or bends with the remover to remove. Admit impediments; love is not love whose worth's unknown, although his height be taken.</p>
        <p>Within his bending sickle's compass come; which alters when it alteration finds, but bears it out even to the edge of doom. That looks on tempests and is never shaken; love's not time's fool, though rosy lips and cheeks I never writ, nor no man ever loved. If this be error and upon me proved, within his bending sickle's compass come; it is the star to every wand'ring bark.</p>
    </div>
    </body>
    </html>

  • @Prior not working the way I expect it too

    All, I need some help :-)<BR><BR>I have the following cube<BR>Essbase v6.5.5<BR>Create on Equation database option is checked<BR>8 dimmensions (including 3 attribute dimensions)<BR><BR>The base dimensions are as followings:<BR>Accounts(Dense) Prices, Cost, volume, etc.<BR>Scenarios (Dense) April Fcst, Actuals, Budget, May Fcst, Working Fcst etc.<BR>UOM (Dense) aka Unit of Measure BBL, MT (metric tons)<BR>Time (Sparse)2002, 2003, 2004, qtr1 07, Jan 07, etc<BR>Worldwide (Sparse) North America, South America, United States, Plant Name, Suppliers (Suppliers are unique to plants and are at level 0)<BR>the rest are attribute dimension based on Worldwide<BR><BR>I lock and send prices to a No Region member in the Worldwide dimension<BR><BR><BR>When I have to look at the prior month price it is not assigning a value to "posting". In other words, Plant 1 is working correctly, but the others which need to use the prior period price is not being calculated.<BR><BR>Here is the calc script:<BR><BR>/* Housekeeping */<BR>Set LOCKBLOCK High ;<BR>Set Cache Default ;<BR>Set Msg Summary ;<BR>Set UpdateCalc Off ;<BR>Set AggMissg On ;<BR>Set FrmlBottomUp On ;<BR><BR>Fix( "Mar 07", &Current_Forecast )<BR>Cleardata Postings; <BR>BBL(<BR><BR>//Plant 1<BR>IF ( @ISMBR (SupplierX, SuplierXX)) <BR>Postings = ("Price3"->"No Region" +"Price4"->"No Region")/2;<BR><BR>ELSEIF (@ISMBR(SupplierXXX))<BR>Postings = ("Price4"->"No Region");<BR><BR>//Plant 2<BR>ELSEIF (@ISMBR(SuplierXY, SupplierXXY))<BR>Postings = @Prior("Price2"->"No Region");<BR><BR>//Plant 3<BR>ELSEIF (@ISMBR(SupplierYY, Supplier YX"))<BR>Postings = @Prior("Price3"->"No Region");<BR><BR>//Plant 4<BR><BR><BR>etc.....<BR><BR>ELSE<BR>Postings = 0;<BR><BR>Endif<img src="i/expressions/face-icon-small-wink.gif" border="0"><BR><BR>ENDFIX<BR><BR><BR>ALL HELP IS APPPRECIATED. THANKS<BR>

    Couple of quick suggestions:<BR>- is your Time dimension actually tagged as Time? <BR>- don't think it should matter, but your calc block is for BBL although you are calculating Postings<BR>- as a debugging step, since you are FIXing on Mar 07, try replacing <BR>@Prior("Price2"->"No Region"); <BR>with<BR>"Price2"->"No Region"->"Feb 07"; <BR><BR>If that works, then the issue is indeed @prior. But if that doesn't work, then it's related to data, block creation, order of operations, etc., something other than @prior.

  • Key bindings not working (the way I want them to)

    Hey forum,
    Annoying problem.
    In the following program the key binding doesn't work. But if you add the line that is now commented out it does work. Why? and how do I make it work without that line?
    import java.awt.event.InputEvent;
    import java.awt.event.KeyEvent;
    import java.awt.event.WindowEvent;
    import java.awt.event.WindowListener;
    import javax.swing.JButton;
    import javax.swing.JComponent;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.KeyStroke;
    public final class FrameMain extends JFrame implements WindowListener
      private JPanel main = new JPanel();
      public static void main(String[] args)
        new FrameMain();
      public FrameMain()
        super.setTitle("Test for actions");
        super.setLocation(300, 300);
        super.setSize(200, 200);
        super.addWindowListener(this);
        JButton button = new JButton("Boe");
        button.setAction(new ActionNew(this));
    //    this.main.add(button);
        this.main.getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put(KeyStroke.getKeyStroke(KeyEvent.VK_N, InputEvent.CTRL_DOWN_MASK, true), "ActionNew");
        this.main.getActionMap().put("ActionNew", new ActionNew(this));
        super.setContentPane(this.main);
        super.setVisible(true);
      public void windowClosing(final WindowEvent event)
        System.exit(0);
      public void windowIconified(final WindowEvent event)
      { /* nothing */ }
      public void windowOpened(final WindowEvent event)
      { /* nothing */ }
      public void windowClosed(final WindowEvent event)
      { /* nothing */ }
      public void windowDeiconified(final WindowEvent event)
      { /* nothing */ }
      public void windowActivated(final WindowEvent event)
      { /* nothing */ }
      public void windowDeactivated(final WindowEvent event)
      { /* nothing */ }
    import java.awt.event.ActionEvent;
    import javax.swing.AbstractAction;
    import javax.swing.JOptionPane;
    class ActionNew extends AbstractAction
      private FrameMain parent = null;
      public ActionNew(FrameMain main)
        this.parent = main;
      public void actionPerformed(ActionEvent arg0)
        JOptionPane.showMessageDialog(parent, "Boe");
    }

    I found the bug. In my main program I serialized the KeyStrokes to file using xstream (http://xstream.codehaus.org/). This seemed to work fine, the files were written and read without error, the deserialized objects all existed and had the right settings (printing the same output with toString()). But apparently there is still a problem. I replaced the xstream code with ObjectOutputStream and ObjectInputStream and the bug disappeared.
    Too bad I can't use this library now, I really liked the XML.

  • My phone is not working the way it did before the manditory iOS 7 update.

    My phone is not working the way it did before the manditory iOS 7 update.  It freezes, it lags, I get kicked out of my apps, my messages do not send half of the time, I can't view the pictures in my camera roll if I enlarge them, and the phone glitches randomly.  How can this be fixed or what do I need to do to get it replaced??

    The Basic Troubleshooting Steps are:
    Restart... Reset... Restore from Backup...  Restore as New...
    Restart / Reset   >  http://support.apple.com/kb/ht1430
    Restoring  >  http://support.apple.com/kb/HT1414
    If you try all these steps and you still have issues... Then a Visit to an Apple Store or AASP (Authorized Apple Service Provider) is the Next Step...
    Be sure to make an appointment first...

  • Ever since I downloaded the new iOS 7 my screen will not turn up and down and it rotates on its own side to side.it will not face the way I want it to go. How do I fix it?

    Ever since I downloaded the new iOS 7 my screen will not turn up and down and it rotates on its own side to side.it will not face the way I want it to go. How do I fix it?

    I've been working on this all day!!! I've tried everything I know of and can't get it to load either. Sounds like lots of people are having problems. Here is what I have so far...I have uninstalled EVERYTHING on my pc from apple and reinstalled itunes to no avail. I have tried all sorts of things I've read as fixes online. NOTHING has worked. Here is something interesting that i have noticed though. my main pc (which is the one i have always managed my itunes account with for years) is a 32 bit system running windows 7. Yesterday I installed itunes for the first time on my new netbook which is a 64 bit (windows 7) system and it works just fine. i have three other laptops (all window 7) in my household that are all 64 bit operating systems and ALL have updated to 10.5 and THEY ALL work fine. this is FOUR 64 bit systems ALL updated w/10.5 that work and ONE that is a 32 bit that will not. Can't get any help from apple. their suppot *****! I want to get someone on the **** phone or a live chat but cant. *** APPLE????? please let mw know if you find SOMETHING i can try next. I'm out of ideas and patience!

  • Videos not organized the way I want (I think)

    I FINALLY downloaded videos to my iPod, however they are not being organized the way I want. Let me explain.
    I have 32 videos purchased from iTunes, various artists, and only 1 video per artist. With audio files for artists with 1 to 3 songs I group them all into one artist called "VARIOUS" and the album is "iTunes". I delete all other information pertaining to the artist.
    I applied this same reasoning to the videos, I also numbered them 1-32 in order that I bought them. However when I go to the videos on my iPod (when it's NOT connected to my computer) all the videos are in Alphabetical order of the artist, which I THOUGHT I deleted. So when I play them they play in alphabetical order on my iPod when it's NOT connected to my computer. When I play them through my iPod connected to my computer they play in the order I organized.
    Is there something I missed? Is there a shuffle option for videos that I can't seem to find?
    Any help is GREATLY appreciated.
    60GB iPod w/Video   Windows XP  

    I checked the shuffle option and it does not work on videos, only Songs and Albums. Thinking it might be an iTunes 7.3 thing I removed that version and reinstalled the 7.2 version - same results.
    I've tried numerous things and still have the same result:
    With the iPod plugged into the computer, the videos are in the numerical order I placed them, and I can play them in that order in iTunes.
    With the iPod on its own, the videos are in Alphabetical order and play that way all the time everytime.
    UPDATE:
    For some reason I NOW have an iTunes Videos playlist in Videos>Video Playlists and they are in the order I placed them.
    Thanks for your input.

  • IChat not working the way it used to...

    Ok so I've been experiencing some stuff in iChat that I've never had happen before. Not even on my old (but lovely) PowerBook G4.
    I have a MacBook Pro 15.4" screen, 2.4 GHz, upgraded 4GB PC-5300 DDR2 RAM, 200 GB Hard Drive, with a built in Wireless N Card. I've used iChat before on my PowerBook G4 when talking to my boyfriend, and it was GREAT. We had PERFECT video feeds as well as audio. The only time it would be shaky is when someone at his house would make or recieve a phonecall (they have Vonage).
    However, since getting my new MBP, the video and audio feeds have severely decreased in quality. I mean he is always pixelated, and it's really bad if he moves quickly, the audio on his end constantly skips so instead of talking sometimes he has to type what he's saying so I can understand him and vice versa. It's also slightly delayed, more than normal anyway. It's very frustrating for both of us. We are both are running Leopard (sidenote: with my old PB I was running Panther and he had a MB that was running Tiger).
    I have Comcast internet and I own my modem. It is a Motorola SURFboard model: SB5101 and a Linksys Wireless Router WRT54G2 (I actually downgraded from an the Linksys WRT160N {MISTAKE booo!}, and I'll explain why later...)
    I had the bandwidth set to unlimited and tried limiting it to 500 after reading a few forum posts, with no change in quality. I thought it might have been my router so I exchanged that. No improvement. Tried using an ethernet cable instead of wireless, no improvement. Took my Apple back to the Best Buy where I bought it from (and coincidentally, work), no one had any suggestions. I figured then that it might be my ISP (even though I never had a problem with Comcast before using my PB), and they swear it is my computer...they also had no tech support for MAC so I didn't really take them seriously.
    Now here is where the weird part comes in. When I'm at my parents' house and I'm on iChat with my b/f we are both perfectly clear (except one time he told me that I was pixelated to him), and they have Comcast internet with (I think) a NetGear wireless router. When I'm at my friend's house and chatting with him we are, again, perfectly clear, she has Verizon internet and no idea what kind of wireless router.
    This is why I'm so puzzled as to what could be causing my iChat to act like this. It has been this way since Day 1 when I got it back in March of this year.
    The other odd thing that just recently started happening was that when him and I are connected Safari runs at SLUGGISHLY slow speeds. Never had this problem before. Any files or program updates I'm trying to download go from a few minutes to days and hours, webpages won't load due to timing out, and the second we get disconnected the files download in minutes and seconds. This only started happening about a month ago, so I don't know what could have changed to affect that.
    The only two things I haven't swapped out are my actual modem and my MBP itself. I honestly doubt it is my MBP because anywhere else I connect everything is perfect, it's only when I am home that I experience problems. So I get that something is probably either setup incorrectly or defective with my equiptment. Has anyone else been having similar problems, or at least does anyone have any suggestions? (Ralph! **hint hint** :-D) Anything from anyone would be great and extremely appreciated. I fell in love with MAC a long time ago, and iChat was one of the great perks that it gave me, and I'd love to be able to use it at it's full potential again. Thanks again! Happy MAC-ing!

    You will see a drop if the computer is doing something on line at the time you test.
    However, normally you would see a drop in both figures.
    Did you try Defcom's suggestion of setting the iChat Bandwidth Limit to 200kbps ?
    IS this device set up to only allow the computer you want to access it ?
    Do the lights flash to indicate it is Busy even when you are apparently doing nothing ?
    I am wondering if someone else is logged on to your Wireless Network ?
    9:01 PM Sunday; July 6, 2008

  • GTX 970 not working the way it should.

    Hello, I bought a msi gtx 970 yesterday but it is not working good. I can not even play league of legends without stuttering. When I play on maximum settings it says 60 fps, but in fact it is stuttering. The memory clock keeps shooting up to 3506 and than goes down again, this keeps happening. When I had call of duty advanced warfare open for 10 minutes, not even being in a game, the gpu usage is 98% and the memory use is extremely high, while nothing is happening on the screen, just some menus.
    All drivers are downloaded and previous drivers from my old video card are removed.
    These are my pc specs.
    i5 760 @ 2,8 GHz
    msi gtx 970
    8gb DDR3 RAM
    Asustek V-P7H55E motherboard
    Windows 8.1 64 bit
    Hope someone can help me out.

    Quote from: Nichrome on 09-February-15, 22:57:36
    My current 780Ti is getting bottleneck by the CPU I have.. so even worse would be if I'd have 970 or 980..
    That's because yours is the T version. It's not even nearly as good as the normal 4670 or K version.
    Actually, it the lowest of the versions. Even S version would be better.
    With normal 4670 and 4670K you wouldn't be getting bottleneck.
    Quote from: lucas-1996 on 09-February-15, 22:07:05
    I have one more question. I cant really decide if I shall get the i5-4690k for my new motherboard or the i7-4790k. Is the i7 worth the 100 euro extra? I dont do things like photoshop, maybe a bit of streaming though.
    What kind of cooling you have currently, or are you using stock cooler?
    If you don't have sufficient cooler or are running stock cooler, you will need to invest on better cooling.
    In which case, get the i5 4670K and buy a new, better cooler with that 100$.
    I would recommend at least Hydro H80i if you have a free 120mm fan slot in the case.
    If not, get the BeQuiet! Dark Rock Pro 3 or similar.

  • Copy Cell not working the way it did in Numbers '08

    It seems that Numbers '09 changes the way things get copied and its ruining my work process. I've got a spreadsheet with video timecode and transcriptions in it that I'm doing a rough paper edit in and then copying the timecode into Final Cut Pro.
    In Numbers '08 if you select a cell and copy, the text inside gets copied as formatted text. So when pasting into Final Cut, I'd get this:
    00:00:07:20
    But in Numbers '09, I get this:
    Unnamed Table
    00:00:07:20
    And if I paste it into TextEdit, it pastes the cell as a cell of a table with the name Unnamed Table above it.
    That being said, when I just tried to write this post up, I pasted the cell into this form box and it looked like this:
    00:00:07:20
    So, it would seem that if you are pasting into a plain text area it pastes the basic text, but if you're pasting into a rich text formatted box, it will try to paste a Table.
    I guess my problem is that the Timecode boxes in Final Cut are reading rich text when they really shouldnt be.

    One more time,
    use the script:
    Save this script as an application bundle named clipboard2text.app in:
    <starupVolume>:Users:<yourAccount>:Library:Scripts:Applications:
    Maybe you will have to create the Applications subfolder.
    Seach for the keaword Script in the Finder's Help to learn the way to activate the Menu Scripts in the menu bar.
    When you will have to paste in Final Cut Pro (or other programs)
    From Numbers copy the datas
    menu Scripts > clipboard2text
    Then paste where you want.
    set the clipboard to (the clipboard as text)
    Yvan KOENIG (from FRANCE mardi 27 janvier 2009 16:36:31)

Maybe you are looking for