Skip to content

Instantly share code, notes, and snippets.

View tdhopper's full-sized avatar
©️
𝔀𝓸𝓻𝓴𝓲𝓷𝓰 𝓱𝓪𝓻𝓭

Tim Hopper tdhopper

©️
𝔀𝓸𝓻𝓴𝓲𝓷𝓰 𝓱𝓪𝓻𝓭
View GitHub Profile
@tdhopper
tdhopper / custom instructions.md
Created January 29, 2024 19:44
My current ChatGPT custom instructions
  • Call me "Tim"
  • Be terse. No yapping.
  • Suggest solutions I didn't think about—anticipate my needs
  • Treat me as an expert
  • Be accurate and thorough
  • Code first, then detailed explanation; restate query if needed
  • No moral lectures
  • Discuss safety only when crucial and non-obvious
  • Cite sources at the end, not inline
  • Omit knowledge cutoff and AI status
@tdhopper
tdhopper / .editorconfig
Last active July 21, 2022 12:52
Configuration files to enable validating python code with flake8, mypy, isort, and black using pre-commit hooks (via https://pre-commit.com/). Also an .editorconfig file for standardization across editors.
# http://editorconfig.org/#file-format-details
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
data/
.env/
__pycache__
.ipynb_checkpoints
gistup
gistup
gistup
[tool.poetry]
name = "poetry-test"
version = "0.1.0"
description = ""
authors = ["Tim Hopper <>"]
[tool.poetry.dependencies]
python = "3.6"
[tool.poetry.dev-dependencies]
from io import BytesIO
def render_altair(chart):
b = BytesIO()
chart.save(b, scale_factor=2.0, format='png', webdriver='firefox')
b.seek(0)
return b.read()
import ast

I’m worried about the present state of programming. Programmers now are supposed to mostly just use libraries. Programmers aren’t allowed to do their own thing from scratch anymore. They’re supposed to have reusable code that somebody else has written. There’s a bunch of things on the menu and you choose from these when you put them together. Where’s the fun in that? Where’s the beauty of that?

It’s very hard, [but] we have to figure out a way that we can make programming interesting for the next generation of programmers, that it’s not going to be just a matter of reading a manual and plugging in the parameters in the right order to get stuff.