download

Learning Functional Programming in Scala alvin May 15, 2017 - 4:18pm

Table of Contents

  1. The changes
  2. The plan
  3. Download
  4. Updates
Table of Contents1 - The changes2 - The plan3 - Download4 - Updates

Dateline May 15, 2017: Version 0.1.1 of my new book, Learning Functional Programming in Scala, is now available. Please read below for more details.

Scala/FP book, coming soon alvin April 9, 2017 - 9:19am

I just counted, and the latest version of my book on functional programming in Scala currently contains 90 short lessons and another 25 appendices. It’s going to grow a little more, but that’s where it is right now. I hope to have a first draft of it publicly available by the end of May.

Update: The first 600 pages of my book, Learning Functional Programming in Scala, are now available as a free PDF download.

First draft of my Scala/FP book, coming soon alvin March 29, 2017 - 6:47pm

Health (and other things) permitting, I hope to have a first draft of my book on Scala and functional programming (now titled, Learning Functional Programming in Scala) completed by the end of May.

It may only be in an alpha or beta state by then, but I’m debating about making it available as an Amazon ebook for a low cost at that time. I’ll be going back to work almost immediately after that, so if I don’t release it now, it may be another year before I can really finish it.

Update: The first 600 pages of my book, Learning Functional Programming in Scala, are now available as a free PDF download.

Scala: How to download and process XML data (such as an RSS feed)

I was looking for a good way to access XML resources (like RSS feeds) in Scala, and I currently like the idea of using ScalaJ-HTTP to access the URL and download the XML content, and then using the Scala XML library to process the XML string I download from the URL.

This example Scala program shows my current approach:

Scala Cookbook PDF download alvin August 3, 2013 - 9:11am

Wow, it’s not even published yet, and people are searching for Scala Cookbook PDF download. That kind of freaks me out.

Scala - How to download URL contents to a String or file

Scala URL FAQ: How do I download the contents of a URL to a String or file in Scala?

I ran a few tests last night in the Scala REPL to see if I could think of different ways to download the contents of a URL to a String or file in Scala, and came up with a couple of different solutions, which I'll share here.

Download URL contents to a String in Scala

The best way I could think of to download the contents of a URL to a String looks like this:

Mac iPhone photos - How to download (import) iPhone photos alvin July 12, 2011 - 9:17pm

Mac iPhone photos download FAQ: How do I download iPhone photos to my Mac? I assumed I could import them with iTunes, but I can't seem to do anything with them from iTunes.

A shell script to download a URL (and test website speed)

I've been having a problem with a GoDaddy website lately (see my GoDaddy 4GH performance problems page, and in an effort to get a better handle on both (a) GoDaddy website downtime and (b) GoDaddy 4GH performance, I wrote a Unix shell script to download a sample web page from my website.

To that end, I created the following shell script, and then ran it from my Mac every two minutes:

How to download iPhone photos to Windows XP

iPhone photos and Windows XP tip: How to download iPhone photos to a Windows XP computer.

Okay, this was surprisingly hard. I just went to download all my iPhone photos to my Windows XP computer, and assuming this worked with the normal iTunes sync process, I started the 'sync', waited a very long time, and then at the end, all my photos were ... wait ... none of my photos were downloaded from my iPhone to my Windows XP system. What the heck?