E D R , A S I H C RSS

Full text search for "at"

at


Search BackLinks only
Display context of search results
Case-sensitive searching
  • MatrixAndQuaternionsFaq . . . . 1104 matches
         == The Matrix and Quaternions FAQ ==
         This FAQ is maintained by "hexapod@netcom.com". Any additional suggestions or related questions are welcome. Just send E-mail to the above address.
         I1. Important note relating to OpenGL and this document
         Q1. What is a matrix?
         Q2. What is the order of a matrix?
         Q3. How do I represent a matrix using the C/C++ programming languages?
         Q4. What are the advantages of using matrices?
         Q5. How do matrices relate to coordinate systems?
         Q6. What is the identity matrix?
         Q7. What is the major diagonal matrix of a matrix?
         Q8. What is the transpose of a matrix?
         Q9. How do I add two matrices together?
         Q10. How do I subtract two matrices?
         Q11. How do I multiply two matrices together?
         Q12. How do I square or raise a matrix to a power?
         Q13. How do I multiply one or more vectors by a matrix?
         Q14. What is the determinant of a matrix?
         Q15. How do I calculate the determinant of a matrix?
         Q16. What are Isotropic and Anisotropic matrices?
         Q17. What is the inverse of a matrix?
  • MoreEffectiveC++/Techniques2of3 . . . . 320 matches
          String& operator=(const String& rhs);
         private:
          char *data;
         String& String::operator=(const String& rhs)
          delete [] data;
          data = new char[strlen(rhs.data) + 1];
          strcpy(data, rhs.data);
         http://zeropage.org/~neocoin/data/MoreEffectiveC++_184_1.gif
         http://zeropage.org/~neocoin/data/MoreEffectiveC++_184_2.gif
         http://zeropage.org/~neocoin/data/MoreEffectiveC++_185_1.gif
         참조 세기를 하는 String 클래스를 만드는건 어렵지는 않지만, 세세한 부분에 주목해서 어떻게 그러한 클래스가 구현되는지 주목해 보자. 일단, 자료를 저장하는 저장소가 있고, 참조를 셀수 있는 카운터가 있어야 하는데, 이 둘을 하나로 묶어서 StringValue 구조체로 잡는다. 구조체는 String의 사역(private)에 위치한다.[[BR]]
         private:
         private:
          char *data; // 값 포인터
          data = new char[strlen(initValue) + 1]; // 새로운 값 할당(아직 참조세기 적용 x
          strcpy(data, initValue); // 스트링 복사
          delete [] data; // 스트링 삭제
         http://zeropage.org/~neocoin/data/MoreEffectiveC++_187_1.gif
         http://zeropage.org/~neocoin/data/MoreEffectiveC++_187_2.gif
         http://zeropage.org/~neocoin/data/MoreEffectiveC++_188_1.gif
  • MoreEffectiveC++/Techniques1of3 . . . . 254 matches
         private:
         http://zeropage.org/~neocoin/data/MoreEffectiveC++_124_1.gif
         private:
          static NLComponent * readComponent(istream& str);
         private:
          for (list<NLComponent*>::constiterator it = rhs.components.begin();
         생성자는 실제로 가상 함수가 될수 없다. 마찬가지로 비멤버 함수들 역시 마찬가지 이리라, 하지만 그러한 기능이 필요할 떄가 있다. 바로 앞 예제에서 NLComponent와 그것에서 유도된 클래스들을 예를 들어 보자면 이들을 operator<<으로 출력을 필요로 할때 이리라. 뭐 다음과 같이 하면 문제 없다.
          // operator<<의 가상 함수
          virtual ostream& operator<<(ostream& str) const = 0;
          virtual ostream& operator<<(ostream& str) const;
          virtual ostream& operator<<(ostream& str) const;
         ostream& operator<<(ostream& s, const NLComponent& c)
         객체들이 생성될때 꼭 하는 일이 있다. 바로 생성자를 부르는 일이다. 하지만 이걸 막을수 있는 방법이 있을까? 가상 쥐운 방법은 생성자를 private(사역)인자로 묶어 버리는 것이다. 다음을 보자
         class CantBeInstantiated {
         private:
          CantBeInstantiated();
          CantBeInstantiated(const CantBeInstantiated&);
         자 이렇게 하면 생성자가 private상태라서 외부에서 생성자를 부를수 없기 때문에, 외부에서 객체를 생성할수 없다. 이런 아이디어를 바탕으로 생성 자체에 제한을 가해 버리는 것이다. 그럼 처음에 말한 프린터의 예제를 위의 아이디어를 구현해 보자.
         private:
          static Printer p; // 단일의 Printer 객체(the single printer object)
  • AcceleratedC++/Chapter11 . . . . 250 matches
         || ["AcceleratedC++/Chapter10"] || ["AcceleratedC++/Chapter12"] ||
         = Chapter 11 Defining abstract data types =
         vector<Student_info>::const_iterator b, e;
          여기서는 '''template class'''를 이용한다.
         template <class T> class Vec {
         private:
          //implementation
         template <class T> class Vec {
         private:
          T* data; // 첫번째 요소
          따라서 어떤 타입이 Vec에서 사용되는진는 정의부가 instiation 되기 전에는 알 수 없다.
         template <class T> class Vec {
          Vec() { create(); } // 아직으로선느 구현부분에서 정해진 것이 없기 때문에 임시적으로 함수를 만들어서 넣었다.
          explicit Vec(size_type n, const T& val = T()) { create(n, val); }
         private:
          T* data; // 첫번째 요소
          '''const_iterator, iterator'''를 정의해야함.
         template <class T> class Vec {
          typedef T* iterator;
          typedef const T* const_iterator;
  • EffectiveC++ . . . . 249 matches
          #define ASPECT_RATIO 1.653
         ASPECT_RATIO는 소스코드가 컴파일로 들어가기 전에 전처리기에 의해 제거된다.[[BR]]
         define 된 ASPECT_RATIO 란 상수는 1.653으로 변경되기때문에 컴파일러는 ASPECT_RATIO 란것이 있다는 것을 모르고 symbol table 에?들어가지 않는다. 이는 debugging을 할때 문제가 발생할 수 있다. -인택
          const double ASPECT_RATIO = 1.653
          그 상수에 대한 단 한개의 복사본이 있다는 것을 확신하기 위해서 static으로
          private:
          static const int NUM_TURNS = 5; // 상수 선언! (선언만 한것임)
          // template으로
          template class<T>
          * ''Initialization of the pointer in each of the constructors. If no memory is to be allocated to the pointer in a particular constructor, the pointer should be initialized to 0 (i.e., the null pointer). - 생성자 각각에서 포인터 초기화''
          * ''Deletion of the existing memory and assignment of new memory in the assignment operator. - 포인터 멤버에 다시 메모리를 할당할 경우 기존의 메모리 해제와 새로운 메모리의 할당''
          cerr << "Unable to satisfy request for memory\n";
          int *pVigdataArray = new int [100000000]; // 100000000개의 정수공간을 할당할 수 없다면 noMoreMemory가 호출.
         그리고, class내 에서 operator new와 set_new_handler를 정해 줌으로써 해당 class만의 독특(?)한 [[BR]]
          static new_handler set_new_handler(new_handler p);
          static void * operator new(size_t size);
         private:
          static new_handler currentHandler;
         void * X::operator new(size_t size)
          try { // attempt
  • MoreEffectiveC++/Efficiency . . . . 243 matches
         80-20 규칙은 수많은 기계에서, 운영체제(Operating System)에서, 그리고 어플리케이션에서 적용된다. 80-20 규칙은 단지 재미있는 표현보다 더 많은 의미가 있다.;그것은 광범위하고, 실질적인 개념이 필요한 시스템의 성능(능률)에 개선 대한 기준점을 제시한다.
         몇번이나 구문이 실행되는가, 함수가 실행되는가는 때때로 당신의 소프트웨어 안의 모습을 이야기 해준다. 예를들어 만약 당신이특별한 형태의 객체를 수백개를 만든다고 하면, 생성자의 횟수를 세는것도 충분히 값어치 있는 일일 것이다. 게다가 구문과, 함수가 불리는 숫자는 당신에게 직접적인 해결책은 제시 못하겠지만, 소프트웨어의 한면을 이해하는데 도움을 줄것이다. 예를들어서 만약 당신은 동적 메모리 사용을 해결하기 위한 방법을 찾지 못한다면 최소한 몇번의 메모리 할당과 해제 함수가 불리는것을 아게되는것은 유용한 도움을 줄지도 모른다. (e.g., operators new, new[], delete and delete[] - Item 8참고)
         == Item 17:Consider using lazy evaluation ==
          * Item 17:lazy evaluation의 쓰임에 대하여 생각해 보자.
         DeleteMe ) lazy evaluation이나 여러 용어가 마땅한 한글말이 없어서 이후 영문을 직접 쓴다. 전반적인 내용이 의미 설명을 하다. --상민
         이런 같은 관점을 이제 막 5년차 C++프로그래머에 대입 시켜본다. 컴퓨터 과학에서, 우리는 그러한 뒤로 미루기를 바로 ''''lazy evaluation''''(구지 해석하면 '''필요시 연산, (최)후 연산, 늦은 연산'''정도라 할수 있겠다.)이라고 말한다. 당신이 lazy evaluation을 사용하면 당신의 클래스들이 최종적으로 원하는 결과가 나올 시간까지 지연되는 그런 상태로 코딩을 해야 한다. 만약 결과값을 결국에는 요구하지 않는다면, 계산은 결코 수행되지 않아야 한다. 그리고 당신의 소프트웨어의 클라이언트들과 당신의 부모님은 더 현명하지 않아야 한다.( 무슨 소리냐 하면, 위의 방치우기 이야기 처럼 부모님이나 클라이언트들이 lazy evaluation기법의 일처리로 해결을 하지 않아도 작업에 대한 신경을 안써야 한다는 소리 )
         아마 당신은 내가 한 이야기들에 대하여 의문스로운 점이 있을것이다. 아마 다음의 예제들이 도움을 줄것이다. 자!, lazy evaluation은 어플리케이션 상에서 수많은 변화에 적용할수 있다. 그래서 다음과 같이 4가지를 제시한다.
         String 복사 생성자의 적용시, s2는 s1에 의하여 초기화 되어서 s1과 s2는 각각 "Hello"를 가지게된다. 그런 복사 생성자는 많은 비용 소모에 관계되어 있는데, 왜냐하면, s1의 값을 s1로 복사하면서 보통 heap 메모리 할당을 위해 new operator(Item 8참고)를 s1의 데이터를 s2로 복사하기 위해 strcpy를 호출하는 과정이 수행되기 때문이다. 이것은 ''''eager evaluation''''(구지 해석하면 '''즉시 연산''' 정도 일것이다.) 개념의 적용이다.:s1의 복사를 수행 하는 것과, s2에 그 데이터를 집어넣는 과정, 이유는 String의 복사 생성자가 호출되기 때문이다. 하지만 여기에는 s2가 쓰여진적이 없이 새로 생성되는 것이기 때문에 실제로 s2에 관해서 저런 일련의 복사와, 이동의 연산의 필요성이 없다.
         값의 공유에 관하여 좀더 자세하게 이 문제에 논의를 제공할 부분은 Item 29(모든 코드가 들어있다.)에 있다. 하지만 그 생각 역시 lazy evaluation이다.:결코 당신이 정말로 어떤것을 필요하기 전까지는 그것의 사본을 만드는 작업을 하지 않것. 일단 그보다 lazy 해져봐라.- 어떤이가 당신이 그것을 제거하기 전까지 같은 자원을 실컷 사용하는것. 몇몇 어플리케이션의 영역에서 당신은 종종 저러한 비합리적 복사의 과정을 영원히 제거해 버릴수 있을 것이다.
         reference-counting 을 토대로한 문자열의 구현 예제를 조금만 생각해 보면 곧 lazy evaluation의 방법중 우리를 돕는 두번째의 것을 만나게 된다. 다음 코드를 생각해 보자
          cout << s[3]; // operator []를 호출해서 s[3]을 읽는다.(read)
          s[3] = 'x'; // operator []를 호출해서 s[3]에 쓴다.(write)
         첫번째 operator[]는 문자열을 읽는 부분이다,하지만 두번째 operator[]는 쓰기를 수행하는 기능을 호출하는 부분이다. 여기에서 '''읽기와 쓰기를 구분'''할수 있어야 한다.(distinguish the read all from the write) 왜냐하면 읽기는 refernce-counting 구현 문자열로서 자원(실행시간 역시) 지불 비용이 낮고, 아마 저렇게 스트링의 쓰기는 새로운 복사본을 만들기 위해서 쓰기에 앞서 문자열 값을 조각내어야 하는 작업이 필요할 것이다.
         이것은 우리에게 적용 관점에서 상당히 난제이다. 우리가 원하는 것에 이르기 위하여 operator[] 안쪽에 각기 다른 작업을 하는 코드가 필요하다.(읽기와 쓰기에 따라서 따로 작동해야 한다.) 어떻게 우리는 operator[]가 읽기에 불리는지 쓰기에 불리는지 결정할수 있을까? 이런 잔인한 사실은 우리를 난감하게 한다. lazy evaluation의 사용과 Item 30에 언급된 proxy 클래스(위임 클래스, DP에서의 역할과 비슷할것이라 예상) 는 우리가 수정을 위하여 읽기나 쓰기 행동을 하는지의 결정을 연기하게 한다.
         lazy evaluation에서 다룰 세번째의 주제로, 당신이 많은 필드로 이루어진 큰 객체들을 사용하는 프로그램을 가지고 있다고 상상해 봐라. 그런 객체들은 반드시 프로그램이 실행때 유지되며, 나중에는 데이터 베이스 안에 저장된어진다. 각각의 객체는 각 객체를 알아볼수 있고, 유일성을 보장하는 데이터 베이스로 부터 객체를 불러올때 종류를 알아 볼수 있는, 식별자(identifier)를 가지고 있다.(OODB 인가.) :
          private:
          private:
          * Lazy Expression Evaluation ( 표현을 위한 게으른 연산 )
         lazy evaluation이 가지고 오는 마지막 예제로는 바로 숫치 연산 어플리케이션들이 문제를 가지고 왔다. 다음을 코드를 보자
          template<class T>
  • 경시대회준비반/BigInteger . . . . 238 matches
         * and its documentation for any purpose is hereby granted without fee,
         * provided that the above copyright notice appear in all copies and
         * that both that copyright notice and this permission notice appear
         * in supporting documentation. Mahbub Murshed Suman makes no
         * representations about the suitability of this software for any
         #include <cmath>
         namespace BigMath
          enum BigMathERROR { BigMathMEM = 1 , BigMathOVERFLOW , BigMathUNDERFLOW, BigMathINVALIDINTEGER, BigMathDIVIDEBYZERO,BigMathDomain};
          const char *BigIntErrDes[] = { "Allocation Failed", "Overflow","Underflow", "Invalid Integer", "Divide by Zero" ,"Domain Error"};
          void Dump(const char *,enum BigMathERROR);
          string& DumpString (char const*,enum BigMathERROR);
          // The Data Type
          typedef unsigned int DATATYPE;
          const DATATYPE BASE = 10000;
          // An invalid data
          const DATATYPE INVALIDDATA = 65535U;
          private:
          DATATYPE *TheNumber;
          // Start of the location of the number in the array
          // End of the location of the number in the array
  • [Lovely]boy^_^/3DLibrary . . . . 227 matches
         #include <cmath>
         const float PI = (float)(atan(1.0) * 4.0);
         float GetRadian(float Angle);
         class Matrix
         private:
          vector< vector<float> > _mat;
          Matrix();
          Matrix(int nRow, int nCol);
          Matrix(const Matrix& m);
          Matrix(float n1, float n2, float n3, float n4, float n5, float n6, float n7, float n8,
          float n9, float n10, float n11, float n12, float n13, float n14, float n15, float n16);
          Matrix operator + (const Matrix& m) const;
          Matrix operator - (const Matrix& m) const;
          Matrix operator - () const;
          Matrix operator * (const Matrix& m) const;
          Vector operator * (const Vector& v) const;
          Matrix operator * (float n) const;
          static Matrix GetRotationX (float Angle);
          static Matrix GetRotationY (float Angle);
          static Matrix GetRotationZ (float Angle);
  • 데블스캠프2013/셋째날/머신러닝 . . . . 214 matches
          public int category;
          static void Main(string[] args)
          StreamReader reader = new StreamReader(@"C:\ZPDC2013\train_data11293x8165");
          if (temp1[i] == "1") sampleNews[count].category = i;
          reader = new StreamReader(@"C:\ZPDC2013\test_data7528x8165");
          testNews[i].category = sampleNews[idx].category;
          Console.WriteLine("{0} : {1}", i, testNews[i].category);
          Console.WriteLine(testNews[i].category);
         def compare(firstData, secondData):
          firstDataList = [int(i) for i in firstData.split(',')];
          secondDataList = [int(i) for i in secondData.split(',')];
          for i in range(len(firstDataList)):
          diffSum += abs(firstDataList[i] - secondDataList[i]);
         trainData = open('DataSet/train_data11293x8165').readlines();
         trainClass = open('DataSet/train_class11293x20').readlines();
         testData = open('DataSet/test_data7528x8165').readlines();
         print 'load DataSet finished'
         for i in range(len(testData)):
          for j in range(len(trainData)):
          diffValue = compare(testData[i], trainData[j]);
  • 신기호/중대생rpg(ver1.0) . . . . 195 matches
         #define FILE_NAME "csave.dat"
          int att;
          int base_att;
          int att;
         FILE *state;
         void battle();
         void setStat();
         bool loadGame(FILE *state){
          state=fopen(FILE_NAME,"r");
          if(state==NULL){
          fscanf(state,"%s",buff);
          fscanf(state,"%d",&Main.level);
          fscanf(state,"%d",&Main.base_hp);
          fscanf(state,"%d",&Main.hp);
          else if(strcmp(buff,"base_att:")==0)
          fscanf(state,"%d",&Main.base_att);
          fscanf(state,"%d",&Main.base_def);
          fscanf(state,"%c",&tmp);
          fscanf(state,"%c",&tmp);
          fscanf(state,"%d",&Main.townNum);
  • ScheduledWalk/석천 . . . . 193 matches
          OutputBoardStatus();
         void OutputBoardStatus() {
         void OutputBoardStatus();
          OutputBoardStatus();
         void OutputBoardStatus() {
         === Version 0.4 - Implementation : Input ===
         Input 부분 Implementation 1차 완료된 모습은 이러했습니다.
         typedef struct __InputDataStructure {
         } InputData;
         InputData Input();
          InputData inputData;
          inputData = Input();
          printf ("Board Size value : %d, %d \n", inputData.boardSize.n1, inputData.boardSize.n2);
          printf ("Start Position value : %d, %d \n", inputData.roachPosition.n1, inputData.roachPosition.n2);
          printf ("Journey : %s \n", inputData.journey);
         InputData Input() {
          InputData inputData;
          inputData.boardSize = InputBoardSize();
          inputData.roachPosition = InputStartRoachPosition();
          InputRoachJourney(inputData.journey);
  • VonNeumannAirport/1002 . . . . 186 matches
         configuration 1,1 로 셋팅
          Configuration* conf = new Configuration (1,1);
         class Configuration {
          Configuration (int startCity, int endCity) {
          Configuration* conf = new Configuration (1,1);
          int dataset [3][3] = {{1,1,1}, {1,1,1}, {1,1,100}};
          Configuration* conf = new Configuration (1,1);
          conf->movePeople(dataset[i][0],dataset[i][1],dataset[i][2]);
         configuration 1,1 로 셋팅
         configuration {1,2},{1,2} 로 셋팅
          Configuration* conf = new Configuration (arrivalCitys, departureCitys);
          Configuration* conf = new Configuration (arrivalCitys, departureCitys);
         --------------------Configuration: AirportSec - Win32 Debug--------------------
         C:\User\reset\AirportSec\main.cpp(57) : error C2664: '__thiscall Configuration::Configuration(int,int)' : cannot convert parameter 1 from 'class std::vector<int,class std::allocator<int> >' to 'int'
          No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
          Configuration (vector<int> startCity, vector<int> endCity) {
          int dataset [3][3] = {{1,1,1}, {1,1,1}, {1,1,100}};
          vector<int> depatureCitys;
          depatureCitys.push_back(1);
          Configuration* conf = new Configuration (arrivalCitys,depatureCitys);
  • MoreEffectiveC++/Exception . . . . 176 matches
          void processAdoptions( istream& dataSource)
          while (dataSource) {
          ALA *pa = readALA(dataSource);
         pa에 해당하는 processAdoption()은 오류시에 exception을 던진다. 하지만, exception시에 해당 코드가 멈춘다면 "delete pa;"가 수행되지 않아서 결국 자원이 새는 효과가 있겠지 그렇다면 다음과 같이 일단 예외 처리를 한다. 물론 해당 함수에서 propagate해주어 함수 자체에서도 예외를 발생 시킨다.
          void processAdoptions( istream& dataSource)
          while (dataSource) {
          ALA *pa = readALA(dataSource);
          catch ( ... ) {
         방법은 올바르다. 예외시에 해당 객체를 지워 버리는것, 그리고 이건 우리가 배운 try-catch-throw를 충실히 사용한 것이다. 하지만.. 복잡하지 않은가? 해당 코드는 말그대로 펼쳐진다.(영서의 표현) 그리고 코드의 가독성도 떨어지며, 차후 관리 차원에서 추가 코드의 발생시에도 어느 영역에 보강할것 인가에 관하여 문제시 된다.
         여기에서 재미있는 기법을 이야기 해본다. 차차 소개될 smart pointer와 더불어 Standard C++ 라이브러리에 포함되어 있는 auto_ptr template 클래스를 이용한 해결책인데 auto_prt은 이렇게 생겼다.
          template<class T>
          private:
          void processAdoptions(istream& dataSource)
          while (dataSource){
          auto_ptr<ALA> pa(readALA(dataSource));
          void displayIntoInfo(const Information& info)
          WINDOW_HANDLE w(createWindow());
         일반적으로 C의 개념으로 짜여진 프로그램들은 createWindow and destroyWindow와 같이 관리한다. 그렇지만 이것 역시 destroyWindow(w)에 도달전에 예외 발생시 자원이 세는 경우가 생긴다. 그렇다면 다음과 같이 바꾸어서 해본다.
          operator WINDOW_HANDLE() {return w;}
          private:
  • MoniWikiPo . . . . 174 matches
         #format po
         # Copyright (C) 2003-2006 Free Software Foundation, Inc.
         "POT-Creation-Date: 2006-01-10 19:47+0900\n"
         "PO-Revision-Date: 2003-04-29 19:00+0900\n"
         "Last-Translator: Won-kyu Park <wkpark@kldp.org>\n"
         #: ../plugin/Attachment.php:41 ../plugin/Attachment.php:121
         #, c-format
         msgid "Upload new Attachment \"%s\""
         #: ../plugin/Attachment.php:124
         #, c-format
         msgid "Upload new Attachment \"%s\" on the \"%s\""
         msgid "BabelFish Translation"
         #, c-format
         msgid "Translate %s to %s"
         #, c-format
         #, c-format
         msgid "\"%s\" is updated"
         #, c-format
         #, c-format
         #, c-format
  • MoreEffectiveC++/Appendix . . . . 162 matches
         So your appetite for information on C++ remains unsated. Fear not, there's more — much more. In the sections that follow, I put forth my recommendations for further reading on C++. It goes without saying that such recommendations are both subjective and selective, but in view of the litigious age in which we live, it's probably a good idea to say it anyway. ¤ MEC++ Rec Reading, P2
         There are hundreds — possibly thousands — of books on C++, and new contenders join the fray with great frequency. I haven't seen all these books, much less read them, but my experience has been that while some books are very good, some of them, well, some of them aren't. ¤ MEC++ Rec Reading, P4
         What follows is the list of books I find myself consulting when I have questions about software development in C++. Other good books are available, I'm sure, but these are the ones I use, the ones I can truly recommend. ¤ MEC++ Rec Reading, P5
         A good place to begin is with the books that describe the language itself. Unless you are crucially dependent on the nuances of the °official standards documents, I suggest you do, too. ¤ MEC++ Rec Reading, P6
          * '''''The Annotated C++ Reference Manual''''', Margaret A. Ellis and Bjarne Stroustrup, Addison-Wesley, 1990, ISBN 0-201-51459-1. ¤ MEC++ Rec Reading, P7
         These books contain not just a description of what's in the language, they also explain the rationale behind the design decisions — something you won't find in the official standard documents. The Annotated C++ Reference Manual is now incomplete (several language features have been added since it was published — see Item 35) and is in some cases out of date, but it is still the best reference for the core parts of the language, including templates and exceptions. The Design and Evolution of C++ covers most of what's missing in The Annotated C++ Reference Manual; the only thing it lacks is a discussion of the Standard Template Library (again, see Item 35). These books are not tutorials, they're references, but you can't truly understand C++ unless you understand the material in these books
         Stroustrup has been intimately involved in the language's design, implementation, application, and standardization since its inception, and he probably knows more about it than anybody else does. His descriptions of language features make for dense reading, but that's primarily because they contain so much information. The chapters on the standard C++ library provide a good introduction to this crucial aspect of modern C++. ¤ MEC++ Rec Reading, P12
         That book is organized similarly to this one, but it covers different (arguably more fundamental) material. ¤ MEC++ Rec Reading, P15
         A book pitched at roughly the same level as my Effective C++ books, but covering different topics, is ¤ MEC++ Rec Reading, P16
          * '''''C++ Strategies and Tactics''''', Robert Murray, Addison-Wesley, 1993, ISBN 0-201-56382-7. ¤ MEC++ Rec Reading, P17
         Murray's book is especially strong on the fundamentals of template design, a topic to which he devotes two chapters. He also includes a chapter on the important topic of migrating from C development to C++ development. Much of my discussion on reference counting (see Item 29) is based on the ideas in C++ Strategies and Tactics.
         Each chapter in this book starts with some C++ software that has been published as an example of how to do something correctly. Cargill then proceeds to dissect — nay, vivisect — each program, identifying likely trouble spots, poor design choices, brittle implementation decisions, and things that are just plain wrong. He then iteratively rewrites each example to eliminate the weaknesses, and by the time he's done, he's produced code that is more robust, more maintainable, more efficient, and more portable, and it still fulfills the original problem specification. Anybody programming in C++ would do well to heed the lessons of this book, but it is especially important for those involved in code inspections. ¤ MEC++ Rec Reading, P21
         One topic Cargill does not discuss in C++ Programming Style is exceptions. He turns his critical eye to this language feature in the following article, however, which demonstrates why writing exception-safe code is more difficult than most programmers realize: ¤ MEC++ Rec Reading, P22
         If you are contemplating the use of exceptions, read this article before you proceed. ¤ MEC++ Rec Reading, P24
         I generally refer to this as "the LSD book," because it's purple and it will expand your mind. Coplien covers some straightforward material, but his focus is really on showing you how to do things in C++ you're not supposed to be able to do. You want to construct objects on top of one another? He shows you how. You want to bypass strong typing? He gives you a way. You want to add data and functions to classes as your programs are running? He explains how to do it. Most of the time, you'll want to steer clear of the techniques he describes, but sometimes they provide just the solution you need for a tricky problem you're facing. Furthermore, it's illuminating just to see what kinds of things can be done with C++. This book may frighten you, it may dazzle you, but when you've read it, you'll never look at C++ the same way again. ¤ MEC++ Rec Reading, P27
         If you have anything to do with the design and implementation of C++ libraries, you would be foolhardy to overlook ¤ MEC++ Rec Reading, P28
         Carroll and Ellis discuss many practical aspects of library design and implementation that are simply ignored by everybody else. Good libraries are small, fast, extensible, easily upgraded, graceful during template instantiation, powerful, and robust. It is not possible to optimize for each of these attributes, so one must make trade-offs that improve some aspects of a library at the expense of others. Designing and Coding Reusable C++ examines these trade-offs and offers down-to-earth advice on how to go about making them. ¤ MEC++ Rec Reading, P30
         Regardless of whether you write software for scientific and engineering applications, you owe yourself a look at ¤ MEC++ Rec Reading, P31
         The first part of the book explains C++ for FORTRAN programmers (now there's an unenviable task), but the latter parts cover techniques that are relevant in virtually any domain. The extensive material on templates is close to revolutionary; it's probably the most advanced that's currently available, and I suspect that when you've seen the miracles these authors perform with templates, you'll never again think of them as little more than souped-up macros. ¤ MEC++ Rec Reading, P33
         Finally, the emerging discipline of patterns in object-oriented software development (see page 123) is described in ¤ MEC++ Rec Reading, P34
  • Gof/FactoryMethod . . . . 151 matches
         == Motivation : 동기 ==
         여러 문서를 사용자에게 보여줄수 있는 어플리케이션에 대한 Framework에 대하여 생각해 보자. 이러한 Framework에서 두가지의 추상화에 대한 요점은, Application과 Document클래스 일것이다. 이 두 클래스다 추상적이고, 클라이언트는 그들의 Application에 알맞게 명세 사항을 구현해야 한다. 예를들어서 Drawing Application을 만들려면 우리는 DrawingApplication 과 DrawingDocument 클래스를 구현해야 한다. Application클래스는 Document 클래스를 관리한다. 그리고 사용자가 Open이나 New를 메뉴에서 선택하였을때 이들을 생성한다.
         Application(클래스가 아님)만들때 요구되는 특별한 Document에 대한 Sub 클래스 구현때문에, Application 클래스는 Doment의 Sub 클래스에 대한 내용을 예측할수가 없다. Application 클래스는 오직 새로운 ''종류'' Document가 만들어 질때가 아니라, 새로운 Document 클래스가 만들어 질때만 이를 다룰수 있는 것이다. 이런 생성은 딜레마이다.:Framework는 반드시 클래스에 관해서 명시해야 되지만, 실제의 쓰임을 표현할수 없고 오직 추상화된 내용 밖에 다를수 없다.
         Application의 Sub 클래스는 Application상에서 추상적인 CreateDocument 수행을 재정의 하고, Document sub클래스에게 접근할수 있게 한다. Aplication의 sub클래스는 한번 구현된다. 그런 다음 그것은 Application에 알맞은 Document에 대하여 그들에 클래스가 특별히 알 필요 없이 구현할수 있다. 우리는 CreateDocument를 호출한다. 왜냐하면 객체의 생성에 대하여 관여하기 위해서 이다.
         Fatory Method 패턴은 이럴때 사용한다.
          * Creator (Application)
          * Procunt 형의 객체를 반환하는 Factory Method를 선언한다. Creator는 또한 기본 ConcreteProduct객체를 반환하는 factory method에 관한 기본 구현도 정의되어 있다.
          * ConcreteCreator (MyApplication)
         == Collaborations : 협력 ==
         Creator는 factor method가 정의되어 있는 Creator의 sub클래스에게 의지한다 그래서 Creator는 CooncreteProduct에 적합한 인스턴스들을 반환한다.
         Factory method는 당신의 코드에서 만들어야한 Application이 요구하는 클래스에 대한 기능과 Framework가 묶여야할 필요성을 제거한다. 그 코드는 오직 Product의 인터페이스 만을 정의한다.; 그래서 어떠한 ConcreteProduct의 클래스라도 정의할수 있게 하여 준다.
         factory method의 잠재적인 단점이라고 한다면 클라이언트가 아마도 단지 특별한 ConcreteProduct객체를 만들기위해서 Creator클래스의 sub클래스를 가지고 있어야 한다는 것일꺼다. 클라이언트가 어떤 식으로든 Creator의 sub클래스를 만들때의, sub클래스를 만드는 것자체는 좋다. 하지만 클라이언트는 이런것에 신경쓸 필요없이 로직 구현에 신경을 써야 한다.
         A potential disadvantage of factory methods is that clients might have to subclass the Creator class just to create a particular ConcreteProduct object. Subclassing is fine when the client has to subclass the Creator class anyway, but otherwise the client now must deal with another point of evolution.
         Here are two additional consequences of the Factory Method pattern:
          Ducument에제에서 Document클래스는 factory method에 해당하는, 자료를 열람하기 위한 기본 파일 다이얼로그를 생성하는 CreateFileDialog이 호출을 정의할수 있다. 그리고 Document sub클래스는 이러한 factory method를 오버 라이딩해서 만들고자 하는 application에 특화된 파일 다이얼로그를 정의할수 있다. 이러한 경우에 factory method는 추상적이지 않다. 하지만 올바른 기본 구현을 제공한다.
          2. ''클래스 상속 관게에 수평적인(병렬적인) 연결 제공''(''Connects parallel class hierarchies.'') 여태까지 factory method는 오직 Creator에서만 불리는걸 생각해 왔다. 그렇지만 이번에는 그러한 경우를 따지는 것이 아니다.; 클라이언트는 수평적(병렬적)인 클래스간 상속 관계에서 factory method의 유용함을 찾을수 있다.
          이러한 제한에서는 모양에따라, 각 상테에 따라 객체를 분리하는 것이 더 좋을 것이고, 각자 필요로하는 상태를 유지 해야한다. 서로 다른 모양은 서로다른 Manipulator의 sub클래스를 사용해서 움직여야 한다.이러한 Manipulator클래스와 상속은 병렬적으로 이루어 진다. 다음과 같은 모양 같이 말이다.
         Figure클래스는 CreateManipulator라는, 서로 작용하는 객체를 생성해 주는 factory method이다. Figure의 sub클래스는 이 메소드를 오버라이드(override)해서 그들에게 알맞는 Manipulator sub클래스의 인스턴스를 (만들어, )반환한다. Figure 클래스는 아마도 기본 Manipulator인스턴스를 (만들어,) 반한하기 위한 기본 CreateManipulator를 구현했을 것이다. 그리고 Figure의 sub클래스는 간단히 이러한 기본값들을 상속하였다. Figure클래스 들은 자신과 관계없는 Manipulator들에 대하여 신경 쓸필요가 없다. 그러므로 이들의 관계는 병렬적이 된다.
         == Implementation : 구현, 적용 ==
          1. 두가지의 커다란 변수. Factory Method 패턴에서 두가지의 중요한 변수는 '''첫번째''' Creator 클래스가 가상 클래스이고, 그것의 선언을 하지만 구현이 안될때의 경이 '''두번째'''로 Creator가 concrete 클래스이고, factor method를 위한 기본 구현을 제공해야 하는 경우. 기본 구현이 정의되어 있는 가상 클래스를 가지는건 가능하지만 이건 일반적이지 못하다.
  • MoreEffectiveC++/Miscellany . . . . 148 matches
         원문:As software developers, we may not know much, but we do know that things will change. We don't necessarily know what will change, how the changes will be brought about, when the changes will occur, or why they will take place, but we do know this: things will change.
         이런 좋은 소프트웨어를 만들기 위한 방법으로, 주석이나, 기타 다른 문서 대신에 C++ 내부에 디자인으로 구속해 버리는 것이다. 예를들자면 '''만약 클래스가 결코 다른 클래스로 유도되지를 원치 않을때''', 단시 주석을 헤더 파일에 넣는 것이 아니라, 유도를 방지하기 위하여 C++의 문법을 이용한 기술로 구속 시킨다.;이에 대한 방법은 '''Item 26'''에 언급되었다. 만약 클래스가 '''모든 인스턴스를 Heap영역에 생성시키고자 할때''', 클라이언트에게 말(문서)로 전달하는 것이 아니라. '''Item 27'''과 같은 접근으로 제한 시켜 버릴 수 있다. 만약 클래스에 대하여 복사와 할당을 막을려고 할때는, 복사 생성자와 할당(assignment) 연산자를 사역(private)으로 만들어 버려라. C++은 훌륭한 힘과, 유연성, 표현성을 제공한다. 이러한 언어의 특징들을 당신의 프로그래밍에서 디자인의 정책을 위해서 사용하라.
         "변화한다.", 험난한 소프트웨어의 발전에 잘 견디는 클래스를 작성하라. (원문:Given that things will change, writeclasses that can withstand the rough-and-tumble world of software evolution.) "demand-paged"의 가상 함수를 피하라. 다른 이가 만들어 놓지 않으면, 너도 만들 방법이 없는 그런 경우를 피하라.(모호, 원문:Avoid "demand-paged" virtual functions, whereby you make no functions virtual unless somebody comes along and demands that you do it) 대신에 함수의 ''meaning''을 결정하고, 유도된 클래스에서 새롭게 정의할 것인지 판단하라. 그렇게 되면, 가상(virtual)으로 선언해라, 어떤 이라도 재정의 못할지라도 말이다. 그렇지 않다면, 비가상(nonvirtual)으로 선언해라, 그리고 차후에 그것을 바꾸어라 왜냐하면 그것은 다른사람을 편하게 하기 때문이다.;전체 클래스의 목적에서 변화를 유지하는지 확신을 해라.
         모든 클래스에서 할당(assignment), 복사를 잡아라. "비록 아무것도 하지 않는 것"이라도 말이다. 왜냐하면 그것들이 지금 할수 없는건 미래에도 할수 없다는 의미이다. 만약 이러한 함수들이 구현하기에 어렵게 한다면, 그것을 private로 선언하라. 미래에도 동작시키게 하지 않다는 의미다. 컴파얼러가 만들어내는 함수에 대한 모호한 호출을 할리가 없다. (기본 할당 생성자나 기본 복사 생성자가 종종 발생되는 것처럼)
         당신의 코드를 변화가 필요할때, 그 효과를 지역화(지역화:localized) 시키도록 디자인 해라. 가능한한 캡슐화 하여라:구체적인 구현은 private 하라. 광범위하게 적용해야 할곳이 있다면 이름없는(unamed) namespace나, file-static객체 나 함수(Item 31참고)를 사용하라. 가상 기초 클래스가 주도하는 디자인은 피하라. 왜냐하면 그러한 클래스는 그들로 부터 유도된 모든 클래스가 초기화 해야만 한다. - 그들이 직접적으로 유도되지 않은 경우도(Item 4참고) if-than-else을 개단식으로 사용한 RTTI 기반의 디자인을 피하라.(Item 31참고) 항상 클래스의 계층은 변화한다. 각 코드들은 업데이트 되어야만 한다. 그리고 만약 하나를 읽어 버린다면, 당신의 컴파일러로 부터 아무런 warning를 받을수 없을 것이다.
         물론, 필요하다면 현재 감안하는 생각으로 접근한다. 당신이 개발중인 소프트웨어는 현재의 컴파일러에서 동작해야만 한다.;당신은 최신의 언어가 해당 기능을 구현할때까지 기다리지 못한다. 당신의 현재 가지고 있는 언어에서 동작해야 하고. 그래서 당신의 클라이언트에서 사용 가능해야 한다.;당신의 고객에게 그들의 시스템을 업그레이드 하거나, 수행 환경을(operating environment) 바꾸게 하지는 못할것이다. 그건은 '''지금''' 수행함을 보증해야 한다.;좀더 작은, 좀더 빠른 프로그램에 대한 약속은 라이프 사이클을 줄이고, 고객에게 기대감을 부풀릴 것이다. 그리고 당신이 만드는 프로그램은 '''곧''' 작동해야만 한다. 이는 종종 "최신의 과거"를 만들어 버린다. 이는 중요한 속박이다. 당신은 이를 무시할수 없다.
         http://zeropage.org/~neocoin/data/MoreEffectiveC++_258_1.gif
          Animal& operator=(const Animal& rhs);
          Lizard& operator=(const Lizard& rhs);
          Chicken& operator=(const Chicken& rhs);
         문제에 대한 한가지 접근으로 할당(assignment)연산자를 가상(virtual)로 선언하는 방법이 있다. 만약 Animal::operator= 가 가상(virtual)이면, 위의 경우에 할당 연산자는 정확한 Lizard 할당 연산자를 호출하려고 시도할 것이다. 그렇지만 만약 우리가 가상으로 할당 연산자를 선언했을때 다음을 봐라.
          virtual Animal& operator=(const Animal& rhs);
          virtual Lizard& operator=(const Animal& rhs);
          virtual Chicken& operator= (const Animal& rhs);
         이러한 경우에 형을 가리는 것은 오직 실행 시간 중에 할수 있다. 왜냐하면 어떤때는, *pAnimal2를 *pAnimal1에 유효한 할당임을 알아 내야하고, 어떤때는 아닌걸 증명해야 하기 때문이다. 그래서 우리는 형 기반(type-based)의 실행 시간 에러의 거친 세계로 들어가게 된다. 특별하게, 만약 mixed-type 할당을 만나면, operator= 내부에 에러 하나를 발생하는 것이 필요하다. 그렇지만 만약 type이 같으면 우리는 일반적인 생각에 따라서 할당을 수행하기를 원한다.
         Lizard& Lizard::operator=(const Animal& rhs)
          virtual Lizard& operator=(const Animal& rhs);
          Lizard& operator=(const Lizard& rhs); // 더한 부분
         liz1 = liz2; // const Lizard&를 인자로 하는 operator= 호출
         *pAnimal1 = *pAnimal2; // const Ainmal&인자로 가지는 operator= 연산자 호출
  • BusSimulation/조현태 . . . . 146 matches
         station::station(int input_station_number, char *input_name, int input_percent, int input_size )
          station_size=input_size;
          station_number=input_station_number;
          humans=new man*[station_size];
          for (register int i=0; i<station_size; ++i)
         station::~station()
          for (register int i=0; i<station_size; ++i)
         void station::make_people(int numbers_station)
          if (station_size!=number_man && numbers_station!=station_number+1)
          humans[number_man]=new man(station_number,station_number+rand()%(numbers_station-station_number-1)+1);
         man* station::out_people()
         int station::where_here()
          return station_number;
         void station::act(int numbers_station)
          make_people(numbers_station);
          int in_station=0;
          temp_where=in_road->car_move(&in_station, speed, where);
          if (1==in_station)
          state=STOP;
         void bus::stop(station *in_station, road* in_road)
  • AseParserByJhs . . . . 135 matches
         #define NUM_TEXTURE "*MATERIAL_COUNT"
         #define TEXTURE_ID "*MATERIAL_REF"
         #define OBJECT_ANI "*TM_ANIMATION"
          int vertIndex[3]; // indicies for the verts that make up this triangle
         // texture information for the model
          static StlLink s_RootList;
          static StlLink s_AllList;
          // static member
          static vec_t GetFloatVal (FILE *s); // 파일에서 Float형 값을 하나 읽는다.
          static bool LoadAse (char* filename); // ASE 파일을 읽어들인다.
          static void ModelAlloc (CHS_GObject* pO); // 쓰이지 않음. j_ase 모듈에 있는 aseAllocate2CHS_Model을 사용
          static bool GetAseAllInfo (FILE *s); // 각 노드의 헤더정보와, 연결된 피지크 정점 개수를 카운트하고 에니메이션 키가 없는 노드의 에니메이션 키를 1로 초기화한다.
          static void GetAseAllData (FILE *s, DWORD *max_time); // 각 노드의 나머지 정보를 읽는다. 정점, 페이스, 노멀, 에니메이션 키(위치, 회전), 피지크의 weight 등등.
          static void ReleaseModels (); // s_AllList상의 모든 노드를 삭제한다.
          static void UpdatePickedPoint (int &cl_x, int &cl_y, int &width, int &height); // Picking을 위해 윈도우 상의 클릭된 점의 좌표가 월드 좌표계 상에서 얼마인지 계산한다.
          static vec3_t PickedPoint[2]; // 위의 함수에서 계산한 결과가 저장된다.
         // static function
          aseAllocate2CHS_Model (pNodeList [i]);
          CHS_GObject::GetAseAllData (s, &max_time);
          // ani_tm 최초 update -------------------------------------------------
  • SolarSystem/상협 . . . . 131 matches
         #include <cmath>
         GLfloat xrot=0.0f;
         GLfloat yrot=0.0f;
         GLfloat o1_rot = 0.0f;
         GLfloat o2_rot1 = 0.0f;
         GLfloat o2_rot2 = 0.0f; //수성
         GLfloat o3_rot = 0.0f; //금성
         GLfloat o4_rot = 0.0f;//지구
         GLfloat o5_rot = 0.0f;//화성
         GLfloat o6_rot = 0.0f;//목성
         GLfloat o7_rot = 0.0f;//토성
         GLfloat o8_rot = 0.0f;//천왕성
         GLfloat o9_rot = 0.0f;//해왕성
         GLfloat o10_rot = 0.0f;//명왕성
         GLfloat distance1 = 2.0f;//수성
         GLfloat distance2 = 3.2f;//금성
         GLfloat distance3 = 4.2f;//지구
         GLfloat distance4 = 5.2f;//화성
         GLfloat distance5 = 6.2f;//목성
         GLfloat distance6 = 7.2f;//토성
  • Gof/State . . . . 129 matches
         = State =
         Objects for States
         == Motivation ==
         네트워크 커넥션을 나타내는 TCPConnection 라는 클래스를 생각해보자. TCPConnection 객체는 여러가지의 상태중 하나 일 수 있다. (Established, Listening, Closed). TCPConnection 객체가 다른 객체로부터 request를 받았을 때, TCPConnection 은 현재의 상태에 따라 다르게 응답을 하게 된다. 예를 들어 'Open' 이라는 request의 효과는 현재의 상태가 Closed 이냐 Established 이냐에 따라 다르다. StatePattern은 TCPConnection 이 각 상태에 따른 다른 행위들을 표현할 수 있는 방법에 대해 설명한다.
         StatePattern 의 주된 아이디어는 네트워크 커넥션의 상태를 나타내는 TCPState 추상클래스를 도입하는데에 있다. TCPState 클래스는 각각 다른 상태들을 표현하는 모든 클래스들에 대한 일반적인 인터페이스를 정의한다. TCPState의 서브클래스는 상태-구체적 행위들을 구현한다. 예를 들어 TCPEstablished 는 TCPConnection 의 Established 상태를, TCPClosed 는 TCPConnection 의 Closed 상태를 구현한다.
         http://zeropage.org/~reset/zb/data/state_eg.gif
         TCPConnection 클래스는 TCP 커넥션의 현재 상태를 나타내는 state 객체를 가지고 있다. (TCPState 서브클래스의 인스턴스) TCPConnection 은 이 state 객체에게 모든 상태-구체적 request들을 위임 (delegate) 한다. TCPConnection 은 커넥션의 특정 상태에 대한 명령들을 수행하기 위해 TCPState 서브클래스 인스턴스를 이용한다.
         커넥션이 상태를 전환할 경우, TCPConnection 객체는 사용하고 있는 state 객체를 바꾼다. 예를 들어 커넥션이 established 에서 closed 로 바뀌는 경우 TCPConnection 은 현재의 TCPEstablished 인스턴스를 TCPClosed 인스턴스로 state 객체를 교체한다.
         다음과 같은 경우에 StatePattern 을 이용한다.
          * 객체의 상태에 대한 처리를 위해 구현하는 다중 조건 제어문이 거대해질 경우. 이 상태들을 일반적으로 하나나 그 이상의 열거형 상수들로 표현된다. 종종 여러 명령들은 객체 상태에 따른 처리를 위해 비슷한 유형의 조건 제어와 관련한 코드를 가지게 된다. StatePattern 은 각각의 조건분기점들을 클래스로 분리시킨다. 이는 객체의 상태들을 다른 객체로부터 다양하게 독립적일 수 있는, 고유의 권리를 가지는 객체로서 취급하도록 해준다.
         http://zeropage.org/~reset/zb/data/state.gif
          * 현재 상태를 정의하는 ConcreteState 서브클래스의 인스턴스를 가진다.
          * State (TCPState)
          * ConcreteState subclass (TCPEstablished, TCPListen, TCPClosed)
         == Collaborations ==
          * Context는 상태-구체적 request들을 현재의 ConcreteState 객체에 위임한다.
          * context는 request를 다루는 State 객체에게 인자로서 자기 자신을 넘길 수 있다. 이는 필요한 경우 State 객체들로 하여금 context 에 접근할 수 있도록 해준다.
          * Context는 클라이언트의 주된 인터페이스이다. 클라이언트들은 State 객체들과 함께 context 를 설정할 수 있다. 일단 context가 설정되면, context 의 클라이언트는 State 객체들을 직접적으로 다룰 필요가 없다.
          * Context 나 ConcreteState 서브클래스는 상황에 따라 state를 결정할 수 있다.
         StatePattern은 다음과 같은 결과를 가진다.
  • 영호의바이러스공부페이지 . . . . 124 matches
         and this magazines contains code that can be compiled to viruses.
         If you are an anti-virus pussy, who is just scared that your hard disk will
         what our good friend Patti Hoffman (bitch) has written about it.
          V Status: Rare
          The 163 COM Virus, or Tiny Virus, was isolated by Fridrik Skulason
          the virus will attempt to infect the first .COM file in the
          an infected program is executed another .COM file will attempt to
          greater than approximately 1K bytes.
          date/time stamps in the directory changed to the date/time the
          This virus currently does nothing but replicate, and is the
          smallest MS-DOS virus known as of its isolation date.
          The Tiny Virus may or may not be related to the Tiny Family.
         it being detected by SCAN we'll see about that.
         data_2e equ 1ABh ;start of virus
          pop si ;locate all virus code via
          mov bp,data_1[si] ;change when virus infects
          ;attributes
          mov data_1[si],dx ;
          mov ds:data_2e[si],ax ;point to data
         data_1 dw 0 ;
  • 영호의해킹공부페이지 . . . . 124 matches
          Always yield to the Hands-On imperative!
          2. All information should be free.
          3. Mistrust Authority-Promote Decentralization.
          5. You can create art and beauty on a computer.
         This article is an attempt to quickly and simply explain everyone's favourite
         A buffer is a block of computer memory that holds many instances of the same
         data type - an array. Arrays can be static and dynamic, static being allocated
         at load time and dynamic being allocated dynamically at run time. We will be
         looking at dynamic buffers, or stack-based buffers, and overflowing, filling
         is static. PUSH and POP operations manipulate the size of the stack
         dynamically at run time, and its growth will either be down the memory
         addresses, or up them. This means that one could address variables in the
         offsets change around. Another type of pointer points to a fixed location
         A buffer overflow is what happens when more data is forced into the stack than
         contents of the buffer, by overfilling it and pushing data out - this then
         means that we can change the flow of the program. By filling the buffer up
         overwriting the return address so that it points back into the buffer, we can
         This is just a simplified version of what actually happens during a buffer
         me +-20 mins to do the whole thing, but at least I was keeping a log of me
         save, of course, for the explanations. Next time I'll get human and actually
  • LearningGuideToDesignPatterns . . . . 123 matches
         여기서는 원문중 Suggest Navigation 에 대해 번역 & 정리
         == Suggested Navigation - 패턴 학습 순서에 대해서 ==
         DesignPatterns로 Pattern 스터디를 처음 시작할때 보면, 23개의 Pattern들을 navigate 할 방향을 결정할만한 뚜렷한 기준이 없음을 알 수 있다. 이 책의 Pattern들은 Creational, Structural, Behavioral 분류로 나누어져 있다. 이러한 분류들은 각각 다른 성질들의 Pattern들을 빨리 찾는데 도움을 주긴 하지만, 패턴을 공부할때 그 공부 순서에 대해서는 구체적인 도움을 주지 못한다.
         Pattern들은 각각 독립적으로 쓰이는 경우는 흔치 않다. 예를 들면, IteratorPattern은 종종 CompositePattern 과 같이 쓰이고, ObserverPattern과 MediatorPattern들은 전통적인 결합관계를 형성하며, SingletonPattern은 AbstractFactoryPattern와 같이 쓰인다. Pattern들로 디자인과 프로그래밍을 시작하려고 할때에, 패턴을 사용하는데 있어서 실제적인 기술은 어떻게 각 패턴들을 조합해야 할 것인가에 대해 아는 것임을 발견하게 될 것이다.
         DesignPatterns 의 저자들은 Pattern들간의 연결관계들을 제시하지만, 이것이 또한 Pattern들에 대한 navigation이 되지는 못한다. 책 전반에 걸쳐 많은 패턴들이 연결 관계를 보여주며, 또한 그것은 다른 패턴들 학습하기 이전에 공부하는데 도움을 주기도 한다. 그리고 어떤 Pattern들은 다른 패턴들에 비해 더 복잡하기도 하다.
         여러해가 지난 지금, DPSG는 23주 기간의 pattern들을 공부하는 스터디 그룹들을 가져왔다. 각각의 그룹들은 스터디 그룹을 위한 navigation 에 대해 실험하고, 토론하고, 수정했다. 여기서 제안된 navigation은 매 새로운 스터디 그룹들에게 이용된다. 여기서 제안된 navigation은 Pattern 초심자들에게 더 지혜롭게 하나의 패턴에서 다른 패턴으로 이동하게끔 도와줄 것이며, 효율적으로 23개의 Pattern들을 터득하는데 도움을 줄 것이다. 물론 이 navigation은 계속 개선해 나갈 것이다. 그리고 당신이 제안하는 개선책 또한 환영한다.
         == DesignPatterns Navigation ==
         === Factory Method - Creational ===
         FactoryMethodPattern 로 시작하라. 이 패턴은 다른 패턴들에 전반적으로 사용된다.
         === Strategy - Behavioral ===
         StrategyPattern 또한 책 전반에 걸쳐 빈번하게 이용된다. 이 패턴에 대해 일찍 알아둠으로써, 다른 패턴을 이해하는데 도움을 줄 것이다.
         === Decorator - Structural ===
         "skin" vs "guts" 에 대한 토론은 StrategyPattern 와 DecoratorPattern 를 구별하는 좋은 예가 될 것이다.
         CompositePattern은 여러부분에서 나타나며, IteratorPattern, ChainOfResponsibilityPattern, InterpreterPattern, VisitorPattern 에서 종종 쓰인다.
         === Iterator - Behavioral ===
         IteratorPattern 을 공부함으로, CompositePattern 에 대한 이해도를 높여줄 것이다.
         === Template Method - Behavioral ===
         앞에서의 IteratorPattern 의 예제코드에서의 "Traverse" 는 TemplateMethodPattern 의 예이다. 이 패턴은 StrategyPattern 과 FactoryMethodPattern 를 보충해준다.
         === Abstract Factory - Creational ===
         AbstractFactoryPattern은 두번째로 쉬운 creational Pattern이다. 이 패턴은 또한 FactoryMethodPattern를 보강하는데 도움을 준다.
  • DPSCChapter1 . . . . 122 matches
         Welcome to ''The Design Patterns Smalltalk Companion'' , a companion volume to ''Design Patterns Elements of Reusable Object-Oriented Software'' by Erich Gamma, Richard Helm, Ralph Johnson, and Jogn Vlissides(Gamma, 1995). While the earlier book was not the first publication on design patterns, it has fostered a minor revolution in the software engineering world.Designers are now speaking in the language of design patterns, and we have seen a proliferation of workshops, publications, and World Wide Web sites concerning design patterns. Design patterns are now a dominant theme in object-oriented programming research and development, and a new design patterns community has emerged.
         ''The Design Patterns Smalltalk Companion'' 의 세계에 오신걸 환영합니다. 이 책은 ''Design Patterns Elements of Reusable Object-Oriented Software''(이하 DP) Erich Gamma, Richard Helm, Ralph Johnson, and Jogn Vlissides(Gamma, 1995). 의 편람(companion, 보기에 편리하도록 간명하게 만든 책) 입니다. 앞서 출간된 책(DP)이 디자인 패턴에 관련한 책에 최초의 책은 아니지만, DP는 소프트웨어 엔지니어링의 세계에 작은 혁명을 일으켰습니다. 이제 디자이너들은 디자인 패턴의 언어로 이야기 하며, 우리는 디자인 패턴과 관련한 수많은 workshop, 출판물, 그리고 웹사이트들이 폭팔적으로 늘어나는걸 보아왔습니다. 디자인 패턴은 객체지향 프로그래밍의 연구와 개발에 있어서 중요한 위치를 가지며, 그에 따라 새로운 디자인 패턴 커뮤니티들이 등장하고 있습니다.(emerge 를 come up or out into view 또는 come to light 정도로 해석하는게 맞지 않을까. ''이제 디자인 패턴은 객체지향 프로그래밍의 연구와 개발에 있어서 중요한 위치를 가지고 있으며, 디자인 패턴 커뮤니티들이 새로이 등장하고 있는 추세입니다.'' 그래도 좀 어색하군. -_-; -- 석천 바꿔봤는데 어때? -상민 -- DeleteMe)gogo..~ 나중에 정리시 현재 부연 붙은 글 삭제하던지, 따로 밑에 빼놓도록 합시다.
         ''Design Patterns'' describes 23 design patterns for applications implemented in an object-oriented programming language. Of course, these 23 patterns do not capture ''all'' the design knowledge an object-oriented designer will ever need. Nonetheless, the patterns from the "Gang of Four"(Gamma et al.) are a well-founded starting point. They are a design-level analog to the base class libraries found in Smalltalk development environments. They do not solve all problems but provide a foundation for learning environments. They do not solve all problems but provide a foundation for learning about design patterns in general and finding specific useful architectures that can be incorporated into the solutions for a wide variety of real-world design problems. They capture an expert level of design knowledge and provide the foundation required for building elegant, maintainable, extensible object-oriented programs.
         In the Smalltalk Companion, we do not add to this "base library" of patterns;rather, we present them for the Smalltalk designer and programmer, at times interpreting and expanding on the patterns where this special perspective demands it. Our goal is not to replace Design Patterns; you should read the Smalltalk Companion with Design Patterns, not instead of it. We have tried not to repeat information that is already well documented by the Gang of Four book. Instead, we refer to it requently;you should too.
         우리의 목적은 Design Pattern을 교체하려는 것이 아니다. 당신은 Design Pattern을 대신하는 것이 아니라 Design Pattern과 함께 Smalltalk Companion을 읽어야 한다.
         ''Smalltalk Companion에서, 우리는 패턴의 'base library'를 추가하지 않습니다. 그것보다, 우리는 base library들을 Smalltalk 의 관점에서 해석하고 때?灌? 확장하여 Smalltalk 디자이너와 프로그래머를 위해 제공할 것입니다. 우리의 목표는 '''Design Patterns'''을 대체하려는 것이 아닙니다. '''Design Patterns''' 대신 Smalltalk Companion을 읽으려 하지 마시고, 두 책을 같이 읽으십시오. 우리는 이미 Gang of Four에서 잘 문서화된 정보를 반복하지 않을겁니다. 대신, 우리는 GoF를 자주 참조할 것이고, 독자들 역시 그래야 할 것입니다. -- 문체를 위에거랑 맞춰봤음.. 석천''
         == 1.1 Why Design Patterns? ==
         Learning an object-oriented language after programming in another paradigm, such as the traditional procedural style, is difficult. Learning to program and compose application in Smalltalk requires a complex set of new skills and new ways of thinking about problems(e.g Rosson & Carroll, 1990; Singley, & Alpert, 1991). Climbing the "Smalltalk Mountain" learning curve is cetainly nontrivial. Once you have reached that plateau where you feel comfortable building simple Smalltalk applications, there is still a significant distance to the expert peak.
         Smalltalk experts know many things that novices do not, at various abstraction levels and across a wide spectrum of programming and design knowledge and skills:
          * What is available in the form of classes, methods, and functionality in the existing base class libraries
          * How to use the specific tools of the Smalltalk interactive development environment to find and reuse existing functionality for new problems, as well as understanding programs from both static and runtime perspective
          * Recurring patterns of object configurations and interactions and the sorts of problems for which these cooperating objects provide (at least partial) solutions
         This is by no means an exhaustive list, and even novices understand and use much of the knowledge. But some items, especially the last -- recurring patterns of software design, or design patterns -- are the province of design expert.
         A '''design pattern''' is a reusable implementation model or architecture that can be applied to solve a particular recurring class of problem. The pattern sometimes describes how methods in a single class or subhierarchy of classes work together; more often, it shows how multiple classes and their instances collaborate. It turns out that particular architectures reappear in different applications and systems to the extent that a generic pattern template emerges, one that experts reapply and customize to new application - and domain-specific problems. Hence, experts know how to apply design patterns to new problems to implement elegant and extensible solutions.
         In general, designers -- in numerous domains, not just software -- apply their experience with past problems and solution to new, similar problems. As Duego and Benson(1996) point out, expert designers apply what is known in cognitive psychology and artificial intelligence as '''case-based reasoning''', remembering past cases and applying what they learned there. This is the sort of reasoning that chess masters, doctors, lawyers, and architects empoly to solve new problems. Now, design patterns allow software designers to learn from and apply the experiences of other designers as well. As in other domains, a literature of proven patterns has emerged. As a result, we can "stand on the shoulders of giants" to get us closer to the expert peak. As John Vlissies (1997) asserts, design patterns "capture expertise and make it accessible to non-experts" (p. 32).
         Design patterns also provide a succinct vocabulary with which to describe new designs and retrospectively explain existing ones. Patterns let us understand a design at a high level before drilling down to focus on details. They allow us to envision entire configurations of objects and classes at a large grain size and communicate these ideas to other designers by name. We can say, "Implement the database access object as a Singleton," rather than, "Let's make sure the database access class has just one instance. The class should include a class variable to keep track of the singl instance. The class should make the instance globally available but control access to it. The class should control when the instance is created and ..." Which would you prefer?
         Christopher Alexander and his colleagues have written extensively on the use of design patterns for living and working spaces-homes, buildings, communal areas, towns. Their work is considered the inspiration for the notion of software design patterns. In ''The Timeless Way of Building''(1979) Alexander asserts, "Sometimes there are version of the same pattern, slightly different, in different cultures" (p.276). C++ and Smalltalk are different languages, different environments, different cultures-although the same basic pattern may be viable in both languages, each culture may give rise to different versions.
         The Gang of Four's ''Design Patterns'' presents design issues and solutions from a C+ perspective. It illustrates patterns for the most part with C++ code and considers issues germane to a C++ implementation. Those issue are important for C++ developres, but they also make the patterns more difficult to understand and apply for developers using other languages.
         Gang of Four의 ''Design Patterns'' 은 C++의 관점에서 디자인의 이슈와 해결책들을 제시한다. Design Patterns는 대부분 C++을 이용한 패턴들과, C++의 적용(implementation)과 관련있는 이슈들에 관한 견해를 다루고 있다. 그러한 이슈들은 C++ 개발자들에게는 매우 중요할지 모르지만, 다른 언어들을 이용하고 있는 개발자들에게는 자칫 이해하고 패턴의 적용에 어려움을 가지고 온다.
         This book is designed to be a companion to ''Design Patterns'', but one written from the Smalltalk perspective. One way to think of the ''Smalltalk Companion'', then, is as a variation on a theme. We provide the same pattern as in the Gang of Four book but view them through Smalltalk glasses. (In fact, when we were trying out names for the ''Smalltalk Companion'', someone suggested "DesignPattern asSmalltalkCompanion." However, we decided only hard-core Smalltalkers would get it.)
  • Gof/Mediator . . . . 122 matches
         = Mediator =
         MediatorPattern은 객체들의 어느 집합들이 interaction하는 방법을 encapsulate하는 객체를 정의한다. Mediator는 객체들을 서로에게 명시적으로 조회하는 것을 막음으로서 loose coupling을 촉진하며, 그래서 Mediator는 여러분에게 객체들의 interactions들이 독립적으로 다양하게 해준다.
         == Motivation ==
         http://zeropage.org/~reset/zb/data/fontc047.gif
         별개의 mediator 객체에서 집단의 행위로 encapsulate하는 것에 의해서 이런 문제를 피할 수 있다. 하나의 mediator는 객체들 그룹 내의 상호작용들을 제어하고 조정할 책임이 있다. 그 mediator는 그룹내의 객체들이 다른 객체들과 명시적으로 조회하는 것을 막는 중간자로서의 역할을 한다. 그런 객체들은 단지 mediator만 알고 있고, 고로 interconnection의 수는 줄어 들게 된다.
         예를 들면, FontDialogDirector는 다이얼로그 박스의 도구들 사이의 mediator일 수 있다. FontDialogDirector객체는 다이얼로그 도구들을 알고 그들의 interaction을 조정한다. 그것은 도구들 사이의 communication에서 hub와 같은 역할을 한다.
         http://zeropage.org/~reset/zb/data/media033.gif
         http://zeropage.org/~reset/zb/data/media031.gif
         http://zeropage.org/~reset/zb/data/media034.gif
         DialogDirect는 다이얼로그의 전체 행위를 정의한 추상 클래스이다. client들은 화면에 다이얼로그를 나타내기 위해서 ShowDialog 연산자를 호출한다. CreateWidgets는 다이얼로그 도구들을 만들기 위한 추상 연산자이다. WidgetChanged는 또 다른 추상 연산자이며, 도구들은 director에게 그들이 변했다는 것을 알려주기 위해서 이를 호출한다. DialogDirector subclass들은 CreateWidgets을 적절한 도구들을 만들기 위해서 override하고 그리고 그들은 WidgetChanged를 변화를 다루기 위해서 override한다.
         MediatorPattern은 이럴 때 사용한다.
         http://zeropage.org/~reset/zb/data/mediator.gif
         http://zeropage.org/~reset/zb/data/media030.gif
          * Mediator(DialogDirector)
          * ConcreteMediator(FontDialogDirector)
          각각의 colleague class는 자신의 Mediator 객체를 안다.
          각가의 colleague 는 자신이 다른 colleague와 통신할 때마다 자신의 mediator와 통신한다.
         == Collaborations ==
          Colleague들은 Mediator 객체에게 요청을 보내고 받는다. Mediator는 적절한 colleague에게 요청을 보냄으로써 협동 행위를 구현한다.
         Mediator Pattern은 다음과 같은 장점과 단점을 지닌다.
  • MoinMoinFaq . . . . 122 matches
         == "What is a Wiki?" questions ==
         === What is a ''Wiki''? ===
         is a database of pages that can be collaboritively edited using a web
         === What is a ''MoinMoin''? ===
         === What is this good for? ===
         To be honest, it is good for whatever you use it for. At
         convey information. Other pages are an open invitation for discussion
         database.
         use a wiki page to collaboratively work on a project.
         === What are the major features of a Wiki? ===
         Here are some important wiki features:
          * ability to add new information or modify existing information
         === How does this compare to other collaboration tools, like Notes? ===
         feature is some kind of access control, to allow only certain groups
         to see and manipulate informatin.
         === What about Wiki security? Isn't a Wiki subject to complete wipeout or nastiness from a saboteur? ===
         '''NO''' security. (That's right!) Because of this, the
         maintained in a location inaccessible to web users. Thus, when page
         quickly), pages can be restored quite easily to their previous good state.
         corruption is more difficult to deal with. The possibility exists that someone
  • 3DGraphicsFoundation/INSU/SolarSystem . . . . 112 matches
         #format cpp
         static LPCTSTR lpszAppName = "Solar System";
         static HINSTANCE hInstance;
         GLfloat whiteLight[] = { 0.2f, 0.2f, 0.2f, 1.0f };
         GLfloat sourceLight[] = { 0.8f, 0.8f, 0.8f, 1.0f };
         GLfloat lightPos[] = { 0.0f, 0.0f, 0.0f, 1.0f };
         float xRot = 0.0f;
         float yRot = 0.0f;
         void SetDCPixelFormat(HDC hDC)
          int nPixelFormat;
          static PIXELFORMATDESCRIPTOR pfd = {
          sizeof(PIXELFORMATDESCRIPTOR), // Size of this structure
          // Choose a pixel format that best matches that described in pfd
          nPixelFormat = ChoosePixelFormat(hDC, &pfd);
          // Set the pixel format for the device context
          SetPixelFormat(hDC, nPixelFormat, &pfd);
          // Calculate aspect ratio of the window
          GLfloat fAspect = (GLfloat)w/(GLfloat)h;
          // Set the perspective coordinate system
          glMatrixMode(GL_PROJECTION);
  • RandomWalk2/Insu . . . . 112 matches
         private:
          void CourseAllocate(char *szCourse);
          void BoardAllocate();
          void ShowStatus();
          bool CheckCompletelyPatrol();
          void DirectionAllocate(int x[], int y[]);
          CourseAllocate(szCourse);
          BoardAllocate();
          DirectionAllocate(DirectX, DirectY);
         void RandomWalkBoard::CourseAllocate(char *szCourse)
         void RandomWalkBoard::BoardAllocate()
         void RandomWalkBoard::DirectionAllocate(int x[], int y[])
         void RandomWalkBoard::ShowStatus()
         bool RandomWalkBoard::CheckCompletelyPatrol()
          while( !CheckEndCourse() && !CheckCompletelyPatrol() )
         void InputInitData(int &row, int &col, int &currow, int &curcol, char course[]);
          InputInitData(row, col, currow, curcol, course);
          test.ShowStatus();
         void InputInitData(int &row, int &col, int &currow, int &curcol, char course[])
         private:
  • AcceleratedC++/Chapter14 . . . . 109 matches
         || ["AcceleratedC++/Chapter13"] || ["AcceleratedC++/Chapter15"] ||
         = Chapter 14 Managing memory (almost) automatically =
         == 14.1 Handles that copy their objects ==
         template <class T> class Handle {
          Handle& operator=(const Handle&);
          operator bool() const { return p; }
          T& operator*() const;
          T* operator->() const;
         private:
         template<class T> Handle<T>& Handle<T>::operator=(const Handle& rhs) {
         template<class T> T& Handle<T>::operator*() const {
         template<class T> T* Handle<T>::operator->() const {
         (x.operator->())->y;
         (student.operator->())->y;
          // read and store the data
          record = new Core; // allocate a `Core' object
          record = new Grad; // allocate a `Grad' object
          } catch (domain_error e) {
          cout << e.what() << endl;
          // no `delete' statement
  • SpiralArray/Leonardong . . . . 108 matches
          def move(self, coordinate, board):
          if ( board.isWall( self.next(coordinate) ) ):
          return coordinate
          return self.next(coordinate)
          def next(self, coordinate):
          return (coordinate[ROW] + 1, coordinate[COL])
          def next(self, coordinate):
          return (coordinate[ROW] - 1, coordinate[COL])
          def next(self, coordinate):
          return (coordinate[ROW], coordinate[COL] + 1 )
          def next(self, coordinate):
          return (coordinate[ROW], coordinate[COL] - 1 )
          def isWall( self, coordinate ):
          if ( coordinate[ROW] < self.start ):
          elif ( coordinate[ROW] >= self.end ):
          elif ( coordinate[COL] < self.start ):
          elif ( coordinate[COL] >= self.end ):
          self.coordinate = (0,0)
          return self.coordinate
          while ( not self.coordinate == direction.move(self.coordinate, board) ):
  • TriDiagonal/1002 . . . . 102 matches
         from Matrix import *
          self.matrixA = Matrix(array(self.a))
          matrixL = Matrix(array(l))
          matrixU = Matrix(array(u))
          actual = matrixL * matrixU
          self.assertEquals(str(actual), str(self.matrixA))
          self.l = self.makeEmptySquareMatrix(self.n)
          self.u = self.makeEmptySquareMatrix(self.n)
          def makeEmptySquareMatrix(self, n):
          matrix = []
          matrix.append(row)
          return matrix
          self.u[aRow][eachCol] = float(self.array[aRow][eachCol] - self._minusForWriteU(eachCol, aRow)) / float(self.l[aRow][aRow])
         from Matrix import *
          def testGetMatrixY(self):
          actual = getMatrixY(l, b)
          def testGetMatrixX(self):
          matrixY = getMatrixY(l, b)
          self.assertEquals(matrixY, expectedY)
          matrixX = getMatrixX(u, matrixY)
  • ErdosNumbers/조현태 . . . . 100 matches
          int simulation;
          cin >> simulation;
          for (;simulation>0;--simulation)
          data_manager* datas=new data_manager();
          datas->swallow(temp);
          datas->process_erdos_number(TARGET_NAME);
          int score=datas->get_score(temp);
          delete datas;
         class human_data{
         private:
          human_data(char* );
          ~human_data();
         class line_data{
         private:
          human_data* include_data;
          line_data* prv;
          line_data* next;
          line_data(human_data* , line_data* );
          ~line_data();
          void link(line_data* );
  • Gof/Visitor . . . . 100 matches
         object structure 의 element들에 수행될 operation 을 표현한다. [Visitor]는 해당 operation이 수행되는 element의 [class]에 대한 변화 없이 새로운 operation을 정의할 수 있도록 해준다.
         == Motivation ==
         [컴파일러]가 abstact syntax tree로 프로그램을 표현한다고 하자. 컴파일러는 모든 변수들이 정의가 되어있는 지를 검사하는 것과 같은 '정적인 의미' 분석을 위해 abstract syntax tree에 대해 operation을 수행할 필요가 있을 것이다. 컴파일러는 또한 code 변환을 할 필요가 있다. 또한 컴파일러는 type-checking, code optimization, flow analysis 와 해당 변수가 이용되기 전 선언되었는지 등의 여부를 검사하기 위해서 해당 operations들을 수행할 필요가 있다. 더 나아가 우리는 pretty-printing, program restructuring, code instrumentation, 그리고 프로그램의 다양한 기준들에 대한 계산을 하기 위해 abstract syntax tree를 이용할 것이다.
         이러한 operations들의 대부분들은 [variable]들이나 [arithmetic expression]들을 표현하는 node들과 다르게 [assignment statement]들을 표현하는 node를 취급할 필요가 있다. 따라서, 각각 assignment statement 를 위한 클래스와, variable 에 접근 하기 위한 클래스, arithmetic expression을 위한 클래스들이 있어야 할 것이다. 이러한 node class들은 컴파일 될 언어에 의존적이며, 또한 주어진 언어를 위해 바뀌지 않는다.
         http://zeropage.org/~reset/zb/data/visit006.gif <- [DeadLink]
         이 다이어그램은 Node class 계층구조의 일부분을 보여준다. 여기서의 문제는 다양한 node class들에 있는 이러한 operation들의 분산은 시스템으로 하여금 이해하기 어렵고, 유지하거나 코드를 바꾸기 힘들게 한다. Node 에 type-checking 코드가 pretty-printing code나 flow analysis code들과 섞여 있는 것은 혼란스럽다. 게다가 새로운 operation을 추가하기 위해서는 일반적으로 이 클래스들을 재컴파일해야 한다. 만일 각각의 새 operation이 독립적으로 추가될 수 있고, 이 node class들이 operation들에 대해 독립적이라면 더욱 좋을 것이다.
         우리는 각각의 클래스들로부터 관련된 operation들을 패키징화 하고, traverse 될 (tree 의 각 node들을 이동) abstract syntax tree의 element들에게 인자로 넘겨줄 수 있다. 이를 visitor라고 한다. element가 visitor를 'accepts' 할때 element는 element의 클래스를 인코딩할 visitor에게 request를 보낸다. 이 request 또한 해당 element를 인자로 포함하고 있다. 그러면 visitor는 해당 element에 대한 operation을 수행할 것이다.
         예를든다면, visitor를 이용하지 않는 컴파일러는 컴파일러의 abstact syntax tree의 TypeCheck operation을 호출함으로서 type-check 을 수행할 것이다. 각각의 node들은 node들이 가지고 있는 TypeCheck를 호출함으로써 TypeCheck를 구현할 것이다. (앞의 class diagram 참조). 만일 visitor를 이용한다면, TypeCheckingVisior 객체를 만든 뒤, TypeCheckingVisitor 객체를 인자로 넘겨주면서 abstract syntax tree의 Accept operation을 호출할 것이다. 각각의 node들은 visitor를 도로 호출함으로써 Accept를 구현할 것이다 (예를 들어, assignment node의 경우 visitor의 VisitAssignment operation을 호출할 것이고, varible reference는 VisitVaribleReference를 호출할 것이다.) AssignmentNode 클래스의 TypeCheck operation은 이제 TypeCheckingVisitor의 VisitAssignment operation으로 대체될 것이다.
         type-checking 의 기능을 넘어 일반적인 visitor를 만들기 위해서는 abstract syntax tree의 모든 visitor들을 위한 abstract parent class인 NodeVisitor가 필요하다. NodeVisitor는 각 node class들에 있는 operation들을 정의해야 한다. 해당 프로그램의 기준 등을 계산하기 원하는 application은 node class 에 application-specific한 코드를 추가할 필요 없이, 그냥 NodeVisitor에 대한 새로운 subclass를 정의하면 된다. VisitorPattern은 해당 Visitor 와 연관된 부분에서 컴파일된 구문들을 위한 operation들을 캡슐화한다.
         http://zeropage.org/~reset/zb/data/visit113.gif <- [DeadLink]
         http://zeropage.org/~reset/zb/data/visit112.gif <- [DeadLink]
         VisitorPattern으로, 개발자는 두개의 클래스 계층을 정의한다. 하나는 operation이 수행될 element에 대한 계층이고 (Node hierarchy), 하나는 element에 대한 operation들을 정의하는 visitor들이다. (NodeVisitor hierarchy). 개발자는 visitor hierarchy 에 새로운 subclass를 추가함으로서 새 operation을 만들 수 있다.
         VisitorPattern은 다음과 같은경우에 이용한다.
         http://zeropage.org/~reset/zb/data/visitor.gif
          - declares a Visit operations for each class of ConcreteElement in the object structure. The operation's name and signature identifies the class that sends the Visit request to the visitor. That lets the visitor determine the concrete class of the element being visited. Then the visitor can access the element directly through its particular interface.
          - implements each operation declared by Visitor. Each operation implements a fragment of the algorithm defined for the corresponding class of object in the structure. ConcreteVisitor provides the context for the algorithm and stores its local state. This state often accumulates result during the traversal of the structure.
          - defines an Accept operation that takes a visitor as an argument.
          - implements an Accept operation that takes a visitor as an argument.
          - can enumerate its elements. [[BR]]
          - may either be a composite (See CompositePattern) or a collection such as a list or a set. [[BR]]
  • MoreEffectiveC++/Operator . . . . 98 matches
         = Operator =
          * C++에서는 크게 두가지 방식의 함수로 형변환을 컴파일러에게 수행 시키킨다:[[BR]] '''''single-argument constructors''''' 와 '''''implicit type conversion operators''''' 이 그것이다.
         class Rational {
          Rational( int numerator = 0, int denominator = 1);
          * '''''implicit type conversion operator''''' 은 클래스로 하여금 해당 타입으로 ''return'' 을 원할때 암시적인 변화를 지원하기 위한 operator이다. 아래는 double로의 형변환을 위한 것이다.
         class Rational{
          operator double() const;
         Rational r(1,2);
         Rational (1,2);
         '''operator<<'''는 처음 Raional 이라는 형에 대한 자신의 대응을 찾지만 없고, 이번에는 r을 ''operator<<''가 처리할수 있는 형으로 변환시키려는 작업을 한다. 그러는 와중에 r은 double로 암시적 변환이 이루어 지고 결과 double 형으로 출력이 된다.[[BR]]
         Rational r(1,2);
         template<class T>
          T& operator[] (int index)
         bool operator==( const Array< int >& lhs, const Array<int>& rhs);
          if ( a == static_cast< Array<int> >(b[i]) )...
         template<class T>
         if ( a == static_cast< Array<int> >(b[p])) ... // 맞다. 위와 마찬가지로 다른 사람이 땀흘린다
         static_cast< Array<int> >(b[p])
         이 구분에서 '''> > ''' 이 두개를 붙여쓰면 '''>>''' operator로 해석하니 유의해라
         template<class T>
  • RandomWalk2/재동 . . . . 98 matches
         import unittest, random, os.path
          def testCreateReaderClass(self):
          self.assertEquals('5 5\n',self.reader.getData()[0])
          self.assertEquals('22224444346\n',self.reader.getData()[2])
          def testRoachPath(self):
          expectPath = [2,2,2,2,4,4,4,4,3,4,6]
          self.assertEquals(expectPath,self.reader.getPath())
          def testCreateBoardClass(self):
          def testCreateMoveRoachCalss(self):
          file = open(os.path.join(TXT))
          self.data = file.readlines()
          def getData(self):
          return self.data
          rowLength = int(self.data[0].split()[0])
          colLength = int(self.data[0].split()[1])
          row = int(self.data[1].split()[0])
          col = int(self.data[1].split()[1])
          def getPath(self):
          path = []
          while self.data[2][i] != '\n':
  • Android/WallpaperChanger . . . . 97 matches
          * http://stackoverflow.com/questions/2169649/open-an-image-in-androids-built-in-gallery-app-programmatically
         import android.database.Cursor;
          private static final int SELECT_PICTURE = 1;
          private String selectedImagePath;
          /** Called when the activity is first created. */
          public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          private void openPhotoLibrary() {
          startActivityForResult(Intent.createChooser(i, "Select Picture"), SELECT_PICTURE);
          public void onActivityResult(int requestCode, int resultCode, Intent data) {
          Uri selectedImageUri = data.getData();
          selectedImagePath = getPath(selectedImageUri);
          public String getPath(Uri uri) {
          String[] projection = { MediaStore.Images.Media.DATA };
          .getColumnIndexOrThrow(MediaStore.Images.Media.DATA);
          * {{{ manager.setBitmap(Bitmap.createScaledBitmap(b, d.getWidth()*4, d.getHeight(), true)); }}} 왜 * 4냐면 내 폰에 배경화면이 4칸이라 답하겠더라
          private static final Button Button = null;
          /** Called when the activity is first created. */
          public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
  • Gof/Singleton . . . . 96 matches
         === Motivation ===
         더 좋은 방법은 클래스 자신으로 하여금 자기자신의 단일 인스턴스를 유지하도록 만드는 것이다. 이 클래스는 인스턴스가 생성될 때 요청을 가로챔으로서 단일 인스턴스로 만들어지는 것은 보증한다. 또한, 인스턴스에 접근하는 방법도 제공한다. 이것이 바로 SingletonPattern이다.
         SingletonPattern은 다음과 같은 경우에 사용한다.
         http://zeropage.org/~reset/zb/data/singl014.gif
          * Instance operation (클래스의 메소드)을 정의한다. Instance 는 클라이언트에게 해당 Singleton의 유일한 인스턴스를 접근할 수 있도록 해준다.
         === Collaborations ===
          * 클라이언트는 오직 Singleton의 Instance operation으로만 Singleton 인스턴스에 접근할 수 있다.
         SingletonPattern은 여러가지 장점을 가진다.
          2. namespace를 줄인다. SingletonPattern은 global variable을 줄임으로서 global variable로 인한 namespace의 낭비를 줄인다.
          4. 여러개의 인스턴스를 허용한다. 프로그래머의 마음에 따라 쉽게 Singleton class의 인스턴스를 하나이상을 둘 수도 있도록 할 수 있다. 게다가 어플리케이션이 사용하는 인스턴스들을 제어하기 위해 동일한 접근방법을 취할 수 있다. 단지 Singleton 인스턴스에 접근하는 것을 보장하는 operation만 수정하면 된다.
          5. class operation 보다 더 유연하다. 패키지에서 Singleton의 기능을 수행하기위한 또다른 방법은 class operation들을 사용하는 것이다. (C++에서의 static 함수나 Smalltalk에서의 class method 등등) 하지만, 이러한 언어적인 테크닉들은 여러개의 인스턴스를 허용하는 디자인으로 바꾸기 힘들어진다. 게다가 C++에서의 static method는 virtual이 될 수 없으므로, subclass들이 override 할 수 없다.
         === Implementation ===
         SingletonPattern 을 사용할 때 고려해야 할 사항들이 있다.
         1. unique instance임을 보증하는 것. SingletonPattern의 경우도 일반 클래스와 마찬가지로 인스턴스를 생성하는 방법은 같다. 하지만 클래스는 늘 단일 인스턴스가 유지되도록 프로그래밍된다. 이를 구현하는 일반적인 방법은 인스턴스를 만드는 operation을 class operations으로 두는 것이다. (static member function이거나 class method) 이 operation은 unique instance를 가지고 있는 변수에 접근하며 이때 이 변수의 값 (인스턴스)를 리턴하기 전에 이 변수가 unique instance로 초기화 되어지는 것을 보장한다. 이러한 접근은 singleton이 처음 사용되어지 전에 만들어지고 초기화됨으로서 보장된다.
         다음의 예를 보라. C++ 프로그래머는 Singleton class의 Instance operation을 static member function으로 정의한다. Singleton 또한 static member 변수인 _instance를 정의한다. _instance는 Singleton의 유일한 인스턴스를 가리키는 포인터이다.
          static Singleton* Instance ();
         private:
          static Singleton* _instance;
         클래스를 사용하는 Client는 singleton을 Instance operation을 통해 접근한다. _instance 는 0로 초기화되고, static member function 인 Instance는 단일 인스턴스 _Instance를 리턴한다. 만일 _instance가 0인 경우 unique instance로 초기화시키면서 리턴한다. Instance는 lazy-initalization을 이용한다. (Instance operation이 최초로 호출되어전까지는 리턴할 unique instance는 생성되지 않는다.)
         C++ 구현에 대해서는 생각해야 할 것이 더 있다. singleton 을 global이나 static 객체로 두고 난 뒤 자동 초기화되도록 놔두는 것으로 충분하지 않다. 이에 대해서는 3가지 이유가 있다.
  • 작은자바이야기 . . . . 96 matches
          * [:Java/Annotations Annotations] 및 [:Java/Generics Generics]
          * 그동안 설계와 구현에 관한 일반론을 위주로 세미나를 진행해왔기에, 이번에는 좀더 practical하고 pragmatic한 지식을 전달하는데 비중을 두고자 함.
          * public, protected, private, (none)
          * abstract, final, static
          * static modifier에 대해 애매하게 알고 있었는데 자세하게 설명해주셔서 좋았습니다. static은 타입을 통해서 부르는거라거나 원래 모든 함수가 static인데 객체지향의 다형성을 위해 static이 아닌 함수가 생긴거라는 설명은 신기했었습니다. object.method(message) -> MyType::method(object, method) 부분이 oop 실제 구현의 기본이라는 부분은 잊어버리지 않고 잘 기억해둬야겠습니다. 근데 파이썬에서 메소드 작성시 (self)가 들어가는 것도 이것과 관련이 있는건가요? -[서영주]
          * 제가 "원래 모든 함수가 static"이라는 의미로 말한건 아닌데 오해의 소지가 있었나보군요. 사실 제가 설명한 가장 중요한 사실은 말씀하신 예에서 object의 컴파일 타입의 method() 메서드가 가상 메서드라면(static이 아닌 모든 Java 메서드), 실제 어떤 method() 메서드를 선택할 것이냐에 관한 부분을 object의 런타임 타입에 의한다는 부분이었지요. 그러니까 object는 컴파일 타입과 동일하지 않은 런타임 타입을 가질 수 있으며, 다형성의 구현을 위해 implicit argument인 object(=this)의 런타임 타입에 따라 override된 메서드를 선택한다는 사실을 기억하세요. (Python에선 실제 메서드 내에서 사용할 formal parameter인 self를 explicit하게 선언할 수 있다고 보면 되겠지요.) - [변형진]
          * static에는 이런 용법도 있습니다. [StaticInitializer] - [안혁준]
          * [Singleton] 패턴과 lazy initialization의 필요성에 대해 이야기했습니다.
          * 동기화 부하를 피하기 위한 DCL 패턴의 문제점을 살펴보고 Java 5 이후에서 volatile modifier로 해결할 수 있음을 배웠습니다.
          * native modifier로 함수의 인터페이스를 선언할 수 있고, 마샬링, 언마샬링 과정에서 성능 손실이 있을 수 있음을 이야기했습니다.
          * static nested class
          * '''I'''SP (Interface segregation principle)
          * DRY [http://en.wikipedia.org/wiki/Don't_repeat_yourself DRY Wiki]
          * [http://en.wikipedia.org/wiki/Don%27t_repeat_yourself dont repeat yourself] 이걸 걸려고 했나? - [서지혜]
          * 전체적으로 다른 언어에서는 볼 수 없는 자바의 문법 + 객체지향 원칙을 중점적으로 다룬 시간이었습니다. 중간중간 다른 이야기들(builder 패턴, 저작권)이 들어갔지만 그래도 다룬 주제는 명확하다고 생각합니다. 다만 그걸 어떻게 쓰느냐는 흐릿한 느낌입니다. 그건 아마도 각 원칙들이나 interface, 객체 등에 대한 느낌을 잡기 위해서는 경험이 좀 필요하기 때문이 아닌가 싶습니다 ;;; 수경이가 말한 대로 한 번이라도 해 본 사람은 알기 쉽다는 말이 맞지 않을까 싶네요. 그리고 전체적으로 이야기를 들으면서 현재 프로젝트 중인 코드가 자꾸 생각나서 영 느낌이 찝찝했습니다. 세미나를 들으면서 코드를 생각하니까 고쳐야 될 부분이 계속 보이는군요. 그래도 나름대로 코드를 깔끔하게 해 보려고 클래스 구조도 정리를 좀 하고 했는데 더 해야 할 게 많은 느낌입니다. ㅠㅠ 그 외에도 이번 시간에 들었던 메소드의 책임이 어디에 나타나야 하는가(객체 or 메소드) 라거나 상속을 너무 겁내지 말라는 이야기는 상당히 뚜렷하게 와 닿아서 좋았습니다. 아. DIP에서 Logic과 native API 사이에 추상화 레이어를 두는 것도 상당히 좋았는데 기회가 되면 꼭 코드로 보고 싶습니다. 아마 다음에 보게 되겠지만. - [서민관]
          * Inner Class, Nested Class(보강), Local Class, Static Inner Class
          * Iterator (java.util)
          * Iterator의 특징과 Iterable을 사용했을 때의 특징들을 공부하는 시간
          * 지난시간에 이은 Inner Class와 Nested Class의 각각 특징들 Encapsulation이라던가 확장성, 임시성, 클래스 파일 생성의 귀찮음을 제거한것이 새로웠습니다. 사실 쓸일이 없어 안쓰긴 하지만 Event핸들러라던가 넘길때 자주 사용하거든요. {{{ Inner Class에서의 this는 Inner Class를 뜻합니다. 그렇기 때문에 Inner Class를 포함하는 Class의 this(현재 객체를 뜻함)을 불러오려면 상위클래스.this를 붙이면 됩니다. }}} Iterator는 Util이지만 Iterable은 java.lang 패키지(특정 패키지를 추가하지 않고 자바의 기본적인 type처럼 쓸수있는 패키지 구성이 java.lang입니다)에 포함되어 있는데 interface를 통한 확장과 재구성으로 인덱스(index)를 통한 순차적인 자료 접근 과는 다른 Iterator를 Java에서 범용으로 쓰게 만들게 된것입니다. 예제로 DB에서 List를 한꺼번에 넘겨 받아 로딩하는것은 100만개의 아이템이 있다면 엄청난 과부하를 겪게되고 Loading또한 느립니다. 하지만 지금 같은 세대에는 실시간으로 보여주면서 Loading또한 같이 하게 되죠. Iterator는 통해서는 이런 실시간 Loading을 좀더 편하게 해줄 수 있게 해줍니다. 라이브러리 없이 구현하게 되면 상당히 빡셀 것 같은 개념을 iterator를 하나의 itrable이란 인터페이스로 Java에서는 기본 패키지로 Iterable을 통해 Custom하게 구현하는 것을 도와주니 얼마나 고마운가요 :) 여튼 자바는 대단합니다=ㅂ= Generic과 Sorting은 다른 분이 설명좀. - [김준석]
          * @property annotation 사용
  • 1002/Journal . . . . 93 matches
          -> 살을 붙여서 이해하기 -> restatement 필요 & 대강 무질서한 방법으로 넘어가버림.
          * normalization
          * 프로젝트 관련 소스 분석하기 -> restatement 필요.
         솔직하지 못하게 될 수 있다. 자신의 일을 미화할 수도 있다. NoSmok:TunnelVision 에 빠진 사람은 '보고싶은 것만' 보이게 된다. NoSmok:YouSeeWhatYouWantToSee
          반론 : 그러면, 보안이 유지되는 다른 곳에 apache authorization 등을 걸고, 해당 글을 링크걸면 어떨런지?
         도서관에서 이전에 절반정도 읽은 적이 있는 Learning, Creating, and Using Knowledge 의 일부를 읽어보고, NoSmok:HowToReadaBook 원서를 찾아보았다. 대강 읽어봤는데, 전에 한글용어로는 약간 어색하게 느껴졌던 용어들이 머릿속에 제대로 들어왔다. (또는, 내가 영어로 된 책을 읽을때엔 전공책의 그 어투를 떠올려서일런지도 모르겠다. 즉, 영어로 된 책은 약간 더 무겁게 읽는다고 할까. 그림이 그려져 있는 책 (ex : NoSmok:AreYourLightsOn, 캘빈 & 홉스) 는 예외)
          * 그렇다면, 어떻게 NoSmok:HowToReadaBook 이나 'Learning, Creating, and Using Knowledge' 은 읽기 쉬웠을까?
          * 사전지식이 이미 있었기 때문이라고 판단한다. NoSmok:HowToReadaBook 는 한글 서적을 이미 읽었었고, 'Learning, Creating, and Using Knowledge' 의 경우 Concept Map 에 대한 이해가 있었다. PowerReading 의 경우 원래 표현 자체가 쉽다.
          * Facilitator 나 발제자, 또는 읽는 사람들이 질문제기 & 사람들 의견 자유토론
          * 다른 사람들이 나에 비해 해당 어휘에 대한 재정의(Restatement) 단계가 하나나 두단계정도 더 높았던걸로 기억한다. 내가 책을 읽을때 질문을 잘 못만들어내는 것도 한 몫하는것 같다.
         http://zeropage.org/~reset/zb/data/prometheus_struct0.jpg
         그림을 보고 나니, Inheritance 나 Delegation 이 필요없이 이루어진 부분이 있다는 점 (KeywordGenerator 클래스나 BookSearcher, HttpSpider 등) Information Hiding 이 제대로 지켜지지 않은것 같다는 점, (Book 과 관련된 데이터를 얻고, 검색하여 리스트를 만들어내는 것은 BookMapper 에서 통일되게 이루어져야 한다.) 레이어를 침범한것 (각각의 Service 클래스들이 해당 로직객체를 직접 이용하는것은 그리 보기 좋은 모양새가 아닌듯 하다. 클래스 관계가 복잡해지니까. 그리고 지금 Service 가 서블릿에 비종속적인 Command Pattern 은 아니다. 그리고 AdvancedSearchService 와 SimpleSearchService 가 BookMapper 에 촛점을 맞추지 않고 Searcher 클래스들을 이용한 것은 현명한 선택이 아니다.)
         구조를 살피면서 리팩토링, KeywordGenerator 클래스와 HttpSpider 등의 클래스들을 삭제했다. 테스트 96개는 아직 잘 돌아가는중. 리팩토링중 inline class 나 inline method , extract method 나 extract class 를 할때, 일단 해당 소스를 복사해서 새 클래스를 만들거나 메소드를 만들고, 이를 이용한뒤, 기존의 메소드들은 Find Usage 기능을 이용하면서 이용하는 부분이 없을때까지 replace 하는 식으로 했는데, 테스트 코드도 계속 녹색바를 유지하면서, 작은 리듬을 유지할 수 있어서 기분이 좋았다.
         http://zeropage.org/~reset/zb/data/promethues_struct.gif
         실제 Database 를 이용하는 테스트에 대해 하나만 실행했을때는 잘 되더니, Suite 에 묶으니까 테스트에서 이용하는 Connection 이 NULL 이 되어버린다. Connection POOL 의 문제인듯. 필요없는 곳에 Connection 열어놓은 것을 하나만 이용했더니 해결.
         기존의 AcceptanceTest 들이 작동을 못한다. (Python 에서 정규표현식 이용. 데이터 파싱 & 추출. Prometheus UI 가 바뀌면 다시 바뀜) 전에 구경한 것처럼 XPath 를 이용하는 방법을 궁리해보거나, Prometheus 쪽에서 XML + XSLT 를 이용하는 방법을 궁리했다. 하지만, 그러기엔 현재 Prometheus 의 JSP 부분을 전부 바꾸는데 부담이 크리라 판단, Servlet Controller 중 Service 클래스 부분에 대해 테스트 코드를 붙이는 방법을 생각해 냈다. 하지만, 막상 작성해보고 나니 그 또한 테스트 코드의 크기가 크긴 하다.
         Refactoring Catalog 정독. 왜 리팩토링 책의 절반이 리팩토링의 절차인지에 대해 혼자서 감동중.; 왜 Extract Method 를 할때 '메소드를 새로 만든다' 가 먼저인지. Extract Class 를 할때 '새 클래스를 정의한다'가 먼저인지. (절대로 '소스 일부를 잘라낸다'나 '소스 일부를 comment out 한다' 가 먼저가 아니라는 것.)
          * Instead of being tentative, begin learning concretely as quickly as possible.
          * Instead of clamming up, communicate more clearly.
         Refactoring 을 하기전 Todo 리스트를 정리하는데만 1시간정도를 쓰고 실제 작업을 들어가지 못했다. 왜 오래걸렸을까 생각해보면 Refactoring 을 하기에 충분히 Coverage Test 코드가 없다 라는 점이다. 현재의 UnitTest 85개들은 제대로 돌아가지만, AcceptanceTest 의 경우 함부로 돌릴 수가 없다. 왜냐하면 현재 Release 되어있는 이전 버전에 영향을 끼치기 때문이다. 이 부분을 보면서 왜 JuNe 이 DB 에 대해 세 부분으로 관리가 필요하다고 이야기했는지 깨닫게 되었다. 즉, DB 와 관련하여 개인 UnitTest 를 위한 개발자 컴퓨터 내 로컬 DB, 그리고 Integration Test 를 위한 DB, 그리고 릴리즈 된 제품을 위한 DB 가 필요하다. ("버전업을 위해 기존에 작성한 데이터들을 날립니다" 라고 서비스 업체가 이야기 한다면 얼마나 황당한가.; 버전 패치를 위한, 통합 테스트를 위한 DB 는 따로 필요하다.)
  • 데블스캠프2009/목요일/연습문제/MFC/김태욱 . . . . 93 matches
         // zxczxcDlg.cpp : implementation file
         static char THIS_FILE[] = __FILE__;
         // Dialog Data
          //{{AFX_DATA(CAboutDlg)
          //}}AFX_DATA
          // ClassWizard generated virtual function overrides
          virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
         // Implementation
          //{{AFX_DATA_INIT(CAboutDlg)
          //}}AFX_DATA_INIT
         void CAboutDlg::DoDataExchange(CDataExchange* pDX)
          CDialog::DoDataExchange(pDX);
          //{{AFX_DATA_MAP(CAboutDlg)
          //}}AFX_DATA_MAP
          //{{AFX_DATA_INIT(CZxczxcDlg)
          //}}AFX_DATA_INIT
          // Note that LoadIcon does not require a subsequent DestroyIcon in Win32
         void CZxczxcDlg::DoDataExchange(CDataExchange* pDX)
          CDialog::DoDataExchange(pDX);
          //{{AFX_DATA_MAP(CZxczxcDlg)
  • PrettyPrintXslt . . . . 92 matches
          XML to HTML Verbatim Formatter with Syntax Highlighting
          obecker@informatik.hu-berlin.de
          xmlns:verb="http://informatik.hu-berlin.de/xmlverbatim"
          <xsl:output method="html" omit-xml-declaration="yes" indent="no"/>
          <xsl:template match="/">
          <xsl:apply-templates select="." mode="xmlverb" />
          </xsl:template>
          <xsl:template match="/" mode="xmlverb">
          <xsl:text> converted by xmlverbatim.xsl 1.0.2, (c) O. Becker </xsl:text>
          <xsl:apply-templates mode="xmlverb">
          </xsl:apply-templates>
          </xsl:template>
          <xsl:template match="verb:wrapper">
          <xsl:apply-templates mode="xmlverb" />
          </xsl:template>
          <xsl:template match="verb:wrapper" mode="xmlverb">
          <xsl:apply-templates mode="xmlverb" />
          </xsl:template>
          <xsl:template match="*" mode="xmlverb">
          <xsl:call-template name="xmlverb-ns" />
  • WebGL . . . . 91 matches
         [http://www.khronos.org/registry/webgl/specs/latest/1.0/ Spec]
         gl.attachShader(shaderProgram, fragmentShader);
         gl.attachShader(shaderProgram, vertexShader);
         [[attachment:WebGL.png WebGl파이프라인]]
         Attribute는 각 포인트 별로 전달되는 정보이고 uniform 은 전체에서 공통적인 정보이다. 일반적으로 Attribute는 각 정점의 위치 정보와 각 지점의 법선 벡터 정보를을 전달한다. uniform은 일반적으로 카메라의 위치나 환경광의 위치처럼 전체적인 것을 전달한다. Attribute나 uniform은 일종의 변수인데 핸들을 얻어와서 그것을 통해 값을 전달할수 있다. 즉 Atrribute나 Uniform은 Javascript측에서 쉐이더로 정보를 보내는 것이다. varying은 쉐이더 간의 정보 전달에 사용된다. vertex shader에서 fragment shader로 값이 전달되며 반대는 불가능하다(파이프라인 구조상 당연한 것이다). 이때 vertex shader는 각 정점(꼭지점) fragment shader는 각 픽셀에 한번 호출되게 되는데 각 정점 사이의 값들은 [보간법]을 거쳐 전달되게 된다(그라디언트 같은 느낌이다 중간값을 알아서 만들어 준다).
         attribute vec3 aVertexPosition;
         attribute vec3 aVertexNormal;
         uniform mat4 matCamara;
         uniform mat4 matProject;
         uniform vec4 materialDiffuse;
          vec3 N = normalize((vec4(aVertexNormal, 1.0) * matCamara).xyz);//nomal compute
          float lambertTerm = max(dot(N, -L), 0.0);
          vec4 Id = lightDiffuse * materialDiffuse * lambertTerm;
          vNormal = normalize((vec4(aVertexNormal, 1.0) * matCamara).xyz);
          gl_Position = matProject * matCamara * vec4((aVertexPosition), 1.0);
         precision highp float;
         uniform vec4 materialDiffuse;
          var url = document.getElementById("vertexShader").getAttribute("src");
          var url = document.getElementById("fragmentShader").getAttribute("src");
          ], function (err, data){
  • ProjectPrometheus/AT_RecommendationPrototype . . . . 89 matches
         #format python
          def _addBookRelation(self, aNewBook, anIncrementPoint):
          aNewBook.addBookRelation(book, self._getPrefCoef(book) + self._getPrefCoef(aNewBook))
          book.addBookRelation(aNewBook, self._getPrefCoef(aNewBook) + self._getPrefCoef(book))
          def _editBookRelation(self, anEditBook, anIncrementPoint):
          anEditBook.addBookRelation(book, anIncrementPoint)
          book.addBookRelation(anEditBook, anIncrementPoint)
          self._addBookRelation(aBook, anIncrementPoint)
          self._editBookRelation(aBook, anIncrementPoint)
          self.bookRelation = {}
          def addBookRelation(self, aBook, aRelationPoint):
          if self.bookRelation.has_key(aBook):
          self.bookRelation[aBook] += aRelationPoint
          self.bookRelation[aBook] = aRelationPoint
          def getRelatedBookList(self):
          return tuple(self.bookRelation)
          return self.bookRelation[aBook]
          def getRecommendationBookList(self):
          for book in self.bookRelation.keys():
          bookList.append((self.bookRelation[book], book))
  • RSSAndAtomCompared . . . . 89 matches
         = RSS and Atom =
         People who generate syndication feeds have a choice of
         feed formats. As of mid-2005, the two
         most likely candidates will be [http://blogs.law.harvard.edu/tech/rss RSS 2.0] and [http://ietfreport.isoc.org/idref/draft-ietf-atompub-format/ Atom 1.0].
         The purpose of this page is to summarize, as clearly and simply as possible, the differences between the RSS 2.0 and Atom 1.0 syndication languages.
         Toru Marumoto has produced [http://www.witha.jp/Atom/RSS-and-Atom.html a Japanese translation].
         == Major/Qualitative Differences ==
         2005/07/21: RSS 2.0 is widely deployed and Atom 1.0 only by a few early adopters, see KnownAtomFeeds and KnownAtomConsumers.
         === Specifications ===
         The RSS 2.0 specification is copyrighted by Harvard University and is frozen. No significant changes can be made and it is intended that future work be done under a different name; Atom is one example of such work.
         The Atom 1.0 specification (in the course of becoming an
         [http://www.ietf.org/html.charters/atompub-charter.html Atompub Working Group]
         [http://www.ietf.org/iesg.html Internet Engineering Steering Group]. The specification is structured in such a way that the IETF could conceivably issue further versions or revisions of this specification without breaking existing deployments, although there is no commitment, nor currently expressed interest, in doing so.
         See the Extensibility section below for how each can be extended without changing the specifications themselves.
         [http://www.bblfish.net/blog/page7.html#2005/06/20/22-28-18-208 reports] of problems with interoperability and feature shortcomings.
         The Atompub working group is in the late stages of developing the
         [http://ietfreport.isoc.org/idref/draft-ietf-atompub-protocol/ Atom Publishing Protocol], which is closely integrated with the Atom feed format and is based on the experience with the existing protocols.
         RSS 2.0 requires feed-level title, link, and description. RSS 2.0 does not require that any of the fields of individual items in a feed be present.
         Atom 1.0 requires that both feeds and entries include a title (which may be empty), a unique identifier, and a last-updated timestamp.
         RSS 2.0 may contain either plain text or escaped HTML, with no way to indicate which of the two is provided. Escaped HTML is ugly (for example, the string AT&T would be expressed as “AT&amp;T”) and has been a source of difficulty for implementors. RSS 2.0 cannot contain actual well-formed XML markup, which reduces the re-usability of content.
  • 데블스캠프2009/목요일/연습문제/MFC/서민관 . . . . 87 matches
         // testMFCDlg.cpp : implementation file
         static char THIS_FILE[] = __FILE__;
          // Dialog Data
          //{{AFX_DATA(CAboutDlg)
          //}}AFX_DATA
          // ClassWizard generated virtual function overrides
          virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
          // Implementation
          //{{AFX_DATA_INIT(CAboutDlg)
          //}}AFX_DATA_INIT
         void CAboutDlg::DoDataExchange(CDataExchange* pDX)
          CDialog::DoDataExchange(pDX);
          //{{AFX_DATA_MAP(CAboutDlg)
          //}}AFX_DATA_MAP
          //{{AFX_DATA_INIT(CTestMFCDlg)
          //}}AFX_DATA_INIT
          // Note that LoadIcon does not require a subsequent DestroyIcon in Win32
         void CTestMFCDlg::DoDataExchange(CDataExchange* pDX)
          CDialog::DoDataExchange(pDX);
          //{{AFX_DATA_MAP(CTestMFCDlg)
  • 서지혜/단어장 . . . . 87 matches
          * [http://www.youtube.com/watch?v=zBFEcfYW-Ug&list=PLgA4hVlv6UnuGH7lvUPFdekHCZuaWkWzo 7 rules to learn english fast] : 영어를 공부할 때 단어 하나만 공부하지 마세요!
          1. 제조하다 : NAS(Network Attached Storage) is often manufactured as a computer appliance
         '''Imperative'''
          명령적인 : 1. imperative programming. 2. We use the Imperative for direct orders and suggestions and also for a variety of other purposes
          당황하게 하다 : The thing that baffles me is that the conversations do not center around the adults but almost exclusively about their respective kids
         '''Abbreviate'''
          1. What you need to do, instead, is to abbreviate.
          2. Mister is usually abbreviated to Mr.
          음절 : 1. Don't breathe a syllable(word) about it to anyone. 2. He explained it in words of one syllable. 3. He couldn't utter a syllable in reply(그는 끽소리도 못했다)
         '''Administration'''
          관리직 : administration officer
          1. I've decided to study full-time to finish my business administration degree
          2. I'm working on a master's degree in business administration.
         '''administer (= administrate)'''
          집행하다 : It is no basis on which to administer law and order that people must succumb to the greater threat of force.
         '''citation'''
          인용 : The forms of citations generally subscribe to one of the generally excepted citations systems, such as Oxford, Harvard, and other citations systems, as their syntactic conventions are widely known and easily interrupted by readers.
          Density is physical intrinsic property of any physical object, whereas weight is an extrinsic property that varies depending on the strength of the gravitational field in which the respective object is placed.
         '''discriminate'''
          식별하다 : The computer program was unable to discriminate between letters and numbers.
  • 니젤프림/BuilderPattern . . . . 86 matches
         == Builder Pattern ==
         쉽게 말해서, 아주 복잡한 오브젝트를 생성해야하는데, 그 일을 오브젝트를 원하는 클래스가 하는게 아니라, Builder 에게 시키는 것이다. 그런데 자꾸 나오는 생성/표현 의 의미는, 바로 director 의 존재를 설명해 준다고 할 수 있다. director 는 Building step(construction process) 을 정의하고 concrete builder 는 product 의 구체적인 표현(representation) 을 정의하기에.. 그리고, builder 가 추상적인 인터페이스를 제공하므로 director 는 그것을 이용하는 것이다.
         http://www2.ing.puc.cl/~jnavon/IIC2142/patexamples_files/pateximg2.gif
         Builder 를 구현한 부분. 일반적으로 다수개의 Concrete Builder 가 존재하며, Builder 가 제공하는 인터페이스를 이용해서 late binding 의 형식으로 사용하게 된다. 물론, builder pattern 에서의 주 관심하는 Product 를 만들어내는 것이다.
         만들어야 할 대상. 일반적으로 Builder Pattern 이 생성하는 Product 는 Composite Pattern 으로 이루어진다.
          private String dough = "";
          private String sauce = "";
          private String topping = "";
          public void createNewPizzaProduct() { pizza = new Pizza(); }
          private PizzaBuilder pizzaBuilder;
          pizzaBuilder.createNewPizzaProduct();
          public static void main(String[] args) {
         ==== Composite Pattern 을 생성해주는 Builder Pattern 예제 코드 ====
         Head First Design Pattern 에 나오는, Vacation Planner 를 구현한 코드
          throw new UnsupportedOperationException();
          throw new UnsupportedOperationException();
          throw new UnsupportedOperationException();
          throw new UnsupportedOperationException();
          throw new UnsupportedOperationException();
          throw new UnsupportedOperationException();
  • Monocycle/조현태 . . . . 85 matches
         struct suchPointData {
         int GetShortPathTime(POINT startPoint, POINT endPoint)
          queue<suchPointData*> suchPointDatas;
          suchPointData* startData = new suchPointData;
          startData->timeCount = 0;
          startData->seePoint = 0;
          startData->seeChangeCount = 0;
          startData->moveDistance = 0;
          startData->nowPoint = startPoint;
          suchPointDatas.push(startData);
          while(0 != suchPointDatas.size())
          suchPointData* nowSuchData = suchPointDatas.front();
          suchPointDatas.pop();
          if (nowSuchData->nowPoint.x == endPoint.x && nowSuchData->nowPoint.y == endPoint.y)
          if (0 == nowSuchData->moveDistance % 5)
          int returnData = nowSuchData->timeCount;
          while(0 != suchPointDatas.size())
          suchPointData* deleteTargetData = suchPointDatas.front();
          suchPointDatas.pop();
          delete deleteTargetData;
  • PragmaticVersionControlWithCVS/CommonCVSCommands . . . . 85 matches
         || [PragmaticVersionControlWithCVS/AccessingTheRepository] || [PragmaticVersionControlWithCVS/UsingTagsAndBranches] ||
         cvs checkout: Updating sesame
         cvs checkout: Updating sesame2
         cvs checkout: Updating sesame2/sesame2
         cvs checkout: Updating sesame2/sesame2/templates
         U sesame2/sesame2/templates/test.test
         date: 2005-08-02 13:16:58 +0000; author: sapius; state: Exp; lines: +4 -0
         date: 2005-08-02 05:50:14 +0000; author: sapius; state: Exp;
         date: 2005-08-02 05:50:14 +0000; author: sapius; state: Exp; lines: +0 -0
         cvs checkout: Updating sesame
         || E-Mail format || Mon Jun 9 17:12:56 CDT 2003 [[HTML(<BR/>)]] Mon, Jun 9 17:12:56 2003 [[HTML(<BR/>)]] Jun 9 17:12:56 2003 [[HTML(<BR/>)]] June 9, 2003 [[HTML(<BR/>)]] ||
         || Relative || 1 day ago [[HTML(<BR/>)]] 27 minutes ago [[HTML(<BR/>)]] last monday [[HTML(<BR/>)]] yesterday [[HTML(<BR/>)]] third week ago ||
         == Keeping Up To Date ==
         '''cvs update -d [files or directory]''' : 현재 디렉토리에 존재하는 모든 파일 폴더를 저장소의 최신버전으로 체크아웃. -d 옵션은 추가된 디렉토리가 존재하는 경우에 cvs가 현재 폴더에 자동으로 폴더를 만들어서 체크아웃 시킨다.
         root@eunviho:~/tmpdir/sesame# cvs update -d template
         cvs update: Updating template
         U template/file1.java
         root@eunviho:~/tmpdir/sesame# cvs update
         cvs update: Updating .
         cvs update: Updating template
  • WikiTextFormattingTestPage . . . . 85 matches
         This page originated on Wiki:WardsWiki, and the most up-to-date copy resides there. This page has been copied here in order to make a quick visual determination of which TextFormattingRules work for this wiki. Currently it primarily determines how text formatted using the original Wiki:WardsWiki text formatting rules is displayed. See http://www.c2.com/cgi/wiki?WikiOriginalTextFormattingRules.
         If you want to see how this text appears in the original Wiki:WardsWiki, see http://www.c2.com/cgi/wiki?WikiEngineReviewTextFormattingTest
          * CLUG Wiki (older version of WardsWiki, modified by JimWeirich) -- http://www.clug.org/cgi/wiki.cgi?WikiEngineReviewTextFormattingTest
          * MoinMoin (MoinMoin 0.5) -- http://www.encrypted.net/~jh/moinmoin/moin.cgi/WikiTextFormattingTestPage
          * Kit-T-Wiki (TWiki 01) -- http://kit.sourceforge.net/cgi-bin/view/Main/WikiReviewTextFormattingTest
          * TWiki (TWiki 03) -- http://twiki.sourceforge.net/cgi-bin/view/TWiki/WikiReviewTextFormattingTest
         http://narasimha.tangentially.com/cgi-bin/n.exe?twiky%20editWiki(%22WikiEngineReviewTextFormattingTest%22)
          * UseMod wiki (UseMod 0.88) -- http://www.usemod.com/cgi-bin/wiki.pl?WikiEngineReviewTextFormattingTest
         This page contains sample marked up text to make a quick visual determination as to which Wiki:TextFormattingRules work for a given wiki. To use the page, copy the text from the edit window, and paste it in the wiki under test. Then read it.
         And, the next logical thing to do is put a page like this on a public wiki running each Wiki:WikiEngine, and link to it from the appropriate Wiki:WikiReview page, as has been done in some cases -- see above.
         The next line (4 dashes) should show up as a horizontal rule. In a few wikis, the width of the rule is controlled by the number of dashes. That will be tested in a later section of this test page.
         '''Wiki:WikiOriginalTextFormattingRules'''
         This first section will test the Wiki:WikiOriginalTextFormattingRules.
         If a wiki properly interprets the Wiki:WikiOriginalTextFormattingRules, the text will appear as described here.
         The original Wiki:WardsWiki text formatting rules make no provision for headings. They can be simulated by applying emphasis. See the next several lines.
         separate
         Note that the logic seems to be easily confused. In the next paragraph I combine the two sentences (with no other changes). Notice the results. (The portion between the "innermost" set of triple quotes, and nothing else, is bold.)
         This is another bulleted list, formatted the same way but with shortened lines to display the behavior when nested and when separated by blank lines.
         The following nested list is numbered. Numbers are created by replacing the "*" with "1."
         View the page in the original Wiki:WardsWiki, note the numbering, and then compare it to what it looks like in the wiki being tested.
  • 데블스캠프2009/목요일/연습문제/MFC/송지원 . . . . 85 matches
         // Dialog Data
          //{{AFX_DATA(CTestDlg)
          double m_STATUS;
          //}}AFX_DATA
          // ClassWizard generated virtual function overrides
          virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
         // Implementation
          // Generated message map functions
          afx_msg void operation();
         //{{AFX_INSERT_LOCATION}}
         // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
         // testDlg.cpp : implementation file
         static char THIS_FILE[] = __FILE__;
         // Dialog Data
          //{{AFX_DATA(CAboutDlg)
          //}}AFX_DATA
          // ClassWizard generated virtual function overrides
          virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
         // Implementation
          //{{AFX_DATA_INIT(CAboutDlg)
  • 정모/2011.4.4/CodeRace . . . . 85 matches
          * Navigator : Driver에게 어떻게 해야할지 알려주는 역할. 키보드를 직접 잡지 않는다.
          * Driver : Navigator가 알려주는대로 실제 코딩하는 역할. Navigator의 지시 없이 혼자 코딩하지 않는다.
          static private String name = "";
          static boolean isOnShip;
         public class Raton {
          private static String city = "A";
          public static void main(String[] args) {
          person Raton = new person("레이튼");
          Raton.city = "A";
          Raton.isOnShip = true;
          Raton.moveCity();
          Raton.moveCity();
          char location1 = 'A';
          char location2 = 'A';
          char location3 = 'A';
          cout << "레이튼의 현재 위치 " << location1 << endl;
          cout << "루크의 현재 위치 " << location2 << endl;
          cout << "나쁜 아저씨의 현재 위치 " << location3 << endl;
          location1 = location1=='B'?'A':'B';
          location2 = location2=='B'?'A':'B';
  • DesignPatternsAsAPathToConceptualIntegrity . . . . 84 matches
         원문 : http://www.utdallas.edu/~chung/patterns/conceptual_integrity.doc
         Design Patterns as a Path to Conceptual Integrity
         During our discussions about the organization of design patterns there was a comment about the difficulty of identifying the “generative nature” of design patterns. This may be a good property to identify, for if we understood how design patterns are used in the design process, then their organization may not be far behind. Alexander makes a point that the generative nature of design patterns is one of the key benefits. In practice, on the software side, the generative nature seems to have fallen away and the more common approach for using design patterns is characterized as “when faced with problem xyz…the solution is…” One might say in software a more opportunistic application of design patterns is prevalent over a generative use of design patterns.
         The source of this difference may be the lack of focus on design patterns in the design process. In fact, we seldom see discussions of the design process associated with design patterns. It is as though design patterns are a tool that is used independent of the process. Let’s investigate this further:
         A comment from Carriere and Kazman at SEI is interesting: “What Makes a Good Object Oriented Design?”
         This is what Brooks wrote 25 years ago. "… Conceptual integrity is the most important consideration in system design."[Brooks 86] He continues: “The dilemma is a cruel one. For efficiency and conceptual integrity, one prefers a few good minds doing design and construction. Yet for large systems one wants a way to bring considerable manpower to bear, so that the product can make a timely appearance. How can these two needs be reconciled?”
         One approach would be to identify and elevate a single overriding quality (such as adaptability or isolation of change) and use that quality as a foundation for the design process. If this overriding quality were one of the goals or even a specific design criteria of the process then perhaps the “many” could produce a timely product with the same conceptual integrity as “a few good minds.” How can this be accomplished and the and at least parts of the “cruel dilemma” resolved?
         The following summary is from “Design Patterns as a Litmus Paper to Test the Strength of Object-Oriented Methods” and may provide some insight:
         1. Some O-O design methodologies provide a systematic process in the form of axiomatic steps for developing architectures or micro-architectures that are optimality partitioned (modularized) according to a specific design criteria.
         2. The following methodologies are listed according to their key design criteria for modularization:
         a. Booch in OOSE relies heavily on expert designers and experience to provide the system modularization principle.
         OOSE 의 Booch 는 system modularization principle 을 제공하기 위해 전문가 디자이너와 경험에 매우 의존적이다.
         b. OMT, Coad-Yourdon, Shaer-Mellor are data driven and as such raise data dependency as the system modularization principle.
         OMT, Coad-Yourdon, Shaer-Mellor 의 경우 data driven 이며, system modularization principle 로서 데이터 의존성을 들었다.
         c. Wirfs-Brock with Responsibility Driven Design (RDD) raises contract minimization as the system modularization principle.
         ResponsibilityDrivenDesign 의 Wirfs-Brock는 system modularization 에 대해 계약 최소화를 들었다.
         d. Snoeck with Event Driven Design (EDD) raises existence dependency as the system modularization principle.
         EventDrivenDesign 의 Snoeck 는 system modularization principle 에 대해 의존성 존재를 들었다.
         3. According to the authors only RDD and EDD have axiomatic rules for OO design and therefore are strong OO design methods.
         4. Design patterns provide guidance in designing micro-architectures according to a primary modularization principle: “encapsulate the part that changes.”
  • Kongulo . . . . 83 matches
         # modification, are permitted provided that the following conditions are
         # in the documentation and/or other materials provided with the
         # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
         '''A simple web crawler that pushes pages into GDS. Features include:
          - Knows basic and digest HTTP authentication
         Will not work unless Google Desktop Search 1.0 or later is installed.
         # Matches URLs in <a href=...> tags. Chosen above htmllib.HTMLParser because
         # Matches <frame src="bla"> tags.
          '''An exception handler for HTTP that never throws an exception for various
          error codes that Kongulo always checks explicitly rather than catching them
          def Populate(self, options):
          password for each user-id/substring-of-domain that the user provided using
          for passdata in self.passwords:
          if name.find(passdata[0]) != -1:
          return (passdata[1], passdata[2])
         # A URL opener that can do basic and digest authentication, and never raises
         # To be a nice Internet citizen, we identify ourselves properly so that
         assert hasattr(opener.handlers[0],
          '''Setup internal state like RobotFileParser does.'''
          """Strip repeated sequential definitions of same user agent, then
  • DelegationPattern . . . . 82 matches
         클래스에 대해 기능을 확장하는 두가지 방법중 하나이다. 하나는 상속이고 하나는 위임(Delegation) 이다. 상속을 하지 않아도 해당 클래스의 기능을 확장시킬 수 있는 방법이 된다.
         example) 예전에 VonNeumannAirport 을 JuNe 과 ["1002"] 가 Pair 하던중 JuNe 이 작성했던 Refactoring 으로서의 Delegation.
          private int _traffic;
          private int [] _arrivalGate;
          private int [] _departureGate;
          private PassengerSet psg;
          ListIterator iter = psg.passengers.listIterator();
          public void setArrivalGates(int [] aCity) {
          _arrivalGate = aCity;
          public void setDepartureGates(int [] aCity) {
          _departureGate = aCity;
          public int [] getArrivalGates() {
          return _arrivalGate;
          public int [] getDepartureGates() {
          return _departureGate;
          int distance=java.lang.Math.abs(_getArrivalCityGate(fromCity)
          -_getDepartureCityGate(toCity))+1;
          private void movePassenger(int fromCity, int toCity, int aNumber) {
         여기까지는 Airport 이다. 하지만 VonNeumannAirport 문제에서도 보듯, 실제 Input 에 대해서 Configuration 은 여러 Set 이 나온다.
         이 기능을 추가하기 위해 일단 Airport Code 를 Refactoring 하기로 했다. 이를 위해 Airport 의 기능중 Configuration 과 관련된 기능에 대해 Configuration 을 Extract 하고, 내부적으로는 Delegation 함으로서 외부적으로 보이는 기능에 대해서는 일관성을 유지한다. (Test Code 가 일종의 Guard 역할을 했었음)
  • MobileJavaStudy/SnakeBite/FinalSource . . . . 82 matches
          Image splashImage = Image.createImage("/Splash.png");
          } catch(IOException e) {
          public static final int LEFT = 1;
          public static final int RIGHT = 2;
          public static final int UP = 3;
          public static final int DOWN = 4;
          private final int xRange;
          private final int yRange;
          private Vector cellVector;
          private int headIndex;
          private int direction;
          private boolean growing;
          return (SnakeCell)cellVector.elementAt((headIndex + index) % length());
          cellVector.insertElementAt(currentHead, headIndex);
          private final int boardWallWidth = 4;
          private final int snakeCellWidth = 4;
          private final int canvasWidth;
          private final int canvasHeight;
          private final int boardX;
          private final int boardY;
  • C++스터디_2005여름/도서관리프로그램/조현태 . . . . 81 matches
         book_database* datas;
          datas=new book_database();
          delete datas;
          datas->input_data(temp_name,temp_writer,temp_isbn);
          const char output_data[2][5]={"대여","반납"};
          cout << output_data[select] << "하실 책을 무엇으로 검색하시겠습니까? (1.이름 2.ISBN)\n>>";
          where=datas->such(temp_char,selected);
          datas->return_line(where, temp_name, temp_writer, temp_isbn);
          if (-1==datas->data_process(where, (select+1)%2))
          cout << output_data[select] << "에 실패하였습니다.\n";
          cout << output_data[select] << "을 완료하였습니다.\n";
         int book_database::get_size(char* target)
         void book_database::str_copy(char* target, char* original)
         int book_database::str_cmp(char* target_a, char* target_b)
         book_database::book_database()
          number_data=0;
          datas[i]=0;
         book_database::~book_database()
          for (register int i=0; i<number_data; ++i)
          delete datas[j][i];
  • 데블스캠프2009/목요일/연습문제/MFC/정종록 . . . . 81 matches
         // TestDlg.cpp : implementation file
         static char THIS_FILE[] = __FILE__;
          // Dialog Data
          //{{AFX_DATA(CAboutDlg)
          //}}AFX_DATA
          // ClassWizard generated virtual function overrides
          virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
          // Implementation
          //{{AFX_DATA_INIT(CAboutDlg)
          //}}AFX_DATA_INIT
         void CAboutDlg::DoDataExchange(CDataExchange* pDX)
          CDialog::DoDataExchange(pDX);
          //{{AFX_DATA_MAP(CAboutDlg)
          //}}AFX_DATA_MAP
          //{{AFX_DATA_INIT(CTestDlg)
          //}}AFX_DATA_INIT
          // Note that LoadIcon does not require a subsequent DestroyIcon in Win32
         void CTestDlg::DoDataExchange(CDataExchange* pDX)
          CDialog::DoDataExchange(pDX);
          //{{AFX_DATA_MAP(CTestDlg)
  • Garbage collector for C and C++ . . . . 80 matches
          * -DGC_OPERATOR_NEW_ARRAY -DJAVA_FINALIZATION 을 CFLAGS 에 추가.
          * C++ 에서 사용하려면 -DGC_OPERATOR_NEW_ARRAY 를 추가하여 컴파일 하는 것이 좋다.
         # -DSILENT disables statistics printing, and improves performance.
         # This causes the collector to assume that all inaccessible
         # objects should have been explicitly deallocated, and reports exceptions.
         # Finalization and the test program are not usable in this mode.
         # gc.h before performing thr_ or dl* or GC_ operations.)
         # Alternatively, GC_all_interior_pointers can be set at process
         # initialization time.
         # usually causing it to use less space in such situations.
         # -DDONT_ADD_BYTE_AT_END is meaningful only with -DALL_INTERIOR_POINTERS or
         # causes all objects to be padded so that pointers just past the end of
         # -DDONT_ADD_BYTE_AT_END disables the padding.
         # implementations, and it sometimes has a significant performance
         # programs that call things like printf in asynchronous signal handlers.
         # compilers that reorder stores. It should have been.
         # collector on UNIX machines. It may greatly improve its performance,
         # since this may avoid some expensive cache synchronization.
         # -DGC_NO_OPERATOR_NEW_ARRAY declares that the C++ compiler does not support
         # the new syntax "operator new[]" for allocating and deleting arrays.
  • Java/CapacityIsChangedByDataIO . . . . 80 matches
         Show String Buffer capactity by Data I/O in increment
         data length: 0 capacity: 16
         data length: 17 capacity: 34 <-- 현재 길이의 두배로
         data length: 35 capacity: 70
         data length: 71 capacity: 142
         data length: 143 capacity: 286
         data length: 287 capacity: 574
         data length: 575 capacity: 1,150
         data length: 1,151 capacity: 2,302
         data length: 2,303 capacity: 4,606
         data length: 4,607 capacity: 9,214
         data length: 9,215 capacity: 18,430
         data length: 18,431 capacity: 36,862
         data length: 36,863 capacity: 73,726
         data length: 73,727 capacity: 147,454
         data length: 147,455 capacity: 294,910
         data length: 294,911 capacity: 589,822
         data length: 589,823 capacity: 1,179,646
         data length: 1,000,000 capacity: 1,179,646 <-- 마지막 출력은 임의이다.
         Show String Buffer capactity by Data I/O in decrement
  • OpenGL스터디_실습 코드 . . . . 80 matches
         GLfloat x1 = 0.0f;
         GLfloat y1 = 0.0f;
         GLfloat rsize = 25;
         GLfloat xstep = 1.0f;
         GLfloat ystep = 1.0f;
         GLfloat windowWidth;
         GLfloat windowHeight;
          GLfloat aspectRatio;
          glMatrixMode(GL_PROJECTION);
          aspectRatio = (GLfloat)w/(GLfloat)h;
          windowHeight = 100/aspectRatio;
          windowWidth = 100*aspectRatio;
          glMatrixMode(GL_MODELVIEW);
          glutCreateWindow("simple -> GLRect -> Bounce");
         #include <math.h>
         //pie in math.
         static GLfloat xRot = 0.0f;
         static GLfloat yRot = 0.0f;
          GLfloat x,y,z,angle;
          GLfloat sizes[2];
  • Gof/Adapter . . . . 79 matches
         == Motivation ==
         http://zeropage.org/~reset/zb/data/adapt105.gif
         다음과 같은 경우에 AdapterPattern를 이용한다.
         http://zeropage.org/~reset/zb/data/adapt106.gif
         http://zeropage.org/~reset/zb/data/adapt104.gif
          - Adpatee 의 인터페이스를 Target 의 인터페이스에 adapt 시킨다.
         == Collaborations ==
          * 해당 클래스를 이용하는 Client들은 Adapter 인스턴스의 operation들을 호출한다. adapter는 해당 Client의 요청을 수행하기 위해 Adaptee 의 operation을 호출한다.
         http://zeropage.org/~reset/zb/data/adapt107.gif
         == Implementation ==
         http://zeropage.org/~reset/zb/data/adapt103.gif
         http://zeropage.org/~reset/zb/data/adapt102.gif
          createGraphicNodeBlock:
          [:node | node createGraphicNode].
         We'll give a brief sketch of the implementation of class and object adapters for the Motivation example beginning with the classes Shape and TextView.
          virtual Manipulator* CreateManipulator () const;
         Shape assumes a bounding box defined by its opposing corners. In contrast, TextView is defined by an origin, height, and width. Shape also defines a CreateManipulator operation for creating a Manipulator object, which knowns how to animate a shape when the user manipulates it. TextView has no equivalent operation. The class TextShape is an adapter between these different interfaces.
         A class adapter uses multiple inheritance to adapt interfaces. The key to class dapters is to use one inheritance branch to inherit the interface and another branch to inherit the implementation. The usual way to make this distinction in C++ is to inherit the interface publicly and inherit the implementation privately. We'll use this convention to define the TextShape adapter.
         class TextShape : public Shape, private TextView {
          virtual Manipulator* CreateManipulator () const;
  • LinkedList/영동 . . . . 76 matches
         struct Node{ //Structure 'Node' has its own data and link to next node
          int data; //Data of node
          Node(int initialData){ //Constructor with initializing data
          data=initialData; //Assign data
         int enterData(); //Function which enter the data of node
         Node * allocateNewNode(Node * argNode, int argData);//Function which allocate new node in memory
          Node * firstAddress=new Node(enterData());//Create the first address to linked list
          Node * currentNode;//Create temporary node which indicates the last node of linked list
          //Create the next node to linked list
          currentNode=allocateNewNode(currentNode, enterData());
          cout<<"Address\t Data Value\tNext Address\n";
          cout<<tempNode<<"\t"<<tempNode->data<<"\t"<<tempNode->nextNode<<"\n";
         Node * allocateNewNode(Node * argNode, int argData)
          argNode->nextNode=new Node(argData);
         int enterData()
          int returnData;
          cin>>returnData;
          return returnData;
         struct Node{ //Structure 'Node' has its own data and link to next node
          int data; //Data of node
  • AcceleratedC++/Chapter12 . . . . 75 matches
         || ["AcceleratedC++/Chapter11"] || ["AcceleratedC++/Chapter13"] ||
          Str(size_type n, char c):data(n, c) { }
          std::copy(cp, cp+std::strlen(cp), std::back_inserter(data));
          template<class In> Str(In b, In e) {
          std::copy(b, e, std::back_inserter(data));
         private:
          Vec<char> data;
         == 12.2 Automatic conversions ==
         == 12.3 Str operations ==
         '''operator[] implementation'''
          char& operator[](size_type i) { return data[i]; }
          const char& operator[](size_type i) const { return data[i]; }
         private:
          Vec<int> data;
         cin.operator>>(s); // istream 을 우리가 만든 객체가 아니기 때문에 재정의할 수 없다.
         s.operator>>(cin); // 표준 istream 의 형태가 아니다.
          상기와 같은 이유로 operator>>는 비멤버함수로서 선언이 되어야 한다.
         std::istream& operator>>(std::istream&, Str&);
         std::ostream& operator<<(std::ostream&, const Str&);
         ostream& operator<<(ostream& os, const Str& s) {
  • ReadySet 번역처음화면 . . . . 75 matches
          '''* What problem does this project address?'''
         Software development projects require a lot of "paperwork" in the form of requirements documents, design documents, test plans, schedules, checklists, release notes, etc. It seems that everyone creates the documents from a blank page, from the documents used on their last project, or from one of a handful of high-priced proprietary software engineering template libraries. For those of us who start from a blank page, it can be a lot of work and it is easy to forget important parts. That is not a very reliable basis for professional engineering projects.
          '''* What is the goal of this project?'''
         ReadySET is an open source project to produce and maintain a library of reusable software engineering document templates. These templates provide a ready starting point for the documents used in software development projects. Using good templates can help developers work more quickly, but they also help to prompt discussion and avoid oversights.
          '''* What are some key features that define the product?'''
          * Templates for many common software engineering documents. Including:
          * Project proposal template
          * Project plan template
          * Use case template
          * QA plan template
          * Several design templates
          * System test case template
          * Release checklist template
          '''*What makes this product different from others?'''
         This is an open source project that you are welcome to use for free and help make better. Existing packages of software engineering templates are highly costly and biased by the authorship of only a few people, by vendor-client relationships, or by the set of tools offered by a particular vendor.
         These templates are in pure XHTML with CSS, not a proprietary file format. That makes them easier to edit and to track changes using freely available tools and version control systems. The templates are designed to always be used on the web; they use hyperlinks to avoid duplicating information.
         The templates are not burdened with information about individual authorship or document change history. It is assumed that professional software developers will keep all project documents in version control systems that provide those capabilities.
         These templates are not one-size-fits-all and they do not attempt to provide prescriptive guidance on the overall development process. We are developing a broad library of template modules for many purposes and processes. The templates may be filled out in a suggested sequence or in any sequence that fits your existing process. They may be easily customized with any text or HTML editor.
          '''*What is the scope of this project?'''
         We will build templates for common software engineering documents inspired by our own exprience.
  • WikiSlide . . . . 75 matches
          * a technology for collaborative creation of internet and intranet pages
          * '''Fast''' - fast editing, communicating and easy to learn
          * '''Uncomplicated''' - everything works in a standard browser
          * '''Easy''' - no HTML knowledge necessary, simply formatted text
          * Personal Information Management, Knowledgebases, Brainstorming
          * Collaboration, Coordination and Communication platform
          * Creating documentation and slide shows ;)
          * Link with User-ID ( (!) ''in any case, put a bookmark on that'')
          * Navigation: Quicklinks, Icons link to system actions (HelpOnNavigation)
         == How do I navigate? ==
         Searching and Navigation:
          * Icons at top right (HelpOnNavigation)
          * Title search and full text search at bottom of page
         Good places to start your Wiki exploration:
          * RecentChanges: What has changed recently?
          * SiteNavigation: A list of the different indices of the Wiki
         To edit a page, just click on [[Icon(edit)]] or on the link "`EditText`" at the end of the page. A form will appear enabling you to change text and save it again. A backup copy of the previous page's content is made each time.
         You can check the appearance of the page without saving it by using the preview function - ''without'' creating an entry on RecentChanges; additionally there will be an intermediate save of the page content, if you have created a homepage ([[Icon(home)]] is visible).
         (!) If you discover an interesting format somewhere, just use the "raw" icon to find out how it was done.
         (!) You can subscribe to pages to get a mail on every change of that page. Just click on the envelope [[Icon(subscribe)]] at top right of the page.
  • CubicSpline/1002/TriDiagonal.py . . . . 74 matches
         #format python
         def getMatrixY(aMatrixLower, b):
          matrixY = makeEmptyMatrix(len(b),1)
          matrixY[n][0] = float(b[n][0] - _minusForGetMatrixY(n, aMatrixLower, matrixY)) / float(aMatrixLower[n][n])
          return matrixY
         def getMatrixX(aMatrixUpper, y):
          limitedMatrix = len(y)
          matrixX = makeEmptyMatrix(limitedMatrix,1)
          for n in range(limitedMatrix-1, -1,-1):
          matrixX[n][0] = float(y[n][0] - _minusForGetMatrixX(n, aMatrixUpper, matrixX)) / float(aMatrixUpper[n][n])
          #print "x[%d]: y[%d][0] - minus:[%f] / u[%d][%d]:%f : %f"% (n,n,_minusForGetMatrixX(n, aMatrixUpper, matrixX),n,n, aMatrixUpper[n][n], matrixX[n][0])
          return matrixX
         def _minusForGetMatrixX(n, aUpperMatrix, aMatrixX):
          limitedMatrix = len(aMatrixX)
          for t in range(n+1,limitedMatrix):
          totalMinus += aUpperMatrix[n][t] * aMatrixX[t][0]
         def _minusForGetMatrixY(n, aLowerMatrix, aMatrixY):
          totalMinus += aLowerMatrix[n][t] * aMatrixY[t][0]
         def makeEmptyMatrix(aRow, aCol):
          emptyMatrix = []
  • 데블스캠프2011/다섯째날/HowToWriteCodeWell/정의정,김태진 . . . . 73 matches
         public class Elevator {
          public static final int RUNNING = 1;
          public static final int SHUT_DOWN = 2;
          public static final int GUARDS_RESPONSE = 3;
          public static final int OVER_WEIGHT = 4;
          public static final int ROBOT = 5;
          public int status;
          public Elevator(int i, int j) {
          status = 1;
          else if(status == 1){
          // TODO Auto-generated method stub
          public int status() {
          // TODO Auto-generated method stub
          return status;
          status = 2;
          status = 1;
          public void callElevatorUp(int i) {
          public void callElevatorDown(int i) {
          status = 3;
          status = 4;
  • BabyStepsSafely . . . . 72 matches
         This article outlines the refactoring of an algorithm that generate the prime numbers up to a user specified maximum. This algorithm is called the Sieve of Eratosthenes. This article demonstrates that the granularity of the changes made to the source code are very small and rely completely on the ability to recompile and test the code after every change no matter how small. The step where the code is tested insures that each step is done safely. It is important to note that the execution of tests do not actually guarantee that the code is correct. The execution of the tests just guarantees that it isn't any worse that it used to db, prior to the change. This is good enough for the purposes of refactoring since we are tring to not damage anything thay may have worked before Therefore for each change in the code we will be recompilling the code and running the tests.
         The code that is to be refactored has existed in the system for awhile. It has undergone a couple of transformations. Initially it returned an array of int variables that are the prime numbers. When the new collection library was introduced in Java2 the interface was changed to return a List of Integer objects. Going forward the method that returns a List is the preferred method, so the method that returns an array has been marked as being deprecated for the last couple of releases. During this release the array member function will be removed. Listing1, "Class GeneratePrimes," contains the source code for both methods.
         The algorithm is quite simple. Given an array of integers starting at 2.Cross out all multiples of 2. Find the next uncrossed integer, and cross out all of its multiples. Repeat until you have passed the square root of the maximum value. This algorithm is implemented in the method generatePrimes() in Listing1. "Class GeneratePrimes,".
         pulbic class GeneratePrimes
          public static List primes(int maxValue)
          int [] primes = generatePrimes(maxValue);
          /** @param maxValue is the generation limit.
          public static int [] generatePrimes(int maxValue)
          // declarations
          for(i=2; i<Math.sqrt(s)+1; i++)
         The test cases for the GeneratePrimes class are implemented using the JUnit testing framework. The tests are contained in class called TestGeneratePrames. There are a 5 tests for each return type (array and List), which appear to be similiar. Our first step to insure보증하다, 책임지다 that we are starting from a stable base is to make sure what we have works.
         Therefore, recompile the both GeneratePrimes and TestGeneratePrime and run the tests.
         Class TestsGeneratePrimes
         public class TestGeneratePrimes extends TestCase
          private int[] m_primes = new int[]
          public TestGeneratePrimes(String name)
          int [] centArray = GeneratePrimes.generatePrimes(100);
          List centList = GeneratePrimes.primes(100);
          int [] primes = GeneratePrimes.getneratePrimes(bound);
          List primes = GeneratePrimes.primes(bound);
  • Gof/Facade . . . . 71 matches
         == Motivation ==
         http://zeropage.org/~reset/zb/data/facad057.gif
         예를 들기 위해, 어플리케이션에게 컴파일러 서브시스템을 제공해주는 프로그래밍 환경이 있다고 하자. 이 서브시스템은 컴파일러를 구현하는 Scanner, Parser, ProgramNode, BytecodeStream, 그리고 ProgramNodeBuilder 클래스를 포함하고 있다. 몇몇 특수화된 어플리케이션은 이러한 클래스들을 직접적으로 접근할 필요가 있을 것이다. 하지만, 대부분의 컴파일러 시스템을 이용하는 클라이언트들은 일반적으로 구문분석(Parsing)이나 코드 변환 (Code generation) 의 세부적인 부분에 대해 신경쓸 필요가 없다.(그들은 단지 약간의 코드를 컴파일하기 원할뿐이지 다른 강력한 기능을 알 필요가 없다.) 그러한 클라이언트들에게는 컴파일러 서브시스템의 강력하지만 저급레벨인 인터페이스는 단지 그들의 작업을 복잡하게 만들 뿐이다.
         http://zeropage.org/~reset/zb/data/facad058.gif
         이럴때 Facade Pattern을 사용하라.
         http://zeropage.org/~reset/zb/data/facade.gif
         == Collaborations ==
          Facade Pattern은 다음과 같은 이익을 제공해준다.
         == Implementation ==
         2. public vs private 서브시스템 클래스.
         서브시스템은 인터페이스를 가진다는 점과 무엇인가를 (클래스는 state와 operation을 캡슐화하는 반면, 서브시스템은 classes를 캡슐화한다.) 캡슐화한다는 점에서 class 와 비슷하다. class 에서 public 과 private interface를 생각하듯이 우리는 서브시스템에서 public 과 private interface 에 대해 생각할 수 있다.
         서브시스템으로의 public interface는 모든 클라이언트들이 접속가능한 클래스들로 구성되며. 이때 서브시스템으로의 private interface는 단지 서브시스템의 확장자들을 위한 인터페이스이다. 따라서 facade class는 public interface의 일부이다. 하지만, 유일한 일부인 것은 아니다. 다른 서브시스템 클래스들 역시 대게 public interface이다. 예를 들자면, 컴파일러 서브시스템의 Parser class나 Scanner class들은 public interface의 일부이다.
         서브시스템 클래스를 private 로 만드는 것은 유용하지만, 일부의 OOP Language가 지원한다. C++과 Smalltalk 는 전통적으로 class에 대한 namespace를 global하게 가진다. 하지만 최근에 C++ 표준회의에서 namespace가 추가됨으로서 [Str94], public 서브시스템 클래스를 노출시킬 수 있게 되었다.[Str94] (충돌의 여지를 줄였다는 편이 맞을듯..)
         private:
         Parser는 점진적으로 parse tree를 만들기 위해 ProgramNodeBuilder 를 호출한다. 이 클래스들은 Builder pattern에 따라 상호작용한다.
          virtual ProgramNode* NewRetrunStatement (
         private:
         parser tree는 StatementNode, ExpressionNode와 같은 ProgramNode의 subclass들의 인스턴스들로 이루어진다. ProgramNode 계층 구조는 Composite Pattern의 예이다. ProgramNode는 program node 와 program node의 children을 조작하기 위한 인터페이스를 정의한다.
          // program node manipulation
          // child manipulation
  • OurMajorLangIsCAndCPlusPlus/Class . . . . 71 matches
         struct Date
         void init_date(Date *date, int d, int m, int y)
          date->d = d;
          date->m = m;
          date->y = y;
         void add_year(Date *date, int n)
         void add_month(Date *date, int n)
         void add_day(Date *date, int n)
         class Date
         void Date::init(int dd, int mm, int yy)
         void Date::add_year(int n)
         void Date::add_month(int n)
         void Date::add_day(int n)
         private - 클래스 멤버만 사용 가능
         class Date
          Date(int dd, int mm, int yy);
         Date::Date(int dd, int mm, int yy)
         class Date
          Date();
          Date(int yy);
  • 데블스캠프2005/RUR-PLE/SelectableHarvest . . . . 70 matches
          repeat(turn_left,3)
         repeat(go_move_1,6)
         repeat(go_move_1,5)
         repeat(go_move_1,5)
         repeat(go_move_1,4)
         repeat(go_move_1,4)
         repeat(go_move_1,3)
         repeat(go_move_1,3)
         repeat(go_move_1,2)
         repeat(go_move_1,2)
         repeat(go_move_1,1)
         repeat(go_move_1,1)
         repeat(go_start_1,7)
         repeat(go_start_2,7)
         repeat(turn_left,2)
         repeat(go_move_2,6)
         repeat(go_move_2,5)
         repeat(go_move_2,5)
         repeat(go_move_2,4)
         repeat(go_move_2,4)
  • ProjectPrometheus/Journey . . . . 69 matches
          * 서블릿 레이어부분에 대해서 Controller 에 Logic 이 붙는 경우 어떻게 Test 를 붙일까. (FacadePattern 을 생각하고, 웹 Tier 를 따로 분리하는 생각을 해보게 된다.) --["1002"]
          * Object-Database 연동을 위한 {{{~cpp BookMapper}}}, {{{~cpp UserMapper}}} 작성
         이 부분도 일종의 Architecture 의 부분일것인데, 지금 작성한것이 웬지 화근이 된것 같다는. Architecture 부분에 대해서는 Spike Solution 을 해보던지, 아니면 TDD 를 한뒤, Data Persistence 부분에 대해서 내부적으로 Delegation 객체를 추출해 내고, 그녀석을 Mapper 로 빼내는 과정을 순차적으로 밟았어야 했는데 하는 생각이 든다.
         Object-RDB Mapping 에 대해서는 ["PatternsOfEnterpriseApplicationArchitecture"] 에 나온 방법들을 읽어보고 그중 Data Mapper 의 개념을 적용해보는중. Object 와 DB Layer 가 분리되는 느낌은 좋긴 한데, 처음 해보는것이여서 그런지 상당히 복잡하게 느껴졌다. 일단 처음엔 Data Gateway 정도의 가벼운 개념으로 접근한뒤, Data Mapper 로 꺼내가는게 나았을까 하는 생각.
          * DB Schema 궁리 & Recommendation System 을 DB 버전으로 Integration 시도
          * MockObjects 를 이용, Database 에 대해서 MockObjects Test 와 Real DB Test 를 같이 해 나가보았다. DB - Recommendation System 연결을 위해서는 RS 에서의 object 들과 DB 와의 Mapping 이 필요하다고 판단, DB Schema 를 같이 궁리한 뒤, Test 를 작성하였다. 이때 이전 기억을 떠올리면서 MockObjects Test 를 상속받아서 Real DB Test 를 작성하는 식으로 접근해봤는데 좋은 방법이라 생각.
          * Martin Fowler 의 PatternsOfEnterpriseApplicationArchitecture 를 읽어보는중. 우리 시스템의 경우 DataMapper 의 개념과 Gateway 의 개념을 적용해볼 수 있을 것 같다. 전자는 Data Object 를 얻어내는데에 대해 일종의 MediatorPattern 을 적용함. DB 부분과 소켓으로부터 데이터를 얻어올 때 이용할 수 있을 것 같다. 후자의 경우는 일반적으로 Object - RDB Data Mapping (또는 다른 OO 개념이 아닌 데이터들) 인데, RowDataGateway, TableDataGateway 의 경우를 이용할 수 있을것 같다.
          ''Requirements always change (from DesignPatternsExplained). 결국 사람이 개입된 일이니 실생활과 다를바 없음. :) --["sun"]''
          * 예전에 일할때 잘못했었던 실수를 다시하고 있으니, 바로 기획자와의 대화이다. Iteration 이 끝날때마다 개발자가 먼저 기획자 또는 고객에게 진행상황을 이야기해야 한다. 특히 ExtremeProgramming 의 경우 Iteration 이 끝날때마다 Story 진행도에 대화를 해야 한다. Iteration 3 가 넘어가고 있지만 항상 먼저 전화를 한 사람이 누구인가라고 묻는다면 할말이 없어진다. 이번 Iteration 만큼은 먼저 전화하자;
          * 'Iteration 3 에서 무엇은 되었고 무엇은 안되었는가?' 지금 Iteration 3 쪽 Task 가 아직도 정리 안되었다. Task 정리를 하지 않고 Iteration 3 를 진행한 점은 문제이긴 하다. (비록 구두로 개발자들끼리 이야기가 되었다 하더라도. 제대로 정리를 한다는 의미에서.) Iteration 3 Task 정리 필요. 그리고 나머지 Iteration 에 대한 Task 들에 대해서 예측할 수 있는것들 (슬슬 눈에 보이니)에 대해 추가 필요.
          * Iteration 2 에 대해 밀린 것 마저 진행.
          * Iteration 3 에 대한 Planning
         Iteration 3 에서의 Login 을 위해 정말 오랜만에(!) Servlet 책과 JSP 책을 봤다. (빌리고서도 거의 1-2주간 안읽었다는. -_-;) 상민이가 옆에서 JSP 연습을 하는동안 나는 Servlet 연습을 했다. 후에 두개의 소스를 비교해보면서 공통점을 찾아내면서 스타일을 비교해 본 것이 재미있었다. (처음에 의도한건 아니지만;)
          * Iteration 2 에 대한 SpikeSolution 계속 진행
         Iteration 1 에서 밀린 일들이 3 task 쯤 되는데, 계속 그정도의 일들이 밀린다. 하긴, 3 task 가 밀렸음에도 불구하고, Iteration 1 에서의 처음 Task 를 맡은 만큼 Iteration 2 에서 Task 로 실었으니까.
          * Iteration 2. Recommendation System 에 대한 SpikeSolution
         알고리즘에 대한 SpikeSolution 에 대해서는, 일단 연습장에 명확하게 알고리즘을 세운뒤 프로그래밍에 들어가는 것이 좋겠다고 생각함. 그리고 알고리즘 디자인시에 Matrix 와 Graph 등의 모델을 그려서 생각해보는 것이 효율적이겠다는 생각이 들었다.
          * Iteration 1 에서 못한 일들을 Iteration 2 로 넘길때는 Iteration 1 에의 Task 를 Iteration 2로 넘겨줘야 한다. Iteration Planning 은 일종의 Time-Box 이다.
          * Iteration 1 에서 9 Task points 를 완료했다면, Iteration 2 에서도 9 Task points 를 맡는다.
          * Iteration 1 에서 못한 일들 마저 함. AcceptanceTest 작성.
  • UML . . . . 69 matches
         In software engineering, Unified Modeling Language (UML) is a non-proprietary, third generation modeling and specification language. However, the use of UML is not restricted to model software. It can be used for modeling hardware (engineering systems) and is commonly used for business process modeling, organizational structure, and systems engineering modeling. The UML is an open method used to specify, visualize, construct, and document the artifacts of an object-oriented software-intensive system under development. The UML represents a compilation of best engineering practices which have proven to be successful in modeling large, complex systems, especially at the architectural level.
         This diagram describes the functionality of the (simple) Restaurant System. The Food Critic actor can Eat Food, Pay for Food, or Drink Wine. Only the Chef Actor can Cook Food. Use Cases are represented by ovals and the Actors are represented by stick figures. The box defines the boundaries of the Restaurant System, i.e., the use cases shown are part of the system being modelled, the actors are not.
         The OMG defines a graphical notation for [[use case]]s, but it refrains from defining any written format for describing use cases in detail. Many people thus suffer under the misapprehension that a use case is its graphical notation; when in fact, the true value of a use case is the written description of scenarios regarding a business task.
         This diagram describes the structure of a simple Restaurant System. UML shows [[Inheritance_(computer_science)|Inheritance]] relationships with a [[triangle]]; and containers with [[rhombus|diamond shape]]. Additionally, the role of the relationship may be specified as well as the cardinality. The Restaurant System has any number of Food dishes(*), with one Kitchen(1), a Dining Area(contains), and any number of staff(*). All of these objects are associated to one Restaurant.
         This diagram describes the sequences of messages of the (simple) Restaurant System. This diagram represents a Patron ordering food and wine; drinking wine then eating the food; finally paying for the food. The dotted lines extending downwards indicate the timeline. The arrows represent messages (stimuli) from an actor or object to other objects. For example, the Patron sends message 'pay' to the Cashier. Half arrows indicate asynchronous method calls.
         === Collaboration Diagram /Communication Diagram (UML 2.0) ===
         Above is the collaboration diagram of the (simple) Restaurant System. Notice how you can follow the process from object to object, according to the outline below:
         A Collaboration diagram models the interactions between objects in terms of sequenced messages. Collaboration diagrams represent a combination of information taken from [[#UML_Class Diagram|Class]], [[#UML_Sequence_Diagram|Sequence]], and [[#UML_Use_Case_Diagram|Use Case Diagrams]] describing both the static structure and dynamic behavior of a system.
         Collaboration and sequence diagrams describe similiar information, and as typically implemented, can be transformed into one another without difficulty.
         However, collaboration diagrams use the free-form arrangement of objects and links as used in Object diagrams. In order to maintain the ordering of messages in such a free-form diagram, messages are labeled with a chronological number and placed near the link the message is sent over. Reading a Collaboration diagram involves starting at message 1.0, and following the messages from object to object.
         In UML 2.0, the Collaboration diagram has been simplified and renamed the Communication diagram.
         === Statechart Diagram ===
         See [http://en.wikipedia.org/wiki/State_diagram#Harel_statechart].
         Activity diagrams represent the business and operational workflows of a system. An Activity diagram is a variation of the state diagram where the "states" represent operations, and the transitions represent the activities that happen when the operation is complete.
         This activity diagram shows the actions that take place when completing a (web) form.
         Deployment diagrams serve to model the hardware used in system implementations and the associations between those components. The elements used in deployment diagrams are nodes (shown as a cube), components (shown as a rectangular box, with two rectangles protruding from the left side) and associations.
         This deployment diagram shows the hardware used in a small office network. The application server (node) is connected to the database server (node) and the database client (component) is installed on the application server. The workstation is connected (association) to the application server and to a printer.
         Although UML is a widely recognized and used standard, it is criticized for having imprecise semantics, which causes its interpretation to be subjective and therefore difficult for the formal test phase. This means that when using UML, users should provide some form of explanation of their models.
         Another problem is that UML doesn't apply well to distributed systems. In such systems, factors such as serialization, message passing and persistence are of great importance. UML lacks the ability to specify such things. For example, it is not possible to specify using UML that an object "lives" in a [[server]] process and that it is shared among various instances of a running [[process]].
         At the same time, UML is often considered to have become too bloated, and fine-grained in many aspects. Details which are best captured in source code are attempted to be captured using UML notation. The [[80-20 rule]] can be safely applied to UML: a small part of UML is adequate for most of the modeling needs, while many aspects of UML cater to some specialized or esoteric usages.
  • whiteblue/MyTermProjectForClass . . . . 69 matches
         === Data.h ===
         // Data.h
         #ifndef _DATA_H_
         #define _DATA_H_
         class Data{
         private:
          int math;
          Data();
          Data(char na[], int nu, int k, int e, int m);
         #include "Data.h"
         private:
          int tempData;
          int stData[20];
          void sort(bool IsItSort , int select , Data d[]);
          void outputAll(bool IsItAll, Data d[]);
          void outputPart(bool IsItPart, Data d[] , int select);
         private:
         === Data.cpp ===
         // Data.cpp
         #include "Data.h"
  • LoadBalancingProblem/임인택 . . . . 68 matches
          * @author Administrator
          * To change this generated comment edit the template variable "typecomment":
          * Window>Preferences>Java>Templates.
          * To enable and disable the creation of type comments go to
          * Window>Preferences>Java>Code Generation.
          public static void main(String[] args) {
          * @author Administrator
          * To change this generated comment edit the template variable "typecomment":
          * Window>Preferences>Java>Templates.
          * To enable and disable the creation of type comments go to
          * Window>Preferences>Java>Code Generation.
          public void testSetNGetData() {
          int sData[] = {1,3,3};
          int gData[];
          bal.setData(sData);
          gData = bal.getData();
          for(int i=0; i<sData.length; i++)
          assertEquals(sData[i], gData[i]);
          int data[]={1,3,4};
          bal.setData(data);
  • UML/CaseTool . . . . 68 matches
         ''Diagramming'' in this context means ''creating'' and ''editing'' UML [[diagram]]s; that is diagrams that follow the graphical notation of the Unified Modeling Language.
         The diagramming part of the Unified Modeling Language seems to be a lesser debated part of the UML, compared to code generation.
         The UML diagram notation evolved from elderly, previously competing notations. UML diagrams as a means to draw diagrams of - mostly - [[Object-oriented programming|object oriented]] software is less debated among software developers. If developers draw diagrams of object oriented software, there is widespread consensus ''to use the UML notation'' for that task. On the other hand, it is debated, whether those diagrams are needed at all, on what stage(s) of the software development process they should be used and whether and how (if at all) they should be kept up-to date, facing continuously evolving program code.
         === Code generation ===
         ''[[Code generation]]'' in this context means, that the user creates UML diagrams, which have some connoted model data, from which the UML tool derives (through a conversion process) parts or all of the [[source code]] for the software system that is to be developed. Often, the user can provide some skeleton of the program source code, in the form of a source code [[template]] where predefined tokens are then replaced with program source code parts, emitted by the UML tool during the code generation process.
         There is some debate among software developers about how useful code generation as such is. It certainly depends on the specific problem domain and how far code generation should be applied. There are well known areas where code generation is an established practice, not limited to the field of UML. On the other hand, the idea of completely leaving the "code level" and start "programming" on the UML diagram level is quite debated among developers, and at least, not in such widespread use compared to other [[software development]] tools like [[compiler]]s or [[Configuration management|software configuration management systems]]. An often cited criticism is that the UML diagrams just lack the detail which is needed to contain the same information as is covered with the program source. There are developers that even state that "the Code ''is'' the design" (articles [http://www.developerdotstar.com/mag/articles/reeves_design_main.html] by Jack W. Reeves [http://www.bleading-edge.com/]).
         ''Reverse engineering'' in this context means, that the UML tool reads program source code as input and ''derives'' model data and corresponding graphical UML diagrams from it (as opposed to the somewhat broader meaning described in the article "[[Reverse engineering]]").
         Reverse engineering encloses the problematic, that diagram data is normally not contained with the program source, such that the UML tool, at least in the initial step, has to create some ''random layout'' of the graphical symbols of the UML notation or use some automatic ''layout algorithm'' to place the symbols in a way that the user can understand the diagram. For example, the symbols should be placed at such locations on the drawing pane that they don't overlap. Usually, the user of such a functionality of an UML tool has to manually edit those automatically generated diagrams to attain some meaningfulness. It also often doesn't make sense to draw diagrams of the whole program source, as that represents just too much detail to be of interest at the level of the UML diagrams. There are also language features of some [[programming language]]s, like ''class-'' or ''function templates'' of the programming language [[C plus plus|C++]], which are notoriously hard to convert automatically to UML diagrams in their full complexity.
         There are UML tools that use the attribute ''round trip'' (sometimes also denoted as ''round trip engineering'') to connote their ability to keep the ''source code'', the ''model data'' and the corresponding ''UML diagrams'' ''in sync''.
         This means that the user should be able to change either the ''model data'' (together with the corresponding diagrams) or the ''program source code'' and then the UML tool updates the other part automatically.
         Rational Software Architect, Together가 유명하고, 오픈 소스로는 Argo, Violet 이 유명하다.
  • 데블스캠프2009/목요일/연습문제/MFC/박준호 . . . . 68 matches
         // TestAPPDlg.cpp : implementation file
         static char THIS_FILE[] = __FILE__;
         // Dialog Data
          //{{AFX_DATA(CAboutDlg)
          //}}AFX_DATA
          // ClassWizard generated virtual function overrides
          virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
         // Implementation
          //{{AFX_DATA_INIT(CAboutDlg)
          //}}AFX_DATA_INIT
         void CAboutDlg::DoDataExchange(CDataExchange* pDX)
          CDialog::DoDataExchange(pDX);
          //{{AFX_DATA_MAP(CAboutDlg)
          //}}AFX_DATA_MAP
          //{{AFX_DATA_INIT(CTestAPPDlg)
          //}}AFX_DATA_INIT
          // Note that LoadIcon does not require a subsequent DestroyIcon in Win32
         void CTestAPPDlg::DoDataExchange(CDataExchange* pDX)
          CDialog::DoDataExchange(pDX);
          //{{AFX_DATA_MAP(CTestAPPDlg)
  • Gof/Command . . . . 67 matches
         == Motivation ==
         때때로 요청받은 명령이나 request를 받는 객체에 대한 정보없이 객체들에게 request를 넘겨줄 때가 있다. 예를 들어 user interface tookit은 button이나 menu처럼 사용자 입력에 대해 응답하기 위해 요청을 처리하는 객체들을 포함한다. 하지만, 오직 toolkit을 사용하는 어플리케이션만이 어떤 객체가 어떤일을 해야 할지 알고 있으므로, toolkit은 button이나 menu에 대해서 요청에 대해 명시적으로 구현을 할 수 없다. toolkit 디자이너로서 우리는 request를 받는 개체나 request를 처리할 operations에 대해 알지 못한다.
         Command Pattern은 request 를 객체화함으로서 toolkit 객체로 하여금 불특정한 어플리케이션 객체에 대한 request를 만들게 한다. 이 객체는 다른 객체처럼 저장될 수 있으며 pass around 가능하다. 이 pattern의 key는 수행할 명령어에 대한 인터페이스를 선언하는 추상 Command class에 있다. 이 인터페이스의 가장 단순한 형태에서는 추상적인 Execute operation을 포함한다. 구체화된 Command subclass들은 request에 대한 receiver를 instance 변수로 저장하고 request를 invoke하기 위한 Execute operation을 구현함으로서 receiver-action 짝을 구체화시킨다. The receiver has the knowledge required to carry out the request.
         http://zeropage.org/~reset/zb/data/comma081.gif
         Menu는 쉽게 Command Object로 구현될 수 있다. Menu 의 각각의 선택은 각각 MenuItem 클래스의 인스턴스이다. Application 클래스는 이 메뉴들과 나머지 유저 인터페이스에 따라서 메뉴아이템을 구성한다. Application 클래스는 유저가 열 Document 객체의 track을 유지한다.
         어플리케이션은 각각의 구체적인 Command 의 subclass들로 각가각MenuItem 객체를 설정한다. 사용자가 MenuItem을 선택했을때 MenuItem은 메뉴아이템의 해당 명령으로서 Execute oeration을 호출하고, Execute는 실제의 명령을 수행한다. MenuItem객체들은 자신들이 사용할 Command의 subclass에 대한 정보를 가지고 있지 않다. Command subclass는 해당 request에 대한 receiver를 저장하고, receiver의 하나나 그 이상의 명령어들을 invoke한다.
         예를 들어 PasteCommand는 clipboard에 있는 text를 Document에 붙이는 기능을 지원한다. PasteCommand 의 receiver는 인스턴스화할때 설정되어있는 Docuemnt객체이다. Execute 명령은 해당 명령의 receiver인 Document의 Paste operation 을 invoke 한다.
         http://zeropage.org/~reset/zb/data/comma078.gif
         OpenCommand의 Execute operation은 다르다. OpenCommand는 사용자에게 문서 이름을 물은뒤, 대응하는 Document 객체를 만들고, 해당 문서를 여는 어플리케이션에 문서를 추가한 뒤 (MDI를 생각할것) 문서를 연다.
         http://zeropage.org/~reset/zb/data/comma079.gif
         http://zeropage.org/~reset/zb/data/comma080.gif
         이러한 예들에서, 어떻게 Command pattern이 해당 명령을 invoke하는 객체와 명령을 수행하는 정보를 가진 객체를 분리하는지 주목하라. 이러함은 유저인터페이스를 디자인함에 있어서 많은 유연성을 제공한다. 어플리케이션은 단지 menu와 push button이 같은 구체적인 Command subclass의 인스턴스를 공유함으로서 menu 와 push button 인터페이스 제공할 수 있다. 우리는 동적으로 command를 바꿀 수 있으며, 이러함은 context-sensitive menu 를 구현하는데 유용하다. 또한 우리는 명령어들을 커다란 명령어에 하나로 조합함으로서 command scripting을 지원할 수 있다. 이러한 모든 것은 request를 issue하는 객체가 오직 어떻게 issue화 하는지만 알고 있으면 되기때문에 가능하다. request를 나타내는 객체는 어떻게 request가 수행되어야 할지 알 필요가 없다.
         다음과 같은 경우에 CommandPattern을 이용하라.
          * undo 기능을 지원하기 원할때. Command의 Execute operation은 해당 Command의 효과를 되돌리기 위한 state를 저장할 수 있다. Command 는 Execute 수행의 효과를 되돌리기 위한 Unexecute operation을 인터페이스로서 추가해야 한다. 수행된 command는 history list에 저장된다. history list를 앞 뒤로 검색하면서 Unexecute와 Execute를 부름으로서 무제한의 undo기능과 redo기능을 지원할 수 있게 된다.
          * logging change를 지원하기 원할때. logging change 를 지원함으로서 시스템 충돌이 난 경우에 대해 해당 command를 재시도 할 수 있다. Command 객체에 load 와 store operation을 추가함으로서 change의 log를 유지할 수 있다. crash로부터 복구하는 것은 디스크로부터 logged command를 읽어들이고 Execute operation을 재실행하는 것은 중요한 부분이다.
          * 기본명령어들를 기반으로 이용한 하이레벨의 명령들로 시스템을 조직할 때. 그러함 조직은 transaction을 지원하는 정보시스템에서 보편화된 방식이다. transaction은 데이터의 변화의 집합을 캡슐화한다. CommandPattern은 transaction을 디자인하는 하나의 방법을 제공한다. Command들은 공통된 인터페이스를 가지며, 모든 transaction를 같은 방법으로 invoke할 수 있도록 한다. CommandPattern은 또한 새로운 transaction들을 시스템에 확장시키기 쉽게 한다.
         http://zeropage.org/~reset/zb/data/command.gif
          - 수행할 operation을 위한 인터페이스를 선언한다.
          * Client (Application)
          * Receiver (Document, Application)
  • JavaNetworkProgramming . . . . 67 matches
          *동기화(Synchronization) : 동기화란 여러 쓰레드가 동시에 작업할 떄 각 쓰레드의 작업 순서를 제어하기 위한 메커니즘이다.
          public static void main(String[] args){
          *Thread 통지(notification)메소드 : 주의해야 할 점은, 이 메소드들 호출하는 쓰레들이 반드시 synchronized 블록으로 동기화 되어야 한다는 점이다.
          public static void println(String msg) throws IOException{
          System.out.write(msg.charAt(i) & 0xff); //16비트 유니코드로 구성된 String은 연속한 바이트로 매스킹한후 출력
          public static void main(String[] args) throws IOException {
          public static void main(String[] args) throws IOException {
          public static void main(String[] args) throws IOException {
          public void write(int datum) throws IOException {
          file.write(datum);
          this(file.getPath()); //역시 자신의 생성자를 호출함
          this(file.getPath()); //파일명을 넘겨주어 위로 --;
          }catch(IOException ex){
          *DataOutputStream과 DataInputStream : 기존의 바이트만 읽고 쓰는 스트림위에서 상위 수준의 통신이 가능하다. 예를 들어 String이나 부동점 실수와 같은 것을 통신할 수있다. 기존의 수준낮은(?) 것은 바이트 단위로 통신해야한다.
          *스트림 필터의 사용 예제 : System.in으로 입력받는것을 BufferedInputStream필터를 거쳐서 LineNumberInputStream을 거처 DataInputStream을 거처서 DataOutputStream에 쓰여지고 BufferedOutputStream으로 버퍼링돼 한번에 출력된다. --;
          public static void main(String[] args) {
          DataInputStream dataIn = new DataInputStream(lineNumberIn); //라인이 붙은 입력을 DataInputStream으로 받아서 한바이트이상을 전달함
          DataOutputStream dataOut = new DataOutputStream(bufferedOut); //한바이트이상을 받음
          line = dataIn.readLine(); //한줄 입력을 받는다.
          dataOut.writeBytes(response); //BufferdOutputStream에 쓴다.
  • TwistingTheTriad . . . . 67 matches
         C++ 시스템의 Taligent 로부터 유래. Dolphin Smalltalk 의 UI Framework. 논문에서는 'Widget' 과 'MVC' 대신 MVP 를 채택한 이유 등을 다룬다고 한다. 그리고 MVC 3 요소를 rotating (or twisting)함으로서 현재 존재하는 다른 Smalltalk 환경보다 쓰기 쉽고 더 유연한 'Observer' based framework 를 만들 것을 보여줄 것이다.
         with a widget-based system it is easy to avoid having to think about the (required) separation between the user interface and the application domain objects, but it is all too easy to allow one's domain code to become inextricably linked with the general interface logic.
         it was much more that the widget system was just not flexible enought. We didn't know at the time, but were just starting to realise, that Smalltalk thrives on plugability and the user interface components in out widget framework were just not fine-grained enough.
         One example of this deficiency surfaced in SmalltalkWorkspace widget. This was originally designed as a multiline text-editing component with additional logic to handle user interface commands such as Do-it, Show-it, Inspect-it etc. The view itself was a standard Windows text control and we just attached code to it to handle the workspace functionality. However, we soon discovered that we also wanted to have a rich text workspace widget too. Typically the implementation of this would have required the duplication of the workspace logic from the SmalltalkWorkspace component or, at least, an unwarranted refactoring session. It seemed to us that the widget framework could well do with some refactoring itself!
         In MVC, most of the application functionality must be built into a model class known as an Application Model. It is the reponsibility of the application model to be the mediator between the true domain objects and the views and their controllers. The views are responsible for displaying the domain data while the controller handle the raw usr gestures that will eventually perform action on this data. So the application model typically has method to perform menu command actions, push buttons actions and general validation on the data that it manages. Nearly all of the application logic will reside in the application model classes. However, because the application model's role is that of a go-between, it is at times necessary for it to gain access to the user interface directly but, because of the Observer relationship betweeen it and the view/controller, this sort of access is discouraged.
         For example, let's say one wants to explicitly change the colour of one or more views dependent on some conditions in the application model. The correct way to do this in MVC would be to trigger some sort of event, passing the colour along with it. Behaviour would then have to be coded in the view to "hang off" this event and to apply the colour change whenever the event was triggered. This is a rather circuitous route to achieving this simple functionality and typically it would be avoided by taking a shoutcut and using #componentAt : to look up a particular named view from the application model and to apply the colour change to the view directly. However, any direct access of a view like this breaks the MVC dictum that the model should know nothing about the views to which it is connected. If nothing else, this sort of activity surely breaks the possibility of allowing multiple views onto a model, which must be the reason behind using the Observer pattern in MVC in the first place.
          - 내가 파악한 MVC 모델은 너무 얕은 지식이였나. 여태껏 그냥 Layer 단으로만 그렇게 나누어진다만 생각했지 해당 이벤트 발생시나 모델의 값 변화시 어떠한 단계로 Control 이 흘러가는지에 대해서는 구체적으로 생각해본 적이 없었던 것 같다. 화살표를 보면 Application Model -> Controller 로의 화살표가 없다. 그리고 Problem Space 의 범위도 차이가 난다.
         This is the data upon which the user interface will operate. It is typically a domain object and the intention is that such objects should have no knowledge of the user interface. Here the M in MVP differs from the M in MVC. As mentioned above, the latter is actually an Application Model, which holds onto aspects of the domain data but also implements the user interface to manupulate it. In MVP, the model is purely a domain object and there is no expectation of (or link to) the user interface at all.
         The behaviour of a view in MVP is much the same as in MVC. It is the view's responsibility to display the contents of a model. The model is expected to trigger appropriate change notification whenever its data is modified and these allow the view to "hang off" the model following the standard Observer pattern. In the same way as MVC does, this allows multiple vies to be connected to a single model.
         One significant difference in MVP is the removal of the controller. Instead, the view is expected to handle the raw user interface events generated by the operating system (in Windows these come in as WM_xxxx messages) and this way of working fits more naturally into the style of most modern operating systems. In some cases, as a TextView, the user input is handled directly by the view and used to make changes to the model data. However, in most cases the user input events are actually routed via the presenter and it is this which becomes responsible for how the model gets changed.
         While it is the view's responsibility to display model data it is the presenter that governs how the model can be manipulated and changed by the user interface. This is where the heart of an application's behaviour resides. In many ways, a MVP presenter is equivalent to the application model in MVC; most of the code dealing with how a user interface works is built into a presenter class. The main difference is that a presenter is ''directly'' linked to its associated view so that the two can closely collaborate in their roles of supplying the user interface for a particular model.
         Compared with our orignnal widget framework, MVP offers a much greater separation between the visual presentation of an interface and the code required to implement the interface functionality. The latter resides in one or more presenter classes that are coded as normal using a standard class browser.
  • WOWAddOn/2011년프로젝트/초성퀴즈 . . . . 67 matches
         설치된경로를 따라 Eclipse의 Profiler말고 Interpreter로 lua.exe로 path를 설정해주면 Eclipse에서 Project를 만든뒤 출력되는 Lua파일을 볼수 있다.
          final static char[] first = {
          final static char[] middle = {
          final static char[] last = {
          public static void main(String[] args) {
          char a = temp.charAt(0);
         <UI xmlns="http://www.blizzard.com/wow/ui" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui">
         http://kr.battle.net/wow/ko/item/번호
          repeat
          local second = math.floor((string.byte(str:sub(2,2)) - 128)/4)
          local third = math.floor((string.byte(str:sub(2,2))%4)*4 + (string.byte(str:sub(3,3)) - 128)/16)
          local fourth = math.floor(string.byte(str:sub(3,3))%16)
          local cho = math.floor(unicode / 21/ 28)
          local goong = math.floor((unicode % (21*28))/28)
          local jong = math.floor((unicode % 28))
          x = msg:match("시작%s(%d+)$");
         x = string.match(msg,pattern) 는 pattern에 따라 msg를 매칭해주고 서브 패턴에 맞는 인자를 assign 연산자(=)를 통해 넘겨주게 된다.
         x = msg:match("시작%s(%d+)$");
         패턴 매칭은 여기 있다. Lua에서 Sub pattern에 의해 변수를 가져오는건 더 찾아봐야한다.
         WOW API를 뒤지고 뒤져서 우선 Frame을 주고 Frame에 DefaultChatWindow에서 메시지를 받아야 할것 같다.
  • 2002년도ACM문제샘플풀이/문제A . . . . 66 matches
         int numOfData;
         POINT inputData[10][4];
         int outputData[10];
          cin >> numOfData;
          for(int i=0;i<numOfData;i++)
          cin >> inputData[i][j].x;
          cin >> inputData[i][j].y;
          for(int i=0;i<numOfData;i++) {
          maxPoint.x = max(inputData[i][0].x,inputData[i][2].x);
          maxPoint.y = max(inputData[i][0].y,inputData[i][2].y);
          minPoint.x = min(inputData[i][1].x,inputData[i][3].x);
          minPoint.y = min(inputData[i][1].y,inputData[i][3].y);
          outputData[i] = (inputData[i][1].x - inputData[i][0].x) * (inputData[i][1].y - inputData[i][0].y);
          outputData[i] -= overlappedRect;
          for(int i=0;i<numOfData;i++)
          cout << outputData[i] << endl;
         #include <cmath>
          Line GenerateLine(int nth)
          rect1Line = GenerateLine(i);
          rect2Line = rect.GenerateLine(j);
  • Gof/Composite . . . . 66 matches
         == Motivation ==
         하지만, 이러한 접근방법에는 문제점이 있다. 비록 대부분의 시간동안 사용자가 개개의 객체들을 동일하게 취급한다 하더라도, 이러한 클래스들을 이용하는 코드는 반드시 기본객체와 컨테이너 객체를 다르게 취급하여 코딩해야 한다는 점이다. 이러한 객체들의 구별은 어플리케이션을 복잡하게 만든다. CompositePattern은 객체들에 대한 재귀적 조합 방법을 서술함으로서, 클라이언트들로 하여금 이러한 구분을 할 필요가 없도록 해준다.
         http://zeropage.org/~reset/zb/data/compo075.gif
         CompositePattern의 핵심은 기본요소들과 기본요소들의 컨테이너를 둘 다 표현하는 추상 클래스에 있다. 그래픽 시스템에서 여기 Graphic class를 예로 들 수 있겠다. Graphic 은 Draw 와 같은 그래픽 객체들을 구체화하는 명령들을 선언한다. 또한 Graphic 은 Graphic 의 자식클래스들 (tree 구조에서의 parent-child 관계)에 대해 접근하고 관리하는 명령들과 같은 모든 composite 객체들이 공유하는 명령어들을 선언한다.
         Line, Rectangle, Text 와 같은 서브 클래스들은 (앞의 class diagram 참조) 기본 그래픽 객체들을 정의한다. 이러한 클래스들은 각각 선이나 사각형, 텍스트를 그리는 'Draw' operation을 구현한다. 기본적인 그래픽 구성요소들은 자식요소들을 가지지 않으므로, 이 서브 클래스들은 자식요소과 관련된 명령들을 구현하지 않는다.
         http://zeropage.org/~reset/zb/data/compo074.gif
         다음과 같은 경우에 CompositePattern 을 이용할 수 있다.
         http://zeropage.org/~reset/zb/data/compo072.gif
         http://zeropage.org/~reset/zb/data/compo073.gif
         == Collaborations ==
         CompositePattern 은
          * 기본 객체들과 복합 객체들로 구성된 클래스 계층 구조를 정의한다. (상속관계가 아님. 여기서는 일종의 data-structure의 관점) 기본 객체들은 더 복잡한 객체들을 구성할 수 있고, 계속적이고 재귀적으로 조합될 수 있다. 클라이언트 코드가 기본 객체를 원할때 어디서든지 복합 객체를 취할 수 있다.
         == Implementation ==
         CompositePattern을 구현할 때 고려해야 할 여러가지 사항들이 있다.
         computer 와 스테레오 컴포넌트들과 같은 장치들 (Equipment) 는 보통 격납 계층의 부분-전체 식으로 구성된다. 예를 들어 섀시 (chassis) 는 드라이브들(하드디스크 드라이브, 플로피 디스크 드라이브 등) 과 평판들 (컴퓨터 케이스의 넓은 판들) 을 포함하고, 버스는 카드들을 포함할 수 있고, 캐비넷은 섀시와 버스 등등을 포함할 수 있다. 이러한 구조는 자연스럽게 CompositePattern으로 모델링될 수 있다.
          virtual Watt Power ();
          virtual Iterator<Equipment*>* CreateIterator ();
         private:
         Equipment 는 전원소모량 (power consumption)과 가격(cost) 등과 같은 equipment의 일부의 속성들을 리턴하는 명령들을 선언한다. 서브클래스들은 해당 장비의 구체적 종류에 따라 이 명령들을 구현한다. Equipment 는 또한 Equipment의 일부를 접근할 수 있는 Iterator 를 리턴하는 CreateIterator 명령을 선언한다. 이 명령의 기본적인 구현부는 비어있는 집합에 대한 NullIterator 를 리턴한다.
          virtual Watt Power ();
  • MobileJavaStudy/SnakeBite/Spec3Source . . . . 65 matches
          public static final int LEFT = 1;
          public static final int RIGHT = 2;
          public static final int UP = 3;
          public static final int DOWN = 4;
          private final int xRange;
          private final int yRange;
          private Vector cellVector;
          private int headIndex;
          private int direction;
          return (SnakeCell)cellVector.elementAt((headIndex + index) % length());
          private final int boardWallWidth = 4;
          private final int snakeCellWidth = 4;
          private final int canvasWidth;
          private final int canvasHeight;
          private final int boardX;
          private final int boardY;
          private final int boardWidth;
          private final int boardHeight;
          private final int boardInnerX;
          private final int boardInnerY;
  • OOP/2012년스터디 . . . . 65 matches
         #include <math.h>
         int CalDay(int year,int month, int date);
         int isEvent(int month, int date);
          int eMonth,eDate;
          scanf("%d %d",&eMonth,&eDate);
          evt[count].D=eDate;
         int CalDay(int year,int month,int date=1)
          result=yCode+mCode[month]+date;
          static char *han[7]={
         int isEvent(int month, int date)
          if(evt[i].M==month && evt[i].D==date)
         // Created by 김 태진 on 12. 1. 10..
          int month,day=1,myYear,date=1,monthEndDate;
          date=1;
          monthEndDate=31;
          monthEndDate=30;
          monthEndDate=28;
          monthEndDate=29;
          for(;date<=monthEndDate;date++){
          printf("%d\t",date);
  • EightQueenProblem/용쟁호투SQL . . . . 64 matches
         IF EXISTS(SELECT name FROM sysobjects WHERE name = N'temp_queen_attack' AND type = 'U') DROP TABLE temp_queen_attack
         CREATE TABLE temp_queen_attack(
         CREATE PROCEDURE p_temp_reset
          TRUNCATE TABLE temp_queen_attack
          INSERT INTO temp_queen_attack VALUES(1,0,0,0,0,0,0,0,0,0,0)
          INSERT INTO temp_queen_attack VALUES(2,0,0,0,0,0,0,0,0,0,0)
          INSERT INTO temp_queen_attack VALUES(3,0,0,0,0,0,0,0,0,0,0)
          INSERT INTO temp_queen_attack VALUES(4,0,0,0,0,0,0,0,0,0,0)
          INSERT INTO temp_queen_attack VALUES(5,0,0,0,0,0,0,0,0,0,0)
          INSERT INTO temp_queen_attack VALUES(6,0,0,0,0,0,0,0,0,0,0)
          INSERT INTO temp_queen_attack VALUES(7,0,0,0,0,0,0,0,0,0,0)
          INSERT INTO temp_queen_attack VALUES(8,0,0,0,0,0,0,0,0,0,0)
         IF EXISTS (SELECT name FROM sysobjects WHERE name = N'p_check_attack' AND type = 'P') DROP PROCEDURE p_check_attack
         CREATE PROCEDURE p_check_attack @x int, @y int
         DECLARE @attack_check int, @local_x int, @local_y int
         SELECT @attack_check = (CASE @x WHEN 1 THEN x1 WHEN 2 THEN x2 WHEN 3 THEN x3 WHEN 4 THEN x4 WHEN 5 THEN x5 WHEN 6 THEN x6 WHEN 7 THEN x7 WHEN 8 THEN x8 END)
          FROM temp_queen_attack
         IF @attack_check = 1 RETURN 1
         IF @x = 1 UPDATE temp_queen_attack SET x1 = 1
         IF @x = 2 UPDATE temp_queen_attack SET x2 = 1
  • whiteblue/LinkedListAddressMemo . . . . 64 matches
         struct data{
          data * next;
         data * enterName(data * firstData); // case 1
         data * deleteName(data * firstData); // case 2
         void showList(data * firstData); // case 3
          data * firstData = new data;
          firstData = NULL;
          firstData = enterName(firstData);
          firstData = deleteName(firstData);
          showList(firstData);
          << "1> Input data\n"
          << "2> Delete data\n"
         data * enterName(data * firstData)
          data * temp = new data;
          if(firstData == NULL)
          firstData = new data;
          strcpy(firstData->name, nam);
          strcpy(firstData->address, add);
          strcpy(firstData->addressNumber, addNum);
          firstData->next = NULL;
  • whiteblue/MyTermProject . . . . 64 matches
          int math;
         student data[20] =
         student temp, copy_data[20];
          data[i].total = data[i].kor + data[i].eng + data[i].math;
          data[i].ave = data[i].total / 3;
          result_1(data, &data[0].kor);
          result_1(data, &data[0].eng);
          result_1(data, &data[0].math);
          sort(©_data[0].kor);
          result_1(copy_data , ©_data[0].kor);
          sort(©_data[0].eng);
          result_1(copy_data , ©_data[0].eng);
          sort(©_data[0].math);
          result_1(copy_data , ©_data[0].math);
          result_2(data);
          sort(©_data[0].total);
          result_2(copy_data);
          << "\t" << m[i].eng << "\t" << m[i].math << "\t" << m[i].total
          temp = copy_data[j];
          copy_data[j] = copy_data[j-1];
  • Refactoring/OrganizingData . . . . 63 matches
         = Chapter 8 Organizing Data p169 =
         == Self Encapsulate Field p171 ==
          * You are accessing a field directly, but the coupling to the field is becoming awkward. [[BR]] ''Create getting and setting methods for the field and use only those to access the field.''
          private int _low, _high;
          private int _low, _high;
         == Replace Data Value with Object p175 ==
          * You have a data item that needs additional data or behavior. [[BR]] ''Turn the data item into an object.''
         http://zeropage.org/~reset/zb/data/ReplaceDateValueWithObject.gif
          * You have a class with many equal instances that you want to replace with a single object. [[BR]] ''Turn the object into a reference object.''
         http://zeropage.org/~reset/zb/data/ChangeValueToReference.gif
          * You have a reference object that is small, immutable, and awkward to manage. [[BR]] ''Turn it into a balue object.''
         http://zeropage.org/~reset/zb/data/ChangeReferenceToValue.gif
          * You have an array in which certain elements mean different things. [[BR]]''Replace the array with an object that has a field for each element.''
         == Duplicate Observed Data p189 ==
          * You have domain data available only in a GUI control, and domain methods need access. [[BR]] ''Copy the data to a domain object. Set up an observer to synchronize the two pieces of data.''
         http://zeropage.org/~reset/zb/data/DuplicateObservedData.gif
         == Change Unidirectional Association to Bidirectional p197 ==
          * You have two classes that need to use each other's features, but there is only a one-way link.[[BR]]''Add back pointers, and change modifiers to update both sets.''
         http://zeropage.org/~reset/zb/data/ChangeUnidirectionalAssociationToBidirectional.gif
         == Change Bidirectional Association to Unidirectional p200 ==
  • AustralianVoting/Leonardong . . . . 62 matches
         #define CandidatorVector vector<Candidator>
         struct Candidator
          IntVector candidateNum;
         bool isWin( const Candidator & candidator, int n )
          if ( candidator.votedCount >= n / 2 )
          return sheet.candidateNum.front();
          return *sheet.candidateNum.erase( sheet.candidateNum.begin() );
         void collectVoting( CandidatorVector & candidators, const VoteSheetVector & sheets )
          if ( candidators[ current(sheets[i]) ].fallen == false )
          candidators[ current(sheets[i]) ].votedCount++;
         void markFall( CandidatorVector & candidators, const int limit )
          for ( int i = 0 ; i < candidators.size() ; i++ )
          if ( candidators[i].votedCount <= limit )
          candidators[i].fallen = false;
         int minVotedNum( const CandidatorVector & candidators )
          for ( int i = 0 ; i < candidators.size() ; i++ )
          if ( candidators[i].fallen == false)
          if ( result > candidators[i].votedCount )
          result = candidators[i].votedCount;
         bool isUnionWin( const CandidatorVector & candidators )
  • Linux/필수명령어/용법 . . . . 62 matches
         - Editing information for new user [blade]
         at
         - at -q [-m][-f 파일명] 큐(queue) 시간
         - at -r 작업번호
         - at -l
         /etc/at.allow 파일이 있다면 이 파일에 명단이 있는 사용자만이 at 명령을 사용할 수 있다. /etc/at.allow 파일이 없다면 /etc/at.deny 파일을 찾는다. 이 파일에 목록이 있는 사용자는 at 명령을 사용할 수 없다. 두 파일 모두 찾지 못한다면 오로지 슈퍼 유저만이 at 명령을 사용할 수 있다. 그리고 /etc/at.deny 파일이 비어 있다면 모든 사용자가 at 명령을 사용할 수 있다.
         시간을 지정할 때 상당히 다양한 방법을 사용할 수 있다. hhmm 혹은 hh:mm 형태도 가능하며, noon, midnight이나 오후 4시를 의미하는 teatime이라고도 할 수 있다. 오전 오후를 쉽게 구분하려면 am pm 문자를 추가해도 된다. 이미 지나간 시간이라면 다음 날 그 시간에 수행될 것이다. 정확한 날짜를 지정하려면 mmddyy 혹은 mm/dd/yy 아니면 dd.mm.yy 형태 중 선택하라.
         - at 8am work
         - at noon work ,,정오에 work에 수록된 작업을 수행한다.
         - at -f work 14:40 tomorrow
         cat
         cat은 catenate(사슬로 잇다. 연결하다)에서 이름이 유래한다. 이것은 파일의 내용을 화면에 출력하는 데 사용되기도 하며 파일을 다른 곳에 순차적인 스트림으로 보내기 위해 사용된다.
         - cat [ -benstuvETA ] [ 파일명(들) ]
         유닉스 시스템은 기본적으로 텍스트 자료들을 처리하는 것을 매우 중요시 여겼다. 많은 초기 설정 작업들이 텍스트 문서로 이루어지고, 텍스트 문서를 처리하는 수많은 명령들이 있다. cat 명령은 그러한 것들 중 기본적인 것이다.
         cat 명령은 읽어들이는 파일 이름을 지정하지 않으면, 기본 내정값으로 표준 입력 장치를 선정한다.
         - $ cat
         - $ cat document.1 ,,document.1 파일을 화면으로 출력한다.
         - $ cat content report.first myreport
         date
         : 시스템은 현재의 날짜와 시간을 유지하고 있다. date 명령을 사용하면 그러한 시간을 확인할 수 있다. 또한 날짜와 시간 정보를 변경할 수 있다. 물론 시스템의 날짜와 시간은 슈퍼 유저만이 변경할 수 있다.
  • MobileJavaStudy/SnakeBite/Spec2Source . . . . 62 matches
          public static final int LEFT = 1;
          public static final int RIGHT = 2;
          public static final int UP = 3;
          public static final int DOWN = 4;
          private final int snakeCellXRange;
          private final int snakeCellYRange;
          private Vector snakeCellVector;
          private int snakeHeadIndex;
          private int snakeDirection;
          return (SnakeCell)snakeCellVector.elementAt((snakeHeadIndex + index) % length());
          private final int boardWallWidth = 4;
          private final int snakeCellWidth = 4;
          private final int canvasWidth;
          private final int canvasHeight;
          private final int boardX;
          private final int boardY;
          private final int boardWidth;
          private final int boardHeight;
          private final int boardInnerX;
          private final int boardInnerY;
  • 조영준/다대다채팅 . . . . 62 matches
          static void Main(string[] args)
          ChatServer server = new ChatServer();
         === ChatServer.cs ===
          class ChatServer
          private TcpListener serverSocket;
          static private List<ChatClient> ClientList;
          public ChatServer()
          ClientList = new List<ChatClient>();
          Thread t3 = new Thread(new ThreadStart(ManageChat));
          static public void broadcast(string s)
          foreach (ChatClient cc in ClientList)
          string dataSend = s;
          byte[] byteSend = Encoding.ASCII.GetBytes(dataSend);
          catch(Exception e)
          ClientList.RemoveAt(toRemove.Dequeue()-count);
          private void manageConnection()
          ChatClient tempClient = new ChatClient(serverSocket.AcceptTcpClient());
          private void ManageChat()
          static public string TimeStamp()
          return DateTime.Now.ToShortTimeString() + ":" + DateTime.Now.Second + "." + DateTime.Now.Millisecond + " ";
  • Linux/RegularExpression . . . . 61 matches
          * ^(caret) : 시작을 의미함. ^cat은 cat으로 시작하는 문자...(cats,cater,caterer...).in the line rather real text
          * $(dollar) : 끝을 의미함. cat$은 cat으로 끝나는 문자 ...(blackcat, whitecat, ....) in the line rather real text
          * [](Character Class) : seper[ae]te 하면 seperate, seperete 모두를 포함한다.
          * -i(option) : 대소문자 구분을 안한다. 예)egrep -i '^(From|Subject|Date): ' mailbox
         int ereg(string givenPattern, string givenString, array matched);
         givenPattern은 "(pattern1)stringA(pattern2)stringB(pattern3) ... (pattern9)stringI"로 입력하여야 한다. 즉 pattern1, pattern2, ..., pattern9는 각각 string1, string2, ... , string9에서 찾고자하는 정규식인 것이다.
         - 이때 pattern1이 string1에서 발견한 패턴은 $matched[1]에 저장되고, pattern2가 string2에서 발견한 패턴은 $matched[2]에 저장되고, ..., pattern9가 string9에서 발견한 패턴은 $matched[9]에 저장된다. PHP3의 경우 ereg에서는 최대 9개 까지의 pattern을 찾을 수 있도록 설정되어 있음에 유의하자.
         - 그리고 $matched[0]에는 $matched[1]stringA$matched[2]stringB ... $matched[9]stringI가 저장된다.
         - ereg가 반환하는 값은 $matched[0]에 저장된 문자열의 개수이다.
         코드 => print(ereg ("(.*)ef([abc].*)","abcdefabc",$matched));
         while (list($a,$b)=each($matched))
         코드 => print(ereg ("(.*)d(.*)e(.*)qrs(.*)","abcdefghijklmnopqrstuvwxyz",$matched));
         while (list($a,$b)=each($matched))
         코드 => $date="1999-11-17";
         if (ereg("([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})", $date, $regs))
         else print("Invalid date format: $date");
         if (ereg("([0-9]{2})([01]{1}[09]{1}[0-3]{1}[0-9]{1})-([12]{1}[0-9]{6})",$date, $regs))
         else print("Invalid format: $joomin");
         int eregi(string givenPattern, string givenString, array matched);
         eregi("(^[_\.0-9a-z-]+)@(([0-9a-z][0-9a-z-]+\.)+)([a-z]{2,3}$)",$email,$matched);
  • VonNeumannAirport/Leonardong . . . . 61 matches
         Traffic하고 Configuration을 각각 2차원 행렬로 표현했다. Traffic은 ( origin, destination )에 따른 traffic양이고, Configuration은 origin에서 destination 까지 떨어진 거리를 저장한 행렬이다. 전체 트래픽은 행렬에서 같은 위치에 있는 원소끼리 곱하도록 되어있다. 입출력 부분은 제외하고 전체 트래픽 구하는 기능까지만 구현했다.
         class Matrix:
          def __init__(self, numofGates):
          self.matrix = []
          for i in range( numofGates ):
          self.matrix.append([0]*numofGates)
          def getElement( self, origin, destination ):
          return self.matrix[origin-1][destination-1]
         class DistanceMatrix(Matrix):
          def __init__(self, numofGates):
          Matrix.__init__(self, numofGates)
          def construct( self, origins, destinations ):
          for d in destinations:
          self.matrix[o-1][d-1] = abs( origins.index(o)
          - destinations.index(d) ) + 1
          def getDistance( self, origin, destination ):
          return self.getElement( origin, destination )
         class TrafficMatrix(Matrix):
          def __init__(self, numofGates):
          Matrix.__init__(self, numofGates)
  • MySQL 설치메뉴얼 . . . . 59 matches
          of `mysql'. If so, substitute the appropriate name in the
          and change location into it. In the following example, we unpack
          assume that you have permission to create files and directories in
          `/usr/local'. If that directory is protected, you must perform the
          installation as `root'.)
          platforms are built from the same MySQL source distribution.
          4. Unpack the distribution, which creates the installation directory.
          Then create a symbolic link to that directory:
          shell> gunzip < /PATH/TO/MYSQL-VERSION-OS.tar.gz | tar xvf -
          shell> ln -s FULL-PATH-TO-MYSQL-VERSION-OS mysql
          The `tar' command creates a directory named `mysql-VERSION-OS'.
          The `ln' command makes a symbolic link to that directory. This
          lets you refer more easily to the installation directory as
          With GNU `tar', no separate invocation of `gunzip' is necessary.
          You can replace the first line with the following alternative
          shell> tar zxvf /PATH/TO/MYSQL-VERSION-OS.tar.gz
          5. Change location into the installation directory:
          directory. The most important for installation purposes are the
          You should add the full pathname of this directory to your
          `PATH' environment variable so that your shell finds the MySQL
  • SmalltalkBestPracticePatterns/DispatchedInterpretation . . . . 58 matches
         '''''How can two objects cooperate when one wishes to conceal its representation ? '''''
         하나의 객체가 그것의 표현(Representation)을 숨기기를 바랄 때 어떻게 두 객체들은 협력(Cooperate)할 수 있는가 ?
         Encoding is inevitable in programming. At some point you say, "Here is some information. How am I going to represent it?" This decision to encode information happens a hundred times a day.
         Back in the days when data was separated from computation, and seldom the twain should meet, encoding decisions were critical. Any encoding decision you made was propagated to many different parts of the computation. If you got the encoding wrong, the cost of change was enormous. The longer it took to find the mistake, the more ridiculous the bill.
         Objects change all this. How you distribute responsibility among objects is the critical decision, encoding is a distant second. For the most part, in well factored programs, only a single object is interested in a piece of information. That object directly references the information and privately performs all the needed encoding and decoding.
         Sometimes, however, information in one object must influence the behavior of another. When the uses of the information are simple, or the possible choices based on the information limited, it is sufficient to send a message to the encoded object. Thus, the fact that boolean values are represented as instances of one of two classes, True and False, is hidden behind the message #ifTrue:ifFalse:.
         Sometimes, encoding decisions can be hidden behind intermediate objects. And ASCII String encoded as eight-bit bytes hides that fact by conversing with the outside world in terms of Characters:
         String>>at: anInteger
          ^Character asciiValue: (self basicAt: anInteger)
         When there are many different types of information to be encoded, and the behavior of clients changes based on the information, these simple strategies won't work. The problem is that you don't want each of a hundred clients to explicitly record in a case statement what all the types of information are.
         For example, consider a graphical Shape represented by a sequence of line, curve, stroke, and fill commands. Regardless of how the Shape is represented internally, it can provide a message #commandAt: anInteger that returns a Symbol representing the command and #argumentsAt: anInteger that returns an array of arguments. We could use these messages to write a PostScriptShapePrinter that would convert a Shape to PostScript:
          command := aShape commantAt: each.
          arguments := aShape argumentsAt: each.
          printPoint: (arguments at: 1);
          printPoint: (arguments at: 2);
         Every client that wanted to make decisions based on what commands where in a Shape would have to have the same case statement, violating the "once and only once" rule. We need a solution where the case statement is hidden inside of the encoded objects.
         The simplest example of this is Collection>>do:. By passing a one argument Block(or any other object that responds to #value:), you are assured that the code will work, no matter whether the Collection is encoded as a linear list, an array, a hash table, or a balanced tree.
         This is a simplified case of Dispatched Interpretation because there is only a single message coming back. For the most part, there will be several messages. For example, we can use this pattern with the Shape example. Rather than have a case statement for every command, we have a method in PostScriptShapePrinter for every command, For example:
         Rather than Shapes providing #commandAt: and #argumentsAt:, they provide #sendCommantAt: anInteger to: anObject, where #lineFrom:to: is one of the messages that could be sent back. Then the original display code could read:
          sendCommandAt: each
  • TheJavaMan/숫자야구 . . . . 58 matches
          static BBGameFrame f;
          public static void main(String[] args) {
          public void windowActivated(WindowEvent e) { }
          public void windowDeactivated(WindowEvent e) { }
          * Created on 2004. 1. 17.
          * To change the template for this generated file go to
          * Window - Preferences - Java - Code Generation - Code and Comments
          * To change the template for this generated type comment go to
          * Window - Preferences - Java - Code Generation - Code and Comments
          public static String correct_answer;
          public static void startGame(){
          public static String compare(String aStr){
          if ( correct_answer.charAt(i) == aStr.charAt(i))
          if ( correct_answer.charAt(i) == aStr.charAt(j))
          public static void main(String[] args) {
          * Created on 2004. 1. 17.
          * To change the template for this generated file go to
          * Window - Preferences - Java - Code Generation - Code and Comments
          * To change the template for this generated type comment go to
          * Window - Preferences - Java - Code Generation - Code and Comments
  • RelationalDatabaseManagementSystem . . . . 57 matches
         A relational database management system (RDBMS) is a database management system (DBMS) that is based on the relational model as introduced by Edgar F. Codd.
         = Relational Model =
         The fundamental assumption of the relational model is that all data are represented as mathematical relations, i.e., a subset of the Cartesian product of n sets. In the mathematical model, reasoning about such data is done in two-valued predicate logic (that is, without NULLs), meaning there are two possible evaluations for each proposition: either true or false. Data are operated upon by means of a relational calculus and algebra.
         The relational data model permits the designer to create a consistent logical model of information, to be refined through database normalization. The access plans and other implementation and operation details are handled by the DBMS engine, and should not be reflected in the logical model. This contrasts with common practice for SQL DBMSs in which performance tuning often requires changes to the logical model.
         The basic relational building block is the domain, or data type. A tuple is an ordered multiset of attributes, which are ordered pairs of domain and value. A relvar (relation variable) is a set of ordered pairs of domain and name, which serves as the header for a relation. A relation is a set of tuples. Although these relational concepts are mathematically defined, they map loosely to traditional database concepts. A table is an accepted visual representation of a relation; a tuple is similar to the concept of row.
         The basic principle of the relational model is the Information Principle: all information is represented by data values in relations. Thus, the relvars are not related to each other at design time: rather, designers use the same domain in several relvars, and if one attribute is dependent on another, this dependency is enforced through referential integrity.
         Upload:Relational_key.png
         에드가 코드는 IBM에서 일할 당시 하드 디스크 시스템의 개발을 하였다. 이 사람은 기존의 codasyl approach 의 navigational 모델에 상당히 불만을 많이 가지고 있었다. 왜냐하면 navigational 모델에서는 테이프 대신에 디스크에 데이터베이스가 저장되면서 급속하게 필요하게된 검색 기능에 대한 고려가 전혀되어있지 않았기 때문이다. 1970년에 들어서면서 이 사람은 데이터베이스 구축에 관한 많은 논문을 썻다. 그 논문은 결국에는 A Relational Model of Data for Large Shared Data Banks 라는 데이터 베이스 이론에 근복적인 접근을 바꾸는 논문으로 집대성되었다.
         음 해석하기 귀찮네 ㅡ.ㅡ;; 궁금하면 여기서 읽어보면 될듯... 테이블 기반의 저장 방식에 도대체 왜 관계형 DB라는 말이 도대체 왜 붙은건지를 모르겠어서 찾아보았음. [http://en.wikipedia.org/wiki/Database_management_system 원문보기]
  • Slurpys/박응용 . . . . 57 matches
         class UnitPattern:
          def match(self, target):
         class Word(UnitPattern):
          def match(self, target):
         class And(UnitPattern):
          def match(self, target):
          if not arg.match(target):
         class Or(UnitPattern):
          def match(self, target):
          if arg.match(target):
         class More(UnitPattern):
          def match(self, target):
          for count, t in enumerate(target):
         class MultiPattern:
          def match(self, target):
          return self.pat.match(target)
          return self.pat.remain()
         class Slump(MultiPattern):
          self.pat = And(
         class Slimp(MultiPattern):
  • 새싹교실/2012/startLine . . . . 57 matches
          * 추상화의 측면에서 보는 타입과 연산(operation).
         void printDate(int nameOfDay, int endDayOfMonth);
         int calculateNameOfNextMonthFirstDay(int nameOfDay, int year, int month);
         int calculateNameOfLastDay(int nameOfDay, int year, int month);
          printf("Enter the name of day(0:sun ~ 6:sat) : ");
          nameOfDay = calculateNameOfNextMonthFirstDay(nameOfDay, year, month);
          Sun Mon Tue Wed Thu Fri Sat
          * 왜 strcat(str1, str2)를 한 후에 str1을 프린트했는데 이상한 출력이 나오는가.
          People p;와 strcat의 사용에 문제가 있습니다. p를 초기화(People p = {0};) 하지 않고 사용하면
          p.name이 쓰레기 값으로 채워지는 것 같습니다. 그래서 strcat을 사용하면 p.name의 뒷부분(p.name[99]의 뒷부분)에 "홍길동" 내용이 붙습니다.
          strcat(p.name, "홍길동");
          strcat(str1, str2);
         Account *createAccount(char *name); // Account에 깔끔하게 이름을 할당하기 위해서는 문자열 함수가 필요할 것이다.
         AccountArray *createAccountArray(int maxLength);
          * 왜 createAccount(char *name)은 Account의 *를 반환하는가.
         typedef int Data;
          Data data;
         LinkedList *createList();
         Node *createNode(Data data);
         void addData(LinkedList *linkedList, Data data); // LinkedList의 맨 뒤에 Data를 가진 Node 추가.
  • MoinMoinBugs . . . . 54 matches
         Back to MoinMoinTodo | Things that are MoinMoinNotBugs | MoinMoinTests contains tests for many features
         ''Yes, by design, just like headings don't accept trailing spaces. In the case of headings, it is important because "= x =" is somewhat ambiguous. For tables, the restriction could be removed, though.''
         And as a fun sidenote, the UserPreferences cookie doesn't seem to work. The cookie is in my ~/.netscape/cookies file still. My EfnetCeeWiki and XmlWiki cookies are duplicated!? It is kind of like the bug you found when I, ChristianSunesson, tried this feature with netscape just after you deployed it.
         Hehe, and my changes are not logged to the RecentChanges database, I'll hope you find these changes this year. :) BUG BUG BUG!
         ''Well, Netscape suxx. I send the cookies with the CGI'S path, w/o a hostname, which makes it unique enough. Apparently not for netscape. I'll look into adding the domain, too.''
          * Solve the problem of the Windows filesystem handling a WikiName case-indifferent (i.e. map all deriatives of an existing page to that page).
          * Check whether the passed WikiName is valid when editing pages (so no pages with an invalid WikiName can be created); this could also partly solve the case-insensitive filename problem (do not save pages with a name only differing in case)
          * InterWiki links should either display the destination Wiki name or generate the A tag with a TITLE attribute so that (at least in IE) the full destination is displayed by floating the cursor over the link. At the moment, it's too hard to figure out where the link goes. With that many InterWiki destinations recognised, we can't expect everyone to be able to recognise the URL.
          * Hover over the interwiki icon and you'll already get a tooltip, I'll look into the title attribute stuff.
          * RecentChanges can tell you if something is updated, or offer you a view of the diff, but not both at the same time.
          * If you want the ''latest'' diff for an updated page, click on "updated" and then on the diff icon (colored glasses) at the top.
          * That's what I'm doing for the time being, but by the same rationale you don't need to offer diffs from RecentChanges at all.
          * It'd be really nice if the diff was between now and the most recent version saved before your timestamp (or, failing that, the oldest version available). That way, diff is "show me what happened since I was last here", not just "show me what the last edit was."
          * Hmmm, that '''is''' so. :) Take a look at the message at the top of the diff page after clicking on "updated", it'll often show text like "spanning x versions". You need the current CVS version for that, though.
          * Oh, okay. Is this MoinMoin CVS enabled? Reason being: I did a few updates of a page, and was only being shown the last one. I'll try that some more and get back to you.
          * Not CVS, but versioning all the same. I mean you have to get the most recent code from the SourceForge CVS archive for some features to work, if you test on a ''local'' wiki.
         With 0.3, TitleIndex is broken if first letter of Japanese WikiName is multibyte character. This patch works well for me but need to be fixed for other charsets.
         *** moin.cgi.sav Sat Oct 28 13:26:26 2000
         --- moin.cgi Sat Oct 28 13:39:04 2000
         AtsuoIshimoto
  • 비행기게임/BasisSource . . . . 54 matches
         #format python
         import random, os.path
          file = os.path.join('data',file)
          def update(self):
          def update(self) :
          patientOfInducement = 50
          speedIncreaseRateOfY = 0.1
          def update(self):
          if self.rect.centery<(self.playerPosY-self.patientOfInducement):
          self.speedy+=self.speedIncreaseRateOfY
          elif self.rect.centery>(self.playerPosY+self.patientOfInducement):
          self.speedy-=self.speedIncreaseRateOfY
          def update(self):
          def update(self):
          pattern = 0
          shotRate = 9 #If ShotRate is high the enemy shot least than low
          def setSpritePattern(self, pattern):
          self.pattern = pattern
          def update(self):
          if self.count%(self.imagefrequence*self.shotRate) == 0:
  • SummationOfFourPrimes/1002 . . . . 53 matches
          self.createList()
          def createList(self):
         from __future__ import generators
          self.createList()
          def createList(self):
         C:\WINDOWS\system32\cmd.exe /c python SummationOfFourPrimes.py
          1 0.075 0.075 1.201 1.201 summationoffourprimes.py:13(createList)
          1 5.103 5.103 6.387 6.387 summationoffourprimes.py:88(main)
          1 0.000 0.000 1.201 1.201 summationoffourprimes.py:8(__init__)
          9999 1.126 0.000 1.126 0.000 summationoffourprimes.py:18(isPrimeNumber)
          1 0.000 0.000 0.000 0.000 summationoffourprimes.py:24(getList)
          11061 0.083 0.000 0.083 0.000 summationoffourprimes.py:79(selectionFour)
         C:\WINDOWS\system32\cmd.exe /c python SummationOfFourPrimes.py
          1 0.428 0.428 19.348 19.348 summationoffourprimes.py:13(createList)
          1 5.492 5.492 24.923 24.923 summationoffourprimes.py:88(main)
          1 0.000 0.000 19.348 19.348 summationoffourprimes.py:8(__init__)
          49999 18.920 0.000 18.920 0.000 summationoffourprimes.py:18(isPrimeNumber)
          1 0.000 0.000 0.000 0.000 summationoffourprimes.py:24(getList)
          10265 0.083 0.000 0.083 0.000 summationoffourprimes.py:79(selectionFour)
         C:\WINDOWS\system32\cmd.exe /c python SummationOfFourPrimes.py
  • BusSimulation/태훈zyint . . . . 51 matches
         const int BusStationNo = 10; // 버스 정류장의 개수
         const long timerate = 1*60; // 시뮬레이터 할 때 한번 실행할 때마다 지나가는 시간
          long waitingPeopleInBusStation[BusStationNo] = {0,0,}; //각 정류장에서 기다리는 사람수
          int i,j; //iterator
          Now += timerate;
          if(bus->BusStationPos(j)==i) {
          waitingPeopleInBusStation[j]+= timerate * (IncreasePerMinute_People/60.0);
          cout << waitingPeopleInBusStation[j] ;
          for(i=0;i<=bus->BusLanelength()+BusStationNo;++i ) cout<< "-";
          if(bus[i].isstation() != -1 ){ //버스 정류장일경우
          long& stationno = waitingPeopleInBusStation[bus[i].isstation()]; //버스 정류장에 있는 사람의 숫자
          if(stationno < cangetno){ // 태울수 있는 사람의 숫자가 더 많을 경우
          ride_no=stationno;
          while(timerate - ride_no * ridingSecond < 0)
          waitingPeopleInBusStation[bus[i].isstation()]=stationno-ride_no;
          while(timerate - ride_no * ridingSecond < 0)
          stationno -= ride_no;
          cout << stationno << " ";
          bus[i].movebus(timerate - ride_no * ridingSecond);
          cout << i << ":" << bus[i].getBusPos() << "," << bus[i].isstation() << ", 승객수:" << bus[i].getPassengers() <<endl;
  • D3D . . . . 51 matches
          * potential function에 대해서만 봤다.. 약간 쓸만한 알고리즘(?) 인것 같다. ㅋㅋㅋ[[BR]]다음에 나오는 PathPlan에 관한얘기는 쉬운것 같은데. 장난이 아니다.[[BR]]머리 아프다. - 249p/602p...
         그리고, 예제 source 1개정도.. 여기 까지 봤음.. - 곧 update , 01.06.2002 Sun[[BR]]
         이 chapter는 math3D라는 library를 만드는 chapter이다[[BR]]
          float x, y, z; // 구조체의 이름이 정의되지 않았지 때문에 x,y,z 성분을 원자 단위로 사용.
          float v[3];
          point3 (float X, float Y, float Z) : x(X), y(Y), z(Z) {} // 초기화 목록을 사용. (compiler가 작업을 더 잘 수행할 수 있도록 해준다더군.)
          point3 operator +(point3 const &a, point3 const &b);
          point3 operator -(point3 const &a, point3 const &b);
          point3 operator *(point3 const &a, float const &b);
          point3 operator *(float const &a, point3 const &b);
          point3 operator /(point3 const &a, float const &b);
         inline void point3::Assign (float X, float Y, float Z)
         inline float point3::Mag () const
         inline float point3::MagSquared () const
          float foo = 1/Mag ();
         float이나 double이 나타낼수 있는 부동소수점의 한계로 인해 vector끼리 동등한지 아닌지를 잘 처리하지 못한다.[[BR]]
         inline bool operator ==(point3 const &a, point3 const &b)
         inline float operator *(point3 const &a, point3 const &b)
         inline point3 operator ^(point3 const &a, point3 const &b)
         template <class type>
  • WeightsAndMeasures/황재선 . . . . 51 matches
          self.dataList = []
          def inputEachData(self, weight, strength):
          self.dataList.append([weight, strength, strength-weight])
          return self.dataList
          self.stack.append(self.dataList[i][:])
          def findNextDataIndex(self):
          nextDataIndex = -1
          for each in self.dataList:
          nextDataIndex = self.dataList.index(each)
          nextDataIndex = self.dataList.index(each)
          return nextDataIndex
          for each in range(len(self.dataList)):
          next = self.findNextDataIndex()
          if self.isInStack(self.dataList[next][0]):
          def testInputEachData(self):
          self.assertEquals([[300, 1000, 700]], self.wam.inputEachData(300, 1000))
          ], self.wam.inputEachData(1000, 1200))
          ], self.wam.inputEachData(200, 600))
          self.wam.inputEachData(300, 1000)
          self.wam.inputEachData(1000, 1200)
  • 그래픽스세미나/3주차 . . . . 51 matches
          || 윤정수 || Upload:mathLib.zip 아직 제작중 역행렬은 어찌 구하징.. ㅡㅡ;; ||
          || 박경태 || Upload:OpenGLATL03_Pkt.zip ATL(??) 컴파일후 ATLTest.htm를 실행 ||
         # include "math.h"
         template <class T>
          CGX_Vector<T> operator+(CGX_Vector<T> in);
          CGX_Vector<T> operator+(T* in);
          CGX_Vector<T> operator-(CGX_Vector<T> in);
          CGX_Vector<T> operator-(T* in);
          CGX_Vector<T> operator*(T in);
          CGX_Vector<T> operator/(T in);
          void operator=(CGX_Vector<T> in);
          void operator=(T* in);
          T& operator[](int in);
          CGX_Vector<T> operator*(CGX_Vector<T> in);//cross product
          T operator^(CGX_Vector<T> in);//dot product
          float Length();
          friend CGX_Vector<T> operator-(CGX_Vector<T> in);
         template<class T>
         template<class T>
         template<class T>
  • CubicSpline/1002/test_NaCurves.py . . . . 50 matches
         #format python
          dataset = [-1.0, -0.8, -0.6, -0.4, -0.2, 0, 0.2, 0.4, 0.6, 0.8, 1.0]
          for x in dataset:
          self.dataset = [-1.0, -0.8, -0.6, -0.4, -0.2, 0, 0.2, 0.4, 0.6, 0.8, 1.0]
          self.l = Lagrange(self.dataset)
          return self.dataset[i]
          l = Lagrange(self.dataset)
          self.assertEquals (l.getControlPointListX(), self.dataset)
          l = Lagrange(self.dataset)
          for x in self.dataset:
          l = Lagrange(self.dataset)
          l = Lagrange(self.dataset)
          l = Lagrange(self.dataset)
          for i in range(0, len(self.dataset)):
          for j in range(0, len(self.dataset)):
          for i in range(1, len(self.dataset)):
          y0 = givenFunction(self.dataset[0])
          for i in range(0, len(self.dataset)):
          def testInterpolation(self):
          for x in self.dataset:
  • OurMajorLangIsCAndCPlusPlus/float.h . . . . 50 matches
          == float.h ==
          == Floating Point ==
         ||FLT_DIG ||float형에서 유효숫자의 최소 개수 ||6 ||
         ||FLT_EPSILON ||1.0과 더했을 때 float형으로 1.0이 되지 않을 최소의 값 ||1.192092896e–07F ||
         ||FLT_MANT_DIG ||float형 floating point로 표현 할 수 있는 significand의 비트 수 ||24 ||
         ||DBL_MANT_DIG ||double형 floating point로 표현 할 수 있는 significand의 비트 수 ||53 ||
         ||LDBL_MANT_DIG ||long double형 floating point로 표현 할 수 있는 significand의 비트 수 ||53 ||
         ||FLT_MAX ||float형으로 표현할 수 있는 가장 큰 floating point 값 ||3.402823466e+38F ||
         ||DBL_MAX ||double형으로 표현할 수 있는 가장 큰 floating point 값 ||1.7976931348623158e+308 ||
         ||LDBL_MAX ||long double형으로 표현할 수 있는 가장 큰 floating point 값 ||1.7976931348623158e+308 ||
         ||FLT_MAX_10_EXP ||float형으로 표현할 수 있는 가장 큰 floating point의 10의 지수값 ||38 ||
         ||DBL_MAX_10_EXP ||double형으로 표현할 수 있는 가장 큰 floating point의 10의 지수값 ||308 ||
         ||LDBL_MAX_10_EXP ||long double형으로 표현할 수 있는 가장 큰 floating point의 10의 지수값 ||308 ||
         ||FLT_MAX_EXP ||float형으로 표현할 수 있는 가장 큰 floating point의 2의 지수값 ||128 ||
         ||DBL_MAX_EXP ||double형으로 표현할 수 있는 가장 큰 floating point의 2의 지수값 ||1024 ||
         ||LDBL_MAX_EXP ||long double형으로 표현할 수 있는 가장 큰 floating point의 2의 지수값 ||1024 ||
         ||FLT_MIN ||float형으로 표현할 수 있는 가장 작은 양의 floating point 값 ||1.175494351e–38F ||
         ||DBL_MIN ||double형으로 표현할 수 있는 가장 작은 양의 floating point 값 ||2.2250738585072014e–308 ||
         ||LDBL_MIN ||long double형으로 표현할 수 있는 가장 작은 양의 floating point 값 ||2.2250738585072014e–308 ||
         ||FLT_MIN_10_EXP ||float형으로 표현할 수 있는 가장 작은 floating point의 10의 지수값 ||–37 ||
  • PatternOrientedSoftwareArchitecture . . . . 50 matches
         wiki:NoSmok:OpeningStatement 부분
         == 1. Patterns ==
         == 2. Architectual Patterns ==
         || From Mud to Structure || Layer, Blackboard Pattern || 전체적인 시스템을 상호 협력하는 하부 그룹으로 나누어서 관리 힌다.||
         || Distributed Systems || Broken Patterns || use in distributed application ||
         || Interactive Systems || Model-View-Controlled, Presentation-Abstraction-Control Pattern || - ||
         || Adaptable Systems || Microkernel pattern || - ||
          * 시스템의 각 부분은 교환 가능해야 한다. (Design for change in general is a major facilitator of graceful system evolution - 일반적으로 변화에 대비한 디자인을 하는것은 우아한 시스템 개발의 주요한 촉진자이다.)
          * It may be necessary to build other systems at a later date with the same low-level issues as the system you are currently designing ( 정확한 의미는 모르겠음, 누가 해석좀....)
          * 협력자(collaborator) : 레이어 J-1
          * Scenario1 - top-down communication, 가장 잘 알려진것이다. 클라이언트가 레이어 N에게 요청을 한다. 그러면 레이어 N은 홀로 모든 작업을 할 수 없기 때문에 하부 작업을 레이어 N-1에게 넘긴다. 그러면 레이어 N-1은 자신의 일을 하고 레이어 N-2에게 하부 작업을 넘기고, 이런식의 과정이 레이어 1에 도달할때까지 이루어 진다. 그래서 가장 낮은 수준의 서비스가 수행된다. 만약 필요하다면 다양한 요청에 대한 응답들이 레이어 1에서 레이어 2, 이런식으로 레이어 N에 도달할때까지 이루어진다. 이러한 top-down 소통의 특징은 레이어 J는 종종 레이어 J+1로부터 온 하나의 요청을 여러개의 요청으로 바꿔서 레이서 J-1에게 전한다. 이는 레이어 J가 레이어 J-1보다 더 추상적이기 때문이다. 덜 추상적인것이 여러개 모여서 더 추상적인것이 되는 것을 생각해보면 이해가 갈것이다.(예를 들어 복잡한 소켓 프로그래밍을 자바에서는 간단한 명령어로 금방 한다.)
          * Scenario2 - bottom-up communication, 레이어 1에서 시작하는 연쇄적인 동작들이다. top-down communicatin과 헷갈릴 수도 있는데 top-down communication은 요청(requests)에 의해서 동작하지만, bottom-up communication은 통지(notifications)에 의해서 동작한다. 예를 들어서 우리가 키보드 자판을 치면, 레벨1 키보드에서 최상위 레벨 N에 입력을 받았다고 통지를 한다. bottom-up communicatin에서는 top-down communication과는 반대로 여러개의 bottom-up 통지들(notifications)은 하나의 통지로 압축되어서 상위 레이어로 전달되거나 그대로 전달된다.
          * Scenario3 - 레이어 N-1이 cache로 작용하여서, 레이어 N의 요청이 레이어 N-1에게만 전달되고 더이상 하위 레이어로 전달되지 않는다. 요청을 보내기만 하는 레이어들이 상태가 없는(stateless) 반면에 이러한 cache 레이어는 상태 정보를 유지한다. 상태가 없는 레이어들은 프로그램을 간단하게 한다는 이점이 있다.
          * 실행(implementation) - 아래 과정은 모든 application에 반드시 가장 좋은 방법이라고 할 수는 없다. 종종 bottom-up이나 yo-yo 방법으로 접근하는것이 더 좋을지도 모른다. 자신의 application에 필요하다 싶은 과정을 짚어서 하면 된다.
          * Relaxed Layered System : 이시스템을 통해서 얻은 유연성과 성능의 향상은 유지보수 능력의 저하를 가져온다. application 소프트웨어 보다 infrastructure(영구적인) 시스템에서 자주 본다. UNIX, X Window System가 그예이다.
          * Information System(IS)
          * 이 패턴은 : data source - filter - pipes - filter - data sink, 의 순서로 되어 있고, 각 필터에서는 데이터를 처리하는 함수가 있을 수 있다. 레이어 패턴과 비슷한 점도 보이지만, 이 패턴의 특징은 쉬운 재조합과 재사용성이다. 에러를 처리하는 관점과 시스템의 신뢰성을 따지면 레이어가 더 낮다.
          * 예제 : 여기서는 음성인식 시스템을 예로 들었다. 음성인식 프로그램은 단지 하나의 단어를 받아들일 뿐만 아니라 구문과 단어가 특정한 application에 필요한 단어나 구문론에 맞는 것으로 제한된 문장 전체를 받아 들인다. 원하는 output은 그 음성 인식한것에 맞는 기계적인 표현으로 바꾸는 것인데 이 변환 과정에는 음성을 음파적으로 인식하는 것과, 언어학적인 면에서 인식하는것과, 통계적인 전문성에서 인식하는 것이 필요하다.
          * input은 intermediate 와 마지막 result와 마찬가지로 다양한 표현이 있다. 알고리즘들은 다양한 paradigm들에 의해서 수행된다.
          * 전문적인 시스템 구조는 application of knowledge에 대해서 단지 하나의 추론 엔진을 제공한다. 다양한 표현에 대한 다양한 부분적인 문제들은 분리된 추론 엔진을 필요로 한다.
  • FortuneCookies . . . . 49 matches
          * He who spends a storm beneath a tree, takes life with a grain of TNT.
          * You attempt things that you do not even plan because of your extreme stupidity.
          * Your mind understands what you have been taught; your heart, what is true.
          * He who has a shady past knows that nice guys finish last.
          * You have a will that can be influenced by all with whom you come in contact.
          * You will overcome the attacks of jealous associates.
          * He who invents adages for others to peruse takes along rowboat when going on cruise.
          * Of all forms of caution, caution in love is the most fatal.
          * Stop searching forever. Happiness is unattainable.
          * It's later than you think.
          * You will gain money by a speculation or lottery.
          * It's not reality that's important, but how you percieve things.
          * You recoil from the crude; you tend naturally toward the exquisite.
          * The attacker must vanquish; the defender need only survive.
          * It is Fortune, not wisdom that rules man's life.
          * You have literary talent that you should take pains to develop.
          * He who has imagination without learning has wings but no feet.
          * Lend money to a bad debtor and he will hate you.
          * The luck that is ordained for you will be coveted by others.
          * As goatheard learns his trade by goat, so writer learns his trade by wrote.
  • Gof/Strategy . . . . 49 matches
         = Strategy =
         비슷한 문제들을 해결할 수 있는 알고리즘의 군들을 정의하고, 각각의 알고리즘을 캡슐화하고, 그 알고리즘들을 교환할 수 있도록 한다. Strategy는 알고리즘들로 하여금 해당 알고리즘을 이용하는 클라이언트로부터 독립적일수 있도록 해준다.
         == Motivation ==
         http://zeropage.org/~reset/zb/data/strat011.gif
         Composition 클래스는 text viewer에 표시될 텍스틀 유지하고 갱신할 책임을 가진다고 가정하자. Linebreaking strategy들은 Composition 클래스에 구현되지 않는다. 대신, 각각의 Linebreaking strategy들은 Compositor 추상클래스의 subclass로서 따로 구현된다. Compositor subclass들은 다른 streategy들을 구현한다.
         StrategyPattern 은 다음과 같은 경우에 이용할 수 있다.
          * 많은 관련 클래스들이 오직 그들의 행동들에 의해 구분된다. Strategy들은 많은 행위중에 한가지로 상황에 따라 클래스을 설정해주는 방법을 제공해준다.
          * 당신은 알고리즘의 다양함을 필요로 한다. 예를 들어, 당신이 알고리즘을 정의하는 것은 사용메모리/수행시간에 대한 trade-off (메모리를 아끼기 위해 수행시간을 희생해야 하거나, 수행시간을 위해 메모리공간을 더 사용하는 것 등의 상관관계)이다. Strategy 는 이러한 다양한 알고리즘의 계층 클래스를 구현할때 이용될 수 있다.
          * StrategyPattern을 이용함으로써 복잡함이 노출되는 것과 알고리즘 구체적인 데이터 구조로 가는 것을 피할 수 있다.
          * 클래스가 많은 행위들을 정의한다. 이는 다중조건문들에 의해서 구현되곤 한다. 이러한 많은 조건문들 대신, 각각 관련된 조건들을 Strategy 클래스들에게로 이동시킬 수 있다.
         http://zeropage.org/~reset/zb/data/strategy.gif
          * Strategy (Compositor)
          * 모든 제공된 알고리즘에 대한 일반적인 인터페이스를 선언한다. Context는 ConcreteStrategy에 의해 구현된 알고리즘들을 호출하기 위해 이 인터페이스를 이용한다.
          * ConcreteStrategy (SimpleCompositor, TeXCompositor, ArrayCompositor)
          * Strategy 인터페이스를 이용하여 알고리즘을 구현한다.
          * ConcreteStrategy 객체로 설정되어진다.
          * Strategy 객체의 참조를 가진다.
          * Strategy 가 context의 데이터를 접근할 수 있도록 인터페이스를 정의할 수 있다.
         StrategyPattern 은 다음과 같은 장점과 단점을 가진다.
          * 조건문을 제거하기 위한 Strategy
  • Java/ModeSelectionPerformanceTest . . . . 49 matches
          private void executeIfElse(String[] modeExecute) {
         Seminar:WhySwitchStatementsAreBadSmell 에 걸리지 않을까? 근데.. 그에 대한 반론으로 들어오는것이 '이건 mode 분기이므로 앞에서의 Switch-Statement 에서의 예와는 다른 상황 아니냐. 어차피 분기 이후엔 그냥 해당 부분이 실행되고 끝이다.' 라고 말할것이다. 글쌔. 모르겠다.
         한편으로 느껴지는 것으로는, switch 로 분기를 나눌 mode string 과 웹 parameter 와의 중복이 있을 것이라는 점이 보인다. 그리고 하나의 mode 가 늘어날때마다 해당 method 가 늘어나고, mode string 이 늘어나고, if-else 구문이 주욱 길어진다는 점이 있다. 지금은 메소드로 추출을 해놓은 상황이지만, 만일 저 부분이 메소드로 추출이 안되어있다면? 그건 단 한마디 밖에 할말이 없다. (단, 저 논문을 아는 사람에 한해서) GotoStatementConsideredHarmful.
         import java.lang.reflect.InvocationTargetException;
          public void printPerformance(String[] modeExecute) throws InvocationTargetException, IllegalAccessException {
          private void executeReflection(String[] modeExecute) throws InvocationTargetException, IllegalAccessException {
          } catch (NoSuchMethodException e) {
          } catch (SecurityException e) {
          e.printStackTrace(); //To change body of catch statement use Options | File Templates.
          private void doDefault(int i) {
         import java.lang.reflect.InvocationTargetException;
          * User: Administrator Date: 2003. 7. 12. Time: 오전 12:48:38
          public void printPerformance(String[] modeExecute) throws InvocationTargetException, IllegalAccessException {
          private static Map methodMap;
          private void executeReflectionWithMapping(String[] modeExecute) throws InvocationTargetException, IllegalAccessException {
          private void initReflectionMap(String[] methodNames) {
          } catch (NoSuchMethodException e) {
          } catch (SecurityException e) {
          private void doDefault(int i) {
         === 네번째. Inner Class 에 대해 Command Pattern 의 사용. ===
  • VonNeumannAirport/인수 . . . . 49 matches
         //Traffic은 거의 데이타 저장고(data holder)의 역할을 하고 있네요. C의 struct처럼 말이죠.
         #include <cmath>
         private :
          int _departureGateNum;
          int _arrivalGateNum;
          Traffic(int departureGateNum, int arrivalGateNum, int passengerNum)
          : _departureGateNum(departureGateNum), _arrivalGateNum(arrivalGateNum), _passengerNum(passengerNum) {}
          int getDepartureGateNum() const
          return _departureGateNum;
          int getArrivalGateNum() const
          return _arrivalGateNum;
         private:
          vector<int> _arrivalGateNums;
          vector<int> _departureGateNums;
          _arrivalGateNums.resize(_numCity);
          _departureGateNums.resize(_numCity);
          void addTrafficData(const Traffic& traffic)
          void eraseGateOrder()
          _arrivalGateNums.clear();
          _departureGateNums.clear();
  • BusSimulation/상협 . . . . 48 matches
         //BusSimulation.h
         private:
         class BusSimulation {
         private:
          int m_busStation[10]; // 10개의 버스 정류장
          long m_waitingPeopleInBusStation[10]; //각 정류장에서 기다리는 사람수
          BusSimulation(); //각 값들을 초기화 해줌
          void CheckBusStation(); //각 버스 정류장에 버스가 도착했는지 체크
          void StationStopProcess(Bus &CheckedBus, int Station); //버스 정류장 버스가 도착했을 경우
         //BusSimulation.cpp
         #include "BusSimulation.h"
         BusSimulation::BusSimulation()
          m_waitingPeopleInBusStation[i] = 0;
          m_busStation[0]=4; //시작 지점부터 각 버스 정류장 까지의 길이, 단위는 Km
          m_busStation[1]=8;
          m_busStation[2]=16;
          m_busStation[3]=20;
          m_busStation[4]=28;
          m_busStation[5]=24;
          m_busStation[6]=36;
  • DPSCChapter2 . . . . 48 matches
         = Chatper 2 =
         Before launching into our descriptions of specific design patterns, we present a case study of sorts, involving multiple patterns. In the Design Pattern preface, the Gang of Four speak about moving from a "Huh?" to an "Aha!" experience with regard to understanding design patterns. We present here a little drama portraying such a transition. It consists of three vignettes: three days in the life of two Smalltalk programmers who work for MegaCorp Insurance Company. We are listening in on conversations between Don (an object newbie, but an experienced business analyst) and Jane (an object and pattern expert). Don comes to Jane with his design problems, and they solve them together. Although the characters are fictitious, the designs are real and have all been part of actual systems written in Smalltalk. Our goal is to demonstrate how, by careful analysis, design patterns can help derive solutions to real-world problems.
         디자인 패턴에 대한 구체적인 설명에 들어가기 전에 우리는 다양한 패턴들이 포함된 것들에 대한 예시들을 보여준다. 디자인 패턴 서문에서 GoF는 디자인 패턴을 이해하게 되면서 "Huh?" 에서 "Aha!" 로 바뀌는 경험에 대해 이야기한다. 우리는 여기 작은 단막극을 보여줄 것이다. 그것은 3개의 작은 이야기로 구성되어있다 : MegaCorp라는 보험회사에서 일하는 두명의 Smalltalk 프로그래머의 3일의 이야기이다. 우리는 Don 과(OOP에 대해서는 초보지만 경험있는 사업분석가) Jane (OOP와 Pattern 전문가)의 대화내용을 듣고 있다. Don 은 그의 문제를 Jane에게 가져오고, 그들은 같이 그 문제를 해결한다. 비록 여기의 인물들의 허구의 것이지만, design 은 실제의 것이고, Smalltalk로 쓰여진 실제의 시스템중 일부이다. 우리의 목표는 어떻게 design pattern이 실제세계의 문제들에 대한 해결책을 가져다 주는가에 대해 설명하는 것이다.
         2.1 Scene One : State of Confusion
         Our story begins with a tired-looking Don approaching Jane's cubicle, where Jane sits quietly typing at her keyboard.
         우리의 이야기는 지친표정을 지으며 제인의 cubicle (음.. 사무실에서의 파티클로 구분된 곳 정도인듯. a small room that is made by separating off part of a larger room)로 가는 Don 과 함께 시작한다. 제인은 자신의 cubicle에서 조용히 타이핑하며 앉아있다.
         Don : Hey, Jane, could you help me with this problem? I've been looking at this requirements document for days now, and I can't seem to get my mind around it.
         Jane : That's all right. I don't mind at all. What's the problem?
         Jane : Can you show me what you've done?
          1. Data Entry. This consists of various systems that receive health claims from a variety of different sources. All are logged by assigning a unique identifier. Paper claims and supporting via OCR (optical character recognition) to capture the data associated with each form field.
          2. Validation. The scanned and entered forms are validated to ensure that the fields are consistent and completely filled in. Incomplete or improperly filled-in forms are rejected by the system and are sent back to the claimant for resubmittal.
          3. Provider/Plan Match. An automated process attempts to mach the plan (the contract unser which the claim is being paid) and the health care provider (e.g., the doctor) identified on the claim with the providers with which the overall claim processing organization has a contract. If there is no exact match, the program identifies the most likely matches based on soundex technology (an algorithm for finding similar-sounding words). The system displays prospective matches to knowledge workers in order of the likeinhood of the match, who then identify the correct provider.
          4. Automatic Adjudication. The system determines whether a claim can be paid and how much to pay if and only if there are no inconsistencies between key data items associated with the claim. If there are inconsistencies, the system "pends" the claim for processing by the appropriate claims adjudicator.
          5. Adjudication of Pended Claims. The adjudicator can access the system for a claim history or a representation of the original claim. The adjudicator either approves the claim for payment, specifying the proper amount to pay, or generates correspondence denying the claim.
         Data Entry. 이것은 다양한 form으로부터 health claims 를 받는 다양한 시스템으로 구성된다. 모두 고유 id 가 할당되어 기록되며, Paper claims OCR (광학문자인식) 로 캡쳐된 데이터는 각 form field 들에 연관되어있다.
         Validation. 스캔되고 입력되어진 form들은 각 필드들에 대해 일관성보증과 모든 폼이 완전히 채워졌는지에 대한 보증을 위해 검증작업을 거친다. 불완전하거나 적절치 못한 입력은 시스템에 의해 reject되고, 재확인을 위해 요구자에게 도로 보내진다.
  • AdventuresInMoving:PartIV/김상섭 . . . . 47 matches
         }Station;
         static int totalLength; /* 워털루에서 대도시까지의 거리 */
         static int numStation; /* 주유소 수 */
         static Station station[MAX_SIZE]; /* 주유소 정보 */
          return station[i].length - station[i-1].length;
          numStation = 1;
          station[numStation].length = 0;
          station[numStation].price = 0;
          numStation++;
          cin >> station[numStation].length >> station[numStation].price;
          numStation++;
          station[numStation].length = totalLength;
          station[numStation].price = 0;
          while(now != numStation)
          while(station[now].length + go >= station[search].length)
          if(station[now].price > station[search].price)
          if(station[search].length - station[now].length >= tank)
          cost += (station[search].length - station[now].length - tank)*station[now].price;
          tank = tank - station[search].length + station[now].length;
          if(maxminprice > station[search].price)
  • DebuggingSeminar_2005/AutoExp.dat . . . . 47 matches
         Watch 창에서 표현되는 표현을 정의한 파일이다. (파일은 VC 디렉토리에서 검색을 하면 나온다.)
         살표보면 MFC, ATL, STL의 기본 데이터형이 Watch 윈도우 상에서 표현되는 형태가 정의되어 있음을 알 수 있다.
         ; AutoExp.Dat - templates for automaticially expanding data
         ; Copyright(c) 1997-2001 Microsoft Corporation. All Rights Reserved.
         ; While debugging, Data Tips and items in the Watch and Variable
         ; windows are automatically expanded to show their most important
         ; elements. The expansion follows the format given by the rules
         ; To find what the debugger considers the type of a variable to
         ; be, add it to the Watch window and look at the Type column.
         ; optional Watch format specifier.
         ; brackets ([]) indicate optional items.
         ; type=[text]<member[,format]>...
         ; type Name of the type (may be followed by <*> for template
         ; types such as the ATL types listed below).
         ; format Watch format specifier. One of the following:
         ; f Signed floating-point 3./2.,f 1.500000
         ; e Signed scientific-notation 3./2.,e 1.500000e+000
         ; s Zero-terminated string pVar,s "Hello world"
         ; For details of other format specifiers see Help under:
         ; "format specifiers/watch variable"
  • HowToStudyDesignPatterns . . . . 47 matches
         see also DoWeHaveToStudyDesignPatterns
          ''We were not bold enough to say in print that you should avoid putting in patterns until you had enough experience to know you needed them, but we all believed that. I have always thought that patterns should appear later in the life of a program, not in your early versions.''
         패턴 중에 보면 서로 비슷비슷한 것들이 상당히 많습니다. 그 구조로는 완전히 동일한 것도 있죠 -- 초보자들을 괴롭히는 것 중 하나입니다. 이것은 외국어를 공부할 때 문법 중심적인 학습을 하는 것과 비슷합니다. "주어+동사+목적어"라는 구조로는 동일한 두 개의 문장, 즉 "I love you"와 "I hate you"가 구조적으로는 동일할 지라도 의미론적으로는 완전히 반대가 될 수 있는 겁니다. 패턴을 공부할 때에는 그 구조보다 의미와 의도를 우선해야 하며, 이는 다양한 실례를 케이스 바이 케이스로 접하면서 추론화 및 자신만의 모델화라는 작업을 통해 하는 것이 최선입니다. 스스로 문법을 발견하고 체득하는 것이라고 할까요.
          ''The other thing I want to underscore here is how to go about reading Design Patterns, a.k.a. the "GoF" book. Many people feel that to fully grasp its content, they need to read it sequentially. But GoF is really a reference book, not a novel. Imagine trying to learn German by reading a Deutsch-English dictionary cover-to-cover;it just won't work! If you want to master German, you have to immerse yourself in German culture. You have to live German. The same is true of design patterns: you must immerse yourself in software development before you can master them. You have to live the patterns.
          Read Design Patterns like a novel if you must, but few people will become fluent that way. Put the patterns to work in the heat of a software development project. Draw on their insights as you encounter real design problems. That’s the most efficient way to make the GoF patterns your own.''
         이런 식의 "사례 중심"의 공부를 위해서는 스터디 그룹을 조직하는 것이 좋습니다. 혼자 공부를 하건, 그룹으로 하건 조슈아 커리프스키의 유명한 A Learning Guide To Design Patterns (http://www.industriallogic.com/papers/learning.html'''''')을 꼭 참고하세요. 그리고 스터디 그룹을 효과적으로 꾸려 나가는 데에는 스터디 그룹의 패턴 언어를 서술한 Knowledge Hydrant (http://www.industriallogic.com/papers/khdraft.pdf'''''') 를 참고하면 많은 도움이 될 겁니다 -- 이 문서는 뭐든지 간에 그룹 스터디를 한다면 적용할 수 있습니다.
          ''...but I always teach Composite Pattern, Strategy Pattern, Template Method Pattern, and Factory Method Pattern before I teach Singleton Pattern. They are much more common, and most people are probably already using the last two. ... ''
         그런데 사실 GoF의 DP에 나온 패턴들보다 더 핵심적인 어휘군이 있습니다. 마이크로패턴이라고도 불리는 것들인데, delegation, double dispatch 같은 것들을 말합니다. DP에도 조금 언급되어 있긴 합니다. 이런 마이크로패턴은 우리가 알게 모르게 매일 사용하는 것들이고 그 활용도가 아주 높습니다. 실제로 써보면 알겠지만, DP의 패턴 하나 쓰는 일이 그리 흔한 게 아닙니다. 마이크로패턴은 켄트벡의 SBPP에 잘 나와있습니다. 영어로 치자면 관사나 조동사 같은 것들입니다.
         우리가 갖고 있는 지식이라는 것은 한가지 표현양상(representation)으로만 이뤄져 있지 않습니다. "사과"라는 대상을 음식으로도, 그림의 대상으로도 이해할 수 있어야 합니다. 실제 패턴이 적용된 "다양한 경우"를 접하도록 하라는 것이 이런 겁니다. 동일 대상에 대한 다양한 접근을 시도하라는 것이죠. 자바로 구현된 코드도 보고, C++로 된 것도 보고, 스몰토크로 된 것도 봐야 합니다. 설령 "오로지 자바족"(전 이런 사람들을 Javarian이라고 부릅니다. Java와 barbarian을 합성해서 만든 조어지요. 이런 "하나만 열나리 공부하는 것"의 병폐에 대해서는 존 블리스사이즈가 C++ Report에 쓴 Diversify라는 기사를 읽어보세요 http://www.research.ibm.com/people/v/vlis/pubs/gurus-99.pdf) 이라고 할지라도요. 그래야 비로소 자바로도 "상황에 맞는" 제대로 된 패턴을 구현할 수 있습니다. 패턴은 그 구현(implementation)보다 의도(intent)가 더 중요하다는 사실을 꼭 잊지 말고, 설명을 위한 방편으로 채용된 한가지 도식에 자신의 사고를 구속하는
          1. Design Patterns Explained by Shalloway, and Trott : 최근 DP 개론서로 급부상하고 있는 명저
          1. Design Patterns Java Workbook by Steven John Metsker : DPE 다음으로 볼만한 책으로, 쏟아져 나오는 허접한 자바 패턴 책들과는 엄연히 다름
          1. ["DesignPatterns"] : Gang Of four가 저술한 디자인패턴의 바이블
          1. ["DesignPatternSmalltalkCompanion"] : GoF가 오른쪽 날개라면 DPSC는 왼쪽 날개
          1. Pattern Hatching by John Vlissides : DP 심화학습
          1. Smalltalk Best Practice Patterns by Kent Beck : 마이크로 패턴. 개발자의 탈무드
          1. Pattern Languages of Program Design 1,2,3,4 : 패턴 컨퍼런스 논문 모음집으로 대부분은 인터넷에서 구할 수 있음
          1. ["PatternOrientedSoftwareArchitecture"] 1,2 : 아키텍춰 패턴 모음
          1. Patterns of Software by Richard Gabriel : 패턴에 관한 중요한 에세이 모음.
          1. Analysis Patterns by Martin Fowler : 비지니스 분석 패턴 목록
          1. A Pattern Language by Christopher Alexander : 상동
  • AcceleratedC++/Chapter6 . . . . 46 matches
         || ["AcceleratedC++/Chapter5"] || ["AcceleratedC++/Chapter7"] ||
          * 다음으로 반복자 어댑터(Iterator Adapters)를 살펴보자. 반복자 어댑터는 컨테이너를 인자로 받아, 정해진 작업을 수행하고 반복자를 리턴해주는 함수이다. copy알고리즘에 쓰인 back_inserter는 ret의 뒤에다가 copy를 수행한다는 것이다. 그럼 다음과 같이 쓰고 싶은 사람도 있을 것이다.
          typedef string::const_iterator iter;
          * find_if의 인자를 보면, 앞의 두개의 인자는 범위를 의미한다. 첫인자~두번째인자 말이다. 마지막 인자는 bool형을 리턴하는 함수를 넣어준다. 즉 predicater이다. 그러면 find_if는 주어진 범위 내에서 predicator를 만족하는 부분의 반복자를 리턴해 준다.
          * 참 깔끔하다. rbegin()은 역시 반복자를 리턴해주는 함수이다. 거꾸로 간다. equal함수는 두개의 구간을 비교해서 같을 경우 bool 의 true 값을 리턴한다. 파라매터로 첫번째 구간의 시작과 끝, 두번째 구간의 시작 iterator 를 받는다. 두번째 구간의 끝을 나타내는 iterator 를 요구하지 않는 이유는, 두개의 구간의 길이가 같다고 가정하기 때문이다. 이는 equal 함수의 동작을 생각해 볼때 합당한 처리이다.
         string::const_iterator url_end(string::const_iterator, string::const_iterator);
         string::const_iterator url_beg(string::const_iterator, string::const_iterator);
          typedef string::const_iterator iter;
         string::const_iterator url_end(string::const_iterator b, string::const_iterator e)
         // find_if 함수의 테스팅에 이용되는 함수이다. char은 string 의 iterator의 값이다.
          // characters, in addition to alphanumerics, that can appear in a \s-1URL\s0
          static const string url_ch = "~;/?:@=&$-_.+!*'(),";
          // see whether `c' can appear in a \s-1URL\s0 and return the negative
         string::const_iterator url_beg(string::const_iterator b, string::const_iterator e)
          static const string sep = "://";
          typedef string::const_iterator iter;
          // `i' marks where the separator was found
          // string 에서 sep 의 문자열의 시작부분을 찾아서 i에 iterator를 대입한 후 e와 비교하여
          // make sure the separator isn't at the beginning or end of the line
          // is there at least one appropriate character before and after the separator?
  • MoinMoinTodo . . . . 46 matches
         This is a list of things that are to be implemented. If you miss a feature, have a neat idea or any other suggestion, please put it on MoinMoinIdeas.
         To discuss the merit of the planned extensions, or new features from MoinMoinIdeas, please use MoinMoinDiscussion.
         A list of things that are added to the current source in CVS are on MoinMoinDone.
          * Macro that lists all users that have an email address; a click on the user name sends the re-login URL to that email (and not more than once a day).
          * Now that we can identify certain authors (those who have set a user profile), we can avoid to create a backup copy if one author makes several changes; we have to remember who made the last save of a page, though.
          * Implement the update script (copying new images etc.) described elsewhere on this page or MoinMoinIdeas.
          * By default, enable an as-if mode that shows what needs to be fixed.
          * Replace SystemPages by using the normal "save page" code, thus creating a backup copy of the page that was in the system. Only replace when diff shows the page needs updating.
          * Steal ideas from [http://www.usemod.com/cgi-bin/mb.pl?action=editprefs MeatBall:Preferences]
          * a CSS switch (needs more work on the formatter issue to really work)
          * configurable fonts, font sizes etc. (copy master CSS file to a user one, and send that)
          * create a dir per page in the "backup" dir; provide an upgrade.py script to adapt existing wikis
          * or go all the way, and store pages as data/pages/<firstletter>/<pagename>/(current|meta|...|<timestamp>)
          * Add backlink patch by Thomas Thurman
          * [[SiteMap]]: find the hotspots and create a hierarchical list of all pages (again, faster with caching)
          * macro for the server time/date (pass the strftime string as an optional argument)
          * Some of MeatBall:IndexingScheme as macros
          * look at cvsweb code (color-coded, side-by-side comparisons)
          * or look at viewcvs www.lyra.org/viewcvs (a nicer python version of cvsweb with bonsai like features)
          * Create MoinMoinI18n master sets (english help pages are done, see HelpIndex, translations are welcome)
  • 강희경/메모장 . . . . 46 matches
         struct ArratData{
          float avg;
         struct ScoreData{
         void InputScores(struct ArratData* aArrayData, struct ScoreData* aArray);
         void PrintArray(struct ArratData* aArrayData, struct ScoreData* aArray);
         void RankScores(struct ScoreData* aArray);
         void PrintRanks(struct ScoreData* aArray);
          struct ScoreData scoreArray[NUMBER_OF_SCORES];
          struct ArratData arrayData;
          InputScores(&arrayData, scoreArray);
          PrintArray(&arrayData, scoreArray);
         void InputScores(struct ArratData* aArrayData, struct ScoreData* aArray){
          aArrayData->min = aArray[count].score;
          aArrayData->max = aArray[count].score;
          aArrayData->sum = aArray[count].score;
          if(aArray[count].score < aArrayData->min){
          aArrayData->min = aArray[count].score;
          if(aArray[count].score > aArrayData->max){
          aArrayData->max = aArray[count].score;
          aArrayData->sum += aArray[count].score;
  • 오목/인수 . . . . 46 matches
          final static int EMPTY = 0;
          int boardState[][];
          boardState = new int[height][width];
          public int getState(int x, int y) {
          return boardState[y][x];
          if(boardState[y][x] == EMPTY) {
          boardState[y][x] = turn;
          return isInBoard(x, y) && getState(x, y) == turn;
          boardState[y][x] = EMPTY;
          final static int BLACK = 1;
          final static int WHITE = 2;
          final static int WANTED = 5;
          private int commonCheck(int x, int y, int wanted,
          private int checkHeight(int x, int y, int wanted) {
          private int checkWidth(int x, int y, int wanted) {
          private int checkBackSlash(int x, int y, int wanted) {
          private int checkSlash(int x, int y, int wanted) {
          public int getState(int x, int y) {
          return board.getState(x, y);
          final static int WIDTH = 20;
  • AcceleratedC++/Chapter7 . . . . 45 matches
         || ["AcceleratedC++/Chapter6"] || ["AcceleratedC++/Chapter8"] ||
         = Chapter 7 Using associative containers =
         == 7.1 Containers that support efficient look-up ==
         || '''연관컨테이너(Associative Container)''' || 요소들을 삽입한 순서대로 배열하지 않고, 요소의 값에 따라 삽입 순서를 자동적으로 조정한다. 따라서 검색알고리즘의 수행시 기존의 순차컨테이너 이상의 성능을 보장한다. ||
         || '''<map>''' || C++에서 제공되는 '''연관 배열(Associative Array)'''. 인덱스는 순서를 비교할 수 있는 것이면 무엇이든 가능하다. 단점으로는 자체적 순서를 갖기 때문에 순서를 변경하는 일반 알고리즘을 적용할 수 없다. ||
          map<string, int> counters; // store each word and an associated counter
          // write the words and associated counts
          for (std::map<string, int>::const_iterator it = counters.begin();
          || map<class T>::iterator || K || V ||
          * Visual C++ 6.0 에서 소스를 컴파일 할때 책에 나온대로 (using namespace std를 사용하지 않고 위와 같이 사용하는 것들의 이름공간만 지정할 경우) map<string, int>::const_iterator 이렇게 치면 using std::map; 이렇게 미리 이름공간을 선언 했음에도 불구하고 에러가 뜬다. 6.0에서 제대로 인식을 못하는것 같다. 위와 같이 std::map<string, int>::const_iterator 이런식으로 이름 공간을 명시하거나 using namespace std; 라고 선언 하던지 해야 한다.
         == 7.3 Generating a cross-reference table ==
         // find all the lines that refer to each word in the input
          // remember that each word occurs on the current line
          for (vector<string>::const_iterator it = words.begin();
          for (map<string, vector<int> >::const_iterator it = ret.begin();
          vector<int>::const_iterator line_it = it->second.begin(); // it->second == vector<int> 동일 표현
          // write a new line to separate each word from the next
          '''''주의) STL을 이용하면서 많이 범하는 실수: > > (0) >>(X) 컴파일러는 >>에 대해서 operator>>()를 기대한다.'''''
          || map<string, vector<int> >::const_iterator || K || V ||
         == 7.4 Generating sentences ==
  • AustralianVoting/곽세환 . . . . 45 matches
          int numberOfCandidates;
          char candidates[20][81];
          int votesPerCandidates[20] = {{0}};
          cin >> numberOfCandidates;
          for (i = 0; i < numberOfCandidates; i++)
          cin.getline(candidates[i], 81);
          votes[numberOfVoters][0] = atoi(strtok(temp, " "));
          for (i = 1; i < numberOfCandidates; i++)
          votes[numberOfVoters][i] = atoi(strtok(NULL, " "));
          int eliminated[20];
          int eliminatedCnt = 0;
          for (i = 0; i < numberOfCandidates; i++)
          votesPerCandidates[i] = 0;
          votesPerCandidates[votes[i][rank[i]] - 1]++;
          /*for (i = 0; i < numberOfCandidates; i++)
          cout << votesPerCandidates[i] << " ";
          for (i = 0; i < numberOfCandidates; i++)
          if (votesPerCandidates[i] > 0.5 * numberOfVoters)
          for (i = 0; i < numberOfCandidates; i++)
          if (votesPerCandidates[i] == 0)
  • GofStructureDiagramConsideredHarmful . . . . 45 matches
         There's a mistake that's repeated throughout the Design Patterns book, and unfortunately, the mistake is being repeated by new patterns authors who ape the GoF style.
         Design Pattern 책 전반에 걸쳐 반복적으로 잘못 이해되는 내용들이 있는데, 불행하게도 이러한 실수는 GoF의 스타일을 모방한 다른 Pattern 책의 저자들에게서도 반복적으로 나타난다.
         Each GoF pattern has a section called "Structure" that contains an OMT (or for more recent works, UML) diagram. This "Structure" section title is misleading because it suggests that there is only one Structure of a Pattern, while in fact there are many structures and ways to implement each Pattern.
         사실은 각 Pattern을 구현하기 위한 여러가지 방법이 있는데, GoF의 OMT diagram을 보노라면 마치 각 Pattern에 대한 단 한가지 구현만이 있는 것으로 잘못 이해될 수 있다.
         But inexperienced Patterns students and users don't know this. They read the Patterns literature too quickly, often thinking that they understand a Pattern merely by understanding it's single "Structure" diagram. This is a shortcoming of the GoF Form, one which I believe is harmful to readers.
         하지만, Pattern에 대한 경험이 부족한 학생들이나 사용자들은 이 사실을 모르고 있다. 그들은 Pattern에 대한 저술들을 너무 빨리 읽는다. 단지 한 개의 Diagram만을 이해하는 것으로 Pattern을 이해했다고 착각하는 경우도 잦다. 이게 바로 필자가 생각하기에는 독자들에게 해로워보이는 GoF 방식의 단점이다.
         What about all those important and subtle Implementation notes that are included with each GoF Pattern? Don't those notes make it clear that a Pattern can be implemented in many ways? Answer: No, because many folks never even read the Implementation notes. They much prefer the nice, neat Structure diagrams, because they usually only take up a third of a page, and you don't have to read and think a lot to understand them.
         GoF 책의 각 Pattern 마다 첨부되어 있는 구현에 대한 매우 중요하고 민감한 해설들은 어떠한가? 이 해설들을 통해서 Pattern이 여러 방법으로 구현될 수 있다는 사실을 알 수는 없을까? 알 수 없을 것이다. 왜냐하면 많은 독자들이 아예 구현에 대한 해설 부분을 읽지도 않고 넘어가기 때문이다. 그들은 보통 간략하고 훌륭하게 그려진 Structure diagram을 더 선호하는데, 그 이유는 보통 Diagram에 대한 내용이 세 페이지 정도 분량 밖에 되지 않을 뿐더러 이것을 이해하기 위해 많은 시간동안 고민을 할 필요도 없기 때문이다.
         Diagrams are seductive, especially to engineers. Diagrams communicate a great deal in a small amount of space. But in the case of the GoF Structure Diagrams, the picture doesn't say enough. It is far more important to convey to readers that a Pattern has numerous Structures, and can be implemented in numerous ways.
         엔지니어들에게 있어서 Diagram은 정말 뿌리치기 힘든 유혹이다. 하지만 Gof의 Structure diagram의 경우엔 충분히 많은 내용을 말해줄 수 없다. Pattern들이 다양한 Structure를 가질 수 있으며, 다양하게 구현될 수 있다는 것을 독자들에게 알려주기엔 턱없이 부족하다.
         I routinely ask folks to add the word "SAMPLE" to each GoF Structure diagram in the Design Patterns book. In the future, I'd much prefer to see sketches of numerous structures for each Pattern, so readers can quickly understand that there isn't just one way to implement a Pattern. But if an author will take that step, I'd suggest going even further: loose the GoF style altogether and communicate via a pattern language, rich with diagrams, strong language, code and stories.
  • [Lovely]boy^_^/EnglishGrammer/PresentAndPast . . . . 45 matches
          This means) She is driving now, at the time of speaking. The action is not finished.
          Often the action is happening at the time of speaking.
          But the action is not necessarily happening at the time of speaking.
          ex) I'm reading an interesting book at the moment. I'll lend it to you when I've finished it.
          This means) Tom is not reading the book at the time of speaking.
          He means that he has started it but has not finished it yet. He is in the middle of reading it.
          ex) The population of the world is rising very fast.
          B. We use the simple present to talk about things in general. We use it to say that something happens all the time
          or repeateldy or that something is true in general. It is not important whether the action is happening at the time of speaking
          C. We use do/does to make questions and negative sentences.( 의문문이나 부정문 만들떄 do/does를 쓴다 )
          ex) What does thie word mean?
          ex) What do you do?
          ex) I never drink coffee at night.
          We use the present continuous for something that is happening at or around the time of speaking.
          The action is not finished. sometimes, Use the Present continuous for temporary situations.
          ex) When temporary situations : I'm living with some friends until I find an apartment.
          We use the simple present for things in general or things that happen repeatedly.
          Sometimes, Use the simple present for permanent situations.
          ex) When Permanent situations : My parents live in Boston. They have lived there all their lives.
          I'm always doing something = It does not mean that I do things every time.
  • 알고리즘8주숙제/문보창 . . . . 45 matches
         #include <cmath>
         struct Data
          string data;
          float priority;
          bool operator() (const Data* a, const Data* b)
          if (a->data < b->data)
          string data;
         vector <Data*> indata;
         bool compare(const Data* a, const Data* b)
          Data* d;
          string data;
          indata.reserve(number);
          fin >> data >> p;
          d = new Data();
          d->data = data;
          indata.push_back(d);
          newNode->data = indata[i]->data;
          newNode->p = indata[i]->p;
          if (temp->data < newNode->data)
          else if (temp->data > newNode->data)
  • ACM_ICPC/2012년스터디 . . . . 44 matches
          * Doublets - [http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=31&page=show_problem&problem=1091]
          * Where's Waldorf - [http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=31&page=show_problem&problem=951]
          * Doublets - [http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=31&page=show_problem&problem=1091] //화요일까지 풀지 못하면 소스 분석이라도 해서..
          * A Multiplication Game - [http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=33&page=show_problem&problem=788]
          * Shoemaker's Problem - [http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=32&page=show_problem&problem=967]
          * [A_Multiplication_Game/권영기]
          * [A_Multiplication_Game/김태진]
          * [A_Multiplication_Game/곽병학]
         === required data structure ===
          - Matroid Theory (이것도 꼭 알 필요는 없습니다)
          - 최대 이분매칭 (Bipartite Maximum Matching)
          - Gale-Shapely Matching
         2-CNF (2-SAT의 일종입니다)
          - 경로 압축 (휴리스틱의 일종 , Path Compression)
          * 우리나라 알고리즘 대회 1인자가 해준 짧은 해설 (의 dictation)
         A - accelerator
         C shortest path, 같은 점을 공유하면 안됨. state로 나타낸다..?
         dynamic programming을 할 때 두 state로 들어오지 않도록만 하면 됨.
          * DP 문제(21) - [http://211.228.163.31/30stair/seat/seat.php?pname=seat 자리배치], [http://211.228.163.31/30stair/seat/seat.php?pname=seat 긋기게임]
          * Stack 문제 - [http://211.228.163.31/30stair/seat/seat.php?pname=seat bad hair day], [http://211.228.163.31/30stair/seat/seat.php?pname=seat 히스토그램]
  • EffectiveSTL/Container . . . . 44 matches
          * STL을 구성하는 핵심 요소에는 여러 가지가 있다.(Iterator, Generic Algorithm, Container 등등). 역시 가장 핵심적이고, 조금만 알아도 쓸수 있고, 편하게 쓸수 있는 것은 Container다. Container는 Vector, List, Deque 과 같이 데이터를 담는 그릇과 같은 Object라고 보면 된다.
          * Associative Containers - set, multiset, map, multimap 등등
          * vector가 좋다고 써있다. 잘 쓰자. 가끔가다 시간,저장공간 등등에 있어서 Associative Containers를 압도할때도 있다고 한다.
          * vector 는 Sequence Container 니까 보통 Associative Container 들(주로 Map)보다 메모리낭비가 덜함. 그대신 하나 단위 검색을 할때에는 Associative Container 들이 더 빠른 경우가 있음. (예를 들어 전화번호들을 저장한 container 에서 024878113 을 찾는다면.? map 의 경우는 바로 해쉬함수를 이용, 한큐에 찾지만, Sequence Container 들의 경우 처음부터 순차적으로 좌악 검색하겠지.) --[1002]
          * 양끝에서 insert, delete 하려면? Associative Containers는 쓰면 안된다.
          * Random Access Iterator(임의 접근 반복자)가 필요하다면, vector, deque, string 써야 한다. (rope란것도 있네), Bidirectional Iterator(양방향 반복자)가 필요하다면, slist는 쓰면 안된다.(당연하겠지) Hashed Containers 또 쓰지 말랜다.
          * Search 속도가 중요하다면 Hashed Containers, Sorted Vector, Associative Containers를 쓴다. (바로 인덱스로 접근, 상수 검색속도)
          * Iterator, Pointer, Reference 갱신을 최소화 하려면 Node Based Containers를 쓴다.
          * Standard Node-based Container들은 양방향 반복자(bidirectional Iterator)를 지원한다.
         vector<Type>::itarator // typedef vector<Type>::iterator VTIT 이런식으로 바꿀수 있다. 앞으로는 저렇게 길게 쓰지 않고도 VIIT 이렇게 쓸수 있다.
          * Encapsulization을 잘 하자. 바뀌는 것에 대한 충격이 줄어들 것이다.
         for(vector<Object>::const_itarator VWCI = a.begin() + a.size()/2 ; VWCI != a.end() ; ++VWCI)
          * copy, push_back 이런것은 넣어줄때 insert iterator를 사용한다. 즉, 하나 넣고 메모리 할당 해주고, 객체 복사하고(큰 객체면... --; 묵념), 또 하나 넣어주고 저 짓하고.. 이런것이다. 하지만 assign은 똑같은 작업을 한번에 짠~, 만약 100개의 객체를 넣는다면 assign은 copy이런것보다 1/100 밖에 시간이 안걸린다는 것이다.(정확하진 않겠지만.. 뭐 그러하다.)
         == 예제 : ints.dat 에 저장되어 있는 정수들을 읽어서 list<int> data에 쓰는 작업을 한다. ==
         ifstream dataFile("ints.dat");
         list<int> data(ifstream_iterator<int>(dataFile),ifstream_iterator<int>()); // 이런 방법도 있군. 난 맨날 돌려가면서 넣었는데..--;
         ifstream dataFile("ints.dat");
         ifstream_iterator<int> dataBegin(dataFile);
         ifstream_iterator<int> dataEnd;
         list<int> data(dataBegin, dataEnd); // 요런식으로 써주자.
  • EffectiveSTL/Iterator . . . . 44 matches
          * STL이 제공하는 반복자는 4가지다. (iterator, const_iterator, reverse_iterator, const_reverse_iterator)
         = Item26. Prefer iterator to const_iterator, reverse_iterator, and const_reverst_iterator. =
          * container<T>::iterator, reverse_iterator : T*
          * container<T>::const_iterator, const_reverse_iterator : const T*
         == iterator를 써야하는 이유 ==
          * 대부분의 메소드들의 인자가 iterator타입이다.
          * 다른 iterator로부터 iterator로 암시적인 변환이 가능하다.
          * 이런 혼잡함을 겪고 싶지 않다면 그냥 딴거 쓰지 말고 iterator 쓰자는 것이다.
          * 내 해석이 잘못되지 않았다면, const_iterator는 말썽의 소지가 있는 넘이라고까지 표현하고 있다.
         = Item27. Use distance and advance to convert a container's const_iterators to iterators. =
          * const_iterator는 될수 있으면 쓰지 말라고 했지만, 어쩔수 없이 써야할 경우가 있다.
          * 그래서 이번 Item에서는 const_iterator -> iterator로 변환하는 법을 설명하고 있다. 반대의 경우는 암시적인 변환이 가능하지만, 이건 안된다.
         // iterator와 const_iterator를 각각 Iter, CIter로 typedef해놓았다고 하자.
          * 밑에께 안되는 이유는 iterator와 const_iterator는 다른 클래스이다. 상속관계도 아닌 클래스가 형변환 될리가 없다.
          * vector<T>::iterator는 T*의 typedef, vector<T>::const_iterator는 const T*의 typedef이다. (클래스가 아니다.)
          * string::iterator는 char*의 typedef, string::const_iterator는 const char*의 typedef이다. 따라서 const_cast<>가 통한다. (역시 클래스가 아니다.)
          * 하지만 reverse_iterator와 const_reverse_iterator는 typedef이 아닌 클래스이다. const_cast<안된다>.
          * 왜 안되냐면, distance의 인자는 둘자 iterator다. const_iterator가 아니다.
         = Item28. Understand how to use a reverse_iterator's base iterator =
         typedef vector<int>::reverse_iterator VIRI;
  • 데블스캠프2012/넷째날/묻지마Csharp/Mission3/김수경 . . . . 44 matches
         using System.Data;
          private Time time = new Time();
          private void startBtn_Click(object sender, EventArgs e)
          private class Time
          private void tickMilli()
          private void tickSecond()
          private void tickMinute()
          private void tickHour()
          private void timer1_Tick(object sender, EventArgs e)
          private void display() {
          hour.Text = string.Format("{0:D2}", time.hour);
          minute.Text = string.Format("{0:D2}", time.minute);
          second.Text = string.Format("{0:D2}", time.second);
          milli.Text = string.Format("{0}", time.milli);
          private void stopBtn_Click(object sender, EventArgs e)
          private void recordBtn_Click(object sender, EventArgs e)
          listBox1.Items.Add(string.Format("{0:D2}:{1:D2}:{2:D2}.{3}", time.hour, time.minute, time.second, time.milli));
          private System.ComponentModel.IContainer components = null;
          #region Windows Form Designer generated code
          private void InitializeComponent()
  • 미로찾기/상욱&인수 . . . . 44 matches
          public int boardMatrix[][];
          public static int WALL = 0;
          public static int PATH = 1;
          public static int END = 2;
          public static int BLOCK = 3;
          public MazeBoard(int boardMatrix[][]) {
          int x = boardMatrix[0].length;
          int y = boardMatrix.length;
          this.boardMatrix = new int[y+2][x+2];
          this.boardMatrix[j+1][i+1] = boardMatrix[j][i];
          return boardMatrix[pt.y][pt.x];
          public Vector tracedPath = new Vector();
          public static final int E = 0;
          public static final int S = 1;
          public static final int W = 2;
          public static final int N = 3;
          public static final Point directionTable[] =
          tracedPath.add(new Point(0,0));
          tracedPath.add(new Point(x + 1, y + 1));
          tracedPath.add( new Point(curPoint) );
  • 큰수찾아저장하기/허아영 . . . . 44 matches
         물론 이런 생각도 해 보았다. matrix를 temp1,2 matrix를 만들어서 행과 열을 따로 계산한다..
         하지만 이번에 내 생각에 변수 낭비될 것 같고 해서 그냥 matrix 복사를 한번 더 했다.
         #define MATRIX_SIZE 4
         void search_max(int matrix[][MATRIX_SIZE]);
         void print_matrix(int matrix[][MATRIX_SIZE]);
          int matrix[MATRIX_SIZE][MATRIX_SIZE] = {{0,}};
          for(i = 0; i < MATRIX_SIZE - 1; i++){
          for(j = 0; j < MATRIX_SIZE -1; j++){
          printf("matrix[%d][%d] = ", i, j);
          scanf("%d", &matrix[i][j]);
          search_max(matrix);
          print_matrix(matrix);
         void search_max(int matrix[][MATRIX_SIZE])
          int temp_matrix[4][4], a, b;
          for(i = 0; i < MATRIX_SIZE; i++){
          for(j = 0; j < MATRIX_SIZE; j++){
          temp_matrix[i][j] = matrix[i][j];
          for(i = 0; i < MATRIX_SIZE-1; i++){
          for(j = 0; j < MATRIX_SIZE-2; j++){
          if(temp_matrix[i][j] > temp_matrix[i][j+1]){
  • 화성남자금성여자 . . . . 44 matches
         #format cpp
         typedef float vec_t;
         typedef float vec2_t[2];
         typedef vec_t matrix_t[16]; // 4*4 행렬
         // matrix prototypes
         void matrixIdentity (matrix_t p);
         void matrixMultiply (matrix_t a, matrix_t b, matrix_t c);
         void matrixRotateX (matrix_t p, vec_t angle);
         void matrixRotateY (matrix_t p, vec_t angle);
         void matrixRotateZ (matrix_t p, vec_t angle);
         void matrixRotate (matrix_t m, vec3_t r);
         void matrixMultiplyVector (matrix_t m, vec3_t v);
         void matrixMultiplyVector2 (matrix_t m, vec3_t v);
         void matrixMultiplyVector3 (matrix_t m, vec3_t v);
         void matrixTranslate (matrix_t m, vec3_t a);
         void matrixCopy(matrix_t a, matrix_t b);
         void matrix33_inverse (mat33_t mr, mat33_t ma);
         int matrix44_inverse (mat44_t mr, mat44_t ma);
         int matrix44_inverse2 (mat44_t mr, mat44_t ma);
  • 3DGraphicsFoundation/MathLibraryTemplateExample . . . . 43 matches
         typedef float vec_t;
         typedef float vec2_t[2];
         typedef vec_t matrix_t[16]; // 4*4 행렬
         // matrix prototypes
         void matrixIdentity (matrix_t p);
         void matrixMultiply (matrix_t a, matrix_t b, matrix_t c);
         void matrixRotateX (matrix_t p, vec_t angle);
         void matrixRotateY (matrix_t p, vec_t angle);
         void matrixRotateZ (matrix_t p, vec_t angle);
         void matrixRotate (matrix_t m, vec3_t r);
         void matrixMultiplyVector (matrix_t m, vec3_t v);
         void matrixMultiplyVector2 (matrix_t m, vec3_t v);
         void matrixMultiplyVector3 (matrix_t m, vec3_t v);
         void matrixTranslate (matrix_t m, vec3_t a);
         void matrixCopy(matrix_t a, matrix_t b);
         void matrix33_inverse (mat33_t mr, mat33_t ma);
         int matrix44_inverse (mat44_t mr, mat44_t ma);
         int matrix44_inverse2 (mat44_t mr, mat44_t ma);
  • InvestMulti - 09.22 . . . . 43 matches
         nations={'KOREA':0 ,'JAPAN':700 , 'CHINA':300, 'INDIA':100}
          print '1. Current Nation states '
          print '3. Move to another Nation '
          print '4. Invest to this Nation '
          print 'Current Nation is : ',user[t2]
          t2 = t0+'nation'
         def State():
          State()
         ID,MONEY,NATION,INVEST="","","",""
         nation={'KOREA':0 ,'JAPAN':0.8 , 'CHINA':0.3, 'INDIA':0.1}
          global user,ID,MONEY,NATION
          NATION = ID + 'nation'
          user[NATION] = 'KOREA'
          temp = ID + nation.keys()[i] + items.keys()[j]
          print '1. Current Nation states '
          print '3. Move to another Nation '
          print '4. Invest to this Nation '
          m.state()
          global ID,MONEY,NATION,user
          user[NATION] = 'JAPAN'
  • ClassifyByAnagram/sun . . . . 42 matches
          g.drawString( "Estimated power: " + String.valueOf(elapsed), 10, 90 );
          private Hashtable result = new Hashtable();
          private byte [] seq;
          private Object genKey( String str )
          private void swap( int i, int j )
          private void qsort2( int l, int u )
          private void putTable( String str )
          private Object genKey( String str )
          ch = String.valueOf( str.charAt( i ));
          for( Enumeration e=table.keys(); e.hasMoreElements(); ) {
          for( Enumeration e=result.elements(); e.hasMoreElements(); ) {
          for( Iterator item=list.iterator(); item.hasNext(); ) {
          public static void main(String[] args) throws Exception
          private Hashtable result = new Hashtable();
          private byte [] seq;
          private void putTable( String str )
          private Object genKey( String str )
          private void swap( int i, int j )
          private void qsort2( int l, int u )
          for( Enumeration e=result.elements(); e.hasMoreElements(); ) {
  • Code/RPGMaker . . . . 42 matches
         = Orthogonal projection coordinate system 만들기 =
          float[] coordinates = { // position of vertices
          float[] uvs = { // how uv mapped?
          int[] indices = { // index of each coordinate
          Object3D plane = new Object3D(coordinates, uvs, indices, RMObject2D.getTextureIDByColor(Color.white));
          m_cam.setPosition(m_width/2, m_height/2, (float) -(m_width/2/Math.tan(m_cam.getFOV()/2.0f)));
          m_cam.lookAt(plane.getTransformedCenter());
          // configuration to view far object
          Config.farPlane = Math.abs(m_cam.getPosition().z) + 1000f;
         import javax.vecmath.Vector2f;
          public RMFillBox(float x1, float y1, float x2, float y2, Color color)
          private void init(float x1, float y1, float x2, float y2, Color color)
          float z = -10f;
          float[] coords = {
          float[] uvs = {
         import javax.vecmath.Vector2f;
         import javax.vecmath.Vector3f;
          private static final Vector3f vectorZ = new Vector3f(0, 0, -1);
          public RMLine(Vector2f vStart, Vector2f vEnd, float width, Color color)
          float z = -10f;
  • PragmaticVersionControlWithCVS/Getting Started . . . . 42 matches
         || [PragmaticVersionControlWithCVS/WhatIsVersionControl] || [PragmaticVersionControlWithCVS/HowTo] ||
         == Creating a Repository ==
         == Creating a Simple Project ==
         cvs checkout: Updating sesame
         root@eunviho:~/tmpdir/sesame# cvs status color.txt
         File: color.txt Status: Locally Modified
          Sticky Date: (none)
         상기의 '''status''' 옵션으로 확인이 가능하듯이 cvs는 자동으로 현재의 파일이 로컬 작업공간에서 수정되었다는 사실을 판단할 수 있다.
         == Updating the Repository ==
         root@eunviho:~/tmpdir/sesame# cvs status color.txt
         File: color.txt Status: Up-to-date
          Sticky Date: (none)
         commit 을 통해서 저장소를 체크인하고난뒤 status로 변경된 파일의 정보를 출력하면 그 결과가 반영된 것을 알 수 있다.
         date: 2005-08-02 13:16:58 +0000; author: sapius; state: Exp; lines: +4 -0
         date: 2005-08-02 05:50:14 +0000; author: sapius; state: Exp;
         date: 2005-08-02 05:50:14 +0000; author: sapius; state: Exp; lines: +0 -0
         cvs checkout: Updating aladdin
         root@eunviho:~/tmpdir/aladdin# cvs status number.txt
         File: number.txt Status: Needs Patch
          Sticky Date: (none)
  • ProgrammingLanguageClass/Report2002_1 . . . . 42 matches
          * Internal/external documentations
         <start> → <statements>
         <statements> → <statement>
          | <statement> <semi_colon> <statements>
         <statement> → <identifier> <assignment_operator> <expression>
         <expression> → <term> <plus_operator> <expression>
          | <term> <minus_operator> <expression>
         <term> → <factor> <star_operator> <term>
          | <factor> <slash_operator> <term>
          | <identifier><condition><identifier><question_operator><compare_value>
         <condition> → <less_keyword> | <greater_keyword> | <equal_keyword>
         <question_operator> → ?
         <greater_keyword> → >
         <assignment_operator> → =
         <plus_operator> → +
         <minus_operator> → -
         <star_operator> → *
         <slash_operator> → /
          <assignment_operator> parsed.
          <plus_operator> parsed.
  • Refactoring/BadSmellsInCode . . . . 42 matches
         == Duplicated Code ==
         ExtractMethod, ExtractClass, PullUpMethod, FormTemplateMethod
          * GUI 클래스에서 데이터부가 중복될때 - DuplicateObservedData
          * AWT -> Swing Component로 바꿀때 - DuplicateObservedData
         ExtractClass, ExtractSubclass, ExtraceInterface, ReplaceDataValueWithObject
          * When you can get the data in one parameter by making a request of an object you already know about - ReplaceParameterWithMethod
          * to take a bunch of data gleaned from an object and replace it with the object itself - PreserveWholeObject
          * logic을 가지지 않는 여러개의 data item을 가지는 경우 - IntroduceParameterObject
          * Divergent Change - one class that suffers many kinds of changes
          * shotgun surgery - one change that alters many classes
         == Feature Envy ==
          * StrategyPattern, VisitorPattern, DelegationPattern
         == Data Clumps ==
          * 처음에 Data Clump들을 ExtractClass했을때 Field 들 묶음으로 보일 수도 있지만 너무 걱정할 필요는 없다.
         ReplaceValueWithObject, ExtraceClass, IntroduceParameterObject, ReplaceArrayWithObject, ReplaceTypeCodeWithClass, ReplaceTypeCodeWithSubclasses, ["ReplaceTypeCodeWithState/Strategy"]
         == Switch Statements ==
          * switch-case 부분을 ExtractMethod 한 뒤, polymorphism이 필요한 class에 MoveMethod 한다. 그리고 나서 ReplaceTypeCodeWithSubclasses 나 ["ReplaceTypeCodeWithState/Strategy"] 를 할 것을 결정한다. 상속구조를 정의할 수 있을때에는 ReplaceConditionalWithPolyMorphism 한다.
         ReplaceConditionalWithPolymorphism, ReplaceTypeCodeWithSubclasses, ["ReplaceTypeCodeWithState/Strategy"], ReplaceParameterWithExplicitMethods, IntroduceNullObject
         == Speculative Generality ==
          * 불필요한 Delegation - InlineClass
  • AcceleratedC++/Chapter8 . . . . 41 matches
         || ["AcceleratedC++/Chapter7"] || ["AcceleratedC++/Chapter9"] ||
         Ch9~Ch12 WikiPedia:Abstract_data_type (이하 ADT)의 구현을 공부한다.
         == 8.1 What is a generic function? ==
         함수의 호출시 함수의 매개변수를 operand로 하여 행해지는 operator의 유효성을 컴파일러가 조사. 사용 가능성을 판단
          union(A:string, " is...") (O), concaternate("COL", " is...") (X)}}}
          '''template'''
         template <class T> // type 매개변수의 지정, 이 함수의 scope안에서는 데이터 형을 대신한다.
          return size % 2 == 0 ? (v[mid] + v[mid-1]) / 2 : v[mid]; // double, int에는 유효, string은 operator / 가 없기 때문에 무효
          * 독자적 방식의 template 모델 Compiler : 최근의 방식. 인스턴스화를 위해서 STL 정의부에 대한 접근이 필요.
          || accumulate(B, E, D) || D의 인자의 형을 기준으로 [B, E)를 비교하여 값을 모은다. 리턴값이 D의 자료형에 영향을 받기 때문에 문제의 발생소지가 존재한다. ||
          {{{~cpp ex) accumulate(v.begin(), v.end(), 0.0); // 만약 0:int를 사용했다면 올바른 동작을 보장할 수 없다.}}}
         template <class T>
          인자로 받은 두 값의 타입이 완전히 같아야지만 올바른 동작을 보장받는다. 인자는 operator>(T, T)를 지원해야한다.
         == 8.2 Data-structure independence ==
          STL 함수를 보면 인자로 받는 반복자(iterator)에 따라서 컨테이너의 함수 사용 유효성을 알 수 있다.
          STL은 이런 분류를 위해서 5개의 '''반복자 카테고리(iterator category)'''를 정의하여 반복자를 분류한다. 카테고리의 분류는 반복자의 요소를 접근하는 방법에따른 분류이며, 이는 알고리즘의 사용 유효성 여부를 결정하는데 도움이 된다.
          {{{~cpp template <class In, class X> In find(In begin, In end, const X& x) {
         template <class In, class X> In find(In begin, In end, const X& x) {
          상기 2개의 구현 모두 begin, end iterator를 순차적으로 접근하고 있음을 알 수 있다. 상기의 함수를 통해서 순차 읽기-전용의 반복자는 '''++(전,후위), ==, !=, *'''를 지원해야한다는 것을 알 수 있다. 덧 붙여서 '''->, .'''와 같은 멤버 참조 연산자도 필요로하다. (7.2절에 사용했떤 연산자이다.)
          상기와 같은 반복자를 '''''입력 반복자(input iterator)'''''라고 함.
  • NSIS/Reference . . . . 41 matches
         == Installer attributes ==
         || attribute || parameter example || 설명 ||
         || || || 1 - Installation Options ||
         || || || 2 - Installation Directory ||
         || attribute || parameter example || 설명 ||
         || attribute || parameter example || 설명 ||
         || LicenseData || zp_license.txt || 해당 license 문구 텍스트가 담긴 화일 ||
         || attribute || parameter example || 설명 ||
         || EnabledBitmap || enabled.bmp || component 선택 관련 체크된 항목 bitmap. 20*20*16 color bmp format.||
         || DisabledBitmap || disabled.bmp || component 선택 관련 체크되지 않은 항목 bitmap. 20*20*16 color bmp format.||
         || attribute || parameter example || 설명 ||
         || attribute || parameter example || 설명 ||
         || attribute || parameter || 설명 ||
         || UninstallIcon || path_to_icon.ico || 32*32*16 color icon ||
         || UninstallSubCaption || page_number subcaption || 0: Confirmation, 1:Uninstalling Files, 2:Completed||
          * SetDatablockOptimize
          * SetDateSave
         || attribute || parameter example || 설명 ||
         || SectionEnd || || Section의 끝을 알리는 attribute||
         === attribute ===
  • RandomWalk/임인택 . . . . 40 matches
         === 소스 1 : 2학년때 자료구조 숙제로 작성 (약간 Iterative한것 같다) ===
          vector<vector<int> >::iterator iter;
          cout << "Total : " << LoopCount << " times repeated " << endl;
          Board::iterator iter;
          // i'm not sure that this is an excessive use of 'static' keyword
          static int posX = 0, posY = 0;
          static int numOfUnVstdPlces = sizeX*sizeY;
          // if the roach moved outside of the board ignore that case.
          Board::iterator iterX;
          vector<int>::iterator iterY;
          - 별로 OO 적이지 못한것 같다...(Roach 와 Board 객체가 [양방향참조]를 한다). DesignPatterns 를 참고하면서 보았어야 하는데.. 나중에 [Refactoring] 해야 함..
          } catch (ArrayIndexOutOfBoundsException e) {
          int roaX, roaY; // watch position of the roach
          public static void main(String[] args){
          * Created by IntelliJ IDEA.
          * Date: 2003. 6. 7.
         // operates just like 'token ring'
          private String _nextHostName, _localHostName;
          private int _hostIndex, _nextHostIndex;
          private int _numOfVisited;
  • 데블스캠프2011/다섯째날/HowToWriteCodeWell/권순의,김호동 . . . . 40 matches
         == Elevator.java ==
         public class Elevator {
          private int max;
          private int min;
          private int floor;
          private boolean inElevator;
          private boolean button;
          public Elevator(int i, int j) {
          inElevator = false;
          if(i <= max && i >= min && inElevator ){
          inElevator = true;
          inElevator = false;
         import static org.junit.Assert.*;
          public void testElevator() {
          Elevator elevator = new Elevator(65, -10); // default 현재층 : 1
          assertNotNull(elevator);
          assertEquals(1, elevator.floor());
          elevator.goTo(30);
          assertEquals(1, elevator.floor());
          elevator.in();
  • 데블스캠프2011/둘째날/Machine-Learning/NaiveBayesClassifier/김동준 . . . . 40 matches
          private Map<String,Integer> sectionWord;
          private int sectionWordNum;
          private int sectionArticleNum;
          private File fileName;
          private boolean isSkipData(String inputStr) {
          // Data에 대한 학습 시행
          public void TrainData() {
          if(isSkipData(wordTmp)) {continue;} // 1글자Data, 사이트, 블로그, 페이지 주소의 경우 연관성및 신뢰성이 떨어지므로 검색에서 제외
          } catch (FileNotFoundException e) {
          public HashMap<String,Integer> getSectionData() {
          private Trainer[] sectionTrain;
          private int notInSectionArticleSum = 0;
          private int notInSectionWordSum = 0;
          private int notInSectionWordTotalSum = 0;
          //자기 Section 이 아닌 내용을 Calculate 하는 함수. Index 에 반응하며 수행시 초기화 후 계산한다.
          private void CalculateNotInSection(int index) {
          //해당 단어에 대한 자기 Section 이 아닌 단어수를 Calculate 하는 함수. Index 에 대응하며 수행시 초기화 후 계산한다.
          private void CalculateNotInSectionWord(int index, String word) {
          private double getWeight(int index, String Article) {
          private double getLnPsPns(int index) {
  • 서지혜/Calendar . . . . 40 matches
          * 루비의 attribute accessor 좀 편한거같다. lambda도 괜찮은거같고(디버깅할땐 빼고)..
          * 나 요새 ASP.NET 하면서 C# 써봤는데 attribute accessor나 lambda C#에서도 많이 쓰더라ㅋㅋㅋㅋ - [김수경]
          * 글쿤 많이 지원하는구나.. 사실 attribute accessor나 lambda가 이해되는건아닌데ㅜㅜ attribute accessor가 어떻게 필드를 public처럼 접근가능하게 하면서 encapsulation을 지원하는지 잘 몰게뜸ㅠㅠ code block을 넘긴다는 말도 그렇고.. - [서지혜]
          public static void main(String[] args) {
          private int month;
          private int length;
          private int startDate; // 1:mon 2:tue 3:wed 4:thu 5:fri 6 :sat 0:sun
          public Month(int month, int length, int startDate) {
          this.startDate = startDate;
          System.out.println("sun\tmon\ttue\twed\tthu\tfri\tsat");
          for (int i = 1; i <= startDate; i++) {
          days += ((i + startDate) % 7 == 0 ? "\n" : "\t");
          private int year;
          private List<Month> months;
          private void setMonths() {
          public static List<Month> getMonths(int year) {
          months.add(new Month(i, getDaysOfMonth(year, i), getStartDate(year, i)));
          public static int getDaysOfYear(int year) {
          public static int getDaysOfMonth(int year, int month) {
          public static boolean isLeap(int year) {
  • MineFinder . . . . 39 matches
          * '눈' 해당 부분 - 지뢰찾기 프로그램으로부터 비트맵을 얻어 데이터로 변환하는 루틴 관련부. 현재 bitmap 1:1 matching 부분이 가장 부하가 많이 걸리는 부분으로 확인됨에 따라, 가장 개선해야 할 부분.
          * 추후 DP 로 확장된다면 StrategyPattern 과 StatePattern 등이 이용될 것 같지만. 이는 추후 ["Refactoring"] 해 나가면서 생각해볼 사항. 프로그램이 좀 더 커지고 ["Refactoring"] 이 이루어진다면 DLL 부분으로 빠져나올 수 있을듯. ('빠져나와야 할 상황이 생길듯' 이 더 정확하지만. -_-a)
          * CppUnit 를 쓸때에는 MFC 라이브러리들이 static 으로 링킹이 안되는 것 같다. 좀 더 살펴봐야겠다.
         [영현] 형 신기해~ ㅎㅎㅎ bitmap data로 숫자들과 거시기들을 구분한건가..ㅡㅡa.. spy 좋구만..[[BR]]
         http://zeropage.org/~reset/zb/data/spy_1.gif
         http://zeropage.org/~reset/zb/data/spy_2.gif
          * [http://zeropage.org/~reset/zb/download.php?id=KDP_board_image&page=1&page_num=20&category=&sn=&ss=on&sc=on&keyword=&prev_no=&select_arrange=headnum&desc=&no=57&filenum=1 1차일부분코드] - 손과 눈에 해당하는 부분 코드를 위한 간단한 예제코드들 모음. 그리고 지뢰찾기 프로그램을 제어하는 부분들에 대해 Delegation 시도. (CMinerControler 클래스는 처음 '막 짠' 코드로부터 지뢰찾기 제어부분 함수들을 클래스화한것임)
         여기서는 Task Estmiate 를 생략했다. (그냥 막 나간지라. ^^;)
          * [http://zeropage.org/~reset/zb/download.php?id=KDP_board_image&page=1&page_num=20&category=&sn=&ss=on&sc=on&keyword=&prev_no=&select_arrange=headnum&desc=&no=58&filenum=1 1차제작소스]
          // TODO: Add your control notification handler code here
          // TODO: Add your control notification handler code here
          ConvertBitmapToData (pBitmap);
          // Todo : Matrix 를 근거로 하여 할 일의 설정.
          pDlg->PrintStatus ("Action : CheckFlag - %d rn", nRet);
          pDlg->PrintStatus ("Action : OpenBlocks - %d rn", nRet);
          pDlg->PrintStatus ("Action : Random Open rn");
         Date: Tue Feb 26 19:16:26 2002
         Program Statistics
          Command line at 2002 Feb 26 19:00: "F:WorkingTempMinerFinderDebugMinerFinder"
          Overhead Calculated 5
  • NamedPipe . . . . 39 matches
         A named pipe is a named, one-way or duplex pipe for communication between the pipe server and one or more pipe clients. All instances of a
         named pipe share the same pipe name, but each instance has its own buffers and handles, and provides a separate conduit for client-server communication. The use of instances enables multiple pipe clients to use the same named pipe simultaneously.
         Any process can access named pipes, subject to security checks, making named pipes an easy form of communication between related or unrelated processes. Named pipes can be used to provide communication between processes on the same computer or between processes on different computers across a network.
         Any process can act as both a server and a client, making peer-to-peer communication possible. As used here, the term pipe server refers to a process that creates a named pipe, and the term pipe client refers to a process that connects to an instance of a named pipe.
         // The main loop creates an instance of the named pipe and
         // connects, a thread is created to handle communications
         // with that client, and the loop is repeated.
          hPipe = CreateNamedPipe(
          NULL); // no security attribute
          MyErrExit("CreatePipe");
          // Create a thread for this client. // 연결된 클라이언트를 위한 쓰레드를 생성시킨다.
          hThread = CreateThread(
          NULL, // no security attribute
          MyErrExit("CreateThread");
          chRequest, // buffer to receive data
         // 버퍼의 남은 Data를 Flush 해준다.
          hPipe = CreateFile( // 파일을 연다
          NULL, // no security attributes
          0, // default attributes
          NULL); // no template file
  • PatternCatalog . . . . 39 matches
         == Creational Patterns ==
          * ["AbstractFactoryPattern"]
          * ["BuilderPattern"]
          * ["FactoryMethodPattern"]
          * ["PrototypePattern"]
          * ["SingletonPattern"]
         == Structural Patterns ==
          * ["AdapterPattern"]
          * ["BridgePattern"]
          * ["CompositePattern"]
          * ["DecoratorPattern"]
          * ["FacadePattern"]
          * ["FlyweightPattern"]
          * ["ProxyPattern"]
          * ["Gof/Decorator"]
         == Behavioral Patterns ==
          * ["ChainOfResponsibilityPattern"]
          * ["CommandPattern"]
          * ["InterpreterPattern"]
          * ["IteratorPattern"]
  • RSS . . . . 39 matches
         The technology behind RSS allows you to subscribe to websites that have provided RSS feeds, these are typically sites that change or add content regularly. To use this technology you need to set up some type of aggregation service. Think of this aggregation service as your personal mailbox. You then have to subscribe to the sites that you want to get updates on. Unlike typical subscriptions to pulp-based newspapers and magazines, your RSS subscriptions are free, but they typically only give you a line or two of each article or post along with a link to the full article or post.
         The RSS formats provide web content or summaries of web content together with links to the full versions of the content, and other meta-data. This information is delivered as an XML file called RSS feed, webfeed, RSS stream, or RSS channel. In addition to facilitating syndication, RSS allows a website's frequent readers to track updates on the site using a news aggregator.
         Before RSS, several similar formats already existed for syndication, but none achieved widespread popularity or are still in common use today, and most were envisioned to work only with a single service. For example, in 1997 Microsoft created Channel Definition Format for the Active Channel feature of Internet Explorer 4.0. Another was created by Dave Winer of UserLand Software. He had designed his own XML syndication format for use on his Scripting News weblog, which was also introduced in 1997 [1].
         RDF Site Summary, the first version of RSS, was created by Dan Libby of Netscape in March 1999 for use on the My Netscape portal. This version became known as RSS 0.9. In July 1999 Netscape produced a prototype, tentatively named RSS 0.91, RSS standing for Rich Site Summary, this was a compromise with their customers who argued the complexity introduced (as XML namespaces) was unnecessary. This they considered a interim measure, with Libby suggesting an RSS 1.0-like format through the so-called Futures Document [2].
         Soon afterwards, Netscape lost interest in RSS, leaving the format without an owner, just as it was becoming widely used. A working group and mailing list, RSS-DEV, was set up by various users to continue its development. At the same time, Winer posted a modified version of the RSS 0.91 specification - it was already in use in their products. Since neither side had any official claim on the name or the format, arguments raged whenever either side claimed RSS as its own, creating what became known as the RSS fork. [3]
         The RSS-DEV group went on to produce RSS 1.0 in December 2000. Like RSS 0.9 (but not 0.91) this was based on the RDF specifications, but was more modular, with many of the terms coming from standard metadata vocabularies such as Dublin Core. Nineteen days later, Winer released RSS 0.92, a minor and (mostly) compatible revision of RSS 0.91. The next two years saw various minor revisions of the Userland branch of RSS, and its adoption by major media organizations, including The New York Times.
         Winer published RSS 2.0 in 2002, emphasizing "Really Simple Syndication" as the meaning of the three-letter abbreviation. RSS 2.0 remained largely compatible with RSS 0.92, and added the ability to add extension elements in their own namespaces. In 2003, Winer and Userland Software assigned ownership of the RSS 2.0 specification to his then workplace, Harvard's Berkman Center for the Internet & Society.
         = Related Site =
         [기술분류] [Atom]
  • Spring/탐험스터디/2011 . . . . 39 matches
          * 과제: SpringSource Tool Suite에서 Spring MVC Template 프로젝트 생성
          1.1 ApplicationContext를 생성할 시 xml을 사용하는 방법도 있고 직접 설정해주는 방법도 있는데 xml을 사용할시 좋은 점은 코딩과 설정 담당을 분리할 수 있다는 점이 있다.
          리소스 함수의 4가지 method : CRUD(Create, Read, Update, Delete)
          DB의 4가지 method : Insert, Select, Update, Delete
          1.3 Resttemplate : spring에서 RESTful에 접근하기 위한 template. spring에서 데이터를 받아오는 방법.
          2.1. 우선 책에서 외부 라이브러리를 사용하고 있는데, STS에는 필요한 라이브러리가 들어있지 않은 것 같다. 이쪽 페이지(http://www.tutorials4u.net/spring-tutorial/spring_install.html)를 보고 라이브러리를 받아야 한다. 받아서 압축을 풀고 spring-framework-3.0.5.RELEASE/dist 폴더에 있는 jar 파일들을 프로젝트에 포함시켜주면 AnnotationContext, AnnotationConfigApplicationContext, @Configuration, @Bean 등을 사용할 수 있게 된다.
          2.1. 스프링의 ConfigurationContext 내부의 Bean에서 Context를 생성해서 DI를 하려고 했을 때 오류 발생 : Context 내부에서 Context를 생성하는 코드를 사용했기 때문에 생성이 재귀적으로 이루어져서 무한 반복된다. 그리고 디버그 시 main 이전에 에러가 일어났는데, 그것은 스프링의 Context는 시작 전에 Bean들을 생성하기 때문이다. main에 진입하기 이전의 스프링 초기화 단계에서 오류가 일어났다는 얘기.
          1. Spring MVC Template Project 생성하여 실행해보려다 실패.
          1. Spring Project를 생성하고 실행하는데 Tomcat 설치가 필요하여 플러그인 설치함.
          1. 책 1장에서 Statement와 PreparedStatement를 봤는데 두 개의 차이점을 잘 모르겠다.
          at org.springframework.context.support.AbstractApplicationContext.<init>(AbstractApplicationContext.java:160)
          at org.springframework.context.support.AbstractApplicationContext.<init>(AbstractApplicationContext.java:213)
          at org.springframework.context.support.GenericApplicationContext.<init>(GenericApplicationContext.java:101)
          at org.springframework.context.annotation.AnnotationConfigApplicationContext.<init>(AnnotationConfigApplicationContext.java:63)
          at springbook.user.dao.UserDaoTest.main(UserDaoTest.java:13)
          at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
          at java.security.AccessController.doPrivileged(Native Method)
          at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
          at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
  • 새싹교실/2012/개차반 . . . . 39 matches
          * int, float, char 등
          * float는 소수점 아래의 숫자까지 표현하고자 할 때 사용하며 출력시 %f를 사용
          * float: 4 byte, floating type number. Specification in IEEE 754-2008
          * return 0; : 0 is a flag noticing OS that program is ended.
          * 수업내용: Variables, Data Types, Standard I/O
          * Data Type
          * float type: float, double (double is more correct than float)
          * format specifications
          * automatic type conversion
          * Example Problem: Write a program that converts meter-type height into [feet(integer),inch(float)]-type height. Your program should get one float typed height value as an input and prints integer typed feet value and the rest of the height is represented as inch type. (1m=3.2808ft=39.37inch) (출처: 손봉수 교수님 ppt)
          * float, double: 4 byte, 8 byte. 실수를 표현하므로 소수점 아래 숫자까지 나타낼 수 있다
          * double이 float보다 더 정확하게 수를 표현할 수 있다
          * float => -1.0E+38 ~ 1.0E+38 / double => -1.0E+308 ~ 1.0E+308
          * scanf("format specifier(s)", &argument);
          * format specifications
          * 배운 것 - %d (int), %f (float), %c (char)
         float meter=0;
         float inch=(((meter*3.2808)-feet)/3.2808)*39.37;
          * Operators
          * arithmetic operators: binary, unary
  • 숫자를한글로바꾸기/허아영 . . . . 39 matches
         void number_data_input(int number, int number_data[10]);
          int number_data[10];
          char korean_data[20] = "일이삼사오육칠팔구";
          number_data_input(number, number_data);
          if(number_data[i] == 0)
          printf("%c", korean_data[2*number_data[i] - 2]);
          printf("%c", korean_data[2*number_data[i] - 1] );
         void number_data_input(int number, int number_data[10])
          number_data[number_len-i-1] = (number % 10);
         void number_data_input(int number, int *number_data);
         void print_num_korean(char *korean_data, int *number_data, int i);
          int number_data[10];
          char korean_data[20] = "일이삼사오육칠팔구";
          number_data_input(number, number_data);
          if(number_data[i] == 0)
          }else if(number_data[i] == 1 && number != 1)
          print_num_korean(korean_data, number_data, i);
          print_num_korean(korean_data, number_data, i);
         void number_data_input(int number, int *number_data)
          number_data[number_len-i-1] = (number % 10);
  • DoubleDispatch . . . . 38 matches
         == DoubleDispatch ==
         Integer라는 클래스와 Float라는 클래스가 있다. 두 객체 간의 덧셈을 구현하고 싶다. 몇개를 구현해야할까? 4개다. 즉, Integer + Integer, Float + Float, Integer + Float, Float + Integer이렇게 말이다. 이를 해결하기 위한 절차적 방법은 모든 상황을 거대한 case 구문에 넣는 것이다. 이것은 한군데에다가 로직을 다 넣을 수 있다는 장점이 있음에도 불구하고, 유지보수가 어렵다.
         argument에 메세지를 보내라. selector에다가 receiver의 클래스 네임을 덧붙인다. receiver를 argument로 넘긴다. 이 패턴을 사용한 후의 Integer, Float 코드는 다음과 같다.
         Integer Integer::operator+(const Number& aNumber)
         Float Float::operator+(const Number& aNumber)
          return aNumber.addFloat(this);
         Float Float::addFloat(const Float& aFloat)
          return Float(this + aFloat);
         Float Integer::addFloat(const Float& aFloat)
          return asFloat().addFloat(aFloat); // Integer를 Float로 바꿔준 다음 계산
         Integer Float::addInteger(const Integer& anInteger)
          return addFloat(anInteger.asFloat());
          * http://www.object-arts.com/EducationCentre/Patterns/DoubleDispatch.htm
          * http://eewww.eng.ohio-state.edu/~khan/khan/Teaching/EE894U_SP01/PDF/DoubleDispatch.PDF
          * http://www.chimu.com/publications/short/javaDoubleDispatching.html
          * http://no-smok.net/seminar/moin.cgi/DoubleDispatch
  • FocusOnFundamentals . . . . 38 matches
         '''Software Engineering Education Can, And Must, Focus On Fundamentals.'''
         When I began my EE education, I was surprised to find that my well-worn copy of the "RCA
         of tube. When I asked why, I was told that the devices and technologies that were popular then
         would be of no interest in a decade. Instead, I learned fundamental physics, mathematics, and a
         way of thinking that I still find useful today.
         Clearly, practical experience is essential in every engineering education; it helps the students to
         learn how to apply what they have been taught. I did learn a lot about the technology of that day in
         laboratory assignments, in my hobby (amateur radio), as well as in summer jobs, but the lectures
         taught concepts of more lasting value that, even today, help me to understand and use new
         Readers familiar with the software field will note that today's "important" topics are not
         mentioned. "Java", "web technology", "component orientation", and "frameworks" do not appear.
         The many good ideas that underlie these approaches and tools must be taught. Laboratory exercises
         to experiment with some new ones. However, we must remember that these topics are today's
         of educators to remember that today's students' careers could last four decades. We must identify
         the fundamentals that will be valid and useful over that period and emphasise those principles in
         the lectures. Many programmes lose sight of the fact that learning a particular system or language
         Students usually demand to be taught the language that they are most likely to use in the world outside (FORTRAN or C). This is a mistake. A well taught student (viz. one who has been taught a clean language) can easily pick up the languages of the world, and he [or she] will be in a far better position to recognize their bad features as he [or she] encounters them.
         Q: What advice do you have for computer science/software engineering students?
         A: Most students who are studying computer science really want to study software engineering but they don't have that choice. There are very few programs that are designed as engineering programs but specialize in software.
         I would advise students to pay more attention to the fundamental ideas rather than the latest technology. The technology will be out-of-date before they graduate. Fundamental ideas never get out of date. However, what worries me about what I just said is that some people would think of Turing machines and Goedel's theorem as fundamentals. I think those things are fundamental but they are also nearly irrelevant. I think there are fundamental design principles, for example structured programming principles, the good ideas in "Object Oriented" programming, etc.
  • JavaScript/2011년스터디/URLHunter . . . . 38 matches
          location.href="./urlhunter.php#"+str+"||| time:"+(30-time);
          var temp=Math.floor(Math.random()*40)+1
          var temp=Math.floor(Math.random()*10)+1;
          location.href="./urlhunter.php#Game Over";
          location.href = CrtURL + " You caught \'" + map.r.join('') + "\'";
          location.href = CrtURL + " "+timer.t +"|" + map.s.join('') + "|"+timer.t + " You caught \'" + map.r.join('') + "\'";
         function Creature(){
          var t = (Math.floor(Math.random()*100)%3);
         Monster.prototype = new Creature();
         Hunter.prototype = new Creature();
          this.a1 = new Monster(Math.floor(Math.random()*MapLength));
          this.a2 = new Monster(Math.floor(Math.random()*MapLength));
          this.a3 = new Monster(Math.floor(Math.random()*MapLength));
          this.a4 = new Monster(Math.floor(Math.random()*MapLength));
          this.a5 = new Monster(Math.floor(Math.random()*MapLength));
          this.H = new Hunter(Math.floor(Math.random()*MapLength));
         var state = new Array();
          state[i] = 0;
          //create monsters
          //create Player
  • 이영호/nProtect Reverse Engineering . . . . 38 matches
         Protector : guardcat 이라는 nProtect와 같은 동작을 수행하는 녀석
         확인 결과 nProtect와 guardcat은 비슷한 역할을 수행하는 것을 발견하였다.
         guardcat을 확인하니 EnumServicesStatusA로 Process의 정보를 빼와서 OpenProcess로 열어 debug를 확인 하는 루틴을 발견하였다.
         => guardcat.exe -> gc_proch.dll
         업데이트 파일에서 host의 patch 주소를 내가 사용하는 eady.sarang.net/~dark/12/Mabi/로 고치고 여기에 파일 3개를 올리고 시도 하였더니
         성공 하였다. 다행히 이 guardcat은 Packing, Enchypher로 인한 encoding이 되지 않아서 인라인 패치가 쉬웠다.
         => gcupdater -> guardcat.exe -> gc_proch.dll
         몇몇개의 함수만을 수정하고 guardcat.exe만 실행하였으나 gc_proch.dll의 hooking 루틴때문에 막혀버렸다.
         gc_proch.dll 파일을 제거후 실행하였더니 gaurdcat.exe가 실행되고 debugger도 제대로 동작 하는 것을 알았다.
         중요한것은 update를 어떻게 막느냐이다. 아마도 gc_proch.dll이 없더라도 mabinogi.exe는 제대로 실행될 것이다.
         => mabinogi.exe -> client.exe -> gcupdater -> guardcat.exe -> gc_proch.dll
         1. mabinogi.exe(게임 자체의 업데이트 체크를 한다. 그리고 createprocess로 client.exe를 실행하고 종료한다.)
         2. client.exe(client가 실행될 때, gameguard와는 별개로 디버거가 있는지 확인하는 루틴이 있는 듯하다. 이 파일의 순서는 이렇다. 1. 데이터 파일의 무결성검사-확인해보지는 않았지만, 이게 문제가 될 소지가 있다. 2. Debugger Process가 있는지 Check.-있다면 프로세스를 종료한다. 3. gcupdater.exe를 서버로부터 받아온다. 4. createprocess로 gcupdater를 실행한다. 5. 자체 게임 루틴을 실행하고 gcupdater와 IPC를 사용할 thread를 만든다.)
         3. gcupdater(실행시 항상 서버에 접속하여 파일 3개를 받아온다. guardcat.exe, INST.dat, gc_proch.dll을 순서대로 받아와 자체적으로 wsprintf를 이용하여 복사한다.-아마 디버거에 API를 걸리기 싫었는지 모른다. createprocess로 guardcat.exe를 실행시킨다.)
         4. guardcat.exe(실행시 EnumServicesStatusA로 Process List를 받아와 gc_proch.dll 파일과 IPC로 데이터를 보낸다. 이 파일이 실행되는 Process를 체크하여 gc_proch.dll로 보내게 된다. 또한 IPC를 통해 client.exe에 Exception을 날리게 되 게임을 종료시키는 역할도 한다.)
         client.exe가 실행될 때, 데이터 무결성과 디버거를 잡아내는 루틴을 제거한다면, updater의 사이트를 내 사이트로 변경후 인라인 패치를 통한 내 protector를 올려 mabinogi를 무력화 시킬 수 있다.
         아니면 client.exe가 gcupdater.exe를 받아내는 부분을 고치면 한결 수월 해 질 수도 있다. 단지, 무결성이 넘어가지 않는다면 힘들어진다.
         CreateProcess() 매개변수
         |CommandLine = ""C:\Program Files\Mabinogi\client.exe" code:1622 ver:237 logip:211.218.233.200 logport:11000 chatip:211.218.233.192 chatport:8000 setting:"file://data/features.xml=Regular, Korea""
         |CreationFlags = 0
  • 토비의스프링3/오브젝트와의존관계 . . . . 38 matches
          * DAO(Data Access Object)
         import java.sql.PreparedStatement;
          PreparedStatement ps = c.prepareStatement("insert into users(id, name, password) values(?,?,?)");
          ps.executeUpdate();
          PreparedStatement ps = c.prepareStatement("select * from users where id = ?");
         public static void main(String[] args) throws SQLException, ClassNotFoundException {
          1. 사용자 등록/조회를 위한 SQL문을 담을 Statement를 만들고 실행하는 것.
         private Connection getConnection() throws SQLException, ClassNotFoundException {
          * 애플리케이션 컨텍스트(application context) : IoC방식을 따라 만들어진 일종의 빈팩토리. 별도의 정보를 참고해서 빈의 생성, 관계설정 등의 제어 작업을 총괄한다. 설정 정보를 따로 받아와서 이를 활용하는 IoC엔진이라고 볼 수 있다. 주로 설정에는 xml을 사용한다.
          * 1. 스프링이 빈 팩토리를 위한 오브젝트 설정을 담당하는 클래스라고 인식할 수 있도록 @Configuration이라는 애노테이션을 추가한다.
         @Configuration
         @Configuration
          * 1. 애플리케이션 컨텍스트는 ApplicationContext타입의 오브젝트다. 사용시 @Configuration이 붙은 자바코드를 설정정보로 사용하려면 AnnotationConfigApplicationContext에 생성자 파라미터로 @Configuration이 붙은 클래스를 넣어준다.
         public static void main(Strings[] args) throws ClassNotFoundException, SQLException{
         ApplicatioContext context = new AnnotationConfigApplicationContext(DaoFactory.class);
          * 2. 준비된 ApplicationContext의 getBean()메소드를 이용해 등록된 빈의 오브젝트를 가져올 수 있다.
         public static void main(Strings[] args) throws ClassNotFoundException, SQLException{
         ApplicatioContext context = new AnnotationConfigApplicationContext(DaoFactory.class);
          getBean()메소드 : ApplicationContext가 관리하는 오브젝트를 요청하는 메소드. ""안에 들어가는 것은 ApplicationContext에 등록된 빈의 이름. 빈을 가져온다는 것은 메소드를 호출해서 결과를 가져온다고 생각하면 된다. 위에서는 userDao()라는 메소드에 붙였기 때문에 ""안에 userDao가 들어갔다. 메소드의 이름이 myUserDao()라면 "myUserDao"가 된다. 기본적으로 Object타입으로 리턴하게 되어있어서 다시 캐스팅을 해줘야 하지만 자바 5 이상의 제네릭 메소드 방식을 사용해 두 번째 파라미터에 리턴 타입을 주면 캐스팅을 하지 않아도 된다.
          * @Configuration이 붙은 클래스는 애플리케이션 컨텍스트가 활용하는 IoC 설정정보가 된다. 내부적으로는 애플리케이션 컨텍스트가 @Configuration클래스의 @Bean메소드를 호출해서 오브젝트를 가져온 것을 클라이언트가 getBean() 메소드로 요청할 때 전달해준다.
  • ClassifyByAnagram/김재우 . . . . 37 matches
          /// The main entry point for the application.
          [STAThread]
          static void Main(string[] args)
          DateTime start = DateTime.Now;
          TimeSpan elapsed = DateTime.Now.Subtract( start );
          System.Collections.IEnumerator myEnumerator = list.GetEnumerator();
          while ( myEnumerator.MoveNext() )
          writer.Write( myEnumerator.Current );
          IDictionaryEnumerator de = m_dictionary.GetEnumerator();
          IEnumerator le = list.GetEnumerator();
          * Created by IntelliJ IDEA.
          * Date: 2002. 9. 30.
          * To change template for new class use
          * Code Style | Class Templates options (Tools | IDE Options).
          * Created by IntelliJ IDEA.
          * Date: 2002. 9. 30.
          * To change template for new class use
          * Code Style | Class Templates options (Tools | IDE Options).
          private Map m_dictionary;
          for( Iterator i = characterList.iterator(); i.hasNext(); ) {
  • MFC/Socket . . . . 37 matches
          // ClassWizard generated virtual function overrides
          // Generated message map functions
          Create(nPortNum); //특정 포트 번호로 서버를 생성한다.
         void COmokView::OnServercreate()
          m_dataSocket = new CDataSocket;
          if(!m_serverSocket.Accept(*m_dataSocket)) // 접속을 받는다. m_dataSocket을 통해 통신한다.
          m_dataSocket->Init(this); //초기화
          m_dataSocket->SetPort(SERVERPORT); //포트 설정
          CData temp;
          *m_dataSocket >> temp; //클라이언트로부터 메시지를 받았다.
          AfxMessageBox(temp.m_strData); //테스트 확인용으로 받은 메시지를 띄워준다.
          temp.m_strData = "TEST2";
          *m_dataSocket << temp; // 클라이언트에게 메시지를 보낸다.
          * m_dataSocket.Create() //
          * m_dataSocket.Connect(dlg1.m_strIpAddress, createBlkFile)
          * m_dataSocket.Init(this);
          m_dataSocket = new CDataSocket;
          if(!m_dataSocket->Create())
          if(!m_dataSocket->Connect(dlg1.m_strIpAddress, 2000))
          m_dataSocket->Init(this);
  • OurMajorLangIsCAndCPlusPlus/XML/조현태 . . . . 37 matches
         SReadBlock* CreateNewBlock(const char* name, const char* contents)
         const char* CreateTree(SReadBlock* headBlock, const char* readData)
          while(0 != *readData)
          if ('<' == *readData)
          ++readData;
          if ('/' == *readData)
          readData = strchr(readData, '>');
          ++readData;
          const char* nameEndPoint = strchr(readData, '>');
          char* textBuffur = (char*)malloc(sizeof(char) * (nameEndPoint - readData + 1));
          strncpy(textBuffur, readData, nameEndPoint - readData);
          textBuffur[nameEndPoint - readData] = 0;
          myPoint = CreateNewBlock(textBuffur, NULL);
          readData = CreateTree(myPoint, nameEndPoint + 1);
          readData = CreateTree(myPoint, --readData);
          if (' ' == *readData || '\n' == *readData)
          while(' ' == *readData || '\n' == *readData)
          ++readData;
          const char* contentsEndPoint = strchr(readData, '<');
          char* textBuffur = (char*)malloc(sizeof(char) * (contentsEndPoint - readData + 1));
  • RUR-PLE/Etc . . . . 37 matches
          repeat(move_and_pick,6)
          repeat(move_and_pick,6)
         repeat(harvestTwoRow,3)
          repeat(move_and_pick,6)
          repeat(move_and_pick,6)
         repeat(harvestTwoRow,1)
         repeat(move_and_pick,6)
         repeat(move_and_pick,5)
         repeat(move_and_pick,6)
         repeat(move_and_pick,5)
         repeat(move_and_put,5)
         repeat(move_and_put,5)
         repeat(move_and_put,5)
         repeat(move_and_put,5)
         repeat(move_and_put,5)
         repeat(move_and_put,5)
          repeat(move_and_pick,6)
          repeat(move_and_pick,6)
         repeat(harvestTwoRow,1)
         repeat(move_and_pick,6)
  • Refactoring/DealingWithGeneralization . . . . 37 matches
         = Chapter 11 Dealing With Generalization =
         http://zeropage.org/~reset/zb/data/PullUpField.gif
         http://zeropage.org/~reset/zb/data/PullUpMethod.gif
          * You have constructors on subclasses with mostly identical bodies.[[BR]]''Create a superclass constructor; class this from the subclass methods.''
         http://zeropage.org/~reset/zb/data/PushDownMethod.gif
         http://zeropage.org/~reset/zb/data/PushDownField.gif
          * A class has features that are used only in some instances.[[BR]]''Create a subclass for that subset of features.''
         http://zeropage.org/~reset/zb/data/ExtractSubclass.gif
          * You have two classes with similar features.[[BR]]''Create a superclass and move the common features to the superclass.''
         http://zeropage.org/~reset/zb/data/ExtractSuperClass.gif
         http://zeropage.org/~reset/zb/data/ExtractInterface.gif
         http://zeropage.org/~reset/zb/data/CollapseHierarchy.gif
         == Form Template Method ==
          * You have two methods in subclasses that perform similar steps in the same order, yet the steps are different.[[BR]]''Get the steps into methods with the same signature, so that the original methods become the same. Then you call pull them up.''
         http://zeropage.org/~reset/zb/data/FormTemplateMethod.gif
         == Replace Inheritance with Delegation ==
          * A subclass uses only part of a superclasses interface or does not want to inherit data.[[BR]]''Create a field for the superclass, adjust methods to delegate to the superclass, and remove the subclassing.''
         http://zeropage.org/~reset/zb/data/ReplaceInheritanceWithDelegation.gif
         == Replace Delegation with Inheritance ==
          * You're using delegation and are ofter writing many simple delegations for the entire interface.[[BR]]''Make the delegating class a subclass of the delegate.''
  • Refactoring/MakingMethodCallsSimpler . . . . 37 matches
         http://zeropage.org/~reset/zb/data/RenameMethod.gif
         A method needs more information from its caller.
          ''Add a parameter for an object that can pass on this information''
         http://zeropage.org/~reset/zb/data/AddParameter.gif
         http://zeropage.org/~reset/zb/data/RemoveParameter.gif
         == Separate Query from Modifier ==
         You have a method that returns a value but also changes the state of an object.
          ''Create two methods, one for the query and one for the modification''
         http://zeropage.org/~reset/zb/data/SeparateQueryFromModifier.gif
          ''Create one method that uses a parameter for the different values''
         http://zeropage.org/~reset/zb/data/ParameterizeMethod.gif
         You have a method that runs different code depending on the values of an enumerated parameter.
          ''Create a separate method for each value of the parameter''
         You have a group of parameters that naturally go together.
         http://zeropage.org/~reset/zb/data/IntroduceParameterObject.gif
         A field should be set at creation time and never altered.
          ''Remove any setting method for that field''
         http://zeropage.org/~reset/zb/data/RemoveSettingMethod.gif
          ''Make the method private''
         http://zeropage.org/~reset/zb/data/HideMethod.gif
  • StructuredText . . . . 37 matches
         Structured text is text that uses indentation and simple
         symbology to indicate the structure of a document. For the next generation of structured text, see [http://dev.zope.org/Members/jim/StructuredTextWiki/StructuredTextNG here].
         A structured string consists of a sequence of paragraphs separated by
         as the minimum indentation of the paragraph. A paragraph is a
         preceding paragraph that has a lower level.
         Special symbology is used to indicate special constructs:
          * A single-line paragraph whose immediately succeeding paragraphs are lower level is treated as a header.
          * A paragraph that begins with a '-', '*', or 'o' is treated as an unordered list (bullet) element.
          * A paragraph that begins with a sequence of digits followed by a white-space character is treated as an ordered list element.
          * A paragraph that begins with a sequence of sequences, where each sequence is a sequence of digits or a sequence of letters followed by a period, is treated as an ordered list element.
          * A paragraph with a first line that contains some text, followed by some white-space and '--' is treated as a descriptive list element. The leading text is treated as the element title.
          * Sub-paragraphs of a paragraph that ends in the word 'example' or the word 'examples', or '::' is treated as example code and is output as is.
          * Text enclosed single quotes (with white-space to the left of the first quote and whitespace or puctuation to the right of the second quote) is treated as example code.
          * Text surrounded by '*' characters (with white-space to the left of the first '*' and whitespace or puctuation to the right of the second '*') is emphasized.
          * Text surrounded by '**' characters (with white-space to the left of the first '**' and whitespace or puctuation to the right of the second '**') is made strong.
          * Text surrounded by '_' underscore characters (with whitespace to the left and whitespace or punctuation to the right) is made underlined.
          * Text encloded by double quotes followed by a colon, a URL, and concluded by punctuation plus white space, *or* just white space, is treated as a hyper link. For example:
          '''Note:''' This works for relative as well as absolute URLs.
          * Text enclosed by double quotes followed by a comma, one or more spaces, an absolute URL and concluded by punctuation plus white space, or just white space, is treated as a hyper link. For example:
          * Text enclosed in brackets which consists only of letters, digits, underscores and dashes is treated as hyper links within the document. For example:
  • 기본데이터베이스/조현태 . . . . 37 matches
         const int MAX_DATA_SIZE=100;
         char datas[MAX_DATA_SIZE+1][HANG_MOK][MAX_BLOCK_SIZE];
         int how_many_data=0;
         int such_data();
         void modify_data(int);
          if (MAX_DATA_SIZE==how_many_data)
          printf("ERROR!! - code:03 - data overflow!!\n");
          modify_data(how_many_data);
          ++how_many_data;
          int target=such_data();
          modify_data(target);
          int target=such_data();
          strcpy(datas[MAX_DATA_SIZE][i],datas[target][i]);
          for (register int i=target+1; i<how_many_data; ++i)
          strcpy(datas[i-1][j],datas[i][j]);
          --how_many_data;
          printf("ERROR!! - code:02 - Can't find deleted data!!\n");
          for (register int i=how_many_data-1; prv_del<=i; --i)
          strcpy(datas[i+1][j],datas[i][j]);
          strcpy(datas[prv_del][i],datas[MAX_DATA_SIZE][i]);
  • 데블스캠프2011/다섯째날/HowToWriteCodeWell/송지원,성화수 . . . . 37 matches
         == Elevator.java ==
         public class Elevator {
          private boolean ta;
          private boolean drill;
          public Elevator(int i, int j) {
          floor = -Math.abs(i);
          // TODO Auto-generated method stub
         import static org.junit.Assert.*;
          Elevator elevator = new Elevator (-20, -1);
          assertEquals(-1, elevator.floor);
          elevator.move(17);
          assertEquals(-1, elevator.floor);
          elevator.ta();
          assertEquals(-1, elevator.floor);
          elevator.move(3);
          assertEquals(-3, elevator.floor);
          elevator.naga();
          assertEquals(-3, elevator.floor);
          elevator.ta();
          elevator.up(2);
  • 데블스캠프2011/둘째날/Machine-Learning/NaiveBayesClassifier/강성현 . . . . 37 matches
          * 파일입력은 FileData 클래스를 만들어서 사용. java.util.Scanner를 사용하였음.
         === FileData Class ===
         public class FileData {
          public FileData(String filename) throws FileNotFoundException, UnsupportedEncodingException {
          public static HashMap<String, Int2> words = new HashMap<String, Int2>();
          public static void main(String[] args) {
          FileData politics = new FileData("train/politics/index.politics.db");
          FileData economy = new FileData("train/economy/index.economy.db");
          } catch (FileNotFoundException e) {
          } catch (UnsupportedEncodingException e) {
          private static void writeCsv(String filename) throws FileNotFoundException {
          private int _1, _2;
          public static HashMap<String, Int2> words = new HashMap<String, Int2>();
          public static void main(String[] args) {
          FileData politics = new FileData("test/politics/politics.txt");
          FileData economy = new FileData("test/economy/economy.txt");
          String[][] data = csv.readAll().toArray(new String[0][0]);
          for (int i = 2; i < data.length; i++) {
          words.put(data[i][0], new Int2(Integer.parseInt(data[i][1]),Integer.parseInt(data[i][2])));
          p += Math.log((f.get1()+1)/(double)(f.get2()+1));
  • 로마숫자바꾸기/허아영 . . . . 37 matches
         void operation(int number, char roma_data[3][4]);
         void output(int number, char resultdata[20][4]);
          char roma_data[3][4] = {"Ⅹ", "Ⅰ", "Ⅴ"};
          operation(number, roma_data);
         void operation(int number, char roma_data[3][4])
          int numberdata[5] = {0,};
          char resultdata[20][4] = {0,};
          numberdata[0] = number / 10;
          numberdata[1] = number % 10;
          while(numberdata[0] > 0)
          strcpy(resultdata[i], roma_data[0]);
          --numberdata[0];
          if(numberdata[1] == 4 || numberdata[1] == 9)
          strcpy(resultdata[i], roma_data[1]);
          if(numberdata[1] == 4)
          strcpy(resultdata[i], roma_data[2]);
          strcpy(resultdata[i], roma_data[0]);
          numberdata[1] = 0;
          }else if(numberdata[1] >= 5)
          strcpy(resultdata[i], roma_data[2]);
  • 성우용 . . . . 37 matches
         int matrix[SIZE][SIZE];
          if(matrix[x_point][y_point] == 1)
          matrix[x_point][y_point] = 1;
          while(matrix[x_point][y_point+k] == 1)
          while(matrix[x_point+k][y_point] == 1)
          while(matrix[x_point+k][y_point+k] == 1)
          while(matrix[x_point][y_point-k] == 1)
          while(matrix[x_point-k][y_point] == 1)
          while(matrix[x_point-k][y_point-k] == 1)
          if(matrix[x_point][y_point+k] == 0)
          while(matrix[x_point][y_point+k+1] == 1)
          if(matrix[x_point+k][y_point] == 0)
          while(matrix[x_point+k+1][y_point] == 1)
          if(matrix[x_point+k][y_point+k] == 0)
          while(matrix[x_point+k+1][y_point+k+1] == 1)
          if(matrix[x_point-k][y_point] == 0)
          while(matrix[x_point-k-1][y_point] == 1)
          if(matrix[x_point][y_point-k] == 0)
          while(matrix[x_point][y_point-k-1] == 1)
          if(matrix[x_point-k][y_point-k] == 0)
  • C/C++어려운선언문해석하기 . . . . 36 matches
         원문 : How to interpret complex C/C++ declarations (http://www.codeproject.com/cpp/complex_declarations.asp)
         자세한 설명을 첨가하지 못해서 죄송합니다. 다음의 링크를 참조하시면 더 자세한 이유를 보실 수 있으실 겁니다. http://www.research.att.com/~bs/bs_faq2.html#whitespace )
         원리만 따지자면 이 관계는 무한히 반복될 수 있습니다. 따라서 우리는 float형을 가리키는 포인터를 가리키는 포인터를 가리키는 포인
         typedef a b(); // b is a function that returns
         // that returns a pointer to a char
         // that returns a pointer to a char
         // function that returns a
         위의 선언문은 변수 p를 char를 입력 인자로 하고 int를 리턴하는 함수를 가리키는 포인터(a pointer to a function that takes a char
         두개의 float를 입력인자로 하고 char를 가리키는 포인터를 가리키는 포인터를 리턴하는 함수를 가리키는 포인터(a pointer to a
         function that take two floats and returns a pointer to a pointer to a char)는 다음과 같이 선언합니다.
         char ** (*p)(float, float);
         (an array of 5 pointers to functions that receive two const pointers to chars and return void pointer)은 어떻게 선언하면 될까요
         "Start reading the declaration from the innermost parentheses, go right, and then go left. When you encounter parentheses, the
         declaration has been parsed."
         3. Jump out of parentheses and encounter (int) --------- to a function that takes an int as argument
         5. Go left, encounter * ----------------------------- that return pointers
         7. Go left, find * ----------------------------------- that return pointers
         float ( * ( *b()) [] )(); // b is a function that returns a
         // to functions returning floats.
         // 이 포인터는 함수를 가리키는데 이 함수는 float를 리턴합니다.
  • ScheduledWalk/창섭&상규 . . . . 36 matches
          * 여정이 끝나거나 판의 모든 곳에 자취가 남을때까지 여정에 따라 판 위를 움직일 수 있다.(CurrentLocation, Walk) | 여정(Journey), 판(Board)
          * 바퀴벌레의 시작위치를 말해줄 수 있다.(GetRoachStartLocation)
         struct Location
          void LeaveTrace(Location location)
          BoardArray[location.y][location.x]++;
          Location CurrentLocation;
          void GoOnBoard(Board *board, Location startlocation)
          CurrentLocation=startlocation;
          MyBoard->LeaveTrace(startlocation);
          CurrentLocation.x+=move[direction][0];
          CurrentLocation.y+=move[direction][1];
          if(CurrentLocation.x==-1) CurrentLocation.x=MyBoard->BoardSize.height-1;
          if(CurrentLocation.x==MyBoard->BoardSize.height) CurrentLocation.x=0;
          if(CurrentLocation.y==-1) CurrentLocation.y=MyBoard->BoardSize.width-1;
          if(CurrentLocation.y==MyBoard->BoardSize.width) CurrentLocation.y=0;
          MyBoard->LeaveTrace(CurrentLocation);
          Location GetRoachStartLocation()
          Location location;
          cin >> location.x >> location.y;
          return location;
  • WinSock . . . . 36 matches
          hFileIn = CreateFile ("d:\test.mp3", GENERIC_READ, FILE_SHARE_READ,
         // send (*pSocket, "Data", 5, NULL);
          WSADATA wsaData;
          if (WSAStartup (0x202, &wsaData) == SOCKET_ERROR) {
          printf ("create socket error.. %dn", WSAGetLastError ());
          WSAEVENT hEvent = WSACreateEvent ();
          WSAEVENT hEvent2 = WSACreateEvent ();
          DWORD WaitStatus;
          WaitStatus = WSAWaitForMultipleEvents (2, Eventarry, FALSE, 1000, FALSE);
          if (WaitStatus == WSA_WAIT_EVENT_0) {
          CreateThread (NULL, NULL, Threading, &socketClient, NULL, &dwTemp);
          if (WaitStatus == (WSA_WAIT_EVENT_0 + 1) ) {
          DWORD dwDataReaded;
          printf ("Data Received... n");
          ioctlsocket (socketClient, FIONREAD, &dwDataReaded);
          szBuffer = (char *)LocalAlloc (LPTR, dwDataReaded);
          recv (socketClient, szBuffer, dwDataReaded, NULL);
          printf ("Data : %s (%d)n", szBuffer, dwDataReaded);
          WSADATA wsaData;
          if (WSAStartup (0x202, &wsaData) == SOCKET_ERROR) {
  • 데블스캠프2005/java . . . . 36 matches
         The Java platform and language began as an internal project at Sun Microsystems in the December 1990 timeframe. Patrick Naughton, an engineer at Sun, had become increasingly frustrated with the state of Sun's C++ and C APIs and tools. While considering moving to NeXT, Patrick was offered a chance to work on new technology and thus the Stealth Project was started.
         The Stealth Project was soon renamed to the Green Project with James Gosling and Mike Sheridan joining Patrick Naughton. They, together with some other engineers, began work in a small office on Sand Hill Road in Menlo Park, California to develop a new technology. The team originally considered C++ as the language to use, but many of them as well as Bill Joy found C++ and the available APIs problematic for several reasons.
         Their platform was an embedded platform and had limited resources. Many members found that C++ was too complicated and developers often misused it. They found C++'s lack of garbage collection to also be a problem. Security, distributed programming, and threading support was also required. Finally, they wanted a platform that could be easily ported to all types of devices.
         According to the available accounts, Bill Joy had ideas of a new language combining the best of Mesa and C. He proposed, in a paper called Further, to Sun that its engineers should produce an object-oriented environment based on C++. James Gosling's frustrations with C++ began while working on Imagination, an SGML editor. Initially, James attempted to modify and extend C++, which he referred to as C++ ++ -- (which is a play on the name of C++ meaning 'C++ plus some good things, and minus some bad things'), but soon abandoned that in favor of creating an entirely new language, called Oak named after the oak tree that stood just outside his office.
         Like many stealth projects working on new technology, the team worked long hours and by the summer of 1992, they were able to demo portions of the new platform including the Green OS, Oak the language, the libraries, and the hardware. Their first attempt focused on building a PDA-like device having a highly graphical interface and a smart agent called Duke to assist the user.
         The device was named Star7 after a telephone feature activated by *7 on a telephone keypad. The feature enabled users to answer the telephone anywhere. The PDA device itself was demonstrated on September 3, 1992.
         In November of that year, the Green Project was spun off to become a wholly owned subsidiary of Sun Microsystems: FirstPerson, Inc. The team relocated to Palo Alto. The FirstPerson team was interested in building highly interactive devices and when Time Warner issued an RFP for a set-top box, FirstPerson changed their target and responded with a proposal for a set-top box platform. However, the cable industry felt that their platform gave too much control to the user and FirstPerson lost their bid to SGI. An additional deal with The 3DO Company for a set-top box also failed to materialize. FirstPerson was unable to generate any interest within the cable TV industry for their platform. Following their failures, the company, FirstPerson, was rolled back into Sun.
  • 데블스캠프2011/다섯째날/HowToWriteCodeWell/강소현,구자경 . . . . 36 matches
         === Elevator.java ===
         public class Elevator {
          private int floorMax;
          private int floorMin;
          private int current;
          private int hopeFloor;
          public Elevator(int i, int j) {
          // TODO Auto-generated method stub
         import static org.junit.Assert.*;
          public void testElevator() {
          final Elevator el = new Elevator(20, -10);//최상층, 최하층
         === Elevator.java ===
         import java.util.Date;
         public class Elevator {
          private int floorMax;
          private int floorMin;
          private int peopleMax;
          private int floor;
          private int people;
          private Timer timer;
  • 데블스캠프2011/둘째날/Machine-Learning/NaiveBayesClassifier/송지원 . . . . 36 matches
          * 다른 분들과 달리, 저는 한 글자인 문자와 특수문자를 첫 글자로 포함하는 단어들은 Train Data 및 Test Data 분석에 포함시키지 않았습니다.
          public List<String> data;
          data = new ArrayList<String>();
          public void moveFileToData(){
          if(str.length() > 1 && str.charAt(0) != '.' && str.charAt(0) != ','&& str.charAt(0) != '!'&& str.charAt(0) != '"' && str.charAt(0) != ':' && str.charAt(0) != '-' && str.charAt(0) != ';'){
          for(int i=0; i<data.size(); i++){
          if(str.equals(data.get(i))){
          data.add(str);
          this.printDataToFile();
          } catch(IOException e){
          private void printDataToFile(){
          for(int i=0; i < data.size(); i++){
          str = data.get(i) + "\t" + frequency.get(i) + "\n";
          } catch (IOException e) {
          data.add(st.nextToken());
          } catch(IOException e){
          public void printData(){
          for(int i=0; i<data.size(); i++){
          System.out.print(data.get(i));
          System.out.println("Data size : "+data.size());
  • MoreEffectiveC++/Basic . . . . 35 matches
          Pointers use the "*" and "->" operators, references use "." [[BR]]
         static_cast<type>(expression)
          * ''static_cast<type>(expression)''는 기존의 C style에서 사용하는 ''(type)expression'' 와 동일하다. [[BR]]
         void update( SpecialWidget *psw);
         update(&csw); // 당연히 안됨 const인자이므로 변환(풀어주는 일) 시켜 주어야 한다.
         update(const_cast<SpecialWidget*>(&csw)); // 옳타쿠나
         update((SpecialWidget*)&csw); // C style인데 잘 돌아간다.
         update(pw);
         update(const_cast<SpecialWidget*>(pw)); // error!
          // 오직 상수(constness)나 변수(volatileness)에 영향을 미친다.
          // 이런말 하면 다 가능한 듯 싶고 static_cast 와 차이가 없는 것
         update( dynamic_cast<SpecialWidget*>(pw)); // 옳다.
         void updateViaRef(SpecialWidget& rsw);
         updateViaRef(dynamic_cast<SpecialWidget&>(*pw)); // 옳다.
         #define static_cast(TYPE, TEXPR) ((TYPE) (EXPR))
          double result = static_cast(double, firstNumber)/ secondNumber;
          update(const_cast(SpecialWidget*, &sw));
         == Item 3: Never treat arrays polymorphically ==
          logStream << "Deleting array at address "
          << static_cast<void*>(array) << '\n';
  • Refactoring/MovingFeaturesBetweenObjects . . . . 35 matches
         = Chapter 7 Moving Features Between Objects =
         A method is, or will be, using or used by more features of another class than the class on which it is defined.
         ''Create a new method with a similar body in the class it uses most. Either turn the old method into a simple delegation, or remove it altogether.''
         http://zeropage.org/~reset/zb/data/MoveMethod.gif
         ''Create a new field in the target class, and change all its users.''
         http://zeropage.org/~reset/zb/data/MoveField.gif
         You have one class doing work that should be done by two.
         ''Create a new class and move the relevant fields and methods from the old class into the new class.''
         http://zeropage.org/~reset/zb/data/1012450988/ExtractClass.gif
         ''Move all its features into another class and delete it.''
         http://zeropage.org/~reset/zb/data/InlineClass.gif
         == Hide Delegate ==
         A client is calling a delegate class of an object.
         ''Create methods on the server to hide the delegate.''
         http://zeropage.org/~reset/zb/data/HideDelegate.gif
         A class is doing too much simple delegation.
         ''Get the client to call the delegate directly.''
         http://zeropage.org/~reset/zb/data/RemoveMiddleMan.gif
         ''Create a method in the client class with an instance of the server class as its first argument.''
         Date newStart = new Date (previousEnd.getYear(), previousEnd.getMonth(), previousEnd.getDate() + 1);
  • 새싹교실/2012/주먹밥 . . . . 35 matches
         [http://www.flickr.com/photos/zealrant/ http://farm8.staticflickr.com/7245/6857196834_0c93f73f96_m.jpg] [http://farm8.staticflickr.com/7131/6857196764_23eea15ba2_m.jpg http://farm8.staticflickr.com/7131/6857196764_23eea15ba2_m.jpg] [http://farm8.staticflickr.com/7083/7003313019_18c6b87b6b_m.jpg http://farm8.staticflickr.com/7083/7003313019_18c6b87b6b_m.jpg] [http://farm8.staticflickr.com/7262/6857196800_ea1e29350f_m.jpg http://farm8.staticflickr.com/7262/6857196800_ea1e29350f_m.jpg]
         [http://farm8.staticflickr.com/7239/7042450973_5ea7827846_m.jpg http://farm8.staticflickr.com/7239/7042450973_5ea7827846_m.jpg] [http://farm8.staticflickr.com/7110/6896354030_24a7505c7d_m.jpg http://farm8.staticflickr.com/7110/6896354030_24a7505c7d_m.jpg]
          * int, char, float, long, double 변수는 무슨 표현을 위해 만들어졌는지 알려주었습니다. 정수, 문자, 실수. 알죠?
          * 헤더 파일들에는 뭐가 들어가는지 한번 알아보았습니다. math.h에는 수학에 관련된 함수. time.h에는 시간 제어에 관련됨 함수를 사용했죠 .srand(time(NULL))이 왜 쓰이는 지는 아직 안알려주었답니다^.^
         [http://farm8.staticflickr.com/7083/7047112703_ff410674b0_m.jpg http://farm8.staticflickr.com/7083/7047112703_ff410674b0_m.jpg] [http://farm8.staticflickr.com/7125/6901018132_7a291a35e5_m.jpg http://farm8.staticflickr.com/7125/6901018132_7a291a35e5_m.jpg] [http://farm8.staticflickr.com/7134/6901018150_0093a70456_m.jpg http://farm8.staticflickr.com/7134/6901018150_0093a70456_m.jpg] [http://farm8.staticflickr.com/7080/6901018084_9b2d277329_m.jpg http://farm8.staticflickr.com/7080/6901018084_9b2d277329_m.jpg]
          * 변수타입 - C언어는 고급언어이다. 왜냐. 사람이 쓰기 좋게 만들기때문이다. 편하게 만들어주는 것중 하나가 변수 타입이다. int는 정수, char는 문자, float는 실수. 참 편하지 않은가? 사람을 위해 만들어진것이다. 언제까지 0과 1로 대화할텐가?
          * 포인터 : 포인터변수는 32bit 버전 컴파일러에서 4byte 64bit 버전 컴파일러에서 8byte의 크기를 가집니다. 어떤타입이든 말이죠 (void *), (int *), (float *) 모두 말이에요. int *a는 4byte를 할당받고 a에는 '''주소값(address)'''을 가지게 됩니다. 포인터 (*)를 붙이게 되면 그 해당 주소가 가르키는 '''값'''을 찾아가게 되죠. int형 값말이에요 그러니까 4byte만 찾아오겠죠?
          float value;
         float calcalc(CALORIE *pcal, int num){
          float gram = 0;
          float totalcal = 0.0;
          * 백분률 공식 (x/최대값) * 100 을 했는데 안됨. 원인은 int로 되어 0이 자꾸 리턴되서 그랬음. 그래서 (float)(x/최대값) * 100을 집어넣음.
          * 답변 : 지금은 알수 없지만 많은것을 경험해 보았으면 좋겠습니다. 지금 이것이 아니라면 지금 달려나갈길에 대해 신경쓰고 자신감을 가졌으면 좋겠습니다. 순자의 성악설과 원효대사의 해골바가지를 예를 들면서 자신의 마음은 말그대로 마음먹기에 달렸다고 말했죠. 위선의 한자 정의는 僞善! 하지만 거짓 위(僞)는 단순히 자신의 악(惡)을 위해 속인다는 개념이 아닙니다. 사람이 사람을 위해 거짓을 행하며 사람의 마음으로 악(惡)을 다스려 선(善)에 넣는것을 말하게 됩니다. 위선을 단순히 거짓으로 생각하지 말란 얘기. 그래서 사람간의 예절이나 규율 법칙의 기반이 생기게 됬죠(이 얘기는 주제에서 벗어난 딴얘기 입니다). 몸이 먼저냐 마음이 먼저냐를 정하지 마세요. 우선 해보면 자연스럽게 따라오게 되기도한답니다. 필요하다면 Just do it! 하지만 이게 항상 옳은건 아니죠. 선택은 자유. 능력치의 오각형도 보여주었죠. 다른사람이 가지지 못한 장점을 당신은 가지고 있습니다. Whatever! 힘들때는 상담하는것도 좋고 시간을 죽여보는것도 한방법입니다. 항상 '''당신'''이 중요한거죠.
          * SVN 거북이를 이용하여 http://nforge.zeropage.org/svn/coordinateedit 에 코드를 올리는것을 올려놓음. 도건이 프로그램을 그곳에 올려놓고. 고쳐서 올려놓음. 받는건 숙제!!! 신남.
         [http://farm6.staticflickr.com/5038/7087854603_372a6a2e33_m.jpg http://farm6.staticflickr.com/5038/7087854603_372a6a2e33_m.jpg] [http://farm6.staticflickr.com/5038/7087854603_372a6a2e33_m.jpg http://farm6.staticflickr.com/5038/7087854603_372a6a2e33_m.jpg]
          public static void main(String[] args) {
  • AcceleratedC++ . . . . 34 matches
         홈페이지: http://www.acceleratedcpp.com/ (VS.NET, VC++6.0 등을 위한 소스화일을 받을 수 있다)
         http://www.acceleratedcpp.com/details/errata.html 에서 오류확인 필요.
         책설명 Seminar:AcceleratedCPlusPlus
         [http://www.zeropage.org/pub/ebook/addison_wesley_accelerated_cpp_ebook_source.tgz ebook english]
          || ["AcceleratedC++/Chapter0"] || Getting started || 1주차 ||
          || ["AcceleratedC++/Chapter1"] || Working with strings || ||
          || ["AcceleratedC++/Chapter2"] || Looping and counting || ||
          || ["AcceleratedC++/Chapter3"] || Working with batches of data || 2주차 ||
          || ["AcceleratedC++/Chapter4"] || Organizing programs and data || ||
          || ["AcceleratedC++/Chapter5"] || Using sequential containers and analyzing strings || ||
          || ["AcceleratedC++/Chapter6"] || Using library algorithms || 3주차 ||
          || ["AcceleratedC++/Chapter7"] || Using associative containers || ||
          || ["AcceleratedC++/Chapter8"] || Writing generic functions || 4주차 ||
          || ["AcceleratedC++/Chapter9"] || Defining new types || ||
          || ["AcceleratedC++/Chapter10"] || Managing memory and low-level data structures || ||
          || ["AcceleratedC++/Chapter11"] || Defining abstract data types || ||
          || ["AcceleratedC++/Chapter12"] || Making class objects act like values || ||
          || ["AcceleratedC++/Chapter13"] || Using inheritance and dynamic binding || ||
          || ["AcceleratedC++/Chapter14"] || Managing memory (almost) automatically || ||
          || ["AcceleratedC++/Chapter15"] || Revisiting character pictures|| ||
  • AcceleratedC++/Chapter13 . . . . 34 matches
         || ["AcceleratedC++/Chapter12"] || ["AcceleratedC++/Chapter14"] ||
         private:
         class Grad:public Core { // 구현(implementation)의 일부가 아닌 인터페이스(interface)의 일부로서 상속받는다는 것을 나타냄.
         private:
          private 보호 레이블로 지정된 멤버는 그 클래스 자체, friend 함수를 통해서만 직접적으로 접근이 가능하다. 이 경우 상속된 클래스에서는 부모 클래스의 private 멤버로의 접근이 필요한데 이럴때 '''protected'''라는 키워드를 사용하면 좋다.
         private:
          상기의 경우 Grad 객체를 인자로 전달할 경우 Grad객체의 Core객체의 요소만 복사되어 함수의 인자로 전달되기 때문에 Core::grade()가 호출되어서 '''정적바인딩(static binding)'''이 수행된다.
         private:
         private:
          } catch (domain_error e) {
          cout<<e.what()<<endl;
          } catch (domain_error e) {
          cout<<e.what()<<endl;
          // read and store the data
          record = new Core; // allocate a `Core' object
          record = new Grad; // allocate a `Grad' object
          // pass the version of `compare' that works on pointers
          // `students[i]' is a pointer that we dereference to call the functions
          } catch (domain_error e) {
          cout << e.what() << endl;
  • AdventuresInMoving:PartIV/문보창 . . . . 34 matches
         }Station;
         static int totalLength; /* 워털루에서 대도시까지의 거리 */
         static int numStation; /* 주유소 수 */
         static Station station[MAX_SIZE]; /* 주유소 정보 */
         static int d[2][MAX_OIL+1]; /* 다이나믹 테이블 */
          return station[i].length - station[i-1].length;
          numStation = 0;
          numStation++;
          cin >> station[numStation].length >> station[numStation].price;
          station[0].length = 0;
          if (100 - station[1].length < 0 || j < 100 - station[1].length)
          d[1][j] = (j - 100 + station[1].length) * station[1].price;
          if (numStation == 1)
          if (totalLength - station[numStation].length > 100 || station[1].length > 100)
          cout << d[1][totalLength - station[numStation].length + 100] << endl;
          for (i = 2; i <= numStation; i++)
          cost = d[(i-1)%2][k] + (j - k + getDistance(i)) * station[i].price;
          if (d[numStation%2][j] < MAX_NUM && d[numStation%2][j] < min && j - (totalLength - station[numStation].length) >= 100)
          min = d[numStation%2][j];
  • BigBang . . . . 34 matches
          * char의 배열, '''null terminated''' char sequence
          * float, double
          * float가 float인 이유 - 부동 소수점이라서....
          * double 은 그냥 double float라서..
          * 함수 decorator : C++의 오버로딩을 하게 되면, 컴파일 타임에서 각각의 함수를 구분할 수 있도록 붙는 머릿말
          * extern "C"를 이용하면 이러한 함수 decorator가 없어진다.
          * [http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3485.pdf c++11(아마도?) Working Draft]의 7.5절 linkage specification 참고
         ==== Template ====
          * 연산자 오버로딩 : C++에서는 operator를 이용해서 연산자에 특정 기능을 정의할 수 있다. C와 자바에서는 안 된다.
          * 연산자 오버로딩을 한 경우, 객체 u와 v가 있으면, u+v == u.operator+(v) 와 같다.
          * template과 friend
          * template와 friend 사이에 여러 매핑이 존재한다. many to many, one to many, many to one, one to one : [http://publib.boulder.ibm.com/infocenter/comphelp/v7v91/index.jsp?topic=%2Fcom.ibm.vacpp7a.doc%2Flanguage%2Fref%2Fclrc16friends_and_templates.htm 참고]
          * 가변인자의 취약점을 이용한 공격 (Format String Attack)
          * 참고 : http://www.hackerschool.org/HS_Boards/data/Lib_system/The_Mystery_of_Format_String_Exploitation.pdf
          * private의 상속
          * private 상속을 받게 되면, 클래스 내에서만 사용할 수 있고, 외부에서는 접근을 할 수 없다. 부모 클래스가 가상함수를 가지고 있고, 이것을 재정의 해서 사용할 수 있다.
          * (사실 people 클래스 안에 DataInfo를 멤버 변수로 선언해서 사용해도 되긴 하다. 하지만 private 상속을 받을 때 보다 메모리를 더 많이 사용하게 되기 때문에, private 상속을 쓰는 게 좋다.)
          * standard STL associate container
          * non-standard associate container
          * 선언(Declaration) - 어떤 대상의 이름과 타입을 컴파일러에게 알려 주는 것
  • InternalLinkage . . . . 34 matches
         The second subtlety has to do with the interaction of inlining and static objects inside functions. Look again at the code for the non-member version of thePrinter: ¤ Item M26, P17
          static Printer p;
         Except for the first time through this function (when p must be constructed), this is a one-line function — it consists entirely of the statement "return p;". If ever there were a good candidate for inlining, this function would certainly seem to be the one. Yet it's not declared inline. Why not? ¤ Item M26, P18
         Consider for a moment why you'd declare an object to be static. It's usually because you want only a single copy of that object, right? Now consider what inline means. Conceptually, it means compilers should replace each call to the function with a copy of the function body, but for non-member functions, it also means something else. It means the functions in question have internal linkage.
         You don't ordinarily need to worry about such linguistic mumbo jumbo, but there is one thing you must remember: functions with internal linkage may be duplicated within a program (i.e., the object code for the program may contain more than one copy of each function with internal linkage), and this duplication includes static objects contained within the functions. The result? If you create an inline non-member function containing a local static object, you may end up with more than one copy of the static object in your program! So don't create inline non-member functions that contain local static data.(9)
         9) In July 1996, the °ISO/ANSI standardization committee changed the default linkage of inline functions to external, so the problem I describe here has been eliminated, at least on paper. Your compilers may not yet be in accord with °the standard, however, so your best bet is still to shy away from inline functions with static data. ¤ Item M26, P61
         C++ 에서 SingletonPattern 을 구현할때 다음과 같은 방식을 사용하고는 한다.
          static Object obj;
         와 같은 의미가 된다. 이것은 inline 으로 선언할거리가 될것 같기도 하지만 inline 으로 선언되지 않았다. 왜일까? (Except for the first time through this function (when p must be constructed), this is a one-line function — it consists entirely of the statement "return p;". If ever there were a good candidate for inlining, this function would certainly seem to be the one. Yet it's not declared inline. Why not? )
         그것은 바로 InternalLinkage 때문이다. InternalLinkage 란, 컴파일 단위(translation unit -> Object Code로 생각해 보자) 내에서 객체나 함수의 이름이 공유되는 방식을 일컫는다. 즉, 객체의 이름이나 함수의 이름은 주어진 컴파일 단위 안에서만 의미를 가진다.
         예를들어, 함수 f가 InternalLinkage를 가지면, 목적코드(Translation Unit) a.obj 에 들어있는 함수 f와 목적코드 c.obj 에 들어있는 함수 f는 동일한 코드임에도 별개의 함수로 인식되어 중복된 코드가 생성된다.
          ''DeleteMe 이 말도 이해가 안갑니다. 주제로 시작한 inline은 중복 코드를 감안하고 성능을 위해서 쓰는 것이 아니 었던가요? 무엇이 문제인가요? inline 이 아닌 함수들은 ExternalLinkage로 전제 되었다고 볼수 있는데, 지적해야 할것은 inline의 operation에 해당하는 코드가 아니라, static 같은 변수가 중복을 예로 들어야 할것을... --NeoCoin''
          (->)''즉.. static 이라해도 각각의 obj 파일에 코드가 따로 들어가.. 객체가 중복 생성된다는 이야기인가..?''
          ''암튼,결론이 어떻게 되나요? singleton 을 구현하는 용도로 자주 쓰는 static 변수를 사용하는 (주로 getInstance류) 메소드에서는 inline 을 쓰지 말자 인가요? --[1002]''
         See also [MoreEffectiveC++], [DesignPatterns]
  • MFC/MessageMap . . . . 34 matches
         in ''application_name.h''
          // ClassWizard generated virtual function overrides
         // Implementation
          // DO NOT EDIT what you see in these blocks of generated code !
         in ''application_name.cpp''
          // DO NOT EDIT what you see in these blocks of generated code!
         in ''CAboutDlg implementation''
         // Dialog Data
          //{{AFX_DATA(CAboutDlg)
          //}}AFX_DATA
          // ClassWizard generated virtual function overrides
          virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
         // Implementation
          //{{AFX_DATA_INIT(CAboutDlg)
          //}}AFX_DATA_INIT
         void CAboutDlg::DoDataExchange(CDataExchange* pDX)
          CDialog::DoDataExchange(pDX);
          //{{AFX_DATA_MAP(CAboutDlg)
          //}}AFX_DATA_MAP
         || control notification message || 컨트롤 폼과 같은 것으로 부터 부모 윈도우에게 전달되는 WM_COMMAND메시지이다. ||
  • ReleasePlanning . . . . 34 matches
         A release planning meeting is used to create a release plan, which lays out the overall project. The release plan is then used to create iteration plans for each individual iteration.
         It is important for technical people to make the technical decisions and business people to make the business decisions. Release planning has a set of rules that allows everyone involved with the project to make their own decisions. The rules define a method to negotiate a schedule everyone can commit to.
         The essence of the release planning meeting is for the development team to estimate each user story in terms of ideal programming weeks. An ideal week is how long you imagine it would take to implement that story if you had absolutely nothing else to do.
         No dependencies, no extra work, but do include tests. The customer then decides what story is the most important or has the highest priority to be completed.
         User stories are printed or written on cards. Together developers and customers move the cards around on a large table to create a set
         of stories to be implemented as the first (or next) release. A useable, testable system that makes good business sense delivered early is desired.You may plan by time or by scope. The project velocity is used to determine either how many stories can be implemented before a given date (time) or how long a set of stories will take to finish (scope). When planning by time multiply the number of iterations by the project velocity to determine how many user stories can be completed. When planning by scope divide the total weeks of estimated user stories by the project velocity to determine how many iterations till the release is ready.
          Individual iterations are planned in detail just before each iteration begins and not in advance. The release planning meeting was called the planning game and the rules can be found at the Portland Pattern Repository.
         When the final release plan is created and is displeasing to management it is tempting to just change the estimates for the user stories. You must not do this. The estimates are valid and will be required as-is during the iteration planning meetings. Underestimating now will cause problems later. Instead negotiate an acceptable release plan. Negotiate until the developers, customers, and managers can all agree to the release plan.
         The base philosophy of release planning is that a project may be quantified by four variables; scope, resources, time, and quality. Scope is how much is to be done. Resources are
         Management can only choose 3 of the 4 project variables to dictate, development always gets the remaining variable. Note that lowering quality less than excellent has unforeseen impact on the other 3. In essence there are only 3 variables that you actually want to change. Also let the developers moderate the customers desire to have the project done immediately by hiring too many people at one time.
  • radiohead4us/SQLPractice . . . . 34 matches
         1. Find the names of all branches in the loan relation. (4.2.1 The select Clause)
         2. Find all loan numbers for loans made at the Perryridge branch with loan amounts greater that $1200. (4.2.2 The where Clause)
         4. Find the customer names, loan numbers, and loan amounts for all loans at the Perryridge branch. (4.2.3 The from Clause)
         6. Find the names of all branches that have assets greater than at least one branch located in Brooklyn. (4.2.5 Tuple Variables)
         7. Find the names of all customers whose street address includes the substring 'Main'. (4.2.6 String Operations)
         8. Find the average account balance at each branch. (4.4 Aggregate Functions)
         9. Find the number of depositors for each branch. (4.4 Aggregate Functions)
         10. Find the average balance for all accounts. (4.4 Aggregate Functions)
         11. Find the average balance for each customer who lives in Harrison and has at least three accounts. (4.4 Aggregate Functions)
         12. Find all customers who have both a loan and an account at the bank. (4.6.1 Set Membership)
         13. Find all customers who have both an account and a loan at the Perryridge branch. (4.6.1 Set Membership)
         14. Find the names of all branches that have assets greater than those of at least one branch located in Brooklyn. (4.6.2 Set Comparison)
         15. Find the branch that has the highest average balance. (4.6.2 Set Comparison)
         16. Find all customers who have both an account and a loan at the bank. (4.6.3 Test for Empty Relations)
         17. Find all customers who have an account at all the branches located in Brooklyn. (4.6.3 Test for Empty Relations)
         18. Find all customers who have at most one account at the Perryridge branch. (4.6.4 Test for the Absence of Duplicate Tuples)
         19. Find all customers who have at least two accounts at the Perryridge branch. (4.6.4 Test for the Absence of Duplicate Tuples)
  • Bioinformatics . . . . 33 matches
          * 이름 : Bioinformatics
          * 프로젝트 시작동기와 목적 : 본 연구는 차세대 Bio기술에서 컴퓨터 전공자로서 접근할 수 있는 기술인 Bioinformatics에 대한 기초를 닦는 것을 목적으로 한다.
          * 교재 : “Bioinformatics: A practical guide to the analysis of genes and proteins”, Second Edition edited by Baxevanis & Ouellette
         == NCBI DataModel ==
         이런 취지에서 NCBI는 sequence-related information에 관한 모델을 만들었다. 그리고 이런 모델을 이용해서 Entrez(data retrieval system)나 GenBank DB(DNA seq.를 저장해둔 DB, 두 가지는 유전자 연구의 중요한 data들이다.)와 같이 소프트웨어나 통합 DB시스템을 가능하게 만들었다.
         === GenBank flatfile & format VS NCBI data model===
         GenBank flatfile은 DNA-centered의 보고서이다. DNA중심이라는 것은 어떤 단백질의 유전자 정보를 저장하고 있는 DNA영역이 DNA위의 coding region이라고 불린다. 반대로 대부분의 Protein seq. DB들은 Protein-centered의 관점이며, 이는 단백질과 유전자 사이는 accesion number(유전자를 접근하기위한 DB의 key값) ... 진행중
         National Center for Biotechnology Information 분자 생물 정보를 다루는 국가적인 자료원으로서 설립되었으며, NCBI는 공용 DB를 만들며, 계산에 관한 생물학에 연구를 이끌고 있으며, Genome 자료를 분석하기 위한 software 도구를 개발하고, 생물학 정보를 보급하고 있습니다. - 즉, 인간의 건강과 질병에 영향을 미치는 미세한 과정들을 보다 더 잘 이해하기 위한 모든 활동을 수행
         Established in 1988 as a national resource for molecular biology information, NCBI creates public databases, conducts research in computational biology, develops software tools for analyzing genome data, and disseminates biomedical information - all for the better understanding of molecular processes affecting human health and disease.
         Entrez는 통합 데이터베이스 retrieval 시스템으로서 DNA, Protein, genome mapping, population set, Protein structure, 문헌 검색이 가능하다. Entrez에서 Sequence, 특히 Protein Sequence는 GenBank protein translation, PIR, PDB, RefSeq를 포함한 다양한 DB들에 있는 서열을 검색할 수 있다.
         DNA와 RNA를 구성하는 nucleotide는 인산기(Phophate), 5 탄당(Sugar)인 디옥시로보스(deoxyribose), 4 종류의 질소 염기(Base) 중 하나를 포함하여 3개의 부위(Phophate, Sugar, Base)로 구성된 물질이다. 당은 인산과 염기를 연결시킨다. (용어설명. 중합 : 많은 분자가 결합하여 큰 분자량의 화합물로 되는 변화)
         인산기는 ATP에(근육은 이 ATP를 소비해서 에너지를 낸다. 일종의 에너지원.) 있는 잘 알려진 산성기이다. DNA 분자를 구성할 때에는 당에 직접 연결된 하나의 인산기만 남는다. 5 탄당 디옥시로보스(deoxyribose)는 ATP의 5 탄당 리보스(ribose)와 매우 유사하다. deoxyribose는 ribose의 2번 탄소에 있는 -OH 기 대신 -H기를 가지고 있다. deoxyribose의 5개 탄소에는 1번에서 5번까지 숫자가 붙여진다.
         == DNA Republication ==
         왓슨과 크릭은 DNA의 구조, 특히 쌍을 이룬 nucleotide의 상보성이 유전물질의 정확한 복제기작의 핵심임을 알았다. 그들은 "우리가 가정한 염기쌍 형성원리가 유전 물질의 복기작을 제시하고 있음을 느낄 수 이었다."라고 말하였다. 그들은 이중 나선의 두 가닥이 분리되고 그 각각의 가닥을 주형 (template)으로 하여 새로운 상보적 사슬이 형성된다는 단순한 복제모델을 만들었다.
         == DNA의 염색체내에서의 편성(Organization) ==
         '''Bioinformatics를 공부하려는 사람들을 위해'''
         절대 컴퓨터 지식만으로 승부걸려고 하지 말아야 할 것 입니다. 컴퓨터 지식만으로는 정말 기술자 수준 밖에 되지 못합니다. 그쪽 지식이 필요하다고 해도 이건 기술적 지식이라기보다는 과학, 즉, 전산학(Computer Science)의 지식이 필요합니다. 그리고 Bioinformatics를 제대로 '''공부'''하려면 컴퓨터 분야를 빼고도 '''최소한''' 생물학 개론, 분자 생물학, 생화학, 유전학, 통계학 개론, 확률론, 다변량 통계학, 미적분을 알아야 합니다. 이런 것을 모르고 뛰어들게 되면 가장자리만 맴돌게 됩니다. 국내에서 Bioinformatics를 하려는 대부분의 전산학과 교수님들이 이 부류에 속한다는 점이 서글픈 사실이죠.
         제대로 된 안내를 받으려면, 원세연 박사님의 사이트를 추천합니다. http://www.bioinformatics.pe.kr/ -- 김창준
  • RandomWalk2/조현태 . . . . 33 matches
          string moveRotate;
          cout << "input move rotate\n>>";
          cin >> moveRotate;
          for (register int i = 0; i < strlen(moveRotate.c_str()); ++i)
          myPointX += ADD_X[moveRotate[i] - '0'];
          myPointY += ADD_Y[moveRotate[i] - '0'];
          string moveRotate[NUMBER_PLAYER];
          cout << "input move rotate\n>>";
          cin >> moveRotate[i];
          if (i < strlen(moveRotate[j].c_str()))
          myPointX[j] += ADD_X[moveRotate[j][i] - '0'];
          myPointY[j] += ADD_Y[moveRotate[j][i] - '0'];
          string moveRotate[NUMBER_PLAYER];
          cout << "input move rotate\n>>";
          cin >> moveRotate[i];
          if (i < strlen(moveRotate[j].c_str()))
          myPointX[j] += ADD_X[moveRotate[j][i] - '0'];
          myPointY[j] += ADD_Y[moveRotate[j][i] - '0'];
          string moveRotate[NUMBER_PLAYER];
          cout << "input move rotate\n>>";
  • UDK/2012년스터디/소스 . . . . 33 matches
         class ESGameInfo extends UTDeathmatch;
         // definition of member variable, assigning value is done at defaultproperties function
         // Event occured when character logged in(or creation). There are existing function PreLogin, PostLogin functions.
         event Tick(float deltaTime)
          // called every update time
         simulated function bool CalcCamera( float fDeltaTime, out vector out_CamLoc, out rotator out_CamRot, out float out_FOV )
          local vector CamStart, HitLocation, HitNormal, CamDirX, CamDirY, CamDirZ, CurrentCamOffset;
          local float DesiredCameraZOffset;
          CamStart = self.Location;
          DesiredCameraZOffset = (Health > 0) ? - 1.2 * GetCollisionHeight() + Mesh.Translation.Z : 0.f;
          CameraZOffset = (fDeltaTime < 0.2) ? - DesiredCameraZOffset * 5 * fDeltaTime + (1 - 5*fDeltaTime) * CameraZOffset : DesiredCameraZOffset;
          if ( (Health <= 0) || bFeigningDeath ) {
          CurrentCameraScale = FMin(CameraScale, CurrentCameraScale + 5 * FMax(CameraScale - CurrentCameraScale, 0.3)*fDeltaTime);
          CurrentCameraScale = FMax(CameraScale, CurrentCameraScale - 5 * FMax(CameraScale - CurrentCameraScale, 0.3)*fDeltaTime);
          if (Trace(HitLocation, HitNormal, out_CamLoc, CamStart, false, vect(12,12,12)) != None) {
          out_CamLoc = HitLocation;
         class SeqAct_ConcatenateStrings extends SequenceAction;
         var() bool ConcatenateWithSpace;
         event Activated()
          StringResult = (ConcatenateWithSpace) ? ValueA@ValueB : ValueA$ValueB;
  • 데블스캠프2005/RUR-PLE/Harvest/Refactoring . . . . 33 matches
         repeat(move_and_pick,6)
         repeat(move_and_pick,5)
         repeat(move_and_pick,5)
         repeat(move_and_pick,4)
         repeat(move_and_pick,4)
         repeat(move_and_pick,3)
         repeat(move_and_pick,3)
         repeat(move_and_pick,2)
         repeat(move_and_pick,2)
         repeat(move_and_pick,1)
         repeat(move_and_pick,1)
          repeat(turn_left, 3)
          repeat(turn_left,3)
         repeat(harvest,3)
          repeat(turn_left, 3)
          repeat(pickup, 5)
          repeat(pickup, 5)
          repeat(eat,5)
          repeat(eat,5)
         def eat():
  • BusSimulation . . . . 32 matches
         = BusSimulation =
          * Data Input - 시물레이션 데이터는 busData.txt 와 busStationData.txt 두 가지 로부터 받아들인다. 각 데이터의 값은 단계가 올라감에 따라서 추가되어간다.
          * busData.txt
          * busStationData.txt(시간_초)
          * busData.txt
          * busStationData.txt(시간_초, 정류장 너비, 정류장에서 대기하는 시간-처음 출발 할때는 정류장에서는 대기안함)
          * busData.txt
          * busStationData.txt(시간_초, 정류장 너비, 정류장에서 대기하는 시간-처음 출발 할때는 정류장에서는 대기안함, 출발하는 간격(분))
          * busData.txt
          * busStationData.txt(시간_초, 정류장 너비, 정류장에서 대기하는 시간-처음 출발 할때는 정류장에서는 대기안함, 출발하는 간격(분), 정류장에서 사람 수 증가 율(명/분), 버스에 탈 수 있는 사람 수 ,정류장에서 내리는 사람 수)
          * 종점에서는 모든 승객이 내린다. 종점에서는 타는 승객이 없다. (주의 - 아래 InputData에서 원하는 시간을 5400(1시간30분)이 아니라 9600(2시간40분)으로 설정함)
          * busData.txt
          * busStationData.txt(시간_초, 정류장 너비, 정류장에서 대기하는 시간-처음 출발 할때는 정류장에서는 대기안함, 출발하는 간격(분), 정류장에서 사람 수 증가 율(명/분), 버스에 탈 수 있는 사람 수 ,정류장에서 내리는 사람 수)
          * busData.txt
          * busStationData.txt(시간_초, 정류장 너비, 정류장에서 대기하는 시간-처음 출발 할때는 정류장에서는 대기안함, 출발하는 간격(분), 정류장에서 사람 수 증가 율(명/분), 버스에 탈 수 있는 사람 수 ,정류장에서 내리는 사람 수, 한사람이 버스에 타는데 걸리는 시간)
         || ["BusSimulation/상협"]["BusSimulation/상협(STL)"] ["BusSimulation/상협(STL)2"] || 상협 ||
         || ["BusSimulation/영동"] || 영동 ||
         || ["BusSimulation/태훈zyint"] || 태훈 ||
         || ["BusSimulation/영창"] || 영창 ||
         || ["BusSimulation/조현태"] || [조현태] ||
  • Doublets/황재선 . . . . 32 matches
          * Graph 이용. 시작 단어에서 끝 단어의 path 검색은 dfs로 구현.
         import java.util.Iterator;
         public class DoubletsSimulator {
          private List<String> wordList;
          private Stack<String> solutionStack;
          private Stack<String> stack;
          private int minWordCount;
          private int start;
          private int end;
          private int[][] doublet;
          public DoubletsSimulator() {
          catch(Exception e) {
          public void makeDoubletMatrix() {
          String destination = wordList.get(to - 1);
          if (isDoublet(source, destination)) {
          String destination = wordList.get(end - 1);
          if (stack.peek().equals(destination)) {
          Iterator it = solutionStack.iterator();
          public static void main(String[] args) {
          DoubletsSimulator simulator = new DoubletsSimulator();
  • FromDuskTillDawn/조현태 . . . . 32 matches
         const char* Parser(const char* readData)
          char startStationName[BUFFER_SIZE];
          char endStationName[BUFFER_SIZE];
          sscanf(readData, "%d", &sizeOfTimeTable);
          readData = strchr(readData, '\n') + 1;
          sscanf(readData, "%s %s %d %d", startStationName, endStationName, &startTime, &delayTime);
          STown* thisStation = SuchOrAddTown(startStationName);
          thisStation->nextTown.push_back(SuchOrAddTown(endStationName));
          thisStation->startTime.push_back(startTime % 24);
          thisStation->timeDelay.push_back(delayTime);
          readData = strchr(readData, '\n') + 1;
          sscanf(readData, "%s %s", startStationName, endStationName);
          g_suchStartTown = startStationName;
          g_suchEndTown = endStationName;
          readData = strchr(readData, '\n');
          if (NULL != readData)
          return readData + 1;
          const char* readData = DEBUG_READ;
          sscanf(readData, "%d", &numberOfTestCase);
          readData = strchr(readData, '\n') + 1;
  • 레밍즈프로젝트/프로토타입/파일스트림 . . . . 32 matches
         '''Data Members'''
         || m_hFile || Usually contains the operating-system file handle. ||
         || CFile || Constructs a CFile object from a path or file handle. ||
         || Duplicate || Constructs a duplicate object based on this file. ||
         || Read || Reads (unbuffered) data from a file at the current file position. ||
         || ReadHuge || Can read more than 64K of (unbuffered) data from a file at the current file position. Obsolete in 32-bit programming. See Read. ||
         || Write || Writes (unbuffered) data in a file to the current file position. ||
         || WriteHuge || Can write more than 64K of (unbuffered) data in a file to the current file position. Obsolete in 32-bit programming. See Write. ||
         || Flush || Flushes any data yet to be written. ||
         || SeekToBegin || Positions the current file pointer at the beginning of the file. ||
         || SeekToEnd || Positions the current file pointer at the end of the file. ||
         '''Status'''
         || GetStatus || Retrieves the status of this open file. ||
         || GetFilePath || Retrieves the full file path of the selected file. ||
         || SetFilePath || Sets the full file path of the selected file. ||
         '''Static'''
         || Rename || Renames the specified file (static function). ||
         || Remove || Deletes the specified file (static function). ||
         || GetStatus || Retrieves the status of the specified file (static, virtual function). ||
         || SetStatus || Sets the status of the specified file (static, virtual function). ||
  • 새싹교실/2012/세싹 . . . . 32 matches
          * 네이트온 : pkccr@nate.com
          * 자세한 해결 방법입니다. 소켓을 생성하고나서 바로 setsockopt(mySocket, SOL_SOCKET, SO_REUSEADDR, &anyIntegerVariableThatContainsNonZero, sizeof(anyIntegerVariableThatContainsNonZero)); 함수를 호출하면 이 소켓의 생명이 다하는 순간 해당 포트에 자리가 나게 됩니다. - [황현]
          - 자세한 내용은 링크를 참조. http://www.joinc.co.kr/modules/moniwiki/wiki.php/Site/Thread/Beginning/WhatThread
          U16 AttributeOffset;
          U32 BytesAllocated;
          U16 NextAttributeNumber;
         // Standard Attribute
          AttributeStandardInformation = 0x10,
          AttributeAttributeList = 0x20,
          AttributeFileName = 0x30,
          AttributeObjectId = 0x40,
          AttributeSecurityDesciptor = 0x50,
          AttributeVolumeName = 0x60,
          AttributeVolumeInformation = 0x70,
          AttributeData = 0x80,
          AttributeIndexRoot = 0x90,
          AttributeIndexAllocation = 0xA0,
          AttributeBitmap = 0xB0,
          AttributeReparsePoint = 0xC0,
          AttributeEAInformation = 0xD0,
  • 5인용C++스터디/소켓프로그래밍 . . . . 31 matches
          ((CServerApp*)AfxGetApp())->ReceiveData();
          void SendData(CString& strData);
          void ReceiveData();
          m_pServer->Create(7000);
         void CServerApp::SendData(CString& strData)
          m_pChild->Send(LPCSTR(strData), strData.GetLength()+1);
          strText = "[" + strText + "]" + strData;
         void CServerApp::ReceiveData()
         에디트 컨트롤ID : IDC_DATA
          CString strData;
          GetDlgItemText(IDC_DATA, strData);
          ((CServerApp*)AfxGetApp())->SendData(strData);
          SetDlgItemText(IDC_DATA,"");
          ((CClientApp*)AfxGetApp())->ReceiveData();
          void SendData(CString& strData);
          void ReceiveData();
          m_pClient->Create();
         void CClientApp::SendData(CString& strData)
          m_pClient->Send(LPCSTR(strData), strData.GetLength()+1);
          strText = "[" + strText + "]" + strData;
  • Boost/SmartPointer . . . . 31 matches
         typedef Vertexs::iterator VertexsItr;
         // See http://www.boost.org for most recent version including documentation.
         // The original code for this example appeared in the shared_ptr documentation.
         // Ray Gallimore pointed out that foo_set was missing a Compare template
         // argument, so would not work as intended. At that point the code was
         // The application will produce a series of
         // objects of type Foo which later must be
         // and by ordering relationship (std::set).
          bool operator()( const FooPtr & a, const FooPtr & b )
          void operator()( const FooPtr & a )
         // This example demonstrates the handle/body idiom (also called pimpl and
         // several other names). It separates the interface (in this header file)
         // from the implementation (in shared_ptr_example2.cpp).
         // Note that even though example::implementation is an incomplete type in
         // some translation units using this header, shared_ptr< implementation >
         // shared_ptr_example2.cpp translation unit where functions requiring a
         // complete type are actually instantiated.
          example & operator=( const example & );
          private:
          class implementation;
  • BoostLibrary/SmartPointer . . . . 31 matches
         typedef Vertexs::iterator VertexsItr;
         // See http://www.boost.org for most recent version including documentation.
         // The original code for this example appeared in the shared_ptr documentation.
         // Ray Gallimore pointed out that foo_set was missing a Compare template
         // argument, so would not work as intended. At that point the code was
         // The application will produce a series of
         // objects of type Foo which later must be
         // and by ordering relationship (std::set).
          bool operator()( const FooPtr & a, const FooPtr & b )
          void operator()( const FooPtr & a )
         // This example demonstrates the handle/body idiom (also called pimpl and
         // several other names). It separates the interface (in this header file)
         // from the implementation (in shared_ptr_example2.cpp).
         // Note that even though example::implementation is an incomplete type in
         // some translation units using this header, shared_ptr< implementation >
         // shared_ptr_example2.cpp translation unit where functions requiring a
         // complete type are actually instantiated.
          example & operator=( const example & );
          private:
          class implementation;
  • CodeRace/20060105/민경선호재선 . . . . 31 matches
          private BufferedReader br;
          private Hashtable<String, Integer> map;
          } catch (FileNotFoundException e) {
          } catch (IOException e) {
          public static void main(String[] args) {
          ArrayList<Data> list = alice.sort();
          private void print(ArrayList<Data> list) {
          private ArrayList<Data> sort() {
          Iterator it = set.iterator();
          ArrayList<Data> list = new ArrayList<Data>();
          list.add(new Data(key2, count));
          Collections.sort(list, new DataComparator());
         class Data {
          private String name;
          private int count;
          public Data(String name, int count) {
         class DataComparator implements Comparator<Data> {
          public int compare(Data data1, Data data2) {
          return data1.getName().compareTo(data2.getName());
  • DNS와BIND . . . . 31 matches
         192.249.249.3 terminator.movie.edu terminator bigt
         robocop terminator diehard
         movie.edu. IN SOA terminator.movie.edu. al.robocop.movie.edu. (
          86400 ) ; Negative Cache TTL
          terminator.movie.edu => 주 마스터 네임 서버의 이름
         movie.edu. IN SOA terminator.movie.edu. al.robocop.movie.edu. (
          86400 ) ; Negative Cache TTL
         movie.edu. IN NS terminator.movie.edu.
         terminator.movie.edu. IN A 192.249.249.3
         bigt.movie.edu. IN CNAME terminator.movie.edu.
         249.249.192.in-addr.arpa. IN SOA terminator.movie.edu. al.robocop.movie.edu. (
          86400 ) ; Negative Cache TTL
         249.249.192.in-addr.arpa. IN NS terminator.movie.edu.
         3.249.249.192.in-addr.arpa. IN PTR terminator.movie.edu.
         253.253.192.in-addr.arpa. IN SOA terminator.movie.edu. al.robocop.movie.edu. (
          86400 ) ; Negative Cache TTL
         253.253.192.in-addr.arpa. IN NS terminator.movie.edu.
         @ IN SOA terminator.movie.edu. al.robocop.movie.edu. (
          86400 ) ; Negative Cache TTL
          IN NS terminator.movie.edu.
  • DataCommunicationSummaryProject/Chapter8 . . . . 31 matches
          * 에어 링크가 동작하기 위해서는 두가지 수신기가 필요한데 사용자에 의해서 작동하는게 MSU(핸드폰) 운영자에 의해서 동작하는게 BTS(Base Transceiver Station) 이다.
          * 핸드폰을 말한다. (MS mobile station)
         == Base Stations ==
          * Base Transceiver Stations (BTS)
         == Station Controllers ==
          * 디지털 핸드폰의 첫번째 단계는 BTS를 BSC(Base Station Controller)에 연결하는 것이다.
          * 여러개의 Base Station이 BSC를 같이 사용한다.
         === The Home Location Register(HLR) ===
         === The Visitors' Location Register(VLR) ===
          * 그래서 많은 네트워크들은 현재 MAP(Mobile Application Part)라고, HLR과 VLR을 오직 한번만 찾아봐서 가능하면 지역안에서 연결되게 하는 새로운 시스템을 구현하고 있다.
         === The Authentication Center(AuC) ===
          * 2G 핸드폰은 핸드폰만 검증 하지만 3G 폰과 PMR(Private Mobile Radio)는 네트워크도 검증한다.
         == GateWays ==
          * The Gateway Mobile Switching Center (GMSC)는 스위칭 체계의 최 상위에 있다.
         = Data Infrastructure =
          * GPRS 네트워크에서 가장 비싼 부분이 Packet Control Unit(PCU)이다. base station은 패킷 데이터를 위해서 이게 있어야 한다.
          * Serving GPRS Support Node (SGSN)은 data infrastructure 에서 MSC와 비슷한 것이다.
         == The Gateway Node ==
          * Gateway GPRS Support Node(GGSN)는 GTP 데이터 패킷을 TCP/IP로 교환 하거나 그 역으로 교환할 수 있다. 인터넷에 대한 인터페이스가 되는 것이다.
          * ATM에 대한 연결은 지원하지 않는다.
  • LawOfDemeter . . . . 31 matches
         다음은 http://www.pragmaticprogrammer.com/ppllc/papers/1998_05.html 중 'Law Of Demeter' 에 대한 글.
         So we've decided to expose as little state as we need to in order to accomplish our goals. Great! Now
         nilly? Well, you could, but that would be a bad idea, according to the Law of Demeter. The Law of Demeter
         What that means is that the more objects you talk to, the more you run the risk of getting broken when one
         any parameters that were passed in to the method.
         any objects it created.
         Specifically missing from this list is methods belonging to objects that were returned from some other
         This is what we are trying to prevent. (We also have an example of Asking instead of Telling in foo.getKey
         Now the caller is only depending on the fact that it can add a foo to thingy, which sounds high level
         enough to have been a responsibility, not too dependent on implementation.
         The disadvantage, of course, is that you end up writing many small wrapper methods that do very little but
         delegate container traversal and such. The cost tradeoff is between that inefficiency and higher class
         The higher the degree of coupling between classes, the higher the odds that any change you make will break
         something somewhere else. This tends to create fragile, brittle code.
         Depending on your application, the development and maintenance costs of high class coupling may easily
         Command/Query Separation
         of maintaining these as separate methods. Why bother?
         It helps to maintain the "Tell, Don't Ask" principle if you think in terms of commands that perform a very
         tossing data out, you probably aren't thinking much in the way of invariants).
         If you can assume that evaluation of a query is free of any side effects, then you can:
  • 데블스캠프2006/화요일/tar/김준석 . . . . 31 matches
          _finddata_t data_dir;
          if(!(-1==(h =_findfirst("tar\*",&data_dir))))
          if((data_dir.attrib & _A_SUBDIR) != 0) continue;
          sprintf(fileName, "..\tar\%s", data_dir.name);
          fwrite(data_dir.name, 270, 1, write_f);
          fprintf(write_f,"%d ",data_dir.size);
          }while(!(_findnext(h,&data_dir)));
          _finddata_t data_dir;
          if(!(-1==(h =_findfirst(argv[i],&data_dir))))
          if((data_dir.attrib & _A_SUBDIR) != 0) check_dir(argv[i]);
          _finddata_t data_dir;
          char path[512];
          strcat(dir_ex, "\*.*");
          if(!(-1==(find_bool =_findfirst(dir_ex, &data_dir))))
          sprintf(path, "%s\%s", dir , data_dir.name);
          if(!strcmp(data_dir.name, ".") || !strcmp(data_dir.name, "..")) continue;
          else if(data_dir.attrib & _A_SUBDIR) check_dir(path);
          else tar(path);
          } while(!(_findnext(find_bool, &data_dir)));
          char path[512];
  • 스터디그룹패턴언어 . . . . 31 matches
         기념비적인 책, ''A Pattern Language'' 와 ''A Timeless Way Of Building''에서 크리스토퍼 알렉산더와 그의 동료들이 패턴언어에 대한 아이디어를 세상에 소개했다. 패턴언어는 어떤 주제에 대해 포괄적인 방안을 제공하는, 중요한 관련 아이디어의 실질적인 네트워크이다. 그러나 패턴언어가 포괄적이긴 하지만, 전문가를 위해 작성되지 않았다. 패턴은 개개인의 독특한 방식으로 양질의 성과를 얻을 수 있도록 힘을 줌으로서 전문적 해법을 비전문가에게 전해준다.
          * [지식샘패턴](KnowledgeHydrantPattern)
          * [통찰력풀패턴](PoolOfInsightPattern)
          * [안전한장소패턴](SafePlacePattern)
          * [지속적인에너지패턴](EnduringEnergyPattern)
          * [마음이맞는협력자패턴](KinderedCollaboratorPattern)
         == Atmosphere ==
         Establish a home for the study group that is centrally located, comfortable, aesthetically pleasing, and conducive to dialogue.
          * [공동장소패턴](CommonGroundPattern)
          * PublicLivingRoomPattern
          * IntimateCirclePattern
          * VirtualSpacePattern
          * [열정적인리더패턴] (EnthusiasticLeaderPattern)
          * [중재자패턴] (MotivatedModeratorPattern)
          * ActiveParticipantPattern
          * PreparedParticipantPattern
          * DistinguishedParticipantPattern
         Follow customs that will re-enforce the spirit of the group, piquing participant's interest in dialogues, accommodating different learning levels, making the study of literature easier, recording group experiences, and drawing people closer together.
          * OpeningQuestionPattern
          * [순차적학습패턴] SequentialStudyPattern
  • 2002년도ACM문제샘플풀이/문제D . . . . 30 matches
         struct InputData
         int numberOfData;
         InputData inputData[10];
         bool outputData[10];
          cin >> numberOfData;
          for(int i = 0 ; i < numberOfData ; i++)
          cin >> inputData[i].n;
          cin >> inputData[i].x;
          for(int j = 0 ; j < inputData[i].n; j++)
          cin >> inputData[i].weight[j];
          for(int i = 0 ; i < numberOfData ; i++)
          sort(&inputData[i].weight[0],&inputData[i].weight[inputData[i].n],greater<int>());
          int team1 = inputData[i].weight[0], team2 = inputData[i].weight[1];
          for(int j=2;j < inputData[i].n;j++)
          team1 += inputData[i].weight[j];
          team2 += inputData[i].weight[j];
          if(abs(team1 - team2) <= inputData[i].x)
          outputData[i] = true;
          outputData[i] = false;
          for(int i = 0 ; i < numberOfData ; i++)
  • ACM_ICPC/2013년스터디 . . . . 30 matches
          * queue - [http://211.228.163.31/30stair/prime_path/prime_path.php?pname=prime_path 소수 길]
          * dynamic programming - [http://211.228.163.31/30stair/eating_together/eating_together.php?pname=eating_together 끼리끼리]
          * greedy method - [http://211.228.163.31/30stair/quick_change/quick_change.php?pname=quick_change 거스름돈], [http://211.228.163.31/30stair/germination/germination.php?pname=germination 발아]
          * queue - [http://211.228.163.31/30stair/catch_cow/catch_cow.php?pname=catch_cow 도망 간 소를 잡아라]
          * [http://211.228.163.31/30stair/inflate/inflate.php?pname=inflate inflate]
          * inflate 모르겠다 알려줘
          * catch_cow
          * Consonants, Pogo, The Great Wall
          * Shortest Path : DAG(directed acyclic graphs)로 바꾼 후 Source에서부터 dist(v) = min{dist(v) + l(u,v)}사용
          * 최대 path의 길이를 구한 후에 뒤로 돌아가면서 숫자가 줄어드는 녀석들을 스택에 담으면 path도 구할 수 있다.
          * 참고문제 prime_path [http://211.229.66.5/30stair/prime_path/prime_path.php?pname=prime_path]
          * 2012 ICPC대전 문제 풀기 : [https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&category=554 링크]
          * C - Critical 3-path
          * 위상정렬, critical path에 대해 공부 및 코딩 - 코드 및 해설은 Fundamental of DataStructure를 참고하자.
  • OperatingSystemClass/Exam2002_2 . . . . 30 matches
          private Mutex first, second;
          Thread.sleep(( (int)(3*Math.random()) )*1000);
          catch (InterruptedException e) { }
          private Mutex first, second;
          Thread.sleep(( (int)(3*Math.random()) )*1000);
          catch (InterruptedException e) {}
          public static void main (String[] args) {
          * If we add associative registers and 75 percent of all page-table references are found in the associative regsters, what is the effective memory time? (Assume that finding a page-table entry in the associative registers takes zero time, if the entry is there)
         6. Consider a file currently consisting of 100 blocks. Assume that the file control block(and the index block, in the case of indexed allocation) is already in memory, Calculate how many disk I/O operations are required for contiguous, linked and indexed (single-level) allocation strategies, if for one block, the following conditions hold. In the contiguous allocation case, assume that there is no room to grow in the beginning, but there is room to grow in the end. Assume that the block information to be added in stored in memory.
          * The block is added at the beginning.
          * The block is added at the end.
         7. Suppose that a disk drive has 5000 cylinders, numbered 0 to 4999. The drive is currently serving a request at cylinder 143, and the previous requrest was at cylinder 125. The queue of pending requests, in FIFO order, is
         Starting from the current head position, what is the total distance (in cylinders) that the disk arm moves to satisfy all the pending requrests, for each of the following disk scheduling algorithms?
  • 권영기/web crawler . . . . 30 matches
         Type "help", "copyright", "credits" or "license" for more information.
          urllib.urlretrieve(url[, filename[, reporthook[, data]]])
         def create_dir(folder):
          if os.path.isdir(mdir) is False :
          create_dir(t)
          * os.chdir(path) - Change the current working directory to path.
          * os.path.isdir(path) - Return True if path is an existing directory.
          * os.mkdir(path[, mode]) - Create a directory named path with numeric mode mode. If the directory already exists, OSError is raised.
          http://docs.python.org/library/os.path.html#module-os.path
         currentpath = os.getcwd()
         path = os.getcwd() + '/luckyzzang'
         if os.path.isdir(path) is False :
          os.mkdir(path, 0755)
         os.chdir(path)
         currentpath = os.getcwd()
          path = currentpath + '/' + str(i)
          if os.path.isdir(path) is False :
          os.mkdir(path, 0755)
          os.chdir(path)
          * Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "pixmap"
  • 2002년도ACM문제샘플풀이/문제C . . . . 29 matches
         struct InputData
         InputData* inputData;
         bool *outputData;
         int numberOfData;
          cin >> numberOfData;
          inputData = new InputData[numberOfData];
          outputData = new bool[numberOfData];
          for(int i = 0;i < numberOfData;i++)
          cin >> inputData[i].s >> inputData[i].f >> inputData[i].k;
          for(int i =0;i < numberOfData;i++) {
          count = inputData[i].f - inputData[i].s - 1;
          if(inputData[i].s % 2 == 0)
          if( ((count / inputData[i].k) % 2 == 1 && (count % inputData[i].k) == 0)
          || ((count / inputData[i].k) % 2 == 0 && (count % inputData[i].k) != 0))
          outputData[i] = true;
          outputData[i] = false;
          for(int i = 0;i < numberOfData;i++)
          cout << outputData[i] << "\n";
          delete [] inputData;
          delete [] outputData;
  • 2010php/방명록만들기 . . . . 29 matches
         $sql = "CREATE TABLE guest
          status integer,
          date date)";
          die('Can not create table');
         <input type = "radio" name = "status" value = "1" size = "40" checked><img src="http://cfile234.uf.daum.net/image/152622034C88B1DC682870">
         <input type = "radio" name = "status" value = "2" size = "40"><img src="http://cfile223.uf.daum.net/image/162622034C88B1DC696BEC">
         <input type = "radio" name = "status" value = "3" size = "40"><img src="http://cfile206.uf.daum.net/image/142622034C88B1DC6AA52F">
         <input type = "radio" name = "status" value = "4" size = "40"><img src="http://cfile232.uf.daum.net/image/152622034C88B1DC6BFF47">
         <input type = "radio" name = "status" value = "5" size = "40"><img src="http://cfile234.uf.daum.net/image/162622034C88B1DC6C0395">
         $date=date('Y-m-d', $unix_ts);
         $posted_status = $_POST['status'];
         $query = "insert into guest (name, pw, status, contents, date) values ('$posted_name', '$posted_pw', '$posted_status', '$posted_context', '$date')";
         header("location:index.php");
          echo("<br>기본정보 : $name $no $pw $status $date <br>");
          include "print_status.php";
         $status=mysql_result($result,$i,4);
         $date=mysql_result($result,$i,5);
         == 오늘의 상태 (print_status.php) ==
         if ($status == 1) {
         if ($status == 2) {
  • HolubOnPatterns/밑줄긋기 . . . . 29 matches
          * 이러한 착각은 흔히 C를 배우고 C++을 배울 때, '객체'가 아닌 문법 클래스'를 쉽게 설명하려고 "클래스는 structure(data) + method(to do) 이다." 라는 요상한 설명을 접하게 되면 하게 되는 것 같습니다. 처음에 이런 설명을 접하게 되면 나중에는 생각을 바꾸기 어려워지죠 (아니 귀찮아지는 건가...) -_-;; - [박성현]
          * 켄 아놀드는 다음과 같이 말한다. "정보가 아닌 도움을 요청하라(Ask for help, not for information)."
          * 셀룰러 오토마타(Cellular automata)의 프로그램 구현은 OO 시스템의 훌륭한 예가 된다. 셀룰러 오토마타 프로그램은 복잡한 문제를 정확히 객체 지향적인 방식으로 해결한다.
          * 이 말이 메소드가 값을 반화하면 안 된다거나 'get'혹은 'set'기능이 언제나 부적절하다는 것은 아니다. 객체는 때때로 시스템 전반을 흘러다니며 작업을 수행하도록 도와주어야 한다. 하지만 많은 경우 get/set 메소드는 private 필드를 접근하는 용도로만 부적절하게 사용되며, 이런 사용이 많은 문제를 발생시킨다.
          * 예를 들면 상수가 아닌 모든 필드는 항상 private이어야 한다. 정말? 예외는 없다. 절대로!
          * 깨지기 쉬운 기반 클래스 문제를 프레임워크 기반 프로그래밍에 대한 언급 없이 마칠 수는 없다. MFC(Microsoft's Foundation Class) 라이브러리와 같은 프레임워크는 클래스 라이브러리를 만드는 인기있는 방법이 되었다.
         ==== Template method와 Factory Method 패턴 ====
          * Factory Method 패턴은 좋은 선택이 아니었다. 이번 장의 뒤에서 살펴볼 Strategy 패턴 등은 Factory Method 패턴의 멋진 대안이 된다.
         public static class EmployeeFactory
         { private Factory(){/*비어있다/}
          public static Employee create()
          * peon 이런거 없이 그냥 내부 클래스를 Employee()를 implement시킨걸로 반환시켜버리는군. 이름조차 없으니 private Peon으로 만든것보다 심한데? 정말 상상도 못할 클래스임 - [김준석]
          * 모든 것을 static으로 하는 전략은 단순하고 멋지지만 많은 경우 사용할 수 없다.
          * Gara Static Hell o! - [김준석]
         { private static Singleton instance = null;
          public static instance()
          * 그리고 좀비가 너의 뇌를 먹겠지(Zombie ate your brain) - [김준석]
          * Abstract Factory 패턴의 주요 장점은 격리(isolation)이며, 인터페이스를 통해 객체 생성을 가능 하도록 해준다.
          * 자바가 인터페이스에서 static 메소드를 지원했다면 좋았겟지만 현재는 그렇지 않다.
         ==== Command 패턴과 Strategy 패턴 ====
  • KDPProject . . . . 29 matches
          * ["디자인패턴"] - OpeningStatement. 처음 DesignPatterns 에 대해 공부하기 전에 숙지해봅시다. 순서는 ["LearningGuideToDesignPatterns"]
         ["PatternCatalog"] - ["PatternCatalog"] 에서는 GoF 책 정리중.
          *["DPSCChapter3"] - Creational Patterns - Abstract factory 진행.
          *["DPSCChapter4"] - Structural Patterns - catalog 까지 진행.
          *["DPSCChapter5"] - Behavioral Patterns - 진행된것 아직 없음.
          *["FundamentalDesignPattern"] - 기초가 되는 패턴들.
          *["HowToStudyDesignPatterns"] - DP 를 공부하기 전에 생각해볼 수 있는 이야기들.
          * Pattern 관련 홈페이지
          * http://c2.com/cgi/wiki?PortlandPatternRepository - Portland Pattern Repository. 유명한 Wiki page.
          * http://www.patterndepot.com/put/8/JavaPatterns.htm - Java Design Pattern 원서
          * http://www.cs.hut.fi/~kny/patterns/ - MFC에서의 Design Pattern
          * http://pocom.konkuk.ac.kr/design_patterns/ - JDP 한글 요약 사이트. 추천.~
          * ftp://ftp.aw.com/cp/Gamma/dp.zip.gz - Design Pattern GoF.
          * http://www.antipatterns.com - anti pattern 홈페이지
          * http://www.artima.com/javaseminars/modules/DesPatterns/
          * http://www.rational.com/ - 원조들의 모임 Rational 시리즈
  • Linux/MakingLinuxDaemon . . . . 29 matches
         mysql 1418 1417 1303 1303 TS 23 Oct15 ? 00:06:23 /usr/sbin/mysqld --basedir=/usr --datad
         daemon 1497 1 1497 1497 TS 23 Oct15 ? 00:00:00 /usr/sbin/atd
         www-data 5724 5722 5722 5722 TS 23 Oct16 ? 00:00:00 /usr/sbin/fcgi-pm -k start -DSSL
         www-data 11061 5722 5722 5722 TS 24 22:30 ? 00:00:01 /usr/sbin/apache2 -k start -DSSL
         www-data 11123 5722 5722 5722 TS 22 22:54 ? 00:00:04 /usr/sbin/apache2 -k start -DSSL
         www-data 11184 5722 5722 5722 TS 23 23:05 ? 00:00:02 /usr/sbin/apache2 -k start -DSSL
         www-data 11360 5722 5722 5722 TS 23 23:30 ? 00:00:00 /usr/sbin/apache2 -k start -DSSL
         www-data 11392 5722 5722 5722 TS 20 23:32 ? 00:00:03 /usr/sbin/apache2 -k start -DSSL
         www-data 11393 5722 5722 5722 TS 23 23:32 ? 00:00:00 /usr/sbin/apache2 -k start -DSSL
         www-data 11394 5722 5722 5722 TS 23 23:32 ? 00:00:00 /usr/sbin/apache2 -k start -DSSL
         www-data 11395 5722 5722 5722 TS 24 23:32 ? 00:00:00 /usr/sbin/apache2 -k start -DSSL
         www-data 11396 5722 5722 5722 TS 23 23:32 ? 00:00:00 /usr/sbin/apache2 -k start -DSSL
         www-data 11397 5722 5722 5722 TS 23 23:32 ? 00:00:00 /usr/sbin/apache2 -k start -DSSL
         #include <sys/stat.h>
         mysql 1418 1417 1303 1303 TS 24 Oct15 ? 00:06:23 /usr/sbin/mysqld --basedir=/usr --datad
         daemon 1497 1 1497 1497 TS 23 Oct15 ? 00:00:00 /usr/sbin/atd
         www-data 5724 5722 5722 5722 TS 23 Oct16 ? 00:00:00 /usr/sbin/fcgi-pm -k start -DSSL
         www-data 11061 5722 5722 5722 TS 23 22:30 ? 00:00:01 /usr/sbin/apache2 -k start -DSSL
         www-data 11123 5722 5722 5722 TS 23 22:54 ? 00:00:05 /usr/sbin/apache2 -k start -DSSL
         www-data 11184 5722 5722 5722 TS 23 23:05 ? 00:00:02 /usr/sbin/apache2 -k start -DSSL
  • NSIS/예제2 . . . . 29 matches
         http://zeropage.org/~reset/zb/data/nsis_1.gif
          ; Set output path to the installation directory.
          SetOutPath $INSTDIR
          ; 인스톨된 path를 레지스트리에 저장
          CreateDirectory "$SMPROGRAMS\Example2"
          CreateShortCut "$SMPROGRAMS\Example2\Uninstall.lnk" "$INSTDIR\uninstall.exe" "" "$INSTDIR\uninstall.exe" 0
          CreateShortCut "$SMPROGRAMS\Example2\Example2 (notepad).lnk" "$INSTDIR\notepad.exe" "" "$INSTDIR\notepad.exe" 0
         http://zeropage.org/~reset/zb/data/nsis_2.gif
         http://zeropage.org/~reset/zb/data/nsis_3.gif
          ; 인스톨된 path를 레지스트리에 저장
         http://zeropage.org/~reset/zb/data/nsis_4.gif
         http://zeropage.org/~reset/zb/data/nsis_5.gif
         ; It will install notepad.exe into a directory that the user selects,
          ; Set output path to the installation directory.
          SetOutPath $INSTDIR
          ; 인스톨된 path를 레지스트리에 저장
          CreateDirectory "$SMPROGRAMS\Example2"
          CreateShortCut "$SMPROGRAMS\Example2\Uninstall.lnk" "$INSTDIR\uninstall.exe" "" "$INSTDIR\uninstall.exe" 0
          CreateShortCut "$SMPROGRAMS\Example2\Example2 (notepad).lnk" "$INSTDIR\notepad.exe" "" "$INSTDIR\notepad.exe" 0
         Contributors: nnop@newmail.ru, Ryan Geiss, Andras Varga, Drew Davidson, Peter Windridge, Dave Laundon, Robert Rainwater, Yaroslav Faybishenko, et al.
  • PythonNetworkProgramming . . . . 29 matches
          data = newsock.recv(bufsize)
          print data
          data, addr = UDPSock.recvfrom(buf)
          if not data:
          print "\n Received message '", data,"'"
          data = raw_input('>> ')
          if not data:
          if(UDPSock.sendto(data,addr)):
          print "Sending message '",data,"'..."
         import os.path
         class FileSendChannel(asyncore.dispatcher, Thread):
          asyncore.dispatcher.__init__(self, aConnection)
          print "file send channel create."
          data = self.recv(bufferSize)
          print "data :", data
          return os.path.getsize(aFileName)
          data = f.read(1024)
          sended = self.send(data)
         class FileSendServer(asyncore.dispatcher):
          asyncore.dispatcher.__init__(self)
  • ZeroPageHistory . . . . 29 matches
         ||여름방학 ||Advanced C 및 Pascal 강좌, 공동 참여로 DataBase 등 다수의 Program 개발 ||
         ||겨울방학 ||Data Structure, C 등 각종 강좌 스터디 개설됨. ||
          * Advanced C, Pascal, DataBase
          * Data Structure, C
         ||겨울방학 ||Data Structure, Clipper, UNIX, Game, Graphic 세미나 개최. ||
          * Data Structure, Clipper, UNIX, Game, Computer Graphics
         ||여름방학 ||Assembly, C, Data Structure 세미나 개최. ||
         ||겨울방학 ||X-Window, Data Structure, C, C++ 세미나 개최. ||
          * Assembly Language, C, Data Structure
          * X-Windows, Data Structure, C, C++
         ||겨울방학 ||Data Structure 스터디, API 세미나 개최, 게임 제작 온라인 강좌.(긁어 놓은 게시물: Win95 레지스트리, TCP/IP) ||
          * Data Structure, API, Game
         attachment:server_20010428085542.png
          * https://lh6.googleusercontent.com/-6q_gnM0FKhU/TsCGFiOzcjI/AAAAAAAAHrg/Sk8DTHO1mqA/s800/Screen%252520Shot%2525202011-11-14%252520at%25252012.07.42%252520PM.png
         ||여름방학 ||데블스캠프, 청평 MT, 서버 세팅(RedHat -> Debian), 프로그래밍잔치 개최 ||
          * C++, Data Structure, Python, Java-Servlet, JSP, PHP, Servlet, JDBC
          * 데블스캠프 : C, C++, Java, Data Structure, OOP, Flash, Python, Visual Python, JSP, Network, Security
          * Design Pattern, Linux
          * C, C++, MFC, Java, Design Pattern, AI, Python, PHP, SQL, JSP, Algorithm, OS, Game, CAM
          * C, C++, Java, Data Structure, Engineering Mathematics, ACM, 3D, Lucene, 영상처리
  • ZeroPage성년식/거의모든ZP의역사 . . . . 29 matches
         ||여름방학 ||Advanced C 및 Pascal 강좌, 공동 참여로 DataBase 등 다수의 Program 개발 ||
         ||겨울방학 ||Data Structure, C 등 각종 강좌 스터디 개설됨. ||
          * Advanced C, Pascal, DataBase
          * Data Structure, C
         ||겨울방학 ||Data Structure, Clipper, UNIX, Game, Graphic 세미나 개최. ||
          * Data Structure, Clipper, UNIX, Game, Computer Graphics
         ||여름방학 ||Assembly, C, Data Structure 세미나 개최. ||
         ||겨울방학 ||X-Window, Data Structure, C, C++ 세미나 개최. ||
          * Assembly Language, C, Data Structure
          * X-Windows, Data Structure, C, C++
         ||겨울방학 ||Data Structure 스터디, API 세미나 개최, 게임 제작 온라인 강좌.(긁어 놓은 게시물: Win95 레지스트리, TCP/IP) ||
          * Data Structure, API, Game
         attachment:server_20010428085542.png
          * https://lh6.googleusercontent.com/-6q_gnM0FKhU/TsCGFiOzcjI/AAAAAAAAHrg/Sk8DTHO1mqA/s800/Screen%252520Shot%2525202011-11-14%252520at%25252012.07.42%252520PM.png
         ||여름방학 ||데블스캠프, 청평 MT, 서버 세팅(RedHat -> Debian), 프로그래밍잔치 개최 ||
          * C++, Data Structure, Python, Java-Servlet, JSP, PHP, Servlet, JDBC
          * 데블스캠프 : C, C++, Java, Data Structure, OOP, Flash, Python, Visual Python, JSP, Network, Security
          * Design Pattern, Linux
          * C, C++, MFC, Java, Design Pattern, AI, Python, PHP, SQL, JSP, Algorithm, OS, Game, CAM
          * C, C++, Java, Data Structure, Engineering Mathematics, ACM, 3D, Lucene, 영상처리
  • 김희성/리눅스계정멀티채팅2차 . . . . 29 matches
         char id_state[100];
         char chat[100][BUFF_SIZE+5];
         char chat_s[100], chat_e;
          if(id_state[i])
          printf("%dth clinet try to create ID\n",t_num);
          if(id_state[i])
          sprintf(chat[chat_e],"%s",buff_snd);
          chat_e++;
          chat_e%=100;
          if(id_state[i] || i>=id_num)
          chat_s[i]=chat_e;
          id_state[i_num]=0;
         void* rutine(void* data)//data = &thread_num[스레드 번호]
          t_num=*((int*)data);
          id_state[i_num]=1;
          for(;chat_s[i_num]!=chat_e;chat_s[i_num]++)
          sprintf(buff_snd,"%s\n",chat[chat_s[i_num]]);
          pthread_create(&p_thread[i],NULL,rutine,(void *)&thread_num[i]);
         void* rcv_thread(void *data)
         void* snd_thread(void *data)
  • .bashrc . . . . 28 matches
         shopt -s sourcepath
         date
          TIME=$(date +%H:%M)
         alias path='echo -e ${PATH//:/\n}'
         export LESSCHARSET='latin1'
         function xemacs() { { command xemacs -private $* 2>&- & } && disown ;}
          if [ "$(gnuclient -batch -eval t 2>&-)" == "t" ]; then
          echo "Usage: fstr "pattern" [files] "
          echo "Usage: killps [-SIGNAL] pattern"
          for pid in $(my_ps| awk '!/awk/ && $0~pat { print $1 }' pat=${!#} ) ; do
          echo -e "\nAdditionnal information:$NC " ; uname -a
          echo -e "\n${RED}Current date :$NC " ; date
          echo -e "\n${RED}Machine stats :$NC " ; uptime
          echo -e "\n${RED}Memory stats :$NC " ; free
         function repeat() # 명령어를 n 번 반복
         complete -f -o default -X '!*.tex' tex latex slitex
          # we could be a little smarter here and return matches against
          # `makefile Makefile *.mk', whatever exists
          # matches of that word
          if [ -n "$2" ]; then gcmd='grep "^$2"' ; else gcmd=cat ; fi
  • EightQueenProblem/kulguy . . . . 28 matches
          public static void main(String[] args)
          problem.locate(0);
          public boolean locate(int index)
          board.locate(queen);
          if (locate(index + 1))
          private Chessboard board;
          private int queensNum;
          private int successNum;
          public void locate(Queen queen)
          Iterator pointsIter = points.iterator();
          if (!queen.canAttack(point))
          Iterator iter = queens.iterator();
          private int size;
          private Stack queens;
          private Stack availablePointsStack;
          public static class PointList
          Iterator iter = points.iterator();
          private int index;
          private List points;
          public boolean canAttack(Point p)
  • TFP예제/WikiPageGather . . . . 28 matches
         집에서 모인모인을 돌리다가 전에 생각해두었었던 MindMap 이 생각이 났다. Page간 관계들에 대한 Navigation을 위한. 무작정 코딩부터 하려고 했는데 머릿속에 정리가 되질 않았다. 연습장에 이리저리 쓰고 그리고 했지만. -_-; '너는 왜 공부하고 실천을 안하는 것이야!' 공부란 머리로 절반, 몸으로 절반을 익힌다. 컴공에서 '백견이 불여일타' 란 말이 괜히 나오는 것은 아니리라.
         === WikiPageGatherTestCase.py ===
         from WikiPageGather import *
         class WikiPageGatherTestCase (unittest.TestCase):
          self.pageGather = WikiPageGather ()
          self.pageGather = None
          self.assertEquals (self.pageGather.WikiPageNameToMoinFileName ('''한글테스트'''), '''_c7_d1_b1_db_c5_d7_bd_ba_c6_ae''')
          self.assertEquals (self.pageGather.WikiPageNameToMoinFileName ("FrontPage"), "FrontPage")
          self.pageGather.SetPage ("FrontPage")
          self.assertEquals (self.pageGather.GetPageNamesFromPage (), ["LearningHowToLearn", "ActiveX", "Python", "XPInstalled", "TestFirstProgramming", "한글테스트", "PrevFrontPage"])
          self.assertEquals (self.pageGather.GetPageNamesFromString (strings), ["TestFirstIn", "TestFi", "StringIn"])
          self.assertEquals (self.pageGather.GetPageNamesFromString (strings), ["Testing", "Testing The Program", "TestFirst"])
          self.assertEquals (self.pageGather.IsHeadTagLine (strings), 1)
          self.assertEquals (self.pageGather.IsHeadTagLine (strings), 0)
          self.assertEquals (self.pageGather.RemoveHeadLine (strings), "testing.. -_-a\nfwe\n")
          self.assertEquals (self.pageGather.GetWikiPage ("FrontPage"), '=== Reading ===\n' +
         suite = unittest.makeSuite (WikiPageGatherTestCase, "test")
         === WikiPageGather.py ===
         class WikiPageGather:
          self.pagePath = "f:\web\wiki-moinmoin\data\text\"
  • 김희성/리눅스계정멀티채팅 . . . . 28 matches
         char id_state[100];
         char chat[100][BUFF_SIZE+5];
         char chat_s[100], chat_e;
         void* rutine(void* data)//data = &thread_num[스레드 번호]
          t_num=*((int*)data);
          printf("wrong data\n");
          if(id_state[i])
          id_state[i_num]=1;
          for(;chat_s[i_num]!=chat_e;chat_s[i_num]++)
          sprintf(buff_snd,"%s\n",chat[chat_s[i_num]]);
          sprintf(chat[chat_e],"%s",buff_snd);
          chat_e++;
          chat_e%=100;
          if(id_state[i] || i>=id_num)
          chat_s[i]=chat_e;
          id_state[i_num]=0;
          pthread_create(&p_thread[i],NULL,rutine,(void *)&thread_num[i]);
         void* rcv_thread(void *data)
         void* snd_thread(void *data)
          pthread_create(&p_thread[0],NULL,rcv_thread,(void *)NULL);
  • 데블스캠프2006/목요일/winapi . . . . 28 matches
          static char szAppName[] = "HelloWin" ;
          wndclass.hIcon = LoadIcon (NULL, IDI_APPLICATION) ;
          hwnd = CreateWindow (szAppName, // window class name
          NULL) ; // creation parameters
          UpdateWindow (hwnd) ;
          TranslateMessage (&msg) ;
          DispatchMessage (&msg) ;
          static char szAppName[] = "HelloWin" ;
          wndclass.hIcon = LoadIcon (NULL, IDI_APPLICATION) ;
          hwnd = CreateWindow (szAppName, // window class name
          NULL) ; // creation parameters
          UpdateWindow (hwnd) ;
          TranslateMessage (&msg) ;
          DispatchMessage (&msg) ;
          static HWND hButton;
          static const int BUTTON_ID = 1000;
          case WM_CREATE:
          hButton = CreateWindow("BUTTON", "Click Me!", WS_CHILD | WS_VISIBLE,
          static char szAppName[] = "HelloWin" ;
          wndclass.hIcon = LoadIcon (NULL, IDI_APPLICATION) ;
  • 삼총사CppStudy/숙제2/곽세환 . . . . 28 matches
         #include <cmath>
         private:
          CVector operator+(CVector v);
          CVector operator-(CVector v);
          CVector operator*(double s);
          CVector operator*(CVector v);
          double operator^(CVector v);
         CVector CVector::operator+(CVector v)
         CVector CVector::operator-(CVector v)
         CVector CVector::operator*(double s)
         CVector CVector::operator*(CVector v)
         double CVector::operator^(CVector v)
         #include <cmath>
         private:
          CVector operator+(CVector v);
          CVector operator-(CVector v);
          CVector operator*(double s);
          CVector operator*(CVector v);
          double operator^(CVector v);
          friend CVector operator*(double s, CVector v);
  • 프로그래밍/장보기 . . . . 28 matches
          private static BufferedReader br;
          public static int processOneCase(int num) {
          double [][] rates = new double[num][2];
          } catch (IOException e) {
          rates[i][0] = (double) price / weight;
          rates[i][1] = price;
          double minRate = rates[0][0];
          int minRateIndex = 0;
          if (rates[i][0] < minRate) {
          minRate = rates[i][0];
          minRateIndex = i;
          else if (rates[i][0] == minRate) {
          if (rates[i][1] < rates[minRateIndex][1]) {
          minRate = rates[i][0];
          minRateIndex = i;
          return (int) rates[minRateIndex][1];
          public static void main(String[] args) {
          } catch (FileNotFoundException e) {
          } catch (IOException e) {
  • JavaStudy2004/조동영 . . . . 27 matches
          protected int attackPoint;
          private boolean airAttack;
          protected String nowState;
          public Unit(int hp, int shield, int attack, String state, boolean air) {
          this.attackPoint = attack;
          this.nowState = state;
          this.airAttack = air;
          * public String changeState(String aState) { this.nowState = aState; return
          * nowState; }
          public void underattack(int aAttackPoint) {
          totalHp -= aAttackPoint;
          public int getAttackPoint() {
          return attackPoint;
          public static void main(String[] args) {
          zealot z = new zealot(100, 100, 10, "attack", false);
          d.underattack(z.getAttackPoint());
          public zealot(int hp, int shield, int attack, String state, boolean air) {
          super(hp, shield, attack, state, air);
          public dragoon(int hp, int shield, int attack, String state, boolean air) {
          super(hp, shield, attack, state, air);
  • JollyJumpers/황재선 . . . . 27 matches
          * Created on 2005. 1. 4
          * TODO To change the template for this generated file go to
          * Window - Preferences - Java - Code Style - Code Templates
          private String[] splitMessage(String message) {
          private int[] toInt(String [] ch) {
          private String processKeyInput() {
          } catch (IOException e) {
          differValue[i] = Math.abs(nums[i+1] - nums[i]);
          private int[] sort(int[] aNum) {
          private int[] swap(int [] aNum, int i, int j) {
          private void printResult(Vector v) {
          static public void main(String [] args) {
         import java.util.Iterator;
          * Created on 2005. 1. 6.
          * TODO To change the template for this generated file go to
          * Window - Preferences - Java - Code Style - Code Templates
          } catch (IOException e) {
          set.add(new Integer(Math.abs(numbers[i] - numbers[i+1])));
          Iterator i = set.iterator();
          public static void main(String [] args) {
  • MajorMap . . . . 27 matches
         It's related ProgrammingLanguage, DigitalLogicDesign(, and...)
         Registers are a limited number of special locations built directly in hardware. On major differnce between the variables of a programming language and registers is the limited number of registers, typically 32(64?) on current computers.
         Memory is the storage area in which programs are kept when they are runngin and that contains the data needed by the running programs. Address is a value used to delineate the location of a specific data element within a memory array.
         ALU is is a part of the execution unit, a core component of all CPUs. ALUs are capable of calculating the results of a wide variety of basic arithmetical computations such as integer and floating point arithmetic operation(addition, subtraction, multiplication, and division), bitwise logic operation, and bit shitf operation. Therefore the inputs to the ALU are the data to be operated on (called operands) and a code from the control unit indicating which operation to perform. Its output is the result of the computation.--from [http://en.wikipedia.org/wiki/ALU]
         Two's complement is the most popular method of representing signed integers in computer science. It is also an operation of negation (converting positive to negative numbers or vice versa) in computers which represent negative numbers using two's complement. Its use is ubiquitous today because it doesn't require the addition and subtraction circuitry to examine the signs of the operands to determine whether to add or subtract, making it both simpler to implement and capable of easily handling higher precision arithmetic. Also, 0 has only a single representation, obviating the subtleties associated with negative zero (which is a problem in one's complement). --from [http://en.wikipedia.org/wiki/Two's_complement]
  • PrimaryArithmetic/sun . . . . 27 matches
         테스트 작성 (NumberGeneratorTest.java)
         public class NumberGeneratorTest extends TestCase {
          NumberGenerator ng = new NumberGenerator();
          NumberGenerator ng = new NumberGenerator(123);
         위 테스트를 만족하는 코드 작성 (NumberGenerator.java)
         public class NumberGenerator {
          private int number;
          private byte[] numbers;
          private int numPointer;
          public NumberGenerator() {
          public NumberGenerator( int number ) {
          private void init() {
          private void verify(int expected, int num1, int num2) {
          catch( Throwable e ) {
          public static int add( int num1, int num2 ) {
          NumberGenerator ng1 = new NumberGenerator( Math.max(num1, num2) );
          NumberGenerator ng2 = new NumberGenerator( Math.min(num1, num2) );
          public static void main( String [] args ) throws IOException {
          private static void print( int counts ) {
          System.out.println( occurs + " carry operation" + postfix + "." );
  • ProgrammingWithInterface . . . . 27 matches
         출처: [Holub on Patterns] by Allen Holub
          private int topOfStack = 0;
          private int topOfStack = 0;
          private ArrayList theData = new ArrayList();
          theData.add(topOfStack++, article);
          return theData.remove(--topOfStack);
          return return theData.size();
          private int maxHeight = 0;
          private int minHeight = 0;
          private int topOfStack = -1;
          private Object[] theData = new Object[1000];
          theData[++topOfStack] = article;
          Object popped = theData[topOfStack--];
          theData[topOfStack] = null;
          assert((topOfStack + articles.length) < theData.length);
          System.arraycopy(articles, 0, theData, topOfStack + 1, articles.length);
          private int topOfStack = 0;
          private ArrayList theData = new ArrayList();
          theData.add(topOfStack++, article);
          return theData.remove(--topOfStack);
  • TAOCP/BasicConcepts . . . . 27 matches
         양의 정수 m과 n이 주어졌을때, 그것들의 최대공약수(greatest common divisor)
         계산적인 방법(computational method)을 4쌍의 (Q,I,Ω,f)로 형식을 갖춰 정의하자
          Comparison indicator, - EQUAL, LESS, GREATER
          * Instruction format
          C - 명령어 코드(the poeration code)
          F - 명령어의 변경(a modification of the operation code). (L:R)이라면 8L+R = F
          I - 인덱스(the index specification). 값이 1~6으로 rI1~rI6에 있는 내용과 메모리 주소를 더함
          * Notation
          * Loading operators.
          * Storing operators.
          * Arithmetic operators.
          * Address transfer operators.
          * Comparison operator
          레지스터와 CONTENTS(M)을 비교해서 LESS, GREATER, EQUAL을 설정하는 명령어이다. CMPA, CMPX, CMPi가 있다. CMPi를 할 때는 앞에 세 자리가 0이라고 가정한다.
          * Jump operators.
          M이 가리키는 메모리 셀로 점프한다. JSJ를 빼면 점프를 하면서 점프 명령어 다음 위치를 rJ에 저장한다. the comparison indicator를 이용하거나(JL, JE, JG, JGE, JLE, JNE) , 레지스터(JrN, JrZ, JrP, JrNN, JrNZ, JrNP)를 이용한다.
          * Miscellaneous operators.
          * Conversion operators.
         == 1.3.3 Applications to Permutations ==
         MIX 프로그램의 예제를 보여준다. 중요한 순열의 성질(properties of permutations)을 소개한다.
  • 데블스캠프2005/RUR-PLE/Harvest . . . . 27 matches
          repeat(turn_left, 3)
          repeat(turn_left,3)
          repeat(turn_left,3)
         repeat(go_pick,6)
         repeat(go_pick,5)
         repeat(go_pick,5)
         repeat(go_pick,5)
         repeat(go_pick,5)
         repeat(go_pick,5)
          repeat(turn_left, 3)
         repeat(pickup, 6)
         repeat(pickup, 5)
         repeat(pickup, 5)
         repeat(pickup, 5)
         repeat(pickup, 5)
         repeat(pickup, 5)
         repeat(move_and_pick_beeper, 6)
         repeat(move_and_pick_beeper, 5)
         repeat(move_and_pick_beeper, 5)
         repeat(move_and_pick_beeper, 4)
  • CCNA/2013스터디 . . . . 26 matches
          || 7계층 || 응용 프로그램 계층 (Application Layer) || 응용 프로그램의 네트워크 서비스 ||
          || 6계층 || 표현 계층 (Presentation Layer) || 응용 프로그램을 위한 데이터 표현 ||
          || 2계층 || 데이터 링크 계층 (Data Link Layer) || 물리적 전송을 위한 미디어 지원 ||
          * Encapsulation
          * 컴퓨터에서 다른 컴퓨터로 데이터를 이동하려면 데이터를 패키지화를 해야 하는데 이런 과정을 Encapsulation이라 함.
          * Encapsulation
          *OUI(Organizational Unique Identifier): 24비트는 IEEE로부터 할당을 받고, 나머지 24비트는 개별 회사 별로 할당.
          * TCP (Transmission Control Protocol)과 UDP (User Datagram Protocol)이 주요 프로토콜
          - 레이트 콜리전(Late Collision) : 네트워크가 너무 커서 일정 시간 내에 잼이 전체 충돌 영역에 전송이 안 되는 경우.
          || Flag || Address || Control || Protocol || Data || FCS ||
          * Data: 0~1500 바이트의 사용자 데이터
          * 링크는 언제나 다운 상태 -> 링크 업 -> Establishing -> LCP 상태 Open -> Authenticating -> 인증 성공 -> 링크 업 (실패하면 다운 -> Terminating -> 재 접속)
          || 2 || router#conf t || Config Terminal.. Configuration 모드로 이동 ||
          || 6 || Router_A(config-if)#encapsulation ppp || 인캡슐레이션 방법 설정 ||
          || 7 || Router_Aconfig-if)#ppp authentication chap || 암호화(인증) 기능 ||
          * debug PPP negotiation: PPP의 각 단계 변화에 따른 값
          * debug PPP authentication: PPP의 인증과 관련된 PAP, CHAP
          || Flag(1) || Address(1) || Control(1) || Data(variable) || FCS(1) || Flag(1) ||
          Data = 실제 전달할 정보.
          - NT1(Network Termination 1) : OSI 물리 계층에 해당하는 기능을 수행.
  • EightQueenProblem/이선우2 . . . . 26 matches
          public static final char DEFAULT_BOARD_MARK = '.';
          public static final char DEFAULT_QUEEN_MARK = 'Q';
          public static final char DEFAULT_LINE_BREAK = '\n';
          private int size;
          private int [] board;
          private int numberOfAnswers;
          private boolean checkOne;
          private int hasAnswer;
          private char boardMark;
          private char queenMark;
          private char lineBreak;
          private PrintStream out;
          private NQueen2() {}
          if( size < 1 ) throw new Exception( NQueen2.class.getName() + "- size must be greater than 0." );
          setDefaultOutputFormat();
          public void setDefaultOutputFormat()
          public void setOutputFormat( final char boardMark, final char queenMark, final char lineBreak )
          private void setQueens()
          setQueenAt( 0 );
          private void setQueenAt( int line )
  • GDBUsage . . . . 26 matches
         The GNU Debugger, usually called just GDB, is the standard debugger for the GNU software system. It is a portable debugger that runs on many Unix-like systems and works for many programming languages, including C, C++, and FORTRAN.
          int state;
          state = pipe(fd);
          if (state == -1) {
         Copyright 2005 Free Software Foundation, Inc.
         13 int state;
         15 state = pipe(fd);
         16 if (state == -1) {
         Breakpoint 1 at 0x80484cc: file pipe1.c, line 21.
         Breakpoint 1 at 0x80484cc: file pipe1.c, line 21.
         Breakpoint 1, main (argc=1, argv=0xbfe98394) at pipe1.c:21
         (gdb) print state
         Breakpoint 1 at 0x80484cc: file pipe1.c, line 21.
         Breakpoint 1, main (argc=1, argv=0xbfda24b4) at pipe1.c:21
          FILE:LINENUM, to edit at that line in that file,
          FUNCTION, to edit at the beginning of that function,
          FILE:FUNCTION, to distinguish among like-named static functions.
          *ADDRESS, to edit at the line containing that address.
         = documentation =
         [http://sources.redhat.com/gdb/current/onlinedocs/gdb.html gdb documentation]
  • JavaStudy2003/세번째과제/곽세환 . . . . 26 matches
          private String name;
          public static void main(String[] args) {
          private int x, y;
          private Point middlePoint = new Point();
          private int width;
          private int height;
          private String info = "";
          public void setData(int xValue, int yValue, int width, int height) {
          private Point left_top = new Point();
          private Point right_bottom = new Point();
          private String info = "";
          public void setData(int p1_x, int p1_y, int p2_x, int p2_y) {
          private Point left_top = new Point();
          private Point right_bottom = new Point();
          private double area;
          private String info = "";
          public void setData(int p1_x, int p1_y, int p2_x, int p2_y) {
          area = Math.abs(right_bottom.getX() - left_top.getX()) * Math.abs(left_top.getY() - right_bottom.getY());
          private Circle circle = new Circle();
          private Line line = new Line();
  • LinkedList/학생관리프로그램 . . . . 26 matches
         int Menu(int aPopulation);//메뉴선택
         int Process(int aMenu, int aPopulation, Student* aListPointer[]);
         int AddStudent(int aPopulation, Student* aListPointer[]);//새로운 학생 추가
         int DelStudent(int aPopulation, Student* aListPointer[]);//찾아서 지우기
         Student* Searching(int aNumber, Student* aHead, int aType);//찾기
          int population = 0;//등록된 학생수
          population = Process(Menu(population), population, listPointer);
          }while(population != -1);//프로그램 종료 조건
         int Menu(int aPopulation){
          if(aPopulation){//등록된 학생이 있으면
         int Process(int aMenu, int aPopulation, Student* aListPointer[]){
          aPopulation = AddStudent(aPopulation, aListPointer);
          aPopulation = -1;
          else if(aPopulation){//등록된 학생이 있으면
          aPopulation = DelStudent(aPopulation, aListPointer);
          return aPopulation;
         int AddStudent(int aPopulation, Student* aListPointer[]){
          if(!aPopulation){//첫 등록인 경우
          aPopulation++;
          return aPopulation;
  • MoniWikiOptions . . . . 26 matches
         `'''$menu_bra=''; $menu_cat=''; $menu_sep'''`
          메뉴의 구분자를 설정한다. 기본값은 `'|'` (''deprecated'')
          * Email Notification을 활성화 한다. 이 기능을 키면 SubscribePlugin을 사용할 수 있다.
          * 기본값은 `$data_dir.'/sistermap.txt'`
         ''$inline_latex='latex'`
          * inline latex문법을 활성화하거나 끈다. latex, mimetex, itex 등등 지원 LatexProcessor
          * 기본값 `$data_dir.'/cache'`
         `'''$data_dir'''`
          * 기본값 `'./data'` ../data라고 지정하고 data디렉토리를 지정된 장소로 옮기면 외부에서 data직접 액세스를 차단할 수 있다.
          * 기본값 `$data_dir.'/editlog'`
          * 기본값 `$data_dir.'/intermap.txt'`
          * 기본값은 `$data_dir."/metadb"`
          * 기본값은 `$data_dir."/text/InterMap"`
          * 기본값은 `$data_dir.'/text'`
         `'''$metatags=''''`
         `'''$path'''`
          * rcs를 ~/bin같은 곳에 설치할 때 이 변수에 path를 지정한다 예를 들어 `/usr/local/bin:/usr/bin`
          * 윈도우즈 환경이라면 {{{$path='./bin;c:/program files/vim/vimXX';}}}와 같은 식으로 설정한다.
          * (monisetup.php에 의해 자동 결정된다) apache2를 쓸 경우는 '?'를 쓰거나, `AcceptPathInfo on`를 쓰고 '/'로 지정한다.
          * HelpOnConfiguration
  • ProgrammingLanguageClass/2006/Report3 . . . . 26 matches
         == Specification ==
         treat the actual parameters as thunks. Whenever a formal parameter is referenced in a
         subprogram, the corresponding thunk compiled for that parameter is executed. Even
         provides a very powerful feature for some applications like a generic summation routine.
         Suppose that whenever a programmer wants to pass a parameter by name in C, it is
         Of course, if a C program with the call statement above is to be compiled by a
         conventional compiler, syntax errors should occur since it violates the syntactical rules
         You are required to implement C preprocessor that supports the pass-by-name
         parameters into pure C programs so that the transformed programs manage to handle
         이번 숙제에서 구현하려는 것은 첫번째의 의미로 지연형 계산(delayed computation)을 의미합니다. call-by-name, call-by-need를 통해 함수에게 넘어오는 일련의 매개변수를 thunk라는 이름으로 부릅니다. 간단히 말해 thunk라는 것은 실행시에 계산되어 변수의 값이 얻어진다는 의미입니다. (이는 기존의 함수에서 파라메터 패싱에서 Call 시에 변수에 바인딩되는 것과는 다릅니다.) 이런 기능이 최초로 구현된 Algol60입니다.
         1) Your program should handle Jensen’s device; show that your program works
         properly by testing it for various summation below.
         You should follow the guideline suggested later. To be specific, your report is
         supposed to include an external documentation as well as an internal documentation.
         The external documentation should explain your program in detail so that we can
         understand what kind of data structures have been used, the characteristics and general
         as well as unique features of your program, etc. An internal documentation means the
         comment attached in your source.
         required to submit a listing of your program and a set of test data of your own choice,
         and its output, when you show up for demo. Be sure to design carefully your test data
  • UbuntuLinux . . . . 26 matches
         [[include(틀:OperatingSystems)]]
         홈네트워크 구축은 예상보다 훨씬 삽질을 필요로 했다. 개념상 윈2000과 마찬가지로 NAT를 하면 될텐데 말이다. 일단 한글로 된 페이지를 찾아보았으나 시간에 비해 얻은 것이 너무 적었다.
         어느덧 몇 시간이 흘러 아까와 똑같은 실수를 하고 있었다. 일단은 우분투 공식 사이트부터 가는 것이 순리가 아니겠는가? 물론 우분투 내장 도움말에도 NAT에 대한 영어 설명이 있었으나 이보다도 먼저 공식 사이트에 갔어야 했다.
         [https://wiki.ubuntu.com/ThinClientHowtoNAT] 이 두 문서를 따라하다 보니 어느새 다른 컴퓨터에서 인터넷에 연결할 수 있는 것이 아닌가!
         iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
         sh -c 'iptables-save > /etc/ltsp/nat.conf'
         # You need something like this to authenticate users
         <Location "/trac/leonardong">
         </Location>
         <Location "/trac/leonardong/login">
         </Location>
         [http://dev.mysql.com/doc/refman/5.0/en/automatic-start.html MySQL Start]
         = Apache Tomcat =
         [http://tomcat.apache.org/tomcat-5.5-doc/setup.html]
         $CATALINA_HOME/bin/startup.sh
         = Path Configuration =
         http://www.troubleshooters.com/linux/prepostpath.htm
         export PATH= $PATH: <my path>
         To make the script run at startup:
          sudo update-rc.d myscript start 51 S .
  • [Lovely]boy^_^/EnglishGrammer/Passive . . . . 26 matches
          B. When we use the passive, who or what causes the action is often unknown or unimportant.(그리니까 행위주체가 누군지 모를때나 별로 안중요할때 수동태 쓴대요)
          If we want to say who does or what causes the action, we use by(수동태에서 누가 했는지 알고 싶으면 by 쓰래요)
          ex) This house was built by my grandfather.
          active) Somebody will clean the room later.
          passive) The room will be cleaned later.
          ex) We gave the police the information. (We gave the information to the police.)
          ex1) The police were given the information.
          ex2) The information was given to the police.
          ex-active) I don't like people telling me what to do.
          ex-passive) I don't like being told what to do.
          ex) There was a fight at the party, bue nobody got hurt.(= nobody was hurt)
          You can use get to say that something happens to somebody or something, especially if this is unplanned or unexpected.
          We use get mainly in informal spoken English. You can use be in all situations.(항상 be 쓸수있단다. 고로 귀찮은 get쓰지말자... 클래스에서 get 보는것도 지겨운데..--;)
         == Unit42. It is said that... He is said to... (be) supposed to ... ==
          It is said that he is 108 years old.
          both mean : People say that he is 108 years old.
          ex) It is said that she works 16 hours a day.
          = it is planned, arranged, or expected. Often this is different from what really happens
          ex) The train was supposed to arrive at 11:30, but it was an hour late.( = the train was expected to arrive at 11:30 according to the schedule)
          ex) Mr. Bruno is much better after his operation, but he's still not supposed to do any heavy work.(= his doctors have advised him not to)
  • 권영기/채팅프로그램 . . . . 26 matches
         void* snd(void *data){
         void *rcv(void *data){
          pthread_create(&pthread[0], NULL, snd, (void *)NULL);
          pthread_create(&pthread[1], NULL, rcv, (void *)NULL);
          int status;
          pthread_join(pthread[0], (void**)&status);
          pthread_join(pthread[1], (void**)&status);
         void* snd(void *data){
         void *rcv(void *data){
          pthread_create(&pthread[0], NULL, snd, (void *)NULL);
          pthread_create(&pthread[1], NULL, rcv, (void *)NULL);
          int status;
          pthread_join(pthread[0], (void**)&status);
          pthread_join(pthread[1], (void**)&status);
         void *rcv(void *data){
          int temp = (int *)data;
          pthread_create(&pthread[i], NULL, rcv, (void *)i);
          //int status;
          //pthread_join(pthread[i], (void **)&status);
         void* snd(void *data){
  • 5인용C++스터디/에디트박스와콤보박스 . . . . 25 matches
         Create / 에디트를 만든다.
         이 멤버함수들 중에서 Create 함수를 사용하면 대화상자 템플리트에 에디트를 배치하지 않고도 실행중에 에디트 컨트롤을 생성할 수 있다.
          CreateEdit라는 프로젝트를 만들어보자. 폼뷰가 아닌 일반 뷰에 에디트를 배치하려면 뷰가 생성될 때 (WM_CREATE) OnCreate에서 에디트를 생성시키면 된다. 우선 뷰의 헤더파일을 열어 CEdit형 포인터를 선언한다.
         class CCreateEditView : public CView
          CCreateEditView();
          DECLARE_DYNCREATE(CCreateEditView)
         //Attributes
          CCreateEditDoc* GetDocument();
          그리고 뷰의 WM_CREATE 메시지 핸들러인 OnCreate를 작성하고 이 핸들러에서 에디트를 생성한다.
         int CCreateEditView::OnCreate(LPCREATESTRUCT lpCreateStruct)
          if(CView::OnCreate(lpCreateStruct) == -1)
          m_pEdit -> Create(WS_CHILD | WS_VISIBLE | WS_BORDER,
          m_Edit가 CEdit의 포인터로 선언되었으므로 일단 new 연산자로 CEdit객체를 만든다. 그리고 이 객체의 Create 멤버함수를 호출하여 에디트를 생성한다. Create 함수의 원형은 다음과 같다.
         BOOL Create(DWORD dwstyle, const RECT& rect, CWnd* pParentWnd, UINT nID);
         void CCreateEditView::OnDestroy()
          이렇게 Create 함수로 만든 에디트의 통지 메시지는 어떻게 처리해야 할까. 클래스 위저드가 메시지 핸들러를 만들 때 해주는 세가지 동작을 프로그래머가 직접 해줘야 한다. 우선 메시지 맵에서 메시지와 메시지 핸들러를 연결시켜 준다. ON_EN_CHANGE 매크로에 의해 IDC_MYEDIT 에디트가 EN_CHANGE 메시지를 보내올 때 OnChangeEdit1 함수가 호출된다.
         BEGIN_MESSAGE_MAP(CCreateEditView, CView)
          //{{AFX_MSG_MAP((CCreateEditView)
         //Generated message map functions
          //{{AFX_MSG(CCreateEditView)
  • AKnight'sJourney/강소현 . . . . 25 matches
         == Status ==
          public static int [][] savePath;
          public static int [][] direct = {{-1,-2},{1,-2},{-2,-1},{2,-1},{-2,1},{2,1},{-1,2},{1,2}};
          public static void main(String [] args){
          int [][] path = new int[p+1][q+1];
          savePath = new int[p*q][2];
          if(isPromising(1,1, path,0)){
          for(int k=0; k<savePath.length; k++){
          System.out.printf("%c%d",savePath[k][1]+64, savePath[k][0]);
          private static boolean isPromising(int p, int q, int [][] path, int count){
          if(p>=path.length || q>=path[0].length || p<1 || q<1 || path[p][q] == 1)
          path[p][q] = 1;
          if(count == savePath.length-1){
          savePath[count][0] = p;
          savePath[count][1] = q;
          if(isPromising(p+direct[i][0], q+direct[i][1], path, count+1)){
          savePath[count][0] = p;
          savePath[count][1] = q;
          path[p][q] = 0;
  • CPP_Study_2005_1/BasicBusSimulation/남상협 . . . . 25 matches
         = CPP_Study_2005_1/BasicBusSimulation/남상협 =
         //Simulation.cpp
         #include "BusSimulation.h"
          ifstream fin("data.txt");
          BusSimulation busSimulation(fin);
          busSimulation.readBusData();
          busSimulation.readTimeInput(cin,cout);
          busSimulation.printResult(cout);
         //BusSimulation.h
         #ifndef _BUS_SIMULATION_H_
         #define _BUS_SIMULATION_H_
         class BusSimulation {
         private:
          BusSimulation(ifstream &fin) : m_fin(fin) {}
          void readBusData();
         //BusSimulation.cpp
         #include "BusSimulation.h"
         void BusSimulation::readBusData()
         void BusSimulation::increaseTime(int time)
          for(vector<Bus>::iterator it=m_buses.begin(); it!=m_buses.end(); ++it)
  • LoveCalculator/조현태 . . . . 25 matches
         int calculator(int);
          name_score[i]=calculator(name_score[i]);
          float result_percent;
          result_percent=(float)name_score[1]*100/(float)name_score[0];
          result_percent=(float)name_score[0]*100/(float)name_score[1];
         int calculator(int number)
          return calculator(temp_number);
         void input_and_calculate(int*);
         void calculate(char*, int, int*, int);
         int input_to_calculator(int);
          input_and_calculate(name_score);
         void input_and_calculate(int *name_score)
          calculate(temp_save_name, input_and_return_cursur(temp_save_name, i), name_score, i);
         void calculate(char *temp_save_name, int cursur, int *name_score, int i )
          name_score[i]=input_to_calculator(name_score[i]);
         int input_to_calculator(int number)
          return input_to_calculator(temp_number);
          float result_percent;
          result_percent=(float)name_score[1]*100/(float)name_score[0];
          result_percent=(float)name_score[0]*100/(float)name_score[1];
  • Minesweeper/이도현 . . . . 25 matches
         이번에는 처음으로 Presentation Error를 여러번 받았다. 이것은 프로그램이 도출하는 답은 맞으나 출력형식이 잘못된 경우 발생한다.
         밑에 코드에서 if문으로 outputNumber > 1 인 부분이 Presentation Error를 벗어나게 하는 해결방법이었다.
         void process(char data[][ArSize], int row, int col);
         void init_array(char data[][ArSize], int row, int col);
         void output(char data[][ArSize], int row, int col);
          char data[ArSize][ArSize];
          init_array(data, inputRow + 1, inputCol + 1);
          cin >> data[i][j];
          process(data, inputRow, inputCol);
          output(data, inputRow, inputCol);
         void process(char data[][ArSize], int row, int col)
          if (data[i][j] == '*')
          if (data[i - 1][j - 1] == '*')
          if (data[i - 1][j] == '*')
          if (data[i - 1][j + 1] == '*')
          if (data[i][j + 1] == '*')
          if (data[i + 1][j + 1] == '*')
          if (data[i + 1][j] == '*')
          if (data[i + 1][j - 1] == '*')
          if (data[i][j - 1] == '*')
  • NSIS/예제3 . . . . 25 matches
         [http://zeropage.org/~reset/zb/download.php?id=KDP_board_image&page=1&page_num=20&category=&sn=&ss=on&sc=on&keyword=&prev_no=&select_arrange=headnum&desc=&no=50&filenum=1 만들어진Installer] - 실행가능.
         LicenseData f:\tetris\zp_license.txt
         SetDateSave on
          SetOutPath $INSTDIR
          SetOutPath $INSTDIR\Sources
          SetOutPath $INSTDIR
         SectionDivider " Create StartMenu Shortcuts "
          CreateDirectory "$SMPROGRAMS\ZPTetris"
          CreateShortCut "$SMPROGRAMS\ZPTetris\Uninstall.lnk" "$INSTDIR\uninstall.exe" "" "$INSTDIR\uninstall.exe" 0
          CreateShortCut "$SMPROGRAMS\ZPTetris\ZPTetris.lnk" "$INSTDIR\tetris.exe"
         Contributors: nnop@newmail.ru, Ryan Geiss, Andras Varga, Drew Davidson, Peter Windridge, Dave Laundon, Robert Rainwater, Yaroslav Faybishenko, et al.
         LicenseData: "f:\tetris\zp_license.txt"
         SetDateSave: on
         SetOutPath: "$INSTDIR"
         SetOutPath: "$INSTDIR\Sources"
         File: "DataSocket.cpp" [compress] 1010/2426 bytes
         File: "DataSocket.h" [compress] 671/1519 bytes
         SetOutPath: "$INSTDIR"
         SectionDivider " Create StartMenu Shortcuts "
         CreateDirectory: "$SMPROGRAMS\ZPTetris"
  • ProjectPrometheus/AT_BookSearch . . . . 25 matches
         #format python
         # ---- AT_BookSearch.py ----
         DEFAULT_HEADER = {"Content-Type":"application/x-www-form-urlencoded",
          "Referer":"http://165.194.100.2/cgi-bin/mcu100?LIBRCODE=ATSL&USERID=*&SYSDB=R",
          "Accept":"image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, */*"}
         DEFAULT_SERVICE_SIMPLE_PATH = "/servlet/SimpleSearch"
         DEFAULT_SERVICE_ADVANCED_PATH = "/servlet/AdvancedSearch"
          conn.request("POST", DEFAULT_SERVICE_SIMPLE_PATH, params, DEFAULT_HEADER)
          print response.status, response.reason
          data = response.read()
          return data
          conn.request("POST", DEFAULT_SERVICE_ADVANCED_PATH, params, DEFAULT_HEADER)
          print response.status, response.reason
          data = response.read()
          return data
          data = getAdvancedSearchResponse(params)
          self.assert_(data.count("<TR>") > 70)
          data = getAdvancedSearchResponse(params)
          self.assert_(data.count("<TR>") > 10)
          data = getAdvancedSearchResponse(params)
  • Refactoring/ComposingMethods . . . . 25 matches
          * You have a code fragment that can be grouped together.[[BR]]''Turn the fragment into a method whose name explains the purpose of the method.''
          int getRating(){
          return (moreThanFiveLateDeliveries())?2:1;
          boolean moreThanFiveLateDeliveries(){
          return _numberOfLateDeliveries > 5;
          int getRating(){
          return (_numberOfLateDeliveries>5)?2:1;
          * You have a temp that is assigned to once twith a simple expression, and the temp is getting in the way of other refactorings. [[BR]] ''Replace all references to that temp with the expression.''
          * You have a complicated expression. [[BR]] ''Put the result of the expression, or parts of the expression,in a temporary variagle with a name that explains the purpose.''
          if ( (platform.toUpperCase().indexOf("MAC") > -1) &&
          final boolean isMacOs = platform.toUpperCase().indexOf("MAX") > -1;
          * You have a temporary variagle assigned to more than once, bur is not a loop variagle nor a collecting temporary variagle. [[BR]] ''Make a separate temporary variagle for each assignment.''
          int descount ( int inputVal, int Quantity, int yearToDate) {
          int descount ( int inputVal, int Quantity, int yearToDate) {
          * You have a long method that uses local variagles in such a way that you cannot apply ''Extract Method(110)''. [[BR]]
         ''Turn the method into ints own object so that all the local variagles become fields on that object. You can then decompose the method into other methods on the same object.''
          // long computation;
         http://zeropage.org/~reset/zb/data/ReplaceMethodWithMethodObject.gif
          * You want to replace an altorithm with one that is clearer. [[BR]] ''Replace the body of the method with the new altorithm.''
          ListCandidates = Arrays.asList(new String[] {"Don", John", "Kent"});
  • 데블스캠프2011/다섯째날/HowToWriteCodeWell/김준석,서영주 . . . . 25 matches
         public class Elevator {
          public Elevator(int max_height, int min_height, int basic_height) {
          // TODO Auto-generated constructor stub
          // TODO Auto-generated method stub
          // TODO Auto-generated method stub
          public String callElevator(int i) {
          // TODO Auto-generated method stub
          // TODO Auto-generated method stub
          // TODO Auto-generated method stub
         public class ElevatorTest {
          public void createTest(){
          Elevator el = new Elevator(20, -5, 1);//최고 높이, 최저 높이, 초기높이를 받는 생성자
          Elevator el = new Elevator(20, -5, 1);
          Elevator el = new Elevator(20, -5, 1);
          Elevator el = new Elevator(20, -5, 1);
          assertEquals(el.callElevator(3),"내려갑니다");
          assertEquals(el.callElevator(5),"올라갑니다");
          Elevator el = new Elevator(20, -5, 1);
          Elevator el = new Elevator(20, -5, 1);
  • 새싹교실/2012/AClass . . . . 25 matches
          8.LinkedList를 만들고, 리스트 data에 4,5,3,7,12,24,2,9가 들어가도록 해봅시다.
          int data;
          tmp->data=i+1;
          //printf("%d\n",tmp->data);
          printf("%d\n",tmp->data);
          int data;
          tmp->data=i+1;
          if(tmp->next->data==n)
          printf("%d ",tmp->data);
          int data;
          tmp->data = i;
          printf("%d\n",tmp->data);
          10.public과 private에 관해서 알아봅시다.
          * cmd창, main parameter사용법, static, const
          private와 public의 차이점을 배웠다.
          private를 선언하면 남이 접근을 할 수 없다.
          private과 public의 차이점
          왜 private를 사용하는지
          링크리스트 복습,public과 private
          * static, const 이란??
  • 숫자를한글로바꾸기/김태훈zyint . . . . 25 matches
         int is_numarray(char getdata[]); //char 배열의 요소가 숫자인지 확인 - 맞으면 TRUE 리턴
         void inputdata(char *getdata); // 5자리이하 숫자를 문자로 getdata에 배열로 입력받기
         void prtkor(char *getdata);
          char getdata[6];
          inputdata(getdata);
          prtkor(getdata);
         // 5자리이하 숫자를 문자로 getdata에 배열로 입력받기
         void inputdata(char *getdata)
          gets(getdata);
          if(strlen(getdata)>5) continue;
          if(!is_numarray(getdata)) continue;
         int is_numarray(char getdata[])
          if(getdata[i]<48 || getdata[i]>57) return FALSE;
          } while(i <= strlen(getdata)-1 );
         void prtkor(char *getdata)
          for( i=0 ; i<(int)strlen(getdata) ; ++i){
          if(getdata[i] != '0')
          if(!(i==0 && getdata[i] == '1')){
          printf("%s",num2str(getdata[i]-48));
          printf("%s",jari[strlen(getdata)-pjari-1]);
  • 이영호/숫자를한글로바꾸기 . . . . 25 matches
          static char ret[30] = {0}; // static array for return;
          char data[7][3] = {0}; // stack
          case 0: strcpy(data[i], "영"); break;
          case 1: strcpy(data[i], "일"); break;
          case 2: strcpy(data[i], "이"); break;
          case 3: strcpy(data[i], "삼"); break;
          case 4: strcpy(data[i], "사"); break;
          case 5: strcpy(data[i], "오"); break;
          case 6: strcpy(data[i], "육"); break;
          case 7: strcpy(data[i], "칠"); break;
          case 8: strcpy(data[i], "팔"); break;
          case 9: strcpy(data[i], "구"); break;
          // if(strcmp(data[count], "일") != 0) // 일의 자리를 제외한 각자리의 일을 빼준다.
          strcat(ret, data[count]);
          // if(i == 0 && strcmp(data[count], "일") == 0) strcat(ret, data[count]); // 일의 자리는 따로.
          case 0: strcat(ret, ""); break;
          case 1: strcat(ret, "십"); break;
          case 2: strcat(ret, "백"); break;
          case 3: strcat(ret, "천"); break;
          case 4: strcat(ret, "만"); break;
  • 2학기파이선스터디/서버 . . . . 24 matches
         lock = thread.allocate_lock() # 상호 배제 구현을 위한 락 객체
          data = self.receiveline()
          while data:
          if self.users.handleMessage(name, data) == -1:
          data = self.receiveline()
          data = self.request.recv(1024)
          line.append(data)
          if data[-1] == '\n':
         lock = thread.allocate_lock() # 상호 배제 구현을 위한 락 객체
          data = self.receiveline()
          while data:
          if self.users.handleMessage(data) == -1:
          data = self.receiveline()
          data = self.request.recv(1024)
          line.append(data)
          if data[-1] == '\n':
         lock = thread.allocate_lock() # 상호 배제 구현을 위한 락 객체
          data = self.receiveline()
          while data:
          if self.users.handleMessage(name, data) == -1:
  • ASXMetafile . . . . 24 matches
         === What is ASX? ===
          <Ref href = "path" />
          * <ASX>: Indicates an ASX metafile.
          * <Copyright>: Detailed copyright information (e.g., company name and copyright year).
          * <MoreInfo href = "path of the source" / >: Adds hyperlinks to the Windows Media Player interface in order to provide additional resources on the content.
          * <Duration value = "00:00:00">: Sets the value attribute for the length of time a streaming media file is to be played.
          * <Logo href = "path of the logo source" Style = "a style" / >: Adds custom graphics to the Windows Media player by choosing either a watermark or icon style. The image formats that Windows Media Player supports are GIF, BMP, and JPEG.
          * <Banner href = "path of the banner source">: Places a banner (82 pixels × 30 pixels) image at the bottom of the video display area.
          * <Ref href = "path of the source" / >: Specifies a URL for a content stream.
          * How to define the path of source:
          o ASX files, on the other hand, are small text files that can always sit on an HTTP server. When the browser interprets the ASX file, it access the streaming media file that is specified inside the ASX file, from the proper HTTP, mms, or file server.
          * ?sami="path of the source": Defines the path of a SAMI caption file within the <ref href> tag for media source.
          <Banner href="http://Servername/Path/Banner1.gif">
          <Copyright> 2000 Microsoft Corporation </Copyright>
          <Logo href="http://servername/path/banner2.gif" Style="ICON" />
          * [http://cita.rehab.uiuc.edu/mediaplayer/text-asx.html Creating ASX files with a text editor] - [DeadLink]
          * [http://cita.rehab.uiuc.edu/mediaplayer/captionIT-asx.html Creating ASX files with Caption-IT] - [DeadLink]
  • AcceleratedC++/Chapter10 . . . . 24 matches
         || ["AcceleratedC++/Chapter9"] || ["AcceleratedC++/Chapter11"] ||
         = Chapter 10 Managing memory and low-level data structures =
          || 주소 연산자(address operator) || 객체의 주소를 리턴한다. ||
          || 역참조 연산자(dereference operator) || 포인터 p가 가리키는 객체를 리턴한다. ||
         template<class In, class Pred>
         bool is_negative(int n) {
         vector<int>::iterator i = find_if(v.begin(), v.end(), is_negative); // &is_negative 를 사용하지 않는 이유는 자동형변환으로 포인터형으로 변환되기 때문임.
          static const double numbers[] = {
          static const char* const letters[] = {
          static const size_t ngrades = sizeof(numbers)/sizeof(*numbers);
          // given a numeric grade, find and return the associated letter grade
         static 키워드를 사용하여서 배열의 초기화에 소요되는 시간을 단축한다.
         //concat_files.cpp
          // if it exists, write its contents, otherwise generate an error message
         int* pointer_to_static() {
          static int x;
          return &x; //유효하다. static 으로 함수 안에서 선언하면 함수가 처음 실행될때 메모리 공간이 한번 할당되고 그 함
         수가 종료되더라도 해제되지 않고 프로그램이 종료될때 해제된다. 따라서 메모리가 해제되지 않은 static 변수를 리턴하는 것이기에 유효하다.
         || 자동메모리 관리 || 지역변수, 지역변수를 참조형, 포인터형으로 리턴하면 그 리턴값은 무효한 값이된다. [[HTML(<BR/>)]] 사용하고 싶다면 '''static''' 키워드를 이용해야한다. ||
         char* duplicate_chars(const char* p) {
  • C++스터디_2005여름/학점계산프로그램/문보창 . . . . 24 matches
         ==== CalculateGrade.h ====
         #ifndef CALCULATEGRADE_H_
         #define CALCULATEGRADE_H_
         class CalculateGrade
         private:
          static const int NUM_STUDENT; // 학생 수(상수 멤버)
          CalculateGrade(); // 생성자
          ~CalculateGrade(); // 파괴자
         ==== CalculateGrade.cpp ====
         #include "CalculateGrade.h"
         const int CalculateGrade::NUM_STUDENT = 121;
         CalculateGrade::CalculateGrade()
         void CalculateGrade::sort_student()
         void CalculateGrade::show_good_student()
         void CalculateGrade::show_bad_student()
         CalculateGrade::~CalculateGrade()
         private:
          static const int NUM_GRADE; // 과목 수 (상수 멤버)
          static char alpa_grade[9][3] = {"A+", "A", "B+", "B", "C+", "C", "D+", "D", "F"};
          static double ital_grade[9] = {4.5, 4.0, 3.5, 3.0, 2.5, 2.0, 1.5, 1.0, 0.0};
  • CubicSpline/1002/NaCurves.py . . . . 24 matches
         #format python
         import math
         DATASET = [-1.0, -0.8, -0.6, -0.4, -0.2, 0, 0.2, 0.4, 0.6, 0.8, 1.0]
          return int(math.ceil( (self.getCountControlPoints()+1) / (self.pieceSize-1) ))
          def _makeMatrixA(self):
          matrixA = self._makeEmptyMatrix()
          matrixA[i][i] = 2 * (self.deltaX(i)+self.deltaX(i+1))
          matrixA[i-1][i] = self.deltaX(i)
          matrixA[i][i-1] = self.deltaX(i)
          return matrixA
          def _makeMatrixB(self):
          matrixB = []
          matrixB.append([6 * ( self.deltaY(i)/self.deltaX(i) - self.deltaY(i-1)/self.deltaX(i-1) )])
          return matrixB
          a = self._makeMatrixA()
          b = self._makeMatrixB()
          matrixY = TriDiagonal.getMatrixY(l, b)
          tempY = TriDiagonal.getMatrixX(u, matrixY)
          def _makeEmptyMatrix(self):
          matrix = []
  • Expat . . . . 24 matches
         = Expat =
         Expat is a stream-oriented XML 1.0 parser library, written in C. Expat was one of the first open source XML parsers and has been incorporated into many open source projects, including the Apache HTTP Server, Mozilla, Perl, Python and PHP.
         James Clark released version 1.0 in 1998 while serving as technical lead on the XML Working Group at the World Wide Web Consortium. Clark released two more versions, 1.1 and 1.2, before turning the project over to a group led by Clark Cooper, Fred Drake and Paul Prescod in 2000. The new group released version 1.95.0 in September 2000 and continues to release new versions to incorporate bug fixes and enhancements. Expat is hosted as a SourceForge project. Versions are available for most major operating systems.
         To use the Expat library, programs first register handler functions with Expat. When Expat parses an XML document, it calls the registered handlers as it finds relevant tokens in the input stream. These tokens and their associated handler calls are called events. Typically, programs register handler functions for XML element start or stop events and character events. Expat provides facilities for more sophisticated event handling such as XML Namespace declarations, processing instructions and DTD events.
         Expat's parsing events are similar to the events defined in the Simple API for XML (SAX), but Expat is not a SAX-compliant parser. Projects incorporating the Expat library often build SAX and DOM parsers on top of Expat.
         = Related =
         http://expat.sourceforge.net/
         http://www.xml.com/pub/a/1999/09/expat/index.html
         MS 진영의 XML 파서는 MSXML SDK 가 가장 많이 쓰이겠지만, 리눅스 계열 혹은 OpenSource 진영에서의 XML 파서는 Expat 이 일통한 듯 보임.
  • HowToBuildConceptMap . . . . 24 matches
         from Learning, Creating, Using Knowledge
          1. Identify a focus question that addresses the problem, issues, or knowledge domain you wish to map. Guided by this question, identify 10 to 20 concepts that are pertinent to the question and list these. Some people find it helpful to write the concept labels on separate cards or Post-its so taht they can be moved around. If you work with computer software for mapping, produce a list of concepts on your computer. Concept labels should be a single word, or at most two or three words.
          * Rank order the concepts by placing the broadest and most inclusive idea at the top of the map. It is sometimes difficult to identify the boradest, most inclusive concept. It is helpful to reflect on your focus question to help decide the ranking of the concepts. Sometimes this process leads to modification of the focus question or writing a new focus question.
          * Begin to build your map by placing the most inclusive, most general concept(s) at the top. Usually there will be only one, two, or three most general concepts at the top of the map.
          * Next selet the two, three or four suboncepts to place under each general concept. Avoid placing more than three or four concepts under any other concept. If there seem to be six or eight concepts that belong under a major concept or subconcept, it is usually possible to identifiy some appropriate concept of intermediate inclusiveness, thus creating another level of hierarchy in your map.
          * Connect the concepts by lines. Label the lines with one or a few linking words. The linking words should define the relationship between the two concepts so that it reads as a valid statement or proposition. The connection creates meaning. When you hierarchically link together a large number of related ideas, you can see the structure of meaning for a given subject domain.
          * Rework the structure of your map, which may include adding, subtracting, or changing superordinate concepts. You may need to do this reworking several times, and in fact this process can go on idenfinitely as you gain new knowledge or new insights. This is where Post-its are helpful, or better still, computer software for creating maps.
          * Look for crosslinks between concepts in different sections of the map and label these lines. Crosslinks can often help to see new, creative relationships in the knowledge domain.
          * Specific examples of concepts can be attached to the concept labels (e.g., golden retriver is a specific example of a dog breed).
          * Concept maps could be made in many different forms for the same set of concepts. There is no one way to draw a concept map. As your understanding of relationships between concepts changes, so will your maps.
  • R'sSource . . . . 24 matches
          print 'going to that page...'
          pattern = re.compile('(^<TABLE.*<a.*number=)(.*)&view=2.*\[1\].*')
          print 'pattern searching...'
          matching = pattern.match(line)
          if matching:
          replayNum = matching.group(2)
          # pattern = re.compile('.*<a.*<a.*\"(http.*)\".*' + keyGamer + '.*')
          pattern = re.compile('.*<a.*<a.*\".(.*)\".*' + keyGamer + '.*')
          matching = pattern.match(line)
          if matching:
          choicedRepUrl = 'http://www.replays.co.kr/technote' + matching.group(1)
          #print matching.group()
          pattern = re.compile('^<a href=\".(.*filename=(.*.rep).*)\".*')
          matching = pattern.match(line)
          if matching:
          downUrl = 'http://www.replays.co.kr/technote' + matching.group(1)
          fileName = matching.group(2)
          if os.path.exists(defaultDir + saveDirName)==0:
  • Star/조현태 . . . . 24 matches
          bool operator == (const SavePoint& target) const
          bool operator < (const SavePoint& target) const
         vector<SavePoint> calculatePoint[10];
         int Calculate(int number);
          for (register int i = 0; i < (int)calculatePoint[bigNumber[number]].size(); ++i)
          if (calculatePoint[bigNumber[number]][i] == lines[number][j])
          for (register int k = 0; k < (int)calculatePoint[j].size(); ++k)
          if (calculatePoint[j][k] == lines[number][i])
          calculatePoint[bigNumber[number]].push_back(lines[number][i]);
          calculatePoint[bigNumber[number]].pop_back();
          for (map<SavePoint, int>::iterator i = points.begin(); i != points.end(); ++i)
         void GetXYZ(int calculateNumber, int i, int j, int k, int& x, int& y, int& z, int& number)
          if (0 == calculateNumber)
          else if (1 == calculateNumber)
          else if (2 == calculateNumber)
         void ChangeXYZ(int& x, int& y, int& z, int calculateNumber)
          if (0 == calculateNumber)
          else if (1 == calculateNumber)
          else if (2 == calculateNumber)
          for (register int calculateNumber = 0; calculateNumber < 3; ++calculateNumber)
  • TheJavaMan/지뢰찾기 . . . . 24 matches
          private int row, col, numMines;
          private Vector mines = new Vector();
          //private Point firstClick = new Point();
          private int map[][];
          private int numClick; // 왼쪽 버튼 누른 수
          private int numFlags; // 깃발 꼿은 수
          private boolean gameOver = false;
          private Kan kan[][];
          center.validate();
          r = Math.abs(rand.nextInt()) % row;
          c = Math.abs(rand.nextInt()) % col;
          kan[i][j].setBorder(BorderFactory.createRaisedBevelBorder());
          private boolean state = false; // false 숨겨진 상태
          private int numAroundMines; // 0~8
          private int x, y;
          if (!gameOver && e.getButton() == MouseEvent.BUTTON3 && state == false) {
          if (!gameOver && e.getButton() == MouseEvent.BUTTON1 && state == false)
          if (!gameOver && e.getButton() == MouseEvent.BUTTON1 && state == false) {
          if (state == false) {
          state = true;
  • 위키에 코드컬러라이저 추가하기 . . . . 24 matches
         그런데 MoinMoin:ParserMarket 에 [http://bbs.rhaon.co.kr/mywiki/moin.cgi/ProgrammingTips_2fCStringFormat Example]이라 된 곳에서는 잘 사용하고 있는것이다...[[BR]]
          * [http://twistedmatrix.com/users/jh.twistd/moin/moin.cgi/parser_2fbase_2epy parser/base.py] [http://twistedmatrix.com/users/jh.twistd/moin/moin.cgi/parser_2fcplusplus_2epy parser/cplusplus.py] [http://twistedmatrix.com/users/jh.twistd/moin/moin.cgi/parser_2fjava_2epy parser/java.py]
         def process(request, formatter, lines):
          if not formatter.in_pre:
          sys.stdout.write(formatter.preformatted(1))
          colorizer.format(formatter, {})
          sys.stdout.write(formatter.rawHTML(buff.getvalue()))
          sys.stdout.write(formatter.preformatted(0))
         def process(request, formatter, lines):
          if not formatter.in_pre:
          sys.stdout.write(formatter.preformatted(1))
          colorizer.format(formatter, {})
          sys.stdout.write(formatter.rawHTML(buff.getvalue()))
          sys.stdout.write(formatter.preformatted(0))
          self.processor(self.request, self.formatter, self.colorize_lines)
          self.processor(self.request, self.formatter, self.colorize_lines)
  • 2006신입생/연락처 . . . . 23 matches
         || 윤성준 || sayiii at hotmail dot com || 010-8927-0036 ||
         || 이원희 || wonhee87 at hotmail dot com || 010-3072-5514 ||
         || 이차형 || leech8757 at hotmail dot com || 011-9288-5619 ||
         || [이경록] || starz416 at hotmail dot com || 010-7138-4689 ||
         || 김준석 || zeldababo at naver dot com || 010-9191-3530 ||
         || 성우용 || wooyongyi at hotmail dot com || 011-9263-6315 ||
         || 임다찬 || dachanism at hotmail dot com || 011-9254-0604 ||
         || 안택수 || saver at anti-k dot com || 010-6760-2946 ||
         || 서용욱 || syhyper at hotmail dot com || 010-3099-4172 ||
         || 김대순 || 1006kds at naver dot com || 011-1703-8375 ||
         || [http://165.194.17.5/zero/?url=zeropage&title=%BE%C8%B3%E7%C7%CF%BC%BC%BF%E4 송태의] || kofboy at dreamwiz dot com || 010-4691-5179 ||
         || 주요한 || jyhjohn at msn dot com || 010-6621-6670 ||
         || 배민화 || minhwa119 at hotmail dot com || 010-2616-4900 ||
         || 황세연 || hphsy at hanmail dot net || 016-9310-0780 ||
         || 박지인 || YFL at lycos.co.kr || 010-9460-4587 ||
         || 이태양 || onlysun87 at hotmail dot com || 010-9770-7065 ||
         || 고준영 || gojoyo at unitel.co.kr || 016-9870-0913 ||
         || 김진하 || kimjin2303 at hotmail dot com(msn고고) || 010-2549-3377 ||
         || 조민희 || walsgml130 at hotmail dot com || 010-9585-0995 ||
         || 송지원 || snakeatine at hotmail dot com || 016-438-5913 ||
  • CollaborativeFiltering . . . . 23 matches
         === Approaches to Collaborative Filtering ===
         problem space가 2차원 matrix 의 형태를 생각해본다. 행에 대해서는 item을, 열에 대해서는 user를 두고, 그에 따른 rating 을 값으로 둔다. 이 matrix 를 이용, CollaborativeFiltering 은 특정 사용자(user) i 에 대해서 rating 을 예측하고, item 들을 추천한다.
          ex) 이 user set 에서 item j 에 대해서 높은 점수 (rating)을 주었을 경우, user i 에게 item j 를 추천한다.
          1. 현재 이용중인 user 와 비슷한 취향의 사용자 집합을 선택 - calculate user correlation
          1. 선택된 neighbours 들과 자료를 근거로 예측 - generate a prediction
         ==== Calculate user correlation ====
          * Pearson correlation
          * Constrained Pearson correlation
          * The Spearman rank correlation
          * Correlation thresholding
          * Best-n correlations
         ==== Generate a prediction ====
         CollaborativeFiltering 의 유용성을 평가하는 기준.
          * [http://personalization.co.kr/person_method3.htm 한글 개론]
          * [http://wwwbroy.in.tum.de/~pretschn/papers/personalization/personalization.html Personalization on the Web]
  • EightQueenProblem/용쟁호투 . . . . 23 matches
         $PBExportComments$Generated Application Object
         global type eightqueenproblem from application
         global type eightqueenproblem from application
         Integer il_attack [8,8] , il_limit = 1, il_queen_count = 1
         public function boolean wf_create_queen ()
         public function boolean wf_chack_attack (integer ai_x, integer ai_y)
         public function boolean wf_create_queen ();Integer li_x,li_y
          If wf_chack_attack(li_x, li_y) Then CONTINUE;
          il_attack[li_x, li_y] = 0 //공격루트 초기화
         public function boolean wf_chack_attack (integer ai_x, integer ai_y);//32767
         IF il_attack[ai_x,ai_y] = 1 THEN RETURN TRUE
          il_attack[li_x,ai_y] = 1 //X Line 공격루트 셋팅
          il_attack[ai_x,li_y] = 1 //Y Line 공격루트 셋팅
          il_attack[li_x,li_y] = 1 //x,y에서 x+n,y+n방향으로 공격루트셋팅
          il_attack[9 - li_x,li_y] = 1 //x,y에서 x-n,y+n방향으로 공격루트셋팅
         on eightqueenproblem.create
         message=create message
         sqlca=create transaction
         sqlda=create dynamicdescriptionarea
         sqlsa=create dynamicstagingarea
  • JSP/SearchAgency . . . . 23 matches
          java.io.IOException, java.util.Date,
          private String field;
          int repeat = 0;
          if (repeat > 0) { // repeat & time as benchmark
          Date start = new Date();
          for (int i = 0; i < repeat; i++) {
          Date end = new Date();
          out.println(hits.length() + " total matching documents");
          int end = Math.min(hits.length(), start + HITS_PER_PAGE);
          if (raw) { // output raw format
          String path = doc.get("path");
          if (path != null) {
          out.println((i+1) + ". " + path);
          out.println((i+1) + ". " + "No path for this document");
          if (line.length() == 0 || line.charAt(0) == 'n')
         String path = request.getContextPath();
         String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
          <base href="<%=basePath%>">
  • TestDrivenDatabaseDevelopment . . . . 23 matches
         TDD 로 Database Programming 을 진행하는 방법 & 경험들.
          private Connection con;
          private String writer;
          private String title;
          private String body;
          public void setUp() throws SQLException, InstantiationException, IllegalAccessException, ClassNotFoundException {
          repository.createArticle(writer, title, body);
          repository.createArticle(writer, title, body);
          public void testCreateArticle() throws SQLException {
          repository.createArticle(writer, title, body);
          repository.createArticle(writer, title, body);
          repository.createArticle(writer, title, body);
          public void testArticleTableInitialize() throws ClassNotFoundException, IllegalAccessException, InstantiationException, SQLException {
          PreparedStatement pstmt= con.prepareStatement(sqlStr);
          private void initConnection() throws InstantiationException, IllegalAccessException, ClassNotFoundException, SQLException {
          private void uninitConnection() throws SQLException {
          public void testDuplicatedInitialize() throws ClassNotFoundException, InstantiationException, IllegalAccessException, SQLException {
          void createArticle(String writer, String title, String body) throws SQLException;
         만일 MockRepository를 먼저 만든다면? interface 를 추출한 순간에는 문제가 없겠지만, 다음에 DBRepository 를 만들때가 문제가 된다. interface 의 정의에서는 예외를 던지지 않으므로, interface 를 다시 수정하던지, 아니면 SQL 관련 Exception 을 전부 해당 메소드 안에서 try-catch 로 잡아내야 한다. 즉, Database 에서의 예외처리들에 대해 전부 Repository 안에서 자체해결을 하게끔 강요하는 코드가 나온다.
  • VonNeumannAirport/남상협 . . . . 23 matches
          for trafficData in trafficList:
          for traffic in trafficData[:-1]:
          for configureData in configureList:
          for configure in configureData:
          def calculateTraffic(self):
          departureGate = con
          for i in range(2,len(self.trafficList[departureGate-1]),2):
          arrivalGate = self.trafficList[departureGate-1][i]
          traffic+=(abs(configure[1].index(arrivalGate)-configure[0].index(departureGate))+1)*self.trafficList[departureGate-1][i+1]
          Data = file("airport.in")
          cityNum = int(Data.readline().split(" ")[0])
          trafficList.append(Data.readline().split(" "))
          while Data.readline().split(" ")[0] != '0':
          readLineOne = Data.readline().split(" ")
          readLineTwo = Data.readline().split(" ")
          cityNum = int(Data.readline().split(" ")[0])
          def calculateAllTraffic(self):
          result.append(airport.calculateTraffic())
         AllResult = vonAirport.calculateAllTraffic()
          print "Configuration Load"
  • 데블스캠프2005/RUR-PLE/Sorting . . . . 23 matches
          repeat(turn_left,2)
          repeat(turn_left,3)
          repeat(move_end,10)
          repeat(move_end,10)
          repeat(sort_sub,20)
          repeat(gaedan,9)
          repeat(turn_left,3)
          repeat(go_pick,5)
          repeat(go_pick,5)
          repeat(go_pick,6)
          repeat(go_pick,5)
          repeat(move,5)
          repeat(go_pick_sub,5)
          repeat(go_pick_sub,5)
          repeat(go_pick_sub,6)
          repeat(go_pick_sub,5)
          repeat(move,5)
          repeat(turn_left, 2)
          repeat(turn_left, 3)
          repeat(turn_left,3)
  • 만년달력/김정현 . . . . 23 matches
          private static final int BLANK = 1;
          private int[] days= {31,28,31,30,31,30,31,31,30,31,30,31};
          private String[] dayNames= {
          "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"
          private boolean isSpecialYear(int year) {
          private boolean isProperMonth(int year, int month) {
          private boolean isProperDate(int year, int month, int day) {
          if(!isProperDate(year, month, day))
          private String getDayName(int sequence) {
          if(!isProperDate(year, month, day))
          private boolean isReady= false;
          private String space= " ";
          sw.write(repeatString(" "+space, startIndex));
          private boolean isReady() {
          private String repeatString(String string, int repeat) {
          if(repeat == 0)
          return string + repeatString(string, repeat-1);
          public static void main(String[] args) throws Exception{
  • 조영준/파스칼삼각형/이전버전 . . . . 23 matches
          static void Main(string[] args)
          catch (Exception e)
          private int[][] _triangle; //파스칼 삼각형
          private int _row; //삼각형의 총 줄
          private int _count; //현재 반환중인 줄
          private int _max; //삼각형의 최댓값
          public int[] getData(int row)
          public int getData(int row, int column)
          private int lines; //총 출력할 줄
          private int count; //좌우로 출력해야할 빈 공간의 수 (4칸이 한 단위)
          private int scale; //한 칸당 너비 짝수야 한다
          private void printEmpty(int size)
          static void Main(string[] args)
          catch (Exception e)
          private int lines; //삼각형의 총 줄
          private int count; //현재 반환중인 줄
          private int[] prv; // 이전 줄
          private int[] current; // 현재 줄
          private int[] savePrv(int[] i)
          private int lines; //총 출력할 줄
  • 5인용C++스터디/더블버퍼링 . . . . 22 matches
         MemDC=CreateCompatibleDC(hdc);
          hBit=CreateCompatibleBitmap(hdc,crt.right,crt.bottom);
         hMemDC=CreateCompatibleDC(hdc);
         font=CreateFont(30,0,0,0,0,0,0,0,HANGEUL_CHARSET,3,2,1,
         InvalidateRect(hWndMain,NULL,FALSE);
         case WM_CREATE:
          hMemDC=CreateCompatibleDC(hdc);
          // TODO: add draw code for native data here
         int CTestView::OnCreate(LPCREATESTRUCT lpCreateStruct)
          if (CView::OnCreate(lpCreateStruct) == -1)
          MemDC.CreateCompatibleDC(pDC);
          MemBitmap.CreateCompatibleBitmap(pDC, 1024, 768);
          // TODO: Add your specialized creation code here
          Invalidate();
  • ContestScoreBoard/조현태 . . . . 22 matches
         struct datas{
          datas* prv;
          datas* next;
         void input_data();
         datas* such_and_malloc_point(int);
         void print_data();
         void free_data();
         datas* start_point=NULL;
         datas* end_point=NULL;
          input_data();
          print_data();
          free_data();
         void input_data()
          datas* temp_point;
         datas* such_and_malloc_point(int target_team_number)
          datas* temp_point=start_point;
          temp_point=(datas*)malloc(sizeof(datas));
         void print_data()
          datas* temp_point=start_point;
         void free_data()
  • DirectDraw/Example . . . . 22 matches
         // SimpleDX.cpp : Defines the entry point for the application.
         // Foward declarations of functions included in this code module:
         ATOM MyRegisterClass(HINSTANCE hInstance);
          // Perform application initialization:
          hAccelTable = LoadAccelerators(hInstance, (LPCTSTR)IDC_SIMPLEDX);
          if (!TranslateAccelerator(msg.hwnd, hAccelTable, &msg))
          TranslateMessage(&msg);
          DispatchMessage(&msg);
         // to be compatible with Win32 systems prior to the 'RegisterClassEx'
         // function that was added to Windows 95. It is important to call this function
         // so that the application will get 'well formed' small icons associated
         ATOM MyRegisterClass(HINSTANCE hInstance)
         // PURPOSE: Saves instance handle and creates main window
         // create and display the main program window.
          hWnd = CreateWindow(szWindowClass, szTitle, WS_POPUP,
          UpdateWindow(hWnd);
         // WM_COMMAND - process the application menu
          case WM_CREATE:
          disp->CreateFullScreenDisplay(hWnd, 640, 480, 16);
          disp->CreateSurfaceFromBitmap( &suf1, "bitmap1.bmp", 48, 48);
  • PNGFileFormat/FormatUnitTestInPythonLanguage . . . . 22 matches
         #format python
         class TestPngFormat(unittest.TestCase):
          def testImageDataSize(self):
          if chunkInfo[1] != 'IDAT':
          zlibdata = self.png.getData()
          base = [ord(zlibdata[1]), ord(zlibdata[2]), ord(zlibdata[3])]
          scanline = self.png.makeScanline(base, i, zlibdata, rgbmap )
          print ' PNG Format TEST'
          self.data = None; self.width = None; self.height = None; self.bitDepth = None
          def getData(self):
          if self.data != None:
          return self.data
          self.data = ''
          if chunks[1]!= 'IDAT':
          self.data += chunks[2]
          self.data = zlib.decompress(self.data)
          return self.data
          def updateCRC(self, buf):
          return long(self.updateCRC(buf) ^ 0xFFFFFFFFL )
         [PNGFileFormat]
  • TellVsAsk . . . . 22 matches
         원문 : http://www.pragmaticprogrammer.com/ppllc/papers/1998_05.html 중 'Tell vs Ask'
         Procedural code gets information then makes decisions. Object-oriented code tells objects to do things.
         That is, you should endeavor to tell objects what you want them to do; do not ask them questions about their state,
         make a decision, and then tell them what to do.
         The problem is that, as the caller, you should not be making decisions based on the state of the called object
         that result in you then changing the state of the object. The logic you are implementing is probably the called object's
         responsibility, not yours. For you to make decisions outside the object violates its encapsulation.
         당신이 구현하려는 logic 은 아마도 호출된 객체의 책임이지, 당신의 책임이 아니다. (여기서 you 는 해당 object 를 이용하는 client. caller) 당신이 object 의 바깥쪽에서 결정을 내리는 것은 해당 object 의 encapsulation 에 위반된다.
         Sure, you may say, that's obvious. I'd never write code like that. Still, it's very easy to get lulled into
         object and then calling different methods based on the results. But that may not be the best way to go about doing it. Tell the object
         what you want. Let it figure out how to do it. Think declaratively instead of procedurally!
         you can then progress naturally to specifying commands that the class may execute, as opposed to queries
         that inform you as to the state of the object.
  • 논문번역/2012년스터디/이민석 . . . . 22 matches
          * LaTeX 수식이 안 보여요
          * 다음 주까지 1학년 1학기에 배운 Linear Algebra and Its Applications의 1.10, 2.1, 2.2절 번역하기
         오프라인 필기 글자 인식을 위한 시스템을 소개한다. 이 시스템의 특징은 분할이 없다는 것으로 인식 모듈에서 한 줄을 통째로 처리한다. 전처리, 특징 추출(feature extraction), 통계적 모형화 방법을 서술하고 저자 독립, 다저자, 단일 저자식 필기 인식 작업에 관해 실험하였다. 특히 선형 판별 분석(Linear Discriminant Analysis), 이서체(allograph) 글자 모형, 통계적 언어 지식의 통합을 조사하였다.
         1 ftp://svr-ftp.eng.cam.ac.uk/pub/data
         수직 위치와 기울임은 [15]에 서술된 접근법과 비슷한 선형 회귀(linear regression)를 이용한 베이스라인 측정법을 적용하여 교정한 반면에, 경사각 계산은 가장자리edge 방향에 기반한다. 그러므로 이미지는 이진화되고 수평 흑-백과 백-흑 전환을 추출하는데 수직 stroke만이 경사 측정에 결정적이다. canny edge detector를 적용하여 edge orientation 자료를 얻고 각도 히스토그램에 누적한다. 히스토그램의 평균을 경사각으로 쓴다.
         특징 벡터들을 decorrelate하고 종류 분별력을 향상하기 위해 우리는 훈련 단계와 인식 단계에서 LDA를 통합한다. (cf. [6]) 원래 특징 표현을 일차 변환하고 특징 공간의 차원을 점차 줄이며 최적화한다. 일차 변환 A를 구하기 위해 훈련 자료의 클래스내 분산(within class scatter) 행렬 Sw와 클래스간 분산(between class scatter) 행렬 Sb를 이용하여 고유 벡터 문제를 해결한다. 이 분산(scatter) 행렬들을 계산하여 각 특징 벡터의 HMM 상태와 함께 이름표를 붙여야 한다. 우리는 먼저 일반적인 훈련을 수행하고 훈련 자료들을 상태를 기준으로 정렬한다. 분산 행렬을 구했으면 LDA 변환은 다음 고유 벡터 문제를 풀어 계산한다.
         필기 글자 인식을 위한 HMM의 구성, 훈련, 해독은 ESMERALDA 개발 환경[5]이 제공하는 방법과 도구의 틀 안에서 수행된다. HMM의 일반적인 설정으로서 우리는 512개의 Gaussian mixtures with diagonal covariance matrice(더 큰 저자 독립 시스템에서는 2048개)를 포함하는 공유 코드북이 있는 semi-continuous 시스템을 사용한다. 52개 글자, 10개 숫자, 12개 구두점 기호와 괄호, 공백 하나를 위한 기본 시스템 모형은 표준 Baum-Welch 재측정을 사용하여 훈련된다. 그 다음 한 줄 전체를 인식하기 위해 글자 모형에 대한 루프로 구성된 conbined model이 사용된다. 가장 가능성 높은 글자 시퀀스가 표준 Viterbi beam- search를 이용하여 계산된다.
         전처리에서 벌충할 수 없는 서로 다른 글씨체 사이의 변동을 고려하기 위해 우리는 [13]에 서술된 접근법과 비슷한, 다저자/저자 독립식 인식을 위한 글자 이서체 모형을 적용한다. 이서체는 글자 하위 분류, 즉 특정 글자의 서로 다른 실현이다. 이는 베이스라인 시스템과달리HMM이이제서로다른글자 하위 분류를 모델링하는 데 쓰임을 뜻한다. 글자별 하위 분류 개수와 이서체 HMM 개수는 휴리스틱으로 결정하는데, 가령 다저자식에 적용된 시스템에서 우리는 이서체 개수가 저자 수만큼 있다고 가정한다. 초기화에서 훈련 자료는 이서체 HMM들을 임의로 선택하여 이름표를 붙인다. 훈련 도중 모든 글자 표본에 대해 해당하는 모든 이서체에 매개변수 재추정을 병렬 적용한다. 정합 가능성은 특정 모형의 매개변수가 현재 표본에 얼마나 강하게 영향받는 지를 결정한다. 이서체 이름표가 유일하게 결정되지는 않기에 이 절차는 soft vector quantization과 비슷하다.
         단일 저자식 실험은 Senior 데이터베이스에서 훈련에 282줄, 검정에 141줄을 써서 수행했는데, 글자 수준에서 검정 집합의 바이그램 perplexity는 15.3이다. 베이스라인 시스템의 오류율 13.3%는 바이그램 언어 모형을 채택하여 12.1%로 감소했다. LDA 변환한 특징 공간의 차원이 12로 내려갔지만 오류율은 그다지 커지지 않았다. 단일 저자 시스템의 단어 오류율(표 2)은 어휘 없이 28.5%, 1.5k 어휘가 있으면 10.5%다. 이 결과들은 우리가 같은 데이터베이스를 이용하여 literature(문학 작품은 아닌 것 같다)에서 얻은 오류율과 비교되긴 하지만, 훈련 집합과 검정 집합의 크기가 달라 비교하긴 어렵다. [17]에서 오류율은 글자의 경우 28.3%, 어휘 없는 단어의 경우 84.1%, 1.3k 어휘가 있는 단어의 경우 16.5%다. [15]의 보고에서 단어 오류율은 어휘가 있는 경우 6.6%, 어휘 free인 경우 41.1%다. [9]에서 최고의 어휘 기반 단어 오류율은 15.0%다.
         이 연구는 프로젝트 Fi799/1에서 German Research Foundation(DFG)가 제안하였다.
         추가로 Bern 대학의 Institute of Informatics and Applied Mathematics, 즉 Horst Bunke와 Urs-Viktor Marti에게 감사한다. 이들은 우리가 필기 양식 데이터베이스인 IAM[10]을 인식 실험에 쓰는 것을 허락하였다.
         == Linear Algebra and Its Applications (4th ed.) by David C. Lay ==
          * 보잉사의 공돌이들은 3D 모델링과 계산유체역학을 사용하여 차세대 상업 및 군사용 비행기를 설계한다. 이들은 비행기 주변의 기류를 시뮬레이션하고자 방정식과 변수를 대략 200만개 포함하는 일차 방정식을 반복하여 푼다. 이러한 거대한 방정식계를 현실적인 시간 내에 풀려면 분할 행렬(partitioned matrix)과 행렬 인수분해(matrix factorization)라는 개념을 도입해야 한다.
          http://mathworld.wolfram.com/HilbertMatrix.html
          http://en.wikipedia.org/wiki/Hilbert_matrix
  • 데블스캠프2004/금요일 . . . . 22 matches
          개발 역사는 사장 직전의 Java를 구한 Servlet-JSP 기술이 빠졌고, 2001년 기준의 'JavaTM 2 Playtform 1.3,'는 현재 J2SE 로 이름을 바꾸었지요. 1.4는 1년도 전에 나오고, 1.5 가 8월에 발표됩니다. Java는 major upgrade 시 많은 부분이 변경됩니다
          * Run -> Run As -> Java Application
          public static void main(String argv[]) {
          public static void main(String args[]) {
          static BufferedReader breader;
          f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
          public static int inputInt() throws IOException {
          public static String inputString() throws IOException {
          public static void main(String[] args) {
          } catch(IOException ex) {
          public static void main(String args[]) {
          public static void main(String args[]) {
          public static void main(String args[]) {
          gateway = sc.createGateway ()
          dir(gateway)
          z1 = gateway.createZealot ()
          d1 = gateway.createDragoon ()
          z1.setAttackTarget(d1)
          z1.printAttackTarget()
          z1.getAttackTarget().printHp()
  • 데블스캠프2012/넷째날/묻지마Csharp/서민관 . . . . 22 matches
         namespace WindowsFormsApplication1
          private void clicked(object sender, EventArgs e)
          private void pushButton_Click(object sender, EventArgs e)
          private void timer1_Tick(object sender, EventArgs e)
          private bool collide(Label label1, Label label2)
          if ( label1.Location.X + label1.Size.Width >= label2.Location.X && label1.Location.Y + label1.Size.Height >= label2.Location.Y ) {
          private void moveMonster(Label label)
          label.SetBounds(label.Location.X + moveX, label.Location.Y + moveY, label.Size.Width, label.Size.Height);
          private void replaceMonster(Label label)
          private void Form1_KeyUp(object sender, KeyEventArgs e)
          label1.SetBounds(label1.Location.X, label1.Location.Y - 5, label1.Size.Width, label1.Size.Height);
          label1.SetBounds(label1.Location.X, label1.Location.Y + 5, label1.Size.Width, label1.Size.Height);
          label1.SetBounds(label1.Location.X - 5, label1.Location.Y, label1.Size.Width, label1.Size.Height);
          label1.SetBounds(label1.Location.X + 5, label1.Location.Y, label1.Size.Width, label1.Size.Height);
  • 새싹교실/2012/아우토반 . . . . 22 matches
         [http://farm8.staticflickr.com/7255/6862539104_530f643d74_m.jpg http://farm8.staticflickr.com/7255/6862539104_530f643d74_m.jpg] [http://farm8.staticflickr.com/7227/7008654907_51bd5d3744_m.jpg http://farm8.staticflickr.com/7227/7008654907_51bd5d3744_m.jpg] [http://farm8.staticflickr.com/7128/7008654803_df7c62a259_m.jpg http://farm8.staticflickr.com/7128/7008654803_df7c62a259_m.jpg] [http://farm8.staticflickr.com/7260/7008654697_9d69842fe0_m.jpg http://farm8.staticflickr.com/7260/7008654697_9d69842fe0_m.jpg]
         [http://farm8.staticflickr.com/7221/6896354200_a76bbae164_m.jpg http://farm8.staticflickr.com/7221/6896354200_a76bbae164_m.jpg] [http://farm8.staticflickr.com/7062/6896353986_a9df8f88f2_m.jpg http://farm8.staticflickr.com/7062/6896353986_a9df8f88f2_m.jpg]
         [http://farm6.staticflickr.com/5450/6907926060_54ee870c62_m.jpg http://farm6.staticflickr.com/5450/6907926060_54ee870c62_m.jpg] [http://farm6.staticflickr.com/5332/7054045827_b55d1c2c3d_m.jpg http://farm6.staticflickr.com/5332/7054045827_b55d1c2c3d_m.jpg] [http://farm8.staticflickr.com/7086/6907954686_f3c9a4fe47_m.jpg http://farm8.staticflickr.com/7086/6907954686_f3c9a4fe47_m.jpg] [http://farm8.staticflickr.com/7226/6907954874_cfbda75e59_m.jpg http://farm8.staticflickr.com/7226/6907954874_cfbda75e59_m.jpg] [http://farm6.staticflickr.com/5319/6907954810_1000b41334_m.jpg http://farm6.staticflickr.com/5319/6907954810_1000b41334_m.jpg]
  • 오목/진훈,원명 . . . . 22 matches
         protected: // create from serialization only
          DECLARE_DYNCREATE(COmokView)
         // Attributes
         // Operations
          // ClassWizard generated virtual function overrides
          virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
          virtual void OnInitialUpdate();
         // Implementation
         // Generated message map functions
         private:
         //{{AFX_INSERT_LOCATION}}
         // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
         // OmokView.cpp : implementation of the COmokView class
         static char THIS_FILE[] = __FILE__;
         IMPLEMENT_DYNCREATE(COmokView, CView)
         BOOL COmokView::PreCreateWindow(CREATESTRUCT& cs)
          // the CREATESTRUCT cs
          return CView::PreCreateWindow(cs);
          // TODO: add draw code for native data here
          // default preparation
  • 2학기파이선스터디/모듈 . . . . 21 matches
         mymath.py 라는 파일로 저장한다..
         >>> import mymath
         >>> dir(mymath)
         >>> mymath
         <module 'mymath' from 'C:\Python22\mymath.py'>
         >>> mymath.c
         >>> mymath.add
         <function add at 0x00A927E0>
         >>> mymath.add(3,4)
         >>> mymath.mul(4,6)
         ['_StringTypes', '__builtins__', '__doc__', '__file__', '__name__', '_float', '_idmap', '_idmapL', '_int', '_long', 'ascii_letters', 'ascii_lowercase', 'ascii_uppercase', 'atof', 'atof_error', 'atoi', 'atoi_error', 'atol', 'atol_error', 'capitalize', 'capwords', 'center', 'count', 'digits', 'expandtabs', 'find', 'hexdigits', 'index', 'index_error', 'join', 'joinfields', 'letters', 'ljust', 'lower', 'lowercase', 'lstrip', 'maketrans', 'octdigits', 'printable', 'punctuation', 'replace', 'rfind', 'rindex', 'rjust', 'rstrip', 'split', 'splitfields', 'strip', 'swapcase', 'translate', 'upper', 'uppercase', 'whitespace', 'zfill']
         AttributeError: 'module' object has no attribute 'b'
  • AproximateBinaryTree/김상섭 . . . . 21 matches
         #include <math.h>
         typedef struct data * data_pointer;
         struct data
          vector<data> nodes;
          data_pointer left_child, right_child;
         bool comapare(data & a, data & b)
         void init(data_pointer dp)
         void createABT(data_pointer dp)
          dp->left_child = new data;
          createABT(dp->left_child);
          dp->right_child = new data;
          createABT(dp->right_child);
         void show(data_pointer dp)
         int cost(data_pointer dp, int level)
          data temp;
          data_pointer root = new data;
          createABT(root);
  • ClassifyByAnagram/Passion . . . . 21 matches
         import java.util.Enumeration;
         import java.util.Iterator;
          if (isCreated(itemList))
          itemList = createNewEntry(itemKey);
          private List createNewEntry(String itemKey) {
          private boolean isCreated(List itemList) {
          private List getItemLines() throws IOException {
          private boolean isValidLine(String line) {
          public static String sortString(String input) {
          if (buffer.charAt(i) > buffer.charAt(j))
          tmpChar = buffer.charAt(i);
          buffer.setCharAt(i, buffer.charAt(j));
          buffer.setCharAt(j, tmpChar);
          Enumeration enum = result.elements();
          Iterator iterator;
          iterator = list.iterator();
          for(;iterator.hasNext();)
          out.print((String)iterator.next());
          public static void main(String[] args) throws IOException
          private Parser parser;
  • CleanCode . . . . 21 matches
          * [서지혜]의 my-calculator 코드를 피어 리뷰함.
          * 클래스의 이름을 지을 때는 -info, -data와 같은 일반적인 이름을 쓰지 말라.
         private AccountInfo info;
          * [http://oddpoet.net/blog/2010/08/02/a-new-look-at-test-driven-development-kr/ BDD, Given/When/Then]
          * [http://whatwant.tistory.com/419 위와는 좀 다른 참고 사이트] - 이쪽이 전체적인 흐름이나 아파치 설정 관련은 좀 더 보기 괜찮은 것 같다.
          * String.append와 PathParser.render는 둘이 서로 문자열을 합치는 작업을 하더라도 직접적인 연산을 하는 것과 추상적인 연산을 하는 것의 차이로 서로 추상화 수준이 다르다고 할 수 있다.
          * Consider using try-catch-finally instead of if statement.
         var array = stringObject.match(/regexp/); // if there is no match, then the function returns null, if not returns array.
         var array = stringObject.match(/regexp/) || []; // if the function returns null, then substitute empty array.
         /* You can handle empty array with "array.length === 0" statement in anywhere after array is set. */
          * [서지혜]의 my-calculator 테스트 코드 리뷰
          * Separate Constructing a System from Using It.
          - 객체 사용 코드는 대개 application 레벨인 경우가 많은데, 객체 생성 방법이 바뀌어도 사용 부분은 그대로 유지할 수 있다.
          - 객체 생성시에 다양한 추가 작업들(proxy, lazy initialization 등)이 가능하다.
          * [http://wiki.zeropage.org/wiki.php/Gof/AbstractFactory Factory Pattern]
          - application 단계에서 Factory를 통해서 직접 객체를 생성하기 때문에 해당 객체의 생성 순간을 application에서 통제 할 수 있다.
          * EJB, Spring ... : 해당 framework에서 제공하는 다양한 방법들을 통해 xml, annotation 등의 간단한 설정으로 횡단 관심사에 관한 코드를 작성하지 않고도 해당 기능들을 자신의 프로그램에 넣을 수 있다.
          * proxy pattern in javascript
  • DataStructure/List . . . . 21 matches
          int data;
          private int ndata;
          public Node(int ndata)
          this.ndata=ndata;
          public int getData()
          return ndata;
          private Node pHead;
          private Node pTail=null;
          private static int nNumber=0;
          public void insertNode(int ndata,int nSequence)
          Node pNew=new Node(ndata);
          public void showData()
          int data;
          data=pTemp.getData();
          System.out.println(data);
          public static void main(String args[])
         ["DataStructure"]
  • NeoCoin/Server . . . . 21 matches
          * 8080 포트에 접속해 보고, 자칫 노출될수 있는 정보에 대하여 막는다. resin, tomcat 모두 8080 포트를 이용한 테스트를 한다.
         === Tomcat ===
         rdate -s opera
         == Tomcat 설치 ==
         bzcat /usr/src/linux-2.4.7.tar.bz2 | (cd /usr/src; tar xvf -)
         bzcat /usr/src/linux-2.4.7.tar.bz2 | (cd /tmp; tar xvf -)
         patch_the_kernel := YES
         repeat_type에서 ms3을 제거해준다...
         cat /dev/hdxx > image.iso
         rdate -s time.kriss.re.kr
         하지만 ntpdate를 추천
         text/html; w3m -dump %s; nametemplate=%s.html; copiousoutput
         cd "`cat $MC`"
         du -h --max-depth=1 <path>
         netstat -nap
         /fset format_PUBLIC %g$2%y[$0]%B<%n$1%B>%n $3-
         /fset format_SEND_PUBLIC %G$1%Y[$0]%P<%n$2%P>%n $3-
         /wnc marathon
         tar -cf - . | (cd <path> && tar xBf -)
         tar -c <old_path> cf - . | tar -c <new_path> xf -
  • NumberBaseballGame/성재 . . . . 21 matches
          int rmatch[3];
          rmatch[0] = rand() % 10;
          rmatch[1] = rand() % 10;
          rmatch[2] = rand() % 10;}
          while(rmatch[0]==rmatch[1] || rmatch[1]==rmatch[2] || rmatch[0]==rmatch[2]);
          cout << rmatch[0]<< rmatch[1]<< rmatch[2];
          int match[3];
          match[0]=num/100;
          match[1]=(num%100)/10;
          match[2]=num%10;
          if(i==j && match[i]==rmatch[j])
          else if(i!=j && match[i]==rmatch[j])
  • [Lovely]boy^_^/영작교정 . . . . 21 matches
         = Template =
          * [[HTML(<STRIKE>)]] Do you foresee that new system has some problems?[[HTML(</STRIKE>)]]
          * 이번엔 어순에 문제가 있다. 또한 나는 영작할때 잘 안풀리면 무조건 that을 넣고 본다는 것도 알게 되었다.
          * [[HTML(<STRIKE>)]] It is impossible to ascertain that who was here until last.[[HTML(</STRIKE>)]]
          * [[HTML(<STRIKE>)]] He will terminate the argument at there.[[HTML(</STRIKE>)]]
          * He will terminate the argument there.
          * [[HTML(<STRIKE>)]] I was obliged to leave after such a unpleasantly battle.[[HTML(</STRIKE>)]]
          * I was obliged to leave after such an unplesant battle.
          * 크윽..--; 모음 앞에는 an이란걸 망각하다니.. battle이 명사니까 형용사형이 와야했는데..--; 왜 그랬지--;
          * [[HTML(<STRIKE>)]] It is refreshing that meet with man has same thinking.[[HTML(</STRIKE>)]]
          * 또 that 썼다가 틀렸다. 관사도 문제가 있고.. 관개대명사도..--;
          * [[HTML(<STRIKE>)]] I am reluctant that involved a happening.[[HTML(</STRIKE>)]]
          * [[HTML(<STRIKE>)]] Childs were very suprised that sound so they screamed.[[HTML(</STRIKE>)]]
          * Children were very suprised at that sound so they screamed.
          * [[HTML(<STRIKE>)]] The prisoner's action shows that why he is a danger to sociery. [[HTML(</STRIKE>)]]
          * I tried desperately to prevent the disaster.
          * Iraq backed off because it was threatened by air strikes.
          * That soccer game was canceled before 30 minutes to kick off.
          * That soccer game was canceled 30 minutes before kick off.
  • cookieSend.py . . . . 21 matches
         #format python
         def generateCookieString(aDict):
          str = [key+'='+data for key,data in aDict.items()]
          header = {"Content-Type":"application/x-www-form-urlencoded",
          "Accept":"image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, */*"}
          header['Cookie'] = generateCookieString(cookieDict)
          print response.status, response.reason
          data = response.read()
          httpData= {}
          httpData['response'] = data
          httpData['cookie'] = response.getheader('Set-Cookie')
          httpData['msg'] = response.msg
          return httpData
          httpData = getResponse(host="zeropage.org", webpage="/~reset/testing.php", method='GET', paramDict=params, cookieDict=cookie)
          print "return cookie : ", httpData['cookie']
          printResponse(httpData['response'])
          printResponse(httpData['msg'])
  • 변준원 . . . . 21 matches
         int matrix[5][5];
          int matrix[max][max];
          matrix[i][j]=0;
          matrix[a][b]=1;
          matrix[x][y]=1;
          matrix[x][y]=1;
          if(matrix[m][n]==1)
          cout << matrix[ga][se];
          wc.hIcon = LoadIcon( NULL, IDI_APPLICATION );
          hWnd = CreateWindowEx( 0, "DXTEST", "DXTEST",
          UpdateWindow(hWnd);
          TranslateMessage( &msg );
          DispatchMessage( &msg );
          int matrix[max][max];
          matrix[i][j]=0;
          matrix[x][y]=1;
          if(matrix[x][y]==0) //자리 확인
          matrix[x][y]=matrix[x][y]+1;
          matrix[x][y]=matrix[x][y]+1;
          cout << matrix[ga][se] << "\t";
  • 새싹교실/2012/앞부분만본반 . . . . 21 matches
         1장 Linear Equations in Linear Algebra 에서
         Linear Equations 와 Matrices 의 비교,
         Linear System이 무엇인지 설명 -> Linear Equation의 집합
         Linear System 과 Matrix equation사이의 상관관계를 설명함.
         L.S <-> matrix equation
         Ax=b 에서 A : coefficient matrix (계수 행렬) -> mxn행렬일 경우 -> 방정식의 수 : m 미지수의 수 : n
         ex) let Ax=b with A: 4x5 matrix -> L.S : 방정식 4개 , 미지수 5개
         *elimination(소거법) 에 대한 설명
         -> 연립일차방정식을 matrix equation 꼴로 거기에 더나아가 augmented matrix 꼴로 나아가는 뱡향으로 설명함
         소거법에 따른 Elementary Equation Operations(E.E.O)(L.S and Ax=b)와 Elementary Row Operations(E.R.O)([A b])에 대해서 비교, 설명함.
         ||Elementary Equation Operations(E.E.O)||
         ||Elementary Row Operations(E.R.O)||
          A system of linear equation is said to be consistent if it has either one solution or infinitely many solutions; a system is inconsistent if it has no solution.
  • 오목/곽세환,조재화 . . . . 21 matches
         protected: // create from serialization only
          DECLARE_DYNCREATE(COhbokView)
         // Attributes
         // Operations
          // ClassWizard generated virtual function overrides
          virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
         // Implementation
         // Generated message map functions
         //{{AFX_INSERT_LOCATION}}
         // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
         // ohbokView.cpp : implementation of the COhbokView class
         static char THIS_FILE[] = __FILE__;
         IMPLEMENT_DYNCREATE(COhbokView, CView)
         BOOL COhbokView::PreCreateWindow(CREATESTRUCT& cs)
          // the CREATESTRUCT cs
          return CView::PreCreateWindow(cs);
          // TODO: add draw code for native data here
          // default preparation
          // TODO: add extra initialization before printing
          Invalidate();//순간순간마다 출력됨
  • 자료병합하기/조현태 . . . . 21 matches
         int *result_data;
         void print_data(char, int* , int );
         void save_data(int);
         const int END_OF_DATA=99;
          result_data=(int*)malloc((sizeof(a)+sizeof(b))*sizeof(int));
          for (register int i=0; a[i]!=END_OF_DATA; ++i)
          save_data(b[read_point]);
          save_data(a[i]);
          save_data(END_OF_DATA);
          print_data('a', a , sizeof(a)/sizeof(int) );
          print_data('b', b , sizeof(b)/sizeof(int) );
          print_data('c', result_data , write_point );
          free(result_data);
         void print_data(char what_is, int *data_for_print, int size)
          cout << what_is << "= ";
          cout << data_for_print[i] << " ";
         void save_data(int data_for_save)
          result_data[write_point]=data_for_save;
  • AcceleratedC++/Chapter5 . . . . 20 matches
         || ["AcceleratedC++/Chapter4"] || ["AcceleratedC++/Chapter6"] ||
          == 5.1 Separating students into categories ==
          == 5.2 Iterators ==
          * 여태껏 잘쓰던 벡터형 변수[n]은 벡터의 n번째 요소를 말한다. 지금까지 하던거 보면 루프 안에서 ++i 이거밖에 없다. 즉 순차적으로만 놀았다는 뜻이다. 우리는 알지만 컴파일러는 알길이 없다. 여기서 반복자(Iterators)라는 것을 알아보자.
         for(vector<Student_info>::const_iterator i = students.begin() ; i != students.end() ; ++i)
          === 5.2.1 Iterator types ===
          * const_iterator : 값을 변경시키지 않고 순회할때
          * iterator : 그냥 순회할때
          * 필요에 따라 iterator에서 const_iterator로 캐스팅된다. 반대는 안된다.
          === 5.2.2 Iterator Operations ===
          == 5.3 Using iterators instead of indices ==
          vector<Student_info>::iterator iter = students.begin();
         vector<Student_info>::iterator iter = students.begin(). end_iter = students.end();
          == 5.4 Ranking our data structure for better performance ==
         for(vector<string>::const_iterator i = bottom.begin(); i != bottom.end(); ++i)
         ["AcceleratedC++"]
  • Ant/JUnitAndFtp . . . . 20 matches
          <property name="ftptestreportpath" value="/1002/web/htmlreport"/>
          <classpath>
          <pathelement location="${lib}/jsdk23.jar"/>
          <pathelement location="${lib}/junit.jar"/>
          </classpath>
          <classpath>
          <pathelement location="${lib}/jsdk23.jar"/>
          <pathelement location="${build}"/>
          </classpath>
          <formatter type="xml"/>
          <batchtest fork="yes" todir="${report}">
          </batchtest>
          <report format="frames" todir="${report}/html"/>
          action="del" remotedir="${ftptestreportpath}">
          action="mkdir" remotedir="${ftptestreportpath}"/> -->
          action="put" remotedir="${ftptestreportpath}">
  • GRASP . . . . 20 matches
         '''''이 내용은 Applying UML and Patterns CHAPTER 22 [GRASP]에서 얻어온 것입니다'''''
         == Information Expert ==
         == Creator ==
         === Related Patterns ===
          Protected Variations
          Adapter, Command, Composite, Proxy, State, Strategy
         == Pure Fabrication ==
          Pure Fabrication 클래스를 식별하는 것은 중대한 일이 아니다. 이는 어떤 소프트웨어 클래스는 도메인을 표현하기 위한 것이고 어떤 소프트웨어 클래스는 단순히 객체 설계자가 편의를 위해 만든 것이라는 일반적인 점을 알리기 위한 교육적인 개념이다. 편의를 위한 클래스들은 대개 어떤 공통의 행위들을 함께 그룹짓기 위해 설계되며, 이는 표현적 분해보다는 행위적 분해에 의해 생성된다.
          * 표현적 분해(Representational Decomposition) : 도메인 상의 어떤 것에 연관되어 있거나 그것을 표현
         === Related Patterns ===
          Adapter, Command, Strategy
         == Protected Variations ==
         그 외에 [DavidParnas]의 On the Criteria To Be Used in Decomposing Systems Into Modules에서 [InformationHiding] 개념을 소개했고 [DataEncapsulation]과 혼동하는 경우가 많았다고 말해주네요. [OCP]에 대해서도 이야기해 주고 ...
         PatternCatalog
  • JTDStudy/첫번째과제/정현 . . . . 20 matches
          public void testNumberCreation() {
          assertFalse(baseBall.duplicated(number));
          public void testDuplicated() {
          assertTrue(baseBall.duplicated("101"));
          assertTrue(baseBall.duplicated("122"));
          assertFalse(baseBall.duplicated("123"));
          public static void main(String[] args) {
          System.out.println("what are you doing?");
          private Beholder beholder;
          private Extractor extractor;
          private String number;
          } catch(Exception e) {
          return number.length()==3 && !duplicated(number);
          public boolean duplicated(String number) {
          int index= (int)(Math.random()*numbers.size());
          number+= numbers.elementAt(index);
          numbers.removeElementAt(index);
          private void initNumbers() {
          private int ballLimit(int nBall) {
          private String getOneWord(Set<String> set) {
  • MoinMoinNotBugs . . . . 20 matches
          The main, rectangular background, control and data area of an application. <p></ul>
          A temporary, pop-up window created by the application, where the user can
         enter information and provide commands. <p></ul>
         '''The HTML being produced is invalid:''' ''Error: start tag for "LI" omitted, but its declaration does not permit this.'' That is, UL on its lonesome isn't permitted: it must contain LI elements.
         Also worth noting that ''Error: Missing DOCTYPE declaration at start of document'' comes up at the HEAD tag; and ''Error: document type does not allow element "FONT" here'' for a FONT tag that's being used inside a PRE element.
         Please note also that to be "identical," the second P tag should ''follow'' the /UL, not precede it. The implication as-is is that the P belongs to the UL block, when it doesn't. It may be worth using closing paragraph tags, as an aide to future XHTML compatibility, and to make paragraph enclosures wholly explicit.
         I suspect this problem is pervasive, and I also suspect that the solution is almost moot; probably a one-off counting problem, or a mis-ordered "case" sort of sequence. If the /UL closing tag were to precede the P opening tag, all would be well.
         Hey! That ToC thing happening at the top of this page is *really* cool!
         ''This issue will be resolved in the course of XML formatting -- after all, XML is much more strict than any browser.''
  • OptimizeCompile . . . . 20 matches
         === Basic of Compiler Optimization ===
         현재 프로세서의 속도는 [무어의 법칙]에 따라 극한으로 속도가 증가하고 있다. 이러한 상황에서는 예전처럼 [CPU] 의 속도 에 프로그램의 실행속도가 크게 영향 받지는 않으므로, 컴파일러의 최적화 작업도 더이상 연산(computation)을 줄이는 것 만이 목적이 되는 것이 아니라, 좀 더 메모리 계층구조를 효율적으로 사용하는 것에 관심이 기울여지게 된다.
          ''Local optimization 과 Global optimization.''
         프로그램(translation unit)은 진행방향이 분기에 의해 변하지 않는 부분의 집합인 basic block 들로 나눌 수 있는데 이 각각의 block 에 대하여 최적화 하는 것을 local optimization 이라 하고, 둘 이상의 block 에 대하여, 혹은 프로그램 전체를 총괄하는 부분에 대하여 최적화 하는 것을 global optimization 이라고 한다.
         모든 최적화 작업은 시간 효율에 대하여, 혹은 공간 효율에 대하여 최적화를 하게 되는데, 밑의 각 섹션에 따라 분리 할 수 있다. 이 작업들은 서로 상호 보완적으로 이루어지거나 혹은 상호 배제적으로 이루어 질 수 있다. (e.g. latency 를 줄일 경우 코드 길이가 길어지거나 복잡도가 증가할 수 있다.)
         ==== Reduction of computation ====
         실행 시간(run time) 중의 계산을 줄이는 것이 목적이다. 이 최적화는 '미리 컴파일 시간에 계산(precomputaion in compile time)' 할 수 있거나, '미리 계산된 값을 재사용(reuse a previously computated value)' 할 수 있는 상황에서 적용된다.
         '''Constant propagation'''
         컴파일러는 constant propagation 과 constant folding 을 반복하여 수행한다. 각각 서로의 가능성을 만들어 줄 수 있으므로, 더이상 진행 할 수 없을 때까지 진행한다.
         ''' Copy propagation'''
         '''Common subexpression elimination'''
         컴퓨터가 할 수 있는 연산 들은 각각 그 연산이 수행되는데 걸리는 시간의 차이가 있다. 연산에 복잡도에 의해서 이루어지는 현상인데, 극단적인 예를 들자면, shift 연산은 보통 2 클럭에 처리되는 반면에, 나누기 연산의 경우 80-90 클럭을 소모하게 된다.(i8088자료) 이런 연산에 대한 computation time 의 차이를 줄이는 최적화 방법을 strength reduction 이라고 한다.
         와 같은 코드에서 a[i] 의 주소는 루프가 진행됨에 따라 계속 evaluate 된다. 그럼 a + (i * 8) 이 매번 반복되게 된다. 이러한 연산은 단순히 루프가 진행되며 a 의 주소에 8 씩을 더해주는 것으로 해결될 수 있다.
          '''Algebraic simplification'''
         수학적으로 같은 값을 가지는 수로 대치하는 것이 바로 algebraic simplification 이다.
         ==== Reduction of latency ====
         === More advanced mothodology of compiler optimization ===
  • ProgrammingLanguageClass/Report2002_2 . . . . 20 matches
         No report will be accepted after due date.
          1. To assess the type-compatibility rule adopted by the Compilers;
          * 컴파일러가 적용하는 type-compatibility 규칙(묵시적 형변환 따위) 에 대한 평가.
          ''DeleteMe) 여기서는 name-compatibility 와 structured-compatibility를 이야기하는것 같은데 --석천''
          1. To evaluate the security of pointers in the Compilers;
          1. To check the evaluation order of operands in the Compilers by raising the functional side-effects if possible;
          1. To identify a situation in which the “add” operator would not be associative;
          * "add" 연산자(operator)가 쓰일수 없는 상황에 대하여 확인하기
          1. To determine the largest and smallest positive floating point number in Intel Pentium processor.
         The output should be a sequence of test programs with the results generated from them. Your grade will be highly dependent on the quality of your test programs.
         As usual, you shall submit a floppy diskette with a listing of your program and a set of test data of your own choice, and the output from running your program on your test data set.
         Be sure to design carefully your test data set to exercise your program completely. You are also recommended in your documentation to include the rationale behind your test programs.
         In order words, explain why you design them in such a way and what you intend to demonstrate
  • ProjectPrometheus/CookBook . . . . 20 matches
         Pattern pattern = Pattern.compile( find ); // 패턴 컴파일
         Matcher matcher = pattern.matcher( html ); // 패턴 찾기
         matcher.group(1); // 사용 (교체하거나 여러가지 할수 있음)
          * 마이크로 에그 타이머 http://users.informatik.fh-hamburg.de/~rohde_i/eggtimer/mr-egg-z.zip
          <res-type>javax.sql.DataSource</res-type>
          2. environment 변수를 근거로 Data Source 얻고
          3. Data Source 를 근거로 Connection 얻고 Connection 을 이용.
          4. Connection 객체로 Statement 객체를 얻고
          5. Statement 객체로 SQL 수행. ResultSet 객체 얻기.
          DataSource source = ( DataSource )( env.lookup( "jdbc/zeropage" ) );
          Statement stmt = conn.createStatement();
          ResultSet rs = stmt.executeQuery("......... some query statement ...................");
         .../Prometheus$ java -cp "$CLASSPATH:./bin" junit.textui.TestRunner org.zeropage.prometheus.test.AllAllTests
  • Refactoring/BigRefactorings . . . . 20 matches
          * You have an inheritance hierarchy that is doing two jobs at once.[[BR]]''Create two hierarchies and use delegation to invoke one from the other.''
         http://zeropage.org/~reset/zb/data/TeaseApartInheritance.gif
          * You have code written in a procedural style.[[BR]]''Turn the date records into objects, break up the behavior, and move the behavior to the objects.''
         http://zeropage.org/~reset/zb/data/ConvertProceduralDesignToObjects.gif
         == Separate Domain from Presentation ==
          * You have GUI classes that contain domain logic.[[BR]]''Separate the domain logic into separate domain classes.''
         http://zeropage.org/~reset/zb/data/SeparateDomainFromPresentation.gif
          * You have a class that is doing too much work, at least in part through many conditional statements.[[BR]]''Create a hierarchy of classes in which each subclass represents a special case.''
         http://zeropage.org/~reset/zb/data/ExtractHierarchy.gif
  • Refactoring/SimplifyingConditionalExpressions . . . . 20 matches
          * You have a complicated conditional (if-then-else) statement. [[BR]] ''Extract methods from the condition, then part, and else parts.''
          if (data.before( SUMMER_START ) || data.after(SUMMER_END) )
          charge = quantity * _winterRate + _winterServeceCharge;
          else charge = quantity * _summerRate;
          if (notSummer(date))
          else charge = summerCharge(quatity);
         == Consolidate Conditional Expression ==
         == Consolidate Duplicate Conditional Fragments ==
          * A method has conditional behavior that does not make clear the normal path of execution [[BR]] ''Use guard clauses for all the special cases.''
          if (_isSeparated) result = separatedAmount();
          if (_isSeparated) return separatedAmount();
          * You have a conditional that chooses different behavior depending on the type of and object [[BR]] ''Move each leg of the conditional to an overriding method in a subclass. Make the orginal method abstract.''
          * You have repeated checks for a null value[[BR]] ''Replace the null value with a null object.''
          * A section of code assumes something about the state of the program. [[BR]]''Make the assumption explicit with an assertion.''
  • VMWare/OSImplementationTest . . . . 20 matches
         - Netwide Asm으로 at&t 계열 및 intel 계열 둘다 지원하고 target format
         [ORG 0x7C00] ; The BIOS loads the boot sector into memory location
          mov bx, 0h ; Destination address = 0000:1000
          mov ax, 10h ; Save data segment identifyer
          mov ds, ax ; Move a valid data segment into the data segment register
          mov ss, ax ; Move a valid data segment into the stack segment register
         gdt_data: ; Data segment, read/write, expand down
         gdt_end: ; Used to calculate the size of the GDT
         input file %s. Aborting operation...", args[i]);
         먼저 Win32 Console Application으로 간단히 프로젝트를 생성합니다.
         Deleting intermediate files and output files for project 'testos - Win32 Release'.
         --------------------Configuration: testos - Win32 Release--------------------
          Upload:zeropage:VMWareOSImplementationTest01.gif
          Upload:zeropage:VMWareOSImplementationTest02.gif
          Upload:zeropage:VMWareOSImplementationTest03.gif
          Upload:zeropage:VMWareOSImplementationTest04.gif
          Upload:zeropage:VMWareOSImplementationTest05.gif
  • [Lovely]boy^_^/Diary/2-2-10 . . . . 20 matches
          * SBPP 2장 Patterns 읽었다.
          * ["SmalltalkBestPracticePatterns/Behavior/ComposedMethod"] 읽고 요약.
          * 오늘의 XB는 삽질이었다.--; Date클래스의 날짜, 월 등등이 0부터 시작한다는 사실을 모르고 왜 계속 테스트가 failed하는지 알수가 없었던 것이었다. 덕택에 평소엔 거들떠도 안보던 Calendar, 그레고리Date, SimpleData등등 날짜에 관련된 클래스들을 다 뒤져볼수 있었다. 하지만..--; 결국 Date클래스에서 끝났다. 이제 UI부분만 하면 될듯하다.
          * The XB Project starts really. A customer is Jae-dong. So we determine to programm network othelo, that Jae-dong's preparation. At first, we start hopefully, but..--; after all integration is failed. In our opinion, we start beginner's mind. but we learned much, and interested it. And new customer is Hye-sun. Since now, our project begins really. Since tomorrow, during 2 weeks, we'll focus on TDD and pair programming with simple programming.
          * I read the SBPP's 2nd chapter - Patterns -.
          * ["SmalltalkBestPracticePatterns/Behavior/ComposedMethod"] read and summary.
          * Today's XB is full of mistakes.--; Because Java Date class's member starts with 0, not 1. so our tests fail and fail and fail again.. So we search some classes that realted with date.- Calendar, GregoryDate, SimpleDate.. - but--; our solution ends at date class. Out remain task is maybe a UI.
          * Arcanoid documentation end.
          * Arcanoid presentation end.
  • django . . . . 20 matches
          * [http://www.djangoproject.com/documentation/modpython/] 이 페이지를 참고.
          * html 이 있는 template 에 많은 것을 바라지 말자. 가능하면 view에서 데이터를 거의다 처리해서 template에 넘기는것이 좋다. template에서 받아온 데어터로 리스트와 맵 변수의 첨자(subscriber)로 사용하려고 했는데 안된다. 이러한 경우에는 view에서 데이터를 아예 가공해서 넘기는 것이 좋다.
         <Location "/<웹을 통해 접근할 주소>">
          PythonPath "['<프로젝트 부모폴더>'] + sys.path"
         </Location>
         [예시] /path/to/project/mysite 에 settings.py 파일이 있는 경우
         <Location "/mysite"> #http://localhost/mysite
          PythonPath "['/path/to/project'] + sys.path"
         </Location>
         <Location "/mysite/">
         http://www.djangoproject.com/documentation/modpython/
          * [http://www2.jeffcroft.com/2006/feb/25/django-templates-the-power-of-inheritance/] : Template HTML 파일 사용법
          * [http://www.b-list.org/weblog/2006/06/13/how-django-processes-request] : Template 에서의 변수 참조에 대한 설명. 필수!!, 리스트나, 맵, 함수등에 접근하는 방법
          * [django/AggregateFunction]
  • html5/webSqlDatabase . . . . 20 matches
          * WebSqlDatabase는 보다 구조적이고 체계화된 관계형 데이터 베이스를 대량으로 저장
         if(!!window.openDatabase) {
          alert("현재 브라우저는 Web SQL Database를 지원합니다")
          alert("현재 브라우저는 Web SQL Database를 지원하지 않습니다")
         == Indexed Database ==
          * SeeAlso) [html5/indexedDatabase]
          * Indexed Database는 새로 등장한 또다른 로컬 저장소 스펙이다
          * 2009년 말까지 사양 책정이 진행중이던 Web SQL Database 의 대안으로 탄생했다
          * 현재 Web SQL Database 는 사양 책정이 중지된 상태이며, IndexedDB 라는 새로운 스펙이
          html5rocks.webdb.db = openDatabase('Todo', '1.0', 'todo manager', dbSize);
          // re-render all the data
         html5rocks.webdb.createTable = function() {
          tx.executeSql('CREATE TABLE IF NOT EXISTS ' +
          'todo(ID INTEGER PRIMARY KEY ASC, todo TEXT, added_on DATETIME)', []);
          var addedOn = new Date();
          html5rocks.webdb.createTable();
         var db = openDatabase('mydb', '1.0', 'my first database', 2 * 1024 * 1024);
          tx.executeSql('CREATE TABLE IF NOT EXISTS foo (id unique, text)');
          * http://www.html5rocks.com/tutorials/webdatabase/todo/
          * http://html5doctor.com/introducing-web-sql-databases/
  • 데블스캠프2008/등자사용법 . . . . 20 matches
         Flatstar
         <165.194.17.123 - Flatstar>
         <165.194.17.123 - Flatstar>
         <165.194.17.123 - Flatstar>
         <165.194.17.123 - Flatstar>
         <165.194.17.123 - Flatstar>
         <165.194.17.123 - Flatstar>
         <165.194.17.123 - Flatstar>
         <165.194.17.123 - Flatstar>
         <165.194.17.123 - Flatstar>
         누군가가 Accelerated C++을 평한 글이다.
         <165.194.17.123 - Flatstar>
         재미없는 일은 하기 힘들다 재미있게 공부를 하면 좋은 결과를 얻을 수 있다. 따라서 자기가 재미있게 느끼는 부분을 공부하고 그 부분과 연관된 것들을 공부한다던지 같이 공부한다던지 여러 자료를 사용한다던지 해서 재미있게 만들면 즐겁게 공부하면서 좋은 성과를 얻을 수 있다. - FLATSTAR-
         <165.194.17.123 - Flatstar>
         <165.194.17.123 - Flatstar>
         <165.194.17.123 - Flatstar>
         -flatstar
         <165.194.17.123 - Flatstar>
         <165.194.17.123 - Flatstar>
         <165.194.17.123 - Flatstar>
  • 방울뱀스터디/만두4개 . . . . 20 matches
          #ball = canvas.create_oval(x - 1, y - 1, x + CELL + 1, y + CELL + 1, fill='white', outline = 'white')
          #img2 = canvas.create_oval(1, 1, 13, 13, fill='white', outline = 'white')
          canvas.create_line(row, col, row+speed, col, fill="red")
          canvas.create_line(row, col, row-speed, col, fill="red")
          #canvas.create_line(x, y, row, col, fill="red")
          canvas.create_line(row, col, row, col-speed, fill="red")
          canvas.create_line(row, col, row, col+speed, fill="red")
          #canvas.create_rectangle(GAP, GAP, MAX_WIDTH - GAP, MAX_HEIGHT - GAP)
          #canvas.create_image(x, y, anchor=NW, image=playerImg)
          # canvas.create_line(row, col+8, row + speed, col+8, fill="red")
          # canvas.create_line(row + speed + 8, col+8, row + 8, col+8, fill="red")
          # canvas.create_line(row + 8, col+ speed + 8, row + 8, col + 8 , fill="red")
          # canvas.create_line(row + 8, col, row + 8, col +speed, fill="red")
          root.title('Python Ground Eat')
          canvas.create_rectangle(GAP, GAP, MAX_WIDTH - GAP, MAX_HEIGHT - GAP)
          img = canvas.create_oval(x,y,x+10,y+10,width = 0, fill="red", tags="oval")
          #canvas.create_image(x, y, anchor=NW, image=playerImg)
          #canvas.create_image(x, y, anchor=NW, image=oval)
         canvas.create_image(0, 0 , anchor=Tkinter.NW, image = frontImg)
          canvas.create_image(col * CELL, row * CELL , anchor=Tkinter.NW, image = imgList[row][col])
  • 새싹교실/2011/Noname . . . . 20 matches
          ||실수형||float||4 byte(32 bit)||10^-37 이상 10^38 이하||
          statement1;
          statement2;
          statement1;
          statement2;
          statements
          statements
          statements
          statements
          * switch의 경우 statement 에 break의 사용을 까먹지 맙시다.
          statement1;
          statement2;
          expr2조건 확인 -> 조건에 충족될때 statement실행 -> expr3 ->
          expr2조건 확인 -> 조건에 충족될때 statement실행 -> expr3 ->
          statement1;
          statement2;
          * expression이 충족될 경우 statement를 실행한다.
          statement1;
          statement2;
          * while문과 비슷하지만 do_while문은 statement를 무조건 한번은 출력한다.(그 뒤에 조건확인.)
  • 스네이크바이트/C++ . . . . 20 matches
         private:
          int Math; //수학성적
          student(char *name, int id, int math, int kor, int eng);//생성자
          int getMath(); //수학점수에 접근
         student::student(char *name, int id, int math, int kor, int eng)
          Math = math; //수학점수초기화
          return Math + Korean + English;//총점리턴
         int student::getMath()
          return Math; //수학점수리턴
          if(stu[i].getMath() > Max)
          Max = stu[i].getMath();
          char data;
          type1.data = 'a';
          type2.data = 'b';
          cout << (*(type1.link)).data << endl;
          char data;
          array[0].data = input;
          array[index].data = input;
          cout << pNode->data << " ";
  • 2002년도ACM문제샘플풀이/문제B . . . . 19 matches
         int numOfData;
         string inputData[10];
         int outputData[10];
         string pattern;
          index=pattern.find_first_of(c);
          pattern = pattern.substr(0, index) + pattern.substr(index + 1);
          cin >> numOfData;
          for(int i=0;i<numOfData;i++)
          cin >> inputData[i];
          for(int i=0;i<numOfData;i++)
          pattern = "abcdefgh";
          index = getIndex(inputData[i][j]);
          outputData[i] += addNumber * index;
          outputData[i]++;
          for(int i=0;i<numOfData;i++)
          cout << outputData[i] << endl;
          next_permutation(str.begin(), str.end());
  • 2002년도ACM문제샘플풀이/문제E . . . . 19 matches
         struct InputData
         int numberOfData;
         InputData inputData[10];
         int outputData[10];
          cin >> numberOfData;
          for(int i=0;i<numberOfData;i++)
          cin >> inputData[i].n;
          for(int j = 0 ; j < inputData[i].n ; j++)
          cin >> inputData[i].weight[j];
          InputData temp;
          for(int i=0;i<numberOfData;i++)
          temp = inputData[i];
          sort(&temp.weight[0],&temp.weight[inputData[i].n]);
          for(int j=0;j<inputData[i].n;j++)
          if(temp.weight[j]!=inputData[i].weight[j])
          outputData[i]=totalWeight;
          for(int i=0;i<numberOfData;i++)
          cout << outputData[i] << "\n";
  • 5인용C++스터디/버튼과체크박스 . . . . 19 matches
         afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
          ON_WM_CREATE()
         int CMy111View::OnCreate(LPCREATESTRUCT lpCreateStruct)
          if (CView::OnCreate(lpCreateStruct) == -1)
         // Create a push button.
         myButton1.Create(_T("푸시 버튼"), WS_CHILD|WS_VISIBLE|BS_PUSHBUTTON,
         // Create a radio button.
         myButton2.Create(_T("라디오 버튼"), WS_CHILD|WS_VISIBLE|BS_RADIOBUTTON,
         // Create an auto 3-state button.
         myButton3.Create(_T("3상태 버튼"), WS_CHILD|WS_VISIBLE|BS_AUTO3STATE,
         // Create an auto check box.
         myButton4.Create(_T("체크박스"), WS_CHILD|WS_VISIBLE|BS_AUTOCHECKBOX,
         ||BST_UNCHECKED|| Button state is unchecked. ||
         ||BST_CHECKED|| Button state is checked. ||
         ||BST_INDETERMINATE|| Button state is indeterminate (applies only if the button has the BS_3STATE or BS_AUTO3STATE style). ||
          else if(check3==BST_INDETERMINATE)
  • BlueZ . . . . 19 matches
         = What is BlueZ =
         The overall goal of this project is to make an implementation of the Bluetooth™ wireless standards specifications for Linux. The code is licensed under the GNU General Public License (GPL) and is now included in the Linux 2.4 and Linux 2.6 kernel series.
          // allocate socket
          // read data from the client
          int s, status;
          // allocate a socket
          status = connect(s, (struct sockaddr *)&addr, sizeof(addr));
          if( status == 0 ) {
          status = write(s, "hello!", 6);
          if( status < 0 ) perror("uh oh");
          // allocate socket
          // read data from the client
          int s, status;
          // allocate a socket
          status = connect(s, (struct sockaddr *)&addr, sizeof(addr));
          if( status == 0 ) {
          status = write(s, "hello!", 6);
          if( status < 0 ) perror("uh oh");
  • EcologicalBinPacking/강희경 . . . . 19 matches
         #define NumberOfResultInformations 2
         void output(int *aInformation);
          int *resultInformation = new int[NumberOfResultInformations];
          resultInformation[0] = minimumCase;
          resultInformation[1] = aSlots[9];
          return resultInformation;
         void output(int *aInformation)
          string colorsCombination[] = {"BGC", "BCG", "GBC", "GCB", "CBG", "CGB"};
          cout << colorsCombination[aInformation[0]] << aInformation[1] << endl;
          delete aInformation;
         void output(int *aInformation)
          string colorsCombination[] = {"BGC", "BCG", "GBC", "GCB", "CBG", "CGB"};
          cout << colorsCombination[aInformation[0]] << aInformation[1] << endl;
          delete aInformation;
  • FundamentalDesignPattern . . . . 19 matches
         == Fundamental Design Patterns ==
         DesignPatterns 의 패턴들에 비해 구현이 간단하면서도 필수적인 패턴. 전체적으로 가장 기본이 되는 소형 패턴들. 다른 패턴들과 같이 이용된다. ["Refactoring"] 을 하면서 어느정도 유도되는 것들도 있겠다. (Delegation의 경우는 사람들이 정식명칭을 모르더라도 이미 쓰고 있을 것이다. Java 에서의 InterfacePattern 도 마찬가지.)
         기본적인 것으로는 Delegation, DoubleDispatch 가 있으며 (SmalltalkBestPracticePattern에서 언급되었던 것 같은데.. 추후 조사), 'Patterns In Java' 라는 책에서는 Delegation 과 Interface, Immutable, MarkerInterface, Proxy 를 든다. (Proxy 는 DesignPatterns 에 있기도 하다.)
          * DelegationPattern
          * DoubleDispatch
          * InterfacePattern
          * ImmutablePattern
         근데, 지금 보면 저건 Patterns in Java 의 관점인 것 같고.. 그렇게 '필수적 패턴' 이란 느낌이 안든다. (Proxy 패턴이 과연 필수개념일까. RPC 구현 원리를 이해한다던지 등등이라면 몰라도.) Patterns in Java 에 있는건 빼버리는 것이 좋을 것 같다는 생각. (DoubleDispatch 는 잘 안이용해서 모르겠고 언어 독립적으로 생각해볼때는 일단은 Delegation 정도만?) --["1002"]
  • HelpOnLinking . . . . 19 matches
         /!\ 이 문법은 매크로 문법과 충돌합니다. 예를 들어 {{{[[Date]]}}}라고 링크를 걸면 Date가 링크가 되는 대신에, Date 매크로가 호출되게 됩니다. 따라서 영문으로 된 페이지 이름을 연결할 경우는 매크로 이름이 중복되어 있다면 이중 대괄호로 링크를 걸 수 없습니다.
         지원되는 URL 형식: `http:`, `https:`, `ftp:`, `nntp:`, `news:`, `mailto:`, `telnet:`, `file:`. (이것을 확장하는 방법은 HelpOnConfiguration 참조)
         이와같은 기본 형식과 함께, 모인모인/모니위키에서 지원: `wiki:`, `attachment:`. "`wiki:`" 는 내부링크 혹은 인터위키 링크를 뜻합니다. 따라서 `MoniWiki:FrontPage` 와 `wiki:MoniWiki:FrontPage`는 똑같습니다. 주의할 점은 "`wiki:`" 형식은 괄호로 연결되는 링크의 경우 반드시 사용해야 합니다. `attachment:`는 파일 첨부를 위해 사용됩니다.
          * MeatBall:InterWiki
          * wiki:MeatBall:InterWiki
          * [wiki:MeatBall:InterWiki]
          * [wiki:MeatBall:InterWiki InterWiki page on MeatBall]
          * MeatBall:InterWiki
          * wiki:MeatBall:InterWiki
          * [wiki:MeatBall:InterWiki]
          * [wiki:MeatBall:InterWiki InterWiki page on MeatBall]
         모인모인에서는 {{{wiki:MeatBall/InterWiki}}}와 같은 링크가 {{{wiki:MeatBall:InterWiki}}}로 인식됩니다. 하지만 이것은 {{{wiki:WikiPage/SubPage}}} 문법과 일관성이 떨어져 혼란을 주므로 이와같은 모인모인 방식의 인터위키 링크는 모니위키에서 지원하지 않습니다.
         [[Navigation(HelpOnEditing)]]
  • MicrosoftFoundationClasses . . . . 19 matches
         Microsoft Foundation Classes 를 줄여서 부른다. 기정의된 클래스의 집합으로 Visual C++이 이 클래스들을 가반으로 하고 있다. 이 클래스 군은 MS Windows API를 래핑(Wrapping)하여서 객체지향적 접근법으로 프로그래밍을 하도록 설계되어 있다. 예전에는 볼랜드에서 내놓은 OWL(Object Windows Library)라는 것도 쓰였던 걸로 아는데... -_-; 지금은 어디로 가버렸는지 모른다. ㅋㅋ
          ''백과사전) WikiPedia:Microsoft_Foundation_Classes, WikiPedia:Object_Windows_Library ''
         = MFC notation =
          Create(0, "MFC Application"); // 기본설정으로 "MFC Application"이라는 타이틀을 가진 프레임을 생성한다
         CExApp Application; // 운영체제가 윈도우를 만들기위해서는 이를 참조할 전역 변수가 필요하다.
          Debug/ex13_01.exe : fatal error LNK1120: 2 unresolved externals''
          === Document Template ===
          도큐먼트 템플릿 객체는 단순히 document 만을 관리하는 것이 아니다. 그들 각각과 관계되어 있는 윈도우와 뷰들도 함께 관리한다. 프로그램에서 각기 다른 종류의 도큐먼트에 대해서 하나씩의 document template이 존재한다. 만약 동일한 형태의 document가 2개이상 존재한다면 그것들을 관리하는데에는 하나의 document template만 있으면 된다.
          하나의 document와 frame window는 한개의 document template에 의해서 생성되며 view는 frame window객체가 생성되면서 자동으로 생성되게 된다.
          {{{~cpp DocumentTemplateClass : CSingleDocTemplate, CMultiDocTemplate}}}
         = SDI Application Wizard =
          * {{{~cpp WinMain() 에서 InitInstance() 수행, document template, main frame window, document, view 를 생성한다.}}}
         = Related Page =
          * [MFC/RasterOperation]
  • NSISIde . . . . 19 matches
         == Opening Statement ==
         한 Iteration 을 2시간으로 잡음. 1 Task Point는 Ideal Hour(?)로 1시간에 할 수 있는 양 정도로 계산. (아.. 여전히 이거 계산법이 모호하다. 좀 더 제대로 공부해야겠다.)
         == Iteration 계획 ==
         First Iteration :
         Second Iteration :
         Last Iteration :
         === Iteration 1 (1:00 ~ 3:00) ===
         === Iteration 2 (3:20 ~ 5:40) ===
          오후 5:05 - 10분 휴식. Iteration 3 에 있는 녀석을 마저 하자.~
         === Iteration 3 (5:50 ~ 8:10) ===
          * average : 2.2 / 3 = 0.73 task point / Iteration (2 hours)
          * CWinApp::OnFileNew -> CDocManager::OnFileNew -> CMultiDocTemplate::OpenDocumentFile -> CNIDoc::OnNewDocument .. -> CNIView::OnInitialUpdate ()
          * CWinApp::OnFileOpen -> CDocManager::OnFileOpen -> CMultiDocTemplate::OpenDocumentFile -> CNIDoc::OnOpenDocument .. -> CNIView::OnInitialUpdate ()
          * CFrameWnd::OnClose -> CWndApp::SaveAllModified -> CDocManager::SaveAllModified -> CDocTemplate::SaveAllModified -> CDocument::SaveModified -> CDocument::DoFileSave -> CDocument::DoSave -> CNIDoc::OnSaveDocument
         http://zeropage.org/~reset/zb/data/NSISIDE_output.gif
          * 화면의 에디터와 실제 데이터 저장되는 부분이 update가 제대로 안된다.
          * PairProgramming 이 아닌 Solo 인 경우엔 주위의 유혹이 많다. -_-; 의식적으로 휴식시간을 10분정도 배당을 했지만, Iteration 3 때 확실히 집중도가 떨어졌다.
  • OurMajorLangIsCAndCPlusPlus/stdlib.h . . . . 19 matches
         || double atof(const char *str); || 문자열을 실수(double precision)로 변환 ||
         || int atoi(const char *str); || 문자열을 정수(integer)로 변환 ||
         || int atexit(void (*func)(void)); || 프로그램이 정상적으로 종료될 때 전달인자로 넘겨진 함수포인터를 이용해서 특정 함수 실행 ||
         || void exit(int status); || 정상적인 프로그램 종료를 발생시킨다 ||
         == 함수 (Functions) - Math Functions ==
          printf(" Stopped scan at: %s\n\n", stopstring );
          printf(" Stopped scan at: %s", stopstring );
          printf( " Stopped scan at: %s\n", stopstring );
          Stopped scan at: This stopped it
         string = -10110134932This stopped it strtol = -2147483647 Stopped scan at: This stopped itstring = 10110134932
          Stopped scan at: 34932
          Stopped scan at: 4932
          Stopped scan at: 932
         #include <stdlib.h> /* For _MAX_PATH definition */
          /* Allocate space for a path name */
          string = malloc( _MAX_PATH );
          // string = (char *)malloc( _MAX_PATH );
          printf( "Memory space allocated for path name\n" );
         Memory space allocated for path name
  • ProjectZephyrus/Server . . . . 19 matches
          +---- information : DB와 같은 사용자 정보 관리 패키지
          .classpath : Eclipse 용 Java의 환경 설정
          java_win.bat : Windows용 RunServer 실행 batch파일
          javac_win.bat : Windows용 프로젝트 컴파일 batch파일
          java_zp : ZeroPage Server 실행 bash script (zp에서만 돈다. bin이 classpath에 안들어가서 꽁수로 처리,port번호를 변경할수 없다.)
          ProjectZephyrusServer.jcp : JCreator용 project파일
          ProjectZephyrusServer.jcw : JCreator용 workspace 파일
         === Eclipse, JCreator 에서 FAQ ===
          * JCreator
          * JCreator가 컴파일할 java파일의 선후 관계를 파악하지 못하여, 컴파일이 되지 못하는 경우가 있다. 이럴 경우 만들어둔 스크립트 javac_win.bat 을 수행하고, 이 스크립트가 안된다면, 열어서 javac의 절대 경로를 잡아주어서 실행하면 선후관계에 따른 컴파일이 이루어 진다. 이후 JCreator에서 컴파일 가능
         ||실행||자료||Platform||
         |||||||| package간 Information Hiding||
         ||Dummy Data 생성||{{{~cpp InfoManager}}}||이상규||?||
          * 컴파일은 주어진 javac_win.bat 로 실행하면 전체가 컴파일이 됨, Javac의 실행 위치가 path에 잡혀 있지 않다면, 절대 경로로 수정 필요 --상민
  • Spring/탐험스터디/wiki만들기 . . . . 19 matches
         Object principal = SecurityContextHolder.getContext().getAuthentication().getPrincipal();
         === Hibernate ===
          * ORM(Object Relation Mapping) 프레임워크. Java persistence, EJB3.0을 같이 알면 좋다.
          * [http://en.wikipedia.org/wiki/List_of_Markdown_implementations 위키피디아]를 참고하여 Java로 구현된 Markdown implementation 중 Pegdown을 선택했다.
          * ''CGLIB는 코드 생성 라이브러리로서(Code Generator Library) 런타임에 동적으로 자바 클래스의 프록시를 생성해주는 기능을 제공(펌)'' 이라고 한다.
          * 좀 오래한 Spring, Hibernate도 어려움. CGLib, Spring Security, JSP, Session 찾아봐야겠다.
          * 이전 (리비전 9)에서는 jsp 에서 pageContext.getAttribute("page")로 Response의 page를 불러올 수 있었는데 리비전 10부터 pageContext.getRequst().getAttribute()(또는 request.getAttribute)를 해야 page를 불러올 수 있다. 왜지? 모르겠음. 한참헤멤
          * mac eclipse에서 tomcat 올리고싶은데 caltalina를 못찾는다
          * PageTitle 받아서 검색하는 거 까지되었다!! 알고보니 어렵지 않은 문제였음, PathVariable로 url의 path 요소를 받을 수 있다.
          * 비슷한 기능으로는 getServletPath()
          * FrontPage가 없을 때에는 Login을 하지 않아도 Page create를 할 수 있었다.
          * spring security에서 "/create" url에 authentication을 설정
          * Java에서 Matcher를 사용할 때 matches()는 전체가 완전히 일치하는 것만 찾아주고 find()는 substring일 때도 찾아준다. 예를들어 'abcde'에서 'bcd'를 찾을 때 matches를 사용하면 못 찾고 find를 사용하면 찾음.
          * Java의 Matcher 중 find()와 matches()가 패턴매칭과 관련이 있는걸로 알고있는데 찾아서 다시 쓰겠다.
  • TddRecursiveDescentParsing . . . . 19 matches
          ''먼저 "1"을 넣으면 "1"을 리턴하는 프로그램을 만듭니다. 다음 "314"를 넣으면 "314"를 리턴하게 합니다. 다음엔, "1 + 0"을 넣으면 "1"을 리턴하게 합니다. 다음, "1 + 314"를 넣으면 "315"를 리턴합니다. 다음, "1 + 2 + 314"를 하면 "317"을 리턴합니다. 다음, "1 - 0"을 하면 "1"을 리턴합니다. 다음, "1 - 1"을 하면 "0"을 리턴합니다. 다음, "314 - 1 + 2"를 하면 "315"를 리턴합니다. 다음, "- 1"을 넣으면 "-1"을 리턴합니다. 다음, "( 1 )"을 넣으면 "1"을 리턴합니다. ...... AST는 아직 생각하지 말고 당장 현재의 테스트를 패스하게 만드는데 필요한 것만 만들어 나가고 OAOO를 지키면서(테스트코드와 시스템코드 사이, 그리고 시스템 코드 간) 리팩토링을 지속적으로 합니다 -- 그렇다고 파싱 이론을 전혀 이용하지 말라는 말은 아니고 YAGNI를 명심하라는 것입니다. 그러면 어느 누가 봐도 훌륭한 디자인의 파서를 만들 수 있습니다. DoTheSimplestThingThatCouldPossiblyWork. --김창준''
         대강 다음과 같은 식으로 접근했고요. 테스트코드 2-3줄쓰고 파서 메인코드 작성하고 하는 식으로 접근했습니다. (["Refactoring"] 을 하다보면 FactoryMethodPattern 과 CompositePattern 이 적용될 수 있을 것 같은데, 아직은 일단.)
          statements = start.getStatements()
          self.assert_(statements != None)
          statement = statements.getStatement()
          self.assert_(statement != None)
          identifier = statement.getIdentifier()
          assignment_operator = statement.getAssignmentOperator()
          token = assignment_operator.getToken()
          self.assertEquals(token.tokenType, Scanner.TOKEN_ASSIGNMENT_OPERATOR)
          expression = statement.getExpression()
          plus_operator = expression.getPlusOperator()
          token = plus_operator.getToken()
          self.assertEquals(token.tokenType, Scanner.TOKEN_PLUS_OPERATOR)
  • TermProject/재니 . . . . 19 matches
         int stats[students][4] = {
         int sort_stats[students + 1][4];
          sort_stats[i][j] = stats[i][j];
          if (sort_stats[i][select] > sort_stats[j][select]) // 선택된 과목에 따라
          cout << sort_name[i] << "t" << " " << sort_stats[i][0] // 이름과 학번 출력
          << "t " << sort_stats[i][select] << endl; // 성적 출력
          sort_stats[students][k] = sort_stats[j][k];
          sort_stats[j][k] = sort_stats[i][k];
          sort_stats[i][k] = sort_stats[students][k];
          avr_ind[i] = (sort_stats[i][1] + sort_stats[i][2] + sort_stats[i][3]) / 3.0;
          cout << sort_stats[i][j] << "t "; // 학번과 성적을 출력함
          sum_sub[j] += sort_stats[i][j + 1]; // 각 과목의 합계를 누적 연산함
  • WhatToExpectFromDesignPatterns . . . . 19 matches
         디자인 패턴을 공부하여 어떻게 써먹을 것인가. - DesignPatterns 의 Chapter 6 Conclusion 중.
         DesignPatterns provide a common vocabulary for designers to use to communicate, document, and explore design alternatives.
         == A Documentation and Learning Aid ==
         Learning these DesignPatterns will help you understand existing object-oriented system.
         Describing a system in terms of the DesignPatterns that it uses will make it a lot easier to understand.
         DesignPatterns are an important piece that's been missing from object-oriented design methods. (primitive techniques, applicability, consequences, implementations ...)
         DesignPatterns capture many of the structures that result from refactoring. Using these patterns early in the life of a design prevents later refactorings. But even if you don't see how to apply a pattern until after you've built your system, the pattern can still show you how to change it. Design patterns thus provide targets for your refactorings.
         ["DesignPatterns"]
  • ZeroPageServer/Mirroring . . . . 19 matches
          는 서버 동기화(server syncronization)라고도 한다.
          rsync RPM 패키지는 redhat-lsb 패키지와 의존성을 가지므로, 설치시
          의존성 오류가 나올 때는 redhat-lsb-1.3-1.i386.rpm을 먼저 설치한 후
          [root@localhost root]# rsync -avz --delete -e ssh 192.168.1.1:/ftp/pub/redhat9/
          /mirror/redhat9
          path = 미러링될 데이터의 경로
          ② comment : rsync 서비스에 대한 설명이다. 예) Red Hat Linux 9.0 Mirror
          ③ path : 미러링 서비스 될 데이터의 경로를 지정한다. 예) /data/linux90
          ⑤ use chroot : path로 지정된 경로를 root 상위 디렉토리로 사용한다. 사용자가 다른 상위
          [root@localhost /]# cat > /etc/rsyncd.conf
          comment = Red Hat Linux 9 ISO Mirror
          path = /data/ftp/pub/redhat9
          rh9iso Red Hat Linux 9 ISO Mirror
          created directory /mirror/rh9hwp_backup
          rh9iso Red Hat Linux 9 ISO Mirror
          [root@localhost root]# rsync -avz 192.168.1.1::rh9iso /mirror/redhat9
  • [Lovely]boy^_^/Arcanoid . . . . 19 matches
         pen.CreatePen(~~);
         // 소스 OnInitialUpdate() 맞나? 어쨌든 초기화 하는거에서
         pen.CreatePen(만든다.);
          * I change a background picture from a Jang na ra picture to a blue sky picture. but my calculation of coordinate mistake cuts tree picture.
          * I process stage datas as files.
          * When a ball collides with a moving bar, its angle changes, but it's crude. Maybe it is hard that maintains a speed of a ball.
          * I resolve a problem of multi media timer(10/16). its problem is a size of a object. if its size is bigger than some size, its translation takes long time. So I reduce a size of a object to 1/4, and game can process 1ms of multi media timer.
          * A array's row and column is so confused. A long time, screen picture rotates a 90 angle, but I fixed that as change row and column.
          * Now sources become very dirty, because I add a new game skill. I always try to eliminate a duplication, and my source has few duplication. but method's length is so long, and responsiblity of classes is not divided appropriately. All collision routine is focusing on CArcaBall class.
          * ... I don't have studied a data communication. shit. --; let's study hard.
          * Game can generate items.
          * I don't want pointers in container, so I had to make a copy constructor, substitute operator.--;
          * I change a design of a arcanoid. - previous version is distribute, but this version is that god class(CArcanoidDoc)' admins a total routine. in my opinion, it's more far from OOP.--;
  • eXtensibleStylesheetLanguageTransformations . . . . 19 matches
         = eXtensible Stylesheet Language Transformations =
         Extensible Stylesheet Language Transformations, or XSLT, is an XML-based language used for the transformation of XML documents. The original document is not changed; rather, a new document is created based on the content of an existing one. The new document may be serialized (output) by the processor in standard XML syntax or in another format, such as HTML or plain text. XSLT is most often used to convert data between different XML schemas or to convert XML data into web pages or PDF documents.
         XSLT was produced as a result of the Extensible Stylesheet Language (XSL) development effort within W3C during 1998–1999, which also produced XSL Formatting Objects (XSL-FO) and the XML Path Language, XPath. The editor of the first version (and in effect the chief designer of the language) was James Clark. The version most widely used today is XSLT 1.0, which was published as a Recommendation by the W3C on 16 November 1999. A greatly expanded version 2.0, under the editorship of Michael Kay, reached the status of a Candidate Recommendation from W3C on 3 November 2005.
         = related =
         http://www.codeguru.com/Cpp/data/data-misc/xml/article.php/c4565
  • whiteblue/파일읽어오기 . . . . 19 matches
         #include <cmath>
         private:
         private:
         class DataBase
         private:
          DataBase()
          f.open("BookNumber.dat");
          // Read data from UserData file...
          fin.open("UserData.dat");
          // Read data from BookData file...
          fin2.open("BookData.dat");
          void insertUserData(UserInfo * ui)
          void deleteUserData(int nUserNum)
          void insertBookData(BookInfo * bi)
          void deleteBookData(int nBookNum)
  • 논문번역/2012년스터디/서민관 . . . . 19 matches
         이 시스템은 인식 모듈이 전체 텍스트 라인을 읽어서 처리하는 분할이 없는 접근 방법(segmentation-free approach)이 특징이다.
         이 시스템들은 주로 특징 추출(feature extract) 타입이나 인식 단계 전 또는 후에 텍스트 라인을 분리하거나 하는 점에서 차이가 있다.
         이른 단계에서 텍스트 라인을 분리하는 것에 의한 문제점을 회피하기 위해서, [9]에서는 전체 텍스트 라인을 인식 모듈에 입력하는 무분할(segmentation-free) 방법도 소개되어 있다.
         더 넓은 임시 문맥을 고려해서, 우리는 각 특징 벡터 요소마다 근사적인 수평 파생물(approximate horizental derivative)을 계산하였다. 따라서 20차원의 특징 벡터를 얻었다.(window당 10개의 특징 + 10개의 파생물)
         선형 변환과 특징 공간의 차원을 줄이는 방법을 적용하여 원형 특징 표현(........ original feature representation)을 최적화하였다.
         선형 변환 A는 훈련 데이터에 있는 class scatter matrix Sw과 scatter matrix Sb 간의 고유값(eigenvalue) 문제를 푸는 것으로 얻어진다.
         이 scatter matrix들은 각 특징 벡터가 HMM상태로 분류되고 우리는 처음에 훈련 데이터의 상태에 기반한 정렬에 따라서 일반 훈련을 수행해야 한다. (...........................)
         이 scatter matirx들을 알고 있을 때 LDA 변환은 다음 고유값 문제를 푸는 것으로 계산할 수 있다.
         HMMs의 일반적인 구성을 위해 우리는 512개의 Gaussian mixtures with diagonal covariance matrices를 담고 있는 공유 codebook과 반-연속적인 시스템들을 이용하였다.
         Allograph는 특정 문자의 다른 샘플(realization)과 같은 문자의 하위 항목을 나타낸다.
         이 결과들은 우리가 찾아낸 같은 데이터베이스를 쓰는 결과(literature ......)와 비교했을 때 쓸만하다. 훈련용과 테스트용 셋의 크기가 다르기 때문에 비교하기는 어렵지만.
         이 작업은 German Research Foundation(DFG)의 프로젝트 Fi799/1에서 원조를 받았다.
  • 오목/민수민 . . . . 19 matches
         protected: // create from serialization only
          DECLARE_DYNCREATE(CSampleView)
         // Attributes
         // Operations
          // ClassWizard generated virtual function overrides
          virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
         // Implementation
         // Generated message map functions
         private:
         //{{AFX_INSERT_LOCATION}}
         // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
         // sampleView.cpp : implementation of the CSampleView class
         static char THIS_FILE[] = __FILE__;
         IMPLEMENT_DYNCREATE(CSampleView, CView)
         BOOL CSampleView::PreCreateWindow(CREATESTRUCT& cs)
          // the CREATESTRUCT cs
          return CView::PreCreateWindow(cs);
          // TODO: add draw code for native data here
          // default preparation
          // TODO: add extra initialization before printing
  • 오목/재선,동일 . . . . 19 matches
         private:
         protected: // create from serialization only
          DECLARE_DYNCREATE(CSingleView)
         // Attributes
         // Operations
          // ClassWizard generated virtual function overrides
          virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
         // Implementation
         // Generated message map functions
         //{{AFX_INSERT_LOCATION}}
         // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
         // singleView.cpp : implementation of the CSingleView class
         static char THIS_FILE[] = __FILE__;
         IMPLEMENT_DYNCREATE(CSingleView, CView)
         BOOL CSingleView::PreCreateWindow(CREATESTRUCT& cs)
          // the CREATESTRUCT cs
          return CView::PreCreateWindow(cs);
          // TODO: add draw code for native data here
          // default preparation
          // TODO: add extra initialization before printing
  • 윤종하/지뢰찾기 . . . . 19 matches
         //#define NO_STATE 3
          size.X=(short)atoi(argv[1]);
          size.Y=(short)atoi(argv[2]);
          if(argc==4) iNumOfMine=atoi(argv[3]);////argument로의 지뢰 개수 입력이 있을 경우
          static COORD *pos_data;
          pos_data=(COORD*)malloc(sizeof(COORD)*iNumOfMine);//지뢰 개수만큼 동적할당
          pos_data[i].X=rand()%size.X;
          pos_data[i].Y=rand()%size.Y;
          for(j=0;j<i;j++) if(pos_data[i].X==pos_data[j].X && pos_data[i].Y==pos_data[j].Y) continue;//중복 좌표가 생기면 재생성
          //printf("%d: %d %d\n",i,pos_data[i].X,pos_data[i].Y);
          map[pos_data[i].Y][pos_data[i].X].iIsMine=TRUE;
          //fprintf(txtForDebug,"%d: %d %d\n",i,(int)pos_data[i].X,(int)pos_data[i].Y);
          return pos_data;
  • 2학기자바스터디/운세게임 . . . . 18 matches
         Date와 Calendar 클래스를 이용하는 방법이 있습니다
         == Date ==
          Date today = new Date(); // today라는 이름으로 새로운 Date객체 생성
          다양한 형식으로 출력하려면 SimpleDateFormat 클래스를 같이 이용합니다.
          SimpleDateFormat dateForm = new SimpleDateFormat("yyyy년 MM월 dd일 hh시 mm분 ss초"); // 출력형식 지정
          System.out.println(dateForm.format(today)); // today란 Date객체를 dateForm의 출력형식에 맞게 출력
          || DATE || 일 ||
          int num3 = Math.abs(r.nextInt() % 10); // 0 ~ 9 사이의 난수 구하기. Math.abs()는 절대값을 구함
  • Atom . . . . 18 matches
         = Atom? =
         Atom is an XML-based document format and HTTP-based protocol designed for the syndication of Web content such as weblogs and news headlines to Web sites as well as directly to user agents. It is based on experience gained in using the various versions of RSS. Atom was briefly known as "Pie" and then "Echo".
         The completed Atom syndication format specification was submitted to the IETF for approval in June 2005, the final step in becoming an RFC Internet Standard. In July, the Atom syndication format was declared ready for implementation[1]. The latest Atom data format and publishing protocols are linked from the Working Group's home page.
         Before the Atom work entered the IETF process, the group produced "Atom 0.3", which has support from a fairly wide variety of syndication tools both on the publishing and consuming side. In particular, it is generated by several Google-related services, namely Blogger and Gmail.
         As well as syndication format, the Atom Project is producing the "Atom Publishing Protocol", with a similar aim of improving upon and standarizing existing publishing mechanisms, such as the Blogger API and LiveJournal XML-RPC Client/Server Protocol.
         = Related Site =
         [http://www.intertwingly.net/wiki/pie/Rss20AndAtom10Compared RSSAtomCompare]
         [http://www.atomenabled.org/ AtomEnabled]
  • C++스터디_2005여름/도서관리프로그램/남도연 . . . . 18 matches
         private :
          int situation,selection;
          void restoration();
          b.restoration();
          situation=0;
          if(find->situation==0){
          if(find->situation==0){
          lent->situation = 1;
          lent->situation = 1;
          void book :: restoration()
          char restoration_name[30];
          char restoration_ISBN[10];
          cin >> restoration_name;
          if(strcmp(restore->book_name,restoration_name)==0)
          restore->situation = 0;
          cin >> restoration_ISBN;
          if(strcmp(restore->book_ISBN,restoration_ISBN)==0)
          restore->situation = 0;
  • CppUnit . . . . 18 matches
          http://zeropage.org/~reset/zb/data/TestHierarchy.jpg
          http://zeropage.org/~reset/zb/data/TestRunner.jpg
          * Project Setting - Code Generation - Use Run-Time library 를 다음으로 맞춰준다.
         CPPUNIT_TEST_SUITE_REGISTRATION( ExampleTestCase ); // TestSuite 를 등록하기. TestRunner::addTest 가 필요없다.
         CPPUNIT_TEST_SUITE_REGISTRATION (SimpleTestCase);
         2) Questions related to Microsoft Visual VC++
         2.1) Why does my application crash when I use CppUnit?
          You probably forgot to enable RTTI in your project/configuration. RTTI are disabled by default.
          Enable RTTI in Projects/Settings.../C++/C++ Language. Make sure to do so for all configurations.
          In Release configuration, CppUnit use "Mulithreaded DLL".
          In Debug configurations, CppUnit use "Debug Multihreaded DLL".
          Check that Projects/Settings.../C++/Code Generation is indeed using the correct library.
         LINK : fatal error LNK1104: cannot open file "cppunitd.lib,"
         library path 문제일 것 같은데요. 아니면, CppUnit 이 컴파일 되어있는지 확인해야 할것 같습니다. (lib 디렉토리에 cppunitd.lib 화일이 있는지 확인) --["1002"]
          * VC6에서 작업하고 있는데요. CFileDialog를 통해 파일 path를 받으려고 하는데, TestRunner가 CFileDialog 명령을 수행하는 것보다 먼저 동작해 파일 경로를 받을 수 없습니다.. TestRunner가 실행되는 시점을 조절할 수 있나요? --[FredFrith]
         이 부분에 나오는 Code Generation부분이 어디에 있는지 찾지를 못 하겠네요. 메뉴가 숨어있기라도 한 건지...@-@;; --[leoanrdong]
         Project Setting - Code Generation - Use Run-Time library 를 다음으로 맞춰준다.
          - C/C++ 탭에 보면 category가 있는데 거기에 code generation 이 있습니다. - [임인택]
  • EnglishSpeaking/2012년스터디 . . . . 18 matches
          * Goal : To talk naturally about technical subject in English!
          * [http://www.youtube.com/watch?v=C3p_N9FPdy4 English Speaking Schools Are Evil]
          * [http://www.youtube.com/watch?v=xkGGTN8wh9I Speaking English- Feel Nervous & Shy?]
          * [http://www.youtube.com/watch?v=sZWvzRaEqfw Learn English Vocabulary]
          * We tried to do shadowing but we found that conversation is not fit to do shadowing.
          * 2nd time of ESS! Our English speaking ability is not growing visibly but that's OK. It's just 2nd time. But we need to study everyday for expanding our vocabulary and increasing our ability rapidly. Thus I'll memorize vocabulary and study with basic English application(It's an android application. I get it for FREE! YAY!) I wish I can speak English more fluent in our 20th study. XD
          * Mike and Jen's conversation is little harder than AJ Hoge's video. But I like that audio because that is very practical conversation.
          * [http://www.bombenglish.com/2008/02/03/2-new-english-education-policy/ Bomb English - Episode 2]
          * Today, we were little confused by Yunji's appearance. We expected conversation between 2 persons but there were 3 persons who take part in episode 2. And we made a mistake about deviding part. Next time, when we get 3 persons' conversation again, we should pay attention to devide part equally. Or we can do line by line reading instead of role playing.
          * We decided to talk about technical subject freely, about 3 minutes in every month. It might be a little hard stuff at first time. But let's do it first and make it better gradually. Do not forget our slogan(?) - '''''Don't be nervous! Don't be shy! Mistakes are welcomed.'''''
  • ExtremeProgramming . . . . 18 matches
         초기 Customer 요구분석시에는 UserStory를 작성한다. UserStory는 추후 Test Scenario를 생각하여 AcceptanceTest 부분을 작성하는데 이용한다. UserStory는 개발자들에 의해서 해당 기간 (Story-Point)을 예측(estimate) 하게 되는데, estimate가 명확하지 않을 경우에는 명확하지 않은 부분에 대해서 SpikeSolution 을 해본뒤 estimate을 하게 된다. UserStory는 다시 Wiki:EngineeringTask 로 나누어지고, Wiki:EngineeringTask 부분에 대한 estimate를 거친뒤 Task-Point를 할당한다. 해당 Point 의 기준은 deadline 의 기준이 아닌, programminer's ideal day (즉, 아무런 방해를 받지 않는 상태에서 프로그래머가 최적의 효율을 진행한다고 했을 경우의 기준) 으로 계산한다.
         그 다음, 최종적으로 Customer 에게 해당 UserStory 의 우선순위를 매기게 함으로서 구현할 UserStory의 순서를 정하게 한다. 그러면 UserStory에 대한 해당 Wiki:EnginneringTask 를 분담하여 개발자들은 작업을 하게 된다. 해당 Task-Point는 Iteration 마다 다시 계산을 하여 다음 Iteration 의 estimate 에 적용된다. (해당 개발자가 해당 기간내에 처리 할 수 있는 Task-Point 와 Story-Point 에 대한 estimate) (Load Factor = 실제 수행한 날 / developer's estimated 'ideal' day. 2.5 ~ 3 이 평균) Iteration 중 매번 estimate 하며 작업속도를 체크한뒤, Customer 와 해당 UserStory 에 대한 협상을 하게 된다. 다음 Iteration 에서는 이전 Iteration 에서 수행한 Task Point 만큼의 일을 할당한다.
         Iteration 중에는 매일 StandUpMeeting 을 통해 해당 프로그램의 전반적인 디자인과 Pair, Task 수행정도에 대한 회의를 하게 된다. 디자인에는 CRCCard 과 UML 등을 이용한다. 초기 디자인에서는 세부적인 부분까지 디자인하지 않는다. XP에서의 디자인은 유연한 부분이며, 초반의 과도한 Upfront Design 을 지양한다. 디자인은 해당 프로그래밍 과정에서 그 결론을 짓는다. XP의 Design 은 CRCCard, TestFirstProgramming 과 ["Refactoring"], 그리고 StandUpMeeting 나 PairProgramming 중 개발자들간의 대화를 통해 지속적으로 유도되어지며 디자인되어진다.
         개발시에는 PairProgramming 을 한다. 프로그래밍은 TestFirstProgramming(TestDrivenDevelopment) 으로서, UnitTest Code를 먼저 작성한 뒤 메인 코드를 작성하는 방식을 취한다. UnitTest Code -> Coding -> ["Refactoring"] 을 반복적으로 한다. 이때 Customer 는 스스로 또는 개발자와 같이 AcceptanceTest 를 작성한다. UnitTest 와 AcceptanceTest 로서 해당 모듈의 테스트를 하며, 해당 Task를 완료되고, UnitTest들을 모두 통과하면 Integration (ContinuousIntegration) 을, AcceptanceTest 를 통과하면 Release를 하게 된다. ["Refactoring"] 과 UnitTest, CodingStandard 는 CollectiveOwnership 을 가능하게 한다.
          * ContinuousIntegration: 매일 또는 수시로 전체 시스템에 대한 building 과 testing을 수행한다.
          * http://www.freemethod.org:8080/bbs/BBSView?boardrowid=3220 - 4가지 가치 (Communication, Simplicity, Feedback, Courage)
  • GTK+ . . . . 18 matches
         === What is GTK+? ===
         GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete set of widgets, GTK+ is suitable for projects ranging from small one-off projects to complete application suites.
         GLib is the low-level core library that forms the basis of GTK+ and GNOME. It provides data structure handling for C, portability wrappers, and interfaces for such runtime functionality as an event loop, threads, dynamic loading, and an object system.
         Pango is a library for layout and rendering of text, with an emphasis on internationalization. It forms the core of text and font handling for GTK+-2.0.
         The ATK library provides a set of interfaces for accessibility. By supporting the ATK interfaces, an application or toolkit can be used with such tools as screen readers, magnifiers, and alternative input devices.
         GTK+ has been designed from the ground up to support a range of languages, not only C/C++. Using GTK+ from languages such as Perl and Python (especially in combination with the Glade GUI builder) provides an effective method of rapid application development.
         static void hello(GtkWidget *widget, gpointer data)
         static gboolean delete_event(GtkWidget *widget, GdkEvent *event, gpointer data)
         static void destroy(GtkWidget *widget, gpointer data)
  • ScheduledWalk/임인택 . . . . 18 matches
         import java.io.DataInputStream;
          private int board[][];
          private String schedule;
          private int curX, curY;
          private int size;
          private int dirX[] = {0,1,1,1,0,-1,-1,-1};
          private int dirY[] = {-1,-1,0,1,1,1,0,-1};
          private void walk() {
          readData();
          private void goWithScheduledDirection() {
          char c = schedule.charAt(i);
          private void readData() {
          DataInputStream din
          = new DataInputStream(new FileInputStream(new File("input2.txt")));
          } catch (IOException e) {
          private void emptyBoard() {
          private void result() {
          public static void main(String[] args) {
  • WinampPlugin을이용한프로그래밍 . . . . 18 matches
         // define procedures, that'll be found in a .DLL
         void SAVSAInit(int maxlatency_in_ms, int srate){
         void SAAddPCMData(void *PCMData, int nch, int bps, int timestamp){
         void SAAdd(void *data, int timestamp, int csa){
         void VSAAddPCMData(void *PCMData, int nch, int bps, int timestamp){
         void VSAAdd(void *data, int timestamp){
         void VSASetInfo(int nch, int srate){
         void SetInfo(int bitrate, int srate, int stereo, int synched){
          // 추후에 Visualization 부분을 만들때는 실제 함수부분을 이용하게 될 것이다.
          in->SAAddPCMData = SAAddPCMData;
          in->VSAAddPCMData = VSAAddPCMData;
          // when playing stops, terminate
  • [Lovely]boy^_^/EnglishGrammer/ReportedSpeech . . . . 18 matches
         == Unit44. Reported speech(1) (He said that...) ==
          A. You want to tell somebody else what Tom said. There are two ways of doing this :
          1. You can repeat Tom's words (direct speech)
          ex) Tom said that he was feeling sick.
          ex) I told her that I didn't have any money.
          We can leave out that
          reported : Tom said that New York is more exciting than London. (New York is stlll more exciting. The situation hasn't changed.)
          ex) Tom said that New York was more exciting than London.
          But you must use a past form when there is a difference between what was said and what is really true.(--; 결국은 과거 쓰란 얘기자나)
          Later that day you see Jim. He is looking fine and carrying a tennis racquet. You say :
          ex) Kelly told me that you were sick. ( not Kelly said me )
          ex) Kelly said that you were sick.(not Kelly told that ...)
          ex2) direct : "Please don't tell anybody what happened," Ann said to me.
          reported : Ann asked me not to tell anybody what happened.
  • biblio.xsl . . . . 18 matches
          <xsl:variable name="lang-title" select="'Literatur'"/>
          <xsl:template match="bibliography">
          <xsl:apply-templates select="topic">
          </xsl:apply-templates>
          </xsl:template>
          <xsl:template match="topic">
          <xsl:apply-templates select="../book[not(@type='ref') and @topic=$topic]">
          </xsl:apply-templates>
          </xsl:template>
          <xsl:template match="book">
          <xsl:apply-templates select="comment"/>
          </xsl:template>
          <xsl:template match="comment">
          </xsl:template>
  • html5/form . . . . 18 matches
         = new feature =
          * datetime, date, month, week, time, and datetime-local
         == new attribute ==
          * list — 값의 제한을 포함하는 datalist element를 의미
          * pattern - 제약적인 정규식을 허용
         == date ==
          * {{{<input type="date" min="2001-01-01" max="2010-08-31" step=1 value="2010-08-26">}}}
          * {{{<input type="datetime"><input type="datetime-local"><input type="month">}}}
         == DataList ==
          <datalist id="url_list">
         </datalist>
          * 폼의 자동 유효성 검사를 꺼두고 싶다면 폼에 novalidate 를 부여하면 된다
          * {{{<form novalidate action="demo_form.asp" method="get">}}}
          * 입력 양식에 pattern 속성으로 정규표현식으로 입력 패턴을 지정할 수 있다
          * {{{<input type="text" name="postCode" pattern="/^\d{3}-?\d{3}$/" title="123-123">}}}
  • 복/숙제제출 . . . . 18 matches
          int input_math[5]; /*수학성적*/
          printf("수학성적 : "); scanf("%d",&input_math[i]); printf("\n");
          printf("%s의 성적의 평균은 %d입니다.\n",input_name[i],(input_kore[i]+input_engl[i]+input_math[i])/3);
          int kor[5], math[5], eng[5], sum[5]={0,}, i,j;
          printf("\n수학점수 : "); scanf("%d", math[i]);
          sum[i] += kor[i] + math[i] + eng[i];
          int math[5]; /*수학점수*/
          scanf("%d", math[i]);
          sum[i] += kor[i]+eng[i]+math[i];
         char inputPattern();
         void drawSqure(int aEdgeLength, char aPattern);
          drawSqure(inputEdgeLength(), inputPattern());
         char inputPattern(){
          char pattern;
          scanf("%c", &pattern);
          return pattern;
         void drawSqure(int aEdgeLength, char aPattern){
          printf("%c", aPattern);
  • 새싹교실/2011/學高/5회차 . . . . 18 matches
          * 다음 bitwise operation을 수행하라
          * assignment operator: == 이놈과 비슷하니까 조심하세요
          * arithmetic operator(이거 모르면 초등학교로 돌아가세요)
          * shorthand operator (arithmetic operator + assignment operator)
          * operator precedence/associativity
          * bitwise operator
         operator(연산자)에 대해 배웠습니다.
         -expression과 statements의차이
         -assignment operater (=)이 같다는 의미가 아니라는것.
         -increment operator ++i는 expression이 실행되기 전, i++는 후에 1을더해준다
         -decrement operator는 위와 동일하지만 1씩 빼준다
         -operator precedence(우선순위) << 이건 초등학교때 배운거.
          * 다음 bitwise operation을 수행하라
          * 다음 bitwise operation을 수행하라
         bitwse operation 수행값 :
  • 서지혜 . . . . 18 matches
         Someday you'll say something that you'll wish could take back - drama, House
          * [DesignPatterns/2011년스터디]
          * 교재 : [HolubOnPatterns]
          * 밑줄긋기 진행중 : [HolubOnPatterns/밑줄긋기]
          * [DesignPatterns/2011년스터디/서지혜]
          1. [https://github.com/Rabierre/my-calculator my calculator]
          * 꾸준 플젝인듯. 처음엔 reverse polish notation으로 입력식을 전처리하고 계산하다가 다음엔 stack 두개를 이용해서 계산하여 코드 수를 줄임.
          * 망함.. 프로젝트가 망했다기 보다 내가 deliberate practice를 안해서 필요가 없어졌음...
          1. Hannibal Rss Recommendation
          * hadoop MapReduce를 이용한 CF알고리즘, UI : ExtJS 4.0, 검색 : Lucene, 데이터 저장 : MySQL, Hibernate
          1. R&D - BigData Analysis Platform
          1. my calculator
          * Fluent English Communication Skill
          * [http://cacm.acm.org/magazines/2010/1/55760-what-should-we-teach-new-software-developers-why/fulltext 어느 교수님의 고민] - 우리는 무엇을 가르치고, 무엇을 배워야 하는가?
          * [HowToStudyDesignPatterns]
          * [SmalltalkBestPracticePatterns]
  • 스터디/Nand 2 Tetris . . . . 18 matches
          * Nand gate를 primitive gate로 놓고, 나머지 논리 게이트 Not, And, Or, Xor, Mux, Demux 등을 Nand만으로 구현.
          * Not Gate
          * And Gate
          * Or Gate
          * Xor Gate
          * 쇠뿔도 단김에 빼라는 말이 있듯이, 순식간에 스터디 진행합니다. 학기 끝날 때까지 매주 진행해보려고 하는데, 끝까지 다 할 수 있었으면 좋겠습니다. 뭐 윤환이나 혁준이형 있으니까 잘 진행되겠죠. 이번 시간에 했던 것은 기초 중에 기초인데, 사실 작년 논리회로 시간에 Nand 게이트로 다른 gate 구현하기 따위는 해본적이 없어서 좀 당황도 했습니다. 그리고 그림 그리는 것도 참 간만이고, 다음 시간까지 논리회로 ppt 좀 보고서 와야겠네요. 간단한 4way MUX도 저리 긴데, 사칙연산은 어떻게 해야할지.. 머리가 아픕니다. - [권영기]
          D - data, A - address, M - memory
          * A-Instruction : @value // Where value is either a non-negative decimal number or a symbol referring to such number.
         attachment:img.png
         attachment:sample.png
          * MIPS 코딩하는 것을 생각하고 과제를 진행했는데, 현실은 MIPS 보다 더 하드코어했네요. Symbol도 사용안하고(사실 Cpu emulator만 사용해서 생긴 문제일 수도 있지만), 레지스터도 2~3개 밖에 사용하지 못하는 상황에서 작성하려고 하니 참 막막했습니다. I/O Handling 같은 경우 키보드 입력을 해결하려고 나름 생각을 해서 작성을 했는데, 결과물이 영 마음에 들지 않는군요. 아무튼 이번 시간에 느낀 것은 "High-Level Language가 왜 필요한가?" 가 되겠습니다. 사실 이 느낌은 어셈블리 시간에도, 컴퓨터 구조 시간에도 느꼈지만 말이죠. 이제 1/3정도를 진행했고, 계획대로라면 12월이 되기 전까지 1/2는 진행할 수 있을 것 같아서 기분이 좋네요. 무사히 진행해서 끝을 봤으면 하는 생각입니다. - [권영기]
          Memory (data + instruction) + CPU(ALU + Registers + Control) + Input device & Output device
          지금까지 기본적인 논리 게이트를 (Nand만 사용해서) 구현하고, Combinational Chip 과 Sequential Chip까지 전부 구현했다. 지금까지 구현한 것을 모두 합치면 Computer Architecture가 만들어진다.
          A 16-bit Von Neumann platform
          The instruction memory and the data memory are physically separate
          Data memory
  • 오목/재니형준원 . . . . 18 matches
         private:
         protected: // create from serialization only
          DECLARE_DYNCREATE(COmokView)
         // Attributes
         // Operations
          // ClassWizard generated virtual function overrides
          virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
         // Implementation
         // Generated message map functions
         //{{AFX_INSERT_LOCATION}}
         // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
         // omokView.cpp : implementation of the COmokView class
         static char THIS_FILE[] = __FILE__;
         IMPLEMENT_DYNCREATE(COmokView, CView)
         BOOL COmokView::PreCreateWindow(CREATESTRUCT& cs)
          // the CREATESTRUCT cs
          return CView::PreCreateWindow(cs);
          // default preparation
          // TODO: add extra initialization before printing
          Invalidate(true);
  • 2dInDirect3d/Chapter3 . . . . 17 matches
         = Vertex Formats =
          만약 D3D를 쓰는 사람에게 "당신은 왜 D3D를 씁니까?" 라고 물으면, 일반적으로 이런 대답이 나온다. Z-Buffer라던지, 모델, 메시, 버텍스 셰이더와 픽셸세이더, 텍스쳐, 그리고 알파 에 대한 이야기를 한다. 이것은 많은 일을 하는 것처럼 보인다. 몇몇을 제외하면 이런 것들은 다음의 커다란 두 목적의 부가적인 것이다. 그 두가지란 Geometry Transformation과 Polygon Rendering이다. 간단히 말해서 D3D의 교묘한 점 처리와 삼각형 그리기라는 것이다. 물론 저것만으로 모두 설명할 수는 없지만, 저 간단한 것을 마음속에 품는다면 혼란스러운 일은 줄어들 것이다.
          버텍스를 표현 하는 방법을 ''flexible vertex format'' 줄여서 FVF라고 한다. 버텍스에 필요한 정보는 다음과 같다.
         RHW : Reciprocal of the homogenous W coordinate
         Texture coordinates
          float x;
          float y;
          float z;
          SeeAlso : [http://member.hitel.net/~kaswan/feature/3dengine/rhw.htm]
          float x, y, z;
          float rhw;
          float x, y, z;
          float nx, ny, nz;
          float x, y, z;
          float rhw;
          float x, y, z;
          float rhw;
  • C++스터디_2005여름/학점계산프로그램/허아영 . . . . 17 matches
         ==== calculate.h ====
         class Calculate
         private:
          void Calculate_grade();
         private:
         ==== calculate.cpp ====
         #include "calculate.h"
         void Calculate::input()
          char grade_data[9][3] = {"A+", "A", "B+", "B", "C+", "C", "D+", "D", "F"};
          if(strcmp(grade_input[i], grade_data[j]) == 0)
         void Calculate::output()
         void Calculate::Calculate_grade()
         #include "calculate.h"
         #include "calculate.h"
          Calculate a;
          a.Calculate_grade();
  • CPPStudy_2005_1/STL성적처리_3_class . . . . 17 matches
         #include <numeric> //accumulate
          void readdata();//파일로부터 데이터를 읽어온다
          void printdata(); //출력
          void operation(); //총합과 평균
          vector<student_table>::iterator zbegin() { return ztable.begin(); }
          vector<student_table>::iterator zend() { return ztable.end(); }
         private:
          z.readdata();
          z.operation();
          z.printdata();
         void student_table::readdata(){
          ifstream fin("data.txt");
         void student_table::printdata()
          for(vector<student_table>::iterator i=ztable.begin();i<ztable.end();++i)
         void student_table::operation()
          for(vector<student_table>::iterator i=ztable.begin() ;i<ztable.end();++i)
          i->total = accumulate(i->score.begin()+i->score.size()-4,i->score.end(),0);
  • Class/2006Fall . . . . 17 matches
          * [http://www.cau.ac.kr/station/club_club.html?clubid=28 Cau Club]
          * Project team configuration until 26 Sep.
          * 1st presentation of project is on 28 Sep. - 초기 진행 상황 및 향후 계획
          * 2nd presentation of project is on 12 Oct. - 검색 (설계 및 구현)
          * 3rd presentation of project is on 31 Oct. - 변경 (설계 및 구현)
          * 4th presentation of project is on 14 Nov. - API, 성능평가
          * Final demonstration is on 5 Dec - 전체 최종본 제출
          === IntermediateEnglishConversation ===
          * Persuaving Presentation until 6 Oct. I'll do it until 29 Sep.
          * Prepare debating about
          === Beggining English Conversation ===
          * Write answer that consist five or six sentenses to one of question in Q&A chapter 7.
          * Using vocabulary in real situation.
          * Online meeting at 10 p.m. on 1 Nov.
          * Online meeting at 10 p.m. on 7 Nov.
          * Offline meeting at 11 a.m. on 10 Nov.
  • Cpp에서의멤버함수구현메커니즘 . . . . 17 matches
          static idSequance = 0;
          cout << "Create! id = " << id << endl;
          Foo* foo1 = new Foo();// Create! 를 출력한다.
          Foo* foo2 = new Foo();// Create! 를 출력한다.
         Create! id = 0
         Create! id = 1
         Create! id = 2
          Foo* foo1 = new Foo(); // Create! 를 출력한다.
         자신이 컴파일러가 되었다고 가정해 봅시다. 우리가 class를 선언하고 컴파일하려면 프로그램의 영역에 class 의 Data 들을 저장할 수 있는 "class 틀"의 정보를 담아 놓을 곳이 필요합니다.
          사족. 이러한 사연이 class내에서 static 멤버 함수를 선언하고 instance에서 호출할때 instance 의 멤버 변수에 접근하지 못하는 이유가 됩니다. static 함수로 선언 하면 묵시적으로 pointer 를 세팅하지 않고 함수를 호출합니다.
          Foo* foo1 = new Foo(); // Create! 를 출력한다.
         Create! id = 0
          public static void main(String[] args) {
         이를 실행하면, 다음과 같은 exception을 출력합니다. 이는 [http://java.sun.com/docs/books/jls/second_edition/html/j.title.doc.html Java Language Specification 2nd] (3rd가 아직 안나왔군요.) 와 [http://java.sun.com/docs/books/vmspec/2nd-edition/html/VMSpecTOC.doc.html jvm specification]을 참고하세요.
          at Main.main(Main.java:19)
  • EightQueenProblem/강석천 . . . . 17 matches
          self.assertEquals (self.bd.GetData (2,2), 0)
          self.assertEquals (self.bd.GetData (2,2) ,1)
          def testIsAttackableOthers (self):
          self.assertEquals (self.bd.IsAttackableOthers (3,3),1)
          self.assertEquals (self.bd.IsAttackableOthers (7,1),0)
          self.assertEquals (self.bd.IsAttackableOthers (4,4),1)
          ## if all queen pass the function 'IsAttackableOthers'
          def testGetUnAttackablePositon (self):
          self.assertEquals (self.bd.GetUnAttackablePosition (1), ((2,1),(3,1),(4,1),(5,1),(6,1),(7,1)))
          self.assertEquals (self.bd.GetUnAttackablePosition (2), ((1,2),(3,2),(4,2),(5,2),(6,2),(7,2)))
          def GetData (self, x, y):
          def SetData (self, x, y, data):
          self.boardArray[(y,x)] = data
          if self.GetData (x,i) == 1:
          if self.GetData (i,y) == 1:
          if self.GetData (FirstCornerX + i, FirstCornerY + i) == 1:
          if self.GetData (FirstCornerX + i, FirstCornerY - i) == 1:
          line += "%d" % self.GetData (j,i)
          def IsAttackableOthers (self, x,y):
          TempData = self.GetData (x,y)
  • Fmt/문보창 . . . . 17 matches
         const int STATE_A = 1;
         const int STATE_B = 2;
         const int STATE_C = 3;
          int state = STATE_A;
          if (state == STATE_A)
          state = STATE_B;
          else if (state == STATE_B)
          state = STATE_A;
          state = STATE_A;
          int state = STATE_A;
          if (state == STATE_A)
          state = STATE_B;
          else if (state == STATE_B)
          state = STATE_A;
          state = STATE_A;
          state = STATE_C;
          else if (state == STATE_C)
          state = STATE_A;
          state = STATE_A;
          state = STATE_A;
  • JTDStudy/첫번째과제/원명 . . . . 17 matches
          private int correctNumber;
          public static void main(String[] args) {
          setNumber = (int) (Math.random() * 10);
          setNumber = (int) (Math.random() * 10);
          setNumber = (int) (Math.random() * 10);
         readability 를 위해 필요없는 typecasting 문법들 제거 (Java Language Specification의 규칙들을 보세요. 해당 typecasting은 거의다 필요 없는겁니다.) 유의미한 단위로 분리
          int a = value % (int) Math.pow(10, pos);
          return a / (int) Math.pow(10, pos - 1);
         import static org.junit.Assert.assertEquals;
          private int correctNumber;
          public static void main(String[] args) {
          String.format("%d Strike, %d Ball", result / 10, result % 10));
          setNumber = (int) (Math.random() * 10);
          setNumber = (int) (Math.random() * 10);
          setNumber = (int) (Math.random() * 10);
          int a = value % (int) Math.pow(10, pos);
          return a / (int) Math.pow(10, pos - 1);
  • LinuxProgramming/SignalHandling . . . . 17 matches
          SIGCHLD - child process terminated, stopped (*or continued)
          SIGFPE - floating point exception -- "erroneous arithmetic operation"(SUS)
          SIGSEGV - segmentation violation
          SIGTERM - termination
          SIGTTIN - background process attempting to read ("in")
          SIGTTOU - background process attempting to write ("out")
          SIGURG - urgent data available on socket
          int state;
          int state;
          state = sigaction(SIGINT, &act, 0);
          if (state != 0)
         desc: timer program that use SIGALRM signal.
          int state;
          state = sigaction(SIGALRM, &act, 0);
          if (state != 0) {
  • Plugin/Chrome/네이버사전 . . . . 17 matches
          1. manifest.json의 attribute.
          * 따라하다가 실수한점 : manifest.json파일을 menifest.json이라 해서 update가 안됨. json정의할때 다음 element를 위해 , 를 붙여야하는데 안붙여서 에러. 그렇지만 나머지는 복붙해서 잘 가져옴.
         // Use of this source code is governed by a BSD-style license that can be
          var img = document.createElement("image");
          return "http://farm" + photo.getAttribute("farm") +
          ".static.flickr.com/" + photo.getAttribute("server") +
          "/" + photo.getAttribute("id") +
          "_" + photo.getAttribute("secret") +
          <!-- JavaScript and HTML must be in separate files for security. -->
          "description": "The first extension that I made.",
         function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar,
          statusbar_str = statusbar ? 'yes' : 'no';
         +menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str
          * 위의 na-open_window는 임의로 만든 함수긴한데 status_bar나 기타 스크롤이 가능하지 않은 popup을 만들고 있다. 0은 false니까.
          "name" : "BrowsingData API: Basics",
          "browsingData"
          * inline script를 cross script attack을 방지하기 위해 html과 contents를 분리 시킨다고 써있다. 이 규정에 따르면 inline으로 작성되어서 돌아가는 javascript는 모두 .js파일로 빼서 만들어야한다. {{{ <div OnClick="func()"> }}}와 같은 html 태그안의 inline 이벤트 attach도 안되기 때문에 document의 쿼리를 날리던가 element를 찾아서 document.addEventListener 함수를 통해 event를 받아 function이 연결되게 해야한다. 아 이거 힘드네. 라는 생각이 들었다.
  • QueryMethod . . . . 17 matches
         private:
          string status;
          status = "on";
          status = "off";
          string& getStatus() {
          return status;
         class WallPlate
         private:
          void update() {
          if( switch->getStatus() == "on" )
          else if( switch->getStatus() == "off" )
         private:
          bool status;
          return status;
         class WallPlate
         private:
          void update() {
  • RandomWalk/ExtremeSlayer . . . . 17 matches
         private:
          void BoardAllocate();
          void ShowBoardStatus() const;
          bool CheckCompletelyPatrol() const;
          bool CheckCorrectCoordinate(int& nDelRow, int& nDelCol) const;
         #include <cmath>
          BoardAllocate();
         void RandomWalkBoard::BoardAllocate()
         bool RandomWalkBoard::CheckCompletelyPatrol() const
         void RandomWalkBoard::ShowBoardStatus() const
          while(!CheckCompletelyPatrol())
          if(CheckCorrectCoordinate(DelRow, DelCol))
         bool RandomWalkBoard::CheckCorrectCoordinate(int& nDelRow, int& nDelCol) const
         void AskInitData(int& nRow, int& nCol, int& nCurRow, int& nCurCol);
          AskInitData(nRow, nCol, nCurRow, nCurCol);
          Test.ShowBoardStatus();
         void AskInitData(int& nRow, int& nCol, int& nCurRow, int& nCurCol)
  • SmallTalk/강좌FromHitel/소개 . . . . 17 matches
         (application) 프로그램을 만드는데 사용할 수 있다는 것을 알려드리고자 합니
          Data: array[1 .. 2000000] of Integer;
          for i := 1 to High( Data ) do
          Data[i] := i * 2;
          for i := 1 to High( Data ) do
          if Data[i] = key then
         | data key |
         data := Array new: 2000000.
         1 to: data size do: [ :i | data at: i put: i * 2. ].
         1 to: data size do: [ :i |
          (data at: i) = key ifTrue: [
         Foundation Classes)라는 갈래 다발을 익혀야 하고, Delphi의 경우에는 VCL
          application framework)은 프로그램을 매우 융통성있게 만들어 줍니다.
         Dolphin Education Center를 내리받고 Smalltalk 공부를 시작해 보십시오. 그리
  • SmallTalk_Introduce . . . . 17 matches
         (application) 프로그램을 만드는데 사용할 수 있다는 것을 알려드리고자 합니
          Data: array[1 .. 2000000] of Integer;
          for i := 1 to High( Data ) do
          Data[i] := i * 2;
          for i := 1 to High( Data ) do
          if Data[i] = key then
         | data key |
         data := Array new: 2000000.
         1 to: data size do: [ :i | data at: i put: i * 2. ].
         1 to: data size do: [ :i |
          (data at: i) = key ifTrue: [
         Foundation Classes)라는 갈래 다발을 익혀야 하고, Delphi의 경우에는 VCL
          application framework)은 프로그램을 매우 융통성있게 만들어 줍니다.
         Dolphin Education Center를 내리받고 Smalltalk 공부를 시작해 보십시오. 그리
  • TheGrandDinner/조현태 . . . . 17 matches
         char* InputBaseData(char* readData, vector<SNumberAndPosition>& tableSize, vector<SNumberAndPosition>& teamSize)
          sscanf(readData, "%d %d", &numberOfTeam, &numberOfTable);
          readData = strchr(readData, '\n') + 1;
          readData = strchr(readData, ' ') + 1;
          sscanf(readData, "%d", &buffer);
          readData = strchr(readData, '\n') + 1;
          readData = strchr(readData, ' ') + 1;
          sscanf(readData, "%d", &buffer);
          return strchr(readData, '\n') + 1;
         void CalculateAndPrintResult(vector<SNumberAndPosition>& tableSize, vector<SNumberAndPosition>& teamSize)
          inputString = InputBaseData(inputString, tableSize, teamSize);
          CalculateAndPrintResult(tableSize, teamSize);
  • TicTacToe/임인택 . . . . 17 matches
          private JFrame frame;
          private int board[][];
          private int x, y;
          private boolean b;
          private static final int __O = 1;
          private static final int __X = -1;
          private static final int __NONE = 0;
          private void init() {
          setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
          private boolean winLose(int cp) {
          private void drawChoices(Graphics g) {
          private void drawGrids(Graphics g) {
          private void drawCell(Graphics g, int i, int j, int choice) {
          public static void main(String[] args) {
  • WinampPluginProgramming/DSP . . . . 17 matches
         int modify_samples1(struct winampDSPModule *this_mod, short int *samples, int numsamples, int bps, int nch, int srate);
         int modify_samples2(struct winampDSPModule *this_mod, short int *samples, int numsamples, int bps, int nch, int srate);
         int modify_samples3(struct winampDSPModule *this_mod, short int *samples, int numsamples, int bps, int nch, int srate);
         int modify_samples4(struct winampDSPModule *this_mod, short int *samples, int numsamples, int bps, int nch, int srate);
         int modify_samples5(struct winampDSPModule *this_mod, short int *samples, int numsamples, int bps, int nch, int srate);
         static BOOL CALLBACK pitchProc(HWND hwndDlg, UINT uMsg, WPARAM wParam,LPARAM lParam);
         // configuration. Passed this_mod, as a "this" parameter. Allows you to make one configuration
         // function that shares code for all your modules (you don't HAVE to use it though, you can make
          "Configuration",MB_OK);
          ShowWindow((pitch_control_hwnd=CreateDialog(this_mod->hDllInstance,MAKEINTRESOURCE(IDD_DIALOG1),this_mod->hwndParent,pitchProc)),SW_SHOW);
         int modify_samples1(struct winampDSPModule *this_mod, short int *samples, int numsamples, int bps, int nch, int srate)
         int modify_samples3(struct winampDSPModule *this_mod, short int *samples, int numsamples, int bps, int nch, int srate)
         int modify_samples4(struct winampDSPModule *this_mod, short int *samples, int numsamples, int bps, int nch, int srate)
         int modify_samples5(struct winampDSPModule *this_mod, short int *samples, int numsamples, int bps, int nch, int srate)
         int modify_samples2(struct winampDSPModule *this_mod, short int *samples, int numsamples, int bps, int nch, int srate)
         static BOOL CALLBACK pitchProc(HWND hwndDlg, UINT uMsg, WPARAM wParam,LPARAM lParam)
  • [Lovely]boy^_^/USACO/MixingMilk . . . . 17 matches
         void InputInitData(int& suf, int& numf, map<int,int>& data, vector<int>& numlist);
         int Process(int& suf, int& numf, map<int,int>& data, vector<int>& numlist);
         void OutputData(int& numf, map<int,int>& data, vector<int>& numlist);
          map<int,int> data;
          InputInitData(suf, numf, data, numlist);
          fout << Process(suf, numf, data, numlist) << endl;
         void InputInitData(int& suf, int& numf, map<int,int>& data, vector<int>& numlist)
          if(data[cost] == 0)
          data[cost] += amount;
         int Process(int& suf, int& numf, map<int,int>& data, vector<int>& numlist)
          if(suf > until + data[numlist[i]])
          ret += numlist[i] * data[numlist[i]];
          until += data[numlist[i]];
  • 무엇을공부할것인가 . . . . 17 matches
         SeparationOfConcerns로 유명한 데이비드 파르나스(David L. Parnas)는 FocusOnFundamentals를 말합니다. (see also ["컴퓨터고전스터디"]) 최근 작고한 다익스트라(NoSmok:EdsgerDijkstra )는 수학과 언어적 능력을 말합니다. ''Besides a mathematical inclination, an exceptionally good mastery of one's native tongue is the most vital asset of a competent programmer. -- NoSmok:EdsgerDijkstra '' 참고로 다익스트라는 자기 밑에 학생을 받을 때에 전산학 전공자보다 수학 전공자에게 더 믿음이 간다고 합니다.
         As for the job market, Python isn't among the buzzwords that you'll find in
         job descriptions most of the time. But software development isn't that much
         you learn Python, you won't be able to avoid learning (at least):
         There's a lot more concepts that you can learn while using Python, as you
         Learn concepts, not tools. At least in the long run, this will make you
         more attractive to employers who have a clue about what's important in the
         There are some more skills that are especially important:
         - Communication/efficient problem solving: not trying yourself for days to
          solve a problem that could be solved a lot more efficiently by calling
          the past, I guess that's not an uncommon problem for developers.
         - Software reliability: that's a difficult one. IMO experience,
          concentration, unit tests, and always trying to improve on yourself help
  • 새싹교실/2012/AClass/5회차 . . . . 17 matches
          printf("does not matter\n");
         #include<math.h>
          int data;
          p1->data = 10;
          p2->data = 20;
          printf("%d\n",p1->next->data);
          int data;
          p1->data=10;
          p1->next->data=20;
          p1->next->next->data=30;
          printf("%d\n",p1->data);
          printf("%d\n",p1->next->data);
          printf("%d\n",p1->next->next->data);
         8.LinkedList를 만들고, 리스트 data에 4,5,3,7,12,24,2,9가 들어가도록 해봅시다.
         int data;
         int data;
         8.LinkedList를 만들고, 리스트 data에 4,5,3,7,12,24,2,9가 들어가도록 해봅시다.
  • 창섭이 환송회 사진 . . . . 17 matches
         ||http://zeropage.org/~wiz/data/image/myPhoto/DSCN0378.JPG||
         ||http://zeropage.org/~wiz/data/image/myPhoto/DSCN0379.JPG||
         ||http://zeropage.org/~wiz/data/image/myPhoto/DSCN0380.JPG||
         ||http://zeropage.org/~wiz/data/image/myPhoto/DSCN0381.JPG||
         ||http://zeropage.org/~wiz/data/image/myPhoto/DSCN0382.JPG||
         ||http://zeropage.org/~wiz/data/image/myPhoto/DSCN0383.JPG||
         ||http://zeropage.org/~wiz/data/image/myPhoto/DSCN0384.JPG||
         ||http://zeropage.org/~wiz/data/image/myPhoto/DSCN0385.JPG||
         ||http://zeropage.org/~wiz/data/image/myPhoto/DSCN0386.JPG||
         ||http://zeropage.org/~wiz/data/image/myPhoto/DSCN0387.JPG||
         ||http://zeropage.org/~wiz/data/image/myPhoto/DSCN0388.JPG||
         ||http://zeropage.org/~wiz/data/image/myPhoto/DSCN0389.JPG||
         ||http://zeropage.org/~wiz/data/image/myPhoto/DSCN0390.JPG||
         ||http://zeropage.org/~wiz/data/image/myPhoto/DSCN0391.JPG||
         ||http://zeropage.org/~wiz/data/image/myPhoto/DSCN0392.JPG||
         ||http://zeropage.org/~wiz/data/image/myPhoto/DSCN0393.JPG||
         ||http://zeropage.org/~wiz/data/image/myPhoto/DSCN0394.JPG||
  • 현종이 . . . . 17 matches
         private:
          int m_nNumber, m_nKorean, m_nEnglish, m_nMath;
          SungJuk(const char *name,int nNumber, int nKorean, int nEnglish, int nMath);
          void TopMath_Print(); //수학점수 수석을 출력합니다.
          const SungJuk & Top_Math(const SungJuk & s) const;
          void Input(int nNumber, char szName[], int nKorean, int nEnglish, int nMath);
          m_nMath = 0;
          << m_nEnglish << "\t" << m_nMath << "\t" <<m_nTotal << "\t"
         void SungJuk::TopMath_Print()
          << m_nMath << endl;
         const SungJuk & SungJuk::Top_Math(const SungJuk &s) const
          if (s.m_nMath > m_nMath)
         void SungJuk::Input(int nNumber, char szName[], int nKorean, int nEnglish, int nMath)
          m_nMath = nMath;
          m_nTotal = m_nKorean + m_nEnglish + m_nMath;
  • AcceleratedC++/Chapter9 . . . . 16 matches
         || ["AcceleratedC++/Chapter8"] || ["AcceleratedC++/Chapter10"] ||
         private:
          //implementation is here
          private 레이블 뒤에 존재하는 변수, 함수들은 비 멤버함수에서 접근할 수 없다. 반면 public은 접근이 가능하다.
          || class 키워드를 사용한 클래스 || 기본 보호모드가 private 으로 동작한다. ||
         private:
         private:
         private:
         private:
         private:
          // clear the stream so that input will work for the next student
          // read and store the data
          } catch (domain_error e) {
          cout << e.what() << endl;
         ["AcceleratedC++"]
  • Ajax . . . . 16 matches
         Ajax or Asynchronous JavaScript and XML is a term describing a web development technique for creating interactive web applications using a combination of:
          * HTML (or XHTML) and CSS for presenting information
          * The Document Object Model manipulated through JavaScript to dynamically display and interact with the information presented
          * The XMLHttpRequest object to exchange data asynchronously with the web server. (XML is commonly used, although any text format will work, including preformatted HTML, plain text, and JSON)
         Like DHTML, LAMP, or SPA, Ajax is not a technology in itself, but a term that refers to the use of a group of technologies together. In fact, derivative/composite technologies based substantially upon Ajax, such as AFLAX are already appearing.
         Ajax applications use web browsers that support the above technologies as a platform to run on. Browsers that support these technologies include Mozilla Firefox, Microsoft Internet Explorer, Opera, Konqueror and Apple Safari.
         웹 상에선 요새 한참 인기인 중인 기술. RichInternetApplication 은 Flash 쪽이 통일할 줄 알았는데 (MacromediaFlex 를 보았던 관계로) 예상을 깨게 하는데 큰 공로를 세운 기술.;
  • CVS/길동씨의CVS사용기ForLocal . . . . 16 matches
         cvs_SetForLocal.bat 내용 (한글부분은 채워넣어 주세요.)
         SET PATH=%PATH%;"C:Program FilesGNUWinCvs 1.3"
         export CVSROOT=$HOME/CVSPrivate
         C:User>cvs_SetForLocal.bat
         No conflicts created by this import
         cvs checkout: Updating HelloJava
          public static void main(String[] args){
         위와 동일한 cvs_SetForLocal.bat 을 실행 하고, 그냥 checkout을 한다. 시작 디렉토리는 c:user> 로 가정하였다.
         C:User>cvsS_etForLocal.bat
         cvs checkout: Updating HelloJava
          public static void main(String[] args){
         date: 2002/07/31 15:36:21; author: Administrator; state: Exp; lines: +6 -1
         date: 2002/07/31 15:33:20; author: Administrator; state: Exp;
  • CppStudy_2002_1/과제1/상협 . . . . 16 matches
          static int count=0;
         void show(const stringy in, int iteration=1);
         void show(const char in[], int iteration=1);
          char testing[] = "Reality isn't what it used to be.";
         void show(const stringy in, int iteration)
          while(iteration>0)
          iteration--;
         void show(const char in[], int iteration)
          while(iteration>0)
          iteration--;
         template <class Any>
         template <class Any>
         template <class Any>
         template <> char* max(char* in[], int i);
         template <class Any>
         template <class Any>
  • DataCommunicationSummaryProject . . . . 16 matches
         || ["DataCommunicationSummaryProject/CellSwitching"] ||
         || ["DataCommunicationSummaryProject/Chapter3"] ||
         || ["DataCommunicationSummaryProject/Chapter4"] ||
         || ["DataCommunicationSummaryProject/Chapter5"] ||
         || ["DataCommunicationSummaryProject/Chapter8"] ||
         || ["DataCommunicationSummaryProject/Chapter9"] ||
         || ["DataCommunicationSummaryProject/Chapter11"] ||
         || ["DataCommunicationSummaryProject/Chapter12"] ||
  • EightQueenProblem/이선우3 . . . . 16 matches
          private int x;
          private int y;
         import java.util.Enumeration;
          private Vector board;
          private int sizeOfBoard;
          private Board() {}
          if( sizeOfBoard < 1 ) throw new Exception( Board.class.getName() + "- size_of_board must be greater than 0." );
          for( Enumeration e=board.elements(); e.hasMoreElements(); ) {
          for( Enumeration e=board.elements(); e.hasMoreElements(); ) {
          for( Enumeration e=board.elements(); e.hasMoreElements(); ) {
          for( Enumeration e=board.elements(); e.hasMoreElements(); ) {
          private Board board;
          private int numberOfSolutions;
          private void setQueen( int y )
          public static void main( String [] args )
          catch( Exception e ) {
  • JavaStudy2003/두번째과제/곽세환 . . . . 16 matches
          private int array[][]; //판의 배열
          private int max_x; //판의 가로크기
          private int max_y; //판의 세로크기
          private int p_x; // 바퀴의 현재 x 위치
          private int p_y; // 바퀴의 현재 y 위치
          int dir = (int)(Math.random() * 8);
          public static void main(String[] args) {
          캡슐화(Encapsulation):
          캡슐화는 모듈성(modularity)과 정보은닉(information hiding)을 제공한다.
         private:같은 클래스에서만 접근가능
         [접근권한] static 변수 선언;
         [접근권한] static 메소드 선언;
         static 변수선언=초기값;
         static 배열형변수선언=new 배열형;
         static {
          아직 상속을 읽고 있는 중이기 때문에 모르는 것이지요^^. private 과 protected 는 상속이 이루어지지 않으면 똑같이 사용이 됩니다. 하지만 상속이 이루어진다면 의미는 틀려지죠. 만약 '''자동차''' 라는 객체가 있다고 봅시다. 그런데 이것은 굉장히 추상적인 개념이지요. 이 '''자동차''' 의 하위 개념인 '''트럭''' 과 '''버스''' 와 '''승용차''' 를 '''자동차'''에서 상속받아 만들었다고 합시다. 그랬을 때 '''자동차''' 가 가지는 어떠한 상태는 '''트럭''' 과 '''버스''' 와 '''승용차'''도 역시 가지고 있을 수도 있습니다. 이런 경우 protected 로 선언해 주면 그 상태를 상속받을 수 있다는 것이지요. 하지만 외부에서 접근은 불가능하다는 사실은 변함이 없습니다. 하지만 public 은 외부에서 접근이 가능하게 되는 것이지요. 한번 직접 코드로 만들어보세요. 어떻게 다른지 채험하는게 가장 이해가 쉬울겁니다.
  • JavaStudy2003/세번째과제/노수민 . . . . 16 matches
          public static void main() {
          private Point p1 = new Point();
          private Point p2 = new Point();
          private String info = "";
          public void setData(int p1_xValue, int p1_yValue, int p2_xValue, int p2_yValue) {
          private Point p1 = new Point();
          private Point p2 = new Point();
          private String info = "";
          public void setData(int p1_xValue, int p1_yValue, int p2_xValue, int p2_yValue) {
          private Circle circle = new Circle();
          private Line line = new Line();
          private Rectangle rectangle = new Rectangle();
          circle.setData(100,100,50,50);
          line.setData(10,10,40,40);
          rectangle.setData(150,150,240,240);
          public static void main(String[] args) {
  • MoreEffectiveC++ . . . . 16 matches
         http://zeropage.org/~neocoin/data/MoreEffectiveC++.jpg
         = Project About That =
          * Item 3: Never treat arrays polymorphically - 절대로! 클래스 간의 다형성을 통한 배열 취급을 하지 말라
          * Item 4: Avoid gratuitous default constructors. - 암시적으로 제공되는 기본 생성자를 피하라. 혹은 기본 생성자의 모호성을 파악하라.
          === Operator ===
          ["MoreEffectiveC++/Operator"] S
          * Item 6: Distinguish between prefix and postfix forms of increment and decrement operators. - prefix와 postfix로의 증감 연산자 구분하라!
          * Item 13: Catch exception by reference - 예외는 참조(reference)로 잡아라.
          * Item 14: Use exception specifications judiciously. - 예외를 신중하게 사용하라.
          * Item 17: Consider using lazy evaluation - lazy evaluation의 쓰임에 대하여 생각해 보자.
          * Item 18: Amortize the cose of expected computations. - 예상되는 연산의 값을 계산해 두어라.
          * Item 20: Facilitate the return value optimization - 반환되는 값을 최적화 하라
          * Item 23: Consider alternative libraries. - 라이브러리 교체에 관해서 생각해 봐라.
          * An auto_ptr Implementation
  • NUnit/C++예제 . . . . 16 matches
          * Test Fixture 될 클래스의 앞에는 TestFixture, 테스트 함수 앞에 Test 인 Attribute 를 붙인다.
          public __gc class Calculator
          void Calculator::Init() {
          void Calculator::Add() {
          void Calculator::Sub() {
          void Calculator::Mul() {
          void Calculator::Div() {
         public __gc class Calculator
          void Calculator::Init() {
          void Calculator::Add() {
          void Calculator::Sub() {
          void Calculator::Mul() {
          void Calculator::Div() {
         평소대로 하자면 이렇게 하면 될것이다. 하지만 현재 프로젝트는 [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcmxspec/html/vcmanagedextensionsspec_16_2.asp Managed C++ Extensions]이다. 이것은 C++을 이용해서 .Net을 Platform위에서 프로그래밍을 하기 위하여 Microsoft에서 C++을 확장한 형태의 문법을 제안된 추가 문법을 정의해 놓았다. 이를 이용해야 NUnit이 C++ 코드에 접근할수 있다. 이경우 NUnit 에서 검증할 클래스에 접근하기 위해 다음과 같이 클래스 앞에 [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcmxspec/html/vcmanagedextensionsspec_16_2.asp __gc] 를 붙여서 선언해야 한다.
          private:
         이 경우 Unmanaged C++ 코드에 대해서 적용할수 없다. 즉, MFC로 완성된 프로그램이라도, .Net Platform 이 없는 곳에서는 작동할 수 없다. (로직에 __gc 가 존재하므로)
         [류상민]은 NUnit 과 Unmanged C++의 연결을 완전하게는 하지 못했다. Managed C++프로젝트와 Unmanged C++ 프로젝트 두개를 만들어 Managed C++ 코드에서 NUnit 을 이용해 Unmanaged C++ 에 접근해 테스트 코드를 작성했다. 하지만, .Net Platform에 미숙과, Managed C++ Extension의 몰이해, 프로젝트 관리와 의존성 문제에 봉착해 곧 벽에 부딪쳤다. 이 둘은 혼용할수 없음을 알았다.
  • NotToolsButConcepts . . . . 16 matches
         > languages, I saw there Python, and took a look at some python sites. I
         As for the job market, Python isn't among the buzzwords that you'll find in
         job descriptions most of the time. But software development isn't that much
         you learn Python, you won't be able to avoid learning (at least):
         There's a lot more concepts that you can learn while using Python, as you
         Learn concepts, not tools. At least in the long run, this will make you
         more attractive to employers who have a clue about what's important in the
         There are some more skills that are especially important:
         - Communication/efficient problem solving: not trying yourself for days to
          solve a problem that could be solved a lot more efficiently by calling
          the past, I guess that's not an uncommon problem for developers.
         - Software reliability: that's a difficult one. IMO experience,
          concentration, unit tests, and always trying to improve on yourself help
         [1] If you have some spare time you can learn that by joining an Open
         Teach them skepticism about tools, and explain how the state of the software development art (in terms of platforms, techniques, and paradigms) always runs slightly ahead of tool support, so those who aren't dependent on fancy tools have an advantage. --Glenn Vanderburg, see Seminar:AgilityForStudents
  • OurMajorLangIsCAndCPlusPlus/print/조현태 . . . . 16 matches
         #include <math.h>
         void print(const char* outData, ...)
          va_start(variables, outData);
          for (register int readPoint = 0; 0 != outData[readPoint]; ++readPoint)
          if ('%' == outData[readPoint])
          for (; '0' <= outData[readPoint] && '9' >= outData[readPoint]; ++readPoint)
          spaceSize = spaceSize * 10 + (outData[readPoint] - '0');
          if ('d' == outData[readPoint])
          else if ('f' == outData[readPoint])
          else if ('s' == outData[readPoint])
          else if ('@' == outData[readPoint])
          if ('d' == outData[readPoint])
          else if ('f' == outData[readPoint])
          else if ('s' == outData[readPoint])
          fputchar(outData[readPoint]);
  • RandomWalk/동기 . . . . 16 matches
          int **data = new int*[size];
          data[i] = new int[size];
          data[k][j]=0;
          data[spawnY][spawnX]++;
          data[spawnY][spawnX]++;
          data[spawnY][spawnX]++;
          data[spawnY][spawnX]++;
          data[spawnY][spawnX]++;
          data[spawnY][spawnX]++;
          data[spawnY][spawnX]++;
          data[spawnY][spawnX]++;
          data[spawnY][spawnX]++;
          if(data[k][j]==0){
          cout << data[k][j]<<"\t";
          p+=data[k][j];
          delete [] data;
  • RandomWalk/성재 . . . . 16 matches
          int ** data = new int *[num];
          data[i] = new int [num];
          data[i][j] = 0;
          data[b][c] = 1;
          if(data[i][j] == 0)
          data[--b][--c] +=1;
          data[b][--c] +=1;
          data[++b][--c] +=1;
          data[++b][c] +=1;
          data[++b][++c] +=1;
          data[b][++c] +=1;
          data[--b][++c] +=1;
          data[--b][c] +=1;
          cout << data[i][j] << "\t";
          delete [] data [i];
          delete [] data;
  • ResponsibilityDrivenDesign . . . . 16 matches
         Object 란 단순히 logic 과 data 묶음 이상이다. Object 는 service-provider 이며, information holder 이며, structurer 이며, coordinator 이며, controller 이며, 바깥 세상을 위한 interfacer 이다. 각각의 Object 들은 자신이 맡은 부분에 대해 알며, 역할을 해 내야 한다. 이러한 ResponsibilityDrivenDesign 은 디자인에 대한 유연한 접근을 가능하게 한다. 다른 디자인 방법의 경우 로직과 데이터를 각각 따로 촛점을 맞추게끔 하였다. 이러한 접근은 자칫 나무만 보고 숲을 보지 못하는 실수를 저지르게 한다. RDD는 디자인과 구현, 그리고 책임들에 대한 재디자인에 대한 실천적 조언을 제공한다.
          * object 에 대해서 기존의 'data + algorithms' 식 사고로부터 'roles + responsibilities' 로의 사고의 전환.
          * RDD merges communication paths between classes, thus reducing the coupling between classes.
          * Generates DesignPatterns. ChainofResponsibilityPattern, MediatorPattern, CommandPattern and TemplateMethodPattern are all generated by the method.
          * SeparationOfConcerns - 논문에 관련 내용이 언급된 바 있음.
  • StaticInitializer . . . . 16 matches
         [Java] 에서 'Class Variable' 또는 'Class Method' 라 불리는, 해당 Class 내에서 공용적으로 쓸 수 있는 변수나 메소드들을 Static Variable 또는 Static Method 라 불린다.
         Static Initializer 는 이러한 값들을 미리 셋팅하기 위해 사용하며 다음과 같은 문법을 이용한다.
         static {
         문제는 StaticInitializer 부분에 대해서 상속 클래스에서 치환을 시킬 수 없다는 점이다. 이는 꽤 심각한 문제를 발생하는데, 특히 Test 를 작성하는중 MockObject 등의 방법을 사용할 때 StaticInitializer 로 된 코드를 치환시킬 수 없기 때문이다. 저 안에 의존성을 가지는 다른 객체를 생성한다고 한다면 그 객체를 Mock 으로 치환하는 등의 일을 하곤 하는데 StaticInitialzer 는 아에 해당 클래스가 인스턴스화 될때 바로 실행이 되어버리기 때문에 치환할 수 없다.
         StaticInitialzer 에서 값만 치환하는 것으로 (상속클래스에서 해당 Class Variable 의 값을 바꿔주는식으로) 해결되는 문제라면 크게 어렵진 않다. 하지만, 만일 저 부분에 DB 나 File 등(또는 File 을 사용하는 Logger 등) 외부 자원을 이용하는 클래스를 초기화하게 된다면 사태는 더욱더 심각해진다. 처음부터 해당 Class 가 DB, File 등 큰 자원에 대해 의존성을 가지게 되는 것이다. 게다가 이는 상속을 하여 해당 부분을 Mock 으로 치환하려고 해도 StaticInitializer 가 먼저 실행되어버리므로 '치환'이 불가능해져버린다.
         이를 방지하려면, StaticInitializer 를 일반 Method 로 추출한뒤, 생성자에서 이를 호출한다. (단, 인스턴스를 2개 이상 만드는 클래스인경우 문제가 있겠다.)
         그 외에 Static 의 경우, 그 사용 가능 Focus가 Global 해지기 때문에 이 또한 Bad Smell 이 될 가능성이 농후하다. 개인적으로는 가급적이면 Static Variable 을 쓰지 않는 습관을 들이려고 한다. --[1002]
          이 문제가, final static 으로 값이 세팅될때의 문제가 아닌가요? Mock의 생성자에서 교체 가능하지 않나요? --NeoCoin
          Mock 생성자에서 값이 교체되어도 StaticInitializer 자체가 실행된다는 점에는 변함이 없습니다. 만일 StaticInitializer 에서 외부 자원들을 사용한다면, Side-Effect 들을 피하기 어려운 경우가 많다는 것을 강조하고 싶었습니다. --[1002]
         실무에서 저러한 StaticInitializer 를 가장 많이 볼 수 있는 곳은 Logging 관련 코드이다. 보통 Logging 관련 코드들은 개발 마무리 즈음에 붙이게 되는데, 일정에 쫓기다 보니 사람들이 Logging 관련 코드에 대해서는 CopyAndPaste 의 유혹에 빠지게 된다. 순식간에 Logging 과 Property(해당 클래스에 대한 환경설정부분) 에 대한 Dependency 가 발생하게 된다. 팀 차원에서 조심할 필요가 있다. --[1002]
  • User Stories . . . . 16 matches
         User stories serve the same purpose as use cases but are not the same. They are used to create time estimates for the release planning meeting. They are also used instead of a large requirements document. User Stories are written by the customers as things that the system needs to do for them. They are similar to usage scenarios, except that they are not limited to describing a user interface. They are in the format of about three sentences of text written by the customer in the customers terminology without techno-syntax.
         User stories also drive the creation of the acceptance tests. One or more automated acceptance tests must be created to verify the user story has been correctly implemented.
         One of the biggest misunderstandings with user stories is how they differ from traditional requirements specifications. The biggest
         difference is in the level of detail. User stories should only provide enough detail to make a reasonably low risk estimate of how long the story will take to implement. When the time comes to implement the story developers will go to the customer and receive a detailed description of the requirements face to face.
         Developers estimate how long the stories might take to implement. Each story will get a 1, 2 or 3 week estimate in "ideal development time". This ideal development time is how long it would take to implement the story in code if there were no distractions, no other assignments, and you knew exactly what to do. Longer than 3 weeks means you need to break the story down further. Less than 1 week and you are at too detailed a level, combine some stories. About 80 user stories plus or minus 20 is a perfect number to create a release plan during release planning.
         Another difference between stories and a requirements document is a focus on user needs. You should try to avoid details of specific technology, data base layout, and algorithms. You should try to keep stories focused on user needs and benefits as opposed to specifying GUI layouts.
  • ZeroPage_200_OK . . . . 16 matches
          * '''JavaScript 1.4~1.6''' / JScript (ECMAScript)''' - http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf
         == Integrated Development Environment ==
          * 월드 와이드 웹(WWW)과 W3C 표준(Recommendation)
          * JSON.stringify() 메소드와 JSON.parse() 메소드를 이용해서 JSON의 Serialization <-> Deserialization이 가능하다.
          * Builder Pattern의 일종으로 jQuery의 메소드를 실행한 이후에 jQuery 배열 객체를 반환함으로써 함수의 chainning을 해서 사용할 수 있다.
          * Private instance property
          * escape, unescape (deprecated) : encoding 스펙이 정해져 있지 않아서 브라우저마다 구현이 다를 수 있다.
          * window.location
          * window.navigator
          * data() 메소드 - 이벤트 핸들러에 클로저를 쓰면 핸들러가 등록되었을 시점과 핸들러가 호출되었을 시점의 변수 값이 다를 수가 있다. 클로저를 쓰지 않기 위해서는 .data()를 이용하면 해당 data가 key/value 형태로 DOM트리에 등록된다.
          * sortable(), appendTo(), data(), focus(), blur(), clone() 등의 jQuery API를 사용.
          * Static resources
  • [Lovely]boy^_^/Diary/2-2-15 . . . . 16 matches
          * A data communication course ended. Professor told us good sayings. I feel a lot of things about his sayings.
          * A computer architecture&organization course ended too. I am worrying about a final test.
          * My mom went into hospital. My father is not a good status too. I worry their health. I wish that they'll recover a health.
          * A object programming course ended. Professor told us good sayings, similar to a data communication course's professor. At first, I didn't like him, but now it's not. I like him very much. He is a good man.
          * I and other ZP '01 distribute junior and senior agreement papers that ZP is a formal academy.
          * I have suprised at system programming's difference. It's so difficult. In my opinion, if I want to do system programming well, I must study OS.
          * Today, I went to the hospital, to see my mom. I felt easy at my mom's health.
          * Because my mom's absent, I had to work all day at our store. but a dishwashing was so interesting.
          * I worry about father's smoking... after my mom was hospitalization, he decreases amount of drinking, but increases amount of smoking.
          * Ah.. I want to play a bass. It's about 2 months since I have not done play bass. And I want to buy a bass amplifier. A few weeks ago, I had a chance that can listen a bass amplifier's sound at Cham-Sol's home. I was impressed its sound. ㅠ.ㅠ.
  • 논문번역/2012년스터디/김태진 . . . . 16 matches
         == Pattern ==
         완전한 영어 문장들로 학습/인식을 위한 데이터를 제공했는데, 각각은 Lancaster-Oslo/Bergen corpus에 기초한다. 글쓴이에 상관없는 형태와 마찬가지로 다수의 저자에 의한 실험은 the Institute of Informatics and Applied Mathe- matics (IAM)에서 수집한 손글씨 형태를 사용했다. 전체 데이터는 다양한 텍스트 영역들을 가지고 있고,500명보다 많은 글쓴이들이 쓴 1200개보다 많은 글씨를 가지고 있다. 우리는 250명의 글쓴이가 쓴 글쓴이-독립적인 실험에서 만들어진 카테고리들의 형태를 사용하고, 6명의 글쓴이가 쓴 c03 형태로 여러 글쓴이 모드를 적용해본다.
          글쓰는 스타일이 때로 한줄 내에서 중요하게(?) 바뀐다는 관측에 고무되어서, 우리는 각 손글씨 줄들을 각각 수직적인 위치, 기울어짐, slant에서 수정했다. 그래서 각각의 줄은 문서의 부분 사이에 공백으로 찾아 쪼개었다. 한계점은 일반화 요소들을 통했을때에 계산하기에 너무 짧은 부분들을 피하기 위해 사용했다. 반면에 수직적인 위치와 기울어진 것은 [15]에서 묘사된 방법과 비슷한 선형적 regresion?을 사용한 기준선 추정 방법으로 고쳤고, slant 각도에 대한 계산은 모서리의 방향에 기초하여 고쳤다. 그렇게 이미지를 이진화했고 수직적인 변화를 추출하여 consid- ering that only vertical strokes are decisive for slant estima- tion. Canny 모서리 감지는 각 히스토그램에서 계산된 모서리 방향 데이터를 얻기위해 사용했다. 그 히스토그램의 의미는 slant 각도를 사용하는 것이다.
         == Linear Algebra and its applications ==
          등식 (2)는 가중치가 모두 0이 아닐 때 v1...vp사이에서 linear independence relation(선형 독립 관계)라고 한다. 그 인덱싱된 집합이 선형 독립 집합이면 그 집합은 선형독립임이 필요충분 조건이다. 간단히 말하기위해, 우리는 {v1,,,vp}가 선형독립 집합을 의미할때 v1...vp가 독립이라고 말할지도 모른다. 우리는 선형 독립 집합에게 유사한 용어들을 사용한다.
         Linear Independence of Matrix Columns 행렬 행에 대한 선형 독립성
          다음 예시는 두 벡터들의 선형 의존적인 집합에서의 현상을 설명할 것이다. 예제 3에서의 주장들은 두 벡터의 집합이 선형 의존적일 때 우리가 항상 관찰로 결정함을 보여준다. Row operation은 불필요하다. 단순히 벡터들 중 하나에서 다른 scalar times(수치적인 횟수/곱셈?) 이다.
         Characterization of Linearly Dependent Sets
         == 1.8 Linear Transformations ==
          행렬 방정식 Ax=b와 associated(?) 벡터 방정식 x1a1+...+xnan=b는 단지 표기의 문제이다. 그런데, 행렬 방정식 Ax=b는 벡터들의 선형 결합으로 직접 연결되지 않은 방법에서 선형 대수학으로 생길 수 있다. 이것은 우리가 행렬 A를 Ax라고 불리는 새로운 벡터를 만들기위해 곱셈한 벡터 x로 "동작하는" 것으로 생각할 때 일어난다.
          이 섹션에 있는 새로운 용어는 행렬-벡터간 곱의 역동적인 관점이 선형대수학에서 몇몇 개념들을 이해하고 시간이 흐르면서 발전하는(that evolve over time) 물리적인 시스템들에 대한 수학적인 모델을 만드는 것의 핵심이기 때문에 중요하다. 이런 역동적인 시스템들은 Chapter5와 1.10, 4.8, 4.9 섹션에서 논의할 것이다.
         Matrix Transformations 행렬 변환
         Linear Transformations 선형 변환
  • 덜덜덜/숙제제출페이지 . . . . 16 matches
          * multiplication : 구구단 프로그램 *
          float grade1[5], grade2[5], grade3[5];
          int math[5];
          printf("math : ");
          scanf(" %d", &math[a]);
          average[a]=(korean[a]+english[a]+math[a])/3;
          int math[5];
          scanf("%d" , &math[a]);
          printf(" %s의 평균은 %d이다.n" , name[a] , (korean[a]+math[a]+english[a])/3);
          int math; //수학성적
          float average; //평균
          scanf("%d", &student[a].math);
          student[a].average = (student[a].english + student[a].korean + student[a].math)/3;
          float k; /* 국어점수 */
          float e; /* 영어점수 */
          float m; /* 수학점수 */
  • 데블스캠프2010/다섯째날/ObjectCraft/미션2/서민관 . . . . 16 matches
          //z[0] = createZergling();
          //z[1] = createZergling();
          zergling* z1 = createZergling(1);
          zergling* z2 = createZergling(2);
         zergling* createZergling(int num)
          z1->atk = 5;
         void attack(zergling* z1, zergling* z2)
          cout << z1->number << "이 " << z2->number << "에게 데미지 " << z1->atk << "를 입혀 HP가 " << z2->HP << "가 되었다." << endl;
          z2->HP -= z1->atk;
          attack(z1, z2);
          attack(z2, z1);
          attack(z1, z2);
          attack(z2, z1);
          int atk;
         zergling* createZergling(int num);
         void attack(zergling* z1, zergling* z2);
  • 데블스캠프2011/둘째날/Machine-Learning/SVM/namsangboy . . . . 16 matches
         import re, sys, math
          path1 = "/home/newmoni/workspace/svm/package/train/economy/index.economy.db"
          path2 = "/home/newmoni/workspace/svm/package/train/politics/index.politics.db"
          totalct = float(totalct)
          prob1 = math.log((classfreqdic["economy"]/totalct)/(classfreqdic["politics"]/totalct))
          classprob1 = float(classfreqdic["economy"]/totalct)
          classprob2 = float(classfreqdic["politics"]/totalct)
          totalprob+= math.log((classfreq1/classprob1)/(classfreq2/classprob2))
          print correctct,totalct, correctct/float(totalct)
         import re, sys, math
          wordlist.update(wordfreqdic[eachclass].keys())
          path1 = "/home/newmoni/workspace/svm/package/train/economy/index.economy.db"
          path2 = "/home/newmoni/workspace/svm/package/train/politics/index.politics.db"
          svmttest = "../data/test2.svm_light"
          for idx,word in enumerate(wordlist):
          for idx,eachclass in enumerate(classlist):
  • 레밍즈프로젝트/박진하 . . . . 16 matches
         {{{template'<'class TYPE, class ARG_TYPE'>'
         // Attributes
         // Operations
          TYPE GetAt(int nIndex) const;
          void SetAt(int nIndex, ARG_TYPE newElement);
          TYPE& ElementAt(int nIndex);
          // Direct Access to the element data (may return NULL)
          const TYPE* GetData() const;
          TYPE* GetData();
          void SetAtGrow(int nIndex, ARG_TYPE newElement);
          // overloaded operator helpers
          TYPE operator[](int nIndex) const;
          TYPE& operator[](int nIndex);
          // Operations that move elements around
          void InsertAt(int nIndex, ARG_TYPE newElement, int nCount = 1);
          void RemoveAt(int nIndex, int nCount = 1);
          void InsertAt(int nStartIndex, CArray* pNewArray);
         // Implementation
          TYPE* m_pData; // the actual array of data
          int m_nMaxSize; // max allocated
  • 문자반대출력/조현태 . . . . 16 matches
         private:
          char *data_p;
          stack( int data_size )
          data_p=(char*)malloc(data_size*sizeof(char));
          max_size_of_stack=data_size;
          free(data_p);
          bool get_in(char save_data)
          *(data_p+where_is_save)=save_data;
          *where_save_p=*(data_p+where_is_save);
          void clear_data()
          stack file_data(inputFile.tellg());
          file_data.get_in(temp);
          while (file_data.get_out(&temp))
          file_data.get_out(&temp_next);
  • 임시 . . . . 16 matches
         Literature & Fiction: 17
         Outdoors & Nature: 290060
         http://en.wikipedia.org/wiki/IPv4#Data
         In the first stage, you will write a multi-threaded server that simply displays the contents of the HTTP request message that it receives. After this program is running properly, you will add the code required to generate an appropriate response.
         [http://developer.amazonwebservices.com/connect/entry.jspa?externalID=101&categoryID=19 Amazon E-Commerce Service API]
         &Operation=ItemSearch &SearchIndex=SportingGoods
         This section explains how to use REST (Representational State Transfer) to make requests through Amazon E-Commerce Service (ECS). REST is a Web services protocol that was created by Roy Fielding in his Ph.D. thesis (see Architectural Styles and the Design of Network-based Software Architectures for more details about REST).
         REST allows you to make calls to ECS by passing parameter keys and values in a URL (Uniform Resource Locator). ECS returns its response in XML (Extensible Markup Language) format. You can experiment with ECS requests and responses using nothing more than a Web browser that is capable of displaying XML documents. Simply enter the REST URL into the browser's address bar, and the browser displays the raw XML response.
  • 정규표현식/스터디/반복찾기/예제 . . . . 16 matches
         ConsoleKit chatscripts emacs23 host.conf locale.alias openal rc5.d sysctl.conf
         acpi console-setup fonts hosts.deny logrotate.conf pam.d resolvconf timidity
         adduser.conf couchdb foomatic hp logrotate.d pango rmt ts.conf
         alternatives cron.d freemind ifplugd lsb-base papersize rpc ucf.conf
         apm cron.monthly gai.conf initramfs-tools ltrace.conf pcmcia samba update-manager
         apparmor cron.weekly gamin inputrc magic perl sane.d update-motd.d
         apparmor.d crontab gconf insserv magic.mime php5 scim update-notifier
         apport crypttab gdb insserv.conf mailcap pm screenrc updatedb.conf
         at.deny cvs-cron.conf ghostscript iproute2 manpath.config polkit-1 security usb_modeswitch.d
         bonobo-activation dhcp3 group- ld.so.cache mtools.conf python2.6 sound xul-ext
         brlapi.key dictionaries-common grub.d ld.so.conf nanorc rc.local speech-dispatcher xulrunner-1.9.2
         ca-certificates dpkg gtk-2.0 legal networks rc2.d subversion
         ca-certificates.conf eclipse.ini hal lftp.conf nsswitch.conf rc3.d sudoers
         calendar emacs hdparm.conf libpaper.d obex-data-server rc4.d sudoers.d
  • 창섭/배치파일 . . . . 16 matches
         배치파일의 기능은 순차적이고 반복된 동일한 작업 과정을 몇개의 혹은 수십, 수백 개의 연관된 명령어를 하나의 파일로 집약하여 그 하나의 파일(배치파일)만 실행함으로써 원하는 작업 과정을 수행하는것입니다.배치파일에 붙는 확장자는 .bat(batch 의 약어) 입니다.도스에서 실행이 가능하기 때문에 .com, .exe 확장자가 붙는 외부 명령어와 함께 실행 가능한 파일로 분류됩니다.차이가 있다면 .com, .exe 명령어는 컴퓨터만 해석 가능한 기계어 코드로 구성되어 있는반면, 배치 파일은 사람이 알아볼수 있는 일반 텍스트로 이루어져있다는 것입니다.
         C:\Bats> copy con Timedate.bat
         date
         여기서 쓰고 싶은 대로 적기만 하면 됩니다.제일 마지막행의 ^Z 는 파일의 제일 마지막 부분이라는 것을 도스에게 알려주는 코드로 < Ctrl + Z > 키 또는 F6 키를 누르면 됩니다. 그리고 엔터키를 한번더 누르면 '1 File(s) copied' 라는 메세지가 출력되는데, 이는 방금 ' copy con 파일명 ' 으로 작성된 문서파일이 성공적으로 만들어졌다는 뜻입니다.위의 문서파일은 확장자가 .BAT 로 붙었기 때문에 실행가능한 외부 명령어가 되는데, 배치파일은 명령이 기록되어 있는 순서대로 실행되기 때문에 timedate.bat 를 실행시키면 먼저 화면을 지우고 난뒤 시스템의 시간과 날짜를 설정합니다.간단한 배치파일은 'copy con 파일명' 으로 작성하는 것이 다른 프로그램의 도움없이 쉽고 빠르게 처리할 수 있습니다. 하지만 배치파일이 조금 길거나 작성중에 수시로 편집할 일이 생기는 경우에는 불가능합니다. 'copy con 파일명' 으로 파일을 작성하면 행으로 다시돌아갈 수 없을 뿐 아니라 수정이 불가능하기 때문입니다. 그러므로 배치파일을 만들 필요가 있을때는 문서 에디터를 이용하는 것이 좋습니다.
         배치 파일은 파일 안에 기록되어 있는 명령의 순서대로 실행됩니다.가장 대표적인 것이 부팅에 이용되며, 컴퓨터의 루트 디렉토리에 위치하고 있는 Autoexec.bat 파일입니다. 그런데 만약 배치 파일의 실행의 순서를 순차적이 아닌멀티부팅용 Autoexec.bat 처럼 사용자 마음대로 정하고 싶다면 배치파일에 제공되는배치명령어의 용도를 알고 있어야 합니다.
         ◇ 사용법 : Call [drive:]\[경로]\<배치파일명>[.BAT]
         ◇ 예 : Call c:\bats\sample.bat
         어떤 배치 파일을 실행하는 도중에 경로 C:\bats 에 있는 sample.bat 파일을 실행한 다음 다시 원래의 배치파일로 돌아옵니다.
         <TEST.BAT>
         C:\bats> test.bat A B C D E F G H I J 0 1 2 3 4 5 ☜똑같이 입력하고 실행후 확인.
  • 5인용C++스터디/키보드및마우스의입출력 . . . . 15 matches
          WndClass.hIcon=LoadIcon(NULL,IDI_APPLICATION);
          hWnd=CreateWindow(lpszClass,lpszClass,WS_OVERLAPPEDWINDOW,
          TranslateMessage(&Message);
          DispatchMessage(&Message);
          static char str[256];
          InvalidateRect(hWnd,NULL,FALSE);
          소스를 입력한 후 실행해 보자. 키보드에서 키를 누르면 입력한 문자들이 화면 상단에 출력될 것이다.WndProc을 보면 우선 문자열 str이 선언되어 있으며 이 문자열 변수에 사용자가 입력한 문자들을 모은다. 단 이 변수는 WndProc에 선언되어 있는 지역변수이므로 그냥 선언하면 메시지가 발생할 때마다 초기화되기 때문에 static을 붙여 정적변수로 만들어 두어야 한다. 아니면 아예 WinMain 함수 이전에 선언하여 전역 변수로 만들어 두어도 된다.
          키보드 메시지에서는 str배열에 문자열을 집어 넣기만 하며 문자열을 화면으로 출력하는 일은 WM_PAINT에서 맡는다. 단 키보드 메시지에 의해 문자열이 다시 입력되더라도 화면상의 변화는 없으므로 WM_PAINT메시지가 발생하지 않는다. 그래서 강제로 WM_PAINT 메시지를 발생시켜 주어야 하는데 이 때는 InvalidateRect 함수를 호출해 주면 된다. WM_CHAR에서 문자열을 조립한 후 InvalidateRect 함수를 호출해 주어 키보드가 입력될 때마다 화면을 다시 그리도록 하였다.
          * 1-3) TranslateMessage
          TranslateMessage(&Message);
          DispatchMessage(&Message);
         GetMessage는 메시지 큐에서 메시지를 꺼내온 후 이 메시지를 TranslateMessage 함수로 넘겨 준다. TranslateMessage 함수는 전달된 메시지가 WM_KEYDOWN인지와 눌려진 키가 문자키인지 검사해 보고 조건이 맞을 경우 WM_CHAR 메시지를 만들어 메시지 큐에 덧붙이는 역할을 한다. 물론 문자 입력이 아닐 경우는 아무 일도 하지 않으며 이 메시지는 DispatchMessage 함수에 의해 WndProc으로 보내진다. 만약 메시지 루프에서 TranslateMessage 함수를 빼 버리면 WM_CHAR 메시지는 절대로 WndProc으로 전달되지 않을 것이다.
  • AcceleratedC++/Chapter4 . . . . 15 matches
         || ["AcceleratedC++/Chapter3"] || ["AcceleratedC++/Chapter5"] ||
         = Chapter 4 Organizing programs and data =
          == 4.1 Organizing computations ==
          === 4.1.5 Using functions to calculate a student's grade ===
          catch(domain_error) {
          // 이리로 온다. 만약에 try 안에서 예외 안 뜨면 catch 안은 수행안한다.
          catch(domain_error)
          == 4.2 Organizing data ==
          === 4.2.1 Keeping all of a student's data together ===
          * 무엇을 기준으로 sort를 할것인가? 이름? midterm? final? 알수가 없다. 따라서 우리는 predicate라는 것을 정의해 주어야 한다. 다음과 같이 해주면 된다.
          === 4.2.3. Generating the report ===
          * catch(domain_error e) 한 다음에 무슨 예외 났는지 알고 싶으면 e.what()을 해준다.
         ["AcceleratedC++"]
  • ComponentObjectModel . . . . 15 matches
         {{|Component Object Model, or COM, is a Microsoft technology for software componentry. It is used to enable cross-software communication and dynamic object creation in many of Microsoft's programming languages. Although it has been implemented on several platforms, it is primarily used with Microsoft Windows. COM is expected to be replaced to at least some extent by the Microsoft .NET framework. COM has been around since 1993 - however, Microsoft only really started emphasizing the name around 1997.
         = Migration from COM to .NET =
         The COM platform has largely been superseded by the Microsoft .NET initiative and Microsoft now focuses its marketing efforts on .NET. To some extent, COM is now deprecated in favour of .NET.
         There exists a limited backward compatibility in that a COM object may be used in .NET by implementing a runtime callable wrapper (RCW), and .NET objects may be used in COM objects by calling a COM callable wrapper. Additionally, several of the services that COM+ provides, such as transactions and queued components, are still important for enterprise .NET applications.
         COM is a feature of Windows. Each version of Windows has a support policy described in the Windows Product Lifecycle.
         COM is a planned feature of the coming version of Windows, code-named "Longhorn".
         = Related =
  • DataCommunicationSummaryProject/Chapter5 . . . . 15 matches
          * extra spectrum과 새로운 modulation techniques으로써 가능. CDMA 선호(증가된 스펙트럼의 효율성과 자연스러운 handoff 메카니즘)
          * 2000kbps의 data rates
          * Data rates
          * Switched Data(서킷) : 팩스 + dial-up 접근 포함.
          === Compatibility ===
          * Roaming : operation의 multiple modes - 각기 다른 3G System.
          * cdmaOne과의 차이점 : 시간 동기화가 필요없다. GPS 필요없다. 마이크로셀 사용. negative feedback에 기초한, 보다 쉬운 파워 컨트롤 메카니즘 사용
          * 불행하게도 W-CDMA와 비호환. chip rate때문이다.
          * 1xEV-DO(Data only) : HDR
          * 1xEV-DV(Data/Voice) : 완전히 표준화되지 않았음. 1XEV-DO의 모듈레이션 테크닉을 전체 네트워크에 적용
          * cdmaOne을 물려받음 - chip rate와 GPS 타이밍
         ["DataCommunicationSummaryProject"]
  • Doublets/문보창 . . . . 15 matches
          char * data;
          temp->data = new char[len + 1];
          strcpy(temp->data, word);
          strcpy(first, word.next->data);
          strcpy(second, word.next->data);
          temp->data = new char[strlen(first) + 1];
          strcpy(temp->data, first);
          if (strlen(first) != strlen(dic.next->data))
          if (first[i] != dic.next->data[i])
          if (gap == 1 && strcmp(formerWord, dic.next->data) != 0)
          temp->data = new char[strlen(first) + 1];
          strcpy(temp->data, dic.next->data);
          strcpy(first, dic.next->data);
          cout << dou->next->data << endl;
  • InterWiki . . . . 15 matches
          * [http://seattlewireless.net/ SeattleWireless]
          * [http://www.wikiservice.at/dse/wiki.cgi? DseWiki]
         MoinMoin marks the InterWiki links in a way that works for the MeatBall:ColourBlind and also is MeatBall:LynxFriendly by using a little icon with an ALT attribute. If you hover above the icon in a graphical browser, you'll see to which Wiki it refers. If the icon has a border, that indicates that you used an illegal or unknown BadBadBad:InterWiki name (see the list above for valid ones). BTW, the reasoning behind the icon used is based on the idea that a Wiki:WikiWikiWeb is created by a team effort of several people.
         See the wiki:MeatBall/InterWiki page on wiki:MeatBall:MeatballWiki for further details.
  • JSP/FileUpload . . . . 15 matches
          if ((contentType != null) && (contentType.indexOf("multipart/form-data") >= 0))
          DataInputStream in = new DataInputStream(request.getInputStream());
          int formDataLength = request.getContentLength();
          byte dataBytes[] = new byte[formDataLength];
          while (totalBytesRead < formDataLength) {
          byteRead = in.read(dataBytes, totalBytesRead, formDataLength);
          String file = new String(dataBytes);
          //out.print(dataBytes);
          int boundaryLocation = file.indexOf(boundary, pos) - 4;
          int endPos = ((file.substring(0, boundaryLocation)).getBytes()).length;
          //fileOut.write(dataBytes);
          fileOut.write(dataBytes, startPos, (endPos - startPos));
  • Java2MicroEdition/MidpHttpConnectionExample . . . . 15 matches
          private Display display;
          private TextBox tb;
          private Command exit;
          private HttpConnection httpConn;
          protected void startApp() throws MIDletStateChangeException {
         import java.io.DataInputStream;
          private HttpConnection httpConn;
          private DataInputStream dis;
          } catch(IOException ex) {
          private void init(String url) throws IOException {
          dis = httpConn.openDataInputStream();
          } catch(IOException ex) {
          } catch(IOException ex) {
          } catch(IOException ex) {
  • JavaScript/2011년스터디/서지혜 . . . . 15 matches
          <meta name="Generator" content="EditPlus">
          function operator(value) {
          <input type=button onclick=operator("/") value="/" class=btn>
          <input type=button onclick=operator("*") value="*" class=btn>
          <input type=button onclick=operator("-") value="-" class=btn>
          <input type=button onclick=operator("+") value="+" class=btn>
          this.father = f;
         var sample_string = "string for regular expression pattern matching. perl, python, ruby, javascript";
         sample_string.match(/s/); // 지역검색
         sample_string.match(/s/g); // 전역검색
         sample_string.match(/perl|python/g); // ["perl", "python"]
         sample_string.match(/p(erl|ython)/); // ["perl", "erl"] 왜 이렇게 나올까
         sample_string.match(/p(erl|ython)/g); // ["perl", "python"] 이러면 되요
         sample_string.match(/p[erl|ython]/); // ["pr"] 왜 이게나와아아아아ㅏ아
  • LearningToDrive . . . . 15 matches
         I can remeber clearly the day I first began learning to drive. My mother and I were driving up Interstate 5 near Chico, California, a horizon. My mom had me reach over from the passenger seat and hold the steering wheel. She let me get the feel of how motion of the wheel affected the dirction of the car. Then she told me, "Here's how you drive. Line the car up in the middle of the lane, straight toward the horizon."
         I very carefully squinted straight down the road. I got the car smack dab in the middle of the lane, pointed right down the middle of the road. I was doing great. My mind wandered a little...
         I jerked back to attention as the car hit the gravel. My mom (her courage now amazes me) gently got the car back straight on the road. The she actually taught me about driving. "Driving is not about getting the car goint in the right direction. Driving is about constantly paying attention, making a little correction this way, a little correction that way."
         This is the paradigm for XP. There is no such thing as straight and level. Even if things seem to be going perfectly, you don't take your eyes off the road. Change is the only constant. Always be prepared to move a little this way, a little that way. Sometimes maybe you have to move in a completely different direction. That's life as a programmer.
         Everythings in software changes. The requirements change. The design changes. The business changes. The technology changes. The team changes. The team members change. The problem isn't change, per se, because change is going to happen; the problem, rather, is the inability to cope with change when it comes.
         The driver of a software project is the customer. If the software doesn't do what they want it to do, you have failed. Of course, they don't know exactly what the software should do. That's why software development is like steering, not like getting the car pointed straight down the road. Out job as programmers is to give the customer a steering wheel and give them feedback about exactly where we are on the road.
         소프트웨어 개발을 운전을 배우는 것에 비유한 설명이 재미있네요. software project 의 Driver 는 customer 라는 말과.. Programmer 는 customer 에게 운전대를 주고, 그들에게 우리가 정확히 제대로 된 길에 있는지에 대해 feedback 을 주는 직업이라는 말이 인상적이여서. 그리고 customer 와 programmer 와의 의견이 수렴되어가는 과정이 머릿속으로 그려지는 것이 나름대로 인상적인중. 그리고 'Change is the only constant. Always be prepared to move a little this way, a little that way. Sometimes maybe you have to move in a completely different direction. That's life as a programmer.' 부분도.. 아.. 부지런해야 할 프로그래머. --;
          * 하지만. 한편으론 '이상적인 만남' 일때 가능하지 않을까 하는 생각도. Communcation 이란 상호작용이라고 생각해볼때.
  • Memo . . . . 15 matches
         RFC 768 User Datagram Protocol
          WSAData wsaData;
          if (WSAStartup(MAKEWORD(2, 2), &wsaData) != 0)
          catch (...)
          data = self.conn.recv(bufsize)
          print data
          WSADATA wsaData;
          if( WSAStartup(MAKEWORD(2,2), &wsaData) == -1 )
         ObserverPattern 연습
          each.update()
          def update(self):
         class TestObserverPattern(unittest.TestCase):
          def testUpdate(self):
          company.update()
  • NetworkDatabaseManagementSystem . . . . 15 matches
         = Network Database Management System =
         The network model is a database model conceived as flexible way of representing objects and their relationships. Its original inventor was Charles Bachman, and it was developed into a standard specification published in 1969 by the CODASYL Consortium. Where the hierarchical model structures data as a tree of records, with each record having one parent record and many children, the network model allows each record to have multiple parent and child records, forming a lattice structure.
         The chief argument in favour of the network model, in comparison to the hierarchic model, was that it allowed a more natural modeling of relationships between entities. Although the model was widely implemented and used, it failed to become dominant for two main reasons. Firstly, IBM chose to stick to the hierarchical model in their established products such as IMS and DL/I. Secondly, it was eventually displaced by the relational model, which offered a higher-level, more declarative interface. Until the early 1980s the performance benefits of the low-level navigational interfaces offered by hierarchical and network databases were persuasive for many large-scale applications, but as hardware became faster, the extra productivity and flexibility of relational systems won the day.
  • PrimeNumberPractice . . . . 15 matches
         void CalculatePrimeNumber(int scope[], int length);
          CalculatePrimeNumber(targetNumberScope, scope);
         void CalculatePrimeNumber(int scope[], int length) {
          static final int SCOPE = 2000;
          private static boolean numberPool[];
          private static void InitializeNumberPool() {
          private static void CalculatePrimeNumber() {
          private static void PrintResult() {
          public static void main(String[] args) {
          CalculatePrimeNumber();
  • TkinterProgramming/Calculator2 . . . . 15 matches
         class Evaluator:
          self.runpython("from math import *")
         class Calculator(Frame):
          self.calc = Evaluator()
          self.buildCalculator()
          'stat' : self.doThis, 'math' : self.doThis,
          'matrix': self.doThis, 'program' : self.doThis,
          def buildCalculator(self):
          ('Stat', 'List', 'A', KC1, FUN, 'stat')],
          [ ('Math', 'Test', 'B', KC1, FUN, 'math'),
          ('Mtrx', 'Angle', 'C', KC1, FUN, 'matrix'),
         Calculator().mainloop()
  • UDK/2012년스터디 . . . . 15 matches
          * [http://www.udk.com/kr/documentation.html 튜토리얼], [http://www.3dbuzz.com/vbforum/sv_home.php 3D Buzz] [http://cafe.naver.com/cookingani UDK 카페]와 [http://book.naver.com/bookdb/book_detail.nhn?bid=6656697 Mastering Unreal]을 참고하여 진행
          * [http://udn.epicgames.com/Three/MaterialsCompendiumKR.html 머터리얼 개론] 텍스쳐와 여러 가지 연산 기능을 이용하여 머터리얼 속성을 만듬
         http://www.slideshare.net/devcatpublications/ndc2011-8253034
         http://udn.epicgameskorea.com/Three/LandscapeCreatingKR.html
          * [http://udn.epicgames.com/Three/MasteringUnrealScriptStatesKR.html 언리얼 마스터하기: 언리얼스크립트 스테이트]
          * [http://udn.epicgames.com/Three/MasteringUnrealScriptDelegatesKR.html 언리얼 마스터하기: 언리얼스크립트 델리게이트]
          * [http://www.youtube.com/watch?v=izVtTcq_his&feature=related 이걸 해 놓은 사람이 있다니]
          좀 더 관심있으면 다음 예제도 도움이 될 듯. [http://udn.epicgames.com/Three/DevelopmentKitGemsConcatenateStringsKismetNodeKR.html Concatenate Strings (문자열 연결) 키즈멧 노드 만들기]
         // called when actor landed at FloorActor
  • Vending Machine/dooly . . . . 15 matches
          public static Test suite() {
          private static final int GREEN_TEA_PRICE = 500;
          private static final int COFFEE_PRICE = 400;
          private static final int TEA_PRICE = 300;
          private VendingMachine vm;
          public void testWaitState() {
          private VendingMachine vm;
          public void testEmptyMatchine() {
          private Map itemMap = new HashMap();
          private int money;
          private boolean shortMoneyFor(String item) {
          private boolean notExist(String item) {
  • [Lovely]boy^_^/Diary/2-2-16 . . . . 15 matches
         DeleteMe) I envy you. In my case, all final-exams will end at Friday. Shit~!!! -_- Because of dynamics(In fact, statics)... -_-;; --["Wiz"]
          * It's 1st day of a winter school vacation. I must do a plan.
          * Let's enumarate. English, Smalltalk, Design Pattern, Accelerated C++, DirectX, etc...
          * Today, I saw a psycho that is only heard. I felt grimness at her.
          * I can't translate english sentence that I writed.--;
          * I read a little Power Reading. Today's reading's principle content is using a regulator(ex) pen, pinger. etc). but this method is what I have used all the time.--; I should read a lot more.
          * I typed directX codes from NeXe sites, because RolePlaying Games with DirectX that I borrowed some days ago is so difficult for me. Let's study slow and steady...
          * I don't understand accuracy a world, view, projection matrix.--; I should study a lot more.
         = 12/21 Sat =
  • [Lovely]boy^_^/Diary/2-2-9 . . . . 15 matches
          * ["AcceleratedC++/Chapter4"] 정리약간
          * 내가 정리하고 있는 AcceleratedC++이 C++을 처음 보는 사람에게 도움이 된다면 좋겠다.
          * It's a first week after a mid-exams. I desperated at mid-exams, so I decide to study hard.
          * The computer classic study - The Mythical Man Month Chapter 3&4 - meeting is on today P.M. 7 O'clock, at SinChon Min.To.
          * I make arcanoid perfectly(?) today. I will add functions that a shootable missile and multiple balls.
          * I borrow the UML for beginner. Translator is Kwak Yong Jae.(His translation is very good)
          * I do a litter summary ["AcceleratedC++/Chapter4"].
         === 11/2 Sat ===
          * If my page is helpful to some person, It's very delightful. I feel that feeling these days.
          * I'll delight The AcceleratedC++, that I summary on wiki pages is helpful for beginner of C++.
          * The computer classic study - The Mythical Man Month Chapter 5&6 - meeting is on today P.M. 5 O'clock, at SinChon Min.To.
          * This meeting is also helpful. Although a half of members don't attend, I can think many new things.
  • 덜덜덜/숙제제출페이지2 . . . . 15 matches
          int pattern_num;
          char pattern_shape;
          scanf("%d", &pattern_num);
          scanf("%c", &pattern_shape);
          scanf("%c", &pattern_shape);
          for(i = 1; i <= pattern_num; i++)
          for(blank = 0; blank < pattern_num - i; blank++)
          printf("%c", pattern_shape);
          for(i = 1; i < pattern_num; i++)
          for(j = 0; j < 2*(pattern_num-i)-1; j++)
          printf("%c", pattern_shape);
          int pattern, length, a, b, c;
          scanf("%c", &pattern);
          printf("%c", pattern);
          printf("%c", pattern);
  • 데블스캠프2010/다섯째날/ObjectCraft/미션3/김상호 . . . . 15 matches
         void attack(unit a, unit &b)
          int attackerTeam = rand() % 2;
          int attackerUnit = rand() % 2;
          attack(a[attackerTeam * 2 + attackerUnit],a[(!attackerTeam) * 2 + defenderunit]);
          int attackerTeam = rand() % 2;
          int attackerUnit = rand() % 2;
          a[attackerTeam * 2 + attackerUnit].attack(a[(!attackerTeam) * 2 + defenderunit]);
         void unit::attack(unit &b)
          void attack(unit &b);
  • 데블스캠프2011/둘째날/후기 . . . . 15 matches
         == 강성현/Scratch ==
          * Scratch참 재밌었습니다 ㅋㅋ. 하다보니까 로보랩느낌도 나고 코딩도 미리 만들어져있는 명령어 끌어다하니까 다른 언어보다 쉽게 느껴지구요. 고양이 움직이는 것도 귀여웠고 생각보다 꽤 다양한 것을 구현할 수 있어 놀랐습니다. 마지막에 핑퐁게임을 만들었는데 생각보다 버그가 많아서 아쉬웠네요 ㅜㅜ.
          * 처음해보는 Scratch 였습니다. 그림을 끌어다 놓고, 명령어들을 끌어다가 추가시키면서 프로그램 진행을 구성하고... 독특하고 신기했습니다만 정작 익숙해지기에는 힘들었습니다. 코드로만 하다가 이렇게 짜여진 틀을 움직인다는게 어색해서 짜고있던 게임을 완성시키지는 못 한것이 아쉬었다.
          * 제가 처음 준비했던 컨텐츠였는데 성현이가 세미나를 진행하니 감회가 새로웠습니다. 저는 09년 때 간단한 인터페이스만 가르쳐줬는데 학우들이 창의적인 컨텐츠를 많이 만든 반면 성현이는 기능 하나하나 상세히 설명해주어서 제가 몰랐던 기능도 많이 알게 되었습니다. 수업을 들으면서 플래시 같은 애니메이션을 만들었는데 갑자기 게임을 만들라고 해서 소닉이 좌우로 이동하는 것밖에 못 만들어봤네요 ㅋㅋ 그래도 이동할 때의 모습을 바꾸는 데에서 삽질 끝에 성공해서 뿌듯뿌듯했습니다. 저의 Scratch 작품의 포인트는 역시 '음악' 입니다.
          * Scratch를 어제 블럭 쌓기라고 해서 무슨 테트리스 같은 거라고 생각했는데, 오늘 보니 아 이런거구나 하는 것을 알게 되었습니다. 꼭 프로그램 짜기 전에 의사 코드로 하는 것 같더군요a. 마지막에 성현이가 게임 만들으라고 해서 뭐 할까 하다가 슈퍼마리오 배경도 있고 해서 그걸로 좀 비슷하게 하려고 했는데, 파이프에 닿았을 때 그걸 넘어가게 하는 걸 하려다 망했네요 ㅋㅋㅋ 그러다 보니 그냥 마리오가 움직이고 뛰기만 하는 걸로 끝났습니다. 좀 더 도구를 잘 활용하지 못함이 아쉽긴 했습니다.
          * Scratch!! 오늘 했던것중에는 가장 재밌게 했습니다. (하나는 약간 강의위주였고, 하나는 저희에게는 좀 어려웠으니까요..;) 저는 학점 나올 시즌이 되었기에 그에 걸맞게(?) A학점 잡기 게임을 만들었어요. F학점의 추격을 피하며 B학점을 챙기고, 최종적으로는 A를 몰아넣어서 잡으면 되는거 였지요. 사실 다른데서 만들어 놓은 마우스 피하기에 약간 영감을 받은거였지만.. 아무튼 3시간이 부족하다 느낄정도로 재밌게 했어요. 다만 끝에 시간이 모자라 다른사람들이 한것들을 함께 보지 못한건 좀 아쉬웠던거 같아요.
          * [http://sdec.kr SDEC] 가느라 못 들었는데 나중에 다른 학우들이 한 걸 돌려보며 저도 다시 Scratch를 사용해봤습니다. 오랜만에 하니 재밌네요 ㅋㅋ
          * Hacking != Cracking. Cheat Engine, 자바스크립트를 이용한 사이트 공격? 툴을 이용한 Packet Cracking 등 개인적으로 무척 재미있던 세미나였습니다. 뭐... 사실 많이들 관심은 있지만 실제로 하는 걸 보는 건 흔치 않은 만큼 이번에 세미나를 볼 수 있었던 것은 여러모로 행운이었다고 생각합니다. 더군다나 질문을 꽤 많이 했는데 선배님이 친절하게 답변을 해 주셔서 정말 감사했습니다. 웹 쪽은 이래저래 공격을 당할 가능성도 높은 만큼 나중에 그쪽으로 가게 된다면 관련 기술들도 배워둬야 하지 않을까 싶군요.
          * 이번 주제는 1학년 때 새싹 스터디 하면서 잠깐 보여주었던 내용을 다시금 보게 되어서 재미있었습니다. Cheat Engine을 직접 사용해 볼 수 있는 부분도 상당히 매력있었습니다. 많이들 듣던 해킹에 대한 정확한 정의도 알게 되었고 그 과정이 어떻게 되는지 조금이나마 알 수 있었던 부분이었습니다. 세미나에서 보여주고자 했던 게임이 생각되로 되지 않아 아쉽긴 했지만, 한편으로는 저렇기 때문에 보안이 중요하다는 것도 다시금 생각할 수 있었습니다.
          * 씐나는 Cheat-Engine Tutorial이군요. Off-Line Game들 할때 이용했던 T-Search, Game-Hack, Cheat-O-Matic 과 함께 잘 사용해보았던 Cheat-Engine입니다. 튜토리얼이 있는지는 몰랐네요. 포인터를 이용한 메모리를 바꾸는 보안도 찾을수 있는 대단한 성능이 숨겨져있었는지 몰랐습니다. 감격 감격. 문명5할때 문명 5에서는 값을 *100 + 난수로 해놔서 찾기 어려웠는데 참. 이제 튜토리얼을 통해 어떤 숨겨진 값들도 다 찾을 수 있을것 같습니다. 그리고 보여주고 준비해왔던 얘제들을 통해 보안이 얼마나 중요한지 알게되었습니다. 보안에 대해 많은걸 생각하게 해주네요. 유익한시간이었습니다. 다음에 관련 책이 있다면 한번 읽어볼 생각이 드네요.
          * Classification의 정확성을 높이기 위해 한글자나 특수문자가 포함된 단어들을 제외시켰는데 오히려 정확도가 떨어져서 아쉬웠습니다. 인공지능 수업때도 느꼈던 것이지만 사람의 생각(아이디어)가 반영된다고 해서 더 성능이 좋아진다고 보장할 수는 없는것 같아요
         #include <math.h>
  • 몸짱프로젝트/Maze . . . . 15 matches
         Element path[MAX];
          path[++*top]= aItem;
          return path[*top];
          return path[*top];
          return path[--*top];
          row = path[top].row + move[path[top].direction].vtc;
          col = path[top].col + move[path[top].direction].hrz;
          path[top].direction++;
          if ( path[top-1].direction > 7){
          maze[path[top].row][path[top].col] = -1;
          cout << "(" << path[i].row
          << ", " << path[i].col << ")" << endl;
  • 이차함수그리기/조현태 . . . . 15 matches
         const float TAB_X=1;
         const float TAB_Y=0.5;
         int banollim(float number)
          float temp_sosu=number-(int)number;
         float function_x_to_y(float x)
          float y=x*x;
         void make_image(int where_x, int where_y, float min_x, float max_x, float tab_x, float tab_y)
          for (register float x=min_x; x<=max_x; x+=tab_x)
          for (register float x=min_x; x<=max_x; ++x)
          for (register float y=min_y; y<=max_y; ++y)
          for (register float x=min_x; x<=max_x; x+=tab_x)
  • 졸업논문/참고문헌 . . . . 15 matches
         [1] Tim O'Reilly, "What Is Web 2.0", http://www.oreillynet.com/pub/a/oreilly/tim/news/2005/09/30/what-is-web-20.html, Sep. 2005.
         [3] Costa, "Creating a weblog in 15 minutes", http://www.rubyonrails.org/screencasts, July. 2006.
         [4] "Writing your first Django app, part 1", http://www.djangoproject.com/documentation/tutorial1
         [5] "Design philosophies", http://www.djangoproject.com/documentation/design_philosophies/
         [6] "Model reference", http://www.djangoproject.com/documentation/model_api/
         [7] "Database API reference", http://www.djangoproject.com/documentation/db_api/#retrieving-objects
         [9] "Or lookups", http://www.djangoproject.com/documentation/models/or_lookups/
         [11] "A Relational Model of Data for Large Shared Data Banks", E. F. Codd , Communications of the ACM, Vol. 13, No. 6, June 1970, pp. 377-387.
         [12] "Database Management System", http://en.wikipedia.org/wiki/Database_management_system
  • 타도코코아CppStudy/0724/선희발표_객체지향 . . . . 15 matches
          * Classification(분류) - 같은 자료구조와 행위를 가진 객체들은 동일한 클래스(class)로 분류된다.
          같은 클래스에서 생성된 객체들은 모두 같은 연산(operation) 기능을 갖고 있으며, 자료구조가 같고 동일한 행위를 하게 된다.(자료구조는 객체들이 갖는 데이타와 속성(attribute)들의 집합이다. 그러나 데이터와 속성의 값은 물론 다르다.)
          * 데이터 추상화(data abstraction) : 자료 객체(data entity)들의 중요한 특성을 모형화한다. 이 모형이 객체의 속성이 된다.
          * 캡슐화(encapsulation) : 객체의 내부적인 사항과 객체들간의 외부적인 사항들을 분리시킨다. 이렇게 캡슐화된 객체의 행위는 외부에서 볼 때는 구체적인 아닌 추상적인 것이 되므로 정보 은닉(information hiding) 개념이 존중된다. 주어진 클래스의 특정 연산 기능은 메소드(method)라고 한다. 캡슐화는 무슨 메소드로 구현되었는가에 구애받지 않고 추상적으로 정의된 연산 기능을 통해 객체가 사용되고 시스템의 상태(state)를 변화시키도록 해준다.
          * combining data and behavior : 특정한 연산 기능을 수행시킬 때 단순히 메세지만 전송하면 된다.
          서브클래스가 수퍼클래스의 변수와 메소드들을 상속받을 때 필요에 따라 정의가 구체화(specification)되며, 상대적으로 상위층의 클래스 일수록 일반화(generalization) 된다고 말한다.
          * 캡슐화(Capsulation) : 캡슐화는 객체의 속에 모든 함수와 그 함수에 의해 유통되는 데이타를 밖에서 유통시키지 않는것이다.
          * 데이타형 클래스와 객체(Class and Objectas any type data) : 자동차를 움직이기 위한 유저가 2명 있다. 자동차라는 객체 를 둘다 사용하는데 한명은 부산에 가려고 하고 한명은 대구에 오려고 한다.
         객체 모형(object model) : 객체들과 그 특성을 식별하여 객체들의 정적 구조(static structure)와 그들간의 관계(interface)를 보여주는 객체 다이어그램(object diagram)을 작성한다.
         동적 모형(dynamic model) : 시간 흐름에 따른 시스템의 변화를 보여주는 상태 다이아그램(state diagram)을 작성한다. 실시간(real-time) 시스템에서는 반드시 필요하다.
  • 타도코코아CppStudy/객체지향발표 . . . . 15 matches
          * Classification(분류) - 같은 자료구조와 행위를 가진 객체들은 동일한 클래스(class)로 분류된다.
          같은 클래스에서 생성된 객체들은 모두 같은 연산(operation) 기능을 갖고 있으며, 자료구조가 같고 동일한 행위를 하게 된다.(자료구조는 객체들이 갖는 데이타와 속성(attribute)들의 집합이다. 그러나 데이터와 속성의 값은 물론 다르다.)
          * 데이터 추상화(data abstraction) : 자료 객체(data entity)들의 중요한 특성을 모형화한다. 이 모형이 객체의 속성이 된다.
          * 캡슐화(encapsulation) : 객체의 내부적인 사항과 객체들간의 외부적인 사항들을 분리시킨다. 이렇게 캡슐화된 객체의 행위는 외부에서 볼 때는 구체적인 아닌 추상적인 것이 되므로 정보 은닉(information hiding) 개념이 존중된다. 주어진 클래스의 특정 연산 기능은 메소드(method)라고 한다. 캡슐화는 무슨 메소드로 구현되었는가에 구애받지 않고 추상적으로 정의된 연산 기능을 통해 객체가 사용되고 시스템의 상태(state)를 변화시키도록 해준다.
          * combining data and behavior : 특정한 연산 기능을 수행시킬 때 단순히 메세지만 전송하면 된다.
          서브클래스가 수퍼클래스의 변수와 메소드들을 상속받을 때 필요에 따라 정의가 구체화(specification)되며, 상대적으로 상위층의 클래스 일수록 일반화(generalization) 된다고 말한다.
          * 캡슐화(Capsulation) : 캡슐화는 객체의 속에 모든 함수와 그 함수에 의해 유통되는 데이타를 밖에서 유통시키지 않는것이다.
          * 데이타형 클래스와 객체(Class and Objectas any type data) : 자동차를 움직이기 위한 유저가 2명 있다. 자동차라는 객체 를 둘다 사용하는데 한명은 부산에 가려고 하고 한명은 대구에 오려고 한다.
         객체 모형(object model) : 객체들과 그 특성을 식별하여 객체들의 정적 구조(static structure)와 그들간의 관계(interface)를 보여주는 객체 다이어그램(object diagram)을 작성한다.
         동적 모형(dynamic model) : 시간 흐름에 따른 시스템의 변화를 보여주는 상태 다이아그램(state diagram)을 작성한다. 실시간(real-time) 시스템에서는 반드시 필요하다.
  • 5인용C++스터디/윈도우에그림그리기 . . . . 14 matches
         보통 프로그램이 WinMain에서 UpdateWindow를 호출할 때 발생한다. 이것은 윈도우 프로시저로 하여금 클라이언트 영역에 무엇인가를 그리게 한다.
          wc.hIcon=LoadIcon(NULL,IDI_APPLICATION);
          hWnd=CreateWindow(szClassName,szTitleName, WS_OVERLAPPEDWINDOW,100,90,320,240,NULL,NULL,hInst,NULL);
          UpdateWindow(hWnd);
          TranslateMessage(&mSg);
          DispatchMessage(&mSg);
          static int nSX,nSY,nEX,nEY;
          static POINT pt;
          static BOOL bTF;
          InvalidateRect(hWnd,NULL,FALSE);
          hPen=CreatePen(PS_SOLID,0,RGB(0,0,0));
          hPen=CreatePen(PS_SOLID,0,RGB(0,0,0));
          * CreatePen() : 펜을 생성하는 함수.
          * SelectObject() : CreatePen()으로 만든 펜을 사용하도록 지정해준다.
          * DeleteObject() : CreatePen()함수로 생성한 펜을 지우는 역할.
  • CPPStudy_2005_1/STL성적처리_3 . . . . 14 matches
         #include <numeric> //accumulate
         void readdata(vector<student_type>& ztable); //파일로부터 데이터를 읽어온다
         void printdata(vector<student_type>& ztable); //출력
         void operation(vector<student_type>& ztable); //총합과 평균
          readdata(ztable);
          operation(ztable);
          printdata(ztable);
         void readdata(vector<student_type>& ztable){
          ifstream fin("data.txt");
         void printdata(vector<student_type>& ztable)
          for(vector<student_type>::iterator i=ztable.begin();i<ztable.end();++i)
         void operation(vector<student_type>& ztable)
          for(vector<student_type>::iterator i=ztable.begin() ;i<ztable.end();++i)
          i->total = accumulate(i->score.begin()+i->score.size()-4,i->score.end(),0);
  • Classes . . . . 14 matches
         === [EngineeringMathmethicsClass] ===
         [http://www.yes24.com/Goods/FTGoodsView.aspx?goodsNo=1949638&CategoryNumber=002001026004 Advanced Engineering Mathematics 9/E]
         [http://unicon.netian.com/math.html 각종 공식]
         === [DatabaseClass] ===
         [http://kangcom.com/common/bookinfo/bookinfo.asp?sku=200309190006 Database Design Concept]
          * Final Demonstration is 5 Jun.
         [http://ocw.mit.edu/OcwWeb/Mathematics/18-06Spring-2005/CourseHome/index.htm Linear Algebra]
          * http://www.siggraph.org/education/materials/HyperGraph/raytrace/rtrace0.htm
          * http://web.cs.wpi.edu/~matt/courses/cs563/talks/dist_ray/dist.html
         set nocompatible
  • CompleteTreeLabeling/조현태 . . . . 14 matches
         block* create_block(int, int, int, int, block**, block*);
          create_block(0, 1, deep, degree, line, NULL);
         block* create_block(int input_number, int input_deep, int input_all_deep, int input_degree, block** line, block* input_head)
          temp_block->next[i]=create_block(i+get_number_nodes(input_degree, input_deep)+input_degree*(input_number-get_number_nodes(input_degree, input_deep-1)),input_deep+1,input_all_deep,input_degree, line, temp_block);
         block* create_block(int, int, block*);
         int Get_combination(int, int);
          create_block(0, 1, NULL);
         block* create_block(int input_number, int input_deep, block* input_head)
          temp_block->next[i]=create_block(i+get_number_nodes(degree, input_deep)+degree*(input_number-get_number_nodes(degree, input_deep-1)),input_deep+1, temp_block);
          for (int process_combination=0; process_combination<Get_combination(remain,number_of_one); ++process_combination)
         int Get_combination(int number_left, int number_right)
  • DPSCChapter4 . . . . 14 matches
         = Structural Patterns =
         '''["Adapter"](105)''' Convert the interface of a class into another interface clients expect. Adapter lets classes work together that couldn't otherwise because of incompatible interfaces
         '''Bridge(121)''' Decouple an abstraction from its implementation so that the two can vary independently
         '''Composite(137)''' Compose objects into tree structrures to represent part-whole hierarchies. Composite lets clients treat individual objects and compositions of objects uniformly.
         '''Decorator(161)''' Attach Additional responsibilities and behavior to an object dynamically. Decorators provide a flexible alternative to subclassing for extending functionality.
         '''Facade(179)''' Provide a unified interface to a set of interfaces in a subsystem. Facade defines a higher-level interface that makes the subsystem easier to use.
         '''Proxy(213)''' Provide a surrogate or placeholder for another object to control access to it.
         '''Bridge(121)'''은 적용(implementation)의 추상화를 통한 분리를 통하여 둘에게 독립성을 부여한다.
         '''Decorator(161)'''은 object에게 동적으로 임무와 할일을 부여한다. Decorator는 기능의 확장을 위한 함수에 대하여 유연한 선택을 제공한다.
  • Eclipse . . . . 14 matches
         OTI 라는 회사에서 나왔지만, IBM에서 인수, 1000만 달러를 투자해서 multi-platform open project화 되었다.
          * Erich Gamma (DesignPatterns 공동저자) 라는 이름이 눈에 뜨이네요.
          * [http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-ui-home/accessibility/keys.html Eclipse 단축키 모음] [http://eclipse-tools.sourceforge.net/shortcuts.html Eclipse Keyboard Shortcuts]
          1. {{{~cpp PopUp}}} -> New -> CVS Repositary Location
          * '''Ecilpse가 JRE path문제로 실행이 안되는 경우'''
          * Heap Status 라는 플러그인을 설치하면 [IntelliJ] 에서처럼 GarbageCollecting 을 force 할 수 있다.
         ||F3 || Open Declaration, 해당 인자의 선언 부분을 보여준다.||
          * 기능으로 보나 업그레이드 속도로 보나 또하나의 Platform; 플러그인으로 JUnit 이 아에 들어간것과 리펙토링 기능, Test Case 가 new 에 포함된 것 등 TDD 에서 자주 쓰는 기능들이 있는건 반가운사항. (유난히 자바 툴들에 XP 와 관련한 기능들이 많이 추가되는건 어떤 이유일까. MS 진영에 비해 자바 관련 툴의 시장이 다양해서일까) 아주 약간 아쉬운 사항이라면 개인적으로 멀티 윈도우 에디터라면 자주 쓸 창 전환키들인 Ctrl + F6, Ctrl + F7 은 너무 손의 폭 관계상 멀어서 (반대쪽 손이 가기엔 애매하게 가운데이시고 어흑) ( IntelliJ 는 Alt + 1,2,3,.. 또는 Alt + <- , ->) 단축키들이 많아져 가는 상황에 재정의하려면 끝도 없으시고. (이점에서 최강의 에디터는 [Vi] 이다;) 개인적 결론 : [Eclipse] 는 Tool Platform 이다; --석천
          * 결론이 말이지. consortium에 이렇게 정의 되어 있다는.. 아 영어여...그리고 아예 Subproject에 Platform, JDT, PDE로 나누어 있구만. 부지런한 사람들 --상민
         What is eclipse.org?
         Eclipse is an open platform for tool integration built by an open community of tool providers. ...
          * J-Creator가 초보자에게 사용하기 좋은 툴이였지만 조금씩 머리가 커가면서 제약과 기능의 빈약이 눈에 띕니다. 얼마전 파이썬 3차 세미나 후 Eclipse를 알게 되면서 매력에 푹 빠지게 되었습니다. 오늘 슬슬 훑어 보았는데 기능이 상당하더군요. 상민형의 칭찬이 괜히 나온게 아니라는 듯한 생각이...^^;;; 기능중에 리펙토링 기능과 JUnit, CVS 기능이 역시 눈에 제일 띄는군요 --재동
  • EditStepLadders/황재선 . . . . 14 matches
          * 입력 단어에 대해 1~n번의 숫자 번호를 붙였다. 행렬[1...n][1...n]에 편집 단계인 단어에 대해 값을 주어서 방향 그래프를 만들었다. 예를 들어, 1번과 2번 단어가 편집단어라면 mat[1][2] = 1 아니면 0값을 주었다. 가장 depth가 긴 path에 있는 vertex의 개수를 출력하면 된다.
          private List<String> wordList;
          private Stack<Integer> stack;
          private int[][] connection;
          private int startingPoint;
          private int longestPassedWordCount;
          catch (Exception e) {
          public void makeAdjancencyMatrix() {
          int lengthGap = Math.abs(length1 - length2);
          int minLength = Math.min(length1, length2);
          longestPassedWordCount = Math.max(longestPassedWordCount, stack.size());
          public static void main(String[] args) {
          step.makeAdjancencyMatrix();
  • ErdosNumbers/황재선 . . . . 14 matches
          private TreeMap<String, String> tm;
          private ArrayList<String> nameList;
          private String[] extractNames(String line) {
          private void setErdosNumber(String[] people) {
          else noAssociate(people);
          private void withErdos(String[] people) {
          private void withCoWorker(String[] people) {
          private void noAssociate(String[] people) {
          private boolean isInclude(String person) {
          private void printErdosNumber(int scenario, int name) {
          public static void main(String[] args) {
          "Newtonian forms of prime factor matrices";
          latest stable 버전 받으니 되네. 땡쓰~ :) -- 재선
  • Gnutella-MoreFree . . . . 14 matches
         1. Protocol Specification
          Data가 스트림이기 때문에 공백이나 Pad Byte가 따라오지않는다.
          Content-type:application/binaryrn
          VendorCode(3byte) OpenDataSize(1byte) OpenData(2byte) PrivateData(n)
          2.1 Data Structure
         std::list<ResultGroup>::iterator itGroup;
         void CGnuDownloadShell::Start() 로 다운로드가 시작이 되고 실제적인 다운로드는 CGnuDownload에서 이루어지면 쉘에서는 Timer()에서 CheckCompletion()로 완료 되었는 지 확인을 하게 되고 AttachChunk2Chunk 와 AttachChunk2Partial로 부분부분 완료된 Chunk들을 결합해 주는 역활을 하게 된다.
         이어 받기를 할때에는 파일의 끝에서 -4096만큼 얻고 m_Verification 블럭의 4096크기 만큼 비교를 한 후에 이어받기를 시작한다.
         GnuCreateGuid(&Guid) // DescriptorID 생성
         // Pass any data between double null
         m_tabResults->UpdateList( AddtoGroup(Item) );
         UINT AttemptPort = pPrefs->m_ForcedPort ? pPrefs->m_ForcedPort : pPrefs->m_LocalPort;
         AttemptPort += rand() % 99 + 0;
         Firewall에 있을 경우 이런 방법으로 포트를 열지 못하면 랜덤한 포트를 부여 ForcedPort로 접속 Attempts < 3 만큼 시도를 한다.
          * [http://www.0bin.net/moniwiki/wiki.php/Specification/gnutella_protocol] : 정리 문서
  • HierarchicalDatabaseManagementSystem . . . . 14 matches
         = Hierarchical Database Management System =
         A hierarchical database is a kind of database management system that links records together in a tree data structure such that each record type has only one owner (e.g., an order is owned by only one customer). Hierarchical structures were widely used in the first mainframe database management systems. However, due to their restrictions, they often cannot be used to relate structures that exist in the real world.
         Hierarchical relationships between different types of data can make it very easy to answer some questions, but very difficult to answer others. If a one-to-many relationship is violated (e.g., a patient can have more than one physician) then the hierarchy becomes a network.
  • ObjectProgrammingInC . . . . 14 matches
          int attrib;
         void Operator1(int x) {
          instanceClass.method1= &Operator1;
          instanceClass.method1(3); // or Operator1(3);
          int attrib;
         여기서 Question. 만일 attrib 를 찍고 싶다면? --[1002]
         결국 private가 없단 소린데... 컴파일 까지만 해서 lib 형태로 header에 public화 할 것만 공개한다면... 불가능이군...
         이렇게 된다면 class에서 private를 쓰는 목적을 달성은 하지만 효용성은 거의 제로겠고...
         attrib을 찍는다는 문제를 주셨는데... attrib가 private라 가정하고, 따라서 method1의 함수가 구조체(클래스)의 attrib을 고친다는 뜻으로 판단하고 생각해본다면... C++의 this란 예약어가 없다면 C언어에서 C++과 같은 class의 표현은 어려울 듯. 메모리주소로 가능을 할 수도 있으나, 코드 조작을 어셈블리 차원으로 내려가 하나하나 손봐야함... (이 답이 아니라면 낭패)
         별 다른 뜻은 아니고, C++ 컴파일러의 경우 메소드인 경우 인자로서 this 를 자동으로 넘겨준다고 해서. 그리고, attrib 이 private 이 아닌 public 이라 하더라도, 똑같은 질문이 가능할듯. --[1002]
  • PairProgramming . . . . 14 matches
          * Communication
         PairProgramming 의 다른 적용 예로서 PairSynchronization 이 있다.
         또 하나의 문제점으로 제기된 것은, Junior 가 Expert의 권위에 눌릴 수 있다는 것이다. Junior 는 질문에 용감해야 한다. Expert는 답변에 인색해서는 안된다. 열린 마음이 필요한 일이다. (Communication 과 Courge 는 XP 의 덕목이다. ^^)
         === bioinfomatix 프로젝트중 ===
         진행한 사람 : 강석천, bioinfomatix 에서 일하시는 분들[[BR]]
          * On-Side Customer 와의 PairProgramming - 프로젝트 중간에 참여해서 걱정했었는데, 해당 일하시는 분과 직접 Pair를 하고 질문을 해 나가면서 전체 프로그램을 이해할 수 있었다. 특히 내가 ["BioInfomatics"] 에 대한 지식이 없었는데, 해당 도메인 전문가와의 Pair로서 서로 상호보완관계를 가질 수 있었다.
          * 구현과제 : 데이타베이스 클래스(Database.inc)
         나는 .NET의 System.Data의 구조를 보고 즉시 PHP에 적용시키고 싶어졌다. ASP.NET에는 SqlConnection , OdbcConnection , OleDbConnection을 제공해 준다. 이 클래스들을 잘 사용하면 DataTier의 종류가 바뀌어도 코드의 수정을 최소화 시킬 수 있다. PHP는 여러가지 종류의 데이타베이스 관련함수를 제공해준다. 어떠한 데이타베이스를 사용하느냐에 따라 동일한 기능을 하는 다른 이름의 함수를 호출해야만 한다.
          switch(UsingDatabase){
          swtich(UsingDatabase){
         define("UsingDatabase", Odbc);
          * http://www.objectmentor.com/publications/xpepisode.htm - Robert C.Martin 과 Robert S Koss 이 대화하면서 Pair를 하는 예제.
          * http://c2.com/cgi/wiki?PairProgramming - 'PairProgramming Pattern' 이라고 써놓은 것이 재미있다. 어느새 '패턴화' ^^;
  • PairProgramming토론 . . . . 14 matches
         그리고 전문가와 비숙련자가 pairing을 해도, 전문가한테도 도움이 많이 됩니다. 예를 들어 변수이름 같은 것은 전문가도 실수할 수 있죠. 이걸 지켜보던 비숙련자가, "어라.. 아까는 PrinterStatus라고 치더니 지금은 PrintersStatus라고 치시네요..."라고 하면, '아차!'하는 거죠. 또 비숙련자가 코드를 이해를 못해서 설명을 해주게 되면, 전문가 스스로도 많은 공부를 하게 되고, 설령 그 사람이 그 설명을 이해를 못해도, "아 이런 부분은 이해를 잘 못하는구나. 앞으로 이건 더 쉽게 설명해야겠군"하고 잘못을 스스로에게 구하면서, 또 학습이 발생하죠.
         PairProgramming 자체에 대해서는 http://www.pairprogramming.com 를 참조하시고, IEEE Software에 실렸던, 로리 윌리엄스 교수의 글을 읽어보세요 http://www.cs.utah.edu/~lwilliam/Papers/ieeeSoftware.PDF. 다음은 UncleBob과 Rob Koss의 실제 PairProgramming을 기록한 대본입니다. http://www.objectmentor.com/publications/xpepisode.htm
         Strengthening the Case for Pair-Programming(Laurie Williams, ...)만 읽어보고 쓰는 글입니다. 위에 있는 왕도사와 왕초보 사이에서 Pair-Programming을 하는 경우 생각만큼 좋은 성과를 거둘 수 없을 것이라고 생각합니다. 문서에서는 Pair-Programming에서 가장 중요한 것을 pair-analysis와 pair-design이라고 보고 말하고 있습니다.(좀 큰 프로젝트를 해 본 사람이라면 당연히 가장 중요하다고 느끼실 수 있을 것입니다.) 물론 pair-implementation도 중요하다고는 말하고 있으나 앞서 언급한 두가지에 비하면 택도 없지요. 그러니 왕도사와 왕초보와의 결합은 아주 미미한 수준의 이점만 있을뿐 실제 Pair-Programming이 주창하는 Performance는 낼 수 없다고 생각됩니다. 더군다가 이 경우는 왕도사의 Performance에 영향을 주어 Time dependent job의 경우 오히려 손실을 가져오지 않을까 생각이 됩니다. Performance보다는 왕초보를 왕도사로 만들기 위한 목적이라면 왕초보와 왕도사와의 Pair-Programming이 약간의 도움이 되기는 할 것 같습니다. 그러나 우리가 현재 하는 방식에 비해서 얼마나 효율이 있을까는 제고해봐야 할 것 같습니다. - 김수영
         이 세상에서 PairProgramming을 하면서 억지로 "왕도사 왕초보"짝을 맺으러 찾아다니는 사람은 그렇게 흔치 않습니다. 설령 그렇다고 해도 Team Learning, Building, Knowledge Propagation의 효과를 무시할 수 없습니다. 장기적이고 거시적인 안목이 필요합니다.
         ''문서에서는 Pair-Programming에서 가장 중요한 것을 pair-analysis와 pair-design이라고 보고 말하고 있습니다.(좀 큰 프로젝트를 해 본 사람이라면 당연히 가장 중요하다고 느끼실 수 있을 것입니다.) 물론 pair-implementation도 중요하다고는 말하고 있으나 앞서 언급한 두가지에 비하면 택도 없지요.''
         이 말은 자칫하면 사람들을 호도할 수 있다고 봅니다. 할려면 정확하게 레퍼런스를 하고 인용부호를 달고 자신의 의견은 분리를 하세요. pair-implementation이 "앞서 언급한 두가지에 비하면 택도 없다"는 말은 어디에 나오는 말입니까? 그냥 자신의 생각입니까? 그리고, XP에서는 implementation time과 analysis, design time이 따로 분리되지 않는 경우가 많습니다. 코딩을 해나가면서 design해 나갑니다. Pair로 말이죠.
         제가 여러번 강조했다시피 넓게 보는 안목이 필요합니다. 제가 쓴 http://c2.com/cgi/wiki?RecordYourCommunicationInTheCode 나 http://c2.com/cgi/wiki?DialogueWhilePairProgramming 를 읽어보세요. 그리고 사실 정말 왕초보는 어떤 방법론, 어떤 프로젝트에도 팀에게 이득이 되지 않습니다. 하지만 이 왕초보를 쓰지 않으면 프로젝트가 망하는 (아주 희귀하고 괴로운) 상황에서 XP가 가장 효율적이 될 수 있다고 봅니다.
         ''이 말은 자칫하면 사람들을 호도할 수 있다고 봅니다. 할려면 정확하게 레퍼런스를 하고 인용부호를 달고 자신의 의견은 분리를 하세요. pair-implementation이 "앞서 언급한 두가지에 비하면 택도 없다"는 말은 어디에 나오는 말입니까? 그냥 자신의 생각입니까? 그리고, XP에서는 implementation time과 analysis, design time이 따로 분리되지 않는 경우가 많습니다. 코딩을 해나가면서 design해 나갑니다. Pair로 말이죠. (창준선배님이 쓴 글중)''
         pair-anaysis와 pair-design의 중요성을 문서에서는 ''"Unanimously, pair-programmers agree that pair-analysis and pair-design is '''critical''' for their pair success."'' 이와 같이 말하고 있습니다. 또 다시 보시면 아시겠지만.. 제가 쓴 문장은 "물론 pair-implementation도 중요하다고는 말하고 있으나 앞서 언급한 두가지에 비하면 택도 없지요."입니다. 택도 없다는 표현은 당연히 제 생각이라는 것이 나타나 있다고 생각되는데....
         pair-implementation과 pair-design, analysis에 대해서는 원래 논문을 꼼꼼히 다시 읽어보길 바랍니다. 특히 각각이 구체적으로 무엇을 지칭하는가를 주의깊게 읽어주길 바랍니다. 또, XP에서처럼, 만약 세가지가 잘 구분이 되지 않고 별도의 design/analysis 세션이 없고, 코딩하는 자리에서 이 세가지가 동시에 벌어진다면 어떻게 될지 생각해 보세요.
  • PluggableSelector . . . . 14 matches
          return anObject.asDollarFormatString();
         private:
         확장성 : 한 오브젝트마다 최대 두번까지만 쓰자. 더 많이 쓰면 프로그램의 의도가 흐려진다. 더 많이 쓰고 싶으면 State Object를 쓰는 법이 있다.
         class RelativePoint
          static RelativePoint* centered(Figure& aFigure) {
          RelativePonit* rp = new RelativePoint;
          locationMessage = aSymbol;
         Point RelativePoint::asPoint()
          return figure.perform(locationMessage);
         Point RelativePoint::x()
         이런 식으로 하면 CenteredRelativePoint, TopLeftRelativePoint같은 서브클래스를 만들 필요가 없다. 위에서 center라는 메세지를 추가한 것처럼, topLeft메세지를 추가만 하면 되는 것이다.
  • PragmaticVersionControlWithCVS . . . . 14 matches
         = Pragmatic Version Control With CVS =
         The Pragmatic Programmers 시리즈. 첫인상은 개념보다는 실용서라는 느낌이 확연하게 들고, 아마존 서평도 꽤 좋은 편이다.
         || ch1 || [PragmaticVersionControlWithCVS/Introduction] ||
         || ch2 || [PragmaticVersionControlWithCVS/WhatIsVersionControl] ||
         || ch3 || [PragmaticVersionControlWithCVS/Getting Started] ||
         || ch4 || [PragmaticVersionControlWithCVS/HowTo] ||
         || ch5 || [PragmaticVersionControlWithCVS/AccessingTheRepository] ||
         || ch6 || [PragmaticVersionControlWithCVS/CommonCVSCommands] ||
         || ch7 || [PragmaticVersionControlWithCVS/UsingTagsAndBranches] ||
         || ch8 || [PragmaticVersionControlWithCVS/CreatingAProject] ||
         || ch9 || [PragmaticVersionControlWithCVS/UsingModules] ||
         || ch10 || [PragmaticVersionControlWithCVS/ThirdPartyCode] ||
  • ProgrammingPartyAfterwords . . . . 14 matches
         금요일, 토요일, 토요일 밤 약간 깊숙히 - 이번 심사와 Mentor 역할을 맡은 김창준, 채희상, 강석천은 임시 위키를 열고 문제 만들기 작업 관련, Moderator 로서의 역할을 정했다.
         먼저, 김창준씨가 앞으로 나와서 인사를 하고 이 파티의 의의를 설명했다. 그리고는 바로 파티의 스케쥴과 간략한 참가방법을 설명했다. 멘터(Mentoror)와 퍼실리에이터(Facilliator)의 역할, 소개 등이 있었고, 심사방법이나 심사 요소에 대한 자세한 설명이 있었다..
         다음으로는 요구사항에 대한 해설이 있었다. 당시의 문제는 http://no-smok.net/seminar/moin.cgi/ElevatorSimulation 에 가면 볼 수 있다.
         한편 실습실 구석에서 Mentor 1002씨가 함께한 Moa팀은 처음에 책상 하나를 두고 4명이서 서로 대화를 하면서 Requirement 를 이해해나갔다. 그러다가 중간에 2명은 Person - Elevator 의 전반적 구조를, 2명은 Elevator 알고리즘에 대해 생각을 전개해 나갔다.
         각 팀별로 전지에 자신들의 디자인을 표현하고 모두에게 그 디자인에 대해 설명하는 식으로 발표를 하였다. 각 팀별 디자인의 특징을 볼 수 있었다. '뭘 잘못했느냐?'가 아니라 '어떻게 해야 잘할 수 있었을까?'와 같은 '올바른 질문'을 던짐으로써 더 배울 수 있다는 것을 확인할 수 있었다. 그리고 발표할때 What 과 How 를 분리하고 What 만을 전달해야 한다는 것이 중요하다는 것을 관찰할 수 있었다.
          * NoSmok:StructureAndInterpretationOfComputerPrograms 에 나온 Event-Driven Simulation 방식의 회로 시뮬레이션 [http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-22.html#%_idx_3328 온라인텍스트]
          * Discrete-Event System Simulation : 이산 이벤트 시뮬레이션 쪽에 최고의 책으로 평가받는 베스트셀러. 어렵지도 않고, 매우 흥미로움. [http://165.194.100.2/cgi-bin/mcu240?LIBRCODE=ATSL&USERID=*&SYSDB=R&BIBNO=0000351634 도서관]에 있음
          * Seminar:ElevatorSimulation 문제, 일반적인 discrete event simulation 패턴 소개 등
  • STL/vector . . . . 14 matches
         vector<int>::iterator iter; // 내부의 데이터들을 순회하기 위해 필요한 반복자.
         vector<int>::const_iterator i; // 벡터의 내용을 변경하지 않을 것임을 보장하는 반복자.
         int data[3] = {1,2,3};
         vector<int> ar(&data[0], &data[3]); // data내의 정보가 세팅된다.
          질문 : 상식에 의거해서 실습 해볼 때 저 부분을 {{{~cpp vector<int> ar( &data[0], &data[2] ); }}} 로 했더니 계속 문제가 생겨서.. 오랜 삽질끝에 &data[3] 으로 해야한다는 걸 발견 했습니다. 좀 이상한 것 같네요. {{{~cpp data[3]}}} 이라는 것은 배열의 범위를 벗어나는 연산일텐데요.. 그곳의 리퍼런스를 얻어서 생성자로 넘겨주는게.. 상식에서 거부했나 봅니다. 두번째 인자로 배열 범위를 벗어나는 값을 받는 이유를 혹시 아시는 분 계십니까? --zennith
          Iterator 들이나, 배열의 영역설정은 그 모호성을 배제하기 위해서, 마지막 자료형 + 1의 index 를 가지는 것을 상식으로 취급합니다. MFC, Java 등 여타 라이브러리들의 index접근 하는법 마찬가지 입니다. 익숙해 지는 수 밖에 없지 않을까요? --NeoCoin
         vector<int>::const_iterator i;
         vector<int>::iterator start, end;
         typedef vecCont::const_iterator vecIter;
  • WikiSandBox . . . . 14 matches
         pre-formatted, No heading, No tables, No smileys. Only WikiLinks
         {{{#!latex
         this is a latex
         fffdfssff -- [rpna] [[DateTime(2010-09-07T08:08:48)]]
         attachment:%EC%8A%A4%ED%81%AC%EB%A6%B0%EC%83%B7(5).png
         attachment:43855680_119528669.jpg
         attachment:스크린샷(5).png
          * MeatBall:InterWiki
          * wiki:MeatBall:InterWiki
          * [wiki:MeatBall:InterWiki]
          * [wiki:MeatBall:InterWiki InterWiki page on MeatBall]
         Test -- [ucyang] [[DateTime(2021-08-05T06:03:17)]]
         Test -- [ucyang] [[DateTime(2021-08-05T06:03:33)]]
  • eXtensibleMarkupLanguage . . . . 14 matches
         The Extensible Markup Language (XML) is a W3C-recommended general-purpose markup language for creating special-purpose markup languages, capable of describing many different kinds of data. In other words XML is a way of describing data and an XML file can contain the data too, as in a database. It is a simplified subset of Standard Generalized Markup Language (SGML). Its primary purpose is to facilitate the sharing of data across different systems, particularly systems connected via the Internet. Languages based on XML (for example, Geography Markup Language (GML), RDF/XML, RSS, Atom, MathML, XHTML, SVG, and MusicXML) are defined in a formal way, allowing programs to modify and validate documents in these languages without prior knowledge of their form.
         = Related =
          * XML은 정말로 굉장히 강력하다. 덕분에 톰캣을 위시한 많은 애플리케이션이 셋업 파일로 XML을 활용하기 시작했다. BUT 크리티컬한 부분에 XML을 소통 데이터로 이용하게 될 경우 해당 부분이 그 프로그램의 performance critical path 가 되는 경우가 발생한다.
          * XML은 데이터 표현 방식(data presentation)이기 때문에 문법에 하나라도 어긋나거나 코드셋이 맞지 않는 경우에는 100% 에러를 내뱉는다. HTML을 다루다가 XML을 공부할 경우 이런 점에 당황스럽기도함. (DB 에서 코드셋 잘못 다루면 삽질하는 거랑 비슷함;; -_-)
          * 최근의 많은 Syndication 포맷이 XML에 기반을 두고 있다. (RSS, ATOM, OPML, Attention, Userlist etc) - [eternalbleu]
  • html5/canvas . . . . 14 matches
          1. beginPath()로 그리기 시작.
          * beginPath()를 호출하여 클리핑 영역을 해제할 수 있다.
          * CanvasPattern
          * globalCompositeOperation
          * globalCompositeOperation
          * ImageData형 객체를 생성하여 캔버스 위의 비트맵 이미지를 픽셀 단위로 조작할 수 있다.
          * ImageData의 속성
          * data
          * 캔버스가 가진 toDataURL()을 호출하여 캔버스 내용을 URL로 얻어올 수 있다.
          * toDataURL(type)
          * [http://simon.html5.org/dump/html5-canvas-cheat-sheet.html HTML5 canvas cheat sheet]
          * [http://efreedom.com/Question/1-3684492/Html5-Canvas-Framerate framerate 측정 코드]
  • 데블스캠프2009/수요일/JUnit/서민관 . . . . 14 matches
         public class Calculator {
          private int operand1;
          private int operand2;
          private char operator1;
          private double result;
          public double calculate(char op, int num1, int num2)
          operator1 = op;
          if (operator1 == '+')
          else if (operator1 == '-')
          else if (operator1 == '*')
          multiplication();
          else if (operator1 == '/')
          public void multiplication()
  • 만세삼창VS디아더스1차전 . . . . 14 matches
         [http://trac.izyou.net/threechang/attachment/wiki/WikiStart/three_chang_250.JPG?format=raw] VS 로고도 없는 그들...
          } catch
          } catch
          throw FatalException
         fatil 이 모냐
          fatal이야-_-
          FatalException은 타입이름이라구 그냥 만들면 되는거야
          내 엄어엔 FatilException 이라는 타입은 없다
          class FatalException
          } catch
          throw FatalException
         catch
          throw FatilException # 엄연한 타이핑 오류임. 컴파일 절대안됨.
  • 몸짱프로젝트/InfixToPrefix . . . . 14 matches
          def getPrecedence(self, aToken):
          return self.precedence[aToken]
          def isOperator(self, aToken):
          if aToken in self.precedence:
          def putToken(self, aToken):
          if self.isOperator(aToken):
          self.putOperator(aToken)
          self.list.append(aToken)
          def putOperator(self, aOperator):
          if self.isOperator(self.list[0]) and \
          self.precedence[self.list[0]] < self.precedence[aOperator]:
          self.list.insert(-1, aOperator)
          self.list.insert(0, aOperator)
          def testIsOperator(self):
          self.assertEqual(e.isOperator(token), False)
          self.assertEqual(e.isOperator(token), True)
          def testPutOperator(self):
          e.putOperator(token)
  • 상협/삽질일지/2002 . . . . 14 matches
          * Java 에서 강제 형변환을 C++ 스타일 int(변수), 이런식으로 하다가 수치해석 그래프를 자바로 못 그렸다. ㅠㅜ 그래서 MFC로 하다가 나중에 Java로 짜놓았던 Tridiagonal Matrix 가 MFC로 옮기면서 각종 문제가 발생... 다시 Java로 하려다가, 예전의 형 변환의 문제 발생..ㅠㅜ, 결국 MSN으로 형들에게 물어봐서 자바에서 형 변환은 (int)변수 이런식밖에 안된다는 것을 알았다. 기본에 충실하자.. ㅡㅡ;
          * 헉헉.. 오늘은 내 컴퓨터에 pws 를 실행시키지 않고, Apache로 다시 웹서버를 바꿨다. 이유는 Java Servlet 한번 실행시켜 볼려는 의도였다. JDBC 보다가 Servlet이 나오길래 그냥 호기심에 한번 해보고 싶었다. 결과는 참담.. ㅡㅡ; 책에 나온데로 JSDK깔고, JServ 깔고 Tomcat깔고, 이것저것 설정 맞추고, 바꾸고, 지지고 볶고 하면서 아까운 시간들을 보냈다. 지금의 결과..Servlet 예제 쳐봐서 했는데 안됐다. ㅠㅜ 괜히 삽질로 하루 날렸다. 섯부른 호기심때문에 정작 할일들을 못했다. 교훈 -> 시간관리 잘하자..., 목적성을 가지고 일을 하자.
          * 삽질 해결.. ㅡㅡV, 내가 Apache Jserv와 Tomcat을 깔때 내가본 인스톨 가이드와 내가 실제로 부딪힌 상황들이 다른 이유는.. 버전이 달라서 였다. ㅡㅡ;;, 버전이 올라가면서 예전에는 수동으로 설정했던 것들이 자동으로 되었나 보다. 이번일 덕분에 Forte도 맛가고, JDK도 좀 이상한거 같고해서 윈도우 밀고 다시 깔았다. ㅠㅜ, 아주 기초적인거지만... 나중에도 잊지 말자.. 버전이 다르면 설치 방법도 다르다는걸.. 생각해보면 처음 깔았을때도 돌아가기는 돌아 간거 같다..ㅡㅡ; 단지 어떻게 돌아가는지 파악을 못하니 안돌아 가는것 처럼 보인거 같다..
          ''Exception Handling 에 대해서 이해해야 할 것 같은데. Exception 은 해당 함수가 throws 등으로 발생을 시키고, Java 의 경우 그 Exception 을 반드시 처리를 해주는 곳을 만들어야 하지. 해당 메소드 내에서 Exception 이 발생은 하는데, 그 메소드에서 예외처리를 바로 하고 싶지 않으면 (즉, 그 Exception을 그 메소드 내에서 처리하지 않고, 그 메소드를 호출했던 곳 등에서 처리를 한다고 한다면) throws 로 해당 메소드에서 exception 을 또 던져주는 식으로 되겠지. 만일 Class.forName(...) 쓴 구문을 try - catch 로 예외를 또 잡는다면 이야기가 다르겠지만. 자바는 Exception 를 강요하는 관계로 예외는 catch 에서 무엇을 하건, 반드시 해당 발생된 예외를 잡아줘야 함. (그 덕에 최악으로 뻗을 일이 적지. 예외는 발생하더라도) --석천''
          * 오늘도 어김 없이 ㅡㅡ;; 삽질을 했다. 이번에는 matrix 클래스를 구현하는데 matrix데이터를 이중 배열로 private영역에 넣어서 이것 저것 해보는데 나중에 클래스의 matrix 데이터를 호출해야할 경우가 생겼다. [4][4] 이거 두개로 리턴할라고 했는데 안되었다. 남훈이형이랑 제본뜬 책찾아 보니깐 배열은 리턴이 안된다고 나왔다. 그래서 고민하다가 *[4] 이거 두개(포인터형 배열 4개짜리)를 사용하고 나중에는 *를 리턴하는 식으로 돌파구를 찾았다.(*[4] 이것도 배열이랑 비슷하게 써먹을수 있었다. 예-> *(matrix[0]+1)) 처음에는 뭔가 되는듯 싶었다. 클래스 내부 배열 설정도 제대로 되고 하였다. 그 .... 러..나.. ㅡㅡ;; 역시나 난 삽질맨이었다. 나중에 + 연산자 재정의 클래스 내에서 객체를 생성해서 리턴할때 뭔가 제대로 먹지가 않았다. 그거 가지고 간만에 ㅡㅡ;; 삽질에 바다에 퐁당 빠졌다. 간만에 해보는 삽질도 그리 유쾌한 일은 아니었다.. -_- 그렇게 계속 신나게 삽질하다가 도저히 안되겠다 싶어서 멤버 데이터를 public에 넣어 버리는 엽기적인 일을 해버렸다. ㅡㅡ; 그 방법밖에는 없는거 같았다. 그 후로는 아무런 걸림돌 없이 쭉쭉 되었다. 진작 이렇게 할걸하는 생각을 했지만 서도 멤버 데이터를 public안에 넣어서 웬지 모를 찝찝함이..
          ''근데.. Matrix 클래스가 있음에도불구하고 왜 Matrix 내의 array를 직접 접근할 일이 생긴건지? 그리고 연산자 재정의와 관련된 문제라면 Matrix 에 인자를 접근할 수 있는 메소드를 넣던지 friend 로 해결해야 하지 않을까 싶음 --["1002"]''
          ''그게 방금 떠올랐는데 Matrix의 인자 하나 하나에 접근하는 메소드는 만들 수 있겠네여.. 단지 그 모든 내용을 통째로 리턴하는 메소드는 못 만들겠어여.. 이중 배열을 리턴할수가 없어서 통째로 접근하는걸 못했어여.. - 상협''
  • 새싹교실/2011 . . . . 14 matches
          프로그래밍 단계(code 작성->compile->link->generating .exe file)
         ||4||operator:
          arithmetic operator
          bitwise operator
          logical operator, relational operator
          shorthand operator, operator precedence
         variable: global, local, static, stack overflow도 설명
          declaration
          initialization
          operator
         ||11||dynamic allocation:
  • 새싹교실/2011/무전취식/레벨9 . . . . 14 matches
         #include <math.h>
          float float_val;
          float sum = 0; //합
          float ave; //평균
          float val=0;//분산
          float dev; //편차
          float savePoint[20];
          scanf("%f",&float_val);
          if(float_val == -1) break;
          savePoint[count] = float_val;
          sum += float_val;
          printf("%d : %d(%f)\n",i,sum_count[i], (float)sum_count[i]/36000 );
          * Creative Expert였지. 나름 센스가 있는 답변 잘들었어 ㅋㅋ. 와서 유익한 시간이 되었길 바란다 재밌었나 ㅋㅋ? - [김준석]
  • 실습 . . . . 14 matches
         수학 점수 int m_nMath
         입력함수 void Input(char szName[],int nKorean, int nEnglish,int nMath);
         4) ListBox에서 Win32 Console Application을 선택한다.
         6) Location:에 프로그램을 작성할 경로를 지정한다.
         private:
         int m_nKorean,m_nEnglish,m_nMath;
         void Input(char szName[],int nKorean,int nEnglish,int nMath);
          m_nMath = 0;
         void SungJuk::Input(char szName[],int nKorean,int nEnglish,int nMath)
          m_nMath = nMath;
          m_nTotal = m_nKorean + m_nEnglish + m_nMath;
          cout << "\tMath = " << m_nMath;
  • 이승한/mysql . . . . 14 matches
          두부 목록보기 : show databases; (마지막에 s가 들어간다.)
          두부 만들기 : create database 두부이름;
          두부 없애기 : drop database 두부이름;
          두부파일에 테이블 생성하기 : create table 테이블명(컬럼명 type(크기), eng integer, date date);
          레코드 삽입 : insert into table (colums...) values (data...);
          레코드 수정 : update <tableName> set <colum Name> = <update val> where <조건식>
         $query = "select name, eng, math from score";
          수학 : <input type = "text" name = "math" size = "5"><br>
          $query = "insert into score (name, eng, math) values ('$name', '$eng', '$math')";
  • 헝가리안표기법 . . . . 14 matches
         Hungarian Notation(표기법)
         || d || double || double floating point || double dPercent ||
         || f || float || floating point || float fPercent ||
         || s || static || a static variable || static short ssChoice ||
         || rg || array || stands for range || float rgfTemp[16] ||
         || sz || * || null terminated string of characters || char szText[16] ||
         || e || enum || variable which takes enumerated values || ... ||
         || E || enum || Enumerated type || ... ||
         || m_ || Member || class private member variable || int m_iMember ||
         || prg || ... || dynamically allocated array || char *prgGrades ||
  • 5인용C++스터디/API에서MFC로 . . . . 13 matches
          * '''M'''icrosoft '''F'''oundation '''C'''lass library
         BEGIN_MESSAGE_MAP(CApplicationView, CView)
          //{{AFX_MSG_MAP(CApplicationView)
         class CApplicationView : public CView
         // Generated message map functions
          //{{AFX_MSG(CApplicationView)
         // CApplicationView message handlers
         void CApplicationView::OnLButtonDown(UINT nFlags, CPoint point)
         void CApplicationView::OnLButtonUp(UINT nFlags, CPoint point)
         void CApplicationView::OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags)
         void CApplicationView::OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags)
         http://165.194.17.15/~lsk8248/wiki/Study/5%c0%ce%bf%ebC++%bd%ba%c5%cd%b5%f0/API%bf%a1%bc%adMFC%b7%ce/SDIApplication.gif
         http://165.194.17.15/~lsk8248/wiki/Study/5%c0%ce%bf%ebC++%bd%ba%c5%cd%b5%f0/API%bf%a1%bc%adMFC%b7%ce/MDIApplication.gif
  • ATmega163 . . . . 13 matches
         = ATmega 163 8bit AVR Microcontroller =
         == Features ==
          * Analog Comparator
         == 웨비 사운드에서 구한 ATmega 163 L 보드에 관한 Testing ==
          * 먼저 웨비 사운드에서 ATmega 163L E board 를 구한다. - ps 난 판매 사원이 아니다.. 더 좋은 것이 있으면 ..그걸..
          * 이후 새롬 데이타맨에서 모뎀에 의한 연결로 SETTING하고 baud rate를 19300(ㅠㅠ) 로 설정 후 reset 버튼을 누르면 [[BR]]
         #INCDIR means .h file search path
         #put the name of the target mcu here (at90s8515, at90s8535, attiny22, atmega603 etc.)
          MCU = atmega163
         #INCDIR means .h file search path
          avr-size --format=sysv $(TRG).elf > $(TRG).siz
          avr-size --format=sysv $(TRG).elf
         http://www.atmel.com [[BR]]
  • AVG-GCC . . . . 13 matches
          --help Display this information'''도움말'''[[BR]]
          -print-search-dirs Display the directories in the compiler's search path[[BR]]
          -print-file-name=<lib> Display the full path to library <lib>[[BR]]
          -print-prog-name=<prog> Display the full path to compiler component <prog>[[BR]]
          -Wa,<options> Pass comma-separated <options> on to the assembler [[BR]]
          -Wp,<options> Pass comma-separated <options> on to the preprocessor[[BR]]
          -Wl,<options> Pass comma-separated <options> on to the linker[[BR]]
          -save-temps Do not delete intermediate files[[BR]]
          -pipe Use pipes rather than intermediate files[[BR]]
          -std=<standard> Assume that the input sources are for <standard>[[BR]]
          -B <directory> Add <directory> to the compiler's search paths[[BR]]
         Options starting with -g, -f, -m, -O or -W are automatically passed on to[[BR]]
  • BasicJava2005/5주차 . . . . 13 matches
         1. static 에 대해서
          - static은 클래스에 종속되는 변수로 인스턴스명이 아닌 클래스명으로 호출된다.
         2. Math클래스 와 기초클래스의 Wrapper 클래스
          - Math클래스에는 각종 함수와 상수들이 선언되어 있다.
         3. static import
         4. try ~ catch
          public static void main(String[] args) {
          } catch(ArrayIndexOutOfBoundsException e) {
          } catch(ArithmeticException e) {
          } catch(NumberFormatException e) {
         5. try~catch~finally
          - try ~ catch 구문을 실행후 무조건 finally문장을 실행한다.
  • C++스터디_2005여름/도서관리프로그램/문보창 . . . . 13 matches
         private:
          bool get_state();
          void set_state(bool state);
          void operator=(Book & a);
         bool Book::get_state()
         void Book::set_state(bool state)
          isBorrow = state;
         void Book::operator =(Book & a)
         private:
          if ((*temp).get_state() == kind_order)
          (*temp).set_state(!kind_order);
  • ClassifyByAnagram/인수 . . . . 13 matches
         private:
          typedef map< string, map<char, int> >::iterator MSMCII;
          void CalWhatAnagram(const string& str)
          ifstream fin("input.dat");
          anagram.CalWhatAnagram(t);
         private:
          typedef MALS::iterator MALSI;
          typedef LS::iterator LSI;
          MCI CalculateWhatAnagram(const string& str)
          _anagramTable[ CalculateWhatAnagram(str) ].push_back(str);
          ana.BoundAnagram("input.dat");
  • DataStructure . . . . 13 matches
          * 파스칼을 만들고 튜링상을 받은 Niklaus Wirth 교수는 ''Algorithms+Data Structures=Programs''라는 제목의 책을 1976년에 출간했다.
          * OOP시대에는 위의 개념이 살짝 바뀌었더군여. Algorithms+Data Structure=Object, Object+Object+....+Object=Programs 이런식으로..
         ["DataStructure/Foundation"]
         ["DataStructure/String"]
         ["DataStructure/Stack"]
         ["DataStructure/Queue"]
         ["DataStructure/List"]
         ["DataStructure/Tree"]
         ["DataStructure/Graph"]
         ["DataStructure/Hash"]
         ["DataStructure/Sort"]
         see also HowToStudyDataStructureAndAlgorithms
  • DesignPatterns/2011년스터디/1학기 . . . . 13 matches
          * DoWeHaveToStudyDesignPatterns?
          * HowToStudyDesignPatterns?
          * 책을 읽으며 ["HolubOnPatterns/밑줄긋기" 밑줄을 긋자]
          1. HolubOnPatterns 0장에 대해 함께 이야기했다. 나 혼자 0장을 안 읽어와서 민망했다. 1장은 꼭 읽어와야지.
          * 2장 103쪽 전까지 읽어옵시다. 그리고 ["HolubOnPatterns/밑줄긋기" 밑줄을 그어요~]
          1. Factory Method와 Template Method 방법에대해 나쁜점을 설명하는데 Swing이 나오니까 다시 화난다. 난 Swing디자인이 싫어!!
          1. Factory Method, Abstract Factory Method, Template Method, Command, Strategy의 비교를 통해 상속구현의 비효율성에 대해 느꼇다.
          1. Strategy 패턴은 implements를 통해 바뀌는 부분을 구현하여 넘겨준다.
          1. MVC 모델에 맞춰 설계해야해서 [HolubOnPatterns]에서 좋다고 하는대로만 설계하지는 않음.
          1. Block과 Line에서 어느 쪽이 실제 status를 가지고 있어야 할지가 설계의 주요 이슈였다.
          1. MVC로 나누고 Data모델을 위한 Drawable을 만드는 이유를 알것 같았다. 서로 직접적인 통신을 꼭 안해도되는군..
         [DesignPatterns/2011년스터디]
  • DocumentObjectModel . . . . 13 matches
         Document Object Model (DOM) is an application programming interface to access HTML and XML documents. It is programming language and platform independent. Behind the interface the document is represented with an object-oriented model.
         Different variants of DOMs were initially implemented by web browsers to manipulate elements in an HTML document. This prompted the World Wide Web Consortium (W3C) to come up with a series of standard specifications for DOM (hence called W3CDOM).
         DOM puts no restrictions on the document's underlying data structure. A well-structured document can take the tree form using DOM.
         Most XML parsers (e.g., Xerces) and XSL processors (e.g., Xalan) have been developed to make use of the tree structure. Such an implementation requires that the entire content of a document be parsed and stored in memory. Hence, DOM is best used for applications where the document elements have to be randomly accessed and manipulated. For XML-based applications which involve a one-time selective read/write per parse, DOM presents a considerable overhead on memory. The SAX model is advantageous in such a case in terms of speed and memory consumption.
         XML 에 대해서 파싱하는 API 방식 이야기. DOM 모델이냐 SAX 모델이냐 하는것. 인터페이스 상으로는 DOM 이 쉽긴 함. SAX 는 좀 더 low-level 하다고 할까. (SAX 파서를 이용해서 DOM 모델을 만들어내는 경우가 많음) SAX 는 Tokenizer 가 해당 XML 문서를 분석하는 중의 이벤트에 대한 이벤트 핸들링 코드를 작성하는 것이므로. 그대신 모든 도큐먼트 노드 데이터가 필요한건 아니니, SAX API 로 XML을 파싱하면서 직접 개발자가 쓸 DOM 객체를 구성하거나, 아니면 XPath 를 이용하는게 좋겠지.
         DOM API 쓰는 코드와 SAX API 쓰는 코드는 [http://www.python.or.kr/pykug/XML_bf_a1_bc_ad_20_c7_d1_b1_db_20_c3_b3_b8_ae_c7_cf_b1_e2 XML에서 한글 처리하기] 페이지중 소스코드를 참조. XPath 는 PyKug:HowToUseXPath 를 참조. --[1002]
  • DoubleBuffering . . . . 13 matches
         private:
         void CArcanoidView::OnInitialUpdate()
          CView::OnInitialUpdate();
          m_MemDC.CreateCompatibleDC(&dc); // 현재 DC와 호환된 메모리 DC
          m_MemBitmap.CreateCompatibleBitmap(&dc, 1000, 700); // 호환되는 메모리 비트맵
          m_BackgroundDC.CreateCompatibleDC(&dc);
          m_ShuttleDC.CreateCompatibleDC(&dc);
         Invalidate(FALSE);
          * 이렇게 Timer내부에서는 메모리 DC에다 다 그려주고, Invalidate(FALSE)를 호출합니다. FALSE 이거 중요합니다.
  • Emacs . . . . 13 matches
          * tramp 로 ssh 사용하기 : M-x-f {{{/ssh:you@remotehost|sudo:remotehost:/path/to/file}}}
         경로 잡아주기는 순전히 주변지식이 부족한 탓이었습니다. 파이선 폴더가 윈도우 환경변수인 PATH에 등록되지 않아서 그랬습니다. 이 역시 제어판->시스템->고급->환경변수 안에서 수정할 수 있습니다.
          * GNU Emacs 사용시 Windows 7 환경에서 c:\Users\[UserName]\AppData\Roaming 디렉토리에 저장됩니다.
          * ntemacs 에서는 C:\Documents and Settings\UserName\Application Data 에 저장됩니다.
         ;; See cedet/common/cedet.info for configuration
         ;; Enable EDE (Project Management) features
         ;; *This enalbes the database and idle repasitiory
         (semantic-load-enable-minimum-features)
         (add-to-list 'load-path "ecb압축을 푼 폴더 경로를 적습니다.")
         (add-to-list 'load-path "~/.emacs.d/ecb-master")
         (add-to-list 'load-path "color theme 폴더 경로를 적어준다.")
         [http://www.skybert.nu/cgi-bin/viewpage.py.cgi?computers+emacs+python_configuration emacs python configuration] - DeadLink
  • EnglishSpeaking/TheSimpsons/S01E05 . . . . 13 matches
         Friend : Nelson's at the Elm Street Video Arcade.
         Bart : Intelligence indicates he shakes down kids for quarters at the arcade.
         Then that's where we'll hit him.
         we start the saturation bombing.
         We got the water balloons?
         Herman : Well, I'd rather they say " Death From Above," but I guess we're stuck.
         One will circle around this way to cut off the enemy's retreat,
         Friend : Nelson's at the arcade, General.
         Bart : Battle stations.
  • HardcoreCppStudy/두번째숙제/CharacteristicOfOOP/변준원 . . . . 13 matches
         캡슐화 (encapsulation)
         일반적으로 우리 생활에서 어떤 정보와 어떤 종류의 작업은 개념적으로 서로 연관되어 있음을 많이 접한다. 이러한 연관된 정보와 작업 또는 기능을 하나로 묶는 것은 자연스런 과정이다. 예를 들어 대학교의 인사관리에서는 학생들의 이름, 주소, 학번, 전공 들의 정보를 유지하며 학생들에 관해 가능한 작업인 평점 계산, 주소변경, 과목신청 들의 기능들을 생각할 수 있다. 이러한 정보와 정보 처리에 필요한 작업, 즉 기능들은 모두 학생에 관한 것이므로 학생이라는 테두리로 묶어두는 것이 자연스러운 것이다. 이렇게 연관된 사항들을 하나로 묶는 것을 캡슐화(encapsulation)라고 한다.
         객체 지향 프로그램의 중요한 특징으로 하나의 함수 이름이나 심볼이 여러 목적으로 사용될 수 있는 다형성(Polymorphism)을 들 수 있다. 객체 지향에서의 다형성이란, 복수의 클래스가 하나의 메세지에 대해 각 클래스가 가지고 있는 고유한 방법으로 응답할 수 있는 능력을 말한다. 즉, 별개로 정의된 클래스들이 ㅌ은 이름의 함수를 별도로 가지고 있어 하나의 메세지에 대해 각기 다른 방법으로 그 메세지를 수행할 수 있는 것을 의미한다. 예를 들어, 여러 가지 화일(file)들을 프린트 하는 함수를 생각해 보자. 화일에는 간단한 텍스트 화일(text file), 문서 편집기로 만든 포멧 화일(format file), 그래픽을 포함하는 화일(file with graphics) 등 여러 가지가 있다. 이들 각각의 화일들은 프린트 하는 방법이 모두 다르다, 객체 지향에서는 아래처럼 각 종류의 화일을 별도의 클래스로 정의하고, 각각의 화일 종류별로 Print라는 함수를 화일의 형태에 맞게 구현한다.
         Formatted file -> Print();
         정보 은폐 (infomation hiding)
         이 Public Interface는 언어에 따라 표현 양식이 다른데, C++에서는 "public"이란 특별 구문을 두어 "public"란에 들어간 항목들만 외부에 공개된다. Effel이란 언어에서는 "export"라는 란에 지정된 항목들만 외부에 공개된다. 앞에서 정의한 POINT라는 객체 정의를 보면 move와 setcolor의 함수들이 외부에서 관찰될 수 있는 public interface임을 알 수 있다. 여기서 한가지 유의할 점은 move와 setcolor라는 함수들이 외부에 보여져 불리워질 수 있는 함수들이라는 것이며 각 함수가 가지고 있는 코드나 알고리즘까지 보여지는 것은 아니라는 것이다. 한 함수가 외부에 보여지는 부분을 signature라고 하며 하나의 signature는 함수의 이름, 입력 매개변수(input parameter)와 출력 매개변수(output parameter)로 구성되어 있다.
         위에서 살펴볼 캡슐화와 정보 은폐의 이점은 우선 객체 내부의 은폐된 데이타 구조가 변하더라도 주변 객체들에게 영향을 주지 않는다는 것이다. 예로서, 어떤 변수의 구조를 배열(array)구조에서 리스트(list) 구조로 바꾸더라도 프로그램의 다른 부분에 전혀 영향을 미치지 않는다. 또한 어떤 함수에 사용된 알고리즘을 바꾸더라도 signature만 바꾸지 않으면 외부 객체들에게 영향을 주지 않는다. 예를 들어, sorting 함수의 경우 처음 사용된 sequence sorting 알고리즘에서 quick sorting 알고리즘으로 바뀔때 외부에 어떤 영향도 주지 않는다. 이러한 장점을 유지보수 용이성(maintainability) 혹은 확장성(extendability)이라 한다.
         클래스 중에는 인스턴스(instance)를 만들어 낼 목적이 아니라 subclass들의 공통된 특성을 추출하여 묘사하기 위한 클래스가 있는데, 이를 추상 클래스(Abstract class, Virtual class)라 한다. 변수들을 정의하고 함수중 일부는 완전히 구현하지 않고, Signature만을 정의한 것들이 있다. 이들을 추상 함수(Abstract function)라 부르며, 이들은 후에 subclass를 정의할 때에 그 클래스의 목적에 맞게 완전히 구현된다. 이 때 추상 클래스의 한 subclass가 상속받은 모든 추상 함수들을 완전히 구현했을 때, 이를 완전 클래스(Concrete class)라고 부른다. 이 완전 클래스는 인스턴스를 만들어 낼 수 있다.
         추상 클래스의 예로서 프린터 소프트웨어를 생각해 보자. 우선 모든 종류의 프린터들이 공통으로 가지는 특성을 정의한 추상 클래스 "Printer"가 있다고 한다면, 여기에는 프린터의 상태를 나타내는 변수, 프린터의 속도 등의 변수가 있으며 함수로는 프린팅을 수행하는 Print 등을 생각할 수 있다. 그러나 프린터마다(Dot matrix printer, Laser printer, Ink jet printer) 프린팅 하는 방법이 다르므로 이 추상 클래스 안에서는 Print라는 함수를 완전히 구현할 수 없다. 다만, 여기에는 Print 추상 함수의 Signature만 가지고 있으며, 실제의 구현은 여러 subclass에서 각 프린터 종류에 알맞게 하면 된다.
         "Printer"라는 클래스는 추상 클래스로서 실존의 어떤 프린터 기능을 가지고 있지 않고, dot matrix printer나 laser printer 등의 완전 클래스들 간의 공통된 특성만 지정하고 있으므로, 그 인스턴스를 만드는 것은 무의미하다. 추상 클래스는 점진적 개발 방법(Incremental Development)에 유용하게 사용될 수 있으며, 공통 속성(attribute)의 추출 및 정의에 유용하므로 문제를 모델링하는데 편리함을 더해준다.
  • JTDStudy/첫번째과제/상욱 . . . . 13 matches
          private String resultNumber;
          private String userNumber;
          public static void main(String[] args) {
          createResultNumber();
          return userNumber = JOptionPane.showInputDialog(null, "Enter number what you think");
          public void createResultNumber() {
          fstNum = "" + (Math.random()*10);
          secNum = "" + (Math.random()*10);
          trdNum = "" + (Math.random()*10);
          if (resultNumber.charAt(i) == userNumber.charAt(j)) {
          if (testString.charAt(0) == '1' &&
          testString.charAt(1) == '2' &&
          testString.charAt(2) == '3')
          public void testCreateResultNumber() {
          object.createResultNumber();
          assertNotSame(object.getResultNumber().charAt(0), object.getResultNumber().charAt(1));
          assertNotSame(object.getResultNumber().charAt(1), object.getResultNumber().charAt(2));
          assertNotSame(object.getResultNumber().charAt(0), object.getResultNumber().charAt(2));
         import static org.junit.Assert.*;
          for idx,i in enumerate(question):
  • JUnit/Ecliipse . . . . 13 matches
         Eclipse 플랫폼을 실행하시고, Window->Preference 메뉴를 선택하시면 Preferences 대화창이 열립니다. 왼쪽의 트리구조를 보시면 Java 라는 노드가 있고, 하위 노드로 Build Path 에 보시면 Classpath Varialbles 가 있습니다.
         Path : 는 이클립스가 설치된 폴더내에서 아래와 같은 파일을 찾아 클릭하면 됩니다.
          private int[] array;
          public int[] allocate() {
         여기서는 샘플소스의 메소드 3개( allocate(), get(int), set(int,int) )를 모두 체크합니다.
          public void testAllocate() {
          public void testAllocate() {
          assertNotNull(testObject.allocate());
         Ch03_01 클래스의 allocate() 메서드를 다음과 같이 수정합니다.
          public int[] allocate() {
          testObject.allocate();
          testObject.allocate();
  • Java2MicroEdition . . . . 13 matches
          * J2ME는 Configuration과 Profile로 구성되어 있다. (아래 "Configuration과 Profile" 참고)
          * Configuration : Connected Device Configuration (CDC)
          * Profile : Foundation Profile
          * Configuration : Connected Limited Device Configuration (CLDC)
          * Profile : Mobile Information Device Profile (MIDP)
          그림을 보면 맨 아래에 MID, 즉 휴대전화의 하드웨어 부분이 있고 그 위에는 Native System Software가 존재하며 그 상위에 CLDC가, 그리고 MIDP에 대한 부분이 나오는데 이 부분을 살펴보면, MIDP Application과 OEM-Specific Classes로 나뉘어 있는 것을 알 수 있다. 여기서의 OEM-Specific Classes라는 것은 말 그대로 OEM(Original Equipment Manufacturing) 주문자의 상표로 상품을 제공하는 것이다. 즉, 다른 휴대전화에서는 사용할 수 없고, 자신의(같은 통신 회사의) 휴대전화에서만 독립적으로 수행될 수 있도록 제작된 Java또는 Native로 작성된 API이다. 이는 자신의(같은 통신 회사의) 휴대전화의 특성을 잘 나타내거나 또는 MIDP에서 제공하지 않는 특성화된 클래스 들로 이루어져 있다. 지금까지 나와있는 많은 MIDP API들에도 이런 예는 많이 보이고 있으며, 우리나라의 SK Telecom에서 제공하는 SK-VM에도 이런 SPEC을 가지고 휴대전화의 특성에 맞는 기능, 예를 들어 진동 기능이나, SMS를 컨트롤하는 기능 들을 구현하고 있다. 그림에서 보듯이 CLDC는 MIDP와 OEM-Specific Classes의 기본이 되고 있다.
         === Configuration과 Profile ===
          * http://developer.nate.com
  • JavaScript/2011년스터디/CanvasPaint . . . . 13 matches
          ctx.beginPath();
          if(lastImage1!=element.toDataURL()){
          lastImage1=element.toDataURL();
          ctx.arc(event.x-7, event.y-7, 3, 0, Math.PI*2, false);
          ctx.beginPath();
          element.setAttribute("width", window.innerWidth-15);
          element.setAttribute("height", window.innerHeight-50);
         var dataURL;
          dataURL = canvas.toDataURL();
          img.src = dataURL;
          ctx.beginPath();
          dataURL = canvas.toDataURL();
          ctx.beginPath();
  • LC-Display/상협재동 . . . . 13 matches
         bool pattern[10][7] = {
         void drawHorizon(int t, int k, int patNum)
          if(pattern[atoi(&temp)][patNum] != 0)
         void drawVertical(int t, int k, int patNum1, int patNum2)
          if(pattern[atoi(&temp)][patNum1] != 0)
          if(pattern[atoi(&temp)][patNum2] != 0)
  • OpenGL스터디 . . . . 13 matches
         attachment:popping1.png
         attachment:poping3.png
         attachment:texture.png
         attachment:antialiasing.png
         attachment:farprojection.png
         attachment:pipeLine2.png
         || GLfloat, GLclampf || 32비트 실수 || float || f ||
          * glColor3f(GLfloat a, GLfloat b, GLfloat c); ---->이와 같은 함수를 분석해보면, gl이라는 라이브러리에 Color라는 명령을 담당하는 float인자가 3개있는 함수이다.라고 해석할 수 있다.
          * ''참고사항 : openGl의 내부적인 데이터타입은 float을 사용하고 있기 때문에 왠만해서는 이 데이터 타입에 맞게 데이터를 전달해주는게 정확도 측면이나 전체적인 성능 향상의 측면에서 더 좋다.''
  • PrimaryArithmetic/허아영 . . . . 13 matches
         #include <math.h>
          int i, max_len, big_num, small_num, num1_len, num2_len, operation = 0;
          ++operation;
          return operation;
          int n1, n2, operation;
          operation = process(n1,n2);
          if(operation == 0)
          cout << "No carry operation." << endl;
          else if(operation == 1)
          cout << "1 carry operation." << endl;
          cout << operation << " carry operations." << endl;
         [PrimaryArithmatic]
  • ProjectPrometheus/Iteration2 . . . . 13 matches
         || 7/18 || 1차 Iteration 에 대한 AcceptanceTest. 2차 Iteration 계획. ||
         === 2nd Iteration - 8 Task Point Load. 7 Task Point 완료 ===
         ||||||Story Name : Book Search (from 1st Iteration) ||
         || Search Keyword Generator || 1 || ○ (3시간) ||
         ||||||Story Name : Recommendation System(RS) Study (Prototype)||
         || 임의의 Data set 만들기 || 0.5 || ○ (30분) ||
         || Data set 2 - 도서관 검색 알고리즘에 근거한 값들 || 0.5 || ○(15분) ||
         ||||||Acceptance Test (["ProjectPrometheus/AT_RecommendationPrototype"]) ||
         || {{{~cpp RecommendationBookTest}}}|| 가중치 순서대로 책 리스트 보여주기 테스트 || ○ ||
         || {{{~cpp RecommendationBookListBig}}}|| 가중치 순서대로 책 리스트 보여주기 테스트. More || ○ ||
         || {{{~cpp RecommendationBookListLimitScore}}}|| 특정 가중치 점수 이하대의 책 리스트는 보여주지 않기 테스트. || ○ ||
         || {{{~cpp RecommendationBookListLimitScoreMore}}} || 특정 가중치 점수 이하대의 책 리스트는 보여주지 않기 테스트. More || ○ ||
  • ProjectZephyrus/ClientJourney . . . . 13 matches
          * 소프트웨어 개발이 공장스타일이 될 수 없는 이유를 하나 든다고 한다면 개발중 개발자가 계속 학습을 해나간다는 점에 있지 않을까 한다. 처음부터 끝까지 모든 것을 다 예상하고 개발할 수 는 없을것이니. (필요한 라이브러리가 무엇인지, 실제 그 라이브러리의 장단점이 무엇인지, 어떻게 사용하면 바로 알수 없는 버그가 되어버리는지 등등. 뭐 큰 소프트웨어일 경우 이것을 다 예측해야 한다라고 하면 할말없지만. 이것도 비용을 고려해서 처신해야하겠지. Cost Estimate 자체가 Cost 가 드는것일거니.) 암튼 아쉬운건 중간에 디자인이 바뀌었을때 (실제로 처음 디자인의 클래스들을 몇개 뺀것도 있고, 인터페이스만 맞춰본 것들도 있고 그러함) 바쁜 사람들이 참석을 하지 못해서 처음부터 설명해야 하는 경우이다.
          * 학교에서의 작업의 단점중 하나는 고정된 장소와 고정된 스케줄을 만들기가 쉽지 않다는 점이다. 학교시간표 보고 빈 시간대를 맞춰야 하고, 그 사람은 또 그 사람 나름대로의 스케줄이 따로 존재한다. 시험이라던지, 동아리 활동이라던지 등등. 이 경우 팀원별 스케줄을 보고 팀내 기여도를 예상한다음 그 기여도를 줄여주도록 해야 서로가 부담이 적을 것이다. 단, 위에서 언급한대로 개발중 지속적인 학습과정이 있는 이상, 중간 참여는 그만큼 어렵게 된다. CVS가 있을 경우 해당 코드의 변화를 지속적으로 관찰해나가야 하며, 외부에 있는 사람은 내부 작업자에게 필요에 따라 해당 문서를 요구해야 한다. (내부 작업자가 어떤 욕을 하건 -_-; 나중에 다시 참여시의 리스크를 줄이려면) 내부 작업자는 그 변화과정을 계속 기록을 남겨야 할 것이다. (Configuration Management 가 되겠지.)
          * 이전에 wiki:NoSmok:InformationRadiator 를 붙일 수 있는 벽과 화이트보드가 그립다; 방학중엔 피시실 문짝에라도 붙여보던지 궁리를;
          * 이번 프로젝트의 목적은 Java Study + Team Project 경험이라고 보아야 할 것이다. 아쉽게도 처음에 공부할 것을 목적으로 이 팀을 제안한 사람들은 자신의 목적과 팀의 목적을 일치시키지 못했고, 이는 개인의 스케줄관리의 우선순위 정의 실패 (라고 생각한다. 팀 입장에선. 개인의 경우야 우선순위들이 다를테니 할말없지만, 그로 인한 손실에 대해서 아쉬워할정도라면 개인의 실패와도 연결을 시켜야겠지)로 이어졌다고 본다. (왜 초반 제안자들보다 후반 참여자들이 더 열심히 뛰었을까) 한편, 선배의 입장으로선 팀의 목적인 개개인의 실력향상부분을 간과하고 혼자서 너무 많이 진행했다는 점에선 또 개인의 목적과 팀의 목적의 불일치로서 이 또한 실패이다. 완성된 프로그램만이 중요한건 아닐것이다. (하지만, 나의 경우 Java Study 와 Team Project 경험 향상도 내 목적중 하나가 되므로, 내 기여도를 올리는 것은 나에게 이익이다. Team Project 경험을 위해 PairProgramming를 했고, 대화를 위한 모델링을 했으며, CVS에 commit 을 했고, 중간에 바쁜 사람들의 스케줄을 뺐다.) 암튼, 스스로 한 만큼 얻어간다. Good Pattern 이건 Anti Pattern 이건.
          * 중간 중간 테스트를 위해 서버쪽 소스를 다운받았다. 상민이가 준비를 철저하게 한 것이 확실히 느껴지는 건 빌드용/실행용 배치화일, 도큐먼트에 있다. 배치화일은 실행한번만 해주면 서버쪽 컴파일을 알아서 해주고 한번에 실행할 수 있다. (실행을 위한 Interface 메소드를 정의해놓은것이나 다름없군.) 어떤 소스에서든지 Javadoc 이 다 달려있다. (Coding Standard로 결정한 사항이긴 하지만, 개인적으로 코드의 Javadoc 이 많이 달려있는걸 싫어하긴 하지만; 코드 읽는데 방해되어서; 하지만 javadoc generator 로 document 만들고 나면 그 이야기가 달라지긴 하다.)
          * 내가 지난번과 같이 5분 Pair를 원해서 이번에도 5분Play를 했다.. 역시 능률적이다.. 형과 나 둘다 스팀팩먹인 마린같았다.. --;; 단번에 1:1 Dialog창 완성!! 근데 한가지 처리(Focus 관련)를 제대로 못한게 아쉽다.. 레퍼런스를 수없이 뒤져봐도 결국 자바스터디까지 가봤어도 못했다.. 왜 남들은 다 된다고 하는데 이것만 안되는지 모르겠다.. 신피 컴터가 구려서그런거같다.. 어서 1.7G로 바꿔야한다. 오늘 들은 충격적인 말은 창섭이가 주점관계로 거의 못할꺼같다는말이었다.. 그얘긴 소켓을 나도 해야된다는 말인데.... 나에게 더 많은 공부를 하게 해준 창섭이가 정말 고맙다.. 정말 고마워서 눈물이 날지경이다.. ㅠ.ㅠ 덕분에 소켓까지 열심히 해야된다.. 밥먹고와서 한 네트워크부분은 그냥 고개만 끄덕였지 이해가 안갔다.. 그놈에 Try Catch는 맨날 쓴다.. 기본기가 안되있어 할때마다 관련된것만 보니 미치겠다.. 역시 기본기가 충실해야된다. 어서 책을 봐야겠다.. 아웅~ 그럼 인제 클라이언트는 내가 완성하는것인가~~ -_-V (1002형을 Adviser라고 생각할때... ㅡ_ㅡ;;) 암튼 빨리 완성해서 시험해보고싶다.. 3일껀 내가 젤먼저썼다.. 다시한번 -_-V - 영서
          * 다른 MFC나 ["wxPython"] 등의 다른 GUI Framework와 ["디자인패턴"] 에 익숙하면 이러한 Swing 에 익숙해지는데에도 도움이 되었다. 대부분의 GUI 에선 ["CompositePattern"] 으로 윈도우들을 구성하기에. 그리고 Java API를 공부하는 동안 ["IteratorPattern"] 이나 ["DecoratorPattern"], MVC 등에 대해서도 이해하기 용이했다.
  • RegularExpression/2011년스터디 . . . . 13 matches
         html을 띄워놓고 익스플로러 or 크롬의 개발자 도구에서 javascript 콘솔모드로 "문장".matches("\Regex\"); 하면 나온답니다용.
         java에서는 Matcher를 통해서. (맞는지 잘 모르겠당)
         Pattern.comppile("정규표현식");
         Matcher matcher = new Matcher(Pattern, "찾을 텍스트");
         matcher.find();
         "http://www.naver.com www.naver.com naver.com google.co.kr http://kio.zc.bz/Lecture/regexp.html#chap05".match(/(http:\/\/)?([a-zA-Z]+\.)+[a-zA-Z]+\/?([^\s]+)*/g)
          str.match(/\s[^()\s]*([^()]*[)]|[(][^()]*)/g);
         str.match(/\s[^()\s]*([^()]*[)]|[(][^()]*)/g);
         str.match(/\s([(][^(]*|[^)][)])*/g);
         str.match(/((http:[^\s]*)|((\s[^/.]*[.][^/.]*)))\s/g);
  • SmithNumbers/이도현 . . . . 13 matches
         int digit_separation(int, int, int*);
          int arr_separation[ArSize] = { 0 }, arr_prime[ArSize] = { 0 };
          int arr_separation_prime[ArSize] = { 0 };
          k = digit_separation(k, arr_prime[k], arr_separation_prime);
          arr_separation_prime[k] = arr_prime[k];
          digit_separation(0, j, arr_separation);
          if (arr_add(arr_separation_prime) == arr_add(arr_separation))
          arr_separation[i] = 0 ;
          arr_separation_prime[i] = 0;
         int digit_separation(int start_index, int num, int *array)
  • TheJavaMan/테트리스 . . . . 13 matches
          mem=createImage(181,316);
          blockType = Math.abs(r.nextInt() % 7);
          private void drawMap() {
          private void drawBlock() {
          private void drawGrid() {
          private void dropBlock() {
          private void nextBlock() {
          blockType=Math.abs(r.nextInt() % 7);
          private void removeBlock() {
          private boolean checkDrop() {
          private void setBlock(int bType) {
          public void update(Graphics g) {
          }catch(InterruptedException ie) { }
  • ThinkRon . . . . 13 matches
         aka {{{~cpp WhatTheyWouldDoInMyShoes}}}
         저는 이미 RonJeffries를 어느 정도 내재화(internalize)하고 있는 것은 아닌가 생각이 듭니다. 사실 RonJeffries나 KentBeck의 언변은 "누구나 생각할 수 있는 것"들이 많습니다. 상식적이죠. 하지만 그 말이 그들의 입에서 나온다는 점이 차이를 만들어 냅니다. 혹은, 그들과 평범한 프로그래머의 차이는 알기만 하는 것과 아는 걸 실행에 옮기는 것의 차이가 아닐까 합니다. KentBeck이 "''I'm not a great programmer; I'm just a good programmer with great habits.''"이라고 말한 것처럼 말이죠 -- 사실 훌륭한 습관을 갖는다는 것처럼 어려운 게 없죠. 저는 의식적으로 ThinkRon을 하면서, 일단 제가 가진 지식을 실제로 "써먹을 수" 있게 되었고, 동시에 아주 새로운 시각을 얻게 되었습니다.
         Let me tell a brief story about how that came about. Our president, at the time was Bob Doherty. Doherty came from General Electric via Yale, and had been one of the bright young men who were taken under the wing of the famous engineer Stiglitz. Every Saturday, Stiglitz would hold a session with these talented young men whom General Electric had recruited and who were trying to learn more advanced engineering theory and problem-solving techniques. Typically, Bob Doherty would sometimes get really stuck while working on a problem. On those occasions, he would walk down the hall, knock on Stiglitz’s door, talk to him — and by golly, after a few minutes or maybe a quarter of an hour, the problem would be solved.
         One morning Doherty, on his way to Stiglitz’s office, said to himself, "Now what do we really talk about? What’s the nature of our conversation?" And his next thought was, "Well Stiglitz never says anything; he just asks me questions. And I don’t know the answer to the problem or I wouldn’t be down there; and yet after fifteen minutes I know the answer. So instead of continuing to Stiglitz’s office, he went to the nearest men’s room and sat down for a while and asked himself, "What questions would Stiglitz ask me about this?" And lo and behold, after ten minutes he had the answer to the problem and went down to Stiglitz’s office and proudly announced that he knew how to solve it.
  • VendingMachine/세연/1002 . . . . 13 matches
         private:
         이 이외엔 쓰이지 않지만, private 멤버로 있습니다. 이러한 입력을 받기 위한 임시변수는 그냥 멤버에서 없애주면 됩니다.
          printCurrentDrinkStatus ();
          printCurrentDrinkStatus ();
         private:
          void PrintCurrentDrinkStatus ();
         void vending_machine::PrintCurrentDrinkStatus () {
          PrintCurrentDrinkStatus ();
          PrintCurrentDrinkStatus ();
         void PrintCurrentDrinkStatus ();
         void PrintCurrentDrinkStatus (VendingMachine& vendingMachine) {
          PrintCurrentDrinkStatus (vendingMachine);
          PrintCurrentDrinkStatus (vendingMachine);
  • 기술적인의미에서의ZeroPage . . . . 13 matches
         발췌 : http://www.6502.org/datasheets/csg6500.pdf
         The zero page is the memory address page at the absolute beginning of a computer's address space (the lowermost page, covered by the memory address range 0 ... page size?1).
         In early computers, including the PDP-8, the zero page had a special fast addressing mode, which facilitated its use for temporary storage of data and compensated for the relative shortage of CPU registers. The PDP-8 had only one register, so zero page addressing was essential.
         Possibly unimaginable by computer users after the 1980s, the RAM of a computer used to be faster than or as fast as the CPU during the 1970s. Thus it made sense to have few registers and use the main memory as substitutes. Since each memory location within the zero page of a 16-bit address bus computer may be addressed by a single byte, it was faster, in 8-bit data bus machines, to access such a location rather than a non-zero page one.
         Zero page addressing now has mostly historical significance, since the developments in integrated circuit technology have made adding more registers to a CPU less expensive, and have made CPU operations much faster than RAM accesses. Some computer architectures still reserve the beginning of address space for other purposes, though; for instance, the Intel x86 systems reserve the first 512 words of address space for the interrupt table.
         http://lxr.linux.no/source/Documentation/i386/zero-page.txt
  • 데블스캠프2011/다섯째날/HowToWriteCodeWell/박정근,김수경 . . . . 13 matches
         import static org.junit.Assert.*;
          public void testElevator(){
          Elevator e = new Elevator(63, -3);
          //Elevator가 생성되었는지 test한다.
          //Elevator가 생성될때에는 항상 1층으로 setting된다.
         == Elevator.java ==
         public class Elevator {
          private int max_floor;
          private int min_floor;
          private int floor_dir;
          public Elevator(int i, int j) {
          floor = i;// TODO Auto-generated method stub
  • 데블스캠프2012/넷째날/묻지마Csharp/Mission4/서영주 . . . . 13 matches
         private void timer1_Tick(object sender, EventArgs e)
          bitmap1.RotateFlip(RotateFlipType.Rotate90FlipX);
          bitmap1.RotateFlip(RotateFlipType.Rotate180FlipX);
          bitmap1.RotateFlip(RotateFlipType.Rotate180FlipXY);
          bitmap1.RotateFlip(RotateFlipType.RotateNoneFlipX);
  • 정모/2011.4.4/CodeRace/김수경 . . . . 13 matches
          @location
          attr_accessor :location
          @location = false
          @location = true
         if !layton.location
          @location
          attr_accessor :location
          @location = false
          @location = !@location
         if !layton.location
  • 최소정수의합/임인택 . . . . 13 matches
         === motivation ===
          몇명을 제외하곤 다들 루프를 ㅤㅆㅓㅅ을것 같아 다른 방법을 생각해보았다. 내 코드를 다 짜고보니 현태와 보창이가 가우스의 방법을 써서 summation 을 구한걸 볼 수 있었다. 고등학교 시절을 떠올린 모양이었다. 난 조금 더 시간을 거슬러 올라가 중학교 시절로 올라갔다. 문제에서 요구하는게, ''~~이상인 최소 정수(사실 이 문제에서는 범위가 정수가 아닌 자연수로 제한되어 있다고 보는게 더 정확하다)를 구하라''인데, 이를 보고 불현듯 '''부등식'''이 생각나 바로 적용하였다. 처음에는 DivideAndConquer 를 생각해 보기도 했는데 영 시원치가 않았다가 발상의 전환을 이룬게 도움이 되었다.
         import math
         def summation(num):
          _b_4ac = math.sqrt(b*b-4*a*c)
          hae1, hae2 = eq_2(1.0, 1.0, (float)(-2*num))
          sum = summation(hae)
          return hae+1, summation(hae+1)
          def testSummation(self):
          self.assertEquals(55, summation(10))
          self.assertEquals(10, summation(4))
          self.assertEquals(5050, summation(100))
          self.assertEquals(500500, summation(1000))
  • 2dInDirect3d/Chapter1 . . . . 12 matches
          == Initialization Step ==
          == Creating IDirect3D8 Object ==
         IDirect3D8* Direct3DCreate8 (
         pd3d = Direct3DCreate8( D3D_SDK_VERSION ); // 이렇게 생성한다.
          == Display Format ==
          디스플레이의 포맷을 저장하는 데이터형이 D3DFORMAT라는 형태이다. A,R,G,B 네가지의 값을 몇비트씩 갖는지를 상세하게 정할 수 있다.
          == Enumeration Display Mode ==
          === Looking at Adapter Display Modes ===
          RefreshRate : 주사율
          Format : 포맷(앞쪽에 나왔던)
          = Checking For Compatible Formats =
          == Checking Resource Formats ==
  • ActiveXDataObjects . . . . 12 matches
         {{|Microsoft ADO (ActiveX Data Objects) is a Component object model object for accessing data sources. It provides a layer between programming languages and databases, which allows a developer to write programs which access data, without knowing how the database is implemented. No knowledge of SQL is required to access a database when using ADO, although one can use ADO to execute arbitrary SQL commands. The disadvantage of this is that this introduces a dependency upon the database.
         마이크로소프트 ADO(ActiveX Data Objects)는 데이터 소스에 접근하려고 고안된 COM객체이다. 이것은 프로그래밍 언어와 데이터 베이스 사이의 층을 만들어준다. 이 층은 개발자들이 DB의 구현부에 신경쓰지 않고 데이터를 다루는 프로그램을 작성하도록 해준다. ADO 를 이용할 경우, 데이터베이스에 접근하기 위해서 SQL 을 알 필요는 없다. 물론, SQL 커맨드를 수행하기 위해 ADO 를 이용할 수 있다. 하지만, SQL 커맨드를 직접 이용하는 방법은 데이터베이스에 대한 의존성을 가져온다는 단점이 있다.
         {{|In the newer programming framework of .NET, Microsoft also present an upgraded version of ADO called ADO.NET, its object structure is quite different from that of traditional ADO. But ADO.NET is still not quite popular and mature till now.
         ADO 는 ActiveX 이므로 C++ 이건 VB 이건 Python 이건 어디서든지 이용가능. 하지만, 역시나 VB 나 Python 등에서 쓰는게 편리. 개인적으로는 ODBC 연동을 안하고 바로 ADO 로 C++ Database Programming 을 했었는데, 큰 문제는 없었던 기억. (하긴, C++ 로 DB Programming 할 일 자체가 거의 안생겨서..) --[1002]
  • CVS/길동씨의CVS사용기ForRemote . . . . 12 matches
         먼저 다음 내용의 cvs login을 위한 cvs_set_remote.bat 란 세팅 배치 파일을 만들었다.
         cvs_set_remote.bat 내용 (한글부분은 채워넣어 주세요.)
         SET PATH=%PATH%;"C:\Program Files\GNU\WinCvs 1.3"
         .\>cvs_set_remote.bat
         cvs server: Updating HelloWorld
         동일하고 cvs_set_remote.bat 을 실행 로그인을 하고, checkout을 한다. 시작 디렉토리는 c:\user> 로 가정하였다.
         C:\User>cvs_set_remote.bat
         cvs server: Updating HelloWorld
         date: 2002/07/30 16:45:16; author: neocoin2; state: Exp; lines: +2 -0
         date: 2002/07/30 16:26:13; author: neocoin2; state: Exp;
          * 수많은 엔터프라이즈 툴들이 CVS를 지원합니다. (Rational Rose, JBuilder, Ecilpse, IntelliJ, Delphi etc) 이들 툴로서 gui의 접근도 가능하고, 컴퓨터에 설치하신 WinCVS로도 가능합니다. 하지만 그런 툴들도 모두 이러한 과정을 거치는것을 단축하고 편의성을 제공합니다. (WinCVS 역시) Visual Studio는 자사의 Source Safe외에는 기본 지원을 하지 않는데, 플러그인을 찾게되면, 링크 혹은 아시면 링크 걸어 주세요. --["상민"]
  • Celfin's ACM training . . . . 12 matches
         || 6 || 6 || 110606/10254 || The Priest Mathmatician || . || [http://165.194.17.5/wiki/index.php?url=zeropage&no=4132&title=ThePriestMathematician/하기웅&login=processing&id=&redirect=yes The Priest Mathmatician/Celfin] ||
         || 14 || 12 || 111207/10233 || Dermuba Triangle || 3 hours || [http://165.194.17.5/wiki/index.php?url=zeropage&no=4238&title=DermubaTriangle/하기웅&login=processing&id=&redirect=yes Dermuba Triangle/Celfin] ||
         || 18 || 13 || 111307/10209 || Is This Integration? || 2 hours || [http://165.194.17.5/wiki/index.php?url=zeropage&no=4265&title=IsThisIntegration?/하기웅&login=processing&id=&redirect=yes IsThisIntegration/Celfin] ||
         || 22 || 13 || 111305/10167 || Birthday Cake || 1hour 30 mins || [http://zeropage.org/zero/index.php?title=BirthdatCake%2FCelfin&url=zeropage BirthdayCake/Celfin] ||
         || 27 || 5 || 110501/10035 || Primary Arithmatic || 30 mins || [PrimaryArithmatic/Celfin] ||
  • CubicSpline/1002/test_tridiagonal.py . . . . 12 matches
         #format python
         from Matrix import *
          def testGetMatrixY(self):
          actual = getMatrixY(l, b)
          def testGetMatrixX(self):
          matrixY = getMatrixY(l, b)
          self.assertEquals(matrixY, expectedY)
          matrixX = getMatrixX(u, matrixY)
          self.assertEquals(matrixX, expectedX)
  • DataStructure/Graph . . . . 12 matches
          * 2차원 배열로 표현합니다. 정식 이름은 Adjacency Matrix(맞나?--;)
         = Shortest Paths =
         == Single Source, All Destination(하나의 시작점에서 모든 곳으로의 Shortest Path를 구할수 있단말이다) ==
          * 표현은 인접 행렬(Adjancey(??) Matrix)로 표현(그러니까 2차원 배열)
          * 중간 S : { 지금까지 Shortest Path가 결정된 Vertex들 } : 그러니까 결정되면 S에 넣는다는 말이다.
          * dist[w] : v0에서 출발하여 w까지의 Shortest Path의 값. 단 w를 제외하고는 S집합내에 있는 Vertex들만 거쳐야 한다.
         == All Pairs Shortest Path ==
          * 역시 표현은 2차원 배열로 한다. 그런데 이 알고리즘은 (-) Weight 도 허용한다.(그리로 가면 이득이 된다는 말이다.) 하지만 Negative Cycle은 안된다.
          * Negative Cycle? 그 사이클을 돌면 - 가 나오는길을 말한다.
          * A(k)[i, j] 라고 하면 i에서 j로 가는 Shortest Path 의 잠정적인 값이다.단 모든 길은 0 ~ k의 vertex만을 중간에 지날수 있다.
         ["DataStructure"]
  • DataStructure/Stack . . . . 12 matches
         private:
          int data[Size];
          bool Push(int ndata);
         bool Stack::Push(int ndata)
          data[++top]=ndata;
          cout<<data[temp--];
         private:
          int m_nData;
          temp->m_nData=x;
          cout<<top->m_nData<<endl;
         ["DataStructure"], StackAndQueue
  • Eclipse와 JSP . . . . 12 matches
          Upload:tomcatPluginV31.zip
         프로젝트 생성 -> Java 의 Tomcat Project
         == Unbound classpath variable: 'TOMCAT_HOME/common/lib/jasper-runtime.jar' 문제 ==
         Windows->Preferences->Tomcat 선택 후
          * 알맞은 Tomcat Version 선택 ex) Version 5.x
          * 톰캣이 설치된 폴더를 Tomcat Home으로 설정 ex) C:\Program Files\Apache Software Foundation\Tomcat 5.5
         (필요한 경우) Windows->Preferences->Tomcat->Advanced 선택 후
          * Tomcat Base 설정 ex) C:\Program Files\Apache Software Foundation\Tomcat 5.5
  • EightQueenProblem/이선우 . . . . 12 matches
          public static final char BLANK_BOARD = '.';
          public static final char QUEEN_MARK = 'Q';
          private int numberOfBoard;
          private int sizeOfBoard;
          private int [] board;
          private NQueen() {}
          private void setLinePosition( int line )
          private boolean checkRuleSet()
          private boolean checkRule( int x, int y )
          private void printBoard()
          public static void main( String [] args )
          catch( Exception e ) {
  • GuiTestingWithMfc . . . . 12 matches
         static char THIS_FILE[] = __FILE__;
          // DO NOT EDIT what you see in these blocks of generated code!
          Enable3dControlsStatic(); // Call this when linking to MFC statically
          pDlg->Create(IDD_GUITESTINGONE_DIALOG);
          // TODO: Add your control notification handler code here
          // TODO: Add your control notification handler code here
          // TODO: Add your control notification handler code here
          // TODO: Add your control notification handler code here
          Enable3dControlsStatic(); // Call this when linking to MFC statically
  • HelloWorld . . . . 12 matches
          * http://www2.latech.edu/~acm/HelloWorld.shtml 다시 살아 났음
          public static void main(String[] args) {
          public static void main(String[] args){
          public void say(String what){
          System.out.println(what);
         === PHP Web - Template version ===
          include_once "class.CHTemplate.inc";
          $tpl = CHTemplate();
          $tpl->load_file("template_hello.tpl");
         template_hello.tpl
          static void Main()
          public static void main()
  • HelpOnConfiguration . . . . 12 matches
         MoniWiki는 `config.php`에 있는 설정을 입맛에 맛게 고칠 수 있다. config.php는 MoniWiki본체 프로그램에 의해 `include`되므로 PHP의 include_path변수로 설정된 어느 디렉토리에 위치할 수도 있다. 특별한 경우가 아니라면 MoniWiki가 설치된 디렉토리에 config.php가 있을것이다.
         === $path ===
         모니위키의 몇몇 플러그인중 외부 프로그램을 사용하는 프로그램은 환경변수 PATH를 참조하여 외부 프로그램을 호출하게 된다. 이때 PATH의 설정이 제대로 맞지 않아 외부 프로그램이 제대로 실행되지 않는 경우가 있다. 이 경우 config.php에서 `$path`를 고쳐보라.
          * LatexProcessor
         {{{$path}}}에 {{{./bin}}} 디렉토리를 추가한다.
         $path='/usr/bin:/bin:/usr/local/bin:./bin'; # 유닉스의 기본 실행파일 디렉토리 + ./bin
         $path='/usr/bin:/bin:/usr/local/bin:/home/to_your_public_html/moniwiki/bin'; # 유닉스의 기본 실행파일 디렉토리 + bin의 full path
         윈도우에서 gvim을 사용하여 작동된다. 이 경우 {{{$path}}}설정을 제대로 해주어야 하는데, 예를 들어 다음과 같은 식으로 `config.php`에 설정을 한다.
         $path='./bin;c:/windows/command;c:/Program Files/gnuplot;c:/Program Files/vim/vim71'; # for win32
         [[Navigation(HelpOnAdministration)]]
  • HighResolutionTimer . . . . 12 matches
         A counter is a general term used in programming to refer to an incrementing variable. Some systems include a high-resolution performance counter that provides high-resolution elapsed times.
         If a high-resolution performance counter exists on the system, the QueryPerformanceFrequency function can be used to express the frequency, in counts per second. The value of the count is processor dependent. On some processors, for example, the count might be the cycle rate of the processor clock.
         The '''QueryPerformanceCounter''' function retrieves the current value of the high-resolution performance counter (if one exists on the system). By calling this function at the beginning and end of a section of code, an application essentially uses the counter as a high-resolution timer. For example, suppose that '''QueryPerformanceFrequency''' indicates that the frequency of the high-resolution performance counter is 50,000 counts per second. If the application calls '''QueryPerformanceCounter''' immediately before and immediately after the section of code to be timed, the counter values might be 1500 counts and 3500 counts, respectively. These values would indicate that .04 seconds (2000 counts) elapsed while the code executed.
  • InterWikiIcons . . . . 12 matches
         The InterWiki Icon is the cute, little picture that appears in front of a link instead of the prefix established by InterWiki. An icon exists for some, but not all InterMap references.
         You can set InterWikiIcon to InterMap entries by putting an icon file of name lowercased InterWiki entry name, e.g; meatball for MeatBall, under imgs directory.
          * MeatBall:MeatballWiki
         What about copy gentoo-16.png to gentookorea-16.png for InterMap entry 'GentooKorea'?
         Any recommendations on what software to use to shrink an image to appropriate size?
         Some update proposals --PuzzletChung
          * Freefeel - http://freefeel.org/upload/freefeelz16.png (as recommended at Freefeel:FreeFeelZone 16x15x256) or http://puzzlet.org/imgs/freefeel-16-new.png (16x16x16)
         For more information, check http://puzzlet.org/plots/InterWikiIcons
  • Java/스레드재사용 . . . . 12 matches
         아래 코드에 문제가 있는것 같아요. 분명 두개의 메소드가 같아보이는데 (주석처리된 run() 메소드와 run() 메소드) 한개만 되고 나머지 한개는 에러가 납니다(unreachable statement) - 임인택
          private static Vector threads = new Vector();
          private ReThread reThread;
          private Thread thread;
          private static int id=0;
          private static synchronized int getID() { return id++;}
          } catch(RuntimeException ex) {
          } catch (RuntimeException ex) {
          } catch(InterruptedException ignored) { }
  • JavaStudy2004/클래스상속 . . . . 12 matches
          private int x;
          private int y;
          public static void main(String[] args) {
          private double radius;
          if(Math.abs(left_top.getX()-right_bottom.getX()) >= Math.abs(left_top.getY()-right_bottom.getY()))
          radius = Math.abs(left_top.getY()-right_bottom.getY());
          radius = Math.abs(left_top.getX()-right_bottom.getX());
          return Math.PI * radius * radius;
          return Math.abs(right_bottom.getX()-left_top.getX()) * Math.abs(left_top.getY()-right_bottom.getY());
          * 공격받으면 HP가 깎인다(전달인자로 적의 공격력을 받음) (ex public void underattack(int aAttackPoint) )
  • Lotto/강소현 . . . . 12 matches
         == Status ==
          public static void main(String[] args) {
          private static void printPossibleNum(int[] S) {
          int num = (int) (Math.pow(2,S.length-6)-1);
          while(num < Math.pow(2, S.length)){
          private static int increase(int[] bin){
          result += bin[k]*Math.pow(2,k);
          private static int[] decToBin(int i){
          * Presentation Error - 다 출력하고 마지막에 엔터 하나 더 쳐야함.
  • MineSweeper/황재선 . . . . 12 matches
          * Created on 2005. 1. 2
          * TODO To change the template for this generated file go to
          * Window - Preferences - Java - Code Style - Code Templates
          } catch (IOException e) {
          private void countMine(int row, int col) {
          private void printResult(Vector v) {
          static public void main(String [] args) {
          * Created on 2005. 1. 2
          * TODO To change the template for this generated file go to
          * Window - Preferences - Java - Code Style - Code Templates
  • OOP . . . . 12 matches
         2. Objects perform computation by making requests of each other through the passing of messages.
         5. The class is the repository for behabior associated with an object.
         It’s a natural way for people to ”think in objects”.
          * [Association](연관)
          * [Relation](관계)
          * [Encapsulation](캡슐화)
          * [Implementation](구현 : 인간의 개념 속에 존재하는 생각과 사상 등을 실제 물리적인 객체로 구성하는 일련의 작업. 예를 들어 새로운 구조의 컴퓨터 시스템을 만들어 내는 작업과 설계 과정을 거쳐서 전달된 내용을 실제 프로그램으로 구성하여 컴퓨터에서 사용할 수 있도록 하는 작업 등이 모두 구현 작업의 한 가지에 해당된다고 할 수 있다. : 정보문화사 컴퓨터 용어사전 발췌)
          * [Attribute]
          * [Data member]
          * [Operation]
          * [Private and public members]
          * [Templates]
         All actions should be delegated to objects
  • ProjectPrometheus/Iteration . . . . 12 matches
         ["ProjectPrometheus"]/Iteration
          * Release 1 : Iteration 1 ~ 3 (I1 ~ I3)까지. 책 검색과 Login , Recommendation System (이하 RS) 기능이 완료.
          * Release 2 : I4 ~ I6 (또는 I7). My Page Personalization (이하 MPP), RS 에 대한 UI, Admin 기능 완료. 요구한 Performance 를 만족시킨다. (부가기능 - 책 신청, 예약)
         || Iteration || 구현 기능 || Story Point ||
         || 3 || RS Implementation, Login || ~1.5 (0.5) , 0.5 ||
         ||["ProjectPrometheus/Iteration1"]||
         ||["ProjectPrometheus/Iteration2"]||
         ||["ProjectPrometheus/Iteration3"]||
         ||["ProjectPrometheus/Iteration4"]||
         ||["ProjectPrometheus/Iteration5"] (Later) ||
  • STL/Miscellaneous . . . . 12 matches
          * Associative container 일때 - remove쓰면 난리난다.(없으니깐--;) 또 제네릭 알고리즘 remove도 역시 안된다. 컨테이너가 망가질수도 있다.
         // ints.dat 에서 정수들을 읽어와 list에 저장해줌
         ifstream dataFile("ints.dat");
         ifstream_iterator<int> dataBegin(dataFile);
         ifstream_iterator<int> dataEnd;
         list<int> data(dataBegin, dataEnd); // 요런식으로 써주자.
  • SeminarHowToProgramIt/Pipe/VendingMachineParser.py . . . . 12 matches
         #format python
          def verifyButton(self, aStatus):
          print aStatus
          self.__dict__.update(kwargs)
          print self.vm.verifyButton(self.status)
          status=self.next_status()
          return VerifyButtonCmd('verify', arg=verify, status=status )
          def next_status(self):
          return self.err('Unexpected button status')
          parser = getattr(self,'parse_%s'%tok)
  • SuperMarket/인수 . . . . 12 matches
         #format cpp
         // 아래로 이어지는 if/else-if는 코드 중복이라고 봅니다. 이걸 어떻게 제거할 수 있을까요? Command Pattern? Polymorphism? 혹은 그냥 Table Lookup? --JuNe
         private :
         private :
         private :
         private :
          static void showCommand()
          static int getToken(const string& str, int nth)
         private :
          void translateCommand(SuperMarket& sm, User& user, const string& str)
          map<string, Cmd*> :: iterator i;
          parser.translateCommand(superMarket, user, command);
  • TextAnimation/권정욱 . . . . 12 matches
         == TextAnimation/권정욱 ==
          char matrix[70][100];
          matrix[i][j]=' ';
          matrix[y][x]=character;
          cout<<matrix[j][k];
          matrix[j][k]=' ';
          char matrix[70][100];
          matrix[i][j]=' ';
          matrix[y][x]=character;
          cout<<matrix[j][k];
          matrix[j][k]=' ';
         [TextAnimation]
  • ToyProblems . . . . 12 matches
         ToyProblems를 풀면서 접하게 될 패러다임들(아마도): CSP, Generators, Coroutines, Various Forms of Recursion, Functional Programming, OOP, Constraint Programming, State Machine, Event Driven Programming, Metaclass Programming, Code Generation, Data Driven Programming, AOP, Generic Programming, Higher Order Programming, Lazy Evaluation, Declarative Programming, ...
          코딩 시간이 부족했다. Code Kata를 해보지 못해서 아쉽다.
          - 창준 - 교육의 3단계 언급 Romance(시, Disorder)-Discipline(예, Order)-Creativity(악, Order+Disorder를 넘는 무언가) , 새로운 것을 배울때는 기존 사고를 벗어나 새로운 것만을 생각하는 배우는 자세가 필요하다. ( 예-최배달 유도를 배우는 과정에서 유도의 규칙만을 지키며 싸우는 모습), discipline에서 creativity로 넘어가는 것이 중요하다.
         Higer order programming에서 중요한 것은 동사를 명사화해준다는 것인데, Command Pattern도 이와 비슷한 것 같습니다.
          CP도 Functor 의 일종이다. ( 예 - Spiral Matrix를 Vector의 방법으로 풀기). CP부터 배우면 CP에서 제시하는 예에서만 적용하는 것으로 갇힐수 있다.
          * Proofs and Refutations (번역판 있음)
  • WikiWikiWeb . . . . 12 matches
         The [wiki:Wiki:FrontPage first ever wiki site] was founded in 1994 as an automated supplement to the Wiki:PortlandPatternRepository. The site was immediately popular within the pattern community, largely due to the newness of the internet and a good slate of Wiki:InvitedAuthors. The site was, and remains, dedicated to Wiki:PeopleProjectsAndPatterns.
         Wiki:WardCunnigham created the site and the WikiWikiWeb machinery that operates it. He chose wiki-wiki as an alliterative substitute for quick and thereby avoided naming this stuff quick-web. An early page, Wiki:WikiWikiHyperCard, traces wiki ideas back to a Wiki:HyperCard stack he wrote in the late 80's.
  • XMLStudy_2002/Start . . . . 12 matches
          *SVG(Scalable Vector Graphics)포맷과 같은 그래픽 분야 전자상거래의 트랜잭션 처리, MathML과 같은 수학식 표현 등이 사용 예
         [<!ELEMENT MAIL (SUBJECT,SENDER,RECEIVER,BODY,SIGNATURE)>
         <!ELEMENT SUBJECT (#PCDATA)>
         <!ELEMENT P (#PCDATA)*>
         <!ELEMENT SIGNATURE (#PCDATA)>
         <!ELEMENT NAME (#PCDATA)>
         <!ELEMENT ADDRESS (#PCDATA)>
         <!ATTLIST MAIL STATUS (official|informal) 'official'>
         <!ATTLIST ADDRESS TYPE (office|home|e-mail) 'e-mail'>
         <MAIL STATUS="informal">
         <SIGNATURE>
         </SIGNATURE>
          *컨텐츠 스펙에 올수 있는 것은 EMPTY와 ANY이다. 다른 엘리먼트의 이름을 구성하는 EBNF가 올수 있다. 문자테이터를 포함하면 #PCDATA로 표시
         1. MAIL 엘리먼트에는 SUBJECT,SENDER,RECEIVER,BODY,SIGNATUER 엘리먼트가 순서대로 위치하는데 ,다른 엘리먼트들은 단 한번 위치하지만 RECEIVER 엘리먼트는 1개 이상 올수 있으며, SIGNATURE 엘리먼트는 한 번 나오거나 또는 사용하지 않아도 되는 예
         <!ELEMENT MAIL (SUBJECT,SENDER,(RECEIVER)+,BODY,(SIGNATURE)?)>
         3. P 엘리먼트에 어떤 엘리먼트든지 또는 PCDATA가 위치하는 예
         4. SIGNATURE 엘리먼트에 PCDATA가 위치하는 예
         <!ELEMENT SIGNATURE (#PCDATA)>
         === #PCDATA와 CDATA ===
          *PCDATA(Parsed Character Data) : XML프로세서에 의해 파싱되는 부분 예를 들어 태그 기호인 "<" 기호를 쓰면 에러가남
  • 데블스캠프2010/다섯째날/ObjectCraft/미션2/박재홍 . . . . 12 matches
          int attack;
          a.attack=5;
          b.attack=5;
          dam1=a.attack-b.defense;
          dam2=b.attack-a.defense;
          int attack;
          a.attack=5;
          b.attack=5;
          return a.attack-b.defense;
         void att(zergling & a, zergling &b){
          att(a,b);
          att(b,a);
  • 데블스캠프2010/다섯째날/ObjectCraft/미션2/허준 . . . . 12 matches
          int att;
          zeli2.HP -= zeli1.att;
          zeli1.HP -= zeli2.att;
          printf("저글링1이 저글링2에 데미지 %d를 입혀서 저글링2의 HP가 %d가 되었습니다.\n", zeli1.att, zeli2.HP);
          printf("저글링2이 저글링1에 데미지 %d를 입혀서 저글링1의 HP가 %d가 되었습니다.\n", zeli2.att, zeli1.HP);
          int att;
          zeli1.att = 5;
          zeli2.att = 5;
          return a1.att - a2.def;
         void attack(unit a1, unit& a2) {
          attack(zeli1, zeli2);
          attack(zeli2, zeli1);
  • 데블스캠프2011/둘째날/Machine-Learning/NaiveBayesClassifier/변형진 . . . . 12 matches
          public static void main(String[] args) throws IOException {
          } catch (IOException ex) {
          private String fileName;
          private int docsCount;
          private int wordsCount;
          private Map<String, Integer> wordCount = new HashMap<String, Integer>();
          } catch (IOException ex) {
          private Trainer[] trainers;
          private double getLnPsPns(int index) {
          return Math.log((double)trainers[index].getDocsCount()/sum);
          private double getLnPwsPwns(int index, String word) {
          return Math.log(((double)trainers[index].getWordCount(word)/trainers[index].getWordsCount()) / ((double)sum/total));
  • 데블스캠프2012/넷째날/묻지마Csharp/김태진 . . . . 12 matches
         using System.Data;
         namespace WindowsFormsApplication1
          DateTime A, B;
          private void clicked(object sender, EventArgs e)
          private void button1_Click(object sender, EventArgs e)
          A = dateTimePicker1.Value;
          B = dateTimePicker2.Value;
          private void GetVisiblelabel1()
          private void timer1_Tick(object sender, EventArgs e)
          private void pictureBox1_Paint(object sender, PaintEventArgs e)
          private void label4_MouseMove(object sender, MouseEventArgs e)
          label4.Text = e.Location.ToString();
  • 만년달력/강희경,Leonardong . . . . 12 matches
         int deter_date(int, int);
          int date;
          date = deter_date(year%400, month);
          date = deter_date(400, month);
          for ( int j=0 ; j<date ; j++) //숫자를 찍기 전에 요일만큼 빈칸을 찍어줌
          if ( date > 6 ){ //토요일을 넘어가면
          date=0; //요일을 일요일으로
          date++; //보통때는 요일을 증가
         int deter_date(int year, int month )//요일을 정하는 함수(0은 일요일, 6은 토요일)
          return (lastdays(year,month) + deter_date(year, month-1)) % 7;//핵심 코드
  • 몸짱프로젝트/InfixToPostfix . . . . 12 matches
         }Operator;
         Operator operators[LEN] = {
          Operator op;
         void toPostFix(char aTerm[]);
         bool isOperand(char aToken);
         Operator toOperator(char aToken);
         void toPostFix(char aTerm[])
          int len = strlen(aTerm);
          if ( isOperand(aTerm[i]) )
          cout << aTerm[i];
          income.op = toOperator(aTerm[i]);
         bool isOperand(char aToken)
          if ( operators[i].token == aToken )
         Operator toOperator(char aToken)
          if ( operators[i].token == aToken )
          return operators[i];
  • 숫자를한글로바꾸기/조현태 . . . . 12 matches
         private:
          char *data_p;
          stack( int data_size )
          data_p=(char*)malloc(data_size*sizeof(char));
          max_size_of_stack=data_size;
          free(data_p);
          bool get_in(char save_data)
          *(data_p+where_is_save)=save_data;
          *where_save_p=*(data_p+where_is_save);
          void clear_data()
  • 알고리즘2주숙제 . . . . 12 matches
         === Generating Function ===
         세로가 3 가로가 n(2의 배수)인 상자가 있다. 여기에 크가가 2*1인 레고를 채울려고 한다. 가로가 n일때 빈칸 없이 가득채울수 있는 모양의 개수를 클로즈폼으로 구하시오.(Generating Function으로 구하시오)
         === Generating Function ===
         From Concrete Mathematics, Chapter 7. Generating Function
         2. (Warmp up) What is Sigma( Hn / 10^n ) ( n >= 0 )?
         From Discrete mathematics
         5. Let us use a generating function to find a formula for s<sub>n</sub>, where s<sub>0</sub> = s<sub>1</sub> = 1, and s<sub>n</sub> = -s<sub>n-1</sub> + 6s<sub>n-2</sub> for n ≥ 2.
         6~8 Give a generating fuction for the sequence {a<sub>n</sub>}.
         7. Let a<sub>r</sub> be the number of ways r cents worth of postage can be placed on a letter using only 5c, 12c, and 25c stamps. The positions of the stamps on the letter do not matter.
  • 진격의안드로이드&Java . . . . 12 matches
          * [http://www.slideshare.net/novathinker/1-java-key Java-Chapter 1]
          * [http://www.slideshare.net/novathinker/2-runtime-data-areas Java-Chapter 2]
          * [http://www.kandroid.org/board/data/board/conference/file_in_body/1/8th_kandroid_application_framework.pdf Android]
          4: getstatic #2 // Field java/lang/System.out:Ljava/io/PrintStream;
          } catch(Exception e){
          4: getstatic #2 // Field java/lang/System.out:Ljava/io/PrintStream;
          private static final boolean optimize = false;
          private final void methodOperandStack(){
          4: getstatic #2 // Field java/lang/System.out:Ljava/io/PrintStream;
  • 02_Python . . . . 11 matches
         = Related Document or book =
         = Date of Seminar =
          * 가장 정확하게 말하자면 객체 지향 스크립 언어이다. (see also Ousterhout's IEEE Computer article ''Scripting: Higher Level Programming for the 21st Century'' at http://home.pacbell.net/ouster/scripting.html )
          * Red Hat의 리눅스 인스톨러인 아나콘다는 파이썬으로 짜여져 있다
          public static void main(String[] args)
         === 파이썬 프로그램은 모듈(module), 문(statement), 그리고 객체(object) 로 구성된다. ===
         Class 객체 만들기 class subclass: staticData = []
         Del 겍체 삭제 def data[k]; del data[i:j]; del obj.attr
  • 3D프로그래밍시작하기 . . . . 11 matches
         DirectX 6 SDK 정도는 깔아놔야겠죠. Immediate mode essential 항목정도는 꼭 읽어봐야 합니다
          * 옛날 D3d에는 모드가 두가지가 있었는데요 retained mode 하구 immediate mode 가 있었는데 retained 가 immediate위에서 한계층 더 추상화 시킨것이라 하더군요. 보통 immediate를 사용하는것 같더랬습니다. d3d안써봐서리.. --; 정확하진 않지만
         retained는 정점지정시에 속도가 떨어지고.. immediate는 어렵지만 여러방식으로 지정이 가능하고.. 빠르고.. 그랬던거 같습니당.. 요즘엔 direct graphics라 해서 인터페이스가 바꼈는데.. 어떻게 됬는지 몰겠네용..
          * http://www.hitel.net/~kaswan/ 도 추천입니다. 김성완 님이라고.. unicosa출신이시고 미리내 소프트 시절.. 등.. 호랑이 담배먹던 시절에 이미 필드에서 경력을 쌓으시던 분. 성완님이 만드신 g-matrix라는 엔진의 소스를 얻을 수 있고 여러 칼럼
         이 시점에서 여러가지 해결해야 할 사항이 생기는데, 첫째로는 파일 포맷에 대해서 정확히 이해하고, 각 항목이 어떤 역할을 하는 것인지를 알아야 하겠으며, 둘째로는 비교적 여러단계로 복잡하게 구성되어 있는 3D Scene Data 를 효율적으로 정렬하기 위한 자료구조를 내 프로그램에 심는 것입니다. STL 같은 라이브러리를 능숙하게 사용할 수 있다면 많은 도움이 될 것입니다. 가급적이면 계층적으로 구성된 모델을 읽을 수 있도록 해야 나중에 애니메이션도 해보고 할 수 있겠죠. 세째로는 기본 이상의 가속기에 대한 조작을 할 수 있도록 d3d_renderstate 들에 대해서 알아두는 것입니다. 최소한 바이리니어 필터링을 켜고 끄고, 텍스춰 매핑을 켜고 끄고, 알파블렌딩, 등등을 맘먹은대로 조합해볼 수 있어야겠죠
         그래도 옛날보다는 훨씬 일이 쉬운 것이, 화면에 텍스춰매핑된 삼각형을 그려주는 부분인 Rasterization 관련 부분은 가속기가 모두 알아서 처리해 주기 때문이죠. 옛날에는 어떻게 하면 어셈블리로 최적화를 해서 화면에 그림을 빨리 찍느냐를 궁리하느라 사람들이 시간을 많이 보냈지만.. 요즘은 그런 일에 별로 신경을 쓰지 않고 다른 쪽.. (물리학이나 자료구조 최적화) 에
          * 파일 포멧에 관한 자료는 나우누리 게제동에 심심강좌.. 인가.. 거기하구 책으로는 3d file format이라는 책이 있는데.. addison wesley 에서 나온건가.. --; 있습니다. 여러군대에서 찾으실수 있을듯 합니다.
          * STL 은 standard template library 입니다.
  • ACM_ICPC . . . . 11 matches
         = ACM International Collegiate Programming Contest =
          * [http://acm.kaist.ac.kr/2009/rank/new_summary_full.html 2009년 스탠딩] - No attending
          * [http://acm.kaist.ac.kr/phpBB3/viewtopic.php?f=7&t=129 2010년 스탠딩] - No attending
          * [http://acm.kaist.ac.kr/phpBB3/viewtopic.php?f=32&t=5656&sid=8a41d782cdf63f6a98eff41959cad840#p7217 2013년 스탠딩] - AttackOnKoala HM
          * [http://icpckorea.org/2019/regional/scoreboard/ 2019년 스탠딩] - TheOathOfThePeachGarden Rank 81(CAU - Rank 52, including Abroad team)
          * [http://static.icpckorea.net/2020/scoreboard_terpin/ 2020년 스탠딩] - Decentralization Rank 54(CAU - Rank 35)
          * [http://static.icpckorea.net/2021/scoreboard_regional/ 2021년 스탠딩]
          * [http://static.icpckorea.net/20221119/scoreboard/ 2022년 스탠딩] - HeukseokZZANG Rank 63(CAU - Rank 29)
          * team 'AttackOnKoala' 본선 HM(Honorable Mention, 순위권밖) : [강성현], [정진경], [정의정]
          * team 'TheOathOfThePeachGarden' 본선 81위(학교 순위 52위) : [한재현], [김영기], [오준석]
          * team 'Decentralization' 본선 54위(학교 순위 35위) : [박인서], [한재민], [이호민]
  • AcceleratedC++/Chapter3 . . . . 11 matches
         || ["AcceleratedC++/Chapter2"] || ["AcceleratedC++/Chapter4"] ||
         = Chapter 3 Working with batches of data =
         // 요건 디폴트 생성자(그냥 넘어가자. 책에는 Default Initialization이라고 써있다.)에 의해 그냥 비어있게 된다.
         === 3.2.1. Storing a collection of data in a vector ===
          * 이러한 것들을 Telplate Classes 라고 한다. 11장에서 자세히 보도록 하자.
         === 3.2.2 Generating the output ===
          // check that the student entered some homework
         === 3.2.3 Some additional observations ===
         ["AcceleratedC++"]
  • AspectOrientedProgramming . . . . 11 matches
          이해를 돕기 위해, 그리고 설명을 쉽게 하기 위해 예를 들어가며 AOP 개념을 설명토록 하겠다. 어플리케이션의 여러 스레드들이 하나의 데이터를 공유하는 상황을 가정해보자. 공유 데이터는 Data라는 객체(Data 클래스의 인스턴스)로 캡슐화되어 있다. 서로 다른 여러 클래스의 인스턴스들이 하나의 Data 객체를 사용하고 있으나 이 공유 데이터에 접근할 수 있는 객체는 한 번에 하나씩이어야만 한다. 그렇다면 어떤 형태이건 동기화 메커니즘이 도입되어야 할 것이다. 즉, 어떤 한 객체가 데이터를 사용중이라면 Data 객체는 잠겨(lock)져야 하며, 사용이 끝났을 때 해제(unlock)되어야 한다. 전통적인 해결책은 공유 데이터를 사용하는 모든 클래스들이 하나의 공통 부모 클래스(“worker” 라 부르도록 하자)로부터 파생되는 형태이다. worker 클래스에는 lock()과 unlock() 메소드를 정의하여 작업의 시작과 끝에 이 메소드를 호출토록 하면 된다. 하지만 이런 형태는 다음과 문제들을 파생시킨다.
          1. Data 객체를 사용하는 클래스들을 위해 lock 및 unlock 메커니즘을 제공한다(lock(), unlock()).
          1. Data 객체를 수정하는 모든 메소드들이 수행 전에 lock()을 호출하고, 수행 후에는 unlock()을 호출함을 보장한다.
          1. 이상의 기능을 Data 객체를 사용하는 클래스의 자바 소스를 변경하지 않고 투명하게 수행한다.
          특정 메소드(ex. 객체 생성 과정 추적) 호출을 로깅할 경우 aspect가 도움이 될 수 있다. 기존 방법대로라면 log() 메소드를 만들어 놓은 후, 자바 소스에서 로깅을 원하는 메소드를 찾아 log()를 호출하는 형태를 취해야할 것이다. 여기서 AOP를 사용하면 원본 자바 코드를 수정할 필요 없이 원하는 위치에서 원하는 로깅을 수행할 수 있다. 이런 작업 모두는 aspect라는 외부 모듈에 의해 수행된다. 또 다른 예로 예외 처리가 있다. Aspect를 이용해 여러 클래스들의 산재된 메소드들에 영향을 주는 catch() 조항(clause)을 정의해 어플리케이션 전체에 걸친 지속적이고 일관적으로 예외를 처리할 수 있다.
          먼저 ‘Aspect는 꼭 필요한가?’라는 질문에 답해보자. 물론 그렇지는 않다. 이상에서 언급한 모든 문제들은 aspect 개념 없이 해결될 수 있다. 하지만 aspect는 새롭고 고차원적인 추상 개념을 제공해 소프트웨어 시스템의 설계 및 이해를 보다 쉽게 한다. 소프트웨어 시스템의 규모가 계속 커져감에 따라 “이해(understanding)”의 중요성은 그만큼 부각되고 있다(OOP가 현재처럼 주류로 떠오르는데 있어 가장 중요한 요인 중 하나였다). 따라서 aspect 개념은 분명 가치 있는 도구가 될 것임에 틀림없다.다음의 의문은 ‘Aspect는 객체의 캡슐화 원칙을 거스르지 않느냐?’는 것이다. 결론부터 말하자면 ‘위반한다’ 이다. 하지만 제한된 형태로만 그렇게 한다는데 주목하도록 하자. aspect는 객체의 private 영역까지 접근할 수 있지만, 다른 클래스의 객체 사이의 캡슐화는 해치지 않는다.
         Markus Voelter, voelter at acm dot org
         번역: 자바스터디 이클립스 & 모델링도구 시삽 wegra (Bok-Youn, Lee) wegra at wegra dot org
  • CodeRace/20060105/아영보창 . . . . 11 matches
          string data;
          bool operator() (const Word* a, const Word* b)
          if (a->data < b->data)
          while(fin >> word->data)
          if (container[i]->data == word->data)
          cout << container[i]->data << ' ' << container[i]->count << ' ' << container[i]->asciiSum << endl;
          temp = container[i]->data;
          container[i]->data = newStr;
          temp = container[i]->data;
  • CollectiveOwnership . . . . 11 matches
         Wiki:RefactorLowHangingFruit . 고쳐야 할 것이 많다면 오히려 조금씩 고치도록 한다(그리고 고치는 작업을 엔지니어링 태스크로 혹은 유저 스토리로 명시화해서 관리한다). 고치는 중에, 5분 정도의 단위로 테스트를 해봐서 하나도 문제가 없도록 고쳐 나가야 한다. 섬과 육지를 연결하는 다리가 있을 때, 이걸 새 다리로 교체하려면 헌 다리를 부수고 새 다리를 만드는 것이 아니고, 새 다리를 만든 다음 헌 다리를 부수어야 하는 것이다. {{{~cpp formatText(String data)}}}을 {{{~cpp formatText(String data,boolean shouldBeVeryFancy)}}}로 바꾸어야 한다면, {{{~cpp fancibleFormatText}}}를 만들고, 기존의 {{{~cpp formatText}}}를 호출하는 곳을 {{{~cpp fancibleFormatText(data,false)}}}로 하나씩 바꿔나가면서 계속 테스트를 돌려보면 된다. 이게 완전히 다 되었다고 생각이 들면 {{{~cpp formatText}}} 정의를 지워본다. 문제가 없으면 {{{~cpp fancibleFormatText}}}를 {{{~cpp formatText}}}로 rename method 리팩토링을 해준다. 하지만 만약 이 작업이 너무 단순 반복적인 경우에, 충분히 용기가 생기고, 또 확신이 들면 이 작업을 자동화할 수 있다(OAOO). 예컨대 IDE에서 지원하는 자동 리팩토링을 사용하거나, 정규식을 통한 바꾸기(replace) 기능을 쓰거나, 해당 언어 파서를 이용하는 간단한 스크립트를 작성해서 쓰는 방법 등이 있다. 이렇게 큰 걸음을 디디는 경우에는 자동화 테스트가 필수적이다.
  • CppStudy_2002_2/STL과제/성적처리 . . . . 11 matches
         private :
          void calculateTotalScore()
          void calculateAverageScore()
         private :
          bool operator()(ScoresTable* stu1, ScoresTable* stu2) const
          bool operator()(ScoresTable* stu1, ScoresTable* stu2) const
          void dataReader()
          ScoresTable* aTable;
          aTable = new ScoresTable(aName);
          aTable->addScoreToVector(aScore);
          _StudentList.push_back(aTable);
          aTable->calculateTotalScore();
          aTable->calculateAverageScore();
         private :
          _aScoreProcessor.dataReader();
  • CubicSpline/1002/test_lu.py . . . . 11 matches
         #format python
         from Matrix import *
          self.matrixA = Matrix(array(self.a))
          matrixL = Matrix(array(l))
          matrixU = Matrix(array(u))
          actual = matrixL * matrixU
          self.assertEquals(str(actual), str(self.matrixA))
  • Gof/AbstractFactory . . . . 11 matches
         === Motivation ===
         http://zeropage.org/~reset/zb/data/abfac109.gif
         각각의 룩앤필에는 해당하는 WidgetFactory의 서브클래스가 있다. 각각의 서브클래스는 해당 룩앤필의 고유한 widget을 생성할 수 있는 기능이 있다. 예를 들면, MotifWidgetFactory의 CreateScrollBar는 Motif 스크롤바 인스턴스를 생성하고 반환한다, 이 수행이 일어날 동안 PMWidgetFactory 상에서 Presentation Manager 를 위한 스크롤바를 반환한다. 클라이언트는 WidgetFactory 인터페이스를 통해 개개의 룩앤필에 해당한는 클래스에 대한 정보 없이 혼자서 widget들을 생성하게 된다. 달리 말하자면, 클라이언트는 개개의 구체적인 클래스가 아닌 추상클래스에 의해 정의된 인터페이스에 일임하기만 하면 된다는 뜻이다.
         http://zeropage.org/~reset/zb/data/abfac109.gif
         === Collaborations ===
          UI 예제에서 Motif widgets을 Presentation Manager widgets로 바꾸는 작업을 단지 유사한 팩토리의 객체와 바꿔주고 그 인터페이스를 다시 생성함으로써 행할 수 있다.
          (AbstractFactory 클래스와 모든 서브 클래스들을 바꾸는것을 포함해서). Implementation 부분에서 이것에 대한 한가지 해결점에 대해 논의 할 것이다.
         === Implementation ===
         수행시간에, ET++ 은 concrete 윈도우시스템 서브클래스(concrete 시스템 자원 객체를 생성하는)의 인스턴스를 생성한당=== Related Patterns ===
  • LIB_1 . . . . 11 matches
          // TASK STATE DISPLAY
         LIB_create_task (char* string,int,&task_point,task_size) 함수는
          LIB_TIME_RATE(); // 타이머를 정의하고
          // create The Sample Task 1,2
          LIB_create_task("Management\n",63,mn_task,&TaskStack0[256]); // 매니져 함수를 만들어준다.
          LIB_create_task("task1\n",60,task1,&TaskStack1[256]); // 사용자 태스크 1을 만들어준다.
          LIB_create_task("task2\n",59,task2,&TaskStack2[256]); // 사용자 태스크 2를 만들어준다.
          LIB_create_task("StatTask\n",LIB_IDLE_PRIORITY + 1,LIB_TASK_CPU_STAT,&OSStack[256]); // 상태를 알아보는 태스크를 만든다.
          LIB_create_task("IdleTask\n",LIB_IDLE_PRIORITY,idle_task,&TaskStack3[256]); // 유휴상태일때 돌아가는 idle태스크를 만든다.
          // create semaphore and message
          semaphore = LIB_create_sem(2);
          message = LIB_create_msg(NULL);
          LIB_VRAM_STRING(0,0," :: FATAL ERROR :: \n",0x07);
  • MockObjects . . . . 11 matches
         === What ? ===
         사용 예2) Datatbase 와 관련된 프로그래밍에 대해서 UnitTest를 할때, DB Connection 에 대한 MockObject를 만들어서 DB Connection을 이용하는 객체에 DB Connection 객체 대신 넣어줌으로서 해당 작업을 하게끔 할 수 있다. 그리고 해당 함수 부분이 제대로 호출되고 있는지를 알기 위해 MockObject안에 Test 코드를 넣어 줄 수도 있다.
         || Expectation || 소위 말하는 '기대값' 을 위해 미리 Mock Object에 예정된 값들을 채워넣기 위한 클래스들. MockObject는 자신의 구현을 위한 자료구조체로서 Expectation 클래스들을 이용할 수 있다. ||
         || ExpectationCounter || 해당 함수의 기대하는 호출횟수를 카운트 하기 위한 도움 클래스 ||
         || ExpectationList || List 도움 클래스 ||
         || ExpectationSet || 집합 도움 클래스. 내부적으로는 Dictionary를 이용, flag check ||
         || ExpectationMap || Key : Value. Map 도움 클래스 ||
          * [http://www.pragmaticprogrammer.com/starter_kit/ut/mockobjects.pdf Using Mock Objects] (extracted from pragmatic unit testing)
  • ModelViewPresenter . . . . 11 matches
         http://www.object-arts.com/EducationCentre/Overviews/ModelViewPresenter.htm
          * Model - domain data
          * Command - 모델에 영향을 주는 것 (CommandPattern 과 같다)
         어플리케이션을 이러한 방법으로 나누는 것은 좋은 SeparationOfConcerns 이 되며, 다양한 부분들을 재사용할 수 있도록 해준다.
         Model-View-Presenter or MVP is a next generation programming model for the C++ and Java programming languages. MVP is based on a generalization of the classic MVC programming model of Smalltalk and provides a powerful yet easy to understand design methodology for a broad range of application and component development tasks. The framework-based implementation of these concepts adds great value to developer programs that employ MVP. MVP also is adaptable across multiple client/server and multi-tier application architectures. MVP will enable IBM to deliver a unified conceptual programming model across all its major object-oriented language environments.
  • NSIS . . . . 11 matches
         === Opening Statement ===
          * http://www.nullsoft.com/free/nsis/makensitemplate.phtml - .nsi code generator
          * /NOCONFIG - nsisconfi.nsi 을 포함하지 않는다. 이 파라메터가 없는 경우, 인스톨러는 기본적으로 nsisconf.nsi 로부터 기본설정이 세팅된다. (NSIS Configuration File 참조)
         NSIS Script File (.nsi) 는 command 들의 묶음인 batch-file와도 같아보이는 text file이다.
          CreateShortCut "$SMPROGRAMS\NSIS\ZIP2EXE project workspace.lnk" \
         you created that you want to keep, click No)" \
         NSIS 는 스크립트 기반으로 일종의 배치화일과 같으므로, 예제위주의 접근을 하면 쉽게 이용할 수 있다. ["NSIS/예제1"], ["NSIS/예제2"], ["NSIS/예제3"] 등을 분석하고 소스를 조금씩 용도에 맞게 수정하여 작성하면 쉽게 접근할 수 있을 것이다. 의문이 생기는 명령어나 속성(attribute)에 대해서는 ["NSIS/Reference"] 를 참조하기 바란다.
         ;Remove the installation directory
         ;write uninstall information to the registry
  • OperatingSystemClass . . . . 11 matches
         수업내용: Operating System 에 대한 전반적인 개론. Computer Architecture 에서 한단계 더 위의 Layer 를 공부하게 된다. 메모리의 계층구조, 멀티테스킹과 그에 따른 동기화문제, 가상 메모리 등등.
          * http://cne.gmu.edu/workbenches/pcsem/Semaphore.html - Producer / Consumer Simulation Applet
          * http://java.sun.com/docs/books/tutorial/essential/threads/synchronization.html
         === Report Specification ===
         === examination ===
          * ["OperatingSystemClass/Exam2002_1"]
          * ["OperatingSystemClass/Exam2002_2"]
          * ["OperatingSystemClass/Exam2006_1"]
          * ["OperatingSystemClass/Exam2006_2"]
         OS 수업시간의 교재인 Applied Operating System 이나 이 책의 원판에 대당하는 Operating System Concepts 는 개인적으로 좋은 책이라 생각.--["1002"]
  • PreviousFrontPage . . . . 11 matches
         A WikiWikiWeb is a collaborative hypertext environment, with an emphasis on easy access to and modification of information. This wiki is also part of the InterWiki space.
         You are encouraged to add to the MoinMoinIdeas page, and edit the WikiSandBox whichever way you like. Please try to restrain yourself from adding unrelated stuff, as I want to keep this clean and part of the project documentation.
         /!\ Please see Wiki:WikiForumsCategorized for a list of wikis by topic.
         You can edit any page by pressing the link at the bottom of the page. Capitalized words joined together form a WikiName, which hyperlinks to another page. The highlighted title searches for all pages that link to the current page. Pages which do not yet exist are linked with a question mark: just follow the link and you can add a definition.
         To learn more about what a WikiWikiWeb is, read about WhyWikiWorks and the WikiNature. Also, consult the WikiWikiWebFaq.
          * FindPage: search or browse the database in various ways
  • RandomWalk/유상욱 . . . . 11 matches
          int ** data = new int *[question];
          data[i] = new int [question];
          data[i][j] = 0;
          data[x][y-1]++;
          data[x][y+1]++;
          data[x-1][y]++;
          data[x+1][y]++;
          if (data[i][j] == 0)
          cout << data[j][i] << "\t";
          delete [] data [i];
          delete [] data;
  • SeparatingUserInterfaceCode . . . . 11 matches
         Upload:separation.pdf
         When separating the presentation from the domain, make sure that no part of the domain code makes any reference to the presentation code. So if you write an application with a WIMP (windows, icons, mouse, and pointer) GUI, you should be able to write a command line interface that does everything that you can do through the WIMP interface -- without copying any code from the WIMP into the command line.
         도메인모델로부터 프레젠테이션 부분이 분리되었을때, 도메인 코드의 어떠한 부분도 presentattion 코드와 관련이 없도록 해야 한다. 그리하여 만일 WIMP GUI 어플리케이션을 작성했을때 당신은 WIMP 인터페이스를 통해 할 수 있는 모든 것들을 command line interface 로 작성할 수 있어야 한다. WIMP 코드로부터 어떠한 코드도 복사하지 않고.
         이는 UI 부분에만 적용되지 않는다. 일종의 InformationHiding 의 개념으로 확장할 수 있다. 예를 들면 다음과 같이 응용할 수 있지 않을까.
         도메인모델로부터 퍼시스턴스 부분이 분리되었을때, 도메인 코드의 어떠한 부분도 퍼시스턴트 레이어 코드와 관련이 없도록 해야 한다. 만일 MySQL Repository을 작성했을때 당신은 MySQL 인터페이스를 통해 할 수 있는 모든 것들을 Flat File Repository interface 로 작성할 수 있어야 한다. MySQL 코드로부터 어떠한 코드도 복사하지 않고.
  • TopicMap . . . . 11 matches
         TopicMap''''''s are pages that contain markup similar to ['''include'''] (maybe ['''refer'''] or ['''toc''']), but the normal page layout and the ''print layout'' differ: expansion of the includes only happens in the print view. The net result is that one can extract nice papers from a Wiki, without breaking its hyper-linked nature.
         ''Nice idea. But i would just make it the normal behavior for external links. That way you don't clutter MoinMoin with too many different features. --MarkoSchulz''
         Could you provide a more involved example markup and its corresponding rendering? As far as I understand it, you want to serialize a wiki, correct? You should ask yourself what you want to do with circular references. You could either disallow them or limit the recursion. What does "map" do? See also wiki:MeatBall:TransClusion''''''. -- SunirShah
         This is useable for navigation in the '''normal''' view. Now imagine that if this is marked as a TopicMap, the ''content'' of the WikiName''''''s that appear is included ''after'' this table of contents, in the '''print''' view.
  • Unicode . . . . 11 matches
         {{{In computing, Unicode provides an international standard which has the goal of providing the means to encode the text of every document people want to store on computers. This includes all scripts in active use today, many scripts known only by scholars, and symbols which do not strictly represent scripts, like mathematical, linguistic and APL symbols.
         Establishing Unicode involves an ambitious project to replace existing character sets, many of them limited in size and problematic in multilingual environments. Despite technical problems and limitations, Unicode has become the most complete character set and one of the largest, and seems set to serve as the dominant encoding scheme in the internationalization of software and in multilingual environments. Many recent technologies, such as XML, the Java programming language as well as several operating systems, have adopted Unicode as an underlying scheme to represent text.
         introduction : [http://www.unicode.org/standard/translations/korean.html]
         specification : [http://www.unicode.org/versions/Unicode4.1.0/]
         http://www.unicode.org/standard/translations/korean.html
  • WhyWikiWorks . . . . 11 matches
          * any and all information can be deleted by anyone. Wiki pages represent nothing but discussion and consensus because it's much easier to delete flames, spam and trivia than to indulge them. What remains is naturally meaningful.
          * anyone can play. This sounds like a recipe for low signal - surely wiki gets hit by the unwashed masses as often as any other site. But to make any sort of impact on wiki you need to be able to generate content. So anyone can play, but only good players have any desire to keep playing.
          * wiki is not wysiwyg. It's an intelligence test of sorts to be able to edit a wiki page. It's not rocket science, but it doesn't appeal to the TV watchers. If it doesn't appeal, they don't participate, which leaves those of us who read and write to get on with rational discourse.
          * wiki is far from real time. Folk have time to think, often days or weeks, before they follow up some wiki page. So what people write is well-considered.
          * wiki participants are, by nature, a pedantic, ornery, and unreasonable bunch. So there's a camaraderie here we seldom see outside of our professional contacts.
         So that's it - insecure, indiscriminate, user-hostile, slow, and full of difficult, nit-picking people. Any other online community would count each of these strengths as a terrible flaw. Perhaps wiki works because the other online communities don't. --PeterMerel
  • ZP도서관 . . . . 11 matches
         [[include(틀:Deprecated)]]
         || Applications for Windows Fourth Edition || Jeffrey Richter || MS Press || ["1002"] || 원서 ||
         || DesignPatternSmalltalkCompanion || Alpert, Brown, Woolf || Addison Wesley || ["1002"],보솨 || 원서 ||
         || Essential System Administration || AEeen Frisch ||O'Reilly || ["혀뉘"], ["ddori"] || 원서 ||
         || Swing || Matthew Robinson, Pavel Vorobiev || Manning || ["혀뉘"] || 원서 ||
         || XML APPLICATIONS ||.||.||["erunc0"]||한서||
         || 컴퓨터 소프트웨어의 창시자들(Programmers At Works) || . || 마이크로소프트프레스 || ["1002"] || 창섭 대여중 ||
         || Understanding The Linux || Bovet&Cesati ||.|| ["fnwinter"] || 원서(비쌈)||
         || Operating Systems Design and Implemenation || TANENBAUM ||.|| ["fnwinter"] || 원서 ||
         || PocketPC Game Programming || Jonathan S.Harbour || Prima Tech || 정해성 || 원서 ||
         || 3D Computer Graphics || Alan Watt || A.Wesley || 정해성 || 원서 ||
         || Learning, creating, and using knowledge || Joseph D. Novak || Mahwah, N.J. || 도서관 소장 || 학습기법관련 ||
  • i++VS++i . . . . 11 matches
          push OFFSET FLAT:$SG528
          push OFFSET FLAT:$SG528
          push OFFSET FLAT:??_C@_02MECO@?$CFd?$AA@
          push OFFSET FLAT:??_C@_02MECO@?$CFd?$AA@
          class 에서 operator overloading 으로 전위증가(감소)와 후위증가(감소)는 다음과 같이 구현되어 있다.
         MyInteger& MyInteger::operator++() // 전위증가
         const MyInteger MyInteger::operator++(int) // 후위증가. 전달인자로 int 가 있지만
          // 컴파일러는 내부적으로 operator++(0)을 호출한다.
          연산자 재정의를 하여 특정 개체에 대해 전위증가와 후위증가를 사용할 때에는 전위증가가 후위증가보다 효율이 좋다. operator++(int) 함수에서는 임시 객체를 생성하는 부분이 있다.
          ++i, 나 i++ 둘다 상관 없는 상황이라면, ++i에 습관을 들이자, 위의 연산자 재정의는 [STL]을 사용한다면 일반적인 경우이다. 후위 연산자가 구현된 Iterator는 모두 객체를 복사하는 과정을 거친다. 컴파일러단에서 Iterator 의 복사를 최적화 할수 있는 가능성에서는 보장할 수 없다. 따라서, 다음과 같은 경우
         static const int MAX = 5;
         for(vector<int>::iterator i = intArray.begin(); i != intArray.end(); ++i){
         cout << data[i] << endl
         cout << data[i++] << endl;
  • 데블스캠프2010/다섯째날/ObjectCraft/미션1/서민관 . . . . 11 matches
          zergling* z1 = createZergling();
          zergling* z2 = createZergling();
          attack(z1, z2);
         zergling* createZergling()
          z1->atk = 5;
         void attack(zergling* z1, zergling* z2)
          cout << "z1이 z2에게 데미지 " << z1->atk << "를 입혀 HP가 " << z2->HP << "가 되었다." << endl;
          z2->HP -= z1->atk;
          int atk;
         zergling* createZergling();
         void attack(zergling* z1, zergling* z2);
  • 데블스캠프2010/다섯째날/ObjectCraft/미션2/강소현 . . . . 11 matches
          int attack;
         void AAttackB(zerg *a, zerg *b){
          b->HP -= a->attack;
          AAttackB(&zerg1,&zerg2);
          printf("%s가 %s에게 데미지 %d를 입혀 HP가 %d가 되었다.\n",zerg1.name, zerg2.name, zerg1.attack, zerg2.HP);
          AAttackB(&zerg2,&zerg1);
          printf("%s가 %s에게 데미지 %d를 입혀 HP가 %d가 되었다.\n",zerg2.name, zerg1.name, zerg2.attack, zerg1.HP);
          int attack;
          newZerg->attack = 5;
          newZerg2->attack = 5;
         void AAttackB(zerg *a, zerg *b){
          b->HP -= a->attack;
          printf("%s가 %s에게 데미지 %d를 입혀 HP가 %d가 되었다.\n",a->name, b->name, a->attack, b->HP);
          a->HP -= b->attack;
          printf("%s가 %s에게 데미지 %d를 입혀 HP가 %d가 되었다.\n",b->name, a->name, b->attack, a->HP);
          AAttackB(&zerg1,&zerg2);
  • 비밀키/황재선 . . . . 11 matches
          char data[100] = {'0', };
          data[count] = input;
          data[count] = NULL;
          for (i = 0; data[i] != NULL ;i++)
          data[i] += key;
          fout << char(data[i]);
          cout << char(data[i]);
          for (i = 0; data[i] != NULL ;i++)
          data[i] -= key;
          fout << char(data[i]);
          cout << char(data[i]);
  • 새싹교실/2012/우리반 . . . . 11 matches
          2.자료형이란 무엇인가, int, float,char,double이 뭔지 생각해보도록 합시다.(모르면 물어봐요~ :) )
          [http://farm8.staticflickr.com/7070/7047112731_3ee777945c_m.jpg http://farm8.staticflickr.com/7070/7047112731_3ee777945c_m.jpg] [http://farm8.staticflickr.com/7092/6901018112_a7665e3e25_m.jpg http://farm8.staticflickr.com/7092/6901018112_a7665e3e25_m.jpg]
          * int main( void ) - main indicate that main is a program building block called a function
          * printf,\n,\t,\a,\\,\",return 0; in main,compile, link, scanf, int ==> variables, c=a+b;, %d, + => operator, %,if, ==, !=, >=, else, sequential execution, for, a?b:c, total variable, counter variable, garbage value, (int), 연산우선순위, ++a a++ pre/post in/decrement operator, math.h // pow,%21.2d, case switch, break, continue, logical operator || && ! 등.
  • 코드레이스/2007.03.24정현영동원희 . . . . 11 matches
          private Time[] times;
          public String getColorWithDate(int year, int month, int day, int hour, int minute, int second)
          public int checkViolation()
          if(getColorWithDate(time).equals("Red")) {
          private String getColorWithDate(Time time) {
          return getColorWithDate(time.year, time.month, time.day, time.hour, time.minute, time.second);
          public static void main(String []args)
          System.out.println(signal.getColorWithDate(2007, 3, 24, 12, 30, 24));
          System.out.println(signal.getColorWithDate(2000, 1, 1, 0, 0, 0));
          System.out.println(signal.checkViolation());
  • 포항공대전산대학원ReadigList . . . . 11 matches
         “Data Structures and Algorithms in C++”, Mitchael T. Goodrich et al., John Wiley & Sons, 2004.
         “Data Structures and Algorithms", Alfred V. Aho, John E. Hopcroft, Jeffrey D. Ullman, Addison-Wesley.
         “An Introduction to Formal Languages and Automata”, Peter Linz.
         “Introduction to Automata Theory, Languages, and Computation”, J. E. Hopcroft, R. Motwani,
         “Computer Organization, The HW/SW interface”, D. Patterson and J. Hennesey, Morgan Kaufman, 1994.
          “Contemporary Logic Design”, Randy H. Katz, Benjamin/Cummings 1994.
         “Operating System Concepts: 6th Edition”, Silberschatz, Galvin, and Gagne John Wiley & Sons, 2004.
         “Operating System Principles”, Lubomir F,. Bic and Alan C. Shaw, Prentice-Hall, 2003.
  • 프로그램내에서의주석 . . . . 11 matches
         처음에 Javadoc 을 쓸까 하다가 계속 주석이 코드에 아른 거려서 방해가 되었던 관계로; (["IntelliJ"] 3.0 이후부턴 Source Folding 이 지원하기 때문에 Javadoc을 닫을 수 있지만) 주석을 안쓰고 프로그래밍을 한게 화근인가 보군. 설계 시기를 따로 뺀 적은 없지만, Pair 할 때마다 매번 Class Diagram 을 그리고 설명했던 것으로 기억하는데, 그래도 전체구조가 이해가 가지 않았다면 내 잘못이 크지. 다음부터는 상민이처럼 위키에 Class Diagram 업데이트된 것 올리고, Javadoc 만들어서 generation 한 것 올리도록 노력을 해야 겠군.
         내가 가지는 주석의 관점은 지하철에서도 언급한 내용 거의 그대로지만, 내게 있어 주석의 주된 용도는 과거의 자신과 대화를 하면서 집중도 유지, 진행도 체크하기 위해서 이고, 기타 이유는 일반적인 이유인 타인에 대한 정보 전달이다. 전자는 command.Command.execute()이나 상규와 함께 달은 information.InfoManager.writeXXX()위의 주석들이고,후자가 주로 쓰인 용도는 각 class 상단과 package 기술해 놓은 주석이다. 그외에 class diagram은 원래 아나로그로 그린것도 있지만, 설명하면서 그린건 절대로 타인의 머리속에 통째로 저장이 남지 않는다는 전제로, (왜냐면 내가 그러니까.) 타인의 열람을 위해 class diagram의 디지털화를 시켰다. 하는 김에 그런데 확실히 설명할때 JavaDoc뽑아서 그거가지고 설명하는게 편하긴 편하더라. --["상민"]
          그리고, JDK 와 Application 의 소스는 그 성격이 다르다고 생각해서. JDK 의 소스 분석이란 JDK의 클래스들을 읽고 그 interface를 적극적으로 이용하기 위해 하는 것이기에 JavaDoc 의 위력은 절대적이다. 하지만, Application 의 소스 분석이라 한다면 실질적인 implementation 을 볼것이라 생각하거든. 어떤 것이 'Information' 이냐에 대해서 바라보는 관점의 차이가 있겠지. 해당 메소드가 library처럼 느껴질때는 해당 코드가 일종의 아키텍쳐적인 부분이 될 때가 아닐까. 즉, Server/Client 에서의 Socket Connection 부분이라던지, DB 에서의 DB Connection 을 얻어오는 부분은 다른 코드들이 쌓아 올라가는게 기반이 되는 부분이니까. Application 영역이 되는 부분과 library 영역이 되는 부분이 구분되려면 또 쉽진 않겠지만.
         이번기회에 comment, document, source code 에 대해서 제대로 생각해볼 수 있을듯 (프로그램을 어떻게 분석할 것인가 라던지 Reverse Engineering Tool들을 이용하는 방법을 궁리한다던지 등등) 그리고 후배들과의 코드에 대한 대화는 익숙한 comment 로 대화하는게 낫겠다. DesignPatterns 가 한서도 나온다고 하며 또하나의 기술장벽이 내려간다고 하더라도, 접해보지 않은 사람에겐 또하나의 외국어일것이니. 그리고 영어가 모국어가 아닌 이상. 뭐. (암튼 오늘 내일 되는대로 Documentation 마저 남기겠음. 글쓰는 도중 치열하게 Documentation을 진행하지도 않은 사람이 말만 앞섰다란 생각이 그치질 않는지라. 물론 작업중 Doc 이 아닌 작업 후 Doc 라는 점에서 점수 깎인다는 점은 인지중;) --석천
         See Also Seminar:CommentOrNot , NoSmok:DonaldKnuth 's comment on programs as works of literature
  • 허아영/C코딩연습 . . . . 11 matches
          int pattern_num;
          char pattern_shape;
          scanf("%d", &pattern_num);
          scanf("%c", &pattern_shape);
          scanf("%c", &pattern_shape);
          for(i = 1; i <= pattern_num; i++)
          for(blank = 0; blank < pattern_num - i; blank++)
          printf("%c", pattern_shape);
          for(i = 1; i < pattern_num; i++)
          for(j = 0; j < 2*(pattern_num-i)-1; j++)
          printf("%c", pattern_shape);
         < LOTTO RANDOM NUMBER GENERATOR >
  • 3N 1/김상섭 . . . . 10 matches
         struct Data
          vector<Data> data;
          Data temp;
          data.push_back(temp);
          data.push_back(temp);
          for(k = 0; k < data.size(); k++)
          count = table[i] - data[k].pre_count;
          for(j = data[k].num; j < Max; j *=2)
          data.clear();
  • 3N+1/김상섭 . . . . 10 matches
         struct Data
          vector<Data> data;
          Data temp;
          data.push_back(temp);
          data.push_back(temp);
          for(k = 0; k < data.size(); k++)
          count = table[i] - data[k].pre_count;
          for(j = data[k].num; j < Max; j *=2)
          data.clear();
  • 5인용C++스터디/템플릿 . . . . 10 matches
         float absf(float value)
         float abs(float value)
         template<typename T>
         private:
         template<typename T>
         private:
         template<typename T>
         template<typename T>
  • AcceleratedC++/Chapter2 . . . . 10 matches
         || ["AcceleratedC++/Chapter1"] || ["AcceleratedC++/Chapter3"] ||
         // say what standard-library names we use
          // build the message that we intend to write
          // write blank line to separate the output from the input
          // we can assume that the invariant is true here
         // we can conclude that the invariant is true here
          저는 이제서야 AcceleratedC++을 보고 있는데요. loop invariant란 r번 수행했다라는 것을 말하지 않을까요?
          예전에 http://www.pragmaticprogrammer.com/ppllc/papers/1998_05.html 에서 invariants라는 말이 나왔었는데 같은 개념으로 생각하면 될려나 ㅡ,.ㅡ; --[Benghun]
         ["AcceleratedC++"]
  • Adapter . . . . 10 matches
         http://zeropage.org/~reset/zb/data/dpsc_105.JPG
         Smalltalk에서 ''Design Patterns''의 Adapter 패턴 class버전을 적용 시키지 못한다. class 버전은 다중 상속으로 그 기능을 구현하기 때문이다. [[BR]]
         == Implementation ==
         자 그럼 Adapter를 적용시키는 시나리오를 시작해 본다. ''Design Patterns''(DP139)에서 DrawingEditor는 그래픽 객체들과 Shape의 상속도상의 클래스 인스턴스들을 모아 관리하였다. DrawingEditor는 이런 그래픽 객체들과의 소통을 위하여 Shape 프로토콜을 만들어 이 규칙에 맞는 메세지를 이용한다. 하지만 text인자의 경우 우리는 이미 존재하고 있는 TextView상에서 이미 구현된 기능을 사용한다. 우리는 DrawEditior가 TextView와 일반적으로 쓰이는 Shape와 같이 상호작용 하기를 원한다. 그렇지만 TextView는 Shape의 프로토콜을 따르지 않는 다는 점이 문제이다. 그래서 우리는 TextShap의 Adapter class를 Shape의 자식(subclass)로 정의 한다. TextShape는 인스턴스로 TextView의 참조(reference)를 가지고 있으며, Shape프로토콜상에서의 메세지를 사용한다.; 이들 각각의 메세지는 간단히 다른 메세지로 캡슐화된 TextView에게 전달되어 질수 있다. 우리는 그때 TextShape를 DrawingEditor와 TextView사이에 붙인다.
         TextShape는 Shape에 translator같은 특별한 일을 위한 기능을 직접 추가한 것으로 Shape의 메세지를 TextView Adaptee가 이해 할수 있는 메세지로 변환 시킨다.:하지만 DrawingEditor가 TextSape에 대한 메세지를 보낼때 TextShape는 다르지만 문법적으로 동일한 메세지를 TextView 인스턴스에게 보낸다. [[BR]]
         상호 작용(사용자가 직접 이용하는의미)하는 어플리케이션을 위한 Model-View-Controller(MVC) 패러다임에서 View 객체들(화면상에 표현을 담당하는 widget들) 은 밑바탕에 깔려있는 어플리케이션 모델과 연결되어진다. 그래서 모델안에서의 변화는 유저 인터페이스에 반영하고 인터페이스 상에서 사용자들에 의한 변화는 밑에 위치한 되어지는 모델 데이터(moel data)에 변화를 유도한다.View객제들이 제공되어 있는 상태라서 어떠한 상호 작용하는 어플리케이션 상에서라도 그들은 ㅡ걸 사용할수 있다. 그러므로 그들은 그들의 모델과의 통신을 위해 일반적인 프로코콜을 사용한다;특별한 상황에서 모델로 보내어지는 getter message는 값이고 일반적인 setter message역시 값이다.:예를 들자면 다음 예제는 VisualWorks TextEditorView가 그것의 contects를 얻는 방법이다.
         자 그럼 여기에 예제를 보자. 우리는 employee관리 application을 가지고 있다고 가정한다.어플리케이션 모델은 하나의 인자인, employee의 사회 보장(비밀) 번호(social security number)의 포함하고 application의 사용자 인터페이스는 employee의 사회 보장 번호를 화면상에 뿌려주는 '입력 박스 뷰'를 포함한다.모델의 엑세스하고 초기화 시키기 위한 메소드는 'socialSecurity'와 'socialSecurity:'로 이름 지어져 있다. 입력 박스는 단지 현재의 사회 보장 번호를 뿌리기만 한지만 모델의 값을 요청하는 방법만을 알고있다.( DeleteMe 수정 필요 ) 그래서 우리는 value mesage를 socialSecurity로 변환 해야 한다.우리는 Pluggable Adapter 객체를 이런 목적을 위해서 사용할수 있다.자 우리의 예제를 위한 interaction 다이어 그램을 보자
         이 다이어 그램은 단순화 시킨것이다.;그것은 개념적으로 Pluggable Adpter의 수행 방식을 묘사한다.그러나, Adaptee에게 보내지는 메세지는 상징적으로 표현되는 메세지든, 우회해서 가는 메세지든 이런것들을 허가하는 perform:을 이용하여 실제로 사용된다.|Pluggable Adpater는 Symbol로서 메세지 수집자를 가질수 있고, 그것의 Adaptee에서 만약 그것이 평범한 메세지라면 수집자인 perform에게 어떠한 시간에도 이야기 할수 있다.|예를 들어서 selector 가 Symbol #socialSecurity를 참조할때 전달되는 메세지인 'anObject socialSecurity'는 'anObject perform: selector' 과 동일하다. |이것은 Pluggable Adapter나 Message-Based Pluggable Adapter에서 메세지-전달(message-forwading) 구현되는 키이다.| Adapter의 client는 Pluggable Adapter에게 메세지 수집자의 value와 value: 간에 통신을 하는걸 알린다,그리고 Adapter는 이런 내부적 수집자를 보관한다.|우리의 예제에서 이것은 client가 'Symbol #socialSecurity와 value 그리고 '#socialSecurity:'와 'value:' 이렇게 관계 지어진 Adapter와 이야기 한는걸 의미한다.|양쪽중 아무 메세지나 도착할때 Adapter는 관련있는 메세지 선택자를 그것의 'perform:'.을 사용하는 중인 Adaptee 에게 보낸다.|우리는 Sample Code부분에서 그것의 정확한 수행 방법을 볼것이다.
         == Alternative Solutions ==
  • AutomatedJudgeScript . . . . 10 matches
         === About [AutomatedJudgeScript] ===
         이 프로그램에서는 정답과 제출된 프로그램에서 만들어낸 출력 결과가 들어있는 파일을 받아서 아래에 정의된 방법에 따라 Accepted, Presentation Error, Wrong Answer 가운데 하나로 답해야 한다.
         Presentation Error : 숫자는 전부 같은 순서로 매치되지만 숫자가 아닌 문자가 하나 이상 매치되지 않는 것이 있으면 'Presentation Error'라고 답한다. 예를 들어 '15 0'과 '150'이 입력되었다면 'Presentation Error'라고 답할 수 있지만 '15 0'과 '1 0'이 입력되었다면 아래 설명에 나와있는 것처럼 'Wrong Answer'라고 답해야 한다.
         Run #x: Presentation Error
         Run #3: Presentation Error
         Run #5: Presentation Error
         Run #6: Presentation Error
          || 문보창 || C++ || 36분 || [AutomatedJudgeScript/문보창] ||
  • C++ . . . . 10 matches
         C++ (pronounced "see plus plus") is a general-purpose computer programming language. It is a statically typed free-form multi-paradigm language supporting procedural programming, data abstraction, object-oriented programming, and generic programming. During the 1990s, C++ became one of the most popular commercial programming languages.
         Bell Labs' Bjarne Stroustrup developed C++ (originally named "C with Classes") during the 1980s as an enhancement to the C programming language. Enhancements started with the addition of classes, followed by, among many features, virtual functions, operator overloading, multiple inheritance, templates, and exception handling. The C++ programming language standard was ratified in 1998 as ISO/IEC 14882:1998, the current version of which is the 2003 version, ISO/IEC 14882:2003. New version of the standard (known informally as C++0x) is being developed.
         벨 연구소의 [http://www.research.att.com/~bs/homepage.html Bjarne Stroustrup]은 1980년대에 당시의 [C]를 개선해 C++을 개발하였다. (본디 C with Classes라고 명명했다고 한다.) 개선된 부분은 클래스의 지원으로 시작된다. (수많은 특징들 중에서 [가상함수], [:연산자오버로딩 연산자 오버로딩], [:다중상속 다중 상속], [템플릿], [예외처리]의 개념을 지원하는) C++ 표준은 1998년에 ISO/IEC 14882:1998로 재정되었다. 그 표준안의 최신판은 현재 ISO/IEC 14882:2003로서 2003년도 버전이다. 새 버전의 표준안(비공식 명칭 [C++0x])이 현재 개발중이다. [C]와 C++에서 ++이라는 표현은 특정 변수에 1의 값을 증가시키는 것이다. (incrementing이라 함). C++이라는 명칭을 이와 동일한 의미를 갖는데, [C]라는 언어에 증가적인 발전이 있음을 암시하는 것이다.
         = Related =
          * [AcceleratedC++]
          * [RuminationOnC++]
  • CMM . . . . 10 matches
         Capability Maturity Model. 미국 Software 평가모델의 표준. ISO 표준으로는 ["SPICE"] 가 있다.
          * SW-CMM : Capability Maturity Model for Software. 소프트웨어 프로세스의 성숙도를 측정하고 프로세스 개선 계획을 수립하기 위한 모델
          * P-CMM : People Capability Maturity Model. 점차적으로 복잡해지는 소프트웨어 환경에 효과적으로 대응하기 위하여 개인의 능력을 개발하고 동기부여를 강화하며 조직화하는 수준을 측정하고 개선하기 위한 모델
          * SA-CMM : Software Acquisition Capability Maturity Model. 소프트웨어 획득 과정을 중점적인 대상으로 하여 성숙도를 측정하고 개선하기 위한 모델
          * SE-CMM : Systems Engineering Capability Maturity Model. 시스템공학 분야에서 적용하여야 할 기본 요소들을 대상으로 현재의 프로세스 수준을 측정하고 평가하기 위한 모델로서 기본적인 프레임웍은 SW-CMM과 유사
          * IPD-CMM : Integrated Product Development Capability Maturity Model. 고객 요구를 보다 잘 충족시키기 위하여 소프트웨어 제품의 생명주기 동안에 각각 진행되는 프로젝트들이 적시에 협동할 수 있는 제품 개발체계를 도입하기 위한 모델
          * CMMI : Capability Maturity Model Integration. 모델을 사용하는 입장에서는 각각의 모델을 별개로 적용하는 것보다는 전체적 관점에서 시너지 효과를 내기 위해서는 어떻게 적용할 것인가에 대한 방안이 필요하게 되어 개발된 통합 모델
          * wiki:Moa:CapabilityMaturityModel
  • CNight2011/고한종 . . . . 10 matches
         datatype* : 포인터 자료형 선언법 -> 이게 독자적인 자료형이라고 봐도 무관.
          data...
          data...
          date...
          data...
          float* dia =(float*)malloc(sizeof(float)*10);
         if(i%10==0)realloc(dia,sizeof(float)*10*k++);이라고 했다.
  • CPPStudy_2005_1/STL성적처리_1_class . . . . 10 matches
         = inputData =
         private:
          void calculate();
          return m_total=accumulate(m_subjects.begin(),m_subjects.end(),0);
         void Student::calculate()
         private:
          for(vector<string>::const_iterator it = subject.begin() ;
          student->calculate();
          for(vector<Student>::iterator it = m_students.begin() ; it!=m_students.end();++it)
          for(vector<int>::const_iterator it2 = scores.begin();it2!=scores.end();++it2)
  • CToAssembly . . . . 10 matches
         이 명령어는 eax 레지스터에 값 10을 저장한다. 레지스터명 앞의 `%'와 직접값(immediate value) 앞의 '$'는 필수 어셈블러 문법이다. 모든 어셈블러가 이런 문법을 따르는 것은 아니다.
         일반적으로 함수는 함수가 사용할 변수들을 정의한다. 이 변수들을 유지하려면 공간이 필요하다. 함수 호출시 변수값을 유지하기위해 스택을 사용한다. 프로그램 실행중에 반복되는 재귀호출시(recursive call) activation record가 유지되는 방법을 이해하는 것이 중요하다. esp나 ebp같은 레지스터 사용법과 스택을 다루는 push와 pop같은 명령어 사용법은 함수호출과 반환방식을 이해하는데 중요하다.
         문장 foo: .long 10은 foo라는 4 바이트 덩어리를 정의하고, 이 덩어리를 10으로 초기화한다. 지시어 .globl foo는 다른 파일에서도 foo를 접근할 수 있도록 한다. 이제 이것을 살펴보자. 문장 int foo를 static int foo로 수정한다. 어셈블리코드가 어떻게 살펴봐라. 어셈블러 지시어 .globl이 빠진 것을 확인할 수 있다. (double, long, short, const 등) 다른 storage class에 대해서도 시도해보라.
         명령어 cc -g fork.c -static으로 프로그램을 컴파일한다. gdb 도구에서 명령어 disassemble fork를 입력한다. fork에 해당하는 어셈블리코드를 볼 수 있다. -static은 GCC의 정적 링커 옵션이다 (manpage 참고). 다른 시스템호출도 테스트해보고 실제 어떻게 함수가 동작하는지 살펴봐라.
          long max = atoi (argv[1]);
          volatile unsigned result;
          long max = atoi(argv[1]);
          volatile unsigned result;
         GCC의 최적화는 asm 표현이 있더라도 실행시간을 최소화하기위해 프로그램 코드를 재배열하고 재작성하려고 시도한다. asm의 출력값을 사용하지 않는다고 판단하면, asm과 아규먼트 사이에 키워드 volatile이 없는 한 최적화는 명령어를 생략한다. (특별한 경우로 GCC는 출력 연산수가 없는 asm을 반복문 밖으로 옮기지 않는다.) asm은 예측하기 힘든 방식으로, 심지어 호출간에도, 옮겨질 수 있다. 특별한 어셈블리 명령어 순서를 보장하는 유일한 방법은 모든 명령어를 모두 같은 asm에 포함하는 것이다.
  • Class로 계산기 짜기 . . . . 10 matches
         private:
         class Calculator
         private:
          Calculator() { memory = new Memory; }
          void create() {
          ~Calculator() { delete memory; }
          Calculator calculator;
          calculator.create();
  • CommonState . . . . 10 matches
         == Common State ==
         컴퓨터 시대의 여명에는(초기에는) state가 짱이었다. 펀치 카드도 상태를 위해 존재했고, 유닛 레코드 장비도 그랬다. 그러다가 전자적인 컴퓨팅이 나오기 시작하면서 state는 더이상 물리적인 상태로 존재하지 않게 되었다. 물리적인 형태는 전자적인 형태로 바뀌어서, 보다 더 쉽고 빠르게 다룰수 있게 되었다.
         초기 컴퓨터는 용량이 너무 적어서, 프로그램 짧게 만들기 이런걸 많이 해야만 했다. 당연하지만 그걸 알아볼 수 있으리라는 기대는 하지 않았다. 그러다가 용량이 커지니까 이제는 많고 많은 state들을 사용하는 많고 많은 함수들을 많이 사용하게 되었다. 하나 고칠라면 전체를 뜯어 고쳐야 했다. state로서의 프로그램은 안좋다. 그러니 state도 안좋다(??) 이런 상황에서 state가 없고, 프로그램만 있는 함수형 언어가 나오게 되었다. 개념적인 우아함과 수학적인 우아함을 갖추고 있음에도 불구하고, 상업적인 소프트웨어를 만드는데에는 전혀 쓰이지 않았다. 이유는 사람들은 state를 기반으로 생각하고 모델링하기 때문이었다. state는 실세계에 대해 생각하는 좋은 방법이다. 객체는 두 가지의 중간이다.(?이렇게 해석해야하나..--;) state는 잘 다뤄질때만 좋다. 작은 조각으로 나누면 다루기 쉬워진다. 이렇게 하면 변화를 어느 한 곳만 국한시킬 수 있게 된다.
  • DPSCChapter3 . . . . 10 matches
         http://zeropage.org/~comein2/design_pattern/31page.gif
          우리는 Abstract Factory Pattern을 이용해서 두가지 목표를 이룰 수 있다.
          (정리 : Abstract Factory Pattern은 Factory Pattern을 추상화시킨 것이다.Factory Pattern의 목적이 Base Class로부터 상속
          Abstract Factory Pattern는 여러 개의 Factory중 하나를 선택할 수 있도록 해주는 것을 수행한다. )
          http://zeropage.org/~comein2/design_pattern/32page.gif
          http://zeropage.org/~comein2/design_pattern/33page.gif
          http://zeropage.org/~comein2/design_pattern/34page.gif
          "Create the top-level part, the car object which starts out having no subcomponents, and add an engine, body, etc."
          다형성의 힘 때문에, 클라이언트는 코드 구현을 한번만 하면된다. ABSTRACT FACTORY PATTERN을 사용하지 않을 경우, 자동차 생성 코드는 다음과 같이 보일 것이다.(아주 비효율적인 코드)
  • DataStructure/Queue . . . . 10 matches
         private:
          int m_nData[Size];
          bool Add(int ndata);
         bool Queue::Add(int ndata)
          m_nData[++m_nRear]=ndata;
          cout<<m_nData[++count];
         private:
          int nData;
          temp->nData=x;
  • DebuggingSeminar_2005 . . . . 10 matches
          || [DebuggingSeminar_2005/DebugCRT] || Debug CRT 라이브러리 활성화 예제. extracted from Debugging Application ||
          || [DebuggingSeminar_2005/AutoExp.dat] || VC IDE의 Watch 윈도우에 사용자 데이터형의 표현형을 추가하는 파일 ||
          || [http://www.dependencywalker.com/ DependencyWalker] || Dependency Walker (Included at VS6) ||
          || [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tools/tools/rebase.asp ReBase MSDN] || Rebase is a command-line tool that you can use to specify the base addresses for the DLLs that your application uses ||
          || [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/_core_viewing_decorated_names.asp undname.exe] || C++ Name Undecorator, Map file 분석툴 ||
         [Debugging] [Debugging/Seminar_2005] [Seminar] [DebuggingApplication]
  • DoItAgainToLearn . . . . 10 matches
         제가 개인적으로 존경하는 전산학자 Robert W. Floyd는 1978년도 튜링상 강연 ''[http://portal.acm.org/ft_gateway.cfm?id=359140&type=pdf&coll=GUIDE&dl=GUIDE&CFID=35891778&CFTOKEN=41807314 The Paradigms of Programming]''(일독을 초강력 추천)에서 다음과 같은 말을 합니다. --김창준
         In my own experience of designing difficult algorithms, I find a certain technique most helpfult in expanding my own capabilities. After solving a challenging problem, I solve it again from scratch, retracing only the ''insight'' of the earlier solution. I repeat this until the solution is as clear and direct as I can hope for. Then I look for a general rule for attacking similar problems, that ''would'' have led me to approach the given problem in the most efficient way the first time. Often, such a rule is of permanent value. ...... The rules of Fortran can be learned within a few hours; the associated paradigms take much longer, both to learn and to unlearn. --Robert W. Floyd
         Even fairly good students, when they have obtained the solution of the problem and written down neatly the argument, shut their books and look for something else. Doing so, they miss an important and instructive phase of the work. ... A good teacher should understand and impress on his students the view that no problem whatever is completely exhausted. --George Polya
         Seminar:SoftwareDevelopmentMagazine 에서 OOP의 대가 Uncle Bob은 PP와 TDD, 리팩토링에 대한 기사를 연재하고 있다. [http://www.sdmagazine.com/documents/s=7578/sdm0210j/0210j.htm A Test of Patience]라는 기사에서는 몇 시간, 혹은 몇 일 걸려 작성한 코드를 즐겁게 던져버리고 새로 작성할 수도 있다는 DoItAgainToLearn(혹은 {{{~cpp DoItAgainToImprove}}})의 가르침을 전한다.
  • EightQueenProblem/da_answer . . . . 10 matches
          private
          { Private declarations }
          { Public declarations }
         implementation
          private
          { Private declarations }
          { Public declarations }
         implementation
  • Fmt . . . . 10 matches
         and breaking lines so as to create an
         If a new line is started, there will be no trailing blanks at the
         end of the previous line or at the beginning of the new line.
          2. A line break in the input may be eliminated in the output, provided
         break is eliminated, it is replaced by a space.
         so as to create an output file with lines as close to without exceeding
         If a new line is started, there will be no trailing blanks at the end of
         the previous line or at the beginning of the new line.
          2. A line break in the input may be eliminated in the output,
         break is eliminated, it is replaced by a space.
  • Googling . . . . 10 matches
         {{|Google, Inc (NASDAQ: GOOG), is a U.S. public corporation, initially established as a privately-held corporation in 1998, that designed and manages the internet Google search engine. Google's corporate headquarters is at the "Googleplex" in Mountain View, California, and employs over 4,000 workers.|}}
         || related || 인자로 전달된 사이트와 유사한 사이트를 검색한다. ||
          ''stop word: at, and 와 같은 일반적인 단어들은 검색을 할 경우 그 결과가 너무 많기 때문에 구글에서 제외시킨다. 이런 단어를 추가시켜서 검색하기 위해서는 검색어 앞에 + 를 붙여야한다.''
         검색엔진에서 {{{~cpp operating system concepts filetype:ppt}}} 를 쳐보자.
         = Related =
  • IntelliJ . . . . 10 matches
          * http://www.intellij.org/twiki/bin/view/Main/IdeaToAntPlugin - IntelliJ Project 화일로 Ant build 화일을 작성해주는 플러그인.
         === Analyze - Find Duplicates ===
         Inspection 을 이용하면, 현재 실제로 접근하지 않는 메소드들, private 으로 둘 수 있는 메소드들, static 으로 둘 수 있는 필드 등을 체크하고, 해당 메소드 등을 주석처리하거나 영구삭제, 또는 접근권한을 private 으로 변환하는 등 여러가지 대처를 할 수 있다.
          0. CVS 셋팅 : File - Project Properties - CVS 텝에서 Enable CVS Integration 체크
          1. Path to CVS client 에 도스프롬프트의 cvs.exe 나 cvs95.exe 등을 연결
          2. CVS Root 설정 - ZP 서버에 연결할 경우 PServer 를 선택, Repository Path 로 /home/CVS 로 설정, Host에는 zeropage.org, User name 은 자기 아이디를 써준다.
          5. Update & Commit
         || ctrl + J || live template ||
         || ctrl + alt + T + 6 || surrounded with try-catch||
  • JavaScript/2011년스터디/김수경 . . . . 10 matches
          * Simple Class Creation and Inheritance
          // The base Class implementation (does nothing)
          // Create a new Class that inherits from this class
          // Instantiate a base class (but only create the instance,
          // Add a new ._super() method that is the same method
          // Populate our constructed prototype object
          // Enforce the constructor to be what we expect
          * Initialization
  • JavaStudy2004/이용재 . . . . 10 matches
          private String name;
          private int statue;
          statue = 1;
          statue = 2;
          public void my_statue()
          if (statue == 1)
          if (statue == 2)
          public static void main(String [] args)
          Lee.my_statue();
  • JosephYoder방한번개모임 . . . . 10 matches
          * [https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=1pibLA94VQ8Z1cckW8IOsedbQ9joDuCwwafH93jHDgv3l-ASNn_QW2rGhxrWT&hl=en_US Refactoring Testing and Patterns]
         Joseph Yoder와의 만남. 신선했다면 신선했다일까. 이렇게 빠른 외국인의 아키텍쳐설명은 들어본적이 없다. Pattern의 강자 GoF와 같이 시초를 같이 했으며 의료 분야 소프트웨어 제작에 참여하고있다고 했다.
         일단 코드 컨스트럭트를 할때는 Facade and Wrapper Pattern을 이용해서 방을 청소하고 시작하라고하는것도 보았다. 하긴 이렇게하면 다른것에 상관 없이 쓸수 있겠군? 이라고 생각했다.
         Refactoring과 Pattern은 누가 누구에 속한 관계가 아니라서 적절히 써야한다고했다. 교집합이었다 그림은. 그래 적절히 써야지라고 생각했다.
         강조했던것은 Agile과 Refactoring의 상관관계였는데 둘다 얽히면 굉장한 시너지를 내기 때문에 목적은 달라도 병행해서 쓰면 좋다고했다. Agile을 지금 쓰는 사람 있냐고 물어봤는데 손들기는 뭐했다. Face-to-Face, pair 프로그래밍. Communication 만세다! Agile기법에 대해 Refactoring에 대해 자신의 이념, 이상이 들어간 코드를 만드는 프로그래머가 반대를 한다면 Pair프로그래밍을 통해 '너만의'코드가 아닌 '우리'의 코드라는것을 인식시켜주는게 좋다고 했다. 근데 그런사람이 있을까? 여튼 경험에 우러나온 대답같았다.
         여러모로 Refactoring에서 나오는 Pattern과 Holub이 주장하는 Design Pattern과는 많았고 옆에서 계속 번역해주시는 창준선배님을 보면서 참 나도 영어 듣기가 녹슬었구나 하는 생각이 들었다. FPS에서 영어를 배워봐야하나. 여러사람이 다양하게 생각하는 Refactoring과 Pattern에 대해 다시한번 좀더 연구할 생각이드는 시간이었다.
          * 변화의 속도. 가장 느린건 platform <-> 가장 빠른건 data
          1. CHANGE METHOD or STRATEGY : MEDIUM
  • LUA_6 . . . . 10 matches
         > mt = { __add = function(a,b) return { value = a.value + b.value } end } -- '+' 연산자에 대한 metatable을 작성
         > setmetatable(x,mt) -- x라는 테이블에 mt를 연결
         > double = x + x -- x 테이블에 '+' 연산을 하면 metatable이 수행되 덧셈 결과가 새로운 table로 반환 됨
         __concat .. : string 연결 연산자
         __metatable : metatable을 보호하기 위한 metatable 프로그램이 metatable을 수정하지 못하도록 하기 위해 재 정의 해주면 된다.
         stdin:1: attempt to index local 'self' (a number value)
         class를 만들기 위한 페이지 http://lua-users.org/wiki/YetAnotherClassImplementation 추가로 링크 넣었습니다.
  • Linux . . . . 10 matches
         [[include(틀:OperatingSystems)]]
         I'm doing a (free) operating system (just a hobby, won't be big and
         professional like gnu) for 386(486) AT clones. This has been brewing
         things people like/dislike in minix, as my OS resembles it somewhat
         This implies that I'll get something practical within a few months, and
         I'd like to know what features most people would want. Any suggestions
         will support anything other than AT-harddisks, as that's all I have :-(.
         [http://translate.google.com/translate?hl=ko&sl=en&u=http://www.softpanorama.org/People/Torvalds/index.shtml&prev=/search%3Fq%3Dhttp://www.softpanorama.org/People/Torvalds/index.shtml%26hl%3Dko%26lr%3D 리눅스의 개발자 LinusTorvalds의 소개, 인터뷰기사등]
         [OperatingSystem]
  • MoinMoinDiscussion . . . . 10 matches
         '''Q''': How do you inline an image stored locally? (e.g. ../wiki-moimoin/data/images/picture.gif)
         '''A''': See the {{{~cpp [[Icon]]}}} macro; besides that, fully qualified URLs to the wiki server work, too.
          * '''R''': The Icon macro worked well. I wanted to avoid the fully qualified URL because to access the Wiki in question requires password authentication. Including an image using the full URL caused my webserver (Apache 1.3.19) to reprompt for authentication whenever the page was viewed or re-edited. Perhaps a default {{{~cpp [[Image]]}}} macro could be added to the distribution (essentially identical to {{{~cpp [[Icon]]}}} ) which isn't relative to the data/img directory. (!) I've actually been thinking about trying to cook up my own "upload image" (or upload attachment) macro. I need to familiarize myself with the MoinMoin source first, but would others find this useful?
          * '''Note:''' Regarding the upload feature - pls note that the PikiePikie also implemented in Python already has this feature, see http://pikie.darktech.org/cgi/pikie?UploadImage ... so I guess you could borrow some code from there :) -- J
  • OperatingSystemClass/Exam2002_1 . . . . 10 matches
         2) Caching 에서의 hit ratio 란?[[BR]]
          catch (InterruptedException e) { }
          catch (InterruptedException e) { }
         private Object[] items;
         private static final int SIZE = 3;
         private volatile int position;
         private volatile boolean isRoom;
          Jn+1 = aTn + (1 - a)Jn
  • OurMajorLangIsCAndCPlusPlus/string.h . . . . 10 matches
         || char * strcpy(char * strDestination , const char * strSource ) || Copy a string. ||
         || char * strncpy(char * strDestination, const char * strSource, size_t count) || Copy characters of one string to another ||
         || char * strcat(char * strDestination, const char * strSource) || Append a string. ||
         || char * strncat(char * strDestination, const char * strSource, size_t count) || Append characters of a string. ||
         || char * strnset(char *stirng, int c, size_t count) || Initialize characters of a string to a given format. ||
         || int strcoll(const char * stirng1, const char * stirng2) || Compare strings using locale-specific information. ||
         || char * strdup(const char *strSource ) || Duplicate strings. ||
         || size_t strxfrm (char *strDest, const char *strSource, size_t count) || Transform a string based on locale-specific information ||
  • PerformanceTest . . . . 10 matches
         다음은 Binary Search 의 퍼포먼스 측정관련 예제. CTimeEstimate 클래스를 만들어 씁니다.
          class CTimeEstimate
          CTimeEstimate () {
          ~CTimeEstimate () { }
          CTimeEstimate est;
          int i, nRandNum, nLocation;
          nLocation = BinarySearch (nBoundary, S, nRandNum);
          printf ("location : %d\n", nLocation);
          printf ("estimated time : %f \n", est.Result ());
  • ProgrammingPearls/Column3 . . . . 10 matches
         == Data Structures Progams ==
          ifstream fin("data.dat");
          string data[4];
          ifstream fin("data.dat");
          getline(fin, data[i]);
          cout << data[scheme[index] - 48];
         === Structuring Data ===
         === Powerful Tools for Specialized Data ===
  • SimpleDelegation . . . . 10 matches
         == Simple Delegation ==
         위임을 사용할때, 당신이 필요한 위임의 묘미(?)를 분명하게 해주는 도와주는 두가지 이슈가 있다. 하나는, 위임하는 객체의 주체성이 중요한가? 이다. 위임된 객체는 자신의 존재를 알리고 싶지 않으므로 위임한 객체로의 접근이 필요하다.(?) 다른 하나는, 위임하는 객체의 상태가 위임된 객체에게 중요한것인가? 그렇다면 위임된 객체는 일을 수행하기 위해 위임한 객체의 상태가 필요하다.(너무 이상하다.) 이 두가지에 no라고 대답할 수 있으면 Simple Delegation을 쓸 수 있다.
         private:
         좀 이상하긴 하지만 그냥 그런가 보다 하자. C++은 너무 제약이 심하다. 어쨌든 at, at: put: 같은 메세지도 위처럼 위임이 가능하다.
         위임하는 객체(delegating object)는 위임 객체 또는 위임자 객체, 위임된 객체(delegate)는 대리자로 번역할 수 있을 것 같고(차라리 영어를 그대로 쓰는게 좋을지도 모르겠네요), 주체성은 참조를 의미하지 않을까요?
         ChatClient::GoOutFromRoom() {
          cmd->Execute(this); // delegating object의 참조(this)를 delegate에게 전달
  • SmallTalk/강좌FromHitel/강의2 . . . . 10 matches
          1. 자료실에서 Dolphin Smalltalk와 Dolphin Education Center를 찾
          "First evaluated by Smalltalk in October 1972, and by Dolphin in
          AbstractToTextConverter ACCEL AcceleratorPresenter AcceleratorTable
          text: Time now printString at: 10@10;
          ] repeat] fork.
          ☞ a Process(a CompiledExpression, priority: 5, state: #ready)
          digitalClockProcess terminate. ¬
          UserLibrary default invalidate: nil lpRect: nil bErase: true.
          <Terminate> 단추를 누르는 것으로 문제가 해결됩니다. 만일 다른 프로그래
  • VendingMachine_참관자 . . . . 10 matches
         char *M_Name[]={"cup","cococa","water","coffee"};
         static char* seps=" \t\n";
         private:
          char * Data[20];
         private:
          Data[index]=token;
          for(int i=1;i<=TOKEN_NUM && strcmp( Data[0] , tok[i-1]) ;i++) ;
          return Data[++index];
          int m = atoi(t);
          int SM=atoi(t);
  • WikiSandPage . . . . 10 matches
         <div style = 'float:right'>
         http://pragprog.com/katadata/K4Weather.txt
         http://pragprog.com/katadata/K4Soccer.txt
         [임인택/ThisIsATestPage]
         http://www.nbc.com/Saturday_Night_Live/index.html
         [http://www.nbc.com/Saturday_Night_Live/index.html]
         [http://www.nbc.com/Saturday_Night_Live/index.html 쌩토요일밤]
         [[Navigation(WikiSandPage)]]
  • [Lovely]boy^_^/EnglishGrammer/PresentPerfectAndPast . . . . 10 matches
          We often use the present perfect to give new information or to announce a recent happening.(새로운 정보나, 최근의 사건을 보도할때도 쓰인답니다.)
          We also use the simple past some situations.( ... 어쩌라는 거야..ㅠ.ㅠ 쓸거면 확실하게 한군데만 쓰던지..;;)
          We use already to say that something happened sooner than expected.(예상했던것보다 더 빨리 사건이 터졌을때 쓴다)
          Yet = until now. It shows that the speaker is expecting something to happen. Use yet only in questions and negative sentences.
          A. When we talk about a period of time that continues from the past until now, we use the present perfect.(앞에 나온말)
          ex) Have you ever eaten caviar?
          Here are more examples of speakers talking about a period that continues until now(recently/ in the last few days/ so far/ since breakfast, etc.)
          B. We use the present perfect with today/ this morning/ this evening, etc. when these periods are not finished at the time of speaking.(그렇대요;;)
          ex) Have you had a vacation this year?
  • django/RetrievingObject . . . . 10 matches
         RiskReport.objects.filter(date__gt=datetime.date(2006, 10, 1))
         WHERE date > '2006-10-1'
         = select_related =
         일대다 관계인 레코드의 경우는 selete_related메소드를 이용하면 데이터베이스 접근 횟수를 줄일 수 있다. 일반적인 데이터베이스 조회는 추상화되어있어 실행할 때마다 쿼리를 수행한다. 하지만 selete_related메소드를 사용하면 한 번 데이터베이스에서 결과를 가져온 후 필요할 때는 이를 그대로 사용한다. 다음 예제에서 두 방식이 어떻게 다른지 확인할 수 있다.
         c = ControlReport.objects.select_related().get(id=1)
         RiskReport.objects.extra(select={'is_recent': " date > '2006-01-01'"})
         SELECT blog_entry.*, (pub_date > '2006-01-01')
  • whiteblue/만년달력 . . . . 10 matches
         int yearInput, monthInput, count = 0, dateNumber = 1 , locationOf1stDay, addm;
          locationOf1stDay = (addm + yearInput + count - 1 + 6) % 7; //
          locationOf1stDay++;
          locationOf1stDay = (addm + yearInput + count + 6 ) % 7; //
          if ( (j == 1 && k < locationOf1stDay) ||
          dateNumber > lastDayOfMonth[monthInput-1] ||
          (dateNumber == 29 && !yundal) ) {
          cout << dateNumber << "\t";
          dateNumber++;
  • 간단한C언어문제 . . . . 10 matches
         float num;
         char data[]="123.12";
          num = atof(data);
         옳지않다. atof함수로 float변환은 되었지만, atof함수의 프로토 타입이 있는 헤더를 추가하지 않았기 때문에 int형으로 return된다. 즉, num엔 숫자 123이 담긴다. ANSI C99에서는 프로토타입이 선언되지 않으면 컴파일되지 않도록 변했다. - [이영호]
         static int a = 100;
         옳지 않다. static은 C++의 private와 비슷하다. 한 파일이나 특정 로컬함수에서만 쓰인다는 것을 표현한다. - [이영호]
  • 김동준/Project/OOP_Preview/Chapter1 . . . . 10 matches
          private GuitarProperty GP;
          private String serialNumber;
          private double price;
          private String builder;
          private String model;
          private String type;
          private String backWood;
          private String topWood;
          private GuitarList GuitarList;
          private GuitarList GLPointer;
  • 나를만든책장관리시스템/DBSchema . . . . 10 matches
         || cContributor || int(11) || FK references bm_tblMember(mID) on delete no action on update cascade ||
         || cBook || unsigned int || FK references bm_tblBook(bID) on delete no action on update cascade ||
         || cDate || date ||
         || rUser || int(11) || FK refereneces bm_tblMember(mID) on delete no action on update cascade ||
         || rBook || unsigned int || FK refereneces bm_tblBook(bID) on delete no action on update cascade ||
         || rApplication || tinyint || FK refereneces bm_tblApplication(aID) ||
         || mID || int(11) || PK, FK references zb_member_list(member_srl) on delete no action on update cascade ||
         |||||| '''bm_tblApplication''' ||
  • 디자인패턴 . . . . 10 matches
          * [http://www.cmcrossroads.com/bradapp/docs/pizza-inv.html - Pizza Inversion - a Pattern for Efficient Resource Consumption]
         그리고 한편으로는 Refactoring을 위한 방법이 됩니다. Refactoring은 OnceAndOnlyOnce를 추구합니다. 즉, 특정 코드가 중복이 되는 것을 가급적 배제합니다. 그러한 점에서 Refactoring을 위해 DesignPattern을 적용할 수 있습니다. 하지만, Refactoring 의 궁극적 목표가 DesignPattern 은 아닙니다.
         DesignPatterns 의 WhatToExpectFromDesignPatterns 를 참조하는 것도 좋겠네요.
         HowToStudyDesignPatterns 페이지를 참조하세요.
         see PatternCatalog
          * http://www.econ.kuleuven.ac.be/tew/academic/infosys/Members/Snoeck/litmus2.ps - Design Patterns As Litmus Paper To Test The Strength Of Object Oriented Methods
  • 식인종과선교사문제/조현태 . . . . 10 matches
         bool MoveNext(vector<party>& moveData, map<int, bool>& isChecked, int where, party left, party right)
          moveData.push_back(party(CAN_MOVE_WHITE[i], CAN_MOVE_BLACK[i]));
          if (true == MoveNext(moveData, isChecked, where * (-1), testLeft, testRight))
          moveData.pop_back();
          vector<party> moveData;
          MoveNext(moveData, isChecked, -1, left, right);
          if (0 == moveData.size())
          for (register int i = 0; i < (int)moveData.size(); ++i)
          cout << "식인종 : " << moveData[i].white << "명 이동, 선교사 : " << moveData[i].black << "명 이동 " << endl;
  • 정렬/곽세환 . . . . 10 matches
          ifstream fin("unsorteddata.txt");
          int *data = new int[size];
          fin >> data[i];
          if (data[i] > data[j])
          temp = data[i];
          data[i] = data[j];
          data[j] = temp;
          fout << data[i] << endl;
  • 정모/2011.4.4/CodeRace/강소현 . . . . 10 matches
          public static void main(String[] args) {
          public static boolean mustCheck(int num, int [] name){
          private String name;
          private Town position;
          private String townName;
          private Person [] people;
          private int maxPeople = 3;
          private int peopleIndex = 0;
          public void crossRiver(Town destination, Person ship){
          destination.addPerson(ship);
  • 허아영/Cpp연습 . . . . 10 matches
          cout<<"float = "<<sizeof(float)<<"byte"<<endl;
         float = 4byte
         double avg(int *subject_data);
          int subject_data[3];
          cin >> subject_data[i];
          true_val = err(subject_data[i]);
          cout << "평균 : " << avg(subject_data) << endl;
         double avg(int *subject_data)
          result_avg += (double)subject_data[i];
  • 05학번만의C++Study/숙제제출1/허아영 . . . . 9 matches
         float calculation(float celsius);
          float celsius, fahrenheit;
          fahrenheit = calculation(celsius);
         float calculation(float celsius)
          float fahrenheit = 0;
  • 2011국제퍼실리테이터연합컨퍼런스공유회 . . . . 9 matches
          * IAF는 International Association of Facilitator의 약자.
          * 주요 Mission은 Facilitator양성 및 활동 서포트, 가치알림, 홍보, 넷트웍 형성
          - Organizational Persona : 20분
          - Creative Expert : 10분
          - Ultimate Challenge Advanced : 20분
          * 퍼실리테이터(facilitator)는 회의 또는 워크숍과 같이 여러 사람이 일정한 목적를 가지고 함께 일을 할 때 효과적으로 그 목적을 달성하도록 일의 과정을 설계하고 참여를 유도하여 질 높은 결과물 만들어내도록 도움을 주는 사람을 말한다.
         퍼실리테이션이 잘 이루어지려면 잘 훈련된 퍼실리테이터(facilitator)가 있어야 한다. 훌륭한 퍼실리테이터는 보통 다음과 같은 일을 한다.
  • AustralianVoting/문보창 . . . . 9 matches
         Presentation Error를 잡아야 한다. 수행시간과 메모리사용량 또한 만족할 만한 수준이 아니다.
          int nCandidate;
          char candidate[20][81];
          cin >> nCandidate;
          for (j=0; j<nCandidate; j++)
          cin.getline(candidate[j], 81, '\n');
          for (j=0; j<nCandidate; j++)
          elect(candidate, nCandidate, ballot, nBallot, winner);
  • C++/SmartPointer . . . . 9 matches
         template<class _Ty>
          SmartPtr<_Ty>& operator=(const SmartPtr<_Ty>& _Y) throw ()
          _Ty& operator*() const throw ()
          _Ty *operator->() const throw ()
          bool operator !()
          template<class _OTy>
          operator SmartPtr<_OTy>()
         private:
         private:
  • CategoryCategory . . . . 9 matches
         위키위키에서 분류를 지정하는데 Category를 보통 사용합니다. 위키위키의 분류는 [역링크]를 통해서 구현됩니다.
         또한 각각의 분류는 그 분류의 최상위 분류인 Category''''''Category를 가리키는 링크를 가지게 함으로서, 모든 분류페이지를 최종 역링크를 Category''''''Category가 되게 할 수도 있습니다.
         [[PageList(^Category.*)]]
         OriginalWiki와 일관적으로 만드려면 모든 분류는 "Category"로 시작하도록 지정해야 합니다. 물론 다른 방식으로 이름을 붙여도 문제되지 않습니다.
         For more information, see Wiki:AboutCategoriesAndTopics .
  • CivaProject . . . . 9 matches
         template<typename ElementType> class Array;
         //template<typename ElementType> typedef shared_ptr< Array<ElementType> > Array_Handle;
         template<typename ElementType>
          private:
          ElementType operator[] (int index) throw() {
          const ElementType operator[] (int index) const throw() {
          virtual char charAt(int index) = NULL;
          throw ;//new IllegalArgumentException("timeout value is negative");
          private:
          /** The offset is the first index of the storage that is used. */
         WIPI 에서 ATOC 를 지금 네가 하는것처럼 수행한다더구만 --;; .. --["neocoin"]
  • CodeConvention . . . . 9 matches
          * [http://java.sun.com/docs/codeconv/ Java Code Convention] : ["Java"] Platform
          * [http://www.freebsd.org/cgi/man.cgi?query=style&apropos=0&sektion=0&manpath=FreeBSD+5.0-current&format=html FreeBSD]
          * [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvsgen/html/hunganotat.asp Hungarian Notation] : MFC, VisualBasic
          * [http://network.hanbitbook.co.kr/view_news.htm?serial=161 CTS(Common Type System)와 CLS(Common Language Specification)]
          * http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvsgen/html/hunganotat.asp
          * http://ootips.org/hungarian-notation.html
          * 각 언어마다, Code Convention or Style, Notation, Naming 제각각이지만 일단은 Convention으로 해두었음 --["neocoin"]
  • ContestScoreBoard/허아영 . . . . 9 matches
          int team_data[MAX_OF_TEAM_NUM+1][MAX_OF_Q+1]; // 0번째 배열은 시간 벌점 다음부터는
          team_data[i][0] = 0;
          team_data[i][j] = -1;
          team_data[temp_team_num][0] += temp_time;
          team_data[temp_team_num][q_index[temp_team_num]] = q_num; // 문제번호 넣기
          team_data[temp_team_num][0] += 20;
          team_data[temp_team_num][q_index[temp_team_num]] = q_num;
          if(team_data[i][0] != 0)
          cout << "team time : " << team_data[i][0] << endl;
  • CubicSpline/1002/LuDecomposition.py . . . . 9 matches
         #format python
          self.l = self.makeEmptySquareMatrix(self.n)
          self.u = self.makeEmptySquareMatrix(self.n)
          def makeEmptySquareMatrix(self, n):
          matrix = []
          matrix.append(row)
          return matrix
          self.u[aRow][eachCol] = float(self.array[aRow][eachCol] - self._minusForWriteU(eachCol, aRow)) / float(self.l[aRow][aRow])
  • DateMacro . . . . 9 matches
         use `@DATE``@` or `@TIME``@` or `@SIG``@` to timestamp current date
         {{{[[Date(2006-03-04T15:14:25)]]}}} {{{[[DateTime(2006-03-04T15:14:25)]]}}}
         [[Date(2006-03-04T15:13:53)]] [[DateTime(2006-03-04T15:13:53)]]
         [[DateTime(2002-11-12T17:44:10)]]
         [[Date(2002-11-12T17:44:10)]]
         [[Date(2003-05-26T20:12:10)]]
         [[DateTime(2003-05-26T20:12:10)]]
  • DevelopmentinWindows/APIExample . . . . 9 matches
         ATOM MyRegisterClass(HINSTANCE hInstance);
          TranslateMessage(&msg);
          DispatchMessage(&msg);
         ATOM MyRegisterClass(HINSTANCE hInstance)
          hWnd = CreateWindow(szWindowClass, "API", WS_OVERLAPPEDWINDOW,
          UpdateWindow(hWnd);
         //Microsoft Developer Studio generated resource script.
         // Generated from the TEXTINCLUDE 2 resource.
          MENUITEM SEPARATOR
          LTEXT "API Windows Applicationnfor Development in Windows Seminar",
          IDC_STATIC,16,14,149,17
         // Generated from the TEXTINCLUDE 3 resource.
         // Microsoft Developer Studio generated include file.
  • EightQueenProblemDiscussion . . . . 9 matches
          self.assertEquals (self.bd.GetData (2,2), 0)
          self.assertEquals (self.bd.GetData (2,2) ,1)
          def testIsAttackableOthers (self):
          self.assertEquals (self.bd.IsAttackableOthers (3,3),1)
          self.assertEquals (self.bd.IsAttackableOthers (7,1),0)
          self.assertEquals (self.bd.IsAttackableOthers (4,4),1)
          def testGetUnAttackablePositon (self):
          self.assertEquals (self.bd.GetUnAttackablePosition (1), ((2,1),(3,1),(4,1),(5,1),(6,1),(7,1)))
          self.assertEquals (self.bd.GetUnAttackablePosition (2), ((1,2),(3,2),(4,2),(5,2),(6,2),(7,2)))
         자신에게 항상 "What is the simplest thing that could possibly work?"라는 질문을 하면서 TestDrivenDevelopment를 했나요? 테스트/코드 사이클을 진행하면서 스텝을 작게 하려고 노력했나요? 중간에 진척이 별로 없는 경우, 어떤 액션을 취했나요? 그 때 테스트 사이클의 스텝을 더 작게하려고 했나요? 만약 다시 같은 문제를 새로 푼다면 어떤 순서로 테스트를 하고 싶나요? (직접 다시 한번 새로 시작하는 것도 강력 추천) 왜 다른 사람들에 비해 시간이 상대적으로 많이 걸렸을까요? 테스트 코드를 사용한 것이 그 시간만큼의 이득이 있었나요? TestDrivenDevelopment를 해내가면서 현재 패스하려고 하는 테스트 케이스에서 무엇을 배웠나요? 켄트벡이 말하는 것처럼 사고의 도구가 되어 주었나요? 참고로 저는 EightQueenProblem을 파이썬으로 약 30분 정도 시간에 50 라인 이내로(테스트 코드 제외) 풀었습니다. TestDrivenDevelopment로요. --김창준
          PositionList = self.GetUnAttackablePosition (Level)
          self.SetData (position[0],position[1], 0)
         When the program is run, one has to give a number n (smaller than 32), and the program will return in how many ways n Queens can be put on a n by n board in such a way that they cannot beat each other.
         Note that the d=(e-=d)&-e; statement can be compiled wrong on certain compilers. The inner assignment should be executed first. Otherwise replace it with e-=d,d=e&-e;.
  • HowManyPiecesOfLand?/문보창 . . . . 9 matches
          friend void elminatePreZero(BigInteger& n)
          friend BigInteger operator+(BigInteger a, BigInteger b)
          elminatePreZero(ret);
          friend BigInteger operator-(BigInteger a, BigInteger b)
          elminatePreZero(ret);
          friend BigInteger operator*(BigInteger a, BigInteger b)
          elminatePreZero(ret);
          friend BigInteger operator/(BigInteger a, BigInteger b)
          elminatePreZero(ret);
  • JTDStudy/첫번째과제/장길 . . . . 9 matches
          public int creatBall() {
          return (int) (Math.random()*1000);
          private int strike=0;
          private int ball= 0;
          private boolean win= true;
          public static void main(String[] args) {
          dealer.setBall(dealer.creatBall());
          assertTrue(0 <= dealer.creatBall() && dealer.creatBall() < 1001);
  • JavaStudy2002/입출력관련문제 . . . . 9 matches
          * 여러분이 어려워하시는것 같아, 입력 부분을 만들었습니다. 해당 static method의 기능은 한줄을 읽고, 공백이나, 탭을 기준으로 배열을 반환합니다. 사용 방법은 해당 함수의 main 을 참고하시고, 다른 소스에서 import해서 그냥 사용하세요. --["neocoin"]
          public static String[] getSplitedStringArray(String input, String delim) {
          static String[] getInputLineData(){
          } catch (IOException e) {
          public static void main(String[] args){
          String[] input = StandardInput.getInputLineData();
          String inputData = "123 4 62 45";
          input = StandardInput.getSplitedStringArray(inputData, " ");
  • JollyJumpers/Leonardong . . . . 9 matches
          def statementForSeries( self, aSeries ):
          print JollyJumper().statementForSeries( seriesInt )
          run = staticmethod(run)
          self.jj.statementForSeries( aSeries = [2,6,7] ) )
          self.jj.statementForSeries( aSeries = [2,1,3] ) )
          self.assertEquals("Jolly", self.jj.statementForSeries( series ) )
          self.assertEquals("Jolly", self.jj.statementForSeries( series ) )
          self.assertEquals("Not Jolly", self.jj.statementForSeries( series ) )
         처음에 리스트에 차를 집어넣은 후 정렬하려 했다가 집합 개념이 떠올라 그 쪽으로 해결했다. statementForSeries메서드 부분에 있던 CheckJolly메서드를 따로 테스트하면서 ExtractMethod를 하게 되었고, 차가 음수인 경우도 테스트를 통해 알게되었다. 보폭이 아직 좁지만 술술 진행한 문제이다.
  • MobileJavaStudy/NineNine . . . . 9 matches
          private Display display;
          private List list;
          private Form form;
          private Command backCommand = new Command("Back",Command.BACK,1);
          private Command nextCommand = new Command("Next",Command.SCREEN,1);
          private Command exitCommand = new Command("Exit",Command.EXIT,1);
          private String[] dan;
          private String str;
          public void startApp() throws MIDletStateChangeException {
  • MoreEffectiveC++/C++이 어렵다? . . . . 9 matches
          === RTTI (Real Time Type Information) ===
          ==== Double-Dispatch (Multi-Dispatch) ====
          === Capsulization - private, public, protected ===
          * 다른 언어 : Java는 공통의 플랫폼 차원([http://java.sun.com/j2se/1.3/docs/guide/serialization/ Serialization]), C#은 .NET Specification에서 명시된 attribute 이용, 직렬화 인자 구분, 역시 플랫폼에서 지원
  • MoreMFC . . . . 9 matches
         hwnd = CreateWindow (_T("MyWndClass"), "SDK Application",
         UpdateWindow (hWnd);
          TranslateMessage (&msg);
          DispatchMessage (&msg);
          m_pMainWnd->UpdateWindow ();
          Create (NULL, _T ("The Hello Application"));
         떡하니 source를 보면 어떻게 돌아가는 거야.. --; 라는 생각이 든다.. 나도 잘모른다. 그런데 가장 중요한것은 global영역에 myApp라는 변수가 선언되어 있다는 사실이다. myApp 라는 instance가 이 프로그램의 instance이다. --a (최초의 프로그램으로 인스턴스화..) 그리고, CWinApp를 상속한 CMyApp에 있는 유일한 함수 initInstance 에서 실제 window를 만들어준다.(InitInstance함수는 응용 프로그램이 처음 생길 때, 곡 window가 생성되기전, 응용 프로그램이 시작한 바로 다음에 호출된다) 이 부분에서 CMainWindow의 instance를 만들어 멤버 변수인 m_pMainWnd로 pointing한다. 이제 window는 생성 되었다. 그렇지만, 기억해야 할 것이 아직 window는 보이지 않는다는 사실이다. 그래서, CMainWindow의 pointer(m_pMainWindow)를 통해서 ShowWindow와 UpdateWindow를 호출해 준다. 그리고 TRUE를 return 함으로써 다음 작업으로 진행 할 수 있게 해준다.... 흘. 영서라 뭔소린지 하나도 모르겠네~ 캬캬.. ''' to be continue..'''[[BR]]
  • OpenCamp/첫번째 . . . . 9 matches
          * [http://zeropage.org/files/attach/images/78/100/063/ea4662569412056b403e315cf06de33a.png http://zeropage.org/files/attach/images/78/100/063/ea4662569412056b403e315cf06de33a.png]
          * [https://trello-attachments.s3.amazonaws.com/504f7c6ae6f809262cf15522/5050dc29719d8029024cca6f/f04b35485152d4ac19e1392e2af55d89/forConference.html 다운로드]
         - MySQL Create Database -----
         CREATE DATABASE ZPOC;
         CREATE TABLE member (
         id varchar(30), password varchar(50), name varchar(10), email varchar(50), date varchar(30)
         ) CHARACTER SET utf8 COLLATE utf8_general_ci;
         - MySQL Create Database END -----
          * 데블스 때도 그랬지만 남들 앞에서 발표를 한다는 건 상당히 떨리는 일이네요. 개인적으로는 이번 발표를 준비하면서 방학 동안 배웠던 부분에 대해서 다시 돌아보는 기회가 되었습니다. 그리고 그 외에도 방학 동안에 다루지 않았던 native app을 만드는 것이나 분석용 툴을 사용하는 법, Node.js, php 등 다양한 주제를 볼 수 있어서 좋았습니다. 물론 이번 Open Camp에서 다룬 부분은 실제 바로 사용하기에는 약간 부족함이 있을 수도 있겠지만 이런 분야나 기술이 있다는 것에 대한 길잡이 역할이 되어서 그쪽으로 공부를 하는 기회가 될 수 있으면 좋겠습니다. - [서민관]
  • OperatingSystem . . . . 9 matches
         [[include(틀:OperatingSystems)]]
         == What is OS(OperatingSystem)? ==
         In computing, an operating system (OS) is the system software responsible for the direct control and management of hardware and basic system operations. Additionally, it provides a foundation upon which to run application software such as word processing programs and web browsers.
         일종의, [[SeparationOfConcerns]]라고 볼 수 있다. 사용자는 OperatingSystem (조금 더 엄밀히 이야기하자면, [[Kernel]]) 이 어떻게 memory 와 I/O를 관리하는지에 대해서 신경쓸 필요가 없다. (프로그래머라면 이야기가 조금 다를 수도 있겠지만 :) )
  • OurMajorLangIsCAndCPlusPlus/Function . . . . 9 matches
         === static 함수 ===
         static int func(int a, int b)
         float abs(float v)
         template<typename T>
         template<typename T>
         template<class T> void print(T a)
         template<> void print<const char *>(const char *a)
         template<> void print<int>(int a)
  • ProgrammingLanguageClass/2006/EndTermExamination . . . . 9 matches
         e) Ada 에서 for loop 를 이용한 iteration 소스. 루프 종료후 condition variable 처리에 대한 문제 출제.
         3. operator 우선순위에 의거한 functional side effects문제
         b) 다음의 소스의 결과 SUM의 값을 적으시오. (evaluation order is left-to-right)
         // 시험 끝난 결과 연산자 우선 순위상 ()의 평가가 먼저인지 function evaluation 이 먼저인지 때문에 헷갈려 했음
         // C 에서 돌려본 결과 function evaluation 이 먼저되며, 이는 조건상 left-to-right 로 연관지어서 답을 적을 수 있을듯함.
         a) 비지역 변수의 참조에 Static-Chain 기법에 대한 설명을 할 것
         b) 언어 개발자들이 Static-Chain 에 비해서 display 기법을 채택하게 되는 이유를 제시하시오.
          * upto terminate 해석에 따라서 답이 달라짐 종료 직전 -> 답은 True, 종료 시점을 의미한다면 답은 False
         up to ... (1) <어느 위치·정도·시점이> …까지(에), …에 이르기까지;<지위 등이> …에 이르러:up to this time[now] 지금껏, 지금[이 시간]까지는/I am up to the ninth lesson. 나는 제 9과까지 나가고 있다./He counted from one up to thirty. 그는 1에서 30까지 세었다./He worked his way up to company president. 그는 그 회사의 사장으로까지 출세했다. (2) [대개 부정문·의문문에서] 《구어》 <일 등>을 감당하여, …을 할 수 있고[할 수 있을 정도로 뛰어나]:You’re not up to the job. 너는 그 일을 감당하지 못한다./This novel isn’t up to his best. 이 소설은 그의 최고작에는 미치지 못한다./This camera is not up to much. 《구어》 이 카메라는 별로 대단한 것은 아니다./Do you feel up to going out today? 오늘은 외출할 수 있을 것 같습니까? 《병자에게 묻는 말》 (3) 《구어》 <나쁜 짓>에 손을 대고;…을 꾀하고:He is up to something[no good]. 그는 어떤[좋지 않은] 일을 꾀하고 있다./What are they up to? 그들은 무슨 짓을 하려는 것인가? (4) 《구어》 <사람이> 해야 할, …나름인, …의 의무인:It’s up to him to support his mother. 그야말로 어머니를 부양해야 한다./I’ll leave it up to you. 그것을 네게 맡기마./It’s up to you whether to go or not. 가고 안가고는 네 맘에 달려 있다./The final choice is up to you. 마지막 선택은 네 손에 달려 있다.
  • ProjectPrometheus/LibraryCgiAnalysis . . . . 9 matches
          * Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.1_01; Windows 2000 5.0 x86; java.vendor=Sun Microsystems Inc.)
         params={'LIBRCODE': 'ATSL',
          #'operator1': '&',
         headers = {"Content-Type":"application/x-www-form-urlencoded",
          "Referer":"http://165.194.100.2/cgi-bin/mcu100?LIBRCODE=ATSL&USERID=*&SYSDB=R",
          "Accept":"image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, */*"}
          print response.status, response.reason
          data = response.read()
          return data
         http://165.194.100.2/cgi-bin/mcu201?LIBRCODE=ATSL&USERID=abracadabra&SYSDB=R&HISNO=0010&SEQNO=21&MAXDISP=10
         &pAtdb=SLDB
  • ProjectZephyrus/Afterwords . . . . 9 matches
          * Server Program의 Design Evaluation 을 못하는데에 대한 스트레스 - 현재 나의 디자인이 올바른 디자인인지 평가받지 못하여서 불안하다.
          - 초기 모임시에 Spec 을 최소화했고, 중간에 Task 관리가 잘 이루어졌다. 그리고 Time Estimate 가 이루어졌다. (["ProjectZephyrus/Client"]) 주어진 자원 (인력, 시간)에 대해 Scope 의 조절이 비교적 잘 되었다.
          - 초기 Up Front Design 에 신경을 썼다. Design Pattern 의 도입으로 OCP (OpenClosedPrinciple) 가 잘 지켜졌다.
          - 개인들 별로 IDE 의 선호가 달랐다. (["Eclipse"], ["IntelliJ"], ["JCreator"] )
          - 처음부터 고려하여 각 IDE별 Setting 화일을 업데이트 시켜주기. Batch File 등으로 자동화하기. IDE 의 통일 고려.
          - ["1002"] 의 성실성 부족. JavaDoc 의 시선분산 문제. 잦은 디자인 수정에 따른 잦은 Documentation 수정문제. 서버팀과의 대화 부족.
          * Server Program의 Design Evaluation 을 못하는데에 대한 스트레스
          - Design Evaluation 의 방법을 몰랐다.
          - Design Evaluation 을 꼭 해야 한다는 강박관념이 있다.
  • PyIde/SketchBook . . . . 9 matches
          * 몇몇 생각 - 소스코드에 대해 flat text 관점으로 보지 못하도록 강요한다면, 구조적으로만 볼 수 있게끔 강요한다면 어떤 일이 일어날까. 어떠한 장점이 생기고 어떠한 단점이 생길까.
          ''스몰토크 비슷한 환경이 되지 않을까. 소스 코드의 구조적 뷰로는 LEO라는 훌륭한 도구가 있다. 크누스교수의 Literate Programming을 가능케 해주지. 나는 SignatureSurvey를 지원해 주면 어떨까 한다. --JuNe''
          ''계속 생각했던것이 '코드를 일반 Editor 의 문서로 보는 관점은 구조적이지 못하고 이는 필요없는 정보를 시야에 더 들어오게끔 강요한다. 그래서 구조적으로 볼 수 있도록 해야 한다.' 였는데, SignatureSurvey를 생각하면 정말 발상의 전환같다는 생각이 든다는. (코드를 Flat Text 문서를 보는 관점에서 특정정보를 삭제함으로서 새로운 정보를 얻어낸다는 점에서.) --[1002]''
         Python 으로 HTML Code Generator 를 작성하던중. 좀 무식한 방법으로 진행했는데, 원하는 HTML 을 expected 에 고스란히 박아놓은 것이다. 이는 결과적으로 test code 를 네비게이팅 하기 어렵게 만들었고, 해당 Generating 되는 HTML 의 추상도도 상당히 낮게 된다. 한화면에 보여야 할 HTML 데이터도 많아야 한다. 이는 결국 내가 에디터 창을 최대로 놓게 만들더니, 더 나아가 에디터 창의 폰트 사이즈을 11에서 8정도로 줄이고 모니터를 앞당겨 보게끔 만들었다. (15인치 LCD 모니터여서 해상도가 최대 1024*768 임.) 해당 상황에 대해 사람이 맞추는 것이 좋을까, 또는 툴의 Viewing 이 도움을 줄 방법이 있을까, 또는 사람이 이를 문제상황으로 인식하고 프로그램 디자인을 바꾸게끔 하는것이 좋을까.
         Wiki:FitNesse 의 맨 앞 문구 'Beyond Literate Programming' 이라는 말이 참 인상적으로 보인다.
         현재의 UML Case Tool들은 Beyond Literate Programming 일까?
  • RandomWalk/변준원 . . . . 9 matches
          int matrix[max][max];
          matrix[i][j]=0;
          matrix[x][y]=1;
          if(matrix[x][y]==0) //자리 확인
          matrix[x][y]=matrix[x][y]+1;
          matrix[x][y]=matrix[x][y]+1;
          cout << matrix[ga][se] << "\t";
  • Ruby/2011년스터디/세미나 . . . . 9 matches
          * [http://www.ruby-lang.org/ko/documentation/quickstart/ 루비 퀵가이드]
          * attr_reader/attr_writer
          @location = 'A'
          printLocation
          @location = 'B'
          printLocation
          def printLocation
          print @location
  • STLPort . . . . 9 matches
         표준 STL 규격에 맞춰 STLPort 회사가 만든 표준템플릿 STL(Standard Template Language) 오픈소스로써 SGI STL에 기반하고 있음.
          Upload:3-prebuild_includePath.GIF
          * LIB은 debug/(release), debug_static/(release)_static의 4개입니다.
         STLport는 상용이 아니기 때문에, 링크 시 사용하는 STLport 전용 C++ 런타임 라이브러리(입출력스트림이 있는) 직접 설정해 주어야 합니다. 이것을 제대로 이해하려면 우선 VC++가 사용하는 런타임 라이브러리를 알아 봐야 합니다. VC++6의 런타임 라이브러리는 VC98/lib 디렉토리에서 확인할 수 있는데, 정적/동적 링크여부에 따라 크게 {{{~cpp LIBxxx.lib}}} 버전과 {{{~cpp MSVCxxx.lib}}} 버전으로 나뉩니다. 프로젝트에서 조정하는 부분은 Project > Setting 메뉴로 열리는 C/C++ 탭입니다. C/C++ 탭에서 "Code Generation" 카테고리를 선택하면 '''Use Run-time Library''' 드롭다운 박스를 조정해 줄 수 있습니다. 여기서 디버그 정보 포함('''debug''') 유무, 런타임 라이브러리의 스레딩('''thread''') 모드, 동적 링크 여부('''DLL''')의 조합을 결정해 줄 수 있습니다. 긴 설명은 빼고, 간단히 정리하면 다음과 같습니다. (MSDN의 설명을 참고하여 정리하였습니다)
          || _STLP_USE_STATIC_LIB || <*><*threaded> || stlport_vc6_static.lib ||
          || _STLP_USE_STATICX_LIB || <*><*threaded><*>|| "DLL"이면 stlport_vc6.lib, 아니면 stlport_vc6_static.lib ||
         _STLP_USE_STATIC_LIB 상수를 정의한 후에 "Use Run-time Library" 설정을 <*><*threaded>으로 맞춘 뒤에도 {{{~cpp LNK2005}}} 에러와 {{{~cpp LNK4098}}} 경고가 동시에 나는 경우가 있습니다. 이런 에러가 나올 것입니다.
          <실행파일경로> : fatal error LNK1169: one or more multiply defined symbols found
         만약에 nmake가 실행되는 데 문제가 있거나 라이브러리 설치가 제대로 되어 있지 않다면, 비주얼 스튜디오에 관련된 환경 변수가 시스템에 제대로 등록되지 않은 이유가 대부분입니다. 그러므로, VCVARS32.BAT를 실행한 후에 다시 nmake install을 해 보세요.
         e:\microsoft visual studio\vc98\include\stlport\stl\_threads.h(122) : see declaration of
         // # define _STLP_NEW_PLATFORM_SDK 1
  • SignatureSurvey . . . . 9 matches
         Seminar:SignatureSurvey
         HTML Template 부분을 Generating 하는 부분을 하던중, 디자이너가 툴로 만든 HTML 코드를 분석해볼때 SigntureSurvey 의 방법을 적용해보면 어떤 일이 일어날까 의문이 들었다. 그래서 간단하게 실험해보고, 어떠한 View 를 얻을 수 있을까 구경해보다.
          def repl_tagEnd(self, aText):
          result = "." * (len(aText)-1) + ">"+ str(len(aText)-1) +"\n"
          def repl_tagChar(self, aText):
          def repl_normalString(self, aText):
          return aText
          def repl_tagStart(self, aText):
          return aText
          def repl_enter(self, aText):
          def repl_whiteSpace(self, aText):
          State('tag', [
          data = readFromFile("sig.html")
          surveyer = HtmlSigSurveyer(StringIO.StringIO(data))
         정확히 분석을 한 것은 아니지만. <> 태그 안으로 쓴 글자수가 같다면 화면상에서도 비슷한 것을 보이게 하기 위해 C & P 를 했을 확률이 높다. 그러면 그 부분에 대해서 looping 을 하는 식으로 묶으면 될것 같다. 종이로 찍어놓고 보면 반복되는 부분에 대해서 일반화된 패턴이 보인다는 것을 알 수 있다. 그 부분에 대해 적절히 1차적으로 검색을 하고, generating 할때의 단위들을 끄집어내면 되는 것이다.
         처음써봐서 완벽하게 확신이 들진 않지만, SignatureSurvey 를 사용하면 Duplication Code 를 찾는 방법으로 일반화를 시킬 수 있지 않을까 하는 상상을 해본다.
  • StandardWidgetToolkit . . . . 9 matches
         "[Eclipse]의 속도가 빠르다." 라는 선입견을 만들어준 장본인인 Cross Platform Native Graphic Toolkit 이다.
         [http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-swt-home/main.html SWT 프로젝트 페이지]
          The SWT component is designed to provide efficient, portable access to the user-interface facilities of the operating systems on which it is implemented.
          --''[http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-swt-home/main.html SWT 프로젝트 페이지]'' 에서
          * [http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-swt-home/dev.html SWT 2.1 문서] - Code Snippets 가 많아서, 따라하기 용이하다.
          * swt.jar 를 classpath 에 잡고 다음 소스를 컴파일 한다.
          public static void main(String[] args) {
          if (!display.readAndDispatch())
  • TCP/IP 네트워크 관리 / TCP/IP의 개요 . . . . 9 matches
          *1975 - ARPANET이 실험적 네트워크에서 실제로 운영되는 네트워크로 전환. 네트워크 관리 책임은 DCA(Defense Communication Agency)
          * 옛 ARPANET은 DDN(Defense Data Network)의 공개부분인 MILNET + 새롭게 축소된 ARPANET
          *1985 - NSF(National Science Foundation) -> '''NSFNET'''
          *ISO(International Standards Organization, 국제 표준기구)에 의해 개발된 구조적 모델 '''OSI'''(Open Systems Interconnect Reference Model)은 데이터 통신 프로토콜 구조와 기능 설명을 위해 자주 사용.
          *Application layer : 네트워크를 이용하는 응용 프로그램으로 구성
          *Presentation layer : 응용 프로그램에 데이터 표현을 표준화
          *Data link layer : 물리적 연결선을 이용해 안정적인 데이터 전송을 제공
  • TheTrip/황재선 . . . . 9 matches
          * Created on 2005. 1. 4
          * TODO To change the template for this generated file go to
          * Window - Preferences - Java - Code Style - Code Templates
          private double inputNum() {
          } catch (IOException e) {
          aNum = Math.ceil(aNum);
          private void printResult(ArrayList list) {
          static public void main(String [] args) {
  • TowerOfCubes/조현태 . . . . 9 matches
         const char* AddBox(const char* readData, vector<SMyBox*>& myBoxs)
          sscanf(readData, "%d %d %d %d %d %d", &front, &back, &left, &right, &top, &bottom);
          return strchr(readData, '\n') + 1;
          const char* readData = DEBUG_READ;
          sscanf(readData, "%d", &boxNumber);
          readData = strchr(readData, '\n') + 1;
          readData = AddBox(readData, myBoxs);
  • Velocity . . . . 9 matches
         Java 의 TemplateLibrary. FreeMarker 와 함께 현업에서 자바 웹 프로그래밍시에 많이 이용.
         import org.apache.velocity.Template;
          public static void main(String[] args) throws Exception {
          con.put("data1", "데이터 첫번째");
          Template tmpl = Velocity.getTemplate("./tmpl/simple.vm");
         simple.vm 화일 - template.
         $data1
         === StrutsAndVelocityIntegration ===
  • ViImproved/설명서 . . . . 9 matches
          텍스트 파일 응용 프로그램의 source data 또는 문서화된 파일(ASCII)
          d/pat 현재위치에서 순방향으로 탐색하면서 처음 만나는 팬턴(pat)이전까지
          d?pat 현재위치에서 역방향으로 탐색하면서 처음 만나는 팬턴(pat)까지
         edcmpatible noedcmpatible ed편집기의 기능사용
         lisp nolisp indentation을 lisp형식으로 삽입
         showmatch(sm) {,(등을 눌린 경우 매칭되는 },)을 찾아 1초 동안 출력하고 원위치로 돌아옴
  • WorldCupNoise/권순의 . . . . 9 matches
         === Presentation Error Version ===
          int getPatternNum = 0;
          cin >> getPatternNum;
          scenario[i] = getPatternNum;
          int getPatternNum = 0;
          cin >> getPatternNum;
          scenario[i] = getPatternNum;
          * 근데 Presentation Error가 나는데 -_-;; Terminate the output for the scenario with a blank line 이 부분을 내가 잘못 이해하고 있어서인거 같기도 하네염 -ㅅ-;; 에잇,, Visual Studio에서 돌리면 돌아는 갑니다. -ㅅ-
  • html5/drag-and-drop . . . . 9 matches
          * DataTransfer 객체를 이용하여 드래그 대상과 드롭 대상 사이에 임의의 데이터를 주고받는다.
          * DataTransfer 객체로부터 데이터를 꺼내어 적절하게 처리하는 부분이다.
          * 데이터를 꺼낼 때는 데이터 포맷 형식의 인수를 이용하여 getData()를 호출한다.
          * 이벤트 객체가 가진 stopPropagation() 메서드를 호출하여 막을 수 있다.
         || types ||setData()를 호출할 때 지정되는 포맷 문자열을 배열 형식으로 얻을 수 있다. ||
         || clearData(type) ||드래그 중인 데이터를 삭제한다. ||
         || setData(type, data) ||드래그 & 드롭할 데이터를 저장한다. ||
         || getData(type) ||포맷을 지정하여 데이터를 가져온다. ||
  • html5/geolocation . . . . 9 matches
         = Geolocation API? =
          * Geolocation API 관련 메서드는 모두 window.navigator 객체에 정의
          namigator.geolocation.getCurrentPosition(function(position){
          alert("위도:" + position.coords.latitude +
         ||latitude||위도||
         == watchPosition() ==
          * clearWatch()가 호출되면 종료
  • pragma . . . . 9 matches
         Each implementation of C and C++ supports some features unique to its host machine or operating system. Some programs, for instance, need to exercise precise control over the memory areas where data is placed or to control the way certain functions receive parameters. The #pragma directives offer a way for each compiler to offer machine- and operating-system-specific features while retaining overall compatibility with the C and C++ languages. Pragmas are machine- or operating-system-specific by definition, and are usually different for every compiler.
         [snowflower]는 Accelerated C++ 에 있는 map예제를 Visual C++에서 치면서 엄청난 양의 경고를 경험했다. 이것을 어떻게 할 수 있을까 자료를 찾던 중 다음과 같은 방법을 찾았다.
  • 데블스캠프2009/월요일/연습문제/HTML-CSS/정종록 . . . . 9 matches
         body {background-image:url('http://wstatic.dcinside.com/new/photo/sosimarine.jpg')}
         text-decoration:none;
         //background:url("http://wstatic.dcinside.com/new/photo/sosimarine.jpg");
         body {background-image:url('http://wstatic.dcinside.com/new/photo/sosimarine.jpg');
         float:left;
         float:left;
         float:left;
         float:left;
         float:left;
  • 데블스캠프2010/다섯째날/ObjectCraft/미션2/변형진 . . . . 9 matches
          int attP;
         void init_unit_stats() {
          zerglings[0].attP = zerglings[1].attP = 5;
          return z1.attP - z2.defP;
         void attack(zergling z1, zergling & z2) {
          init_unit_stats();
          attack(zerglings[0], zerglings[1]);
          attack(zerglings[1], zerglings[0]);
  • 데블스캠프2011/둘째날/Machine-Learning/NaiveBayesClassifier/namsangboy . . . . 9 matches
         import re, sys, math
          path1 = "/home/newmoni/workspace/svm/package/train/economy/index.economy.db"
          path2 = "/home/newmoni/workspace/svm/package/train/politics/index.politics.db"
          totalct = float(totalct)
          prob1 = math.log((classfreqdic["economy"]/totalct)/(classfreqdic["politics"]/totalct))
          classprob1 = float(classfreqdic["economy"]/totalct)
          classprob2 = float(classfreqdic["politics"]/totalct)
          totalprob+= math.log((classfreq1/classprob1)/(classfreq2/classprob2))
          print correctct,totalct, correctct/float(totalct)
  • 레밍즈프로젝트/그리기DC . . . . 9 matches
         private:
          float m_Valign;
          float m_Halign;
          m_pMemDC->CreateCompatibleDC(m_pDC);
          m_bmp.CreateCompatibleBitmap(m_pDC, m_rt.Width(), m_rt.Height());
          BitMapDC.CreateCompatibleDC(m_pMemDC);
  • 새싹교실/2011/Pixar/실습 . . . . 9 matches
         Write a program that reads a four digit integer and prints the sum of its digits as an output.
          * Simple Implementation
         #include <math.h>
          * Basic Implementation
          * Advanced Implementation
         #include <math.h>
         Write a program that gets a starting principal(A, 원금), annual interest rate(r, 연이율) from a keyboard (standard input) and print the total amount on deposit (예치기간이 지난 뒤 총금액, 원리합계) for the year(n) from 0 to 10. total deposit = A*(1+r)^n
         http://zeropage.org/files/attach/images/5722/160/042/hanoi_r5.jpg
  • 새싹교실/2012/AClass/1회차 . . . . 9 matches
          변수형 (변수의 데이터 타입을 선언해 준다.int, float)
          printf(“relationships they satisfy: ”);
          printf(“%d is greater than %d\n”, num1, num2);
         float addfun (para11,para2) // float 데이터형으로 정의된 함수 addfun 선언
         float para1,para2; // 데이터형 선언
          float a; // 함수 내부의 지역 변수 a 선언
         - int a; (int형 변수 a 선언), float b(실수형 변수 b 선언)
  • 새싹교실/2012/아우토반/앞반/4.12 . . . . 9 matches
         #include<math.h>
         int sundaeattack;
         int user_attack_type;
          sundaeattack = rand()%101+50;
          Player - sundaeattack;
          printf("Player는 %d의 데미지를 입었습니다.\n",sundaeattack);
          scanf("%c",&user_attack_type);
          if(user_attack_type == 'p'){
          if(user_attack_type == 'k'){
  • 서민관 . . . . 9 matches
         ||데이터 마이닝 - 연관 규칙 분류기(Associative Rule based Classifier) : CPAR||
         Map *createMap();
         // Commented for private using in Map.
         // To watch details, watch Map.cpp
         KeyValuePair *createPair(char *key, int value) {
          addPair(&head, createPair(key, value));
         Map *createMap() {
          Map *map = createMap();
  • 손동일 . . . . 9 matches
          엠에센 ajagaja82 at hotmail dot com
         DuplicatedPage
         void shortpath(int Vertex[Max][Max],int between[Max], int n, int check[Max]);
          shortpath(Vertex,between,n,check);
         void shortpath(int Vertex[Max][Max],int between[Max], int n, int check[Max])
          char path[MAX];
          path[z++] = char(choice->name);
          path[z] = char(choice->name);
          cout << path[i] << " ";
  • 오목/휘동, 희경 . . . . 9 matches
         protected: // create from serialization only
          DECLARE_DYNCREATE(CGrimView)
         // Attributes
         // Operations
          // ClassWizard generated virtual function overrides
          virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
         // Implementation
         // Generated message map functions
         //{{AFX_INSERT_LOCATION}}
         // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  • 인수/Smalltalk . . . . 9 matches
         from: aFrom to: aTo
          [a <= aTo] whileTrue: [
          numsOfWalked atAllPut:0.
          numOfWalked _ numsOfWalked at: aRow at: aCol.
          numsOfWalked at: aRow at:aCol put: numOfWalked + 1.
         RWBoard>>setValidLocation: num
          newValue := num + 3 atRandom - 2.
          curRow := aBoard setValidLocation: curRow.
          curCol := aBoard setValidLocation: curCol.
  • 제12회 한국자바개발자 컨퍼런스 후기 . . . . 9 matches
         || 09:30 ~ 10:20 |||||||||||||| Registration ||
         || 13:00 ~ 13:50 || 비지니스 전문가를 위한 PaaS 플랫폼 구축 전략 (장진영) || PLAY! GAE! (정원치) || 아키텍트가 알아야할 12/97가지 (손영수) || 빅데이터 플랫폼 기반 소셜네트워크 분석 사례 (김형준) || 지속적인 개발, 빌드, 배포 (박재성) || Apache Hadoop으로 구현하는 Big Data 기술 완벽 해부 (JBross User Group) || 클라우드 서버를 활용한 서비스 개발 실습 (허광남) ||
         || 14:00 ~ 14:50 || KT Cloud 기반 애플리케이션 개발 전략 (정문조) || Event Driven Architecture (이미남) || 성공하는 개발자를 위한 아키텍처 요구사항 분석 방법 (강승준) || JBoss RHQ와 Byteman을 이용한 오픈소스 자바 애플리케이션 모니터링 (원종석) || Java와 Eclipse로 개발하는 클라우드, Windows Azure (김명신) || Apache Hadoop으로 구현하는 Big Data 기술 완벽 해부 (JBross User Group) || 클라우드 서버를 활용한 서비스 개발 실습 (허광남) ||
         || 15:00 ~ 15:50 || 스타트업을위한 Rapid Development (양수열) || 하둡 기반의 규모 확장성있는 트래픽 분석도구 (이연희) || 초보자를 위한 분산 캐시 활용 전략 (강대명) || Venture Capital & Start-up Investment (이종훈-벤처캐피탈협회) || How to deal with eXtream Applications? (최홍식) || SW 융합의 메카 인천에서 놀자! || 섹시한 개발자 되기 2.0 beta (자바카페 커뮤니티) ||
          세 번째로 들은 것이 Track 5의 How to deal with eXtream Application이었는데.. 뭔가 하고 들었는데 들으면서 왠지 컴구 시간에 배운 것이 연상이 되었던 시간이었다. 다만 컴구 시간에 배운 것은 컴퓨터 내부에서 CPU에서 필요한 데이터를 빠르게 가져오는 것이었다면 이것은 서버에서 데이터를 어떻게 저장하고 어떻게 가져오는 것이 안전하고 빠른가에 대하여 이야기 하는 시간이었다.
          마지막으로 Track 4에서 한 반복적인 작업이 싫은 안드로이드 개발자에게라는 것을 들었는데, 안드로이드 프로그래밍이라는 책의 저자인 사람이 안드로이드 개발에 관한 팁이라고 생각하면 될 만한 이야기를 빠르게 진행하였다. UI 매핑이라던지 파라미터 처리라던지 이러한 부분을 RoboGuice나 AndroidAnnotations를 이용해 해결할 수 있는 것을 설명과 동영상으로 잘 설명했다. 준비를 엄청나게 한 모습이 보였다. 이 부분에 대해서는 이 분 블로그인 [http://blog.softwaregeeks.org/ 클릭!] <-여기서 확인해 보시길...
          * 마지막에 들은 <반복적인 작업이 싫은 안드로이드 개발자에게> 트랙이 가장 실용적이었다. 안드로이드 앱 만들면서 View 불러오는 것과 Listener 만드는 부분 코드가 너무 더러워서 짜증났는데 Annotation으로 대체할 수 있다는 것을 알았다. Annotation을 직접 만들어도 되고, '''RoboGuice'''나 '''AndroidAnnotation''' 같은 오픈 소스를 이용할 수도 있고.
  • 졸업논문/요약본 . . . . 9 matches
         Web environment has became a standalone platform. Object-oriented languages, such as python, are suitable for web. Django is a web application framework written by python, and helps web developers writting web application more agile by abstracting database. Django provides high level abstraction on database, higher than CLI which uses ODBC. Django, for instance, creates database tables when developer writes classes in python, and modifies tables when developer modifies classes in python. In addition, django helps developers using database on host-language(python) level by abstracting insertion, deletion, update, retrieving of recodes to class method. Therefore, web developers make programs more agile.
  • 큐와 스택/문원명 . . . . 9 matches
          int tail = 0, status = 3;
          if(status == 4) //큐
          status = 3;
          status = 4;
          { // state okay, extract characters
          int tail = 0, status = 3;
          if(status == 4) //큐
          status = 3;
          status = 4;
  • 1thPCinCAUCSE/ExtremePair전략 . . . . 8 matches
         int numOfData;
         inputData[10];
         outputData[10];
          cin >> numOfData;
          for(int i=0;i<numOfData;i++)
          for(int i=0;i<numOfData;i++)
          for(int i=0;i<numOfData;i++)
          cout << outputData[i] << endl;
  • 5인용C++스터디/멀티미디어 . . . . 8 matches
          PlaySound("Battle.wav", NULL, SND_SYNC);
         그 후 컴파일하고 실행한 후 작업영역을 왼쪽 마우스 버튼으로 누르면 소리가 날 것이다. 시스템에 사운드카드가 장착되어 있어야 하며 같은 디렉토리에 Battle.wav라는 파일이 있어야 할 것이다.
          PlaySound("Battle.wav", NULL, SND_ASYNC | SND_LOOP);
          앞에서 만든 예제를 수정해서 Battle.wav 파일을 실행파일에 합쳐보자.
          이렇게 하면 실행파일 속에 wav파일이 포함되어 Battle.wav파일이 없어도 연주할수 있게 된다.
          hWndAVI=MCIWndCreate(this->m_hWnd, AfxGetInstanceHandle(), 0, "cf3.avi");
         MCIWnd 윈도우는 마우스 왼쪽 버튼을 눌르면 만들어진다. 그 전에 hWndAVI가 유효하면 먼저 MCIWnd를 닫는 작업부터 해주고 있다. MCIWnd를 만드는 함수는 MCIWndCreate 함수이다.
         HWND MCIWndCreate(HWND hwndParent, HINSTANCE hinstance, DWORD dwStyle, LPSTR szFile);
  • 5인용C++스터디/타이머보충 . . . . 8 matches
         #include <afxdisp.h> // MFC Automation classes
         //{{AFX_INSERT_LOCATION}}
         // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
         int CMMTimerView::OnCreate(LPCREATESTRUCT lpCreateStruct)
          if (CView::OnCreate(lpCreateStruct) == -1)
         // Generated message map functions
  • ALittleAiSeminar . . . . 8 matches
          * approach : state machine
         === Evaluator interface ===
         from evaluator import Evaluator
         class SimpleEvaluator(Evaluator):
          Evaluator.__init__(self,aBoardSize)
          def evaluate(self,board,stone):
  • Ant . . . . 8 matches
         Platform 독립적인 Java 의 프로그램 컴파일, 배포 도구 이다. 비슷한 역할로 Unix의 make 툴과 Windows에서 프로그램 Installer 를 생각할수 있다.
         게다가, 팀 단위 작업을 한다고 할때, 작업하는 컴퓨터와 [IDE] 들이 각각 다른 경우, IDE 에 따라서 classpath, 배포디렉토리 경로들도 다를 것이다.
          * PATH 환경변수에 Ant 아래에 bin 디렉토리를 추가합니다. 즉 C:\Ant\bin 을 추가합니다.
          set PATH=%PATH%;%ANT_HOME%\bin
          export PATH=${PATH}:${ANT_HOME}/bin
          실행 파일 ant는 Unix 계열에서는 shell 스크립트로 Windows 계열에서는 ant.bat 라는 배치파일로 배포됩니다. 내부에 보면 java 프로그램을 실행하는데, 다음과 같이 자신이 직접할 수도 있습니다.
          Ant 를 다룰줄 안다는 말은 즉, Build File 을 만들줄 안다는 의미와 같다. Build File 은 파일이름에서도 알 수 있듯이 xml 을 기반으로 하고 있다. 예제로 참조해볼만한 화일로 ["Ant/TaskOne"], ["Ant/BuildTemplateExample"] 이 있다. 해당 화일을 보면서 설명을 읽으면 편할것이다.
          || Attribute || Description || Required ||
          || basedir || 프로젝트의 base 디렉토리를 말한다. ant 내부에서 사용되는 모든 path 들은 이 디렉토리를 기반으로 한다. || No ||
          의존관계외에 target을 수행하기 위해서 조건을 걸어서 사용할 수 있다. 이는 "'if'"와 "'unless'" 라는 attribute 를 사용해서 할 수 있다. 형식은 다음과 같다.
          * Path-like 구조
          * ["Ant/BuildTemplateExample"]
  • BasicJAVA2005/실습2/허아영 . . . . 8 matches
          private JButton buttons[];
          private Container container;
          private GridLayout grid1;
          container.validate();
          public static void main(String[] args) {
          GridLayoutDemo application = new GridLayoutDemo();
          application.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
  • CPPStudy_2005_1 . . . . 8 matches
          * 책이 없는 분은 책을 사시고, [AcceleratedC++] 여기에 챕터 6까지 나와 있으니 책 올 동안은 우선 그것을 보고 공부 하세요.
          [http://www.acceleratedcpp.com/ Accelerated C++ Official Site] 각 커파일러의 버전에 맞는 소스코드를 구할 수 있습니다.
          [http://www.acceleratedcpp.com/details/msbugs.html VS6 코드 수정] 책에 나온 소스를 VS6에서 이용할 경우 발생하는 문제점에 관한 내용이 있습니다.
          [http://stlport.org/ STLPort] STLPort, [http://www.kwak101.pe.kr/wiki/wiki.php/STLport_VC%BC%B3%C4%A1 STLPort설치메뉴얼], [http://www.kwak101.pe.kr/kwak101/works/InternData/STLDecryptor_QuickGuide.html STL에러메시지 해독기 설치]
         || 8/1 || - || Chapter7까지 공부하기 || chapter 6,7 스터디|| [AcceleratedC++/Chapter6/Code] ||
         || 8/15 || - || Chapter10 || chpaper 10장 스터디 || STL과제->클래스화 and [CppStudy_2005_1/BasicBusSimulation] ||
          * [AcceleratedC++]
  • CSP . . . . 8 matches
         #Copyright 2003 June Kim <juneaftn at hanmail dot net>
         #Copyright 2003 June Kim <juneaftn at hanmail dot net>
         #Copyright 2003 June Kim <juneaftn at hanmail dot net>
          raise IOError, "missing netstring terminator"
          raise ValueError, "netstring format error: " + s
          raise IOError, "missing netstring terminator"
         #Copyright 2003 June Kim <juneaftn at hanmail dot net>
         #Copyright 2003 June Kim <juneaftn at hanmail dot net>
  • CeeThreadProgramming . . . . 8 matches
          printf( "Creating second thread...n" );
          // Create the second thread.
          // Wait until second thread terminates. If you comment out the line
          // terminated, and Counter most likely has not been incremented to
         /* Create independent threads each of which will execute function */
         iret1 = pthread_create( &thread1, NULL, print_message_function, (voi d*) message1);
         iret2 = pthread_create( &thread2, NULL, print_message_function, (voi d*) message2);
         /* wait we run the risk of executing an exit which will terminate */
  • DataCommunicationSummaryProject/Chapter9 . . . . 8 matches
          * cellular networks가 cell을 반경으로 하는데 비하여, Short-Range Wireless Networks는 아주 짧은 반경,Ultra Wide Banded 을 사용,고속이다.pbx처럼 pirvate networks이다.
          * IEEE 802.11b보다는 Wi-Fi 나 무선 이터넷이 우리에게 잘 알려져 있다. 물론 IEEE 802.11b를 기준으로 한다. Wireless Fidelity(통신에서 충실도의 뜻으로 많이 쓰인다. 예를 들어 " a high ~ receiver 고성능 라디오(cf. HI-FI) ") 의 약자이다. WECA(the Wireless Ethernet Compatiility Alliance)의 트레이드 마크이기도 하다.
          * AP 선택 : AssociatedRequest Frame 전송
          * AP는 AssociationResponse Frame 응답
          * piconet과 scatternet : piconet은 8개의 노드까지 지원하는 네트웍망. scatternet은 그보다 더 큰거. 하나의 장치는 주의의 8개까지의 노드밖에 인식을 못하기 때문에 piconet으로 나뉘어져야 하는 크기
         See Also : DataCommunicationSummaryProject
  • DateTimeMacro . . . . 8 matches
         @SIG''''''@ or @DATE''''''@ is replaced to DateTimeMacro.
         {{{[[}}}{{{DateTime(@}}}{{{date}}}{{{@)]]}}}
         [[DateTime(2003-12-31T16:06:00)]]
         [[DateTime()]]
         [[DateTime]]
         [[DateTime(2004-10-11T09:16:39)]]
         CategoryMacro
  • Direct3D . . . . 8 matches
         DirectX 9.0 에서는 ApplicationWizard 를 지원한다. 그 전까지는 뭔가 허술하게 보였는데. 9.0에서는 확실한 프레임워크의 모습을 보여준다.
         기본적인 클래스인 CD3DApplication 이 있고, 이것을 상속받은 CMyD3DApplication을 사용하여 하고싶은 일을 할 수 있다.
         CMyD3DApplication->Render() : 실제 렌더링을 수행하는 부분
         CMyD3DApplication->RenderText() : 화면에 글씨를 렌더링하는 부분
         CMyD3DApplication->InitDeviceObject() : 오브젝트의 초기화를 수행하는 부분
         CMyD3DApplication->RestoreDeviceObject() : 렌더링 방법을 세팅하는 부분
         CMyD3DApplication->DeleteDeviceObject() : 따로 생성한 객체를 릴리즈하는 부분
  • DirectDraw . . . . 8 matches
         hr = DirectDrawCreateEx(NULL, (void **)&lpDD, IID_IDirectDraw7, NULL); // DirectDraw객체를 생성
         hr = lpDD->SetCooperativeLevel(hWnd, DDSCL_EXCLUSIVE|DDSCL_FULLSCREEN); // 화면의 레벨을 설정
          1. SetCooperativeLevel의 인자.
          * 0 : Refresh Rate, 0은 디바이스 기본값 (대개 0으로 놓는다.)
         hr = lpDD ->CreateSurface(&ddsd, &lpDDSFront, NULL); // 생성!
         hr = lpDDSFront->GetAttachedSurface(&ddscaps, &lpDDSBack); // 1차표면과 접합(같은 속성의 표면을 생성)
         hr = lpDD->CreateSurface(&ddsd, &lpDDSOff, NULL); // 표면 생성!
         hb = (HBITMAP) LoadImage(GetModuleHandle(NULL), MAKEINTRESOURCE(IDB_BITMAP), IMAGE_BITMAP, cxDesire, cyDesire, LR_CREATEDIBSECTION);
         hDCImage = CreateCompatibleDC(NULL);
  • Eclipse/PluginUrls . . . . 8 matches
          * Update URL : http://subclipse.tigris.org/update
         svn: Malformed network data
          * Update URL : http://www.kyrsoft.com/updates/
          * [http://pydev.sf.net/updates/]
          * [http://subclipse.tigris.org/update/]
          * [http://phpeclipse.sourceforge.net/update/releases] 업데이트사이트
  • EightQueenProblemSecondTryDiscussion . . . . 8 matches
          ''알고리즘에도 OAOO를 적용할 수 있습니다. 정보의 중복(duplication)이 있다면 제거하는 식으로 리팩토링을 하는 겁니다. 이 때 정보의 중복은 신택스 혹은 세만틱스의 중복일 수 있습니다.''
          UnAttackableList0 = self.GetUnAttackableOthersPositionList (0)
          for UnAttackablePosition0 in UnAttackableList0:
          self.SetQueen (UnAttackablePosition0)
          UnAttackableList1 = self.GetUnAttackableOthersPositionList (1)
          if not len (UnAttackableList1):
          self.EraseQueen (UnAttackablePosition0)
          for UnAttackablePosition1 in UnAttackableList1:
          self.SetQueen (UnAttackablePosition1)
          UnAttackableList2 = self.GetUnAttackableOthersPositionList (2)
          if not len (UnAttackableList2):
          self.EraseQueen (UnAttackablePosition1)
          for UnAttackablePosition2 in UnAttackableList2:
          self.SetQueen (UnAttackablePosition2)
          UnAttackableList = self.GetUnAttackableOthersPositionList (Level)
          if not len (UnAttackableList):
          for UnAttackablePosition in UnAttackableList:
          self.SetQueen (UnAttackablePosition[0], UnAttackablePosition[1])
          self.EraseQueen (UnAttackablePosition)
         디자인하면서, 가장 의문이 들었던 부분이 출력과 관계된 부분이었습니다. EightQueenProblem 자체가 출력이 필요한 문제인지, 아닌지로 시작된 고민에.. 결국 '출력이 필요하다' 라고 결론을 내리게 되어, 출력을 원할경우, 인자로 출력 소스를 넘겨주면 지시한 곳으로 출력하고, 부가적으로 output format을 지원하는 방식을 채택하였습니다.
  • English Speaking/The Simpsons/S01E04 . . . . 8 matches
         Moe : What's-a matter, Homer? Bloodiest fight of the year.
         Police 1 : What's gotten into Bobo?
         Police 1 : That figures. Come on, you stupid dog.
         Homer : You know, Moe, my mom once said something that really stuck with me.
         You got crummy little kids that nobody can control.
         Homer : You can't talk that way about my kids! Or at least two of them.
  • EnglishSpeaking/TheSimpsons/S01E04 . . . . 8 matches
         Moe : What's-a matter, Homer? Bloodiest fight of the year.
         Police 1 : What's gotten into Bobo?
         Police 1 : That figures. Come on, you stupid dog.
         Homer : You know, Moe, my mom once said something that really stuck with me.
         You got crummy little kids that nobody can control.
         Homer : You can't talk that way about my kids! Or at least two of them.
  • HelpOnInstallation . . . . 8 matches
         /!\ 윈도우즈 환경에서는 곧바로 monisetup.php를 실행하시면 됩니다. (구버전의 모니위키에서는 monisetup.bat를 실행해야 합니다).
          * 기존의 data디렉토리는 전혀 덮어씌여지지 않는다. 그러나 만약의 실수를 대비하기 위해서 업그레이드 하기 전에는 data/text 디렉토리의 내용을 백업해 두는 것이 좋을 것이다.
          * backup : {{{?action=backup}}}해 보라. 백업은 data 디렉토리의 user와 text를 및 기타 몇몇 설정을 보존한다. pds/ 디렉토리를 보존하지는 않는다. 백업된 파일은 pds/ (혹은 $upload_dir로 정의된 위치) 하위에 저장된다.
          * 윈도우즈 사용자라면 퍼미션이 문제가 되지 않으므로 간단히 {{{data}}}디렉토리를 통채로 복사해서 보존하면 될것이다.
          * 윈도우판 설치법 : http://parkpd.egloos.com/3285386 -- [rigmania] [[DateTime(2010-05-19T14:03:49)]]
         [[Navigation(HelpOnAdministration)]]
  • HelpOnMacros . . . . 8 matches
          * 매크로 문법은 {{{[[페이지 이름]]}}}문법과 충돌을 일으킬 수 있습니다. 예를 들어 DateTime 페이지가 있을 때에 {{{[[DateTime]]}}}이라는 식으로 DateTime을 연결할 수 없습니다. 이 경우 [[DateTime]]이라고 나오게 됩니다. 이런 경우에는 {{{[["DateTime"]]}}}이라고 하면 [["DateTime"]]이라고 링크가 걸립니다.
         ||{{{[[Icon(image)]]}}} || 시스템 아이콘 보여주기 || HelpOnNavigation ||
         [[Navigation(HelpOnEditing)]]
  • HowManyZerosAndDigits/임인택 . . . . 8 matches
          private HowManyZerosAndDigits object;
          private int _n;
          private int _b;
          private int _fact;
          private LinkedList numbers;
          if( number.charAt(i)== '0' )
          public static void main(String args[]) {
          } catch(Exception ex) {
          public static int readInt() throws Exception {
  • InterMap . . . . 8 matches
         #format plain
         FreshMeat http://freshmeat.net/
         OrgPatterns http://www.bell-labs.com/cgi-user/OrgPatterns/OrgPatterns?
         MeatBall http://www.usemod.com/cgi-bin/mb.pl?
         Aladdin http://www.aladdin.co.kr/catalog/book.asp?ISBN=
  • Java/DynamicProxy . . . . 8 matches
         Java [Java/DynamicProxy] 라이브러리와 DecoratorPattern 을 이용하여 AOP 적인 구현이 가능. Java 1.3 이후부터 지원.
          * Generic caching decorator(See DecoratorPattern) - [http://www.onjava.com/pub/a/onjava/2003/08/20/memoization.html Memoization in Java Using Dynamic Proxy Classes], and [http://roller.anthonyeden.com/page/SKI_BUM/20030810#dynamicproxy_net#dynamicproxy_net .NET equivalent]
          * [http://www-128.ibm.com/developerworks/library-combined/j-dynproxies.html Decoupling validation logic]
  • LoveCalculator/허아영 . . . . 8 matches
         //LoveCalculator
         void calculator(char *first_person, char *second_person);
          calculator(first_person, second_person);
         void calculator(char *first_person, char *second_person)
          float percentage;
          percentage = (float)first_person_sum/second_person_sum;
          percentage = (float)second_person_sum/first_person_sum;
         [LittleAOI] [LoveCalculator]
  • McConnell . . . . 8 matches
         = Pattern Name =
         == Motivation ==
         == Collaborations ==
         == Implementation ==
         == Related Patterns ==
         PatternCatalog
  • OurMajorLangIsCAndCPlusPlus/2006.2.06/김상섭 . . . . 8 matches
          operator char*()
          void operator+=(const newstring & a)
          newstring & newstring::operator=(const char* ch)
          newstring & newstring::operator=(const newstring ns)
         bool operator==(const newstring & a, const newstring & b)
         newstring & operator+(const newstring & a, const newstring & b)
         ostream & operator<<(ostream & os, const newstring& ns)
         istream & operator>>(istream & is, newstring & ns)
  • OurMajorLangIsCAndCPlusPlus/locale.h . . . . 8 matches
         location specific information 를 setting 하는데 유용한 라이브러리
         #define LC_COLLATE (integer constant expression) 스트링(string)의 정렬 순서(sort order 또는 collation)를 위한 로케일 설정을 위해 사용
         ELEMENT "C" LOCALE LOCALE CATEGORY
         char* negative_sign; "" LC_MONETARY
         || struct lconv* localeconv(void); || lconv 구조체를 현재의 location setting 에 맞게 값을 설정한다. ||
         || char* setlocale(int category, const char* locale); || category에 대해 로케일 locale을 설정하고 (물론, 사용 가능한 로케일인 경우), 설정된 로케일값을 리턴. ||
          fatal ("Out of memory");
  • PatternTemplate . . . . 8 matches
         = Pattern Name =
         == Motivation ==
         == Collaborations ==
         == Implementation ==
         == Related Patterns ==
         PatternCatalog
  • PowerOfCryptography/허아영 . . . . 8 matches
         int k_operation(int n, int p, int k);
          result = k_operation(n, p, k);
         int k_operation(int n, int p, int k)
          k_operation(n, p, k);
         double k_operation(double n, double p, double k);
          result = k_operation(n, p, k);
         double k_operation(double n, double p, double k)
          return k_operation(n, p, k);
  • PragmaticVersionControlWithCVS/WhatIsVersionControl . . . . 8 matches
         || [PragmaticVersionControlWithCVS] || [PragmaticVersionControlWithCVS/Getting Started] ||
         = What Is Version Control? =
         == what should we store? ==
         == workspaces and manipulate files ==
         == Configuration Management (CM) ==
         형상관리(Configuration Management) : 프로젝트의 인계시 필요한 모든 것들을 파악하는 방법.
         [PragmaticVersionControlWithCVS]
  • ProjectPrometheus/Iteration5 . . . . 8 matches
         ||||||Story Name : Recommendation System(RS) Implementation ||
         || Object-RDB Relation 을 위한 Gateway 작성 || 1 || . ||
         || DB Test Data Set 입력 스크립트 작성 || 1 || ○ ||
         || Iteration 3,4 의 Story 들에 대해서 Acceptance Test 작성 || 1 || . ||
         |||||| AT ||
         || Login AT || 1 ||.||
         || ViewPage AT || 1 || . ||
         || RS AT || 1.5 || . ||
         || Login 후 검색해서 RS 여부 확인 AT || . || . ||
         |||||| To Do Later ||
         || ["ProjectPrometheus/CollaborativeFiltering"] 설명 작성 || . || . ||
  • ProjectPrometheus/MappingObjectToRDB . . . . 8 matches
         고려해야 할 것 : 현재 만들어진 Logic Object 들 : Database 의 연동.
          For Recommendation System (Read Book, point )
          For Book Information
          For cauBook Information (중대 도서관시 유일한 키)
          서지번호(key), 도서관코드(ATSL)
          For Recommendation System ( Related Book Point )
         ProjectPrometheus 는 RDB-Object 연동을 할때 일종의 DataMapper 를 구현, 적용했었다. 지금 생각해보면 오히려 일을 복잡하게 한게 아닌가 하는 생각을 하게 된다. Object Persistence 에 대해서 더 간단한 방법을 추구하려고 노력했다면 어떻게 접근했을까. --["1002"]
         한편으로 [http://www.xpuniverse.com/2001/pdfs/EP203.pdf Up-Front Design Versus Evolutionary Design In Denali's Persistence Layer] 의 글을 보면. DB 관련 퍼시스턴트 부분에 대해서도 조금씩 조금씩 발전시킬 수 있을 것 같다. 발전하는 모양새의 중간단계가 PEAA 에서의 Table/Row Gateway 와도 같아 보인다.
  • ProjectSemiPhotoshop/SpikeSolution . . . . 8 matches
          BOOL InitDIB(BOOL bCreatePalette = TRUE);
          BOOL CreateDIBPalette();
          BOOL IsDataNull() {return (m_hImage == NULL);}
          /* calculate the size required by the palette */
          * If this is the case, return the appropriate value.
          /* Calculate the number of colors in the color table based on
          if (!file.Open(lpszFileName, CFile::modeCreate | CFile::modeWrite | CFile::shareDenyWrite, &fe)) return FALSE;
          CATCH (CFileException, e)
          END_CATCH
          pPixels = DataBits(pDIB);
  • ProjectZephyrus/Thread . . . . 8 matches
          * ''Database Connection Pool 을 사용하던 하지 않던, DB 자원을 얻어오는 부분을 하나의 end point에서 처리하세요. 처음부터 이를 고려하지 않을 경우, '''*.java''' 에서 Database Connection을 생성하고, 사용하는 코드를 머지않아 보게 될겁니다. 이는 정말 최악입니다. pool을 쓰다가 쓰지 않게 될 경우는?다시 pool을 써야 할 경우는? 더 좋은 방법은 interface를 잘 정의해서 사용하고, 실제 DB 작업을 하는 클래스는 Factory 를 통해 생성하는게 좋습니다. 어떤 방식으로 DB를 다루던 간에 위에서 보기엔 항상 같아야 하죠. --이선우 [[BR]]
          [http://javaservice.net/~java/bbs/read.cgi?m=devtip&b=jdbc&c=r_p&n=1018622537&p=1&s=t#1018622537 PreparedStatement 의 허와 실]''
         Database 관련 부분 아니라 팀 프로젝트시 고려해야 할 사항은 꽤 됩니다. SuccessfulProject 를 위해서 고려해야 할 사항은 어떤게 있을까요? 자세한 내용은 차후 정리해서 쓰기로 하고, 하나 이야기 하고 싶은건 최대한 '''중복'''을 피하도록 하세요. 특히나, 한참 대화를 하지 않고 있다보면 같은 일을 하는 utility성 클래스들을 모두가 하나씩 지니고 있을겁니다.
         가장 이상적인 상태는 예전 창준선배님이 세미나에서 이야기 했었던, '이러 이러한 라이브러리는 여기 있지 않을까 해서 봤더니 바로 그 자리에 있더라.' 하는 상태입니다. 그러면 최악은? '이러 이러한 라이브러리가 필요한데? 음.. 이쁘게 잘 만들어놓기는 귀찮고 에라 다음에 정리하지 뭐' 그리고는 해당 method들을 copy & paste. '''공통 모듈'''을 한곳에서 다루도록 하세요. 공통 모듈은 꽤 많습니다. logging, configuration, resource managing ,..
         아 한가지 더 생각나는게 있군요. 자바로 프로젝트를 하니 적습니다. 절대 작성하는 라이브러리나 코드의 중간에서 Exception을 잡아서 삼켜버리지 마세요. Exception은 추후 debugging에 절대적인 정보를 담고 있습니다. 중간에 try ~ catch 로 잡아버리고, 어떠한 형태로도 알려주지 않는것은 상당히 위험합니다. 시간이 나면 이와 관련해서 더 적도록 하지요. --이선우
          static synchronized public SocketManager getInstance() {
          public static SocketManager getInstance() {
  • RandomWalk/영동 . . . . 8 matches
         void askLocationOfBug(Bug & a_bug);
          askLocationOfBug(bug);
         void askLocationOfBug(Bug & a_bug)
         private:
         private:
          void askLocationOfBug();
         void Bug::askLocationOfBug()
          bug.askLocationOfBug();
  • RandomWalk/현민 . . . . 8 matches
          int ** data = new int *[num];
          data[i] = new int [num];
          data[i][j] = 0;
          data[line][col]++;
          if(data[i][j] == 0)
          cout << data[i][j] << "\t" ;
          delete [] data [i];
          delete [] data;
  • RefactoringDiscussion . . . . 8 matches
          double result = Math.min(lastUsage(),100) * 0.03;
          result += (Math.min (lastUsage(),200) - 100) * 0.05;
          if (lastUsage() > start) return Math.min(lastUsage(),end) - start;
         '''"MatrinFowler의 추종자들은 lastUsage()가 0 이상인 값에 대해 동작하는것일테니 (코드를 보고 추정하면 그렇다) 당연한거 아니냐?"''' 라고 이의를 제기할지는 모르지만, 이건 Refactoring 에서 한결같이 추구했던 "의도를 명확하게"라는 부분을 Refactoring이라는 도구에 끼워맞추다보니 의도를 불명확하게 한 결과를 낳은것 같다. (["망치의오류"])
          * ["Refactoring"]의 Motivation - Pattern 이건 Refactoring 이건 'Motivation' 부분이 있죠. 즉, 무엇을 의도하여 이러이러하게 코드를 작성했는가입니다. Parameterize Method 의 의도는 'couple of methods that do similar things but vary depending on a few values'에 대한 처리이죠. 즉, 비슷한 일을 하는 메소드들이긴 한데 일부 값들에 영향받는 코드들에 대해서는, 그 영향받게 하는 값들을 parameter 로 넣어주게끔 하고, 같은 일을 하는 부분에 대해선 묶음으로서 중복을 줄이고, 추후 중복이 될 부분들이 적어지도록 하자는 것이겠죠. -- 석천
  • STL/list . . . . 8 matches
         list<int>::iterator i;
          * iterator 를 이용한 순회는 containter에 공통점이다.
         list<int>::iterator i;
          int data[] = {1,2,3,4,5};
          list<int> l(&data[0], &data[INDEX_MAX]);
          list<int>::iterator i ;
         ["STL"] ["AcceleratedC++/Chapter8"]
  • STLErrorDecryptor . . . . 8 matches
         본 문서는 [http://www.kwak101.pe.kr/kwak101/works/InternData/STLDecryptor_QuickGuide.html QuickInstallation For STLErrorDecryptor] 의 '''내용을 백업하기 위한 목적'''으로 만든 페이지입니다. 따라서 원 홈페이지의 자료가 사라지지 않은 이상 가능하면 원 홈페이지에서 글을 읽으셨으면 합니다.
          * 펄 스크립트 인터프리터(Win32용) : 여기서는 ActivePerl을 사용합니다. (http://ww.activestate.coml)
         가) Visual C++가 설치된 디렉토리로 이동하고, 여기서 \bin 디렉토리까지 찾아 들어갑니다. (제 경우에는 D:\Program Files2\Microsoft Visual Studio .NET\Vc7\bin입니다.) 제대로 갔으면, 원래의 CL을 백업용으로 모셔다 놓을 폴더를 하나 만듭니다. (제 경우에는 '''native_cl'''이란 이름으로 만들었습니다.) 그리고 나서 CL.EXE를 그 폴더에 복사해 둡니다.
         error C2664: 'std::basic_string<_Elem,_Traits,_Ax>::basic_string(const std::basic_string<_Elem,_Traits,_Ax>::_Alloc &) with [_Elem=char,_Traits=std::char_traits<char>,_Ax=std::allocator<char>]' : 매개 변수 1을(를) 'int'에서 'const std::basic_string<_Elem,_Traits,_Ax>::_Alloc & with [_Elem=char,_Traits=std::char_traits<char>,_Ax=std::allocator<char>]'(으)로 변환할 수 없습니다.; 원인: 'int'에서 'const std::basic_string<_Elem,_Traits,_Ax>::_Alloc with [_Elem=char,_Traits=std::char_traits<char>,_Ax=std::allocator<char>]'(으)로 변환할 수 없습니다.; 소스 형식을 가져올 수 있는 생성자가 없거나 생성자 오버로드 확인이 모호합니다.
         원문)http://www.kwak101.pe.kr/kwak101/works/InternData/STLDecryptor_QuickGuide.html
  • SpiralArray/세연&재니 . . . . 8 matches
          int nRowState = 1, nColState = 1;
          xbox[nRowState][nColState] = i;
          nextCell = xbox[nRowState + movement[direction][0]][nColState + movement[direction][1]];
          nRowState += movement[direction][0];
          nColState += movement[direction][1];
  • StringOfCPlusPlus/세연 . . . . 8 matches
          char data_word[30];
         private:
          if(!strcmp(word, root->data_word)) return root;
          if(strcmp(word, root->data_word) < 0) return Search(word, root->left_child);
          strcpy(head->data_word, word);
          if(strcmp(word, root->data_word) < 0)
          strcpy(temp->data_word, word);
          cout << tree->data_word << "\n";
  • TdddArticle . . . . 8 matches
         TDD 로 Database TDD 진행하는 예제. 여기서는 툴을 좀 많이 썼다. [Hibernate] 라는 O-R 매핑 툴과 deployment DB는 오라클이지만 로컬 테스트를 위해 HypersonicSql 이라는 녀석을 썼다고 한다. 그리고 test data 를 위해 DBUnit 쓰고, DB Schema 제너레이팅을 위해 XDoclet 와 Ant 를 조합했다.
         Xper:XperSeminar 를 보니 일단 셋팅이 되고 익숙해지면 TDD 리듬이 덜 흐트러지는 방법 같았다. (재우씨랑 응주씨가 원래 잘하시고 게다가 연습도 많이 하셔서이겠지만;) password 추가되고 테스트 돌리는 리듬이 좋아보인다. 단, 테스트 돌아가는 속도가 역시 Real DB 이면서 [Hibernate] 까지 같이 돌아가서 약간 느려보이는데, 이건 해보고 결정 좀 해야겠군.
         reference 쪽은 최근의 테스트와 DB 관련 최신기술 & 문서들은 다 나온 듯 하다. 익숙해지면 꽤 유용할 듯 하다. (hibernate 는 꽤 많이 쓰이는 듯 하다. Intellij 이건 Eclipse 건 플러그인들이 다 있는걸 보면. XDoclet 에서도 지원)
          * [Hibernate]
         그리고 http://www.agiledata.org 에 있는 에세이들 관련.
         간만에 여유가 생겨서 한번 따라해보게 되었는데, [Hibernate] 가 생각보다 복잡한 녀석이라는 것을 알게 되었다. (내가 O-R Mapping Tool 에 대한 경험이 없기 때문에 더더욱) 한번에 습득하기에 쉬운 녀석은 아니였군.;
  • ThePriestMathematician . . . . 8 matches
         === About [ThePriestMathematician] ===
          || 김상섭 || C++ || . || [ThePriestMathematician/김상섭] ||
          || 문보창 || C++ || 1차(실패), 2차(5시간) || [ThePriestMathematician/문보창] ||
          || 하기웅 || C++ || 2시간 30분 || [ThePriestMathematician/하기웅] ||
  • UserStory . . . . 8 matches
         === Story Estimation ===
         UserStory 들을 작성한 뒤에는 Wiki:EngineeringTask 를 결정하고, estimate (해당 작업에 대해 얼마나 걸릴 것인가에 대한 예측)한 Story Point 와 Task Point 를 기준으로 적절히 계산해 나간다.
         매 Iteration (개발주기)를 진행할 때마다 실제로 진행한 Story들을 계산, 다음 estimation에 이용하게 된다.
         === Estimation 이 어려운 경우 ===
         estimate 를 하기 힘든 경우는 두가지가 있다. 하나는 해당 Story 가 애매한 경우이고 하나는 해당 Story의 구현이 전혀 생소한 부분인 경우이다. 해당 Story 가 애매한 경우에는, 주로 Story에서 해야 할일이 많은 경우이다. 해당 Story를 작은 Story들로 나누어서 생각해본다. 구현이 전혀 생소한 부분에 대해서는 SpikeSolution을 해본뒤 estimation 하는 방법이 있다.
          ''After several years of debating this question and seeing both in use, I now think they have nothing in common other than their first three letters.''
  • WindowsTemplateLibrary . . . . 8 matches
         {{|The Windows Template Library (WTL) is an object-oriented Win32 encapsulation C++ library by Microsoft. The WTL supports an API for use by programmers. It was developed as a light-weight alternative to Microsoft Foundation Classes. WTL extends Microsoft's ATL, another lightweight API for using COM and for creating ActiveX controls. Though created by Microsoft, it is unsupported.
         Being an unsupported library, WTL has little formal documentation. However, most of the API is a direct mirror of the standard Win32 calls, so the interface is familiar to most Windows programmers.|}}
         WTL은 객체지향적인, Win32 를 캡슐화하여 만들어진 C++라이브러리로 MS 에서 만들어졌다. WTL은 프로그래머에 의한 사용을 위해 API Programming Style을 지원한다. WTL MFC에 대한 경량화된 대안책으로서 개발되었다. WTL은 MS의 ATL를 확장한다. ATL 은 ActiveX COM 을 이용하거나 ActiveX 컨트롤들을 만들기 위한 또 다른 경량화된 API 이다. WTL은 MS 에 의해 만들어졌디면, MS 가 지원하진 않는다.
         = related site =
  • ZeroPage_200_OK/note . . . . 8 matches
          * 1. create instance
         ==== dispatch ====
          * 자바스크립트는 함수와 일반 변수와의 구분이 없기때문에 변수 또한 dispatch가 된다.
         __callback({ "json" : "data"});
          * static 한 파일을 내려준다.
          * static 한 파일을 업로드 받는다.
          * Common Gateway Interface
          * Unix에서는 Pipe도 File이므로 static한 file 대신 Pipe를 쓰면 뭔가 다이나믹한게 되지않을까?
  • whiteblue/간단한계산기 . . . . 8 matches
         public class MyCalculator extends JFrame {
          public MyCalculator() {
          this.setTitle("Calculator");
          private void makebutton(
          public static void main(String[] args) {
          MyCalculator calculator = new MyCalculator();
  • 검색에이전시_temp . . . . 8 matches
          * [Python/DataBase]
          * [http://pylucene.osafoundation.org/ 파이루씬] 파이썬으로 구현된 검색 엔진
         http://minihp.cyworld.nate.com/pims/visitbook/visitbook_list.asp?tid=24808212&urlstr=bang
         프레임있는 미니홈 : http://minihp.cyworld.nate.com/pims/main/pims_main4.asp?tid=24808212&urlstr=main
         미니룸 : http://minihp.cyworld.nate.com/pims/main/main_inside.asp?tid=24808212
         방명록 : http://minihp.cyworld.nate.com/pims/visitbook/visitbook_list.asp?tid=24808212&urlstr=bang
         사진첩 : http://minihp.cyworld.nate.com/pims/board/image/imgbrd_list.asp?tid=24808212
         게시판 : http://minihp.cyworld.nate.com/pims/board/general/board_list.asp?tid=24808212
  • 고슴도치의 사진 마을 . . . . 8 matches
         [http://hedgehog.byus.net/zboard/data/gallery3/d70_3.jpg]
         ▶E-mail : celfin_2002 at hotmail dot com(MSN), celfin at lycos dot co dot kr(nateon), celfin_2000 at hanmail dot net
         === 2006. Summer Vacation Plan ===
         || [Cisco Certified Network Associate] ||
         === Information ===
  • 김동준/Project/Data_Structure_Overview/Chapter1 . . . . 8 matches
          Array Create(j, list) => return j 차원의 배열
          float sum(folat [], int);
          float input[MAX_SIZE], answer;
          float sum(float list[], int n) {
          float tempsum = 0;
         [http://inyourheart.biz/zerowiki/wiki.php/%EA%B9%80%EB%8F%99%EC%A4%80/Project/Data_Structure_Overview Main으로 가기]
  • 김희성/리눅스멀티채팅 . . . . 8 matches
         void* rutine(void* data)//data = &thread_num[스레드 번호]
          num=*((int*)data);
          pthread_create(&p_thread[i],NULL,rutine,(void *)&thread_num[i]);
         void* rcv_thread(void *data)
         void* snd_thread(void *data)
          pthread_create(&p_thread[0],NULL,rcv_thread,(void *)NULL);
          pthread_create(&p_thread[1],NULL,snd_thread,(void *)NULL);
  • 데블스캠프2005/RUR-PLE/Newspaper/Refactoring . . . . 8 matches
          repeat(turn_left, 3)
         repeat(floor_up,4)
         repeat(floor_down, 4)
          repeat(turn_left, 3)
         repeat(upAndGo, 4)
         repeat(goAndDown, 3)
         repeat(move_up, 4)
         repeat(move_down, 3)
  • 데블스캠프2009/월요일/Scratch . . . . 8 matches
         = 데블스캠프2009/월요일/Scratch =
         == Scratch 는? ==
          * 공식 홈페이지 - [http://scratch.mit.edu/]
         == Scratch 다운로드 (1.3.1) ==
          * [http://info.scratch.mit.edu/Scratch_1.3.1_Download]
         == Scratch 샘플 ==
          * Scratch Bros. v1.4 - [http://enochbible.intra.zeropage.org/sc/sample2.sb]
  • 데블스캠프2011/다섯째날/PythonNetwork . . . . 8 matches
         UDPSock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) # Create socket
          data = raw_input('>> ')
          if len(data) == 0:
          if UDPSock.sendto(data, addr):
          print ("Sending message '%s'..." % data)
          print "Error at Binding"
          data, addr = rcv_sock.recvfrom(3333)
          print "Got %s" % data
  • 레밍즈프로젝트/프로토타입/STLLIST . . . . 8 matches
         '''Operations'''
         '''Iteration'''
         || GetNext || Gets the next element for iterating. ||
         || GetPrev || Gets the previous element for iterating. ||
         '''Retrieval/Modification'''
         || GetAt || Gets the element at a given position. ||
         || SetAt || Sets the element at a given position. ||
         || RemoveAt || Removes an element from this list, specified by position. ||
         '''Status'''
  • 몸짱프로젝트 . . . . 8 matches
          DataStructure를 배우면서 나오는 알고리즘을 구현해보자는 취지로 만든 프로젝트페이지.
         SeeAlso [HowToStudyDataStructureAndAlgorithms] [DataStructure] [http://internet512.chonbuk.ac.kr/datastructure/data/ds1.htm 자료구조 정리]
         || FindShortestPath || [몸짱프로젝트/ShortestPaths] ||
         || . || [몸짱프로젝트/DisplayPumutation] ||
  • 새싹교실/2011/學高/4회차 . . . . 8 matches
          * %.2f: 소수점 둘째 자리까지 float 출력
          * 정수형 data type: int, char
          * 실수형 data type: float, double
          float diameter;
         int 정수인식 float 소수점자리
         float
         float 와 double에 배웠는데, 더블이 좀더 정확한 수를 표현할때 쓰는 수이구여 .
  • 인수/Assignment . . . . 8 matches
         || 과목 || Assign date || Due date || 내용 || 비고 ||
         || 과목 || Assign date || Due date || 내용 || 비고 || Submit? ||
         || SE || 9/8 || 9/28 || Architecture, Framework, Pattern, Platform의 차이점 구별, 사례 조사 || 젤 짜증나 -_- || O ||
         || SE || || || Pattern vs archi 등등 레포트 이경환 교수님께 메일 || || O ||
          * Oh.. Thank you. I'm checking my assignment, too. That's good~ -- [창섭]
  • 창섭/BitmapMasking . . . . 8 matches
          여기서 SRCCOPY 라는 부분이 있는데 이게 래스터 연산자(Rastor OPeration) 이다. 종류는 다음과 같다.
         http://165.194.17.15/~wiz/data/zpwiki/originalbmp.bmp
         http://165.194.17.15/~wiz/data/zpwiki/bgbmp.bmp
         http://165.194.17.15/~wiz/data/zpwiki/resultbmp.bmp
         http://165.194.17.15/~wiz/data/zpwiki/andmask.bmp
         http://165.194.17.15/~wiz/data/zpwiki/orbmp.bmp
         http://165.194.17.15/~wiz/data/zpwiki/ormask.bmp
         http://165.194.17.15/~wiz/data/zpwiki/andbmp.bmp
  • 황현/Objective-P . . . . 8 matches
         == Specification (Draft) ==
         다만, @implementation만 사용하면 @interface가 외로워하니까, 인스턴스 변수의 선언에는 @interface를 사용하도록 하고, 메소드 선언 및 정의에 @implementation을 사용한다.
         @private // 요건 비지빌리티 인디케이터. 옵셔널하다. :) 생략하면 기본값으로 @protected 적용.
         @implementation MyFirstObjPClass
         private $iStoreSomething;
         public static function tellMeTheTruth() {
         $myClass->doSomeTaskWithSomething(42, true); // Compiler automatically adds last argument!
  • 05학번만의C++Study/숙제제출1/최경현 . . . . 7 matches
         float convert(float celsius);
          float celsius;
         float convert(float celsius)
          float fahrenheit;
         convert 함수라고 되있는거 long으로 하지말고 float이나 double같은 소수점 나타낼 수 있는걸로 해봐. 그리고 왜 대입을 두번이나? - [재혁]
  • 2012/2학기/컴퓨터구조 . . . . 7 matches
          = Course Information =
          * Textbook : Computer Organization and Design 4/E, Patterson
          * Application software
          * Operating System
          * Application binary interface
          * Implementation
  • AcceleratedC++/Chapter1 . . . . 7 matches
         || ["AcceleratedC++/Chapter0"] || ["AcceleratedC++/Chapter2"] ||
         // ask for the person's name, and generate a framed greeting
          // build the message that we intend to write
         interface : 객체의 타입으로 묵시적으로 내포 되어 있는 것은 인터페이스로서, 해당 타입의 객체에 사용 가능한 연산(operation)들의 집합을 말합니다. name을 string 타입의 변수(이름 있는 객체)로 정의 하게 되며, 우리는 string으로 할 수 있는 모든 일들을 name으로 하고 싶다는 뜻을 묵시적으로 내포하게 됩니다.
         초기화, end-of-file, buffer, flush, overload, const, associativity(결합방식), 멤버함수, 기본 내장 타입, 기본타입(built-in type)
         ["AcceleratedC++"]
  • ActiveTemplateLibrary . . . . 7 matches
         = ATL? =
         {{|The Active Template Library (ATL) is a set of template-based C++ classes that simplify the programming of Component Object Model (COM) objects. The COM support in Visual C++ allows developers to easily create a variety of COM objects, Automation servers, and ActiveX controls.
         ATL은 템플릿으로 이루어진 C++ 클래스 집합니다. 이 클래스들은 COM 객체를 프로그래밍하는 과정을 단순화시킨다. VisualC++에서 COM의 지원은 개발자들이 쉽게 다양한 COM객체, Automation 서버, ActiveX 컨트롤들을 생성하도록 해준다.
          * [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_atl_string_conversion_macros.asp ATL and MFC String Conversion Macros]
         ATL string의 형변환시에는 {{{~cpp USES_CONVERSION}}} macro를 형변환 전에 호출하여야함.
  • Ajax/GoogleWebToolkit . . . . 7 matches
         The Google Web Toolkit is a free toolkit by Google to develop AJAX applications in the Java programming language. GWT supports rapid client/server development and debugging in any Java IDE. In a subsequent deployment step, the GWT compiler translates a working Java application into equivalent JavaScript that programatically manipulates a web brower's HTML DOM using DHTML techniques. GWT emphasizes reusable, efficient solutions to recurring AJAX challenges, namely asynchronous remote procedure calls, history management, bookmarking, and cross-browser portability.
         = Related =
  • Ajax2006Summer/프로그램설치 . . . . 7 matches
          * 필요한 것은 '''Eclipse 3.2 Platform Runtime Binary''' 입니다. 용량은 33메가 정도입니다 : [http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.2-200606291905/eclipse-platform-3.2-win32.zip LINK]
         3. Workspace 설정 후 '''Help''' - '''Software Updates''' - '''Find and Install''' 을 선택합니다.
         4. 다음 다이얼로그에서는 '''Search for new features to install''' 을 선택 후 '''Next>'''를 클릭합니다.
         == Tomcat ==
         1. Tomcat을 다운받습니다. 5.5.17이 최신입니다 : [http://tomcat.apache.org]
  • AliasPageNames . . . . 7 matches
         #format plain
         # $Date: 2009/01/02 17:26:39 $
         # $aliaspage=$data_dir.'/text/AliasPageNames';
         DueDateMacro<DueDate,Due Date Macro,"Due Date Macro"
  • AnEasyProblem/강소현 . . . . 7 matches
         == Status ==
          public static void main(String[] args){
          private static void printJ(int i){
          result += bin[k]*Math.pow(2,k);
          private static int [] binI(int i){
  • AttachmentMacro . . . . 7 matches
         {{{attachment:hello.png}}}
         올리고 싶은 파일 이름 혹은 이미 첨부된 파일 이름을 {{{attachment:파일이름.확장자}}}라고 써준다.
         /!\ Attachment는 매크로로 구현되어 있으므로 {{{[[Attachment(hello.png)]]}}}라고 해도 똑같은 방식으로 작동을 합니다. 그러나 '''attachment:'''문법을 쓰시기 바랍니다.
         attachment:foobar.png?width=300px&align=center
         attachment:foobar.png?title="안녕하세요"
         attachment:foobar.png?thumb=1
         attachment:foobar.png?thumbwidth=100px
  • Bigtable기능명세 . . . . 7 matches
         heartbeat
          1. 태블릿 개수, cpu rate, 메모리 사용량의 비율을 계산해서
          1. 마스터는 주기적으로 TS들에게서 heartbeat를 받는다
         == heartbeat ★ ==
          1. heartbeat에 응답을 해야하나?
          1. heartbeat 보내기 (마스터)
          1. hearbeat 체크, 타임아웃 초기화 (태블릿 서버)
  • BlogLines . . . . 7 matches
         웹용 [RSSAggregator]
         써본 경험에 의하면... publication 으로 개인용 블로그정도에다가 공개하기엔 쓸만하다. 그냥 사용자의 관심사를 알 수 있을 테니까? 성능이나 기능으로 보면 한참멀었다. 단순한 reader 이외의 용도로 쓸만하지 못하고, web interface 라서 platform-independable 하다는 것 이외의 장점을 찾아보기 힘들다. - [eternalbleu]
         [1002] 의 경우는 FireFox + Bloglines 조합을 즐겨쓴다. (이전에는 FireFox + Sage 조합) 좋은 점으로는, 쓰는 패턴은, 마음에 드는 피드들이 있으면 일단 주욱 탭으로 열어놓은뒤, 나중에 탭들만 주욱 본다. 그리고, 자주 쓰진 않지만, Recommendations 기능과 Subscribe Bookmarklet, feed 공유 기능. 그리고, 위의 기능들을 다 무시함에도 불구하고 기본적으로 쓸모있는것 : 웹(서버사이드)라는 점. 다른 컴퓨터에서 작업할때 피드 리스트 싱크해야 하거나 할 필요가 없다는 것은 큰 장점이라 생각. --[1002]
         DeleteMe) 영창쓰는 Aggregator 어떤거 쓰는중?
          feed demon 을 주로 쓰고 있는데... 이유는 ㅡ.ㅡ;; 실행이 빠르고 watch 기능등이 있다는 정도랄까요 ;; xpyder, yeonmo 같은 것도 설치는 해봤는데.. 약간 느린 바른 속도때문에 바로 지우고야 말았다는.. 아무래도 조급증에 걸린것 같습니다. 아 그리고 블로그에 가면 tatter를 이용해서 사용합니다. - [eternalbleu]
  • CPPStudy_2005_1/STL성적처리_4 . . . . 7 matches
         void calculate_total_score(vector<Student_info> & students);
          calculate_total_score(students);
         void calculate_total_score(vector<Student_info> & students)
          typedef vector<Student_info>::iterator iter;
          i->total_score = accumulate(i->score.begin(),i->score.end(),0);
          typedef vector<Student_info>::iterator si_iter;
          typedef vector<int>::iterator int_iter;
  • Chapter II - Real-Time Systems Concepts . . . . 7 matches
         == What is the Real Time? ==
         공유 자원이란 하나 이상의 Task가 같은 자원을 쓸 경우를 말한다. 두 Task는 배타적으로 같은 Resouce에 접근을 하며 Data의 파손을 방지한다. 이러한 방식을 mutual exclusion (상호 배타성) 이라고 한다.
         스케쥴러는 DISPATCHER라고도 불리우며 우선순위가 높은 태스크를 수행시킨다.
         === Static Priority ===
          * Rate Monotonic Scheduling (RMS)
         === Synchronization ===
         === Intertask Communication ===
         === Interrupt Latency ===
  • CollectionParameter . . . . 7 matches
          for(vector<People>::iterator it = result.begin() ; it != result.end() ; ++it)
          for(vector<People>::iterator it = result.begin() ; it != result.end() ; ++it)
          for(vector<People>::iterator it = result.begin() ; it != result.end() ; ++it)
          for(vector<People>::iterator it = result.begin() ; it != result.end() ; ++it)
          for(vector<People>::iterator it = result.begin() ; it != result.end() ; ++it)
          for(vector<People>::iterator it = result.begin() ; it != result.end() ; ++it)
         즉, 두 메소드의 결과를 모으는 경우인데, 그리 흔한 경우는 아니였던걸로 기억. 약간은 다르긴 하지만 나의 경우 CollectionParameter 의 성격으로 필요한 경우가 read/write 등 I/O 가 내부적으로 필요할때 또는 Serialization 등의 일이 필요할때. 그 경우 I/O 부분은 Stream 클래스로 만들고(C++ 의 Stream 을 쓰던지 또는 직접 Stream 클래스 만들어 쓰던지) parameter 로 넘겨주고 그 파라메터의 메소드를 사용하는 형태였음. --[1002]
  • CompleteTreeLabeling/하기웅 . . . . 7 matches
         즉 이것은 combination(루트를 뺀 총 노드 수, 루트를 뺀 총 노드 수/분기계수) 임을 알 수 있다.
         combination(6, 6/2)이 되고 이렇게 뽑은 것을 두가지로 세울 수 있으므로 2!의 줄세우는 방법을 곱해준다.
         깊이 1에서의 경우의 수 = 분기계수! * combination(루트를 뺀 총 노드수, 루트를 뺸 총 노드수/분기계수)
         #include <cmath>
         using BigMath::BigInteger;
         BigInteger combination(int a, int b)
          labelingNum = labelingNum * factorial[l] * combination(nodeNum, select);
  • ComputerNetworkClass/Exam2006_2 . . . . 7 matches
         인터넷 보안 관련된 문제에서 문제로 출제 될 만하다고 생각했던 부분인 Authencation Protocol (3-way-handshake, keberos, using RSA)에 대한 내용역시 미출제되었음. 덕분에 시험 난이도는 낮아졌지만, PEM 의 구조에 대한 설명이 들어갔기 때문에 따로 관심을 가지고 공부한 사람이 아니면 약간 어려웠을지도 모르겠음.
         authenticate(fabrication -> 3-way handshake, keberos, using RSA)
         integrigy(modification -> keyed MD5)
          일반적인 메일 전송 프로토콜의 이해와 MIME 프로토콜에 대한 간단한 이해. 그리고 E(MD(5), PrivateKeyOfSnd) 의 해석 방법과 계층적 인증에 대한 이해를 묻는 문제였음.
          Integrated Service(flow-based), Differentiated Service(service-based) 에대한 전반적인 이해를 하는 문제. 해당 기법에 WFQ를 적용하는 방법에 대한 이해를 묻는 문제로 약간 응용해서 적으란 것으로 보임. 책에 DS에 대한 설명은 WRED, RIO에 대한 설명만 되어있었고, 이 방식은 Queuing 에 의한 WFQ의 사후 처리가 아닌 사전 체리에 관련된 내용이었음. 솔직히 WFQ 왜 냈는지 모르겠음. -_-;;
  • ConcreteMathematics . . . . 7 matches
         == Concrete Mathematics ==
         1. Look at small cases. This gives us insight into the problem and helps us in stages 2 and 3.
         2. Find and prove a mathematical expression for the quantity of interest. (Induction so on..)
         3. Find and prove a closed form for our mathematical expression.
  • DataCommunicationSummaryProject/Chapter4 . . . . 7 matches
         = Cellular Voice And Data =
         == PCS(Personal Communication Service) ==
          * Data Only
         == GSM(Global System for Mobile Communications) ==
          * GSM에서 Packet Data 사용할 수 있게 업그레이드
         DataCommunicationSummaryProject
  • DataStructure/Tree . . . . 7 matches
          (*node)->Data = new char[strlen(ch) + 1]; // 문자열 길이만큼 할당
          strcpy((*node)->Data,ch); // 노드에 문자열 복사
          cout << root->Data << endl;
          else if(strcmp((*root)->Data,ch)>0) // 부모가 자식보다 크면 왼쪽에 추가
          else if(strcmp((*root)->Data,ch)<0) // 부모가 자식보다 작으면 오른쪽에 추가
          else if(strcmp((*root)->Data,ch)==0) // 같으면 카운터 증가
         ["DataStructure"]
  • DirectDraw/DDUtil . . . . 7 matches
         CreateFullScreenDisplay(HWND hWnd, DWORD dwWidth, DWORD dwHeight, DWORD dwBPP)
         CreateWindowedDisplay HWND hWnd, DWORD dwWidth, DWORD dwHeight)
         CreateSurface( CSurface **ppSurface, DWORD dwWidth, DWORD dwHeight)
         CreateSurfaceFromBitmap(CSurface** ppSurface, TCHAR* strBMP, DWORD dwDesiredWidth, DWORD dwDesiredHeight)
         CreateSurfaceFromText( CSurface** ppSurface, HFONT hFont, TCHAR* strText, COLORREF crBackground, COLORREF crForeground)
         CreatePaletteFromBitmap( LPDIRECTDRAWPALETTE *ppPalette, const TCHAR *strBMP)
         UpdateBounds()
  • DueDateMacro . . . . 7 matches
          * [[DueDate(20030519)]]
          * [[DueDate(20)]]
          * [[DueDate(1225)]]
          * [[DueDate(20040720)]]
         리눅스 + 모니위키 버전 1.0.5 모두 잘 됩니다. 이곳의 DueDateMacro는 옛날 버전이라서 이렇습니다. --WkPark
         DueDateMacro 의 날짜가 MM/DD/YY 로 나오고 있는데요, YY-MM-DD 나 YY년 MM월 DD일 로 나오게 할려면 어떻게 하면 되는지요 ^^
         CategoryMacro
  • HanoiTowerTroublesAgain!/황재선 . . . . 7 matches
         import static java.lang.Math.ceil;
         import static java.lang.Math.floor;
         import static java.lang.Math.sqrt;
          public static void main(String[] args) {
  • HelpOnXmlPages . . . . 7 matches
         If you have Python4Suite installed in your system, it is possible to save XML documents as pages. It's important to start those pages with an XML declaration "{{{<?xml ...>}}}" in the very first line. Also, you have to specify the stylesheet that is to be used to process the XML document to HTML. This is done using a [http://www.w3.org/TR/xml-stylesheet/ standard "xml-stylesheet" processing instruction], with the name of a page containing the stylesheet as the "{{{href}}}" parameter.
          <xsl:output method="html" omit-xml-declaration="yes" indent="no"/>
          <xsl:template match="/">
          </xsl:template>
         [[Navigation(HelpOnEditing)]]
  • JSP . . . . 7 matches
         1. http://tomcat.apache.org 에서 4.1 v 받아서 Install
         2. Programfile 에서 Start Tomcat
         1. C:\Program Files\Apache Group\Tomcat 4.1\conf
         2. start Tomcat 으로 서버에 접속
         3. C:\Program Files\Apache Group\Tomcat 4.1\bin 의 startup
         4. C:\Program Files\Apache Group\Tomcat 4.1\webapps\ROOT 에 hello.jsp 파일 옮긴후
         1. [Data전송]
  • Java Study2003/첫번째과제/장창재 . . . . 7 matches
          - 자바(Java)를 이야기할 때 크게 두 가지로 나누어 이야기 할 수 있습니다. 먼저, 기계어, 어셈블리어(Assembly), 포트란(FORTRAN), 코볼(COBOL), 파스칼(PASCAL), 또는 C 등과 같이 프로그래밍을 하기 위해 사용하는 자바 언어가 있고, 다른 하나는 자바 언어를 이용하여 프로그래밍 하기 위해 사용할 수 있는 자바 API(Application Programming Interface)와 자바 프로그램을 실행시켜 주기 위한 자바 가상머신(Java Virtual Machine) 등을 가리키는 자바 플랫폼(Platform)이 있습니다. 다시 말해서, 자바 언어는 Visual C++와 비유될 수 있고, 자바 플랫폼은 윈도우 95/98/NT 및 윈도우 95/98/NT API와 비유될 수 있습니다.
         자바 언어로 작성된 자바 프로그램을 중간 언어(intermediate language) 형태인 자바 바이트코드로 컴파일 합니다<.
         자바 API(Java Application Programming Interface):
         이러한 문제점은 느린(Lazy) 클래스 로딩에서 발생하거나 메모리 할당과 가비지 콜렉션이 비결정적이고 느린 최악의 경우(worst-case) 특성을 가지며 stop-start 방식으로 모든 스레드를 멈출 수 있다는 문제점이 있습니다. 이를 해결하기 위해 클래스를 미리 로딩(class preloading)한다거나 정적 초기화(static initializer)를 제거하여 패키지 라이브러리에 대해서는 가상머신 초기화를 사용하고 응용프로그램에서는 명시적인 초기화 를 사용하게 하는 등의 기법을 사용할 수 있습니다. 그리고, 메모리 할당과 쓰레기 수집(garbage collection)에 대해서는 정해진 시간 내에 입터럽트 가능한 쓰레기 수집을 하는 것입니다. 또는 표준화된 실시간 API를 제공함으로써 해결할 수 있습니다.
         자바 애플리케이션(Application):
         public static void main(String args[]) {
  • JavaStudyInVacation/진행상황 . . . . 7 matches
          * http://www.jini-club.net/eclipse/dw_EclipsePlatform.html 한글
          * http://www-106.ibm.com/developerworks/library/j-nativegui/index.html
         ||상욱||["AppletVSApplication/상욱"]||
         ||영동||["AppletVSApplication/영동"]||
         ||진영||["AppletVSApplication/진영"]||
          '''''이거부터는 각자 하지 말고 같이 하라고 했는데요....''''' ["JavaStudyInVacation/과제"]를 잘 읽고 하세요. 아무래도 내일 다 끝내는건 무리가 있는듯 하군요. 다음주에는 제가 계속 학교에 있습니다. 다음주에도 계속하겠습니다. 이번주처럼 계속 참여해주세요. --["상규"]
         ["JavaStudyInVacation"]
  • MagicSquare/재동 . . . . 7 matches
          def testCreation(self):
          self.createBoard()
          def createBoard(self):
          def testCreateMagicSquare(self):
          def testCreateCounter(self):
          self.createBoard()
          def createBoard(self):
  • MedusaCppStudy . . . . 7 matches
         교제: [AcceleratedC++], Seminar:삼색볼펜초학습법
         [AcceleratedC++/Chapter0] - 7월 22일
         [AcceleratedC++/Chapter1] - 7월 23일
         [AcceleratedC++/Chapter2] - 7월 24일
         [AcceleratedC++/Chapter3] - 7월 29일
         [AcceleratedC++/Chapter4] - 8월 7일(#1), 8월 14일(#2)
         Accelerated C++ 책 집에 도착했다. :) --재동
  • MoinMoinWikis . . . . 7 matches
         Wikis that use MoinMoin:
          * [http://www.sh.rim.or.jp/~yasusii/ YasushiIwata's Home Page] (Japanese - gives a 404 error ... should be deleted?)
          * [http://www.bioinformatics.org/piperwiki/moin.cgi Wiki for the Piper project]
          * [http://compsoc.dur.ac.uk/~tsp/cgi-bin/triki.cgi TrikiWiki] (private wiki for the Transformers holiday - uses a mildly hacked MoinMoin)
          * [http://seattlewireless.net/ SeattleWireless]
          * [http://www.alberg30.org/collaborate/ Alberg Wiki]
  • MySQL . . . . 7 matches
         jdbc:mysql://localhost/database?user=user&password=xxx&useUnicode=true&characterEncoding=KSC5601
         mysqldump -p암호 -u사용자 --database DB명 > mysqlbackup.sql
         mysql -p암호 -u사용자 --database db명 < mysqlbackup.sql
          * Database mysql의 user 테이블을 변경후 {{{~cpp flush privileges}}}를 수행한다.
         CREATE DATABASE jeppy;
         현재 MySQL status 보면
         Client characterset: latin1
         Server characterset: latin1
  • NSIS/예제1 . . . . 7 matches
          ; 인스톨 할 디렉토리로 output path 의 설정
          SetOutPath $INSTDIR
         Contributors: nnop@newmail.ru, Ryan Geiss, Andras Varga, Drew Davidson, Peter Windridge, Dave Laundon, Robert Rainwater, Yaroslav Faybishenko, et al.
         SetOutPath: "$INSTDIR"
         Install data: 139887 / 175941 bytes
         http://zeropage.org/~reset/zb/data/nsis_output1.png
         http://zeropage.org/~reset/zb/data/nsis_output2.png
  • ObjectWorld . . . . 7 matches
          * http://www.objectworld.org/JavatoolsforXP1.ppt
         두번째 Session 에서는 세분이 나오셨습니다. 아키텍쳐란 무엇인가에 대해 주로 case-study 의 접근으로 설명하셨는데, 그리 명확하지 않군요. (Platform? Middleware? API? Framework? Application Server? 어떤 걸 이야기하시려는것인지 한번쯤 명확하게 결론을 내려주셨었더라면 더 좋았을 것 같은데 하는 아쉬움.) 아키텍쳐를 적용하는 개발자/인지하는 개발자/인지하지 못한 개발자로 분류하셔서 설명하셨는데, 저의 경우는 다음으로 바꾸어서 생각하니까 좀 더 이해하기가 쉬웠더라는. '자신이 작업하는 플랫폼의 특성을 적극적으로 사용하는 개발자/플랫폼을 이해하는 개발자/이해하지 못한 개발자' 아직까지도 Architecture 와 그밖에 다른 것들과 혼동이 가긴 하네요. 일단 잠정적으로 생각해두는 분류는 이렇게 생각하고 있지만. 이렇게만 정의하기엔 너무 단순하죠. 해당 자료집에서의 Architecture 에 대한 정의를 좀 더 자세히 들여다봐야 할듯.
          * Middleware, Application Server - Architecture 를 Instance 화 시킨 실질적 제품들. 전체 시스템 내에서의 역할에 대한 설명으로서의 접근.
         세번째 Session 에서는 지난번 세미나 마지막 주자분(신동민씨였던가요.. 성함이 가물가물;)이 Java 버전업에 대한 Architecture 적 관점에서의 접근에 대한 내용을 발표하셨습니다. Java 가 결국은 JVM 이란 기존 플랫폼에 하나의 Layer를 올린것으로서 그로 인한 장점들에 대해 설명하셨는데, 개인적으론 'Java 가 OS에서 밀린 이상 OS를 넘어서려니 어쩔수 없었던 선택이였다' 라고 생각하는 관계로. -_-. 하지만, Layer 나 Reflection 등의 Architecture Pattern 의 선택에 따른 Trade off 에 대해서 설명하신 것과, 디자인을 중시하고 추후 LazyOptimization 을 추구한 하나의 사례로서 설명하신건 개인적으론 좋았습니다.
         You should do whatever feels right to you. And learn to program. --RonJeffries''
  • OurMajorLangIsCAndCPlusPlus/Variable . . . . 7 matches
         static 전역 변수 - 해당 파일 내에서 유효함 (외부 참조 불가능)
         static - BSS 세그먼트의 공간을 변수로 할당
         === volatile 키워드 ===
          double duration;
          volatile int a = 10, b = 20, c;
          duration = (double)(finish - start) / CLOCKS_PER_SEC;
          printf("%2.1f seconds\n", duration);
  • PNGFileFormat/FileStructure . . . . 7 matches
          * Chunk Data : Type 에 따른 데이터. 길이가 0일수 있음.
          * CRC : Chunk Type + Chunk Data 에 대한 4 바이트 CRC 값.
          || Color Type || Allowed Bit Depths || Interpretation ||
          * IDAT chunk : 실제 픽셀값. IDAT는 여러개가 올 수 있다. (see also [PNGFileFormat/ImageData])
          * IEND chunk : 반드시 이 chunk 로 끝나야 함. Data 길이는 0.
          || PLTE || x || IDAT전에 와야함 ||
          || IDAT || o || 여러개가 사용된다면 반드시 연속적이어야 함 ||
         [PNGFileFormat]
  • PNGFileFormat/ImageData . . . . 7 matches
         현재는 compression method 0만 있음. zlib의 inflate, deflate와 같다. 최대 윈도우 사이즈는 32768바이트
         === Inflate ===
         === Deflate ===
          * Compressed data blocks : n bytes
          * 자세한 내용은 [PNGFileFotmat/FilterAlgorithms] 참조.
         [PNGFileFormat]
  • ProgrammingPearls/Column4 . . . . 7 matches
          * Data Structure Selection.
          * Initialization
          * Preservation
          * Verification을 위한 general한 principles을 제공하고 있다.
          * Iteration Control Structures : 위에서도 말했듯이, 초기화, 유지, 종료조건이 확실한가를 체크해야한다.
         === The Roles of Program Verification ===
          * 가장 많이 쓰는 verification방법은 Test Case이다.
  • ProjectPrometheus/CollaborativeFiltering . . . . 7 matches
         일단은 본격적인 CF로 가는 것보다 아마존의 "Customers who bought this book also bought"식으로 좀 더 간단한 것을 하는 것이 좋을 듯 하다. 이것은 꼭 Clustering이 필요없다 -- Clustering이 효과를 발휘하려면 상당량의 데이타(NoSmok:CriticalMass )가 쌓여야 하는데, 쉬운 일이 아닐 것이다. 다음은 JuNe이 생각한 간단한 알고리즘. 일종의 Item-to-Item Correlation Recommendation.
          *For every meaningful action(searching, viewing, writing a review, rating without writing reviews) there is a pref coefficient. (prefCoef)
          *When a user does a specific well-defined action, bookPref is updated as "prefCoef*userPref+bookPref" and resorted. (some books at the end of the list might be eliminated for performance reasons)
         Iteration 2 에서 만든 Prototype & 알고리즘 (추후 작성 예정)
  • ProjectPrometheus/EngineeringTask . . . . 7 matches
         || Search Keyword Generator || ○ ||
         || 임의의 Data set 만들기 || ○ ||
         || Data set 2 - 도서관 검색 알고리즘에 근거한 값들 || ○ ||
         || Iteration 2 AcceptanceTest 작성 || ○ ||
         3 RS Implementation, Login ~1.5 (0.5) , 0.5
         || Database 스키마 정의 (서평, 북 Weight 등) ||
          * Best Book (Rating, 책 정보 열람에 따른 점수 기준)을 확인할 수 있다.
  • ProjectZephyrus/Client . . . . 7 matches
         현재 공용 툴은 JCreator. JCreator 프로젝트 화일도 같이 업했으므로 이용할 수 있을 것임.
          + ---- MainSource - 메인 프로그램 소스 & JCreator 프로젝트 화일이 있는 디렉토리
          ''Engineering Task나 User Story 모두 노동의 양으로 estimation을 해서, 포인트를 준다. 이렇게 "비용"이 적힌 카드들을 놓고, 어느 것을 하고, 미루고, 먼저하는 지 등의 순위 결정은 "중요도 중심", "위험도 중심"이 있는데, 작년 이후 익스트리모들(KRW)은 복잡하게 이런 걸 따지지 말고 그냥 비지니스 가치로 순서를 정하라고 한다. --JuNe''
         Total 6.5 TP. 실제로 6.5 * 1.5 = 9.75 TP 걸릴것으로 예상. 하지만 Task 는 계속 작업하면서 추가되기에, 실제로는 더 걸리겠지. 하지만 현재 생각할 수 있는 한도내에서의 예측이라는 점에서 의미. (미지인 부분에 대해 미리 걱정하기엔 현재 일도 빠듯하기에) 계속 Update 시켜야 하겠지.
         || Documentation || 1.5 || . ||
         === To do Later ===
  • PyIde/Scintilla . . . . 7 matches
         configFileAbsolutePath = os.path.abspath("stc-styles.rc.cfg")
         STCStyleEditor.STCStyleEditDlg(stcControl, language, configFileAbsolutePath)
         GetCharAt(aPos)
         SetIndentationGuides(boolean)
         getStyleConfigPath()
         indent = GetLineIndentation(line)
         GetStyleAt(colonPos) not in [stc.wxSTC_P_COMMENTLINE,
  • PythonForStatement . . . . 7 matches
         Python 의 For Statement 에 관한 글입니다.
         python의 for statement 문법의 근원적인 차원으로 접근해 봅시다.
         for statement definition
         These represent finite ordered sets indexed by non-negative numbers. The built-in function len() returns the number of items of a sequence. When the length of a sequence is n, the index set contains the numbers 0, 1, ..., n-1. Item i of sequence a is selected by a[i].
         여기까지 알아 보시려면, Python Language Reference에서 sequence, for statement로 열심히 찾아 보시면 됩니다. 열혈강의 파이썬에도 잘 나와있습니다. 그리고 다음의 이야기들은 다른 언어를 좀 아시면 이해가실 겁니다.
         Java 1.5 에 advanced for statement 라는 이름으로 비슷한 것이 추가되었고, C#에는 언어가 탄생 될때 부터 있었습니다. Java 1.5에서는 수년간 논의 끝에 도입을 했는데, 언어에 녹이기 위해서는 Autoboxing/Unboxing과 편리성을 위해 Template과 같은 여러 필수불가결하고 복잡다난(?)한 개념이 함께 추가되었습니다.
  • RandomWalk/종찬 . . . . 7 matches
          int ** data = new int *[size];
          data[i] = new int [size];
          data[i][j]=0;
          data[x][y]++;
          if (data[i][j] ==0) {
          sum += data[c][d];
          cout << data[a][b] << "\t";
  • STL/set . . . . 7 matches
         set<int>::iterator i;
         set<int>::iterator i;
         for(set<int>::iterator i = s.begin() ; i != s.end() ; ++i) {
          int data[]={5,5,5,5,63,3,3,3,6,5};
          set<int> s(&data[0], &data[10]);
          for(set<int>::iterator i = s.begin() ; i != s.end() ; ++i) {
  • SeminarHowToProgramIt . . . . 7 matches
          * ["CrcCard"] (Index Card -- The finalist of Jolt Award for "design tools" along with Rational Rose Enterprise Edition)
          * White Board -- Communicate with the Board
          * DesignPatterns -- ["디자인패턴"] 공부 절대로 하지 마라
          * What to Read -- Programmer's Reading List
          * 참관자(aka Spectator) : 그들을 구경할 사람. (이 분들은 이 팀과 저 팀은 어떻게 다르게 하더라, 그 팀은 뭐를 하고, 그 팀은 뭐를 안하더라, 그랬더니 나중에 요렇게 저렇게 고생을 하더라 등의 관찰을 하고, 토론시에 언급해 주시면 모두에게 도움이 되겠습니다)
         ||DesignPatterns ||4 ||
         ||Programmer's Journal, Lifelong Learning & What to Read||2 ||
  • SmithNumbers/조현태 . . . . 7 matches
         unsigned int Creat_base_and_process(unsigned int number);
          int number_simulation;
          scanf("%d",&number_simulation);
          for (;number_simulation>0;--number_simulation)
          printf("결과 : %d\n",Creat_base_and_process(minimum_number+1));
         unsigned int Creat_base_and_process(unsigned int number)
  • TheJavaMan/스네이크바이트 . . . . 7 matches
          public boolean EatApple(Board aBoard)
          public static void main(String[] args) throws IOException{
          if(tSnake[0].EatApple(board))
          public void update(Graphics g){
          buff=createImage(getWidth(), getHeight());
          static int count = 0;
          public static void main(String[] args) throws InterruptedException{
  • WikiNature . . . . 7 matches
         The WikiNature is typing in a bunch of book titles and coming back a day later and finding them turned into birds in the Amazon.
         Really, it's not accurate to talk about a WikiNature, we would do better recognizing that Nature itself, is Wiki.
         See http://www.c2.com/cgi/wiki?WikiNature for more.
  • XpQuestion . . . . 7 matches
         - '필요하면 하라'. XP 가 기본적으로 프로젝트 팀을 위한 것이기에 혼자서 XP 의 Practice 들을 보면 적용하기 어려운 것들이 있다. 하지만, XP 의 Practice 의 일부의 것들에 대해서는 혼자서 행하여도 그 장점을 취할 수 있는 것들이 있다. (TestDrivenDevelopment, ["Refactoring"], ContinuousIntegration,SimpleDesign, SustainablePace, CrcCard Session 등. 그리고 혼자서 프로그래밍을 한다 하더라도 약간 큰 프로그래밍을 한다면 Planning 이 필요하다. 학생이다 하더라도 시간관리, 일거리 관리는 익혀야 할 덕목이다.) 장점을 취할 수 있는 것들은 장점을 취하고, 지금 하기에 리스크가 큰 것들은 나중에 해도 된다.
         === XP 에서의 Documentation 은 너무 빈약하다. ===
         - 어차피 실제 고객에게 가치를 주는 중요한 일만을 하자가 목적이기에. Documentation 자체가 중요한 비즈니스 가치를 준다던가, 팀 내에서 중요한 가치를 준다고 한다면 (예를 들어서, 팀원중 몇명이 항시 같이 작업을 할 수 없다던지 등등) Documentation 을 EngineeringTask 에 추가하고 역시 자원(시간)을 분배하라. (Documentation 자체가 원래 비용이 드는 일이다.)
         실제 회사 : 회사 로 수주받은 프로젝트의 경우, 다른 회사에서 오는 '고객' 은 실제로 그 회사에서의 말단 직원인 경우가 많다. 그러므로, 매 Iteration 시 고객에게 Story 를 골라달라고 할때 그 고객은 힘이 없다.
         - ["1002"] 가 ProjectPrometheus 를 할때엔 거의 전체 작업을 Pair로 진행했다. Integration 비용이 전혀 들지 않았다. (두명이 멤버였으니; 당근!) 그리고 초기 소스와 지금 소스중 초기 모습이 남아있는 부분을 보면 '젠장. 왜 이렇게 짠거야? 이런 허접한...' 이다. 중복된 부분도 많고, 매직넘버도 남아있고, 처음엔 쓸거라 생각했던 일종의 어뎁터 역할을 하는 클래스는 오히려 일만 복잡하게 만들고 등등.
  • ZeroPageServer/SubVersion . . . . 7 matches
         What's New in Subversion 1.2
          http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
         2. puttygen 을 실행. generate를 눌러서 키를 우선 만든다.
          keyphrase 는 주의해서 만들어야한다. 이는 private-key에 암호를 부여하는 기능으로 키파일이 악의적
         5. Save Private Key 룰 눌러서 키를 저장한다.
          {{{~cpp RSAAuthentication yes}}}[[HTML(<BR/>)]]
          {{{~cpp PubkeyAuthentication yes}}}[[HTML(<BR/>)]]
  • ZeroPageServer/old . . . . 7 matches
         || [ZeroPageServer/FixDate] || 시간맞추기 ||
         || [ZeroPageServer/UpdateUpgrade] || 서버 관리자가 일주일에 한번씩 맘편히 해줄것 ||
          * 이유는 2.2의 dospath 모듈 이름이 2.3에서 ntpath 로 완전히 변경되었기 때문이다. 예상치 못한 부분에서 에러가 발생하였는데, 조금더 작은 발걸음이 필요했다.
          * UploadFile 의 webpath가 이상했는데, 해당 스크립트의 구조적 생각의 차이라서 고쳤다.
          * 방법은 알아냈고, 간단히만 적용시켜 두었음. ~/data/editlog 만 적절히 변경시켜주면된다.
          * 현제 ZP서버가 php랑 mysql이 연동이 안되는것 같은데.. 해결좀... - ecmpat
  • ZeroPageServer/set2005_88 . . . . 7 matches
          * [http://www.zeropage.org/server-status apache status], [http://www.zeropage.org/jkstatus jk status], [http://www.zeropage.org:8080/manager/html tomcat manager], [http://www.zeropage.org:8080/admin/ tomcat administrator]
  • [Lovely]boy^_^/ExtremeAlgorithmStudy/MathematicalFoundations . . . . 7 matches
         = Mathematical Foundations =
          * 빅오, 세타, 시그마 notation 등등.. 넘기다 보니 스몰오, w(오메가)이런것도 있다.
          * 수열(Series), 급수(Summation), 수학적 귀납법(Mathematical induction), ... 이건 좀 생소해 보이는데.. 무슨 수렴성 판정하는거 같다.(Bounding the terms), 적분
  • django/ModifyingObject . . . . 7 matches
         = insert & update =
         SQL문에서는 insert into values 구문을 이용해 레코드를 삽입하고, update set where 구문을 이용해 레코드를 수정한다. 하지만 django는 이 둘을 하나로 보고 데이터베이스에 레코드를 삽입하고 갱신하는 작업을, 모델로 만든 객체를 저장(save)하는 것으로 추상화했다. 기본적으로 모델클래스는 save메소드를 가진다. 따라서 개발자가 작성한 모델도 save메소드를 가지며, 이는 오버라이딩 할 수 있다. 아래 예에서 보듯이 save 메소드는 새로만든 레코드 필드의 속성에 따라서 적당히 삽입과 갱신 작업을 수행한다.
         e.save() # update
          # First, try an UPDATE. If that doesn't update anything, do an INSERT.
          # If it does already exist, do an UPDATE.
          cursor.execute("UPDATE %s SET %s WHERE %s=%%s" % \
          # If the PK has been manually set, respect that.
          # Create a new record with defaults for everything.
  • html5/offline-web-application . . . . 7 matches
          * applicationCache 속성을 참조하여 JavaScript에서 어플리케이션 캐시에 액세스 할 수 있다.
          * 'window.applicationCache', 또는 'applicationCache'
          * status
         || UPDATEREADY ||최신 캐시를 이용할 수 있음 ||
          * update()
         || noupdate ||메니페스트가 업데이트되지 않음 ||
         || updateready ||최신 캐시 얻기 완료. swapCache()를 호출할 수 있음 ||
  • 데블스캠프2011/넷째날/Android/송지원 . . . . 7 matches
          /** Called when the activity is first created. */
          public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          android:orientation="vertical"
          android:orientation="horizontal"
  • 데블스캠프2013/둘째날/API . . . . 7 matches
          while ($data = mysql_fetch_row($q)) {
          $id = $data[0];
          $name = $data[1];
          $text = $data[2];
          $ip = $data[3];
          echo '<script>alert("내용이 없습니다."); location.href="index.php";</script>';
          echo '<script>alert("등록되었습니다."); location.href="index.php";</script>';
  • 로그인없이ssh접속하기 . . . . 7 matches
         Generating public/private rsa key pair.
         Created directory '/home/a/.ssh'.
         Your identification has been saved in /home/a/.ssh/id_rsa.
         a@A:~> cat .ssh/id_rsa.pub | ssh b@B 'cat >> .ssh/authorized_keys'
          * A에서 B 서버로 접속하기 위해서 는 A 에서 private_key 인 id_rsa 가 꼭 있어야 하고, 이것의 public_key 가 해당 B 서버의 authorized_keys 안에 추가되어 있어야 한다. authorized_keys 안에는 여러개를 넣을 수 있다.
  • 마름모출력/문보창 . . . . 7 matches
         def show_up_triangle(pattern, size):
          print pattern * (i * 2 + 1)
         def show_down_triangle(pattern, size):
          print pattern * ((size-i) * 2 + 1)
          pattern = raw_input()
          show_up_triangle(pattern, size)
          show_down_triangle(pattern, size)
  • 문자반대출력/김정현 . . . . 7 matches
          private Formatter output;
          catch(IOException ioException)
          output = new Formatter(name);
          catch(IOException ioException)
          charArray[count]=text.charAt(text.length()-count-1);
          output.format(text);
          public static void main(String args[])
  • 문제풀이/1회 . . . . 7 matches
         Equivalent to eval(raw_input(prompt)). Warning: This function is not safe from user errors! It expects a valid Python expression as input; if the input is not syntactically valid, a SyntaxError will be raised. Other exceptions may be raised if there is an error during evaluation. (On the other hand, sometimes this is exactly what you need when writing a quick script for expert use.)
         If the readline module was loaded, then input() will use it to provide elaborate line editing and history features.
          ==== Using Iteration ====
          ==== Using Generator for input ====
          이런 경우를 개선하기 위해서 map 함수가 있는것입니다. 이를 Haskell에서 차용해와 문법에 내장시키고 있는 것이 List Comprehension 이고 차후 [http://www.python.org/peps/pep-0289.html Genrator Expression]으로 확장될 예정입니다. 그리고 print 와 ,혼용은 그리 추천하지 않습니다. print를 여러번 호출하는것과 동일한 효과라서, 좋은 컴퓨터에서도 눈에 뜨일만큼 처리 속도가 늦습니다. --NeoCoin
  • 삼총사CppStudy/20030806 . . . . 7 matches
          * Visual Assist[http://www.wholetomato.com/downloads/index.shtml]
         private:
          CVector operator+(CVector a);
         ostream & operator<<(ostream &os, CVector &a);
         CVector CVector::operator+(CVector a)
         ostream & operator<<(ostream & os, CVector &a)
          CVector v3 = v1.operator +(v2);
  • 새싹교실/2011/데미안반 . . . . 7 matches
          * ||Application||DB||그래픽스||네트워크||
          * 실수(float)를 2개 입력받아(scanf), 앞서 받은 값이 뒤의 값보다 크면 정상작동, 아니면 오류를 출력하도록 해보자(assert)
          float val1,val2;
          // 그리고 float이란 실수를 정의해 주는건가요???
         char, int, float, double의 서식문자를 암기하도록 노력하겠습니다.
          * global, local, static, register
          * [박성국] - ^오늘은 함수에 대해서 자세히 배우고 그에 필요한 지식인 지역변수 전역변수 static변수에 대해 자세히 배웠습니다.^ 하나하나 배우면서 C언어어에 대한 자신감을 가졌습니다. 특히 Recursive function에 대해 정확한 이해를 통하여 활용할 수 있게 되었습니다. 항상 스펀지같이 쏙쏙 머리속에 들어오는 수업 감사합니다.
  • 소수구하기 . . . . 7 matches
         '''문제정의 1'''의 50000이하 소수를 구하는 소스중 남훈이의 소스에서 제곱근 연산을 넣고, 모든 인자를 static, 컴파일러 옵션을 최대로해서 돌렸다. 출력은 필요 없으므로, 시간과 갯수만 출력한다. (Duron 800 MS VS.NET 2003)
         #include <math.h>
         static int primeArr[1*DECIMAL] = {2, };
         static int i, j, flag, primeArr_p, limit, count = 0;
         static time_t start, end;
         723만자리짜리 소수가 발견되었다네요 [http://ucc.media.daum.net/uccmix/news/foreign/others/200406/08/hani/v6791185.html?u_b1.valuecate=4&u_b1.svcid=02y&u_b1.objid1=16602&u_b1.targetcate=4&u_b1.targetkey1=17161&u_b1.targetkey2=6791185&nil_profile=g&nil_NewsImg=4 관련기사] - [임인택]
  • 알고리즘8주숙제 . . . . 7 matches
         Given the denominations of coins for a newly founded country, the Dairy Republic, and some monetary amount, find the smallest set of coins that sums to that amount. The Dairy Republic is guaranteed to have a 1 cent coin.
         Give a greedy method, which is heuristic, to solve the 0/1 knapsack problem and also give an example to show that it does not always yield an optimal solution.
         Find X<sub>1</sub>, X<sub>2</sub>, ..., X<sub>n</sub>, 0 ≤ X<sub>i</sub> such that
         Consider the problem of scheduling n jobs on one machine. Describe an algorithm to find a schedule such that its average completion time is minimum. Prove the correctness of your algorithm.
         || 김상섭 || 엄청 || [AproximateBinaryTree/김상섭] ||
  • 웹에요청할때Agent바꾸는방법 . . . . 7 matches
         # @date 2007-02-14
          req.add_header('User-Agent', 'Mozilla/4.0 (compatible; MSIE 5.5; Windows NT)')
          data = f.read()
          data = ""
          return data
          data = extractor.getTextFromMSDN()
          f.write(data)
  • 임베디드방향과가능성/정보 . . . . 7 matches
         이제 제 개인적인 생각을 말씀드리죠. 먼저 임베디드 시스템이 쓰이는 용도에 대해 조금 시야가 좁으신 것 같습니다. 적어도 집에 PC가 설치되어 있는 곳에서 손쉽게 PC로 할 수 있는 일은 절대로 임베디드 기기로 나오지 않겠죠. 그리고 임베디드 기기에 "하드 달고 모니터 달고 USB니 뭐니 다 달고나면.."을 하면 절대 안됩니다. 이러면 이미 임베디드 기기가 이니고 general한 pc입니다. 임베디드 기기는 말그대로 application specific, implementation specific한 경우에만 그 의미를 가지죠. 이러한 분야는 적어도 당분간은 general한 tool(님 말씀처럼 visual한 tool들)이 사용될 수 없습니다. 그리고 최근 유행하는 embedded linux의 경우는 더 요원하죠.
         둘째로 기술적으로 말씀드리죠. pc의 경우는 application만 하면 됩니다. 그 좋은 visual tool들이 hw specific한 부분과 커널 관련한 부분은 다 알아서 처리해 줍니다. 하지만 임베디드 분야는 이 부분을 엔지니어가 다 알아서 해야 하죠. pc의 경우 windows를 알 필요없지만 임베디드 엔지니어는 os kernel을 만드시 안고 들어가야 합니다. 이 뿐만 아니라 application specific/implementation specific하기 때문에 해당 응용분야에 대한 지식도 가지고 있어야 하며/ 많은constraint 때문에 implementation 할 때hw/sw에 관한 지식도 많아야 하죠. 경우에 따라서는 chip design 분야와 접목될 수도 있습니다.(개인적으로 fpga 분야가 활성화 된다면 fpga도 임베디드와 바로 엮어질거라 생각합니다. 이른바 SoC+임베디드죠. SoC가 쓰이는 분야의 대부분 곧 임베디드 기기일 겁니다. ASIC도 application specific하다는 점에서 임베디드 기기와 성질이 비슷하고 asic의 타겟은 대부분 임베디드 기기입니다.) 대부분의 비메모리 반도체칩은 그 용도가 정해져있으며, 비메모리 반도체를 사용하는(혹은 설계하는 사람)을 두고 임베디드 엔지니어라 할 수 있죠. 사실 임베디드는 범위가 매우 넓기 때문에 한가지로 한정하기 힘듭니다.
  • 전문가되기세미나 . . . . 7 matches
         === Deliberate Practice ===
          * appropriate difficulty
          * informative feedback
          * Osmotic Communication
          * Technical Environment with Automated Tests, Configuration Management, and Frequent Integration
  • 조영준 . . . . 7 matches
          * Application
          * 커뮤니티 오픈 캠프 인 마소 참여 https://twitter.com/YeongjunC/status/718603240040837120
          * 동네팀 - 신동네 프로젝트 [http://caucse.net], DB Migration 담당
          * 설계패턴 TeamProejct https://github.com/SkywaveTM/wiki-path-finder
          * ["정모/2014.12.3" 12월 3일 OMS]: Design Patterns
          * Wiki Path Finder (wikipedia api를 이용한 두 단어간의 연관성 추정, 2014년 2학기 자료구조설계 팀 프로젝트)
          * 2015년 설계패턴 팀 프로젝트의 기반 프로젝트가 됨. https://github.com/SkywaveTM/wiki-path-finder
  • 컴퓨터공부지도 . . . . 7 matches
         'What' 의 영역과 & 'How' 의 영역.
         === Windows Programming (Windows Platform Programming) ===
         GUI Programming 을 하면서 익힐 수 있는 소중한 개념으로서 Event Driven Programming, Design 으로는 CompositePattern 이 있다. 대부분의 GUI Framework 들은 Event Driven Style 의 프로그래밍 방식이며, 대부분 CompositePattern 을 이용한다. Framework 들의 디자인 개념들이 비슷하므로, 하나의 GUI 관련 Framework 에 익숙해지면 다른 Framework 도 쉽게 익힐 수 있다.
          * 개인적 충고 : MFC 를 선택했다면, Code Generator 가 만들어주는 코드를 제대로 이해하라.; MFC 책으로는 Jeff Prosise 의 책을 추천. --["1002"]
         See Also HowToStudyXp, HowToReadIt, HowToStudyDataStructureAndAlgorithms, HowToStudyDesignPatterns, HowToStudyRefactoring
  • 토비의스프링3/밑줄긋기 . . . . 7 matches
          * Context는 전달받은 그 Strategy 구현 클래스의 오브젝트를 사용한다.
          * hamcrest.CoreMatchers에 대해서 : CoreMatcher로 테스트 코드를 만들 때 null 값은 비교나 not을 사용하는 것이 불가능합니다(ex. assertThat(tempObject, is(null)); -> 에러). 이건 null이 값이 아니기 때문인데, CoreMatcher에서 null 값을 쓸 때는 org.hamcrest.CoreMatchers의 notNullValue()와 nullValue()를 사용하시면 되겠습니다. http://jmock.org/javadoc/2.5.1/org/hamcrest/CoreMatchers.html
  • 파이썬으로익스플로어제어 . . . . 7 matches
         from win32com.client import Dispatch
         ie = Dispatch("InternetExplorer.Application")
         ie.Navigate("http://zeropage.org")
         ie.Navigate("http://zeropage.org/wiki/RecentChange")
          IE Automation 을 이용한 것이므로, firefox 나 opera 의 경우는 다른 방법을 이용해야겠죠. --[1002]
          * 파이썬 인간적으로 너무 쉽네요. 우린 c++/mfc/atl/com으로 하고있는데 - [ljh131]
  • 프로그래밍/DigitGenerator . . . . 7 matches
         public class DigitGenerator {
          private static int processOneCase(String line) {
          if (each.matches("")) {
          public static void main(String[] args) {
          } catch (FileNotFoundException e) {
          } catch (IOException e) {
  • 05학번만의C Study/숙제제출1/이형노 . . . . 6 matches
         float tofah(float );
          float cel; //섭씨온도
          float fah; //화씨온도
         float tofah(float cel)
  • 05학번만의C++Study/숙제제출1/이형노 . . . . 6 matches
         float tofah(float );
          float cel; //섭씨온도
          float fah; //화씨온도
         float tofah(float cel)
  • 3DGraphicsFoundation . . . . 6 matches
          * 수학함수 모듈 인터페이스 예제 - C style : ["3DGraphicsFoundation/MathLibraryTemplateExample"]
          * 상협 ["3DGraphicsFoundation/SolarSystem"] : 역동하는 태양계.. 또는 엽기 태양계.. ㅡㅡ;;
          * 인수 ["3DGraphicsFoundation/INSU/SolarSystem"] : 아무 생각없이 도는 태양계 뭔가 좀 이상하다는--;
          * ["3DGraphicsFoundationSummary"]
  • 3N+1/임인택 . . . . 6 matches
          head (List.sortBy (flip compare) (gatherCycleLength (head fromto) (head (tail fromto)) []) )
         gatherCycleLength num to gathered =
          then gathered
          else gatherCycleLength (num+1) to ( gathered ++ [doCycle num 1])
  • ACE/CallbackExample . . . . 6 matches
          ACE_Log_Priority prio = ACE_static_cast(ACE_Log_Priority, msg_severity);
          ACE_CString data(">> ");
          data += ACE_TEXT_ALWAYS_CHAR(log_record.msg_data());
          cerr << "\tMsgData: " << data.c_str() << endl;
  • AncientCipher/강소현 . . . . 6 matches
         == Status ==
          public static void main(String[] args){
          private static boolean compare(char[] c, char[] p) {
          private static boolean find(int[] cSpread, int pWord, boolean[] check) {
  • BusSimulation/영창 . . . . 6 matches
         Compiler : VS.net - native cl
         [[NewWindow("http://zeropage.org/cvs/bus_simulation/?root=sapius&rev=7", "최초 동작 버전")]]
         [[NewWindow("http://zeropage.org/cvs/bus_simulation/?root=sapius&rev=8", "station, bus 객체의 people의 승탑 메소드 구현")]]
         [[NewWindow("http://zeropage.org/cvs/bus_simulation/?root=sapius", "탑승하차상황 가정 버전")]]
          왜 OOP적 접근법이 필요한지 약간 감이 잡힌다고 해야할까? 이런 현실의 내용을 simulation 하기에는 structured programming의 접근법으로는 참 다루기가 힘든점들이 많을 것 같다. - [eternalbleu]
  • C 스터디_2005여름/학점계산프로그램/김태훈김상섭 . . . . 6 matches
          for(vector<double>::iterator i=score.begin();i !=score.end();++i)
         private:
         void getdata(vector<Score>& ban,const char* filename);
          getdata(ban,"input.txt");
          for(vector<Score>::iterator i=ban.begin();i!=ban.begin()+ban.size()/10;++i)
         void getdata(vector<Score>& ban,const char* filename){
  • CPP_Study_2005_1/Basic Bus Simulation/김태훈 . . . . 6 matches
          float buspos(const int min,const int lanelen) {
          float hour = ((float)min)/60.0;
          float pos;
         private:
          for(vector<cbus>::iterator j=vbus.begin();j<vbus.end();++j)
  • CodeCoverage . . . . 6 matches
          * StatementCoverage - 각 소스 코드 각 라인이 테스트 시에 실행되는가?
          * PathCoverage - 주어진 코드 부분의 가능한 모든 경로가 실행되고, 테스트 되는가? (Note 루프안에 가지(분기점)를 포함하는 프로그램에 대하여 코드에 대하여 가능한 모든 경로를 세는것은 거의 불가능하다. See Also HaltingProblem[http://www.wikipedia.org/wiki/Halting_Problem 링크] )
         CodeCoverage 는 최종적으로 퍼센트로 표현한다. 가령 ''우리는 67% 코드를 테스트한다.'' 라고 말이다. 이것의 의미는 이용된 CodeCoverage 에 대한 얼마만큼의 의존성을 가지는가이다. 가령 67%의 PathCoverage는 67%의 StatementCoverage 에 비하여 좀더 범위가 넓다.
         See also: RegressionTesting, StaticCodeAnalysis
          * http://www.validatedsoftware.com/code_coverage_tools.html : Code Coverage Tool Vender 들
  • ComputerNetworkClass/Report2006/PacketAnalyzer . . . . 6 matches
          WSADATA wsd;
          ValidateArgs(argc, argv);
          // Create a raw socket for receiving IP datagrams
          // Start receiving IP datagrams until interrupted
         아마도 listen, accept 가 패킷 필터링을 하는 것으로 보이는데 dst 상관없이 무조겁 application 까지 올라오니깐 필요없는 것이 아닐까? 그런 생각하고 있음. -_- - [eternalbleu]
         float 4 bytes
  • ContestScoreBoard/차영권 . . . . 6 matches
         void InputInformation(Team *team, bool *joined);
          InputInformation(team, joined);
         void InputInformation(Team *team, bool *joined)
          char state;
          cin >> teamNumber >> problemNumber >> timePenalty >> state;
          switch (state)
  • CppStudy_2002_1/과제1/Yggdrasil . . . . 6 matches
          char testing[]="Reality isn't what it used to be.";
         template<class T>
         template<class T>
         template<class T>
         template<class T>
         template<class T>
  • CrackingProgram . . . . 6 matches
         00401362 call @ILT+370(std::operator<<) (00401177)
         00401373 call @ILT+55(std::operator>>) (0040103c)
         0040139F call @ILT+370(std::operator<<) (00401177)
         004013A9 call @ILT+295(std::basic_ostream<char,std::char_traits<char> >::operator<<) (0040112c)
         004013BF call @ILT+370(std::operator<<) (00401177)
         004013C9 call @ILT+295(std::basic_ostream<char,std::char_traits<char> >::operator<<) (0040112c)
  • CxImage 사용 . . . . 6 matches
         4. Set->C/C++ ->Category 에서 Preprocessor 선택
         BOOL CCxDoc::OnOpenDocument(LPCTSTR lpszPathName)
          if (!CDocument::OnOpenDocument(lpszPathName))
          // TODO: Add your specialized creation code here
          m_pImage->Load(lpszPathName, CxImage::FindType(lpszPathName));
  • DPSCChapter5 . . . . 6 matches
         = Behavioral Patterns =
         '''Command(245)''' Encapsulate a request or operation as an object, thereby letting you parameterize clients with different operations, queue or log requests, and support undoable operations.
         '''Command(245)''' 는 요청(request)이나 명령(operation)을 object로서 캡슐화시킨다. 그러함으로써 각각 다른 명령을 가진 클라이언트들을 파라미터화 시키고, 요청들을 queue에 쌓거나 정렬하며, 취소가능한형태의 명령들을 지원한다.
  • DataStructure/String . . . . 6 matches
          || pattern || a || b || c || a || b || c || a || c || a || b ||
          f(j) = largest i such that i < j and 문자열의 0 ~ i번째 = 문자열의 (j - i) ~ j번째, if such an i exists
          j = 5 일때, pattern = abcabc 여기서 [[HTML(<b><font color=red>)]]abc[[HTML(</font></b>)]][[HTML(<b><font color=blue>)]]abc[[HTML(</font></b>)]]이므로 i = 2이고 i < j이므로 f(5) = 2
          j = 4 일때, pattern = abcab 여기서 [[HTML(<b><font color=red>)]]ab[[HTML(</font></b>)]]c[[HTML(<b><font color=blue>)]]ab[[HTML(</font></b>)]]이므로 i = 1이고 i < j 이므로 f(4) = 1
          j = 3 일때, pattern = abca 여기서 [[HTML(<b><font color=red>)]]a[[HTML(</font></b>)]]bc[[HTML(<b><font color=blue>)]]a[[HTML(</font></b>)]]이므로 i = 0이고 i < j 이므로 f(3) = 0
         DataStructure
  • DevelopmentinWindows . . . . 6 matches
          * Native 서브시스템 - 디바이스 드라이버 운영
          * 윈도우즈 API (Application Program Interface)
          * MFC (Microsoft Foundation Class library)
          * Static-Link Library[[BR]]
          ||FLOAT||float||
          * 윈도우를 만드는 함수는 CreateWindow, 메시지를 보내는 함수는 SendMessage
  • DirectDraw/APIBasisSource . . . . 6 matches
          wc.hIcon = LoadIcon( NULL, IDI_APPLICATION );
          hWnd = CreateWindowEx( 0, "DXTEST", "DXTEST",
          UpdateWindow(hWnd);
          // Translate and dispatch the message
          TranslateMessage( &msg );
          DispatchMessage( &msg );
  • DoWeHaveToStudyDesignPatterns . . . . 6 matches
         우리(컴퓨터공학과 학부생)가 DesignPatterns를 공부해야만 하거나 혹은 할 필요가 있을까?
         제 개인적인 의견으로는, 다른 것들과 마찬가지로 뭐든지 공부한다고 해서 크게 해가 되지는 않겠지만(해가 되는 경우도 있습니다 -- 다익스트라가 BASIC을 배워 본 적이 있는 학생은 아예 받지 않았다는 것이 한 예가 될까요?) 공부해야 할 필요가 있겠는가라는 질문에는 선뜻 "그렇다"고 답하기가 쉽지 않습니다. 여기에는 몇가지 이유가 있습니다. (제 글을 "DesignPatterns를 공부하지 마라"는 말로 오해하지는 말아 주기 바랍니다)
         우선 효율성과 순서의 문제입니다. DesignPatterns는 이미 해당 DesignPatterns를 자신의 컨텍스트에서 나름대로 경험했지만 아직 인식하고 있지는 않는 사람들이 공부하기에 좋습니다. 그렇지 않은 사람이 공부하는 경우, 투여해야할 시간은 시간대로 들고 그에 비해 얻는 것은 별로 없습니다. 어찌 보면 아이러니칼하지만, 어떤 디자인 패턴을 보고 단박에 이해가 되고 "그래 바로 이거야!"라는 생각이 든다면 그 사람은 해당 디자인 패턴을 공부하면 많은 것을 얻을 겁니다. 하지만, 잘 이해도 안되고 필요성도 못 느낀다면 지금은 때가 아니라고 생각하고 책을 덮는 게 낫습니다. 일단은 다양한 프로그램들을 "처음부터 끝까지" 개발해 보는 것이 중요하지 않나 생각합니다. (see also [WhatToProgram])
         다음은 우선성의 문제입니다. 과연 DesignPatterns라는 것이 학부시절에 몇 달을 투자(실제로 제대로 공부하려면 한 달로는 어림도 없습니다)할만 한 가치가 있냐 이거죠. 기회비용을 생각해 봅시다. 좀 더 근본적인 것(FocusOnFundamentals)을 공부하는 것은 어떨까요?
  • EightQueenProblem/밥벌레 . . . . 6 matches
          private
          { Private declarations }
          { Public declarations }
         implementation
          repeat
  • EnglishSpeaking/2011년스터디 . . . . 6 matches
          * 참고 도서 : 한 달 만에 끝내는 OPIc (학생편/Intermediate) - 원글리쉬
          * There are four members in my family: my father, mother, and a younger brother. Well, actually there are five including our dog. My father was a military officer for twenty years. He recently retired from service and now works in a weaponry company. My mother is a typical housewife. She takes care of me and my brother and keeps our house running well. My brother is attending a university in the U.S.A. He just entered the university as a freshman and is adjusting to the environment. I miss the memory of fighting over things with him. The last member of my family is my dog named Joy. She is a Maltese terrier and my mother named her Joy to bring joy into our family. That's about it for the introduction of my family members.
          * [김수경] - 오늘 처음으로 심슨 대사를 따라해봤습니다. 지원언니께서 네명이 같이 연습할만한 장면들을 미리 골라두셨는데 막상 오늘 온 사람이 두명이라 다른 장면을 연습했습니다. 40초도 채 안 되는 짧은 대화인데 참 어렵더라구요. 한 문장씩 듣고 따라하고, 받아쓰기도 하고, 외워서 해보는 등 한 장면을 가지고 여러번 연습한 것은 매우 좋았습니다. ''You tell me that all the time.''이나 ''Let me be honest with you.''가 어려운 문장은 아니지만 막상 말하려면 딱 생각이 안 났을 것 같은데 오늘 이후로는 좀 더 유려하게 말할 수 있을 것 같아요. 앞으로 매주 진행하면 이런 표현들이 늘어나겠죠 ㅋㅋㅋ
  • EnglishSpeaking/TheSimpsons/S01E01 . . . . 6 matches
          * 내용 : 리사, 바트가 산타클로스로부터 원하는 선물을 하나씩 말하고 처형인 Patty로부터 전화가 온다.
          * Lisa, Patty
         Marge : You tell me that all the time.
         Homer : I don't deserve you as much as a guy with a fat wallet...and a credit card that won't set off that horrible beeping.
  • FromCopyAndPasteToDotNET . . . . 6 matches
          * [http://zeropage.org/~lsk8248/wiki/Seminar/FromCopyAndPasteToDotNET/ATLCOMExample.zip ATLCOMExample]
          * [http://msdn.microsoft.com/library/en-us/dnolegen/html/msdn_aboutole.asp What OLE Is Really About]
          * [http://msdn.microsoft.com/library/en-us/winui/winui/windowsuserinterface/dataexchange/dynamicdataexchange/aboutdynamicdataexchange.asp About Dynamic Data Exchange]
          * [http://msdn.microsoft.com/library/en-us/dnautoma/html/msdn_ole2auto.asp Automation for OLE 2.0]
  • GUIProgramming . . . . 6 matches
         = Windows Platform =
         Related) [MicrosoftFoundationClasses]
         = x-window platform =
         = Cross Platform =
         자바로 작성된 프로그램에서 기본적으로 이용하는 API이다. 플랫폼에 독립적으로 제작된 툴킷이지만 내부 구현 상 플랫폼에서 제공하는 함수를 아주 낮은 수준의 추상화된 형태로만 제공하기 때문에 자바의 Platform-independable의 특성을 충분히 만족할 만한 수준은 못된다.
  • HelpOnAdministration . . . . 6 matches
          * HelpOnInstallation - 설치하려면
          * HelpOnConfiguration - 설정하려면
          * HelpOnUpdating - 예전에 설치된 것을 새로운 버전으로 업데이트 하려면
          * HelpOnCvsInstallation - CVS로부터 다운받아서 설치하려면
         [[Navigation(HelpOnAdministration)]]
  • HelpOnLists . . . . 6 matches
         See also ListFormatting, HelpOnEditing.
         And if you put asterisks at the start of the line
         Variations of numbered lists:
         And if you put asterisks at the start of the line
         Variations of numbered lists:
         [[Navigation(HelpOnEditing)]]
  • HelpOnProcessingInstructions . . . . 6 matches
          * {{{#format}}} ''format-지정자'': 페이지의 포맷을 지정합니다. {{{#!}}}로 시작되는 경우는 공백 없이 바로 포맷-지정자를 씁니다.
          * {{{#redirect}}} ''페이지이름'': 다른 페이지로 이동 (MeatBall:PageRedirect''''''참조)
          * {{{#!}}}''프로세서-이름'': {{{#format}}} ''formatter''와 같다. 예) {{{#!vim}}}
          * {{{#postfilter}}} ''filter1'' | ''filter2'': apply PostFilters (v1.1.1 or later)
         See also MoniWikiProcessors for more complete supported {{{#FORMAT}}} list.
  • HolubOnPatterns . . . . 6 matches
          * [http://www.yes24.com/24/Goods/2127215?Acode=101 Holub on Patterns: 실전 코드로 배우는 실용주의 디자인 패턴] - 번역서
          * [http://www.yes24.com/24/goods/1444142?scode=032&OzSrank=1 Holub on Patterns: Learning Design Patterns by Looking at Code] - 원서
          * [DesignPatterns/2011년스터디]
          * [HolubOnPatterns/밑줄긋기]
  • IndexedTree/권영기 . . . . 6 matches
         #include<cmath>
         void update_BinaryIndexedTree(int *tree, int address, int item, int *n)
         private:
          void update(int address, int item, int key);
         void IndexedTree::update(int address, int item, int key){
          update(i, f[i], 0);
  • IpscLoadBalancing . . . . 6 matches
         #format python
         from __future__ import generators
          for data,answer in self.l:
          actual=getRounds(data)
          data="""\
          self.assertEquals(expected,list(parseLines(data)))
  • JTD 야구게임 짜던 코드. . . . . 6 matches
          public static int makeFirstNumber(void)
          public static int makeSecondNumber(void)
          public static int makeThirdNumber(void)
          public static char checkNumbers(int number, int a)
          public static int userNumber(void)
          public static void main(String [] args)
  • JavaScript/2011년스터디/JSON-js분석 . . . . 6 matches
         if (typeof Date.prototype.toJSON !== 'function') {
          Date.prototype.toJSON = function (key) {
          f(this.getUTCDate()) + 'T' +
          * '\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4);
         //유니코드로 변환하는 과정 : .charCodeAt로 가져온 아스키코드를 toString(16)로 16진수 변환
          * 직렬화(Serialize, Serialization) 객체를 쉽게 옮길수 있도록 형태를 변환하는 과정
          * 역직렬화(Deserialize, Deserialization) 직렬화와 반대과정 즉 스트링에서 객체를 재구성
          * line 177 : Date.prototype.toJSON = function (key) 에서 key는 왜 넘겨주는가?
  • JavaStudy2003/두번째과제/노수민 . . . . 6 matches
          * 상태(state) : 객체가 가지고 있는 속성 또는 특성
          하나의 객체의 소스가 다른 소스와 무관하게 유지할 수 있고, 또 public이나 private 권한을 통해 정보에 대한 접근 정도를 설정할 수 있다.
          * private - 같은클래스 내에서만 접근가능
         [접근권한] static 변수 선언;
         [접근권한] static 메소드 선언;
          * private 접근지정자로 선언된 변수는 상속할 수 없고, 메소드는 상속 및 재정의 할 수 없다.
  • LUA_3 . . . . 6 matches
         예를 들면 for, while, repeat 가 있습니다. 하나씩 살펴보도록 하겠습니다. 우선 가장 많이 쓰이는 for문 부터 보겠습니다.
         마지막으로 repeat 문을 살펴 보겠습니다. repeat는 C의 do~while과 유사합니다. 하지만 다른 점이 있습니다. 우선 while 문과 달리 꼭 한 번은 실행 된다는 점, 그리고 조건이 거짓일 동안 반복 된다는 점, 그리고 마지막으로 do ~ end 블록이 아니라 repeat ~ until 로 구성 되어 있다는 점 입니다. 문법은 아래와 같습니다.
         [ repeat 조건이 거짓일 경우에 반복 될 명령문 until 조건 ]
         > repeat
  • LazyInitialization . . . . 6 matches
         == Lazy Initialization ==
         ExplicitInitialization의 모든 장점은 단점으로, 단점은 장점으로 된다. 당연하다.(--;)
         LazyInitialization의 하나의 변수당 두개의 메소드로 나눠서 초기화를 한다. 하나는 변수가 LazyInitialization되는 것을 감추어 주는 getter이고, 다른 하나는 변수에다 디폴트값으로 할당을 해줄 DefaultValueMethod이다. 이 방법은 유연성이 증대된다. 당신이 서브클래스를 만든다면, DefaultValueMethod를 오버라이딩함으로써, 기능을 바꿀 수 있다. 전장에서도 언급했듯이 성능도 증대시킬 수 있다.
         별로 안쓸듯하지만... 켄트벡 왈 : 일단은 ExplicitInitialzation으로 출발을 하고, 상속될 거 같으면 LazyInitialization을 사용한다.
  • LightMoreLight/허아영 . . . . 6 matches
         I learned how to solve the Number of n's measure.. at a middle school.
         (index+1)s multiplication -> 2 * 2 = 4
          int state = 0;
          state = ~state;
          return state; // 마지막
  • LoveCalculator/zyint . . . . 6 matches
         #include <math.h>
          for(vector<string>::iterator i=instr.begin();i<instr.end();++i)
          float digit1,digit2;
          digit1 = (float)make1digit(getValue(*(i+1)));
          digit2 = (float)make1digit(getValue(*(i+0)));
         [LittleAOI] [LoveCalculator]
  • Metaphor . . . . 6 matches
         Choose a system metaphor to keep the team on the same page by naming classes and methods consistently. What you name your objects is very important for understanding the overall design of the system and code reuse as well. Being able to guess at what something might be named if it already existed and being right is a real time saver. Choose a system of names for your objects that everyone can relate to without specific, hard to earn knowledge about the system. For example the Chrysler payroll system was built as a production line. At Ford car sales were structured as a bill of materials. There is also a metaphor known as the naive metaphor which is based on your domain itself. But don't choose the naive metaphor unless it is simple enough.
  • MobileJavaStudy/HelloWorld . . . . 6 matches
          private Display display;
          private TextBox mainScreen = null;
          private Command exit;
          private Display display;
          private HelloWorldCanvas canvas;
          private Command exitCommand;
  • MobileJavaStudy/Tip . . . . 6 matches
          catch (IOException e) {
         {{{~cpp destoryApp}}} 메소드에는 {{{~cpp unconditional}}} 이라는 {{{~cpp boolean}}} 값이 있다. {{{~cpp MIDlet}}}이 더 이상 필요하지 않거나 종료되어야 할 때 {{{~cpp DestoryApp}}} 메소드가 호출되고 {{{~cpp MIDlet}}}이 {{{~cpp Destroyed}}} 상태로 들어가게 되는데, 만약 {{{~cpp MIDlet}}}이 중요한 과정을 수행중이라면 {{{~cpp MIDletStateChangeException}}}을 발생시켜 그 과정이 끝날때까지 {{{~cpp Destroyed}}} 상태로 가는 것을 막을 수 있다. 하지만 이런 요청도 상황에 따라 받아들여지지 않을 수 있는데, {{{~cpp unconditional}}} 이라는 값이 그 상황을 알려준다. {{{~cpp unconditional}}}이 {{{~cpp true}}} 인 경우에는
         {{{~cpp MIDletStateChangeException}}}을 발생해도 무시되는 상황이고, {{{~cpp false}}} 인 경우에는 {{{~cpp MIDletStateChangeException}}}을 발생하면 {{{~cpp Destroyed}}} 상태로 가는 것을 잠시 막을 수 있다.
         그러므로 {{{~cpp destroyApp}}} 메소드를 만들 때 {{{~cpp MIDletStateChangeException}}}을 사용해야 하게 된다면 {{{~cpp unconditional}}} 값에 따라 이 값이 {{{~cpp false}}}인 경우에만 {{{~cpp MIDletStatChangeException}}}을 사용하고 {{{~cpp true}}}인 경우는 무조건 {{{~cpp Destroyed}}} 상태로 가야하는 상황이므로 그 상황에 맞게 처리해 주면 된다.
  • MoinMoinDone . . . . 6 matches
         Things from MoinMoinTodo that got implemented.
          * Strip closing punctuation from URLs, so that e.g. (http://www.python.org) is recognized properly. Closing punctuation is characters like ":", ",", ".", ")", "?", "!". These are legal in URLs, but if they occur at the very end, you want to exclude them. The same if true for InterWiki links, like MeatBall:InterWiki.
  • MoniWiki . . . . 6 matches
         MoniWiki is a PHP based WikiEngine. WikiFormattingRules are imported and inspired from the MoinMoin. '''Moni''' is slightly modified sound means '''What ?''' or '''What is it ?''' in Korean and It also shows MoniWiki is nearly compatible with the MoinMoin.
         If you are familiar with the PHP Script language you can easily add features or enhancements.
         == MoniWiki:MoniWikiFeatures ==
  • NumberBaseballGame/영동 . . . . 6 matches
          int batter[3]={0,};
          batter[0]=input_1;
          batter[1]=input_2;
          batter[2]=input_3;
          if(pitcher[i]==batter[i])
          if(pitcher[i]== batter[j]){
  • OurMajorLangIsCAndCPlusPlus/2006.2.06/허준수 . . . . 6 matches
         private:
          void operator = (const myString& s) {
          char& operator[] (int n) {
          //friend ostream& operator << (ostream& o, myString &s);
         ostream& operator << (ostream& o, const myString& s) {
         istream& operator >> (istream& i, myString& s) {
  • OurMajorLangIsCAndCPlusPlus/print/이상규 . . . . 6 matches
          strncat(str, buf, dec);
          strcat(str, ".");
          strcat(str, &buf[dec]);
         void print(const char *format, ...)
          const char *c = format;
          va_start(args, format);
  • PragmaticVersionControlWithCVS/UsingTagsAndBranches . . . . 6 matches
         || [PragmaticVersionControlWithCVS/CommonCVSCommands] || [PragmaticVersionControlWithCVS/CreatingAProject] ||
         == Creating a Release Branch ==
         == Generating a Release ==
         [PragmaticVersionControlWithCVS]
  • ProgrammingContest . . . . 6 matches
         == Job Application ==
          ''Registeration 에서 Team Identifier String 받은거 입력하고 고치면 됨. --석천''
         === Strategy ===
         http://www.uwp.edu/academic/mathematics/usaco/ or http://www.usaco.org
         http://ace.delos.com/usacogate 에서 트레이닝 받을 수 있지요. 중,고등학생 대상이라 그리 어렵지 않을겁니다. ["이덕준"]은 ProgrammingContest 준비 첫걸음으로 이 트레이닝을 추천합니다.
  • ProgrammingLanguageClass/Exam2002_1 . . . . 6 matches
          * 대부분 우리가 쓰는 언어는 imperative language 이다. 왜 그럴까?
          * Compilation 과 pure interpretion 을 비교하시오.
          * Primitive Data Type 에 대해 정의하시오.
          * Floating Point 변수의 경우 해당 값에 대해 근사값만을 표현한다. 그 이유는 무엇인가?
          * 다른 Primitive Data Type 을 이용, 정확하게 Floating Point 를 구현할 방법이 있을까? (자신의 의견을 적으시오)
  • ProjectPrometheus/DataBaseSchema . . . . 6 matches
         || uid || regdate || bookid || userid || title || contents ||
         {{{~cpp DataBase Create Query for MySQL }}}{{{~cpp
         CREATE TABLE IF NOT EXISTS BtoBRel(
         CREATE TABLE IF NOT EXISTS UtoBRel(
         CREATE TABLE IF NOT EXISTS book(
         CREATE TABLE IF NOT EXISTS puser(
         CREATE TABLE review(
         regdate datetime,
         ["ProjectPrometheus"]/{{{~cpp DataBaseSchema}}}
  • ProjectPrometheus/Iteration4 . . . . 6 matches
         8.05 ~ 8.10 : Iteration 4 로 재지정.
         |||||| AT ||
         || Iteration 1, 2 AcceptanceTest WEB 에서 테스트 가능하도록 연결 || 1 || ○ ||
         || RS Data Base 스키마 정의 || 0.5 || ○ ||
         || RS Data Base 스키마 구현 || . || ○ ||
         || Data Base 접근 SpikeSolution || 1 || ○ ||
         ["ProjectPrometheus"]/Iteration4
  • ProjectPrometheus/Iteration6 . . . . 6 matches
         ||||||Story Name : Recommendation System(RS) Implementation ||
         || Object-RDB Relation 을 위한 Gateway 작성 || 1 || . ||
         |||||| AT ||
         || Login AT || 1 || ○ ||
         || ViewPage AT || 1 || ○ ||
         || RS AT || 1.5 || . ||
         || Login 후 검색해서 RS 여부 확인 AT || . || . ||
         |||||| To Do Later ||
         || ["ProjectPrometheus/CollaborativeFiltering"] 설명 작성 || . || . ||
  • ProjectZephyrus/간단CVS사용설명 . . . . 6 matches
          메뉴->Create->Checkout module
          '''1. 패스 설정로 하기''' Autoexec.bat 에서
          '''2. 배치 화일로 하기''' cvs98.bat 작성
         copy con cvs98.bat
          '''2. ZeroPage 서버는 현재 Redhat 7.0이므로 xinetd를 이용하므로 세팅'''
         # unencrypted username/password pairs for authentication.
  • REFACTORING . . . . 6 matches
         http://www.refactoring.com/catalog/index.html - Refactoring 에 대해 계속 정리되고 있다.
          * 실제로 Refactoring을 하기 원한다면 Chapter 1,2,3,4를 정독하고 RefactoringCatalog 를 대강 훑어본다. RefactoringCatalog는 일종의 reference로 참고하면 된다. Guest Chapter (저자 이외의 다른 사람들이 참여한 부분)도 읽어본다. (특히 Chapter 15)
         == RefactoringCatalog ==
         ["RefactoringCatalog"]
         ["Refactoring"] 과 TestDrivenDevelopment 는 일종의 메타패턴이다. (여기에 개인적으로 하나 더 추가하고 싶다면 ResponsibilityDrivenDesign) 두개에 충실하면 ["DesignPattern"] 으로 유도되어지는 경우가 꽤 많다.
  • RandomWalk2/ClassPrototype . . . . 6 matches
          void printBoardStatus () {
          void updateCell () { }
          void move (int nLocation) {
          void getData () {
          board.printBoardStatus ();
          inputer.getData();
  • SOLDIERS/송지원 . . . . 6 matches
         #include <cmath>
          // data declaration
          // input data
          // for statement var
          // data input
  • STL/map . . . . 6 matches
          * dictionary 구조를 구현하였다. DataStructure 에서는 symbol table 이라고 말한다.
          || Perl, PHP || Associated Array ||
          * map 은 내부에 STL의 pair 를 이용하여 구현한다. 그래서, iterator 가 가리키는 것은 pair<key_type, value_type> 형이다.
         for(map<int, int>::iterator i; i = m.begin() ; i != m.end() ; ++i) {
          map<string, long>::iterator i;
          warning 의 이유는 STL에서 나오는 디버그의 정보가 VC++ 디버그 정보를 위해 할당하는 공간(255byte)보다 많기 때문입니다. 보통 디버그 모드로 디버깅을 하지 않으면, Project setting에서 C/C++ 텝에서 Debug info 를 최소한 line number only 로 해놓으면 warning 는 없어 집니다. 그래도 warning 가 난다면 C/C++ 텝에서 Generate browse info 를 비활성(기본값)화 시키세요.
  • STL/vector/CookBook . . . . 6 matches
         typedef vector<int>::iterator VIIT; // Object형이라면 typedef vector<Object>::iterator VOIT;
          * typedef으로 시작하는 부분부터 보자. 일단 반복자라는 개념을 알아야 되는데, 사실은 나도 잘 모른다.--; 처음 배울땐 그냥 일종의 포인터라는 개념으로 보면 된다. vector<int>::iterator 하면 int형 vector에 저장되어 있는 값을 순회하기 위한 반복자이다. 비슷하게 vector<Object>>::iterator 하면 Object형 vector에 저장되어 있는 값을 순회하기 위한 반복자겠지 뭐--; 간단하게 줄여쓸라고 typedef해주는 것이다. 하기 싫으면 안해줘도 된다.--;
         private:
         typedef vector<Obj*>::iterator VOIT;
  • STL/참고사이트 . . . . 6 matches
         [http://www.halpernwightsoftware.com/stdlib-scratch/quickref.html C++ STL from halper]
         C++ Standard Template Library, another great tutorial, by Mark Sebern http://www.msoe.edu/eecs/cese/resources/stl/index.htm
         Technical University Vienna by Johannes Weidl http://dnaugler.cs.semo.edu/tutorials/stl mirror http://www.infosys.tuwien.ac.at/Research/Component/tutorial/prwmain.htm
         iterator에 대한 매우 좋은 설명 http://www.cs.trinity.edu/~joldham/1321/lectures/iterators/
  • Self-describingSequence/1002 . . . . 6 matches
         이에 대해서 다르게 representation 할 방법을 생각하다가 다음과 같이 representation 할 방법을 떠올리게 됨.
          repeat = theGroupIdx
          end = start + repeat - 1
          repeat = theGroupIdx
          end = start + repeat - 1
  • SmallTalk/강좌FromHitel/강의3 . . . . 6 matches
         * State: 미국의 경우는 주를 입력합니다만, 우리는 비워둡니다.
         * How many attempts did it take you to download this software?:
          text: Time now printString at: 10@10;
         ] repeat] fork.
          digitalClockProcess terminate.
          UserLibrary default invalidate: nil lpRect: nil bErase: true.
  • SmithNumbers/신재동 . . . . 6 matches
         int sumFactorizationOfNumber(int testNumber);
         int factorization(int testNumber);
         int factorization(int testNumber)
         int sumFactorizationOfNumber(int testNumber)
          prime = factorization(testNumber);
          return sumPositionOfNumber(testNumber) == sumFactorizationOfNumber(testNumber);
  • SystemEngineeringTeam/TrainingCourse . . . . 6 matches
         ||계열||RedHat||Debian||UNIX||RedHat||
          * [안혁준] - 우선 Window서버는 원격으로 관리하기가 매우 귀찮고 POSIX호환도 안되므로 일단 제외. UNIX/Linux계열중 활발한 활동이 있는데는 FreeBSD와 Redhat계열, 데이안 계열(Ubuntu).
          * RedHat계열 - 패키지 매니져 : yum
          * 직접 써보기 전까지는 모를것 같다. 각 운영체제를 비교할려해도 그져 features를 읽거나 근거가 없는 뭐가 좋더라 식의 글들을 읽는 것 밖에 없다. 내가 중요시 하는 건 "어떤기능이 된다"가 아니라 "비교적 쉽게 되고 마음만 먹으면 세세한 셋팅도 할수 있다"를 원하기 때문에 features만 읽어서는 판별할수가 없다. 직접 써보고 비교해 보면 좋겠지만 그럴 여건도 안되서 조금 안타깝다. 사실 CentOS와 FreeBSD 중에서 CentOS를 쓰고 싶은데 도저히 적절한 이유를 찾을수가 없었다. 그렇다고 FreeBSD를 쓰자니 FreeBSD가 좋은 이유를 찾을수 없었다.
  • TestFirstProgramming . . . . 6 matches
         ex) ["TFP예제/Omok"], ["TFP예제/Queue"], ["TFP예제/WikiPageGather"]
          wiki:Wiki:DoTheSimplestThingThatCouldPossiblyWork
         후자의 경우는 해당 코드의 구조를 테스트해나가는 방법으로, 해당 코드의 진행이 의도한 상황에 맞게 진행되어가는지를 체크해나가는 방법이다. 이는 MockObjects 를 이용하여 접근할 수 있다. 즉, 해당 테스트하려는 모듈을 MockObject로 구현하고, 호출되기 원하는 함수들이 제대로 호출되었는지를 (MockObjects 의 mockobject.py 에 있는 ExpectationCounter 등의 이용) 확인하거나 해당 데이터의 추가 & 삭제관련 함수들이 제대로 호출되었는지를 확인하는 방법 (ExpectationList, Set, Map 등의 이용) 등으로서 접근해 나갈 수 있다.
         === Random Generator ===
         Random 은 우리가 예측할 수 없는 값이다. 이를 처음부터 테스트를 하려고 하는 것은 좋은 접근이 되지 못한다. 이 경우에는 Random Generator 를 ["MockObjects"] 로 구현하여 예측 가능한 Random 값이 나오도록 한 뒤, 테스트를 할 수 있겠다.
  • TicTacToe/노수민 . . . . 6 matches
          private static final int O = 1;
          private static final int X = 2;
          public static void main(String args[]) {
          ttt.setDefaultCloseOperation(EXIT_ON_CLOSE);
  • ToastOS . . . . 6 matches
         = Toast Operating System =
         The war was brief, but harsh. Rising from the south the mighty RISC OS users banded together in a show of defiance against the dominance of Toast OS. They came upon the Toast OS users who had grown fat and content in their squalid surroundings of Toast OS Town. But it was not to last long. Battling with SWIs and the mighty XScale sword, the Toast OS masses were soon quietened and on the 3rd November 2002, RISC OS was victorious. Scroll to the bottom for further information.
         음..우선 전에 플로피 1번 섹터에서 부트섹트를 읽어 들여 부트 로더를 만든다고 까지 얘기한 것 같다.그럼 커널로더는 무엇일까? 부트 로더가 할 수 없는 기이한 일들을 커널 로더가 한다. 우선 보호모드로들어가는 것과 커널을 실행가능한 상태로 재배치 시키는 일등을 한다. 왜 그런 일을 할까? 부트로더가512kb밖이 되지 않아 그런 일들을 할 수 없기 때문이다. 위에 사진에서 보면 퍼런 글씨로 kernel loader라고나오는데 전에 CAU Operating System 어쩌구...가 먼저 나온다..다만 VMWARE를 쓰기때문에 그런 글씨가 안나온다. 여하튼 커널 로더가 가지는 의미는 우선 부트로더를 만들기 위해 어쩔수 없이 썼던 짜증나는 어셈을 이제 안써도 된다...ㅋㅋ 사실 어셈은 계속 써야 된다... 다만 이제 어쎔을 주로 쓰지 않고 C에서 인라인 어쎔을 쓸것이다. 이제 Boland C 3.1 버전의 컴파일러로 커널로더와 커널을 제작하게 될 것이다. 그럼 위와 같은 것을 그냥 해주면 되는거 아니냐? 라고 반문하는 사람이 있을 것이다.. 그렇다. 그냥 해주면 된다. 우선 컴파일할때 -S라는 옵션을 두어서 어셈블리 소스를 만들고 나서 그리고 그렇게 만들어진소스의 extern들을 링크 시키고 그런 다음 EXE파일을 실행가능한 재배치상태로 만들고 나서 부트로더와 같이뒤집어 씌우면 된다.
         == And now... introducing the better alternative... RISC OS ==
  • UnixSocketProgrammingAndWindowsImplementation . . . . 6 matches
         페이지의 컨텐츠를 보아하니, 따로 페이지를 뽑아내도 될것 같아 [문서구조조정] 하였습니다. 원래 페이지 이름은 '''데블스캠프2005/Socket Programming in Unix/Windows Implementation'''였습니다. - [임인택]
          char sa_data[14]; /* 주소(IP 주소 + 포트 번호) */
         WSADATA wsaDATA; // 추가. WSADATA형의 변수를 선언한다.
         if( WSAStartup(MAKEWORD(2,2), &wsaData) != 0)
         WSADATA wsaDATA;
         if( WSAStartup(MAKEWORD(2,2), &wsaData) != 0)
         WSADATA wsaData;
          if( WSAStartup(MAKEWORD(2,2), &wsaData) == -1 )
  • WinCVS . . . . 6 matches
          * [http://aspn.activestate.com/ASPN/Downloads/ActiveTcl] ActiveTCL을 받자
          * Authentication : 접속 방법이다. local 이나 pserver 또는 ntserver를 선택하면 된다.
          * Path : CVS파일들(저장소)의 주소를 설정한다.
          3. Create - Import module 를 선택한다.
          2. Create - Checkout module를 선택하자.
          * Module name and path on the server : 모듈의 이름 (폴더의 이름이 된다.)
  • ZeroPageServer/FixDate . . . . 6 matches
         예전부터 rdate 를 써서 시간을 맞추었는데,
         rdate -s time.kriss.re.kr <- 한국 표준관련 연구소 서버, 이 서버가 죽을때가 있다.
         rdate -s time.bora.net
         그런데, rdate 가 이번 테스트 업그레이드 버전 부터 안되는 것이다. 새버전에서 servername 을 입력받을수 없다고 하는데, 왜그런지 모르겠다. 그래서 대안으로 이것을 사용한다.
         ntpdate time.kriss.re.kr
         ntpdate time.bora.net
  • ZeroPageServer/set2002_815 . . . . 6 matches
          * 완료된 날짜가 공교롭게도 8.15 일 이다. Redhat과 구버전의 족쇄에서 벗어나는 것에 의의에 둔다.
          * 설치는 한달여 즈음 전에 릴리즈된 woody를 기본으로, 일본의 미러 소스 리스트를 이용해서 네트웍 설치를 하였다. Redhat측에서 시작부터 rpm에 대한 체계적 통합적 관리가 되었다면, 현재의 deb 패키지 처럼 완전 네트웍 설치를 할수 있었을텐데 안타까운 점이다.
          * redhat 계열에서는 apache 기본 유저가 nobody인데, www-data 로 바꾸었다.
          * {{{~cpp /home/jspVirtualPath}}} 에 해당 아이디의 symbolic 링크를 걸면 됨. resin.conf에서 path-mapping 사용
  • [Lovely]boy^_^/Diary/12Rest . . . . 6 matches
          * I suprised at Smalltalk's concepts.
          * I can treat D3D, DInput, but It's so crude yet.
          * I modify above sentence.--; I test GetAsyncKeyState(), but it's speed is same with DInput.--; How do I do~~~?
          * I saw a very good sentence in 'The Fighting'. It's "Although you try very hard, It's no gurantee that you'll be success. But All succecssfull man have tried."
         == 12/28 Sat ==
          * I feel that I am getting laziness.--;
  • [Lovely]boy^_^/USACO/GreedyGiftGivers . . . . 6 matches
         void InputData();
         void OutputData();
          InputData();
          OutputData();
         void InputData()
         void OutputData()
  • [Lovely]boy^_^/USACO/WhatTimeIsIt? . . . . 6 matches
         void InputInitData(int& h, int& m);
         void OutputData(int&h, int& m);
          InputInitData(hour, min);
          OutputData(hour, min);
         void OutputData(int& hour, int& min)
         void InputInitData(int& hour, int& min)
  • [Lovely]boy^_^/[Lovely]boy^_^/USACO/Barn . . . . 6 matches
          sort(ret.begin(), ret.end(), greater<int>());
         vector<int> getDatas(int& numPivot)
          vector<int> data = getDatas(numPivot);
          vector<int> distance = getDistance(data);
          fout << getTotal(numPivot, data, pivots) << endl;
  • eclipse플러그인 . . . . 6 matches
         내가 사용하는 플러그인 update 주소
          * http://pydev.sf.net/updates/
          * http://subclipse.tigris.org/update/
         == WTP(Web Tools Platform) ==
          * http://download.eclipse.org/webtools/updates/
          * http://dbedit.sourceforge.net/update/
  • html5/communicationAPI . . . . 6 matches
          * 메세지 이벤트 : 자바스크립트 객체 ( data, origin, lastEventid, source, ports)
          * 송신 : postMessage(data, [ports], targetOrigin)
          * postMessage(data, [ports], targetOrigin)
          * data : 임의의 자바스크립트 객체
          // data 속성으로 수신된 메세지 확인
          alert(e.data);
  • html5/richtext-edit . . . . 6 matches
          operation: "add-favorite",
          var data = event.data;
          if(data.operation == "add-favorite") {
          var id = data.id;
  • html5practice/roundRect . . . . 6 matches
          ctx.beginPath();
          ctx.quadraticCurveTo(x + width, y, x + width, y + radius);
          ctx.quadraticCurveTo(x + width, y + height, x + width - radius, y + height);
          ctx.quadraticCurveTo(x, y + height, x, y + height - radius);
          ctx.quadraticCurveTo(x, y, x + radius, y);
          ctx.closePath();
  • html5practice/계층형자료구조그리기 . . . . 6 matches
          ctx.beginPath();
          ctx.quadraticCurveTo(x + width, y, x + width, y + radius);
          ctx.quadraticCurveTo(x + width, y + height, x + width - radius, y + height);
          ctx.quadraticCurveTo(x, y + height, x, y + height - radius);
          ctx.quadraticCurveTo(x, y, x + radius, y);
          ctx.closePath();
  • java/reflection . . . . 6 matches
          * classpath를 이용해 현재 프로젝트내의 class가 아닌 외부 패키지 class의 method를 호출하는 방법.
          * ORM(Object-Relational-MApping)이 아닌 방식으로 DAO를 만들 때 사용되기도 한다.
          public static void main(String[] args) {
          public static void main(String[] args) throws MalformedURLException, ClassNotFoundException, InvocationTargetException, IllegalAccessException, InstantiationException, NoSuchMethodException {
  • 강성현 . . . . 6 matches
          * AttackOnKoala 팀 (강성현, [정의정], [정진경]) 으로 참가. 교내 1위 (단독 본선 진출)
          * Service Platform 개발 테스트, Whisen Smart 원격제어 App 개발
          * Android Application 개발 방법을 배우고, 팀을 꾸려서 App 개발
          * [:데블스캠프2011 2011] (월/화 참여. 화요일 [:데블스캠프2011/둘째날/Scratch Scratch 강의])
          * [:데블스캠프2014 2014] (4일차 [http://zeropage.org/seminar/95758 Big Data 강의])
          * [Ruby/2011년스터디] 의 공유 차원에서 진행. 시간이 빠듯해서 대충 진행한 것 같아 아쉬움. [https://docs.google.com/presentation/d/1ld_NTuqaEF4OIY2_f4_2WhzF57S6axgxnMLf3LMcvrM/pub?start=false&loop=false&delayms=3000 발표자료]
  • 김희성/MTFREADER . . . . 6 matches
         private:
          long ReadAttribute(FILE* fp, unsigned char* offset, long flag);
          hVolume = CreateFile(drive, GENERIC_READ,FILE_SHARE_READ | FILE_SHARE_WRITE, 0,OPEN_EXISTING, 0, 0);
         = _mft_reader_private.cpp =
          *((unsigned char*)MFT+point+9) = Attribute Name Size
          Attribute Header size : Resident=24 / Non-resident=64
          case 0x80://$DATA
         long _MFT_READER::ReadAttribute(FILE* fp, unsigned char* point, long flag)
          case 0x10://Standard Information
          fprintf(fp,"Attribute type : Standard Information\n");
          case 0x20://Attribute List
          fprintf(fp,"Attribute type : Attribute list\n");
          fprintf(fp,"Attribute type : File Name\n");
          fprintf(fp,"MFT's Signaturer : %s\n", ((unsigned char*)MFT+i*BytesPerFileRecord));//+0x27);
          j=*((unsigned short*)((unsigned char*)MFT+i*BytesPerFileRecord+20));//Offset to First Attribute Header
          j+=ReadAttribute(fp,(unsigned char*)MFT+i*BytesPerFileRecord+j,flag);
  • 데블스캠프2002/진행상황 . . . . 6 matches
          * Python 기초 + 객체 가지고 놀기 실습 - Gateway 에서 Zealot, Dragoon 을 만들어보는 예제를 Python Interpreter 에서 입력해보았다.
         EventDrivenProgramming 의 설명에서 또하나의 새로운 시각을 얻었다. 전에는 Finite State Machine 을 보면서 Program = State Transition 이란 생각을 했었는데, Problem Solving 과 State Transition 의 연관관계를 짚어지며 최종적으로 Problem Solving = State Transition = Program 이라는 A=B, B=C, 고로 A=C 라는. 아, 이날 필기해둔 종이를 잃어버린게 아쉽다. 찾는대로 정리를; --["1002"]
          * ["FoundationOfUNIX"] - Unix
  • 데블스캠프2004/세미나주제 . . . . 6 matches
          * 자료구조 SeeAlso HowToStudyDataStructureAndAlgorithms, DataStructure StackAndQueue 뒤의 두 페이지들의 용어와 내용이 어울리지 않네요. 아, 일반 용어를 프로젝트로 시작한 페이지의 마지막 모습이군요. )
          * 지금 Accelerated C++을 보고 있는데 STL에 대해 흥미가 생기네요... 그래서 이거 세미나 계획하고 있습니다. 세미나 방향은 char배열을 대신해서 쓸 수 있는 string이나, 배열 대신 쓸 수 있는 vector식으로 기존의 자료구조보다 편히 쓸 수 있는 자료구조를 설명하려 합니다.-영동
         얼마전(2달?) 동생이 KTF Future List 인지, Feature List 인지를 통과해서 활동을 시작했는데요. 처음에 3박 4일로 훈련(?)을 와서 자신이 굉장히 놀란 이야기를 해주었습니다. 이 것은 전국 수십개 대학에서 5명씩 모여서 조성된 캠프입니다. 이 집단의 개개인 모두가 적극적인 면이 너무 신기하다는 표현을 하더군요. 뭐 할사람 이야기 하면, 하려고 나오는 사람이 수십명인 집단...
         [STL]을 할때 단순히 자료구조를 사용하는 방법을 같이 보는것도 중요하겠지만 내부구조 (예를 들어, vector는 동적 배열, list은 (doubly?) linked list..)와 같이 쓰이는 함수(sort나 또 뭐가있드라..그 섞는것..; ), 반복자(Iterator)에 대한 개념 등등도 같이 보고 더불어 VC++6에 내장된 STL이 ''표준 STL이 아니라는 것''도 같이 말씀해 주셨으면;; (SeeAlso [http://www.stlport.org/ STLPort]) - [임인택]
          - 아! 그리고 template에 대한 내용도.. :-) - [임인택]
  • 데블스캠프2005/주제 . . . . 6 matches
         Recursion 과 Iteration (IndexCard 등을 이용해서.. ToyProblems 따위의 문제 풀어보기,
         In my life, I have seen many programming courses that were essentially like the usual kind of driving lessons, in which one is taught how to handle a car instead of how to use a car to reach one's destination.
         My point is that a program is never a goal in itself; the purpose of a program is to evoke computations and the purpose of the computations is to establish a desired effect.
  • 데블스캠프2006/월요일/연습문제/웹서버작성/변형진 . . . . 6 matches
         //echo str_repeat(" ",300);
         $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
          if(preg_match("/(GET|POST) (\/[^ \/]*) (HTTP\/[0-9]+.[0-9]+)/i", $read, $t))
          if(preg_match("/\/$/", $file))
          if(preg_match("/\.(html|htm|php)$/", $to_read))
          if(preg_match("/^text\//", $mime))
  • 데블스캠프2006/월요일/함수/문제풀이/윤성준 . . . . 6 matches
         bool team684(int member, int gun, int boat);
          int member, gun, boat;
          cin >> boat;
          team684(member, gun, boat);
         bool team684(int member, int gun, int boat)
          if (member >= 3 && gun >= 2 && boat >= 1) {
  • 데블스캠프2006/월요일/함수/문제풀이/이차형 . . . . 6 matches
          int boat=0;
          team684(member, guns, boat);
         bool team684(int member, int guns, int boat)
          cin >> boat;
          if (boat*8<member)
          if (member<=guns && boat*8>member)
  • 데블스캠프2006/화요일/tar/나휘동 . . . . 6 matches
          FILE * to= fopen("tar.dat", "wb");
          _finddata_t file;
          if (!(file.attrib & _A_SUBDIR )){
          fwrite( &file, sizeof(_finddata_t), 1, to);
          from= fopen("tar.dat", "rb");
          while( fread(&file, sizeof(_finddata_t), 1, from) ){
  • 데블스캠프2011 . . . . 6 matches
          * [https://docs.google.com/spreadsheet/ccc?key=0AtizJ9JvxbR6dGNzZDhOYTNMcW0tNll5dWlPdFF2Z0E&usp=sharing 타임테이블링크]
          || 1 || [송지원] || [:데블스캠프2011/첫째날/오프닝 오프닝] || [강성현] || [:데블스캠프2011/둘째날/Scratch Scratch] || [김수경] || [:데블스캠프2011/셋째날/String만들기 String만들기] || [이원희] || [:데블스캠프2011/넷째날/Android Android] || [조현태] || [:데블스캠프2011/다섯째날/PythonNetwork Python으로 하는 네트워크] || 8 ||
          || 2 || [송지원] || [:데블스캠프2011/첫째날/오프닝 오프닝] || [강성현] || [:데블스캠프2011/둘째날/Scratch Scratch] || [김수경] || [:데블스캠프2011/셋째날/String만들기 String만들기] || [이원희] || [:데블스캠프2011/넷째날/Android Android] || [조현태] || [:데블스캠프2011/다섯째날/PythonNetwork Python으로 하는 네트워크] || 9 ||
          || 3 || [변형진] || [:데블스캠프2011/첫째날/개발자는무엇으로사는가 개발자는 무엇으로 사는가] || [강성현] || [:데블스캠프2011/둘째날/Scratch Scratch] || [김수경] || [:데블스캠프2011/셋째날/String만들기 String만들기] || [이원희] || [:데블스캠프2011/넷째날/Android Android] || [조현태] || [:데블스캠프2011/다섯째날/PythonNetwork Python으로 하는 네트워크] || 10 ||
  • 데블스캠프2011/셋째날/RUR-PLE/박정근 . . . . 6 matches
          repeat(turn_left,3)
          repeat(turn_left,2)
          repeat(turn_left,3)
          repeat(turn_left,2)
          repeat(turn_left,3)
          repeat(turn_left,2)
  • 데블스캠프2011/셋째날/String만들기/김준석 . . . . 6 matches
         private :
          char charAt(const int at){
          if(at>count) return '\0';
          return value[at];
          if(this->charAt(i) == str.charAt(0)){
          if(this->charAt(select + j) != str.charAt(j)) select = -1;
          if(this->charAt(i) == str.charAt(0)){
          if(this->charAt(select + j) != str.charAt(j)) select = -1;
          void concat(String& str){
          strcat(temp,str.value);
  • 데블스캠프2012/넷째날/묻지마Csharp/Mission2/김준석 . . . . 6 matches
          private void myClicked(object sender, EventArgs e)
          private void pushButton_Click(object sender, EventArgs e)
          DateTime d1 = dateTimePicker1.Value;
          DateTime d2 = dateTimePicker2.Value;
  • 데블스캠프2012/첫째날/배웠는데도모르는C . . . . 6 matches
         struct Date{
          struct Date number;
         void Printdate(struct Date *s_no.number,struct Memo *s_no1.content)
         // struct Date no1;
          Printdate(&s_no1.number[n],&s_no1.content[n]);
  • 레밍즈프로젝트/프로토타입/MFC더블버퍼링 . . . . 6 matches
         private:
          m_pMemDC->CreateCompatibleDC(m_pDC);
          m_bmp.CreateCompatibleBitmap(m_pDC, m_rt.Width(), m_rt.Height());
         Test는 OnDraw 상에서 하였다. OnDraw는 Invalidate를 통해서 OnPaint가 호출되면 자동으로 호출된다.
  • 몸짱프로젝트/CrossReference . . . . 6 matches
         void duplicatedWord(Node * ptr, string aWord, int aLineCount);
          bool isDuplicated = false;
          duplicatedWord(ptr, aWord, aLineCount);
          isDuplicated = true;
          if (!isDuplicated)
         void duplicatedWord(Node * ptr, string aWord, int aLineCount)
  • 방울뱀스터디/GUI . . . . 6 matches
         Radiobutton 함수호출에서 indicatoron=0을 넣어주면 라디오버튼모양이 푸시버튼모양으로 된다.
         textArea.window_create(INSERT, window=button)
         window_create대신에 image_create를 이용하여 단추를 문서 안에 추가시킬수도 있음.
         textArea.config(state=DISABLED)
         텍스트를 읽기전용으로 만듬.(state=NORMAL로 해주면 수정가능)
  • 새싹교실/2011/무전취식/레벨5 . . . . 6 matches
          * 예) int -> float, float -> int로 자동변환되는것을 automatically type casting 이라 PPT에 정의되어있습니다.
         float c = a/b;
         float c = ((float)a)/b;
  • 새싹교실/2012/아우토반/앞반/3.29 . . . . 6 matches
         (1) sizeof 연산자를 이용하여 int, char, float, double 변수와 그 변수를 가리키는 포인터 변수가 메모리를 차지하는 용량을 구하시오(소스 코드 및 결과)
          float c;
         long, double, float, char, return, union, string, if, for, while
          float c;
          printf("sizeof(c) = %d, 크기는 %d \n",sizeof(c),sizeof(float));
         return,continue,double,int,long,short,void,static,char,else,if,switch,for etc.....
  • 새싹교실/2012/해보자 . . . . 6 matches
          * 변수의 선언 방법: Datatype name or Datatype name,name,name,...
          * Data type: 변수가 표현할 수 있는 데이터의 범위를 나타낸다. 변수의 메모리상의 공간의 크기를 나타낸다.
          * Static variable의 특징
  • 수업평가 . . . . 6 matches
         ||DatabaseClass || 6 || 4 || 0 || 1 || 11 || 4 || 2.8 ||
         ||DataStructureClass || 11 || 9 || 8 || -1 || 26 || 5 ||4.3 ||
         ||DiscreteMathematicsClass || 8 || 4 || 7 || 2 || 21 || 6 ||3.5 ||
         ||OperatingSystemClass || 1 || 1 || 0 || -2 || 0 || 1 ||0 ||
         ||OperatingSystemClass박철민 || 1 || -2 || -3 || -4 || -8 || 2 ||-4 ||
  • 영어학습방법론 . . . . 6 matches
          * 카테고리[ex) dress, cloth category - shirts, pants, etc]로 분류하여 외우기
          * 기본적으로 접두어,접미어,어근을 가진 단어들은 Latin & Greek 계열의 단어로써 고급단어, 학문적인 단어들임. 따라서 일상생활영어에서는 나타나는 빈도가 아주 낮은 단어들임. 단 어느정도 영어가 되고 고급영어를 공부하는(GRE,SAT) 사람들에게는 괜찮음
          ex) speculate (수박을 먹으며 곰곰히 생각하다) 원뜻 : 곰곰히 생각하다. 이것이 다른 사람과 이야기하거나 책을 읽을때 수박이란게 먼저 생각난다면 곰곰히 생각하다와 아무 상관없는 것이 연상되어 도리어 단어를 제대로 쓰는 것에 해를 가한다. 즉 이미지가 원뜻과 상관없는게 나오면 방해가 된다는 것
          * Context, Situation에서 외우기
          * 한가지 entity에 대한 다양한 representation을 알아야한다.
          * 들을때 잘 catch못한 부분을 발견한다.
  • 유용한팁들 . . . . 6 matches
         Generating public/private rsa key pair.
         Created directory '/home/a/.ssh'.
         Your identification has been saved in /home/a/.ssh/id_rsa.
         a@A:~> cat .ssh/id_rsa.pub | ssh b@B 'cat >> .ssh/authorized_keys'
  • 이승한/PHP . . . . 6 matches
         $query = "select name, eng, math from score";//쿼리문을 스트링을 저장한다.
          $math = mysql_result($result, $i, 2);
          echo("<td>$math</td></tr>");
          * date() : date("y/m/d A h:i:s", time()의 리턴값);
          * 정적변수 : static $변수명;
  • 이승한/java . . . . 6 matches
         public static void main(String [] args){} // C의 void main() 과 같이 프로그램의 시작점이다. String [] args 는 실행될때 넘어오는 문자열 값을 보인다. 정확하게 무엇인지는 모르겠다
         접근 지정자 : private, protected, public
         예외 처리 : try, catch, finally, throw, throws
         기타 : transient, volatile, package, import, synchronized, native, final, static, strictfp
  • 임인택/AdvancedDigitalImageProcessing . . . . 6 matches
         === Watershed ===
          http://www.prip.tuwien.ac.at/~hanbury/intro_ip/
          http://www.google.co.kr/url?sa=U&start=8&q=http://www.vision.caltech.edu/pmoreels/Publications/PmoreelsIEEE_IP_Jul03.pdf&e=747
          http://www.google.co.kr/url?sa=U&start=11&q=http://www.cv.tu-berlin.de/~vr/papers/acrobat/TGJGD97.pdf&e=747
          http://planetmath.org/encyclopedia/HoughTransform.html
          http://visl.technion.ac.il/labs/anat/12-Hough/
  • 졸업논문/본론 . . . . 6 matches
         웹 애플리케이션 개발자가 가장 많이 쓰는 기능은 SQL을 이용하여 데이터베이스 내용을 삽입, 삭제, 수정, 조회하는 것이다. 그 중에도 데이터를 조회하는 SQL문은 다양한 구조를 가진다. 기본 구조는 select from 이다. 여기서 from절에 테이블이 여러 번 나오는 경우 조인 연산을 수행한다. 조인 연산은 다른 테이블 또는 같은 테이블끼리 가능하다. select from where문을 사용하면 where절에 있는 조건을 만족하는 데이터만 조회한다. aggregate function을 사용하면 원하는 결과를 좀더 쉽게 얻을 수 있다. 이에는 개수(count), 합계(sum), 최소(min), 최대(max), 평균(avg)이 있다. aggregate function에 group by문을 사용하면 그룹 단위로 결과를 얻는다. group by절에는 having을 이용해 조건을 제한할 수 있다. 또한 순서를 지정하는 order by문과 집합 연산인 union, intersect, except 등이 있다. where절 이하에 다시 SQL문이 나타나는 경우를 중첩질의라고 한다. 중첩 질의를 사용할 때는 특별히 (not) exist, (not) unique와 같은 구문을 사용할 수 있다.
         데이터를 삽입,삭제,변경할 때는 조회하는 SQL에 비해 하면 단순하다. 삽입에는 insert into value 구문을, 삭제는 delete from where구문을, 변경은 update set where구문을 사용한다. 삭제와 변경시에는 중첩 질의를 사용할 수 있다.
         Django의 설계 철학은 한 마디로 DRY(Don't Repeat Yourself)이다. 확연히 구분할 수있는 데이터는 분리하고, 그렇지 않은 경우 중복을 줄이고 일반화한다. 데이터 뿐 아니라 개발에 있어서도 웹 프로그래밍 전반부와 후반부를 두 번 작업하지 않는다. 즉 웹 애플리케이션 개발자는 SQL을 사용하는 방식이 도메인 언어에 제공하는 프레임워크에 숨어 보이지 않기 때문에 프로그램을 동적으로 쉽게 바뀔 수록 빠르게 개발할 수 있다. 또한 후반부 데이터 모델이 바뀌면 프레임워크에서 전반부에 사용자에게 보이는 부분을 자동으로 바꾸어준다. 이러한 설계 철학을 바탕으로 기민하게 웹 애플리케이션을 개발할 수 있다.
         [django/AggregateFunction]
         레코드를 검색할 때는 기본적으로 간단한 질의를 처리할 수 있는 함수들을 제공한다. 앞서 살펴본 바와 같이 직접 관계를 가지는 테이블 사이에 조인 연산은 Model클래스의 메소드를 이용해서 추상화되어 있다. 하지만 그 밖인 경우에는 직접 SQL문을 작성하여 데이터를 얻어와야 하기 때문에 django를 사용하더라도 큰 이점이 없다. 또한 추상화된 Model클래스의 메소드는 기본적으로 모든 레코드 속성을 읽어오기 때문에 시간, 공간 측면에서 비효율적일 수 있다. 마지막으로 SQL의 aggregate function등을 대부분 추상화하지 않았기 때문에, 이 역시 SQL문을 작성해야 하는 번거로움이 있다.
  • 주민등록번호확인하기/문보창 . . . . 6 matches
          private String num;
          public boolean validate()
          int validateNum[] = {2,3,4,5,6,7,8,9,2,3,4,5};
          int key = (int)num.charAt(12) - 48;
          sum += ((int)num.charAt(i) - 48) * validateNum[i];
          public static void main(String[] args)
          boolean isRight = socialNum.validate();
  • 지금그때/OpeningQuestion . . . . 6 matches
         = Some Category =
          * 참고 : 확률,통계를 공부하는데 JuNe이 추천하는 책 - 『Statistics』,Freduan(?)
         Pragmatic Programmers의 [http://www.pragmaticprogrammer.com/talks/HowToKeepYourJob/HowToKeepYourJob.htm How To Keep Your Job]을 강력 추천합니다. --JuNe
         책은 NoSmok:WhatToRead 를 참고하세요. 학생 때 같이 시간이 넉넉한 때에 (전공, 비전공 불문) 고전을 읽어두는 것이 평생을 두고두고 뒷심이 되어주며, 가능하다면 편식을 하지 마세요. 앞으로 나의 지식지도가 어떤 모양새로 나올지는 아무도 모릅니다. 내가 오늘 읽는 책이 미래에 어떻게 도움이 될지 모르는 것이죠. 항상 책을 읽으면서 자기의 "시스템"을 구축해 나가도록 하세요. 책을 씹고 소화해서 자기 몸化해야 합니다. 새로운 정보/지식이 들어오면 자기가 기존에 갖고 있던 시스템과 연결지으려는 노력을 끊임없이 하세요.
         잡지 경우, ItMagazine에 소개된 잡지들 중 특히 CommunicationsOfAcm, SoftwareDevelopmentMagazine, IeeeSoftware. 국내 잡지는 그다지 추천하지 않음. 대신 어떤 기사들이 실리는지는 항상 눈여겨 볼 것. --JuNe
  • 채팅원리 . . . . 6 matches
         ReceiveEvent : 클라이언트의 이벤트를 받는 부분이다. 이 이벤트가 StatusDisplay 클래스에 적용된다. 각각의 이벤트는 다음과 같다.
         ChatMain : 채팅의 주 인터페이스를 관리하는 클래스이다. 이 클래스에서 대부분의 GUI를 관리하고, 채팅메세지보여준다. 또한 채팅에 접속한 사람들의 ID를 보여준다.
         ReceiveMessage : 서버로부터 전달되는 메시지를 받아서 ChatMain 클래스의 메시지 출력 화면에 보여주는 역할을 한다.
         UserList : ChatMain 클래스의 사용자 List에 접속한 사용자 ID를 보여주는 기능을 한다.
         서버가 시작하면 ReceiveEvent 클래스에서 클라이언트로부터 전달되는 Event를 기다리는 동시에 StatusDisplay 쓰레드와 다른 쓰레드들을 시작한다.
         클라이언트가 대기실에 입장하면 내부적으로 클라이언트는 서버쪽에 새 사용자가 접속했다는 메시지를 보낸다. 그러면서, Login 프레임대신 ChatMain 프레임을 보이게 한다. 이제부터 대기실에서 채팅이 가능하게 된다. 서버쪽에는 새 사용자가 대기실에 들어왔다는 것을 보여준다.
  • 최소정수의합/나휘동 . . . . 6 matches
         naturalSum n = n * (n+1) `div` 2
          | naturalSum n < s = minsum s (n+1)
          | otherwise = (n, naturalSum n)
         [최소정수의합/송지훈] 방식, 조건제시법과 lazy evaluation 이용
         take 1 [(n,naturalSum n)| n<-[1..], naturalSum n >= s]
  • 토이/메일주소셀렉터/김정현 . . . . 6 matches
          public static void main(String[] args) {
          private String[] deleteList= {};
          private boolean shouldInsertSpace;
          } catch (IOException e) {
          } catch (FileNotFoundException e) {
          } catch (IOException e) {
  • 파스칼삼각형/김태훈zyint . . . . 6 matches
         int permutation(int n, int r);
         int combination(int n,int r);
          printf("result = %d\n",combination(row-1,col-1));
         int permutation(int n, int r)
         int combination(int n,int r)
          return permutation(n,r)/factorial(r);
  • 프로그래밍/Pinary . . . . 6 matches
          private static String processOneCase(String line) {
          if (number.charAt(0) == '0') {
          if (number.substring(j, j+2).matches("11")) {
          public static void main(String[] args) {
          } catch (FileNotFoundException e) {
          } catch (IOException e) {
  • 05학번만의C++Study/숙제제출1/조현태 . . . . 5 matches
         float fahrenheit(float);
          float celsius;
         float fahrenheit(float celsius)
  • 0PlayerProject . . . . 5 matches
          . Format/String : Audio video Interleave
          . BitRate/String : 615Kbps
          . BitRate/String : Microsoft PCM
          . BitRate_Mode : 1536 Kbps
          . SmplingRate/String : 48 Khz
  • 2dInDirect3d/Chapter2 . . . . 5 matches
         = Creating a Device =
         HRESULT IDirect3D8::CreateDevice(
          D3DPRESENT_PARAMETERS* pPresentationParameters,
          2. BehaviorFlag에는 버텍스를 처리하는 방법을 넣어준다. D3DCREATE_HARDWARE_VERTEXPROCESSING, D3DCREATE_MIXED_VERTEXPROCESSING, D3DCREATE_SOFTWARE_VERTEXPROCESSING중 한가지를 사용한다. (사실은 더 많은 옵션이 있다.) 대개 마지막 SOFTWARE를 사용한다.
          3. pPresentationParameters는 D3DPRESENT_PARAMERTERS의 포인터형이다. 저것은 Device의 형태를 결정하는 구조체이다.
          float Z,
          CONST RGNDATA* pDirtyRegion
  • 2학기파이선스터디/if문, for문, while문, 수치형 . . . . 5 matches
         for 문에서 요소의 값 뿐 아니라 인덱스 값도 함께 사용하려면 enumerate() 내장함수를 이용한다(파이썬 2.3 이상). enumerate() 내장함수는 (인덱스, 요소값) 튜플 자료를 반복적으로 넘겨준다.
         >>> L = [ 'cat', 'dog', 'bird', 'pig', 'spam']
         >>> for k, animal in enumerate(L):
         0 cat
  • 3DGraphicsFoundationSummary . . . . 5 matches
          * 대상(destination) : 프레임 버퍼에 이미 그려져 있는 픽셀
         || GL_SRC_ALPHA_SATURATE || 원본 색상에 원본알파 값과 (1-대상 알파값)중 작은 것을 곱한다 ||
         || GL_SRC_ALPHA_SATURATE || 대상 색상에 원본알파 값과 (1-대상 알파값)중 작은 것을 곱한다 ||
          ,texRec[i]->sizeY, 0, GL_RGB, GL_UNSIGNED_BYTE,texRec[i]->data);
          if(texRec[i]->data)
          free(texRec[i]->data);
         glTexEnvi(GL_TEXTURE_ENV,GL_TEXTURE_ENV_MODE,GL_MODULATE);
         ["3DGraphicsFoundation"]
  • 3N+1Problem/곽세환 . . . . 5 matches
          int i, j, great_length;
          great_length = cycle(temp_i);
          if ((temp = cycle(temp_i)) > great_length)
          great_length = temp;
          cout << i << " " << j << " " << great_length << endl;
  • 5인용C++스터디/클래스상속 . . . . 5 matches
          strcat(fullname, " ");
          strcat(fullname, lname);
         == private 대신 protected를 사용이유 ==
         private는 내부의 멤버함수에서만 엑세스가 가능, 즉 리스팅의 다른 부분에서는 데이터멤버나 값에 엑세스하는 것을 막는다.
         하지만 상속하려면 private값을 이 기본 클래스에서 상속한 클래스에서 직접 엑세스 한는 것을 혀용하고 싶을 것이다.
  • ACM_ICPC/PrepareAsiaRegionalContest . . . . 5 matches
          === at On-line Preliminary Contest(Oct. 2, 2004) ===
          static int workspace[MAX][MAX];
         private:
         private:
         private:
  • AOI/2004 . . . . 5 matches
          || [SummationOfFourPrimes] || . || X || O || X || . || O ||
          || [MultiplyingByRotation] || . || X || X || . || . || X ||
          || [ImmediateDecodability] || . || O || X || . || . || . ||
          || [CommonPermutation] || . || . || O || . || . || . || . || . ||
          || [AutomatedJudgeScript] || . || . || O || . || . || . || . || . ||
  • APlusProject . . . . 5 matches
         교수님 이메일: seobject at kaspa dot org
         [http://zeropage.org/~erunc0/study/dp/RationalRose.exe RationalRose 2002]
         [http://zeropage.org/~erunc0/study/dp/Rational_Rose_Enterprise_Edition_2002_Crack.zip RationalRose 2002 과자]
  • APlusProject/QA . . . . 5 matches
         Upload:APP_UnificationTestPlan_0403-0418.zip - 이전문서
         Upload:APP_UnificationTestPlan_0420.zip - 최종문서 - 수정끝QA승인끝
         Upload:APP_UnificationTestResult_0530.zip - 이전문서
         Upload:APP_UnificationTestResult_0606.zip - 최종문서 - 수정끝
         Upload:APP_UnificationTestResult_0609.zip -- 최종문서 index틀렸길래 수정해서 다시 올렸습니다 -QA승인끝!
  • AirSpeedTemplateLibrary . . . . 5 matches
         특별한 녀석은 아니나, 다음의 용도를 위해 만들어진 TemplateLibrary
         '''Why another templating engine?'''
         A number of excellent templating mechanisms already exist for Python, including Cheetah, which has a syntax similar to Airspeed.
         However, in making Airspeed's syntax identical to that of Velocity, our goal is to allow Python programmers to prototype, replace or extend Java code that relies on Velocity.
  • Athena . . . . 5 matches
         || http://zeropage.org/~mulli2/Athena/Logo.bmp ||
          DeleteMe 이름은 좋습니다. 하지만 ["Athena"] 라는 이름의 페이지에는 여신 아테나에 대한 정의와 소개가 들어 있는 것이 올바른 것이겠지요. 그래서 ["ProjectPrometheus"], ["ProjectZephyrus"] 라고 한거랍니다. ;; --["neocoin"]
          * Quntization 완성 & Look-Up Table 사용 쉽게 해놓았습니다. (1시간) - 재동
          * Histogram Equlisation (30분) - 명훈
          * 2.2 Quntization => 2, 4, 16, 256 가지 명암으로 표시
          * 5.2 Negative
          * 7.2 Histogram Equlisation
  • BaysianFiltering . . . . 5 matches
         http://www.mathpages.com/home/kmath267.htm
          * Application : SpamBayes
         그리고 PatternClassification 관련한 여러 알고리즘에도 BayesTheory 를 기본으로 하는게 상당히 많다.
  • Beginning_XML . . . . 5 matches
         * 엘리먼트 패턴 : Element nameClass {pattern}
         * 어트리뷰트 패턴 : Attribute nameClss {pattern}
         * 시퀀스 패턴 : pattern /[pattern, pattern....../]
  • Button/진영 . . . . 5 matches
          private JButton yellowButton;
          private JButton blueButton;
          private JButton redButton;
          public static void main(String[] args)
         ["JavaStudyInVacation/진행상황"]
  • C++3DGame . . . . 5 matches
          float x;
          float y;
          float z;
          Point3D center; // the center of CPU. in world coordinates
          Point3D coord[8]; // the 8 corners of the CPU box relatives to the center point
  • CVS . . . . 5 matches
          * http://kldp.org/KoreanDoc/html/CVS_Tutorial-KLDP/x39.html - CVS At a Glance.
         This problem is quite common apparently... <the problem>snip > I've been trying to use CVS with the win-cvs client without much > success. I managed to import a module but when I try to do a > checkout I get the following error message: > > cvs checkout chargT > > cvs server: cannot open /root/.cvsignore: Permission denied > > cvs [server aborted]: can't chdir(/root): Permission denied > > I'm using the cvs supplied with RedHat 6.1 - cvs 1.10.6 /snip</the> ---------
         It is not actually a bug. What you need to do is to invoke your pserver with a clean environment using 'env'. My entry in /etc/inetd.conf looks like this:
         where '/usr/local/cvsroot' is the path of my repository - replace this with yours.
         Apparently, the problem is actually with Linux - daemons invoked through inetd should not strictly have any associated environment. In Linux they get one, and in the error case, it is getting some phoney root environment.
         버전 관리 프로그램 몇가지 : IBM의 CLEAR/CASTER, AT&T의 SCCS, CMU(카네기 멜론 대학)의 SDC, DEC의 CMS, IBM Rational의 {{{~cpp ClearCase}}}, MS의 {{{~cpp Visual SourceSafe}}}, [Perforce], SubVersion, AlianBrain
  • CategorySoftwareTool . . . . 5 matches
         If you click on the title of a category page, you'll get a list of pages belonging to that category
         CategoryCategory
  • ChocolateChipCookies/조현태 . . . . 5 matches
          == [ChocolateChipCookies/조현태] ==
         #include <cmath>
          bool operator == (const SMyPoint& target)
          float pointX, pointY;
         [ChocolateChipCookies]
  • ClipMacro . . . . 5 matches
         새로운 자바 애플릿 플러그인입니다. 테스트해보세요. -- 211.106.173.4 [[Date(2005-03-09T17:15:41)]]
         되면 좋겠는데 왜 안될까요? ^^ -- -- Anonymous [[DateTime(2005-03-31T10:58:46)]]
         MozillaFirefox에서는 잘 됩니다. -- WkPark [[DateTime(2005-03-31T16:51:27)]]
         익스플로러 XP프로 SP2에서 잘 되는군요. print screen키를 누르신다음에 paste해보세요 -- Anonymous [[DateTime(2005-03-31T16:55:09)]]
         테스트 -- Anonymous [[DateTime(2005-05-11T13:02:46)]]
  • ComputerGraphicsClass . . . . 5 matches
         === Report Specification ===
         === examination ===
         C++ 코딩에 자신이 없는 사람의 경우 이 책의 맨 앞에 있는 Vector 클래스와 Matrix 클래스 코드를 이용해보기를 권함. 책 설명은 쉬우나 중간중간 설명중 좀 아쉬운 부분이 보이긴 함. (ex : 그래픽스 파이프라인 부분인데 박스 설명은 CPU 파이프라인 설명시의 예 라거나, A* 부분은 설명이 너무 부족)
         실제 수업의 경우는 OpenGL 자체가 주는 아니다. 3DViewingSystem 이나 Flat, Gouraud, Phong Shading 등에 대해서도 대부분 GDI 로 구현하게 한다.(Flat,Gouraud 는 OpenGL 에서 기본으로 제공해주는 관계로 별 의미가 없다)
  • CuttingSticks/김상섭 . . . . 5 matches
          vector< vector<int> > Data;
          Data.push_back(temp);
          for(vector< vector<int> >::iterator k = Data.begin(); k != Data.end(); k++)
  • DatabaseManagementSystem . . . . 5 matches
         = Database 종류 =
         [RelationalDatabaseManagementSystem]
         [NetworkDatabaseManagementSystem]
         [HierarchicalDatabaseManagementSystem]
  • DesignPattern2006 . . . . 5 matches
         || 9/22 || GOF의 DesignPatterns 읽기 || . ||
         || 10/13 || GOF의 DesignPatterns 읽기 2 || . ||
          * [DesignPatterns]
          * [DesignPatternStudy2005]
          * [HowToStudyDesignPatterns]
  • DesktopDecoration . . . . 5 matches
         = Desktop Decoration =
         Upload:desktop_decoration_examples.JPG
          Konfabulator
          Yahoo가 사들인뒤로 무료로 배포되는 위젯 프로그램. 최초에 나온후로 Mac이 배껴서 MacOSX에 고대로 넣어버린 그 기능이다. 각각의 윗젯들은 독립된 프로세서로 인식되며 Konfabulator 가 관리를 하는 그런 식이다. 따라서 위젯에 따라서 자치하는 메모리의 양이나 리소스가 천차만별이다.
         MacOS에 존재하는 가장 특징적인 기능중의 하나로 윈도우 식의 Alt+Tab 창이동의 허전함을 완전히 불식시킨 새로운 인터페이스이다. [http://www.apple.co.kr/macosx/features/expose/ Expose]에서 기능의 확인이 가능하다.
  • DispatchedInterpretation . . . . 5 matches
         == Dispatched Interpretation ==
         역시 코드로 이해하는 것이 빠르다. Shape 객체는 line, curve, stroke, fill 커맨드들의 순차적인 조합으로 이루어져 있다. 이것은 commandAt(int)라는 n번째 커맨드를 리턴해주는 메세지와, argumentsAt(int)라는 커맨드에 넘겨줄 인자들의 배열을 리턴해주는 메세지를 제공해준다.
          void* command = aShape.commandAt(i); // 문법 맞나?--;
          Arguments& argument = aShape.argumentsAt(i);
          printPoint(argument.at(1));
          printPoint(argument.at(2));
         또한, commantAt이나 argumentAt같은 메세지 말고, sendCommand(at,to) 같은 메세지를 제공하자. 위의 line,curve도 이꼴이므로 같이 다룰수 있다.
  • Dubble_Buffering . . . . 5 matches
          brush.CreateSolidBrush(RGB(255,255,255));
          memDC.CreateCompatibleDC(pDC);
          bitmap.CreateCompatibleBitmap(pDC, rect.Width(), rect.Height());
  • DylanProgrammingLanguage . . . . 5 matches
         Dylan is an advanced, object-oriented, dynamic language which supports rapid program development. When needed, programs can be optimized for more efficient execution by supplying more type information to the compiler. Nearly all entities in Dylan (including functions, classes, and basic data types such as integers) are first class objects. Additionally Dylan supports multiple inheritance, polymorphism, multiple dispatch, keyword arguments, object introspection, macros, and many other advanced features... --Peter Hinely
          format-out("hello there!\n");
  • EffectiveSTL/VectorAndString . . . . 5 matches
         = Item13. Prefer vector and string to dynamically allocated arrays. =
         = Item14. Use reserve to avoid unnecessary reallocations. =
         = Item15. Be aware of variations in string implementations. =
         = Item16. Know how to pass vector and string data to legacy APIS =
  • FeedBack . . . . 5 matches
          * Sound created when a transducer such as a microphone or electric guitar picks up sound from a speaker connected to an amplifier and regenerates it back through the amplifier.
          *. The return of information about the result of a process or activity; an evaluative response: asked the students for feedback on the new curriculum.
          *. The process by which a system, often biological or ecological, is modulated, controlled, or changed by the product, output, or response it produces.
  • FrontPage . . . . 5 matches
         <div style = "float:right"> <a href="https://wiki.zeropage.org/wiki.php/UserPreferences">로그인하러가기</a> </div>
          * [https://chat.zp.ai Chat: ZeroPagers]의 메신저 Mattermost가 있습니다. (가입을 위해서는 회장님에게 문의하세요)
          * 서버 이전으로 ZeroWiki 동작에 문제가 있을 수 있습니다. 문제가 있으면 Mattermost ~devops 채널에 제보바랍니다.
  • Functor . . . . 5 matches
         A function object, often called a functor, is a computer programming construct allowing an object to be invoked or called as if it were an ordinary function, usually with the same syntax. The exact meaning may vary among programming languages. A functor used in this manner in computing bears little relation to the term functor as used in the mathematical field of category theory.
         비슷한 구현에 대해서 OO 쪽에서는 MethodObject 라 부르기도 함. (Refactoring에 나옴) 구현 모양상으로 보면 CommandPattern, C++ 진영에서는 Functor 가 일반적인 표현.; --[1002]
  • HelpOnCvsInstallation . . . . 5 matches
         sh update-makefile.sh
         sh update-makefile.sh
         이후의 설치방법은 HelpOnInstallation 페이지를 참고하세요.
         [[Navigation(HelpOnAdministration)]]
  • HowManyFibs?/1002 . . . . 5 matches
         근데, a,b=(1,10^100) 로 해도 1초도 안걸린다. 처음에는 'big integer 를 만들어라!' 라는 문제가 아니라고 생각했는데, 풀고 나니 뭔가 허탈함. 글쌔. 출제자가 원한 답은 big integer emulation 이였을까. 흑..
          * closed form 과 관련하여 Generating Function 이 아직도 익숙치 않아서 mathworld 의 힘을 빌리다. GF 를 공부해야겠다.
          * bigint 를 지원하는 python 이나 matlab 같은 언어에서는 더 할일이 없는 문제. 내가 공식 궁리하는 동안 옆의 분이 matlab 으로 10분만에 풀어버리다. 흑.
  • HowToStudyRefactoring . . . . 5 matches
         see also ["HowToStudyDesignPatterns"]
         OOP를 하든 안하든 프로그래밍이란 업을 하는 사람이라면 이 책은 자신의 공력을 서너 단계 레벨업시켜 줄 수 있다. 자질구레한 기술을 익히는 것이 아니고 기감과 내공을 증강하는 것이다. 혹자는 DesignPatterns 이전에 ["Refactoring"]을 봐야 한다고도 한다. 이 말이 어느 정도 일리가 있는 것이, 효과적인 학습은 문제 의식이 선행되어야 하기 때문이다. DesignPatterns는 거시적 차원에서 해결안들을 모아놓은 것이다. ["Refactoring"]을 보고 나쁜 냄새(Bad Smell)를 맡을 수 있는 후각을 발달시켜야 한다. ["Refactoring"]의 목록을 모두 외우는 것은 큰 의미가 없다. 그것보다 냄새나는 코드를 느낄 수 있는 감수성을 키우는 것이 더 중요하다. 본인은 일주일에 한 가지씩 나쁜 냄새를 정해놓고 그 기간 동안에는 자신이 접하는 모든 코드에서 그 냄새만이라도 확실히 맡도록 집중하는 방법을 권한다. 일명 ["일취집중후각법"]. 패턴 개념을 만든 건축가 크리스토퍼 알렉산더나 GoF의 랄프 존슨은 좋은 디자인이란 나쁜 것이 없는 상태라고 한다. 무색 무미 무취의 無爲적 自然 코드가 되는 그날을 위해 오늘도 우리는 리팩토링이라는 有爲를 익힌다. -- 김창준, ''마이크로소프트웨어 2001년 11월호''
          * Separate The What From The How : "어떻게"와 "무엇을"을 분리하도록 하라. 어떤 리팩토링이 창발하는가?
  • ISAPI . . . . 5 matches
          * IIS(Internet Information Services)란 웹 서버, FTP 서버와 같이 기본적이고 범용적인 인터넷 서비스를 시스템에서 제공할 수 있게 해주는 소프트웨어를 말한다. 기존 윈도우2000 제품군의 경우 기본적으로 IIS 5.0을 제공하였고 윈도우XP의 기존 IIS 5.0의 기능을 개선한 IIS 5.1을 제공하고 있다. 한 마디로 HTTP, FTP, SMTP 서버의 묶음이다.
         Internet Server Application Programming Interface 의 약자로 개발자에게 IIS 의 기능을 확장할 수 있는 방법을 제공한다. 즉, IIS 가 이미 구현한 기능을 사용해서 개발자가 새로운 기능을 구현할 수 있는 IIS SDK 다. 개발자는 ISAPI 를 이용해서 Extensions, Filters 라는 두 가지 형태의 어플리케이션을 개발할 수 있다.
          * High Performance : outperform any other web application technology. (ASP, servser-side component)
          * Scailability gains are not necessarily automatic : runs faster than others but there is no guarantee of perfect scalability
          * ISAPI operates below helpful IIS infrastructure : helpful programming abstractions are absent. (ex: session )
  • ISBN_Barcode_Image_Recognition . . . . 5 matches
         def generate_isbn_check_digit(numbers): # Suppose that 'numbers' is 12-digit numeric string
          for i, number in enumerate(numbers):
         == YUV Image Format ==
          * Planar Format으로, 프레임 크기만큼 Y 정보가 있고, 그 뒤에 프레임 크기의 반 만큼 U, V 정보가 존재한다.
  • ImmediateDecodability . . . . 5 matches
         == About ImmediateDecodability ==
         Set 1 is immediately decodable
         Set 2 is not immediately decodable
          || [문보창] || C++ || ? || [ImmediateDecodability/문보창] ||
          || [김회영] || C++ || ? || [ImmediateDecodability/김회영] ||
  • IsbnMap . . . . 5 matches
         AladdinMusic http://www.aladdin.co.kr/music/catalog/music.asp?ISBN= http://www.aladdin.co.kr/CDCover/$ISBN2_1.jpg
         AladdinBook http://www.aladdin.co.kr/catalog/book.asp?ISBN= http://www.aladdin.co.kr/Cover/$ISBN2_1.gif
         알라딘 Book Catalog는 경로가 다르고 gif포맷이라 하나 추가합니다.
          http://www.aladdin.co.kr/music/catalog/music.asp?ISBN=9049741495
          모니위키 1.1.3에서는 이와 관련된 버그가 고쳐졌고, 알라딘 같은 경우는 확장자가 jpg/gif인 경우를 자동으로 검출합니다. 이 경우 php.ini에 {{{'allow_url_fopen=1}}}같은 식으로 설정이 되어있어야 합니다. 또, config.php에 {{{$isbn_img_download=1;}}} 와 같이 옵션을 넣으면 이미지를 다운로드할 수도 있게 하여, 일부 referer를 검사하여 이미지를 보이지 않게 하는 사이트에서도 활용하기쉽게 하였습니다. -- WkPark [[DateTime(2009-01-13T07:14:27)]]
  • JTDStudy . . . . 5 matches
         = What is this page =
          * This page's group study Java , TDD and Design patterns
          * What is different between C++ and Java!
          * What is JUnit? How use this?
          * [JTDStudy/첫번째과제] - '''Update!'''
  • JavaStudy2002/상욱-2주차 . . . . 5 matches
          public static void main(String[] args) {
          if ( board.boardState(tempX, tempY) == true ) {
          private boolean board_[][] = new boolean [12][12];
          public boolean boardState(int x , int y ) {
          private int boardCount[][] = new int [10][10];
  • JollyJumpers/강소현 . . . . 5 matches
         == Status ==
          public static void main(String [] args)
          public static boolean isJolly(int [] arr, int size){
          if(Math.abs(arr[i+1]-arr[i]) >= size)//size 넘어가면 1~n-1을 넘어가니까.
          jollyNum[Math.abs(arr[i+1]-arr[i])]++;
  • JollyJumpers/임인택 . . . . 5 matches
          private int array[];
          int tmp = Math.abs(array[i]-array[i+1]);
          public static void main(String args[]) {
          private JollyJumpers2 jj;
          int tmp = Math.abs(array[i]-array[i+1]);
  • LinkedList/세연 . . . . 5 matches
          int data;
          head_pointer->data = num;
          head_pointer->data = num;
          cout << "no data in stack" << "\n";
          cout << "delete num : " << head_pointer->data << "\n";
  • LinuxSystemClass . . . . 5 matches
         === Report Specification ===
         === examination ===
         http://ssrnet.snu.ac.kr/course/os2004-1/errata.html - 번역서 errata 페이지.
         학교 수업공부를 하거나 레포트를 쓰는 경우 위의 학교 교재와 함께 'The Design of the Unix Operating System' 을 같이 보면 도움이 많이 된다. 해당 알고리즘들에 대해서 좀 더 구체적으로 서술되어있다. 단, 책이 좀 오래된 감이 있다.
  • MFC/Serialize . . . . 5 matches
         이를 위해서 MFC는 직렬화(Serialization)이라는 기능을 제공한다. 이 기능을 통해서 데이터를 저장하고 다시 읽는데 들이는 노력을 최소화 할 수 있다.
         protected: // create from serialization only
          DECLARE_DYNCREATE(CPainterDoc)
          // ClassWizard generated virtual function overrides
         IMPLEMENT_DYNCREATE(CXXXDoc, CDocument)
         DECLARE_DYNCREATE
          CXXXDoc 클래스의 객체가 시리얼화 입력과정동안 응용 프로그램을 통해 동적으로 생성될 수 있도록 한다. IMPLEMENT_DYNCREATE와 매치. 이 매크로는 CObject 에서 파생된 클래스에만 적용된다. 따라서 직렬화를 하려면 클래스는 직접적이든 간접적이든 CObject의 Derived Class 여야한다.
         IMPLEMENT_DYNCREATE
          (float, double, BYTE, int, LONG, WORD, DWORD, CObject*, CString, SIZE, CSize, POINT, CPoint, RECT, CRect, CTime, CTimeSpan 이 오버라이딩 되어있다.)
  • MFCStudy_2001/MMTimer . . . . 5 matches
          * 이것은 콜백 함수라서 전역 변수로 해야된다네요. 굳이 클래스 안에 넣고 싶다면 static으로 선언해야 합니다.
          클래스 선언시 timeproc함수는 static 으로 선언해야 합니다.
          * CALLBACK 함수는 클래스 내에서 선언 될 경우에는 static으로 선언 되어야합니다.
          - Applications should not call any system-defined functions from inside a callback function, except for PostMessage, timeGetSystemTime, timeGetTime, timeSetEvent, timeKillEvent, midiOutShortMsg, midiOutLongMsg, and OutputDebugString.[[BR]]
          pThis->Invalidate(TRUE);
  • MedusaCppStudy/석우 . . . . 5 matches
         void calculation(vector<Words>& sentence, Words& word);
          calculation(sentence, word);
         void calculation(vector<Words>& sentence, Words& word)
          catch (domain_error e)
          cout << e.what() << endl;
  • MindMapConceptMap . . . . 5 matches
         ConceptMap 에서 중요한 것은 각 Concept 뿐만 아니라 Concept 과 Concept 간의 Relation 의 표현이다.
         관련 자료 : 'Learning How To Learn', 'Learning, Creating and Using Knowledge - Concept Maps as Facilitative Tools in Schools and Corporations' (Joseph D. Novak)
         MindMap 의 표현법을 다른 방면에도 이용할 수 있다. 결국은 트리 뷰(방사형 트리뷰) 이기 때문이다. [1002]의 경우 ToDo 를 적을때 (보통 시간관리책에서 ToDo의 경우 outline 방식으로 표현하는 경우가 많다.) 자주 쓴다. 또는 ProblemRestatement 의 방법을 연습할때 사용한다. --[1002]
  • MineSweeper/Leonardong . . . . 5 matches
          def mine(): # static method
          mine = staticmethod( mine )
          def safyZone(): # static method
          safyZone = staticmethod( safyZone )
          run = staticmethod(run)
  • MoinMoin . . . . 5 matches
          * [http://freshmeat.net/projects/moin FreshMeat Entry]
         ''No! Originally "MoinMoin" does '''not''' mean "Good Morning". "Moin" just means "good" or "nice" and in northern Germany it is used at any daytime, so "Good day" seems more appropriate.'' --MarkoSchulz
         Mmmmh , seems that I can enrich so more info: "Moin" has the meaning of "Good Morning" but it is spoken under murmur like "mornin'" although the Syllable is too short alone, so it is spoken twice. If you shorten "Good Morning" with "morn'" it has the same effect with "morn'morn'". --Thomas Albl
  • MySQL/PasswordFunctionInJava . . . . 5 matches
         #format java
         // JDK 1.5 이상에서 동작. (String.format 함수 때문에)
          public static String toMySQLPassword(String aStr) {
          if(aStr.charAt(i) == ' ' || aStr.charAt(i) == '\t') continue; /* skipp space in password */
          int tmp = (aStr.charAt(i));
          String result = String.format("%08x%08x",new Object[]{new Integer(result1),new Integer(result2)});
          public static void main(String[] args) {
  • PageListMacro . . . . 5 matches
          * {{{date}}}: 날짜별 정렬및 날짜표시
         [[PageList(Help.*,date)]]
         [[PageList(Help.*,date)]]
         {{{[[PageList(date)]]}}}
         CategoryMacro
  • ParserMarket . . . . 5 matches
         This is a marketplace for your parsers. Please state your name, your email, and the release your parser is developed for (if you used a CVS snapshot, also state the revision number).
         #format python
         This way, the parser can directly be put on the page without any modification, and as easily copied from that page. See the examples below.
  • PlatformSDK . . . . 5 matches
         = Platform SDK =
         [http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdk-full.htm 다운로드 페이지] : 최신 버전은 VC6 와 호환되지 않는 다고함.
         기타 최신버전은 [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sdkintro/sdkintro/devdoc_platform_software_development_kit_start_page.asp MSDN platform SDK 소개 페이지] 에서 다운로드 하는 것이 가능하다.
  • PragmaticVersionControlWithCVS/CreatingAProject . . . . 5 matches
         || [PragmaticVersionControlWithCVS/UsingTagsAndBranches] || [PragmaticVersionControlWithCVS/UsingModules] ||
         = Creating a Project =
         == Creating the Initial Project ==
         [PragmaticVersionControlWithCVS]
  • PrimaryArithmetic/1002 . . . . 5 matches
          if count > 1: operationMessage = "operations"
          else: operationMessage = "operation"
          print "%s carry %s." % (count, operationMessage)
  • ProjectPrometheus/Iteration3 . . . . 5 matches
         || 7/22 || 3차 Iteration Planning. 시작 ||
         === 3rd Iteration (7.5 Task Point Loaded. 5.5 Task Point Completed) ===
         || Iteration 2 AcceptanceTest 작성 || 1 || ○ ||
         ||||||Story Name : Recommendation System(RS) Implementation, Login ||
  • ProjectZephyrus/ServerJourney . . . . 5 matches
          at command.CommandManager.getCommand(CommandManager.java:141)
          at network.UserSocket.run(UserSocket.java:89)
          * {{{~cpp InfoManager}}}에서 테이블을 만드는 {{{~cpp createPZTable}}}과 테이블은 없애는 {{{~cpp dropPZTable}}}을 만들었습니다. 완성은 아니구요... 조금 수정은 해야합니다.. --상규
          * 상규 파트는 {{{~cpp InfoManager}}}만을 건드리도록 원칙을 정했기에, Cmd 부분이 결정되야 작업이 가능하다. 결정은 다되었고, Cmd들의 Attribute만 넣은 상태로 넘겨주면 진행이 될텐데, 지연되는 것이 안타깝다. 그냥 내가 만들고 넘겨야 할듯..
          1. JCreator용 설정 파일 작성
          * mm.mysql과 Junit 의 라이브러리를 프로젝트 내부에 넣고, 패키지를 network, information, command 로 구분 --상민
  • ProjectZephyrus/ThreadForServer . . . . 5 matches
         [http://zeropage.org/~neocoin/ProjectZephyrus/data/junit.jar jUnit Lib] [[BR]]
         [http://zeropage.org/~neocoin/ProjectZephyrus/data/mm.mysql-2.0.14-bin.jar MySQL JDBC Driver][[BR]]
         Dummy data미존재시 입력 메소드
         information hiding이 잘 지켜지지 않았다. 다른 쪽은 내가 코딩하면서 package내부는 느슨하게,
         InfoManager의 코드들의 경우 attribute에 직접 접근하는 부분이 너무많은듯 하다.
  • RandomWalk2/Vector로2차원동적배열만들기 . . . . 5 matches
          * [http://www.parashift.com/c++-faq-lite/containers-and-templates.html#faq-33.1 Why Arrays are Evil]
          * [http://www.cuj.com/articles/2000/0012/0012c/0012c.htm?topic=articles A Class Template for N-Dimensional Generic Resizable Arrays]
          * Bjarne Stroustrup on Multidimensional Array [http://www.research.att.com/~bs/array34.c 1], [http://www.research.att.com/~bs/vector35.c 2]
          * array보다 vector를 먼저 가르치는 대표적인 책으로 "진정한 C++"을 가르친다는 평가를 받고 있는Seminar:AcceleratedCPlusPlus
  • Ruby/2011년스터디/서지혜 . . . . 5 matches
          HANDLE hProcessSnap = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
          _tprintf(_T("CreateToolhelp32Snapshot erre\n"));
          TCHAR *targetProcess = _T("NateOnMain.exe"); // 종료하려는 프로세스의 이름을 쓴다
          HANDLE hProcessSnap = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
          TerminateProcess(hProcess, -1);
  • STL . . . . 5 matches
         Standard Template Library 의 준말.
         C++ 의 [GenericProgramming] 기법인 Template 을 이용, container (["DataStructure"] class. 다른 언어에서의 Collection class 들에 해당) 와 [Algorithm|algorithm] 에 대해 구축해놓은 라이브러리.
          * [http://www.sgi.com/tech/stl/ Standard Template Library Programmer's Guide]
          See Also ["Boost"], ["EffectiveSTL"], ["GenericProgramming"], ["AcceleratedC++"]
  • SecurityNeeds . . . . 5 matches
         I actually have a rather different security problem. I would like to set up
         be for legal reasons, but has been imposed as a requirment that I cannot
         get around. Anyone know of a wiki that restricts access in such a way?
          Yes, see Wiki:OrgPatterns which runs in Wiki:FishBowl mode. - ''This may be exactly what I was looking for... thanks!!!''
  • Self-describingSequence/황재선 . . . . 5 matches
          private final int MAX = 673366;
          int numRepeat;
          numRepeat = describing[output];
          for(int i = 0; i < numRepeat; i++) {
          public static void main(String[] args) {
  • Server&Client/상욱 . . . . 5 matches
          public static void main(String[] args) {
          } catch (IOException ioe) {
          } catch (Exception e) {
          public static void main(String[] args) throws Exception {
         ["JavaStudyInVacation/진행상황"]
  • StringOfCPlusPlus/상협 . . . . 5 matches
         private:
          String operator+(const String &s) const;
          friend ostream& operator<<(ostream &os, String &s);
         String String::operator +(const String &s) const
         ostream& operator<<(ostream &os, String &s)
  • StringOfCPlusPlus/영동 . . . . 5 matches
         private:
          Anystring operator+(const Anystring &string1); //const;
          friend ostream& operator<<(ostream & os, const Anystring & a_string);
         Anystring Anystring::operator+(const Anystring &string1) //const
         ostream& operator<<(ostream& os, const Anystring & a_string)
  • SummationOfFourPrimes . . . . 5 matches
         == About[SummationOfFourPrimes] ==
          || [문보창] || C++ || . || [SummationOfFourPrimes/문보창] || O ||
          || [김회영] || C++ || ? || [SummationOfFourPrimes/김회영] || . ||
          || [곽세환] || C++ || ? || [SummationOfFourPrimes/곽세환] || O ||
          || [1002] || Python || 50분(이후 튜닝 진행. 총 2시간 46분 23초) || [SummationOfFourPrimes/1002] || X (5.7s) ||
  • TeachYourselfProgrammingInTenYears . . . . 5 matches
          pubdate: after 1992 and title: days and
         프로그램을 쓰는 것.학습하는 최고의 방법은,실천에 의한 학습이다.보다 기술적으로 표현한다면, 「특정 영역에 있어 개인이 최대한의 퍼포먼스를 발휘하는 것은, 장기에 걸치는 경험이 있으면 자동적으로 실현된다고 하는 것이 아니고, 매우 경험을 쌓은 사람이어도, 향상하자고 하는 진지한 노력이 있기 때문에, 퍼포먼스는 늘어날 수 있다」(p. 366) 것이며, 「가장 효과적인 학습에 필요한 것은, 그 특정의 개인에게 있어 적당히 어렵고, 유익한 피드백이 있어, 게다가 반복하거나 잘못을 정정하거나 할 기회가 있는, 명확한 작업이다」(p. 20-21)의다(역주3).Cambridge University Press 로부터 나와 있는 J. Lave 의「Cognition in Practice: Mind, Mathematics, and Culture in Everyday Life」(역주4)라고 하는 책은, 이 관점에 대한 흥미로운 참고 문헌이다.
         Lave, Jean, Cognition in Practice: Mind, Mathematics, and Culture in Everyday Life, Cambridge University Press, 1988.
  • TestDrivenDevelopmentByExample/xUnitExample . . . . 5 matches
          method = getattr( self, self.name )
          def testTemplateMethod(self):
          def testFailedResultFormatting(self):
         TestCaseTest("testTemplateMethod").run()
         TestCaseTest("testFailedResultFormatting").run()
  • TheJavaMan/달력 . . . . 5 matches
          changeData();
          changeData();
          showPanel.updateUI();
          public void changeData()
          } catch (Exception e)
  • ThePriestMathematician/문보창 . . . . 5 matches
         // 10254 - The Priest Mathematician
         using namespace BigMath;
         [ThePriestMathematician]
  • Trac . . . . 5 matches
         Trac is an enhanced wiki and issue tracking system for software development projects. Trac uses a minimalistic approach to web-based software project management. Our mission; to help developers write great software while staying out of the way. Trac should impose as little as possible on a team's established development process and policies.
         It provides an interface to Subversion, an integrated Wiki and convenient report facilities.
         Trac allows wiki markup in issue descriptions and commit messages, creating links and seamless references between bugs, tasks, changesets, files and wiki pages. A timeline shows all project events in order, making getting an overview of the project and tracking progress very easy.
         = Related =
         dev를 위해서는 사실 위의 링크들의 설치 방법은 거의다 쓸모 없다. Trac이 10->11로 넘어가는데 오래 정체되고 있는 이유는 내부를 대폭 개선하고 있기 때문이다. Template engine과 소스 컬러링 엔진을 바꾸었고, 기존의 plugin으로 존재하던 유용한 관리 도구들을 모두 결합하고 있다. 자료 구조도 손보고 있다. NeoCoin이 몇달간 dev버전을 사용해 보면서 별 무리 없이 이용하고 있다.
  • UnityStudy . . . . 5 matches
          * 축을 이용해서 객체의 position와 rotation 등을 조절할 수 있다. 또한 크기도 조절이 가능하다.
          transform.rotation *= Quaternion.AngleAxis(Input.GetAxis("Horizontal") *30.0 * Time.deltaTime, Vector3(0, 0, 1));
          transform.rotation *= Quaternion.AngleAxis(Input.GetAxis("Vertical") *30.0 * Time.deltaTime, Vector3(1, 0, 0));
  • UsenetMacro . . . . 5 matches
          * Copyright 2004 by Gyoung-Yoon Noh <nohmad at sub-port.net>
         function macro_Usenet($formatter, $value)
          if (preg_match('/[[:xdigit:]]+/', $thread))
          $out = "GET {$purl['path']} HTTP/1.0\nHost: {$purl['host']}\n\n";
          if (!preg_match('@200 OK@i', $buf))
  • VisualBasicClass/2006/Exam1 . . . . 5 matches
         Private Sub Command1_Click()
         Private Sub List1_Check()
         ① Date - 2005-07-06
         ② Year(Date) - 2005
         ④ Nonth(date) - 7
  • VonNeumannAirport . . . . 5 matches
          * ["Refactoring"] Bad Smell 을 제대로 맡지 못함 - 간과하기 쉽지만 중요한 것중 하나로 naming이 있다. 주석을 다는 중간에 느낀점이 있다면, naming 에 대해서 소홀히 했다란 느낌이 들었다. 그리고 주석을 달아가면서 이미 구식이 되어버린 예전의 테스트들 (로직이 많이 바뀌면서 테스트들이 많이 깨져나갔다) 를 보면 디미터 법칙이라던가 일관된 자료형의 사용 (InformationHiding) 의 문제가 있었음을 느낀다.
          * PassengerSet Case가 여러개이고 Configuration 은 1개인 경우에 대해서. Configuration 1 : 여러 Case 에 대해 각각 출력하는 경우.
          -> 역시 PassengerSet 이 따로 있어서 Configuration 과 같이 협동할 경우엔 쉽게 구현 가능. 그렇지 않은 경우 고생 예상.
          * 가장 트래픽이 많이 발생하는 길을 알아낸다. - 복도에 대해서 InformationHiding.
  • WikiHomePage . . . . 5 matches
         A WikiHomePage is your personal page on a WikiWiki, where you could put information how to contact you, your interests and skills, etc. It is regarded as to be owned by the person that created it, so be careful when editing it.
         When you create one, put the the word Category''''''Homepage on it, like can be seen on this page.
  • WikiProjectHistory . . . . 5 matches
         || [DesignPatternStudy2005] || 상협, 재선, 상섭 || 디자인 패턴 스터디 || 종료 ||
         || ["DataStructure"] || ["[Lovely]boy^_^"] || 자료구조! 목표달성! || 종료 ||
         || ["KDPProject"] || ["1002"], ["neocoin"], ["comein2"], ["JihwanPark"] || Design Pattern Study. Wiki 활성화 첫 프로젝트. 종료후 남은 Pattern 은 개인적 담당. || 종료 ||
         || ["PatternOrientedSoftwareArchitecture"] || ["상협"],["[Lovely]boy^_^"] || 책에서 본거 간단하게 정리 || 유보 ||
  • WikiWikiWebFaq . . . . 5 matches
         '''Q:''' So what is this WikiWiki thing exactly?
         '''A:''' A set of pages of information that are open and free for anyone to edit as they wish. The system creates cross-reference hyperlinks between pages automatically. See WikiWikiWeb for more info.
  • WordPress . . . . 5 matches
         기본 인코딩으로 utf-8을 채택했기 때문에 technorati 와 같은 메타 블로그 검색엔진에도 연동이 가능하며, 앞으로의 인코딩에도 큰 문제가 없을 것으로 기대된다.
         특징적인 강점으로는 mt에 비해서 굉장히 설정이 간편하고, configuration 이 엄청나게 간단하다.
         기존에 egloos, tattertools 를 이용하던 분들이라면 아래의 툴로 간편하게 이주하는 것이 가능하다.
          Converter) Upload:wp_converter_egloos_tatter.zip
         = Related =
  • XPlanner . . . . 5 matches
         === What is XPlanner? ===
          http://www.xplanner.org/images/screenshots/iteration.jpg
          http://www.xplanner.org/images/screenshots/iteration_metrics.jpg
          http://www.xplanner.org/images/screenshots/statistics.jpg
          http://www.xplanner.org/images/screenshots/integration.jpg
  • Yggdrasil/temp . . . . 5 matches
          char matrix[70][100];
          matrix[i][j]=' ';
          matrix[y][x]=character;
          cout<<matrix[j][k];
          matrix[j][k]=' ';
  • Yggdrasil/가속된씨플플 . . . . 5 matches
          * AcceleratedC++을 공부하려고 만든 페이지. 후배들과 같이 하려고 했는데, 시간이 안 맞아서 혼자 하게 될 듯.
          * SeeAlso [AcceleratedC++]
          * 이거 빨리 정리해서 [AcceleratedC++]페이지와 통합을 계획중인데, 인수형이 정리를 너무 잘 하셔서 쓸 말이 없다. 감히 쓰기가 겁난다.
         잘알고 있겠지만, 지금 하고 있는 내용은 [AcceleratedC++]의 하위 요약 페이지와 많은 부분이 중복됩니다. 만약 이대로 유지한다면, 두 내용 모두 불완전한체로 끝나게 되겠지요. ([Yggdrasil/가속된씨플플/1장]와 [AcceleratedC++/Chapter1] 비교) 그렇다면 어떻게 할까요? 두페이지를 대상으로 [페이지다듬기]를 합니다.
  • ZIM/UIPrototype . . . . 5 matches
         http://zeropage.org/~reset/zb/data/Zim_LoginMode.gif
         http://zeropage.org/~reset/zb/data/1010508003/Zim_Lists.gif
         http://zeropage.org/~reset/zb/data/1010508027/Zim_PopupBuddy.gif
         http://zeropage.org/~reset/zb/data/1010508027/Zim_PopupZimmer.gif
         http://zeropage.org/~reset/zb/data/Zim_MessageWnd.gif
  • ZeroPageServer/AboutCracking . . . . 5 matches
          * 점검 : 이상 계정 찾기, 네트웍 확인, security update
          * cracking 한 사람이, 서버상의 NeoCoin 의 data를 지운것이 아니라서, 다행 하지만 역시 불안.
          * netstat 만으로도 쓸모 있게 찾을 수 있음
          * 모 회원 계정의 squid 를 들수 있다. netstat 로 상태를 살피면, 기본 squid 세팅으로 proxy 를 이용하면, 상대의 smtp port인 25 번으로 계속 뭐가 발송되었다. 기본 세팅 변경후에 그 발송되는 상태가 없었다. 하지만, squid 로 이렇게 된다는 것이 보고된 사례를 찾지 못했고, stable 버전 자체에 그런 기능이 숨어 있다는 것은 생각하기 어렵다.
          그렇다면, 이 문제가 원인이 확실한것 같군요. 테스트상 port 를 바꾸자, 정상적으로 동작하는 state 를 보여주었거든요. --NeoCoin
  • [Lovely]boy^_^/ExtremeAlgorithmStudy . . . . 5 matches
          * ["[Lovely]boy^_^/ExtremeAlgorithmStudy/MathematicalFoundations"]
          * ["[Lovely]boy^_^/ExtremeAlgorithmStudy/SortingAndOrderStatistics"]
          * ["HowToStudyDataStructureAndAlgorithms"]
  • c++스터디_2005여름/실습코드 . . . . 5 matches
         private :
         private:
         #include <math.h>
         private:
         private:
  • canvas . . . . 5 matches
         private:
          for (list<Shape*>::iterator it=m_shape.begin();it!=m_shape.end();it++){
          for (list<Shape*>::iterator it=m_shape.begin(); it!=m_shape.end();it++){
         private:
          for(vector<Shape*>::iterator it=canvas.begin(); it!=canvas.end();++it)
          Triangle aTriangle;
          aCompositeShape2.Add(&aTriangle);
  • html5/outline . . . . 5 matches
          * http://www.webguru.pe.kr/zbxe/files/attach/images/2848/655/824/structure-div.gif
          * http://www.webguru.pe.kr/zbxe/files/attach/images/2848/655/824/structure-html5.gif
         <time datetime="2009-10-05" pubdate>10월 5일</time>
          * [http://appletree.or.kr/blog/category/web-development/css/ HTML에 관한 깊이 있는 글을 보여주는 블로그]
  • 가독성 . . . . 5 matches
         This is a short document describing the preferred coding style for the linux kernel. Coding style is very personal, and I won't force my views on anybody, but this is what goes for anything that I have to be able to maintain, and I'd prefer it for most other things too. Please at least consider the points made here.
         그래서 추측을 했었는데, 자신이 쓰는 도구에 따라 같은 코드도 가독성에 영향을 받을 수 있겠다는 생각을 해봅니다. VI 등의 editor 들로 코드를 보는 분들이라면 아마 일반 문서처럼 주욱 있는 코드들이 navigation 하기 편합니다. (아마 jkl; 로 돌아다니거나 ctrl+n 으로 page 단위로 이동하시는 등) 이러한 경우 OO 코드를 분석하려면 이화일 저화일 에디터에 띄워야 하는 화일들이 많아지고, 이동하기 불편하게 됩니다. (물론 ctags 를 쓰는 사람들은 또 코드 분석법이 다르겠죠) 하지만 Eclipse 를 쓰는 사람이라면 코드 분석시 outliner 와 caller & callee 를 써서 코드를 분석하고 navigation 할 겁니다. 이런 분들의 경우 클래스들과 메소드들이 잘게 나누어져 있어도 차라리 메소드의 의미들이 잘 분리되어있는게 분석하기 좋죠.
  • 경시대회준비반 . . . . 5 matches
         || [ThePriestMathematician] ||
         || [DermubaTriangle] ||
         || [IsThisIntegration?] ||
         || [ChocolateChipCookies] ||
         [http://www.topcoder.com/tc?module=Static&d1=tutorials&d2=dynProg Dynamic Programming: From novice to advanced] 읽어보세요.
  • 김영록/연구중/지뢰찾기 . . . . 5 matches
         static int space[16][16];
         static int gameover=1; //0일경우 메뉴 무한루프 끝
         void mine_update(int X, int Y); //지뢰가 없을경우 그근처에 지뢰수를 업뎃
         void mine_update(int X, int Y)
          mine_update(X,Y);
  • 달리기/강소현 . . . . 5 matches
          public static void main(String[] args) {
          int [] path = new int[T];
          path[i] = F*2;
          path[i] = U+D;
          run += path[i];
  • 데블스캠프2006/월요일/함수/문제풀이/김준석 . . . . 5 matches
         bool team684(int daewon, int weapon_num, int boat_num){
          if(daewon >= 40 && (daewon/boat_num)<8 && (weapon_num/daewon >=1)) return true;
          int daewon, weapon_num, boat_num;
          cin >> daewon >> boat_num >> weapon_num;
          if(team684(daewon, weapon_num, boat_num)){
  • 데블스캠프2006/월요일/함수/문제풀이/성우용 . . . . 5 matches
          int num=0,gun=0,boat=0;
          team684(num,gun,boat);
         bool team684(int num,int gun,int boat)
          cin >> boat;
          sum = num + gun + boat;
  • 데블스캠프2006/월요일/함수/문제풀이/윤영준 . . . . 5 matches
          int member, gun, boat;
          cin >> boat;
          team684(member, gun, boat);
         bool team684(int member, int gun, int boat){
          power=(member+gun)*2+boat/2;
  • 데블스캠프2009/금요일/SPECIALSeminar . . . . 5 matches
          * 지원 : Satisficing (Satisfy + Sacrifice) - 여러가지 한도 안에서의 최적을 찾아낸다.
          * 객관적 Data : I-triple에서 2000명의 대학생과 실무자에게 물었습니다.
          * Data Structure, Algorithm, SE, OOP
          * Communication skill, Writing skill
  • 데블스캠프2010/다섯째날/ObjectCraft/미션1/김정욱 . . . . 5 matches
          int attack;
          zergling[0].attack=10;
          zergling[1].attack=5;
          zergling[0].hp -= zergling[1].attack;
          zergling[1].hp -= zergling[0].attack;
  • 데블스캠프2010/다섯째날/ObjectCraft/미션1/박재홍 . . . . 5 matches
          int attack;
          a.attack=5;
          b.attack=5;
          dam1=a.attack-b.defense;
          dam2=b.attack-a.defense;
  • 데블스캠프2011/넷째날/루비/서민관 . . . . 5 matches
          attr_writer:inputNum
          attr_reader:inputNum
          attr_writer:randNum
          attr_reader:randNum
         처음에 randNum에 attr_writer를 지정하지 않아서 값을 못 써서 고생 좀 했습니다 -_-
  • 데블스캠프2011/셋째날/RUR-PLE/서영주 . . . . 5 matches
          repeat(moveAndPick, 6)
          repeat(moveAndPick, 6)
          repeat(turn_left, 3)
          repeat(turn_left, 4)
          repeat(turn_right, 3)
  • 데블스캠프2011/셋째날/String만들기/서지혜 . . . . 5 matches
         private:
          const char charAt(const int offset);
          void concat(const char* str);
         const char String::charAt(int offset)
         String String::concat(const char* str)
          // charAt
          if(str.charAt(3) == 'd') // OK
          // concat
          String strCon = str.concat("ccc");
  • 데블스캠프2012/셋째날/앵그리버드만들기 . . . . 5 matches
         attachment:bird.png
         Bird.prototype.move = function(deltaTime)
          this.x += this.vx * deltaTime;
          this.y += this.vy * deltaTime;
          this.vy += deltaTime/1000;
          var that = this;
          that.onMouseUp(e);
          var currentTime = new Date();
          currentTime = new Date();
          var deltaTime = currentTime - oldTime;
          this.move(deltaTime);
         Game.prototype.move = function(deltaTime)
          this.currentBird.move(deltaTime);
  • 미로찾기/김민경 . . . . 5 matches
         int data[51][51];
          fscanf (fp,"%d",&data[i][j]);
          if (!data[x+dx[i]][y+dy[i]] && x+dx[i]>=1 && x+dx[i]<=finish_x && y+dy[i]>=1 && y+dy[i]<=finish_y){
          data[x+dx[i]][y+dy[i]]=1;
          data[x+dx[i]][y+dy[i]]=0;
  • 미로찾기/영동 . . . . 5 matches
         == MazePath.cpp ==
          {//Constructor with initial data
          {//Print path from start to end
          cout<<"There is no path in maze\n";
          cout<<" ";//Path
  • 반복문자열/조현태 . . . . 5 matches
         -export([repeat/3]).
         repeat(Max, Max, L) -> [L];
         repeat(I, Max, L) -> [L | repeat(I + 1, Max, L)].
         11> pr_1:repeat(1, 3, "CAUCSE LOVE").
  • 빵페이지/도형그리기 . . . . 5 matches
         format = ( '%%%ds '% (num) ) * 4
          print format%( ('*'* odd,'*'*even) * 2 )
          char odd[MAX],even[MAX],format[20];
          sprintf(format,"%%%ds %%%ds %%%ds %%%ds\n",num,num,num,num);
          printf(format,odd,even,odd,even);
  • 빵페이지/숫자야구 . . . . 5 matches
          - 무엇이든 100% 좋고 100% 나쁜것은 없습니다. dijkstra 할아버지가 goto 를 쓰지 말라고 하셨을 때도 달리 생각하는 많은 아저씨들이 수많은 논문을 썼고 이로 인해 많은 논쟁이 있었습니다. 중요한것은 ''좋으냐? 혹은 나쁘냐?'' 가 아니라 그 결론에 이루어지기까지의 과정입니다. SeeAlso NotToolsButConcepts Seminar:컴퓨터고전 [http://www.google.co.kr/search?q=goto+statements+considered+harmful&ie=UTF-8&hl=ko&btnG=%EA%B5%AC%EA%B8%80+%EA%B2%80%EC%83%89&lr= Goto Statements Considered Harmful의 구글 검색결과] Wiki:GotoConsideredHarmful - [임인택]
         Ver 1.3 Update
         Ver 1.2 Update
         Ver 1.1 Update
  • 삼총사CppStudy/Inheritance . . . . 5 matches
         private:
          int m_Attack;
          void Attack() { // 마린 공격!! }
         class CFirebat // 파이어뱃을 정의한 클래스
         private:
          int m_Attack;
          void Attack() { // 파이어뱃 공격!! }
         CFirebat Force[12]; // 이렇게 하면 부대안에는 파이어뱃밖에 넣지 못한다.
          int m_Attack;
          void Attack();
          void Attack() { // 마린 공격! }
         class CFirebat : public CUnit
          void Attack() { // 파이어뱃 공격! }
  • 삼총사CppStudy/숙제2 . . . . 5 matches
          || operator+ || 2개의 벡터를 더합니다. ||
          || operator- || 첫번째 벡터에서 두번째 벡터를 뺍니다. ||
          || operator*(#1) || 스칼라값을 곱합니다. ||
          || operator*(#2) || 벡터의 외적을 구합니다. ||
          || operator^ || 벡터의 내적을 구합니다. ||
  • 새싹교실/2011/學高/1회차 . . . . 5 matches
          * 컴퓨터에서 쓰이는 data는 기본적으로 10진법(Dec.), 8진법(Oct.), 16진법(Hex.)중에 무엇으로 저장될까?
          * SW의 구분: System SW, Application SW
          * 컴퓨터에서 쓰이는 data는 기본적으로 10진법(Dec.), 8진법(Oct.), 16진법(Hex.)중에 무엇으로 저장될까?
          * 컴퓨터에서 쓰이는 data는 기본적으로 10진법(Dec.), 8진법(Oct.), 16진법(Hex.)중에 무엇으로 저장될까?
          * 컴퓨터에서 쓰이는 data는 기본적으로 10진법(Dec.), 8진법(Oct.), 16진법(Hex.)중에 무엇으로 저장될까?
  • 새싹교실/2011/學高/6회차 . . . . 5 matches
          * relational operator
          * logical operator
          * automatic type conversion, type casting
          * if, ternary conditional operator, switch, dangling-else problem
  • 새싹교실/2012/AClass/3회차 . . . . 5 matches
         float r,c;
         c=(float)r/2;
         float n1,n2,n3;
         printf("%.3f ",(float)(n1+n2+n3)/3);
          ave = (float)(a + b + c) / 3.0;
  • 새싹교실/2012/Dazed&Confused . . . . 5 matches
          * 새로운 용어들 #define, getchar, rand, <math.h>등에 대해서 알게 되었다. 이런 새로운 용어들을 복습해 봐야겠다. winapi를 알게 되어 조금 더 찾아 볼 수 있어 좋았다 - [박승우]
         [http://farm8.staticflickr.com/7059/6896354220_8e441aaf97_m.jpg http://farm8.staticflickr.com/7059/6896354220_8e441aaf97_m.jpg] [http://farm8.staticflickr.com/7075/7042450571_199ccd6d41_m.jpg http://farm8.staticflickr.com/7075/7042450571_199ccd6d41_m.jpg]
  • 새싹교실/2012/벽돌쌓기 . . . . 5 matches
          : 자료형의 종류 (int, float, double, char, string)
          * int와 int값의 연산은 int로 나오는 데, int와 float값의 연산이 왜 float로 출력되는 가, float와 float값을 int값에 저장하였을 때 왜 소수점 자리가 버려지는 가 등과 같은 내용으로 강제형변환을 강의하였다.
  • 새싹교실/2012/새싹교실강사교육/3주차 . . . . 5 matches
          float value;
         float calcalc(CALORIE *, int);
         float calcalc(CALORIE *pcal, int num){
          float gram = 0;
          float totalcal = 0.0;
  • 새싹교실/2012/아우토반/앞반/5.10 . . . . 5 matches
          float b = 10;
          float * pB = &b;
          float * pB = &b; // pB는 b의 주소값, *pB는 b의 값
          float b = 10;
          float * pB = &b;
  • 수학의정석/방정식/조현태 . . . . 5 matches
         #include <math.h>
         void input_data(int*,int*,int*);
          input_data(&x,&y,&t);
         void input_data(int *x, int *y, int *t)
          double answer=sqrt((float)(y*y+t*t*x*x));
  • 알고리즘3주숙제 . . . . 5 matches
         Consider the following problem: one has a directory containing a set of names and a telephone number associated with each name.
         Given a name and the value n the problem is to find the number associated with the name.
         The distance between the two points that are closest.
         == Integer Multiplication ==
         The (2n)-digit decimal representation of the product x*y = z
  • 이영호/개인공부일기장 . . . . 5 matches
         ☆ 구입해야할 책들 - Advanced Programming in the UNIX Environment, Applications for Windows, TCP/IP Illustrated Volume 1, TCP/IP Protocol Suite, 아무도 가르쳐주지않았던소프트웨어설계테크닉, 프로젝트데드라인, 인포메이션아키텍쳐, 초보프로그래머가꼭알아야할컴퓨터동작원리, DirectX9Shader프로그래밍, 클래스구조의이해와설계, 코드한줄없는IT이야기, The Art of Deception: Controlling the Human Element of Security, Advanced Windows (Jeffrey Ritcher), Windows95 System Programming (Matt Pietrek)
         ☆ 앞으로 공부해야할 책들(사둔것) - Effective C++, More Effective C++, Exeptional C++ Style, Modern C++ Design, TCP/IP 네트워크 관리(출판사:O'Reilly), C사용자를 위한 리눅스 프로그래밍, Add-on Linux Kernel Programming, Physics for Game Developers(출판사:O'Reilly), 알고리즘(출판사:O'Reilly), Hacking Howto(Matt 저), Windows 시스템 실행 파일의 구조와 원리, C언어로 배우는 알고리즘 입문
         3 IAT란?
          IAT복구 방법.
         4일 (목) - (pragma pack(1)과 같은 것 -> struct __attribute__((packed)) test -> 끝에 unpack과 같은 것을 안해줘도 됨.)
  • 이영호/미니프로젝트#1 . . . . 5 matches
          (3번에서 Master가 누군지 알아보게 하는 것 -> Private 메세지로 패스워드를 넘겨 IP를 인증 받는 방식.)
         attack_#.c(# == 임의의 숫자) -> 공격 함수. 요즘 보안홀들을 체크하여 보안홀들을 공격하는 함수들을 집어넣자.
          ina.sin_port = htons(atoi(info.port));
          printf("Connect Initialization Succeed!n");
          fprintf(stderr, "Child Process Created!: pid = %dn", pid);
          fprintf(stderr, "Child Process Closed!: pid = %d, WEXITSTATUS = %Xn", pid, WEXITSTATUS(last));
  • 임인택/삽질 . . . . 5 matches
          * C++ 에서 SingletonPattern 을 적용했는데.. 소멸자가 호출되지 않는것 같다.. 프로그램 종료시에 인스턴스를 강제로 삭제하였다. - 타이머 루틴에서 instance() 를 얻어왔는데. 타이머는 KillTimer 직후에 소멸되지 않는다.. 이로 인해.. 인스턴스가 삭제 된 후에 다시 생성되었었다...
          - ToDo : StaticObject 의 소멸시점 알아봐야지. 클래스일 경우와 구조체일 경우. Java, C++
          ''PatternHatching 에서의 Singleton 부분 참조''
          // some operation with 3x3 array.
  • 정모/2012.3.12 . . . . 5 matches
          * 전시회 홍보, 동아리 방 설명에 이어서 OMS가 상당히 인상 깊었던 정모였습니다. 제목만 보고도 그 주제를 고르신 이유를 바로 알았습니다. 전체적으로 Type, Type Safety, Java Generics에 대해서 상당히 깊이 다루지 않았나 싶네요. 사실 제네릭스 모양이 C++의 템플릿과 비슷하게 생겨서 같은 것이라고 생각하고 있었는데 이건 확실히 '만들어진 이유가 다르다'고 할 만 하군요. 그리고 마지막에 이야기했던 Type Erasure는 제네릭스를 구현할 때 JVM 레벨에서 구현하지 않고 컴파일러 부분에서 처리를 하도록 했기 때문에 타입이 지워지는 거라는 얘기를 들었는데 맞는지 모르겠군요. 이거 때문에 제네릭스 마음에 안 들어하는 사람들도 있는 모양이던데. 중간에 이 부분에 대한 개선이 이루어지고 있다는 말씀을 잠깐 하셨는데 컴파일 이후에도 타입 정보가 사라지지 않도록 스펙을 수정하고 있는 건가요? 좀 궁금하군요. 여담이지만 이번에 꽤 인상깊게 들었던 부분은 예상외로 Data Type에 대한 부분이었습니다. 이걸 제가 1학년 여름방학 때 C++ 스터디를 한다고 수경 선배한테 들은 기억이 지금도 나는데, 그 때는 Type이 가능한 연산을 정의한다는 말이 무슨 뜻인지 이해를 못 했었죠 -_-;;; 이 부분은 아마 새내기들을 대상으로 새싹을 할 때 말해줘야 할 필요가 있지 않을까 싶습니다. 아마 당장은 이해하지 못 하겠지만. 후후 - [서민관]
          * 사고가 확장되는 건 언제나 즐거운 일이네요. 수학의 기본 정의를 이용하여 Data type을 설명하신 것을 보며, 놀라웠습니다. 프로그래밍 관련 생각을 할 때 마다, 매번 '아 나의 사고(thinking)의 도메인이 너무 작어 ㅜㅜ'라는 생각을 많이 하였는데, Data type의 정의를 들으면서 '내가 평소에 인지(recognize)하지 못했기 때문에, 깊게 생각해보려고 해도 다른 분야의 개념들이 자연스럽게 생각이 떠오르지 않는구나.'라는 생각을 해보게 되었습니다. 이런 건 계속 연습을 해야겠지요 ㅜㅜㅋ 뒤쪽 부분도 상당히 흥미로웠습니다만.. 어제 몸이 아파서 밤에 잠을 못 잔 관계로; 결국 OMS듣다가 정신이 안드로메다로 날아가서 제대로 못들었네요.. 그리고 회장은 항상 수고하네요. 갑자기 많은 일을 하게 되었을텐데 수고하십니다 ㅋ -[박성현]
          * Type safety를 설명하기 위해 Data type 이야기에서 시작했습니다. Data type에 대한 나름의 정의는 멘토링을 통해 듣고 새싹에서 알차게 우려먹은 내용이었어요. 아마 많은 새싹 교실 선생님들께서 첫 주에 변수와 자료형에 대해 수업을 진행하지 않을까 생각하는데 여러분도 알차게 써먹으시길ㅋㅋㅋ
  • 정모/2013.5.6/CodeRace . . . . 5 matches
          * 프레젠테이션 : http://intra.zeropage.org:4000/CodeRace?presentation
          static void Main(string[] args)
         Q1: cat input | sed 's/ /\n/g'
         Q2: cat input|sed 's/ /\n/g'|sort|uniq -c|awk '{print $2, $1}'
         Q3: cat input|sed 's/ /\n/g'|sort|uniq -c|awk '{print $2, $1}' | sort
  • 중위수구하기/나휘동 . . . . 5 matches
         approximation: O( n<sup>2</sup> )
          import sys, math
          print i, metric(i), i**2, i*math.log(i)
          import sys, math
          print i,'\t', metric(i), '\t',i**2, '\t', i*math.log(i)
  • 코바예제/시계 . . . . 5 matches
         == 구현 객체(implementation object) 생성 ==
         public static void main(String [] args) {
         } catch(SystemException e) {
         public static void main(String [] args) {
         } catch(SystemException e) {
  • 코바용어정리 . . . . 5 matches
         클라이언트의 반대쪽에는 구현 객체라고 알려진 실제 객체가 있다. '구현 객체(Object Implementation)'는 실제 상태(state)와 객체의 반응 양상(behavior)을 규정하며 다양한 방식으로 구성될 수 있다. 구현 객체는 객체의 메소드와 객체에 대한 활성화 및 비활성화 프로시저를 정의한다. 구현 객체는 객체 어댑터의 도움을 받아 ORB와 상호 작용한다. 객체 어댑터는 구현 객체를 특정하게 사용하는 데에 편리하도록 ORB 서비스에 대한 인터페이스를 제공하게 된다. 구현 객체는 ORB와 상호 작용하여 그 정체를 확립하고 새로운 객체를 생성하며 ORB에 따르는 서비스를 획득할 수 있도록 한다. 새로운 객체가 생성되면 ORB에게 통보되고 이 객체의 구현이 어디에 위치하는가를 알게 된다. 호출이 발생하면 ORB, 객체 어댑터, 스켈레톤은 구현의 적절한 메소드에 대한 호출이 되도록 만들어야 한다.
         == 동적 호출 인터페이스(DII : Dynamic Invocation Interface) ==
         == 구현 스켈레톤(implementation skeleton) ==
         ORB 인터페이스는 애플리케이션에 중요한 지역 서비스에 대한 API들로 구성되어 있지 않다. 이것은 곧바로 ORB로 가는 인터페이스이고 모든 ORB들에 대해 동일하다.ORB 인터페이스는 객체 어댑터 또는 객체 인터페이스에 의존하지 않는다. 대부분의 ORB의 기능이 객체 어댑터, 스텁, 스켈레톤 또는 동적 호출 등을 통해서 제공되므로 몇몇 오퍼레이션만이 모든 객체들에 대해 공통이다. 공통 오퍼레이션에는 get_interface와 get_implementation 같은 함수가 포함되어 있는데, 이것들은 임의의 객체 레퍼런스에 작용하며 각각 인터페이스 저장소 객체와 구현 저장소 객체를 얻는 데 사용된다.
  • 콤비반장의메모 . . . . 5 matches
          * player + encryped data 가 한 파일에, player는 decrypt & play 와 함께 data 삭제.
          * hint: Zip file format - Self Extractor 와 비슷한 아이디어.
          * data 삭제를 하지 않는다면 key를 아는 사람만 들을수 있다는 점에서 구현가치는 있는 아이디어.
          암호화와 동시에 접근제어(AccessControl)가 필요한 문제인것 같아요. 접근제어는 다분히 시스템 의존적이라 일반적인 해결이 쉽지 않은 문제죠. http://elicense.com/what/music.asp 이런식의 해법도 이미 나와있더군요. --["데기"]
  • 튜터링/2013/Assembly . . . . 5 matches
          1. 각 data가 메모리에 어떻게 저장되는지 쓰세요.
         .data
         .data
          a) 각 data가 메모리에 어떻게 저장되는지 쓰세요.
         .data
  • 06 SVN . . . . 4 matches
         2. Create folder and Checkout your own repository (only check out the top folder option)
         3. Create visual studio project in that folder.
         5. Add that folder and files except debug folder and .ncb, .vsp, .suo, useroptionfiles.
  • 0PlayerProject/프레임버퍼사용법 . . . . 4 matches
          unsigned short *data;
          data = (unsigned short*)mmap(0, 320 * 240 * 2, PROT_READ | PROT_WRITE, MAP_SHARED, fb0, 0);
          data[x + y * 320] = RGB; // (x,y)에 RGB 찍기
          munmap(data, 320 * 240 * 2);
  • 1002/TPOCP . . . . 4 matches
         Variations in the programming task
          Professional versus amateur programming
          Amateur
          What the programmer is trying to do
  • 10학번 c++ 프로젝트/소스 . . . . 4 matches
          b.setwatch();
         void cho::setwatch()
         private:
          void setwatch();
  • 2학기파이선스터디/문자열 . . . . 4 matches
          3. 연결하기(Concatenation) = +
          4. 반복(Repeat) = *
          2. 문서 문자열(doucmentation string)을 이용하는 방법
  • 2학기파이선스터디/클라이언트 . . . . 4 matches
          * ChatMain? : 채팅의 주 인터페이스를 관리하는 클래스이다. 이 클래스에서 대부분의 GUI를 관리하고, 채팅메세지보여준다. 또한 채팅에 접속한 사람들의 ID를 보여준다.
          * ReceiveMessage? : 서버로부터 전달되는 메시지를 받아서 ChatMain? 클래스의 메시지 출력 화면에 보여주는 역할을 한다.
          * UserList? : ChatMain? 클래스의 사용자 List에 접속한 사용자 ID를 보여주는 기능을 한다.
          print "click at"
  • 3DStudy_2002 . . . . 4 matches
         * ["MatrixAndQuaternionsFaq"] : 메트릭스와 쿼터니언,.. 수학적 기반 - 퍼온글
         * ["3DStudy_2002/hs_lecture5"] : Inverse Kinematics vs Forward Kinematics
  • 3D업종 . . . . 4 matches
         http://www.xmission.com/~nate/glut.html
         헤더: C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\Include\gl
         라이브러리: C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\Lib
          * [3DGraphicsFoundation]
  • 5인용C++스터디/다이얼로그박스 . . . . 4 matches
          1-3 대화상자에서 MFC AppWizard[exe]를 선택을 하고, Location: 에 사용자가 생성시키고 싶은
          1-4 What type of application would you like to create?
  • 5인용C++스터디/템플릿스택 . . . . 4 matches
         || 조재화 || Upload:Mr.CHO_StackByTemplat.cpp || 오버플로우 및 언더플로우 처리가 있으면 좋겠음. ||
         || 조재화(동적할당으로) || Upload:Mr.CHO_StackByTemplat2.cpp || 동적 할당으로 처리한 것은 잘 했고.. 언더플로우 처리가 있으면 더 좋겠음. ||
         || 문원명 || Upload:StackTemplateMwm.cpp || 잘 했으나.. pop 함수에서 꺼낸 값을 리턴시도록 만들라고 한것 같은데... ||
         || 황재선 || Upload:TemplateStack_JS.cpp || exit 함수로 종료한것만 빼고는 잘했음..ㅋㅋ ||
  • ACE/HelloWorld . . . . 4 matches
          * include path 에 ace 라이브러리가 있는 곳의 경로를 넣어준다. [임인택]의 경우 {{{~cpp E:libc&c++ACE_wrappers}}}.
          * project setting 에서 link 탭에 aced.lib (디버그용), 또는 ace.lib 을 추가한다. (프로젝트 홈 디렉토리에 lib, dll 파일이있거나 path 가 걸려있어야 한다. 혹은 additional library path에 추가되어 있어야 한다)
          * project setting 에서 c++ 탭에 code generation->use run-time library 에서 (debug) multithreaded 또는 (debug) multithreaded dll (무슨차이가 있는지 아직 확실하게 모르겠다)
  • APlusProject/ENG . . . . 4 matches
         === Operator 메뉴얼 ===
         Upload:APP_OperatorManual_0607.zip -- 이전문서
         Upload:APP_OperatorManual_0608.zip -- ver 1.0 (최종문서) - 수정끝-QA승인됨
         2.에러메시지: 웹 사이트 {{{~cpp "http://localhost/WebApplication1"}}}이(가) 이 웹 서버에서 시작되지 않았습니다.
  • AcceleratedC++/Chapter0 . . . . 4 matches
         || ["AcceleratedC++/Chapter1"] ||
          C++의 모든 문장(statement)은 계산 가능한 식이다. 컴파일러에서 에러를 찾을때도 계산 가능한 식인지 확인하여 문장이 올바른 문장인지 에러는 없는지 확인하게 된다. 예를 들어 다음과 같은 두 문장이 있다고 하자.
          첫번째 문장을 계산하면 a라는 변수에 10을 대입하면 되고 결국 남는것은 a밖에 없으므로 a의 값이 최종 결과가 된다. 두번째 문장을 계산하면 std::cout과 "Hello World!!"를 왼쪽 쉬프트 연산을 하고 나온 결과가 최종 결과가 된다. 실재로 연산 결과가 std::cout 이고 이것이 최종 결과가 된다. 여기서 왼쪽 쉬프트 연산이 과연 std::cout과 "Hello World!!" 사이에서 가능한 것인가 라는 의문을 갖게 될수도 있겠지만 C++에는 연산자 재정의(operator overloading) 라는 것이 있기 때문에 이런것을 충분히 가능하게 만들수 있다고만 알고 넘어가기 바란다. 여기서 두번째 문장을 자세히 알고 넘어갈 필요가 있다. 두번째 문장도 앞에서 설명했듯이 계산 가능한 식이고, 결국 실행되면 계산이 수행되지만 그것과 더불어 일어나는 일이 한가지 더 있는데, 바로 표준 출력으로 "Hello World!!" 가 출력된다는 것이다. 이렇게 계산되어지는 과정에서 계산 결과와 더불어 나타나는 것을 side effect라고 한다. 첫번째 문장과 같은 경우에는 side effect가 없다. 다음과 같은 두 문장이 있다고 하자.
         [AcceleratedC++]
  • AcceleratedC++/Chapter15 . . . . 4 matches
         || ["AcceleratedC++/Chapter14"] || ["AcceleratedC++/Chapter16"] ||
         == 15.2 Implementation ==
         ["AcceleratedC++"]
  • AcceptanceTest . . . . 4 matches
         AcceptanceTest는 UserStory들에 의해서 만들어진다. Iteration 동안 IterationPlanning 회의때 선택되어진 UserStory들은 AcceptanceTest들로 전환되어진다. Customer는 해당 UserStory가 정확히 구현되었을때에 대한 시나리오를 구체화시킨다. 하나의 시나리오는 하나나 그 이상의 AcceptanceTest들을 가진다. 이 AcceptanceTest들은 해당 기능이 제대로 작동함을 보장한다.
         UserStory는 해당 UserStory의 AcceptanceTest를 Pass 하기 전까지는 수행되었다고 생각할 수 없다. 이는 새로운 AcceptanceTest들은 각 Iteration 때 만들어져야 함을 뜻한다.
         AcceptanceTest는 자동으로 수행되어져야 하며, 또한 그렇기 때문에 자주 실행될 수 있다. AcceptanceTest score는 개발팀에 의해 점수가 매겨진다. 매 Iteration에 대해 실패한 AcceptanceTest를 수정하기 위한 시간분배 스케줄에 대해서 또한 개발팀의 책임이다.
  • AntOnAChessboard/하기웅 . . . . 4 matches
         #include <cmath>
         int calculate(int st, int xy)
          cout << calculate(step, x_loc) << " " << calculate(step, y_loc) << endl;
  • AutomatedJudgeScript/문보창 . . . . 4 matches
         단순한 문자열 비교문제라는 생각이 들었다. Presentation Error와 Accepted 를 어떻게 하면 쉽게 구별할 수 있을지를 고민하다 입력받을때부터 숫자를 따로 입력받는 배열을 만들어 주는 방법을 이용하였다.
         // no10188 - Automated Judge Script
          cout << ": Presentation Error\n";
         [AutomatedJudgeScript] [문보창]
  • BarMacro . . . . 4 matches
         The statement:
         We use it in conjunction with the [DueDate Macro] like this:
         ||Task||Due Date||
         ||Test Task||[[DueDate(20311121)]]||
  • BasicJAVA2005/실습1/조현태 . . . . 4 matches
          public static void main(String[] args) {
          Random NumberCreator = new Random();
          answers[i] = NumberCreator.nextInt(10);
          answers[i] = NumberCreator.nextInt(10);
  • BuildingWikiParserUsingPlex . . . . 4 matches
          def makeToStream(self, aText):
          return cStringIO.StringIO(aText)
          def parse(self, aText):
          stream = self.makeToStream(aText)
          def repl_bold(self, aText):
          def repl_italic(self, aText):
          def repl_boldAndItalic(self, aText):
          def repl_ruler(self, aText):
          def repl_enter(self, aText):
          def repl_url(self, aText):
          if self.isImage(aText):
          return self.getImageStr(aText)
          return self.getLinkStr(aText)
          def repl_interwiki(self, aText):
          formatText = "<A HREF=%(url)s>%(imageTag)s</A><A HREF=%(url)s%(pageName)s>%(pageName)s</A>"
          formatText="<A HREF=%(url)s>%(imageTag)s</A><A HREF=%(url)s>%(pageName)s</A>"
          return formatText % {'url':url, 'pageName':pageName, 'imageTag':imageTag}
          def repl_pagelink(self, aText):
          if aText == "NonExistPage":
          return "<a class=nonexist href='%(scriptName)s/%(pageName)s'>%(pageName)s</a>" % {'scriptName':self.scriptName, 'pageName':aText}
  • Button/영동 . . . . 4 matches
          JOptionPane.INFORMATION_MESSAGE,
          public static void main(String[] args) {
          JFrame.setDefaultLookAndFeelDecorated(true);
          JDialog.setDefaultLookAndFeelDecorated(true);
         ["JavaStudyInVacation/진행상황"]
  • CPPStudy_2005_1/STL성적처리_1 . . . . 4 matches
          s.total=accumulate(s.subjects.begin()+(s.subjects.size()-4),s.subjects.end(),0);
          for(vector<Student_info>::const_iterator it = students.begin() ; it!=students.end();++it)
          for(vector<string>::const_iterator it = subject.begin() ;
          s.total=accumulate(s.subjects.begin()+(s.subjects.size()-4),s.subjects.end(),0);
  • CPPStudy_2005_1/STL성적처리_2 . . . . 4 matches
          grades[input[0]].push_back(atoi(input[i].c_str()));
          return accumulate(grades.begin(), grades.end(), 0.0);
          for(map< string, vector<int> >::const_iterator iter = record.begin();
          for(vector<int>::const_iterator grades = (iter->second).begin();
  • CarmichaelNumbers/문보창 . . . . 4 matches
         #include <cmath>
         bool passFermatTest(int a, int n);
          if (!passFermatTest(i, n))
         bool passFermatTest(int a, int n)
  • CincomSmalltalk . . . . 4 matches
          * [http://zeropage.org/pub/language/smalltalk_cincom/BaseProductDoc.zip VisualWorks documentation]
          * optional components, goodies, {{{~cpp VisualWorks documentation}}} 은 필요한 경우 다운받아 만든 디렉토리에 압축을 푼다.
          * [http://zeropage.org/pub/language/smalltalk_cincom/osmanuals.exe ObjectStudio documentation]
          * {{{~cpp ObjectStudio documentation}}} 은 필요한 경우 {{{~cpp ObjectStudio}}} 가 설치된 디렉토리에 압축을 푼다.
  • ClassifyByAnagram/박응주 . . . . 4 matches
         _signature를 그냥 쉘에서 해봤었는데 _signature를 테스트로 넣었어야 했다.
          s = self._signature(word)
          def _signature(self, word):
  • ClassifyByAnagram/상규 . . . . 4 matches
         private:
          ostream_iterator<string> os_iter(cout, " ");
          map<string, list<string> >::iterator iter;
         P3 1GHz 512MB WinXP VC++7.0 Maximize Speed Optimization 4.1초
  • ComputerGraphicsClass/Exam2004_1 . . . . 4 matches
         Homogeneous Coordination 에 대해 쓰고 왜 Computer Graphics 분야에서 많이 이용되는지 쓰시오
         A,B,C 좌표가 있다. 이에 대해 점 (__,__) 를 기준으로 45도 방향 시계방향으로 Rotation을 하려고 한다.
         2. 변환 Matrix
         3D Graphic Pipeline 을 그리고 각 부분의 transformation 에 대해 설명하시오
  • ConstructorMethod . . . . 4 matches
          static Point* makeFromXnY(int x, int y)
          static Point* makeFromXnY(int x, int y) { /* ... */ }
          static Point* makeFromRnTheta(int r, int theta)
         ''DesignPatterns 로 이야기한다면 일종의 FactoryMethod 임.(완전히 매치되는건 아니고, 어느정도 비슷) 비교적 자주 사용되는 패턴인데, 왜냐하면 객체를 생성하고 각각 임의로 셋팅해주는 일을 생성자 오버로딩을 더하지 않고서도 할 수 있으니까.
  • Counting/황재선 . . . . 4 matches
         import java.math.BigInteger;
          catch (Exception e) {
          public static void main(String[] args) {
         import java.math.BigInteger;
  • CppStudy_2002_2/객체와클래스 . . . . 4 matches
         private:
          void update();
         void Vending::update()
          vending.update();
  • CppStudy_2005_1/BasicBusSimulation . . . . 4 matches
         = CppStudy_2005_1/BasicBusSimulation =
         || 김태훈[zyint] || [CPP_Study_2005_1/Basic Bus Simulation/김태훈] ||
         || [상협] || [CPP_Study_2005_1/BasicBusSimulation/남상협] ||
          * [BusSimulation]
  • EightQueenProblem/강인수 . . . . 4 matches
         #include <cmath>
          next_permutation(ar.begin(), ar.end());
         vector<int> getDatas()
          vector<int> ar = getDatas();
  • EightQueenProblem/김형용 . . . . 4 matches
         #format python
         def iterate(q, name):
          iterate(q, name)
          iterate(q, name)
  • ErdosNumbers . . . . 4 matches
         ''Smith, M.N., Martin, G., Erdos, P.: Newtonian forms of prime factors matrices''
         Smith, M.N., Martin, G., Erdos, P.: Newtonian forms of prime factor matrices
         Smith, M.N., Chen, X.: First oder derivates in structured programming
         Jablonski, T., Hsueh, Z.: Selfstabilizing data structures
  • Euclid'sGame/강소현 . . . . 4 matches
         == Status ==
          public static void main(String[] args) {
          private static void playGame(int r1, int r2) {
  • ExecuteAroundMethod . . . . 4 matches
          ifstream fin("data.txt");
          fin.open("data.txt"); // 맞나?--;
         void writeData()
          do(writeData);
  • ExplicitInitialization . . . . 4 matches
         == Explicit Initialization ==
         초기화에 대해서는 딱히 정해진 좋은 방법이 없다.(상황에 따라 택일해서 쓰라는 말) 이 패턴은 유연성보다는 가독성을 중시한다. 모든 초기화를 하나의 메소드에 때려넣는 방법이다. 유연성은 떨어질 수 밖에 없다. 변수 하나 추가하자면 ExplicitInitialization 메소드를 수정해야만 한다는 것을 기억하고 있어야 하기 때문이다. ExplicitInitialization은 LazyInitialization보다 비용이 많이 든다. 모든 변수를 인스턴스가 생성될때 초기화 하기 때문이다.
  • Hacking . . . . 4 matches
          * UDP packet flood attack
          * ICMP echo attack
          * TCP ACK flood attack
          * TCP NUL flood attack
  • HaskellLanguage . . . . 4 matches
          * 저 위에보면, featuring static typing, higher-order functions, polymorphism, type classes and modadic effects 라고 있는데, 이것들이 아마 haskell language의 큰 특징들이 아닐까 한다. 각각에 대해서 알아두는게 도움이 될듯. ([http://www.nomaware.com/monads/html/ monad관련자료])- 임인택
          Multiple declarations of `Main.f'
          Declared at: test.hs:1:0
  • HelpContents . . . . 4 matches
          * OpeningStatement - 페이지에 꼭 들어가야 할 정보
          * HelpOnPageCreation - 새 페이지 만드는 방법과 템플리트 이용하기
          * HelpOnNavigation - 위키위키를 이리저리 돌아다녀보세요.
         [[Navigation(HelpContents)]]
  • HelpOnFormatting . . . . 4 matches
         #keywords Formatting,Help,wiki,포매팅,문법
         === TextFormattingExample ===
         For more information on the possible markup, see HelpOnEditing.
         [[Navigation(HelpOnEditing)]]
  • HelpOnPageCreation . . . . 4 matches
         템플릿 페이지는 조금 특별하게 취급되는 페이지입니다. 페이지를 만들되 페이지 이름이 "'''Template'''"로 끝나는 페이지를 만들면 그것이 템플릿 페이지가 됩니다. [[FootNote(위키 관리자에 의해서 Template로 끝나는 이름이 아닌 다른 형태의 이름으로 그 설정을 바꿀 수도 있습니다)]] 이렇게 만들어진 템플릿 페이지는 페이지를 새롭게 만드는 경우에 목록으로 제시되게 되며, 템플릿 페이지를 선택하면 그것이 처음으로 편집 폼에서 인용되어 처음 만드는 페이지를 보다 쉽게 만들 수 있게 해줍니다.
         || @''''''DATE@ || 현재 날짜가 시스템의 설정된 포맷으로 대치됨 ||
         || @''''''SIG@ || 사용자 이름 서명 "-- loginname date time" ||
         [[Navigation(HelpContents)]]
  • HelpOnUpdating . . . . 4 matches
         또한 `data/intermap.txt` 파일 등이 새롭게 갱신되어 있을 수 있으므로 이것도 업그레이드 해주어야 합니다.
         가장 쉽게 설정하는 방법은, 기존의 `config.php` 파일을 다른 이름으로 바꾼 후에 (예를 들어 `config.php.my`) `monisetup.php`를 브라우저를 통해 열어서 `config.php`를 다시 만드는 것입니다. (이 때 `chmod 2777 . data` 명령으로 미리 퍼미션을 조정해 두어야 합니다)
         [[Navigation(HelpOnAdministration)]]
  • HelpOnUserPreferences . . . . 4 matches
          * '''[[GetText(Password repeat)]]''': 초기 사용자 등록시에 나타납니다. 바로 위에서 입력했던 비밀번호를 확인하는 단계로, 조금 전에 넣어주었던 비밀번호를 그대로 집어넣어 주시면 됩니다.
          * '''[[GetText(Date format)]]''': 년-월-일 형식을 바꾸기 ( <!> 모니위키에서 미지원)
         [[Navigation(HelpContents)]]
  • Hibernate . . . . 4 matches
         조만간 [http://www.theserverside.com/resources/HibernateReview.jsp Hibernate In Action] 이란 책이 출간될 예정. Chapter 1 을 읽을 수 있다.
         [http://www.theserverside.com/resources/article.jsp?l=Hibernate Introduction to hibernate] 기사가 연재중이다.
  • ImmediateDecodability/문보창 . . . . 4 matches
         // no644 - Immediate Decodability
          cout << " is not immediately decodable\n";
          cout << " is immediately decodable\n";
         [ImmediateDecodability] [문보창]
  • IsThisIntegration? . . . . 4 matches
         === IsThisIntegration? ===
         || 하기웅 || C++ || 2시간 || [IsThisIntegration?/하기웅] ||
         || 허준수 || C++ || ? || [IsThisIntegration?/허준수] ||
         || 김상섭 || C++ || ㅡㅜ || [IsThisIntegration?/김상섭] ||
  • JTDStudy/첫번째과제/영준 . . . . 4 matches
          public static void main(String [] args){
          num[0] = (int)(Math.random()*10);
          num[1] = (int)(Math.random()*10);
          num[2] = (int)(Math.random()*10);
  • JTDStudy/첫번째과제/원희 . . . . 4 matches
          public static void main(String[] args){
          comNum[0] = (int)(Math.random() * 10 +1);
          comNum[1] = (int)(Math.random() * 10 +1);
          comNum[2] = (int)(Math.random() * 10 +1);
  • JUnit . . . . 4 matches
         그리고 배치화일 디렉토리에 path 를 걸어놓고 쓰고 있죠. 요새는 JUnit 이 포함되어있는 IDE (["Eclipse"], ["IntelliJ"] 등등)도 많아서 이럴 필요도 없겠지만요. ^^ --석천
         === javatestrunner.bat ===
         === javaguitestrunner.bat ===
  • JavaHTMLParsing/2011년프로젝트 . . . . 4 matches
          public static void main(String args[]){
          }catch(MalformedURLException mue){
          System.err.println("잘못된 URL입니다. 사용법 : java URLConn http://hostname/path]");
          }catch(IOException ioe){
  • JavaStudy2002/영동-3주차 . . . . 4 matches
          public static void main(String[] args)
          public static void main(String[] args) {
          public static void main(String[] args) {
          public static void main(String[] args) {
  • JavaStudy2003/두번째과제/입출력예제 . . . . 4 matches
          private String input = "";
          private String output = "";
          public static void main(String[] args) {
          // Brings up an information-message dialog titled "Message".
  • Jython . . . . 4 matches
         inputData = raw_input(">>")
         inputData = String(inputData, "euc-kr")
          * http://www.xrath.com/devdoc/jython/api/ - 황장호님의 멋진; Jython API Document Java Doc ;
  • Linux/디렉토리용도 . . . . 4 matches
          * 이 디렉토리 내에 있는 파일을 cat 명령을 이용하여 보면 시스템 정보를 확인 할 수 있음.
          * 예) 인터럽트 정보 확인 ---> cat /proc/interrupts'''
          * /etc/logrotate.d : logrotate 설정 파일들이 있음.
  • LongestNap/문보창 . . . . 4 matches
          bool operator() (const Promise & a, const Promise & b)
         inline void eatline() { while (cin.get() != '\n' && cin.peek() != EOF) continue; };
          eatline();
          cout << "Day #" << index << ": the longest nap starts at " << nap.start/60 << ":";
  • LoveCalculator . . . . 4 matches
         [http://acm.uva.es/p/v104/10424.html LoveCalculator]
         || [허아영] || C || 1h || [LoveCalculator/허아영] ||
         || 김태훈[zyint] || C++ || 1시간23분 || [LoveCalculator/zyint] ||
         || [조현태] || C || . || [LoveCalculator/조현태] ||
  • MFCStudy2006/1주차 . . . . 4 matches
          * 화면 위치 및 크기 조정 : CMainFrame 클래스 -> PreCreateWindow() 에서 수정
         BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs)
          if( !CFrameWnd::PreCreateWindow(cs) )
          // the CREATESTRUCT cs
          * Separate : 중간에 나누는 선
  • MineSweeper/김민경 . . . . 4 matches
         data=[]
          data.append(temp)
          if data[x][y]=='*' :
          if data[x+dx[i]][y+dy[i]]=='*' and check[x][y]!='*':
  • MoniWikiBlogOptions . . . . 4 matches
         {{{$blog_category='MyBlogCategories'}}}
         set category index. Plese see BlogCategories
  • MultiplyingByRotation . . . . 4 matches
         === About Multiplying By Rotation ===
          || 김회영 || c++ || ? ||[MultiplyingByRotation/김회영]||
          || 문보창 || c++ || ? ||[MultiplyingByRotation/문보창]||
          || 곽세환 || c++ || ? ||[MultiplyingByRotation/곽세환]||
  • NS2 . . . . 4 matches
         Ns is a discrete event simulator targeted at networking research. Ns provides substantial support for simulation of TCP, routing, and multicast protocols over wired and wireless (local and satellite) networks.
  • NSIS/예제4 . . . . 4 matches
         ;VncKorPatcher
         OutFile "VncKorPatch.exe"
         LicenseData "eula.txt"
          SetOutPath $INSTDIR
  • NumericalAnalysisClass . . . . 4 matches
         강의내용 : 최근의 수치해석 수업은 그래픽스 수업의 선수과목으로서 성격이 이전과 달라졌다. 주로 line, curve, plane, matrix 등 그래픽스와 관련된 내용을 배운다.
         === Report Specification ===
         === examination ===
         ''Object-Oriented Implementation of Numerical Methods : An Introduction with Java and Smalltalk'', by Didier H. Besset.
  • NumericalAnalysisClass/Report2002_1 . . . . 4 matches
          * Assign Date : 3/26 (화)
          * Due Date : 4/2 (화)
         Cubic Spline 함수를 계산하기 위해서는 Tri-Diagonal Matrix 에 대한 해를 구할 수 있어야 한다. 다음과 같이 주어진 Tri-Diagonal Matrix 시스템의 해를 계산하는 프로그램을 작성하시오.
  • OurMajorLangIsCAndCPlusPlus . . . . 4 matches
         [OurMajorLangIsCAndCPlusPlus/math.h] (cmath)
         [OurMajorLangIsCAndCPlusPlus/float.h] (cfloat)
  • OurMajorLangIsCAndCPlusPlus/math.h . . . . 4 matches
         = MATH.H =
         math에 대한 라이브러리
         ||double atan ( double x ) || arc탄젠트 값을 계산한다 ||
         ||double atan2 ( double y, double x ) || 2개의 파라미터(각)에 대한 arc 탄젠트 값을 계산한다||
         ||double atof ( const char * string ) || 문자열을 실수형으로 변형시킨다||
  • OurMajorLangIsCAndCPlusPlus/setjmp.c . . . . 4 matches
         // modification, are permitted provided that the following conditions
         // documentation and/or other materials provided with the distribution.
         // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  • OurMajorLangIsCAndCPlusPlus/time.h . . . . 4 matches
         time.h - time 과 date 에 관련된 함수
         || size_t strftime(char *str, size_t maxsize, const char *format, const struct tm *timeptr); || time 과 date 를 문자열로 바꾼다. ||
         || struct tm *getdate(const char *); || 문자열을 tm 구조체로 변환한다. ||
  • PNA2011/서지혜 . . . . 4 matches
          * Motivation, Organization, Information/Innovation/Insight, Jiggle
  • PhotoShop2003 . . . . 4 matches
         || ^..^ || ^..^ || Quantization 2 complete|| 철민 || 30분 ||
         || ^..^ || ^..^ || Quantization 4 complete|| 철민 || 2분 ||
         || ^..^ || ^..^ || Quantization 16,256 complete|| 철민 || 5분 ||
         || 18:23 || 18:43 || Histogram Equlaization 완성(?) || 인수 || 20분 ||
  • PragmaticVersionControlWithCVS/HowTo . . . . 4 matches
         || [PragmaticVersionControlWithCVS/Getting Started] || [PragmaticVersionControlWithCVS/AccessingTheRepository] ||
         VersionControl 은 개발팀이 해야할 3가지 실천과제중의 한개. ( UnitTest, Automation )
         [PragmaticVersionControlWithCVS]
  • PragmaticVersionControlWithCVS/UsingModules . . . . 4 matches
         || [PragmaticVersionControlWithCVS/CreatingAProject] || [PragmaticVersionControlWithCVS/ThirdPartyCode] ||
         [PragmaticVersionControlWithCVS]
  • ProgrammingLanguageClass . . . . 4 matches
          * ''Programming Language Pragmatics'' by Michael L. Scott : 이제까지 나온 프로그래밍 언어론 서적 중 몇 손가락 안에 꼽히는 명저.
          * ''Programming Language Processors In Java : Compilers and Interpreters'' by David A. Watt & Deryck F. Brown
         "Students usually demand to be taught the language that they are most likely to use in the world outside (FORTRAN or C). This is a mistake. A well taught student (viz. one who has been taught a clean language) can easily pick up the languages of the world, and he [or she] will be in a far better position to recognize their bad features as he [or she] encounters them."
  • ProjectEazy/Source . . . . 4 matches
          def updateDictionary(self, aDict):
          for mark in string.punctuation:
          self.parser.updateDictionary( self.dic )
          self.parser.updateDictionary( self.dic )
  • ProjectPrometheus/Estimation . . . . 4 matches
         ["ProjectPrometheus"]/Estimation
         My Page Persnalization 0.5
         Recomendation System 2
          * Recommendation
  • ProjectSemiPhotoshop/계획서 . . . . 4 matches
          * 11/26 화 2차 integration ( 히스토그램, Quantization)
          * 11/28 목 3차 integration ( 남은 기본 기능, 명암 변화들 )
          * 11/30 토 4차 integration ( 추가 기능 )
  • ProjectSemiPhotoshop/기록 . . . . 4 matches
          * 1차 integration - histogram, sampling
          * 흑백에 대한 명암 처리 - Null, Negative, Gamma Correction, Contrast Stretched Compression, Posterizing, Clipping, Iso-intensity Contouring Range-hilighting
          * Contrast Stretching, Histogram Equalisation, 윈도우로 설정한 영역에 대해서만 '7. 영상 질 향상' 적용
          * 3차 Integration : 11월 29일에 작성한 기능들 하나로 합침.
  • PyIde . . . . 4 matches
          ''그렇다면 Eclipse PDE 도 좋은 선택일 것 같은 생각. exploration 기간때 탐색해볼 거리가 하나 더 늘었군요. --[1002]''
         [PyIde/FeatureList]
          * [PyIde/Exploration]
          * BicycleRepairMan - idlefork, gvim 과의 integration 관계 관련 코드 분석.
  • PyIde/FeatureList . . . . 4 matches
         === Navigation ===
          * Ctag 기능. stack 으로 navigating 중인 method 들 기억.
          * SignatureSurvey
          * Dotploc or Duplication Finder
  • PythonLanguage . . . . 4 matches
          * [PythonForStatement]
          * [AirSpeedTemplateLibrary]
         ~~http://board1.hanmir.com/blue/Board.cgi?path=db374&db=gpldoc~~
          * ~~http://board1.hanmir.com/blue/Board.cgi?path=db374&db=gpldoc - johnsonj 님의 파이썬 문서고~~
  • ReplaceTempWithQuery . . . . 4 matches
         이러한 방법을 사용하면서 부가적으로 얻을 수 있는 장점이 하나 더 있다. 실제로 도움이 될지 안될지 모르는 최적화를 하는데 쏟는 시간을 절약할 수 있다. 임시변수 사용뿐 아니라 이러한 미세한 부분의 조정은, 해놓고 보면 별로 위대해보이지 않는 일을, 할때는 알지 못하고 결국 시간은 낭비한게 된다. 돌이켜보면 나의 이러한 노력이 제대로 효과가 있었는지도 모른다. '''왜?''' 프로파일링 해보지 않았으니까. 단순히 ''시스템을 더 빨리 돌릴 수 '''있을지도''' 모른다''는 우려에서 작성한 것이었으니까. [http://c2.com/cgi/wiki?DoTheSimplestThingThatCouldPossiblyWork DoTheSimplestThingThatCouldPossiblyWork]
         I do not know what I may appear to the world, but to myself I seem to
         ordinary. Whilst the great ocean of truth lay all undiscovered before me.
  • Self-describingSequence/조현태 . . . . 4 matches
          int calculateNumber = 0;
          cin >> calculateNumber;
          if (0 == calculateNumber)
          cout << GetSolomonGolombNumber(calculateNumber) << endl;
  • ServerBackup . . . . 4 matches
          * (./) http://www.pixelbeat.org/docs/screen/
         /usr/bin/mysqldump -u <username> -p <password> <databasename> | gzip > /path/to/backup/db/zeropage_`date +%y_%m_%d`.gz
  • StructureAndInterpretationOfComputerPrograms . . . . 4 matches
         see NoSmok:StructureAndInterpretationOfComputerPrograms , Moa:StructureAndInterpretationOfComputerPrograms
         소프트웨어개발에서 중요한 개념중 하나인 Abstraction 에 대해 제대로 배울 수 있을 것이다. 그리고 Modularity, Objects, and State 등.
         국내에서 [http://pl.changwon.ac.kr/sicp/sicp_data.html 창원대학교]와 [http://ropas.kaist.ac.kr/~kwang/320/02/ 카이스트] 에서 교재로 이용하고 있다. 고대 에서도 과거 가르친적이 있다고 한다. 현재는 아니지만.
  • TCP/IP_IllustratedVol1 . . . . 4 matches
         = TCP/IP Illustrated, Volume 1 : The Protocols =
          * "'''''The word illustrated distinguishes this bool from its may rivals.'''''" 이 책의 뒷커버에 적혀있는 말이다. 이말이 이 책을 가장 멋지게 설명해준다고 생각한다.
          * Comer 의 책은 일단 접어두련다. illustrated 를 다 본다음에나 보는게 좋을 듯. 역시 text 라는 이미지는 illustrated 쪽이 좀 더 강하니까. 그리고, 재동아 너는 그럼 공부는 안하고 듣기라도 하려냐? 물론.. 정직 네게 더 진행하자는 의지가 있을 때의 이야기겠지만. 아무튼.. 난 지금 udp 지나 multicasting broadcasting 쪽 보고있다. -zennith
  • The Trip/Celfin . . . . 4 matches
         #include <cmath>
         double calculate()
          cout.setf(ios::fixed, ios::floatfield);
          cout << "$" << calculate()/100 <<endl;
  • UglyNumbers/김회영 . . . . 4 matches
          int situation;
          cin>>situation;
          while(count!=situation)//2번째 수까지
          cout<<"The "<<situation<<"번째 심술쟁이수는 "<<number;
  • UploadFileMacro . . . . 4 matches
         attachment:filename.ext 혹은 attachment:페이지명:filename.ext
         pds 바로 밑으로 저장된 pds/* 파일을 연결하려면 {{{attachment:/foobar.png}}} 문법을 쓴다. 즉, "/"를 맨 앞에 붙여준다.
         공백이 들어있는 파일을 링크를 걸 경우는 {{{attachment:"hello world.png"}}}와 같이 링크를 걸어 준다.
          * AttachmentMacro
  • ViImproved . . . . 4 matches
          * [[http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html|Graphical vi-vim Cheat Sheet and Tutorial]]
          * [[https://www.youtube.com/watch?v=5r6yzFEXajQ | Vim + tmux - OMG!Code ]] - cheatsheet로만 vim을 배우는 사람들에게 권함 - makerdark98
  • WERTYU/허아영 . . . . 4 matches
          char data[] = {"1234567890-=QWERTYUIOP[]\ASDFGHJKL;'ZXCVBNM,./ "};
          for(j = 0; j < strlen(data)+1; j++)
          if(input[i] == data[j])
          result = data[j-1];
  • WorldCup/송지원 . . . . 4 matches
         == Status ==
          public static void main(String[] args) {
          int matches = sc.nextInt(); // 0 <= N <= 10000
          System.out.println((matches * 3 - sum));
  • XpWeek/ToDo . . . . 4 matches
         Iteration
          개발자 - ContinuousIntegration
          === Iteration ===
          ==== 개발자 - ContinuousIntegration ====
  • XsltVersion . . . . 4 matches
          <xsl:output method="html" omit-xml-declaration="yes" indent="no"/>
          <xsl:template match="/">
          </xsl:template>
  • ZPBoard/PHPStudy/MySQL . . . . 4 matches
         mysql_select_db("database1");
         mysql_query("use database1");
         mysql_db_query("database1", "select * from table1 by order name");
         <script language="javascript">window.location.replace("babo.php");</script>
  • ZeroPageServer/Wiki . . . . 4 matches
          - KeyNavigator 가 가능합니다. 굉장히 유용합니다.
          - ISBN tag 가 추가 되었습니다. Go! AcceleratedC++
         로그인을 편리하게 할수 있습니다. Go! KeyNavigator 로그인 안내 참고
          * Q : 로그인을 했는데도, RecentChanges 페이지에서 diff 아이콘 이외에 update, delete, new 등의 아이콘이 안생기는데, 노스모크 안정버전에서는 원래 그러한 것인가요? --[sun]
  • [Lovely]boy^_^/Book . . . . 4 matches
          * Data Structure in C - 보다 말다..--;
          * Pattern Oriented System Architecture 1,2
          * Discrete Mathmatics - 학교 이산수학 교재 - 수업 말고는 안봄
  • [Lovely]boy^_^/USACO/BrokenNecklace . . . . 4 matches
         void InputData();
         void OutputData();
          InputData();
         void InputData()
  • aekae/RandomWalk . . . . 4 matches
         void SetCoordinate(int& coord);
          SetCoordinate(x);
          SetCoordinate(y);
         void SetCoordinate(int& coord)
  • aekae/code . . . . 4 matches
         void SetCoordinate(int& coord);
          SetCoordinate(x);
          SetCoordinate(y);
         void SetCoordinate(int& coord)
  • eclipse단축키 . . . . 4 matches
          * Open Declaration : 함수 구현 부분으로 이동
          * Content Assist : show template proposals 사용가능한 메소드 이름 보여준다
          * Source - Format : 코드 정렬. indentation
  • iText . . . . 4 matches
          private void writeHello() {
          } catch (FileNotFoundException e) {
          } catch (DocumentException e) {
          public static void main(String args[]) {
  • joosama . . . . 4 matches
         http://bingoimage.naver.com/data3/bingo_36/imgbingo_80/kims1331/32788/kims1331_1.gif
         || http://bingoimage.naver.com/data/bingo_40/imgbingo_78/sali51/35258/sali51_29.gif ||
         || http://bingoimage.naver.com/data3/bingo_93/imgbingo_84/whgudwn4/29813/whgudwn4_15.gif ||
         || http://bingoimage.naver.com/data/bingo_76/imgbingo_17/msj0824/30669/msj0824_5.jpg ||
  • lostship/MinGW . . . . 4 matches
          * 환경변수 path 에 /MinGW/bin 을 추가 한다.
          * /msys/1.0/msys.bat 를 실행하여 콘솔 창을 뛰운다.
          * .dll.4.5 파일들을 path 가 잡힌 디렉토리로 복사 한다.
         == application 을 STLport library 와 함께 컴파일 하는 예 ==
  • mantis . . . . 4 matches
         // $t_password = auth_generate_random_password( $t_seed );
          * administrator , 암호는 root 로 로그인 후에 계정관리에서 preference 부분에 가서 제일 하단 부에 있는 언어 선택을 한글로 해야 한글로 메뉴를 보고 한글을 사용할 수 있습니다.
         348 if ($argDatabasename) return $this->SelectDB($argDatabasename);
  • neocoin/CodeScrap . . . . 4 matches
         ostream iterator의 신비 ;;
         ostream_iterator<int> out(cout , " ");
         static const int INIT_START;
          if ( m_nTime < (int)::GetPrivateProfileInt("FindBomb", "AMA_Time", 999, ".\FindBomb.ini")){
  • radiohead4us/PenpalInfo . . . . 4 matches
         City/State,Country: Sternberg Germany
         Comments: Hi All! Writing letters is my greatest hobby and i am still looking for some pals around my age. If you´re interested in writing snail mail to me, please send me an e-mail. Thanks! I promise, I will answer all.
         City/State,Country: Kanagawa Japan
         City/State,Country: Seoul Korea Republic of
  • randomwalk/홍선 . . . . 4 matches
         private:
          void Initiation(); // 타일의 초기화
         void Roach :: Initiation() // 타일의 초기화
          Hong.Initiation(); // 타일 배열을 초기화
  • study C++/남도연 . . . . 4 matches
         private:
          void repeat(munja);
          Mun.repeat(Mun);
         void munja::repeat(munja C){
  • usa_selfish/곽병학 . . . . 4 matches
         import java.util.Comparator;
          public static void main(String ar[]) {
          ans[p[i].b] = Math.max(ans[p[i].a] +1, ans[p[i].b-1]);
         class myCmp implements Comparator<pair> {
  • zennith/source . . . . 4 matches
         int permutation(int arg1, int arg2) {
          return arg2 == 0 ? 1 : arg1 * permutation(arg1 - 1, arg2 - 1);
         int combination(int arg1, int arg2) {
          return permutation(arg1, arg2) / factorial(arg2);
  • 구구단/이진훈 . . . . 4 matches
          8 timesRepeat: [9 timesRepeat: [Transcript show: a * b; cr. b:= b+1]. a:=a+1. b := 1.].
          8 timesRepeat:
          [9 timesRepeat:
  • 김수경 . . . . 4 matches
          * [CreativeClub]
          * [DesignPatterns/2011년스터디]
          * [http://zeropage.org/?mid=fresh&category=&search_target=title&search_keyword=2pm 2pm반]
          * [http://zeropage.org/?mid=fresh&category=&search_target=title&search_keyword=%5B%EA%BD%83%EB%8B%98%EB%B0%98%5D 꽃님반]
  • 데블스캠프2005/RUR-PLE . . . . 4 matches
          * repeat 명령어를 써서 여러번 수행해야 하는 함수(명령어 포함)을 한번에 방복 횟수만 지정해서 사용할 수 있다.
          repeat(turn_left, 3)
          * 위의 if문과 함수 정의, repeat를 사용하여 아래 화면과 같은 상황을 처리한다.
         # introducing vocabulary related to the problem
  • 데블스캠프2005/RUR-PLE/Harvest/허아영 . . . . 4 matches
          repeat(turn_left, 3)
          repeat(move2, 5)
          repeat(move2, 5)
         repeat(move3, 6)
  • 데블스캠프2005/RUR-PLE/TwoMoreSelectableHarvest/이승한 . . . . 4 matches
          repeat(turn_left,3)
          repeat(turn_left,2)
          repeat(moveBackPick,6)
         repeat(checkLine,6)
  • 데블스캠프2005/월요일/BlueDragon . . . . 4 matches
          self.aTrasure = Trasure()
          self.aDragon.attack()
          if not self.aTrasure.open:
          self.aTrasure.open = True
          def attack(self):
          self.aDragon.attack()
          def attack(self):
  • 데블스캠프2006/SVN . . . . 4 matches
         2. Create folder and Checkout your own repository (only check out the top folder option)
         3. Create visual studio project in that folder.
         5. Add that folder and files except debug folder and .ncb, .vsp, .suo, useroptionfiles.
  • 데블스캠프2009/월요일 . . . . 4 matches
         || 송지원 || Scratch (스크래치) || 초등학생도 할 수 있는 프로그래밍을 통해, [[br]]프로그래밍에 대한 친근감과 흥미 유발 || ||
         ||pm 04:00~04:50 ||Scratch(1) - 간단한 설명 등 || 송지원 ||
         ||pm 05:00~06:00 ||Scratch(2) - 직접 만들어보자 || 송지원 ||
         [데블스캠프2009/월요일/Scratch]
  • 데블스캠프2009/월요일/연습문제/HTML-CSS/강성현 . . . . 4 matches
         div { float:left; border:0px; border-style:solid; border-width:0px; }
         #right {float:right; width:30%; height:300px; }
         <img src="http://tunakheh.compuz.com/zboard/data/temp/aa.png" width="600" height="400" onclick="window.open('http://tunakheh.compuz.com/zboard/data/temp/aa.png','photo_popup','width=600,height=400,scrollbars=yes,resizable=yes');">
  • 데블스캠프2011/다섯째날/HowToWriteCodeWell/임상현,서민관 . . . . 4 matches
         import static org.junit.Assert.*;
          private Elev el1;
          private Elev el2;
          Turn = Math.abs(this.currentFloor - i);
  • 데블스캠프2011/둘째날/Scratch . . . . 4 matches
          * http://info.scratch.mit.edu/Scratch_1.4_Download
          * Game Name : Catch A grade!!
          * [http://nforge.zeropage.org/scm/viewvc.php/Scratch/Enoch.sb?root=devilscamp2011&view=log 파일 다운]
  • 데블스캠프2011/셋째날/RUR-PLE/변형진 . . . . 4 matches
          repeat(harvest, num)
         repeat(turn_left, 2)
         repeat(turn_left, 3)
          repeat(turn_left, 3)
  • 데블스캠프2011/셋째날/String만들기 . . . . 4 matches
         || charAt || str.charAt(3) == 'd' ||
         || concat || str.concat(str) == "abcdefabcdef" ||
         || format || String::format("참석자 : %d명", 8) == "참석자 : 8명" ||
  • 데블스캠프2012/다섯째날/C로배우는C++원리 . . . . 4 matches
         void createPerson(void* this, const char* name, const int age){
         void createStudent(void* this, const char* name, const int age, const char* studentID){
          createPerson(this, name, age);
          createStudent(temp, "ChungAng", 100,"20121111");
  • 레밍즈프로젝트/프로토타입/에니메이션 . . . . 4 matches
         class CmyAnimation{
         private:
          CmyAnimation(){
         == CmyAnimation ==
  • 마름모출력/이태양 . . . . 4 matches
          char pattern;
          printf("패턴입력:");scanf("%c",&pattern);
          printf("%c",pattern);
          printf("%c",pattern);
  • 마름모출력/임다찬 . . . . 4 matches
          char pattern;
          printf("패턴입력 : "); scanf("%c",&pattern);
          for(j=1;j<=2*i+1;j++) printf("%c",pattern);
          for(j=1;j<=(2*B_length-3)-2*i;j++) printf("%c",pattern);
  • 만년달력/인수 . . . . 4 matches
          static int DAYS_PER_MONTH[] = {31,28,31,30,31,30,31,31,30,31,30,31};
          private int[] getExpectedCalendar(int start) {
          private void assertEqualsArray(int [] expected) {
          public static void main(String[] args) {
  • 반복문자열/임인택 . . . . 4 matches
         module RepeatStr
         repeatMessage msg n = putStr (message "" msg n)
         RepeatStr> repeatMessage "CAUCSE LOVE." 5
  • 방울뱀스터디/Thread . . . . 4 matches
         lock = thread.allocate_lock() #여기서 얻은 lock는 모든 쓰레드가 공유해야 한다. (->전역)
         lock = thread.allocate_lock()
          #text.update()
         canvas.create_image(0, 0, image=wall, anchor=NW)
  • 새싹교실/2011/씨언어발전/4회차 . . . . 4 matches
         * 전역변수, 지역변수, static 변수란?
         * 전역변수, 지역변수, static 변수란?
         수업시간에 자서 못들었던 함수에 대한 내용과 지역변수 전역변수 static 변수 를 배웠다.
         봉봉교수님의 마성의 목소리를 들어 잠의 세계에 빠졋는데 static 변수는 지역함수와 비슷한 것인데 값이 날라가지 않는다는 것이 특징이다.
  • 새싹교실/2012/AClass/4회차 . . . . 4 matches
         - c언어에서는 char,int,float 와 같은 많은 수의 기본 데이터 형과 배열, 포인터, 구조체 등의 유도된 데이터형으로부터 새로운 데이터형을 만들 수 있는데, 사용자 측면에서 새로운 데이터 형을 정의 할 수 있도록 typedef선언을 제공한다. typedef은 #define과 달리 이미 존재하는 c언어의 데이터 형만을 취하여 정의하고 typedef은 프리프로세서에 의해 처리되는 것이 아니라 c컴파일러에 의해 처리된다. 또한 #define보다 다양한 형태의 치환이 가능하다.
          int data; //데이터를 담을 공간
         NODE*CreateNode(char name [])
         NODE* 를 반환하는 CreateNode다. NewNode라는 포인터를 생성후 그 해당하는 주소에 malloc함수로 공간을 할당하고 있다.
  • 새싹교실/2012/주먹밥/이소라때리기게임 . . . . 4 matches
         #include<math.h> //Rand를 가져오는 헤더파일
         int printplayerstate(PLAYER *, PLAYER *); //스테이터스 출력
          printplayerstate(&sora, &player);
         int printplayerstate(PLAYER * sora, PLAYER * me){
  • 새싹교실/2013/라이히스아우토반/3회차 . . . . 4 matches
          * Template를 만들어 보려 했으나 실패?... 단순히 갱신이 느린건지.. 아니면 내가 권한이 없는 건지... - [고한종](13/04/02)
         오늘은 실수를 표시해주는 float 이란 함수와
         float do while 등등 많이 배웠다
         오늘 여러가지를 배웠어요 대수비교도 배웠고, 소수는 float 쓴다는것도 알게됬구요
  • 성당과시장 . . . . 4 matches
         [http://kldp.org/root/cathedral-bazaar/cathedral-bazaar.html 성당과시장] 에서 논문 번역문을 읽을 수 있다. 논문 발표후 Eric S. Raymond는 집중 조명을 받았는데, 얼마 있어 지금은 사라진 Netscape 가 자사의 웹 브라우저인 Netscape Navigtor를 [http://mozilla.org 모질라 프로젝트]로 오픈 소스시켜 더 유명해 졌다. RevolutionOS 에서 실제로 Netscape의 경영진은 이 결정중 이 논문을 읽었다고 인터뷰한다.
         그외에도 [http://kldp.org/root/gnu/cb/homesteading/homesteading.ko.html 인지권의 개간], [http://kldp.org/root/gnu/cb/hacker-revenge/ 해커들의 반란]이라는 논문도 있다. [http://kldp.org/root/cathedral-bazaar/cathedral-bazaar.html 성당과시장], [http://kldp.org/root/gnu/cb/homesteading/homesteading.ko.html 인지권의 개간], [http://kldp.org/root/gnu/cb/magic-cauldron/ 마법의 솥], [http://kldp.org/root/gnu/cb/hacker-revenge/ 해커들의 반란] 순으로 씌였다.
  • 수/마름모출력 . . . . 4 matches
         int i, j, num, pat;
          scanf(" %c", &pat);
          printf("%c",pat);
          printf("%c",pat);
  • 안전한장소패턴 . . . . 4 matches
         ...좋은 물리적 환경 (CommonGroundPattern, PublicLivingRoomPattern)은 어떤 스터디 그룹에서든 필수적이다. 이 패턴에서 설명하는 지성적 환경 역시 마찬가지로 필수적이다.
         [attachment:sp.jpg]
         실제로, 그룹 내에는 언제나 어느 정도의 개인적 충돌이나 불화가 있게 마련이다. 그런 이슈에 대해서 이야기 할 수 있도록 세션이 끝난 뒤에 사람들이 모이는 것(AfterHoursPattern)이 도움이 된다.
  • 안혁준 . . . . 4 matches
         [말없이고치기], [SignatureSurvey], [PNGFileFormat]
          * [attachment:안혁준/C++프로그래머가_보는_웹세상.pptx C++ 프로그래머가 보는 웹세상]
          * [attachment:안혁준/C++_0x_PPT.pptx C++0x]
  • 영어단어끝말잇기 . . . . 4 matches
          *N. a person who is especially good at sth
          *somebody do something with itself. cf) iteration
          * (in stories) a creature like a small man with white hair and a pointed hat who lives under the ground and guards gold and precious things: (informal) the gnomes of Zurich (= Swiss bankers who control foreign money)
  • 이영호/시스템프로그래밍과어셈블리어 . . . . 4 matches
         API Hooking을 통해 Application 이하의 차원에서 프로그램을 자유 자재로 다룰 수 있다는 것을 배웠다.
         몇몇 게임(카트라이더, 워록, 대항해시대 등등)의 프로그래머들이 Application 층만을 다룰줄 아는 무식한 프로그래머라는 것을 알았다. (특히, 워록의 프로그래머는 프로그래머라기 보다 코더에 가깝고 배운 것만 쓸 줄 아는 무식한 바보이다. 그 프로그래머는 개발자로서의 수명이 매우 짧을 것이다. 3년도 못가 짤리거나 혹은 워록이라는 게임이 사라질걸?) - (이 게임들은 코드를 숨기지 못하게 하는 방법도 모르는 모양이다. 이런식으로 게임들을 건들여 패치를 만들 수 있다. KartRider는 요즘에와서 debug를 불가능하게 해두고 실행 파일을 packing 한 모양이다. 뭐 그래도 많은 코드들을 따라가지 않고 ntdll.ZwTerminateProcess에 BreakPoint를 걸어 앞 함수를 건들이면 그만이지만.)
         System Programming을 통해 Application층 프로그래밍의 본질을 깨닫기 시작했으며, 가장 중요한 것이 Assembly란 것을 다시 한번 깨달았다.
  • 임인택/CVSDelete . . . . 4 matches
         def deleteCVSDirs(relativeRoot):
          dirlist = os.listdir(relativeRoot)
          folderToDelete = relativeRoot + '/' + folder
          deleteCVSDirs(relativeRoot + '/' + folder)
  • 임인택/내손을거친책들 . . . . 4 matches
          * ObjectOrientedReengineeringPatterns
          * Firefox hacks : tips & tools for next-generation web browsing
          * TCP/IP Illustrated Vol. 1
          * PairProgramming Illuminated
  • 잔디밭/권순의 . . . . 4 matches
          int greatestNum = 0;
          if(temp > greatestNum)
          greatestNum = temp;
          cout << greatestNum << endl << currentRow << " " << currentCol << endl;
  • 정수민 . . . . 4 matches
          char operation;
          scanf ("%d%c%d",&forward ,&operation ,&backward );
          switch(operation)
          printf("n== LOTTO RANDOM NUMBER GENERATOR ==nnEnter the game count : ");
          float agv, team;
  • 제로스 . . . . 4 matches
         || . 1. 9. || Upload:CH2_Operating-System-Structures.ppt || 수생, 소현 ||
         * 이론 : Operating System Concepts(6/E) : Windows XP Update - 한국어판
          * 현재 프로젝트의 방향은 정하지 않은 것으로 보이니까 공룡책으로 이론 공부를 하고 Nachos라는 교육용 OS 프로그램 분석을 병행하면서 여기서 얻은 지식으로 OS를 만드는 접근 방법을 사용하는 것이 어떨까 하는데 다들 의견이 어떠신지 궁금? -- 이론 : Operating System Concepts -- 실습 : Nachos - [진석]
  • 조동영 . . . . 4 matches
          char pattern;
          scanf("%c" , &pattern);
          printf("%c", pattern);
          printf("%c", pattern);
  • 중위수구하기/문보창 . . . . 4 matches
          private int elements[];
          private int length;
          int mid = (int)Math.floor(0.5 * length + 0.5);
          public static void main(String args[])
  • 코드레이스/2007/RUR_PLE . . . . 4 matches
          * repeat 명령어를 써서 여러번 수행해야 하는 함수(명령어 포함)을 한번에 방복 횟수만 지정해서 사용할 수 있다.
          repeat(turn_left, 3)
          * 위의 if문과 함수 정의, repeat를 사용하여 아래 화면과 같은 상황을 처리한다.
         # introducing vocabulary related to the problem
  • 통찰력풀패턴 . . . . 4 matches
         [attachment:pi_diagram.jpg]
         대화 시 분위기는 중요한 역할을 한다. 어떤 환경은 대화를 촉진시키지만(CommonGroundPattern, PublicLivingRoomPattern), 그렇지 않은 환경도 있다.
         가장 학습이 풍요로워 질 때는 그룹이 동기 부여된 중재자([중재자패턴])와 준비된 참가자(PreparedParticipantPattern)를 가졌을 때이다.
  • 프로그래밍/Score . . . . 4 matches
          } catch (FileNotFoundException e) {
          } catch (IOException e) {
          private int processOneCase(String line) {
          public static void main(String[] args) {
  • 함수포인터 . . . . 4 matches
         [http://www.codeproject.com/atl/atl_underthehood_.asp 2. 함수포인터]
         [http://www.codeproject.com/atl/atl_underthehood_.asp 3. thunk]
  • 2010JavaScript . . . . 3 matches
          -[김정혜] : 저는 Events, Throw, Try...Catch, Animation 을 공부했음^_^
         == after that.. ==
  • 2010JavaScript/강소현/연습 . . . . 3 matches
         <img src="http://static.naver.com/ncc/2010/07/30/163114192381349.jpg"
         <img src="http://static.naver.com/ncc/2010/07/30/1631301773960435.jpg"
         href="http://sstatic.naver.com/ncr/Recipe/1/20100413204704092_X0KZLRZZ1.jpg">
  • 2thPCinCAUCSE/ProblemA/Solution/상욱 . . . . 3 matches
         private:
          calculate();
          void calculate() {
  • 2학기파이선스터디/함수 . . . . 3 matches
          문들(statements)
         pass는 아무 일도 하지 않는 통과문(statement)이다. 함수는 최소한 한 개 이상의 문을 가져야 하기 때문에 사용한다.
         || 문/식 || 문(statement) || 식(expression) ||
  • 3학년강의교재/2002 . . . . 3 matches
          || 알고리즘 || (원)foundations of algorithms || Neapolitan/Naimpour || Jones and Bartlett ||
          || 데이터통신 || The Essential Guide to Wireless Communications Applications || Andy Dornan || Prentice-Hall ||
  • ACM_ICPC/2011년스터디 . . . . 3 matches
          * 하루 전날까지 표를 보신 분들은 알겠지만 원래 하려던건 RSA Factorization이었는데 문제가 문제가 있더군요(??). 그래서 어느 조건에 맞춰야 Accept가 될지 알 수도 없고 괜히 168명의 사람들만 도전한거 같지는 않아서 일단은 pass하고 다른 문제를 풀었습니다. 기회가 되면 다음엔 prime을 이용한 문제를 좀 풀어보고 싶어요. 물론 Factorization의 특성상 시간이 오래 걸리는 점이 있어서 좋은 알고리즘을 고안해야 겠지만.. World Cup 문제에 대한 후기는.. 음.. 골라놓고 막 머리싸매고 풀어보니 별거 아닌 문제라 웬지 모임에서 학우들의 원성을 살것만 같은 느낌이에요. 엉엉..ㅠㅠ - [지원]
          * [권순의] - 얼라 이거 안 쓰고 있었네 (흠흠) 솔져는 참.. 어이없게 끝났네요. 결국 마무리도 못하고 -_-;; 이번 문제는 어렵지는 않았는데,, 왜 Presentation Error가 뜨는거지 이러고 있습니다. -_-;;
  • API/WindowsAPI . . . . 3 matches
          WndClass.hIcon=LoadIcon(NULL,IDI_APPLICATION);
          hWnd=CreateWindow(lpszClass,lpszClass,WS_OVERLAPPEDWINDOW,
          TranslateMessage(&Message);
          DispatchMessage(&Message);
  • AcceleratedC++/Chapter16 . . . . 3 matches
         || ["AcceleratedC++/Chapter15"] || ["AcceleratedC++/AppendixA"] ||
         ["AcceleratedC++"]
  • Ant/TaskOne . . . . 3 matches
          <!-- Create the time stamp -->
          <!-- Create the build directory structure used by compile -->
          <!-- Create the distribution directory -->
  • Apache . . . . 3 matches
          JSP를 돌리기위해서 mod_jk로 jsp 를 tomcat 에 넘겨주는 방식으로 운영되고 있음. tomcat webserver로 접속하려면, [http://zeropage.org:8080]으로 접속하면 됨.
         비슷한 놈으로는 InternetInformationService (IIS) 가 윈도우 환경에서 MS에 의해서 제공되고 있음.
  • AppletVSApplication/상욱 . . . . 3 matches
         == Application and applet ==
          자바는 두 가지 종류의 프로그램 형태를 가진다. 하나는 일반적인 응용 프로그램 즉, 애플리케이션(Application)이고 또 하나는 작은 프로그램이
          자바 애플릿이란 HTML 페이지에 포함되어 자바 호환(java-compatible) 웹 브라우저에 의해 실행될 수 있는 된 자바 프로그램입니다. 자바 호환
  • Applet포함HTML/상욱 . . . . 3 matches
          <PARAM NAME = "type" VALUE = "application/x-java-applet;jpi-version=1.4.1_01">
          type = "application/x-java-applet;jpi-version=1.4.1_01"
         ["JavaStudyInVacation/진행상황"]
  • Applet포함HTML/영동 . . . . 3 matches
          <PARAM NAME="type" VALUE="application/x-java-applet;jpi-version=1.4.0_03">
          type="application/x-java-applet;jpi-version=1.4.0_03"
         ["JavaStudyInVacation/진행상황"]
  • Applet포함HTML/진영 . . . . 3 matches
          <PARAM NAME = "type" VALUE = "application/x-java-applet;jpi-version=1.4.1_01">
          type = "application/x-java-applet;jpi-version=1.4.1_01"
         ["JavaStudyInVacation/진행상황"]
  • ArsDigitaUniversity . . . . 3 matches
         학부생 수준의 전산 전공을 일년만에 마칠 수 있을까. 그런 대학이 있다(비록 지금은 펀드 문제로 중단했지만). 인터넷계의 스타 필립 그리스펀과 그의 동료 MIT 교수들이 만든 학교 ArsDigitaUniversity다. (고로, Scheme과 함께 NoSmok:StructureAndInterpretationOfComputerPrograms 를 가르친다)
         자신의 전산학 지식을 전체적으로 정리하거나, 밑바닥부터 새로 공부하고 싶은 사람들에게 많은 참고가 된다 -- 모든 수업이 한 달이면 끝난다. ArsDigitaUniversity의 "하면서 배우는"(learn by doing) 교육 모델(날마다 구체적인 Problem Set이 주어지고 오전에 수업이 끝나면 오후에 Recitation을 하며, 매 주 NoSmok:교육적인시험 을 친다)도 흥미롭다. 모든 수업에 대해 VOD와 문제, 해답, 수업 노트가 제공된다.
          * MIT 박사 과정 타라 수잔의 교수 경험 http://www-math.mit.edu/~tsh/teaching/aduni.html
  • BeeMaja/고준영 . . . . 3 matches
         struct coordinate{
         void move_posi(struct coordinate *, int);
         void move_posi(struct coordinate *posi, int direc)
  • BookShelf/Past . . . . 3 matches
          1. [http://kldp.org/Translations/html/Ask-KLDP/ 좀더 나은 질문하기 방법] - 20050121
          1. [SmalltalkBestPracticePatterns] - 20051218
          1. [IntroductionToTheTheoryOfComputation]
  • BusSimulation/영동 . . . . 3 matches
          cout<<"===============Bus Simulation=================="<<endl;
          cout<<"____________Result of Bus Simulation___________"<<endl;
         ["BusSimulation"]
  • C++Analysis . . . . 3 matches
          * ["AcceleratedC++"] Chapter 2 까지 읽어오기
          * ["AcceleratedC++"] Chapter 2(뒷부분)~ 3 예습 및 내용 정리
          * ["AcceleratedC++"]
  • C++스터디_2005여름/학점계산프로그램/정수민 . . . . 3 matches
         private:
         private:
          static fstream fin("input.txt");
  • CalendarMacro . . . . 3 matches
         '''YEAR-MONTH subpage is created'''
         '''archive option check blogged dates and link to the archive'''
         CategoryMacro
  • CanvasBreaker . . . . 3 matches
          2. Histogram Equalization
          3. Quantization - 여기까지 2시간
          6. NULL, Negative - 5분
  • CategoryEmpty . . . . 3 matches
         A category for empty pages. See also DeleteThisPage.
         CategoryCategory
  • CategoryHomepage . . . . 3 matches
         A category for WikiHomePage''''''s.
         Note that such pages are "owned" by the respective person, and should not be edited by others, except to leave a message to that person. To do so, just append your message to the page, after four dashes like so:
  • CategoryMacro . . . . 3 matches
         If you click on the title of a category page, you'll get a list of pages belonging to that category
  • CategoryTemplate . . . . 3 matches
         If you click on the title of a category page, you'll get a list of pages belonging to that category
  • ChocolateChipCookies . . . . 3 matches
         === About [ChocolateChipCookies] ===
          || 허준수 || C++ || Wrong ~ -..ㅡ;; || [ChocolateChipCookies/허준수] ||
          || [조현태] || C++ || . || [ChocolateChipCookies/조현태] ||
  • Chopsticks/문보창 . . . . 3 matches
         static int nPerson, nStick; // 손님수, 젓가락 수
         static int stick[MAX_STICK+1]; // 젓가락
         static int d[2][MAX_STICK+1]; // 다이나믹 테이블
  • ClassifyByAnagram/1002 . . . . 3 matches
         class Formatter:
         psyco.bind(Formatter)
          Formatter(anagram.getAnagrams())
  • CleanCodeWithPairProgramming . . . . 3 matches
          * Jenkins 빌드가 매우 느려서 리팩토링하면서 Sonar로 Violation 테스트하기 쉽지는 않을 듯;; (특히 마무리할 때)
          1. Tomcat 서비스 내리기 (포트 8080으로 겹쳐서..) : service tomcat stop
  • ComposedMethod . . . . 3 matches
         private :
          void controlTerminate() {/* ... */}
          controlTerminate();
  • ContestScoreBoard/신재동 . . . . 3 matches
          teamNumber = atoi(strtok(line, " ")) - 1;
          problemNumber = atoi(strtok(NULL, " ")) - 1;
          solveTime = atoi(strtok(NULL, " "));
  • CppStudy_2002_1 . . . . 3 matches
         || 7.25 ||9.객체와 클래스(60page)|| ["BusSimulation"] ||
         || 두번째 주 || ["BusSimulation/영동"] ["BusSimulation/상협"]|| 영동 ||
  • CppStudy_2002_1/과제1/CherryBoy . . . . 3 matches
          static int count=0;
          char testing[] = "Reality isn't what it used to be.";
          cout << "What's U'r name?\n";
  • Cpp에서의가변인자 . . . . 3 matches
         C의 io 라이브러리인 printf에 쓰이는 그것이다. 또는 MFC - CString의 CString::Format이나 CString::AppendFormat에 쓰이는 그것이기도 하다. 함수 쓸때 ...이라고 나오는 인자를 가변인자라고 한다. 이렇게 하면 인자를 여러개를 받을 수 있다.
         str.Format(_T("a : %d, b : %d, c: %d"), a, b, c);
  • CrcCard . . . . 3 matches
         Class - Responsibility - Collaboration Card. 보통은 간단한 3 x 5 inch 짜리의 인덱스카드(IndexCard)를 이용한다.
         http://guzdial.cc.gatech.edu/squeakers/lab2-playcrc.gif
         See Also Moa:CrcCard , ResponsibilityDrivenDesign, [http://c2.com/doc/oopsla89/paper.html aLaboratoryForTeachingObject-OrientedThinking]
  • CuttingSticks/문보창 . . . . 3 matches
         static int lenStick, numCut;
         static int cut[MAX_CUT];
         static int d[MAX_CUT][MAX_CUT];
  • DataCommunicationSummaryProject/CellSwitching . . . . 3 matches
         = ATM =
          * 고정길이 셀 사용(53byte = 48 byte의 페이로드 + 5byte의 헤더, ATM의 패킷은 셀이라고 한다.)
         == ATM LAN ==
          * 전통적인 랜은 방송&멀티캐스팅이 공짜다.(모두한테 보내므로), 하지만 ATM은 그것이 좀 힘들다. 그래서 두 가지 방법이 있는데
          * 새 프로토콜 설계(ATMARP)
          * LanE(Lan Emulation)
         [DataCommunicationSummaryProject]
  • DataCommunicationSummaryProject/Chapter11 . . . . 3 matches
          * 단말기만 있으면 거의 영구적으로 base station 과 연결되어 사용가능하고 기타 등등 열라 좋은 점이 많긴하지만 대역폭을 공유한다는 것이 단점이다.
         [DataCommunicationSummaryProject]
  • Debugging/Seminar_2005 . . . . 3 matches
          * fully implemented and fully debugged, before the developer(s) responsible for that feature move on to the next feature -> debugging The development Process
  • DebuggingSeminar_2005/DebugCRT . . . . 3 matches
          //Allocate some more memory.
          참조) [http://zeropage.org/wiki/AcceleratedC_2b_2b_2fChapter11#line287 The rule of Three]
         = related =
  • Delegation . . . . 3 matches
         == Delegatioe ==
         See Also [DelegationPattern]
  • DesignPatterns/2011년스터디 . . . . 3 matches
         [[PageList(^DesignPatterns/2011년스터디)]]
          * HolubOnPatterns를 함께 읽는 스터디.
         [DesignPatterns], [스터디분류], [2011년활동지도]
  • DesignPatterns/2011년스터디/서지혜 . . . . 3 matches
         Design Patterns를 공부중인 [서지혜]가 만들었다.
          * [PatternCatalog]
  • EcologicalBinPacking/임인택 . . . . 3 matches
         #format python
          data = raw_input().split()
          sum+=int(data[i])
  • EffectiveSTL . . . . 3 matches
          === 3. Associative Containers ===
          === 4. Iterators ===
          ["EffectiveSTL/Iterator"]
  • EffectiveSTL/ProgrammingWithSTL . . . . 3 matches
         typedef set<int>::iterator SIIT;
         = Item49. Learn to decipher STL_related compiler diagnostics. =
         = Item50. Familiarize yourself with STL-releated websites. =
  • EightQueenProblem/Leonardong . . . . 3 matches
         import math
          math.fabs(aRow - p[0]) == math.fabs(aCol - p[1]):
  • EmbedAudioFilesForFireFox . . . . 3 matches
         <EMBED SRC=somefile type="application/x-mplayer2" width="300" height="45"></embed>
         <object id="wmp" width="300" height="69" type="application/x-mplayer2">
          <param name="ShowStatusBar" value="1" />
  • EnglishSpeaking/TheSimpsons/S01E02 . . . . 3 matches
         Homer : Hey, no abbreviations.
         Homer : Wait a minute, you little cheater.
          You're not going anywhere until you tell me what a "kwyjibo" is.
  • EnglishSpeaking/TheSimpsons/S01E03 . . . . 3 matches
         Lisa : Here's a good job at the fireworks factory.
         Lisa : How 'bout this? Supervising technician at the toxic waste dump.
         Watch out, Springfield. Here I come.
  • ErdosNumbers/문보창 . . . . 3 matches
         void set_configuration();
          set_configuration();
         void set_configuration()
  • ErdosNumbers/임인택 . . . . 3 matches
         #format python
          erdosNotRelated(allNames, names)
         def erdosNotRelated(allNames, names):
  • ErdosNumbers/차영권 . . . . 3 matches
          int nDataBase, nSearch;
          cin >> nDataBase >> nSearch;
          while (count < nDataBase)
  • FactorialFactors/이동현 . . . . 3 matches
         import java.math.*;
          int sqrt = (int)Math.sqrt(CASE_N);
          public static void main(String[] args) {
  • Favorite . . . . 3 matches
         [http://blogs.pragprog.com/cgi-bin/pragdave.cgi/Practices/Kata]
         Xper:CodeKata
         [http://www.tgedu.net/student/cho_math/ 초등학교 수학]
  • FoundationOfUNIX . . . . 3 matches
         = Foundation Of UNIX =
          * ps (process state 프로세스 상태 확인하기)
          * 먼저 만드는 방법 설명해 준다. 그후 date, ls, 한후 자신의 home 디렉토리로 가는 쉘스크립트 파일을 만들게 함
  • FullSearchMacro . . . . 3 matches
          {{{[[PageList(^Gybe.*|Gybe$)]]}}}이런 식으로도 됩니다. [모인모인]에서도 되구요, MoniWiki는 여기에 date옵션을 쓸 수 있는거죠. --WkPark
          아하.. 그러니까, Category페이지를 어떻게 찾느냐는 것을 말씀하신 것이군요 ? 흠 그것은 FullSearch로 찾아야 겠군요. ToDo로 넣겠습니다. ^^;;; --WkPark
         CategoryMacro
  • GarbageCollection . . . . 3 matches
         2번째 경우에 대한 힌트를 학교 자료구조 교재인 Fundamentals of data structure in c 의 Linked List 파트에서 힌트를 얻을 수 있고, 1번째의 내용은 원칙적으로 완벽한 예측이 불가능하기 때문에 시스템에서 객체 참조를 저장하는 식으로 해서 참조가 없으면 다시는 쓰지 않는 다는 식으로 해서 처리하는 듯함. (C++ 참조 변수를 통한 객체 자동 소멸 관련 내용과 관련한 부분인 듯, 추측이긴 한데 이게 맞는거 같음;;; 아닐지도 ㅋㅋㅋ)
         = Related =
         2번째의 것의 경우에는 자료구조 시간에 들은 바로는 전체 메모리 영역을 2개의 영역으로 구분(used, unused). 메모리를 할당하는 개념이 아니라 unused 영역에서 빌려오고, 사용이 끝나면 다시 unused 영역으로 돌려주는 식으로 만든다고함. ㅡㅡ;; 내가 생각하기에는 이건 OS(or VM), 나 컴파일러 수준(혹은 allocation 관련 라이브러리 수준)에서 지원하지 않으면 안되는 것 같음. 정확하게 아시는 분은 덧붙임좀..;;;
  • HanoiProblem/임인택 . . . . 3 matches
         import java.util.Enumeration;
          Vector discsAtPillar = new Vector();
          System.out.println("Tower Created.");
          return discsAtPillar.isEmpty();
          if( discsAtPillar.isEmpty() )
          Object lastObj = discsAtPillar.lastElement();
          discsAtPillar.add(i);
          discsAtPillar.removeElementAt(discsAtPillar.size()-1);
          Integer topDisc = (Integer)(discsAtPillar.lastElement());
          Enumeration enum = discsAtPillar.elements();
          discsAtPillar.add(discNum);
  • HardcoreCppStudy/두번째숙제/CharacteristicOfOOP/김아영 . . . . 3 matches
         '''* 데이터 은닉(Data Hiding)'''
         '''* 캡슐화(Encapsulation) '''
         추상화란, 객체가 자신의 정보를 안에 감추고 있으면서 외부에 구체적인 것이 아닌 추상적인 내용만을 알려주는 것을 말한다. 때문에 추상화란 정보의 은닉(Information Hiding)이라고도 한다.
  • Hartals/조현태 . . . . 3 matches
         int day_simulate(int, int, int*);
          printf("%d\n",day_simulate(days[i],mans[i],mans_days[i]));
         int day_simulate(int input_day, int input_number_mans, int* input_mans)
  • HeadFirstDesignPatterns . . . . 3 matches
         HeadFirst DesignPatterns
         - [http://www.zeropage.org/pds/2005101782425/headfirst_designpatterns.rar 다운받기]
         {{{Erich Gamma, IBM Distinguished Engineer, and coauthor of "Design Patterns: Elements of Reusable Object-Oriented Software" }}}
  • HelpMiscellaneous . . . . 3 matches
         UpgradeScript는 업그레이드를 위해서 기존에 자신이 고친 파일을 보존해주고, 새로 갱신된 파일로 바꿔주는 스크립트입니다. 유닉스 계열만 지원하며, 쉘 스크립트이며 `diff, patch, GNU tar` 등등의 실행파일이 필요합니다.
         === RatingPlugin ===
         [[Navigation(HelpContents)]]
  • Hessian . . . . 3 matches
         이를 컴파일 하기 위해서는 hessian-2.1.3.jar 화일과 jsdk23.jar, resin.jar 화일이 classpath 에 맞춰줘야 한다. (이는 resin 의 lib 폴더에 있다. hessian jar 화일은 [http://caucho.com/hessian/download/hessian-2.1.3.jar hessian] 를 다운받는다)
          public static void main(String[] args) throws MalformedURLException {
          Basic basic = (Basic)factory.create(Basic.class, url);
  • HowManyFibs?/황재선 . . . . 3 matches
         import java.math.BigInteger;
          public static void main(String[] args) {
         import java.math.BigInteger;
  • HowToDiscussIt . . . . 3 matches
         '''Separate What From How'''
         우선은 토론을 진행할 방식에 대해 토론을 한다. 그리고, 이 방식의 대리인을 선정한다. 이 사람을 Facilitator라고 부른다. 그는 토의 내용에 대한 권한은 없지만, 진행을 정리하는 교통순경의 역할을 한다. 그리고, 모든 참가자는 이 방식을 따라 토론을 진행한다.
  • HowToStudyDataStructureAndAlgorithms . . . . 3 matches
         DataStructure와 알고리즘은 어떻게 공부해야 할까..
         첫번째가 제대로 훈련되지 못한 사람은 알고리즘 목록의 스테레오 타입에만 길들여져 있어서 모든 문제를 자신이 가진 알고리즘 목록에 끼워맞추려고 합니다. DesignPatterns를 잘 못 공부한 사람과 비슷합니다. 이 사람들은 마치 과거 수학 정석을 수십번을 공부해서 문제를 하나 던져주기만 하면, 생각해보지도 않고 자신이 풀었던 문제들의 패턴 중 가장 비슷한 것 하나를 기계적, 무의식적으로 풀어제끼는 "문제풀이기계"와 비슷합니다. 그들에게 도중에 물어보십시오. "너 지금 무슨 문제 풀고있는거니?" 열심히 연습장에 뭔가 풀어나가고는 있지만 그들은 자신이 뭘 풀고있는지도 잘 인식하지 못하는 경우가 많습니다. 머리가 푸는 게 아니고 손이 푸는 것이죠.
         see also ["HowToStudyDesignPatterns"]
  • Ieee754Standard . . . . 3 matches
          * [http://docs.sun.com/htmlcoll/coll.648.2/iso-8859-1/NUMCOMPGD/ncg_goldberg.html What Every Computer Scientist Should Know About Floating-Point Arithmetic] (''강추'')
          * [http://www.cs.berkeley.edu/~wkahan/JAVAhurt.pdf How JAVA's Floating-Point Hurts Everyone Everywhere]
  • IndexingScheme . . . . 3 matches
         An IndexingScheme is a way to navigate a wiki (see also MeatBall:IndexingScheme).
          * Like''''''Pages (at the bottom of each page)
  • IsBiggerSmarter?/문보창 . . . . 3 matches
         lcs_length함수에서 cost table을 만들어주는 과정의 running time은 O(n*n), memory cost는 O(n*n)이다. 그리고 print_lcs 함수에서 longest path를 거슬러 올라가는 running time은 O(n + n) = O(n)이다.
          bool operator () (const Elephant & a, const Elephant & b)
          bool operator () (const Elephant & a, const Elephant & b)
  • IsThisIntegration?/김상섭 . . . . 3 matches
         4337326 2006-02-15 08:15:39 Accepted 0.352 448 28565 C++ 10209 - Is This Integration ?
         #include <math.h>
          cout.setf(ios::fixed, ios::floatfield);
  • IsThisIntegration?/허준수 . . . . 3 matches
         #include <cmath>
          cout.setf(ios::fixed, ios::floatfield);
         [IsThisIntegration?]
  • JCreator . . . . 3 matches
         http://jcreator.com/
         Visual Studio 를 이용해본 사람들이라면 금방 익힐 수 있는 자바 IDE. 보통 자바 IDE들은 자바로 만들어지는데 비해, ["JCreator"] 는 C++ 로 만들어져서 속도가 빠르다. Visual C++ 6.0 이하 Tool 을 먼저 접한 사람이 처음 자바 프로그래밍을 하는 경우 추천.
          * Ctrl + N - Code template.
  • JMSN . . . . 3 matches
         DeleteMe) sourceforge 의 xrath(http://xrath.com/) 라는 분이 한국인이셨군요. -_-; 몰랐는데. 나우누리 자바동에서 활동중이신 황장호라는 분입니다. (오.. 스크린 샷에 구근이형 이름있다;) --석천
         '''1.5. Client User Property Synchronization (SYN command)'''
  • JTDStudy/두번째과제/상욱 . . . . 3 matches
          private JButton button1;
          private GridBagLayout gl;
          private GridBagConstraints gc;
  • JTDStudy/두번째과제/장길 . . . . 3 matches
          private Button b1= new Button("click here!");
          public void windowActivated(WindowEvent e) {}
          public void windowDeactivated(WindowEvent e) {}
  • Java Study2003/첫번째과제/노수민 . . . . 3 matches
          * 자바 Applat 에서 - 자바 Bytescode는 소스를 자바 컴파일러로 컴파일한 결과물로서 HTML 문서에 비해 크기가 매우 크며 웹 서버에서 브라우저로 전송되기까지가 많은 시간이 걸린다. 일단 전송된 애플릿은 브라우저가 수행시키므로 그 속도는 클라이언트의 시스템 환경과 브라우저가 내장하고 있는 JVM의 성능에 따라 좌우된다. 28.8K 정도의 모뎀 환경이라면 그럴듯한 애플릿을 다운 받아서 수행하는데는 많은 인내심이 필요하게 된다. 그러나, 점차 인터넷 통신 환경이 좋아지고 있으며 가정집을 제외한 대부분의 사무실과 학교 등에서는 전용 회선이 깔려 있고, 넉넉한 환경의 전용선이라면 애플릿을 구동하는데 무리가 없다. 근래에는 가정에서도 초고속 통신 환경을 싼 값에 구축할 수 있으므로 점차적으로 인터넷 환경에서 애플릿의 전송은 부담이 되지 않을 것이다. JVM도 기술적으로 많이 향상되었고, Sun뿐 아니라, IBM과 같은 매머드급 회사들이 뛰어들어 개발하고 있어 초기 지적받았던 JVM의 구동 속도는 점차 문제가 되지 않는 상황이다.
          * 자바 애플리케이션(Application):
          public static void main(String[] args) {
  • Java/ServletFilter . . . . 3 matches
          * Data Compression 등등
          <url-pattern>/*</url-pattern>
  • JavaStudy2004/자바따라잡기 . . . . 3 matches
          * No More Goto Statements
          * No More Operator Overloading
          * No More Automatic Coercions: 자동 형 변환이 안된다.
  • JollyJumpers/iruril . . . . 3 matches
          catch(IOException e) {
          tempDiffer = Math.abs( jumpersArray[i] - jumpersArray[i+1] );
          public static void main(String args[])
  • JollyJumpers/신재동 . . . . 3 matches
          private void inputNumbers(Vector list) {
          } catch (IOException e) {
          public static void main(String[] args) {
  • Knapsack . . . . 3 matches
         === specfication ===
          1. weighted, 0-1 knapsack problem -> find the exact match
          1. weighted, unbounded knapsack problem -> find the exact match
  • LUA_5 . . . . 3 matches
         >> setmetatable(obj, self)
         이렇게 만들면 좀 더 객체 지향적으로 만들 수 있습니다. 여기서 setmetatable이라는 함수가 나옵니다. metatable에 대해서는 다음 강의에서 설명하도록 하겠습니다.
  • Lines In The Plane . . . . 3 matches
         What is the maximum number L<sub>n</sub> of regions defined by lines("unfolding" or "unwinding") in the plane?
         ===== mathematical expression =====
  • Linux/배포판 . . . . 3 matches
         국내의 배포판은 대부분 레드햇의 패키지 방식인 RPM(Redhat Package Manager)를 채용한다. RPM의 경우 단일 패키지르 중심으로하는 경향이 강하고 의존성에 상당히 관대한 패키지 방식으로 알려져있다. ''(데비안유저인 관계로 잘모른다.)'' 알려진 바로는 느슨한 패키지 의존성때문에 처음에는 편하지만 나중에 엉켜있는 패키지를 관리하기가 좀 까다롭다는 의견도 많다. 레드햇 리눅스는 현재 공개방식으로 배포되지 않는다. 기업용 혹은 웍스테이션을 위한 돈주고 파는 버전만 존재한다. 대신에 레드햇사는 페도라라는 리눅스 배포판을 지원하고 있으며, 레드햇의 사이트를 통해서 배포가 이루어진다. 대부분의 패키지가 CD안에 통합되어 있으며, 대략 최신 패키지 들이 패키징되어있다. (050626 현재 페도라4가 얼마전에 발표되었다 4+1CD) 페도라 리눅스는 레드햇의 불안정판 정도라고 생각하면 되고, 실제로 최신의 패키지들로 묶어서 내놓고 잇다. 페도라에서 얻어진 피드백을 통해서 레드햇에 반영하고 이로부터 안정적인 리눅스 서버 OS를 발표한다. ''ps) 의존성? 리눅스의 각패키지는 각기 다른 프로젝트로 진행되어 만들어진 것들을 다시 사용하는 경우가 많다. 따라서 각기 독립적인 패키지 만으로는 프로그램이 실행이 안되어 경우가 있는제 이런 경우 의존성이 있다고 말한다.''
         [http://debianusers.org/DebianWiki/wiki.php/DebianRedhat RedhatVSDebain]
  • Linux/필수명령어 . . . . 3 matches
         || cat || 터미널 상의 텍스트 파일 보기 ||
         || netstat || netword 상태를 알아 볼수 있다. -acep 옵션들을 알아두면 편하다. ||
         || update-rc.d || rc.* 에 시작 프로그램을 등록한다. defaults 옵션을 줄경우 모든 running level 에 등록된다. (Debian) ||
  • LinuxSystemClass/Exam_2004_1 . . . . 3 matches
          Zombie State
         다음에 대해 T & F & Justification
          Rate Scheduling 란?
  • LogicCircuitClass . . . . 3 matches
         = What is this class? =
         = What is a textbook? =
         = What were assignments? =
  • MFC/CollectionClass . . . . 3 matches
         = Template Collection Class =
          || {{{~cpp GetAt(index)}}} || 인덱스로 지정된 배열의 객체를 리턴한다. ||
          || {{{~cpp operator[index]}}} || GetAt()과 동일하게 작동하며, built-in 배열과 동일한 사용법을 제공한다. [[BR]] {{{~cpp pointArray.SetAt}}}(3, NewPoint)[[BR]]{{{~cpp pointArray[3]=NewPoint}}} ||
          || {{{~cpp InsertAt()}}} || 인자로 전달된 객체를 배열의 특정 인덱스에 삽입한다. ||
          || {{{~cpp SetAt(POSITION, ObjectType)}}} || 첫번째 인자의 위치에 두번재 인자의 객체를 할당한다. POSITION 의 유효성을 검사한후에 사용해야한다. ||
          || {{{~cpp GetAt()}}} || 특정 위치의 객체를 리턴한다. ||
          || {{{~cpp RemoveAt(POSITION)}}} || 특정위치의 리스트 요소를 삭제 ||
          || {{{~cpp operator[]}}} || 배열과 동일한 형태로 사용하는 것이 가능 ||
          || {{{~cpp GetAt()}}} || 특정 위치의 객체를 리턴한다. ||
          || {{{~cpp SetAt(POSITION, ObjectType)}}} || 첫번째 인자의 위치에 두번재 인자의 객체를 할당한다. POSITION 의 유효성을 검사한후에 사용해야한다. ||
          || {{{~cpp RemoveAt(POSITION)}}} || 특정위치의 리스트 요소를 삭제 ||
  • MatLab . . . . 3 matches
         Wiki:MatLab , http://www.mathworks.com/
         [1002] 가 OCU 수업으로 공부하는 툴. 요즈음 결과분석시 그래프를 그려서 분석하곤 하는데, 이때 자주 쓰는 툴. 비단 Visualization 뿐만 아니라 행렬연산 등을 간단히 실험해보는데도 유용하게 쓰인다.
  • Microsoft . . . . 3 matches
         {{|Microsoft Corporation (NASDAQ: MSFT) is the world's largest software company, with over 50,000 employees in various countries as of May 2004. Founded in 1975 by Bill Gates and Paul Allen, it is headquartered in Redmond, Washington, USA. Microsoft develops, manufactures, licenses, and supports a wide range of software products for various computing devices. Its most popular products are the Microsoft Windows operating system and Microsoft Office families of products, each of which has achieved near ubiquity in the desktop computer market.|}}
  • MoniWikiThemes . . . . 3 matches
         attachment:WikiIEbug.PNG
          -- cocowest [[Date(2004-11-03T08:35:43)]]
         {{{background-color: #fff;}}}를 쓰면 페이지가 길어질때 이상하게 보일 가능성이 있습니다. -- WkPark [[Date(2004-11-03T09:09:02)]]
  • MoniWikiTutorial . . . . 3 matches
         자세한 내용은 HelpOnNavigation을 참조하세요.
         공백을 보존되는 preformat을 사용하고 싶은 경우는 중괄호`{{{{{{ ... }}}}}}`를 사용합니다.: {{{
          * 페이지를 만들때는 Template를 사용하면 편리한 경우도 있습니다.
  • Monocycle/김상섭 . . . . 3 matches
         struct state
          state now = {now_row,now_col, 0, 0, 0, 0, 0}, next;
          list<state> test;
  • NumericalAnalysisClass/Exam2002_1 . . . . 3 matches
         Show that the angle @ between two lines
         (a) First. find the parametric equation for line for (t = 0 ~ 1)[[BR]]
         (c) Find the values of the X,Y,Z coordinate values of plane.
  • OOD세미나 . . . . 3 matches
          * 오늘 긴 시간동안 모두 수고하셨습니다. 오늘 설명한 내용이 아직 깊이 와닿지 않더라도 좋습니다. 프로젝트 개발에 있어 그동안 흔히 전개했던 방식과는 다른 접근 방식의 가능성을 확인하는 것만으로도 좋은 경험이 되었길 바랍니다. 누누히 강조하지만 한 번에 이해하시길 바라서 진행하는 세미나가 아니라, 정말 중요한 하나의 제언만이라도 남는다면 그것을 앞으로 몇 번 듣고 또 듣고, 그리고 정말 그 개념이 필요한 순간이 됐을 때 큰 힘이 되리라 믿습니다. 예제는 좋은 예제거리에 대한 의견이 없어 SE 프로젝트 주제를 차용했는데, 설계만으로 문제가 깔끔하게 해결되는 과제가 아니라 알고리즘으로 해결해야할 부분이 꽤 있는 과제다보니, 실습이 설계부분에 집중하기 힘들었던 점은 다소 아쉽네요. 좋은 후기를 작성해주신 분 한 분을 선정해서 번역서 [http://book.naver.com/bookdb/book_detail.nhn?bid=2500990 Holub on Patterns]을 선물로 드립니다. 후기는 감상보다는 되새김이 되었으면 좋겠습니다. :) - [변형진]
          get과 set을 사용하면 메인에서 그 자료형이 뭔지 알고 있는 거니까 변경시에 같이 변경해야 하므로 사용을 자제하는 건가요? 다른 클래스에서 private로 선언한 거를 메인에서 접근하기 위해 get과 set을 사용하는 거 같은데, 그럴거면 private로 왜 선언하는 건지 의문을 작년에 가졌...는데 여전히 모르는..;ㅅ; 우문(뭔가 질문하면서도 이상해서..;)현답을 기대합니다 ㅎ; - [강소현]
  • OpenGL . . . . 3 matches
         http://www.xmission.com/~nate/tutors.html - 추천! OpenGL 해당 명령에 대한 동작을 정말로 쉽게 이해할 수 있다.
         http://www.xmission.com/~nate/sgi.html
         http://www.xmission.com/~nate/es.html
  • OurMajorLangIsCAndCPlusPlus/2006.1.5 . . . . 3 matches
         [OurMajorLangIsCAndCPlusPlus/math.h]
         limits.h, float.h - 하기웅
         조현태 - 유사한것, 속도 향상 template
  • PairProgrammingForGroupStudy . . . . 3 matches
         이 상태에서는 A와 B는 ExpertRating이 0이고, E와 F는 1이 됩니다. 이 개념은 Erdos라는 수학자가 만든 것인데, Expert 자신은 0이 되고, 그 사람과 한번이라도 pairing을 했으면 1이 됩니다. 그리고, expert와 pairing한 사람과 pairing을 하면 2가 됩니다. expert는 사람들의 ExpertRating을 낮추는 식으로 짝짓기 스케쥴링을 맞춰갑니다. 물론 처음에는 C,D,G,H는 아무 점수도 없죠. 이럴 때는 "Infinite"이라고 합니다.
         여기서는 각각의 ExpertRating은, C=2, D=2, E=1, F=1, G=1, H=1이 되겠죠. (A,B는 시원source이므로 여전히 0)
  • PairSynchronization . . . . 3 matches
          1. PairSynchronization 이후, CrcCard 섹션이나 PairProgramming을 진행하게되면 속도가 빨리지는 듯 하다. (검증필요)
         == PairSynchronization 경험기 ==
         상민이랑 ProjectPrometheus 를 하면서 CrcCard 세션을 했을때는 CrcCard 에서의 각 클래스들을 화이트보드에 붙였었죠. 그리고 화이트보드에 선을 그으면서 일종의 Collaboration Diagram 처럼 이용하기도 했었습니다. 서로 대화하기 편한 방법을 찾아내는 것이 좋으리라 생각.~ --["1002"]
  • Pairsumonious_Numbers/권영기 . . . . 3 matches
         void back(int s, list <int>::iterator iter){
          list <int>::iterator it1, it2, temp, tempit;
          list<int>::iterator iter, tempit;
  • Perforce . . . . 3 matches
         비슷한 소프트웨어로 Rational ClearCase, MS Team Foundation, Borland StarTeam 급을 들 수 있다.
         = Relate Links =
  • Polynomial . . . . 3 matches
         === specification ===
         === input data ===
          * 다항식을 표현하는 클래스를 만들어서 operator overloading 을 사용해도 되겠지만 이는 위에 말한 내용을 이미 구현한 후 이걸 클래스로 포장하는거기때문에 지금수준에서는 무리라고 생각됨... - 임인택
  • Postech/QualityEntranceExam06 . . . . 3 matches
          4.2 way assoiate 캐시에서 히트 되었나 안되었나, 뭐 그러고 구조 그리고 각 index, tag, byte offset 등 요소 알아 맞추기
          10 Dynamic Scoping 에서 Static type 체킹을 했을때 어떤 문제 가 발생하는가
          12. Denotational semantics
  • PrimaryArithmetic . . . . 3 matches
         No carry operation.
         3 carry operations.
         1 carry operation.
  • PrimaryArithmetic/문보창 . . . . 3 matches
          cout << "No carry operation.\n";
          cout << sumCarry << " carry operation.\n";
          cout << sumCarry << " carry operations.\n";
  • PrimaryArithmetic/황재선 . . . . 3 matches
          print 'No carry operation.'
          print '1 carry operation.'
          print self.carry, 'carry operations.'
  • PrivateHomepageMaking . . . . 3 matches
         IIS역시 약간의 설정으로 tomcat, php의 설정이 가능해 PHP, JSP를 이용하기 위해서 웹 서버로 아파치를
         || TatterBlog || http://tattertools.com || 태터 블로그 ||
  • ProgrammingPearls/Column1 . . . . 3 matches
         === A Friendly Conversation ===
         === Precise Problem Statement ===
         === Implementation Sketch ===
  • ProjectPrometheus/BugReport . . . . 3 matches
          * notice변경 사항에 관하여, DB에 넣는 방향으로 바꾸던지(게시판을 하던지), file path 비의존적으로 바꾸어야 한다. 현재 file path문제로 직접 고쳐주어야 하는 상황이고, ant 로 배포시 해당 file의 쓰기 읽기 권한 문제로 문제가 발생한다. --["neocoin"]
          - 자주 바뀌는 부분에 대해서 Page -> Object Mapping Code Generator 를 만들어내거나, 저 부분에 대해서는 텍스트 화일로 뺌 으로서 일종의 스크립트화 시키는 방법(컴파일을 하지 않아도 되니까), 화일로 따로 빼내는 방법 등을 생각해볼 수 있을 것 같다.
  • ProjectPrometheus/UserStory . . . . 3 matches
         3 RS Implementation, Login ~1.5 (0.5) , 0.5
         ||Best Book (Rating, 책 정보 열람에 따른 점수 기준)을 확인할 수 있다. ||
          * Best Book (Rating, 책 정보 열람에 따른 점수 기준)을 확인할 수 있다.
  • ProjectSemiPhotoshop/요구사항 . . . . 3 matches
          * Quantization => 2, 4, 16, 256 가지 명암으로 표시 (O 흑백 )
          * Negative ( O 흑백 )
          * Histogram Equalisation(O)
  • PyIde/Exploration . . . . 3 matches
         ZPCvs:PyIde/exploration
         Vim python box 써보다. VIM 의 해당 기능에 대한 빠른 Integration 은 놀랍기 그지없다. (BRM 이건, python 관련 플러그인이건)
         unittest 모듈을 프린트하여 Code 분석을 했다. 이전에 cgi 로 test runner 돌아가게끔 만들때 구경을 해서 그런지 별로 어렵지 않았다. (조금 리팩토링이 필요해보기는 코드같긴 하지만.. JUnit 의 경우 Assert 가 따로 클래스로 빠져있는데 PyUnit 의 경우 TestCase 에 전부 implementation 되어서 덩치가 약간 더 크다. 뭐, 별 문제될 부분은 아니긴 하다.
  • PyServlet . . . . 3 matches
          <url-pattern>*.py</url-pattern>
          <servlet-mapping url-pattern="*.py" servlet-name="PyServlet"/>
  • Python/DataBase . . . . 3 matches
          * [http://www.python.org/topics/database/modules.html 기타모듈다운로드]
         db - database name (NULL)
         con =MySQLdb.connect(user="name", passwd="password", db="databasename")
  • PythonThreadProgramming . . . . 3 matches
          lock=thread.allocate_lock()
          * 그래서 아래와 같은 소스는 starvation을 일으킨다.
          #some operation
  • STL/sort . . . . 3 matches
         #include <functional> // less, greater 쓰기 위한것
         typedef vector<int>::iterator VIIT;
          sort(v.begin(), v.end(), greater<int>()); // 내림차순
  • SchemeLanguage . . . . 3 matches
          * [http://www.swiss.ai.mit.edu/projects/scheme/documentation/user.html MIT Scheme User's Manual]
          * [http://www.swiss.ai.mit.edu/projects/scheme/documentation/scheme.html MIT Scheme Reference]
          * 위문서를 보기위해서는 [http://object.cau.ac.kr/selab/lecture/undergrad/ar500kor.exe AcrobatReader]가 필요하다.
  • Self-describingSequence/문보창 . . . . 3 matches
         static int table[MAX];
         void calcCumulate()
          calcCumulate();
  • SelfDelegation . . . . 3 matches
         == Self Delegation ==
         앞장에 나온 두가지 질문을 상기해보자. 위임한 객체의 주체성이 필요한가? 위임한 객체의 상태가 필요한가? 이 두가지에 yes라고 대답하면 Simple Delegation을 쓸수 없다.
         Self Delegation의 가장 뛰어난 예제는 Visual Smalltalk 3.0의 Dictionary구현이다. Dictionary는 각각의 상태에 대해 최적화된 HashTable을 여러개 가지고 있다. 이때, 자기 자신(Dictionary)를 넘겨주게 된다.
  • SeminarHowToProgramIt/Pipe/vendingmachine.py . . . . 3 matches
         #format python
         class TestVendingMachineVerification(unittest.TestCase):
         Welcome to Vending Machine Simulator!
  • Server&Client/영동 . . . . 3 matches
          public static void main(String[] args) throws IOException
          public static void main(String[] args) throws IOException
         ["JavaStudyInVacation/진행상황"]
  • SmallTalk/강좌FromHitel/강의4 . . . . 3 matches
          SmalltalkWorkspace>>evaluateRange:ifFail:
          SmalltalkWorkspace>>evaluateItIfFail:
          SmalltalkWorkspace>>evaluateIt
  • SmallTalk/문법정리 . . . . 3 matches
         3 negated "selector is #negated"
          1. 메세지는 왼쪽에서 오른쪽으로 진행한다. Evaluation is done left to right.
  • SoftwareCraftsmanship . . . . 3 matches
         또 다른 모습의 SoftwareEngineering. ProgrammersAtWork 에서도 인터뷰 중 프로그래머에게 자주 물어보는 질문중 하나인 '소프트웨어개발은 공학입니까? 예술입니까?'. 기존의 거대한 메타포였던 SoftwareEngineering 에 대한 새로운 자리잡아주기. 두가지 요소의 접경지대에서의 대안적 교육방법으로서의 ApprenticeShip.
          * wiki:Wiki:LegitimatePeripheralParticipation
          * wiki:NoSmok:SituatedLearning
  • StackAndQueue . . . . 3 matches
         자료구조 중 하나인 스텍과 큐를 만들어 본 페이지입니다. 가장 기본이 되는 DataStructure 이죠
         [DataStructure/Stack]
         [DataStructure/Queue]
  • SummationOfFourPrimes/곽세환 . . . . 3 matches
         #include <cmath>
         #include <cmath>
         [SummationOfFourPrimes]
  • TAOCP/InformationStructures . . . . 3 matches
         == 2.2.2. Sequential Allocation ==
         Sequential Allocation은 stack을 다루는데 편리하다.
          ''새 원소 넣기(inserting an element at the rear of the queue)
  • Temp/Parser . . . . 3 matches
         #format python
          self.__dict__.update(kwargs)
          parser = getattr(self,'parse_%s'%tok)
  • TemplateLibrary . . . . 3 matches
         text 나 code generation 을 위한 라이브러리들을 일컫는 말.
          * template - 말 그대로, 틀이 되는 text 코드.
          * template 에 모델을 연결해주는 코드
  • The Tower of Hanoi . . . . 3 matches
         T<sub>n</sub> is the minimum number of moves that will transfer n disks from one peg to another under Lucas's rules.
         ===== mathematical expression =====
  • TheJavaMan/설치 . . . . 3 matches
         public static void main(String[] args)를 체크해 놓으면 따로 입력안해두 되니깐 좋아
          public static void main(String[] args) {
         4. '''Run->Run As->Java Application'''으로 실행하면 아래에 콘솔창에 생기면서
  • TkinterProgramming/SimpleCalculator . . . . 3 matches
         class calculator(Frame):
          self.master.title('simple calculator')
          calculator().mainloop();
  • Trace . . . . 3 matches
         void _cdecl Trace(LPCTSTR lpszFormat, ...)
          va_start(args, lpszFormat);
          nBuf = _vstprintf(szBuffer, lpszFormat, args);
  • TugOfWar/문보창 . . . . 3 matches
         inline void eatline() { while(cin.get() != '\n') continue; };
          eatline();
          eatline();
  • UglyNumbers/이동현 . . . . 3 matches
          * Created on 2005. 3. 30
         import java.math.*;
          public static void main(String[] args) {
  • UnitTest . . . . 3 matches
         이를 assert 문으로 바꾸면 다음과 같이 가능하다. 결과값이 같지 않으면 'abnormal program termination' 이 일어난다.
         A: Socket 이나 Database를 이용하는 경우에는 문제가 되겠죠. 그럴때 MockObjects를 이용하는 방법이 있었던걸로 기억하는데, 아직 실제로 제가 해보지는 않아서요. 대강 개념을 보면 MockObjects는 일종의 가짜 객체로 실제 객체가 하는 일을 시뮬레이션 해주는 객체입니다. 미리 MockObjects 를 셋팅을 해두고 해당 함수결과의 리턴 요구시에는 예측할 수 있는 데이터를 리턴하게끔 하는 것이지요. 나중에 본 프로그램에서 MockObjects들을 토대로 실제의 객체를 만든다.. 식의 개념으로 기억하고 있긴 한데, 저의 경우는 공부만 하고 적용해본 적은 없습니다. --석천
         A: MockObjects가 최적입니다. Socket이나 Database Connection과 동일한 인터페이스의 "가짜 객체"를 만들어 내는 겁니다. 그러면 Socket 에러 같은 것도 임의로 만들어 낼 수 있고, 전체 테스팅 시간도 훨씬 짧아집니다. 하지만 "진짜 객체"를 통한 테스트도 중요합니다. 따라서, Socket 연결이 제대로 되는가 하는 정도만(최소한도로) "진짜 객체"로 테스팅을 하고 나머지는 "가짜 객체"로 테스팅을 대체할 수 있습니다. 사실 이런 경우, MockObjects를 쓰지 않으면 Test Code Cycle을 통한 개발은 거의 현실성이 없거나 매우 비효율적입니다. --김창준
  • UpdateWindow . . . . 3 matches
         재귀함수가 실행될때마다 Invalidate()를 호출하도록 해 두었는데. 화면 갱신은 재귀함수가 끝난 경우에만 하고 있었다.
         [상규]군에게 물어 해답을 찾았다. Invalidate()함수는 다음 WM_PAINT메세지가 왔을때 화면을 다시 그리도록 명령하는 함수이다. 재귀나 반복문을 수행하는 동안에는 WM_PAINT 메세지가 발생하지 않기 때문에 강제적으로 WM_PAINT메세지를 발생시켜 주어야 하는데, 그 함수가 UpdateWindow()함수이다.
  • VimSettingForPython . . . . 3 matches
         Python extension 을 설치하고 난뒤, BicycleRepairMan 을 install 한다. 그리고 BRM 의 압축화일에 ide-integration/bike.vim 을 VIM 설치 디렉토리에 적절히 복사해준다.
         set nocompatible
         set ai showmatch hidden incsearch ignorecase smartcase smartindent hlsearch
  • WebLogicSetup . . . . 3 matches
         WEB_LOGIC_ROOT\config\mydomain\applications\DefaultWebApp 디렉토리 내에서 작업하면 된다.
          <url-pattern>/soapaccess</url-pattern> <!-- uri 패턴 -->
  • WeightsAndMeasures/신재동 . . . . 3 matches
         def inputATurtle():
          (weight, strength) = inputATurtle()
         >>> import operator
         >>> l.sort(key=operator.attrgetter('foo'))
  • WikiKeyword . . . . 3 matches
          * http://www.kwiki.org/?KwikiKeywords : Kwiki use keywords. Keywords are listed in the left sidebar and each keywords link to another pages related with it.
          * http://openclipart.org/cgi-bin/wiki.pl?Keyword_Organization
         See also FacetedClassification
  • XMLStudy_2002/Resource . . . . 3 matches
          || XPath || [http://www.w3c.org/TR/xpath.html] ||
          *XML 파서는 문서를 Validation해 주며,XML 문서 구조를 트리 형태로 구성한다. 이런 파싱에 대한 것만을 지원하는것이 XML 파서이나 현재에는 파싱 작업 뿐 아니라 DOM이나 SAX같은것을 지원하여 XML 문서를 처리할수 있도록 하는 부분도 함께 포함된 도구들이 많다. 이런 도구들을 훈히 XML 프로세서라고 할수 있다.
  • XMLStudy_2002/XSL . . . . 3 matches
          <xsl:template match="/">
          </xsl:template>
  • Yggdrasil/가속된씨플플/4장 . . . . 3 matches
          * try{}catch(a){}: try{} 블록을 실행하다가 예외상황이 발생하면 catch{} 블록을 실행한다.
          * throw로 예외 상황이 발생되었다는 것을 알린다. 예외 클래스엔 여러개가 있으며, 생성자로 문자열을 집어 넣을 수 있고, 이건 일반적으로 출력이 안되지만, what()함수로 확인 가능.
  • ZIM . . . . 3 matches
          * Database Schema (by 시스템 아키텍트)
          * 개발툴 : JCreator
          * CASE 도구 : Together 5.5, Rational Rose, Plastic
  • ZIM/ConceptualModel . . . . 3 matches
          * '''Database'''
          * '''Message''' : ZIM Server 과 송수신 할 Data, Commands
         ["ZIM/CRCCard"] : Class Responsiblity Collaborate Cards 가 아닌 '''Concept''' R... 입니다.
  • ZP&COW세미나 . . . . 3 matches
          * Java 2 SDK Documentation: http://165.194.17.15/pub/j2sdk-1.4.1-doc/docs
          * Platform: http://165.194.17.15/pub/language/java_eclipse/eclipse-platform-3.0M3-win32.zip
  • ZPBoard/AuthenticationBySession . . . . 3 matches
         '''HTTP 프로토콜'''은 stateless 프로토콜입니다. connectionless 프로토콜이라고도 합니다. 예를 들어, 웹브라우저를 통해 제로페이지에 접속한다고 봅시다. 클라이언트 입장에서는 자기 자신이 연속된 요청(게시물 보기나, 위키 사용등)을 보내는것을 알지만, 서버 입장에서는 매번 온 요청이 누구로부터 온 것인지를 알 방법이 없습니다. '''왜냐하면''' HTTP 프로토콜의 태생이 연결지향적이 아니고, 상태를 알 수 없기 때문입니다.
         <script language = "JavaScript">window.location.replace("example.html");</script>
         <script language = "JavaScript">window.location.replace("example.html");</script>
  • ZPHomePage/참고사이트 . . . . 3 matches
          [http://www.microsoft.com/mscorp/innovation/yourpotential/main.html]
          * http://innovative.daum.net/vol2/innovation.html - 다음 커뮤니케이션
  • ZeroPageServer/계정신청상황 . . . . 3 matches
         || 장재니 || bestjn83 || 02 || 2002 || zmc||picatong11 엣 hanmail.net ||zrmcr ||
         || 박영창 || ecmpat || 01 || 2001 || zm ||ecmpat 엣 korea.com || zm ||
         || 윤참솔 || dantert || 02 || 2002 || zm ||dantert At hanmail.net || zrmr ||
  • [Lovely]boy^_^/Diary/7/8_14 . . . . 3 matches
          * 헉. 다이얼로그 기반에서는 WM_KEYDOWN이 잘 안된단다. PreTranslateMessage를 쓰라 하는군.
         === Design Pattern ===
         ["[Lovely]boy^_^/USACO/WhatTimeIsIt?"] [[BR]]
  • bitblt로 투명배경 구현하기 . . . . 3 matches
         hdc_mask= CreateCompatibleDC( hdc_background );
         bitmap_mask=CreateBitmap(size_x, size_y, 1, 1, NULL); //mask로 사용할 흑백 비트맵을 생성합니다~!'ㅇ')/
  • jQuery . . . . 3 matches
         = feature =
          * CSS1~3 및 기본적인 XPath 지원
         = related =
  • neocoin/MilestoneOfReport . . . . 3 matches
          * 제한 사항(Specification)
          * 알고리즘 설명(Algorithm Explanation)
          * 디자인 설명 (Design Explanation)
  • neocoin/SnakeBite . . . . 3 matches
          ''bidirectional association은 최소화하는 것이 좋음. 꼭 필요하다면 back-pointer를 사용해야 함. 가능하면 MediatorPattern의 사용을 고려해보길. --JuNe''
  • sisay . . . . 3 matches
         http://dc4.donga.com/zero/data/westernfood/1110918392/P1010222.jpg - DeadLink
         http://down.humoruniv.com/hwiparambbs/data/pds/zz%25A4%25BB%25A4%25BB.jpg - DeadLink
         http://kr.img.dc.yahoo.com/b3/data/hit/1110243320/050308_1.jpg
  • zennith/dummyfile . . . . 3 matches
          request = atoi(argv[1]);
          request = atoi(argv[1]);
          fprintf(stderr, "memory allocation error occured.");
  • 고한종 . . . . 3 matches
         >언젠가 CI/Automation deploy까지 할 수 있는 개발자가 되길 다짐합니다.
         - [고한종/업적/Math-Explorer] (...)
          * 인생 목표를 추가한걸 봤는데.. '하고싶은 일 하면서 돈 많이 벌고 일 하기싫을 땐 쉴 수 있으면서 때론 일 외에 하고 싶은거도 마음대로 하기' 네. 목표니까 어려운거겠지만 저런게 존재할까? ㅋㅋㅋㅋ 유명한 Mr.Gates도 한창 젊어서 일할 때 쉬는건 쉽지 않았을거같은데.ㅋㅋ
  • 공개선언 . . . . 3 matches
         자연어처리를 이해하는 차원에서 통계 기반 분석기를 개강 전까지 만든다. FoundationsOfStatisticalNaturalLanguageProcessing 를 참조하자.
  • 구구단/Leonardong . . . . 3 matches
          category: 'Leonardong'
          8 timesRepeat:
          [9 timesRepeat:
  • 구구단/조재화 . . . . 3 matches
          category: 'cho'
         8 timesRepeat: [9 timesRepeat: [ Transcript show:x*y; cr. y := y + 1. ]. x := x + 1. y := 1 ].
  • 권순의 . . . . 3 matches
          * [CreativeClub]
          * 수색~! (GP..Guard Post에 있었음 ~~Great Paradise~~)
          * [http://zeropage.org/index.php?mid=project&category=61158 레고마인드스톰]
  • 그래픽스세미나/5주차 . . . . 3 matches
         === ASE File Format ===
          *SCENE_BACKGROUND_STATIC 0.0000 0.0000 0.0000
          *SCENE_AMBIENT_STATIC 0.0431 0.0431 0.0431
         *MATERIAL_LIST {
          *MATERIAL_COUNT 5
          *MATERIAL 0 {
          *MATERIAL_NAME "Material #7"
          *MATERIAL_CLASS "Standard"
          *MATERIAL_AMBIENT 1.0000 0.0000 0.0000
          *MATERIAL_DIFFUSE 1.0000 0.0000 0.0000
          *MATERIAL_SPECULAR 0.8980 0.8980 0.8980
          *MATERIAL_SHINE 0.2500
          *MATERIAL_SHINESTRENGTH 0.5000
          *MATERIAL_TRANSPARENCY 0.0000
          *MATERIAL_WIRESIZE 1.0000
          *MATERIAL_SHADING Blinn
          *MATERIAL_XP_FALLOFF 0.0000
          *MATERIAL_SELFILLUM 0.0000
          *MATERIAL_FALLOFF In
          *MATERIAL_XP_TYPE Filter
  • 금고/김상섭 . . . . 3 matches
         #include <math.h>
         int calculate(int level, int time)
          height += calculate(i-1,j);
  • 금고/하기웅 . . . . 3 matches
         #include <cmath>
         int calculate(int f, int s)
          cout << calculate(nFloor, nSaver) <<endl;
  • 김민재 . . . . 3 matches
          * [정모/2012.7.18] - OMS "DEP(Data Execute Prevention)" 진행
          * GDG pre-DevFest Hackathon 2013 참여
          * Always-On 프로젝트 ~~구성원~~ 리더 - AI Mate
  • 김태진/Search . . . . 3 matches
          static int check=0;
         봉봉교수님이 내주신 연습문제에는 하나밖에 찾을 수 없는 구조인데, 함수에 check라는 static variable을 추가해서 그 함수가 호출되었을때 처음 찾은 값 다음부터 탐색하도록 하였습니다. thanks to. 힌트를 준 진경군.
          * 과제를 더 발전시켜보았군요. 좋은 자세입니다. 다음엔 static variable말고 구조체로도 해보세요 ㅋㅋ - [서지혜]
  • 노스모크모인모인 . . . . 3 matches
          * ["AcceleratedC++/Chapter3"]
          * ["AcceleratedC++/Chapter1"]
          * ["AcceleratedC++/Chapter0"]
  • 다른 폴더의 인크루드파일 참조 . . . . 3 matches
         == What to do? ==
         3. Category에서 Preprocessor 선택
         4. Additional include directories 에 ..\socket,..\data식으로 적어준다.
  • 다이얼로그박스의 엔터키 막기 . . . . 3 matches
         1. Add Virtual Function 클릭해서 PretranslateMessage 함수 추가
          BOOL CLogInDlg::PreTranslateMessage(MSG* pMsg)
          return CDialog::PreTranslateMessage(pMsg);
  • 데블스캠프2002 . . . . 3 matches
         || 6월 24일 || 월요일 || (이정직),(남상협) || DOS, ["FoundationOfUNIX"] ||
          1. ["FindShortestPath"] - 옛날 해커스 랩에서 나왔던 문제.. 프로그램 실력보다는 알고리즘적인것이 중요할듯.. --광민
          1. ["BusSimulation"] - 오늘 제가 교양 숙제로 한거. 엘레베이터 시물레이션과 약간 유사한거 같기도함 - ["상협"]
          동의. 중간중간 컴퓨터 관련 역사나 야사 같은 것을 해줘도 좋을 것 같은데. ["스티븐레비의해커"], ProgrammersAtWork, 마소에서 안윤호씨의 글들 (이분 글도 참 재밌지. 빌 조이의 글이나 70년대 OS 초기시절 이야기 등등) 소개해줘도 재미있을듯. --석천
  • 데블스캠프2006/월요일/함수/문제풀이/이장길 . . . . 3 matches
          int people, gun, boat;
          cin>>people>>gun>>boat;
          team684(people, gun, boat);
  • 데블스캠프2009/월요일/연습문제/HTML-CSS/강소현 . . . . 3 matches
         float:right;
         float:left;
         float:left;
  • 데블스캠프2009/월요일/연습문제/HTML-CSS/서민관 . . . . 3 matches
         float:left;
         float:left;
         float:right;
  • 데블스캠프2009/월요일후기 . . . . 3 matches
         == Scratch - 송지원 ==
          * [김수경] - 대안언어축제에서 Scratch를 접했을 때도 느낀 점이지만, 프로그래밍 언어를 처음 접한 사람에게 코딩을 친숙하게 해주는 정도로는 좋은 것 같아요. 그런데 이미 다른 언어를 어느 정도 쓸 줄 아는 사람에겐 제약이 많다는 것과 일일히 찾아서 드래그해야 한다는 점이 오히려 귀찮게 느껴지는 것 같아요. 누구나 쉽게 쓸 수 있는 툴은 기능이 아쉽고, 강력한 기능을 제공하는 툴은 복잡해서 쓰기 어렵고.. 이런 문제는 도대체 어떻게 해결할 수 있을까요ㅋㅋ 이건 Scratch에만 국한된 문제는 아니지만요;
  • 데블스캠프2010/Prolog . . . . 3 matches
          * [http://lakk.bildung.hessen.de/netzwerk/faecher/informatik/swiprolog/indexe.html Editor]
         has_played(willy, matrix).
         has_played(susan, matrix).
  • 데블스캠프2010/다섯째날/ObjectCraft/미션1/강소현 . . . . 3 matches
          int attack;
         void AAttackB(zerg *a, zerg *b){
          b->HP -= a->attack;
          AAttackB(&zerg1,&zerg2);
          printf("%s가 %s에게 데미지 %d를 입혀 HP가 %d가 되었다.\n",zerg1.name, zerg2.name, zerg1.attack, zerg2.HP);
  • 데블스캠프2010/다섯째날/ObjectCraft/미션1/허준 . . . . 3 matches
          int att;
          zeli2.HP -= zeli1.att;
          printf("저글링1이 저글링2에 데미지 %d를 입혀서 저글링2의 HP가 %d가 되었습니다.\n", zeli1.att, zeli2.HP);
  • 데블스캠프2010/다섯째날/ObjectCraft/미션2/김상호 . . . . 3 matches
         void attack(unit a, unit &b)
          attack(a[0],a[1]);
          attack(a[1],a[0]);
  • 데블스캠프2011/네째날/이승한 . . . . 3 matches
          * [http://keedi.pe.kr/presentations/just_do_git/ 발표 자료]
          * git cheat sheet - http://ktown.kde.org/~zrusin/git/git-cheat-sheet-medium.png
  • 데블스캠프2011/넷째날/Git . . . . 3 matches
          * [http://keedi.pe.kr/presentations/just_do_git/ 발표 자료]
          * git cheat sheet - http://ktown.kde.org/~zrusin/git/git-cheat-sheet-medium.png
  • 데블스캠프2011/둘째날/Machine-Learning . . . . 3 matches
          * 자동 분류할 데이터 다운로드 : http://office.buzzni.com/media/svm_data.tar.gz
          * svm learning : ./svm_multiclass_learn -c 1 /home/newmoni/workspace/DevilsCamp/data/test.svm_light test.c1.model
          * svm classify : ./svm_multiclass_classify /home/newmoni/workspace/DevilsCamp/data/test2.svm_light economy_politics2.10.model
  • 데블스캠프2011/셋째날/RUR-PLE/송지원 . . . . 3 matches
          repeat(turn_left,4)
          repeat(turn_left,3)
          repeat(turn_left, 3)
  • 데블스캠프2012 . . . . 3 matches
          || 3 |||| 배웠는데도 모르는 C |||| [http://zeropage.org/index.php?mid=seminar&category=61948 APM Setup] |||| 소켓, 웹, OpenAPI |||| |||| [:데블스캠프2012/넷째날/묻지마Csharp 묻지마 C#] |||| C로배우는 C++의원리 || 10 ||
          || 7 |||| [http://zeropage.org/index.php?mid=seminar&category=61948 페챠쿠챠] |||| [http://zeropage.org/seminar/62023 Kinect] |||| [http://zeropage.org/62033 LLVM+Clang...] |||| |||| 새내기를 위한 파일입출력 |||| CSE Life || 2 ||
         || LLVM+Clang && Blocks && Grand Central Dispatch || [황현](20기) ||
  • 데블스캠프2012/넷째날/묻지마Csharp/Mission2/서민관 . . . . 3 matches
         private void pushButton_Click(object sender, EventArgs e)
          int oldYear = dateTimePicker1.Value.Year;
          int currentYear = dateTimePicker2.Value.Year;
  • 데블스캠프2012/넷째날/묻지마Csharp/Mission2/서영주 . . . . 3 matches
          private void pushButton_Click(object sender, EventArgs e)
          MessageBox.Show((dateTimePicker1.Value.Year-dateTimePicker2.Value.Year).ToString());
  • 데블스캠프2012/넷째날/묻지마Csharp/Mission3/김준석 . . . . 3 matches
         using System.Data;
          private void pushButton_Click(object sender, EventArgs e)
          private void timer_Tick(object sender, EventArgs e)
  • 데블스캠프계획백업 . . . . 3 matches
          NoSmok:SituatedLearning 의 Wiki:LegitimatePeripheralParticipation 을 참고하길. 그리고 Driver/Observer 역할을 (무조건) 5분 단위로 스위치하면 어떤 현상이 벌어지는가 실험해 보길. --JuNe
  • 떡장수할머니/강소현 . . . . 3 matches
          public static void main(String[] args) {
          private static void find(int x, int y, int k) {
  • 레밍즈프로젝트/이승한 . . . . 3 matches
         예정작업 : Clemming class, CactionManager, ClemmingList, Cgame 테스팅. CmyDouBuffDC, CmyAnimation 버전 복구. 예상 약 8-9시간.
         animation, doubuff class 통합 과정중 상호 참조로 인한 에러 수정.
         Pixel 내부의 데이터로 UINT와 UTYPE만 두어 속도에 신경을 써 보았다. bool type data가 아직 리팩토링 되지 않았음.
  • 루프는0부터? . . . . 3 matches
         [AcceleratedC++]의 [AcceleratedC++/Chapter2]에서 이야기 되더군요.
         AcceleratedC++ 의 내용 부분 발췌
         일찍이 다익스트라가 그 이유를 밝혀놓았습니다. Seminar:WhyNumberingShouldStartAtZero
  • 마름모출력/zyint . . . . 3 matches
          pattern = raw_input('패턴 입력 : ')
          print spc*(size-i) + pattern*(2*i-1)
          print spc*(size-i) + pattern*(2*i-1)
  • 마름모출력/김민경 . . . . 3 matches
         pattern=raw_input('패턴 입력 : ')
          print ' '*(n-i-1)+pattern*((i+1)*2-1)
          print ' '*(i+1)+pattern*((n-i-1)*2-1)
  • 미로찾기/이규완오승혁 . . . . 3 matches
          int path;
          cin >> path;
          tile[avn][crs] = path;
  • 반복문자열/최경현 . . . . 3 matches
         #define NUMBER_OF_REPEAT 5
         void repeatString();
          repeatString();
         void repeatString()
          for(i=0;i<NUMBER_OF_REPEAT;i++)
  • 방울뱀스터디 . . . . 3 matches
         canvas.create_image(0, 0, image=background, anchor=NW)
         canvas.create_text(350, 265, text='ball.pyn' '¸¸???? eeeeh')
         canvas.create_polygon(100, 100, 20, 5, 50, 16, 300, 300, fill='orange')
  • 병역문제어떻게해결할것인가 . . . . 3 matches
          * ATCIS (C4I)
          * 가장 좋은 깃헙 저장소로 [https://github.com/sesang06/awesome-alternative-military-service Awesome Alternative Military Service]를 추천합니다. 해당 저장소를 만든 사람은 현역 대학생으로 재배정 TO를 받으신 분입니다.
          * ~~[http://165.194.17.15/~wiz/data/document/021112_지정업체선정및인원배정.hwp 2003년 병특 인원등등 문서]~~
  • 상협/Diary/7월 . . . . 3 matches
         || POSA || blackboard pattern || 60% || 영어라서.. ㅡㅡ;; ||
         || POSA || blackboard pattern || 30% || - 내용은 읽었는데 정리를.. ㅡㅡ;; 어려워..||
         || 3D || 4장 마저 보고 matrix 구현 || 그럭저럭 || 쩝..||
  • 상협/감상 . . . . 3 matches
         || [PatternOrientedSoftwareArchitecture]|| || 1권(1) || - || 뭣도 모르고 보니깐 별로 감이 안온다 -_-; ||
         || [OperatingSystem] || H.M.Deitel || 1 || 굿 || 운영체제공부를 처음으로 시작한다면 이책이 적당하다고 생각한다 ||
         || 이타적유전자 || MattRidley ||
  • 새싹교실/2012/부부동반 . . . . 3 matches
          * Orientation
         “score.dat” 파일에는 ‘42’가 저장되어 있다.
         인터넷 주소 “[http://www.uefa.kr/eplmatch.txt]”에는 94가 저장되어 있다.
  • 새싹교실/2012/새싹교실강사교육/2주차 . . . . 3 matches
         -과제 확인, 프로젝트 생성, GCC사용법, 컴파일, main함수, 변수, Data Type, 연산자, 입출력 기본 함수, 제어문 -
         #include<math.h> //Rand를 가져오는 헤더파일
         2.5 #include<math.h>, #include<stdlib.h>, #include<time.h>
  • 새싹배움터05 . . . . 3 matches
         || 6_5/23 || 자료구조(DataStructure) || 자료구조 || 주로 1학년을 대상으로 함. 2학년이 들어도 좋을 듯. 프리젠테이션을 할 예정이니 노트북 준비바람. [[BR]] Upload:DataStructure.7z ||
          C, 발표잘하는법, PPT제작 기법, [Python], [PHP], [ExtremeProgramming], ToyProblems, Linux, Internetworking(TCP/IP), Ghost(demonstration), OS(abstraction), OS+Windows, Embedded System, 다양한 언어들(Scheme, Haskell, Ruby, ...), 보안(본안의 기본과 기초, 인터넷 뱅킹의 인증서에 대해..), C언어 포인터 특강(?), 정보검색(검색 엔진의 원리와 구현), 컴퓨터 구조(컴퓨터는 도대체 어떻게 일을 하는가), 자바 가상머신 소스 분석
  • 수학의정석/행렬/조현태 . . . . 3 matches
         void input_data();
          input_data();// 기본 변수들
         void input_data()
  • 실시간멀티플레이어게임프로젝트 . . . . 3 matches
         class Calculator:
         class CalculatorTestCase(unittest.TestCase):
          c = Calculator()
  • 아젠더패턴 . . . . 3 matches
         아젠더(Agenda)가 없는 스터디 그룹이나 소그룹(SubGroupPattern)은 없다. 이 아젠더는 그룹 목표의 틀을 잡아주며, 멤버들이 일찌감치 준비하도록 해주며 사람들이 참여할 모임을 선택할 수 있는 기회를 준다.
         최고의 아젠더는 그룹이 작품을 순차적으로 학습([순차적학습패턴])하도록 짜여진 것이다. 그룹이 작품을 학습하기를 마치면, 그 작품을 원래 학습할 때 없었던 그룹의 새로운 멤버들이 그 작품을 학습할 기회를 갖기를 원할 수도 있다. 이는 학습 주기(StudyCyclePattern)와 소그룹(SubGroupPattern)을 만들어서 수행할 수 있다.
  • 압축알고리즘/수진,재동 . . . . 3 matches
          int n = atoi(&input[i]);
          int diff = atoi(&c);
          int diff = atoi(&c);
  • 열정적인리더패턴 . . . . 3 matches
         스터디 그룹은 지속적인 에너지(EnduringEnergyPattern)를 갖고 안전한 장소([안전한장소패턴])가 되기 위한 리더십이 필요하다. 이 패턴은 이런 특성을 만들기 위해 리더가 해야할 일을 설명한다.
         [attachment:el_diagram.jpg]
         때로는 다양한 사유로 인해 리더가 그룹을 이끌지 못할 수도 있다. 이게 짧은 기간이면 대체로 문제가 되지 않는다. 하지만 어느 정도 기간 동안 그룹의 리더가 공석이 된다면, 누군가가 나서서 그 역할을 맡아야 한다. 일반적으로 이미 그룹에 대해 열정적인, 적극적 참여자(ActiveParticipantPattern)가 좋은 선택이다. 그러나 언제나 최선은 역할을 맡겠다는 지원자이다.
  • 윤종하 . . . . 3 matches
          4. E-mail : yjh910817@nate.com
          1. 2010 새싹스터디: [http://zeropage.org/?mid=fresh&category=&search_target=title&search_keyword=2pm 2pm반]
         참 의외입니다. 어떻게 그렇게 특수한 분야에 초점을 맞출 생각을 했는지 궁금하네요. 이런 이벤트가 진행 중인 걸 알고 있나요. http://www.nextweapon.kr -- [이덕준] [[DateTime(2010-07-27T00:33:01)]]
  • 이영호/64bit컴퓨터와그에따른공부방향 . . . . 3 matches
         Assembly를 마음껏 다루도록 286AT를 창고에 꺼내서 마음껏 테스트를 하겠다.
         이러고 보니 현직 프로그래머들의 싸움이 되고 있군요. System 프로그래머와 일반 Application 프로그래머의 싸움. 한가지... 모두가 다 그런것은 아니겠지만, 전 Coder에 머무르고 싶지는 않습니다. 저 높은 수준까지는 아니더래도 Programmer로서 Guru정도의 위치에는 가고 싶군요. - [이영호]
          * Global Optimization 관점에서, 어느 부분은 생산성을 살리고 어느 부분은 퍼포먼스를 추구할까? 퍼포먼스를 추구하는 모듈에 대해서는, 어떻게 하면 추후 퍼포먼스 튜닝시 외부 모듈로의 영향력을 최소화할까? (InformationHiding)
  • 일반적인사용패턴 . . . . 3 matches
          * ["HelpOnFormatting"]
         해당 주제에 대해 새로운 위키 페이지를 열어보세요. Edit Text 하신 뒤 [[ "열고싶은주제" ]] 식으로 입력하시면 새 페이지가 열 수 있도록 붉은색의 링크가 생깁니다. 해당 링크를 클릭하신 뒤, 새로 열린 페이지에 Create This Page를 클릭하시고 글을 입력하시면, 그 페이지는 그 다음부터 새로운 위키 페이지가 됩니다. 또 다른 방법으로는, 상단의 'Go' 에 새 페이지 이름을 적어주세요. 'Go' 는 기존에 열린 페이지 이름을 입력하면 바로 가게 되고요. 그렇지 않은 경우는 새 페이지가 열리게 된답니다.
          * 오른쪽 상단의 아이콘들의 기능은 HelpOnNavigation 를 참조하세요.
  • 임인책/북마크 . . . . 3 matches
          * [http://feature.media.daum.net/economic/article0146.shtm 일 줄고 여가시간 늘었는데 성과급까지...]
          * [http://www.riverace.com/ Riverace Corporation]
          * [http://www.extension.harvard.edu/2002-03/programs/DistanceEd/courses/default.jsp Distance Education Program]
  • 임인택/Link . . . . 3 matches
         == Application ==
          * [http://www.itconversations.com/ ITConversations]
  • 임인택/코드 . . . . 3 matches
          ImmGetConversionStatus(himc, &dwConversion, &dwSentence);
          ImmSetConversionStatus(himc, IME_CMODE_NATIVE, dwSentence);
          ImmSetConversionStatus(himc, IME_CMODE_ALPHANUMERIC, dwSentence);
  • 전문가의명암 . . . . 3 matches
         NoSmok:AlfredNorthWhitehead''''''는 ''Civilization advances by extending the number of important operations which we can perform without thinking of them.''라는 명언을 남겼다.
         그 밝음 때문에 그림자가 생긴다. NoSmok:장점에서오는단점''''''인 셈이다. 어떤 작업을 하는 데 주의를 덜 기울이고 지력을 덜 씀으로 인해 전문가는 자기 작업에 대한 타자화가 불가능하다. NoSmok:TunnelVision''''''이고 NoSmok:YouSeeWhatYouWantToSee''''''인 것이다. 자신의 무한 루프 속에 빠져있게 된다. 자신의 작업을 다른 각도에서 보는 것이 어렵다 못해 거의 불가능하다. 고로 혁신적인 발전이 없고 어처구니 없는 실수(NoSmok:RidiculousSimplicity'''''')를 발견하지 못하기도 한다.
  • 정모/2011.3.28 . . . . 3 matches
          * [DesignPatterns/2011년스터디]
          * HolubOnPatterns 0장을 읽고 이야기를 나누었다.
          * 그렇다면 [DesignPatterns/2011년스터디]를 함께 해보는게 좋을 수도 있겠네요. - [변형진]
  • 정모/2011.4.11 . . . . 3 matches
          * [DesignPatterns/2011년스터디]
          * [HolubOnPatterns]를 읽으면서 스터디하고 DB 프로젝트를 통해 실습한다.
          * DesignPatterns에 대해 궁금하다면 ZeroWiki의 관련 페이지를 읽어보세요.
  • 정모/2012.7.25 . . . . 3 matches
          * Spring : SimpleWiki 작성. 게시물 Page Repositery 기능. Hibernate 사용하는 기능을 Page Repositery에 붙이려고 하는데 Hibernate가 어려워서 잘 될까 모르겠다. 이후에는 Spring의 security 기능을 이용해서 회원가입 기능을 붙일 예정. 위키 문법을 어느 정도까지 다루어야 할지 생각 중.
          * Creative Club - ZP의 외부 활동이란 어떤 것이 있을까. 강력한 의견을 가진 사람이 없는 것이 우선 문제. 누군가가 뭘 할 때 필요한 아이디어를 내 보려고 함. OpenSource(소프트웨어, 라이브러리, 게임 개발 툴), ACM 출전, 멘토링, 공모전 등이 가능. ACM은 출전하기는 쉬우나 결과를 내기 어렵다. 멘토링은 많이들 관심이 있을지 미지수. 공모전은 시기적으로 적절한지 의문.
  • 정모/2012.8.1 . . . . 3 matches
          * 17기 [김수경] 학우의 OMS - Project Estimation
          * 작은자바이야기 - Annotation
          * Creative Club - 공모전 지원 외부 사업, Zeropage를 어떻게 유명하게 만들 수 있는가. 위키 변경에 대해 논의함.
  • 제곱연산자 전달인자로 (Setting) . . . . 3 matches
          result1 = atoi(argv[1]);
          result2 = atoi(argv[2]);
          result = atoi(a);
  • 즐겨찾기 . . . . 3 matches
         [http://blogs.pragprog.com/cgi-bin/pragdave.cgi/Practices/Kata]
         Xper:CodeKata
         [http://groups.yahoo.com/group/testdrivendevelopment/message/11784 Well, that's gonna fail]
  • 코드레이스출동 . . . . 3 matches
          9 svnadmin create /var/svn/test-repo
          34 svn stat
          36 svn stat
  • 토이/숫자뒤집기/임영동 . . . . 3 matches
          public static void main(String[] args)
          int inputNumber=Integer.parseInt(JOptionPane.showInputDialog(null, "Input a number that you want to reverse."));
          public static int reverse(int number)
  • 파스칼삼각형/문보창 . . . . 3 matches
         void find_combination(int n, int c);
          find_combination(row, col);
         void find_combination(int n, int c)
  • 파스칼삼각형/송지원 . . . . 3 matches
         int combination(int, int);
          cout << combination(i, j) << " " ;
         int combination(int n, int r){
  • 프로그래머가알아야할97가지/ActWithPrudence . . . . 3 matches
         이 글은 [http://creativecommons.org/licenses/by/3.0/us/ Creative Commons Attribution 3] 라이센스로 작성되었습니다.
          하다 못해 이런 주석이라도 남긴다면야... see http://dak99.egloos.com/2329761 -- [이덕준] [[DateTime(2010-08-07T11:27:38)]]
  • 프로그래밍언어와학습 . . . . 3 matches
          * Language != Domain. 물론, Domain 에 적합한 Language 는 있더라도. 이 글이건 Talkback 이건.. 두개를 동일시 본다는 느낌이 들어서 좀 그렇군. (나도 가끔은 Java Language 와 Java Platform 을 똑같은 놈으로 보는 우를 범하긴 하군. -_-;)
         > 접근을 허용하지 않기 때문이다. JNI(java native i
         The fatal metaphor of progress, which means leaving things behind us, has utterly obscured the real idea of growth, which means leaving things inside us.
  • 프로그래밍잔치/정리 . . . . 3 matches
          * 자칫, Facilitator 가 주제를 이끌고 나가버리는 경향.
          -> Opening Question 이 있다면 어느정도 해결가능하리라 생각. Facilitator 가 답을 유도하지 않되, 너무 다른 길로 걸어가지 않도록 하는 기준이 될 수 있으리라 생각.
          * 중간에 진행중 간간히 리듬이 끊어짐. 또는, Facilitator 가 질문만 던지고 답을 받은뒤에 제대로 정리를 하지 못함. 그래서 단발성 질/답으로 끝나는 경우 발생.
  • 프로그래밍파티 . . . . 3 matches
          * 풀어볼 문제 - DesignFest Style. Design & Implementation
          * Requirement 에 따른 Analysis & Design & Implementation - 3시간
         see also http://www.designfest.org/Roles/Welcome.htm#Moderator
  • 피그말리온과 갈라테아 . . . . 3 matches
         http://zeropage.org/~ecmpat/tatter_blog/attach/0521/050521013206089445/577609.jpg
  • 학회간교류 . . . . 3 matches
          * InfoPath 사용
          * CMMI (Capability Maturity Model Integration)
  • .vimrc . . . . 2 matches
         set nocompatible
         " vim -b : edit binary using xxd-format!
  • 05학번만의C++Study/숙제제출1/윤정훈 . . . . 2 matches
          float Ftemp = 0;
          float Ctemp = 0;
  • 1thPCinCAUCSE . . . . 2 matches
         또한 모든 문제에 대해 출제자가 예상하는 해답이 있을 것이고, 올바르게 작동은 하지만 수행시간이 훨씬 더 걸리는(알고리즘의 컴플렉시티가 훨씬 높은) 답안이 있을 터인데, "일정시간" 내에 수행이 완료될 수 있다면 더 단순한 답안을 고를 수 있는 능력도 아주 중요할 것이다. 예컨대, 이번 대회의 예제 문제 B번(http://cs.kaist.ac.kr/~acmicpc/B_word.pdf ) 경우, (아마도) 출제자가 예상하는 답안의 실행 시간이나, 혹은 그렇지는 않지만(꽤 무식한 방법을 쓰지만) 올바르게 작동하는 답안의 실행 시간이나 모두 1초 이내이다. 후자의 방법을 생각해 내고, 프로그램 하는 데에는 보통 전산학과 학생이라면(그리고 그가 ["STL"], 특히 Permutation Generator를 다룰 수 있다면) 5분이면 떡을 치고도 남는다.
  • 2학기파이선스터디/서버&클라이언트접속프로그램 . . . . 2 matches
         def timeserver_calculation():
          daytime = timeserver_calculation()
  • 3N+1Problem/1002_2 . . . . 2 matches
          def createTable(self,i,j):
          #return max(self.createTable(i,j))
  • AKnight'sJourney/정진경 . . . . 2 matches
         char* GetPath(int k)
          printf("Scenario #%d:\n%s\n\n", i, GetPath(p*100+q));
  • APlusProject/CM . . . . 2 matches
         Upload:APP_ConfigurationManagementPlan_0406-0511.zip - 버전 1.0 이전의 문서
         Upload:APP_ConfigurationManagementPlan_0512.zip - 최종버전 다시 출력해야 될것 같다. ㅡ.ㅡ
  • AcceleratedC++/Chapter6/Code . . . . 2 matches
         = AcceleratedC++/Chapter6/Code =
         [AcceleratedC++]
  • Algorithm/DynamicProgramming . . . . 2 matches
         [http://mat.gsia.cmu.edu/classes/dynamic/node5.html#SECTION00050000000000000000]
         == Dijkstra's Shortest Path Algorithm ==
  • AntOnAChessboard/문보창 . . . . 2 matches
         #include <cmath>
         static int t;
  • AppletVSApplication/진영 . . . . 2 matches
          * "'''Application'''"은 main()함수를 포함하고 있어서 자기 스스로 실행이 되는 반면에
         ["JavaStudyInVacation/진행상황"]
  • ApplicationProgrammingInterface . . . . 2 matches
         {{|An application programming interface (API) is a set of definitions of the ways one piece of computer software communicates with another. It is a method of achieving abstraction, usually (but not necessarily) between lower-level and higher-level software.|}}
  • ArtificialIntelligenceClass . . . . 2 matches
         요새 궁리하는건, othello team 들끼리 OpenSpaceTechnology 로 토론을 하는 시간을 가지는 건 어떨까 하는 생각을 해본다. 다양한 주제들이 나올 수 있을것 같은데.. 작게는 책에서의 knowledge representation 부분을 어떻게 실제 코드로 구현할 것인가부터 시작해서, minimax 나 alpha-beta Cutoff 의 실제 구현 모습, 알고리즘을 좀 더 빠르고 쉬우면서 정확하게 구현하는 방법 (나라면 당연히 스크립트 언어로 먼저 Prototyping 해보기) 등. 이에 대해서 교수님까지 참여하셔서 실제 우리가 당면한 컨텍스트에서부터 시작해서 끌어올려주시면 어떨까 하는 상상을 해보곤 한다.
          * [http://www.cs.iastate.edu/~baojie/acad/teach/ai/hw3/2002-12-06_hw3sol.htm#1 7장일부]
  • BasicJAVA2005 . . . . 2 matches
         질문 !! 이클립스 쓰는데, run as에 이상한 JUnit Plug-in Test 이런거만 있는데, 어떻게 정상적으로 java application 나오게 하죠? -- 허아영
          - 그 파일에 public static void main(String[] args) 함수가 없어서 그런거 같은데... --선호
  • BasicJAVA2005/8주차 . . . . 2 matches
          - 자료를 주고 받아 보자 : DataInputStream, DataOutputStream
  • BirthdayCake . . . . 2 matches
         || 하기웅 || C++ || 1시간 30분 || [BirthdatCake/하기웅] ||
         || 김상섭 || C++ || ㅡㅜ || [BirthdatCake/김상섭] ||
  • BookShelf . . . . 2 matches
          1. SmalltalkBestPracticePatterns(제본)
         Generating Typed Dependency Parses from Phrase Structure Parses - 20070215
  • BuildingParser . . . . 2 matches
         [http://wiki.zeropage.org/pds/2006412115412/PL_PA1.doc 2006. 4. 11. Specification]
         Programming Language Processors in Java: Compilers and Interpreters by David Watt, Deryck Brown
  • Button/상욱 . . . . 2 matches
          public static void main(String[] args){
         ["JavaStudyInVacation/진행상황"]
  • C++Seminar03/SimpleCurriculum . . . . 2 matches
          * Recursion 과 Iteration 에 대한 학습과 이해. (DeleteMe '학습'을 먼저하는게 좋을것 같아요. 학습할 주제로는.. Factorial 이 좋을것 같습니다. - 임인택)
          * [AcceleratedC++]에 나와있는 예제들 실습해보기 & 이해하기
  • C++스터디_2005여름 . . . . 2 matches
         #include <math.h> -> #include <cmath>
  • CC2호 . . . . 2 matches
         [http://www.its.strath.ac.uk/courses/c/ University of Strathclyde Computer Centre]
  • COM/IUnknown . . . . 2 matches
         // c++ implementation
         // c implementation
  • CPPStudy_2005_1/STL성적처리_2_class . . . . 2 matches
         Compiler : VS.net - native cl
         [[NewWindow("http://www.zeropage.org/viewcvs/www/cgi/viewcvs.cgi/accelerated_cpp_stl_grade/?root=sapius", "source code")]]
  • CProgramming . . . . 2 matches
         [http://www.its.strath.ac.uk/courses/c/ University of Strathclyde Computer Centre]
  • Categorynations . . . . 2 matches
         CategoryCategory
  • Chapter I - Sample Code . . . . 2 matches
          === Compiler-Independent Data Types ===
          uCOS-II는 여타의 DOS Application 과 비슷하다. 다른말로는 uCOS-II의 코드는 main 함수에서부터 시작한다. uCOS-II는 멀티태스킹과 각 task 마다 고유의 스택을 할당하기 때문에, uCOS-II를 구동시키려면 이전 DOS의 상태를 저장시켜야하고, uCOS-II의 구동이 종료되면서 저장된 상태를 불러와 DOS수행을 계속하여야 한다. 도스의 상태를 저장하는 함수는 PC_DosSaveReturn()이고 저장된 DOS의 상태를 불러오는것은 PC_DOSReturn() 함수이다. PC.C 파일에는 ANSI C 함수인 setjmp()함수와 longjmp()함수를 서로 연관시켜서 도스의 상태를 저장시키고, 불러온다. 이 함수는 Borland C++ 컴파일러 라이브러리를 비롯한 여타의 컴파일러 라이브러리에서 제공한다.[[BR]]
  • CheckTheCheck/문보창 . . . . 2 matches
         inline void eatline() { while(cin.get() != '\n') continue; };
          eatline();
  • ChocolateChipCookies/허준수 . . . . 2 matches
         #include <cmath>
         [ChocolateChipCookies]
  • CodeRace/20060105 . . . . 2 matches
         "quato" -> quato
  • CodeRace/20060105/도현승한 . . . . 2 matches
          for(vector<string>::iterator iter = aVec.begin(); iter!=aVec.end(); iter++)
          for(vector<string>::iterator iter = aVec.begin(); iter!=aVec.end(); iter++)
  • CommonPermutation . . . . 2 matches
         === About [CommonPermutation] ===
          || 문보창 || C++ || 25분 || [CommonPermutation/문보창] ||
  • CommonPermutation/문보창 . . . . 2 matches
         // no10252 - Common Permutation
         [CommonPermutation] [문보창]
  • ComputerNetworkClass/Report2006/BuildingProxyServer . . . . 2 matches
         [http://www.naturesharmony.us/misc/WoW/WoWEmu_Help/wsaerrors.html WSA Error Code]
         버퍼에 저장된 문자열을 formatted 화 된 스트링, 수로 읽을 수 있다.
  • ConstructorParameterMethod . . . . 2 matches
          static Point* makeFromXnY(int x, int y)
          static Point* makeFromXnY(int x, int y)
  • Conversion . . . . 2 matches
         [SmalltalkBestPracticePatterns/Behavior] , [SmalltalkBestPracticePatterns]
  • Counting/문보창 . . . . 2 matches
         using BigMath::BigInteger;
         static BigInteger Tn[MAX_SIZE+1];
  • CppStudy_2002_2 . . . . 2 matches
         C++을 공부하는 모든 이들에게 Seminar:AcceleratedCPlusPlus 의 일독을 권합니다. --JuNe
          뭐 저도 공부 시작한 지 얼마 되지는 않았지만 조금이라도(Composing Mathods 정도) 리펙토링을 알고 행하는 게 나중에
  • CubicSpline/1002 . . . . 2 matches
          * NumericalAnalysisClass 에서의 Tri-Diagonal Matrix Problem 을 LU Decomposition 으로 해결하는 방법.
          * ["CubicSpline/1002/TriDiagonal.py"] - Tri-Diagonal Matrix 풀기 모듈
  • CuttingSticks/하기웅 . . . . 2 matches
         int calculate()
          cout << "The minimum cutting is "<<calculate()<<"."<<endl;
  • DataCommunicationSummaryProject/Chapter12 . . . . 2 matches
         = VSATs =
         ["DataCommunicationSummaryProject"]
  • Data전송 . . . . 2 matches
         == Explaination ==
         1. Get : 주소에 넣어서 보내는 방식 사용자의 data 가 표시
  • Debugging . . . . 2 matches
         || Set Next Statement || - || 다음 디버깅 지점을 지정. Run to Cursor에서는 이미 지난곳은 안되지만 여기서는 됨 ||
         || *Watch Window || 변수값이나 객체의 상태를 봄. 그 값을 변경시킬수도 있음 ||
  • DermubaTriangle/김상섭 . . . . 2 matches
         #include <math.h>
          cout.setf(ios::fixed, ios::floatfield);
  • DermubaTriangle/하기웅 . . . . 2 matches
         #include <cmath>
          cout.setf(ios::fixed, ios::floatfield);
  • DermubaTriangle/허준수 . . . . 2 matches
         #include <cmath>
          cout.setf(ios::fixed, ios::floatfield);
  • DesignPatternSmalltalkCompanion . . . . 2 matches
         약자만 모아서 DPSC라고 부름. zeropage에서 가장 많이 보유하고 있을 것이라 생각되어지는 DesignPattern 서적. (모 회원이 1650원이라는 헐값에 구입했다는 이유만으로. -_-;)
         다음과 같은 이유에서 DesignPatterns (이하 GoF)를 먼저보고 보거나 같이 보는 것을 추천한다.
  • DesignPatterns . . . . 2 matches
         see also [HowToStudyDesignPatterns], [DoWeHaveToStudyDesignPatterns]
  • DevCpp . . . . 2 matches
         설치법 - [DevCppInstallationGuide]
         You can get a more complete list of free compilers at http://www.bloodshed.net/compilers/ :) - [아무개]
  • DirectX2DEngine . . . . 2 matches
          * SDK는 이 주소로 받으세요 : [http://www.microsoft.com/downloads/info.aspx?na=90&p=&SrcDisplayLang=en&SrcCategoryId=&SrcFamilyId=1FD20DF1-DEC6-47D0-8BEF-10E266DFDAB8&u=http%3a%2f%2fdownload.microsoft.com%2fdownload%2f5%2ff%2fd%2f5fd259d5-b8a8-4781-b0ad-e93a9baebe70%2fdxsdk_jun2006.exe DOWNLOAD]
          * 앞으로의 계획 : Timer 및 Animation 클래스의 구현.
  • Doublet . . . . 2 matches
         출처: http://puzzle.jmath.net/math/essay/kiss.html
  • EightQueenProblem/임인택/java . . . . 2 matches
          catch(Exception e){}
          public static void main(String args[])
  • EightQueenProblem2Discussion . . . . 2 matches
         이미 알고리즘 수업 시간을 통해 생각해본 문제이기에 주저없이 백트래킹(BackTracking) 기법을 선택해서 슈도코드를 종이에 작성해보았고 그를 바탕으로 구현에 들어갔습니다.(''그냥 호기심에서 질문 하나. 알고리즘 수업에서 백트래킹을 배웠나요? 최근에는 대부분 AI쪽으로 끄집어 내서 가르치는 것이 추세입니다만... 교재가 무엇이었나요? --김창준 Foundations of Algorithms Using C++ Pseudocode, Second Edition 이었습니다. ISBN:0763706205 --이덕준'') 백트래킹은 BruteForce식 알고리즘으로 확장하기에 용이해서 수정엔 그리 많은 시간이 걸리지 않았습니다. 만일 EightQueenProblem에 대한 사전 지식이 없었다면 두번째 과제에서 무척 당황했을것 같습니다. 이번 기회에 코드의 적응도도 중요함을 새삼 확인했습니다. --이덕준
         어제 서점에서 ''Foundations of Algorithms Using C++ Pseudocode''를 봤습니다. 알고리즘 수업 시간에 백트래킹과 EightQueenProblem 문제를 교재를 통해 공부한 사람에게 이 활동은 소기의 효과가 거의 없겠더군요. 그럴 정도일줄은 정말 몰랐습니다. 대충 "이런 문제가 있다" 정도로만 언급되어 있을 주 알았는데... 어느 교재에도 구체적 "해답"이 나와있지 않을, ICPC(ACM의 세계 대학생 프로그래밍 경진대회) 문제 같은 것으로 할 걸 그랬나 봅니다. --김창준
  • ExtremeSlayer . . . . 2 matches
          * 메신저 : nuburizzang at hotmail dot com
          * Database
  • FileStructureClass . . . . 2 matches
         === Report Specification ===
         === examination ===
  • GDG . . . . 2 matches
          * GDG Pre-DevFest Hackathon 2013 에 참여하고, GDG DevFest Korea 2013의 HackFair 안드로이드 애플리케이션 공모전에 작품 출품.
          * Chapter Status Requirements 활동이 제로페이지의 활동과 겹치는 부분이 많다고 생각함. 이 부분에 대해서 제로페이지 위주로 활동을 할 것인지, GDG 활동을 할 것인지에 따라 필요 유무가 확실하게 갈릴 것으로 보임 - [이봉규]
  • Graphical Editor/Celfin . . . . 2 matches
         void CreateBitmap()
          CreateBitmap();
  • Hacking/20040930첫번째모임 . . . . 2 matches
          [http://fedora.redhat.com/ 페도라]
          cd, pwd, man, ls, cp, rm, mkdir, rmdir, mv, cat, more, less, grep, find, echo, uname, adduser, passwd, id, su
  • HanoiProblem/영동 . . . . 2 matches
         .data
          mov ax, @data
  • HanoiTowerTroublesAgain!/문보창 . . . . 2 matches
         #include <cmath>
         static int stick[MAX_SIZE+1];
  • HardcoreCppStudy/두번째숙제/ConstructorAndDestructor/김아영 . . . . 2 matches
          //private 자료 정의
          //private 자료 정의
  • HelloWorld/상욱 . . . . 2 matches
          public static void main(String[] args) {
         ["JavaStudyInVacation/진행상황"]
  • HelloWorld/영동 . . . . 2 matches
          public static void main(String args[])
         ["JavaStudyInVacation/진행상황"]
  • HelloWorld/진영 . . . . 2 matches
          public static void main(String[] args)
         ["JavaStudyInVacation/진행상황"]
  • HelpForBeginners . . . . 2 matches
         위키위키에 대하여 좀 더 배우고 싶으신 분은 Wiki:WhyWikiWorks 와 Wiki:WikiNature 를 읽어보시기 바라며, Wiki:WikiWikiWebFaq 와 Wiki:OneMinuteWiki 도 도움이 될 것 입니다.
         [[Navigation(HelpContents)]]
  • HelpOnActions . . . . 2 matches
          * `titleindex`: 페이지 목록을 텍스트로 보내거나 (Self:?action=titleindex) XML로 (Self:?action=titleindex&mimetype=text/xml'''''') 보내기; MeatBall:MetaWiki 를 사용할 목적으로 쓰임.
         [[Navigation(HelpContents)]]
  • HelpOnEditing . . . . 2 matches
          * HelpOnFormatting - 기본적인 텍스트 포매팅 문법
         [[Navigation(HelpOnEditing)]]
  • HelpOnProcessors . . . . 2 matches
         다음과 같이 코드 블럭 영역 최 상단에 {{{#!}}}로 시작하는 프로세서 이름을 써 넣으면, 예를 들어 {{{#!python}}}이라고 하면 그 코드블럭 영역은 {{{plugin/processor/python.php}}}에 정의된 processor_python()이라는 모니위키의 플러그인에 의해 처리되게 됩니다. {{{#!python}}}은 유닉스의 스크립트 해석기를 지정하는 이른바 ''bang path'' 지정자 형식과 같으며, 유닉스에서 사용하는 목적과 동일한 컨셉트로 작동됩니다. (즉, 스크립트의 최 상단에 지정된 스크립트 지정자에 의해 스크립트의 파일 나머지 부분이 해석되어 집니다.)
         [[Navigation(HelpOnEditing)]]
  • HelpOnTables . . . . 2 matches
         TableFormatting을 참고하세요
         [[Navigation(HelpOnEditing)]]
  • HowManyFibs?/문보창 . . . . 2 matches
         static BigInteger inA, inB;
         static BigInteger pib[481];
  • HowToEscapeFromMoniWiki . . . . 2 matches
         이 문서에서 기술한 내용은 ZeroPage에서 사용하던 MoniWiki에서 다른 위키 엔진으로 이주(migration)하기 위해 고민하고 연구하고 실제 적용하는 과정에서 정리한 것입니다.
         == Alternative Wiki Engines ==
  • HowToStudyXp . . . . 2 matches
          * The Timeless Way of Building : 패턴 운동을 일으킨 Christopher Alexander의 저작. On-site Customer, Piecemeal Growth, Communication 등의 아이디어가 여기서 왔다.
          *Michael Feathers
  • ImmediateDecodability/김회영 . . . . 2 matches
          cout<<"Set is not immediately decodable ";
          cout<<"Set is immediately decodable ";
  • InsideCPU . . . . 2 matches
         || 03h || OEM identification ||
         || 10h || Nums of FATs||
         이를 위해 각각의 어드레스 접근에 privilege level을 두었고 이를 각각의 Application에 적용시켰다. 보호모드의 경우 멀티태스킹을 지원하기 위한 방법이다. 이는 지속적이고 반복적으로 일어나는 Context Switching 을 하드웨어적인 방법으로 만들어 소프트웨어적인 방법보다 빠른 Context Switching을 통해 하드웨어의 효율성을 높였다. 보호모드를 위한 레지스터와 방법들..
  • IntentionRevealingSelector . . . . 2 matches
         먼저번 챕터랑 비슷한 이야기다. how가 아닌 what을 중심으로 메소드의 이름을 적자는 것이다.
         메소드 이름을 짓는 방법에 두가지 선택이 있다. 첫째는 그 메소드가 어떻게 일을 수행하는지에 대해 짓는것이고, 둘째는 그 메소드가 무엇을 하느냐에 대해 짓는것이다. 지금 당장 how로 지어진 코드가 있다면 what의 형태로 바꿔라. 큰 이득이 될 것이다.(코드 잘 읽기, 보다 유연)
  • IsThisIntegration?/하기웅 . . . . 2 matches
         #include <cmath>
          cout.setf(ios::fixed, ios::floatfield);
  • JAVAStudy_2002 . . . . 2 matches
         목표: JAVA를 이용, 다중 Chattiing 프로그램을 작성한다. [[BR]]
         현재 Java swing API중 버튼이나.. 텍스트 박스에 대한 것을 익혔습니다.(Application쪽..)[[BR]]
  • Java Study2003/첫번째과제/곽세환 . . . . 2 matches
         자바 애플리케이션(Application):
          public static void main(String args[]) {
  • Java/JDBC . . . . 2 matches
          public static void main(String[] args) throws SQLException, ClassNotFoundException {
         예전에 resin 에서 tomcat으로 바꾸면서 jdbc 설정하는거 몰라서 대박이었는데... -_-; - eternalbleu
  • Java/ReflectionForInnerClass . . . . 2 matches
          public static void main(String[] args) {
          } catch (Exception e) {
  • Java/SwingCookBook . . . . 2 matches
         frame.setLocation((d.width-frame.getWidth())/2, (d.height-frame.getHeight())/2);
         frame.setUndecorated(true);
  • Java/숫자와문자사이변환 . . . . 2 matches
          Float를 Integer로 바꾸기
          float f = 3.25;
          Integer.parseInt ( vector.elementAt ( 0 ).toString () );
  • JavaScript/2011년스터디 . . . . 2 matches
          * imperative and structured programming language
          * functional and declarative programming language
         CREATE [UNIQUE] INDEX index_name ON tbl_name (col_name[(length]),... )
  • JavaScript/2011년스터디/3월이전 . . . . 2 matches
          * try/throw/catch/finally 의 사용 -> finally는 모든 try, catch를 나와서 사용
  • JavaScript/2011년스터디/윤종하 . . . . 2 matches
          // Iterate through each of the items
          // item refers to a parent variable that has been successfully
  • JavaStudy2004/클래스 . . . . 2 matches
          private String sentence;
          public static void main(String args [])
  • JavaStudyInVacation . . . . 2 matches
          * ["JavaStudyInVacation/진행상황"]
          * ["JavaStudyInVacation/과제"]
  • JollyJumpers/남훈 . . . . 2 matches
          for atom in line:
          inted.append(int(atom))
  • JollyJumpers/문보창 . . . . 2 matches
         inline void eatline() { while(cin.get() != '\n') continue; };
          eatline();
  • JollyJumpers/서지혜 . . . . 2 matches
         #include <math.h>
         #include <math.h>
  • JollyJumpers/이승한 . . . . 2 matches
          static bool boolJolly[10]={1,1,1,1,1,1,1,1,1,1}; //처리 결과를 저장하는 배열 기본값은 모두 jolly 이다.
          static int line = 0;
  • JollyJumpers/임인택3 . . . . 2 matches
          io:format("Jolly~n");
          io:format("Not Jolly~n")
  • JollyJumpers/조현태 . . . . 2 matches
          static void Main(string[] args)
          if (nums[0] <= Math.Abs(nums[i] - nums[i + 1]))
  • KnightTour/재니 . . . . 2 matches
         private:
         // Knight.cpp: implementation of the CKnight class.
  • KnowledgeManagement . . . . 2 matches
          * Organizational
          * I : Information
  • LIB_3 . . . . 2 matches
         /* Create The Task
         void LIB_create_task (char *task_name,int priority,void (*task)(void),INT16U * Stack)
  • LIB_4 . . . . 2 matches
         #include "LIB_DATA.H"
          // Task Status
          INT8U Task_Status;
  • LionsCommentaryOnUnix . . . . 2 matches
         훌륭한 화가가 되기 위해선 훌륭한 그림을 직접 자신의 눈으로 보아야 하고(이걸 도록으로 보는 것과 실물을 육안으로 보는 것은 엄청난 경험의 차이다) 훌륭한 프로그래머가 되기 위해선 Wiki:ReadGreatPrograms 라고 한다. 나는 이에 전적으로 동감한다. 이런 의미에서 라이온의 이 책은 OS를 공부하는 사람에게 바이블(혹은 바로 그 다음)이 되어야 한다.
         에릭 레이먼드의 사전에 [http://watson-net.com/jargon/jargon.asp?w=Lions+Book Lions+Book] 라고 등재되어 있는 이 유서 깊은 책은 처음에는 불법복제판으로 나돌다가(책 표지에 한 명은 망보고 한 명은 불법 복제하는 그림이 있다) 드디어 정식 출간하게 되었다. 유닉스의 소스 코드와 함께 주석, 그리고 라이온의 "간단 명료 쌈박"한 커멘트가 함께 실려있다.
  • LispLanguage . . . . 2 matches
          * [http://dept-info.labri.fr/~strandh/Teaching/Programmation-Symbolique/Common/David-Lamkins/contents.html Successful Lisp:How to Understand and Use Common Lisp] - 책인듯(some 에 대한 설명 있음)
          (dotimes(j 9)(dotimes(i 9) (format t "~% ~s * ~s = ~s" (+ j 1) (+ i 1) (* (+ j 1) (+ i 1)))))
  • LogicCircuitClass/Exam2006_2 . . . . 2 matches
          a. Find the state diagram by Mealy machine.
          b. Find the state table.
  • MFC/RasterOperation . . . . 2 matches
          {{{~cpp CDC::SetROP2()}}} 라는 함수로 제공하며 RasterOPerationTo의 약자이다.
         = Explaination =
  • MFC/ScalingMode . . . . 2 matches
         = LogicalCoordinate To DeviceCoordinate =
  • MFCStudy_2002_1 . . . . 2 matches
         || 8/16(금) || 오목 구현 끝. 상속 이해. OOP(CRC), Simulation || . ||
         || 정훈 || [http://zp.cse.cau.ac.kr/~wizardhacker/data/WinOmok.exe WinOmok.exe] ||
  • MIT박사가한국의공대생들에게쓴편지 . . . . 2 matches
         특히 한국 중 고등학교에서 가르치는 수학의 수준이 미국의 그것보다 훨씬 높기 때문에 공대생들로서는 그 덕을 많이 보는 편이죠. 시험 성적으로 치자면 한국유학생들은 상당히 상위권에 속합니다. 물론 그 와중에 한국 유학생들 사이에서 족보를 교환하면서 까지 공부하는 친구들도 있습니다. 한번은 제가 미국인 학생에게 족보에 대한 의견을 슬쩍 떠본일이 있습니다. 그랬더니 정색을 하면서 자기가 얼마나 배우느냐가 중요하지 cheating 을 해서 성적을 잘 받으면 무얼하느냐고 해서 제가 무안해진 적이 있습니다. (물론 미국인이라고 해서 다 정직하게 시험을 보는 것은 물론 아닙니다.)
         이곳에 와서 한가지 더 놀란것은 미국사람들의 호기심 입니다. 새로운 것을 알고 싶어 하는 열정이 우리나라 사람의 몇배는 되어 보였습니다. 우리나라에서 금속활자, 물시계, 해시계 등을 발명해 놓고도 더 발전 시키지않고 있는 동안, 서양에서는 만유인력의 법칙을 발견하였고 이를 발전시켜 결국 오늘날의 과학기술로 바꾸어놓았습니다. 우리나라에서는 유치하다고 아무도 거들떠 보지 않았을 automaton (자동 인형 - 태엽 등의 힘으로 스스로 정해진 순서에 따라 움직임) 이 유럽에서는 이미 수백년 전에 유행하여 자동으로 연주되는 피아노, 날개짓하며 헤엄치는 백조, 글씨쓰는 인형등 갖가지 기발한 발명품이 쏟아져 나왔고 바로 이것으로 부터 발전하여 나온것이 자동으로 계산하는 기계, 즉 컴퓨터입니다.
  • Map/임영동 . . . . 2 matches
          vector< map<char, char> >::iterator it;
          for(string::iterator i=input.begin();i!=input.end();i++)
  • Map연습문제/임영동 . . . . 2 matches
          vector< map<char, char> >::iterator it;
          for(string::iterator i=input.begin();i!=input.end();i++)
  • ModelingSimulationClass/Exam2006_2 . . . . 2 matches
         4. 서비스 처리 rate가 시간당 10 고객이고, arrival rate는 두 곳의 소스에서 오는데, A소스에서는 시간당 5고객, B소스에서는 시간당 2,4,6 고객이 올 수 있다. 이 떄 각각의 사건에 대해 Wq를 구하라.
  • MoniWikiPlugins . . . . 2 matches
          * Attachment
          * DueDate
          * format: 프로세서를 액션으로 이용하기위한 인터페이스 액션 (모인모인도 이 방법을 쓴다)
  • Monocycle . . . . 2 matches
         각 테스트 케이스에 대해 먼저 아래 출력 예에 나와있는 식으로 테스트 케이스 번호를 출력한다. 자전거가 도착지점에 갈 수 있으면 아래에 나와있는 형식에 맞게 초 단위로 그 지점에 가는 데 걸리는 최소 시간을 출력한다. 그렇지 않으면 "destination not reachable"이라고 출력한다.
         destination not reachable
  • MultiplyingByRotation/곽세환 . . . . 2 matches
         #include <cmath>
         [MultiplyingByRotation]
  • MultiplyingByRotation/문보창 . . . . 2 matches
         // no550 - Multiplying by Rotation
         [MultiplyingByRotation] [문보창]
  • NSIS_Start . . . . 2 matches
          * PHP Template script 한글화
          * PHP Template Script 를 한글화를 초기계획을 잡았으나, 실효성을 못느껴서 계획중 제외.
  • NUnit . . . . 2 matches
          * http://nunit.org/ Download 에서 받아서 설치한다. MS Platform 답게 .msi 로 제공한다.
          * NUnit 은 pyunit과 junit 과 달리, .Net Frameworks 에 도입된 Source 내의 Meta Data 기록인 Attribute 으로 {{{~cpp TestFixture}}}를 구성하고 테스트 임을 만방에 알린다.
          * Attribute 을 이용함에 따라 경험되는 장점
          * Attribute 를 이용해서 다소 이해하기 어려웠던 부분
          * Attribute이 익숙하지 않은 상태라 Test 를 상속받은 후 SetUp과 TearDown 의 실행점이 명쾌하지 못했다. 즉, 학습 비용이 필요하다.
  • NextEvent . . . . 2 matches
          * Commentator 두 세 명이 더 필요합니다. 상민군, .. 그리고?
         http://alvin.jpl.nasa.gov/gat/ftp/study.txt
  • NumericalAnalysisClass/Exam2002_2 . . . . 2 matches
         3. 고정점 반복법(Fixed-point iteration)과 Newton 반복식의 1,2차 수렴성을 증명하시오.
          3) Affine transformation
  • NumericalAnalysisClass/Report2002_2 . . . . 2 matches
          data set x = [-1.0, -0.8, -0.6, -0.4, -0.2, 0, 0.2, 0.4, 0.6, 0.8, 1.0]
         (3) Compute and plot the piecewise cubic interpolate L3(x)
  • ObjectOrientedDatabaseManagementSystem . . . . 2 matches
         OODBMS[오오디비엠에스]는 객체로서의 모델링과 데이터 생성을 지원하는 DBMS이다. 여기에는 객체들의 클래스를 위한 지원의 일부 종류와, 클래스 특질의 상속, 그리고 서브클래스와 그 객체들에 의한 메쏘드 등을 포함한다. OODBMS의 구성요소가 무엇인지에 관해 광범위하게 합의를 이룬 표준안은 아직 없으며, OODBMS 제품들은 아직 초기에 머물러 있다고 여겨진다. 그 사이에 관계형 데이터베이스에 객체지향형 데이터베이스 개념이 부가된 ORDBMS 제품이 더욱 일반적으로 시장에 출시되었다. 객체지향형 데이터베이스 인터페이스 표준은 산업계의 그룹인 ODMG (Object Data Management Group)에 의해 개발되고 있다. OMG는 네트웍 내에서 시스템들간 객체지향형 데이터 중개 인터페이스를 표준화하였다.
         Malcolm Atkinson을 비롯한 여러 사람들이 그들의 영향력 있는 논문인 The Object-Oriented Database Manifesto에서, OODBMS에 대해 다음과 같이 정의하였다.
  • ObjectOrientedProgramming . . . . 2 matches
         2. Objects perform computation by making requests of each other through the passing of messages.
         5. The class is the repository for behabior associated with an object.
  • ObjectOrientedReengineeringPatterns . . . . 2 matches
         See Also Xper:ObjectOrientedReengineeringPatterns, Moa:ObjectOrientedReengineeringPatterns , StephaneDucasse
  • OeKaki . . . . 2 matches
         [[OeKaKi(signature)]]
         [[OeKaki(signature)]]
  • OpenCamp . . . . 2 matches
          * 주제: Hackathon
          * 주제: Programming Language and its Application(프로그래밍 언어와 그 응용)
  • OpenCamp/두번째 . . . . 2 matches
         [http://zeropage.org/files/attach/images/78/966/063/6f75db2a84c6346b9f8aaab3c2485bbf.png http://zeropage.org/files/attach/images/78/966/063/6f75db2a84c6346b9f8aaab3c2485bbf.png]
  • OurMajorLangIsCAndCPlusPlus/2006.1.12 . . . . 2 matches
         유사한것, 속도 향상 template - 조현태
         limits.h, float.h - 하기웅
  • OurMajorLangIsCAndCPlusPlus/print/이도현 . . . . 2 matches
          else if (arg[arg_index] == 'f') // float형 출력
          else if (arg[arg_index] == 'f') // float형 배열 출력
  • OurMajorLangIsCAndCPlusPlus/print/허준수 . . . . 2 matches
         #include <cmath>
          int num_underBar = atoi(&first[i]);
  • PC실관리/2013 . . . . 2 matches
          * Clonezilla가 Debian-based이며, alternative 버전으로 Ubuntu-based가 있습니다.
          * Matlab을 학과에서 구할 수 있을 것으로 보임.
  • PHP-방명록만들기 . . . . 2 matches
          mysql_query("CREATE DATABASE IF NOT EXISTS problem CHARACTER SET euckr",$connect);//$dbname = mysql_create_db("problem", $connnect);와 동일
          $mt = "create table IF NOT EXISTS Memo (";
          $mt = $mt."Timelog DATETIME NOT NULL)";
  • Parallels . . . . 2 matches
         <object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/gE1XQyT_IbA"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/gE1XQyT_IbA" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>
         요즘에는 이 프로그램이 [http://www.xprogramming.com/xpmag/whatisxp.htm#small eXtremeProgramming] 으로 완성된 제품으로 꽤나 알려졌나보다. ( [http://fribirdz.net/506 관련 블로그] )
  • PersonalHistory . . . . 2 matches
          * [SmallTalk]다 프로젝트. Feat. [톱아보다], 매주 금요일 10시 모임. [SmalltalkBestPracticePatterns]를 공부하면서 [SBPPSummary]페이지의 완성과, 자판기프로그램 제작이 목표.
  • PlayMacro . . . . 2 matches
         /!\ 1.0.8 or later
         CategoryMacro
  • PowerOfCryptography/이영호 . . . . 2 matches
         #include <math.h>
          buf = log10((double)atof(p_buf)/10); // 첫 두자리를 log취한다.
  • ProgrammingLanguageClass/2002 . . . . 2 matches
         === Report Specification ===
         === examination ===
  • ProgrammingLanguageClass/2006 . . . . 2 matches
         = Examination =
         [ProgrammingLanguageClass/2006/EndTermExamination]
  • ProgrammingPartyPhotos . . . . 2 matches
         ||http://zeropage.org/pds/20025200843/facilitator.jpg||
         ||저들은 뭐가 그리 즐거웠을까. Facilitator와 함께한 디스커션 세션||
  • ProgrammingPearls . . . . 2 matches
         || ["ProgrammingPearls/Column3"] || Data Structures Programs ||
         || ["ProgrammingPearls/Column5"] || A Small Matter Of Programming ||
  • ProgrammingPearls/Column5 . . . . 2 matches
         == A Small Matter of Programming ==
         === Automated Test ===
  • ProjectEazy/테스트문장 . . . . 2 matches
          --논문 [[HTML("[Parsing]Automatic generation of composite labels using POS tags for parsing Korean")]]에서
  • ProjectPrometheus/Iteration1 . . . . 2 matches
         === 1st Iteration - 10 Task Point 완료 ===
         ||||||Acceptance Test (["ProjectPrometheus/AT_BookSearch"]) ||
         ||||||To Do Later ||
  • ProjectPrometheus/Iteration7 . . . . 2 matches
         || Rating( Light View) 추가 || . || ○ ||
         |||||| AT 1 ||
         || 로그인 + 보기 + Rating(lightView)|| . || ○ ||
  • ProjectPrometheus/Iteration9 . . . . 2 matches
          -> AcceptanceTest Update
         Recommendation system
  • ProjectSemiPhotoshop/Journey . . . . 2 matches
          * 한일 : 1차 integration
          * 내용 : eXtreme Programming을 실전 경험에서 응용해 보는 것이 어떨가 싶다. : 이 문제에 관해서는 수요일에 파일 구조 시간에 만나서 이야기 하도록 하자. 내 기본 생각은 Xp Pratice 들 중 골라서 적용하기에 힘들어서 못할것으로 생각하는데, 뭐, 만나서 이야기 하면 타결점을 찾겠지. ExtremeBear 도 이 숙제 때문에 중단 상태인데 --["상민"]
  • ProjectVirush/ProcotolBetweenServerAndClient . . . . 2 matches
         || 지역 선택 || showmap 1(지역 번호) || showmap Server내용 참고 || 지역 구별자(숫자) || showData 지도에보여줄감염자수 정상인수 + 바이러스이름1 개수1 항체수1 + 바이러스이름2 개수2 항체수2 ... ||
         || 실험실 || experiment 바이러스이름 || experiment Server내용 참고 || 바이러스 투여 || 그래프 3개(현재 바이러스 수, 해당 항체수, 사람의 생명력) 그래프 당 점 7-8개 ex) experimentData 8 host8개 antibody8개 virus8개 ||
  • ProjectVirush/Prototype . . . . 2 matches
          WSADATA wsaData;
          if( WSAStartup(MAKEWORD(2,2), &wsaData) == -1 )
  • PythonXmlRpc . . . . 2 matches
          print "Dispatching: " , method, params
          server_method = getattr(self, method)
          raise AttributeError, "No XML-RPC procedure %s" % method
  • RAD . . . . 2 matches
         = RAD (rapid application development) =
         전통적인 소프트웨어 개발 방법(waterfall 모델)은 오랜 기간의 분석, 설계, 프로그래밍 그리고 테스트 과정을 되풀이한 후 최종 단계에서 비로소 사용자가 요구한 시스템을 완성할 수 있었다. 그러나 이와 같은 방법으로는 소프트웨어의 생명주기가 점차 짧아지는 등의 급변하는 프로그램 시장과 사용자의 요구를 수용하기가 매우 어렵다. 따라서 소프트웨어의 생산성을 향상시키면서 동시에 개발 기간과 비용을 단축시킬 수 있는 방법이 요구되었고, 이러한 연구의 결과로 RAD와 같은 개념이 등장하게 되었다.
  • RUR-PLE/Newspaper . . . . 2 matches
         repeat(climbUpOneStair,4)
         repeat(climbDownOneStair,4)
  • RabbitHunt/김태진 . . . . 2 matches
         == Status ==
          * 새벽 5시까지 삽질해서 만든 코드입니다. 웬만한 예외사항도 다 점검해봤는데 됩니다. 하지만 기울기가 소숫값이면 그걸 정수값으로 인식해버리던데, 그걸 아직 해결하지 못하고 있네요. 제 예상대로면 그게 해결되면 accept...일지도.. float로 a배열을 선언해도 안되는건가..? 될텐데;;
  • RandomQuoteMacro . . . . 2 matches
         CategoryMacro
         CategoryMacro
  • RandomWalk . . . . 2 matches
         === specfication ===
          * 격자의 가로, 세로의 크기를 입력받을때. 엄청나게 큰 크기를 입력하면 어떻게 할 것인가? 배열의 동적 할당을 이용해서 2차원배열을 어떻게 사용할까? (c/c++은 자바와 달리 2차원배열을 동적할당 할 수 없다. 따라서 각자가 pseudo (혹은 imitation) dynamic 2D array 를 디자인하여야 한다)
  • RandomWalk2/질문 . . . . 2 matches
         ''RandomWalk2 Requirement Modification 4 is now updated. Thank you for the questions.''
  • RecentChangesMacro . . . . 2 matches
          * timesago: for MoinMoin compatible
         CategoryMacro
  • Refactoring/RefactoringTools . . . . 2 matches
         === program Database ===
         === Integrated with Tools ===
  • ReverseAndAdd/1002 . . . . 2 matches
          * 옆의 형이 matlab 으로 풀고 나는 python 으로 풀기 시작. python 이 시간이 약간 덜 걸렸는데,
         이유는 reverse 처리 부분을 matlab 으로 빨리 프로그래밍 하기 좋지가 않다는 점. 나머지 코드는 둘이 거의 거의 비슷하게 나옴.
  • ReverseAndAdd/신재동 . . . . 2 matches
         ''all tests data will be computable with less than 1000 iterations (additions)''를 고려한다면 명시적인 회수 체크는 없어도 될 듯.
  • ReverseAndAdd/황재선 . . . . 2 matches
          def printRepeatNum(self, num):
          r.printRepeatNum(num)
  • Robbery/조현태 . . . . 2 matches
         #include <atltypes.h>
          cout << "Time step " << i + 1 << ": The robber has been at " << g_maxPoints[0][i].x + 1 << "," << g_maxPoints[0][i].y + 1 << "." << endl;
  • RoboCode/ing . . . . 2 matches
         http://zeropage.org/pub/upload/nilath.Nilath_1.0.jar
  • RonJeffries . . . . 2 matches
         This will sound trite but I believe it. Work hard, be thoughtful about what happens. Work with as many other people as you can, teaching them and learning from them and with them. Read everything, try new ideas in small experiments. Focus on getting concrete feedback on what you are doing every day -- do not go for weeks or months designing or building without feedback. And above all, focus on delivering real value to the people who pay you: deliver value they can understand, every day. -- Ron Jeffries
  • Ruby/2011년스터디/김수경 . . . . 2 matches
          * [http://nforge.zeropage.org/projects/0chat ZeroChat]
  • RubyLanguage/ExceptionHandling . . . . 2 matches
          * catch throw
          * 예외 발생시 throw를 이용해 예외를 발생시키고 catch에서 심볼을 이용하여 예외를 캐치한다.
  • RuminationOnC++ . . . . 2 matches
         Accelerated C++의 저자인 앤드류 쾨니그가 쓴 책이다. C++을 다년간 써온 저자의 프로그래밍 테크닉을 쉽게 이야기를 쓰듯 풀어나간 책이다. 책의 내용은 저널에 저자가 썼던 글에 살을 덧 붙이고 다듬어서 나온책이다. 약간 흥미를 위주로 쓴 측면이 있어서 재미있게 읽을 수 있다. (표지나 서문에서 느껴지는 책의 분위기는 프로그래머를 위한 C++ 동화책이다. ㅡ.ㅡ;;)
          * Surrogate Class
  • SVN 사용법 . . . . 2 matches
         == Update ==
         1. 작업 전에 반드시 Update 받는다!
  • SeparationOfConcerns . . . . 2 matches
         Information Hiding 을 의미. DavidParnas 가 처음 제시.
         See Also Xper:InformationHiding
  • Shoemaker's_Problem/곽병학 . . . . 2 matches
          bool operator() (const ps &s1, const ps &s2) {
          multimap<ps, int, opt>::iterator it;
  • SisterSites . . . . 2 matches
         === TODO Later ===
          * SisterSite Patch 디렉토리 하나 만들어서 해당 화일들 복사해두기.
  • SoftwareEngineeringClass . . . . 2 matches
         === examination ===
         ["1002"]: 분야가 너무 넓다. 하루 PPT 자료 나아가는 양이 거의 60-70장이 된다. -_-; SWEBOK 에서의 각 Chapter 별로 관련 Reference들 자료만 몇십권이 나오는 것만 봐도. 아마 SoftwareRequirement, SoftwareDesign, SoftwareConstruction, SoftwareConfigurationManagement, SoftwareQualityManagement, SoftwareProcessAssessment 부분중 앞의 3개/뒤의 3개 식으로 수업이 분과되어야 하지 않을까 하는 생각도 해본다. (그게 4학년 객체모델링 수업이려나;) [[BR]]
  • SoftwareEngineeringClass/Exam2002_1 . . . . 2 matches
          * Quality Assurance 와 V & V (verification & validation) 과의 관계에 대해 쓰시오.
  • SoftwareEngineeringClass/Exam2006_1 . . . . 2 matches
         3) S/W Test 와 Independent Verification & Validation 비교하라
  • SolidStateDisk . . . . 2 matches
         백업 메카니즘으로서 배터리나 일반적인 자기디스크를 내장하곤 한다. SDD 는 일반적인 HDD I/O interface 로 연결된다. 이로 인해서 얻을 수 있는 잇점은 적은시간에 빈번한 I/O 작업이 일어날 경우에, seek time 이나 rotational latency 가 없는 메모리로서, 자기디스크에 비해 월등한 성능을 나타낼 수 있다. 그에 덧붙여 구동부가 없는 구조로서 좀더 내구성이 뛰어나다고도 할 수 있겠다. 단점은, 특성상 대용량화가 어려우며 커다란 데이터의 요구량이 커질때. 즉 access time 보다 transfer time 이 더 요구될때 효율성이 안좋다.
  • Stack/임다찬 . . . . 2 matches
         void push(int data){
          array[index++]=data;
  • StringResources . . . . 2 matches
         /** StringResorces.java - Information strings, Component's label strings resources load
          * @date: 13/05/2002
  • StructuredProgramming . . . . 2 matches
         Edsger W. Dijkstra/Go To Statement Considered Harmful
         What led to "Notes on Structured Programming"
  • SubVersion/BerkeleyDBToFSFS . . . . 2 matches
         svnadmin create --fs-type=fsfs $nRepos
         chown www-data.svnadmin $cRepos -R
  • SubVersionPractice . . . . 2 matches
          == Update ==
         svn update MyProjectFolder
  • SummationOfFourPrimes/문보창 . . . . 2 matches
         #include <cmath>
         [SummationOfFourPrimes] [문보창]
  • SuperMarket/세연/재동 . . . . 2 matches
         private:
         4. getMyMoney() 함수를 public에서 private로 변경
  • SuperMarket/재니 . . . . 2 matches
         private:
         private:
  • SwitchAndCaseAsBadSmell . . . . 2 matches
         케이스문이 줄줄이 나오는 것이나 비슷한 구조가 반복되는 것이나 모두 "나쁜 냄새"(Moa:BadSmell )입니다. 조금이라도 나쁜 냄새가 나면 바로바로 냄새 제거를 해야 합니다. 예컨대, 반복되는 케이스문은 테이블 프로그래밍(Table/Data Driven Programming)으로 해결할 수 있습니다.
         see also Seminar:가위바위보 , Wiki:SwitchStatement
  • SystemEngineeringTeam . . . . 2 matches
         === What we do ===
          * gravatar.com
  • SystemPages . . . . 2 matches
          * MeatBall:MetaWiki - http://sunir.org/apps/meta.pl
         http://zeropage.org/backupDataBase
  • TCP/IP . . . . 2 matches
         개발자를 위해서 제공되는 API(Application Programming Interface)의 가장 대표적인 형태가 TCP/IP 이다.
         == TCP(Transmission Control Protocol)? UDP(User Datagram Protocol)? ==
  • TddWithWebPresentation . . . . 2 matches
         즉, 일종의 Template Method 의 형태로서 Testable 하기 편한 ViewPageAction 의 서브클래스를 만들었다. 어차피 중요한것은 해당 표현 부분이 잘 호출되느냐이므로, 이에 대해서는 서브클래스로서 텍스트를 비교했다.
         presenter 부분은 추후 내부적으로 Template 엔진을 사용하는 방향을 생각해 볼 수도 있을것 같다.
  • Technorati . . . . 2 matches
         = Technorati? =
         Upload:technorati_main_screen.JPG
  • Telephone . . . . 2 matches
         그 다음 소스를 수정하실 때마다 test.bat 화일을 실행하시고, 비교해보세요.
         '''test.bat'''
  • Temp/Commander . . . . 2 matches
         #format python
          self.intro = 'Welcome to Vending Machine Simulator!\n'\
  • Template분류 . . . . 2 matches
         새로운 페이지를 만들때, 레이아웃이 될수 있는 Template 들입니다.
         [[PageList("Template")]]
  • TheGrandDinner/하기웅 . . . . 2 matches
         bool matchingTable()
          if(matchingTable())
  • TheKnightsOfTheRoundTable/김상섭 . . . . 2 matches
         #include <math.h>
          cout.setf(ios::fixed, ios::floatfield);
  • TheKnightsOfTheRoundTable/하기웅 . . . . 2 matches
         #include <cmath>
          cout.setf(ios::fixed, ios::floatfield);
  • TheKnightsOfTheRoundTable/허준수 . . . . 2 matches
         #include <cmath>
          cout.setf(ios::fixed, ios::floatfield);
  • TheLagestSmallestBox/김상섭 . . . . 2 matches
         #include <math.h>
          cout.setf(ios::fixed, ios::floatfield);
  • TheLagestSmallestBox/하기웅 . . . . 2 matches
         #include <cmath>
          cout.setf(ios::fixed, ios::floatfield);
  • TheLargestSmallestBox/문보창 . . . . 2 matches
         #include <cmath>
         static double L, W;
  • TheLargestSmallestBox/허준수 . . . . 2 matches
         #include <cmath>
          cout.setf(ios::fixed, ios::floatfield);
  • ThePriestMathematician/김상섭 . . . . 2 matches
         #include <cmath>
          for(vector<int>::iterator j = test.begin(); j != test.end(); j++)
  • TheTrip/김상섭 . . . . 2 matches
          cout.setf(ios::fixed, ios::floatfield);
          num = int(accumulate(test.begin(),test.end(),0.0)/test.size()*1000);
  • TheTrip/문보창 . . . . 2 matches
         #include <cmath>
          costs[i] = atoi(money);
  • TheWarOfGenesis2R/일지 . . . . 2 matches
          * State 패턴 공부
          * State 패턴 적용.(맞나 몰라.--;)
  • TkinterProgramming . . . . 2 matches
         02. [TkinterProgramming/SimpleCalculator]
         03. [TkinterProgramming/Calculator2]
  • TugOfWar/남상협 . . . . 2 matches
          def calculateEachSum(self,numbers):
          self.calculateEachSum(numbers)
  • UserStoriesApplied . . . . 2 matches
         Mike Cohn's User Stories Applied shows how software teams can drive development through user stories, simple, clear, brief descriptions of functionality valuable to real users. It covers user role modeling, gathering stories, working with managers, trainers, salespeople, and other proxies, writing user stories for acceptance testing, and using stories to prioritize, set schedules, and estimate release costs.
  • VendingMachine/세연 . . . . 2 matches
         private:
          * 코드를 읽기 편한가. - 외부로 보이는 public 메소드의 이름에 대해 'how' 가 아닌 'what' 이 표현되어야 할겁니다. 클래스는 보통 '이용되어지는 모습' 으로 이용되므로, 어떤 알고리즘을 쓰느냐가 메소드로 표현되는게 아니라 '무엇을 할것인가' 가 표현되어야 겠죠.
  • VendingMachine/세연/재동 . . . . 2 matches
         private:
         4. showDrinkMenu() 함수를 private로 만듬
  • VisualStudio . . . . 2 matches
          * Category(카테고리) 드롭 다운 메뉴에서 Input(입력)을 선택합니다.
          * 그리고 라이브러리 경로를 이 라이브러리들의 위치에 추가해야 합니다. Additional library path(추가 라이브러리 경로)에 라이브러리 파일이 있는 폴더를 추가해 주세요.
  • VoiceChat . . . . 2 matches
         === Jet-VioceChat ===
          * 거원소프트에서 만들었다. [http://www.cowon.com/product/d_voice/software/jet-voice-chat/download.html 홈페이지], 가입할 필요가 없고. 한 사람이 채팅서버 역할을 하고 나머지 가 클라이언트가 된다. 음질도 5k, 32k 선택가능.
  • WeightsAndMeasures/문보창 . . . . 2 matches
         bool turtleGreater(const Turtle& A, const Turtle& B)
          sort(&t[1], &t[numT+1], turtleGreater);
  • WheresWaldorf/Celfin . . . . 2 matches
         void calculate()
          calculate();
  • WikiCategory . . . . 2 matches
         See CategoryCategory.
  • WikiClone . . . . 2 matches
         A software system that implements the features of the OriginalWiki.
  • Yggdrasil . . . . 2 matches
          NATEON: rimyd@freechal.com
          * ["Yggdrasil/가속된씨플플"]:AcceleratedC++을 공부해보자!
          * ["BusSimulation/영동"] <--솔직히 시뮬레이션이라고 부르기도 민망한 것[[BR]]
  • ZPBoard . . . . 2 matches
          * ["ZPBoard/AuthenticationBySession"] - Session 을 이용한 회원 인증
          * 다들 ["ZPBoard/AuthenticationBySession"] 를 참고하여 일기장까지 제작하도록...^^ 궁금한건 언제든지 질문을~ --["상규"]
  • ZeroPage . . . . 2 matches
          * team 'AttackOnKoala' HM : [강성현], [정진경], [정의정]
          * team 'AttackOnKoala' 32등 : [강성현], [정진경], [정의정]
          * 장려상(4등) : 안드로이드 컨트롤러 Application - [이원희]
          * 2002 1회 [http://www.natepda.com/popup/winner.htm SK 모바일 프로그램 경진대회 대상 수상] ([\"erunc0\"])
  • ZeroPage_200_OK/소스 . . . . 2 matches
          <!--float: left;-->
          <td>5,000 won</td><!-- table data cell -->
  • ZeroPagers . . . . 2 matches
         ZeroWiki 에 활동중인 ZeroPage 회원들의 개인 페이지 모음입니다. 기본 양식은 ["HomepageTemplate"] 입니다.
          * 이혜영 : ["cogitator"]
  • [Lovely]boy^_^/EnglishGrammer/QuestionsAndAuxiliaryVerbs . . . . 2 matches
          ex) What can I do?
          But do not use do/does/did if who/what/which is the subject of the sentence.
  • cogitator . . . . 2 matches
         zeropage passive attender
         기술개발이 아닌 아닌 information policy 를 공부하러 ICU로 왔음
  • crossedladder/곽병학 . . . . 2 matches
         #include <math.h>
         #include <cmath>
  • geniumin . . . . 2 matches
          * eat..
          * physical presentation in 3D Graphic
  • html5/VA . . . . 2 matches
          * duration - 미디어 데이터의 길이
          * playbackRate - 재생 속도(기본값 1.0)
  • html5/others-api . . . . 2 matches
         = microdata =
          * http://www.w3.org/TR/html5/microdata.html
  • html5/overview . . . . 2 matches
          * etc. MathML, SVG등 외부 마크업언어 HTML에 직접 삽입가능 (책 범위 밖)
          * aticle : 섹션의 한종류, 페이지에서 독립되어있는 부분 (ex. 블로그웹의 블로그 본문)
         * 그러자 apple, mozillar, opera 세 기업이 모여 WHATWG를 발족하고 HTML의 진화를 지향한다.(apple은 플래시를 제공하는 어도비와 관계가 좋지않아 HTML5를 적극적으로 추진한다는 소문이다)
  • html5/video&audio . . . . 2 matches
          * duration - 미디어 데이터의 길이
          * playbackRate - 재생 속도(기본값 1.0)
  • html5/web-storage . . . . 2 matches
          readonly attribute unsigned long length;
          setter creator void setItem(in DOMString key, in any value);
  • html5/문제점 . . . . 2 matches
          * 출처 : http://blog.creation.net/435
          2.Audio and Video Tag limitations:
  • jeppy . . . . 2 matches
          * email : jeppyzz at hanmail dot net
         == status ==
  • matlab . . . . 2 matches
         == Matlab 소소한 tip ==
         - Matlab 에서 생성한 class 의 객체배열을 만드는 방법
  • neocoin/Log . . . . 2 matches
          * FS - 10/16 m=4 replacement search, natural search(m=4,m'=4)
          * 2.21 JOC Conference 의 트렉 4 JXTA, JMF, JavaTV
          - JXTA는 과거 JXTA를 기고했던 마소 필자가 강의자(숭실대 대학원) 였는데, 거기에서 크게 발전한 것은 없다. JXTA의 구현 방향이 IPv6와 겹치는 부분이 많고, P2P의 서비스의 표준을 만들어 나가는 것에 많은 난관이 있다는 것이 느껴졌음. JMF는 강의자가 JMF의 초심자에 가까웠다. JMF가 계획 시행 초기의 당초 원대한 목표에 따르지 못했고, 미래 지향적인 프레임웍만을 남기고 현재 미미하다는 것에 중점, JavaTV가 일부를 차용하고, 그 일부가 무엇인지만을 알게되었음. JavaTV가 정수였다. 이 강연이 없었다면, 이날 하루를 후회했을 것이다. 현재 HDTV에서 JavaTV가 구현되었고, 올 7,8월 즈음에 skylife로 서비스 될 것으로 예상한다. 그리고 가장 궁금했던 "HDTV 상에서의 uplink는 어떻게 해결하는가"의 대답을 들어서 기뻤다.
          * 한:데이터 베이스 시스템 ( Database System Concept ) : 제거, 4학년 이수 과목이므로 다음기회에
  • pinple . . . . 2 matches
         ajax, [websoket], [wiki:html5/geolocation geolocation], [wiki:html5/canvas canvas], google map
  • stuck!! . . . . 2 matches
         설치법 - [DevCppInstallationGuide]
         [AcceleratedC++]
  • wiz네처음화면 . . . . 2 matches
          * [http://www.cbtkorea.or.kr/korean/pages/cbt-registration-k.html Registeration TOEFL]
  • zennith/SICP . . . . 2 matches
         "내가 컴퓨터 과학 분야에서 가장 중요하다고 생각하는 것은 바로 즐거움을 유지해간다는 것이다. 우리가 처음 시작했을 때는, 컴퓨팅은 대단한 즐거움이었다. 물론, 돈을 지불하는 고객들은 우리가 그들의 불만들을 심각하게 듣고있는 상황에서 언제나 칼자루를 쥔 쪽에 속한다. 우리는 우리가 성공적이고, 에러 없이 완벽하게 이 기계를 다루어야 한다는 책임감을 느끼게 되지만, 나는 그렇게 생각하지 않는다. 나는 우리에게 이 기계의 능력을 확장시키고, 이 기계가 나아가야 할 방향을 새롭게 지시하는, 그리고 우리의 공간에 즐거움을 유지시키는(keeping fun in the house) 그러한 책임이 있다고 생각한다. 나는 컴퓨터 과학 영역에서 즐거움의 감각을 잊지 않기를 희망한다. 특히, 나는 우리가 더이상 선교자가 되는 것을 바라지 않는다. 성경 판매원이 된 듯한 느낌은 이제 받지 말아라. 이미 세상에는 그런 사람들이 너무나도 많다. 당신이 컴퓨팅에 관해 아는 것들은 다른 사람들도 알게될 것이다. 더이상 컴퓨팅에 관한 성공의 열쇠가 오직 당신의 손에만 있다고 생각하지 말아라. 당신의 손에 있어야 할 것은, 내가 생각하기엔, 그리고 희망하는 것은 바로 지성(intelligence)이다. 당신이 처음 컴퓨터를 주도했을때보다 더욱 더 그것을 통찰할 수 있게 해주는 그 능력 말이다. 그것이 당신을 더욱 성공하게 해줄 것이다. (the ability to see the machine as more than when you were first led up to it, that you can make it more.)"
          DeleteMe [SICP] 가 Hierarchical Wiki 로 걸려버려서 원래 의도인 StructureAndInterpretationOfComputerPrograms 의 약자인 [SICP]에 대해서 링크가 걸리질 않음.
  • zennith/ls . . . . 2 matches
         void myStrCat(char * dest, const char * source) {
          myStrCat(argRedirectToDir, argv[i]);
  • zyint . . . . 2 matches
         http://cyworld.nate.com/zyint/
          || Accelerated C++ || . || . || ·····|| ||
  • 강규영 . . . . 2 matches
          * NoSmoke:jania at 노스모크
          * Xper:강규영 at Xper.org
  • 강석우 . . . . 2 matches
          * E-mail : superksw at empal.com
          * MSN : superksw at hotmail.com
  • 고슴도치의 사진 마을처음화면 . . . . 2 matches
         ▶E-mail : celfin_2002@hotmail.com(MSN), celfin@lycos.co.kr(nateon), celfin_2000@hanmail.net
         === Information ===
  • 공업수학2006 . . . . 2 matches
         Advanced Engineering Mathematics 9th ed
  • 구구단/aekae . . . . 2 matches
          8 timesRepeat: [
          9 timesRepeat: [Transcript show: a;show:'*';show:b;show:'='; show: a * b; cr. b := b + 1.].
  • 구구단/문원명 . . . . 2 matches
          8 timesRepeat:[[9 timesRepeat: [Transcript show:n*c.Transcript cr.c:=c+1.]].c := 1.n := n +1.].
  • 금고/문보창 . . . . 2 matches
         static int d[MAXN+1][MAXN+1];
         static int n, k;
  • 김동준/Project/Data_Structure_Overview . . . . 2 matches
         == Data Structure Overview ==
          * [김동준/Project/Data_Structure_Overview/Chapter1]
  • 김수경/JavaScript/InfiniteDataStructure . . . . 2 matches
         Implementing Infinite Data Structure in JavaScript.
          * {{{naturalSequence().filter(limit(n)).reduce(sum)}}}
  • 나를만든책장/서지혜 . . . . 2 matches
          * THE PRINCETON COMPANION TO Mathematics 1
  • 대학원준비06 . . . . 2 matches
          * [DataStructure]
          Upload:dataStructure.zip
  • 데블스캠프2002/날적이 . . . . 2 matches
         2. Scenario Driven - 앞의 CRC 세션때에는 일반적으로 Class 를 추출 -> Requirement 를 읽어나가면서 각 Class 별로 Responsibility 를 주욱 나열 -> 프로그램 작동시 Scenario 를 정리, Responsibility 를 추가. 의 과정을 거쳤다. 이번에는 아에 처음부터 Scenario 를 생각하며 각 Class 별 Responsibility 를 적어나갔다. Colloboration 이 필요한 곳에는 구체적 정보를 적어나가면서 각 Class 별 필요정보를 적었다. 그리하여 모든 Scenario 가 끝나면 디자인 세션을 끝내었다.
          * Scenario Driven 관계상 중간중간 실제 프로그램 구현시 어떻게 할것인가를 자주 언급되었다. 'What' 과 'How' 의 분리면에서는 두 사고과정이 왕복되는 점에서 효율성이 떨어진다고 생각한다.
  • 데블스캠프2005/Python . . . . 2 matches
         b = 2.5 float(64bit)
         float(5) 5.0
  • 데블스캠프2005/금요일/OneCard . . . . 2 matches
         #format python
          print 'you cannot handout that card'
  • 데블스캠프2006/CPPFileInput . . . . 2 matches
          float num;
          num = atof(temp.c_str());
  • 데블스캠프2006/월요일/함수/문제풀이/김대순 . . . . 2 matches
         bool team684(int member, int gun, int boat)
          return member+gun+boat;
  • 데블스캠프2006/월요일/함수/문제풀이/임다찬 . . . . 2 matches
         bool team684(int people,int gun,int boat){
          if((people+gun)*boat>=200)
  • 데블스캠프2009/월요일/연습문제/HTML-CSS/박준호 . . . . 2 matches
         float:left;
         float:left;
  • 데블스캠프2010/셋째날/후기 . . . . 2 matches
          * simulation을 통해서 나의 학습 방법을 관찰자가 객관적으로 얘기해주어서 나의 학습 성향에 대해서 알게 되었다. 그리고 팀으로 학습을 하면서 실제로 팀플할 때의 발생할 수 있는 문제점들을 미리 체험해 볼 수 있어서 좋았다. 선배님의 말씀을 통해서 많이 알게 된게 있는데 룰은 얼마든지 바꿀 수 있다는 것에 대해 많이 깨달은 것 같다. 사실 어떤 룰이 정해져 있으면 그 틀에서만 생각하고 활동 했기 때문에 이번 세미나를 통해서 많은 생각이 들었다. 앞으로도 많은 일을 하겠지만 그 때마다 오늘의 simulation을 생각해 보면서 생각의 폭을 넓히고 좀더 유동적이고 능동적으로 해야겠다. [박재홍]
  • 데블스캠프2010/일반리스트 . . . . 2 matches
         == qsort by template ==
          list<string>::iterator it;
  • 데블스캠프2011/셋째날/RUR-PLE/권순의 . . . . 2 matches
          repeat(turn_left,3)
          repeat(turn_left,3)
  • 데블스캠프2012/넷째날/묻지마Csharp . . . . 2 matches
         === Mission 2. Button Click & Date ===
         === Mission 4. Calculator ===
  • 데블스캠프2012/셋째날/코드 . . . . 2 matches
         var myIcon = new NIcon("http://zeropage.org/files/attach/images/78/771/061/f86846df5cbc9e39169b683228cd5f13.jpg",new NSize(30,
         = LLVM+Clang 맛 좀 봐라! && Blocks가 어떻게 여러분의 코딩을 도울 수 있을까? && 멀티코어 컴퓨팅의 핵심에는 Grand Central Dispatch가 =
  • 레밍즈프로젝트/프로토타입/마스크이미지 . . . . 2 matches
          BitMapDC.CreateCompatibleDC(this->getMemDC());
  • 마름모출력/김유정 . . . . 2 matches
          char pattern;
          scanf("%c",&pattern);
  • 마름모출력/조현태 . . . . 2 matches
          print pat,
          pat= str (raw_input('패턴을 입력해주세요>>'))
  • 만년달력/영동 . . . . 2 matches
          public static void main(String []args)
          String[] nameOfday={"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"};//각 요일의 이름
  • 맞춤교육 . . . . 2 matches
          - SeeAlso [http://ucc.media.daum.net/uccmix/news/foreign/others/200502/24/fnnews/v8451147.html?u_b1.valuecate=4&u_b1.svcid=02y&u_b1.objid1=16602&u_b1.targetcate=4&u_b1.targetkey1=17161&u_b1.targetkey2=845114 한국엔 인재가 없다]
  • 문자반대출력/남도연 . . . . 2 matches
         private:
         #include <math.h>
  • 반복문자열/김소현 . . . . 2 matches
         void repeat()
          repeat();
  • 반복문자열/김태훈zyint . . . . 2 matches
         void repeat_prt(char* string,int count)
          repeat_prt("CAUCSE LOVE.",5);
  • 벡터/김태훈 . . . . 2 matches
          for(vector<student>::iterator i = stre.begin(); i!=stre.end() ;i++)
          for(vector<student>::iterator i = stre.begin();!(i=stre.end());i++)
  • 보드카페 관리 프로그램/강석우 . . . . 2 matches
          catch(domain_error e)
          cout << e.what() << endl;
  • 비행기게임 . . . . 2 matches
          print 'static method', x, y
          spam = staticmethod(spam)
  • 상규 . . . . 2 matches
          * E-Mail : leesk82 at gmail dot com
          * [JavaStudyInVacation] (2003.1.20 ~ )
  • 상협/Diary/8월 . . . . 2 matches
         || ["3DGraphicsFoundation"] || 0%|| 아직 || 어뜨케.. -_-;;||
         || ["3DGraphicsFoundation"] || 3D MAX ASE 파일 OpenGL에서 읽기 || 2% || 흑... -_-;;||
  • 새싹C스터디2005 . . . . 2 matches
         단축계산(short-circuit evaluation)의 개념을 설명한 프로그램을 읽고 이 프로그램에서 4개의 printf()함수를 실행했을 때, i, j의 값이 왜 그렇게 나오는지를 설명하시오.
         [DevCppInstallationGuide] // 인스톨 가이드 입니다.
  • 새싹교실/2011/AmazingC . . . . 2 matches
          * 자료형의 종류엔 int, float, double, short, char등이 있다.
          * 연산자(operator)에 대해 배웁니다.
  • 새싹교실/2011/무전취식/레벨1 . . . . 2 matches
         변수타입(int,float, double, long) 변수이름,변수이름,변수이름;
         float => 실수
  • 새싹교실/2011/무전취식/레벨10 . . . . 2 matches
         // 만약 first seat이 다 찼을경우 질문 스캔
         // yes 라고하면 economy seat 랜덤으로 결정
  • 새싹교실/2012/강력반 . . . . 2 matches
         float - 4바이트의 실수
          * 설유환 - printf함수, scanf함수, if문, else if문, switch 제어문을 배웠다. 특히 double, int, float의 차이를 확실히 배울 수 있었다. 잘이해안갔던 #include<stdio.h>의 의미, return 0;의 의미도 알수 있었다. 다음시간엔 간단한 알고리즘을 이용한 게임을 만들것같다. 그리고 printf("숫자%lf",input);처럼 숫자를 이용해 소숫점 표현량을 제한하여 더 이쁘게 출력하는법도 배웠다.
  • 새싹교실/2012/열반 . . . . 2 matches
          * The if selection statement랑The if...else selection statement배웠는데 잘모르겟어요..[김민규]
  • 새싹교실/2013/록구록구/4회차 . . . . 2 matches
          (float)a/(float)b
  • 새싹교실/2013/케로로반/실습자료 . . . . 2 matches
         Social Executive of Computer Science and Engineering will hold a bar event. There are many pretty girls and handsome guys. It will be great day for you. Just come to the bar event and drink. There are many side dishes and beer. Please enjoy the event. but DO NOT drink too much, or FBI will come to catch you. Thank you.
  • 셸정렬(ShellSort) . . . . 2 matches
          * [http://www.youtube.com/watch?feature=player_embedded&v=CmPA7zE8mx0 셸정렬 예시 동영상]
  • 소수점자리 . . . . 2 matches
         ios_base::fmtflags initialState = cout.setf(ios_base::fixed, ios_base::floatfield);
  • 송지원 . . . . 2 matches
          * [데블스캠프2011/둘째날/Scratch]
          월요일 스크래치([데블스캠프2009/월요일/Scratch])를 주제로 세미나 진행.
  • 수학의정석/집합의연산/조현태 . . . . 2 matches
          int combination=bun_ja/bun_mo;
          for (register int i=0; i<combination; ++i)
  • 순수원서 . . . . 2 matches
         E-mail : choiwscj at intizen 점 com
         = [http://cyworld.nate.com/wonsercj] <- 글남겨잉 =
  • 실시간멀티플레이어게임프로젝트/첫주차소스2 . . . . 2 matches
         import random, math, time
          if math.sqrt( (i[0] - pos[0])**2 + (i[1] - pos[1])**2 ) < scanlimit:
  • 압축알고리즘/수진&재동 . . . . 2 matches
          int diff = atoi(&c);
          int diff = atoi(&c);
  • 압축알고리즘/슬이,진영 . . . . 2 matches
          int x = atoi(&c);
          int n = atoi(&input[i]);
  • 애자일과문서화 . . . . 2 matches
         라고 말한것을 듣고 기겁했다고 했다. 그러면서 (수업시간에 보는 문서화자료를 가리키며) 이런것 없이 어떻게 프로세스 개선을 하고 조직 성숙도 (Organization Maturity)를 높일 수가 있냐고 하는 것이다. 수업시간에 배우는 내용으로는 조직의 성숙도나 프로젝트 개선방향등을 측정하기 위해서는 수백 수천페이지가 되는 두툼한 문서가 필요할 것 같기도 한데(경영자적인 입장), 다른 면에서 보면 전혀 쓸모가 없어보인다. 과연 그런것이 꼭 있어야만 개선할수 있는가(개발자적 입장)?
  • 여섯색깔모자 . . . . 2 matches
          * Title : 생각이 솔솔 여섯 색깔 모자 ( Wiki:SixThinkingHats )
         See Also Wiki:SixThinkingHats
  • 위키QnA . . . . 2 matches
         Semi Project에서 인원이 3명 이상이라면 자동으로 Regular Project가 되어야 합니다. 이렇게 한 이유는 Regular Project라면 대문에서 더 다수가 접근할 것이라고 생각되며 eye catch의 시간을 더 줄여야 한다고 생각하기 때문에 이렇게 둔것입니다. 둘의 차이는 인원의 차이 외에 현재 아무것도 없습니다. 그냥 2명 이하라고 하는것 보다 Semi라는 이름이 멋있어서 붙여놨것만 --;; --상민
         Q: Bioinformatics에 관한 프로젝트를 진행하려고 합니다. 소개와 내용의 재정리를 위해서는 많은 이미지 파일들을 위키에 올려야 될지도 모르겠는데, 위키에서의 이미지 사용은 그렇게 적절하지 않은 것 같습니다. 어떤 방식으로 이를 해결할 수 있을까요?
  • 위키를새로시작하자 . . . . 2 matches
         '''OneWiki를 새로 시작해서 1년간 실험을 하였습니다. 허나, ZeroWiki 와 그리 다르지 않다는 경험을 얻었습니다. 그래서 OneWiki 와 ZeroWiki를 통합하였습니다. 통합된 페이지중 DuplicatedPage 는 아직 완전한 통합이 이루어 지지 않은 것이니, 해당 페이지를 고쳐주세요.'''
         저의 경험으로 볼 때, 단지 새로 시작하는 것이 "새로운 것"을 가져다 주지는 않습니다. 동시에 두개의 위키를 돌리든가 하고, 새 위키에는 새로움의 어포던스(예컨대 비쥬얼 등)를 제공하도록 합니다. 그리고 새 위키에는 대다수는 읽을 수 있고, 몇 명만 쓸 수 있게 합니다. 그리고 그들이 규칙을 만들어 나갑니다. 우선은 규칙에 대한 규칙(메타규칙)을 만듭니다. 예컨대 "전체 규칙 수는 9개를 넘지 않는다"든지... 그리고 가능하면 생성적인(generative) 환경을 만들려고 합니다 -- 야구선수가 공을 받는 방법을 미적분학으로 풀어내기보다, 공이 보이는 각도를 일정하게 유지하려고 한다든지 하는 휴리스틱적인 규칙으로 접근합니다. 필요없는 것은 제거하고 꼭 필요한 것만 남깁니다. 제거해보고 해보고, 붙여보고 해봅니다. 예를 들어, 현 위키에서 들여쓰기가 불가능하다면 어떤 세계가 펼쳐질까요?
  • 위키설명회2005/PPT준비 . . . . 2 matches
         리스트: 공백과 * 한개; 1., a., A., i., I. 숫자로 된 items; 1.#n start numbering at n; space alone indents.
         많은 사람들이 그냥 아무 생각없이 링크 달 수 있다는 편리함으로 SeeAlso의 사용에 유혹을 받지만 SeeAlso에 있는 링크는 [InformativeLink]여야 한다.
  • 음계연습하기 . . . . 2 matches
         에릭슨(Ericsson)의 전문성(expertise)연구가 이쪽 방면에 유명합니다(see also http://www.vocationalpsychology.com/expertise.htm 및 각종 인지심리학 서적). 바이올린 전문가들에 대해 막대한 추적조사를 해보았는데, 그들의 실력은 자신이 바이올린 연습(정확히 말하면 deliberate practice)에 투자한 시간과 거의 비례했습니다. 하지만 에릭슨은 여기에 전제를 답니다. 단순한 반복 연습은 아무 도움이 안된다고 강조합니다. 자기 자신을 관찰하는 것, 그리고 피드백을 통해 재조정하는 것이 중요합니다.
  • 이민석 . . . . 2 matches
          * 멀티플레이 서바이벌 게임(CAU Battle Arena)
          * 이창하 교수님 visualization 연구실에서 학부 연구생 (OpenGL)
  • 이승한/.vimrc . . . . 2 matches
         set path=.,./include,../include,../../include,../../../include,../../../../include,/usr/include
         "<F5> : tab new create , <F6> : tab move, <F7> : tab close
  • 이영호/잡다 . . . . 2 matches
          2005-07-22 10:57:00 사장님.. 너무 간단히 보시는 듯한. ㅡ0ㅡa 생각보다 많은 인원이 필요 할듯 한데요..ㅋㅋ MaTin
         (matin03)
         (comator)
  • 이태양 . . . . 2 matches
         [http://cbingoimage.naver.com/data2/bingo_32/imgbingo_38/akstnchemdgk/20220/akstnchemdgk_25_m.jpg]
         '''I'''nformatics
  • 임민수 . . . . 2 matches
          * E-Mail : lminsu84 at hotmail.com
          * MSN : lminsu84 at hotmail.com
  • 임인택/RealVNCPatcher . . . . 2 matches
         net stop tomcat5
         net start tomcat5
  • 임지혜 . . . . 2 matches
          * E-Mail : kh7jh at(@) hanmail dot(.) net
          * MSN : qupid7 at(@) hotmail dot(.) com
  • 자바와자료구조2006 . . . . 2 matches
         [http://phentermine-information.ze.cx/ phentermine information]
  • 장용운/템플릿 . . . . 2 matches
         template <typename T>
         template <typename U>
  • 정렬/변준원 . . . . 2 matches
          ifstream fin("UnsortedData.txt");
          ofstream fout("SoretedData.txt");
  • 정모 . . . . 2 matches
         ||||2023.01.25||[음호준]||||||||너 State가 뭔지 알아?||
         ||||2023.02.22||[신연진]||||||||LaTeX, 한 번 써보았습니다.||
         지난번 [정모]를 관찰하면서, 뭔가가 잘 안된다는 생각이 들어서 NeoCoin 군과 ProblemRestatement 를 약간 적용해보았다. 사람들마다 의견들은 다르겠지만, 참고해보기를.
  • 정모/2002.7.11 . . . . 2 matches
          * ["PatternOrientedSoftwareArchitecture"] - 패턴의 관점에서 보는 소프트웨어 구조
         ''DeleteMe later: 천천히 제로페이지 회원들을 위한 컴퓨터 공부 로드맵(roadmap)을 하나씩 만들어 가면 어떨까요? 갑을 공부하려면 이걸 먼저 보고, 그 다음 이런 프로젝트들을 한번 씩 해보고, 어떤 기사를 보고 등등. 각 과목에 대해서 만들어도 좋고, 특정 기술에 대해서 만들어도 좋겠습니다. 가능하면 선배들이 각자 자신이 공부한 경험을 토대로 "공동 작성"하면 참 좋겠죠. 다만 한시적인 기술일 경우 "축적"의 가치가 별로 없이 해당 로드맵이 일이년 만에 쓸모없어 질 수도 있겠죠. --JuNe''[[BR]]
  • 정모/2011.10.5 . . . . 2 matches
          * [DesignPatterns/2011년스터디]
          * 구글 I/O에서 I/O는 Innovation in the Open을 의미한다.
  • 정모/2011.3.7 . . . . 2 matches
          * [DesignPatterns/2011년스터디]
          * Redmine이 Ruby로 만들어져있다는건 첨 들었네요. 오오 새로운 지식~ 그런데 'Ruby 曰: "GUI 대세 나임 ㅋ"' 라고 쓰신 이유가 궁금해서 찾아보니 이런 동영상이 있네요. [http://www.youtube.com/watch?v=PoZ9bPQ13Dk Ruby GUI programming with Shoes]. 코드 보니까 직관적이고 좋네요 ㅋㅋㅋㅋ - [박성현]
  • 정모/2011.4.4 . . . . 2 matches
          * 도와줘요 ZeroPage에서 무언가 영감을 받았습니다. 다음 새싹 때 이를 활용하여 설명을 해야겠습니다. OMS를 보며 SE시간에 배웠던 waterfall, 애자일, TDD 등을 되집어보는 시간이 되어 좋았습니다. 그리고 팀플을 할 때 완벽하게 이뤄졌던 예로 창설을 들었었는데, 다시 생각해보니 아니라는 걸 깨달았어요. 한명은 새로운 방식으로 하는 걸 좋아해서 교수님이 언뜻 알려주신 C언어 비슷한 언어를 사용해 혼자 따로 하고, 한명은 놀고, 저랑 다른 팀원은 기존 방식인 그림 아이콘을 사용해서 작업했었습니다 ㄷㄷ 그리고, 기존 방식과 새로운 방식 중 잘 돌아가는 방식을 사용했던 기억이.. 완성도가 높았던 다른 교양 발표 팀플은 한 선배가 중심이 되서 PPT를 만들고, 나머지들은 자료와 사진을 모아서 드렸던 기억이.. 으으.. 제대로 된 팀플을 한 기억이 없네요 ㅠㅠ 코드레이스는 페어로 진행했는데, 자바는 이클립스가 없다고 해서, C언어를 선택했습니다. 도구에 의존하던 폐해가 이렇게..ㅠㅠ 진도가 느려서 망한줄 알았는데, 막판에 현이의 아이디어가 돋보였어요. 메인함수는 급할 때 모든 것을 포용해주나 봅니다 ㄷㄷㄷ 제가 잘 몰라서 파트너가 고생이 많았습니다. 미안ㅠㅠ [http://en.wikipedia.org/wiki/Professor_Layton 레이튼 교수]가 실제로 게임으로 있었군요!! 철자를 다 틀렸네, R이 아니었어 ㅠㅠ- [강소현]
          * 음, 이번에 강의실 대여 논의때 "내가 너무 돈을 밝히는 듯한 언행을 해 오진 않았는지"를 생각해볼 수 있었습니다. 답은 "YES"고요....... 자중해야겠습니다. TDD의 경우는, 제가 평소 뭔가를 만들 때(특히 OOPHP Application) 흔히 사용하던 방식이라(클래스를 만들고 밑에 작동 코드를 적은 다음 브라우저로 확인) 조금만 더 노력하면 다른 곳에서도 사용할 수 있을 것 같습니다. 페어 프로그래밍은...... 소현 누님. 결코 누님의 탓이 아닙니다....... <( ºДº)> - [황현]
  • 정모/2011.7.11 . . . . 2 matches
          * 7시부터 강남에서 진행되는 Design Pattern 세미나로 인해 정모는 6시까지 진행.
          * DP 세미나 참여 때문에 일찍 끝나서 뭔가 약간 아쉬웠습니다. 데블스캠프도 마치고 새로운 스터디/프로젝트도 시작되어서 사실 공유할 수 있는 것들이 많았을텐데 (저 같은 경우 DB2 Certi Program에 대해 좀 공유하고 싶었고..) 다음주를 기약 해야겠어요. 태진이의 OMS는 MacBook의 디스플레이가 원활했다면 keynote로 더 좋은 presentation이 될 수 있었을텐데 아쉬웠을 것 같아요. 본의 아니게 (주제가 Apple이다 보니) 선배님들이 많이 (농담조로) 디스했는데 발표는 좋았답니다. 역시 태진이는 기대치를 높여주는 친구에요. - [지원]
  • 정모/2011.8.8 . . . . 2 matches
          * [DesignPatterns/2011년스터디]
          * Plz update this line.
  • 정모/2012.2.24 . . . . 2 matches
          * 오랜만에 사회인 ZeroPager 두 분을 만나 즐거웠습니다! 치킨 감사합니다... 덕분에 ~~또~~ 폭식을 했습니다.....^_T 지원언니의 신입사원 연수 이야기 재미있었어요. 아직 취직을 하지 않았지만 가까운 미래에 취직을 해야할 상황이라 제겐 특히 더 와닿는 이야기가 아니었나 싶습니다. 승한선배의 GUI 세미나도 잘 들었습니다. 유행하는 것과 유행하지 않는 것에 대한 이야기가 가장 인상깊었어요. 작년에 [:DesignPatterns/2011년스터디 DP 스터디]를 시작하며 읽었던 FocusOnFundamentals 페이지가 생각납니다.
          * 정모 이야기는 아니지만 PC실 정비 도와주고 싶었는데 그 날 Google Hackathon 본 행사가 있는 날이라 참석을 못했습니다ㅠㅠ
  • 정모/2012.3.19 . . . . 2 matches
          - PE Format 구조 설명
          * floating server와 비슷한 아이디어인듯. 되게 재미있을거같은데 영어가 좀.. 아 자꾸 미련가네 - [서지혜]
  • 정모/2012.7.18 . . . . 2 matches
          * [김민재]학우의 DEP(Data Execute Prevention) : 실행 불가능한 메모리 영역에서 프로그램을 실행시키는 것 방지.
          * 자바 스터디 - Generic에 대해서 다루었는데, 평소에 써 본 일이 없었던 만큼 언어 차원에서 타입 제한등을 해 주는 것이 편했다. batch라는 개념에 대해 이야기를 들을 수 있어서 좋았다.
  • 정모/2012.8.29 . . . . 2 matches
          * 정모에서도 잠깐 이야기한 것처럼 ZeroPage에서 운영하는 서버 및 각종 장치와 도메인 네임, 이에 필요한 설정과 소프트웨어, 그리고 그와 관련한 이슈를 다루는 공간이 Trello에 있는 게 좋을 것 같습니다. 게시판이나 위키에 비해 ZeroPage 웹사이트가 비정상 동작할 때도 사용할 수 있고, 전체 상황이 한 눈에 파악되면서 카드 별로 상태 관리가 간편하며, 모바일(iOS, Android)에서 notification push를 받을 수 있기 때문에 실시간 커뮤니케이션과 이슈 추적 및 관리에 유리합니다.
          * 한 가지 방법은 [https://trello.com/board/4f772fd6de39daf31f04799f ZeroPage Board]의 List나 Label로 관리하는 방법이고, 또 한 가지 방법은 [https://trello.com/zeropage ZeroPage Organization]의 Board로 따로 관리하는 방법입니다. 후자를 선택할 경우 ZeroPage Board가 덜 복잡해지는 대신 따로 Member를 추가해야 한다는 단점이 있습니다. 의견주세요. - [변형진]
  • 정모/2012.8.8 . . . . 2 matches
          * 작은자바이야기 - Annotation
          * Creative Club -
  • 정우 . . . . 2 matches
         DeleteMe ZeroPagers 에 들어간다면, [홈페이지Template] 를 참고해서 자신의 페이지를 꾸며주세요. --NeoCoin
         DuplicatedPage
  • 조금더빠른형변환사용 . . . . 2 matches
         static void printf_localtime()
         static unsigned int get_clock()
  • 조영준/CodeRace/130506 . . . . 2 matches
          public static int Compare(pair x, pair y)
          static void Main(string[] args)
  • 졸업논문 . . . . 2 matches
         = What =
          * http://lambda-the-ultimate.org/node/794
  • 졸업논문/서론 . . . . 2 matches
         이제 많은 사람의 입에 오르내리는 웹2.0이라는 개념은 오라일리(O'Reilly)와 미디어라이브 인터내셔널(MediaLive International)에서 탄생했다.[1] 2000, 2001년 닷 컴 거품이 무너지면서 살아남은 기업들이 가진 특성을 모아 웹2.0이라고 하고, 이는 2004년 10월 웹 2.0 컨퍼런스를 통해 사람들에게 널리 알려졌다. 아직까지도 웹2.0은 어느 범위까지를 통칭하는 개념인지는 여전히 논의 중이지만, 대체로 다음과 같은 키워드를 이용해 설명할 수 있다. 플랫폼, 집단 지능, 데이터 중심, 경량 프로그래밍 모델, 멀티 디바이스 소프트웨어.
         이 가운데 경량 프로그래밍 모델을 적용한 웹 기술이 계속 발전해가고 있다. 웹2.0 사이트는 Adobe Flash/Flex, CSS, 의미를 지닌 XHTML markup과 Microformats의 사용, RSS/Atom를 사용한 데이터 수집, 정확하고 의미있는 URLs, 블로그 출판들 같은 전형적인 기술을 포함한다.[2]
  • 주요한/노트북선택... . . . . 2 matches
          * [http://www.caucse.net/DongmunBoard/view.php?table=board_alumni06&page=1&id=172&search_condition[subj]=&search_condition[period]=&search_condition[text]=&search_condition[category]= 글1]
          * [http://www.caucse.net/DongmunBoard/view.php?table=board_alumni06&page=1&id=180&search_condition[subj]=&search_condition[period]=&search_condition[text]=&search_condition[category]= 글2]
  • 중앙도서관 . . . . 2 matches
         지금 도서관의 온라인 시스템은 상당히 오래된 레거시 코드와 아키텍춰를 거의 그대로 사용하면서 프론트엔드만 웹(CGI)으로 옮긴 것으로 보인다. 만약 완전한 리스트럭춰링 작업을 한다면 얼마나 걸릴까? 나는 커스터머나 도메인 전문가(도서관 사서, 학생)를 포함한 6-8명의 정예 요원으로 약 5 개월의 기간이면 데이타 마이그레이션을 포함, 새로운 시스템으로 옮길 수 있다고 본다. 우리과에서 이 프로젝트를 하면 좋을텐데 하는 바램도 있다(하지만 학생의 사정상 힘들 것이다 -- 만약 풀타임으로 전념하지 못하면 기간은 훨씬 늘어날 것이다). 외국의 대학 -- 특히 실리콘벨리 부근 -- 에서는 SoftwareEngineeringClass에 근처 회사의 실제 커스터머를 데려와서 그 사람이 원하는 "진짜" 소프트웨어를 개발하는 실습을 시킨다. 실습 시간에 학부생과 대학원생이, 혹은 저학년과 고학년이 어울려서(대학원생이나 고학년이 어울리는 것이 아주 중요하다. see also NoSmok:SituatedLearning ) 일종의 프로토타입을 만드는 작업을 하면 좋을 것 같다. '''엄청나게''' 많은 것을 배우게 될 것이다. --JuNe
         ''will move to somewhere more appropriate''
  • 지도분류 . . . . 2 matches
         === Platform ===
         ||OperatingSystemClass ||
  • 진법바꾸기/허아영 . . . . 2 matches
          char match_Num[] = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L','M','N'};
          printf("%c", match_Num[temp[i]]);
  • 최대공약수/문보창 . . . . 2 matches
         import java.math.BigInteger;
          public static void main(String[] args)
  • 최소정수의합/임인택2 . . . . 2 matches
          (rnd, toRational (rnd*(rnd+1))/2)
         에서 rnd의 타입이 Integer로 되었는데 Integer는 다른 값으로 나눠지지 않았다(내가 방법을 모르고 있을수도 있겠지만). haskell wiki를 뒤져 toRational 이라는 함수를 찾았지만 출력되는 모양이 영 마음에 들지 않는다.
  • 튜터링/2011/어셈블리언어 . . . . 2 matches
         TITLE MASM Template (main.asm)
         .data
  • 파스칼삼각형/김수경 . . . . 2 matches
          print "E = " , element , " : Please input an Integer greater than 0"
          print "N = " , n , " : Please input an Integer greater than 0"
  • 파일 입출력_1 . . . . 2 matches
          float num;
          num = atof(temp.c_str());
  • 프로그래밍잔치/SmallTalk . . . . 2 matches
          category: 'HelloWorld'
          category: 'GuGuDan
  • 프로젝트 . . . . 2 matches
          * [SmallTalk]다 프로젝트. Feat. [톱아보다], 매주 금요일 10시 모임. [SmalltalkBestPracticePatterns]를 공부하면서 [SBPPSummary]페이지의 완성과, 자판기프로그램 제작이 목표.
  • 피보나치/김영록 . . . . 2 matches
         static int number_output;
          static int a=1,b=1,c=0,round_temp;
  • 피보나치/임인택 . . . . 2 matches
         #format python
         #using iteration w/o array (or anytype like array)
  • 피보나치/태훈 . . . . 2 matches
          indata = input('숫자를 입력해 보세요 -->> ')
          for i in range(indata):
  • 호너의법칙/김정현 . . . . 2 matches
          public static void main(String args[])
          System.out.print("n| data|");
  • 호너의법칙/남도연 . . . . 2 matches
          cout<<"| data| 3 | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 3 | \n";
          outputFILE<<"| data| 3 | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 3 | \n";
  • 호너의법칙/박영창 . . . . 2 matches
         Date: 2005 09 10
          // Recursion Termination Condition
  • 화이트헤드과정철학의이해 . . . . 2 matches
         비유의 아이디어로서 ["NumericalAnalysisClass"] 때 배운 Interpoliation 기법들이였다. 수치해석시간의 Interpolication 기법들은, 몇몇개의 Control Point들을 근거로 Control Point 를 지나가는 곡선의 방정식을 구하는 법이다. 처음 Control Point 들의 갯수가 적으면 그만큼 오차도 많지만, Control Point 들을 늘려가면서 점차 본래의 곡선의 모양새를 수렴해간다.
  • 02_C++세미나 . . . . 1 match
         블럭({로 시작하여 }로 끝나는것) 안에서 static 이라는 키워드 없이 정의된 변수는
  • 05학번만의C++Study/숙제제출4/조현태 . . . . 1 match
         private:
  • 2005/2학기프로젝트 . . . . 1 match
         || [DesignPatternStudy2005] || 01 [남상협] , 같이 하실분 환영 ||
  • 2005리눅스프로젝트<설치> . . . . 1 match
          *VMware-workstation-5 이란 가상 컴퓨터 프로그램입니다. 윈도우에서 VM으로 여러 윈도우를 설치 할수가 있습니다.(컴터사양이 딸리시는분은 느릴것입니다.)
  • 2006김창준선배창의세미나 . . . . 1 match
          * Universal Patterns - General Coceptual Framework : 주역(Reflective ,,), 음양 오행, 사상
  • 2007ToeflStudy . . . . 1 match
         3. 테스트는 voca_test_generator.xls 파일을 사용한다(필요하신분은 [김건영], 남진석에게 연락)
  • 2008리눅스스터디 . . . . 1 match
          * [http://zeropage.org/?mid=project&page=1&category=11025 제로페이지 홈페이지에 있는 리눅스 ppt들]
  • 2010JavaScript/역전재판 . . . . 1 match
         span.date { /*날짜와 장소 출력할 때의 속성*/
  • 2011년독서모임 . . . . 1 match
          * [강소현] - [http://www.yes24.com/24/Goods/3105115?Acode=101 엄마를 부탁해]<- [http://news.nate.com/view/20110416n04609?mid=n0507 요상한 비판기사ㅇㅁㅇㅋ]
  • 2학기자바스터디/첫번째모임 . . . . 1 match
          public static void main(String[] args) {
  • 2학기파이선스터디/ 튜플, 사전 . . . . 1 match
         9. D.update(b) : for k in b.keys(): D[k]=b[k] 즉, 사전 b의 아이템들을 D에 추가시킨다.
  • 3DAlca . . . . 1 match
         || 7.12 || ["3DGraphicsFoundation"]스터디 그룹에 참가 ||
  • 3DCube . . . . 1 match
         [IdeaPool/PrivateIdea]
  • 3N+1Problem/강소현 . . . . 1 match
         == Status ==
  • 3n+1Problem/김태진 . . . . 1 match
         == Status ==
  • 5인용C++스터디/떨림없이움직이는공 . . . . 1 match
         ||나휘동|| [http://zeropage.org/pub/upload/Leonardong_NonVibratingBall.zip] || 공이 올바르게 움직이지 않음. ||
  • 5인용C++스터디/멀티쓰레드 . . . . 1 match
         === 스레드 동기화 (Thread Synchronization) (2) ===
  • 5인용C++스터디/움직이는공 . . . . 1 match
         ||나휘동|| [http://zeropage.org/pub/upload/Leonardong_VibratingBall.zip] || 공이 올바르게 움직이지 않음. ||
  • ACE . . . . 1 match
         ADAPTIVE Communication Environment. 플랫폼 독립적인 네트워킹 프레임워크. [Java]가 VirtualMachine 을 사용하여 플랫폼 독립적인 프로그래밍을 가능하게 하는 것 처럼 플랫폼에 상관없이 안정적이면서도 고성능의 네트워크 프로그래밍을 할 수 있도록 도와주는 프레임워크이다.
  • ADO . . . . 1 match
         #Redirect ActiveXDataObjects
  • AI세미나 . . . . 1 match
         http://www.math.umn.edu/~wittman/faces/main.html - Neural Network를 사용하여 사람의 얼굴 인식.
  • AM/AboutMFC . . . . 1 match
         F12로 따라가는 것은 한계가 있습니다.(제가 F12 기능 자체를 몰랐기도 하지만, F12는 단순 검색에 의존하는 면이 강해서 검색 불가거나 Template을 도배한 7.0이후 부터 복수로 결과가 튀어 나올때가 많죠. ) 그래서 MFC프로그래밍을 할때 하나의 새로운 프로젝트를 열어 놓고 라이브러리 서치용으로 사용합니다. Include와 Library 디렉토리의 모든 MFC관련 자료를 통째로 복사해 소스와 헤더를 정리해 프로젝트에 넣어 버립니다. 그렇게 해놓으면 class 창에서 찾아가기 용이하게 바뀝니다. 모든 파일 전체 검색 역시 쉽게 할수 있습니다.
  • AOI . . . . 1 match
         '''I'''nformatics
  • API . . . . 1 match
         #Redirect ApplicationProgrammingInterface
  • ATL . . . . 1 match
         #redirect ActiveTemplateLibrary
  • AdvertiseZeropage . . . . 1 match
          - 제가 의미한 것은 '프로그래밍을 가르쳐주는곳. That's all.' 이었습니다. 제가 생각하는 ZeroPage는.. '같이 공부하면서 무언가를 얻을 수 있는곳' 아닌가요.? - [임인택]
  • AnEasyProblem/강성현 . . . . 1 match
         == Status ==
  • AnEasyProblem/권순의 . . . . 1 match
         #include <cmath>
  • AnEasyProblem/김태진 . . . . 1 match
         == Status ==
  • AnEasyProblem/정진경 . . . . 1 match
          * http://poj.org/problemstatus?problem_id=2453&language=1&orderby=clen - joojis는 112B, kesarr는 114B에요 ㅎㅎ -[김태진]
  • AndOnAChessBoard/허준수 . . . . 1 match
         #include <cmath>
  • AngularJS . . . . 1 match
          <li ng-repeat="todo in todos" class="done-{{todo.done}}">
  • Ant/BuildTemplateExample . . . . 1 match
         Ant Build 를 위한 기본 Template 예제. 적당히 해당 부분을 고쳐쓰면 된다.
  • AntOnAChessboard/김상섭 . . . . 1 match
         #include <math.h>
  • AntTask . . . . 1 match
         Ant Build 를 위한 기본 Template 예제. 적당히 해당 부분을 고쳐쓰면 된다.
  • AppletVSApplication/영동 . . . . 1 match
         ["JavaStudyInVacation/진행상황"]
  • AudioFormatSummary . . . . 1 match
         || Format Name || License || Contributor (Vendor) || 특징 ||
  • AwtVSSwing/영동 . . . . 1 match
         ["JavaStudyInVacation/진행상황"]
  • BNUI . . . . 1 match
         XML(Expat)->Object->Window->Control
  • BabelFishMacro . . . . 1 match
         CategoryMacro
  • Barracuda . . . . 1 match
         Presentation Frameworks로 Model 2형태의 Architecture 를 구현한다.
  • BasicJAVA2005/실습1/송수생 . . . . 1 match
          public static void main(String[] args) {
  • BasicJava2005/3주차 . . . . 1 match
         } catch(IOException e) {
  • Benghun/Diary . . . . 1 match
         table에 대한 query가 여러 곳에 분산되어 있었다. table이 변경되자 모든 코드를 살펴야 했었다. 이 문제를 해결하기 위해 테이블에 접근하는 클래스와 쿼리를 실행하는 클래스를 추가했다. Java 웹 애플리케이션 프레임웍 분석과 설계의 노하우, Applying UML and Patterns, 마소 2003/7 고전을 찾아서4 모듈화와 정보은닉의 상관관계가 도움을 줬다.
  • Bigtable/분석및설계 . . . . 1 match
          * 실시간 update 가능
  • BlogArchivesMacro . . . . 1 match
         CategoryMacro
  • BoaConstructor . . . . 1 match
         GUI 플밍은 다시금 느끼지만, RAD 툴 없으면 노가다가 너무 많다. -_-; 차라리 GUI 코드는 더럽게 놔두고 툴로만 다루고, 코드상에서는 가능한 한 GUI 부분 객체와는 interface 로만 대화하는 것이 좋겠다. 어디선가 본 것 같다. Code Generator 로 작성된 코드는 가능한한 건드리지 말라는..~ (Abstraction 이 제너레이팅 툴에서 이루어지기 때문일 것 같다.)
  • Boost . . . . 1 match
          * [http://boost.org/status/cs-win32.html 컴파일러 테스트] 페이지를 보면 알 수 있듯이 가장 많은 테스트를 통과하는 것은 gcc. VC++ 6 은 테스트도 안한다.
  • BoostLibrary . . . . 1 match
          * [http://boost.org/status/cs-win32.html 컴파일러 테스트] 페이지를 보면 알 수 있듯이 가장 많은 테스트를 통과하는 것은 gcc. VC++ 6 은 테스트도 안한다.
  • BridgePattern . . . . 1 match
         Describe BridgePattern here.
  • C 로배우는패턴의이해와활용 . . . . 1 match
          * 참 좋은 책 같다. 그냥 말로만 들으면 이해도 안가고 어렵게 느껴질 디자인 패턴을 적절하고 멋진 소스와 함께 보여줘서 한층 더 이해를 돕는다. 이책을 DesignPatternsJavaWorkBook 과 같이 보면 정말 괜찮은거 같다.
  • C++0x . . . . 1 match
          * Static_Assert
  • C++HowToProgram . . . . 1 match
         나는 당연코 이 책 대신에, 새시대 C++ 책이라 할만한 ["AcceleratedC++"]를 권하겠다. --JuNe
  • C++Seminar03 . . . . 1 match
          * ["AcceleratedC++"]의 커리큘럼을 따라가보는건 어떨까요? --["인수"]
  • C/Assembly . . . . 1 match
         -O# (# == number) Optimization Level
  • C99표준에추가된C언어의엄청좋은기능 . . . . 1 match
          The new variable-length array (VLA) feature is partially available. Simple VLAs will work. However, this is a pure coincidence; in fact, GNU C has its own variable-length array support. As a result, while simple code using variable-length arrays will work, a lot of code will run into the differences between the older GNU C support for VLAs and the C99 definition. Declare arrays whose length is a local variable, but don't try to go much further.
  • CCNA . . . . 1 match
          * UTP,cat 5 - 흔히 쓰는 랜선의 종류
  • CPPStudy . . . . 1 match
         || [AcceleratedC++] ||
  • Calendar성훈이코드 . . . . 1 match
          printf("Mon Tue Wed Thu Fri Sat Sun\n");
  • Calendar환희코드 . . . . 1 match
          printf("Sun Mon Tue Wed Thu Fri Sat\n");
  • ChartDirector . . . . 1 match
         Python 뿐만 아니라 다양한 언어들을 지원. Documentation 또한 잘 되어있고 사용도 간단.
  • ClassifyByAnagram/재동 . . . . 1 match
          def testCreationAnagram(self):
  • Cockburn'sUseCaseTemplate . . . . 1 match
         = Template =
  • ComputerGraphicsClass/Exam2004_2 . . . . 1 match
         === Basic Illumination Model ===
  • ComputerNetworkClass . . . . 1 match
         = examination =
  • ComputerNetworkClass/Exam2004_1 . . . . 1 match
         다음은 Distance Vector 와 Link State 의 비교이다. 각 부분을 적으시오.
  • ComputerNetworkClass/Exam2006_1 . . . . 1 match
          NET1 -> NET2(ATM) -> NET3
         3. distance vector, link state 차이점
  • ComputerNetworkClass/Report2006/BuildingWebServer . . . . 1 match
         * 제작 작성해본 결과 HTTP Application 의 기본적인 사항은 에코서버의 연장선에 있습니다. RFC1945 를 확인하면 아주 단순한 형태의 구현만으로도 충분히 간단한 웹 서버의 동작을 구현하는 것이 가능합니다. (물론 이는 웹 브라우저가 RFC1945 의 HTTP-message BNF 의 가장 단순한 형태를 지원한다는 가정하에서 입니다.) CGI, 로드밸런싱을 이용할 수 있을 정도의 구현이 아닌이상 이는 단순한 에코서버의 연장선과 크게 다르지 않습니다. (어쩌면 모든 네트웍 프로그램이 에코서버일지도 -_-;)
  • ConnectingTheDots . . . . 1 match
         BoardPresenter - Presenter. Game 과 BoardPanel 사이의 일종의 Mediator. Game 은
  • ContestScoreBoard . . . . 1 match
         각 입력은 심사 큐의 스냅샷으로 구성되는데, 여기에는 1번부터 9번까지의 문제를 푸는 1번부터 100번까지의 경시 대회 참가 팀으로부터 입력된 내용이 들어있다. 각 줄은 세 개의 수와 경시 대회 문제 시간 L형식의 글자 하나로 구성된다. L은 C, I, R, U 또는 E라는 값을 가질 수 있는데 이 글자들은 각각 Correct(정답), Incorrect(오답), clarification Request(확인 요청), Unjudged(미심사), Erroneous submission(제출 오류)을 의미한다. 마지막 세 개의 케이스는 점수에 영향을 미치지 않는다.
  • ConvertAppIntoApplet/영동 . . . . 1 match
          JOptionPane.INFORMATION_MESSAGE,
         ["JavaStudyInVacation/진행상황"]
  • ConvertAppIntoApplet/진영 . . . . 1 match
         ["JavaStudyInVacation/진행상황"]
  • ConverterMethod . . . . 1 match
         스몰토크의 String 클래스에 보면 asDate라는 메세지가 있다. 켄트벡이 경험한 정말 극단적인 경우에 하나의 객체마다 다른 형태로 변환시켜주는 Converter Method가 30개씩 있었다고 한다. 새로운 객체가 추가될때마다 저 30개의 메소드를 모두 추가해줘야만 했던 것이다.
  • CooperativeLinux . . . . 1 match
          http://nullnull.com/blog/attach/0719/040719222726396806/526719.gif
  • Counting/김상섭 . . . . 1 match
          for(vector<int>::iterator j = test.begin(); j != test.end(); j++)
  • Counting/하기웅 . . . . 1 match
         using BigMath::BigInteger;
  • CppStudy_2002_1/과제1 . . . . 1 match
          * 문제1번 : 여기서도 전역 변수를 많이 사용한거 같다. 이것은 피하는게 좋다. 여기서 함수가 호출한 갯수를 알아야 하는데 이때는 static 이라는 키워드를 사용하면 된다.
  • Cracking/ReverseEngineering/개발자/Software/ . . . . 1 match
         Jeffrey Richter의 Programming Applications for Microsoft Windows란 책을 추천한다. 현재 4th edition까지 나온 상태이다. 물론 한글판은 없다.
  • CryptKicker . . . . 1 match
         bjvg xsb hxsn xsb qymm xsb rqat xsb pnetfn
  • CryptKicker2 . . . . 1 match
         알려진 평문 공격법(known plain text attack)이라는 강력한 암호 분석 방법이 있다. 알려진 평문 공격법은 상대방이 암호화했다는 것을 알고 있는 구문이나 문장을 바탕으로 암호화된 텍스트를 관찰해서 인코딩 방법을 유추하는 방법이다.
  • CubicSpline/1002/CubicSpline.py . . . . 1 match
         #format python
  • CubicSpline/1002/GraphPanel.py . . . . 1 match
         #format python
          self.lagrange = Lagrange(DATASET)
          self.piecewiseLagrange = PiecewiseLagrange(DATASET, 4)
          self.cubicSpline = Spline(DATASET)
          self.errorLagrange = ErrorLagrange(DATASET)
          self.errorPiecewiseLagrange = ErrorPiecewiseLagrange(DATASET, 4)
          self.errorCubicSpline = ErrorSpline(DATASET)
  • Curl . . . . 1 match
         Upload:curl_implementation.gif
  • CvsNt . . . . 1 match
         cvsgraph_path =F:webviewcvswindowsbinaries # 윈도우즈환경이고 잘 안될경우 절대경로로.
  • CxxTest . . . . 1 match
         from os.path import *
  • C언어시험 . . . . 1 match
         수업시간에 시험에 나온 Waterfall, Spiral Model등등 프로세스에 관한 측면과 소프트웨어 디자인에 대한 강의도 있었다고 하는데 제 느낌이지만 교수님께서 너무 앞서나가셔서 (리듬이 맞지 않았다고 하면 될 것 같네요) 학생들이 받아들이는데 문제가 있었던것 같습니다. (이러한 주제를 다룬것 자체에 대해서는 학생들이 그다지 크게 잘못된 생각을 가지고 있는것 같지는 않습니다) 제가 수업을 들었었다면 조금 더 구체적으로 적을수 있었을텐데 아쉽네요. 적적한 메타포의 활용이 아쉽네요. 저는 요새 후배들에게 무언가를 가르치려고 할때 메타포를 많이 활용하고자 한답니다. - [임인택] - 추가해서. 제가 사실을 잘못 알고 있으면 누가 말씀해 주시길 바랍니다.
  • DBMS . . . . 1 match
         #redirect DatabaseManagementSystem
  • DataSmog . . . . 1 match
         정보 무더기는 더 이상 지식이나 지혜가 아니다. DataSmog 로부터 자신을 보호하기 위해 스스로 여과장치가 되어야한다.
  • DataStructure/Foundation . . . . 1 match
         ["DataStructure"]
  • DatabaseClass/Exam2004_1 . . . . 1 match
         (with, derived relation, view 이용금지)
  • DebuggingApplication . . . . 1 match
         try-catch
  • DebuggingSeminar_2005/UndName . . . . 1 match
         Microsoft(R) Windows (R) 2000 Operating System
  • DecomposingMessage . . . . 1 match
          controlTerminate();
  • DependencyWalker . . . . 1 match
         해당 Application 의 사용 dll 을 알아볼 때 편리.
  • DermubaTriangle/문보창 . . . . 1 match
         #include <cmath>
         [DermubaTriangle]
  • DermubaTriangle/조현태 . . . . 1 match
         == [DermubaTriangle/조현태] ==
         #include <math.h>
         [DermubaTriangle]
  • DesignPatternsJavaWorkBook . . . . 1 match
         = DesignPatternsJavaWorkBook =
  • DesigningObjectOrientedSoftware . . . . 1 match
         Object 의 ClassResponsibiltyCollaboration 에 대한 개념이 잘 설명되어있는 책.
  • DevPartner . . . . 1 match
         솔루션탐색기에서 솔루션의 속성 페이지(ALT+ENTER)를 열면, "Debug with Profiling"이란 항목이 있습니다. 이 항목의 초기값이 none으로 되어 있기 때문에, None이 아닌 값(대부분 native)으로 맞추고 나서 해당 솔루션을 다시 빌드해야합니다. 링크시 "Compuware Linker Driver..."로 시작하는 메시지가 나오면 프로파일링이 가능하도록 실행파일이 만들어진다는 뜻입니다.
  • DiceRoller . . . . 1 match
         buffer부분에 char형태로 저장이 된다. atoi 함수로 정수로 컨버전하자.
  • Django스터디2006 . . . . 1 match
         || 지원 || enochbible(at마크)hotmail.com ||
  • DuplicatedPage . . . . 1 match
         DuplicatedPage 란 마크를 기준으로 상단은 ZeroWiki 내용, 하단은 OneWiki 내용 입니다. 적절히 통합해 주세요
  • EXIT MUSIC처음화면 . . . . 1 match
          * Intaek Lim, masterhand {{{at}}} gmail {{{dot}}} com
  • EclipsePlugin . . . . 1 match
         ==== Eclipse Platform Extensions ====
  • EcologicalBinPacking/황재선 . . . . 1 match
         #include <cmath>
  • EightQueenProblem . . . . 1 match
          * 공동 학습(collaborative/collective learning)을 유도하기 위해
  • EightQueenProblem/이덕준소스 . . . . 1 match
         #include <math.h>
  • EightQueenProblem/정수민 . . . . 1 match
         private:
  • EightQueenProblem/최태호소스 . . . . 1 match
          static int count=0;
  • EightQueenProblem2/이강성 . . . . 1 match
         #format python
  • EightQueenProblem2/이덕준소스 . . . . 1 match
         #include <math.h>
  • EmbeddedSystemClass . . . . 1 match
         apt-get update
  • Erlang . . . . 1 match
         [http://en.wikipedia.org/wiki/High_availability#Percentage_calculation Nine Nines(99.99999%)] 신화의 주역. 앤디 헌트도 단순히 버즈워드가 [http://blog.toolshed.com/2007/09/999999999-uptim.html 아니라고 인정].
  • Erlang/기본문법 . . . . 1 match
         ** exception error: no match of right hand side value 234
  • EuclidProblem/Leonardong . . . . 1 match
         #include <math.h>
  • EuclidProblem/곽세환 . . . . 1 match
         #include <cmath>
  • EuclidProblem/문보창 . . . . 1 match
         #include <cmath>
  • EventDrvienRealtimeSearchAgency . . . . 1 match
          * ObserverPattern 과 비슷한 개념이다.
  • ExploringWorld . . . . 1 match
         기존 서버를 탐험하던 여행자가 나라에 의무로 이계로 여행을 떠나서, 이 서버 세상을 관리하며 평화를 지키는 그들이 필요하다. [[BR]]--[http://ruliweb.intizen.com/data/preview/read.htm?num=224 다크 클라우드2] 세계관 응용
  • ExploringWorld/20040315-새출발 . . . . 1 match
          * Tomcat 설치 port 8080, How To Program Java(학교 교재)의 뒷부분에 JSP 부분을 참고하였다.
  • ExploringWorld/참고링크 . . . . 1 match
          http://jakarta.apache.org/tomcat/
  • ExtremeBear/OdeloProject . . . . 1 match
         === 첫번째 Iteration ===
  • ExtremeBear/Plan . . . . 1 match
         Facilitator : ["신재동"]
  • ExtremeBear/VideoShop/20021106 . . . . 1 match
          * Date Class 사용법을 알게 되었다.
  • FOURGODS/김태진 . . . . 1 match
         // Created by Jereneal Kim on 13. 8. 6..
  • FactorialFactors/문보창 . . . . 1 match
         static int fact[MAXN+1];
  • FactorialFactors/조현태 . . . . 1 match
         #include <math.h>
  • FileInputOutput . . . . 1 match
         catch (IOException e)
  • FindShortestPath . . . . 1 match
          이거 dijkstra's shortest path algorithm 아닌가요? - 임인택
  • Flex . . . . 1 match
          * 더욱 많은 자료 : http://www.adobe.com/kr/products/flex/productinfo/overview/flex_datasheet.html
  • FootNoteMacro . . . . 1 match
         CategoryMacro
  • FreeMind . . . . 1 match
         마이폴더넷 : [http://software.myfolder.net/Category/Story.html?sn=63003 링크]
  • FreechalAlbumSpider . . . . 1 match
         또하나 문제로는 이상하게 MySQLdb 모듈이 문제를 일으켰는데, update query 를 날릴때 에러발생을 하는 것이였다. 똑같은 쿼리문을 쉘에서 실행했을때는 잘 되었는데, MySQLdb 의 cursor 클래스를 이용, 쿼리를 날리면 실행이 안되는 것이였다. (DB 에 적용은 되는데, 에러가 발생한다.) 이 부분에 대해서는 일단 try-except 로 땜질처리를 했지만, 그리 기분좋진 않다. 수정이 필요하다.
  • GIMP . . . . 1 match
         GNU Image Manipulation Program. GNU 진영의 오픈소스 그래픽 편집기이다.
  • Genie/CppStudy . . . . 1 match
          * 교제 : 성안당에서 출간한 '''C++ 기초플러스 제4판 / Stephen Prata'''
  • Google/GoogleTalk . . . . 1 match
          print "match 1 |".$1."| 2 |".$2."| 3 |".$3."| 4 |".$4."|\n" if $debug;
  • GridComputing . . . . 1 match
          * [http://gridcafe.web.cern.ch/gridcafe/animations.html Flash를 이용한 쉬운 그리드 설명]
  • Hacking/20041028두번째모임 . . . . 1 match
          cd, pwd, man, ls, cp, rm, mkdir, rmdir, mv, cat, more, less, grep, find, echo, uname, adduser, passwd, id, su
  • HanoiTowerTroublesAgain!/조현태 . . . . 1 match
         #include <cmath>
  • HardcoreCppStudy/두번째숙제 . . . . 1 match
          * 클래스의 멤버변수는 모두 private로 선언해야 합니다.(public으로 선언하면 안 됩니다.)
  • HardcoreCppStudy/첫숙제/ValueVsReference/변준원 . . . . 1 match
         참조에 의한 호출(call by reference, call by address, call by location) 방법은 가인수의 값을 변경시키면 실인수의 값도 변경
  • HaskellExercises/Wikibook . . . . 1 match
         --이름 충돌로 replication 대신에 rep
  • HelpForDevelopers . . . . 1 match
         [[Navigation(HelpContents)]]
  • HelpOnHeadlines . . . . 1 match
         [[Navigation(HelpOnEditing)]]
  • HelpOnInstallation/MultipleUser . . . . 1 match
         $ zcat moniwiki-1.x.x.tgz |tar xvf -
  • HelpOnInstalling . . . . 1 match
         See ["MoniWiki/Installation"]
  • HelpOnNavigation . . . . 1 match
         [[Navigation(HelpContents)]]
  • HelpOnPageDeletion . . . . 1 match
         [[Navigation(HelpContents)]]
  • HelpOnRules . . . . 1 match
         [[Navigation(HelpOnEditing)]]
  • HelpOnSmileys . . . . 1 match
         [[Navigation(HelpOnEditing)]]
  • HelpTemplate . . . . 1 match
         == Template for Help Pages ==
  • HierarchicalWikiWiki . . . . 1 match
         HierarchicalWikiWiki''''''s can be created by using the InterWiki mechanism.
  • HowManyFibs?/하기웅 . . . . 1 match
         using BigMath::BigInteger;
  • HowManyPiecesOfLand?/하기웅 . . . . 1 match
         using BigMath::BigInteger;
  • HowManyZerosAndDigits/문보창 . . . . 1 match
         #include <cmath>
  • HowManyZerosAndDigits/허아영 . . . . 1 match
         #include <math.h>
  • HowToBlockEmpas . . . . 1 match
         # robots.txt for www.xxx.com - i hate robots [[BR]]
  • HowToStudyInGroups . . . . 1 match
         Anti-Patterns and Solutions:
  • IDE . . . . 1 match
         #redirect IntegratedDevelopmentEnvironment
  • ITConversationsDotCom . . . . 1 match
         http://www.itconversations.com/
  • IdeaPool . . . . 1 match
          * 개인 아이디어 ( [IdeaPool/PrivateIdea] ) - 공용 아이디어를 제외한 각종 아이디어들.
  • IdeaPool/PrivateIdea . . . . 1 match
         = PrivateIdea 란? =
  • InnoSetup . . . . 1 match
         Inno Setup is a free installer for Windows programs. First introduced in 1997, Inno Setup today rivals and even surpasses many commercial installers in feature set and stability.
  • IntegratedDevelopmentEnvironment . . . . 1 match
         IDE는 Integrated Development Environment를 말하며 한국어로는 통합 개발 환경을 의미한다. 보통 텍스트 편집기에 syntax highlite와 debugger, 빌드 도구, 컴파일러 등이 모두 통합되어 나오며 IDE하나만으로도 소스코드를 작성하는데 문제가 없다.[* 최근에는 이마저도 부족한 경우도 있다.]
  • IntelliJUIDesigner . . . . 1 match
         이를 classpath 에 추가해준다.
  • IntentionRevealingMessage . . . . 1 match
          bool operator==(const Object& other)
  • InterestingCartoon . . . . 1 match
         만화란 것이 Animation을 이야기 하는건가요? comics 를 이야기 하는건지요? --NeoCoin
  • IsbnMacro . . . . 1 match
         CategoryMacro
  • ItMagazine . . . . 1 match
          * CommunicationsOfAcm
  • ItNews . . . . 1 match
          * Lambda the Ultimate http://lambda.weblogs.com/ : 프로그래밍 언어 weblog
  • JAVAStudy_2002/진행상황 . . . . 1 match
         현재 Java swing API중 버튼이나.. 텍스트 박스에 대한 것을 익혔습니다.(Application쪽..)[[BR]]
  • Jakarta . . . . 1 match
         라이브러리, 툴, API 군과 Framework & Engine, Server Application 등을 제공.
  • Java Script/2011년스터디/박정근 . . . . 1 match
          } catch(e){
  • Java Study2003/첫번째과제/방선희 . . . . 1 match
          public static void main (String args[]) {
  • Java/문서/참조 . . . . 1 match
         해당 설계이념은 Java Design Pattern 에 잘 나와 있다.
  • JavaScript/2011년스터디/7월이전 . . . . 1 match
          * [박정근] : document.location을 이용해 관리자가 글을 읽으면 다른 사람이 쓴 글 지워지게 하기.
  • JavaScript/2011년스터디/박정근 . . . . 1 match
          } catch(e){
  • JavaStudy2002/세연-2주차 . . . . 1 match
          public static void main(String[] args){
  • JavaStudy2002/영동-2주차 . . . . 1 match
          public static void main(String[] args)
  • JavaStudyInVacation/과제 . . . . 1 match
         ["JavaStudyInVacation"]
  • JollyJumpers/1002 . . . . 1 match
         역시 옆의 matlab 으로 푸는 분과 시합. 그분도 5분, 나도 5분 걸림. 해당 페이지에서 빨리 푼 사람과 늦게 푼 사람의 차이시간이 커서 무엇때문일까
  • JollyJumpers/Celfin . . . . 1 match
         #include <cmath>
  • JollyJumpers/김태진 . . . . 1 match
         == Status ==
  • JollyJumpers/김회영 . . . . 1 match
         #include<math.h>
  • JumpJump/김태진 . . . . 1 match
         // Created by Jereneal Kim on 13. 7. 30..
  • KentBeck . . . . 1 match
         ExtremeProgramming의 세 명의 익스트리모 중 하나. CrcCard 창안. 알렉산더의 패턴 개념(see also DesignPatterns)을 컴퓨터 프로그램에 최초 적용한 사람 중 하나로 평가받고 있다.
  • Komodo . . . . 1 match
         http://activestate.com/Products/Komodo/
  • LC-Display/문보창 . . . . 1 match
          int n = atoi(str);
  • LightMoreLight/문보창 . . . . 1 match
         #include <cmath>
  • LinkedList . . . . 1 match
         See Also ["DataStructure/List"]
  • ListCtrl . . . . 1 match
          // TODO: Add your control notification handler code here
  • Lotto/송지원 . . . . 1 match
         == Status ==
  • MFC . . . . 1 match
         #Redirect MicrosoftFoundationClasses
  • MFC/AddIn . . . . 1 match
         참고) http://www.programmersheaven.com/zone3/cat826/
  • MFC/Control . . . . 1 match
         하나의 컨트롤은 클래스와 연계될 수도, 안될 수도 있다. 정적 컨트롤의 경우 클래스가 필요없을 것 같지만 CStatic 이라는 클래스를 통해서 모양을 변경하는 것이 가능하다. 마찬가지로 버튼 컨트롤들의 경우도 대부분 Dialog 객체를 통해서 처리가 된다. CButton 클래스의 경우에는 컨트롤을 관리하는데있어서 객체가 필요할 경우에 이용하게 된다. 이러한 모든 컨트롤들은 모두 윈도우의 일종이기 때문에 CWnd 에서 상속된 클래스를 이용한다.
  • MFC/Print . . . . 1 match
         || m_lpUserData || LPVOID 형식을 갖는다. 생성한 객체에 대한 포인터를 저장한다. 출력작업에 관한 추가 정보를 저장하는 객체를 생성할 수 있도록 한다. CPrintInfo 객체와 연계 시킬 수 있도록 한다. ||
  • MFCStudy2006/Server . . . . 1 match
          * [http://165.194.17.5/zero/data/zeropage/pds/MFC기초소켓.pdf MFC기초소켓]
  • MFCStudy_2001 . . . . 1 match
          * [http://zeropage.org/~neocoin/data/MFCStudy_2001/MFC_Macro설명.rar MFC_Macro설명]:MFC에서 MessageMap을 구현하는 메크로 설명
  • MIB . . . . 1 match
          * 기타로 지구를 구하기도 한다. 물론 대통령도 모르는 기구라서, 훈장 같은것이나 업적을 전혀 인정 받지 않는다. (이점이 드라마 Star Gate와 차별되는 점이다.)
  • MagicSquare/인수 . . . . 1 match
          public static void main(String args[]) {
  • Map연습문제/노수민 . . . . 1 match
          for(map::iterator i=vec.begin(); i< vec.end() ;i++)
  • Map연습문제/임민수 . . . . 1 match
          for(vector< map<char, char> >::iterator j = vector_map.begin(); j<vector_map.end(); j++)
  • MediaMacro . . . . 1 match
         CategoryMacro
  • MediatorPattern . . . . 1 match
         ["Gof/Mediator"]
  • MedusaCppStudy/재동 . . . . 1 match
          catch(domain_error)
  • MineSweeper/문보창 . . . . 1 match
          vector<int>::iterator pr = mine.begin();
  • ModelingSimulationClass_Exam2006_1 . . . . 1 match
         (b) (5 points) Expectation 구하기 - (계산이 굉장히 지저분함. 소수점 난무)
  • MoinMoinMailingLists . . . . 1 match
          Talk about MoinMoin development, bugs, new features, etc. (low-traffic)
  • MoinMoinRelease . . . . 1 match
         This describes how to create a release tarball for MoinMoin. It's of minor interest to anyone except J
  • MoniWiki/Release1.0 . . . . 1 match
         목표하던 것보다 더 많은 기능이 추가되었고, 이제는 [모인모인]에 비해서도 손색이 없을 정도가 되었습니다. [[Date(2003-06-12T06:19:09)]]
  • MySQL/PasswordFunctionInPython . . . . 1 match
         #format python
  • MythicalManMonth . . . . 1 match
         number of software projects that delivered production code.
  • NUnit/C#예제 . . . . 1 match
          1. 테스트 하고자 원하는 Method 에는 Test를, 속한 클래스에는 TestFixture Attribute를 붙인다.
          1. SetUp TearDown 기능 역시 해당 Attribute를 추가한다.
          FileStream fileStream = fileInfo.Create();
  • NeoZeropageWeb . . . . 1 match
         '''Trackback Center (main) + Tattertools 1.0 + Zerowiki + Trac'''
  • NoSmokMoinMoinVsMoinMoin . . . . 1 match
         || Navigation 기본형태 || 하단 검색창, 노스모크 스타일로 커스터마이징 가능 || 상단 검색창. 익스에서 단축키(Alt-Z, Alt-X, \) 지원. NoSmok:양손항해 를 위한 디자인 || . ||
         전 현재 배포판인 MoinMoin 1.0 을 커스터마이징해서 썼으면 합니다. ''(http://acup.wo.to 에 가보시면 MoinMoin 1.0 을 커스터마이징한 위키를 구경할 수 있습니다.)'' ["노스모크모인모인"]에도 현재 욕심나는 기능이 많긴 하지만 MoinMoin 1.0 의 AttachFile 기능이 참 유용하다고 생각하고 있습니다. 그 밖에 Seminar:YoriJori 프로젝트가 다소 정체되어 있다는 느낌이 들기도 한 것이 이유가 될수 있겠습니다. MoinMoin 1.0 설치 및 커스터마이징은 2 ManDay 정도만 투자하면 가능하리라 생각됩니다. --["이덕준"]
  • NumberBaseballGame . . . . 1 match
         === specfication ===
  • NumericalAnalysisClass/Exam2004_2 . . . . 1 match
         [http://dduk.idaizy.com/data/exam/%BC%F6%C4%A1%C7%D8%BC%AE2004%B3%E2%B1%E2%B8%BB%B0%ED%BB%E7.hwp 다운로드(한글2002)]
  • NumericalExpressionOnComputer . . . . 1 match
         === float-point expression ===
  • OekakiMacro . . . . 1 match
         dd -- aa [[Date(2009-05-16T03:34:10)]]
  • Omok/은지 . . . . 1 match
         #format cpp
  • Omok/재니 . . . . 1 match
         private:
  • One/박원석 . . . . 1 match
          static int c[20];
  • Ones/송지원 . . . . 1 match
         == Status ==
  • OperatingSystemClass/Exam2006_1 . . . . 1 match
         [OperatingSystemClass]
  • OperatingSystemClass/Exam2006_2 . . . . 1 match
         [OperatingSystemClass]
  • OriginalWiki . . . . 1 match
          * wiki:Wiki:PortlandPatternRepository
  • OurMajorLangIsCAndCPlusPlus/2005.12.29 . . . . 1 match
         math.h - 김민경
  • OurMajorLangIsCAndCPlusPlus/2006.2.06/하기웅 . . . . 1 match
         ostream& operator << (ostream& o, const newstring& ns)
  • OurMajorLangIsCAndCPlusPlus/XML . . . . 1 match
         XML & XPath
  • OurMajorLangIsCAndCPlusPlus/XML/김상섭허준수 . . . . 1 match
          static tree_pointer ptr = NULL;
  • OurMajorLangIsCAndCPlusPlus/errno.h . . . . 1 match
         = Volatile =
         || ||int EGRATUITOUS||이 에러 코드는 목적이 없다. ||
  • PC실관리/고스트 . . . . 1 match
          해당 계정 암호는 공지를 통해서 학우들에게 알리고, 관리자 계정인 Administrator 계정은 PC실 관리자들만 알고 잇어야할 것으로 보임.
  • PNGFileFormat/FilterAlgorithms . . . . 1 match
         [PNGFileFormat]
  • POLY/김태진 . . . . 1 match
         // Created by Jereneal Kim on 13. 8. 15..
  • PPProject/20041001FM . . . . 1 match
          cout<<strcat(buffer2,buffer1)<<endl;
  • PageHitsMacro . . . . 1 match
         CategoryMacro
  • Pairsumonious_Numbers/김태진 . . . . 1 match
         #include <math.h>
  • ParametricPolymorphism . . . . 1 match
         [AcceleratedC++/Chapter13], [http://kangcom.com/common/bookinfo/bookinfo.asp?sku=200505230005 임백준의 소프트웨어 산책/임배준 지음], WikiPedia:Christopher_Strachey
  • PascalTriangle . . . . 1 match
         == dynamic allocation -zennith ==
  • PatternsOfEnterpriseApplicationArchitecture . . . . 1 match
         http://martinfowler.com/eaaCatalog/
  • Plex . . . . 1 match
         특히 좋아하는 이유로는 State Machine 의 개념으로 텍스트를 파싱하고 가지고 놀 수 있다는 점이 있겠다. 예를 들어 HTML에서 span 태그에 대해 파싱한다고 할때 <span 시작 - span 내용 - </span> 끝이라면 그냥 이를 서술해버리면 된다는.~
  • PowerOfCryptography/문보창 . . . . 1 match
         #include <math.h>
  • PowerOfCryptography/조현태 . . . . 1 match
         private:
  • PrimaryArithmetic/Leonardong . . . . 1 match
         class TemplateTestCase(unittest.TestCase):
  • ProgrammingLanguageClass/2006/Report2 . . . . 1 match
         = Specification =
  • ProgrammingPearls/Column6 . . . . 1 match
          * 시스템 독립적인 코드 튜닝 : double형보다 시간이 절반 정도 걸리는 float를 썼다.
  • ProjectAR/Design . . . . 1 match
          CARMap에서 getState(좌표); 라는 메소드를 가지면 될꺼 같습니다. 이렇게 하면 주인공이나 몬스터나 맵이 어떠한 상태인지 알 수 있게 될 것이고 또한 이동 가능한지 등을 이 메소드 하나로 판별이 가능할 거라 생각합니다. -[상욱]
  • ProjectAR/Temp . . . . 1 match
          * CMyApplication(게임의 메인 루틴, 입력, 화면출력을 담당)
          - 정령은 무기의 능력치를 올려주기도(ATK+ , DEF+, HIT+등..) , 특수한 능력을 부가하기도 (독, 레지, ...) 한다.
  • ProjectCCNA/Chapter2 . . . . 1 match
          * UTP,cat 5 - 흔히 쓰는 랜선의 종류
  • ProjectGaia/계획설계 . . . . 1 match
          ==== 1. 레코드 입력 - creat_s() ====
  • ProjectGaia/참고사이트 . . . . 1 match
          *[http://www.cis.ohio-state.edu/~hakan/CIS671/Hashing.ppt Hash PPT]기본 개념 잡을려면.. 이걸보세엽.
  • ProjectLegoMindstorm . . . . 1 match
          * 일단 data가 모이는대로 수정하겠습니다.
  • ProjectPrometheus/Iteration8 . . . . 1 match
         || Admin AT || .|| . ||
         || ["ProjectPrometheus/CollaborativeFiltering"] 설명 작성 ||
  • ProjectPrometheus/개요 . . . . 1 match
         지금 도서관의 온라인 시스템은 상당히 오래된 레거시 코드와 아키텍춰를 거의 그대로 사용하면서 프론트엔드만 웹(CGI)으로 옮긴 것으로 보인다. 만약 완전한 리스트럭춰링 작업을 한다면 얼마나 걸릴까? 나는 커스터머나 도메인 전문가(도서관 사서, 학생)를 포함한 6-8명의 정예 요원으로 약 5 개월의 기간이면 데이타 마이그레이션을 포함, 새로운 시스템으로 옮길 수 있다고 본다. 우리과에서 이 프로젝트를 하면 좋을텐데 하는 바램도 있다(하지만 학생의 사정상 힘들 것이다 -- 만약 풀타임으로 전념하지 못하면 기간은 훨씬 늘어날 것이다). 외국의 대학 -- 특히 실리콘벨리 부근 -- 에서는 SoftwareEngineeringClass에 근처 회사의 실제 커스터머를 데려와서 그 사람이 원하는 "진짜" 소프트웨어를 개발하는 실습을 시킨다. 실습 시간에 학부생과 대학원생이, 혹은 저학년과 고학년이 어울려서(대학원생이나 고학년이 어울리는 것이 아주 중요하다. see also SituatedLearning ) 일종의 프로토타입을 만드는 작업을 하면 좋을 것 같다. 엄청나게 많은 것을 배우게 될 것이다.
  • ProjectSemiPhotoshop . . . . 1 match
          * 금 integration이나, 남은 기능들의 구현
  • ProjectVirush . . . . 1 match
         [ProjectVirush/ZoneData]
  • ProjectWMB . . . . 1 match
         = What is this page =
  • PyGame . . . . 1 match
         pygame.Surface 를 상속받은 새 클래스를 만들 수가 없다. 이상하게도 다음 코드가 Attribute 에러가 난다. 적절히 제약부분에 대해서 생각을 해야 할듯.
         def createBlackScreen(aSize):
          back.clearSurface() <-- 여기서 Attribute 에러
  • PyUnit . . . . 1 match
          if not hasattr(something, "blah"):
  • PythonIDE . . . . 1 match
          * ???? : ActiveState Python 에서 제공한느 기본 IDE
  • REAL_LIBOS . . . . 1 match
         Little Basic Operating System의 약자.
         3. POLLING DATA PARREL PORT [[BR]]
  • RISCOS . . . . 1 match
         plz Add RISC OS links. I feel curious that.
  • RTTI . . . . 1 match
         #Redirect RunTimeTypeInformation
  • RUR-PLE/Hudle . . . . 1 match
         repeat(goOneStepAndJump,4)
  • RandomPageMacro . . . . 1 match
         CategoryMacro
  • RandomWalk2/TestCase2 . . . . 1 match
         c:\RandomWalk2Test> alltest.bat test.exe
  • RealTimeOperatingSystemExam2006_2 . . . . 1 match
          c) OSMemCreate 관련 한문제. 함수 바디를 쓰라는건지, 함수호출부분을 작성하라는것인지는 정확히 기억안남.
  • RecentChanges . . . . 1 match
         |||| [[Icon(updated)]] ||북마크하신 이후 변경된 페이지를 의미합니다.||
  • RedThon . . . . 1 match
          {{|Many programmes lose sight of the fact that learning a particular system or language is a means of learning something else, not an goal in itself.
  • RedThon/HelloWorld과제 . . . . 1 match
          * PythonForStatement
  • Refactoring/RefactoringReuse,andReality . . . . 1 match
         == Implications Regarding Software Reuse and Technology Transfer ==
  • ReverseAndAdd/Celfin . . . . 1 match
         #include <cmath>
  • ReverseAndAdd/김회영 . . . . 1 match
         #include<math.h>
  • ReverseAndAdd/문보창 . . . . 1 match
         #include <cmath>
  • ReverseAndAdd/허아영 . . . . 1 match
         #include <math.h>
  • RoboCode . . . . 1 match
          * [http://www.imaso.co.kr/?doc=bbs/gnuboard_pdf.php&bo_table=article&page=1&wr_id=999&publishdate=20030301 팀플레이]
  • Ruby/2011년스터디 . . . . 1 match
          * C기반 언어와 다른 구문: else if->elsif, try-catch-finally -> begin-rescue-ensure
  • RubyLanguage/Container . . . . 1 match
          * Ruby는 iterator를 통해 컨테이너 상의 반복을 자연스럽게 표기할 수 있다.
  • SBPP . . . . 1 match
         #redirect SmalltalkBestPracticePatterns
  • SICP . . . . 1 match
         #redirect StructureAndInterpretationOfComputerPrograms
  • SPICE . . . . 1 match
         Software Process Improvement and Capability dEtermination.
  • STL/VectorCapacityAndReserve . . . . 1 match
         See Also ["Java/CapacityIsChangedByDataIO"]
  • STL/search . . . . 1 match
          * list 컨테이너와 같이 임의접근 iterator를 지원하지 않는 컨테이너에는 적용할 수 없다.
  • SVN/Server . . . . 1 match
          * 폴더를 하나 생성 - create repository here 로 지정. 그리고 conf 폴더의 passwd 지정
  • SeedBackers . . . . 1 match
          || [http://dduk.idaizy.com/data/paper/논문연구계획서1차.hwp 1차 연구 계획서] || 임인택 ||
  • Self-describingSequence . . . . 1 match
          || [shon] || matlab || 1차 : 1시간 10분, 2차 : 3시간 || [Self-describingSequence/shon] ||
  • SeminarHowToProgramItAfterwords . . . . 1 match
          * '테스트코드의 보폭을 조절하라. 상황에 따라 성큼성큼 보폭을 늘릴수도 있지만, 상황에 따라서는 보폭을 좁혀야 한다. 처음 TDD를 하는 사람은 보폭을 좁혀서 걸어가기가 오히려 더 힘들다' wiki:Wiki:DoTheSimplestThingThatCouldPossiblyWork. 이것이 훈련이 아직 덜된, TDD를 하는 사람에게는 얼마나 힘든지는 이번 RDP 짜면서 느꼈었는데. 열심히 훈련하겠습니다.
  • SgmlEntities . . . . 1 match
         To support international characters even on generic (US) keyboards, SgmlEntities know from HTML are a good way. These can also be used to escape the WikiMarkup characters.
  • SharedSourceProgram . . . . 1 match
         MS는 3년 전부터 `소스공유 이니셔티브'(Shared Source Initiative)라는 프로그램을 통해 협력업체들과 정부에 윈도 소스코드를 공개해왔다. 특히 최근 몇 년간 각 국 정부가 오픈 소스 진영으로 전환하는 것을 막기 위해, 정부와 특정 회사가 소스코드를 볼 수 있는 프로그램을 확대해왔다.
  • SingletonPattern . . . . 1 match
         SingletonPattern 은 남용할 경우 위험하다. 여전히 Global object 이기 때문이다. 즉, Singleton 을 이용하는 모든 모듈은 Singleton Object 와 관계를 맺고 있는 것이 된다.
  • Slurpys/강인수 . . . . 1 match
         function HasDorEAtFirst (const S: String): Boolean;
         function HasGAtLast (const S: String; APos: Integer): Boolean;
         implementation
         function HasDorEAtFirst (const S: String): Boolean;
         function HasGAtLast (const S: String; APos: Integer): Boolean;
          if HasDorEAtFirst (S) = False then
          if HasGAtLast (S,FPos) then
  • SmalltalkBestPracticePatterns/Behavior/Conversion . . . . 1 match
         ["SmalltalkBestPracticePatterns/Behavior"]
  • SmithNumbers/문보창 . . . . 1 match
         #include <cmath>
  • SnakeBite . . . . 1 match
         == Specification ==
  • SoJu . . . . 1 match
         [DevCppInstallationGuide] // 인스톨 가이드 입니다. <- 필수!!
  • SpikeSolution . . . . 1 match
         이러한 실험들을 XP에서는 Spike Solution이라고 한다. 다른 점이라면, 우리는 보통 실험 코드를 만든 뒤 실전 코드에 바로 붙일 것이다. 하지만 Spike Solution 의 경우는 '실험은 실험에서 끝난다' 에서 다를 수 있다. 보통 Spike Solution 에서 실험한 코드들을 메인소스에 바로 적용시키지 않는다. Spike Solution은 처음 계획시 estimate의 선을 잡기 위한 것으로 메인소스에 그대로 적용될 코드는 아닌 것이다. 지우고 다시 만들어 내도록 한다. 그러함으로써 한편으로는 학습효과를 가져오고, 실전 소스의 질을 향상시킬 수 있다.
  • SpiralArray/임인택 . . . . 1 match
          def testArrayCreation(self):
  • Squeak . . . . 1 match
          * Squeak - Object-Oriented Design with Multimedia Application
  • StacksOfFlapjacks/이동현 . . . . 1 match
         private:
  • Star . . . . 1 match
         [[https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=13&page=show_problem&problem=1100 원문보기]]
  • StatePattern . . . . 1 match
         #redirect Gof/State
  • StephaneDucasse . . . . 1 match
         OORP(ObjectOrientedReengineeringPatterns) 의 저자중 한명.
  • Steps/문보창 . . . . 1 match
         #include <cmath>
  • Steps/하기웅 . . . . 1 match
         #include <cmath>
  • StringCompression . . . . 1 match
         모든 경우를 다 해 보는 알고리즘은 O(n^3) 이 되네요. String Matching에서 좀 더 효율적인 알고리즘을 사용해보면 좀더 줄일수 있을텐데... -- 보창
  • SummationOfFourPrimes/김회영 . . . . 1 match
         [SummationOfFourPrimes]
  • SuperMarket/세연 . . . . 1 match
         private:
  • TAOCP . . . . 1 match
         [TAOCP/InformationStructures]
  • TestSuiteExamples . . . . 1 match
          public static Test suite() {
  • TheJavaMan/비행기게임 . . . . 1 match
          * Application
  • TheKnightsOfTheRoundTable/문보창 . . . . 1 match
         #include <cmath>
  • TheOthers . . . . 1 match
          * Specification (SVN의 UIProtoType 폴더 참고)
  • ThePragmaticProgrammer . . . . 1 match
          SeeAlso : PPR:ThePragmaticProgrammer
  • ThePriestMathematician/하기웅 . . . . 1 match
         using BigMath::BigInteger;
  • TheTrip/이승한 . . . . 1 match
          cout<<float(endSum[i])<<endl;
  • TheTrip/허아영 . . . . 1 match
         #include <math.h>
  • TheWarOfGenesis2R/Temp . . . . 1 match
         private:
  • TicTacToe/zennith . . . . 1 match
          public static void main(String args[]) {
  • TicTacToe/김홍선 . . . . 1 match
          public static void main(String args[]) {
  • TicTacToe/박진영,곽세환 . . . . 1 match
          public static void main(String args[]) {
  • TicTacToe/유주영 . . . . 1 match
          public static void main(String argv[]){
  • TicTacToe/임민수,하욱주 . . . . 1 match
          public static void main(String args[]) {
  • TicTacToe/조동영 . . . . 1 match
          public static void main(String[] args) {
  • TicTacToe/조재화,신소영 . . . . 1 match
          public static void main(String args[]) {
  • TicTacToe/후근,자겸 . . . . 1 match
          public static void main(String args[]) {
  • TuringMachine . . . . 1 match
         == Simulator ==
  • Ubiquitous . . . . 1 match
          유비쿼터스 컴퓨팅의 최종 목표는 '''‘고요한 기술’'''의 실현이다.('사라지는 컴퓨팅 계획(Disappearing Computing Initiative)')
  • UglyNumbers/문보창 . . . . 1 match
         #include <cmath>
  • UpgradeC++ . . . . 1 match
          * 교재 : [AcceleratedC++]
  • UseCase . . . . 1 match
         [http://searchsystemsmanagement.techtarget.com/sDefinition/0,,sid20_gci334062,00.html WhatIs Dictionary]
  • UseSTL . . . . 1 match
          * Documentation : Can't write document but try upload source.
  • VMWare . . . . 1 match
         = RELATED LINKS =
         [VMWare/OSImplementationTest]
  • VendingMachine/재니 . . . . 1 match
          ''클래스 수가 많아서 복잡해진건 아닌듯(모 VendingMachine 의 경우 Requirement 변경에 따라 클래스갯수가 10개 이상이 되기도 함; 클래스 수가 중요하다기보다도 최종 완료된 소스가 얼마나 명료해졌느냐가 복잡도를 결정하리라 생각). 단, 역할 분담할때 각 클래스별 역할이 명료한지 신경을 쓰는것이 좋겠다. CoinCounter 의 경우 VendingMachine 안에 멤버로 있어도 좋을듯. CRC 세션을 할때 클래스들이 각각 따로 존재하는 것 같지만, 실제론 그 클래스들이 서로를 포함하고 있기도 하거든. 또는 해당 기능을 구현하기 위해 다른 클래스들과 협동하기도 하고 (Collaboration. 실제 구현시엔 다른 클래스의 메소드들을 호출해서 구현한다던지 식임). 역할분담을 하고 난 다음 모의 시나리오를 만든뒤 코딩해나갔다면 어떠했을까 하는 생각도 해본다. 이 경우에는 UnitTest 를 작성하는게 좋겠지. UnitTest 작성 & 진행에 대해선 ["ScheduledWalk/석천"] 의 중반부분이랑 UnitTest 참조.--["1002"]''
  • VisualAssist . . . . 1 match
         [http://www.wholetomato.com]
  • WTL . . . . 1 match
         #Redirect WindowsTemplateLibrary
  • WebMapBrowser . . . . 1 match
         [IdeaPool/PrivateIdea]
  • Westside . . . . 1 match
         * e-mail,MSN : pyung85 at dreamwiz dot com *
  • Where's_Waldorf/곽병학_미완.. . . . . 1 match
          if(grid[row][col] == str[i].charAt(index)) { // 첫 단어가 맞으면
          /*System.out.println(str[i].charAt(index));
          if(grid[temp_r][temp_c] == str.charAt(idx)) {
          public static void main(String ar[]) {
  • WikiFormattingRules . . . . 1 match
         Wiki:TextFormattingRules
  • WikiName . . . . 1 match
         A WikiName is a word that uses capitalized words. WikiName''''''s automagically become hyperlinks to the WikiName's page.
  • WikiWiki . . . . 1 match
         What the hell is a WikiWiki? See the OriginalWiki.
  • XMLStudy_2002/Encoding . . . . 1 match
         electronic documents." MultiLingual Communications & Technology. Volume 9, Issue 3
  • XSLT . . . . 1 match
         #Redirect eXtensibleStylesheetLanguageTransformations
  • Yggdrasil/가속된씨플플/1장 . . . . 1 match
          * 인터페이스: 해당 타입의 객체에 사용 가능한 연산(operation)들의 집합
  • ZPBoard/APM/Install . . . . 1 match
         AddType application/x-httpd-php .php}}}
  • ZP도서관/2013 . . . . 1 match
          * 10월 27일자 보유 도서 현황 : http://zeropage.org/OtherData/93117
  • ZeroPage/회비 . . . . 1 match
          [http://zeropage.org/?mid=accounts&category=&search_target=title&search_keyword=2008 회계게시판]
  • ZeroPageServer/IRC . . . . 1 match
          * 외부 서비스 push notification (Trello라던가...)
  • ZeroPageServer/Log . . . . 1 match
          -- 해결했습니다. path 가 잘못설정되어 있었군요..-_-
  • ZeroPageServer/UpdateUpgrade . . . . 1 match
         apt-get update
  • ZeroPageServer/계정신청방법 . . . . 1 match
         [[include(틀:Deprecated)]]
  • ZeroWiki/Mobile . . . . 1 match
          * http://deviceatlas.com/
  • ZeroWiki/제안 . . . . 1 match
          * 구현된 확장 기능이 정말 어마어마하게 많다. http://www.mediawiki.org/wiki/Category:Extensions
  • ZeroWikian . . . . 1 match
          * [sakurats]
  • Zeropage/Staff/회의_2006_03_04 . . . . 1 match
         DesignPatternStudy2005
  • [Lovely]boy^_^/Diary/2-2-8 . . . . 1 match
          * AccelratedC++ 3장 정리
  • [Lovely]boy^_^/Temp . . . . 1 match
         template <typename T>
  • [Lovely]boy^_^/USACO . . . . 1 match
         || ["[Lovely]boy^_^/USACO/WhatTimeIsIt?"] ||
  • [Lovely]boy^_^/USACO/PrimePalinDromes . . . . 1 match
         #include <cmath>
  • [Lovely]boy^_^/USACO/YourRideIsHere . . . . 1 match
          basic_string<char>::const_iterator i;
  • callusedHand . . . . 1 match
          ''(move to somewhere appropriate plz) 논리학 개론 서적으로는 Irving Copi와 Quine의 서적들(특히 Quine의 책은 대가의 면모를 느끼게 해줍니다), Smullyan의 서적들을 권하고, 논리학에서 특히 전산학과 관련이 깊은 수리논리학 쪽으로는 Mendelson이나 Herbert Enderton의 책을 권합니다. 또, 증명에 관심이 있다면 How to Prove It을 권합니다. 대부분 ["중앙도서관"]에 있습니다. (누가 신청했을까요 :) ) --JuNe''
  • callusedHand/projects/algorithms . . . . 1 match
         = Dictionary of Algorithms and Data Structures =
  • callusedHand/projects/fileManager . . . . 1 match
          가상 파일 시스템 도입 / Linux configuration center(?) / 원격 로그인
  • cheal7272 . . . . 1 match
         == Chatting ==
  • ddori . . . . 1 match
          * Boyz 2 men - they are so sweet that will melt my heart away ;)
  • django/Example . . . . 1 match
         [django/AggregateFunction]
  • django/Model . . . . 1 match
         CREATE TABLE "manage_risk" (
          location= models.CharField(maxlength=200)
  • eclipse디버깅 . . . . 1 match
         == Terminate ==
  • erunc0 . . . . 1 match
          KanbanGame 같은 거?? -- [이덕준] [[DateTime(2010-08-23T23:57:37)]]
  • erunc0/COM . . . . 1 match
          * 개인적으로 COM 구현할때는 (정확히야 뭐 ActiveX Control) 손수 COM 구현하는데 하는 일들이 많아서 -_-.. (Interface 작성하고 IDL 컴파일해주고, COM Component DLL Register 해주고 그다음 COM Component 잘 돌아가는지 테스트 등등) 거의 Visual Studio 의 위자드로 작성한다는. --a 그리고 COM 을 이해할때에는 OOP 에 대한 좀 바른 이해를 중간에 필요로 할것이라 생각. 디자인 패턴에서의 Factory, FacadePattern 에 대해서도 아마 읽어볼 일이 생기기라 생각.
  • erunc0/Java . . . . 1 match
          * ["erunc0/JavaPattern"]
  • erunc0/Mobile . . . . 1 match
          * emulator - 예전에는 정말 구렸는데, pocket pc 2002 가 등장하면서 pda에 똑같은 성능을 보여준다. (그래서인가. compile 속도 무지 느린것 같다.. --;)
  • erunc0/RoboCode . . . . 1 match
         == What is RoboCode? ==
  • eternalbleu . . . . 1 match
         email : http://blog.izyou.net/attach/1/1247400824.gif
  • gusul/김태진 . . . . 1 match
         // Created by Jereneal Kim on 13. 7. 16..
  • html5/web-workers . . . . 1 match
          * terminate() : 워커 강제 종료
  • intI . . . . 1 match
         내가 봤을때 for나 while 안에서 쓰는 i 는 iterator 의 앞글자를 의미하는 i 같은데 - [(namsang)]
  • koi_cha/곽병학 . . . . 1 match
          bool operator() (pair<int, int> &p1, pair<int, int> &p2) {
  • maya . . . . 1 match
         backtoheaven at gmail
  • neocoin/Education . . . . 1 match
          SIGCSE(ACM)을 참고해라. 좋은 자료를 많이 찾을 수 있을 것이다. 그리고 다양한 교수법은 NoSmok:PedagogicalPatterns 를 봐라. --JuNe
  • ricoder . . . . 1 match
          float secs;
  • sakurats . . . . 1 match
         == Zeropage 01 sakurats. ==
  • study C++/ 한유선 . . . . 1 match
          private:
  • usa_selfish/김태진 . . . . 1 match
         // Created by 김 태진 on 12. 8. 14..
  • warbler . . . . 1 match
          * Java, Database Tech
  • whiteblue . . . . 1 match
          * ["JavaStudyInVacation"]
  • woodpage/VisualC++HotKeyTip . . . . 1 match
          * Commands 탭에 보면 Category 가 있다 거기 콤보박스를 보면 여러가지 카테고리가 있는데 단축키나 메뉴 안쓰고도 이거 붙여놓고
  • wxPython . . . . 1 match
          * 아직 GUI Designer -> Code Generation 부분이 완벽하지는 않다. 다른 에디터와 같이 이용하는 편이 좋을 것이다.
  • zennith/MemoryHierarchy . . . . 1 match
         요즈음의 RISC 구조 프로세서에서는, 모든 연산의 연산자들로 레지스터만 허용하므로, 이 제한된 숫자의 레지스터들을 어떻게 관리하느냐가 성능 향상의 주안점이다. 가령, 빈번하게 요구되는 변수는 계속 가지고 있는다던지, 아니면 한동안 쓰임이 없는 변수를 레지스터에서 버린다던지 하는 일이다. 물론, 이 일(optimal register allocation)은 컴파일러에서 담당한다.
  • zennith/w2kDefaultProcess . . . . 1 match
         Internat.exe - 작업관리자에서 종료 가능
  • zeropageBlog . . . . 1 match
          * 자세한 사용법은 [http://www.tattertools.com 태터툴즈 홈페이지]를 이용해 주십시오.
  • 가위바위보 . . . . 1 match
         === specfication ===
  • 가위바위보/동기 . . . . 1 match
          ifstream fin("data1.txt");
  • 가위바위보/성재 . . . . 1 match
          fin.open("data1.txt");
  • 가위바위보/영동 . . . . 1 match
          ifstream fin("data1.txt");
  • 가위바위보/영록 . . . . 1 match
          ifstream fin("data1.txt");
  • 강희경 . . . . 1 match
          이메일:rkd49 At hotmail Dot com 퍼간다네~~
          static library mode 로 compile해.
  • 같은 페이지가 생기면 무슨 문제가 있을까? . . . . 1 match
         무엇(What-손이 한 번 이라도 덜 가는 구조)인지는 알고, 이것은 저도 전제로 삼는 지향점 입니다. 이야기 할 발전적인 방향은 어떻게(How-그 구조로 어떻게 만들까?)를 논하는 것 이라 생각합니다. 제가 너무 함축적으로 글을 작성해서 풀어 씁니다.
  • 객체지향분석설계 . . . . 1 match
         == Persistance Data 선택 ==
  • 객체지향용어한글화토론 . . . . 1 match
          * 예를 들어 외국인이 클래스를 처음 배울때 느끼는 public, private의 느낌과 우리가 그것을 처음 보았을때 느낌은 상당히 틀릴것이다.
  • 게임프로그래밍 . . . . 1 match
          SDL_FillRect(pScreen,&pScreen->clip_rect,SDL_MapRGB(pScreen->format,0,0,255));
  • 겨울방학프로젝트/2005 . . . . 1 match
         || [DesignPatternStudy2005] || 디자인패턴 잠시 중단했던것을 이어서 계속.. || 상협 선호 재선 용안 준수 ||
  • 고전모으기 . . . . 1 match
          * StructuredProgramming, TheElementsOfProgrammingStyle, SICP, SmalltalkByExample, SmalltalkBestPracticePatterns
  • 구공주 나라 . . . . 1 match
          E-mail:windygirl2002 at hanmail dot net
  • 구근 . . . . 1 match
          * E 메일 : passion at passioninside dot com
  • 권영기 . . . . 1 match
          * [정모/2014.1.13] - OMS : Robot Path Planning
  • 그림으로설명하기 . . . . 1 match
         [http://user.chollian.net/~jjang88/jung1math/1setl4.gif]
  • 금고/조현태 . . . . 1 match
          while (accumulate(nodes.begin(), nodes.end(), 0) <= buildingHeight)
  • 기억 . . . . 1 match
          1. Atkinson-Shiffrin 기억모형
          Upload:Atkinson-Shiffrin기억모형.gif
          i. 감정 : 정의가(affective value)-감정이 극단 적인것이 더 잘기억, 기분 일치(mood congruence)-사람의 성격에 따라 기억 되는 단어, 상태 의존(state dependence)-술취한 사람, 학습 자세
  • 김범준 . . . . 1 match
         (빈칸 없이 엣=at, 네이버 닷 컴 = naver.com)
  • 김영준 . . . . 1 match
          * E-mail : kyjun0411 at(@) hanmail dot(.) net
  • 김윤환 . . . . 1 match
         attachment:funney_haha.jpg
  • 김재현 . . . . 1 match
         #define TITLE "[ LOTTO RANDOM NUMBER GENERATOR ]\n"
          float *pf, fx[3]={1.0, 2.0, 3.0};
  • 김태진 . . . . 1 match
          * SWTV(SW Testing&Verification) 연구실에 있습니다.
  • 김해천 . . . . 1 match
          * code.bug.station@gmail.com
  • 네이버지식in . . . . 1 match
         그 차이는 의외로 아주 간단합니다. 네이버지식인과 같은 시스템은 개인의 명성(reputation)에 대한 욕구에 상당 부분 의존하고 있습니다. 개인을 더 드러내는 것이죠. 반대로 위키는 개인이 잘 드러나지 않습니다. 명성 시스템이 아닙니다. see also ForgiveAndForget 이는 XP 철학과도 상통합니다. XP에서는 너희 팀에 영웅이 누구냐는 질문에 답이 바로 나올 수 있는 팀을 좋지 않게 봅니다. 영웅이 있는 팀은 위험한 팀입니다. XP는 보상도 팀단위로 받고 책임도 팀단위로 지는 것을 이상적으로 봅니다.
  • 니젤프림 . . . . 1 match
         [PrimeNumberPractice] [니젤프림/BuilderPattern]
  • 단어순서/방선희 . . . . 1 match
         #include <cmath>
  • 대순이 . . . . 1 match
         안녕~~ 여기 진짜 잼나던데..와우~귿!!Surprise!! [http://cyworld.nate.com/sjyunk 여기!]
  • 덜덜덜 . . . . 1 match
         [DevCppInstallationGuide] // 인스톨 가이드 입니다. <- 필수!!
  • 데블스캠프2004/목요일후기 . . . . 1 match
         간단한 암호화와 STL 을 실습했다. 어렵게 여겼던 암호가 쉽게 느껴졌다. STL 은 정말 강력하고 편한 Library였다. AcceleratorC++ 을 공부하며 STL 까지 확장해서 공부해야겠다. 민수와 영동형처럼 강의를 편안하게 하고 싶다. -- 재선
  • 데블스캠프2005 . . . . 1 match
         [데블스캠프2005/Socket Programming in Unix/Windows Implementation]
  • 데블스캠프2005/FLASH키워드정리 . . . . 1 match
         input&DynamicText&staticText
  • 데블스캠프2005/RUR-PLE/Harvest/김태훈-zyint . . . . 1 match
          repeat(turn_left,3)
  • 데블스캠프2005/RUR-PLE/Harvest/이승한 . . . . 1 match
          repeat(turn_left,3)
  • 데블스캠프2005/RUR-PLE/Newspaper . . . . 1 match
          repeat(turn_left, 3)
  • 데블스캠프2005/RUR-PLE/TwoMoreSelectableHarvest . . . . 1 match
          repeat(turn_left,3)
  • 데블스캠프2005/RUR_PLE/조현태 . . . . 1 match
          repeat(turn_left,3)
  • 데블스캠프2005/Socket Programming in Unix/Windows Implementation . . . . 1 match
         UnixSocketProgrammingAndWindowsImplementation
  • 데블스캠프2005/금요일/OneCard/이동현 . . . . 1 match
          public static void main(String[] args) {
  • 데블스캠프2005/월요일 . . . . 1 match
          [http://c2.com/doc/oopsla89/paper.html A Laboratory For Teaching Object-Oriented Thinking]
  • 데블스캠프2006 . . . . 1 match
         "선언적 프로그래밍(Declarative Programming)과 J 언어"를 주제로 강의해 드릴 수 있습니다. 혹시 생각이 있으면 연락하세요. --JuNe
  • 데블스캠프2009 . . . . 1 match
          * [http://zeropage.org/?mid=devils&category=10642 데블스캠프 2008] - amp;를 지워야 제대로 뜹니다.
  • 데블스캠프2009/금요일/연습문제/ACM2453/정종록 . . . . 1 match
         #include<math.h>
  • 데블스캠프2009/수요일/OOP/서민관 . . . . 1 match
          private int 불온도;
  • 데블스캠프2009/화요일 . . . . 1 match
         || 변형진 || The Abstractionism || 컴퓨터공학의 발전과 함께한 노가다의 지혜 || attachment:/DevilsCamp2009/Abstractionism.ppt ||
  • 데블스캠프2010/다섯째날/후기 . . . . 1 match
          * [스터디그룹패턴언어]의 몇 가지 패턴을 짝을 지어 (독해 수준으로만)번역해보는 시간을 가졌습니다. 주제에 대한 흥미 유발에 실패한 것 같은데, 제 책임이 큰 것 같습니다. 두어 개 패턴만 골라서 깊이 생각하고 의견을 서로 나누는 기회를 가졌다면 어땠을까 싶습니다. 긍정적인 사이드 이펙트로 "번역 재미있는데?"라는 반응을 얻은 건 다행이라고 생각합니다. 번역한 결과물의 품질이 만족스러워 질 때까지 지속적으로 다듬어질 수 있길 바랍니다. -- [이덕준] [[DateTime(2010-06-28T00:27:09)]]
  • 데블스캠프2010/둘째날/후기 . . . . 1 match
          * 앞자리로 이동해야할듯...ㅠㅠ 왜 private를 써야 하는지 이제 깨달았어요 ㅎㅎ 말하듯이 짜는 연습을 해야겠어요 ㅠㅠ 그리고 많은 주석으로 설명하는 걸 지양해야겠어요-[강소현]
  • 데블스캠프2010/첫째날/오프닝 . . . . 1 match
          (페이지 꾸미기가 어려우면 다음 페이지 레이아웃을 보세요 ㅋㅋ - [HomepageTemplate])
  • 데블스캠프2010/회의록 . . . . 1 match
          * Obfuscation에 대해 위키 페이지를 만든다. -[박재홍] 학우
  • 데블스캠프2011/밥탐 . . . . 1 match
          * tomato 도시락 (새우치킨마요)
  • 데블스캠프2011/셋째날/RUR-PLE/김태진,송치완 . . . . 1 match
          repeat(turn_left,3)
  • 데블스캠프2011/첫째날/오프닝 . . . . 1 match
          (페이지 꾸미기가 어려우면 다음 페이지 레이아웃을 보세요 ㅋㅋ - [HomepageTemplate])
  • 데블스캠프2012/넷째날/묻지마Csharp/Mission1/김준석 . . . . 1 match
         private void pushButton_Click(object sender, EventArgs e)
  • 데블스캠프2012/넷째날/묻지마Csharp/Mission1/서영주 . . . . 1 match
         private void pushButton_Click(object sender, EventArgs e)
  • 데블스캠프2012/넷째날/묻지마Csharp/Mission3/서민관 . . . . 1 match
         private void timer1_Tick(object sender, EventArgs e)
  • 데블스캠프2012/넷째날/묻지마Csharp/Mission3/서영주 . . . . 1 match
         private void timer1_Tick(object sender, EventArgs e)
  • 데블스캠프2012/넷째날/후기 . . . . 1 match
          * 실제로 강사 당사자가 '''5일간''' 배운 C#은 실무(현업) 위주라 객체지향 관점이라던가 이런건 많이 못 배웠습니다. 함수 포인터와 비슷한 Delegate라던가 Multi Thread를 백그라운드로 돌린다던가 이런건 웬지 어린 친구들이 멘붕할듯 하고 저도 확신이 없어 다 빼버렸지요 ㅋㅋㅋㅋㅋㅋ namespace와 partial class, 참조 추가 dll 갖고 놀기(역어셈을 포함하여) 같은걸 재밌게도 해보고 싶었지만 예제 준비할 시간이 부족했어요ㅠ_- 개인적으로 마지막 자유주제 프로그램은 민관 군 작품이 제일 좋았어요 ㅋㅋ - [지원]
  • 데블스캠프2012/다섯째날/후기 . . . . 1 match
          * [서민관] - 이런저런 일로 file format에 대해서 약간 볼 일이 있긴 했는데, 희성이가 좀 이미지 처리를 전문으로 해서 그런지 비트맵 형식에 대해서 꽤 본격적으로 다뤘네요. 비트 레벨에서 필터 등의 구현을 보는 건 신기했습니다. 근데 실습하기에는 이해도가 딸려서... 그래도 처음 보는 사람들한테는 많은 이해를 주지 않았을까 싶군요.
  • 데블스캠프2012/셋째날/후기 . . . . 1 match
         = LLVM+Clang 맛 좀 봐라! && Blocks가 어떻게 여러분의 코딩을 도울 수 있을까? && 멀티코어 컴퓨팅의 핵심에는 Grand Central Dispatch가! =
  • 데블스캠프2012/첫째날/후기 . . . . 1 match
          * 첫째 날 데블스 캠프는 정말 재미있었습니다. 우선 C 수업 중에 배우지 않은 문자열 함수와 구조체에 대해 배웠습니다. 또 수업 중에 배운 함수형 포인터를 실제로 사용해(qsort.... 잊지않겠다) 볼 수 있었습니다. 또 GUI를 위해 Microsoft Expression을 사용하게 됬는데, 이런 프로그램도 있었구나! 하는 생각이 들었습니다. GUI에서 QT Creator라는 것이 있다는 것도 오늘 처음 알게 되었습니다. 데블스 캠프를 통해 많은 것을 배울 수 있었습니다.
  • 데블스캠프2013/셋째날/후기 . . . . 1 match
          * 개인적으로 좀 아쉬움이 큰 세션이었습니다. 물론 머신 러닝이 쉬운 주제가 아니라는 건 맞습니다. 하지만 오히려 그렇기 때문에 강사 입장에서는 최대한 난이도를 낮추기 위한 노력들을 할 수 있지 않았을까 하는 생각이 조금 남습니다. 적어도 새내기나 2학년 들이 머신 러닝이라는 뭔가 무서워 보이는 주제 앞에서 의욕이 사라질 수 있다는 생각을 했다면, 전체적인 알고리즘의 간단한 의사 코드를 보여주거나, DataSet을 줄인다거나 해서 조금 현실적인 시간 내에 결과를 보고 반복적으로 소스 코드를 손을 볼 수 있게 할 수 있지 않았을까요. 적어도 간단한 샘플 소스를 통해서 이 프로그램이 어떻게 돌아가는가, 어떤 input을 받아서 어떤 output을 내는가 등에 대해서 보여주었다면 더 재미있는 실습이 될 수 있지 않을까 하는 생각이 듭니다. 머신 러닝은 흥미로운 주제지만, 흥미로운 주제를 잘 요리해서 다른 사람들에게 흥미롭게 전해줄 수 있었는가를 묻는다면 저는 좀 아쉬웠다는 대답을 할 것 같습니다. - [서민관]
  • 땅콩이보육프로젝트2005 . . . . 1 match
          * 요구사항 정하기( [Cockburn'sUseCaseTemplate] )
  • 레밍즈프로젝트/연락 . . . . 1 match
         private:
  • 레밍즈프로젝트/프로토타입/에니메이션버튼 . . . . 1 match
         || animate(.AVI) button || [http://www.codeproject.com/buttonctrl/anibuttons.asp] ||
  • 렌덤워크/조재화 . . . . 1 match
          if(counter >= 50000) //excute limitation
  • 리눅스연습 . . . . 1 match
         [http://kr.hancom.com/contents/contentsView.php?zone=os&from=3&mode=0&page=0&info=os_4_1&zone=os&cata=os_4&key=&value=&num=149 Make란?]
  • 만년달력/방선희,장창재 . . . . 1 match
          cout << "Mon \tTue\t Wed\t Thu\t Fri\t Sat\t Sun\n";
  • 만년달력/이진훈,문원명 . . . . 1 match
          cout << "Sun\t Mon\t Tue\t Wed\t Thr\t Fri\t Sat" << endl;
  • 멘티스 . . . . 1 match
         [http://tong.nate.com/deergirl/2412917 블로그 퍼옴]
  • 문원명 . . . . 1 match
          Email - shivan2to5 at hanmail dot net
  • 문자반대출력/허아영 . . . . 1 match
         private :
  • 문자열검색/허아영 . . . . 1 match
         private:
  • 문자열연결/허아영 . . . . 1 match
          strcat(z, y);
  • 문제풀이게시판 . . . . 1 match
         see also HowToStudyDataStructureAndAlgorithms
  • 박범용 . . . . 1 match
          ||[http://cyworld.nate.com/plmmlq/ 뻠..의 싸이]||
  • 박수진 . . . . 1 match
         싸 이 : http://cyworld.nate.com/ddury05
  • 박원석 . . . . 1 match
         [http://cyworld.nate.com/parkwons]
  • 박진섭 . . . . 1 match
         DeleteMe [홈페이지Template] 를 참고로 하여 페이지를 구성하시기를 추천합니다. --NeoCoin
  • 박치하 . . . . 1 match
         http://pds15.cafe.daum.net/download.php?grpid=qkLj&fldid=6lGP&dataid=2&fileid=1
  • 반복문자열/김대순 . . . . 1 match
         [http://blogfiles1.naver.net/data13/2006/3/29/80/warning-1006kds.jpg]
  • 반복문자열/김정현 . . . . 1 match
          public static void main(String args[])
  • 반복문자열/이태양 . . . . 1 match
          [STATread]
          static void Main(){
  • 벡터/곽세환,조재화 . . . . 1 match
          vector<student>::iterator i;
  • 벡터/권정욱 . . . . 1 match
          vector<student>::iterator i=vec.begin();
  • 벡터/김수진 . . . . 1 match
          vector<student>::iterator i=vec.begin();
  • 벡터/김홍선,노수민 . . . . 1 match
          vector <student> ::iterator i=0;
  • 벡터/박능규 . . . . 1 match
          for(vector<student>::iterator i= sp.begin();i!=sp.end(); i++)
  • 벡터/임민수 . . . . 1 match
          for(vector<student>::iterator j=vector1.begin(); j<vector1.end(); j++)
  • 벡터/임영동 . . . . 1 match
          for(vector<student>::iterator i=vec.begin();i!=vec.end();i++)
  • 벡터/조동영 . . . . 1 match
          vector<student>::iterator i=vec.begin();
  • 벡터/황재선 . . . . 1 match
          for (vector<student>::iterator i = ss.begin(); i < ss.end(); i++) // 오름차순
  • . . . . 1 match
         [DevCppInstallationGuide] // 인스톨 가이드 입니다. <- 필수!!
  • 복사생성자 . . . . 1 match
         3. 보통 operator= 재정의와 같이 사용
  • 블로그2007/송지훈 . . . . 1 match
         <marquee border="2" bgcolor="#000000" behavior="alternate" align="center" width="300" height="8" ><font
  • 비밀키/임영동 . . . . 1 match
          for(string::iterator i=str.begin();i!=str.end();i++)
  • 빠빠안뇽 . . . . 1 match
          HomepageTemplate 를 참고~~ 해주셩~ - [임인택]
  • 빵페이지 . . . . 1 match
          * visual c++ 옵션에서 format -> 폰트 설정을 다른것으로 바꿔 보세요, 다른 툴의 경우 이런식으로 해결이 됐습니다. - 민수
  • 사랑방 . . . . 1 match
         negative LA assertion을 쓰면 간단합니다. {{{~cpp &(?!#\d{1,3};)}}} RE를 제대로 사용하려면 ''Mastering Regular Expressions, 2Ed ISBN:0596002890''를 공부하시길. --JuNe
  • 삼총사CppStudy/숙제1/곽세환 . . . . 1 match
         private:
  • 상욱 . . . . 1 match
         DuplicatedPage
  • 상협/Diary/9월 . . . . 1 match
          * AccelerateCPlusPlus 다 보기.
  • 새싹교실/2011/AmazingC/6일차 . . . . 1 match
          * 반환형: int, char, float, double 등
  • 새싹교실/2011/GGT . . . . 1 match
          pkccr@nate.com
  • 새싹교실/2011/Pixar/4월 . . . . 1 match
         오늘은 변수종류에대해서 배웠다 local,global,static등에 대해배웠고, 반복문을 사용하여달력도 만들어보았고, 함수에 대해서도 배웠다.
  • 새싹교실/2011/學高 . . . . 1 match
          * 윤종하: NateOn: '''koreang1@naver.com''' 등록해주세요~
  • 새싹교실/2011/學高/8회차 . . . . 1 match
          * declaration과 사용
  • 새싹교실/2011/무전취식/레벨4 . . . . 1 match
         #include<math.h> //Rand를 가져오는 헤더파일
  • 새싹교실/2011/씨언어발전/3회차 . . . . 1 match
         return_type function_name (data_type variable_name, …)
  • 새싹교실/2011/씨언어발전/5회차 . . . . 1 match
          float avr,sum,av1,av2;
  • 새싹교실/2012/AClass/2회차 . . . . 1 match
          static int x[2][3]; //2행 3열의 2차원 배열선언
  • 새싹교실/2012/나도할수있다 . . . . 1 match
          float c = 2.1;
  • 새싹교실/2012/아우토반/뒷반/4.6 . . . . 1 match
          * float, double
  • 새싹교실/2012/아우토반/앞반/3.22 . . . . 1 match
          * char, int, float, double
  • 새싹교실/2013/라이히스아우토반/4회차 . . . . 1 match
          * Template를 만들어 보려 했으나 실패?... 단순히 갱신이 느린건지.. 아니면 내가 권한이 없는 건지... - [고한종](13/04/02)
  • 새싹교실/2013/케로로반 . . . . 1 match
          * static 전역 변수의 특징
  • 서로간의 참조 . . . . 1 match
          pView->UpdateWindwo();
  • 선희 . . . . 1 match
         DuplicatedPage
  • 소수구하기/인수 . . . . 1 match
         #include <cmath>
  • 소수구하기/임인택 . . . . 1 match
         #include <math.h>
  • 속죄 . . . . 1 match
          SeeAlso BookTemplate
  • 손동일/TelephoneBook . . . . 1 match
         private:
  • . . . . 1 match
          ||[이영호]||nilath 골뱅이 hanmail 닷 net||=ㅂ=||
  • 수진 . . . . 1 match
         DuplicatedPage
  • 순차적학습패턴 . . . . 1 match
         연대 순으로 작품의 순서를 매기고 나면, 그룹은 지적인 아젠더([아젠더패턴])와 학습 주기(StudyCyclePattern)를 만들게 된다.
  • 시간관리인생관리/요약 . . . . 1 match
          ==== 일을 시작하기 전에 '흐트러진 지도(scatter map)'를 사용해 당신의 하루를 '워밍업' 하라. ====
  • 시간관리하기 . . . . 1 match
         '''The Simplest Thing That Could Possibly Work'''
  • 식인종과선교사문제/변형진 . . . . 1 match
          * 모든 케이스를 DB에 저장해서 푸는것과 비슷하게 머신러닝으로 학습시켜 풀게 만들면(문제 해결에 관한 state를 저장했다가 푸는것이므로 유사하다고 생각했습니다) 정답률이 얼마나 나올까요? - [[bluemir]]
  • 실시간멀티플레이어게임프로젝트/첫주차소스3 . . . . 1 match
         showState() - 플레이어 상태 출력 함수
  • 안녕하세요 . . . . 1 match
         http://pds15.cafe.daum.net/download.php?grpid=qkLj&fldid=6lGP&dataid=4&fileid=1
  • 알고리즘5주숙제/김상섭 . . . . 1 match
         #include <math.h>
  • 알고리즘5주숙제/하기웅 . . . . 1 match
         #include <cmath>
  • 압축알고리즘/정욱&자겸 . . . . 1 match
          for (int k = 0; k < atoi(dig); k++){
  • 양아석 . . . . 1 match
         repeat(function,num)
  • 연습용 RDBMS 개발 . . . . 1 match
         #include <math.h>
  • 오페라의유령 . . . . 1 match
          * EBS 에선가 Joseph and the Amazing Technicolor Dreamcoat를 방영해줬던 기억이 난다. 성경에서의 요셉이야기를 이렇게 표현할 수 있을까; 형 왈 '아마 성경을 이렇게 가르친다면 교회에서 조는 사람들 없을꺼야;' 어떻게 보면 '아아 꿈많고 성공한 사람. 우리도 요셉처럼 성공하려면 꿈을 가져야해;' 이런식이였지만, 아주 신선했던 기억이 난다.
  • 위키로프로젝트하기 . . . . 1 match
          * What - 이는 단순히 '무엇을 한다' 가 아닌 구체적인 목표이다. 무엇을 원하는가?
  • 위키설명회 . . . . 1 match
          * 템플릿 쓰기 : HomepageTemplate쓰기 설명
  • 위키의특징 . . . . 1 match
          * MBTI유형중 N(직관)형이 위키를 많이 사용. N형은 개별 사실보다 사실 사이의 관계에 대한 인지가 선행된다. 처음 본 사람이 어떤 머리형을 하고, 어떤 셔츠, 어떤 바지, 어떤 구두를 신었는지를 먼저 파악하는 것이 아니라 그 사람이 전체적으로 풍기는 느낌을 먼저 catch 하게 되며, 이것은 개별 사실들의 전체적인 연관성에 의해 나타나게 되는 것이다. -> 위키가 이런 N형에게 그러한 수단을 풍부하게 제공함. 수평적으로 나열된 사실들에 대해서 적절한 링크(혹은 지도패턴)을 사용하여 관련을 맺어줌으로써 개별사실이 가지는 합 이상의 정보를 창조.
  • 유럽여행 . . . . 1 match
         http://cyworld.nate.com/Leonardong
  • 유혹하는글쓰기 . . . . 1 match
         ''지옥으로 가는 길은 수많은 부사들로 뒤덮여 있다..잔디밭에 한 포기가 돋아나면 제법 예쁘고 독특해 보인다. 그러나 이때 곧바로 뽑아버리지 않으면...철저하게(totally), 완벽하게(completely), 어지럽게(profligately) 민들레로 뒤덮이고 만다.''
  • 윤성만 . . . . 1 match
          페이지 꾸미기는 HomepageTemplate 을 참조하면 되겠지~ --[Leonardong]
  • 윤성준 . . . . 1 match
          [http://cyworld.nate.com/sjyunk 여기강추!] '''낚시금지!!!'''
  • 이동현 . . . . 1 match
         hmldh골뱅이nate닷컴
  • 이병윤 . . . . 1 match
          * Good to Great
  • 이연주/공부방 . . . . 1 match
          float *pf, fx[3]={1.0, 2.0, 3.0};
  • 이영호/끄적끄적 . . . . 1 match
         #include <math.h>
  • 이영호/지뢰찾기 . . . . 1 match
         Crack: 분석 완료 직후, Inline Patch로 배열 부분을 손보고 지뢰 찾기 시작 후 고급 기록 1초 갱신 완료.
  • 이영호/한게임 테트리스 . . . . 1 match
         *inline_patch
  • 이재영 . . . . 1 match
          float grade;
  • 이중포인터의 동적할당 예제 . . . . 1 match
          strcpy(p[2],"cat");
  • 이학 . . . . 1 match
         학생과의 관계에서 자주 경험하는 일인데, 일본 학생은 'why' 라든가 'how'라고 질문하는 경우가 매우 많다. 말할것도 없이 'why'라는 것은 '왜'라는 것인데, 이것은 '진리(眞理)'를 물어 보고 있는 것이다. 이에 반해 미국 학생은 'what'이라는 형태의 질문을 많이 한다. "그것은 도대체 무엇이냐?" 라는 식으로 물어본다. 이것은 '사실(事實)'을 묻는 것이다.
  • 인터프리터/권정욱 . . . . 1 match
          else array = atoi(instruction.substr(1, 2).c_str());
  • 임수연 . . . . 1 match
         http://bingoimage.naver.com/data3/bingo_22/imgbingo_22/sinctlst/24331/sinctlst_1.jpg -수연아~에이~ [joosama]
  • 임인택 . . . . 1 match
         [http://sfx-images.mozilla.org/affiliates/Banners/120x600/rediscover.png]
  • 장용운 . . . . 1 match
         jayowu21c@nate.com
  • 장용운/곱셈왕 . . . . 1 match
          * 곱셈애자([http://translate.google.co.kr/?hl=ko&tab=wT#ko|en|%EA%B3%B1%EC%85%88%EC%95%A0%EC%9E%90 멀티게이])
  • 전철에서책읽기 . . . . 1 match
         작년 1월에 지하철을 타며 책읽기를 했는데 한 번쯤 이런 것도 좋을 듯. 나름대로 재미있는 경험. :) Moa:ChangeSituationReading0116 --재동
  • 정규표현식/소프트웨어 . . . . 1 match
          http://hackingon.net/image.axd?picture=WindowsLiveWriter/AdhocStringManipulationWithVisualStudio/7EA25C99/image.png
  • 정규표현식/스터디/문자집합으로찾기/예제 . . . . 1 match
         [what]+[List]&[is]^[Here]%
  • 정규표현식/스터디/문자하나찾기/예제 . . . . 1 match
         [what]+[List]&[is]^[Here]%
  • 정렬 . . . . 1 match
          Upload:UnsortedData.txt
  • 정렬/Leonardong . . . . 1 match
          ifstream fin("unsortedData.txt"); //파일 이름이...삽질 1탄~!
  • 정렬/문원명 . . . . 1 match
          ifstream fin("UnsortedData.txt");
  • 정렬/민강근 . . . . 1 match
          ifstream fin("UnsortedData.txt");
  • 정렬/방선희 . . . . 1 match
          ifstream fin("UnsortedData.txt");
  • 정렬/조재화 . . . . 1 match
          ifstream fin("UnsortedData.txt"); //txt파일에 저장된 것을 부름
  • 정모/2002.12.30 . . . . 1 match
          * ["Smalltalk"], MFC, DesignPattern, 영어공부등은 ZeroWiki에서 모집, 진행한다.
  • 정모/2002.3.28 . . . . 1 match
          * 파이선의 업그레이드를 위해서, zp 서버 업그레이드를(RedHat 7.1 정도 이상으로) 해야 합니다. 일전에 봐라군이 시도하다가 라이브러리 업그레이드에서 막혀서, 일단 잠정 보류라고 합니다. --상민
  • 정모/2002.8.22 . . . . 1 match
          * ["MFCStudy_2002_1"], ["MFCStudy_2002_2"] ,["CppStudy_2002_1"], ["CppStudy_2002_2"], ["3DGraphicsFoundation"]
  • 정모/2003.1.15 . . . . 1 match
          * Java - 곧 시작할 예정... (["JavaStudyInVacation"] 참조)
  • 정모/2003.3.5 . . . . 1 match
          ZeroWikian 은 준회원이 아닙니다. ZeroWikian의 정의는 '''ZeroWiki 를 사용하는 사람들''' 입니다. NoSmok:OpeningStatement 를 정확히 읽어 보세요. --NeoCoin
  • 정모/2003.8.12 . . . . 1 match
          * [MedusaCppStudy] => 효율 70% 정도로, AcceleratedC++로 진도를 나가는 중
  • 정모/2004.10.5 . . . . 1 match
          * 현재 클래스. static. 상속 배우는 차례
  • 정모/2004.3.2 . . . . 1 match
          * Accelerated C++ - 임영동, 황재선
  • 정모/2004.4.9 . . . . 1 match
          * Accelerate C++ : 영동
  • 정모/2004.9.24 . . . . 1 match
          * Accelate C++ - 영동, 4~5장 공부중, 이 학기 동안 예정
  • 정모/2005.1.3 . . . . 1 match
          * '''다음 정모는 2주후 월요일, 17일입니다. ProjectEazy팀의 자연어(Natural Language) 처리 세미나가 정모 전에 있습니다'''
  • 정모/2005.12.29 . . . . 1 match
          || 디자인패턴 || strategy 패턴 실습 ||
  • 정모/2006.1.12 . . . . 1 match
         [DesignPatternStudy2005] [OurMajorLangIsCAndCPlusPlus] [경시대회준비반]
  • 정모/2006.1.19 . . . . 1 match
         data = sock.recv(1024)
  • 정모/2006.9.13 . . . . 1 match
          - Design Patterns - Gof 의 뭐시기, 알자~~ 영진출판사
  • 정모/2011.10.12 . . . . 1 match
          * [DesignPatterns/2011년스터디]
  • 정모/2011.3.21 . . . . 1 match
          * [DesignPatterns/2011년스터디]
  • 정모/2011.5.16 . . . . 1 match
          * [Design Patterns/2011년스터디]
  • 정모/2011.5.2 . . . . 1 match
          * DB2 Certification Program 안내
  • 정모/2011.5.9 . . . . 1 match
          * 이번 정모는 뭔가 후딱 지나간? ㅋㅋ 아무튼.. 4층 피시실에서 한 OMS가 뒤에서 다른 걸 하는 사람들의 시선까지 끌어던 모습이 생각이 나네요. 그리고 한 게임이 다른 게임에 들어가서 노는걸 보니 재밌기도 하고, 재미있는 주제였습니다. 그리고 이번주 토요일에 World IT Show에는 어떤 것들이 있을지 궁금하네요. 저번에 International Audio Show에 갔을때에도 다양한 오디오와 헤드폰을 보고 청음할 수 있어서 좋았는데, 이번에도 다양한 것들을 많이 볼 수 있을 거 같아 기대됩니다. 음.. 근데 이번 정모때에는 이거 이외에 잘 기억이 안나네요; - [권순의]
  • 정모/2011.7.18 . . . . 1 match
          * [DesignPatterns/2011년스터디]
  • 정모/2011.7.25 . . . . 1 match
          * [DesignPatterns/2011년스터디]
  • 정모/2011.8.22 . . . . 1 match
          * [DesignPatterns/2011년스터디]
  • 정모/2011.8.29 . . . . 1 match
          * [:DesignPatterns/2011년스터디 디자인패턴 스터디]
  • 정모/2011.9.20 . . . . 1 match
          * [DesignPatterns/2011년스터디]
  • 정모/2011.9.27 . . . . 1 match
          * [DesignPatterns/2011년스터디]
  • 정모/2012.1.13 . . . . 1 match
          * [http://zeropage.org/regulation 회칙 개정] 개정안 참조.
  • 정모/2012.11.26 . . . . 1 match
          * [윤종하]학우의 Digital Bandpass-Filter Modulation
  • 정모/2012.4.30 . . . . 1 match
          * [CreativeClub]
  • 정모/2012.4.9 . . . . 1 match
          * [CreativeClub]
  • 정모/2012.7.11 . . . . 1 match
          - 첫주차에는 문서 작성, 삭제 등을 목표로 삼아서 hibernate 등을 이용할 예정.
  • 정모/2012.9.10 . . . . 1 match
          * Creative Club - 지난 주 대화 내용: 제로페이지 돈 잘 쓰는 방법, 이번 주 대화할 내용: 새로운 회원을 많이 오게 하는 방법. 이런 주제로 수다를 떠는 스터디.
  • 정모/2013.2.26 . . . . 1 match
          * [김태진] 학우가 3월 11일 정모시간에 Data Mining에 관한 간단한 세미나를 할 예정입니다.
  • 정모/2013.3.18 . . . . 1 match
          * [이병윤] 학우의 기계 학습을 이용한 Segmentation
  • 정모/2013.4.1 . . . . 1 match
         = A.I. (Data Mining) =
  • 정모/2013.4.8 . . . . 1 match
          * 4월12일에 Qualification Round가 있네요. 등록 빨리 하셔야할 듯.. - [서지혜]
  • 정모/2013.5.20 . . . . 1 match
         attachment:IMG_0784.jpg
  • 정모/2013.7.8 . . . . 1 match
          * code formatting에 대한 내용을 공부. 프로젝트에 대한 것을 하나 정해서 그걸 리펙토링 하는 방향으로 진행 방향정함.
  • 제로페이지의장점 . . . . 1 match
         나는 잡다하게도 말고 딱 하나를 들고 싶다. 다양성. 생태계를 보면 진화는 접경에서 빨리 진행하는데 그 이유는 접경에 종의 다양성이 보장되기 때문이다. ["제로페이지는"] 수많은 가(edge)를 갖고 중층적 접경 속에 있으며, 거기에서 오는 다양성을 용인, 격려한다(see also NoSmok:CelebrationOfDifferences). 내가 굳이 제로페이지(혹은 거기에 모이는 사람들)를 다른 모임과 차별화 해서 본다면 이것이 아닐까 생각한다. --JuNe
  • 주민등록번호확인하기/조현태 . . . . 1 match
         checkNum(List) -> checkNumSub(sumList(List, lists:duplicate(13, -48))).
  • 중위수구하기/남도연 . . . . 1 match
         private:
  • 지금그때2004 . . . . 1 match
         Berkeley Visionaries Prognosticate About the Future http://netshow01.eecs.berkeley.edu/CS-day-004/Berkeley_Visionaries.wmv 이걸 보면 대충 감이 올겁니다. 이 동영상의 경우 뛰어난 패널진에 비해 진행자가 그리 좋은 질문을 하지 못해서 아쉽기는 합니다. 좋은 질문을 하려면 서점이나 도서관에서 [질문의 힘]이라는 책을 읽어보세요. 그리고 04학번 눈높이의 질문에 대한 고학번들의 생각을 들어보는 것도 중요하지만 04학번이 전혀 생각 못하는 질문을 대신 물어주는 것도 중요합니다. 고객과 요구사항을 뽑는 것과 비슷할 수 있겠죠. "그들이 원하는 것"은 물론 "그들이 필요로 하는 것"(주로, 나중에 그들이 원할만한 것)을 이야기해야 하니까요 -- 또 종종 그들은 자신이 뭘 원하는지 모르는 경우도 많습니다.
  • 지금그때2004/회고 . . . . 1 match
          * 도우미들이 적극적으로 Recorder 가 되는 건 어떨까. MinMap이나 ScatterMap 기법들을 미리 숙지한뒤, 레코딩 할때 이용하면 정리 부분이 더 원활하게 진행될것 같다.
  • 지금그때2005/진행내용 . . . . 1 match
          * IT 와 영어의 결합 - www.itconversations.com 의 MP3를 들어 보자
  • 지식샘패턴 . . . . 1 match
         [attachment:kh_diagram.jpg]
  • 진법바꾸기/김영록 . . . . 1 match
         static int input_10,input_num;
  • 창섭/Arcanoid . . . . 1 match
         http://165.194.17.15/~wiz/data/zpwiki/Arcanoidss.JPG
  • 창섭/삽질 . . . . 1 match
          * type casting 에 의한 data 손실이 일어나는 곳을 추측하자.
  • 창섭/통기타 . . . . 1 match
         || [http://cafe.daum.net/picatongjjang 중앙대학교 통기타 동아리 피카통 모임 다음까페] ||
  • 최대공약수/남도연 . . . . 1 match
         private:
  • 최소정수의합/김정현 . . . . 1 match
         public class AtleastSum
          public static void main(String args[])
  • 최소정수의합/송지훈 . . . . 1 match
          cout << "The smallest 'n' for making the number what we want" << endl;
  • 축적과변화 . . . . 1 match
         컴퓨터를 공부하는 사람들이 각자 자신의 일상에서 하루하루 열심히, 차근차근 공부하는 것도 중요하겠지만, 자신의 컴퓨터 역사에서 "계단"이라고 부를만한 시점이 정말 몇 번이나 있었나 되짚어 보는 것도 아주 중요합니다. 그리고, 주변에 그럴만한 기회가 있다면 적극적으로 참여하고, 또 그런 기회를 만들어 내는 것이 좋습니다. 그런데 이런 변화의 기회라는 것은 나의 세계와 이질적인 것일 수록 그 가능성과 타격(!) 정도가 높습니다. (see also NoSmok:CelebrationOfDifferences ) 그렇지만 완전히 다르기만 해서는 안됩니다. 같으면서 달라야 합니다. 예컨대, 내가 아주 익숙한 세계로 알았는데 그걸 전혀 낯설게 보고 있는 세계, 그런것 말이죠.
  • 캠이랑놀자/051228 . . . . 1 match
         1시간 만에 실제로 코드를 돌리고 이미지 처리를 하고 실제로 동작하는 과정을 사람들이 hand-out 으로 해보면서 효율적으로 익히게 할 방법은 python 아니면 matlab 밖에 없을 것 같은 느낌. 준비하면서도 느낌이 웬지 좋았다.
  • 컴공과학생의생산성 . . . . 1 match
         두째로, 생산성에 대한 훈련은 학생 때가 아니면 별로 여유가 없습니다. 학생 때 생산성이 높은 작업만 해야한다는 이야기가 아니고, 차후에 생산성을 높일 수 있는 몸의 훈련과 공부를 해둬야 한다는 말입니다. 우리과를 졸업한 사람들 중에 현업에 종사하면서 일년에 자신의 업무와 직접적 관련이 없는 IT 전문서적을 한 권이라도 제대로 보는 사람이 몇이나 되리라 생각을 하십니까? 아이러니칼 하게도 생산성이 가장 요구되는 일을 하는 사람들이 생산성에 대한 훈련은 가장 도외시 합니다. 매니져들이 늘 외치는 말은, 소위 Death-March 프로젝트의 문구들인 "Real programmers don't sleep!"이나 "We can do it 24 hours 7 days" 정도지요. 생산성이 요구되면 될 수록 압력만 높아지지 그에 합당하는 훈련은 지원되지 않습니다.
  • 큰수찾아저장하기/김영록 . . . . 1 match
         static int space[4][4];
  • 타도코코아CppStudy . . . . 1 match
          * [AcceleratedC++]
  • 타도코코아CppStudy/0724 . . . . 1 match
         DuplicatedPage
  • 타도코코아CppStudy/0811 . . . . 1 match
         || ZeroWiki:RandomWalk || 정우||Upload:class_random.cpp . || 왜 Worker가 Workspace를 상속받지? 사람이 일터의 한 종류야?--; 또 에러뜨네 cannot access private member. 이건 다른 클래스의 변수를 접근하려고 해서 생기는 에러임. 자꾸 다른 클래스의 변수를 쓰려 한다는건 그 변수가 이상한 위치에 있다는 말도 됨 ||
  • 토이/숫자뒤집기/김정현 . . . . 1 match
          reversedChar[input.length-i-1]= input.charAt(i);
          private int reverseByRecursion(int input, int made) {
          result = intput.charAt(0) + result;
          sw.write(number.charAt(i));
  • 통계청 . . . . 1 match
         통계청의 모든 정보는 http://www.stat.go.kr/ 에서 열람할수 있다.
  • 파스칼삼각형/변형진 . . . . 1 match
         모두가 알다시피 파스칼삼각형은 조합(Combination)에 관한 도형이다.
  • 페이지이름 . . . . 1 match
          * 이에 반하여 ["ProjectPrometheus/Estimation"]은 부모에 대한 페이지 링크가 가장 상단에 있다. 즉, 부모의 링크는 최상단, 최하단에 올수 있다. 이를 ["역링크"]라고 부른다.
  • 페이지제목띄어쓰기토론 . . . . 1 match
          거듭 말씀드리지만, 기능상으로는 제한이 없습니다. 그리고 띄어쓰기 자체가 붙여쓰기보다 나쁘다는 어처구니 없는 일반진술도 하지 않았습니다. 어떤 구체적인 컨텍스트 속에서 이야기를 해야죠. 위키네임이 주는 편리한 기능이란 단어를 붙여쓰면 자동으로 링크가 되는 것을 말합니다. 사람들이 FrontPage라고 하면 될 것을 {{{~cpp ["front page"]}}}나 {{{~cpp ["Front Page"]}}}, 혹은 {{{~cpp ["Frontpage"]}}} 등으로 링크를 걸었다는 것이죠. 또, 사실 사용자가 띄어쓰기를 하건 말건, 혹은 대소문자를 어떻게 섞어쓰건 일종의 분리층(separation layer)을 둬서 모두 동일한 페이지이름으로 매핑을 하는 방법이 있습니다. 하지만 이렇게 되면 새로운 규칙 집합(제가 말하는 규칙이란 사람들간의 규칙을 일컫습니다)이 필요할 것입니다. 국문 경우는 몰라도 영문 경우는 띄어쓰기를 하냐 안하냐가 아주 차이가 큽니다. 노스모크는 초기부터 영어 페이지이름을 많이 사용했고 현재도 그러하기 때문에 이런 문제는 꽤 중요했죠. 또 (영문 경우) 기존의 위키표준을 지킨다는 생각도 있었고요. 하지만 여기는 아직 출발단계이고 하니까 다른 실험을 해볼 수 있겠죠. 아, 그리고 생각이 난건데, 페이지이름을 띄어쓰기를 하게 되면, 사람들이 이걸 위키에서 말하는 어떤 고유한 "단어"로서의 페이지이름(위키의 페이지이름은 "단어"입니다. 그게 하나의 커뮤니케이션 단위이기 때문이죠.)이 아니고 게시판에서의 게시물 제목 수준으로 생각하게 되는 경향(affordance)이 있었습니다. 사실 위키에서의 페이지이름은 프로그래밍의 변수이름처럼 상당히 중요한 역할을 하는데, 붙여쓰기를 하게 되면 사람들에게 기존 의식틀에서 벗어나서 페이지이름이 고유한 것이고, 기존의 게시물 제목과는 다르다는 인식을 심어주는 데에 많은 도움이 되었습니다. 다른 원인도 있겠지만, 주변에서 페이지이름에 띄어쓰기 붙여쓰기 등 별 제한 없이 자유로운 곳일수록 페이지이름을 페이지이름으로 활용하지 못하는 경우를 많이 봤습니다. 만약 띄어쓰기를 허용한다면 오히려 더욱 엄격한 규칙과 이의 전파가 필요할지도 모르겠습니다.
  • 프로그래밍 . . . . 1 match
          * 2005.11.18 [프로그래밍/DigitGenerator]
  • 프로그래밍/ACM . . . . 1 match
          catch (IOException e)
  • 프로그래밍잔치/둘째날후기 . . . . 1 match
          * 팀원간 Communication 이 잘 이루어져야 하고, 역할분담이 어느정도 뚜렷해야 한다. 팀원간에 서로가 무엇을 하는지 잘 알아야 한다. (양팀 서로 나온 의견)
  • 프로그래밍잔치/첫째날후기 . . . . 1 match
         학부생이 공부해볼만한 언어로는 Scheme이 추천되었는데, StructureAndInterpretationOfComputerPrograms란 책을 공부하기 위해서 Scheme을 공부하는 것도 그럴만한 가치가 있다고 했다. 특히 SICP를 공부하면 Scheme, 영어(VOD 등을 통해), 전산이론을 동시에 배우는 일석삼조가 될 수 있다. 또 다른 언어로는 Smalltalk가 추천되었다. OOP의 진수를 보고 싶은 사람들은 Smalltalk를 배우면 큰 깨달음을 얻을 수 있다.
  • 피보나치/아영,규완,보창 . . . . 1 match
          print "What ?:"
  • 하드웨어에따른프로그램의속도차이해결 . . . . 1 match
          * hardware independent하게 게임속도를 유지하려면 매프레임 그릴때마다 이전프레임과의 시간간격을 받아와서 거기에 velocity를 곱해 position을 update하는 식으로 해야한다. 타이머를 하나 만들어 보자.
  • 한자공/시즌1 . . . . 1 match
          * static 및 패키지의 역할과 용도에 대해서 의논.
  • 호너의법칙 . . . . 1 match
         | data| 3 | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 3 |
  • 호너의법칙/김태훈zyint . . . . 1 match
          fprintf(file,"| data|");
  • 호너의법칙/조현태 . . . . 1 match
          strcpy(write_temp[3]," | data|");
  • 홈페이지분류 . . . . 1 match
         ["HomepageTemplate"]은 하나의 예가 될 수 있을 것이다.
  • 황세연 . . . . 1 match
         [http://www.cyworld.com/Myfate '''warn 불시검문''']
  • 후기 . . . . 1 match
         더 대중적인 축제를 만들 생각도 해 보았다. 사람에게 감각적인 자극을 줄 수 있는 언어나 그 언어로 만들어진 프로그램, 혹은 다른 무언가가 있으면 어떨까? Mathmetica에서 프랙탈로 삼각형을 그리는 모습을 보고 사람들은 감탄했다. 패널토론 도중에 Squeak에서 보여준 시뮬레이션 역시 놀라웠다. 마이크로칩을 프로그램하여 모르스 부호를 불빛으로 깜박거리는 모습도 신기했다. 프로그램 언어에 익숙하지 않은 다른 분야를 공부하는 참가자들은 눈에 보이지 않는 동작 보다는, 감각적인 자극에 많은 호기심을 느낄 것이다. 시각 이외에 다른 감각을 자극하는 볼거리가 준비된다면 가족끼리 대안언어축제에 놀러 올 수 있을 것 같다. 마치 구경도 하고, 직접 체험해 볼 수도 있는 전시장에 온 것 같은 기분을 낼 수 있을 것이다.
Found 2397 matching pages out of 7540 total pages (5000 pages are searched)

You can also click here to search title.

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
Processing time 0.6477 sec