I can’t really say that OCD (Obsessive Compulsive Disorder) is a ‘specialist’ subject of mine! I do recall reading some literature somewhere
though which did look at percentages of people with OCD that are also addicted to some sort of substance.
I am unsure of the in’s and out’s of how each would affect each other, although I can see that for someone with OCD, it could be even harder
to come off something that they are addicted to. People with OCD tend to get into strict routines. These can be really simple things. Before we go
out of the house, it is normal for most people to check that the doors are locked, the oven is off, cigarettes are extingished etc. Someone with OCD
may check them twice ‘just to be sure’ or ‘because thats just what they have to do’.
I remember one case of OCD that I saw where someone was obsessive about cleanliness.
They would boil the kettle at least twice before using it to ensure there were no germs and this was just one little part of the ‘making a cuppa’ routine.
Because ofthis, it would take nearly an hour to make a brew!
These little things then become habbit, a routine or a list of events that cannot be broken. Changing that routine is like forgetting to
breathe. It doesn’t feel right and the more the mind dwells on them, the more it is compelled to do them.
As a result of this (and I’m guessing here – with a little science thrown in!) that if someone with an addiction to lets say Solpadeine,
also has OCD, taking those tablets would form part of that routine. It wouldn’t just be a case of breaking a mental and physical addiction to the drug,
but breaking a routine that is associated with an underlying disorder…. If you see what I mean…..Phew!
Well paracetamol can cause:
* skin rashes
* blood disorders
*swollen pancreas. These have occasionally happened in people
taking the drug on a regular basis for a long time.
Codeine is alot worse:
* stomach bleeding
* kidney and liver damage
* tiny pupils, blurred vision, poor night vision
* lowered heart rate, blood pressure and breathing
* disorientation, hallucinations
* sexual problems agitation, tremors, and seizures
These are general side effects but the long term effect which
is most likely is addiction. I guess it’s dependant on how much you
take and over how long a period of time.
So don’t go on a solpadeine binge!
To make a computer do anything, you have to write a computer program.
To write a computer program, you have to tell the computer, step by step, exactly what you want it to do.
The computer then “executes” the program, following each step mechanically, to accomplish the end goal.
When you are telling the computer what to do, you also get to choose how it’s going to do it.
That’s where computer algorithms come in. The algorithm is the basic technique used to get the job done.
Let’s follow an example to help get an understanding of the algorithm concept.
Let’s say that you have a friend arriving at the airport, and your friend needs to get from the airport to your house.
Here are four different algorithms that you might give your friend for getting to your home:
The taxi algorithm:
Go to the taxi stand.
Get in a taxi.
Give the driver my address.
The call-me algorithm:
When your plane arrives, call my cell phone.
Meet me outside baggage claim.
The rent-a-car algorithm:
Take the shuttle to the rental car place.
Rent a car.
Follow the directions to get to my house.
The bus algorithm:
Outside baggage claim, catch bus number 70.
Transfer to bus 14 on Main Street.
Get off on Elm street.
Walk two blocks north to my house.
All four of these algorithms accomplish exactly the same goal, but each algorithm does it in completely different way.
Each algorithm also has a different cost and a different travel time. Taking a taxi, for example, is probably the fastest way, but also the most expensive.
Taking the bus is definitely less expensive, but a whole lot slower. You choose the algorithm based on the circumstances.
In computer programming, there are often many different ways — algorithms — to accomplish any given task.
Each algorithm has advantages and disadvantages in different situations.
Sorting is one place where a lot of research has been done, because computers spend a lot of time sorting lists.
Here are five different algorithms that are used in sorting:
If you have a million integer values between 1 and 10 and you need to sort them, the bin sort is the right algorithm to use.
If you have a million book titles, the quicksort might be the best algorithm.
By knowing the strengths and weaknesses of the different algorithms, you pick the best one for the task at hand.