My book about functional programming in Scala

Valley Programming is slowly coming back to life, and as a first note, during my down time I wrote a book about functional programming in Scala named Functional Programming, Simplified. I really enjoy programming in Scala, and functional programming is a safer way of programming, so I wanted to share what I know in hopes of making us better and faster computer programmers.

How to migrate Drupal 6 websites to Drupal 8

If you need to upgrade/migrate a Drupal 6 website to Drupal 8, there’s good news and there’s bad news. The good news is that many of the basic features of your Drupal 6 website will migrate properly to Drupal 8. The bad news is that many features won’t migrate properly, and if you like your current website theme, well, it will have to be completely rewritten.

My Android apps on the Google Play Store

As a quick note, I recently released my second Android app on the Google Play Store. My first app is named “Just Be,” and it’s a “mindfulness reminders” app. You can learn about it at this link:

My second Android app is something completely different, a football game named “XO Play.” You can learn more about XO Play at this link:

How to calculate the sum of a List in Java and Scala

As a quick note about a difference between Java and Scala, I recently wrote this blog post about How to Sum the Elements of a List in Java (ArrayList, LinkedList, etc.). For several years I have known that in Scala you sum the contents of a List like this:

Just Be, a mindfulness reminder application

I’m proud to announce that I’ve developed an Android “mindfulness reminder” app named Just Be. While this new app is simple in many ways, it does what I want: It sends me periodic reminders that help me return to the present moment. (The “reminders” are Android notifications.)

I could write more about the app here, but I’ve already written about it on the website, so if you’re interested in it, I encourage you to visit that site:

My Android cheat sheet

This document is my Android cheat sheet. It's something of a summary of what I know about Android as of today (late February, 2015). I don't offer much discussion here; this is mostly just a quick Android reference page. If you're looking for deep discussion, please check out my Android tutorials.

LittleLogger - A very simple Java/Scala logging utility

A lot of times when I’m writing small test applications I want/need a logger, but I don’t want to deal with the complexities of traditional Java/Scala logging utilities. This morning I finally took a little time to write a very simple logger that I can use in these small applications and test projects. I call it LittleLogger, and I’ll share the Scala source code here today.

A JNativeHook example in Scala

I’ve been working on a few applications where I want to get access to native, global keystrokes and mouse movements, so I’ve been using the JNativeHook library, which seems to work well on Mac OS X systems. I’ve been using Scala for all my coding the last few years instead of Java, so here’s a quick Scala port of the JNativeHook GlobalMouseListenerExample:

Best Scala book for Java developers and beginners

As a quick note today (July 26, 2014), I’m glad to see that many Java developers and beginning Scala developers have said that the Scala Cookbook is the best Scala book available. I wrote the Cookbook from the perspective of a Java developer (as opposed to something like a functional programmer), and I’ve also taught computer programming classes for many years, so I considered these people to be in my target audience.

Play Framework CRUD generator

I don’t like to write basic CRUD (Create, Read, Update, and Delete) code, and furthermore I don’t like to charge clients for writing such basic code. As a result, I wrote a tool I named the Cato CRUD Generator to generate this code, rather than having to write it manually.

Over the last few days I’ve updated Cato so it can generate Play Framework CRUD code (Scala code, to be specific), including the following:


Subscribe to RSS - blogs