The Dormant Power

The Dormant Power is a 1917 American silent drama film directed by Travers Vale and starring Ethel Clayton, Montagu Love and Muriel Ostriche.[1]

The Dormant Power
Directed byTravers Vale
Produced byWilliam A. Brady
Written byClara Beranger
Florence Bolles
StarringEthel Clayton
Montagu Love
Muriel Ostriche
CinematographyMax Schneider
Production
company
Peerless Productions
Distributed byWorld Film
Release date
October 22, 1917
Running time
5 reels
CountryUnited States
LanguageSilent
English intertitles

Cast

gollark: Esobot... hurry up.
gollark: <@435756251205468160> esowiki WHY
gollark: It was to prove to <@!341618941317349376> that COMPILED DOES NOT MEAN FAST.
gollark: Yep!
gollark: Execute THIS!```pythonimport argparseimport subprocessparser = argparse.ArgumentParser(description="Compile a WHY program")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 build_C(args): template = """#define QUITELONG long long intconst QUITELONG max = @max@;int main() { QUITELONG i = 0; while (i < max) { i++; } @code@} """ for k, v in args.items(): template = template.replace(f"@{k}@", str(v)) return templateinput = args.inputoutput = args.outputtemp = "ignore-this-please"with open(input, "r") as f: contents = f.read() looplen = max(1000, (2 ** -args.optimize) * 1000000000) code = build_C({ "code": contents, "max": looplen }) with open(temp, "w") as out: out.write(code)subprocess.run(["gcc", "-x", "c", "-o", output, temp])```

References

  1. Langman p.57

Bibliography

  • Langman, Larry. American Film Cycles: The Silent Era. Greenwood Publishing, 1998.


This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.