Samuel Liew’s Blog

News, events, and other interesting finds

As our devices become more connected to the cloud, it feels more and more tedious to have to manually plug in and sync your pictures.

Pictures aren’t backed up automatically on android in the same way contacts and calendars are, so we’ve picked out the best apps that will do it for you automatically, without wires. If you’re using an iPhone, we’ve already got you covered.

Original Article:
How Can I Back Up and Sync my Androids Pictures Without Plugging It In?

Business and finance blog The Wisdom Journal shares a set of techniques for handling interview rejection including debriefing yourself.

Don’t be too hard on yourself. Interview rejection is rarely personal. Take a few moments after each interview and go through a “debriefing” period by asking yourself a few questions:

  • What did I learn from this interview?
  • Was I as prepared as I thought?
  • What could I have done or said differently?
  • How can I be better prepared for my next interview?

How To Debrief Yourself After Interview Rejection [The Wisdom Journal via Wise Bread]

Source: Web Designers Vs Web Developers, Visualised | Gizmodo Australia.

This is a very useful information. Please pass it on to your friends and family especially the women!

The next time you are stopped by anyone who claims to be plain-clothes police, you are under no obligation to answer their questions or follow their orders, lawyers told Malaysiakini today.

‘Policeman who is not wearing his uniform does not have the authority to stop anyone,’ lawyer and human rights activist Sivarasa Rasiah said.

Sivarasa was commenting on the alleged gang-rape of an 18-year-old Uni student by four men claiming to be police officers on New Year’s Eve. The girl said that her car was stopped in Taman Tun Dr Ismail in Kuala Lumpur and were asked by the men to open the car bonnet. She was then told that she had committed an offence and ordered to follow the men to a police station. The girl was driven in her car along the North-South expressway to the Tapah-Cameron Highlands road before she was raped in an oil palm estate.

This incident, and many others, have sparked confusion over the procedures which motorists must follow when flagged down by the police. The most common problem is that most people take instructions without determining if the other person is really a cop,’ lawyer Annie Santiago said.

However, if you are stopped by a uniformed policeman, then you are required to stop. But you need not get out of the car because you are not expected to do so, Santiago said. He other rule to follow is to provide your identity card only when you are asked to do so. ‘Even then, you should get his ID first to confirm if he is a cop. There is no harm in calling the relevant police station to verify if he is supposed to be on duty that day,’ Sivarasa said.

Both lawyers said that motorists should never follow an officer to the police station unless one is under arrest . ‘If you are not sure, and your instincts tell you that something is wrong, then drive off to the nearest police station and lodge a report,’ Sivarasa said.

In response to the alleged gang-rape of the 18-year-old, Women’s Aid Organisation executive-secretary Ivy Josiah called on the police to launch an education program to teach the public about their rights to prevent them from being victimised by bogus police officers.

Procedures to follow in the event you are stopped by uniformed police officers while driving:
1. Stop the car and wind down your window
2. If the police officers ask for your documents, request to see their IDs first
3. If you are satisfied about their identity, ask them if you are being summoned, and for what offense
4. Produce your identity card and driver’s license and wait to collect your summon ticket

In the event that the police officers ask you to follow them to the police station:
1. Ask if you are under arrest and for what offense
2. If you are not under arrest, you have the right to leave

In the event you are flagged down by persons you believe could be plain clothes police:
1. Do not stop because plain clothes police officers do not have the authority to stop you
2. Drive to the nearest police station and lodge a report (The same applies to pedestrians)

In the event the police come to your house:
1. Do not let them in before checking their IDs
2. If you are not satisfied, phone the nearest police station and confirm if they had been sent to your house
3. You are under no obligation to allow them into the house if they don’t have a search warrant
4. Do not go with them if you are not under arrest

In the event persons who claimed to be plain clothes police who come to your house:
1. Do not let him in because they do not have the authority to do so
2. Lodge a report at the nearest police station

Source: Malaysiakini

Update: Apparently there are imposters in Singapore too. Check out this article from The Straits Times: http://www.straitstimes.com/BreakingNews/Singapore/Story/STIStory_598729.html

Above by an Indonesian government spokesman:

“It has only been a week of smoke but people are already making so much noise. What about all the oxygen that (Indonesia) supplies to them during the rest of the year?”

Amazing how they can come up with this stupid statement. They can’t ‘provide’ oxygen to us the same way they can’t stop our supply of oxygen. Air belongs to everyone, they are the ones polluting it. It is these type of people that is all talk but no action on trying to stop the fires. They only know how to shoot themselves in the foot. Year after year the same thing happens, yet they can make this kind of joke.

After coming across this article on Gizmodo (Most Days I Feel Like This PayPal Automated Support Bot), I had to try it out myself. Apparently, this has been fixed by the company that is running the AI behind the bot, but I still had some fun with it.


This is called street-smart. Giving a third-party’s number instead of her own, then saying that she doesn’t know what I’m talking about.


This bot CAN keep a secret ;)


Very well-constructed last response.


AI still can’t handle any form of simple sarcasm until it is bluntly stated.


Are you seriously giving your company’s number to a bored person?


I should have said I don’t give refunds XD

As I am involved in the visuals ministry in church, I usually have to check through the lyrics of each song before service for consistency. This is tedious work as there are many songs, and have to repeatedly do the same validation each week. As any knowledgeable IT geek would do, I wrote a UltraEdit macro to automate the task using Regular Expressions to find and replace stuff.

Currently this script does the following:

  • Correct all words to proper capitalization
    - Capitalize first word of every line
    - Capitalize any word that refers to God. E.g.: Jesus, Lord, Holy Spirit, Father
  • Standardize words/punctuation
    - Replace angled quotation marks (“) to standard (")
    - Replace tabs with a space
    - Replace words like “O” to “Oh”
    - Captalize labels and add buffer lines before each (Chorus, Verse, Bridge, etc.)
  • Removes unnecessary stuff
    - Lines with song chords, if any
    - Multiple spaces
    - Trailing spaces
    - Multiple blank lines
    - Certain punctuations

Example song (before running the macro):

2. Tell the world Verse 1: F#m Don't want to stand here and shout your praise, F#m And walk away and forget your name. F#m I stand for you if that's all all i do, F#m 'Cause there is none that compares to you. Pre Chorus: F#m F#m 'Cause all i want in this life is you. F#m And all i want in this whole world is you, you, you. Chorus: Bm7 D A E Tell the world that jesus lives. F#m D Tell the world that. tell the world that. A E Tell the world that he died for them. F#m D Tell the world that he lives again. Verse 2: F#m No longer i, But christ in me. F#m 'Cause it's the truth that set me free. F#m F#m How could this world be a better place, by Thy mercy, and by Thy grace. Bridge: A Bm9 F#m D Come on, Come on, we'll tell the world about you. A Bm9 F#m D Come on, Come on, we'll tell the world about you.

Example song (after running the macro):

Tell the world Verse 1 Don't want to stand here and shout Your praise, And walk away and forget Your name. I stand for You if that's all all I do, 'Cause there is none that compares to You. Pre-Chorus 'Cause all I want in this life is You. And all I want in this whole world is You, You, You. Chorus Tell the world that Jesus lives. Tell the world that. tell the world that. Tell the world that He died for them. Tell the world that He lives again. Verse 2 No longer I, but Christ in me. 'Cause it's the truth that set me free. How could this world be a better place, by thy mercy, and by thy grace. Bridge Come on, come on, we'll tell the world about You. Come on, come on, we'll tell the world about You.

Here’s the macro code:

InsertMode ColumnModeOff HexOff PerlReOn TrimTrailingSpaces Top Find RegExp "^[ ]+" Replace All "" Find RegExp "^\s*(([A-G][\/ A-G a-z 0-9 #]{0,5})\s+)+\s*$" Replace All "" Find RegExp "^[0-9]+[\. \: \)]?\s*" Replace All "" Find RegExp "^(Key|key|KEY)[\. \: \)]?\s*[A-G a-g].*" Replace All "" Top Loop SelectLine ToLower SelectWord ToCaps Key END Key RIGHT ARROW IfEof ExitLoop EndIf EndLoop Top Find RegExp "\b(you)\b" Replace All "You" Find RegExp "\b(you've)\b" Replace All "You've" Find RegExp "\b(you're)\b" Replace All "You're" Find RegExp "\b(your)\b" Replace All "Your" Find RegExp "\b(yours)\b" Replace All "Yours" Find RegExp "\b(christ)\b" Replace All "Christ" Find RegExp "\b(father)\b" Replace All "Father" Find RegExp "\b(god)\b" Replace All "God" Find RegExp "\b(almighty)\b" Replace All "Almighty" Find RegExp "\b(son)\b" Replace All "Son" Find RegExp "\b(he)\b" Replace All "He" Find RegExp "\b(he's)\b" Replace All "He's" Find RegExp "\b(his)\b" Replace All "His" Find RegExp "\b(him)\b" Replace All "Him" Find RegExp "\b(himself)\b" Replace All "Himself" Find RegExp "\b(holy ghost)\b" Replace All "Holy Ghost" Find RegExp "\b(i)\b" Replace All "I" Find RegExp "\b(jehovah)\b" Replace All "Jehovah" Find RegExp "\b(jesus)\b" Replace All "Jesus" Find RegExp "\b(saviour|savior)\b" Replace All "Saviour" Find RegExp "\b(holy spirit)\b" Replace All "Holy Spirit" Find RegExp "\b(holy one)\b" Replace All "Holy One" Find RegExp "\b(spirit)\b" Replace All "Spirit" Find RegExp "\b(lord)\b" Replace All "Lord" Find "Lords" Replace All "lords" Find RegExp "\b(king)\b" Replace All "King" Find "Kings" Replace All "kings" Find RegExp "\b(Word)\b" Replace All "word" Find "prince of peace" Replace All "Prince of Peace" Find "my redeemer" Replace All "my Redeemer" Find "Kingdom" Replace All "kingdom" Find "your majesty" Replace All "Your Majesty" Find "my Spirit" Replace All "my spirit" Find RegExp "\b(o|oh)\b" Replace All "Oh" Find RegExp "\s*\b(((^(P|p)re)(C|c)horus)|((^PRE)CHORUS))\b" Replace All "\n\nChorus" Find RegExp "\s*\b((P|p)re([ ]|-)?chorus|PRE([ ]|-)?CHORUS)\b" Replace All "\n\nPre-Chorus" Find RegExp "\s*\b((P|p)re|PRE)\b" Replace All "\n\nPre" Find RegExp "\s*\b((C|c)oda|CODA)\b" Replace All "\n\nTag" Find RegExp "\s*\b((V|v)erse|VERSE)\b" Replace All "\n\nVerse" Find RegExp "\s*\b((B|b)ridge|BRIDGE)\b" Replace All "\n\nBridge" Find RegExp "\s*\b((I|i)ntro|INTRO)\b" Replace All "\n\nIntro" Find RegExp "\n\nIntro(.)*\n\n" Replace All "\n\n" Find RegExp "\s*\b((E|e)nd(ing)?|END(ING)?)\b" Replace All "\n\nEnding" Find ":" Replace All "" Find "’" Replace All "'" Find "‘" Replace All "'" Find "“" Replace All """ Find "”" Replace All """ Find "[" Replace All "" Find "]" Replace All "" Find " " Replace All " " Find " " Replace All " " Find " " Replace All " " Find "'S" Replace All "'s" Find "'R" Replace All "'r" Find "'V" Replace All "'v" Find RegExp "^'c" Replace All "'C" Find RegExp "(\r\n){3,}" Replace All "\r\n" SelectAll Copy

Download The Macro (requires UltraEdit)