1. How to access current logged in user information outside of Drupal

    · App Development

    If you are writing PHP code in Drupal and would like to access basic user information (e.g. UID, username), you can simply define the global variable $user and get the data from there: However, it…

  2. How to fix OneDrive crashes and manually reset its index

    · Tips & Tricks

    I am using OneDrive to store all my photos, documents, some portable software, PowerShell scripts, and many other things. I was quite happy with it (especially the Smart File features where I can see…

  3. Rethink database design with Microsoft Azure

    · App Development

    I am definitely not a database expert, so what I am writing here is only from my experience migrating all my applications to Microsoft Azure. If you think that I am doing something wrong or you know…

  4. Steps to install WordPress on Azure Virtual Machine running Ubuntu

    · Tips & Tricks

    I have moved my blog to Azure Website for a while and I am quite happy with it. However, recently I have decided to move my blog to an Azure VM running Ubuntu. I have to say Azure Website is very…

  5. Some mid-night thought from the TechEd keynote

    · App Development, Thoughts

    It is almost morning, but TechEd is so much exciting, so I cannot go to bed yet. Besides that, Visual Studio Update 2 is also installing so I cannot write codes either. So I will jot down all the…

  6. Android 4.4 vs. Windows 8.1 from a developer perspective

    · Thoughts

    I am a long time supporter of Microsoft and Windows. I have been using Windows, Windows Mobile and Windows Phone for many years, and I just purchase my first Android device, the 2013 Nexus 7, couple…

  7. SailAlign and the error "ReadString: String too long"

    · Speech Processing

    If you have used SailAlign (or HTK) to do forced alignment on a large corpus, you may already encounter the error: ReadString: String too long. This error is actually thrown out from HTK, and a quick…

  8. How to create full-context labels for your HTS system (update: not really worked)

    · Speech Processing

    Update : I later found out that the method described below did not work as expected. Tricking Festival by simply providing it with a custom monophone transcript will generates invalid .utt files.…

  9. How to configure HTS for in-training synthesis with state-level alignment labels

    · Speech Processing

    Purpose Utilizing state-level alignment labels allows us to copy the prosody from one speaker and use it on another speaker’s acoustic model. This can be used to improve the synthesized results by…

  10. How to configure HTS demo with STRAIGHT features for 16kHz training data

    · Speech Processing

    I have been using HTS for a while for my research on speech synthesis. Recently, I have had some problems when I tried to configure the HTS demo with STRAIGHT features to use 16k data instead of 48k.…