Layman's Guide to Computing

Articles in the Season 13 category

Issue 157: NTP and time-syncing

Time is synchronised from higher-precision sources through a protocol called Network Time Protocol (NTP). A public pool of time servers is available for synchronisation at pool.ntp.org.

Published:

By J S Ng

Issue 158: GPS

To get your location using GPS, your phone receives information from four overhead GPS satellites: their location, and the distance between them and your phone. With this information, your phone can calculate its location.

Published:

By J S Ng

Issue 159: Wifi & cell tower location tracking

nstead of GPS satellites, smartphones can also use wifi points and cell towers to determine their position (if enabled in the OS).

Published:

By J S Ng

Issue 160: CDNs and content distribution

A content delivery network comprises multiple servers around the world that are able to quickly distribute static content (typically images and video) to viewers that request it. This avoids overloading the hosting server, which would otherwise have to serve data over the network, possibly through many intermediary hops.

Published:

By J S Ng

Issue 161: Security and XSS

Cross-site scripting attacks occur when a webpage loads malicious code from a third-party, usually carried out by a script in the page. Today, websites are protected from loading unauthorised scripts through cross-origin resource sharing (CORS) policy implemented in browsers, which only allows a website to load scripts from authorised domains.

Published:

By J S Ng

Issue 162: Fonts

Typeface families consist of multiple fonts for each style in the typeface. Each font consists of glyphs, which are mathematical shapes described by curves joining points. These shapes need to be rasterised for display on a computer screen, or for printing on paper. Font files usually come in .ttf, .otf, or .woff formats.

Published:

By J S Ng

Issue 163: System & software ecosystems

Software that we use usually comes from the OS makers, or from third-party developers. These two groups of developers are not the same, and might even have conflicting intentions and goals.

Published:

By J S Ng

Issue 164: Linux, the universal operating system

Linux software is distributed through Linux distros. The maintainers of distros maintain repositories of software that have been tested with the distro. Most users will access software in the distro’s repositories through a program called a package manager. So users have full control over when updates and new software should be installed.

Published:

By J S Ng

Issue 165: The myths of system slowdown

There are easy and quick ways to check the validity of the most common advice for resolving system slowdown. But it still seems to happen even after these tips have been tried.

Published:

By J S Ng

Issue 166: A cause of system slowdown: caches

Caches speed up app operations by storing temporary data on the device’s storage. This assumes that access to storage is much faster than access to the file’s original source. On Android, users can clear an app’s cache, but not the system cache.

Published:

By J S Ng

Issue 167: Database fragmentation

Fragmentation is likely a contributor of system slowdown, particularly for mobile devices: the databases used by most mobile apps tend to store data in many small chunks rather than fewer big chunks, which slows down data search operations. The most effective measure for improving device responsiveness is usually to clear the app cache, so the app does not attempt to read previous data from storage.

Published:

By J S Ng

Issue 168: Search engines

A search engine uses bots to build up a database of URLs and their contents. The search engine uses various algorithms to determine the most relevant results for a search request.

Published:

By J S Ng

Issue 169: Search engine optimisation

By better understanding how search bots categorise pages, a website owner can use keywords and other techniques to optimise the ranking of their page for specific search terms.