Thunderbird failed to send and receive emails after the profile folder was moved

Posted on Sep 24, 2013

Thunderbird could not sending and receiving emails although it kept trying, after my old profile folder was moved to a new location. Error console showed the following message.

Your certificate contains the same serial number as another certificate
issued by the certificate authority. Please get a new certificate containing
a unique serial number. (Error code: sec_error_reused_issuer_and_serial)

For more information, see https://support.mozilla.org/en-US/kb/Certificate%20contains%20the%20same%20serial%20number%20as%20another%20certificate.

Continue…

Error 1067 in MariaDB on Windows

Posted on Sep 22, 2013

After you change the data directory path in MariaDB, you may see the following error, when you try to restart the DB service.

Error 1067: The process terminated unexpectedly

This is because MariaDB runs as Network Service who does not have read-write access to every directory. To fix the problem, you should either make the directory writable for Network Service or change the user to one that has read-write access to the directory.

TDT-to-Plexon converter, TDT2PLX

Posted on Jun 16, 2013

Many neurophysiology labs useĀ Plexon and TDT. They both are pretty good recording systems, but, for offline spike sorting, somehow people tend to prefer Plexon’s software. Obviously Plexon’s offline sorter does not support TTank, so there is no way to use it, if the raw data was recorded with TDT. This little software I made, TDT2PLX, converts TTank blocks to PLX files so that you can do sorting TDT data with Plexon’s offline sorter. You can also copy the new sortcodes back from PLX to TTank with SortcodeCopy, another utility included. These programs require Visual C++ Redistributable Package for Visual Studio 2013 (vcredist_x86.exe), if it is not already installed on your computer.

Download TDT2PLX_x86.zip (32-bit, 2.42MB)

Continue…

LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt

Posted on May 20, 2013

After VS2012 is installed, VS2010 may fail with the LNK1123 in compiling some of old projects that were perfectly fine previously. This seems to have something to do with .NET framework 4.5 which comes with VS2012. To fix this problem, install VS2010 sp1. If it is not possible, try the following.

It turned out that I had two versions of this utility in my path. One at C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\cvtres.exe and one at C:\Windows\Microsoft.NET\Framework\v4.0.30319\cvtres.exe. After VS2012 install, the VS2010 version of cvtres.exe will no longer work. If that’s the first one in your path, and the linker decides it needs to convert a .res file to COFF object format, the link will fail with LNK1123. Just delete/rename the older version of the utility, or re-arrange your PATH variable, so that the version that works comes first. see the original post