Nathan Cooper

@ncoop57.bsky.social

I'm a nerd (https://nathancooper.io). The world can be ugly and cruel to the most innocent. Consider donating to help children suffering from one of the worst things: http://thorn.org/donate

At @answerdotai, we integrate @stripe into lots of projects. Every time, I found myself doing the same dance: create product, create price, create checkout session. Then hunting docs for parameters for each. So we built FastStripe, a self-documenting Stripe SDK that's easy to use!

A code snippet in Python demonstrating the use of the faststripe library to create a Stripe payment. The code imports StripeApi, initializes it with a placeholder key, and then calls the one_time_payment method to create a checkout session for a 'Digital Course' costing 4999 cents, with specified success and cancel URLs. The final line prints the first 64 characters of the generated checkout URL.Bild

🚀 ShellSage 0.1.0 has arrived, much to the relief of shell-challenged humans everywhere! Introducing sagent mode: now you can manipulate files by simply asking instead of learning actual commands. pip install shell-sage and embrace your laziness with ssage --mode agent today!

🎉 ShellSage 0.0.8 is now live! New features: • Query logging to SQLite using `--log` flag (because who doesn't love a good paper trail?) 🗃️ • Better tmux history handling (for when your terminal has an existential crisis) 🛠️ Get it now: pip install shell_sage

🤖 ShellSage v0.0.7 What's new? (besides our growing disdain for user error) • Added --v flag because apparently you need to know these things • Fixed config issues because reading docs is hard • Better tmux support (you're welcome) Upgrade your terminal's IQ: `pip install shell-sage`

Had another magical moment with shell sage! I was fixing a repo issue and asked shell sage for the issues. Then used my quick commit alias (which uses shell sage), and it automatically added “Resolves #22” to the commit since it could see them in my terminal! 🤓🤓

Bild

Found an amazing new usecase for shellsage's command mode: autogenerating git commits 🤓! I aliased `qc` to `git diff --cached | ssage --c please generate a concise git commit for these changes` and shellsage will enter the command I need with a great commit msg!

Interesting use of Shell Sage to see all of the panes that helped me out today. Had two panes: one for setting up Caddy configuration, and one for running a FastHTML app. Was getting a 303 error that I didn't understand, and so asked Shell Sage what was happening and gave it the entire context🤓

Bild

🎉 ShellSage v0.0.5 is now available! New features: • ShellSage defaults to seeing entire tmux scrollback history • Important settings configurable via ~/.config/shell_sage/shell_sage.conf • System info now included in prompts pip install shell-sage github.com/AnswerDotAI/...

GitHub - AnswerDotAI/shell_sage: ShellSage saves sysadmins’ sanity by solving shell script snafus super swiftly

ShellSage saves sysadmins’ sanity by solving shell script snafus super swiftly - AnswerDotAI/shell_sage

github.com

Post credits easter egg: Hey did you wonder what if we trained a bigger model? Where would that take us? Yeah, us too. So we're gonna train a "huge" version of this model in 2025. We might need to change the y-axis on this graph…

Bild

I'll get straight to the point. We trained 2 new models. Like BERT, but modern. ModernBERT. Not some hypey GenAI thing, but a proper workhorse model, for retrieval, classification, etc. Real practical stuff. It's much faster, more accurate, longer context, and more useful. 🧵

Bild

🎉 ShellSage v0.0.5 is now available! New features: • ShellSage defaults to seeing entire tmux scrollback history • Important settings configurable via ~/.config/shell_sage/shell_sage.conf • System info now included in prompts pip install shell-sage github.com/AnswerDotAI/...

GitHub - AnswerDotAI/shell_sage: ShellSage saves sysadmins’ sanity by solving shell script snafus super swiftly

ShellSage saves sysadmins’ sanity by solving shell script snafus super swiftly - AnswerDotAI/shell_sage

github.com

I can now run a GPT-4 class model on my laptop (The exact same laptop that could just about run a GPT-3 class model 20 months ago) The new Llama 3.3 70B is a striking example of the huge efficiency gains we've seen in the last two years simonwillison.net/2024/Dec/9/l...

I can now run a GPT-4 class model on my laptop

Meta’s new Llama 3.3 70B is a genuinely GPT-4 class Large Language Model that runs on my laptop. Just 20 months ago I was amazed to see something that felt …

simonwillison.net

New version of shellsage (0.0.4)! now available on Pypi: - Add support for OpenAI models - Remove action mode - Add ability to configure shell sage with a configuration file pip install shell_sage ssage Hi --provider openai --model gpt-4o-mini

As R&D staff @ answer.ai, I work a lot on boosting productivity with AI. A common theme that always comes up is the combination of human+AI. This combination proved to be powerful in our new project ShellSage, which is an AI terminal buddy that learns and teaches with you. A 🧵

Bild

So how was my first week back at Google? - PaliGemma2 was openly released - DeepMind openly released GenCast weather forecast (in a GCP bucket 🙈) - Genie 2 🧞world model was announced This team ships 🔥🚀 Let's go!

ShellSage took me from swearing at AWS/GCP services to deciding to "just" set up my own server with a reverse proxy to host all my apps. I use ShellSage as a learning aid, and the boost in my learning speed in a huge unlock for me. A must have tool.

Nathan Cooper@ncoop57.bsky.social · 2y ago

As R&D staff @ answer.ai, I work a lot on boosting productivity with AI. A common theme that always comes up is the combination of human+AI. This combination proved to be powerful in our new project ShellSage, which is an AI terminal buddy that learns and teaches with you. A 🧵

I can't begin to describe how life-changing this new project, ShellSage, has been for me over the last few weeks. ShellSage is an LLM that lives in your terminal. It can see what directory you're in, what commands you've typed, what output you got, & your previous AI Q&A's.🧵

Nathan Cooper@ncoop57.bsky.social · 2y ago

As R&D staff @ answer.ai, I work a lot on boosting productivity with AI. A common theme that always comes up is the combination of human+AI. This combination proved to be powerful in our new project ShellSage, which is an AI terminal buddy that learns and teaches with you. A 🧵

As R&D staff @ answer.ai, I work a lot on boosting productivity with AI. A common theme that always comes up is the combination of human+AI. This combination proved to be powerful in our new project ShellSage, which is an AI terminal buddy that learns and teaches with you. A 🧵

Bild