A Machine Made this Book: Ten Sketches of Computer Science

How do we decide where to put ink on a page to draw letters and pictures? How can computers represent all the world's languages and writing systems? What exactly is a computer program, what and how does it calculate, and how can we build one? Can we compress information to make it easier to store and quicker to transmit? How do newspapers print photographs with grey tones using just black ink and white paper? How are paragraphs laid out automatically on a page and split across multiple pages?

In A Machine Made this Book, using examples from the publishing industry, John Whitington introduces the fascinating discipline of Computer Science to the uninitiated.

Sample Chapters

Front Matter

  1. Putting Marks on Paper
  2. Letter Forms
  3. Storing Words
  4. Looking and Finding
  5. Typing it In
  6. Saving Space
  7. Doing Sums
  8. Grey Areas
  9. Our Typeface
  10. Words to Paragraphs

Back Matter

Amazon $19.99 | Website | Google Books | PDF Ebook $9.99

A new Popular Science Book about Computer Science

More OCaml: Algorithms, Methods & Diversions

More OCaml: Algorithms, Methods & Diversions is now available on Amazon at $39.99 or less, or as a DRM-free PDF eBook for $14.99 at ocaml-book.com, where you will also find sample chapters, and the exercises and examples to download.

Here's the blurb:

 

In More OCaml John Whitington takes a meandering tour of functional programming with OCaml, introducing various language features and describing some classic algorithms. The book ends with a large worked example dealing with the production of PDF files. There are questions for each chapter together with worked answers and hints.

More OCaml will appeal both to existing OCaml programmers who wish to brush up their skills, and to experienced programmers eager to explore functional languages such as OCaml. It is hoped that each reader will find something new, or see an old thing in a new light. For the more casual reader, or those who are used to a different functional language, a summary of basic OCaml is provided at the front of the book.

 

If you buy the book, please do consider leaving a review on Amazon, which you can do even if you buy just the PDF eBook.

 

Reprinting of "OCaml from the Very Beginning"

Owing to the print-on-demand process we're using, it's simple to update the book to fix the few errata which have been pointed out by kind readers since publication. The new text is now live on Amazon, the Kindle Store, and our website

To update the Kindle copy, go to "Manage My Kindle" on Amazon (there is no automatic update process). 

If you have purchased a PDF e-book, just email us for an updated PDF (it is possible to notify customers of an updated version by email, but since none of the errata are serious, we've opted not to do so). 

If you have a physical book, you can fix the errata yourself from the errata page on the website. In addition, if you have purchased the physical book, and would like a copy of the new PDF, please forward your amazon receipt to contact@coherentgraphics.co.uk 

And finally, if you have found mistakes in the book (or have any suggestions for the next edition), please do tell us, using the contact form on the website. 

 

OCaml tutorial videos now available

I've made a few little tutorial videos to go with the book. Just seven for now, covering the first four chapters, but more to come:

  1. Evaluating an expression
  2. True and false
  3. Making decisions
  4. Names and functions
  5. Patterns
  6. Lists
  7. Take and drop
  8. Appending two lists

They're not really a substitute for the book but, when learning, it's always helpful to go over things twice, particularly using a different medium.

The videos are available here

 

Now available on Amazon

OCaml from the Very Beginning (204pp, paperback) is now available on Amazon for $34.99 / €29.99 / £24.99, as well as an e-book from ocaml-book.com for $14.99. Here are preview chapters and a .zip of the examples and exercises

Here's the blurb: 

In OCaml from the Very Beginning John Whitington takes a no-prerequisites approach to teaching a modern general-purpose programming language. Each small, self-contained chapter introduces a new topic, building until the reader can write quite substantial programs. There are plenty of questions and, crucially, worked answers and hints.
OCaml from the Very Beginning will appeal both to new programmers, and experienced programmers eager to explore functional languages such as OCaml. It is suitable both for formal use within an undergraduate or graduate curriculum, and for the interested amateur.

Please do review the book on Amazon if you have the chance.