- Windows2003Tips . . . . 23 matches
9. 미리보기 케쉬로 인한 메모리 사용량 과대 방지
미리보기... explorer에서 그림보여주는것..미리보기를 케시해서 메모리사용량만
* 내컴퓨터-속성-고급-시작및복구-설정-디버깅정보쓰기를 작은메모리덤프(64KB)로 한다.
(시스템으로 설정된 프로세서)와 (메모리사용계획)을 두곳다 (프로그램)으로 한다.
16. 아이콘에 오른쪽 클릭해서 [보내기 메뉴]에 메모장등을 추가하는 방법
18. 캐쉬메모리 체적화로 속도 높이기
[16] 아이콘에 오른쪽 클릭해서 [보내기 메뉴]에 메모장 등을 추가하는 방법
`C:\Documents and Settings\****\SendTo`라는 폴더가 있는데, 이곳에 메모장 아이콘을 복사해 넣기만 하면 된다. `SendTo` 폴더는 숨겨져 있으므로 보이지 않는다면 탐색기의 [도구]→[폴더옵션] 메뉴를 고르고 창이 뜨면 [보기] 탭으로 이동한 뒤 `숨김 파일 및 폴더 표시` 항목에 체크 표시하면 된다. 이미지 프로그램이나 동영상, 사운드 재생 프로그램 등도 등록해두면 요긴하게 쓸 수 있다.
1. windows/inf/sysoc.inf 폴더를 메모장으로 연다.
내 컴퓨터 ? 속성(R) ? 고급 ? 성능 [시각효과, 프로세서일정, 메모리사용 및 가상메모리] 설정 ? 성능옵션 ? 시각효과에서 "바탕화면의 아이콘 레이블에 그림자 사용"항목을 체크 표시함
2. 내 컴퓨터 ? 속성 ? 고급 ? [시각효과, 프로세서 일정, 메모리 사용 및 가상 메모리] 설정 -> 시각효과에서 사용OO정으로 한 후 모든 콤보박스 체크해제(단,"바탕화면의 아이콘 레이블에 그림자사용"항목만 설정하여 바탕 화면 아이콘을 투명화 조치한다.
(Windows 2003의 경우 관련 파일이 없을 경우 메모장으로 만들어서 입력해주면 됨)
기존의 PIO모드에서는 데이터가 메모리에서 CPU를 거쳐 드라이브로 전송되지만 DMA모드에서는 데이터가 DMA 채널을 통해 CPU를 거치지 않고 곧바로 드라이브로 전송되기 때문에 전송속도가 높아지며 CPU 점유율 또한 현저히 낮아진다. 입출력을 위한 인터럽트의 횟수가 줄어 들어 멀티태스킹과 고속작업이 유리하다.
(2003의 경우 관련파일이 없을시 메모장으로 만들어서 입력해주면 됨)
시스템 날짜나 시간, 메모리와 하드디스크에 대한 정보를 다룬다.
CPU 캐시를 쓸 것인가, 부팅이 될 때 바이러스를 검사할 것인가, 메모리 검사를 몇 번 할 것인가를 정한다. 모두 부팅 속도와 관련되었다.
전원 버튼을 누르면 바이오스는 CPU와 VGA카드를 검사한다. 이때 VGA카드의 롬 바이오스를 메모리로 불러온다. 롬 바이오스를 VGA카드에서 직접 읽어오는 것보다 메모리에서 불러오는 시간이 훨씬 짧기 때문이다. 값을 enabled로 한다.
메모리에서 데이터를 읽어올 때는 행과 열로 된 주소를 이용한다. 예를 들어, 1열 2행이라는 신호를 보내면 메모리는 첫 번째 열의 두 번째 행에 있는 데이터를 불러온다. 열과 행의 주소를 정하는 것을 RAS(raw address strobe)와 CAS(column address strobe)라고 부른다. 이 옵션은 열을 정한 뒤 행을 결정짓는 데까지 걸리는 시간을 정한다. 물론 짧을수록 좋다. 값은 2 또는 3클럭이 가장 적당하다.
원래 하드디스크는 한번에 하나의 섹터(512바이트)를 처리한다. 이 양을 늘려 CPU나 메모리가 자료를 오랫동안 기다리지 않도록 하려면 값을 hdd max로 한다. - C++/volatile 키워드에 대해 . . . . 9 matches
따라서 컴파일러는 변수에 최적화를 수행하지 않는다. 즉, 컴파일러가 값을 예측하거나 캐싱하는 것을 방지하기 때문에 레지스터를 사용하지 않고 매번 메모리에서 읽는다
영리한 컴파일러라면 코드에서 같은 주소의 메모리를 여러 번 읽고, 마지막에 한번 쓰는 걸 발견하면 속도를 향상 시키기 위해 최종적으로 불필요한 읽기를 제거하고 마지막에 쓰기만 수행할 것이다. 일반적인 코드라면 이런 최적화를 통해 수행 속도 면에서 이득을 보게 된다.
하지만 임베디드 장비처럼 메모리 주소에 연결된 하드웨어 값을 읽어온다면(Memory-mapped I/O) 이야기가 달라진다. 언제든지 값이 변경될 수 있기 때문에 주소가 같다는 이유 만으로 메모리 읽기를 예측하거나 캐싱하여 넘기면 안된다. 이런 경우 유용하게 사용될 수 있는 키워드가 `volatile`이다.
이처럼 레지스터를 재사용하지 않고 매번 메모리를 참조하는 것을 가시성(visibility)이 보장된다고 말한다.
(!) 주의할 점은 `volatile` 키워드는 스레드 간의 메모리 동기화 문제를 해결해 주지는 않는다. 즉, 데이터 경쟁 조건이나 원자성을 보장하지 않는다.
`volatile`은 표준에서 키워드와 메모리 모델에 대해 명확한 정의를 내리지 않았기 때문에 컴파일러마다 구현에 차이가 있다. MSVC는 `volatile`에 가시성 뿐만 아니라 재배치Reordering 문제에 대한 해결책도 추가하였다.
재배치는 컴파일러가 메모리 접근 속도 향상, 파이프라인 활용 등 최적화 목적으로 프로그램 명령의 위치를 바꾸는 것을 말하는데, 코드 상에 `a = 1; b = 1; c = 1;`라고 작성했다고 해서 반드시 abc 순서로 메모리에 쓰지 않을 수도 있다는 의미다. 캐시 상황 등에 따라 속도 향상을 볼 수 있다면 컴파일러는 a,c를 먼저 쓰고 b를 쓰는 순서가 바꿀 수 있는 것이다. - C++/디버그 빌드 힙 스택 메모리 값 . . . . 8 matches
* 힙에 할당된, 초기화되지 않은 메모리는 '''0xCDCDCDCD'''로 설정된다.
* 스택에 할단된, 초기화되지 않은 메모리는 '''0xCCCCCCCC'''로 설정된다.
* 해제된 힙 메모리는 '''0xFEEEFEEE'''로 설정된다. (이후 재할당되면 다시 '''0xCDCDCDCD'''가 된다.)
메모리가 해제되는 방식에 따라서는 해제된 메모리가 '''0xDDDDDDDD'''로 설정될 수도 있다.
* 힙에 할당된 메모리의 첫 부분과 끝 부분은 '''0xFDFDFDFD'''로 설정된다.
* LocalAlloc(LMEM_FIXED)으로 메모리 할당 후, 초기화 되지 않은 메모리는 '''0xBAADF00D'''로 설정된다. - K8S . . . . 7 matches
2. 노드에서 시크릿은 tmpfs 메모리에 저장되며, 실제 스토리지에는 기록되지 않고 파드가 제거될 때 함께 제거된다.
쿠버네티스 Secret 자원은 상대적으로 안전한 자원입니다. Secret 자원은 Kubernetes에서 제공하는 암호화된 방식으로 저장되며, 기본적으로 메모리 내에만 저장되며, 노드나 Pod에 대한 로깅과 같은 기능으로 보호됩니다. 또한, Secret 자원을 사용하는 컨테이너가 실행되는 노드에서만 액세스 가능하며, 컨테이너 내에서 암호화된 형태로만 사용되기 때문에 데이터가 보호됩니다.
파드의 모든 컨테이너는 CPU와 메모리 requests를 지정할 수 있으며 특정한 양의 자원을 보장한다. 즉 자원이 보장되지 않으면 파드가 스케줄되지 않는다. 메모리 요청을 너무 낮게 잡으면 노드가 더욱 꽉 채워지기 때문에 메모리 압박으로 메모리 부족 오류로 워크로드 축출이 일어날 수 있다. CPU limits를 너무 낮게 잡으면 CPU 고갈이나 성능이 저하된 워크로드가 발생할 수 있다. 반면에 너무 많은 자원을 requets하면 불필요한 용량이 할당되어 자원이 낭비된다. 클러스터의 사용률과 수평 스케일링의 효율성을 위해 가능한 정확하게 자원을 요청하는 것이 중요하며 [[Code(VerticalPodAutoscaler)]](VPA)가 이를 해결하는데 도움이 되며 실제 사용 피드백을 기반으로 자원을 조정 및 할당하는 과정을 자동화한다.
새로운 노드를 스케일링한다. 쿠버네티스가 클라우드 컴퓨팅 인프라스트럭처상에서 실행 중일 때만 수행될 수 있다. 모든 주요 클라우드 제공업체는 쿠버네티스 오토스케일러(CA)를 제공한다. HPA와 VPA의 스케일링 기술은 클러스터 용량 한도 내에서만 탄력성을 제공한다. CA는 쿠버네티스 애드온으로 구동되고 요청된 CPU나 메모리를 충족시키는 용량을 갖춘 노드가 없다면 새로운 노드를 프로비전 한다. 최소 노드 수와 최대 노드 수가 설정되어야 한다. - Blog/2008-10 . . . . 6 matches
그 동안 웹 브라우저는 몇 번이나 모질라 파이어폭스를 써보려 했으나 도저히 맞지 않아서 IE 만 썼습니다. 다른건 둘째치고 (파이어폭스는) 너무 느립니다. 페이지 로딩은 IE 보다 조금 빠른 것 같아도 초기 구동이 답답할 정도로 느리고 전체적으로 IE 보다 무거워 보입니다. 실제로 메모리도 훨씬 더 많이 차지하구요. 몇 가지 매력적인 애드온이 있긴 하지만 익숙하고 빠른(!) IE 을 대신할 메리트를 전혀 느끼지 못했습니다.
{{{#!blog hyacinth 2008-10-19T06:55:17 메모리, 추가
메모리는 1GB + 1GB 해서 2GB 를 사용중인데 처음 윈도우가 깨끗했을 때는 충분한 듯 하다고 생각했는데 어플리케이션을 설치하고 큰 프로그램을 돌릴 때 조금 부족하다는 느낌을 가끔 받았습니다.
그래도 메모리를 추가하려면 32Bit 윈도우라 4GB는 맞출 수 없고(낭비고) 1GB를 추가하자니 3GB라는 다소 어정쩡한 용량이 되고 거의 모양새에 지나지 않지만 듀얼채널도 불가능해서 추가할 생각은 하지 않았습니다. 또, 2GB도 일견 여유가 있어보이는데 1GB 추가만으로 그다지 큰 효과를 볼 수 있을 거란 생각도 안 들었구요.
2GB 메모리도 작업관리자에서는 60~70% 만 사용중이고 30%는 여유가 있어 넉넉한줄 알았는데 과연 큰 프로그램을 돌릴 때에는 메모리가 많을 수록 좋다는 말을 바로 느낍니다. - C++/STL/시퀀스 컨테이너 비교 정리 . . . . 6 matches
일반적인 배열처럼 vector는 개체들을 연속적인 메모리 공간에 저장한다.
동적으로 컨테이너 크기가 확장/축소되기는 하나, 확장 시 reallocation의 비용이 크다. capacity에 따라 적절한 크기의 reserved 메모리 크기 확보가 중요할 수 있다.
컨테이너의 동적 확장/축소 방식이 다르다. vector의 경우 내부 capacity가 고갈되면 전체 메모리 크기만큼 reallocation이 발생한다. 하지만 deque는 일정 크기를 가지는 chunk 단위로 확장된다. 이런 차이에서 다음 같은 장단점이 있다.
메모리 할당량이 큰 경우 vector에 비해 확장 비용이 절감된다.
컨테이너 처음부터 끝까지 연속 메모리 공간이 아니므로 vector에서 가능했던 포인터 연산이 불가능하다.
원소들 간 연결을 위해 추가적인 메모리가 사용된다. - AnimeReleased/1993년-2004년 방영작 . . . . 5 matches
메모리즈 1- 그녀의 기억
메모리즈 2-최취병기
메모리즈 3-대포도시
두근두근 메모리얼
크라우 팬텀 메모리 - WinDbg . . . . 5 matches
2. [[code(r)]] 마지막 실행하던 메모리 번지와 레지스터 상태 확인. AV가 발생한 원인인 유효하지 않은 메모리 번지 확인
3. [[code(dd 메모리번지)]]. 원인이 된 접근하려는 메모리 번지가 정말 유효하지 않은지 확인
3. [[code(!dps StackLimit StackBase)]] 스레드 스택 영역 메모리 분석. - Blog/2009-08 . . . . 4 matches
EVENTS와 TO DO 두 가지 항목을 기록할 수 있다. EVENTS는 달력에 표시할 일이고 TO DO는 기본적으로 메모사항이다(달력 표시도 옵션으로 가능하다). EVENTS에 등록할 때 분류(카테고리)도 선택 할 수 있고 분류에 따라 다르게 달력에 아이콘이 표시된다. 아이콘 종류도 다양하고 표시 색도 분류에 따라 몇 가지(파란색, 녹색 등)로 나뉘어 쓰기 편하다.
이 중 니켈-카드뮴, 니켈-수소는 AAA,AA 규격 충전지, 껌전지, 연식(?)이 오래된 노트북 배터리 등에서 쓰이며 메모리 이펙트 현상이 있다. 배터리 일정량을 소모하고 충전을 반복하다보면 일부 소모한 용량을 최대 용량으로 인식해 용량이 줄어든다. 이것들은 ''' 완전 방전, 완전 충전 '''을 하는 것이 배터리를 오래 이용하는 방법이다.
리튬-이온은 핸드폰, MP3, PMP, 노트북 등 요즘 쓰이는 모바일 기기에서 가장 일반적으로 볼 수 있는 배터리다. 리튬-이온 배터리는 메모리 이펙트 현상이 없어 막 사용해도 크게 무리가 없다. 오히려 완전 방전과 충전을 반복할 경우 배터리가 사망한다. 조금 썼다 싶으면 그때 그때 충전을 하는 것이 좋다. 단순히 말해 ''' 그냥 막 쓰는 것이 오히려 배터리 수명에 좋다. '''
니켈-카드뮴과 니켈-수소, 리튬-이온 중 어느게 메모리 이펙트 현상이 있었는지 항상 헷갈렸다. 그리고 얼마전 내 PMP(코원 A3) 배터리가 사망해서 잘 알아보고 정리했다. [[HTML(<font color=gray>)]](오래 쓴다고 일부러 완전 방전을 하고 충전 하기를 몇 달간 계속했는데 그 때문에 사망했다고...)[[HTML(</font>)]] - C++/컴파일러의 변수에 대한 최적화 . . . . 4 matches
컴파일러는 실행 속도를 높이고 메모리 사용량을 줄이기 위해 다양한 최적화를 수행합니다. **변수**와 관련된 대표적인 기법은 다음과 같습니다.
자주 사용되는 변수를 CPU 레지스터에 유지해 메모리 접근을 최소화합니다. (그래프 색칠 + spilling 기법 사용)
배열이나 구조체 요소 중 자주 접근되는 부분을 임시 스칼라 변수로 치환하여 메모리 접근과 주소 계산을 줄입니다.
배열/구조체 요소를 임시 스칼라 변수로 치환 → 메모리 접근 감소 + 레지스터 활용 향상 - Windows Via C/C++ . . . . 4 matches
* 커널 오브젝트 생성이 실패하면 보통 0(NULL)을 반환한다. 그러나 시스템의 가용 메모리가 매우 작거나 보안상의 이유로 함수가 실패하는 경우 '''몇몇 함수는''' -1(INVALID_HANDLE_VALUE)를 반환하는 함수가 있다. 따라서 반환 값 실패를 비교할 때 상당한 주의가 필요하다.
* 프로세스는 두 개의 컴포넌트로 구성된다. 프로세스를 관리하기 위한 목적으로 운영체제가 사용하는 커널 오브젝트와 실행 모듈이나 Dll 코드와 데이터를 수용하는 주소 공간. 주소 공간엔 스레드 스택이나 힙 할당 같은 동적 메모리 할당에 사용되는 공간도 포함한다.
* 윈도우는 프로세스들 사이에 데이터를 전달하는 다양한 방법들을 제공하고 있지만 내부적으로는 모두 메모리 맵 파일을 사용하여 구현되었으며, 실제로 메모리 맵 파일을 사용하는 것이 단일 머신에서 프로세스 간에 데이터를 전달하는 가장 효과적인 방법이다. - irc logs/2012 . . . . 4 matches
[10:06] <+hyacinth> 웹 메모장 같은 거 없나
[10:07] <+hyacinth> 2. 기본 메모앱
[10:07] <+hyacinth> 2. 기본 메모앱(gmail 싱크)
[10:14] <+rapzzard^회사> 네이버 메모는 - omr1/502 . . . . 4 matches
힙/스택 윈도우 메모리 구조
- 메모리 및 레지스터 조사 방법
- 메모리 덤프
- 안티 메모리 덤프 기법 - 학부/3학년 . . . . 4 matches
메모리 사용량과 CPU 사용량, 모든 프로세스의 실시간 정보 등를 보여주며 GUI로 프로세스의 작업을 관리할 수 있다.
② CPU/메모리 사용률 출력
▶ 프로세스 종류별로 일정 시간 동안 사용된 CPU 사용률과 메모리와 사용량을 실시간으로 보여주는 기능.
text = wxString::Format(_T("프로세스: %d\t CPU 사용: %3d%%\t실제 메모리: %3d%%"), numproc, (int)cpus->usage_tot, ((mems->memtotal - mems->memfree) * 100)/mems->memtotal); - AnimeReleased/mym . . . . 3 matches
기동전사 건담 0083 스타더스트 메모리.機動戦士ガンダム0083 STARDUST MEMORY.1991 / *** / B+ /
메모리즈.Memories.1996 / *** / A- /
하느님의 메모장.神様のメモ帳.2011 / *** / A- / - mym/2010_01_01 . . . . 3 matches
MCU는 전자제품에 사용되어 단순 시간예약에서부터 특수한 기능에 이르기까지 다양한 특성을 컨트롤하는 역할을 하는 비메모리 반도체
* 레지스터(register) : 데이터를 보관하는 조그만 메모리. 프로그램 실행 중 사용. 고속 엑세스.
* 주소 버스 : 메모리 내의 특정 장소나 입출력 장치의 특정 포트(port)를 지정하는 주소 - C++/SAL 표준 표식 언어 . . . . 2 matches
</font><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Arial; line-height: 22px; "></span></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.6; "><b><span style="font-family: Arial; ">버퍼 오버플로</span></b><span style="font-family: Arial; ">(buffer overflow) 또는</span><span style="font-family: Arial; "> </span><b><span style="font-family: Arial; ">버퍼 오버런</span></b><span style="font-family: Arial; ">(buffer overrun)은 메모리를 다루는 데에 오류가 발생하여 잘못된 동작을 하는 프로그램 취약점이다.</span></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.6; "><span style="font-family: Arial; ">버퍼 오버플로는 보통 데이터를 저장하는 과정에서 그 데이터를 저장할 메모리 위치가 유효한지를 검사하지 않아 발생한다. 이러한 경우 데이터가 담긴 위치 근처에 있는 값이 손상되고 그 손상이 프로그램 실행에 영향을 미칠 수도 있다. 특히, 악의적인 공격으로 인해 프로그램에 취약점이 발생할 수도 있다.</span><span id="tx_right_marker"></span></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.6; "> - C++/재귀 탐색을 루프로 구현 . . . . 2 matches
재귀가 반복문보다 메모리를 많이 차지하며 속도가 느리다고 알려져있다. 하지만 이건 언어에 따라 다르다. 그리고 컴파일러에 따라 다르다. 그리고 데이터 셋에 따라 다르다. 일반적으로 재귀 탐색을 루프로 직접 구현하는건 드라마틱하게 속도가 빨라지지 않는다. 성능만을 생각한다면 루프 구현이 아니라 컴파일러가 꼬리 재귀(tail recursion, return에서 추가 연산을 필요로 하지 않는 형태) 최적화가 가능한 형태로 재귀 탐색을 구현하는 것이 낫다(__컴파일러가 가능하면 최적화 하는 과정에서 꼬리 재귀를 반복문으로 변경한다__). 기존 재귀의 문제였던 메모리와 성능에 대한 문제가 제거되는 것이다. 루프로 직접 구현할 때 이점은 재귀 깊이가 아주 깊어질 때 스택이 깨지는 건 확실히 막을 수 있다. - Grafana + InfluxDB2 + Telegraf 개인 서버 모니터링 구축/구축 동기 . . . . 2 matches
<blockquote class="twitter-tweet"><p lang="ko" dir="ltr">어제 집에서 1년 24시간 돌리는 서버가 상태가 이상해서 점검을 했는데 사용 가능 메모리가 알수 없는 이유로 0이 되어서 원격 접속도 안되는 상황이 발생했다. 모니터링 시스템을 구축할 필요가 있다고 생각해서 거실에서 역시 안 끄고 있는 PC를 호스트로 InfluxDB+Grafana를 설치하고 작업 서버에서</p>— Yellow Hyacinth (@yhyacinth) <a href="https://twitter.com/yhyacinth/status/1411271223657385985?ref_src=twsrc%5Etfw">July 3, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<blockquote class="twitter-tweet"><p lang="ko" dir="ltr">Telegraf로 시스템 메트릭을 보내서 Grafana로 시각화하고 메모리 사용량 알람을 보내도록 설정했다. 마음이 편해진다...</p>— Yellow Hyacinth (@yhyacinth) <a href="https://twitter.com/yhyacinth/status/1411271225251303432?ref_src=twsrc%5Etfw">July 3, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> - Hash collision 회피 전략 . . . . 2 matches
3. 메모리 제약
메모리 제약이 있는 경우에는 분리 연쇄법과 같이 캐시 효율성이 높은 방식을 선택해야 한다. - irc logs . . . . 2 matches
[03:25:02] 18<miae18> youknowslack: pickle은 사이즈 커지면 메모리에러떠요
[03:26:00] 18<miae18> 전 메모리에러나서 sklearn에있는 joblib 써야했었던드 ㅜㅜ - omr1/3/001 . . . . 2 matches
메모리 릭, Memory Leak
메모리 맵 파일, Memory Mapped File - omr1/404 . . . . 2 matches
저장된 데이터 베이스 파일을 읽어 데이터 베이스를 메모리에 등록한다.
프로그램 종료 및 메모리 해제. - omr1/404/01 . . . . 2 matches
// 두번째 카테고리 메모리 해제
// 첫번째 카테고리 메모리 해제 - 개발자 인수인계 문서 작성하는 법 . . . . 2 matches
- 주요 제약 사항 (성능, ABI, 메모리, 실시간성 등)
- 메모리 소유권 구조 - 이미지 비교 지표에 대해 . . . . 2 matches
- 메모리 부담 없음
- 모델 가중치 로딩, 메모리 사용량 큼 - 한글화/완료 및 진행중인 작품 . . . . 2 matches
D.C.~다카포~메모리즈.D.C.~ダ·カ―ポ~MEMORIES
Wind~The Breath of Heart~.2004 - 팀 메모리즈 - AnimeReleased/2006년 10월 신작 . . . . 1 match
* 두근두근 메모리얼 ~Only Love~ - AnimeReleased/2009년 7월 신작 . . . . 1 match
카나메모 - Blog/2011-05 . . . . 1 match
지금은 3년 전 엠파스 뉴스 데이터에다 분량도 하루 분량 밖에 안 되서 그리 정확해 보이지는 않다. kNN은 자료량이 증가할 수록 신뢰도가 선형으로 증가하기 때문에 자료의 정확도와 양이 중요하다. C++에선 검색 데이터를 메모리에 리스트로 올렸는데 DB에선 인덱스를 쓰니 10배, 20배 이상 자료량도 충분할 듯. - Blog/2012-02 . . . . 1 match
네이트메모 - Blog/2014-06 . . . . 1 match
윈도우에서 애플리케이션을 실행하면 메모리를 어떻게 잡을까? 시스템은 애플리케이션을 구성하는 .exe 파일을 열어서 애플리케이션을 구성하는 코드와 데이터의 크기를 얻어낸다. 이후 프로세스의 주소 공간에 얻어낸 크기만큼의 영역을 예약하고, 이 영역에 대한 '''커밋된 물리적 저장소를 .exe 파일 자체라고 설정'''한다. 이처럼 시스템은 페이징 파일에 공간을 할당하는 대신 프로세스의 주소 공간에 예약된 영역을 활용하여 .exe 파일의 내용이나 데이터 등을 사용한다. (이렇게 하면 애플리케이션은 더 빠르게 로딩될 수 있고, 페이징 파일의 크기를 증가시키지 않고 그대로 유지할 수 있게 된다.) - C++ . . . . 1 match
["/디버그 빌드 힙 스택 메모리 값"] - C++/(Gdiplus)BitmapArray to HBITMAP . . . . 1 match
하지만 **단발성 BMP 메모리 → HBITMAP 변환**이라면 거의 항상 CreateDIBitmap 계열이 압승이다. - C++/(MFC)COM dll 사용 . . . . 1 match
# 생성이 안 되거나 오류는 주로 경로 문제, 아니면 생성된 idl을 메모장으로 열어 오류가 없는지 확인 -> 관련 오류 찾아 제거) - C++/(MFC)SaveBitmapToDirectFile CDC를 Bitmap으로 저장 . . . . 1 match
/*------------------------ 임시로 할당한 메모리를 해제.. -------------*/ - C++/(Modern C++)람다 캡처는 성능 부담이 거의 없다 . . . . 1 match
그래서 캡처 자체는 지역 변수 복사 or 포인터 저장이므로 CPU 비용이나 메모리 오버헤드가 매우 낮다. - C++/MFC 메시지 맵에 대해 . . . . 1 match
MFC 메시지 맵이 이런 구조로 만들어진 이유가 있다. 상속 관계에 있는 클래스는 자식 클래스의 메시지부터 거슬러 올라가기 때문에 메시지 핸들러가 가상 함수에 오버라이딩 되어야 할 것 같이 느껴진다. 그런데 MFC 클래스는 메시지 핸들러 함수가 가상 함수로 정의되어 있지 않다. 동적 바인딩을 하기 위해선 클래스에 4바이트(32비트 윈도우의 경우) 메모리 주소를 저장할 공간이 더 필요하다(동적 바인딩 참조). 그런데 만약 모든 메시지 핸들러 함수가 가상 함수로 되어 있다면 메시지 핸들러가 대략 200여개 있으니 윈도우 클래스마다 대략 800바이트 이상이 더 필요하게 된다. 프로그램이 하나 실행되면 뷰, 툴바, 각종 컨트롤 등 기본적으로 수 개~수십 개의 윈도우가 생기는데 당연히 이건 대단한 자원 낭비다. - C++/데이터 정렬에 대해 . . . . 1 match
그리고 자주 사용되는 데이터를 프로세서의 캐시 라인 크기에 맞추면 효율적으로 캐시된다. 이런 이유에서 컴파일러는 가능하면 캐시 라인 크기에 맞도록 메모리 상에 데이터를 적재한다. 이것이 프로그래밍에서 말하는 데이터 정렬이다. - Grafana vs. Kibana 비교 . . . . 1 match
예를 들어 DevOps 팀이 여러 서비스에 걸쳐 로그 항목을 검색·분석하며 애플리케이션 오류를 트러블슈팅할 때는 Kibana를, SRE 팀이 Kubernetes 클러스터의 CPU·메모리·네트워크 사용량을 모니터링하면서 리소스 경고를 받아야 할 때는 Grafana를 사용하는 것이 전형적인 시나리오다. - MoniCalendar . . . . 1 match
== 메모 == - MoniWiki/HotKeys . . . . 1 match
||E 또는 W||action=edit ||[[Icon(edit)]] 메모지와 펜|| - NPAPI NPRuntime 크롬 파이어폭스 플러그인 만들기 . . . . 1 match
* NPAPI 플러그인에서 메모리 할당은 반드시 NPN_MemAlloc을 써야한다. - PageListMacro . . . . 1 match
옵션을 metawiki 혹은 m으로 넣었습니다. 그런데, 서치 속도가 느립니다. metadb가 5메가 이상인데 약 2초 가까이 걸리네요. 페이지이 이 매크로를 넣으면 페이지 로딩속도가 느려지므로 그다지 바람직한 방법은 아닌 것 같습니다. 그리고, metadb를 다 서치하려면 메모리를 많이 잡아먹게 되어 멎는 경우도 생기므로, 100여개정도를 찾으면 끝내도록 되어있습니다. - VS2012 이전 버전의 응용프로그램에서 만들어졌으므로 . . . . 1 match
.sln 파일을 메모장으로 여세요. - ZCS/boorulists.ini . . . . 1 match
1. {{{boorulists.ini}}}를 메모장으로 엽니다. - bidi(Bidirectional)란 무엇인가 . . . . 1 match
유니코드 표준은 '논리적'으로 정렬된 문자들을 메모리에 가진다. 이는 '시각적'으로 나타나는 순서와 다른, 해석될 예정의 순서가 된다. 그리고 bidi 지원을 제공하기 위해 유니코드는 논리적 문자 순서를 어떻게 정확한 시각적 순서로 변환할 수 있는지에 대한 알고리즘을 규정했다. 이를 위해, 유니코드 인코딩 표준은 모든 문자를 네 가지 타입( 'strong', 'weak, 'neutral', 그리고 'explicit') 중 하나로 나눈다. - gdb 사용법 . . . . 1 match
'''메모리 확인''' - irc logs/2002-2010 . . . . 1 match
[23:26] <02Lua> 간단히 메모장에 복붙 - omr1 . . . . 1 match
[/T02] 내 메모장 - omr1/3/002 . . . . 1 match
</div><div><span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 12px; line-height: normal; "><div class="post hentry category-42" id="post-2443" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-align: left; "><h3 class="storytitle" style="font-weight: normal; text-transform: capitalize; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: 돋움, dotum, sans-serif; "><a href="http://gaemon.wordpress.com/2008/10/13/10%eb%85%84-%ec%95%88%ec%97%90-%ed%94%84%eb%a1%9c%ea%b7%b8%eb%9e%98%eb%b0%8d-%eb%8f%85%ed%95%99%ed%95%98%ea%b8%b0/" rel="bookmark" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">10년 안에 프로그래밍 독학하기</a></h3><div class="meta" style="font-weight: normal; color: rgb(204, 204, 204); letter-spacing: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-align: left; ">Filed under: <a title="View all posts in 42" href="http://ko.wordpress.com/tag/42/" rel="category tag" target="_blank" style="font-weight: normal; letter-spacing: 0px; color: rgb(102, 102, 102); text-decoration: none; ">42</a> — 개멍 @ 21:52</div><div class="storycontent" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-align: left; "><div class="snap_preview" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-align: left; "><p style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; "><a id="yit6" title="피터 노빅 횽아의 유명한 글" href="http://www.norvig.com/21-days.html" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">피터 노빅 횽아의 유명한 글</a> 번역. <a id="vb" title="다른 분이 번�한 글" href="http://tavon.org/work/21-days" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">다른 분이 번역한 글</a> 도 있긴 한데 품질이 맘에 안 들어서 새로 번역해 봤다. “프로그램하다” 는 말은 요즘 잘 안 쓰이는거 같아서 몇몇 경우 “코딩하다” 는 표현을 사용했다.</p><hr width="100%" size="2"><p style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; ">어떤 서점을 들어가도 “7일만에 자바 독학하기” 라든가 그 옆에 나란히 놓인 비주얼 베이직, 윈도우즈, 인터넷 등을 며칠 내지 몇 시간만에 독학하는 방법을 찾을 수 있다. 아래와 같은 고급 검색을 amazon.com 에서 해 봤더니:</p><p style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; ">248 개의 결과가 나왔다. 상위 78 개는 컴퓨터 책이었다. (79위는 “30일만에 벵갈어 배우기” 였다) “며칠만에” 를 “몇 시간 만에” 로 바꿔도 눈에 띄게 비슷한 결과가 나온다. 253 개의 결과 중 상위 77 개는 컴퓨터 책이고 “문법과 문체를 24 시간만에 독학하기” 가 78위로 뒤를 잇는다. 상위 200 개 중에 96% 가 컴퓨터 책이다.</p><p style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; ">결론을 내리자면 사람들이 컴퓨터를 배우기 위해 몰려들고 있든가, 아니면 다른 어떤 것보다 컴퓨터가 끝내주게 쉽다는 얘기, 둘 중 하나일 것이다. 베토벤이나 양자 역학이나 심지어 개 빗질하는 법을 며칠 만에 배우는 책은 없다. <a id="jrhs" title="3일만에 파스칼 배우기" href="http://www.amazon.com/exec/obidos/ISBN=1556225679/4094-7934802-027992" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">“3일만에 파스칼 배우기”</a> 같은 책이 어떤 의미일지 생각해 보자:</p><p style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; ">배우기: 3일 이라면, 의미있는 프로그램을 몇 개 짤 시간도 없고, 그 과정의 성공이나 실패로부터 배울 수도 없다. 경험있는 프로그래머와 같이 일하는 환경이 어떤 것인지 이해할 시간도 없다. 잘라 말해, 별로 많이 배울 시간이 안된다. <a id="rfbb" title="알렉산더 포프" href="http://en.wikipedia.org/wiki/Alexander_Pope" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">알렉산더 포프</a> 가 말했듯, 선무당이 사람잡는다.</p><p style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; "><strong><font color="#fe1100" size="3">파스칼: 3일 이라면 파스칼의 문법은 배울 수 있을 것이다 (비슷한 언어를 이미 알고 있다면). 하지만 그 문법으로 뭘 할지를 배우진 못할 것이다.</font></strong> 잘라 말해, 당신이 베이식 (BASIC) 프로그래머라면, 파스칼 문법을 사용해서 베이식 스타일의 프로그램은 짤 수 있겠지만, 파스칼이 정말 좋은지 (또는 나쁜지) 는 알 수 없을 것이다. 그러니 그게 무슨 소용인가? <a id="ilr3" title="알란 펄리스" href="http://www-pu.informatik.uni-tuebingen.de/users/klaeren/epigrams.html" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">알란 펄리스</a> 가 말했듯이, “프로그래밍에 대해 생각하는 방법을 바꾸지 않는 언어는 알 필요도 없다.” 파스칼을 (실은 비주얼 베이식이나 자바스크립트 쪽이 좀 더 가능성 있겠지만) 약간 배워서 기존에 존재하는 코드와 인터페이싱한다면 뭔가 소용이 되긴 하겠지만, 그런 경우도 프로그래밍을 배우는건 아니다: 그 일을 하는 방법을 배우는 것일 뿐.</p><p style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; ">3일 동안이라. 불행히도 이걸론 충분치 않다. 좀 더 설명해 보겠다.</p><h3 style="font-weight: normal; text-transform: capitalize; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: 돋움, dotum, sans-serif; ">10년 동안 프로그래밍 독학하기</h3><p style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; ">연구자들 (<a href="http://www.amazon.com/exec/obidos/ASIN/034531509X/" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">Bloom (1985)</a>, <a href="http://www.norvig.com/21-days.html#bh" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">Bryan & Harter (1899)</a>, <a href="http://www.amazon.com/exec/obidos/ASIN/0805803092" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">Hayes (1989)</a>, <a href="http://www.norvig.com/21-days.html#sc" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">Simmon & Chase (1973)</a>) 은 세상의 많은 일들 중 어느 하나라도 전문적 지식을 갖추려면 10년 정도의 시간이 걸린다는 것을 밝힌 바 있다. 체스라든가, 음악 작곡, 모르스 전신 치는 법, 그림, 피아노 연주, 수영, 테니스, 신경정신학 및 토폴로지 등 모두 마찬가지다. 지름길은 없는 듯 하다: 심지어 <font size="3"><strong><font color="#fe1100">4살 때 음악 신동이었던 모짜르트도 세계적인 음악을 만들기까지는 13년을 기다려야 했다</font></strong>.</font> 장르를 바꿔 얘기하면, 비틀즈는 갑자기 나타나 1964 년부터 연속으로 1위 히트곡을 쏟아내면서 <a id="rg7o" title="에드 설리반 쇼" href="http://en.wikipedia.org/wiki/The_Ed_Sullivan_Show" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">에드 설리반 쇼</a> 에 출연한 것 처럼 보인다. 하지만 그들은 리버풀이나 함부르그의 작은 클럽에서 1957 년부터 활동해 왔고, 그때부터 대중적 호소력이 있긴 했지만, 진정한 첫 번째로 성공한 앨범인 “페퍼 하사” 는 1967 년에 발매되었다. 사무엘 존슨 (1709-1784) 는 심지어 10년도 짧다고 봤다: “어느 분야에서든 탁월함을 보이려면 평생 노력해야 한다. 더 싼 방법은 없다.” 그리고 초서 (1340-1440) 는 “인생은 짧고, 재주를 배우는건 너무 오래 걸리는도다” 고 한탄했다. 히포크라테스 (기원전 400년경) 는 그의 명언 “인생은 짧고, 예술은 길다” 라는 말은 남겼는데, 축약되지 않은 원문은 “Ars longa, vita brevis, occasio praeceps, experimentum periculosum, iudicium difficile” 이며 번역하자면 “인생은 짧고, 재주는 길고, 기회는 잠깐이고, 실험은 믿을 수 없고, 판단은 어렵다.” 이다. 라틴어에서 “ars” 는 예술이나 기술 어느 쪽을 말할 수도 있지만, 원문의 그리스어는 “techne” 이고 이는 “재주” 로 번역되지 “예술” 로 번역되지 않는다.</p><p style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; ">내가 제안하는 성공적인 프로그래밍의 요소는 다음과 같다:</p><ul style="list-style-type: none; list-style-position: initial; list-style-image: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">프로그래밍에 흥미를 갖고, 재미로 해 봐라. 계속해서 재미를 느껴서 10년을 버틸 수 있도록 하라.</li><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">다른 프로그래머와 얘기하라; <font color="#fe1100" size="3"><strong>다른 이들이 짠 프로그램을 읽어라</strong></font>. 이것이 어떤 책이나 수업보다 더 중요하다.</li><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">코딩하라. <font size="3"><strong><font color="#fe1100">가장 좋은 학습은 </font></strong></font><a id="bxrj" title="해보면서 배우는 것" href="http://www.engines4ed.org/hyperbook/nodes/NODE-120-pg.html" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; "><font color="#fe1100" size="3"><strong>하면서 배우는 것</strong></font></a> 이다. 더 전문적으로 말하자면, “개인이 특정 영역에서 최고로 발휘할 수 있는 수준은 그저 오랫동안 경험한다고 그냥 배워지는게 아니다. 매우 경험이 많은 개인이라도 발전하려는 노력이 없으면 수준을 높일 수 없다.” <a href="http://www2.umassd.edu/swpi/DesignInCS/expertise.html" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">(p. 366)</a> 그리고 “가장 효과적인 학습에는 특정 개인에게 맞는 난이도의 잘 정의된 과제와, 유익한 피드백과, 반복해서 잘못을 수정해 나갈 기회가 필요하다.” (p. 20-21) 이러한 관점을 제공하는 <a href="http://www.amazon.com/exec/obidos/ASIN/0521357349" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">Cognition in Practice: Mind, Mathematics, and Culture in Everyday Life</a> 는 흥미로운 참고서적이다.</li><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">원한다면, 대학에서 4년을 보내라 (아니면 대학원에서 더 시간을 보내라). 이렇게 하면 해당 경력을 필요로 하는 직업에 도전할 수도 있고, 이 분야에 대한 더 깊은 이해를 얻을 수도 있다. 하지만 수업을 즐기지 않는다면 (약간의 노력으로) 직업 내에서 비슷한 경험을 얻을 수도 있다. 어느 경우든, 책에서 배우는 것만으론 충분치 않다. “컴퓨터 과학 교육을 듣는다고 전문 프로그래머가 될 수 있다면 붓과 물감을 전공한 누구든 전문 화가가 될 수 있을 것이다” 고 <a id="lhvd" title="The New Hacker's Dictionary" href="http://www.ccil.org/jargon/jargon_toc.html" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">The New Hacker’s Dictionary</a> 의 저자 <a id="md7x" title="에� 레이몬드" href="http://catb.org/esr/" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">에릭 레이몬드</a> 가 말한 바 있다. 내가 고용했던 최고의 프로그래머 중 하나는 고등학교 졸업장밖에 갖고 있지 않았다. 그는 <a href="http://www.xemacs.org/" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">대단한</a> <a href="http://www.mozilla.org/" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">소프트웨어</a> 를 많이 만들었고, 자신만의 <a href="http://groups.google.com/groups?q=alt.fan.jwz&meta=site%3Dgroups" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">뉴스 그룹</a> 도 있으며, 스톡 옵션을 충분히 벌어 자신의 <a id="eirn" title="나이트클럽" href="http://en.wikipedia.org/wiki/DNA_Lounge" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">나이트클럽</a> 까지 만들었다.</li><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><font face="돋움" size="3" ;=""><strong><font color="#fe1100">다른 프로그래머들과 같이 프로젝트에 참여하라</font></strong>.</font> 몇 프로젝트에서 최고의 프로그래머가 되어라. 다른 몇 개에서는 최악의 프로그래머가 되어라. 자신이 최고인 프로젝트에서는 프로젝트를 꾸려나가고, 다른 이들에게 영감을 주는 능력을 시험하라. 최악인 프로젝트에서는 스승들이 무엇을 하고, 무엇을 하기 싫어하는지 배워라 (하기 싫은 것은 당신에게 시킬 것이다).</li><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">다른 프로그래머들이 이미 일하는 프로젝트에 참여하라. 다른 이들이 쓴 코드를 이해하는데 집중하라. 원 저자의 도움 없이 이해하고 고치는데 얼마나 노력이 드는가 경험하라. 당신이 짠 코드를 관리해야 하는 이들이 쉽게 작업하려면 어떻게 프로그램을 설계해야 할지 생각하라.</li><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">최소한 대 여섯개의 프로그래밍 언어를 배워라. 클래스 추상화를 제공하는 언어 (Java 나 C++ 같은) 하나와, 함수 추상화를 제공하는 언어 (Lisp 이나 ML 같은) 하나, 문법 추상화를 제공하는 언어 (Lisp 같은) 하나, 선언형 명세 방법 (declarative specification) 을 지원하는 언어 (Prolog 나 C++ 템플릿 같은) 하나, 코루틴을 제공하는 언어 (Icon 이나 Scheme 같은) 하나, 병렬화를 제공하는 언어 (Sisal 같은) 하나는 꼭 배워라.</li><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">“컴퓨터 과학” 에는 “컴퓨터” 가 들어간다는 것을 잊지 마라. 컴퓨터가 인스트럭션 하나를 수행하거나, 메모리에서 워드 하나를 가져오거나 (캐쉬 미스 나는 경우 및 안 나는 경우), 디스크에서 워드를 연속으로 읽어오거나, 디스크를 탐색하는데 얼마나 걸리는지 배워라. (해답은 아래쪽에)</li><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">언어 표준화 작업에 참여하라. ANSI C++ 위원회에 들어갈 수도 있지만, 주위 사람들의 인덴트 스타일이 공백 2 개인지 4 개인지 결정하는 일일 수도 있다. 어느 경우든, 다른 이들이 특정 언어에서 무엇을 좋아하는지, 얼마나 좋아하는지, (운이 좋으면) 왜 그렇게 느끼는지 배울 수 있다.</li><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">위 언어 표준화 작업에서 가능한 빨리 빠져나오는 센스를 키워라.</li></ul><p style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; ">이 모두를 염두에 두면, 책에만 의존해서 얼마나 배울 수 있는지 의문스럽다. 내 첫 아이가 태어나기 전, 나는 모든 “~하는 법” 류의 책들을 다 읽었지만 그럼에도 아직도 대책없는 초보라고 느꼈다. 30달이 지나 내 두 번째 아이가 태어날 때 쯤, 기억을 되살리려 그 책들을 다시 읽었을까? 아니다. 나는 개인적 경험에 의존했고, 전문가들이 쓴 수천 페이지보다 그 쪽이 훨씬 유용하다는 확신을 줬다.</p><p style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; ">프레드 브룩스는 그의 에세이 <a href="http://citeseer.nj.nec.com/context/7718/0" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">No Silver Bullets</a> 에서, 훌륭한 소프트웨어 설계자를 찾는 세 가지 방법을 제시했다.</p><ol style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">가능한 일찍, 최고 설계자감을 체계적으로 찾아내라.</li><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">경력 개발을 책임질 멘토를 붙여주고, 재능을 계발하는 책임을 부여하라. 신중하게 경력을 쌓게 하라.</li><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">자라나는 설계자들이 서로 소통하고 자극할 기회를 만들어 줘라.</li></ol><p style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; ">이 말은 훌륭한 설계자감은 이미 처음부터 그럴 자질이 있다는 것을 암시한다. 신경 써야 하는 부분은 그들끼리 제대로 얽히게 하는 것이다. <a id="ep_c" title="알란 펄리스" href="http://www-pu.informatik.uni-tuebingen.de/users/klaeren/epigrams.html" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">알란 펄리스</a> 가 더 간단히 말한 바 있다: “누구에게나 조각을 가르칠 수 있지만, 미켈란젤로에게는 조각을 못하게 가르칠 수는 있어도 조각은 가르칠 방법이 없다. 훌륭한 프로그래머도 마찬가지다.”</p><p style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; ">그러니 가서 그 자바 책을 사라. 뭔가 소용은 있을 것이다. 하지만 그 책은 당신의 인생을 바꿀 수도 없고, 프로그래머로서의 전문성을 24시간 안에, 며칠 안에, 심지어 몇 달 안에 가르치진 못할 것이다.</p><h3 style="font-weight: normal; text-transform: capitalize; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: 돋움, dotum, sans-serif; ">참고문헌</h3><ol style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">Bloom, Benjamin (ed.) <i><a href="http://www.amazon.com/exec/obidos/ASIN/034531509X" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">Developing Talent in Young People</a></i>, Ballantine, 1985.</li><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">Brooks, Fred, <i><a href="http://citeseer.nj.nec.com/context/7718/0" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">No Silver Bullets</a></i>, IEEE Computer, vol. 20, no. 4, 1987, p. 10-19.</li><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">Bryan, W.L. & Harter, N. “Studies on the telegraphic language: The acquisition of a hierarchy of habits. <i>Psychology Review</i>, 1899, 8, 345-375</li><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">Hayes, John R., <i><a href="http://www.amazon.com/exec/obidos/ASIN/0805803092" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">Complete Problem Solver</a></i> Lawrence Erlbaum, 1989.</li><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">Chase, William G. & Simon, Herbert A.<a href="http://books.google.com/books?id=dYPSHAAACAAJ&dq=%22perception+in+chess%22+simon&ei=z4PyR5iIAZnmtQPbyLyuDQ" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">“Perception in Chess”</a> <i>Cognitive Psychology</i>, 1973, 4, 55-81.</li><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">Lave, Jean, <i><a href="http://www.amazon.com/exec/obidos/ASIN/0521357349" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">Cognition in Practice: Mind, Mathematics, and Culture in Everyday Life</a></i>, Cambridge University Press, 1988.</li></ol><h3 style="font-weight: normal; text-transform: capitalize; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: 돋움, dotum, sans-serif; ">부록: 언어 선택</h3><p style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; ">몇 사람들이 맨 처음 무슨 프로그래밍 언어를 배워야 할지 물어왔다. 하나의 정답은 없지만, 이런 점들을 생각해 보자.</p><ul style="list-style-type: none; list-style-position: initial; list-style-image: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><b>친구들을 사용하라.</b> “어떤 OS 를 써야 할까? 윈도우즈, 유닉스, 아니면 맥?” 이라고 누가 내게 물어보면, 난 보통 이렇게 대답한다: “친구들이 쓰는걸 써라.” 친구들에게서 배울수 있다는 장점은 OS 나 프로그래밍 언어의 어떤 근본적 차이점보다도 더 큰 잇점이다. 또 앞으로 사귈 친구들을 고려하라: 해당 언어 사용자 커뮤니티에 당신도 참여하게 될 것이다. 선택한 언어의 사용자 커뮤니티가 계속 커지고 있는가, 아니면 사라지고 있는가? 해답을 찾을 수 있는 책이나, 웹 사이트나, 온라인 게시판이 있는가? 그 게시판에 있는 사람들이 맘에 드는가?</li><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><b>간단한 것을 골라라.</b> C++ 나 자바 같은 언어는 경험 많은 프로그래머들이 큰 팀으로 모여서 전문적인 개발을 하기 위한 것이고, 런타임 성능에 신경을 쓴다. 그렇기 때문에 이 언어들에는 그런 상황에 맞는 복잡한 부분들이 있다. 당신은 프로그램을 배우는데 신경을 써야 한다. 그런 복잡한 부분은 필요없다. 한명의 신인 프로그래머가 배우기 쉽고 기억하기 쉬운 언어를 골라라.</li><li style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><b>갖고 놀아라.</b> 피아노를 어떻게 배우고 싶은가? 흔히 하듯이 인터랙티브하게, 건반을 치면 곧 소리가 들리는 방식으로 하고 싶은가? 아니면 “뱃치” 방식으로, 한 곡을 다 쳐야만 소리가 나는 식으로 배우고 싶은가? 당연히, 인터랙티브 모드 쪽으로 피아노를 배우는 편이 쉽다. 프로그래밍도 마찬가지다. 반드시 인터랙티브 모드가 있는 언어를 선택하고 그 모드를 사용하라.</li></ul><p style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; ">이런 기준을 놓고 볼 때, 내가 추천하는 첫 번째 언어는 <b><a id="i" title="파이쏜" href="http://python.org/" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">파이쏜</a></b> 이나 <b><a href="http://www.schemers.org/" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">스킴</a></b> 이다. 하지만 당신의 상황은 다를 수 있고, 다른 좋은 대안들도 있다. 나이가 한자리 숫자라면 <a id="e8ve" title="앨리스" href="http://alice.org/" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">앨리스</a> 나 <a id="j83l" title="스퀵" href="http://www.squeak.org/" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">스퀵</a> 을 좋아할 수도 있다 (나이가 들었다고 싫어할 이유는 없다). 중요한 것은 일단 선택하고 시작하는 것이다.</p><p style="font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; "></p></div></div><div class="feedback" style="clear: both; font: normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif; color: rgb(204, 204, 204); margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-align: left; "></div></div><p style="margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; "> </p><p style="margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; "><a href="http://gaemon.wordpress.com/2008/10/13/10%EB%85%84-%EC%95%88%EC%97%90-%ED%94%84%EB%A1%9C%EA%B7%B8%EB%9E%98%EB%B0%8D-%EB%8F%85%ED%95%99%ED%95%98%EA%B8%B0/" target="_blank" style="color: rgb(102, 102, 102); text-decoration: none; ">http://gaemon.wordpress.com/2008/10/13/10년-안에-프로그래밍-독학하기/</a></p><p style="margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; "> </p><p style="margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; ">여기서 긁어왔음.</p><p style="margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; ">결국 핵심은 공부엔 왕도가 없다.</p><p style="margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; ">날로 먹을려고 들지 마라.</p><p style="margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; "> </p><p style="margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; ">프로그래밍 잘 하고 싶으면, 코딩 많이 해봐라.</p><p style="margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; ">라는 얘기.</p><p style="margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; "> </p><p style="margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 2px; margin-bottom: 2px; ">당연한 말이면서 중요하고, 핵심을 찌르는 말들이네요.</p></span></div> - omr1/5/002/081031 . . . . 1 match
printf("newNode 메모리 할당 실패\n"); - omr1/임시2 . . . . 1 match
r=(linkedList_h*)malloc(sizeof(linkedList_h)); // 메모리 할당 - omr1/임시3 . . . . 1 match
r=(linkedList_h*)malloc(sizeof(linkedList_h)); // 메모리 할당 - omr1/임시4 . . . . 1 match
r=(linkedList_h*)malloc(sizeof(linkedList_h)); // 메모리 할당 - omr1/임시5 . . . . 1 match
printf(" newNode 메모리 할당 실패\n"); - test4 . . . . 1 match
시피유, 메모리, 프로세스 정보 - 메모장/A1 . . . . 1 match
메모리즈 3 - 메모장/링크 . . . . 1 match
Describe 메모장/링크 here - 메모장/임시 . . . . 1 match
Describe 메모장/임시 here - 메모장2 . . . . 1 match
#keywords 메모 - 숙대입구 . . . . 1 match
모델(Model)은 마들에 가깝고, 메모리(Memory)는 메므리에 가깝다. (고 한다.) - 스도쿠 솔버 . . . . 1 match
스마트폰을 사고 스도쿠를 자주 하던 때가 있었는데, 자주 하다 보니 메모 없이 눈으로도 풀 수 있을 정도로 익숙해졌고, 규칙을 많이 이해하니 이를 바탕으로 솔버를 만들 수도 있겠다는 생각을 종종 했는데… - 시대의 대세는 백합 . . . . 1 match
거부하지 말자, 시대의 대세는 이미 백합... (크라우 팬텀 메모리) - 윈도우 커널 패닉 유형 Minidump . . . . 1 match
잘못된 시스템 메모리 참조. - 윈도우에서 쓰이는 명령어 . . . . 1 match
[17] notepad [메모장] - 프로그래머 속담 . . . . 1 match
안에서 새는 메모리 밖에서도 샌다. - 학부/2학년 . . . . 1 match
▶ 준비된 DB를 메모리에 등록한다.
You can also click here to search title.