Reddit Programming – Telegram
Reddit Programming
212 subscribers
1.22K photos
125K links
I will send you newest post from subreddit /r/programming
Download Telegram
Building AI Agents to Play the Famous Game: Leisure Suit Larry (EPISODE 2)
https://www.reddit.com/r/programming/comments/1n5ambd/building_ai_agents_to_play_the_famous_game/

<!-- SC_OFF -->This episode gets into the technical side of things. Check out part 1 for the demo (links below) Watch as cutting-edge AI agents tackle the legendary Sierra adventure game Leisure Suit Larry! This comprehensive series explores how modern LLMs handle complex reasoning, humor, and puzzle-solving in classic gaming environments. 🤖 What You'll Learn
LLM-based agents vs true AGI-based Agents
Ben Gortzel, Rich Sutton, John Carmack
Project processing loop
Detailed prompt overview Series Videos
Part 1: Overview/Demo https://www.youtube.com/watch?v=e42I2bP0F6g
Part 2: Internals https://youtu.be/oxa1z_zKQ0Q Timestamps
0:26 AI Agents Fundamentals & Capabilities
2:45 Ben Gortzel - AI insights
4:16 Rich Sutton - AGI-Based Agents and the OaK Framework
5:38 John Carkmack Experiential AI and Keen Technologies
6:31 Our project's processing loop
8:39 The Static Prompt (Drives a Dynamic Context)
11:37 Interative, Dynamic (and LLM Augmented) Prompt
12:08 Wrapping up/What's next 🔧 Technical Stack
AGI Engine: Adventure Game Interpreter
Backend: CrafterCMS + Spring AI Framework
AI Models: Grok + Grok Vision (xAI)
Protocols: Model Context Protocol (MCP) 📚 Related AI Research
Rich Sutton: OaK Architecture & SuperIntelligence - https://www.youtube.com/watch?v=gEbbGyNkR2U
John Carmack: Keen Technologies Research - https://www.youtube.com/watch?v=iz9lUMSQBfY
Rich Sutton: https://www.youtube.com/watch?v=zZuh8YUBeDY 📚 Similar Projects
The Chaos of AI Agents https://www.youtube.com/watch?v=2YYjPs8t8MI #AIAgents #LLM #MachineLearning #ArtificialIntelligence #AgenticAI #OpenAI #GoogleAI #AnthropicClaude #GrokAI #xAI #SpringAI #ModelContextProtocol #MCP #AIResearch #GameAI #LLMEvaluation #MultiModalAI #AIBenchmarks #RetroGaming #SierraGames #LeisureSuitLarry #AITesting #MLEngineering #AIArchitecture #LangChain #AIAgentFrameworks <!-- SC_ON --> submitted by /u/Russ-Danner (https://www.reddit.com/user/Russ-Danner)
[link] (https://www.youtube.com/watch?v=oxa1z_zKQ0Q) [comments] (https://www.reddit.com/r/programming/comments/1n5ambd/building_ai_agents_to_play_the_famous_game/)
How to run python code in to wordpress website?
https://www.reddit.com/r/programming/comments/1n5fui7/how_to_run_python_code_in_to_wordpress_website/

<!-- SC_OFF -->Any easy way to run the Python code on the wordpress website. I already have the python code with me. looking for someone who can help me on this <!-- SC_ON --> submitted by /u/No-Salt-2290 (https://www.reddit.com/user/No-Salt-2290)
[link] (https://www.thewebhospitality.com/) [comments] (https://www.reddit.com/r/programming/comments/1n5fui7/how_to_run_python_code_in_to_wordpress_website/)
Vibe Coding Lets Anyone Start, But Few Know How to Finish
https://www.reddit.com/r/programming/comments/1n5hen9/vibe_coding_lets_anyone_start_but_few_know_how_to/

<!-- SC_OFF -->Vibe coding may be here to stay, but the challenges will always bring back the users to the fundamentals, I believe. And, this article says some part of it about how it is being marketed, “There’s still a significant gap between what these platforms promise and what new users actually experience.” What do you guys think? <!-- SC_ON --> submitted by /u/Soul_Predator (https://www.reddit.com/user/Soul_Predator)
[link] (https://analyticsindiamag.com/ai-features/vibe-coding-lets-anyone-start-but-few-know-how-to-finish/) [comments] (https://www.reddit.com/r/programming/comments/1n5hen9/vibe_coding_lets_anyone_start_but_few_know_how_to/)
Struggling with coding consistency?
https://www.reddit.com/r/programming/comments/1n5hig6/struggling_with_coding_consistency/

<!-- SC_OFF -->found a way to make daily coding practice literally rewarding <!-- SC_ON --> submitted by /u/Civil_Tomatillo6467 (https://www.reddit.com/user/Civil_Tomatillo6467)
[link] (https://www.educative.io/30-days-of-code) [comments] (https://www.reddit.com/r/programming/comments/1n5hig6/struggling_with_coding_consistency/)
C3 Language at 0.7.5: Language tweaks and conveniences
https://www.reddit.com/r/programming/comments/1n5u6qy/c3_language_at_075_language_tweaks_and/

<!-- SC_OFF -->Just released C3 0.7.5! For those unfamiliar, C3 is a systems programming language that takes a different approach than Zig or Odin in the "better C" space. (What makes C3 different: Evolutionary, not revolutionary, tries to stay close to C while fixing its pain points. You can learn it quickly if you know C. Compile-time introspection and programming without too much complexity. Modern conveniences (slices, error handling, defer, operator overloading) that compile down to what you'd write by hand. Familiar syntax - No need to relearn everything) This release adds: Module aliasing: alias io = module std::io Compile-time ternary: $debug ??? "verbose" : "quiet" Better macro system with optional parameters Tons of QoL improvements Demo stream (https://www.youtube.com/watch?v=OuZBxdM_YEI) | GitHub (https://github.com/c3lang/c3c) <!-- SC_ON --> submitted by /u/Nuoji (https://www.reddit.com/user/Nuoji)
[link] (https://c3-lang.org/blog/c3-language-at-0-7-5-language-tweaks-and-conveniences/) [comments] (https://www.reddit.com/r/programming/comments/1n5u6qy/c3_language_at_075_language_tweaks_and/)
Tried parsing invoices with GPT-4o, Claude Sonnet 3.5 & Invofox API (Python). Here's what I found.
https://www.reddit.com/r/programming/comments/1n5yf2b/tried_parsing_invoices_with_gpt4o_claude_sonnet/

<!-- SC_OFF -->I wanted to see how easy (or messy) it really is to extract structured data from PDFs with code. So over the last month, I tried a few approaches (using Postman & Python) and thought I would share on what worked, what didn’t and what ended up being worth the effort. a) DIY Workflow with GPT-4o and Claude 3.5 Both OpenAI’s GPT-4o and Anthropic’s Claude models are surprisingly good at understanding invoice layouts (if you give them the right prompt). But there were a few annoying steps: You have to run OCR on every PDF first (I used pdfplumber) Then, it’s all about prompt engineering. I spent a lot of time tweaking prompts just to keep the JSON consistent. Sometimes fields went missing or labels got weird. Both models respond fast for short docs, costs are similar (~$0.01 per normal invoice using 1-2k tokens) and outputs look clean most of the time. b) Invofox API (specialized models) tuned for invoices. You can upload the PDF straight away. OCR, page splitting, document classification are all handled behind the scenes. The schema is extracted automatically from what you expect from an invoice. Validation, error handling, even “confidence scores” for output fields are built in. This is great at automating invoice parsing at scale (bulk files, mixed documents). I also used Postman for this case, along with python code. complete code: repo (https://github.com/Anmol-Baranwal/doc-parsing)
full detailed writeup: here (https://www.invofox.com/en/post/document-parsing-using-gpt-4o-api-vs-claude-sonnet-3-5-api-vs-invofox-api-with-code-samples) This was mostly a side experiment out of curiosity. If you had to parse documents in a side project, would you rely on GPT/Claude + prompts or go straight for a specialized API? <!-- SC_ON --> submitted by /u/anmolbaranwal (https://www.reddit.com/user/anmolbaranwal)
[link] (https://www.invofox.com/en/post/document-parsing-using-gpt-4o-api-vs-claude-sonnet-3-5-api-vs-invofox-api-with-code-samples) [comments] (https://www.reddit.com/r/programming/comments/1n5yf2b/tried_parsing_invoices_with_gpt4o_claude_sonnet/)
I built a Debounce vs Throttle Interactive Visual Simulator on my blog
https://www.reddit.com/r/programming/comments/1n69gja/i_built_a_debounce_vs_throttle_interactive_visual/

<!-- SC_OFF -->I created a Debounce vs Throttle interactive visual simulator. It's a farm that spams animals when you press a letter on your keyboard. You can see how these design patterns behave in real time next to each other. Furthermore there is a brief table that summarizes the differences and also some images that explain each pattern separaretly I hope you find it useful. <!-- SC_ON --> submitted by /u/prox_sea (https://www.reddit.com/user/prox_sea)
[link] (https://coffeebytes.dev/en/javanoscript/debounce-and-throttle-interactive-explanation/) [comments] (https://www.reddit.com/r/programming/comments/1n69gja/i_built_a_debounce_vs_throttle_interactive_visual/)