How to install memcached on ubuntu

Posted June 25th, 2010 in Development by Gevork

memcache_logoHow to install memcached on ubuntu?

Just go to System-> Administration-> Synaptic Package Manager

Enter in search field memcache and then find 3 packages on the screen below. It’s memcached, libevent, and php5-memcached. The last is optional , libevent is required for memcached.Even if you will not check green it for installation ,the system will force you to install it :)

Screenshot-1

That’s all.

If you don’t have synaptic package manager, and maybe you are installing it on server via command line,

then use

sudo apt-get install libevent memcached

In Next post I will tell you how to use it with CodeIgniter Framework ;)

Mr Gewa

Planning Study Time

Posted April 23rd, 2010 in How-To, PhD-M: Study Stuff by Gevork
Here are some hints for planning study time:

  1. Use daylight hours: research shows that 60 minutes of study during the day is the equivalent of 90 minutes of study at night (Pauk, Walter. How to Study in College, Second Edition.1989, p. 45).
  2. Survey required readings before lectures: skim over the title, headings, summary and figures before reading for detail. Surveying is a reading technique to be described in Module 3.
  3. Study soon after lecture type courses: retention and understanding are aided by a review of your lecture notes immediately after class: eg., one study showed that students who wrote a 5-minute review test following a lecture remembered one and a half times as much aterial when tested 6 weeks later as students who did not review, when tested the next day (Pauk, 1989, p. 104).
  4. List and do tasks according to priorities: remember Parkinson’s law that “work expands to fill the time available for its completion.” If you allot 2 hours to read 10 pages, it’ll probably take you 2 hours to complete this 30 min. task.
  5. Start long jobs ahead of time: avoids cramming and the resultant poor quality (“If only I had more time…”).
  6. Be realistic: don’t plan study periods during the week if it is unlikely that you will follow through; thus, in the beginning, you may plan for only 2 or 3 study periods; if you are successful, then plan for 3 or 4 study periods the next week, etc., gradually increasing your commitment to study while always maximizing the probability of success.
  7. Discover how long to study: as a rough starting guide, for every hour in class you should plan to study for two hours outside of class. Then, adjust up or down as necessary to achieve your goals .
  8. Plan blocks of time: in general, optimum efficiency is reached by planning to study in blocks of one hour — 50 min of study followed by a 10-min break (Pauk, 1989, p. 45). Shorter periods are fine for studying notes and memorizing materials. Longer periods are often needed for problem solving tasks and for writing papers.
  9. Have an agenda for each study period: be specific regarding the task that you hope to accomplish during each planned study period.

How to AVOID CRAMMING for Tests

Posted April 23rd, 2010 in How-To, PhD-M: Study Stuff by Gevork

©Academic Skills Center, Dartmouth College 2001

I. ORIGINAL LEARNING must take place. You have to learn the material before you can review it.

II. EARLY REVIEW is most efficient, most productive.

A. Before you attempt to learn new material in class or through reading:

  • Glance over previous chapters or notes.

  • Run through your mind what you know already.

Since memorization of new material is most effective when it is associated with the material already known, this process brings all available mental “hooks” to the surface.

B. Immediately after learning:

  • Rework your notes, adding material that comes to mind. (Don’t recopy; this is wasteful.)

  • Order and organize what was learned. (Star, use arrows, additional comments, etc.)

  • Integrate new material with what you already know.

Forgetting is most rapid right after learning. Review helps combat this. Relearning is easier if it is done quickly. Don’t wait until it’s all gone.

III. Space initial early reviews to support original learning. Several brief periods spread over 5 or 10 days is usually enough to ensure good recall for intermediate review.

IV. Intermediate review is important when work is spread out over several months or longer. For example, when the final is 4 months away, follow this schedule:

  • original learning

  • immediate review of limited material same day (5-10 minutes)

  • intermediate review of material covered so far, after 2 months

  • final review, before exam

Intermediate and final reviews should stress understanding and organization of material.

V. Final review is a REVIEW, not “cramming” of unlearned material. No new learning takes place except to draw together the final main currents of thought.

  • Be brief. Review entire semester’s work in 2-4 hours. (Set a limit and stick to it.)

  • Outline and organize from memory. Don’t bother copying.

  • Recite (in writing or out loud to a friend or self)

VI. USE SPACED REVIEW rather than MASSED PRACTICE. 60 minutes used in 3 groups of 20 minutes each is more effective than 60 minutes used all at the same time.

  • break up learning period for any one subject

  • avoid fatigue

  • review and strengthen previous learning

  • increased motivation, better concentration