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 Visitor, thank you for visiting my web site. My name is Han. I made this site with the intention to be more sociable online. The truth is that I had no idea what I am going to do with this site. I had great admiration to a lot of bloggers who made great contents on their sites. I thought I can do the same. And I guess I am wrong. It was really hard to publish high quality contents online. I guess I need more practice.

I designed and implemented this site from scratch. This was the easy part. I know everything I needed to create the needed functionality for a CMS. But putting out high quality content is very different. That is, writing is different from creating software. However, I do know the trick of getting better on writing. Lots and lots of practice. This is what I am going to do here. I will use this site to publish anything I thought interesting. My interests include travel, cultures, entertainment, and anything that makes life fun. I would also publish technical articles. After all, I am an engineer. I couldn't abandon my life's work on my spare time. But I will focus on writing what I am inetersed in more than anything else. Whatever it is, I promise I will make the content as enjoyable as possible.

I am also an amateur photographer. When I created this site, I put in images/gallery management functionality. I used to be a lot more passionate about taking photos. I am not so passionate now. I didn't have much time and the photos I took sucks (not as cool as the photos other people have done), and I didn't have time and skills to photoshop them to look cool. But I will make an effort to post any good photos. Please enjoy.

If you want to know more about me, there is a About this Site page, and my user profile 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 in receiving regular updates from me.

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

Han Sulu
Newest Blog Posts

Cumulative Updates Dec 2017


12/09/2017 05:05:36

Summary

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

Summary

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

Summary

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

Summary

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

UI-BootStrap Modal Dialog Tutorial


04/12/2018 02:28:36

Summary

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

Summary

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

Summary

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

Summary

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

Summary

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

Summary

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