2008年4月29日 星期二

Remember the Name



Fort Minor

You ready?! Let's go!
Yeah, for those of you that want to know what we're all about
It's like this y'all (c'mon!)

This is ten percent luck, twenty percent skill
Fifteen percent concentrated power of will
Five percent pleasure, fifty percent pain
And a hundred percent reason to remember the name!

Mike! - He doesn't need his name up in lights
He just wants to be heard whether it's the beat or the mic
He feels so unlike everybody else, alone
In spite of the fact that some people still think that they know him
But fuck em, he knows the code
It's not about the salary
It's all about reality and making some noise
Making the story - making sure his clique stays up
That means when he puts it down Tak's picking it up! Let's go!

Who the hell is he anyway?
He never really talks much
Never concerned with status but still leaving them star struck
Humbled through opportunities given despite the fact
That many misjudge him because he makes a living from writing raps
Put it together himself, now the picture connects
Never asking for someone's help, or to get some respect
He's only focused on what he wrote, his will is beyond reach
And now it all unfolds, the skill of an artist

This is twenty percent skill
Eighty percent fear
Be a hundred percent clear cause Ryu is ill
Who would've thought that he'd be the one to set the west in flames
And I heard him wreck it with The Crystal Method, "Name Of The Game"
Came back dropped Megadef, took em to church
I like bleach man, why you had the stupidest verse?
This dude is the truth, now everybody's giving him guest spots
His stock's through the roof I heard he's fuckin' with S. Dot!

This is ten percent luck, twenty percent skill
Fifteen percent concentrated power of will
Five percent pleasure, fifty percent pain
And a hundred percent reason to remember the name!

They call him Ryu, he's sick
And he's spitting fire
And mike got him out the dryer he's hot
Found him in Fort Minor with Tak
What a fuckin' nihilist porcupine
He's a prick, he's a cock
The type woman want to be with, and rappers hope he get shot
Eight years in the making, patiently waiting to blow
Now the record with Shinoda's taking over the globe
He's got a partner in crime, his shit is equally dope
You wont believe the kind of shit that comes out of this kid's throat

Tak! - He's not your everyday on the block
He knows how to work with what he's got
Making his way to the top
He often gets a comment on his name
People keep asking him was it given at birth
Or does it stand for an acronym?
No he's living proof, got him rocking the booth
He'll get you buzzing quicker than a shot of vodka with juice
Him and his crew are known around as one of the best
Dedicated to what they do and give a hundred percent

Forget Mike - Nobody really knows how or why he works so hard
It seems like he's never got time
Because he writes every note and he writes every line
And I've seen him at work when that light goes on in his mind
It's like a design is written in his head every time
Before he even touches a key or speaks in a rhyme
And those motherfuckers he runs with,
The kids that he signed?
Ridiculous, without even trying,
How do they do it?!

This is ten percent luck, twenty percent skill
Fifteen percent concentrated power of will
Five percent pleasure, fifty percent pain
And a hundred percent reason to remember the name!

This is ten percent luck, twenty percent skill
Fifteen percent concentrated power of will
Five percent pleasure, fifty percent pain
And a hundred percent reason to remember the name!

2008年4月10日 星期四

Setup Eclipse CDT with Cygwin

本來在安裝 Eclipse、CDT、cygwin 後,要把 cygwin/bin 的路徑設到系統環境變數 Path 中,CDT 才能找得到 gcc。但是... 我就是不想動我的環境變數... 稍微試了一下,看有沒有辦法在不更動環境變數的形況下,正常使用CDT。結論是這個想法是可行的,但還是乖乖設定環境變數比較省事。

設定的方法如下:
  • 在 Toolbar 上點選 Window -> Preferences
  • 在 Preferences 對話窗中點選 C/C++ -> Environment,加入環境變數 Path, 其值為 cygwin/bin 的路徑

只要在此加入環境變數就可正常compile程式,但cygwin compile 出來的執行檔需要 cygwin1.dll 才能執行,所以雖然可以正常compile,但 Eclipse 的 console 無法正確執行compile好的程式。在不更動系統環境變數的前提下,最簡單的做法就是把 cygwin1.dll 複製到 系統 Path 或 Project 的工作目錄中,但再一次地,我就是不想複製檔案,所幸這仍然有解
  • Toolbar 上點選 Run -> Open Run Dialog
  • 在 Run 的對話窗中點選 C/C++ Local Application -> ProjectName.exe, 在右側點選 Environment分頁,一樣加入 Path 的環境變數。

做到這裡可以正常執行Build完的程式了,但還不能Debug...
不能Debug 的主因有二,一是 Eclipse找不到 gdb.exe 二是在 Debug 的過程中, Eclipse 再度找不到 cygwin1.dll (啊不是都已經設環境變數了嗎!? 吼~~)
  • 在 Toolbar 上點選 Run -> Open Debug Dialog
  • 在 Run 的對話窗中點選 C/C++ Local Application -> ProjectName.exe, 在右側點選 Debugger 分頁
  • 在 Debugger 分頁中設定 GDB debugger的位置:
    Drive:\PATH\TO\gdb.exe
  • 給定一GDB command file,並在 command file加入
    path /cygdrive/drive/path/to/cygwin/bin

這樣一來,就可以正常地Debug了...

雖然找到設定的方法,但我最後還是決定把 cygwin 加到系統 PATH 裡...做人還是不要太搞怪的好...

References:
Debugging with GDB