A nice article on the four parts of a Minimum Viable Product.
Scala, Java, Unix, MacOS tutorials (page 282)
I just learned that CNBC maintains a Warren Buffett portfolio tracker.
When you get into learning about dividend investing, you’ll eventually learn about the DRiP list, maintained by Dave Fish.
I passed out again yesterday, but I think US Airways had a worse day than I did. Something went very wrong with this “customer service” tweet.
I don’t know if there is a better way to do this yet, but if you want to select one record from a database table using the Play Framework and Anorm, I do know that this code works:
Here’s a quick look at how to run Play Framework “model” methods from the Play console. In my case, my model methods are Anorm database access methods, but you may be accessing MongoDB, Cassandra, CouchDB, whatever.
First, move to your Play application directory and start the Play interpreter:
$ play
Then start the Play console:
[MyApp] $ console
Your prompt will now look like this:
It’s hard to find good Sencha JSON encoding and form POST examples, so here’s a quick collection of JSON examples I found while working yesterday. I know that these examples work with Sencha ExtJS; they may also work with Sencha Touch.
JSON encode a JavaScript object
First, the following example comes from this page, and shows how to convert a JavaScript object to JSON in an AJAX request:
Here’s a really good Scala recursion tutorial. The use of graphics here is a great idea to explain the concept.
When I said a few days ago that I thought winter was over, what I meant to say was that it was going to snow again.
When you’re writing Play Framework controller actions, you’re typically going to be returning a Play Results, with the most common result being Ok. However, your controller actions can return many different result types. This table shows some of the most common result types that you can use instead of Ok:
As a quick note to self, here’s how to just printed some HTTP request information in a Play Framework controller action: