Soak the bread in water, then squeeze it to remove as much water as possible. Combine it with the potatoes, garlic, and nuts in an electric food processor and process until it becomes a smooth paste. With the processor running, add the olive oil in a thin stream. Add the lemon juice, salt, and pepper to taste. Serve with pita bread and/or raw vegetables for dipping.