Skip to main content

Posts

Showing posts from 2014

Infographics: When should we use JPEG, GIF and PNG?

The side-effects of young children using mobile / handheld devices

In current generation where penetration rate of mobile devices is high, we see many including young children often using mobile devices while travelling, in school or even before bedtime. A fact sheet published on Zone'in advised infants aged 0-2 years should not have any exposure to technology, 3-5 years be restricted to one hour per day, and 6-18 years restricted to 2 hours per day.


The fact sheet researched on areas:
Technology Use: usage statistics; technology addiction prevalencePhysical Impairments: developmental delay; obesity, cardiovascular disorders and diabetes; movement deprivation, sensory overstimulation, elecrtromagnetic radiation, sleep disruptionMental Disorders: human detachment and mental illness; psychotropic medication, restraints, and seclusion rooms, touch deprivation, pornography and risky behaviorSocial Disorders: communication, aggression and declining empathy,Academic Decline: attention deficit; illiteracy, education technology;Implications and Solutions:…

How to stop FortiClient from starting automatically?

Installed FortiClient recently but the challenge in disabling the application/service from running automatically on every start-up annoyed me. Attempt to stop 'FortiClient Service Scheduler' only return 'Parameter is incorrect' error message.

An article on Technet help solve my trouble. To stop FortiClient from starting automatically, try the following:
Shut down FortiClient from the system tray.
Run net stop fortishield on command prompt.
Run msconfig.
On msconfig, switch to the Services tab. Clear the FortiClient Service Scheduler check box and click Apply.Run services.msc on command prompt to open up show all available services.Look for FortiClient Service Scheduler. Switch Startup type to Manual.Restart your computer. FortiClient should not be running automatically the next time round. Hope it helps.

How to Interpret Indian Head Shakes?

Talk about cross-cultural communication, a lot of people have been confusing themselves about what does it mean when an Indian shakes his head. Someone actually put up a video explaining the different types of head shakes are and their meaning.


I hope it helps in reducing miscommunication.

What are the differences between Visual Studio Community Edition (FREE) and the Express Editions?

If you are a developer working on Microsoft (or perhaps Linux since Microsoft is open-sourcing its .NET Core) platform, it is likely that you would have heard Microsoft releasing a rich featured edition of Visual Studio at absolutely ZERO cost. The new edition of the FREE Visual Studio is the Community Edition.

So what are the differences between the new Visual Studio Community Edition and the usual Express Editions? Before I begin, I would like to state that the Community Edition is in fact a Professional Edition but re-packaged and distributed at NO cost. The two main differences between Visual Studio Community Edition and the Express Editions are:
Visual Studio Express Editions do not allow users to use extensions (aka. plugins).Visual Studio Express Editions are targeting specific platforms e.g. Web, Windows and Windows Desktop apps.
Download Microsoft Visual Studio now!

What is History and the Benefits of History?

Very often when we think of History, we will associate it with boring. But why schools are still offering History as a subject? What exactly is History and what are the benefits of knowing the past? The following short video perfectly address this.

Once Upon a Time - Story About Everybody, Somebody, Nobody and Anybody

Once upon a time there were four people named Everybody, Somebody, Nobody and Anybody.

When there was an important job to be done, Everybody was sure Somebody would do it.

Anybody could have done it, but Nobody did.

When Nobody did it, Everybody got angry because it was Somebody's job.

Everybody thought Anybody could do it, but Somebody realized that Nobody would do it.

So it ended up that Everybody blamed Somebody that Nobody did what Anybody could have done in the first place.- Author unknown

Currency Act - the legal tender limit for coins of denomination

In light of multiple cases whereby payments were attempted with coins amounting in thousands, the Monetary Authority of Singapore (MAS) has released a statement on the legal tender limit for coins of denomination.

According to the Currency Act, the legal tender limit for coins of denomination:
Below 50-cents is S$2 per denomination.For 50-cent coins, the limit is S$10.There are no limits for S$1 coins. A payee has no obligation to accept coins beyond the legal tender limits set out in the Currency Act.

Happy Birthday from Google

Birthday doodle from Google for this year is exactly the same for the past 2 years (2013, 2012). Birthday doodle for 2010 was different.

How do I uninstall Chrome's new Bookmark Manager?

Google has been working on a new bookmark manager for Chrome. This upcoming bookmark manager is now on the Chrome Web Store as an extension before it is integrated into Chrome by default. This new bookmark manager extension looks beautiful but it does have its own shortfall for now e.g. inability to sort bookmarks by title.

So what if you wished to uninstall this new bookmark manager? As far as I know, you cannot remove this extension from chrome://extensionsbecause the extension is not listed at all! Do follow the below steps for the removal of this extension:

Type chrome://flags on the address bar.Search for Enable Enhanced Bookmarks option.Disable it.Close and restart Chrome.Type chrome://extensions on the address bar. You should see the bookmark manager extension now.Remove the bookmark manager extension.Hope it helps.

Handling 404 error page by showing set of suggested links

When a user attempts to follow a broken link or mistypes a url on a website, the user will often be redirected to a typical friendly "404 Not Found" web page so he knows what has happened, instead of throwing some ugly error message.

One way to enhance the experience would be to guess where the visitor intended to go and suggest that page or shows a list of possible pages. An article by the Smashing Magazine describes an approach that makes use of Google's Custom Search API for this purpose. Before embarking onto the implementing it on production, please do note that the free tier for this API has a limit of 100 calls per day.

» A Better 404 Page | Smashing Magazine

Why switch to HTTPS?

The number of websites moving to the more secured HTTPS protocol is ever increasing especially after recent many web security compromises. But is there a need for HTTPS even if your website is purely only content? Engineers from the Google team feel YES.

Watch why YES from the following video:

Mobile: All-In-One App or Multi Apps?

I have heard and seen clients wanting to include just everything, say product catalogue, events registrations, etc., from their website onto a mobile app. Each of the features itself are with complicated logics and workflows.

Question we should be asking now is whether to bundle all features into one single app or to split them into multi apps so each serve its own purpose. Mobile users are very much different from desktop users.To deliver the best mobile app experience, we need to make sure mobile users can complete a single mission easily and quickly.

TheNextWeb has an article, Forget ‘unbundling': Why your multi-app strategy should start from day one, recommending the multi apps approach for mobile strategy.

Infographics: How to Perfectly Make 38 Types of Coffee

One can never have enough of coffee. The infographics below shows how perfectly make 38 types of coffee.

Periodic Table of Web Design Process

Preview all your installed fonts on your web browser

Ever wondered how your text will look like on all of your installed fonts? One handy way is using this free online tool wordmark.it. Simply type in the text to preview and hit on a button. It is just so easy.


Note: JavaScript is required for the online tool to work.

Mr & Mrs

LTA's Official 2024 MRT Map

The below is an LTA's official MRT map that includes both current and future train network all the way to year 2024.

HTML Tags Accepted by Gmail

When sending a HTML email out, we often used some common HTML tags e.g. <br>, <font> and so on. An article, Gmail's HTML Tag Whitelist, on Quip publish a list of HTML tags known to be supported as well as unsupported by Gmail.

Supported HTML Tags

<a>
<abbr>
<acronym>
<address>
<area>
<b>
<bdo>
<big>
<blockquote>
<br>
<button>
<caption>
<center>
<cite>
<code>
<col>
<colgroup>
<dd>
<del>
<dfn>
<dir>
<div>
<dl>
<dt>
<em>
<fieldset>
<font>
<form>
<h1>
<h2>
<h3>
<h4>
<h5>
<h6>
<hr>
<i>
<img>
<input>
<ins>
<kbd>
<label>
<legend>
<li>
<map>
<menu>
<ol>
<optgroup>
<option>
<p>
<pre>
<q>
<s>
<samp>
<select>
<small>
<span>
<strike>
<strong&g…

Infographics: HTML5 - Past, Present & Future

Get List of Installed Programs on Windows

If you ever need to do some reinstalling of Windows on your laptop but would like to backup the list of installed programs before formatting, the following will be useful.
Start Command Prompt.Type wmic on command prompt to run Windows Management Instrumentation Command-line tool.Type /output:C:\InstallList.txt product get name,version on command prompt. This will generate a list of all installed programs and save it in C:\InstallList.txt as a text file. Do note this may take some time depending on the number of installed programs you may have. » Generate a List of Installed Programs in Windows | Help Desk Geek

Top 20 Most Preferred NS Vocations

20. Storeman
19. Clerk
18. Mess Boy
17. Area Cleaning IC
16. Night Snack Orderly
15. Safety van Drinks Server
14. Route March Song IC
13. White Horse
12. Attend C Bunk
11. Music & Dance Company Reserve Guitar Tuner
10. Canteen Tray Hygiene Officer
9. Mobilisation TV Flasher
8. Pioneer Magazine Writer
7. Reservist Outfield Tapao Coordinator
6. Excuse Uniform, Excuse Grass, Excuse Sunlight
5. E-mart Noticeboard IC
4. Reservist FHM Magazine Supplier
3. Out-Of-Course
2. Future Minister
1. Civilian

Google Play Errors Explained (With Fixes)

Popular Android forum, XDA Developers, wrote a thread explaining some of the errors encountered on Google Play. Yes, they may get annoying and may caused one to be helpless. With the feedback from many fellow Android users, the forum thread serves to provide with an always updated knowledgebase.

How to Schedule Gmail Emails to be Sent?

Amit Agarwal from the Digital Inspiration wrote a little Google script to schedule and send out Gmail emails later at a stipulated date and time.

Watch the video tutorial below to do just that.


Do read this Digital Inspiration article for the detailed steps in words and Google scripts too.

Cheat Sheet - Learn Basic Linux Commands

A cheat sheet on Linux commands, organised into 13 categories, should get you up to mark in using Linux operating system. The cheat sheet is available at LinOxide in PDF format and as one detailed reference guide all on a single long page. If you prefer visual, the following image may be helpful too.


Side Navigation Drawer or Tabbed Design?

The debate over whether to implement the now trendy side navigation drawer (a.k.a. hamburger menu) or stick to traditional tabbed design for a mobile website or app can go a long way. An article published on TheNextWeb summarised just when using side navigation is relevant.
My take-away from all of this is that if most of the user experience takes place in a single view, and it’s only things like user settings and options that need to be accessed in separate screens, then keeping the main UI nice and clean by burying those in a side menu is the way to go.
On the other hand, if your app has multiple views that users will engage with somewhat equally, then side navigation could be costing you a great deal of your potential user engagement, and interaction with those part of the app accessed via the side menu.
» UX designers: Side drawer navigation could be costing you half your user engagement | TheNextWeb

Introducing the Windows 8.1 Update

Microsoft just unveiled Windows 8.1 Update 1. New features include an improved taskbar, better task switching, and Start Screen tweaks that focus on mouse and keyboard users. Opened applications will also come with title bar. This update certainly makes Windows 8 more "Windows".


The update will be made available via Windows Update on April 8.

Wireless@SG - SIM-based Connection Guide

From 1 Apr 2014 onwards, Singapore's FREE Wi-Fi initiative Wireless@SG will be enhanced to allow SIM-based authentication. This is on top of the existing non SIM-based authentication, one that requires connecting to a SSID through Wi-Fi and then doing a web-based authentication.

From the list of supported devices that support EAP-SIM, it appears many today's iOS, Android and BlackBerry devices are supported. Windows devices are not in the list.

Image Resize in C#

The below code snippet (adapted from Stackoverflow) will do a image resize to a desired width in pixels. I hope it helps.

/// <summary> /// Resize image to desired dimension based on width /// </summary> /// <param name="strSrcPath">Full absolute path of image source</param> /// <param name="strDestPath">Full absolute path for resized image to be saved to</param> /// <param name="iNewWidth">New desired width in pixels</param> /// <param name="blnIgnoreIfNewWidthLarger">Do not resize image should new desired width is larger than width of original image if set to true</param> public void Resize(string strSrcPath, string strDestPath, int iNewWidth, bool blnIgnoreIfNewWidthLarger) { bool blnDoNotResize = false; System.Drawing.Image objSrcImage; System.Drawing.Bitmap objDestImage; System.Drawing.Graphics objGrapics; try { objSrcImage = System.Drawing.Image.FromFile(strSrcPath); in…

Edward Snowden Speaks at TED 2014

Infamous Edward Snowden, former contractor for the National Security Agency (NSA) and whistleblower who leaked thousands and thousands of classified American National Agency documents that had led to global outrage over U.S. privacy pry on all other countries. Of course, this had also led to Snowden having to base himself in Russia to avoid being detained by the U.S.

Snowden appeared in the form of a robot at TED.com and spoke about surveillance and Internet freedom.

Google Docs and Sheets Launches Add-Ons

Google launches add-ons to its Docs and Sheets apps. With add-ons written by developers, users would now be able to add in even more features in their documents and spreadsheets e.g. easily send documents as emails to contacts, create Avery address labels and name badges from Google spreadsheet data, adding track changes and approval workflow, etc.


This is really many steps ahead for Google.

MergeFil.es - Merge multiple files (PDF, Word, PowerPoint, Excel, Images) into one consolidated PDF, Word, Excel or PowerPoint

MergeFil.es is a 100% FREE online tool that can combine/merge multiple files of varying formats (PDF, MS Word, MS PowerPoint, MS Excel, images, html, and/or .txt files) into one consolidated PDF, MS Word, MS Excel, or MS PowerPoint document. The tool also allows reordering of the selected files before finalising for merging.

Ellen Selfie at the Oscars 2014 - Most Retweets Of All Time

Ellen DeGeneres took a selfie together with several stars at the Oscars 2014 and tweet it online right away with a Samsung sponsored Note 3 phone. The tweet garnered the most number of retweets Of all time beating Obama's 2012 record.

Ellen DeGeneres 2,471,533 retweets (as of now)

If only Bradley's arm was longer. Best photo ever. #oscarspic.twitter.com/C9U5NOtGap— Ellen DeGeneres (@TheEllenShow) March 3, 2014



Barack Obama 781,578 retweets (as of now)

Four more years. pic.twitter.com/bAJE6Vom— Barack Obama (@BarackObama) November 7, 2012

How to Decipher the Moles On Your Face?

The Chinese Almanac, also known as the Tung Shu, not only tell us the auspicious and inauspicious dates, it also reveals information on astrology, codes and symbols which includes the secrets regarding moles on your face and what they mean depending on which part of your face they appear.


An article on the Feng Shui Beginner tells us more on this.

DHL prank on competitor to do advertisting for them

DHL pulled a prank on its competitor to do advertising for them.

Several huge boxes coated with black-coloured temperature sensitive ink that will disappear in higher temperature were arranged to be delivered by its competitors like TNT and UPS. As calculated, the black ink disappeared while being transported in delivery trucks, revealing big-sized imprint boasting that "DHL is faster". Without much of a choice, the courier guy continued with the usual delivery service but definitely with some awkwardness.


Well done!

Starhub TV Free Preview for Chinese New Year 2014

Starhub is offering 30 FREE TV channels this Lunar New Year from 30 Jan, 12pm to 3 Feb, 3pm.


And if you are on the move, download StarHub TV Anywhere App which is available on both Android and iOS.

Isaac Asimov’s Three Laws

The Three Laws of Robotics (often shortened to The Three Laws or Three Laws) are a set of rules devised by the science fiction author Isaac Asimov. The rules were introduced in his 1942 short story "Runaround", although they had been foreshadowed in a few earlier stories. The Three Laws are:

A robot may not injure a human being or, through inaction, allow a human being to come to harm.A robot must obey the orders given to it by human beings, except where such orders would conflict with the First Law.A robot must protect its own existence as long as such protection does not conflict with the First or Second Law.
» Three Laws of Robotics | Wikipedia

Share Your Android Screen to PC or Laptop

I came across this BBQScreen app few months back and I thought it worth a mention to blog it. With BBQScreen, it is possible to share your Android screen right onto your PC or laptop. What you need to do is to install the app on your Android and also on your PC or laptop. BBQScreen support Windows, Linux and Mac OS. What's most important is that it is absolutely free of charge!

15 jQuery Tips and Tricks to Increase Performance

jQuery has been widely used in several websites to make use of available libraries. Though the API itself is already optimised, it is still possible to enhance its performance.

Here are 15 tips and tricks by the Web Revisions.
Always Use the Latest jQuery VersionAlways load CDN-hosted copy of jQueryAlways use ID as Selector Instead of Classes or NameAlways Cache jQuery Objects before useAlways use Tags Before ClassesUse ChainingJust give your Selectors a ContextStoring DataPreloading imagesTry to make code simpler using group queriesjQuery Lazy LoadingAlways Return FalseUse join() for Longer StringsTry to avoid DOM ManipulationCheck if an Element Exists

Typography: Care about how sentences are looked, read and understood

Do you care about words and how they look, read, and are understood? 24 Ways mentioned the need to manicure the right rag. There are 5 possible violations that we should be mindful of.

Violation 1. Never break a line immediately following a preposition
Solution 1: Are there any prepositions in the text? If so, add a &nbsp; after them.

Violation 2. Never break a line immediately following a dash
Solution 2: Are there any dashes? If so, add a &nbsp; after them.

Violation 3. No small words at the end of a line
Solution 3: Are there any words of fewer than three characters that you haven't already added spaces to? If so, add a &nbsp; after them.

Violation 4. Hyphenation
Solution 4: Are there any emphasised groups of words either two or three words long? If so, add a &nbsp; in between them.

Violation 5. Don't break emphasised phrases of three or fewer words
Solution 5: Are there emphasised phrases of three or fewer words? If so, try not to break the line among them.…

How to defer loading of javascript efficiently using the Google way?

If there is a piece of code that is intended to be loaded after a webpage finishes loading, one efficient method as recommended by Google is to use listeners. An article on feedthebot illustrates the Google's method. The following code should be placed in your HTML just before the </body> tag. Also, all code blocks supposed to be delayed are to be placed in an external js file (defer.js in this case).

<script type="text/javascript"> function downloadJSAtOnload() { var element = document.createElement("script"); element.src = "defer.js"; document.body.appendChild(element); } if (window.addEventListener) window.addEventListener("load", downloadJSAtOnload, false); else if (window.attachEvent) window.attachEvent("onload", downloadJSAtOnload); else window.onload = downloadJSAtOnload; </script>