The First Cry of Atom Today is the first day of the rest of my life.

Bulk install with APM

There are a lot of packages of Atom text editor. You can customize your Atom by using official packages or third party packages. But how do you manage the list of packages? There is a way which looks similar to requirements file of pip. First you can dump all APM packages you installed. $ apm list --installed --bare [email protected] atom-... Read more

Guava ImmutableMap (implicit?) limitation

Following the last time, I found a new trivial thing about Guava usage. ImmutableList creates the List which is immutable for you. You can create any length list by using of method. So I thought I can any length ImmutableMap with this analogy. import com.google.common.collect.ImmutableMap; Map<String, String> l = ImmutableMap.of( ... Read more

ToStringHelper of Guava

In Java, toString() method is useful for debugging. It can print the object information in human readable format. Member variables and state can be returned. Only painful stuff of toString() is that we need to implement by ourselves for custom class. class User { private final String name; private final int age; public User(String nam... Read more

QueueManager and Resource Group in Presto

Presto is a fast distributed SQL engine originally developed by Facebook. From 0.153, pluggable resource group was introduced. This feature enables us to separate cluster resource in account workload. For example, you want to ensure daily batch job resource allocation even if you submit some adhoc queries. In short when 3 concurrent queries are ... Read more

Tag of ScalaTest

We often want to exclude some test cases. ScalaTest has @Ignore annotation to exclude that test case to be run as well as JUnit. But how can we include or exclude test cases in more fine-grained way? ScalaTest provides the feature called Tagging. By using tagging, you can specify which test cases to be run and which are not. You can use this fe... Read more