Timothy Kim::Blog - my life in words, verses and rhymes
twitter archive

The Tragedy of Linked List

linked_lists.jpg

From wordarc.com

Tags: , , ,

Django v1.0

Django v1.0

Productivity for today is down the drain… -_-

Tags: , ,

프로그래밍의 道

Does a good farmer neglect a crop he has planted? Does a good teacher overlook even the most humble student? Does a good father allow a single child to starve? Does a good programmer refuse to maintain his code?

Geoffery James, The Tao of Programming

아멘.

Tags: , ,

The wise word from Linus

Nobody should start to undertake a large project. You start with a small trivial project, and you should never expect it to get large. If you do, you’ll just overdesign and generally think it is more important than it likely is at that stage. Or worse, you might be scared away by the sheer size of the work you envision. So start small, and think about the details. Don’t think about some big picture and fancy design. If it doesn’t solve some fairly immediate need, it’s almost certainly over-designed. And don’t expect people to jump in and help you. That’s not how these things work. You need to get something half-way useful first, and then others will say “hey, that almost works for me”, and they’ll get involved in the project.

- Linus Torvalds

Tags: , , ,

만일솔로

지난 화요일 우연찮게 KBS에서 만났다는 연구실 선배의 친한동생과 저녁을 같이 먹을 기회가 생겼었다. 이런저런 얘기를 하던중 한국에 짜장면 데이 말고도 솔로가 celebrate(?)할수있는 날이있다며 만일솔로에대해 알려주었다.

만일(萬日)솔로(solo)란 태어난지 만일이 될때까지 한번도 연애를 해보지 못한 사람을 가르켜 칭하는 말이다. 만일솔로가 되는날엔 친구들과 모여 (IF you have friends) 술을 마신다고 한다.

이 이야기를 듣고 우울해지거나 기분이 상하기보단 집에 빨리돌아가 만일을 계산하는 프로그램을 짜고싶은 생각만 들었다. 그리곤 집에와서 프로그램을 짰다.

만일 계산기 사용해보기

난 만일 채우고도 남을것같다… -_-;;

참고로 나의 만일째 되는 날은 2009년 3월 12일

Tags: , , ,

LOL

Way down in Dallas, in the Dallas Ruby Brigade, we believe that monkey-patching, while it’s served us well, the time has come for some new terminology there. So while you have duck-typing in Ruby, we believe that monkey-patching should become duck-punching.

Adam Keys

Well, I was just totally sold by Adam, the idea being that if it walks like a duck and talks like a duck, it’s a duck, right? So if this duck is not giving you the noise that you want, you’ve got to just punch that duck until it returns what you expect.

Patrick Ewing

From RailsConf 2007

푸하하하~~~

오랬만에 소리내서 웃었다.

Tags: , , ,

오랬만에

오랬만에 루비와 함께 래일즈를 타고 밤을 세(새)어 보자꾸나~

Tags: , ,

MacVim!

MacVim Icon

Finally! A vim for mac that’s done right!

I’m finally home… \(^o^)/

Life is good again.

MacVim Site

Tags: , , ,

Stamp/quilt like border using only CSS

Sorry, no boring introduction. Here’s an example:


hello!

Idea is simple, just using really thick dashed border to create that stamp like feel.

First the HTML:

  1. <div id="groove"><div id="spacer"><div id="content">
  2.       <h3>Hello!</h3>
  3. </div></div></div>

Yes, that’s triple divs without any white space between them. That’s to accommodate IE’s weird behaviors.

Now for the CSS

  1. #groove {
  2.   border: 5px dashed #FFAA00;
  3.   background-color: #FFFFFF;
  4.   padding: 0px;
  5.   width: 100px;
  6. }
  7.  
  8. #spacer {
  9.   padding: 3px;
  10.   background-color: #FFAA00;
  11. }
  12.  
  13. #content {
  14.   background-color: #FFAA00;
  15.   border: 2px dotted #FFFFFF;
  16.   padding: 3px;
  17.   height: 100px;
  18. }

The width value must be set to the outer most div and height value should be attributed to the inner most div.

The background-color for the #groove is to match the document background-color.

You may chose to get rid of the spacer, if you don’t want that white stitch within the box. Then of course, get rid of the border attribute from the content div.

It was tested in IE6/7, Firefox, Safari, and Opera. Only annoying thing is that to make this work in IE, you have make sure that there are no white spaces between nested divs.

Hope this helped!

Tags: , , , , ,

1-2 Punch

An honest empiricist must conclude that while the open approach has been able to create lovely, polished copies, it hasn’t been so good at creating notable originals. 

– From a blog post called “Long Live Closed-Source Software!” by Jaron Lanier 

문장 하나가 생각을 바꾸는 일은 자주 있는 일이 아니다. 하지만 open software의 방식이 software development의 최고점이라고 생각하고 있던나에게는 윗 문장은 크나큰 충격이였다.

요즘들어 너무나 많은 파라다임들이 바뀌어져가고있다.

정신 바싹 차려야 할것 같다.

Tags: ,

Older entries »