# The first cry of Atom

The people who are crazy enough to think thay can change the world, are the ones who do

I’m a software engineer living in Tokyo, Japan.I have a passion for developing the artificial intelligence that is the dream of humankind for a long time.I long for the world where technology supports our imcompleteness which is burdened since human was born. So I dedicate myself to realize these ideal some day.

## Vagrant in TravisCI

I received pull request from Bill Warner. He writes unittest which used test-kitchen and RSpec. This pull request is a great resource for me because I didn’t know how to write test code for cookbook. There are a lot of things I can obtain. I cannot say thank you enough. And I always glad to receive PR from anyone, anytime.

## Run Spark Local Machine

From Spark 1.2.0, it seems to be different from older version when you want to run your spark job on your local machine. Before v0.9.2 you can run standalone job with such code.

You can run this app with sbt command.

That’s fine. But with latest version, you cannot find no more such documentation. I think spark does not anticipate the use case with sbt standalone running. So current version looks like below. SBT section has been totally changed and you should submit jar file to your local spark. But I found a way to run spark job by using sbt command with some changes. There are two major changes.

• SparkContext should be stopped

I add these code to original one. This is the working one.

With these two lines, you can run sbt command.

written in

## Clipboard on MacOSX With Tmux

With default tmux, you may have some trouble copying text on clipboard. Drag with option key enables you to copy selected text to clipboard. But the number of keys you have to touch when you select has been increased. This is completely annoying. By using reattach-to-user-namespace, you can copy any text from copy mode of tmux to mac clipboard. Below is the process.

First you have to install reattach-to-user-namespace. If you have Homebrew, it is easy.

My key binding is here. I use Space key as begin-selection, and Enter key as copy-pipe`. Of course, if can change any keys as you like.

## Reference

tmux Copy & Paste on OS X: A Better Future

written in

## Releationship Between Quantum Mathematics and Artificial Intelligence

I met scanamind. I cannot decide it is useful or not from these documentations and examples.

## I Have a Dream

Today, I took a walk with one of my friend. He joined my office the end of last year and he is from Wuhan, China. He is a good man and very kind to me wherever we met. We walked around imperial palace and visited Tokyo station, Imperial Palace East Garden, Yasukuni shrine and Jimbocho book stores. I like to walk around central of Tokyo. I was pleased looking he was also enjoy this short trip.

## Your Own Cluster With Storm-devenv

As written in this post, I developed a tool for constructing storm cluster more easily. When you want to add new features or investigate some bugs issued by others, this tool will be useful. Usually this kind of tools can only construct a cluster with released packages. storm-devenv enables us to construct storm cluster with your own storm code on your local machine. Vagrant and VirtualBox make is possible. I think that we can apply same process to AWS EC2 instances by using Vagrant. So I choose Vagrant as constructing tool. And as provisioning tool, I wrote chef cookbooks which is a de fact tool for configuration tool. I’d like to introduce storm-devenv mode detail in this post.

## Making Storm Cluster for Development

When you develop big data processing platform such as Hadoop, Spark and Storm, you need to construct a cluster. You can create it with whichever virtual machines and real server. Personally it is hard to obtain real servers. Setting up networks and configurations are tough work. So you might use virtual machines, EC2 , VirtualBox. Today I’d like to introduce some options to create your own storm cluster for development of new features and investigation of problems.

## Targets in 2015

This is my first post in 2015. There was a lot of things in last year and so will it this year. At the beginning of new year, I’d like to write down three targets I want to achieve.