CC™ VideoSpective
Wednesday
Tuesday
Monday
Sunday
Ifá/Afa- A Computer Programmer’s Perspective
CC™ Opinion
By Eyes Sea
For some of us who earn our daily bread from programming computers (I have been doing this for over 2 decades), making the connection between Ifá binary notation and programming is a no brainer.
We programmers write codes/instructions (incantations) on the cpu – made from silicon (sand) to carry out our desires.
The parallel between a Babaláwo and a computer programmer is striking. We write on sand (silicon/cpu), a Babalawo writes on Iyerosun (camwood powder). We chant/write binary codes, a Babaláwo recites Odù Ifá!
In essence, a computer code is àfọ̀ṣẹ par excellence! In Yoruba, àfọ̀ṣẹ means “oun tí a fọ̀ tí ó sì ṣẹ” – something commanded to happen.
Our incantations (computer codes) can animate the entities in the cpu (sand) and make them become whatever we want: a game console, a financial trading system, an air traffic controller, facebook, Google, Twitter, Amazon, Bitcoin etc.
How did this come about? Well, the Binary System makes this possible.
The Binary System of Ifá is based on the Yorùbá philosophical duality of Ibi and Ire (Evil and Good); for several millennia, the Yorùbá had been using the binary system before the German mathematician – Gottfried Leibniz formalised in 1679.
These days, the Binary Numeral System (Base 2) is well known in Mathematics and digital electronics and the system underpins how computers work by representing numeric values using just two digits – zero (0) and one (1)
In Computing, a Bit (i.e. BInary digiT) is the smallest unit of storage and can either be 1 or 0
A Nible (also called half Byte or semi-octet) is the grouping of four Bits e.g 0 1 0 1
In Ifá, Odù signatures are marked with “|” and “||”. Where “|” is the binary number “0” and “||” is “1”.
For example Ogbè (0000) has the following signature:
|
|
|
|
Ọ̀sá (1000) is represented as:
||
|
|
|
Òtúrá (0100) is marked as:
|
||
|
|
We can therefore summarise the representation of the first sixteen Odus as follows:
Decimal == Nibble == Odù
00 == 0000 == Ogbè
01 == 0001 == Ògúndá
02 == 0010 == Ìrẹtẹ̀
03 == 0011 == Ìrosùn
04 == 0100 == Òtúra
05 == 0101 == Ọ̀sẹ́
06 == 0110 == Èdí
07 == 0111 == Ọ̀bàrà
08 == 1000 == Ọ̀sá
09 == 1001 == Ìwòrì
10 == 1010 == Ọ̀̀fún
11 == 1011 == Ìká
12 == 1100 == Ọ̀wọ́nrín
13 == 1101 == Òtúrúpọ̀n
14 == 1110 == Ọ̀kànràn
15 == 1111 == Òyẹ̀kú
́
Since Ifá speaks only in binary (Odu Èjì Ogbè says: “Èjèèji ni mo gbè, n ò gbe ọ̀kan ṣoṣo mọ́” i.e “I will only support two, I will not support one”), each Odu must be paired.
For example, after pairing the main Odu, we get the following (see graphic for the main Odu signature)
Èjì Ogbè (also called Ògbè Méjì): 00000000
Ògúndá Méjì : 00010001
Ìrẹtẹ̀ Méjì : 00100010
Ìrosùn Méjì : 00110011
Òtúrá Méjì : 01000100
Ọ̀sẹ́ Méjì : 01010101
Èdí Méjì : 01100110
Ọ̀bàrà Méjì : 01110111
Ọ̀ṣá Meji: 10001000
Ìwòrì Méjì : 10011001
Ọ̀fún Méjì : 10101010
Ìká Méjì :10111011
Ọ̀wọ́nrín Méjì :11001100
Òtúrúpọ̀n Méjì :11011101
Ọ̀kànràn Méjì :11101110
Ọ̀yẹ̀kú Méjì : 11111111
The other 240 minor Odus are derived from the main 16 Odus.
For example (note: the binary notation and the marks are read from right to left)
Ogbè-Ògúndá : 0001-0000
| |
| |
| |
|| |
Ọ̀yẹ̀kú-Ìrẹtẹ̀ : 0010-1111
| ||
| ||
|| ||
| ||
Computers also speak in binary and binary numbers can be converted to decimal, hexadecimal, octal etc.
Without getting into too much math, below are the decimal values of the 16 main Odu:
00000000 = 00
00010001 = 17
00100010 = 34
00110011 = 51
01000100 = 68
01010101 = 85
01100110 = 102
01110111 = 119
10001000 = 136
10011001 = 153
10101010 = 170
10111011 = 187
11001100 = 204
11011101 = 221
11101110 = 238
11111111 = 255
i.e. 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 = 55
0 0 1 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 1 1 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1
0 0 1 1 0 0 1 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0
0 1 0 1 0 0 0 1 0 0 0 0 1 0 1 1 0 0 0 0 0 0 1 0
0 0 1 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0
0 1 0 0 0 0 1 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0
0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1
0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
0 1 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
In Ifa, the patterns of bits above translate to…
ọ̀wọ́nrín-ọ̀sá èjì-ogbè èjì-ogbè
ọ̀wọ́nrín-ọ̀sá ogbè-ọ̀sá ogbè-ọ̀sá
ọ̀wọ́nrín-méjì ogbè-ọ̀sá ogbè-ọtúrá
ọ̀fùn-ọ̀sá ogbè-òtúrùpọ̀n ogbè-ọtúrá
ọtúrá-méjì ogbe-ọtúrá ogbè-ògúndá
ìrẹtẹ̀-ọ̀wọ́nrín ogbè-ọ̀sá èjì-ogbè
ìrẹtẹ̀-ọ̀sá ogbè-ọ̀sá ogbè-ọ̀sá
ọ̀sá-ogbè ogbè-ọtúrá èjì-ogbè
èdì-ọtúrá èjì-ogbè èjì-ogbè
This was how programmers used to write computer programs before high level programming languages like Fortran and Lisp were created in 1957 and 1958 respectively.
For programmers, entering these patterns manually was a laborious, tedious and error-prone task. Even for a seasoned programmer, it could get dizzy and nauseating after assembling a couple of these patterns.
However, a competent Ifá priest can commit to memory 256 of these patterns without breaking a sweat and able to recite close to 4,000 Ifá verses by heart!
Effectively, the meaning of the 1s and 0s in the code above is as follows:
- Store the number 0 in memory location 0.
- Store the number 1 in memory location 1.
- Store the value of memory location 1 in memory location 2.
- Subtract the number 11 from the value in memory location 2.
- If the value in memory location 2 is the number 0 continue with instruction 9.
- Add the value of memory location 1 to memory location 0.
- Add the number 1 to the value of memory location 1.
- Continue with instruction 3.
- Output the value of memory location 0.
Using names in place of numbers for memory and instruction locations, we can do the following:
Set the value of “total” to 0.
Set the value of “count” to 1.
[loop]
Set the value of “compare” to the “count” value.
Subtract 11 from the value of “compare” .
If “compare” is zero, continue at [end].
Add “count” to the value of “total”.
Add 1 to the value of “count”.
Continue at [loop].
[end]
Output “total”.
In a modern programming language like Python, we can write the following:
total = 0
count = 1
while count <= 10:
total = total + count
count = count + 1
print total
In 2017, I wrote series of programming tutorials on this wall using the Python programming language. In the coming series of articles, I will translate the posts into Yoruba so stay tuned.
Ire o.
Credit:Ifá – Olobe Yoyon
SOURCE: rymcitigh
Saturday
God Bless America…..And Nigeria As Well!
CC™ Perspective
By Boyejo Alaba Coker
Chief Editor
While the whole world watches with sheer amazement, the ongoing "battle" for the electoral soul of America at the Supreme Court of the United States, we must be careful not to focus unnecessarily on the "negative" aspects of the pervading situation, but instead appreciate the strength and vibrancy of the democratic process and rule of law, as it obtains in the United States of America, in spite of what transpired on January 6th, 2021 at the U.S. Capitol.
Were this to happen in another country, Nigeria for example, a bunch of opportunists and hare-brains in khaki uniform would have sought by now to usurp power...hence effectively scuttling the democratic process. Instead what we see is democracy in process, even in the most precarious of situations.
The American democracy is built on a solid foundation of systems and institutions working hand-in-hand, nourished by an ever evolving but fertile climate of dialogue and compromise, guided by the tenets of civil discourse and a commitment to a workable resolution...one all sides are party to!
While it is no longer laughable to hear the chitters and chatters from around the world with regards to the "legitimacy" or "moral imperative" that unfortunately envelope the victors of a seemingly tainted process, the United States, more than any country in the history of the world and humanity, is still offers the freest, fairest and most veracious democracy ever. The veritable nature of the American system is again unfolding through the court system.
For despots, dictators and tyrants worldwide to now turn around and question the legitimacy of American leadership in the world, is at best laughable.
And as for the journalists (around the world) that seem forever captivated and mesmerized by disgraced, thieving dictators and murdering despots like Putin, Erdogan, Kim, Xi and Assad to have the nerve, gall and impudent temerity to question the veracity of the most vibrant democratic system in the world, is at best unbecoming.
Please note that the U.S. will be just fine. It is not a fledgling democracy built on mediocrity and an archaic "federal character" (as obtains in Nigeria), it is an established democracy built on a solid foundation of values and rewards, not for ineptitude and laziness, but hard-work, dedication and a commitment to service...in its truest form. Maybe someday, Nigeria can learn from this. A continuing political setting where a group that has contributed the LEAST to the progress, development and vibrant image of the country, feels that their aspirations and ideals should supersede those of others, can only spell doom for the country.
Furthermore, a continuing political setting where a group that lags behind (and I mean waaaaay behind) in all social and economic indicators, rather than look to pull themselves up to the level of the other groups, would much rather engage in religious, ethnic and gender bigotry, with a view to frustrating viable attempts at positive growth and development for the whole nation, speaks to the very heart of the need for a reassessment of the entity called Nigeria.
The continuing calls for a Sovereign National Conference are still not being heeded. This I must say is highly unfortunate. For Nigeria to move forward with a view to realizing its true potential, we (all nationalities within our nation) need to sit down and engage in civil but earnest discussions about the conditions for the continued corporate existence of Nigeria.
Enough of the quota system, federal character and population fallacy that seem to forever invite and reward mediocrity, incompetence, ineptitude and ignominy! The time is indeed ripe for the true values and ideals of equity, justice and fair play to become part and parcel of the Nigerian democratic process. It is a known fact that whatever Nigerians do, whether good or bad, once we put our minds to it, we are virtually unstoppable. However, this time let it be for the good of all and most importantly our beloved country.
It is time for the re-birth of the Nigeria that I once knew and hope to know again one day...the Nigeria that had so much promise...so much vitality; the Nigeria that had honour and integrity...the Nigeria that above all...had a CONSCIENCE, where great men and women with great minds and Godly hearts traversed the length and breath of our nation; the Nigeria that exuded so much confidence and provided hope and succour to all...at home and abroad!
We can do it, but first we must resolve to rid ourselves of the cancer of religious, ethnic, class, and gender bigotry. In the 21st century, Nigeria should be importing machinery and equipment for the purpose of industrialization and technological advancement, as opposed to the severing of arms, limbs and joints�all in the name of religion!
As I have said time and time again, if some people are hell bent on reverting to the dark days of Europe they should please let us know, so that those of us that believe in the inherent freedom of all, regardless of class, ethnicity, race, gender or religion can march on in glory into the promise and possibilities of the new millennium.
God Bless America...and Nigeria too, while He is at it!