Uncategorized


I got a collection of pictures yesterday from a friend. I was a meeting that we had few weeks ago (ya, I was a bit late in updating the website..) with an important person. Normally I was the person who incharge of taking the pictures but this time around I was not that available. Kudos to Z (yes, just the initial) for taking a lot and good quality pictures. What trouble me is that the size of the image. It was taken using a canon dslr camera (if I remember it correctly). One image size is around 1.4 mb. The web server that we had can only support up to 500mb only. This is bad.

I google around and found that IrfanView is the best free software you can hope for. It has the capabilities to reduce the image size and still keep the aspect ratio. Furthermore you can do batch processing (Yay!). That solve all my trouble with the picture. After a while, our President YM me and suggest me to use Microsoft Office Picture Manager. Ya, for those who have MsO install, you can look it up under Ms Tool section. I never knew it was there :) )

So there you go, two image editor for your usage. It really bug me why isn’t my firefox spell checker didn’t fireup when I made a typo. Gosh, I need to do something here. Bye… (mnid teh splleing msitkae).

I’m trying to write my provisional report and remembered that I can use automatic table of content provided by Office. Did a bit of searching because 2007 is way different from 2003. This is the link that you can refer to:

http://office.microsoft.com/en-us/word/hp012253721033.aspx

I also found two website that talking how to make a good report format. Check it out:

http://techathand.net/2007/09/how-to-make-automatic-table-of-contents-for-microsoft-word/

http://www.beingmanan.com/wp/2009/01/5-simple-tips-to-make-a-good-looking-report-using-word-2007/

The PhD (taken from here)

It can be argued that you do job hunting (the subject of chapter 3) before you receive the PhD. However, the PhD is the prize you seek above all from your graduate experience. We therefore discuss it first.

(editors note: the numbering does indeed start at #7).

7. Finish your PhD as early as possible. Don’t feel that you need to create the greatest work that Western civilization ever saw. Five years from now the only thing that will matter is whether you finished. If you don’t finish, you are likely to join the ranks of “freeway flyers,” holding multiple part-time teaching jobs.

8. Be humble about your PhD. You don’t need to flaunt the degree. Everyone has one. Many of your colleagues, both in your institution and outside it, will be put off if you sign everything “Doctor” or “Jane Jones, PhD” In fact, the main use for Doctor is making reservations at a restaurant. When you call and ask for a table for four for Doctor Jones, you will get more respect and often better seating.

9. Remember that a PhD is primarily an indication of survivorship. Although the public at large may view your doctorate as a superb intellectual achievement and a reflection of brilliance, you probably know deep in your heart that it is not. It represents a lot of hard work on your part over a long period of time. You probably received help from one or more faculty to get over rough spots. Your family, be it parents or spouse, stayed with you over the vicissitudes of creating the dissertation. You stuck with it until it was done, unlike the ABDs (All But Dissertation), people who complete all the other requirements but bail out before they finish their dissertations.

10. A PhD is a certification of research ability based on a sample of 1. The PhD certifies that you are able to do quality research. Unlike the MD, which requires extensive work with patients followed by years of internship and residency, the PhD is based on a single sample, your dissertation. The people who sign your dissertation are making a large bet on your ability to do quality research again and again in the future.

11. A PhD is a license to reproduce and an obligation to maintain the quality of your intellectual descendants. Once you are a PhD, it is possible for you (assuming you are working in an academic department that offers a PhD program) to create new PhDs. Even if your department does not offer a PhD, you can be called upon to sit on PhD examining committees either in your own or in neighboring institutions. This is a serious responsibility because you are creating your intellectual descendants. Recognize that if you vote to pass someone who is marginal or worse, that PhD in turn is given the same privilege. If candidates are not up to standard, it is likely that some of their descendants will also not be. Unlike humans whose intergeneration time is 20 years, academic intergeneration times are 5 years or less. Furthermore, a single individual may supervise 50 or more PhDs over a 30-year career.

12. You must have the PhD in hand before you can move up the academic ladder. The world is full of ABDs. We talked about them briefly in Hint 9 and will again in Hint 161. ABDs may be much abler and more brilliant than you but they didn’t possess the stamina (or the circumstances) to finish the degree. In our judgment, being an ABD is the end of the academic line.

13. Be aware that the key danger point in any doctoral program is the one where you leave highly structured coursework (Phase 1) and enter the unstructured world of the qualification examination and the dissertation (Phase 2). Here are two strategies to help you navigate Phase 2:

1. Stay in touch with your professors, especially your adviser. One of us insists that students come in for a meeting each week, even if nothing happened. Just the fear of not being able to report anything stimulates the mind.
2. Meet regularly, ideally every week, for lunch or dinner or afternoon coffee, with two or three fellow graduate students who are also struggling with Phase 2. Compare notes and progress.

14. A special note for the part-time student working on the dissertation. Although all PhD students used to be on campus and often worked as teaching or research assistant part-time, in many fields today that attract midcareer students (for example, education) the norm is to work at an off-campus job full-time and on the PhD part-time. Others, such as computer science students, develop an idea for a start-up company (e.g., one of the founders of Google) and drift from full-time to part-time. We applaud part-time PhD students. This hint is addressed to these students.

If you are working on your PhD part time, you will find it difficult enough in Phase 1 to tell your boss that you can’t attend that nighttime budget crisis meeting or tell your spouse that you can’t go to your child’s soccer game because you must be in class. It is even more difficult when you’re in Phase 2 to tell him or her that you won’t be there because you must be home, in your study, staring at a black computer screen trying to get past writer’s block.

As a part-time student, you need to find ways (in addition to suggestions 1 and 2 in Hint 13) to be physically present on campus. You can do so in many ways, such as spending time writing in a library carrel (1). Physical presence is important psychologically. If you never visit campus and become caught up in your work and family activities, you face the danger that your uncompleted PhD program can begin to seem like something you used to do in a faraway time and place.

15. Avoid Watson’s Syndrome. Named by R.J. Gelles, this syndrome is a euphemism for procrastination (2). It involves doing everything possible to avoid completing work. It differs from writer’s block in that the sufferer substitutes real work that distracts from doing what is necessary for completing the dissertation or for advancing toward an academic career. The work may be outside or inside the university. Examples given by Gelles include:
* remodeling a house
* a never-ending literature review (after all, new papers are being published all the time and they must be
referenced)
* data paralysis-making seemingly infinite Statistical Analysis System (SAS) and Statistical Package for
Social Sciences (SPSS) runs
* perfectionism that doesn’t let you submit until you think it is perfect (and it never is perfect)

If you suffer from Watson’s Syndrome, finding a mentor (see Hint 5) who pushes you to finish will help you get done. For many, however, particularly those who always waited until the night before an examination to begin studying, the syndrome is professionally fatal.

16. Celebrate your PhD! When you hand in your signed dissertation and pay the last fee that the university exacts from you, go out and Celebrate! Celebrate! Celebrate! You’ve achieved something marvelous, and you are one of a very small number in the population who can say you are a PhD. A rough calculation shows that about 3 of 400 adults in the United States hold a PhD. Attaining a PhD is a big deal! Honor that.

A PhD, like life, is a journey. It marks the end of one stage and the beginning of what lies ahead. Don’t fail to appreciate the moment of your accomplishment. Yes, other big moments await you. But like almost every PhD, you never had a moment this big, and it will be a long time before you have another one that matches it.

Notes
1. The library is a large building filled with books and journals. It functions sort of like Google, but deeper.
2. This hint is based on R.J. Gelles, “Watson’s Syndrome,” Inside Higher Education, June 19, 2006, http://www.insidehighered.com/workplace/2006/06/19/gelles

Microsoft have launch their new decision engine name Bing. Look similar like Live search but with capabilities to help you make decision. You can catch bing at bing.com

Have a quick read on ZdNet and found link to Antivirus Pro. Another antivirus that claim to be one of the good one. What attract me is the lifetime software liciense. You don’t get that from the big player. Every year you need to renew your subscription. It’s not cheap in msia, unless you purchase the pirate version or the hack version. For those who believe that this antivirus will become an important player, I suggest that you buy it now. Check it out at http://www.antivirus-live-pro.com/index.html

Microsoft is releasing the beta version of VS2010 with .Net 4.0 framework. I just learn how to use VS2008 and DSL, now they are releasing the next version. Can’t they wait for five years or more to release new VS? It’s hard to keep up with the different interface, language and cost that come with it.

For those who like to try it, here is the link:

http://msdn.microsoft.com/en-us/vstudio/dd582936.aspx

I was reading my friend code’s (in understanding how she access her diagram) when I stumble upon vector. So thanks to google, these are the results (the one that I recommed other to read):

- http://www.javacoffeebreak.com/faq/faq0017.html
- http://www.roseindia.net/java/beginners/vectordemo.shtml
- http://leepoint.net/notes-java/data/collections/lists/vectors.html

I was reading a book that explain unit testing in C# using NUnit. It gives a good pointers on testing:

Properties of good test:
A – automatic
T – through
R – repeatable
I – independent
P – profesional

What to test:
Right – is the result right?
B – boundary condition
I – inverse relation
C – cross check result
E – error condition
P – performance

I was stuck in the partial class while trying to create a skeleton class from my diagram. It seem that you shouldn’t make the method inside the class to partial, only the class.

Here is the ref

I was populating my graph with the node from my DSL when I notice that some of the node have same name (although there belong to different actor). I was thinking to use the node name as key to my graph and obiviously it can’t anymore. I try to concat the actor name with the node name but stumble upon another problem. I look through the XML file (for the sample DSL) and came across an attribute name ID.

Ah, each node have a unique ID. I was strugling for three days on how I can get the element ID. At last I manage to do it. To think about it, it just so simple. Here is the code:

Let say your Domain Class name is Task.
You draw an object name t1.

id = t1.Id(); or
WriteLine(t1.Id.ToString());

Click here for link to MSDN.

I was doing my graph path and try to return list of path using string. It work fine but I was thinking of improving it using ArrayList. After a while I remember that I may have similar function as List method. In fact I did remember that it is much more simpler to use List. So I start to google around and found out that List is way better than ArrayList.

The (major) difference is List require less memory space than ArrayList but it is specific to a single type. With ArrayList, you can insert from int to string without problem (the problem will came when you want to display it :p)

Here are the references that I read:
+ http://www.geekinterview.com/talk/5520-what-is-difference-between-list-arraylist.html
+ http://bytes.com/groups/net-c/552160-difference-between-arraylist-list-object
+ http://blogs.msdn.com/joshwil/archive/2004/04/13/112598.aspx

Next Page »