Search This Blog

Google Analytics

Thursday, January 25, 2018

World Economic Forum 2018 - The Belt and Road Impact


The Belt and Road Initiative is envisioned to enhance connectivity across continents through infrastructure investment, cultural exchange and technological know-how transfer. What are the implications for regional collaboration and the expansion of clean infrastructure?

This session was developed in partnership with Caixin Media.

Speakers: Jin Liqun, Li Xin, Kirill Dmitriev, Michael S. Burke, Shahid Khaqan Abbasi, Chan Chun Sing, Ren Hongbin

Friday, November 24, 2017

Viral video showing couple pushing bicycles into drain

A video uploaded onto Facebook showing a couple pushing bicycles from bike sharing company oBike into drain, goes viral. The couple in the video were wearing workout attire and do not seem to be the ones who rented these "victimized" bicycles. The 2 bicycles were probably not parked probably and this could have sparked the couple behaving in this manner.



oBike has reported this mischief to the police.

Monday, November 13, 2017

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 article was proposed as a possible to-read article.

SERVICE-ORIENTED ARCHITECTUREMICROSERVICES ARCHITECTURE
Maximizes application service reusabilityFocused on decoupling
A systematic change requires modifying the monolithA systematic change is to create a new service
DevOps and Continuous Delivery are becoming popular, but are not mainstreamStrong focus on DevOps and Continuous Delivery
Focused on business functionality reuseMore importance on the concept of “bounded context”
For communication it uses Enterprise Service Bus (ESB)For communication uses less elaborate and simple messaging systems
Supports multiple message protocolsUses lightweight protocols such as HTTP, REST or Thrift APIs
Use of a common platform for all services deployed to itApplication Servers are not really used, it’s common to use cloud platforms 
Use of containers (such as Docker) is less popularContainers work very well with microservices
SOA services share the data storageEach microservice can have an independent data storage
Common governance and standardsRelaxed governance, with greater focus on teams collaboration and freedom of choice

» Microservices vs. SOA – Is There Any Difference at All? | DZone

Thursday, September 28, 2017

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.

Friday, September 08, 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 one million people have been displaced by Harvey, which has caused up to $180 billion in damages to over 200,000 homes over a 300-mile path of destruction.

If I make a donation today, where does my money go?

All donations made today will go to help victims of Hurricane Harvey in Texas through (1) the Houston Harvey Relief Fund focusing on the greater Houston region, and (2) the Rebuild Texas Fund assisting communities across the state.

Can I mail a check?

Yes. Checks to the One America Appeal may be mailed to:

GBPLF One America Appeal
Post Office Box 14141
College Station, Texas 77841-4141
*Checks should be payable to "GBPLF One America Appeal"

Is the One America Appeal a new fund?

No. All funds collected through the One America Appeal will go into a special account at the George H. W. Bush Presidential Library Foundation, a tax-exempt 501(c)(3) organization, to ensure 100 cents out of every dollar donated goes to hurricane victims. All monies collected will be distributed immediately to the designated recovery funds. All donations will also be tax-deductible.

Are public tax dollars involved in this project?

No. This is a private effort led by distinguished private citizens to raise private dollars that will supplement ongoing relief and recovery efforts underway at all levels of government.

Get to know more of the One America Appeal.

Tuesday, August 15, 2017

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:
  1. Tools → Internet Options
  2. Under the General tab, click on Tabs button.
  3. Make sure 'Show previews for individual tabs in the taskbar' option is unchecked.
  4. Click OK to apply changes.
  5. Re-launch Internet Explorer.
IE tabs should now be grouped into one single icon in the taskbar.

Wednesday, July 26, 2017

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.
  1. Launch Task Manager.
  2. Look for explorer.exe process and end it.
  3. 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).
  4. From Task Manager, click on File > New Task (Run).
  5. Type explorer.exe and then click on OK button.

Your icons should be back!

Monday, July 17, 2017

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 database backup file. I hope it helps.

Tuesday, May 23, 2017

Installing Oracle Complaining Missing dr0ulib.sql.sbs

When installing Oracle Database 12c Release 1, you may encounter an error complaining missing dr0ulib.sql.sbs file. You will be stuck no matter how many times you hit on Retry button. It just won't proceed!

To resolve this issue, you will need to do this:

  1. Abort installation.
  2. Copy all folders and files in your \winx64_12102_SE2_database_2of2\database\stage\Components\ folder to \winx64_12102_SE2_database_1of2\database\stage\Components\.
  3. Initiate installation again.

Please do not ask me why the need for this silly step. It is just how Oracle package their installation files. I would recommend them doing a ISO file instead of doing 2 ZIP files!

Tuesday, May 16, 2017

SharePoint 2013 Site Template ID List for PowerShell

If you are creating a new SharePoint site collection using PowerShell, you can specify the template to be applied. To do that, PowerShell expects you to provide the Template ID. The following is a list of template ids which may come handy.

Template IDTitle
GLOBAL#0Global template
STS#0Team Site
STS#1Blank Site
STS#2Document Workspace
MPS#0Basic Meeting Workspace
MPS#1Blank Meeting Workspace
MPS#2Decision Meeting Workspace
MPS#3Social Meeting Workspace
MPS#4Multipage Meeting Workspace
CENTRALADMIN#0Central Admin Site
WIKI#0Wiki Site
BLOG#0Blog
SGS#0Group Work Site
TENANTADMIN#0Tenant Admin Site
APP#0App Template
APPCATALOG#0App Catalog Site
ACCSRV#0Access Services Site
ACCSRV#1Assets Web Database
ACCSRV#3Charitable Contributions Web Database
ACCSRV#4Contacts Web Database
ACCSRV#5Projects Web Database
ACCSRV#6Issues Web Database
ACCSVC#0Access Services Site Internal
ACCSVC#1Access Services Site
BDR#0Document Center
DEV#0Developer Site
DOCMARKETPLACESITE#0Academic Library
EDISC#0eDiscovery Center
EDISC#1eDiscovery Case
OFFILE#0(obsolete) Records Center
OFFILE#1Records Center
OSRV#0Shared Services Administration Site
PPSMASite#0PerformancePoint
BICenterSite#0Business Intelligence Center
SPS#0SharePoint Portal Server Site
SPSPERS#0SharePoint Portal Server Personal Space
SPSPERS#2Storage And Social SharePoint Portal Server Personal Space
SPSPERS#3Storage Only SharePoint Portal Server Personal Space
SPSPERS#4Social Only SharePoint Portal Server Personal Space
SPSPERS#5Empty SharePoint Portal Server Personal Space
SPSMSITE#0Personalization Site
SPSTOC#0Contents area Template
SPSTOPIC#0Topic area template
SPSNEWS#0News Site
CMSPUBLISHING#0Publishing Site
BLANKINTERNET#0Publishing Site
BLANKINTERNET#1Press Releases Site
BLANKINTERNET#2Publishing Site with Workflow
SPSNHOME#0News Site
SPSSITES#0Site Directory
SPSCOMMU#0Community area template
SPSREPORTCENTER#0Report Center
SPSPORTAL#0Collaboration Portal
SRCHCEN#0Enterprise Search Center
PROFILES#0Profiles
BLANKINTERNETCONTAINER#0Publishing Portal
SPSMSITEHOST#0My Site Host
ENTERWIKI#0Enterprise Wiki
PROJECTSITE#0Project Site
PRODUCTCATALOG#0Product Catalog
COMMUNITY#0Community Site
COMMUNITYPORTAL#0Community Portal
SRCHCENTERLITE#0Basic Search Center
SRCHCENTERLITE#1Basic Search Center
SRCHCENTERFAST#0FAST Search Center
visprus#0Visio Process Repository

» SharePoint 2013 Site Template ID List for PowerShell | Absolute SharePoint Blog

Friday, May 12, 2017

8 ways to spot fake news

Fake news is nothing new and it has got worse recently. With social media, fake and bogus stories can reach more people more quickly than before in the past.

Here are 8 ways to spot fake news:
  1. Consider the source
  2. Read beyond the headline
  3. Check the author
  4. What's the support?
  5. Check the date
  6. Is this some kind of joke?
  7. Check your biases
  8. Consult the experts
» How to Spot Fake News | FactCheck.Org

Thursday, May 11, 2017

Bernie Sanders message on whether Russia and Trump colluded

Did Russia act independently in support of Trump or did the Trump campaign actively collude with them in attempting to win the election?

James Comey's farewell letter - In full

James Comey was fired, by U.S. President Donald Trump, from his position as FBI director, because Trump felt Comey was not doing a good job. The firing received several criticisms for its timing and it raises all kinds of questions especially as the FBI is reportedly ramping up its investigation of Trump associates' connections to Russia.

James Comey's farewell letter - in full:

To all:

I have long believed that a President can fire an FBI Director for any reason, or for no reason at all. I'm not going to spend time on the decision or the way it was executed.

I hope you won't either. It is done, and I will be fine, although I will miss you and the mission deeply.

I have said to you before that, in times of turbulence, the American people should see the FBI as a rock of competence, honesty, and independence.

What makes leaving the FBI hard is the nature and quality of its people, who together make it that rock for America.

It is very hard to leave a group of people who are committed only to doing the right thing.

My hope is that you will continue to live our values and the mission of protecting the American people and upholding the Constitution.

If you do that, you too will be sad when you leave, and the American people will be safer.

Working with you has been one of the great joys of my life.

Thank you for that gift.

Jim Comey

Tuesday, May 09, 2017

Facebook is down

What can get more worse for some for not able to update their Facebook status to inform the world that Facebook is down? Yes, Facebook is down, at least for me in Singapore as of now May 9, 2017, 09:41 AM (GMT +8).


Wednesday, April 19, 2017

How Interest Rate Changes Affect REITs?

I chance upon an article on how interest rate changes affect Real Estate Investment Trusts (REITs) and thought of sharing this article to my readers.

In this article, it wrote how REITs react to 2 main factors:- (1) Cost of borrowing changes; and (2) Attractiveness of REIT as an investment asset versus alternative investments. The writer concludes interest rate is a factor, but REIT returns are influenced more by the following instead:

  1. Economic growth, population growth, demand and supply dynamics, manufacturing production, jobs demand and supply
  2. Valuation of the REIT
  3. Manager's Competency

» How Interest Rate Changes Affect REITs | Investment Moats

Popular Posts