If you want to install only security-related updates to your CentOS Linux installation using the yum command, it looks like the yum-plugin-security plugin might be a good option. (I’m having a few problems with it at the moment, so I can’t say that this is the absolute solution.) I found it on this page and this page.
Scala, Java, Unix, MacOS tutorials (page 261)
After Amazon announced that nobody is buying their Fire phone, their stock took another tumble. I don’t know why people invest in Amazon. There’s no way you can understand when to buy or sell it because Jeff Bezos runs it like the world’s largest nonprofit company. Their revenue is huge, but their income is non-existent, and he’s run the company like that forever. IMHO, a responsible investor can’t invest in a company like that because there is income (or EBITDA) to base a value on.
There’s an interesting story here on wired.com about how the movie Interstellar helped a scientist understand how black holes should work/look.
This is pretty clever. Memo is a tool for Unix and Linux systems that lets you add/edit a list of notes ... from the Unix command line.
If you ever need to display an image in a Java JEditorPane, where that JEditorPane contains HTML content, this solution should work:
This is a photo of Tim Hudson’s split-finger fastball grip, courtesy of FoxSports and MLB.
This image comes from this article. It shows a nice way to use map instead of match/case when processing an Option in Scala, and also shows a fold approach.
For many more ways to work with an Option and higher-order functions, see my tutorial, How to use higher-order functions with Option (instead of using match expressions).
From my collection of, “Signs you’ll find in Colorado.” It’s getting to be that time of year again.
Peyton Manning wasn’t too happy with the Denver Broncos scoreboard operator during their Thursday night game against San Diego, and apparently he put a job posting on Craigslist for that position. (Ad actually created by Jeff Darlington.)
This is cool. I used to prefer PostgreSQL/Postgres over MySQL, but guys at my company preferred MySQL. I’m glad to see Postgres is still around. Here’s a link to the story on ReadWrite.
Scala FAQ: What is the difference between Nil and List() in Scala?
Short answer: There isn’t any difference, as shown in the Scala REPL:
scala> Nil == List() res0: Boolean = true
It’s more “idiomatic Scala” Scala to use Nil rather than List(). For instance, I wrote code like this last night using Nil in a Scala match/case expression:
Wow, the following code might be the largest Scala SBT build.sbt configuration file I’ve ever seen. It comes from this project.
Here’s the build.sbt file contents:
I received an email from the O’Reilly folks stating that they’re having a sale on “Top 25 five-star” eBooks and videos (including the Scala Cookbook). Here’s a link to their sale.