Topics /

Tools & Productivity

The most popular blog posts about tools & productivity on Hacker News. 2,090 posts.

Any year
668

Writing simple tab-completions for Bash and Zsh

Shell tab-completions can be very handy, but setting them up is complicated by the fact that half your users would be using Bash-on-Linux, while the other half will be using Zsh-on-OSX, each of which has different tab-completion APIs. Furthermore, most users exploring an unfamiliar CLI tool using tab completion…

679

Open-sourcing the Sorbet VS Code Extension

We’re excited to announce that Stripe’s VS Code extension for Sorbet is now [open source](https://github.com/sorbet/sorbet/tree/master/vscode_extension). We’ve designed Sorbet to be used in editors from Day 1—For the past two years, Sorbet has exposed a flag (`--lsp`) that starts Sorbet in [Language Server…

682

Structured Outputs with Ollama

Ollama now supports structured outputs making it possible to constrain a model's output to a specific format defined by a JSON schema. The Ollama Python and JavaScript libraries have been updated to support structured outputs.