khris'log

Programmer, IRCitizen.

email: khris@khrislog.net
twitter: @KHRISMIZER

Sep 5
“Although the Gothic Lolita scene has various fields, currently the word which refers to “Gothic Lolita” feels as if it is going in one direction. If you are just wearing any black clothing, with black lipstick and eyeshadow, unfortunately this can be seen as Gothic Lolita… I think the outward appearance has changed to be a little too flashy. My idea of Gothic Lolita, disregarding popular opinion, is that those who have a mysterious outlook on the world will eternally like it, and the scene is for these types of people. This is not only fashion, but that all of the things they like (books and movies, for example), all of it has a deep meaning. When I was younger I loved mysterious things, and I still love them. To be truthful I don’t believe I have changed at all since then. Isn’t it best for people like this to continue the scene? Originally, Moi-Même-Moitié did not include clothing which people with this outlook could wear all the time. Fashion is a part of everyday life, and it expresses my desired view of the world. I also wanted everyone to wear this general worldview. Gothic Lolita is every day. When I return to my essential nature, it is my eternal style. I don’t think I became Gothic Lolita, it was simply natural for me.” Original by Mana from Gothic and Lolita Bible
Translated by The Wild Rose (via darklylolita)

(via ohmyyesgothiclolita)


Aug 16
“고도로 발달한 아이라인은 마법과 구분할 수 없다” Arthur C. Clarke … 일리가 있겠냐.

Aug 10

목에 칼이 들어와도 notepad.exe 는 쓰지 말자

오늘 신명나게 삽질하고 타인의 귀중한 시간을 빼앗았다.

약간 급한 버그가 있어서 FileZilla 에서 직접 소스코드를 수정했다. 아무 생각 없이 메모장(notepad.exe)을 사용했고, 그 결과는 처참했다. 서버측이 UTF-8 인코딩을 사용했기 때문에 소스코드는 UTF-8로 열렸고 notepad.exe는… 그렇다, 저장할 때 BOM을 붙인거다.

그런데 이 파일은 대부분의 PHP 소스 코드에서 require_once 하고 있었고, 결과 반환은 echo json_encode(...); 임에도 불구하고 당당하게 반환하는 JSON 형식의 텍스트 앞에 떡하니 붙었다. 그러자 파싱하는 Javascript 쪽에서 갑작스런 BOM의 등장에 적응하지 못하고 에러를 내뿜었다. Firebug 에선 BOM이 있는지 없는지조차 알 수 없어서 몇시간동안 헤메고 테스트 코드를 짜다 응답을 notepad++에 붙여넣기 하니 이상한 괴문자가 보여서 겨우 알아채게 됐다. 아 젠장.

PHP 인터프리터의 동작이 어떤진 모르겠지만 왜 BOM이 붙는지는 아직도 모르겠다. Create post 누르고 검색해야지.


생각해보니 PHP는 그래도 꼴에 템플릿 언어인지라,

<BOM>
<?php
...
?>

이런식으로 소스코드가 작성되면 당연히 알아서 BOM이 붙을 수 밖에 없다. 블럭 안에서 무슨짓을 하던 블럭 밖의 요소에 대해서는 손을 댈 수 없으니까. 아아…


Jul 10

전 사실 주변의 대부분보다 더 정치적입니다. 단지 방향이 다를뿐이죠. 저는 Mozilla Firefox 를 지지합니다.

안드로이드 기반의 제품을 쓰시는 분 중 Mozilla Firefox for Mobile 에 실망하신 분이라면 Beta 혹은 Aurora 빌드를 써 보세요. 특히나 Aurora 빌드는 현재 텍스트 선택기능이 추가되었습니다.

Mobile/Platforms/Android - MozillaWiki https://wiki.mozilla.org/Mobile/Platforms/Android


I found it a hour ago on my web server.

[Sat Jul 09 23:46:23 2011] [error] [client xxx.xxx.xxx.xxx] File does not exist: /var/www/html/transformers.txt

Kidding?


Jul 7
3M Smart Pen MHP-1000

생각보다 많이 별로.

정전식이라 어쩔수 없는거라 생각하긴 하지만 펜을 눕혀서 쓸때 획이 빠지는 경우가 잦음. 그립감은 그냥 그럼.

그냥 Wacom Bamboo Styluspen을 사볼껄 그랬나?

3M Smart Pen MHP-1000

생각보다 많이 별로.

정전식이라 어쩔수 없는거라 생각하긴 하지만 펜을 눕혀서 쓸때 획이 빠지는 경우가 잦음. 그립감은 그냥 그럼.

그냥 Wacom Bamboo Styluspen을 사볼껄 그랬나?


Jul 5

Jun 1

Game Developers in Canada

  • <Z____> 그러고보니 얼마전에 한국과 캐나다 근무시간..에 대해 얘기했었잖아
  • <Z____> 캐나다는 근무시간 짧다고
  • <Z____> 근데 게임회사로 가면 캐나다도 마찬가지라는 것 같더라 ㅋ
  • <Z____> 고등학교 진로 정하는 과목 할때 각종 진로에 대해 소개하는 웹사이트가 있었는데
  • <Z____> 거기 게임 제작자 특징 소개에 버젓이 올라가 있었어, 일상적인 야근 ㅋ
  • <khris> 그렇군…
  • <khris>
  • <khris> ㅋㅋㅋㅋㅋㅋㅋㅋ
  • <khris> ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ
  • <khris> ㅠㅠㅠ
  • <Z____> ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ
  • <Z____> ㅋㅋㅋ ㅠㅜ
  • <M___>
  • <M___> 일상적인 야근 ㅋ
  • <khris> 로그 좀 올릴게
  • <khris> 아 눈물난다


May 16