Reusing a dying MacBook?

I have a MacBook that has a bad screen hinge and a large crack in the case - and I don't want to pay $500 to fix it. I also have a MacBook Pro 17" that only needs a new battery, so I'm planning to migrate to that computer. My question is, what to do with the old MacBook?
Can I convert it into a media server? Do I have to remove the screen to do so, or how can I access content on the Mac/wake it up without lifting the screen? Can I put it up in my office where our gateway is, or do I need to connect it to our television? I'm thinking it would be great to access all of our movies, TV shows, and music and stream it throughout the house if that's possible.
Short of making the thing a planter, what would you do with an old MacBook?
Thanks!

The only problem you may run into later is reinstalling OS X on the computer. If the display ceases to function, reinstalling OS X may be tricky since the computer may not output video to an external display.
With that being said, if you have a bootable backup of the hard drive, you can just restore the clone to a new internal drive if the internal drive fails.
As for what to do with it, here's some information:
1) You can wake up the computer without opening the lid. If you have a USB mouse or keyboard connected, either of those can wake it up. There are also applications available that prevent the computer from sleeping when the lid is closed, such as InsomniaX: http://www.macupdate.com/app/mac/22211/insomniax
2) As long as the computer is on your home's network & the appropriate permissions have been set, you can access any of the data on the computer. You don't need to have it connected to a television. One thing to note is that HD videos don't always stream very well from one machine to another. If you have HD content, you may have to transfer it to the machine you want to view it on or connect the MacBook to a TV.
Hope that helps!
~Lyssa

Similar Messages

  • Died macbook pro dim green flashing orange macbook problems

    I have a 2010 Macbook Pro unibody 13". I have turned my macbook off in all normal steps and keeps it turned off for two days.
    But on the day when I gonne turn my macbook on, its just totally died. No battery lights. Nothing. When I connect the mag safe just show a dim green light, and sometimes its flashing orange.
    I already tried:
    -Smc reset (shift+Ctrl+option+power)
    -Push the power button for 10 sec, then put the mag safe cable while pushing for more 10 secs.
    -Take out the baterry cable and replace.
    Could it be a DC in board?
    But nothing happens. Its still totally dead.
    Could anyone help me? Any ideas?

    Hi Robzar,
    Based on the information you have provided, it appears your MacBook Pro needs to be serviced. The following link should help you get started with the process and has links with additional information on topics such as warranty and service pricing, battery replacement, and express replacement service.
    Apple - Support - Service Answer Center
    Thank you for contributing to Apple Support Communities.
    Best,
    BobbyD

  • Replacing macbook with pro, can I install FCP again?

    I'm on the verge of buying a new Macbook Pro to replace my dying Macbook, but need to know if I'll have to buy a new copy of Final Cut as well. The included documentation states that Final Cut Studio 2 can be installed on 1 laptop and 1 desktop, and I understand that one serial can't be used twice simultaneously on the same network, but is it not possible to install it for a second time on a new laptop instead? I'm not trying to trick the software or anything, it just seems ridiculous that I would have to buy a whole new copy of an incredibly expensive package just because my computer needs to be replaced. Everywhere I look people reiterate the "1 laptop and 1 desktop" allowance in the terms of agreement, but I can't tell if that's semantic or if the software actually determines what kind of computer it's being used on and communicates with a database.
    Thanks for any advice! Having to re-purchase the whole studio would be both infuriating and financially debilitating.

    If you are getting rid of your old macbook, then why would you not be able to install on a new one, as long as you delete it from you old macbook if you re-sell it.
    I'd be more worried about compatibility... Will FCP Studio 2 be compatible with a new Mac Book, I'm not sure... From a quick search I did, it seems to crash with Snow Leopard...
    You may need to purchase an upgrade. And should you purchase an upgrade, don't install the old version first, just have the serial # ready.

  • Mooing problem on my Macbook...

    Recently, I realized that the mooing problem has turned into a constant growl... it would growl when the temperature gets high (starting around the low 70C or so)..
    Oh, i forgot to mention that after I added the thermo paste, the overall temperature lowered for about 10C, excellent!
    Ok, back to the topic, the mooing turning growling problem.. would it be wise to apply some WD-40 at the fan, will it reduce the friction of the fan when it spins at low speed (the moo/growl problem)?
    anyone?

    Recently, I realized that the mooing problem has
    turned into a constant growl... it would growl when
    the temperature gets high (starting around the low
    70C or so)..
    Oh, i forgot to mention that after I added the thermo
    paste, the overall temperature lowered for about 10C,
    excellent!
    Ok, back to the topic, the mooing turning growling
    problem.. would it be wise to apply some WD-40 at the
    fan, will it reduce the friction of the fan when it
    spins at low speed (the moo/growl problem)?
    anyone?
    My new MacBook arrived yesterday. As I was using Migration Assistant to move accounts from a PBG4 to the new MacBook, I heard the ominous Mooing (I guess the computer was working hard to do the migration). I then start a software update and then teh mooing continued. A quick check took me to this discussion. I called Apple and they agreed that I should bring it in to a repair centre so that is where it is at right now. If the fan is not a Sunon, I hope that they will replace it and all will be fine. The mooing was certainly disconcerting and annoying!
    iMac, eMac, PPCG4, PBG4, iBook (died), MacBook   Mac OS X (10.4.7)  

  • I want to have my iTunes play lists and play counts on my new MacBook Air

    I want to have my iTunes play lists and play counts on my new MacBook Air transferred over from my old (4 years and dying) MacBook Air.
    Thanks for any and all help.

    Copy the entire iTunes folder including the iTunes library file from your old Mac to the same Music folder on your new Mac. Then down the Option key while launching iTunes and select the copied iTunes folder. That should get you all your  playlists, playcounts etc.; those are stored in that iTunes library file.
    Regards.

  • Defekte MacBook Pro Batterie

    Hallo zusammen,
    nun gehöre ich also auch zu dem stetig wachsenden Kreis unzufriedener Apple Kunden. (Kunde seit Zeiten des Apple IIe).
    Der Akku meines MacBook Pro 15" Late 2008 hat sich dermaßen aufgebläht, dass sich das Batteriefach nicht mehr vollständig schließen lässt.
    Das Trackpad hat aufgrund des Drucks keinen Klickpunkt mehr.
    Nachdem ich mehrere Foren im Internet durchsuchte war ich eigentlich guten Mutes, dass Apple diesen offensichtlichen Konstruktionsfehler kulant behandeln würde.
    Oh naiver Geist!
    Ein Anruf bei Apple Care belehrte mich schnell eines Besseren. Der Angestellte gab auf meine Frage nach einem Konstruktionsfehler diesen auch indirekt zu, biss sich jedoch auch schnell auf die Zunge, als er dies bemerkte.
    Das Aufblähen wurde mir auch als Sicherheitsfeature verkauft, welches ein Explodieren und Auslaufen des Akkus verhindern soll. Vielen Dank.
    Mir ist durchaus bewusst, dass ein Akku seine Leistung mit der Zeit verliert. Mein Akku lieferte noch genügend Kapazität um ca. eine Stunde gut mit dem Rechner zu arbeiten. Durch das starke Ausbeulen ist dies nun nicht mehr möglich. Die Braunfärbung an einigen Stellen des Akkus lässt mich auch vorsichtig werden. Vielleicht ist dies auch nur ein Indikator, dass das Sicherheitsfeature greift.
    Der Akku hatte erst 233 Recharge Cycles. Wenn ich dieses mal spekulativ auf ein Jahr anrechne, fände ich es doch recht enttäuschend.
    Enttäuschend ist jedoch auch die undurchschaubare Kulanz dieser Firma. Scheinbar wurde ja  vielen Menschen mit genau diesen Akkuproblemen geholfen, unabhängig bereits abgelaufener Garantien.
    Ich dachte immer Apple zeichne sich durch besonders hohe Verarbeitungsqualität aus.
    Was die Qualität ihrer Notebook Batterien anbelangt scheint es jedoch noch großen Nachholbedarf zu geben.
    Vielleicht reicht auch meine geistige Kapazität nicht aus, um die Qualität eines Akkus zu bewerten, der ein oben angesprochenes "Sicherheitsfeature" überhaupt benötigt.
    Vielleicht sollte ich den Akku ja auch einfach weiterbenutzen, das Sicherheitsfeature wird ja schlimmere Folgen verhindern...

    hahaha!
    Nun, ich kann Ihnen sagen, ich bin definitiv nicht ein Apple Mitarbeiter. Dies ist ein Forum für Anwender, hilft dem Benutzer nur die. Die einzige von Apple Mitarbeiters sind Hosts, die nur moderate, um sicherzustellen, kein Missbrauch / Vereidigung statt. Aber sie sind eindeutig als Hosts / Apple Mitarbeiter identifiziert.
    Anyway, ich habe zu viel Zeit zu diesem Thema verbracht. Es ist 75 € - 150 € zu reparieren. Wenn Sie mögen das nicht, werfen Sie die Macbook Pro in den Mülleimer und einen PC kaufen. Simple.

  • Desperaqtly need help

    Object-Oriented Programming Fundamentals
    Semester 1, 2008
    Assignment 2
    Due Date: 9.30am, 19th May 2008
    Delays caused by computer downtime cannot be accepted as a valid reason for a late submission without penalty. Students must plan their work to allow for both scheduled and unscheduled downtime.
    Submission Details
    You must submit an electronic version of your assignment on latcs6 using the submit command. Ensure you submit all required files. Files should be submitted one file at a time. For example, the file GamesDriver.java would be submitted with the command:
    > submit OOF GamesDriver.java
    This is an individual assignment. You are not permitted to work as a group when writing this assignment.
    Copying, Plagiarism: Plagiarism is the submission of somebody else?s work in a manner that gives the impression that the work is your own. The Department of Computer Science and Computer Engineering treats plagiarism very seriously. When it is detected, penalties are strictly imposed. Refer to the unit guide for further information and strategies you can employ to avoid a charge of academic misconduct. All reports and source code will be electronically checked for plagiarism.
    Return of Assignment: You will receive a marking sheet with a mark break down within three weeks of submission.
    Please Note: While you are free to develop the code for this assignment on any operating system, your solution must run on the latcs6 system.
    Assignment Objectives
    This assignment requires analysis, design, implementation and testing of a problem with four (plus one bonus) distinct tasks. Its general aims are:
    ?     to design programs that conform to given specifications
    ?     to implement programs in Java
    ?     to practise combining multiple classes and methods into a whole program.
    Problem Description
    Computer games are one of the most popular uses of home computers. The development of popular commercial computer games involves large programming projects that take many months, if not years, to complete and employ many programmers. This assignment involves developing several simple games within the context of a text-based menu system to demonstrate a number of programming principles used in large games as well as in many other types of software.
    Task 1
    In Task 1, you are simply required to set up the framework of the program. In a launcher class called GamesDriver, first create a method that displays the following menu to the screen (exactly as shown).
    GAMES MENU
    E) Elimination
    C) Calculator 21
    G) Crag
    Y) Yacht
    Q) Quit
    Please select a game:
    Next, create a method that repeatedly displays this menu, and prompts the user for a choice. For each of the choices, a separate method should be called. If the user chooses ?Q?, the program should terminate. If the user inputs any invalid choice, the method should notify the user that it was an invalid choice and display the menu again. The input should not be case sensitive; e.g. to go to the Yacht menu the user can enter either uppercase ?Y? or lowercase ?y?.
    For each choice ?E?, ?C?, ?G? and ?Y?, the program must call an appropriate method. Each of these methods will allow the user to play the appropriate game. After the game is completed, it will then ask the user if they wish to play the game again:
    Would you like to play a new game?
    [N]ew game
    [Q]uit
    At the moment, the games have not been written and therefore these methods should display a message to the user that the game is not implemented. As you complete Tasks 2 to 5, update the methods to call the appropriate games. Note that in the game of Elimination the player either wins or loses. In the case that they lose the game, they should be asked if they want to replay the same game:
    Would you like to play the game again or play a new game?
    [P]lay again
    [N]ew game
    [Q]uit
    If they won the game, then the normal choice should be displayed.
    As with the main menu, the selections in all cases must be case insensitive. In all cases if the user selects Q or q they should be taken back to the main menu so that they can play a different type of game.
    Note that your code should be neat, correctly indented and documented.
    Task 2 ? Elimination
    In this task you are required to write the program code that allows a player to play a game of Elimination [1].
    In the game of Elimination the computer generates a random 5 digit integer. It is the player?s goal to reduce this number to 0 in four steps. The player is allowed to use the subtraction and division operators and 2 digit integers to complete the task.
    An example run through the game follows (user input is indicated in bold type):
    Playing Elimination ? starting value is 20580
    - 80
    - 80 = 20500
    / 50
    / 50 = 410
    /41
    / 41 = 10
    -10
    - 10 = 0
    You Win!
    The program must generate the original five digit number. It then takes input from the user for each of the four rounds. After each correct input from the player, the program shows the player?s choice and calculates and displays the new subtotal. If the user succeeds in reducing the random number to 0 then the program displays that they have won, if not, then it displays that they have lost. As discussed in Task 1, in the case that the user loses they must be given the choice of playing the same game again (that is, with the same starting value).
    The program must check numerous things in the process of playing Elimination:
    ?     The randomly generated number must have 5 digits and no leading zeroes (that is the number could not be 01234).
    ?     The user?s input must consist of two parts: an operator and a two digit number. The program must check that the first part of the input is a subtraction or division operator and that the integer is indeed a two digit number (in this case leading zeroes are allowed, the number may be between 0 and 99 inclusive). The user?s input may or may not have white space between the operator and the number.
    ?     In the case of a division operator being input, the program must check that the current value of the number divided by the specified two-digit number results in a whole number. For example, in the example above when dividing by 41, there is no remainder. If the player had entered /40 instead, there would be a remainder from that division and it would not be allowed.
    ?     In any case of error, the line of user input should be ignored and the player must enter their selection for the step again.
    Tips:      Math.random() is a useful method for generating random numbers.
    The modulus operator (%) is useful for checking whether a number is divisible by another number.
    Note that your code should be neat, correctly indented and documented.
    Task 3 ? Calculator 21
    In this task you are required to write the program code that allows a player to play a game of Calculator 21 [1].
    The game of Calculator 21 uses two dice. (Dice are small cubes with different values on each of their 6 sides. Usually these values are the numbers from 1 to 6). In most dice games, a die is thrown and the value landing face up is used in the game. Write a Die class that represents a single die (singular of dice). Each Die object is constructed with an initial face value. Code using the die class should be able to retrieve the current value showing for a die, and using another method re-throw the die.
    In Calculator 21, the user has two dice which they throw. In each round the two dice are thrown and the user must use the addition and subtraction operators and one of the two current face values to try to change a running total (which starts at 0) until it becomes 21. The aim of the game is to reach 21 in the least amount of throws.
    An example run through the game follows (user input is indicated in bold type):
    Playing Calculator 21
    You threw 4 and 5
    + 5
    + 5 = 5
    You threw 1 and 5
    +5
    + 5 = 10
    You threw 5 and 1
    +5
    + 5 = 15
    You threw 1 and 2
    + 2
    + 2 = 17
    You threw 3 and 6
    +6
    + 6 = 23
    You threw 4 and 1
    -1
    - 1 = 22
    You threw 1 and 5
    - 1
    - 1 = 21
    You Win!
    It took you 7 moves
    The program must generate and display the dice values in each round. It then takes input from the user for each of the rounds. After each correct input from the player, the program shows the players choice and calculates and displays the new subtotal. When the user succeeds in reaching 21 then the program displays that they have won and the number of moves that it took them.
    The Program must check numerous things in the process of playing Calculator 21:
    ?     The user?s input must consist of two parts: an operator and an integer. The program must check that the first part of the input is an addition or subtraction operator and that the integer entered is indeed one of the two dice values thrown in that round. The user?s input may or may not have white space between the operator and the number.
    ?     In any case of error, the line of user input should be ignored and the player must enter their selection for the step again.
    Note that your code should be neat, correctly indented and documented.
    Task 4 ? Crag
    In this task you are required to write a class called CragGame that allows a player to play a game of Crag [1].
    The game of Crag uses three dice (reuse your Die class from Task 2). There are 13 rounds in crag and the aim is to score the highest possible total value for the 13 rounds. The player has 13 different ways of calculating a round?s score but they can only use each technique once in each game. Each technique therefore will be used exactly once in each game.
    In each round the player throws three dice. They can then choose to throw any of the three dice one more time. Once they have the final face values for that round they select which technique will be used to score that round. The possible techniques are as follows:
    1.     Ones (add up all the face values displaying one ? maximum is 3)
    2.     Twos (add up all the face values displaying two ? maximum is 6)
    3.     Threes (add up all the face values displaying three ? maximum is 9)
    4.     Fours (add up all the face values displaying four ? maximum is 12)
    5.     Fives (add up all the face values displaying five ? maximum is 15)
    6.     Sixes (add up all the face values displaying six ? maximum is 18)
    7.     Odd straight (If the face values are 1, 3 and 5 score 20, otherwise score 0)
    8.     Even straight (If the face values are 2, 4 and 6 score 20, otherwise score 0)
    9.     Low straight (If the face values are 1, 2 and 3 score 20, otherwise score 0)
    10.     High straight (If the face values are 4, 5 and 6 score 20, otherwise score 0)
    11.     Three of a kind (If the face values all show the same number score 25, otherwise score 0)
    12.     Thirteen (If the sum of the face values is thirteen and all the face values are different score 26, otherwise score 0)
    13.     Crag (If the sum of the face values is thirteen and two of the face values are the same score 50, otherwise score 0)
    A partial example run through the game follows (user input is indicated in bold type):
    Round: 1
    1: Ones -
    2: Twos -
    3: Threes -
    4: Fours -
    5: Fives -
    6: Sixes -
    7: Odd Straight -
    8: Even Straight -
    9: Low Straight -
    10: High Straight -
    11: Three of a kind -
    12: Thirteen -
    13: Crag -
    Total: 0
    You have thrown:
    Die 1: 6
    Die 2: 3
    Die 3: 4
    Do you want to throw die 1 again [Y/N]: n
    Do you want to throw die 2 again [Y/N]: n
    Do you want to throw die 3 again [Y/N]: n
    The dice show:
    Die 1: 6
    Die 2: 3
    Die 3: 4
    Record this against which entry [1-13]:
    1: Ones -
    2: Twos -
    3: Threes -
    4: Fours -
    5: Fives -
    6: Sixes -
    7: Odd Straight -
    8: Even Straight -
    9: Low Straight -
    10: High Straight -
    11: Three of a kind -
    12: Thirteen -
    13: Crag -
    Total: 0
    12
    Round: 2
    1: Ones -
    2: Twos -
    3: Threes -
    4: Fours -
    5: Fives -
    6: Sixes -
    7: Odd Straight -
    8: Even Straight -
    9: Low Straight -
    10: High Straight -
    11: Three of a kind -
    12: Thirteen 26
    13: Crag -
    Total: 26
    You have thrown:
    Die 1: 4
    Die 2: 5
    Die 3: 3
    Do you want to throw die 1 again [Y/N]: y
    Do you want to throw die 2 again [Y/N]: n
    Do you want to throw die 3 again [Y/N]: n
    The dice show:
    Die 1: 4
    Die 2: 5
    Die 3: 3
    Record this against which entry [1-13]:
    1: Ones -
    2: Twos -
    3: Threes -
    4: Fours -
    5: Fives -
    6: Sixes -
    7: Odd Straight -
    8: Even Straight -
    9: Low Straight -
    10: High Straight -
    11: Three of a kind -
    12: Thirteen 26
    13: Crag -
    Total: 26
    3
    Round: 3
    1: Ones -
    2: Twos -
    3: Threes 3
    4: Fours -
    5: Fives -
    6: Sixes -
    7: Odd Straight -
    8: Even Straight -
    9: Low Straight -
    10: High Straight -
    11: Three of a kind -
    12: Thirteen 26
    13: Crag -
    Total: 29
    You have thrown:
    Die 1: 2
    Die 2: 5
    Die 3: 6
    Do you want to throw die 1 again [Y/N]: Y
    Do you want to throw die 2 again [Y/N]: y
    Do you want to throw die 3 again [Y/N]: N
    The dice show:
    Die 1: 6
    Die 2: 2
    Die 3: 6
    Record this against which entry [1-13]:
    1: Ones -
    2: Twos -
    3: Threes 3
    4: Fours -
    5: Fives -
    6: Sixes -
    7: Odd Straight -
    8: Even Straight -
    9: Low Straight -
    10: High Straight -
    11: Three of a kind -
    12: Thirteen 26
    13: Crag -
    Total: 29
    6
    Record this against which entry [1-13]:
    1: Ones 1
    2: Twos 4
    3: Threes 3
    4: Fours 8
    5: Fives 5
    6: Sixes 12
    7: Odd Straight 0
    8: Even Straight 20
    9: Low Straight 0
    10: High Straight 0
    11: Three of a kind 0
    12: Thirteen 26
    13: Crag 0
    Total: 79
    11
    The total score is 79
    The program must generate and display the dice values in each round. When you implement the Crag game use separate variables for each of the three dice. It then takes input from the user for each of the rounds. After each correct input from the player, the program shows the updated score card. Each round is labelled with its appropriate value.
    The program must do and check numerous things in the process of playing Crag:
    ?     The user makes two types of input in this game. They must enter a character ?y? or ?n? to determine whether to throw each dice again. After the face values for the dice are finalised for a round they must also select which scoring technique to use for the round. The program must check that only a ?y? or ?n? are selected when choosing to throw the dice again. The program must also check whether or not the scoring technique they select is allowed. That is that the technique number is between 1 and 13 and that the selected scoring technique has not been used already during the game.
    ?     Calculating the score with each technique may be quite lengthy. Breaking the code down into small helper methods will help to manage the tasks.
    Note that your code should be neat, correctly indented and documented.
    Bonus Task 5 ? Yacht
    (This task is not required. It is a bonus question as you will need to read ahead to cover arrays. It is possible to achieve 100% on the assignment without attempting this task. Bonus marks can carry over into any non-exam component, though it is not possible to achieve more than 100% in the total of the non-exam components.)
    In this task you are required to write a class called YachtGame that allows a player to play a game of Yacht [1].
    The game of Yacht is similar to Crag but uses five dice (reuse your Die class from Task 2). There are 12 rounds in Yacht and the aim is to score the highest possible total value for the 12 rounds. The player has 12 different ways of calculating a round?s score but they can only use each technique once in each game. Each technique therefore will be used exactly once in each game.
    In each round the player throws five dice. They can then choose to throw any of the five dice two more times. Once they have the final face values for that round they select which technique will be used to score that round. The possible techniques are as follows:
    1.     Ones (add up all the face values displaying one ? maximum is 5)
    2.     Twos (add up all the face values displaying two ? maximum is 10)
    3.     Threes (add up all the face values displaying three ? maximum is 15)
    4.     Fours (add up all the face values displaying four ? maximum is 20)
    5.     Fives (add up all the face values displaying five ? maximum is 25)
    6.     Sixes (add up all the face values displaying six ? maximum is 30)
    7.     Little straight (If the face values are 1, 2, 3, 4 and 5 score 15, otherwise score 0)
    8.     Big straight (If the face values are 2, 3, 4, 5 and 6 score 20, otherwise score 0)
    9.     Full house (If three of the face show the same number and the other two face values show the same number add up all the face values, otherwise score 0 (eg. 3, 3, 2, 3, 2 would score 13))
    10.     Four of a kind (If four of the dice show the same number, add up the four face values of the similar dice, otherwise score 0 (e.g. 2, 2, 2, 3, 2 would score 8))
    11.     Choice (Any face values are allowed, add up the face values)
    12.     Yacht (If all five of the dice show the same number score 50,, otherwise score 0)
    The first round from an example game follows (user input is indicated in bold type):
    Round: 1
    1: Ones -
    2: Twos -
    3: Threes -
    4: Fours -
    5: Fives -
    6: Sixes -
    7: Little Straight -
    8: Big Straight -
    9: Full House -
    10: Four of a Kind -
    11: Choice -
    12: Yacht -
    Total: 0
    You have thrown:
    Die 1: 2
    Die 2: 1
    Die 3: 4
    Die 4: 2
    Die 5: 2
    Do you want to throw die 1 again [Y/N]: n
    Do you want to throw die 2 again [Y/N]: y
    Do you want to throw die 3 again [Y/N]: y
    Do you want to throw die 4 again [Y/N]: n
    Do you want to throw die 5 again [Y/N]: n
    You have thrown:
    Die 1: 2
    Die 2: 4
    Die 3: 6
    Die 4: 2
    Die 5: 2
    Do you want to throw die 1 again [Y/N]: n
    Do you want to throw die 2 again [Y/N]: y
    Do you want to throw die 3 again [Y/N]: n
    Do you want to throw die 4 again [Y/N]: n
    Do you want to throw die 5 again [Y/N]: n
    The dice show:
    Die 1: 2
    Die 2: 3
    Die 3: 6
    Die 4: 2
    Die 5: 2
    Record this against which entry [1-12]:
    1: Ones -
    2: Twos -
    3: Threes -
    4: Fours -
    5: Fives -
    6: Sixes -
    7: Little Straight -
    8: Big Straight -
    9: Full House -
    10: Four of a Kind -
    11: Choice -
    12: Yacht -
    Total: 0
    2
    The program must generate and display the dice values in each round. When you implement the Yacht game you must use an array to store the five dice. It then takes input from the user for each of the rounds. After each correct input from the player, the program shows the updated score card. Each round is labelled with its appropriate value.
    The program must do and check numerous things in the process of playing Yacht:
    ?     The user makes two types of input in this game. They must enter a character ?y? or ?n? to determine whether to throw each dice again. After the face values for the dice are finalised for a round they must also select which scoring technique to use for the round. The program must check that only a ?y? or ?n? are selected when choosing to throw the dice again. The program must also check whether or not the scoring technique they select is allowed. That is that the technique number is between 1 and 12 and that the selected scoring technique has not been used already during the game.
    ?     Calculating the score with each technique may be quite lengthy. Breaking the code down into small helper methods will help to manage the tasks.
    Note that your code should be neat, correctly indented and documented.
    Marking Scheme Overview
    You must demonstrate your program to a marker during your lab class in Week 13 of semester. This is compulsory, and you will receive 0 for the implementation if you do not demonstrate your program.
    Implementation (Execution of code) 70% (Do all parts of the programs execute correctly? Note your programs must compile and run to carry out this implementation marking. )
    Code Design and Structure 20% (Does the program conform to specifications? Does the program solve the problem in a well-designed manner? Does the program follow good programming practices?)
    Layout and Documentation of Code 10% (Does the indentation of the code follow the Coding Standard? Do the identifiers conform to this standard? Does the code contain appropriate comments?)
    Task 5 bonus marks 20% (Does task 5 perform correctly?)
    References:
    Gyles Brandeth, Everyman?s Indoor Games, Dent Publishing, London, 1981.
    Walter Savitch, Java: An introduction to Computer Science and Programming (Third Edition), Pearson Education, 2004.
    This assignment constitutes 15% of your overall mark in CSE1OOF.
    this is a programm for my assignment i am totally unaware of the assignment as i am really in deep trouble can anybody please help me to complete my assignment it will really help me to pass in my finals please help me

    JoachimSauer wrote:
    I don't want to give the impression that I find the OPs behaviour to be ok, but did anyone (google for and) look at the Class he takes?
    [Look here|http://udb-iasprd.latrobe.edu.au/udb1subprd_public/publicview$p_subjects.queryview?P_SUBJECT_CODE=CSE1OOF&P_SUBJECT_OFFER_YEAR=2008&Z_CHK=54500&P_SUBJECT_CODE_1=CSE1OOF&P_SUBJECT_NAME=&P_SEMESTER=&P_YEAR_LEVEL=&P_FACULTY=&P_CAMPUS=&P_DISCIPLINE_CODE=&P_SUBJECT_OFFER_YEAR_1=2008&Z_START=&Z_ACTION=NEXT]
    Unit Description: Students are introduced to computers, object-oriented concepts and programming using Java. Students also gain a working
    knowledge of the Unix operating system. Topics covered include classes and objects, primitive data types, flow of control, methods, basic
    input/output and arrays. Software engineering principles are introduced, including coding standards, class design and testing strategiesand
    Class Requirements: two 1-hour lectures, one 2-hour laboratory class and one 1-hour practice class per week for 12 weeksSo they have 4 hours-per-week for 12 weeks to learn:
    * Introduction to computers
    * object-oriented concepts
    * programming using Java
    * working knowledge of UNIX
    * sofware engineering principles
    * coding standards
    * class design
    * testing strategies
    And I thought Java-in-21-Days was bad ...As this looks pretty familiar with a standard university course/class Im gonna take a shoot at guessing it is.
    That means if it is, that those 4hours a week is nothing compared to what the student taking the course is really ment to be putting down into the course. I.e. those 4hours are just the hours covered by teachers assistanse and guidance, the rest of the work is to be done by the student by him/her self, just at like any other university course/class(atleast of those Ive taken so far).
    We(at my univ) are expected to put down about 20hours a week per course reading two courses at the time, which makes an full 40 hour a week. What I mean is that besides those 4 hours a week the student is supposed to be putting down atleast another 16hours of work a week. This makes such an course totally possible to make! BUT! deffenetly impossible to just "fix" when theres like 2 weeks left of the course like in this case..
    Summary; not 4 hours a week, 20hours+ a week!
    edit: sry for being unclear hope u get the point..
    Edited by: prigas on May 5, 2008 2:34 PM

  • I've searched and read 4gb vs 8gb discussions, but still need help.

    Hi again,
    I've done my due dilligance by searching and reading all discussions related to this matter- but I still have a question.
    I've decided on the 13" Air, 15, 256gb.  My last decision is the ever so debated 4gb vs 8gb.
    From ALL of the discussions I've read (here and elsewhere online) 4gb seems to be enough for the average person, and some have even tested the capacity by opening 16 applications and programs.  Most of the responders are also saying 4gb is enough "if you want to keep the computer 2-3 years".  Well- what if I'd like mine to last 5-7 years?  (I'm working on a 2006 dying MacBook Pro currently with 2gb memory and a 100gb harddrive). 
    This is a HUGE purchase for me, as I do not have money to spend often on replacing big ticket items.  I'd like to NOT spend the extra $136 unless I need to, to make this machine last longer than 3 years. 
    Thank you!  This community has been a great help to me today

    Since cost seems to be an issue for you, between the 128 and the 256,....go with the 128 and the 8 GIG of memory,.....such as you have detailed, it would be a better choice given what you have well explained what you want out of you computer. Just pack around a super slim HD 500GB drive in the laptop bag with your air,..they’re only 7mm thick HD, much thinner than the AIR.
    I have an 13” I5 128 gig, and have nearly ever APP imaginable installed, and still have 82 Gig of wiggle room for editing, and other space needed for work.
    IF ASKED which is the better upgrade choice for the money,….256 upgrade, or the 8GIG of memory, most here will agree that it’s the 8gig of memory.
    HD space is extremely cheap (except inside the AIR, its SSD). If you don’t mind packing around a tiny HD, 65$ will get you 1TB, or 500GB in a superslim HD

  • Time until full keeps increasing on charge.

    I've just replaced my dying Macbook battery with a 3rd party Anker battery. It came half charged and seems to work fine but when I started charging it, the charge% goes up slowly but the Time until Full increases as well. So before it was at 50-something% and "1:30 until full". Now it's at 86% and "2:01" until full.
    Do I need to worry? Calibrate? Is the battery a dud?
    Thanks!

    Try D4 in the 1st linked article
    Time Machine Troubleshooting
    Time Machine Troubleshooting Problems

  • New MacMini + Old FireWire = Sad face

    I just bought a new Mac Mini to replace my dying MacBook Pro (both 10.6.3). Once I got a FireWire 800->400 converter pigtail, everything transferred over OK using Target Disk mode from the old Mac, so I know that the FireWire is working. However, the MacMini doesn't see two of my older FireWire peripherals: a LaCie external drive and my Mackie Onyx Satellite audio I/O unit. They don't show up at all, even in System Profiler. Just to verify, I brought the LaCie drive into work and hooked it up to an older Mac I have here, and it's behaving fine.
    Anybody got any insight?

    OK, half the problem is solved. I did a little sniffing around and discovered that there was no FireWire Audio support installed. For some goofy reason, it apparently isn't included in a 10.6 installation. (The extension is called "AppleFWAudio".) I signed on to the Apple Developer site and downloaded the FireWire developer package, which includes a folder called FireWireAudio inside FireWireComponents inside FireWireSDK26. In there we can find several different AppleFWAudio extensions. Installing the experimental AppleFWAudio-2.4.1fc1 driver appears to have fixed my Onyx audio problem.
    Still no answer on the LaCie drive. I've opened a trouble ticket with LaCie.

  • Magic Trackpad issue with Windows 7 Boot Camp

    Hi, I just cannot get the the magic trackpad to work with bootcamp in indows 7.
    1) is it compatible?
    2) I have already updated bootcamp to the latest version, installed driver software. It detected the trackpad once and worked but than on reboot just does not work, and also now cannot detect it. Works fine in Mac OSX. Any help is appreciated.

    I came across this problem today after buying a Magic Trackpad to replace my dying macbook laptop pad - all of the symptoms above. First I added a USB mac mouse, which at least gave me some control! Then I got a lucky break when the laptop discovered the Trackpad (it did it 1/4 times roughly), I quickly double clicked the icon for the 'wireless mouse' it thought the device was. This kicked off Windows 7 retrieving a driver from the web for the actual device (Magic Trackpad), just the same as the process for adding a Mac USB mouse to the Windows environment. I now have it working fine - although it seems I still have the same problem that inspired me to buy the new pad (left click in Minecraft just keeps going on its own, sometimes stoppable with a second click but destructive in the meantime ;-). May be a Minecraft problem, everything else works fine. Now I have a mouse, a half working pad on the laptop, and a working Magic Trackpad. Recipe for some hardware confusion.

  • HT1536 .AVI codecs that support retina display.

    Is there one that works?

    All was fine until the organiztion's PC went south (10years old). I am covering with my personal equipment until a replacement can be approved and aquired. As fate would have it I just recently replaced my dying MacBook Air with a !3' Retina MacBookPro.
    Thanks for the apmplifying info. This is a "horse of a different color." Had thought you were referring to the "Retina" iPad. Platform display type should not make a difference, Mac OS X version, QT player version, and compression format(s) used in the AVI container make all the difference in the world here.
    Basic question is whether or not you have installed Perian and the QT 7 player app on the new system. Perian plus the QT 7 player basically support most AVI compression formats currently compatible with Mac OS X operating systems. Remember AVI is a legacy file format that has not been supported by Microdoft for more than 11 years. Some PC codecs have never been transcoded for OS X or Mac Intel platform use, some AVI files simply cannot be played by the QT players.
    I have been unable to get .avi video to play on the MacBook using QuickTime Player and Flip4Mac. Neither currently supports .AVI for Retina is my understanding. I am looking for a temporary solution to just time play .AVI files once and done.
    The real question is "what compression formats are you trying to play?" and "in which QT player on your new system?" If both QT 7 and Perian are installed and if the QT X player cannot play the AVI file natively, it will normally ask the user if he or she wants to play the file in the QT 7 player. To further complicate matters, since the introduction of Lion, Apple has, by default, turned off legacy codecs used by the embedded QT structure which were normally used natively for AVI export.
    If playback is all you are interested in, then VLC can be used for this purpose since it includes its own codec resources within the app. The QT 7 player plus the Perian codec package provides similar playback capabilities. On the other hand, if you want to play and/or convert common AVI codec content to QT compatible files without purchasing a commercial conversion app, then you can use Perian (for decoding) and either QT 7 Pro ($29 USD) or the free MPEG Streamclip app (for encoding to any available export codec for which your system is configured).

  • Recovering files from an inprogress sparse bundle?

    Brief tale of woe:
    I had an unfortunate experience with a Time Capsule backup that TM reported as successfully completed but which upon inspection turns out to be inprogress, aka incomplete. This may have been due to a TC hardware defect, a dying MacBook HD or problems caused by VMWare fusion. Regardless the TC is now dissected (long but irrelevant story) and the sparsebundle was copied block-by-block to a different EHD. DiskUtility gives it a clean bill of health. The sparsebundle is just over 66 gig in size, which is about right.
    Here's the question -- an inprogress sparsebundle won't mount properly, so how can I extract any files from the bands? Happy to use third-party tools if necessary or even send it out for data recovery if necessary.
    Migration Assistant has been no help -- when it gets to the 'select your disk' screen it just hangs. Console message is
    11/5/10 9:27:44 AM Migration Assistant[14291] Couldn't get a connection to the migrateTool after 1 attempt.
    All suggestions as to how to salvage anything out of my 66+ gig sparsebundle would be greatly appreciated.

    Martin's Desired Alias wrote:
    Migration Assistant has been no help
    No, since it's not a complete backup, the "Star Wars" display, Setup Assistant, Migration Assistant, and Restore your System from Backup will all just ignore it.
    There is no automated, system-supplied way to deal with a partial (ie, failed) backup.
    You should be able to right-click the "In.Progress" file and select +Show Package Contents.+ Inside the package will be a couple of folders with code names (UUIDs); inside one of them should be a set of folders & files just like on your Mac.
    You may be able to move/copy those files with some success, but it will be quite tedious.
    You may have permissions problems with them, too.
    Applications will be difficult; simple ones that were installed by dropping into the Applications folder should be ok. Complex apps that come with their own installers likely put other files in other places, including your system folders, so unless you know what and where all of them are, and copy them, too, the app probably won't work well, if at all. Reinstall those from their original discs.
    Make an extra-large pot of coffee, and good luck!

  • Photoshop and Firefox looking for volume that no longer exits

    A few months ago, I migrated from my dying MacBook G4 to a new Intel-based one. Since then, when I start Photoshop Elements or Firefox on the new MacBook, the application tries to access the hard drive on my old MacBook (Photoshop does this just once at startup; Firefox does this repeatedly, in patterns that I could not quite figure out yet). Unless I keep the old MacBook running on the network, the application hangs while it searches for the hard drive, and eventually displays the usual "Connection failed -- The server may not exist or it is not operational at this time. Check the server name or IP address and your network connection and try again" message. For Firefox, this is often several times in a row, so the application hangs for several minutes.
    Naturally, I have reinstalled both applications as cleanly as I could, trashing every associated file I could find. The fact that the problem occurs for both of them suggests to me that the problem is elsewhere: both probably access the same Apple component, but I do not know which.
    Any suggestion is appreciated.

    You miss understood they meant perhaps you could find someone here who had an extra license they would be willing to sell you, even if they did not use those exact words.
    If your iMac supports CS4 it would cost you the same thing more then likely.
    BTW legal or illegal if you used someone else's cross grade install it would be a waste of time as your windows serial number will not work on the Mac version. The $20 fee for the cross grade is for the Mac serial number which you can only get from Adobe but they do not sell it anymore.
    Illegal or not it would not work, the support meant perhaps you could buy a Mac license for CS2 or 3 if someone wanted to part with their license for some reason.
    Do yourself a favor upgrade to CS 4 if your iMac supports it and if not upgrade your iMac as well. You will be much happier, much more productive and it will prove more profitable.

  • Using ProcessBuilder

    Hi All,
    I am using ProcessBuilder in my java code to execute a perl script. The perl script sets up a server using the following code:
    $server = IO::Socket::INET->new( Proto => 'tcp',
    LocalPort => $PORT,
    Listen => SOMAXCONN,
    Reuse => 1);
    die "Can't setup server\n" unless $server;
    I get "Cannot setup server" message error message. The perl script runs fine and sets up a server successfully when run from the terminal. However when ProcessBuilder runs this script I get "Cannot setup server" error message. Before running the java code, I assured that the port the perl script uses is not in use.
    Is it that I cannot do this with ProcessBuilder?
    Can anyone please suggest a remedy/alternative to do this
    Thanks,
    Akhil

    I am posting my reply again in a more readable form.
    Here, is my simple Java code that forks a perl script named charniak-parser.pl
    public class MyClass {
             public static String runProcess(List<String> command, java.util.Map<String, String> env) throws Exception {
                            ProcessBuilder pb = new ProcessBuilder(command);
                            pb.redirectErrorStream(true);
                            if(env.size() != 0){
                                     java.util.Map<String, String> environment = pb.environment();
                                     environment.putAll(env);
                            Process p = pb.start();
                            BufferedReader br = new BufferedReader(new InputStreamReader(p.getInputStream()));
                            StringBuilder sb= new StringBuilder();
                            String line;
                            while((line = br.readLine())!=null){
                                     sb.append(line '\n');
                            p.waitFor();
                            return sb.toString();
               public static void main(String[] args){
                           java.util.HashMap<String, String> env = new java.util.HashMap<String, String>();
                           env.put("CHARNIAK", "project/akhil/srl/CharniakServer/parser05May26fixed");
                           String message = runProcess(Arrays.asList("nohup", "/project/akhil/srl/CharniakServer/charniak-server.pl", "&>", "charniak-server.log", "&"), env);
                           System.out.println("message: " message);
    }In the above code, I have set up an environment variable that is required by the perl script in it's execution.
    Here, is the beginning code of my perl script (charniak-parser.pl):
    #!/usr/bin/perl
    $MAXCHAR = 799;
    $MAXWORD = 400;
    $charniakDir = "$ENV{CHARNIAK}";
    $command = "$charniakDir/PARSE/parseIt $charniakDir/DATA/EN/ -K -l$MAXWORD";
    #$endProtocol = "\n\n\n";
    $endProtocol = "\n";
    $TIMEOUT = 60; # undef if no timeout
    $PORT = 4449; # pick something not in use
    #read port
    $PORT = $ARGV[0] if (scalar(@ARGV) > 0);
    use Expect;
    #create main program that will be communicating throught pipe.
    $main = NewExpect($command);
    sub NewExpect {
        my $command = shift;
        my $main;
        print "[Initializing...]\n";
        $main = new Expect();
        $main->raw_pty(1); # no local echo
        $main->log_stdout(0); # no echo
        $main->spawn($command) or die "Cannot start: $command\n";
        $main->send("<s> This is a test . </s>\n"); #send input to main program
       @res = $main->expect(undef,$endProtocol); # read output from main program
        print "[Done initializing.]\n";
        return $main;
    #server initialization matter
    use IO::Socket;
    use Net::hostent; # for OO version of gethostbyaddr
    $server = IO::Socket::INET->new( Proto => 'tcp',
                                                        LocalPort => $PORT,
                                                        Listen => SOMAXCONN,
                                                        Reuse => 1);
    die "Can't setup server: $! " unless $server;
    #end server initializationThe output of the java program is :
    [Initializing...]
    [Done initializing.]
    Can't setup server:Before running the code, I always assure that the port 4449 is free.
    If more information required, please let me know.
    Akhil

Maybe you are looking for