~/temp$ ipython Python 2.4.3 (#2, Oct 6 2006, 07:52:30) Type "copyright", "credits" or "license" for more information.
IPython 0.7.1.fix1 -- An enhanced Interactive Python. ? -> Introduction to IPython's features. %magic -> Information about IPython's 'magic' % functions. help -> Python's own help system. object? -> Details about 'object'. ?object also works, ?? prints more.
In [1]: import sample In [2]: sample.inc(1) Out[2]: 2
자신이 사는 아파트 엘리베이터에서 유괴를 거의 당할 뻔 했다는 것도 어이가 없었으며, 근처에 살던 여대생이 나와서 용기를 내지 않았다면 저 아이도 100% 납치되었겠죠. 게다가 경찰의 태도가 더더욱 어이없군요. 어떻게 유괴미수가 단순폭행이 되는건지도 모르겠으며, 가장 확실한 증거인 CCTV는 왜 쳐다보지도 않는 건지 정말 화가 나서 못 봐주겠네요.
후우, 그나저나 너무 세상이 각박해져서 애들을 어떻게 안전히 보호해야할지 걱정입니다. 어제 저 뉴스를 보면서 마눌님과 내린 결론은 단 하나뿐이더군요. "이제 우리나라에서 등/하교는 부모가 100% 책임질 수 밖에 없겠다." 였습니다. 저도 딸래미가 이제 5살이라 유치원에 다니는데, 고등학교 다닐때까지만이라도 등하교 때 보호해 줘야겠다는 생각 뿐이네요. 물론 고등학교 이후에도 위험하긴 합니다만, 그때는 올바른 대처를 할 수 있도록 교육을 시켜야겠죠... ㅜ,.ㅠ;
예전에 보안 교수님께서 이야기 하신 말이 문뜩 생각납니다. '너에게 가장 소중한 것은 무엇이며, 너는 그 소중한 것들을 어떻게 관리하고 있느냐?' 제게 가장 소중한 것은 가족인데, 그당시 생각해보니 외부위협에 대해 거의 방비가 되어 있지 않더군요. 물론 그때는 '뭐, 어쩌겠어... 아무문제 없구만...'이라고 생각했는데, 이젠 세상이 안전하지 않다는 것을 알게 되었으니, 방비를 좀더 강화해야겠죠.
그나저나, 외벌이하는 문들은그래도 등하교를 어느정도 관리할 수 있겠지만, 맞벌이 분들은 친척분들에게 부탁하거나 등하교알바를 이용할 수 밖에 없겠군요. --; 정말 여러모로 우울한 사회입니다...
각 포스트의 하단에 보면 아래 스샷과 같이 "Translate to English..."라는 버튼이 있습니다.
이 버튼을 누르면 아래 스샷과 마찬가지로 영어로 번역된 결과가 펼쳐집니다.
구현은 거의 할게 없었으며, 스킨을 약간 수정하고, 단순히 google api를 부르기면 하면 되네요.
그런데 tag가 달린 상태로 html 입력문자열을 던지거나, 자세히 세어보지는 않았지만 입력이 약 1KBytes 이상이 되면 뻗어버리더군요. 그래서 어쩔수 없이 <br>태그를 구분자로 나눠서 나머지 html tag들은 간단하게만 제거해서 입력인자로 주었습니다. ( 고로 이미지 등의 태그는 모두 날라가고 영어로 번역한 결과만 나옵니다. )
헤더의 소스는 다음과 같습니다.
마지막으로, 번역을 하기 위한 소스를 가져오기 위해서 아래와 같이 "source"와 "translation"의 위치를 지정해 줍니다.
어제는 개봉한지 몇 달된 미스트(The Mist)를 봤습니다. 단순히 괴물영화인줄 알았는데, 데스티네이션, 블레어윗치와 동급으로 찝찝한 영화네요... 특히 엔딩은 정말 할말이 없게 만듭니다.
전 보통 괴물영화는 나름 해피엔딩이라 예상하고 보는데, 이건 완전히 예상을 깨 버리네요~
괴물보다는 안개(mist)로 공포 분위기를 조성하는 씬이 많으며, 괴물이 나오는 장면은 예상보다 별로 없지만 나름 재미있었습니다 ^^;
특히 괴물 중에 최고 무서운 괴물은 (아래에서) 가장 마지막의 Christian Monster 였습니다. 높은 공격력에 비해 방어력이 약해서 다행이었죠...
자, 줄거리는 이야기하면 혹시라도 안 본 분들이 매우 분노하실게 뻔하므로, 여기서부터는 retardzone에 Mist에 나온 괴물들을 퍼다 놓는 걸로 마무리하겠습니다~ :)
Tentacle Monster
Scientific Name: Monasteriense plurestelum Tentacle Length: About 40 feet Description: Multiple tentacles enter from loading
gate to devour Norm the bag boy. This particular creature is never seen
again and only the tentacles from this monster are ever seen. Retarded Facts: When the severed tentacle is poked it rapidly turns into a foul smelling liquid, willing to eat dog food. Body Count: 1 confirmed kill
Dinosaur Monster
Scientific Name: Ingens ridiculum Height: 240 feet Description:
This six legged behemoth would dwarf a blue whale and stood taller than
any land creature found in the age of the dinosaurs. When seen in the
end of the movie the SUV is around the ankle of this walking skyscraper. Retarded Facts:
Largest imaginary creature monster in film history. In the book this
creature is described as having hundreds of the "bugs" attached to
them. Would need to consume a few hundred dozen people per day to stave
off starvation. Much less talkative than the more realistic looking
trees from the Return of the King. Body Count: 0 confirmed kills
Wasp Monster
Scientific Name: Magnus punctum Length: 19 inches Description:
Apparently attracted to light these large flying wasp monsters have a
very toxic neuro toxin causing massive swelling and death within a few
minutes. Retarded Facts: Unlike the American
WASP these ones are not white. They are apparently afraid of crazy
women but like to sting younger attractive ones. Body Count: 1 confirmed kill
Spider Monster
Scientific Name: Receptacle intellect Length: 44 inches Description:
Covered in long hairs these spiders, like most movie monsters they lay
their hundreds of eggs in live humans covered in webbing, that with
movie magic take less than a day to hatch. Retarded Facts:
They shoot acid laden webs up to 20 feet that will cut through human
flesh like butter. On a happier note they have a disarmingly happy
looking skull face. Body Count: 12 confirmed kills
Pterodactyl Monster
Scientific Name: Ales dinosauri Height: 3 feet Description:
These clumsy yet lovable flying dinosaurs love to crash into things if
they didn’t pull meat out of one Tom Smalley’s head. If it weren’t for
that this cute little guy could have been easily the star of a happier
film and have been adopted by some cute little girl. Retarded Facts:
The largest flying creature seen in the movie can eat a grown man but
it took nearly a dozen passes at a window to break through it. Body Count: 1 confirmed kill
Lobster Monster
Scientific Name: Gammarus elephanti Height: 50 feet Description:
Straight out of general casting at a bad 50s sci ft movie these lobster
monsters love to scuttle around and take revenge on seafood eating
humans. Retarded Facts: An apparent wrestling match with a victim tied to a rope results in half the body being pulled away from this hungry monster. Body Count: 4 confirmed kills
Christian Monster !
Scientific Name: Sarcalogos rabidus Height: 5.5 feet Description:
Christian woman goes the opposite of Ned Flanders this woman goes
insane and turns most of the grocery store into her own doomsday cult. Retarded Facts:
Hollywood outdoes itself in making fun of Christians with this one. Not
only does she use the the religion to turn the mob into killing but
before long she even wants to sacrifice the little boy in the movie.
Talk about the opposite of the Christian right supporting our troops
and right to life/family values. Body Count: 1 confirmed kill