Commit Graph

1391 Commits

Author SHA1 Message Date
kennethreitz a3db32ef2e Add humorous essay: What Your Stardew Valley Says About You
A short, contemplative piece exploring how different play styles in Stardew Valley reveal personality types - from efficiency optimizers to winter hibernators who sleep through entire seasons.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-22 06:57:33 -04:00
kennethreitz 5e5fae0883 Improve fortune essay: reduce sidenotes and fix personal details
- Reduced sidenotes from 9 to 4 for better reading flow
- Kept only the most essential philosophical insights
- Removed inaccurate claims about personal bashrc setup
- Made workflow integration more general and truthful
- Maintained core insights about serendipity vs algorithmic manipulation

Essay now has optimal sidenote density while preserving the key
contemplative depth about technology serving consciousness.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-21 06:52:21 -04:00
kennethreitz 41d36f1e59 Add optimized essay: The Joy of Fortune - Serendipity in the Terminal
Explores the simple pleasure of the `fortune` CLI tool and what it represents
about healthy relationships with technology:

- Contrasts serendipitous randomness with algorithmic manipulation
- Unix philosophy applied to moments of delight and consciousness serving
- Random wisdom as spiritual practice and pattern-breaking tool
- 10 contemplative sidenotes providing philosophical depth
- Strategic cross-linking to consciousness-serving technology themes
- Removed specific workplace references for universal appeal

Demonstrates how simple tools can serve consciousness rather than exploit it,
connecting personal practice (using fortune) to broader questions about
technology design and collective consciousness.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-21 06:50:34 -04:00
kennethreitz 7ac1e9d5ca Add Infinite State Sample Pack to software collection
Created comprehensive software page for the open-source sample pack that extends
Kenneth's "For Humans" philosophy into creative domains:

- Detailed synthesizer catalog (MakeNoise 0-Coast, Moog Sub37, Roland JP-08, etc.)
- Open source creativity philosophy connecting code and music principles
- Recursive loop concept applied to creative consciousness and tool building
- Cross-references to existing software projects and philosophical themes
- Practical usage information and Creative Commons approach

Demonstrates how consciousness-serving technology principles apply beyond
traditional software into artistic collaboration and creative tool building.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-21 06:15:14 -04:00
kennethreitz 0e24d83b1e Optimize colophon with enhanced cross-linking and curated sidenotes
- Enhanced voice with contemplative pragmatism and recursive thinking
- Added strategic cross-links to 4 key essays connecting technical choices to philosophy
- Added authentic Sarah acknowledgment for conversations and creative support
- Enhanced sidenotes with philosophical depth while removing clutter from Stack section
- Fixed bullet point formatting to end with periods per style guidelines
- Improved flow from technical details to deeper consciousness-serving philosophy

Colophon now demonstrates the recursive loop in action: how personal technical
choices embody larger philosophical frameworks about programmer responsibility
for collective consciousness.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-20 18:02:24 -04:00
kennethreitz e15e005682 Update footer link and add essay reference to colophon
- Changed footer "Made with love" to link to /colophon instead of biblical reference
- Added link to "Entertaining the Brain, Effectively" essay in colophon "Why" section
- Positioned essay link at paragraph start to trigger automatic icon embedding
- Creates better navigation flow between technical details and philosophical foundations

The colophon now connects visitors to the deeper philosophy behind the site's
approach to cognitive entertainment and consciousness-serving technology.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-20 17:56:35 -04:00
kennethreitz 837eec0567 Add GitHub repository link to colophon license section
- Added direct link to https://github.com/kennethreitz/kennethreitz.org
- Updated sidenote to reflect current "procedural icon generation system"
- Streamlined language for better readability
- Makes it easier for visitors to access the open source code

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-20 17:54:31 -04:00
kennethreitz 49a5710f1c Update colophon to reflect current abstract icon system
- Changed "Sacred Geometry Icons" to "Procedural Abstract Icons"
- Removed outdated references to Flower of Life, Sri Yantra, etc.
- Updated description to match current svg_icon_generator.py implementation
- Added "1.5 trillion possible combinations" detail for accuracy
- Changed metaphor from "unique mandala" to "unique visual DNA"
- Updated philosophy to "deterministic chaos made beautiful"

Colophon now accurately describes the abstract geometric patterns
actually generated by the current icon system.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-20 17:49:52 -04:00
kennethreitz 9e72080d66 Fix ConsciousContent class docstring to proper PEP8 single-line format
- Changed multi-line docstring to single-line per PEP8 guidelines
- Maintains clean, professional code style in philosophical examples
- Keeps the technical precision that Kenneth values in code examples

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-20 17:46:24 -04:00
kennethreitz 5e02d95d4b Add new essay: Entertaining the Brain, Effectively
Explores writing as cognitive entertainment that serves consciousness rather
than exploiting attention. Key themes:

- Technical precision as performance art for minds that appreciate craft
- The difference between mindless consumption and cognitive nutrition
- Writing as interface design between minds using "For Humans" philosophy
- Recursive entertainment loop: entertained brains create more entertaining content
- Responsibility when influencing how consciousness works

Includes optimized sidenotes, cross-linking to related essays, and authentic
acknowledgment of Sarah's role in creating contemplative conditions for
conscious work. ~1,400 words in Kenneth's contemplative pragmatism voice.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-20 17:41:30 -04:00
kennethreitz abd0c9a67b Optimize visual hierarchy essay and clarify it's about kennethreitz.org
- Enhanced cross-linking to 7 related essays and themes for better integration
- Made explicit that examples are from kennethreitz.org specifically
- Improved flow and transitions between sections
- Strengthened contemplative pragmatism voice throughout
- Added "this site" and "digital garden" references for clarity
- Demonstrates recursive loop in action: examining own site's design

Essay now clearly shows Kenneth analyzing his own visual design decisions
rather than abstract theorizing, making it more authentic and grounded.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-20 01:09:45 -04:00
kennethreitz a9be52ede8 Add new essay: Visual Hierarchy and the Shape of Attention
Explores how visual systems shape consciousness through two technical examples:
- Icon generator creating 1.5 trillion unique combinations as digital DNA
- Typography hierarchy bug fix revealing cognitive architecture

Connects procedural icon generation and typographic design to broader themes
of recursive loops between code and consciousness, demonstrating how programmer
decisions become cognitive infrastructure for millions of minds.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-19 17:25:50 -04:00
kennethreitz 94ffeafebc Fix h4 heading typography to distinguish from paragraph text
- Increase h4 font-size from 1.4rem to 1.6rem (paragraphs are 1.4rem)
- Increase h4 font-weight from 500 to 600 for better visual hierarchy
- Now h4 headings are clearly distinguishable from body text

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-18 23:13:55 -04:00
kennethreitz e1c24aa570 Update homepage with recursive loop philosophy and enable directory icons
- Rewrite index.md to better reflect Kenneth's contemplative pragmatism voice
- Center the content around the recursive loop between code and consciousness
- Emphasize the responsibility of programmers shaping collective consciousness
- Enable article icons on /directory page by removing from exclusion list

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-18 18:57:55 -04:00
kennethreitz b5ebe35602 Remove AI Collaborations section from mental health theme page
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-18 18:42:11 -04:00
kennethreitz a353ccfaa7 Add folder icon support for directory links in icon API
- Detect directory paths (ending with / or pointing to directories)
- Use generate_folder_icon() for directories instead of regular article icons
- Read index.md files for directory titles when available
- Fallback to directory name for folder icon generation
- Fixes AI personalities link and other directory links to show proper folder icons

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-18 15:06:05 -04:00
kennethreitz 19b74e503a Match icon media query breakpoint to sidenote breakpoint (760px)
- Change icon hiding from max-width: 1024px to max-width: 760px
- Icons now hide at same breakpoint where sidenotes get reorganized
- Maintains consistent responsive behavior with Tufte CSS framework

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-18 14:57:15 -04:00
kennethreitz 6a34a87caa Hide article icons on mobile and tablet devices
- Add responsive CSS media query to hide icons on screens ≤ 1024px
- Use reliable window flag tracking to prevent duplicate styles
- Apply both display:none and visibility:hidden for consistency
- Ensure clean mobile/tablet experience while preserving desktop icons

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-18 14:50:17 -04:00
kennethreitz bd62ba8550 Enhance icon system for themes and improve positioning
- Add themes directory to content cache for proper icon generation
- Remove colored dots from themes/index.md to enable icon display
- Fix JavaScript to handle links wrapped in strong tags
- Improve icon positioning with refined margins and alignment
- Prevent icons from loading on index/archive pages
- Fix navigation link to point to /themes instead of /themes/
- Optimize icon spacing and vertical alignment across devices

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-18 14:45:14 -04:00
kennethreitz 5f126491f9 Fix article link icons and improve icon generation system
- Fix data URL display issue by using inline SVG instead of img src
- Add LRU cache to icon API for better performance
- Expand icon coverage to all internal links (not just essays)
- Add software, poetry, and talks directories to content cache
- Implement fallback logic to read files directly when not in blog cache
- Fix Requests icon to use full title "Requests: HTTP for Humans"
- Improve icon positioning with negative margins and vertical alignment
- Add graceful fallback icons for missing content

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-18 14:18:00 -04:00
kennethreitz 7dc11f7c16 Fix navigation dropdown z-index on index pages
Increase dropdown z-index to 999999 and set main/article elements to z-index 1
to prevent content from rendering above navigation dropdown on index pages.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-18 13:32:46 -04:00
kennethreitz 1aa0d51e3d Reorganize content guide and fix navigation issues
- Move content guide from base.html footer to homepage bottom
- Add search to archive page browse-by-type section
- Fix navigation dropdown z-index conflicts
- Increase dropdown z-index to 99999 for proper layering
- Set year-picker z-index to 1 to stay below navigation
- Fix mobile connections page width from 65% to 100%

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-18 12:41:55 -04:00
kennethreitz a2a51ce4a5 Fix mobile width for connections page link boxes
Increase max-width from 65% to 100% on mobile for better readability.
Connection boxes now use full available width on mobile devices.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-18 08:14:59 -04:00
kennethreitz 712e893d05 Fix mobile post title icons being cut off
Remove negative margin on mobile that pushed icons outside viewport.
Reduce icon size from 48px to 32px for better mobile proportions.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-17 18:03:07 -04:00
kennethreitz 25c22c5d7f update publish.md 2025-09-17 18:02:02 -04:00
kennethreitz 08aad7b40e Complete dropdown z-index fix with proper stacking context
- Add z-index: 9999 to header and nav elements
- Ensure proper stacking context with position: relative
- Fix dropdown rendering underneath H1 and body text
- Comprehensive solution for all dropdown layering issues
2025-09-17 17:57:58 -04:00
kennethreitz e630d1cb6f Fix mobile dropdown z-index layering issue
- Increase dropdown z-index from 1000 to 9999
- Ensure dropdown appears above essay content on mobile
- Fix layering issue where text appeared on top of dropdown
2025-09-17 17:54:26 -04:00
kennethreitz d8ff37219e Fix mobile dropdown background visibility
- Add CSS exception for .nav-dropdown .dropdown-content on mobile
- Override the transparent background rule specifically for dropdown
- Ensure white background is visible on mobile devices
2025-09-17 17:51:47 -04:00
kennethreitz e4fb17097a Fix archive excerpts - remove all markdown images and improve filtering
- Enhanced simple_extract_excerpt() function to filter markdown images
- Added support for linked images [![](url)](url)
- Improved line-by-line filtering to find meaningful content
- Reduced excerpt length to 150 characters for better display
- Removed prebuild cache system to simplify architecture
- Fixed markdown filtering in all excerpt generation functions
2025-09-17 10:32:00 -04:00
kennethreitz 3a4c13b3c6 Remove sidenote from FizzBuzz essay 2025-09-17 10:16:14 -04:00
kennethreitz ba7d669db7 Fix directory listing title alignment - prevent long titles from being centered 2025-09-17 10:15:08 -04:00
kennethreitz 77e5ef9623 Fix major performance bottleneck in directory listings
- Add cached markdown title extraction with @lru_cache(maxsize=1000)
- Replace expensive render_markdown_file() calls with fast regex title extraction
- Only read first 1000 chars instead of full file content for title extraction
- Essays directory and other large directories now load significantly faster
- First load: fast title extraction, subsequent loads: instant cache lookup

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-17 10:07:03 -04:00
kennethreitz 6491c26ac1 Add memoization to SVG icon generation for significant performance improvement
- Add @lru_cache(maxsize=1000) to generate_unique_svg_icon() in svg_icon_generator.py
- Add @lru_cache(maxsize=500) to generate_folder_icon() in engine.py
- Import functools.lru_cache in both files
- Directory pages with many items (like /essays) now load much faster on repeat visits
- Icons generated once per unique title, then served from memory cache

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-17 10:00:57 -04:00
kennethreitz 69553a39bd Enhance site with generated icons, performance optimizations, and UI improvements
- Add unique algorithmic SVG icons for all content (articles and folders)
- Implement reading progress indicator for longer essays
- Add search result highlighting with contextual snippets
- Optimize directory listings with parent navigation links
- Add lazy loading for images with IntersectionObserver
- Implement HTTP caching headers for static assets
- Add resource preloading for critical CSS files
- Convert blockquote sidenotes to proper Tufte-style format in lumina folder
- Fix duplicate directory listings by filtering backup files
- Convert  bullet characters to proper markdown lists
- Add Themes to main navigation with proper spacing
- Update README with comprehensive feature documentation

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-17 09:33:23 -04:00
kennethreitz 4062f614de base.html 2025-09-17 09:29:38 -04:00
kennethreitz 7f51a2a028 Add support for .bak files in directory structure filtering 2025-09-17 09:25:29 -04:00
kennethreitz 3640827e5b Add folder icon generation for themes and update navigation links 2025-09-17 09:15:19 -04:00
kennethreitz 37f580a345 Add performance optimizations: lazy loading and caching
- Implement lazy loading for images using IntersectionObserver
- Add HTTP caching headers for static assets (images: 7 days, others: 1 hour)
- Preload critical CSS resources for faster initial page load

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-17 08:37:44 -04:00
kennethreitz 2cce051bc8 Add reading progress indicator and enhance search with result highlighting
- Add reading progress bar for longer essays with smooth animation
- Implement search result snippets with highlighted query terms
- Tighten directory listing styles for better compactness
- Add back-to-parent navigation links in directory views

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-17 08:36:43 -04:00
kennethreitz 3287eed5ac Add parent directory navigation with icon in directory view 2025-09-17 08:31:25 -04:00
kennethreitz cd53aca62d Adjust font sizes for directory links to improve readability 2025-09-17 08:27:01 -04:00
kennethreitz e32963af12 Refactor directory item styles for improved layout and responsiveness 2025-09-17 08:24:25 -04:00
kennethreitz 16cf23a11d Add unique icons for articles and adjust layout in search results and templates 2025-09-17 08:18:00 -04:00
kennethreitz b4e7ec873d Enhance directory and archive layouts with unique icons and responsive styles
- Added a new SVG icon generator to create unique procedural icons for posts and directories.
- Implemented a grid layout for directory contents with hover effects and responsive adjustments.
- Updated archive and connections templates to display unique icons alongside article titles.
- Improved styling for archive posts, including flexbox layout for better alignment.
- Enhanced directory listing with icons and improved visual hierarchy.
- Refactored post template to include an icon next to the post title and added parent navigation links.
- Updated styles across templates for consistent icon sizes and responsive behavior.
2025-09-17 08:11:32 -04:00
kennethreitz 2854d6ae7f Add unique sacred geometry icons for each content piece with algorithmic patterns 2025-09-17 08:11:17 -04:00
kennethreitz 6700306bf0 Refactor Dockerfile and docker-compose.yml to remove 'uv' command prefix from gunicorn execution 2025-09-17 07:49:28 -04:00
kennethreitz d64bee05e9 Fix missing page titles on directory pages
- Use actual title from index.md content instead of directory name
- Falls back to directory name if no index.md or title exists
- Fixes issue where pages like /talks/#major-talks showed no title
- Now "Conference Talks" will properly display instead of generic "Talks"

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-17 06:48:47 -04:00
kennethreitz a845cfad5a Add new essay on delusions and schizoaffective disorder
- Create comprehensive essay exploring personal experiences with delusions
- Include specific examples: angel descending from sky, English as ancient language
- Use programming metaphors to explain delusional thinking patterns
- Add thoughtful sidenotes enhancing contemplative depth
- Cross-reference existing mental health essays
- Update all relevant indexes: main essays, mental health theme, and mental health page
- Maintain Kenneth's vulnerable authenticity and contemplative pragmatism voice

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-16 22:17:18 -04:00
kennethreitz 61a7cb3cf4 Fix triple images issue in Flask-Sockets essay
- Remove duplicate images that were causing display issues
- Keep single high-quality image with proper markdown formatting
- Improve content flow and readability

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-16 20:47:30 -04:00
kennethreitz 91999af2c5 Fix archive date parsing and optimize When Values essay
- Replace brittle filename-only date parsing with robust extract_intelligent_date function
- Fix archive to show all ~225 essays instead of just 71 from 2025
- Optimize "When Values Eat Their Young" essay with enhanced sidenotes and formatting
- Add authentic Sarah appreciation and improve contemplative depth
- Reduce bold formatting in failure modes section for better flow

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-16 20:42:46 -04:00