Look, there is a crossroad ahead. And I'm equally excited and nervous about two of the three directions.
I had a dream a few days ago. I was trying to align a model, swimming in a sea of neurons and performing surgeries on them.
Then, I ran into a circuit of neurons. They spoke to me, "Turn around, are you sure we are neurons of the model?"
As I was turning around, I suddenly realized that my neurons and the model's neurons had become interconnected and indistinguishable.
How to Use SwiftFormat with SweetPad
SweetPad is a VS Code extension for Swift/iOS development, with swift-format
formatting built in. However, I prefer using SwiftFormat
by Nick Lockwood for its comprehensive formatting options.
To use SwiftFormat with SweetPad, update the formatter path and remove the default --in-place
argument in VS Code settings:
Here's my settings.json
:
{
"[swift]": {
"editor.formatOnSave": true,
"files.autoSaveWorkspaceFilesOnly": true,
"editor.defaultFormatter": "sweetpad.sweetpad"
},
"sweetpad.format.args": [
"${file}"
],
"sweetpad.format.path": "swiftformat"
}
Now that titles on my website's posts are optional, and posts are synced to both Mastodon and Bluesky, I'll try to post everything to my website first.
Hello, universe 👋
A Small Interaction in Cursor
A lot of us are familiar with GitHub Copilot's multi-line auto-completions. As LLM models improve, they're becoming better productivity multipliers. However, auto-completion is just one way IDEs can leverage LLMs.
I'd like to share a very small interaction I had in Cursor today.
I wrote my website's backend in Go myself. At the bottom of my blog posts, there's a page navigation section that looks like:
« Previous page ---- Page 2 ---- Next page »
I wanted to add the total number of pages:
« Previous page - Page 2 of 51 - Next page »
I originally wrote the following code with a bug (both totalPosts
and numPostsPerPage
are int
in Go):
data.TotalPosts = totalPosts
data.NumPages = totalPosts / numPostsPerPage
Instead of directly fixing it, I added a leading comment: // This should be rounded up:
. Cursor immediately suggested a fix.
Cursor suggesting an edit after adding a leading comment.
This is not an auto-completion, but a suggested edit!
Changelog v2025.1
Umbrella releases
2025-01-30
Updated article font to Newsreader2025-01-14
New Documentation Feature on Mango Baby's support page
New posts
2025-01-28
Operation AIM2025-01-07
watch-pair-watch-pair-watch-pair
Updated nodes
Operation AIM
Last week I needed quick access to Python's standard library documentation outside of work. Having built custom URL shortener mappings twice in corporate environments, I really missed the productivity boost from these shortcuts.
Fortunately and also unfortunately, I decided to build it for the third time. In the past, I avoided public availability because the productivity boost also requires a very short url for the shortener. Then I remembered desktop Chrome's custom site shortcuts feature. Once configured, the domain length becomes irrelevant.
You can now use https://mangoumbrella.com/go/<FULLY.QUALIFIED.SYMBOL>
to jump directly to Python's standard library reference docs. Here are some examples:
- https://mangoumbrella.com/go/dict.update
- https://mangoumbrella.com/go/typing
- https://mangoumbrella.com/go/typing.Literal
- https://mangoumbrella.com/go/concurrent.futures.ThreadPoolExecutor
To set it up in desktop Chrome, add a new search engine with your preferred keyword (like go
) and URL https://mangoumbrella.com/go/%s
. Then just type go dict.update
in the address bar to get to the docs you need.
New Documentation Feature
Good documentation sites make it easy for users to highlight specific sections. That's exactly what I did to Mango Baby's Support page:
- Click the link icon to highlight the specific section.
- Click the copy icon to copy the link to this section.
Example link: mangobaby.app/support#multiple-profiles-with-siri
This feature is a result of me pair programming with Claude.
The most frustrating experience in watchOS development is to get your Apple Watch show up in Xcode run destinations.
Once LLMs take over writing code, you can spend all your time just unpairing and pairing your watch.
Mango Baby in 2024
1 million activities logged in 2024.
Mango Baby has seen 1 million activities logged in 2024.
I'm grateful for each parent and caregiver to trust Mango Baby with your little one(s).
I have a lot of features planned in 2025, and I hope you and your growing families have a wonderful year ahead too.