E D R , A S I H C RSS

Full text search for "th"

th


Search BackLinks only
Display context of search results
Case-sensitive searching
  • MatrixAndQuaternionsFaq . . . . 770 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.
         Feel free to distribute or copy this FAQ as you please.
         I1. Important note relating to OpenGL and this document
         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?
         ARITHMETIC
         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?
         Q11. How do I multiply two matrices together?
         Q14. What is the determinant of a matrix?
         Q15. How do I calculate the determinant of a matrix?
         Q17. What is the inverse of a matrix?
         Q18. How do I calculate the inverse of an arbitary matrix?
         Q19. How do I calculate the inverse of an identity matrix?
         Q20. How do I calculate the inverse of a rotation matrix?
         Q21. How do I calculate the inverse of a matrix using Kramer's rule?
  • 영호의바이러스공부페이지 . . . . 343 matches
         This is a down and dirty zine on wich gives examples on writing viruses
         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
         get erased so you have a psycological problem with viruses, erase these
         files. This aint for you.
         001...........................Virus Spotlight, The Tiny virus
          Co-Editor, Theory Consultant - Bionic Slasher
          The first virus I would like to spotlight is the Tiny virus, lets see
          Symptoms: COMMAND.COM & .COM file growth
          Eff Length: 163 Bytes
          Detection Method: ViruScan V64+, VirexPC, F-Prot 1.12+, NAV, IBM Scan 2.00+
          The 163 COM Virus, or Tiny Virus, was isolated by Fridrik Skulason
          of Iceland in June 1990. This virus is a non-resident generic
          The first time a file infected with the 163 COM Virus is executed,
          the virus will attempt to infect the first .COM file in the
          current directory. On bootable diskettes, this file will normally
          be COMMAND.COM. After the first .COM file is infected,each time
          an infected program is executed another .COM file will attempt to
          be infected. Files are infected only if their original length is
          greater than approximately 1K bytes.
  • 영호의해킹공부페이지 . . . . 301 matches
          1. Access to computers-and anything which might teach you something
          about the way the world works-should be unlimited and total.
          Always yield to the Hands-On imperative!
          3. Mistrust Authority-Promote Decentralization.
          4. Hackers should be judged by their hacking, not bogus criteria such
          6. Computers can change (your) life for the better.
         This article is an attempt to quickly and simply explain everyone's favourite
         manner of exploiting daemons - The Buffer Overflow.
         The remote buffer overflow is a very commonly found and exploited bug in badly
         coded daemons - by overflowing the stack one can cause the software to execute
         a shell equal to its current UID - thus if the daemon is run as root, like
         A buffer is a block of computer memory that holds many instances of the same
         up over the top, or breaking their boundaries.
         A stack has the property of a queue of objects being placed one on top of the
         other, and the last object placed on the stack will be the first one to be
         removed. This is called LIFO - or last in first out. An element can be added
         to the stack (PUSH) and removed (POP). A stack is made up of stack frames,
         The stack pointer (SP) always points to the top of the stack, the bottom of it
         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
  • WikiTextFormattingTestPage . . . . 281 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
         People reviewing this wiki from the original Wiki:WardsWiki will be referred to this page. If you want to see the review, go to http://www.c2.com/cgi/wiki?WikiEngineReview.
         Other places this page appears (perhaps as an older version):
         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.
         This first section will test the Wiki:WikiOriginalTextFormattingRules.
         If a wiki properly interprets the Wiki:WikiOriginalTextFormattingRules, the text will appear as described here.
         This should appear as plain variable width text, not bold or italic.
         The original Wiki:WardsWiki text formatting rules make no provision for headings. They can be simulated by applying emphasis. See the next several lines.
         'This text, enclosed within in 1 set of single quotes, should appear as normal text surrounded by 1 set of single quotes.'
         ''This text, enclosed within in 2 sets of single quotes, should appear in italics.''
         '''This text, enclosed within in 3 sets of single quotes, should appear in bold face type.'''
         ''''This text, enclosed within in 4 sets of single quotes, should appear in bold face type surrounded by 1 set of single quotes.''''
         '''''This text, enclosed within in 5 sets of single quotes, should appear in bold face italics.'''''
         ''''''This text, enclosed within in 6 sets of single quotes, should appear as normal text.''''''
          This line, prefixed with one or more spaces, should appear as monospaced text. Monospaced text does not wrap.
          'This text, enclosed within in 1 set of single quotes and preceded by one or more spaces, should appear as monospaced text surrounded by 1 set of single quotes.'
          ''This text, enclosed within in 2 sets of single quotes and preceded by one or more spaces, should appear in monospaced italics.''
  • MoreEffectiveC++/Appendix . . . . 225 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
          * '''''The Design and Evolution of C++''''', Bjarne Stroustrup, Addison-Wesley, 1994, ISBN 0-201-54330-3. ¤ MEC++ Rec Reading, P8
         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
         For a more general reference on the language, the standard library, and how to apply it, there is no better place to look than the book by the man responsible for C++ in the first place: ¤ MEC++ Rec Reading, P10
          * '''''The C++ Programming Language (Third Edition)''''', Bjarne Stroustrup, Addison-Wesley, 1997, ISBN 0-201-88954-4. ¤ MEC++ Rec Reading, P11
         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
         If you're ready to move beyond the language itself and are interested in how to apply it effectively, you might consider my other book on the subject: ¤ MEC++ Rec Reading, P13
         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
         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.
         If you're the kind of person who likes to learn proper programming technique by reading code, the book for you is ¤ MEC++ Rec Reading, P19
         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
         Once you've mastered the basics of C++ and are ready to start pushing the envelope, you must familiarize yourself with ¤ MEC++ Rec Reading, P25
         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
  • MoinMoinFaq . . . . 207 matches
         The term ''Wiki'' is a shortened form of Wiki''''''Wiki''''''Web. A Wiki
         is a database of pages that can be collaboritively edited using a web
         A Moin''''''Moin is a wiki provided by the python wiki program Moin''''''Moin.
         === What is this good for? ===
         we have put up a wiki on our internal web site with
         ideas, etc. for people to comment on. Some pages just sit there and
         convey information. Other pages are an open invitation for discussion
         value derives from the use to which it is put. For instance, a page in
         a wiki can serve the same purpose as a discussion thread. You could
         Wikis are used internally by the guys who write [http://www.zope.org/ Zope]
         to manage their ideas and projects.
         === What are the major features of a Wiki? ===
          * Editability by anyone - A wiki page is editable by anyone with a web browser
          * ability to see the change history for a document
         === How does this compare to other collaboration tools, like Notes? ===
         A Wiki can accomplish certain things very easily, but there are
         some things it cannot do. The biggest missing
         This is an important question. In general, wiki's have
         '''NO''' security. (That's right!) Because of this, the
         of part of all of the wiki.
  • JavaScript/2011년스터디/URLHunter . . . . 179 matches
          var temp=Math.floor(Math.random()*40)+1
          var temp=Math.floor(Math.random()*10)+1;
          * The Hunter.html
          <title>The Hunter</title>
          You should kill all the monsters.<br>
          Your gun point is 'O' and Others are Monsters.
         MapLength = 50;
          this.t = g;
          this.temp = 0;
          this.templus = function(){
          this.temp++;
          if(this.temp%10 == 0)
          this.t--;
          if(this.t <= 0)
          this.right = function(){
          this.where = (this.where+1)%MapLength;
          this.left = function(){
          this.where = (this.where-1<0)? (MapLength-1): this.where-1;
          this.where = w;
          this.alive = true;
  • 경시대회준비반/BigInteger . . . . 168 matches
         * Permission to use, copy, modify, distribute and sell this software
         * 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
         * representations about the suitability of this software for any
         * purpose. It is provided "as is" without express or implied warranty.
         #include <cmath>
         namespace BigMath
          enum BigMathERROR { BigMathMEM = 1 , BigMathOVERFLOW , BigMathUNDERFLOW, BigMathINVALIDINTEGER, BigMathDIVIDEBYZERO,BigMathDomain};
          void Dump(const char *,enum BigMathERROR);
          string& DumpString (char const*,enum BigMathERROR);
          // The Size Type
          // The Data Type
          // The Base Used
          // The integer array to hold the number
          DATATYPE *TheNumber;
          // Start of the location of the number in the array
          // End of the location of the number in the array
          // True if the number is negative
          // Constructor with specified bytes
  • Garbage collector for C and C++ . . . . 163 matches
          * win32 쓰레드를 지원하려면 NT_THREADS_MAKEFILE 을 사용한다. (gc.mak 도 같은 파일 이다.)
         # This causes the collector to assume that all inaccessible
         # Finalization and the test program are not usable in this mode.
         # -DGC_SOLARIS_THREADS enables support for Solaris (thr_) threads.
         # (Clients should also define GC_SOLARIS_THREADS and then include
         # gc.h before performing thr_ or dl* or GC_ operations.)
         # -DGC_SOLARIS_PTHREADS enables support for Solaris pthreads.
         # (Internally this define GC_SOLARIS_THREADS as well.)
         # -DGC_IRIX_THREADS enables support for Irix pthreads. See README.irix.
         # -DGC_HPUX_THREADS enables support for HP/UX 11 pthreads.
         # -DGC_LINUX_THREADS enables support for Xavier Leroy's Linux threads.
         # -DGC_OSF1_THREADS enables support for Tru64 pthreads. Untested.
         # -DGC_FREEBSD_THREADS enables support for FreeBSD pthreads. Untested.
         # Appeared to run into some underlying thread problems.
         # -DGC_DGUX386_THREADS enables support for DB/UX on I386 threads.
         # -DALL_INTERIOR_POINTERS allows all pointers to the interior
         # -DSMALL_CONFIG tries to tune the collector for small heap sizes,
         # Incremental collection no longer works in this case.
         # -DLARGE_CONFIG tunes the collector for unusually large heaps.
         # Necessary for heaps larger than about 500 MB on most machines.
  • Gof/FactoryMethod . . . . 157 matches
         = Factory Method =
         Factory Method는 sub 클래스에 대해 구현 사항을 결정할수 있게 만든다.
         Factory Method 패턴은 이에 대한 해결책을 제시한다. 그것은 Document의 sub 클래스의 생성에 대한 정보를 캡슐화 시키고, Framework의 외부로 이런 정보를 이동 시키게 한다.
         Fatory Method 패턴은 이럴때 사용한다.
          * Factory Method가 생성하는 객체에 관한 인터페이스를 정의한다.
          * Procunt 형의 객체를 반환하는 Factory Method를 선언한다. Creator는 또한 기본 ConcreteProduct객체를 반환하는 factory method에 관한 기본 구현도 정의되어 있다.
          * Product객체를 만들기위한 factory method를 호출한다.
          * ConcreteProduct의 인스턴스를 반환하기 위한, factory method를 오버라이드(over ride) 한다.
         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.
         자, 역시 Factory Method 패턴에 관련한 두가지의 결론을 이야기 한다.:
         Here are two additional consequences of the Factory Method pattern:
          1. ''서브 클래스와 소통 통로 제공''(''Provides hooks for subclasses.'') Factory Method를 적용한 클래스에서 객체의 생성은 항상 직접 만들어지는 객체에 비하여 유연하다. Factory Method는 객체의 상속된 버전의 제공을 위하여, sub클래스와 연결될수 있다.(hook의 의미인데, 연결로 해석했고, 그림을 보고 이해해야 한다.)
          Ducument에제에서 Document클래스는 factory method에 해당하는, 자료를 열람하기 위한 기본 파일 다이얼로그를 생성하는 CreateFileDialog이 호출을 정의할수 있다. 그리고 Document sub클래스는 이러한 factory method를 오버 라이딩해서 만들고자 하는 application에 특화된 파일 다이얼로그를 정의할수 있다. 이러한 경우에 factory method는 추상적이지 않다. 하지만 올바른 기본 구현을 제공한다.
          2. ''클래스 상속 관게에 수평적인(병렬적인) 연결 제공''(''Connects parallel class hierarchies.'') 여태까지 factory method는 오직 Creator에서만 불리는걸 생각해 왔다. 그렇지만 이번에는 그러한 경우를 따지는 것이 아니다.; 클라이언트는 수평적(병렬적)인 클래스간 상속 관계에서 factory method의 유용함을 찾을수 있다.
         Figure클래스는 CreateManipulator라는, 서로 작용하는 객체를 생성해 주는 factory method이다. Figure의 sub클래스는 이 메소드를 오버라이드(override)해서 그들에게 알맞는 Manipulator sub클래스의 인스턴스를 (만들어, )반환한다. Figure 클래스는 아마도 기본 Manipulator인스턴스를 (만들어,) 반한하기 위한 기본 CreateManipulator를 구현했을 것이다. 그리고 Figure의 sub클래스는 간단히 이러한 기본값들을 상속하였다. Figure클래스 들은 자신과 관계없는 Manipulator들에 대하여 신경 쓸필요가 없다. 그러므로 이들의 관계는 병렬적이 된다.
         Factory Method가 두게의 클래스의 상속 관계에서 어떻게 이러한 연결과정을 정의하는지 주목하라. 그것은 서로 고유의 기능을 부여시키는 작업을 한다.
         Factory Method패턴이 적용될때 발생할수 있는 문제에 관해서 생각해 보자.:
  • TwistingTheTriad . . . . 133 matches
         http://www.object-arts.com/Papers/TwistingTheTriad.PDF
         http://www.esug.org/summerschools/2000_Southampton/twistingTheTriad/twistingTheTriad.pdf
         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.
         === TwistingTheTriad : ModelViewPresenter ===
         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.
  • 데블스캠프2012/넷째날/묻지마Csharp/Mission3/김수경 . . . . 132 matches
          /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
          /// Required method for Designer support - do not modify
          /// the contents of this method with the code editor.
          this.components = new System.ComponentModel.Container();
          this.startBtn = new System.Windows.Forms.Button();
          this.timer1 = new System.Windows.Forms.Timer(this.components);
          this.hour = new System.Windows.Forms.Label();
          this.minute = new System.Windows.Forms.Label();
          this.second = new System.Windows.Forms.Label();
          this.milli = new System.Windows.Forms.Label();
          this.label1 = new System.Windows.Forms.Label();
          this.label2 = new System.Windows.Forms.Label();
          this.label3 = new System.Windows.Forms.Label();
          this.stopBtn = new System.Windows.Forms.Button();
          this.recordBtn = new System.Windows.Forms.Button();
          this.listBox1 = new System.Windows.Forms.ListBox();
          this.SuspendLayout();
          this.startBtn.Location = new System.Drawing.Point(34, 82);
          this.startBtn.Name = "startBtn";
          this.startBtn.Size = new System.Drawing.Size(75, 23);
  • FortuneCookies . . . . 128 matches
          * "It seems strange to meet computer geeks who're still primarily running Windows... as if they were still cooking on a wood stove or something." - mbp
          * "Perl is executable line noise, Python is executable pseudo-code."
          * "Heck, I'm having a hard time imagining the DOM as civilized!" -- Fred L. Drake, Jr.
          * Some men are discovered; others are found out.
          * 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.
          * Take care of the luxuries and the necessities will take care of themselves.
          * Words are the voice of the heart.
          * He who has a shady past knows that nice guys finish last.
          * The universe is laughing behind your back.
          * The best prophet of the future is the past.
          * Even the boldest zebra fears the hungry lion.
          * Money will say more in one moment than the most eloquent lover can in years.
          * Creditors have much better memories than debtors.
          * You have a will that can be influenced by all with whom you come in contact.
          * You will overcome the attacks of jealous associates.
          * Many pages make a thick book.
          * You have the power to influence all with whom you come in contact.
          * Alimony and bribes will engage a large share of your wealth.
          * You will be married within a year.
  • DPSCChapter1 . . . . 120 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.
         Another)
         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:
          * The low-level details of the syntax and semantics of the Smalltalk language
          * 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
          * How to define and implement behavior in new classes and where these classes ought to reside in the existing class hierarchy
          * Which classes work well together as frameworks
          * Recurring patterns of object configurations and interactions and the sorts of problems for which these cooperating objects provide (at least partial) solutions
          * 현존하는 기반 class 라이브러리로부터 이용가능한 class, methods. 그리고 그 모듈들(현재는 functionality를 function 군들 또는 모듈 정도로 해석중. 태클 바람. --;)에 대해
         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).
         디자이너들-소프트웨어에만 국한하지 않은 수많은 분야에서-은 그들의 과거의 문제와, 해법에 경험을 비슷한 문제에 적용 시킨다. '''''Duego와 Genson(1996)은 전문 디자이너들이 사례를 기반으로 경험에서 인지한 지혜안에서 과거의 사례를 기억하고 그들이 배운것을 적용시키는 것에 주목한다. (생략 및 의역) ''''' 이것은 체스의 고수, 의사, 변호사 그리고 건축가들이 새로운 문제에 대응하는 추론 방식의 한 방식이다. 현재, 디자인 패턴은 소프트웨어 디자이너들이 배워온것들과 다른 분야의 디자이너(other designer)들의 경험들 모두를 감안한다. 이런 노력들은 결과적으로, "거인의 어깨에 올라서 있는것" 같은 방법으로 우리를 훌륭한 디자인에 이끌수 있다. John Vlissies(1997)은 디자인 패턴은 "전문 지식을 잡고 비전문가들이 그것을 이용하기 쉽게 해주는 것이라고 평한다. (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.
  • Kongulo . . . . 120 matches
         #!/usr/bin/env python
         # Redistribution and use in source and binary forms, with or without
         # modification, are permitted provided that the following conditions are
         # * Redistributions of source code must retain the above copyright
         # notice, this list of conditions and the following disclaimer.
         # * Redistributions in binary form must reproduce the above
         # copyright notice, this list of conditions and the following disclaimer
         # in the documentation and/or other materials provided with the
         # * Neither the name of Google Inc. nor the names of its
         # this software without specific prior written permission.
         # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
         # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
         # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
         # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
         # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
         # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
         import pythoncom
         '''A simple web crawler that pushes pages into GDS. Features include:
          - Knows basic and digest HTTP authentication
         For usage instructions, run with -h flag.
  • OOP/2012년스터디 . . . . 119 matches
         #include <math.h>
         int CalDay(int year,int month, int date);
         int PrintOutMonth(int year,int month,int line);
         int isEvent(int month, int date);
          int eMonth,eDate;
          nLine=PrintOutMonth(year,i,nLine);
          scanf("%d %d",&eMonth,&eDate);
          evt[count].M=eMonth;
         int CalDay(int year,int month,int date=1)
          if((month==1 || month==2) && isLeafYear==true) month+=12;
          result=yCode+mCode[month]+date;
         int PrintOutMonth( int year, int month, int line)
          gotoxy(0*CELL,line); printf("%d - %d",year,month);
          if(isLeafYear==true&&month==2) eDay=mEnd[0];
          else eDay=mEnd[month];
          week=CalDay(year,month,day);
          if(isEvent(month, day)==0)
         int isEvent(int month, int date)
          if(evt[i].M==month && evt[i].D==date)
         int isThirtyOne(int mth);
  • [Lovely]boy^_^/EnglishGrammer/PresentAndPast . . . . 118 matches
          This means) She is driving now, at the time of speaking. The action is not finished.
          B. I am doing something = I'm in the middle of doing something; I've started doing it and I haven't finished yet.
          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.
          C. We use the present continuous when we talk about things happening in a period around now. (today / this week / tonight, etc..)
          ex) "Is Sarah working this week?"
          We use the present contunuous when we talk about changes happening now or around now.
          ex) The population of the world is rising very fast.
          This Means) He is not driving a bus. but He drives a bus.
          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
          ex) What does thie word mean?
          In the following examples do is also the main verb( do가 메인 동사로 쓰일때도 있다. )
          D. We use the simple present when we say how often we do things ( 빈도를 나타내는 문장을 만들때는 단순 현재를 쓴다. )
          ex) In the summer Hohn usually plays tennis once or twice a week.
          Note the position of always/never/usually, etc... (before the main verb, after be verb) ( 위치 주의 )
          We use the present continuous for something that is happening at or around the time of speaking.
  • 서지혜/단어장 . . . . 116 matches
          명령적인 : 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
          (세금)추가 부담금 : he does not object to paying the levy
          음절 : 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(그는 끽소리도 못했다)
          The wrangler rounded the drove toward the tents.
          관리하다 : The pension funds are administered by commercial banks.
          집행하다 : It is no basis on which to administer law and order that people must succumb to the greater threat of force.
          무릎을 꿇다 : The town succumbed after a short siege.
          포위 작전 : Our army is laying siege to the enemy.
          인용 : 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.
          The study of history of words, their origins, and how their form and meaning have changed over time.
          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.
          식별하다 : The computer program was unable to discriminate between letters and numbers.
          practices that discriminate against women and in favour of men.
         '''ethnicity'''
          What is the difference between ethnicity and race?
          The traditional definition of race and ethnicity is related to biological and sociological factors respectively.
          invariably the reply came back, "Not now!"
          executables for stack architectures are invariably smaller than executables for register architectures.
          밀도 : Moore's law has effectively predicted the density of transistors in silicon chips.
  • BabyStepsSafely . . . . 112 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,".
          for(int i = 0; i <primes.length; ++i)
          /** @param maxValue is the generation limit.
          if(maxValue >= 2) // the only valid case
          for(i=2; i<Math.sqrt(s)+1; i++)
          // how many primes are there?
          // move the primes into the result
          // return the primes
         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.
          assertEquals(centArray.length, 25);
          for(int it = 0; it < primes.length; ++it)
          int [] primes = GeneratePrimes.generatePrimes(m_primes[m_primes.length - 1]);
          assertEquals(m_primes.length, primes.length);
          for(int i = 0; i < primes.length; ++i)
          List primes = GeneratePrimes.primes(m_primes[m_primes.length -1]);
          assertEquals(m_primes.length, primes.size());
          assertEquals(1, primes.length);
  • RandomWalk2/재동 . . . . 110 matches
         import unittest, random, os.path
          def testBoardLength(self):
          self.assertEquals((5,5),self.reader.getBoardLength())
          def testRoachPath(self):
          expectPath = [2,2,2,2,4,4,4,4,3,4,6]
          self.assertEquals(expectPath,self.reader.getPath())
          file = open(os.path.join(TXT))
          def getBoardLength(self):
          rowLength = int(self.data[0].split()[0])
          colLength = int(self.data[0].split()[1])
          return rowLength,colLength
          def getPath(self):
          path = []
          path.append(int(self.data[2][i]))
          return path
          self.row, self.col = self.reader.getBoardLength()
          self.path = self.rdr.getPath()
          for i in range(len(self.path)):
          move_row, move_col = self.dirNumber[self.path[i]]
          for i in range(self.rowLength):
  • MoreEffectiveC++/Exception . . . . 107 matches
          throw;
         방법은 올바르다. 예외시에 해당 객체를 지워 버리는것, 그리고 이건 우리가 배운 try-catch-throw를 충실히 사용한 것이다. 하지만.. 복잡하지 않은가? 해당 코드는 말그대로 펼쳐진다.(영서의 표현) 그리고 코드의 가독성도 떨어지며, 차후 관리 차원에서 추가 코드의 발생시에도 어느 영역에 보강할것 인가에 관하여 문제시 된다.
          string the Name;
          string the Address;
          list<phoneNumber> thePhones;
          Image *theImage;
          AudioClip *theAudioClip;
          :theName(name), theAddress(address), theImage(0), theAudioClip(0)
          theImage = new Image(imageFileName);
          theAudioCilp = new AudioClip( audioClipFileName);
          delete theImage;
          delete theAudioClip;
         생성자는 theImage와 theAudioClip를 null로 초기화 시킨다. C++상에서 null값이란 delete상에서의 안전을 보장한다. 하지만... 위의 코드중에 다음 코드에서 new로 생성할시에 예외가 발생된다면?
          theAudioClip = new AudioClip(audioClipFileName);
         이렇게 try-catch-throw로 말이다.
          throw;
         이렇게 해도 여전히 문제는 남는다. 무엇이냐 하면, 만약 BookEntry의 생성자중에서 AudioClip 객체 생성중에 예외를 propagate하면 바로 위 코드중 pb 포인터에 null을 반환해 버린다. 반납된 이렇게 되면 이미 정상적으로 생성된 theImage를 지우지 못하는 사태가 발생해 버리는 것이다.
         그렇다면 생성자의 내부에서 다시 try-catch-throw로 해야 할것이다.
          :theName(name), theAddress(address), theImage(0), theAudioClip(0)
          theImage = new Image(imageFileName);
  • RSSAndAtomCompared . . . . 104 matches
         feed formats. As of mid-2005, the two
         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].
         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
         IETF standards track RFC) represents the consensus of the
         within the [http://www.ietf.org/ IETF], as reviewed and approved by the IETF community and the
         [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.
         There are two popular protocols widely used with RSS, [http://www.xmlrpc.com/metaWeblogApi MetaWeblog]
         and [http://www.blogger.com/developers/api/ Blogger]. There are frequent
         [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.
          * plain text, with no markup (the default)
          * escaped HTML, like is commonly used with RSS 2.0
          * some other XML vocabulary (There is no guarantee that the recipient will be able to do anything useful with such content)
  • MobileJavaStudy/SnakeBite/FinalSource . . . . 102 matches
          g.fillRect(0, 0, getWidth(), getHeight());
          g.drawImage(splashImage, getWidth() / 2, getHeight() / 2, Graphics.HCENTER | Graphics.VCENTER);
          this.x = x;
          this.y = y;
          public Snake(int length, int xRange, int yRange) {
          this.xRange = xRange;
          this.yRange = yRange;
          for(int i = length ; i >= 1 ; i--)
          public int length() {
          return (SnakeCell)cellVector.elementAt((headIndex + index) % length());
          this.direction = direction;
          int length = length();
          for(int i = 1 ; i < length ; i++) {
          SnakeCell currentHead;
          currentHead = new SnakeCell(prevHead.x, prevHead.y);
          cellVector.insertElementAt(currentHead, headIndex);
          headIndex = (headIndex + length() - 1) % length();
          currentHead = getSnakeCell(0);
          currentHead.x = prevHead.x;
          currentHead.y = prevHead.y;
  • UML/CaseTool . . . . 101 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]]'' 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 이 유명하다.
  • MySQL 설치메뉴얼 . . . . 99 matches
         A more detailed version of the preceding description for installing a
          These commands add the `mysql' group and the `mysql' user. The
          different versions of Unix, or they may have different names such
          You might want to call the user and group something else instead
          of `mysql'. If so, substitute the appropriate name in the
          2. Pick the directory under which you want to unpack the distribution
          and change location into it. In the following example, we unpack
          the distribution under `/usr/local'. (The instructions, therefore,
          assume that you have permission to create files and directories in
          `/usr/local'. If that directory is protected, you must perform the
          3. Obtain a distribution file using the instructions in *Note
          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.
  • MobileJavaStudy/SnakeBite/Spec3Source . . . . 98 matches
          this.x = x;
          this.y = y;
          public Snake(int length, int xRange, int yRange) {
          this.xRange = xRange;
          this.yRange = yRange;
          for(int i = length ; i >= 1 ; i--)
          public int length() {
          return (SnakeCell)cellVector.elementAt((headIndex + index) % length());
          this.direction = direction;
          int length = length();
          for(int i = 1 ; i < length ; i++) {
          headIndex = (headIndex + length() - 1) % length();
          SnakeCell currentHead = getSnakeCell(0);
          currentHead.x = prevHead.x;
          currentHead.y = prevHead.y;
          currentHead.x--;
          currentHead.x++;
          currentHead.y--;
          currentHead.y++;
          private final int boardWallWidth = 4;
  • UML . . . . 98 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.
         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.
         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.
         The user starts by filling out the form, then it is checked; the result of the check determines if the form has to be filled out again or if the activity is completed.
         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.
         (However, the comprehensive scope of UML 2.0 is appropriate for [[model-driven architecture]].)
         A third problem which leads to criticism and dissatisfaction is the large-scale adoption of UML by people without the required skills, often when management forces UML upon them.
  • Refactoring/MakingMethodCallsSimpler . . . . 96 matches
         = Chapter 10 Making Method Calls Simpler =
         == Rename Method ==
         The name of a method does not reveal its purpose.
          ''Change the name of the method''
         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''
         A parameter is no longer used by the method body.
         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''
         == Parameterize Method ==
         Several methods do similar things but with different values contained in the method body.
          ''Create one method that uses a parameter for the different values''
         http://zeropage.org/~reset/zb/data/ParameterizeMethod.gif
         == Replace Paramter with Explicit Method ==
         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''
          if (name.equals("width"))
          _width = value;
         void setHeight (int arg) {
  • WikiSlide . . . . 96 matches
          * '''Open''' - everybody may read ''and'' edit everything
          * '''Uncomplicated''' - everything works in a standard browser
          * '''Simple''' - ''Content over Form'' (content counts, not the super-pretty appearance)
          * '''Secure''' - every change is archived, nothing gets lost
         == The First Steps ==
          * Help with problems or questions: HelpContents ([[Icon(help)]]) and HelpMiscellaneous/FrequentlyAskedQuestions
          * Link with User-ID ( (!) ''in any case, put a bookmark on that'')
          * WikiSandBox: Sandbox page to play around and experiment with
          * SiteNavigation: A list of the different indices of the Wiki
          * FindPage: Searching the Wiki by various methods
          * TitleIndex: A list of all pages in the Wiki
          * WordIndex: A list of all words in page titles (i.e. a list of keywords/concepts in the Wiki)
         == Using the Editor ==
         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).
         <!> After editing pages, please leave the edit form by "`Save Changes`" since otherwise your edits will be lost!
         == Tips on the Editor ==
         "`Check spelling`" examines the text for unknown words.
         Within the editor, the usual hotkeys work:
         (!) If you discover an interesting format somewhere, just use the "raw" icon to find out how it was done.
  • MoinMoinBugs . . . . 93 matches
         Back to MoinMoinTodo | Things that are MoinMoinNotBugs | MoinMoinTests contains tests for many features
         Tables don't work right if there are trailing spaces.
         ''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.''
         || This row || is ok ||
         || this row || isn't ||
         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.''
         Hmmm...I use NetScape, MsIe, MoZilla and Galeon. I haven't had a problem but some other's using MoinMoin 0.8 have intermittently lost cookies. Any ideas?
          * 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.
          * The intent is to not clutter RecentChanges with functions not normally used. I do not see a reason you want the lastest diff when you have the much better diff to your last visit.
          * 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.
  • EffectiveC++ . . . . 91 matches
          const char * const authorName = "Scott Meyers";
          * ''생성자 및 소멸자와 적절히 상호동작하기 때문에. they are clearly the superior choice.''
         === Item 5: Use the same form in corresponding uses of new and delete ===
          * ''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. - 포인터 멤버에 다시 메모리를 할당할 경우 기존의 메모리 해제와 새로운 메모리의 할당''
          * ''Deletion of the pointer in the destructor. - 소멸자에서 포인터 삭제''
         new_handler set_new_handler (new_handler p) throw ();
          static new_handler currentHandler;
         new_handler X::currentHandler; // sets currentHandler
          new_handler oldHandler = currentHandler;
          currentHandler = p;
          std::set_new_handler(currentHandler); // handler
          throw; // propagate
          // fails, call the global
          // (if there is one)
         X::set_new_handler(0); // set the X-specific
          // to nothing (i.e., null)
          // fails, throw an exception
          // immediately. (There is
          size = 1; // by treating them as
  • MobileJavaStudy/SnakeBite/Spec2Source . . . . 91 matches
          public Snake(int length, int xRange, int yRange) {
          for(int i = length ; i >= 1 ; i--)
          public int length() {
          return (SnakeCell)snakeCellVector.elementAt((snakeHeadIndex + index) % length());
          int length = length();
          for(int i = 1 ; i < length ; i++) {
          snakeHeadIndex = (snakeHeadIndex + length() - 1) % length();
          SnakeCell currentHead = getSnakeCell(0);
          currentHead.snakeCellX = prevHead.snakeCellX;
          currentHead.snakeCellY = prevHead.snakeCellY;
          currentHead.snakeCellX--;
          currentHead.snakeCellX++;
          currentHead.snakeCellY--;
          currentHead.snakeCellY++;
          private final int boardWallWidth = 4;
          private final int snakeCellWidth = 4;
          private final int canvasWidth;
          private final int boardWidth;
          private final int boardInnerWidth;
          canvasWidth = getWidth();
  • SmalltalkBestPracticePatterns/DispatchedInterpretation . . . . 91 matches
         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.
         과거로 돌아가서 데이타가 연산으로부터 불리되었을 때, 그리고 종종 그 둘이 만나야 했을 때, 인코딩 결정은 중대한 것이었다. 너의 어떠한 인코딩 결정은 연산의 많은 다른 부분들을 점차적으로 증가시켜나아갔다. 만약 잘못된 인코딩을 한다면, 변화의 비용은 막대하다. 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:.
         We could encode boolean values some other way, and as long as we provided the same protocol, no client would be the wiser.
         Sets interact with their elements like this. Regardless of how an object is represented, as long it can respond to #=and #hash, it can be put in a Set.
         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:
         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:
         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.
         * ''Have the client send a message to the encoded object. PAss a parameter to which the encoded object will send decoded messages.''
         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:
         This could be further simplified by giving Shapes the responsibility to iterate over themselves:
         The name "dispatched interpretation" comes from the distribution of responsibility. The encoded object "dispatches" a message to the client. The client "interprets" the message. Thus, the Shape dispatches message like #lineFrom:to: and #curveFrom:mid:to:. It's up to the clients to interpret the messages, with the PostScriptShapePrinter creating PostScript and the ShapeDisplayer displaying on the screen.
         '''''You will have to design a Mediating Protocol of messgaes to be sent back. Computations where both objects have decoding to do need Double Dispatch.'''''
  • DesignPatternsAsAPathToConceptualIntegrity . . . . 89 matches
         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:
         · The existence of an architecture, on top of any object/class design
         · The internal regularity (….or conceptual integrity) of the architectural 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.
         b. OMT, Coad-Yourdon, Shaer-Mellor are data driven and as such raise data dependency as the system modularization principle.
         c. Wirfs-Brock with Responsibility Driven Design (RDD) raises contract minimization as the system modularization principle.
         d. Snoeck with Event Driven Design (EDD) raises existence dependency as the 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.”
         5. EDD and RDD will generate different design patterns that meet the primary modularization principle “encapsulate the part that changes.” in different ways when applied according to their axiomatic rules. For example RDD generates Mediator, Command, Template Method and Chain of responsibility (mostly behavior) where as EDD generates Observer, Composite, and Chain of responsibility (mostly structure).
         EDO 와 RDD 는 이 1차 원리인 "변화하는 부분에 대해 캡슐화하라"와 그들의 명확한 룰들에 따라 적용될때 다른 방법들로 만나서, 다른 디자인 패턴들을 생성해 낼 것이다. 예를 들면, RDD는 Mediator, Command, TemplateMethod, ChainOfResponsibility (주로 behavior), EDD 는 Observer, Composite, ChainOfResposibility(주로 structure) 를 생성해낼것이다.
         Now putting this together with the earlier discussion about conceptual integrity we can propose some questions for discussion:
         · Are some O-O design methods better at creating an environment where design patterns are used in a generative sense?
  • 서지혜/Calendar . . . . 86 matches
          *Month class
         public class Month {
          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.month = month;
          this.length = length;
          this.startDate = startDate;
          System.out.println("MONTH : " + month);
          System.out.println("sun\tmon\ttue\twed\tthu\tfri\tsat");
          for (int i = 1; i <= length; i++) {
          private List<Month> months;
          this.year = year;
          setMonths();
          private void setMonths() {
          months = MonthFactory.getMonths(year);
          System.out.println("THIS YEAR IS : " + year + "\n\n");
          for (Month m : months) {
          * MonthFactory
  • MoinMoinTodo . . . . 84 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.
         MoinMoinRelease describes how to build a release from the SourceForge repository.
         Things to do in the near future:
          * add a nice progress page, while the dictionary cache is built
          * add a means to build the dict.cache file from the command line
          * 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).
          * Send a timestamp with the EditPage link, and then compare to the current timestamp; warn the user if page was edited since displaying.
          * 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.
          * Other things like color, icons, menu?
          * On request, send email containing an URL to send the cookie
          * 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
  • LawOfDemeter . . . . 75 matches
         within our class can we just starting sending commands and queries to any other object in the system will-
         nilly? Well, you could, but that would be a bad idea, according to the Law of Demeter. The Law of Demeter
         this topic, see [APPLETON]).
         What that means is that the more objects you talk to, the more you run the risk of getting broken when one
         of them changes. So not only do you want to say as little as possible, you don't want to talk to more
         objects than you need to either. In fact, according to the Law of Demeter for Methods, any method of an
         object should only call methods belonging to:
         any parameters that were passed in to the method.
         Specifically missing from this list is methods belonging to objects that were returned from some other
          SortedList thingy = someObject.getEmployeeList();
          thingy.addElementWithKey(foo.getKey(), foo);
         This is what we are trying to prevent. (We also have an example of Asking instead of Telling in foo.getKey
         ()). Direct access of a child like this extends coupling from the caller farther than it needs to be. The
         caller is depending on these facts:
         SortedList's add method is addElementWithKey()
         foo's method to query its key is getKey()
         Instead, this should be:
          someObject.addToThingy(foo);
         Now the caller is only depending on the fact that it can add a foo to thingy, which sounds high level
         The disadvantage, of course, is that you end up writing many small wrapper methods that do very little but
  • Java/ModeSelectionPerformanceTest . . . . 73 matches
          for (int i = 0; i < modeExecute.length; i++) {
          executeWithIfElse(modeExecute[i]);
          public void executeWithIfElse(String mode) {
          } else if (mode.equals("Three")) {
          doThree(1);
          public void doThree(int i) {
         한편으로 느껴지는 것으로는, switch 로 분기를 나눌 mode string 과 웹 parameter 와의 중복이 있을 것이라는 점이 보인다. 그리고 하나의 mode 가 늘어날때마다 해당 method 가 늘어나고, mode string 이 늘어나고, if-else 구문이 주욱 길어진다는 점이 있다. 지금은 메소드로 추출을 해놓은 상황이지만, 만일 저 부분이 메소드로 추출이 안되어있다면? 그건 단 한마디 밖에 할말이 없다. (단, 저 논문을 아는 사람에 한해서) GotoStatementConsideredHarmful.
         === 두번째 - Method reflection ===
         import java.lang.reflect.Method;
         public class MethodFullReflection {
          public void printPerformance(String[] modeExecute) throws InvocationTargetException, IllegalAccessException {
          private void executeReflection(String[] modeExecute) throws InvocationTargetException, IllegalAccessException {
          for (int i = 0; i < modeExecute.length; i++) {
          Method method = null;
          method = this.getClass().getMethod("do" + modeExecute[i], new Class[]{int.class});
          method.invoke(this, new Object[]{new Integer(1)});
          } catch (NoSuchMethodException e) {
          this.doDefault(1);
          public void doThree(int i) {
         단점 : 자바에서는 Method Reflection & Invoke 가 엄청 느리다.; 속도는 밑의꺼 참조.
  • ReadySet 번역처음화면 . . . . 73 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?'''
          '''*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?'''
          '''*What are the high-level assumptions or ground rules for the project?'''
         I assume that the user takes ultimate responsibility for the content of all their actual project documents. The templates are merely starting points and low-level guidance.
         This project does not attempt to provide powerful tools for reorganizing the templates, mapping them to a given software development process, or generating templates from a underlying process model. This project does not include any application code for any tools, users simply use text editors to fill in or customize the templates.
          '''*Is this project part of a larger effort?'''
         Yes. It is part of the Tigris.org mission of promoting open source software engineering. It is also the first product in a product line that will provide even better support to professional software developers. For more information, see [http://www.readysetpro.com ReadySET Pro] .
          '''*What is the status of this project?'''
         These templates are based on templates originally used to teach software engineering in a university project course. They are now being enhanced, expanded, and used more widely by professionals in industry.
         The template set is fairly complete and ready for use in real projects. You can [http://readyset.tigris.org/servlets/ProjectDocumentList download] recent releases. We welcome your feedback.
         For the latest news, see the [http://readyset.tigris.org/servlets/ProjectNewsList Project Announcements].
  • DPSCChapter2 . . . . 72 matches
         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.
         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?
         Don : It's this claims-processing workflow system I've been asked to design. I just can't see how the objects will work together. I think I've found the basic objects in the system, but I don't understand how to make sense from their behaviors.
         Don : Here, let me show you the section of the requirements document I've got the problem with:
          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 들에 연관되어있다.
  • Refactoring/ComposingMethods . . . . 72 matches
         = Chapter 6 Composing Methods =
         == Extract Method p110 ==
          * 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.''
         == Inline Method p117 ==
          * A method's body is just as clear as its name. [[BR]] ''Put the method's body into the body of its callers and remove the method.''
          return (moreThanFiveLateDeliveries())?2:1;
          boolean moreThanFiveLateDeliveries(){
          * 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.''
         == Replace Temp with Query p120 ==
         ["ReplaceTempWithQuery"]
          * 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.''
          // do something
          // do something
          * 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.''
          double temp = 2 * (_height + _width);
          temp = _height * _width;
          final double perimeter = 2 * (_height + width);
          final dougle area = _height * _width;
          * The code assigns to a parameter. ''Use a temporary variagle instead.''
         == Replace Method with Method Object p135 ==
  • FocusOnFundamentals . . . . 66 matches
         When I began my EE education, I was surprised to find that my well-worn copy of the "RCA
         Tube Manual" was of no use. None of my lecturers extolled the virtues of a particular tube or type
         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
         The many good ideas that underlie these approaches and tools must be taught. Laboratory exercises
         and other projects should provide students with the opportunity to use the most popular tools and
         to experiment with some new ones. However, we must remember that these topics are today's
         replacements for earlier fads and panaceas and will themselves be replaced. It is the responsibility
         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
         is a means of learning something else, not an goal in itself.
         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.
         우리가 조심해야 할 것은 어느 한 방법이 절대적이라고 하는 것과, 반대로 상대주의에 매몰되는 것 두가지 입니다. 무엇이건 괜찮다(anything goes)와 이것만이 유일하다 중 하나만 골라야 하는 것은 아닙니다.
  • [Lovely]boy^_^/EnglishGrammer/Passive . . . . 66 matches
          A. ex) This house(subject) was built in 1930. (passive)
          ex) Somebody(subject) built this house in 1930. (active)
          ex) Two hundred people are employed by the company.
          B. When we use the passive, who or what causes the action is often unknown or unimportant.(그리니까 행위주체가 누군지 모를때나 별로 안중요할때 수동태 쓴대요)
          ex) A lot of money was stolen in the robbery.
          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 cleans this room every day.
          passive) This room is cleaned every day.
          active) Somebody cleaned this room yesterday.
          passive) This room was cleaned yesterday.
          active) Somebody will clean the room later.
          passive) The room will be cleaned later.
          ex) The music was very loud and could be heard from a long way away.
          active) Somebody should have cleaned the room.
          passive) The room should have been cleaned.
          ex) I haven't received the letter yet. It might have been sent to the wrong address.
          active) The room looks nice. Somebody has cleaned it.
          passive) The room looks nice. It has been cleaned.
          active) The room looked nice. Somebody had cleaned it.
  • Refactoring/OrganizingData . . . . 65 matches
          * 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.''
          return arg >= getLow() && arg <= getHigh();
          int getHigh() {return _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.''
          * You have a reference object that is small, immutable, and awkward to manage. [[BR]] ''Turn it into a balue object.''
         == Replace Array with Object p186 ==
          * 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.''
          * 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.''
          * 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.''
          * You have a two-way associational but one class no longer needs features from the other. [[BR]]''Drop the unneeded end of the association.''
         == Replace Magic Number with Symbolic Constant p204 ==
          * You have a literal number with a paricular meaning. [[BR]] ''Crate a constant, name it after the meaning, and replace the number with it.''
          * There is a public field. [[BR]] ''Make it private and provide accessors.''
          * A method return a collection. [[BR]] ''Make it return a read-only view and provide add/remove methods.''
         == Replace Record with Data Class p217 ==
          * You need to interface with a record structure in a traditional programming environment. [[BR]]''Make a dumb data object for the record.''
         == Replace Type Code with Class p218 ==
  • Refactoring/BadSmellsInCode . . . . 64 matches
          * 같은 클래스내에 2개이상의 메소드들에 중복코드 존재시 - ExtractMethod
          * 두개 이상 서브클래스 내 중복코드시 - ExtractMethod 한뒤 PullUpField
          * 코드는 비슷하지만 똑같지는 않은 경우 - 비슷한 부분에 대해서 ExtractMethod
          * 다른 알고리즘 내에서 같은 일을 하는 메소드 - SubstituteAlgorithm
         ExtractMethod, ExtractClass, PullUpMethod, FormTemplateMethod
         == Long Method ==
          * 대부분의 경우에 대해서 - ExtractMethod
          * ExtractMethod 하는중 parameter를 많이 넘겨야 하거나, 임시변수를 많이 사용하게 되는 경우 - ReplaceTempWithQuery, IntroduceParameterObject, PreserveWholeObject, ReplaceMethodWithMethodObject
         ExtractMethod, ReplaceTempWithQuery, ReplaceMethodWithMethodObject, DecomposeConditional
         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
         ReplaceParameterWithMethod, IntroduceParameterObject, PreserveWholeObject
          * 바뀌는 부분들에 대해 MoveMethod, MoveField 하여 하나의 클래스에 넣는다. (없으면 새로 하나 클래스 생성할것)
          * Divergent Change - one class that suffers many kinds of changes
          * shotgun surgery - one change that alters many classes
         MoveMethod, MoveField, InlineClass
         MoveMethod, MoveField, ExtractMethod
         ReplaceValueWithObject, ExtraceClass, IntroduceParameterObject, ReplaceArrayWithObject, ReplaceTypeCodeWithClass, ReplaceTypeCodeWithSubclasses, ["ReplaceTypeCodeWithState/Strategy"]
          * switch-case 부분을 ExtractMethod 한 뒤, polymorphism이 필요한 class에 MoveMethod 한다. 그리고 나서 ReplaceTypeCodeWithSubclasses 나 ["ReplaceTypeCodeWithState/Strategy"] 를 할 것을 결정한다. 상속구조를 정의할 수 있을때에는 ReplaceConditionalWithPolyMorphism 한다.
  • MoreEffectiveC++/Techniques1of3 . . . . 63 matches
          { return new TextBlock(*this); }
          { return new Graphic(*this); }
         == Item 26: Limiting the number of objects of a class ==
          friend Printer& thePrinter(); // 이 friend 함수가 유일한 객체 하나를 유지 시키고
         Printer& thePrinter()
          static Printer p; // 단일의 Printer 객체(the single printer object)
         해당 디자인은 세가지의 중점으로 이해 하면 된다. '''첫번째''' Printer클래스의 생성자를 private(사역)인자로 설정한다. 이는 객체 생성을 제한한다. '''두번째''' 전역 함수인 thePrinter를 Printer클래스의 friend로 선언한다. 그래서 이 thePrinter가 첫번째에서의 제한에 상관없이 관여 가능하도록 만든다. '''마지막으로(세번째)''' 전역함수인 thePrinter 내부에 정적(static) Printer 객체를 만든다. 이는 오직 하나만의 객체를 thePrinter내부에 유지시킨다.
         thePrinter().reset();
         thePrinter().submitJob(buffer); // 상수 참조(const reference)라서,
         하지만 이렇게 구현시에는 thePrinter가 "'''전역 공간을 사용해야 한다.'''" 것으로 코드를 약하게 만든다. 알다 시피, 전역 공간의 사용은 되도록이면 피해야 하는 방법이며, thePrinter를 Printer클래스 내부에 숨기기를 추천하다. thePrinter를 Printer클래스 내부 메소드로 넣어 버리고, friend를 삭제해 보자.
          static Printer& thePrinter(); // 외부에서 호출 가능하도록 static으로 선언하고
         Printer& Printer::thePrinter() // friend만 없앴지 마찬가지 방법을 제시한다.
         Printer::thePrinter().reset();
         Printer::thePrinter().submitJob(buffer);
          friend Printer& thePrinter();
          Printer& thePrinter() // 이 friend 함수 역시 전역이 아닌
         그리고 thePrinter를 호출하려면 이제는 이렇게 해야 한다.
         PrintingStuff::thePrinter().reset();
         PrintingStuff::thePrinter().submitJob(buffer);
         using PrintingStuff::thePrinter; // thePrinter를 현재의 namespace안에서
  • ASXMetafile . . . . 62 matches
          <Ref href = "path" />
          * <Abstract>: Provides a brief description of the media file.
          * <Title>: Title of the media file.
          * <Author>: The author's name .
          * <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.
          o MARK: The logo appears in the lower right corner of the video area while Windows Media Player is connecting to a server and opening a piece of content.
          o ICON: The logo appears as an icon on the display panel, next to the title of the show or clip.
          * <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 Windows Media Services Server: File names will start with mms://.
          o HTTP Server: File names will start with http://.
          o Local or network drive: File names will start with file://.
          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.
          <Abstract>: This text will show up as a Tooltip and in the Properties dialog box
          <Title> Global title of the show </Title>
          <Author> The name of the author </Author>
  • StructuredText . . . . 62 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].
         as the minimum indentation of the paragraph. A paragraph is a
         sub-paragraph of another paragraph if the other paragraph is the last
         preceding paragraph that has a lower level.
          * 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.
          '''Note:''' This works for relative as well as absolute URLs.
          * Text enclosed in brackets which consists only of letters, digits, underscores and dashes is treated as hyper links within the document. For example:
          As demonstrated by Smith [12] this technique is quite effective.
          Is interpreted as '... by Smith <a href="#12">[12]</a> this ...'. Together with the next rule this allows easy coding of references or end notes.
          * Text enclosed in brackets which is preceded by the start of a line, two periods and a space is treated as a named link. For example:
          .. [12] "Effective Techniques" Smith, Joe ...
  • PNGFileFormat/FormatUnitTestInPythonLanguage . . . . 60 matches
         #format python
         from ThomPNG import *
          self.png = ThomPNG('tmp.png')
          def testChunkLength(self):
          # Width
          imageWidth = ord(chunkInfo[2][0]) * (256**3)
          imageWidth += ord(chunkInfo[2][1]) * (256**2)
          imageWidth += ord(chunkInfo[2][2]) * (256**1)
          imageWidth += ord(chunkInfo[2][3])
          self.assertEqual(im.size[0], imageWidth)
          # BitDepth
          bitDepth = ord(chunkInfo[2][8])
          self.assertEqual(True, bitDepth in [1,2,4,8,16])
          # CompressionMethod
          compressionMethod = ord(chunkInfo[2][10])
          # Filter Method
          filterMethod = ord(chunkInfo[2][11])
          # InterlaceMethod
          interlaceMethod = ord(chunkInfo[2][12])
          print '\nBitDepth, ColorType, CompressionMethod, FilterMethod = (%d, %d, %d, %d, %d)' \
  • 만년달력/김정현 . . . . 60 matches
          "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"
          public int getDaysInMonth(int month) {
          if(!isProperMonth(BLANK, month))
          return days[month-1];
          public int getDaysInYearMonth(int year, int month) {
          if(!isProperMonth(year, month))
          if(month==2 && isSpecialYear(year)) {
          return getDaysInMonth(month)+1;
          return getDaysInMonth(month);
          if(!isProperMonth(year, BLANK))
          private boolean isProperMonth(int year, int month) {
          return ( year > 0 ) && ( 0 < month && month <= 12 );
          private boolean isProperDate(int year, int month, int day) {
          return ( year > 0 ) && ( 0 < month && month <= 12 )
          && ( 0 < day && day <= getDaysInYearMonth(year, month) );
          public String getDayName(int year, int month, int day) {
          if(!isProperDate(year, month, day))
          int reducedDays= getTotalDaysUntil(year, month, day)%dayNames.length;
          public int getTotalDaysUntil(int year, int month, int day) {
          if(!isProperDate(year, month, day))
  • JavaNetworkProgramming . . . . 58 matches
          public class AuthException extends IOException{ //사용자 예외를 정의할때 적당한 예외 클래스의 서브클래스가 되는것이 중요한데
          public AuthException(){ //네트워킹 코드에서는 IOException이 적당하다.
          public AuthException(String detail){
          *Thread 클래스 : 보통 상속받아서 사용
          public class SubThread extends Thread{
          SubThread subThread = new SubThread();
          subThread.start(); //쓰레드 시작
          *Runnable 인터페이스 : Thread 클래스를 직접 상속받지 않은 클래스의 객체가 손쉽게 쓰레드를 생성할수 있도록 해줌
          public class ThreadDemo implements Runnable{
          protected Thread execution;
          execution = new Thread(this); //Runnable 인터페이스를 구현한 것을 넣어줌
          execution.setPriority(Thread.MIN_PRIORITY); //우선수위를 정함
          Thread myself = Thread.currentThread(); //현재 실행중인 쓰레드를 가져온다.
          synchronized(this){
          *ThreadGroup 클래스 : 여래개의 쓰레드르 그룹으로 만들어 손쉽계 Thread를 관리
          *Thread 통지(notification)메소드 : 주의해야 할 점은, 이 메소드들 호출하는 쓰레들이 반드시 synchronized 블록으로 동기화 되어야 한다는 점이다.
          public static void println(String msg) throws IOException{
          for(int i=0; i<msg.length(); ++i)
          public static void main(String[] args) throws IOException {
          for(int i=0; i<args.length;i++){
  • LinkedList/영동 . . . . 58 matches
          Node(int initialData){ //Constructor with initializing data
         int enterData(); //Function which enter the data of node
         void displayList(Node * argNode); //Function which displays the elements of linked list
          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
          else //Go to the next node if there is next node
          Node(int initialData){ //Constructor with initializing data
         int enterData(); //Function which enter the data of node
         void displayList(Node * argNode); //Function which displays the elements of linked list
         Node * reverseList(Node * argNode);//Function which reverses the sequence of the list
         void eraseLastNode(Node * argNode, Node ** argFreeNode, int * argNumberOfList, int * argNumberOfFreeSpace);//Function which deletes the last node of the list
         void getNode(Node * argNode, Node ** argFreeNode, int * argNumberOfList, int * argNumberOfFreeSpace);//Function which takes the node from free space list
          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
          displayList(firstAddress);//Display the linked list with modified data
          displayList(freeSpaceList);//Display free space list with deleted data from linked list
          displayList(firstAddress);//Display the linked list with data which are taken from free space list
          displayList(freeSpaceList);//Display the empty free space list
  • 김희성/리눅스계정멀티채팅 . . . . 58 matches
         #include<pthread.h>
         int thread_num[25]; //스레드 번호 (해당 스레드 활성화시 번호 값 + 1, 비활성화시 0)
          //ex) thread_num[스레드 번호]==스레드 번호+1
         void* rutine(void* data)//data = &thread_num[스레드 번호]
          printf("%dth client connected\n",t_num);
          printf("%dth client disconnected\n",t_num);
          thread_num[t_num-1]=0;
          //스레드가 비활성화 되었으므로 thread_num을 0으로 초기화한다.
          printf("%dth client disconnected\n",t_num);
          thread_num[t_num-1]=0;
          //스레드가 비활성화 되었으므로 thread_num을 0으로 초기화한다.
          printf("%dth client disconnected\n",t_num);
          thread_num[t_num-1]=0;
          //스레드가 비활성화 되었으므로 thread_num을 0으로 초기화한다.
          printf("%dth client's password : %s\n",t_num,buff_rcv);
          printf("%dth client made new ID\n",t_num);
          printf("%dth client disconnected\n",t_num);
          thread_num[t_num-1]=0;
          //스레드가 비활성화 되었으므로 thread_num을 0으로 초기화한다.
          printf("%dth client disconnected\n",t_num);
  • Java/CapacityIsChangedByDataIO . . . . 57 matches
         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 <-- 마지막 출력은 임의이다.
         data length: 1,000,000 capacity: 1,179,646
         data length: 0 capacity: 1,179,646 <-- 건드리지 않음
  • 권영기/web crawler . . . . 57 matches
         Python을 이용해서 Web Crawler를 제작하면서 Python의 사용법을 익히고, 원하는 웹 페이지를 긁기 위한 Web Crawler를 제작한다. (네이버웹툰(돌아온 럭키짱, 신의 탑...), 네이버 캐스트, 그 외의 각종 웹페이지..)
          * Python
          Python
          * http://docs.python.org/
          * http://coreapython.hosting.paran.com/howto/HOWTO%20Fetch%20Internet%20Resources%20Using%20urllib2.htm
          * http://docs.python.org/tutorial/controlflow.html
          * http://docs.python.org/tutorial/inputoutput.html
          say = "This is a line of text"
          part == ['This', 'is', 'a', 'line', 'of', 'text']
         Python 2.7.2+ (default, Oct 4 2011, 20:03:08)
         >>> third = 3
         >>> first, second, third = third, first, second
         >>> print first, second, third
          urllib.urlretrieve(url[, filename[, reporthook[, data]]])
          http://docs.python.org/library/urllib.html
          if os.path.isdir(mdir) is False :
          * os.chdir(path) - Change the current working directory to path.
          * os.getcwd() - Return a string representing the current working directory.
          * 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.
  • 데블스캠프2005/java . . . . 56 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.
  • Refactoring/DealingWithGeneralization . . . . 55 matches
         = Chapter 11 Dealing With Generalization =
          * Two subclasses have the same field.[[BR]]''Move the field to the superclass.''
         == Pull Up Method ==
          * You have methods with identical results on subclasses.[[BR]]''Move them to the superclass''
         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.''
         == Push Down Method ==
          * Behavior on a superclass is relevant only for some of its subclasses.[[BR]]''Move it to those subclasses.''
         http://zeropage.org/~reset/zb/data/PushDownMethod.gif
          * A field is used only by some subclasses.[[BR]]''Move the field to those subclasses.''
          * A class has features that are used only in some instances.[[BR]]''Create a subclass for that subset of features.''
          * You have two classes with similar features.[[BR]]''Create a superclass and move the common features to the superclass.''
          * Several clients use the same subset of a class's interface, or two classes have part of their interfaces in common.[[BR]]''Extract the subset into an interface.''
          * A superclass and subclass are not very different.[[BR]]''Merge them together.''
         == 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
  • OperatingSystemClass/Exam2002_2 . . . . 54 matches
         class A extends Thread
          // do something
          Thread.sleep(( (int)(3*Math.random()) )*1000);
          System.out.println("threadA got first mutex");
          // do something
          System.out.println ("threadA got second mutex");
         class B extends Thread
          // do something
          Thread.sleep(( (int)(3*Math.random()) )*1000);
          System.out.println ("threadB got second mutex");
          // do something
          System.out.println ("threadB got first mutex");
          A threadA = new A(mutexX, mutexY);
          B threadB = new B(mutexX, mutexY);
          threadA.start ();
          threadB.start ();
         4. Consider a paging system with the page table stored in memory.
          * 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)
         5. Consider the following page reference string:
         How many page faults would occur for the following replacement algorithm, assuming one, three, five, seven frames? Remember all frames are initially empty, so your first unique pages will all cost one fault each.
  • RSS . . . . 54 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.
  • 김희성/리눅스계정멀티채팅2차 . . . . 54 matches
         #include<pthread.h>
         int thread_num[25]; //스레드 번호 (해당 스레드 활성화시 번호 값 + 1, 비활성화시 0)
          //ex) thread_num[스레드 번호]==스레드 번호+1
         int thread_id[25]; //스레드 ID 번호
          //ex) 스레드 아이디 = id[thread_id[스레드 번호]]
          printf("%dth clinet try to login\n",t_num);
          printf("%dth clinet try to create ID\n",t_num);
          if(thread_num[i] && thread_id[i]>=0)
          send_m(client_socket_array[t_num-1],id[thread_id[i]]);
          if(thread_id[k]==i)
          id[thread_num[t_num-1]],&buff_rcv[j+11]);
          sprintf(buff_snd,"%s : %s",id[thread_id[t_num-1]],buff_rcv);
          if(thread_num[i] && thread_id[i]>=0)
          printf("%dth client is disconnected\n",t_num);
          thread_num[t_num-1]=0;
          thread_id[t_num-1]=0;
         void* rutine(void* data)//data = &thread_num[스레드 번호]
          printf("%dth client is connected, socket_num is %d\n",t_num, client_socket);
          thread_id[t_num-1]=-1;
          thread_id[t_num-1]=i_num;
  • OpenGL스터디_실습 코드 . . . . 53 matches
          * '''이곳에 소스는 저의 github에도 올릴 예정이니 일일히 복붙하기 귀찮으신분들은 "https://github.com/skyLibrary/OpenGL_Practice"에서 받아가세요.'''
         GLfloat windowWidth;
          //if rectangle collision to window x-axis wall, then reverse it's x-axis direction
          if(x1 > windowWidth - rsize || x1 < -windowWidth)
          //if rectangle collision to window y-axis wall, then reverse it's y-axis direction
          if(x1 > windowWidth - rsize + xstep)
          x1 = windowWidth - rsize - 1;
          else if(x1 < -(windowWidth + xstep))
          x1 = -windowWidth - 1;
          windowWidth = 100;
          glOrtho(-100.0, 100.0, -windowHeight, windowHeight, 1.0, -1.0);
          windowWidth = 100*aspectRatio;
          glOrtho(-windowWidth, windowWidth, -100.0, 100.0, 1.0, -1.0);
          * 1. use up, down, left, right key in your key board. then its direction of viewpoint will be changed.
         #include <math.h>
         //pie in math.
          glEnable(GL_POINT_SMOOTH);
          // Specify the point and move the Z value up a little
          // Refresh the Window
          glOrtho(-nRange, nRange, -nRange*h/w, nRange*h/w, nRange, -nRange);
  • InternalLinkage . . . . 52 matches
         [MoreEffectiveC++]의 Item 26 'Limiting the number of objects of a class. 를 보면 다음과 같은 부분이 있다.
         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
         Printer& thePrinter()
         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
         Object& theObject() // 이 함수는 클래스의 정적 메소드나
         Object& theObject()
         와 같은 의미가 된다. 이것은 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? )
  • 레밍즈프로젝트/프로토타입/파일스트림 . . . . 52 matches
         || 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. ||
         || Open || Safely opens a file with an error-testing option. ||
         || Close || Closes a file and deletes the object. ||
         || 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. ||
         || Seek || Positions the current file pointer. ||
         || SeekToBegin || Positions the current file pointer at the beginning of the file. ||
         || SeekToEnd || Positions the current file pointer at the end of the file. ||
         || GetLength || Retrieves the length of the file. ||
         || SetLength || Changes the length of the file. ||
         || GetPosition || Retrieves the current file pointer. ||
         || GetStatus || Retrieves the status of this open file. ||
         || GetFileName || Retrieves the filename of the selected file. ||
         || GetFileTitle || Retrieves the title of the selected file. ||
         || GetFilePath || Retrieves the full file path of the selected file. ||
         || SetFilePath || Sets the full file path of the selected file. ||
  • DebuggingSeminar_2005/AutoExp.dat . . . . 51 matches
         ; 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
         ; in this file. You can add rules for your types or change the
         ; For good examples, read the rules in this file.
         ; 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.
         ; An AutoExpand rule is a line with the name of a type, an equals
         ; sign, and text with replaceable parts in angle brackets. The
         ; part in angle brackets names a member of the type and an
         ; AutoExpand rules use the following syntax. The equals sign (=),
         ; type Name of the type (may be followed by <*> for template
         ; types such as the ATL types listed below).
         ; text Any text.Usually the name of the member to display,
         ; or a shorthand name for the member.
         ; format Watch format specifier. One of the following:
         ; For details of other format specifiers see Help under:
         ; The special format <,t> specifies the name of the most-derived
         ; type of the object. This is especially useful with pointers or
         ; If there is no rule for a class, the base classes are checked for
  • HowToBuildConceptMap . . . . 51 matches
          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.
          * Work down the list and add more concepts as needed.
          * 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.
  • LearningToDrive . . . . 51 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.' 부분도.. 아.. 부지런해야 할 프로그래머. --;
  • ReleasePlanning . . . . 50 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
         how many people are available. Time is when the project or release will be done. And quality is how good the software will be and how well tested it will be.
         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.
  • JavaScript/2011년스터디/서지혜 . . . . 48 matches
          <meta name="Author" content="">
          .btn{width:40} .btn2{width:88}
          <table border=6 width="247">
          <td width="40">
          <td width="40">
          <td width="41">
          <td width="40">
          <td width="40">
          <Td width="40" height="25">
          <td width="40" height="25">
          <td width="41" height="25">
          <td width="40" height="25">
          <td width="40" height="25">
          <td width="40">
          <td width="40">
          <td width="41">
          <td width="40">
          <td width="40">
          <td width="40">
          <td width="40">
  • 작은자바이야기 . . . . 47 matches
          * static modifier에 대해 애매하게 알고 있었는데 자세하게 설명해주셔서 좋았습니다. static은 타입을 통해서 부르는거라거나 원래 모든 함수가 static인데 객체지향의 다형성을 위해 static이 아닌 함수가 생긴거라는 설명은 신기했었습니다. object.method(message) -> MyType::method(object, method) 부분이 oop 실제 구현의 기본이라는 부분은 잊어버리지 않고 잘 기억해둬야겠습니다. 근데 파이썬에서 메소드 작성시 (self)가 들어가는 것도 이것과 관련이 있는건가요? -[서영주]
          * Python 은 PEP에 절대 권한을 가진 귀도가 그냥 의견을 모아서 정한겁니다. 원숙한 언어일수록 스펙 자체가 '원래 그런 것'은 없고, '사람간의 약속'입니다. 이하 참고자료. --NeoCoin
          * http://neopythonic.blogspot.com/2008/10/why-explicit-self-has-to-stay.html
          * http://stackoverflow.com/questions/68282/why-do-you-need-explicitly-have-the-self-argument-into-a-python-method
          * 제가 "원래 모든 함수가 static"이라는 의미로 말한건 아닌데 오해의 소지가 있었나보군요. 사실 제가 설명한 가장 중요한 사실은 말씀하신 예에서 object의 컴파일 타입의 method() 메서드가 가상 메서드라면(static이 아닌 모든 Java 메서드), 실제 어떤 method() 메서드를 선택할 것이냐에 관한 부분을 object의 런타임 타입에 의한다는 부분이었지요. 그러니까 object는 컴파일 타입과 동일하지 않은 런타임 타입을 가질 수 있으며, 다형성의 구현을 위해 implicit argument인 object(=this)의 런타임 타입에 따라 override된 메서드를 선택한다는 사실을 기억하세요. (Python에선 실제 메서드 내에서 사용할 formal parameter인 self를 explicit하게 선언할 수 있다고 보면 되겠지요.) - [변형진]
          * c++에서 상호배제 관련으로 mutex나 critical section같은거 엄청 배웠었는데 자바에서는 synchronized를 이용해서 쉽게 처리할 수 있다는게 신기했습니다. os 수업 들은지 오래 됐는데 멀티프로세스와 멀티스레드 수업을 다시 들으니까 설명을 참 잘 해주셔서 좋았습니다. 함수에만 붙일 수 있는게 아니고 보호자원을 가진 객체를 이용한 synchronized(this){ ... } 같은 부분은 나중에 스레드를 쓸 경우에 참고가 될 것 같습니다. 그리고 인터페이스와 리플렉션을 이용한 초기화를 보니 생각을 잘 하면 구체클래스가 코드에 안드러나게 할 수 있다는 점도 볼만했습니다. -[서영주]
          * Collection 일반화, 순차적 순회, 대부분의 자료구조에서 O(1), 변경하지 않는 한 thread safe
          * 지난시간에 이은 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은 다른 분이 설명좀. - [김준석]
          * 리플렉션과 제네릭스를 써서 map -> object와 object -> map을 하는 부분을 해봤습니다. 자바의 일반적인 세 가지 방식의 클래스 내 변수에 대해 getClass, getFields, getMethods를 사용해 private, 나 접근자가 있는 경우의 값을 받아왔습니다. getter를 사용해서 변수 값을 받아올 때 이름이 get으로 시작하는 다른 함수를 제외하기 위해 method.getParameterTypes().length == 0 같은 부분은 이렇게 체크해야 된다는 부분은 나중에 제네릭스 관련으로 써먹을만 할 것 같습니다. 그리고 mapToObject에서는 문제가 없었지만 objectToMap의 경우에는 제네릭스의 type erase때문에 Class<T> expectedType = T.class; 같은 코드를 사용할 수 없어서 map.put(field.getName(), (T)field.get(obj));에서 형변환의 타입 안전성을 위해 인자로 Class<T> valueType을 받아오고 valueType.isAssignableFrom(field.getType())로 체크를 하는 부분도 공부가 많이 됐습니다. - [서영주]
          * @Target : 만들고자 하는 Annotation의 대상 지정. (ElementType.TYPE, ElementType.METHOD)등
          * 함수의 체이닝을 위해서는 generics가 필요함. static method로는 체이닝을 할 수 없음.
          * Data 부분을 인터페이스로 분리 - 내부에서 FactoryMethod 패턴을 사용. factory를 통해서 객체를 생성한다. new를 사용하지 않기 때문에 구체 클래스를 숨길 수 있다.
          * factory method 패턴 사용 - factory를 숨겨주는 메소드. 뭘 만들지를 인자만 가지고 결정하는 함수. 위에서는 인자로 주는 문자열에 따라("com.mysql.jdbc.Driver") 무엇을 만들어줄지가 결정된다.
          * abstract factory패턴과 factory method 패턴의 구분
          * 생성 메소드의 인자만으로 생성되는 인스턴스의 타입이 결정될 경우 factory method
          * strategy 패턴, command 패턴, template method 패턴
          * strategy 패턴 - template method 패턴
          반면에 template method 패턴은 부모 클래스에서 전체적인 틀을 만들어 두고 행동에 해당하는 메소드를 상속 + 오버라이드 해서 확장한다.
          * template method 패턴이 사용됐다. protected로 선언된 service method가 template method에 해당되는데 abstract가 아닌 이유는 기본 구현을 주고 원하는 호출에 대해 오버라이드를 해서 사용하기 위함이다.
          * init : servlet이 불러와지면 먼저 실행되는 method. init이 실행되지 않으면 servlet이 로딩되지 않는다.
  • MoniWikiPo . . . . 46 matches
         msgid "Upload new Attachment \"%s\" on the \"%s\""
         msgid "<b>horizontal rule</b> ---- is not applied on the blog mode."
         "Sorry, can not save page because some messages are blocked in this wiki."
         msgid "Difference between yours and the current"
         msgid "Version info is not available in this wiki"
         msgid "Difference between r%s and the current"
         msgid "There are no changes found"
         msgid "Update with these Keywords"
         msgid "These pages share a similar word..."
         msgid "These pages share an initial or final title word..."
         msgid "If you can't find this page, "
         msgid "Please Login or make your ID on this Wiki ;)"
         msgid "Others"
         msgid "Normalize this page name"
         "your email address in the UserPreferences."
         msgid "Only WikiMaster can rename this page"
         msgid "with revision history"
         msgid "You are not allowed to '%s' on this page"
         msgid "You are not allowed to '%s' on this page."
         msgid "Please contact the system administrator for htaccess based logins."
  • 1002/Journal . . . . 45 matches
          * 규영이형이 Working Effectivly With Legacy Code 발표할때를 보면서 그 격에 있어 현격함을 느낌.
          반론 : 그러면, 보안이 유지되는 다른 곳에 apache authorization 등을 걸고, 해당 글을 링크걸면 어떨런지?
         읽기 준비 전 Seminar:ThePsychologyOfComputerProgramming 이 어려울 것이라는 생각이 먼저 들어서, 일단 영어에 익숙해져야겠다는 생각이 들어서 Alice in wonderland 의 chapter 3,4 를 들었다. 단어들이 하나하나 들리는 정도. 아직 전체의 문장이 머릿속으로 만들어지진 않는 것 같다. 단어 단위 받아쓰기는 가능하지만, 문장단위 받아쓰기는 힘든중.
          * Blank Error 의 에러율 변화에 대한 통계 - 이론으로 Dead Lock 을 아는 것과, 실제 Multi Thread 프로그래밍을 하는 중 Dead Lock 상황을 자주 접하는것. 어느것이 더 학습효과가 높을까 하는 생각. 동의에 의한 교육에서 그 동기부여차원에서도 학습진행 스타일이 다르리란 생각이 듬.
         10 (화): Prometheus 리팩토링 (계속진행중. 일주일째 진행중이던가. -_-a)
         http://zeropage.org/~reset/zb/data/prometheus_struct0.jpg
         구조를 살피면서 리팩토링, KeywordGenerator 클래스와 HttpSpider 등의 클래스들을 삭제했다. 테스트 96개는 아직 잘 돌아가는중. 리팩토링중 inline class 나 inline method , extract method 나 extract class 를 할때, 일단 해당 소스를 복사해서 새 클래스를 만들거나 메소드를 만들고, 이를 이용한뒤, 기존의 메소드들은 Find Usage 기능을 이용하면서 이용하는 부분이 없을때까지 replace 하는 식으로 했는데, 테스트 코드도 계속 녹색바를 유지하면서, 작은 리듬을 유지할 수 있어서 기분이 좋았다.
         http://zeropage.org/~reset/zb/data/promethues_struct.gif
         7 (토): Prometheus Test Code 추가 대장정
         Prometheus 리팩토링중. 기간을 잡지 않고 하니 엄청나게 늘어지는 것 같다. 다시 할일 목록을 구체적으로 잡고 해야겠다.
         기존의 AcceptanceTest 들이 작동을 못한다. (Python 에서 정규표현식 이용. 데이터 파싱 & 추출. Prometheus UI 가 바뀌면 다시 바뀜) 전에 구경한 것처럼 XPath 를 이용하는 방법을 궁리해보거나, Prometheus 쪽에서 XML + XSLT 를 이용하는 방법을 궁리했다. 하지만, 그러기엔 현재 Prometheus 의 JSP 부분을 전부 바꾸는데 부담이 크리라 판단, Servlet Controller 중 Service 클래스 부분에 대해 테스트 코드를 붙이는 방법을 생각해 냈다. 하지만, 막상 작성해보고 나니 그 또한 테스트 코드의 크기가 크긴 하다.
         Refactoring Catalog 정독. 왜 리팩토링 책의 절반이 리팩토링의 절차인지에 대해 혼자서 감동중.; 왜 Extract Method 를 할때 '메소드를 새로 만든다' 가 먼저인지. Extract Class 를 할때 '새 클래스를 정의한다'가 먼저인지. (절대로 '소스 일부를 잘라낸다'나 '소스 일부를 comment out 한다' 가 먼저가 아니라는 것.)
         ProjectPrometheus Refactoring 궁리하기
         그리고, 이전에 ProjectPrometheus 작업할때엔 서블릿 테스팅 방법을 몰랐다. 그래서 지금 ProjectPrometheus 코드를 보면 서블릿 부분에 대해 테스트가 없다. WEB Tier 에 대한 테스팅을 전적으로 AT 에 의존한다. 이번에 기사를 쓸때 마틴 파울러의 글을 인용, "WIMP Application 에 대해서 WIMP 코드를 한줄도 복사하지 않고 Console Application 을 만들수 있어야 한다" 라고 이야기했지만, 이는 WEB 에서도 다를 바가 없다고 생각한다.
         2 (월): ProjectPrometheus 소스 리뷰 & 리팩토링. audio book MP3 뜨기
         Prometheus 를 보면 테스트가 통과했다 안했다를 반복한다. 학교 도서관 시스템의 안정성이 그리 뛰어나지 않기 때문이다. (바꾸고 난 뒤 오히려 맨날 문제를 일으킨다. 똑같은 조건식에서 한번은 검색이 되고 한번은 검색이 안되니.. 쩝)
          throws ProtocolException, IOException {
          this.library = library;
          throws ProtocolException, IOException {
         factory method를 사용해라.
  • PrettyPrintXslt . . . . 45 matches
          XML to HTML Verbatim Formatter with Syntax Highlighting
          <xsl:output method="html" omit-xml-declaration="yes" indent="no"/>
          <xsl:with-param name="root" select="true()"/>
          <xsl:otherwise>
          </xsl:otherwise>
          <xsl:with-param name="text" select="normalize-space(.)" />
          <xsl:with-param name="attrs" select="true()" />
          <xsl:with-param name="text">
          <xsl:with-param name="text" select="." />
          </xsl:with-param>
          <xsl:with-param name="text" select="." />
          <xsl:with-param name="from" select="'>'" />
          <xsl:with-param name="to" select="'>'" />
          <xsl:with-param name="value">
          <xsl:with-param name="from" select="'<'" />
          <xsl:with-param name="to" select="'<'" />
          <xsl:with-param name="value">
          <xsl:with-param name="from"
          <xsl:with-param name="to"
          <xsl:with-param name="value"
  • PythonLanguage . . . . 45 matches
         == Python ==
          * Python 을 '실행가능한 의사코드(pseudo-code)' 라고 부르기도 한다. 그만큼 완성뒤 코드를 보면 참으로 깔끔하다.
          * 파이썬으로 프로토타입을 빨리 개발하고, 실행 속도를 요하는 부분은 C/C++ 나 자바 코드로 다시 작성해서 붙일수 있다. (["Jython"] 참고)
          * PythonXmlRpc - Python 으로 구현하는 RPC 서버 & 클라이언트 프로그램.
          * ["wxPython"] - linux, windows 둘 다 이용가능한 GUI Toolkit.
          * ["PyGame"] - Python Game Library
          * ["02_Python"] - 파이썬 세미나 페이지.
          * ["상협/Medusa"] - Python 으로 만들어진 높은 성능을 내는 인터넷 서버 프레임워크]
          * [PythonNetworkProgramming]
          * [PythonImageLibrary]
          * [GuiTestingWithWxPython]
          * [PythonMultiThreading]
          * [PythonWebProgramming]
          * [PythonForStatement]
          * [PythonFeedParser]
          * [PythonComTypes]
          * [PythonThreadProgramming]
         == Python 관련 도서 ==
         이미 다른 언어들을 한번쯤 접해본 사람들은 'QuickPythonBook' 을 추천한다. 예제위주와 잘 짜여진 편집으로 접근하기 쉽다. (두께도 별로 안두껍다!) Reference 스타일의 책으로는 bible 의 성격인 'Learning Python' 과 Library Reference 인 'Python Essential Reference' 이 있다.
         Python 으로 무엇을 할 수 있는지를 알고 싶다면 'Programming Python'를 추천.
  • WinampPluginProgramming/DSP . . . . 45 matches
         // Feel free to base any plugins on this "framework"...
         void config(struct winampDSPModule *this_mod);
         int init(struct winampDSPModule *this_mod);
         void quit(struct winampDSPModule *this_mod);
         void initpitch(struct winampDSPModule *this_mod);
         void quitpitch(struct winampDSPModule *this_mod);
         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);
         // Module header, includes version, description, and address of the module retriever function
         // this is the only exported symbol. returns our main header.
         __declspec( dllexport ) winampDSPHeader *winampDSPGetHeader2()
         // getmodule routine from the main header. Returns NULL if an invalid module was requested,
         // otherwise returns either mod1 or mod2 depending on 'which'.
         // 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
         void config(struct winampDSPModule *this_mod)
          MessageBox(this_mod->hwndParent,"This module is Copyright(C) 1997, Justin Frankel/Nullsoft\n"
  • 김동준/Project/OOP_Preview/Chapter1 . . . . 45 matches
          this.GP = null;
          this.GP = GP;
          this.GP = nGP;
          return this.GP;
          this.serialNumber = null;
          this.price = 0;
          this.builder = null;
          this.model = null;
          this.type = null;
          this.backWood = null;
          this.topWood = null;
          this.serialNumber = SN;
          this.price = price;
          this.builder = builder;
          this.model = model;
          this.type = type;
          this.backWood = backWood;
          this.topWood = topWood;
          public String getserialNumber() {return this.serialNumber; }
          public double getPrice() { return this.price; }
  • 8queen/문원명 . . . . 44 matches
          int y4th, x4th;
          int y5th, x5th;
          int y6th, x6th;
          int y7th, x7th;
          for(y7th = 0 ; y7th < 8 ; y7th++)
          for(x7th = 0 ; x7th < 8 ; x7th++)
          if( firstBoard[y7th][x7th] != board[y7th][x7th]) count++;
          for(y6th = 0 ; y6th < 8 ; y6th++)
          for(x6th = 0 ; x6th < 8 ; x6th++)
          firstBoard[y6th][x6th] = board[y6th][x6th];
          for(y4th = 0 ; y4th < 8 ; y4th++) //답 출력
          for(x4th = 0 ; x4th < 8 ; x4th++)
          cout<<"board[y3th][x4th]\t";
          for(y5th = 0 ; y5th < 8 ; y5th++) //초기화
          for(x5th = 0 ; x5th < 8 ; x5th++)
          board[x5th][y5th] = 0;
  • AcceleratedC++/Chapter6 . . . . 44 matches
         = Chapter 6 Using Library Algorithms =
          * 음. 또 새로운 것이 보이지 않는가? copy는 generic algorithm의 예이고, back_inserter는 반복자 어댑터의 예이다. 이게 무엇인지는 차근차근 살펴보도록 하자.
          * Generic algorithm이라는 컨테이너의 부분이 아닌 알고리즘이다. 파라메터로 반복자를 받는다. 비슷하지 않은가? .이 없다 뿐이지 그냥 쓰자.
          === 6.1.1 Another way to split ===
         #include <algorithm>
          // look through the entire input
          // get the rest of the \s-1URL\s0
          // remember the \s-1URL\s0
          // advance `b' and check for more \s-1URL\s0s on this line
          // characters, in addition to alphanumerics, that can appear in a \s-1URL\s0
          // see whether `c' can appear in a \s-1URL\s0 and return the negative
          // `i' marks where the separator was found
          // make sure the separator isn't at the beginning or end of the line
          // `beg' marks the beginning of the protocol-name
          // is there at least one appropriate character before and after the separator?
          // the separator we found wasn't part of a \s-1URL\s0; advance `i' past this separator
          === 6.2.1 Working with student records ===
          // read the student records and partition them
          // verify that the analyses will show us something
          cout << "No student did all the homework!" << endl;
  • CeeThreadProgramming . . . . 44 matches
         // crt_begthrdex.cpp
         //http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_crt__beginthread.2c_._beginthreadex.asp
         // compile with: /MT
         unsigned __stdcall ThreadedFunction( void* pArguments )
          printf( "In second thread...n" );
          printf( "Thread ID %d => %dn", pArguments, Counter);
          _endthreadex( 0 );
          HANDLE hThread, hThread2;
          unsigned threadID = 1;
          unsigned threadID2 = 2;
          printf( "Creating second thread...n" );
          // Create the second thread.
          hThread = (HANDLE)_beginthreadex( NULL, 0, &ThreadedFunction, NULL, 0, &threadID );
          hThread2 = (HANDLE)_beginthreadex( NULL, 0, &ThreadedFunction, NULL, 0, &threadID2 );
          // Wait until second thread terminates. If you comment out the line
          // below, Counter will not be correct because the thread has not
          //WaitForSingleObject( hThread, INFINITE );
          // Destroy the thread object.
          CloseHandle( hThread );
          CloseHandle( hThread2 );
  • Gof/Adapter . . . . 44 matches
         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.
          void GetExtent (Coord& width, Coord& height) 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.
         The BoundingBox operation converts TextView's interface to conform to Shape's.
          Coord bottom, left, width, height;
          GetExtent (width, height);
          topRight = Point (bottom + height, left + width);
         The IsEmpty operations demonstrates the direct forwarding of requests common in adapter implementations:
         Finally, we define CreateManipulator (which isn't supported by TextView) from scratch. Assume we've already implemented a TextManipulator class that supports manipulation of a TextShape.
          return new TextManipulator (this);
         The object adapter uses object composition to combine classes with different interfaces. In this approach, the adapter TextShape maintains a pointer to TextView.
         TextShape must initialize the pointer to the TextView instance, and it does so in the constructor. It must also call operations on its TextView object whenever its own operations are called. In this example, assume that the client creates the TextView object and passes it to the TextShape constructor.
          Coord bottom, left, width, height;
          _text->GetExtent (width, height);
          topRight = Point (bottom + height, left + width);
         CreateManipulator's implementation doesn't change from the class adapter version, since it's implemented from scratch and doesn't reuse any existing TextView functionality.
          return new TextManipulator (this);
         Compare this code the class adapter case. The object adapter requires a little more effort to write, but it's more flexible. For example, the object adapter version of TextShape will work equally well with subclasses of TextView -- the client simply passes an instance of a TextView subclass to the TextShape constructor.
  • MoreEffectiveC++/Miscellany . . . . 44 matches
         == Item 32: Program in the Future tense ==
         원문: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.
         좋은 소프트웨어는 변화를 잘 수용한다. 새로운 기능을 수용하고, 새로운 플랫폼에 잘 적용되고, 새로운 요구를 잘 받아 들이며, 새로운 입력을 잘 잡는다. 이런 소프트웨어는 유연하고, 강하고, 신뢰성있고, 돌발 상황(사고)에 의해 죽지 않는다. 이런 소프트웨어는 미래에 필요한 요소를 예상하고, 오늘날 구현시에 포함시키는 프로그래머들에 의해서 디자인된다. 이러한 종류의 소프트웨어는-우아하게 변화하는 소프트웨어- ''program in the future tens''(매래의 프로그램:이하 영문 직접 사용)을 감안하는 사람들이 작성한다.
         "변화한다.", 험난한 소프트웨어의 발전에 잘 견디는 클래스를 작성하라. (원문: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)으로 선언해라, 그리고 차후에 그것을 바꾸어라 왜냐하면 그것은 다른사람을 편하게 하기 때문이다.;전체 클래스의 목적에서 변화를 유지하는지 확신을 해라.
         당신의 코드를 변화가 필요할때, 그 효과를 지역화(지역화:localized) 시키도록 디자인 해라. 가능한한 캡슐화 하여라:구체적인 구현은 private 하라. 광범위하게 적용해야 할곳이 있다면 이름없는(unamed) namespace나, file-static객체 나 함수(Item 31참고)를 사용하라. 가상 기초 클래스가 주도하는 디자인은 피하라. 왜냐하면 그러한 클래스는 그들로 부터 유도된 모든 클래스가 초기화 해야만 한다. - 그들이 직접적으로 유도되지 않은 경우도(Item 4참고) if-than-else을 개단식으로 사용한 RTTI 기반의 디자인을 피하라.(Item 31참고) 항상 클래스의 계층은 변화한다. 각 코드들은 업데이트 되어야만 한다. 그리고 만약 하나를 읽어 버린다면, 당신의 컴파일러로 부터 아무런 warning를 받을수 없을 것이다.
          *this에 rhs_liz의 일반적인 할당과정 수행을 한다.
         이러한 함수는 *this가 오직 rhs가 Lizard일때만 할당을 허용한다. 만약 이것이 통과되지 못한다면, bad_cast 예외가 dynamic_cast에서 발생되어서 전달되어 진다. (정확히 표준 C++ 라이브러리에 있는 std::bad_cast 형의 객체가 날아간다. 이름 공간이 std에 관한것은 표준 라이브러리를 살피고 Item 35에도 설명되어 있다.)
          if (this == &rhs) return *this;
          virtual void resize(int newWidth, int newHeight);
          int width() const;
          int width() const { return w.width(); }
          virtual void resize(int newWidth, int newHeight);
         == Item 34: Understand how to combine C++ and C in the same program ==
         이런 문제를 해결하기 위하여, C++ 컴파일러에게 해당 함수에 name mangle을 수행하지 않도록 알려야 할 방법이 필요하다. C든, assempler, FORTRAN, Lisp, Forth나 니가 가진 무슨 언어간에, 다른 언어에서 작성되어진 name mangle 처리된 함수를 원할수 없다.(예, 이 언어들에 COBOL도 들어가겠지만 당신이 쓰는가?) 결곡, 만약 C함수인 drawLine을 호출하면 그것은 진짜로 drawLine을 호출하고, 당신의 오브젝트 코드역시 그 이름 그대로 변화없이 사용한다.
         == Item 35: Familiarize yourself with °the language standard. ==
         출반된 1990년 이후, ''The Annotated C++ Reference Manual''은 프로그래머들에게 C++에 정의에 참고문서가 되어 왔다. ARM기 나온 이후에 몇년간 ''ISO/ANSI committe standardizing the language'' 는 크고 작게 변해 왔다. 이제 C++의 참고 문서로 ARM은 더 이상 만족될수 없다.
         ''The Design and Evolution of C++''에 거의 모든 변화가 언급되어 있다. 현재 C++ 참고서(1994년 이후에 쓰여진것들)도 이 내용을 포함하고 있을 것이다. (만약 당신이 찾지 못하면 그거 버려라) 덧붙여 ''More Effective C++''(이책이다.)는 이러한 새로운 부분에 관한 대부분의 사용 방법이 언급되어 있다. 만약 당신이 이것에 리스트를 알고 싶다면, 이 책의 인덱스를 살펴보아라.
         표준 라이브러리에 일어나는 것들에 대한것에서 C++의 정확한 규정의 변화가 있다. 개다가 표준 라이브러리의 개선은 언어의 표준 만큼이나 알려지지 않는다. 예를 들어서 ''The Design and Evolution of C++'' 거의 표준 라이브러리에 관한 언급이 거의 없다. 그 책의 라이브러리에 과한 논의라면 때때로 있는 데이터의 출력이다. 왜냐하면, 라이브러리는 1994년에 실질적으로 변화되었기 때문이다.
         Fortunately, this syntactic administrivia is automatically taken care of when you #include the appropriate headers.
          === The Standard Template Library : 표준 템플릿 라이브러리 ===
  • Refactoring/MovingFeaturesBetweenObjects . . . . 44 matches
         == Move Method ==
         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
         A field is, or will be, used by another class more than the class on which it is defined.
         ''Create a new field in the target class, and change all its users.''
         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.''
         ''Move all its features into another class and delete it.''
         ''Create methods on the server to hide the delegate.''
         ''Get the client to call the delegate directly.''
         == Introduce Foreign Method ==
         A server class you are using needs an additional method, but you can't modify the class.
         ''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);
          return new Date (arg.getYear(), arg.getMonth(), arg.getDate() + 1);
         A server class you are using needs serveral additional methods, but you can't modify the class.
         ''Create a new class that contains these extra methods. Make the extension class a subclass or a wapper of the original.''
  • AVG-GCC . . . . 43 matches
          -pass-exit-codes Exit with highest error code from a phase[[BR]]
          --help Display this information'''도움말'''[[BR]]
          -dumpspecs Display all of the built in spec strings[[BR]]
          -dumpversion Display the version of the compiler'''컴파일러 버전'''[[BR]]
          -dumpmachine Display the compiler's target processor[[BR]]
          -print-search-dirs Display the directories in the compiler's search path[[BR]]
          -print-libgcc-file-name Display the name of the compiler's companion library[[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]]
          -print-multi-directory Display the root directory for versions of libgcc[[BR]]
          -print-multi-lib Display the mapping between command line options and[[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]]
          -Xlinker <arg> Pass <arg> on to the linker[[BR]]
          -pipe Use pipes rather than intermediate files[[BR]]
          -time Time the execution of each subprocess[[BR]]
          -specs=<file> Override builtin specs with the contents of <file>[[BR]]
          -std=<standard> Assume that the input sources are for <standard>[[BR]]
          -B <directory> Add <directory> to the compiler's search paths[[BR]]
  • AcceleratedC++/Chapter11 . . . . 43 matches
         == 11.1 The Vec class ==
         == 11.2 Implementing the Vec class ==
          if (&rhs != this) {
          return *this;
          * '''this 키워드의 사용'''
          this는 멤버함수 안에서 유효하다. this는 멤버함수를 호출시킨 객체의 포인터를 리턴한다.
          만약 this 키워드로 자기 대입 체크를 하지 않을 경우에는 오른쪽 객체를 해제한 뒤에 다시 왼쪽항에 대입하게 되므로 문제가 발생하게 된다.
          * '''*this 의 리턴'''
          === 11.3.6 세 법칙(rule of three) ===
          '''Rule of three''' : 복사 생성자, 소멸자, 대입 연산자가 밀접한 관계를 갖는 것을 일컬어 표현하는 말이다.
         #include <algorithm>
          iterator data; // first element in the `Vec'
          iterator avail; // (one past) the last element in the `Vec'
          iterator limit; // (one past) the allocated memory
          // allocate and initialize the underlying array
          // destroy the elements in the array and free the memory
          // destroy (in reverse order) the elements that were constructed
          // return all the space that was allocated
          // reset pointers to indicate that the `Vec' is empty again
          // allocate new space and copy existing elements to the new space
  • 기술적인의미에서의ZeroPage . . . . 43 matches
         The zero page instructions allow for shorter code and excution times by only feching the
         second byte of the instruction and assumming a zero high address byte.
         Careful use of the zero page can result in significant increase in code efficient.
         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.
         For example, the MOS Technology 6502 has only six non-general purpose registers. As a result, it used the zero page extensively. Many instructions are coded differently for zero page and non-zero page addresses:
         예를 들자면 the MOS Technology 6502 는 오직 6개의 non-general 목적을 가진 레지스터를 가지고 있었다. 결과적으로 이는 것은 제로페이지라는 개념을 폭넓게 사용하였다. 많은 명령어들이 제로페이지와 제로페이지가 아닌 어드레씽을 위해서 다르게 쓰여졌다.
         The above two instructions both do the same thing; they load the value of $00 into the A register. However, the first instruction is only two bytes long and also faster than the second instruction. Unlike today's RISC processors, the 6502's instructions can be from one byte to three bytes long.
         상기의 2개의 명령어 모두 동일한 일을 한다; 이것들은 A레지스터에 $00라는 값을 로드한다. 하지만 첫번째 명령어는 단지 2바이트길이 이고 두번째 명령어보다 더욱 빠르다. 오늘날의 RISC 프로세서와 다르게 the 6502의 명령어들은 1바이트에서 부터 3바이트의 길이가 되는 것이 가능하다.
         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.
  • 만년달력/인수 . . . . 43 matches
          static int DAYS_PER_MONTH[] = {31,28,31,30,31,30,31,31,30,31,30,31};
          int year, month;
          public Calendar(int year, int month) {
          set(year, month);
          public void set(int year, int month) {
          this.year = year;
          this.month = month;
          DAYS_PER_MONTH[1] = isLeapYear(this.year) ? 29 : 28;
          return DAYS_PER_MONTH[month - 1];
          int start = getMonthStartPoint();
          protected int getMonthStartPoint() {
          for(int i = 0 ; i < month - 1 ; ++i)
          ret += DAYS_PER_MONTH[i];
          return isLeapYear(this.year);
          for(int i = 0 ; i < expectedSet.length ; ++i) {
          int monthSet[] = {1,2,12};
          for(int i = 0 ; i < monthSet.length ; ++i) {
          calendar.set(2, monthSet[i]);
          for(int i = 0 ; i < expectedSet.length ; ++i) {
          for(int i = 0 ; i < expectedSet.length ; ++i) {
  • AcceleratedC++/Chapter7 . . . . 42 matches
         == 7.1 Containers that support efficient look-up ==
          // read the input, keeping track of each word and how often we see it
          // write the words and associated counts
         // find all the lines that refer to each word in the input
          // read the next line
          // break the input line into words
          // remember that each word occurs on the current line
          // write the results
          // write the word
          cout << *line_it; // write the first line number
          // write the rest of the line numbers, if any
          // write a new line to separate each word from the next
          || <location> || on the stairs ||
          || <location> || under the sky ||
          || <sentence> || the <noun-phrase> <verb> <location> ||
          상기의 규칙을 통해서 우리는 간단하게 {{{~cpp the table[noun-phrase, noun] jumps[verb] wherever it wants[location]}}} 같은 프로그램을 만들어 볼 수 있다.
          throw logic_error("empty rule"); // 규직이 존재하지 않는 다면 word로 전달된 규칙이 존재하지 않는 다는 말이된다.
          // generate the sentence
          // write the first word, if any
          // write the rest of the words, each preceded by a space
  • GofStructureDiagramConsideredHarmful . . . . 42 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.
         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.
         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.
         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.
         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.
         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.
  • 데블스캠프2011/셋째날/String만들기/서지혜 . . . . 42 matches
          int length;
          int lengthForSubs;
          String(const String str, const int offset, const int length);
          length = 0;
          length = i;
          values = (char*)malloc(sizeof(char) * length);
          for(i=0 ; i<length; i++)
         String::String(const String str, const int offset, const int length)
          this->offset = 0;
          this->length = length;
          values = (char*)malloc(sizeof(char) * length);
          for(i=0; i<length; i++)
          if(length <= 0)
          int i, newLength;
          newLength = this->length+i;
          char* newValues = (char*)malloc(sizeof(char) * newLength);
          for(i=0; i<newLength; i++)
          if(i < this->length)
          else if(i >= this->length)
          newValues[i] = str[i-this->length];
  • MoreEffectiveC++/Techniques2of3 . . . . 41 matches
          if (this == &rhs) return *this; // Item E17 참고
          return *this; // Item E15 참고
          return *this; // 특별히 할일은 없다.
          return *this; // 이건 알아서 --+
          // if we're sharing a value with other String objects,
          // break off a separate copy of the value for ourselves
         { return *this; }
         { if (--refCount == 0) delete this; }
          // 더미(dumb) 포인터 pointer this
          return *this;
          === Putting it All Together : 지금까지의 방법론 정리 ===
         { return *this; }
         { if (--refCount == 0) delete this; }
          return *this;
         이제 컴퓨터 우회적으로 방향을 바꾸는 부분(level)을 추가하는 방법으로 컴퓨터 과학이 처한 커다란 문제를 해결해 보자. 새로 추가될 ContHolder는 참조 세기 기능을 구현하고 있으며, 대신 RCPtr 클래스 역시 RCIPtr 클래스로 한다.("I"는 indirection(우회)의 의미로 붙은거다.) 이런 디자인은 다음과 같은 모습을 보일 것이다.
         기본 개념은 StringValue에서 적용된 방식과 비슷하다. CountHolder는 RCWidget의 클라이언트로 부터 구현 상황을 숨겨 버릴 것이다. 사실 자세한 구현은 RCIPtr에 거의 다되어 있다. 그래서 이 클래스의 구현 상황을 보자.
          struct CountHolder: public RCObject {
          ~CountHolder() { delete pointee; }
          CountHolder *counter;
          counter = new CountHolder;
  • NamedPipe . . . . 41 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.
         VOID InstanceThread(LPVOID); // 쓰레드 함수
          DWORD dwThreadId;
          HANDLE hPipe, hThread; // 쓰레드 핸들
         // The main loop creates an instance of the named pipe and
         // then waits for a client to connect to it. When the client
         // connects, a thread is created to handle communications
         // with that client, and the loop is repeated.
          // Wait for the client to connect; if it succeeds, // 클라이언트를 연결을 기다린다.
          // the function returns a nonzero value. If the function returns // 접속이 될 경우 0 아닌 값이 리턴 되며
          // Create a thread for this client. // 연결된 클라이언트를 위한 쓰레드를 생성시킨다.
          hThread = CreateThread(
          (LPTHREAD_START_ROUTINE) InstanceThread, // InstanceThread를 생성시킨다.
          (LPVOID) hPipe, // thread parameter // 쓰레드 Parameter로 hPipe 핸들값이 들어간다.
          &dwThreadId); // returns thread ID
          // 쓰레드가 생성이 되면 hThread 값이 NULL 이고 그렇지 않으면 열어 놓은 Handle값을 닫아준다.
          if (hThread == NULL)
  • 권영기/채팅프로그램 . . . . 41 matches
         #include<pthread.h>
          pthread_t pthread[2];
          pthread_create(&pthread[0], NULL, snd, (void *)NULL);
          pthread_create(&pthread[1], NULL, rcv, (void *)NULL);
          pthread_join(pthread[0], (void**)&status);
          pthread_join(pthread[1], (void**)&status);
          pthread_t pthread[2];
          pthread_create(&pthread[0], NULL, snd, (void *)NULL);
          pthread_create(&pthread[1], NULL, rcv, (void *)NULL);
          pthread_join(pthread[0], (void**)&status);
          pthread_join(pthread[1], (void**)&status);
         프로그램을 작성하면서 들었던 의문점은 Pthread_join에 관한 것입니다. 서버쪽에서 쓰레드를 쓰면서 Join을 어디다가 놔야할지를 모르겠어서 한번 빼놓고 해보니까 프로그램이 잘 작동이 되었습니다.(우연의 산물 ㅠㅠ)
         #include<pthread.h>
          pthread_t pthread[N+5];
          pthread_create(&pthread[i], NULL, rcv, (void *)i);
          //pthread_join(pthread[i], (void **)&status);
         #include <pthread.h>
          pthread_exit((void *)NULL);
          pthread_t pthread[2];
          pthread_create(&pthread[0], NULL, snd, (void *)NULL);
  • 데블스캠프2009/목요일/연습문제/MFC/서민관 . . . . 40 matches
         #undef THIS_FILE
         static char THIS_FILE[] = __FILE__;
          // Note that LoadIcon does not require a subsequent DestroyIcon in Win32
          // IDM_ABOUTBOX must be in the system command range.
          // Set the icon for this dialog. The framework does this automatically
          // when the application's main window is not a dialog
          return TRUE; // return TRUE unless you set the focus to a control
         // If you add a minimize button to your dialog, you will need the code below
         // to draw the icon. For MFC applications using the document/view model,
         // this is automatically done for you by the framework.
          CPaintDC dc(this); // device context for painting
          int x = (rect.Width() - cxIcon + 1) / 2;
          // Draw the icon
         // The system calls this to obtain the cursor to display while the user drags
         // the minimized window.
         #undef THIS_FILE
         static char THIS_FILE[] = __FILE__;
          // NOTE: the ClassWizard will add member initialization here
          // Note that LoadIcon does not require a subsequent DestroyIcon in Win32
          // NOTE: the ClassWizard will add DDX and DDV calls here
  • AcceleratedC++/Chapter14 . . . . 39 matches
         == 14.1 Handles that copy their objects ==
          if(&rhs != this) { // 자기 참조를 조사한뒤 행동방식을 결정한다.
          return *this;
          throw runtime_error("unbound Handle");
          throw runtime_error("unbound Handle");
         #include <algorithm>
          // read and store the data
          record->read(cin); // `Handle<T>::->', then `virtual' call to `read'
          // write the names and grades
          // `students[i]' is a `Handle', which we dereference to call the functions
          // no copy, assign, or destructor: they're no longer needed
          else throw std::runtime_error("uninitialized Student");
          else throw std::runtime_error("uninitialized Student");
          // allocate new object of the appropriate type
          // use `Handle<T>(T*)' to build a `Handle<Core>' from the pointer to that object
          // call `Handle<T>::operator=' to assign the `Handle<Core>' to the left-hand side
          throw std::runtime_error("unbound Ref_handle");
          throw std::runtime_error("unbound Ref_handle");
          // free the left-hand side, destroying pointers if appropriate
          // copy in values from the right-hand side
  • RandomWalk/임인택 . . . . 39 matches
         int board[40][20]; // maximum size of the board is : 40x20
          // move roach while loop is smaller than 50,000
          // prevent the roach moves outside of the board
          cout << "input size of the board" << endl;
          cout.width(4);
          cout << "Size of the board : ";
          // initizlize the vector
          // move roach while 'loop' is smaller than 50,000
          // prevent the roach moves outside of the board
          cout.width(4);
          cout << "Size of the board : ";
          // i'm not sure that this is an excessive use of 'static' keyword
          // if the roach moved outside of the board ignore that case.
          cout.width(4);
          randNum = rand.nextInt()%dir_x.length;
          public void putOnTheBoard(Board board) {
          int roaX, roaY; // watch position of the roach
          // because the roach doesn't know his position
          myRoach.putOnTheBoard(myBoard);
          * Author: Intaek Lim
  • TheJavaMan/숫자야구 . . . . 39 matches
          addWindowListener(this);
          f.add(up, "North");
          f.add(lp, "South");
          * To change the template for this generated file go to
          * @author 125
          * To change the template for this generated type comment go to
          * To change the template for this generated file go to
          * @author 125
          * To change the template for this generated type comment go to
          this.setTitle("숫 자 야 구 게 임");
          this.setSize(200, 200);
          upper.add(new UpperPanel(), "North");
          lower.add(new LowerPanel(), "South");*/
          cp.add(new LowerPanel(), "South");
          * To change the template for this generated file go to
          * @author 125
          * To change the template for this generated type comment go to
          this.setLayout(new BorderLayout());
          this.add(result, "Center");
          * To change the template for this generated file go to
  • WOWAddOn/2011년프로젝트/초성퀴즈 . . . . 39 matches
         설치된경로를 따라 Eclipse의 Profiler말고 Interpreter로 lua.exe로 path를 설정해주면 Eclipse에서 Project를 만든뒤 출력되는 Lua파일을 볼수 있다.
         http://www.wowwiki.com/Getting_the_current_interface_number
         Author도 있음.
          if count > 10000 then
          if baseName ~= nil then
          if(calc >= 0 and calc <= 127) then return 1
          elseif(calc >= 192 and calc <= 223) then return 2
          elseif(calc >= 224 and calc <= 239) then return 3
          elseif(calc >= 240 and calc <= 247) then return 4
          elseif(calc >= 248 and calc <= 251) then return 5
          elseif(calc >= 252 and calc <= 253) then return 6
          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 unicode = first * 16* 16* 16 + second * 16 * 16 + third * 16 + fourth
          local cho = math.floor(unicode / 21/ 28)
          local goong = math.floor((unicode % (21*28))/28)
          local jong = math.floor((unicode % 28))
          if len ~= 0 then -- 이거 안좋은데..
          if v.type == 3 then
  • radiohead4us/SQLPractice . . . . 39 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)
         3. For all customers who have a loan from the bank, find their names, loan numbers and loan amount. (4.2.3 The from Clause)
         4. Find the customer names, loan numbers, and loan amounts for all loans at the Perryridge branch. (4.2.3 The from Clause)
         5. For all customers who have a loan from the bank, find their names, loan numbers, and loan amount. (4.2.5 Tuple Variables)
         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)
  • 데블스캠프2012/셋째날/앵그리버드만들기 . . . . 39 matches
         <canvas id="devilsBird" width="600" height="400" style="background:#acbefb">
          this.x = start.x;
          this.y = start.y;
          this.vx = 0;
          this.vy = 0;
          this.img = new Image();
          this.img.src = "bird.png";
          this.isShoot = false;
          this.vx = dx / 100;
          this.vy = dy / 100;
          this.isShoot = true;
          this.x += this.vx * deltaTime;
          this.y += this.vy * deltaTime;
          if(this.isShoot)
          this.vy += deltaTime/1000;
          if(this.y > 400)
          this.context = elem.getContext("2d");
          this.currentBird = new Bird();
          var that = this;
          that.onMouseUp(e);
  • TellVsAsk . . . . 38 matches
         Alec Sharp, in the recent book Smalltalk by Example [SHARP], points up a very valuable lesson in few words:
         Procedural code gets information then makes decisions. Object-oriented code tells objects to do things.
          ''then 에서 than 이 되어야 하는 것이 아닐까요? 제가 원문을 못봐서 함부로 고치기는 힘들군요.''
          ''맞는 지적인데. 원문도 then 이군. 내가 해석을 than 으로 읽고 실수했네. Thanks.~''
         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.
         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!
         It is easier to stay out of this trap if you start by designing classes based on their responsibilities,
         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.
  • [Lovely]boy^_^/EnglishGrammer/PresentPerfectAndPast . . . . 38 matches
          The present perfect : have/has + past participle (have/has + 과거분사)
          B. When we use the peresent perfect, there is a connection with now. The action in the past has a result now.
          We often use the present perfect to give new information or to announce a recent happening.(새로운 정보나, 최근의 사건을 보도할때도 쓰인답니다.)
          ex1) The road is closed. There's been an accident.
          ex2) (from the news) The police have arrested two men in connection with the robbery.
          We also use the simple past some situations.( ... 어쩌라는 거야..ㅠ.ㅠ 쓸거면 확실하게 한군데만 쓰던지..;;)
          C. We ofte use the present perfect with just, already, and yet. You can also use the simple past.
          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.
          ex2) I wrote the letter, but I haven't mailed it yet. (역시 simple past 가능)
          D. Don't use the present perfect when you talk about a finished time.(이미 끝난일 가지고 현재 완료 쓰지말란다. 당연한 얘기)
          A. When we talk about a period of time that continues from the past until now, we use the present perfect.(앞에 나온말)
          ex) I've never been to China. Have you been there?
          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.)
          ex) Everything is going well. We haven't had any problems so far.
          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?
          C. We say, "It's the first time something has happened."(present perfect) (이건 뭐하자는 건지..;;)
          ex) Sarah has lost her passport again. It's the second time this has happened.(not happens)
  • 김희성/리눅스멀티채팅 . . . . 38 matches
         #include<pthread.h>
         int thread_num[25];//스레드 번호 (해당 스레드 활성화시 번호 값 + 1, 비활성화시 0)
         //ex) thread_num[스레드 번호]==스레드 번호+1
         void* rutine(void* data)//data = &thread_num[스레드 번호]
          printf("%dth client connected\n",num);
          sprintf(buff_snd,"%dth client : %s",num,buff_rcv);
          if(thread_num[i])
          thread_num[num-1]=0;
          //스레드가 비활성화 되었으므로 thread_num을 0으로 초기화한다.
          pthread_t p_thread[25];
          thread_num[i]=0;
          if(!thread_num[i])
          thread_num[i]=i+1;
          memset(&p_thread[i],0,sizeof(p_thread[i]));
          pthread_create(&p_thread[i],NULL,rutine,(void *)&thread_num[i]);
         #include<pthread.h>
         void* rcv_thread(void *data)
         void* snd_thread(void *data)
          pthread_t p_thread[2];
          memset(&p_thread[0],0,sizeof(p_thread[0]));
  • 복/숙제제출 . . . . 38 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];
         int inputEdgeLength();
         void drawSqure(int aEdgeLength, char aPattern);
          drawSqure(inputEdgeLength(), inputPattern());
         int inputEdgeLength(){
          int edgeLength;
          scanf("%d", &edgeLength);
          return edgeLength;
         void drawSqure(int aEdgeLength, char aPattern){
          int diagonalLength = 2*aEdgeLength-1;
          int area = diagonalLength*diagonalLength;
          int blankLength, drawLength;
  • Code/RPGMaker . . . . 37 matches
         = Orthogonal projection coordinate system 만들기 =
          public void onSurfaceChanged(GL10 gl, int width, int height) {
          this.m_width = width;
          this.m_height = height;
          m_width, 0.0f, 0.0f,
          m_width, m_height, 0.0f
          // z = (width/2) / tan(fov/2)
          m_cam.setPosition(m_width/2, m_height/2, (float) -(m_width/2/Math.tan(m_cam.getFOV()/2.0f)));
          Config.farPlane = Math.abs(m_cam.getPosition().z) + 1000f;
          buffer = new FrameBuffer(m_width, m_height, FrameBuffer.SAMPLINGMODE_NORMAL);
         import javax.vecmath.Vector2f;
         import com.threed.jpct.Object3D;
         import javax.vecmath.Vector2f;
         import javax.vecmath.Vector3f;
         import com.threed.jpct.Object3D;
          public RMLine(Vector2f vStart, Vector2f vEnd, float width, Color color)
          normal.scale(width/2.0f);
          public void setDepth(float depth)
          float delta = depth - this.depth;
          float a = MainRenderer.getCamera().getPosition().z - this.depth;
  • JavaScript/2011년스터디/김수경 . . . . 37 matches
          this.dancing = isDancing;
          return this.dancing;
          this._super( false );
          // Call the inherited version of dance()
          return this._super();
          // The base Class implementation (does nothing)
          this.Class = function(){};
          // Create a new Class that inherits from this class
          var _super = this.prototype;
          // Instantiate a base class (but only create the instance,
          // don't run the init constructor)
          var prototype = new this();
          // Copy the properties over onto the new prototype
          var tmp = this._super;
          // Add a new ._super() method that is the same method
          // but on the super-class
          this._super = _super[name];
          // The method only need to be bound temporarily, so we
          var ret = fn.apply(this, arguments);
          this._super = tmp;
  • NotToolsButConcepts . . . . 37 matches
         > Visual Basic , but i don't find it interesting, sorry for the vb
         > programmers, but this is my opinion).
         > languages, I saw there Python, and took a look at some python sites. I
         > saw some snippets and read some docs and liked the language a lot. But I
         > don't know if this language is well-accepted in the market and if having
         > a good python knowledge would give me a good job.
         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
         about particular technologies, the important part is learning concepts. If
         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:
         - Team work: dividing up tasks. Defining the interfaces up front to avoid
          blocking other team members who wait for you. Using a source code control
          solve a problem that could be solved a lot more efficiently by calling
          the client or writing an email - I've had problems with this myself in
          the past, I guess that's not an uncommon problem for developers.
         - Software reliability: that's a difficult one. IMO experience,
  • TFP예제/WikiPageGather . . . . 37 matches
          * '생각할 수 있는 가장 단순한 것부터 생각하라.' 디자인은 TFP 와 Refactoring의 과정만으로 어느정도 보장이 된다. TFP을 추구하는 이상 기능와 의도에 의한 모듈화가 기본적으로 이루어진다. (여태껏의 경험 -- 그래봤자 3번째지만 -- 에 의하면, TFP를 하면서 LongMethod 냄새가 난 적이 없었다. (LongMethod와 Bad Smell 에 대해서는 BadSmellsInCode를 참조하라.) 만일 중복코드 등의 문제가 발생하더라도 기존의 막무가내식 방식에 비해 그 빈도가 적다. 만일 Bad Smell 이 난다면 ["Refactoring"] 을 하면 된다. (참고로 밑의 소스는 ["Refactoring"]의 과정은 거치지 않았다.)
          * Python 이라는 툴이 참 재미있는 녀석이라 생각한다. 방식이야 basic에서의 그것이겠지만, '인터프리터언어라는 것이 쉽고 편하다' 의 이유를 다시 생각하게 해준 계기가 되었다. 일반적으로 우리가 프로그래밍을 할 때는 (여기서는 C++이라 하자) Visual C++ 을 하나만 띄어놓고 프로그래밍 하는 경우가 별로 없다. 보통 product code 를 위한 하나, 해당 함수 기능의 부분구현 (임시코드 구현)을 위한 하나. 서버-클라이언트 프로그래밍인 경우에는 3개를 띄우는 경우도 다반사이다. Python 의 shell 은 임시코드를 구현하는데 매우 편리한 도구이다. (한편 이쯤되면 검문이 필요하다. VS 2-3개 띄우는 거랑 python IDLE을 2-3개 띄우는 거랑 다를바가 뭐냐.. --; 내가 말하고 싶은 것은 C++이나 PHP에 파이썬처럼 공통 인터프리터 쉘이 있었으면 하는 것. -_a 흐흐..) 암튼. 나는 모인모인소스를 보면서 제목 검색 관련 일부 코드를 짤라서 쉘에서 간단히 실행해보고 검토하고 실제 소스에 적용해볼 수 있었다.
         === 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"])
          strings = '''["Testing"] ["Testing The Program"] higu TestFirst twet'''
          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' +
          '[[Include(ActiveX,Test,1)]]\n\n=== Python ===\n["Python"]\n\n' +
         suite = unittest.makeSuite (WikiPageGatherTestCase, "test")
  • User Stories . . . . 37 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.
  • LoadBalancingProblem/임인택 . . . . 36 matches
          * @author Administrator
          * To change this generated comment edit the template variable "typecomment":
          * To enable and disable the creation of type comments go to
          * @author Administrator
          * To change this generated comment edit the template variable "typecomment":
          * To enable and disable the creation of type comments go to
          for(int i=0; i<sData.length; i++)
          assertEquals(10, data__.length);
          * @author Administrator
          * To change this generated comment edit the template variable "typecomment":
          * To enable and disable the creation of type comments go to
          for(int i=0; i<_processor.length; i++)
          for(int i=0; i<data.length; i++)
          int average = sum/_processor.length;
          int remain = sum%_processor.length;
          else if( pos<_processor.length-1 && checkRight(pos) && _processor[pos]!=0) {
          if( pos==_processor.length ) {
          for(int i=0; i!=_processor.length; i++) {
          for(int i=0; i!=_processor.length; i++) {
          int average = getSumOfJob() / _processor.length;
  • RelationalDatabaseManagementSystem . . . . 36 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.
         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.
         = thread =
  • 레밍즈프로젝트/프로토타입/STLLIST . . . . 36 matches
         || GetHead || Returns the head element of the list (cannot be empty). ||
         || GetTail || Returns the tail element of the list (cannot be empty). ||
         || RemoveHead || Removes the element from the head of the list. ||
         || RemoveTail || Removes the element from the tail of the list. ||
         || AddHead || Adds an element (or all the elements in another list) to the head of the list (makes a new head). ||
         || AddTail || Adds an element (or all the elements in another list) to the tail of the list (makes a new tail). ||
         || RemoveAll || Removes all the elements from this list. ||
         || GetHeadPosition || Returns the position of the head element of the list. ||
         || GetTailPosition || Returns the position of the tail element of the list. ||
         || GetNext || Gets the next element for iterating. ||
         || GetPrev || Gets the previous element for iterating. ||
         || 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. ||
         || Find || Gets the position of an element specified by pointer value. ||
         || FindIndex || Gets the position of an element specified by a zero-based index. ||
         || GetCount || Returns the number of elements in this list. ||
         || IsEmpty || Tests for the empty list condition (no elements). ||
  • C/C++어려운선언문해석하기 . . . . 35 matches
         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
         function that take two floats and returns a pointer to a pointer to a char)는 다음과 같이 선언합니다.
         (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
         direction should be reversed. Once everything in the parentheses has been parsed, jump out of it. Continue till the whole
         1. Start from the variable name -------------------------- fp1
         2. Nothing to right but ) so go left to find * -------------- is a pointer
         3. Jump out of parentheses and encounter (int) --------- to a function that takes an int as argument
         5. Jump put of parentheses, go right and hit [10] -------- to an array of 10
         1. Start from the variable name --------------------- arr
         4. Jump out of parentheses, go right to find () ------ to functions
         5. Go left, encounter * ----------------------------- that return pointers
         7. Go left, find * ----------------------------------- that return pointers
         float ( * ( *b()) [] )(); // b is a function that returns a
         void * ( *c) ( char, int (*)()); // c is a pointer to a function that takes
         // function that takes no
  • Emacs . . . . 35 matches
          * tramp 로 ssh 사용하기 : M-x-f {{{/ssh:you@remotehost|sudo:remotehost:/path/to/file}}}
         == Python 사용하기 ==
         이를 위해 먼저 [http://www.emacswiki.org/cgi-bin/wiki/PythonMode PythonMode]를 [http://sourceforge.net/projects/python-mode/ Download]합니다.
         물론 Python이 이미 설치되어있어야 합니다.
         Python을 Emacs에서 쓰려니까 환경변수 설정하는데 한 번 삽질하고 경로 잡아주는데 또 삽질 했습니다.
          (autoload 'python-mode "python-mode" "Python Mode." t)
          (add-to-list 'auto-mode-alist '("\.py\'" . python-mode))
          (add-to-list 'interpreter-mode-alist '("python" . python-mode))
         경로 잡아주기는 순전히 주변지식이 부족한 탓이었습니다. 파이선 폴더가 윈도우 환경변수인 PATH에 등록되지 않아서 그랬습니다. 이 역시 제어판->시스템->고급->환경변수 안에서 수정할 수 있습니다.
          * Emacs의 확장 기능은 .el(Emacs Lisp 확장자) 파일을 읽어오는 방법으로 이루어진다. 따라서 .el 파일만 있으면 확장 기능을 사용할 수 있는데, ELPA 이전까지는 통일된 .el 파일의 배포 방법이 없었기 때문에 기능을 추가하려면 직접 파일을 (EmacsWiki나 github이나 다양한 방식으로) 다운받아야 하는 불편함을 감수해야 했다. ELPA는 이러한 흩어진 파일(= 확장 기능)들을 통합해서 받을 수 있는 기능을 제공하고 있다.
          * [https://github.com/technomancy/package.el/blob/master/package.el package.el]을 컴퓨터에 저장한다. 저장 위치는 아무 곳이나 상관 없지만 되도록이면 HOME 디렉토리에 .emacs.d 디렉토리를 만들어서 그 안에 넣어 주도록 하자.
          * 추천 패키지 : [Anything] or [helm], [auto-complete], [tabbar], [ecb], [yasnippet]
          1. cedet github에 들어가서 압축파일을 받는다.([http://sourceforge.net/projects/cedet/])
         ;; 'warning: cedet-called-interactively-p called with 0 arguments, but requires 1' error repairing
         ;; *This enalbes the database and idle repasitiory
          2. 현제 emacs의 최신버젼은 24.*대이다. 그리고 이 버젼대의 emacs는 내부적으로 cedet이 설치되어있다고 한다. 이 cedet의 버젼과 ecb의 버젼 사이에 버그때문에 ecb 환경설정을 하려하면 어려움이 많다. 열심히 삽질해서 알아본 결과 어떤 외국 신사분이 버그 fix후 report하기전에 반영이 늦을것같기에 미리 github에 올려두신 수정 버전이 있다.([https://github.com/alexott/ecb/]) 여기에서 ecb의 압축파일을 받는 것부터 시작을 한다.
         (add-to-list 'load-path "ecb압축을 푼 폴더 경로를 적습니다.")
         (add-to-list 'load-path "~/.emacs.d/ecb-master")
         === color-theme plugin ===
         emacs 배경색, 글자색 theme를 제공하는 플러그인이다.
  • MagicSquare/재동 . . . . 35 matches
          self.boardLength = 0
          self.boardLength = arg
          for i in range(self.boardLength+1):
          for j in range(self.boardLength+1):
          for i in range(self.boardLength+1):
          for j in range(self.boardLength+1):
          self.board[i][self.boardLength] = -1
          col = self.boardLength / 2
          while self.count != self.boardLength*self.boardLength+1:
          if row < 1 and col > self.boardLength-1:
          row = self.boardLength
          elif col > self.boardLength-1:
          for i in range(1,self.boardLength+1):
          for j in range(self.boardLength):
          boardLength = 3
          self.counter.setBoard(expectBoard,boardLength)
          def setBoard(self,board,boardLength):
          self.boardLength =boardLength
          self.col = self.boardLength / 2
          return self.row < 0 and self.col > self.boardLength - 1
  • ProgrammingLanguageClass/2006/Report3 . . . . 35 matches
         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
         though it is difficult to avoid run-time overhead in the execution of thunks, sometimes it
         Suppose that whenever a programmer wants to pass a parameter by name in C, it is
         required to prefix the keyword name just in front of both the actual and formal
         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
         parameter-passing method. The preprocessor should transform C programs with name
         parameters into pure C programs so that the transformed programs manage to handle
         parameters prefixed with name as if they were called by name without causing any
         숙제의 이해를 위해서 우선 thunks 라는 단어의 의미를 알아야합니다.
         thunks 는 두가지 의미로 해석됩니다. 첫번째, 함수형 언어에서 말하는 지연형 계산 두번째, 호환성의 이유로 서로다른 데이터형 간의 매핑을 행하는 행위
         이번 숙제에서 구현하려는 것은 첫번째의 의미로 지연형 계산(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
         3) You have to show off the robustness of your program by checking various
         제시된 문제는 상기와 같으며, 이는 100번째의 조화수를 구하는 문제를 해결하는 방법입니다. 차후에 그 이름도 유명한 Knuth 님께서 Man Boy Test로 발전시켰습니다.
         cf) Jensen's Device, Man Boy Test 는 Compiler Theory 의 한 항목들입니다.
         You should follow the guideline suggested later. To be specific, your report is
         The external documentation should explain your program in detail so that we can
  • ProjectSemiPhotoshop/SpikeSolution . . . . 35 matches
          void SetHandle(HANDLE hHandle);
          HDIB GetHandle() {return m_hImage;}
          int GetHeight() {return m_Size.cy;}
          int GetWidth() {return m_Size.cx;}
          int GetRealWidth() {return WIDTHBYTES((GetWidth()*GetBitCount()));}
         DWORD WINAPI DIBWidth(LPSTR lpDIB)
          LPBITMAPCOREHEADER lpbmc; // pointer to an other-style DIB
          /* point to the header (whether Win 3.0 and old) */
          /* return the DIB width if it is a Win 3.0 DIB */
          return lpbmi->biWidth;
          else /* it is an other-style DIB, so return its width */
          return (DWORD)lpbmc->bcWidth;
          LPBITMAPCOREHEADER lpbmc; // pointer to an other-style DIB
          /* point to the header (whether old or Win 3.0 */
          /* return the DIB height if it is a Win 3.0 DIB */
          else /* it is an other-style DIB, so return its height */
          /* calculate the size required by the palette */
          /* If this is a Windows-style DIB, the number of colors in the
          * color table can be less than the number of bits per pixel
          * If this is the case, return the appropriate value.
  • 데블스캠프2006/월요일/함수/문제풀이/이차형 . . . . 34 matches
         int third();
         int fourth();
         int fifth();
         int sixth();
         int seventh();
          int brother=0;
          brother = number%7+1;
          if(brother==1)
          else if(brother==2)
          else if(brother==3)
          third();
          else if(brother==4)
          fourth();
          else if(brother==5)
          fifth();
          else if(brother==6)
          sixth();
          else if(brother==7)
          seventh();
          third();
  • AcceleratedC++/Chapter13 . . . . 33 matches
          double thesis; // 논문관련 점수를 저장하는 멤버변수
          in >> thesis;
          in >> thesis; // thesis는 Core가 아니라 Grad의 멤버 변수이므로 범위 지정 연산자를 사용해서는 안된다.
          '''thesis가 적용된 점수를 리턴하는 Grad::grade() 함수'''
          return min(Core::grade(), thesis); // min()은 <algorithm>에 정의된 함수이다.
          Grad():thesis(0) {}
          Grad의 생성자는 Core의 생성자가 midterm, final을 초기화 한다는 가정하에서 thesis만을 초기화하고 있습니다. 이러한 초기화는 암묵적으로 행하여진다.
          Grad(): thesis(0) { }
          double thesis;
         #include <algorithm>
         // this code almost works; see 13.3.2/242
          // read and store the data
          // pass the version of `compare' that works on pointers
          // write the names and grades
          // `students[i]' is a pointer that we dereference to call the functions
          delete students[i]; // free the object allocated when reading
          else throw std::runtime_error("uninitialized Student");
          else throw std::runtime_error("uninitialized Student");
          virtual Core* clone() const { return new Core(*this); }
          Grad* clone() const { return new Grad(*this); } // 본래 virtual 함수에서는 기본클래스와 파생클래스에서
  • Android/WallpaperChanger . . . . 33 matches
          private String selectedImagePath;
          /** Called when the activity is first created. */
          selectedImagePath = getPath(selectedImageUri);
          public String getPath(Uri uri) {
          .getColumnIndexOrThrow(MediaStore.Images.Media.DATA);
          * {{{ manager.setBitmap(Bitmap.createScaledBitmap(b, d.getWidth()*4, d.getHeight(), true)); }}} 왜 * 4냐면 내 폰에 배경화면이 4칸이라 답하겠더라
          /** Called when the activity is first created. */
          WallpaperManager manager = WallpaperManager.getInstance(MywallpaperActivity.this);
          manager.setBitmap(Bitmap.createScaledBitmap(b, d.getWidth()*4, d.getHeight(), true));
          startHelloService();
          private void startHelloService() {
          mService = startService(new Intent(this, MyService.class));
          // this : 서비스 처리의 본체인 run 메소드. Runnable 인터페이스를 구현 필요.
          mHandler.postDelayed(this, TIMER_PERIOD);
          mHandler.postDelayed(this, TIMER_PERIOD);
          || 4/25 || PathRepository를 ArrayList로 Parcelable객체로 만드는것을 성공 순서도상의 DB접근을 제한을 두어야할것 같음. 문제점 : WallpaperManagerActivity에서 Add시키고 setting하는데 객체가 날아감. 우짬.. 아! 우선 만들어놓고 setting할때만 DB에 저장시키는 방식으로 해야겠다.그리고 0으로 index가 없는것과 있는것을 표기해서 update혹은 새로 만들기를 실행하도록 하고. ||
          || 4/26 || 전체 Activity간의 Parcel데이타를 넘길수 있게 코드를 리펙토링(Refactoring)함. DB의 연결문제를 삭제 삽입 목록에 flag를 달아 해결. 파일을 선택해서 Path와 Name을 보여주는 Activity의 Thumnail을 만들어 보여주게함. Refactoring후 Service 잘작동 확인. ||
          * Thumnail제작을 위한 Multi-Thread방식 Image Loading : http://lifesay.springnote.com/pages/6615799
          * Thumnail자동 제작해주는 API. 성능은 모르겠다 : http://code.google.com/p/thumbnailator/
          * Image Gallery에서 선택후 크기 조절해서 가져오는 Crop : http://www.androidworks.com/crop_large_photos_with_android
  • CivaProject . . . . 33 matches
          int length;
          Array(int length) throw() : length(length) {
          values = new ElementType[length];
          length = sizeof(newValues) / sizeof(ElementType);
          values = new ElementType[length];
          for (index = 0; index < length; index++) {
          ElementType operator[] (int index) throw() {
          const ElementType operator[] (int index) const throw() {
          size_t getLength() {
          return length;
          virtual int length() = NULL;
          virtual int getHashCode() {
          return reinterpret_cast<int>(this);
          return (this == obj.get());
          void wait(long timeout) throw() {/*차후 추가*/} //InterruptedException
          void wait(long timeout, int nanos) throw() { //InterruptedException
          throw ;//new IllegalArgumentException("timeout value is negative");
          throw ;//new IllegalArgumentException("nanosecond timeout value out of range");
          void wait() throw() { //InterruptedException
          virtual Object_Handle clone() throw() {
  • Gof/Visitor . . . . 33 matches
         이러한 operations들의 대부분들은 [variable]들이나 [arithmetic expression]들을 표현하는 node들과 다르게 [assignment statement]들을 표현하는 node를 취급할 필요가 있다. 따라서, 각각 assignment statement 를 위한 클래스와, variable 에 접근 하기 위한 클래스, arithmetic expression을 위한 클래스들이 있어야 할 것이다. 이러한 node class들은 컴파일 될 언어에 의존적이며, 또한 주어진 언어를 위해 바뀌지 않는다.
          - 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.
          - may provide a high-level interface to allow the visitor to visit its elements. [[BR]]
          - may either be a composite (See CompositePattern) or a collection such as a list or a set. [[BR]]
          // and so on for other concrete elements
          virtual void Accept (Visitor& v) { v.VisitElementA (this); }
          virtual void Accept (Visitor& v) { v.VisitElementB (this); }
          v.VisitCompositeElement (this);
          // and so on for other concrete subclasses of Equipment
          visitor.VisitFloppyDisk (this);
          visitor.VisitChassis (this);
  • MajorMap . . . . 33 matches
         == Instructions:language of the Computer ==
         InstructionSetArchtecture(ISA) is an abstract interface between the hardware and the lowest-level sogtware. Also called simply architecture.
         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.
         == Arithmetic for Computer ==
         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]
  • 새싹교실/2012/startLine . . . . 33 matches
          * 서민관 - 제어문의 사용에 대한 수업(if문법, switch.. for...) 몇몇 제어문에서 주의해야 할 점들(switch에서의 break, 반복문의 종료조건등..) 그리고 중간중간에 쉬면서 환희가 약간 관심을 보인 부분들에 대해서 설명(윈도우 프로그래밍, python, 다른 c함수들) 저번에 생각보다 진행이 매끄럽지 않아서 이번에도 진행에 대한 걱정을 했는데 1:1이라 그런지 비교적 진행이 편했다. 그리고 환희가 생각보다 다양한 부분에 관심을 가지고 질문을 하는 것 같아서 보기 좋았다. 새내기들이 C를 배우기가 꽤 힘들지 않을까 했는데 의외로 if문이나 for문에서 문법의 이해가 빠른 것 같아서 좀 놀랐다. printf, scanf나 기타 헷갈리기 쉬운 c의 기본문법을 잘 알고 있어서 간단한 실습을 하기에 편했다.
          * 포인터 2회차. 포인터 변수에 대해서 잠깐 리뷰를 하고 그 후에 구조체와 typedef에 대해서 다루었다. 그리고 구조체를 인자로 받는 함수에 대해서도 다루었다. 그 후에 typedef int* SOMETHING이라는 표현을 써서 이중 포인터에 대해서 이야기를 해 봤는데, 이쪽은 역시 약간 난이도가 있는 것 같다. 특히 int **twoDim에서 twoDim[0]에 다시 malloc을 해 줘야 한다는 부분이 어려운 것 같다. 차근차근 해보자. 개인적으로 성훈이가 가르친 부분들을 잘 따라오려고 한다는 것을 (*s).age에서 느꼈다. ->연산자가 아니라 *연산자 후에 .연산자로 내용물을 참조한다는 것은 나름대로 메모리의 구조를 생각하려고 애를 썼다는 얘기다. 좀 고마웠다. - [서민관]
         void printCalender(int nameOfDay, int year, int month);
         // 달의 첫 날의 요일(nameOfDay)과 마지막 날의 수를 받아서 1~endDayOfMonth까지 출력합니다.
         void printDate(int nameOfDay, int endDayOfMonth);
         void printHeader(int year, int month);
         int calculateNameOfNextMonthFirstDay(int nameOfDay, int year, int month);
         int calculateNameOfLastDay(int nameOfDay, int year, int month);
         int endDayOfMonth(int year, int month);
         char *printMonthName(int i);
          printf("Enter the year : ");
          printf("Enter the name of day(0:sun ~ 6:sat) : ");
          for ( int month = 1; month <= 12; month++ ) {
          printCalender(nameOfDay, year, month);
          nameOfDay = calculateNameOfNextMonthFirstDay(nameOfDay, year, month);
          Sun Mon Tue Wed Thu Fri Sat
          int maxLength; // 배열을 사용할 때는 길이를 관리하는 구조체를 만들어서 쓰면 편하다.
         AccountArray *createAccountArray(int maxLength);
         void withdraw(AccountArray *accountArray, char *name, int money);
         void withdrawMenu();
  • Boost/SmartPointer . . . . 32 matches
         // use, modify, sell and distribute this software is granted provided this
         // copyright notice appears in all copies. This software is provided "as is"
         // without express or implied warranty, and with no claim as to its
         // 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
         #include <algorithm>
         // The application will produce a series of
         // accessed both by occurrence (std::vector)
          ~Foo() { std::cout << "Destructing a Foo with x=" << x << "\n"; }
         // Destructing a Foo with x=2
         // Destructing a Foo with x=1
         // Destructing a Foo with x=3
         // Destructing a Foo with x=2
         // 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 >
         // is still valid because the type is complete where it counts - in the
  • BoostLibrary/SmartPointer . . . . 32 matches
         // use, modify, sell and distribute this software is granted provided this
         // copyright notice appears in all copies. This software is provided "as is"
         // without express or implied warranty, and with no claim as to its
         // 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
         #include <algorithm>
         // The application will produce a series of
         // accessed both by occurrence (std::vector)
          ~Foo() { std::cout << "Destructing a Foo with x=" << x << "\n"; }
         // Destructing a Foo with x=2
         // Destructing a Foo with x=1
         // Destructing a Foo with x=3
         // Destructing a Foo with x=2
         // 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 >
         // is still valid because the type is complete where it counts - in the
  • ErdosNumbers/차영권 . . . . 32 matches
         #define MAX_LENGTH 100
         struct Author
         void checkErdosNumberTo0(Author *p, int n);
         void checkErdosNumberTo1(Author *p, char *c, int n);
         void checkErdosNumberTo2(Author *p, int n);
         bool isThere(Author *p, int n);
          char temp[MAX_LENGTH], *c;
          Author author[10][30];
          cin.getline(temp, MAX_LENGTH);
          author[m][number].name[n++] = *c;
          author[m][number].name[n] = '\0';
          if (strcmp(author[i][j].name, "Erdos, P.") == 0)
          checkErdosNumberTo1(author[n], author[i][k].name, saveBound[n]);
          author[i][j].erdosNumber = -1;
          if (isThere(author[i], saveBound[i]))
          checkErdosNumberTo2(author[i], saveBound[i]);
          checkErdosNumberTo0(author[i], saveBound[i]);
          if (strcmp(search[k], author[i][j].name) == 0)
          saveResult[k] = author[i][j].erdosNumber;
         void checkErdosNumberTo0(Author *author, int n)
  • Refactoring/SimplifyingConditionalExpressions . . . . 32 matches
          * You have a complicated conditional (if-then-else) statement. [[BR]] ''Extract methods from the condition, then part, and else parts.''
          * You have a sequence of conditional tests with the same result. [[BR]]''Combine them into a single conditional expression and extract it.''
          if ( _monthsDisabled > 12) return 0;
          // compute the disability amount
          // compute the disability amount;
          * The same fragment of code is in all branches of a conditional expression. [[BR]]''Move it outside of the expression.''
         == Replace Nested Conditional with Guard Clauses ==
          * A method has conditional behavior that does not make clear the normal path of execution [[BR]] ''Use guard clauses for all the special cases.''
         == Replace Conditional with Polymorphism ==
          * 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.''
          throw new RuntimeException ("Should be unreachable");
          * 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.''
  • TopicMap . . . . 32 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''
         I plan to use [ ] with a consistent syntax for such things. How do you mean the external link thing? Including other web pages, or "only" other Wiki pages?
         OK, for the simple stuff (i.e. local links), how about this:
          * [ include:WikiName] always includes the referred page
          * [ map:WikiName] for print inclusion (better names than ''map''?)
         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
         OK, concrete example. Consider this:
         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.
  • 식인종과선교사문제/변형진 . . . . 32 matches
          $this->left = array("canni" => 3, "missi" => 3);
          $this->right = array("canni" => 0, "missi" => 0);
          if($this->left[canni]==$this->left[missi]&&$this->left[canni]==3) $this->ferry(1,1);
          elseif($this->left[canni]<>$this->left[missi]&&$this->left[canni]>1) $this->ferry(2,0);
          else $this->ferry(0,2);
          $this->to_left();
          if($this->right[canni]==$this->right[missi]&&$this->right[canni]==2) $this->ferry(-1,-1);
          elseif($this->right[canni]==$this->right[missi]) $this->ferry(0,-1);
          else $this->ferry(-1,0);
          $this->to_right();
          if($canni>=0&&$missi>=0) echo "우측 식인종 {$this->right[canni]}+$canni, 선교사 {$this->right[missi]}+$missi<br>";
          elseif($canni<=0&&$missi<=0) echo "좌측 식인종 {$this->left[canni]}+".(-$canni).", 선교사 {$this->left[missi]}+".(-$missi)."<br>";
          $this->left[canni] -= $canni; $this->left[missi] -= $missi;
          $this->right[canni] += $canni; $this->right[missi] += $missi;
          if(!$this->left[canni]&&!$this->left[missi]) exit();
         == thread ==
  • BlueZ . . . . 31 matches
         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.
         == 주변 Bluetooth 노드 찾기 ==
         #include <bluetooth/bluetooth.h>
         #include <bluetooth/hci.h>
         #include <bluetooth/hci_lib.h>
         #include <bluetooth/bluetooth.h>
         #include <bluetooth/rfcomm.h>
          s = socket(AF_BLUETOOTH, SOCK_STREAM, BTPROTO_RFCOMM);
          // bind socket to port 1 of the first available
          // local bluetooth adapter
          loc_addr.rc_family = AF_BLUETOOTH;
          // read data from the client
         #include <bluetooth/bluetooth.h>
         #include <bluetooth/rfcomm.h>
          s = socket(AF_BLUETOOTH, SOCK_STREAM, BTPROTO_RFCOMM);
          // set the connection parameters (who to connect to)
          addr.rc_family = AF_BLUETOOTH;
         #include <bluetooth/bluetooth.h>
         #include <bluetooth/l2cap.h>
          s = socket(AF_BLUETOOTH, SOCK_SEQPACKET, BTPROTO_L2CAP);
  • [Lovely]boy^_^/EnglishGrammer/ReportedSpeech . . . . 31 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 :
          ex) Tom said that he was feeling sick.
          B. When we use reported speech, the main verb of the sentence is usually past. The rest of the sentence is usually past, too :
          ex) I told her that I didn't have any money.
          We can leave out that
          C. The simple past can usually stay the same in reported speech, or you can change it to the past perfect.
          A. It is not always necessary yo change the verb when you use reported speech. If you report something and it is still true, you do not need to change the verb.
          ex) direct : Tom said, "New York is more exciting than London."
          reported : Tom said that New York is more exciting than London. (New York is stlll more exciting. The situation hasn't changed.)
          Is is also correct to change the verb into the past.(--;)
          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 )
          Otherwise use say ( Say somebody(X) )
          ex) Kelly said that you were sick.(not Kelly told that ...)
          But you can say something to somebody.
          C. Tell/ask somebody to do something.
          We also use the infinitive(to do/ to stay, etc...) in reported speech, especially with tell and ask(for orders and requests)
  • 데블스캠프2012/다섯째날/C로배우는C++원리 . . . . 31 matches
         void setName(void* this,const char* name) {
          Person* this_person = (Person*)this;
          strncpy(this_person->name, name, 11);
         void setAge(void* this, const int age) {
          Person* this_person = (Person*)this;
          this_person->age = age;
         void print(void* this) {
          Person* this_person = (Person*)this;
          printf("name = %s, age = %d\n", this_person->name, this_person->age);
         void createPerson(void* this, const char* name, const int age){
         // Person* this_person = (Person*)this;
          setName(this, name);
          setAge(this,age);
         void createStudent(void* this, const char* name, const int age, const char* studentID){
          Student* this_student = (Student*)this;
          createPerson(this, name, age);
          strncpy(this_student->studentID, studentID, 9);
         void printStudent(void* this) {
          Student* this_student = (Student*)this;
          Person* this_person = (Person*)this;
  • 코드레이스/2007.03.24정현영동원희 . . . . 31 matches
          int firstTime, secondTime, thirdTime;
          public Signal(int firstTime, String color, int secondTime, String color2, int thirdTime, String color3) {
          this.color= color;
          this.firstTime= firstTime;
          this.secondTime= secondTime;
          this.color2= color2;
          this.thirdTime= thirdTime;
          this.color3= color3;
          int adjustedTime= time%(firstTime+ secondTime + thirdTime);
          public String getColorWithDate(int year, int month, int day, int hour, int minute, int second)
          int totalSecond=((((365*(year-2000)+(month-1)*30+(day-1)*24+hour)*60)+minute)*60+second);
          this.times= times;
          if(getColorWithDate(time).equals("Red")) {
          private String getColorWithDate(Time time) {
          return getColorWithDate(time.year, time.month, time.day, time.hour, time.minute, time.second);
          System.out.println(signal.getColorWithDate(2007, 3, 24, 12, 30, 24));
          System.out.println(signal.getColorWithDate(2000, 1, 1, 0, 0, 0));
          public int month;
          public Time(int year, int month, int day, int hour, int minute, int second ) {
          this.year= year;
  • 3N+1Problem/황재선 . . . . 30 matches
         == Python ==
         class ThreeNPlusOne:
          self.cycleLength = 0
          self.cycleLength = 0
          self.cycleLength += 1
          return self.cycleLength + self.cycleDic[str(num)]
          self.cycleLength += 1
          return self.cycleLength
          maxLength = 0
          length = self.compute(n)
          self.cycleDic[str(n)] = length
          if length > maxLength:
          maxLength = length
          return maxLength
         class ThreeNPlusOneTest(unittest.TestCase):
          self.u = ThreeNPlusOne()
          o = ThreeNPlusOne()
         == Python ==
          cycleLength = 1
          return cycleLength + cycleDic[num]
  • 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 발아]
          * [http://stackoverflow.com/questions/2631726/how-to-determine-the-longest-increasing-subsequence-using-dynamic-programming Time Complexity O(n log n) 의 Up Sequence]
          * Consonants, Pogo, The Great Wall
          * Shortest Path : DAG(directed acyclic graphs)로 바꾼 후 Source에서부터 dist(v) = min{dist(v) + l(u,v)}사용
          * 최대 path의 길이를 구한 후에 뒤로 돌아가면서 숫자가 줄어드는 녀석들을 스택에 담으면 path도 구할 수 있다.
          * Maximum Sum - kadane's algorithm
          * proof - [http://prezi.com/fsaynn-iexse/kadanes-algorithm/]
          * Tarjan's strongly connected components algorithm - [http://en.wikipedia.org/wiki/Tarjan%27s_strongly_connected_components_algorithm 링크]
          * 참고문제 prime_path [http://211.229.66.5/30stair/prime_path/prime_path.php?pname=prime_path]
          * 풀이 - 삼차원 테이블을 사용한 DP문제, d(bar,unit,width)는 bar번째의 bar를 사용하면서, unit의 위치에 그 bar의 폭이 width일 때의 경우이다. 따라서 가능한 모든 바코드의 수를 구하는 것은 d(bar,unit,0 ~ width)를 전부 더해주면 된다.
          - 점화식 : d(bar, unit, width) += d(bar - 1,unit - width,l);
          * [http://www.algospot.com/judge/problem/list/?tag=&source=Coder%27s+high+2013&author= 링크]
          * C - Critical 3-path
          * 위상정렬, critical path에 대해 공부 및 코딩 - 코드 및 해설은 Fundamental of DataStructure를 참고하자.
          then 겹침
          * Sliding Window Minimum Algorithm - http://people.cs.uct.ac.za/~ksmith/articles/sliding_window_minimum.html
  • JavaScript/2011년스터디/CanvasPaint . . . . 30 matches
          var color=3,drawmethod=1;
          ctx.beginPath();
          if(drawmethod==1) drawLines();
          else if(drawmethod==2) drawDotPoint();
          ctx.clearRect(0,0,window.innerWidth-15, window.innerHeight-50);
          function drawMethod(temp)
          drawmethod=temp;
          ctx.arc(event.x-7, event.y-7, 3, 0, Math.PI*2, false);
          ctx.beginPath();
          ctx.lineWidth=3;
          <canvas id="drawLine" width="300" height="300" onmousedown="hold();"
          <select name="colors"onclick="selectColor(this.selectedIndex)">
          <button type="button" onclick="drawMethod(1)"> LINE </button>
          <button type="button" onclick="drawMethod(2)"> DOT </button>
          element.setAttribute("width", window.innerWidth-15);
          context.strokeRect(0, 0, window.innerWidth-15, window.innerHeight-50);
          <canvas id="testCanvas" width="900" height="500" style="border: 1px solid black"></canvas>
          var tool = this;
          this.started = false;
          this.mousedown = function(e){
  • VonNeumannAirport/1002 . . . . 30 matches
          this->startCity = startCity;
          this->endCity = endCity;
         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
          this->startCity = startCity;
          this->endCity = endCity;
          this->traffic = 0;
          for (int cityIndex=0; cityIndex < this->startCity.size(); cityIndex++) {
          if (this->startCity[cityIndex] == startCity) {
          for (int cityIndex=0; cityIndex < this->endCity.size(); cityIndex++) {
          if (this->endCity[cityIndex] == endCity) {
         #include <algorithm>
          this->startCity = startCity;
          this->endCity = endCity;
          this->traffic = 0;
          return find (this->startCity, startCity);
          return find (this->endCity, endCity);
          this->traffic += getDistance (startCity, endCity) * people;
          return this->traffic;
          this->startCity = startCity;
  • [Lovely]boy^_^/영작교정 . . . . 30 matches
          * [[HTML(<STRIKE>)]] He is appointed a most prestigious duty in the University. [[HTML(</STRIKE>)]]
          * He was appointed to the most prestigious duty in the University.
          * [[HTML(<STRIKE>)]] Do you foresee that new system has some problems?[[HTML(</STRIKE>)]]
          * Do you foresee some problems in the new system?
          * 이번엔 어순에 문제가 있다. 또한 나는 영작할때 잘 안풀리면 무조건 that을 넣고 본다는 것도 알게 되었다.
          * The detective uncovered so many new proofs.
          * [[HTML(<STRIKE>)]] It is impossible to ascertain that who was here until last.[[HTML(</STRIKE>)]]
          * [[HTML(<STRIKE>)]] The train conveied us to arrival point. [[HTML(</STRIKE>)]]
          * The train conveyed us to the arrival point.
          * [[HTML(<STRIKE>)]] We must curb the far right's effect power.[[HTML(</STRIKE>)]]
          * We must curb the far right's power.
          * [[HTML(<STRIKE>)]] He will terminate the argument at there.[[HTML(</STRIKE>)]]
          * He will terminate the argument there.
          * [[HTML(<STRIKE>)]] It is refreshing that meet with man has same thinking.[[HTML(</STRIKE>)]]
          * It is refreshing to meet with a man who has the same thingking.
          * 또 that 썼다가 틀렸다. 관사도 문제가 있고.. 관개대명사도..--;
          * [[HTML(<STRIKE>)]] I am reluctant that involved a happening.[[HTML(</STRIKE>)]]
          * I am reluctant in getting involved in the event.
          * [[HTML(<STRIKE>)]] Childs were very suprised that sound so they screamed.[[HTML(</STRIKE>)]]
          * Children were very suprised at that sound so they screamed.
  • django . . . . 30 matches
          * Python 환경에서 웹을 쉽게 개발할수 있도록 도와주는 Framework
          * 개발이 끝나고 실제로 서비스할 경우에는 apache + mod_python 으로 올려야 한다.
          * [http://www.djangoproject.com/documentation/modpython/] 이 페이지를 참고.
          * apache에 mod_python 설치는 [apache/mod_python] 페이지 참고.
         = apache2, mod_python을 이용한 웹 서버 설정 =
          SetHandler python-program
          PythonHandler django.core.handlers.modpython
          PythonPath "['<프로젝트 부모폴더>'] + sys.path"
          PythonDebug On
         [예시] /path/to/project/mysite 에 settings.py 파일이 있는 경우
          SetHandler python-program
          PythonHandler django.core.handlers.modpython
          PythonPath "['/path/to/project'] + sys.path"
          PythonDebug On
         http://www.djangoproject.com/documentation/modpython/
         http://blog.timc3.com/2006/07/26/django-with-apache2/
         http://www.carthage.edu/webdev/?p=14
         http://thinkhole.org/wp/2006/04/03/django-on-windows-howto/
          * [http://altlang.org/fest/EnglishStudyWithDjango 대안언어축제에서실습한장고] : 실제로 웹 개발을 따라서 해본다.
         = mod_python으로 동작시 admin 화면 깨짐 해결 =
  • 만년달력/방선희,장창재 . . . . 30 matches
         int def_max_month(int temp_year, int temp_month);
          int year,month;
          cin >> month;
          cout << "Mon \tTue\t Wed\t Thu\t Fri\t Sat\t Sun\n";
          array[y][i] = def_max_month(y,i);
          for (int a = 1 ; a < month ; a++)
          array[year][a] = def_max_month(year,a);
          for (int b = 1 ; b < month ; b++)
          if (calen[m][n] <= def_max_month(year,month))
         int def_max_month(int temp_year, int temp_month) // 년도를 전달 받아서 그 년도 각각 달의 일수 결정
          switch (temp_month)
          case 1 : temp_month = 31;
          temp_month = 28;
          temp_month = 29;
          temp_month = 28;
          temp_month = 29;
          else temp_month=28;
          temp_month = 31;
          temp_month = 30;
          temp_month = 31;
  • 데블스캠프2011/다섯째날/HowToWriteCodeWell/임상현,서민관 . . . . 29 matches
          public void setUp() throws Exception {
          public void tearDown() throws Exception {
          public void testgoTo1() throws Exception {
          public void testgoTo2() throws Exception {
          public void testgoTo3() throws Exception {
          public void testupTo1() throws Exception {
          public void testupTo2() throws Exception {
          public void testupTo3() throws Exception {
          public void testupTo4() throws Exception {
          public void testdownTo1() throws Exception {
          public void testdownTo2() throws Exception {
          public void testdownTo3() throws Exception {
          public void testdownTo4() throws Exception {
          public void testpush1() throws Exception {
          public void testpush2() throws Exception {
          public void testpush3() throws Exception {
          public void testpush4() throws Exception {
          this.maxFloor = i;
          this.minFloor = j;
          this.maxFloor = j;
  • 비행기게임/BasisSource . . . . 29 matches
         #format python
         import random, os.path
          file = os.path.join('data',file)
          shotRate = 9 #If ShotRate is high the enemy shot least than low
         def DynamicEnemyAssign(enemyList, countOfEnemy, Enemy, life, imageMax, enemy_containers, Enemy_img, pathAndKinds, line, playerPosY):
          enemyList[countOfEnemy].setSpritePattern(pathAndKinds[line][4])
          enemyList[countOfEnemy].setPos(SCREENRECT.left,(SCREENRECT.bottom/10)*int(pathAndKinds[line][0]))
          #Set the display mode
          bestdepth = pygame.display.mode_ok(SCREENRECT.size, winstyle,32)
          screen = pygame.display.set_mode(SCREENRECT.size, winstyle,bestdepth)
          #create the background, tile the bgd image
          #decorate the game window
          #open the path and kind of enemy
          file = open(os.path.join('PathOfEnemy.txt'))
          pathAndKinds = file.readlines()
          #clear/erase the last drawn sprites
          if(int(pathAndKinds[line][2])==0):
          DynamicEnemyAssign(enemy_1, countOfEnemy, Enemy, 1, 4, enemy_containers, Enemy3_img, pathAndKinds, line, player.gunpos()[1])
          elif(int(pathAndKinds[line][2])==1):
          DynamicEnemyAssign(enemy_2, countOfEnemy, Enemy,3, 4, enemy_containers, Enemy2_img, pathAndKinds, line, player.gunpos()[1])
  • 오목/인수 . . . . 29 matches
          int width, height;
          public Board(int width, int height) {
          this.width = width;
          this.height = height;
          boardState = new int[height][width];
          return x >= 0 && x < width && y >= 0 && y < width;
          for(int i = 0 ; i < width ; ++i)
          this.board = board;
          public Omok(int width, int height) {
          board = new Board(width, height);
          private int checkWidth(int x, int y, int wanted) {
          checkWidth(x, y, WANTED) == WANTED ||
          if( checkWidth(x,y,3) == 3 ) ++count;
          final static int WIDTH = 20;
          public OmokFrame(String arg) throws HeadlessException {
          omok = new Omok(WIDTH, HEIGHT);
          getContentPane().addMouseListener( new PutStoneListener(this) );
          setSize( (WIDTH + 2) * BLOCKSIZE , (HEIGHT + 2) * BLOCKSIZE );
          for(int i = 0 ; i < WIDTH ; ++i)
          WIDTH * BLOCKSIZE, BLOCKSIZE + i * BLOCKSIZE);
  • .bashrc . . . . 28 matches
         {{{~python
         if [ -f /etc/bashrc ]; then
         if [ -z ${DISPLAY:=""} ]; then
          if [ -n "$DISPLAY" ]; then
         shopt -s sourcepath
         echo -e "${CYAN}This is BASH ${RED}${BASH_VERSION%.*}${CYAN} - DISPLAY on ${RED}$DISPLAY${NC}\n"
         if [ -x /usr/games/fortune ]; then
         alias path='echo -e ${PATH//:/\n}'
          xtitle The $(basename $1|tr -d .[:digit:]) manual
          if [ "$(gnuclient -batch -eval t 2>&-)" == "t" ]; then
          if [ "$#" -gt 2 ]; then
          if [ "$nf" != "$filename" ]; then
          if [ "$#" -lt 1 ] || [ "$#" -gt 2 ]; then
          if [ $# = 2 ]; then sig=$1 ; fi
          if ask "Kill process $pid <$pname> with signal $sig?"
          then kill $sig $pid
         if [ "${BASH_VERSION%.*}" \< "2.05" ]; then
         # This is a 'universal' completion function - it works when commands have
          # if we want an option, return the possible posix options
          if [ -f makefile ]; then
  • ErdosNumbers/문보창 . . . . 28 matches
         void input_thesis(int num_thesis);
         bool slice_str(char * thesis);
          int num_case, num_thesis, num_writer;
          cin >> num_thesis >> num_writer;
          input_thesis(num_thesis);
         void input_thesis(int num_thesis)
          char ** thesis = new char * [num_thesis];
          for (int i = 0; i < num_thesis; i++)
          thesis[i] = new char[100];
          bool * ischeck = new bool[num_thesis];
          for (i = 0; i < num_thesis; i++)
          cin.getline(thesis[i], 100, ':');
          ischeck[i] = slice_str(thesis[i]);
          for (i = 0; i < num_thesis; i++)
          ischeck[i] = slice_str(thesis[i]);
          for (i = 0; i < num_thesis; i++)
          delete thesis[i];
          delete thesis;
         bool slice_str(char * thesis)
          while (thesis[i] != NULL)
  • JTDStudy/첫번째과제/원명 . . . . 28 matches
          setNumber = (int) (Math.random() * 10);
          setNumber = (int) (Math.random() * 10);
          setNumber = (int) (Math.random() * 10);
          String input = JOptionPane.showInputDialog("Enter three different number\n");
          int thirdGuess = aGuess % 10;
          if (cCorrect == thirdGuess)
          || ((int)(cCorrect / (100))) == thirdGuess)
          || ((int)(cCorrect / (10))) == thirdGuess)
          int thirdGuess = aGuess % 10;
          if (cCorrect == thirdGuess)
          if ((cCorrect / 100) == secondGuess || (cCorrect / 100) == thirdGuess)
          if ((cCorrect / 10) == firstGuess || (cCorrect / 10) == thirdGuess)
          throw new IndexOutOfBoundsException("pos값은 1이상을 넣어주세요.");
          int a = value % (int) Math.pow(10, pos);
          return a / (int) Math.pow(10, pos - 1);
         더이상 함수가 this.correctNumber에 의존할 필요 없으므로 코드 개선
          int thirdGuess = positionNum(aGuess,1);
          if (positionNum(cCorrect,1) == thirdGuess)
          if (positionNum(cCorrect,3) == secondGuess || positionNum(cCorrect,3) == thirdGuess)
          if (positionNum(cCorrect,2) == firstGuess || positionNum(cCorrect,2) == thirdGuess)
  • JavaStudy2002/영동-3주차 . . . . 28 matches
          if(x>=aboard.board.length)
          x=aboard.board.length-1;
          if(y>=aboard.board[0].length)
          y=aboard.board[0].length-1;
          for(int i=0;i<board.length;i++)
          for(int j=0;j<board.length;j++){
          if (x >= board.length)
          if (y >= board[0].length)
          x = board.length - 1;
          y = board[0].length - 1;
          for (int i = 0; i < board.length; i++) {
          for (int j = 0; j < board[i].length; j++) {
          this.x = x;
          this.y = y;
          x = (x >= board.length) ? 0 : x;
          y = (y >= board[0].length) ? 0 : y;
          x = (x < 0) ? board.length - 1 : x;
          y = (y < 0) ? board[0].length - 1 : y;
          for (int i = 0; i < board.length; i++) {
          for (int j = 0; j < board[i].length; j++) {
  • MedusaCppStudy/석우 . . . . 27 matches
          int length;
          cin >> length;
          for (int rows = 0 ; rows < length ; rows++)
          for (int cols = 0 ; cols < length ; cols++)
          if (rows == 0 || rows == length - 1 || cols == 0 || cols == length - 1)
         #include <algorithm>
         #include <algorithm>
         int stringlength();
          stringlength();
         int stringlength()
          vector<int> length;
          length.push_back(word.size());
          sort(length.begin(), length.end());
          cout << "가장 짧은 string: " << length[0] << endl;
          cout << "가장 긴 string: " << length[length.size() - 1] << endl;
         #include <algorithm>
          throw domain_error("incorrect command!");
          throw domain_error("incorrect money!");
          throw domain_error("Not enough money");
          throw domain_error("Run out of " + vec[i].name + "!");
  • MoinMoinNotBugs . . . . 27 matches
         == This is *NOT* a Browser bug with CSS rendering ==
          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
         '''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.
         ''Indeed the <ul> should be a <dl> or so for pure indents. I'll add HTML conformity checking as a todo.''
         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.
         This is not an Opera bug. The HTML is invalid. '''The blocks are overlapping, when they are not allowed to:''' P UL P /UL UL P /UL is not a sensible code sequence. (It should be P UL /UL P UL /UL P... giddyupgiddyup?)
         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.''
  • [Lovely]boy^_^/Diary/2-2-9 . . . . 27 matches
          * 신촌 7시 민토신관 컴퓨터고전스터디 The Mythical Man Month Chapter 3&4
          * Power Reading, Methapors we live by 제본판 입수.
          * ["TheWarOfGenesis2R"] 시작
          * TheMythicalManMonth 5,6장 읽었다. 5장은 대충 감은 오는데.. 정확히는 무슨 내용인지 알수가 없다.--; 클났군.. 6장은 피곤해서 조금 읽다 말았다. 낼 일찍 일어나서 읽어야겠다.
          * 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 SmallTalk by Example.
          * I borrow the UML for beginner. Translator is Kwak Yong Jae.(His translation is very good)
          * I'll never advance arcanoid.--; It's bored. I'll end the refactoring instantly, and do documentaion.
         === 10/31 Thu ===
          * My arcanoid running is not same any computer. Some computers are running this game very well, others are blinking screen, anothers are not able to move the bar.
          * I get Power Reading, and Methapors we live by BindingBook
          * ["TheWarOfGenesis2R"] Start
          * 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++.
          * I read the TheMythicalManMonth Chapter5,6. I feel chapter5's contents a bit.. I can't know precision contents.--; It's shit.. I read a chapter6 not much, because I'm so tired. I'll get up early tomorrow, and read chapter6.
          * 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.
  • 데블스캠프2009/목요일/연습문제/MFC/송지원 . . . . 27 matches
         // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
         #undef THIS_FILE
         static char THIS_FILE[] = __FILE__;
          // Note that LoadIcon does not require a subsequent DestroyIcon in Win32
          // IDM_ABOUTBOX must be in the system command range.
          // Set the icon for this dialog. The framework does this automatically
          // when the application's main window is not a dialog
          return TRUE; // return TRUE unless you set the focus to a control
         // If you add a minimize button to your dialog, you will need the code below
         // to draw the icon. For MFC applications using the document/view model,
         // this is automatically done for you by the framework.
          CPaintDC dc(this); // device context for painting
          int x = (rect.Width() - cxIcon + 1) / 2;
          // Draw the icon
         // The system calls this to obtain the cursor to display while the user drags
         // the minimized window.
          // TODO: If this is a RICHEDIT control, the control will not
          // send this notification unless you override the CDialog::OnInitDialog()
          // with the ENM_CHANGE flag ORed into the mask.
  • 데블스캠프2011/둘째날/Machine-Learning/NaiveBayesClassifier/김동준 . . . . 27 matches
          if(inputStr.length() == 1 || inputStr.equals("http") || inputStr.equals("blog") || inputStr.equals("com") ||
          this.fileName = f;
          this.sectionWordNum = 0;
          this.sectionArticleNum = 0;
          this.sectionWord = new HashMap<String,Integer>();
          Scanner sectionLearn = new Scanner(this.fileName);
          this.sectionArticleNum++;
          if( this.sectionWord.get(wordTmp) == null) { // 해당 단어가 없으면
          this.sectionWord.put(wordTmp, 1); // 1개로 새로 넣고 추가
          else { this.sectionWord.put(wordTmp, this.sectionWord.get(wordTmp)+1); } // 있는경우 자신의 것에 갯수를 한개 더 추가
          this.sectionWordNum++; //Word 수는 중복과 상관없이 갯수를 Count 하므로 무조건 증가시킨다.
          return (HashMap<String, Integer>) this.sectionWord;
          return this.sectionWordNum;
          return this.sectionArticleNum;
          this.notInSectionArticleSum = 0;
          for(int i = 0; i < sectionTrain.length; i++) {
          this.notInSectionWordTotalSum = 0;
          for(int i = 0; i < sectionTrain.length; i++) {
          this.notInSectionWordSum = 0;
          for(int i = 0; i < sectionTrain.length; i++) {
  • AdventuresInMoving:PartIV/김상섭 . . . . 26 matches
          int length;
         static int totalLength; /* 워털루에서 대도시까지의 거리 */
          return station[i].length - station[i-1].length;
          cin >> totalLength;
          totalLength += 100;
          station[numStation].length = 0;
          cin >> station[numStation].length >> station[numStation].price;
          station[numStation].length = totalLength;
          while(station[now].length + go >= station[search].length)
          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(now + 1 == search && station[now].length + go < station[search].length)
          if(station[maxmin].length - station[now].length >= tank)
          tank = go - station[maxmin].length + station[now].length;
          tank = tank - station[maxmin].length + station[now].length;
  • EnglishSpeaking/TheSimpsons/S01E05 . . . . 26 matches
         = Bart the General =
         Friend : Nelson's at the Elm Street Video Arcade.
         Bart : Intelligence indicates he shakes down kids for quarters at the arcade.
         Herman : Then he heads to the Quick-E-Mart for a cherry Squishy.
         Then that's where we'll hit him.
         When he leaves the Quick-E-Mart,
         we start the saturation bombing.
         We got the water balloons?
         Is it okay if they say "Happy Birthday" on the side?
         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,
         the other will drive in this way, closing the trap.
         Friend : Nelson's at the arcade, General.
         Abraham : You know, I thought I was too old.
         I thought my time had passed.
         I thought I'd never hear the screams of pain...
         or see the look of terror in a young man's eyes.
         Thank heaven for children.
  • TheJavaMan/달력 . . . . 26 matches
          JComboBox cbMonth;
          int month;
          cbMonth = new JComboBox();
          cbMonth.setEditable(false);
          cbMonth.addItem("1");
          cbMonth.addItem("2");
          cbMonth.addItem("3");
          cbMonth.addItem("4");
          cbMonth.addItem("5");
          cbMonth.addItem("6");
          cbMonth.addItem("7");
          cbMonth.addItem("8");
          cbMonth.addItem("9");
          cbMonth.addItem("10");
          cbMonth.addItem("11");
          cbMonth.addItem("12");
          cbMonth.addActionListener(new ActionListener()
          selectPanel.add(cbMonth);
          add(selectPanel, BorderLayout.NORTH);
          cbMonth.setSelectedIndex(Calendar.getInstance().get(Calendar.MONTH));
  • [Lovely]boy^_^/Diary/2-2-16 . . . . 26 matches
          * I completely destroy the marriage and family final-exam.--;
          * I borrow the Role Playing Game with DirectX.
          * I read a novel named the Brain all day. Today's reading amount is about 600 pages. It's not so interesting as much as the price of fame.
          * Today, I saw a psycho that is only heard. I felt grimness at her.
          * '''When I am given a motive, I can do the things extreme.'''
          * '''There is no man nicer than a man who has a target, and rushs towards it.'''
          * I can't translate english sentence that I writed.--;
         = 12/19 thu =
          * I studied Grammar in Use Chapter 39,40. I have not done study this book since then summer.--;
          * 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 studied ProgrammingPearls chapter 3. When I was reading, I could find familiar book name - the Mythical Man Month, and Code Complete.
          * '''The more general problem may be easier to solve.'''
          * 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 studied ProgrammingPearls chapter 4,5. Both 4 and 5 are using a binary search. Its content is no bug programm.
          * I had drunken with friend until A.M. 2:00. and had sung until A.M. 4:00--;
          * Damn it! Algorithm score--; why?~~~~~~~~~
          * '''Keeping the code simple is usually the key to correctness.'''
  • 데블스캠프2009/목요일/연습문제/MFC/김태욱 . . . . 26 matches
         #undef THIS_FILE
         static char THIS_FILE[] = __FILE__;
          // Note that LoadIcon does not require a subsequent DestroyIcon in Win32
          // IDM_ABOUTBOX must be in the system command range.
          // Set the icon for this dialog. The framework does this automatically
          // when the application's main window is not a dialog
          return TRUE; // return TRUE unless you set the focus to a control
         // If you add a minimize button to your dialog, you will need the code below
         // to draw the icon. For MFC applications using the document/view model,
         // this is automatically done for you by the framework.
          CPaintDC dc(this); // device context for painting
          int x = (rect.Width() - cxIcon + 1) / 2;
          // Draw the icon
         // The system calls this to obtain the cursor to display while the user drags
         // the minimized window.
          // TODO: If this is a RICHEDIT control, the control will not
          // send this notification unless you override the CDialog::OnInitDialog()
          // with the ENM_CHANGE flag ORed into the mask.
  • 데블스캠프2009/목요일/연습문제/MFC/정종록 . . . . 26 matches
         #undef THIS_FILE
         static char THIS_FILE[] = __FILE__;
          // Note that LoadIcon does not require a subsequent DestroyIcon in Win32
          // IDM_ABOUTBOX must be in the system command range.
          // Set the icon for this dialog. The framework does this automatically
          // when the application's main window is not a dialog
          return TRUE; // return TRUE unless you set the focus to a control
         // If you add a minimize button to your dialog, you will need the code below
         // to draw the icon. For MFC applications using the document/view model,
         // this is automatically done for you by the framework.
          CPaintDC dc(this); // device context for painting
          int x = (rect.Width() - cxIcon + 1) / 2;
          // Draw the icon
         // The system calls this to obtain the cursor to display while the user drags
         // the minimized window.
          // TODO: If this is a RICHEDIT control, the control will not
          // send this notification unless you override the CDialog::OnInitDialog()
          // with the ENM_CHANGE flag ORed into the mask.
  • 무엇을공부할것인가 . . . . 26 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 '' 참고로 다익스트라는 자기 밑에 학생을 받을 때에 전산학 전공자보다 수학 전공자에게 더 믿음이 간다고 합니다.
         ([http://groups.google.co.kr/groups?hl=ko&lr=&ie=UTF-8&inlang=ko&newwindow=1&frame=right&th=382f243e8edce15a&seekm=slrnam7pfh.ds.gerhard.haering%40haering.opus-gmbh.net#link1 관련 원문])
         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
         about particular technologies, the important part is learning concepts. If
         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:
         - Team work: dividing up tasks. Defining the interfaces up front to avoid
          blocking other team members who wait for you. Using a source code control
          solve a problem that could be solved a lot more efficiently by calling
          the client or writing an email - I've had problems with this myself in
          the past, I guess that's not an uncommon problem for developers.
         - Software reliability: that's a difficult one. IMO experience,
  • 3N+1Problem/Leonardong . . . . 25 matches
          def getMaximumCycleLength(self, aFrom, aTo):
          cycleLength = self.getCycleLength(i)
          if max < cycleLength:
          max = cycleLength
          def getCycleLength( self, aStart ):
          cycleLength = 1
          cycleLength = cycleLength + 1
          return cycleLength
          print self.getMaximumCycleLength(numFrom, numTo)
          def testGetMaximumCycleLength(self):
          self.assertEquals( 1, self.runner.getMaximumCycleLength( 1, 1 ) )
          self.assertEquals( 20, self.runner.getMaximumCycleLength( 1, 10 ) )
          self.assertEquals( 125, self.runner.getMaximumCycleLength( 100, 200 ) )
          self.assertEquals( 89, self.runner.getMaximumCycleLength( 201, 210 ) )
          self.assertEquals( 174, self.runner.getMaximumCycleLength( 900, 1000) )
          def testGetCycleLength(self):
          self.assertEquals( 1, self.runner.getCycleLength(1) )
          self.assertEquals( 5, self.runner.getCycleLength(16) )
          self.assertEquals( 16, self.runner.getCycleLength(22) )
         == Thread ==
  • CVS . . . . 25 matches
          * [http://www.csc.calpoly.edu/~dbutler/tutorials/winter96/cvs/ Yet another CVS tutorial (a little old, but nice)]
         view cvs 는 Python CGI로 돌아가며, 인스톨 스크립트가 있어서 설치하기 아주 쉽다. 추천.!
         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> ---------
         A very helpful soul, Robert Cragie, helped me out with this one. Here's his reply to my question above.. :
         I've been down this road already.
         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.
         Hope this helps,
  • HowToStudyDesignPatterns . . . . 25 matches
          ''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.''
          ''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.''
         어떤 특정 문장 구조(as much as ...나, no more than ... 같은)를 학습하는데 최선은 그 문장 구조를 이용한 실제 문장을 나에게 의미있는 실 컨텍스트 속에서 많이 접하고 스스로 나름의 모델을 구축(constructivism)하여 교과서의 법칙에 "기쁨에 찬 동의"를 하는 것입니다.
          ''...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. ... ''
          * 패턴이 어떻게 생성되었는지 그 과정을 보여주지 못한다. 즉, 스스로 패턴을 만들어내는 데에 전혀 도움이 안된다. (NoSmok:LearnHowTheyBecameMasters)
         알렉산더가 The Timeless Way of Building의 마지막에서 무슨 말을 하는가요?
         ||''At this final stage, the patterns are no longer important ... [[BR]][[BR]]The patterns have taught you to be receptive to what is real.''||
  • MoinMoinDiscussion . . . . 25 matches
         Talk about the things on MoinMoinTodo and MoinMoinIdeas in this space...
         '''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
  • NumberBaseballGame/정훈 . . . . 25 matches
          int three;
          while(!(cin >> three))
          if(three < 100 || three >999)
          while(!(cin >> three))
          baek = three / 100;
          sib = (three % 100) / 10;
          il = three % 10;
          while(three < 100 || three > 999)
          while(!(cin >> three))
          baek = three / 100;
          sib = (three % 100) / 10;
          il = three % 10;
          baek = three / 100;
          sib = (three % 100) / 10;
          il = three % 10;
          while(!(cin >> three))
          baek = three / 100;
          sib = (three % 100) / 10;
          il = three % 10;
          while(!(cin >> three))
  • PrimaryArithmetic/sun . . . . 25 matches
         package primaryarithmetic;
         package primaryarithmetic;
          if( number < 0 ) throw new ArithmeticException( "0 또는 그 이상의 정수만 가능합니다: " + number );
          this.number = number;
          numPointer = numbers.length - 1;
         == PrimaryArithmetic ==
         테스트 작성 (PrimaryArithmeticTest.java)
         package primaryarithmetic;
         public class PrimaryArithmeticTest extends TestCase {
          for( int i=0; i<sets.length; i++ ) {
          int result = PrimaryArithmetic.add(num1, num2);
          catch( Throwable e ) {
          throw new ArithmeticException( "We expected " + expected + ", but was " + result + " (num1=" + num1 + ", num2=" + num2 + ")" );
         테스트를 만족하는 코드 작성 (PrimaryArithmetic.java)
         package primaryarithmetic;
         public class PrimaryArithmetic {
          NumberGenerator ng1 = new NumberGenerator( Math.max(num1, num2) );
          NumberGenerator ng2 = new NumberGenerator( Math.min(num1, num2) );
         언어 특성상 라인수가 길어지는걸 느끼며 (PrimaryArithmeticApp.java)
         package primaryarithmetic;
  • SeminarHowToProgramIt . . . . 25 matches
          * ["CrcCard"] (Index Card -- The finalist of Jolt Award for "design tools" along with Rational Rose Enterprise Edition)
          * White Board -- Communicate with the Board
          * Managing To Do List -- How to Become More Productive Only With a To-do List While Programming
          * 7:30-7:50 강사 도착. TDD 및 RF 시연(Python). 대형 화면을 보고 원하는 커플은 따라할 수 있음.
          * PC 미리 셋팅 - 프로젝션 할 컴퓨터 : Idle Fork + Python 2.2
          * 기본적으로 Idle Fork와 Python 2.2는 모두 깔아야 함. (강사가 Python으로 시범을 보일 것이고, 이걸 보면서 그대로 따라하고 싶은 커플은 그렇게 할 수 있도록)
          * python 4대 : Python 2.2, Idle Fork
          python 4대 : Python 2.2, Idle Fork
          프로젝션 할 컴퓨터 : Idle Fork + Python 2.2
          * [http://python.org/ftp/python/2.2/Python-2.2.exe Python]
         ==== Thread ====
          * [http://vim.sourceforge.net/scripts/download.php?src_id=155 python.vim]
         '''Python'''
         처음에는 신입생 대상으로 Python 강의가 있다고 해서, 거기에 보탬이 될까 하는 마음으로 세미나를 해드리겠다고 했는데, 어떻게 중간에서 "프로그래밍 전반"에 대한 세미나로 성격이 변한 것 같습니다. 실습 중심으로 하게 될 것이고, 아무리 Python이 배우기 쉬운 언어라고 해도 Python에 익숙한 사람이 하나도 없는 페어가 두시간 안에 뭔가 다른 것을 (Python을 통해) 익힌다는 것은 어렵고, 또 효율적이지 못하기 때문에, 여러분들 자신이 가장 "자신있는" 언어를 사용하도록 하는 게 좋겠다는 생각을 합니다.
         하지만 동적 자료형 언어를 접하는 것 자체가 큰 장점일 수가 있습니다. 특히 TDD와 Refactoring은 동적 자료형 언어에서 빛을 발하고, 대다수의 DP는 언어 수준에서 지원이 되거나 아주 간단합니다. 20분 정도면 Python을 간략하게 훑을 수는 있습니다.
         see also ["02_Python"]
  • TheLagestSmallestBox/하기웅 . . . . 25 matches
         #include <cmath>
         double length, width;
          if(length<width)
          cout << (length+width - sqrt(length*length - length*width + width*width))/6.0 << " 0.000 " << length/2.0 << endl;
          cout << (length+width - sqrt(length*length - length*width + width*width))/6.0 << " 0.000 " << width/2.0 << endl;
          while(cin>>length>>width)
  • 데블스캠프2006/월요일/함수/문제풀이/성우용 . . . . 25 matches
         void third();
         void forth();
         void fifth();
         void sixth();
         void seventh();
          third();
          forth();
          fifth();
          sixth();
          seventh();
          cout<<"third";
          third();
         void third()
          cout<<"forth";
          forth();
         void forth()
          cout<<"fifth";
          fifth();
         void fifth()
          cout<<"sixth";
  • 신기호/중대생rpg(ver1.0) . . . . 25 matches
          void sethp(int _hp);
          int gethp_plus();
          void sethp(int amount);
          int gethp();
          max_hp+=tmp.gethp_plus();
         int entity::gethp(){
         void entity::sethp(int amount){
         int item::gethp_plus(){
         void item::sethp(int _hp){
          itmp.sethp(hpplus);
          fprintf(file,"hp: %d\n",PLAYER.gethp());
          fprintf(file,"hp_plus: %d\n",tmp.gethp_plus());
         #include <math.h>
          PLAYER.gethp(),PLAYER.getmax_hp());
          printf("공격력 보너스: %d\n방어력 보너스: %d\n체력 보너스: %d\n",tmp.getatt(),tmp.getdef(),tmp.gethp_plus());
          PLAYER.gethp(),PLAYER.getmax_hp(),enemy.getName(),enemy.getlevel(),enemy.gethp(),enemy.getmax_hp());
          if(enemy.gethp()<=0){
          else if(PLAYER.gethp()<=0){
          enemy.sethp(-PLAYER.getatt());
          PLAYER.sethp(-enemy.getbase_att());
  • AKnight'sJourney/강소현 . . . . 24 matches
          public static int [][] savePath;
          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;
          for(int i=0; i<direct.length; i++){
          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;
  • EnglishSpeaking/2011년스터디 . . . . 24 matches
          1. The Simpsons (심슨네 가족들)의 한 장면을 역할 분담해서 따라하기.
          * [EnglishSpeaking/TheSimpsons]
          1. Theme Talking
          * 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.
          1. The Simpsons
          * [EnglishSpeaking/TheSimpsons/S01E01]
          1. Theme Talking
          * [김수경] - 오늘 처음으로 심슨 대사를 따라해봤습니다. 지원언니께서 네명이 같이 연습할만한 장면들을 미리 골라두셨는데 막상 오늘 온 사람이 두명이라 다른 장면을 연습했습니다. 40초도 채 안 되는 짧은 대화인데 참 어렵더라구요. 한 문장씩 듣고 따라하고, 받아쓰기도 하고, 외워서 해보는 등 한 장면을 가지고 여러번 연습한 것은 매우 좋았습니다. ''You tell me that all the time.''이나 ''Let me be honest with you.''가 어려운 문장은 아니지만 막상 말하려면 딱 생각이 안 났을 것 같은데 오늘 이후로는 좀 더 유려하게 말할 수 있을 것 같아요. 앞으로 매주 진행하면 이런 표현들이 늘어나겠죠 ㅋㅋㅋ
          * [송지원] - 혹시나 했지만 역시나 현지 영어 따라하기는 쉽지 않습니다. 짧은 몇 줄 문장을 외워서 따라하기는 어렵지만 많이 하면 실력이 늘 거라는 생각은 들어요. Free Talking은 제가 하고 싶은 말을 나름 자유롭게 구사해서 만족했는데 Theme Talking에서는 한계를 느끼고 한국어를 섞어서 그 점이 좀 아쉬웠어요. 다음 주에는 The Simpsons.. 정말 4명이 함께 하기를 (온 성의를 다해 대본을 준비하는 만큼;ㅁ;)
          1. The Simpsons
          * [EnglishSpeaking/TheSimpsons/S01E02]
          1. Theme Talking
          * [김수경] - 이번주 영상은 문장이 단어 조금 바꾸면 여기저기 가져다 쓸만한 것이 많아 재미있었어요. 가위바위보로 역할을 분담했는데 ''Along with the ego and the superego, one of three components of the psyche.''라는 문장을 외워보고 싶어서 리사를 선택했습니다. 그런데 리사 분량이 제일 적어서 본의아니게(?) 가장 날로먹었네요 ㅋㅋ
          1. The Simpsons
          * [EnglishSpeaking/TheSimpsons/S01E03]
          1. Theme Talking
          1. The Simpsons
          * [EnglishSpeaking/TheSimpsons/S01E04]
          1. Theme Talking
          * Theme : 자신의 ''Role Model''.
  • Fmt . . . . 24 matches
         The unix fmt program reads lines of text, combining
         output file with lines as close to without exceeding
         72 characters long as possible. The rules for combining and breaking
          1. A new line may be started anywhere there is a space in the input.
         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
         it is not followed by a space or another line break. If a line
         The unix fmt program reads lines of text, combining and breaking lines
         so as to create an output file with lines as close to without exceeding
         72 characters long as possible. The rules for combining and breaking
          1. A new line may be started anywhere there is a space in the input.
         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 it is not followed by a space or another line break. If a line
  • PreviousFrontPage . . . . 24 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.
         MoinMoin is a Python WikiClone, based on PikiPiki. The name is a common German slang expression explained on the MoinMoin page. If you run a Wiki using MoinMoin, please add it to the MoinMoinWikis page.
         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.
         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.
          * WikiSandBox: feel free to change this page and experiment with editing
          * MoinMoinTodo: discussion about the improvement of MoinMoin
          * FindPage: search or browse the database in various ways
  • ThinkRon . . . . 24 matches
         aka {{{~cpp WhatTheyWouldDoInMyShoes}}}
         여기서 Ron은 Think Big에서처럼 부사의 역할을 하며, "RonJeffries처럼"을 뜻한다.
         저는 이미 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.
  • WebGL . . . . 24 matches
          mat4.rotate(camMat, camMat, Math.PI/4, [1,0.5,0.5]);
          mat4.perspective(matProject, Math.PI/180 * 80, 1, 0, 1);
          gl.enable(gl.DEPTH_TEST);
          gl.clear(gl.COLOR_BUFFER_BIT | gl.DEPTH_BUFFER_BIT);
          gl.drawElements(gl.TRIANGLES, buffer.index.length, gl.UNSIGNED_SHORT, 0);
          ajax.open("GET", url, true);//if need Sync method set false;
          this.model = model;
          this.vertex = vertexBuffer;
          this.index = indexBuffer;
          this.index.length = model.indices.length;
          this.normal = normalBuffer;
          throw Error("Can not create Buffer");
          this.program = shaderProgram;
          this._private = {
          throw Error(gl.getShaderInfoLog(shader));
          return this._private.gl.getUniformLocation(this.program, name);
          this._private.gl.uniform4fv(this.getUniformLocation(name), arr);
          this._private.gl.uniform3fv(this.getUniformLocation(name), arr);
          this._private.gl.uniformMatrix4fv(this.getUniformLocation(name), false, arr);
         http://greggman.github.io/webgl-fundamentals/webgl/lessons/webgl-how-it-works.html
  • 미로찾기/상욱&인수 . . . . 24 matches
          public static int PATH = 1;
          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];
          public Vector tracedPath = new Vector();
          tracedPath.add(new Point(0,0));
          tracedPath.add(new Point(x + 1, y + 1));
          this.board = board;
          tracedPath.add( new Point(curPoint) );
          public boolean isValidMove(Point curPoint, int nth) {
          Point nextPt = new Point( curPoint.x + directionTable[nth].x,
          curPoint.y + directionTable[nth].y );
          Point prevPt = (Point) tracedPath.elementAt(tracedPath.size() - 2);
          return (Point)tracedPath.get(tracedPath.size() - 1);
          tracedPath.remove( tracedPath.size()-1 );
          for(int i = 0 ; i < pt.length ; ++i)
          assertEquals( expected, player.tracedPath );
          for(int i = 0 ; i < expected.length ; i++)
          assertEquals(expected[i], (Point) player.tracedPath.get(i));
  • 방울뱀스터디/Thread . . . . 24 matches
         == Thread 의 정의 ==
         == Thread 모듈 ==
         쓰레드를 사용하려면 : 쓰레드로 처리할 부분을 함수로 만들어주고 start_new_thread()로 그 함수로 호출하면 됩니다.
         import thread
         thread.start_new_thread(f,())
         thread.start_new_thread(g,())
         import thread, time
          thread.start_new_thread( counter, (i,) )
         import thread, time
          thread.start_new_thread(counter,(i,5))
         1. thread.acquire() - 락을 얻는다. 일단 하나의 쓰레드가 락을 얻으면 다른 쓰레드는 락을 얻을수 없다.
         2. thread.release() - 락을 해제한다. 다른 쓰레드가 이 코드 영역으로 들어갈 수 있는 것을 허락하는 것이다.
         3. thread.locked() - 락을 얻었으면 1, 아니면 0을 리턴.
         lock = thread.allocate_lock() #여기서 얻은 lock는 모든 쓰레드가 공유해야 한다. (->전역)
         import thread, time
         lock = thread.allocate_lock()
          thread.start_new_thread(counter,(i,5))
         import time, thread
         thread.start_new_thread(CountTime,())
         canvas = Canvas(root, width=400, height=300)
  • 임시 . . . . 24 matches
         Health, Mind & Body: 10
         Mystery & Thrillers: 18
         getHostByName() ->
         gethostname(myName, sizeof(myName));
         String myIP = inet_ntoa(*(in_addr*) *(gethostbyname(myName))->h_addr_list);
         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.
         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.
         SearchIndex : Books, Toys, DVD, Music, VideoGames, Software or any other of Amazon's stores
  • DoItAgainToLearn . . . . 23 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]''(일독을 초강력 추천)에서 다음과 같은 말을 합니다. --김창준
          Seminar:TheParadigmsOfProgramming DeadLink? - 저는 잘나오는데요. 네임서버 설정이 잘못된건 아니신지.. - [아무개]
         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
         TDD 를 연습하고, 워크샵 준비하고 관련 기사글 작성하느냐고 VonNeumannAirport 문제와 kwic 문제를 각각 5번 이상 풀어보게 되었다. (["Python"] 으로, ["CPlusPlus"] 로, ["Java"]로..) 하지만, 풀 때마다 매번 그 결과가 다르게 나왔다. 같은 문제를 계속 풀다 보니, 더 쉽고 더 간단하게 해당 단계를 뛰어넘는 법이 보이는 것이다. 그리고 JuNe 형과 Pair 를 하는중 첫째날때의 진행방법이 달랐고, 둘째날, 셋째날.. 더 좋은 방법들이 계속 보이는 것이였다. 그 문제 사이즈가 크건 작건, 여유를 가지고 다시 해보는 것에서 얻는 점이 많음을 느끼게 되었다. --["1002"]
  • GTK+ . . . . 23 matches
         GTK+ is free software and part of the GNU Project. However, the licensing terms for GTK+, the GNU LGPL, allow it to be used by all developers, including those developing proprietary software, without any license fees or royalties.
         GTK+ is based on three libraries developed by the GTK+ team:
         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.
         === Hello world program with GTK+ ===
          gtk_container_set_border_width(GTK_CONTAINER(window), 10);
          button = gtk_button_new_with_label("Hello World");
  • Gnutella-MoreFree . . . . 23 matches
         == The Gnutella Protocol Document ==
         The Gnutella Protocol Document
          Payload Length (4 byte): Header 다음에 따라오는 Descriptor 의 길이
          || DescriptorID || Payload Descriptor || TTL || hops || PayloadLength ||
         || ping || 네트워크상의 호스트를 찾을 때 쓰인다. Payload가 없기 때문에 header의 Payload_Length = 0x00000000 로 설정된다. ||
          Content-length:435678rn
          바로 다음에 데이터가 Content-length만큼 따라오게 된다.
          또한 Entica에서 필요로하는 Search / MultiThreadDownloader를 지원하며
         Download->m_FileLength = Item.Size;
         // Add hosts to the download list
         m_StartPos = m_pShell->m_BytesCompleted + ((m_pShell->m_FileLength - m_pShell->m_BytesCompleted) / 2);
         m_pChunk->FileLength = m_pShell->m_FileLength - m_StartPos;
         OnReceive(int nErrorCode) 에서 Content-length 만큼의 버퍼 데이타를 받아 청크와 연결 시킨다.
         // Reset m_pChunk because this can be called multiple times
         int length = 25 + m_Search.GetLength() + 1;
         pNode->SendPacket(m_Packet, length, PACKET_QUERY, true);
         // Extract results from the packet
         while(HitsLeft > 0 && NextPos < Length - 16)
         memcpy(&Item.PushID, &Packet[Length - 16], 16);
         if(i < Length - 16)
  • HighResolutionTimer . . . . 23 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.
  • PragmaticVersionControlWithCVS/CommonCVSCommands . . . . 23 matches
         || [PragmaticVersionControlWithCVS/AccessingTheRepository] || [PragmaticVersionControlWithCVS/UsingTagsAndBranches] ||
         == Checking Things Out ==
         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
         || Relative || 1 day ago [[HTML(<BR/>)]] 27 minutes ago [[HTML(<BR/>)]] last monday [[HTML(<BR/>)]] yesterday [[HTML(<BR/>)]] third week ago ||
         Directory /home/CVSHOME/sesame/template2 added to the repository
         cvs add: use `cvs commit' to add this file permanently
         work> cvs add DataFormat.doc #<-- forgot the -kb option
         cvs add: use ’cvs commit’ to add this file permanently
         work> cvs add -kb DataFormat.doc #<-- use the option
         cvs add: use ’cvs commit’ to add this file permanently
         work> # reset the flag in the repository
         work> # then reset the flags in our workspace
         work> # copy a known good copy over this file
         work> # and save this back in the repository
         [http://www.zeropage.org/pds/200584977/pragmatic_version_control_with_cvs.pdf BOOK] 책의 76페이지에 존재한다.
         cvs remove: use `cvs commit' to remove this file permanently
         cvs add: use `cvs commit' to add this file permanently
         [PragmaticVersionControlWithCVS]
  • ProgrammingWithInterface . . . . 23 matches
          for(int i=0; i<articles.length; ++i)
          private ArrayList theData = new ArrayList();
          theData.add(topOfStack++, article);
          return theData.remove(--topOfStack);
          for(int i=0; i<articles.length; ++i)
          return return theData.size();
         깔끔한 코드가 나왔다. 하지만 MonitorableStack은 pushMany 함수를 상속한다. MonitorableStack을 사용해 pushMany 함수를 호출하면 MonitorableStack의 입력 받은 articles의 articles.length 만큼 push가 호출된다. 하지만 지금 호출된 push 메소드는 MonitorableStack의 것이라는 점! 매번 size() 함수를 호출해 최대 크기를 갱신한다. 속도가 느려질 수도 있다. 그리고 만약 누군가 Stack의 코드를 보고 pushMany 함수의 비 효율성 때문에 Stack을 밑의 코드와 같이 수정했다면 어떻게 될 것인가???
          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);
          topOfStack += articles.length;
          private ArrayList theData = new ArrayList();
          theData.add(topOfStack++, article);
          return theData.remove(--topOfStack);
          for(int i=0; i<articles.length; ++i)
          return return theData.size();
          for(int i=0; i<articles.length; ++i)
  • ProjectPrometheus/AT_RecommendationPrototype . . . . 23 matches
         #format python
          self.mathematician = Customer()
          self.mathematician = None
          def testHeavyReviewSmall(self):
          def testHeavyReviewBig(self):
          self.mathematician.heavyReviewBook(self.book2, 1)
          self.mathematician.heavyReviewBook(self.book3, 2)
          self.mathematician.heavyReviewBook(self.book1, 5)
          self.mathematician.heavyReviewBook(self.book4,3)
          self.mathematician.lightReviewBook(self.book2, 1)
          self.mathematician.lightReviewBook(self.book3, 2)
          self.mathematician.lightReviewBook(self.book1, 5)
          self.mathematician.lightReviewBook(self.book4,3)
          self.mathematician.viewBook(self.book6)
          self.mathematician.viewBook(self.book7)
          self.mathematician.viewBook(self.book10)
          self.mathematician.viewBook(self.book9)
          self.mathematician.heavyReviewBook(self.book4, 5)
          self.mathematician.heavyReviewBook(self.book9, 2)
          self.mathematician.lightReviewBook(self.book3, 3)
  • ProjectPrometheus/Journey . . . . 23 matches
         ["ProjectPrometheus"] 작업 수기. ["ThreeFs"] 에 따라. 그날의 한일과 느낀점, 교훈 등을 생각해보는 시간가지기. 순간을 채집하고 민감할 수 있도록.
          * Side Effect 는 Refactoring 의 적이라는 생각이 오늘처럼 든 적이 없었다. -_-; Extract Method 같은 일을 하는 경우 더더욱.! --["1002"]
          * Python 의 ClientCookie 모듈의 편리함에 즐거워하며. Redirect, cookie 지원. 이건 web browser AcceptanceTest를 위한 모듈이란 생각이 팍팍! --["1002"]
          * ["ProjectPrometheus/UserStory"]
          * ["ProjectPrometheus/EngineeringTask"]
          * Python Prototype 을 Java 로 바꾸기
         일단 알고리즘부분을 대강 생각한뒤 Python 으로 TDD 를 했다. ([http://zeropage.org/browsecvs/index.php?&dir=ProjectPrometheus%2FPythonProject%2F&file=RSSpike.py&rev=1.1&cvsrep=ZeroPage 소스]). CRC 세션을 먼저하여 시나리오를 시각화해두고 프로그래밍을 했었다면 좀 더 빨리 작성할 수 있지 않았을까 하는 생각을 해본다.
         ["Jython"] 의 편리함을 깨닫았다. Java 의 클래스들에 대해서 바로 Import 하여서 쓸 수 있다. 그리고 ["Python"] 에 있는 라이브러리들을 거의 그대로 이용할 수 있다. 단, 한글 문제로 걸림. AcceptanceTest 의 경우 ["Python"] 으로 작성함.
          똑같은 코드를 ["Jython"] 으로 돌릴 경우 POST 로 넘긴 한글 keyword 가 제대로 넘어가질 않아요. 인코딩을 바꿔주면 될 것 같은데 못찾아서;--["1002"]
          * ''Jython은 기본적으로 모든 스트링을 유니코드로 처리함. 따라서, 해당 스트링을 euc-kr로 인코딩한 다음에 파라미터 전달을 하면 제대로 됨. 인코딩을 바꾸기 위해서는 파이썬 euc-kr 코덱(pure python 버젼)을 깔고, {{{~cpp '한글'.encode('euc-kr')}}}을 쓰거나, 아니면 자바의 String.getBytes나 {{{~cpp OutputStreamWriter}}} 등을 쓰면 될 것임. --JuNe''
          * ''돌아가는 환경의 기본 인코딩을 설정해주면 될 듯 함. Jython이 자바로된 클래스를 바로 쓴다니, Writer 객체를 얻을때 인코딩 설정을 해주면, 해당 Writer로 빠져나가는 내용은 설정된 인코딩을 적용받음. 받아들일때도 마찬가지로, POST로 넘어온 값을 매번 인코딩 할수도 있겠지만, 그보다는, 시스템에 직접 명시해줘서 일괄적으로 바뀌는 방식을 추천함. 예를들자면, contentType="text/html; charset=euc-kr" 하는식으로 설정할 경우, 얻어오는 값들은 euc-kr로 인코딩된 값을 얻어올 수 있음. --이선우''
         오늘 무엇을 할 것인가 하며 ["ProjectPrometheus/Iteration"] 를 보고선 HTML Parsing 을 진행하기로 했다. 그 전에 ["1002"] 는 '아, 작업하기 전에 Book Search 에 대한 전반적인 그림을 그려 놓는게 좋겠군. 그리고 난 뒤 HTML Parsing 부분에 대해 구현해야지' 라고 생각을 했다. 한편 ["neocoin"] 은 수요일때와 마찬가지로 'HTML Parsing 부분에 대해 일단은 SpikeSolution 으로 만든뒤 모듈화 시켜나가야지' 라는 생각을 했다. 프로그래밍 스타일이 다른 두 사람이 진행 방법에 대한 언급없이 진행을 하려고 했다. ["1002"] 는 '아 전체 그림' 하며 CRC 세션을 하려고 하는 중간. 한편 ["neocoin"] 은 같이 진행하고 있는 CRC 세션에 중간에 대해서 '지금 서로 무엇을 하고 있는거지?' 하며 혼란에 빠졌다. 똑같은 디자인 단계에 대해서 ["1002"] 는 전반적 Book Search 에 대해 생각을 하고 있었고, ["neocoin"] 은 모듈과 모듈간 연결고리에 대해 생각을 하였다.
          * Python, webdebug 를 이용, ["ProjectPrometheus/LibraryCgiAnalysis"] Task
         Python Interpreter 는 말 그대로 'shell' 이다.; command 대신 쓰고 살까.. Python 과 webdebug 을 이용, 도서관 웹 사이트에 GET/POST 으로 데이터를 보내는 부분에 대한 분석은 참 편했다. (단, Python shell 에서의 encoding 부분에 대해 충돌나는건 골치)
         ["ProjectPrometheus"]/Journey
  • ReverseAndAdd/허아영 . . . . 23 matches
         #include <math.h>
         unsigned int numLength(unsigned int num)
         bool isPalindrome(unsigned int *num, unsigned int length)
          if(length == 1)
          for(i = 0; i < length/2; i++)
          if(num[i] == num[length-i-1])
         unsigned int ReverseAndAdd(unsigned int *num, unsigned int length)
          unsigned int *temp = new unsigned int [length];
          for(i = 0; i < length; i++)
          temp[i] = num[length-i-1];
          reverseNum += temp[i] * pow(10, length-i-1); // 모아서 더하기
          Num += num[i] * pow(10, length-i-1);
          unsigned int addNum, length, i, turn = 0, testCaseNum;
          store_numbers = new unsigned int[numLength(num)];
          for(i = 0; i < numLength(num); i++) // 나누어 넣기
          store_numbers[i] = num / pow(10, (numLength(num)-i-1));
          length = numLength(num);
          for(i = 0; i < length; i++) // 나누어 넣기
          store_numbers[i] = num / pow(10, (length-i-1));
          if(isPalindrome(store_numbers, length))
  • Slurpys/강인수 . . . . 23 matches
          Result := (S[APos+1] = 'G') and (APos+1 = Length(S));
          if S[2] <> 'F' then
          for i:=2 to Length(S) do
          if S[i] = 'F' then
          if FirstFind then
          if Length(S) < 3 then
          if HasDorEAtFirst (S) = False then
          if FPos = -1 then
          if HasGAtLast (S,FPos) then
          if IsSlump(Copy(S, FPos+1, MAX_STR_LEN)) then
          if Length(S) < 2 then
          if S[1] <> 'A' then
          if Length(S) = 2 then
          if S[Length(S)] <> 'C' then
          if S[2] = 'B' then
          Result := IsSlimp(Copy(S,3,Length(S)-3));
          Result := IsSlump(Copy(S,2,Length(S)-2));
          for i:=1 to Length(S)-1 do
          if IsSlimp(Copy(S,1,i)) and IsSlump(Copy(S,i+1,MAX_STR_LEN)) then
  • 만년달력/곽세환,조재화 . . . . 23 matches
         int monthDays(int x,int y); // 월의 일수를 계산하는 함수
          int year, month; // year,month는 입력받은 년,월
          cin >> year >> month; // year 은 알고 싶은 년도, month 는 알고 싶은 달.
          for(int i = 0 ; i < month-1 ; i++)
          weekDay=( weekDay+monthDays(year,i+1)%7 ) %7; // 입력한 월의 요일을 구한다.
          for(i=0 ; i<monthDays(year,month); i++)
         int monthDays(int x, int y)//월의 일수를 계산하는 함수
         int monthDays(int x,int y); // 월의 일수를 계산하는 함수
         int getMonthWeekDay(int x, int y);
          int year, month; // year,month는 입력받은 년,월
          cin >> year >> month; // year 은 알고 싶은 년도, month 는 알고 싶은 달.
          for(int i = 0 ; i < month-1 ; i++)
          getMonthWeekDay(weekDay,monthDays(year,i+1)%7); // 입력한 월의 요일을 구한다.
          for(i=0 ; i<monthDays(year,month); i++)
         int monthDays(int x, int y)//월의 일수를 계산하는 함수
         int getMonthWeekDay(int x, int y)
  • Java/스레드재사용 . . . . 22 matches
         public class ReThread implements Runnable {
          private static Vector threads = new Vector();
          private ReThread reThread;
          private Thread thread;
          public ReThread(Runnable target) {
          this.target = target;
          if((thread==null) && (reThread==null)) {
          synchronized(threads) {
          if(threads.isEmpty()) {
          thread = new Thread(this, "ReThread-" + getID());
          thread.start();
          reThread = (ReThread)threads.lastElement();
          threads.setSize(threads.size()-1);
          reThread.start0(this);
          protected synchronized void start0(ReThread reThread) {
          this.reThread = reThread;
          target = reThread.target;
          if ((target != null) && ((thread != null) ^ (reThread != null))) {
          if (thread != null) {
          thread.interrupt ();
  • MineSweeper/김회영 . . . . 22 matches
          int width,height;
          cin>>width;
          char* temp=new char[width];
          int* arrayOfMine=new int[width*height];
          for(int b=0;b<width;b++)
          arrayOfMine[a*width+b]=0;
          for(int j=0;j<width;j++)
          arrayOfMine[(i-1)*width+(j-1)]++;
          arrayOfMine[(i)*width+(j-1)]++;
          arrayOfMine[(i+1)*width+(j-1)]++;
          arrayOfMine[(i-1)*width+(j)]++;
          arrayOfMine[(i+1)*width+(j)]++;
          if(i>0 && j<width-1)
          arrayOfMine[(i-1)*width+(j+1)]++;
          if(j<width-1)
          arrayOfMine[(i)*width+(j+1)]++;
          if(i<height-1 && j<width-1)
          arrayOfMine[(i+1)*width+(j+1)]++;
          arrayOfMine[i*width+j]=BOMB;
          for(int x=0;x<width;x++)
  • UbuntuLinux . . . . 22 matches
         [https://wiki.ubuntu.com/ThinClientHowtoNAT] 이 두 문서를 따라하다 보니 어느새 다른 컴퓨터에서 인터넷에 연결할 수 있는 것이 아닌가!
         iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
         이 명령을 이용한다. 제길 이거만 알았어도 eth0이 왜 안잡히냐고 삽질할 필요도 없었을 텐데.. 알고보니 eth2에 잡혀있는 것이 아닌가!
         aliase eth2 ne2k-pci
         # You need something like this to authenticate users
          AuthType Basic
          AuthName "leonardong"
          AuthUserFile /home/trac/.htaccess
         = Path Configuration =
         http://www.troubleshooters.com/linux/prepostpath.htm
         export PATH= $PATH: <my path>
         To make the script run at startup:
         (Do not forget the dot: . )
         For more information on the usage of update-rc.d
         CTRL + ALT + Left/right arrow key. Switches to the new side of the cube for me.
         CTRL + ALT + SHIFT + Left/Right arrow key- Takes the in focused app around cube.
         CTRL + ALT + Left Click on Desktop - allows you to use the mouse to rotate cube.
         F12 - uses the Expose like trick
         http://www.ubuntu.or.kr/wiki.php/InstallingInputMethods#s-1.3
  • 변준원 . . . . 22 matches
         = Thread =
          int monthcode[12] = {1, 4, 4, 0, 2, 5, 0 ,3 ,6 ,1 ,4 ,6};
          int monthday[12] = {31,28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
          int ymonthcode[12] = {1, 4, 5, 1, 3, 6, 1 ,4 ,0 ,0 ,5 ,0};
          int ymonthday[12] = {31,29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
          int month;
          cin >> month;
          for(n=(code2+monthcode[month-1])%7;n<7;n++)
          if(day<=monthday[month-1])
          while(day<=monthday[month-1])
          if(day<=monthday[month-1])
          for(n=(code2+ymonthcode[month-1])%7;n<7;n++)
          if(day<=ymonthday[month-1])
          while(day<=ymonthday[month-1])
          if(day<=ymonthday[month-1])
  • 조영준/파스칼삼각형/이전버전 . . . . 22 matches
          throw e;
          Printer printer = new Printer(lines, pTriangle.getMax().ToString().Length+1);
          this._row = row;
          _triangle = new int[this._row][];
          if (this._row > 1) _triangle[1] = new int[] { 1, 1 };
          for (int i = 2; i < this._row; i++)
          this.lines = lines;
          this.scale = scale;
          if (scale % 2 == 1) this.scale++; //너비가 홀수이면 짝수로 변경
          count = lines - nums.Length;
          for (int i = 0; i < nums.Length; i++)
          printEmpty(scale - nums[i].ToString().Length);
          throw e;
          Printer printer = new Printer(lines, pTriangle.getMax().ToString().Length+1);
          this.lines = lines;
          for (int i = 0; i < current.Length - 2; i++)
          this.lines = lines;
          this.scale = scale;
          if (scale % 2 == 1) this.scale++; //너비가 홀수이면 짝수로 변경
          count = lines - nums.Length;
  • AcceleratedC++/Chapter10 . . . . 21 matches
          // change the value of `x' through `p'
         const int month_length[] = {
          상기의 예제에서 month_length의 배열의 크기를 명시적으로 나타내지 않았다는 사실에 유의. 대신에 컴파일러가 초기화된 갯수에 맞추어서 배열을 할당한다.
          // names for the letter grades
          // compute the number of grades given the size of the array
          // and the size of a single element
          // given a numeric grade, find and return the associated letter grade
          // if there are command-line arguments, write them
          cout << argv[1]; // write the first argument
          // write each remaining argument with a space before it
          // for each file in the input list
          // if it exists, write its contents, otherwise generate an error message
         == 10.6 Three kinds of memory management ==
          size_t length = strlen(p) + 1;
          char* result = new char[length];
          copy(p, p+length, result);
  • AcceleratedC++/Chapter3 . . . . 21 matches
         = Chapter 3 Working with batches of data =
          // ask for and read the students's name
          // ask for and read the midterm and final grades
          // ask for the homework grades
          // the number and sum of grades read so far
          // sum is the sum of the first count grades
          // write the result
         === 3.2.2 Generating the output ===
          * 중간값을 찾기 위해 먼저 해야할 작업 sort : algorithm 헤더에 정의되어 있다.
          // sort the grades
         #include <algorithm>
          // ask for and read the students's name
          // ask for and read the midterm and final grades
          // ask for the homework grades
          // invariant: homework contains all the homework grades read so far
          // check that the student entered some homework
          // sort the grades
          // compute the median homework grade
          // compute and write the final grade
  • JSP/SearchAgency . . . . 21 matches
          out.write("<form method=post action=SearchAgency.jsp>");
          this.field = field;
          public byte[] norms(String field) throws IOException {
          return in.norms(this.field);
          out.println(hits.length() + " total matching documents");
          for (int start = 0; start < hits.length(); start += HITS_PER_PAGE) {
          int end = Math.min(hits.length(), start + HITS_PER_PAGE);
          String path = doc.get("path");
          if (path != null) {
          out.println((i+1) + ". " + path);
          out.println((i+1) + ". " + "No path for this document");
          if (hits.length() > end) {
          if (line.length() == 0 || line.charAt(0) == 'n')
         String path = request.getContextPath();
         String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
          <base href="<%=basePath%>">
          <meta http-equiv="description" content="This is my page">
          This is my JSP page.aaa <br>
  • NSIS/예제2 . . . . 21 matches
         ComponentText "This will install the less simple example2 on your computer. Select which optional things you want installed."
         ; The text to prompt the user to enter a directory
          ; Set output path to the installation directory.
          SetOutPath $INSTDIR
          ; 인스톨된 path를 레지스트리에 저장
         ; The text to prompt the user to enter a directory
          ; 인스톨된 path를 레지스트리에 저장
         UninstallText "This will uninstall example2. Hit next to continue."
         ; It will install notepad.exe into a directory that the user selects,
         ComponentText "This will install the less simple example2 on your computer. Select which optional things you want installed."
         ; The text to prompt the user to enter a directory
         ; The stuff to install
          ; Set output path to the installation directory.
          SetOutPath $INSTDIR
          ; 인스톨된 path를 레지스트리에 저장
         UninstallText "This will uninstall example2. Hit next to continue."
         ComponentText: "This will install the less simple example2 on your computer. Select which optional things you want installed." "" ""
         SetOutPath: "$INSTDIR"
         UninstallText: "This will uninstall example2. Hit next to continue." ""
  • 데블스캠프2011/셋째날/String만들기/김준석 . . . . 21 matches
          this->value = '\0';
          this->value = str.value + offset;
          this->offset = 0;
          this->count = count;
          for(int i =0; i < this->count; i++){
          if(this->charAt(i) == str.charAt(0)){
          if(this->charAt(select + j) != str.charAt(j)) select = -1;
          for(int i =0; i < this->count; i++){
          if(this->charAt(i) == str.charAt(0)){
          if(this->charAt(select + j) != str.charAt(j)) select = -1;
          if(this->equals(*temp)) return 0;
          int tempCount = this->count + str.count -2 + 1;
          strcpy(temp,this->value);
          this->value = temp;
          this->count = tempCount;
          int length(){
          return this->count;
          char * offvalue = this->value+ offset;
          if(this->count != str.count) return false;
          char * temp = this->value + this->offset;
  • 조영준 . . . . 21 matches
          * [https://github.com/SkywaveTM 깃허브]
          * Python2/3
          * Algorithm problem solving
          * [AlgorithmStudy/2016]
          * KCD 5th 참여 http://kcd2015.onoffmix.com/
          * [AngelsCamp/2015] - 제로병, 피보나치킨 - https://github.com/SkywaveTM/zerobot
          * DevilsCamp 2015 - Game Programming in Java with LibGdx - [데블스캠프2015/첫째날]
          * Titan Project (2015년 1학기 소프트웨어공학 팀프로젝트) - https://github.com/ZeroPage/team6-titan-2015
          * 2015년 하계방학 Java 강사 - [https://onedrive.live.com/redir?resid=3E1EBF9966F2EBA!23488&authkey=!AHG1S-XLSURIruo&ithint=folder%2cpptx 수업 자료]
          * 설계패턴 TeamProejct https://github.com/SkywaveTM/wiki-path-finder
          * [AlgorithmStudy/2015]
          * [열파참/금요일], [Python3Tutorial]
          * [algorithmStudy/2014]
          * Wiki Path Finder (wikipedia api를 이용한 두 단어간의 연관성 추정, 2014년 2학기 자료구조설계 팀 프로젝트)
          * 2015년 설계패턴 팀 프로젝트의 기반 프로젝트가 됨. https://github.com/SkywaveTM/wiki-path-finder
          * PicManager - 2014년 객체지향프로그래밍 팀 프로젝트 - https://github.com/ZeroPage/PicManage
          * [algorithmStudy/2013]
          * GDG pre devfest 2013 seoul - 징격의 안드로이드. 그리고 밤샘. - https://github.com/ZeroPage/MorningTypeHuman
  • Calendar성훈이코드 . . . . 20 matches
         void printFirstTab(int month, int year);
         int printDays(int month, int year, int leftDays);
         int daysOfMonth(int month, int year);
          int month, leftDays;
          for(month = 1 ; month <= 12 ; month++)
          printFirstTab(month, year);
          leftDays = printDays(month, year, first);
         void printFirstTab(int month, int year)
          switch(month)
          printf("Mon Tue Wed Thu Fri Sat Sun\n");
         int printDays(int month, int year, int leftDays)
          int day = daysOfMonth(month, year);
         int daysOfMonth(int month, int year)
          switch(month)
          printf("Input the year : ");
          printf("Input the first day of week in January (0:Mon -- 6:Sun)");
  • ClassifyByAnagram/Passion . . . . 20 matches
          public Parser(File file) throws FileNotFoundException {
          this(new FileInputStream(file));
          this.ins = in;
          this.ins = byteInputStream;
          public void parse() throws IOException {
          public int getItemCount() throws IOException {
          private List getItemLines() throws IOException {
          return line.trim().length() > 0;
          for(int i=0; i<buffer.length()-1 ; i++)
          for(int j=i+1; j<buffer.length() ; j++)
          public static void main(String[] args) throws IOException
          * @author lgk9
          public void testOneLine1() throws IOException
          public void testOneLine2() throws IOException
          public void testTwoLine() throws IOException
          public void testGetItemCount() throws IOException
          public void testContains() throws IOException
          public void testContains2() throws IOException
          public void testReadFie() throws IOException
          public void testParse() throws IOException
  • GDBUsage . . . . 20 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.
         GDB is free software, covered by the GNU General Public License, and you are
         Type "show copying" to see the conditions.
         There is absolutely no warranty for GDB. Type "show warranty" for details.
         This GDB was configured as "i486-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".
         With no argument, edits file containing most recent line listed.
         Editing targets can be specified in these ways:
          FILE:LINENUM, to edit at that line in that file,
          FUNCTION, to edit at the beginning of that function,
          *ADDRESS, to edit at the line containing that address.
         Dynamically load FILE into the running program, and record its symbols
         Execute the rest of the line as a shell command.
         With no arguments, run an inferior shell.
         [http://users.actcom.co.il/~choo/lupg/tutorials/debugging/debugging-with-gdb.html gdb tutorial]
  • HelpOnLists . . . . 20 matches
          like this,
          then it is indented
          in the output
         And if you put asterisks at the start of the line
         A numbered list, mixed with bullets:
          1. three
          * Uppercase roman (with start offset 42)
          I. forty-three
          like this, then it is indented in the output
         And if you put asterisks at the start of the line
         A numbered list, mixed with bullets:
          1. three
          * Uppercase roman (with start offset 42)
          I. forty-three
         [space]another term:: and its definition
          another term:: and its definition
  • OurMajorLangIsCAndCPlusPlus/setjmp.c . . . . 20 matches
         // Redistribution and use in source and binary forms, with or without
         // modification, are permitted provided that the following conditions
         // 1. Redistributions of source code must retain the above copyright
         // notice, this list of conditions and the following disclaimer.
         // 2. Redistributions in binary form must reproduce the above copyright
         // notice, this list of conditions and the following disclaimer in the
         // documentation and/or other materials provided with the distribution.
         // 3. Neither the name of the project nor the names of its contributors
         // may be used to endorse or promote products derived from this software
         // without specific prior written permission.
         // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
         // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
         // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
         // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
         // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
         // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  • ProgrammingLanguageClass/Report2002_2 . . . . 20 matches
         Due : May 6th, 2002 [[BR]]
          1. To find out the maximum length of a variable name
          1. To assess the type-compatibility rule adopted by the Compilers;
          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;
          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
  • 만년달력/강희경,Leonardong . . . . 20 matches
          int year, month;
          cin >> month;
          if ( !year || !month )
          if ( year <= 0 || year >INT_MAX || month <=0 || month>12)
          output(year, month);
         void output(int year, int month)
          int days = how_much_days(year, month);
          date = deter_date(year%400, month);
          date = deter_date(400, month);
         int deter_date(int year, int month )//요일을 정하는 함수(0은 일요일, 6은 토요일)
          if ( month == 0 ){
          month = 12;
          else if ( year == 1 && month == 1)
          return (lastdays(year,month) + deter_date(year, month-1)) % 7;//핵심 코드
         int lastdays(int year, int month)//지난 달 날수를 계산
          switch(month)
         int how_much_days(int year, int month)
          switch(month)//한 달 날짜를 정해줌
  • 현종이 . . . . 20 matches
          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;
          return *this;
          return *this;
          return *this;
         const SungJuk & SungJuk::Top_Math(const SungJuk &s) const
          if (s.m_nMath > m_nMath)
          return *this;
         void SungJuk::Input(int nNumber, char szName[], int nKorean, int nEnglish, int nMath)
          m_nMath = nMath;
          m_nTotal = m_nKorean + m_nEnglish + m_nMath;
  • DirectDraw/Example . . . . 19 matches
         // SimpleDX.cpp : Defines the entry point for the application.
         TCHAR szTitle[MAX_LOADSTRING]; // The title bar text
         TCHAR szWindowClass[MAX_LOADSTRING]; // The title bar text
         // Foward declarations of functions included in this code module:
         // PURPOSE: Registers the window class.
         // This function and its usage is only necessary if you want this code
         // 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
         // with it.
         // In this function, we save the instance handle in a global variable and
         // create and display the main program window.
         // PURPOSE: Processes messages for the main window.
         // WM_COMMAND - process the application menu
         // WM_PAINT - Paint the main window
          // Parse the menu selections:
         === Thread ===
  • EditStepLadders/황재선 . . . . 19 matches
          * 입력 단어에 대해 1~n번의 숫자 번호를 붙였다. 행렬[1...n][1...n]에 편집 단계인 단어에 대해 값을 주어서 방향 그래프를 만들었다. 예를 들어, 1번과 2번 단어가 편집단어라면 mat[1][2] = 1 아니면 0값을 주었다. 가장 depth가 긴 path에 있는 vertex의 개수를 출력하면 된다.
          int length1 = word1.length();
          int length2 = word2.length();
          int lengthGap = Math.abs(length1 - length2);
          if (lengthGap < 0 || lengthGap > 1) {
          int minLength = Math.min(length1, length2);
          for(int i = 0; i < minLength; i++) {
          if (lengthGap == 0) {
          longestPassedWordCount = Math.max(longestPassedWordCount, stack.size());
  • EightQueenProblem/이선우3 . . . . 19 matches
          this.x = x;
          this.y = y;
          public boolean isSamePoint( Point another )
          if( x == another.x && y == another.y ) return true;
          public abstract boolean doIHurtYou( Chessman another );
          public boolean doIHurtYou( Chessman another )
          if( getX() == another.getX() ) return true;
          if( getY() == another.getY() ) return true;
          double angle = ((double)another.getY() - (double)getY()) / ((double)another.getX() - (double)getX());
          public Board( int sizeOfBoard ) throws Exception
          if( sizeOfBoard < 1 ) throw new Exception( Board.class.getName() + "- size_of_board must be greater than 0." );
          this.sizeOfBoard = sizeOfBoard;
          public ConsolBoard( int sizeOfBoard ) throws Exception
          public void prepareBoard( int sizeOfBoard ) throws Exception
          if( args.length != 1 ) throw new Exception();
  • FromDuskTillDawn/변형진 . . . . 19 matches
          $this->train = array();
          $this->days = 0;
          $this->train[$from][] = array("to"=>$to, "start"=>($start+6)%24, "end"=>($end+6)%24);
          $this->track($from, $to);
          if($this->days) echo "Vladimir needs $this->days litre(s) of blood.<br>";
          else echo "There is no route Vladimir can take.<br>";
          for($i=0; $this->train[$from][$i]; $i++)
          $next = $this->train[$from][$i][to];
          if($this->train[$from][$i][start]>=$start)
          if($this->days>$days||!$this->days) $this->days = $days;
          $today[$next] = min(($today[$next])?$today[$next]:0, $this->train[$from][$i][end]-12);
          else $tomorrow[$next] = min(($tomorrow[$next])?$tomorrow[$next]:0, $this->train[$from][$i][end]-12);
          foreach($today as $next => $end) $this->track($next, $to, $end+12, $days, $city);
          if($this->days>$days+1||!$this->days) $this->days = $days+1;
          $this->track($next, $to, $end+12, $days+1, $city);
  • Jython . . . . 19 matches
         [Python] 과 [Java] 의 만남. Java OS (?) 에서 단일언어라는 말은 사라진건가;
          * http://jython.org
          * [http://huniv.hongik.ac.kr/~yong/MoinMoin/wiki-moinmoin/moin.cgi/JythonTestCode PyUnit 과 Java Class 와의 만남 from 박응용님 위키]
          * [http://python.kwangwoon.ac.kr:8080/python/bbs/readArticlepy?bbsid=tips&article_id=242&items=title&searchstr=Jython Jython JApplet 예제]
          * [http://python.kwangwoon.ac.kr:8080/python/bbs/index_html_search?items=title&searchstr=Jython&bbsid=tips 파이썬정보광장 Jython 관련]
          * [http://www.javaclue.org/jython/pyservlet.html JavaClue 의 PyServlet]
          * http://www.xrath.com/devdoc/jython/api/ - 황장호님의 멋진; Jython API Document Java Doc ;
          * http://openlook.org/wiki/Articles - 퍼키님의 마소 6월호 About Python - Jython 기사
          * PyServlet - Jython 을 이용한 servlet
          * JythonTutorial
  • MoreEffectiveC++/Efficiency . . . . 19 matches
         == Item 16:Remember the 80-20 rule. ==
         첫번째 operator[]는 문자열을 읽는 부분이다,하지만 두번째 operator[]는 쓰기를 수행하는 기능을 호출하는 부분이다. 여기에서 '''읽기와 쓰기를 구분'''할수 있어야 한다.(distinguish the read all from the write) 왜냐하면 읽기는 refernce-counting 구현 문자열로서 자원(실행시간 역시) 지불 비용이 낮고, 아마 저렇게 스트링의 쓰기는 새로운 복사본을 만들기 위해서 쓰기에 앞서 문자열 값을 조각내어야 하는 작업이 필요할 것이다.
         mutable 키워드는 최근에 C++에 추가되어서, 당신의 벤더들이 아직 지원 못할 가능성도 있다. 지원하지 못한다면, 당신은 또 다른 방법으로 컴파일러에게 const 멤버 함수 하에서 데이터 멤버들을 고치는 방안이 필요하다. 한가지 가능할 법인 방법이 "fake this"의 접근인다. "fake this"는 this가 하는 역할처럼 같은 객체를 가리키는 포인터로 pointer-to-non-const(const가 아닌 포인터)를 만들어 내는 것이다. (DeleteMe 약간 이상) 당신이 데이터 멤버를 수정하기를 원하면, 당신은 이 "fake this" 포인터를 통해서 수정할수 있다.:
          // 자 이것이 fake This 인데, 저 포인터로 this에 대한 접근에서 const를 풀어 버리는 역할을 한다.
          LargeObject * const fakeThis = const_cast<LargeObject* const>(this);
          fakeThis->field1Value = // fakeThis 가 const가 아니기 때문에
         이 함수는 *this의 constness성질을 부여하기 위하여 const_cast(Item 2참고)를 사용했다.만약 당신이 const_cast마져 지원 안하면 다음과 같이 해야 컴파일러가 알아 먹는다.
          LargeObject * const fakeThis = (LargeObject* const)(this);
         == Item 18: Amortize the cose of expected computations. ==
         이번 아이템에서의 나의 충고-caching과 prefetching을 통해서 over-eager의 전략으로 예상되는 값들의 미리 계산 시키는것-은 결코 item 17의 lazy evaluation(늦은 계산)과 반대의 개념이 아니다. lazy evaluation의 기술은 당신이 항상 필요하기 않은 어떠한 결과에대한 연산을 반드시 수행해야만 할때 프로그램의 효율성을 높이기 위한 기술이다. over-eager evaluation은 당신이 거의 항상 하는 계산의 결과 값이 필요할때 프로그램의 효율을 높여 줄것이다. 양쪽 모두다 eager evaluation(즉시 계산)의 run-of-the-mill(실행의 비용) 적용에 비해서 사용이 더 어렵다. 그렇지만 둘다 프로그램 많은 노력으로 적용하면 뚜렷한 성능 샹항을 보일수 있다.
         == Item 19:Understand the orgin of temporary objects. ==
          cout << "There are " << countChar(buffer, c)
          << " occurrences of the charcter " << c
         임시 객체의 밑바탕의 생각은 비용이 발생하다. 이다. 그래서 당신은 가능한한 그것을 없애기를 원할 것이다. 하지만 이보다 더 중요한 것은, 이러한 임시 객체의 발생에 부분에 대한 통찰력을 기르는 것이다. reference-to-const(상수참조)를 사용한때는 임시 객체가 인자로 전달될수 있는 가능성이 존재 하는 것이다. 그리고 객체로 함수 값을 반환 할때는 임시 인자(temporary)는 아마도 만들어질것이다.(그리고 파괴되어 진다.) 그러한 생성에 대해 예측하고, 당신이 "behind the scences"(보이지 않는 부분) 에서의 컴파일러가 지불하는 비용에 대한 눈을 배워야 한다.
         == Item 20: Facilitate the return value optimization ==
         "내~ 내" 하고서 당신은 궁시렁 거릴꺼다. "최적화라..바보 짓이지. 누가 컴파일러가 그렇게 할수 있다고 하는거지? 나는 정말 컴파일러가 저렇게 하는지 알고 싶은데. 진짜 컴파일러가 저런 일을 하는거 맞아?" 이렇게 말이다. 이러한 특별한 최적화-함수의 반환 값을 가능한한 지역 임시 객체가 사용되는 것을 제거해 버리는것-는 유명한 것이고, 일반적으로 구현되어 있다. 그것은 이렇게 이름 붙여진다.:thr return value optimization. 사실 이런 최적화에 대한 이름은 아마 많은 곳에서 설명되어 질꺼다. 프로그래머는 C++컴파일러가 "return value optimization"을 할수 있는지 벤더들에게 물어 볼수도 있을 정도다 만약 한 벤더가 "예"라고 하고 다른 곳은 "뭐요?" 라고 묻는다면 첫번째 벤더는 당근 경쟁력에서 앞서 가는거다. 아~ 자본주의 인가. 때론 당신은 그걸 좋아 할꺼다.
         == Item 24: Understand the costs of virtual functions, multiple ingeritance, virtual base classes, and RTTI ==
  • OurMajorLangIsCAndCPlusPlus/Class . . . . 19 matches
         void add_month(Date *date, int n)
          void add_month(int n);
         void Date::add_month(int n)
          void add_month(int n);
          void add_month(int n);
          void add_month(int n);
          int month() const;
          void add_month(int n);
         int Date::month() const
         === this 포인터 ===
          void add_month(int n);
          if(this->d == 29 && this->m == 2 && !leapyear(this->y + this->n))
          this->d = 1;
          this->m = 3;
          this->y += this->n;
  • Spring/탐험스터디/wiki만들기 . . . . 19 matches
          1. SecurityContextHolder를 이용하는 법
         Object principal = SecurityContextHolder.getContext().getAuthentication().getPrincipal();
          <sec:authorize ifAllGranted="ROLE_USER">
          </sec:authorize>
          <sec:authorize url="/login">
          </sec:authorize>
          * MarkdownJ, MarkdownPapers는 문서가 부실하고 남은 두 구현체 중 [https://github.com/sirthias/pegdown Pegdown]이 위키 제목을 통한 페이지 링크를 더 간편하게 지원해서.
          * 위키의 문법을 구현하기로 하였는데 직접 파서를 구현하기보다 Markdown의 파서를 사용하면(Markdown 문법을 사용해야 하지만) 편리할 것 같아(명백해서 증명할 필요가 없다!) Markdown 파서중 pegdown을 쓰기로 경정. Java 언어 기반의 파서중 그나마 문서화(GitHub의 소개페이지)가 잘되어있어서....
          * PageTitle 받아서 검색하는 거 까지되었다!! 알고보니 어렵지 않은 문제였음, PathVariable로 url의 path 요소를 받을 수 있다.
          * 비슷한 기능으로는 getServletPath()
          * RequestMappingHandlerMapping의 매핑 테이블을 보니 {[ URL ], methods=[ Method 타입 ], params=[],headers=[],consumes=[],produces=[],custom=[]}등으로 Request를 구분하고 있었다.
          * 이를 이용해 RequestMapping의 value값, Method 타입이 같아도 특정 파라메터의 유무로 리퀘스트 핸들링을 달리할 수 있다.
          * 예를들어 ''@RequestMapping(value = "/helloworld", method = RequestMethod.GET)''와 ''@RequestMapping(value = "/helloworld", method = RequestMethod.GET, params="param=param")''은 다르다. 각각 다른 함수에 mapping될 수 있다.
          * spring security에서 "/create" url에 authentication을 설정
          * RequestMapping의 method 타입을 이용해 signup 페이지 호출과 실제 signup을 구분하여 핸들링
  • 데블스캠프2009/목요일/연습문제/MFC/박준호 . . . . 19 matches
         #undef THIS_FILE
         static char THIS_FILE[] = __FILE__;
          // Note that LoadIcon does not require a subsequent DestroyIcon in Win32
          // IDM_ABOUTBOX must be in the system command range.
          // Set the icon for this dialog. The framework does this automatically
          // when the application's main window is not a dialog
          return TRUE; // return TRUE unless you set the focus to a control
         // If you add a minimize button to your dialog, you will need the code below
         // to draw the icon. For MFC applications using the document/view model,
         // this is automatically done for you by the framework.
          CPaintDC dc(this); // device context for painting
          int x = (rect.Width() - cxIcon + 1) / 2;
          // Draw the icon
         // The system calls this to obtain the cursor to display while the user drags
         // the minimized window.
  • 알고리즘8주숙제 . . . . 19 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.
         The kanpsack problem is defined as follows:
         Find X<sub>1</sub>, X<sub>2</sub>, ..., X<sub>n</sub>, 0 ≤ X<sub>i</sub> such that
         Give a greedy method to find an optimal solution of the knapsack problem and prove its correctness.
         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.
         alph 3 beta 7 theta 10 |}}
         {{| alph beta theta
         || [Leonardong] || 2h || [http://wiki.zeropage.org/trac/leonardong/browser/AlgorithmTrainning/OptimalBST.py] ||
  • EightQueenProblemDiscussion . . . . 18 matches
         EightQueenProblem을 풀면서 혹은 푸는데 실패하면서 얻은 ThreeFs를 이야기해 봅시다.
          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)
         자신에게 항상 "What is the simplest thing that could possibly work?"라는 질문을 하면서 TestDrivenDevelopment를 했나요? 테스트/코드 사이클을 진행하면서 스텝을 작게 하려고 노력했나요? 중간에 진척이 별로 없는 경우, 어떤 액션을 취했나요? 그 때 테스트 사이클의 스텝을 더 작게하려고 했나요? 만약 다시 같은 문제를 새로 푼다면 어떤 순서로 테스트를 하고 싶나요? (직접 다시 한번 새로 시작하는 것도 강력 추천) 왜 다른 사람들에 비해 시간이 상대적으로 많이 걸렸을까요? 테스트 코드를 사용한 것이 그 시간만큼의 이득이 있었나요? TestDrivenDevelopment를 해내가면서 현재 패스하려고 하는 테스트 케이스에서 무엇을 배웠나요? 켄트벡이 말하는 것처럼 사고의 도구가 되어 주었나요? 참고로 저는 EightQueenProblem을 파이썬으로 약 30분 정도 시간에 50 라인 이내로(테스트 코드 제외) 풀었습니다. TestDrivenDevelopment로요. --김창준
         사고의 도구로써는 연습장과 TFP 둘 다 이용했지만, 순수하게 적용하지는 않았습니다. (위의 Queen을 놓는 부분에 대한 재귀호출부분에서는 적용못함) 테스트작성시간/코드작성시간 등에 대한 관리는 하지 않았습니다. (이 부분에 대해서는 반성을. ^^;) 흠.. 그리고 'The Simplest Thing'을 찾아나갔다기 보다도, 이미 해당 문제에 대해서 의사코드를 생각하고, 해당 코드에 대해 Top-Down 형태로 모듈을 나눈뒤에 모듈에 대해 테스트를 만들어갔다는 생각이 드네요. --석천
         지금가지 모두 C++, Python, Java 등 OOPL을 이용했는데 그 중 OOP로 푼 사람은 아무도 없네요 -- class 키워드가 있다고 OOP라고 하긴 힘들겠죠. 사람은 시간이 급하다고 생각이 들수록 평소 익숙한 도구와 멘탈리티로 돌아가려고 하죠. 어쩌면 OOP가 편하고 수월하다고 느끼는 사람이 없다는 이야기가 될지도 모르겠네요. 물론 모든 문제를 푸는데 OOP가 좋다는 이야기를 하려는 것은 아닙니다만. --김창준
         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;.
         ThreeFs
  • Gof/Singleton . . . . 18 matches
          5. class operation 보다 더 유연하다. 패키지에서 Singleton의 기능을 수행하기위한 또다른 방법은 class operation들을 사용하는 것이다. (C++에서의 static 함수나 Smalltalk에서의 class method 등등) 하지만, 이러한 언어적인 테크닉들은 여러개의 인스턴스를 허용하는 디자인으로 바꾸기 힘들어진다. 게다가 C++에서의 static method는 virtual이 될 수 없으므로, subclass들이 override 할 수 없다.
         1. unique instance임을 보증하는 것. SingletonPattern의 경우도 일반 클래스와 마찬가지로 인스턴스를 생성하는 방법은 같다. 하지만 클래스는 늘 단일 인스턴스가 유지되도록 프로그래밍된다. 이를 구현하는 일반적인 방법은 인스턴스를 만드는 operation을 class operations으로 두는 것이다. (static member function이거나 class method) 이 operation은 unique instance를 가지고 있는 변수에 접근하며 이때 이 변수의 값 (인스턴스)를 리턴하기 전에 이 변수가 unique instance로 초기화 되어지는 것을 보장한다. 이러한 접근은 singleton이 처음 사용되어지 전에 만들어지고 초기화됨으로서 보장된다.
         Smalltalk에서 unique instance를 리턴하는 functiond은 Singleton 클래스의 class method로 구현된다. 단일 인스턴스가 만들어지는 것을 보장하기 위해서 new operation을 override한다. The resulting Singleton class might have the following two class methods, where SoleInstance is a class variable that is not used anywhere else:
          // user or environment supplies this at startup
          // Lookup returns 0 if there's no such singleton
          Singleton::Register ("MySingleton", this);
         static MySingleton theSingleton;
          // ... other possible subclasses
          CSingletonList() throw();
          virtual ~CSingletonList() throw();
         #undef THIS_FILE
         static char THIS_FILE[]=__FILE__;
         CNSingleton::CSingletonList::CSingletonList() throw()
         CNSingleton::CSingletonList::~CSingletonList() throw()
          POSITION position = m_ContainerOfSingleton->GetHeadPosition();
         // n-th instance를 얻어온다.
         만약 저 코드를 제대로 수정하려 한다면 어떻게 해야 되나요? 참고로 저는 http://www.javaworld.com/javaworld/javaqa/2001-11/01-qa-1102-singleton.html에 있는 자바소스를 cpp로 포팅했습니다. -- FredFrith
  • HelpOnXmlPages . . . . 18 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.
         See the following example for details, which can also be found on the XsltVersion page.
         /!\ MoniWiki support two type of XSLT processors. One is the xslt.php, the other is xsltproc.php. xslt.php need a xslt module for PHP and xsltproc.php need the xsltproc.
          <xsl:output method="html" omit-xml-declaration="yes" indent="no"/>
          This Wiki is running an XSLT engine by
  • JavaScript/2011년스터디/JSON-js분석 . . . . 18 matches
          * [https://github.com/douglascrockford/JSON-js JSON-js] 코드 분석하기
          length = value.length;
          for (i = 0; i < length; i += 1) {
          v = partial.length === 0 ? '[]' : gap ?
          return isFinite(this.valueOf()) ?
          this.getUTCFullYear() + '-' +
          f(this.getUTCMonth() + 1) + '-' +
          f(this.getUTCDate()) + 'T' +
          f(this.getUTCHours()) + ':' +
          f(this.getUTCMinutes()) + ':' +
          f(this.getUTCSeconds()) + 'Z' : null;
          return this.valueOf();
         // 1. partial.length === 0 ? '{}' : gap, gap ? '{\n' + gap + partial.join(',\n' + gap) + '\n' + mind + '}' : '{' + partial.join(',') + '}'
         // 2. gap ? '{\n' + gap + partial.join(',\n' + gap) + '\n' + mind + '}' : '{' + partial.join(',') + '}', partial.length === 0 ? '{}' : gap
         v = partial.length === 0 ? '{}' : gap ?
          return this.valueOf();
  • Linux . . . . 18 matches
         [[https://groups.google.com/forum/#!msg/comp.os.minix/dlNtH7RRrGA/SwRavCzVE7gJ 전설적인 서문]]
         Hello everybody out there using minix -
         professional like gnu) for 386(486) AT clones. This has been brewing
         things people like/dislike in minix, as my OS resembles it somewhat
         (same physical layout of the file-system (due to practical reasons)
         among other things).
         I've currently ported bash(1.08) and gcc(1.40), and things seem to work.
         This implies that I'll get something practical within a few months, and
         are welcome, but I won't promise I'll implement them :-)
         PS. Yes - it's free of any minix code, and it has a multi-threaded fs.
         will support anything other than AT-harddisks, as that's all I have :-(.
         [http://zeropage.org/pub/Linux/Running_Linux_4th.pdf RunningLinux, 4th] - 깨진고리
  • NetworkDatabaseManagementSystem . . . . 18 matches
         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.
  • PragmaticVersionControlWithCVS/Getting Started . . . . 18 matches
         || [PragmaticVersionControlWithCVS/WhatIsVersionControl] || [PragmaticVersionControlWithCVS/HowTo] ||
         three
         == Starting to Work With a Project ==
         == Updating the Repository ==
         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
         three
         three
         three
         three
         three
         three
         three
         date: 2005-08-02 13:46:44 +0000; author: sapius; state: Exp; lines: +1 -1
         three
         [PragmaticVersionControlWithCVS]
  • TestDrivenDatabaseDevelopment . . . . 18 matches
          public void setUp() throws SQLException, InstantiationException, IllegalAccessException, ClassNotFoundException {
          public void tearDown() throws SQLException {
          public void testEdit() throws SQLException {
          public void testTotalArticle() throws SQLException {
          public void testCreateArticle() throws SQLException {
          public void testDelete() throws SQLException {
          public void testGet() throws SQLException {
          public void testArticleTableInitialize() throws ClassNotFoundException, IllegalAccessException, InstantiationException, SQLException {
          private void initConnection() throws InstantiationException, IllegalAccessException, ClassNotFoundException, SQLException {
          private void uninitConnection() throws SQLException {
          public void testDuplicatedInitialize() throws ClassNotFoundException, InstantiationException, IllegalAccessException, SQLException {
          Article get(int index) throws SQLException;
          void initialize() throws SQLException;
          void destroy() throws SQLException;
          void edit(int index, String writer, String title, String body) throws SQLException;
          int getTotalArticle() throws SQLException;
          void createArticle(String writer, String title, String body) throws SQLException;
         즉, MockRepository 에서는 Exception 을 던질 필요가 없는데, 메소드마다 전부 throw 를 던져줘야 한다. (한편으로는, 다른 언어에서는 상관없는데 Java 에서의 Checked Exception 의 문제일런지도 모르겠다.
  • UsenetMacro . . . . 18 matches
         This works well with GoogleGroups Beta service. This helps make links to GoogleGroups with text remotely extracted from usenet topic.
          list($group, $thread) = @explode(':', $value);
          if (preg_match('/[[:xdigit:]]+/', $thread))
          $url .= '/browse_thread/thread/'.$thread;
          $out = "GET {$purl['path']} HTTP/1.0\nHost: {$purl['host']}\n\n";
         Write like this,
         [[Usenet(comp.lang.python)]]
         [[Usenet(comp.lang.python:fec2ae850574adf4)]]
         [[Usenet(http://groups-beta.google.com/group/comp.unix.programmer/browse_thread/thread/d302919d5af2b802)]]
         then it will be displayed like...
         [[Usenet(comp.lang.python)]]
         [[Usenet(comp.lang.python:fec2ae850574adf4)]]
         [[Usenet(http://groups-beta.google.com/group/comp.unix.programmer/browse_thread/thread/d302919d5af2b802)]]
  • WhyWikiWorks . . . . 18 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
  • ZeroPageHistory . . . . 18 matches
         ||1학기 ||7기 회원모집. 3D Graphic Programming. (긁어 놓은 게시물: Protect Mode, Functions Pointer, Compression Algorithm, About 3D, PSP의 구조, DMA, 3D Display, Tcl/Tk, C++Builder와 델파이, Lisp 강좌) ||
         ||1학기 ||회장 임구근, 9기 회원모집. ZeroPage Server 구입. Rebirth 선언. Devils 학회 분리. ||
          * https://lh6.googleusercontent.com/-6q_gnM0FKhU/TsCGFiOzcjI/AAAAAAAAHrg/Sk8DTHO1mqA/s800/Screen%252520Shot%2525202011-11-14%252520at%25252012.07.42%252520PM.png
          * 데블스캠프 : Toy Problem, Python, J2ME, Scheme, Smalltalk, Linux, API, MFC
          * C++, Data Structure, Python, Java-Servlet, JSP, PHP, Servlet, JDBC
          * AOI, The Art Of Computer Programming
          * 데블스캠프 : C, C++, Java, Data Structure, OOP, Flash, Python, Visual Python, JSP, Network, Security
          * C, C++, MFC, Java, Design Pattern, AI, Python, PHP, SQL, JSP, Algorithm, OS, Game, CAM
         ||여름방학 ||데블스 캠프 with 한양대 자람, 대대적인 PC실 고스트 작업, 가평 MT, ||
          * C, C++, Java, Data Structure, Engineering Mathematics, ACM, 3D, Lucene, 영상처리
          * 데블스캠프 : C++, SVN, SSH, MSDN, Data Structure, Algorithm, WinAPI, MFC, OOP
          * OS, MIDI, Engineering Mathematics, AI, Algorithm, PHP, MySQL
          * 데블스캠프 : Toy Programming, Visual Basic, MIDI, Emacs, Python, OOP, Pipe, Regular Expression, Logic Circuit, Java, Security
          * C++, Linux, CCNA, API, Algorithm, MFC
          * 데블스캠프 : C++0x, Data Structure, Python, Prolog, PP, Game Programming, Factorization, Algorithm, DHTML, PHP
          * C++, JavaScript, PHP, Python, Network, Security, Prolog
  • ZeroPage성년식/거의모든ZP의역사 . . . . 18 matches
         ||1학기 ||7기 회원모집. 3D Graphic Programming. (긁어 놓은 게시물: Protect Mode, Functions Pointer, Compression Algorithm, About 3D, PSP의 구조, DMA, 3D Display, Tcl/Tk, C++Builder와 델파이, Lisp 강좌) ||
         ||1학기 ||회장 임구근, 9기 회원모집. ZeroPage Server 구입. Rebirth 선언. Devils 학회 분리. ||
          * https://lh6.googleusercontent.com/-6q_gnM0FKhU/TsCGFiOzcjI/AAAAAAAAHrg/Sk8DTHO1mqA/s800/Screen%252520Shot%2525202011-11-14%252520at%25252012.07.42%252520PM.png
          * 데블스캠프 : Toy Problem, Python, J2ME, Scheme, Smalltalk, Linux, API, MFC
          * C++, Data Structure, Python, Java-Servlet, JSP, PHP, Servlet, JDBC
          * AOI, The Art Of Computer Programming
          * 데블스캠프 : C, C++, Java, Data Structure, OOP, Flash, Python, Visual Python, JSP, Network, Security
          * C, C++, MFC, Java, Design Pattern, AI, Python, PHP, SQL, JSP, Algorithm, OS, Game, CAM
         ||여름방학 ||데블스 캠프 with 한양대 자람, 대대적인 PC실 고스트 작업, 가평 MT, ||
          * C, C++, Java, Data Structure, Engineering Mathematics, ACM, 3D, Lucene, 영상처리
          * 데블스캠프 : C++, SVN, SSH, MSDN, Data Structure, Algorithm, WinAPI, MFC, OOP
          * OS, MIDI, Engineering Mathematics, AI, Algorithm, PHP, MySQL
          * 데블스캠프 : Toy Programming, Visual Basic, MIDI, Emacs, Python, OOP, Pipe, Regular Expression, Logic Circuit, Java, Security
          * C++, Linux, CCNA, API, Algorithm, MFC
          * 데블스캠프 : C++0x, Data Structure, Python, Prolog, PP, Game Programming, Factorization, Algorithm, DHTML, PHP
          * C++, JavaScript, PHP, Python, Network, Security, Prolog
  • 데블스캠프2005/사진2 . . . . 18 matches
         || [[HTML(<img src = http://zeropage.org/pub/upload/DevilsCamp2005_01.JPG width = 1024 height = 768>)]] ||
         || [[HTML(<img src = http://zeropage.org/pub/upload/DevilsCamp2005_02.JPG width = 1024 height = 768>)]] ||
         || [[HTML(<img src = http://zeropage.org/pub/upload/DevilsCamp2005_03.JPG width = 1024 height = 768>)]] ||
         || [[HTML(<img src = http://zeropage.org/pub/upload/DevilsCamp2005_04.JPG width = 1024 height = 768>)]] ||
         || [[HTML(<img src = http://zeropage.org/pub/upload/DevilsCamp2005_05.JPG width = 1024 height = 768>)]] ||
         || [[HTML(<img src = http://zeropage.org/pub/upload/DevilsCamp2005_06.JPG width = 1024 height = 768>)]] ||
         || [[HTML(<img src = http://zeropage.org/pub/upload/DevilsCamp2005_07.JPG width = 1024 height = 768>)]] ||
         || [[HTML(<img src = http://zeropage.org/pub/upload/DevilsCamp2005_08.JPG width = 1024 height = 768>)]] ||
         || [[HTML(<img src = http://zeropage.org/pub/upload/DevilsCamp2005_09.JPG width = 1024 height = 768>)]] ||
         || [[HTML(<img src = http://zeropage.org/pub/upload/DevilsCamp2005_10.JPG width = 1024 height = 768>)]] ||
         || [[HTML(<img src = http://zeropage.org/pub/upload/DevilsCamp2005_11.JPG width = 1024 height = 768>)]] ||
         || [[HTML(<img src = http://zeropage.org/pub/upload/DevilsCamp2005_12.JPG width = 1024 height = 768>)]] ||
         || [[HTML(<img src = http://zeropage.org/pub/upload/DevilsCamp2005_13.JPG width = 1024 height = 768>)]] ||
         || [[HTML(<img src = http://zeropage.org/pub/upload/DevilsCamp2005_14.JPG width = 1024 height = 768>)]] ||
         || [[HTML(<img src = http://zeropage.org/pub/upload/DevilsCamp2005_15.JPG width = 1024 height = 768>)]] ||
         || [[HTML(<img src = http://zeropage.org/pub/upload/DevilsCamp2005_16.JPG width = 1024 height = 768>)]] ||
         || [[HTML(<img src = http://zeropage.org/pub/upload/DevilsCamp2005_17.JPG width = 1024 height = 768>)]] ||
         || [[HTML(<img src = http://zeropage.org/pub/upload/DevilsCamp2005_18.JPG width = 1024 height = 768>)]] ||
  • 새싹교실/2012/세싹 . . . . 18 matches
          * 수업과목: everything you want
          * 새싹교실이 ZeroPage에서 시행되는만큼 4F([ThreeFs] + Future Action Plan)에 맞게 feedback을 작성합니다.
          * 자세한 해결 방법입니다. 소켓을 생성하고나서 바로 setsockopt(mySocket, SOL_SOCKET, SO_REUSEADDR, &anyIntegerVariableThatContainsNonZero, sizeof(anyIntegerVariableThatContainsNonZero)); 함수를 호출하면 이 소켓의 생명이 다하는 순간 해당 포트에 자리가 나게 됩니다. - [황현]
          - thread를 이용하여 서버와 클라이언트를 한 어플리케이션 안에서 사용하는
          * Thread에 대해서 알아보았습니다.
          - thread가 어떤 것인지 왜사용하는지 어떻게 사용하는지 간단히 소개하였습니다.
          * 컴파일이 안되서 인터넷으로 확인해보니 다중 스레드를 쓰려면 gcc에 옵션 -lpthread를 주어야하는군요. - [김희성]
          잠깐 소개했던 thread프로그래밍을 김희성 학생이 thread로 소켓을 짜는 것인줄 알고 채팅 프로그래밍을 완성시켰네요. 강사 멘붕
          1) thread 프로그래밍
          - thread의 동작 원리와 thread를 어떻게 생성하는지, 종료를 어떻게 시키는지에 대해 배웠습니다.
          - 자세한 내용은 링크를 참조. http://www.joinc.co.kr/modules/moniwiki/wiki.php/Site/Thread/Beginning/WhatThread
          * socket과 thread를 이용하여 메시지를 주고 받을 수 있는 채팅 프로그램을 작성하시오.
          U32 Length;
          U8 NameLength;
          U32 ValueLength;
          overlap.OffsetHigh = offset.HighPart;
          http://social.msdn.microsoft.com/forums/en-US/Vsexpressvc/thread/560002ab-860f-4cae-bbf4-1f16e3b0c8f4 - [권영기]
          printf("Number of this MFT Entry : 0x%02x%02x%02x%02x\n"
          printf("Third Attribute : 0x%02x%02x%02x%02x\n",*((unsigned char*)MFT+i+3),*((unsigned char*)MFT+i+2),*((unsigned char*)MFT+i+1),*((unsigned char*)MFT+i));
          printf("Third Attribute Size : 0x%02x%02x%02x%02x\n",*((unsigned char*)MFT+i+3),*((unsigned char*)MFT+i+2),*((unsigned char*)MFT+i+1),*((unsigned char*)MFT+i));
  • 프로그램내에서의주석 . . . . 18 matches
          if(m_pParent && m_pParent->m_pFirstChild == this)
          delete this;
         // MODE_ADDBEFORE일 때는, newnode가 this의 자식인 brother의 바로 윗형으로 입양을 간다.
         // MODE_ADDAFTER일 때는, newnode가 this의 자식인 brother의 바로 아래 동생으로 입양을 간다.
         // brother = NULL
         // brother는 반드시 NULL이거나 this의 child node이어야 한다.
         // addChild(newnode, MODE_ADDAFTER, brother); //newnode가 brother 바로 뒤에 삽입된다.
         // addChild(newnode, MODE_ADDBEFORE, brother); //newnode가 brother 바로 앞에 삽입된다.
         CSmilNode* CSmilNode::addChild(CSmilNode* newnode, DCLADDMODE nMode, CSmilNode* brother)
         // this = 내(부모)
         // brother = (this의 자식인)윗형
         See Also Seminar:CommentOrNot , NoSmok:DonaldKnuth 's comment on programs as works of literature
  • 3DGraphicsFoundation/INSU/SolarSystem . . . . 17 matches
          sizeof(PIXELFORMATDESCRIPTOR), // Size of this structure
          1, // Version of this structure
          32, // Size of depth buffer
          // Choose a pixel format that best matches that described in pfd
          // Set the pixel format for the device context
          // Calculate aspect ratio of the window
          // Set the perspective coordinate system
          glEnable(GL_DEPTH_TEST);
          glShadeModel(GL_SMOOTH);
          glClearDepth(1.0f);
          glEnable(GL_DEPTH_TEST);
          glDepthFunc(GL_LEQUAL);
          static float fEarthRot = 0.0f;
          glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT );
          glRotatef(fEarthRot, 1.0f, 0.0f, 0.0f);
          fEarthRot += 8.0f;
          if(fEarthRot > 360.0f)
          fEarthRot = 0.0f;
         //상민이형 temp 페이지에 써있던걸--; format python도 된다. 자바는 안되더라
  • AcceleratedC++/Chapter2 . . . . 17 matches
          // read the name
          // build the message that we intend to write
          // the number of blacks surrounding the greeting
          // the number of rows and columns to write
          // write blank line to separate the output from the input
          // is it time to write the greeting?
          // are we on the border?
         // setting r to 0 makes the invariant true
          // we can assume that the invariant is true here
          // writing a row of output makes the invariant false
          // incrementing r makes the invariant true again
         // we can conclude that the invariant is true here
  • AdventuresInMoving:PartIV/문보창 . . . . 17 matches
          int length;
         static int totalLength; /* 워털루에서 대도시까지의 거리 */
          return station[i].length - station[i-1].length;
          cin >> totalLength;
          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 (totalLength - station[numStation].length > 100 || station[1].length > 100)
          cout << d[1][totalLength - station[numStation].length + 100] << endl;
          if (d[numStation%2][j] < MAX_NUM && d[numStation%2][j] < min && j - (totalLength - station[numStation].length) >= 100)
  • D3D . . . . 17 matches
          * potential function에 대해서만 봤다.. 약간 쓸만한 알고리즘(?) 인것 같다. ㅋㅋㅋ[[BR]]다음에 나오는 PathPlan에 관한얘기는 쉬운것 같은데. 장난이 아니다.[[BR]]머리 아프다. - 249p/602p...
          Tricks of the Windows Game Programming Gurus : Fundamentals of 2D and 3D Game Programming. (DirectX, DirectMusic, 3D sound)
         이 chapter는 math3D라는 library를 만드는 chapter이다[[BR]]
          int nElem; // number of elements in the polygon
          if( &in != this )
          return *this;
          point3 n; // Normal of the plane
          float d; // Distance along the normal to the origin
          // Construct a plane from three 3-D points
          // Construct a plane from a normal direction and a point on the plane
          // Do nothing
          // Flip the orientation of the plane
          // this is the vector pointing away from the obstacle ??
  • English Speaking/The Simpsons/S01E04 . . . . 17 matches
         = There's no disgrace like home =
         Homer : Another beer, Moe.
         Moe : What's-a matter, Homer? Bloodiest fight of the year.
         You're sitting there like a thirsty bump on a log.
         Police 1 : No, thanks. We're on duty. A couple beers would be nice, though.
         who's been terrorizing the neighborhood.
         Let the nice people enjoy their beers.
         Ah, don't worry. This dog has the scent.
         Police 1 : That figures. Come on, you stupid dog.
         Homer : You know, Moe, my mom once said something that really stuck with me.
         And God bless her soul, she was really on to something.
         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/S01E02 . . . . 17 matches
         = Bart the Genius =
          * Ethan
         Homer : Hmm. How could anyone make a word out of these lousy letters?
         Bart : As in, "This game is stup-id."
         Marge : We could look this "id" thing up in the dictionary.
         Marge : I think it's under the short leg of the couch.
         Lisa : "Id: Along with the ego and the superego
          one of three components of the psyche."
          A big, dumb, balding, North American ape with no chin.
         Bart : Uh-oh. Kwyjibo on the loose.
         [EnglishSpeaking/TheSimpsons]
  • EnglishSpeaking/TheSimpsons/S01E04 . . . . 17 matches
         = There's no disgrace like home =
         Homer : Another beer, Moe.
         Moe : What's-a matter, Homer? Bloodiest fight of the year.
         You're sitting there like a thirsty bump on a log.
         Police 1 : No, thanks. We're on duty. A couple beers would be nice, though.
         who's been terrorizing the neighborhood.
         Let the nice people enjoy their beers.
         Ah, don't worry. This dog has the scent.
         Police 1 : That figures. Come on, you stupid dog.
         Homer : You know, Moe, my mom once said something that really stuck with me.
         And God bless her soul, she was really on to something.
         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.
  • ErdosNumbers/황재선 . . . . 17 matches
          for (int i = 0; i < peopleName.length; i++)
          String[] people = new String[peopleName.length/2];
          for (int i = 0; i < peopleName.length; i+=2) {
          withErdos(people);
          if (joint) withCoWorker(people);
          private void withErdos(String[] people) {
          private void withCoWorker(String[] people) {
          names[i] = this.readLine();
          String line = "Smith, M.N., Martin, G., Erdos, P.: " +
          assertEquals("Smith, M.N., Martin, G., Erdos, P.", divide[0]);
          assertEquals(6, person.length);
          for (int i = 0; i < person.length; i++)
          for (int i = 0; i < person.length; i+=2) {
          assertEquals("Smith, M.N.", person[0]);
          String[] person = {"Smith, M.N.", "Martin, G.", "Erdos, P."};
          for(int i = 0; i < person.length; i++)
          assertEquals(true, tm.containsKey("Smith, M.N."));
  • InterWiki . . . . 17 matches
         List of valid InterWiki names this wiki knows of:
         Other Wikis:
         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.
  • JollyJumpers/황재선 . . . . 17 matches
          * TODO To change the template for this generated file go to
          int len = ch.length;
          int len = nums.length - 1;
          differValue[i] = Math.abs(nums[i+1] - nums[i]);
          for(int i = 0; i < aNum.length; i++)
          for(int j = 0; j < aNum.length; j++)
          int len = nums.length;
          * TODO To change the template for this generated file go to
          int len = ch.length - 1;
          return size == numbers.length ? true : false;
          for(int i = 0; i < numbers.length - 1; i++) {
          set.add(new Integer(Math.abs(numbers[i] - numbers[i+1])));
          * TODO To change the template for this generated file go to
          assertEquals(5, j.numbers.length);
  • NSIS/Reference . . . . 17 matches
         || InstProgressFlags || smooth colored|| smooth, colored. colored 를 설정시는 InstallColors 의 색으로 적용 ||
         || UninstallIcon || path_to_icon.ico || 32*32*16 color icon ||
         || SetOutPath || outpath || output path를 설정한뒤 ($OUTDIR), 만일 해당 path가 존재하지 않으면 만든다. 반드시 full-pathname 이여야 하며 일반적으로 $INSTDIR 이 이용된다. ||
         || File || ([/r] file|wildcard [...]) | /oname=file.data infile.dat||해당 output path ($OUTDIR)에 화일들을 추가한다. 와일드카드 (?, *) 등을 이용할 수 있다. 만일 /r 옵션을 이용할 경우, 해당 화일들와 디렉토리들이 재귀적으로 추가된다. (rm -rf의 'r' 옵션의 의미를 생각하길) ||
         || RMDir || [/r] directory || 해당 디렉토리를 지운다. (full-path여야함) ||
         || CreateDirectory || path_to_create || 디렉토리 생성 ||
         || GetFullPathName || . || . ||
         || SearchPath || . || . ||
         === modifiable variables that are usable in Instructions ===
          * $OUTDIR - 현재의 Output directory. SetOutPath 로 설정가능
         === constant variables that are usable in Instructions and InstallDir ===
          Delete $INSTDIR\Uninst.exe ; delete self (see explanation below why this works)
  • NumericalAnalysisClass/Exam2002_1 . . . . 17 matches
         Show that the angle @ between two lines
         2. Find the intersection point between the plane 3x+4y+z=24 and the line whose end points are p0=(10,-10,2), p1=(10,2,2)
         (a) First. find the parametric equation for line for (t = 0 ~ 1)[[BR]]
         (b) Find the value of the parametric variable corresponding to the intersection point.[[BR]]
         (c) Find the values of the X,Y,Z coordinate values of plane.
         (a) Compute the scalar product.[[BR]]
         (b) Compute the angle between the vectors.
         5. Lagrange, Hermite, spline 함수의 특징을 Smoothness 관점에서 비교 설명하시오.
         6. For given p0, p1, p0u, p1u, induce the p(u)=au^3 + bu^2 + cu + d, in the form of p(u)=U*M*B (여기서는 Dot Product임)
         === Thread ===
  • RubyLanguage/Expression . . . . 17 matches
          * 아래에 있는 연산자는 method 로 정의되어 있으며 재정의가 가능하다.
          * method 로 정의되지 않은 연산자
          def +(other)
          return self * other
          -> "method"
         if song.artist == "Gillespie" then
         elsif song.artist == "Parker" then
          * 실행되는 문장의 줄이 분리되어 있으면 then 생략 가능
          * then은 콜론(:)으로 대체 가능
          when 1850..1889 then "Blues"
          when 1890..1909 then "Ragtime"
          when 1910..1929 then "New Orleans Jazz"
          when 1930..1939 then "Swing"
          when 1940..1950 then "Bebop"
          when year % 400 == 0 then true
          when year % 100 == 0 then false
          * Integer class의 method. Integer가 나타내는 횟수만큼 반복
  • TAOCP/InformationStructures . . . . 17 matches
          마지막 원소 빼기(setting Y equal to the top node and delete)
          ''새 원소 넣기(inserting an element at the rear of the queue)
          맨 앞 원소 빼기(removing the front node)
          F ← F + 1; Y ← X[F]; if F = R, then set F ← R ← 0''
         하지만 공간낭비가 무한할 수 있다.( F, R이 계속증가하기 때문이다.) 따라서 이런 문제(the problem of the queue overrunning memory)를 해결하려면, M개의 노드(X[1]...X[M])가 순환하도록 한다.
          ''if R = M then R ← 1, otherwise R ← R + 1; X[R] ← Y.
          if F = M then F ← 1, otherwise F ← F + 1; Y ← X[F].''
         하지만 리스트가 더 많으면 bottom이 움직일 수 있어야 한다.(we must allow the "bottom" elements of the lists to change therir positions.) MIX에서 I번째 한 WORD를 rA에 가져오는 코드는 다음과 같다.
          a) ''''위로 한칸씩 밀기(moving things up)'''
          b) ''''아래로 한칸씩 밀기(moving things down)''' a)에 해당하는 k가 없을 경우
         한 번 메모리 재배치를 할 때마다 공간을 적당히 마련하는 방법도 가능하다.( 그러나 이해하지 못했다.p.250에 중간에 보면 위 알고리즘(Algorithm G나 R)과 비슷한 동적 메모리 할당 알고리즘의 수학적 분석은 매우 어렵다고 나와있다. )
  • TkinterProgramming/Calculator2 . . . . 17 matches
          self.pack(side=LEFT, expand=YES, fill=BOTH)
          font=("arial", 6, "bold"), width=5, bg='gray40').pack(
          side = LEFT, expand=YES, fill=BOTH)
          font=("arial", 6, "bold"), width=1, bg='gray40').pack(
          side = RIGHT, expand=YES, fill=BOTH)
          width=5, borderwidth=5, **kw):
          kw['width'] = width
          kw['borderwidth'] = borderwidth
          self.runpython("from math import *")
          def runpython(self, code):
          self.pack(expand = YES, fill = BOTH)
          self.actionDict = { 'second' : self.doThis, 'mode': self.doThis,
          'delete' : self.doThis, 'alpha' : self.doThis,
          'stat' : self.doThis, 'math' : self.doThis,
          'matrix': self.doThis, 'program' : self.doThis,
          'vars' : self.doThis, 'clear' : self.clearall,
          'sin' : self.doThis, 'cos' : self.doThis,
          'tan' : self.doThis, 'up' : self.doThis,
          'X1' : self.doThis, 'X2' : self.doThis,
          'log' : self.doThis, 'ln' : self.doThis,
  • WheresWaldorf/Celfin . . . . 17 matches
          int length = strlen(temp);
          for(n=0; n<length && y>=0; n++, y--)
          if(n==length-1)
          for(n=0; n<length && x<row && y>=0; n++, x++, y--)
          if(n==length-1)
          for(n=0; n<length && x<row; n++, x++)
          if(n==length-1)
          for(n=0; n<length && x<row && y<col; n++, x++, y++)
          if(n==length-1)
          for(n=0; n<length && y<col; n++, y++)
          if(n==length-1)
          for(n=0; n<length && x>=0 && y<col; n++, x--, y++)
          if(n==length-1)
          for(n=0; n<length && x>=0; n++, x--)
          if(n==length-1)
          for(n=0; n<length && x>=0 && y>=0; n++, x--, y--)
          if(n==length-1)
  • eXtensibleStylesheetLanguageTransformations . . . . 17 matches
         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.
         = thread =
  • html5practice/계층형자료구조그리기 . . . . 17 matches
          <canvas id="canvas" width="500px" height="500px" style="background-color:gray"/>
         var NodeFontHeight = 15;
          , {"text":"this is true", "child":[{"text":"beonit", "child":null}
         function roundRect(ctx, x, y, width, height, radius, fill, stroke) {
          ctx.beginPath();
          ctx.lineTo(x + width - radius, y);
          ctx.quadraticCurveTo(x + width, y, x + width, y + radius);
          ctx.lineTo(x + width, y + height - radius);
          ctx.quadraticCurveTo(x + width, y + height, x + width - radius, y + height);
          ctx.closePath();
          node.height = NodeFontHeight + NodePaddingH * 2 + NodeMarginH * 2;
          var childLen = node.child.length;
          // console.log("text:" + node.text + " pos:" + x + ", " + y + " width:" + calcRt.width + " height:" + node.height);
          roundRect(ctx, x-NodePaddingW, y-NodePaddingH, calcRt.width + NodePaddingW*2, NodeFontHeight + NodePaddingH*2, NodeRadius, true, true);
          return NodeFontHeight + NodePaddingH * 2 + NodeMarginH * 2;
          var childLen = node.child.length;
          nodeDraw(ctx, x + calcRt.width + NodePaddingW * 2 + NodeMarginW, startY + childHeight/2, node.child[i]);
          ctx.font = NodeFontHeight + "px sans-serif";
  • java/reflection . . . . 17 matches
          * classpath를 이용해 현재 프로젝트내의 class가 아닌 외부 패키지 class의 method를 호출하는 방법.
         * @author rabierre
         * @author rabierre
          public static void main(String[] args) throws MalformedURLException, ClassNotFoundException, InvocationTargetException, IllegalAccessException, InstantiationException, NoSuchMethodException {
          System.out.println(Thread.currentThread().getContextClassLoader().getClass().getName());
          Thread.currentThread().setContextClassLoader(urlClassLoader);
          System.out.println(Thread.currentThread().getContextClassLoader().getClass().getName());
          Method[] declaredMethods = helloWorld.getDeclaredMethods();
          for (int i = 0; i < declaredMethods.length; i++) {
          Method declaredMethod = declaredMethods[i];
          System.out.println(declaredMethod.getName());
          Method sayHello = o.getClass().getMethod("sayHello", null);
  • 김희성/MTFREADER . . . . 17 matches
          long MFTLength;
          MFTLength=ReadCluster((unsigned char*)$MFT+point+i,(unsigned char*)MFT);
          overlap.OffsetHigh = offset.HighPart;
          fprintf(fp,"File 생성 %d년 %d월 %d일\n",time.wYear,time.wMonth,time.wDay);
          fprintf(fp,"File 수정 %d년 %d월 %d일\n",time.wYear,time.wMonth,time.wDay);
          fprintf(fp,"File 접근 %d년 %d월 %d일\n",time.wYear,time.wMonth,time.wDay);
          fprintf(fp,"File 생성 %d년 %d월 %d일\n",time.wYear,time.wMonth,time.wDay);
          fprintf(fp,"File 이름 수정 %d년 %d월 %d일\n",time.wYear,time.wMonth,time.wDay);
          fprintf(fp,"File 접근 %d년 %d월 %d일\n",time.wYear,time.wMonth,time.wDay);
          __int64 length=0;
          length=0;
          length<<=8;
          length+=*((point+i)+(*(point+i)&0x0F)-k);
          length * boot_block.SectorsPerCluster,
          j+=length;
          fwrite((void*)MFT,BytesPerFileRecord,MFTLength,fp);
          for(i=0;i<MFTLength*boot_block.BytesPerSector*boot_block.SectorsPerCluster/BytesPerFileRecord;i++)
          fprintf(fp,"Number of this MFT Entry : 0x%02x%02x%02x%02x\n"
  • 니젤프림/BuilderPattern . . . . 17 matches
          public void setDough (String dough) { this.dough = dough; }
          public void setSauce (String sauce) { this.sauce = sauce; }
          public void setTopping (String topping) { this.topping = topping; }
          this.name = name;
          this.description = description;
          throw new UnsupportedOperationException();
          throw new UnsupportedOperationException();
          throw new UnsupportedOperationException();
          throw new UnsupportedOperationException();
          throw new UnsupportedOperationException();
          throw new UnsupportedOperationException();
          this.builder = builder;
          int first, second, third;
          third = 3;
          builder.buildDay(third);
          builder.addHotel(third, "Wannabe Hotel");
          builder.addTickets(third, "Ticket for Children!");
  • 만년달력/손동일,aekae . . . . 17 matches
          int year,month;
          cin >> year >> month; // 입력받음
          int ThirtyOne=0;
          for (i=1; i<month; i++) // ThirtyOne : month 이전의 달에서 31일이 있는 달의 갯수
          ThirtyOne++;
          if (month == 1 || month == 3 || month == 5 || month == 7 || month == 8 || month == 10 || month == 12)
          else if (month == 4 || month == 6 || month == 9 || month == 11)
          if (month > 2) // 윤년인지 평년인지
          int day = (((year-1) * 365 + two) + ((month-1) * 30 + ThirtyOne - XOR)) % 7;
  • 만년달력/이진훈,문원명 . . . . 17 matches
          int endmonth, endline; //달의 끝, 주의 끝.
          int year,month;
          cin >> month;
          for (int k = 1;k<month;k++)//각 년에서의 월까지의 중첩되는 날짜 카운트
          cout << year << "년\t\t\t" << month << "월" << endl;
          cout << "Sun\t Mon\t Tue\t Wed\t Thr\t Fri\t Sat" << endl;
          if (month == 1 || month == 3 || month == 5 || month == 7 || month == 8 || month == 10 || month == 12)
          endmonth = 31;
          else if (month == 2)
          endmonth = (28+fyun);
          endmonth = 30;
          for(int n = 2 ; n <= endmonth; n++)//출력부. endline은 주의 끝.
  • Atom . . . . 16 matches
         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.
  • ClassifyByAnagram/sun . . . . 16 matches
          * Class, method 이름 refactoring
          qsort2( 0, seq.length-1 );
          public FindAnagram( InputStream in ) throws Exception
          for( int i=0; i<str.length(); i++ ) {
          public static void main(String[] args) throws Exception
          public FindAnagram( InputStream in ) throws Exception
          qsort2( 0, seq.length-1 );
          public static void main(String[] args) throws Exception
          public FindAnagram( InputStream in ) throws Exception
          qsort2( 0, seq.length-1 );
          public static void main( String[] args ) throws Exception
          if( args.length != 1 ) {
          public Anagram( InputStream in ) throws Exception
          if( readLine.length() != 0 )
          public static void main( String[] args ) throws Exception
          if( args.length != 1 ) {
  • CubicSpline/1002 . . . . 16 matches
         제작 : Python 2.2, wxPython 2.3 for Python 2.2, Numerical Python 21.0 (주로 테스트를 위해 이용함)
         === 필요 Libraries and Python ===
          * Python - [http://python.org/ftp/python/2.2.1/Python-2.2.1.exe Python 2.2.1]
          * wxPython - [http://wxpython.org/download.php#binaries wxPython Download]
          * Numerical Python - [http://sourceforge.net/project/showfiles.php?group_id=1369&release_id=74794 SourceForge Numerical Python]
          * Python 코드에 대한 이해. UnitTest, TestFirstProgramming 에 대한 이해.
  • EightQueenProblem/da_answer . . . . 16 matches
          setLength(QueenPosArr, CBoardSize);
          if getNextQueenPos(0, QueenPosArr[i].X, QueenPosArr[i].Y) then
          if checkRule(QueenPosArr[nowIndex].X, QueenPosArr[nowIndex].Y) then
          if nowIndex = 7 then
          if getNextQueenPos(nowIndex, QueenPosArr[nowIndex].X, QueenPosArr[nowIndex].Y) then
          if i = CBoardSize-1 then
          if QueenPosArr[i].X > -1 then
          if (X=QueenPosArr[i].X) or (Y=QueenPosArr[i].Y) or ((Y-X)=(QueenPosArr[i].Y-QueenPosArr[i].X)) or ((Y+X)=(QueenPosArr[i].Y+QueenPosArr[i].X)) then
          setLength(QueenPosArr, CBoardSize);
          if getNextQueenPos(0, QueenPosArr[i].X, QueenPosArr[i].Y) then
          if checkRule(QueenPosArr[nowIndex].X, QueenPosArr[nowIndex].Y) then
          if nowIndex = 7 then
          if getNextQueenPos(nowIndex, QueenPosArr[nowIndex].X, QueenPosArr[nowIndex].Y) then
          if i = CBoardSize-1 then
          if QueenPosArr[i].X > -1 then
          if (X=QueenPosArr[i].X) or (Y=QueenPosArr[i].Y) or ((Y-X)=(QueenPosArr[i].Y-QueenPosArr[i].X)) or ((Y+X)=(QueenPosArr[i].Y+QueenPosArr[i].X)) then
  • Gof/Mediator . . . . 16 matches
         Here's the succession of events by which a list box's selection passes to an entry field.
          5. MediatorPattern은 제어를 집중화한다. Mediator는 interaction의 복잡도를 mediator의 복잡도와 맞바꿨다. Mediator가 protocol들을 encapsulate했기 때문에 colleague객체들 보다 더 복잡하게 되어질 수 있다. 이것이 mediator를 관리가 어려운 monolith 형태를 뛰게 만들 수 있다.
          _director->WidgetChanged(this);
          _ok = new Button(this);
          _cnacel = new Button(this);
          _fontList = new ListBox(this);
          _fontName = new EntryField(this);
          // fill the listBox white the available font names
          // assemble the widgets in the dialog
          Widget* theChangedWidget
          if(theChangedWidget ==_fontList) {
          } else if (theChangedWidget == _ok) {
          } else if (theChangedWidget ==_cancel) {
         ET++[WGM88]와 THINK C class library[Sm93b]는 다이얼로그에서 widget들 사이에 mediator로서 director와 유사한 객체를 사용한다.
         SmallTalk/V는 Pane-ViewManager 통신을 위해 event 기법을 사용하고 있다. 어떤 pane은 어떤 정보를 mediator로 부터 얻기 원하거나 어떤 의미있는 일이 발생해서 이를 mediator에게 알려주기 위해서 event를 생성한다. 하나의 event는 그 event를 식별하는 symbol을 정의한다. 그 event를 다루기 위해서 ViewManager는 pane에 method selector를 등록한다. 이 selector는 event의 handler이다. 이것은 event가 발생한 때면 언제든지 수행될 것이다.
  • JollyJumpers/임인택 . . . . 16 matches
          int size = array.length;
          int tmp = Math.abs(array[i]-array[i+1]);
          int arr[] = new int[args.length];
          for(int i=0; i<arr.length; ++i) {
          assertEquals(2, jj.flags.length);
          flags = new boolean[arr.length-1];
          if( arr.length != array.length )
          for(int i=0; i<arr.length; ++i) {
          if( arr.length != flags.length )
          for(int i=0; i<arr.length; ++i) {
          for(int i=0; i<array.length-1; ++i) {
          int tmp = Math.abs(array[i]-array[i+1]);
          if( tmp<array.length && !flags[tmp-1]) {
          return (offCnt==array.length-1)?"Jolly":"NotJolly";
  • OurMajorLangIsCAndCPlusPlus/2006.2.06/김상섭 . . . . 16 matches
          int newstring::length() const
          this->ch = new char[strlen(ch)+1];
          strcpy(this->ch,ch);
          if(this->ch == ch)
          return *this;
          delete [] this->ch;
          this->ch = new char[strlen(ch)+1];
          strcpy(this->ch, ch);
          return *this;
          if(this->ch == ns.ch)
          return *this;
          delete [] this->ch;
          strcpy(this->ch, ns.ch);
          return *this;
          cout << s.length() << endl;
          cout << s.length() << endl;
  • ParserMarket . . . . 16 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).
         Use a special pagename {{{~cpp ["parser/yourParser.py"]}}} and start your parser with the line {{{~cpp
         #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.
         ||'''Parser'''||'''Author'''||'''Email'''||'''Release'''||'''Revision'''||
         There are also some UtilityScripts.
         If you are not familiar with Python and/or the MoinMoin code base, but have a need or an idea for a parser, this is the place to ask for it. Someone might find it useful, too, and implement it.
  • PythonForStatement . . . . 16 matches
         Python 의 For Statement 에 관한 글입니다.
         {{{#!python
         {{{#!python
         python의 for statement 문법의 근원적인 차원으로 접근해 봅시다.
         python은 다릅니다.
         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].
         {{|There are six sequence types: strings, Unicode strings, lists, tuples, buffers, and xrange objects|}}
         여기까지 알아 보시려면, Python Language Reference에서 sequence, for statement로 열심히 찾아 보시면 됩니다. 열혈강의 파이썬에도 잘 나와있습니다. 그리고 다음의 이야기들은 다른 언어를 좀 아시면 이해가실 겁니다.
         C/Java1.4이하 와 Python의 for문에 대한 관점이 '''전혀''' 다릅니다. 그리고 유용하지요. C의 for문과 구분하기 위하여 python의 이러한 for문을 보통 '''for each''' 문이라고 부릅니다. 이게 진짜 for문 이라고 이야기들 하지요.
         ref : Python Lib ref, Python Language ref, 열강파이썬
         PythonLanguage
  • RonJeffries . . . . 16 matches
         Could you give any advices for Korean young programmers who're just starting their careers? (considering the short history of IT industry in Korea, there are hardly any veterans with decades of experiences like you.) -- JuNe
         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
  • Slurpys/곽세환 . . . . 16 matches
          int length = str.length();
          if (length < 3)
          if (temp == length - 1 && str[temp] == 'G')
          return isSlump(str.substr(temp, length - temp));
          int length = str.length();
          if (length < 2)
          if (length == 2 && str[1] == 'H')
          if (length != 2 && str[length - 1] == 'C')
          return isSlimp(str.substr(2, length - 3));
          return isSlump(str.substr(1, length - 2));
          int length = str.length();
          if (temp != -1 && isSlimp(str.substr(0, temp + 1)) && isSlump(str.substr(temp + 1, length - temp - 1)))
  • ToastOS . . . . 16 matches
         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.
         == And now... introducing the better alternative... RISC OS ==
         RISC OS OWNS YOU ALL! http://www.hashriscos.org LET THE RISC OS VERSUS TOAST OS WAR COMMENCE!
         Get the butter.. this could get messy
  • Where's_Waldorf/곽병학_미완.. . . . . 16 matches
          int length;
          this.m = m;
          this.n = n;
          this.grid = grid.clone();
          this.k = k;
          this.str = str.clone();
          length = 1; //첫 단어
          for(int i=0; i<str.length; i++) { //찾을 단어 개수만큼
          length =1;
          int cnt = str.length();
          length=1;
          cnt = str.length();
          length++;
          if(length == str.length()) return true;
          for(int i=0; i<caseArr.length; i++) {
  • [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.
          * 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 algorithm course ended. This course does not teaches me many things.
          * I and other ZP '01 distribute junior and senior agreement papers that ZP is a formal academy.
         == 12/12 Thu ==
          * Today, I went to the hospital, to see my mom. I felt easy at my mom's health.
          * 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. ㅠ.ㅠ.
  • 문제풀이/1회 . . . . 16 matches
          ==== Normal Method ====
         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.
         Consider using the raw_input() function for general input from users.
          1. 다음과 같은 공백으로 구분되는 임의의 숫자 입력이 주어질때 최대, 최소값을 출력하세요.[[BR]](데이터 양은 [Python]과 머신이 처리할수 있는 범위내로 한정)
          1. [Python]의 문자열 트릭(?)을 보이는 문제입니다. :)
         input numbers with space:
         inNums = [ int(i) for i in raw_input('input numbers with space:\n').split() ]
          이런 경우를 개선하기 위해서 map 함수가 있는것입니다. 이를 Haskell에서 차용해와 문법에 내장시키고 있는 것이 List Comprehension 이고 차후 [http://www.python.org/peps/pep-0289.html Genrator Expression]으로 확장될 예정입니다. 그리고 print 와 ,혼용은 그리 추천하지 않습니다. print를 여러번 호출하는것과 동일한 효과라서, 좋은 컴퓨터에서도 눈에 뜨일만큼 처리 속도가 늦습니다. --NeoCoin
  • 미로찾기/영동 . . . . 16 matches
         == MazePath.cpp ==
          {//Constructor with initial data
          //Assign maze with file IO
          //Push the starting point into the stack
          {//Is in the end point?
          //Push the last movement to stack
          {//Print path from start to end
          {//The next position is available
          cout<<"There is no path in maze\n";
         {//Insert the element into the stack
         {//Take the element from the stack
         {//Is the stack empty?
         {//Show the maze and current position
          cout<<" ";//Path
  • 삼총사CppStudy/숙제1/곽세환 . . . . 16 matches
          int width;
          int GetWidth();
          int GetHeight();
          int GetBorderLength();
          width = 0;
          width = x;
          for (int j = 0; j < width; j++)
         int CRectangle::GetWidth()
          return width;
         int CRectangle::GetHeight()
         int CRectangle::GetBorderLength()
          return 2 * (width + height);
          return width * height;
          width = x;
          cout << "rect1의 가로길이 : " << rect1.GetWidth() << endl;
          cout << "rect1의 세로길이 : " << rect1.GetHeight() << endl;
          cout << "rect1의 둘레길이 : " << rect1.GetBorderLength() << endl;
          cout << "rect2의 가로길이 : " << rect2.GetWidth() << endl;
          cout << "rect2의 세로길이 : " << rect2.GetHeight() << endl;
          cout << "rect2의 둘레길이 : " << rect2.GetBorderLength() << endl;
  • 알고리즘2주숙제 . . . . 16 matches
         From Concrete Mathematics, Chapter 7. Generating Function
         1. (Warm up) An eccentric collector of 2 x n domino tilings pays $4 for each vertical domino and $1 for each horizontal domino. How many tiling are worth exactly $m by this criterion? For example, when m = 6 there are three solutions.
         3. (Basic)Solve the recurrence
         4. (Homework exercises) How many spanning trees are in an n-wheel( a graph with n "outer" verices in a cycle, each connected to an (n+1)st "hub" vertex), when n >= 3?
         From Discrete mathematics
         6~8 Give a generating fuction for the sequence {a<sub>n</sub>}.
         6. Let a<sub>r</sub> be the number of ways to select r balls from 3 red balls, 2 green balls, and 5 white balls.
         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.
         8. Let a<sub>r</sub> be the number of ways to pay for an item costing r cents with pennies, nickels, and dimes.
  • 3N+1/임인택 . . . . 15 matches
         threeNPlusOne numbers =
          mergeList numbers (map maxCycleLength numbers) []
         maxCycleLength fromto =
          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])
          then doCycle (3*n+1) (count+1)
         TNPO> threeNPlusOne [[1,10], [100,200], [201,210]]
  • 3N+1Problem . . . . 15 matches
         3. if n == 1 then STOP
         4. if n is odd then n = 3n + 1
         입력으로 22가 주어졌을때, 출력되는 값의 수 n(22 11 34 17 52 26 13 40 20 10 5 16 8 4 2 1) 는 22 16이다. 이를 n에 대한 cycle-length 라고 한다.
         정수 i와 j 에 대해 두 수 사이에 존재하는 cycle-length 값들중의 최대값을 구할 것이다. 입력은 아래와 같이 한 줄에 한 쌍의 정수로 이루어져 있다. 출력값은 이 두 정수 사이의 cycle-length 중에서 최대값을 구하는 것이다.
          || [강희경] || Python || 1시간 || [3N+1Problem/강희경] || X ||
          || [황재선] || Python || ? || [3N+1Problem/황재선] || . ||
          || [Leonardong] || Python || 46분 || [3N+1Problem/Leonardong] || . ||
          || [1002] || Python || 13분 || [3N+1Problem/1002] ||. ||
          || [1002] || Python || 30분 || [3N+1Problem/1002_2] || No-Psyco : 9.25초, With-Psyco : 3.8초 ||
         See also BioinfoWiki:AlgorithmQuiz/3Plus1
          * 기존의 코드를 수정해서 가장 큰 Cycle Length 가 아닌 3번째로 큰 Cycle Length 를 구해보세요.
          || [1002] || Python || 16분(3분) || . ||
  • CleanCode . . . . 15 matches
          * [http://dogfeet.github.io/progit/progit.ko.pdf git 사용과 관련된 pro git이라는 책의 한국어 번역본. 상당히 자세히 나와 있다고 하네요]
          * [http://oddpoet.net/blog/2010/08/02/a-new-look-at-test-driven-development-kr/ BDD, Given/When/Then]
          * [http://alblue.bandlem.com/2011/02/gerrit-git-review-with-jenkins-ci.html 참고 데모 동영상]
          * [https://gist.github.com/benelog/2922437 버전관리가 필요한 이유를 깨닫는 어떤 사람]
          * String.append와 PathParser.render는 둘이 서로 문자열을 합치는 작업을 하더라도 직접적인 연산을 하는 것과 추상적인 연산을 하는 것의 차이로 서로 추상화 수준이 다르다고 할 수 있다.
         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. */
          * UI를 그리는 흐름(thread)과 http 요청에 대한 흐름(thread)이 따로 존재함.
          *[https://github.com/styleguide/ruby Ruby StyleGuide] - 코딩 스타일 자체보다 왜 그런 스타일을 선택했는지에 대해 생각해 보는 것이 중요함.
          return proxied.apply(this, arguments);
  • DocumentObjectModel . . . . 15 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.
         = Thread =
         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]
  • Expat . . . . 15 matches
         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.
         = thread =
  • InvestMulti - 09.22 . . . . 15 matches
          print '3. Move to another Nation '
          print '4. Invest to this Nation '
          print '3. Move to another Nation '
          print '4. Invest to this Nation '
          print 'This Nation has these items :: ' ,items.keys()[0] ,' , ', items.keys()[1]
          quantity = input('How Many do want to buy this item ? ')
          print 'The Market price is ' , nation[user[NATION]] , ' bytes '
          print 'This Nation has these items :: ' ,items.keys()[0] ,' , ', items.keys()[1]
          print 'Log out, Thank you~~!'
          print '3. Move to another Nation '
          print '4. Invest to this Nation '
          print '6. Give up this game '
          print 'Can not invest this nation!!'
          print 'This Nation has these items :: ' ,items.keys()[0] ,' , ', items.keys()[1]
          quantity = input('How Many do want to buy this item ? ')
          print 'The Market price is ' , nation[user[NATION]]
          print 'This Nation has these items :: ' ,items.keys()[0] ,' , ', items.keys()[1]
          print 'You become bankrupt!! You must make new ID for continuing this game.'
          print 'Log out, Thank you~~!'
  • JavaStudy2003/세번째과제/곽세환 . . . . 15 matches
          private int width;
          public void setData(int xValue, int yValue, int width, int height) {
          this.width = width;
          this.height = height;
          "Circle width : " + width + "\n" +
          public void change(int xValue, int yValue, int width, int height) {
          this.width = width;
          this.height = height;
          area = Math.abs(right_bottom.getX() - left_top.getX()) * Math.abs(left_top.getY() - right_bottom.getY());
  • MineSweeper/황재선 . . . . 15 matches
          * TODO To change the template for this generated file go to
          int len = array.length;
          int len = mineArr[0].length;
          for (int row = 0; row < mineArr.length; row++) {
          for (int i = 0; i < posRow.length; i++) {
          row+posRow[i] < mineArr.length && col+posCol[i] < mineArr[0].length)
          for (int row = 0; row < arr.length; row++) {
          for (int col = 0; col < arr[0].length; col++) {
          * TODO To change the template for this generated file go to
          assertEquals(2, array.length);
          assertEquals(4, arr.length);
          assertEquals(4, arr[0].length);
  • MoreEffectiveC++ . . . . 15 matches
         = Project About That =
          * Item 8: Understand the differend meanings of new and delete - new와 delete가 쓰임에 따른 의미들의 차이를 이해하라.
          * Item 12: Understand how throwing an exception differs from passing a parameter or calling a virtual function [[BR]] - 가상 함수 부르기나, 인자 전달로 처리와 예외전달의 방법의 차이점을 이해하라.
          * Item 15: Understand the costs of exception handling. - 예외 핸들링에 대한 비용 지불 대한 이해
          * Item 16: Remember the 80-20 rule. - 80-20 규칙을 기억해라.
          * Item 18: Amortize the cose of expected computations. - 예상되는 연산의 값을 계산해 두어라.
          * Item 19: Understand the orgin of temporary objects.- 임시 객체들의 기본을 이해하자.
          * Item 20: Facilitate the return value optimization - 반환되는 값을 최적화 하라
          * Item 24: Understand the costs of virtual functions, multiple ingeritance, virtual base classes, and RTTI [[BR]] - 가상 함수, 다중 상속, 가상 기초 클래스, RTTI(실시간 형 검사)에 대한 비용을 이해하라
          * Item 26: Limiting the number of objects of a class - 객체 숫자 제한하기.
          * Item 31: Making functions virtual with respect to more than one object. - 하나 이상 객체에 대응하는 함수를 virtual(가상)으로 동작 시키기
          * Item 32: Program in the Future tense - 미래를 대비하는 프로그램
          * Item 34: Understand how to combine C++ and C in the same program. - 같은 프로그램에서 C++와 C를 혼합하는 법 이해해라.
          * Item 35: Familiarize yourself with °the language standard. - 언어 표준에 친해져라.
         = Thread =
  • ProjectPrometheus/CookBook . . . . 15 matches
         ProjectPrometheus 중 나눌만한 Tip 들이나 기타 코드 이디엄들 등등.
         === Python 에서의 한글 사용 ===
         regular expression 패턴을 정의하기 위해서 ["Komodo"] 를 이용할 수도 있다. 또는 Seminar:TddRegularExpression 을 시도해보는 것도 좋다. ["1002"] 는 Python Interpreter 를 이용, 표현식을 찾아냈다.
          protected void doGet(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) throws ServletException, IOException {
         Python 에서는 urllib 와 httplib 를 이용한다. Python document 의 httplib - examples 를 참조하면 GET 의 예와 POST 의 예가 나온다.
         Python 에서의 string.urlencode 과 마찬가지로 GET,POST 로 넘기기 전 파라메터에 대해 URL Encoding 이 필요하다. URLEncoder 라는 클래스를 이용하면 된다.
          throws ServletException, IOException {
         getParameter 가 호출되기 전에 request의 인코딩이 세팅되어야 한다. 현재 Prometheus의 Controller의 경우 service 의 명을 보고 각각의 서비스에게 실행 권한을 넘기는데, 가장 처음에 request의 characterEncoding 을 세팅해야 한다. 차후 JSP/Servlet 컨테이너들의 업그레이드 되어야 할 내용으로 생각됨 자세한 내용은 http://javaservice.net/~java/bbs/read.cgi?m=appserver&b=engine&c=r_p&n=957572615 참고
         다음은 Python 을 이용, Cookie, GET/POST 변수들을 채운뒤 해당 사이트의 결과물을 인쇄하는 소스.
         build_zpLocal.xml ( .../Prometheus/bin 에 빌드하는 스크립트 ) 를 이용, 실행되는 위치와 관계없는 곳에 일단 컴파일을 하고, 테스트를 돌리게 한다.
         .../Prometheus$ ant -buildfile build_zpLocal.xml
         .../Prometheus$ java -cp "$CLASSPATH:./bin" junit.textui.TestRunner org.zeropage.prometheus.test.AllAllTests
         ["ProjectPrometheus"]
  • SmallTalk/문법정리 . . . . 15 matches
          * {{{~cpp ClassName>>methodName.}}}
          * 모든 스몰토크 표현식이 다음과 같은 양식을 따른다.All Smalltalk expressions follow the form:
          "The message sent is #squared"
          "The message sent is #asUppercase"
          "The message sent is #factorial"
          * 선택자는 단일 식별자이며, 인수는 없다.(the selector is a single Identifier, there are no arguments)
          * 선택자는 특정한 기호(하나나 둘이상의 문자, 숫자가 아님)이고, 인수가 딱 하나만 있다.(the selector is one or two non-alphanumeric characters, followed by exactly one argument object)
          "argument is the Integer object 5"
          "argument is the String 'xyz'"
          "argument is the Integer object 20"
          * 각 키워드에 인수가 있을 때, 선택자는 하나 이상의 키워드이다.(the selector is one or more keywords, when called each keyword is followed by an argument object) -> 세번째 예시 참고
         Point x: 4 y: 200. "receiver is the object Point"
          읽은지 얼마 안되었는데도 스몰토크의 메소드 길이는 7줄을 넘지 않는다는 말이 나온다. 그러면서 extract method(이 말을 직접적으로 쓰진 않았지만)도 나온다.
          * Unary 메세지는 가장 높은 우선 순위를 가진다. messages have the highest precedence.
          * Binary 메세지는 그 다음의 우선 순위를 가진다. Binary message have the next precedence.
          * Keyword 메세지는 가장 낮은 우선 순위를 가진다.Keyword message have the lowest precedence.
          * 괄호 '()' 를 써서 우선 순위를 변경할수 있다. You can alter precedence by using parenthses.
  • TAOCP/BasicConcepts . . . . 15 matches
         = 1.1 Algorithms =
         == 알고리즘 E(유클리드의 알고리즘(Euclid's algorithm)) ==
         계산적인 방법(computational method)을 4쌍의 (Q,I,Ω,f)로 형식을 갖춰 정의하자
          C - 명령어 코드(the poeration code)
          F - 명령어의 변경(a modification of the operation code). (L:R)이라면 8L+R = F
          ±AA - 메모리 주소(the address)
          I - 인덱스(the index specification). 값이 1~6으로 rI1~rI6에 있는 내용과 메모리 주소를 더함
          * Arithmetic operators.
          M이 가리키는 메모리 셀로 점프한다. JSJ를 빼면 점프를 하면서 점프 명령어 다음 위치를 rJ에 저장한다. the comparison indicator를 이용하거나(JL, JE, JG, JGE, JLE, JNE) , 레지스터(JrN, JrZ, JrP, JrNN, JrNZ, JrNP)를 이용한다.
          HLT 명령은 기계를 멈춘다(The machine stops.)
          === Algorithm A ===
          === Another Approach(Algorithm B) ===
          What is this computer-oriented method for permutation multipulication?
          === Algorithm I ===
  • TheJavaMan/스네이크바이트 . . . . 15 matches
          public void Move(Board bo) throws IOException
          this.x = aSnake.bx;
          this.y = aSnake.by;
          public static void main(String[] args) throws IOException{
          p1.add(l1, "South");
          this.add(p1, "South");
          buff=createImage(getWidth(), getHeight());
          gb.clearRect(0,0, getWidth(), getHeight());
          gb.drawImage(snake, x[i], y[i], this);
          gb.drawImage(apple, bx, by, this);
          g.drawImage(buff, 0, 0, this);
          this.x = aSnake.bx;
          this.y = aSnake.by;
          public static void main(String[] args) throws InterruptedException{
          Thread.sleep(bo.difficulty);
         TheJavaMan
  • WikiWikiWeb . . . . 15 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.
         See also one of these links:
          * get some answers on the Wiki:WikiWikiWebFaq
          * get to know more about the Wiki:WikiHistory
  • html5practice/즐겨찾기목록만들기 . . . . 15 matches
          <input type="button" value="add to list" onclick="doSetItem(this.form)"/>
          var pairs = "<table><tr><th>Name</th><th>Value</th></tr>\n";
          for (i=0; i<=localStorage.length-1; i++) {
          pairs += "<tr><td onclick=doRemoveFavorite(this)>"+key+"</td>\n<td>"+value+"</td></tr>\n";
          if (localStorage.length == 0){
          var pairs = "<table><tr><th>Name</th><th>Value</th></tr>\n";
          for (i=0; i<=localStorage.length-1; i++) {
          pairs += "<tr><td onclick=doSetFavorite(this)>"+key+"</td>\n<td>"+value+"</td></tr>\n";
          if (localStorage.length == 0){
  • 만년달력/재니 . . . . 15 matches
          int year, month;
          int theFirstDay;
          char day[7][4] = {"SUN", "MON", "TUE", "WED", "THU", "FRI", "SAT"};
          int numOfMonth[12] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
          cout << "Input month : ";
          cin >> month;
          numOfMonth[1] = 29;
          theFirstDay = ( --year * 365 + year / 4 - year / 100 + year / 400 + 1 ) % 7;
          for (int i = 1 ; i < month ; i++){
          theFirstDay = ( theFirstDay + numOfMonth[i - 1] ) % 7;
          cout << "SUN\tMON\tTUE\tWED\tTHU\tFRI\tSAT" << endl;
          for (i = 0 ; i < theFirstDay ; i++)
          for (i = 0 ; i < numOfMonth[month - 1] ; i++){
          if ( ( theFirstDay + i ) % 7 == 0 && i != 0 )
  • 몸짱프로젝트/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;
  • C++ . . . . 14 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.
         In C and C++, the expression x++ increases the value of x by 1 (called incrementing). The name "C++" is a play on this, suggesting an incremental improvement upon C.|}}
         벨 연구소의 [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]라는 언어에 증가적인 발전이 있음을 암시하는 것이다.
  • C++/SmartPointer . . . . 14 matches
         // In other word, each object has the other object's smart pointer.
          explicit SmartPtr(_Ty *_P = 0) throw ()
          SmartPtr(const SmartPtr<_Ty>& _Y) throw ()
          SmartPtr<_Ty>& operator=(const SmartPtr<_Ty>& _Y) throw ()
          if (this != &_Y)
          return (*this);
          _Ty& operator*() const throw ()
          _Ty *operator->() const throw ()
          _Ty *get() const throw ()
          _Ty *release() throw ()
         = thread =
          이런걸 안써도 되어서 Python이 재미있는 것일지도. (하지만 Extending 쪽에서는 결국 써야 하는.. 흑) --[1002]
  • EnglishSpeaking/TheSimpsons/S01E01 . . . . 14 matches
         Marge : Hmm. I get the feeling there's something you haven't told me, Homer.
         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.
         Marge : I think it does have something to do with your Christmas bonus. I keep asking for it,but--
         Homer : Marge, um, let me be honest with you.
         Homer : Well, I would- I- I wanna do the Christmas shopping this year.
         [EnglishSpeaking/TheSimpsons]
  • MoinMoin . . . . 14 matches
          * [http://www.oreillynet.com/pub/a/python/2000/11/29/pythonnews.html PythonNews article on wikis]
         "Moin" meaning "Good Morning", and "MoinMoin" being an emphasis, i.e. "A ''Very'' Good Morning". The name was obviously chosen for its WikiWikiNess.
         ''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
         We use it all day in the south too. I always thought it just morphed from a morning greeting to an all-day one. -- J
  • PowerOfCryptography/조현태 . . . . 14 matches
          who_next->link(this);
          who_next->link(this);
          prv=new save_number(number/MAX_LONG,this);
          prv=new save_number(number/MAX_LONG,this);
          save_number *target=this;
          this->plus_number_unsigned(get_number);
          unsigned __int64 this_number=0;
          while (this_number!=MAX_LONG)
          this_number=call_number(i);
          this_number=call_number(i);
          if (this_number==taget_get_number && 0==i)
          this_number%=MAX_LONG; taget_get_number%=MAX_LONG;
          if (this_number<taget_get_number)
          if (this_number>taget_get_number)
  • PrimaryArithmetic . . . . 14 matches
         === About [PrimaryArithmetic] ===
          || [문보창] || C++ || 2시간 || [PrimaryArithmetic/문보창] ||
          || [1002] || Python || 42분 || [PrimaryArithmetic/1002] ||
          || [황재선] || Python || 1시간 || [PrimaryArithmetic/황재선] ||
          || [sun] || Java || 1시간 || [PrimaryArithmetic/sun] ||
          || Seminar:지원 || Python || 30분 || Seminar:PrimaryArithmetic/지원 ||
          || JuNe || Python || 10분 || Seminar:PrimaryArithmetic/JuNe ||
          || [Leonardong] || Python || 50분 || [PrimaryArithmetic/Leonardong] ||
          || [허아영] || C++ || ? || [PrimaryArithmetic/허아영] ||
  • PrimaryArithmetic/1002 . . . . 14 matches
         class PrimaryArithmeticTest(unittest.TestCase):
         class PrimaryArithmeticTest(unittest.TestCase):
         class PrimaryArithmeticTest(unittest.TestCase):
         def withNullList(numberStr):
          self.assertEquals([0,0,0,0,0,0,0,1,2,3], withNullList('123'))
          self.assertEquals([0,0,0,0,0,0,0,5,5,5], withNullList('555'))
          oneList,twoList = withNullList(one),withNullList(two)
          oneList,twoList = withNullList(one),withNullList(two)
         def withNullList(numberStr):
         class PrimaryArithmeticTest(unittest.TestCase):
          self.assertEquals([0,0,0,0,0,0,0,1,2,3], withNullList('123'))
          self.assertEquals([0,0,0,0,0,0,0,5,5,5], withNullList('555'))
  • PyIde . . . . 14 matches
          * idlefork, vim 말고 쓸만한 python 개발환경을 구축해보자. -_-;;
          * python 2.3 - http://python.org
          * [Plex] - http://www.cosc.canterbury.ac.nz/~greg/python/Plex/ - 근데.. 몇몇 부분은 parser 모듈로만으로 충분할것도 같은데..
          * [wxPython] - http://wxpython.org
          * [Eclipse] - [wxPython] 과 PDE 중 어느쪽이 더 효율적일까.. CVS 관련 기능들등 프로젝트 관리면에서는 Eclipse 의 Plugin 으로 개발하는 것이 훨씬 이득이긴 한데.. Eclipse Plugin 도 [Jython] 으로 프로그래밍이 가능할까?
          ''가능하다. Jython 스크립트를 Java Class 파일로 간단하게 바꿀 수 있다. 나는 IE 오토메이션을 이렇게 해서 자바 FIT에서 통합으로 관리하게 했었다. --JuNe''
          * http://pythoncard.sourceforge.net
          * http://codespeak.net/pypy/ - 순수 파이썬으로 구현하는 python 이라고 한다. 관심이 가는중.
          * jython 지원
          * auto completion ( http://don.freeshell.org/jython/ 참조)
          * 인터프리터에서 타이핑한 내용 화일로 저장하기 ( 이거 되는거 있나? python 사용법을 몰라서 )
  • PythonThreadProgramming . . . . 14 matches
         import thread
          thread.start_new_thread(myfunction,("Thread No:1",2))
         import thread
          print string," Now releasing lock and then sleeping again"
          lock=thread.allocate_lock()
          thread.start_new_thread(myfunction,("Thread No:1",2,lock))
          thread.start_new_thread(myfunction,("Thread No:2",2,lock))
          * 위 소스에서 why 부분,, 왜 sleep을 넣었을까?(만약 저것을 빼면 한쓰레드가 자원을 독점하게 된다) -> Python 은 threadsafe 하지 않다. Python에서는 자바처럼 스레드가 문법의 중요한 위치를 차지하고 있지 않다. 그것보다 이식 가능성을 더 중요하게 생각한다.
         [Python]
  • STLPort . . . . 14 matches
          Upload:3-prebuild_includePath.GIF
         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의 설명을 참고하여 정리하였습니다)
          ||Single-Threaded|| LIBC.LIB || 단일 스레드, 정적 링크 || /ML || ||
          ||Multithreaded|| LIBCMT.LIB || 다중스레드, 정적 링크 ||/MT || _MT ||
          ||Multithreaded DLL|| MSVCRT.LIB || 다중스레드, 동적링크 ||/MD || _MT, _DLL ||
          ||Single-Threaded|| LIBCP.LIB || 단일 스레드, 정적 링크 || /ML || ||
          ||Multithreaded|| LIBCPMT.LIB || 다중 스레드, 정적 링크 || /MT || _MT ||
          ||Multithreaded DLL|| MSVCPRT.LIB || 다중 스레드, 동적 링크 || /MD || _MT, _DLL ||
          || _STLP_USE_STATIC_LIB || <*><*threaded> || stlport_vc6_static.lib ||
          || _STLP_USE_DYNAMIC_LIB || <*><*threaded> DLL || stlport_vc6.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}}} 경고가 동시에 나는 경우가 있습니다. 이런 에러가 나올 것입니다.
          LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library
         e:\microsoft visual studio\vc98\include\stlport\stl\_threads.h(122) :
         e:\microsoft visual studio\vc98\include\stlport\stl\_threads.h(122) : see declaration of
  • ScheduledWalk/창섭&상규 . . . . 14 matches
          * 전체 여정이 있다.(JourneyArray, Length)
          int width;
          int Length;
          Length=strlen(str);
          JourneyArray=new int[Length];
          for(int i=0;i<Length;i++)
          return (CurrentPosition==Length);
          BoardArray[i] = new int [size.width];
          for (int j = 0; j < size.width; j++)
          for (int j = 0; j < BoardSize.width; j++)
          if(CurrentLocation.y==-1) CurrentLocation.y=MyBoard->BoardSize.width-1;
          if(CurrentLocation.y==MyBoard->BoardSize.width) CurrentLocation.y=0;
          cin >> size.width >> size.height;
          for (int w = 0; w < board->BoardSize.width; w++)
  • SeparatingUserInterfaceCode . . . . 14 matches
         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.
  • wxPython . . . . 14 matches
         == wxPython ==
         wxWindows 를 기반한 다중플랫폼 Python GUI Toolkit.
          * http://www.python.or.kr:8080/python/GUI/wxpython/wxpython1.html
          * http://wxpython.org/
          * http://huniv.hongik.ac.kr/~yong/MoinMoin/wiki-moinmoin/moin.cgi/PythonScript
         == wxPython 을 이용한 GUI IDE ==
          * [http://www.roebling.de wxDesigner] - GUI 디자인 툴. GUI 디자인 한 결과물을 wxPython, wxWindows 등의 코드로 변환할 수 있다.
          * [http://sourceforge.net/projects/boa-constructor BoaConstructor] - wxPython 기반의 GUI IDE. 잠깐 써봤는데 대단대단! (단, 아직은 불안정함)
          * [http://sourceforge.net/projects/pythoncard PythonCard]
         [TkProgramming], [wxPython], [PyGTK], [PyQt]
  • 데블스캠프2011/넷째날/Android/송지원 . . . . 14 matches
          /** Called when the activity is first created. */
          ImageView imageView1 = new ImageView(this);
          button1.setOnClickListener(this);
          button2.setOnClickListener(this);
          button3.setOnClickListener(this);
          Toast.makeText(this, btn+" clicked", Toast.LENGTH_SHORT).show();
          android:layout_width="fill_parent"
          android:layout_width="fill_parent"
          android:layout_width="wrap_content"
          android:layout_width="fill_parent"
          android:layout_width="fill_parent"
          android:layout_width="wrap_content"
          android:layout_width="wrap_content"
          android:layout_width="wrap_content"
  • 진격의안드로이드&Java . . . . 14 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]
          public void methodOperandStack(){
          1: invokespecial #1 // Method java/lang/Object."<init>":()V
          9: invokevirtual #4 // Method java/io/PrintStream.println:(Ljava/lang/String;)V
          public void methodOperandStack();
          public void methodOperandStack(){
          1: invokespecial #1 // Method java/lang/Object."<init>":()V
          9: invokevirtual #4 // Method java/io/PrintStream.println:(Ljava/lang/String;)V
          public void methodOperandStack();
          private final void methodOperandStack(){
          1: invokespecial #1 // Method java/lang/Object."<init>":()V
          9: invokevirtual #4 // Method java/io/PrintStream.println:(Ljava/lang/String;)V
  • AcceleratedC++/Chapter1 . . . . 13 matches
         // ask for the person's name, and greet the person
          // ask for the person's name
          // read the name
         // ask for the person's name, and generate a framed greeting
          // build the message that we intend to write
          // build the second and fourth lines of the output
          // build the first and fifth lines of the output
  • Ajax . . . . 13 matches
          * 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.
         = Thread =
  • ComponentObjectModel . . . . 13 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.
         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.
         Despite this, COM remains a viable technology with an important software base – for example the popular DirectX 3D rendering SDK is based on COM. Microsoft has no plans for discontinuing COM or support for COM.
         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".
         = Thread =
  • CppUnit . . . . 13 matches
          http://zeropage.org/~reset/zb/data/TestHierarchy.jpg
          * Release Mode : Mulithreaded DLL
         2.2) Why does the compiler report an error when linking with CppUnit library?
          You most likely are not using the same C-RunTime library as CppUnit.
          In Release configuration, CppUnit use "Mulithreaded DLL".
          Check that Projects/Settings.../C++/Code Generation is indeed using the correct library.
         라고 link에러가 나는데 왜 그렇죠? 흐 무척 삽질하고 있습니다.-- [FredFrith]
         library path 문제일 것 같은데요. 아니면, CppUnit 이 컴파일 되어있는지 확인해야 할것 같습니다. (lib 디렉토리에 cppunitd.lib 화일이 있는지 확인) --["1002"]
          * VC6에서 작업하고 있는데요. CFileDialog를 통해 파일 path를 받으려고 하는데, TestRunner가 CFileDialog 명령을 수행하는 것보다 먼저 동작해 파일 경로를 받을 수 없습니다.. TestRunner가 실행되는 시점을 조절할 수 있나요? --[FredFrith]
         * 공간이 좁아 전부 올리기가 힘든데, file upload 할 수는 없나요? -- [FredFrith]
         Release Mode : Mulithreaded DLL
  • DataStructure/Graph . . . . 13 matches
          * Depth First Search(우리말로 깊이 우선 탐색) : 한우물을 쭉 파나간다는 말입니다. 가다가 막히면 빽. 스택 이용(또는 재귀). 처음으로 돌아오면 쫑난답니다.
          * Breadth First Search(우리말로 너비 우선 탐색) : 첨 Vertex를 큐에 넣습니다. 뺍니다. 거기에 이어진 Vertex를 큐에 다 넣습니다. 앞에서부터 빼면서 그 노드에 연결된 Vertex를 계속 추가시켜줍니다. Queue가 비게 되면 쫑나는 거랍니다. 너비 우선 탐색을 트리에 적용시키면 그게 바로 Level Order가 되는 것이란 말이져.
          * Kruskal's Algorithm
          * Prim's Algorithm
         = Shortest Paths =
         == Single Source, All Destination(하나의 시작점에서 모든 곳으로의 Shortest Path를 구할수 있단말이다) ==
          * Dijkstra's Algorithm
          * 중간 S : { 지금까지 Shortest Path가 결정된 Vertex들 } : 그러니까 결정되면 S에 넣는다는 말이다.
          * dist[w] : v0에서 출발하여 w까지의 Shortest Path의 값. 단 w를 제외하고는 S집합내에 있는 Vertex들만 거쳐야 한다.
          dist[others] = 무한대
         == All Pairs Shortest Path ==
          * Floyd - Warshall Algorithm
          * A(k)[i, j] 라고 하면 i에서 j로 가는 Shortest Path 의 잠정적인 값이다.단 모든 길은 0 ~ k의 vertex만을 중간에 지날수 있다.
  • EightQueenProblem/밥벌레 . . . . 13 matches
          if Table[i, row] then
          if CountRow(row) > 1 then
          if Table[column, i] then
          if (x > 7) or (y > 7) or (x < 0) or (y < 0) then
          if Table[x, y] then
          if (x > 7) or (y > 7) or (x < 0) or (y < 0) then
          if Table[x, y] then
          if CountRow(i) > 1 then
          if CountColumn(i) > 1 then
          if CountSlash(i) > 1 then
          if CountBackSlash(i) > 1 then
          if Table[i, j] then
          if CheckQueens then
  • Gof/Strategy . . . . 13 matches
         텍스트 스트림을 줄 단위로 나누는 많은 알고리즘들이 있다. (이하 linebreaking algorithm). 해당 알고리즘들이 그것을 필요로 하는 클래스에 긴밀하게 연결되어있는 것은 여러가지 이유 면에서 바람직하지 못하다.
          int _lineWidth;
          int componentCount, int lineWidth, int breaks[]
          // prepare the arrays with the desired component sizes
          // determine where the breaks are:
          componentCount, _lineWidth, breaks
          int componentCount, int lineWidth, int breaks[]
          int componmentCount, int lineWidth, int breaks[]
          int componentCount, int lineWidth, int breaks[]
          * ET++, InterViews - line breaking algorithms as we've described.
          * The Booch components - template arguments. - memory allocation strategies.
          * RApp (system for integrated circult layout) - Router Algorithms.
  • JTDStudy/첫번째과제/상욱 . . . . 13 matches
          return userNumber = JOptionPane.showInputDialog(null, "Enter number what you think");
          fstNum = "" + (Math.random()*10);
          secNum = "" + (Math.random()*10);
          trdNum = "" + (Math.random()*10);
          this.resultNumber = resultNumber;
          protected void setUp() throws Exception {
          protected void tearDown() throws Exception {
         {{{~python
         LENGTH,START,END,TURN_LIMIT=3,100,999,8
          if len(set(answer)) == LENGTH: return answer
          if len(question) == LENGTH and len(set(question)) == LENGTH:
          print '--0으로 시작하지 않는, 겹치지 않는 숫자 %d개를 넣어 주세요.--'%LENGTH
          isEnd = sbo[0] == LENGTH
          * ㅋ... Python... 요새 조금씩 보고 있지만 쓰기 괜찮은 언어라고 생각이 들더군요^^ - [상욱]
          * 나는 Python이든, Perl이든 반드시 학습 해야된다고 생각한다. 그래야 다른 언어들을 잘 쓸수 있었다. 예를들어 Java Collection Framework를 알고는 있었지만 잘 손이 안나갔는데, STL과 Python을 익히고 나니까 아주 손쉽게 쓰게 되더구나.
          * 허나 과거는 잊어버리는 모양이다. 열혈강의 Python을 보니 옆면에 열심히 본 흔적이 있군. Ruby도 SVN history를 보니 흔적이 많이 남아있고.. 어느정도 시간을 투자해야 되는 것 같아. --NeoCoin
          * Python Good~! 요새는 파이썬만 씀.. ㅋ - [(namsnag)]
  • Memo . . . . 13 matches
         http://search.costcentral.com/search?p=Q&srid=S9%2d3&lbc=costcentral&ts=custom&w=ThinkPad&uid=975848396&method=and&isort=price&srt=150
          unsigned char VerIHL; //Version and IP Header Length
         import thread
         from threading import *
         class ConnectManager(Thread):
          Thread.__init__(self)
          self.conn.send("I'm the Boss")
         class MyServer(BaseRequestHandler):
          my_server = ThreadingTCPServer(HOST, MyServer)
          printf( "I have to answer the next question. %sn", question);
          printf( "I sent an answer. The answer is %srn", msg);
          theCompany = HanguryeNewsCompany(reporter)
          theCompany.correctNews("He is still alive")
          self.assertEquals( reporter.news, theCompany.news )
          anotherReporter = Reporter()
          anotherReporter.collectNews( "She.." )
          company.hire( anotherReporter )
          anotherReporter.notify()
  • MineSweeper/이승한 . . . . 13 matches
         == Python ==
         [데블스캠프2005/화요일] [데블스캠프2005/python]의 [ToyProblem]
          for j in range(width):
          if M[i-1][j-1]!= '*' and i-1>=0 and j-1>=0 and i-1<width and j-1<height:
          if M[i-1][j]!= '*' and i-1>=0 and j>=0 and i-1<width and j<height:
          if M[i-1][j+1]!= '*' and i-1>=0 and j+1>=0 and i-1<width and j+1<height:
          if M[i][j-1]!= '*' and i>=0 and j-1>=0 and i<width and j-1<height:
          if M[i][j+1]!= '*' and i>=0 and j+1>=0 and i<width and j+1<height:
          if M[i+1][j-1]!= '*' and i+1>=0 and j-1>=0 and i+1<width and j-1<height:
          if M[i+1][j]!= '*' and i+1>=0 and j>=0 and i+1<width and j<height:
          if M[i+1][j+1]!= '*' and i+1>=0 and j+1>=0 and i+1<width and j+1<height:
         width = 4
          for j in range(width):
  • MoinMoinDone . . . . 13 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.
          * Check for a (configurable) max size in bytes of the RecentChanges page while building it
          * Inline code sections (triple-brace open and close on the same line, {{{~cpp like this}}} or {{{~cpp ThisFunctionWhichIsNotaWikiName()}}})
          * SGML-Entities were replaced when saving them a second time, i.e. & #160; without the space had a problem.
          * Added a means to add meta tags to the page header, like: {{{~cpp
  • Plugin/Chrome/네이버사전 . . . . 13 matches
          1. Tutorial (getstarted) with fileset(manifest.json,.js,.html)
         // Copyright (c) 2012 The Chromium Authors. All rights reserved.
         // Use of this source code is governed by a BSD-style license that can be
         // found in the LICENSE file.
          "method=flickr.photos.search&" +
          "sort=relevance&" + // another good one is "interestingness-desc"
          min-width:357px;
          width:75px;
          "description": "The first extension that I made.",
         function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar,
          window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height
  • VMWare/OSImplementationTest . . . . 13 matches
         [ORG 0x7C00] ; The BIOS loads the boot sector into memory location
          lgdt [gdt_desc] ; Load the GDT descriptor
          mov eax, cr0 ; Copy the contents of CR0 into EAX
          mov cr0, eax ; Copy the contents of EAX into CR0
          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
          mov esp, 090000h ; Move the stack pointer to 090000h
         gdt: ; Address for the GDT
         gdt_end: ; Used to calculate the size of the GDT
         gdt_desc: ; The GDT descriptor
          dd gdt ; Address of the GDT
         times 510-($-$$) db 0 ; Fill up the file with zeros
  • VimSettingForPython . . . . 13 matches
         Python Programming 을 위한 VIM Setting.
         === Python extension ===
         Python extension 이 설치된 상태에서 사용 가능하다.
         Python extension 을 설치하고 난뒤, BicycleRepairMan 을 install 한다. 그리고 BRM 의 압축화일에 ide-integration/bike.vim 을 VIM 설치 디렉토리에 적절히 복사해준다.
         source $VIMRUNTIME/1002/python.vim
         source $VIMRUNTIME/1002/python_box.vim
         map <F5> :wa <CR> :!python % <CR>
         map <F6> :!pythonw.exe "C:Python23Toolsidleidle.pyw"<CR>
         map <F3> :call PythonCommentSelection()<CR>
         map <F4> :call PythonUncommentSelection()<CR>
         map <C-F5> :wa <CR> :!python test_all.py <CR>
         let python_highlight_all = 1
  • 숫자야구/장창재 . . . . 13 matches
          int key_third = rand()%10;
          while (key_first == key_third || key_second == key_third)
          key_third = rand()%10;
          int key = key_first*100 + key_second*10 + key_third;
          cout << key_first << key_second << key_third << endl;
          int input_third = i-(100*(i/100)) - (10*((i - 100 *(i /100))/10));
          if (key_third == input_third)
          if (key_first == input_third)
          if (key_second == input_third)
          if (key_third == input_first)
          if (key_third == input_second)
  • 알고리즘3주숙제 . . . . 13 matches
         from [http://www.csc.liv.ac.uk/~ped/teachadmin/algor/d_and_c.html The university of liverpool of Computer Science Department]
         Consider the following problem: one has a directory containing a set of names and a telephone number associated with each name.
         The directory is sorted by alphabetical order of names. It contains n entries which are stored in 2 arrays:
         Given a name and the value n the problem is to find the number associated with the name.
         A set of n points in the plane.
         The distance between the two points that are closest.
         Note: The distance DELTA( i, j ) between p(i) and p(j) is defined by the expression:
         The (2n)-digit decimal representation of the product x*y = z
         Note: The algorithm below works for any number base, e.g. binary, decimal, hexadecimal, etc. We use decimal simply for convenience.
  • 영어단어끝말잇기 . . . . 13 matches
          *A,N. 9, more than eight, less than ten.
          *N. a person who is especially good at sth
          *V.a movement faster than walking.
          *N.a finish point of something.
          *somebody do something with itself. cf) iteration
          *V.go to the inside
          * (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)
          *V.effort for something
  • 중위수구하기/나휘동 . . . . 13 matches
         #!/usr/bin/python
         def swapList(aList, one, another):
          aList[one], aList[another] = aList[another], aList[one]
          import sys, math
          print i, metric(i), i**2, i*math.log(i)
         almost same. Sort is always faster than mine.
         #!/usr/bin/python
         def swapList(aList, one, another):
          aList[one], aList[another] = aList[another], aList[one]
          import sys, math
          print i,'\t', metric(i), '\t',i**2, '\t', i*math.log(i)
  • 황현/Objective-P . . . . 13 matches
         $iStoreSomething;
         +(int)tellMeTheTruth {
         - (void) doSomeTaskWithSomething:(int)$localIntegerVar {
         [$myClass doSomeTaskWithSomething:42];
         private $iStoreSomething;
         public static function tellMeTheTruth() {
         public function doSomeTaskWithSomething($localIntegerVar, $_objp_type_check=false) { // (void)
         $myClass->doSomeTaskWithSomething(42, true); // Compiler automatically adds last argument!
         $myClass->release(); // actually, does nothing unless you overrides it.
  • 2010JavaScript/역전재판 . . . . 12 matches
          <span class='think'>(span 을 사용했음)</span><br>
         width : 480px;
         width : 460px;
         width : 256px;
         width : 90px;
         width : 128px;
         width : 128px;
         width : 480px;
         width : 130px;
         width : 280px;
         span.think { /*대화 중 주인공이 혼자 말할때의 속성을 지정*/
          <span class='think'>(span 을 사용했음)</span><br>
  • 2학기파이선스터디/서버 . . . . 12 matches
         from SocketServer import ThreadingTCPServer, StreamRequestHandler
         import thread
         lock = thread.allocate_lock() # 상호 배제 구현을 위한 락 객체
         class RequestHandler(StreamRequestHandler):
          server = ThreadingTCPServer(("", PORT), RequestHandler)
         from SocketServer import ThreadingTCPServer, StreamRequestHandler
         import thread
         lock = thread.allocate_lock() # 상호 배제 구현을 위한 락 객체
         class RequestHandler(StreamRequestHandler):
          server = ThreadingTCPServer(("", PORT), RequestHandler)
         from SocketServer import ThreadingTCPServer, StreamRequestHandler
         import thread
         lock = thread.allocate_lock() # 상호 배제 구현을 위한 락 객체
         class RequestHandler(StreamRequestHandler):
          server = ThreadingTCPServer(("", PORT), RequestHandler)
          self.showscrollbar.place(x = 550, y = 0, width = 50, height = 550)
          self.show.place(x = 0, y = 0, width = 585, height = 550)
          self.listscrollbar.place(x = 800-50, y = 0, width = 50, height = 600)
          self.list.place(x = 600, y = 0, width = 185, height = 600)
          self.edit.place(x = 0, y = 550 , width = 600 , height = 50)
  • 2학기파이선스터디/클라이언트 . . . . 12 matches
          self.showscrollbar.place(x = 550, y = 0, width = 50, height = 550)
          self.show.place(x = 0, y = 0, width = 585, height = 550)
          self.listscrollbar.place(x = 800-50, y = 0, width = 50, height = 600)
          self.list.place(x = 600, y = 0, width = 185, height = 600)
          self.edit.place(x = 0, y = 550 , width = 600 , height = 50)
          root.configure( width = 800, height = 600)
          self.showscrollbar.place(x = 550, y = 0, width = 50, height = 550)
          self.show.place(x = 0, y = 0, width = 585, height = 550)
          self.listscrollbar.place(x = 800-50, y = 0, width = 50, height = 600)
          self.list.place(x = 600, y = 0, width = 185, height = 600)
          self.edit.place(x = 0, y = 550 , width = 600 , height = 50)
          root.configure( width = 800, height = 600)
  • Ant/JUnitAndFtp . . . . 12 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>
          action="del" remotedir="${ftptestreportpath}">
          action="mkdir" remotedir="${ftptestreportpath}"/> -->
          action="put" remotedir="${ftptestreportpath}">
  • HierarchicalDatabaseManagementSystem . . . . 12 matches
         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.
  • JavaScript/2011년스터디/윤종하 . . . . 12 matches
          // An element with an ID of main
          // Iterate through each of the items
          for (var i = 0; i < items.length; i++ ) {
          // Remember the value within this scope
          // Bind a function to the elment
          // item refers to a parent variable that has been successfully
          // scoped within the context of this for loop
          alert( "Thanks for your " + item );
  • LCD Display/Celfin . . . . 12 matches
         int length;
          length = strlen(str);
          for(i=0; i<length; i++)
          if(i!=length-1)
          for(i=0; i<length; i++)
          if(i!=length-1)
          for(i=0; i<length; i++)
          if(i!=length-1)
          for(i=0; i<length; i++)
          if(i!=length-1)
          for(i=0; i<length; i++)
          if(i!=length-1)
  • Metaphor . . . . 12 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.
  • MoinMoinWikis . . . . 12 matches
         Wikis that use MoinMoin:
          * this one :)
          * [wiki:EfnetPythonWiki:FrontPage IRC channel #python]
          * [wiki:PythonInfo:Python20Info Python 2.0 Info Area]
          * [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://www.thinkware.se/cgi-bin/thinki.cgi/ Thinki]
          * [http://lightingwiki.com/FrontPage The Lighting Wiki]
         For more wikis, see the InterWiki list.
  • MoreEffectiveC++/Operator . . . . 12 matches
          ArraySize(int numElements):theSize(numElements){}
          int size() const { return theSize; }
          int theSize;
          *this += 1; // 증가
          return *this // fetch!
          UPInt oldValue = *this; // fetch
          ++(*this); // prefix 증가 시킨다.
         위의 코드에서는 strlen() 함수내부에서 p에 관련한 null pointer 검사가 필요하지 않다. 왜냐하면 && 에서는 앞의 조건이 부정 즉, ( false && anything ) 의 경우에는 뒤의 조건(anything)은 수행조차 안하기 때문이다. operator ||의 경우도 특정 조건에서,(true || anything) 뒤에 코드를 수행하지 않은다는 것은 비슷하다.
         == Item 8: Understand the differend meanings of new and delete ==
         the '''new''' operator : heap 메모리 확보와 생성자 호출 동시에[[BR]]
  • NSIS . . . . 12 matches
          MessageBox MB_OK "I'll be happy" ; this one puts a ' inside a string
          MessageBox MB_OK 'And he said to me "Hi there!"' ; this one puts a " inside a string
          MessageBox MB_OK `And he said to me "I'll be fucked!"` ; this one puts both ' and "s inside a string:
          "Remove all files in your NSIS directory? (If you have anything \
         you created that you want to keep, click No)" \
         Section "ThisNameIsIgnoredSoWhyBother?"
         ;Inside the -Post section
         ;And Inside the Uninstall Section
         ;Remove the installation directory
         ;write uninstall information to the registry
         == Thread ==
  • OOP . . . . 12 matches
         Object-oriented programming is based in the principle of recursive design.
         1. Everything is an object.
         2. Objects perform computation by making requests of each other through the passing of messages.
         3. Every object has it's own memory, which consists of other objects.
         5. The class is the repository for behabior associated with an object.
         It’s a natural way for people to ”think in objects”.
         Program consists of objects interacting with eachother Objects provide services.
          * [Method]
  • ReverseAndAdd . . . . 12 matches
          || 남상협 || Python || 60분 || [ReverseAndAdd/남상협] ||
          || 신재동 || Python || 30분 || [ReverseAndAdd/신재동] ||
          || 황재선 || Python || 50분 || [ReverseAndAdd/황재선] ||
          || 문보창 || C++/Python || 90분/20분 || [ReverseAndAdd/문보창] ||
          || 김민경 || Python || . || [ReverseAndAdd/민경] ||
          || 김태훈 || Python || . || [ReverseAndAdd/태훈] ||
          || 김정현 || Python || . || [ReverseAndAdd/김정현] ||
          || 정수민 || Python || . || [ReverseAndAdd/정수민] ||
          || 남도연 || Python || . || [ReverseAndAdd/남도연] ||
          || 최경현 || Python || . || [ReverseAndAdd/최경현] ||
          || 김범준 || Python || . || [ReverseAndAdd/김범준] ||
          || [1002] || Python || 5분 || [ReverseAndAdd/1002] ||
  • Ruby/2011년스터디/세미나 . . . . 12 matches
          * 123.method
          * "문자열".method
          @var # this is the way how declaring variable
          # this is overriding
          Some2.function2 # undefined method
          {| parameters| do something with parameters..}
          yield : get the block and run it
          * 우선 늦게가서 if-else 밖에 못 들어먹었습니다 ㅠ 상당히 아쉬웠어요. 근데 if구문을 사용해도 의도가 명확하다면 괄호가 필요없다게 참 신기하더라구요. 제가 약간이라도 다뤄본 C, C++, Java, JavaScript, Python에서는 괄호를 반드시 사용해야만 하는 걸로 알고있었는데 말이죠. 근데 여기서 "의도가 명확하다는 것"이 무슨말인지.. 솔직히 이해가 안 가요. ㅠ 저가형 두뇌... 그리고 루비 개발도구가 참 많더군요. aptana... 루비를 위해 만들어졌지만 루비를 쓰지 못한다는게 참 인상적이었습니다. 그리고 irb의 개발환경을 보니 수정을 할 수가 없어 참 불편하더군요. Python Shell의 개발환경이 보다 더 우수한 것 같습니다. 그리고 회고할 때 주워들은 "우아하며 불완전한 언어"라는 말... 왜 그런지 궁금하네요. - [윤종하]
          * 저도 아직 RubyLanguage에 익숙하지 않아서 어려운 점이 많지만 조금이나마 공부하며 써보니 직관적이라는 생각이 많이 들었어요. 오늘 정보보호 수업을 들으며 EuclideanAlgorithm을 바로 구현해보니 더더욱 그런 점이 와닿네요. 좀 더 긴 소스코드를 작성하실땐 Netbeans를 이용하시는 걸 추천해요~ 매우 간단하게 설치하고 간단하게 사용할 수 있답니다. - [김수경]
  • ScheduledWalk/권정욱 . . . . 12 matches
          int length;
          fin >> length;
          for (i = 0; i < length; i++){
          for (j = 0; j < length; j++){
          if (x < 0) x += length;
          if (x == length) x -= length;
          if (y < 0) y += length;
          if (y == length) y -= length;
          for (i = 0; i < length; i++){
          for (j = 0; j < length; j++){
  • SummationOfFourPrimes/1002 . . . . 12 matches
         C:\WINDOWS\system32\cmd.exe /c python SummationOfFourPrimes.py
         C:\WINDOWS\system32\cmd.exe /c python SummationOfFourPrimes.py
         Hit any key to close this window...
         C:\WINDOWS\system32\cmd.exe /c python SummationOfFourPrimes.py
         Hit any key to close this window...
         C:\WINDOWS\system32\cmd.exe /c python SummationOfFourPrimes.py
         Hit any key to close this window...
         C:\WINDOWS\system32\cmd.exe /c python SummationOfFourPrimes.py
         Hit any key to close this window...
         C:\WINDOWS\system32\cmd.exe /c python SummationOfFourPrimes.py
         Hit any key to close this window...
         PyRex 는 Python 코드를 C 코드로 전환해준다. 이를 이용, C 모듈로 만들어 컴파일하고 결과를 실행. 의외로 7.x 대로, PsyCo 를 썼을때보다 오히려 성능이 떨어졌다. C 코드를 보니 웬걸. 전혀 알아볼수가 없는 코드다. 차라리 깨끗하게 직접 작성해주는게 성능향상 상으로는 유리하겠다는 생각.
  • SuperMarket/인수 . . . . 12 matches
          int nth = 0;
          nth = i;
          if(_buyedGoods[nth].getCount() < count)
          else if(_buyedGoods[nth].getCount() == count)
          if(_buyedGoods[nth].getCount() == 0)
          _buyedGoods.erase(_buyedGoods.begin() + nth);
          _buyedGoods[nth].setCount( _buyedGoods[nth].getCount() - count );
          static int getToken(const string& str, int nth)
          if(count == nth)
          for(int i = 0 ; i < str.length() ; ++i)
          ret += CharToInt(str[i]) * Power(10,(str.length() - i));
  • WhatToExpectFromDesignPatterns . . . . 12 matches
         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.
         == An Adjunct to Existing Methods ==
         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.
  • [Lovely]boy^_^/Diary/2-2-10 . . . . 12 matches
          * ["SmalltalkBestPracticePatterns/Behavior/ComposedMethod"] 읽고 요약.
          * I read the SBPP's preface, introduction. And I change a first smalltalk source to a C++ source. I gradually know smalltalk grammar.
          * 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 very joyful. Today's fruit is better than yesterday's, and a result is maybe going to come out tommorow. Although Jae-Dong sacrifices for joyful programming;; Today is fruitfull day.
          * 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.
  • 데블스캠프2012/넷째날/묻지마Csharp/서민관 . . . . 12 matches
          replaceMonster(this.label2);
          moveMonster(this.label2);
          if ( label1.Location.X + label1.Size.Width >= label2.Location.X && label1.Location.Y + label1.Size.Height >= label2.Location.Y ) {
          label.SetBounds(label.Location.X + moveX, label.Location.Y + moveY, label.Size.Width, label.Size.Height);
          int respownX = rand.Next(this.Size.Width);
          int respownY = rand.Next(this.Size.Height);
          label.SetBounds(respownX, respownY, label.Size.Width, label.Size.Height);
          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);
  • 쓰레드에관한잡담 . . . . 12 matches
         Linux에서는 크게 두가지의 thread를 지원한다.
         1. Kernel - 1. Kernel Thread, 2. LWT(Lightweight Thread)
         2. User Thread
         thread를 사용할때 중요한것이 동기화인데, context switch를 할 때 데이터가 저장이 안된 상태에서 다른 thread로 우선순위가 넘어가면 치명적인 오류가 나게된다.
         Linux에서 멀티 프로세스 개념인 fork()는 내부적으로 do_fork()란 Kernel 함수를 호출하며, do_fork()는 내부적으로 user thread인 POSIX기반의 Mutex를 사용한다.
         ... 그리고... 한가지... POSIX thread를 사용하여 많은 양의 thread를 생성하면 동기화를 주목해야한다.
         void *thread(void *arg)
          pthread_mutex_lock(&mutex);
          pthread_mutex_unlock(&mutex);
         thread를 10개 생성 시키고 이 작업을 수행하면,
         pthread_mutex_lock을 변수 앞에 걸어주면 arg는 0으로 채워지게된다.
         아직까지 생각 중이지만 pthread의 내부적 문제인것 같다.
  • 2학기파이선스터디/모듈 . . . . 11 matches
         mymath.py 라는 파일로 저장한다..
         >>> import mymath
         >>> dir(mymath)
         >>> mymath
         <module 'mymath' from 'C:\Python22\mymath.py'>
         >>> mymath.c
         >>> mymath.add
         >>> mymath.add(3,4)
         >>> mymath.mul(4,6)
  • 3N+1Problem/1002_2 . . . . 11 matches
         숫자들을 주욱 나열해보면서 해당 n 값 대비 count cycle Length 의 값은 고정적일것이라는 점과, 이 값을 일종의 caching 을 하여 이용할 수 있겠다는 생각이 들다.
         class CycleLength:
          def maxCycleLengthInRange(self,i,j):
          >>> c=CycleLength()
          >>> c.maxCycleLengthInRange(1,10)
          >>> c.maxCycleLengthInRange(100,200)
          >>> c.maxCycleLengthInRange(201,210)
          >>> c.maxCycleLengthInRange(900,1000)
          c=CycleLength()
          print c.maxCycleLengthInRange(1,999999)
          ''{{{~cpp CycleLength.value}}} 와 거의 비슷한 의사코드가 [이덕준]의 연습장에도... 무척 반가움. --[이덕준]''
  • 3N+1Problem/강희경 . . . . 11 matches
         def FindMaxCycleLength(aMin, aMax, aBinaryMap):
          maxCycleLength = 0
          cycleLength = TreeNPlusOne(i, aMin, aMax, aBinaryMap)
          if(maxCycleLength < cycleLength):
          maxCycleLength = cycleLength
          return maxCycleLength
         def OutputResult(aMin, aMax, aMaxCycleLength):
          print aMin, aMax, aMaxCycleLength
          OutputResult(min, max, FindMaxCycleLength(min, max, binaryMap))
  • ActiveXDataObjects . . . . 11 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.
         {{|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.
         = Thread =
         ADO 는 ActiveX 이므로 C++ 이건 VB 이건 Python 이건 어디서든지 이용가능. 하지만, 역시나 VB 나 Python 등에서 쓰는게 편리. 개인적으로는 ODBC 연동을 안하고 바로 ADO 로 C++ Database Programming 을 했었는데, 큰 문제는 없었던 기억. (하긴, C++ 로 DB Programming 할 일 자체가 거의 안생겨서..) --[1002]
  • AseParserByJhs . . . . 11 matches
         RenameThisPage - 적저한 이름과 하는 일이 필요할것 같아서. 궁리중 --["1002"]
         // a triangle in the model
          int vertIndex[3]; // indicies for the verts that make up this triangle
          int coordIndex[3]; // indicies for the tex coords to texture this face
         // texture information for the model
          static void UpdatePickedPoint (int &cl_x, int &cl_y, int &width, int &height); // Picking을 위해 윈도우 상의 클릭된 점의 좌표가 월드 좌표계 상에서 얼마인지 계산한다.
         void CHS_GObject::UpdatePickedPoint (int &cl_x, int &cl_y, int &width, int &height)
          PickedPoint [0][0] = float(cl_x)*2.0f/float(width) - 1.0f;
          // in 3dsm negative z goes out of the screen, we want it to go in
  • EightQueenProblem/이선우2 . . . . 11 matches
          public NQueen2( int size ) throws Exception
          if( size < 1 ) throw new Exception( NQueen2.class.getName() + "- size must be greater than 0." );
          this.size = size;
          this.boardMark = boardMark;
          this.queenMark = queenMark;
          this.lineBreak = lineBreak;
          this.out = out;
          this.out = null;
          if( args.length != 1 ) throw new Exception();
  • EightQueenProblemSecondTryDiscussion . . . . 11 matches
          UnAttackableList0 = self.GetUnAttackableOthersPositionList (0)
          UnAttackableList1 = self.GetUnAttackableOthersPositionList (1)
          UnAttackableList2 = self.GetUnAttackableOthersPositionList (2)
          ## make clone and append the
          UnAttackableList = self.GetUnAttackableOthersPositionList (Level)
         제가 보기에 현재의 디자인은 class 키워드만 빼면 절차적 프로그래밍(procedural programming)이 되는 것 같습니다. 오브젝트 속성은 전역 변수가 되고 말이죠. 이런 구성을 일러 God Class Problem이라고도 합니다. AOP(Action-Oriented Programming -- 소위 Procedural Programming이라고 하는 것) 쪽에서 온 프로그래머들이 자주 만드는 실수이기도 합니다. 객체지향 분해라기보다는 한 거대 클래스 내에서의 기능적 분해(functional decomposition)가 되는 것이죠. Wirfs-Brock은 지능(Intelligence)의 고른 분포를 OOD의 중요요소로 뽑습니다. NQueen 오브젝트는 그 이름을 "Manager"나 "Main''''''Controller"로 바꿔도 될 정도로 모든 책임(responsibility)을 도맡아 하고 있습니다 -- Meyer는 하나의 클래스는 한가지 책임만을 제대로 해야한다(A class has a single responsibility: it does it all, does it well, and does it only )고 말하는데, 이것은 클래스 이름이 잘 지어졌는지, 얼마나 구체성을 주는지 등에서 알 수 있습니다. (Coad는 "In OO, a class's statement of responsibility (a 25-word or less statement) is the key to the class. It shouldn't have many 'and's and almost no 'or's."라고 합니다. 만약 이게 자연스럽게 되지않는다면 클래스를 하나 이상 만들어야 한다는 얘기가 되겠죠.) 한가지 가능한 지능 분산으로, 여러개의 Queen 오브젝트와 Board 오브젝트 하나를 만드는 경우를 생각해 볼 수 있겠습니다. Queen 오브젝트 갑이 Queen 오브젝트 을에게 물어봅니다. "내가 너를 귀찮게 하고 있니?" --김창준
         route=superman.getEverydayPath()
         for each city in the route:
         superman.travelEverydayPath()
         제 말을 {{{~cpp mainProgram.runEverything()}}}을 실행하면 모든 게 마술처럼 알아서 실행되게 하라는 뜻으로 오해하지는 않았으면 합니다. 위 superman의 예에서는, 전자의 경우 superman을 제대로 이용해 먹으려면 superman의 내부적 구조를 알아야 합니다. superman의 구현에 종속적이 되는 셈이죠. 하지만 후자는 그게 디커플링이 됩니다. 자기가 매일 가는 길에 있는 도시를 방문하는 것은 superman이 스스로 수행할 수 있어야 할 책임이 있다 이거죠. Queen이라는 객체가 여덟개가 있다고 칩시다. 얘네들한테 "너는 저 여왕을 공격할 수 있니?"하고 묻고 그 결과를 가지고 여왕을 배치하고 하는 것을 하나의 추상(abstraction)으로 묶는 것이 어떨까요? 묻지말고 "시키자"는 것이죠 -- 여덟개의 똑똑한 Queen 객체를 만들고 하나씩 "판 위로 올라가라"고 시킵니다. 이렇게 하면 Board와 Queen에 커플링이 생겨서 문제가 되는 건 아니냐고 했는데, 어차피 Queen은 Board 없이는 별 의미가 없고, 또, 그렇게 하지 않더라도 어떻게든 비슷하거나 혹은 더 큰 정도의 커플링이 존재합니다. 어쨌건, 지금 단계에서는, 더 나은 방법이라기보다 그냥 다른 방법이라고 편안하게 생각하면 좋을 듯 합니다. --김창준
  • EnglishSpeaking/2012년스터디 . . . . 11 matches
          * Don't be nervous! Don't be shy! Mistakes are welcomed. We talk about everything in English.
          * 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.
         == 30th November ==
          * 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.'''''
  • FeedBack . . . . 11 matches
         '''The American Heritage(r) Dictionary of the English Language, Fourth Edition'''[[BR]]
          a. The return of a portion of the output of a process or system to the input, especially when used to maintain performance or to control a system or process.
          * The portion of the output so returned.
          * 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.
  • IsBiggerSmarter?/문보창 . . . . 11 matches
         단순히 Greedy 알고리즘으로 접근. 실패. Dynamic Programming 이 필요함을 테스트 케이스로써 확인했다. Dynamic Programming 을 실제로 해본 경험이 없기 때문에 감이 잡히지 않았다. Introduction To Algorithm에서 Dynamic Programing 부분을 읽어 공부한 후 문제분석을 다시 시도했다. 이 문제를 쉽게 풀기 위해 Weight를 정렬한 배열과 IQ를 정렬한 배열을 하나의 문자열로 보았다. 그렇다면 문제에서 원하는 "가장 긴 시퀀스" 는 Longest Common Subsequence가 되고, LCS는 Dynamic Algorithm으로 쉽게 풀리는 문제중 하나였다. 무게가 같거나, IQ가 같을수도 있기 때문에 LCS에서 오류가 나는 것을 피하기 위해 소트함수를 처리해 주는 과정에서 약간의 어려움을 겪었다.
         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)이다.
         ==== ver1 (Greedy Algorithm) ====
         #include <algorithm>
         ==== ver2. Dynamic Algorithm ====
         #include <algorithm>
         int lcs_length(unsigned char t[][MAX_ELEPHANT]);
          int len = lcs_length(table);
         int lcs_length(unsigned char t[][MAX_ELEPHANT])
  • Linux/필수명령어/용법 . . . . 11 matches
         The Oct 1 15:57:23 KST 1996
         - $ echo "The RedHat !"
         - The RedHat !
         - $ ln project theplan ,,두 개의 이름은 같은 문서를 의미한다.
         - shutdown [ -thnrfck ] 시간 [ 메시지 ]
         - 4th object
         - 4th object
         - then
         - echo "It's changed to the blade.room"
         30 minutes latter, this system will be halted!! ^D
         등록된 path를 통해서 특정 프로그램을 찾는다.
         만일 사용자의 path가 매우 긴 경우에 유용하게 사용될 수 있다. find와 유사한 기능이지만 path안에 있는 프로그램을 찾을 때 간단하게 사용된다.
         지정된 path 안에서 tetries 프로그램을 찾는다.
         - who [ -uTHqs ] [로그온 정보파일 ]
  • MedusaCppStudy/희경 . . . . 11 matches
          int *lenth = new int [x];
          lenth[word] = count;
          if(lenth[l] < lenth[m])
          temp = lenth[l];
          lenth[l] = lenth[m];
          lenth[m] = temp;
          cout << "가장 긴 단어 길이: " << lenth[0] << endl;
          cout << "가장 짧은 단어 길이: " << lenth[x-1] << endl;
          delete lenth;
  • PragmaticVersionControlWithCVS . . . . 11 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] ||
  • PyIde/Scintilla . . . . 11 matches
         http://wiki.wxpython.org/index.cgi/wxStyledTextCtrl
         PythonCard 의 코드를 읽어보면서 이용방법들을 익히게 되었다.
         Boa Constructor 나 Pythoncard, wxPython 의 samples 의 StyleEditor 등을 보면 STCStyleEditor 모듈이 있다. 이 모듈에서 initSTC 함수를 사용하면 된다.
         language = 'python'
         configFileAbsolutePath = os.path.abspath("stc-styles.rc.cfg")
         STCStyleEditor.STCStyleEditDlg(stcControl, language, configFileAbsolutePath)
         setEditorStyle('python')
         getStyleConfigPath()
  • PyUnit . . . . 11 matches
         === Python Unit Testing Framework PyUnit 에 대해서 ===
          * PyUnit는 Python 에 기본적으로 포함되어있는 UnitTest Framework library이다. 하지만, UnitTest작성에 대한 기본적인 개념들을 쉽게 담고 있다고 생각하여 공부중. (솔직히 C++로 UnitTest할 엄두 안나서. --; Python으로 먼저 프로토타입이 되는 부분을 작성하고 다른 언어로 포팅하는 식으로 할까 생각중)
          * http://c2.com/cgi/wiki?PythonUnit - 아직 안읽어봐서. --; 퍽하고 적긴 뭐하지만. --a
          widget = Widget("The widget")
         테스팅을 하기 위해 Python의 assert 구문을 사용한다. testcase가 실행될 때 assertion을 실행하면 AssertionError 가 일어나고, testing framework는 이 testcase를 'failure' 했다고 정의할 것이다. 'assert' 를 명시적으로 써놓지 않은 부분에서의 예외가 발생한 것들은 testing framework 에서는 'errors'로 간주한다.
          self.widget = Widget("The widget")
          self.widget = Widget ("The widget")
         === 여러개의 test method를 포함한 TestCase classes ===
         종종, 많은 작은 test case들이 같은 fixture를 사용하게 될 것이다. 이러한 경우, 우리는 DefaultWidgetSizeTestCase 같은 많은 작은 one-method class 안에 SimpleWidgetTestCase를 서브클래싱하게 된다. 이건 시간낭비이고,.. --a PyUnit는 더 단순한 메커니즘을 제공한다.
          self.widget = Widget ("The widget")
         여기에는 runTest 메소드가 없는대신, 두개의 다른 test 메소드를 가지고 있다. 클래스 인스턴스는 이제 각각 self.widget 을 생헝하고 각 인스턴스에 대해 따로 소멸되면서 각각의 test method를 실행한다.
         suite1 = module1.TheTestSuite ()
         suite2 = module2.TheTestSuite ()
         기본적으로 TextTestRunner는 sys.stderr에 출력한다. TextTestrunner 같은 클래스는 Python interpreter session과 상호작용하면서 test들을 실행시켜볼 수 있는 이상적인 방법이다.
          if not hasattr(something, "blah"):
         def testSomething(self):
  • PythonXmlRpc . . . . 11 matches
          * http://python.kwangwoon.ac.kr:8080/python/Internet/xmlrpc.html
          * http://www.onlamp.com/pub/a/python/2000/11/22/xmlrpcclient.html
          * http://www.pythonware.com/products/xmlrpc/
         class MyRequestHandler(xmlrpcserver.RequestHandler):
          #Override method:
          def call(self, method, params):
          print "Dispatching: " , method, params
          server_method = getattr(self, method)
          raise AttributeError, "No XML-RPC procedure %s" % method
          return server_method(params)
          server = SocketServer.TCPServer(('', 8000), MyRequestHandler)
         === Thread ===
  • Refactoring/BigRefactorings . . . . 11 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.''
          * 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.''
          * You have GUI classes that contain domain logic.[[BR]]''Separate the domain logic into separate domain classes.''
          * 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
  • SolarSystem/상협 . . . . 11 matches
         #include <cmath>
         GLvoid ReSizeGLScene(GLsizei width, GLsizei height)
          glViewport(0,0,width,height);
          // Calculate The Aspect Ratio Of The Window
          gluPerspective(45.0f,(GLfloat)width/(GLfloat)height,0.1f,100.0f);
          glMatrixMode(GL_MODELVIEW); // Select The Modelview Matrix
          glShadeModel(GL_SMOOTH);
          glEnable(GL_DEPTH_TEST);
          glClearDepth(1.0f);
          glDepthFunc(GL_LEQUAL);
          gluQuadricNormals(obj, GLU_SMOOTH);
          glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
         BOOL CreateGLWindow(char *title, int width, int height, int bits, bool fullscreenflag)
          WindowRect.right=(long)width;
          MessageBox(NULL,"Failed To Register The Window Class."
          dmScreenSettings.dmPelsWidth = width;
          dmScreenSettings.dmFields=DM_BITSPERPEL|DM_PELSWIDTH|DM_PELSHEIGHT;
          if(MessageBox(NULL,"The Requested FUllscreen Mode is Not Supported By\n Your video Card. Use Windowed Mode Instead?","NeHeGl",MB_YESNO|
          MessageBox(NULL,"Can't Set The PixelFormat"
          MessageBox(NULL,"Can't Activate The GL Rendering Context"
  • 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.
         = thread =
  • VendingMachine/세연/1002 . . . . 11 matches
         const int DRINKNAME_MAXLENGTH = 255;
          char drinkNames[TOTAL_DRINK_TYPE][DRINKNAME_MAXLENGTH] = {"coke", "juice", "tea", "cofee", "milk"};
         const int DRINKNAME_MAXLENGTH = 255;
          char name[DRINKNAME_MAXLENGTH];
          char drinkNames[TOTAL_DRINK_TYPE][DRINKNAME_MAXLENGTH] = {"coke", "juice", "tea", "cofee", "milk"};
         const int DRINKNAME_MAXLENGTH = 255;
          char name[DRINKNAME_MAXLENGTH];
          char drinkNames[TOTAL_DRINK_TYPE][DRINKNAME_MAXLENGTH] = {"coke", "juice", "tea", "cofee", "milk"};
         #include <algorithm>
          this->name = name;
          this->price = price;
          this->amount = amount;
          this->money = 0;
          return this->validMoney;
          return this->drinks;
          int takeBackMoney = this->money;
          this->money = 0;
          this->money += money;
          this->money -= drinkPrice;
  • WikiNature . . . . 11 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.
         Writing on Wiki is like regular writing, except I get to write so much more than I write, and I get to think thoughts I never thought (like being on a really good Free Software project, where you wake up the next morning to find your bugs fixed and ideas improved).
         It reminds us of minimalist Japanese brushstroke drawings; you provide the few, elegant slashes of ink, and other minds fill in the rest.
         Really, it's not accurate to talk about a WikiNature, we would do better recognizing that Nature itself, is Wiki.
  • WinCVS . . . . 11 matches
          1. WinCVS를 사용하기 위해서는 Python과 TCL이 깔려있어야 한다.
          ''DeleteMe 맞는 이야기인가요? ["sun"]의 기억으로는 아닌것으로 알고 있고, 홈페이지의 설명에서도 다음과 같이 나와있습니다. 'WinCvs is written using the Microsoft MFC.' '' [[BR]]
          WinCVS 1.3을 실행하기 위해서는 Python언어가 필요하다. Python이 없이는 WinCVS는 동작하지 않는다.[[BR]]
          ''WinCVS 의 쉘에서의 직접 커맨드 입력기능을 이용하려면 이전 버전에선 TCL, 최신버전에서는 Python 을 이용합니다. 하지만, 설치 안해도 WinCVS 의 주기능들은 이용가능한걸로 기억합니다. --["1002"]''
          * [http://python.org] 2.3alpha1에서는 python을 찾을 수 없다고 나오니 2.2를 받자
          * Authentication : 접속 방법이다. local 이나 pserver 또는 ntserver를 선택하면 된다.
          * Path : CVS파일들(저장소)의 주소를 설정한다.
          * Module name and path on the server : 모듈의 이름 (폴더의 이름이 된다.)
         = Thread =
  • html5practice/roundRect . . . . 11 matches
         function roundRect(ctx, x, y, width, height, radius, fill, stroke) {
          ctx.beginPath();
          ctx.lineTo(x + width - radius, y);
          ctx.quadraticCurveTo(x + width, y, x + width, y + radius);
          ctx.lineTo(x + width, y + height - radius);
          ctx.quadraticCurveTo(x + width, y + height, x + width - radius, y + height);
          ctx.closePath();
          console.log(calcRt.width);
          roundRect(ctx, pos.x-2, pos.y-2, calcRt.width + 6, 15 + 6, 5, true, true);
  • 검색에이전시_temp . . . . 11 matches
          * python
          * [Python/DataBase]
          * [http://www.python.or.kr:8080/python 파이썬정보광장]
          * [http://www.python.or.kr:8080/python/LectureNotes/ 상협이처음파이썬익힌곳]
          * [데블스캠프2005/Python] 한번씩 따라 쳐보기 좋음
          * [PythonLanguage]
          * [http://www.zvon.org/other/python/PHP/search.php 파이썬라이브러리검색]
         [[PageList("Python")]]
  • 데블스캠프2013/둘째날/API . . . . 11 matches
          <form method="post"
          <thead>
          <th>번호</th>
          <th>이름</th>
          <th>내용</th>
          <th>IP</th>
          </thead>
  • 상협/삽질일지/2002 . . . . 11 matches
          * Driver driver = (Driver)Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance(); 이거 할때 메인 함수에서 throws Exception 를 하지 않으면 thrown 을 잡거나 선언 해야만 한다는 메시지가 뜬다. 아직 이유는 모르겠다.
          * 방금 삽질 하나 해결..Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); 이게 메인 함수에서만 되는게 아니라 이 구문을 사용할때는 throws Exception 을 항상 해줘야만 한다는 사실.. ㅡㅡ; 그런데 이 사실을 진작 체감하고 있었다. 그런데 계속 삽질 했다. 그 이유는
         Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); 이게 사용된 바로 그 메소드에서 throws Exception 를 해줘야 하는데 계속 전체 클래스에서 이것을 했었다. 이게 문제의 원인.. 그러나 아직 왜 꼭 throws Exception 구문을 써야 하는지 모르겠고, Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");이게 없는 곳에서 throws Exception 를 쓰면 에러 뜨는 이유도 자세히는 모르겠다. 모르는것 투성.. ㅡㅡ;;
          ''Exception Handling 에 대해서 이해해야 할 것 같은데. Exception 은 해당 함수가 throws 등으로 발생을 시키고, Java 의 경우 그 Exception 을 반드시 처리를 해주는 곳을 만들어야 하지. 해당 메소드 내에서 Exception 이 발생은 하는데, 그 메소드에서 예외처리를 바로 하고 싶지 않으면 (즉, 그 Exception을 그 메소드 내에서 처리하지 않고, 그 메소드를 호출했던 곳 등에서 처리를 한다고 한다면) throws 로 해당 메소드에서 exception 을 또 던져주는 식으로 되겠지. 만일 Class.forName(...) 쓴 구문을 try - catch 로 예외를 또 잡는다면 이야기가 다르겠지만. 자바는 Exception 를 강요하는 관계로 예외는 catch 에서 무엇을 하건, 반드시 해당 발생된 예외를 잡아줘야 함. (그 덕에 최악으로 뻗을 일이 적지. 예외는 발생하더라도) --석천''
          * 이번 삽질은 정말 중대한 삽질이었다. 1학기 평점을 좌우한다고 볼 수 있는 삽질이었다. 1학기 중간고사 대채용으로 내는 자바 프로젝트에서 소켓 부문을 맡은 친구가 알수 없는 에러때문에 엄청난 삽질을 해서 더이상 나아갈수 없다고 했었다. 메신저에서 통신이 안되다니.. ㅡㅡ;; 그 에러는 "No Such Method Found" 에러다. 그러한 Method가 분명히 있는데도 불구하고 안되었다. 나는 황당했다. 그 친구가 자바는 많이 안했어도 MFC랑 C++을 잘해서 소켓을 맡았는데... 나도 그 에러를 같이 찾기 위해서 삽질을 하였다. 소스도 길고 내가 짠것도 아니어서 정말 못 찾을거 같았다. 그 소스는 특성학 모든 클래스가 딱 서버, 클라이언트 두 파일 안에 들어 있었다. 그래서 난 그 클래스들을 각자 파일로 분리해 보기로 했다. 잘 안풀리니깐 한번 정리나 해보면 뭐좀 어떻게 될까 싶은 마음에 그렇게 했다. 그렇게 정리를 하다 문득.. ㅡㅡ;; 같은 이름의 클래스를 서버, 클라이언트에서 각자 다르게 정의해서 사용하는 소스를 발견... ㅡㅡ;;, 그 친구는 아직 자바에 익숙하지 않아서 이런 실수를 했나 보다.. 나도 만약 소스를 클래스별로 파일로 만들 생각을 안했으면 그 에러의 원인을 발견하지 못했을 것이다. 휴. 큰일날 뻔 했넹.. 앞으로는 "No Such Method Found"같은 에러때문에 고생할일은 절대 없기를.. ㅡㅡ;
  • 새싹교실/2012/주먹밥/이소라때리기게임 . . . . 11 matches
         #include<math.h> //Rand를 가져오는 헤더파일
          int health;
          if(sora.skill.health <= 0 && player.skill.health <= 0){
          else if(sora.skill.health <= 0){
          else if(player.skill.health <= 0 ){
          who->skill.health += temp;
          target->skill.health -= temp;
          target->skill.health -= temp;
          printf("이소라 체력 : %d\n",sora->skill.health);
          printf("내 체력 : %d\n",me->skill.health);
  • 손동일 . . . . 11 matches
          python, scheme, squeet, java, 리눅스, OOP
          int length;
         void shortpath(int Vertex[Max][Max],int between[Max], int n, int check[Max]);
          shortpath(Vertex,between,n,check);
          if(ver1[j].length == between[last] && ver1[j].goal == last)
         void shortpath(int Vertex[Max][Max],int between[Max], int n, int check[Max])
          ver1[soo].length = between[j] + Vertex[j][k];
          char path[MAX];
          path[z++] = char(choice->name);
          path[z] = char(choice->name);
          cout << path[i] << " ";
  • 스네이크바이트/C++ . . . . 11 matches
          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();
  • 실습 . . . . 11 matches
         수학 점수 int m_nMath
         입력함수 void Input(char szName[],int nKorean, int nEnglish,int nMath);
         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;
  • 이승한/질문 . . . . 11 matches
         void Test(int *aArray, int aLength)
          int *copyArray = new int[aLength];//전달 배열과 같은 크기의 새로운 배열 생성
          for(int index = 0; index < aLength; index++)
          cout << sizeof(copyArray[0])*aLength << " " << sizeof(copyArray[0]) << endl;
          for(index = 0; index < aLength; index++)
          for(index = 0; index < aLength; index++)//copyArray의 모든 값을 0으로 초기화
          for(index = 0; index < aLength; index++)
          int arrayLength;
          arrayLength = sizeof(scores)/sizeof(scores[0]);
          Test(scores, arrayLength);
          for(int index = 0; index < arrayLength; index++)
  • 캠이랑놀자/051228 . . . . 11 matches
         == Python 기본 문법 - hand-on python ==
         {{{~python
         {{{~python
         {{{~python
         {{{~python
         {{{~python
         {{{~python
         == Python Image Processing ==
         세미나 준비와 관련하여, 추상적인 말을 줄이면서 사람들이 실제 결과를 가지고 이야기할 수 있도록 하는데 촛점 맞추기. 그러다가 종종 PIL 을 써서 프로토타이핑 하던게 생각나서 Python + PIL 로 진행.
         1시간 만에 실제로 코드를 돌리고 이미지 처리를 하고 실제로 동작하는 과정을 사람들이 hand-out 으로 해보면서 효율적으로 익히게 할 방법은 python 아니면 matlab 밖에 없을 것 같은 느낌. 준비하면서도 느낌이 웬지 좋았다.
  • 토비의스프링3/오브젝트와의존관계 . . . . 11 matches
          this.id = id;
          this.name = name;
          this.password = password;
          public void add(User user) throws SQLException, ClassNotFoundException{
          public User get(String id) throws ClassNotFoundException, SQLException{
         public static void main(String[] args) throws SQLException, ClassNotFoundException {
         public void add(User user) throws SQLException, ClassNotFoundException {
         public void get(String id) throws SQLException, ClassNotFoundException {
         private Connection getConnection() throws SQLException, ClassNotFoundException {
         public static void main(Strings[] args) throws ClassNotFoundException, SQLException{
         public static void main(Strings[] args) throws ClassNotFoundException, SQLException{
  • 토이/숫자뒤집기/김정현 . . . . 11 matches
          char[] reversedChar= new char[input.length()];
          for(int i=0;i<input.length();i++) {
          reversedChar[input.length-i-1]= input.charAt(i);
          int range= numChars.length;
          CharBox[] charBoxes= new CharBox[numChars.length];
          for(int i=0;i<numChars.length;i++) {
          for(int i=0;i<numChars.length;i++) {
          this.order= order;
          this.inputChar= ch;
          for(int i=intput.length();i>0;i--) {
          for(int i= number.length()-1;i>=0;i--) {
  • 02_Python . . . . 10 matches
         = 02 Python Seminar =
          * 대부분의 정보는 Learning Python 에서 발최 .. 그책이 가장 쉬울꺼 같습니다.
          * 가장 정확하게 말하자면 객체 지향 스크립 언어이다. (see also Ousterhout's IEEE Computer article ''Scripting: Higher Level Programming for the 21st Century'' at http://home.pacbell.net/ouster/scripting.html )
         see also http://fallin.lv/PythonRumors
          '' C 나 C++ 은 소스를 한꺼번에 다 치고서 나중에 "컴파일" 하는식이지만 Python 의 경우 자신이 쓰는 라인마다 읽혀들어간다. ''
         == C 와 C++ 과 Java 와 Python 의 간단한 소스 비교 ==
         === Hello World for Python ===
         === Quick Sort in Python ===
         리스트 [1,[2, 'three'],4]
         출력 객체 출력 print "THe killer", joke
         If/elif/else 선택적 수행 if "python" in text:print text
  • 1thPCinCAUCSE . . . . 10 matches
         '''1th Programming Contest in CAUCSE'''
          * 사용언어: C/C++ with Visual C++ 6.0
          * ["1thPCinCAUCSE/ProblemA"] - A번 문제 "시계"
          * ["1thPCinCAUCSE/ProblemB"] - B번 문제 "숫자 입력"
          * ["1thPCinCAUCSE/ProblemC"] - C번 문제 "색깔 바꾸기"
          * ["1thPCinCAUCSE/ProblemA/Solution"]
          * ["1thPCinCAUCSE/ProblemB/Solution"]
          * ["1thPCinCAUCSE/ProblemC/Solution"]
         ["1thPCinCAUCSE/ExtremePair전략"]
         ["1thPCinCAUCSE/null전략"]
  • ATmega163 . . . . 10 matches
         # Volker Oth (c) 1999
         ########### change this lines according to your project ##################
         #INCDIR means .h file search path
         #put the name of the target mcu here (at90s8515, at90s8535, attiny22, atmega603 etc.)
         #put the name of the target file here (without extension)
         #INCDIR means .h file search path
         ########### you should not need to change the following line #############
  • AcceleratedC++/Chapter9 . . . . 10 matches
         == 9.4 The Student_info class ==
          // clear the stream so that input will work for the next student
         == 9.6 Using the Student_info class ==
         #include <algorithm>
          // read and store the data
          // alphabetize the student records
          // write the names and grades
          cout << students[i].name() // this and the next line changed
  • C99표준에추가된C언어의엄청좋은기능 . . . . 10 matches
          * 알아본 결과 C99에서 지원되는 것으로 표준이 맞으며, 단지 VS의 컴파일러가 C99를 완전히 만족시키지 않기 때문이라고함. gcc도 3.0 이후버전부터 지원된 기능으로 variable-length array 이라고 부르는군요. (gcc는 C99발표이전부터 extension 의 형태로 지원을 하기는 했다고 합니다.) - [eternalbleu]
          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.
  • CSP . . . . 10 matches
         import threading, thread
          threads=[]
          threads.append(threading.Thread(target=each.run))
          for each in threads:
          for each in threads:
          thread.start_new_thread(aProcess.run,args)
         #from Steve Holden's Python Web Programming
  • Celfin's ACM training . . . . 10 matches
         || 1 || 1 || 110101/100 || The 3n+1 Problem || . || [3n 1/Celfin] ||
         || 3 || 1 || 110103/10137 || The Trip || . || [The Trip/Celfin] ||
         || 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] ||
         || 11 || 10 || 111007/10249 || The Grand Dinner || 1 hour || [http://165.194.17.5/wiki/index.php?url=zeropage&no=4188&title=TheGrandDinner/하기웅&login=processing&id=celfin&redirect=yes The Grand Dinner/Celfin] ||
         || 16 || 13 || 111303/10195 || The Knights of the Round Table || 1 hour || [http://165.194.17.5/wiki/index.php?url=zeropage&no=4263&title=TheKnightsOfTheRoundTable/하기웅&login=processing&id=&redirect=yes TheKnightsOfTheRoundTable/Celfin] ||
         || 17 || 13 || 111306/10215 || The Largest/Smallest Box || 40 mins || [http://165.194.17.5/wiki/index.php?url=zeropage&no=4264&title=TheLagestSmallestBox/하기웅&login=processing&id=&redirect=yes TheLargestSmallestBox/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] ||
         || 20 || 1 || 110107/10196 || Check the Check || 4 hours || [CheckTheCheck/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] ||
  • ChocolateChipCookies/조현태 . . . . 10 matches
         #include <cmath>
         const double MAX_LEGTH = 5.0;
         double GetLength(SMyPoint& one, SMyPoint another)
          return sqrt((one.x - another.x) * (one.x - another.x) + (one.y - another.y) * (one.y - another.y));
         void initHitPoints()
          initHitPoints();
          int nowSuchLength = (int)g_hitPoints.size();
          for (register int j = 0; j < nowSuchLength; ++j)
          if (MAX_LEGTH < GetLength(g_points[i], g_hitPoints[j][k]) || g_points[i] == g_hitPoints[j][k])
  • DPSCChapter4 . . . . 10 matches
         '''["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
         '''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.
  • Gof/Composite . . . . 10 matches
         A typical Composite object structure might look like this:
         cout << "The net price is " << chassis->NetPrice () << endl;
         Another subclass, RegisterTransferSet, is a Composite class for representing assignments that change several registers at once.
         Another example of this pattern occurs in the financial domain, where a portfolio aggregates individual assets. You can support complex aggregations of assets by implementing a portfolio as a Composite that conforms to the interface of an individual asset [BE93].
          * FlyweightPattern lets you share components, but they can no longer refer to their parents.
  • HeadFirstDesignPatterns . . . . 10 matches
         - I received the book yesterday and I started to read it on the way home... and I couldn't stop, took it to the gym and I expect people must have seen me smile a lot while I was exercising and reading. This is tres "cool". It is fun but they cover a lot of ground and in particular they are right to the point.
         {{{Erich Gamma, IBM Distinguished Engineer, and coauthor of "Design Patterns: Elements of Reusable Object-Oriented Software" }}}
         - I feel like a thousand pounds of books have just been lifted off my head.
         {{{Ward Cunningham, inventor of the Wiki and founder of the Hillside Group}}}
  • JavaStudy2004/클래스상속 . . . . 10 matches
          this.x = aX;
          this.left_top = new Point(x1,y1);
          this.right_bottom = new Point( x2,y2 );
          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());
         === Thread ===
  • JollyJumpers/iruril . . . . 10 matches
          int length;
          length = stringArray.length;
          int [] intArray = new int [length];
          for(int i = 0; i < length; i++ )
          differenceValue = length-1;
          differenceArray = new boolean [length];
          tempDiffer = Math.abs( jumpersArray[i] - jumpersArray[i+1] );
          if( tempDiffer < length)
          for(int i = 0; i < temp.length; i++)
         === Thread ===
  • MineFinder . . . . 10 matches
          * Main Design, Algorithm 1차 완성. 어느정도 Refactoring의 추구.
          Call depth: 23
          53966.631 24.1 223296.921 99.9 855 CWinThread::PumpMessage(void) (mfc42d.dll)
         BOOL CMinerBitmapAnalyzer::CompareBitmapBlock (CDC* pDC, CDC* screendc, int nX, int nY, int nWidth, int nHeight, CDC* bmpdc, int nSrcX, int nSrcY)
          for (nBi=0;nBi<nWidth;nBi++) {
         BOOL CMinerBitmapAnalyzer::CompareBitmapCenterLine (CDC* screendc, int nX, int nY, int nWidth, int nHeight, CDC* bmpdc, int nSrcX, int nSrcY)
          for (nBi=int(nWidth / 4);nBi<nWidth-int(nWidth / 4);nBi++) {
         == Third - 최적화 시도 2 ==
         == Fourth - 최적화 시도 3 ==
         == Fifth - 최적화 시도 4 ==
         == Thread ==
  • Monocycle/조현태 . . . . 10 matches
         #include <algorithm>
         void InitMap(int mapWidth, int mapHeight)
          g_cityMap.resize(mapWidth);
         int GetShortPathTime(POINT startPoint, POINT endPoint)
          int mapWidth, mapHeight;
          scanf("%d %d", &mapHeight, &mapWidth);
          if (0 == mapWidth && 0 == mapHeight)
          InitMap(mapWidth, mapHeight);
          for (register int j = 0; j < mapWidth; ++j)
          int calculateResult = GetShortPathTime(startPoint, endPoint);
  • NeoCoin/Server . . . . 10 matches
         /etc/sysconfig/network-scripts/ifcfg-eth0 : 네트웍 카드별 설정
          * 결국 설치의 모든것을 dselect, apt를 쓰거나, dpkg로 패키징 해서 설치해야 한다. 즉, 서버 설치이후에 python이든 다른 app든 전부 툴을 이용해야 한다는 결론
          * 이제, apache, mysql, python, JBoss, Java 정도가 남은것 같다. 현재 메니저를 Sawfish+Gnome로 변경해야 겠다. 아무래도 손에 익은걸 써야지.
         patch_the_kernel := YES
         du -h --max-depth=1 <path>
         /wnc marathon
         tar -cf - . | (cd <path> && tar xBf -)
         tar -c <old_path> cf - . | tar -c <new_path> xf -
  • OurMajorLangIsCAndCPlusPlus/string.h . . . . 10 matches
         || void * memmove(void * dest, const void * scr, size_t count) || Moves one buffer to another. ||
         || char * strncpy(char * strDestination, const char * strSource, size_t count) || Copy characters of one string to another ||
         || int strcmpi(const char *stirng1, const char *string2) || Compares two strings to determine if they are the same. The comparison is not case-sensitive. ||
         || int strnicmp(const char *string1, const char *string2, size_t count) || Compare characters of two strings without regard to case. ||
         || size_t strlen(const char *string) || Get the length of a string. ||
         || char * strrchr(const char *string, int c) || Scan a string for the last occurrence of a character. ||
         || size_t strspn(const char *string, const char *strCharSet) || Find the first substring. 포함개수?||
         || char * strtok(char *strToken, const char *strDelimit) || Find the next token in a string. ||
  • PrimeNumberPractice . . . . 10 matches
         void SetScope(int scope[], int length);
         void CalculatePrimeNumber(int scope[], int length);
         // this program print prime number in scope 1 to 2000
         void SetScope(int scope[], int length) {
          for (int i = 0; i < length; i++)
         void CalculatePrimeNumber(int scope[], int length) {
          for (int masterIter = 2; masterIter < length; masterIter++) {
          for (int i = 2, secondIter = masterIter * i; secondIter < length; secondIter = masterIter * ++i) {
         void PrintPrimeNumber(int scope[], int length) {
          for (int i = 1; i < length; i++) {
  • ProgrammingLanguageClass/2006/EndTermExamination . . . . 10 matches
         범위 : 6장 ~ 11장 (concept of programming language 6th ed)
         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. 마지막 선택은 네 손에 달려 있다.
  • RedThon . . . . 10 matches
         Python을 공부하는 스터디
          {{|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), 박능규([Redmoon]), 윤성만([Redstar]), 나휘동([Leonardong])
         AnswerMe 혹시 [김동경] 이라는 사람의 개인페이지가 RedThon 이기도 한가요? 그럼 이 페이지의 이름을 바꾸어야 할텐데요?--NeoCoin
          [http://165.194.17.15/pub/language/python/Python-2.3.exe 파이선 받기]
          * HelloWorld를 PythonShell에서 출력하기
          * ThreeFs
          * Redthon : 휘동이형이 숙제 내줬다. 난감하다. 줄래 열심히 해야겟다.
          * [RedThon/HelloWorld과제]
          http://python.org/doc/Summary.html PythonLanguage
  • Scheduled Walk/소영&재화 . . . . 10 matches
          int width_size = 5;
          int length_size = 5;
          int road[width_size][length_size]={{0}};
          i=length_size-1;
          if (i>=length_size)
          j=width_size-1;
          if (j>=width_size)
          for(i=0; i<length_size; i++)
          for(int j=0; j<width_size; j++)
  • Steps/김상섭 . . . . 10 matches
          unsigned int i, length1, length2, testnum, temp = 1;
          vector<unsigned int> totallength;
          cin >> length1 >> length2;
          totallength.push_back(length2-length1);
          for(i = 0; i < totallength.size(); i++)
          cout << found(totallength[i]) << endl;
  • TestDrivenDevelopmentByExample/xUnitExample . . . . 10 matches
          method = getattr( self, self.name )
          method()
          def testMethod(self):
          self.log += "testMethod "
          def testBrokenMethod(self):
          self.test = WasRun("testMethod")
          def testTemplateMethod(self):
          assert "setUp testMethod tearDown " == self.test.log
          self.test = WasRun("testBrokenMethod")
         TestCaseTest("testTemplateMethod").run()
  • WeightsAndMeasures/신재동 . . . . 10 matches
          def __init__(self, weight, strength):
          self.strength = strength
          self.canAmount = strength - weight
          strength = int(numsStr[1])
          return (weight, strength)
          (weight, strength) = inputATurtle()
          if(weight == 0 or strength == 0):
          turtles.append(Turtle(weight, strength))
          print t.weight, t.strength, t.canAmount
  • ZeroPageServer/SubVersion . . . . 10 matches
          * '''FSFS repository back end is now the default'''
          http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
          상단에 Public key for pasting into OpenSSH authorized_keys file 란에 있는 내용을 복사해서
          ~/.ssh/authorized_keys 에 붙여넣는다. (내용을 전체를 복사해야 된다. 그렇지 않으면 인증이 안된다. 전체는 한줄로 이루어진다)
          authorized_keys known_hosts
          root@zeropage:~/.ssh# vi authorized_keys
          {{{~cpp RSAAuthentication yes}}}[[HTML(<BR/>)]]
          {{{~cpp PubkeyAuthentication yes}}}[[HTML(<BR/>)]]
          {{{~cpp AuthorizedKeysFile %h/.ssh/authorized_keys}}}[[HTML(<BR/>)]]
         = Thread =
  • [Lovely]boy^_^/Arcanoid . . . . 10 matches
          * My previous arcanoid could process 1ms of multi media timer, but this version of arcanoid can't process over 5ms of multi media timer. why..
          * 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 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.--;
          * It becomes like the badball--;
  • django/ModifyingObject . . . . 10 matches
          name= models.CharField(maxlength=100)
          # First, try an UPDATE. If that doesn't update anything, do an INSERT.
          # Determine whether a record with the primary key already exists.
          # If the PK has been manually set, respect that.
          # Create a new record with defaults for everything.
  • eXtensibleMarkupLanguage . . . . 10 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.
         = thread =
          * XML은 정말로 굉장히 강력하다. 덕분에 톰캣을 위시한 많은 애플리케이션이 셋업 파일로 XML을 활용하기 시작했다. BUT 크리티컬한 부분에 XML을 소통 데이터로 이용하게 될 경우 해당 부분이 그 프로그램의 performance critical path 가 되는 경우가 발생한다.
  • whiteblue/간단한계산기 . . . . 10 matches
          this.setTitle("Calculator");
          c.fill = GridBagConstraints.BOTH;
          c.gridwidth = GridBagConstraints.REMAINDER; //end row
          c.gridwidth = GridBagConstraints.LAST_LINE_END;
          c.gridwidth = GridBagConstraints.REMAINDER; //end row
          c.gridwidth = GridBagConstraints.LAST_LINE_END;
          c.gridwidth = GridBagConstraints.REMAINDER; //end row
          c.gridwidth = GridBagConstraints.LAST_LINE_END;
          c.gridwidth = GridBagConstraints.REMAINDER; //end row
          c.gridwidth = GridBagConstraints.LAST_LINE_END;
          c.gridwidth = GridBagConstraints.REMAINDER; //end row
  • whiteblue/만년달력 . . . . 10 matches
         int addMonth[12] = {0,3,0,3,2,3,2,3,3,2,3,2}; // 월별 1일 위치 더해줘야 하는 날수
         int lastDayOfMonth[12] = {31,29,31,30,31,30,31,31,30,31,30,31};
         int yearInput, monthInput, count = 0, dateNumber = 1 , locationOf1stDay, addm;
          cin >> monthInput;
          for (int x = 0 ; x < monthInput ; x++) // 1년 1일 위치
          addm += addMonth[x];
          if ( monthInput > 2 )
          cout << "\t\t" << yearInput << "년\t" << monthInput << "월 달력\n\n";
          dateNumber > lastDayOfMonth[monthInput-1] ||
  • 논문번역/2012년스터디/김태진 . . . . 10 matches
         완전한 영어 문장들로 학습/인식을 위한 데이터를 제공했는데, 각각은 Lancaster-Oslo/Bergen corpus에 기초한다. 글쓴이에 상관없는 형태와 마찬가지로 다수의 저자에 의한 실험은 the Institute of Informatics and Applied Mathe- matics (IAM)에서 수집한 손글씨 형태를 사용했다. 전체 데이터는 다양한 텍스트 영역들을 가지고 있고,500명보다 많은 글쓴이들이 쓴 1200개보다 많은 글씨를 가지고 있다. 우리는 250명의 글쓴이가 쓴 글쓴이-독립적인 실험에서 만들어진 카테고리들의 형태를 사용하고, 6명의 글쓴이가 쓴 c03 형태로 여러 글쓴이 모드를 적용해본다.
         주어진 손글씨 문서에 대한 이미지에 대해 처음 전체 이미지를 삐뚤게 쓴 것은(?) 글쓰는 것에 대한 지속적인 "drift"(흐름) - 지속적으로 계속되는 것이거나 스캔하는 동안 부정확하게 놓여진 것(가지런하게 두지 않아서..)에 의한 오류들을 수정하기 위해 고쳤다. 그래서, 그 이미지는 2진화된 이미지를 수직 밀집 히스토그램에서 최소한의 엔트로피가 될때까지 반복한다. 이러한 전처리는 IAM 데이터베이스에 대한 공식을 사용하지 않았는데, 글쓴이들이 스캔하는 동한 정확하게 ???????because the writers were asked to use rulers on a second sheet put below the form and the formulars itself are aligned precisely during scanning.
          더 많은 문서 작업을 위해, 개인의 손글씨 각 줄들을 추출했다. 이것은 글씨들을 핵심 위치들 사이로 이미지를 쪼개는 것으로 할 수 있었다. 핵심 위치란, 글씨의 아래위 선사이의 영역과 같은 것인데, 핵심 위치에 존재하는 줄에서 필요한 전체 픽셀들의 최소 갯수를 말하는 한계점을 응용하여(?)찾을 수 있다. 이러한 한계점은 2진화된 손글씨 영역에 대한 수직적인 밀집 히스토그램(the horizontal density histogram of the binarized handwriting-area)을 사용한 Otsu method를 사용하여 자동적으로 만들 수 있다. 검은색 픽셀들의 갯수는 수평적 투영 히스토그램에 각각의 줄을 합한 갯수이고, 그 이미지는 이 히스토그램의 최소화를 따라 핵심 위치들 사이로 조각 내었다.
          글쓰는 스타일이 때로 한줄 내에서 중요하게(?) 바뀐다는 관측에 고무되어서, 우리는 각 손글씨 줄들을 각각 수직적인 위치, 기울어짐, slant에서 수정했다. 그래서 각각의 줄은 문서의 부분 사이에 공백으로 찾아 쪼개었다. 한계점은 일반화 요소들을 통했을때에 계산하기에 너무 짧은 부분들을 피하기 위해 사용했다. 반면에 수직적인 위치와 기울어진 것은 [15]에서 묘사된 방법과 비슷한 선형적 regresion?을 사용한 기준선 추정 방법으로 고쳤고, slant 각도에 대한 계산은 모서리의 방향에 기초하여 고쳤다. 그렇게 이미지를 이진화했고 수직적인 변화를 추출하여 consid- ering that only vertical strokes are decisive for slant estima- tion. Canny 모서리 감지는 각 히스토그램에서 계산된 모서리 방향 데이터를 얻기위해 사용했다. 그 히스토그램의 의미는 slant 각도를 사용하는 것이다.
         Theorem 7
          이 섹션에 있는 새로운 용어는 행렬-벡터간 곱의 역동적인 관점이 선형대수학에서 몇몇 개념들을 이해하고 시간이 흐르면서 발전하는(that evolve over time) 물리적인 시스템들에 대한 수학적인 모델을 만드는 것의 핵심이기 때문에 중요하다. 이런 역동적인 시스템들은 Chapter5와 1.10, 4.8, 4.9 섹션에서 논의할 것이다.
  • 논문번역/2012년스터디/이민석 . . . . 10 matches
         글을 한 걸음 더 처리하기 위해 각각의 줄을 추출하여야 한다. 그러기 위해 이미지를 필기 라인의 핵심 영역(core region)들 사이를 분리한다. 핵심 영역, 즉 텍스트 라인의 위 베이스라인과 아래 베이스라인 사이의 영역은 threshold를 적용하여 찾는다. threshold는 줄들이 핵심 영역에 속하기 위해 필요한 전방foreground 픽셀들의 최소 개수를 나타낸다. 이 threshold는 이진화한 필기 영역의 수평 밀도 히스토그램을 이용하여 Otsu의 방법 [12]를 적용하면 자동으로 결정된다. 그 다음 수평 투영 히스토그램에서 각 줄의 검은 픽셀의 개수가 축적되고 이미지는 이 투영 히스토그램의 minima를 따라 핵심 영역별로 나눠진다.
         가끔 글씨체가 한 줄에서도 확 바뀌는 것에 동기를 얻어 우리는 각 줄의 수직 위치, 기울임, 경사를 국소적으로 교정한다. 따라서 각 행은 필기 조각segment들 사이의 공백을 탐색하여 분리된다. 믿을 만한 정규화 계수를 계산하기에는 너무 짧은 조각을 피하기 위해 threshold를 사용한다.
         특징 벡터들을 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를 이용하여 계산된다.
         위 식에서 P(W)는 글자 시퀀스 w의 언어 모형 확률이고 P(X|W)는 이 글자 시퀀스를 그 글자 모형에 따라 입력 데이터 x로서 관찰한 확률이다. 우리의 경우 absolute discounting과 backing-off for smoothing of probability distribution을 이용한 바이그램 언어 모형을 적용하였다. (cf. e.g. [3])
         추가로 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 ==
          http://mathworld.wolfram.com/HilbertMatrix.html
  • 덜덜덜/숙제제출페이지 . . . . 10 matches
          * Thank you very much~~^o^ *
          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; //수학성적
          scanf("%d", &student[a].math);
          student[a].average = (student[a].english + student[a].korean + student[a].math)/3;
  • 데블스캠프2009/월요일/연습문제/HTML-CSS/강소현 . . . . 10 matches
         width:60%;
         border-width:5px;
         width:20%;
         border-width:5px;
         width:20%;
         border-width:5px;
         width:20%;
         border-width:5px;
         width:20%;
         border-width:5px;
  • 데블스캠프2009/월요일/연습문제/HTML-CSS/정종록 . . . . 10 matches
         width:98.5%;
         border-width:5px;
         width:29%;
         border-width:5px;
         width:37.2%;
         border-width:5px;
         width:29%;
         border-width:5px;
         width:98.5%;
         border-width:5px;
  • 데블스캠프2011/둘째날/Machine-Learning/NaiveBayesClassifier/변형진 . . . . 10 matches
          public static void main(String[] args) throws IOException {
          for (int i = 0; i < readers.length; i++) {
          this.fileName = fileName;
          public Trainer load() throws IOException {
          return this;
          this.trainers = trainers;
          for (int i = 0; i < trainers.length; i++) {
          return Math.log((double)trainers[index].getDocsCount()/sum);
          for (int i = 0; i < trainers.length; i++) {
          return Math.log(((double)trainers[index].getWordCount(word)/trainers[index].getWordsCount()) / ((double)sum/total));
  • 보드카페 관리 프로그램/강석우 . . . . 10 matches
          throw domain_error("잘못 입력하셨습니다.");
          throw domain_error("그 테이블은 사용중 입니다.");
          throw domain_error("사람은 4명까지만 할 수 있습니다.");
          throw domain_error("테이블은 3번까지만 있습니다.");
          throw domain_error("그 게임은 사용중 입니다.");
          throw domain_error("그런 게임은 없습니다. ");
          throw domain_error("in을 먼저 입력하십시오.");
          throw domain_error("잘못 입력하셨습니다.");
          throw domain_error("in을 먼저 입력하십시오.");
          throw domain_error("in을 먼저 입력하십시오.");
  • 자바와자료구조2006 . . . . 10 matches
         [http://www.gayhomes.net/debil/ortho.html ortho]
         [http://h1.ripway.com/redie/ortho.html ortho]
         [http://www.gayhomes.net/billnew/zithromax.html zithromax]
         [http://eteamz.active.com/sumkin/files/zithromax.html zithromax]
         [http://h1.ripway.com/preved/zithromax.html zithromax]
  • 졸업논문/요약본 . . . . 10 matches
         웹 환경은 이제 하나의 플랫폼으로 자리 잡고 있다. 빠르게 변하는 웹 환경에는 python같은 객체지향 언어가 적당하다. Django는 python으로 만들어진 웹 애플리케이션 프레임워크로, 데이터베이스를 추상화하여 개발자가 기민하게 웹 애플리케이션을 작성하도록 돕는다. Django에서는 기존에 ODBC등을 이용하는 CLI 보다 한 단계 더 높은 수준에서 데이터베이스를 사용할 수 있다. 예를 들어 주언어 python에 클래스를 정의하면 데이터베이스 테이블을 자동으로 생성해주며, 클래스가 변경되면 데이터베이스 테이블도 자동으로 수정해준다. 그 밖에 삽입, 삭제, 수정, 조회 기능을 클래스가 가진 메소드로 추상화하여 주언어 수준에서 데이터베이스를 사용할 수 있도록 한다. 이러한 지원을 바탕으로 웹 애플리캐이션 개발자는 기민하게 프로그램을 작성할 수 있다.
         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.
  • 컴퓨터공부지도 . . . . 10 matches
         Windows 에서 GUI Programming 을 하는 방법은 여러가지이다. 언어별로는 Python 의 Tkinter, wxPython 이 있고, Java 로는 Swing 이 있다. C++ 로는 MFC Framework 를 이용하거나 Windows API, wxWindows 를 이용할 수 있으며, MFC 의 경우 Visual Studio 와 연동이 잘 되어서 프로그래밍 하기 편하다. C++ 의 다른 GUI Programming 을 하기위한 툴로서는 Borland C++ Builder 가 있다. (C++ 중급 이상 프로그래머들에게서 오히려 더 선호되는 툴)
         가장 쉽게 GUI Programming 을 배우는방법이라 생각되는건, Python 에서의 Tkinter Programming 또는 Jython Interpreter 에서 Swing Tutorial 을 이용하는것이다. (["Jython"] 페이지의 JythonTutorial 참조)
         ==== Multi Thread Programming ====
         이를 위해 Interactive Shell이 지원되는 인터프리터 언어(e.g. Python)와 패킷 스니퍼(e.g. tcpdump, ethereal, etherpeek, ...), 웹 브라우져, FTP, TELNET 클라이언트 등을 이용할 수 있다.
         See Also HowToStudyXp, HowToReadIt, HowToStudyDataStructureAndAlgorithms, HowToStudyDesignPatterns, HowToStudyRefactoring
  • 2thPCinCAUCSE . . . . 9 matches
         '''2th Programming Contest in CAUCSE'''
          * 사용언어: C/C++ with Visual C++ 6.0
          * ["2thPCinCAUCSE/ProblemA"] - A번 문제 "성냥개비로 삼각형 만들기"
          * ["2thPCinCAUCSE/ProblemB"] - B번 문제 "촌수 계산하기"
          * ["2thPCinCAUCSE/ProblemC"] - C번 문제 "최소의 움직임으로 정리하기"
          * ["2thPCinCAUCSE/ProblemA/Solution"]
          * ["2thPCinCAUCSE/ProblemB/Solution"]
          * ["2thPCinCAUCSE/ProblemC/Solution"]
         [1thPCinCAUCSE]
  • AcceleratedC++/Chapter4 . . . . 9 matches
          throw domain_error("median of an empty vector.");
          throw domain_error("student has done no homework");
          === 4.1.4 Three kinds of function parameters ===
         #include <algorithm>
          throw domain_error("Student has done no homework");
          throw domain_error("median of an empty vector");
          === 4.2.1 Keeping all of a student's data together ===
          === 4.2.3. Generating the report ===
          == 4.3. Putting it all together ==
          == 4.4. Partitioning the grading program ==
          == 4.5. The revised grading program ==
  • BusSimulation/태훈zyint . . . . 9 matches
          for(i=0,j=0;i<=bus->BusLanelength();++i) {
          if(i<bus->BusLanelength()) cout << "-";
          for(i=0;i<=bus->BusLanelength()+BusStationNo;++i ) cout<< "-";
          int withdraw = zrnd(0,bus[i].getPassengers()); // 내리는 사람의 숫자
          bus[i].getPassengers(-1 * withdraw);
          cangetno += withdraw;
          int BusLanelength() { return busStation[BusStationNo-1]; } // 버스 노선의 총 길이를 알아 냄
          while(buspos > BusLanelength() + BusStationNo+1) buspos -= BusLanelength() + BusStationNo +1;
  • Calendar환희코드 . . . . 9 matches
          int numberofDay, year, month;
          for(month = 1;month <= 12;month++){
          달력출력(numberofDay, year, month);
          numberofDay = 몇요일로시작할까(numberofDay, year, month);
         int 달력형식(int nameofDay, int year, int month);
         int 달력형식(int nameofDay, int year, int month){
          printf(" %d월, %d\n", month, year);
          printf("Sun Mon Tue Wed Thu Fri Sat\n");
  • Classes . . . . 9 matches
         === [EngineeringMathmethicsClass] ===
         [http://www.yes24.com/Goods/FTGoodsView.aspx?goodsNo=1949638&CategoryNumber=002001026004 Advanced Engineering Mathematics 9/E]
         [http://unicon.netian.com/math.html 각종 공식]
         [http://www.xper.org/wiki/seminar/TheDragonBook]
         [http://kangcom.com/common/bookinfo/bookinfo.asp?sku=200401090003 Computer Graphics with Open GL 3rd Ed]
         [http://ocw.mit.edu/OcwWeb/Mathematics/18-06Spring-2005/CourseHome/index.htm Linear Algebra]
          * Intersection - adaptive depth control, bounding volumes, first-hit Speedup
         [http://kangcom.com/common/bookinfo/bookinfo.asp?sku=200302180005 Understanding the Linux Kernel (2nd Edition)]
         set shiftwidth=4
  • Django스터디2006 . . . . 9 matches
          * [http://www.python.or.kr:8080/python/LectureNotes/] 이것은 Python 따라하기 좋은 튜토리얼. 이것 쭉 한번 해보면 파이썬 문법 대략 익히게 됨.
          * [(zeropage)PythonLanguage] : Python에 대해서 더 자세히 알고 싶으면 왼쪽 페이지 참고.
          * 혼자서 Python 연습하면서 막힐 때마다 자꾸만 C 문법이 떠오르고 그 때마다 우리 Park 재화님의 프로젝트위주의 수업이
          * C보다 Python 이 20000배 더 쉬운뎅 - [(namsang)]
          * [http://altlang.org/fest/EnglishStudyWithDjango 대안언어축제에서실습한장고] 이것 참고~. 오 지훈이 열심히 하네 ㅎㅎ, 또 하다가 모르는것 있으면 메신저 namsangboy골뱅이hotmail.com 으로 물어 봐도 돼 ㅎ
         || [송지훈] || 물론 Python || 15분 || [while문 구구단] ||
  • EffectiveSTL/Container . . . . 9 matches
          * STL을 구성하는 핵심 요소에는 여러 가지가 있다.(Iterator, Generic Algorithm, Container 등등). 역시 가장 핵심적이고, 조금만 알아도 쓸수 있고, 편하게 쓸수 있는 것은 Container다. Container는 Vector, List, Deque 과 같이 데이터를 담는 그릇과 같은 Object라고 보면 된다.
         = Item1. Choose your containers with care. =
         = Item2. Beware the illusion of container-independant code. =
         = Item5. Prefer range member functions to their single-element counterparts. =
         = Item7. When using containers of newed pointers, remember to delete the pointers before the container is destroyed =
         = Item11. Understand the legitimte uses of custom allocators. =
         = Item12. Have realistic expectations about the thread safety of STL containers. =
  • EightQueenProblem/kulguy . . . . 9 matches
          See Also [http://maso.zdnet.co.kr/20010407/about/article.html?id=120&page=2 마소2001년 4월 About Python 기사 - 파이썬 최적화론]
          this.queensNum = queensNum;
          this.size = size;
          this.points = points;
          this.point = point;
          this.x = x;
          this.y = y;
          int diffX = Math.abs(point.x - x);
          int diffY = Math.abs(point.y - y);
  • EnglishSpeaking/TheSimpsons/S01E03 . . . . 9 matches
         Lisa : Here's a good job at the fireworks factory.
         Homer : Those perfectionists? Forget it.
         Lisa : How 'bout this? Supervising technician at the toxic waste dump.
         I've never done anything worthwhile in my life.
         I'm a big, worthless nothing.
         Marge : There, there, Homer. You'll find a job.
         Homer : You're right! I'm young, I'm able-bodied and I'll take anything!
  • Functor . . . . 9 matches
         [BuildingParserWithJava]를 보다가 12장에서 처음 접한 단어. FunctionObject를 부르는 말이다.
         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]
  • HelpOnConfiguration . . . . 9 matches
         MoniWiki는 `config.php`에 있는 설정을 입맛에 맛게 고칠 수 있다. config.php는 MoniWiki본체 프로그램에 의해 `include`되므로 PHP의 include_path변수로 설정된 어느 디렉토리에 위치할 수도 있다. 특별한 경우가 아니라면 MoniWiki가 설치된 디렉토리에 config.php가 있을것이다.
         === $path ===
         모니위키의 몇몇 플러그인중 외부 프로그램을 사용하는 프로그램은 환경변수 PATH를 참조하여 외부 프로그램을 호출하게 된다. 이때 PATH의 설정이 제대로 맞지 않아 외부 프로그램이 제대로 실행되지 않는 경우가 있다. 이 경우 config.php에서 `$path`를 고쳐보라.
         {{{$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
  • Lotto/강소현 . . . . 9 matches
          int num = (int) (Math.pow(2,S.length-6)-1);
          while(num < Math.pow(2, S.length)){
          for(int i=0; i<S.length; i++){
          if(bin[S.length-i-1]==0){
          while(num<bin.length-1){
          for(int k=0; k<bin.length;k++){
          result += bin[k]*Math.pow(2,k);
  • MFC/HBitmapToBMP . . . . 9 matches
         // [nWidth] : 이미지의 넓이
          HBITMAP hBitmap, int nWidth, int nHeight)
          if ((bmp=GetBMP(type, nWidth, nHeight, hBitmap, pDC->m_hDC,
          int width,palsize;
          width = ((((w*bit[type]+7)/8+3)/4)*4);
          *size = sizeof(BITMAPINFOHEADER)+sizeof(RGBQUAD)*palsize+width*h;
          lpvBits->bmiHeader.biWidth = w;
          lpvBits->bmiHeader.biSizeImage = width*h;
         = thread =
  • MedusaCppStudy/세람 . . . . 9 matches
          int width, length ;
          cin >> width >> length ;
          int rows = length ;
          int cols = width ;
          cols=width*2-1;
         #include <algorithm>
         #include <algorithm>
  • OurMajorLangIsCAndCPlusPlus/2006.2.06/허준수 . . . . 9 matches
          this->ch = new char[strlen(ch)+1];
          strcpy(this->ch, ch);
          //this->ch = ch;
          this->ch = new char[strlen(s.ch)+1];
          strcpy(this->ch, s.ch);
          int length() const {
          this->ch = new char[strlen(s.ch)+1];
          strcpy(this->ch, s.ch);
          cout << s << s.length() << endl;
  • PatternOrientedSoftwareArchitecture . . . . 9 matches
          * 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 ( 정확한 의미는 모르겠음, 누가 해석좀....)
          * Layering Through Inheritance : 상속 관계로 레이어 패턴을 구현. 현재 뜨는 OOP로 할 수 있다.
          * 구조 : 자신의 시스템을 blackboard(knowledge source들의 집합, control components)라고 불리우는 component로 나누어라. blackboard는 중앙 데이터 저장소이다. solution space와 control data들의 요소들이 여기에 저장된다. 하나의 hypothesis는 보통 여러가지 성질이 있다. 그 성질로는 추상 레벨과 추측되는 가설의 사실 정도 또는 그 가설의 시간 간격(걸리는 시간을 말하는거 같다.)이다. 'part-of'또는'in-support of'와 같이 가설들 사이의 관계를 명확이 하는 것은 보통 유용하다. blackboard 는 3차원 문제 공간으로 볼 수도 있다. X축 - time, Y축 - abstraction, Z축 - alternative solution. knowledge source들은 직접적으로 소통을 하지 않는다. 그들은 단지 blackboard에서 읽고 쓸뿐이다. 그러므로 knowledge source 들은 blackboard 의 vocabulary들을 이해해야 한다. 각 knowledge source들은 condition부분과 action부분으로 나눌 수 있다. condition 부분은 knowledge source가 기여를 할수 있는지 결정하기 위해서 blackboard에 적으면서 현재 solution process 의 상태를 계산한다. action 부분은 blackboard의 내용을 바꿀 수 있는 변화를 일으킨다. control component 는 루프를 돌면서 blackboard에 나타나는 변화를 관찰하고 다음에 어떤 action을 취할지 결정한다. blackboard component는 inspect와 update의 두가지 procedure를 가지고 있다.
          * control component는 불러낼 knowledge source와 앞으로의 작업에 사용될 하나의 hypothesis나 hypothesis 집합을 선택한다. 예제에서는 condition 부분의 결과에 의해서 그 선택이 이루어졌다.
         imtermediate solution - other level(except highest abstraction level)
         partial solution - solution which solve part of the problem
         == Thread ==
  • QuestionsAboutMultiProcessAndThread . . . . 9 matches
          2. Single CPU & Single-processor & Multi-thread 환경이다.
          * CPU가 할당한 Time Slice를 하나의 Processor내부에 있는 각각의 Thread가 쪼개서 사용 하는 것인가?
          * 그럼 여러 개의 Thread가 존재하는 상황일 때, 하나의 Thread가 One Time Slice를 전부 사용하는 경우가 있는가??
          * A) processor라고 쓰신 것이 아마도 process를 의미하는 것 같군요? scheduling 기법이나, time slice 정책, preemption 여부 등은 아키텍처와 운영체제 커널 구현 등 시스템에 따라 서로 다르게 최적화되어 설계합니다. thread 등의 개념도 운영체제와 개발 언어 런타임 등 플랫폼에 따라 다를 수 있습니다. 일반적으로 process의 context switching은 PCB 등 복잡한 context의 전환을 다루므로 단순한 thread 스케줄링보다 좀더 복잡할 수는 있으나 반드시 그런 것은 아닙니다. - [변형진]
          * 아키텍처, 운영체제, 개발 언어 런타임 등 해당 플랫폼 환경에서의 thread 구현 방식에 따라 다를 수 있습니다. - [변형진]
          * Single Processor & Single Thread
          * Single Processor & Multi Thread
          * Multi Processor & Single Thread
          * Multi Processor & Multi Thread
          * A) processor라고 쓰신 것이 process, cpu가 processor를 의미하신 것 같군요. process는 실행되고 있는 하나의 프로그램 인스턴스이며, thread는 a flow of control입니다. 즉, 하나의 프로그램 안에 논리적으로 여러 개의 제어 흐름이 존재하느냐(*-thread)와, 하나의 컴퓨터에 논리적으로 여러 개의 프로그램 인스턴스가 실행되고 있느냐(*-process)로 생각하는게 가장 좋습니다. multi-processor(multi-core)는 말 그대로 동시에 물리적으로 여러 개의 흐름을 처리할 독립적인 처리기가 병렬로 존재하느냐입니다. 위에 제시된 예는 적절하지 못한 것 같습니다. - [변형진]
          * 어느 바쁜 음식점(machine)입니다. 두 명의 요리사(processor)가 있는데, 주문이 밀려서 5개의 요리(process)를 동시에 하고 있습니다. 그 중 어떤 한 요리는 소스를 끓이면서(thread) 동시에 양념도 다지고(thread), 재료들을 오븐에 굽는데(thread) 요리를 빠르게 완성하기 위해 이 모든 것을 동시에 합니다. 한 명의 요리사는 특정시점에 단 한 가지 행위(instruction)만 할 수 있으므로, 양념을 다지다가 (context switching) 소스가 잘 끓도록 저어주기도 하고 (context switching) 다시 양념을 다지다가 (context switching) 같이 하던 다른 요리를 확인하다가, 오븐에 타이머가 울리면(interrupt) 구워진 재료를 꺼내어 요리합니다. 물론 두 명의 요리사는 같은 시점에 각자가 물리적으로 서로 다른 행위를 할 수 있으며, 하나의 요리를 두 요리사가 나눠서(parallel program) 동시에 할 수도 있습니다. - [변형진]
  • RefactoringDiscussion . . . . 9 matches
         Martin Folwer의 Refactoring p326(한서), 10장의 Parameterize Method 를 살펴보면 다음과 같은 내용이 나온다.
          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;
          * ["Refactoring"]의 Motivation - Pattern 이건 Refactoring 이건 'Motivation' 부분이 있죠. 즉, 무엇을 의도하여 이러이러하게 코드를 작성했는가입니다. Parameterize Method 의 의도는 'couple of methods that do similar things but vary depending on a few values'에 대한 처리이죠. 즉, 비슷한 일을 하는 메소드들이긴 한데 일부 값들에 영향받는 코드들에 대해서는, 그 영향받게 하는 값들을 parameter 로 넣어주게끔 하고, 같은 일을 하는 부분에 대해선 묶음으로서 중복을 줄이고, 추후 중복이 될 부분들이 적어지도록 하자는 것이겠죠. -- 석천
         ps. 현실에서 정말 모든 상태 공간/기계가 고대로 유지되는 리팩토링은 없습니다. 가장 대표적인 Extract a Method 조차도 모든 경우에 동일한 행동 유지를 보장할 수는 없습니다. 1+2가 2+1과 같지 않다고 말할 수 있습니다. 하지만 우리에게 의미있는 정도 내에서 충분히 서로 같다고 말할 수도 있습니다 -- 물론 필요에 따라 양자를 구분할 수도 있어야겠지만, 산수 답안 채점시에 1+2, 2+1 중 어느 것에 점수를 줄 지 고민할 필요는 없겠죠.
  • Robbery/조현태 . . . . 9 matches
          경우의 수가 여러가지 나오는 경우를 어떻게 처리할까 고민했는데.. 못찾은 걸로 할까? 아니면 답으로 간주해서 출력할까? 하다가, 이 경우는 못찾은 걸로 처리하였다. ( "Nothing known." 으로 출력된다. )
          이전의 경우 도둑이 특정시간에 존재할 수 없는경우 "The robber has escaped." 를 출력했으나, 지금은 모든 시간의 움직임을 고려해서 존재하지 않으면 "The robber has escaped."를 출력하도록 수정하였다. (사실 소스상에선 그다지 바뀐건 없다..^^)
         #include <algorithm>
         void InitCityMap(int cityWidth, int cityHeight, int keepTime)
          g_cityMap[i].resize(cityWidth);
         void KillSameThing()
          int cityWidth, cityHeight, keepTime;
          scanf("%d %d %d", &cityWidth, &cityHeight, &keepTime);
          if (0 == cityWidth && 0 == cityHeight && 0 == keepTime)
          InitCityMap(cityWidth, cityHeight, keepTime);
          KillSameThing();
          cout << "The robber has escaped." << endl;
          cout << "Time step " << i + 1 << ": The robber has been at " << g_maxPoints[0][i].x + 1 << "," << g_maxPoints[0][i].y + 1 << "." << endl;
          cout << "Nothing known." << endl;
  • SecurityNeeds . . . . 9 matches
         I actually have a rather different security problem. I would like to set up
         a non-firewalled wiki but only a certain group should have access. This may
         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!!!''
         Even restricting the editing could be done easily using the security the webserver provides.
         ''OTOH, few users have ".htaccess" enabled for them, and even fewer have access to the "httpd.conf".''
  • TCP/IP_IllustratedVol1 . . . . 9 matches
         = TCP/IP Illustrated, Volume 1 : The Protocols =
         W. Richard Stevens 라고 책 겉 표지에, 부제인 'The Protocols' 만큼이나 크게 적혀있다.
          * "'''''The word illustrated distinguishes this bool from its may rivals.'''''" 이 책의 뒷커버에 적혀있는 말이다. 이말이 이 책을 가장 멋지게 설명해준다고 생각한다.
          * 00 김남훈 ["zennith"]
          * 변화의 계기를 위해. 지식욕의 충족을 위해. -zennith
          * 무턱대고 만들었다. 으.. 아무래도 오늘 자료구조 사건이 큰 영향이었던 듯. 아무튼 저번주와 이번주.. 충분히 느슨해졌었으니 다음주부터는 다시 strict management 체계로 가자. 그리고 문서화도 이 페이지에 좀 해야겠다. '앞으로는'. -zennith.
          * Comer 박사의 "INTERNETWORKING with TCP/IP Vol.1 : PRINCIPLES, PROTOCOLS, AND ARCHITECTURES" 를 빌렸다. -zennith.
          * 다들 이 페이지는 보고 있기나 한건가.. 재동이는 거의 안보이고 -_-.. 아무튼 정직이는 시간이 없다고 하니 일단 의논이나 좀 해보자. 우리 이 스터디 일단 유보 할까? 이렇게 제대로 안되고 하느니 차라리 유보하는게 좋을 듯 한데? -zennith
          * Comer 의 책은 일단 접어두련다. illustrated 를 다 본다음에나 보는게 좋을 듯. 역시 text 라는 이미지는 illustrated 쪽이 좀 더 강하니까. 그리고, 재동아 너는 그럼 공부는 안하고 듣기라도 하려냐? 물론.. 정직 네게 더 진행하자는 의지가 있을 때의 이야기겠지만. 아무튼.. 난 지금 udp 지나 multicasting broadcasting 쪽 보고있다. -zennith
          * 빨리 해야지~ -zennith
  • TicTacToe/임민수,하욱주 . . . . 9 matches
          JOptionPane.showMessageDialog(FirstJava.this, "흑 승리 ");
          JOptionPane.showMessageDialog(FirstJava.this, "백 승리 ");
          JOptionPane.showMessageDialog(FirstJava.this, "흑 승리 ");
          JOptionPane.showMessageDialog(FirstJava.this, "백 승리 ");
          JOptionPane.showMessageDialog(FirstJava.this, "흑 승리 ");
          JOptionPane.showMessageDialog(FirstJava.this, "백 승리 ");
          JOptionPane.showMessageDialog(FirstJava.this, "흑 승리 ");
          JOptionPane.showMessageDialog(FirstJava.this, "백 승리 ");
          g.fillRect(0,0,size.width, size.height);
  • UserStory . . . . 9 matches
         === Thread ===
          ''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.''
  • ZP도서관 . . . . 9 matches
         || Applications for Windows Fourth Edition || Jeffrey Richter || MS Press || ["1002"] || 원서 ||
         || C : A Reference Manual 4th Ed. || Harbison, Steele Jr. || Prentice Hall || ["zennith"] || 원서 ||
         || Programming Python || Mark Lutz || O'REILLY || ddori || 원서 ||
         || Swing || Matthew Robinson, Pavel Vorobiev || Manning || ["혀뉘"] || 원서 ||
         || The C Programming Language 2nd Ed. || Kernighan, Ritchie || Prentice Hall || ["zennith"] || 원서 ||
         || The Standard ANSI C Library || . || . || ["혀뉘"],["nautes"]|| 원서 ||
         || Understanding The Linux || Bovet&Cesati ||.|| ["fnwinter"] || 원서(비쌈)||
         || PocketPC Game Programming || Jonathan S.Harbour || Prima Tech || 정해성 || 원서 ||
         || The Blue Day Book || 브래들리 트레버 그리브 || 물푸 || 교양 ||
         || C언어 프로그래밍(원서명: The C Programming Language) || Brian W.Kernighan, Dennis M.Ritchie || Prentice-Hall || 도서관 소장(대영사 번역판본) || 프로그래밍언어 ||
         || The Art of Assembly 2nd Edition || Randall Hyde || Not printed yet || http://webster.cs.ucr.edu/ || 프로그래밍언어 ||
         || Quick Python Book || Daryl Harms, Kenneth McDonald || Manning || 도서관 소장 || 프로그래밍언어 ||
         == Thread ==
  • ZeroPage_200_OK . . . . 9 matches
          * '''CSS2.1 (with HTML4.01 / XHTML1.0)''' - http://www.w3.org/TR/CSS2/
          * CSS3 (with HTML5)
          * Java (Top thousand sites)
          * 영 느리면 조만간 여유가 있을 때 [https://github.com/ajaxorg/cloud9/ Cloud9]을 ZeroPage 서버에 설치해볼 생각입니다.
          * 자바스크립트에서 자주 this 얘기가 나오던데, 이번에 이야기를 들을 수 있어서 좋았습니다. 개인적인 느낌을 말하자면 함수가 데이터로 취급되는데 함수 내부에서 함수를 호출한 객체(execution context)의 정보를 사용하기 위해서 this를 사용한다는 느낌이는데 맞는지 모르겠군요. p.print를 넘기는 것도 실제로 class p에 있는 함수를 넘기는 게 아니라 p.print에 바인딩 된 어떤 함수를 넘기는 것이니까 내부의 this가 기존 OOP와 같이 해당 class의 인스턴스는 될 수 없겠죠. 그리고 제일 마음에 들었던 것은 역시 예전에 했던 스터디에서 다뤘던 자바스크립트의 네 가지 특징에 대해서 들을 수 있었다는 점이었습니다. 사실 예전 스터디 떄 무척 듣고 싶었는데 개인적인 사정으로 참가를 할 수 없어서 꽤 아쉬웠던 터라 ;;; 마지막에는 개인적인 사정으로 시간이 안 맞아서 좀 급하게 나갔는데, 그래도 최대한 들을 수 있는 데까지 듣기를 잘 한 것 같은 느낌이 들었습니다. - [서민관]
          * 자바스크립트의 언어 특성에 따라서 배우고 기본적인 사용 문법에 대해서 배웠습니다. 명령형 구조적 프로그래밍 언어적인 부분에 대해서는 그렇게 어려운건 없었는데 그 뒤의 함수형 선언적 프로그래밍 언어 부분에서 클로저랑 함수에 함수를 인자로 주는 부분이 같이 쓰이니까 좀 복잡했었습니다. 조금 더 공부해야 할 것 같습니다. var Person = function(){}; 같은 부분나 this가 new를 했을 때에만 제대로 동작한다는 부분도 특이했습니다. 문법적인 부분 자체는 그렇게 어려운 것 같지 않은데 함수를 중첩해서 쓰거나 그런 부분이 약간 알아보기 힘든 것 같습니다. - [서영주]
          * process per request <-> thread per request
  • [Lovely]boy^_^/Diary/7/8_14 . . . . 9 matches
         === Python ===
         === Health ===
         === Python ===
         === Health ===
         === Python ===
         === Health ===
         === Python ===
         === Health ===
         === Health ===
  • 가독성 . . . . 9 matches
          ''Python 과 같은 언어의 경우 {} 자체를 쓰지 않고 아에 들여쓰기로 블록를 표현합니다. 우리가 코드를 볼때 해당 블록 범위를 읽을때에는 { } 의 위치보다는 들여쓰기로 블록 범위를 파악하는 일이 더 많다는 점에 대해서도 생각해 볼 필요가 있을 것 같습니다. --[1002]''
         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.
  • 데블스캠프2004/금요일 . . . . 9 matches
          public WindowFrame(String title, int width, int height) {
          f.setSize(width, height);
          public static int inputInt() throws IOException {
          public static String inputString() throws IOException {
         == OOP Demo 1 : Message 를 날립시다~ (Python) ==
         http://zeropage.org/pub/language/python/Python-2.3.exe
         압축을 풀고, 해당 디렉토리에 들어간 뒤 c:\python23\python.exe 를 실행해주세요.
          z1.printHp()
          d1.printHp()
          z1.getAttackTarget().printHp()
          d1.printHp()
  • 데블스캠프2005/목요일후기 . . . . 9 matches
         [[HTML(<center>)]]'''후기 적는 방법 : ThreeFs Fact(사실), Feeling(느낌), 교훈(Find)[[BR]] 을 구분해서 명확히 이야기 해줄래요?''' [[HTML(</center>)]]
         [남도연] 러플 로보트 움직이기 샛다른 경험.. !! 3차원 Vpython 평소부터 알고 싶었던 거라 좀더 알고 싶다. 마지막에 가선 두통으로 인해.. 집중력 저하;; 아쉽다;;
         [김민경] 러플-자기가 가진 beeper의 개수정도는 알수있어야 좋을텐데ㅠ Vpython-매우 신기한 세계+ㅁ+ 마우스로 돌려요돌려! 보안-이론은 어려워ㅠㅠ -- 오늘 매우 흥미로왔어요!
         [김소현] 사실: 러플, 보안, VPython에 대해서 배웠다.
         박경태 : 러플최고였음. vphython도 보안은..skip;;, 역시 모두 다 신기+_+..(너무 졸려..;) 새로운 경험을 하게된듯-
         김태훈([zyint]) 러플 보안과 비쥬얼 파이선을 배웠다. 직접 로봇을 움짓이는것같은 러플은 매우 흥미로웠다. VPython의 신기한 기능...암호화의 원리를 배우게 되었다>.< 매우 재미있었다.
          Visual Python.. 3차원 그림판이라는 설명과 함께 여러가지 객체를 띄워보았지만.. 이상하게시리 어려웠던..
         3. Vpython code 금방 넘어감!
         1. 실습 거리 많았다!! ([RUR-PLE], VPython, 암호화 구현 등)
         2. Smith의 활약!!
  • 데블스캠프2005/주제 . . . . 9 matches
         || 화 || Python || 황재선 || ? || Python 소개 및 실습 ||
         || 목 || Vpython || [1002] || . || . ||
         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.
  • 데블스캠프2010/다섯째날/ObjectCraft/미션3/김상호 . . . . 9 matches
          if(b.hp<=0 || this->hp<=0)
          b.hp -=this->gong;
          printf("저글링 %d이 저글링 %d에게 데미지 %d를 입혀 HP가 %d가 되었다.\n", this->name, b.name, this->gong, b.hp);
          this->gong=5;
          this->bang=0;
          this->hp=50;
          this->name=n;
          if(this->hp<=0)
  • 데블스캠프2011 . . . . 9 matches
          || 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 ||
          || 7 || [송지원] || [:데블스캠프2011/첫째날/Java Play with Java] || [:상협 남상협] || [:데블스캠프2011/둘째날/Machine-Learning Machine-Learning] || [윤종하], [황현] || [:데블스캠프2011/셋째날/Esolang 난해한 프로그래밍 언어] || [이승한] || [:데블스캠프2011/넷째날/Git Git-분산 버전 관리 시스템] || [변형진] || [:데블스캠프2011/다섯째날/HowToWriteCodeWell How To Write Code Well] || 2 ||
          || 8 || [송지원] || [:데블스캠프2011/첫째날/Java Play with Java] || [:상협 남상협] || [:데블스캠프2011/둘째날/Machine-Learning Machine-Learning] || [윤종하], [황현] || [:데블스캠프2011/셋째날/Esolang 난해한 프로그래밍 언어] || [서지혜] || [:데블스캠프2011/넷째날/루비 루비] || [변형진] || [:데블스캠프2011/다섯째날/HowToWriteCodeWell How To Write Code Well] || 3 ||
          || 9 || [송지원] || [:데블스캠프2011/첫째날/Java Play with Java] || [:상협 남상협] || [:데블스캠프2011/둘째날/Machine-Learning Machine-Learning] || [윤종하], [황현] || [:데블스캠프2011/셋째날/Esolang 난해한 프로그래밍 언어] || [서지혜] || [:데블스캠프2011/넷째날/루비 루비] || [김수경] || [:데블스캠프2011/다섯째날/Cryptography Cryptography], 회고 || 4 ||
          * '''후기 쓸 때 반드시 참고하세요 : [ThreeFs]'''
  • 렌덤워크/조재화 . . . . 9 matches
         int count[40][20]; //maximum size of the count array is 40*20
          input(); //input the board size
          move(); //cackroach move the board
          cout<<"input size of the board : "; //input m and n (for make M*N array)
          cout<<"the board's size is out of range. try again :";
          count[ibug][jbug]++; //inital the start point
          //the board's range
          count[ibug][jbug]++;//check the visiting room.
          cout.width(3);
  • 스터디그룹패턴언어 . . . . 9 matches
         Establish a home for the study group that is centrally located, comfortable, aesthetically pleasing, and conducive to dialogue.
          * [열정적인리더패턴] (EnthusiasticLeaderPattern)
         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.
  • 안혁준/class.js . . . . 9 matches
          * @author Blue Mir
          if(this.prototype.superclass)
          throw new SyntaxError("이미 superclass를 가지고 있습니다.");
          proto.constructor = this;
          this.prototype = proto;
          return this;
          for(var i = 0; i < arguments.length; i++)
          this.prototype[p] = fn;
          return this;
  • 코드레이스/2007.03.24상섭수생형진 . . . . 9 matches
          int year, month, day, hour, min, sec;
          cin >> year >> month >> day >> hour >> min >> sec;
          sec = getSec(year, month, day, hour, min, sec);
          int num, year, month, day, hour, min, sec, cnt = 0;
          cin >> year >> month >> day >> hour >> min >> sec;
          sec = getSec(year, month, day, hour, min, sec);
          int num, year, month, day, hour, min, sec, cnt = 0;
          cin >> year >> month >> day >> hour >> min >> sec;
          sec = getSec(year, month, day, hour, min, sec);
  • 한자공/시즌1 . . . . 9 matches
          * [https://github.com/ZeroPage/zp13-javastudy github]를 사용하고 있습니다.
          * github를 사용하기 시작하였습니다. 주소는 위에.
          * 7월 9일에 github에 올린 서로의 코드를 보며 이야기를 나누고, 책에서 읽어왔으나 다루지 못한 내용을 기존 코드에서 살을 붙여서 만들 계획입니다.
          * Github에서 한글 안 깨지게 Eclipse 설정하기
          * Window -> Preference 에서 General -> Workspace로 들어간 뒤 Text file encoding을 Other(UTF-8)로 변경.
          * Github 관련
          * 메모장에서 *.txt 파일을 만들 때에도 UTF-8로 저장을 해야 github에서 깨지지 않음.
          * github에 만들고 있는 / 만든 코드를 올려 피드백을 요청할 수 있습니다
  • 2학기파이선스터디/함수 . . . . 8 matches
         >>> def area(height, width):
          print height, width
         >>> a = area(width=20, height=10)
         >>> def f(width, height, **kw):
          print width, height
         >>> f(width = 10, height=5, depth=10, dimension=3)
         {'depth': 10, 'dimension': 3}
  • ACM_ICPC/2012년스터디 . . . . 8 matches
          * Smith Numbers
          * [SmithNumbers/김태진]
          - Matroid Theory (이것도 꼭 알 필요는 없습니다)
         최대유량 알고리즘 (Maximum Flow Algorithm)
          - Hungarian Method (가중치가 들어간 매칭)
          - Mincost-Maxflow Algorithm
          - Stoer-Wagner Algorithm (간선연결도 문제에 쓰이는 최적 알고리즘인데, 꼭 알 필요는 없습니다)
          - 경로 압축 (휴리스틱의 일종 , Path Compression)
         C shortest path, 같은 점을 공유하면 안됨. state로 나타낸다..?
  • Ant/TaskOne . . . . 8 matches
          <!-- set global properties for this build -->
          <!-- Create the time stamp -->
          <!-- Create the build directory structure used by compile -->
          <!-- Compile the java code from ${src} into ${build} -->
          <!-- Create the distribution directory -->
          <!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
          <!-- Delete the ${build} and ${dist} directory trees -->
  • BeeMaja/허준수 . . . . 8 matches
         void thirdStep(int count, int &start, int input)
         void firthStep(int count, int &start, int input)
         void fifthStep(int count, int &start, int input)
         void sixthStep(int count, int &start, int input)
          thirdStep(count,start,input);
          firthStep(count,start,input);
          fifthStep(count,start,input);
          sixthStep(count,start,input);
  • CollaborativeFiltering . . . . 8 matches
         협업 (상호협동) 필터링, Recommender System이라고도 불림. ProjectPrometheus에서 사용한다.
         === Algorithms ===
          * The Spearman rank correlation
          * The Vector similarity
          * Mean-square difference algorithm
          * Correlation thresholding
          * Overview on various CF algorithms (recommended) http://www.research.microsoft.com/users/breese/cfalgs.html
          * [http://personalization.co.kr/person_method3.htm 한글 개론]
          * [http://wwwbroy.in.tum.de/~pretschn/papers/personalization/personalization.html Personalization on the Web]
          * [http://jamesthornton.com/cf/ CF논문 모음]
  • CompleteTreeLabeling/하기웅 . . . . 8 matches
         #include <cmath>
         using BigMath::BigInteger;
         int depth, level, nodeNum, temp, templevel, tempdepth, select, i;
          tempdepth=1;
          tempdepth++;
          while(cin>>level>>depth)
          cout << getCompleteTreeLabeling(level, depth) << endl;
  • CryptKicker2 . . . . 8 matches
         여러 줄의 텍스트가 주어졌을 때 같은 케이스에서는 모든 줄에서 같은 치환 방법을 사용한다고 가정하고 그 중 한 줄은 the quick brown fox jumps over the lazy dog라는 평문을 암호화한 것이라는 점을 이용해서 암호화된 텍스트를 복호화하라.
         now is the time for all good men to come to the aid of the party
         the quick brown fox jumps over the lazy dog
         programming contests are fun arent they
  • DPSCChapter5 . . . . 8 matches
         '''Chain of Responsibility(225)''' Avoid coupling the sender of a request to its receiver by giving more than one object a chance to handle the request. Chain the receiving objects, and pass the request along the chain until an object handles it.
         '''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.
  • DataStructure/List . . . . 8 matches
          this.ndata=ndata;
          System.out.print("Select the Menu : ");
          if(coordi <0 || coordi >= m_Node.length) //좌표는 0부터 시작됨, 입력 위치가 해당 범위를 벋어날 경우
          Node tempNode[] = new Node[m_Node.length+1]; //m_Node에 하나의 자료를 더 넣기 위해서 이보다
          for(int i=0;i<tempNode.length-1 && i<coordi;i++) //tempNode에 m_Node를 우선 coordi번째(0부터 시작해서) 전의 자리
          for(int j = coordi+1; j<tempNode.length-1;j++)
          m_Node = new Node[tempNode.length]; // m_Node의 크기를 늘린후 tempNode를 넣는다.
          for(int i=0;i<tempNode.length;i++) // m_Node 에 tempNode를 복사한다.
  • EightQueenProblem . . . . 8 matches
         ||강석천|| 4h:50m || 135 lines (+ 82 line for testcode. total 217 lines)|| python || ["EightQueenProblem/강석천"] ||
         ||강석천|| 0h:47m || 72 lines (+ 58 line for testcode. total 132 lines)|| python || . ||
         ||조영봉|| 6h:00 || 일치시도 실패 || python || ||
         ||이강성|| 1h:50 || 36 lines || python || ["EightQueenProblem/이강성"] ||
         ||김형용|| 8h:00m || 115 lines (+ 63 line for testcode. total 178 lines) || python || ["EightQueenProblem/김형용"]||
         ||강인수|| || 67 lines/ 28 lines || C++/python || ["EightQueenProblem/강인수"] ||
         ||[Leonardong] || 2h:35m || 153 lines || python || ["EightQueenProblem/Leonardong"] ||
         ||[안정원]|| 0h:16m || 13 lines || Python || [EightQueenProblem/안정원] ||
  • EightQueenProblem/강석천 . . . . 8 matches
          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 IsAttackableOthers (self, x,y):
          if not self.IsAttackableOthers (i, Level):
  • ErdosNumbers/임인택 . . . . 8 matches
         #format python
          erdosCoAuthor(allNames, names, erdosName)
          erdosCoAuthorCoAuthor(allNames, names, erdosFriend)
         def erdosCoAuthor(allNames, names, erdosName):
         def erdosCoAuthorCoAuthor(allNames, names, erdosFriend):
          self.assertEqual(True, allNames.has_key('Smith, M.N.'))
  • FreechalAlbumSpider . . . . 8 matches
         vi - python - ctags - grep 조합이 손에 참 잘 들어맞는다. 다른 Python 쪽 좋은 IDE들을 잘 못접해서 그런지 개인적으론 가장 편한 조합이 되었다. 타 개발툴들로 작업할때 하던 일들을 이것들의 조합으로 의식적으로 할 수 있게 된다.
         처음에는 모듈에 대해 Remote Test 를 먼저 진행했다가, Local Test 로서 일단 HTML 문서를 받아놓고, 이를 TDD 로 하면서 데이터들을 추출하는것이 낫겠다 판단, Local Html Test 를 작성해나갔다. 이전 ProjectPrometheus 에서 했었던 방법과 비슷했었던지라, 일사천리로 거의 하루동안 관련 작업들이 끝났다.
         주로 제로보드 데이터로 변환하기 위한 데이터베이스 저장 부분인데, 첫번째 이유로는 제로보드 DB 의 스키마를 제대로 파악하지 못한것이 문제였다. 이 문제는 프리첼->제로보드 컨버터 PHP 소스를 보고 이를 Python 으로 포팅하였다. 이전에 PHP 프로그래밍을 많이 했기 때문에 익숙했고, 어차피 같은 어족군(?)의 언어이므로 별다른 어려움이 없었다. 하지만, 테스트 경우를 명확하게 하지 않았기 때문에, 작동이 제대로 되지 않는지에 대해서는 게시판 변환뒤 매번 웹에서 나온 결과를 확인해야 했다.
         제가 python을 전혀 몰라서 그러는데요, 이거 사용법좀 알려 주시겠어요.
          늦게서야 보게 되어서..; 지금도 작동을 할런지는 잘 모르겠습니다. 알바때문에 바빠서 유지보수를 못하는 중인지라.. freechal service UI 가 바뀌면 깨지는 녀석일것인지라..; 사용하기전에 필요한 것으론 Python 2.2x 버전 정도와 MySQLdb 라이브러리가 필요하고요. 해당 proper.py 화일을 맞춰주신뒤, freechalscript.py 를 실행해주시면 됩니다. 같은 역할을 하는 프로그램은 http://www.perlmania.or.kr 에서 먼저 구현된걸로 기억합니다. 거기서 해당 강좌도 있던걸로 기억하오니 참조하세요. --[1002]
          우선 감사합니다. 근데 에러가 나네요^^; 제가 현재 이미지 가져오는 부분을 처리를 도저히 못하겠는데, 혹시 이 부분에서 주의하여야 할 부분이 있나요? python도 Header setting같은 거 하나요? 전 PHP로 하고 있거든요..
          원리는 보통의 이런류의 프로그램 (HTTP 로 문서 가져오고 스트링 파싱하여 데이터로 가공하고 DB에 저장) 이 비슷합니다. 단, 앨범게시판의 경우 로그인이 필요한데, 이 경우 쿠키 처리를 위한 header setting을 해줘야겠죠. Perl 같은 경우 LWP, Python 의 경우 ClientCookie, Java 의 경우 HttpUnit(원래의 용도는 다르지만, 이런 프로그램을 위한 간이 브라우저 라이브러리로 쓸 수 있습니다.) 등의 라이브러리를 쓸 수 있습니다. 그리고, 이미지의 경우는 해당 URL을 보고 다시 HTTP Connection 을 열어서 얻어와서 binary로 저장해야 한다는 것이 유의사항이 되겠습니다. (HTML만 얻어오면 img tag 의 링크들만 있겠죠.) 그리고 header setting 에서 약간 미묘(?)한 부분이 있던것 같던데, 저는 걍 webdebug 로 캡쳐한거 그대로 보낸지라..; 이 부분은 CVS의 코드 참조하세요. --[1002]
  • JSP/FileUpload . . . . 8 matches
          int formDataLength = request.getContentLength();
          byte dataBytes[] = new byte[formDataLength];
          while (totalBytesRead < formDataLength) {
          byteRead = in.read(dataBytes, totalBytesRead, formDataLength);
          String boundary = contentType.substring(lastIndex + 1,contentType.length());
          int startPos = ((file.substring(0, pos)).getBytes()).length;
          int endPos = ((file.substring(0, boundaryLocation)).getBytes()).length;
  • JTDStudy/첫번째과제/정현 . . . . 8 matches
          assertEquals(3, number.length());
          this.beholder= beholder;
          this.extractor= extractor;
          beholder.setAnswer(this.extractor.getRandomBall());
          return number.length()==3 && !duplicated(number);
          for(int i=0;i<numbers.length;i++) {
          int index= (int)(Math.random()*numbers.size());
          return String.valueOf((int)(Math.random()*range));
  • JUnit/Ecliipse . . . . 8 matches
         Eclipse 플랫폼을 실행하시고, Window->Preference 메뉴를 선택하시면 Preferences 대화창이 열립니다. 왼쪽의 트리구조를 보시면 Java 라는 노드가 있고, 하위 노드로 Build Path 에 보시면 Classpath Varialbles 가 있습니다.
         Path : 는 이클립스가 설치된 폴더내에서 아래와 같은 파일을 찾아 클릭하면 됩니다.
         Example 3-1. The Ch03_01.java
          if(index < array.length && index >= 0) {
          protected void setUp() throws Exception {
          protected void tearDown() throws Exception {
          protected void setUp() throws Exception {
          protected void tearDown() throws Exception {
  • JavaStudy2003/세번째수업 . . . . 8 matches
          public Circle(int xValue, int yValue, int width, int height) {
          this.width = width;
          this.height = height;
          this.width = r;
          this.height = r;
  • LC-Display/곽세환 . . . . 8 matches
          for (i = 0; i < n.length(); i++)
         void showDisplay(int s, int length) // 크기와 자리수를 입력받음
          for (k = 0; k < length; k++)
          for (k = 0; k < length; k++)
          for (k = 0; k < length; k++)
          for (k = 0; k < length; k++)
          for (k = 0; k < length; k++)
          showDisplay(s, n.length());
  • MFC/MessageMap . . . . 8 matches
          // NOTE - the ClassWizard will add and remove member functions here.
          // DO NOT EDIT what you see in these blocks of generated code !
          // NOTE - the ClassWizard will add and remove mapping macros here.
          // DO NOT EDIT what you see in these blocks of generated code!
         // App command to run the dialog
          * document object (linked with view activated)
          * document template object (linked with document activated)
          * frame windows object (linked with view activate)
         #define WM_GETTEXTLENGTH 0x000E
         #define WM_SETHOTKEY 0x0032
         #define WM_GETHOTKEY 0x0033
  • MoniWikiOptions . . . . 8 matches
         `'''$theme='테마이름';'''`
          * 테마를 지정한다. See also MoniWikiTheme
         `'''$theme_css'''`
          * 기본 css의 경로를 설정한다. 기본값은 `$url_prefix.'/css/default.css'` $theme를 설정한 경우는 이 값이 자동 설정된다.
         `gethostbyaddr()`의 사용여부 결정
         `'''$path'''`
          * rcs를 ~/bin같은 곳에 설치할 때 이 변수에 path를 지정한다 예를 들어 `/usr/local/bin:/usr/bin`
          * 윈도우즈 환경이라면 {{{$path='./bin;c:/program files/vim/vimXX';}}}와 같은 식으로 설정한다.
          * (monisetup.php에 의해 자동 결정된다) apache2를 쓸 경우는 '?'를 쓰거나, `AcceptPathInfo on`를 쓰고 '/'로 지정한다.
  • Monocycle/김상섭 . . . . 8 matches
         #define north 0
         #define south 2
          int length;
         int length(int M, int N)
          while(now.row != terminal_row || now.col != terminal_col || now.length%5 != 0)
          next.length++;
          return now.length;
          cout << length(M,N) << endl;;
  • MythicalManMonth . . . . 8 matches
         오리지널 위키 (Wiki:MythicalManMonth) 에서 다음의 말이 재밌다;
         Any software manager who hasn't read this book should be taken out and shot.
         This simple rule, consistently applied, would, within two years, double the
         number of software projects that delivered production code.
         See Also Moa:TheMythicalManMonth, Moa:ConceptualIntegrity , ["성당과시장"]
  • NIC . . . . 8 matches
         ["zennith"]가 사용하고 있는 NIC 는 현재 '''Realtek 8029(AS)''' 이다. 이 NIC 에 대해서 특별히 불만은 가지고 있지 않았지만, 얼마전에 경험하게 되었다. 바로, Linux 에서의 드라이버 지원 문제였는데, 동사의 8139(10/100 mega bit ethernet 카드로서, 대부분 리얼텍 NIC 를 쓴다고 한다면 이8139일 것이다.)는 매우 잘 지원되는 것으로 보였으나.. 단지 10m bit ethernet 인 내 8029 는 너무 오래전에 나온것인지 꽤, 고난과 역경을 겪게끔 하는 그런 카드였다. 그래서, 지금 ["zennith"] 가 알아보고 있는 카드가 두개 있다. 하나는 ACTTON 에서 나온 것과, 또 다른 하나는 그 이름도 유명한 NetGear 에서 나온 10/100 카드이다. 전자의 ACTTON 것은 나름대로 한 시대를 풍미했던 DEC 의 튤립이란 카드의 벌크 제품이라던데... 7000원이라는 가격이 매우 돋보이지만, 이것역시 벌크제품인지라 드라이버 지원문제가 꽤 걸릴거 같아서, 아무래도 NetGear 의 제품을 사게 될 것 같다.
         그리고 들은 소문이지만, 일부 저가형 랜카드 중에는 Collision 체크 루틴을 빼버려서 저가화 시킨다는 '- 카더라' 식의 소문이 있다. 아무튼, ["zennith"] 는 영화 와 같은 대용량의 자료를 받았을때 원본과 달라진 경험을 가끔 했었다. NetGear 로 바꾼 후에는 그런 부수적인 효과까지 기대하고 있다.
         NetGear NIC 로 바꿨다. 이 효과는 차차 밝혀지겠지만, 현재로써는 단순히 바꿨다는 사실만으로 마음의 위안이 된다. -["zennith"]
         음.. 바로 이런페이지를 zennith/NIC 의 형식으로 만들어야 한다는 이야기 일까요; 음.. 옮겨야 하나.. -["zennith"]
  • NSIS/예제1 . . . . 8 matches
         ; The text to prompt the user to enter a directory
         DirText "This will install the very simple example1 on your computer. Choose a directory"
         Section "ThisNameIsIgnoredSoWhyBother?"
          ; 인스톨 할 디렉토리로 output path 의 설정
          SetOutPath $INSTDIR
         DirText: "This will install the very simple example1 on your computer. Choose a directory" "" ""
         Section: "ThisNameIsIgnoredSoWhyBother?"
         SetOutPath: "$INSTDIR"
  • NSIS/예제3 . . . . 8 matches
         InstProgressFlags smooth colored
          SetOutPath $INSTDIR
          SetOutPath $INSTDIR\Sources
          SetOutPath $INSTDIR
         InstProgressFlags: 3 (smooth=1,colored=1)
         SetOutPath: "$INSTDIR"
         SetOutPath: "$INSTDIR\Sources"
         SetOutPath: "$INSTDIR"
  • ObjectOrientedProgramming . . . . 8 matches
         Object-oriented programming is based in the principle of recursive design.
         1. Everything is an object.
         2. Objects perform computation by making requests of each other through the passing of messages.
         3. Every object has it's own memory, which consists of other objects.
         5. The class is the repository for behabior associated with an object.
  • ObjectProgrammingInC . . . . 8 matches
          void (*method1)(int);
          instanceClass.method1= &Operator1;
          instanceClass.method1(3); // or Operator1(3);
         = thread =
          void (*method1)(int);
         attrib을 찍는다는 문제를 주셨는데... attrib가 private라 가정하고, 따라서 method1의 함수가 구조체(클래스)의 attrib을 고친다는 뜻으로 판단하고 생각해본다면... C++의 this란 예약어가 없다면 C언어에서 C++과 같은 class의 표현은 어려울 듯. 메모리주소로 가능을 할 수도 있으나, 코드 조작을 어셈블리 차원으로 내려가 하나하나 손봐야함... (이 답이 아니라면 낭패)
         별 다른 뜻은 아니고, C++ 컴파일러의 경우 메소드인 경우 인자로서 this 를 자동으로 넘겨준다고 해서. 그리고, attrib 이 private 이 아닌 public 이라 하더라도, 똑같은 질문이 가능할듯. --[1002]
  • PNGFileFormat/FileStructure . . . . 8 matches
          * Length : 4바이트. Length, Chunk Type, CRC 길이는 포함되지 않은 값이다.
          * Width : 픽셀단위의 이미지 너비
          * Bit depth : 하나의 샘플(픽셀과는 다른개념)당 또는 파레트 인덱스당 쓰이는 비트의 수
          * Compression method : 이미지 데이터를 압축하는데 쓰는 방법
          * Filter method : 이미지 데이터에 대한 전처리 방법. Compression과 관련.
          * Interlace method : 이미지에 대한 비트오더.
          || Color Type || Allowed Bit Depths || Interpretation ||
  • ProgrammingLanguageClass . . . . 8 matches
         "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."
  • ReplaceTempWithQuery . . . . 8 matches
         위의 예는 매우 극단적으로 보일지도 모른다. 하지만 위의 예를 매우 복잡한 시스템의 일부분이라 가정하고 생각해보길 바란다. '''임시변수'''를 사용하는 코드는 해당 블럭에서만 접근 가능하기 때문에, 길어지는 성향이 있다. 이러한 임시변수를 '''질의 메소드'''(query method)로 바꿈으로써 어느곳에서라도, 임시변수에서 사용될 정보를 얻을 수 있고, 클래스 코드는 더 깔끔해진다.
         이러한 방법을 사용하면서 부가적으로 얻을 수 있는 장점이 하나 더 있다. 실제로 도움이 될지 안될지 모르는 최적화를 하는데 쏟는 시간을 절약할 수 있다. 임시변수 사용뿐 아니라 이러한 미세한 부분의 조정은, 해놓고 보면 별로 위대해보이지 않는 일을, 할때는 알지 못하고 결국 시간은 낭비한게 된다. 돌이켜보면 나의 이러한 노력이 제대로 효과가 있었는지도 모른다. '''왜?''' 프로파일링 해보지 않았으니까. 단순히 ''시스템을 더 빨리 돌릴 수 '''있을지도''' 모른다''는 우려에서 작성한 것이었으니까. [http://c2.com/cgi/wiki?DoTheSimplestThingThatCouldPossiblyWork DoTheSimplestThingThatCouldPossiblyWork]
         I do not know what I may appear to the world, but to myself I seem to
         have been only a boy playing on the seashore, and diverting myself in
         now and then finding a smoother pebble or a prettier shell than
         ordinary. Whilst the great ocean of truth lay all undiscovered before me.
  • SmithNumbers/신재동 . . . . 8 matches
         === SmithNumbers/신재동 ===
         int smithNumbers[MAX_TEST] = {0,};
         bool isSmithNumber(int n);
         bool isSmithNumber(int testNumber)
          if(isSmithNumber(testNumber))
          smithNumbers[i] = testNumber;
          cout << smithNumbers[i] << endl;
         [SmithNumbers]
  • UDK/2012년스터디/소스 . . . . 8 matches
         class ESGameInfo extends UTDeathmatch;
         // Event occured when character logged in(or creation). There are existing function PreLogin, PostLogin functions.
          DesiredCameraZOffset = (Health > 0) ? - 1.2 * GetCollisionHeight() + Mesh.Translation.Z : 0.f;
          if ( Health <= 0 )
          if ( (Health <= 0) || bFeigningDeath ) {
          // @todo fixmesteve. If FindSpot fails, then (rarely does) camera pinned continously.
         var() bool ConcatenateWithSpace;
          StringResult = (ConcatenateWithSpace) ? ValueA@ValueB : ValueA$ValueB;
         [[Media(http://udn.epicgames.com/Three/rsrc/Three/DevelopmentKitGemsConcatenateStringsKismetNode/03_PopulatingConcatenateKismetNode.jpg)]]
  • UglyNumbers . . . . 8 matches
         The 1500'th ugly number is <number>.
         || 황재선 || Python || 20분 ||[UglyNumbers/황재선]|| O ||
         || [1002] || Python || 2시간 ||[UglyNumbers/1002] || O ||
         || JuNe || Python || 10분 ||[UglyNumbers/JuNe] || O ||
         || Seminar:지원 || Python || 30분 || Seminar:UglyNumbers/지원 || O ||
         || 남훈 || Python || 50분 || [UglyNumbers/남훈] || . ||
         || [이승한] || Python || 40분 || [UglyNumbers/승한] || . ||
         || DamienRice || Python || 2시간 || [UglyNumbers/DamienRice] || O ||
  • 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.
         In an uncharacteristic move by Microsoft—an outspoken critic of open source software—they made the source code of WTL freely available. Releasing it under the open-source Common Public License, Microsoft posted the source on SourceForge, an Internet open-source repository. The SourceForge version is 7.5.
         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.|}}
  • ZPBoard/AuthenticationBySession . . . . 8 matches
          ''Thread로 Go Go :)''
         // Auth 라는 Session 변수가 없다면 인증이 안된 경우 이므로...
         if(!isset($_SESSION[Auth]))
         // Auth 라는 Session 변수가 있다면 인증이 된 경우 이므로...
          $_SESSION[Auth] = "OK"; // Auth 라는 Session 변수를 만들어 준다.
         unset($_SESSION[Auth]); // Auth 라는 Session 변수를 제거한다.
         === Thread ===
         조군 : (아.. 우리편으로부터의 메세지로군)오케이 접속을 허락한다. 이제부터 인증키로 '''Auth'''라는 변수에 '''OK'''라는 값을 할당한다.
  • ddori . . . . 8 matches
         ["02_Python"] * 02 학번 파이썬 세미나 준비 자료 입니다
          * Born in 1980 November 9th
          * Python
          * "Legnedary" Nirvana - they were just so awesome! No one won't be able to be better than them
          * Third eye blind - Semi-charmed life
          * Boyz 2 men - they are so sweet that will melt my heart away ;)
  • mantis . . . . 8 matches
         // $t_password = auth_generate_random_password( $t_seed );
         346 if ($this->_connectionID === false) return false;
         347 mysql_query('set names euckr',$this->_connectionID);
         348 if ($argDatabasename) return $this->SelectDB($argDatabasename);
         359 if ($this->_connectionID === false) return false;
         360 mysql_query('set names euckr',$this->_connectionID);
         361 if ($this->autoRollback) $this->RollbackTrans();
  • 구구단 . . . . 8 matches
         ||.||.||.||Python|| [구구단/임인택]||
         ||.||.||.||Python|| [구구단/김태훈-zyint]||
         ||.||.||.||Python|| [구구단/김범준]||
         ||.||.||.||Python|| [구구단/윤성복]||
         ||.||.||.||Python|| [구구단/정수민]||
         ||.||.||.||Python|| [구구단/조현태]||
         ||.||.||.||Python|| [구구단/허아영]||
         ||.||.||.||Python|| [구구단/S.S.S]||
  • 그래픽스세미나/3주차 . . . . 8 matches
          || 윤정수 || Upload:mathLib.zip 아직 제작중 역행렬은 어찌 구하징.. ㅡㅡ;; ||
         # include "math.h"
          float Length();
          float length = (float)Length();
          temp.e[i]= e[i]/length;
          e[i] = e[i]/length;
         float CGX_Vector<T>::Length()
  • 김재현 . . . . 8 matches
          printf("Enter the game count: ");
         int ThreeNOne(int aInput);
         int ThreeNOneTwoNum(int aInput, int aInput2);
         int num1, num2, cycle_length;
          printf ("%d", ThreeNOneTwoNum(num1, num2));
         int ThreeNOne(int aInput){
          int cycle_length=1;
          cycle_length+=1;
          return cycle_length;
         int ThreeNOneTwoNum(int aInput, int aInput2){
          cycle_length = ThreeNOne(num1);
          if(most<cycle_length)
          most=cycle_length;
  • 데블스캠프2005/사진 . . . . 8 matches
         || [[HTML(<img src = http://zeropage.org/pub/upload/DevilsCamp2005_0.JPG width = 1024 height = 768>)]] ||
         || [[HTML(<img src = http://zeropage.org/pub/upload/DevilsCamp2005_1.JPG width = 1024 height = 768>)]] ||
         || [[HTML(<img src = http://zeropage.org/pub/upload/DevilsCamp2005_2.JPG width = 1024 height = 768>)]] ||
         || [[HTML(<img src = http://zeropage.org/pub/upload/DevilsCamp2005_3.JPG width = 1024 height = 768>)]] ||
         || [[HTML(<img src = http://zeropage.org/pub/upload/DevilsCamp2005_4.JPG width = 1024 height = 768>)]] ||
         || [[HTML(<img src = http://zeropage.org/pub/upload/DevilsCamp2005_5.JPG width = 1024 height = 768>)]] ||
         || [[HTML(<img src = http://zeropage.org/pub/upload/DevilsCamp2005_6.JPG width = 1024 height = 768>)]] ||
         || [[HTML(<img src = http://zeropage.org/pub/upload/DevilsCamp2005_7.JPG width = 1024 height = 768>)]] ||
  • 데블스캠프2005/화요일후기 . . . . 8 matches
         [[HTML(<center>)]]'''후기 적는 방법 : ThreeFs Fact(사실), Feeling(느낌), 교훈(Find)[[BR]] 을 구분해서 명확히 이야기 해줄래요?''' [[HTML(</center>)]]
         [김민경] 사실 : Python과 자료구조 배웠어요, 느낌 : 즐거워요, 교훈 : Python으로 한거 C로도 해보자, 새로운걸 배울수 있어!
         김태훈([zyint]) :사실:python과 알고리즘을 배웠다/느낌:힘들었지만 파이선 만드는것이 재밌었다+ㅁ+/교훈:구조적으로 만들자-_- 소스 드럽지 않게;
         최정빈 : 사실 : 자료구조와 Python 을 배웠다. 느낌: 파이선 배우는건 참 신기했었당~ 교훈: 공부좀 하자ㅠ
         [김소현] 사실: 자료구조와 Python이라는 정말 똑똑한 녀석에 대해서 알았다.
         느낌: 알고리즘은 정말 중요하고, Python은 부담스럽게 똑똑하다. 그리고 정말 신기한 언어이다.
         [안성진] : Python을 첨 접하게 되었는데 정말 많은 걸 배웠습니다. 어렵기도 했지만 역시 프로그램 하면서 날 새는 기분은 끝내주네여...~~ㅎ 강사님들 수고하셨고여 저 역시도 방학때 할 일이 참 많아 질 것 같네영.. ㅋㅋ 남은 일정 동안 열심히 합시다. ^^
         [정진수] : 늦게와서 첫 수업을 못들어서 타격이 너무 크다 T.T 하지만 두번째 시간에 python을 배운것이 보람있다 오늘 강사님들 수고하셨어요
  • 데블스캠프2006/화요일/tar/김준석 . . . . 8 matches
          else printf("There is no serching!");
          char path[512];
          sprintf(path, "%s\%s", dir , data_dir.name);
          else if(data_dir.attrib & _A_SUBDIR) check_dir(path);
          else tar(path);
          size = _filelength(_fileno(item));
          char path[512];
          if(!fread(path, 512, 1, archive)) break;
          if((item =fopen(path,"wb"))==NULL)
  • 데블스캠프2009/월요일/연습문제/HTML-CSS/강성현 . . . . 8 matches
         div { float:left; border:0px; border-style:solid; border-width:0px; }
         #top { width: 100%; }
         #left { width: 30%; height:300px; }
         #center { width:40%; height:300px; }
         #right {float:right; width:30%; height:300px; }
         #bottom {width:100%; }
         <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');">
  • 데블스캠프2009/월요일/연습문제/HTML-CSS/서민관 . . . . 8 matches
         border-width:3px;
         width:26.5%;
         border-width:3px;
         width:45%;
         border-width:3px;
         width:26%;
         border-width:3px;
         border-width:3px;
  • 데블스캠프2010/셋째날/후기 . . . . 8 matches
         == Python (강사: 조현태) ==
          * python 처음 해봤는데 맨날 C만 해보다가 새로운 걸 해봐서 재밌었구 또 수업으로 배우지 않는 부분이라 수업을 들은 보람을 많이 느꼈습니다^^ 아까는 같이 수업을 들었었는데 앞에서 강의하시는 걸 보구 놀랐어요 ! - [김정혜]
          * python 을 이름만 들어봤는데 이렇게 직접 해보니 정말 재미있었던 시간이었습니다. turtle함수를 이용한 그림그리기 프로그램을 해보니 파이썬에 대한 흥미가 들었습니다. 앞으로 파이썬에데해서 많은 관심을 가지게된 계기가 된것 같습니다. - [양아석]
          * python...새로운 언어를 배웠네요ㅎㅎ제가 프로그래밍 한 것이 그래픽으로 나온다는 것이 참 재미잇고 신기한 것 같아요 -[박정근]
          * Python이라는 언어의 특징에 대해서 알아보고 사용법에 대해 배웠다어요 C에 비해서 편한점이 많은 것 같았고, 개발자 분이 만드실 때 참 재밌게 만든 것 같다는 느낌이 들었어요ㅋㅋ. 거북이를 이용해서 여러 그림도 그려보고 재미있었어요~_~. 설명도 잘 해주셔서 이해하기 쉬웠고 코딩도 생각보다 잘 되서 좋았어요~ㅋPython에대해 좀더 알아보고 싶고 더 재밌는 그림도 그려보려고요~! [박재홍]
          * python 짱 신기해요!! 정혜랑 아까 이거 배우기 전에 파에톤인데 머지 이러면서 막 그랫엇는데ㅋㅋ 신기하고 재밋엇어요!! 그렇게 어렵지도 않고.ㅎㅎ 먼가 씨랑 비슷한거 같으면서도 다른게 있고 무튼 완전 재밋었어요!!!!-[박소연]
          * Python, 개인적으로 참 배워보고 싶었던 언어였습니다. 왜냐면 ZP가 사랑하는 언어잖아요... ㅋㅋㅋㅋ 한번 들어보니 새롭긴 했습니다. 작년에 루아를 잠깐 공부해본적이 있었는데 자료형에 대해선 같은 특징을 가지고 있더라고요. 역시 '스크립트 언어는 인터프리터를 사용해서 자료형을 지정하는 것이 유연성이 없어서 그런가보다'라는 생각이 들었습니다. 재미지네요. 그런데 제가 스크립트 언어 하나 정돈 제대로 배워볼 생각인데 파이썬 한번 해봐야겠네요. - [박성현]
  • 데블스캠프2011/둘째날/Machine-Learning/SVM/namsangboy . . . . 8 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"
          prob1 = math.log((classfreqdic["economy"]/totalct)/(classfreqdic["politics"]/totalct))
          totalprob+= math.log((classfreq1/classprob1)/(classfreq2/classprob2))
         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"
  • 레밍즈프로젝트/그리기DC . . . . 8 matches
          m_bmp.CreateCompatibleBitmap(m_pDC, m_rt.Width(), m_rt.Height());
          m_pMemDC->Rectangle(0, 0, m_rt.Width(), m_rt.Height());
          m_pDC->BitBlt(0, 0, m_rt.Width(), m_rt.Height(), m_pMemDC, 0, 0, SRCCOPY);
          m_pMemDC->StretchBlt(x-m_bitmapInfo.bmWidth*m_Halign, y-m_bitmapInfo.bmHeight*m_Valign,
          (m_bitmapInfo.bmWidth)*m_Hreverse, (m_bitmapInfo.bmHeight)*m_Vreverse,
          &BitMapDC, 0, 0, m_bitmapInfo.bmWidth, m_bitmapInfo.bmHeight, kRop);
          this->DrawBmp(MASKITEM, x, y, SRCAND);
          this->DrawBmp(IMGITEM, x, y, SRCPAINT);
  • 만년달력/영동 . . . . 8 matches
          int[] daysOfMonth={31, 28, 31, 30, 31,30, 31, 31, 30, 31, 30, 31};//각 달의 날짜수
          String[] nameOfday={"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"};//각 요일의 이름
          int dMonth=Integer.parseInt(JOptionPane.showInputDialog(null, "알고 싶은 월 입력:", "만년달력", JOptionPane.QUESTION_MESSAGE));
          daysOfMonth[1]=29;//입력받은 해의 2월에 윤달이 있는지 계산
          for(int i=1;i<dMonth;i++)//해당하는 해의 그 전달까지의 날짜수
          totalDays+=daysOfMonth[i-1];
          System.out.println(dYear+"년 "+dMonth+"월의 달력");
          for(int i=1;i<daysOfMonth[dMonth-1]+1;i++)
  • 몸짱프로젝트/CrossReference . . . . 8 matches
         == Python version ==
          '''Twas brilling and the slithy toves did gtre and gimble in the wabe'''
          cout.width(18);
          cout.width(3);
          cout.width(3);
          cout.width(3);
  • 삼총사CppStudy/숙제2/곽세환 . . . . 8 matches
         #include <cmath>
          double Length();
          cout << "v1의 길이 : " << v1.Length() << endl;
         double CVector::Length()
         #include <cmath>
          double Length();
          cout << "v1의 길이 : " << v1.Length() << endl;
         double CVector::Length()
  • 영어학습방법론 . . . . 8 matches
          * 카테고리[ex) dress, cloth category - shirts, pants, etc]로 분류하여 외우기
         === 질문 2. 히어링. 특히 단어 자체의 발음을 외우다가 문장내에서 연음사이에 그런 단어들을 어떻게 알 수 있는가? 전치사(on, of 등등)과 관사 (a, the, these)등 발음을 확실하게 하지 않는 단어들을 어떻게 알 수 있는가? ===
          * ex) I feel like go into the.. (X) : 의미로 모른다[[BR]]
          I feel like going to the.. (O) : 의미를 안다.[[BR]]
          * Oxford Advanced Learner's Dictionary of Current English (6th Edition이상)
          * The Longman Dictionary of Contemporary English (Addison Wesley Longman, 3rd Edition이상)
          * Practical English Usage (Author : Swan) 문법 index가 잘되어 있음. 글을 읽다가 모르는 문장, 문법일때 손쉽게 찾아서 볼 수 있음
          * Grammar in Use (Author : Raymond Murphy)
  • 우리홈만들기 . . . . 8 matches
          *김남훈 ["zennith"]
          * 가르쳐 주는사람 없음. 같이 공부할것임 ;; -zennith.
          * 전혀 안빨라요.. -zennith.
          * cgi 로 만들기로 정했음. 같이 할사람? 없으면 혼자 할것임.. (적어도 내일까지 남겨주시기를, 개강전까진 해야할테니;) 그리고 광식아 넌 좀 도와다오..; 이미 만들었잖아 :) ;; -zennith.
          * 요즘은 perl 이라는 거로 cgi 를 제작한다는데 (이것조차 이제야 알았다) 이거로 해볼까요 아니면 역시 전통적인; c 로 할까요;; -zennith.
          * 괜찮아. 방법적인걸 도와달라는게 아니니까. 암튼.. 네가 도왔으면 한다; -zennith.
          * 나도 같은 생각인데. 현재의 웹 개발쪽 추세는 소 & 중형인 경우는 주로 PHP를, 중 & 대형인 경우는 Java 관련 or MS 관련 JSP & ASP라 보고 있음. 공부목적이 아닌 그냥 즐기기용이다 하더라도 PHP 나 Python 이 더 쉽게 접근할 수 있을 것이라 생각.~ - ["1002"]
          * http://zeropage.org/~zennith
  • 정모/2013.5.6/CodeRace . . . . 8 matches
          for (int i = 0; i < s.Length; i++)
          for (int j = 0; j < p.Length; j++)
          char some[20],other[10];
          fgets(other,10,fp);
          for(int i=0;other[i]!=NULL;i++)
          printf("%c",other[i]);
          if(!('a'<=other[i] && other[i]<='z'))
  • 주민등록번호확인하기/조현태 . . . . 8 matches
         mulAndSum([FirstOne|RemainOne], [FirstAnother|RemainAnother]) -> FirstOne * FirstAnother + mulAndSum(RemainOne, RemainAnother).
         sumList([FirstOne|RemainOne], [FirstAnother|RemainAnother]) -> [FirstOne + FirstAnother] ++ sumList(RemainOne, RemainAnother).
  • 프로그래밍잔치/첫째날후기 . . . . 8 matches
         그날 했던 일. 느낀점. 교훈을 정리해보는 페이지. (ThreeFs)
         === Think Different! 낯선언어와의 조우 ===
         Python 을 고른 은지, 세연, 기웅, 재니는.. ~ 을 했다.
          *감상 : 위키에 글을 쓸 수 있는 용기를 내어...;;짧은 시간이나마 참여했던 후기를 남겨보면..내가 선택했던 python은 c나 java와 비슷하면서도 더 간단한 구조를 가지고 있었기 때문에..패러다임의 변화로부터 오는 충격은 적었던것 같다. 오히려 문법은 간단하지만, 손과 눈에 익지 않은 구조문들과 프로그램 실행 방식으로 인해 상당히 불편하다는 느낌을 받았고, 이렇게 실행 되는 인터프리터 언어를 접한다는게 어떤 도움이 될는지....;;;란 생각이 들었다. 특히, 툴과 언어가 익숙하지 않으니 문제(삼목)의 알고리즘도 생각이 나질 않아 당황스러웠다. 마구잡이로 짜는 코딩 습관 때문인가...하는 생각이 들었다.
          -- 어느정도 Python 을 익숙하게 써본 뒤, Python 이전에 썼던 언어들과 비교해보면 각 언어들을 더 잘 비교해볼 수 있지 않을까 생각해. 요새 자바프로그래밍을 주로 하면서 느꼈던건, '만일 자바가 인터프리터 쉘에서 실행되는 언어라면, 나의 프로그래밍 작업 방식은 어떻게 바뀔까?' 하는것. ["Python"], ["Jython"] 을 꾸준히 쓰면서, 컴파일언어에서 느끼지 못한 재미를 (즉각적으로 결과 반응이 올때 특히!) 느껴서..~ --["1002"]
          그리고 Python은 데블스 캠프 할 때 잠시 접해봤는데 이번 기회로 좀 더 잘 아니 조금 더 알 수 있는 기회여서 좋았다
         Haskell을 상당히 신기해 하는 친구들이 많았는데 Python도 비슷하게 할 수 있습니다.
  • 2010Python . . . . 7 matches
         = 2010년 여름방학 Python 스터디 =
          * Python에서는 a = 3이라고 했을 때 a라는 객체에 3이라는 값을 담는다기보다 3이라는 객체를 a라는 이름이 가리킨다고 보는 것이 더 적당하다.
          * 교재 : How to think like a computer scientist
          * [윤종하] - 지난 시간에 했던 Pascal's Triangle의 알고리즘을 수정하여 C++, python의 속도비교. 인터프리터 언어가 확실히 느림. 아마도 작동 원리의 차이인 듯
          * [박정근] - python의 특이한 배열? keyindex를 지정가능하고 순서대로 출력도 가능함. 그리고 python은 지정하는것이 특기인 듯
          * Python을 도구로 CS를 공부하기 좋은 자료. 24시간 분량의 동영상 강의와 교재가 제공된다.
  • ALittleAiSeminar . . . . 7 matches
         간단 Othello AI 만들어보기
          * 간단 Othello 룰에 대한 설명
          * http://www.othelloclub.com/program/wz423.exe - wzebra
          * http://python.org/ftp/python/2.4.2/python-2.4.2.msi
         Upload:OthelloAISeminar.zip
  • BasicJava2005/5주차 . . . . 7 matches
         2. Math클래스 와 기초클래스의 Wrapper 클래스
          - Math클래스에는 각종 함수와 상수들이 선언되어 있다.
          } catch(ArithmeticException e) {
         7. throws 구문 / throw 구문
          throws : 이 함수에서는 예외처리 하고 싶지 않을때 사용한다.
          throw : 임의로 예외를 발생시키고자 할 때 사용한다.
  • Class/2006Fall . . . . 7 matches
          === AlgorithmClass ===
          * [IntroduntionToAlgorithms]
          * [http://deadfire.hihome.com/ CGI with C Language] or [http://www.taeyo.pe.kr/ ASP.NET]
          * Team meeting #1 is on 27 Sep with msn messenger.
          * 4th presentation of project is on 14 Nov. - API, 성능평가
          * Write answer that consist five or six sentenses to one of question in Q&A chapter 7.
          * Show the result on 18 Nov
  • ConstructorMethod . . . . 7 matches
         === Constructor Method ===
         그래서 Constructor Method를 쓰기를 권한다. 즉 인스턴스를 똑바로 만들어주는 각각의 메소드를 추가해주는 것이다.
         또다른 예로 반지름과 각도를 받아 x,y를 계산해주는 Constructor method를 만들어보자.
          static Point* makeFromRnTheta(int r, int theta)
          return makeFromXnY(r*cos(theta),r*sin(theta));
         ''DesignPatterns 로 이야기한다면 일종의 FactoryMethod 임.(완전히 매치되는건 아니고, 어느정도 비슷) 비교적 자주 사용되는 패턴인데, 왜냐하면 객체를 생성하고 각각 임의로 셋팅해주는 일을 생성자 오버로딩을 더하지 않고서도 할 수 있으니까.
  • Cpp에서의멤버함수구현메커니즘 . . . . 7 matches
          delete this; // 자신 삭제
         say Hello // 객체 삭제(delete this)후 실행 코드
         My Id is no 3604872 // 객체 삭제(delete this)후 실행 코드
         say Hello 객체 삭제(delete this)후 실행 코드
         My Id is no 3604872 객체 삭제(delete this)후 실행 코드
         instance에 사용되었던 메모리는, 해당 process의 가용 메모리로 돌아가지, 접근 금지 영역으로 세팅되지 않습니다. 이 부분은 delete this 시 해당 instance 영역의 값을 어떻게 "청소"하느냐에 따라서, 플랫폼 별로 다르게 나옵니다.
         Exception in thread "main"
  • DataCommunicationSummaryProject/Chapter9 . . . . 7 matches
          * 적외선 사용이 실패였지만 아직도 많은 연구와 회사의 사용이 있다.4세대 모바일 시스템으로 주목 받고 있다.roaming하는데 별 어려움 없이 랜과 3새대 휴대폰과 Bluetooth와의 연결도 가능할 것이다.
          * IEEE 802.11b보다는 Wi-Fi 나 무선 이터넷이 우리에게 잘 알려져 있다. 물론 IEEE 802.11b를 기준으로 한다. Wireless Fidelity(통신에서 충실도의 뜻으로 많이 쓰인다. 예를 들어 " a high ~ receiver 고성능 라디오(cf. HI-FI) ") 의 약자이다. WECA(the Wireless Ethernet Compatiility Alliance)의 트레이드 마크이기도 하다.
         == BlueTooth ==
          * 책보니깐 bluetooth가 덴마크랑 노르웨이를 통일한 바이킹왕이라네.
          * Bluetooth는 휴대폰, 헤드폰, 텔레비전, 심지어 펜 같은 장치들 사이의 매우 짧은 연결을 위해 디자인되어졌다. 최대 크기의 무선 랜을 위해 디자인되어지지 않았다.
          * 4G 모바일 시스템은 무선 랜을 확장한다. 왜냐하면 거리가 매우 짧고, 많은 장치들이 3G, 무선랜, Bluetooth와 콤비로 사용되기 때문이다.
  • DermubaTriangle/조현태 . . . . 7 matches
         #include <math.h>
         double GetHousePointX(POINT trianglePoint)
         double GetHousePointY(POINT trianglePoint)
         double GetHouseDistance(POINT trianglePointOne, POINT trianglePointAnother)
          return sqrt(pow(GetHousePointX(trianglePointOne) - GetHousePointX(trianglePointAnother), 2) +
          pow(GetHousePointY(trianglePointOne) - GetHousePointY(trianglePointAnother), 2));
          int houseNumberAnother;
          while ( cin >> houseNumberOne >> houseNumberAnother)
          printf("%.3f\n", GetHouseDistance(GetTrianglePoint(houseNumberOne), GetTrianglePoint(houseNumberAnother)));
  • DesignPatterns/2011년스터디/1학기 . . . . 7 matches
          1. Factory Method와 Template Method 방법에대해 나쁜점을 설명하는데 Swing이 나오니까 다시 화난다. 난 Swing디자인이 싫어!!
          1. Factory Method, Abstract Factory Method, Template Method, Command, Strategy의 비교를 통해 상속구현의 비효율성에 대해 느꼇다.
          1. 지난주에 헷갈렸던 Factory Method 패턴에 대해 이해할 수 있게 됐다.
          1. Factory Method 패턴은 상속을 통해 바뀌는 부분을 오버라이딩하여 구현
  • EffectiveSTL/ProgrammingWithSTL . . . . 7 matches
         = Item43. Prefer algorithm calls to hand-written loops. =
         = Item44. Prefer member functions to algorithms with the same names. =
         = Item46. Consider function objects instead of functions as algorithm parameters. =
         = Item48. Always #include the proper headers. =
         = Item50. Familiarize yourself with STL-releated websites. =
  • ExploringWorld . . . . 7 matches
         || [[ISBN(8980544928,K,noimg)]] JSP 관련 책 Web Development With Java Server Pages - 2판 ||
         [http://zeropage.org/jsp/board/thin/rss.jsp 자유 게시판 RSS]
         [http://zeropage.org/jsp/board/thin/rss.jsp?table=multimedia 감상 게시판 RSS]
         [http://zeropage.org/jsp/board/thin/rss.jsp?table=T1002455826251 공지 게시판 RSS]
         [http://zeropage.org/jsp/board/thin/rss.jsp?table=qna 질답 게시판 RSS]
         [http://zeropage.org/jsp/board/thin/rss.jsp?table=ob1 OB 게시판 RSS]
         root = /jsp/board/thin/?table=
  • GuiTestingWithMfc . . . . 7 matches
         #undef THIS_FILE
         static char THIS_FILE[] = __FILE__;
          // NOTE - the ClassWizard will add and remove mapping macros here.
          // DO NOT EDIT what you see in these blocks of generated code!
         CGuiTestingOneApp theApp;
          Enable3dControls(); // Call this when using MFC in a shared DLL
          Enable3dControlsStatic(); // Call this when linking to MFC statically
          Enable3dControls(); // Call this when using MFC in a shared DLL
          Enable3dControlsStatic(); // Call this when linking to MFC statically
  • HardcoreCppStudy/두번째숙제/This포인터/변준원 . . . . 7 matches
         그 클래스 내부에서 this는 자신 A의 포인터를 가르키는것이죠
         f()로 클래스 내부에선 호출이 가능한데 정확히 this->f()에서 this가 생략된 형이죠
         this가 쓰이는 곳은
         class A에서 class B의 내부함수 호출시에 this라는 인자를 넘겨줍니다
         this->GetA();
         뒤의 GetA에서는 this가 생략된 것이죠.
  • HelloWorld . . . . 7 matches
         프로그래밍의 첫걸음으로 HelloWorld를 출력하는 관습은 1978년에 출판된, 브라이언 커니핸과 데니스 리치가 쓴 "The C Programming Language"라는 책에서 비롯되었다.
         === Python version ===
          Mouth mouth = new Mouth();
          mouth.say("Hello World!");
         class Mouth{
         with Ada.Text_IO;
  • HelpOnProcessors . . . . 7 matches
         다음과 같이 코드 블럭 영역 최 상단에 {{{#!}}}로 시작하는 프로세서 이름을 써 넣으면, 예를 들어 {{{#!python}}}이라고 하면 그 코드블럭 영역은 {{{plugin/processor/python.php}}}에 정의된 processor_python()이라는 모니위키의 플러그인에 의해 처리되게 됩니다. {{{#!python}}}은 유닉스의 스크립트 해석기를 지정하는 이른바 ''bang path'' 지정자 형식과 같으며, 유닉스에서 사용하는 목적과 동일한 컨셉트로 작동됩니다. (즉, 스크립트의 최 상단에 지정된 스크립트 지정자에 의해 스크립트의 파일 나머지 부분이 해석되어 집니다.)
         {{{#!python
         if lines[0].contains("python"):
  • HolubOnPatterns/밑줄긋기 . . . . 7 matches
          * faith coding과도 상통하는 말인가ㅋㅋ - [서지혜]
          * 이러한 착각은 흔히 C를 배우고 C++을 배울 때, '객체'가 아닌 문법 클래스'를 쉽게 설명하려고 "클래스는 structure(data) + method(to do) 이다." 라는 요상한 설명을 접하게 되면 하게 되는 것 같습니다. 처음에 이런 설명을 접하게 되면 나중에는 생각을 바꾸기 어려워지죠 (아니 귀찮아지는 건가...) -_-;; - [박성현]
         ==== Template method와 Factory Method 패턴 ====
          * Factory Method 패턴은 좋은 선택이 아니었다. 이번 장의 뒤에서 살펴볼 Strategy 패턴 등은 Factory Method 패턴의 멋진 대안이 된다.
          * 사실 거의 대부분의 상황에서 Strategy는 Factory Method의 좋은 대안이 된다.
  • HowToStudyXp . . . . 7 matches
          * The Timeless Way of Building : 패턴 운동을 일으킨 Christopher Alexander의 저작. On-site Customer, Piecemeal Growth, Communication 등의 아이디어가 여기서 왔다.
          * Adaptive Software Development (Jim Highsmith) : 복잡계 이론을 개발에 적용. 졸트상 수상.
          * The Psychology of Computer Programming (Gerald M. Weinberg) : 프로그래밍에 심리학을 적용한 고전. Egoless Programming이 여기서 나왔다.
          * Agile Software Development with [http://www.controlchaos.com/ SCRUM](Schwaber Ken) : 최근 Scalability를 위해 XP+[http://www.controlchaos.com/ SCRUM]의 시도가 agile 쪽의 큰 화두임.
          *Michael Feathers
          *Dave Thomas
          *Jim Highsmith
         '''Agile Software Development with [http://www.controlchaos.com/ SCRUM]''' by Schwaber Ken
         '''Agile Software Development Ecosystems''' by Jim Highsmith
  • InWonderland . . . . 7 matches
         [WebMethod(Description="앨리스 가맹점 인증")]
         public bool CertifyStore(string storeReg, string storeAuth) // -인자: 사업자 등록 번호, 가맹점 비밀 번호
         [WebMethod(Description="포인트 조회")]
         [WebMethod(Description="포인트 적립")]
         public bool SavePoint(string storeReg, string storeAuth, string cardNum, string cardPwd, int money, int point) // -인자: 사업자 등록 번호, 카드 번호, 돈, 적립할 포인트
         [WebMethod(Description="포인트 사용")]
         public bool UsePoint(string storeReg, string storeAuth, string cardNum, string cardPwd, int money, int point) // -인자: 사업자 등록 번호, 카드 번호, 돈, 사용한 포인트
  • JavaScript/2011년스터디/3월이전 . . . . 7 matches
          * var a = [1,,3]; a.length -> 3, var a = [,,]; a.length -> 2; 인 이유
          * try/throw/catch/finally 의 사용 -> finally는 모든 try, catch를 나와서 사용
          * with함수 사용시 발생할 수 있는 오류에 대해 알고싶다...(책에서는 생략함)
          * [jQuery], [http://sizzlejs.com/ Sizzle], [https://github.com/douglascrockford/JSON-js JSON-js] 중 고민하다 간단한 JSON-js를 분석하기로 함
          * [https://github.com/douglascrockford/JSON-js/blob/master/json2.js json2.js] 소스 끝까지 읽어오기 : 어떤 기능들이 있는지 파악할 것
          * [https://github.com/douglascrockford/JSON-js/blob/master/json2.js json2.js] 소스 끝까지 읽어오기 : 어떤 기능들이 있는지 파악할 것
  • LUA_1 . . . . 7 matches
         스크립트 언어는 이제 단순히 유행을 넘어서 개발자가 알아야 할 덕목에 가까워진 것 같습니다. 저 같은 경우 아직 C/C++/Java로 개발을 하지만 보조적인 역할에서는 스크립트 언어(Python)만큼 유용한 게 없는 것 같습니다.
         그리고 이제 Python은 스크립트 언어를 넘어 Stand-alone 언어로 혼자 독자적인 플랫폼을 구축하는 것 처럼 보입니다.
         Python 언어를 한 동안 사용하다가 최근에는 루아에 관심을 갖게 되었는데, 의외로 루아에 대한 정리 된 자료를 찾는게 쉽지 않았습니다. 또한 오랫동안 C/C++/C#에 얽메여 있으면서 뭔가 새로운 것을 배우고자 하는 욕망에 강좌를 시작하게 되었습니다. 부족한 점이 있지만 저도 배우는 입장에서 루아에 대해 정리해 나가도록 하겠습니다.
          왜 루아를 써야 할까요? Python 도 있고 Ruby, Perl 도 있는데 굳이 루아를 배워야 할 이유가 있을까요? 넵! 있습니다. 루아는 루아 나름의 매력이 있습니다. 그 중 첫째는 작다는 것입니다. 네 매우 작아요. 소스 코드가 5.1.4 버전이 216679 바이트 밖이 하지 않습니다. 이렇게 작으니까 배포할 때 굳이 고민하지 않아도 되겠죠. 그리고 이렇게 작기 때문에 embedded 환경에서도 사용 될 수 있습니다. eLuaProject가 그 중 하나입니다. 그리고 Lua는 Pure C 코드로 Porting 하기도 용의 합니다.
          둘째는 빠르다는 점입니다. 빠르다는 말은 상대적일 수 있는데, 다른 스크립트 언어에 비해서 빠르다는 뜻입니다. 예를 들면 Python 이겠죠. 자세한 내용은 http://lua-users.org/wiki/LuaVersusPython 페이지에서 Python 과 비교한 부분에서 확인 하실 수 있습니다.
  • LUA_3 . . . . 7 matches
         > if a == true then print ("Yes") else print ("No") end
         [ if 조건 then 참인 경우 else 조건이 거짓인 경우 end 로 끝냄 ]
         [ if A 조건 then A 조건이 참인 경우 elseif B 조건 then B 조건이 참인 경우 end ]
         > if a == false then
         >> elseif a == true then
         >> if i == 3 then break end
  • Linux/RegularExpression . . . . 7 matches
          * ^(caret) : 시작을 의미함. ^cat은 cat으로 시작하는 문자...(cats,cater,caterer...).in the line rather real text
          * $(dollar) : 끝을 의미함. cat$은 cat으로 끝나는 문자 ...(blackcat, whitecat, ....) in the line rather real text
          * ()(parentheses) : a(a|b)cde 하면 aacde, abcde 둘다 해당 된다. [a|b]하면 | 를 문자로 처리 하지만 (a|b) 로 ()를 씌어 주면 |를 OR로 해석한다.
         .{3,4}er ('er'앞에 세 개 또는 네 개의 문자를 포함하는 문자열이므로 Peter, mother 등이 해당)
         (9) () (parenthesis) : ()는 정규식내에서 패턴을 그룹화 할 때 사용
         코드 => $string = "This is a test";
         결과 => "This was a test";
         "This was a test";
         "This was a test";
         "This was an exam";
  • MobileJavaStudy/NineNine . . . . 7 matches
          list.setCommandListener(this);
          display = Display.getDisplay(this);
          public void startApp() throws MIDletStateChangeException {
          form.setCommandListener(this);
          display = Display.getDisplay(this);
          nineDanList.setCommandListener(this);
          danForm.setCommandListener(this);
  • OurMajorLangIsCAndCPlusPlus/stdlib.h . . . . 7 matches
         == 함수 (Functions) - Math Functions ==
          string = "3.1415926This stopped it";
          string = "-10110134932This stopped it";
          /* Convert the string: */
         string = 3.1415926This stopped it
          Stopped scan at: This stopped it
         string = -10110134932This stopped it strtol = -2147483647 Stopped scan at: This stopped itstring = 10110134932
         #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
          /* Sort the list */
          /* Search for the item "Elroy" and print it */
  • 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)
          *Any top Ns are shown from the bookPref
         ["ProjectPrometheus"]
  • PythonMultiThreading . . . . 7 matches
         Python 에서는 2가지 thread interface 를 제공한다. 하나는 C 스타일의 API 를, 하나는 Java 스타일의 Thread Object를.
         사용하는 방법은 매우 간단. Thread class 를 상속받은뒤 Java 처럼 start 메소드를 호출해주면 run 메소드에 구현된 내용이 multithread 로 실행된다.
         import thread
          print "thread : ", i, args
          thread.start_new_thread(runOne, ((1,)))
         다른 차원의 기법으로는 Seminar:LightWeightThreads 가 있다.
  • PythonNetworkProgramming . . . . 7 matches
         Python 에서는 기본적으로 Socket Library 를 제공해준다. 그리고 async i/o 모듈인 medusa 가 이제는 기본으로 제공된다.
         from threading import *
         class ListenThread(Thread):
          Thread.__init__(self)
          listenThread=ListenThread(self)
          listenThread.start()
         class MyServer (BaseRequestHandler):
          my_server = ThreadingTCPServer (HOST, MyServer)
         MFC 의 CSocket 를 사용하는 스타일로 프로그래밍을 할 수 있는데, Python 이기에 코드가 더 깔끔. 그리고 Windows/Linux 양쪽 다 가능.
         from threading import *
         import os.path
         class FileSendChannel(asyncore.dispatcher, Thread):
          Thread.__init__(self)
          return os.path.getsize(aFileName)
         [Python]
  • ResponsibilityDrivenDesign . . . . 7 matches
          * 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.
  • ServerBackup . . . . 7 matches
          * (./) Python
          * http://docs.python.org/library/ftplib.html
          {{{#!python
         #!/usr/bin/env python
          s.storbinary('STOR %s'%filename, f) # Send the file
         /usr/bin/mysqldump -u <username> -p <password> <databasename> | gzip > /path/to/backup/db/zeropage_`date +%y_%m_%d`.gz
          * 해결 ~ {{{/etc/resolv.conf}}} 에 무료 dns 서버 등록 후 교내 서버는 가장 마지막 순위로 변경 http://theos.in/windows-xp/free-fast-public-dns-server-list/
  • WeightsAndMeasures/김상섭 . . . . 7 matches
         #include <algorithm>
          int strength;
          return a.strength < b.strength;
          temp.strength = temp.weight = 0;
          while(cin >> temp.weight >> temp.strength)
          if( tem <= test[i].strength)
  • WeightsAndMeasures/문보창 . . . . 7 matches
         #include <algorithm>
          int strength;
          return A.strength < B.strength;
          while (cin >> t[*numT].weight >> t[*numT].strength)
          if (t[1].weight <= t[1].strength)
          dynamic[(i-1)%2][j-1] + t[i].weight <= t[i].strength)
  • ZeroPage_200_OK/소스 . . . . 7 matches
          width: 200px;
          <th rowspan="2">price</th><!-- table head cell -->
          <form action="http://zeropage.org/act" method="post" onsubmit="if (this.password.value.length < 1) {alert('required pw'); return false;} else {return true;}">
          <label for="form_id">ID </label><input id="form_id" size="5" maxlength="5" name="id" type="text" value="abc" /> <br/>
  • [Lovely]boy^_^/Diary/12Rest . . . . 7 matches
          * I read a Programming Pearls Chapter 6 a little, because I can't understand very well--;. So I read Chapter 7,8,9,10 roughly. In my opinion, there is no very serious contents.
          * The DInput's message priority is maybe so high... It's very very fast.--; I can't control it.
          * I modify above sentence.--; I test GetAsyncKeyState(), but it's speed is same with DInput.--; How do I do~~~?
         == 12/26 Thu ==
          * I made a SnakeBite with Direct3D and DirectInput. I'll add sound with DirectSound, and I'll test DirectX's almost all contents.
          * 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."
          * I feel that I am getting laziness.--;
  • html5/form . . . . 7 matches
          * datetime, date, month, week, time, and datetime-local
          * {{{<input type="datetime"><input type="datetime-local"><input type="month">}}}
          <input type="submit" formmethod="POST" formaction="/formOk.html">
          * {{{<form novalidate action="demo_form.asp" method="get">}}}
         <form onforminput="ta2.value = ta1.value;textLength.value=ta1.value.length;">
         글자 수:<output id="textLength"></output>
  • 데블스캠프2009/월요일/연습문제/HTML-CSS/박준호 . . . . 7 matches
         width:100%;
         border-width:5px;
         width:28.4%;
         border-width:3px;
         width:38%;
         border-width:3px;
         <div style="width:100%; height:200px;">
  • 레밍즈프로젝트/프로토타입/MFC더블버퍼링 . . . . 7 matches
          m_bmp.CreateCompatibleBitmap(m_pDC, m_rt.Width(), m_rt.Height());
          m_pMemDC->Rectangle(0, 0, m_rt.Width(), m_rt.Height());
          m_pDC->BitBlt(0, 0, m_rt.Width(), m_rt.Height(), m_pMemDC, 0, 0, SRCCOPY);
          memdc->Ellipse(this->pmBoundBall->x - mi_ballSize, this->pmBoundBall->y - mi_ballSize,
          this->pmBoundBall->x + mi_ballSize, this->pmBoundBall->y + mi_ballSize);
  • 마름모출력 . . . . 7 matches
          || 문보창 || Python || || [마름모출력/문보창] ||
          || 윤성복 || Python || || [마름모출력/윤성복] ||
          || 김범준 || Python || || [마름모출력/김범준] ||
          || 허아영 || Python || || [마름모출력/허아영] ||
          || S.S.S || Python || || [마름모출력/S.S.S] ||
          || 남도연 || Python || || [마름모출력/남도연] ||
          || 김정현 || Python || || [마름모출력/김정현] ||
  • 벡터/황재선 . . . . 7 matches
         #include <algorithm>
         bool compareWithName(student a, student b);
         bool compareWithScore(student a, student b);
          sort(ss.begin(), ss.end(), compareWithName);
          sort(ss.begin(), ss.end(), compareWithScore);
         bool compareWithName(student a, student b)
         bool compareWithScore(student a, student b)
  • 새싹교실/2011/Pixar/실습 . . . . 7 matches
         Write a program that reads a four digit integer and prints the sum of its digits as an output.
         #include <math.h>
         #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
  • 새싹교실/2012/개차반 . . . . 7 matches
          * return 0; : 0 is a flag noticing OS that program is ended.
          * float type: float, double (double is more correct than float)
          * 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)
          * arithmetic operators: binary, unary
          * 축약 연산자 (Shorthand Operators)
  • 오목/진훈,원명 . . . . 7 matches
         // OmokView.h : interface of the COmokView class
          virtual void OnDraw(CDC* pDC); // overridden to draw this view
         // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
         // OmokView.cpp : implementation of the COmokView class
         #undef THIS_FILE
         static char THIS_FILE[] = __FILE__;
          // TODO: Modify the Window class or styles here by modifying
          // the CREATESTRUCT cs
          // TODO: Add your specialized code here and/or call the base class
  • 2002년도ACM문제샘플풀이/문제E . . . . 6 matches
         #include <algorithm>
         #include <algorithm>
         bool isSamePos(vector<int>& weights, vector<int>& sortedWeights, int nth);
         bool isSamePos(vector<int>& weights, vector<int>& sortedWeights, int nth)
          return sortedWeights[nth] == weights[nth];
  • 2학기파이선스터디/채팅창 . . . . 6 matches
          self.showscrollbar.place(x = 550, y = 0, width = 50, height = 550)
          self.show.place(x = 0, y = 0, width = 585, height = 550)
          self.edit.place(x = 0, y = 550 , width = 600 , height = 50)
          self.listscrollbar.place(x = 800-50, y = 0, width = 50, height = 600)
          self.list.place(x = 600, y = 0, width = 185, height = 600)
          root.configure( width = 800, height = 600)
  • 3N+1Problem/구자겸 . . . . 6 matches
         int cycle_length(int n); // cycle_length를 구하는 함수
          for ( ;i_num<j_num;i_num++ ) // 두 정수 사이의 정수의 cycle_length값중에
          max = max<cycle_length(i_num)?cycle_length(i_num):max;
         int cycle_length(int n)
  • 5인용C++스터디/버튼과체크박스 . . . . 6 matches
          CRect(10,10,200,30), this, 1);
          CRect(10,40,200,70), this, 2);
          CRect(10,70,200,100), this, 3);
          CRect(10,100,200,130), this, 4);
         ||BST_INDETERMINATE|| Button state is indeterminate (applies only if the button has the BS_3STATE or BS_AUTO3STATE style). ||
  • AirSpeedTemplateLibrary . . . . 6 matches
         http://airspeed.pythonconsulting.com/wiki
         '''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.
  • BigBang . . . . 6 matches
          * ALGOL계 언어라고도 한다고 한다.. [http://hkpark.netholdings.co.kr/web/inform/default/inform_view.asp?menu_id=9730&id=1456&parent_id=1517 궁금해 할 사람을 위해]
          * [http://thenine.egloos.com/430823 main 함수의 리턴값]
          * __stdcall, __thiscall, __pascal, __syscall 등
         ==== Thread ====
          * event driven, event loop, thread polling, busy waiting,
          * 참고 : http://www.hackerschool.org/HS_Boards/data/Lib_system/The_Mystery_of_Format_String_Exploitation.pdf
          * 함정 카드 문제 (thanks to [서지혜] 누나)
          * ++b(1st), +(2nd), b++(3rd), =(4th)
  • Bioinformatics . . . . 6 matches
          * 교재 : “Bioinformatics: A practical guide to the analysis of genes and proteins”, Second Edition edited by Baxevanis & Ouellette
         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.
         DNA에 존재하는 4종류의 염기는 아데닌(adenine), 구아닌(guanine), 티민(thymine), 시토신(cytosine), 우라실(uracil)이다. 이들 중에서 피리미딘(pyrimidine)이라고 부르는 thymine, cytosine, uracil은 질소와 탄소로 구성된 6각형의 고리로 되어 있다. 퓨린(purine)이라고 부르는 adenine, guanine은 더 복잡하여, 질소와 탄소로 구성된 6각형과 5각형의 이중 고리로 이루어진다. nucleotide에서 이들 염기들은 deoxyribose의 1번 탄소에 공유결합으로 연결되어 있으며, 인산기는 5번 탄소에 역시 공유결합으로 연결되어 있다. adenine, guanine, cytosine, thymine, uracil은 각각 A, G, C, T,U 로 표기된다.<그림 1>
  • C++스터디_2005여름/도서관리프로그램/문보창 . . . . 6 matches
          cout.width(10);
          cout.width(10);
          cout.width(10);
          cout.width(10);
          cout.width(10);
          cout.width(10);
  • CodeConvention . . . . 6 matches
          * [http://www.freebsd.org/cgi/man.cgi?query=style&apropos=0&sektion=0&manpath=FreeBSD+5.0-current&format=html FreeBSD]
          * PythonLanguage
          * [http://www.python.org/peps/pep-0007.html Style Guide for C Code]
          * [http://www.python.org/peps/pep-0008.html Style Guide for Python Code]
          * 1980년대 charles simonyi 논문 Meta-programming : A Software Prodution Method
         === Thread ===
  • ComputerNetworkClass/Report2006/PacketAnalyzer . . . . 6 matches
         3. ethereal의 기능 중 1개 또는 새로운 기능을 한가지 구현
          // Parse the command line
          // This socket MUST be bound before calling the ioctl
          // Set the SIO_RCVALLxxx ioctl
          // Decode the IP header
         __intn 1, 2, 4, or 8 bytes depending on the value of n. __intn is Microsoft-specific.
  • ConcreteMathematics . . . . 6 matches
         == Concrete Mathematics ==
         === In finding a closed-form expression for some quantity of interest like T<sub>n</sub> we go Through three stages. ===
         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.
         [The Tower of Hanoi]
         [Lines In The Plane]
  • ErdosNumbers . . . . 6 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
         Smith, M.N.
         Smith, M.N. 1
         || 임인택 || Python || 1시간 20분 || [ErdosNumbers/임인택] ||
  • Gof/State . . . . 6 matches
          1. Who defines the state transitions?
          _state->ActiveOpen (this);
          _state->PassiveOpen (this);
          _state->Close (this);
          _state->Acknowledge (this);
          _state->Synchronize (this);
  • HardcoreCppStudy/두번째숙제/This포인터/김아영 . . . . 6 matches
         '''* this 포인터'''
         그 클래스 내부에서 this는 자신 A의 포인터를 가르키는것이다.
         f()로 클래스 내부에선 호출이 가능한데 정확히 this->f()에서 this가 생략된 형이다.
         this가 쓰이는 곳은
         class A에서 class B의 내부함수 호출시에 this라는 인자를 넘겨준다.
  • Hessian . . . . 6 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] 를 다운받는다)
         Java 와 Python 둘 다 구현이 가능하다. 여기서는 간단하게 Python Interpreter 를 이용해보자.
         Python 모듈은 http://caucho.com/hessian/download/hessianlib.py 를 다운받는다.
          public static void main(String[] args) throws MalformedURLException {
         See Also PythonXmlRpc
  • JTDStudy/두번째과제/장길 . . . . 6 matches
          this.add(b1);
          b1.addActionListener(this);
          this.addWindowListener(this);
          this.setBackground(Color.blue);
          this.dispose();
  • JavaStudy2003/두번째과제/노수민 . . . . 6 matches
         ===this===
         * 메소드 내에서 변수와 객체의 이름이 같을 경우 변수 앞에 this를 붙임
         this
         this.멤버변수
         this(매개변수);
          * this : 클래스 내의 객체 생성자에서 다른 객체 생성자를 호출
  • JavaStudy2004/오버로딩과오버라이딩 . . . . 6 matches
          예를 들어 People클래스에 move(int aX, int aY){this.position.x += aX;this.position.y += aY;}라는 함수가 있다. 그리고 People클래스를 상속 받은 Student이라는 클래스가 있다. 근데 '학생'은 좀 멍청해서 반대로 움직인다. 그렇다면 상속받은 move함수를 재정의 해줘야한다. move(int aX, int aY){this.position.x -= aX;this.position.y -= aY;}
          위에서 말한 People클래스의 move함수를 예를 들어보겠다. 위의 move함수는 정수형 인자를 매개변수로 받아들인다. 만약 people.move(1.1, 2.13)라는 명령어를 실행한다면 매개변수의 타입이 다르다는 에러가 발생할 것이다. 더블 형의 인자를 받아들이기 위해 move함수를 Overloading한다. move(double aX, double aY){this.position.x += (int)aX;this.position.y += (int)aY;} 두 함수 다 유효한 함수로 사용된다. 두 함수 중 어떤 함수가 호출될 것인지는 매개변수 값에 의해서 결정된다. 즉 오버로딩 된 함수들은 반드시 매개변수의 타입이 달라 서로 구별될 수 있어야 한다.
         == Thread ==
  • JavaStudy2004/조동영 . . . . 6 matches
          protected int unitHp;
          this.unitHp = hp;
          this.unitShield = shield;
          this.attackPoint = attack;
          this.nowState = state;
          this.airAttack = air;
          * public String changeState(String aState) { this.nowState = aState; return
          totalHp = unitHp + unitShield;
          if (totalHp > unitHp) {
          unitShield = totalHp - unitHp;
          System.out.print(unitHp);
          } else if (totalHp == unitHp) {
          System.out.print(unitHp);
          unitHp = totalHp;
          System.out.print(unitHp);
          public int getHp() {
          return unitHp;
          System.out.println(d.getHp());
  • LearningGuideToDesignPatterns . . . . 6 matches
         === Factory Method - Creational ===
         FactoryMethodPattern 로 시작하라. 이 패턴은 다른 패턴들에 전반적으로 사용된다.
         === Template Method - Behavioral ===
         앞에서의 IteratorPattern 의 예제코드에서의 "Traverse" 는 TemplateMethodPattern 의 예이다. 이 패턴은 StrategyPattern 과 FactoryMethodPattern 를 보충해준다.
         AbstractFactoryPattern은 두번째로 쉬운 creational Pattern이다. 이 패턴은 또한 FactoryMethodPattern를 보강하는데 도움을 준다.
  • MoniWikiTheme . . . . 6 matches
         === 임의의 Theme 설정 및 지원 ===
         http://chemie.skku.ac.kr/wiki/wiki.php/TwinPages?action=theme&theme=kz
         http://chemie.skku.ac.kr/wiki/wiki.php/TwinPages?action=theme&theme=blog
         http://chemie.skku.ac.kr/wiki/wiki.php/TwinPages?action=theme&theme=samplehome
         {{{[[Theme]]}}}매크로를 이용하여 지원 가능한 Theme목록을 볼 수 있다.
         [[Theme]]
  • MoreEffectiveC++/Basic . . . . 6 matches
          Pointers use the "*" and "->" operators, references use "." [[BR]]
          funcPtrArray[0] = reinterpret_cast(FuncPtr, &doSomething);
         '''*(array+ ( i *sizeof(an object in the array) )''' [[BR]]
          for( int i = the number of elements in the array -1; i>0; --i)
          * '''첫번째 문제는 해당 클래스를 이용하여 배열을 생성 할때이다. . ( The first is the creation of arrays )'''
  • NumericalAnalysisClass/Report2002_2 . . . . 6 matches
         (2) Compute and plot the L10(x)
         (3) Compute and plot the piecewise cubic interpolate L3(x)
         (4) Compute and plot the cubic N-spline S3(x)
         (5) Plot the Error f(x) - L10(x)
         (6) Plot the Error f(x) - L3(x)
         (7) Plot the Error f(x)- S3(x)
  • PNGFileFormat/FilterAlgorithms . . . . 6 matches
         === Filter type 4 : Paeth ===
         Raw(x) = Paeth(x) + PaethPredictor(Raw(x-bpp), Prior(x), Prior(x-bpp))
         function PaethPredictor (a,b,c)
          if pa <= pb and pa <= pc then a
          else if pb <= pc then b
  • PragmaticVersionControlWithCVS/CreatingAProject . . . . 6 matches
         || [PragmaticVersionControlWithCVS/UsingTagsAndBranches] || [PragmaticVersionControlWithCVS/UsingModules] ||
         == Creating the Initial Project ==
         == Structure Within the Project ==
         [PragmaticVersionControlWithCVS]
  • ProjectPrometheus/Iteration . . . . 6 matches
         ["ProjectPrometheus"]/Iteration
         ||["ProjectPrometheus/Iteration1"]||
         ||["ProjectPrometheus/Iteration2"]||
         ||["ProjectPrometheus/Iteration3"]||
         ||["ProjectPrometheus/Iteration4"]||
         ||["ProjectPrometheus/Iteration5"] (Later) ||
  • PythonIDE . . . . 6 matches
         = Python IDE =
          * ???? : ActiveState Python 에서 제공한느 기본 IDE
          * PyScripter : 개중 가장 좋은 기능과 공개라는 장점을 가진 IDE. 가히 최고라 불릴만하다. 하지만 wxPython 과의 상성이 좋지 않아 wxPython 유저에게는 그림의 떡. 완벽한 디버깅 모드를 제공한다.
          * PyCrust : wxPython 에서 제공하는 IDE
         [Python]
  • RUR-PLE . . . . 6 matches
          * [http://zeropage.org/pub/language/python/python-2.4.1.msi Python 2.4 다운로드]
          * [http://prdownloads.sourceforge.net/wxpython/wxPython2.6-win32-unicode-2.6.1.0-py24.exe wxPython다운로드]
  • RandomWalk/영동 . . . . 6 matches
         void showBoard(int a_board[][MAX_X], int length_x, int length_y);
         void showBoard(int a_board[][MAX_X], int length_x, int length_y)
          for(int i=0;i<length_y;i++)
          for(int j=0;j<length_x;j++)
  • Self-describingSequence/1002 . . . . 6 matches
          theGroupIdx = findGroupIdx(table,i)
          repeat = theGroupIdx
          theGroupIdx = finder.find(i)
          repeat = theGroupIdx
         수행 시간 : 1000000000 기준 0.95초(with psyco) 2.18초(without psyco)
  • SmithNumbers/문보창 . . . . 6 matches
         // no10042 - Smith Numbers
         #include <cmath>
         void find_smith_number(int n);
          find_smith_number(number);
         void find_smith_number(int n)
         [SmithNumbers] [AOI]
  • TheJavaMan/테트리스 . . . . 6 matches
          Thread clock;
          blockType = Math.abs(r.nextInt() % 7);
          this.requestFocus();
          blockType=Math.abs(r.nextInt() % 7);
          clock = new Thread(this);
          this.setSize(200,333);
          g.drawImage(mem, 0, 0, this); //
         [TheJavaMan]
  • TheTrip/황재선 . . . . 6 matches
         === TheTrip ===
         ==== {{{~cpp TheTrip.java}}} ====
          * TODO To change the template for this generated file go to
         public class TheTrip {
          for(int i = 0; i < money.length; i++) {
          for(int i = 0; i < money.length; i++)
          average = convertToTwoDigits(sum / money.length);
          aNum = Math.ceil(aNum);
          TheTrip trip = new TheTrip();
         TheTrip
  • WikiClone . . . . 6 matches
         A software system that implements the features of the OriginalWiki.
         Other Python Wiki clones:
          * ZWiki: http://joyful.com/zwiki/ZWiki (a Zope product; an evolved version is used on http://www.zope.org, which is also the place to learn more about Zope)
  • WikiSandBox . . . . 6 matches
         === Python ===
         a MoniWiki python colorizer using the VimProcessor
         {{{#!python
          print '''bla this sucks.'''
         this is a latex
          * 특정 페이지를 없애려 할 때, DeleteThisPage 과정 없이 바로 DeletePage 한다. ( [페이지지
  • WinampPlugin을이용한프로그래밍 . . . . 6 matches
         // define procedures, that'll be found in a .DLL
         typedef Out_Module* (*OUTHDRPROC)(void);
         int dsp_donothing(short int *, int cnt, int, int, int) {
         // other functions, needed to get it to work
          OUTHDRPROC ohp = (OUTHDRPROC)GetProcAddress(hout,"winampGetOutModule");
          in->dsp_dosamples = dsp_donothing;
          //int x = 1,len = in->GetLength();
          printf(" %d ms\n", in->GetLength()); // 전체 play time (ms)
  • ZeroPage . . . . 6 matches
          * 1999 [ZeroPageServer] 구입. Rebirth 선언. Devils 분리.
          * [OpenCamp/네번째] 공동주최(with CLUG)
          * team 'Zaranara Murymury' 본선 31위(13th Place) : [이민석], [정진경], [홍성현]
          * team 'ZeroPage' 본선 35위(18th Place) : [조영준], [권영기], [이원준]
          * 대상 - Prometheus(도서관 랩퍼 시스템) : 강석천, 류상민
          * 우수상 - Delthia : 이정수
  • ZeroPageServer/set2002_815 . . . . 6 matches
          * php, jsp, python, perl 정도의 예제 작성해서 ["ZeroPageServer/Telnet계정"] 에 기제
          * CGI Script (Perl, ["Python"] 1.53), PHP (4.2 일것임), JSP & Servlet (Resin 1.2 )
          * 남훈 ( 00,["zennith"] ) : 간다음에 php 곧바로 됨
          * [[HTML( <STRIKE> python 설치, 확인 </STRIKE> )]] 2.1, 2.2 둘다 설치
          * {{{~cpp /home/jspVirtualPath}}} 에 해당 아이디의 symbolic 링크를 걸면 됨. resin.conf에서 path-mapping 사용
  • [Lovely]boy^_^/USACO/WhatTimeIsIt? . . . . 6 matches
          for(int i = 0 ; i < str.length() ; ++i)
          ret += CharToInt(str[i]) * Jegob(10,(str.length() - i));
          for(int i = 0 ; i < a.length() ; ++i)
          table[3] = "three";
          table[13] = "thirteen";
          table[30] = "thirty";
  • apache/mod_python . . . . 6 matches
          * [moinmoin]을 설치하기 위해서는 [apache]에 [python]모듈을 설치해야 한다.
          * DeleteMe) mod_python의 mod를 module인줄 모르고 파이선의 한 종류인줄 알았었다는...-_-ㅋ;;
          * 윈도우즈 환경에서 mod_python을 설치하기. [http://www.nzeo.com/bbs/zboard.php?id=tag_tip&no=5]
          * [ftp://ring.aist.go.jp/archives/net/apache/dist/httpd/modpython/win/] : 윈도우즈 환경에서 Apache 와 연동해서 설치할 경우에 왼쪽 링크 참고. 특히 주의할 점은 Apache 버전 자신의 것과 맞는 것으로 다운 받아야 함.(안그럴 경우 아파치 서버 시작 못함)
          * [http://www.modpython.org/live/current/doc-html/inst-testing.html] : 인스톨 테스트
          * mod_pyhton 홈페이지 [http://www.modpython.org/]
  • django/Model . . . . 6 matches
         모델은 웹 어플리케이션에서 사용할 데이터를 명세한 python소스코드이다. 모델은 데이터베이스와 연동되며, 간단한 경우 모델 하나가 데이터베이스 테이블 하나로 매핑된다. 따라서 웹 개발자는 데이터베이스를 직접 손대지 않고 소스코드인 모델을 변경해가면서 작업을 진행할 수 있다. 모델을 변경할 때마다 django에서 제공하는 manage.py syncdb를 이용하면 변경된 모델이 데이터베이스 테이블에 반영된다.
          name= models.CharField(maxlength=10)
         모델에 해당하는 테이블을 생성하는 SQL문은 {{{python manage.py sql <app name>}}}으로 확인할 수 있다. 위에 해당하는 SQL문은 다음과 같다.
          name= models.CharField(maxlength=100)
          name= models.CharField(maxlength=100)
          location= models.CharField(maxlength=200)
  • whiteblue/MyTermProject . . . . 6 matches
          int math;
          data[i].total = data[i].kor + data[i].eng + data[i].math;
          result_1(data, &data[0].math);
          sort(©_data[0].math);
          result_1(copy_data , ©_data[0].math);
          << "\t" << m[i].eng << "\t" << m[i].math << "\t" << m[i].total
  • zennith/SICP . . . . 6 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.)"
         ["zennith"]
  • 덜덜덜/숙제제출페이지2 . . . . 6 matches
          int pattern, length, a, b, c;
          scanf("%d", &length);
          for(a=1; a<=length; a++)
          for(b=length-a; b>=1; b--)
          for(a=length; a>=1; a--)
          for(b=length-1; b>=a-1; b--)
  • 데블스캠프2002/진행상황 . . . . 6 matches
         강사/진행자들의 후기 페이지입니다. 이 또한 ["ThreeFs"] 를 생각하기 바랍니다. 오늘의 글들이 다음날, 또는 내년에 쓰일것임을 생각하시길. 그날 자신이 했던 일들 (또는 다른 사람이 했던 일들)을 확인하고, 그에 대해서 무엇이 잘되었는지, 왜 잘되었는지, 무엇이 잘 안되었는지, 왜 안되었는지를 확인하고, 앞으로의 대안을 생각해보도록 작성합시다.
          * Python 기초 + 객체 가지고 놀기 실습 - Gateway 에서 Zealot, Dragoon 을 만들어보는 예제를 Python Interpreter 에서 입력해보았다.
          * ["RandomWalk2"] 를 ObjectOrientedProgramming 으로 구현하기 - 위의 Python 관련 실습동안 ["1002"] 는 ["RandomWalk2"] 에 대해서 C++ Prototype을 작성. (["RandomWalk2/ClassPrototype"]) 이를 뼈대로 삼아서 ["RandomWalk2"] 를 작성해보도록 실습. 해당 소스에 대한 간략한 설명, 구현의 예를 설명. 중간에 객체들에 대한 독립적인 테스트방법을 설명하면서 assert 문을 이용한 UnitTest 의 예를 보였다.
         Python으로 만든 스타크래프트 놀이는 참가자들이 무척이나 좋아했다. 또 그 직전에 Python Interactive Shell에서 간단하게 남자, 여자, 인간 클래스를 직접 만들어 보게 한 것도 좋아했다. 아주 짧은 시간 동안에 OOP의 "감"을 느끼게 해주는 데 일조를 했다고 본다.
         다른 하나는, 요구사항이 어떻게 제시되느냐가 산출물로서의 프로그램에 큰 영향을 끼친다는 점이다. 요구사항이 어떤 순서로 제시되느냐, 심지어는 어떤 시제로 제시되느냐가 프로그램에 큰 영향을 끼친다. 심리학에서 흥미로운 결과를 찾아냈다. "내일은 한국과 브라질의 경기날입니다. 결과가 어떻게 될까요?"라는 질문과, "어제는 한국과 브라질의 경기가 있었습니다. 결과가 어땠나요?"라는 질문에 대해 사람들의 대답은 큰 차이가 있었다. 후자 경우가 훨씬 더 풍부하고, 자세하며, 구체적인 정보를 끌어냈다. 이 사실은 요구사항에도 적용이 되어서, 요구사항의 내용을 "미래 완료형"이나 "과거형"으로 표현하는 방법(Wiki:FuturePerfectThinking )도 생겼다. "This system will provide a friendly user interface"보다, "This system will have provided a friendly user interface"가 낫다는 이야기다. 어찌되었건, 우리는 요구사항이 표현된 "글" 자체에 종속되고, 많은 영향을 받는다.
          * 불필요한 스레드일지도 모르겠으나, 일단 완벽히 어셈쪽 이야기를 하는 것이 아니라, 단순히 C 언어같은 하이레벨 언어에서의 관점으로 얘기하는 것이라면, 포인터란 '가르키는 것' 이라는 추상적인 개념일 뿐입니다. 오히려 어설프게 메모리의 주소라는 개념을 알게 된다면 나중에 더욱 큰 혼돈을 불러일으킬 수 있습니다.. 저처럼요.. -["zennith"]
  • 데블스캠프2005/Python . . . . 6 matches
         [http://zeropage.org/pub/language/python/python-2.4.1.msi Python2.4.1 다운로드]
         Upload:DevilsCamp2005_Python.ppt
          * [02_Python]
          * PythonLanguage
  • 데블스캠프2005/RUR-PLE/Sorting . . . . 6 matches
          if next_to_a_beeper():#inspect whether it's empty column or not
          pick_beeper() # move the beeper from larger column to smaller column
          move() # search the smallest column in unordered columns
          #return to the larger column which must be sorted
          pick_beeper() # move the beeper from larger column to smaller column
          move() # search the smallest column in unordered columns
  • 데블스캠프2011/다섯째날/HowToWriteCodeWell/강소현,구자경 . . . . 6 matches
          setHopeFloor(k);
          // TODO Auto-generated method stub
          public int getHopeFloor() {
          public void setHopeFloor(int hopeFloor) {
          this.hopeFloor = hopeFloor;
          el.goTo(el.getHopeFloor());
          el.goTo(el.getHopeFloor());//이동하고픈 위치 이동
          // TODO Auto-generated method stub
          // TODO Auto-generated method stub
          // TODO Auto-generated method stub
          // TODO Auto-generated method stub
  • 데블스캠프2011/둘째날/Machine-Learning/NaiveBayesClassifier/강성현 . . . . 6 matches
          public FileData(String filename) throws FileNotFoundException, UnsupportedEncodingException {
          private static void writeCsv(String filename) throws FileNotFoundException {
          for (int i = 0; i < wordset.length; i++) {
          for (int i = 2; i < data.length; i++) {
          p += Math.log((f.get1()+1)/(double)(f.get2()+1));
          p += Math.log((f.get2()+1)/(double)(f.get1()+1));
  • 데블스캠프2011/셋째날/String만들기 . . . . 6 matches
         || endsWith || str.endsWith("ef") == TRUE ||
         || startsWith || str.startsWith("abc") == TRUE ||
         || length || str.length() == 6 ||
  • 데블스캠프2013/셋째날/머신러닝 . . . . 6 matches
          * C++, C#, Java, Python.. 다양하네요. ㅋㅋ
         using System.Threading.Tasks;
         #include <math.h>
          public static void main(String[] args) throws Exception {
          for (int j = 0; j < saveMatrix.length; j++) {
         #include <math.h>
         #include <math.h>
  • 로그인없이ssh접속하기 . . . . 6 matches
         == ssh login without password ==
         Enter file in which to save the key (/home/a/.ssh/id_rsa):
         The key fingerprint is:
         a@A:~> cat .ssh/id_rsa.pub | ssh b@B 'cat >> .ssh/authorized_keys'
         ssh b@B chmod 600 .ssh/authorized_keys
          * A에서 B 서버로 접속하기 위해서 는 A 에서 private_key 인 id_rsa 가 꼭 있어야 하고, 이것의 public_key 가 해당 B 서버의 authorized_keys 안에 추가되어 있어야 한다. authorized_keys 안에는 여러개를 넣을 수 있다.
  • 마름모출력/임다찬 . . . . 6 matches
          int B_length;
          printf("변의 길이 입력 : "); scanf("%d",&B_length);
          for(i=0;i<B_length;i++){
          for(k=1;k<B_length-i;k++) printf(" ");
          for(i=0;i<B_length-1;i++){
          for(j=1;j<=(2*B_length-3)-2*i;j++) printf("%c",pattern);
  • 만세삼창VS디아더스1차전 . . . . 6 matches
         [http://trac.izyou.net/threechang/attachment/wiki/WikiStart/three_chang_250.JPG?format=raw] VS 로고도 없는 그들...
          throw FatalException
          throw FatalException
         = thread =
          throw FatilException # 엄연한 타이핑 오류임. 컴파일 절대안됨.
  • 비행기게임 . . . . 6 matches
          * Python을 익히는 과정과 비행기 만드는 과정은 거의 동시에 이루어진다.
          * 먼저 Python을 익힌다. V
          print 'static method', x, y
          spam = staticmethod(spam)
         '비행기게임' 을 위한건지 아니면 Python 공부를 위한건지? 뭐 둘 다 상관없긴 한데.. 비행기 게임 제작 과정에 'Python 익히기' 가 먼저인건 순서가 아닐 것 같아서.
  • 스터디/Nand 2 Tetris . . . . 6 matches
          * A-Instruction : @value // Where value is either a non-negative decimal number or a symbol referring to such number.
          * C-Instruction : dest=comp;jump // Either the dest or jump fields may be empty.
          // If dest is empty, the "=" is omitted;
          // if jump is empty, the ";" is omitted;
          * The Hack Computer
          The instruction memory and the data memory are physically separate
  • 알고리즘5주참고자료 . . . . 6 matches
         [http://en.wikipedia.org/wiki/Randomized_algorithm Randomized algorithm]
         [http://en.wikipedia.org/wiki/Las_Vegas_algorithm Las Vegas algorithm]
         [http://en.wikipedia.org/wiki/Monte_Carlo_algorithm Monte Carlo algorithm]
  • 오목/곽세환,조재화 . . . . 6 matches
         // ohbokView.h : interface of the COhbokView class
          virtual void OnDraw(CDC* pDC); // overridden to draw this view
         // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
         // ohbokView.cpp : implementation of the COhbokView class
         #undef THIS_FILE
         static char THIS_FILE[] = __FILE__;
          // TODO: Modify the Window class or styles here by modifying
          // the CREATESTRUCT cs
  • 오목/민수민 . . . . 6 matches
         // sampleView.h : interface of the CSampleView class
          virtual void OnDraw(CDC* pDC); // overridden to draw this view
         // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
         // sampleView.cpp : implementation of the CSampleView class
         #undef THIS_FILE
         static char THIS_FILE[] = __FILE__;
          // TODO: Modify the Window class or styles here by modifying
          // the CREATESTRUCT cs
  • 오목/재니형준원 . . . . 6 matches
         // OmokView.h : interface of the COmokView class
          virtual void OnDraw(CDC* pDC); // overridden to draw this view
         // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
         // omokView.cpp : implementation of the COmokView class
         #undef THIS_FILE
         static char THIS_FILE[] = __FILE__;
          // TODO: Modify the Window class or styles here by modifying
          // the CREATESTRUCT cs
  • 오목/재선,동일 . . . . 6 matches
         // singleView.h : interface of the CSingleView class
          virtual void OnDraw(CDC* pDC); // overridden to draw this view
         // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
         // singleView.cpp : implementation of the CSingleView class
         #undef THIS_FILE
         static char THIS_FILE[] = __FILE__;
          // TODO: Modify the Window class or styles here by modifying
          // the CREATESTRUCT cs
  • 웹에요청할때Agent바꾸는방법 . . . . 6 matches
         import thread
         from threading import *
         # @author 남상협
          theUrl = 'http://msdn2.microsoft.com/zh-cn/library/ms130214.aspx'
          #theUrl = 'http://www.google.co.kr/search?hl=ko&q=define:"'+word+'"'
          req = urllib2.Request(theUrl)
  • 위키에 코드컬러라이저 추가하기 . . . . 6 matches
          * 다음 2개의 파일을 MoinMoin/processor 디렉터리에 생성한다. (본인은 이름의 통일감을 위해 Colorize.py 도 PythonColorize.py 로 이름을 바꾸었다.)
          # send rest of line through regex machinery
          elif string.strip(line)[:2] == "#!" and string.find(line, 'python') > 0:
          # send rest of line through regex machinery
          elif string.strip(line)[:2] == "#!" and string.find(line, 'python') > 0:
          from MoinMoin.processor.PythonColorize import process
  • 졸업논문/본론 . . . . 6 matches
         Django는 도메인 언어인 python의 영향을 많이 받는다. Python은 "동적인 객체지향"[10] 언어로 많은 소프트웨어르 만드는 데 사용할 수 있으며, django와 같이 소프트웨어를 만드는 프레임워크로도 널리 쓰인다. 이미 NASA에서 python을 사용하고 있으며, Google에서는 python을 java와 더불어 주류언어로 사용하고 있다. Django가 데이터베이스를 추상화하고, 개발 도중에 변경 사항을 자동화하여 처리할 수 있는 까닭도 python에 있다.
         다행히 django에서는 CLI와 마찬가지로 직접 SQL문장을 수행할 수 있는 인터페이스를 제공한다. 또한 도메인 언어인 python을 이용하면 CLI를 이용해 데이터베이스와 연동할 수도 있다. 종합적으로 기능적으로 지원이 불가능한 면은 없지만, 검색 측면에서 좀더 많은 추상화가 필요하다고 평가할 수 있다.
  • 중위수구하기/문보창 . . . . 6 matches
          private int length;
          length = 0;
          length++;
          sortElement(0, length);
          int mid = (int)Math.floor(0.5 * length + 0.5);
  • 진법바꾸기/문보창 . . . . 6 matches
         void show_num(const int * parse_num, const int length);
          int length = 0;
          parse_num[length++] = temp % base;
          show_num(parse_num, length);
         void show_num(const int * parse_num, const int length)
          for (int i = length-1; i >= 0; i--)
  • 코드레이스/2007.03.24상협지훈 . . . . 6 matches
         year, month, day, time, minute, sec = map(int,numList.split(" "))
         sec = ((((((year-2000)*12 + month)*30 + day)*24 + time)*60 + minute)*60 + sec )
          year, month, day, time, minute, sec = map(int,numList.split(" "))
          sec = ((((((year-2000)*12 + month)*30 + day)*24 + time)*60 + minute)*60 + sec )
          year, month, day, time, minute, sec = map(int,numList.split(" "))
          sec = ((((((year-2000)*12 + month)*30 + day)*24 + time)*60 + minute)*60 + sec )
  • 페이지이름 . . . . 6 matches
          * 예를들어서, ["ProjectPrometheus"] 에서 활동하다가 만들어지는 '''Journey''' 페이지의 이름은 ["ProjectPrometheus/Journey"]로 지어지고 이 페이지는 ["ProjectPrometheus"]를 부모로 하는 하위 페이지이이다.
          * 당연히, 부모인 ["ProjectPrometheus"] 에 Jouney 에 대한 링크를 찾아보면 있을 것이다. 그리고 ["ProjectPrometheus/Journey"] 의 가장 하단에, 밑줄({{{~cpp ----}}})로 자신의 부모를 링크를 걸어두어 보는 이가 항해하기 편하게 배려한다.
          * 이에 반하여 ["ProjectPrometheus/Estimation"]은 부모에 대한 페이지 링크가 가장 상단에 있다. 즉, 부모의 링크는 최상단, 최하단에 올수 있다. 이를 ["역링크"]라고 부른다.
         === Thread ===
  • 호너의법칙/김정현 . . . . 6 matches
          for(int i=0;i<a.length-1;i++)
          for(int i=0;i<a.length;i++) System.out.print("====");
          for(int i=0;i<a.length;i++)
          for(int i=0;i<a.length;i++) System.out.print("====");
          for(int i=0;i<a.length;i++)
          for(int i=0;i<a.length;i++) System.out.print("====");
  • .vimrc . . . . 5 matches
         set bs=2 " allow backspacing over everything in insert mode
         set ruler " show the cursor position all the time
         set shiftwidth=4
         let TE_WinWidth = 20 " TagExplorer 창크기 조절
         au BufNewFile *.h call InsertHeaderSkeleton()
         function! InsertHeaderSkeleton()
  • 2002년도ACM문제샘플풀이/문제A . . . . 5 matches
         #include <cmath>
          Line GenerateLine(int nth)
          switch(nth)
          bool IsSmallerThan(Rect& rect)
          if( IsSmallerThan(rect) )
         // sort 함수는 #include <algorithm> 한다음
         // 저것도 #include <cmath> 한다음, abs(값) 하면 끝남
  • 3N+1Problem/강소현 . . . . 5 matches
         int length(int n){
         int maxLength(int num1, int num2){
          if(max < length(i))
          max = length(i);
          cout<<num1<<" "<<num2<<maxLength(num1, num2);
  • 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;
  • 3n 1/이도현 . . . . 5 matches
         2005-12-30 14:39:20 Accepted 3.256 436 56031 C++ 100 - The 3n + 1 problem
         // The 3n + 1 problem
         int cycle_length(int input);
          temp = cycle_length(i); // cycle legnth 찾기
         // cycle length 구하기
         int cycle_length(int input)
  • ACE/HelloWorld . . . . 5 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 (무슨차이가 있는지 아직 확실하게 모르겠다)
  • AcceleratedC++/Chapter8 . . . . 5 matches
         #include <algorithm>
          throw domain_error("median of an empty vector");
          c.end() == c.begin() + c.size() // this is true
         #include <algorithm>
          // copy the characters in `[i,' `j)'
  • AttachmentMacro . . . . 5 matches
         attachment:foobar.png?width=300px&align=center
         이 경우 config.php에 {{{$use_convert_thumbs=1}}}를 넣어준다.
         attachment:foobar.png?thumb=1
         attachment:foobar.png?thumbwidth=100px
  • BoaConstructor . . . . 5 matches
         오픈소스 wxPython GUI Builder. 처음에 메뉴가 이것저것 많아 정신없는게 문제지만, Tutorial 을 보고 따라하다보면 대강 이해갈것이다.
         http://sourceforge.net/potm/potm-2003-08.php 2003년 8월 Project of the month 에 뽑혔다. CVS 최신버전인 0.26에서는 BicycleRepairMan 이 포함되었다.
          5. 정식 버전은 TDD 로 다시 DoItAgainToLearn. WingIDE + VIM 사용. (BRM 을 VIM 에 붙여놓다보니. 그리고 WingIDE 의 경우 Python IDE 중 Intelli Sense 기능이 가장 잘 구현되어있다.)
         [Python]
  • Button/영동 . . . . 5 matches
          버튼1.addActionListener(this);
          버튼2.addActionListener(this);
          this,
          this,
          this,
  • CCNA/2013스터디 . . . . 5 matches
          * 링크는 언제나 다운 상태 -> 링크 업 -> Establishing -> LCP 상태 Open -> Authenticating -> 인증 성공 -> 링크 업 (실패하면 다운 -> Terminating -> 재 접속)
          || 7 || Router_Aconfig-if)#ppp authentication chap || 암호화(인증) 기능 ||
          * debug PPP authentication: PPP의 인증과 관련된 PAP, CHAP
          '''B채널''' : '''실제 데이터 전송용''' 채널. 개당 64kb의 bandwidth를 가진다.
          '''D채널''' : '''signal용''' 채널. 16kb의 bandwidth를 가진다.
  • CategoryHomepage . . . . 5 matches
         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:
  • ClassifyByAnagram/김재우 . . . . 5 matches
         = Python =
          /// The main entry point for the application.
          [STAThread]
          for ( int i = 0; i < word.Length; i++ )
          for( int i = 0; i < source.length(); i++ ) {
          String sortedWord = this.sortWord( word );
  • ComputerNetworkClass/Report2006/BuildingWebServer . . . . 5 matches
          * Thread
          * [http://www.llnl.gov/computing/tutorials/pthreads/ pthead]
          * [http://users.actcom.co.il/~choo/lupg/tutorials/multi-thread/multi-thread.html pthread]
          * [CeeThreadProgramming]
  • ConvertAppIntoApplet/영동 . . . . 5 matches
          버튼1.addActionListener(this);
          버튼2.addActionListener(this);
          this,
          this,
          this,
  • CuttingSticks/김상섭 . . . . 5 matches
          int length, tokennum, token, l, i, j, m;
          cin >> length;
          while(length)
          temp.push_back(length);
          cin >> length;
          cout << "The minimum cutting is " <<store[0][tokennum] << ".\n";
  • CxImage 사용 . . . . 5 matches
         BOOL CCxDoc::OnOpenDocument(LPCTSTR lpszPathName)
          if (!CDocument::OnOpenDocument(lpszPathName))
          m_pImage->Load(lpszPathName, CxImage::FindType(lpszPathName));
         == thread ==
  • CxxTest . . . . 5 matches
         CxxUnit은 [CUT]의 C++버전이라 봐도 약간 상통하리라 본다.(오래되기는 CxxUnit 이 더 오래되었던걸로 기억) Python 이나 Perl 의 코드제너레이터 스크립트를 이용, Runner화일을 만들어준다. 이를 컴파일하여 실행하면 테스트가 실행된다.
         from os.path import *
          if fileName.endswith("Test"):
          '''cmd= "python cxxtestgen.py --runner=ParenPrinter --gui=Win32Gui -o runner.cpp "+toStr(testFiles)'''
          cmd= "python cxxtestgen.py --runner=ParenPrinter -o runner.cpp "+toStr(testFiles)
  • DataStructure . . . . 5 matches
          * 파스칼을 만들고 튜링상을 받은 Niklaus Wirth 교수는 ''Algorithms+Data Structures=Programs''라는 제목의 책을 1976년에 출간했다.
          * OOP시대에는 위의 개념이 살짝 바뀌었더군여. Algorithms+Data Structure=Object, Object+Object+....+Object=Programs 이런식으로..
          * [http://www.inf.fh-flensburg.de/lang/algorithmen/sortieren/ 소팅잘나온사이트]
         see also HowToStudyDataStructureAndAlgorithms
  • Debugging/Seminar_2005 . . . . 5 matches
          * ask the code
          * fully implemented and fully debugged, before the developer(s) responsible for that feature move on to the next feature -> debugging The development Process
          * Study The source with debugger
         = Thread =
  • DelegationPattern . . . . 5 matches
          int distance=java.lang.Math.abs(_getArrivalCityGate(fromCity)
          this.psg=psg;
          int distance=java.lang.Math.abs(_getArrivalCityGate(fromCity)
          for (int i=0;i<anArray.length;i++) {
          this.psg=psg;
  • DirectDraw/DDUtil . . . . 5 matches
         ["TheWarOfGenesis2R"]페이지의 개설에 따라 사용법을 모읍니다.
         CreateFullScreenDisplay(HWND hWnd, DWORD dwWidth, DWORD dwHeight, DWORD dwBPP)
          * dwWidth : 생성할 객체의 넓이
         CreateWindowedDisplay HWND hWnd, DWORD dwWidth, DWORD dwHeight)
         CreateSurface( CSurface **ppSurface, DWORD dwWidth, DWORD dwHeight)
         CreateSurfaceFromBitmap(CSurface** ppSurface, TCHAR* strBMP, DWORD dwDesiredWidth, DWORD dwDesiredHeight)
  • 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
         Warranty: Distributed WITHOUT WARRANTY OF ANY KIND
         define method say-hello()
          format-out("hello there!\n");
         end method say-hello;
  • EightQueenProblem/이준욱 . . . . 5 matches
         void checkQueen(int depth)
          for( i = 0;i < 8 && depth < 8;i++) {
          if(mask(tmap, i, depth)) {
          if((depth + 1) == 8) result();
          checkQueen(depth + 1);
  • HardcoreCppStudy/첫숙제/ValueVsReference/변준원 . . . . 5 matches
          cout << "this x="<< x <<" \n"; cout << "this y="<< y <<" \n";
         this x=3
         this y=2
         함수 mytest 내의 지역변수로 선언한 x의 값이 3이 되므로 this x=3이 되고 그 외의 값들은 모두 전역변수
  • ISAPI . . . . 5 matches
          * High Performance : outperform any other web application technology. (ASP, servser-side component)
          * Low-Level Control : access to the whole array of Win32 API or 3rd party API
          * Scailability gains are not necessarily automatic : runs faster than others but there is no guarantee of perfect scalability
  • IntelliJ . . . . 5 matches
          1. Path to CVS client 에 도스프롬프트의 cvs.exe 나 cvs95.exe 등을 연결
          2. CVS Root 설정 - ZP 서버에 연결할 경우 PServer 를 선택, Repository Path 로 /home/CVS 로 설정, Host에는 zeropage.org, User name 은 자기 아이디를 써준다.
          4. Checkout - 이는 CVSROOT의 modules 에 등록된 project 들만 가능하다. CVS 관리자는 CVSROOT 의 modules 화일에 해당 프로젝트 디렉토리를 추가해준다.([http://cvsbook.red-bean.com/cvsbook.html#The_modules_File module file]) 그러면 IntelliJ 에 있는 CVS의 Checkout 에서 module 을 선택할 수 있다. Checkout 한다.
         || F6 || Rename. class 이건 Method 이건. Refactoring 의 ["IntelliJ"] 의 중요 기능중 하나. ||
         || ctrl + alt + M || extract method refactoring||
         || ctrl + alt + T + 6 || surrounded with try-catch||
  • InterMap . . . . 5 matches
         PythonInfo http://www.python.org/cgi-bin/moinmoin/
         NowThen http://zeropage.org/wikis/nowthen/
         PyKug http://www.python.or.kr/pykug/ # 파이썬 정보광장
         NowThen2004 http://zeropage.org/wikis/nowthen2004/ #지금그때2004 후의 위키 정리 페이지
  • InterWikiIcons . . . . 5 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.
          * Others?
         InterWikiIcon also used in the Unreal:Unreal Wiki.
          The gimp :)
  • IpscLoadBalancing . . . . 5 matches
         #format python
          thisLine=[]
          thisLine.append(int(lexer.get_token()))
          yield thisLine
         python runb.py <inputfile> <outputfile>
  • JTDStudy/두번째과제/상욱 . . . . 5 matches
          this.setLayout(gl);
          this.addButton();
          button1.addActionListener(this);
          gc.gridwidth = 0;
          this.add(button1);
  • Java/JDBC . . . . 5 matches
          * @throws SQLException
          * @throws ClassNotFoundException
          public static void main(String[] args) throws SQLException, ClassNotFoundException {
          String url = "jdbc:oracle:thin:@localhost:1521:NSH2";
         = thread =
  • Java2MicroEdition/MidpHttpConnectionExample . . . . 5 matches
          SpikeGetHtml sgh = new SpikeGetHtml("http://dduk.idaizy.com/j2me/test.txt");
          display = Display.getDisplay(this);
          tb.setCommandListener(this);
          protected void startApp() throws MIDletStateChangeException {
         === SpikeGetHtml.java ===
         public class SpikeGetHtml {
          public SpikeGetHtml(String url) {
          private void init(String url) throws IOException {
          httpConn.setRequestMethod(HttpConnection.GET);
  • JollyJumpers/조현태 . . . . 5 matches
          while (null != text && 0 != text.Length)
          int[] nums = new int[textNums.Length];
          for (int i = 0; i < nums.Length; ++i)
          for (int i = 1; i < nums.Length - 1; ++i)
          if (nums[0] <= Math.Abs(nums[i] - nums[i + 1]))
  • LUA_6 . . . . 5 matches
          메타 테이블은 루아에서 테이블을 사용하는 연산자 재정의? 또는 python을 예로 들면 __add__, __sub__ 와 같은 함수라고 볼 수 있습니다. 테이블을 함수가 아닌 연산자로 조작 할 수 있게끔 해 줍니다.
         __lt < , > less than 연산자
         __le >=,<= less than or equal 연산자
         >> if key == 'copy_value' then return { value = x.value } end
         class를 만들기 위한 페이지 http://lua-users.org/wiki/YetAnotherClassImplementation 추가로 링크 넣었습니다.
  • LightMoreLight/허아영 . . . . 5 matches
         simply,, I thinked..
         If the Number of n's measure is an odd number, an answer is "No"
         else if the Number of n's measure is an even number, an answer is "Yes".
         How do I code this contents??
         I learned how to solve the Number of n's measure.. at a middle school.
  • MFC/Socket . . . . 5 matches
          // NOTE - the ClassWizard will add and remove member functions here.
          m_serverSocket.Init(this,SERVERPORT); //서버를 생성한다.
          m_dataSocket->Init(this); //초기화
          * m_dataSocket.Init(this);
          m_dataSocket->Init(this);
         == Thread ==
  • MFCStudy_2001/MMTimer . . . . 5 matches
         m_TimerID=timeSetEvent(20,1,&TimerProc,(DWORD)this,TIME_PERIODIC);
         m_nTimerID = timeSetEvent(5, 0, (LPTIMECALLBACK)timeproc, (DWORD)this, TIME_PERIODIC);
          * this는 이 클래스 인스턴스의 값을 넘겨줍니다. 클래스 내부 함수로 선언했을 경우네는 중요한 인자값입니다.
          dwUser는 timeSetEvent의 this값을 인자로 받아 pDlg에 현재 인스턴스의 주소를 넣습니다.
          CTmrprocView * pThis;
          if (m_thisList.Lookup(idTimer, (LPVOID &) pThis))
          ASSERT(pThis->GetSafeHwnd());
          CDC* pDC = pThis->GetDC();
          wsprintf((LPSTR) pThis->m_strOutput, "CTmrprocView::TimerProc() Called. Count = %ld", ++pThis->m_cCount);
          pThis->Invalidate(TRUE);
  • MicrosoftFoundationClasses . . . . 5 matches
          nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __endthreadex
          nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __beginthreadex
          * {{{~cpp 응용프로그램 객체 theApp 생성}}}
  • MineSweeper/Leonardong . . . . 5 matches
          def mine(): # static method
          mine = staticmethod( mine )
          def safyZone(): # static method
          safyZone = staticmethod( safyZone )
          run = staticmethod(run)
         == Thread ==
  • MobileJavaStudy/HelloWorld . . . . 5 matches
          display = Display.getDisplay(this);
          mainScreen.setCommandListener(this);
          g.fillRect(g.getClipX(),g.getClipY(),g.getClipWidth(),g.getClipHeight());
          display = Display.getDisplay(this);
          canvas.setCommandListener(this);
  • ModelViewPresenter . . . . 5 matches
         TwistingTheTriad
         ConnectingTheDots
         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.
  • MoniWiki . . . . 5 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.
  • OurMajorLangIsCAndCPlusPlus/locale.h . . . . 5 matches
         #define NULL (either 0, 0L, or (void*)0) (0 in C++)
         char* mon_thousands_sep; "" LC_MONETARY
         char* thousands_sep; "" LC_NUMERIC
          void with_other_locale (char *new_locale, void (*subroutine) (int), int argument)
  • ProjectPrometheus/BugReport . . . . 5 matches
         Prometheus 의 버그 보고 페이지
          * notice변경 사항에 관하여, DB에 넣는 방향으로 바꾸던지(게시판을 하던지), file path 비의존적으로 바꾸어야 한다. 현재 file path문제로 직접 고쳐주어야 하는 상황이고, ant 로 배포시 해당 file의 쓰기 읽기 권한 문제로 문제가 발생한다. --["neocoin"]
          * WAR 알아보기. ProjectPrometheus 배포가 편하도록.
          * '''The Goal''' View Book 시 DB에 들어가지 않음.
         === Thread ===
         우리는 여기에서 frequent release(give workable system to the customer every week)가 얼마나 중요한가 새삼 확인할 수 있다. --JuNe
  • PyServlet . . . . 5 matches
         Jython 을 이용한 Servlet 코드 작성하기.
          <servlet-class>org.python.util.PyServlet</servlet-class>
          servlet-class="org.python.util.PyServlet"/>
         resin/lib 디렉토리에 jython.jar 화일을 복사해준다.
         [Jython]
  • R'sSource . . . . 5 matches
         #!/usr/local/bin/python
         urldump = commands.getoutput('lynx -width=132 -nolist -dump http://board5.dcinside.com/zb40/zboard.php?id=dc_sell | grep 995')
          print 'going to that page...'
          #목록뒤지기(with 선수이름)
          if os.path.exists(defaultDir + saveDirName)==0:
  • Ruby/2011년스터디/서지혜 . . . . 5 matches
          HANDLE hProcessSnap = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
          // Process32First :: get the first process snapshot
          _tprintf(_T("\t[Process name]\t[PID]\t[ThreadID]\t[PPID]\n"));
          pe32.szExeFile, pe32.th32ProcessID, pe32.cntThreads, pe32.th32ParentProcessID);
          HANDLE hProcessSnap = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
          // get the process handle
          hProcess = OpenProcess(PROCESS_ALL_ACCESS, FALSE, pe32.th32ProcessID);
  • Spring/탐험스터디/2011 . . . . 5 matches
          1.2 http의 4가지 method : POST, GET, PUT, DELETE
          리소스 함수의 4가지 method : CRUD(Create, Read, Update, Delete)
          DB의 4가지 method : Insert, Select, Update, Delete
         Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
          at java.security.AccessController.doPrivileged(Native Method)
  • StandardWidgetToolkit . . . . 5 matches
         The most succinct description of the Standard Widget Toolkit component is this:
          The SWT component is designed to provide efficient, portable access to the user-interface facilities of the operating systems on which it is implemented.
          * swt.jar 를 classpath 에 잡고 다음 소스를 컴파일 한다.
  • TheOthers . . . . 5 matches
          PL 마지막 팀 프로젝트 "The Others"팀의 프로젝트 페이지
          * 이선호 - Python
          * Python으로 DB와 GUI 코딩하기
         -- TheOthers
          |__ Python
         == Thread ==
  • TkinterProgramming . . . . 5 matches
         파이선의 GUI 툴킷에는 PyGTK, wxPython, Jython QtPython 이 있다.
         = thread =
         [TkProgramming], [wxPython], [PyGTK], [PyQt]
  • ViImproved/설명서 . . . . 5 matches
         ▶Vi 저자 vi와 ex는 The University of California, Berkeley California computer Science Division, Department of Electrical Engineering and Computer Science에서 개발
         >> 오른쪽으로 shiftwith만큼 paragraph 이동 ^r refresh(명령어 모드) !} 현재 문단을 지정된 unix 프로그램으로 연결하여 수행 후 결과를 현재 문단과 교체
         << 왼쪽으로 shiftwith만큼 paragraph 이동 s 교체
         A 현재줄의 끝에 삽입 ^t 다음 shiftwith로 이동
         shiftwith=(sw=) 지정된 줄을 오른쪽 혹은 왼쪽으로 전체를 옮기는 명령설정
         taglength(tl=) tab 화일의 내용중에 의미있는 문자수를 결정
  • WeightsAndMeasures/황재선 . . . . 5 matches
          def inputEachData(self, weight, strength):
          self.dataList.append([weight, strength, strength-weight])
          weight, strength = map(int, data.split())
          wam.inputEachData(weight, strength)
  • 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.
  • ZeroPageServer/old . . . . 5 matches
          * 서버에서 한글 입력이 안됩니다. 위키를 통한 입력은 되지만, 직접 ssh로 로긴 해서 vim을 통한 한글입력은 안되는 군요. 대체 왜그런 걸 까요. -zennith
          * 이유는 2.2의 dospath 모듈 이름이 2.3에서 ntpath 로 완전히 변경되었기 때문이다. 예상치 못한 부분에서 에러가 발생하였는데, 조금더 작은 발걸음이 필요했다.
          * UploadFile 의 webpath가 이상했는데, 해당 스크립트의 구조적 생각의 차이라서 고쳤다.
         === Thread ===
          * 계정에서 [python] [cgi] 를 돌리고 싶은데, [ZeroPageServer/FAQ] 에 나온대로 ~beonit/public_html/cgi-bin/hello.cgi 로 접근해보아도 잘 안되네요. chmod +x hello.cgi 로 권한설정도 했습니다. 어떻게 해야 하죠?? CGI 권한을 따로 받아야 한다는 이야기도 있던데... 흠...-_- - 이승한
  • ZeroPage_200_OK/note . . . . 5 matches
         === HTTP Method ===
          * this
          * func.apply(ec, arguments) 나 func.call(ec, arg1, arg2, ... )으로 func안에서의 실행문맥(this)를 명시적으로 변경할수 있다.
          * 이 응답은 마치 JSON에 함수만 감싼형식이기 떄문에 JSON with Padding, JSONP라 부른다.
          * 답은 Thread
          * fork 대신 Thread를 쓸수도 있고 운영체제별로 다른 방식을 쓸수도 있고 fork를 그대로 쓸수도 있다.
          * thread per request 방식
          * 다만 모듈이 Thread안전해야 한다.
  • [Lovely]boy^_^/ExtremeAlgorithmStudy . . . . 5 matches
          * IntroductionToAlgorithms
          * ["[Lovely]boy^_^/ExtremeAlgorithmStudy/MathematicalFoundations"]
          * ["[Lovely]boy^_^/ExtremeAlgorithmStudy/SortingAndOrderStatistics"]
          * ["HowToStudyDataStructureAndAlgorithms"]
  • [Lovely]boy^_^/USACO/PrimePalinDromes . . . . 5 matches
         #include <cmath>
          if( (str.length() % 2 == 0) && str.length() < 2)
          int n = str.length()/2;
          if( str[i] != str[str.length() - i - 1] )
  • cookieSend.py . . . . 5 matches
         #format python
         def getResponse(host="", port=80, webpage="", method="GET", paramDict=None, cookieDict=None):
          conn.request(method, webpage, params, header)
          httpData['cookie'] = response.getheader('Set-Cookie')
          httpData = getResponse(host="zeropage.org", webpage="/~reset/testing.php", method='GET', paramDict=params, cookieDict=cookie)
  • radiohead4us/PenpalInfo . . . . 5 matches
         Study: Other
         Penpal should be: Either sex but preferably female
         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.
         Study: Other
         Penpal should be: Either sex
         Comments: I'm looking for friends all over the world(^0^)/
  • 노스모크모인모인 . . . . 5 matches
          * ["1thPCinCAUCSE"]
          * ["1thPCinCAUCSE/ProblemA"]
          * ["1thPCinCAUCSE/ProblemB"]
          * ["1thPCinCAUCSE/ProblemC"]
          * python의 코딩상 문제점을 찾는다. 최소한 모든 파일 unix newline 으로 변경
  • 논문번역/2012년스터디/서민관 . . . . 5 matches
         이진화 된 수필 지역의 수평 밀도 히스토그램을 이용하는 Otsu method를 이용하면 이 임계치를 자동으로 구할 수 있다.
         (2) 기준선을 고려했을 때의 극값 분산의 평균값 위치(position of the mean value of the intensity distribution)
         HMMs의 일반적인 구성을 위해 우리는 512개의 Gaussian mixtures with diagonal covariance matrices를 담고 있는 공유 codebook과 반-연속적인 시스템들을 이용하였다.
         우리의 경우에는 absolute discounting 을 이용한 bi-gram언어 모델과 backing-off for smoothing of probability distributions가 적용되었다.
  • 데블스캠프2003/셋째날/여러가지언어들 . . . . 5 matches
         ==== [Python] ====
         [http://165.194.17.15/~mulli2/Program/Python/Python-2.2.2.exe Python 2.2.2]
         [http://165.194.17.15/~mulli2/Program/Python/idlefork-0.8.1.zip idle-folk]
  • 데블스캠프2005/RUR-PLE . . . . 5 matches
          * Python 언어를 사용하여 컴퓨터 프로그래밍 언어를 배울수 있는 환경이다.
          * Python 문법 기반이지만, 몰라도 상관없다. 주어진 함수들을 가지고 해결해 나가기 때문이다. 변수도 안쓴다. -_-
         # introducing vocabulary related to the problem
          plant_carrot() # we had removed the only one
          pick_carrot() # pick them all!
  • 데블스캠프2006/월요일/연습문제/웹서버작성/변형진 . . . . 5 matches
          * GET Method으로 넘어온 Query String를 처리한다.
          * POST Method, COOKIE 등으로 넘어온 데이터까지 처리할 수 있으면 더 좋다.
          $res[] = "Content-Length: ".strlen("파일을 찾을 수 없습니다.");
          $res[] = "Content-Length: ".strlen($buffer);
          $res[] = "Content-Length: ".filesize($file);
  • 데블스캠프2006/월요일/함수/문제풀이/김준석 . . . . 5 matches
         void call_three();
          case 2: call_three(); break;
          call_three();
          call_three();
         void call_three(){
  • 데블스캠프2006/화요일/pointer/문제4/성우용 . . . . 5 matches
          int length = strlen(buf);
          for (i=0;i<length;i++)
          buf_[i] = buf[length-i-1];
          buf_[length] = '\0';
          for (i=0;i<length;i++)
  • 데블스캠프2006/화요일/pointer/문제4/이장길 . . . . 5 matches
          int length = strlen(buf);
          for(i=0; i<length ; i++){
          reverse[(length-1)-i] = buf[i];
          reverse[length] = '\0';
          for(i=0; i<length; i++){
  • 데블스캠프2006/화요일/pointer/문제4/정승희 . . . . 5 matches
          int length=strlen(buf);//길이가 저장됨.
          char*b=new char[length+1];
          for(int i=(length-1);i>=0;i--)
          b[(length-1)-i]=buf[i];
          b[length]='\0';//NULL문자는 문자 집어넣고 바로 다음에 넣는거다.
  • 데블스캠프2010/다섯째날/ObjectCraft/미션2/서민관 . . . . 5 matches
          fightwith(z1, z2);
         void fightwith(zergling* z1, zergling* z2)
         void new_fightwith(zergling* z1, zergling* z2)
         void fightwith(zergling* z1, zergling* z2);
         void new_fightwith(zergling* z1, zergling* z2);
  • 데블스캠프2011/다섯째날/HowToWriteCodeWell/김준석,서영주 . . . . 5 matches
          // TODO Auto-generated method stub
          // TODO Auto-generated method stub
          // TODO Auto-generated method stub
          // TODO Auto-generated method stub
          // TODO Auto-generated method stub
  • 데블스캠프2011/둘째날/Machine-Learning/NaiveBayesClassifier/namsangboy . . . . 5 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"
          prob1 = math.log((classfreqdic["economy"]/totalct)/(classfreqdic["politics"]/totalct))
          totalprob+= math.log((classfreq1/classprob1)/(classfreq2/classprob2))
  • 데블스캠프2011/둘째날/Machine-Learning/NaiveBayesClassifier/송지원 . . . . 5 matches
          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) != ';'){
          this.printDataToFile();
          public int getArticleLength(){ return articles.size(); }
          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) != ';'){
          bayesNumber += Math.log((double)eNum / (double)pNum);
  • 레밍즈프로젝트/박진하 . . . . 5 matches
          // Direct Access to the element data (may return NULL)
          // Potentially growing the array
          // Operations that move elements around
          TYPE* m_pData; // the actual array of data
          ASSERT_VALID(this);
  • 반복문자열/허아영 . . . . 5 matches
          int messagesLength = 5;
          messages(messagesLength);
         void printMessages(const char* message, int messageLength);
         void printMessages(const char* message, int messageLength)
          for(int i = 0; i < messageLength; i++)
  • 빵페이지/도형그리기 . . . . 5 matches
         == Python Vs C/C++ 모두 같은 생각의 소스 ==
          * 같은 생각으로 작성한다면 소스가 어떻게 표현될까 궁금했다. 소스양만 따지면, Python 을 위한 문제인가.
          === Python ===
          cout.width(num+1);
         == zennith ==
  • 이승한/mysql . . . . 5 matches
         $query = "select name, eng, math from score";
          <form name = "write_form" method = "post" action = "./new.html?mode=process">
          수학 : <input type = "text" name = "math" size = "5"><br>
          $query = "insert into score (name, eng, math) values ('$name', '$eng', '$math')";
         = Thread =
  • 이영호/64bit컴퓨터와그에따른공부방향 . . . . 5 matches
          * C++ 혹은 더 나아가 C++ 보다 속도상으로 느린 스크립트 언어를 쓰는 사람은 C++ 개발자들보다 덜 우수할까요? (위의 Assembly > C++ 로 평가한것으로 봐서는, 퍼포먼스와 하드웨어 제어 용이성 관점에서 Assembly 를 평가한 것 같습니다만) C++ 개발자들 혹은 더 나아가서 Java 나 Python 과 같은 개발자들이 Assembly 와 같은 low level 제어성을 포기하는대신 얻어간 것은 어떤 것일까요?
         (우선 제 지문의 맥락을 담은 질문부터. 과연 Java와 Python 개발자들이 Assembly+C개발자와 같이 좋은 효율의 다른언어 컴파일러를 만들 수 있을까요. 현재 함수보다 좋은 함수를 생각해 냈는데 그것을 구현하려면 low level의 지식이 필요한데, 자신은 Java와 Python 들만 알고 Assembly를 모른다면 어떻게 해야할까요?)
         음. 아쉽게도 그런 용도로 Assembly를 평가 한게 아닙니다. 우수하고 못하다의 평가는 여기서도 나오는군요. 한가지만 파면 성공한다와 같은 맥락이랄까요... 저는 미래의 직장보다도 현재의 지식욕을 채우고 싶을 뿐입니다. 누구보다도 이것에 대해 많이 알고 싶고 또한 그렇게 되길 바랄뿐입니다. 과연 Java나 Python등을 공부하다보면 컴퓨터에 대한 가장 기초적인 지식들을 얻기 쉬울까요? 그렇기 때문에 Assembly에 대한 직접적인 접근을 하려고 하는 것입니다. 지식욕이 아니더래도 현직에 계시는 프로그래머분들께 컴퓨터에 대한 기초가 부족하고 프로그램만 짤 줄 아는 신참 직원들은 항상 한계에 다다르면 좌절한다라는 말을 들은적이 있습니다. 한번쯤은 생각해 볼 문제입니다. Assembly > C++을 평가한 것은 이런 맥락입니다. 컴퓨터에 대한 기초가 있느냐 없느냐. Assembly를 만지고 C++을 만진 사람의 경우는 모르겠지만 C++만 만지고 Assembly를 공부하지 않은 사람의 한계는 언젠가는 드러나게 되죠.
         컴퓨터 계의 대부 다익스트라(EdsgerDijkstra)는 이런 말을 했죠. "천문학이 망원경에 대한 학문이 아니듯이, 컴퓨터 과학 역시 컴퓨터에 대한 것이 아니다."(Computer science is no more about computers than astronomy is about telescopes.) 망원경 속을 들여파봐야 거기에서 명왕성이 뭔지 알 수가 없고, 컴퓨터를 속속들이 이해한다고 해서 컴퓨터 과학에 달통할 수는 없다 그런 말이죠.
  • 전문가의명암 . . . . 5 matches
         NoSmok:AlfredNorthWhitehead''''''는 ''Civilization advances by extending the number of important operations which we can perform without thinking of them.''라는 명언을 남겼다.
  • 정규표현식/스터디/반복찾기/예제 . . . . 5 matches
         apm cron.monthly gai.conf initramfs-tools ltrace.conf pcmcia samba update-manager
         at.deny cvs-cron.conf ghostscript iproute2 manpath.config polkit-1 security usb_modeswitch.d
         bluetooth depmod.d groff kernel-img.conf mtab purple skel xdg
         bogofilter.cf dhcp group kerneloops.conf mtab.fuselock python snmp xml
         bonobo-activation dhcp3 group- ld.so.cache mtools.conf python2.6 sound xul-ext
  • 정모/2011.4.4/CodeRace/강소현 . . . . 5 matches
          this.name = name;
          this.position = position;
          this.townName = townName;
          this.townName = townName;
          p.setPosition(this);
  • 졸업논문 . . . . 5 matches
         http://aesl.hanyang.ac.kr/class/thesis/thesis_method.pdf
          * http://lambda-the-ultimate.org/node/794
         http://dblab.cse.cau.ac.kr/thesis/
  • 지도분류 . . . . 5 matches
         ||["Python"]|| 객체지향 스크립트 언어 ||
         ||["Jython"]|| ["Java"] 플렛폼에서 구현된 ["Python"] 언어 ||
         ||["ExtremeProgramming"]|| Agile Methodology 인 ExtremeProgramming 에 대한 전반적 설명||
         ["zennith/MemoryHierarchy"]
  • 코드레이스/2007/RUR_PLE . . . . 5 matches
          * Python 언어를 사용하여 컴퓨터 프로그래밍 언어를 배울수 있는 환경이다.
          * Python 문법 기반이지만, 몰라도 상관없다. 주어진 함수들을 가지고 해결해 나가기 때문이다. 변수도 안쓴다. -_-
         # introducing vocabulary related to the problem
          plant_carrot() # we had removed the only one
          pick_carrot() # pick them all!
  • 프로그래밍언어와학습 . . . . 5 matches
         DeleteMe) 제목짓는 센스가 없는 관계로;; 원글의 뜻에 맞게 제목을 고쳐주시기를; Rename & Refactor This Page; --석천
         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.
         --G. K. Chesterton (1874-1936), British author. Fancies Versus Fads, "The Romance of Rhyme" (1923).
  • 하노이탑/윤성복 . . . . 5 matches
         int hanoi(int disk,int start, int other, int finish){
          hanoi(disk-1,start,finish,other); // 큰원반을 뺀 위에 것들을 other 기둥으로 옮기는 재귀함수 호출
          hanoi(disk-1,other,start,finish); // other 기둥에 있는 것을 finish 기둥으로 옮기는 재귀함수 호출
  • 1thPCinCAUCSE/ProblemA/Solution . . . . 4 matches
         ["1thPCinCAUCSE/ProblemA"] 의 해.
         || ["1thPCinCAUCSE/ProblemA/Solution/zennith"] || ["zennith"] || C || 1 + a ||
  • 1thPCinCAUCSE/null전략 . . . . 4 matches
         ["1thPCinCAUCSE/ProblemB"]
         ["1thPCinCAUCSE/ProblemA"]
         지난번 IPSC 경험때는 맨땅에 해딩하는 느낌이였는데, 이번에는 비록 입상하지 못했지만, 각각의 과정들이 의식적으로 일어난 점에 대해서 개인적으로는 즐거웠고 명쾌했습니다. 급조되어 2주만에 만난 Pair 치고 손발이 잘 맞았습니다. (이건 방학 두달동안 ["ProjectPrometheus"] 때 하도 서로 싸워대어서. -_-;)
         ["1thPCinCAUCSE"]
  • Ajax/GoogleWebToolkit . . . . 4 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.
         = thread =
  • Algorithm/DynamicProgramming . . . . 4 matches
         Introduction To Algorithm 에도 이에 대한 설명이 있습니다.
         == Dijkstra's Shortest Path Algorithm ==
         [http://linneus20.ethz.ch:8080/binary.html]
  • AnEasyProblem/강소현 . . . . 4 matches
          while(num<bin.length-1){
          for(int k=0; k<bin.length;k++){
          result += bin[k]*Math.pow(2,k);
          * printJ 함수 내에서 while(num<bin.length-1)문의 1을 빼주지 않아 bin[num+1]가 index bound of exception이 났었습니다.
  • ApplicationProgrammingInterface . . . . 4 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 . . . . 4 matches
         실습 : 팀 프로젝트로 othello Game AI 작성.
          * [http://www.aistudy.co.kr/ AIStudy], [http://www.aistudy.co.kr/heuristic/breadth-first_search.htm breadthFirstSearch]
         요새 궁리하는건, othello team 들끼리 OpenSpaceTechnology 로 토론을 하는 시간을 가지는 건 어떨까 하는 생각을 해본다. 다양한 주제들이 나올 수 있을것 같은데.. 작게는 책에서의 knowledge representation 부분을 어떻게 실제 코드로 구현할 것인가부터 시작해서, minimax 나 alpha-beta Cutoff 의 실제 구현 모습, 알고리즘을 좀 더 빠르고 쉬우면서 정확하게 구현하는 방법 (나라면 당연히 스크립트 언어로 먼저 Prototyping 해보기) 등. 이에 대해서 교수님까지 참여하셔서 실제 우리가 당면한 컨텍스트에서부터 시작해서 끌어올려주시면 어떨까 하는 상상을 해보곤 한다.
  • BarMacro . . . . 4 matches
         The statement:
         will output a simple progress bar like this:
         We use it in conjunction with the [DueDate Macro] like this:
  • BirthdayCake . . . . 4 matches
         === BirthdayCake ===
         || 하기웅 || C++ || 1시간 30분 || [BirthdatCake/하기웅] ||
         || 허준수 || C++ || ? || [BirthdayCake/허준수] ||
         || 김상섭 || C++ || ㅡㅜ || [BirthdatCake/김상섭] ||
  • BusSimulation/상협 . . . . 4 matches
          int m_totalSectionLength; //버스가 운행되는 총 구간 km
          m_totalSectionLength = 52; //버스가 운행되는 총 구간의 거리 52km
          if(m_currentDistance>=m_totalSectionLength*1000) //시간이 증가하는 상황중에서 버스 노선의 총 거리 이상을
          m_currentDistance= m_currentDistance%(m_totalSectionLength*1000);
  • Button/상욱 . . . . 4 matches
          button1.addActionListener(this);
          button2.addActionListener(this);
          JOptionPane.showMessageDialog(this, "Dialog 1", "1",
          JOptionPane.showMessageDialog(this, "Dialog 2", "2",
  • C++3DGame . . . . 4 matches
          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/길동씨의CVS사용기ForLocal . . . . 4 matches
         SET PATH=%PATH%;"C:Program FilesGNUWinCvs 1.3"
         No conflicts created by this import
         cvs add: use 'cvs commit' to add this file permanently
         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;
         === Thread ===
  • Class로 계산기 짜기 . . . . 4 matches
          void setFirstNumber(int firstNumber){ this->firstNumber = firstNumber;}
          void setSecondNumber(int secondNumber){ this->secondNumber = secondNumber;}
          void setResultNumber(int resultNumber){ this->resultNumber = resultNumber;}
          void setSign(char sign){ this->sign = sign;}
  • CodeRace/20060105/민경선호재선 . . . . 4 matches
          for(int j = 0; j < temp.length(); ++j) {
          protected void finalize() throws Throwable {
          this.name = name;
          this.count = count;
  • ComposedMethod . . . . 4 matches
         === Composed Method ===
         당신이 가장 중요하게 Composed Method를 쓸때는, 당신이 뭔가를 구현하고 있을때 새로운 책임을 발견했을때이다. 당신이 둘 이상의 메세지를 다른 객체로 보낼때, 수신 객체에서는 그 메세지들을 합치는 Composed Method를 만들 수 있다. 이러한 Method들은 당신의 시스템의 다른 부분에서도 유용하게 쓰일 것이다.
  • ConstructorParameterMethod . . . . 4 matches
         === Constructor Parameter Method ===
         Constructor Method로 인스턴스를 만들때, 그리로 넘겨준 파라메터들을 새롭게 만들어진 인스턴스로 어떻게 갖고 오는가? 가장 유연한 방법은 각각의 변수에 대해 setter들을 만들어 주는 것이다. 즉,
          this->x = x;
          this->y = y;
  • CryptKicker2/문보창 . . . . 4 matches
         "the quick brown fox jumps over the lazy dog"
          char strOrin[] = "the quick brown fox jumps over the lazy dog";
  • CubicSpline/1002/CubicSpline.py . . . . 4 matches
         #format python
         from wxPython.wx import *
          theApp = App(0)
          theApp.MainLoop()
  • CubicSpline/1002/NaCurves.py . . . . 4 matches
         #format python
         from wxPython.wx import *
         import math
          return int(math.ceil( (self.getCountControlPoints()+1) / (self.pieceSize-1) ))
  • DebuggingSeminar_2005 . . . . 4 matches
          || [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 ||
  • DoubleDispatch . . . . 4 matches
          return aNumber.addInteger(this);
          return aNumber.addFloat(this);
          return Integer(this + anInteger);
          return Float(this + aFloat);
  • Doublet . . . . 4 matches
         "이상한 나라의 앨리스(Alice in the Wonderland)"를 쓴 루이스 캐롤(Lewis Carroll)은 끝말잇기를 비롯하여, 영어 단어를 이용한 퍼즐들을 많이 만들었습니다.
         출처: http://puzzle.jmath.net/math/essay/kiss.html
         재미있는 내용들이 많습니다. 그 곳에 가면 어떤 할아버지(?)가 눈을 치켜뜨고 쳐다보시는데, "너 왜 지금 공부 안하고 있는거지" 하고 호통치시는것 같아 뜨끔하더군요. 그분이 그동안 말로만 들었던 누쓰(Knuth) 이네요. --이선우
  • EffectiveSTL . . . . 4 matches
          === 5. Algorithms ===
          === 7. Programming with the STL. ===
          ["EffectiveSTL/ProgrammingWithSTL"]
         = Thread =
  • EightQueenProblem2 . . . . 4 matches
         ||강석천|| 2m || 131 lines (+ 82 line for testcode. total 213 lines) || python ||
         ||이강성|| 15m || 43 lines ["EightQueenProblem2/이강성"] || python ||
         ||강인수|| || 67 lines/28 lines ["EightQueenProblem/강인수"] || C++/python ||
         ||안정원|| 1m || 6 lines ["EightQueenProblem/안정원"] || Python ||
  • ExtremeProgramming . . . . 4 matches
          * ThePlanningGame: 개발자는 UserStory들에 대해서 구현, 예측, 지시들에 대해 토론한다.
          * TestDrivenDevelopment : Programming By Intention. 프로그래머의 의도를 표현하는 테스트코드를 먼저 작성한다. 그렇게 함으로서 단순한 디자인이 유도되어진다. (with ["Refactoring"])
          * http://www.martinfowler.com/articles/newMethodology.html#N1BE - 또다른 '방법론' 이라 불리는 것들. 주로 agile 관련 이야기들.
          * http://www.freemethod.org:8080/bbs/BBSView?boardrowid=3220 - 4가지 가치 (Communication, Simplicity, Feedback, Courage)
          * http://www.freemethod.org:8080/bbs/BBSView?boardrowid=3111 - 4가지 변수 (Resource, Quality, Time, Scope)
  • Favorite . . . . 4 matches
         간단한 규칙 - Daily <= n개, Weekly <= 7*n, Monthly <= 30*n개를 유지한다. 그러면 하루에 3*n 군데만 돌아보면 된다. 끝없는 웹서핑을 막아보자!
         == Monthly ==
         [http://docs.python.org/lib/lib.html]
         [http://www.tgedu.net/student/cho_math/ 초등학교 수학]
  • FromDuskTillDawn/조현태 . . . . 4 matches
          STown* thisStation = SuchOrAddTown(startStationName);
          thisStation->nextTown.push_back(SuchOrAddTown(endStationName));
          thisStation->startTime.push_back(startTime % 24);
          thisStation->timeDelay.push_back(delayTime);
          cout << "There is no route Vladimir can take." << endl;
  • HelpOnRules . . . . 4 matches
         -------------------------------------------- (not thicker than 10)
         -------------------------------------------- (not thicker than 10)
  • HelpOnTables . . . . 4 matches
         이것을 기본으로 하여서 좀 더 장황한 설정은 HTML 속성을 넣는 전통적인 방식과 비슷한 문법을 지원합니다. (HTML에서 지원하던 모든 테이블 속성이 지원되지는 않습니다.). 이 방식을 이용하면 테이블 색상이나 줄의 속성을 지정하 수 있습니다. 특별히 테이블의 너비를 지정하려면 {{{||<tablewidth="100%">...||}}} 를 테이블 시작을 알리는 맨 처음 `||` 다음에 써넣으면 되며, 줄의 배경색은 {{{||<rowbgcolor="#FFFFE0">...||}}} 와 같이 지정합니다. 여기서 볼 수 있듯이, 테이블에 대한 속성인지, 줄에대한 속성인지를 알리기 위해 {{{table}}} 혹은 {{{row}}}와 같은 접두어가 붙었습니다.
         ||||||<tablewidth="50%" align="center">'''제목'''||
         ||||||<tablewidth="50%" align="center">'''제목'''||
         ||<tablealign="right"><width="100px" bgcolor="#cc0000">cell 1||cell2||cell 3||
  • IndexingScheme . . . . 4 matches
         MoinMoin supports these IndexingScheme''''''s:
          * Like''''''Pages (at the bottom of each page)
         Additionally, there are the
  • IntentionRevealingMessage . . . . 4 matches
          return Number(1/this.num);
          bool operator==(const Object& other)
          return this == *other;
  • Java Script/2011년스터디/박정근 . . . . 4 matches
          document.write("arr[" + i + "] = " + arr[i] + " <br> length : " + arr[i].length,"<br>");
          throw person.ID.length;
  • JavaScript/2011년스터디/박정근 . . . . 4 matches
          document.write("arr[" + i + "] = " + arr[i] + " <br> length : " + arr[i].length,"<br>");
          throw person.ID.length;
  • Knapsack . . . . 4 matches
          1. weighted, 0-1 knapsack problem -> find the exact match
          1. weighted, unbounded knapsack problem -> find the exact match
          1. weighted/valued, unbounded knapsack problem -> maximize the value not exceeding the weight limit
  • LinuxProgramming/SignalHandling . . . . 4 matches
          SIGFPE - floating point exception -- "erroneous arithmetic operation"(SUS)
          SIGPIPE - write to pipe with no one reading
         desc: timer program that use SIGALRM signal.
          puts("this is time for you to reserve");
  • Microsoft . . . . 4 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.|}}
  • ObjectWorld . . . . 4 matches
          * http://www.freemethod.org:8080/bbs/UML1-SAintro.ppt
          * http://www.freemethod.org:8080/bbs/UML1-JavaArchitectureChanges.ppt
         ''Haven't read it. If I gave advice and I were to advise /you/, I'd advise more testing and programming, not more theory. Still, smoke 'em if ya got 'am.
         [From a [http://groups.yahoo.com/group/extremeprogramming/message/52458 thread] in XP mailing list]
  • Ones/1002 . . . . 4 matches
          theOnes = "1"
          onesValue = int(theOnes)
          return len(theOnes)
          theOnes += "1"
  • Ones/송지원 . . . . 4 matches
          || Run ID || User || Problem || Result || Memory || Time || Language || Code Length ||
          int length;
          pns->length = len;
          int i = ARRBOUND - (pns->length + 3) / 4;
  • OperatingSystemClass/Exam2002_1 . . . . 4 matches
          * This implements a blocking send
          // wait until there is room
          Thread.sleep(500);
          * This implements a blocking receive
          // wait until something is there
          Thread.sleep(500);
         9. 동적으로 우선순위가 변화되는 preemptive priorty-scheduling algorithm 을 생각해 보자. 큰 값을 가진 우선순위 번호가 더 높은 우선순위를 가진다고 가정하자. 만약 프로세스가 초기값으로 우선순위값 0를 갖고, CPU를 기다릴 때(ready 상태)에는 우선순위 값 a를 갖고, running 상태에는 우선순위값 b 를 갖는다면,[[BR]]
  • OptimizeCompile . . . . 4 matches
          '''Strength reduction'''
         컴퓨터가 할 수 있는 연산 들은 각각 그 연산이 수행되는데 걸리는 시간의 차이가 있다. 연산에 복잡도에 의해서 이루어지는 현상인데, 극단적인 예를 들자면, shift 연산은 보통 2 클럭에 처리되는 반면에, 나누기 연산의 경우 80-90 클럭을 소모하게 된다.(i8088자료) 이런 연산에 대한 computation time 의 차이를 줄이는 최적화 방법을 strength reduction 이라고 한다.
         === More advanced mothodology of compiler optimization ===
         see also ["zennith/MemoryHierarchy"]
  • PNGFileFormat/ImageData . . . . 4 matches
         현재는 compression method 0만 있음. zlib의 inflate, deflate와 같다. 최대 윈도우 사이즈는 32768바이트
          * Compression method/flags code : 1 byte
          * 압축풀린 데이터는 각 스캔라인별로 다른 필터로 되어있다. 즉 한 스캔라인은 픽셀width바이트 +1byte 이며 이 1 바이트는 각 스캔라인의 앞부분에 온다.
          * 자세한 내용은 [PNGFileFotmat/FilterAlgorithms] 참조.
  • PairProgramming토론 . . . . 4 matches
         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이 약간의 도움이 되기는 할 것 같습니다. 그러나 우리가 현재 하는 방식에 비해서 얼마나 효율이 있을까는 제고해봐야 할 것 같습니다. - 김수영
         제가 여러번 강조했다시피 넓게 보는 안목이 필요합니다. 제가 쓴 http://c2.com/cgi/wiki?RecordYourCommunicationInTheCode 나 http://c2.com/cgi/wiki?DialogueWhilePairProgramming 를 읽어보세요. 그리고 사실 정말 왕초보는 어떤 방법론, 어떤 프로젝트에도 팀에게 이득이 되지 않습니다. 하지만 이 왕초보를 쓰지 않으면 프로젝트가 망하는 (아주 희귀하고 괴로운) 상황에서 XP가 가장 효율적이 될 수 있다고 봅니다.
         pair-anaysis와 pair-design의 중요성을 문서에서는 ''"Unanimously, pair-programmers agree that pair-analysis and pair-design is '''critical''' for their pair success."'' 이와 같이 말하고 있습니다. 또 다시 보시면 아시겠지만.. 제가 쓴 문장은 "물론 pair-implementation도 중요하다고는 말하고 있으나 앞서 언급한 두가지에 비하면 택도 없지요."입니다. 택도 없다는 표현은 당연히 제 생각이라는 것이 나타나 있다고 생각되는데....
  • PatternCatalog . . . . 4 matches
          * ["FactoryMethodPattern"]
          * ["Gof/FactoryMethod"]
          * ["TemplateMethodPattern"]
          * ["Gof/TemplateMethod"]
  • PokerHands/문보창 . . . . 4 matches
         enum {HighCard, OnePair, TwoPairs, ThreeCard, Straight, Flush, FullHouse, FourCard, StraightFlush};
         bool threeCard(Poker & po);
          interpret(threeCard(b), threeCard(w), result);
         bool threeCard(Poker & po)
          po.rank[0] = ThreeCard;
  • PragmaticVersionControlWithCVS/UsingModules . . . . 4 matches
         || [PragmaticVersionControlWithCVS/CreatingAProject] || [PragmaticVersionControlWithCVS/ThirdPartyCode] ||
         = Subprojects the Easy Way =
         [PragmaticVersionControlWithCVS]
  • PragmaticVersionControlWithCVS/UsingTagsAndBranches . . . . 4 matches
         || [PragmaticVersionControlWithCVS/CommonCVSCommands] || [PragmaticVersionControlWithCVS/CreatingAProject] ||
         == Working With Experimental Code ==
         == Merging The Experimental Branch ==
         [PragmaticVersionControlWithCVS]
  • PragmaticVersionControlWithCVS/WhatIsVersionControl . . . . 4 matches
         || [PragmaticVersionControlWithCVS] || [PragmaticVersionControlWithCVS/Getting Started] ||
         == the Repository ==
         [PragmaticVersionControlWithCVS]
  • PrimaryArithmetic/황재선 . . . . 4 matches
         == PrimaryArithmetic ==
         class PrimaryArithmetic:
          pa = PrimaryArithmetic()
         PrimaryArithmetic
  • ProgrammingLanguageClass/Report2002_1 . . . . 4 matches
         <factor> → <left_parenthesis> <expression> <right_parenthesis>
         <left_parenthesis> → (
         <right_parenthesis> → )
  • ProjectPrometheus/AcceptanceTestServer . . . . 4 matches
         Acceptance Test 환경 만들기 - Python 으로 작성. 165.194.17.55 에서 AcceptanceTest 웹서버 돌리기.
          Python CGI 로 작성된 Acceptance Test 용 서버 -> Acceptance Test 에 대해서 출력 양식. AcceptanceTest 스펙을 구체적으로 명시해둘것.
         Test Prometheus Server :
         ["ProjectPrometheus"]
  • ProjectPrometheus/Tips . . . . 4 matches
         ProjectPrometheus 중 나눌만한 Tip 들.
         === Python 에서의 한글 사용 ===
         Python 에서는 urllib 와 httplib 를 이용한다. Python document 의 httplib - examples 를 참조하면 된다.
  • PyIde/FeatureList . . . . 4 matches
          * Ctag 기능. stack 으로 navigating 중인 method 들 기억.
          * extract method
          * method call hierarchy
          * jython support
  • ReverseAndAdd/신재동 . . . . 4 matches
         >>> int(str(n)[::-1]) #python 2.3이상
         >>> int(''.join(reversed(str(d)))) #python 2.4이상
         ''all tests data will be computable with less than 1000 iterations (additions)''를 고려한다면 명시적인 회수 체크는 없어도 될 듯.
  • RunTimeTypeInformation . . . . 4 matches
         int my_comparison_method_for_generic_sort(base &ref1, base &ref2)
          // rtti enables the process to throw a bad_cast exception
          // if the cast is not successful
  • STLErrorDecryptor . . . . 4 matches
         Upload:WorkingMethod.gif
         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>]'(으)로 변환할 수 없습니다.; 소스 형식을 가져올 수 있는 생성자가 없거나 생성자 오버로드 확인이 모호합니다.
  • Slurpys . . . . 4 matches
          || 황재선 || Python || 1시간 46분 || [Slurpys/황재선] ||
          || 신재동 || Python || 52분 || [Slurpys/신재동] ||
          || JuNe || Python || 1시간 || Seminar:Slurpys/JuNe ||
          || 박응용 || Python || 2시간 || [Slurpys/박응용] ||
  • SmithNumbers/남상협 . . . . 4 matches
         = SmithNumbers/남상협 =
         int smithNumber = 0;
          smithNumber = i;
          cout<<smithNumber<<"\n";
  • Star/조현태 . . . . 4 matches
         #include <algorithm>
         void Swap(SavePoint& one, SavePoint& another)
          one = another;
          another = temp;
  • TAOCP . . . . 4 matches
          * Title : TheArtOfComputerProgramming
          * Author : Donald E. Knuth
          * TheArtOfComputerProgramming(TAOCP) vol1. FundamentalAlgorithms을 읽는다.
         [TAOCP/NotesOnTheExercises]
         [http://www-cs-faculty.stanford.edu/~knuth/taocp.html TAOCP홈페이지]
         == Thread ==
  • TeachYourselfProgrammingInTenYears . . . . 4 matches
         프로그램을 쓰는 것.학습하는 최고의 방법은,실천에 의한 학습이다.보다 기술적으로 표현한다면, 「특정 영역에 있어 개인이 최대한의 퍼포먼스를 발휘하는 것은, 장기에 걸치는 경험이 있으면 자동적으로 실현된다고 하는 것이 아니고, 매우 경험을 쌓은 사람이어도, 향상하자고 하는 진지한 노력이 있기 때문에, 퍼포먼스는 늘어날 수 있다」(p. 366) 것이며, 「가장 효과적인 학습에 필요한 것은, 그 특정의 개인에게 있어 적당히 어렵고, 유익한 피드백이 있어, 게다가 반복하거나 잘못을 정정하거나 할 기회가 있는, 명확한 작업이다」(p. 20-21)의다(역주3).Cambridge University Press 로부터 나와 있는 J. Lave 의「Cognition in Practice: Mind, Mathematics, and Culture in Everyday Life」(역주4)라고 하는 책은, 이 관점에 대한 흥미로운 참고 문헌이다.
         만약 그러한 있고 것이라면, 4년간 대학에서(혹은 대학원에 가, 더욱) 배우는 것.그러면 성적 증명서를 필요로 하는 일자리에 접근하고, 그 분야에 도착해보다 깊은 이해를 얻게 된다.하지만, 학교를 즐길 수 없다고 한다면, (열의가 있으면) 일을 하는 과정에서 같은 체험을 얻을 수 있다.어느 경우이든, 책에 의한 학습만으로는 충분하지 않다.「컴퓨터·사이언스의 교육으로 누군가를 프로의 프로그래머로 하려고 하는 것은, 브러쉬나 그림도구에 대해 배우게 해 프로의 화가로 하는 것 같은 정도 어렵다」라고 The New Hacker's Dictionary(역주5) 의 저자인 Eric Raymond 는 말한다.내가 지금까지 고용한 중에서 최고의 프로그래머의 한 명(역주6)은, 고등학교까지 밖에 나오지 않았다.그렇지만, 그는 많은훌륭한소프트웨어를 만들어, 지금은 자신의뉴스·그룹까지 가지고 있어, 스톡옵션 덕분에, 틀림없이 내가 일생 걸려 벌 수 있는 것보다 좀 더 부자다.
         Lave, Jean, Cognition in Practice: Mind, Mathematics, and Culture in Everyday Life, Cambridge University Press, 1988.
          * 역주 5 - ASCII BOOKS 로부터 「학카즈 대사전」(후쿠사키 타카히로역)로서 국역이 나와 있다.덧붙여 본문에 인용되고 있는 ESR 의 문장이 어느 문장으로부터의 인용인가는 몰랐다.본문에서는 ESR 는 The New Hacker's Dictionary 의 저자로서 이름을 들 수 있지만, 현재의 Jargon File 에는 해당 문장은 없었다.
          * 역주 7 - MythicalManMonth 의 NoSilverBullet.
  • Temp/Commander . . . . 4 matches
         #format python
         def defaultHandler(cmds):
          def __init__(self,handler=defaultHandler):
          print 'put a coin or a paper into the slot'
          print 'push a button on the front panel'
          print 'include "file"\nExecutes the contents of a file'
  • The Tower of Hanoi . . . . 4 matches
         ==== Recurrent Problems - The Tower of Hanoi ====
         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/지뢰찾기 . . . . 4 matches
          cp.add(top, BorderLayout.NORTH);
          r = Math.abs(rand.nextInt()) % row;
          c = Math.abs(rand.nextInt()) % col;
          setHorizontalAlignment(JLabel.CENTER);
          this.x = x;
          this.y = y;
          class Timer extends Thread {
  • ThePriestMathematician . . . . 4 matches
         === About [ThePriestMathematician] ===
          || 김상섭 || C++ || . || [ThePriestMathematician/김상섭] ||
          || 문보창 || C++ || 1차(실패), 2차(5시간) || [ThePriestMathematician/문보창] ||
          || 하기웅 || C++ || 2시간 30분 || [ThePriestMathematician/하기웅] ||
  • Trac . . . . 4 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.
         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.
         http://trac.edgewall.org/wiki/TracModPython - Trac을 Apache+mod_Python과 함께 돌리기
  • TugOfWar . . . . 4 matches
         || [상협] || Python || 3시간 || [TugOfWar/남상협] ||
         || 신재동 || Python || 14분 || [TugOfWar/신재동] ||
         || [강희경] || Python || 2일 || [TugOfWar/강희경] ||
         || JuNe || Python || 1시간 || Seminar:TugOfWar/JuNe ||
  • UglyNumbers/남훈 . . . . 4 matches
          three = exponent(num, 3)
          if num == (2 ** two) * (3 ** three) * (5 ** five):
         print "The " + `goal` + "(st/nd/th) ugly number is " + `ugly2(goal)`
         print "The " + `goal` + "(st/nd/th) ugly number is " + `ugly3(goal)`
  • UseSTL . . . . 4 matches
          * Text Book : Generic Programming and the STL , STL Tutorial and Reference Guide Second edition
          * [[HTML(<strike> 4장 Differ from other lib 1 </strike>)]]
          * [[HTML(<strike> 5장 Algorithm 1~34 </strike>)]]
         == Thread ==
          * 나도 위와 같은 표현이 있는 책을 읽어봤는데.. 허거.. 너무 어려웠어.. Effective STL이라는 책이었는데.. 좀 쉬운 과정 없을까.. 휴 Generic Programming and the STL 찾아봐야쥐.. ㅡ.ㅡ--["경태"]
  • UserStoriesApplied . . . . 4 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.
  • WikiSandPage . . . . 4 matches
         <form method="post" action="http://wiki.zeropage.org/wiki.php/WikiSandPage">
          <input type="hidden" size="15" maxlength="20" name="password" value="">
          <input type="hidden" size="15" maxlength="20" name="passwordagain" value="">
         http://pragprog.com/katadata/K4Weather.txt
         [임인택/ThisIsATestPage]
  • WikiWikiWebFaq . . . . 4 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.
  • ZP&COW세미나 . . . . 4 matches
          * Python: http://165.194.17.15/pub/language/python/Python-2.3.exe
         === Python Unit Test 예제 ===
         === Thread ===
  • ZPBoard/PHPStudy/MySQL . . . . 4 matches
         <tr align=center> <td> 이름 </td> <td width=120> 전화번호 </td> </tr>
         <FORM method="POST" action="save.php" >
         이름 <INPUT type="text" name="name" value="" size=10 maxlength=10>
         전화번호 <INPUT type="text" name="phone" value="" size=15 maxlength=15>
  • ZPBoardHistory . . . . 4 matches
          *[http://zeropage.org/jsp/board/thin/?table=seminar]
          *[http://zeropage.org/jsp/board/thin/?table=T999844101271]
          *[http://zeropage.org/jsp/board/thin/?table=T999617115441]
          *[http://zeropage.org/jsp/board/thin/?table=T996891244793]
  • ZeroPageServer/Mirroring . . . . 4 matches
          path = 미러링될 데이터의 경로
          ③ path : 미러링 서비스 될 데이터의 경로를 지정한다. 예) /data/linux90
          ⑤ use chroot : path로 지정된 경로를 root 상위 디렉토리로 사용한다. 사용자가 다른 상위
          path = /data/ftp/pub/redhat9
  • ZeroWiki/제안 . . . . 4 matches
          * 이 제안은 ThreadMode와 DocumentMode에 관한 논의를 포함하고 있습니다. 이 페이지는 애초에 ThreadMode를 목적으로 작성됐고 그렇게 의견이 쌓여왔습니다. 2번 선택지는 ThreadMode의 유지를, 3번 선택지는 ThreadMode를 DocumentMode로 전환하여 정리하는 것을 의미하는 것 같습니다. 1번 선택지는 DocumentMode에 더 적합한 방식이고, 4번 선택지는 경험의 전달이라는 위키의 목적에 따라 고려 대상에 올리기도 어려울 것 같아 제외합니다. 사실 이런 제안과 논의가 나열되는 페이지에서는 결론을 정리하는 것보다는 그 결론을 도출하기 까지의 과정이 중요하다고 생각합니다. 따라서 DocumentMode로의 요약보다는 ThreadMode를 유지하는게 좀더 낫다고 생각하며, 다만 필요하다면 오래된 내용을 하위 페이지로 분류하는 것도 좋다고 생각합니다. - [변형진]
         제로위키의 정체성에 대해 생각해 봤으면 좋겠습니다. 제로위키가 ZeroWikian 의 위키 인지, 아니면 ZeroWikian 의 프로젝트와 스터디를 위한 위키인지. --["zennith"]
          ZeroWiki 에 보면 ''ZeroWiki는 ZeroWikian, ZeroPagers들의 프로젝트 & 스터디 공간으로 쓰이며, 공개적으로 운영되고 있다.'' 라고 되어있습니다. ZeroWiki가 ZeroWikian 의 범용 위키인지, 아니면 특화된 목적의 위키인지, 확실히 했으면 좋겠습니다. --["zennith"]
          전 살아가는 것 자체가 크게 보자면 배우고, 발전(어떤 의미에서든)해가는 것이라고 생각합니다. 그런 의미에서 제 마음대로 위키를 사용하고 있었는데, 아무래도 하나의 사회에는 규약이란건 없더라도 지향하는 바는 있을거란 생각이 들어서 제안을 남겨 봤습니다. 전, ZeroWiki 가 nosmok 처럼 general purpose 해졌으면 합니다. --["zennith"]
          그냥, 위키는 공동의 재산이잖아요. 제 재산에 저를 투영하고 싶은데, 아무래도 저 자신은, 지식 만으로는 표현 할 수 없어서요. --["zennith"]
  • [Lovely]boy^_^/Diary/7/15_21 . . . . 4 matches
         === Health ===
         === Algorithm ===
         === Health ===
         === Health ===
  • [Lovely]boy^_^/EnglishGrammer/QuestionsAndAuxiliaryVerbs . . . . 4 matches
          A. In Questions, we usually put the first auxiliary verb(AV) before the subject(S)
          But do not use do/does/did if who/what/which is the subject of the sentence.
  • [Lovely]boy^_^/ExtremeAlgorithmStudy/MathematicalFoundations . . . . 4 matches
         = Mathematical Foundations =
          * 수열(Series), 급수(Summation), 수학적 귀납법(Mathematical induction), ... 이건 좀 생소해 보이는데.. 무슨 수렴성 판정하는거 같다.(Bounding the terms), 적분
         ["[Lovely]boy^_^/ExtremeAlgorithmStudy"]
  • html5/canvas . . . . 4 matches
          1. beginPath()로 그리기 시작.
          * beginPath()를 호출하여 클리핑 영역을 해제할 수 있다.
          * lineWidth
          * width
  • html5/richtext-edit . . . . 4 matches
          width = "300" height = "200"
          onload="this.contentDocument.designMode='on'">
          width="300" height="200"
          onload="this.contentDocument.designMode = 'on'>
  • i++VS++i . . . . 4 matches
          *this += 1;
          return *this;
          const MyInteger oldValue = *this;
          ++(*this);
  • neocoin/Log . . . . 4 matches
          * ["ProjectPrometheus"] Release 1
          * OP - 소코반 게임 작성 with MFC 10월 8일(화) 수업시간 까지
          * ["ProjectPrometheus"] 개발 진행중
          * 프로그래밍 언어론 4th 한서 ( Concepts of Programming Language ) : PL 수업
  • pragma . . . . 4 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.
  • wiz네처음화면 . . . . 4 matches
         = Who manages this site? =
          * Computer Science & Engineering, Chung-ang Univ, entrance in 2001. 11th member in Zeropage Academy.
          * http://www.joinc.co.kr/modules/moniwiki/wiki.php/article/STL_algorithm#AEN54 STL algorithm
  • 고슴도치의 사진 마을처음화면 . . . . 4 matches
         [http://hedgehog.byus.net/with.jpg]
         ▷Mother's Digital Camera
         || [http://165.194.17.5/wiki/index.php?url=zeropage&no=3818&title=알고리즘&login=processing&id=celfin&redirect=yes algorithms] ||
         || [http://165.194.17.5/wiki/index.php?url=zeropage&no=3817&title=경시대회준비반&login=processing&id=celfin&redirect=yes preparing the ACM] ||
  • 고한종 . . . . 4 matches
         >Python, Java 개발 가능합니다.
         ||{{{github}}} ||https://github.com/rino0601 ||
         - [고한종/업적/Math-Explorer] (...)
  • 권영기 . . . . 4 matches
          * [algorithmStudy/2013]
          * [algorithmStudy/2014]
          * [정모/2014.1.13] - OMS : Robot Path Planning
          * [AlgorithmStudy/2015]
  • 달리기/강소현 . . . . 4 matches
          int [] path = new int[T];
          path[i] = F*2;
          path[i] = U+D;
          run += path[i];
  • 데블스캠프/2013 . . . . 4 matches
          || 1 |||| [Opening] |||| [새내기의,새내기에의한,새내기를위한C언어] |||| [http://zeropage.org/seminar/91465#0, GUI 다뤄보기] |||| |||| [Clean Code with Pair Programming] |||| OOP || 8 ||
          || 2 |||| [http://zeropage.org/seminar/91479#0 페이스북 게임 기획] |||| [새내기의,새내기에의한,새내기를위한C언어] |||| [http://zeropage.org/seminar/91465#0, GUI 다뤄보기] |||| |||| [Clean Code with Pair Programming] |||| OOP || 9 ||
          || 3 |||| [http://intra.zeropage.org:4000/DevilsCamp Git] |||| [새내기의,새내기에의한,새내기를위한C언어] |||| [http://zeropage.org/devils/91470#0, HTTP 프로토콜, C언어를 이용한 웹 서버 만들기] |||| |||| [Clean Code with Pair Programming] |||| [:WebKitGTK WebKitGTK+] || 10 ||
         || 송지원(16기) || [Clean Code with Pair Programming] ||
          * '''후기 쓸 때 반드시 참고하세요 : [ThreeFs]'''
  • 데블스캠프2002 . . . . 4 matches
          1. ["Factorial"] - 재귀호출 을 알려주마. --zennith
          1. ["Factorial2"] - 기본자료형의 한계를 벗어나보자. --zennith
          1. ["FindShortestPath"] - 옛날 해커스 랩에서 나왔던 문제.. 프로그램 실력보다는 알고리즘적인것이 중요할듯.. --광민
          1. ["GoodNumber"] - 소수나 완전수는 너무 일반적이어서, 그나마 새로운 good number. --zennith
  • 데블스캠프2005/VPython . . . . 4 matches
         http://vpython.org/download/VPython-Win-Py2.4-3.2.2.exe 설치
         Upload:20050624_src1.zip 의 압축을 풀고, 해당 화일이 있는 곳에서 python 실행
         Upload:20050624vpython.ppt
  • 데블스캠프2005/월요일/번지점프를했다 . . . . 4 matches
         playground.connectBuilding("north", bobst)
         bobst.connectBuilding("south", playground)
         bok.move("north", 2)
         === Code (with dynamic typing, w/o string parsing ) ===
  • 데블스캠프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.
         Some other functions.
  • 데블스캠프2006/화요일/pointer/문제4/이송희 . . . . 4 matches
          int length = strlen(buf);
          for(i=length-1; i>=length/2; i--)
          if(buf[i]!=buf[length-1-i])
  • 데블스캠프2010 . . . . 4 matches
          || 8 || 조현태 || Python || ??? ||
          || 6시 ~ 8시 || [김준석] || [RUR-PLE] || [남상혁] || [게임 프로그래밍] || [조현태] || [wiki:PythonLanguage Python] || [김홍기] || [PHP-방명록만들기] || [이덕준] || [스터디그룹패턴언어] ||
          * '''후기 쓸 때 반드시 참고하세요 : [ThreeFs]'''
         == thread ==
  • 데블스캠프2010/일반리스트 . . . . 4 matches
          while ( (i<first.length()) && (i<second.length()) )
          if (first.length()<second.length()) return true;
          mylist.push_back ("Three");
  • 데블스캠프2011/네째날/이승한 . . . . 4 matches
          * setup git and github - http://help.github.com/win-set-up-git/
          * github repository address - https://github.com/beonit/devils2011GitSeminar
  • 데블스캠프2011/넷째날/Git . . . . 4 matches
          * setup git and github - http://help.github.com/win-set-up-git/
          * github repository address - https://github.com/beonit/devils2011GitSeminar
  • 데블스캠프2011/첫째날/후기 . . . . 4 matches
         = 송지원/Play With Java =
          * Play with Java에서는 1학년 때 승한이형이 여러 사람들이 함께 프로젝트를 진행할 때 누군가 어느 부분을 수정했는지 알 수 있게 해 주는 부분이 있다고 하셨었는데, 그걸 전역하고 나서야 다뤄보네요 -ㅅ-;; 쩝... 아무튼 간단한 프로그램을 만드는 것이라 재미있게 사용법도 익히고 좋았습니다. 자주 써 먹어야겠네요. ㅋ~
          * java를 이번학기에 수강을 하였기 때문에 어느정도 자신이 있었습니다만, 지원누나의 설명을 들으면서 역시 알아야 할것은 많구나 라는 생각이 들었습니다. 특히 SVN을 사용한 커밋과 JUnit은 팀플할때에도 많은 도움이 될 것 같아 좀더 공부해 보고 싶어졌습니다. 저번 java팀플때는 Github을 사용했었는데 SVN과 무슨 차이점이 있는지도 궁금해 졌구요. JUnit Test는 제가 실제로 프로그래밍 하면서 사용하였던 원시적인 test와 많은 차이가 있어서 이해하기 힘들었지만 이 또한 더 사용하기 좋은 기능인것 같아 점 더 공부해 봐야겠습니다.
          * Playing with Java시간에는 지금까지 한번도 써보지 못했던 이클립스를 써봤는데 아직은 문법을 잘 몰라서 약간 생소했지만 좋은 경험이었다고 생각합니다. 또 처음으로 여러 팀에서 각자 담당한 프로그램들을 짜서 그 다음에 붙여보는 활동을 했는데 재미있고 새로운 시간이었습니다.
  • 레밍즈프로젝트/프로토타입/마스크이미지 . . . . 4 matches
          BitMapDC.CreateCompatibleDC(this->getMemDC());
          m_pMemDC->BitBlt(x, y, bitmapInfo.bmWidth, bitmapInfo.bmHeight, &BitMapDC, 0, 0, rop);
          this->DrawBitMap(MASKITEM, x, y, SRCAND);
          this->DrawBitMap(IMGITEM, x, y, SRCPAINT);
  • 몸짱프로젝트 . . . . 4 matches
         SeeAlso [HowToStudyDataStructureAndAlgorithms] [DataStructure] [http://internet512.chonbuk.ac.kr/datastructure/data/ds1.htm 자료구조 정리]
          SeeAlso IntroductionToAlgorithms
         || FindShortestPath || [몸짱프로젝트/ShortestPaths] ||
  • 문자열검색 . . . . 4 matches
          x는 x[40] = "His teaching method is very good.";
         자료 -> His teaching method is very good.
         찾을 문자열 -> method (입력된 문자열)
         자료 -> His teaching method is very good.
  • 방울뱀스터디/만두4개 . . . . 4 matches
         MAX_WIDTH, MAX_HEIGHT = 314, 314
          if dir == 'Right'and'Space' and x <= MAX_WIDTH-GAP-10 :
          #canvas.create_rectangle(GAP, GAP, MAX_WIDTH - GAP, MAX_HEIGHT - GAP)
          #if dir == 'Right' and x < MAX_WIDTH - GAP - 10:
          root.title('Python Ground Eat')
          canvas = Canvas(root, width = MAX_WIDTH, height = MAX_HEIGHT, bg='white')
          canvas.create_rectangle(GAP, GAP, MAX_WIDTH - GAP, MAX_HEIGHT - GAP)
          canvas.pack(expand=YES, fill=BOTH)
          img = canvas.create_oval(x,y,x+10,y+10,width = 0, fill="red", tags="oval")
         canvas = Tkinter.Canvas(root, width = 400, height = 300)
         (WIDTH, HEIGHT) = backImg.size
         imgList = [[None for i in range(WIDTH / CELL)] for j in range(HEIGHT / CELL)]
          while(col != WIDTH / CELL):
          while(col != WIDTH / CELL):
  • 사람들이모임에나오지않는다 . . . . 4 matches
         "Reform the environment, stop trying to reform the people. They will reform themselves if the environment is right." --NoSmok:BuckminsterFuller
  • 사랑방 . . . . 4 matches
         사랑방이 그런 뜻이었군요. 전 사랑방이라길래, 愛방 인줄 알았죠. --["zennith"]
         purely functional language - Haskell 로 구현한 quick sort algorithm..
         음.. 편한건지 사기인건지 잘 구분이 안간다 -_- --["zennith"]
          감사합니다.. zero-width positive lookahead assertion이 있었네요. (컴파일러시간에 배웠던거 다 잊어버렸어요 T_T).
  • 새싹교실/2012/AClass/1회차 . . . . 4 matches
          printf(“relationships they satisfy: ”);
          printf(“%d is less than %d\n”, num1, num2);
          printf(“%d is greater than %d\n”, num1, num2);
          printf(“Enter the grades.\n”);
  • 새싹배움터05 . . . . 4 matches
          C, 발표잘하는법, PPT제작 기법, [Python], [PHP], [ExtremeProgramming], ToyProblems, Linux, Internetworking(TCP/IP), Ghost(demonstration), OS(abstraction), OS+Windows, Embedded System, 다양한 언어들(Scheme, Haskell, Ruby, ...), 보안(본안의 기본과 기초, 인터넷 뱅킹의 인증서에 대해..), C언어 포인터 특강(?), 정보검색(검색 엔진의 원리와 구현), 컴퓨터 구조(컴퓨터는 도대체 어떻게 일을 하는가), 자바 가상머신 소스 분석
          [PythonLanguage], [PHP] (WebProgramming), [ExtremeProgramming] (XP를 적용시켜 코드가 아닌 다른 무언가를 만들어 보자 -_-a ), Ghost 사용법, 발표잘하는법, PPT제작비법, OS개발
         XP를 할 때 몇명의 Python 하는 사람이 있으면 좋겠습니다. PairProgramming을 위해서요. --재동
          음 어떤게 좋을까요?? 많아 보였는데 실제로 하려고 생각하면 몇가지 없기도 하네요. 가능한 주제를 먼저 골라보면... [Python], [ExtremeProgramming] 이 대표적인데... - [톱아보다]
  • 서지혜 . . . . 4 matches
         Someday you'll say something that you'll wish could take back - drama, House
          * [algorithmStudy/2013]
          1. [https://github.com/Rabierre/my-calculator my calculator]
  • 성당과시장 . . . . 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/ 해커들의 반란] 순으로 씌였다.
  • 알고리즘5주숙제/하기웅 . . . . 4 matches
         #include <cmath>
          double x, y, length;
          length = sqrt(x*x+y*y);
          if(length<=1)
  • 오페라의유령 . . . . 4 matches
         소설이 먼저였지만, 개인적으로 Webber 와 Sarah 의 노래를 엄청나게 좋아하는 관계로. 소설을 읽는 내내 머릿속에서 Think of Me, The Music of Night, Wishing you were somehow here again 가 배경음악으로 깔리었다.
         웨버아저씨에게 상상력을 선사해준 소설이란? 원작에 상관없이 자신스타일로 작품을 만들어내는 웨버아저씨여서 (그래봤자 본건 하나뿐이지만; 한편은 대본읽음). 개인적인 결론은 해당 소설로부터 자신의 주제의식을 뽑아낸 웨버아저씨 멋져요 이긴 하지만, 이 소설이 태어나지 않았더라면 Phantom of the opera 가 나타나지 않았을 것이란 생각이 들기에. (소설의 구성 등을 떠나서, Phantom 이라는 캐릭터를 볼때)
         뮤지컬의 이미지때문인지 (한번도 안본 뮤지컬에 대해 이미지를 떠올리는것도 우스운 일이다. OST와 Sarah 의 뮤직비디오는 많이 보긴 했지만) 크리스틴을 볼때마다 사라아주머니의 젊었을때의 사진을 떠올렸고, Phantom 이 등장할때엔 그 Main Theme (Phantom 의 그 멋진 웃음소리와도 같게 들리는...) 를 떠올렸다.
          * EBS 에선가 Joseph and the Amazing Technicolor Dreamcoat를 방영해줬던 기억이 난다. 성경에서의 요셉이야기를 이렇게 표현할 수 있을까; 형 왈 '아마 성경을 이렇게 가르친다면 교회에서 조는 사람들 없을꺼야;' 어떻게 보면 '아아 꿈많고 성공한 사람. 우리도 요셉처럼 성공하려면 꿈을 가져야해;' 이런식이였지만, 아주 신선했던 기억이 난다.
          * 암튼 Phantom of the opera 에서 가장 멋진 목소리는 Phantom 이라 생각. 그리고 당근 Sarah 아주머니; Phantom 이라는 캐릭터 이미지가 맘에 들어서. 그리고 노래도.
          * 소설에서의 Angle of the music 은 Phantom 을 이야기하는것 같은데, 왜 Webber 의 노래에선 크리스틴을 지칭할까.
  • 유용한팁들 . . . . 4 matches
         == ssh login without password ==
         Enter file in which to save the key (/home/a/.ssh/id_rsa):
         The key fingerprint is:
         a@A:~> cat .ssh/id_rsa.pub | ssh b@B 'cat >> .ssh/authorized_keys'
         ssh b@B chmod 600 .ssh/authorized_keys
  • 이승한/PHP . . . . 4 matches
         $query = "select name, eng, math from score";//쿼리문을 스트링을 저장한다.
          $math = mysql_result($result, $i, 2);
          echo("<td>$math</td></tr>");
          <form method="post" action="process.php">
  • 이영호/문자열검색 . . . . 4 matches
          char x[40] = "His teaching method is very good.";
         자료 -> His teaching method is very good.
         찾을 문자열 -> method
         자료 -> His teaching method is very good.
  • 임인택/내손을거친책들 . . . . 4 matches
          * The Haskell School of Expression
          * An introduction to functional programming through lambda calculus
          * Jython
          * ReadingWithoutNonsense
          * Firefox and thunderbird garage
          * IPv6, The New Internet Protocol
          * TheElementsOfStyle + TheElementsOfProgrammingStyle
  • 정모/2011.3.7 . . . . 4 matches
          * 사람이 적어 예전에 실패한 SpringSecurity를 이용하여 동네API와 OAuth 연동하는 실습을 함.
          * '''후기 작성 요령''' : 후기는 F4(ThreeFs + Future Action Plan)에 맞게 작성해주세요.
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
          * 학생회 회의 떄문에 늦어서 루비 세미나 뒷부분부터 참석한 관계로 많은 프로그램을 놓쳐버렸습니다 OTL 아쉽더군요... 우선 새싹의 경우는 나름 담당자 인데 정모에 참여를 못해서 아쉽습니다. 그리고 성현이형의 영화 해석을 보면서 깨달은건데 그렇게 영화가 해석되는지 몰랐습니다. 그리고 JavaScript 스터디에 야매로 참가하면서... 알게된 내용이지만 인터프리터 언어에도 객체지향 언어가 존재하고 종류가 꽤 많다는게 신기하네요. 제가 어디서 주워 듣기로는 Python도 OOP가 가능하다고 하던데;; 아무튼 늦게 들어간게 죄입니다 ㅠ -[윤종하]
          * 루비에 대해 알게 되었습니다. 매우 흥미로웠지만, 별로 실용적으로 쓸 일은 없을 것이라는 생각이 들었습니다. 좋아하던 영화들을 다른 관점에서 보고 나니 "아 그럴 수도 있군! 이거 재미있는데?"라는 생각이 들었습니다. 갑자기 새싹스터디 커리큘럼 작성에 부하가 걸리기 시작했습니다. 새로운 thread를 열어서 job을 분담하지 않는다면 timeout이 날 것 같아 걱정 중입니다. 다음 페차쿠차로 Objective-C에 대해 발표 해보아야겠습니다. - [황현]
          * Redmine이 Ruby로 만들어져있다는건 첨 들었네요. 오오 새로운 지식~ 그런데 'Ruby 曰: "GUI 대세 나임 ㅋ"' 라고 쓰신 이유가 궁금해서 찾아보니 이런 동영상이 있네요. [http://www.youtube.com/watch?v=PoZ9bPQ13Dk Ruby GUI programming with Shoes]. 코드 보니까 직관적이고 좋네요 ㅋㅋㅋㅋ - [박성현]
  • 지금그때2006/선전문 . . . . 4 matches
         <a href="http://165.194.17.5/~leonardong/register.php?id=nowthen2006"> 신청하러가기 click </a>
         <a href="http://165.194.17.5/~leonardong/register.php?id=nowthen2006"> 신청하러가기 </a>
         <a href="http://165.194.17.5/~leonardong/register.php?id=nowthen2006"> 신청하러가기 (클릭)</a>
         <a href="http://165.194.17.5/~leonardong/register.php?id=nowthen2006"> 신청하러가기 (클릭)</a>
  • 캠이랑놀자 . . . . 4 matches
         || 8 || 05.12.28 || [캠이랑놀자/051228] || 배열로서 표현되는 이미지, 데이터 조작으로서 행해지는 이미지 프로세싱, PythonLanguage & PIL & GrayScale Image 에 대한 필터 실습 || (v) ||
          * C++ & Python - 현재 라이브러리들 관계상 C++ 로 구현된 것들이 많은 관계로. 중간에 [1002] 가 Python Wrapper Class 만들기를 시도할 것이긴 함.~ Python 의 경우 이미지 처리에 대해서 prototyping 을 위해 중간에 이용할 예정.
  • 토이/메일주소셀렉터/김정현 . . . . 4 matches
          if(args.length==0)
          if(splitedStrings.length == 2 && splitedStrings[1].equals("txt")) {
          this.deleteList= deleteList;
          this.shouldInsertSpace= shouldInsertSpace;
  • 파스칼삼각형 . . . . 4 matches
         || [김수경] || 15min || 29 || Python || [:파스칼삼각형/김수경#s-3 파스칼삼각형/김수경2] ||
         || [윤종하] || C++: 3 min / Python: 15min || C++: 32 / Python: 19 || C++, Python || [파스칼삼각형/윤종하] ||
  • 파스칼삼각형/김수경 . . . . 4 matches
         == Python ==
          print "E = " , element , " : Please input an Integer greater than 0"
          print "Element must less than line"
          print "N = " , n , " : Please input an Integer greater than 0"
  • 포항공대전산대학원ReadigList . . . . 4 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.
         “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.
         “Operating System Concepts: 6th Edition”, Silberschatz, Galvin, and Gagne John Wiley & Sons, 2004.
         “Types and Programming Languages”, Benjamin C. Pierce, The MIT Press.
         “Concepts of Programming Languages” (6th edition), Robert W. Sebesta, Addison Wesley.
  • 프로그래밍잔치 . . . . 4 matches
         || 00 || 정직(["fnwinter"]) , 영현(["erunc0"]), ["zennith"] , 광식(["woodpage"]) , , ,||
         == Thread ==
          * 빨리 자봉단 받읍시다!! -["zennith"]
          * 상민형께는 이미 말씀 드렸지만.. 아무튼, 28일에 치루는 면허 시험 결과에 따라 정해질 것 같습니다. 합격하면 3일 다 참가 할 것 같고요.. 도움은 안되겠지만 흐흐.. -["zennith"]
          * 떨어졌음. 혹시 늦게 참가하는 것도 가능한가요? 그럼, 5시쯤 참가 하겠습니다. -["zennith"]
  • 함수포인터 . . . . 4 matches
         [http://www.codeproject.com/atl/atl_underthehood_.asp 2. 함수포인터]
         [http://www.codeproject.com/atl/atl_underthehood_.asp 3. thunk]
         == thread ==
  • 황재선 . . . . 4 matches
         JTable에서 Column width 변경하려면 아래와 같이~ :)
         jtable.getColumnModel().getColumn(index).setPreferredWidth(size);
         http://www.ictp.trieste.it/~manuals/programming/Java/tutorial/uiswing/components/table.html#width
         jtable.getPreferredScrollableViewportSize().setSize(width, height);
  • 06 SVN . . . . 3 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.
  • 2006김창준선배창의세미나 . . . . 3 matches
         = Play With Many Boxes =
          * 보통 창의적인것을 하려고 할때 Out of the one box 식으로 하려는 경향이 있는데 그게 아니라 여러 box 를 가지고 노는 과정에서 창의력을 올려 보자.
          * Genetic Algorithms 적인 방법 - 여러가지 창의적인 생각들을 하면서 그중에서 우수한 종자들끼리 서로 교배(합성)을 시켜셔 게속 우수한 창의적인 생각들을 만들어 나간다.
  • 2010php/방명록만들기 . . . . 3 matches
         <form method='post' action='process.php'>
         이름  <input type='text' name='input_name' maxlength='10' size='10'>    
         비밀번호  <input type="password" name='input_pw'size='4' maxlength='4'>
  • 2dInDirect3d/Chapter1 . . . . 3 matches
          == Purpose of the IDirect3D8 Object ==
          Width : 가로폭
          === Getting the Current Display Mode ===
  • 2학기파이선스터디/ 튜플, 사전 . . . . 3 matches
         >>> dic['python'] = 'Any of various nonvenomous snakes of the family Pythonidae, ...'
  • 3DGraphicsFoundationSummary . . . . 3 matches
          * 평행투영 (Parallel projection, orthogonal projection) : 물체의 모든 점을 화면상에 투영. 깊이감...은 별루다.
         Define the LoadBMPfile(char *filename) function
         Example of using the texturemapping
         = Thread =
  • 5인용C++스터디/멀티쓰레드 . . . . 3 matches
         === 스레드 동기화 (Thread Synchronization) (2) ===
         [http://iruril.cafe24.com/iruril/study/thread/thread%20syn.html]
         [http://165.194.17.15/pub/upload/thread.zip]
  • ACM_ICPC . . . . 3 matches
          * [http://icpckorea.org/2019/regional/scoreboard/ 2019년 스탠딩] - TheOathOfThePeachGarden Rank 81(CAU - Rank 52, including Abroad team)
         || 프림 Algorithm || . || dijkstra || . ||
          * team 'TheOathOfThePeachGarden' 본선 81위(학교 순위 52위) : [한재현], [김영기], [오준석]
  • ACM_ICPC/PrepareAsiaRegionalContest . . . . 3 matches
          * [AlgorithmStudy/2015 | ACM_ICPC/2015년스터디]
          bool equals(const Coin & coin){ return this->face == coin.face; }
          void set(const char face ){ this->face = face; }
  • AcceleratedC++ . . . . 3 matches
          || ["AcceleratedC++/Chapter1"] || Working with strings || ||
          || ["AcceleratedC++/Chapter3"] || Working with batches of data || 2주차 ||
          || ["AcceleratedC++/Chapter6"] || Using library algorithms || 3주차 ||
         == Thread ==
  • AcceptanceTest . . . . 3 matches
         ["ProjectPrometheus"] 진행중에 ["1002"] 와 ["상민"]은 AcceptanceTest 를 작성하며 진행하였다. 주로 Python 을 이용하여 간단한 web bot 를 작성, 시스템이 잘 작동하는지에 대해 자동테스트를 구현했다.
         (["ProjectPrometheus/AcceptanceTest"], 소스는 ZeroPageServer 의 CVS 프로젝트들중 AcceptanceTestServer 참조)
  • AncientCipher/강소현 . . . . 3 matches
          for(int i=0; i<c.length; i++){
          for(int i=0; i<cSpread.length; i++)
          for(int i=0; i<cSpread.length;i++)
  • Ant . . . . 3 matches
         게다가, 팀 단위 작업을 한다고 할때, 작업하는 컴퓨터와 [IDE] 들이 각각 다른 경우, IDE 에 따라서 classpath, 배포디렉토리 경로들도 다를 것이다.
          * PATH 환경변수에 Ant 아래에 bin 디렉토리를 추가합니다. 즉 C:\Ant\bin 을 추가합니다.
          set PATH=%PATH%;%ANT_HOME%\bin
          export PATH=${PATH}:${ANT_HOME}/bin
          || basedir || 프로젝트의 base 디렉토리를 말한다. ant 내부에서 사용되는 모든 path 들은 이 디렉토리를 기반으로 한다. || No ||
          * Path-like 구조
         AntHill, CruiseControl 등의 툴과 연동하여 이용하기도 한다. 이 툴들은 해당 ant build 를 스케줄러에 맞춰놓고, 해당 시간이 되면 자동으로 해당 ant build file을 실행해준다. See Also Wiki:AntHill, Wiki:CruiseControl
  • Athena . . . . 3 matches
         || http://zeropage.org/~mulli2/Athena/Logo.bmp ||
          DeleteMe 이름은 좋습니다. 하지만 ["Athena"] 라는 이름의 페이지에는 여신 아테나에 대한 정의와 소개가 들어 있는 것이 올바른 것이겠지요. 그래서 ["ProjectPrometheus"], ["ProjectZephyrus"] 라고 한거랍니다. ;; --["neocoin"]
          * 5.6.2 Thereshold
          * 5.10 Solize using a Threshold
  • BookShelf/Past . . . . 3 matches
          1. 리스크관리(WaltzingWithBear) - 200450407
          1. [BuildingParsersWithJava] - 20050916
          1. [TheElementsOfProgrammingStyle] - 20051018
          1. [TheElementsOfStyle] - 20060304
          1. [IntroductionToTheTheoryOfComputation]
          1. [PracticalPython]
  • BuildingParser . . . . 3 matches
         Building Parsers With Java by Steven John Metsker
         [http://wiki.zeropage.org/pds/20064714242/Addison%20Wesley%20-%20Building%20Parsers%20with%20Java.pdf Building Parsers With Java by Steven John Metsker]
  • BusSimulation/조현태 . . . . 3 matches
          cars[i]->act(buildings[i],this);
          cars[i]->act(buildings[j],this);
          cars[i]->act(0,this);
  • Button/진영 . . . . 3 matches
          yellowButton.addActionListener(this);
          blueButton.addActionListener(this);
          redButton.addActionListener(this);
  • C++Analysis . . . . 3 matches
          * The C++ Programming Language Special Edition
          || 00 || ["zennith"] ||
         == Thread ==
          * 흑~ thread 공부해야 하는데... ㅜ_ㅜ
          * 어떻게 되가고 있는지 궁금합니다. 지금 전 7장까지 공부 했는데.. 내일 쯤이면 9장까지 진행 될 거 같네요. 아.. 정말 게을러서 죄송하고요; 이사태를 어떻게 수습할건지 생각해 봅시다. 혹시, 계속 할 의향이 있다면 9장까지 의 내용을 정리해서 세미나 한번 열 수도 있고요.. -- zennith
  • CPPStudy_2005_1/STL성적처리_1_class . . . . 3 matches
         #include <algorithm>
         #include <algorithm>
         = thread =
  • CVS/길동씨의CVS사용기ForRemote . . . . 3 matches
         SET PATH=%PATH%;"C:\Program Files\GNU\WinCvs 1.3"
         cvs server: use 'cvs commit' to add this file permanently
         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;
         === Thread ===
  • Chapter I - Sample Code . . . . 3 matches
         RenameThisPage : 페이지 이름 수정 필요. 궁리중 --["1002"]
         #define OS_CRITICAL_METHOD
         #if OS_CRITICAL_METHOD == 1 // OS_CRITICAL_METHOD 는 어디선가 이미 정의되어있다. 아마 CPU에 따라 다르게 값이 정해져 있을것이다.
         #if OS_CRITICAL_METHOD == 2
         PC_DispClrScr() // Clear the screen
         PC_DispChar() // Display a single ASCII chracter anywhere on the screen
         PC_DispStr() // Display and ASCII strin anywhere on the screen
  • CodeCoverage . . . . 3 matches
          * PathCoverage - 주어진 코드 부분의 가능한 모든 경로가 실행되고, 테스트 되는가? (Note 루프안에 가지(분기점)를 포함하는 프로그램에 대하여 코드에 대하여 가능한 모든 경로를 세는것은 거의 불가능하다. See Also HaltingProblem[http://www.wikipedia.org/wiki/Halting_Problem 링크] )
         CodeCoverage 는 최종적으로 퍼센트로 표현한다. 가령 ''우리는 67% 코드를 테스트한다.'' 라고 말이다. 이것의 의미는 이용된 CodeCoverage 에 대한 얼마만큼의 의존성을 가지는가이다. 가령 67%의 PathCoverage는 67%의 StatementCoverage 에 비하여 좀더 범위가 넓다.
          * http://www.thecortex.net/ : 홈페이지 하단의 Ant 나 JBoss 같은거 눌러보면 볼만함
  • CollectionParameter . . . . 3 matches
         ComposedMethod의 단점중 하나는, 작은 메소드들 사이의 연관때문이다. 큰 메소드 하나에서 공유되었던 임시 변수들이, 이제는 작은 메소드들 사이에 공유된다. 가장 해결하기 쉬운 방법은 ComposedMethod를 없애고 다시 하나의 큰 메소드에 다 때려넣는 것이지만, 안좋다. 또 다른 해결책으로는 이 작은 메소드들 사이에서 공유되는 임시 변수를 멤버변수에 넣는 것이다. 이것은 객체의 생명기간 동안 유효한게 아니라, 저 메소드들이 실행될때에만 유효하다. 역시 안좋다.
         ComposedMethod를 적용해보자.
  • ComputerGraphicsClass/Exam2004_1 . . . . 3 matches
         Orthogonal Properties 에 대해 쓰시오
         Clipping 알고리즘중 Liang-Barsky 를 설명하시고 Cohen-Sutherland 알고리즘보다 성능이 뛰어난 이유에 대해 쓰시오.
         Projection 에서 View Volume 안에 있는 물체에 대한 View Plane 이, Orthogonal Projection 과 Perspective Projection 에서 결과물에 어떠한 차이를 보이게 하는지 쓰시오.
  • CppStudy_2002_2/STL과제/성적처리 . . . . 3 matches
         #include <algorithm>
          int getnthScore(int n) const
          cout << _StudentList[i]->getnthScore(j) << "\t";
  • DPSCChapter3 . . . . 3 matches
          "Create the top-level part, the car object which starts out having no subcomponents, and add an engine, body, etc."
          "Without Abstract Factory."
  • Data전송 . . . . 3 matches
         // form method="get" or "post" 넣어주면 된다. action="receive.jsp" //
         <form name="sub" method="post" action="receive.jsp">
          for(int i=0; i < hobby.length; i++) {
         == Thread ==
  • DebuggingSeminar_2005/DebugCRT . . . . 3 matches
         //this define must occur before any headers are included.
         // include crtdbg.h after all other headers.
          //turn on the full heap checking
          참조) [http://zeropage.org/wiki/AcceleratedC_2b_2b_2fChapter11#line287 The rule of Three]
  • DermubaTriangle/허준수 . . . . 3 matches
         #include <cmath>
         void findLength()
          findLength();
  • DoubleBuffering . . . . 3 matches
          CClientDC dc(this);
         m_MemDC.BitBlt(x,y,width,height,&m_ShuttleDC,0,0,SRCCOPY);
         == Thread ==
         ["zennith"] : 뜬금없는 소리이고, 고루한 이야기 입니다만, PCI 란 기술이 처음 소개되었을때 꽤 미래지향적인 기술로 각광받았던 것이 PCI bus mastering 이란 기술인데.. 무엇인고 하니, pci 채널로 연결되어있는 기기들끼리 서로의 메모리에 DMA 를 할 수 있었던 것이었죠. 대표적으로 이 기술이 사용된 예(라기보단 제가 알고있는 단 하나의 예)는 TV수신카드에서 사용되는 것이었는데요. TV 어플리케이션에서 TV 가 표시될 부분의 region 을 정해놓으면 TV 수신카드에서 그부분에 해당하는 비디오카드 메모리로 직접 쏴주는.. 그런 기술이었는데.. 더블버퍼링을 보니 갑자기 그 생각이 나는군요. 음.. 요즈음은 다들 agp 를 써서.. 저 pci bus mastering 이란 기술이 아직도 살아남아있는건지.. 잘 모르겠군요.
  • Doublets/황재선 . . . . 3 matches
          * Graph 이용. 시작 단어에서 끝 단어의 path 검색은 dfs로 구현.
          if (word1.length() != word2.length()) {
  • DrPython . . . . 3 matches
         wxPython 을 사용해서 만든 Python IDE.
         [http://drpython.sourceforge.net/ 프로젝트 홈페이지]
  • Dubble_Buffering . . . . 3 matches
          bitmap.CreateCompatibleBitmap(pDC, rect.Width(), rect.Height());
          // to do : add draw code with memDC
          pDC->BitBlt(0, 0, rect.Width(), rect.Height(), &memDC, 0, 0, SRCCOPY);
         == Thread ==
  • Eclipse . . . . 3 matches
          1. Menu -> Window -> Open Perspective -> CVS Repositary (없으면 Other)에서
          * '''Ecilpse가 JRE path문제로 실행이 안되는 경우'''
          혹시 그 큰 규모라는 것이 어느정도 인지 알수 있을까요? 라인을 쉽게 세기 위해서 현 Eclipse를 새로 하나 복사해서 Eclipse용 metric 툴은 http://metrics.sourceforge.net/ 를 설치하시고 metric전용으로 사용하여 쓰면 공정-'Only counts non-blank and non-comment lines inside method bodies'-하게 세어줍니다. (구지 복사하는 이유는 부하를 많이 줍니다.) -- NeoCoin
  • EightQueenProblem/Leonardong . . . . 3 matches
         import math
          math.fabs(aRow - p[0]) == math.fabs(aCol - p[1]):
  • EightQueenProblem/이선우 . . . . 3 matches
          this.sizeOfBoard = sizeOfBoard;
          if( args.length != 1 ) throw new Exception();
  • EightQueenProblem2Discussion . . . . 3 matches
         EightQueenProblem2를 풀면서 혹은 푸는데 실패하면서 얻은 ThreeFs 공유, 토론
         이미 알고리즘 수업 시간을 통해 생각해본 문제이기에 주저없이 백트래킹(BackTracking) 기법을 선택해서 슈도코드를 종이에 작성해보았고 그를 바탕으로 구현에 들어갔습니다.(''그냥 호기심에서 질문 하나. 알고리즘 수업에서 백트래킹을 배웠나요? 최근에는 대부분 AI쪽으로 끄집어 내서 가르치는 것이 추세입니다만... 교재가 무엇이었나요? --김창준 Foundations of Algorithms Using C++ Pseudocode, Second Edition 이었습니다. ISBN:0763706205 --이덕준'') 백트래킹은 BruteForce식 알고리즘으로 확장하기에 용이해서 수정엔 그리 많은 시간이 걸리지 않았습니다. 만일 EightQueenProblem에 대한 사전 지식이 없었다면 두번째 과제에서 무척 당황했을것 같습니다. 이번 기회에 코드의 적응도도 중요함을 새삼 확인했습니다. --이덕준
         저는 일단 10*10배열을 만들었습니다.(경계선 생각하면 귀찮아지므로..) 그다음에 1~8까지 랜덤한 수를 두번 찾아서 보드의 아무 위치에다 Queen상수를 찍어줍니다. 그리고 그 주변의 8방향을 또 다른 상수 Other로 설정해줍니다. 이제 루프 돌면서 겹치지 않게 골라주면서 Queen으로 설정해주다가 8개가 되면 종료하게.. --인수
         어제 서점에서 ''Foundations of Algorithms Using C++ Pseudocode''를 봤습니다. 알고리즘 수업 시간에 백트래킹과 EightQueenProblem 문제를 교재를 통해 공부한 사람에게 이 활동은 소기의 효과가 거의 없겠더군요. 그럴 정도일줄은 정말 몰랐습니다. 대충 "이런 문제가 있다" 정도로만 언급되어 있을 주 알았는데... 어느 교재에도 구체적 "해답"이 나와있지 않을, ICPC(ACM의 세계 대학생 프로그래밍 경진대회) 문제 같은 것으로 할 걸 그랬나 봅니다. --김창준
  • Googling . . . . 3 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.|}}
  • GuiTesting . . . . 3 matches
         See Also wiki:Wiki:GuiTesting, wiki:Wiki:GuiUnitTesting, [http://www.xp123.com/xplor/xp0001/ JavaGuiTesting] , ["GuiTestingWithMfc"], ["GuiTestingWithWxPython"]
  • HanoiTowerTroublesAgain!/황재선 . . . . 3 matches
         import static java.lang.Math.ceil;
         import static java.lang.Math.floor;
         import static java.lang.Math.sqrt;
  • HardcoreCppStudy/두번째숙제 . . . . 3 matches
         === this 포인터 ===
          * this포인터란 무엇이며 사용되는 경우를 찾아보세요.
         ||[HardcoreCppStudy/두번째숙제/This포인터/변준원] ||
         ||[HardcoreCppStudy/두번째숙제/This포인터/장창재] ||
         ||[HardcoreCppStudy/두번째숙제/This포인터/임민수] ||
         ||[HardcoreCppStudy/두번째숙제/This포인터/김아영] ||
          * 각 값을 비교하는 과정에서 this포인터를 사용합니다.
  • HowManyZerosAndDigits/임인택 . . . . 3 matches
          public void testHowManyZeros() {
          for(int i=0; i<number.length(); ++i) {
          for(int i=0; i<arr.length; ++i) {
          public static int readInt() throws Exception {
  • ISBN_Barcode_Image_Recognition . . . . 3 matches
         # Python
         def generate_isbn_check_digit(numbers): # Suppose that 'numbers' is 12-digit numeric string
         = Image Processing (with Google Android) =
         == Threshold ==
         === Global Threshold ===
         === Adaptive Threshold ===
          * 영상 일부에 빛이 비춰지거나, 그림자가 드리울 경우 Global Threshold를 수행하면 기대한 결과를 얻기 힘들다.
  • JMSN . . . . 3 matches
          * http://cvs.linuxkorea.co.kr/cvs/py-msnm - Python 으로 포팅된 msnmlib
         DeleteMe) sourceforge 의 xrath(http://xrath.com/) 라는 분이 한국인이셨군요. -_-; 몰랐는데. 나우누리 자바동에서 활동중이신 황장호라는 분입니다. (오.. 스크린 샷에 구근이형 이름있다;) --석천
  • JTDStudy/첫번째과제/영준 . . . . 3 matches
          num[0] = (int)(Math.random()*10);
          num[1] = (int)(Math.random()*10);
          num[2] = (int)(Math.random()*10);
  • JTDStudy/첫번째과제/원희 . . . . 3 matches
          comNum[0] = (int)(Math.random() * 10 +1);
          comNum[1] = (int)(Math.random() * 10 +1);
          comNum[2] = (int)(Math.random() * 10 +1);
  • JavaStudy2002/입출력관련문제 . . . . 3 matches
          * 여러분이 어려워하시는것 같아, 입력 부분을 만들었습니다. 해당 static method의 기능은 한줄을 읽고, 공백이나, 탭을 기준으로 배열을 반환합니다. 사용 방법은 해당 함수의 main 을 참고하시고, 다른 소스에서 import해서 그냥 사용하세요. --["neocoin"]
          for ( int i=0;i<input.length;i++)System.out.println(input[i]);
          for ( int i=0;i<input.length;i++)System.out.println(input[i]);
  • JavaStudy2003/두번째과제/입출력예제 . . . . 3 matches
          input = inputDialogbox("Enter the first word : ");
          input = inputDialogbox("Enter the second word : ");
          // input from the user parented to parentComponent.
  • JollyJumpers/임인택3 . . . . 3 matches
          case (length(Ori)-1 =:= length(Res) andalso lists:sum(Res) =:= trunc((hd(Res)+lists:last(Res))*length(Res)/2)) of
  • KnightTour/재니 . . . . 3 matches
         = Author's Page =
         // Knight.h: interface for the CKnight class.
         // Knight.cpp: implementation of the CKnight class.
  • LIB_3 . . . . 3 matches
         /* Init The Scheduler List
         /* Create The Task
          // Init The Stack
          // Init the TCB by argument <----- 함수에서 얻은 변수들로... 초기화...ok???
         /* Delete the Task
         /* Find Ready Task & Run the Task
  • LazyInitialization . . . . 3 matches
         LazyInitialization의 하나의 변수당 두개의 메소드로 나눠서 초기화를 한다. 하나는 변수가 LazyInitialization되는 것을 감추어 주는 getter이고, 다른 하나는 변수에다 디폴트값으로 할당을 해줄 DefaultValueMethod이다. 이 방법은 유연성이 증대된다. 당신이 서브클래스를 만든다면, DefaultValueMethod를 오버라이딩함으로써, 기능을 바꿀 수 있다. 전장에서도 언급했듯이 성능도 증대시킬 수 있다.
         변수마다 getter를 만들자. 필요하다면 DefaultValueMethod를 써서 초기화를 하자.
  • Lines In The Plane . . . . 3 matches
         ==== Recurrent Problems - Lines In The Plane ====
         What is the maximum number L<sub>n</sub> of regions defined by lines("unfolding" or "unwinding") in the plane?
         ===== mathematical expression =====
  • LinuxProgramming/QueryDomainname . . . . 3 matches
         request domain name thru ip address from DNS server
          host = gethostbyaddr((char*)&addr.sin_addr, 4, AF_INET);
          error_handling("gethost... error");
  • LionsCommentaryOnUnix . . . . 3 matches
         내 생각엔 유닉스 수업 때 자질구레한 해석서보다 이 책을 갖고 직접 소스 코드를 주물럭거리며 공부하는 것이 훨씬 더 재미있고, 더 많은 공부가 될 듯 싶다. 시그날이 어떻게 처리되는가 궁금한가? 간단하다. Use the source, Luke, along with the Lion's Book.
  • LispLanguage . . . . 3 matches
          * For the beginners:
         [http://www.peter-herth.de/ltk/ The Lisp Toolkit]
          * Common Lisp the Language, 2nd Edition by Guy L. Steele Jr. : 역시 책이라서 체계적으로 잘 나와 있다.
  • MineSweeper . . . . 3 matches
          || [문보창] || C++/Python || 50분/40분 || [MineSweeper/문보창] ||
          || [Leonardong] || [Python] || 3시간 3분 || [MineSweeper/Leonardong] ||
          || 김태훈 [zyint] || python || || [MineSweeper/zyint] ||
  • MoniWikiThemes . . . . 3 matches
         Uploads:theme-blue.tgz 현재 보고계신 테마입니다.
         IE의 경우 display:block 또는 display:table 을 통해 2개 이상의 블록모델 레이어를 중첩시킬 때 width 속성을 각각 주지 않으면 마우스 스크롤이나 리플레시 동작에 컨텐츠가 지워지는 특징(버그?)이 있습니다. width 속성을 주면 괜찮아 지더군요. 최근 저도 CSS만으로 테마를 구현하고 있습니다. --[http://scrapnote.com 고미다]
  • MoreMFC . . . . 3 matches
         Programming with Mfc - Jeff prosise (책 요약 정도 or 책장사.. --;)
         == Programming with MFC ==
          Create (NULL, _T ("The Hello Application"));
          CPaintDC dc (this);
  • NoSmokMoinMoinVsMoinMoin . . . . 3 matches
         기능들에 대해서는 좀 더 알아봐야 할듯. 그리고 또하나 생각할것은, 우리가 자주 이용하는 기능이 좋은 녀석을 골라야 한다는점. 둘 다 Python Source 이므로 여차하면 소스수정도 가능할듯. --석천
         전 노스모크모인 을 찬성합니다 -["zennith"]
         왜 안바꿔요? 중간 고사 끝나고 나서 바뀌나요? -["zennith"]
  • NumericalExpressionOnComputer . . . . 3 matches
         the art of computer programming, vol2 : seminumerical algorithms
         = thread =
  • PairProgramming . . . . 3 matches
          * 해당 시간 내 집중도의 상승, Pair Pressure - 평소 프로그래밍 외의 것(프로그래밍 중 음악듣기, 쓸데없는 웹서핑, 메일 읽기)에 대한 잡음을 없앤다. 작업 자체에만 몰두하게 해준다. ["TestDrivenDevelopment"] 와 상호작용이 빠른 언어(["Python"] 등..)를 이용하면 Feedback 이 빠르므로 집중도가 더 높아진다.
          * 협동 - 이번경우는 비교적 협동이 잘 된 경우라고 생각한다. Python 으로 문제를 풀기 위한 프로그래밍을 하는데는 석천이, Idea 와 중간에 데이터 편집을 하는데에는 정규표현식을 잘 이용하는 상민이가 큰 도움을 주었다. 적절한 때에 적절하게 주도하는 사람이 전환되었던 것으로 기억.
         1002는 VNC와 넷미팅 (그때 넷미팅 화면공유시 XP가 뻗었던 관계로. -_-;) 을 이용, Python을 공유해서 다른 곳에 있는 사람과 SpikeSolution 을 VPP로 시도한 적이 있다. VNC가 화면 refresh가 느리다는 단점 빼고는 별다른 지장이 없었다. 모르는 라이브러리들을 Pair 하는 사람이 다운받아주고, 라이브러리를 설치하고. 모르는 것은 Pair 에게 물어보고, 어떻게 만들까 토론했던 경험이 좋았다.
  • PowerOfCryptography/문보창 . . . . 3 matches
         #include <math.h>
         int find_length(char * p)
          int len = find_length(p);
  • PragmaticVersionControlWithCVS/HowTo . . . . 3 matches
         || [PragmaticVersionControlWithCVS/Getting Started] || [PragmaticVersionControlWithCVS/AccessingTheRepository] ||
         [PragmaticVersionControlWithCVS]
  • ProgrammingPearls . . . . 3 matches
         || ["ProgrammingPearls/Column1"] || Cracking The Oyster ||
         || ["ProgrammingPearls/Column2"] || Aha! Algorithm ||
         || ["ProgrammingPearls/Column7"] || The Back of the Envelope ||
         || ["ProgrammingPearls/Column8"] || Algorithm Design Techniques ||
  • ProgrammingPearls/Column4 . . . . 3 matches
          * Algorithm Design.
         === The shallange of binary search ===
         === Writing the Program ===
         === Understanding the Program ===
         === The Roles of Program Verification ===
  • ProjectGaia/계획설계 . . . . 3 matches
          - - ... - Length - Length - Length - Last_ -
  • ProjectPrometheus/Iteration5 . . . . 3 matches
         || 토|| 8/17 || Python 3차 세미나 ||
         || ["ProjectPrometheus/CollaborativeFiltering"] 설명 작성 || . || . ||
         ["ProjectPrometheus"]
  • ProjectPrometheus/Iteration6 . . . . 3 matches
         ||토 ||8/17 ||Python 3차 세미나 ||
         || ["ProjectPrometheus/CollaborativeFiltering"] 설명 작성 || . || . ||
         ["ProjectPrometheus"]
  • ProjectPrometheus/UserScenario . . . . 3 matches
         http://zeropage.org/pub/ProjectPrometheus/doc_0708/Prometheus_Scenario_0703.GIF
         ["ProjectPrometheus"]/User Scenario
  • ProjectWMB . . . . 3 matches
         = What is this page =
          * This page's object aim to submit project - Web Map Browser - for Samsung Software Membership.
          * Python study
          * Language - Python, Java SE(JDK 1.6)
  • ProjectZephyrus/Server . . . . 3 matches
          .classpath : Eclipse 용 Java의 환경 설정
          java_zp : ZeroPage Server 실행 bash script (zp에서만 돈다. bin이 classpath에 안들어가서 꽁수로 처리,port번호를 변경할수 없다.)
         === Thread ===
          * 컴파일은 주어진 javac_win.bat 로 실행하면 전체가 컴파일이 됨, Javac의 실행 위치가 path에 잡혀 있지 않다면, 절대 경로로 수정 필요 --상민
  • PyOpenGL . . . . 3 matches
         PyKug:PyOpenGL Python OpenGL Binding. Python 으로 [OpenGL] 프로그래밍을 하게끔 도와준다.
         2.3x 버전의 경우는 설치할때 NumericPython 과 numpy 등의 모듈들을 같이 설치해주어야 한다.
  • Python/DataBase . . . . 3 matches
          * [http://sourceforge.net/projects/mysql-python Mysql모듈다운로드]
          * [http://www.python.org/topics/database/modules.html 기타모듈다운로드]
          * [http://www.python.org/peps/pep-0249.html APISpec2.0설명서]
  • PythonComTypes . . . . 3 matches
         다른건 둘째치고, python win32 extension 보다 좋은점 :
         COM 의 typelib 를 지원한다.~ python shell 상에서 연습해보기에 너무나 좋은 라이브러리.~
         [Python]
  • REFACTORING . . . . 3 matches
         특별히 때를 둘 필요는 없다. 틈나는 대로. Don Robert 의 The Rule of Three 원칙을 적용해도 좋을 것 같다.
         Three Strike 법칙은 외우기 쉬워서 처음 Refactoring 을 하는 사람들에겐 적당하다. 하지만, 저 법칙은 주로 중복이 일어날 때의 경우이고, Rename Method/Field/Variable 같은 Refactoring 은 지속적으로 해주는 것이 좋다.
         Refactoring 책을 읽는 사람들을 위해. Preface 의 'Who Should Read This Book?' 을 보면 책을 읽는 방법이 소개 된다.
         === Thread ===
         ["Refactoring"] 에 의외로 중요한 기술로 생각되는건 바로 Extract Method 와 Rename 과 관련된 Refactoring. 가장 간단하여 시시해보일지 모르겠지만, 그로서 얻어지는 효과는 대단하다. 다른 Refactoring 기술들의 경우도 일단 Extract Method 와 Rename 만 잘 지켜지면 그만큼 적용하기 쉬워진다고 생각.
  • RedThon/HelloWorld과제 . . . . 3 matches
          python.py 로 저장해서..실행하는거 알아내는데..별짓을 다해본거 같네요...ㅋ
          대충..결과만 나오면 되니깐.ㅋ windows 창이랑 python shell 이랑 둘이 열심히 번갈아 가면서..
          * PythonForStatement
         [RedThon]
  • RubyLanguage/ExceptionHandling . . . . 3 matches
          * catch throw
          * 예외 발생시 throw를 이용해 예외를 발생시키고 catch에서 심볼을 이용하여 예외를 캐치한다.
          * throw에서 심볼(라벨)을 이용하면 중첩된 코드 구문을 바로 탈출할 수 있다.
  • STL . . . . 3 matches
         C++ 의 [GenericProgramming] 기법인 Template 을 이용, container (["DataStructure"] class. 다른 언어에서의 Collection class 들에 해당) 와 [Algorithm|algorithm] 에 대해 구축해놓은 라이브러리.
         ==== algorithm ====
         === Thread ===
  • ScheduledWalk/석천 . . . . 3 matches
         StructuredProgramming 기법으로 StepwiseRefinement 하였습니다. 문제를 TopDown 스타일로 계속 재정의하여 뼈대를 만든 다음, Depth First (트리에서 깊이 우선) 로 가장 작은 모듈들을 먼저 하나하나 구현해 나갔습니다. 중반부터는 UnitTest 코드를 삽입하기를 시도, 중후반부터는 UnitTest Code를 먼저 만들고 프로그램 코드를 나중에 작성하였습니다.
          2. Depth-Module First. -> 깊이가 가장 깊이에 있는 것들이 쉬운 문제일 것이라 판단, 깊이가 깊은 모듈부터 구현하기로 했습니다. (일장일단인데, 그 대신 잘못 접근하면 Bottom-Up 이 되어버릴 수도 있기 때문에.. 이 경우 해당 함수가 하는 일을 명확하게 해줄 필요가 있다고 생각됩니다. 전체 구조 내에서의 역할을 잊어선 안되겠죠.)
         const int MAX_JOURNEY_LENGTH = 1000;
          char testJourney[MAX_JOURNEY_LENGTH]="";
         const int MAX_JOURNEY_LENGTH = 1000;
          char journey[MAX_JOURNEY_LENGTH];
         다음 모듈 - ScheduledWalk() 관련. Depth First 에 입각하여. 그리고 이쯤에서 TestDrivenDevelopment 를 약간 가미해봅시다.
          char journey[MAX_JOURNEY_LENGTH] = "111122222";
          char journey[MAX_JOURNEY_LENGTH] = "111122222";
          char journey[MAX_JOURNEY_LENGTH] = "111122222";
         const int MAX_JOURNEY_LENGTH = 1000;
          char journey[MAX_JOURNEY_LENGTH];
          char journey[MAX_JOURNEY_LENGTH] = "247";
          char journey[MAX_JOURNEY_LENGTH] = "22222"; // 여정을 '22222' 를 받았다고 가정했습니다.
          char journey[MAX_JOURNEY_LENGTH] = "111122222";
          char journey[MAX_JOURNEY_LENGTH] = "22222";
         const int MAX_JOURNEY_LENGTH = 1000;
          char journey[MAX_JOURNEY_LENGTH];
          char journey[MAX_JOURNEY_LENGTH]="";
          char journey[MAX_JOURNEY_LENGTH] = "22222";
  • ScheduledWalk/임인택 . . . . 3 matches
          goWithScheduledDirection();
          private void goWithScheduledDirection() {
          for(int i=0; i<schedule.length(); ++i) {
  • SimpleDelegation . . . . 3 matches
          Cmd* cmd = new OutFromRoomCmd(this);
          cmd->Execute(this); // delegating object의 참조(this)를 delegate에게 전달
  • SmallTalk/강좌FromHitel/강의3 . . . . 3 matches
         * Where did you hear about this product?
         * Intended use of this product?
         * How many attempts did it take you to download this software?:
  • StaticInitializer . . . . 3 matches
         [Java] 에서 'Class Variable' 또는 'Class Method' 라 불리는, 해당 Class 내에서 공용적으로 쓸 수 있는 변수나 메소드들을 Static Variable 또는 Static Method 라 불린다.
         이를 방지하려면, StaticInitializer 를 일반 Method 로 추출한뒤, 생성자에서 이를 호출한다. (단, 인스턴스를 2개 이상 만드는 클래스인경우 문제가 있겠다.)
  • StringOfCPlusPlus/영동 . . . . 3 matches
          void str_length(); //길이 측정
         void Anystring::str_length()
          string0.str_length();
  • TCP/IP . . . . 3 matches
         == Thread ==
          * http://kldp.org/KoreanDoc/Thread_Programming-KLDP <using thread>
          * Interactive Shell이 지원되는 언어(e.g. Python, Ruby, ...)를 사용하면 TCP/IP의 개념을 아주 빠른 시간 안에 배울 수 있음. (Python은 내부적으로 C 라이브러리를 그대로 사용) 또, 현재 개발된/개발중인 시스템을 테스트 하는 데에도 매우 편리함. 예컨대, 리코에서는 XMLRPC 서버 접속을 파이썬 쉘에서 하고(import xmlrpc 한 다음에...), 거기서 사용자 등록 등의 서비스를 직접 사용하게 한다.
  • TheGrandDinner/조현태 . . . . 3 matches
         == TheGrandDinner/조현태 ==
         #include <algorithm>
         bool DeSort(SNumberAndPosition one, SNumberAndPosition another)
          return one.number > another.number;
         [TheGrandDinner]
  • TheKnightsOfTheRoundTable/김상섭 . . . . 3 matches
         #include <math.h>
          cout << "The radius of the round table is: 0.000" << endl;
          cout << "The radius of the round table is: " << temp << endl;
  • TheKnightsOfTheRoundTable/문보창 . . . . 3 matches
         // 10195 - The Knights of the Round Table
         #include <cmath>
          printf("The radius of the round table is: %.3f\n", r);
         [TheKnightsOfTheRoundTable]
  • TheKnightsOfTheRoundTable/하기웅 . . . . 3 matches
         #include <cmath>
          cout << "The radius of the round table is: 0.000"<<endl;
          cout << "The radius of the round table is: " << 1.0*sqrt(halfSum*(halfSum-a)*(halfSum-b)*(halfSum-c))/halfSum << endl;
  • TheKnightsOfTheRoundTable/허준수 . . . . 3 matches
         #include <cmath>
          cout << "The radius of the round table is: 0.000" <<endl;
          cout << "The radius of the round table is: "
         [TheKnightsOfTheRoundTable]
  • ThePriestMathematician/문보창 . . . . 3 matches
         // 10254 - The Priest Mathematician
         using namespace BigMath;
         [ThePriestMathematician]
  • ToyProblems . . . . 3 matches
         ToyProblems를 풀게 하되 다음 방법을 이용한다. Seminar:TheParadigmsOfProgramming [http://www.jdl.ac.cn/turing/pdf/p455-floyd.pdf (pdf)]을 학습하게 하는 것이다.
          *준비물: 기본적으로 이클립스와 Python 2.3b1( + idlefork), NetMeeting 설치
          * 자신이 원하는 언어 (python recommended)
         석천 - 늦으면 안된다. Python 사용중 아는 것과 쓰는 것의 커다란 차이를 느꼈다. 기존 사고에 갇혀버려 새로운 사고로 전이 못하는 것에서 어려움을 느꼈다.
          * The Art and Craft of Problem Solving
  • UDK/2012년스터디 . . . . 3 matches
          * [http://udn.epicgames.com/Three/UnGlossaryKR.html 용어집] 용어집부터 읽으면 이해가 쉽군여
          * [http://udn.epicgames.com/Three/DevelopmentKitFirstScriptProjectKR.html 언리얼스크립트 시작하기] 읽어봅시다
          * [http://udn.epicgames.com/Three/UnrealScriptReferenceKR.html 언리얼스크립트 레퍼런스] UnrealScript 사용자용
          * [http://udn.epicgames.com/Three/MaterialsCompendiumKR.html 머터리얼 개론] 텍스쳐와 여러 가지 연산 기능을 이용하여 머터리얼 속성을 만듬
         http://udn.epicgameskorea.com/Three/LandscapeCreatingKR.html
          * [http://udn.epicgames.com/Three/MasteringUnrealScriptBaptismByFireKR.html 언리얼 마스터하기: 언리얼스크립트 통과의례]
          * [http://udn.epicgames.com/Three/MasteringUnrealScriptClassesKR.html 언리얼 마스터하기: 언리얼스크립트 클래스]
          * [http://udn.epicgames.com/Three/MasteringUnrealScriptFunctionsKR.html 언리얼 마스터하기: 언리얼스크립트 함수]
          * [http://udn.epicgames.com/Three/MasteringUnrealScriptPreProcessorKR.html 언리얼 마스터하기: 언리얼스크립트 전처리기]
          * [http://udn.epicgames.com/Three/MasteringUnrealScriptStatesKR.html 언리얼 마스터하기: 언리얼스크립트 스테이트]
          * [http://udn.epicgames.com/Three/MasteringUnrealScriptDelegatesKR.html 언리얼 마스터하기: 언리얼스크립트 델리게이트]
          * 참고자료: [http://udn.epicgames.com/Three/UnrealScriptGameFlowKR.html 언리얼스크립트 게임 흐름]
          좀 더 관심있으면 다음 예제도 도움이 될 듯. [http://udn.epicgames.com/Three/DevelopmentKitGemsConcatenateStringsKismetNodeKR.html Concatenate Strings (문자열 연결) 키즈멧 노드 만들기]
          [http://udn.epicgames.com/Three/CollisionTechnicalGuideKR.html 콜리전 테크니컬 가이드]의 내용을 요약.
         // called when actor collided with wall physically.
         // HitWall with pawn
         // NotifyHitWall with falling pawn
  • UglyNumbers/이동현 . . . . 3 matches
          * @author 중앙대 컴퓨터공학과 01 이동현
         import java.math.*;
          System.out.println("The 1500'th ugly number is "+new BigDecimal(((Double)arr.get(0)).doubleValue()));// + " " + arr.size());
  • WERTYU/허아영 . . . . 3 matches
          int length, i, j;
          length = strlen(input);
          for(i = 0; i < length; i++)
  • WeightsAndMeasures . . . . 3 matches
         || 신재동 || Python || 52분 || [WeightsAndMeasures/신재동] ||
         || 황재선 || Python || 2시간+? || [WeightsAndMeasures/황재선] ||
         테스트가 너무 적은 듯. 풀기는 풀었는데 체점하려니 python은 지원하지 않아 확인 못함...=,= 나중에 C++로 변경해서 해봐야겠음. --재동
  • 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.
  • WinSock . . . . 3 matches
         서버의 경우 1 user 1 thread 임.
         DWORD WINAPI Threading (LPVOID args)
          CreateThread (NULL, NULL, Threading, &socketClient, NULL, &dwTemp);
          gethostname(szHostName, sizeof(szHostName));
          HOSTENT FAR* lphostent = ::gethostbyname(szHostName);
  • WorldCupNoise/권순의 . . . . 3 matches
          * 근데 Presentation Error가 나는데 -_-;; Terminate the output for the scenario with a blank line 이 부분을 내가 잘못 이해하고 있어서인거 같기도 하네염 -ㅅ-;; 에잇,, Visual Studio에서 돌리면 돌아는 갑니다. -ㅅ-
  • XMLStudy_2002/Start . . . . 3 matches
          *SVG(Scalable Vector Graphics)포맷과 같은 그래픽 분야 전자상거래의 트랜잭션 처리, MathML과 같은 수학식 표현 등이 사용 예
         form이라는 엘리먼트의 method라는 어트리뷰트 선언으로 어트리뷰트의 값은 항상 "POST"이어야함
         <!ATTLIST form method CDATA #FIXED "POST">
  • Yggdrasil/가속된씨플플/4장 . . . . 3 matches
          * throw로 예외 상황이 발생되었다는 것을 알린다. 예외 클래스엔 여러개가 있으며, 생성자로 문자열을 집어 넣을 수 있고, 이건 일반적으로 출력이 안되지만, what()함수로 확인 가능.
          * width(n) 메소드: 이전의 넓이를 리턴하며, n이 현재보다 클 경우 나머지 칸에 공백을 넣는다. n이 0이면 넓이 리셋.
          * max()라는 함수가 의심스럽다. 분명 msdn에도 algorithm헤더에 있다고 했는데 컴파일하면 자꾸 정의되지 않은 이름이라 에러를 뱉어낸다. 이 함수의 정체는?
  • ZeroPageServer/set2005_88 . . . . 3 matches
          * SSH의 pair key 로그인 환경설정 (~/.ssh/authorized_keys 파일을 통해서 가능함)
          각 사용자의 자신의 public_html 디렉토리를 이용해서 '''jsp, php, perl, python''' 등의 웹 프로그래밍이 가능하다.
          Python 2.3.5 (웹 모듈 연동)
  • ZeroPageServer/계정신청상황 . . . . 3 matches
         || 김남훈 || zennith || 00 || 2000 || z ||zennith 엣 mail.co.kr ||zr ||
         || 최태호 || thchoi || 96 || 1996 || zm ||smasss 엣 hanmail.net || zrmr ||
  • [Lovely]boy^_^/3DLibrary . . . . 3 matches
         #include <cmath>
          return (*this).operator + (-m);
          return (*this).operator + (-v);
  • crossedladder/곽병학 . . . . 3 matches
         #include <algorithm>
         #include <math.h>
         #include <cmath>
  • html5/webSqlDatabase . . . . 3 matches
          alert('Something unexpected happened: ' + e.message );
          // re-render all the data
          for (var i=0; i < rs.rows.length; i++) {
  • usa_selfish/곽병학 . . . . 3 matches
          this.a = a;
          this.b = b;
          ans[p[i].b] = Math.max(ans[p[i].a] +1, ans[p[i].b-1]);
  • whiteblue/MyTermProjectForClass . . . . 3 matches
          int math;
          math = m;
          return math;
  • zennith/dummyfile . . . . 3 matches
          fprintf(stderr, "Usage : %s [length of dummy file] [dummy file name]", argv[0]);
          fprintf(stderr, "Usage : %s [length of dummy file] [dummy file name]", argv[0]);
         ["zennith"]
  • 강희경/메모장 . . . . 3 matches
          /*[[ The contents of score array ]]
          printf("\n[[ The contents of score array ]]\n\n");
         if 0.3 then 0.673899088
         if 0.3000000001 then 0.076831721
         theserverside.com
  • 경시대회준비반 . . . . 3 matches
         || [ThePriestMathematician] ||
         || [TheGrandDinner] ||
         || [TheKnightsOfTheRoundTable] ||
         || [BirthdayCake] ||
         || [TheLargestSmallestBox] ||
         || [IsThisIntegration?] ||
         [http://www.algorithmist.com/] ACM 문제가 어느 알고리즘 파트인지 알 수 있다. 그외 도전할만한 많은 문제들이 있다.
  • 김태진/Search . . . . 3 matches
          else printf("%d is found in %d-th position in the array.\n", val,index);
         봉봉교수님이 내주신 연습문제에는 하나밖에 찾을 수 없는 구조인데, 함수에 check라는 static variable을 추가해서 그 함수가 호출되었을때 처음 찾은 값 다음부터 탐색하도록 하였습니다. thanks to. 힌트를 준 진경군.
  • 데블스캠프2003/넷째날/Linux실습 . . . . 3 matches
          * 권한 부여 대상에도 3종류가 있다. 왼쪽의 rwx부터 차례로 u(user), g(group), o(others)의 순서.
          * chmod ugo+rwx aaa.txt => aaa.txt를 user, group, others에게 읽고 쓰고 실행시키는 권한을 준다.
          * chmod 701 aaa.txt => user에겐 rwx의 권한을 주고, group에겐 어떠한 권한도 안 주고, others에겐 x의 권한만 준다.
  • 데블스캠프2004/세미나주제 . . . . 3 matches
          - [PythonLanguage]나 [Squeak]([Smalltalk])이 재미있을것 같은데요..^^ - [임인택]
          * 자료구조 SeeAlso HowToStudyDataStructureAndAlgorithms, DataStructure StackAndQueue 뒤의 두 페이지들의 용어와 내용이 어울리지 않네요. 아, 일반 용어를 프로젝트로 시작한 페이지의 마지막 모습이군요. )
         ps. 음하하 요즘 백수라 집에서 책,제로위키와 python을 오가며 노는데하는데 이런거 쓸시간 많아서 좋네요.
          * [데블스캠프2004]에 전체에 대한 개인 ThreeFs - 시간이 안되면 개인이 제로 위키에 따로 적도록 한다.
  • 데블스캠프2006/화요일/pointer/문제4/주소영 . . . . 3 matches
          int length = strlen(buf);
          for(i=0; i<length ; i++){
          if(buf[i] != buf[length-i-1]){
  • 데블스캠프2011/다섯째날/후기 . . . . 3 matches
         == 조현태/Python으로 하는 네트워크 ==
          * 파이썬의 기본적인 프로그램을 배우고 (python에서 제공하는 학습용 라이브러리인 turtle을 사용하였습니다.) 네트워크에 관한 간단한 설명들을 들었습니다. 네트워크라는 부분을 공부해 본적이 없어서 처음 네트워크에 대해 이해하는 것이 어렵긴 했지만 알기쉬운 설명덕분에 그럭적럭 이해하고 넘어갈 수 있었습니다. server와 Client측에서 네트워크를 구성하는 부분을 파이썬으로 작성하였는데 코드는.. 긁어 왔다ㅋ 헌데 파이썬의 장점처럼 코드가 무지하게 짧았던게 인상깊었다.
          * 마지막날이다 보니 다들 후기 갯수가 좀 적군요. Rurple에 이어서 Python을 공부해볼 수 있어서 좋았습니다. 파이썬이 러플로 했을땐 코드 길이가 짧았는데, 다른걸 짤땐 어떤 면에서 짧아지는지는 아직 잘 모르겠네요. 네트워크는 CAU_MAC인데다 MAC을 쓰다보니 충돌의 연속.. 결국 다른 사람들이 하는걸 같이 보는게 좀 많았네요.ㅋㅋ 11학번 친구들이 오늘은 2명이나 와서 참여해서 재밌게 했던거 같습니다.. 만 화수랑 호동이는 약간 어려워 하더군요. (저는 이미 그런 상황에 적응해버린건지 객체니 클래스니 해도 그냥 뭐... 했달까요 ㅎㅎㅎ;)
  • 데블스캠프2011/셋째날/후기 . . . . 3 matches
          * 처음엔 빨리 고급 구현을 하고싶은 마음이 들었는데 막상 고급 구현을 시키니 잘 못 짠 것 같아요. 잠깐이지만 Python 분명히 스터디를 했었는데 문법이 잘 생각이 안 나서 난감했습니다ㅜㅜㅜㅜ 그리고 RUR-PLE도 새내기들에게 흥미있게 다가갈 만한 주제인데 막상 새내기들이 늦게 온 것이 매우 아쉽습니다.
          * python을 이용한 학습 프로그램이엇다. 로봇을 이용하여 beeper를 줍고 버리고 하며 여러가지 실습 프로그램을 하엿다. 교육용프로그램이라 쉬워보였는데 정작 프로그램을 짜는데 매 마음데로 되지 않아서 고생을 하엿다. rur-ple도 끝나갈 쯔음에 프로그매짜는거에 어느정도 적응이 되서어 미션을 수행할 수 있었다. 게다가 python은 그나마 익숙한 언어라서 재미 있었다.
  • 데블스캠프2011/첫째날/Java . . . . 3 matches
         = Let's Play with Java =
          * Subclipse (SVN with Eclipse)
          * JUnitTest (with JUnit 4 plug-in)
  • 문자반대출력/김정현 . . . . 3 matches
          char charArray[]=new char[text.length()];
          for( int count=0; count<text.length(); count++)
          charArray[count]=text.charAt(text.length()-count-1);
  • 문자반대출력/문보창 . . . . 3 matches
         #include <algorithm>
         #include <algorithm>
          for (int i = 0; i < str.length(); i++)
  • 미로찾기/이규완오승혁 . . . . 3 matches
          int path;
          cin >> path;
          tile[avn][crs] = path;
  • 방울뱀스터디 . . . . 3 matches
         [Python]을 공부합니다.
          * http://python.netian.com/index.html - 초 간단 문법 익히기
         [방울뱀스터디/Thread] - 재화
         canvas = Canvas(root, width=boundx, height=boundy)
  • 새싹교실/2011 . . . . 3 matches
          * 학생들에게 F4(ThreeFs + FutureActionPlan) 혹은 FiveFs에 대해 설명하고 이를 지키도록 해주세요.
          arithmetic operator
          shorthand operator, operator precedence
          pointer arithmetic
  • 새싹교실/2011/學高/5회차 . . . . 3 matches
          * arithmetic operator(이거 모르면 초등학교로 돌아가세요)
          * shorthand operator (arithmetic operator + assignment operator)
  • 새싹교실/2011/무전취식/레벨11 . . . . 3 matches
          * '''후기 작성 요령''' : 후기는 F4(ThreeFs + Future Action Plan)에 맞게 작성해주세요.
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
          // assume 'S' is on the left side of the maze
          // and the initial direction is RIGHT
  • 새싹교실/2012/앞부분만본반 . . . . 3 matches
         A L.S has either
         ex) let Ax=b with A: 4x5 matrix -> L.S : 방정식 4개 , 미지수 5개
          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.
  • 새싹교실/2012/주먹밥 . . . . 3 matches
          * 헤더 파일들에는 뭐가 들어가는지 한번 알아보았습니다. math.h에는 수학에 관련된 함수. time.h에는 시간 제어에 관련됨 함수를 사용했죠 .srand(time(NULL))이 왜 쓰이는 지는 아직 안알려주었답니다^.^
          * Thread에 간한 간단한 설명
         #include<algorithm.h>
          * GitHub : https://github.com
  • 소수구하기 . . . . 3 matches
         || ["소수구하기/zennith"] ||
         #include <math.h>
         NumberTheory를 공부해라. --JuNe
         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 관련기사] - [임인택]
  • 소수구하기/상욱 . . . . 3 matches
          int arrLength = 1;
          for (int j = 1 ; j < arrLength+1 ; j++) {
          primeNumber[arrLength++] = i;
  • 오목/휘동, 희경 . . . . 3 matches
         // grimView.h : interface of the CGrimView class
          virtual void OnDraw(CDC* pDC); // overridden to draw this view
         // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  • 위시리스트 . . . . 3 matches
          * [http://books.google.co.kr/books?id=oowq_6bAgloC&printsec=frontcover&dq=go+lang&hl=ko&sa=X&ei=5f-WU8rTCM_-8QXu5oGwAw&redir_esc=y#v=onepage&q=go%20lang&f=false the way to go]
         The art of computer programming 1 ~ 4A
         Building Machine Learning Systems with Python 한국어판
  • 위키QnA . . . . 3 matches
         Q : 링크에 밑줄이 생길때가 있고 안생길때가 있습니다. 그렇다기 보다는 생기는건 생기고, 어떤건 계속 안생겨 있군요. (in mozilla) --zennith
         Q : 갑자기 위 순서가 바뀌어버린 거죠? 최근바뀐글이 두번째 였던 거 같습니다. --zennith
         ==== Thread About Regular and Semi project ====
          현재의 FrontPage가 하는 역할이 좀 많다고 생각하는데. (Long Method 에 대해서는 Refactoring이 필요한 법. --a) FrontPage가 하는 역할들에 대해 페이지들을 슬슬 나누는 것은 어떨까 생각중. --석천
  • 이승한/.vimrc . . . . 3 matches
         set textwidth=0
         set path=.,./include,../include,../../include,../../../include,../../../../include,/usr/include
         "set foldmethod=marker
  • 이승한/java . . . . 3 matches
         객체 관련 키워드 : new, instanceof, this, super, null
         예외 처리 : try, catch, finally, throw, throws
  • 정모/2012.5.7 . . . . 3 matches
         == python 배우기? ==
          * rur-ple이 재미있었습니다. Phython을 익혀보는 것도 괜찮을 것 같습니다. - [권영기]
          * Phython 문법이 기억이 나질 않아 좀 헤해었습니다. 그런데 문법을 다시 까먹었다는 함정. - [김희성]
  • 제12회 한국자바개발자 컨퍼런스 후기 . . . . 3 matches
          * 관련 홈페이지 : [http://jco.zdnet.co.kr/12th/default.asp JCO 등록 및 발표자료 다운 (2월 22일부터)], [http://www.jco.or.kr/ JCO 홈페이지]
         || 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에서 필요한 데이터를 빠르게 가져오는 것이었다면 이것은 서버에서 데이터를 어떻게 저장하고 어떻게 가져오는 것이 안전하고 빠른가에 대하여 이야기 하는 시간이었다.
  • 졸업논문/결론 . . . . 3 matches
         이때까지 살펴본 바, django는 데이터베이스를 이용하는 패턴을 대부분 추상화하여 사용할 수 있도록 지원한다. 모델과 데이터베이스를 연동하여, 주언어인 python으로 모델만 수정하더라도 데이터베이스에 이를 반영할 수 있다. 또한 데이터베이스를 객체로 생각하고, 삽입과 갱신은 객체를 저장하는 것으로, 조회를 객체의 인스턴스를 얻어오는 것으로, 삭제를 인스턴스를 삭제하는 것으로 추상화하였다. 이러한 추상화로 모자란 부분은 사용자가 직접 SQL을 작성할 수 있도록 지원하고 있다.
         RoR와 django 같은 경량 프로그래밍 기법이 힘을 얻는 또 다은 이유는, 강력한 표현력을 가진 주언어를 사용할 수 있기 때문이다. Ruby와 python은 스크립트 언어의 성격을 가지고 있으며, 객체 지향 개념과 함수형 프로그래밍 언어의 패러다임을 포함한다. 비록 느려서 시스템 프로그래밍에 사용하기에는 적당하지 않지만, 동적으로 빠르게 변하는 웹 환경에서는 ruby와 python같은 언어가 변화를 손쉽게 따라갈 수 있어 적당하다.
  • 즐겨찾기 . . . . 3 matches
         간단한 규칙 - Daily <= n개, Weekly <= 7*n, Monthly <= 30*n개를 유지한다. 그러면 하루에 3*n 군데만 돌아보면 된다. 끝없는 웹서핑을 막아보자!
         == Monthly ==
         [http://groups.yahoo.com/group/testdrivendevelopment/message/11784 Well, that's gonna fail]
  • 지금그때2005/홍보 . . . . 3 matches
         <font color = "Magenta"><a href = "http://zeropage.org/~dduk/memo/memo.php?id=nowthen2005"> 신청하러 가기 </a></font>
         <font color = "Magenta"><a href = "http://zeropage.org/wikis/nowthen2004/_c1_f6_b1_dd_b1_d7_b6_a72004_2f_c8_c4_b1_e2"> 더 많은 2004년 후기 보러가기 </a></font>
         http://zeropage.org/~dduk/memo/memo.php?id=nowthen2005
  • 컴퓨터고전스터디 . . . . 3 matches
         Dijkstra, David Parnas, C.A.R. Hoare, Donald Knuth, John von Neumann을 읽어본 대학생이 얼마나 있을까요.
          * 2002년 MentorOfArts 위키에서 MythicalManMonth 로 Moa:컴퓨터고전스터디 그룹이 ZeroPagers 와 진행
          * 2004년 여름방학 현재 TheArtOfComputerProgramming으로 진행
  • 큐와 스택/문원명 . . . . 3 matches
          _Mysizt _Size = 0 < _Istr.width()
          && (_Mysizt)_Istr.width() < _Str.max_size()
          ? (_Mysizt)_Istr.width() : _Str.max_size();
  • 큰수찾아저장하기/김영록 . . . . 3 matches
         int width_sort(int a);
         space[i][3] = width_sort(i);
         int width_sort(int a){
  • 프로그래머가알아야할97가지/ActWithPrudence . . . . 3 matches
         --[http://programmer.97things.oreilly.com/wiki/index.php/Seb_Rose Seb Rose] 원저
         원문: http://programmer.97things.oreilly.com/wiki/index.php/Act_with_Prudence
  • 헝가리안표기법 . . . . 3 matches
         || dw || DWORD || unsigned double word(4byte) || DWORD dwLength ||
         || h || handle || handle to something || hMenu ||
         || x/y || ... || used as size || int xWitdth, yHeight ||
  • 05학번 . . . . 2 matches
         void copy(char *src, char *dest, int length )
          for(size_t i(0);i<length; i++ )
  • 1002/TPOCP . . . . 2 matches
         Seminar:ThePsychologyOfComputerProgramming 맡은 챕터 정리궁리중.
         Variations in the programming task
          What the programmer is trying to do
  • 2002년도ACM문제샘플풀이/문제D . . . . 2 matches
         #include <algorithm>
         #include <algorithm>
  • 2010JavaScript/강소현/연습 . . . . 2 matches
         width="300" height="300" usemap="#planet" onmouseout="alert('마우스 아웃');" alt="마우스 포인터 감지">
         <img src ="http://www.court-records.net/places/DS/berryoffice.png" width ="480" height ="300"
  • 2011년독서모임 . . . . 2 matches
          * 이와 관련해서 외국 음악이랑 외국 영화에 나오는 한국에 대해 찾아보려 했는데요,, 급 귀차니즘 때문에 외국 음악에 나오는 한국 관련된 것만 찾았다는...; 뭐,, 그래서 찾은 것이 Gary Moore의 Murder in the skies 라는 노래인데, 이 노래는 1983년 9월 1일에 뉴욕에서 출발한 한국행 비행기가 소련의 영공에 침범 했나(? -_-;; 죄송;;) 그래서 소련의 전투기가 Kal기를 격추시키는 일이 발생하였는데, 그것을 내용으로 소련의 만행으로 무고한 사람들이 죽음을 당했다는 것을 비판한 노래라 소개 했었고, 또 하나 찾아봤었던게 Deftones의 Korea라는 노래인데... 알고보니까 그냥 노래 내용이 어떤 소녀에 대한 이야기인데 그 소녀의 이름이 한국인 성과 비슷해서 그냥 그렇게 썻다고 해서 패스했습니다.
          * [송지원] - 선물 The Present
          * [권순의] - [http://book.interpark.com/meet/webzinePapa.do?_method=intvDetail&sc.mreviewNo=26730&bkid1=webzin&bkid2=main&bkid3=flashBan&bkid4=004 고구려] (김진명)
  • 2thPCinCAUCSE/ProblemA/Solution . . . . 2 matches
         ["2thPCinCAUCSE/ProblemA"] 의 해.
         || ["2thPCinCAUCSE/ProblemA/Solution/상욱"] || [상욱] || C++ || 50분 ||
  • 2학기자바스터디/운세게임 . . . . 2 matches
          || MONTH || 월 ||
          int num3 = Math.abs(r.nextInt() % 10); // 0 ~ 9 사이의 난수 구하기. Math.abs()는 절대값을 구함
  • 2학기파이선스터디 . . . . 2 matches
         == Thread ==
          http://www.python.or.kr:8080/python/GUI/tkinter/ - Tkinter 모듈 설명서
  • 5인용C++스터디/메뉴와단축키 . . . . 2 matches
          cmenu->TrackPopupMenu(0, point.x, point.y, this, NULL);
         cmenu->TrackPopupMenu(0, point.x, point.y, this, NULL);
  • 5인용C++스터디/소켓프로그래밍 . . . . 2 matches
          m_pChild->Send(LPCSTR(strData), strData.GetLength()+1);
          m_pClient->Send(LPCSTR(strData), strData.GetLength()+1);
  • 5인용C++스터디/타이머보충 . . . . 2 matches
         // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
          m_TimerID = timeSetEvent(1, 0, TimerProc, (DWORD)this, TIME_PERIODIC);
  • ACE/CallbackExample . . . . 2 matches
          cerr << "\tlength: " << log_record.length() << endl;
  • AI세미나 . . . . 2 matches
         1부. 생물의 진화 - 유전자 알고리즘 (Genetic Algorithm)
         http://www.math.umn.edu/~wittman/faces/main.html - Neural Network를 사용하여 사람의 얼굴 인식.
  • AKnight'sJourney/정진경 . . . . 2 matches
         char* GetPath(int k)
          printf("Scenario #%d:\n%s\n\n", i, GetPath(p*100+q));
  • AOI . . . . 2 matches
         '''A'''lgorithm &
          || [SmithNumbers] ||O ||. ||O ||. ||. ||. ||. ||O ||
  • ActiveTemplateLibrary . . . . 2 matches
         {{|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.
  • Apache . . . . 2 matches
         Starting httpd: httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
          * [http://www.wallpaperama.com/forums/how-to-fix-could-not-determine-the-servers-fully-qualified-domain-name-t23.html 위문제상황해결링크]
  • AproximateBinaryTree/김상섭 . . . . 2 matches
         #include <algorithm>
         #include <math.h>
  • BNUI . . . . 2 matches
         = Brand New UI from 'the Brand New Heaviers' =
         python<->bnui<->xmlfile
  • BaysianFiltering . . . . 2 matches
         http://www.mathpages.com/home/kmath267.htm
         그리고 PatternClassification 관련한 여러 알고리즘에도 BayesTheory 를 기본으로 하는게 상당히 많다.
  • BeeMaja/문보창 . . . . 2 matches
          int length = 1;
          cruise_comb(length++, n, curCoord);
  • BicycleRepairMan . . . . 2 matches
         http://bicyclerepair.sourceforge.net/ . python refactoring 툴. idlefork 나 vim 에 통합시킬 수 있다.
         [Python]
  • BookTemplate . . . . 2 matches
         DeleteMe when you fill in this page (이 페이지를 채워 넣을 때 삭제해 주세요)
          * Author :
  • BusSimulation . . . . 2 matches
         Discrete Event Simulation이 되겠군요. 사람이 몇 명이 기다리느냐, 길 막힘 상태 등은 이산 확률 분포를 사용하면 될 것입니다. NoSmok:TheArtOfComputerProgramming 에서 NoSmok:DonaldKnuth 가 자기 학교 수학과 건물 엘레베이터를 몇 시간 관찰해서 데이타를 수집한 것과 비슷하게 학생들이 직접 84번, 85-1번 등의 버스를 타고 다니면서 자료 수집을 해서 그걸 시뮬레이션 실험하면 아주 많은 공부가 될 것입니다 -- 특히, 어떻게 실세계를 컴퓨터로 옮기느냐 등의 모델링 문제에 관해. 실제로 NoSmok:DonaldKnuth 는 TAOCP에서 이런 연습문제를 만들어 놨습니다. 제가 학부생 때 누군가 이런 숙제를 내줬다면 아마 한 두 계단(see also ["축적과변화"]) 올라설 계기가 되지 않았을까 하고 아쉬울 때가 있습니다. 이 문제에 드는 시간은 하루나 이틀 정도가 되겠지만 여기서 얻은 경험과 지혜는 십 년도 넘게 자신의 프로그래밍 인생에 도움이 될 것이라 믿어 의심치 않습니다. (팀으로 문제 해결을 하면 더 많은 공부가 되겠지요) see also ProgrammingPartyAfterwords 참고자료 --JuNe
  • 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]
  • CPPStudy_2005_1/STL성적처리_1 . . . . 2 matches
         #include <algorithm>
         = thread =
  • CProgramming . . . . 2 matches
         [http://www.its.strath.ac.uk/courses/c/ University of Strathclyde Computer Centre]
  • CalendarMacro . . . . 2 matches
         '''YEAR-MONTH subpage is created'''
         {{{[[Calendar("Blog",blog)]]}}} blog mode with default page
         '''archive option check blogged dates and link to the archive'''
  • CategoryMacro . . . . 2 matches
         If you click on the title of a category page, you'll get a list of pages belonging to that category
  • CategorySoftwareTool . . . . 2 matches
         If you click on the title of a category page, you'll get a list of pages belonging to that category
  • CategoryTemplate . . . . 2 matches
         If you click on the title of a category page, you'll get a list of pages belonging to that category
  • Chapter II - Real-Time Systems Concepts . . . . 2 matches
         RenameThisPage - Name Space 에 대해서 지켜주기 바람. 그리고 영문제목띄어쓰기에 대해서는 FrontPage 가장 윗 문단 참조바람 --석천
         == What is the Real Time? ==
         태스크는 thread라고도 불린다. 이는 하나의 태스크가 하나의 Stack과 TCB를 가진 경량 프로세스이다.
  • CompilerTheory/ManBoyTest . . . . 2 matches
          if k <= 0 then A := x4 + x5 else B
         Donald Knuth 가 Algol 60의 구현 정도를 판변하기위해서 만든 프로그램. 테스트의 목적은 올바르게 구현된 scoping rule, call-by-name의 구현 정도를 판별해서 boys(algol 60 구현물)들중에서 men (쓸만한 놈)을 가려내는 용도로 고안되었습니다.
         [CompilerTheory]
  • ComputerNetworkClass/Exam2006_2 . . . . 2 matches
         인터넷 보안 관련된 문제에서 문제로 출제 될 만하다고 생각했던 부분인 Authencation Protocol (3-way-handshake, keberos, using RSA)에 대한 내용역시 미출제되었음. 덕분에 시험 난이도는 낮아졌지만, PEM 의 구조에 대한 설명이 들어갔기 때문에 따로 관심을 가지고 공부한 사람이 아니면 약간 어려웠을지도 모르겠음.
         authenticate(fabrication -> 3-way handshake, keberos, using RSA)
  • ConnectingTheDots . . . . 2 matches
          _presenter = new BoardPresenter(game, this);
          _game.addListener(this);
  • ConverterMethod . . . . 2 matches
         === Converter Method ===
         스몰토크의 String 클래스에 보면 asDate라는 메세지가 있다. 켄트벡이 경험한 정말 극단적인 경우에 하나의 객체마다 다른 형태로 변환시켜주는 Converter Method가 30개씩 있었다고 한다. 새로운 객체가 추가될때마다 저 30개의 메소드를 모두 추가해줘야만 했던 것이다.
  • Counting/황재선 . . . . 2 matches
         import java.math.BigInteger;
         import java.math.BigInteger;
          public void testThree() {
  • CppStudy_2002_1/과제1/상협 . . . . 2 matches
          cout<<"Input the name: ";
          cout<<"Input the handicap : ";
  • CppStudy_2002_2 . . . . 2 matches
         || 8.1 ||["Refactoring/ComposingMethods"]||몇개 소스 리팩토링 해보기||
         = Thread =
          뭐 저도 공부 시작한 지 얼마 되지는 않았지만 조금이라도(Composing Mathods 정도) 리펙토링을 알고 행하는 게 나중에
  • Cracking/ReverseEngineering/개발자/Software/ . . . . 2 matches
         Software 개발자가 알아야 하는 것은 Language, Algorithm만이 아니다. (이 것만 알면 Coder일 뿐이 잖는가?)
         Jeffrey Richter의 Programming Applications for Microsoft Windows란 책을 추천한다. 현재 4th edition까지 나온 상태이다. 물론 한글판은 없다.
  • CryptKicker . . . . 2 matches
         또 gh, ing, ed, the, a 와같은 자주출현하는 글자쌍도 존재한다. 만약 암호화된 코드에 덩그라니 한글자짜리 x 가 존재한다면 그것은 a일 가능성이 높아진다. 또 qer가 있따면 이것은 the가 될 확률이 높아지는것이고.
  • CryptographicAlgorithms . . . . 2 matches
          * Public Key Algorithms
          * Secret Key Algorithms
  • CubicSpline/1002/GraphPanel.py . . . . 2 matches
         #format python
         from wxPython.wx import *
  • CubicSpline/1002/test_NaCurves.py . . . . 2 matches
         #format python
         from wxPython.wx import *
          def testThree(self):
          def testPerformThree(self):
  • DataStructure/String . . . . 2 matches
          f(j) = largest i such that i < j and 문자열의 0 ~ i번째 = 문자열의 (j - i) ~ j번째, if such an i exists
          f(j) = -1(Otherwise)
  • DataStructure/Tree . . . . 2 matches
          * Search x => Compare with Root
          * if x = Root's Key then 찾았으니까 알고리즘 끝
  • DebuggingApplication . . . . 2 matches
         [http://msdn.microsoft.com/library/FRE/vsdebug/html/_core_the_trace_macro.asp?frame=true]
         [http://www.codeguru.com/forum/showthread.php?t=315371]
  • DevelopmentinWindows/APIExample . . . . 2 matches
         // Generated from the TEXTINCLUDE 2 resource.
         // Generated from the TEXTINCLUDE 3 resource.
  • DirectDraw . . . . 2 matches
         ddsd.dwFlags = DDSD_CAPS|DDSD_HEIGHT|DDSD_WIDTH; // 높이와 넓이를 지정할 수 있음
         ddsd.dwWidth = 16; // 넓이
         bmp.bmWidth 와 bmp.bmHeight로 비트맵의 크기를 얻어낼 수 있다.
         === Thread ===
  • DispatchedInterpretation . . . . 2 matches
          aShape.sendCommand(i,this);
          aShape.sendCommandTo(this);
  • Eclipse/PluginUrls . . . . 2 matches
         == Pydev (Python Plugin) ==
          * [http://www.erin.utoronto.ca/~ebutt/eclipse_python.htm pydev]
  • EightQueenProblem/강인수 . . . . 2 matches
         #include <cmath>
         #include <algorithm>
  • EightQueenProblem/이덕준소스 . . . . 2 matches
         #include <math.h>
          cout<<"the result is ";
  • EightQueenProblem2/이덕준소스 . . . . 2 matches
         #include <math.h>
          cout<<"the result is ";
  • EightQueenProblemSecondTry . . . . 2 matches
         || 강석천 ||4h:50m||1h:56m||.|| 135 lines || 130 lines || . || python || python || . ||
  • EmbedAudioFilesForFireFox . . . . 2 matches
         <EMBED SRC=somefile type="application/x-mplayer2" width="300" height="45"></embed>
         <object id="wmp" width="300" height="69" type="application/x-mplayer2">
  • EmbeddedSystemClass . . . . 2 matches
         128MB SDRM, 32MB Flash, Ethernet 100 M 2port
         GPS, Bluetooth, FPGA Module 확장
  • EuclidProblem/Leonardong . . . . 2 matches
         #include <math.h>
         // Eclid Algorithm
  • FactorialFactors/1002 . . . . 2 matches
          * Python 에서 O(n^2) 인 알고리즘은 C++ 에서도 O(n^2) 이다. -_-
          결국은 Python 에서 5초 내를 밟는 알고리즘을 만들어야 C++ 로 1초 이내의 속도가 나올 것이다.
  • FactorialFactors/이동현 . . . . 2 matches
         import java.math.*;
          int sqrt = (int)Math.sqrt(CASE_N);
  • FindShortestPath . . . . 2 matches
          이거 dijkstra's shortest path algorithm 아닌가요? - 임인택
  • Fmt/문보창 . . . . 2 matches
          for (int i = 0; i < str.length(); i++)
          for (int i = 0; i < str.length(); i++)
  • GDG . . . . 2 matches
          * GDG Pre-DevFest Hackathon 2013 에 참여하고, GDG DevFest Korea 2013의 HackFair 안드로이드 애플리케이션 공모전에 작품 출품.
          * with [고한종], [조영준], [장혁재], [김민재], [조광희]
  • GarbageCollection . . . . 2 matches
         컴퓨터 환경에서 가비지 컬렉션은 자동화된 메모리 관리의 한가지 형태이다. 가비지 컬렉터는 애플리케이션이 다시는 접근하지 않는 객체가 사용한 메모르 공간을 회수하려고 한다. 가비지 컬렉션은 John McCarthy 가 1959년 Lisp 언어에서 수동적인 메모리 관리로 인한 문제를 해결하기 위해서 제안한 개념이다.
         = thread =
  • Gof/Command . . . . 2 matches
         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.
         THINK 클래스 라이브러리 [Sym93b] 또한 undo 가능한 명령을 지원하기 위해 CommandPattern을 사용한다. THINK 에서의 Command들은 "Tasks" 로 불린다. Task 객체들은 ChainOfResponsibilityPattern에 입각하여 넘겨지고 소비되어진다.
  • GuiTestingWithWxPython . . . . 2 matches
         from wxPython.wx import *
         from wxPython.wx import *
  • HardcoreCppStudy/두번째숙제/CharacteristicOfOOP/변준원 . . . . 2 matches
         객체 지향 프로그램의 중요한 특징으로 하나의 함수 이름이나 심볼이 여러 목적으로 사용될 수 있는 다형성(Polymorphism)을 들 수 있다. 객체 지향에서의 다형성이란, 복수의 클래스가 하나의 메세지에 대해 각 클래스가 가지고 있는 고유한 방법으로 응답할 수 있는 능력을 말한다. 즉, 별개로 정의된 클래스들이 ㅌ은 이름의 함수를 별도로 가지고 있어 하나의 메세지에 대해 각기 다른 방법으로 그 메세지를 수행할 수 있는 것을 의미한다. 예를 들어, 여러 가지 화일(file)들을 프린트 하는 함수를 생각해 보자. 화일에는 간단한 텍스트 화일(text file), 문서 편집기로 만든 포멧 화일(format file), 그래픽을 포함하는 화일(file with graphics) 등 여러 가지가 있다. 이들 각각의 화일들은 프린트 하는 방법이 모두 다르다, 객체 지향에서는 아래처럼 각 종류의 화일을 별도의 클래스로 정의하고, 각각의 화일 종류별로 Print라는 함수를 화일의 형태에 맞게 구현한다.
         File with graphics -> Print();
  • HelpOnFormatting . . . . 2 matches
         For more information on the possible markup, see HelpOnEditing.
         특별히 여러 줄 코드 블럭을 넣을 때 최 상단에 {{{#!php}}}, {{{#!python}}}과 같은 줄이 있으면 이것은 프로세서 해석기에 의해 해석되어
  • Hibernate . . . . 2 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] 기사가 연재중이다.
  • HowManyFibs?/1002 . . . . 2 matches
          * closed form 과 관련하여 Generating Function 이 아직도 익숙치 않아서 mathworld 의 힘을 빌리다. GF 를 공부해야겠다.
          * bigint 를 지원하는 python 이나 matlab 같은 언어에서는 더 할일이 없는 문제. 내가 공식 궁리하는 동안 옆의 분이 matlab 으로 10분만에 풀어버리다. 흑.
  • HowManyFibs?/황재선 . . . . 2 matches
         import java.math.BigInteger;
         import java.math.BigInteger;
  • JTDStudy . . . . 2 matches
         = What is this page =
          * This page's group study Java , TDD and Design patterns
          * What is JUnit? How use this?
  • Java Study2003/첫번째과제/장창재 . . . . 2 matches
         다중 스레드(Multi-thread)를 지원한다:
         자바의 다중 스레드 기능은 동시에 많은 스레드를 실행시킬 수 있는 프로그램을 만들 수 있도록 해 줍니다. 자바는 동기화 메소드들을 기본적으로 키워드로 제공함으로써, 자바 언어 수준에서 다중 스레드를 지원해 줍니다. 자바 API에는 스레드를 지원해 주기 위한 Thread 클래스가 있으며, 자바 런타임 시스템에서는 모니터와 조건 잠금 함수를 제공해 줍니다.
         System.out.println("Hello World!"); // Display the string
  • Java/ReflectionForInnerClass . . . . 2 matches
         [http://groups.google.co.kr/groups?hl=ko&lr=&ie=UTF-8&oe=UTF-8&newwindow=1&threadm=3A1C1C6E.37E63FFD%40cwcom.net&rnum=4&prev=/groups%3Fq%3Djava%2Breflection%2Binnerclass%26hl%3Dko%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26newwindow%3D1%26selm%3D3A1C1C6E.37E63FFD%2540cwcom.net%26rnum%3D4 구글에서 찾은 답변]
         innerclass 에서는 기본적으로 Inner Class 를 포함하고 있는 상위클래스의 레퍼런스가 생성자로 들어간다. 마치 C++ 에서 메소드들에 대해 this 가 기본 파라메터로 넘어가는 것과 같은 이치랄까.
  • Java/SwingCookBook . . . . 2 matches
         frame.setLocation((d.width-frame.getWidth())/2, (d.height-frame.getHeight())/2);
  • Java/숫자와문자사이변환 . . . . 2 matches
          int i_month = Integer.parseInt(s_month); 하면 1, 2, 3 ... 으로 되는군...
  • JavaStudy2003/두번째과제/곽세환 . . . . 2 matches
          int dir = (int)(Math.random() * 8);
         나.this
  • JavaStudy2004/자바따라잡기 . . . . 2 matches
          출전 : 1997년 9월호 디스커버 잡지 72쪽에 실린, David Gelernter의 "Truth, Beauty, and the Virtual Machine".
         === Thread ===
  • JollyJumpers . . . . 2 matches
          || [Leonardong] || [Python] || 1시간 + 36분|| [JollyJumpers/Leonardong] ||
         || [1002] || Python || 5분 || [JollyJumpers/1002] ||
  • JollyJumpers/Celfin . . . . 2 matches
         #include <cmath>
         #include <algorithm>
  • JollyJumpers/Leonardong . . . . 2 matches
          run = staticmethod(run)
         == Thread ==
         처음에 리스트에 차를 집어넣은 후 정렬하려 했다가 집합 개념이 떠올라 그 쪽으로 해결했다. statementForSeries메서드 부분에 있던 CheckJolly메서드를 따로 테스트하면서 ExtractMethod를 하게 되었고, 차가 음수인 경우도 테스트를 통해 알게되었다. 보폭이 아직 좁지만 술술 진행한 문제이다.
  • JollyJumpers/강소현 . . . . 2 matches
          if(Math.abs(arr[i+1]-arr[i]) >= size)//size 넘어가면 1~n-1을 넘어가니까.
          jollyNum[Math.abs(arr[i+1]-arr[i])]++;
  • JollyJumpers/서지혜 . . . . 2 matches
         #include <math.h>
         #include <math.h>
  • JythonTutorial . . . . 2 matches
         Caucse:JythonTutorial
         ["Jython"]
  • Karma . . . . 2 matches
         [http://karma-runner.github.io/0.10/index.html]
         [http://www.yearofmoo.com/2013/01/full-spectrum-testing-with-angularjs-and-karma.html]
  • LUA_2 . . . . 2 matches
         > string_length = "123456"
         > print(#string_length)
  • Linux/MakingLinuxDaemon . . . . 2 matches
         root 5 1 0 0 TS 23 Oct15 ? 00:00:00 [kthread]
         root 5 1 0 0 TS 23 Oct15 ? 00:00:00 [kthread]
  • Linux/필수명령어 . . . . 2 matches
         || python || python ||
  • LogicCircuitClass/Exam2006_2 . . . . 2 matches
          a. Find the state diagram by Mealy machine.
          b. Find the state table.
  • LongestNap/문보창 . . . . 2 matches
         #include <algorithm>
          cout << "Day #" << index << ": the longest nap starts at " << nap.start/60 << ":";
  • MFCStudy2006/1주차 . . . . 2 matches
          // TODO: Modify the Window class or styles here by modifying
          // the CREATESTRUCT cs
  • MedusaCppStudy/신애 . . . . 2 matches
         #include <algorithm>
         #include <algorithm>
  • MedusaCppStudy/재동 . . . . 2 matches
          throw domain_error("Roach position is worng");
         #include <algorithm>
  • MockObjects . . . . 2 matches
          * [http://no-smok.net/seminar/moin.cgi/mockobect_2epy mockobject.py] - Python MockObjects framework
          * http://no-smok.net/seminar/upload/PythonMock.htm
  • ModelingSimulationClass/Exam2006_2 . . . . 2 matches
         3번 기억하기로 no more than three ~~ . 였던거 같은데 음 그러면 3개 이하의 비트아닌가요? - 보창
  • MoniWiki/HotKeys . . . . 2 matches
          ||``<ESC>``||Go 'into'/'out of' the 'Go' form|| ||
          ||Z + ``<BACKSPACE>``||Go 'into' the 'Go' form|| ||
  • MultiplyingByRotation . . . . 2 matches
         입력은 텍스트파일이다. 진수,첫번째 숫자의 마지막 숫자(the least significant digit of the first factor)와 두번째 숫자(second factor)로 구성된 3개의 수치가 한줄씩 입력된다. 각 수치는 공백으로 구분된다. 두번째 숫자는 해당 진수보다 적은 숫자이다. 입력파일은 EOF로 끝난다.
  • NSIS/예제4 . . . . 2 matches
          SetDetailsPrint both
          SetOutPath $INSTDIR
  • NumericalAnalysisClass . . . . 2 matches
         ''Object-Oriented Implementation of Numerical Methods : An Introduction with Java and Smalltalk'', by Didier H. Besset.
  • OpenCamp . . . . 2 matches
          * 주제: Hackathon
          * [OpenCamp/네번째] With CLUG
  • OpenCamp/첫번째 . . . . 2 matches
          * 15:15~16:00 AJAX with JSON 서민관
          * 19:00~21:00 Practice with jQuery UI + PHP + MySQL 권순의, 김민재
  • OperatingSystem . . . . 2 matches
         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.
  • OurMajorLangIsCAndCPlusPlus . . . . 2 matches
         [OurMajorLangIsCAndCPlusPlus/math.h] (cmath)
  • OurMajorLangIsCAndCPlusPlus/2006.2.06/하기웅 . . . . 2 matches
          int length() const
          cout << s.length();
  • OurMajorLangIsCAndCPlusPlus/time.h . . . . 2 matches
         int tm_mday day of month [1,31]
         int tm_mon month of year [0,11]
  • 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>
  • ParametricPolymorphism . . . . 2 matches
          this.x = x;
          this.y = y;
  • PascalTriangle . . . . 2 matches
         == recursive -zennith ==
         == dynamic allocation -zennith ==
  • PosixThread . . . . 2 matches
         http://c.lug.or.kr/study/etc/posix_thread.html
         http://www.gpgstudy.com/gpgiki/POSIX%20Thread
         http://www-106.ibm.com/developerworks/linux/library/l-pthred.html
  • PrimaryArithmetic/문보창 . . . . 2 matches
         // no10035 - Primary Arithmetic
         [PrimaryArithmetic] [문보창]
  • PrimaryArithmetic/허아영 . . . . 2 matches
         #include <math.h>
         [PrimaryArithmatic]
  • ProgrammingContest . . . . 2 matches
         나이나 학력 제한이 전혀 없습니다(Open경우). 팀은 세명까지 가능하고, 혼자서도 참가 가능합니다. 사용 가능 언어는 Java, C++, Pascal, Python 등 입니다. 제한 조건은 한 팀은 프로그램 개발을 위해서는 하나의 컴퓨터만 사용해야 한다는 것입니다. 이번 금요일(2002/5/10)에 한국 시간으로는 오후 9시부터 5시간 동안입니다. 온라인(이메일)으로 진행합니다. (see also .http://ipsc.ksp.sk/rules.php )
         http://www.uwp.edu/academic/mathematics/usaco/ or http://www.usaco.org
  • ProgrammingPartyAfterwords . . . . 2 matches
         '오.. 대화진행속도가 빠르다!' 1002 가 본 moa 의 마치 평소 손발을 맞춰본 팀같았다. 근데, 토론하는 것을 들으면서 1002가 생각하기엔 '음.. 근데, 너무 초반에 Algorithm-Specific 하게 생각하는게 아닐까. 일단은 문제를 간단한 문제로 분해하는(보통 1002가 'Design' 을 간단하게 정의하라고 할때 저렇게 표현한다.) 과정이 더 중요할것 같은데'
          * NoSmok:TheArtOfComputerProgramming 에 나온 어셈블리어로 구현된 엘리베이터 시뮬레이션 (NoSmok:DonaldKnuth 가 직접 엘리베이터를 몇 시간 동안 타보고, 관찰하면서 만든 알고리즘이라고 함. 자기가 타고 다니는 엘리베이터를 분석, 고대로 시뮬레이션 해보는 것도 엄청난 공부가 될 것임)
  • ProgrammingPearls/Column3 . . . . 2 matches
          * 이러면서 우리의 "The Mythical Man Month"의 구절이 나온다.
  • ProjectPrometheus/AT_BookSearch . . . . 2 matches
         #format python
         DEFAULT_SERVICE_SIMPLE_PATH = "/servlet/SimpleSearch"
         DEFAULT_SERVICE_ADVANCED_PATH = "/servlet/AdvancedSearch"
          conn.request("POST", DEFAULT_SERVICE_SIMPLE_PATH, params, DEFAULT_HEADER)
          conn.request("POST", DEFAULT_SERVICE_ADVANCED_PATH, params, DEFAULT_HEADER)
          def testKoreanAndNumberWithSpace(self):
  • ProjectPrometheus/Iteration4 . . . . 2 matches
         || ["ProjectPrometheus/AcceptanceTestServer"] 작성 || 2 || ○ ||
         ["ProjectPrometheus"]/Iteration4
  • ProjectPrometheus/Iteration8 . . . . 2 matches
         || ["ProjectPrometheus/CollaborativeFiltering"] 설명 작성 ||
         ["ProjectPrometheus"]
  • ProjectPrometheus/MappingObjectToRDB . . . . 2 matches
         ProjectPrometheus 는 RDB-Object 연동을 할때 일종의 DataMapper 를 구현, 적용했었다. 지금 생각해보면 오히려 일을 복잡하게 한게 아닌가 하는 생각을 하게 된다. Object Persistence 에 대해서 더 간단한 방법을 추구하려고 노력했다면 어떻게 접근했을까. --["1002"]
         ["ProjectPrometheus"]
  • ProjectPrometheus/개요 . . . . 2 matches
         이런 프로젝트가 컴공과 학생에게 쉽게 떨어질리는 만무하다. 그래서 대부분은 디자인 단계에서 끝내게 된다. 유스케이스 몇개 그려보고 끝나는 것이다. 좀 더 용감하고 야망이 높은 사람들은 밑바닥부터 구축을 해나갈지도 모르겠다. 어찌 되었건 프로그래밍은 중요하다. 빌게이츠가 늘 하는 말이 "Code is the thing"이란다. 만약 프로그래밍을 직접 해보지 않고 끝내게 되면 자신이 배울 수 있는 엄청난 크기의 빙산을 그냥 지나치는 셈이다.
  • ProjectZephyrus/Thread . . . . 2 matches
         Zephyrus Project 진행중의 이야기들. Thread - Document BottomUp 을 해도 좋겠고요.
         가장 이상적인 상태는 예전 창준선배님이 세미나에서 이야기 했었던, '이러 이러한 라이브러리는 여기 있지 않을까 해서 봤더니 바로 그 자리에 있더라.' 하는 상태입니다. 그러면 최악은? '이러 이러한 라이브러리가 필요한데? 음.. 이쁘게 잘 만들어놓기는 귀찮고 에라 다음에 정리하지 뭐' 그리고는 해당 method들을 copy & paste. '''공통 모듈'''을 한곳에서 다루도록 하세요. 공통 모듈은 꽤 많습니다. logging, configuration, resource managing ,..
          synchronized( this ) {
  • PyGame . . . . 2 matches
         ["SDL"] 라이브러리를 이용해서 만든 게임개발용 ["Python"] 모듈.
         사용하기 정말 쉽다. [Python] Interpreter 에서 한줄 한줄 입력하면서 공부할 수도 있다.
  • PyIde/Exploration . . . . 2 matches
         Vim python box 써보다. VIM 의 해당 기능에 대한 빠른 Integration 은 놀랍기 그지없다. (BRM 이건, python 관련 플러그인이건)
  • PyIde/SketchBook . . . . 2 matches
         하지만, 손가락 동선의 경우 - ctrl + O 를 누르고 바로 메소드 이동을 한다. 일반 이동도 메소드 중간 이동은 CTRL +커서키. (이는 VIM 에서의 W, B) 위/아래는 커서키. 클래스로의 이동은 CTRL+SHIFT+T. Source Folding 도 주로 Outliner 에 의한 네비게이팅을 이용한다면 별로 쓸 일이 없다. 보통 의미를 두고 하는 행동들은 클래스나 메소드들 단위의 이동이므로, 그 밑의 구현 코드들에 대해 깊게 보지 않는다. (구현코드들에 대해 깊게 보는 경우가 생긴다면 십중팔구 Long Method 상황일것이다.)
         Python 으로 HTML Code Generator 를 작성하던중. 좀 무식한 방법으로 진행했는데, 원하는 HTML 을 expected 에 고스란히 박아놓은 것이다. 이는 결과적으로 test code 를 네비게이팅 하기 어렵게 만들었고, 해당 Generating 되는 HTML 의 추상도도 상당히 낮게 된다. 한화면에 보여야 할 HTML 데이터도 많아야 한다. 이는 결국 내가 에디터 창을 최대로 놓게 만들더니, 더 나아가 에디터 창의 폰트 사이즈을 11에서 8정도로 줄이고 모니터를 앞당겨 보게끔 만들었다. (15인치 LCD 모니터여서 해상도가 최대 1024*768 임.) 해당 상황에 대해 사람이 맞추는 것이 좋을까, 또는 툴의 Viewing 이 도움을 줄 방법이 있을까, 또는 사람이 이를 문제상황으로 인식하고 프로그램 디자인을 바꾸게끔 하는것이 좋을까.
  • PythonWebProgramming . . . . 2 matches
         Python WEB Proggramming
         http://people.linuxkorea.co.kr/~yong/python/docs/Cookie/
  • QueryMethod . . . . 2 matches
         === Query Method ===
         See Also ReplaceTempWithQuery
  • RandomWalk2 . . . . 2 matches
         ||신재동|| . ||Python||["RandomWalk2/재동"]||
         ||상규, 신재동|| 2시간 ||Python||["RandomWalk2/ExtremePair"]||
  • Refactoring/BuildingTestCode . . . . 2 matches
         == The Value of Self-testing Code ==
         나로하여금 self-testing code로의 길을 시작하게 한 계기는 OOPSLA '92의 한 이야기부터였다. 그때 누군가 (아마도 Dave Thomas)"클래스는 자기 자신의 테스트코드를 가지고 있어야 한다" 라는 말을 했다. 이 말은 테스트를 구성하기 위한 좋은 방법으로 여겨졌다. 나는 모든 클래스에 클래스 스스로를 테스트하는 메소드들 (''test''라 한다.)들을 가지도록 만들었다.
         그때 나는 increment development단계에 있었고, 나는 매번 increment 을 완료할때 클래스들에 test method들을 추가했다. 그때 했던 프로젝트는 꽤 작았었고, 우리는 우리의 increment 주기는 한주 단위정도였다. 테스트의 실행은 는 꽤 수월하게 되었다. 하지만 테스트들은 실행하기 쉬웠지만, 테스트를 하는 것은 여전히 지겨운 일이였다. 이것은 내가 체크해야 하는 모든 테스트들이 console 에 결과를 출력하도록 만들어졌기 때문이다. 나는 꽤 게으른 사람이고, 나는 일을 피하기 위해 꽤 열심히 일을 준비했다. 나는 이 클래스들이 프린팅 해주는 것을 체크하는 대신, 컴퓨터가 테스트를 수행하도록 했다.내가 할일은 테스트 코드에 내가 기대하는 결과를 작성하고, 그 비교를 수행하는 것이다. 자, 나는 모든 클래스들의 test method를 수행할 수 있었고, 모든 일이 잘 되면 단지 'OK' 가 출력되는 것을 확인하면 되었다. 이 클래스는 지금 스스로 자기 자신을 테스트를 했다.
  • Refactoring/RefactoringTools . . . . 2 matches
         == Refactoring with a Tool ==
         === Integrated with Tools ===
  • ReverseAndAdd/1002 . . . . 2 matches
          * 옆의 형이 matlab 으로 풀고 나는 python 으로 풀기 시작. python 이 시간이 약간 덜 걸렸는데,
  • ReverseAndAdd/문보창 . . . . 2 matches
         #include <cmath>
         === 코드(Python) ===
  • RoboCode/ing . . . . 2 matches
         http://zeropage.org/pub/upload/nilath.Nilath_1.0.jar
  • SOLDIERS/송지원 . . . . 2 matches
         #include <algorithm>
         #include <cmath>
  • STL/참고사이트 . . . . 2 matches
         The Code Project, C++/STL/MFC 에 대한 소개 http://www.codeproject.com/cpp/stlintroduction.asp
         C++ Standard Template Library, another great tutorial, by Mark Sebern http://www.msoe.edu/eecs/cese/resources/stl/index.htm
         Mumits STL 초보 가이드 (약간 오래된 것) http://www.xraylith.wisc.edu/~khan/software/stl/STL.newbie.html
  • Server&Client/상욱 . . . . 2 matches
          public ServerSocketTest() throws IOException {
          new Thread(sst).start();
          public static void main(String[] args) throws Exception {
  • Server&Client/영동 . . . . 2 matches
          public static void main(String[] args) throws IOException
          public static void main(String[] args) throws IOException
  • ShellSort . . . . 2 matches
         Elizabeth Windsor
         Elizabeth Windsor
  • SmallTalk/강좌FromHitel/강의2 . . . . 2 matches
          February 1995. With a bit of luck the answer will be 7."
  • SmallTalk/강좌FromHitel/소개 . . . . 2 matches
          if Data[i] = key then
         * Dolphin Smalltalk에서 제공하는 '3계층 응용 프로그램 모형'(three tiered
  • SmallTalk_Introduce . . . . 2 matches
          if Data[i] = key then
         * Dolphin Smalltalk에서 제공하는 '3계층 응용 프로그램 모형'(three tiered
  • SmithNumbers/이도현 . . . . 2 matches
         // no10042 - Smith Numbers
         [SmithNumbers] [AOI]
  • Squeak . . . . 2 matches
          * Play with Squeak
          * Squeak - Object-Oriented Design with Multimedia Application
         == Thread ==
  • StepwiseRefinement . . . . 2 matches
         구조적 프로그래밍에서 상위 모듈을 먼저 개발하고 여기서 사용하는 하?모듈들을 개발해 나가는 방법. EdsgerDijkstra와 Niklaus Wirth가 이 방법을 대중화시킨 것으로 유명하다.
         Niklaus Wirth 교수의 ''Program Development by Stepwise Refinement''(1971, CACM 14.4) (http://www.acm.org/classics/dec95/ )와 EdsgerDijkstra의 [http://www.cs.utexas.edu/users/EWD/ewd02xx/EWD227.PDF Stepwise Program Construction]을 꼬오옥 읽어보길 바랍니다. 전산학 역사에 길이 남는 유명한 논문들이고, 여기 소개된 SR은 Structured Programming에서 핵심적 역할을 했습니다. 당신은, 이 사람이 사용한 stepwise refinement에 상응하는 어떤 "일반적 문제 접근법 및 디자인 방법"을 갖고 있습니까? 이 글을 읽고 다른 문제에 stepwise refinement를 적용해 보십시오. Functional Programming이나 OOP에도 적용할 수 있습니까? 이 글을 읽고, 또 스스로 실험을 해보고 무엇을 배웠습니까? 이 stepwise refinement의 단점은 무엇이고, 이를 극복하는 방법은 무엇일까요? --김창준.
  • SummationOfFourPrimes/곽세환 . . . . 2 matches
         #include <cmath>
          int sumOfThreePrimes;
          sumOfThreePrimes = input - i;
          if (sumOfThreePrimes == primeTable[i] + primeTable[j] + primeTable[k])
         #include <cmath>
  • TheGrandDinner/김상섭 . . . . 2 matches
         #include <algorithm>
         #include <algorithm>
  • TheGrandDinner/하기웅 . . . . 2 matches
         - algorithm 라이브러리 너무 좋음..ㅋㅋㅋ
         #include <algorithm>
  • TheKnightsOfTheRoundTable . . . . 2 matches
         === TheKnightsOfTheRoundTable ===
         {{| The radius of the round table is: r |}}
         {{| The radius of the round table is: 2.828 |}}
         || 하기웅 || C++ || 1시간 || [TheKnightsOfTheRoundTable/하기웅] ||
         || 김상섭 || C++ || 엄청 || [TheKnightsOfTheRoundTable/김상섭] ||
         || 문보창 || C++ || 10분 || [TheKnightsOfTheRoundTable/문보창] ||
         || 허준수 || C++|| ? || [TheKnightsOfTheRoundTable/허준수] ||
  • TicTacToe . . . . 2 matches
         ||[zennith]||[TicTacToe/zennith]||
  • UML서적관련추천 . . . . 2 matches
         수업시간에 나갈 때의 어찌 하다보니, 주된 스타일은 'All it together' 그리고 그 이후의 단계별 접근으로 진행이 되었습니다. 해당 단계들에 대해서 처음에는 전체적인 부분을 한꺼번에 진행하고, 그리고 각 단계들을 보게 되었습니다.
         UML Distilled: A Brief Guide to the Standard Object Modeling Language,3rd Edition
         The Unified Modeling Language User Guide 2/E
         UML 을 만든 소위 Three-Amigo 라 불리는 3명이 저자인 책입니다. Grady Booch, Ivar Jacobson, James Rumbaugh. 1판 번역서가 도서관에 있던걸로 기억하는데, 앞부분만 읽어보셔도 정말 예술인 책입니다. 처음 읽었을때, '모델' 이라는 개념에 대해서 이렇게 멋지게 서술한 책이 또 있을까 생각이 들던 책이였습니다. 그리고, UML 을 공부할때 소위 '정석적'이라고 이야기하는 것들은 아마 이 유저가이드나 Reference Manual 에서 언급된 설명을 기준으로 말할 것이라 생각이 듭니다.
         The Unified Modeling Language Reference Manual (2/E)
  • UglyNumbers/곽세환 . . . . 2 matches
          * 답은 ''The 1500'th ugly number is <숫자>.'' 형식이어야 한다.
          cout << "The 1500'th ugly number is " << temp << "." << endl;
  • UglyNumbers/문보창 . . . . 2 matches
         #include <cmath>
          cout << "The 1500'th ugly number is " << num[1499] << ".\n";
  • UnixSocketProgrammingAndWindowsImplementation . . . . 2 matches
         Socket Programming in Python : [http://www.amk.ca/python/howto/sockets/]
  • UseCase . . . . 2 matches
         나는 Alistair Cockburn이나 KentBeck, Robert C. Martin 등의 최소 방법론 주의(barely sufficient methods)를 좋아한다. 나는 이 미니말리즘과 동시에 유연성, 빠른 변화대처성 등이 21세기 방법론의 주도적 역할을 할 것이라 믿어 의심치 않는다. Robert C. Martin이 자신의 저서 ''UML for Java Programmers''(출판예정)에서 [http://www.objectmentor.com/resources/articles/Use_Cases_UFJP.pdf Use Cases 챕터]에 쓴 다섯 페이지 글이면 대부분의 상황에서 충분하리라 본다.
          * [http://members.aol.com/acockburn/papers/usecases.htm Structuring Use Cases with Goals]
  • Vending Machine/dooly . . . . 2 matches
          this.money += money;
          this.money -= getPrice(item);
  • VisualStudio . . . . 2 matches
         예제 : ProjectTheCell (현재 진행중인 Othello Project)
          * 그리고 라이브러리 경로를 이 라이브러리들의 위치에 추가해야 합니다. Additional library path(추가 라이브러리 경로)에 라이브러리 파일이 있는 폴더를 추가해 주세요.
  • WantedPages . . . . 2 matches
         A list of non-existing pages including a list of the pages where they are referred to:
  • WikiName . . . . 2 matches
         A WikiName is a word that uses capitalized words. WikiName''''''s automagically become hyperlinks to the WikiName's page.
  • WikiProjectHistory . . . . 2 matches
         || ["우리홈만들기"] || ["물푸"],["setsuna"],["woodpage"],["zennith"]|| 2002년 2.28 종료 || 종료 ||
         || ["비행기게임"] || ["상협"], ["[Lovely]boy^_^"], ["신재동"] ||Python 으로 만드는 비행기 게임|| 종료 ||
  • WikiWiki . . . . 2 matches
         What the hell is a WikiWiki? See the OriginalWiki.
  • XML/PHP . . . . 2 matches
         // If you want to output the XML document to the browser or as standard output, use:
  • XMLStudy_2002/Resource . . . . 2 matches
          || XPath || [http://www.w3c.org/TR/xpath.html] ||
  • XpQuestion . . . . 2 matches
         ''Why not move these into XperDotOrg?''
         - ["1002"] 가 ProjectPrometheus 를 할때엔 거의 전체 작업을 Pair로 진행했다. Integration 비용이 전혀 들지 않았다. (두명이 멤버였으니; 당근!) 그리고 초기 소스와 지금 소스중 초기 모습이 남아있는 부분을 보면 '젠장. 왜 이렇게 짠거야? 이런 허접한...' 이다. 중복된 부분도 많고, 매직넘버도 남아있고, 처음엔 쓸거라 생각했던 일종의 어뎁터 역할을 하는 클래스는 오히려 일만 복잡하게 만들고 등등.
  • YetAnotherTextMenu . . . . 2 matches
         YetAnotherTextMenu? No, thanks.
  • YouNeedToLogin . . . . 2 matches
         == Thread ==
         그런데.. 보름 정도 YouNeedToLogin 모드로 사용하게 된다면, 로긴을 하지 않았을 때 글을 쓸 수 없다는 거지요? 그건, '로그인 하지 않고 글 쓰는 것' 을 막는 거겠군요. 개인의 자유에 맏겨두지 않고 말이지요. 전 반대합니다. 일단, 싫고, 자유와 가능성을 제한한다는 것이 싫습니다. --["zennith"]
          저의 이번 쟁점에 대한 의견 피력이었을 뿐입니다. 그리고, 잠시 그렇게 해보자는 것에 대해서는 저도 찬성 합니다. 다양성은 중요하니까요. 다만, 기간을 '확실히' 정했으면 좋겠습니다. 흐지부지 되지 않게 말이지요. --["zennith"]
  • ZIM . . . . 2 matches
          * CASE 도구 : Together 5.5, Rational Rose, Plastic
          * Toolsmith : 전체
  • ZPBoard . . . . 2 matches
          * ["ZPBoard/AuthenticationBySession"] - Session 을 이용한 회원 인증
         === Thread ===
          * 다들 ["ZPBoard/AuthenticationBySession"] 를 참고하여 일기장까지 제작하도록...^^ 궁금한건 언제든지 질문을~ --["상규"]
  • ZeroPageEvents . . . . 2 matches
         || 4.11. 2002 || ["SeminarHowToProgramIt"] || . || 세미나 & 진행 : ["JuNe"][[BR]] 참가 : 이선우, ["woodpage"], ["물푸"], ["1002"], ["상협"], ["[Lovely]boy^_^"], ["neocoin"], ["구근"], ["comein2"], ["zennith"], ["fnwinter"], ["신재동"], ["창섭"], ["snowflower"], ["이덕준"], 채희상, 임차섭, 김형용, 김승범, 서지원, 홍성두 [[BR]] 참관: ["최태호"], ["nautes"], ["JihwanPark"], 최유환, 이한주, 김정준, 김용기 ||
         || 7.15. 2002 ~ 7. 16. 2002 || ["2002년MT"] || ZeroPage MT~ || 김정훈(["정훈(K)의 페이지~"]), 신성재(["teruteruboz"]), 유상욱(["whiteblue"]), 이영록(["ricoder"]), 장재니(["E=mc²"]), 정재민(["Thor"]), ["창섭"], ["상협"], ["신재동"], 김남훈(["zennith"]), 강석천(["1002"], 류상민(["neocoin"]), 정해성(["phoenix_insky"]) ||
  • ZeroPageMagazine . . . . 2 matches
          S.O.S(the Source of the Source)
  • ZeroPageServer/Log . . . . 2 matches
          ''일단 쉘에서 직접 실행해 보고, {{{~cpp tail -f /etc/httpd/logs/error.log }}}를 해놓고 웹으로 실험해 보길. 그리고 cgi-handler 설정 확인해 볼 것. python이라면 cgitb를 써볼 것. --JuNe''
          -- 해결했습니다. path 가 잘못설정되어 있었군요..-_-
  • Zeropage/Staff . . . . 2 matches
          * [http://zeropage.org/wikis/nowthen2004/%C1%F6%B1%DD%B1%D7%B6%A72004/%C8%C4%B1%E2 2004년 후기]
          * [http://zeropage.org/wikis/nowthen2004/OST%C1%BE%C7%D5 지금그때2004년OST]
  • [Lovely]boy^_^/Diary/2-2-8 . . . . 2 matches
          * MythicalManMonth 3장 읽음
  • biblio.xsl . . . . 2 matches
          <xsl:output method="html" indent="yes"/>
          <strong><xsl:value-of select="author"/></strong>,
  • callusedHand/projects/algorithms . . . . 2 matches
          * '''ACM''' http://www.acm.inf.ethz.ch/ProblemSetArchive.html
         = Dictionary of Algorithms and Data Structures =
  • fnwinter . . . . 2 matches
          Python/Win32/델파이/VB/MFC/기타등등에 쓰일 범용 Skin Library
          http://netgroup-serv.polito.it/windump/ -zennith.
  • html5/web-storage . . . . 2 matches
          readonly attribute unsigned long length;
         = thread =
  • jQuery . . . . 2 matches
          * CSS1~3 및 기본적인 XPath 지원
         = thread =
  • lostship/MinGW . . . . 2 matches
          * 환경변수 path 에 /MinGW/bin 을 추가 한다.
          * .dll.4.5 파일들을 path 가 잡힌 디렉토리로 복사 한다.
  • neocoin/MilestoneOfReport . . . . 2 matches
         = Thing to Select both I/E Documents =
          * 알고리즘 설명(Algorithm Explanation)
  • to.상협 . . . . 2 matches
         #!/usr/local/bin/python
         urldump = commands.getoutput('lynx -width=132 -nolist -dump http://board5.dcinside.com/zb40/zboard.php?id=dc_sell | grep 995')
  • whiteblue/파일읽어오기 . . . . 2 matches
         #include <cmath>
          // Read the number of Book...
  • zennith/MemoryHierarchy . . . . 2 matches
          A: 각각의 계층마다 다릅니다. 캐쉬에서 쓰이는 unit 과 가상메모리에서 쓰이는 page 의 크기 차이는 큽니다. 다만, spartial locality 를 위해서 사용된다는 점은 같겠죠.. 좀더 상세한 설명을 원하신다면.. 제게 개인적으로 물어보시거나, 아니면 공부 하시길 -["zennith"]
         ["zennith"]
  • zennith/로망이없다 . . . . 2 matches
         편리하고 좋은 현대적인 어떤 소산물에 대해, 친구들과 이야기 할때에 ["zennith"]는 이야기의 마지막 즈음에 이런 이야기를 한다.
         ["zennith"]
  • zyint . . . . 2 matches
          || LPU4.0 Limited Edition || . || ★★★★·|| 라이브앨범 -ㅅ- with랑 it's goin' down, step up 좋다 +ㅁ+ [[BR]]아무래도 팬클럽회원 전용 앨범이라; 노래 수가 많지 않아 아쉽긴 하다.||
          || Mr. & Mrs. Smith || ★★★★· || 재밌다-_-; 막 싸우다가 갑자기 키스씬은 당황스러웠음; 툼레이더 나왔던 여주인공 다른사람인줄 알았다-_-; ||
  • 갓헌내기C,C++스터디 . . . . 2 matches
          * playing with C,엡솔루트 C++ , WINAPI , C로 쓴 자료구조론 (이석호 저)
          * playing with C는 내년에 새싹을 가르치는 만큼 스터디 보다는, 누군가를 붙잡고 가르쳐 보는것에 집중해서 공부를 진행
  • 강성현 . . . . 2 matches
          * [algorithmStudy/2013] [algorithmStudy/2014] (2013.11 - 2014)
  • 고슴도치의 사진 마을 . . . . 2 matches
         || [http://165.194.17.5/wiki/index.php?url=zeropage&no=3818&title=알고리즘&login=processing&id=celfin&redirect=yes algorithms] ||
         || [http://165.194.17.5/wiki/index.php?url=zeropage&no=3817&title=경시대회준비반&login=processing&id=celfin&redirect=yes preparing the ACM] ||
  • 공업수학2006 . . . . 2 matches
         Advanced Engineering Mathematics 9th ed
  • 그래픽스세미나/1주차 . . . . 2 matches
          * 비교하기전에 걸러내는 방법으로는 Cohen-Sutherland 알고리즘이 있다.
         || [남훈] || Upload:gl_triangle_znth.rar ||
  • 김민재 . . . . 2 matches
          * [OpenCamp/첫번째] Speaker - "Practice with jQuery UI + PHP + MySQL"
          * GDG pre-DevFest Hackathon 2013 참여
  • 김상협 . . . . 2 matches
         이멜 : sainthyup@ 핫 멜 점 컴
         엠에스엔 : sainthyup@ 핫맬컴
  • 김태형 . . . . 2 matches
         싸이월드 : 싸이//kthyung1
         MSN : kthyung1@hotmail.com
  • 데블스캠프2003/셋째날/후기 . . . . 2 matches
          * 오늘은 많은 언어를 접해볼 수 있어서 좋았다.. python 과 scheme 글구.. squeete? 암튼 색다른 경험이었다... 모든 프로그램에 있어 창의적인 생각으로 문제를 해결할 수 있었으면 좋겠다.... 6분 남았다.. 아~ 얼른 축구보러 가고 싶다... -- 손동일
          * 넷째날 시작하기 몇시간 전에 쓰는 후기 -ㅂ-; 새로운 언어 배운것 정말 재밌었구요^^ OOP에 대해 조금이나마 감이 잡힌것 같습니다. 개인적으로 python을 공부해보고 싶은 생각이..^^ scheme 이랑 squeak도 재밌었어요 ^^ 우물안 개구리가 되지 않도록 노력하겠습니당! 아..그리고 랜덤워크 거의 다짠거같은데 뭐가 문제지 ㅠ_ㅠ--[방선희]
  • 데블스캠프2005 . . . . 2 matches
         [데블스캠프2005/Python]
         [데블스캠프2005/VPython]
  • 데블스캠프2005/금요일/OneCard . . . . 2 matches
         #format python
          print 'you cannot handout that card'
  • 데블스캠프2005/월요일 . . . . 2 matches
          [http://xenbio.net/cgi/view/Xen/PlaySmalltalkWithIndexCard 잡담카드게임] 45m
          [http://c2.com/doc/oopsla89/paper.html A Laboratory For Teaching Object-Oriented Thinking]
          Object-Oriented Programming with Squeak
  • 데블스캠프2005/화요일 . . . . 2 matches
          === 2부 (Python) ===
          [데블스캠프2005/Python]
  • 데블스캠프2008/등자사용법 . . . . 2 matches
         Hello there?
         If you reach your dream, Think other idea by your fixed idea.
  • 데블스캠프2010/넷째날/DHTML . . . . 2 matches
         <form name="formname" method="get" action="otaku.php">
         <input type="text" size="10" maxlength="10">
  • 데블스캠프2011/넷째날/루비/김준석 . . . . 2 matches
          if a == b then
          else if a> b then
  • 데블스캠프2011/다섯째날/HowToWriteCodeWell/송지원,성화수 . . . . 2 matches
          floor = -Math.abs(i);
          // TODO Auto-generated method stub
  • 데블스캠프2011/다섯째날/HowToWriteCodeWell/정의정,김태진 . . . . 2 matches
          // TODO Auto-generated method stub
          // TODO Auto-generated method stub
  • 데블스캠프2011/다섯째날/PythonNetwork . . . . 2 matches
         == Python Client ==
         print ('- Empty message to stop this client.')
  • 데블스캠프2012/넷째날/묻지마Csharp/Mission3/서민관 . . . . 2 matches
          char firstChar = text[text.Length-1];
          text = text.Substring(0, text.Length - 1);
  • 데블스캠프2012/첫째날/배웠는데도모르는C . . . . 2 matches
          int month;
          scanf("%d%d%d",&s_no1.number[num].year,&s_no1.number[num].month,&s_no1.number[num].day);
  • 디자인패턴 . . . . 2 matches
          * 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
  • 레밍딜레마 . . . . 2 matches
          * Title : 레밍 딜레마 ( The Lemming Dilemma )
          * Author : 데이비드 허친스
         시리즈 물인데, 같은 시리즈의 하나인 혜영이가 남긴 감상 [http://zeropage.org/jsp/board/thin/?table=multimedia&service=view&command=list&page=0&id=145&search=&keyword=&order=num 네안데르탈인의 그림자] 와 같은 짧고 뜻 깊은 이야기이다. 왜 이 책을 통해서 질문법을 통한 실용적이며, 진짜 실행하는, 이루어지는 비전 창출의 중요성을 다시 한번 생각하게 되었다. ["소크라테스 카페"] 에서 저자가 계속 주장하는 질문법의 힘을 새삼 느낄수 있었다.
  • 문자열검색/허아영 . . . . 2 matches
         His teaching method is very good.
          char x[40] = "His teaching method is very good.";
  • 문제풀이게시판 . . . . 2 matches
          * The Algorithm Design Manual
         see also HowToStudyDataStructureAndAlgorithms
         == Thread ==
  • 방울뱀스터디/GUI . . . . 2 matches
         button.place(30, 30, width=70, height=25)
         listbox.pack(side=LEFT, fill=BOTH)
         textArea = Text(frame, width=80, height=20)
  • 불의화법 . . . . 2 matches
          * Title : 불의 화법(In the line of fire)
          * Author : 제리 와이스먼(Jerry Weissman)
  • 비행기게임/진행상황 . . . . 2 matches
          * Python으로 제작할 예정인 비행기 게임의 진행상황을 체크하는 페이지 입니다.
          * 7.7 ~ 7.8 : 대략적인 파이썬 문법 공부 완료, wxPython이나 Pygame 대충 훝어보기 시작함
  • 삼각형매크로/임다찬 . . . . 2 matches
         #define tri(width,height) width*height/2.0
  • 상협/감상 . . . . 2 matches
         || [MythicalManMonth] || - || 1 || 굿 || 옛날 영어라 그런지 좀 해석하기 어렵다 ||
  • 새싹교실/2012/AClass . . . . 2 matches
          * 클래스, 생성자, 캡슐화, default 생성자, this, overloading 등등.
          * [도상희] - 완전 많이써야지. this의 용법. 그리고 어......... 디폴트 생성자 그리고 오늘 배운게 끝인거 같은데...
  • 새싹교실/2012/새싹교실강사교육/2주차 . . . . 2 matches
         #include<math.h> //Rand를 가져오는 헤더파일
         2.5 #include<math.h>, #include<stdlib.h>, #include<time.h>
  • 새싹교실/2012/우리반 . . . . 2 matches
          * 새싹교실이 ZeroPage에서 시행되는만큼 4F([ThreeFs] + Future Action Plan)에 맞게 feedback을 작성합니다.
          * 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 || && ! 등.
  • 새싹교실/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.
  • 설득의심리학 . . . . 2 matches
          * 작은 약속부터 시작하는 문전 걸치기 기법(the foot in the door technique)
  • 송지원 . . . . 2 matches
          * [Clean Code With Pair Programming]
          * 월요일 오프닝([데블스캠프2011/첫째날/오프닝])과 Play with Java([데블스캠프2011/첫째날/Java]) 세미나 진행.
  • 송치완 . . . . 2 matches
          * [https://github.com/bethesirius/ChosunTruck]
  • . . . . 2 matches
          ||[이영호]||nilath 골뱅이 hanmail 닷 net||=ㅂ=||
          ||[임수연]||theeric 골뱅이 hotmail 닷 com|| ||
         == Thread ==
  • 수업평가 . . . . 2 matches
         ||AlgorithmClass || 6 || 3 || 3 || -2 || 10 || 3 ||3.33||
         ||DiscreteMathematicsClass || 8 || 4 || 7 || 2 || 21 || 6 ||3.5 ||
  • 시간관리인생관리 . . . . 2 matches
          * 원제 : Get everything done and still have time to play
          * Author : 마크 포스터 (지은이), 형선호 (옮긴이)
  • 실시간멀티플레이어게임프로젝트/첫주차소스1 . . . . 2 matches
         earth=(0,0)
         print earth
  • 실시간멀티플레이어게임프로젝트/첫주차소스2 . . . . 2 matches
         import random, math, time
          if math.sqrt( (i[0] - pos[0])**2 + (i[1] - pos[1])**2 ) < scanlimit:
  • 알고리즘8주숙제/문보창 . . . . 2 matches
         #include <algorithm>
         #include <cmath>
  • 압축알고리즘/희경&능규 . . . . 2 matches
          int length = strlen(pass);
          for(int i = (length-1); i < 0; i--)
  • 여섯색깔모자 . . . . 2 matches
          * Title : 생각이 솔솔 여섯 색깔 모자 ( Wiki:SixThinkingHats )
          * Author : Edward de Bono (에드워드 드 보노)
         See Also Wiki:SixThinkingHats
         [http://docs.google.com/present/view?id=0AdizJ9JvxbR6ZGNrY25oMmpfM2Q5djhkOGNq&hl=ko&authkey=CKTc9ZoI 2010/7월의세미나/여섯색깔모자]
         = Thread =
  • 위시리스트/130511 . . . . 2 matches
          * http://www.interpark.com/product/MallDisplay.do?_method=detail&sc.shopNo=0000100000&firpg=01&sc.prdNo=13003385&sc.dispNo=016001&sc.dispNo=016001
          * 모기향: The Summer is Comming... - [권순의]
          * The C# Programming Language (Fourth Edition) 한국어판 - [김민재]
  • 유닛테스트세미나 . . . . 2 matches
         [http://ljh131.dothome.co.kr/bbs/view.php?id=works&page=1&sn1=&divpage=1&sn=off&ss=on&sc=on&select_arrange=headnum&desc=asc&no=22]
         = thread =
  • 이병윤 . . . . 2 matches
          *[http://www.overthewire.org/wargames/drifter/ Drifter] WarGame 풀이
          - 사용 언어 : Python
  • 이성의기능 . . . . 2 matches
         이전 교양으로 '교육의 이해' 수업을 들을때 레포트로 나왔었던 NoSmok:AlfredNorthWhitehead 의 책. 그당시 책을 읽을때 완전히 이해를 하지 못해서인지도 모르겠지만, 매번 읽을때마다 나에게 의미를 주는 책.
         See Also NoSmok:이성의기능 , NoSmok:AlfredNorthWhitehead
  • 이영호/개인공부일기장 . . . . 2 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)
  • 임인택/Temp . . . . 2 matches
         http://zeropage.org/~dduk/dcmp/python-2.4.1.msi
         http://zeropage.org/~dduk/dcmp/wxPython2.6-win32-unicode-2.6.0.1-py24.exe
  • 정모/2011.10.5 . . . . 2 matches
          * 구글 I/O에서 I/O는 Innovation in the Open을 의미한다.
          * 오늘은 정모 중간에 나가야해서 아쉬웠지요 ㅠㅠㅠ 지원이누나가 해주신 세미나는 오늘 날 물먹인 아이폰의 대항마라 생각해서 재밌게(?) 들었네요. 아아니 그게 아이언맨을 모토로 한거라니.. 이상과 현실의 괴리?? 그리고 민규의 세미나도 민규가 저런걸 할거란걸 기대하지 않고 갔는데 꽤나 유익한 걸 설명해주어서 정말 재밌었어요.(Blender를 배우고 있는데 이게 참 쉽지가 않더라구요) 아, 요새 후기가 많이 올라오지 않아 아쉽기도 한데 다들 잘 올려주시면 좋겠어요~ + 저랑 진경이(with 진규) 다음달에 대전갑니다! -[김태진]
  • 정모/2012.1.27 . . . . 2 matches
          * Devils Camp with another univ.
          * [고한종] 학우의 '''새해복 많이 받으세요''' 부제 : Theorem of Aggro // 세뱃돈
  • 정모/2012.11.5 . . . . 2 matches
          * [김태진]학우의 ACM_ICPC with algorithms
  • 정모/2012.3.19 . . . . 2 matches
          * This meeting was so interesting. I was so glad to meet Fabien. From now, I think we should make our wiki documents to be written in English. - [장용운]
          * Hmm.. I think it isn't good idea. If we only use English in Wiki, nobody will use Wiki...--; -[김태진]
  • 정모/2013.3.18 . . . . 2 matches
          * Q : 개발자가 필요하셔서 오셨다고 했는데, 어떤 개발자를 원하시는지? A : everything(...), 안드로이드 할 수 있으면 된다고 생각함. 서버 유지관리도. 아이폰 점유율 망해서 안 할 생각.
          * nForge에서 Github으로 바뀌었습니다.
  • 조영준/다대다채팅 . . . . 2 matches
         using System.Threading.Tasks;
         using System.Threading;
         using System.Threading.Tasks;
         using System.Threading;
          Thread t1 = new Thread(new ThreadStart(manageConnection));
          Thread t3 = new Thread(new ThreadStart(ManageChat));
          stream.Write(byteSend, 0, byteSend.Length);
         using System.Threading.Tasks;
         using System.Threading;
          Thread t = new Thread(new ThreadStart(doChat));
         using System.Threading.Tasks;
         using System.Threading;
          Thread t1 = new Thread(new ThreadStart(read));
          Thread t2 = new Thread(new ThreadStart(write));
          networkStream.Write(byteSend, 0, byteSend.Length);
  • 중앙도서관 . . . . 2 matches
         이런 프로젝트가 컴공과 학생에게 쉽게 떨어질리는 만무하다. 그래서 대부분은 디자인 단계에서 끝내게 된다. 유스케이스 몇개 그려보고 끝나는 것이다. 좀 더 용감하고 야망이 높은 사람들은 밑바닥부터 구축을 해나갈지도 모르겠다. 어찌 되었건 프로그래밍은 중요하다. 빌게이츠가 늘 하는 말이 "Code is the thing"이란다. 만약 프로그래밍을 직접 해보지 않고 끝내게 되면 자신이 배울 수 있는 엄청난 크기의 빙산을 그냥 지나치는 셈이다.
  • 지금그때2003/ToDo . . . . 2 matches
          * http://zeropage.org/pub/nowthen/
          * http://zeropage.org/pub/nowthen/view_register.php
  • 지금그때2003/선전문 . . . . 2 matches
         지금그때에 함께 하실 분은 <B><A HREF = "http://zeropage.org/pub/nowthen" target=new>이야기 참가 신청 Go!</A></B>에서 미리
         <B><A HREF = "http://zeropage.org/pub/nowthen">이야기 참가 신청</A></B>
  • 지금그때2004 . . . . 2 matches
         || wiki:NowThen2004/패널토의 ||
         || wiki:NowThen2004/OST종합 = wiki:NowThen2004/복수전공 + wiki:NowThen2004/시간관리 + ? ||
         wiki:NowThen2004/지금그때2004 에서 활동을 정리하세요.
         wiki:NowThen2004/지금그때2004/후기 에서 후기를 기록해 주세요.
         == Thread ==
         갈 수 있을지 없을지 잘 모르겠네요. 갑자기 취업이 되어버려서.. 6일에 쉴 수 있는지 물어보고 쉬어도 된다고 하면 참여 하겠습니다. --[zennith]
         Berkeley Visionaries Prognosticate About the Future http://netshow01.eecs.berkeley.edu/CS-day-004/Berkeley_Visionaries.wmv 이걸 보면 대충 감이 올겁니다. 이 동영상의 경우 뛰어난 패널진에 비해 진행자가 그리 좋은 질문을 하지 못해서 아쉽기는 합니다. 좋은 질문을 하려면 서점이나 도서관에서 [질문의 힘]이라는 책을 읽어보세요. 그리고 04학번 눈높이의 질문에 대한 고학번들의 생각을 들어보는 것도 중요하지만 04학번이 전혀 생각 못하는 질문을 대신 물어주는 것도 중요합니다. 고객과 요구사항을 뽑는 것과 비슷할 수 있겠죠. "그들이 원하는 것"은 물론 "그들이 필요로 하는 것"(주로, 나중에 그들이 원할만한 것)을 이야기해야 하니까요 -- 또 종종 그들은 자신이 뭘 원하는지 모르는 경우도 많습니다.
  • 지금그때2004/게시판홍보문안 . . . . 2 matches
         <a href = "http://dduk.idaizy.com/nowthen/apply.php" target = _blink> <font color = "blue">☞ 신청하러 가기 ☜ </font> </a>
         <a href = "http://dduk.idaizy.com/nowthen/apply.php" target = _blink> <font color = "blue">☞ 신청하러 가기 ☜ </font> </a>
  • 지금그때2005 . . . . 2 matches
          * [지금그때2005/홍보], [http://zeropage.org/~dduk/memo/memo.php?id=nowthen2005 신청페이지]
         == Thread ==
         질문 레스토랑과 OST시간은 [http://zeropage.org/wikis/nowthen2004/%C1%F6%B1%DD%B1%D7%B6%A72005 지금그때위키]에 정리하여 [지금그때]가 누적될 수 있도록 하는게 좋겠다는 생각을 하네요.--[Leonardong]
  • 책분류Template . . . . 2 matches
         DeleteMe when you fill in this page (이 페이지를 채워 넣을 때 삭제해 주세요)
          * Author :
  • 최소정수의합/나휘동 . . . . 2 matches
          | otherwise = (n, sum [1..n])
          | otherwise = (n, naturalSum n)
  • 최소정수의합/송지훈 . . . . 2 matches
          cout << "The smallest 'n' for making the number what we want" << endl;
          |otherwise = x + little_sum xs (y-x)
  • 최소정수의합/임인택 . . . . 2 matches
         import math
          _b_4ac = math.sqrt(b*b-4*a*c)
  • 파이썬으로익스플로어제어 . . . . 2 matches
          * [http://prdownloads.sourceforge.net/pywin32/pywin32-204.win32-py2.4.exe?download Python 2.4 버전]
          * [http://prdownloads.sourceforge.net/pywin32/pywin32-204.win32-py2.3.exe?download Python 2.3 버전]
  • 프로그래머가알아야할97가지 . . . . 2 matches
         오라일리 출판사의 97 Things 시리즈 중 첫번째. http://programmer.97things.oreilly.com
          * [/ActWithPrudence]
  • 프로그래밍잔치/첫째날 . . . . 2 matches
          * '''Think Difference 낯선 언어와의 조우'''
          * 언어를 이용하면서 문제 풀기. & 해당 언어에 대해서 위키에 Thread - Document 작성
          * L ["Python"] - 임영동, 세연, 김기웅, 은지
         === 시간 - Think Different! 낯선언어와의 조우! ===
          * Python 은 메소드(함수, 프로시저)의 길이가 7줄을 넘으면 안된다. line 기준
  • 학회간교류 . . . . 2 matches
          * XP, MFC, Algorithms
          * InfoPath 사용
         === Thread ===
  • 후각발달특별세미나 . . . . 2 matches
          cout << "addr of f in " << funcCount << "th call : " << f << endl;
          cout << "addr of b in " << funcCount << "th call : " << b << endl;
          프로젝트 때문에 빠르게 진행한게 아니라 선전부 모임때문에... 여튼 간결하게 하는 건 중요하다. 시간 되면 {{{~cpp The One Page Proposal}}}을 읽어보도록 해. --재동
  • 02_Archi . . . . 1 match
         HERE COMES NEW CHALLENGER. 난입해서 딴지걸어도 되나요? -zennith
  • 02_C++세미나 . . . . 1 match
          * 윗분은 누구신지.. 그럼 제가 기초를 하죠. 그런데 02한테 지금 oop 를? ; 그리고.. 포인터 할때는 제가 서포트 갈께요;; -zennith
  • 1thPCinCAUCSE/ExtremePair전략 . . . . 1 match
         === Thread ===
         ["1thPCinCAUCSE"]
  • 1thPCinCAUCSE/ProblemA . . . . 1 match
         ["1thPCinCAUCSE"], ["문제분류"]
  • 1thPCinCAUCSE/ProblemB . . . . 1 match
         ["1thPCinCAUCSE"], ["문제분류"]
  • 1thPCinCAUCSE/ProblemC . . . . 1 match
         ["1thPCinCAUCSE"], ["문제분류"]
  • 2002년MT . . . . 1 match
          버스타고 갑시다.. 다들 귀찮.. -zennith
  • 2002년도ACM문제샘플풀이/문제B . . . . 1 match
         #include <algorithm>
  • 2002년도ACM문제샘플풀이/문제C . . . . 1 match
          Means Ends Analysis라고 하는데 일반적인 문제 해결 기법 중 하나다. 하노이 탑 문제가 전형적인 예로 사용되지. 인지심리학 개론 서적을 찾아보면 잘 나와있다. 1975년도에 튜링상을 받은 앨런 뉴엘과 허버트 사이먼(''The Sciences of the Artificial''의 저자)이 정립했지. --JuNe
  • 2010JavaScript . . . . 1 match
          -[김정혜] : 저는 Events, Throw, Try...Catch, Animation 을 공부했음^_^
         == after that.. ==
  • 2012/2학기/컴퓨터구조 . . . . 1 match
          * Abstraction helps us deal with complexity
  • 2dInDirect3d/Chapter2 . . . . 1 match
         Width = 800: (대개 화면의)넓이
          == Present The Scene ==
  • 2dInDirect3d/Chapter3 . . . . 1 match
         RHW : Reciprocal of the homogenous W coordinate
  • 2thPCinCAUCSE/ProblemA/Solution/상욱 . . . . 1 match
         == Thread ==
         [2thPCinCAUCSE/ProblemA/Solution]
  • 2thPCinCAUCSE/ProblemB/Solution . . . . 1 match
         ["2thPCinCAUCSE/ProblemB"] 의 해.
  • 2thPCinCAUCSE/ProblemC/Solution . . . . 1 match
         ["2thPCinCAUCSE/ProblemC"] 의 해.
  • 3 N+1 Problem/조동영 . . . . 1 match
          cout << "MAX cycle-length값은 " << CheckCount(num1,num2) << "입니다." << endl;
  • 3DGraphicsFoundation . . . . 1 match
          * 수학함수 모듈 인터페이스 예제 - C style : ["3DGraphicsFoundation/MathLibraryTemplateExample"]
  • 3D프로그래밍시작하기 . . . . 1 match
         학규(neolith)
  • 3rdPCinCAUCSE . . . . 1 match
         사용언어: C/C++ with Visual C++ 6.0
         [3rdPCinCAUCSE/FastHand전략]
  • 3학년강의교재/2002 . . . . 1 match
          || 알고리즘 || (원)foundations of algorithms || Neapolitan/Naimpour || Jones and Bartlett ||
          || 데이터통신 || The Essential Guide to Wireless Communications Applications || Andy Dornan || Prentice-Hall ||
  • 5인용C++스터디/더블버퍼링 . . . . 1 match
         bx=bit.bmWidth;
  • 5인용C++스터디/멀티미디어 . . . . 1 match
          hWndAVI=MCIWndCreate(this->m_hWnd, AfxGetInstanceHandle(), 0, "cf3.avi");
  • 5인용C++스터디/스택 . . . . 1 match
         || 나휘동 || Upload:homework-stack_withclass.cpp || 참 잘했어요ㅋㅋ ||
  • 5인용C++스터디/에디트박스와콤보박스 . . . . 1 match
          CRect(10, 10, 300, 35), this, IDC_MYEDIT);
  • ACE . . . . 1 match
         = thread=
  • ACM_ICPC/2011년스터디 . . . . 1 match
          * Anything else..
         || [권순의] || 1298 || The Hardest Problem Ever ||The Easiest Problem Ever -ㅅ- ||
         || [정의정] || 2970 || The lazy programmer ||물론 제가 게으르다는 말은 아닙니다. ||
          * [TheHardestProblemEver/권순의]
          * [RabbitHunt/김태진] // 왜 소숫값을 못받니.. 어째 코드가 완성이 되가더니.. (아직 낫 accept;;)
          * PIGS(1149)와 The lazy programmer(2970) 중에서 하나 풀어오기
          * 그래서 [정진경]군이 157번[http://koistudy.net/?mid=prob_page&NO=157 The tower of Hanoi]문제를 풀고, 설명한 후 [Mario]문제(선형적인 문제)를 풀게하여 연습을 한 후 다시 파닭문제에 도전하게 되었습니다.
  • AI오목컨테스트2005 . . . . 1 match
          * http://zeropage.org/trac/namsangboy/browser/Omok - 상협의 Python으로 만든 오목 AI (기초적인 것만 함)
         = Thread =
  • AOI/2004 . . . . 1 match
          || [TheTrip] || . || X || O || O || O || O || . || O ||
          || [CheckTheCheck] || . || . || O || . || . || . || . || O ||
          || [PrimaryArithmetic]|| . || . || O || O || . || . || . || . ||
          || [TheArcheologist'sDilemma]|| . || . || X || . || . || . || . || . ||
  • APlusProject . . . . 1 match
         Taeyo's ASP.NET with C# -영진닷컴 Ch5~Ch6
  • AcceleratedC++/Chapter12 . . . . 1 match
          return *this;
  • AcceleratedC++/Chapter16 . . . . 1 match
         == 16.1 Use the abstractions you have ==
  • AcceleratedC++/Chapter5 . . . . 1 match
          === 5.2.4 The meaning of students.erase(students.begin() + i) ===
          == 5.5 The list type ==
          === 5.5.2 Why bother? ===
  • AdvancedJS . . . . 1 match
          * 개인적으로 자바스크립트에 관심도 있고 해서 세미나를 들으러 왔다. 근데 가끔 웹페이지에서 자바스크립트 소스를 보면 C++이랑 비슷하게 쓰길래 그냥 비슷한 언어인가 싶었는데, 이번에 들어보면서 오히려 다른 점이 크게 부각된 느낌이다. C++이랑 비교해서 상속 방식도 다르고(프로토타입 상속) this의 개념도 좀 다르고 함수가 객체로 취급되고 등등. 물론 나중에 따로 책을 보면서 공부를 하긴 하겠지만 아마 이번에 배운 내용은 책에서 쉽게 찾아볼 수 없지 않을까 싶다. - [서민관]
  • AnEasyProblem/권순의 . . . . 1 match
         #include <cmath>
  • AnalyzeMary . . . . 1 match
         주변에서 남들과 비슷하게 일을 하는 듯 하면서 늘 더 나은 성과를 보이는 사람들이 있다. 대부분은 "메리에겐 뭔가 특별한 것이 있다"(There is something about Mary) 수준의 감탄사를 외치는 데에서 끝난다. 그러면서 나는 왜 그들처럼 될 수 없을까 한탄하고, 곧 까맣게 잊는다.
  • AndOnAChessBoard/허준수 . . . . 1 match
         #include <cmath>
  • AntOnAChessboard/김상섭 . . . . 1 match
         #include <math.h>
  • AntOnAChessboard/문보창 . . . . 1 match
         #include <cmath>
  • AntOnAChessboard/하기웅 . . . . 1 match
         #include <cmath>
  • Applet포함HTML/상욱 . . . . 1 match
         <applet code=Applet1 whdth=200 height=70>
          WIDTH = 200 HEIGHT = 70 >
          WIDTH = 200
         <APPLET CODE = Applet1 WIDTH = 200 HEIGHT = 70>
  • Applet포함HTML/영동 . . . . 1 match
         <applet code=AppletTest width=200 height=100>
          WIDTH = 200 HEIGHT = 100
          WIDTH = 200
         <APPLET CODE = AppletTest WIDTH = 200 HEIGHT = 100>
  • ArsDigitaUniversity . . . . 1 match
          * MIT 박사 과정 타라 수잔의 교수 경험 http://www-math.mit.edu/~tsh/teaching/aduni.html
  • AstroAngel . . . . 1 match
          * 명덕초('91) → 문백초('94) → 문일중('96) → 문일고('99) → 중앙대('02) with KJSE('02)
          * 정재민 : ["Thor"]
  • AustralianVoting . . . . 1 match
         Jane Smith
  • BasicJAVA2005/실습2/허아영 . . . . 1 match
          buttons[count].addActionListener(this);
  • Benghun . . . . 1 match
         다른 곳으로 이사중 [http://earth.uos.ac.kr/~puteri/cgi-bin/puteri/wiki.cgi?강병훈 강병훈]
         === Thread ===
  • BirthdayCake/허준수 . . . . 1 match
         [BirthdayCake]
  • BookShelf . . . . 1 match
          1. [IntroductionToAlgorithms]
          1. [TheElementsOfStyle] 4e
  • Bridge/권영기 . . . . 1 match
         #include<algorithm>
  • BusSimulation/영창 . . . . 1 match
         구현특이사항 : vector, map, algorithm 등 stl 클래스 사용
  • B급좌파 . . . . 1 match
         글 투를 보면 대강 누가 썼는지 보일정도이다. Further Reading 에서 가끔 철웅이형이 글을 실을때를 보면.
  • C 스터디_2005여름/학점계산프로그램/김태훈김상섭 . . . . 1 match
         #include <algorithm>
  • CCNA . . . . 1 match
          * ethernet: CSMA/CD- 이더넷 통신에서 사용하는 프로토콜이다. 회선이 사용중이지 않을때 전송하고 충돌이 생기면 일정시간후 재전송한다.
  • CNight2011/송지원 . . . . 1 match
         == Round 3 - 야 to the 식 ==
  • CPPStudy_2005_1/STL성적처리_2 . . . . 1 match
         #include <algorithm>
  • CPPStudy_2005_1/STL성적처리_3 . . . . 1 match
         #include <algorithm> //sort
  • CPPStudy_2005_1/STL성적처리_3_class . . . . 1 match
         #include <algorithm> //sort
  • CPPStudy_2005_1/STL성적처리_4 . . . . 1 match
         #include <algorithm>
  • CPPStudy_2005_1/질문 . . . . 1 match
         #include <algorithm>
  • CPP_Study_2005_1/BasicBusSimulation/남상협 . . . . 1 match
         = thread =
  • CarmichaelNumbers/문보창 . . . . 1 match
         Carmichael Numbers를 찾는 Theorem이 있는 듯하다. 그러나 때려맞추기(?)로 문제를 풀어도 풀린다. 그러나 속도는 떨어진다.
         #include <cmath>
          cout << "The number " << n << " is a Carmichael number.\n";
  • ChartDirector . . . . 1 match
         Python 뿐만 아니라 다양한 언어들을 지원. Documentation 또한 잘 되어있고 사용도 간단.
  • CheckTheCheck/문보창 . . . . 1 match
         // no10196 - Check the Check
         [CheckTheCheck] [문보창]
  • ChocolateChipCookies/허준수 . . . . 1 match
         #include <cmath>
  • ClassifyByAnagram/1002 . . . . 1 match
         P3 933, 128 RAM Win98 Python2.2 + Psyco 에서 돌림.
  • ClassifyByAnagram/JuNe . . . . 1 match
         P4 1.8Ghz 512MB Win XP Python 2.2.1에서 17만 단어로 실행하면 4초. 프로세스 메모리 점유 약 31MB. 만약 psyco로 bind를 해주면(if문 위에 {{{~cpp import psyco;psyco.bind(Aangram)}}}을 추가) 3.4초.
  • ClassifyByAnagram/박응주 . . . . 1 match
         P3 700MGhz 384MB Win2000 Python 2.2.1에서 17만 단어로 실행하면 8.8초.
  • ClassifyByAnagram/상규 . . . . 1 match
         #include <algorithm>
  • CodeRace/20060105 . . . . 1 match
         = thread =
  • CodeRace/20060105/도현승한 . . . . 1 match
         #include <algorithm>
  • CodeRace/20060105/아영보창 . . . . 1 match
         #include <algorithm>
  • CodingStandard . . . . 1 match
         진행해본 프로젝트들의 경우, 주로 자바는 자바 코딩스타일을, Python 은 Smalltalk Style 을 이용했었다. --["1002"]
  • CollectiveOwnership . . . . 1 match
         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) 기능을 쓰거나, 해당 언어 파서를 이용하는 간단한 스크립트를 작성해서 쓰는 방법 등이 있다. 이렇게 큰 걸음을 디디는 경우에는 자동화 테스트가 필수적이다.
  • CommentEachOther . . . . 1 match
         전에도 느꼈었고, 여러 대가들께서도 자주 말씀하시곤 하는데, 자신의 코드의 퀄리티를 높이려면 남이 만들어놓은 소스를 보라는 이야기가 있다. 이 글을 읽는 분들도 동의하리라 생각한다. CommentEachOther 는 [AOI]나 LittleAOI 처럼 여러 사람이 한 문제에 대한 풀이를 올리고 그것들에 대한 코멘트를 하는 스터디라 할 수 있겠다. 여기서 코멘트라 함은 소스코드에서 명령문 옆에 붙이는 간단한 부연설명이 될 수도 있겠고, 코드 전체에 대한 비평이나 느낌일수도 있다. 처음에는 간단한 문제로 시작해서 디자인 principle 이 들어가있는 프로그램으로 횟감의 스케일을 키워나가는게 어떨까 생각을 한다. 나는 그냥 제안하는 입장이고, 간혹 간단하게 작성한 소스를 올리는 정도로만 참여하도록 하고, 적극적인 참여를 할 사람들이 생기면 이곳에 문제와 자신의 코드를 올리고 토론을 해봤으면 좋겠다. 토론의 방법이야 오프라인 모임에서 하거나 따로 코멘트 페이지를 만들거나. 자. 다들 어떻게 생각하시는지? 참여할분들(!) 계시면 아래에 참여자 목록과 문제를 업로드해 주셨으면.~ - 임인택
  • CommonPermutation . . . . 1 match
         the
  • ComputerGraphicsClass/Exam2004_2 . . . . 1 match
         === Ploygon Rendering Methods ===
         곡선(수식)을 나타내는 기본 형태(Three basic forms of curves)를 쓰고, 이 중에서 컴퓨터 그래픽스에서 어떤 형태가 가장 적합한지 그 이유를 설명하시오.
  • ComputerNetworkClass/2006 . . . . 1 match
          * http://zerowiki.dnip.net/~namsangboy/program/ethereal.exe
  • Counting/문보창 . . . . 1 match
         using BigMath::BigInteger;
  • Counting/하기웅 . . . . 1 match
         using BigMath::BigInteger;
  • CppStudy_2002_2/슈퍼마켓 . . . . 1 match
         Welcome to the ACME supermarket.
  • CubicSpline/1002/LuDecomposition.py . . . . 1 match
         #format python
  • CubicSpline/1002/TriDiagonal.py . . . . 1 match
         #format python
  • CubicSpline/1002/test_lu.py . . . . 1 match
         #format python
  • CubicSpline/1002/test_tridiagonal.py . . . . 1 match
         #format python
  • CvsNt . . . . 1 match
         cvsgraph_path =F:webviewcvswindowsbinaries # 윈도우즈환경이고 잘 안될경우 절대경로로.
  • DNS와BIND . . . . 1 match
          리소스 레코드들의 (일반적)순서 - SOA(start of authority) 레코드, NS(name server) 레코드, 기타 레코드, A(address), PTR(pointer), CNAME(canonical name)
  • DataCommunicationSummaryProject/Chapter8 . . . . 1 match
         = The Air Link =
         === The Home Location Register(HLR) ===
         === The Visitors' Location Register(VLR) ===
         === The Equipment Identity Register(EIR) ===
         === The Authentication Center(AuC) ===
         === The Messaging Center ===
          * The Gateway Mobile Switching Center (GMSC)는 스위칭 체계의 최 상위에 있다.
         == The GPRS Backbone ==
         == The Gateway Node ==
          * The Point-to-Multipoint Service Center(PTM SC), Qos 문제를 다루는 서버이다. 돈을 더 많이 낸 고객에게 통신에서 우선권을 준다. 그리고 소리와 그림과 같이 데이터의 종류에 따라 우선권을 달리 준다.(소리가 더 속도에 민감하다.)
          * The Border Gateway(BG), roaming을 다룬다. 이것은 주로 필터링을 통해서 원하지 않는 연결을 막는 방화벽에 연결되어 있다.
          * The GPRS Charging Gateway(GCG), 요금 지불 옵션을 전문적으로 하기 위해서 필요하다.
          * The Lawful Interception Gateway(LIG), 당국이 GPRS 네트워크에 있는 이동 데이터를 중간에서 엿보는것을 허락한다.
         = The Internet =
         == The IP Address Shortage ==
  • DatabaseClass/Exam2004_1 . . . . 1 match
         (with, derived relation, view 이용금지)
  • DecomposingMessage . . . . 1 match
         메세지를 다루는 또 다른 방법은 여러 개의 조각으로 나누는 것이다. 리팩토링의 ExtractMethod이다. 스몰토크는 잘게 쪼개는 것을 좀 더 공격적으로 한다. 그래서 한 메소드의 길이가 3-4줄정도밖에 안된다고 한다. 이것이 가능한 이유는 스몰토크는 다른 언어에 비해 높은 수준의 추상화를 제공해주기 때문이다. self 에게로 메세지를 보내자.
  • DefaultValueMethod . . . . 1 match
         == Default Value Method ==
  • DermubaTriangle/김상섭 . . . . 1 match
         #include <math.h>
  • DermubaTriangle/문보창 . . . . 1 match
         #include <cmath>
  • DermubaTriangle/하기웅 . . . . 1 match
         #include <cmath>
  • DevPartner . . . . 1 match
         솔루션탐색기에서 솔루션의 속성 페이지(ALT+ENTER)를 열면, "Debug with Profiling"이란 항목이 있습니다. 이 항목의 초기값이 none으로 되어 있기 때문에, None이 아닌 값(대부분 native)으로 맞추고 나서 해당 솔루션을 다시 빌드해야합니다. 링크시 "Compuware Linker Driver..."로 시작하는 메시지가 나오면 프로파일링이 가능하도록 실행파일이 만들어진다는 뜻입니다.
  • DirectDraw/APIBasisSource . . . . 1 match
          // Translate and dispatch the message
  • Eclipse와 JSP . . . . 1 match
         == Unbound classpath variable: 'TOMCAT_HOME/common/lib/jasper-runtime.jar' 문제 ==
         == Thread ==
  • EcologicalBinPacking/임인택 . . . . 1 match
         #format python
  • EcologicalBinPacking/황재선 . . . . 1 match
         #include <cmath>
  • EffectiveSTL/VectorAndString . . . . 1 match
         = Item17. Use 'the swap trick' to trim excess capacity. =
  • EightQueenProblem/김형용 . . . . 1 match
         #format python
  • EightQueenProblem/용쟁호투 . . . . 1 match
         C, C++, Python, Java, Delphi등이 있었으나...제가 주로사용하는 Powerbuilder로 해보고 싶은 마음에 도전하게 되었습니다...
         $PBExportHeader$eightqueenproblem.sra
          IF il_limit >= 30000 THEN
          If wf_chack_attack(li_x, li_y) Then CONTINUE;
         IF il_attack[ai_x,ai_y] = 1 THEN RETURN TRUE
         IF li_x > li_y THEN
         ELSEIF li_x < li_y THEN
         IF li_x > li_y THEN
         ELSEIF li_x < li_y THEN
         IF NOT wf_create_queen() THEN GOTO NS
  • EightQueenProblem/임인택/java . . . . 1 match
          Thread.sleep(1000);
          if(args.length!=1)
  • EightQueenProblem2/이강성 . . . . 1 match
         #format python
  • ErdosNumbers/조현태 . . . . 1 match
          prv->link(this);
  • Eric3 . . . . 1 match
         무료 Python IDE. 제공하는 기능이 꽤 많은듯 하다. [Refactoring]을 지원하는게 가장 큰 기능중의 하나가 아닐까 생각한다.
  • EuclidProblem/곽세환 . . . . 1 match
         #include <cmath>
  • EuclidProblem/문보창 . . . . 1 match
         #include <cmath>
  • ExecuteAroundMethod . . . . 1 match
         === Excute Around Method ===
  • ExploringWorld/20040308-시간여행 . . . . 1 match
         집으로 돌아와 MakeAnotherWorld 라는 세상을 만든다는 거창한 은유법보다, 여행을 한다는 느낌의 은유로 시작하면 재미있겠다는 생각이 들었다. 그래서 WalkingAroundWorld 나, CyclingWorld 같은 여행이라는 은유의 제목이 더 그럴싸한것 같은데, 너희들은 어때? --NeoCoin
         탐험하는것은 어때요? Exploring(The)World 같은... --세환
  • ExploringWorld/20040506-무제 . . . . 1 match
          * 이런 유형의 문제를 풀기, Algorithm 관련 서적을 보기
  • ExtractMethod . . . . 1 match
         See ["Refactoring/ComposingMethods"]
  • ExtremeSlayer . . . . 1 match
          * Another Nick : ["[Lovely]boy^_^"]
  • FactorialFactors . . . . 1 match
         || [1002] || Python || 1차 : 1시간 20분, 2차 : 시도중 || [FactorialFactors/1002] ||
  • FactorialFactors/조현태 . . . . 1 match
         #include <math.h>
  • FactoryMethodPattern . . . . 1 match
         #redirect Gof/FactoryMethod
  • FifteenSecondsRule . . . . 1 match
         예를 들어, 경매 시스템이 있을 때, "이 시스템은 무얼 하는 것이냐?"라는 질문에 15초 이내에 깔끔하지만 '''완전한'''(complete) 대답을 할 수 있어야 하며, "그럼, 이 시스템에서 {{{~cpp Authentify}}} 서브 시스템은 뭘 하는 것이냐?"라는 질문에 역시 15초 이내에 완전한 대답이 가능해야 하고, "이 {{{~cpp FooBar}}} 객체는 무엇을 하는가?"라는 질문에 또 15초 이내의 대답이 나와야 합니다. 이런 식의 설명이 모두 끝났을 때, 소스 코드 '''전체'''를 훑은 셈이여야 합니다 -- 이게 용이하려면 프로그램의 구조가 이런 설명의 구조와 유사해야 합니다.
  • FileInputOutput . . . . 1 match
         === Python ===
  • FooBarBaz . . . . 1 match
          * ''Let us supose we have three variables, foo, bar and baz.''
          * ''Baz! The return key on my keyboard is stuck!''
  • FootNoteMacro . . . . 1 match
          * {{{[[FootNote([1])]]}}}: could be replaced with {{{[1]}}} ?
  • FoundationOfUNIX . . . . 1 match
          * 권한 주체 (u - user, g - group, o - others, a - all)
  • FromCopyAndPasteToDotNET . . . . 1 match
          * [http://msdn.microsoft.com/library/en-us/cpguide/html/cpovrintroductiontonetframeworksdk.asp Overview of the .NET Framework]
         === Thread ===
  • GRASP . . . . 1 match
         그 외에 [DavidParnas]의 On the Criteria To Be Used in Decomposing Systems Into Modules에서 [InformationHiding] 개념을 소개했고 [DataEncapsulation]과 혼동하는 경우가 많았다고 말해주네요. [OCP]에 대해서도 이야기해 주고 ...
  • GUIProgramming . . . . 1 match
          * http://wiki.python.org/moin/PyQt4
  • GalleryMacro . . . . 1 match
         5 column, with no comments, sort by name
  • Gof/Facade . . . . 1 match
          cg.Visit (this);
  • Hacking/20041118네번째모임 . . . . 1 match
          ethereal
  • HanoiProblem/영동 . . . . 1 match
         message2 db "th disk from ", '$'
  • HanoiProblem/임인택 . . . . 1 match
          // from 에서 꺼내와 this 에 넣는다.
  • HanoiTowerTroublesAgain!/문보창 . . . . 1 match
         #include <cmath>
  • HanoiTowerTroublesAgain!/조현태 . . . . 1 match
         #include <cmath>
  • HaskellLanguage . . . . 1 match
          * [http://pub.hal3.name/daume02yaht.pdf Yet another haskell tutorial] : Haskell 입문시에 도움이 된다.
  • HelpOnProcessingInstructions . . . . 1 match
          * {{{#filter}}} ''filter1'' | ''filter2'': apply MoniWikiFilters supported by the 모니위키 '''1.1.0'''부터
  • HelpOnUpdating . . . . 1 match
         다음은 `css/*.css` `imgs/*` `theme/*` `local/*` 등등의 파일을 업데이트합니다. 기존에 사용자가 변경한 파일이 있다면 반드시 백업하시기 바랍니다.
  • HelpOnUserPreferences . . . . 1 match
          * '''[[GetText(Preferred theme)]]''': 원하는 테마를 고르실 수 있습니다.
  • HierarchicalWikiWiki . . . . 1 match
         HierarchicalWikiWiki''''''s can be created by using the InterWiki mechanism.
  • HotDraw . . . . 1 match
         /!\ HotDraw does not work correctly with java_1.3.1_09 :(
  • HowManyFibs? . . . . 1 match
          || [1002] || Python || 1차: 3시간(실패), 2차: 10분 || [HowManyFibs?/1002] ||
  • HowManyFibs?/하기웅 . . . . 1 match
         using BigMath::BigInteger;
  • HowManyPiecesOfLand?/하기웅 . . . . 1 match
         using BigMath::BigInteger;
  • HowManyZerosAndDigits/문보창 . . . . 1 match
         #include <cmath>
  • HowManyZerosAndDigits/허아영 . . . . 1 match
         #include <math.h>
  • HowToStudyDataStructureAndAlgorithms . . . . 1 match
         제가 생각컨데, 교육적인 목적에서는, 자료구조나 알고리즘을 처음 공부할 때는 우선은 특정 언어로 구현된 것을 보지 않는 것이 좋은 경우가 많습니다 -- 대신 pseudo-code 등으로 그 개념까지만 이해하는 것이죠. 그 아이디어를 Procedural(C, 어셈블리어)이나 Functional(LISP,Scheme,Haskel), OOP(Java,Smalltalk) 언어 등으로 직접 구현해 보는 겁니다. 이 다음에는 다른 사람(책)의 코드와 비교를 합니다. 이 경험을 애초에 박탈 당한 사람은 귀중한 배움과 깨달음의 기회를 잃은 셈입니다. 참고로 알고리즘 교재로는 10년에 한 번 나올까 말까한 CLR(''Introduction to Algorithms, Thomas H. Cormen, Charles E. Leiserson, and Ronald L. Rivest'')을 적극 추천합니다(이와 함께 혹은 이전에 Jon Bentley의 ''Programming Pearls''도 강력 추천합니다. 전세계의 짱짱한 프로그래머/전산학자들이 함께 꼽은 "위대한 책" 리스트에서 몇 손가락 안에 드는 책입니다. 아마 우리 학교 도서관에 있을 것인데, 아직 이 책을 본 적 없는 사람은 축하드립니다. 아마 몇 주 간은 감동 속에 하루하루를 보내게 될 겁니다.). 만약 함께 스터디를 한다면, 각자 동일한 아이디어를 (같은 언어로 혹은 다른 언어로) 어떻게 다르게 표현했는지를 서로 비교해 보면 또 배우는 것이 매우 많습니다. 우리가 자료구조나 알고리즘을 공부하는 이유는, 특정 "실세계의 문제"를 어떠한 "수학적 아이디어"로 매핑을 시켜서 해결하는 것이 가능하고 또 효율적이고, 또 이를 컴퓨터에 어떻게 구현하는 것이 가능하고 효율적인지를 따지기 위해서이며, 이 과정에 있어 수학적 개념을 프로그래밍 언어로 표현해 내는 것은 아주 중요한 능력이 됩니다. 개별 알고리즘의 카탈로그를 이해, 암기하며 익히는 것도 중요하지만 더 중요한 것은 알고리즘을 생각해 낼 수 있는 능력과 이 알고리즘의 효율을 비교할 수 있는 능력, 그리고 이를 표현할 수 있는 능력입니다.
         이와 관련해서 Anany Levitin의 ''A NEW ROAD MAP OF ALGORITHM DESIGN TECHNIQUES''(DDJ, 2000 Apr)를 권합니다. 그는 알고리즘 디자인 테크닉을 다음 네가지로 크게 나눕니다:
  • Hyacinth . . . . 1 match
         http://Hyacinth.xiop.net
  • Ieee754Standard . . . . 1 match
          * [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] (''강추'')
  • IndexedTree/권영기 . . . . 1 match
         #include<cmath>
  • IntelliJUIDesigner . . . . 1 match
         이를 classpath 에 추가해준다.
  • IntroductionToAlgorithms . . . . 1 match
         See Also Moa:IntroductionToAlgorithms
  • IsThisIntegration?/김상섭 . . . . 1 match
         4337326 2006-02-15 08:15:39 Accepted 0.352 448 28565 C++ 10209 - Is This Integration ?
         #include <math.h>
  • IsThisIntegration?/하기웅 . . . . 1 match
         #include <cmath>
  • IsThisIntegration?/허준수 . . . . 1 match
         #include <cmath>
         [IsThisIntegration?]
  • ItNews . . . . 1 match
          * Lambda the Ultimate http://lambda.weblogs.com/ : 프로그래밍 언어 weblog
  • JAVAStudy_2002 . . . . 1 match
         현재 자바 thread. stream. 봄.[[BR]]
  • JAVAStudy_2002/진행상황 . . . . 1 match
         현재 자바 thread. stream. 봄.[[BR]]
  • JTD 야구게임 짜던 코드. . . . . 1 match
          public static int makeThirdNumber(void)
          user = JOptionPane.showInputDialog(null,"write in a three digit number");
          c = makeThirdNumber();
  • JTDStudy/첫번째과제/장길 . . . . 1 match
          return (int) (Math.random()*1000);
  • JUnit . . . . 1 match
         그리고 배치화일 디렉토리에 path 를 걸어놓고 쓰고 있죠. 요새는 JUnit 이 포함되어있는 IDE (["Eclipse"], ["IntelliJ"] 등등)도 많아서 이럴 필요도 없겠지만요. ^^ --석천
  • Java Study2003/첫번째과제/곽세환 . . . . 1 match
         다중 스레드(Multi-thread)를 지원한다:
         자바의 다중 스레드 기능은 동시에 많은 스레드를 실행시킬 수 있는 프로그램을 만들 수 있도록 해 줍니다. 자바는 동기화 메소드들을 기본적으로 키워드로 제공함으로써, 자바 언어 수준에서 다중 스레드를 지원해 줍니다. 자바 API에는 스레드를 지원해 주기 위한 Thread 클래스가 있으며, 자바 런타임 시스템에서는 모니터와 조건 잠금 함수를 제공해 줍니다.
  • Java Study2003/첫번째과제/노수민 . . . . 1 match
          * 다중 스레드(Multi-thread)를 지원한다:
         자바의 다중 스레드 기능은 동시에 많은 스레드를 실행시킬 수 있는 프로그램을 만들 수 있도록 해 줍니다. 자바는 동기화 메소드들을 기본적으로 키워드로 제공함으로써, 자바 언어 수준에서 다중 스레드를 지원해 줍니다. 자바 API에는 스레드를 지원해 주기 위한 Thread 클래스가 있으며, 자바 런타임 시스템에서는 모니터와 조건 잠금 함수를 제공해 줍니다.
  • Java/DynamicProxy . . . . 1 match
          * 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]
  • JavaHTMLParsing/2011년프로젝트 . . . . 1 match
          System.err.println("잘못된 URL입니다. 사용법 : java URLConn http://hostname/path]");
  • JavaScript/2011년스터디 . . . . 1 match
         CREATE [UNIQUE] INDEX index_name ON tbl_name (col_name[(length]),... )
  • JollyJumpers/강희경 . . . . 1 match
          cout << "Nothing\n";
  • JollyJumpers/김회영 . . . . 1 match
         #include<math.h>
  • JollyJumpers/신재동 . . . . 1 match
          for(int i = 0; i < numbersStr.length; i++) {
          public void testJollyJumperThree() {
  • JollyJumpers/임인택2 . . . . 1 match
          then "Jolly"
  • JosephYoder방한번개모임 . . . . 1 match
          * throwaway code. 정말 한번만 쓰고 버린다. 다시는 돌아보지 말아야한다.
          1. RENAME METHOD : LOW
          1. CHANGE METHOD or STRATEGY : MEDIUM
  • Komodo . . . . 1 match
         다중언어 IDE. PHP, Python, Perl, Tcl 등 주로 스크립트 언어 지원.
  • LIB_1 . . . . 1 match
          // Show the task delay , usage and
          // create The Sample Task 1,2
  • LexAndYacc . . . . 1 match
         === Word Recognizer with Lex ===
  • LightMoreLight/문보창 . . . . 1 match
         #include <cmath>
  • LinuxSystemClass . . . . 1 match
         [LinuxSystemClass/Report2004_1] - PosixThread 를 이용, 스레드를 만들고 그에 따른 퍼포먼스 측정.
         학교 수업공부를 하거나 레포트를 쓰는 경우 위의 학교 교재와 함께 'The Design of the Unix Operating System' 을 같이 보면 도움이 많이 된다. 해당 알고리즘들에 대해서 좀 더 구체적으로 서술되어있다. 단, 책이 좀 오래된 감이 있다.
  • LinuxSystemClass/Exam_2004_1 . . . . 1 match
          Linux 에서의 Memory 관리시 binary buddy algorithm 을 이용한다. 어떻게 동작하는지 쓰시오.
  • LoadBalancingProblem . . . . 1 match
         || 나휘동 || . || Python || [LoadBalancingProblem/Leonardong] ||
  • LoadBalancingProblem/Leonardong . . . . 1 match
         {{{~python
          def isThisOverWork(self, aID):
          if self.isThisOverWork(id):
          def testIsThisOverWork(self):
          self.assertEqual( com.isThisOverWork(id), True )
          self.assertEqual( com.isThisOverWork(id), False )
  • LogicCircuitClass . . . . 1 match
         = What is this class? =
  • Lotto/송지원 . . . . 1 match
          || Run ID || User || Problem || Result || Memory || Time || Language || Code Length || Submit Time ||
  • LoveCalculator/zyint . . . . 1 match
         #include <math.h>
  • MT날짜정하기 . . . . 1 match
         === Thread ===
         MT 무산인가요? 그날 http://30th.caucse.net/ 30주년 기념회를 하는데요? --NeoCoin
  • MagicSquare/재니 . . . . 1 match
          cout.width(2);
  • Map/곽세환 . . . . 1 match
         #include <algorithm>
  • MapBrowserSite . . . . 1 match
          * [http://www.seoul.go.kr/org/introduction/others/map/map.html 서울시 지도]
  • Map연습문제/곽세환 . . . . 1 match
         #include <algorithm>
  • Map연습문제/임민수 . . . . 1 match
         #include <algorithm>
  • MatLab . . . . 1 match
         Wiki:MatLab , http://www.mathworks.com/
  • MediaMacro . . . . 1 match
         Alias of the PlayMacro
  • MemeHarvester . . . . 1 match
         || 06/01/11 || 서버 || depth가 1 이상인 사이트 가능하도록 함 ||
         = Thread =
  • MineSweeper/zyint . . . . 1 match
         [MineSweeper] [데블스캠프2005] [데블스캠프2005/Python]
  • MobileJavaStudy/Tip . . . . 1 match
         InputStream is = this.getClass().getResourceAsStream("readme.txt");
  • MoniWikiACL . . . . 1 match
         # Please don't modify the lines above
  • MoniWikiCssTips . . . . 1 match
         http://www.picment.com/articles/css/funwithforms/
  • MoniWikiPlugins . . . . 1 match
          * theme
  • MultiplyingByRotation/곽세환 . . . . 1 match
         #include <cmath>
  • MySQL . . . . 1 match
         === Thread ===
          ''Thanks.~ --["1002"]''
         [MySQL/PasswordFunctionInPython]
         위의 PHP 버전은 어떻게 만들었을까? 바로.. MySQL 코드를 보고 만들었다고 한다.- UseTheSourceLuke --[1002]
  • MySQL/PasswordFunctionInJava . . . . 1 match
          int size = aStr.length();
  • MySQL/PasswordFunctionInPython . . . . 1 match
         #format python
  • NS2 . . . . 1 match
         [http://evanjones.ca/ns2.html Getting Started With ns2]
  • NSIS_Start . . . . 1 match
          * 만에 하나 9일 전에 끝나면 간단한 NSIS Wizard 만들기 (with MFC)
  • NUnit/C#예제 . . . . 1 match
          1. 테스트 하고자 원하는 Method 에는 Test를, 속한 클래스에는 TestFixture Attribute를 붙인다.
  • NeoZeropageWeb . . . . 1 match
         = thread =
  • NumberBaseballGame . . . . 1 match
         반대로, 사용자가 숫자를 부르면 컴퓨터가 맞추게 하는 방법도 있습니다. 두 가지를 합하면 컴퓨터와의 대결이 됩니다. ^^ (그런데 거의 이기기가 불가능합니다.) 소스는 [http://my.netian.com/~sshiskom/file/python/baseball.py 여기]에.
  • NumericPython . . . . 1 match
         Python의 연산모듈입니다.
  • NumericalAnalysisClass/Exam2002_2 . . . . 1 match
         1. 주어진 함수 f(x) = x^3 + x - 4 이 구간 [1,4] 에서 하나의 해를 갖을 때, 그 근사값이 10^-4 의 오차 한계에서 구하기 위해 이분법 (bisection method) 을 적용하였을 때 최대 반복횟수를 계산하시오.
  • Omok/재니 . . . . 1 match
          cout << "Input the position (x, y) : ";
  • Ones . . . . 1 match
          || [1002] || Python || 25분 || [Ones/1002] ||
  • OpenCamp/두번째 . . . . 1 match
          * 19:00~21:00 Play with Java 안혁준
  • OpenGL . . . . 1 match
         http://nehe.gamedev.net - OpenGL Tutorial 로 유명하다. 각 언어 & 플랫폼별로(C++ - Visual C++ Project, C++ Builder , Java, Java/SWT, Linux SDL, Python 등) 튜토리얼 코드들을 정리해놓았다. 예전부터 OpenGL을 처음 공부하는 사람들에게 늘 추천되었던 사이트.
  • OpenGL_Beginner . . . . 1 match
          * OpenGL Programming Guide 3th
         = Thread =
  • OperatingSystemClass . . . . 1 match
          * http://java.sun.com/docs/books/tutorial/essential/threads/synchronization.html
  • OurMajorLangIsCAndCPlusPlus/2005.12.29 . . . . 1 match
         math.h - 김민경
  • OurMajorLangIsCAndCPlusPlus/2006.1.5 . . . . 1 match
         [OurMajorLangIsCAndCPlusPlus/math.h]
  • OurMajorLangIsCAndCPlusPlus/XML . . . . 1 match
         XML & XPath
  • OurMajorLangIsCAndCPlusPlus/math.h . . . . 1 match
         = MATH.H =
         math에 대한 라이브러리
  • OurMajorLangIsCAndCPlusPlus/print/조현태 . . . . 1 match
         #include <math.h>
  • OurMajorLangIsCAndCPlusPlus/print/허준수 . . . . 1 match
         #include <cmath>
  • PHP Programming . . . . 1 match
          * 저도 객원으로 껴주세요.. 전 다른책을 볼 생각이라서요. 'Beginning PHP 4' 인가? 아무튼 그거도 빨간책인데. 'Professional' 은 아무래도 무리스러워서. 승낙해주시면.. 가끔 문서화에 약간의 도움이라도..; -zennith
  • PHP Programming/HtmlTag . . . . 1 match
          *<FORM ACTION = "url" METHOD = "method"> ..... </FORM>
          *METHOD=".." - 사용자 입력정보가 어떤 방법으로 CGI프로그램에 전달하게 할 것인지 지정.(POST, GET 두가지 값 사용)
          *MAXLENGTH=".." - 텍스트 필드에 들어가는 글자수를 미리 정함
  • PNA2011/서지혜 . . . . 1 match
          * Doing is faster than arguing
          * Think forward
  • PPProject/20041001FM . . . . 1 match
          int n = str.length();
  • PPProject/Colume2Exercises . . . . 1 match
          int n = str.length();
  • PageListMacro . . . . 1 match
          FullSearch -> LikePages -> LikePages with MetaWiki의 순서로 찾을 수 있는 어포던스를 더 분명히 제공하도록 해야겠습니다. --WkPark
  • PairSynchronization . . . . 1 match
         상민이랑 ProjectPrometheus 를 하면서 CrcCard 세션을 했을때는 CrcCard 에서의 각 클래스들을 화이트보드에 붙였었죠. 그리고 화이트보드에 선을 그으면서 일종의 Collaboration Diagram 처럼 이용하기도 했었습니다. 서로 대화하기 편한 방법을 찾아내는 것이 좋으리라 생각.~ --["1002"]
  • Pairsumonious_Numbers/권영기 . . . . 1 match
         #include<algorithm>
  • Pairsumonious_Numbers/김태진 . . . . 1 match
         #include <math.h>
         int findThird(int Aindex,int i3)
          findThird(Aindex+1,1);
         int findFirstThree(int i1,int i2,int i3)
          findThird(3,1);
          findFirstThree(arr[0], arr[1], arr[i]);
  • Plex . . . . 1 match
         [Python]
  • PluggableSelector . . . . 1 match
         실행될 selector를 가지는 변수를 추가한다. 이름 뒤에 Message를 덧붙인다. selector를 실행하기 쉽게 해주는 Composed Method를 만든다.
  • PokerHands/Celfin . . . . 1 match
         #include <algorithm>
         bool isThreeCard(Poker *card, int turn)
          else if(isThreeCard(card, turn))
  • PowerOfCryptography/이영호 . . . . 1 match
         #include <math.h>
  • PracticalPython . . . . 1 match
         Python을 이용해 쓸모있는 프로그램을 만드는 과정을 보여주는 책이다. 따라가기 좋을 뿐 아니라, 만들어 놓은 프로그램을 발전시킬 수 있도록 유도한다.
  • PrimaryArithmetic/Leonardong . . . . 1 match
         [PrimaryArithmetic]
  • PrivateHomepageMaking . . . . 1 match
         || MoinMoin || http://moinmoin.wikiwikiweb.de/ || Python 기반, 파일시스템 이용 ||
  • Profiling . . . . 1 match
         (다른 소개글로 [http://maso.zdnet.co.kr/20010407/about/article.html?id=120&forum=0 마소4월호기사 Python 최적화론]를 추천한다.-링크깨졌음)
  • ProgrammingPearls/Column1 . . . . 1 match
         == Cracking the oysters ==
  • ProjectCCNA/Chapter2 . . . . 1 match
          * ethernet: CSMA/CD- 이더넷 통신에서 사용하는 프로토콜이다. 회선이 사용중이지 않을때 전송하고 충돌이 생기면 일정시간후 재전송한다.
  • ProjectEazy . . . . 1 match
         [TheChild'sAcquisitionOfLanguage], [아동언어습득이론] - 아동이 언어를 습득해서 문장을 만드는 과정
          Python2.4는 한글코덱이 내장되어있다고 하는군요 --[강희경]
         == Thread ==
  • ProjectGaia/참고사이트 . . . . 1 match
          *[http://www.istis.unomaha.edu/isqa/haworth/isqa3300/fs009.htm Extendible Hashing] in English, 개념.코볼 구현소스
  • ProjectIdea . . . . 1 match
         ["ProjectPrometheus/개요"]
  • ProjectLegoMindstorm . . . . 1 match
         == thread ==
  • ProjectPrometheus/AcceptanceTest . . . . 1 match
         ["ProjectPrometheus"]
  • ProjectPrometheus/DataBaseSchema . . . . 1 match
         ["ProjectPrometheus"]/{{{~cpp DataBaseSchema}}}
  • ProjectPrometheus/EngineeringTask . . . . 1 match
         ["ProjectPrometheus"]
  • ProjectPrometheus/Estimation . . . . 1 match
         ["ProjectPrometheus"]/Estimation
  • ProjectPrometheus/Iteration1 . . . . 1 match
         ||||||Acceptance Test (["ProjectPrometheus/AT_BookSearch"]) ||
  • ProjectPrometheus/Iteration2 . . . . 1 match
         ||||||Acceptance Test (["ProjectPrometheus/AT_RecommendationPrototype"]) ||
  • ProjectPrometheus/Iteration7 . . . . 1 match
         ["ProjectPrometheus"]
  • ProjectPrometheus/LibraryCgiAnalysis . . . . 1 match
         &pKeyWordC=%28+%28-TI-+WITH+%28extreme+programming+%29+.TXT.%29++%29 - 검색 관련 키워드
         ["ProjectPrometheus"]
  • ProjectPrometheus/UserStory . . . . 1 match
         ["ProjectPrometheus"]{{{~cpp /UserStory}}}
  • ProjectPrometheus/방명록 . . . . 1 match
          * 어떤 상황인지 ["ProjectPrometheus/BugReport"] 에 써주겠어? 그런 상황은 처음 봐서. --["상민"]
  • ProjectVirush/Prototype . . . . 1 match
          printf( "I have to answer the next question. %s\n", question);
          printf( "I sent an answer. The answer is %s\r\n", msg);
  • ProjectZephyrus/Client . . . . 1 match
         || buddy list class refactoring (tree model move method) || . || ○ (20분) 6/5 ||
  • ProjectZephyrus/ClientJourney . . . . 1 match
         클라이언트 팀 모여서 한 일에 대한 정리. 한일/느낀점/교훈(["ThreeFs"]) 등을 생각해볼 수 있는 기회가 되었으면 함. (팀원내 자유로운 비방 허용; 치외법권선포;)
          * 다른 MFC나 ["wxPython"] 등의 다른 GUI Framework와 ["디자인패턴"] 에 익숙하면 이러한 Swing 에 익숙해지는데에도 도움이 되었다. 대부분의 GUI 에선 ["CompositePattern"] 으로 윈도우들을 구성하기에. 그리고 Java API를 공부하는 동안 ["IteratorPattern"] 이나 ["DecoratorPattern"], MVC 등에 대해서도 이해하기 용이했다.
  • ProjectZephyrus/ServerJourney . . . . 1 match
          * 느낀점 : 휴.. 전에 툴을 쓸때는 해당 툴과 손가락이 생각을 못따라가 가는 것이 너무 아쉬웠는데, Eclipse에서는 거의 동시에 진행할수 있었다. extract method, rename, quick fix, auto fix task,마우스가 필요 없는 작업 환경들 etc VC++로 프로그래밍 할때도 거의 알고 있는 단축키와 key map을 macro를 만들어 써도 이정도가 아니었는데 휴..
  • ProjectZephyrus/간단CVS사용설명 . . . . 1 match
         # description: The cvspsever serves CVS Passowrd Server sessions; it uses \
         # unencrypted username/password pairs for authentication.
  • PyDev . . . . 1 match
         [Eclipse]에서 [Python]프로그래밍을 가능하게 해 주는 플러그인. 2004년 8월 현재 Outline 까지는 보여주나, [리팩토링]등을 지원하지 않는 아쉬움이 있다.
  • PyIde/BicycleRepairMan분석 . . . . 1 match
         코드 분석방법에서 Eclipse 의 Ctrl + Alt + H 를 눌렀을때 나오는 Method call hierarchy 기능으로 코드를 읽어나가는 것이 유용하다는 점을 알아내었다. StepwiseRefinement 를 역순으로 따라가는 느낌이랄까.
  • Python . . . . 1 match
         #redirect PythonLanguage
  • PythonFeedParser . . . . 1 match
         Python 용 RSS Parser Library. RSS 파싱하는데 단 한줄이면 가능.
  • RISCOS . . . . 1 match
         plz Add RISC OS links. I feel curious that.
  • RandomWalk/ExtremeSlayer . . . . 1 match
         #include <cmath>
  • RandomWalk2/Vector로2차원동적배열만들기 . . . . 1 match
         위의 방법 외에도 클래스로 감싸주고, 내부적으로는 1차원 배열을 쓰는 방법이 있겠죠. row*width+col로 특정 원소를 레퍼런스할 수 있습니다.
  • RandomWalk2/서상현 . . . . 1 match
         누덕누덕 기워 끝가지 간 소스는 [http://my.netian.com/~sshiskom/file/python/walk.py 여기]에.
  • RandomWalk2/질문 . . . . 1 match
         ''RandomWalk2 Requirement Modification 4 is now updated. Thank you for the questions.''
  • Refactoring/RefactoringReuse,andReality . . . . 1 match
         == why Are Developers Reluctant to Refactor Their Programs? ==
         === Reducing the Overhead of Refactoring ===
  • ReverseAndAdd/Celfin . . . . 1 match
         #include <cmath>
  • ReverseAndAdd/김회영 . . . . 1 match
         #include<math.h>
  • ReverseAndAdd/이승한 . . . . 1 match
         == [Python] ==
  • ReverseAndAdd/임인택 . . . . 1 match
          then [count, number]
  • Ruby/2011년스터디 . . . . 1 match
          * 이 때 음수 인덱스는 배열의 요소를 뒤에서부터 읽어온다.({{{a[-n] = a[a.length - n]}}})
  • Ruby/2011년스터디/강성현 . . . . 1 match
          * oauth 인증 모듈 구현
  • RubyLanguage/Container . . . . 1 match
          * {{{a[-n] = a[a.length - n]}}}
  • SOLDIERS/정진경 . . . . 1 match
         #include <algorithm>
  • STL/map . . . . 1 match
          || Python || dictionary ||
         === Thread ===
  • STL/search . . . . 1 match
         #include <algorithm> // search 알고리즘 쓰기 위한것
  • STL/sort . . . . 1 match
         #include <algorithm> // sort 알고리즘 쓰기 위한것
  • STL/vector . . . . 1 match
          질문 : 상식에 의거해서 실습 해볼 때 저 부분을 {{{~cpp vector<int> ar( &data[0], &data[2] ); }}} 로 했더니 계속 문제가 생겨서.. 오랜 삽질끝에 &data[3] 으로 해야한다는 걸 발견 했습니다. 좀 이상한 것 같네요. {{{~cpp data[3]}}} 이라는 것은 배열의 범위를 벗어나는 연산일텐데요.. 그곳의 리퍼런스를 얻어서 생성자로 넘겨주는게.. 상식에서 거부했나 봅니다. 두번째 인자로 배열 범위를 벗어나는 값을 받는 이유를 혹시 아시는 분 계십니까? --zennith
  • ScheduledWalk/승균 . . . . 1 match
          cout.width(3);
  • ScheduledWalk/재니&영동 . . . . 1 match
          cout.width(4);
  • SearchAndReplaceTool . . . . 1 match
         Actual Search & Replace 를 쓰는중. 기존 사이트 이어받은거 웹 노가다일을 해야 할 경우 매우 편리. (예전에는 그때그때 python script 를 만들어썼는데, 그럴 필요가 없을듯) --[1002]
  • Self-describingSequence . . . . 1 match
          || [1002] || Python || 1시간 40분 || [Self-describingSequence/1002] ||
  • SelfDelegation . . . . 1 match
          hashTable.put(keyObject, valueObject, this); // 문법 안맞는거 같다. 그냥 그런가 보다 하자.
  • SeminarHowToProgramIt/Pipe/VendingMachineParser.py . . . . 1 match
         #format python
  • SeminarHowToProgramIt/Pipe/vendingmachine.py . . . . 1 match
         #format python
  • 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.
  • Shoemaker's_Problem/곽병학 . . . . 1 match
         #include<algorithm>
  • Shoemaker's_Problem/김태진 . . . . 1 match
         #include <algorithm>
  • SisterSites . . . . 1 match
          1. bsddb 셋팅 - python 2.1 쪽 shell 로 들어가서 다음을 입력한다.
  • Slurpys/박응용 . . . . 1 match
         {{{~cpp #!python
  • SmallTalk/강좌FromHitel/강의4 . . . . 1 match
         우리가 Smalltalk에게 어떤 명령을 내리면 Smalltalk는 길수(method)를 뒤져
  • SmithNumbers/조현태 . . . . 1 match
         [AOI] [SmithNumbers]
  • SourceCode . . . . 1 match
         == Python ==
  • SpiralArray/Leonardong . . . . 1 match
          def getHistory(self):
          points = self.mover.getHistory()
          points = self.mover.getHistory()
          self.assertEquals( (1,0), self.mover.getHistory().pop().coordinate )
          self.array.construct( self.mover.getHistory() )
          array.construct(mover.getHistory())
          def getHistory(self):
          def lastHistory( self ):
          points = self.mover.getHistory()
          points = self.mover.getHistory()
          points = self.mover.getHistory()
          points = self.mover.getHistory()
          def testTurnRoundWithBoundary0(self):
          self.assertEquals( (1,0), self.mover.lastHistory().coordinate )
          self.assertEquals( (1,0), self.mover.lastHistory().coordinate )
          self.assertEquals( (1,1), self.mover.lastHistory().coordinate )
          self.array.construct( self.mover.getHistory() )
          array.construct(mover.getHistory())
  • Steps/문보창 . . . . 1 match
         #include <cmath>
  • Steps/하기웅 . . . . 1 match
         #include <cmath>
  • StringResources . . . . 1 match
          * @author: CAUCSE 20011658 Lee hyun chul(abudd@dreamwiz.com)
  • StudyingFundamentalsOfTcpIp . . . . 1 match
         == method ==
  • SubVersion . . . . 1 match
         || [http://zeropage.org/pds/20058395830/Version%20Control%20with%20Subversion%202005.pdf Download] ||
         = Thread =
  • SubVersion/BerkeleyDBToFSFS . . . . 1 match
          then
  • SummationOfFourPrimes . . . . 1 match
          || [1002] || Python || 50분(이후 튜닝 진행. 총 2시간 46분 23초) || [SummationOfFourPrimes/1002] || X (5.7s) ||
  • SummationOfFourPrimes/문보창 . . . . 1 match
         #include <cmath>
  • SuperMarket . . . . 1 match
         Welcome to the ACME supermarket.
  • SystemEngineeringTeam . . . . 1 match
          * github.com
  • TddRecursiveDescentParsing . . . . 1 match
          ''먼저 "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 이 적용될 수 있을 것 같은데, 아직은 일단.)
  • TddWithWebPresentation . . . . 1 match
         즉, 일종의 Template Method 의 형태로서 Testable 하기 편한 ViewPageAction 의 서브클래스를 만들었다. 어차피 중요한것은 해당 표현 부분이 잘 호출되느냐이므로, 이에 대해서는 서브클래스로서 텍스트를 비교했다.
  • Temp/Parser . . . . 1 match
         #format python
  • TestFirstProgramming . . . . 1 match
         ex) ["TFP예제/Omok"], ["TFP예제/Queue"], ["TFP예제/WikiPageGather"]
          wiki:Wiki:DoTheSimplestThingThatCouldPossiblyWork
         === Thread ===
  • The Trip/Celfin . . . . 1 match
         #include <cmath>
  • TheLagestSmallestBox/김상섭 . . . . 1 match
         #include <math.h>
  • TheLargestSmallestBox/문보창 . . . . 1 match
         // 10215 - TheLagestSmallestBox
         #include <cmath>
         [TheLargestSmallestBox] [문보창]
  • TheLargestSmallestBox/허준수 . . . . 1 match
         #include <cmath>
         [TheLargestSmallestBox]
  • ThePriestMathematician/김상섭 . . . . 1 match
         #include <cmath>
  • ThePriestMathematician/하기웅 . . . . 1 match
         using BigMath::BigInteger;
  • TheTrip/문보창 . . . . 1 match
         // no10137 - The Trip
         #include <cmath>
         [TheTrip] [문보창]
  • TheTrip/허아영 . . . . 1 match
         //TheTrip 10137
         #include <math.h>
  • TheWarOfGenesis2R/일지 . . . . 1 match
          * 리팩토링의 위대함을 계속 느껴 버렸다. Extract Method는 기본이고, 상위 클래스로 올리기, 등등 이것저것 하니까 매우 간단해지는 것을 느꼈다.
         [TheWarOfGenesis2R]
  • To.용안 . . . . 1 match
          * eclipse 에서 Help HelpContents 에서 PyDev 도움말 꼭 봐라,, 좋은 기능이 엄청 많구나 -_-, 그리고 HTML 태그 없애는 Python 명령어 있다. 필요하면 얘기해,
  • TriDiagonal/1002 . . . . 1 match
         LU 분해 뒤 해당 계산이 제대로 되었는지를 확인하기 위해 Numeric Python 모듈을 이용했다. [http://sourceforge.net/project/showfiles.php?group_id=1369 여기] 에서 받을 수 있다.
  • UglyNumbers/JuNe . . . . 1 match
          print "The 1500'th ugly number is",ugly(1500)[-1]
  • UglyNumbers/김회영 . . . . 1 match
          cout<<"The "<<situation<<"번째 심술쟁이수는 "<<number;
         //1500th : 859963392
  • UglyNumbers/송지원 . . . . 1 match
          cout << "The " << num << "th ugly number is " << uglyNum(num) << endl;
  • UglyNumbers/황재선 . . . . 1 match
          print "The 1500'th ugly number is <" + str(num) + ">."
  • UnitTest . . . . 1 match
         보통 테스트 코드를 작성할때는 UnitTestFramework Library들을 이용한다. 각 Language 별로 다양한데, C++ 사용자는 ["CppUnit"], Java 는 ["JUnit"], Python 은 ["PyUnit"] 등을 이용할 수 있다. PyUnit 의 경우는 2.1부터 기본 모듈에 포함되어있다.
         === Thread ===
  • Velocity . . . . 1 match
          public static void main(String[] args) throws Exception {
  • VendingMachine_참관자 . . . . 1 match
          printf("this machine is good^^;;\n");
  • VisualBasicClass/2006/Exam1 . . . . 1 match
         ④ Nonth(date) - 7
  • VitosFamily/Celfin . . . . 1 match
         #include <algorithm>
  • VonNeumannAirport . . . . 1 match
         ||[VonNeumannAirport/Leonardong] || 한 번 실패 후 재도전한 Python버전 ||
  • VonNeumannAirport/인수 . . . . 1 match
         #include <cmath>
  • WERTYU . . . . 1 match
         || [1002] || python || 10분 || [WERTYU/1002] ||
  • WikiGardening . . . . 1 match
          * [프로젝트분류]와 [프로젝트지도]와 [WikiProjectHistory ]
          * [병역문제어떻게해결할것인가]와 [http://zeropage.org/wikis/nowthen2004/_b1_ba_b4_eb 군대]
  • WordPress . . . . 1 match
         [http://sapius.dnip.net/wp three leaf clover]
  • WorldCup/송지원 . . . . 1 match
          || Run ID || User || Problem || Result || Memory || Time || Language || Code Length || Submit Time ||
  • WritingOS . . . . 1 match
         = thread =
  • XOR삼각형 . . . . 1 match
         ||임인택||10분 ||17 ||Python || [XOR삼각형/임인택] ||
  • XsltVersion . . . . 1 match
          <xsl:output method="html" omit-xml-declaration="yes" indent="no"/>
          This Wiki is running an XSLT engine by
  • Yggdrasil . . . . 1 match
          Birthday: 1983/07/09
  • Z&D토론/학회명칭토론 . . . . 1 match
         See Also [http://zeropage.org/jsp/board/thin/?table=open&service=view&command=list&page=0&id=5086&search=&keyword=&order=num 2002년1월30일회의록]
         === Thread ===
         DeleteMe) 이 페이지의 Thread 는 참고일뿐, 학회명칭을 결정한 것은 1월 30일 회의입니다. 그때의 토론내용을 결론부에 적어주는 것이 적절하다고 생각합니다. (즉, ZP로 결정된 이유등에 대해서.)
  • Z&D토론백업 . . . . 1 match
          * 위키 스타일에 익숙하지 않으시다면, 도움말을 약간만 시간내어서 읽어주세요. 이 페이지의 편집은 이 페이지 가장 최 하단에 있는 'EditText' 를 누르시면 됩니다. (다른 사람들의 글 지우지 쓰지 않으셔도 됩니다. ^^; 그냥 중간부분에 글을 추가해주시면 됩니다. 기존 내용에 대한 요약정리를 중간중간에 해주셔도 좋습니다.) 정 불편하시다면 (위키를 선택한 것 자체가 '툴의 익숙함정도에 대한 접근성의 폭력' 이라고까지 생각되신다면, 위키를 Only DocumentMode 로 두고, 다른 곳에서 ThreadMode 토론을 열 수도 있겠습니다.)
         참고 : [http://zeropage.org/jsp/board/thin/?table=open&service=view&command=list&page=3&id=4926&search=&keyword=&order=num 2002년1월7일회의록]
         = Thread 토론중 =
  • ZP도서관/2013 . . . . 1 match
          * 10월 27일자 보유 도서 현황 : http://zeropage.org/OtherData/93117
  • ZeroPageServer/AboutCracking . . . . 1 match
          * 2002-12-17 [http://zeropage.org/jsp/board/thin/index.jsp?table=open&service=view&page=0&id=6631 권고메일]
         === Thread ===
  • ZeroPageServer/InstalledTool . . . . 1 match
          * ["Python"] 2.0, 2.1, 2.3b1
  • ZeroPageServer/Telnet계정 . . . . 1 match
          * 종류 '''php, python, perl, jsp''' 프로그래밍이다. 하지만 jsp는 Server 관리자(["neocoin"]) 에게 문의하시면 상담하고 권한 설정 해 드립니다.
         == Thread ==
  • ZeroPageServer/set2001 . . . . 1 match
          * ["Python"] 1.53
  • ZeroPage성년식 . . . . 1 match
          * 문의 사항: 메일(theZeroPage@gmail.com) 혹은 ZeroPage 홈페이지(http://zeropage.org)
         == Thread ==
  • ZeroPage정학회만들기 . . . . 1 match
         = thread =
  • ZeroWikian . . . . 1 match
          * [Hyacinth]
          * [Thor]
         == Thread ==
  • [Lovely]boy^_^/Book . . . . 1 match
          * Discrete Mathmatics - 학교 이산수학 교재 - 수업 말고는 안봄
  • [Lovely]boy^_^/Diary/2-2-11 . . . . 1 match
         == ToDo List of a this week ==
          * 선호랑 ["TheWarOfGenesis2R"]의 일환으로 타일 에디터를 만들었다. BMP 파일 약간 개조해서 뒤에다가 타일 데이터를 덧붙였다.
  • [Lovely]boy^_^/Diary/2-2-12 . . . . 1 match
          * Algorithm Report(Until 26 화)
  • [Lovely]boy^_^/Diary/2-2-2 . . . . 1 match
          * 우리나라에 사람 무는 바퀴벌레가 들어온 기념으로.. TDD를 이용한 RandomWalk2를 해보았다.(Python) 파이썬 문법 자체에서 좀 많이 버벅거렸다는게 좀 아쉽다. 테스트 수십개가 통과하는 것을 보고 있자니 괜시리 기분이 좋아진다는--;
  • [Lovely]boy^_^/Diary/7/22_26 . . . . 1 match
         || Python || pygame 예제 분석 || 진행중 || ||
  • [Lovely]boy^_^/Diary/7/29_8/3 . . . . 1 match
         || Python || 별루 한것 없음 || 10% || ||
  • [Lovely]boy^_^/Diary/8/6_8/10 . . . . 1 match
         || Python || 비행기 게임 || 간단한 회의, 앞으로의 예정 || 변태겜이 되갈 예정--; ||
  • [Lovely]boy^_^/USACO/BrokenNecklace . . . . 1 match
          string back(str,pos-1,str.length());
  • [Lovely]boy^_^/USACO/MixingMilk . . . . 1 match
         #include <algorithm>
  • [Lovely]boy^_^/[Lovely]boy^_^/USACO/Barn . . . . 1 match
         #include <algorithm>
  • c++스터디_2005여름/실습코드 . . . . 1 match
         #include <math.h>
  • callusedHand . . . . 1 match
          * 최근 관심있는 밴드: LASSE LINDH, MANDALAY, PEDRO THE LION
         ["callusedHand/projects/algorithms"]
  • cogitator . . . . 1 match
         But, infinite passion & interest to the zeropage
  • django/AggregateFunction . . . . 1 match
         Django에서 기본적으로 제공하는 함수는 없다. 원하는 레코드 집합을 얻어온 다음, python을 이용해서 구하는 방법을 사용할 수 있다.
  • django/RetrievingObject . . . . 1 match
         한 모델에 대해서는 여러 가지 필터를 설치할 수 있다. 필터는 SQL문에서 where절에 해당하는 역할을 한다. 필터에는 검색하는 컬럼의 완전 일치, 부분 일치, 사이 값, 포함, 연월일 옵션을 줄 수 있다. 기본적으로 필터는 AND 조합으로 이루어지며, OR조합을 사용하고 싶다면 Q라는 쿼리 오브젝트를 사용해야 한다.[9] 아래는 필터를 이용해 보고 날짜가2006년 10월 1일 이후인 위험 보고서를 찾는 python코드와 그에 해당하는 SQL문을 보여준다.
  • eclipse플러그인 . . . . 1 match
          * In eclipse menu: window > preferences > team > svn change the default SVN interface from JAVAHL(JNI) to JavaSVN(Pure JAVA)
  • erunc0/RoboCode . . . . 1 match
          * not yet playing.. but this is so exsiting!!!!
  • html5/VA . . . . 1 match
          * width 와 height 로 재생 영역을 지정할 수 있다.
  • html5/overview . . . . 1 match
          * etc. MathML, SVG등 외부 마크업언어 HTML에 직접 삽입가능 (책 범위 밖)
  • html5/video&audio . . . . 1 match
          * width 와 height 로 재생 영역을 지정할 수 있다.
  • html5/문제점 . . . . 1 match
          6.Only targets the general Web:
  • joosama . . . . 1 match
         || [[HTML(<img src = http://galleryimage.naver.com/1/2004-02/04/07/70m1434m0.jpg width = 500 height = 375>)]] ||
  • koi_aio/권영기 . . . . 1 match
         #include<algorithm>
  • koi_cha/곽병학 . . . . 1 match
         #include <algorithm>
  • ljh131 . . . . 1 match
         [http://ljh131.dothome.co.kr]
          - 항상 마들만 사귀는 The O
  • naneunji . . . . 1 match
          * thinking in java 책 읽기
  • naneunji/Diary . . . . 1 match
         프로그래밍파티 첫날..생소한 언어를 고르라구 했는데 내가 고른 python은 생각해보니..한번은 본 언어였음.
  • radiohead4us/Book . . . . 1 match
          || Author || No-ja Park ||
  • snowflower . . . . 1 match
         ||[TheWarOfGenesis2R]||창세기전2 리메이크 프로젝트|| _ ||
         ||["SRPG제작"]||SRPG에 대한 대략적인 계획 - 현재는 ["TheWarOfGenesis2R"]과 함께|| _ ||
         ||[GalzooIsland]||일본어 (With S.D.)|| 2006.01 ~ 중도하차||
  • sort/권영기 . . . . 1 match
         #include<algorithm>
  • subsequence/권영기 . . . . 1 match
         #include<algorithm>
  • travelsky . . . . 1 match
          * MSN : bibliotheque@hanmail.net
  • usa_selfish/권영기 . . . . 1 match
         #include<algorithm>
  • usa_selfish/김태진 . . . . 1 match
         #include <algorithm>
  • while문 구구단 . . . . 1 match
         여기서 질문. 이 코드는 Python 2.4 IDLE 로 짠 것인데
  • whiteblue/LinkedListAddressMemo . . . . 1 match
          cout << "Don't use this menu, yet.";
  • znth . . . . 1 match
         #redirect zennith
  • ★강원길★ . . . . 1 match
         동아리 : 피카통(13th)
  • 강희경 . . . . 1 match
          글을 쓰는 노력이 좋습니다. 그런데, width가 정해지지 않은 위키나 여타 글쓰기에서 기존의 게시판 방식의 글쓰기에 고민하는 것 같습니다. 다음의 두문서를 추천합니다. NoSmok:단락개념 NoSmok:단락나누기
  • 강희경/질문 . . . . 1 match
         nothing
  • 걸스패닉 . . . . 1 match
         == Thread ==
          * 이게 그.... gals panic 이라면 제작에 제가 도움이 되줄수도 있습니다. 제 친구중에 이 게임의 神이 있었거든요. --[zennith]
  • 겨울방학프로젝트/2005 . . . . 1 match
         || [알고리즘] || Introdution to Algorithm 으로 공부 || 상섭 선호 보창 휘동 민경 도현 ||
  • 고한종/업적/WinAPI로만든학과주점포스기 . . . . 1 match
         = GITHUB =
         결과물 찾고, github 프라이빗 계정 등록 성공하면 public으로 올릴 예정(...)
  • 골콘다 . . . . 1 match
          * http://www.pressian.com/section/menu/search_thema.asp?article_num=20
  • 구구단/S.S.S . . . . 1 match
         == Phython ==
  • 구구단/김태훈-zyint . . . . 1 match
         [구구단] [데블스캠프2005] [데블스캠프2005/Python]
  • 권순의 . . . . 1 match
          * Sonic the Hedgehog 광팬 (~~소닉을 가죽으로 만든 SEGA는 반성하라!!~~)
  • 그림으로설명하기 . . . . 1 match
         [http://user.chollian.net/~jjang88/jung1math/1setl4.gif]
  • 금고/김상섭 . . . . 1 match
         #include <math.h>
  • 금고/하기웅 . . . . 1 match
         #include <cmath>
  • 김수경/StickyWall . . . . 1 match
          * [https://github.com/Linflus/StickyWall Repository]
  • 김영현의Wiki처음화면 . . . . 1 match
         [ProgrammingWithInterface] [좋은글귀s]
  • 김태진 . . . . 1 match
         = Curriculum Vitae of ZeroPage 21th, Tae-Jin Kim =
  • 나는이런곳을즐겨찾는다 . . . . 1 match
         || http://www.websubway.co.kr/theme/ || 지하철을 타고 움직일 계획 세울때 쓸모 많음 || . ||
  • 나를만든책장/서지혜 . . . . 1 match
          * THE PRINCETON COMPANION TO Mathematics 1
          * 몰입:THINK HARD
          * 몰입2:THINK HARDER가 나왔다
  • 나를만든책장관리시스템/DBSchema . . . . 1 match
         || bAuthor || varchar(255) ||
  • 남상혁 . . . . 1 match
          * 게임 프로그래밍 with SDL/OpenGL
  • 남훈 . . . . 1 match
         #redirect zennith
  • 다이얼로그박스의 엔터키 막기 . . . . 1 match
          // TODO: Add your specialized code here and/or call the base class
         == Thread ==
  • 단어순서/방선희 . . . . 1 match
         #include <cmath>
  • 달라이라마와도올의만남 . . . . 1 match
          * Author :도올 김용옥
  • 데블스캠프2002/Afterwords . . . . 1 match
          * 야식이 다채롭지 못했다. 센스가 부족했다. -["zennith"]
  • 데블스캠프2002/날적이 . . . . 1 match
         이 곳에 신입회원들은 한일, 알게된 것, 교훈 (ThreeFs 페이지 참조) 등을 적으세요. 그날 했었던 일을 생각하면서 알게된 점을 생각하고, 잘했다고 생각한점은 계속 지향해나가야 겠고, 잘못했다고 생각한점은 '어떻게 하면 잘할 수 있을까?' 하며 대안을 생각해볼 수 있었으면 합니다.
         이런 ThreeFs를 쓰고, 되돌아보기를 하는 것도 역시 공부의 연장입니다. 공부는 "수업"을 마쳤다고 해서 끝나지 않습니다.
         ''DeleteMe 이 날 참가했던 분들 중에 아직 ThreeFs를 쓰지 않으신 분들이 있다면 몇 글자 좀 써주셨으면 하네요. 강의료 대신이라고 생각하고 말이죠. :) 피드백 없이는 개선, 축적되지 않잖아요? --JuNe''
          * 첫번째 문제에 대한 조언을 한다면, 그 route 입력값을, 캐릭터(문자)로 볼것인지 스트링(문자열)으로 볼 것인지 에 관한 문제 같군요. 아마 어제 들은 얘기로 볼 때, 하나 하나의 이동 명령이란 개념에만 매달린 나머지 그걸 따로따로의 문자의 합으로 본거 같은데, 거기서 그 개념에 얽매이지 말고 문자열로 개념을 확장시켰다면 수월했을겁니다. -["zennith"]
  • 데블스캠프2003 . . . . 1 match
         || 7월 2일 || 수요일 || 신재동(Python, J2ME), 이상규(Scheme, Smalltalk) || 여러가지 체험 ||
         == Thread ==
  • 데블스캠프2003/다루어볼문제와관련세미나 . . . . 1 match
         오늘(화) 밤 9시경부터 10시30분까지 1시간 30분 정도 하면 됩니다. 준비되어야 할 것은 Python 2.3, IdleFork입니다. 빨리 답변을 주세요. --JuNe
  • 데블스캠프2005/FLASH키워드정리 . . . . 1 match
         _root, this
  • 데블스캠프2005/목요일 . . . . 1 match
          * [1002] 의 [VPython] + 상협의 [RUR-PLE]
  • 데블스캠프2008 . . . . 1 match
          || 12시 ~ 3시 || [김정현] || [wiki:데블스캠프2008/등자사용법 등자 사용법] || [김남훈] || 텍스트계산기 by Python|| [나휘동] || 파이프라인 || [문원명] || 자바 ||[이장길]
  • 데블스캠프2009/금요일/SPECIALSeminar . . . . 1 match
          * Data Structure, Algorithm, SE, OOP
  • 데블스캠프2009/금요일/연습문제/ACM2453/정종록 . . . . 1 match
         #include<math.h>
  • 데블스캠프2010/회의록 . . . . 1 match
         == Python (강사 : [조현태]) ==
  • 데블스캠프2011/넷째날/Android . . . . 1 match
          * 강사 : Zeropage 16th [이원희]
  • 데블스캠프2011/넷째날/루비/서민관 . . . . 1 match
          if self.inputNum > self.randNum then
  • 데블스캠프2011/다섯째날/HowToWriteCodeWell/박정근,김수경 . . . . 1 match
          floor = i;// TODO Auto-generated method stub
  • 데블스캠프2011/둘째날/후기 . . . . 1 match
         #include <math.h>
  • 데블스캠프2011/셋째날/RUR-PLE/박정근 . . . . 1 match
          if facing_north():
  • 데블스캠프2012/넷째날/묻지마Csharp/Mission3/서영주 . . . . 1 match
          tempString = tempString.Substring(1, tempString.Length - 1) + tempString.Substring(0, 1);
  • 데블스캠프2012/넷째날/묻지마Csharp/Mission4/서영주 . . . . 1 match
          tempString = tempString.Substring(1, tempString.Length - 1) + tempString.Substring(0, 1);
  • 데블스캠프2012/둘째날/후기 . . . . 1 match
          * '''후기 쓸 때 반드시 참고하세요 : [ThreeFs]'''
          * [김민재] - APM이 뭔가 했더니 Apache + PHP (perl? python?) + MySQL 인걸 알았을 때의 놀라움 ㅋㅋㅋㅋ 내 컴퓨터에서 준석이 형 페이지에 접속했을 때 정말 신기했습니다. 또 MyAdmin으로 데이터베이스를 직접 만드는 것도 처음 해보았습니다. (cafe24 호스팅에서는 DB 만들기가 안되더라구요..) 오늘 여러모로 신기한 체험을 많이 해 보았습니다.
  • 데블스캠프2012/셋째날/코드 . . . . 1 match
         <div id='mapContainer' style='width:300px;height:300px'></div>
  • 데블스캠프2013/넷째날/후기 . . . . 1 match
         = 송지원 / Clean Code with 페어코딩 =
  • 데블스캠프2013/다섯째날/구구단 . . . . 1 match
          * 형진 선배 python 코드(재귀)
  • 도형그리기 . . . . 1 match
         둥근 사각형 : RoundRect (Start_x, Start_y, End_x, End_y, width, height)
         == Thread ==
  • 떡장수할머니/강소현 . . . . 1 match
          for(int i=2; i<num.length; i++){
  • 로마숫자바꾸기/조현태 . . . . 1 match
         getString(Num) -> lists:nth(Num, ["I ", "II ", "III ", "IV ", "V ", "VI", "VII", "VIII", "IX"]).
  • 맞춤교육 . . . . 1 match
          - 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 한국엔 인재가 없다]
  • 몸짱프로젝트/BinarySearchTree . . . . 1 match
         == Python version ==
  • 몸짱프로젝트/InfixToPrefix . . . . 1 match
         == Python version ==
  • 문서구조조정토론 . . . . 1 match
         ["neocoin"]:말씀하시는 문서 조정은 문서 조정은 문서 작성자가 손대지 말아야 한다라는걸 밑바탕에 깔고 말씀 하시는것 같습니다. 문서 조정자는 특별히 문서 조정을 도맡는 사람이 아니고, 한명이 하는 것이 아니라, 다수가 접근해야 한다는 생각입니다. "다같이" 문서 조정을 해야 된다는 것이지요. 문서 조정을 한사람의 도맡고 이후 문서 작성자는 해당 문서에서 자기가 쓴 부분만의 잘못된 의미 전달만을 고친다라는 의미가 아닌, 문서 조정 역시 같이해서 완전에 가까운 문서 조정을 이끌어야 한다는 생각입니다. 즉, 문서 구조 조정이후 잘못된 문서 조정에서 주제에 따른 타인의 글을 잘못 배치했다면, 해당 글쓴이가 다시 그 배치를 바꿀수 있고, 그런 작업의 공동화로, 해당 토론의 주제를 문서 조정자와 작성자간에 상호 이해와 생각의 공유에 일조 하는것 이지요.[[BR]] 논의의 시발점이 된 문서의 경우 상당히 이른 시점에서 문서 구조조정을 시도한 감이 있습니다. 해당 토론이 최대한 빨리 결론을 지어야 다음 일이 진행할수 있을꺼라고 생각했고, thread상에서 더 커다랗게 생각의 묶음이 만들어 지기 전에 묶어서 이런 상황이 발생한듯 합니다. 그렇다면 해당 작성자가 다시 문서 구조 조정을 해서 자신의 주제를 소분류 해야 한다는 것이지요. 아 그리고 현재 문서 구조조정 역시 마지막에 편집분은 원본을 그대로 남겨 놓은 거였는데, 그것이 또 한번 누가 바꾸어 놓았데요. 역시 기본 페이지를 그냥 남겨 두는 것이 좋은것 같네요.(현재 남겨져 있기는 합니다.) --상민
         그리고 이건 논제와 약간 다른데, 성급하게 'Document' 를 추구할 필요는 없다고 봅니다. Thread 가 충분히 길어지고, 어느정도 인정되는 부분들에 대해서 'Document' 화를 해야겠죠. (꼭 'Document' 라고 표현하지 않아도 됩니다. 오히려 의미가 더 애매모호합니다. '제안된 안건' 식으로 구체화해주는 것이 좋을 것 같습니다.) --석천
  • 문원명 . . . . 1 match
          * [TheJavaMan]
         마침 오늘 봤었군! 밥사줘서 thanks - [문원명]
  • 문자반대출력 . . . . 1 match
         || [남상협] || Python || 17분 || [문자반대출력/남상협] ||
  • 문자반대출력/남도연 . . . . 1 match
         #include <math.h>
  • 문자열검색/조현태 . . . . 1 match
          char x[MAX_LONG] = "His teaching method is very good.";
  • 문제풀이 . . . . 1 match
         || 00 || [임인택] (in Python) ||
  • 박범용 . . . . 1 match
          This Love
          === Further Reading 가입하기 ===
  • 벡터/곽세환,조재화 . . . . 1 match
         #include <algorithm>
  • 벡터/권정욱 . . . . 1 match
         #include <algorithm>
  • 벡터/김수진 . . . . 1 match
         #include<algorithm>
  • 벡터/김태훈 . . . . 1 match
         #include <algorithm>
  • 벡터/김홍선,노수민 . . . . 1 match
         #include <algorithm>
  • 벡터/박능규 . . . . 1 match
         #include <algorithm>
  • 벡터/유주영 . . . . 1 match
         #include <algorithm>
  • 벡터/임민수 . . . . 1 match
         #include <algorithm>
  • 벡터/임영동 . . . . 1 match
         #include<algorithm>
  • 벡터/조동영 . . . . 1 match
         #include <algorithm>
  • 병역문제어떻게해결할것인가 . . . . 1 match
          * 가장 좋은 깃헙 저장소로 [https://github.com/sesang06/awesome-alternative-military-service Awesome Alternative Military Service]를 추천합니다. 해당 저장소를 만든 사람은 현역 대학생으로 재배정 TO를 받으신 분입니다.
         = Thread =
  • 복날 . . . . 1 match
          C++, JAVA, Python 스터디 모임.
  • 복사생성자 . . . . 1 match
         4. 복사 생성자에서는 return *this;
         == Thread ==
  • 블로그2007/송지훈 . . . . 1 match
         <marquee border="2" bgcolor="#000000" behavior="alternate" align="center" width="300" height="8" ><font
  • 빵페이지/숫자야구 . . . . 1 match
          * 넵!오빠~ thank you~^^ -일정
  • 삼총사CppStudy/숙제2 . . . . 1 match
          || Length || 벡터의 길이를 구합니다. ||
  • 상협/Medusa . . . . 1 match
          * Python으로 서버를 돌릴때 사용하면 괜찮을듯 싶다.
  • 새싹교실/2011/Pixar/4월 . . . . 1 match
         if else, swithch, while, for 등 몰라서 답답했던걸 알게되서 너무 좋았어요
  • 새싹교실/2011/學高/1회차 . . . . 1 match
          * Kinds of programming language: C, C++, Java, Assembly, Python etc.
  • 새싹교실/2011/學高/4회차 . . . . 1 match
          * Input three integers: 2 3 7
          * The sum of your integers plus 7 is 19
  • 새싹교실/2011/데미안반 . . . . 1 match
          * A언어 : ALGOL을 말합니다. 고급 프로그래밍 언어(어셈블리나 기계어를 저급 프로그래밍 언어라고 합니다)로 각광받던 포트란ForTran에 대항하기 위해 유럽을 중심으로 개발된 프로그래밍 언어입니다. ALGOL은 Algorithm Language의 약자로서, 이름 그대로 알고리즘 연구개발을 위해 만들어졌습니다. 하지만 ALGOL은 특정한 프로그래밍 언어를 지칭하기 보다는 C언어나 파스칼과 같이 구조화된 프로그래밍 언어를 지칭하는 말(ALGOL-like programming language)로 쓰입니다. [http://kin.naver.com/qna/detail.nhn?d1id=1&dirId=1040101&docId=68855131&qb=Q+yWuOyWtCBC7Ja47Ja0IEHslrjslrQ=&enc=utf8§ion=kin&rank=1&search_sort=0&spq=0&pid=ghtBIz331ywssZ%2BbORVssv--324794&sid=TYBj6x1TgE0AAE@GUeM 출처 링크! 클릭하세요:)]
  • 새싹교실/2011/무전취식/레벨10 . . . . 1 match
          * '''후기 작성 요령''' : 후기는 F4(ThreeFs + Future Action Plan)에 맞게 작성해주세요.
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
          * 개념 정리에 대해서는 그다지 많은 가르침이 없었습니다. 오늘의 집중 항목은 여러명이 코딩하는 방법과 직접 코딩을 해보는것이었죠. 지각에 대해서도 한마디했군요!! 지각할때 상대방의 양해를 구하지 않는것은 상대방에게 크나큰 실례입니다~ 모두 지각한다면 먼저 알려주는 센스쟁이가 되주세요. 오늘은 진경이가 와줘서 너무 기쁩니다. 든든한 조교가 있으니 강사가 무능해도 잘 진행되는군요. Show me the money!!! 담시간을 기대하시라!! 또한 태진이도 들으러와서 신나보이는 새싹이었습니다. 이런 수업방식이 적응이 안될수도잇죠. 신나고 신나게 배우고 먹고 마시는것입니다. 이게 맞는지는모르겠지만 학생들이 모쪼록 제 배움을 즐겁게 받아들여주었스면 좋겠습니다. 다음시간에도 Coding Coding입니다!! 얏후!! 후기써라. - [김준석]
         #define MAX_WORDLENGTH 200
  • 새싹교실/2011/무전취식/레벨4 . . . . 1 match
         #include<math.h> //Rand를 가져오는 헤더파일
          * '''후기 작성 요령''' : 후기는 F4(ThreeFs + Future Action Plan)에 맞게 작성해주세요.
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
  • 새싹교실/2011/무전취식/레벨9 . . . . 1 match
         #include <math.h>
          * '''후기 작성 요령''' : 후기는 F4(ThreeFs + Future Action Plan)에 맞게 작성해주세요.
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
  • 새싹교실/2012/AClass/5회차 . . . . 1 match
         #include<math.h>
  • 새싹교실/2012/Dazed&Confused . . . . 1 match
          * 새로운 용어들 #define, getchar, rand, <math.h>등에 대해서 알게 되었다. 이런 새로운 용어들을 복습해 봐야겠다. winapi를 알게 되어 조금 더 찾아 볼 수 있어 좋았다 - [박승우]
  • 새싹교실/2012/새싹교실강사교육/4주차 . . . . 1 match
         http://rogerdudler.github.com/git-guide/index.ko.html
  • 새싹교실/2012/아우토반/앞반/4.12 . . . . 1 match
          * '''후기 작성 요령''' : 후기는 F4(ThreeFs + Future Action Plan)에 맞게 작성해주세요.
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
         #include<math.h>
  • 새싹교실/2012/해보자 . . . . 1 match
          * 새싹교실이 ZeroPage에서 시행되는만큼 4F([ThreeFs] + Future Action Plan)에 맞게 feedback을 작성합니다.
          - parenthesis(괄호)를 이용하여 우선순위를 부여할 수 있다. ex) if((x==2&&y==3)||z==4)
  • 새회원을받으면 . . . . 1 match
          * 왜냐면, 열심히 하는 사람과 열심히 하지 않을 사람이 같이 섞여 있으면 서로 피곤하기 때문이지. 유유상종을 잊지 말게나! --[zennith]
  • 서로간의 참조 . . . . 1 match
          CView* pView = m_viewList.GetHead();
         == thread ==
  • 서민관 . . . . 1 match
         ||유전 알고리즘(GA, Genetic Algorithm)||
  • 서울대컴공대학원구술시험/05전기 . . . . 1 match
         test(T){ if(T=null) then return 0 else return 1+max(test(left_subtree), test(right_subtree)); }
  • 세미나/02대상 . . . . 1 match
         ["02_Python"],["02_C++세미나"],["02_C"],["02_Archi"]
  • 소수구하기/인수 . . . . 1 match
         #include <cmath>
  • 소수구하기/임인택 . . . . 1 match
         #include <math.h>
  • 속죄 . . . . 1 match
          * Author : 이언메큐언 // 한정아
  • 수면과학습 . . . . 1 match
          * Smith & Lapp(1991) : 새로운 정보를 평소보다 많이 학습할 것으로 추정되는 시험 기간동안 대학생들 REM수면의 증가를 보인다.
  • 수학의정석/방정식/조현태 . . . . 1 match
         #include <math.h>
  • 시간관리인생관리/요약 . . . . 1 match
          ==== 한번에 하나씩 '깊이 활동(depth activity)'을 시작하고 하나를 끝낸 후에 다음 것을 시작하라. ====
  • 실시간멀티플레이어게임프로젝트/프레임워크 . . . . 1 match
         Python:ClientCookie
  • 안혁준 . . . . 1 match
          * 개인용위키 - [http://github.com/HyeokJun/WikiNote wikinote]
  • 알고리즘5주숙제/김상섭 . . . . 1 match
         #include <math.h>
  • 양아석 . . . . 1 match
         facing_north():북쪽을보는가
  • 연습용 RDBMS 개발 . . . . 1 match
         #include <math.h>
  • 예수는신화다 . . . . 1 match
          * Title :예수는 神話다 - 기독교 탄생의 역사를 새로 쓰는 충격보고(The Jesus Mysteries)
          * Author :티모시 프리크, 피터 갠디 (지은이), 승영조 (옮긴이)
  • 우리가나아갈방향 . . . . 1 match
         이 말의 의도는 충분히 이해를 하지만 오해의 소지가 있을 것 같아 사족을 답니다. 모여서 할 수 있는 공부가 분명히 있습니다. 이것은 혼자서만 할 수 있는 공부와는 다릅니다. 모여서 하면 아주 좋은 성과를 볼 수 있는, 그러나 혼자서는 하기 힘든 그런 공부가 분명히 있습니다. 수프를 먹으면서 포크의 "비어있음"을 탓하고 스푼의 "차있음"을 찬양하지만, 과일을 먹으면서는 포크의 "비어있음"을 고마워하고 스푼의 "차있음"을 비난하는 법입니다. 사건(event)과 물건(thing), 즉 사물에는 "나"와의 관계 속에서 그것의 "도"를 밝혀주는 길과 쓰임이 생깁니다. 그 길로 다니면 편하고 자연스럽고 쓸모를 얻지만, 자신이 길을 억지로 내려고 하면 불편하고 거북하며 쓸모를 얻지 못합니다. --김창준
  • 유선 . . . . 1 match
          * spell with flickr 이걸로 배너같은걸로 대신해도 좋을듯... - [eternalbleu]
  • 이연주/공부방 . . . . 1 match
         == thread ==
  • 이영호/nProtect Reverse Engineering . . . . 1 match
         2. client.exe(client가 실행될 때, gameguard와는 별개로 디버거가 있는지 확인하는 루틴이 있는 듯하다. 이 파일의 순서는 이렇다. 1. 데이터 파일의 무결성검사-확인해보지는 않았지만, 이게 문제가 될 소지가 있다. 2. Debugger Process가 있는지 Check.-있다면 프로세스를 종료한다. 3. gcupdater.exe를 서버로부터 받아온다. 4. createprocess로 gcupdater를 실행한다. 5. 자체 게임 루틴을 실행하고 gcupdater와 IPC를 사용할 thread를 만든다.)
         |pThreadSecurity = NULL
         |InheritHandles = FALSE
  • 이영호/끄적끄적 . . . . 1 match
         #include <math.h>
  • 이영호/미니프로젝트#1 . . . . 1 match
          h = gethostbyname(info.host);
          if(strstr(msg, "NOTICE AUTH :*** Checking Ident") != NULL){
  • 이태양 . . . . 1 match
         '''A'''lgorithm &
  • 인수/Smalltalk . . . . 1 match
          numsOfWalked := Array2D width:size height:size.
  • 임베디드방향과가능성/정보 . . . . 1 match
         예전부터 임베디드는 결국 pc의 재탕이다..라고 하셨는데 물론 100% 맞는 말씀입니다. 20년~15년 전의 기술, 빌게이츠가 dos를 가지고 pc산업을 일으켰던 그 기술이 결국 임베디드 아니냐..?라고 하시면 이 역시 맞는 말씀입니다. 그리고 이것은 결국 임베디드가 옛날 기술, 옛것의 재탕이다..라는 말씀이시죠.. 하지만 그렇게 따진다면 전기공학은 100년전 것의 재탕삼탕이고 이동통신(ldpc)이나 ASIC backend 관련 tools(synthesis,testing)도 대부분 이론은 20~40년전에 완성된 분야구요. 오히려 임베디드는 80년부터 이어져온 비교적 신기술(?)이 적용된 분야라 생각되는군요. 먼저 이런 말씀을 드린 이유는 임베디드 분야의 기술에 관해 조금 비관적인 생각을 가지신 것 같아서 입니다.
  • 임수연 . . . . 1 match
         E-mail : theeric(a)hotmail.com
  • 임인책/북마크 . . . . 1 match
          * [http://zeropage.org/~dduk/ace/Addison.Wesley.The.ACE.Programmers.Guide.chm ACE Programmer's Guide] ([http://zeropage.org/~dduk/ace/APG.zip example code])
          * [http://codeguru.earthweb.com/system/apihook.html API Hooking Revealed]
  • 임인택/AdvancedDigitalImageProcessing . . . . 1 match
          http://planetmath.org/encyclopedia/HoughTransform.html
  • 임인택/삽질 . . . . 1 match
          // some operation with 3x3 array.
  • 자료실 . . . . 1 match
         [[HTML(<p align=center><iframe src="/jsp/pds/pds_session.jsp" FRAMEBORDER="no" width=100% height=100%></iframe></p>)]]
  • 전문가되기세미나 . . . . 1 match
          * Technical Environment with Automated Tests, Configuration Management, and Frequent Integration
  • 정규표현식/소프트웨어 . . . . 1 match
          http://hackingon.net/image.axd?picture=WindowsLiveWriter/AdhocStringManipulationWithVisualStudio/7EA25C99/image.png
  • 정모 . . . . 1 match
         ||||2023.09.20||[방석현]||||||||Rust - Object Oriented Programming with Rust||[정모/2023.09.20/참석자]||
         == Thread ==
  • 정모/2002.7.11 . . . . 1 match
          * ["ProjectPrometheus"] - 도서관 정보 관리 시스템
  • 정모/2002.9.26 . . . . 1 match
         ["ProjectPrometheus"] 팀의 경우는 현재 도서관 UI 가 바뀌는 통에 열심히 기존 코드 수정중이라고 함. 그대신 모듈화가 되어있어서 소스의 일부 클래스들만 수정하면 된다고 한다.
         시간관리, 우선순위 관리에 대해 고민하는 사람들이 많았다. 마침 재동이 '끝도없는일 깔끔하게 해치우기'(NoSmok:GettingThingsDone) 를 읽던 중이여서 책을 아는 사람들이 그와 관련한 이야기들이 있었다.
  • 정모/2003.2.12 . . . . 1 match
         == thread ==
  • 정모/2003.8.26 . . . . 1 match
         || Python || 4 ||
  • 정모/2003.9.23 . . . . 1 match
          * 리얼타임멀티플레이어게임프로젝트(RTMPGP): 1주 진행했고 어떻게 짤까와 메인프레임을 논의했고, Python으로 짤 예정입니다. 총 4주과정입니다.
  • 정모/2004.2.17 . . . . 1 match
          * OneWiki:TheJavaMan 진행중.
          * Java, Pthon
  • 정모/2005.12.29 . . . . 1 match
          || Basic Algorithm || 보창선배님께 부탁드려서 문제을 얻을 계획 ||
  • 정모/2005.2.16 . . . . 1 match
         = thread =
  • 정모/2005.3.7 . . . . 1 match
         == thread ==
  • 정모/2005.6.27 . . . . 1 match
          [김정현] : [Python], [MFC] 공부해보고 싶다.
  • 정모/2006.1.19 . . . . 1 match
         === Python 으로 해보는 소켓 ===
  • 정모/2011.4.11 . . . . 1 match
          * 처리되지 않은 예외는 폭탄과 같아서 그냥 내버려두거나 무한히 throw하면 안 된다.
          * '''후기 작성 요령''' : 후기는 F4(ThreeFs + Future Action Plan)에 맞게 작성해주세요.
          * 관련 페이지 : ThreeFs, [http://no-smok.net/nsmk/ThreeFs ThreeFs(노스모크)], [http://no-smok.net/nsmk/FiveFs FiveFs(노스모크)]
          * 항상 그렇듯 정모할때 궁금한건 Ice Breaking 시간이군요. 녹화 재방이라도 제발 보고싶은 마음입니다. 정모시간에 소개해주신 LETSudent는 참석해봐야겠습니다. 유익한 정보군요. 새로온 21기 학우들 반갑습니다. 얼굴 기억했어요. Zeropage의 생활을 맘껏 즐겨보아요. 새얼굴들이 보였는데 이제 새로 새내기들을 한번 정모에 참여할때가 되었다는 생각이 잠깐 들었던 시간입니다. 권순의 학우의 OMS는 배경이 아야나미 레이라서 기쁨반 안타까움 반으로 배경을 지켜보았고 안티짓도 좀 올렸었습니다만, 그거 알잖아요 안티도 팬입니다. OMS에서 소개된 노래들에 대해 다시한번 들어보고 생각해보게 되었던 시간은 기쁩니다. 창작자의 의미가 가득차있는 것을 알게해주었으니까요. 그사람들도 기쁠겁니다. 회장님이 만들으셨던 스피드 퀴즈는 정말 신선했어요. '우리도 올해는 이런 레크레이션을 다하는구나'는 뿌듯한 생각이 들었습니다. 전 이런거 좋아하니까요. 저도 어느정도 공통된 경험이 쌓인사람들과 만난다면 해보는게 좋을것 같습니다. 다음주 소풍은 정말 꽃이 만발했으면 좋겠단 생각이드네요 한번 이건 알아봐야겠습니다. 비는 안오겠죠. 시험기간 전이라 걱정이될 사람도있겠지만 경험상, 시험기간 전에는, 시험기간 중에는, 시험기간 후에는 노는겁니다. Enjoy EveryThing이죠. 항상 늦지만 이렇게라도 정모에 참석해서 후기를 남길수있는게 가장 즐겁습니다. 다음주에는 즐거운 소풍준비를 해가야겠군요 - [김준석]
  • 정모/2011.4.4/CodeRace . . . . 1 match
          public person(String name){this.name = name;}
          public void ThrowRook(ProfessorR r, Child c) {
          b.ThrowRook(test, rook);
  • 정모/2011.5.16 . . . . 1 match
          * 11학번 학우들이 흥 했던 정모였습니다. 골든벨 문제를 내면서 또 학우들이 푸는걸 보면서 확실히 제가 새내기 때를 생각하면 수준이 많이 높아요.. (이것도 지피 학우들의 힘!?) 난 1학년 1학기 때 if문도 제대로 쓰지 못했는데 말이지요~_~ 스승의 날 이벤트로 준비한 준식이의 꽃 + 파이 햏사도 인상적이였어요. 역시 준석이는 애들을 잘 챙겨요. 앞으로도 쭉 thㅐ내기 학우들과 재학생들이 흥하는 제로페이지 정모가 되었으면 좋겠습니다 - [지원]
  • 정모/2011.8.8 . . . . 1 match
          * Plz update this line.
  • 정모/2012.10.8 . . . . 1 match
          * English Speaking with 즉흥 연기(?)
  • 정모/2012.2.24 . . . . 1 match
          * 정모 이야기는 아니지만 PC실 정비 도와주고 싶었는데 그 날 Google Hackathon 본 행사가 있는 날이라 참석을 못했습니다ㅠㅠ
  • 정모/2012.3.12 . . . . 1 match
          당장 학우들이 학교에서 배우는 버전은 아마도 Java SE 5.0과 6일 것이므로 혼란을 피하기 위해 JLS 3e 기준으로 설명했습니다. Java SE 7의 JLS SE7e 에서는 The Diamond <>를 이용한 Type inference가 추가된 것이 가장 큰 특징이지요. 이를테면,
          * 사고가 확장되는 건 언제나 즐거운 일이네요. 수학의 기본 정의를 이용하여 Data type을 설명하신 것을 보며, 놀라웠습니다. 프로그래밍 관련 생각을 할 때 마다, 매번 '아 나의 사고(thinking)의 도메인이 너무 작어 ㅜㅜ'라는 생각을 많이 하였는데, Data type의 정의를 들으면서 '내가 평소에 인지(recognize)하지 못했기 때문에, 깊게 생각해보려고 해도 다른 분야의 개념들이 자연스럽게 생각이 떠오르지 않는구나.'라는 생각을 해보게 되었습니다. 이런 건 계속 연습을 해야겠지요 ㅜㅜㅋ 뒤쪽 부분도 상당히 흥미로웠습니다만.. 어제 몸이 아파서 밤에 잠을 못 잔 관계로; 결국 OMS듣다가 정신이 안드로메다로 날아가서 제대로 못들었네요.. 그리고 회장은 항상 수고하네요. 갑자기 많은 일을 하게 되었을텐데 수고하십니다 ㅋ -[박성현]
  • 정모/2013.9.4 . . . . 1 match
          * 클린 코드 : SRP(Single Responsibility Principle), DIP(Dependency Inversion Principle) 방식을 공부하였고 디자인패턴 중 템플릿 메소드에 대해서 공부하였습니다.그리고 스레드에 대해서 공부 하였습니다. trello와 github연동하는 방법이 있습니다.상당히 유용할 것같으므로 관심있으신분들은 조금만 찿아보시면 쉽게 하실수있습니다.
  • 정수민 . . . . 1 match
          printf("n== LOTTO RANDOM NUMBER GENERATOR ==nnEnter the game count : ");
          printf("n[ The contents of score array ]n");
  • 정신병원에서뛰쳐나온디자인 . . . . 1 match
          * Author : 앨런 쿠퍼
  • 정종록 . . . . 1 match
         == thread ==
  • 제로페이지의문제점 . . . . 1 match
         세미나가 [데블스캠프]외에 신입생 위주로 하는게 있어요? 설마 스터디를 이야기 하는거라면, 자신이 만들어 나가는건데요. :) 여태 제가 신입생 대상 스터디를 해본적이 없어서 공감이 안가는 이야기 같네요. 스스로 만드세요. SeeAlso 개인 제외 같이 한것들 --ExploringWorld ProjectZephyrus ProjectPrometheus [MFCStudy_2001] [KDPProject] [Refactoring] --NeoCoin
  • 조영준/CodeRace/130506 . . . . 1 match
          for (int i = 0; i < s.Length; i++)
  • 졸업논문/서론 . . . . 1 match
         이러한 맥락에서 python언어로 만든 django라는 프레임워크가 존재한다. RoR과 마찬가지로 django를 이용하면 기민하게 동적으로 웹 사이트를 만들 수 있다.[4] Django에서는 모델, 뷰, 템플릿, 세팅 등을 이용하여 웹 사이트를 구축할 수 있는 특징과 함께, 관리자 인터페이스를 자동으로 제공해주는 장점을 가진다. 또한 모델과 데이터베이스를 자동으로 동기화 해주고, 데이터를 삽입, 변경, 삭제할 때 웹 개발자가 직접 데이터베이스에 질의를 던지지 않아도 되도록 데이터베이스 접근을 추상화하였다.
  • 졸업논문/참고문헌 . . . . 1 match
         [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.
  • 좋은위키페이지 . . . . 1 match
         '''ThreeFs 를 나눌 수 있는 페이지'''
          ["데기"]는 생각과 느낌을 나누는(곱하기까지 하면 더 좋고...) 페이지가 좋다. ["Python"] 페이지에서 파이썬 학습을 위한 로드맵만을 만나는 것보다 "내가 어제 말로만 듣던 파이썬을 써서 구구단을 짰는데 너무 쉽고 재밌어서 감동이더라."와 같은 경험을 나누는게 더 반가울것 같다. --["데기"]
  • 중위수구하기 . . . . 1 match
         || 나휘동([Leonardong]) || python || . || [중위수구하기/나휘동] ||
  • 지금그때2003 . . . . 1 match
         == Thread ==
          주제가 어떤거지? 현재 지어진 제목을 보면 '미래를 예측하는 방법'에 관한 내용인것 같고, [지금알고있는걸그때도알았더라면]은 '어떤것에 초점을 두어야 하는가'라는거 같은데.. 전자라면.. 앨런 케이의 말을 살짝 인용하며 정말 멋질것 같은데.. "The best way to predict the future is to invent it." - Alan Kay --[sun]
  • 지금그때2006 . . . . 1 match
          * [http://165.194.17.5/~leonardong/register.php?id=nowthen2006 지금그때2006참가신청] 받기
  • 질문의힘 . . . . 1 match
          * Author : 사이토 다카시 (지은이), 남소영 (옮긴이)
  • 창섭/통기타 . . . . 1 match
          * 남훈선배 ["zennith/bike"] 보다가 문득 나도 하나 만들고 싶어졌다..;;
  • 최대공약수/문보창 . . . . 1 match
         import java.math.BigInteger;
          System.out.println("The GCD of " + bigInteger1 + " and " + bigInteger2 + " is " + gcdNum);
  • 최소정수의합 . . . . 1 match
         || [임인택] || Python || 15분 || [최소정수의합/임인택] ||
  • 컴공과프로그래밍경진대회 . . . . 1 match
          * ["1thPCinCAUCSE"] - 1회 대회
  • 컴공과학생의생산성 . . . . 1 match
         두째로, 생산성에 대한 훈련은 학생 때가 아니면 별로 여유가 없습니다. 학생 때 생산성이 높은 작업만 해야한다는 이야기가 아니고, 차후에 생산성을 높일 수 있는 몸의 훈련과 공부를 해둬야 한다는 말입니다. 우리과를 졸업한 사람들 중에 현업에 종사하면서 일년에 자신의 업무와 직접적 관련이 없는 IT 전문서적을 한 권이라도 제대로 보는 사람이 몇이나 되리라 생각을 하십니까? 아이러니칼 하게도 생산성이 가장 요구되는 일을 하는 사람들이 생산성에 대한 훈련은 가장 도외시 합니다. 매니져들이 늘 외치는 말은, 소위 Death-March 프로젝트의 문구들인 "Real programmers don't sleep!"이나 "We can do it 24 hours 7 days" 정도지요. 생산성이 요구되면 될 수록 압력만 높아지지 그에 합당하는 훈련은 지원되지 않습니다.
  • 코바예제/시계 . . . . 1 match
         public String getTime() throws SystemException {
          return ("The current time is : " + current_time);
  • 콤비반장의메모 . . . . 1 match
         메모리를 mp3 버퍼.. (e.g. 32kByte) 를 더블 버퍼로 잡아서, 네트워크로 더블 버퍼링 시스템으로, 네트웍으로 받은 자료로 다음 버퍼를 채우고.. 이런 형식으로 버퍼를 채운 다음에, 플러그 인 형식으로 배포하는건 어떨까요. 머.. 이건 winamp 에만 한정되겠지요. - [zennith]
  • 타도코코아CppStudy/0724/선희발표_객체지향 . . . . 1 match
          * 캡슐화(encapsulation) : 객체의 내부적인 사항과 객체들간의 외부적인 사항들을 분리시킨다. 이렇게 캡슐화된 객체의 행위는 외부에서 볼 때는 구체적인 아닌 추상적인 것이 되므로 정보 은닉(information hiding) 개념이 존중된다. 주어진 클래스의 특정 연산 기능은 메소드(method)라고 한다. 캡슐화는 무슨 메소드로 구현되었는가에 구애받지 않고 추상적으로 정의된 연산 기능을 통해 객체가 사용되고 시스템의 상태(state)를 변화시키도록 해준다.
  • 타도코코아CppStudy/0731 . . . . 1 match
         마우스 이벤트 처리 with vector
         == Thread ==
  • 타도코코아CppStudy/객체지향발표 . . . . 1 match
          * 캡슐화(encapsulation) : 객체의 내부적인 사항과 객체들간의 외부적인 사항들을 분리시킨다. 이렇게 캡슐화된 객체의 행위는 외부에서 볼 때는 구체적인 아닌 추상적인 것이 되므로 정보 은닉(information hiding) 개념이 존중된다. 주어진 클래스의 특정 연산 기능은 메소드(method)라고 한다. 캡슐화는 무슨 메소드로 구현되었는가에 구애받지 않고 추상적으로 정의된 연산 기능을 통해 객체가 사용되고 시스템의 상태(state)를 변화시키도록 해준다.
  • 토이/메일주소셀렉터/김남훈 . . . . 1 match
         zennith@zeropage:~/work/lexandyacc$ ./mailscanner
  • 토이/숫자뒤집기/김남훈 . . . . 1 match
          for (int i = c.length - 1; i >= 0; i--)
  • 토이/숫자뒤집기/임영동 . . . . 1 match
          int inputNumber=Integer.parseInt(JOptionPane.showInputDialog(null, "Input a number that you want to reverse."));
  • 파스칼삼각형/윤종하 . . . . 1 match
         - Python
  • 파이썬->exe . . . . 1 match
         python setup.py py2exe --packages win32com
  • 파킨슨의 법칙 . . . . 1 match
          * Author : 노스코트 파킨슨 | 김광웅 역
  • 페이지지우기 . . . . 1 match
         삭제하고 싶은 페이지의 내용을 지우거나, 해당 페이지 아무곳에서나 '''DeleteThisPage''' 를 남긴다. 그러면 ZeroWiki 관리자가 해당 문자열 검색을 통해 페이지를 지우게 된다.
         '''If you want to delete this page, YouNeedToLogin.''' 현재 ZeroWiki 에서 Delete''''''Page 권한은 계정 관리자가 갖고 있습니다. 로그인한 사용자도 그 권한을 사용할 수 있도록 한 단계 더 공개하는건 어떨까요? security.py 에서 {{{~cpp self.delete = self.delete and user.valid}}} 이 한 라인을 추가하면 됩니다. --["데기"]
         See Also DontDeleteThisPage
  • 프로그래밍/Pinary . . . . 1 match
          int size = number.length();
  • 프로그래밍/Score . . . . 1 match
          int size = each.length();
  • 프로그래밍가르치기 . . . . 1 match
         YetAnotherTextMenu
  • 프로그래밍파티 . . . . 1 match
          * 모임이후 ThreeFs 페이지
          * #class, #method : 클래스와 메쏘드 숫자에 반비례 (전체 점수에서 비율은 가장 낮음)
  • 피보나치/이승한 . . . . 1 match
         [데블스캠프2005/화요일] [데블스캠프2005/Python]에서 풀어본 문제
  • 피보나치/임인택 . . . . 1 match
         #format python
  • 피보나치/태훈 . . . . 1 match
         [피보나치] [데블스캠프2005] [데블스캠프2005/Python]
  • 하드웨어에따른프로그램의속도차이해결 . . . . 1 match
          * 허허.. 인스톨 과정에 재컴파일을 넣으면 되지 않을까 ;; 소스배포! 그것이야말로 남자(?)의 로망.. --["zennith"]
  • 학문의즐거움 . . . . 1 match
         이 책을 읽으면 공부란 무엇인가? 어떤 자세가 바람직한 가에 대한 저자의 생각을 볼 수 있다. 자서전 형식의 수필답게 꼭 이래야 한다는 지침서는 아니라고 본다. 나의 경우 동감이 되는 부분도 있었지만, '''이건 좀 아닌 것 같은데...'''라는 부분도 있었다. '''문제와 함께 잠자라(Sleep with problem)'''라는 명언은 나의 평소 생각을 잘 나타내주었다. -[강희경]
  • 허아영 . . . . 1 match
         [TheTrip/허아영]
         == python으로 ==
  • 허아영/C코딩연습 . . . . 1 match
         Enter the game count : 5
         [[ The contents of score array ]]
         = Thread =
  • 허아영/MBTI . . . . 1 match
         '''사고형 (Thingking)'''
         = thread =
  • 현재 위키에 어떤 습관이 생기고 있는걸까? . . . . 1 match
          * 외국에서 개발되어서 어쩔수 없다기 보다, 현재 Web 인코딩을 그대로 filename에 가져다 쓰기 때문입니다. python 스크립트 만들어저 지워요. --NeoCoin
  • 현재시간 . . . . 1 match
         [[HTML(<EMBED SRC="http://165.194.17.15/pub/upload/handclock.swf" width=650/>)]]
  • 후기 . . . . 1 match
         더 대중적인 축제를 만들 생각도 해 보았다. 사람에게 감각적인 자극을 줄 수 있는 언어나 그 언어로 만들어진 프로그램, 혹은 다른 무언가가 있으면 어떨까? Mathmetica에서 프랙탈로 삼각형을 그리는 모습을 보고 사람들은 감탄했다. 패널토론 도중에 Squeak에서 보여준 시뮬레이션 역시 놀라웠다. 마이크로칩을 프로그램하여 모르스 부호를 불빛으로 깜박거리는 모습도 신기했다. 프로그램 언어에 익숙하지 않은 다른 분야를 공부하는 참가자들은 눈에 보이지 않는 동작 보다는, 감각적인 자극에 많은 호기심을 느낄 것이다. 시각 이외에 다른 감각을 자극하는 볼거리가 준비된다면 가족끼리 대안언어축제에 놀러 올 수 있을 것 같다. 마치 구경도 하고, 직접 체험해 볼 수도 있는 전시장에 온 것 같은 기분을 낼 수 있을 것이다.
Found 1804 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.5733 sec