I am the captain of my own starship.

Fly with me, "boldly go where no man has gone before!"

Welcome to Han Sulu's!

Hi, my name is Han. I am the site admin of www.han-sulu.com (from here on, this will be referred as han-sulu.com). I use this blog to document some of the important adventures of my life. I immigrated to the United States during the summer 1995. Just recently I found out that I was a millionaire. Thanks to years of saving, and recent bullish stock market. I accomplished this and also got two college degrees (one bachelor, and one masters) from two top universities, had two children, and supported a large family. Over the years, I have worked with quite a few big companies, had a fantastic career, and raked in a lot of great experiences. This is the place I share these life experiences with you.

Sharing my experiences is not an easy thing to me. My comfort zone with sharing my experiences is writing technical articles. A lot of the posts I have created so far are technical articles. They are not personal. Hence they are easy. I am always amazed that some people can share their experience freely. And they are very successful socially. This makes me wonder, maybe share a little of my life can be beneficial to me. It might be part of personal growth, a good part.

What would I like to share? Lots and lots of technical articles on software engineering. I like my comfort zone. Besides this, I would be interested in sharing my experience of reaching F.I.R.E (being "Finanicially Independent and Retired Early"). I also want to write about my career and mistakes I have made. Lastly I want to write about just anything that is interesting. I am not much a writer. I hope the visitors will enjoy some of the work I have wrote.

If you want to know more about me, there is a About this Site page, You can use the navigation menu to explore this site. As you explore, you will find blog posts, recent updates, and images. Leave feed back on these if you wish, and subscribe to my news letter if you are also interested getting regular updates from me.

Thank you again for visiting my site. I greatly appreciate your support.

Han Sulu
Newest Blog Posts

How to Beat Obsessions with Material Possessions

10/22/2019 02:11:42


Today I read the blog post by Mr. Money Mustache - "Our Shared Ongoing Battle Not Buying a Tasla";. It was an amusing post. It does reflect my own conflict with obsession of video gaming, which I like to share. From last November to now, I have bought three video game consoles, about 30 used video games. Since then, I have felt much happier than my old self.

This Blog Site is Not Abandoned

08/26/2019 01:26:32


It has been a year that I have posted anything in this site. I just want everyone to know that I have not abandoned this web site. I checked recently, this site appears on Google search result page #1, if the keyword "Han Sulu" is used. This was awesome! It gave me some new momentum to post new materials. I am not going to slack off any more, nor use excuse that I am too busy to update this site, I will add more posts, more pages, more fun stuff, including tips and tricks on photography, how to save money and investment, reviews on other financial guru's posts. And video gaming, specifically on how to save money on video games.

Cumulative Update First Half 2018

06/27/2018 03:00:25


I am just recounting what happened since the lat cumulative updates. Last time, I was thrilled that I found a good job. As boring as it was. I actually liked it. And six months later, I had to leave it. My family and I bought a house in Michigan. I had to financing it with a large portion of my saving. I moved in and started a new job which I will treasure. And I am trying to learn to love my life even when I felt it was not as good as it should be.

Cumulative Updates Dec 2017

12/09/2017 05:05:36


It has been a while since last post. I changed job in September. Since then I have been riding CTA bus and L-Train to downtown. Before starting the new job, I took two weeks off. I did a lot of house work when I am on break. After started the new work, I ride CTA bus and L-train to work. Long ride and very boring. On my spare time, I was writing some small software, and learning audio and video editing, for fun and as a new skill. I need to make a list of things to complete for 2018. And I learned how to solve the Rubik's Cube from a guy at work. Finally I am searching a new web based application as project to do.

I Caught a lot of Pan Fish on Sunday

11/26/2017 04:31:08


My son and I went to fishing on Sunday 6/11/2017. At Wildwood Nature Center, there were two little ponds that had a lot of pan fish. We caught nine fish under an hour. It was a very hot day Sunday. The temperature of the day is between 89 to 95F. And the fish bit the bait very quickly. I used the opportunity to try out hooks of different sizes, and how to set the hook when fish bites. My son pull a couple ones out of the water. We had a good time.

The Day I Caught No Fish...

11/26/2017 04:30:25


My son and I went to the lake on April 23rd. This is the second time we went, and like last time we didn't catch any fish. It was a disappointment before we left the lake. Just when we are ready to leave, we saw a guy who was pulling fish out of water one every minute. So I went over and asked how he did that. He explained the process and I learned something that day. Even though we didn't catch any fish, it was stil fun for me.

How I Wrote this Blog Site and the Core Blog Engine

02/26/2017 02:57:23


In this blog post, I will summarize the experience of writing this blog site, and the underlying blog engine. Before this blog site, I created another web site called "Java & Love". It was also using a blog engine that was using Spring MVC, Hibernate, and MySQL. After it was completed, I deployed to a server (a DigitalOcean droplet). The end result was a primitive blog engine. It was amazing at first. But I soon realized that it lacked a lot of features. So I started a new project, I wanted to create a new blog engine that would fix all the problems I found. That was about two and half years ago. The journey took about ten months. I am writing this is to bring a closure of this project. It is finally over. And I want to share about some of the things I learned along the way.

Newest Pages

Spring MVC Application With Spring Security and Spring Rest

06/05/2018 03:04:11


This tutorial will discuss how to use annotations to setup a Spring MVC web application, integrating with Spring Security, and Spring Rest. I started learning this about a year ago. And there were little documentation. Now, there are a lot. What I am trying to do with this tutorial, is to provide a more comprehensive example than the ones out there. What is the significance of using annotation to do a Spring based web application? Before this, you had to use xml based configuration to setup the Spring IoC container, and to describe how components interact with each other. Fully annotated Spring application frees the developer from creating a lot of XML configuratin files. And the developer can design his/her own version of configuration files to host necessary information or data for their application's needs. I believe this is the greatest strength that spring annotations for application develpoment. As you are going through the code and the tutorial, you will see what I meant.

UI-BootStrap Modal Dialog Tutorial

04/12/2018 02:28:36


In this tutorial, I will show how to properly use ui-bootstrap to open a popup modal dialog in an AngularJS application. In addition to this, I will show how to pass data from caller to the pop up modal dialog. And how to retrieve the results from the pop up modal dialog by the caller.

Bootstrap Modal Dialog Interaction with AngularJS 1.6.x

02/26/2018 03:22:57


It was two years ago, I encountered this issue. I need to open a Bootstrap Modal dialog in an AngularJS application. Somehow, I couldn't get ui-bootstrap to work. ui-boostrap is a 3rd party component that can be integrated with AngularJS to support any Bootstrap related behaviors. It is quite painful to use at times. After some research I realized that without using ui-bootstrap, it is quite easy to add dynamic behaviors to Bootstrap Modal dialogs.

KnockOut.js Template Tutorial

01/09/2018 04:57:44


There are two ways to create a template and use it with KnockOut JS. The first one is very easy to do, define a template in the same JavaScript section, then simply use it. The second one is a little more complicated. This second approach allows the template to be splitted out into separated files, and loaded into the main page for use. The first approach, although it is simple, it is useless. The second approach promotes resuability, but it is slightly more complicated, and more fun to discuss. It involves the use of require.js and text.js. Even though this is a bit complicated, the official documentation provided by KnockOut.js sufficiently described how to accomplish this. This tutorial will provide working example and the way to test using Jetty Web Server.

Using Jetty Web Server to Serve Static Web Content

01/09/2018 04:57:30


For this article, I just want to discuss two different approaches of using Jetty, the J2EE web server to serve/deliver static web content to the users. Static web content are file like web page files (*.html), JavaScript files (*.js), non-text web resources like text files (*.txt), image files (*.jpg. *.gif, *.png, etc). This is an easy technical problem, for most of the times, one can just open these files in web browsers. If this does not satisfy one's need, one can also use a HTTP web server like Apache Http Web Server, or Ngnix. Alternatively, one can use Python, Ruby on Rail or Node JS to start a light weigh web server. But for us who know the J2EE web server, using Jetty to serve static web content is just easy to do.

Most Useful FFMPEG Commands

12/16/2017 05:20:45


In this page, I listed out a few commands I commonly use for simple video editing using ffmpeg. These commands should solve ninety percent of common operations that I normally face. I hope they will be useful for you.

Games I Would Like to Play Some Day

03/22/2017 04:00:58


I like games. When I was young, I only had a Nintendo for a month. When I grew up, I had an XBox 360 for a couple years, on which I played Halo, Call of Duty, and Fallout games. When I moved from California to Illinois, I sold my XBox. I continued playing some games like Fallout New Vegas, and Mass Effect series on PC. But with two children, even there is time, when I play the game, I just felt drained. Anyways, I created this page to track all the games I like to play some day.

Latest Updates
User Image
Site was down for 10 days, Apologies
Updated - 04/16/2018 02:28:31

I received an email from host company regarding the reboot of the server. Didn't pay attention. And the site didn't auto start after the reboot. Took 10 days to notice. I don't think anyone is reading this site. If you do, my apologies. Now, I would check the site once per day to make sure this wouldn't happen again.

User Image
I have updated the sites CPU and Memory
Updated - 02/26/2018 03:27:40

My host company sent me an email a while back mentioned that I can upgrade the number of CPU and the size of memory for the server of this web site and kept the same price I was paying. It took me a while, but I finally did the upgrade. This is fantastic.

User Image
I finished Fallout New Vegas
Updated - 06/13/2017 02:45:01

It was in my Steam account for at least 6 years. I finally finished this game. There were a lot of quests, there is just no way (no time actually) for me to finish the majority of the quests. In the end, I rushed through the wild card ending. It was a lot of fun, and a lot of time "wasted". It was finally done.

User Image
I have being playing "Fallout -New Vegas"
Updated - 04/15/2017 03:54:00

I have been playing Fallout - New Vegas from beginning, then lost my saved games for at least 3 times. This is the third time. I am determined to finish it. What I have done is use cheat mode, get all my favorite weapons and explore. I play every Sunday for 2 hours. Hopefully I will finish it this time.

User Image
A New Mass Effect Game is Almost Out
Updated - 03/21/2017 03:45:00

I got this poster from IO9.

A new Mass Effect game is going to be available at midnight tonight. I was thrilled about it for most of the past year. The thrill is wearing off because I heard some very unpleasant reviews about it. Complexity is the real issue here, with such an ambitious undertaking, the outcome might not be the best quality.

User Image
Being lazy lately
Updated - 03/13/2017 16:58:22

I wasn't being lazy, it is just I don't have any free time to add new content. I have started a new coding project. For this site, I have uploaded the photos I have took of last year's convention. Enjoy!

User Image
Horizontal Zero Dawn Looks Like a Cool Game
Updated - 03/09/2017 04:09:03
"Horizon Zero Dawn" Looks Like a Cool Game. Wish this game was available for all consoles, including PC or XBox. Unfortunately it was only for PS only.
User Image
The first blog post of this site published.
Updated - 02/26/2017 03:06:52

I just published a post on my thoughts about this web site and the core blog engine that runs it. In the post, discussed the whole process I took to write this web site, and the lessons I have learned. I believe this will bring some closure to me for finishing this web site.

How I Wrote this Blog Site and the Core Blog Engine