Skip to content

Instantly share code, notes, and snippets.

View danielsgriffin's full-sized avatar

Daniel S. Griffin danielsgriffin

View GitHub Profile
View eval_evaluation_YouChat (Research)_4.md

Evaluation

This response provides a detailed examination of the evolution of New York City's government structure, presenting direct, evidence-based, comprehensive, and contextualized information.

Strengths:

  1. Comprehensive Coverage: The response is deeply detailed, examining the structure from its initial formation, through changes notably in its mid-20th century, to the present day system.

  2. Evidence and Examples: The argument is substantiated with references to specific time periods, government officials, economic and social challenges, and government organizations established over time.

@danielsgriffin
danielsgriffin / debing.user.js
Created January 23, 2024 00:08
On ChatGPT, any mention of 'Doing research with Bing' on the page will click the Stop generating button.
View debing.user.js
// ==UserScript==
// @name DeBing
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Any mention of 'Doing research with Bing' on the page will click the Stop generating button.
// @author danielsgriffin
// @match https://chat.openai.com/*
// @grant GM_addStyle
// ==/UserScript==
View trying_you_api.py
import os
import requests
from datetime import datetime
import json
import llm # from Simon Willison's https://llm.datasette.io/en/stable/python-api.html
import tiktoken # for constraining prompt context length
YOU_API_KEY = os.environ.get("YOU_API_KEY")
RESULTS_LOG_FILE = "tiyse_results.json"
@danielsgriffin
danielsgriffin / cshtfc.md
Created October 1, 2023 08:07
Fact check schemas for my Claude Shannon hallucination test page
View cshtfc.md
View update_changes_link.md
View twitter_edit_button_speculative_tweet
if you see an edited Tweet it's because we're testing the edit button
this is happening and you'll be okay
have doubts? no worries, we got you. follow this thread as we introduce our team of researchers who have been studying this for the past 3 years.
first, they will share stories from in-depth qualitative research on where we see typos (and the not uncommon 'beautiful oops' 🥰) and the friction & conflict introduced as people interact with the Twitter interface. they show convincingly that people underestimate the effect of making or trying to read typos on others and the disproportionate impact across our community. throughout they highlight great academic research and comments from community members.
second, they will present baseline data covering typos over the entire existence of Twitter. we find typos-rate and typo-friction-rates fluctuating over time. sometimes friction is useful (shoutout to Dr. @annatsing!, everyone welcome her to twitter 👋), so they break out comparisons of productive-friction
View beneficent_search_engine_content_advisory.md

screenshot: A mock Google search page: Query: [insert query here]

It looks like there aren't many great matches for your search in our index!

Want help reformulating your query? Check out these free external guides for domain-specific advice from community-experts on identifying and revising queries for your searches.

Need help choosing other search systems? Here is a community-managed open source table for selecting search systems: [insert filterable list of search engines with distinct indexes or filtering/interaction features (inc. Internet Archive, government and library web-based search systems, competitor search engines, experimental search engines), links to and community-written guides to question-asking & exploratory browsing on forums and other social media platforms (inc. expert comments on safety, privacy, & transparency reports like links to Ranking Digital Rights, etc.), links to locale-specific librarian desk reference services, collaboration with Wikimedia: 'how to search Wikimedia'. [inclu

@danielsgriffin
danielsgriffin / check_vdr_library.py
Created May 24, 2022 19:42
Script to check if file is already in Voice Dream Reader library
View check_vdr_library.py
"""Script to check if file is already in Voice Dream Reader library.
I use this script w/in another to open the Reader programmatically with
a new file added if it isn't already in the library.:
The following in the terminal will add the FILENAME to the library
even if already used:
open -a "Voice Dream Reader" FILENAME
Python snippet from external script:
View mock_python_syllabus.py
"""Here is the module docstring to explain what this file does.
Purpose: provide a syllabus of sorts with a light introduction to various
aspects of python.
"""
print("Hello Python Boot Camp Students")
def introduce_syllabus():
"""This function introduces the syllabus (this script) for the Python Boot
View scott1998seeing, DDT, and the costs outside the model.md

Link to tweet.

James C. Scott's "Seeing Like a State: How Certain Schemes to Improve the Human Condition Have Failed"; Ch. 8. Taming Nature: An Agriculture of Legibility and Simplicity (p.291-292):

Occasionally, however, these effects ["outside the realm of the experimental design"] have been both important and potentially threatening. A striking example from the years between 1947 and 1960 was the massive, worldwide use of pesticides, the most infamous of which was DDT. DDT was sprayed to kill mosquito populations and thereby reduce the many diseases that the pests carry. The experimental model was largely confined to determining the dosage concentrations and application conditions required for eradicating mosquito populations. Within its field of vision, the model was successful; DDT did kill mosquitos and dramatically reduced the incidence of endemic malaria and other diseases.[86] It also had, as we slowly became aware, devastating ecolo