nihilok@home:~$

  • Detecting a Loop

    OpenAI’s o1-mini (coding/reasoning) model had this to say about detecting a loop in a 2D grid:

  • The Warehouse Robot (Reflections on My Journey, Part 2)

    Yesterday’s Advent of Code puzzle reminded me of a pivotal moment early in my programming career. The Day 6 challenge was eerily similar to the Warehouse Robot problem that once brought me to my knees during a job interview nearly four years ago.

  • Out of Sorts: Advent of Code 2024 Day 5

    TL;DR: I failed miserably and resorted to cheating!

  • Python Dictionary Defaults

    Python dictionaries are incredibly versatile and widely used, but there are some handy tricks that can make using them much more streamlined and efficient. In this post, we’ll explore dict.setdefault and collections.defaultdict.

  • Algorithm for the Perfect Cheesy Poof (AI Assistants Conversation)

    I’ve been building an open-source framework called assistants — a Python library for creating AI assistants with multiple frontend interfaces (CLI and Telegram), support for multiple LLM providers (OpenAI, Anthropic, Mistral), and features like MCP tool integration, code highlighting, thread management, and image generation. You can install it with pip install assistants-framework.

  • So, it's been a year! (Bash script to disable password authentication for SSH)

    Sharing one of my recent bash scripts for automating server setup that improves security by disabling ssh password authentication and root login.