Category: technical
Recently I am involved in optimising the Delphi code for I/O file access. I found it a performance bottleneck in dealing with big files. For example, computing XOR check …
In Delphi, the TFileStream can be used to stream the file reading and writing. Below is a sample usage that appends a ‘A’ to a file everytime. program Test; …
It has been a fun with the script programming, e.g. batch or shell. I have just formatted my desktop and install ubuntu 12. Its graphic interface and lots of …
Please see some notes at here: https://helloacm.com/notes-on-python-syntax/ Python is great, when I learn more, I really find it flexible and powerful. 1. Initialise one dimension array by zeros x …
Simulated Annealing (SA) is a meta-hurestic search approach for general problems. It is based on the process of cooling down metals. The search algorithm is simple to describe however …