Showing posts with label fun. Show all posts
Showing posts with label fun. Show all posts

Thursday, August 28, 2008

Everything you are searching for can be found in yourself ;)

Look at those children. They can be happy very easily. They just need noises, papers, or simple toys.

Our adults forget about childhood too soon. That why some of us need alcohol, cigarette, or even drug to be pleasure.

Children remind us life is fun. Let smile and laugh like a child. You will be happy and make everybody happy. Remember, we don't need money, beautiful girls (boys), big houses, or nice cars in order to be happy. As one of my dear friends said "all you need is practicing".





Wednesday, August 27, 2008

Friday, August 22, 2008

Thursday, August 21, 2008

A fun and inspiring presentation





http://rubyhoedown2008.confreaks.com/12-giles-bowkett-archaeopteryx-a-ruby-midi-generator.html

Sunday, August 17, 2008

Wednesday, August 13, 2008

Tuesday, August 12, 2008

Monday, August 11, 2008

Friday, August 8, 2008

My favorite song :)



Don't Worry, Be Happy

Here is a little song I wrote
You might want to sing it note for note
Don't worry be happy
In every life we have some trouble
When you worry you make it double
Don't worry, be happy......

Ain't got no place to lay your head
Somebody came and took your bed
Don't worry, be happy
The land lord say your rent is late
He may have to litigate
Don't worry, be happy
Lood at me I am happy
Don't worry, be happy
Here I give you my phone number
When you worry call me
I make you happy
Don't worry, be happy
Ain't got no cash, ain't got no style
Ain't got not girl to make you smile
But don't worry be happy
Cause when you worry
Your face will frown
And that will bring everybody down
So don't worry, be happy (now).....

There is this little song I wrote
I hope you learn it note for note
Like good little children
Don't worry, be happy
Listen to what I say
In your life expect some trouble
But when you worry
You make it double
Don't worry, be happy......
Don't worry don't do it, be happy
Put a smile on your face
Don't bring everybody down like this
Don't worry, it will soon past
Whatever it is
Don't worry, be happy

Thursday, July 24, 2008

Got my first vote on RefactorMyCode :)

RefactorMyCode.com is a quite fun place for developers. I found it yesterday morning and can't help playing with code there. It is a huge playground for every programming language: Ruby, PHP, JavaScript, Java, C/C++, C#, VB, Python, Perl, LISP, Erlang and even Bash.

My favorite is JavaScript. It's a dynamic, functional, prototype-base OO programming language. JavaScript is the language that teach me functional programming. I use Firefox, my favorite browser, combine with Firebug plugin to code and debug.

I got first vote for this refactor. It helps to increase my rank from #96 to #23.

If you have some freetime. Let visit RefactorMyCode.com, refactor other people code or post the code you don't know how to deal with there. People will help to improve it. Fast and Fun :))

Wednesday, July 23, 2008

Code Monkey

Hôm trước down bài Code Monkey trên Musical Geek Friday về nghe. Thế là cả nhà gán luôn cho biệt danh mới Code Monkey :)) Chết cái tội hay ăn chuối.

Có bản video trên YouTube khá nhộn:


Còn đây là Code Kitty nhà tớ, mê ngủ và mê Whiskas. Thêm tật xấu ngủ xong không bao giờ gấp chăn ...

Tuesday, July 22, 2008

Ruby in the dark ages

Here I found a funny note:
"Brian has been programming with Ruby since BR (before-Rails), which means practically since the dark ages. He has worked with several companies doing web development with Rails. In December 2006 he began contributing to Rubinius, launching the effort to write executable specs for Ruby. He is now employed by Engine Yard to work full-time on Rubinius."

Have you practice Ruby in since the dark ages?

Rubinius is an awesome and unique project. I will create a posting about it :)

How to work better

I will put "10 SMILE" to the first place. It always work even in case other methods fail :)

Sunday, July 20, 2008

Đứng lên coders :)

Lập trình viên ngồi quá nhiều. 8 đến 10 tiếng ở cơ quan, về nhà lại ngồi máy tính tiếp 2-3 tiếng. Một ngày có 24 tiếng mà ngồi đã mất nửa thời gian. Ha ha ha ....

Thế là tớ quyết định sẽ đứng và lập trình tại nhà. Lý do: ngồi nhiều hỏng cột sống, sau nay già khổ lắm :) May quá cái bàn làm việc có thanh ngang bên trên để máy in và các đồ lặt vặt. Tớ bỏ máy in xuống, dọn dẹp sạch sẽ. Sau đó mang em màn hình ra giường, hì hục lấy tốt vít lột hết chân tay rồi cột em cao lên như trong hình.

Còn một vấn đề nữa là làm sao để bàn phím và chuột đủ tầm cao khi đứng. Thử nghiệm 1: bỏ em case lên bàn, fail thảm thiết. Em case to quá, nặng quá, chắn hết chỗ, lại còn kêu phì phì nữa. Rồi mỗi lần nhét đĩa ra đĩa vô cũng bất tiện. Nhìn ngang ngó dọc phát hiện ra em loa Yamaha. Em này bị thằng cu tí (con mèo nhà tớ) cào cho tan nát cái màn chắn loa nên trông có vẻ đồng nát nhưng mà chất lượng ngon lắm đấy. Ông anh rể quý lắm mới để lại cho cơ mà :))

Em loa nằm ngang, để em bàn phím và em chuột trèo lên, thế là vừa tầm cao. Năm ngoái về thăm nhà, gạ mua được em bàn phím HHK của một anh đi Nhật về, ai dùng máy mình cũng cằn nhằn sao mà khó dùng thế, lại bé tí nữa chứ, ứ thích. Vậy mà bây h mới phát huy tác dụng đấy. Cái loa xinh xắn là thế mà cũng để vừa cả bàn phím và chuột. Ha ha ha ...

Đứng và dùng máy tính cũng có cái thú riêng của nó, thấy tự do và tập trung hơn. Tự do đung đưa và nhịp chân theo nhạc, tự do đi lại (không cần chuyển trạng thái từ ngồi sang đứng nữa). Tập trung hơn vì khi đứng phải thẳng lưng, mắt nhìn thẳng và chỉ tập trung vào màn hình. Khi ngồi có lúc nghẹo bên này, nghẹo bên kia, có lúc gác chân lên bàn nữa .. nói chung là ngả ngớn làm giảm sự tập trung. Ngoài ra đứng giúp tránh việc dùng máy tính quá lâu. Ối giời ơi, đứng được một tiếng là em chân em cẳng đã khóc không còn ra tiếng nữa. Phải giải lao 15, 20 phút cho hai em hồi sức.

Còn một tác dụng phụ nữa là tối ngủ rất ngon ... vì mệt. Ha ha ha ...