<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet href="http://rss.egloos.com/style/blog.xsl" type="text/xsl" media="screen"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
	<title>사뭇진지남</title>
	<link>http://backma79.egloos.com</link>
	<description>루비스트를 꿈꾸며</description>
	<language>ko</language>
	<pubDate>Wed, 05 Mar 2008 08:42:41 GMT</pubDate>
	<generator>Egloos</generator>
	<image>
		<title>사뭇진지남</title>
		<url>http://pds6.egloos.com/logo/200712/21/68/e0087768.jpg</url>
		<link>http://backma79.egloos.com</link>
		<width>80</width>
		<height>53</height>
		<description>루비스트를 꿈꾸며</description>
	</image>
  	<item>
		<title><![CDATA[ ARRAY < OBJECT ]]> </title>
		<link>http://backma79.egloos.com/1488583</link>
		<guid>http://backma79.egloos.com/1488583</guid>
		<description>
			<![CDATA[ 
  <h5>array.each {|item| block } → array</h5><br />
<pre class="code">Calls block once for each element in self, passing that element as a parameter. <br />
<br />
   a = [ "a", "b", "c" ]<br />
   a.each {|x| print x, " -- " }<br />
<br />
produces: <br />
<br />
   a -- b -- c --<br />
</pre>모든원소들이 블럭을 한번씩 실행한다.<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
[출처 : http://www.ruby-doc.org/core/]			 ]]> 
		</description>
		<category>ruby Document</category>

		<comments>http://backma79.egloos.com/1488583#comments</comments>
		<pubDate>Wed, 05 Mar 2008 05:14:27 GMT</pubDate>
		<dc:creator>강이</dc:creator>
	</item>
	<item>
		<title><![CDATA[ MODEULE ENUMABLE ]]> </title>
		<link>http://backma79.egloos.com/1485437</link>
		<guid>http://backma79.egloos.com/1485437</guid>
		<description>
			<![CDATA[ 
  <h5>enum.collect {| obj | block } => array<br />
enum.map {| obj | block } => array</h5><br />
<pre class="code"><br />
Returns a new array with the results of running block once for every element in enum. <br />
<br />
   (1..4).collect {|i| i*i }   #=> [1, 4, 9, 16]<br />
   (1..4).collect { "cat"  }   #=> ["cat", "cat", "cat", "cat"]<br />
</pre>모든 요소가 블럭을 실행후 새로운 배열을 return한다.<br />
<br />
<br />
<h5>enum.detect(ifnone = nil) {| obj | block } => obj or nil<br />
enum.find(ifnone = nil) {| obj | block } => obj or nil</h5><br />
<pre class="code">Passes each entry in enum to block. Returns the first for which block is not false. <br />
If no object matches, calls ifnone and returns its result when it is specified, or returns nil <br />
<br />
   (1..10).detect  {|i| i % 5 == 0 and i % 7 == 0 }   #=> nil<br />
   (1..100).detect {|i| i % 5 == 0 and i % 7 == 0 }   #=> 35<br />
<br />
</pre>find는 detect의 별칭이다. 각각의 요소를 블럭에 적용하고 결과가 true인 첫번째 값을 반환한다.<br />
<br />
<br />
<h5>enum.inject(initial) {| memo, obj | block } => obj<br />
enum.inject {| memo, obj | block } => obj</h5><br />
<pre class="code">Combines the elements of enum by applying the block to an accumulator value (memo) and each element in turn.<br />
At each step, memo is set to the value returned by the block. The first form lets you supply an initial value <br />
for memo. The second form uses the first element of the collection as a the initial value <br />
(and skips that element while iterating). <br />
<br />
   # Sum some numbers<br />
   (5..10).inject {|sum, n| sum + n }              #=> 45<br />
   # Multiply some numbers<br />
   (5..10).inject(1) {|product, n| product * n }   #=> 151200<br />
<br />
   # find the longest word<br />
   longest = %w{ cat sheep bear }.inject do |memo,word|<br />
      memo.length > word.length ? memo : word<br />
   end<br />
   longest                                         #=> "sheep"<br />
<br />
   # find the length of the longest word<br />
   longest = %w{ cat sheep bear }.inject(0) do |memo,word|<br />
      memo >= word.length ? memo : word.length<br />
   end<br />
   longest                                         #=> 5<br />
<br />
</pre>요소들 각각에 값을 차례로 블럭에 적용후 memo에 적용하며, memo에 초기값을 설정할 수 있다.<br />
<br />
<br />
[출처 : http://www.ruby-doc.org/core/]			 ]]> 
		</description>
		<category>ruby Document</category>

		<comments>http://backma79.egloos.com/1485437#comments</comments>
		<pubDate>Tue, 04 Mar 2008 05:40:52 GMT</pubDate>
		<dc:creator>강이</dc:creator>
	</item>
	<item>
		<title><![CDATA[ STRING < OBJECT ]]> </title>
		<link>http://backma79.egloos.com/1485265</link>
		<guid>http://backma79.egloos.com/1485265</guid>
		<description>
			<![CDATA[ 
  <h5>str.squeeze([other_str]*) => new_str</h5><br />
<pre class="code">Builds a set of characters from the other_str parameter(s) using the procedure described for String#count. <br />
Returns a new string where runs of the same character that occur in this set are replaced by a single character. <br />
If no arguments are given, all runs of identical characters are replaced by a single character. <br />
<br />
   "yellow moon".squeeze                  #=> "yelow mon"<br />
   "  now   is  the".squeeze(" ")         #=> " now is the"<br />
   "putters shoot balls".squeeze("m-z")   #=> "puters shot balls"<br />
<br />
</pre>매개변수가 없으면 공백을, 있으면 해당 문자열의 중복된부분을 하나만 남기고 제거해준 후,  새로운 string을 return한다.<br />
<br />
<br />
<h5>str.chomp(separator=$/) => new_str</h5><pre class=code>Returns a new String with the given record separator removed from the end of str (if present). <br />
If $/ has not been changed from the default Ruby record separator, <br />
then chomp also removes carriage return characters (that is it will remove \n, \r, and \r\n). <br />
<br />
   "hello".chomp            #=> "hello"<br />
   "hello\n".chomp          #=> "hello"<br />
   "hello\r\n".chomp        #=> "hello"<br />
   "hello\n\r".chomp        #=> "hello\n"<br />
   "hello\r".chomp          #=> "hello"<br />
   "hello \n there".chomp   #=> "hello \n there"<br />
   "hello".chomp("llo")     #=> "he"</pre>해당문자열의 구분자,개행문자를 제거한 후 새로운 string을 생성한다.<br />
<br />
<br />
<br />
[출처 : http://www.ruby-doc.org/core/]			 ]]> 
		</description>
		<category>ruby Document</category>

		<comments>http://backma79.egloos.com/1485265#comments</comments>
		<pubDate>Tue, 04 Mar 2008 04:26:30 GMT</pubDate>
		<dc:creator>강이</dc:creator>
	</item>
	<item>
		<title><![CDATA[ IO < OBJECT ]]> </title>
		<link>http://backma79.egloos.com/1485181</link>
		<guid>http://backma79.egloos.com/1485181</guid>
		<description>
			<![CDATA[ 
  <h5>ios.gets(sep_string=$/) => string or nil</h4><pre class=code>Reads the next ``line’’ from the I/O stream; lines are separated by sep_string.<br />
 A separator of nil reads the entire contents, and a zero-length separator reads the input a <br />
paragraph at a time (two successive newlines in the input separate paragraphs). <br />
The stream must be opened for reading or an IOError will be raised. <br />
The line read in will be returned and also assigned to $_. Returns nil if called at end of file. <br />
<br />
   File.new("testfile").gets   #=> "This is line one\n"<br />
   $_                          #=> "This is line one\n"<br />
</pre>라인단위로 불러온다.<br />
<br />
<h5>ios.flush => ios</h5><pre class=code>Flushes any buffered data within ios to the underlying operating system <br />
(note that this is Ruby internal buffering only; the OS may buffer the data as well). <br />
<br />
   $stdout.print "no newline"<br />
   $stdout.flush<br />
<br />
produces: <br />
<br />
   no newline</pre>버퍼에 저장되어 있는 데이터를 출력한다.<br />
<br />
<br />
[출처 : http://www.ruby-doc.org/core/]<br />
			 ]]> 
		</description>
		<category>ruby Document</category>

		<comments>http://backma79.egloos.com/1485181#comments</comments>
		<pubDate>Tue, 04 Mar 2008 03:54:44 GMT</pubDate>
		<dc:creator>강이</dc:creator>
	</item>
	<item>
		<title><![CDATA[ [IT 기술서] 루비 온 레일스 ]]> </title>
		<link>http://backma79.egloos.com/1378806</link>
		<guid>http://backma79.egloos.com/1378806</guid>
		<description>
			<![CDATA[ 
  <div style="text-align:center"><img class="image_mid" border="0" onmouseover="this.style.cursor='pointer'" alt="" src="http://pds7.egloos.com/pds/200802/04/68/e0087768_47a6a013c0f51.gif" width="300" height="400" onclick="Control.Modal.openDialog(this, event, 'http://pds7.egloos.com/pds/200802/04/68/e0087768_47a6a013c0f51.gif');" /></div><br />
<br />
미치지 않고 서야.. 루비책을 한번 읽고 교보문고가서 책을 확인후 눈한번 질끈 감고 샀다<br />
책도 얇은데 뭔넘의 책값이 이리 비싼지 ㅠㅠ(27000원) <br />
오랜만에 책을 읽으면서 아껴읽고 싶다는 느낌을 준책이다. 이 얼마만에 느껴보는 감격인가 ㅋ<br />
설연휴를 이용해 시골가서 읽으려고 구입하게 됬다. <br />
1쳅터 정도 보았는데 왜들~ 루비온레일스를 연신 외치는 조금이나마 이해할듯 싶다. <br />
더불어 루비온레일스의 전파에 앞장스고 싶은 1인이 되지 않을까 싶다.<br />
  루비 화이팅~ 레일스 화이팅 ^^<br />
<br />
평가는 책을 읽은후 ^^<br />
<br />
//---------------------------------------------------------------------------------------------------<br />
책을 다 읽고 책의 예제들을 다 해보았다.<br />
<br />
루비를 처음 접하는 인문서로써, 기본문법과 레일스란 프레임워크에대해 간단한 설명과<br />
개인 블로그 프로젝트로 문법및 확장기능의 깔끔한 마무리 ~ <br />
<br />
이 책하나만으로 루비온 레일스를 다 해보았다고 말할 수는 없지만 상당히 매력적이며, 주말을 이용한 취미개발?로 한번쯤은<br />
해볼만 재미있는 프레임워크 인것 같다.<br />
<br />
책내용의 단점이라기보단, 개인적으로 책을 읽으며, 예제를 따라하며 느낀 아쉬운점을 말한다면 <br />
에러발생시 조치할 수 있는수단을 찾기가 어려웠으며, 예제 이외의 방법으로의 확장이 난해했다.<br />
<br />
허접개발자의 슬픔이란 ㅎㅎ;<br />
하지만 이러한 사항은 여러 커뮤니티 사이트및 ebook등으로 시간과 노력을 투자하면 해결되리가 생각한다. ^^<br />
<br />
마지막으로 다 ~~~~~~~~~~~~~~~~ <br />
좋은데 책값이 분량에 비해 너무 비싸다 ㅠㅠ <br />
<br />
ps : 좋은책을 선사해주신 저자에게 감사한다 ^^			 ]]> 
		</description>
		<category>책좀 읽자~</category>

		<comments>http://backma79.egloos.com/1378806#comments</comments>
		<pubDate>Mon, 04 Feb 2008 05:22:53 GMT</pubDate>
		<dc:creator>강이</dc:creator>
	</item>
	<item>
		<title><![CDATA[ [IT기술서] Programming Ruby ]]> </title>
		<link>http://backma79.egloos.com/1378765</link>
		<guid>http://backma79.egloos.com/1378765</guid>
		<description>
			<![CDATA[ 
  <div style="text-align:center"><img class="image_mid" border="0" onmouseover="this.style.cursor='pointer'" alt="" src="http://pds8.egloos.com/pds/200802/04/68/e0087768_47a69b97dff6c.gif" width="300" height="400" onclick="Control.Modal.openDialog(this, event, 'http://pds8.egloos.com/pds/200802/04/68/e0087768_47a69b97dff6c.gif');" /></div><br />
<pre class=code>In ruby everything is an object</pre><br />
모든 언어에는 탄생배경과 철학이 담겨져있다. <br />
루비같은경우는 Perl의 강력함과 Python의 객체지향를 기초로 개발된 언어라 한다.<br />
<br />
예전회사에서 도서구매시 구매를 한건데 이제서야 책을 접하게 되었다.<br />
웹쪽개발이슈중에 ajax 를 비롯 prototype, 루비온레일스,등등..이 있길래 호기심반 기대반으로 책을 접하게 되었다.<br />
<br />
개인적으로 새로운 언어를 접함에 있어 이 언어의 시장성이나 향후 개발Needs를 무시할순 없지만, 이런것들에 얽메이기보단재미있으면 배우고,  하고 싶으면 하고 싶은 스타일인지라 접하게 되었다.<br />
<br />
우선 한번 읽어본 후의 소감은 Perl은 접해보지 않아 잘 모르겠지만 python은 소시쩍?에 잠시 다룬적이 있어서..<br />
파이썬과 매우 비슷한 느낌을 받았다. 그만큼 문법 자체가 독특하며 간결하다는 말이다.<br />
좀 비꼬아 말하자면 개념없는듯?한 느낌이랄까..<br />
<br />
책내용을 살펴보면 초보자가 보기엔 그리 만만한 책은 아닌것 같다.<br />
본인의 실력이 좀 떨어지긴 하지만, 나름 초급딱지를 띤 개발자라고 인정 받는 사람으로써(개인적으로 보증합니다 ㅋ 아님말구~) <br />
개발초급자가 접하기엔 좀 쉽지 않을듯하다. 굳이 난이도를 말하자면 중중 정도?<br />
<br />
루비를 설치하고 보게되면 루비에서 제공해주는 메뉴얼이 있는데 알고보니 그 메뉴얼을 번역해놓은 번역서인듯 싶다.<br />
영어 실력이 좀되거나,  물질적으로 좀 힘드신분들은 메뉴얼과 커뮤니티 사이트 를 강추한다.<br />
책은 그후에 봐도 충분할듯 ^^<br />
<br />
개인적인 마음으론 향후 루비를 개인적인 주력 스킬로 삼고 싶다. 더불어 파이선과 함께 ^^			 ]]> 
		</description>
		<category>책좀 읽자~</category>

		<comments>http://backma79.egloos.com/1378765#comments</comments>
		<pubDate>Mon, 04 Feb 2008 05:15:23 GMT</pubDate>
		<dc:creator>강이</dc:creator>
	</item>
	<item>
		<title><![CDATA[ [IT 기술서]자바스크립트 for 웹2.0 ]]> </title>
		<link>http://backma79.egloos.com/1378508</link>
		<guid>http://backma79.egloos.com/1378508</guid>
		<description>
			<![CDATA[ 
  <div style="text-align:center"><img class="image_mid" border="0" onmouseover="this.style.cursor='pointer'" alt="" src="http://pds8.egloos.com/pds/200802/04/68/e0087768_47a693f418d01.gif" width="300" height="400" onclick="Control.Modal.openDialog(this, event, 'http://pds8.egloos.com/pds/200802/04/68/e0087768_47a693f418d01.gif');" /></div><br />
<br />
<br />
<pre class=code>"내가 알고 있는 지식이 바둑알만한 타원에서, 농구공 만한타원으로.. 점점 커지게되면 될수록<br />
즉, 표면적이 넓어지져 모르는 부분을 많이 접하면 접할수록 자신의 부족함을 느낀다는.."</pre><br />
이게 바로 개발의 묘미가 아닌가 쉽다. 모르는것이 많다는것,&nbsp; 알면 알수록 깊이를 알수 없다는것, 그러기에 더 많이 알기를 원하고, 더깊이 알기을 원한다는..<br />
당신이 바로 진정한 개발자이다.(뭔소린지 원..쩝..)<br />
<br />
개발자에게 있어 자바스크립트는 별볼일 없는 단순 스크립트 일수도 있고, <br />
어떤이에게 있어서는 막강한 기능을 제공해주는 하나의 개발언어일 수도 있다.<br />
<br />
단순 alert창의 역활에서, 현재는 prototype, 서버와 비동기 통신을 하는 "ajax"...<br />
<br />
기존의 몇권의 자바스크립트 책을 읽어 보았지만 그중 정리가 잘 되어있는듯 하고, <br />
나름 현 개발시장의 흐름의 맞추어 비동기식통신방법및, 스크립트를 통한 객체 설계방식및 프레임워크등에대해 기술하고 있다.<br />
<br />
기존 스크립트 책에 비해 내공으로 흡수할수있는 "비급"이 살짝 살짝 숨겨져 있으므로 여유가 되시는 분을 한번 훌터보면 내공 도움에 많은 도움이 될듯 싶다. 			 ]]> 
		</description>
		<category>책좀 읽자~</category>

		<comments>http://backma79.egloos.com/1378508#comments</comments>
		<pubDate>Mon, 04 Feb 2008 04:36:01 GMT</pubDate>
		<dc:creator>강이</dc:creator>
	</item>
	<item>
		<title><![CDATA[ Programming Ruby ]]> </title>
		<link>http://backma79.egloos.com/1353241</link>
		<guid>http://backma79.egloos.com/1353241</guid>
		<description>
			<![CDATA[ 
  Programming Ruby <br />
<br />
한글 메뉴얼 : http://synch3d.com/wiki/moin/moin.cgi/_c7_c1_b7_ce_b1_d7_b7_a1_b9_d6_20_b7_e7_ba_f1<br />
영문 튜토리얼 : http://rubylearning.com/satishtalim/tutorial.html<br />
참고 사이트 : http://codeway.co.kr/board/bbs/board.php?bo_table=Ruby_Lecture			 ]]> 
		</description>

		<comments>http://backma79.egloos.com/1353241#comments</comments>
		<pubDate>Tue, 29 Jan 2008 09:11:59 GMT</pubDate>
		<dc:creator>강이</dc:creator>
	</item>
	<item>
		<title><![CDATA[ 페이퍼 머니 ]]> </title>
		<link>http://backma79.egloos.com/1333534</link>
		<guid>http://backma79.egloos.com/1333534</guid>
		<description>
			<![CDATA[ 
  <p><div style="text-align:center"><img class="image_mid" border="0" onmouseover="this.style.cursor='pointer'" alt="" src="http://pds9.egloos.com/pds/200801/24/68/e0087768_47989b7a93531.jpg" width="150" height="224" onclick="Control.Modal.openDialog(this, event, 'http://pds9.egloos.com/pds/200801/24/68/e0087768_47989b7a93531.jpg');" /></div>묻지마식 투자, 우선 넣고 보자, 인덱스 펀드, 주가지수 2000돌파<br><br>최근 우리 사회의 이슈이자, 최대관심사를 뽑자면&nbsp;경제 부분에서는&nbsp; 재태크가 단연 으뜸일 될것이다.<br><br>나또한 주식이며, 펀드이며, 자산관리에 열을 올리고 있고 오죽했으면 "페이퍼 머니" 라는 책까지 보게 됬으랴..;;<br><br><br>예전처럼 열심히 일해 저축하고, 저축하면 부자가 된다는 시대는 지났다.<br>현재의 지폐의 가치는 날이 갈수록 절하되고 있으며, 기축통화의 달러의 입지마저 흔들거리는 요즘.<br>아는것이 힘이라는 말이 어찌나 현실감있게 다가오는지..<br><br>이책을 보게된 동기는 앞에서 살짝 비췼듯이, 현재 사회의 화페의 가치와 흐름을 파악하고 부를 축적함에 있어서<br>보다 효율적이고, 한치앞도 알수없는 시대 상황적&nbsp;화를 복으로 바꾸기 위함 이라고 하면 좀 우습고 ;;<br><br>살아가면서 느끼게되는 화폐의 가치를 다시 한번 조명해보고,&nbsp;경제의 흐름과 가치의 흐름을 알기위해서<br>이 책을 선택하게 되었다.<br><br>우선 한마디로 말해서 낭패였다.<br><br>책내용이 좌절이라기 보단 나의 이해력에 낭패였다.<br>나름 읽으면서 이해해 보려고 많이 노력해보았으나 역시나 "아는 한도내에서 만 이해한다"라는 말처럼 저자의 뜻을 100%로 이해하지 못하였다.<br><br>옮긴이의 말로는 중학교에 접했던 경제개념으로 부터 시작하여 보다 큰 이슈들을 다룬다고했는데..<br>솔직히 내 입장에선 좀 이해가 쉽사리 되진않았다. 뭐 사람마다 이해도의 차이가 있겠지만<br><br>아무튼 읽은 후에 아쉬움이 많이 남는책이다.<br>좀쉬은 경제학 도서를 읽은후 다시 한번 읽고 싶은책이다 ^^<br><br>이책을 보면서 이 전에 봤던 ceo안철수님의 책에서 봤던 구절중<br><br>"책을 읽을때 다읽었다는 성취감으로 보기보단&nbsp;좀 시간이 걸릴지라도 사색해가며, 생각해가며 책을 읽는&nbsp;것이 진정한 독서이다"<br><br>순간 얼마나 민망했는지, 앞으로 독서를 할때는 책을 단순이 읽는 것이아니라 책과 호흡을 같이 해봐야겠다. ^^<br><br><br><br>덧붙여서 현 글로벌 악재로 인해 내 펀드수익률이 평균 -15%다 ㅠㅠ;;<br>아..속쓰려;</p>			 ]]> 
		</description>
		<category>책좀 읽자~</category>

		<comments>http://backma79.egloos.com/1333534#comments</comments>
		<pubDate>Thu, 24 Jan 2008 14:11:02 GMT</pubDate>
		<dc:creator>강이</dc:creator>
	</item>
	<item>
		<title><![CDATA[ 큐브리드? ]]> </title>
		<link>http://backma79.egloos.com/1327182</link>
		<guid>http://backma79.egloos.com/1327182</guid>
		<description>
			<![CDATA[ 
  <a href="http://www.cubrid.com/">http://www.cubrid.com/</a><br><br>아는 동생넘이 큐브리드 함수에 대해 물어보길래.. 자연스레 검색하다 알게된 사이트다.<br><br>이름이 좀 낮설다 싶었더니 국산 db란다. <br>이곳 저곳 구경하다가 채용안내란을 보다가 <br><br><br>"학력, 연령, 성별, 경력, 전공에 관계없이 지원하실 수 있습니다.<br><span style="COLOR: #0000ff"><b>단 3시간의 면접만 통과하시면 됩니다. </b></span><br>거의 대부분 지원분야의 핵심경쟁력을 검증하는 데 활용됩니다.학력, 연령, 성별, 경력, 전공에 관계없이 지원하실 수 있습니다.<br><span style="COLOR: #0000ff"><b>단 3시간의 면접만 통과하시면 됩니다. </b></span><br>거의 대부분 지원분야의 핵심경쟁력을 검증하는 데 활용됩니다."<br><br>란을 보고 역시 개발회사 답다 란걸 느꼇다.<br>순간 가슴 한켠에 끓어오르는 개발에 대한 열정에 나도 모르게 글을 적고 있다.<br>언젠가 기회가 닿는다면 내가 개발자라는 이름 세글자를 가지고 당당히 지원해주마 ^^<br><br>기달려줘~~			 ]]> 
		</description>

		<comments>http://backma79.egloos.com/1327182#comments</comments>
		<pubDate>Wed, 23 Jan 2008 06:31:17 GMT</pubDate>
		<dc:creator>강이</dc:creator>
	</item>
</channel>
</rss>
