Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
100% found this document useful (11 votes)
36 views

Complete Download (Ebook) Learning functional data structures and algorithms learn functional data structures and algorithms for your applications and bring their benefits to your work now by Khot, Atul S.;Mishra, Raju Kumar ISBN 9781785885884, 9781785888731, 178588588X, 1785888730 PDF All Chapters

The document promotes the ebook 'Learning Functional Data Structures and Algorithms' by Atul S. Khot and Raju Kumar Mishra, which covers various functional programming concepts and data structures. It includes information on how to download the ebook and provides links to additional resources and related titles. The book aims to enhance the reader's understanding of functional programming and its applications in software development.

Uploaded by

astrozdosal
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (11 votes)
36 views

Complete Download (Ebook) Learning functional data structures and algorithms learn functional data structures and algorithms for your applications and bring their benefits to your work now by Khot, Atul S.;Mishra, Raju Kumar ISBN 9781785885884, 9781785888731, 178588588X, 1785888730 PDF All Chapters

The document promotes the ebook 'Learning Functional Data Structures and Algorithms' by Atul S. Khot and Raju Kumar Mishra, which covers various functional programming concepts and data structures. It includes information on how to download the ebook and provides links to additional resources and related titles. The book aims to enhance the reader's understanding of functional programming and its applications in software development.

Uploaded by

astrozdosal
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 55

Download Full Version ebook - Visit ebooknice.

com

(Ebook) Learning functional data structures and


algorithms learn functional data structures and
algorithms for your applications and bring their
benefits to your work now by Khot, Atul S.;Mishra,
Raju Kumar ISBN 9781785885884, 9781785888731,
https://ebooknice.com/product/learning-functional-data-
178588588X, 1785888730
structures-and-algorithms-learn-functional-data-structures-
and-algorithms-for-your-applications-and-bring-their-
benefits-to-your-work-now-11793580

Click the button below to download

DOWLOAD EBOOK

Discover More Ebook - Explore Now at ebooknice.com


Instant digital products (PDF, ePub, MOBI) ready for you
Download now and discover formats that fit your needs...

Start reading on any device today!

(Ebook) Learning Functional Data Structures and


Algorithms: Learn functional data structures and
algorithms for your applications and bring their benefits
to your work now by Atul S. Khot, Raju Kumar Mishra ISBN
https://ebooknice.com/product/learning-functional-data-structures-and-
9781785888731, 1785888730
algorithms-learn-functional-data-structures-and-algorithms-for-your-
applications-and-bring-their-benefits-to-your-work-now-7196680
ebooknice.com

(Ebook) Biota Grow 2C gather 2C cook by Loucas, Jason;


Viles, James ISBN 9781459699816, 9781743365571,
9781925268492, 1459699815, 1743365578, 1925268497
https://ebooknice.com/product/biota-grow-2c-gather-2c-cook-6661374

ebooknice.com

(Ebook) SAT II Success MATH 1C and 2C 2002 (Peterson's SAT


II Success) by Peterson's ISBN 9780768906677, 0768906679

https://ebooknice.com/product/sat-ii-success-
math-1c-and-2c-2002-peterson-s-sat-ii-success-1722018

ebooknice.com

(Ebook) Learning F# Functional Data Structures and


Algorithms by Masood, Adnan ISBN 9781783558476, 1783558474

https://ebooknice.com/product/learning-f-functional-data-structures-
and-algorithms-36703230

ebooknice.com
(Ebook) Matematik 5000+ Kurs 2c Lärobok by Lena
Alfredsson, Hans Heikne, Sanna Bodemyr ISBN 9789127456600,
9127456609
https://ebooknice.com/product/matematik-5000-kurs-2c-larobok-23848312

ebooknice.com

(Ebook) Master SAT II Math 1c and 2c 4th ed (Arco Master


the SAT Subject Test: Math Levels 1 & 2) by Arco ISBN
9780768923049, 0768923042
https://ebooknice.com/product/master-sat-ii-math-1c-and-2c-4th-ed-
arco-master-the-sat-subject-test-math-levels-1-2-2326094

ebooknice.com

(Ebook) Cambridge IGCSE and O Level History Workbook 2C -


Depth Study: the United States, 1919-41 2nd Edition by
Benjamin Harrison ISBN 9781398375147, 9781398375048,
1398375144, 1398375047
https://ebooknice.com/product/cambridge-igcse-and-o-level-history-
workbook-2c-depth-study-the-united-states-1919-41-2nd-edition-53538044

ebooknice.com

(Ebook) Probabilistic data structures and algorithms for


big data applications by Gakhov, Andrii ISBN
9783748190486, 3748190484
https://ebooknice.com/product/probabilistic-data-structures-and-
algorithms-for-big-data-applications-9979270

ebooknice.com

(Ebook) Learning JavaScript Data Structures and Algorithms


by Loiane Groner ISBN 9781785285493, 1785285491

https://ebooknice.com/product/learning-javascript-data-structures-and-
algorithms-5847376

ebooknice.com
Learning Functional Data
Structures and Algorithms
Table of Contents
Learning Functional Data Structures and Algorithms
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Why subscribe?
Customer Feedback
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Why Functional Programming?
The imperative way
Higher level of abstraction
Functional programming is declarative
No boilerplate
Higher order functions
Eschewing null checks
Controlling state changes
Recursion aids immutability
Copy-on-write
Laziness and deferred execution
Composing functions
Summary
2. Building Blocks
The Big O notation
Space/time trade-off
A word frequency counter
Matching string subsets
Referential transparency
Vectors versus lists
Updating an element
Not enough nodes
Complexities and collections
The sliding window
Maps
Persistent stacks
Persistent FIFO queues
Sets
Sorted set
Summary
3. Lists
First steps
List head and tail
Drop elements
Concatenating lists
Persistent data structures
Tail call optimization
List append
List prepend
Getting value at index
Modifying a list value
Summary
4. Binary Trees
Node definitions
Building the tree
Size and depth
Complete binary trees
Comparing trees
Flipping a binary tree
Binary tree traversal
The accumulator idiom
Binary Search Trees
Node insertion
Searching a key
Updating a value
Exercising it
Summary
5. More List Algorithms
Binary numbers
Addition
Multiplication
Greedy algorithms and backtracking
An example of a greedy algorithm
The backtracking jig
Summary
6. Graph Algorithms
Reversing a list
Graph algorithms
Graph traversal
Avoiding list appending
Topological sorting
Cycle detection
Printing the cycle
Summary
7. Random Access Lists
Incrementing a binary number
Adding two binary numbers
List of tree roots
Insertion
Lookup
Removal, head, and tail
Update
Summary
8. Queues
Understanding FIFO queues
Functional FIFO queues
Invariants
Implementing a priority queue
Understanding priority queues/heaps
Leftist trees
Functional heaps
Summary
9. Streams, Laziness, and Algorithms
Program evaluation
Eager evaluation
Argument evaluation
Lazy evaluation
Lazy evaluation in Scala
Lazy evaluation in Clojure
Memoization - remembering past results
Memoization in Scala
Memoization in Clojure
Memoizing simpleFactFun
Streams
Stream in Scala
Indexing the elements of a stream
Creation of an infinite length stream
Stream is immutable
Creating a stream from another
Stream to list
Appending one stream to another
Length of a stream
Some mathematical functions of the stream class
Some more methods of the stream class
Streams (lazy sequence) in Clojure
Creating a memoized function of lazy sequences in Clojure
Some algorithms on stream
Arithmetic progression
Arithmetic progression in Scala
Arithmetic progression in Clojure
Standard Brownian motion
Standard Brownian motion in Scala
Standard Brownian motion in Clojure
Fibonacci series
First form of Fibonacci series
Second form of Fibonacci series
Fibonacci series in Scala
Fibonacci series in Clojure
Summary
10. Being Lazy - Queues and Deques
Imperative implementations
Amortization
Problem with queues
Strict versus lazy
Streams
Streams meet queues
A sense of balance
Amortized deques
Summary
11. Red-Black Trees
Terminology
Almost balanced trees
The concept of rotation
Red-Black trees
Inserting a node
The Black-Red-Red path
Left, left - red child and grand child
Left child, right grand child
Right child, right grand child
Right, left
Verifying the transformation
Complexity
Summary
12. Binomial Heaps
Binomial trees
Left child, right sibling
A binomial heap
Linking up
Inserting a value
Binary number equivalence
Merging
Find the minimum
Deleting the minimum
Exercising the code
Complexity
Summary
13. Sorting
Stable and unstable sorting
Stable sorting
Unstable sorting
Bubble sort
Scala implementation of bubble sort
Complexity of bubble sort
Selection sort
Complexity of selection sort
Insertion sort
Complexity of insertion sort
Merge sort
Splitting the sequence
Merging two sorted subsequences
Complexity of merge sort
Quick sort
Partition
Complexity of quick sort
Summary
Learning Functional Data
Structures and Algorithms
Learning Functional Data
Structures and Algorithms
Copyright © 2017 Packt Publishing

All rights reserved. No part of this book may be reproduced, stored in a


retrieval system, or transmitted in any form or by any means, without
the prior written permission of the publisher, except in the case of brief
quotations embedded in critical articles or reviews.

Every effort has been made in the preparation of this book to ensure the
accuracy of the information presented. However, the information
contained in this book is sold without warranty, either express or
implied. Neither the authors, nor Packt Publishing, and its dealers and
distributors will be held liable for any damages caused or alleged to be
caused directly or indirectly by this book.

Packt Publishing has endeavored to provide trademark information


about all of the companies and products mentioned in this book by the
appropriate use of capitals. However, Packt Publishing cannot guarantee
the accuracy of this information.

First published: February 2017

Production reference: 1170217

Published by Packt Publishing Ltd.

Livery Place

35 Livery Street

Birmingham B3 2PB, UK.

ISBN 978-1-78588-873-1
www.packtpub.com
Credits
Authors
Copy Editor
Atul S. Khot
Gladson Monteiro
Raju Kumar Mishra

Reviewer Project Coordinator

Muhammad Ali Ejaz Sheejal Shah

Commissioning Editor Proofreader

Kunal Parikh Safis Editing

Acquisition Editor Indexer

Denim Pinto Mariammal Chettiyar

Content Development Editor Graphics

Nikhil Borkar Abhinash Sahu

Technical Editor Production Coordinator

Hussain Kanchwala Shantanu Zagade


About the Authors
Atul S. Khot grew up in Marathwada, a region of the state of
Maharashtra, India. A self-taught programmer, he started writing
software in C and C++. A Linux aficionado and a command-line guy at
heart, Atul has always been a polyglot programmer. Having extensively
programmed in Java and dabbled in multiple languages, these days, he is
increasingly getting hooked on Scala, Clojure, and Erlang. Atul is a
frequent speaker at software conferences, and a past Dr. Dobb's product
award judge. In his spare time, he loves to read classic British detective
fiction. He is a foodie at heart and a pretty good cook. Atul someday
dreams of working as a master chef, serving people with lip-smacking
dishes.

He was the author of Scala Functional Programming Patterns


published by Packt Publishing in December 2015. The book looks at
traditional object-oriented design patterns and shows how we could use
Scala's functional features instead.

I would like to thank my mother, late Sushila S. Khot, for teaching


me the value of sharing. Aai, I remember all you did for the needy
girl students! Your support for the blind school - you brought hope
to so many lives! You are no more, however your kindness and
selfless spirit lives on! I know you are watching dear mother, and I
will carry on the flame till I live! I also would like to thank my
father, late Shriniwas V. Khot. Anna, I have a photo of the 'Tamra
pat'--an engraved copper plaque--commemorating your great
contribution to the country's freedom struggle. You never
compromised on core values --always stood for the needy and
poor. You live on in my memories--a hero forever! I would also
want to thank Martin Odersky for giving us the Scala
programming language. I am deeply thankful to Rich Hickey and
the Clojure community for their work on persistent data
structures. Chris Okasaki’s "Purely Functional Data Structures" is
a perennial source of inspiration and insight. I wish to thank Chris
for writing the book. This book is influenced by many ideas Chris
presented in his book. I also wish to thank the functional
programming community for all the technical writings which is a
source of continual learning and inspiration. I would love to
express my heartfelt thanks to Nikhil Borkar for all the support
through out the book writing. I also would take this opportunity to
thank Hussain Kanchwala for the detailed editing efforts to make
the book perfect. You guys are awesome! Thanks to y’all!

Raju Kumar Mishra is a consultant and corporate trainer for big data
and programming. After completing his B.Tech from Indian Institute of
Technology (ISM) Dhanbad, he worked for Tata Steel. His deep passion
for mathematics, data science, and programming took him to Indian
Institute of Science (IISc). After graduating from IISc in computational
science, he worked for Oracle as a performance engineer and software
developer. He is an Oracle-certified associate for Java 7. He is a
Hortonworks-certified Apache Hadoop Java developer, and holds a
Developer Certification for Apache Spark (O'Reilly School of
Technology and Databriks), and Revolution R Enterprise-certified
Specialist Certifications. Apart from this, he has also cleared Financial
Risk Manager (FRM I) exam. His interest in mathematics helped him in
clearing the CT3 (Actuarial Science) exam.

My heartiest thanks to the Almighty. I would like to thank my mom,


Smt. Savitri Mishra, my sisters, Mitan and Priya, and my maternal
uncle, Shyam Bihari Pandey, for their support and
encouragement. I am grateful to Anurag Pal Sehgal, Saurabh
Gupta, and all my friends. Last but not least, thanks to Nikhil
Borkar, Content Development Editor at Packt Publishing for his
support in writing this book.
About the Reviewer
Muhammad Ali Ejaz is currently pursuing his graduate degree at Stony
Brook University. His experience, leading up to this academic
achievement, ranges from working as a developer to cofounding a start-
up, from serving in outreach organizations to giving talks at various
prestigious conferences. While working as a developer at
ThoughtWorks, Ali cofounded a career empowerment based start-up by
providing photographers a platform to showcase their art and be
discovered by potential employers. His passion for computer science is
reflected in his contributions to open source projects, such as GoCD,
and his role in serving as the cofounder and Community Outreach
Director of a non-profit organization, "Women Who Code - Bangalore
Chapter". Along with this, he has also been given the opportunity to
speak at different conferences on Continuous Integration and Delivery
practices.

When he is not coding, he enjoys traveling, reading, and tasting new


cuisine. You can follow him on Twitter at @mdaliejaz.

I want to thank my Mom and Dad, who have always been my


inspiration. I’d also like to thank Ahmad and Sana, my siblings,
who have been a constant source of cheerful support. A lot of what
I am today is because of them.
www.PacktPub.com
For support files and downloads related to your book, please
visit www.PacktPub.com.

Did you know that Packt offers eBook versions of every book
published, with PDF and ePub files available? You can upgrade to the
eBook version at www.PacktPub.com and as a print book customer, you
are entitled to a discount on the eBook copy. Get in touch with us
at service@packtpub.com for more details.

At www.PacktPub.com, you can also read a collection of free technical


articles, sign up for a range of free newsletters and receive exclusive
discounts and offers on Packt books and eBooks.

https://www.packtpub.com/mapt

Get the most in-demand software skills with Mapt. Mapt gives you full
access to all Packt books and video courses, as well as industry-leading
tools to help you plan your personal development and advance your
career.

Why subscribe?
Fully searchable across every book published by Packt
Copy and paste, print, and bookmark content
On demand and accessible via a web browser
Customer Feedback
Thank you for purchasing this Packt book. We take our commitment to
improving our content and products to meet your needs seriously—that's
why your feedback is so valuable. Whatever your feelings about your
purchase, please consider leaving a review on this book's Amazon page.
Not only will this help us, more importantly it will also help others in the
community to make an informed decision about the resources that they
invest in to learn. You can also review for us on a regular basis by
joining our reviewers' club. If you're interested in joining, or would
like to learn more about the benefits we offer, please contact us:
customerreviews@packtpub.com.
Preface
This book is about functional algorithms and data structures. Algorithms
and data structures are fundamentals of computer programming.

I started my career writing C and C++ code. I always enjoyed designing


efficient algorithms. I have experienced many an Aha! moments, when I
saw how powerful and creative pointer twiddling could be!

For example, reversing a singly linked list using three node pointers is a
well known algorithm. We scan the list once and reverse it by changing
the pointer fields of each node. The three pointer variables guide the
reversal process.

I have come across many such pointer tricks and have used them as
needed.

I was next initiated into the world of multi-threading! Variables became


shared states between threads! My bagful of tricks was still valid;
however, changing state needed a lot of care, to stay away from
insidious threading bugs.

The real world is never picture perfect and someone forgot to


synchronize a data structure.

Thankfully we started using C++, which had another bagful of tricks, to


control the state sharing. You could now make objects immutable!

For example, we were able to implement the readers/writer locking


pattern effectively. Immutable objects could be shared without worry
among thousands of readers!

We slept easier, the code worked as expected, and all was well with the
world!

I soon realized the reason it worked well! Immutability was finally


helping us better understand the state changes!
The sands of time kept moving and I discovered functional
programming.

I could very well see why writing side-effect free code worked! I was
hooked and started playing with Scala, Clojure, and Erlang. Immutability
was the norm here.

However, I wondered how the traditional algorithms would look like in a


functional setting--and started learning about it.

A data structure is never mutated in place. Instead, a new version of the


data structure is created. The strategy of copy on write with maximized
sharing was an intriguing one! All that careful synchronization is simply
not needed!

The languages come equipped with garbage collection. So, if a version is


not needed anymore, the runtime would take care of reclaiming the
memory.

All in good time though! Reading this book will help you see that we
need not sacrifice algorithmic performance while avoiding in-place
mutation!

What this book covers


Chapter 1, Why Functional Programming?, takes you on a whirlwind
tour of the functional programming (FP) paradigm. We try to highlight
the many advantages FP brings to the table when compared with the
imperative programming paradigm. We discuss FP’s higher level of
abstraction, being declarative, and reduced boilerplate. We talk about
the problem of reasoning about the state change. We see how being
immutable helps realize "an easier to reason about system".

Chapter 2, Building Blocks, provides a whirlwind tour of basic concepts


in algorithms. We talk about the Big O notation for measuring algorithm
efficiency. We discuss the space time trade-off apparent in many
algorithms. We next look at referential transparency, a functional
programming concept. We will also introduce you to the notion of
persistent data structures.

Chapter 3, Lists, looks at how lists are implemented in a functional


setting. We discuss the concept of persistent data structures in depth
here, showing how efficient functional algorithms try to minimize
copying and maximize structural sharing.

Chapter 4, Binary Trees, discusses binary trees. We look at the


traditional binary tree algorithms, and then look at Binary Search Trees.

Chapter 5, More List Algorithms, shows how the prepend operation of


lists is at the heart of many algorithms. Using lists to represent binary
numbers helps us see what lists are good at. We also look at greedy and
backtracking algorithms, with lists at the heart.

Chapter 6, Graph Algorithms, looks at some common graph algorithms.


We look at graph traversal and topological sorting, an important
algorithm for ordering dependencies.

Chapter 7, Random Access Lists, looks at how we could exploit Binary


Search Trees to access a random list element faster.

Chapter 8, Queues, looks at First In First Out (FIFO) queues. This is


another fundamental data structure. We look at some innovative uses of
lists to implement queues.

Chapter 9, Streams, Laziness, and Algorithms, looks at lazy evaluation,


another FP feature. This is an important building block for upcoming
algorithms, so we refresh ourselves with some deferred evaluation
concepts.

Chapter 10, Being Lazy – Queues and Deques, looks at double-ended


queues, which allow insertion and deletion at both ends. We first look at
the concept of amortization. We use lazy lists to improve the queue
implementation presented earlier, in amortized constant time. We
implement deques also using similar techniques.
Chapter 11, Red-Black Trees, shows how balancing helps avoid
degenerate Binary Search Trees. This is a comparatively complex data
structure, so we discuss each algorithm in detail.

Chapter 12, Binomial Heaps, covers heap implementation offering very


efficient merge operation. We implement this data structure in a
functional setting.

Chapter 13, Sorting, talks about typical functional sorting algorithms.


What you need for this book
You need to install Scala and Clojure. All the examples were tested with
Scala version 2.11.7. The Clojure examples were tested with Clojure
version 1.6.0. You don’t need any IDE as most of the examples are small
enough, so you can key them in the REPL (Read/Eval/Print Loop).

You also need a text editor. Use whichever you are comfortable with.
Who this book is for
The book assumes some familiarity with basic data structures. You
should have played with fundamental data structures like linked lists,
heaps, and binary trees. It also assumes that you have written some code
in a functional language.

Scala is used as an implementation language. We do highlight related


Clojure features too. The idea is to illustrate the basic design principles.

We explain the language concepts as needed. However, we just explain


the basics and give helpful pointers, so you can learn more by reading
the reference links.

We try to site links that offer hands-on code snippets, so you can
practice them yourself.

Walking through an algorithm and discussing the implementation line by


line is an effective aid to understanding.

A lot of thought has gone into making helpful diagrams. Quizzes and
exercises are included, so you can apply what you've learned.

All the code is available online. We strongly advocate keying in the code
snippets though, to internalize the principles and techniques.

Welcome to the wonderland of functional data structures and


algorithms!
Conventions
In this book, you will find a number of text styles that distinguish
between different kinds of information. Here are some examples of
these styles and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file
extensions, pathnames, dummy URLs, user input, and Twitter handles
are shown as follows: "The following function f has a side effect,
though."

A block of code is set as follows:


user=> (def v [7 11 19 52 42 72])
#'user/v
user=> (def v1 (conj v 52))
#'user/v1

If there is a line (or lines) of code that needs to be highlighted, it is set as


follows:
scala> def pop(queue: Fifo): (Int, Fifo) = {
| queue.out match {
| case Nil => throw new
IllegalArgumentException("Empty queue");
| case x :: Nil => (x, queue.copy(out =
queue.in.reverse, Nil))
| case y :: ys => (y, queue.copy(out = ys))
| }
| }
pop: (queue: Fifo)(Int, Fifo)

New terms and important words are shown in bold. Words that you
see on the screen, for example, in menus or dialog boxes, appear in the
text like this: "Clicking the Next button moves you to the next screen."
Note
Warnings or important notes appear in a box like this.
Tip
Tips and tricks appear like this.
Reader feedback
Feedback from our readers is always welcome. Let us know what you
think about this book—what you liked or disliked. Reader feedback is
important for us as it helps us develop titles that you will really get the
most out of.

To send us general feedback, simply e-mail feedback@packtpub.com,


and mention the book's title in the subject of your message.

If there is a topic that you have expertise in and you are interested in
either writing or contributing to a book, see our author guide at
www.packtpub.com/authors.
Customer support
Now that you are the proud owner of a Packt book, we have a number
of things to help you to get the most from your purchase.

Downloading the example code


You can download the example code files for this book from your
account at http://www.packtpub.com. If you purchased this book
elsewhere, you can visit http://www.packtpub.com/support and register
to have the files e-mailed directly to you.

You can download the code files by following these steps:


1. Log in or register to our website using your e-mail address and
password.
2. Hover the mouse pointer on the SUPPORT tab at the top.
3. Click on Code Downloads & Errata.
4. Enter the name of the book in the Search box.
5. Select the book for which you're looking to download the code files.
6. Choose from the drop-down menu where you purchased this book
from.
7. Click on Code Download.

Once the file is downloaded, please make sure that you unzip or extract
the folder using the latest version of:
WinRAR / 7-Zip for Windows
Zipeg / iZip / UnRarX for Mac
7-Zip / PeaZip for Linux

The code bundle for the book is also hosted on GitHub at


https://github.com/PacktPublishing/Learning-Functional-Data-
Structures-and-Algorithms. We also have other code bundles from our
rich catalog of books and videos available at
https://github.com/PacktPublishing/. Check them out!
Downloading the color images of this book
We also provide you with a PDF file that has color images of the
screenshots/diagrams used in this book. The color images will help you
better understand the changes in the output. You can download this file
from
https://www.packtpub.com/sites/default/files/downloads/LearningFunctionDat

Errata
Although we have taken every care to ensure the accuracy of our
content, mistakes do happen. If you find a mistake in one of our books
—maybe a mistake in the text or the code—we would be grateful if you
could report this to us. By doing so, you can save other readers from
frustration and help us improve subsequent versions of this book. If you
find any errata, please report them by visiting
http://www.packtpub.com/submit-errata, selecting your book, clicking
on the Errata Submission Form link, and entering the details of your
errata. Once your errata are verified, your submission will be accepted
and the errata will be uploaded to our website or added to any list of
existing errata under the Errata section of that title.

To view the previously submitted errata, go to


https://www.packtpub.com/books/content/support and enter the name of
the book in the search field. The required information will appear under
the Errata section.

Piracy
Piracy of copyrighted material on the Internet is an ongoing problem
across all media. At Packt, we take the protection of our copyright and
licenses very seriously. If you come across any illegal copies of our
works in any form on the Internet, please provide us with the location
address or website name immediately so that we can pursue a remedy.

Please contact us at copyright@packtpub.com with a link to the


suspected pirated material.
We appreciate your help in protecting our authors and our ability to
bring you valuable content.

Questions
If you have a problem with any aspect of this book, you can contact us
at questions@packtpub.com, and we will do our best to address the
problem.
Exploring the Variety of Random
Documents with Different Content
a really first-class highly certificated magician from Cairo, or some
big town, and get him to come out and do the job. In the meantime,
as Qwaytin had told me that there were some mounds in the
Kairowin hattia, that we should go there through the eastern part of
the Farafra depression and see if they did not contain treasure.
Qwaytin had heard that they contained buildings, and so thought that
it would be a likely place for buried riches, though, as he said
lugubriously, he did not expect that we should find anything like what
we might have done if we had discovered the treasure of those three
Sultans. The following morning a rather crestfallen caravan set out
for the eastern side of Farafra.
CHAPTER XXIII

O N leaving the hill we took a road that led us towards the north.
We first rounded the western end of the scarp of the detached
plateau parallel to which we had marched on coming from Bu
Gerara, and, about two hours after our start, ascended a steepish
bank on to the top of the plateau, which here was only about fifty feet
high.
From the summit of a small hill close by, a huge cliff stretching to
the north and south, as far as it was possible to see, was visible, far
off in the east; this was evidently the eastern boundary of the Farafra
depression, and, as I afterwards discovered, the continuation of the
cliff to the north of Bu Gerara.
The scarp was too far for me to be able to see any details of its
surface, with the light behind it, and as the top of it showed as only a
straight line, there were no points on it to which I could take a
bearing.
In these circumstances it was impossible either to fix its position
or to estimate the direction in which it ran. I several times met with
this difficulty, but found that, when a cliff faced towards the south, it
was only necessary for me to wait till the sun came round far enough
to begin to light up its surface, and then a rough estimate of the
direction in which it ran could be obtained by taking a bearing on to
the sun itself. This dodge was especially useful when it was
necessary to map the continuation of a cliff, part of which had
already been surveyed and the remainder of it could only be seen
from one point, such as the top of a high hill.
The part of the Farafra depression in which we found ourselves
was an absolutely featureless plain, of hard level sand, that sloped
slightly towards the foot of the scarp on our east. Here and there we
came across patches of greenish clay, with white lines running
through it, showing above the surface of the sand.
The Persian King, Cambyses, during his occupation of Egypt,
sent a great army across the desert to destroy the oracle of Jupiter
Ammon in Siwa Oasis. The army never reached Siwa; but was lost
in the desert. Its last resting-place is unknown, but, according to
native reports, the whole host perished of thirst in this huge
depression in which the oasis of Farafra lies.
I happened to mention to Qwaytin the subject of singing sands,
and asked him if he had ever heard any. He told me that somewhere
in the north of the Farafra depression there was a rock that was
supposed to be the “church” of the spirits of the lost Persian army. It
was called the “infidel rock,” because it “sang on Sunday.” It
appeared to be some form of musical sands.
It was not until the third day after our start from the treasure hill
that we sighted in the west the field of dunes that occupies the
centre of the Farafra wady. They appeared to be almost white in
colour, and lay a long way off.
Qwaytin told me that we should reach the Kairowin hattia on our
third day after leaving his hill. It will give some idea of his utter
incompetence as a guide when I say that we did not actually get
there until two days later.
He came into my tent on the first evening and began yarning in an
aimless sort of way, as he generally did as a preliminary to serious
business, and I endeavoured to extract some information from him
as to the topography of the Bedayat country, with which he was well
acquainted.
But he at once got impatient and changed the subject to that of
his confounded hill. He ended by asking—almost demanding—that
we should go back there to have another look at it, and to make
certain that there was not another hill in the neighbourhood which
might be the one indicated in his book. On my refusing to do so, he
flounced out of the tent—he was certainly a queer customer to deal
with.
Whenever I spoke to him the next day he began gassing about his
wretched hill, and saying that he wanted to go back to it; but towards
evening he rather recovered himself, and when he came to my tent I
again threw out feelers about the country of the Bedayat, though he
declined to tell me anything about the district, he started giving me a
lot of information about the Bedayat themselves, which, as they are
an almost unknown race, proved extremely interesting.
They claim to be descended from an afrit, whom, for some crime,
either David or Solomon shut up in a box, till he grew to such an
enormous size that he burst it open. There still exists apparently a
mongrel Bedayat—Tibbu tribe, known as the M’Khiat er Rih, that
possess the miraculous power of being able to walk over sand
without leaving any tracks behind them—a most useful
accomplishment in the desert for a race of born freebooters. This
peculiarity they owe to the fact that wherever they go they are
followed by a wind that immediately obliterates their footprints!
On our fourth day after leaving the treasure hill, our road
converged towards the dunes lying on our west, and, as Qwaytin
seemed to be hopelessly lost, I climbed one of the biggest of them
with him to try and make out our position.
From the top, the east and west scarp, with a break in it leading
up to Baharia Oasis, that lies on the north of Farafra, could be seen
in the far distance, but no sign of the hattia Kairowin was visible. In
front of us, however, was a high three-headed sif, or longitudinal
sand dune, that Qwaytin declared to be the landmark for the hattia
from the south.
As we were getting very short of water, the news that the hattia
was not in sight caused something like consternation among my
men. They all started grumbling at Qwaytin’s ignorance of the road,
and Ibrahim went so far as to ask him point-blank why he called
himself a guide, if he knew so little about the desert.
This coming from a young Sudani, hardly out of his ’teens, to an
elderly Arab guide, who, moreover, was a sheykh of his tribe, was a
great ayb, and Qwaytin was intensely put out. Qway, under the
circumstances, would have retaliated with some stinging remarks on
the inferiority of “slaves” and the respect that was due from a boy to
his elders and superiors in rank; but Qwaytin lacked his ready
powers of vituperation. He was a slow-witted old curmudgeon, and
failed entirely to put Ibrahim in his place. His own men stood up for
him in a feeble sort of way. But they were no match for Ibrahim, and
eventually gave up any attempt to defend their sheykh, probably
feeling themselves that there was not much to be said in his
defence. As I rather wanted to encourage a certain amount of friction
between my men and Qwaytin’s, I left them to settle their differences
as best they could, with the result that Qwaytin and his men got
much the worst of the wrangle.
Kairowin hattia measures some eighteen miles from north to
south, by seven from east to west. It consists of a level scrub-
covered area, in which, here and there, are to be seen a few
neglected-looking palms. A number of wells have been sunk here at
various times; one on the extreme eastern edge of the hattia, where
the road coming from Assiut first enters the scrub, is known as Bir
Murr. This well, which I did not visit, is said to be sanded up. Another
well somewhere to the north, I believe, is known as Bir Abd el Qadr.
There are also several others, all of which seem to be impartially
named Bir Kairowin. Probably water can be found under all the lower
lying parts of the hattia by digging for a few feet into the ground,
which throughout this district consists of chalk.
The wells in every case apparently give water so thick with chalk
particles that when first drawn from them it is almost as milky as
whitewash. Attempts to clear the water by passing it through a
Berkefeld filter failed, as the chalk clogged the filter after a few
strokes. But when it had been allowed to stand for a few hours, most
of the chalk settled down to the bottom, and the water that was
poured off passed quite easily through the filter, after which it proved
to be of quite good quality.
I, unfortunately, forgot to wind my watches the first night in the
hattia, and so allowed the half chronometer I had been using in
taking my observations to run down. As I was depending on it for my
longitudes, this necessitated a stay of two or three days in the camp
in order to ascertain its new rate after it had been rewound.
These watches are for some reason only made so as to run for
one day. As oversights of this kind must be of common occurrence
with travellers, it would seem to be preferable that they should be
made so as to run for two days, and be furnished with an up and
down indicator to show how long an interval has elapsed since they
were last wound.
I spent a considerable part of the time while in the hattia in trying,
without success, to get a shot at gazelle. There appeared to be very
few in the district, though a considerable number of old tracks were
to be seen where they had been feeding on the scrub.
This scarcity of game may perhaps have been due to the fact that
a few bedawin were at that time living there in charge of some
camels belonging to the Senussi zawia at Qasr Farafra. These men
kept away from the camp, but I saw them and their camels several
times wandering about in the scrub, and twice found small hovels
constructed of brushwood, in which they had been living—they had,
so far as I could see, no tents.
My men spent most of their time in grubbing about in some large
mounds. On the top of one of these, about thirty feet high, Ibrahim
found some burnt bricks. The whole mound was covered by a thick
growth of terfa bushes, among which the sand had collected,
completely hiding any building there might have been beneath it.
It must have been originally a building of some size and of
considerable height, and was perhaps a tower. The men unearthed
part of a small room at the base of the mound. It had been well built,
of the same burnt bricks, and the interior was covered with plaster. A
few pieces of broken pottery were found, one of them covered with a
green glaze. There were four or five other mounds of a similar nature
in the neighbourhood; but we had neither time nor implements
thoroughly to examine them.
As the total result of their treasure hunt in Kairowin the men only
unearthed one corpse and a few bits of broken pottery, without
finding even a single copper coin to gratify their cupidity. They were
consequently considerably disillusioned with their occupation, and I
experienced no difficulty in getting them to start for Qasr Farafra.
I made first for the main well, that is known as the Bir Kairowin, in
order to close my traverse. The water lay about eight feet below the
surface; access being gained to it by the usual sloping path, cut out
of one of its sides. By the top of the well was a mud-built trough for
watering camels, with an empty paraffin tin lying beside it for use as
a bucket.
Immediately on leaving the hattia we got into the dunes, which
cover a large area in the centre of the Farafra depression. The first
two or three dunes gave a little difficulty, but we found the rest of
them quite easy to cross. They were all, so far as I could see, of a
very elongated whalebacked type, which ran roughly from north to
south, in the direction of the prevailing wind.
Qasr Farafra lay almost due west from our camp. Soon after we
got into the sand it became clear that Qwaytin was again hopelessly
lost, as I found we were marching almost due south. I was obliged to
put it to my guide, as inoffensively as I could, that if he would change
the direction in which he was leading us by a mere right angle, we
might perhaps reach our destination, instead of going on to Dakhla
Oasis as we seemed to be doing. Qwaytin was so hopelessly lost
that he accepted my suggestion without the slightest argument.
Soon after this we got out of the sand on to level desert, where a
large number of black nodules of iron pyrites were to be seen lying
on the surface. Further on some fine specimens of sand erosion
were met with in the shape of chalk “mushrooms” and table rocks.
Otherwise this part of the desert was quite featureless. The road lay
entirely over white chalk, which caused a rather trying glare in the
blazing sunlight.
We sighted Qasr Farafra on the evening of the second day after
leaving Kairowin hattia; but as night fell before we could reach it, we
camped a few miles away from the village. Two hours’ march on the
following morning brought us into the oasis. On the outskirts we
passed a patch of ground on which the sand was encroaching, some
palms lying on the north of it being almost entirely submerged.
We camped on the northern side of the village. A large crowd of
natives came out and stood watching us while the tent was being
pitched. Among them was a sulky-looking fellow whom I was told
was the ’omda; so, as soon as the tent was pitched, I invited him and
some of the other men standing by to come in.
We had foolishly camped too close to the village, with the result
that throughout the greater part of the day the camp was surrounded
by a crowd of men and children watching all our actions, peering into
the tent, thronging round the theodolite, when I began to take
observations, and generally showing an ill-mannerly curiosity that
was in great contrast to the conduct of the natives of the other oases
in which we stayed. Farafra being the least known of the Egyptian
oases, the advent of a European was an event of such rare
occurrence that the natives had evidently decided to make the most
of it.
The natives of Farafra Oasis, who are known as the Farfaroni, or
sometimes as the Farafaroni, are a far more vigorous lot than those
of Kharga and Dakhla. They were a surly unpleasant-looking crowd.
The day after our arrival, I went out with the ’omda and Qwaytin to
see the village and plantations. With the exception of an ezba at ’Ain
Sheykh Murzuk, where there are a few houses, a Senussi zawia and
a family or two continuously resident to tend the cultivation near the
well, Qasr Farafra is the only permanently inhabited spot in the
whole Farafra depression. It is a poor little place with a total
population of about five hundred and fifty inhabitants. The houses
are of the usual mud-built type, and in most cases little better than
huts; almost the only exception being that of a square tower,
showing in places the remains of battlements, attributed, perhaps
rightly, by the natives to the Romans, who are said to have erected it
as a keep to protect the village.
This proved to be rather an interesting place. It is not inhabited,
but the door is kept locked with a watchman perpetually on guard
over it. The building is used solely as a storehouse, each family in
the village having the right to the use of one of the rooms that it
contains—there were said to be no less than one hundred and
twenty-five chambers in the building.
The ’omda showed us over the tower. The entrance lay through a
strong wooden door, at the top of a flight of steps, in a passage
entered in the middle of one of the outer walls, the walls on either
side of which were pierced with apertures, apparently intended for
use as loop-holes. The passage extended the whole height of the
building and was unroofed, in order that stones might be dropped
from above on to any assailant attempting to attack the door.
BOY WITH CROSS-BOW, FARAFRA.

The interior of the tower was a perfect labyrinth of breakneck


stairways and little rooms opening out of narrow dark passages.
After scrambling up several sets of steps and repeatedly banging my
head in the dark against the low roof, we at length emerged into a
sort of courtyard at the top, surrounded by two tiers of small
chambers, each provided with its own locked door. Some further
scrambling landed us on the roof that covered the rooms and formed
a kind of platform surrounding the courtyard. From here a wide view
could be obtained over the oasis and depression.
There was not much of consequence to be seen. Below lay the
village, looking, when viewed from above, even more squalid than
from below. Scattered round it, within a radius of a few miles, lay a
number of small patches of cultivation, showing the positions of the
various wells and springs. Seven or eight miles away to the west
was a cliff of considerable height, forming the scarpment of the Guss
Abu Said—an isolated plateau beyond which, though invisible from
the tower, lay a well, “Bir Labayat,” and the little oases of Iddaila and
Nesla, in another large depression, the dimensions of which were
unknown. Here and there on the floor of the depression a few
isolated hills stood up to break the level monotony, the most
conspicuous amongst them being Jebel Gunna el Bahari, about
fifteen miles to the north-east. Otherwise the view over the
depression was singularly monotonous. The only other noticeable
features being the cliffs in the far distance to the north and east that
marked the limits of the higher plateau.
On descending from the tower the ’omda took me round the
village. Except for its poverty-stricken appearance, it differed little
from those in Dakhla and Kharga Oases. There seemed to be few
houses with a second storey, and the palm leaf hedges, that usually
topped the wall surrounding the flat roofs in the other oases, were
seldom visible.
Having completed our survey of the village, the ’omda took us to
his house. It was a very poor residence for a man of his position in
the village, and was overrun with fowls, goats and filthy little children,
mostly suffering from ringworm. He gave us some dates and very
bad tea, but no cigarettes were produced, probably because, like
most of the inhabitants of the place, he “followed the Sheykh.”
In the afternoon I went with Abd er Rahman and the ’omda to see
the winch of a boring machine that had been given to the zawia by a
wealthy Egyptian in Cairo, in order that they could sink a new well.
They wanted my opinion on it, as two of the cog wheels had been
broken and the work of sinking the well had had to stop in
consequence. It was obvious that there was nothing to be done,
except to replace the wheels. I took measurements of the broken
parts and promised to have duplicates of them made in Cairo, when I
got back, and to have them sent to the oasis.
I was engaged in noting down their dimensions, when Abd er
Rahman informed me that the Senussi sheykhs from the zawia were
coming, and I caught sight of two men, with Qwaytin in their train,
stalking along in my direction.
The zawia was run by three sheykhs who were brothers, the
eldest was, however, at that time away in Cairo. The other two were
not a prepossessing-looking couple. Sheykh Ibn ed Dris, the elder,
was a fine-looking Arab, and would have been even handsome if his
face had not been marred by its dour, truculent expression. His
youngest brother, Sheykh Mohammed, was apparently hardly out of
his ’teens, and seemed to be somewhat of a cipher, being
completely swamped by the aggressive personality of the elder
sheykh. The only impression he made was one of extreme sulkiness.
Qwaytin told me that they had come to take me for a walk round the
plantations that surrounded the village, adding that as I was a
stranger in the oasis they felt that they ought to entertain me.
They did not seem to relish the job very much. Sheykh Ibn ed Dris
was extremely taciturn, and his brother never opened his mouth
during the whole of our tour of inspection.
Compared with the other Egyptian oases, the plantations in
Farafra contained comparatively few palms and a much larger
proportion of other fruit trees—olives, vines, apricots, white
mulberries, figs, pomegranates, limes, sweet lemons, a few orange
trees and a small apple, which, being regarded as a rarity, was very
highly prized. Formerly there used to be a considerable export of
olive oil to the Nile Valley, but for some reason, perhaps because the
trees were getting too old, the crop was said to have diminished
considerably, and barely to suffice for the wants of the oasis.
The fields surrounding the plantations were planted so far as I
saw only with wheat, barley and onions, but durra and rice are also
said to be grown in the oasis. The areas under cultivation seemed
small, but the plants all looked healthy, and even luxuriant. I saw no
patches of salty ground, such as were often to be seen in Dakhla.
A Bride and her Pottery.
A bride from the poorer classes can only
contribute a small amount of earthenware
towards furnishing her new home. In her wedding
procession she carries this on a chair on her
head. Note the sequins on the front of her dress.
(p. 253).

Farafra is such a small place that administratively it is under


Baharia, the nearest oasis, lying about three days’ journey away to
the north-east. In the whole oasis of Farafra there are only about
twenty wells, the two most important ones were said to be ’Ain
Ebsay, lying four to five miles to the south of the village, which I did
not visit, and ’Ain el Belad (the town well), both of which were said to
be of Roman origin and to resemble those of Dakhla Oasis.
Some of the wells are said to be connected with long underground
infiltration channels cut horizontally, at some depth below the
surface, similar to those at ’Ain Um Debadib, but I had no opportunity
of examining any of these. The ’Ain el Belad, that supplies the
village, flowed into a large pool covered with green weed and to
some extent surrounded by palm groves, that in the glow of the
setting sun made a most lovely picture.
We ended our promenade at the door of Sheykh Ibn ed Dris’
house in the zawia. It was a gloomy mud-built building, without a
trace of the European furniture that characterised the zawia and
houses of the Mawhub family in Dakhla. Here I took leave of my
unpleasant companions, much, I fancy, to our mutual relief. As the
sheykhs had to a slight extent thawed during our walk, I asked Ibn
ed Dris to let me photograph him, to which, rather to my surprise, he
grudgingly consented. He did not make a pretty picture. He was
wearing his normal expression, a scowl that “never came off,” and
nothing that I said would induce him to look pleasant.
Supplies of all kinds were very scarce in the oasis. No fruit or
vegetables were procurable, and the only eatables to be bought
were fowls, eggs and onions. Owing to nearly the whole of the
inhabitants being members of the Senussia, tobacco was also very
difficult to obtain, as the members of the sect are forbidden to
smoke. The men had all run out of cigarettes, and were much upset
at not being able to renew their supplies.
The morning after my walk with the sheykhs, Ibrahim, who was
always keen on any kind of sport, told me that quail were beginning
to arrive in the oasis, so I went out with him to try and shoot some. I
only, however, saw two—one of which I succeeded in missing twice.
The natives of Qasr Farafra were so unfriendly that I was unable
to see as much of the place as I should have wished, and I was only
able to take a very few photos.
The next morning we packed up and set out to Bu Mungar. After
an uneventful journey of about eight hours to the south-west, over a
featureless level desert, we reached the little oasis of ’Ain Sheykh
Murzuk—the only permanently inhabited spot, besides Qasr Farafra,
in the whole depression.
Three or four men came to meet us as we approached the
plantation, and greeted Qwaytin with enthusiasm. The oasis was a
very small one, extending to only a few acres. The cultivation
consisted of only a few palms and fruit trees and a field or two of
grain. Among the palms were hidden two or three houses, which I,
however, inspected only from a distance. One of them, I was told,
was a Senussi zawia.
CHAPTER XXIV

W E started the next morning at dawn. Soon after leaving ’Ain


Sheykh Murzuk, Qwaytin showed me a pass ascending the
scarp of a small plateau, the Guss abu Said, on our right, over
which, he said, passed a road to Iddaila. From Iddaila, he said, a
road ran direct through Nesla and Bu Mungar to Dakhla Oasis.
Two hours after our start we reached a very small oasis, only an
acre or two in extent, known as ’Ain el Agwa. It contained a few
palms and evidently a well, though the place was so covered with
drifted sand that the palms in some cases were buried nearly to their
crowns, and the well was completely invisible.
About an hour farther on we reached a similar oasis, called ’Ain
Khalif. There were no traces of inhabitants at either of these places;
the dead leaves left hanging on the palms showed that they were
entirely uncultivated, and at ’Ain el Agwa the trees themselves
seemed to be dying.
These little places do not seem to have been previously reported,
though Rohlfs’ route must have passed fairly close to where they
were situated. From the size of the palms they seemed to be only
about twenty years old, so possibly the wells were sunk since the
time of his visit.
Though the sand had to some extent encroached on the oasis at
’Ain el Agwa, it had not done so to anything like the same extent as
at ’Ain Khalif, and the feeble well, discharging into a tiny pool a few
yards across, was still quite clear of sand.
As the water proved to be good, we stopped here for half an hour,
while we refilled the gurba and examined the oasis.
Shortly before sunset we reached a place where the road forked.
A line of small stones had been laid across the right-hand track—a
common sign among the Arabs that the road was not to be followed.
Qwaytin took the left-hand branch and soon afterwards we came to
the top of the descent into Bu Mungar. The path at this point was a
narrow cleft, a few yards long and not more than a foot or two wide,
that proved as difficult to negotiate as the very similar one leading
from the ’Ain Amur plateau down towards Dakhla. Below it lay a
sandy slope that extended to the bottom of the cliff and presented
little difficulty.
On reaching the bottom of the slope we set out for Bu Mungar,
which lay a short distance ahead of us. But on reaching the hattia,
Qwaytin, as usual, got lost, and it was some time before we could
find the well.
It had been a stiflingly hot day and we had marched for over
thirteen hours, with only a short halt at ’Ain Khalif. I had done the
whole distance on foot, so I was dog tired, and extremely thirsty. So,
as the evening of our arrival was cloudy, and as to get in a set of
observations would probably have meant that I should have had to
sit up for several hours for the clouds to clear off, I put off the work
until the following day, meaning to leave the place in the afternoon.
My tent was pitched on the extreme eastern end of the hattia. The
cliff of the plateau formed a huge semicircular bay on our east, the
southern point of which could be seen about twenty-five miles away
to the south-east of the camp. In the middle of this bay lay a second
large detached scrub-covered area.
Bu Mungar contains at least two wells, as in addition to the one
near which we were camped, the men found a second one, about a
quarter of a mile away to the south-west, the position of which was
marked by a group of trees—acacias and palms, so far as I can
remember.
The other well, that lay about two hundred yards to the north-west
of the camp, seemed to be an artesian one, similar to those in the
Egyptian oases. A little stream ran from it for a short distance till it
lost itself in the sandy soil. So far as I was able to see the trees were
larger and the vegetation more luxuriant than in the Kairowin hattia.
To the south, a huge area covered as far as the horizon with sand
dunes was visible. A large dune overhung the camp on its eastern
side, and drift sand seemed to be encroaching in many places on the
vegetation. In the neighbourhood of the camp was a praying place,
or “desert mosque,” made according to Qwaytin after one of the
Senussi models. This consisted of a line of stones laid out on the
ground much in the shape of a button-hook, the straight portion of
which pointed in the direction of Mecca, to indicate the direction in
which worshippers should face when performing their devotions. It
was the only praying place of the shape that I ever saw.

SENUSSI PRAYING PLACE, BU MUNGAR.

The wells of the hattia perhaps dated from Roman times, as at a


short distance to the south of the camp was a small mud building
(der) which the natives attributed to that period. The remains of the
vaulted roofs and the arched tops of the openings in the walls tended
to confirm this view.
I managed the next day to get the necessary astronomical
observations to fix the position of the place, but was not able to
make a thorough examination of it, as complications with the
Senussia that, from numerous indications I had seen since leaving
Assiut, I had been expecting for some time suddenly came to a
rather unpleasant head.
It was not until I got to Bu Mungar that I discovered that all the
men in my caravan belonged to the Senussia. Qwaytin and his three
men, I knew, had always been of that persuasion, and, while in
Farafra, Abd er Rahman, Ibrahim and Dahab had all been so worked
upon by Sheykh Ibn ed Dris that, just before we left that oasis, they
too had joined the order, and showed all the fanaticism to be
expected from new converts.
A party of thirty Tibbus, sent from Kufara for my entertainment, by
Sheykh Ahmed Esh Sherif, at that time head of the Senussia, were
hanging round somewhere in the neighbourhood of Bu Mungar,
close enough for Qwaytin to start signalling to them by firing shots at
imaginary pigeons and lighting an enormous and quite unnecessary
bonfire at dusk—a well-known Arab signal.
Twenty more men had been sent from Kufara to reinforce the
Mawhubs at their ezba, in the north-west corner of Dakhla, which I
should have to pass in order to enter the oasis on my way to Egypt;
while the inhabitants of Farafra—the only other oasis I could fall back
upon with my small caravan—were members of the order almost to a
man, and were on the look out for me if I returned that way. It was
explained to me that they had allowed me to go to Bu Mungar
instead of to Iddaila—my original intention—in order that I should
leave Egypt, and then, as I had altered my plans, no one would know
“where it happened!”
It was a neat little trap that I had foolishly walked into; but it had its
weak points. It was nearly dusk when Qwaytin fired his signal shots
that led to my enquiries, and, better still, a howling sandstorm was
blowing. If once we got out into the desert in these circumstances, I
felt confident of getting away without difficulty. But the prospect of
having the camp rushed before we could get off gave me such a bad
attack of cold feet that I decided to start running as soon as possible
in order to get them warm.
Qwaytin and his men, however, when told to do so, flatly refused
to leave the hattia. But he and his crowd were such a feeble lot that I
had little difficulty in reducing them to order. We lost so little time that
I got the tanks filled and the caravan off just after sunset.
Before starting it occurred to me that I might borrow a trick from
Abd er Rahman. So finding a sand-free space near the well, I
scratched the Senussi wasm with a stick deeply into the ground, and
then, to mislead the Senussi when they came as to the direction in
which we had gone, drew a line from it pointing towards the west—
the direction in which I knew they feared that I should go—and then
set out towards the south-east to Dakhla.
Almost immediately after leaving the camp we got on to the sand
hills. I then left the road, and, to Qwaytin’s intense disgust, struck out
into the dunes to the south, where the tearing gale that was blowing
very quickly obliterated our tracks.
After marching for two and a half hours, the dunes became
considerably larger, and, as the moon had set, travelling was
attended with such great difficulty that we halted till daylight.
But after leaving Bu Mungar our journey to Mut began to get too
much in the nature of “adventures” to be described in detail. It took
me all that I had learnt, during seven seasons spent in the desert, to
get my caravan into Dakhla, without creating that incident that I had
been warned to avoid, and which might easily have resulted in
something in the nature of a native rising.
No one in the caravan but Qwaytin had been over the road
before, and he, of course, got hopelessly lost, and in any case was
not reliable, so I had to take over his job and do the best I could as
guide.
After leaving Bu Mungar our road for the first day lay all over the
dunes. Late in the afternoon we came across three sifs—dunes with
an A-shaped section running up and down wind—which, since they
stretched across our path, gave us some difficulty. They were all
under twenty feet in height, but their sides were at such a steep
angle that the camels were quite unable to climb them, and the men
had to scoop paths diagonally up the face of the dunes and down
again on the farther side, over which the camels one by one with
difficulty were forced. Small as these sifs were they caused a
considerable delay. But these three ridges proved to be the last of
the dune belt, and the remainder of our road, till we reached the
dunes near Dakhla, we found to be easy going.
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade

Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.

Let us accompany you on the journey of exploring knowledge and


personal growth!

ebooknice.com

You might also like