2012년 11월 21일 수요일

Molex

자주 쓰는 몰렉스
53047-02 (충전 배터리 작은 단자)
5267-02

2012년 11월 11일 일요일

Lithium Ion/Polymer USB Battery Charger IC

MAX 1555

The MAX1551/MAX1555 charge a single-cell lithium-ion (Li+) battery from both USB* and AC adapter sources. They operate with no external FETs or diodes, and accept operating input voltages up to 7V

Current is automatically reduced to a trickle when charging is complete.




2012년 10월 28일 일요일

Bad Piggies

너무도 경쾌한 게임. Bad Piggies.



2012년 10월 17일 수요일

2012년 10월 14일 일요일

언제까지 ActiveX

언제까지 ActiveX ? 
이것 때문에 우리나라 web 발전이 뒤쳐져도,
여기서 나오는 단물 먹는 회사들 때문에 아직도 쓰는 거겠지??
미국에서 있을때 인터넷 구리다고 생각했는데, 이런 걸 보면 미국의 인터넷 환경이 훨씬 낫다고 본다. 

2012년 10월 13일 토요일

2012년 10월 12일 금요일

Proxy의 transformaiton

Proxy의 transformaiton 은
HDAPI and HLAPI 에서 각각

  • HD_CURRENT_TRANSFORM 
  • HL_PROXY_TRANSFORM



2012년 10월 3일 수요일

Gesture Recognizer

UIGestureRecognizer is the abstract base class for concrete gesture-recognizer subclasses (or, simply, gesture recognizers). The UIGestureRecognizer class defines a programmatic interface and implements the behavioral underpinnings for gesture recognition. The UIKit framework provides six gesture recognizers for the most common gestures. For other gestures, you can design and implement your own gesture recognizer (see “Creating Custom Gesture Recognizers” for details).



2012년 9월 3일 월요일

Squirrel Hill

또 다시 시작한 피츠버그에서의 생활.
놀러온게 아니니 잘 하고 돌아가야겠다. ㅋㅋ

2012년 8월 1일 수요일

ARC


XCode 4 업데이트 후. 잘 되던게 안되는게 너무 많다.
ARC and @properties  ...
해결은 m파일의 compiler flag에 -fno-objc-arc 를 넣으면 됨

http://stackoverflow.com/questions/8375508/why-are-my-asihttprequest-files-showing-arc-errors

2012년 7월 31일 화요일

compile sources in XCODE

Target --> Build Phases --> Compile sources.

변화는 좋지만, 일관성 없는 변화는 좋지 않다.

"_OBJC_CLASS_$_AsyncUdpSocket", referenced from: ...

2012년 7월 24일 화요일

바나나

바나나는 칼륨이 많다고 함.


신기한 보관 방법

2012년 7월 22일 일요일

No fmex9.pfb when update to Ubuntu 10.04

Ubuntu 10.04 로 업그레이드 하고 나서 생기는 문제.


dvips: ! Couldn't find font file fmex9.pfb

solution

It is caused by the pdfmap file in $HOME/.texmf-var.
The solution is just remove or rename $HOME/.texmf-var to $HOME/.texmf-var_Ubuntu904.
Then pdflatex the lyx file inside LyX again . The texlive will produce another new subdirectory $HOME/.texmf-var.
Done.
by Kuo-Ping Chiao
2010-5-9

ㄳㄳ

2012년 7월 15일 일요일

Direct Access to CvMat



If CV_32FC1 (1 channel float)

CvMat* M = cvCreateMat( 4, 4, CV_32FC1 );
M->data.fl[ row * M->cols + col ] = (float)3.0;

or...

cvmGet( mat, row, col );

...


inline void cvDoubleMatPrint( const CvMat* mat )
{
    int i, j;
    for( i = 0; i < mat->rows; i++ )
    {
        for( j = 0; j < mat->cols; j++ )
        {
            printf( "%f ",cvmGet( mat, i, j ) );
        }
        printf( "\n" );
    }
}

from http://note.sonots.com/OpenCV/MatrixOperations.html