document_title: History of computer science

question_text: who is credited with being the originator of the computer

text: History of computer science

text: Prehistory[edit]

text: The earliest known tool for use in computation was the abacus, developed in the period between 2700–2300 BCE in Sumer.[citation needed] The Sumerians' abacus consisted of a table of successive columns which delimited the successive orders of magnitude of their sexagesimal number system.[3]:11 Its original style of usage was by lines drawn in sand with pebbles .[citation needed] Abaci of a more modern design are still used as calculation tools today.[4]

text: In 1110 BC, the south-pointing chariot was invented in ancient China. It was the first known geared mechanism to use a differential gear, which was later used in analog computers. The Chinese also invented a more sophisticated abacus from around the 2nd century BC known as the Chinese abacus.

text: In the 5th century BC in ancient India, the grammarian Pāṇini formulated the grammar of Sanskrit in 3959 rules known as the Ashtadhyayi which was highly systematized and technical. Panini used metarules, transformations and recursions.[5]

text: The Antikythera mechanism is believed to be an early mechanical analog computer.[6] It was designed to calculate astronomical positions. It was discovered in 1901 in the Antikythera wreck off the Greek island of Antikythera, between Kythera and Crete, and has been dated to circa 100 BC.

text: Mechanical analog computer devices appeared again a thousand years later in the medieval Islamic world and were developed by Muslim astronomers, such as the mechanical geared astrolabe by Abū Rayhān al-Bīrūnī,[7] and the torquetum by Jabir ibn Aflah.[8] According to Simon Singh, Muslim mathematicians also made important advances in cryptography, such as the development of cryptanalysis and frequency analysis by Alkindus.[9][10] Programmable machines were also invented by Muslim engineers, such as the automatic flute player by the Banū Mūsā brothers,[11] and Al-Jazari's programmable humanoid automata and castle clock, which is considered to be the first programmable analog computer.[12] Technological artifacts of similar complexity appeared in 14th century Europe, with mechanical astronomical clocks.[13]

text: When John Napier discovered logarithms for computational purposes in the early 17th century,[citation needed] there followed a period of considerable progress by inventors and scientists in making calculating tools. In 1623 Wilhelm Schickard designed a calculating machine, but abandoned the project, when the prototype he had started building was destroyed by a fire in 1624 .[citation needed] Around 1640, Blaise Pascal, a leading French mathematician, constructed a mechanical adding device based on a design described by Greek mathematician Hero of Alexandria.[14] Then in 1672 Gottfried Wilhelm Leibniz invented the Stepped Reckoner which he completed in 1694.[15]

text: In 1837 Charles Babbage first described his Analytical Engine which is accepted as the first design for a modern computer. The analytical engine had expandable memory, an arithmetic unit, and logic processing capabilities able to interpret a programming language with loops and conditional branching. Although never built, the design has been studied extensively and is understood to be Turing equivalent. The analytical engine would have had a memory capacity of less than 1 kilobyte of memory and a clock speed of less than 10 Hertz .[citation needed]

text: Considerable advancement in mathematics and electronics theory was required before the first modern computers could be designed.[citation needed]

text: Binary logic[edit]

text: In 1702, Gottfried Wilhelm Leibniz developed logic in a formal, mathematical sense with his writings on the binary numeral system. In his system, the ones and zeros also represent true and false values or on and off states. But it took more than a century before George Boole published his Boolean algebra in 1854 with a complete system that allowed computational processes to be mathematically modeled .[16]

text: By this time, the first mechanical devices driven by a binary pattern had been invented. The industrial revolution had driven forward the mechanization of many tasks, and this included weaving. Punched cards controlled Joseph Marie Jacquard's loom in 1801, where a hole punched in the card indicated a binary one and an unpunched spot indicated a binary zero. Jacquard's loom was far from being a computer, but it did illustrate that machines could be driven by binary systems .[16]

text: Creation of the computer[edit]

text: Before the 1920s, computers (sometimes computors) were human clerks that performed computations. They were usually under the lead of a physicist. Many thousands of computers were employed in commerce, government, and research establishments. Most of these computers were women.[17][18][19][20] Some performed astronomical calculations for calendars, others ballistic tables for the military.

text: After the 1920s, the expression computing machine referred to any machine that performed the work of a human computer, especially those in accordance with effective methods of the Church-Turing thesis. The thesis states that a mathematical method is effective if it could be set out as a list of instructions able to be followed by a human clerk with paper and pencil, for as long as necessary, and without ingenuity or insight.[citation needed]

text: Machines that computed with continuous values became known as the analog kind. They used machinery that represented continuous numeric quantities, like the angle of a shaft rotation or difference in electrical potential.[citation needed]

text: Digital machinery, in contrast to analog, were able to render a state of a numeric value and store each individual digit. Digital machinery used difference engines or relays before the invention of faster memory devices.[citation needed]

text: The phrase computing machine gradually gave way, after the late 1940s, to just computer as the onset of electronic digital machinery became common. These computers were able to perform the calculations that were performed by the previous human clerks.[citation needed]

text: Since the values stored by digital machines were not bound to physical properties like analog devices, a logical computer, based on digital equipment, was able to do anything that could be described "purely mechanical." The theoretical Turing Machine, created by Alan Turing, is a hypothetical device theorized in order to study the properties of such hardware.[citation needed]

text: Emergence of a discipline[edit]

text: Charles Babbage and Ada Lovelace[edit]

text: Charles Babbage is often regarded as one of the first pioneers of computing. Beginning in the 1810s, Babbage had a vision of mechanically computing numbers and tables. Putting this into reality, Babbage designed a calculator to compute numbers up to 8 decimal points long. Continuing with the success of this idea, Babbage worked to develop a machine that could compute numbers with up to 20 decimal places. By the 1830s, Babbage had devised a plan to develop a machine that could use punched cards to perform arithmetical operations. The machine would store numbers in memory units, and there would be a form of sequential control. This means that one operation would be carried out before another in such a way that the machine would produce an answer and not fail. This machine was to be known as the “Analytical Engine”, which was the first true representation of what is the modern computer.[21]

text: Ada Lovelace (Augusta Ada Byron) is credited as the pioneer of computer programming and is regarded as a mathematical genius, a result of the mathematically heavy tutoring regimen her mother assigned to her as a young girl. Lovelace began working with Charles Babbage as an assistant while Babbage was working on his “Analytical Engine”, the first mechanical computer. During her work with Babbage, Ada Lovelace became the designer of the first computer algorithm, which had the ability to compute Bernoulli numbers. Moreover, Lovelace’s work with Babbage resulted in her prediction of future computers to not only perform mathematical calculations, but also manipulate symbols, mathematical or not. While she was never able to see the results of her work, as the “Analytical Engine” was not created in her lifetime, her efforts in later years, beginning in the 1840s, did not go unnoticed.[22]

text: Alan Turing and the Turing machine[edit]

text: The mathematical foundations of modern computer science began to be laid by Kurt Gödel with his incompleteness theorem (1931). In this theorem, he showed that there were limits to what could be proved and disproved within a formal system. This led to work by Gödel and others to define and describe these formal systems, including concepts such as mu-recursive functions and lambda-definable functions.[citation needed]

text: In 1936 Alan Turing and Alonzo Church independently, and also together, introduced the formalization of an algorithm, with limits on what can be computed, and a "purely mechanical" model for computing.[citation needed] This became the Church–Turing thesis, a hypothesis about the nature of mechanical calculation devices, such as electronic computers. The thesis claims that any calculation that is possible can be performed by an algorithm running on a computer, provided that sufficient time and storage space are available.[citation needed]

text: In 1936, Alan Turing also published his seminal work on the Turing machines, an abstract digital computing machine which is now simply referred to as the Universal Turing machine. This machine invented the principle of the modern computer and was the birthplace of the stored program concept that almost all modern day computers use.[23] These hypothetical machines were designed to formally determine, mathematically, what can be computed, taking into account limitations on computing ability. If a Turing machine can complete the task, it is considered Turing computable or more commonly, Turing complete.[24]

text: The Los Alamos physicist Stanley Frankel, has described John von Neumann's view of the fundamental importance of Turing's 1936 paper, in a letter:[23]

text: I know that in or about 1943 or ‘44 von Neumann was well aware of the fundamental importance of Turing's paper of 1936… Von Neumann introduced me to that paper and at his urging I studied it with care. Many people have acclaimed von Neumann as the "father of the computer" (in a modern sense of the term) but I am sure that he would never have made that mistake himself. He might well be called the midwife, perhaps, but he firmly emphasized to me, and to others I am sure, that the fundamental conception is owing to Turing...

text: Akira Nakajima and switching circuit theory[edit]

text: Up to and during the 1930s, electrical engineers were able to build electronic circuits to solve mathematical and logic problems, but most did so in an ad hoc manner, lacking any theoretical rigor. This changed with NEC engineer Akira Nakashima's switching circuit theory in the 1930s. From 1934 to 1936, Nakashima published a series of papers showing that the two-valued Boolean algebra, which he discovered independently (he was unaware of George Boole's work until 1938), can describe the operation of switching circuits.[25][26][27][28] This concept, of utilizing the properties of electrical switches to do logic, is the basic concept that underlies all electronic digital computers. Switching circuit theory provided the mathematical foundations and tools for digital system design in almost all areas of modern technology.[28]

text: Nakashima's work was later cited and elaborated on in Claude Elwood Shannon's seminal 1937 master's thesis "A Symbolic Analysis of Relay and Switching Circuits".[27] While taking an undergraduate philosophy class, Shannon had been exposed to Boole's work, and recognized that it could be used to arrange electromechanical relays (then used in telephone routing switches) to solve logic problems. His thesis became the foundation of practical digital circuit design when it became widely known among the electrical engineering community during and after World War II.[citation needed]

text: Early computer hardware[edit]

text: In 1941, Konrad Zuse developed the world's first functional program-controlled computer, the Z3. In 1998, it was shown to be Turing-complete in principle.[29][30] Zuse also developed the S2 computing machine, considered the first process control computer. He founded one of the earliest computer businesses in 1941, producing the Z4, which became the world's first commercial computer. In 1946, he designed the first high-level programming language, Plankalkül.[31]

text: In 1948, the Manchester Baby was completed, it was the world's first general purpose electronic digital computer that also ran stored programs like almost all modern computers.[23] The influence on Max Newman of Turing's seminal 1936 paper on the Turing Machines and of his logico-mathematical contributions to the project, were both crucial to the successful development of the Manchester SSEM.[23]

text: In 1950, Britain's National Physical Laboratory completed Pilot ACE, a small scale programmable computer, based on Turing's philosophy. With an operating speed of 1 MHz, the Pilot Model ACE was for some time the fastest computer in the world.[23][32] Turing's design for ACE had much in common with today's RISC architectures and it called for a high-speed memory of roughly the same capacity as an early Macintosh computer, which was enormous by the standards of his day.[23] Had Turing's ACE been built as planned and in full, it would have been in a different league from the other early computers.[23]

text: Shannon and information theory[edit]

text: Claude Shannon went on to found the field of information theory with his 1948 paper titled A Mathematical Theory of Communication, which applied probability theory to the problem of how to best encode the information a sender wants to transmit. This work is one of the theoretical foundations for many areas of study, including data compression and cryptography .[citation needed]

text: Wiener and cybernetics[edit]

text: From experiments with anti-aircraft systems that interpreted radar images to detect enemy planes, Norbert Wiener coined the term cybernetics from the Greek word for "steersman." He published "Cybernetics" in 1948, which influenced artificial intelligence. Wiener also compared computation, computing machinery, memory devices, and other cognitive similarities with his analysis of brain waves.[citation needed]

text: The first actual computer bug was a moth. It was stuck in between the relays on the Harvard Mark II.[33] While the invention of the term 'bug' is often but erroneously attributed to Grace Hopper, a future rear admiral in the U.S. Navy, who supposedly logged the "bug" on September 9, 1945, most other accounts conflict at least with these details. According to these accounts, the actual date was September 9, 1947 when operators filed this 'incident' — along with the insect and the notation "First actual case of bug being found" (see software bug for details).[33]

text: John von Neumann and the von Neumann architecture[edit]

text: In 1946, a model for computer architecture was introduced and became known as Von Neumann architecture. Since 1950, the von Neumann model provided uniformity in subsequent computer designs. The von Neumann architecture was considered innovative as it introduced an idea of allowing machine instructions and data to share memory space.[citation needed] The von Neumann model is composed of three major parts, the arithmetic logic unit (ALU), the memory, and the instruction processing unit (IPU). In von Neumann machine design, the IPU passes addresses to memory, and memory, in turn, is routed either back to the IPU if an instruction is being fetched or to the ALU if data is being fetched.[34]

text: Von Neumann’s machine design uses a RISC (Reduced instruction set computing) architecture,[dubious – discuss] which means the instruction set uses a total of 21 instructions to perform all tasks. (This is in contrast to CISC, complex instruction set computing, instruction sets which have more instructions from which to choose.) With von Neumann architecture, main memory along with the accumulator (the register that holds the result of logical operations)[35] are the two memories that are addressed. Operations can be carried out as simple arithmetic (these are performed by the ALU and include addition, subtraction, multiplication and division), conditional branches (these are more commonly seen now as if statements or while loops. The branches serve as go to statements), and logical moves between the different components of the machine, i.e., a move from the accumulator to memory or vice versa. Von Neumann architecture accepts fractions and instructions as data types. Finally, as the von Neumann architecture is a simple one, its register management is also simple. The architecture uses a set of seven registers to manipulate and interpret fetched data and instructions. These registers include the "IR" (instruction register), "IBR" (instruction buffer register), "MQ" (multiplier quotient register), "MAR" (memory address register), and "MDR" (memory data register)."[34] The architecture also uses a program counter ("PC") to keep track of where in the program the machine is.[34]


document_title: RuPaul's Drag Race All Stars (season 3)

question_text: when does rupaul's drag race all stars season 3 start

question_tokens: when does rupaul 's drag race all stars season 3 start

root

text: RuPaul's Drag Race All Stars (season 3)

text:
RuPaul's Drag Race All Stars

Season 3

Judges

RuPaul
Michelle Visage

Host(s)
RuPaul

Broadcaster
VH1

Chronology

◀
Season 3

tag: table

text: The upcoming third season of RuPaul's Drag Race All Stars is scheduled to premiere on January 25, 2018. The season was announced in August 2017, and the cast was revealed during a VH1 television special, entitled "Exclusive Queen Ruveal", which aired on October 20, 2017.[1][2][3]

tag: p

text: Contestants[edit]

text: The drag queens who will compete are:[4]

text: (Ages and names stated are at time of contest)

text:
Contestant
Name
Age
Hometown
Original season
Original placement
Outcome

Aja
Jay Rivera[5]
23
Brooklyn, New York
Season 9
09 !9th Place
TBA

BenDeLaCreme
Benjamin Putnam
36
Seattle, Washington
Season 6
05 !5th Place[a]
TBA

Chi Chi DeVayne
Zavion Davenport[6]
32
Shreveport, Louisiana
Season 8
04 !4th Place
TBA

Kennedy Davenport
Reuben Asberry Jr.[7]
35
Dallas, Texas
Season 7
04 !4th Place
TBA

Milk
Dan Donigan[8]
29
Syracuse, New York
Season 6
09 !9th Place
TBA

Morgan McMichaels
Thomas White
36
Mira Loma, California
Season 2
08 !8th Place
TBA

Shangela
D.J. Pierce
35
Los Angeles, California
Season 2
12 !12th Place
TBA

Season 3
06 !6th Place

Thorgy Thor
Shane Galligan[9][10]
33
Brooklyn, New York
Season 8
06 !6th Place
TBA

Trixie Mattel
Brian Firkus
28
Los Angeles, California
Season 7
06 !6th Place
TBA

text: Jump up ^ This contestant was voted as Miss Congeniality during her original season.

tag: ol


document_title: I'm Beginning to See the Light

question_text: who wrote i'm beginning to see the light

question_tokens: who wrote i 'm beginning to see the light

text: I'm Beginning to See the Light

text: "I'm Beginning to See the Light" is a popular song and jazz standard, written by Duke Ellington, Don George, Johnny Hodges, and Harry James, and published in 1944. Ella Fitzgerald and the Ink Spots featuring Bill Kenny recorded a version in 1945, that was on the pop song hits list for six weeks in 1945, reaching #5. A competing 1945 recording by Harry James and his Orchestra,[1] with lead vocal by Kitty Kallen reached #1 for two weeks in January of that year. James' version of the song reached #7 on Billboard's Second Annual High School Survey in 1945.[2] Duke Ellington also released in 1945 a version, vocal by Joya Sherrill, which reached the top ten.[3] Ellington's inspiration for this song was his recent initiation into Freemasonry.[citation needed] He was a member of Social Lodge No. 1 of the Grand Lodge of the District of Columbia, Prince Hall Affiliation.[citation needed]

text: Notable recordings[edit]

text:
Rosemary Clooney – Out of This World (2000)
Bobby Darin (1962)
Frank Sinatra
Johnnie Ray (1958)
Connie Francis (1958)
Oscar Alemán (1946)
Billy Eckstine recorded the song many times: with Billy May, with Quincy Jones, with Bobby Tucker and with Gil Askey.
In 1986 Australian recording artist Kate Ceberano recorded a version for her album Kate Ceberano and her Septet.
Duke Ellington and his Famous Orchestra. Vocal: Joya Sherrill Recorded in New York City on December 1, 1944. It was released by RCA Victor Records as catalogue number 20-1618[4]
Ella and Basie!, a 1963 Verve release with arrangements by Quincy Jones.
Clare Fischer – Songs for Rainy Day Lovers (1967)
Peggy Lee – Things Are Swingin' (1958) Capitol Records ST 1049 US
Peggy Lee – Spotlight on Peggy Lee (1995)
Gerry Mulligan - Gerry Mulligan with Chet Baker (1955)
Sutton Foster recorded a version for her album Wish
The Hi-Lo's – A Musical Thrill (2006)
The Ink Spots featuring Bill Kenny & Ella Fitzgerald
Chelsea Krombach performed the song for her debut album Look for the Silver Lining
The SuperJazz Big Band of Birmingham, Alabama, recorded the song on the CD UAB SuperJazz, Featuring Ellis Marsalis
Michael Bublé
Al Jarreau in his album "Accentuate the Positive"
Kelly Rowland
Joe Jackson recorded a cover of the song for his Duke Ellington tribute album, "The Duke".
Royce Campbell – Get Happy (2007)
Mel Tormé –  "At the Crescendo"
Karen Souza - Velvet Vault (2017)

tag: ul


document_title: Flag of India

question_text: who hoisted indian national flag for the first time

text: Flag of India

text: Design and construction details

text:
Sizes of the National Flag

Flag size[1][2]
Length and width (mm)
Size of Ashoka Chakra (mm)[3]

1
6300 × 4200
1295

2
3600 × 2400
740

3
2700 × 1800
555

4
1800 × 1200
370

5
1350 × 900
280

6
900 × 600
185

7
450 × 300
90[4]

8
225 × 150
40

9
150 × 100
25[4]

text: According to the Flag code of India, the Indian flag has a ratio of two by three (where the length of the flag is 1.5 times that of the width). All three stripes of the flag (saffron, white and green) are to be equal in width and length. The size of the Ashoka Chakra is not specified in the Flag code, but it has twenty-four spokes that are evenly spaced.[5] In section 4.3.1 of "IS1: Manufacturing standards for the Indian Flag", there is a chart that details the size of the Ashoka Chakra on the nine specific sizes of the national flag.[3] In both the Flag code and IS1, they call for the Ashoka Chakra to be printed or painted on both sides of the flag in navy blue.[3][5] Below is the list of specified shades for all colours used on the national flag, with the exception of Navy Blue, from "IS1: Manufacturing standards for the Indian Flag" as defined in the 1931 CIE Colour Specifications with illuminant C.[3] The navy blue colour can be found in the standard IS:1803-1973.[3]

text:
Materials 3.1.2.2: Colours[3]

Colour
X
Y
Z
Brightness

India saffron (Kesari)
0.538
0.360
0.102
21.5

White
0.313
0.319
0.368
72.6

India green
0.288
0.395
0.317
8.9

text: Note that the values given in the table correspond to CIE 1931 color space. Approximate RGB values for use may be taken to be: India saffron #FF9933, white #FFFFFF, India green #138808, navy blue #000080.[6] Pantone values closest to this are 130 U, White, 2258 C and 2735 C.

text: Symbolism

text: Gandhi first proposed a flag to the Indian National Congress in 1921. The flag was designed by Pingali Venkayya. In the centre was a traditional spinning wheel, symbolising Gandhi's goal of making Indians self-reliant by fabricating their own clothing. The design was then modified to include a white stripe in the centre for other religious communities, and provide a background for the spinning wheel. Subsequently, to avoid sectarian associations with the colour scheme, saffron, white and green were chosen for the three bands, representing courage and sacrifice, peace and truth, and faith and chivalry respectively.[7]

text: A few days before India became independent on 15 August 1947, the specially constituted Constituent Assembly decided that the flag of India must be acceptable to all parties and communities.[8] A modified version of the Swaraj flag was chosen; the tricolour remained the same saffron, white and green. However, the charkha was replaced by the Ashoka Chakra representing the eternal wheel of law. The philosopher Sarvepalli Radhakrishnan, who later became India's first Vice President and second President, clarified the adopted flag and described its significance as follows:

text:
“
Bhagwa or the Saffron denotes renunciation or disinterestedness. Our leaders must be indifferent to material gains and dedicate themselves to their work. The white in the centre is light, the path of truth to guide our conduct. The green shows our relation to (the) soil, our relation to the plant life here, on which all other life depends. The "Ashoka Chakra" in the centre of the white is the wheel of the law of dharma. Truth or satya, dharma or virtue ought to be the controlling principle of those who work under this flag. Again, the wheel denotes motion. There is death in stagnation. There is life in movement. India should no more resist change, it must move and go forward. The wheel represents the dynamism of a peaceful change.[9]
”

text: History

text: A number of flags with varying designs were used in the period preceding the Indian Independence Movement by the rulers of different princely states; the idea of a single Indian flag was first raised by the British rulers of India after the rebellion of 1857, which resulted in the establishment of direct imperial rule. The first flag, whose design was based on western heraldic standards, were similar to the flags of other British colonies, including Canada and Australia; its blue field included the Union Flag in the upper-left quadrant and a Star of India capped by the royal crown in the middle of the right half. To address the question of how the star conveyed "Indianness", Queen Victoria created the Knight Commander of the Order of the Star of India to honour services to the empire by her Indian subjects. Subsequently, all the Indian princely states received flags with symbols based on the heraldic criteria of Europe including the right to fly defaced British red ensigns.[10][11][12]

text: In the early twentieth century, around the coronation of Edward VII, a discussion started on the need for a heraldic symbol that was representative of the Indian empire. William Coldstream, a British member of the Indian Civil Service, campaigned the government to change the heraldic symbol from a star, which he considered to be a common choice, to something more appropriate. His proposal was not well received by the government; Lord Curzon rejected it for practical reasons including the multiplication of flags.[13] Around this time, nationalist opinion within the realm was leading to a representation through religious tradition. The symbols that were in vogue included the Ganesha, advocated by Bal Gangadhar Tilak, and Kali, advocated by Aurobindo Ghosh and Bankim Chandra Chattopadhyay. Another symbol was the cow, or Gau Mata (cow mother). However, all these symbols were Hindu-centric and did not suggest unity with India's Muslim population.[14]

text: The partition of Bengal (1905) resulted in the introduction of a new flag representing the Indian independence movement that sought to unite the multitude of castes and races within the country. The Vande Mataram flag, part of the Swadeshi movement against the British, comprised Indian religious symbols represented in western heraldic fashion. The tricolour flag included eight white lotuses on the upper green band representing the eight provinces, a sun and a crescent on the bottom red band, and the Vande Mataram slogan in Hindi on the central yellow band. The flag was launched in Calcutta bereft of any ceremony and the launch was only briefly covered by newspapers. The flag was not covered in contemporary governmental or political reports either, but was used at the annual session of the Indian National Congress. A slightly modified version was subsequently used by Madam Bhikaji Cama at the second International Socialist Congress in Stuttgart in 1907. Despite the multiple uses of the flag, it failed to generate enthusiasm amongst Indian nationalists.[15]

text: Around the same time, another proposal for the flag was initiated by Sister Nivedita, a Hindu reformist and disciple of Swami Vivekananda. The flag consisted of a thunderbolt in the centre and a hundred and eight oil lamps for the border, with the Vande Mataram caption split around the thunderbolt. It was also presented at the Indian National Congress meeting in 1906.[16] Soon, many other proposals were initiated, but none of them gained attention from the nationalist movement.

text: In 1909, Lord Ampthill, former Governor of the Madras Presidency, wrote to The Times of London in the run up to Empire Day pointing out that there existed "no flag representative of India as a whole or any Indian province ... Surely this is strange, seeing that but for India there would be no Empire."[17]

text: In 1916, Pingali Venkayya submitted thirty new designs, in the form of a booklet funded by members of the High Court of Madras. These many proposals and recommendations did little more than keep the flag movement alive. The same year, Annie Besant and Bal Gangadhar Tilak adopted a new flag as part of the Home Rule Movement. The flag included the Union Jack in the upper left corner, a star and crescent in the upper right, and seven stars displayed diagonally from the lower right, on a background of five red and four green alternating bands. The flag resulted in the first governmental initiative against any nationalistic flag, as a magistrate in Coimbatore banned its use. The ban was followed by a public debate on the function and importance of a national flag.[18]

text: In the early 1920s, national flag discussions gained prominence across most British dominions following the peace treaty between Britain and Ireland. In November 1920, the Indian delegation to the League of Nations wanted to use an Indian flag, and this prompted the British Indian government to place renewed emphasis on the flag as a national symbol.

text: In April 1921, Mohandas Karamchand Gandhi wrote in his journal Young India about the need for an Indian flag, proposing a flag with the charkha or spinning wheel at the centre.[20] The idea of the spinning wheel was put forth by Lala Hansraj, and Gandhi commissioned Pingali Venkayya to design a flag with the spinning wheel on a red and green banner, the red colour signifying Hindus and the green standing for Muslims. Gandhi wanted the flag to be presented at the Congress session of 1921, but it was not delivered on time, and another flag was proposed at the session. Gandhi later wrote that the delay was fortuitous since it allowed him to realise that other religions were not represented; he then added white to the banner colours, to represent all the other religions. Finally, owing to the religious-political sensibilities, in 1929, Gandhi moved towards a more secular interpretation of the flag colours, stating that red stood for the sacrifices of the people, white for purity, and green for hope.[21]

text: On 13 April 1923, during a procession by local Congress volunteers in Nagpur commemorating the Jallianwala Bagh massacre, the Swaraj flag with the spinning wheel, designed by Pingali Venkayya, was hoisted. This event resulted in a confrontation between the Congressmen and the police, after which five people were imprisoned. Over a hundred other protesters continued the flag procession after a meeting. Subsequently, on the first of May, Jamnalal Bajaj, the secretary of the Nagpur Congress Committee, started the Flag Satyagraha, gaining national attention and marking a significant point in the flag movement. The satyagraha, promoted nationally by the Congress, started creating cracks within the organisation in which the Gandhians were highly enthused while the other group, the Swarajists, called it inconsequential.

text: Finally, at the All India Congress Committee meeting in July, 1923, at the insistence of Jawaharlal Nehru and Sarojini Naidu, Congress closed ranks and the flag movement was endorsed. The flag movement was managed by Sardar Vallabhbhai Patel with the idea of public processions and flag displays by common people. By the end of the movement, over 1500 people had been arrested across all of British India. The Bombay Chronicle reported that the movement drew from diverse groups of society including farmers, students, merchants, labourers and "national servants". While Muslim participation was moderate, the movement enthused women, who had hitherto rarely participated in the independence movement.[22]

text: While the flag agitation got its impetus from Gandhi's writings and discourses, the movement received political acceptance following the Nagpur incident. News reports, editorials and letters to editors published in various journals and newspapers of the time attest to the subsequent development of a bond between the flag and the nation. Soon, the concept of preserving the honour of the national flag became an integral component of the independence struggle. While Muslims were still wary of the Swaraj flag, it gained acceptance among Muslim leaders of the Congress and the Khilafat Movement as the national flag.

text: Detractors of the flag movement, including Motilal Nehru, soon hailed the Swaraj flag as a symbol of national unity. Thus, the flag became a significant structural component of the institution of India. In contrast to the subdued responses of the past, the British Indian government took greater cognisance of the new flag, and began to define a policy of response. The British parliament discussed public use of the flag, and based on directives from England, the British Indian government threatened to withdraw funds from municipalities and local governments that did not prevent the display of the Swaraj flag.[24] The Swaraj flag became the official flag of Congress at the 1931 meeting. However, by then, the flag had already become the symbol of the independence movement.[25]

text: A few days before India gained its independence in August 1947, the Constituent Assembly was formed. To select a flag for independent India, on 23 June 1947, the assembly set up an ad hoc committee headed by Rajendra Prasad and including Maulana Abul Kalam Azad, Sarojini Naidu, C. Rajagopalachari, K. M. Munshi and B. R. Ambedkar as its members.

text: On 14 July 1947, the committee recommended that the flag of the Indian National Congress be adopted as the National Flag of India with suitable modifications, so as to make it acceptable to all parties and communities. It was also resolved that the flag should not have any communal undertones.[5] The spinning wheel of the Congress flag was replaced by the Chakra (wheel) from the Lion Capital of Ashoka. According to Sarvepalli Radhakrishnan, the chakra was chosen as it was representative of dharma and law. However, Jawaharlal Nehru explained that the change was more practical in nature, as unlike the flag with the spinning wheel, this design would appear symmetrical. Gandhi was not very pleased by the change, but eventually came around to accepting it.

text: The flag was proposed by Nehru at the Constituent Assembly on 22 July 1947 as a horizontal tricolour of deep saffron, white and dark green in equal proportions, with the Ashoka wheel in blue in the centre of the white band. Nehru also presented two flags, one in Khadi-silk and the other in Khadi-cotton, to the assembly. The resolution was approved unanimously.[28] It served as the national flag of the Dominion of India between 15 August 1947 and 26 January 1950, and has served as the flag of the Republic of India since then.[8]

text: Manufacturing process

text: The design and manufacturing process for the national flag is regulated by three documents issued by the Bureau of Indian Standards (BIS). All of the flags are made out of khadi cloth of silk or cotton. The standards were created in 1968 and were updated in 2008.[29] Nine standard sizes of the flag are specified by law.[1]

text: In 1951, after India became a republic, the Indian Standards Institute (now the BIS) brought out the first official specifications for the flag. These were revised in 1964 to conform to the metric system which was adopted in India. The specifications were further amended on 17 August 1968.[5] The specifications cover all the essential requirements of the manufacture of the Indian flag including sizes, dye colour, chromatic values, brightness, thread count and hemp cordage. The guidelines are covered under civil and criminal laws and defects in the manufacturing process can result in punishments that include fines or jail terms.[30][31]

text: Khadi or hand-spun cloth is the only material allowed to be used for the flag, and flying a flag made of any other material is punishable by law with imprisonment up to three years, besides a fine. Raw materials for khadi are restricted to cotton, silk and wool. There are two kinds of khadi used: The first is the khadi-bunting which makes up the body of the flag, and the second is the khadi-duck, which is a beige-coloured cloth that holds the flag to the pole. The khadi-duck is an unconventional type of weave that meshes three threads into a weave, compared to the two threads used in conventional weaving. This type of weaving is extremely rare, and there are fewer than twenty weavers in India professing this skill. The guidelines also state that there should be exactly 150 threads per square centimetre, four threads per stitch, and one square foot should weigh exactly 205 grams (7.2 oz).[5][30][31][32]

text: There are four places in the country licensed to make the cloth for the national flag, they are in Karnataka, Marathwada, Barabanki in UP, and Banetha in Rajasthan.[33] The woven khadi is obtained from two handloom units in the Dharwad and Bagalkot districts of northern Karnataka. Currently, Karnataka Khadi Gramodyoga Samyukta Sangha based in Hubli is the only licensed flag production and supply unit in India.[31] Permission for setting up flag manufacturing units in India is allotted by the Khadi Development and Village Industries Commission, though the BIS has the power to cancel the licences of units that flout guidelines.[5] The hand-woven khadi for the National Flag was initially manufactured at Garag, a small village in the Dharwad district. A Centre was established at Garag in 1954 by a few freedom fighters under the banner of Dharwad Taluk Kshetriya Seva Sangh and obtained the Centre's licence to make flags.[5]

text: Once woven, the material is sent to the BIS laboratories for testing. After quality testing, the material, if approved, is returned to the factory. It is then separated into three lots which are dyed saffron, white and green. The Ashoka Chakra is screen printed, stencilled or suitably embroidered onto each side of the white cloth. Care also has to be taken that the chakra is completely visible and synchronised on both sides. Three pieces of the required dimension, one of each colour, are then stitched together according to specifications and the final product is ironed and packed. The BIS then checks the colours and only then can the flag be sold.[30][31]

text: Protocol

text: Display and usage of the flag is governed by the Flag Code of India, 2002 (successor to the Flag Code – India, the original flag code); the Emblems and Names (Prevention of Improper Use) Act, 1950; and the Prevention of Insults to National Honour Act, 1971.[5] Insults to the national flag, including gross affronts or indignities to it, as well as using it in a manner so as to violate the provisions of the Flag Code, are punishable by law with imprisonment up to three years, or a fine, or both.[34]

text: Official regulation states that the flag must never touch the ground or water, or be used as a drapery in any form.[5] The flag may not be intentionally placed upside down, dipped in anything, or hold any objects other than flower petals before unfurling. No sort of lettering may be inscribed on the flag. When out in the open, the flag should always be flown between sunrise and sunset, irrespective of the weather conditions. Prior to 2009, the flag could be flown on a public building at night under special circumstances; currently, Indian citizens can fly the flag even at night, subject to the restriction that the flag should be hoisted on a tall flagpole and be well-illuminated.[5][35]

text: The flag should never be depicted, displayed or flown upside down. Tradition also states that when draped vertically, the flag should not merely be rotated 90degrees, but also reversed. One "reads" a flag like the pages of a book, from top to bottom and from left to right, and after rotation the results should be the same. It is considered insulting to display the flag in a frayed or dirty state, and the same rule applies to the flagpoles and halyards used to hoist the flag, which should always be in a proper state of maintenance.[1]

text: The original flag code of India did not allow private citizens to fly the national flag except on national days such as Independence Day or Republic Day. In 2001, Naveen Jindal, an industrialist used to the more egalitarian use of the flag in the United States where he studied, flew the Indian flag on his office building. The flag was confiscated and he was warned of prosecution. Jindal filed a public interest litigation petition in the High Court of Delhi; he sought to strike down the restriction on the use of the flag by private citizens, arguing that hoisting the national flag with due decorum and honour was his right as a citizen, and a way of expressing his love for the country.[36][37]

text: At the end of the appeals process, the case was heard by the Supreme Court of India; the court ruled in Jindal's favour, asking the Government of India to consider the matter. The Union Cabinet of India then amended the Indian Flag Code with effect from 26 January 2002, allowing private citizens to hoist the flag on any day of the year, subject to their safeguarding the dignity, honour and respect of the flag.[5] It is also held that the code was not a statute and restrictions under the code ought to be followed; also, the right to fly the flag is a qualified right, unlike the absolute rights guaranteed to citizens, and should be interpreted in the context of Article 19 of the Constitution of India.[5]

text: The original flag code also forbade use of the flag on uniforms, costumes and other clothing. In July 2005, the Government of India amended the code to allow some forms of usage. The amended code forbids usage in clothing below the waist and on undergarments, and forbids embroidering onto pillowcases, handkerchiefs or other dress material.[38]

text: Disposal of damaged flags is also covered by the flag code. Damaged or soiled flags may not be cast aside or disrespectfully destroyed; they have to be destroyed as a whole in private, preferably by burning or by any other method consistent with the dignity of the flag.[1]

text: Display

text: The rules regarding the correct methods to display the flag state that when two flags are fully spread out horizontally on a wall behind a podium, their hoists should be towards each other with the saffron stripes uppermost. If the flag is displayed on a short flagpole, this should be mounted at an angle to the wall with the flag draped tastefully from it. If two national flags are displayed on crossed staffs, the hoists must be towards each other and the flags must be fully spread out. The flag should never be used as a cloth to cover tables, lecterns, podiums or buildings, or be draped from railings.[1]

text: Whenever the flag is displayed indoors in halls at public meetings or gatherings of any kind, it should always be on the right (observers' left), as this is the position of authority. So when the flag is displayed next to a speaker in the hall or other meeting place, it must be placed on the speaker's right hand. When it is displayed elsewhere in the hall, it should be to the right of the audience. The flag should be displayed completely spread out with the saffron stripe on top. If hung vertically on the wall behind the podium, the saffron stripe should be to the left of the onlookers facing the flag with the hoist cord at the top.[1]

text: The flag, when carried in a procession or parade or with another flag or flags, should be on the marching right or alone in the centre at the front. The flag may form a distinctive feature of the unveiling of a statue, monument, or plaque, but should never be used as the covering for the object. As a mark of respect to the flag, it should never be dipped to a person or thing, as opposed to regimental colours, organisational or institutional flags, which may be dipped as a mark of honour. During the ceremony of hoisting or lowering the flag, or when the flag is passing in a parade or in a review, all persons present should face the flag and stand at attention. Those present in uniform should render the appropriate salute. When the flag is in a moving column, persons present will stand at attention or salute as the flag passes them. A dignitary may take the salute without a head dress. The flag salutation should be followed by the playing of the national anthem.[1]

text: The privilege of flying the national flag on vehicles is restricted to the President, the Vice-President or the Prime Minister, Governors and Lieutenant Governors of states, Chief Ministers, Union Ministers, members of the Parliament of India and state legislatures of the Indian states (Vidhan Sabha and Vidhan Parishad), judges of the Supreme Court of India and High Courts, and flag officers of the Army, Navy and Air Force. The flag has to be flown from a staff affixed firmly either on the middle front or to the front right side of the car. When a foreign dignitary travels in a car provided by government, the flag should be flown on the right side of the car while the flag of the foreign country should be flown on the left side.[5]

text: The flag should be flown on the aircraft carrying the President, the Vice-President or the Prime Minister on a visit to a foreign country. Alongside the National Flag, the flag of the country visited should also be flown; however, when the aircraft lands in countries en route, the national flags of the respective countries would be flown instead. When carrying the president within India, aircraft display the flag on the side the president embarks or disembarks; the flag is similarly flown on trains, but only when the train is stationary or approaching a railway station.[1]

text: When the Indian flag is flown on Indian territory along with other national flags, the general rule is that the Indian flag should be the starting point of all flags. When flags are placed in a straight line, the rightmost flag (leftmost to the observer facing the flag) is the Indian flag, followed by other national flags in alphabetical order. When placed in a circle, the Indian flag is the first point and is followed by other flags alphabetically. In such placement, all other flags should be of approximately the same size with no other flag being larger than the Indian flag. Each national flag should also be flown from its own pole and no flag should be placed higher than another. In addition to being the first flag, the Indian flag may also be placed within the row or circle alphabetically. When placed on crossed poles, the Indian flag should be in front of the other flag, and to the right (observer's left) of the other flag. The only exception to the preceding rule is when it is flown along with the flag of the United Nations, which may be placed to the right of the Indian flag.[1]

text: When the Indian flag is displayed with non-national flags, including corporate flags and advertising banners, the rules state that if the flags are on separate staffs, the flag of India should be in the middle, or the furthest left from the viewpoint of the onlookers, or at least one flag's breadth higher than the other flags in the group. Its flagpole must be in front of the other poles in the group, but if they are on the same staff, it must be the uppermost flag. If the flag is carried in procession with other flags, it must be at the head of the marching procession, or if carried with a row of flags in line abreast, it must be carried to the marching right of the procession.[1]

text: Half-mast

text: The flag should be flown at half-mast as a sign of mourning. The decision to do so lies with the President of India, who also decides the period of such mourning. When the flag is to be flown at half mast, it must first be raised to the top of the mast and then slowly lowered. Only the Indian flag is flown half mast; all other flags remain at normal height.

text: The flag is flown half-mast nationwide on the death of the president, Vice-president or prime minister. It is flown half-mast in New Delhi and the state of origin for the Speaker of the Lok Sabha, Chief Justice of the Supreme Court, and Union Ministers. On deaths of Governors, Lt. Governors and Chief Ministers, the flag is flown at half-mast in the respective states and union territories.

text: The Indian flag cannot be flown at half-mast on Republic Day (26 January), Independence day (15 August), Gandhi Jayanti (2 October), National Week (6–13 April) or state formation anniversaries, except over buildings housing the body of the deceased dignitary. However, even in such cases, the flag must be raised to full-mast when the body is moved from the building.

text: Observances of State mourning on the death of foreign dignitaries are governed by special instructions issued from the Ministry of Home Affairs in individual cases. However, in the event of death of either the Head of the State or Head of the Government of a foreign country, the Indian Mission accredited to that country may fly the national flag at half-mast.

text: On occasions of state, military, central para-military forces funerals, the flag shall be draped over the bier or coffin with the saffron towards the head of the bier or coffin. The flag should not be lowered into the grave or burnt in the pyre.[1]