Skip to main content

Posts

Microservices vs. SOA

Have been reading up on the differences between Microservices and Service-Oriented Architecture (SOA) lately. The below are the definitions of these 2 terminologies lifted from Wikipedia.

A service-oriented architecture (SOA) is a style of software design where services are provided to the other components by application components, through a communication protocol over a network. The basic principles of service-oriented architecture are independent of vendors, products and technologies. A service is a discrete unit of functionality that can be accessed remotely and acted upon and updated independently, such as retrieving a credit card statement online.

Microservices is a variant of the service-oriented architecture (SOA) architectural style that structures an application as a collection of loosely coupled services. In a microservices architecture, services should be fine-grained and the protocols should be lightweight.

My Internet browsing pattern got pick up by Google Now and was an …
Recent posts

How to activate 280 characters limit Tweet

Update: Twitter has blocked this. It was fun though.

Twitter is currently testing to extend the current 140 characters limit to 280 for a single tweet. This feature is said to be available to a small selected group of users only but there is a way to get this 280 characters extension activated.

Developer Juliette Pretot has published a method to activate the 280 character tweets. I have personally tested it and it is working as expected.

Long tweet > 140 characters!!! Long tweet > 140 characters!!! Long tweet > 140 characters!!! Long tweet > 140 characters!!! Long tweet > 140 characters!!! Long tweet > 140 characters!!! Long tweet > 140 characters!!! Long tweet > 140 characters!!! Long tweet > 140 characters!!!— Hon Chun (@hongjun) September 27, 2017

One America Appeal - Helping Hurricane Victims

What is the One America Appeal?

The One America Appeal is a joint appeal by all five living former American Presidents to encourage their fellow citizens to support recovery efforts from Hurricane Harvey — which inundated the Texas Gulf Coast with unprecedented flooding. This special appeal will be expanded to include Hurricane Irma now approaching the mainland United States.


Will the One America Appeal also help Americans affected by Hurricane Irma?

Yes, preparations are in place to do so. What started as a specific appeal to address historic flood damage in Texas will be expanded to help victims from both storms. The nature of that assistance will be dictated in large measure by the storm’s track and impact

Why did the former Presidents decide to launch the One America Appeal?

The former Presidents were inspired to come together in the aftermath of Hurricane Harvey, which unleashed devastating flooding — and spurred thousands of first responders and neighbors into action. More than on…

Group Internet Explorer Tabs Into One Icon In Taskbar

One annoying default "feature" of Internet Explorer is it displays each tab as separate taskbar icon. This is unlike other browsers like Chrome and Firefox. To get around this, try the following steps:
Tools → Internet OptionsUnder the General tab, click on Tabs button. Make sure 'Show previews for individual tabs in the taskbar' option is unchecked.
Click OK to apply changes.Re-launch Internet Explorer. IE tabs should now be grouped into one single icon in the taskbar.

Windows - Icon Not Showing Correctly Fix

If you find that icons of your applications are not showing correctly on your Windows 7, your Icon Cache may be corrupted. The Icon Cache or IconCache.db is a special database file that Windows uses to make drawing icons of applications faster without having to get from individual application each time.

To be able to get the icons displayed correctly again, IconCache.db has to be rebuilt.
Launch Task Manager.Look for explorer.exe process and end it.Locate IconCache.db and delete it. In Windows 7/8, the IconCache.db file can be found at C:\Users\%Username%\AppData\Local\. (you may need to enable to show hidden files before you can locate IconCache.db).From Task Manager, click on File > New Task (Run).Type explorer.exe and then click on OK button.
Your icons should be back!

Restore Database Backup Over a Network Drive

How do you restore a Microsoft SQL database backup over a network drive without having to download to local? Since the database server is run as a service under an account that often without network access permission, it wouldn't be possible to be able to select the network drive/path when you are performing a restore. Nonetheless, we are not left without workaround.

To restore database backup over a network, you will need to run the following SQL statements using your SQL Management Studio.

--enable to show advanced options EXEC sp_configure 'show advanced options', 1 GO --apply changes for show advanced options RECONFIGURE GO --enable xp_cmdshell EXEC sp_configure 'xp_cmdshell', 1 GO --apply changes for xp_cmdshell RECONFIGURE GO --replace network path, username and password accordingly EXEC xp_cmdshell 'NET USE Z: \\SERVER\Path password /USER:Domain\Username' GO
Once the above are executed, you should be able to choose Z:\ network drive to restore your da…

TED: Pope Francis - Why the only future worth building includes everyone