Icecafe’s Weblog

Whatever we want…

New Bike

Posted by icecafe on February 1, 2009

Thông báo là hôm qua tớ vừa tậu một con xe đạp mới (GIANT Fusion DX GTS). Con xe đạp cũ đi cũng đã khoái rồi, nhưng nhân tiện được mua miễn phí nên mua luôn một con xe đắt gần bằng cái Future Neo ở nhà mình. Sáng nay tớ vừa đi thử với tốc độ 22 km/h từ nhà đến trường, tính gia thì tiết kiệm được 1/3 thời gian mà năng lượng bỏ gia thì cũng same same. Đúng là ở đây tiền nào của nấy.

Kiếm được cái ảnh trên Internet, upload lên đây vì chưa kịp chụp ảnh con xe thật. Con xe trong ảnh vẫn còn thua con xe của mình vì không được trang bị đồng hồ đo km/h :D.

fietsen5194

Advertisements

Posted in Uncategorized | Leave a Comment »

NXP and BeerProfessional bar

Posted by icecafe on January 31, 2009

Yesterday I had a visit in NXP, a semiconductor company at High Tech Campus, Eindhoven.  The campus is really large and nice. I was very impressive with the lab, the products and people here. Afterthat, we went to a bar to drink beer together. Exactly to the name, BeerProfessional, the bar has many kinds of beers. Here was the special one that I ordered, “Kwak” beer:

Kwak beer

Posted in Uncategorized | Leave a Comment »

TU/e number 1 worldwide in university-industry research

Posted by icecafe on January 29, 2009

Of the 350 best performing research universities worldwide, Eindhoven University of Technology creates comparatively the biggest scientific output in cooperation with the industry. In a ranking, set up by the Leiden Center for Science and Technology Studies (CWTS), TU/e is at the top with a score of 10.5 percent of the publications.

Photo: Bart van Overbeeke

TU/e is ‘naturally proud and happy’ with the position at the top of the list, spokesman for the administration Peter van Dam informs us. “This position confirms the unique, close R&D cooperation between TU/e and the high-tech business sector in Brainport Eindhoven and the rest of the Netherlands.”
In the fields of electrical engineering, physics and chemistry and chemical engineering in particular, TU/e boasts remarkably strong cooperation with the business community. Of the scientific publications in the area of electrical engineering alone, more than a quarter is realized in cooperation with enterprises. For physics this is 14.7 percent and for chemistry and chemical engineering it is 13.7 percent.

The study of the CWTS, which was conducted by Robert Thijsen, Thed van Leeuwen and Erik van Wijk, is the first one, say the researchers, to investigate which universities contribute the most to the scientific knowledge of companies. For their survey they minutely studied data from the Web of Science for the years 2002 thru 2006, checking all university-industry co-authored research publications. Web of Science collects the scientific publications of some 14,000 scientific journals.

Positions two, three and four in the ranking, which was published today, are occupied by three universities from Japan. Delft University of Technology is in fifth place, with a percentage of 8.3 percent. That brings Delft University to the second position in the list of European rankings. The Technical University of Denmark, a partner university of TU/e, occupies the third position in the European list.

The report may be downloaded from the CWTS.

(from TUE: http://w3.tue.nl/en/)

Posted in Uncategorized | Leave a Comment »

PDEng program

Posted by icecafe on January 27, 2009

I have already studied in the PDEng program for 4 months. So far, everything is good and I really like this program. There are many good friends and a lot of practical knowledge that I need to learn as well. Look at me (the last guy):

http://wwwooti.win.tue.nl/people/c2008.html

It is not bad, right? :D.

Posted in Study and research | Leave a Comment »

Mở lại blog đón xuân

Posted by icecafe on January 27, 2009

Sau một thời gian dài đóng cửa, phần vì bận phần vì hết Lust để viết, hôm nay hắn quyết định mở lại blog. Lý do chính chắc là vì muốn gửi tới gia đình, ngừời thân và bạn bè những lời chúc tốt đẹp nhất nhân dịp năm mới 2009. Tính ra thì cũng 4 năm rồi hắn không được đón tết ở nhà. Tất cả những gì hắn cảm nhận chỉ thông qua những lần điện thoại về nhà, chát chít và Internet. Tự nhiên hắn thấy nhớ quá, chẳng biết khi được đón tết ở nhà có được hào hứng như lúc này không, nhưng cảm giác lúc này “thèm” hơn bao giờ hết. Chẳng phải vì được “lì xì”, được quần áo mới, hay được đi chơi như hồi bé :D, đơn giản chỉ là được ở bên gia đình, người thân trong cái giờ phút chuyển giao sang năm mới, được tự mình gói bánh trưng cho gia đình,…

Năm nay, hắn vẫn đón tết ở Aachen. Có một điều khác là hắn không còn ở đó thường xuyên, hắn đã chuyển đến sống và học tập ở một thành phố mới, mà nếu nói chính xác hơn là một đất nước mới với những con người và bạn bè mới. May cho hắn là Eindhoven cũng không cách xa Aachen là mấy, chỉ 2h đi tầu là đã được ở bên em , được uống bia Đức và tán đủ chuyện với mấy ông bạn cũ :). So với những tết trước đây thì nhiều người đã tốt nghiệp về nước và đang có những công việc mới, có bác thì chuyển đi học tập và làm việc ở thành phố khác, đất nước khác và có cả nhiều gương mặt mới. Nhưng dù thế nào thì cái không khí đón tết vẫn vậy, vẫn tràn đầy tình cảm và xen lẫn những cảm xúc vui, buồn, nhớ của những sinh viên đón tết xa nhà.

Dài dòng một chút thế thôi. Nhân dịp năm mới xin gửi tới gia đình, người thân, và bạn bè lời chúc:

Sức khỏe, hạnh phúc, và thành công!!!

Posted in Misc | Tagged: | Leave a Comment »

Some tips to apply scholarship (from Internet)

Posted by icecafe on March 25, 2008

I. Things to Prepare Before Applying a Scholarship

Getting a scholarship for an overseas study is a competitive process. This is because many people like you want the scholarship, but not all can be awarded. The cholarship money is simply not enough to fund all at once. Also, the scholarship providers want to ensure that only the best, well prepared applicants are selected and so the money is spent rightly and efficiently to what it is intended for. So, you have to be a winner!

Lots of people have won scholarship. You hear this every time. But how have they done this good job? Are they luckier or more superior or intelligent than others? No, they are not! If you ask them about the winning secrets are, they may simply give you the following lists: things to prepare or consider before applying a scholarship.

Academic certificate and transcript
Soon after graduation, do not wait. Obtain your original academic certificate and transcript, and make some copies of them. You need to certify them and, remember, that people at university are some times going somewhere when you need their signatures. More importantly, you need to translate both your academic certificate and transcript. Check around, there maybe some people have done the same. This will ease the task. If not, they are yours anyway. When you are done, it is wise to get other people to see them. They may give you valuable inputs, even correcting misspelled course names. Again, you need signatures of dean and rector on the translated version of your academic certificate and record.

Research proposal
You need to decide earlier which study route you are going to undertake – course or research or both. If you prefer a course-based study, you do not need a proposal. But if you are going to do a research, you definitely need a research proposal.

Good research proposal require time and energy to construct. So it is always better to prepare it earlier. Basically, the proposal will not be much different to the one you have done previously in your research as part of your undergraduate study. This will include background, objective, problems or questions to answer, hypothesis, methodology, and references. These are the essences of a proposal.

When you are done with those basic requirements, ask suggestions from others. When the application is open, check if the scholarship provider requires a bit more to what you have prepared.

Letter from intended university and supervisors
Download application form from the university website and fill it before send it back to the university. The university will respond you and issue you with a letter of acceptance. You may indicate in the form that you will begin your study next year, waiting for a scholarship which you are now struggling for. Most likely they will issue you with a conditional acceptance. They will keep reissuing this until you succeed with your scholarship application.

While your are in the website, go to your targeted department or school to find your potential supervisor. Even, this needs to be done first before filling in a admission form. The reason you will not studying in this university unless you have got an academic staff willing to supervise you. So get their email address, and make contacts with them. In the first time, you just need to introduce yourself, mention your academic background and your research proposal, and ask if he/she is available to supervise you. If they are busy because there are many students already under their responsibilities, don’t panic. Ask him/her if they know people around there who are still able to take additional students.

The good with the letter from university and supervisor when you have them at hand is that you can attach them to your application form and present them to the interviewers. These letters will increase your chances of winning the scholarship because the interviewers will so impressed that you are better prepared and have taken more advanced steps compared to other candidates.

Family
For those who are married, this must not be overlooked. Not all scholarship providers allow you to bring family members (spouse and children) with you. The majority is yes, but you need to ensure whether additional funds for family members are available or not. If not, this means you have to be prepared to fund them yourself. Even if they do provide additional funds for family members, there are always cost to be funded using your own money. This is because the scholarship, usually, will only fund basic needs such living expenses, health insurance, health clearance before departure and visa. Other than these such as cost of transportation – international or domestic – are usually not covered and so funds for these have to be prepared.

More need to think if your spouse is working, especially if it is in a government institution or department. Will she be allowed to go with you or not? If, how are you going to overcome this. A discusion with spouse is needed here.

Work
If you are currently working, you need to check if your employer support you for a further study or not. If yes, it will allow you to go and may provide you with financial supports as well. Generally, government bodies support for human resource development of their employees and so this is not usually a problem for public servants. This is not the case for private enterprises, so many candidates working in these commercial bodies have had to maka a tough decision.

Health
Health status is another consideration for successfully obtaining a scholarship. Some people are fail or at least postponed to start their study because of health problems. So, if you intend to apply for a scholarship, keep practicing those healthy habits. Most scholarship providers will provide a health insurance to their awardees, but you need to make sure about what all this insurance covers. Does it cover dental and eyes-related health problems? If it not, then it is cheaper for example going to a dental practitioner or buying glasses here than there.

Driving license
It is advantageous to have a car there, not only to support your daily academic activities but also for your leisures. This is especially true if you are going there with your family members. But to do this, you need to have a valid license. Check with the scholarship or with experienced people whether a foreign license can be used in the intended country or not. This include different policies from one state to another. If students are allowed to use a foreign license, get one here or revalidate your old one. Obtaining a driving license there is expensive and time demanding.

So, these are things that you may prepare or consider before applying a scholarship. Remember that a good preparation equals to halfway through the whole process. Be prepared and win the scholarship!

Damry
University of Tadulako, Indonesia. He is an Australian Development Scholarship (ADS) alumni and can be reached at: damry_01@yahoo.com

II. Winning the Scholarship Award

Searching for and finding scholarships is only the first half of the process. You still need to apply for each scholarship you are trying to win. Applying for scholarships can be time consuming and takes dedication and motivation. But the thousands of dollars you could receive makes the effort worthwhile. Below are some hints to help you apply for and win scholarships.

Be proactive.No one is going to track you down to give you a scholarship; you need to do the legwork yourself. So when you find awards with eligibility criteria that you can meet, contact the provider and request a scholarship application packet. Whether you have to request the application via email, phone or by sending in a self-addressed stamped envelope, do it. There’s just no other way to get the ball rolling than to be proactive and assertive in requesting information for yourself.

Be timely.Almost all scholarship providers set deadlines, and you MUST adhere to them. Make sure you have all materials submitted before the deadline. If the scholarship deadline is approaching and you have not yet even received the application packet that you requested four weeks earlier, follow-up with the provider and request the application packet again. You do not want to miss a deadline, as most scholarship providers do not consider late applicants.

Be organized.Good organizational skills can really pay off – literally! Keep your applications ordered by deadline date and give yourself plenty of time to complete them and send them in well before the due date. Keep letters of recommendation and transcripts on hand so you don’t have to obtain new ones every time they are required for an application. Make copies of your completed applications before sending them in, and file them in folders labeled with the deadline date and the mailing address and phone number of the scholarship provider. Call before the deadline to see if your scholarship application was received. If it got lost in the mail, (the postal service is not perfect!) you still have an extra copy you can send in.

Be persistent.The scholarship search process doesn’t just happen overnight. You must be diligent about looking for new scholarships to apply for. Plan to spend several hours each month reviewing the scholarship programs with deadlines approaching, preparing application packets, and getting the applications in the mail on time. And then the cycle should begin again – finding scholarships, sending away for application information, and applying in an organized, timely manner.

Be positive.Finally, believe in yourself and in your chances of winning a scholarship. Hard work and time spent on the scholarship process will pay off eventually. Keep your chin up and think about how great the reward will be if you can land even one of the scholarships you’re trying for! After all, your education depends on it!

III. Top Ten Mistakes Made on Scholarship Applications

by Laura DiFiore at FreSch!.

How you can guarantee that your scholarship application will NOT win!

  1. Forget to include your name and/or address! You would be surprised how many students do not include their name or address on an application!
  2. Submit an incomplete application. Make sure you include all required references, photos, transcripts, and essays.
  3. Be rude or abusive to the judges. Telling the judges that they will burn in Hades if they don’t pick you, or that they are idiots because they don’t accept applications from students in your major, is a sure-fire way to guarantee you will NOT be considered for this application, and that the judges will tell all their judge friends how nasty you are.
  4. Submit a dirty application. Use a plate for your lunch, not your application. Don’t spill beer on your application!
  5. Apply when you do not meet their minimum requirements. If they require a minimum 3.0 GPA and you have a 1.2 GPA, don’t waste your time!
  6. Send it “postage due.” Oops!
  7. Mail the envelope but forget to put the application in it. Surprisingly common!
  8. Submit inappropriate supporting documentation, such as including a picture of you at age 6 months when the application asks for you to include a photo, or including a copy of your arrest record as a reference! (this really happened!)
  9. No one can read your application. The use of fancy, hard-to-read script typefaces on your essay, or handwriting that even a doctor would be ashamed of.
  10. Spelling errors! Even ONE spelling error can doom your application! Remember, if you do not take the time to spell-check your application, the judges won’t take the time to read it!

YES, I know that these seem like common-sense mistakes, ones that very few students would make… but these ARE the most common mistakes, made by 75% or MORE of all applicants! Last summer, I sat on a judging committee, and fully 96% of the applications contained THREE or more of the above errors. Why so many students make these mistakes is beyond me – but I hope after reading this, you will not be one of them!

IV. Scholarship Applications that Win!

by Bill Reynolds at FreSch!

Bill, whose son won 10 scholarships, shared seven excellent tips on how to make your scholarship application stand out. I liked his tips so much, I’ve given them their own page! Many thanks to Bill for sharing his experiences!

Tip #1. ATTENTION TO DEADLINES
Try and have your application arrive EARLY as possible, absolutely not after the deadline date! I like to send applications with a “return receipt requested” or “registered” to make sure they get there. I think that this also conveys a positive characteristic about the sender.

Tip #2 START YOUR APPLICATION WITH A “THANK YOU” COVER LETTER
Sample Packet Cover Letter

1111 WinOne Street
Pensacola, Fl 32503
9 September 1999

Mary Smith, President
Whatever Scholarship Committee
Orlando Central Parkway
Orlando, Florida (zip code)

Dear Ms. Smith,

This letter is an introduction of myself, (your name), and my desire to participate in the (whatever it is called) Scholarship Program. I have been accepted to (Name of your College) for the 1999 fall term.

I would like to thank you and the (whatever) Scholarship Committee for supporting college bound students with an opportunity for financial assistance through your scholarship program. Enclosed you will find my application form, high school transcript, ACT results, letters of recommendation, and other pertinent information. Again, thank you for your interest on my behalf and for the youth of our state.

Respectfully,

(your name)

Tip #3 ANSWER THE “MAIL”
While this seems obvious, you must construct your application to make it EASY for the committee to see that you have provided every thing that was required. I like to provide items in the order that they are listed in the application. If possible, do not mix items on the same page. In another tip I am going to tell you to add extra items that were not requested to give your application that something extra. However, DO NOT add extra items if you are specifically told not to add anything extra. This means that you can not follow directions if you add items when your are forbidden to do so.

Tip #4 ADD EXTRA ITEMS TO YOUR APPLICATION (if not forbidden).
This is where you get to be creative to find ways and things that present you in a positive light to the selection committee. Here are a few ideas to get you started:

1. Write a short essay on MY EDUCATION/CAREER GOALS. Try to keep to one page but no more than two.

2. Write a paragraph or two on how this scholarship award will help you reach your education/career goals.

3. My son’s guidance counselor gave him a paper that congratulated him on being in the top 10% of his class and acknowledged his hard work to get there. We included this because it put him in a “positive light” and his hard work at his academics was recognized.

4. Before my son reached his 18th birthday, he registered for the Military Draft as required for all males when they reach the age of 18. He received a letter from the draft board congratulating him for doing his civic duty prior to his 18th birthday. You guessed it, this was also one of our “extra items”. A lot of scholarship committee members have military backgrounds or see this as good citizenship for this applicant.

5. One of the best extra items is a letter of acceptance for admission to “any” college. If the scholarship application is not for a specific college, you will be able to use the award at “any” college. You do not have to use it at the college you used in your application. Later you can get more college acceptance letters and when your make your selection you can notify the scholarship award committee of where to send the award. Therefore, any letter of acceptance shows that your are serious but it does not “lock” you into using the award at that college.

These are just a few examples to get you thinking. I would limit my extras to three or four at the most. Too many and you “sour” your application. Again, MAKE SURE you are not forbidden to add extra items before you do so.

Be creative to find things that make you look good and share them with the committee.

Tip #5 PERSONALIZE LETTERS OF RECOMMENDATION
This is a tip that conveys you took the time to make this application special. When you have a letter of recommendation addressed to the specific organization or person that is administering the application process it says that you took the time and effort to make this letter “Special” for them. If all you have is a letter that starts “To Whom It May Concern”, it is better than nothing. But if you can personalize the letter it says you cared to send the very best.

SUB TIP #5a Offer to do the work for the writer of your letter of recommendation. For example, you want to apply to twenty scholarship programs. When you ask someone to write you “1” letter of recommendation they say sure. When you say you need twenty letters they say “sorry” I don’t have the time. Once they write you one letter, ask if you can put it on the computer so the TO ADDRESSEE can be personalized for each application and your writer only has to “sign their name twenty times”. Now your writer is happy to help you because you have done the work and make it easy for them to help you. If they have nice letter head, ask for blank copies to be used in this process.

SUB TIP #5b This is an “ADD EXTRA ITEM/s” when the application does not require a letter of recommendation.

SUB TIP #5c Try and get three to five letters of recommendation in your files. This will let you pick and choose which one or ones to send in for a specific application. I would never send more than three for an application unless the directions ask for more. I will cover some tips to give your recommendation writer in a later TIP.

TIP #6 – PROOF READ ALL MATERIALS and NEATNESS IS A MUST
When you write anything you must use correct grammar and spelling. If you have a problem in this area ask your English teacher to help you with proofreading your essay, cover letter, extra items you have included, and even letters of recommendation prepared by others. When there are hundreds or thousands of applications to review, correctness and neatness become the first screen out factor. Only when the “pile” is smaller does the content of your application start to become a factor in the selection process.

TIP # 7 – SUBMIT YOUR APPLICATION IN A CLEAR PLASTIC FOLDER
Now that your application is complete, the final “presentation” tip is to place all of your items in a clear plastic folder, with a slide locking binder. I like the cheap clear ones so that your “Thank You Cover Letter” (Tip #2) is on top. For that final “touch” I also like to include a wallet size picture of the student in the lower left side of your packet. The next item/s in you application packet are those required in the application (Tip #3 Answer the mail). Next I add any extra items (if not forbidden) and finally I place any letter(s) of recommendations.

If “extras” are forbidden, you should consider NOT using a plastic folder, however, this can be a judgement call on your part. Read the application carefully again regarding extras. Some judges feel the plastic folders “give them more work” (to remove the applications from the plastic folder) while others have no problem with it, even though they may forbid extras. I know, this can be confusing!

Your application packet is a great looking presentation of YOU, don’t mess it up by folding it to fit a small envelope. Use an 8X10 type envelope so your application arrives looking great. Consider sending it “Return Receipt Requested” so you know it arrived!

Posted in Study and research | Leave a Comment »

Hang on Fedora boot: Problem of starting sendmail service

Posted by icecafe on March 17, 2008

I. Problem description: 

when i changed the network setting for the ethernet. I figured that it hangs out at starting sendmail.

This is realted to domainname and hostname. While checking for sendmail service, if the system have unresolvable hostname and domainname it hangs up there.

I was having hostname: localhost, and domainname: localdomain. But i changed to my choice. so the system hangs up due to my unresovable host and domain name.

Once you face this problem, boot in the interactive mode, and give yes for all option other than “starting sendmail”. then go to network settings. Make sure you change the hostname to “localhost”, and domainname to “localdomain”. Also make sure the ip address and dns are correct. This setting is for home user.

If you are in a specific domain say “xyz.net”, then get the hostname from the admin and change this setting. Then save it and reboot in the regular way. that shd work. This is the right solution for that reason.
II. Solutions:

To disable sendmail from loading on startup you can do the following as root user.

1. Verify it’s running (Run level 5 is the one you really care about if you do graphical login)

$ chkconfig –list sendmail

2. Disable it

$ chkconfig sendmail off

3. Verify it’s turned off

$ chkconfig –list sendmail

OR:

Follow this to disable sendmail:

1.Get to the bootloader screen where you come to the Fedora Core 6 screen where you hit Enter and proceed and Linux starts booting up.

2.Select the menu and hit “a”.

3.Now hit spacebar and type “single” and hit “Enter”

4.Linux will boot up into and eventually give you something like bash#

5.Type chkconfig sendmail off and hit enter

6.Hit Ctrl + D till Linux reboots

< From Internet: http://www.linuxquestions.org/questions/fedora-35/fedora-core-6-halts-after-installation-and-restart-510248/&gt;

Posted in Linux & Open Sources | Leave a Comment »

Managing Services in Fedora

Posted by icecafe on March 17, 2008

Introduction

This guide is to show how to control services in Fedora Core linux. Explanations included are services, runlevels, setting services, and controlling services.


Service

A service (often called a daemon) is a specific application that runs in the background and is usually non-interactive. They can be used for anything, including hardware, network access, monitoring, logging, etc. All operating systems use some set of services to automate actions.


Runlevel

A runlevel is a mode of operation that is used to group certain sets of daemons based on some purpose or restricted use. For the Fedora/Redhat based Linux systems, the primary runlevels in Fedora are:

  • runlevel 1: Single-User Mode
  • runlevel 2: Multi-User Mode
  • runlevel 3: Multi-User Mode with Networking
  • runlevel 5: X11 (runlevel 3 + X Window System “the GUI”).

Typically most users run with the X-server in runlevel 5, and many servers without X-servers run in runlevel 3. Usually runlevel 1 has no services running.

To determine what runlevel you are using, run:

# /sbin/runlevel

To determing what runlevel your system will start at the next boot, run:

# cat /etc/inittab | grep :initdefault:
id:5:initdefault:

Similarily you can edit the file /etc/inittab and change the initdefault value at line ~18.

To switch runlevels, you can run the following, replace RUNLEVEL with the appropriate number (3, 5, etc.):

# /sbin/init RUNLEVEL

Note: When switching FROM runlevel 5 to another runlevel, you might accidentally kill your X-server and entire GUI. Always make sure you are at a text console (CTRL-ALT-F1,F2,F3,F4) before switching runlevels.

To force a runlevel at boot without modifying /etc/inittab, you pass a number to end of the kernel from the Grub menu. At boot, higlight the option you wish to boot and before hitting <Enter>, hit <E>. Go to the end of the kernel line and add a 3 or 5. Then hit <Enter> and boot (<B> to boot).


Enable/Disabling Services

Every service must be set to either be “On” (enabled) or “Off” (disabled) for every runlevel.

To see what services are enabled for each runlevel, run:

# /sbin/chkconfig --list

To control which services are enabled for a runlevel, run system-config-services in the GUI or ntsysv at the command line. (Previous Fedora releases may have serviceconf instead of system-config-services).

To manually enable a specific service use chkconfig. The following command turns crond daemon for both runlevel 3 *AND* 5.

# /sbin/chkconfig --level 35 crond on

The --level could be 1, 2, 3, 4, 5 or any combination of the numbers. The on option can also be off. Running man chkconfig is useful.


Controlling Services

Regardless of how a service is enabled a runlevel or if it is defaulted to “On” or “Off”, every service can be started or stopped and managed at runtime.

To see what services you have running run:

# /sbin/service --status-all

To individually control a single service, use service. For example:

# /sbin/service crond status
crond (pid 1604) is running...

The status option can be replace with start, stop, status, reload, restart and sometimes other options also. For example:

[root@charon ~]# service crond
Usage: /etc/init.d/crond {start|stop|status|reload|restart|condrestart}
[root@charon ~]# service crond stop
Stopping crond:                                            [  OK  ]
[root@charon ~]# service crond start
Starting crond:                                            [  OK  ]
[root@charon ~]# service crond restart
Stopping crond:                                            [  OK  ]
Starting crond:                                            [  OK  ]

All services located in the directory: /etc/init.d/ can be controlled this way. An alternate form of control would be:

# /etc/init.d/crond status

Virtually all of the above functionality. Is available through the GUI, using system-config-services. However there are times when problems with the GUI (X-server) may prevent you from controlling your services. Hence understanding the commands are very helpful.

< Mauriat Miranda (http://www.mjmwired.net/contact/) >

Posted in Linux & Open Sources | Leave a Comment »

Insert figures into LaTeX articles

Posted by icecafe on February 15, 2008

Inserting single figures into LaTeX articles

First off, you have to have some text in your file before you can include any diagrams without LaTeX complaining.Then you can insert a picture with something like:

\begin{figure}[htp]
\centering
\includegraphics{erptsqfit}
\caption{Transverse momentum distributions}\label{fig:erptsqfit}
\end{figure}
  • Fig.[fig:erptsqfit] is your basic picture. The [htp] command works like usual to tell LaTeX how to position the graphic in the text.
  • The placement specifier p lets the figure take up a full page without waiting until the end of the chapter
  • centering tells LaTeX to centre everything within the graphics environment.
  • includegraphics is your basic command to include a graphics object. (The bits in […] shown below are various options that can be omitted. In the curly brackets is the name of the file you want included.) As you can see the extension of the graphics filename is omitted – LaTeX looks for this file with various possible extensions – .eps, .ps, … (Note: LaTeX will look for filename.ps before filename.eps.)
  • the most important option in […] is the size. There are a few choices that are useful …
      [width=xxx cm], … [height=xxx cm], etc.

A slightly more complicated version looks like the below example. This is used to select only a portion of your picture, and the part of the caption in square brackets is taken as the caption in a list of figures. This means that you can format the caption that appears with your figure differently to the way it will appear in the list of figures. Also, the figure caption will typically be longer, and more detailed than that which appears in the list of figures.

\begin{figure}[htp]
\centering
\includegraphics[totalheight=0.8\textheight,viewport=50 260 400 1000,clip]{erptsqfit}
\caption[Transverse momentum distributions - E-R model.]
{Transverse momentum distributions - E-R model fit (intercept 1.2).}\label{fig:erptsqfit}
\end{figure}

The most useful option to use, I find, is to set the width or height you want your picture scaled to to be some fraction of the textwidth or height, as is done in the above, where we have [totalheight=0.8\textheight], that is, the total height of the figure is set to 80\,\% of the height of the text on a normal page of typing.

The viewport command needs some fiddling with to get right – if you choose to use it at all (you need it for mathematica files as they are saved very very poorly as PS files). Basically it’s the number of points to take off the top, left, bottom, right, in that order, I think. You just have to play around and see. The idea is, it takes this much space off all around the document, leaving only the inside bit that is what you want to see in your document. You need the “clip” command to force LaTeX to ignore the stuff outside the limits you specify by “viewport”.

  • The stuff in […] in the caption command tells LaTeX what to put in the table of contents. Otherwise is just uses the stuff in the curly brackets if you omit […]. The stuff in curly brackets is what appears as your figure caption.

Multiple figures

Multiple figures can be inserted in this manner (where here I have just used the same figure several times). The \hfill command gives you a nice spacing between the figures.

\begin{figure}[htp]
\centering
\includegraphics[width=0.4\textwidth,viewport=50 260 400
1000,clip]{erptsqfit}
\hfill
\includegraphics[width=0.4\textwidth,viewport=50 260 400 1000,clip]{erptsqfit}\\
\includegraphics[width=0.4\textwidth,viewport=50 260 400
1000,clip]{erptsqfit}
\hfill
\includegraphics[width=0.4\textwidth,viewport=50 260 400 1000,clip]{erptsqfit}\\
\caption[Transverse momentum distributions - E-R model.]{Transverse momentum distributions - E-R model fit
(intercept 1.2).}\label{fig:erptsqfit}
\end{figure}

Subfigures

However, sub-figures using the subfigure package in LaTeX is really the way to do this!! This package come with the standard distribution of LaTeX, is called using

\usepackage{subfigure}

in the document preamble (i.e. before the \begin{document} command).A nice example of the use of this package to create a 2×2 figure is as follows

\begin{figure}%[htp]
     \centering
     \subfigure[Donnachie-Landshoff form factor model in Feynman gauge
     (solid line) and in non-covariant gauge (dashed line). Here
     $\Lambda=0.2\gev^2$ and $\intercept=1.08$.]{
          \label{fig:dl2858}
                \psfrag{ylabel}{$\frac{1}{\sigma}\frac{\rmd\sigma}{\rmd\ptsq}\gev^2$}
                \psfrag{xlabel}{\small{$\ptsq\gev^2$}}
          \includegraphics[width=.45\textwidth]{dlddlanalysis99fit2858loglin.eps}}
     \hspace{.3in}
     \subfigure[Ellis-Ross form factor model in Feynman gauge (solid
     line) and in non-covariant gauge (dashed line). Here
     $\Lambda=0.2\gev^2$ and $\intercept=1.08$.]{
          \label{fig:er2858}
                \psfrag{ylabel}{$\frac{1}{\sigma}\frac{\rmd\sigma}{\rmd\ptsq}\gev^2$}
                \psfrag{xlabel}{\small{$\ptsq\gev^2$}}
          \includegraphics[width=.45\textwidth]{erderanalysis99fit2858loglin.eps}}\\
     \vspace{.3in}
%     \hspace{.1in}
     \subfigure[Single-gluon exchange model (solid line) and Scalar
     Pomeron exchange model (dashed line).]{
           \label{fig:cminusscalar2858}
                \psfrag{ylabel}{$\frac{1}{\sigma}\frac{\rmd\sigma}{\rmd\ptsq}\gev^2$}
                \psfrag{xlabel}{\small{$\ptsq\gev^2$}}
           \includegraphics[width=.45\textwidth]
                {cminusscalaranalysis99fit2858loglin.eps}}
     \subfigure[Two-gluon exchange model.]{
           \label{fig:2glue2858}
                \psfrag{ylabel}{$\frac{1}{\sigma}\frac{\rmd\sigma}{\rmd\ptsq}\gev^2$}
                \psfrag{xlabel}{\small{$\ptsq\gev^2$}}
          \includegraphics[width=.45\textwidth]{2glueanalysis99fit2858loglin.eps}}
     \caption{Fit of pomeron models to Thrust Jet
           data\,\cite{Adloff:1997sc}. The fit is only made to points
           after the turn-over of the curves. Curves correspond to
           model fits, while solid points are H1 data. These plots
           show the fits for several models for diffractive masses in
           the region of $M_X=28.58\gev$. The statistical and
           systematic errors have been added in quadrature.}
     \label{fig:2858multifig}
\end{figure}    (source: http://www.hep.manchester.ac.uk/u/jenny/jcwdocs/latex/figures.html)

Posted in Study and research | Leave a Comment »

Grammy 2007

Posted by icecafe on February 11, 2008

Kết quả giải Grammy 2007:

1. Ghi âm của năm:

Irreplaceable – Beyonce.
ThePretender – Foo Fighters.
Umbrella – Rihanna và Jay-Z.
What Goes Around … Comes Around – Justin Timberlake.
Rehab – Amy Winehouse.

2. Album của năm:

Echoes, Silence, Patience & Grace – Foo Fighters.
These Days – Vince Gill.
River: The Joni Letters – Herbie Hancock.
Graduation – Kanye West.
Back to Black – Amy Winehouse.

3. Ca khúc của năm:

Before He Cheats – Carrie Underwood.
Hey There Delilah – Plain White T”s.
Like a Star – Corinne Bailey Rae.
Rehab – Amy Winehouse.
Umbrella – Rihanna Featuring Jay-Z.

4. Nghệ sĩ mới xuất sắc:

Feist – Ledisi – Paramore – Taylor Swift – Amy Winehouse.

5. Album nhạc pop xuất sắc:

Lost Highway – Bon Jovi.
The Reminder – Feist.
It Won”t Be Soon Before Long – Maroon 5.
Memory Almost Full – Paul McCartney.
Back to Black – Amy Winehouse.

6. Album nhạc rock xuất sắc:

Daughtry – Daughtry.
Revival – John Fogerty.
Echoes, Silence, Patience & Grace – Foo Fighters.
Magic – Bruce Springsteen.
Sky Blue Sky – Wilco.

7. Album R&B xuất sắc:

Funk This – Chaka Khan.
Lost & Found – Ledisi.
Luvanmusiq – Musiq Soulchild.
The Real Thing – Jill Scott.
Sex, Love & Pain – Tank.

8. Album nhạc rap xuất sắc:

Finding Forever – Common.
Kingdom Come – Jay-Z.
Hip Hop Is Dead – Nas.
T.I. vs T.I.P. – T.I..
Graduation – Kanye West.

9. Album nhạc đồng quê xuất sắc:

Long Trip Alone – Dierks Bentley.
These Days – Vince Gill.
Let It Go – Tim McGraw.
5th Gear – Brad Paisley.
It Just Comes Natural – George Strait.

10. Album pop latin xuất sắc:

Papito – Miguel Bose & Varios Artistas.
12 Segundos De Oscuridad – Jorge Drexler.
Navidades Luis Miguel – Luis Miguel.
Dicen Que El Tiempo – Jennifer Pena.
El Tren De Los Momentos – Alejandro Sanz.

11. Album nhạc jazz xuất sắc:

Party Hats – Will Bernard.
Downright Upright – Brian Bromberg.
Re-imagination – Eldar.
River: The Joni Letters – Herbie Hancock.
He Had a Hat – Jeff Lorber.

12. Ca khúc nhạc pop xuất sắc của nữ ca sĩ:

– Candyman – Christina Aguilera.
– 1234 – Feiss.
– Big Girls Don”t Cry – Fergie.
– Say It Right – Nelly Furtado.
Rehab – Amy Winehouse.

13. Ca khúc nhạc pop xuất sắc của nam ca sĩ:

– Everything – Michael Buble.
– Belief – John Mayer.
– Dance Tonight – Paul McCartney.
– Amazing – Seal.
– What Goes Around…Comes Around – Justin Timberlake.

14. Ca khúc nhạc pop xuất sắc của nhóm nhạc hoặc song ca:

– (You Want To) Make A Memory -Bon Jovi.
– Home – Daughtry.
Makes Me Wonder – Maroon 5.
– Hey There Delilah – Plain White T”s.
– Window In The Skies – U2.

15. Ca khúc nhạc rock đơn ca xuất sắc:

– Timebomb – Beck.
– Only Mama Knows – Paul McCartney.
– Our Country – John Mellencamp.
Radio Nowhere – Bruce Springsteen
– Come On – Lucinda Williams.

16. Ca khúc nhạc rock song ca hoặc ban nhạc xuất sắc:

– It”s Not Over – Daughtry.
– Working Class Hero – Green Day.
– If Everyone Cared – Nickelback.
– Instant Karma – U2.
– Icky Thump – The White Stripes.

(NetLife)

Posted in Misc | Leave a Comment »