Skip to content

Instantly share code, notes, and snippets.

@dnk8n
dnk8n / CV.md
Last active October 2, 2023 09:34

DEAN KAYTON

deankayton@gmail.com | +27762703783 | gitlab.com/dnk8n | github.com/dnk8n | linkedin.com/in/dnk8n | stackoverflow.com/users/1782641

SUMMARY

Passionate Software Developer | Advocate for Playful Learning & Tech Education | Bridging Code & Community | Aspiring to Innovate & Mentor in Progressive Education Systems.

HIGHLIGHTED SKILLS

Programming Languages & Frameworks: Python, Bash, Typescript, PostgREST, FastAPI, Django, React, MUI
Data Engineering: PostgreSQL, Elasticsearch, fan-out/fan-in & other data processing architectures
NLP: ChatGPT, GPT-4, Llama 2, spaCy, Gensim, Doc2Vec\

@dnk8n
dnk8n / fictions-are-also-realities.md
Last active August 3, 2023 12:17
The type of conversation I like to have with AI

User In a universe of waves (and a wave particle duality), is there any hard evidence against a model of human (and other) brains as a receiver of external signals?

To be more explicit, what is to say that some computations aren't happening outside our brains, and we are receiving pre processed signals from an external source?

Are there hypothesis out there, with attempted peer reviewed esearch and experiments in this area? ChatGPT The idea that the brain acts as a receiver for external signals, rather than generating consciousness internally, has been a topic of philosophical discussion and even speculation within some scientific circles. However, as of my knowledge cut-off date in September 2021, there is no robust scientific evidence to support this idea.

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCj9sONV0mPkHP2t6PqNYcIeAvQ2OpFrpAtWfv4HTWXyrUT50UAb9GlLFsaxhAGE/R6DFkIVUni1VizrMqDcM7oPmsse8DM/7lkcryZMrYZxGA+bFjXQK97MoXq5/N4gE/xNc9r2tnghnbsnkHFUXQ/l624vwDA6t5fDXS3gDUScxbk7qutp6myfP1FaJiTqIEGRS3ON79Rucf8E9VSqYrlt6f9YCmqZVaN41kgeFZT03BFkDTK5ypzlTk3R4o3MA7jSYUrNl0kS83M06jw0GZFFpMVSKfJrM7HiFPoaLpfUy6ddLu7CIXMIhqs5DWfpmL6Xve+EMWVFZ9WJsuBWCigju/mV5+Smt+ST/lLjb0TkDSAMmIpuIKvMrnAv0uuNwHkyBjy7G+UV3yywi92YNwLdW/agtB7ACvGkrzAU5VV13QKdizVWwH6BcjmltEVU+TCix1u4o9fPfe408onifxyyi1rQLzk4caNic/luQ/ARBca2iXhen+Q+NaUfCvHX+c= dean@dean-ThinkPad-X250
@dnk8n
dnk8n / dictreader.py
Last active April 6, 2022 14:50
Use openpyxl to return a dictreader
from pathlib import Path
from typing import Any, Callable, Dict, Iterator, List, Optional, Union
from openpyxl import load_workbook
def xlsx_dictreader(
filename: Union[str, Path],
sheet_index: int = 0,
header_row_index: int = 1,
@dnk8n
dnk8n / process-wiki-dump-with-output.ipynb
Created August 4, 2021 04:14
Output of processing a filtered including timings of long running processes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dnk8n
dnk8n / download-wiki-dumps.ipynb
Last active August 3, 2021 14:50
Download Wiki Dumps
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dnk8n
dnk8n / terraform.aws.main.tf
Last active July 25, 2018 10:50
A Terraform template for AWS, that spins up a temporary provisioner to carry out some CI on your own infrastructure. An example project which uses this is located at https://github.com/dnk8n/bazel-alpine-package/tree/dnk8n-0.15.2
variable "vpc_id" {
default = ""
}
variable "subnet_id" {
default = ""
}
variable "ami_owners" {
type = "list"
default = ["amazon"]
}
@dnk8n
dnk8n / simple_random_agent.py
Created April 18, 2018 19:26
A more readable simplification of the random agent example found at https://github.com/openai/retro/blob/master/examples/random_agent.py
import retro
env = retro.make(game='SonicTheHedgehog-Genesis', state='GreenHillZone.Act1', record=True)
env.reset()
time = 0
total_reward = 0
while True:
action = env.action_space.sample()
observation, reward, done, info = env.step(action)
time += 1