Blog

Thoughts, stories, and updates.

Cache Me If You Can: Getting Service Worker Update Toasts to Play Nice with New Jekyll Layouts

Abstract: This post details the process of debugging and fixing service worker update notifications for new custom layouts in a Jekyll site using the Hux Blog theme. It covers how to ensure new pages are properly cached, how to handle missing client-side scripts, and how to gracefully fix JavaScript errors...

Exploring 'Futures Thinking': A Design Dive for 8-Bit Oracle

Abstract: This post explores ‘Futures Thinking,’ a potential experimental feature for the 8-Bit Oracle. It delves into the design considerations for a ‘Triple Hex Mode’ to help users map multiple potential future scenarios from a single I-Ching inquiry, including how AI could assist in categorizing these scenarios.

Android Passkeys: Frontend Adventures with CredentialManager and Jetpack Compose

Abstract: This post details the journey of building the Android frontend for FIDO2 passkey authentication. It covers tackling the CredentialManager API, migrating local data storage from Proto DataStore to Preferences DataStore, and the debugging strategies employed, including Logcat and in-app debug displays, all within a Jetpack Compose environment.

FIDO2 Passkeys for Android: Backend Challenges in Python

Abstract: This post details a developer’s journey through the backend challenges of implementing FIDO2 passkeys for an Android application using a Python backend. It covers critical aspects such as correctly configuring assetlinks.json for app-to-website association, handling data serialization for credential options and responses, and the nuances of Base64URL encoding/decoding required...

Deploying a CosmWasm Smart Contract on the Stargaze Testnet

Abstract: This post serves as a developer’s guide to deploying a CosmWasm smart contract onto the Stargaze testnet. It covers essential steps including setting up the Stargaze CLI (starsd), configuring a wallet, obtaining testnet tokens, and managing Rust versions for compatibility. The guide also walks through uploading the contract, obtaining...

Revolutionizing Verifiable Compute on Solana: Key Bonsol Enhancements

Abstract: This post provides a deep dive into recent Bonsol framework improvements aimed at revolutionizing verifiable compute on Solana. Key enhancements include a new I Ching sample dApp demonstrating end-to-end ZK application flow, comprehensive RISC0_DEV_MODE integration for a faster development lifecycle, and custom S3 URL support for greater artifact management...

DKG OriginTrail Integration - Consensus HK 2025 Hackathon Win

Abstract: This post outlines a project that won at the Consensus HK 2025 Hackathon, which involved integrating OriginTrail’s Decentralized Knowledge Graph (DKG) with a custom AI divination backend. The system enables on-chain persistence and management of divinations via a Telegram bot, featuring robust DKG integration, enhanced reliability through improved logging...

Brainstorming a New Theory of Self-Directed Learning for AI, with AI

Abstract: This post explores the journey of using AI to brainstorm a novel theory: leveraging the I-Ching’s King Wen sequence as a potential framework for self-directed learning in Artificial General Intelligence (AGI). It details the iterative questioning process that led to the theory, key insights into how the sequence might...

Key Contributions to ai16z Eliza AI Project (Nov 2024)

Abstract: This post details significant enhancements made to the ai16z Eliza AI project in November 2024. The contributions focused on developing local-first capabilities by integrating BGE-Small and Ollama embeddings, optimizing the language model by upgrading to Claude 3 Haiku for better price-performance, and improving backend stability with fixes to Postgres...

Zustand: A Weapon for Efficient User State Management in React

Abstract: This post provides an overview of Zustand as an efficient state management library for React. It highlights Zustand’s benefits over traditional methods like refs and the Context API for managing user state, focusing on how it simplifies code, minimizes re-renders, and offers a more flexible approach to global state,...