Questions and speculations on Consciousness

I think, I am, I have a sense of self, and my observations shape reality. There is an apparent intentionality in my actions. I believe I possess the power rebel against existing order, tear it apart and construct a new one. I am a member of a lucky species that has attained a certain degree of consciousness.

But what is that thing we label consciousness. Is it simply and emergent phenomena of an advanced sensory system that is combined with the complex arrangement of neurons and synapses? Is it inevitable that conscious being such as humans should exist in the universe? Are we truly “At home in the Universe”, as Stuart Kauffman would put it?

Is the quality of consciousness intrinsically tied to being human? I am not so sure.

Is it a field that permeates space seeking a suitable medium to express itself? I am happier with that thought, though I have no way to prove it…yet!

We might one day set in motion a process that would create increasingly more advanced mediums of consciousness. We may one day surpass ourselves and hand the baton to nobler and superior beings. There should be joy in that; no fear or shame. It will be just then that we would have fulfilled the ultimate purpose of our species.


On terrorism and the hate that follows

I worry less about the damage to live and property from acts of terror, than the waves of hate that soon follow. The damage due to hate is always much worse. Hate brings out the worst in humans. It locks the mind in inescapable focus on violence. All noble ideas, and worthy aspirations fall by the wayside as survival becomes the primary preoccupation. When that happens, I sense that the terrorists have already won.


الكراهية أخطر من الإرهاب

أرى نفسي أقل قلقاً من الموت و الدمار الناتج من الأعمال الإرهابية بالمقارنة لموجات الكراهية التي تتبعها. الضرر و الخسارة الناتجة من الكراهية التي تولدها هذه الأعمال أشد خطورة.
الكراهية تسقم القلوب و تبرز أقبح ما في البشر.
الكراهية تسجن العقل في دائرة لا نهائية في التركيز علي العنف.
كل الأفكار النبيلة و الطموحات الشريفة تسقط عندما يكون الهم الشاغل هو البقاء.
عندما يحدث ذالك أشعر أن الإرهاب قد نال غايته.


Herodotus on Decision Making

A decision was wise, even though it led to disastrous consequences, if the evidence at hand indicated it was the best one to make; and a decision was foolish, even though it led to the happiest possible consequences, if it was unreasonable to expect those consequences.


The vengeful Murex

If you chance upon a smooth red sea shore,
tread carefully ….lest your sorrows multiply even more.
A spiny Murex could be lurking …in wait for a pompous step.
As many of its kin died for the imperial purple it delights in crimson red.



Monkeys and Coconuts

Here is my attempt to solve the monkeys and coconuts problem. The story goes
that five sailors were stranded on an island and had decided to gather some
coconuts for their provisions. They put all the coconuts in one large pile and
went to sleep. One sailor got up and fearing that there could be problems when the
time to came to divide the pile, he divided the pile five ways and noticing that
he has an extra coconut, he gave it to a monkey, and then hid his stash. The other
four sailor repeated the same procedure. When they woke up they noticed that
they had a smaller pile and proceeded to divide into five equal piles, this time
around there were no extra coconut left for the monkey. So the question is: what was
the size of the original pile?

We will denote by x_i as the size of the
pile after the ith sailor has carried out his procedure. In this system x_0
is original size of the pile. So following this procedure we then proceed as


It is important to note that x_i \in \mathbb{N}_0 for i=0\ldots5, also \frac{x_5}{5}\in \mathbb{N}_0. Alternatively, we think of the reverse procedure and express the above as

Observing that x_5 has to be divisible by 4 and 5 (last equation in the first system and first equation in the second), one can brute force the solution(s) by the following Julia code:

Which results in

m=51, x₀= 3121
m=307, x₀= 18746
m=563, x₀= 34371
m=819, x₀= 49996

This corresponds nicely to the answers that were obtained by rigorous derivation in the video, however it shows how programming can easily find such solutions by brute force.

If one would like to avoid the negative or blue concocts suggested in the video and also preserve the monkey. Below is an alternative derivation. Working through the first system, one gets:

x_{5}={{4\,\left({{4\,\left({{4\,\left({{4\,\left({{4\,\left(x_{0}-  1\right)}\over{5}}-1\right)}\over{5}}-1\right)}\over{5}}-1\right)  }\over{5}}-1\right)}\over{5}}=\frac{4^5x_0}{5^5}-\frac{8404}{5^5}

Realizing the x_5 has to be necessarily divisible by 5, we denote the final share that each sailor gets in the last division by s. So our Diophantine equation becomes
It will have solutions at x_0=3121, 18746, 34371 \ldots= 3121+n5^6 \text{ for } n \in \mathbb{N}_0 .


The Postmodern Man

Wondering through an old town
I saw a sight that made me frown
People running all over the place
With no purpose, but an angry face

Tearing houses in which they dwell
Barking words I can not tell
Breaking mirrors and shattering glass
What an awful fate this has come to pass

They smashed all that could glimmer
Their ugly faces it could mirror
I asked a man what is going on
To the beautiful city of a thousand songs

He stared at me in total confusion
Then said “We lost all truth for an illusion”
“At first it was truth that we were seeking
But lost all hope when we lost all meaning”

“Of many Gods we did create
Then we destroyed and declared their fate”
Of what is sacred we did not respect
Many noble meaning we did dissect ”

“We studied stars with microscopes
Viewed atoms with telescopes

“We uttered word we shouldn’t speak
Turned heaven’s gift into a freak
We’ve broken vows we shouldn’t break
Our existence became a funny mistake”

“Then our hearts turned to dust
Nothing left that we can trust
“God is dead” the man proclaimed
“Man is god, man is great”

“When man is god all is abstruse
What use to him, is now the truth
Of a murky mix he did evolve
In murky chaos he must now dissolve”

“All must be now undone
All hope is lost all meanings gone”
I walked away in disbelief
My heart now filled with so much grief

What tragic end could all this be
For men with eyes but could not see
What strange turns this world does take
When men are stung by a life-giving snake

Logic used to break man’s chains
From chains of logic it should break again
I weep for that post-modern man
Post-modern, postmortem and the world is bland


Reality’s Semblance

Layers of Lies marching in semblance
of an ugly and distorted “reality”

Lives wasted in transience
in false hopes of evidential existentiality

In fear of facing internal emptiness
they blind themselves to possibilities of … humanity


Nepomuk Pains

Recently I ran into a nasty situation on Kubuntu desktop where a host of crucial KDE components would cease to work. Chiefly amongst them were:

  1. No instances of Dolphin would start
  2. The kickoff launcher would not work 
  3. The KDE activity manager was crashing. 

I suspected the Nepomuk might be the culprit and I was right.  I stopped it by running

qdbus org.kde.NepomukServer /nepomukserver quit

I then wiped out its data by running

rm -r .kde/share/apps/nepomuk/

Finally I got it started again by runing


…and my problems were solved.

Trying to search for a solution to this problem, I found people suggesting that one would wipe the ~/.kde folder and start afresh. That sounded too drastic and a great deal of my customizations would have been lost in the process.


Structural vs. Cultural violence

In Egypt we had a pretty nasty form of structural violence that was embodied in the state’s massive bureaucracy, and web of interests that surround it. It was nasty, inefficient, and very corrupt. The revolution attempted to call for end to that violence and was still taking baby steps in trying to find a more human replacement. The magical eighteen days in Tahrir in early 2011 saw a wonderful experiment where people were trying to create a new reality and a new order, they were trying out new ways of dealing with others…gentler and sweeter ways.

Before anything they were attempting came to fruition, they were faced with cultural violence by Islamists. The Islamists claimed divine authority and were naturally bent on extinguishing all experimentation as they viewed them as silly and futile. They had their perfect ways and had no need for those where reaching out for something nobler…yet without history laden labels or structures of power. The Islamists attempted assimilate the machinery of structural violence in their arsenal of cultural warfare.

As soon as the horrors of their designs became clear to the vast majority of Egyptian, a revolt ensued. Tragically, since June 30th, 2013  no alternative means were found to supplant either forms oppression. One thing is patently clear, most Egyptians would opt for the familiar and impersonal structural violence that they had suffered  for decades, than to give a chance for Islamist cultural violence to run its course…democratic process be damned.