Assah Bismark

Tooling

Solving the Context Problem - A Local RAG System for Code

Building Local Semantic Code Search - 11ms Queries Across 7,620 Files
Solving the Context Problem: A Local RAG System for Code Yesterday I was using Kilocode to help refactor some authentication code in a 7,620-file Java codebase. The AI agent kept giving me generic advice because it couldn't see the actual implementation patterns in the project or some constraints. I...More ›

How to Read Hacker News Threads with Most Recent Comments First

Learn how to read HN threads in reverse chronological order.
Hacker News displays comments in a tree structure, which can make it difficult to track the latest updates in a conversation. To address this, I explored three different methods to sort and read Hacker News comments by most recent first. Here's how you can do it, starting from the simplest approach....More ›

How to use cURL to interact with GraphQL APIs.

How to use cURL to interact with GraphQL APIs.
Running GraphQL queries from the command line using can be made simple and readable. Here's an example of how to query the GitHub GraphQL API using , tested in both and . Replace with your GitHub API personal access token. This command constructs and submits a GraphQL query encoded in JSON, using...More ›

jq Array of Array Object

Example of handling arrays of array objects in jq.
Input: I want an array of objects. Here's what I came up with, using jqplay.org: This outputs: If you remove the outer and and use the "Compact output" option you get back this instead:More ›