The book, The Neatest Little Guide to Stock Market Investing, is one of the best -- if not the best -- books on investing I have ever read. The author explains things simply, and uses good examples. He makes his case, and points out good, simple implementations of his strategies.
Scala, Java, Unix, MacOS tutorials (page 288)
Last week I wrote an Apache access log parser library in Scala to help me analyze my Apache HTTP access log file records using Apache Spark. The source code for that project is hosted here on Github. You can use this library to parse Apache access log “combined” records using Scala, Java, and other JVM-based programming languages.
John De Goes is organizing a “Lambda Conference” in Boulder, Colorado, for April 19, 2014. This image shows the current schedule and speakers.
I don’t want to make my original Parsing Apache access log records with Spark and Scala article any longer, so I’m putting some new, better code here.
Assuming that you read that article, I’ll jump right in and say that I use this code to load my data into the Spark REPL:
Interesting comment from a speaker (Loic Le Meur) at the Wisdom 2.0 Conference in 2014.
I want to analyze some Apache access log files for this website, and since those log files contain hundreds of millions (billions?) of lines, I thought I’d roll up my sleeves and dig into Apache Spark to see how it works, and how well it works. I used Hadoop several years ago, and as a quick summary, I found the transition to be easy. Here are my notes.
This article titled, Install Apache Spark and fast log analytics, shows a little on how to install Spark and a simple logfile analytics program.
I have been “sick” the last few weeks with a mysterious illness that has caused me to be lightheaded and even pass out. Whenever I get sick like this I think, “What has changed?” Well, one thing that changed is that when I returned home in late January I started using Truvia (Stevia) instead of Equal or Splenda. Sure enough, I stopped taking Truvia and I was fine, and then I tried it again yesterday and became lightheaded in a few hours, and nearly passed out again. I was able to check my blood pressure and heart rate during this latest episode, and my BP was fine (120/72), but my heart rate was 87 or higher. After reading other accounts of people saying that Truvia causes lightheadness and fainting, I hope I have found my culprit.
Wello can monitor your heart rate, blood pressure, temperature, and blood oxygen levels. It also displays ECG waves from your heart, and can test lung function.
I heard about CoreOS through someone who works at Netflix. If I needed a ton of Linux servers, I’d definitely check it out.
Scala string FAQ: How do I convert a multiline String to an Array or Seq or List in Scala?
I was just working on a program to parse Apache access log records, and ran into this situation. Here’s the solution.
Given a multiline string, like this:
Those $^%!* Scala binary compatibility rules (in conjunction with SBT) are explained well here on SO by Daniel C. Sobral.
A good quote from Greg Popovich, coach of the NBA’s San Antonio Spurs.
I don’t know the original source of this image, but the questions are good. I usually ask the “Typical day” or “Typical week” question. When I’m talking to the person I’ll be working for, I also ask if they can describe their managerial style or philosophy. When it comes to software development, I also want to make sure they use source code control systems, can build their apps with one command, they write unit tests, etc.
If you want to use the JavaPlot library from the Scala REPL, it’s pretty easy to get started with. Just download and unpack the JavaPlot distribution and then find the JavaPlot.jar file in the dist directory of the package. Copy that jar file to the current directory, and then start a Scala REPL session like this: