Tuesday, April 25, 2006

Tạm dừng post blog

Chưa định ngày trở lại.

Sunday, April 23, 2006

U Make Me Better



U Make Me Better
Bo Bice

Lately
I been so far gone
Pretending
And, I don’t know where I went wrong
I been lying to myself
In the arms of someone else
But without you I just can’t fake it
Tonight
Here I am so

Chorus:
Please don’t tell me it’s the ending
You’re all I ever wanted from the beginning
I know I let you down
I’ll live with that forever
I wanna scream out loud
But you’re the only one that makes me better

Verse 2:
Baby
I could barely talk to you
You got me
Don’t know how I made it through
But still you came with me that night
you remember that all right
I can’t believe that we could loose this tonight
I’m beggin you now

Chorus:
Please don’t tell me it’s the ending
You’re all I ever wanted from the beginning
I know I let you down
I’ll live with that forever
I wanna scream out loud
But you’re the only one that makes me better

Bridge:
This time I’m gonna make you right
Just take me home with you tonight

Chorus:
Please don’t tell me it’s the ending
You’re all I ever wanted from the beginning
I know I let you down
I’ll live with that forever
I wanna scream out loud
But you’re the only one that makes me better

You make me better
You make me better
You make me better

Saturday, April 22, 2006

Đôi chân tôi

Đã từ lâu rồi, da chân tôi chẳng còn được nguyên vẹn. Tôi còn nhớ lắm, hồi cấp một, cấp hai, da chân tôi đâu có thế này. Những đợt trời nóng mùa hè hay lạnh về mùa đông, nhưng nhất là về mùa đông là tôi lại ngứa không chịu nổi. Thời tiết hanh khô làm cho da tôi trở nên thiếu nước, sau những lúc gãi da chân tôi cứ trắng xóa như là bị mốc. Các tế bào da chết cứ như những hạt bụi li ti bám trên cơ thể tôi. Thậm chí ra ngoài đường tôi cũng chẳng dám mặc quần đìu, quần soóc, hoặc ít nhất cũng phải rửa chân để trông da nó bình thường.

Đến giờ đây, da tôi ngày càng tệ hơn. Lớp da chân tôi có lẽ giờ đã dày cộp như da trâu, sần sần sùi sùi, toàn sẹo là sẹo. Những mảng da trên 2 mu bàn chân tôi, trên phần cổ chân tôi giờ chẳng được một mẩu nhỏ mang dáng dấp bình thường. Ngày ngày, 2 mu bàn chân tôi lại mất đi từng mảng da, từng mảng da một. Một thói quen cố hữu mà nó đã ngấm vào tôi từ cái thuở còn bé tí, tôi gãi, tôi bóc những lớp da trên mu bàn chân tôi đi. Nó lại càng trở nên sần sùi, xấu xí. Sao lại vậy chứ, chẳng hiểu tôi bị cái thứ bệnh quái quỷ gì mà nửa người dưới của tôi lại chẳng được nguyên vẹn như con người ta vậy?

Đôi khi những lúc buồn, tôi lại chỉ muốn ứa nước mắt mỗi khi nhớ lại những lời mẹ nói: "Hồi sinh con trời lạnh lắm, mẹ sinh con đầu lòng nên chẳng có kinh nghiệm gì, rồi lại cứ nghe bà ngoại kêu trời lạnh nên không tắm cho con. Không hiểu có phải do vậy mà người con đâm bị ngứa thế này." Mẹ nói cứ như là một lời than trách chính bản thân, mẹ cứ cho là mình có lỗi trong việc tôi bị ngứa. Tôi thương mẹ tôi...

Tuy đã yêu một vài người con gái nhưng với M, tôi mới nói thẳng về những bệnh tật của mình. Tôi nói để cô ấy có thể biết, lường trước những khó chịu có thể xảy ra sau này nếu bọn tôi đi xa hơn với nhau. Mấy lần tôi hỏi M: "Trông da anh thế này em có thấy sợ không?". Cô ấy đã trả lời: "Không, em chẳng thấy sợ gì cả, em chỉ thấy thương anh thôi". Tôi cũng thương M...

Friday, April 21, 2006

IntelliJ IDEA Demetra build 5245 was released

A few minutes ago, JetBrains released IntelliJ IDEA Demetra build 5245. Here are changes in build 5245 from 5231

* UI Designer. Taking form snapshots from running application.
* UI Designer. Editing of additional border title properties.
* JavaScript. Property name completion.
* JavaScript. Highlighting of possibly unresolved references.
* JSF model highlighting.
* EJB. Interceptor intentions.
* EJB. Generate actions (Alt-Ins).
* Top bar for reporting file-level errors in editor.
* Other improvements and bugfixes.

At this time Dimitry didn't announce it yet but you can download from ITN web site. I will update detail changes later.

Update: Here is complete list of changes.

Update: Some changes I found in UI

Code coverage



Default Ant target menu (2 questions: Why only default target? Other target will be added?)

Sarah Connor

So hard to find a R&B singer has white skill, but Sarah Connor is a special one. Also she is really a hot girl.



Christmas In My Heart
Sarah Connor

verse 1
Every time we say goodbye
There's something breaking deep inside
I tried to hide my feelings to keep myself controlled
But somehow I can't deny what's deep inside my soul

I've been always on the run
So many different places, having fun
But like a river always knows just where to flow
Now that December comes I feel like coming home

chorus
It's Christmas in my heart
When I'm with you
No matter where we are or what we do

Tomorrow may be grey
We may be torn apart
But if you stay tonight
It's Christmas in my heart

verse 2
I don't know how to stay alive
Without your touch without you by my side
Just like the desert's always waiting for the rain
Oh baby, I wish the holy night would come again

chorus

Everywhere I go and everyone I know
Is making lots of wishes for old Santa Claus
But all I really need tonight
Is for you to come and hold me tight
What is Christmas without you here by my side
I need you tonight

chorus

Dự án nào thì dự án

Dự án mà tôi đang ôm ấp có 2 module chính: một desktop application và một web application. Chức năng của 2 module về cơ bản là giống nhau, tất nhiên là module web sẽ không thể thực hiện được đầy đủ tất cả các chức năng của module desktop.

Qua dự án này tôi hy vọng sẽ học hỏi được thêm một số kiến thức sau:

   + Biết cách lên kế hoạch và sắp xếp các công việc theo từng giai đoạn
   + Biết cách tự tìm hiểu và sử dụng các thư viện có sẵn
   + Biết cách phát triển ứng dụng desktop (một phần mà tôi rất ít khi sờ tới từ trước đến nay)
   + Biết cách sử dụng tốt Subversion để quản lý phiên bản
   + Biết cách sử dụng IntelliJ IDEA thành thạo
   + Và tất nhiên là còn nhiều thứ khác nữa

Cũng nói thêm là về ý tưởng, dự án tôi đang dự định phát triển cũng chẳng có gì là mới mẻ. Có lẽ cái mới mẻ hơn là tôi phát triển + kết hợp 2 module web và desktop thành một sản phẩm thay vì riêng rẽ như những người khác.

Sunday, April 16, 2006

How to stop Subversion while it's running in daemon mode

I start Subversion on Fedora Core 5 by using "svnserve -d -r /path/to/repos", it works fine. But how to stop it, maybe when I typed a wrong path?

Follows these steps:

+ At terminal console, type "ps auxww | fgrep svnserve" (without quotes) then Enter
+ You will see something like this:

t800t8 3072 0.0 0.0 9472 872 ? Ss 22:25 0:00
svnserve -d -r ~Works/SVN/repos
t800t8 3421 0.0 0.0 3884 556 pts/2 S+ 22:50 0:00
fgrep svnserve

You will have the process id to kill (in this situation, 3072)
+ Kill Subversion by: kill <process id>

In the worst case, try to use: kill -9 <process id>

Do you want to use Yahoo! Mail Beta?

Just follows these steps:

+ Login to your Yahoo! Mail account
+ Click Options (it's near the top right corner of your browser window)
+ Click Account information in the left menu
+ Enter your password to login
+ In Member Information area, click Edit
+ In General Preferences, click "Yahoo! U.S" or something like that (in
Preferred Content item)
+ Change New Setting to "Yahoo! United Kingdom"
+ Click Finished, then "I accepted" then Finished
+ When you login back, you will be asked to accept using Yahoo! Mail
beta or not, click Try Beta now



Yahoo! Mail beta interface

And maybe you will ask me why I don't use GMail, this is my anwser: I prefer to use Yahoo! Mail at this time 'cause its interface looks clearer than GMail's interface, also I don't use GTalk and GCalendar.

If you want to use Yahoo! Mail Beta, there is another way to get it: http://surveylink.yahoo.com/wix/p0473306.aspx

Saturday, April 15, 2006

How to use JDK on Fedora 5 while SELinux is enable

When I try to use JDK 6 (javac or java) on Fedora 5 while SELinux is enable (with default settings) I got an error message

dl failure on line 685Error: failed
/usr/java/jdk1.6.0/jre/lib/i386/client/libjvm.so, because
/usr/java/jdk1.6.0/jre/lib/i386/client/libjvm.so: cannot restore
segment prot after reloc: Permission denied

I tried to turn off SELinux and I can use JDK fine. But it has another way to use JDK while SELinux is enabled. Please follow these steps:

+ Goto System | Administration | Security Level and Firewall, enter
root password if need
+ Click tab SELinux (SELinux Setting value is Enforcing)
+ Click Modify SELinux Policy
+ Click Compatibility
+ Check in "Allow the use of shared libraries with Text Relocation"
+ Press OK

Báo cho cu Thắng một câu là anh chạy SVN trên Fedora ngon (với svn://) mà chẳng cần cấu hình đếch gì cả.

Friday, April 14, 2006

JetBrains released IntelliJ IDEA Demetra build 5231

Here the change list in build 5231 from build 8218

* Team Server integration plugin bundled.
* JUnit. Rerun failed tests.
* OpenAPI. Optimize Imports API.
* OpenAPI. Ctrl+mouse popup API.
* OpenAPI. Asynchronous action update.
* UI Designer. New actions: Morph Component, Flatten.
* UI Designer. Inspection to highlight assignments to UI-bound
fields.
* UI Designer. Possibility to move and resize components from
keyboard.
* UI Designer. Possibility to move and resize components from
keyboard.
* XML. Syntax validation for regular expressions in XML schema
* Configuration. Keymap UI redesigned.
* UI. Ctrl-Shift-I and Ctrl-Q in Import Class, Override/Implement
and other popups.
* Other improvements and bugfixes.

See detail change list here.

Keymap UI redesigned.


Team Server integration plugin bundled.


I've just finished to install Fedora 5. It's really attractive. When I installed SuSE 10.0, I had a little trouble when configuring wireless network. But it does not happen in Fedora 5. I only need to download firmware for my wireless adapter and then install it.

Update: I can't found "TeamServer login" link on the toolbar when I run IDEA on Fedora 5.
Update: "TeamServer login" link only appears when you open a project. My fault :-D

The Red Hat


See more here: http://www.madyiordache.com/TheRedHat.htm

I'm preparing to intall Fedora 5 and here is my guide: http://stanton-finley.net/fedora_core_5_installation_notes.html

Fedora 5 or SuSE 10.1?

At current time, I'm downloading Fedora 5 DVD edition. It's 3.03GB but only needs about over 4 hours to finish downloading it. I installed Redhat 8 long time ago so I want to give Fedora 5 a try.

If you're a experience Linux man, can you give me a suggestion about which distro you prefer? Fedora or SuSE? Or another one?

Need a cover for your Fedora 5 CDs/DVDs? Get them here: http://booth.zapto.org/~foxkm/FC5/

Tôi lên kế hoạch

Trong những ngày này, tôi đang viết bản kế hoạch cho dự án đầu tay của mình. Đây cũng là một cách để thay đổi cách làm việc từ trước đến nay của tôi. Bắt đầu sẽ ko phải là cắm đầu vào suy nghĩ về cách coding mà sẽ là một kế hoạch cụ thể với những mục tiêu rõ ràng, các giai đoạn thực hiện cùng các nguyên tắc cần tuân theo trong qúa trình thực hiện dự án.

Tại thời điểm này, tôi chưa thể tiết lộ bất cứ thông tin gì liên quan đến dự án ở đây, ngoại trừ việc tôi có định hướng nó là một dự án mã nguồn mở miễn phí.

Do là dự án đầu tay, bản thân cũng thiếu nhiều kinh ngiệm và kiến thức, tôi không đặt nặng vấn đề về thời gian hoàn thành dự án. Nhưng tất nhiên sẽ có một lịch trình cụ thể mà tôi hy vọng rằng mình sẽ có thể thực hiện đúng theo nó.

Sẽ còn rất nhiều việc phải làm.

Tin tức: Muộn 1 ngày so với lịch trình, SuSE 10.1 RC1 đã được đưa ra cho người dùng download vào hôm qua. Hy vọng rằng SuSE 10.1 final sẽ xuất hiện trên máy của tôi vào ngày 27/5 tới.

Thursday, April 13, 2006

How to reduce memory when Firefox is minimize

Firefox eats the memory too much if you run it in a long time. As I checked it ate over 100MB RAM when I run it in a few hours, near a half of VS 2005 in the same time. Suck!

Following these steps you'll reduce the memory Firefox needs when it's minimze:

1. With Firefox up and running, type about:config and hit enter.
2. Right click on the new page and select New -> Boolean.
3. In the pop-up window, type in "config.trim_on_minimize" without
quotes and hit enter.
4. In the next pop-up window, select True and hit enter.
5. Restart your browser

Wednesday, April 12, 2006

Yahoo! Mail suck

In these days, I usually meet this error message when working in my Yahoo! Mail account.
There was a problem accessing your account.

We recommend clicking the "Refresh" or "Reload" button on your browser's
toolbar. If this doesn't correct the problem, re-login to your account.
If the problem persists, click here to send us a report.

We sincerely apologize for the inconvenience and thank you for your
patience.

Tuesday, April 11, 2006

Một ý tưởng đã chết, hai ý tưởng nảy ra

Vừa update lên Subversion 1.3.1 và TortoiseSVN 1.3.3. Đẩy ngay dự án đang làm lên Subversion để chuẩn bị cho cái đống thêm thắt kia.

Ý tưởng trước đây mình hình dung ra đã ko thể có cơ hội thực hiện. Một phần là bản thân nhưng cũng ko kém phần quan trọng đó là tính mở của yếu tố kia.

Giờ lại nảy sinh ra 2 ý tưởng khác. Một trung hạn cố gắng thực hiện trong vòng từ 6 đến 8 tháng tới. Một dài hạn mà để thực hiện nó ít cũng phải vài năm.

Lần mò từng bước nào!

Not new news

JetBrains released IntelliJ IDEA 5.1.1 yesterday. It's only bug fixed release of v5.1 and a little performance improvements.

You can download it here: http://www.jetbrains.com/idea/download/

Monday, April 10, 2006

The Ballad Album


Def Leppard's The Ballad Album is really BALLAD. Try it and like it!



Too Late For Love
Love Bites
Miss You In A Heartbeat
Tonight
Long Long Way To Go
Let Me Be The One
Two Steps Behind
Bringin' On The Heartbreak
When Love And Hate Collide (Piano Version)
Where Does Love Go When It Dies
Unbelievable
Blood Runs Cold
Never Say Goodbye
Breathe A Sigh
Have You Ever Needed Someone So Bad
You Can't Always Get What You Want (Bonus Track)

Sunday, April 09, 2006

Untitled




Untitled
Simple Plan

I open my eyes
I try to see but I'm blinded by the white light
I can't remember how
I can't remember why
I'm lying here tonight
And I can't stand the pain
And I can't make it go away
No I can't stand the pain

Chorus:
How could this happen to me
I've made my mistakes
got nowhere to run
the night goes on
As I'm fading away
I'm sick of this life
I just wanna scream
How could this happen to me

Everybody's screaming
I try to make a sound but no one hears me
I'm slipping off the edge
I'm hanging by a thread
I wanna start this over again

So I try to hold onto a time when nothing mattered
And I can't explain what happened
And I can't erase the things that I've done
No I can't

How could this happen to me
I've made my mistakes
got nowhere to run
the night goes on
As I'm fading away
I'm sick of this life
I just wanna scream
How could this happen to me

I've made my mistakes
got nowhere to run
the night goes on
As I'm fading away
I'm sick of this life
I just wanna scream
How could this happen to me

Friday, April 07, 2006

Add Catch Clause(s) inspection bug

See it here: http://www.jetbrains.net/jira/browse/IDEA-7359

Changed blog's template

I embedded Gabbly's chat window into my homepage. No need to click on the link anymore. :-)

IntelliJ IDEA Demetra build 5218 is released

Yesterday midnight, JetBrains released Demetra build 5218.

Here is changes in this build from build 5201:

* JUnit. JUnit 4 support.
* Run/Debug. New user interface for editing run configurations.
* Run/Debug. Possibility to store run configurations in project file.
* UI Designer. Support for custom component creation code.
* UI Designer. Support for client properties.
* EJB3.0 Persistence Mapping generation by Database Schema
* JavaScript. Intention to add JS variable / property
* Other improvements and bugfixes.

For complete change list, see here

As I saw, IDEA's UI has some changes:

+ No more tab in Run/Debug Configurations


+ Thinner view combo box


In these days, IDEA community is discussing about IDEA's plugin problem and related problems when they come from free plugins to commercial. You can check it out here and here

Một thông tin cho Định: Định có thể xài IDEA mà ko cần lo về vấn đề bản quyền nếu dùng EAP license, chỉ mất công thay đổi mỗi khi nó expire thôi, nhiều người cũng vậy. ;-)

Tuesday, April 04, 2006

Auto-jump and auto-filter in IDEA

When you have a list in IDEA (like plugin list), you can enter some characters on this list (not in any text box or combo box), the cursor will jump to nearest match item.


When you want to create new class, interface, GUI form,... try to open Project pane, press Alt + Insert, you will get the list (as in the picture).


The list is too long? No problem, try to enter some characters, you will see what is auto-filter.

Tapestry will support testing by using TestNG

Howard is in progress to make a small library that will support testing Tapestry applications by using TestNG. Check it out: http://howardlewisship.com/tapestry-javaforge/tapestry-testng/

Xzajo will published his TestNG plugin for NetBeans. Please wait...

Another news, JetBrains released Irida build 4188. It's released candidate 1 for version 5.1.1

Monday, April 03, 2006

TestNG 4.7 is released

After one month when TestNG 4.6.1 was published, yesterday TestNG team is released version 4.7. Also TestNG team updated TestNG plugin for Eclipse to version 4.7.0.0.

Cedric will post change log in his annoucement of version 4.7 and I will update it here later.

Download TestNG 4.7 here: http://testng.org/testng-4.7.zip

Waiting for Mark update TestNG plugin for IDEA...

Update: Changes log in version 4.7

Added: Maven 2 plug-in
Fixed: Message formattings in TestNG assertion utility class
Fixed: @Factory methods were counted as @Test as well
http://jira.opensymphony.com/browse/TESTNG-51
Fixed: All DataProvider parameters were shown in the HTML report
Fixed: Bug in testng-failed.xml generation
Fixed: bug when using a jar file to load the test classes
Added: alwaysRun for before @Configuration methods
http://jira.opensymphony.com/browse/TESTNG-35
Fixed: groupless @Configurations were not invoked if a method depends
on a group
http://jira.opensymphony.com/browse/TESTNG-45
Added: beforeGroups/afterGroups to @Configuration

Eclipse plugin:

Added: last contextual launch is available in Eclipse launcher lists
Fixed: 3.2M5 integration (removed dependency on non-existing class)
Fixed: testng-failures.xml generation

Sunday, April 02, 2006

Tuyệt vời MU!

Đêm qua về đến nhà bật TV xem vừa kịp bàn nâng tỷ số và cũng là bàn thắng ấn định chiến thắng 2-1 của Van Nistelrooy cho MU trong trận đấu với Bolton. Giờ khoảng cách chỉ còn 7 điểm, mặc dù cơ hội ko có nhiều nhưng cứ hy vọng đi đã.


Phải thành thực mà nói vào thời điểm hiện giờ, MU ko còn là đội bóng hùng mạnh như cách đây 5, 6 năm. Đã có những lúc cảm thấy buồn, thất vọng nhưng sự yêu thích của mình với MU chưa bao giờ thay đổi.

Hãy tiến lên nào MU!

She




She
Elvis Costello

She may be the face I can't forget
The trace of pleasure or regret
Maybe my treasure or the price I have to pay
She may be the song that summer sings
May be the chill that autumn brings
May be a hundred different things
Within the measure of a day

She may be the beauty or the beast
May be the famine or the feast
May turn each day into a Heaven or a Hell
She may be the mirror of my dreams
A smile reflected in a stream
She may not be what she may seem
Inside her shell....

She, who always seems so happy in a crowd
Whose eyes can be so private and so proud
No one's allowed to see them when they cry
She maybe the love that cannot hope to last
May come to me from shadows in the past
That I remember 'till the day I die

She maybe the reason I survive
The why and wherefore I'm alive
The one I care for through the rough and ready years

Me, I'll take the laughter and her tears
And make them all my souvenirs
For where she goes I've got to be
The meaning of my life is
She....She
Oh, she....