10.27.07

Change emacs font permanently

Posted in Programming, emacs, linux, 리눅스, 프로그래밍 at 5:13 am by KJ

From CSE HUJI Emacs Fonts HOWTOTo check if some font is available in emacs do following:

1. Switch to *scratch* buffer.
2. Type: (prin1-to-string (x-list-fonts “font-you-whant-to-check or pattern”)).
3. Place the cursor after the last closing paren and hit C-j. List of the names of available fonts matching given pattern will appear in the current buffer (*scratch*).
4. For listing of all available fonts use (prin1-to-string (x-list-fonts “*”)).

Pick one that you want to use and add or edit a line in ~/.Xdefaults

Emacs.font: font-name

These steps are not enough to make a new font in effect. Do the followings.

From How can I change the font for emacs in ubuntu 7.10

Edit~/ .Xdefaults
$ xrdb -merge ~/.Xdefaults

A better way is found.

From Permanent Font Change (~/.emacs)

Add in ~/.emacs :

(setq default-frame-alist '((font . "-font-name-from-xfontsel")))

10.23.07

Bavarian Philharmonic at Georgia Tech

Posted in classical music, concert at 6:13 am by KJ

Orchester der KlangVerwaltung München (Bavarian Philharmonic Orchestra)
Enoch zu Guttenberg, Music Director & Conductor
Orion Weiss, Pianist

October 20, 2007 8:00 pm
Ferst Center, Georgia Tech

Program:
Mozart, Overture to Don Giovanni
Beethoven, Piano Concerto No. 5, Op. 73 “Emperor”
Schubert, Symphony No. 9 in C Major D. 944

It is a very adorable philharmonic orchestra even though it is not a huge nor prestigious one. The tone of the performance was very delicate and soft overall. Conducting was so energetic that itself is very exciting for the audience to watch. The members of the orchestra looked like enjoying their playing very much. The program is not particularly my favorites, but they are all very well-known ones, which made the concert fun as well. The last one, Schubert No. 9 was the best among the program in my opinion. I did not feel The total two-hour running time long at all. Unfortunately, the conductor did not give any encore performance even though the audience applauded enthusiastically. It would have been better if we had one. I believe that listening to one or two short performance as encores is icing on the cake and a great chance to feel more of players.

The pianist played good without noticeable problems, but unfortunately the performance was just plain. It is not enough to talk about his performance style based on just one piece of his work. Considering his age, I hope he will be better in the future.

vtk pipeline from implicit functions

Posted in C++, vtk, 프로그래밍 at 1:04 am by KJ

The basic vtk pipeline is

Source->Filter->Mapper->Renderer

If a source is well-defined as an Algorithm in the vtk library already, it is simple to follow the pipeline.

It seems that an appropriate routine needs to be derived when an object is generated from an implicit function.

Object as an implicit function -> Sample function -> Filter (such as contour filter) -> Mapper ->Actor -> Renderer

10.20.07

vmware안의 linux 에서 마우스 스크롤 해결하기

Posted in vmware, 리눅스, 컴퓨터 at 12:20 am by KJ

vmware의 guest OS 로 리눅스를 사용하고 vmware-tools를 설치하게 되면, 마우스의 휠스크롤이 되지 않는 현상이 발생한다. 인터넷을 검색한 결과 다음과 같은 방법으로 해결이 가능하다.

/etc/X11/xorg.conf 에서 마우스 설정에 해당되는 부분을 찾아서 다음의 두 줄을 추가해준다. xorg.conf는 디스트리뷰션마다 조금씩 설정이 다르기 때문에 적절한 부분을 찾아야한다. 사용한 환경은 Fedora 7이고, 이 경우 해당 섹션은 InputDevice 의 VMMouse이다. Ubuntu의 경우에는 configured mouse로 잡히는것 같다.

Option “Protocol” “IMPS/2″
Option “ZAxisMapping” “4 5″