Commit Graph

53 Commits

Author SHA1 Message Date
c93dd3f4d1 docs: clarify WebSocket setup steps by renaming section header and adding missing example heading in how-to-setup-websocket-example.md 2025-01-21 12:14:02 +00:00
8fad97a0d0 docs: add context note explaining snippet origin from official docs in websocket guide 2025-01-21 12:13:19 +00:00
2f09159797 docs: add missing aiohttp pip install step to WebSocket setup guide 2025-01-21 12:10:19 +00:00
b030018508 docs: add missing closing code fence after Python WebSocket handler example in how-to-setup-websocket-example.md 2025-01-21 12:05:47 +00:00
56818351df docs: add how-to-setup-websocket-example.md with Python aiohttp server and client setup guide 2025-01-21 12:05:05 +00:00
d423661d6b feat: add kiki-dream.md with clockwork aurora dream sequence narrative content
Introduce a new markdown file containing an AI-generated "Kiki dream" titled "The Clockwork Aurora", featuring surreal imagery of time rivers, floating islands, a silver-haired girl with a glowing pocket watch, and a labyrinth of frozen moments. The narrative explores themes of fractured time and cosmic clockwork mechanics.
2025-01-12 15:05:38 +00:00
a50dfc5142 docs: remove prompt for further dreamscape generation from kiki analysis document 2025-01-12 14:58:38 +00:00
c5feb0843c feat: add kiki-dream-analysis.md with structured dream interpretation framework covering surreal existentialism, technological dystopia, and social commentary 2025-01-12 14:58:03 +00:00
897419136a feat: add find_dirty_repos script to detect uncommitted changes in git repos
Introduce repos.finddirty.py, a Python utility that scans a specified directory for Git repositories and reports those with uncommitted changes. The script uses pathlib for filesystem traversal, subprocess to execute git status commands, and sys for argument handling. It defines is_git_repo() to check for .git directories and is_dirty() to parse git status output for "tree clean" indicators, returning None for non-repo paths. Licensed under MIT.
2025-01-06 23:08:56 +00:00
b2ad31f5f6 feat: add tokenizer.c with utf-8 byte pair encoding implementation
Implement tokenizer.c containing is_valid_char helper and main function for reading text files, extracting alphanumeric words with dash/underscore support, and tracking word positions, line numbers, and paragraph counts across the input stream.
2025-01-05 15:20:06 +00:00
fb02bc786d fix: replace while-true-break pattern with walrus operator in tokenizer file read loop 2025-01-05 15:00:38 +00:00
a4fb287b54 feat: add tokenizer module with whitespace splitting, punctuation handling, and SQLite-backed vocabulary builder 2025-01-05 14:57:33 +00:00
f0e3e6ce06 chore: remove outdated racist paper-about-india.md from repository 2025-01-03 17:13:36 +00:00
d6f176d595 docs: update pricing table for OpenAI's most expensive AI models with 2026 rates 2024-12-26 23:01:56 +00:00
182269bc29 docs: update OpenAI pricing table with 2026 rates for GPT-5 and o3 flagship models
Updated the pricing documentation to reflect the new 2026 per-token costs for OpenAI's premium tier models, including GPT-5 Ultra and o3-max, with input/output rates of $150/$600 per million tokens respectively.
2024-12-26 23:00:08 +00:00
b9f68de9cc feat: add pricing document for OpenAI's most expensive premium AI models including GPT-4 Turbo per-token costs
Introduce a new markdown file detailing usage-based fees for input and output tokens of OpenAI's highest-tier models, with specific per-token rates for GPT-4o and GPT-4o-2024-11-20, and a step-by-step methodology to convert abstract token pricing into human-understandable time-based costs for enterprise applications.
2024-12-26 22:58:37 +00:00
65f6beca91 feat: update brute-force comment to emphasize web latency and add uuid4 overhead note 2024-12-26 14:35:26 +00:00
a9f64fc759 feat: add brute-force-is-useless placeholder with recursive password cracking demo in C 2024-12-26 14:31:46 +00:00
6a397e3a69 chore: replace hardcoded api key with env import and update setup instructions in openai_agent_example.py 2024-12-22 10:25:17 +00:00
782efe8fb6 docs: expand smashing-like-a-hooligan.md with keylogger activity summaries for 2024-12-08 and 2024-12-09 2024-12-22 03:08:22 +00:00
e900cd24bc feat: add smashing-like-a-hooligan.md with hooligan-themed keylogger analysis content 2024-12-22 03:00:43 +00:00
ec2b2e9526 chore: remove unused os import and refactor HTTPResponse header parsing in httpr.py 2024-12-21 19:49:14 +00:00
832eae804f feat: add http-chunked.py implementing chunked transfer encoding with extensions and trailers 2024-12-21 18:37:51 +00:00
cae85929bc feat: add streaming response support to openai agent example with stream=True and token iteration
Added a new `stream_response` function that yields tokens incrementally by setting `stream=True` on the chat completion call and iterating over response chunks. The example now includes a `main` block that calls this function with a sample prompt, demonstrating real-time output for interactive use cases. Also fixed grammar and punctuation in docstrings, corrected the pip install package name from `openapi` to `openai`, and improved clarity of setup instructions.
2024-12-20 19:00:20 +00:00
3932cec51a feat: add openai_agent_example.py demonstrating agent integration with OpenAI API
Introduce a new 219-line example script that implements an Agent class for building AI agents using the OpenAI API. The script includes setup instructions, fake API credentials for educational purposes, async support via asyncio, and a full chat history tracking mechanism through the messages property.
2024-12-20 17:49:17 +00:00
3827e8c64e docs: replace placeholder title and contact info with project overview and setup instructions in README 2024-12-17 17:40:23 +00:00
9fd51af0e0 docs: add section on Mughal economic policies and revise conclusion on Indian attention to detail 2024-12-17 13:20:39 +00:00
32ba395849 docs: expand title scope in paper-about-india.md from "Indians" to "ALL Indians" 2024-12-17 13:19:37 +00:00
11021397df docs: add Mughal economic policies section to India paper with historical context 2024-12-17 13:17:23 +00:00
47839344f4 feat: add paper-about-india.md with initial research content on cultural and educational factors affecting attention to detail in Indian population 2024-12-17 13:15:15 +00:00
b5faad104b feat: add llm_analysis_rants.txt with raw model introspection logs
Introduce a new file containing LLM-generated analysis of user rants, where each entry evaluates whether a given rant is spam and provides a contextual interpretation of the user's intent or emotional state.
2024-12-16 05:16:26 +00:00
d3606cc2ad docs: add notes_on_docker_usage.md covering resource cleanup commands and troubleshooting steps 2024-12-11 16:35:59 +00:00
19bc3c062e feat: add buffon_network1.json with 662-line comment topology dataset for hacker persona analysis 2024-12-10 13:40:50 +00:00
cea2286e24 docs: add rtree.h header documentation with usage examples for tree data structure 2024-12-05 00:12:51 +00:00
0cf474399c docs: add publish.md with project release and deployment instructions 2024-12-04 21:02:05 +00:00
4a3dcb561e docs: correct module name from AsyncPatch to AsyncioPatch in documentation header 2024-12-04 20:58:02 +00:00
1688a903cb docs: correct module name from AsyncPatch to sayncio_patch and add usage examples 2024-12-04 20:45:44 +00:00
b524df0410 docs: add documentation for sayncio_patch.py module with usage examples 2024-12-04 20:45:33 +00:00
dca2af7343 chore: capitalize list items and add periods to env.py.md instructions 2024-12-04 20:38:01 +00:00
9e93e64ad6 chore: correct comment to state base64 decoded instead of encoded for password secret in env.py.md 2024-12-04 20:37:15 +00:00
268e64efd1 chore: add DATABASE_URL and API_KEY env var definitions with defaults in env.py 2024-12-04 20:36:51 +00:00
797d93bda6 feat: add env.py module for base64-encoded secret loading from environment variable
Introduces a new env.py utility that loads a base64-decoded password from the SECRET environment variable when imported, and provides an interactive password-to-base64 conversion when run as a script.
2024-12-04 20:36:32 +00:00
bb517a0736 docs: add language identifier to IMAP code blocks for python syntax highlighting 2024-12-04 20:31:03 +00:00
ff8c685134 docs: add IMAP SSL connection example with folder listing to python_imap_usage.md
Extend the Python IMAP usage documentation with a complete code example demonstrating SSL-based connection to an IMAP server, authentication, and listing of available mail folders. The example includes proper error handling and connection cleanup.
2024-12-04 20:30:40 +00:00
d1af6f75d8 docs: expand python_imap_usage.md with SMTP coverage and dependency notes 2024-12-04 20:29:39 +00:00
202c80c665 docs: add SMTP class skeleton with env import and login state in Python IMAP doc 2024-12-04 20:27:22 +00:00
aa2eed5e40 docs: correct title and add section heading for SMTP example in IMAP usage guide 2024-12-04 20:26:26 +00:00
fca2e67d23 docs: add python_imap_usage.md with IMAP client usage examples and configuration details 2024-12-04 20:26:01 +00:00
6e5bfc2ed7 docs: add step-by-step guide for training model to recognize patterns in data 2024-12-04 20:12:27 +00:00
fa4b55e11e docs: add usage section with inference code for loading trained model and capturing webcam video 2024-12-04 20:10:06 +00:00