book

Functional Programming, Simplified (Kindle sale) alvin October 22, 2017 - 8:46pm

Functional Programming, Simplified” is currently $15 on Amazon. Get it while you can, the price goes back up to $30 Monday night (October 23, 2017).

Functional Programming, Simplified alvin October 21, 2017 - 11:37pm

Dateline October 20, 2017: I’ve renamed my book about Scala and functional programming. The original name was, “Learning Functional Programming in Scala,” but I don’t think that sets the tone of the book quite right, so I renamed it to “Functional Programming, Simplified (Scala edition).”

You can preview and buy the book in two places:

Here’s the new “Rampaging Lambda” book cover:

Functional Programming, Simplified book cover

Functional Programming, Simplified (current contents) alvin October 21, 2017 - 11:41am

As of October 20, 2017, the contents of my book, Functional Programming, Simplified (formerly “Learning Functional Programming in Scala”) can now be summarized like this:

A Scala shell script to read HTML H1 tag attributes alvin October 20, 2017 - 3:14am

I’m putting this Scala shell script out here as a “source code snippet” so I can find it again if I need it. This file reads an input file that contains a series of HTML <h1> tags. I use this as part of a process of publishing an Amazon Kindle ebook from an HTML file, and in one of the steps of the creation process, I use this script to help create the Table of Contents (TOC) for the book.

Here’s the source code:

A milestone day alvin September 27, 2017 - 5:10pm

September 26, 2017 is a little bit of a celebration day for me. It’s the day I reached the “No new content” milestone of my book on Scala and functional programming. At this point I’ll keep editing the book contents, and I really need to work on its formatting, but I don’t have any plans to write any new lessons.

Working on the book’s index alvin September 26, 2017 - 11:49am

This past week I started working on the index for my book on Scala and functional programming. In retrospect I wish I had written the book using LaTeX (or some other technology) rather than Markdown; I would have started this process long ago.

Latest idea for a story

I saw this image on Netflix tonight and immediately thought that a story that might be interesting is about a soul who is both a man and a woman at the same time. It could be implemented in a variety of ways ... they could co-exist on Earth at the same time, and have a shared memory ... or they could be on different planets with the same concept ... something about twins ... they could be a man one day and a woman the next day.

At the moment it seems like an interesting idea for a book, movie, or series, a way to explore all sorts of concepts related to “gender identity.” The shared view is a little like In Your Eyes, and it could be a little like Cloud Atlas, but it would also be very different from those movies.

Future Board (like Flipboard, with Scala Futures) alvin September 19, 2017 - 5:07pm

I’m working on a little app for my Scala & functional programming book I currently call “Future Board.” It works a little like Flipboard in getting news headlines from different sources, but it uses Scala Futures and a few other functional programming techniques.