Gage John Hall
General Gage John Hall (died 1854) was a British Army officer.
Gage John Hall | |
---|---|
Died | 1854 |
Allegiance | ![]() |
Service/ | ![]() |
Years of service | 1783– |
Rank | General |
Military career
Hall was commissioned as an ensign on 29 May 1783.[1] Promoted to lieutenant-colonel on 1 January 1801 and to major-general on 4 June 1813,[1] he served as acting Governor of British Mauritius from November 1817 to December 1818.[2] He raised the 99th (Lanarkshire) Regiment of Foot in response to the threat posed by the French intervention in Spain, in March 1824.[3]
Hall was promoted to lieutenant-general on 27 March 1825 and to full general on 23 November 1841.[1]
gollark: Okay, I managed to compress the WHYJIT compiler into a single discord message.
gollark: ```pythonimport argparse,subprocess,random,stringparser = argparse.ArgumentParser(description="Compile a WHY program using WHYJIT.")parser.add_argument("input",help="File containing WHY source code")parser.add_argument("-o","--output",help="Filename of the output executable to make",default="./a.why")parser.add_argument("-O","--optimize",help="Optimization level",type=int,default="0")#parser.add_argument("-d","--drawkcab",help=".sdrawkcab elif ecruos YHW eht ssecorP")args = parser.parse_args()def randomword(length): letters = string.ascii_lowercase return ''.join(random.choice(letters) for i in range(length))def which(program): proc = subprocess.run(["which",program],stdout=subprocess.PIPE) if proc.returncode == 0: return proc.stdout.replace(b"\n",b"") else: return Nonedef find_C_compiler(): compilers = ["gcc","clang","tcc","cc"] for compiler in compilers: path = which(compiler) if path != None: return pathdef build_output(code,max): #if args.drawkcab: code = code[::-1] C_code = f"""#define QUITELONG long long intconst QUITELONG max = {max};int main() {{ volatile QUITELONG i = 0; // disable some "optimizations" that RUIN OUR BEAUTIFUL CODE! while (i < max) {{ i++; }} {code}}} """ heredoc = randomword(100) devnull = "2>/dev/null" shell_script = f"""#!/bin/shTMP1=/tmp/ignore-meTMP2=/tmp/ignore-me-tooTMP3=/tmp/dont-look-here cat << {heredoc} > $TMP1{C_code}{heredoc}sed -e '1,/^exit \$?$/d' "$0" > $TMP3chmod +x $TMP3$TMP3 -x c -o $TMP2 $TMP1chmod +x $TMP2$TMP2exit $?""".encode("utf-8") with open(find_C_compiler(),"rb") as f: return shell_script + f.read()with open(args.input,"r") as f: contents = f.read() looplen = max(1000,(2 ** -args.optimize) * 1000000000) code = build_output( contents, looplen ) with open(args.output,"wb") as out: out.write(code)```
gollark: (and so, code gold was invented)
gollark: Maybe if I compress it manually a bit...
gollark: OH COME ON, this code is less than 2000 characters. Stupid DIsqord.
References
- "Major-General Gage John Hall (1832-1854)". Queen’s Royal Surreys. Retrieved 23 March 2017.
- "Mauritius". Worldsstatesmen.org. Retrieved 26 January 2013.
- "99th (Lanarkshire) Regiment of Foot". regiments.org. Archived from the original on 18 July 2006. Retrieved 17 August 2016.CS1 maint: BOT: original-url status unknown (link)
Military offices | ||
---|---|---|
Preceded by Kenneth Howard, 1st Earl of Effingham |
Colonel of the 70th (Surrey) Regiment of Foot 1832–1854 |
Succeeded by Sir George William Paty |
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.