If this is useful, a ❤️ helps others find it. I run both in production. Here's the real comparison — not theoretical, from actual use building developer tools. Local LLM (Ollama) Gemini API (Free) Cost $0 forever $0 (free tier) Privacy 100% local Data sent to Google Setup Install Ollama + pull model Get API key (2 min) Quality Good (7B), Great (70B) Excellent Speed Fast if model lo
Tbh I had no idea this was even a thing until recently. I've been working with Rails for a while now and somehow never came across it. So let me explain it the way I understood it. You know how we normally do associations in Rails, User has many Posts, Post belongs to User. Two different models, two different tables. Simple. But what if a model needs to reference itself? Like same table, same mode
Comments
If this is useful, a ❤️ helps others find it. I debug Rust and TypeScript code daily. I've used all three major AI APIs for this — Gemini, Claude, and GPT-4. Here's the honest comparison for code debugging specifically. Not benchmarks. Actual use. I ran the same 5 bugs through each model: A Rust borrow checker error with async context A React state update causing infinite re-render An Android logc
Why I built another Ruby test runner inspired by Playwright Test Ruby already has great testing tools. If you are building Rails applications today, you probably use one of these combinations: RSpec + Capybara Minitest + Capybara Rails system tests Maybe Selenium, Cuprite, Ferrum, or Playwright through Ruby bindings These tools are mature, battle-tested, and widely used. So the natural question
If this is useful, a ❤️ helps others find it. I've shipped 7 Mac apps in the past year. Every AI feature in them runs on free tools. Here's the exact stack — what I use, why, and where the limits are. What: Gemini 2.5 Flash Preview via REST API Cost: Free tier — 500 requests/day, no credit card Use for: Log diagnosis, document analysis, text classification, anything needing strong reasoning The fr
If this is useful, a ❤️ helps others find it. Everything I keep looking up when building with Gemini — in one place. Model Context Best for gemini-2.5-flash-preview 1M tokens General use, thinking, fast gemini-2.5-pro-preview 1M tokens Complex reasoning, best quality gemini-1.5-flash 1M tokens Stable, production-ready gemini-1.5-pro 2M tokens Longest context gemini-2.0-flash-lite 1M
All tests run on an 8-year-old MacBook Air. Most AI integration tutorials assume you're paying for API access. HiyokoLogcat is built entirely on Gemini's free tier — and designed so users bring their own free API key. Here's what's possible, what the limits are, and how to design around them. Gemini 2.5 Flash Preview: 15 requests per minute (RPM) 1,000,000 tokens per day 250 requests per day For a