Monday, February 14, 2022

Learning Java: Intorduction

Hello everyone !

Ready to learn Java Programming !

What is Java:

Java is a very efficient and versatile programming language which can be used in any computer such as windows, linux, android, ios etc. That is why they call Java a platform independent programming language. Although there are other popular programming languages used by the programmers, Java is still being used for its efficiency in web development. Some other popular programming languages are Python, C++, C#, Perl, Ruby, PHP etc.

We intend to discuss about coding with Java in this learning article.

Java is a high-level, class-based, object-oriented programming language that is designed to have as few implementation dependencies as possible. It is a general-purpose programming language intended to let programmers write once, run anywhere (WORA), meaning that compiled Java code can run on all platforms that support Java without the need to recompile. Java applications are typically compiled to bytecode that can run on any Java virtual machine (JVM) regardless of the underlying computer architecture. The syntax of Java is similar to C and C++, but has fewer low-level facilities than either of them. The Java runtime provides dynamic capabilities (such as reflection and runtime code modification) that are typically not available in traditional compiled languages. As of 2019, Java was one of the most popular programming languages in use according to GitHub, particularly for client–server web applications, with a reported 9 million developers.

History of Java:

Java was originally developed by James Gosling at Sun Microsystems and released in May 1995 as a core component of Sun Microsystems' Java platform. The original and reference implementation Java compilers, virtual machines, and class libraries were originally released by Sun under proprietary licenses. As of May 2007, in compliance with the specifications of the Java Community Process, Sun had relicensed most of its Java technologies under the GPL-2.0-only license. Oracle offers its own HotSpot Java Virtual Machine, however the official reference implementation is the OpenJDK JVM which is free open-source software and used by most developers and is the default JVM for almost all Linux distributions.

Before Java was evolved there were other programming language in use, such as: FORTRAN, Basic, Visual Basic, C programming. Because of some limitations in those languages Sun Microsystems engineers developed Java to overcome those limitations. Java is also called a high level programming language as it has similarity to spoken words of humans. It is a procedural language as it follows an order of a set of commands. Now java is owned by Oracle.

James Gosling, Mike Sheridan, and Patrick Naughton initiated the Java language project in June 1991. Java was originally designed for interactive television, but it was too advanced for the digital cable television industry at the time. The language was initially called Oak after an oak tree that stood outside Gosling's office. Later the project went by the name Green and was finally renamed Java, from Java coffee, a type of coffee from Indonesia. Gosling designed Java with a C/C++-style syntax that system and application programmers would find familiar.

Sun Microsystems released the first public implementation as Java 1.0 in 1996. It promised write once, run anywhere (WORA) functionality, providing no-cost run-times on popular platforms. Fairly secure and featuring configurable security, it allowed network and file-access restrictions. Major web browsers soon incorporated the ability to run Java applets within web pages, and Java quickly became popular. The Java 1.0 compiler was re-written in Java by Arthur van Hoff to comply strictly with the Java 1.0 language specification. With the advent of Java 2 (released initially as J2SE 1.2 in December 1998 – 1999). New versions had multiple configurations built for different types of platforms. J2EE included technologies and APIs for enterprise applications typically run in server environments, while J2ME featured APIs optimized for mobile applications. The desktop version was renamed J2SE. In 2006, for marketing purposes, Sun renamed new J2 versions as Java EE, Java ME, and Java SE, respectively.

In 1997, Sun Microsystems approached the ISO/IEC JTC 1 standards body and later the Ecma International to formalize Java, but it soon withdrew from the process. Java remains a de facto standard, controlled through the Java Community Process. At one time, Sun made most of its Java implementations available without charge, despite their proprietary software status. Sun generated revenue from Java through the selling of licenses for specialized products such as the Java Enterprise System.

On November 13, 2006, Sun released much of its Java virtual machine (JVM) as free and open-source software (FOSS), under the terms of the GPL-2.0-only license. On May 8, 2007, Sun finished the process, making all of its JVM's core code available under free software/open-source distribution terms, aside from a small portion of code to which Sun did not hold the copyright.

Sun's vice-president Rich Green said that Sun's ideal role with regard to Java was as an evangelist. Following Oracle Corporation's acquisition of Sun Microsystems in 2009–10, Oracle has described itself as the steward of Java technology with a relentless commitment to fostering a community of participation and transparency. This did not prevent Oracle from filing a lawsuit against Google shortly after that for using Java inside the Android SDK (see the Android section).

On April 2, 2010, James Gosling resigned from Oracle.

In January 2016, Oracle announced that Java run-time environments based on JDK 9 will discontinue the browser plugin.

Java software runs on everything from laptops to data centers, game consoles to scientific supercomputers.



Some other features of Java programming language:

1. Java is object oriented programming language

2. It is platform independent (write once and run anywhere)

3. It is a robust language where exception handling is easier

4. It is secure

5. It is multi-threaded can execute different thread simultaneously.

The next lesson will be how we can start learning Java programming by installing Java Development Kit (JDK) and Integrated Development Environment (IDE).

 

Class Notes:

1. A high-level language in computer programming is the language that is comprehended by humans. A low-level language is the language that is understood by the computer.

2. The process of compilation: Compiling is the process of transforming a high level language into a low level language. A high level language is closer to English. A low level language is closer to what the computer understands.

Compiler is a program. Compiler takes the recipe (code) for a new program (written in a high level language) and transforms this code into a new language (Machine Language) that can be understood by the computer itself. This "machine language" is difficult to impossible for humans to read and understand, thus the need for "high level languages" such as Java or C.




Sunday, February 13, 2022

Hifz Academy: Guardians accusing sickness from spoiled school lunch.

Recently we have reports of students getting sick after eating lunch at Hifz Academy. There were several concerns over the food the school is providing for it's students. Last Monday some kids said they didn't like the way the mac and cheese was smelling especially the meatballs in it, and avoided eating it. Some consumed the food without noticing that and became sick.

The food supply system of the school has been under fire from guardians and workers for some time. Recently, concerns over Hifz Academy food has grown over this incident of students getting sick after eating the lunch. If the standard process of food handling and food safety was followed according to city and county guideline this kind of complaint should never come. Now that there are some sporadic talks about the school's food being below standard; the authority should pay attention to the matter. The sourcing of food ingredients also has different concerns other than being healthy. They are the question of being halal in the Islamic way and hygienic in the food safety standard.

Monday, February 7, 2022

What milk you drink?

Most milk we buy from the supermarket is of inferior quality in many different ways. We have seen adulteration of food everywhere on earth. People who are involved in adulteration of food items and food ingredients are actually unknowingly falling victims to their own business. All the prevailing diseases on earth are the result of unhealthy food. Diabetes, cancer, stomach ulcer, high blood pressure, high cholesterol, heart dysfunction, kidney dysfunction, lung failure you name it. We hear the saying that says, "you are what you eat." So, all kinds of sickness is directly or indirectly related to food.

We have heard in the past that milkman add water to dilute milk to increase his volume to make more money. That kind of action didn't really change the quality of milk the way it is happening now-a-days.

Dairy farms has been industrialized. So, instead of getting farm quality milk we are getting industrial grade milk. They have set up their industrial standards, which in turn resulted to produce and market inferior quality milk for public consumption. All kinds of animal has their choice of diet by nature. But when dairy farmers were struggling to maximize profit, not until very recent industrialization of farming, they started to feed the cows with unusual diet. Then it started to degrade the milk for human consumption.

Cows sustenance is from plants and grass that they eat. Many pastures are gone with the wind of housing projects. Farmers are relying mostly on processed food for the cows and treating cows with artificial growth hormone. This eventually produces inferior quality milk, butter and cheese.


Saturday, February 5, 2022

If you yell at people they will not complain anymore !

Masjid Al Jameya at ISTABA, as we all know, is a big and old place of worship in Tampa Bay area. Many people work here and a lot of money is spent to keep the Masjid running. And the authority as it claims to be, is working for the sake of Allah only without any remuneration; which is very much appreciative. Somebody by mistake, has asked one of the administrators - while he was out supervising the new construction - that the bathroom was not properly clean on a Friday prior to the jumuah prayer. He could be harsh, we don't know. Another high echelon administrator of ISTABA grabbed the microphone, right after the jumuah prayer and blew away the accuser, saying this kind of intervention was not right as the administrators are not getting paid. And perhaps the accuser might have never cleaned the bathroom of the masjid before, so he doesn't have the right to say something. And the authority as per Friday's outburst, wants people to go to the office and file an accusation if needed.
But we don't know of any concrete policy of the authority how they are going to handle the complaints. One thing I understand is that the accuser might have been wrong the way he approached a person of higher echelon at ISTABA. But the complaint could be valid. On the other hand complaint about bathroom is a common issue. Also we have to keep in mind that this is an old masjid. The bathrooms might be in need of renovation. Whatever the cause is, it is common in the community of Indian sub-continent that they care less about bathrooms. Actually, bathroom is your profile statement. For the Muslims it's even more obvious that our worship starts with cleanliness. Muslims get rewards simply for staying clean in the state of wudu.
The authority always brag about spending huge amounts of money to keep the masjid running, but there is no concrete picture of that in an annual report or in any kind of audit. A portion of the money that they say are being spent in a month can replace such a shabby bathroom with a clean shiny one. I would urge the authority to declare a concrete online complaint system so that people can state their arguments and complaints and see what kind of resolution comes from the authority. Another concern is please don't yell at anybody who yelled at you. That person may be a commonplace but you are the authority.

Is Govt. of India Anti-Muslim !

News says India is trying to contain the diplomatic fallout, as outrage grows in the Muslim world following derogatory comments made by ruli...