You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Aider's /ask and /architect commands to approach larger tasks.
Aider is one of the best AI coding tools available today (in my opinion!). It's a brilliant AI coding assistant that integrates with any LLM, in any code editor.
However, Aider can often feel very eager to make changes. It jumps right into coding after I type anything. I noticed a pattern:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
JavaScript without npm? A dive into Rails 7's importmap approach
Using JavaScript in Rails has a very long history. With Rails 7, the latest approach has been to move away from the tools from the JavaScript community like npm, yarn, and Webpack. Instead, Rails 7 introduces importmap-rails as a solution that “embraces the platform” and uses native JavaScript modules (also known as “ES Modules” or “ESM”).
What’s Importmap-rails?
Importmap-rails is touted as a gem that “let you import JavaScript modules directly from the browser” 1. The documentation claims that “this frees you from needing Webpack, Yarn, npm, or any other part of the JavaScript toolchain.”
At first, I felt like those claims are a bit ambiguous and a bit of marketing hype. After exploring importmap-rails a bit more, I think I have another way of looking at it. importmap-rails is a replacement for npm for app builders. That is: take away npm’s authoring tools (like `
An ASCII diagram of the Miryoku layout based on this image.
miryoku
base ┌────┬────┬────┬────┬────┐ ┌────┬────┬────┬────┬────┐
│ q │ w │ f │ p │ b │ │ j │ l │ u │ y │ ' │
├────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼────┤
│ a ⌥│ r ⌘│ s ^│ t ⇧│ g │ │ m │ n ⇧│ e ^│ i ⌘│ o ⌥│