Programming/openMP2013. 1. 8. 09:08
OpenMP 처럼 패러럴 프로세싱관련 라이브러리로
Intel에서 제작하고 배포하는데 라이센스는 확인이 필요할듯

[링크 : http://goparallel.sourceforge.net/compiling-tbb-programs-and-examples-on-linux-ubuntu/
[링크 : http://software.intel.com/en-us/intel-tbb...] 30일 버전이나 구입인거 봐서는 free는 아닌듯
[링크 : http://threadingbuildingblocks.org/]

'Programming > openMP' 카테고리의 다른 글

openMP 지시어  (0) 2013.03.16
visual studio express 2008에서는 openMP 공식 지원안해!  (0) 2013.03.16
openMP 문서들  (0) 2012.06.18
openmp for문 나누기  (0) 2012.06.18
libgomp 공식 사이트 / 문서  (0) 2012.06.10
Posted by 구차니
클로져라는 녀석이 있는데 먼가 좋다는데 좋은진 모르겠고 -_-
암튼, 함수언어라고 해야하나
함수에 함수를 넣고
함수 변수에 특정 변수를 넣어 함수를 생성해 내는 그런 기능을 클로져라고 하는데


머하는데 써먹지?

[링크 : https://developer.mozilla.org/ko/docs/JavaScript/Guide/Closures]

'Programming > javascript & HTML' 카테고리의 다른 글

jquery  (0) 2015.09.08
div 태그  (0) 2015.09.08
javascript - DOM inspector in Firefox  (0) 2010.08.19
HTML의 style="filter:filter_name()"  (0) 2010.08.06
javascript - Traversing an HTML table with JavaScript and DOM Interfaces  (0) 2010.08.02
Posted by 구차니
Programming/C++ STL2013. 1. 6. 23:28
템플릿을 이용하는건 제너릭 프로그래밍과 동일하지만
컴파일러에 조금더 의존을 해서, 최적화를 한다는데 자세한건 읽어봐야 할 듯

간략하게 한글 위키 내용을 요약하면,
factorial 같은 무거운 함수를 템플릿으로 작성하고
이걸 템플릿 메타 프로그래밍을 적용하면
factorial(N)에 대해서 컴파일러가 미리 처리해서
해당 값을 바로 리턴할수 있도록 컴파일 시간에 값을 정해버린다는 것.

엄청난 퍼포먼스 향상이 있을것으로 생각이 되지만...
컴파일러에 지극히 의존적이라 호환성이 떨어진다고 하니...

[링크 : http://ko.wikipedia.org/wiki/템플릿_메타프로그래밍]
[링크 : http://en.wikipedia.org/wiki/Template_metaprogramming]

[링크 : http://en.wikipedia.org/wiki/Generic_programming]

'Programming > C++ STL' 카테고리의 다른 글

C++ 첫걸음 *-_-*  (0) 2013.02.09
unsigned char -> int 변환 주의사항  (0) 2013.02.04
c++ template  (0) 2012.05.12
리눅스에서 c++ 컴파일시 strcpy / strcat 오류  (0) 2011.10.13
new / new[] / delete / delete[]  (4) 2010.09.16
Posted by 구차니
Programming/C Win32 MFC2013. 1. 6. 23:11
c언어 강좌를 하다가 윈도우 서버 프로그래머 분이 오셔서 이야기를 듣는데
이건 꼭! 내것으로 만들어야 겠다 싶은게 있어서 기록 (오유 i2kas 님)



if(idx == 0)
이라는 문구가 있을경우
idx = 0 으로 쳐도 문법적인 에러는 발생하지 않고
찾기가 상당히 어려운 버그중에 하나인데


if(0 == idx) 로 순서만 바꾸면 문법적으로는 아무런 하자가 없으면서도
== 를 잘못입력하여 = 로 입력했을시 
if(0 = idx)로 lvalue가 constant로 에러가 발생함으로 유용하게 논리에러를 잡아내는데 사용될수 있다.


오홍!!!! 

'Programming > C Win32 MFC' 카테고리의 다른 글

win32api - joystick 예제  (0) 2013.06.15
Windows IME  (0) 2013.02.14
c 변수범위 헤더  (0) 2012.07.02
엔디안 / endian  (2) 2012.06.14
localtime의 return값을 조심하세요  (2) 2012.06.12
Posted by 구차니
혼자 무언가 하기 무진장 싫어하는 아버지 특성상
안봐도 비디오인데 -_-
아무튼 어머니가 같이 안가주시기 아들끌고 스케이트 타러 -_-a

입장료는 2000원(1500원 입장료 + 500원 스케이트 대여료)
시간은 잘 모르겠지만 1시간 반인가 2시간 타고 잠시 정리하고 2타임까지는 탈 수 있는듯 하다.



이런 차로 몇바퀴 뱅뱅 돌고 정리끝~ ㅋㅋ


'개소리 왈왈 > 사진과 수다' 카테고리의 다른 글

올림픽 공원  (0) 2013.01.19
올림픽공원 청둥오리  (0) 2013.01.12
서울 남산 한옥 마을  (2) 2012.12.30
어제의 지름  (0) 2012.12.20
사진기의 추억 - bulb 모드  (0) 2012.12.18
Posted by 구차니
책 빌리러 도서관 가려고 했는데 도서관은 문을 닫았고 -_- (8시까지인줄 알았는데 5시 까지일줄이야 -_-)
달리면서 길에 눈과 얼음이 얼어버려서
그걸 야곰야곰 먹으면서
이름 그대로....

스노우 타이어가 되어버렸다 -_-


'개소리 왈왈 > 자전거' 카테고리의 다른 글

기어가 변속이 안되네?  (0) 2013.02.09
시즌 온?  (0) 2013.01.31
펌프 망가졌어!!! ㅠ.ㅠ  (0) 2012.11.18
시즌오프 기념(?) 자전거 청소  (0) 2012.11.11
유독 외로운 느낌이 드는 밤..  (0) 2012.11.04
Posted by 구차니
나의 공부 의욕도 작심삼일이 되었듯
코스피도 작심삼일이 된듯.


Posted by 구차니
Programming/lisp2013. 1. 3. 21:25
난해한(!) 명령어중에 하나로 car / cdr이라는 lisp 명령어가 있다.
car은 first에 대응되며 list의 가장 처음 내용만 보여주고
cdr은 rest에 대응되며 list의 처음것을 제외한 내용을 보여준다.

1> (car '(1 2 3))
1                
1> (cdr '(1 2 3))
(2 3)
1> (rest '(1 2 3))
(2 3) 

return the car of a list node
(car <expr>)

May be used as a place form.

<expr> the list node
returns the CAR of the list node


return the cdr of a list node
(cdr <expr>)

May be used as a place form.

<expr> the list node
returns the CDR of the list node

all cxxr combinations
(cxxr <expr>)
all cxxxr combinations
(cxxxr <expr>)
all cxxxxr combinations
(cxxxxr <expr>)

May be used as place forms when common2.lsp loaded.

a synonym for car
(first <expr>)
a synonym for cadr
(second <expr>)
a synonym for caddr
(third <expr>)
a synonym for cadddr
(fourth <expr>)
fifth list element
(fifth <expr>)
sixth list element
(sixth <expr>)
seventh list element
(seventh <expr>)
eighth list element
(eighth <expr>)
ninth list element
(ninth <expr>)
tenth list element
(tenth <expr>)
a synonym for cdr
(rest <expr>)

May be used as place forms when common2.lsp loaded.  fifth through tenth defined in common2.lsp. 

Etymology

Lisp was originally implemented on the IBM 704 computer, in the late 1950s. The 704 hardware had special support for splitting a 36-bit machine word into four parts, an "address part" and "decrement part" of 15 bits each and a "prefix part" and "tag part" of three bits each.

Precursors to Lisp included functions:

  • car (short for "Contents of the Address part of Register number"),
  • cdr ("Contents of the Decrement part of Register number"),
  • cpr ("Contents of the Prefix part of Register number"), and
  • ctr ("Contents of the Tag part of Register number"),

each of which took a machine address as an argument, loaded the corresponding word from memory, and extracted the appropriate bits.

http://en.wikipedia.org/wiki/CAR_and_CDR]

'Programming > lisp' 카테고리의 다른 글

만들면서 배우는 리스프 프로그래밍  (2) 2013.01.09
lisp 전역변수 / 지역변수  (0) 2013.01.09
lisp 반복문  (0) 2012.12.31
clisp  (0) 2012.12.29
lisp 기본함수  (0) 2012.12.29
Posted by 구차니
HEC라는 기능으로 HDMI 1.4 이상부터는 Fast Ethernet을 HDMI를 통해서 전송할수 있다.
머.. 1.4가 2009년에 제정되었지만 솔찍히 이런 장비가 있는지도 몰랐고
그런 기능이 있는지도 몰랐는데 케이블을 이번에 사고 나서 설명을 보다보니 헐.. 깜놀!


 

Version 1.4
HDMI 1.4 was released on May 28, 2009, and the first HDMI 1.4 products were available in the second half of 2009.[106][137] HDMI 1.4 increases the maximum resolution to 4K × 2K, i.e. 3840 × 2160p (Quad HD) at 24 Hz/25 Hz/30 Hz or 4096 × 2160p at 24 Hz (which is a resolution used with digital theaters); an HDMI Ethernet Channel (HEC), which allows for a 100 Mbit/s Ethernet connection between the two HDMI connected devices so they can share an Internet connection;[56] and introduces an Audio Return Channel (ARC),[55] 3D Over HDMI, a new Micro HDMI Connector, expanded support for color spaces, with the addition of sYCC601, Adobe RGB and Adobe YCC601; and an Automotive Connection System.[106][138][139][140][141] HDMI 1.4 supports severalstereoscopic 3D formats including field alternative (interlaced), frame packing (a full resolution top-bottom format), line alternative full, side-by-side half, side-by-side full, 2D + depth, and 2D + depth + graphics + graphics depth (WOWvx),[103][142][143] with additional top/bottom formats added in version 1.4a. HDMI 1.4 requires that 3D displays support the frame packing 3D format at either 720p50 and 1080p24 or 720p60 and 1080p24.[143] High Speed HDMI 1.3 cables can support all HDMI 1.4 features except for the HDMI Ethernet Channel.[103][142][143]
HDMI 1.4a was released on March 4, 2010 and adds two additional mandatory 3D formats for broadcast content, which was deferred with HDMI 1.4 in order to see the direction of the 3D broadcast market.[144][145] HDMI 1.4a has defined mandatory 3D formats for broadcast, game, and movie content.[144] HDMI 1.4a requires that 3D displays support the frame packing 3D format at either 720p50 and 1080p24 or 720p60 and 1080p24, side-by-side horizontal at either 1080i50 or 1080i60, and top-and-bottom at either 720p50 and 1080p24 or 720p60 and 1080p24.[145]
HDMI 1.4b was released on October 11, 2011.[146] One of the new features is that it adds support to 1080p video at 120 Hz.[147] All future versions of the HDMI specification will be made by the HDMI Forum that was created on October 25, 2011.[15][148]


Posted by 구차니
파이썬 2.7과 파이썬 3.3 두가지 버전이 있어서 무슨 차이가 있나 찾아보니
2.7이후로는 업데이트도 하지 않을 것이기에 3.3을 쓰라고 되어 있다.

2.x에서 3.x으로 이전하게 된 이유가
과거의 잘못 구현된 부분을 바로잡기 위함이기에
5년 정도의 이전기간을 고려하고 있다고 하는데
다르게 말하면 한동안 2.7을 사용해야만 하고
나중에 3.x대로 이전을 반드시 해야 하지만 그동안 언어가 살아있을지도 조금 의문이 되는 상황...

[링크 : http://wiki.python.org/moin/Python2orPython3]
[링크 : http://docs.python.org/3/whatsnew/3.0.html]

'Programming > python(파이썬)' 카테고리의 다른 글

python smtplib의 신비..?  (0) 2016.12.30
python이 인기라는데..  (0) 2014.03.19
PyOpenGL  (0) 2011.10.04
python 3.2.2 64bit 버전 설치  (4) 2011.09.13
python 버전 골라서 실행하기  (0) 2011.05.08
Posted by 구차니