Welcome to my virtual space

where I share my journey with you

Old blog

 

Most of the posts here were written originally many years ago but they were transferred to this new home in 2024. The dates are transfer dates.

Hong

SATA hot swap

SATA drive hot swap is most likely doable on a PC. Unlike USB device, it may require a device scan (Device Manager > Scan for hardware change) to detect a newly plugged device.

Continue reading...
Hong

Migrate a primary hard drive to a larger one

A simple disk image results in the extra space of the larger HD unallocated. A new partition could be created to use the unallocated space, but the crammed primary partition can be a severe bottleneck of the computer performance. Windows Disk Management (Computer Management >…

Continue reading...
Hong

Windows Easy Transfer

Windows Easy Transfer (WET) is a nice tool for migrating from one computer to another one. It does not transfer installed applications, but it transfer their settings and user documents. For example, IE will have all the favorites, short cuts and other settings on the target computer with WET. This can save a lot of time. It has three methods of transferring: an Easy Transfer cable, a network and an external hard disk. The first needs to be purchased, so it is not a good choice if one only needs to run WET once in a while.The second one is handy if it works. I have tried to use it many times under different circumstances, and it never worked. The 3rd one is the most robust option. WET does not handle user folder redirection well. For example, one may use a small SSD to store the OS and all the programs, and redirect use data folders to a hard drive. WET does not transfer such redirection, so it is very important to set up folder directions before using WET.

Continue reading...
Hong

Photo editors

There are so many photo editing programs that it is tough to choose one that meets the following subjective requirements: Conclusion: FastStone for frequent photo editing. Photoshop Elements for occasional intensive editing of a small number of photos. One way of editing photos one by…

Continue reading...
Hong

Windows Activation error 0xC004F211

Windows Activation error 0xC004F211 can happen after upgrading the hardware of a computer (e.g., CPU, motherboard): One should click the button Troubleshoot to resolve this. The following will show up: Don't worry. Click "I changed hardware on this device recently" at the bottom. You will…

Continue reading...
Hong

Computer Configuration and Performance

The performance reported by Windows Experience Index: CPUScore : 7.7 D3DScore : 5.2 DiskScore : 7 GraphicsScore : 5.5 MemoryScore : 7.7 TimeTaken : MostRecentAssessment WinSATAssessmentState : 1 WinSPRLevel : 5.2 A computer configuration reported by Belarc: Additional information to the report generated by Blarc:…

Continue reading...
Hong

Use UVCCamera Library for Android

Clone UVCCamera library. Make modifications if necessary. Run Gradle assembleRelease tasks to build libuvccamera-release.aar and usbCameraCommon-release.aar Clone libcommon. Make modifications if necessary. Run Grade assembleRelease task to build common-release.aar In Android app project, create directory libs under directory app. Add libuvccamera-release.aar, usbCameraCommon-release.aar and common-release.aar to…

Continue reading...
Hong

Tidbits of Entity Framework 

EF has been evolving. Mixing data models created with different versions of EF may lead to strange compiling errors. Database first approach is usually far suprior to code first approach in terms of performance. When using the wizard to create a model, if connection string is…

Continue reading...
Hong

Android app development tidbits  

If you love DataBinding, don't bother ViewBinding PopupWindow is rarely useful because what it can do usually can be done by making a layout visible/invisible, with customized Dialog (i.e. extending Dialog). Inflating a layout can be a problem for PopupWindow from a fragment. Spinner often has…

Continue reading...
Hong

View Android System Apps

Android system apps are those such as Settings. Android SDK comes with a tool called aapt (Android Asset Packaging Tool). Each Android SDK comes with aapt located in its directory such as: C:\Program Files (x86)\Android\android-sdk\build-tools\23.0.1 To view a package, one needs to pull the package…

Continue reading...
Hong

AGPtek TP714AQ Android tablet 

Reliable, reasonably thin and light. Fast whening running an application, but slow when switching between apps. It is a fine device for occasional use such as testing apps, using just one or two apps (e.g. browsing Google+ or Facebook), but not good as the primary…

Continue reading...
Hong

SD cards and USB card reader 

Some old USB card readers limits the speeds of SD card reading and writing. USB 3.0 card reader should be the minimum requirement. SanDisk Extreme Plus SD cards have excellent performance, great for 4K video. CrystalDiskMark is used for the following tests. SanDisk Extreme Plus (V30)…

Continue reading...