Welcome to Blogs @ Andrew QuHome & Search
Plane Spotters Web Page - Demo Using DITA Publishing Standards
In this post, I am trying something new with DITA (Darwin Information Typing Architecture) standards. This simplistically illustrates one way of publishing web pages using DITA. The project consists an Eclipse plugin for UI, a web server for web services, content management, DITA-OT for web page publishing.
2016-10-06
Routines, Channels and Multi-Threading in GO Language
With Android Nougat released recently, the build system used is switching from Make to Ninja. To generate Ninja files, Android uses Blue Print files that are basically GO programs. While studying GO language, I noticed its multi-threading model is facinating. In this post, I will try to discribe this model.
2016-09-06
Arduino - Programming an MCU (Atmeg328p)
Once we have developed and tested a project, we need to copy the code onto a new MCU to be used on a breadboard separate from the Arduino Board. This exercise describes one way of downloading the program onto a new MCU.
2016-03-19
Learning Arduino - Making a Clock
In this exercise, I am going to make a clock, displaying hours and minutes: HH:MM. The clock will also have set time functionality using a switch.
2016-03-15
Start Learning Arduino - More Experiments
More Arduino exercises: Using a potentiometer to control the brightness of LED.
2016-03-05
Start Learning Arduino
I have always wanted to learn MCU (Micro Controller Unit) development, but always feared that it's too hard. Recently, I have heard about Arduino project and did a bit online reading. It appears that with an Arduino board and IDE, things are much easier now. I finally gathered enough courage to start. I will record my experiences as I progress.
2016-02-29
Thick Plate Bending Rectangular Element with Shear Deformation
This blog describes the formulation and implementaton of a rectangular plate bending element for thick plates.
2015-12-12
Bicubic Surface Interpolation
This blog describes a formulation of the bicubic interpolation method. The bicubic method aims to produce a best fit surface over a 2D area when the function values are known only at a set of discrete points. Application to image processing is also demonstrated.
2015-10-02
Excel VBA Dynamic Charting
I this blog, I try to draw some Excel charts dynamically using VBA macros
2015-07-03
Excel VBA Dynamic Charts
In this blog, I am going to create a bar chart using vba in an Excel sheet.
2015-06-25
Using Excel Worksheet as a Database
An Excel worksheet table can be used as a database. SQL queries can be performed on the table with normal query commands. The advantage of using excel as a data source: a) All data and table views contained in one excel file. b) No separate database is required. c) This will save database management cost.
2015-06-23
Removing Hidded Devices on PC
How to remove hidden devices on a PC ? You do this by using Device Manager. But this cane be tideous if you have hundreds of hidden devices. In this blog, I will use Windows WDK to write a console program to accomplish the job.
2015-03-23
Learning Django - Part 2
Django is a web framework using Python programming language. Using Django and an appropriate web server, you can build and host websites. This post is Part 2 of my learning Django project.
2015-03-02
Learning Django
Django is a web framework using Python programming language. Using Django and an appropriate web server, you can build and host websites. In this post, I will record the steps as I learn.
2015-02-28
Geometric Properties of an Elliptical Tube
In the analysis of elliptical tube secstions, we need to divide the tube section into a number of segments. The forces acted over the segment are then distributed onto the nearest finite element nodes.
2015-02-26
Android OpenGL Texture and Animation
In this post, I will continue with the previou post to demonstrate Android OpenGL texturing and animation. If you have not followed my previous post, you should do so before continuing.
2015-01-15
Android OpenGL Graphics Start Application
In this post, I will write a simple Android application to do Open GL graphics programming using Android GLES2.0. The development is done using Android studio. Therefore, if you have not installed Android Stuio yet, please do so by following the previous post.
2014-12-30
Starting with Android Studio
With the recent release of Android Studio (out of beta), it is time to switch Android application development from Eclipse IDE to Android Studio. I am trying it out first and the procedures are not as straight forward as I would expect. Therefore, in this blog, I will detail the installation procedures to avoid some pitfalls for whoever reading this post.
2014-12-25
jQuery Ajax Upload File into ASP.NET without FileUploadControl
A simple way to upload file into ASP.NET server is to use FileUploadControl. However, this is not very flexible. You may not have multiple upload controls. In this article, we will use the more flexible jQury/Ajax upload method on client side and ASP.NET HttpHandler on the serverside.
2014-10-18
GNU Make Random Number and String Length Using Python
In GNU make, there appears no built-in function to return a random number, nor a function to return the length of a string. This utility gives ways to do both using Python.
2014-01-15
Sharing Clipboard between Windows and Ubuntu (Linux) Using Python
This python program will allow the sharing of clipboard (cut/paste) between 2 work station running Windows and Linux.
2013-08-21
C# Program to Alert IP Change of Broadband Router
C# Program that monitors router IP address and sends email alert if IP changes.
2013-07-19
C# Local Function
C# local functions can be used in a method locally to repeat operations. It can access all variables defined in the parent method.
2013-05-19
Introducing Speciality Base Plate Dsign Program
Dr Li Anchor Profi is an engineering design software specifically designed for column base plate design.
2013-05-05
Android ADB Protocols
Describes Android ADB protocols with programming details.
2013-03-15
Stiffness Matrix Formulation
Describes stiffness matrix formulation for the analysis of plate bending.
2013-02-15
Triangular Element for Plate Bending - Part 2
Describes strain and stress calculation for a simple triangular element for thin plate bending.
2013-02-04
Triangular Element for Plate Bending - Part 1
Describes the implementation details of a simple triangular element for thin plate bending
2013-02-02
Area Coordinates
Area coordinate is used in the formulation of 2D triangular elements for Finite Element Analysis. This is often used in plane stress and plate bending analysis.
2013-01-30
Expensive Christmas Tree
A real Christmas tree made from a cut off pine tree top with details of how to construct the supporting legs.
2012-12-15
VC++ How to Allow Only One Copy of a Program to Run Using Mutex
On occasions, we want only one copy of a program to run at a time. Here we show one of the ways to solve the problem using mutex.
2012-12-03
How to Check If a Point Is In a Rectanle or not
Shows an algorithm that checks if a point is inside a rectangle or not. The rectangle can be in any orientation.
2012-11-15
Water Melon or Marrow ?
Pictures of a vegitable that looks like water melon but tastes like marrow.
2012-10-25
How to Fix "Multiply Defined Functions" when Mixing C/C++ and MFC Static Libraries
At times, you want to have your MFC application in a single EXE file. Then you need to link MFC libraries statically. Visual Studio will give link errors in this case if you are also linking some C/C++ libraries. This post details the work around to fix the problem.
2012-10-10
Structural Calculation
Structural calculations for beam, column and foundation of a house extension.
2012-09-30
Android Fastboot Protocol
Fastboot is a protocol to flash Android devices. This post describes the main features of the protocol and implementation details.
2012-09-21
Structural Design of a House Extension
One of my friend is extending the house. I am doing the structural design work and at last put my knowledge as a structural engineer into use. This post lists a selection of the design output.
2012-09-07
Approximate an Arc by Line Segments
Given an arc with known center, start and end point, get a series of line segments to approximate the arc.
2012-08-25
New Asynchronous Programming Model(async and await) in VS2012
Visual Studio 2012 introduces a new model for asynchronous programming. This blog uses a simple example to show the workings of the new model.
2012-08-24
Funny Marrows
Pictures of funny marrows from the alotment.
2012-08-12
Pictures from Shanghai
Pictures of Shanghai sky-scrapes, Shanghai snack food and "bottle beggers"
2012-07-24
"Crisis" in Chinese
Thoughts on the word "crisis" in Chinese that literally means "Risk and Opportunity"
2012-07-22
Runway Protection Surfaces for a German Airport
Show images of runway protection surfaces for a German airport.
2012-07-14
Parsing XML File in Python
A brief introduction to XML. Then shows how to parse XML file in Python.
2012-07-12
Freezing Leafy Vegetables
Vegetables are best eaten fresh. However, often when in season, there are too much to finish. This blog shows how to freeze leafy vegetables.
2012-07-07
Python Plugin for Visuial Studio 2010
Introduces the Python Plugin for Visual Studio 2010
2012-07-05
Making a Fish Tank Food Trap
Often, when you feed the fish, the fish food flakes float around on the top of the tank and can get into the pump. Here is a quick way to make a trap to contain the flakes.
2012-06-20
Basics of UEFI and Secure Boot
This blog aims to give a concise introduction to the basics of UEFI and Windows support for UEFI.
2012-06-15
Integrating Mercurial Source Control into Visual Studio
Shows how to integrate Hg Mercurial source control tool to Visual Studio
2012-06-05
Extending Garden Shears
Easily extending garden shears with uPVC pipes so that it can reach further.
2012-06-01
Setting HTML 5 Canvas Transformation Matrix
Shows how to set the HTML5 canvas transformation matrix directly to increase performance.
2012-05-30
Common Tasks for Tortoise Hg Mercurial Tool
Documents some common tasks of TortoiseHg for source control.
2012-05-20
Setting up Hg Mercurial Simple Server
Shows how to install Hg Mercurial source control tool. Set it up to serve a single repository. The repository can then be accessed remotely.
2012-05-18
©Andrew Qu, 2012. All rights reserved. Code snippets may be used "AS IS" without any kind of warranty. DIY tips may be followed at your own risk.