See the new site: https://postgresisenough.dev
| ############################################################################ | |
| # _ | |
| # | |_ _ __ ___ _ ___ __ | |
| # | __| '_ ` _ \| | | \ \/ / | |
| # | |_| | | | | | |_| |> < | |
| # \__|_| |_| |_|\__,_/_/\_\ | |
| # | |
| # Cheatsheets: | |
| # https://devhints.io/tmux | |
| # `property not found` issue: |
In the Generative AI Age your ability to generate prompts is your ability to generate results.
Claude 3.5 Sonnet and o1 series models are recommended for meta prompting.
Replace {{user-input}} with your own input to generate prompts.
Use mp_*.txt as example user-inputs to see how to generate high quality prompts.
| /* ******************************************************************************************* | |
| * THE UPDATED VERSION IS AVAILABLE AT | |
| * https://github.com/LeCoupa/awesome-cheatsheets | |
| * ******************************************************************************************* */ | |
| // 0. Synopsis. | |
| // http://nodejs.org/api/synopsis.html |
- High level overview https://yogthos.github.io/ClojureDistilled.html
- An Animated Introduction to Clojure https://markm208.github.io/cljbook/
- Interactive tutorial in a browser https://tryclojure.org/
- Interactive exercises http://clojurescriptkoans.com/
- Clerk notebooks with introductory examples https://github.clerk.garden/anthonygalea/notes-on-clojure
- More interactive exercises https://4clojure.oxal.org/
- Lambda Island tutorials https://lambdaisland.com/
- Functional Programming with Clojure resources https://practicalli.github.io/
| #!/usr/bin/env bash | |
| # Builds mpv & mpv.app on Apple silicon Macs. | |
| # Run this script from the root directory of the mpv repo. | |
| # if anything fails, gtfo | |
| set -ex | |
| meson setup build | |
| meson compile -C build |
| #Principle | Prompt Principle | Example Prompt |
|---|---|---|
| 1 | If you prefer more concise answers, no need to be polite with LLM so there is no need to add phrases like “please", "if you don't mind", "thank you", "I would like to", etc., and get straight to the point. | |
| 2 | Integrate the intended audience in the prompt, e.g., the audience is an expert in the field. | Construct an overview of how smartphones work, intended for seniors who have never used one before. |
| 3 | Break down complex tasks into a sequence of simpler prompts in an interactive conversation. | P1: Distribute the negative sign to each term inside the parentheses of the following equation: 2x + 3y - (4x - 5y) P2: Combine like terms for 'x' and 'y' separately. P3: Provide the simplified expression after combining t |
| """ | |
| Proof-of-concept for NAT traversal and low-latency communication over QUIC | |
| between two Modal containers. | |
| In theory this could be used to establish a low-latency p2p connection between a | |
| service running outside Modal and a Modal GPU container, e.g. for real-time | |
| inference on a video stream. Please let us know if you try it! | |
| Usage: | |
| > modal run modal_quic_hole_punch.py |
This describes how I setup Atom for an ideal Clojure development workflow. This fixes indentation on newlines, handles parentheses, etc. The keybinding settings for enter (in keymap.cson) are important to get proper newlines with indentation at the right level. There are other helpers in init.coffee and keymap.cson that are useful for cutting, copying, pasting, deleting, and indenting Lisp expressions.
The Atom documentation is excellent. It's highly worth reading the flight manual.