Random Articles (Page 423)
Have a deep view into what people are curious about.
π Aspect-Oriented Programming
In computing, aspect-oriented programming (AOP) is a programming paradigm that aims to increase modularity by allowing the separation of cross-cutting concerns. It does so by adding behavior to existing code (an advice) without modifying the code itself, instead separately specifying which code is modified via a "pointcut" specification, such as "log all function calls when the function's name begins with 'set'". This allows behaviors that are not central to the business logic (such as logging) to be added to a program without cluttering the code core to the functionality.
AOP includes programming methods and tools that support the modularization of concerns at the level of the source code, while aspect-oriented software development refers to a whole engineering discipline.
Aspect-oriented programming entails breaking down program logic into distinct parts (so-called concerns, cohesive areas of functionality). Nearly all programming paradigms support some level of grouping and encapsulation of concerns into separate, independent entities by providing abstractions (e.g., functions, procedures, modules, classes, methods) that can be used for implementing, abstracting and composing these concerns. Some concerns "cut across" multiple abstractions in a program, and defy these forms of implementation. These concerns are called cross-cutting concerns or horizontal concerns.
Logging exemplifies a crosscutting concern because a logging strategy necessarily affects every logged part of the system. Logging thereby crosscuts all logged classes and methods.
All AOP implementations have some crosscutting expressions that encapsulate each concern in one place. The difference between implementations lies in the power, safety, and usability of the constructs provided. For example, interceptors that specify the methods to express a limited form of crosscutting, without much support for type-safety or debugging. AspectJ has a number of such expressions and encapsulates them in a special class, an aspect. For example, an aspect can alter the behavior of the base code (the non-aspect part of a program) by applying advice (additional behavior) at various join points (points in a program) specified in a quantification or query called a pointcut (that detects whether a given join point matches). An aspect can also make binary-compatible structural changes to other classes, like adding members or parents.
Discussed on
- "Aspect-Oriented Programming" | 2023-06-13 | 90 Upvotes 96 Comments
π Bohm Dialogue
Bohm Dialogue (also known as Bohmian Dialogue or "Dialogue in the Spirit of David Bohm") is a freely flowing group conversation in which participants attempt to reach a common understanding, experiencing everyone's point of view fully, equally and nonjudgementally. This can lead to new and deeper understanding. The purpose is to solve the communication crises that face society, and indeed the whole of human nature and consciousness. It utilizes a theoretical understanding of the way thoughts relate to universal reality. It is named after physicist David Bohm who originally proposed this form of dialogue.
Discussed on
- "Bohm Dialogue" | 2019-10-02 | 46 Upvotes 14 Comments
π Carrington Event
The Carrington Event was the most intense geomagnetic storm in recorded history, peaking from 1β2 September 1859 during solar cycle 10. It created strong auroral displays that were reported globally and caused sparking and even fires in multiple telegraph stations. The geomagnetic storm was most likely the result of a coronal mass ejection (CME) from the Sun colliding with Earth's magnetosphere.
The geomagnetic storm was associated with a very bright solar flare on 1 September 1859. It was observed and recorded independently by British astronomers Richard Christopher Carrington and Richard Hodgsonβthe first records of a solar flare.
A geomagnetic storm of this magnitude occurring today would cause widespread electrical disruptions, blackouts, and damage due to extended outages of the electrical power grid.
Discussed on
- "Carrington Event" | 2024-05-12 | 43 Upvotes 16 Comments
π Gray Code
The reflected binary code (RBC), also known just as reflected binary (RB) or Gray code after Frank Gray, is an ordering of the binary numeral system such that two successive values differ in only one bit (binary digit). The reflected binary code was originally designed to prevent spurious output from electromechanical switches. Today, Gray codes are widely used to facilitate error correction in digital communications such as digital terrestrial television and some cable TV systems.
Discussed on
- "Gray Code" | 2015-08-27 | 86 Upvotes 22 Comments
π Half-Life of Knowledge
The half-life of knowledge or half-life of facts is the amount of time that has to elapse before half of the knowledge or facts in a particular area is superseded or shown to be untrue. These coined terms belong to the field of quantitative analysis of science known as scientometrics.
These ideas of half-life applied to different fields differ from the concept of half-life in physics in that there is no guarantee that the knowledge or facts in areas of study are declining exponentially. It is unclear that there is any way to establish what constitutes "knowledge" in a particular area, as opposed to mere opinion or theory.
An engineering degree went from having a half life of 35 years in ca. 1930 to about 10 years in 1960.
A Delphi Poll showed that the half life of psychology as measured in 2016 ranged from 3.3 to 19 years depending on the specialty, with an average of a little over 7 years.
It has also been used in Christian missiology to increase the effectiveness of their teachings.
π Kensington Security Slot
A Kensington Security Slot (also called a K-Slot or Kensington lock) is part of an anti-theft system designed in the early 1990s and patented by Kryptonite in 1999β2000, assigned to Schlage in 2002, and since 2005 owned and marketed by Kensington Computer Products Group, a division of ACCO Brands.
Discussed on
- "Kensington Security Slot" | 2010-06-08 | 26 Upvotes 19 Comments
π Frequency Format Hypothesis
The frequency format hypothesis is the idea that the brain understands and processes information better when presented in frequency formats rather than a numerical or probability format. Thus according to the hypothesis, presenting information as 1 in 5 people rather than 20% leads to better comprehension. The idea was proposed by German scientist Gerd Gigerenzer, after compilation and comparison of data collected between 1976β1997.
Discussed on
- "Frequency Format Hypothesis" | 2023-03-26 | 47 Upvotes 11 Comments
π Jadi
Amir Emad Mirmirani (Persian: Ψ§Ω ΫΨ±ΨΉΩ Ψ§Ψ― Ω ΫΨ±Ω ΫΨ±Ψ§ΩΫ) known by the nickname Jadi, is a programmer, blogger and internet activist in the field of Free and open-source software and Linux in Iran. He was arrested in October 2022 during the Iranian protests following the death of Mahsa Amini.
Discussed on
- "Jadi" | 2022-11-01 | 11 Upvotes 1 Comments
π History of Slavery in the Muslim World
The history of slavery in the Muslim world began with institutions inherited from pre-Islamic Arabia; and the practice of keeping slaves subsequently developed in radically different ways, depending on social-political factors such as the Arab slave trade. Any non-Muslim could be enslaved. Throughout Islamic history, slaves served in various social and economic roles, from powerful emirs to harshly treated manual laborers. Early on in Muslim history slaves provided plantation labor similar to that in the early-modern Americas, but this practice was abandoned after harsh treatment led to destructive slave revolts, the most notable being the Zanj Rebellion of 869β883. Slaves were widely employed in irrigation, mining, and animal husbandry, but most commonly as soldiers, guards, domestic workers, concubines and sex slaves. Many rulers relied on military slaves (often in huge standing armies) and on slaves in administration - to such a degree that the slaves could sometimes seize power. Among black slaves, there were roughly two females to every one male. Two rough estimates by scholars of the numbers of just one group - black slaves held over twelve centuries in the Muslim world - are 11.5 million and 14 million, while other estimates indicate a number between 12 and 15 million African slaves prior to the 20th century.
Islam encouraged the manumission of Muslim slaves as a way of expiating sins. Many early converts to Islam, such as Bilal, were former slaves. In theory, slavery in Islamic law does not have a racial or color basis, although this has not always been the case in practice. In 1990 the Cairo Declaration on Human Rights in Islam declared that "no one has the right to enslave" another human being. Many slaves were imported from outside the Muslim world.
The Arab slave trade was most active in West Asia, North Africa, and Southeast Africa. The Ottoman slave trade exploited the human resources of eastern and central Europe and the Caucasus; the Barbary Coast slave traders raided the Mediterranean coasts of Europe and as far afield as the British Isles and Iceland. In the early 20th century (post-World War I), authorities gradually outlawed and suppressed slavery in Muslim lands, largely due to pressure exerted by Western nations such as Britain and France. Slavery in the Ottoman Empire was abolished in 1924 when the new Turkish Constitution disbanded the Imperial Harem and made the last concubines and eunuchs free citizens of the newly proclaimed republic. Slavery in Iran was abolished in 1929. Mauritania became the last state to abolish slavery - in 1905, 1981, and again in August 2007. Oman abolished slavery in 1970, and Saudi Arabia and Yemen abolished slavery in 1962 under pressure from Britain. However, slavery claiming the sanction of Islam is documented at present in the predominantly Islamic countries of the Sahel, and is also practiced by ISIS and Boko Haram. It is also practiced in countries like Libya and Mauritania - despite being outlawed.
Discussed on
- "History of Slavery in the Muslim World" | 2022-04-24 | 11 Upvotes 1 Comments