Author | Logan

  1. Ubuntu Bluetooth Headset

    I have bought a Bluetooth headset recently. After connecting the device, I was quite disappointed with the sound quality. Fortunately, after searching on the web, it seems that I am using the "Telphony Duplex" mode, which has low quality.

    Here are the steps to switch to the mode with better …

    More

  2. Install GCIN on Ubuntu 14.04

    I decided to look for some alternatives to IBus input method after tolerating its long latency to switch between input methods for a long time. As a Taiwanese, both gcin and hime came up to my mind. Unfortunately, both of them need extra configuration after apt-get. Here's my note to …

    More

  3. Pre-compile the OpenCL Kernel Program - Part 2

    In the part 1 of this article, we have mentioned how to pre-compile the OpenCL kernel program and load the pre-compiled binaries with the OpenCL API.

    However, I was using the ioc64 command from the Intel OpenCL SDK to pre-compile the kernel program. This command might be unavailable in the …

    More

  4. Pre-compile the OpenCL Kernel Program - Part 1

    In the previous post, we have written a simple vector addition OpenCL program. We were compiling the OpenCL kernel program from source code at run-time, thus we have to distribute the OpenCL source code to our users.

    However, in some cases, we may prefer to pre-compile the OpenCL kernel program …

    More

  5. C++ Private Inheritence and Using Directive

    I used to feel that the private inheritence is useless. Although we can implement the has-a semantics with private inheritence, it provides little benefits compared with object composition. Besides, in order to expose the privately inherited members to public, C++ introduced an awkward syntax, i.e. the using directives. These …

    More

  6. OpenCL 1.2 Manual Pages

    There is a package for OpenCL 1.2 manual pages in the Ubuntu repository. To install the opencl-1.2-man-doc package, please run this command:

    $ sudo apt-get install opencl-1.2-man-doc
    

    After installing this package, we can check the OpenCL API with man command. For example, run man 3 clGetPlatformIDs to read …

    More

  7. Fix GRUB2 Warning

    It has been for a while that my desktop PC was not showing the GRUB2 menu. Besides, I noticed that there was a warning message during the execution of update-grub:

    Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.

    After checking …

    More

  8. GitHub Pages and HTTPS

    GitHub Pages supports HTTPS protocol. It will be good to prefer HTTPS to HTTP. However, I found that if the URLs are not written carefully, the user might be redirected to HTTP URLs.

    For unknown reason, GitHub Pages are redirecting the directories without trailing slash to the HTTP URLs. For …

    More

  9. Pelican and GitHub Pages

    Pelican has built-in support for GitHub Pages. However, I noticed that the ghp-import command might screw up the commit log if your GitHub Pages and your Pelican source code share the same branch name.

    According to the document of GitHub Pages, the user pages should be committed to master branch …

    More

« Prev Page 6 / 7 Next »