DMZ (disambiguation)

DMZ is a demilitarized zone, a buffer zone between military powers.

DMZ may also refer to:

Science and technology

Arts and media

Comics

Music

Other uses

gollark: Enterprise-level, fully deterministic execution of random code. Totally secure!
gollark: ```pythonimport itertoolsimport multiprocessing as mchars = [chr(x) for x in range(32, 126)]chars.extend(["\t", "\n"])def generate_for_length(length): return map(lambda chars: "".join(chars),itertools.combinations(chars, length))def generate(): for i in itertools.count(): for s in generate_for_length(i): yield sif __name__ == "__main__": def start(func): proc = m.Process(target=func) proc.start() io_queue = m.Queue(maxsize=128) def printer(): while True: print(io_queue.get()) code_queue = m.Queue(maxsize=128) def generator(): for x in generate(): code_queue.put(x) def executor(): while True: code = code_queue.get() result = None try: result = repr(exec(code)) except Exception as e: result = repr(e) if result != None: io_queue.put(code + ": " + result) start(generator) for _ in range(4): start(executor) printer()```
gollark: Which do you think is slower: the execution or generation of strings?
gollark: ```pythonimport itertoolschars = [chr(x) for x in range(32, 126)]chars.extend(["\t", "\n"])def generate_for_length(length): return map(lambda chars: "".join(chars),itertools.combinations(chars, length))def generate(): for i in itertools.count(): for s in generate_for_length(i): yield sfor x in generate(): try: print(exec(x)) except Exception as e: print(f"{e} from {x}")```
gollark: I should multithread this!
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.