2014년 7월 6일 일요일

atan2

The atan2 function takes into account the signs of both vector components, and places the angle in the correct quadrant.



The following expression derived from the tangent half-angle formula can also be used to define atan2.




from http://en.wikipedia.org/wiki/Atan2

2014년 7월 1일 화요일

CWnd::~CWnd


Warning: calling DestroyWindow in CWnd::~CWnd; OnDestroy or PostNcDestroy in derived class will not be called.


Callback code

/* Return code for callbacks, determines whether the operation is finished
   and will unscheduled, or whether it will continue running. */

typedef unsigned int HDCallbackCode;
#define HD_CALLBACK_DONE     0
#define HD_CALLBACK_CONTINUE 1

from
\OpenHaptics\Academic\3.2\include\HD\hdScheduler.h

2014년 5월 29일 목요일

Missing Solidworks menu bar



HKEY_CURRENT_USER\Software\SolidWorks\Solidworks 2010\User Interface\CommandManager - Switch the Dock State to something something else.  In other words if it is et to "1" set it to "0".

from https://forum.solidworks.com/message/203457#203457

2014년 5월 20일 화요일

ofVec3f.h

아래처럼 벡터 클래스 개조

float * getPtr()
{
return (float*)&x;
}

float& operator[]( int n )
{
return getPtr()[n];
}


from ofVec3f.h

2014년 5월 18일 일요일

미터 규격 나사 부호 매기는 법

미터 규격 나사 부호 매기는 법






규격 비교표

2014년 5월 8일 목요일

IEEE 저널 Single column latex format


IEEE 저널 Single column latex format

Default:
\documentclass[10pt,journal,cspaper,compsoc]{IEEEtran}

--> 이걸로 변경
\documentclass[journal,10pt,draftclsnofoot,onecolumn]{IEEEtran}

from http://www.michaelshell.org/tex/ieeetran/

2014년 4월 29일 화요일

다양성을 인정하지 않는 정답지


저걸 틀렸다고 채점하는 선생님을 만든 사회가 안타깝다



출처 : http://blog.naver.com/changkh/30189708248

2014년 4월 17일 목요일

Characteristic motions of common human-controlled devices

Characteristic motions of common human-controlled devices
from Inertial proprioceptive devices: Self-motion-sensing toys and tools by C. Verplaetse


2014년 4월 11일 금요일

Doctor Who Theme on eight floppy drives

Doctor Who Theme on eight floppy drives

2014년 4월 2일 수요일

윈도우로의 samba 접속이 안될때

firewall.cpl


고급에서 아래와 같이 Inbound 규칙중에 Netlogon 서비스를 켜주면 됨.



A Hopping Bionic Kangaroo

멋있다.

2014년 3월 15일 토요일

Differential pressure


  • p(pearl) = 40%
  • p(blue|pearl) = 30%
  • p(blue|~pearl) = 10%
  • p(pearl|blue) = ?


Differential pressure between the two conditional probabilities,  p(blue|pearl) and p(blue|~pearl) 의 개념



it's easier to see why the final answer depends on all three probabilities; it's the differential pressure between the two conditional probabilities,  p(blue|pearl) and p(blue|~pearl), that slides the prior probability p(pearl) to the posterior probability p(pearl|blue).

...
you can see that when the conditional probabilities are equal, there's no differential pressure - the arrows are the same size - so the prior probability doesn't slide between the top bar and the bottom bar.



In the frequency visualization, ... The bottom bar is shorter than the top bar, just as the number of eggs painted blue is less than the total number of eggs.


The gif file created from the applet at http://yudkowsky.net/rational/bayes

2014년 3월 10일 월요일

Stupid Smart Stuff - "a dangerous myth"


Interesting article by Prof. Don Norman

Stupid Smart Stuff: Watches and Automation :
How silly. The notion that we can have automated or semi-automated cars as long as the driver is watching over them is a dangerous myth. 

It is a myth that people can maintain control when they have nothing to do for a long period.

This myth is well understood in the military and in commercial aviation. 

http://networkedblogs.com/UA6IZ