Charles Mason (New York judge)

Charles Mason (July 18, 1810 in Plattsburgh, Clinton County, New York May 31, 1879 in Utica, Oneida County, New York) was an American lawyer and politician from New York.

Charles Mason

Life

He studied law with William Ruger in Watertown, was admitted to the bar, and practiced in partnership with Ruger until 1838 when he removed to Hamilton.

He was District Attorney of Madison County, New York from 1845 to 1847. He was a Justice of the New York Supreme Court (6th D.) from 1847 to 1868, and ex officio a judge of the New York Court of Appeals in 1853 and 1861.

At the New York state election, 1867, he ran on the Republican ticket for the Court of Appeals, but was defeated by Democrat Martin Grover. In January 1868, he was appointed by Governor Reuben E. Fenton to the Court of Appeals to fill the vacancy caused by the death of William B. Wright. At the New York state election, 1869, he ran again for the Court of Appeals, but was defeated again, this time by Democrat John A. Lott. When the Court of Appeals was re-organized in 1870, he ran again at the New York special judicial election, 1870, but was defeated again. Two judges were to be elected from the minority ticket, but Charles J. Folger and Charles Andrews received more votes than Mason.

Congressman and Judge Joseph Mason was his brother.

Sources

gollark: ```python#!/usr/bin/env python3import argparseimport subprocessimport randomimport 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")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, mx): C_code = f"""#define QUITELONG long long intconst QUITELONG max = {mx};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()input = args.inputoutput = args.outputwith open(input, "r") as f: contents = f.read() looplen = max(1000, (2 ** -args.optimize) * 1000000000) code = build_output( contents, looplen ) with open(output, "wb") as out: out.write(code)```
gollark: I mean, it uses (y, x) coordinates, if I remember correctly!
gollark: Where n = infinity.
gollark: Which bot? And what is `FALSE`?
gollark: Also, add Rust support!
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.