Mar 31
alonesweb2.0 byus, moni, moni wiki, wiki, 모니, 모니 위키
모니 위키의 설치 방법이다.
- byus에서 호스팅을 받고 있다
byus에서 쉘을 메뉴로 제공해서 조금 불편하지만…
1. Moniwiki download
ftp://ftp.kr.freebsd.org/pub/kldp.net/download/moniwiki/moniwiki/
2. public_html 서버에 올린다.
3. telent으로 접속해서 압축 풀기를 하고 public_html을 대상으로 푼다.
(압축 파일 안의 첫 폴더가 moniwiki 이기 때문이다)
※ 참고로 moniwiki 폴더를 만들고 푸니 public_html/moniwiki/moniwiki처럼 구조가 되어버렸다)
4. /moniwiki/monisetup.php”>http://<도메인>/moniwiki/monisetup.php 접속
기본 설정이 있고 최초 pwd를 설정하고 하고 upload하면 된다.
(아래 글 처럼 처음에 이름 정도 변경한다)
※ 이후 설정은 config.php를 수정하면 된다.
7. http://alones.byus.net/moniwiki/ 이 wiki page이다.
참고 url
http://no-smok.net/nsmk/MoniWiki
http://moniwiki.sourceforge.net/wiki.php/MoniSetup
From: http://wangmul.egloos.com/586545
wangmul.egloos.com
나중에 다시 설치하려고 할 때 잊어버릴 것 같으니 기억이 쌩쌩할때 정리.
모니위키에 대한 자세한 내용은 여기를 참조. 모니위키는 diff와 rcs를 추가적으로 지원받아야 하는 단점이 있다.
Cafe24같은 경우에는 적극적으로 대응하여 해결할 수 있는 방안이 있다. 내가 사용하고 있는 New21서버는 지원이 될것이야~ 라고 철썩같이 믿고 진행.
왠만한 Linux Server에는 기본 설치가 되어 있을 것이라고 믿고 있다.
1. 일단 moniwiki를
다운로드 받는다.
2. Download받은 압축파일을 서버에 올려놓고 푼다. 풀게되면 moniwiki 폴더 생성.
3. http://Domain/moniwiki/monisetup.php에 접속한다.
여기에 접속하게 되면 /moniwiki/폴더와 moniwiki/data 폴더의 권한을 777 혹은 2777로 설정을 하라고 나온다.
4. 권한을 변경한 뒤에 위의 URL에 접속을 하면 정상적일 경우 기본 설정이 나온다.
5. 기본설정에서 마음에 들지 않는 부분이 있다면 config.php파일을 열어서 직접 수정. 위키의 이름정도 변경해주는걸로 충분.
추가 : config.php에 $auto_linebreak=1 속성을 주어야 LineBreak가 적용된다.6. 설정이 끝나면 사용 가능.
이건 그야말로 돌아가게만 하는 것이고 기타 여러가지를 추가할 수 있다.
Mar 31
alonesComputerScience IBM, optical computing
아래와 같이 optical computing이 상용화 되면 지각 변동이 또 일어 나겠군요
IBM은 osgi framework, Eclipse 등등.. 그들이 손을 뻗치는 곳은 정말 어디까지인지. 흐
From: Builder AU
http://www.builderau.com.au/news/soa/IBM_claims_optical_computing_breakthrough/0,339028227,339274607,00.htm?feed=rss
IBM claims optical computing breakthrough
The ability to move an entire database or a complete movie from one system to another in a second is within reach, according to researchers at IBM.
Such a fast download is possible because of the use of optical signals instead of normal electronic signals. Whereas electronic signals must travel down physical hardware paths in chips, optical signals use the much wider optical spectrum and can travel at the speed of light.
According to IBM, scientists have found a way of shrinking and integrating the components required into one package with standard low-cost, high-volume chip-manufacturing techniques. The primary task in this process was to try to build an unheard level of integration in the chipset. To achieve this, the researchers built an optical transceiver with driver-integrated and receiver-integrated circuits in current CMOS technology.
The chips are “coupled” with other necessary optical components made in more exotic materials, such as indium phosphide (InP) and gallium arsenide (GaAs), IBM said. The final integrated package is only 3.25mm by 5.25mm in size.
This compact design provides a high number of communications channels, necessary to transmit a huge amount of data in parallel, as well as very high speeds per channel. While the research has yielded promising possibilities, IBM released no details on when we can expect to see the new technology in finished products.
Mar 29
alonesProgramming/C/C plus plus dos file, ifstream, seekg(), std::ifstream(), tellg(), unix text file
그 사실을 모르거나 깜빡하고 있을 때, 아주 난감하고 많은 시간을 들여야 풀리는 문제..
최근에도 std::ifstream::tellg와 std::ifstream::seekg() 때문에 아주 난감했다.
그래서 std::ifstream을 잘 쓰지 않는데 좀 급한 마음에 생각 없이 쓴게 말썽을 부렸다.
Unix text file을 windows에 읽을 때 line feed (‘\n’)가 carriage return과 line feed로 바뀌게 되는 것을 잘 알 것이다. (‘\r\n’)
문제는 tellg()가 ‘\r’을 만날 때 file pointer를 변경 시킨다는 것이다. (그래서 무한 loop에 빠지는 경우가 있다) 또한 seekg도 file pointer를 변경 못하는 경우도 있다.
아래 news group에서 이와 같은 문제에 대해서 토론을 했고 특히, Eivind Grimsby Haarr의 example 처럼 동일한 코드에서 tellg만 써버려도 코드가 오 동작을 한다.
http://groups.google.com/group/comp.lang.c++/browse_thread/thread/eb64ad9dd1ae1b4a/42811f2c6623b6b9?lnk=st&q=tellg&rnum=3#42811f2c6623b6b9