Network Level Authentication for Remote Desktop Connection in Windows 7

Posted on Dec 17, 2010

When setting up Remote Desktop in Windows 7 (Win7), you can choose whether to use Network Level Authentication (NLA) or not. NLA will probably enhance the security of your Win7 machine. However, after enabling NLA, your Win7 will be accessible only from another Win7 or Windows Server 2008 which supports NLA in the operating system level. To connect Win7 from WinXP, you should choose “Allow connections from computers running any version of Remote Desktop (less secure)” in the “Remote Desktop” panel, or you can activate NLA in case you are using WinXP sp3. The details are posted here, but the essence of the how-to is like the following.

  1. Click Start, click Run, type regedit, and then press ENTER.
  2. In the navigation pane, locate and then click the following registry subkey:
  3. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\LsaIn the details pane, right-click Security Packages, and then click Modify.
  4. In the Value data box, type tspkg. Leave any data that is specific to other SSPs, and then click OK.
  5. In the navigation pane, locate and then click the following registry subkey:
  6. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProvidersIn the details pane, right-click SecurityProviders, and then click Modify.
  7. In the Value data box, type credssp.dll. Leave any data that is specific to other SSPs, and then click OK.
  8. Exit Registry Editor.
  9. Restart the computer.

How to make your WordPress a RSS reader

Posted on Oct 30, 2010

WordPress is my blogging tool. What I admire WordPress for is its simplicity and extensibility. It contains a lot of useful functions, yet the code is simple and easy to read. It is also very customizable with a little modification of the existing code. The more I know about WordPress, the more I sympathize with their motto, “Code is Poetry”.

As an example of how easy to extend the functionality of WordPress, I here show a way to make a WordPress page which regularly fetches the contents of the blogs you like. It just takes the following 3 steps.

Continue…

후안무치(厚顔無恥): 뻔뻔스러워 부끄러움이 없음

Posted on Oct 16, 2010

하드에 좀 오래 처박아 둔 거긴 하지만 워낙에 처음 보고 빵터진 거라서.
N 포탈 뉴스캐스트에 떴던 건데 딴 신문은 몰라도 쭝앙이 제목을 이렇게 달면 안되지. 쭝앙기사 원문보기

왜 안되는지는 다음 기사 참조.

[참세상] 美쇠고기 시식 사진 조작, ‘딱 걸린’ 중앙일보
[프레시안] “<중앙> 사진 연출은 ‘여론 조작’…검찰 뭐하나”
[미디어스] 중앙일보 기자의 변신은 무죄?
[미디어오늘] 미국 광우병에 품격도 진실도 던져버린 중앙일보

Continue…

How to import TDT Tank into MATLAB

Posted on Oct 4, 2010

1. Introduction

Tucker-Davis Technologies (TDT) is a company supplying signal processing systems. The signals recorded by their System 3 are stored in a database called TTank and can be read out later. TDT provides application programming interfaces (APIs) for TTank access through ActiveX DLLs and, in any development environment where ActiveX can be incorporated, users can make TTank applications easily.

For example, in MATLAB, you can create a TTank object with the following command. (You need to install OpenDeveloper package before typing the command.)

TTX = actxcontrol('TTank.X');

Then you can call any API functions listed in the OpenDeveloper reference manual with the object. (Some code examples are installed with the OpenDeveloper package in C:\TDT\OpenEx\Examples\TTankX_Example\Matlab) If you do not have a TDT system and just want to read TTank, then you can try out TDT NeuroShare Kit. I have not tested it , but I guess it works in a similar way.

However, sometimes it is not convenient to use particular DLLs to access data, since it means that you are bound to the MS Windows platform and cannot read your data without the TDT software package. Considering that you never know how long you will be able to get necessary technical support from the vendor, it is probably not a bad idea to learn how to read the binary format of the TTank directly.

Continue…

How to add MATLAB to the GNOME menu

Posted on Sep 21, 2010

For the installation instruction of MATLAB, refer to the following document.

https://help.ubuntu.com/community/MATLAB

To add MATLAB to the GNOME menu,

1. Get an icon:

sudo wget http://upload.wikimedia.org/wikipedia/commons/2/21/Matlab_Logo.png -O /usr/share/icons/matlab.png

2. Get the launcher file:

sudo wget 'https://help.ubuntu.com/community/MATLAB?action=AttachFile&do=get&target=matlab-r2010a.desktop' -O /usr/share/applications/matlab.desktop

3. Edit the launcher file:

sudo gedit /usr/share/applications/matlab.desktop &

The contents of the launcher file (“matlab.desktop”) should be similar to what is written below. Modify ‘Name‘, ‘Exec‘, and ‘Categories‘ fields according to your configuration. Don’t forget to put ‘-desktop‘ at the end of the ‘Exec‘. Otherwise, MATLAB will show the splash screen, but will not start.

#!/usr/bin/env xdg-open
[Desktop Entry]
Type=Application
Icon=/usr/share/icons/matlab.png
Name=MATLAB R2010b
Comment=Start MATLAB - The Language of Technical Computing
Exec=/usr/local/MATLAB/R2010b/bin/matlab -desktop
Categories=Development;Programming;

FYI. The ‘-desktop‘ option may not be necessary when MATLAB is executed from the command line.