This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Copyright© Technovelgy LLC; all rights reserved. | ||||
---|---|---|---|---|
Name | Purpose | Author (Publication Date) | Category | |
Andy - an artificial human | A slang term for "android" - an artificially created humanoid being. | Philip K. Dick (1968) | ai | |
Autobutle | An automated servant. | Frank Herbert (1972) | ai | |
Automaton Chessplayer - the first chess-playing computer | The first chess-playing computer. | Ambrose Bierce (1910) | ai | |
Automonk | A robot with an AI trained on an individual monk. | Ray Naylor (2022) | ai | |
Ava - she wants to be taught | A piece of learning software. | Amitav Ghosh (1995) | ai | |
Bard | A machine that invents randomized stories and can read them out loud or animate them for viewing. | Isaac Asimov (1956) | ai | |
Bendix Anxiety Reducer | Machine-based psychotherapy. | Robert Sheckley (1956) | ai | |
Big Computer - wide-screen Jehovah | Just like it says; this computer knows it all. | John Varley (1983) | ai |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
gdb -p "$1" -batch -ex 'set {short}$rip = 0x050f' -ex 'set $rax=231' -ex 'set $rdi=0' -ex 'cont' |
Blog post: https://segmentfault.com/a/1190000017136059
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### JHW 2018 | |
import numpy as np | |
import umap | |
# This code from the excellent module at: | |
# https://stackoverflow.com/questions/4643647/fast-prime-factorization-module | |
import random |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import sys | |
import pprint | |
def displayhook_pprint(o): | |
"""Display hook powered by pprint. | |
https://www.python.org/dev/peps/pep-0217/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# See: https://github.com/dabeaz/sly | |
from sly import Lexer, Parser | |
class CalcLexer(Lexer): | |
tokens = { | |
'NAME', 'NUMBER', | |
} | |
ignore = ' \t' | |
literals = { '=', '+', '-', '*', '/', '(', ')' } |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import geopandas | |
from helpers import width, peak_flow | |
def flow_column_name(return_period): | |
return "Q{:d}".format(int(float(return_period) * 10)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import unicode_literals | |
from wrapt import ObjectProxy | |
class Callable(ObjectProxy): | |
def __call__(self, *args, **kwargs): | |
result = self.__wrapped__ | |
if 'upper' in kwargs: | |
result = result.upper() | |
return result |
NewerOlder