Random Articles (Page 6)

Have a deep view into what people are curious about.

πŸ”— Cargo cult programming

πŸ”— Computing πŸ”— Computer science πŸ”— Computing/Software πŸ”— Computing/Computer science

Cargo cult programming is a style of computer programming characterized by the ritual inclusion of code or program structures that serve no real purpose. Cargo cult programming is symptomatic of a programmer not understanding either a bug they were attempting to solve or the apparent solution (compare shotgun debugging, deep magic). The term cargo cult programmer may apply when an unskilled or novice computer programmer (or one inexperienced with the problem at hand) copies some program code from one place to another with little understanding of how it works or whether it is required.

Cargo cult programming can also refer to the practice of applying a design pattern or coding style blindly without understanding the reasons behind that design principle. Examples being adding unnecessary comments to self-explanatory code, overzealous adherence to the conventions of a programming paradigm, or adding deletion code for objects that garbage collection automatically collect.

Obsessive and redundant checks for null values or testing whether a collection is empty before iterating its values may be a sign of cargo cult programming. Such obsessive checks make the code less readable, and often prevent the output of proper error messages, obscuring the real cause of a misbehaving program.

Discussed on

πŸ”— FOGBANK

πŸ”— Military history πŸ”— Military history/North American military history πŸ”— Military history/United States military history πŸ”— Military history/Military science, technology, and theory πŸ”— Military history/Weaponry πŸ”— Physics πŸ”— Chemistry

FOGBANK is a code name given to a material used in nuclear weapons such as the W76, W78 and W80.

FOGBANK's precise nature is classified; in the words of former Oak Ridge general manager Dennis Ruddy, "The material is classified. Its composition is classified. Its use in the weapon is classified, and the process itself is classified." Department of Energy Nuclear Explosive Safety documents simply describe it as a material "used in nuclear weapons and nuclear explosives" along with lithium hydride (LiH) and lithium deuteride (LiD), beryllium (Be), uranium hydride (UH3), and plutonium hydride.

However National Nuclear Security Administration (NNSA) Administrator Tom D'Agostino disclosed the role of FOGBANK in the weapon: "There's another material in theβ€”it's called interstage material, also known as fog bank", and arms experts believe that FOGBANK is an aerogel material which acts as an interstage material in a nuclear warhead; i.e., a material designed to become a superheated plasma following the detonation of the weapon's fission stage, the plasma then triggering the fusion-stage detonation.

πŸ”— Perpetual Bond

πŸ”— Finance & Investment πŸ”— Economics

A perpetual bond, also known colloquially as a perpetual or perp, is a bond with no maturity date, therefore allowing it to be treated as equity, not as debt. Issuers pay coupons on perpetual bonds forever, and they do not have to redeem the principal. Perpetual bond cash flows are, therefore, those of a perpetuity.

Discussed on

πŸ”— Types of Prostitution in Modern Japan

πŸ”— Sexology and sexuality πŸ”— Japan πŸ”— Japan/History πŸ”— Japan/Culture πŸ”— Japan/Law and government πŸ”— Gender Studies πŸ”— Sexology and sexuality/Sex work

Prostitution in modern Japan, as defined under Japanese law, is the illegal practice of sexual intercourse with an 'unspecified' (unacquainted) person in exchange for monetary compensation, which was criminalised in 1956 by the introduction of article 3 of the Anti-Prostitution Law (ε£²ζ˜₯ι˜²ζ­’ζ³•, Baishun bōshi hō). However, the definition of prostitution made illegal under this law is strictly limited to sexual intercourse with an 'unspecified person', and does not criminalise the sale of numerous other acts performed by sex workers in exchange for compensation, such as oral sex, anal sex, mammary intercourse, and other non-coital sex acts; the Businesses Affecting Public Morals Regulation Law of 1948 (ι’¨δΏ—ε–Άζ₯­ε–締法, FΕ«zoku eigyō torishimari hō), also known as the "Law to Regulate Adult Entertainment Businesses", amended in 1985, 1999 and 2005, regulates these businesses, making only one definition of prostitution in Japan illegal.

Following the criminalisation of payment for sexual intercourse, the sex industry in Japan has developed into a number of varied businesses and offering services not prohibited under Japanese law. These fall into a number of categories known by various euphemistic names, such as soaplands, fashion health shops, and pink salons, with the term "health" commonly being a euphemism for sexual services. These businesses typically operate out of physical premises, either with their own employees or freelancers such as call girls, who may operate via Internet dating sites known as deai sites (Internet dating sites) or via delivery health services.

Discussed on

πŸ”— Here is one hand

πŸ”— Philosophy πŸ”— Philosophy/Epistemology

Here is one hand is an epistemological argument created by George Edward Moore in reaction against philosophical skepticism and in support of common sense.

The argument takes the following form:

  • Here is one hand,
  • And here is another.
  • There are at least two external objects in the world.
  • Therefore, an external world exists.

πŸ”— Anisotropic Filtering

πŸ”— Video games πŸ”— Computing πŸ”— Computer graphics

In 3D computer graphics, anisotropic filtering (abbreviated AF) is a method of enhancing the image quality of textures on surfaces of computer graphics that are at oblique viewing angles with respect to the camera where the projection of the texture (not the polygon or other primitive on which it is rendered) appears to be non-orthogonal (thus the origin of the word: "an" for not, "iso" for same, and "tropic" from tropism, relating to direction; anisotropic filtering does not filter the same in every direction).

Like bilinear and trilinear filtering, anisotropic filtering eliminates aliasing effects, but improves on these other techniques by reducing blur and preserving detail at extreme viewing angles.

Anisotropic filtering is relatively intensive (primarily memory bandwidth and to some degree computationally, though the standard space–time tradeoff rules apply) and only became a standard feature of consumer-level graphics cards in the late 1990s. Anisotropic filtering is now common in modern graphics hardware (and video driver software) and is enabled either by users through driver settings or by graphics applications and video games through programming interfaces.

Discussed on

πŸ”— CORDIC

πŸ”— Computer science πŸ”— Mathematics

CORDIC (for COordinate Rotation DIgital Computer), also known as Volder's algorithm, or: Digit-by-digit method Circular CORDIC (Jack E. Volder), Linear CORDIC, Hyperbolic CORDIC (John Stephen Walther), and Generalized Hyperbolic CORDIC (GH CORDIC) (Yuanyong Luo et al.), is a simple and efficient algorithm to calculate trigonometric functions, hyperbolic functions, square roots, multiplications, divisions, and exponentials and logarithms with arbitrary base, typically converging with one digit (or bit) per iteration. CORDIC is therefore also an example of digit-by-digit algorithms. CORDIC and closely related methods known as pseudo-multiplication and pseudo-division or factor combining are commonly used when no hardware multiplier is available (e.g. in simple microcontrollers and FPGAs), as the only operations it requires are additions, subtractions, bitshift and lookup tables. As such, they all belong to the class of shift-and-add algorithms. In computer science, CORDIC is often used to implement floating-point arithmetic when the target platform lacks hardware multiply for cost or space reasons.

Discussed on

πŸ”— VisiCalc

πŸ”— Computing πŸ”— Business πŸ”— Computing/Software πŸ”— Business/Accounting

VisiCalc (for "visible calculator") was the first spreadsheet computer program for personal computers, originally released for the Apple II by VisiCorp. It is often considered the application that turned the microcomputer from a hobby for computer enthusiasts into a serious business tool, prompting IBM to introduce the IBM PC two years later. VisiCalc is considered the Apple II's killer app. It sold over 700,000 copies in six years, and as many as 1 million copies over its history.

Initially developed for the Apple II using a 6502 assembler running on the Multics time sharing system, VisiCalc was ported to numerous platforms, both 8-bit and some of the early 16-bit systems. In order to do this, the company developed porting platforms that produced bug compatible versions. The company took the same approach when the IBM PC was launched, producing a product that was essentially identical to the original 8-bit Apple II version. Sales were initially brisk, with about 300,000 copies sold.

VisiCalc used the A1 notation in formulas.

When Lotus 1-2-3 was launched in 1983, taking full advantage of the expanded memory and screen of the PC, VisiCalc sales ended almost overnight. Sales declined so rapidly that the company was soon insolvent. Lotus Development purchased the company in 1985, and immediately ended sales of VisiCalc and the company's other products.

Discussed on

πŸ”— Men's Shed

πŸ”— Australia πŸ”— Organizations πŸ”— Men's Issues

Men's sheds or community sheds are non-profit local organisations that provide a space for craftwork and social interaction. The movement originated in Australia around the 1980s as a way to improve the health and wellbeing of older men. However some have expanded their remit to anyone regardless of age or gender, and have similar aims and functions to hackerspaces. There are over 900 located across Australia, with thousands of active members. Men's sheds can also be found in the United Kingdom, Ireland, United States, Canada, Finland, Estonia, New Zealand and Greece.

The slogan for men's sheds is "Shoulder To Shoulder", shortened from "Men don't talk face to face, they talk shoulder to shoulder", adopted after the 2008 Australian Men's Shed Association (AMSA) conference. The users of men's sheds are known as "shedders". In 2014, Professor Barry Golding coined the term "shedagogy" to describe "a distinctive, new way of acknowledging, describing and addressing the way some men prefer to learn informally in shed-like spaces mainly with other men." Sheds as a venue for mentoring other men and Inter-generational mentoring is a growing outcome. Academics are using men's sheds as a research venue and research partner in exploring men's health and social needs.

Discussed on