Skip to content

Instantly share code, notes, and snippets.

View jonwalstedt's full-sized avatar

Jon Wålstedt jonwalstedt

View GitHub Profile

Here are some prompting techniques to take you through 2026:

Don’t ask for solutions. Ask for pressure, friction, reframing, and contradictions.

Treat ChatGPT as a model of a system, not an oracle

Instead of "What's the best architecture?", ask "Give me 3 architectures that fail in different ways." Instead of "How should we design this?", ask "Walk me through the system's internal pressures and where cracks are likely to form.”

Use progressive adversarial prompting

@jonwalstedt
jonwalstedt / SassMeister-input-HTML.html
Created February 13, 2015 14:54
Generated by SassMeister.com.
<div class="test"></div>
@jonwalstedt
jonwalstedt / 1. logfilename.py
Last active January 4, 2016 20:39
Helper to get current filename, row and method when logging in javascript and coffeescript, also prints for php and python
import sublime, sublime_plugin, os, re
class LogHelperCommand(sublime_plugin.TextCommand):
def run(self, edit):
(row,col) = self.view.rowcol(self.view.sel()[0].begin())
syntax = self.view.settings().get('syntax').split('/')[2].lower().replace(".tmlanguage", "")
text = ""
s = ""