All My Updates

This page lists all the site updates. These are short posts that describe the events in my life. These posts are frequently added here, but have less content than the blog post or the article pages. I like to post one everyday so that I can go back and check what series of changes for an extended period of time. These site updates also track the progress of various projects. Some of them might contain funny stuff, anything that can entertain the readers of these sites. Hope you enjoy them.

2020-11-06

Yesterday, I looked at my published list for this year, and it disappointed me. There were only six articles, not seven. I thought I had seven articles. I was wrong. I like to have seven articles published. So I took the blog post for the Thymeleaf integration, did some clean up. and sent to codeproject. Now I have seven published.

There are some new ideas I am considering. The newest one is form validation with AngularJS, I just had a hard time coding something with this. There is no good tutorial out there. And this is one of the weak point I have with AngularJS. Create an in-depth tutorial would help me and everyone else.

Another one would be multi-resource uploading. Something that I can use in the future projects. And I should get back to learning Redis, and at least publish one tutorial on it. There are a lot I must do, And I will get to them eventually. The problem was time, there are only two hours of the day I can do some work for this. So everything goes slowly. At this point, I don't even care if I move as fast as the technologies (of course the technology move faster than I can, because there are lots of people who do work on them). I just want to get good at things I am interested in,

Refining one's skill at one specific area is way better and way more efficient than the pursue of many things all at once.


Published Another Tutorial

Han Sulu
CodeProject Tutorial
Keywords: CodeProject Page Rendering Spring Spring Boot Spring MVC Thymeleaf Integration
2020-10-31

The tutorial write-up is completed. I have corrected all the misspells. After I proof read the tutorial, I sent it to codeproject. Yesterday I used the sample program one more time. I was very psyched about how good it was. Seems to be a waste if I leave it aside to collect dust. Maybe I should do another big project with it. It shouldn't be wasted.

The benefit of doing projects is that it can help develop ideas, ideas of how to do things better, efficient. One does not get such when sitting idle. I find that the work would also help shape one's thinking on how things can be done. It was most beneficial. I am trying to strike a balance between repeating old work, and creating new. There are some old work needed redo. And some ideas as well, I can't reveal them yet. And I am not starting these because I am a bit afraid that once I started, I get no break out of them.

I have been thinking of a new laptop to put Linux on it. But a decent one costs more than $800, I am a bit hesitant to commit to such a purchase.

As for Dragon Quest XI, I was in the desert now, the levels are pretty high. I was still grinding for experience. Recently I encountered a metal slime and defeated it. But let two more escaped. That was pretty fun. I play it once a week for 2 to 3 hours and I didn't get addicted. It is because the projects kept me focus, game play is not as fun.


New AngularJS Tutorial is Published.

Han Sulu
CodeProject Tutorial
Keywords: AngularJS Directive Html Editor Progress Update Reusable
2020-10-25

It is been six days since the last update. I have been busy. The day work was getting tough. I had no time to exercise after being busy for a week. The situation is kinda crazy. I hope it will improve next week. I have been working on the codeproject tutorial on the reusable html editor. It will be my last one for 2020 (this is the seventh one). And I am trying to make it a hit.

It is a complicated component, I have spent three days on the tutorial and it will be a couple more days. Afterwards, I will do a simple application using ES6 script syntax. I found ES6 script exciting. Redis is another matter. It is easy enough, and I was able to get a sample application working, but in order to get anything meaningful working, it will take a lot more effort. I have to learn how to use Redis and take advantage of it. I don't know how I will learn it. It is tough that I don't work with technology directly. I guess I will dig harder with search engine. And there is a lot to learn on Redis.

Maybe I can do something different this time. I can do a small blog post for every small thing I learned on Redis. It has to wait. I won't start this until the tutorial is done.That is my plan.


Working on the AngularJS Reusable HTML Editor Tutorial

Han Sulu
CodeProject Tutorial
Keywords: AngularJS CodeProject HTML Editor JavaScript Programming Tutorial Reusable
2020-10-18

Two days ago, I decided to give ES6 Script a try. I wanted to to develop a simple application with Angular JS and ES6 Script. This is 2020, it should be a lot easier to do this now than 3 years ago. I found an example and I tried. Just like the few other simple tutorial I have in the past couple weeks, it didn't work initially. I got some syntax errors. And before I logged off, I checked the web, seemed I need to use Babel and Node.js to convert the ES6 Script based code into JavaScript.

Yesterday, I played a little game, and didn't work on this little program. Today, I finally picked it back up. I was about to go get Babel and setup Node.js for this. And I was not convinced this is right. This is 2020, ES6 Script should work in the browser without any translation. Turned out, I am right. I don't need to translate. And the error I was getting was from the wrong path to the file. Another problem I had is with the ES6 Script syntax. Once I fixed both, the little program worked. A little more research I was able to get the program working as expected. Man! 10/17 is a pretty good day. I will create another tutorial for this site.

We went to see a creek (there are so many in Pennsylvania) and little water fall. It was lovely. I had a few good photography ideas with the place. Maybe I will do some more photography projects in Pennsylvania.


Giving ES6 Script a Try... And it Worked!

Han Sulu
Technical Challenge
Keywords: AngularJS ES6 Script JavaScript Learn New Things Tech Challenge
2020-10-16

I put in another fix for this site. I noticed that whenever I add an image to a post or in an update, I need to add a center aligned DIV, then in it the image. I have type all these by myself. It is better to add a command shortcut. So I did.

Also, when I use the command shortcut to add an unordered list or ordered list. The place holder lines would have this annoying "<". It was added by accident. So I had to delete all that extra "<" characters.

Lastly, the place holder for the title attribute, the word "descrition" was misspelled. I cannot stand it. So I took this opportunity to fix it. Anyways, I had a little tough time adding the command shortcut to for site update section. I fixed at the end of last night (10/14).

Yay! 18 issues fixed since the site came online. This is great!


Fixed Another Few Issues for This Site

Han Sulu
Site Maintenance
Keywords: Site Bug Fix Site Enhancement Site maintenance
2020-10-14

I just got Redis on my PC. I was amazed how small the server is, All the binary files added up is less than 1MB. If I use the default configuration, the server starts right up. It must be written in C. I was able to add a key and value in the storage. And retrieve it. When I shut down the server, the data was lost. I was not able to get it work with the the auto save. Turned out there is a better way, on the CLI, if I invoke command SAVE, the change will be persisted to disk. After I turn off the server and restarted again I was able to see the key value again.

The next step is to write a small Java program to exercise the functionality with redis. I like the simplicity with this NoSQL database. I think I like to learn as much as I can about this. Again, I was thrilled that this thing is so simple. The server executable is so small. It is so easy to run it with a default configuration. And so easy to save the key value pair to file.


Getting Redis and Play It Out

Han Sulu
NoSQL
Keywords: NoSQL Redis
2020-10-12

Writing coding tutorial takes a lot of time. I spent at least three days on it, and it is still unfinished. I really don't like to do this. It is fun to figure out how things works. But write it all out takes time, Maybe I need to change the work style a little bit. I am not sure what to do with this. All I know is that documenting the tutorial takes too much of time. I need to find a way to make this more efficient.

Anyways, the tutorial is almost done. I will do one more push to finish it. Then I have to proof read it before it can be published at this site. As said before, lots of work. I can do this now. If I push myself for another big project. I won't be able to push out this tutorial as much. This is the reason I only allocate five articles per year, leaves lots of time on the development of this site. Anyways, now this is completed. I have a little more time to do tutorial. I still don't like it. Must find a way to make this easy.

On Saturday 10/10/2020, I played Dragon Quest XI for two hours. It was fun. I figured out the attraction of this game. It has no pressure for a player, and the success is almost guaranteed. So it is very easy to get the endorphin as reward. This is how a player can get hooked to play this game nonstop. This is dangerous. I was unaffected because I have discipline, From time to time, I would still play over the time. Anyways, I will get better control over time.

I took some good pictures this weekend, of Sunflowers. Maybe I will post one later.


ThymeLeaf Tutorial is Almost Complete

Han Sulu
Site Update
Keywords: Basic Usage Fragments Reusable Component Spring Boot Thymeleaf Tutorial
2020-10-07

I just started the write up of a simple tutorial on Thymeleaf. This tutorial will be simple and exclusive for my site. I have uploaded the project to bitbucket in a separated source repo. As long as I have the source code, I will be able to reproduce the same exact effect at a later date. The pain of documenting the usage is just to share information with the public. I don't event expect increase of traffic to the site. The details I will share is already available on other sites.

Write it and share is mostly for me. I will read it again to to figure out what I did before. This is just a simple application that accomplished what I have done before. I will create another sample application to have Spring Security added. Again this is retrace the work I have done before but will use Thymeleaf for page rendering. I will also add tutorial for global exception handling. It sis something I have just learned recently. For the next project, this little technique will be used. Anyways, it will be found for the next two months. The Angular HTML editor piece is still shelved somewhere, which I will document for codeproject as last one for this year.


Work on Blog Post Tutorial for Thymeleaf

Han Sulu
Site Update
Keywords: Basic Usage Fragments Reusable Component Spring Boot Thymeleaf Tutorial
2020-10-04

Learning new things means I want to move forward. I used to hold grudges on certain technologies. Then a while later I find myself giving up such grudge. I explore the these new things which I don't think are right. I don't like them but I find myself use them all right. And I don't find myself betraying my own believes (although it does looks like I betray myself), I am surviving by adapting. When you feel the same thing, you don't have to hate yourself. Just tell yourself you have to survive and you have to adapt.

This time, I was learning Thymeleaf. I needed it because I need a replacement to the taglib jars. They will not be usable with the newest Java compiler. This is the best alternative. I will use it if there is no other choice. And I heard good things about ThymeLeaf. It took some research, And I was able to create a very simple application. It exercises the minimum set of requirements I have. I have not yet made it work with Spring Security. First I will add Bootstrap 3.3.7 to it. Then make a small tutorial, Post it here and possibly for codeproject. Then I will move on with Spring Security.


Thymeleaf Sample Program Works

Han Sulu
Technical Challenge
Keywords: Learn New Things Spring Boot Technical Progress Technical Transformation Thymeleaf
2020-09-30

I returned to Spring Boot programming two days ago. First, I decided to learn how to use ThymeLeaf. I was using JSF, and TagLib. But both implementations are getting old. They will not work with Java version above 8. As of now, the warning does not prevent the application from running. But I cannot guarantee this would be the case five years from now. I need a replacement. This site is not affected now, but if needed, I can rip all that out replace the old code with ThymeLeaf.

But I hit some issue which took me two hours to resolve. This really made me feel getting old. It was a silly mistake, It was eventually resolved. But it annoyed me pretty bad. I put that in the past. Today, I did some code design with the ConrollerAdvice, a way of catch all the exceptions, then return either a web page or a JSON message. The coding was smooth sailing. The thing is, since I have done this web site, I was not as focused. I do the spare time work while watching TV. And I just don't see some of the tiny mistakes I made, and that would waste time chasing these mistakes - focus is important.


Spring Training

Han Sulu
Unsolved Technical Challenge
Keywords: Exception Handling General Programming Spring Boot UI Markup
2020-09-28

It has been a week, with no new updates. What is wrong with me? Here are some catching up:

  • I completed the prototype of the Android application. It took a while but I still got it. I loaded the application on to an Android pad and it work just as I expected. There are more to be done. I will put it aside and will pick it when time comes.
  • I played Dragon Quest XIfor a while. The main character got to level 10, and met the dragon. Got second companion. The luscious colors of the game gave me headaches. I heard this is the reason the Japanese version thanks the actual player for stop playing and rest.
  • I was working on a project page where I list out all the places I have visited since birth, it turned out to be a long list. I have been to a lot of places since the immigration. It is truly an adventure. I will keep exploring... This list is still in progress.

Yesterday, I finally returned to writing web application again. Here is my thought, the application development technology is old. Eventually, some of the libraries will not be working in the mix. The new things even though I hate, will be supplementing the old ones I like. I used to dislike Spring Boot. Now I used it like my left hand. It was just convenient. The new things I am exploring will be just like Spring Boot. I will get the first simple program working, then write a codeproject tutorial, then expand with more functionalities. Hopefully, by the end of the year, I have enough materials for some potential new projects.


Wow! Long Time with No New Updates

Han Sulu
Catching Up
Keywords: Catching Up Recent Progress What's Up
2020-09-22

Game Image, Used under nonprofit/fair use/educational purposes.

On Sunday (yesterday), the water heater was dead, only lukewarm water available. The whole family didn't shower. Turned out, the ignition of the water heater was off. And there is a way to re-ignite the spark. And I was able to turn it on. Disaster avoided, Then the Monday went through smoothly. It was one of these days when one thing worked, everything worked.

I played some game on Sunday. First I was playing No Man's Sky. And I finally got sick of it. So I switched to Dragon Quest XI. I hope it wouldn't be a mistake as it will take a lot of work to play through. The truth is that I am a bit scared of Days Gone. And Star Wars Jedi: Fallen Order is a bit annoying with all the jumps and acrobats. I would eventually get back to Fallen Order. For now I will enjoy some simple game play.

The Android application is almost done. I just added some extra code to prevent pop up dialog to close, And I added the text resources to display at different stages. Finally I got Pixel C pad emulator and got the application run on it and it looked OK. So it would work with a phone and with a larger pad. The time to test it completely is almost there. I am happy with the progress,


Another Monday

Han Sulu
Android Challenge
Keywords: Android Media Play Mobile App Development Sample Program
2020-09-19

It has been five days since my last update. A lot has happened. I just want t summarize here before I go and play games. First, the black car's left head light was not working, And the fuel door cannot pop open. The car dealer fixed the head light, but not fixed the fuel door. It is probably because the mechanic couldn't reproduce the issue. They clean the fuel door compartment and call it fixed. I was not too happy about it. When I was about to bring the car back in for another fix, I found a temporary solution. There is an manual release, I used it to open the fuel door. And now it can be popped open. Unfortunately, I tried again on 9/19/2020 morning, it was stuck again. Good thing the manual release still works.

I was working on an Android application. It took five nights, And I have it running now. I need to do some clean up, add some new functionality, then it can be deployed for testing. I can't reveal too much of this application. I am happy about the progress I have made. I have not done Android application for at least 10 years. And I picked it up right up no problem. I learned more from this than I did 10 years ago.

I mistaken a router as network extender. It was ridiculous. And I had to make another purchase. Hopefully, it will be the right ones. And I still forgot to buy the steel metal plate for the phone (used with a magnet to put on the car dash board). I guess I will try remember next time. I download and installed TikTok, just in case the ban prevent future installation of the app.


Things that Happened In the Past 5 Days

Han Sulu
Summary of Updates
Keywords: Cumulative Updates Daily Routine
2020-09-13

I will be adding two project pages. At least I am thinking of this. The first page is to list all the places I have been, traveled, visited. And how much fun each places is. I want to see how much of the world I have seen. Another possibility for this project is to list some places I like to visit later, and I want to see if I can get to these places if I try hard enough. Travel is not easy for me. And I like to visit places. And I guess I want to get comfortable with traveling.

Another project page I like to create is the game page. This seems childish. But I like it. Playing video games is an childhood obsession. Something I do not wish to give up. It is also something I want to enjoy. Even though it seems childish, I like the idea that I can keep a scoreboard, as an entertainment to myself.

For these two project pages, I will decorate them with some great icon images, and create some more style classes to make these two project pages unique.


Thinking of Adding New Project Pages

Han Sulu
Site Update
Keywords: Area Explorations New Ideas Project Ideas Site Project Update
2020-09-12

Screenshot from the video game The Outer Worlds - Posted as non profit/Fair Use

I have sold the house on 9/10/2020. On the same day, I finished the video game The Outer Worlds. I was stuck at the final battle. There was one giant robot plus four small drones. The NPC lost conscious shortly after engagement. At first, I was quick to die. It was very frustrating. That was a week ago. I waited on a day when I was well enough, and I was able to beat this last battle on 9/10/2020. It was a very happy day. The house was sold, I was able recover most of the fund (also lost a lot). Anyways, I was very happy with the outcome.

For this site, I am back to fixing some issues, I have cleaned up the page content directive for the Admin site. There were some duplicated code, which I have removed. Then I have fixed the add resource image URL issue. Finally I added an enhancement to filter the resource by type for the add resource popup. These changes are still under testing. Once they are certified I will push then for public use. At time of writing this, the code changes are still under testing.

Today (9/11), I was looking into the block chain technology Ethereum. It was very interesting. I looked through one tutorial and it looked interesting. It will be something I will check next. Right now I have to deal with Android, I need to design an application that can play wav file and record wav file, and also add some text file to the Android disk. I will need to focus on this.


I Have Completed the Game - The Outer Worlds

Han Sulu
Video Game Play
Keywords: PlayStation 4 PS4 The Outer Worlds Video Game Play
2020-09-08

I finished another update for this web site. This time, it was an enhancement. I separated the list of photos and pictures from the other resources list. The reason is simple. The photos and picture I will post are my most prized images, The other images from the resource list are screenshots, and unimportant image files. When both mixed in the same list, this will make the management of both harder to do.

The solution is to separate the two. I create a new list of photos and pictures. The change is pretty simple, but involved a lot of file changes. And it created some duplicate code. I am OK with it. It was thoroughly tested. And I have put it available to the public. I am going to fix any issues later.

This labor day is kinda crazy. I brought three pieces of hardware for home improvement. One is a simple slide lock. It was an easy install, but it was ineffective. Another one to fix the snap lock on the front door, Again, it was not effective, another easy fix though. The last one is a plastic pad to prevent the door knob scratch another door. This one is the simplest to install, and it was effective. I am getting better with the home improvement. And it is getting easier with the right tools. Now I am finally believing right tools for the right job.


Completed an Enhancement to This Site

Han Sulu
Site Maintenance
Keywords: Site Bug Fix Site Enhancement Site maintenance

Page 11 of 13