This is a Guile Scheme extension written in Rust instead of C. The longer-term goal is a Rust implementation of the Rete algorithm callable from Guile.
cargo build --release
sudo mkdir -p /usr/share/guile/site/3.0/
This is a Guile Scheme extension written in Rust instead of C. The longer-term goal is a Rust implementation of the Rete algorithm callable from Guile.
cargo build --release
sudo mkdir -p /usr/share/guile/site/3.0/
First a bit of background. Around 2010 I had the idea that computers could do science, not simply run lab equipment but iterate the scientific method on their own. I was thinking about how to make that happen, and within a month I stumbled across a brilliant piece of work done by Ross King, then at Aberystwyth University. He built a robot that could make observations, reason about hypotheses and the predictions implied by those hypotheses, and design and perform experiments.
docker-compose.yml | |
Dockerfile* | |
models/ | |
ollama_data/ | |
.pytest_cache/ | |
__pycache__/ |
The inverters in the upper left are a square wave oscillator (around 100 kHz), used to sense capacitive connectivity between X wires and Y wires. The comparators are TLV3404. Inputs A,B,C,D,E,F and outputs G,H,I are connected to an Adafruit Grand Central M4 controller board. Inputs D,E,F select one of eight options in the 4051 analog multiplexer, just prior to the 3-bit flash ADC that generates G,H,I.
Show me Rust code that would run on the Grand Central board to perform a keyboard scan.
I'll help you create Rust code for scanning this capacitive keyboard matrix. From the schematic, we're dealing with:
Vibe coding - the practice of writing code that "feels right" and follows natural patterns - might seem at odds with Test-Driven Development (TDD)'s rigorous, test-first methodology. However, when combined thoughtfully, these approaches can create exceptionally robust and maintainable code.
The WebAuthn implementation showcased in this repository demonstrates how these methodologies can work together effectively:
Immutable Interface Design (IID) is a proposed architectural pattern for Python development. The primary goals of this protocol are threefold:
abc
module for interface classes, abstract methods with strict type annotations, detailed docstrings for all components, and frozen Pydantic models for immutable data structures[^0_2][^0_10]. This approach creates a clear blueprint, ensuring design details are captured early in the development process[^0_3][^0_6]. Static validation with tools like mypy
further enforces type consistency from the outset.