App launch checklist

Stock photos

Unsplash is a repository of free photographs that can be used for stock photography or any other purpose including commercial purposes.

Configuring email notifications in TravisCI

By default, TravisCI notifies the committer and author about build results if they have access to the repository the commit was pushed to. However, this does not work well when using the email address in GitHub, because emails to that address do not get delivered. To enable build notifications for yourself, you can add an explicit override to .travis.yml with:

Running LaTeX inside Docker

(Updated Feb 25, 2018)

This docker image has LaTeX installed. To use it, you can run:

  • docker run -e "HOSTUID=`id -u`" -v `pwd`:/work -i -t --rm wtanaka/ubuntu-1604-latex latex myfile.latex
  • docker run -e "HOSTUID=`id -u`" -v `pwd`:/work -i -t --rm wtanaka/ubuntu-1604-latex dvips myfile.dvi

Installing PHP Composer with Docker



What is slf4j?

There are several commonly used logging frameworks in Java: log4j, java.util.logging, logback.  Because different projects may have dependencies on one or another of these frameworks, linking more than one project together can cause more than one logging framework to be linked.  SLF4J is an abstraction layer for these different logging frameworks.

Logging in Flink with Apache Beam

Logging in Flink is implemented using the slf4j logging interface on top of log4j. This means that the most flexible approach you can take in your user pipeline code is to depend on slf4j instead of depending on log4j directly.

Deleting/Disabling iTunes

iTunes on Mac OSX started playing a random U2 song for no obvious reason.  I would kill it, and it would launch again after 10 seconds.

I tried deleting by opening the Applications directory in Finder and dragging it to the trash, but got the message that

"iTunes" can't be modified or deleted because it's required by macOS.

So I opened a terminal and did: sudo chmod ugo-rwx /Applications/ which seems to have stopped it for now. We'll see how long that lasts.

What is MapReduce?

MapReduce is a programming model for parallel programming, and a proprietary execution engine (open source engines like Hadoop and open source successors like Beam also exist). It is loosely based on map() and reduce() higher order functions from functional programming, but refers to a very specific algorithm that uses those two higher order functions exactly once each.

What are higher order functions?

A higher order function is one that either takes functions as parameters or returns functions as return values. They are often used in place of loops in functional programming languages since a pure function cannot have a mutable loop iteration variable.

Some commonly used higher order functions are:


Subscribe to RSS - Tech