- ProjectPrometheus/AT_RecommendationPrototype . . . . 83 matches
WEIGHT_LIGHTREVIEW = 3
self.bookList = []
self.bookViewList = {}
self.lightReviewBookList = {}
self.heavyReviewBookList = {}
def viewBooks(self, aBookList):
for book in aBookList:
if self.bookViewList.has_key(aBook):
point += self.bookViewList[aBook] * WEIGHT_VIEW
if self.lightReviewBookList.has_key(aBook):
point += self.lightReviewBookList[aBook] * WEIGHT_LIGHTREVIEW
if self.heavyReviewBookList.has_key(aBook):
point += self.heavyReviewBookList[aBook] * WEIGHT_HEAVYREVIEW
for book in self.bookList:
self.bookList.append(aNewBook)
for book in self.bookList:
if not aBook in self.bookList:
self.bookList.append(aBook)
if self.bookViewList.has_key(aBook):
self.bookViewList[aBook] += 1
- CubicSpline/1002/NaCurves.py . . . . 58 matches
def __init__(self, aListX):
self.lagrange = Lagrange(aListX)
def __init__(self, aControlPointListX, aPieceSize):
self.piecewiseLagrange = PiecewiseLagrange(aControlPointListX, aPieceSize)
class ErrorSpline:
def __init__(self, aControlPointListX):
self.spline = Spline(aControlPointListX)
return self.normalFunc.perform(x) - self.spline.perform(x)
def __init__(self, aListX):
self.controlPointListX = aListX
self.controlPointListY = self._makeControlPointListY()
def _makeControlPointListY(self):
controlPointListY = []
for x in self.controlPointListX:
controlPointListY.append(givenFunction(x))
return controlPointListY
def getControlPointListX(self):
return self.controlPointListX
def getControlPointListY(self):
return self.controlPointListY
- ClassifyByAnagram/sun . . . . 40 matches
* Profiling
public class PowerTest extends Applet
public void start()
elapsed = System.currentTimeMillis();
anagram.add( "aalii" );
anagram.add( "aaliis" );
elapsed = System.currentTimeMillis() - elapsed;
public void paint( Graphics g )
public AnagramTest()
public void add( String str )
List list;
list = new ArrayList();
result.put( key, list );
list = (ArrayList)value;
list.add( str );
public class FindAnagram
public FindAnagram( InputStream in ) throws Exception
String readLine;
while( (readLine=reader.readLine()) != null ) {
putTable( readLine.trim() );
- ClassifyByAnagram/재동 . . . . 36 matches
def testSplitWord(self):
self.anagram.splitWord()
self.assertEquals(expect, self.anagram.getSplitWordList())
self.anagram.splitWord()
def testIsWordListInAnagramList(self):
self.anagram.splitWord()
self.anagram.setAnagramList([['abc','cba']])
self.assertEquals(expect1, self.anagram.isWordListInAnagramList())
self.anagram.splitWord()
self.assertEquals(expect2, self.anagram.isWordListInAnagramList())
self.anagramList = []
def splitWord(self):
self.wordList = []
self.wordList.append(self.wordString[i])
self.wordList.sort()
def isWordListInAnagramList(self):
for i in range(len(self.anagramList)):
if self.anagramList[i][0] == self.getSortWordString():
def setAnagramList(self,anagramList):
self.anagramList = anagramList
- 몸짱프로젝트/CrossReference . . . . 33 matches
## elif string.lower(aRoot.getWord()) > aWord and aRoot.left != None:
## elif string.lower(aRoot.getWord()) < aWord and aRoot.right != None:
elif string.lower(aRoot.getWord()) > aWord:
elif string.lower(aRoot.getWord()) < aWord:
def setNode(self, aRoot, aWord, aLine = '1'):
node.addLines(aLine)
'''Twas brilling and the slithy toves did gtre and gimble in the wabe'''
wordList = sentence.split(' ')
for l in wordList:
print 'Word\t\tCount\t\tLines'
self.lines = ''
def addLines(self, aLine):
self.lines += aLine + ' '
print self.getWord() + '\t\t' + str(self.count) + '\t\t' + self.lines
## t.setLeftChild('brilling')
## self.assertEqual(c.find(t, 'brilling'), True)
t.setLeftChild('brilling')
self.assertEqual(c.getNode(t, 'brilling').getWord(), 'brilling')
c.setNode(t, 'brilling')
self.assertEqual(c.getNode(t, 'brilling').getWord(), 'brilling')
- 새싹교실/2012/세싹 . . . . 28 matches
* Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
3) Virtualbox실행 -> 새로 만들기 -> 운영체제 : Linux 버전 : Ubuntu -> 메모리1024MB로 설정하고 나머지 디폴트 설치
1) virtual box로 linux 설치 후 hello world 작성하고 컴파일하여 스크린샷을 강사 메일로 보내주세요.
2) linux의 다양한 명령어 검색해보기
- link : 노드와 노드간에 데이터를 주고받는 역할을 합니다. 스위치, 브릿지등이 포함됩니다.
5) 자세한 사항은 http://forum.falinux.com/zbxe/?document_srl=441104 를 참고하세요.
- 양방향 통신중 한쪽이 off-line상태인 경우에도 메시지의 전송과 수령이 가능하도록
U16 LinkCount;
AttributeAttributeList = 0x20,
AttributeLoggedUtilityStream = 0x100
- http://technet.microsoft.com/en-us/library/cc750583.aspx#XSLTsection124121120120
* 값을 확인하는데 이상한 값이 나와 검색해보니 MFT에서도 Little Endian형식을 쓰는 군요. - [김희성]
printf("Attribute List Start\n\n");
printf("Attribute List End\n");
case 0x20://$ATTRIBUTE_LIST
printf("Attribute type : Attribute List\n");
//__int64는 메모리상에 little endian식으로 저장됨. 왜인지 이해가 안 가지만...
printf("Run List Start VCN : %I64d\n",*((unsigned __int64*)((unsigned char*)MFT+point+16)));
printf("Run List End VCN : %I64d\n",*((unsigned __int64*)((unsigned char*)MFT+point+24)));
printf("Run List Start Offset : 0x%02x%02x\n",*((unsigned char*)MFT+point+33),*((unsigned char*)MFT+point+32));
- Gof/Singleton . . . . 20 matches
=== Applicability ===
public:
클래스를 사용하는 Client는 singleton을 Instance operation을 통해 접근한다. _instance 는 0로 초기화되고, static member function 인 Instance는 단일 인스턴스 _Instance를 리턴한다. 만일 _instance가 0인 경우 unique instance로 초기화시키면서 리턴한다. Instance는 lazy-initalization을 이용한다. (Instance operation이 최초로 호출되어전까지는 리턴할 unique instance는 생성되지 않는다.)
생성자가 protected 임을 주목하라. client 가 직접 Singleton을 인스턴스화 하려고 하면 compile-time시 에러를 발새할 것이다. 생성자를 protected 로 둠으로서 늘 단일 인스턴스로 만들어지도록 보증해준다.
* (b) 모든 singleton들이 static initialization time 대 인스턴스되기 위한 충분한 정보를 가지고 있지 않을수도 있다. singleton은 프로그램이 실행될 때 그러한 정보를 얻을 수 있다.
Singleton의 subclass를 선택하는 또 다른 방법은 Instance 를 Parent class에서 빼 낸뒤, (e.g, MazeFactory) subclass 에 Instance를 구현하는 것이다. 이는 C++ 프로그래머로 하여금 link-time시에 singleton의 class를 결정하도록 해준다. (e.g, 각각 다른 구현부분을 포함하는 객체화일을 linking함으로써.)
이러한 link-approach 방법은 link-time때 singleton class 의 선택을 고정시켜버리므로, run-time시의 singleton class의 선택을 힘들게 한다. subclass를 선택하기 위한 조건문들 (switch-case 등등)은 프로그램을 더 유연하게 할 수 있지만, 그것 또한 이용가능한 singleton class들을 묶어버리게 된다. 이 두가지의 방법 다 그다지 유연한 방법은 아니다.
public:
static List<NameSingletonPair>* _registry;
// user or environment supplies this at startup
여기서 SingletonPattern과 관련 되는 내용은 Maze application은 단 하나의 maze factory를 필요로 한다는 것과 그 maze factory의 인스턴스는 어디서든지 maze의 부분을 만들 수 있도록 존재해야 한다는 것이다. 이러할 때가 바로 SingletonPattern을 도입할 때이다. MazeFactory를 Singleton으로 구현함으로써, global variable에 대한 재정렬을 할 필요가 없이 maze 객체를 만들때 필요한 MazeFactory를 global하게 접근할 수 있다.
public:
자, 이제 MazeFactory의 subclassing에 대해 생각해보자. MazeFactory의 subclass가 존재할 경우, application은 반드시 사용할 singleton을 결정해야 한다. 여기서는 환경변수를 통해 maze의 종류를 선택하고, 환경변수값에 기반하여 적합한 MazeFactory subclass를 인스턴스화하는 코드를 덧붙일 것이다. Instance operation은 이러한 코드를 구현할 좋은 장소이다. 왜냐하면 Instance operation은 MazeFactory를 인스턴스하는 operation이기 때문이다.
새로운 MazeFactory의 subclass를 정의할때 매번 Instance 가 반드시 수정되어야 한다는 것에 주목하자. 이 application에서야 별다른 문제가 발생하지 않겠지만, 이러한 구현은 framework 내에 정의된 abstract factory들 내에서만 한정되어버린다. (Implementation의 subclass 관련 부분 참조)
가능한 해결책으로는 Implementation에서 언급한 registry approach를 사용하는 것이다. Dynamic linking 방법도 또한 유용한 방법이다. Dynamic linking 은 application으로 하여금 사용하지 않는 subclass 도 전부 load해야 할 필요성을 덜어준다.
InterViews user interface toolkit[LCI+92]는 toolkit의 Session과 WidgetKit 클래스의 unique instance에 접근하지 위해 SingletonPattern을 이용한다. Session은 application의 메인 이벤트를 dispatch하는 루프를 정의하고 사용자 스타일관련 데이터베이스를 저장하고, 하나나 그 이상의 물리적 display 에 대한 연결들(connections)을 관리한다. WidgetKit은 user interface widgets의 look and feel을 정의한다. WidgetKit::instance () operation은 Session 에서 정의된 환경변수에 기반하여 특정 WidgetKit 의 subclass를 결정한다. Session의 비슷한 operation은 지원하는 display가 monochrome display인지 color display인지 결정하고 이에 따라서 singleton 인 Session instance를 설정한다.
class CNSingleton : public CObject
public:
class CSingletonList; // C2248 해결
friend CSingletonList; // C2248 해결
- Linux . . . . 17 matches
professional like gnu) for 386(486) AT clones. This has been brewing
since april, and is starting to get ready. I'd like any feedback on
things people like/dislike in minix, as my OS resembles it somewhat
This implies that I'll get something practical within a few months, and
I'd like to know what features most people would want. Any suggestions
Linus (torv...@kruuna.helsinki.fi)
어느정도 실력을 쌓았다 싶으면 RunningLinux, Oreilly 를 읽기를 권한다. 이 책은 비록 초심자가 읽기에는 부적절하지만 APM설정에 어느정도 리눅스의 구조에 대해서 익힌 사람들이 리눅스를 운영하기 위한 전반적 기초지식의 대부분을 습득 할 수 있는 수작이라고 생각된다.
[Linux/탄생과의미]
[Linux/배포판]
[Linux/필수명령어]
[Linux/디렉토리용도]
[Linux/RegularExpression]
[Linux/DevelopmentUsingVIM]
[BeingALinuxer]
[http://www.zeropage.org/pub/Linux/Microsoftware_Linux_Command.pdf 마이크로소프트웨어_고급_리눅스_명령와_중요_시스템_관리]
[http://www-106.ibm.com/developerworks/linux/library/l-web26/ 리눅스2.4와 2.6커널의 비교 자료]
[http://zeropage.org/pub/Linux/Running_Linux_4th.pdf RunningLinux, 4th] - 깨진고리
[http://phpschool.com/bbs2/inc_print.html?id=11194&code=tnt2] linux에서 NTFS 마운트 하기
= Link =
[http://j2k.naver.com/j2k_frame.php/korean/http://www.linux.or.jp/JF/ 리눅스 문서 일본어화 프로젝트(LJFP)]
- Gof/Mediator . . . . 16 matches
MediatorPattern은 객체들의 어느 집합들이 interaction하는 방법을 encapsulate하는 객체를 정의한다. Mediator는 객체들을 서로에게 명시적으로 조회하는 것을 막음으로서 loose coupling을 촉진하며, 그래서 Mediator는 여러분에게 객체들의 interactions들이 독립적으로 다양하게 해준다.
대게 다이얼로그의 도구들 사이에는 어떤 dependency들이 존재한다. 예를 들면, 어떤 버튼은 어떤 입력 필드가 비어있을때는 비활성화 되어있는다. list box라 불리는 선택 목록에서 객체를 선택하는 것은 입력필드의 내용을 바꿀 것이다. 바꿔말하면, 입력필드에 문자를 타이핑하는 것은 자동적으로 리스트 박스에서 하나이상의 대응대는 입력을 선택하는 것이다. 한번 텍스트가 입력 필드에 나타나면, 다른 버튼들은 아마 활성화 될것이다. 그래서 사용자가 텍스트로 어떤 일을 하게 하게할 것이다. 예를 들자면, 관련있는 것을 삭제하거나 변경하거나 하는 따위의 일을 할 수 있을 것이다.
Here's the succession of events by which a list box's selection passes to an entry field.
여기서는 list box에서의 선택이 entry field 로 전달되고 있는 이벤트들의 흐름이 있다.
FontDialogDirector 추상화가 클래스 library를 통하하는 방법은 다음과 같다.
DialogDirect는 다이얼로그의 전체 행위를 정의한 추상 클래스이다. client들은 화면에 다이얼로그를 나타내기 위해서 ShowDialog 연산자를 호출한다. CreateWidgets는 다이얼로그 도구들을 만들기 위한 추상 연산자이다. WidgetChanged는 또 다른 추상 연산자이며, 도구들은 director에게 그들이 변했다는 것을 알려주기 위해서 이를 호출한다. DialogDirector subclass들은 CreateWidgets을 적절한 도구들을 만들기 위해서 override하고 그리고 그들은 WidgetChanged를 변화를 다루기 위해서 override한다.
== Applicability ==
* Colleague classes(listBox, Entry Field)
2. MediatorPattern은 colleague들을 떼어놓는다. Mediator는 colleague들 사이에서 loose coupling을 촉진한다. colleagued와 Mediator를 개별적으로 다양하게 할 수 있고, 재사용 할 수 있다.
5. MediatorPattern은 제어를 집중화한다. Mediator는 interaction의 복잡도를 mediator의 복잡도와 맞바꿨다. Mediator가 protocol들을 encapsulate했기 때문에 colleague객체들 보다 더 복잡하게 되어질 수 있다. 이것이 mediator를 관리가 어려운 monolith 형태를 뛰게 만들 수 있다.
1. 추상 Mediator 클래스 생략하기. 추상 Mediator 클래스를 선언할 필요가 없는 경우는 colleague들이 단지 하나의 mediator와만 작업을 할 때이다. Mediator클래스가 제공하는 추상적인 coupling은 colleague들이 다른 mediator subclass들과 작동학게 해주며 반대의 경우도 그렇다.
public:
public:
ListBox, EntryField, Button은 특화된 사용자 인터페이스 요소를 위한 DialogDirector의 subclass들이다. ListBox는 현재 선택을 위해서 GetSelection연산자를 제공한다. 그리고 EntryField의 SetText 연산자는 새로운 text로 field를 채운다.
class ListBox:public Widget {
public:
ListBox(DialogDirector*);
virtual void SetList(List* listItems);
class EntryField:public Widget {
pblic:
- JavaScript/2011년스터디/CanvasPaint . . . . 10 matches
if(drawmethod==1) drawLines();
element=document.getElementById('drawLine');
function drawLines()
ctx.lineWidth=3;
ctx.lineTo(event.x-7, event.y-7);
<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>
<button type="button" onclick="undo()"> UNDO </button>
element=document.getElementById("drawLine");
<canvas id="testCanvas" width="900" height="500" style="border: 1px solid black"></canvas>
if(window.addEventListener){
window.addEventListener("load", InitEvent, false);
tool = new tool_line();
canvas.addEventListener("mousedown", ev_canvas, false);
canvas.addEventListener('mousemove', ev_canvas, false);
canvas.addEventListener('mouseup', ev_canvas, false);
ctx.lineTo(e._x, e._y);
var tool_line = function(){
- Score/1002 . . . . 10 matches
def toInt(aList): return [{'O':1,'X':0}[v] for v in aList]
def ox(aList):
for idx in range(1,len(aList)):
aList[idx]=aList[idx]*(aList[idx-1]+1)
return sum(aList)
def ox(aList): return sum((len(e)*(len(e)+1))/2 for e in aList.split("X") if e!='')
- ProgrammingWithInterface . . . . 9 matches
상속을 사용하는 상황을 국한 시켜야 할 것같다. 상위 클래스의 기능을 100%로 사용하면서 추가적인 기능을 필요로 하는 객체가 필요할 때! .. 이런 상황일 때는 상속을 사용해도 후풍이 두렵지 않을 것 같다. GoF의 책이나 다른 DP의 책들은 항상 말한다. 상속 보다는 인터페이스를 통해 다형성을 사용하라고... 그 이유를 이제야 알 것같다. 동감하지 않는가? Base 클래스를 수정할 때마다 하위 클래스를 수정해야 하는 상황이 발생한다면 그건 인터페이스를 통해 다형성을 지원하는게 더 낫다는 신호이다. 객체는 언제나 [[SOLID|SRP (Single Responsiblity Principle)]]을 지켜야 한다고 생각한다.
class Stack extends ArrayList {
public void push(Object article) {
public Object pop() {
public void pushMany(Object[] articles) {
stack.clear(); // ??? ArrayList의 메소드이다...;;
상위 클래스가 가지는 메소드가 적다면 모두 [오버라이딩]하는 방법이 있지만 만약 귀찮을 정도로 많은 메소드가 있다면 오랜 시간이 걸릴 것이다. 그리고 만약 상위 클래스가 수정된다면 다시 그 여파가 하위 클래스에게 전달된다. 또 다른 방법으로 함수를 오버라이딩하여 예외를 던지도록 만들어 원치않는 호출을 막을 수 있지다. 하지만 이는 컴파일 타임 에러를 런타임 에러로 바꾸는 것이다. 그리고 LSP (Liskov Sustitution Principle : "기반 클래스는 파생클래스로 대체 가능해야 한다") 원칙을 어기게 된다. 당연히 ArrayList를 상속받은 Stack은 clear 메소드를 사용할 수 있어야 한다. 그런데 예외를 던지다니 말이 되는가?
private ArrayList theData = new ArrayList();
public void push(Object article){
public Object pop() {
public void pushMany(Object [] articles) {
public int size() {
자.. Stack과 ArrayList간의 결합도가 많이 낮아 졌다. 구현하지 않은 clear 따위 호출 되지도 않는다. 왠지 합성을 사용하는 방법이 더 나은 것 같다. 이런 말도 있다. 상속 보다는 합성을 사용하라고... 자 다시 본론으로 들어와 저 Stack을 상속하는 클래스를 만들어 보자. MonitorableStack은 Stack의 최소, 최대 크기를 기억하는 Stack이다.
public void push(Object o) {
public Object pop() {
public int maximumSize() { return maxHeight; }
public int minimumSize() { return minHeight; }
public void push(Object article) {
public Object pop() {
public void pushMany(Object [] articles) {
- Refactoring/SimplifyingConditionalExpressions . . . . 9 matches
= Chapter 9 Simplifying Conditional Expressions =
* You have a complicated conditional (if-then-else) statement. [[BR]] ''Extract methods from the condition, then part, and else parts.''
== Consolidate Conditional Expression ==
double disabilityAmount() {
// compute the disability amount
double disabilityAmount() {
if( isNotEligableForDisability()) return 0;
// compute the disability amount;
== Consolidate Duplicate Conditional Fragments ==
if (customer == null) plan = BillingPlan.basic();
* A section of code assumes something about the state of the program. [[BR]]''Make the assumption explicit with an assertion.''
double getExpenseLimit() {
//should have eigher expense limit or a primary project
return (_expenseLimit != NULL_EXPENSE)?
_expenseLimit:
_primaryProject.getMemberExpenseLimit();
double getExpenseLimit() {
Assert.isTrue( _expenseLimit != NULL_EXPENSE || _primaryProject != null );
return (_expenseLimit != NULL_EXPENSE)?
_expenseLimit:
- JTDStudy/첫번째과제/정현 . . . . 8 matches
public class BaseBallTest extends TestCase{
public void setUp() {
public void testStrikeCount() {
public void testBallCount() {
public void testNumberCreation() {
assertFalse(baseBall.duplicated(number));
public void testDuplicated() {
assertTrue(baseBall.duplicated("101"));
assertTrue(baseBall.duplicated("122"));
assertFalse(baseBall.duplicated("123"));
public void testGamePlay() {
public class GameMain {
public static void main(String[] args) {
String number= input.nextLine();
public class BaseBall {
public BaseBall(Beholder beholder, Extractor extractor) {
public boolean isGameOver() {
public void inputNumber(String string) {
public int getStrike() {
public int getBall() {
- JavaStudy2002/입출력관련문제 . . . . 8 matches
public class StandardInput {
public static String[] getSplitedStringArray(String input, String delim) {
StringTokenizer tokenizer = new StringTokenizer(input,delim);
List arrayList = new ArrayList();
arrayList.add(tokenizer.nextToken());
String[] output = (String[])arrayList.toArray(new String[0]);
static String[] getInputLineData(){
input = bufferReader.readLine();
return getSplitedStringArray(input, " \n\t");
public static void main(String[] args){
String[] input = StandardInput.getInputLineData();
input = StandardInput.getSplitedStringArray(inputData, " ");
- 문제풀이/1회 . . . . 8 matches
Equivalent to eval(raw_input(prompt)). Warning: This function is not safe from user errors! It expects a valid Python expression as input; if the input is not syntactically valid, a SyntaxError will be raised. Other exceptions may be raised if there is an error during evaluation. (On the other hand, sometimes this is exactly what you need when writing a quick script for expert use.)
If the readline module was loaded, then input() will use it to provide elaborate line editing and history features.
===== Using List Comprehension =====
inputList = [ input() for i in range(cnt) ]
print 'max=%d, min=%d'%(max(inputList),min(inputList))
inputList = map(lambda x:input(),range(cnt))
print 'max=%d, min=%d'%(max(inputList),min(inputList))
inNums = [ int(i) for i in raw_input('input numbers with space:\n').split() ]
for i in a.split():
이런 경우를 개선하기 위해서 map 함수가 있는것입니다. 이를 Haskell에서 차용해와 문법에 내장시키고 있는 것이 List Comprehension 이고 차후 [http://www.python.org/peps/pep-0289.html Genrator Expression]으로 확장될 예정입니다. 그리고 print 와 ,혼용은 그리 추천하지 않습니다. print를 여러번 호출하는것과 동일한 효과라서, 좋은 컴퓨터에서도 눈에 뜨일만큼 처리 속도가 늦습니다. --NeoCoin
news = map(lambda x:int(x), a.split())
- 2학기파이선스터디/서버 . . . . 6 matches
class UsersList:
cmd = msg[1:].rstrip().split()
users = UsersList()
print 'connection from', self.client_address
data = self.receiveline()
data = self.receiveline()
print 'Disconnected from', self.client_address
name = self.receiveline().strip() #이름 읽기
if self.users.addUser(self.request, self.client_address, name):
def receiveline(self):
line = []
line.append(data)
return ''.join(line)
print 'listening on port', PORT
cmd = msg[1:].rstrip().split()
print 'connection from', self.client_address # client address
u = Users(a.ID, a.message,self.client_address, a.isinEntry)
data = self.receiveline()
data = self.receiveline()
print 'Disconnected from', self.client_address
- Fmt/문보창 . . . . 6 matches
bool isEmptyLine = true;
isEmptyLine = true;
isEmptyLine = false;
if (str[i] == '\n' && isEmptyLine == false)
else if (str[i] == '\n' && isEmptyLine == true)
isEmptyLine = false;
- JollyJumpers/황재선 . . . . 6 matches
public class JollyJumpers {
public int [] inputNumbers() {
String [] ch = splitMessage(message);
private String[] splitMessage(String message) {
return message.split(" ");
message = in.readLine();
public int[] getdifferenceValue() {
public boolean isJolly() {
static public void main(String [] args) {
import java.util.ArrayList;
public class JollyJumpers {
public String inputNum() {
String line = "";
line = in.readLine();
return line;
public int [] stringToInt(String line) {
String [] ch = line.split(" ");
public boolean isRightInput() {
public TreeSet computeGaps() {
public boolean isJolly(TreeSet set) {
- MobileJavaStudy/SnakeBite/FinalSource . . . . 6 matches
public void paint(Graphics g) {
public int x;
public int y;
public SnakeCell(int x, int y) {
public static final int LEFT = 1;
public static final int RIGHT = 2;
public static final int UP = 3;
public static final int DOWN = 4;
public Snake(int length, int xRange, int yRange) {
public int length() {
public SnakeCell getSnakeCell(int index) {
public int getDirection() {
public void setDirection(int direction) {
public boolean checkGameOver() {
public boolean go() {
public void grow() {
public Command pauseCommand;
public Command restartCommand;
public SnakeBiteCanvas() {
public void newGame() {
- VendingMachine/세연/1002 . . . . 6 matches
bool isValidMenu (int choice) {
bool isValidMenu (int choice) {
그러면, {{{~cpp isValidMenu}}} 를 다음과 같이 고칠 수 있습니다. (써놓고 보니 그리 맘에 들진 않지만, 일단 이정도만 해두겠습니다. -_-;)
bool isValidMenu (int choice) {
public:
bool isValidMenu (int choice) {
if(isValidMenu (choice))
bool vending_machine::isValidMoney (int money) {
if (isValidMoney (temp_money)) {
bool vending_machine::isValidMoney (int money) {
int validMoneys[5] = {10, 50, 100, 500, 1000};
if (money == validMoney[i]) return true;
const int validMoney[5] = {10, 50, 100, 500, 1000};
void vending_machine::printErrorInvalidCoinMessage () {
bool vending_machine::isValidMoney (int money) {
if (money == validMoney[i]) return true;
if (isValidMoney (temp_money)) {
printErrorInvalidCoinMessage ();
cout << validMoneys[i] << ","
cout << valiMoneys[4] << "만 가능 : ";
- 코드레이스/2007.03.24상협지훈 . . . . 6 matches
numList = raw_input(">>")
year, month, day, time, minute, sec = map(int,numList.split(" "))
numList = raw_input(">>")
year, month, day, time, minute, sec = map(int,numList.split(" "))
numList = raw_input(">>")
year, month, day, time, minute, sec = map(int,numList.split(" "))
- ALittleAiSeminar/Namsang . . . . 5 matches
posList = self.getPutableList()
for i in range(len(posList)):
posx, posy = posList[i]
[ALittleAiSeminar]
- JavaStudy2003/세번째과제/곽세환 . . . . 5 matches
public class HelloWorld {
public HelloWorld() {
public void setName(String n)
public void sayHello() {
public static void main(String[] args) {
public class Point {
public Point() {
public void setX(int xValue) { x = xValue; }
public void setY(int yValue) { y = yValue; }
public int getX() { return(x); }
public int getY() { return(y); }
public void move(int xValue, int yValue) {
public Circle() {
public void setData(int xValue, int yValue, int width, int height) {
public void setInfo() {
public void draw() {
public void move(int xValue, int yValue) {
public void change(int xValue, int yValue, int width, int height) {
== Line.java ==
public class Line {
- TicTacToe/노수민 . . . . 5 matches
public class TicTacToe extends JFrame {
public TicTacToe() {
addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent e) {
public boolean checkBoard(int r, int c) {
public boolean checkWin() {
public static void main(String args[]) {
public void paint(Graphics g) {
g.drawLine(100, 100 + 100 * i, 400, 100 + 100 * i);
g.drawLine(100 + 100 * i, 100, 100 + 100 * i, 400);
g.drawLine(
g.drawLine(
- WindowsTemplateLibrary . . . . 5 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.|}}
오픈소스를 거침없이 비판하는 MS의 두드러진 지원이 없는 상황에서, MS는 WTL을 자유롭게 이용할 수 있도록 소스코드를 배포했다. 오픈소스 Common Public License 하에서 배포를 하면서, MS는 소스포지(인터넷 오픈소스 저장소)에 소스를 게재하였다. 소스포지에서의 WTL 버전은 7.5이다.
- 새싹교실/2012/주먹밥/이소라때리기게임 . . . . 5 matches
#include<stdlib.h>
const CLASS classList[CLASSSIZE]= {
for(i =0;i<CLASSSIZE;i++) printf("%d %s\n",classList[i].type,classList[i].name);
printf("당신의 직업은 %s 입니다.\n",classList[select-1].name);
me->skill = classList[select-1].skill;
- CubicSpline/1002/GraphPanel.py . . . . 4 matches
self.cubicSpline = Spline(DATASET)
self.errorCubicSpline = ErrorSpline(DATASET)
cx,cy = self.GetClientSizeTuple()
cx,cy = self.GetClientSizeTuple()
#self.drawGuideLines(dc)
cx, cy = self.GetClientSizeTuple()
brush = wxBrush(wxColour(255,255,230), wxSOLID)
def drawGuideLines(self, dc):
cx, cy = self.GetClientSizeTuple()
dc.DrawLine(marginX,marginY, marginX, cy-marginY)
dc.DrawLine(marginX,cy-marginY, cx-marginX, cy-marginY)
self.plotCubicSpline(dc)
self.plotErrorCubicSpline(dc)
pen = wxPen(aColor, 1, wxSOLID)
def plotCubicSpline(self, dc):
self.plotGraph(dc, self.cubicSpline, wxColour(0,0,0))
def plotErrorCubicSpline(self, dc):
self.plotGraph(dc, self.errorCubicSpline, wxColour(255,0,255))
- DevelopmentinWindows . . . . 4 matches
* 윈도우즈 API (Application Program Interface)
* MFC (Microsoft Foundation Class library)
* Static-Link Library[[BR]]
* Dynamic-Link Library[[BR]]
- JTDStudy/두번째과제/장길 . . . . 4 matches
public class TestButtonMain extends Applet implements ActionListener{
private Button b1= new Button("click here!");
public TestButtonMain(){
b1.addActionListener(this);
public void actionPerformed(ActionEvent e) {
public class TestFrame extends Frame implements WindowListener{
public TestFrame(){
this.addWindowListener(this);
public void windowClosing(WindowEvent e) {
public void windowActivated(WindowEvent e) {}
public void windowClosed(WindowEvent e) {}
public void windowDeactivated(WindowEvent e) {}
public void windowDeiconified(WindowEvent e) {}
public void windowIconified(WindowEvent e) {}
public void windowOpened(WindowEvent e) {}
- LawOfDemeter . . . . 4 matches
* http://www.ccs.neu.edu/home/lieber/LoD.html
So we've decided to expose as little state as we need to in order to accomplish our goals. Great! Now
tries to restrict class interaction in order to minimize coupling among classes. (For a good discussion on
of them changes. So not only do you want to say as little as possible, you don't want to talk to more
Specifically missing from this list is methods belonging to objects that were returned from some other
SortedList thingy = someObject.getEmployeeList();
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
someObject holds employees in a SortedList.
SortedList's add method is addElementWithKey()
enough to have been a responsibility, not too dependent on implementation.
The disadvantage, of course, is that you end up writing many small wrapper methods that do very little but
coupling.
The higher the degree of coupling between classes, the higher the odds that any change you make will break
Depending on your application, the development and maintenance costs of high class coupling may easily
the code, you can do so with confidence if you know the queries you are calling will not cause anything
- MFC/DynamicLinkLibrary . . . . 4 matches
기존의 C/C++ 프로그래에서는 라이브러리를 LIB라는 확장자를 가진 형태로 제공하여 코드를 컴파일한후 링커가 프로그램에 필요한 부분을 라이브러리 파일에서 추출해서 만들어진 프로그램에 붙여넣는 방식으로 만들어졌다. 이런 구조가 윈도우 프로그램으로 오면서, 바뀌어야했는데..
Library.DLL을 3개의 프로그램 A,B,C가 동시에 공유한다고 하면 각각의 프로그램이 실행될때마다 각 프로그램에서는 DLL파일의 함수로의 링크가 일어난다. 이런 과정은 윈도우 운영체제에 의해서 자동으로 이루어지고, 한개의 프로그램이라도 실행이 종료되지 않으면 윈도우는 DLL을 메모리에서 제거하지 않고 남겨준다.
= Runtime Dynamic Linking =
early binding, load-time dynamic linking
runtime dynamic linking
관련함수) LoadLibrary(), GetProcAddress(), FreeLibrary()
runtime dynmaic linking 의 중요한 점은, 런타임 상에서 해당 모듈을 교체할 수 있다는 점이다. winamp 의 나 KMP 등와 같은 플러그인을 제공해주는 프로그램의 경우 대부분 이러한 runtime-dynamic linking 방법을 이용한다.
- ProjectVirush/ProcotolBetweenServerAndClient . . . . 4 matches
|| 명령 || Client || Server || Client 내용 || Server 내용 ||
|| 지령 || quest || {분류} {제목} {내용} || "quest" || 옛날것부터 분류 제목 내용 보낸다. ex) questList 분류1|제목1|내용1|분류2|제목2|내용2 ||
|| 예약 리스트 || getList || actList 명령개수 명령 시 분 ... (ex actList 1 getHuman 10 10) || 예약 리스트 || 예약 명령, 시, 분 ||
- RSSAndAtomCompared . . . . 4 matches
most likely candidates will be [http://blogs.law.harvard.edu/tech/rss RSS 2.0] and [http://ietfreport.isoc.org/idref/draft-ietf-atompub-format/ Atom 1.0].
== Major/Qualitative Differences ==
See the Extensibility section below for how each can be extended without changing the specifications themselves.
=== Publishing Protocols ===
[http://www.bblfish.net/blog/page7.html#2005/06/20/22-28-18-208 reports] of problems with interoperability and feature shortcomings.
[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.
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&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.
Atom has a carefully-designed payload container. Content may be explicitly labeled as any one of:
* escaped HTML, like is commonly used with RSS 2.0
RSS 2.0 has a “description” element which is commonly used to contain either the full text of an entry or just a synopsis (sometimes in the same feed), and which sometimes is absent. There is no built-in way to signal whether the contents are complete.
Atom has separate “summary” and “content” elements. The summary is encouraged for accessibility reasons if the content is non-textual (e.g. audio) or non-local (i.e. identified by pointer).
[http://diveintomark.org/archives/2002/06/02/important_change_to_the_link_tag autodiscovery] has been implemented several times in different ways and has never been standardized. This is a common source of difficulty for non-technical users.
=== Extensibility ===
Atom 1.0 is in [http://www.w3.org/2005/Atom an XML namespace] and may contain elements or attributes from other XML namespaces. There are specific guidelines on how to interpret extension elements. Additionally, there will be an IANA managed directory rel= values for <link>. Finally, Atom 1.0 provides recommended extension points and guidance on how to interpret simple extensions.
RSS 2.0 does not specify the handling of relative URI references, and in practice they cannot be used in RSS feeds.
=== Software Libraries (Parsing, Generating) ===
Both RSS 2.0 and Atom 1.0 feeds can be accessed via standard HTTP client libraries. Standard caching techniques work well and are encouraged. Template-driven creation of both formats is quite practical.
Libraries for processing RSS 2.0:
Libraries for processing Atom 1.0:
- VMWare/OSImplementationTest . . . . 4 matches
mov ch, 0 ; Cylinder = 0
A20Address: ; Set A20 Address line here
CLI
cli ; Disable interrupts, we want to be alone
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
dw gdt_end - gdt - 1 ; Limit (size)
printf("Invalid
먼저 Win32 Console Application으로 간단히 프로젝트를 생성합니다.
Link탭의 옵션은 아래처럼 합니다.
/nologo /base:"0x10000" /entry:"start" /subsystem:console /incremental:no /pdb:"Release/testos.pdb" /map:"Release/testos.map" /machine:I386 /nodefaultlib /out:"testos.bin" /DRIVER /align:512 /FIXED
만들도록 Pre-Link와 Post-Build를 작성합니다.
Compiling...
Linking...
LINK
: warning LNK4096: /BASE value "10000" is invalid for Windows 95; image may
- ZeroPageHistory . . . . 4 matches
||1학기 ||ZeroPage 창단, 1기 회원모집. 각종 강좌(C language, Utility, Advanced DOS등 다수) ||
* C, DOS, Utility
||여름방학 ||C++, C, X-Window, *Utility 세미나 개최. ||
||겨울방학 ||Data Structure, Clipper, UNIX, Game, Graphic 세미나 개최. ||
* C, C++, X-Windows, Utility
* Data Structure, Clipper, UNIX, Game, Computer Graphics
||1학기 ||7기 회원모집. 3D Graphic Programming. (긁어 놓은 게시물: Protect Mode, Functions Pointer, Compression Algorithm, About 3D, PSP의 구조, DMA, 3D Display, Tcl/Tk, C++Builder와 델파이, Lisp 강좌) ||
* 데블스캠프 : Toy Problem, Python, J2ME, Scheme, Smalltalk, Linux, API, MFC
* Design Pattern, Linux
* 데블스캠프 : Solid Programming, Network
* C++, Linux, CCNA, API, Algorithm, MFC
- 데블스캠프2004/세미나주제 . . . . 4 matches
* Linux (또는 UNIX) 기초. 간단한 커맨드들과 쉘 프로그래밍
얼마전(2달?) 동생이 KTF Future List 인지, Feature List 인지를 통과해서 활동을 시작했는데요. 처음에 3박 4일로 훈련(?)을 와서 자신이 굉장히 놀란 이야기를 해주었습니다. 이 것은 전국 수십개 대학에서 5명씩 모여서 조성된 캠프입니다. 이 집단의 개개인 모두가 적극적인 면이 너무 신기하다는 표현을 하더군요. 뭐 할사람 이야기 하면, 하려고 나오는 사람이 수십명인 집단...
환타 FunCamp 라던지, TTL에서 주최했던 모임, 바카스 국토 대장정, KTF Future List...
[STL]을 할때 단순히 자료구조를 사용하는 방법을 같이 보는것도 중요하겠지만 내부구조 (예를 들어, vector는 동적 배열, list은 (doubly?) linked list..)와 같이 쓰이는 함수(sort나 또 뭐가있드라..그 섞는것..; ), 반복자(Iterator)에 대한 개념 등등도 같이 보고 더불어 VC++6에 내장된 STL이 ''표준 STL이 아니라는 것''도 같이 말씀해 주셨으면;; (SeeAlso [http://www.stlport.org/ STLPort]) - [임인택]
- 레밍즈프로젝트/프로토타입/에니메이션 . . . . 4 matches
vector<UINT> m_frameList;
public:
if(m_nowFrame < int(m_frameList.size())-1)
return int(m_frameList.size());
m_frameList.push_back(ITEM);
- 만년달력/인수 . . . . 4 matches
public class Calendar {
public Calendar(int year, int month) {
public void set(int year, int month) {
public int[] getCalendar() {
public class CalendarTestCaseTest extends TestCase {
public CalendarTestCaseTest(String arg) {
public void test1Year() {
public void test2Year() {
public void test4Year() {
public void test2003Year() {
public void testMonthStartPoint() {
public void testLeapYear() {
public class CalendarFrame extends JFrame {
public CalendarPanel() {
public void set(int year, int month) {
public InputPanel() {
submit.addActionListener( new SubmitListener() );
class SubmitListener implements ActionListener {
public void actionPerformed(ActionEvent ev) {
public CalendarFrame(String arg) {
- 2012년독서모임 . . . . 3 matches
* [권순의] - Fault Line
* [권순의] - 오랜만에 시작하는군요. Fault Line은 보이지 않는 균열이 세계 경제를 위협한다는 내용으로 지표면에서 단층면이 접하는 선인 단층선이 Fault Line인데 그 곳에서 지진이 발생한다는 것 때문에 따 왔다고 하더군요. 그래서 과거 시행했던 정책이나 여러 사건들을 통해 현재의 경제가 어떠한 상황에 이르게 되었는지에 대해서 서술한 책입니다. 사실 무지 재미 없습니다. -_- 읽은지 꽤 됬는데 눈에 잘 안 들어오고 하다 보니 아직도 다 못 읽었..
- 3DGraphicsFoundation . . . . 3 matches
* 수학함수 모듈 인터페이스 예제 - C style : ["3DGraphicsFoundation/MathLibraryTemplateExample"]
* 인수 ["[Lovely]boy^_^/3DLibrary"]
* 상협 ["상협/3DLibrary"]
- AOI/2004 . . . . 3 matches
|| [ImmediateDecodability] || . || O || X || . || . || . ||
|| [AustralianVoting]|| . || . || O || . || . || . || . || O ||
|| [LightMoreLight]|| . || . || O || . || . || . || . || . ||
|| [CommonPermutation] || . || . || O || . || . || . || . || . ||
- DesignPatterns/2011년스터디/1학기 . . . . 3 matches
1. High Cohesion Low Coupling과 SOLID(SRP, OCP, LSP, ISP, DIP)에 대해 다시 생각해보는 시간이 되었다.
* 왜 디자인 패턴을 쓰느냐?, SOLID를 공부했습니다. 오랜만에 공부를 잘 안돌아갑니다. , 열심히 공부해야겠습니다. 삽질을 덜하고 싶습니다.
1. 저자는 열심히 getter와 setter를 깐다. get/set은 변수를 public으로 만드는 어려운 방법이다!
1. 멤버변수를 선언하면 꼭꼭 getter/setter를 만들었던 나를 반성...(나중엔 귀찮아서 public으로 한적도 있다지)
1. 한번 짜봐야 할 필요성을 느낀다. Life Game으로 넘어가기전에.
1. 오늘은 LifeGame으로 바로 넘어가기 전에 [임상현]의 SE 과제인 파일 비교 프로그램을 설계해보았다.
1. Block과 Line에서 어느 쪽이 실제 status를 가지고 있어야 할지가 설계의 주요 이슈였다.
- GarbageCollection . . . . 3 matches
컴퓨터 환경에서 가비지 컬렉션은 자동화된 메모리 관리의 한가지 형태이다. 가비지 컬렉터는 애플리케이션이 다시는 접근하지 않는 객체가 사용한 메모르 공간을 회수하려고 한다. 가비지 컬렉션은 John McCarthy 가 1959년 Lisp 언어에서 수동적인 메모리 관리로 인한 문제를 해결하기 위해서 제안한 개념이다.
2번째 경우에 대한 힌트를 학교 자료구조 교재인 Fundamentals of data structure in c 의 Linked List 파트에서 힌트를 얻을 수 있고, 1번째의 내용은 원칙적으로 완벽한 예측이 불가능하기 때문에 시스템에서 객체 참조를 저장하는 식으로 해서 참조가 없으면 다시는 쓰지 않는 다는 식으로 해서 처리하는 듯함. (C++ 참조 변수를 통한 객체 자동 소멸 관련 내용과 관련한 부분인 듯, 추측이긴 한데 이게 맞는거 같음;;; 아닐지도 ㅋㅋㅋ)
- ReadySet 번역처음화면 . . . . 3 matches
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.
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.
* High-quality outlines, sample text, and checklists.
* Templates for many common software engineering documents. Including:
* Release checklist template
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.
We will build templates for common software engineering documents inspired by our own exprience.
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.
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] .
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].
= Applicability =
*2. [http://readyset.tigris.org/servlets/ProjectDocumentList Download] the templates and unarchive
*Use a text editor or an HTML editor. Please see our list of recommended tools. (You can use Word, but that is strongly discouraged.)
*Add text, diagrams, or links as needed
*6. Use the checklists to catch common errors and improve the quality of your documents.
- STL/참고사이트 . . . . 3 matches
[http://dmoz.org/Computers/Programming/Languages/C++/Class_Libraries/STL C++ STL site ODP for STL] 와 [http://dir.lycos.com/Computers/Programming/Languages/C%2B%2B/Class_Libraries/STL 미러]
[http://www.halpernwightsoftware.com/stdlib-scratch/quickref.html C++ STL from halper]
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
- ZeroPageServer/set2002_815 . . . . 3 matches
* 이번 세팅의 목적은 '''좀더 편한 패키지 관리, 안정된 환경'''을 위해서이다. 그래서 상민이의 물망에 오른 것이 Zentoo Linux와 Debian, FreeBSD 정도 인데, 기본적으로 Linux를 택해서, FreeBSD와 Zentoo Linux와 Debian 비교에서 사용자 층과 편이성면에서 Debian이 더 우수하게 느껴져 선택하였다.
* [[HTML( <STRIKE> gcc 확인 </STRIKE> )]] : 2.95, 3.0 중복 설치 ( linux권장 사항 )
* {{{~cpp /home/jspVirtualPath}}} 에 해당 아이디의 symbolic 링크를 걸면 됨. resin.conf에서 path-mapping 사용
- wiz네처음화면 . . . . 3 matches
* Collage Library: Book Number 0000507310 디자인 패턴, 0000494011 위대한 승리, 0000387354 설득의 심리학, 0000476065 유비처럼 경영하고 제갈량처럼 마케팅하라, 0000317364 로마인 이야기, 0000345061 커피 한잔에 담긴 성공신화...., 멘큐의 경제학..? 0000553812 사람을 움직여라 : MK택시 유봉식 회장의 성공철학!
* English music - singer : sweet box, toxic recommended by Ah young.
* MP3 file download site to listen English - [http://iteslj.org/links/ESL/Listening/Downloadable_MP3_Files Listening English]
* searching keywords in google - english listening mp3
- 위키설명회2005/PPT준비 . . . . 3 matches
강조: ''italics''; '''bold'''; '''''bold italics'''''; ''mixed '''bold''' and italics''; ---- horizontal rule.
BackLink 혹은 ReverseLink.
많은 사람들이 그냥 아무 생각없이 링크 달 수 있다는 편리함으로 SeeAlso의 사용에 유혹을 받지만 SeeAlso에 있는 링크는 [InformativeLink]여야 한다.
- BasicJava2005/3주차 . . . . 2 matches
String line = br.readLine();
== ArrayList ==
- Class/2006Fall . . . . 2 matches
=== [(zeropage)ArtificialIntelligenceClass] ===
* LISP - [http://c2.com/cgi/wiki?LispRoadMap], [(zeropage)LispLanguage]
=== IntermediateEnglishConversation ===
=== Beggining English Conversation ===
* Online meeting at 10 p.m. on 1 Nov.
* Online meeting at 10 p.m. on 7 Nov.
* Offline meeting at 11 a.m. on 10 Nov.
- CompleteTreeLabeling . . . . 2 matches
[http://online-judge.uva.es/p/v102/10247.html 원문보기]
=== About [CompleteTreeLabeling] ===
||Time Limit||45 seconds||
||Memory Limit||32 MB||
|| [조현태] || C || . || [CompleteTreeLabeling/조현태] ||
|| [하기웅] || C++ || 1시간 30분 || [CompleteTreeLabeling/하기웅] ||
- ComputerNetworkClass/Report2006/BuildingProxyServer . . . . 2 matches
#using <mscorlib.dll>
System::Console::WriteLine( a.ToString());
다 필요없음.. -_- SQLite 하나면 게임끝 ㅋㅋ - [eternalbleu]
- CxxTest . . . . 2 matches
def toStr(aList):
return ' '.join(aList)
for eachFile in listdir("."):
- EightQueenProblemDiscussion . . . . 2 matches
* Feelings - 느낀점: 시간이 넘 오래걸려서 한편으로는 쪽팔리긴 하다. -_-; 뭐.. 알고리즘 부분에 대해서 너무 시간을 오래 끌었다. 왜 그랬을까 생각하는데.. 아마 특정 알고리즘들이 먼저 머릿속에 떠올라서가 아닐까 한다. (이 부분에 대해서는 stack을 쓸까 recursive 로 대신할까 이리저리군시렁군시렁) 이런 부분에 대해서는 어떻게 test가능한 부분으로 접근해나갈수 있을까.
PositionList = self.GetUnAttackablePosition (Level)
for position in PositionList:
- EightQueenProblemSecondTry . . . . 2 matches
|| 강석천 ||4h:50m||1h:56m||.|| 135 lines || 130 lines || . || python || python || . ||
|| 이선우 ||1h:05m||1h:52m||52m|| 114 lines || 147 lines(+ test code 28 lines) || 304 lines || java || java || java ||
* LOC - ''Lines of Code. 보통 SLOC(Source Lines of Code)이라고도 함.''
- Java Study2003/첫번째과제/방선희 . . . . 2 matches
* Scalability
* Universality
-- 기존의 compile/link/load방식의 언어에 비해 source를 compile만 하면 최종 수행코드가 생성됨으로 개발시간을 단축할 수 있다.
public class HelloWorldApp {
public static void main (String args[]) {
eclipse 나 Editplus의 사용법을 제대로 알고 다시 코드를 작성해보겠습니다.
* MicroSoft windows에서 신나게 실행되는 게임이 Linux에서도 잘 돌까? 아마도 답은 '아니다' 일 것이다. 그러나 만약 그 게임이 Java로 제작되었다면 답은 '예' 이다. 다시 말해 Java로 개발된 프로그램은 PC, Macintosh, Linux등 machine이나 O/S에 종속되지 않는다.
- Linux/필수명령어/용법 . . . . 2 matches
- banner linux | lqr ,,디폴트 프린터에 확대한 글자를 출력한다.
-j : 1월 1일부터 날짜수를 계산하는 julian 날짜를 표시한다.
- document1 document2 differ: char 128, line 13 ,,차이 발견
- $ echo -e 'Linux\RedHat !'
- Linux RedHat !
: 풀 스크린 에디터를 사용할 수 없는 열악한 환경의 터미널을 위한 라인 에디터(line editor)이다.
-links : 특정 개수의 링크를 가진 파일을 찾는다. 물음표 부분에 링크의 숫자를 표기한다.
- $ find -user qwfwq -exec cat {} list\;
- kill [-signalID] PID
-signalID : 프로세서에게 보낼 시그널을 지정한다. 시그널은 번호로 지정될 수도 있고 시그널 이름으로 지정될 수도 있다.
위에서 보면 첫 번째 형식에서 파일명2는 원하는 링크 파일의 경로와 이름이 된다. 이것은 일종의 alias(별명)라고 생각할 수 있다. 두 번째 형식에서 파일명들은 링크되기 원하는 파일들의 이름이고, 디렉토리는 링크된 파일이 지정되기 원하는 위치이다. 링크에 익숙해지면 ln명령은 cp 명령을 사용하는 것처럼 간단하게 사용할 수 있을 것이다.
- $ paste -d' ' namelist.tmp /home/data.tmp
split
- split -행 수 파일명 [ 태그명 ]
- $ split -400 project.a pro
- $ ls -l | tee list.output | more
파일 목록을 list.output이라는 파일에 기록함과 동시에 more를 사용하여 화면으로 ls 출력 내용을 볼 수 있다.
-I : 행(line)의 숫자를 알고 싶을 때 사용한다. 혹은 개행 문자의 개수를 알고자 할 때 사용될 수도 있다.
wc라는 이름은 word counter를 의미하는 것이 아닌가 생각한다. 아무런 옵션을 주지 않고서 사용하면 행수, 단어수, 문자수를 모두 검사해서 보고한다. 텍스트 문서 속에서 단어란 공백(space)문자, 탭(tab)문자 그리고 개행(newline)문자에 의해 구분되는 문자들의 집합을 의미한다.
- ProjectPrometheus/UserStory . . . . 2 matches
||책 정보를 볼 때, 타 인터넷 사이트에 대한 (amazon, wowbook, yes24 등등) Link 를 제공받아 이용할 수 있다. ||
* 책 정보를 볼 때, 타 인터넷 사이트에 대한 (amazon, wowbook, yes24 등등) Link 를 제공받아 이용할 수 있다.
- Refactoring/ComposingMethods . . . . 2 matches
== Inline Method p117 ==
return (moreThanFiveLateDeliveries())?2:1;
boolean moreThanFiveLateDeliveries(){
return _numberOfLateDeliveries > 5;
return (_numberOfLateDeliveries>5)?2:1;
== Inline Temp p119 ==
* 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.''
wasInittialized() && resize > 0)
== Split Temprorary Variable p128 ==
ListCandidates = Arrays.asList(new String[] {"Don", John", "Kent"});
- TAOCP/InformationStructures . . . . 2 matches
= 2.2. Linear Lists =
하지만 리스트가 더 많으면 bottom이 움직일 수 있어야 한다.(we must allow the "bottom" elements of the lists to change therir positions.) MIX에서 I번째 한 WORD를 rA에 가져오는 코드는 다음과 같다.
- UnixSocketProgrammingAndWindowsImplementation . . . . 2 matches
NULL : 임의의 포트를 할당한다. client에서 사용한다.
// 따라서 Little_Endian을 사용하는 시스템에서는 Big-Endian으로 바꿔줘야한다.
// 2780961665 의 값은 Little-Endian 체계에서는 811BC2A5이다.
== listen - client의 요청을 기다린다! ==
int listen(int sockfd, int backlog);
if( listen(sockfd, BACKLOG) == -1 )
fprintf(stderr, "listen에서 에러가 났습니다.n"), exit(1);
== accpet - client의 요청을 받아들인다! ==
// *addrlen에 주의. accept는 client의 인터넷 정보가 들어오면 addrlen의 크기(struct sockaddr_in의 크기)와
// int server_sock, client_sock
// struct sockaddr_in server_addr, client_sock
client_sock = accept(server_sock, (struct sockaddr *)&client_addr, &sizeof_sockaddr_in);
if( client_sock == -1 )
fprintf(stderr, "accept에러. client가 서버에 접속 할 수 없습니다.");
= Client 가 될 프로그램에 필요한 함수 =
※ 이를 이야기 해보고 client의 프로그램의 네트워크 정보(struct sockaddr_in)에는 무엇이 들어가야하는지 이야기해보자.
if( connect(client_sock, (struct sockaddr *)&client_addr, sizeof(struct sockaddr)) == -1 )
= server/client 공통 - 입출력 함수 =
if( send(client_sock, buf1, sizeof(buf), 0) == -1 )
if( write(client_sock, buf2, strlen(buf2)) == -1 )
- zyint . . . . 2 matches
|| LPU4.0 Limited Edition || . || ★★★★·|| 라이브앨범 -ㅅ- with랑 it's goin' down, step up 좋다 +ㅁ+ [[BR]]아무래도 팬클럽회원 전용 앨범이라; 노래 수가 많지 않아 아쉽긴 하다.||
[LittleAOI]
- 고슴도치의 사진 마을처음화면 . . . . 2 matches
▷Phillippines tour
▷Bagic Java & Linux
▷Study English
|| [Picture Link] ||
|| [Celfin's English] ||
- 대학원준비 . . . . 2 matches
[http://www.icu.ac.kr/AdmissionIndexList.jsp?tableName=n_anotice# 입학설명회]
* [포항공대전산대학원ReadigList]
http://www.postech.ac.kr/department/cse/linus/home_kor/admission_06.htm
- 데블스캠프2005/RUR-PLE/TwoMoreSelectableHarvest/이승한 . . . . 2 matches
def checkLine():
repeat(checkLine,6)
- 데블스캠프2011/둘째날/Machine-Learning . . . . 2 matches
* SVM 설명 / SVMLight 설명
* SVMLight 사용 실습 http://svmlight.joachims.org/svm_multiclass.html
* svm learning : ./svm_multiclass_learn -c 1 /home/newmoni/workspace/DevilsCamp/data/test.svm_light test.c1.model
* svm classify : ./svm_multiclass_classify /home/newmoni/workspace/DevilsCamp/data/test2.svm_light economy_politics2.10.model
- 데블스캠프2011/둘째날/후기 . . . . 2 matches
* 씐나는 Cheat-Engine Tutorial이군요. Off-Line Game들 할때 이용했던 T-Search, Game-Hack, Cheat-O-Matic 과 함께 잘 사용해보았던 Cheat-Engine입니다. 튜토리얼이 있는지는 몰랐네요. 포인터를 이용한 메모리를 바꾸는 보안도 찾을수 있는 대단한 성능이 숨겨져있었는지 몰랐습니다. 감격 감격. 문명5할때 문명 5에서는 값을 *100 + 난수로 해놔서 찾기 어려웠는데 참. 이제 튜토리얼을 통해 어떤 숨겨진 값들도 다 찾을 수 있을것 같습니다. 그리고 보여주고 준비해왔던 얘제들을 통해 보안이 얼마나 중요한지 알게되었습니다. 보안에 대해 많은걸 생각하게 해주네요. 유익한시간이었습니다. 다음에 관련 책이 있다면 한번 읽어볼 생각이 드네요.
* List로 무식하게 짰는데 답은 잘 나왔습니다. 한참만에
double count_economy=0, count_politics=0, count_total=0;
FILE* fpp = fopen("C:\\train\\politics\\index.politics.db", "r");
count_politics++;
count_total=count_economy+count_politics;
- 문자반대출력/허아영 . . . . 2 matches
#include <stdlib.h>
#include <stdlib.h>
public :
MSB는 비트로 표현된 값에서 가장 중요한 요인이 되는 값을 말합니다. 가령 10001000 이라는 값이 있을때 가장 왼쪽에 있는 1이 MSB입니다. 마찬가지로 가장 왼쪽에 있는 0을 LSB (Least Significant Bit)라고 합니다. 지금 설명드린 내용은 BigEndian Machine 의 경우, 즉, 비트를 왼쪽에서 오른쪽으로 읽는 아키텍처에서의 MSB, LSB를 설명드린 것이고, LittleEndian (비트를 오른쪽에서 왼쪽으로 읽는) 아키텍처에서는 LSB와 MSB가 바뀌어야겠죠. 현대의 거의 모든 아키텍처에서 영문은 ascii 코드로 표현합니다. ascii코드의 값은 0~127인데 이를 8비트 2의 보수를 사용해서 표현하면 MSB가 모두 0 이 됩니다. 이 경우에는 해당 문자가 1바이트의 문자란 것을 뜻하고, MSB가 1인 경우에는 뒤에 부가적인 정보가 더 온다 (죽, 이 문자는 2바이트 문자이다)라는 것을 말합니다.
[LittleAOI] [반복문자열]
- 수 . . . . 2 matches
[Linked List/숙제]
- 수업평가 . . . . 2 matches
||ArtificialIntelligenceClass || 0 || 1 || 2 || -2 || 1 || 1 ||1 ||
||LinuxSystemClass || . || . || . || . || . || . ||. ||
||ObjectModelingClass || . || . || . || . || . || . ||. ||
||LinuxClass || -1 || -1 || -1 || -1 || -4 || 1 || -4 ||
- 숫자를한글로바꾸기/조현태 . . . . 2 matches
소스가 길어 보이지만 저기의 stack이라는 클래스.. 사실 저번에 [LittleAOI]에서 만들어서 2번이나 사용했던 클래스다.
public:
[LittleAOI] [숫자를한글로바꾸기]
- 안전한장소패턴 . . . . 2 matches
...좋은 물리적 환경 (CommonGroundPattern, PublicLivingRoomPattern)은 어떤 스터디 그룹에서든 필수적이다. 이 패턴에서 설명하는 지성적 환경 역시 마찬가지로 필수적이다.
- 오목/곽세환,조재화 . . . . 2 matches
class COhbokView : public CView
protected: // create from serialization only
public:
public:
public:
public:
virtual void AssertValid() const;
inline COhbokDoc* COhbokView::GetDocument()
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
ASSERT_VALID(pDoc);
pDC->LineTo(320 ,50+30*i);
pDC->LineTo(50+30*i ,320);
pDC->Ellipse(35+30*j,35+30*i, 65+30*j,65+30*i);
pDC->Ellipse(35+30*j,35+30*i, 65+30*j,65+30*i);
// TODO: add extra initialization before printing
void COhbokView::AssertValid() const
CView::AssertValid();
COhbokDoc* COhbokView::GetDocument() // non-debug version is inline
Invalidate();//순간순간마다 출력됨
//Invalidate();
- 오목/재니형준원 . . . . 2 matches
class COmokView : public CView
protected: // create from serialization only
public:
public:
public:
public:
virtual void AssertValid() const;
inline COmokDoc* COmokView::GetDocument()
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
ASSERT_VALID(pDoc);
pDC->LineTo(i, 560);
pDC->LineTo(560, i);
pDC->Ellipse(3*30+20-5,3*30+20-5,3*30+20+5,3*30+20+5);
pDC->Ellipse(9*30+20-5,3*30+20-5,9*30+20+5,3*30+20+5);
pDC->Ellipse(15*30+20-5,3*30+20-5,15*30+20+5,3*30+20+5);
pDC->Ellipse(3*30+20-5,9*30+20-5,3*30+20+5,9*30+20+5);
pDC->Ellipse(9*30+20-5,9*30+20-5,9*30+20+5,9*30+20+5);
pDC->Ellipse(15*30+20-5,9*30+20-5,15*30+20+5,9*30+20+5);
pDC->Ellipse(3*30+20-5,15*30+20-5,3*30+20+5,15*30+20+5);
pDC->Ellipse(9*30+20-5,15*30+20-5,9*30+20+5,15*30+20+5);
- 오목/진훈,원명 . . . . 2 matches
class COmokView : public CView
protected: // create from serialization only
public:
public:
public:
public:
virtual void AssertValid() const;
inline COmokDoc* COmokView::GetDocument()
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
ASSERT_VALID(pDoc);
pDC -> LineTo (500,moveX);
pDC -> LineTo(moveY,500);
pDC->Ellipse(findX*50+30,findY*50+30,findX*50+70,findY*50+70);
pDC->Ellipse(findX*50+30,findY*50+30,findX*50+70,findY*50+70);
pDC->Ellipse(putX*50+30,putY*50+30,putX*50+70,putY*50+70);
pDC->Ellipse(putX*50+30,putY*50+30,putX*50+70,putY*50+70);
// TODO: add extra initialization before printing
void COmokView::AssertValid() const
CView::AssertValid();
COmokDoc* COmokView::GetDocument() // non-debug version is inline
- 이영호/64bit컴퓨터와그에따른공부방향 . . . . 2 matches
C, C++, Assembly, Linux Kernel, Network, Compilers
내가 걸어야할 길은 지금과 같은 Network, Linux Kernel이 아니라
(C를 사용할 시 Inline Assmbly만을 허용한다.)
이러고 보니 현직 프로그래머들의 싸움이 되고 있군요. System 프로그래머와 일반 Application 프로그래머의 싸움. 한가지... 모두가 다 그런것은 아니겠지만, 전 Coder에 머무르고 싶지는 않습니다. 저 높은 수준까지는 아니더래도 Programmer로서 Guru정도의 위치에는 가고 싶군요. - [이영호]
- 주민등록번호확인하기/정수민 . . . . 2 matches
그건 그렇고 너도 빨리 LittleAOI 참가하라고!! ㅎㅎㅎ - [조현태]
[LittleAOI] [주민등록번호확인하기]
- 큰수찾아저장하기/김영록 . . . . 2 matches
남은 [LittleAOI]가 많다.-,.-;;
[큰수찾아저장하기] [LittleAOI]
- AM/AboutMFC . . . . 1 match
F12로 따라가는 것은 한계가 있습니다.(제가 F12 기능 자체를 몰랐기도 하지만, F12는 단순 검색에 의존하는 면이 강해서 검색 불가거나 Template을 도배한 7.0이후 부터 복수로 결과가 튀어 나올때가 많죠. ) 그래서 MFC프로그래밍을 할때 하나의 새로운 프로젝트를 열어 놓고 라이브러리 서치용으로 사용합니다. Include와 Library 디렉토리의 모든 MFC관련 자료를 통째로 복사해 소스와 헤더를 정리해 프로젝트에 넣어 버립니다. 그렇게 해놓으면 class 창에서 찾아가기 용이하게 바뀝니다. 모든 파일 전체 검색 역시 쉽게 할수 있습니다.
- CORBA . . . . 1 match
CORBA(Common Object Request Broker Architecture)는 소프트웨어 객체가 분산 환경에서 협력하여 작동하는 방식에 대한 일단의 명세서이다. 이 명세서에 대한 책임 기관은 OMG이며, 소프트웨어 업계를 대표하는 수 백 개의 회원 업체로 이루어져 있다. CORBA의 핵심부분은 ORB이다. ORB는 객체의 소비자인 클라이언트와 객체 생산자인 서버 사이에서 객체를 전달하는 일종의 버스로 생각될 수 있다. 객체의 소비자에게는 IDL이라는 언어를 이용한 객체 인터페이스가 제공되며, 객체의 생상자에 의해 제공되는 객체의 자세한 구현사항은 객체의 소비자에게는 완전히 숨겨진다.
- CanvasBreaker . . . . 1 match
2. Histogram Equalization
2. Sampling
* Clipping ,Iso-intensity, Range-Highlighting, Solarize - 40분
= Link =
- Chapter I - Sample Code . . . . 1 match
=== Installing uCOS-II ===
#define OS_ENTER_CRITICAL() asm CLI
#define OS_ENTER_CRITICAL() asm {PUSHF; CLI} // PUSHF가 몬지는 잘 모르겠다. 아마 스택에 무얼 집어넣는것 같은데.
PC_DispClrLine() // Clear a single row (or line)
uCOS-II는 여타의 DOS Application 과 비슷하다. 다른말로는 uCOS-II의 코드는 main 함수에서부터 시작한다. uCOS-II는 멀티태스킹과 각 task 마다 고유의 스택을 할당하기 때문에, uCOS-II를 구동시키려면 이전 DOS의 상태를 저장시켜야하고, uCOS-II의 구동이 종료되면서 저장된 상태를 불러와 DOS수행을 계속하여야 한다. 도스의 상태를 저장하는 함수는 PC_DosSaveReturn()이고 저장된 DOS의 상태를 불러오는것은 PC_DOSReturn() 함수이다. PC.C 파일에는 ANSI C 함수인 setjmp()함수와 longjmp()함수를 서로 연관시켜서 도스의 상태를 저장시키고, 불러온다. 이 함수는 Borland C++ 컴파일러 라이브러리를 비롯한 여타의 컴파일러 라이브러리에서 제공한다.[[BR]]
- ClearType . . . . 1 match
Upload:beonit:Antialias-vrs-Cromapixel.gif
* 특허문제로 Adove, Linux, Apple 들이 각 다른 방식의 벡터 드로잉 방법을 가지고 있다고 한다.
- EXIT MUSIC처음화면 . . . . 1 match
* Intaek Lim, masterhand {{{at}}} gmail {{{dot}}} com
- FileInputOutput . . . . 1 match
a,b=[int(i) for i in fin.read().split()]
print >> fout,(a+b) #혹은 fout.writeline( str(a+b)+'n' )
while((inputString = br.readLine()) != null) {
- Gof/Facade . . . . 1 match
== Applicabilty ==
* 클라이언트들과 추상 클래스들의 구현 사이에는 많은 의존성이 있다. 클라이언트와 서브시스템 사이를 분리시키기 위해 facade를 도입하라. 그러함으로서 서브클래스의 독립성과 Portability를 증진시킨다.
2. public vs private 서브시스템 클래스.
서브시스템은 인터페이스를 가진다는 점과 무엇인가를 (클래스는 state와 operation을 캡슐화하는 반면, 서브시스템은 classes를 캡슐화한다.) 캡슐화한다는 점에서 class 와 비슷하다. class 에서 public 과 private interface를 생각하듯이 우리는 서브시스템에서 public 과 private interface 에 대해 생각할 수 있다.
서브시스템으로의 public interface는 모든 클라이언트들이 접속가능한 클래스들로 구성되며. 이때 서브시스템으로의 private interface는 단지 서브시스템의 확장자들을 위한 인터페이스이다. 따라서 facade class는 public interface의 일부이다. 하지만, 유일한 일부인 것은 아니다. 다른 서브시스템 클래스들 역시 대게 public interface이다. 예를 들자면, 컴파일러 서브시스템의 Parser class나 Scanner class들은 public interface의 일부이다.
서브시스템 클래스를 private 로 만드는 것은 유용하지만, 일부의 OOP Language가 지원한다. C++과 Smalltalk 는 전통적으로 class에 대한 namespace를 global하게 가진다. 하지만 최근에 C++ 표준회의에서 namespace가 추가됨으로서 [Str94], public 서브시스템 클래스를 노출시킬 수 있게 되었다.[Str94] (충돌의 여지를 줄였다는 편이 맞을듯..)
public:
public:
public:
public:
virtual void GetSourcePosition (int& line, int& index);
public:
ListIterator <ProgramNode*> i (_children);
public:
ET++ application framework [WGM88] 에서, application은 run-time 상에서 application의 객체들을 살필 수 수 있는 built-in browsing tools를 가지고 있다.이러한 browsing tools는 "ProgrammingEnvironment'라 불리는 facade class를 가진 구분된 서브시스템에 구현되어있다. 이 facade는 browser에 접근 하기 위한 InspectObject나 InspectClass같은 operation을 정의한다.
ET++ application은 또한 built-in browsing support를 없앨수도 있다. 이러한 경우 ProgrammingEnvironment는 이 요청에 대해 null-operation으로서 구현한다. 그러한 null-operation는 아무 일도 하지 않는다. 단지 ETProgrammingEnvironment subclass는 각각 대응하는 browser에 표시해주는 operation을 가지고 이러한 요청을 구현한다. application은 browsing environment가 존재하던지 그렇지 않던지에 대한 정보를 가지고 있지 않다. application 과 browsing 서브시스템 사이에는 추상적인 결합관계가 있다.
- HelpOnActions . . . . 1 match
* `!LikePages`: 비슷한 이름을 가지는 페이지 목록을 찾아줍니다. 영문의 경우 적절히 잘라내어 앞/뒤 단어별로 검색해주며, 한글일 경우에는 앞/뒤 한글자 이상을 잘라내어 비슷한 파일 이름이 있는지 찾아줍니다.
* `highlight`: 검색 결과를 하이라이팅해주는 액션
- HelpOnUserPreferences . . . . 1 match
* '''[[GetText(Quick links)]]''': 최상단에 있는 메뉴에 자신이 원하는 링크를 추가하거나 원하는 위키페이지에 대한 링크를 넣을 수 있습니다. QuickLinks 페이지를 참조해주세요.
* '''[[GetText(Subscribed wiki pages (one regex per line))]]''': 모든 페이지의 변경알림을 받아보고 싶은 경우에 '''`.*`''' 를 집어넣으시면 됩니다. (위키위키가 많은 변경이 있는 경우 권장하지 않습니다.) 각 페이지를 보고싶은 경우에는 각각의 페이지 이름을 줄 단위로 넣으시면 됩니다. 정규식에 익숙하신 사용자의 경우에 정규식을 사용하실 수도 있습니다. 설정에 따라서 상단의 아이콘 툴바에 [[Icon(email)]]이 나타날 수 있으며, 이메일 아이콘을 누르면 해당 페이지를 구독하는 폼이 뜨게 됩니다.
- InterWiki . . . . 1 match
List of valid InterWiki names this wiki knows of:
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.
- JAVAStudy_2002/진행상황 . . . . 1 match
* 2월 4일 : Core Java 책 Event Handling 부분 다보고 나서 이제 Swing 부분 보기 시작 했습니다.
현재 Java swing API중 버튼이나.. 텍스트 박스에 대한 것을 익혔습니다.(Application쪽..)[[BR]]
슬슬 Listener에 대한 공부도 해야겠습니다.[[BR]]]
- JollyJumpers/iruril . . . . 1 match
public class JollyJumpers {
public String input()
input = in.readLine();
public int [] getIntArray()
String [] stringArray = buf.split(" ");
public void inputJumpers()
public void checkDiffenceValue()
public boolean checkJolly()
public boolean [] setFalse( boolean [] temp )
public static void main(String args[])
- MoinMoin . . . . 1 match
=== Links ===
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
- MoniWiki/HotKeys . . . . 1 match
||L||action=LikePages || ||
- Ones/송지원 . . . . 1 match
|| 9255717 || enochbible || 2551 || Time Limit Exceeded || || || C || 1263B ||
- PairProgramming . . . . 1 match
* 자존심문제? - Pair를 의식해서여서인지 상대적으로 Library Reference나 Tutorial Source 를 잘 안보려고 하는 경향이 있기도 하다. 해당 부분에 대해서 미리 개인적 또는 Pair로 SpikeSolution 단계를 먼저 잡고 가벼운 마음으로 시작해보는 것은 어떨까 한다.
* http://www.objectmentor.com/publications/xpepisode.htm - Robert C.Martin 과 Robert S Koss 이 대화하면서 Pair를 하는 예제.
- Perforce . . . . 1 match
= Relate Links =
- PowerOfCryptography/조현태 . . . . 1 match
public:
who_next->link(this);
who_next->link(this);
void link(save_number *new_prv)
void ollim()
void plus_ollim()
ollim();
plus_ollim();
[PowerOfCryptography] [LittleAOI]
- ProgrammingLanguageClass . . . . 1 match
그러므로, 이런 ProgrammingLanguageClass가 중요하다. 이 수업을 제하면 다른 패러다임의 다양한 언어를 접할 기회가 거의 전무하다. 자신의 모국어가 자바였다면, LISP와 Prolog, ICON, Smalltalk 등을 접하고 나서 몇 차원 넓어진 자신의 자바푸(Kungfu의 변화형)를 발견할 수 있을 것이며, 자바의 음양을 살피고 문제점을 우회하거나 수정하는 진정한 도구주의의 기쁨을 만끽할 수 있을 것이다. 한가지 언어의 노예가 되지 않는 길은 다양한 언어를 비교 판단, 현명하고 선택적인 사용을 할 능력을 기르는 법 외엔 없다. --김창준
"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."
-- C. H. Lindsey, History of Algol 68. ACM SIGPLAN Notices, 28(3):126, March 1993.
- ProjectPrometheus/Iteration5 . . . . 1 match
|| SearchBookList Page에서 viewbookservice 로 연결 || 1 || ○ ||
- PyIde . . . . 1 match
* [Eclipse] - [wxPython] 과 PDE 중 어느쪽이 더 효율적일까.. CVS 관련 기능들등 프로젝트 관리면에서는 Eclipse 의 Plugin 으로 개발하는 것이 훨씬 이득이긴 한데.. Eclipse Plugin 도 [Jython] 으로 프로그래밍이 가능할까?
''그렇다면 Eclipse PDE 도 좋은 선택일 것 같은 생각. exploration 기간때 탐색해볼 거리가 하나 더 늘었군요. --[1002]''
[PyIde/FeatureList]
* Eclipse 이나 IntelliJ 에서 제공해주는 여러가지 View 들. 그리고 장단점들.
- R'sSource . . . . 1 match
urldump = commands.getoutput('lynx -width=132 -nolist -dump http://board5.dcinside.com/zb40/zboard.php?id=dc_sell | grep 995')
newlen = len(string.split(urldump))
tmp = commands.getoutput('echo "%s" | smbclient -M 박준우 -' % string.join(string.split(urldump)))
print string.join(string.split(urldump))
import urllib
a = urllib.urlopen(url)
lines = a.readlines()
for temp in lines:
#http://165.194.17.5/wiki/index.php?url=zeropage&no=2985&title=Linux/RegularExpression&login=processing&id=&redirect=yes
lineNum = 0 #라인넘버초기화
for line in lines:
lineNum = lineNum + 1
matching = pattern.match(line)
#print '라인넘버 : %d' % lineNum
aaa = urllib.urlopen(beReadingUrl)
lines = aaa.readlines()
for line in lines:
matching = pattern.match(line)
a = urllib.urlopen(url)
lines = a.readlines()
- Ruby/2011년스터디/강성현 . . . . 1 match
[[pagelist(^Ruby/2011년스터디)]]
* [Eclipse]에서 RubyLanguage 써보기
* 루비 설치폴더\bin 안에 http://www.winimage.com/zLibDll/zlib125dll.zip 에 있는 dllx64\zlibwapi.dll 파일을 복사하고 이름을 zlib.dll 로 바꿈
- SmallTalk/강좌FromHitel/강의3 . . . . 1 match
UserLibrary default invalidate: nil lpRect: nil bErase: true.
- Star/조현태 . . . . 1 match
[DeadLink]
vector<SavePoint> lines[12];
for (register int j = 0; j < (int)lines[number].size(); ++j)
if (calculatePoint[bigNumber[number]][i] == lines[number][j])
for (register int i = 0; i < (int)lines[number].size(); ++i)
if (bigNumber[number] <= points[lines[number][i]])
if (calculatePoint[j][k] == lines[number][i])
calculatePoint[bigNumber[number]].push_back(lines[number][i]);
lines[number].push_back(SavePoint(x, y, z));
lines[number].push_back(SavePoint(x, y, z));
Swap(lines[i][0], lines[i][5]);
Swap(lines[i][1], lines[i][6]);
Swap(lines[i][2], lines[i][7]);
Swap(lines[i][0], lines[i][7]);
- TkinterProgramming/Calculator2 . . . . 1 match
('Stat', 'List', 'A', KC1, FUN, 'stat')],
vscrollmode = 'dynamic', hull_relief = 'sunken',
text_padx = 10, text_pady=10, text_relief = 'groove',
- XMLStudy_2002/Encoding . . . . 1 match
Shuart Culshaw. "Towards a Truly WorldWide Web. How XML and Unicode are making it easier to publish multilingual
electronic documents." MultiLingual Communications & Technology. Volume 9, Issue 3
John Yunker, Speaking in Charsets: Building a Multilingual Web Site."
- [Lovely]boy^_^/Diary/2-2-11 . . . . 1 match
== ToDo List of a this week ==
- callusedHand . . . . 1 match
* 최근 관심있는 밴드: LASSE LINDH, MANDALAY, PEDRO THE LION
* Add-On Linux Kernel Programming
- erunc0/Mobile . . . . 1 match
* gx library
* gx library 에서 제공해주는 몇안되는 함수를 이용하여. pda 화면에 대한 pointer를 얻어와 삽질해서 뿌린다. dx 할때랑 똑같음.
=== library ===
* http://zp.cse.cau.ac.kr/~erunc0/study/pda/FunnyLib.zip - pda 에서 게임 만들 사람.. 내꺼좀 써주~
- html5/communicationAPI . . . . 1 match
[[pagelist(^html5)]]
window.addEventListener("message", function(e) {
- 김희성/MTFREADER . . . . 1 match
public:
case 0x20://Attribute List
fprintf(fp,"Attribute type : Attribute list\n");
= _mft_reader_public.cpp =
- 데블스캠프2003/넷째날 . . . . 1 match
["데블스캠프2003/넷째날/Linux실습"]
- 데블스캠프2003/다루어볼문제와관련세미나 . . . . 1 match
* 네. 현철이형 그래서 제가 생각한게 일단 동적 배열의 확실한 이해와, 링크드 리스트를 구현해보게 한다음에, 이들 지식의 선행으로 STL을 가르치려 하려구 그랬거든요. 위 두가지만 확실히 이해할 수 있다면 STL의 기본적인 (vector나 list같은) 것은 가르쳐도 무방하다고 생각합니다. --[인수]
* 저는 STL 같은 것은 그냥 할수 있을 만큼 사용할줄만 알면 되다고 생각합니다. Library 가 제공하는 것은 우리에게 좀더 고차원적인 사고에 전념할수 있는 것이 겠지요. 배열의 길이에 신경쓰지 않는 것만으로, C++에서 얼마나 무한한 사고가 가능할까요? 학교 교제는 C++을 가르치는 것이 아니라, C에다 어떻게 충돌을 일으키지 않고 문법을 추가시켜 C++이 되었는가를 가르치기 때문에 이런 기회는 필요 할것 같습니다. 아마 궁금한 사람은 STL의 소스를 보겠지요. 사족으로 STL은 OOP보다 Generic Programming의 관점에서 구현되 었습니다. --NeoCoin
- 문자반대출력 . . . . 1 match
[문제분류] [LittleAOI]
- 문자반대출력/문보창 . . . . 1 match
[문자반대출력] [LittleAOI]
- 문자열검색 . . . . 1 match
[LittleAOI] [문제분류]
- 문자열연결/허아영 . . . . 1 match
[LittleAOI] [문자열연결]
- 새싹배움터05 . . . . 1 match
|| 5_5/16 || [Debugging/Seminar_2005] || Debugging ||VisualStudio에서 Debugging 방법 + Eclipse에서 Debugging 방법 + 효율적인 디버깅에 대한 토론 ||
C, 발표잘하는법, PPT제작 기법, [Python], [PHP], [ExtremeProgramming], ToyProblems, Linux, Internetworking(TCP/IP), Ghost(demonstration), OS(abstraction), OS+Windows, Embedded System, 다양한 언어들(Scheme, Haskell, Ruby, ...), 보안(본안의 기본과 기초, 인터넷 뱅킹의 인증서에 대해..), C언어 포인터 특강(?), 정보검색(검색 엔진의 원리와 구현), 컴퓨터 구조(컴퓨터는 도대체 어떻게 일을 하는가), 자바 가상머신 소스 분석
- 새싹스터디2006/의견 . . . . 1 match
물론 그렇게 할 겁니다. .[EightQueenProblem] 뿐만 아니라 여러 문제분류에서 모든 문제들 페이지 처럼 작성하는것이 도움이 된다고 생각하기때문에 생각도 했습니다. [LittleAOI] 문제를 하나씩 풀어보는 방식을 취하는것도 좋다고 생각합니다. 아직 이르지 만요.. (제 반은 일주일 후에나 할 수 있을거 같습니다)
- 서지혜/2011 . . . . 1 match
* 해야할 것을 적은건 많은데 하고 싶은 것을 적은게 없네.. 사는게 왜 재미없나 했더니 TODO List만 잔뜩 써진 하루라 재미가 없었나보다..
- 숫자를한글로바꾸기/정수민 . . . . 1 match
[LittleAOI] [숫자를한글로바꾸기]
- 숫자를한글로바꾸기/허아영 . . . . 1 match
[LittleAOI] [숫자를한글로바꾸기]
- 시간맞추기/조현태 . . . . 1 match
[시간맞추기] [LittleAOI]
- 여름방학프로젝트 . . . . 1 match
|| [LittleAOI] || [문보창] || . ||
- 영호의해킹공부페이지 . . . . 1 match
about the way the world works-should be unlimited and total.
3. Mistrust Authority-Promote Decentralization.
6. Computers can change (your) life for the better.
The remote buffer overflow is a very commonly found and exploited bug in badly
a shell equal to its current UID - thus if the daemon is run as root, like
looking at dynamic buffers, or stack-based buffers, and overflowing, filling
removed. This is called LIFO - or last in first out. An element can be added
which are pushed when calling a function in code and popped when returning it.
contents of the buffer, by overfilling it and pushing data out - this then
means that we can change the flow of the program. By filling the buffer up
This is just a simplified version of what actually happens during a buffer
I really didn't feel like reading, so I figured it out myself instead. It took
vulnerability here...
OVERFLOW caused an invalid page fault in module OVERFLOW.EXE at 015f:00402127.
following line into the example C++ proggy above...
the buffer will look like: [NOPNOPNOPNOP] [SHELLCODE] [NOPNOPNOPNOP] [RET]
I would like to have interesting shellcode, I don't have the tools to make
some on this PC, and I *really* don't feel like going online to rip somebody
would like to play around with my example file some more, I included the
has *two* vulnerabilities, and we were exploiting the one we didn't know
- 위키로프로젝트하기 . . . . 1 match
== Wiki Project Life Cycle ==
* How - 목표를 위한 방법과 일정의 기록이다. Offline 또는 Online 상에서 한 일에 대한 ["ThreeFs"] 를 남겨라.
* 공동 번역 - 영어 원문을 링크를 걸거나 전문을 실은뒤 같이 번역을 해 나가는 방법이다. Offline 으로만으로도 가능한 방법이지만 효율적인 방법으로 다른 방법들을 곁들일 수 있겠다.
* 온라인이라는 잇점이 있다. 시간과 공간의 제약을 덜 받는다. 하지만, 오프라인을 배제해서는 안된다. 각각의 대화수단들은 장단점들이 존재한다. 위키의 프로젝트는 가급적 Offline에서의 프로젝트, 스터디와 이어져야 그 효과가 클 것이다. ZeroPage 의 ["정모"] 때 자신이 하고 있는 일에 대한 상황을 발표하고, 서로 의사소통을 할 수 있겠다.
- 이민석 . . . . 1 match
[[pageList(이민석)]]
* 이창하 교수님 visualization 연구실에서 학부 연구생 (OpenGL)
- 정규표현식/스터디/문자하나찾기/예제 . . . . 1 match
[[pagelist(^정규표현식/*)]]
[what]+[List]&[is]^[Here]%
- 정모/2005.9.5 . . . . 1 match
* MFC, [EmbeddedLinux]
- 중위수구하기/김태훈zyint . . . . 1 match
[LittleAOI] [중위수구하기]
- 지금그때2006/홍보 . . . . 1 match
Upload:NowThen2006ContactList.xls
- 최소정수의합/허아영 . . . . 1 match
[LittleAOI] [반복문자열]
- 튜터링/2013/Assembly . . . . 1 match
* Virtual, 2진수, 메모리 공간, ALU연산, Pipeline, Multitasking, 보호모드, Little-endian, RISC&CISC
- 파스칼삼각형/조현태 . . . . 1 match
[파스칼삼각형] [LittleAOI]
- 프로그래머가알아야할97가지/ActWithPrudence . . . . 1 match
이 글은 [http://creativecommons.org/licenses/by/3.0/us/ Creative Commons Attribution 3] 라이센스로 작성되었습니다.
- 프로그래밍잔치/첫째날후기 . . . . 1 match
1. 충격 이었다.. 라고 하면 너무 일반적인 수식어 일까. 사실 앉아서, 해당 언어들에 대하여 집중 할 수 있는 시간이 주어 지지 않았다는 것이 너무나 아쉬웠다. To Do 로 해야 할일이 추가 되었다. 아니 Memory List로 표현해야 할까?
- 허아영 . . . . 1 match
위키Page -->> [http://165.194.87.227/zero/index.php?title=%C7%E3%BE%C6%BF%B5&url=ixforyouxl click]
>> [LittleAOI]
Found 138 matching pages out of 7557 total pages (810 pages are searched)
You can also click here to search title.