Posted by '김용환'
,

 

 

Python development with Eclipse and Ant

http://www-128.ibm.com/developerworks/opensource/library/os-ecant/

 

RPS Technologies - Python Ant tasks

http://www.rpstechnologies.net/PyAntTasks.html

 

------------------------------------------------------------------

 

 

Python development using the Eclipse IDE and Apache Ant build tool

 

Using Eclipse for Python development

Overview of Eclipse

Eclipse is a Java technology integrated development environment that was developed and open sourced by IBM. It is the basis for IBM's commercial WebSphere Application Development environment, and various other tools. Eclipse has an extremely active community of developers who develop Eclipse itself and the large number of plug-ins available for it. See the Resources section for links to the Eclipse and Eclipse plug-ins Web sites. Although traditionally a tool for Java development, several plug-ins exist for developing with other languages within Eclipse, including C/C++, Python, and Perl.

Within Eclipse, source code is organized into projects. Projects may be loaded, unloaded, and imported. The Eclipse user interface is structured into views and editors. Examples of views and editors include the source code outline view, Java source editor, Python source editor, and filesystem navigator view. One of the key metaphors within the Eclipse user interface is the perspective. Perspectives are an organization of views that would typically be used together when carrying out some type of activity. The perspectives that are standard with Eclipse are: Debug, Java Browsing, Java, Java Type Hierarchy, Plug-in Development, CVS Repository Exploring, Resource, and the Install/Update perspective. A separate Python perspective does not currently exist. When doing Python development, I typically use the Resource perspective and Debug perspective.

Installing PyDev

To get started, download and install Eclipse from the Eclipse Web site (see link in Resources section), following the installation instructions appropriate for your platform.

The Eclipse update facility makes it easy to install the PyDev plug-in. From within Eclipse, select Help > Software Updates > Update Manager to start the Install/Update perspective. In the Feature Updates view at the bottom left, add the PyDev plug-in update site as a new Site Bookmark under the folder "Sites to Visit". The Eclipse update site URL for PyDev is http://pydev.sf.net/updates/. "PyDev" should now be displayed as a feature in the Feature Updates editor. In the Feature Updates editor, expand PyDev > Other, and select the PyDev feature which is displayed (should be at least 0.4.1). Then select "Install Now" to install the feature. Eclipse will download the PyDev plug-in and install it into Eclipse.

Importing the sample project

To access the sample code used within this project, download the zip file (see Resources section), expand the zip file into your filesystem, and then import the contained project into Eclipse. To import the project, switch into the Resource perspective, select File > Import, select "Existing Project into Workspace", and select the location where you expanded the zip file. The feedParserTest project should now appear in the Navigator view.

For the sample project, I've included the Feed Parser universal feed parser library, which is distributed under the Python open source license. See the Resources section for a link to the Feed Parser project Web site.

Posted by '김용환'
,
Posted by '김용환'
,

J2me properties

j2me 2006. 2. 3. 19:15

http://developers.sun.com/techtopics/mobility/midp/questions/properties/

 

J2ME Defined System Properties

JSR Property Name
Default Value¹
30 microedition.platform null
  microedition.encoding ISO8859_1
  microedition.configuration CLDC-1.0
  microedition.profiles null
37 microedition.locale null
  microedition.profiles MIDP-1.0
75 microedition.io.file.FileConnection.version 1.0
  file.separator (impl-dep)
  microedition.pim.version 1.0
118 microedition.locale null
  microedition.profiles MIDP-2.0
  microedition.commports (impl-dep)
  microedition.hostname (impl-dep)
120 wireless.messaging.sms.smsc (impl-dep)
139 microedition.platform (impl-dep)
  microedition.encoding ISO8859-1
  microedition.configuration CLDC-1.1
  microedition.profiles (impl-dep)
177 microedition.smartcardslots (impl-dep)
179 microedition.location.version 1.0
180 microedition.sip.version 1.0
184 microedition.m3g.version 1.0
185 microedition.jtwi.version 1.0
195 microedition.locale (impl-dep)
  microedition.profiles IMP-1.0
205 wireless.messaging.sms.smsc (impl-dep)
205 wireless.messaging.mms.mmsc (impl-dep)
211 CHAPI-Version 1.0

¹(impl-dep) indicates that the default value is implementation-dependent.

 

Posted by '김용환'
,


[토픽관련]
access Grid : http://www.accessgrid.or.kr/
PSP,TSP http://psptsp.com
IPv6 http://www.vsix.net/
BcN http://www.bcn.ne.kr/
USN http://www.rfid-usn.or.kr/
mIPv6 http://www.mobileipv6.co.kr/
itsoc http://www.itsoc.or.kr
u코리아포럼 http://www.ukoreaforum.or.kr/ukorea/index.php
GFK http://www.gridforumkorea.org/
광인터넷 포럼 http://www.koif.or.kr/
유비쿼터스포탈 http://www.ubiu.com/



[논문관련]
국가 http://www.knowledge.go.kr
논문 http://search.kisti.re.kr/index.jsp
논문 http://www.riss4u.net



[홈피들]
심명섭기술사 http://blog.naver.com/uhjinmo/
가우리센터 http://cafe.naver.com/gaury.cafe



- 정보통신부 http://www.mic.go.kr
- IT종합정보데이터베이스 http://www.itfind.or.kr
- 전산원 http://www.nca.or.kr
- 삼성경제연구소 http://www.seri.or
- 한국정보보호학회 http://society.kisti.re.kr/~kiisc
- 한국개발연구원 http://www.kdi.re.kr



[기관]
- 정부통신부 http://www.mic.go.kr
- 전자통신연구원 http://www.etri.re.kr
- 한국전산원 http://www.nca.or.kr
- 한국정보보호진흥원 http://www.kisa.or.kr



[자료 및 세미나]
- 비즈스펙트럼 http://www.bizspectrum.com
- e-Partner http://www.sds-epartner.com
- Realseminar http://www.realseminar.co.kr
- 삼성SDS http://www.sds.samsung.co.kr/support/epartner/itreview/epci0061.jsp?cPage=3&tablename=epci019t&searchword=&sub=rpr&ssub=r02
- LG CNS http://www.lgcns.com



|잡지|
- 경영과컴퓨터 http://www.kyungcom.co.kr
- CIO http://www.ciokorea.com



|신문|
- 전자신문 http://www.etimesi.com
- 디지털타임즈 http://www.dt.co.kr



|기타|
- 용어정리 http://www.terms.co.kr
- 기사정리 http://www.dbguide.co.kr


[검색엔진]
구글 http://www.google.co.kr
첫눈 http://www.1noon.com

★정기간행물★
가. 전자신문
나. 디지털 타임즈
다. 경영과 컴퓨터
라. 정보처리 학회지
마. 정보과학회지
바. 정보통신신문
사. 주간기술동향
아. 네트웍타임지
사. 마이크로소프트, 프로그래밍...... 등 

Posted by '김용환'
,

Jakarta commons configuration - 프로퍼티 이용 가능 (file, xml)

jazzlib - java.util.zip의 한글 파일명 문제 해결

oscach - jsp의 웹 페이지 속도 빠르게

informa library - rss문서 처리

 

Posted by '김용환'
,

초광대역통신(UWB-Ultra Wide Band) 2∼10GHz의 고주파대역을 활용하는 무선 통신 기술이다. 즉, 초광대역통신(UWB)은 극초단파를 이용해 데이터를 교환하는 기술로 전송거리가 10m 안팎으로 짧지만 전송속도가 빨라(100Mbps∼1 ) 홈네트워킹 시스템이나 유비쿼터스 환경을 구현할 무선통신기술로 주목받고 있다. 또한 전력소모가 적어 각광받고 있다.

초광대역(UWB)은 사용하는 주파수 대역이 아주 넓은 것을 의미하는데, FCC는 중심 주파수 대비 대역폭이 20% 이상이거나 500MHz 이상의 주파수 대역폭을 차지하는 통신방식으로 이를 규정하고 있다. UWB는 초-저전력 라디오 신호를 1조 분의 1초 단위의 매우 짧은 펄스(이 펄스의 폭은 대역폭에 반비례한다)로 모든 주파수로 동시에 전달한다. 수신된 라디오 신호는 보통 CDMA와 같이 처리되는 것이 상례이다.

여기서 키 포인트는 대역폭이 넓어질수록 그 송신 신호의 세기가 작아질 수 있다는 것이다. 따라서 이 시스템은 작은 파워의 신호를 넓은 대역에 실어 송신하고 이 넓은 대역의 신호를 다시 모아 높은 파워의 신호로 재생한다는 CDMA의 기본 원리에 충실한 시스템이라 할 수 있다.

문제는 이 대역폭이 너무 커서 장거리 송수신에는 적합하지 못하다는 것이다. 따라서 일반 방송이나 이동 통신용 시스템보다는 홈 네트워크를 완성시킬 차세대 전송기술이며, 유비쿼터스 시장을 선점할 수 있는 기술로 각광을 받고 있다. 국내에서는 유비쿼터스 환경을 구성하는 핵심 기술로서 홈 네트워크 분야가 차세대 10대 신성장 동력으로 선정됨에 따라 그 중요성이 특히 부각되고 있다.

UWB의 가장 큰 장점은 이미 다른 시스템이 사용하고 있는 주파수를 이용해 데이터를 송수신할 수 있다라는 점이다. UWB 방식의 신호는 넓은 주파수 대역 이용으로 전력 밀도값을 아주 작게 할 수 있어, 다른 통신신호가 존재하는 주파수에 중첩돼 사용하더라도 간섭을 거의 주지 않는다는 점에 착안하고 있다. 기존의 무선 시스템의 잡음과 같은 수준의 매우 낮은 스펙트럼 전력 밀도를 사용함으로써 이동통신, 방송, 위성 등의 기존 통신 시스템과 상호 간섭 영향 없이 주파수를 공유하여 사용할 수 있는 것이다.

그러나 UWB의 낮은 전력 요구치 때문에, UWB는 감지하기 힘들고 따라서 제어하기도 힘들다. 등록되있는 주파수 대역과 등록되있지 않은 주파수 대역 등, 모든 주파수 범위를 사용하기 때문에, GPS와는 달리 실내와 지하에서도 사용할 수 있다.


관련 사이트

Posted by '김용환'
,

VxWork, Ada, BeOS, Chous OS, eCos, 프리 RTOS, ITRON, LunxOS, MicrioC/OS-2, OS-9, OSE, OSEK/VDX, pSos, QNX, RMX, RSX-11, RTOS-UH, VRTX, Velos, 윈도우 CE, RT 리눅스, RTAI

 

성공적인 상용 운영체제 - VxWorks, 윈도우 CE

비사용 운영체제 - linux

'OS concept' 카테고리의 다른 글

Endian 유래  (0) 2006.07.20
임베디드 시스템의 기본 #1  (0) 2006.07.20
Synchronization primitives  (0) 2005.02.28
Multi-Threaded Programming With POSIX Threads  (0) 2005.02.28
Application Development Guide --Conditional variable  (0) 2005.02.28
Posted by '김용환'
,
ssh 포트(22번) 변경하기
글 쓴 이  : 굼벵이 관리자 등록일 : 2005년 11월 30일 오후 05:10
카테고리 : Linux 관리하기 조회수 : 80      만족률 :
ssh 포트(22번)를 다른 포트로 변경해 보자.

22번 포트로 접근해 무작위로 패스워드 대입하는 로그가 기록 되었으나, 귀차니즘으로 인해 지금껏 방치하다가 질문이 올라온 길에 포트 변경을 해 봅니다..
아래를 참조해 설정해 보세요..
(존칭 생략.. ^^)

ssh_config 파일은 클라이언트 툴의 접근에 대한 설정을 하는 파일이고..(즉 사용자를 위한 파일)
sshd_config 파일은 ssh 데몬 설정을 위한 설정 파일이다.(즉 서버용이라고 보면 된다.)

우선 원격에서 작업하는 경우 telnet 으로 접근해 작업을 하도록 하자.
잘못된 설정이나 에러로 원격 접속이 되지 않는 낭패를 볼수 있으니..
텔넷을 사용하지 않고 있다면 http://www.chtla.com/stories.php?story=04/01/06/1090396 이글을 참조해 텔넷을 열어주면 된다.
(오랫된 글이지만, 텔넷 열어주는데는 큰 무리가 없을듯..)

우선 포트번호 정하자..
여기서는 2202번 포트로 할것이다.
포트 번호는 맘대로 정해도 되나, 다른 데몬에서 사용하지 않는 포트 번호를 사용해야 한다.
(1024번 위 포트를 지정해야 한다.)

# vi /etc/ssh/ssh_config
Port 22002 <== 포트 변경

# vi /etc/ssh/sshd_config
Port 22002 <== 포트 변경

ListenAddress xx.xxx.xx.xx <= 0.0.0.0를 서버 아이피로 변경

설정이 이걸로 끝났다..
후후.. 무지 간단하다고 욕하지 않을지.. ^^;;

이제 sshd를 재실행하자..
standalone 이면
# /etc/init.d/sshd restart

init 방식이면
# /etc/init.d/xinetd restart

이제 포트가 열려 있는지 확인해 보자..
# netstat -na|grep :22002
tcp 0 0 xx.xxx.xx.xx:22002 0.0.0.0:* LISTEN

방화벽(iptables)가 설정되어 있다면 열어준 해당 포트를 열어 주어야 한다.
(tcp, udp 둘 다 22002를 열어 준다.)

다 끝났다.. (너무 간단하네요..)
외부에서 접근해 보자.

> ssh test@xx.xxx.xx.xx -p 22002
Password:
Last login: Wed Nov 30 16:34:26 2005 from xx.xxx.xx.xx
Good Lucky...
>

정상적으로 접근하는 것을 볼수 있다..
만일

sshd[241]:error:Bind to port 22002 on : failed: address already in use

재실행후 이런 에러가 보인다면 /etc/ssh/sshd_config 파일에서 ListenAddress 를 지정해 주지 않아서 그렇다.
이곳에 해당 서버 아이피를 적어주면 해당 에러는 해결 될것이다.
기본 포트가 아니다 보니 해당 서버 아이피를 적어 주어야 제대로 작동하기 때문이다.
출처 : 초심 http://www.chtla.com/stories.php?story=05/11/30/8217436

'unix and linux' 카테고리의 다른 글

Yum  (0) 2007.06.07
Virtual Box 설치하기  (0) 2007.06.07
페도라 설치  (0) 2007.06.06
Richard Stevens  (0) 2006.07.20
unix vi 명령  (0) 2005.02.28
Posted by '김용환'
,

[펌] svn 사용법

svn 2006. 1. 17. 23:38

출처 : 회사 동료분의 강의 text

계정은 ###으로 수정하였고, svn의 server address는 svn://address로 수정 표기하였다.

 


1. 디렉토리 확인하기
1.1
###@ubuntu:~ $ svn list svn://address/test
branches/
tags/
trunk/

3개의 디렉토리가 있는것을 확인 할 수 있다.

1.2
###@ubuntu:~ $ svn list svn://address/juliet
###@ubuntu:~ $
아직 juliet용으로는 디렉토리를 만든것이 없다는 것을 확인할 수 있다.

 

 

2. 디렉토리 만들기
2.1
###@ubuntu:~ $ svn mkdir svn://address/test/Documents


--This line, and those below, will be ignored--

A    svn://address/test/Documents
이런 화면을 보게된다.

새로 만든 디렉토리에 대한 설명을 적은후에 저장하고 나가면
"svn-commit.tmp" 4L, 123C written

Committed revision 16.
이렇게 나온다. 성공적으로 만들었다는 의미다.

2.2
확인해 보자 만들어졌다.
###@ubuntu:~ $ svn list svn://address/test/
Documents/
branches/
tags/
trunk/

 

3. 프로젝트 시작(만들어진 소스 리스트 올리기)
3.1
###@ubuntu:~ $ mkdir sampleprj

3.2
###@ubuntu:~ $ cd sampleprj/

3.3
###@ubuntu:~/sampleprj $ vi test.c
#include <stdio.h>

int main()
{
        printf("Hello SVN\n");
        return 0;
}

3.4
###@ubuntu:~/sampleprj $ vi Makefile
TARGET=test

all: $(TARGET)

$(TARGET): test.o
        gcc -o $(TARGET) test.o

test.o:
        gcc -c test.c

3.5
###@ubuntu:~/sampleprj $ make
gcc -c test.c
gcc -o test test.o

3.6
이제 프로젝트를 올려본다.
###@ubuntu:~/sampleprj $ cd ..
###@ubuntu:~ $ svn import sampleprj svn://address/test/trunk
테스트용으로 Sample Project를 만들어 올렸음

--This line, and those below, will be ignored--

A    sampleprj


Adding  (bin)  sampleprj/test
Adding         sampleprj/test.c
Adding         sampleprj/Makefile

Committed revision 17.

3.7
확인해본다
###@ubuntu:~ $ svn list svn://address/test
Documents/
branches/
tags/
trunk/
###@ubuntu:~ $ svn list svn://address/test/trunk
Makefile
test
test.c

3.8
다 올렸으니 지운다
###@ubuntu:~ $ rm -rf sampleprj/

 

4
sample이라는 디렉토리에 test/trunk의 프로젝트를 받아온다
###@ubuntu:~ $ svn co svn://address/test/trunk sample
A  sample/test
A  sample/test.c
A  sample/Makefile
Checked out revision 17.

5
###@ubuntu:~ $ cd sample/
###@ubuntu:~/sample $ ls
Makefile  test  test.c
###@ubuntu:~/sample $ svn update
At revision 17.

update가 있으면 받아온다. 없으니까 그냥 아직 revision 17이라고 적혀있다.

6
test.c를 수정한다.
#include <stdio.h>

int main()
{
        printf("Hello SVN\n");
        printf("Merong!!\n");
        return 0;
}

7.
고친내용과 서버의 내용을 비교해본다.
###@ubuntu:~/sample $ svn diff
Index: test.c
===================================================================
--- test.c      (revision 17)
+++ test.c      (working copy)
@@ -3,5 +3,6 @@
 int main()
 {
        printf("Hello SVN\n");
+       printf("Merong!!\n");
        return 0;
 }

8.
고친내용을 서버에 올린다
###@ubuntu:~/sample $ svn commit
test.c 파일에 printf 문장을 한줄 추가했음
--This line, and those below, will be ignored--

M    test.c

test.c라는 파일 하나 바꿨다고 아랫쪽에 적혀있다..

8.1
저장하고 나오면
"svn-commit.tmp" 4L, 103C written
Sending        test.c
Transmitting file data .
Committed revision 18.
이렇게 나온다. test.c 수정된 내용을 서버로 올렸다. 이제 revision은 18이다.

9
test.c 파일의 히스토리를 살펴본다
###@ubuntu:~/sample $ svn log test.c
------------------------------------------------------------------------
r18 | ### | 2005-03-24 12:10:19 +0900 (Thu, 24 Mar 2005) | 2 lines

test.c 파일에 printf 문장을 한줄 추가했음

------------------------------------------------------------------------
r17 | ### | 2005-03-24 12:02:25 +0900 (Thu, 24 Mar 2005) | 2 lines

테스트용으로 Sample Project를 만들어 올렸음

------------------------------------------------------------------------


10.
test2.c를 추가해본다
###@ubuntu:~/sample $ vi test2.c
int test()
{
        printf("test ftn\n");
}

###@ubuntu:~/sample $ svn add test2.c
A         test2.c

###@ubuntu:~/sample $ svn list
Makefile
test
test.c
아직 test2.c는 안올라갔다. (commit을 해야 올라간다)

###@ubuntu:~/sample $ svn commit
test2.c라는 파일 추가
--This line, and those below, will be ignored--

A    test2.c

"svn-commit.tmp" 4L, 84C written
Adding         test2.c
Transmitting file data .
Committed revision 19.
###@ubuntu:~/sample $ svn list
Makefile
test
test.c
test2.c

이제 추가되었다.


11
test라는 바이너리가 올라가있는게 맘에 안든다. 지워야겠다.
###@ubuntu:~/sample $ svn del test
D         test
###@ubuntu:~/sample $ svn list
Makefile
test
test.c
test2.c


아직 남아있다 commit한다.
###@ubuntu:~/sample $ svn commit
실행바이너리라 지움
--This line, and those below, will be ignored--

D    test
"svn-commit.tmp" 4L, 79C written
Deleting       test

Committed revision 20.
###@ubuntu:~/sample $ svn list
Makefile
test.c
test2.c

지워졌다.

Posted by '김용환'
,