Create URL Shortcuts to Websites on Ubuntu
13 Mar 2024, Bangkok
Sometimes, it’s handy to store a shortcut to a URL on the desktop.
Yesterday, I was hunting for grid paper and dotted paper on the internet to print out in order to tutor a nephew on...
musings and some useful reminders...
13 Mar 2024, Bangkok
Sometimes, it’s handy to store a shortcut to a URL on the desktop.
Yesterday, I was hunting for grid paper and dotted paper on the internet to print out in order to tutor a nephew on...
10 Mar 2024, Bangkok
Given any YouTube video, get the html fragment by clicking on Share > Embed > Copy as per the images below:

Sat, 25 Dec 2021, Bangkok To learn a subject or a domain, it makes sense to learn from the masters of that subject or domain. I’m trying to solve...
18 Dec 2021, Bangkok On my little laptop, I have lots of books organized by tags. And when I’m interested in a particular topic, I’d go to that tag and browse it. However, I also have a few favourites or...
29 Nov 2021, Bangkok I was reading the manual for, Mainly struck by two things: a) the ability of these...
29 Nov 2021, Bangkok The kindly author of S2JS, a website for learning coding beyond Scratch, has created an amazing online clone of MITS Altair 8800. And in explaining how to program the MITS Altair, he described...
20 Oct 2021, Bangkok Policy What is a good policy for logging in a microservices setup? We start with policy so that it guides implementation. In the past I’ve just implemented logs here and there and it’s all rather haphazard...
The self-driving car appears to be next big thing. All the major car manufacturers have them in one form or another. Even Apple is building one. A recent McKinsey article claims the...
I’ve always been fascinated with the idea of software components that can be easily wired together to provide new functionality. In a recent tech blog post, Netflix has gone further with the wonderful idea of self-assembly. Suppose you made some observations regarding the area of a house and its sale price: An earlier post described the proper initialization of JQuery Mobile and Cordova using $.Deferred of JQuery. This post describes the initialization with Promises using Forbes Lindesay’s implementation. It turns out that using promises results in cleaner, simpler code. The proper key for user requests is simply the user ID and timestamp. In a recent application, the original key chosen reflected some internal data such as dates, target accounts, etc because I...
In Javascript, the following returns the UTC in ISO format: valueOf() is the number...
The Cordova library ships with a standard method for binding events to deviceready. However, if JQuery Mobile is also used, it becomes tricky to bind to the JQM Mobile ready “mobileinit” event. Below is the template code that solves this...
When writing client apps, we usually need to connect to the data server. However, this connection is typically different for production and test environments. This post describes a simple way I’ve come up with to solve this little problem. The...
Read More
Learn From Masters
Image courtesy of Sasin TipchaiFuzzy Bash Completion
Warnings vs Errors
AS - the portable GNU assembler and found the following:
Digital Reality is Machine Code
Logging Policy for Microservices
Beyond Self-Driving Cars
The coming of self-driving cars
Self Assembling Processes
Why Self-Assembly
...
Univariate Linear Regression - Data Structures and Computation (DRAFT)
Motivation
Area = 1 , Price = 3 Area = 2 , Price = 7 Area = 3 , Price...
JQuery Mobile and Cordova Initialization with Promises
Naming things
userid+timestamp as key for user requests
Storing and retrieving dates in SQLite
Storing dates
x = new Date() x.toISOString() // 2014-11-30T23:51:12.287Z x.toUTCString() // Sun, 30 Nov 2014 23:51:12 GMT x.valueOf() // 1417391472287 Proper Initialization of JQuery Mobile and Cordova
A simple method to make the JS client apps deployment environment-aware