The Default Scala Seq Is Mutable. Wait, What?!

Scala's default Seq class is mutable. Yes, you read that right. I think it's an extremely important thing to be aware of, and I'm not sure it's known widely enough. I've encountered experienced Scala devs that did not know this. I recently submitted the following addition to Twitter's Effective Scala…

Read this article

Integrating Play Framework And Maven

I recently had to integrate a Play Framework project with a Maven-based build process. This wasn't as straight-forward as I thought it would be, and so here's how I did it. TL;DR Check out this repo for a complete and working example. Requirements The integration I was after had…

Read this article

Zsh Prompt Format With Date/Time And Current Directory

I work with the command line a lot (as do/should most developers, at least if they're not running Windows). Every once in a while I happen to run a command which takes longer to complete than I expected. When that happens I want to know how long it took…

Read this article

GitHub Color Scheme For IntelliJ

I love GitHub. I use it to manage all my personal projects (see my post on multiple users with Git), as well as for browsing other libraries. I like it so much that I even sometimes prefer using it for browsing source code that's locally on my machine. Because I…

Read this article

Git: Using Different User Emails For Different Repositories

A couple of weeks ago I switched jobs. We use Git for version control at my new workplace (I was using SVN at work up until now). I also have a few public repositories of my own on GitHub (and some private ones as well). We're using a pretty advanced…

Read this article

Browser Notepad

It's very easy and convenient to use your browser as a local notepad. This is nothing I invented – it was written about and discussed before. This is my own personal jab at a local notepad, and what I've been using recently on a daily basis. It's great for when you…

Read this article

Speed Review: Patriot Supersonic Magnum 64 GB Flash Drive

I recently got the 64GB Supersonic Magnum USB 3.0 Flash Drive ($77.45 on Amazon). Before setteling on the Magnum, I did a lot of research. During which I consulted The Wirecutter which recommended the rather dated Patriot Supersonic USB 3.0 (reviewed on March 2012), but with a…

Read this article

Facebook: Block Event Invitations From A Specific Friend

If you no longer wish to receive event invitations from a specific friend, you can follow these steps to block future invitations: Select Privacy Settings from the dropdown menu in the upper-right corner Select Blocking from the left menu In the Block event invites section, enter the names of friends…

Read this article

Scala Development Using Sublime Text 2

I love Sublime Text. It’s a fantastic text editor. And, as I’ve written about before, I use it for all my development. As I put it back in October: By far the best text editor for mac. I use it for all my coding. You obviously lose some…

Read this article

Introducing sbt-stats: An SBT Plugin For Source Code Statistics

One of the first and most obvious selling-points of Scala to Java developers are its brevity and conciseness. A classic example, as found in Odersky’s Programming in Scala, 2nd Edition, is of a class with two public read-only properties. In Java this would look like: // this is Java class…

Read this article