What is Your Life Like A Way or A Corridor?

corridor image ile ilgili görsel sonucu

The metaphors which we select to use when we explain something sometimes limits our capacity of envisioning instead of expanding it. Because metaphors are artificial simulations of complex life. It is kind of map of reality we understand. On the maps, the things are shown not by their real colors, distances or shapes. Therefore they are not real.

Typically we use the “way” metaphor when we define our lives. It starts from a point to another and there is a line which reflects progress or time. When we want to define there are two options we draw the fork. These drawings may be fancy by not reflects the real aspects of life.

A way or corridor?

Instead, we can use the corridor metaphor. A corridor is way too but what corridor distinct from a way is the doors along. A corridor has a lot of door in two sides. These doors may be closed or opened. Maybe locked or unlıocked. Some of them can be opened by knocking some of them not. Some of them are relevant to us some of them not.

The corridors have intersections. There is a lot of intersection of corridors in our life. This intersection is another’s life. You can get in or continue to your life. Some of the corridors intersect in somewhere else again. Some of them are parallel. They go the same direction but never intersects. You may be friend with someone else in the parallel corridor. The old cuneiform reflects friend two parallel lines.

The symbol of friend in cunneiform.

The way of some person will intersect with your life but you will fight with them. Old cuneiform alphabet the intercepted lines reflects enemy.

The symbol of enemy in cunneiform.

However, the corridor reflects possibilities and opportunities more than simple way metaphor. The most of way is just one or two-sided mountain, forest, des sea or land not the opportunities.

If you want to understand the door is open. The only way is knocking it as Montaigne once said.

Dr. Suat ATAN


You want to make a decision about an important thing. You getting advises of a lot of people as it should be. However, your mind is wandering. The state of mind falls into a mode of ‘pendulum’. Today you decide to go, tomorrow you decide to remain. In that state of mind, you should review your ‘modus operandi’ for decisions.

Let’s explain the portrait with computer science terminology. Our decision-making tool is kind of functions. It gets some parameters from external universe, process it then throws a result. In the state of indecisiveness, the return is ‘null’. The problem is this function does not work stable. Sometimes due to ‘runtime errors’ or unknown ‘bugs’. For stable functions sometimes due to the wrong ‘feature selection’ or irrelevant input parameters function works properly but not to avail.

For example, you want to select best places to live. Parameters are your career, your family needs, the education quality for your kids. You have selected a city to live. Tomorrow, you remember your health issue and that is required to other alternatives. You return to the other alternative. That is ‘pendulum mode’.

In these situations, the meta-decision may solve your decision-making turmoil. Meta-decision is decisions about your decision making. You should think about “how I decide”, “what are the drawbacks about my decision making”, “how I apply the decision” and “how is the new decision-making process” or meta-decision.

An example:

How do I decide? It is quite bleak. It can be defined as ‘cyclic decision making’. The decision process is making several times with different parameters. My friends have the normative role for my decisions. I value theirs advises.

What are the drawbacks? My decision is biased to keeping status quo. That is overwhelming and I am sure that is not healthy. For advises; sometimes I am feeling kind of pressure on myself to apply the advice without analyzing.

How I apply the decision? Due to status quo bias, often I am not doing anything.

Meta-decision: Up to final decision never make a decision just collect the parameters and ideas to specific paper. Define a special day for decision making. Up to this day collect and review the ‘decision making working paper’. In the day of decision, make your decision and immediately start to apply the decision. If the everything is reversible never hesitate just do it.

Selenium with Python

Selenium is the popular testing package. It has library for Java, C#, nd Python. It is not only for testing  but also very good choice for web scraping task. I have used it during my PhD Thesis for scraping news from Google News.

In fact usage of it with Python slightly easier and readable. For Python 2.7 just install selenium with ‘pip install selenium’. If you work on windows you should use path of pip like below before install command.


Besides, you should download chromedriver.exe from here

Then you can use Selenium. Here is a code which download relevant image from Google Images with Selenium:

from selenium import webdriver
import urllib
from selenium.webdriver.common.keys import Keys
driver = webdriver.Chrome('C:/Python27/Scripts/chromedriver.exe')
urllib.urlretrieve(src, word+".jpg")

Fixing Error of Metronic Theme PagedList component

Metronic Theme have PagedList component which provide users prepare paged list quickly. However, it have a issue: When user clicks the number of active page link number page thwors error. Because link of active page misdefined. To fix this I’ve prepared a jquery patch.

$(document).ready(function () {

    //fixing pagedlist bug-patch s.atan

    $(".pagination > .active > a").mouseover(function () {

        var href = $(this).attr("href");


        $(this).attr('href', 'javascript:');

        $(this).attr('style', 'color:green; font-weight:bold');



Human Friendly ASP.MVC Serie

As a veteran Python programmer, I am used to coding in the clear and lazy way because Python has not red tape and fantastic overwhelming details. Nowadays I have to code with ASP.MVC 5 with Razor, however.  Gradually, I am coding and learning.  First and foremost attribute of I’ve noticed is ASP.MVC requires a lot of red tape. Especially for type conversations makes me angry. Therefore, I decided to post my experiences as a Python Programmer in ASP.MVC on the “human friendly” way. I branded it “Human Friendly ASP.MVC”.  I will share the codes and advices clearly. I am hating the tradition of sharing plethora of code lines. That is makes readers confused. I will use clear-cut style of python. Do not try to execute, dare to learn…

Here is first:



Connect to Java Libraries and call native Java functions from R

R provides very interesting and useful properties for its users. Sometimes you couldn’t find the required library in R libraries like me. For “Natural Language Processing” library in Turkish there is no library in R. Yet I have found a Java Library to be able to do my task. Initially, I have confused then if found a connector library in R for calling any class from native Java.

Here is how: