Samsung Galaxy Ace-də 3G aktivləşdirmək

2012 January 31
by Fərhad Səfərov

Samsung Galaxy Ace-i aldığımdan bəri mobil internetdən aktiv şəkildə istifadə edirəm. Amma çox vaxt twitter, google reader kimi böyük qismi yüksək sürət tələb etməyən yazılardan ibarət olduğu üçün 3G haqqında düşünməmişdim (default bir şəkildə 3G aktiv deyildi). 9GAG-ı Google Reader-ıma əlavə etdikdən sonra işlər dəyişdi :) Sözü uzatmadan mənim kimi Samsung Galaxy Ace-də 3G-ni necə aktivləşdirmək lazım olduğunu bilməyənlər üçün qısaca yazım:

1. Settings -> Wireless and networks -> Mobile networks
Use packet data seçili olmalıdır.
Use only 2G networks seçili olmamalıdır.

2. Settings -> Wireless and networks -> Mobile networks-> Access Point Names
Internet seçili olmalıdır. Yoxdursa özünüz yeni APN əlavə edərək MCC və MNC qismini müvafiq ölkə və operator üçün dordurmaq lazımdır. Həmin kodları bilmirsinizsə burdan öyrənə bilərsiniz http://en.wikipedia.org/wiki/Mobile_Network_Code
Authentication type – PAP, APN type – Internet vəya Internet + MMS olmalıdır.

3. Bunları etdikdən sonra da aktivləşməsə *#*#4636#*#* yığın. Phone information bölməsindən Set preferred network typeWCDMA only seçin. Daha sonra radionu söndürüb yandırın (turn off & turn on radio). Telefonu da yandırıb söndürməyiniz lazım gələ bilər.

Sonrasında 3G aktivləşmiş olur :)

Solving Symfony 1.0 Errors

2011 December 20
by Fərhad Səfərov

Because of working on old huge project based on symfony 1.0 I had to learn the framework in order to develop it. In short, by taking newbies into account I have decided to share my solutions to the errors and problems experienced during the whole learning process.

YAML or XML

I have learn that you should choose one from the beginning and continue with it. You cannot use them simultaneously. Askeet tutorial is mainly based on XML but I had developed on YAML. There are propel commands for this solution

use propel-convert-xml-schema (create schema.yml from schema.xml) or propel-convert-yml-schema (create schema.xml from schema.yml) depend on which method you preferred at the beginning.

 

Could not perform XLST transformation error!

[propel-om] Could not perform XLST transformation.  Make sure PHP has been compiled/configured to support XSLT.

Those who especially symfony (propel) developers, are experiencing the problem should just install php5-xsl. That’s all. In my case the platform is ubuntu 11.10:

sudo apt-get install php5-xsl

Screening Diversity in “Homogeneous” Societies

2011 July 26

Benedict Anderson in his notable book claims “nation” is constructed term because the members of even the smallest nation will never know most of their fellow-members, meet them, or even hear of them, yet in the minds of each life the image of their communion. Since to some extent it is a constructed notion, the artificial fraternity has attempts to homogenizes sexual, ideological and gender diversities with inequality and exploitation. In the movies, “Strawberry and Chocolate” and “Offside”, are great examples which successfully demonstrate the resisting of the diversities to those attempts. In the first one, the main target is an intelligent homosexual man, and in the second one, the target is mainly women. Nevertheless, it should be on mind that the movies do not directly deal with sexual or gender diversities but wider intolerance in an imagined “homogeneous” community.

The Revolution we see in “Strawberry and Chocolate” succeed in humanizing the society to a very great extent by eliminating racism, extreme social or financial inequality, illiteracy, and substantially reducing some forms of sexism. However, the Revolution is not finished yet. Tomas Gutierrez Alea, the director of the film, in his interview with Michael Chanan expressed the film does not deal with the theme of intolerance in relation to homosexuals. He later continues: “Who, then, am I dialoguing with? Well, with the people, who, in one way or another, have to do with this situation, who are responsible for this situation, the intolerance, the ostracization of the person who is different, the non-acceptance of the person who thinks with his or her head.”

Mostly based on the characters’ patriotic ideals, nationalistic elements are seen all around the movie. When Cuba is the subject of the discussion they continuously call her as “island” which is ideal for imagining the nation within its natural borders. The comparisons among the nations are in the foreground while talking about music, culture, beverages such as Indian tea with French porcelain, enemy drink and so on. One the other hand, in “Offside” the sport has consolidative role and they all including the girls and the soldiers are united by Iran patriotism and desire to win for Iran in the football match.

In the movie “Strawberry and Chocolate” two main characters, Diego and David are patriotic in their own ways. The main distinction, however, is that the former has been excluded from participation in the Revolution. Despite the fact that he has often been reviewed as counterrevolutionary he has only labeled as in this way just because of the other’s prejudices: “the man is unfaithful even to his own sex” says Miguel, one of the self-appointed “defenders of the Revolution”. On the contrary, the David is seen as revolutionary and becomes more revolutionary through the entire movie. The nuance is that different from those who have prejudices against Diego, David by knowing diversity of self-expression goes beyond the limits the society imposed. In one of the dialogues Diego emotionally tells David: “I am part of this country. Like it or not!”

These constructed limits are often transcended by the heterogeneity. To elaborate the argument by giving examples, Diego because of free-thinking which actually comes from the restraints by the society to his sexual preferences seem to be as counterrevolutionary. Another great example to this limitation is the movie, “Offside”. The name of the film also demonstrates crossing an invisible line that is prohibited by the rules of the game. This symbolizes the women trying to pass on football stadium which is considered as men’s territory.

Taking all these into consideration, both movies that represent two heterogeneous societies in which radical revolutions has been taken the characters are not against the current regime. In his interview, Tomas Gutierrez Alea confesses that he had been in a position to live much better outside of Cuba. He believes that in Cuba, values exist that do not exist in other places. They all are about tolerance for constructive criticism, unusual lifestyles, and religious expression.

Representation of Women in Post-Colonial Movies

2011 July 13

Contrary to common belief, the intentioned messages behind female figures in the movies of developing countries take no less significant than any message of the movie. Tendencies of using symbolic meanings were because of the need of create a national identity in that countries of Third World, and discourse of emancipation of women. “The Battle of Algiers” (1966), “Xala” (1975) and “The Silences of the Palace” (1994) can be considered as ideal examples of such movies that engross discourse of the improved social condition of women in society. In these movies, representation of women as wife, mother, daughter and object has to be examined separately.

First of all, it must be stated that women had different roles during the anti-colonialism war and rise of national identity. As Ella Shohat in her article1 argues Third-World feminists insist that colonialism and national resistance have impinged differently on men and women. For instance, in “The Battle of Algiers”, Algerian women are granted revolutionary agency. French soldiers’ sexism leads misperception of women; on the other hand, despite the fact that they are active members of the revolution, soldiers treating them as sex objects unconsciously. In addition, the women just become a tool that carry out orders of the men on the way to the salvation. Talking about exploitation of women, furthermore, sexism should also be stated. Seeing women as sex objects are also clearly seen in “Xala” and “The Silences of the Palace”. In the former one, El-Hadji, an elite businessman of newly emerged independent Senegal, marries to a third wife for reasons of sexism and evident consumption. In the bedroom scene of the movie, the nude image of this young wife in the photograph explicitly gives the message. In the latter movie, it is depicted that the servants of elites subjugated to sexual servitude at times. They have to be silent in order to have guarantee shelter and food.

"The Silences of the Palace"

"The Silences of the Palace"

In both of the movies, “Xala” and “The Silences of the Palace”, along with the revolution hope for change is placed in the young generations, in other words, daughters, who will continue the slow and difficult march of progress that was started by their mothers on the independence of their countries. The daughter of El-Hadji, in “Xala”, for example, resists post-colonial imperialism by speaking Wolof, their national language, instead of French, official language. The composition of one scene has strong message: in El-Hadji’s office the daughter in front of the map of Africa which symbolizes motherland, talks to her father. The map repeatedly is shown in the frame reflecting the same colors of girl’s traditional clothes. On the other hand, Alia as a young generation also represents progress in the future of the country in “The Silences of the Palace”. Khedija, Alia’s mother, is favorite servant of their master, Sidi Ali, who is served as sexual plaything. As it is indicated above, due to have better life condition at least compared to prostitution outside, staying inside is preferred by Khedija. However, parallel to national struggle in the country there is also progress to change this fate as Alia coming of age. Trying to keep Alia away from suffering her own fate, the mother struggles to destroy the tradition that will make Alia no more than an object that is singing, dancing and fulfill her masters’ sexual desire.

Taking all into consideration, along with nation awakening glorification of “the national” provides no criteria for distinguishing exactly what is worth retaining in the “national tradition”. For example, one of the strongest critics that “Xala” makes is polygamy which definitely undermines the social condition of women. Moreover, in “The Silences of the Palace” sexual slavery that has been part of long line of tradition is strongly criticized. Some of these traditions and correspondingly women’s search for their own identity and dimension still continues in Third-World countries. Such representation of women in films will continue as these societies evolve.

Bibliography
  1. Ella Shohat. “Post-Third-Worldist Culture: Gender, Nation, and the Cinema”
  2. Moufida Tlatli (1994). “Samt el qusur” (The Silences of the Palace)
  3. Ousmane Sembene (1975). “Xala”
  4. Gillo Pontecorvo (1966). “The Battle of Algiers”

Facebook link share and thumbnail

2010 December 20
by Fərhad Səfərov

For the past week I have been having a very frustrating problem with the dumb facebook share script. Actually the problem was that while sharing the website, despite the fact that there are tens of images on the website, facebook displayed none of them as a thumbnail. The difficulty of overcoming the problem is that facebook uses cached images and you should wait at least 24 hours in order to see the changes if there are any. The solution is to put the example code between the head tags and change the image url:

<link rel="image_src" href="http://example.com/logo.jpg" />

And also in the code you may specify the type of the image you want to show up in the thumbnail section. Please note that, there is also problem with PNG images and therefore give precedence to JPG or GIF. Info of the pages can be checked by Facebook URL linter.
Good Luck.

Switzerland and Minaret Ban

2010 January 10

The Swiss Confederation which is an official name of Switzerland was founded in 1291 as a medieval defensive league by three cantons. Switzerland gained its independence from the Holy Roman Empire in 1499. The Swiss confederation was replaced with a centralized federal government after 1848 constitution. Switzerland has not participated in any war in almost two centuries and its sovereignty and neutrality have long been respected by the hegemonic European countries, and the country was not involved in either of the two World Wars. Despite being a founding member of EFTA (European Free Trade Association) it has always avoided full membership of European Union till now. The country did not even officially become a UN member until 2002. Though Switzerland maintains her strong commitment to neutrality she is a leading member of major UN and international organizations.

read more…

Drawing in CSS

2009 December 29
by Fərhad Səfərov

homersimpson-cssThe image you see on the right is a normal picture in a GIF file format, but it is actually the screenshot of the mixture of different characters with some CSS attributes made by Javier Román Cortés. On the other hand, there is also “picture” of George Bush. Of course, the accurancy of the image changes browser to browser. I use FireFox 3.5 and it looks perfect. It is very difficult, for sure, especially considering the process of drawing. Deciding the order of layers and which detail fit depend absolutely on artistic skills.

Saludos…

Aristotle’s Political Thought versus Epicurean and Stoic Political Thought

2009 July 31

Political thoughts of Aristotle are clearly seen in the “Nichomachean Ethics” and especially in the “Politics”. I also cited “ethics” that is discussed by Aristotle because it is primarily about the actions of human beings as individuals, and the politics is about the actions of human beings in communities. Moreover, it is important to remember that for Aristotle the two, politics and ethics, are closely linked and each influences the other. In the “Politics” Aristotle describes the role of politics and the political community as bringing virtuous life to all the citizens. Constitutions and the disorder of the politics are also main aspect of Aristotle’s political thought. On the other side, Epicureanism and Stoicism have significantly different approach to the politics from Aristotle and one another. In this sense, the latter may be considered as a critique of the former. However, this does not mean that the two philosophical schools reject all Aristotelian political thoughts.

read more…

Love is like chewing gum

2009 July 28
by Fərhad Səfərov

When you first start chewing you think
“wow, this is great!” Then you keep chewing
and it loses taste, but you don’t really
want to give it up. You’ve gotten used
to the constant chewing, so you keep doing
it. Then all of the sudden, you accidentally
take a bite on the inside of your mouth
and you swear to god you’ll never chew gum
again. And now you have to live with that
sore and all you think about is
“Why didn’t I spit it out sooner?”
The sore gets better, and eventually you
forget about it. Then one day,
someone comes up to you and says
“Hey, do you want a piece of gum?”
and it all starts over again…

Istanbul Sportsfest 2009 Photos

2009 May 26

Bogazici University International Sportsfest 2009 has been finished. There were nearly 1500 sportsmen all over the world. Although there were some clumsy organizers and teams that accepted defeat in advance, taken as a whole it was deliriously entertaining. read more…