Matt Waite
banner
mattwaite.bsky.social
Matt Waite
@mattwaite.bsky.social
Professor of Journalism, University of Nebraska-Lincoln. I teach people who can't spell code to find stories and visuals in data with #rstats. Publish all my course books and tutorials at https://github.com/mattwaite
One of the most consistent problems I deal with teaching journalism students how to code is they are terrified of/overwhelmed with the content of error messages. Even one like this that actually says what is wrong. What about a code pal for kinder, gentler error messages?
November 22, 2024 at 10:10 PM
Without spending a dime, I just downloaded an LLM trained for code (qwen2.5-coder), ran it locally (Ollama), added a library that creates an interface to the LLM in R Studio (pal) and wrote my own "pal" to replace my words with code. And it works on an aging M1 Mac. Demo:
November 22, 2024 at 9:29 PM