MacBook, defective by design banner

title:
Put the knife down and take a green herb, dude.


descrip:

One feller's views on the state of everyday computer science & its application (and now, OTHER STUFF) who isn't rich enough to shell out for www.myfreakinfirst-andlast-name.com

Using 89% of the same design the blog had in 2001.

FOR ENTERTAINMENT PURPOSES ONLY!!!
Back-up your data and, when you bike, always wear white.

As an Amazon Associate, I earn from qualifying purchases. Affiliate links in green.

x

MarkUpDown is the best Markdown editor for professionals on Windows 10.

It includes two-pane live preview, in-app uploads to imgur for image hosting, and MultiMarkdown table support.

Features you won't find anywhere else include...

You've wasted more than $15 of your time looking for a great Markdown editor.

Stop looking. MarkUpDown is the app you're looking for.

Learn more or head over to the 'Store now!

Thursday, October 15, 2026

Having finally submitted my macOS difftool to app store review, I prepared to do a nontrivial refactor of a mothballed project, which meant I figured I'd be spending a ton on AI soon. Why not let Gemini talk me out of upgrading from GitHub Copilot Pro to GitHub Copilot Pro+?

(who is in charge of the marketing on these names?)

Apparently paying $39 a month for Pro+ gets me $70 of Copilot AI credits which was starting to look attractive after I keep going over my $15 of "just Pro" AI credits for $10/mth by about $15 for months now. And that's with me being careful.

(who is in charge of the marketing on these "prices"?)

Most disappointing to me: If you don't watch what Copilot is doing closely, it really goes insane, bringing in tons of files for context and making assumptions and changes you in no way implied you wanted when prompting. I usually watch its internal monologue closely and cut it off a few times a day to do some emergency steering, admittedly at risk of wasting good context. It can sometimes get into a frenzied context feeding loop and wipe out your budget in a flash.

Anyhow, Gemini turned me on to Aider, an open source (and apparently non-profit) chat-in-your-terminal alternative that requires you set up your own API key with a supported AI provider. So I finally bit the bullet and paid $5 to sign up directly for my favorite LLM to date from Copilot, Claude Sonnet 5.5. That is, and I know I'm late to the party, Aider is a wrapper for LLM interaction like Copilot was before Microsoft brought Copilot into the Visual Studios [sic] and its own Github Copilot app.

Without getting into the politics of AI, TL;DR: Amazing. Aider makes a repo map of your entire project, which is apparently a list of files/classes and methods so it has a general bird's eye view to begin. Then you have to explicitly add which files will accompany that initial context-setting request with /add commands so 1. you don't have to keep adding files to your request like in Copilot and 2. it doesn't go insane spiraling through more and more unnecessary files as it thinks. It also caches context, so if you keep your chat active you get 90% (afaict) off "resends". I'm suspicious either Copilot doesn't do that well or is sending a LOT more context than it needs too.

I'll consider adding an actual tutorial at some point, but it's pretty easy to get started with Aider. Also good is that it saves your chats right there in the repo in convention-bound locations (like .aider.chat.history.md). Then each time you start a new session, though the context starts over (so you're not wasting tokens up and back with dated conversations) the chat is appended to the old file and all in one place.

Unless you want to file manage! Then you name your chat history file...

aider --model anthropic/claude-sonnet-5-5 --chat-history-file .aider.session-images.md

And start it back up later if that's what suits:

aider --model anthropic/claude-sonnet-5-5 --chat-history-file .aider.session-images.md --restore-chat-history

Anyhow, just to say that with all the pricing sleight of hand by Microsoft I have no idea how much I'm actually saving, but Aider did do a good job on a refactor without spiraling out of control. It certainly cut my token use by, let's nearly randomly say, 25-50%, and the setup feels more mature or at least more dev friendly than Copilot's.

I'd heard Frank and James talk about burning up cash-qua-credits on the terminal, and now I guess I get why. Once spun up, it appears it could be both easier to prompt huge changes and more efficient to code like this than with the hand-holding Microsoft stuff.


Unrelated, wow, James is really into AI-generated artwork now on YouTube, huh? I don't get to see that just listening to the podcast feed. Um, interesting.

Labels: , , , ,


posted by Jalindrine at 10/15/2026 06:41:00 PM
Saturday, July 02, 2022

How to get VS Code to stop complaining about comments in JSON files:

  1. Open your settings as JSON.
  2. Add this:
"files.associations": {
    "*.json": "jsonc"
}

I'm not saying you want to do this. You might not. JSON shouldn't have comments. But if you do want to, that's how you do it.

You can also use specific file names or paths there instead of grenading every *.json file into *.jsonc (json "with comments").

Labels: ,


posted by Jalindrine at 7/02/2022 02:24:00 PM
Tuesday, May 31, 2022

Essentially all my life, if I've had text selected in an editor and typed a character, the text disappears (is deleted) and only the character typed remains in its place.

I've noticed VS Code doesn't do this by default for all characters. It auto-surrounds instead. /sigh

If I have code selected and hit {, it surrounds all of that selection with a pair of squiggle brackets instead of deleting it.

(I actually hate auto-closing brackets too. If I type { even with nothiing selected, please don't insert a } I now have to manage. Note that theses are two different behaviors.)

For me, the solution is to turn off autoSurround.

In json:

editor.autoSurround": "never"

And in the Settings UI.

a picture of how to set autoSurround in VS Code's UI for settings

Thank you for attending this sanity talk.

Labels: ,


posted by ruffin at 5/31/2022 09:45:00 AM

<< Older | Newer >>


Support freedom
All posts can be accessed here:


Just the last year o' posts:

URLs I want to remember:
* Atari 2600 programming on your Mac
* joel on software (tip pt)
* Professional links: resume, github, paltry StackOverflow * Regular Expression Introduction (copy)
* The hex editor whose name I forget
* JSONLint to pretty-ify JSON
* Using CommonDialog in VB 6 * Free zip utils
* git repo mapped drive setup * Regex Tester
* Read the bits about the zone * Find column in sql server db by name
* Giant ASCII Textifier in Stick Figures (in Ivrit) * Quick intro to Javascript
* Don't [over-]sweat "micro-optimization" * Parsing str's in VB6
* .ToString("yyyy-MM-dd HH:mm:ss.fff", CultureInfo.InvariantCulture); (src) * Break on a Lenovo T430: Fn+Alt+B
email if ya gotta, RSS if ya wanna RSS, (?_?), ยข, & ? if you're keypadless


Powered by Blogger etree.org Curmudgeon Gamer badge
The postings on this site are [usually] my own and do not necessarily reflect the views of any employer, past or present, or other entity.