Tiền! (via Gào’s blog)

Tiền! Có những lúc như bây giờ, tôi cảm thấy rất rối. Không biết phải làm việc gì trước vì gì sau, mọi việc vì thế mà cứ chồng chéo lên nhau, khiến cho bản thân tôi cảm thấy rất nhiều mệt mỏi. Thế là mọi thứ đều không thuận lợi. Bỗng dưng tôi trở nên chán nản và muốn buông xuôi. Lười biếng ngồi nhìn ánh nắng xuyên qua từng ô cửa kính. Như một con mèo con nhàn rỗi, tôi thu mình trong chăn, nhìn ngắm căn nhà trống và chẳng làm gì cả…. Trong khi trên th … Read More

via Gào's blog

Như chờ tình đến rồi hãy yêu…

Bởi mọi thứ đều có thời điểm riêng của mình. B-)

Sáng nay tôi nhìn thấy em ở ngã tư. Đèn đỏ còn sáng và đồng hồ đang đếm ngược. Ba mươi chín giây. Em đang vội, chiếc xe đạp điện màu đỏ cứ nhích dần lên. Không chỉ mình em, nhiều người khác cũng vội. Những chiếc xe máy cứ nhích dần lên, nhích dần lên… Sống là không chờ đợi. Dù chỉ mấy mươi giây. Tôi nhớ có một hôm nào đó, em đã nói với tôi rằng đấy là một triết lý hay, ta phải tranh thủ sống đến từng giây của cuộc đời. Nhưng em biết không, đừng v … Read More

via Võ Văn Hải’s blog

connect sql server to netbeans services

Refer

http://www.netbeans.org/kb/55/using-netbeans/dbconn.html

-Enable TCP/IP protocol. Select Microsoft SQL Server 2005>Configuration Tools>SQL Server Configuration Manager. In the SQL Server Configuration Manager select the node SQL Server 2005 Network Configuration>Protocols for SQLEXPRESS. Right-click on the TCP/IP node and select Enable. Restart the SQL Server (SQLEXPRESS) service. In Adminstrative Tools>Services, right-click on the SQL Server (SQLEXPRESS) service and select Restart.

-To configure a JDBC connection with SQL Server 2005 Express, add SQL Server 2005 JDBC driver JAR file <Microsoft SQL Server 2005 JDBC Driver>/sqljdbc_1.0/enu/sqljdbc.jar to classpath. <Microsoft SQL Server 2005 JDBC Driver> is the directory in which SQL Server 2005 JDBC Driver zip file is installed.

-Driver class for SQL Server 2005 database is com.microsoft.sqlserver.jdbc.SQLServerDriver.

-Connection URL for the default SQL Server 2005 database is jdbc:sqlserver://localhost:<port>.
In the connection URL, <port> is obtained from the SQL Server configuration Manager. When the SQL Server 2005 SQLEXPRESS is restarted the port number changes.
To obtain the <port> in the SQL Server Configuration Manager, select the node SQL Server 2005 Network Configuration>Protocols for SQLEXPRESS. Right-click on TCP/IP node and select Properties. Select the IP Addresses tab. In IP ALL, the TCP Dynamic Ports specifies the <port> value.

Trying to install Server 2008 Management Studio after first installing Visual Studio Product

got the whole day trying to install SQL Server 2008 Management Studio after first installing Visual Studio Product. It didn’t work when I many times followed the installation guide, error after error, I finally got it installed by this instruction:

The point is select “Perform a new installation of SQL Server 2008” on step 6.

(If you have already installed SQL Server 2008 Express with the Web Platform Installer)

As of March 4, 2010…

0. If you are using Server 2008, Install Windows PowerShell using these instructions: http://www.tech-recipes.com/rx/2521/windows_server_2008_install_windows_powershell/. Otherwise download and install it from here: http://technet.microsoft.com/en-ca/scriptcenter/dd772288.aspx
1. Download and run the SSME installer from http://www.microsoft.com/downloads/details.aspx?familyid=08e52ac2-1d62-45f6-9a4a-4b76a8564a2b&displaylang=en
2. Click Installation on the left side of the the wizard.
3. Select “New SQL Server stand-alone installation or add features to an existing installation“. Click OK.
4. On the Setup Support Files page, select Install.
5. On the Setup Support Rules page, click Next (the Windows Firewall warning is ok).
6. On the Installation Type page of the wizard, select “Perform a new installation of SQL Server 2008“, then click Next. (I realize that this is counter-intuitive, but if you select “Add features to an existing instance of SQL Server 2008″, you will be met with a greyed out pre-selected option to install the SQL Client Connectivity SDK, and you will not even see an option to install “Management Tools – Basic”.) You will see that SQLEXPRESS is recognized as an installed instance.
7. The Product Key screen is all greyed out with the “Specify a free edition” selected. Click Next.
8. Agree to the License Terms as usual. Click Next.
9. On the Feature Selection page, you will FINALLY have a blank checkbox next to “Management Tools – Basic”. Put a check in that box. SQL Client Connectivity SDK is selected and greyed out by default; so is the install location. Click Next.
10. Click Next on the Disk Space Requirements screen.
11. Check both boxes to send error info to Microsoft if you wish. I usually do so that they can make the product better. :-) Click Next.
12. Click Next on Installation Rules page if your system passed.
13. Click Install on the Ready to Install page.
14. Hopefully you will see a “Management Tools – Basic Success” message on the Installation Progress page of the wizard. Click Next.
15. You should see a “Your SQL Server 2008 installation completed successfully” message on the Complete page. Click Close.

I always like to reboot for good measure before and after installing any new software.

Hope this saves developers some headaches.

Cheers,
Rog

For more, follow this link.

If your product is Great, it doesn’t need to be Good.

By now, everyone is tired of hearing about the iPad, but the negative responses are so perfectly misguided that it would be wrong to waste this opportunity. Even better, we can look back at the 2001 iPod launch and see the exact same mistakes. But this isn’t about the iPad or the iPod — it’s about product design.
The most famous iPod review was from Slashdot, which simply declared, “No wireless. Less space than a nomad. Lame.” The iPad reviews are similar in that they focus on the “missing” features. Those missing features are typically available in a variety of unsuccessful competing products, which leads people to erroneously conclude that a successful product would necessarily have even more features!
I believe this “more features = better” mindset is at the root of the misjudgment, and is also the reason why so many otherwise smart people are bad at product design (e.g. most open source projects). If a MacBook with OSX and no keyboard were really the right product, then Microsoft would have already succeeded with their tablet computer years ago. Copying the mistakes of a failed product isn’t a great formula for success.
What’s the right approach to new products? Pick three key attributes or features, get those things very, very right, and then forget about everything else. Those three attributes define the fundamental essence and value of the product — the rest is noise. For example, the original iPod was: 1) small enough to fit in your pocket, 2) had enough storage to hold many hours of music and 3) easy to sync with your Mac (most hardware companies can’t make software, so I bet the others got this wrong). That’s it — no wireless, no ability to edit playlists on the device, no support for Ogg — nothing but the essentials, well executed.
We took a similar approach when launching Gmail. It was fast, stored all of your email (back when 4MB quotas were the norm), and had an innovative interface based on conversations and search. The secondary and tertiary features were minimal or absent. There was no “rich text” composer. The original address book was implemented in two days and did almost nothing (the engineer doing the work originally wanted to spend five days on it, but I talked him down to two since I never use that feature anyway). Of course those other features can be added or improved later on (and Gmail has certainly improved a lot since launch), but if the basic product isn’t compelling, adding more features won’t save it.
By focusing on only a few core features in the first version, you are forced to find the true essence and value of the product. If your product needs “everything” in order to be good, then it’s probably not very innovative (though it might be a nice upgrade to an existing product). Put another way, if your product is great, it doesn’t need to be good.
So where does this leave the iPad, with it’s lack of process managers, file managers, window managers, and all the other “missing” junk? I’m not sure, but one thing I’ve noticed is that I spend more time browsing the web from my iPhone than from my laptop. I’m not entirely sure why, but part of it is the simplicity. My iPhone is ready to use in under 1/2 second, while my laptop always takes at least a few seconds to wake up, and then there’s a bunch of stuff going on that distracts me. The iPhone is a simple appliance that I use without a second thought, but my laptop feels like a complex machine that causes me to pause and consider if it’s worth the effort right now. The downside of the iPhone is that it’s small and slow (though the smallness is certainly a feature as well). That alone guarantees that I’ll buy one to leave sitting next to the couch, but I’m kind of atypical.
Ultimately, the real value of this device will be in the new things that people do once they have a fast, simple, and sharable internet window sitting around. At home we’ll casually browse the web, share photos (in person), and play board games (Bret’s idea — very compelling). At the office, maybe we’ll finally have an easy way of chatting with remote people while discussing a presentation or document (e.g. audio iChat with a shared display). Of course these things are theoretically possible with laptops, but it always ends up being so clumsy and complicated that we don’t bother (or give up after trying once).
Making the iPad successful is Apple’s problem though, not yours. If you’re creating a new product, what are the three (or fewer) key features that will make it so great that you can cut or half-ass everything else? Are you focusing at least 80% of your effort on getting those three things right?
Disclaimer: This advice probably only applies to consumer products (ones where the purchaser is also the user — this includes some business products). For markets that have purchasing processes with long lists of feature requirements, you should probably just crank out as many features as possible and not waste time on simplicity or usability.

Great speech: Adrian Tan on Life and How To Survive It

This convo speech by Adrian Tan, a Singapore lawyer, is becomingviral online. Reposted here as a record of what makes a great speech.

Life and How to Survive It

I must say thank you to the faculty and staff of the Wee Kim Wee School of Communication and Information for inviting me to give your convocation address. It’s a wonderful honour and a privilege for me to speak here for ten minutes without fear of contradiction, defamation or retaliation. I say this as a Singaporean and more so as a husband.

My wife is a wonderful person and perfect in every way except one. She is the editor of a magazine. She corrects people for a living. She has honed her expert skills over a quarter of a century, mostly by practising at home during conversations between her and me.

On the other hand, I am a litigator. Essentially, I spend my day telling people how wrong they are. I make my living being disagreeable.

Nevertheless, there is perfect harmony in our matrimonial home. That is because when an editor and a litigator have an argument, the one who triumphs is always the wife.

And so I want to start by giving one piece of advice to the men: when you’ve already won her heart, you don’t need to win every argument.

Marriage is considered one milestone of life. Some of you may already be married. Some of you may never be married. Some of you will be married. Some of you will enjoy the experience so much, you will be married many, many times. Good for you.

The next big milestone in your life is today: your graduation. The end of education. You’re done learning.

You’ve probably been told the big lie that “Learning is a lifelong process” and that therefore you will continue studying and taking masters’ degrees and doctorates and professorships and so on. You know the sort of people who tell you that? Teachers. Don’t you think there is some measure of conflict of interest? They are in the business of learning, after all. Where would they be without you? They need you to be repeat customers.

The good news is that they’re wrong.

The bad news is that you don’t need further education because your entire life is over. It is gone. That may come as a shock to some of you. You’re in your teens or early twenties. People may tell you that you will live to be 70, 80, 90 years old. That is your life expectancy.

I love that term: life expectancy. We all understand the term to mean
the average life span of a group of people. But I’m here to talk about a bigger idea, which is what you expect from your life.

You may be very happy to know that Singapore is currently ranked as the country with the third highest life expectancy. We are behind Andorra and Japan, and tied with San Marino. It seems quite clear why people in those countries, and ours, live so long. We share one thing in common: our football teams are all hopeless. There’s very little danger of any of our citizens having their pulses raised by watching us play in the World Cup. Spectators are more likely to be lulled into a gentle and
restful nap.

Singaporeans have a life expectancy of 81.8 years. Singapore men live to an average of 79.21 years, while Singapore women live more than five years longer, probably to take into account the additional time they need to spend in the bathroom.

So here you are, in your twenties, thinking that you’ll have another 40 years to go. Four decades in which to live long and prosper.

Bad news. Read the papers. There are people dropping dead when they’re 50, 40, 30 years old. Or quite possibly just after finishing their convocation. They would be very disappointed that they didn’t meet their life expectancy.

I’m here to tell you this. Forget about your life expectancy.

After all, it’s calculated based on an average. And you never, ever want to expect being average.

Revisit those expectations. You might be looking forward to working, falling in love, marrying, raising a family. You are told that, as graduates, you should expect to find a job paying so much, where your hours are so much, where your responsibilities are so much.

That is what is expected of you. And if you live up to it, it will be an awful waste.

If you expect that, you will be limiting yourself. You will be living your life according to boundaries set by average people. I have nothing against average people. But no one should aspire to be them. And you don’t need years of education by the best minds in Singapore to prepare you to be average.

What you should prepare for is mess. Life’s a mess. You are not entitled to expect anything from it. Life is not fair. Everything does not balance out in the end. Life happens, and you have no control over it. Good and bad things happen to you day by day, hour by hour, moment by moment. Your degree is a poor armour against fate.

Don’t expect anything. Erase all life expectancies. Just live. Your life is over as of today. At this point in time, you have grown as tall as you will ever be, you are physically the fittest you will ever be in your entire life and you are probably looking the best that you will ever look. This is as good as it gets. It is all downhill from here. Or up. No one knows.

What does this mean for you? It is good that your life is over.

Since your life is over, you are free. Let me tell you the many wonderful things that you can do when you are free.

The most important is this: do not work.

Work is anything that you are compelled to do. By its very nature, it is undesirable.

Work kills. The Japanese have a term “Karoshi”, which means death from overwork. That’s the most dramatic form of how work can kill. But it can also kill you in more subtle ways. If you work, then day by day, bit by bit, your soul is chipped away, disintegrating until there’s nothing left. A rock has been ground into sand and dust.

There’s a common misconception that work is necessary. You will meet people working at miserable jobs. They tell you they are “making a living”. No, they’re not. They’re dying, frittering away their fast-extinguishing lives doing things which are, at best, meaningless and, at worst, harmful.

People will tell you that work ennobles you, that work lends you a certain dignity. Work makes you free. The slogan “Arbeit macht frei” was placed at the entrances to a number of Nazi concentration camps. Utter nonsense.

Do not waste the vast majority of your life doing something you hate so that you can spend the small remainder sliver of your life in modest comfort. You may never reach that end anyway.

Resist the temptation to get a job. Instead, play. Find something you enjoy doing. Do it. Over and over again. You will become good at it for two reasons: you like it, and you do it often. Soon, that will have value in itself.

I like arguing, and I love language. So, I became a litigator. I enjoy it and I would do it for free. If I didn’t do that, I would’ve been in some other type of work that still involved writing fiction – probably a sports journalist.

So what should you do? You will find your own niche. I don’t imagine you will need to look very hard. By this time in your life, you will have a very good idea of what you will want to do. In fact, I’ll go further and say the ideal situation would be that you will not be able to stop yourself pursuing your passions. By this time you should know what your obsessions are. If you enjoy showing off your knowledge and feeling superior, you might become a teacher.

Find that pursuit that will energise you, consume you, become an obsession. Each day, you must rise with a restless enthusiasm. If you don’t, you are working.

Most of you will end up in activities which involve communication. To those of you I have a second message: be wary of the truth.

I’m not asking you to speak it, or write it, for there are times when it is dangerous or impossible to do those things. The truth has a great capacity to offend and injure, and you will find that the closer you are to someone, the more care you must take to disguise or even conceal the truth. Often, there is great virtue in being evasive, or equivocating. There is also great skill. Any child can blurt out the truth, without thought to the consequences. It takes great maturity to appreciate the value of silence.

In order to be wary of the truth, you must first know it. That requires great frankness to yourself. Never fool the person in the mirror.

I have told you that your life is over, that you should not work, and that you should avoid telling the truth. I now say this to you: be hated.

It’s not as easy as it sounds. Do you know anyone who hates you? Yet every great figure who has contributed to the human race has been hated, not just by one person, but often by a great many.

That hatred is so strong it has caused those great figures to be shunned, abused, murdered and in one famous instance, nailed to a cross.

One does not have to be evil to be hated. In fact, it’s often the case that one is hated precisely because one is trying to do right by one’s own convictions. It is far too easy to be liked, one merely has to be accommodating and hold no strong convictions. Then one will gravitate towards the centre and settle into the average. That cannot be your role. There are a great many bad people in the world, and if you are not offending them, you must be bad yourself. Popularity is a sure sign that you are doing something wrong.

The other side of the coin is this: fall in love.

I didn’t say “be loved”. That requires too much compromise. If one changes one’s looks, personality and values, one can be loved by anyone.

Rather, I exhort you to love another human being. It may seem odd for me to tell you this. You may expect it to happen naturally, without deliberation. That is false. Modern society is anti-love. We’ve taken a microscope to everyone to bring out their flaws and shortcomings. It far easier to find a reason not to love someone, than otherwise. Rejection requires only one reason. Love requires complete acceptance. It is hard work – the only kind of work that I find palatable.

Loving someone has great benefits. There is admiration, learning, attraction and something which, for the want of a better word, we call happiness. In loving someone, we become inspired to better ourselves in every way. We learn the truth worthlessness of material things. We celebrate being human. Loving is good for the soul.

Loving someone is therefore very important, and it is also important to choose the right person. Despite popular culture, love doesn’t happen by chance, at first sight, across a crowded dance floor. It grows slowly, sinking roots first before branching and blossoming. It is not a silly weed, but a mighty tree that weathers every storm.

You will find, that when you have someone to love, that the face is less important than the brain, and the body is less important than the heart. You will also find that it is no great tragedy if your love is not reciprocated. You are not doing it to be loved back. Its value is to inspire you.

Finally, you will find that there is no half-measure when it comes to loving someone. You either don’t, or you do with every cell in your body, completely and utterly, without reservation or apology. It consumes you, and you are reborn, all the better for it.

Don’t work. Avoid telling the truth. Be hated. Love someone.

You’re going to have a busy life. Thank goodness there’s no life expectancy.

from:  http://www.trinetizen.com

Tại sao bạn thích đọc báo lá cải?

Chúng ta tò mò đối với mọi chuyện, từ những chuyện tốt đẹp nhất đến những gì được cho là xấu xa nhất, mà phần lớn là những vụ xì-căng-đan như vụ một tay săn ảnh của tờ “Dialy Mirror” chộp được cảnh Kate Moss đang hít hêroin. Theo nhà tâm lí học Hélène Vecchiali thì việc hâm mộ đời tư của các sao lý giải một hiện tượng tâm lý kép. Một mặt, chúng ta muốn chìm vào một thế giới tưởng tượng, trong đó mọi người đều đẹp đẽ, giàu có, thông minh và chẳng có vấn đề gì. Cuộc sống của họ giúp ta xa rời cuộc sống thường nhật và tạo ra ảo tưởng rằng tất cả đều có thể xảy ra. Nhưng mặt khác, chính nhờ vào những tay săn ảnh mà chúng ta có thể thấy được mặt tối của các sao như việc họ cũng li dị, cũng gặp rắc rối với các loại chất gây nghiện, cũng có những điểm yếu và cũng có thể thất bại. Điều này khiến chúng ta tự tin hơn vào mình, khiến chúng ta nghĩ rằng các ngôi sao cũng như chúng ta và thậm chí họ cũng chẳng có gì hơn chúng ta.

Next Page »


:”>

M-- R------, you are my greatest weakness. You're ruining me, pulling me apart piece by piece, and you don't even realize it. I hope you read this. I hope you understand.

Long VuLong Vu

Twitter

Categories

RSS TuMBlr

  • An error has occurred; the feed is probably down. Try again later.

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1 other follower

Views

free counters

Follow

Get every new post delivered to your Inbox.