Tuesday, March 10, 2015

Islamic benefits for the other sciences

==> Teaching "Computer Science at the service of Islam"
==> Teaching "Islamic Psychotherapy (Psycho)"
==> Teaching "Effect of Islamic activities on Neuro activity (NeuroScience)"
==> Teaching "Effect of Islam on the living earth (History and Geo)"
==> Teaching "Effect of Islam on Humans Behavior "anthropo""
==> Teaching "Effect of Islam on Thought changes in the world (philo)"
==> Teaching "Islam and Artificial Intelligence (personnal assistant)"
==> Teaching "Islam and linguistics (learning arabic)"
==> Teaching "Islam and time management (muslim life plan)"
==> Teaching "Islam and Money management (Islamic Finance)"
==> Teaching "Islam and space management (geo)"
from the arabic peninsule to the whole arabic world
==> Culture générale (bloomberg, cnbc, transport-logisitque, etc...)
==> Application of Islam to all Aspects of Life (Proof funded)
==> Urbanisme...Islamic Investment...
==> Islamic real estaate
==> Computing Scheduler for OS based on ISLAMIC management of life ..... and day considering that a new day is the restart/reboot of the computer (not for the process... :to discuss)...

Thursday, March 5, 2015

Islam Algorithm Java source

import java.util.Scanner;

public class IslamAlgorithm {

    public static void main(String[] args) {
       

char quit = 'N';

Scanner sc2 = new Scanner(System.in);



while (quit == 'N')

{




char reponse = 'N';



Scanner sc = new Scanner(System.in);



while (reponse == 'N')

{

 

  System.out.println("Adhan of al fajr ? (Y/N)");

     

  reponse = sc.nextLine().charAt(0);
 
  char c = '\n';
  int length = 25;
  char[] chars = new char[length];
  Arrays.fill(chars, c);
  System.out.print(String.valueOf(chars));
 
  System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("3ala Tahara ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("3ala Wodou2 ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}



reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("Salat al Fajr ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("Salat al Sobh in Jama3a ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}


reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("Adhkar assabah ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("Hidb Quran Reading ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("Birr al walidayne ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("Ibtigha2 Fadl Allah : Going to work ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");

}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("3ala Tahara ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("3ala Wodou2 ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}




reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("Salat al Doha ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("Back to work ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}


reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("Adhan al Dohr ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}



reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("3ala Tahara ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("3ala Wodou2 ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}


reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("Salat of Dohr ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("Lunch ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("A littlle Nap ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("Adhan al Asr ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}


reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("3ala Tahara ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("3ala Wodou2 ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}


reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("Salat al Asr ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("Adhkar al massa2 ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("Adhan al Maghreb ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}


reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("3ala Tahara ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("3ala Wodou2 ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("Salat al Maghreb ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("Quran Hisb Reading ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("Adhan al Icha2 ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("3ala Tahara ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("3ala Wodou2 ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}


reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("Salat al Icha2 ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("Going to Sleep ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

 

System.out.println("9iyam Al leil ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

reponse = 'N';



sc = new Scanner(System.in);



while (reponse == 'N')

{

  

System.out.println("Marital Affairs ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Still waiting\n\n");
}

System.out.println("Quit the personnal assistant ? (Y/N)");

  

reponse = sc.nextLine().charAt(0);
System.out.println("Another day in perspective\n\n\n\n\n");

}



    }

}

Islam, Process, Extraction, Algorithms, Patterns, Computer Science, Cognitive Science

Phd Subject :

Modeling the “Islamic life” process/algorithm, extracting the hidden algorithms, schemes, patterns, and meta-models, and application in contemporary study case and daily real life situations and issues.

Simple Goal : Islam in "If then Else endIf" Format.

Numbers of possible thesis (FIVE 7 maximum), because

modeling islamic activities  :
1') from fajr to doha
2) from doha to dohr
3) from dohr to asr
4) from asr to maghreb
5) from maghreb to icha
6) from icha to chaf3 and witr
7) from witr to fajr

Goal of the study : putting islamic activities in a holisitic algorithm from end-to-end (from A to A (from Fajr to Fajr)) and not from A to Z (not only from Fajr to ICha)), knowing that as-salat al woussta is not necessarily al-asr (but could be any prayer of the five obligatory one))

The aim of the study : show the benefits of islamic process, for muslim(s), for the society. The goal of the study : extract the algorithm/pattern, and apply it to a specific case study.


Important statements:

obligtory/fard process :
-salat * 5
-siam ramadan
-zakat
-chahada
-al hajj
-birr al walidine
-silah rahim

optionnal/sunnah process :
-hajj and al omra
-al nawafel
-siam al sounnane
-al salaf

ordinary vs extra-ordinary process :
-getting married vs being alone
-death of relatives vs life,
-getting a job vs unemployement,
-having children vs not
-something loved (mahboub) vs hated (makrouh),
-need of money vs need of salaf

Extraction outputs :

1st level Voluntary (To do) : (INPUT)

Going to the mosk
making Fasting
giving Zakat, etc
Going to the Hajj
GEtting married to a good woman
Buying a house near to mosk

Versus

Ner level volountary (to Be) (OUTPUT)
Being good, Being positive, Being serein, etc...



Instanciation possibilities/statements :
Imam : project manager,
Muezzin : project announcer,
Muslim(s) : collaborator(s),




The method  :
1)    model Islamic Life (from the fajr to fajr (for a day, a week, a month, a year, a life) in an activity modeling language (such as UML, Unified modeling language)

The necessary knowledge : Islamic priority management
فقه الأولويات

the starting point is :

وعن عائشة رضي الله عنها ، قالت : كان - تعني رسول الله صلى الله عليه وسلم - ينام أول الليل ، ويحيي آخره ، ثم إن كانت له حاجة إلى أهله قضى حاجته ثم ينام ، فإن كان عند النداء الأول جنبا ، وثب فأفاض عليه الماء ، وإن لم يكن جنبا توضأ للصلاة ، ثم صلى ركعتين . متفق عليه


if time after "icha2" then sleep

then pray "night 9iyam"

then if need be marital relationship

then sleep

when the first adhan occurs

if "jounoub" then jump (hurry) to make "ightissal"

if not jounoub then make "wodou2"

then pray two rakaats (may be fajr)

http://library.islamweb.net/newlibrary/display_book.php?flag=1&bk_no=79&ID=2448

The first thing to modelise :

 أحب الأعمال إلى الله
http://fatwa.islamweb.net/fatwa/index.php?page=showfatwa&Option=FatwaId&Id=4014

1) Fajr adhan (external trigger)
when the first adhan occurs
if "jounoub" then jump (hurry) to make "ightissal"
if not jounoub then make "wodou2"
then pray two rakaats (may be fajr)

2) Sobh Salat
and so on and so forth...

3) adhkar after salat
http://fatwa.islamweb.net/fatwa/index.php?page=showfatwa&lang=&Option=FatwaId&Id=17574

4) Seeing if Parents need something
 أحب الأعمال إلى الله
http://fatwa.islamweb.net/fatwa/index.php?page=showfatwa&Option=FatwaId&Id=4014

See also
http://fatwa.islamweb.net/fatwa/index.php?page=showfatwa&Option=FatwaId&Id=189679

5) reading Quran till Chourouq
http://fatwa.islamweb.net/fatwa/index.php?page=showfatwa&Option=FatwaId&Id=41306


The islamic life process will include parallel and interdependant process such as :

·    Islamic prayer : Salat
=> Time management, Pjct management
·    Islamic Finance : Zakat, Sada9a, Salaf, Rahn
=> Socio-Economic Disorders
·    Islamic fasting : Siam, ramadan, ayam al beid, etc...
=> Health Disorders
·    Islamic Pelegrimage : hajj, and omra
=> Spiritual Disorders
·    good deeds : altruism, etc...
=> Social Disorders

2)    Implementing the model using Java.

3)    instanciate the specific islamic process metamodel with the case study values, and execute/run it. he case study could be based on cognitive sciences values :

·    Psychology : how Islamic activities acts upon psychic activities, will, depression, anxiety, compulsion, etc…

·    Philosophy : how Islamic activities acts upon good deeds, altruism, etc.

·    Linguistics : How Islamic activities acts upon linguistics capacities, How learning the quran enables to learn easily any other language (akkadian, persian, etc...), how one can learn quran easily at any age (search for the story of the sahabi that learns the quran at 50 years old),

·    Artificial Intelligence : how A.I. can be used to help muslim fulfill their religion, through a holistic personnel assistant offering step-by-step and day by day support, and automatic personnel assistant helping applying Islam as it should be.

The automatic muslim :

=> problem solver/resolution
=> A. I. personnal assistant
=> Islamic Operating System (Scheduler, tasks, process, sequential vs parallel, etc...).

·    Neuroscience : how Islamic activities acts upon brain activities, memory, decision making, etc.

·    Anthropology : how Islamic activities acts upon human behavior as one, social activity as a group, from the same religion, from the same planet,…

Computer science, Information technology : simulation of a perfect muslim society, considering different parallel Java thread (or C forks) representing different muslim :


Instantiation techniques :

For ex    ample, for Neuroscience :
What memory types are trigered by specific islamic activities,
Going to the mosk ==> Spatial Memory
Performing Salat => Procedural memory
Reciting al Fatiha => Semantic memory

etc...

4)    Running the instanciated metamodel, and then extract the hidden algortithms and patterns (using model driven engineering),

Application possibilities
-prayer (day, week) vs. psycho-social disorders,
-fasting + islamic principles for eating/drinking (day, week, month, year) vs. health disorders,
-inheritance (and sadaka, zakat, salaf, islamic finance) vs. social-economic disorders.
-salat => time management
-Islamic finance => money management
-siam => health management
-Islam => project management (life as a project)
Carrier management => delegation etc..
Speciality => koul moyassar ila ma oukhtir lah
space management ==> constructs "soufouf" for prayer
==> Walking inside the mosk, obstacle avoiding...etc...

Saturday, February 21, 2015

how to be a good muslim using information technology (android app, A.I., etc...)

incha2a Allah :

Me (big process vs small tasks)
Brian tracy (delegation and skills)
David Bach (AUTOMATION)
think big, start small, scale fast

Recherche ANNEXES :
1) from Text to JAVA.
2) from Text to UML.

3) centre marocain recherche islamique
IS process, practices, etc..
>> phd avec WORLDS
>> patterns and models
=> spinoff : books * N : muslim life plan

4) incubateur marocain app android
>> start-up de ANDROID
>> search, perso assist, nutrition, investement,
>>>>>>>>> Automatic muslim
=> spinoff : game islamic SIMs

rechercher & developpement => Enseignement

Thursday, February 19, 2015

Islamic Life Plan : from dawn to dawn || from dusk to dusk

http://library.islamweb.net/newlibrary/display_book.php?flag=1&bk_no=79&ID=2448

وعن عائشة رضي الله عنها ، قالت : كان - تعني رسول الله صلى الله عليه وسلم - ينام أول الليل ، ويحيي آخره ، ثم إن كانت له حاجة إلى أهله قضى حاجته ثم ينام ، فإن كان عند النداء الأول جنبا ، وثب فأفاض عليه الماء ، وإن لم يكن جنبا توضأ للصلاة ، ثم صلى ركعتين . متفق عليه


if time after "icha2" then sleep


then pray "night 9iyam"


then if need be marital relationship

then sleep

when the first adhan occurs

if "jounoub" then jump (hurry) to make "ightissal"

if not jounoub then make "wodou2"

then pray two rakaats (may be fajr)



more at http://library.islamweb.net/hadith/display_hbook.php?hflag=1&bk_no=298&pid=137059


Sunday, February 8, 2015

Information technology + islam ==> pattern extraction researchs

Information technology + islam ==> pattern extraction researchs



1) the effect of islamic prayer in preventing social/psychic/neurologic disorders :

A) modeling "salat" in UML (state diagram, activity diagram, etc)
B) modeling a specific disorder (alzheimer, Obsessive–compulsive disorder, Bipolar disorder, etc)

C) confronting both modeling by simulating the integration of the 2nd inside the first,

D) proving the NON possibility to run a disorder pattern or scenario inside a holistic (body-mind-spirit) approach like "as-salat"..


salat (from dusk to dawn) vs Obsessive–compulsive disorder,
mariage and irth (heritage) (over 1 to N generation) vs social decomposition,


Saturday, February 7, 2015

Islamic business Model

key partners : islamic banks, islamic investors : no riba included.

key activities : could be anything.

key resources : people valuing integrity (good muslims).

input channels : cooperative, ta3aouniate, fair trade, small producers (integrity),

output channels : helping developping financial independances for poor people.

Popular Posts