TweetFollow Us on Twitter

Jul 98 Prog Challenge

Volume Number: 14 (1998)
Issue Number: 7
Column Tag: Programmer's Challenge

Jul 97 Programmer's Challenge

by Bob Boonstra, Westford, MA

Going Up?

Welcome to the Programmer's Challenge Skyscraper. Your Challenge this month is to assume control of our skyscraper's elevators and efficiently move a dedicated crew of simulated employees up and down the building.

The prototype for the code you should write is:

#if defined(__cplusplus)
extern "C" {
#endif

#define kMaxFloors 500
#define kMaxElevators 100
#define kElevatorCapacity 16

typedef enum {         /* commanded action for elevator car */
  kGoingUp=1,          /* send car up one floor */
  kGoingDown,          /* send car down one floor */
  kStoppedGoingUp,     /* stop car at an intermediate floor, car going up */
  kStoppedGoingDown,   /* stop car at an intermediate floor, car going down */
  kStoppedIdle         /* stop car, car in idle state */
} CarAction;

typedef struct CarState {
  long atFloor;        /* current location of car */
  long goingToFloor[kMaxFloors];
    /* goingToFloor[i] is the number of passengers in the car is going to floor [i] */
 } CarState;

typedef Boolean (*AdvanceTimeProc) (
                      /* return value of TRUE means Elevator should exit */
  CarAction action[kMaxElevators],  /* direction you move each elevator */
  CarState newState[kMaxElevators],  /* returns new state of each elevator */
  Boolean stopsAtFloor[kMaxFloors],
     /* stopsAtFloor[i]==TRUE means elevator stops at floor i */
  Boolean callGoingUp[kMaxFloors], 
     /* callGoingUp[i]==TRUE means a passenger on floor i wants to go up */
  Boolean callGoingDown[kMaxFloors]
     /* callGoingDown[i]==TRUE means a passenger on floor i wants to go down */
);

void Elevator(
  long numFloors,     /* number of floors in our building, < kMaxFloors */
  long numElevators,  /* number of elevators in our building, <
                         kMaxElevators */
  AdvanceTimeProc AdvanceTime  /* callback to get new state */
);
#if defined(__cplusplus)
}
#endif

Your Elevator routine will be called with the number of floors (numFloors) in our simulated skyscraper, the number of elevators (numElevators) at your command, and a callback routine (AdvanceTime). You should repeatedly call AdvanceTime, commanding an action and a set of constraints (stopsAtFloor) for each elevator car and receiving back the newState of each car. AdvanceTime will also provide an indicator of whether any prospective passengers on floor i have called an elevator to take them higher (callGoingUp[i]) or lower (callGoingDown[i]).

The newState returned by AdvanceTime provides the location of each car and the number of occupants. atFloor is the floor at which the car is now located. Our elevator passengers are extraordinarily cooperative -- on entering, they all indicate their destination by pressing the button corresponding to their floor, whether or not that floor has already been selected, allowing AdvanceTime to give you an accurate count of the passengers going to floor i (goingToFloor[i]). Our passengers are also extraordinarily swift --they exit and enter in such an orderly fashion that the passenger exchange takes place in one time step.

Each call to AdvanceTime will move all the elevators one floor in the direction you indicate. If you stop the car by setting action to kStoppedGoingUp, kStoppedGoingDown, or kStoppedIdle, passengers headed for the current floor will exit and new passengers, up to kElevatorCapacity, will enter. Almost always, passengers headed to higher (or lower) floors will only enter elevators that are kStoppedGoingUp (kStoppedGoingDown) or kStoppedIdle, but occasionally someone will be confused and enter an elevator headed in the wrong direction.

You are free to run your elevators anyway you see fit, except that a car declared to be kGoingUp (or kGoingDown) needs to continue going up (or down) until all passengers headed in that direction have exited. You can designate elevators to be express elevators by setting stopsAtFloor[i] to be FALSE for floors where this elevator does not stop. Passengers will only enter cars that will stop at their intended destination. You can change the stopsAtFloor values at any time, but you need to be careful not to strand passengers -- you can command the car to stop at any time, but the door will only open at floor i if stopsAtFloor[i] is TRUE.

The objective of this Challenge is to deliver passengers to their destinations as expeditiously as possible. You incur a cost of one point for each passenger for each time step from the time s/he presses the call button until the time s/he exits the elevator. You also incur one point for each 10 milliseconds of execution time, including the time spent by AdvanceTime. Stranding a passenger inside an elevator or not responding to an elevator call button results in disqualification of your solution. The solution that incurs the fewest points wins the Challenge. There are no storage constraints for this Challenge, except that it must execute on my 96MB 8500/200.

The Challenge will simulate a normal workday in our simulated skyscraper. People arrive at the beginning of the day either by entering the parking garage at floor 0 or by walking into the main entrance at floor 1. They work in approximately equal numbers on floors 2 through numFloors-1. During the day, they move about the building as necessary. Somewhere in the middle of the day, most of them take a lunch break, either at the cafeteria on floor 2 or by leaving the building. Nearly everyone leaves the building at the end of the day. However, as advanced as our elevators are, they don't have a clock, so you'll have to establish your strategy without knowing the time of day.

This will be a native PowerPC Challenge, using the latest CodeWarrior environment. Solutions may be coded in C, C++, or Pascal. Ernst Munter wins two Challenge points for suggesting this problem, way back in November, 1996.

Three Months Ago Winner

Congratulations to Sebastian Maurer for submitting the winning entry to the April Mancala Challenge. Sebastian won a round-robin tournament whose object was to efficiently capture the most stones in a variant of the ancient game of Mancala. In our variant of the game, the number of bowls ranged from 8 to 32, instead of the traditional 14, and players were allowed to move in either the clockwise or counter-clockwise directions. Congratulations also to JG Heithcock, whose solution actually captured more stones than Sebastian's did, but used better than 50% more execution time to do so. Both of the top solutions used an alpha-beta minmax technique to identify the best move, but Sebastian's heuristic for pruning the tree, combined with the time penalty of one stone per 100ms of execution time, gave him the higher overall score. Sebastian gained a little extra efficiency by partitioning his code into two parallel versions, one for playing first and another for playing second.

Twelve people submitted Mancala solutions, and eleven of those solutions participated in the tournament. (One solution occasionally made illegal moves, so it was eliminated to avoid unevenly affecting the scores of the other players.) The tournament consisted of seven test cases, with board sizes of 8, 12, 16, 20, 24, 28, and 32 bowls. Each solution played against each other solution twice in each test case, once playing first, and once playing second. The top solutions all used some variant of the minmax algorithm, while the lower ranking solutions used simpler heuristics, like always favoring moves that dropped the last stone into their mancala.

The table below lists the results of the tournament, with the solutions ranked in order of total points earned. It lists total execution time for the tournament, the total number of stones captured, the solution rank if execution time had been ignored, total points earned, as well as code size, data size, and programming language used. As usual, the number in parentheses after the entrant's name is the total number of Challenge points earned in all Challenges to date prior to this one.

NameTime (secs)Cum StonesRank (stones)Cum PointsCode SizeData SizeLang
Sebastian Maurer (10)54.1614764214222.403488136C
JG Heithcock85.3714897114043.26178448C++
Ken Krugler97.4514627313652.464288308C++
Randy Boring (73)59.9014055413456.028048824C
Eric Kenninga21.1013399513187.9914584894C++
Willeke Rieken (47)3.6311667611630.7440888C++
Simon Jensen-Fellows0.3311512711508.6833646147C, Res
Dennis Jones (10)2.7610383910355.412556125C++
Eric Hangstefer (9)0.05102521010251.543724124C
Ernst Munter (362)104.7611178810130.42791613C++
Josh Cooley0.279446119443.29222864C
K. H.0.00Errors120.003772104C++

Top Contestants

Here are the Top Contestants for the Programmer's Challenge, including everyone who has accumulated more than 10 points during the past two years. The numbers below include points awarded over the 24 most recent contests, including points earned by this month's entrants.

  1. Munter, Ernst 210 points
  2. Boring, Randy 70 points
  3. Cooper, Greg 61 points
  4. Mallett, Jeff 50 points
  5. Rieken, Willeke 47 points
  6. Nicolle, Ludovic 34 points
  7. Lewis, Peter 31 points
  8. Maurer, Sebastian 30 points
  9. Gregg, Xan 24 points
  10. Murphy, ACC 24 points
  11. Hart, Alan 21 points
  12. Antoniewicz, Andy 20 points
  13. Day, Mark 20 points
  14. Higgins, Charles 20 points
  15. Hostetter, Mat 20 points
  16. Studer, Thomas 20 points

There are three ways to earn points: (1) scoring in the top 5 of any Challenge, (2) being the first person to find a bug in a published winning solution or, (3) being the first person to suggest a Challenge that I use. The points you can win are:

1st place 20 points
2nd place 10 points
3rd place 7 points
4th place 4 points
5th place 2 points
finding bug 2 points
suggesting Challenge 2 points

Here is Sebastian's winning solution to the Mancala Challenge:

Mancala.C
Copyright 1998, Sebastian M. Maurer

#include <stdio.h>
#include "Mancala.h"

enum { kDefault, kPlayAgain, kGameOver };
typedef long StateOfGame;

// There are two versions of almost every routine
// so we don't have to decide at run time
// which side to play on. It speeds things up a
// little bit
// AlphaBeta1 and AlphaBeta2 are the recursive searchers
// for each of the two players. They return the value of
// best move (returned in *chosenBowl, *chosenDirection).
// For a description of Minimax and Alphabeta searches,
// see Peter Norvig's
// "Paradigms of Artificial Intelligence Programming"

#define kMaxSignedLong    0x7FFFFFFF

Prototypes
long AlphaBeta1(
  long depth,
  long board[],
  long *boardStorage,
  const long boardSize,
  long *chosenBowl,
  long *chosenDirection,
  long lowerBound,
  /* any big negative number to enter recursion */
  long upperBound      
  /* any big positive number to enter recursion */
);

long AlphaBeta2(
  long depth,
  long board[],
  long *boardStorage,
  const long boardSize,
  long *chosenBowl,
  long *chosenDirection,
  long lowerBound,
  long upperBound
);

// DropStones -- play the move
// Return true if we get to play again

Boolean DropStones1(
  long board[],
  const long boardSize,
  long bowlPlayed,
  long directionPlayed
);

Boolean DropStones2(
  long board[],
  const long boardSize,
  long bowlPlayed,
  long directionPlayed
);

// SideEmpty returns true if the side is empty
// (and the game is over)

Boolean FirstSideEmpty(
  long board[],
  const long halfBoardSize
);

Boolean SecondSideEmpty(
  long board[],
  const long boardSize
);
// Moves all the remaining stones
// to the appropriate Mancala

void RemainingToMancala(
  long board[],
  const long boardSize,
  const Boolean playerOne
);

// DoMove Drops the stones, checks if the game
// is over (if so, cleans up the board), and
// returns kGameOver, kPlayAgain, or kDefault
StateOfGame DoMove1(
  long board[],
  const long boardSize,
  long bowlPlayed,
  long directionPlayed
);

StateOfGame DoMove2(
  long board[],
  const long boardSize,
  long bowlPlayed,
  long directionPlayed
);

// Called only once from
// within Mancala
Boolean ClaimingVictory(
  long board[],
  const long boardSize,
  const Boolean playerOne
);

Mancala
Boolean Mancala(        /* return true if claiming victory */
  long board[]          /* on entry, board[i] is number of stones in bowl i */
                      /* on exit, board reflects the results of your move */
  const long boardSize,  /* number of bowls in the board, including mancalas */
  void *privStorage,    /* pointer to 1MB of storage for your use */
  const Boolean newGame,  /* true for your first move of a game */
  const Boolean playerOne,  /* true when you are the first player */
  long *bowlPlayed,        /* return the number of the bowl you played from */
  long *directionPlayed    /* return 1 if you played counter-clockwise, */
                        /* return -1 if you played clockwise */
)
{
#pragma unused(newGame)
  // Q&D way to decide how far to search
  // so that we don't lose too much time
  long depth;
  switch (boardSize)
  {
    case 8: depth = 10; break;
    case 10: depth = 8; break;
    case 12:
    case 14: depth = 6; break;
    case 16: 
    case 18: depth = 5; break;
    case 20: 
    case 22: 
    case 24: 
    case 26: depth = 4; break;
    case 28: 
    case 30: 
    case 32: depth = 3; break;
    default: depth = 1; break;
  }

  // Start recursion and play move
  if (playerOne) {
    AlphaBeta1(depth, board, (long*)privStorage,
      boardSize, bowlPlayed, directionPlayed,
      -kMaxSignedLong, kMaxSignedLong);
    DropStones1(board, boardSize,
      *bowlPlayed, *directionPlayed);
  }
  else
  {
    AlphaBeta2(depth, board, (long*)privStorage,
      boardSize, bowlPlayed, directionPlayed,
      -kMaxSignedLong, kMaxSignedLong);
    DropStones2(board, boardSize,
      *bowlPlayed, *directionPlayed);
  }
  
  // Correct to proper convention
  *directionPlayed = - (*directionPlayed);
  return ClaimingVictory(board, boardSize, playerOne);
}

AlphaBeta1
long AlphaBeta1(
  long depth,
  long board[],
  long *boardStorage,
  const long boardSize,
  long *chosenBowl,
  long *chosenDirection,
  long lowerBound,
  long upperBound
)
{
  long myMancala, hisMancala, firstBowl, halfBoardSize;
  long bowl, dir, value, bestBowl, bestDir;
  long *workingBoard;
  
  halfBoardSize = boardSize / 2;
  workingBoard = boardStorage + depth * boardSize;
  myMancala = 0;
  hisMancala = halfBoardSize;
  firstBowl = 1;
  
  for (bowl = firstBowl; bowl < hisMancala; bowl++)
    if (board[bowl] > 0)
    {
      StateOfGame result;
      long i;

      dir = -1;

      // The following trick speeds the whole program
      // up by about 1 percent... take it or leave it
      for (i = 0; i < halfBoardSize; i++)
        ((double*)workingBoard)[i] =
          ((double*)board)[i];
        
      result = DoMove1(workingBoard, boardSize,
                bowl, dir);
      if ((depth == 0) || (result == kGameOver))
        value = workingBoard[myMancala] -
              workingBoard[hisMancala];
      else
      {
        if (result == kPlayAgain)
          value = AlphaBeta1(
                depth - 1, workingBoard,
                boardStorage, boardSize,
                chosenBowl, chosenDirection,
                lowerBound, upperBound);
        else
          value = - AlphaBeta2(
                depth - 1, workingBoard,
                boardStorage, boardSize,
                chosenBowl, chosenDirection,
                - upperBound, - lowerBound);
      }

      if (value > lowerBound)
      {
        bestBowl = bowl;
        bestDir = dir;
        lowerBound = value;
        
        if (lowerBound >= upperBound)
          break;
      }

      dir = 1;

      for (i = 0; i < halfBoardSize; i++)
        ((double*)workingBoard)[i] =
          ((double*)board)[i];
        
      result = DoMove1(workingBoard, boardSize, bowl, dir);
      if ((depth == 0) || (result == kGameOver))
        value = workingBoard[myMancala] -                   workingBoard[hisMancala];
      else
      {
        if (result == kPlayAgain)
          value = AlphaBeta1(
                depth - 1, workingBoard,
                boardStorage, boardSize,
                chosenBowl, chosenDirection,
                lowerBound, upperBound);
        else
          value = - AlphaBeta2(
                depth - 1, workingBoard,
                boardStorage, boardSize,
                chosenBowl, chosenDirection,
                - upperBound, - lowerBound);
      }

      if (value > lowerBound)
      {
        bestBowl = bowl;
        bestDir = dir;
        lowerBound = value;
        
        if (lowerBound >= upperBound)
          break;
      }
      
    }
  
  *chosenBowl = bestBowl;
  *chosenDirection = bestDir;
  return lowerBound;
}

AlphaBeta2
long AlphaBeta2(
  long depth,
  long board[],
  long *boardStorage,
  const long boardSize,
  long *chosenBowl,
  long *chosenDirection,
  long lowerBound,
  long upperBound
)
{
  long myMancala, hisMancala, firstBowl, halfBoardSize;
  long bowl, dir, value, bestBowl, bestDir;
  long *workingBoard;
  
  halfBoardSize = boardSize / 2;

  workingBoard = boardStorage + depth * boardSize;
  myMancala = halfBoardSize;
  hisMancala = 0;
  firstBowl = myMancala + 1;
  for (bowl = firstBowl; bowl < boardSize; bowl++)
    if (board[bowl] > 0)
    {
      long i, result;

      dir = -1;

      for (i = 0; i < halfBoardSize; i++)
        ((double*)workingBoard)[i] =
          ((double*)board)[i];
      
      result = DoMove2(workingBoard, boardSize,
                bowl, dir);
    if ((depth == 0) || (result == kGameOver))
        value = workingBoard[myMancala] -
              workingBoard[hisMancala];
      else
      {
        if (result == kPlayAgain)
          value = AlphaBeta2(
                depth - 1, workingBoard,
                boardStorage, boardSize,
                chosenBowl, chosenDirection,
                lowerBound, upperBound);
        else
          value = - AlphaBeta1(
                depth - 1, workingBoard,
                boardStorage, boardSize,
                chosenBowl, chosenDirection,
                - upperBound, - lowerBound);
      }
      if (value > lowerBound)
      {
        bestBowl = bowl;
        bestDir = dir;
        lowerBound = value;
        if (lowerBound >= upperBound)
          break;
      }
      
      dir = 1;
      
      for (i = 0; i < halfBoardSize; i++)
        ((double*)workingBoard)[i] =
          ((double*)board)[i];

      result = DoMove2(workingBoard, boardSize,
                bowl, dir);
      if ((depth == 0) || (result == kGameOver))
        value = workingBoard[myMancala] -
              workingBoard[hisMancala];
      else
      {
        if (result == kPlayAgain)
          value = AlphaBeta2(
                depth - 1, workingBoard,
                boardStorage, boardSize,
                chosenBowl, chosenDirection,
                lowerBound, upperBound);
        else
          value = - AlphaBeta1(
                depth - 1, workingBoard,
                boardStorage, boardSize,
                chosenBowl, chosenDirection,
                - upperBound, - lowerBound);
      }

      if (value > lowerBound)
      {
        bestBowl = bowl;
        bestDir = dir;
        lowerBound = value;
        if (lowerBound >= upperBound)
          break;
      }

    }
  
  *chosenBowl = bestBowl;
  *chosenDirection = bestDir;
  return lowerBound;
}

DropStones1
/***
Boolean DropStones()
Drops stones, return true if we get to play again
***/

inline Boolean DropStones1(
  long board[],
  const long boardSize,
  long bowlPlayed,
  long directionPlayed
)
{
  long myMancala, hisMancala, firstBowl, lastBowl;
  long stonesInHand, nextBowl;

  myMancala = 0;
  hisMancala = boardSize / 2;
  firstBowl = 1;
  lastBowl = hisMancala - 1;

  stonesInHand = board[bowlPlayed];
  board[bowlPlayed] = 0;
  nextBowl = bowlPlayed;
  /* Drop stones */
  while (stonesInHand > 0) {
    nextBowl += directionPlayed;
    
    if (nextBowl == hisMancala)
      nextBowl += directionPlayed;
    else
    {
      if (nextBowl < 0)
        nextBowl = boardSize - 1;
      else
        if (nextBowl == boardSize)
          nextBowl = 0;
    }
    board[nextBowl] += 1;
    stonesInHand -= 1;
  }
  
  /* Perform capture */
  if ((board[nextBowl] == 1) &&
    (nextBowl >= firstBowl) &&
    (nextBowl <= lastBowl))
  {
    board[nextBowl] = 0;
    board[myMancala] += 
      (1 + board[boardSize - nextBowl]);
    board[boardSize - nextBowl] = 0;
  }
  
  /* Return true if get to play again */
  return (nextBowl == myMancala);
}

DropStones2
inline Boolean DropStones2(
  long board[],
  const long boardSize,
  long bowlPlayed,
  long directionPlayed
)
{
  long myMancala, firstBowl, lastBowl;
  long stonesInHand, nextBowl;

  myMancala = boardSize / 2;
  firstBowl = myMancala + 1;
  lastBowl = boardSize - 1;

  stonesInHand = board[bowlPlayed];
  board[bowlPlayed] = 0;
  nextBowl = bowlPlayed;
  /* Drop stones */
  while (stonesInHand > 0) {
    nextBowl += directionPlayed;
    
    if (nextBowl <= 0)
      nextBowl = boardSize - 1;
    else
      if (nextBowl == boardSize)
        nextBowl = 1;
    board[nextBowl] += 1;
    stonesInHand -= 1;
  }
  
  /* Perform capture */
  if ((board[nextBowl] == 1) &&
    (nextBowl >= firstBowl) &&
    (nextBowl <= lastBowl))
  {
    board[nextBowl] = 0;
    board[myMancala] +=
      (1 + board[boardSize - nextBowl]);
    board[boardSize - nextBowl] = 0;
  }
  
  /* Return true if get to play again */
  return (nextBowl == myMancala);
}

FirstSideEmpty
/*
Boolean FirstSideEmpty()
Checks to see if first side has no stones left in it
*/
inline Boolean FirstSideEmpty(
  long board[],
  const long halfBoardSize
) 
{
  long bowl;
  for(bowl = halfBoardSize - 1; bowl > 0; bowl--)
    if (board[bowl] != 0)
      return false;
  return true;
}


SecondSideEmpty
/*
Boolean SecondSideEmpty()
Checks to see if first side has no stones left in it
*/
inline Boolean SecondSideEmpty(
  long board[],
  const long boardSize
) 
{
  long bowl;
  long halfBoardSize = boardSize / 2;
  for(bowl = boardSize - 1; bowl > halfBoardSize; bowl--)
    if (board[bowl] != 0)
      return false;
  return true;
}

RemainingToMancala
/*
void RemainingToMancala()
Moves remaining stones on specified side into Mancala
*/
inline void RemainingToMancala(
  long board[],
  const long boardSize,
  const Boolean playerOne
)
{
  long mancala, firstBowl, lastBowl, bowl;

  if (playerOne) {
    mancala = 0;
    firstBowl = 1;
    lastBowl = boardSize / 2 - 1;
  } else {
    mancala = boardSize / 2;
    firstBowl = boardSize / 2 + 1;
    lastBowl = boardSize - 1;
  }  
  
  for(bowl = firstBowl; bowl <= lastBowl; bowl++)
  {
    board[mancala] += board[bowl];
    board[bowl] = 0;
  }
}


DoMove1
/***
StateOfGame DoMove()
Drops the specified stones and cleans up the board 
if the game is over.
***/

inline StateOfGame DoMove1(
  long board[],
  const long boardSize,
  long bowlPlayed,
  long directionPlayed
)
{
  Boolean getToPlayAgain;

  getToPlayAgain = DropStones1(board, boardSize,
            bowlPlayed, directionPlayed);

  if (FirstSideEmpty(board, boardSize / 2)) {
    RemainingToMancala(board, boardSize, false);
    return kGameOver;
  }
  
  if (SecondSideEmpty(board, boardSize)) {
    RemainingToMancala(board, boardSize, true);
    return kGameOver;
  }
  
  if (getToPlayAgain)
    return kPlayAgain;
  else
    return kDefault;
}

DoMove2
inline StateOfGame DoMove2(
  long board[],
  const long boardSize,
  long bowlPlayed,
  long directionPlayed
)
{
  Boolean getToPlayAgain;
  
  getToPlayAgain = DropStones2(board, boardSize,
            bowlPlayed, directionPlayed);

  if (FirstSideEmpty(board, boardSize / 2)) {
    RemainingToMancala(board, boardSize, false);
    return kGameOver;
  }
  
  if (SecondSideEmpty(board, boardSize)) {
    RemainingToMancala(board, boardSize, true);
    return kGameOver;
  }
  
  if (getToPlayAgain)
    return kPlayAgain;
  else
    return kDefault;
}

ClaimingVictory
/* Boolean ClaimingVictory()
  Only called before returning from Mancala
  Does not clean up the board
*/
Boolean ClaimingVictory(
  long board[],
  const long boardSize,
  const Boolean playerOne
)
{
  long bowl;
  long sum = 0;
  long halfBoardSize = boardSize / 2;
  
  if (FirstSideEmpty(board, halfBoardSize))
  {
    for (bowl = halfBoardSize + 1;
        bowl < boardSize; bowl++)
      sum += board[bowl];
    if (playerOne)
      return board[0] > (sum + board[halfBoardSize]);
    else
      return board[0] < (sum + board[halfBoardSize]);
  }
  if (SecondSideEmpty(board, boardSize))
  {
    for (bowl = 1; bowl < halfBoardSize; bowl++)
      sum += board[bowl];
    if (playerOne)
      return (board[0] + sum) > board[halfBoardSize];
    else
      return (board[0] + sum) < board[halfBoardSize];
  }
  return false;
}
 
AAPL
$94.72
Apple Inc.
+0.78
MSFT
$44.83
Microsoft Corpora
-0.01
GOOG
$594.74
Google Inc.
+5.27

MacTech Search:
Community Search:

Software Updates via MacUpdate

Airmail 1.4 - Powerful, minimal email cl...
Airmail is a powerful, minimal mail client.It was designed to retain the same experience with a single or multiple accounts and provide a quick, modern and easy-to-use user experience. Airmail... Read more
Macs Fan Control 1.1.12 - Monitor and co...
Macs Fan Control allows you to monitor and control almost any aspect of your computer's fans, with support for controlling fan speed, temperature sensors pane, menu-bar icon, and autostart with... Read more
A Better Finder Rename 9.37 - File, phot...
A Better Finder Rename is the most complete renaming solution available on the market today. That's why, since 1996, tens of thousands of hobbyists, professionals and businesses depend on A Better... Read more
MacBook Air EFI Firmware Update 2.9 - Fo...
MacBook Air EFI Firmware Update is recommended for MacBook Air (Mid 2011) models. This update addresses an issue where systems may take longer to wake from sleep than expected and fixes a rare issue... Read more
FileZilla 3.9.0.1 - Fast and reliable FT...
FileZilla (ported from Windows) is a fast and reliable FTP client and server with lots of useful features and an intuitive interface.Version 3.9.0.1: MSW: Fix installation issue with locked DLLs... Read more
OS X Yosemite 10.10 DP4 - Developer Prev...
Note: This is a Developer Preview. You must be a registered Apple Mac Developer to download this update. OS X Yosemite is Apple's newest operating system for Mac. An elegant design that feels... Read more
FinderPop 2.5.6 - Classic Mac utility, n...
FinderPop is a Universal preference pane that extends OS X's contextual menus using a FinderPop Items folder much as the Apple Menu Items folder used to do for the Apple menu. It has other features... Read more
SpiderOak 5.1.7 - Secure cloud backup, s...
SpiderOak is a multi-platform secure online backup, storage, access, and sharing solution engineered for the consumer and small businesses. You must first sign up to use SpiderOak. Running natively... Read more
Espionage 3.6 - Simple, state of the art...
Espionage offers state-of-the-art encryption and plausible deniability for your confidential data. Sometimes, encrypting your data isn't enough to protect it. That's why Espionage 3 goes beyond data... Read more
calibre 1.45.0 - Complete e-library mana...
Calibre is a complete e-book library manager. Organize your collection, convert your books to multiple formats, and sync with all of your devices. Let Calibre be your multi-tasking digital... Read more

Latest Forum Discussions

See All

Celebrate Summer With a Cat in the Hat L...
Celebrate Summer With a Cat in the Hat Learning Library Sale Posted by Ellis Spice on July 22nd, 2014 [ permalink ] Universal App - Designed for iPhone and iPad | Read more »
MyTaskList Review
MyTaskList Review By Jennifer Allen on July 22nd, 2014 Our Rating: :: EFFECTIVE IF PLAINUniversal App - Designed for iPhone and iPad It’s not the most stylish of task management apps, but MyTaskList has all the features you could... | Read more »
FlyCraft Herbie: Crazy Machines Review
FlyCraft Herbie: Crazy Machines Review By Jennifer Allen on July 22nd, 2014 Our Rating: :: TRICKY FLYINGUniversal App - Designed for iPhone and iPad A tough game of careful thrusting and navigation, FlyCraft Herbie: Crazy Machines... | Read more »
MTN Review
MTN Review By Jessica Fisher on July 22nd, 2014 Our Rating: :: ADORABLE, SERENE, AND AMUSINGUniversal App - Designed for iPhone and iPad MTN is an adorable, talking pet mountain that is less game and more zen garden.   | Read more »
Fly High with Ninja UP! Now Available o...
Fly High with Ninja UP! Now Available on the App Store Posted by Jessica Fisher on July 22nd, 2014 [ permalink ] Universal App - Designed for iPhone and iPad | Read more »
Bio Inc. Review
Bio Inc. Review By Nadia Oxford on July 22nd, 2014 Our Rating: :: SICKENING - IN A COMPELLING WAYUniversal App - Designed for iPhone and iPad Bio Inc is about orchestrating the medical destruction of a single person. If that doesn’... | Read more »
HELMUT Review
HELMUT Review By Andrew Fisher on July 21st, 2014 Our Rating: :: TRUNDLE SIMULATOR 2014Universal App - Designed for iPhone and iPad HELMUT is a fun, fleeting time-sink that offers a momentary distraction and nothing else.   | Read more »
Walkr Review
Walkr Review By Jennifer Allen on July 21st, 2014 Our Rating: :: ORIGINAL WALKINGiPhone App - Designed for the iPhone, compatible with the iPad Walking is a bit more exciting thanks to this planet building/discovering sim reliant... | Read more »
Zombie Commando Review
Zombie Commando Review By Jennifer Allen on July 21st, 2014 Our Rating: :: MINDLESS SLAUGHTERUniversal App - Designed for iPhone and iPad Briefly fun but ultimately forgettable, Zombie Commando will scratch an itch then be... | Read more »
Swords & Poker Adventures Review
Swords & Poker Adventures Review By Jennifer Allen on July 21st, 2014 Our Rating: :: SOULLESS POKER PLAYUniversal App - Designed for iPhone and iPad Swords & Poker Adventures is a mishmash of Poker and RPGing, but it lacks... | Read more »

Price Scanner via MacPrices.net

15-inch 2.0GHz MacBook Pro Retina on sale for...
B&H Photo has the 15″ 2.0GHz Retina MacBook Pro on sale for $1829 including free shipping plus NY sales tax only. Their price is $170 off MSRP. B&H will also include free copies of Parallels... Read more
Apple restocks refurbished Mac minis for up t...
The Apple Store has restocked Apple Certified Refurbished Mac minis for up to $150 off the cost of new models. Apple’s one-year warranty is included with each mini, and shipping is free: - 2.5GHz Mac... Read more
Twelve South HiRise For MacBook – Height-Adju...
If you use your MacBook as a workhorse desktop substitute, as many of us do, a laptop stand combined with an external keyboard and pointing device are pretty much obligatory if you want to avoid... Read more
Why The Mac Was Not Included In The Apple/IBM...
TUAW’s Yoni Heisler cites Fredrick Paul of Network World whoi blogged last week that the Mac’s conspicuous absence from Apple and IBM’s landmark partnership agreement represents a huge squandered... Read more
Save $100 on 13-inch Retina MacBook Pros, plu...
Adorama has 13″ Retina MacBook Pros on sale for $100 off MSRP. Shipping is free, and Adorama charges sales tax in NY & NJ only: - 13″ 2.4GHz/128GB MacBook Pro with Retina Display: $1199 - 13″ 2.... Read more
Blurr it 2.3 for iOS – Quickly Blurs Selected...
Hyderabad, India based TouchLabs has announced a new update of Blurr it 2.3, their photography app for iOS users. Blurr it allows you to blur part of the image to hide potentially sensitive or... Read more
MacBook Airs on sale for $100 off MSRP, start...
Best Buy has the new 2014 MacBook Airs on sale for up to $100 off MSRP on their online store. Choose free home shipping or free local store pickup (if available). Prices valid for online orders only... Read more
Amazon Announces Kindle Unlimited: Unlimited...
Amazon.com has introduced Kindle Unlimited — a new subscription service which allows customers to freely read as much as they want from over 600,000 Kindle books, and listen as much as they want to... Read more
New Linksys Wireless Range Extenders Boost Wi...
Linksys has announced its new lineup of Linksys Wi-Fi Range Extenders. Consumers often experience a weak wireless signal in some parts of their house or apartment caused by blocking elements such as... Read more
MacBook Airs available starting at $719
The Apple Store has Apple Certified Refurbished 2013 & 2012 MacBook Airs in stock today starting at $719. An Apple one-year warranty is included with each MacBook, and shipping is free: 2013... Read more

Jobs Board

*Apple* Retail - Multiple Positions (US) - A...
Sales Specialist - Retail Customer Service and Sales Transform Apple Store visitors into loyal Apple customers. When customers enter the store, you're also the Read more
*Apple* Retail - Multiple Positions (US) - A...
Sales Specialist - Retail Customer Service and Sales Transform Apple Store visitors into loyal Apple customers. When customers enter the store, you're also the Read more
Sr *Apple* Engineer - IT - Requisition #: -...
For more information about TIAA-CREF, visit our website . The Apple Engineer will provide engineering and third-level incident support for 300- 500 MacOS desktop/laptop Read more
*Apple* Systems Administrator - DISH (United...
…satellite service provider, and Dish is currently looking for an experienced Apple /Mac Systems Administrator. Apple systems administrator will be responsible for Read more
*Apple* Systems Administrator - DISH (United...
…satellite service provider, and Dish is currently looking for an experienced Apple /Mac Systems Administrator. Apple systems administrator will be responsible for Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.