Pro #AI #Coding Tip: Describe the bug you're trying to solve, ask AI to add extra debug logs to help it troubleshoot, then tell the AI you will reproduce the issue and share the logs with it to help it solve the bug.
My use case: I was trying to work with this intermittent issue that wasn't possible (or easy) to reproduce in an integration test. The AI kept making changes that just weren't correct and weren't solving the problem. Even with high thinking mode.
After asking it to add debug logs and reproducing it, it solved it instantly.
If AI coding isn't working for you, take a step back and ask yourself: what context is the AI missing to solve this?
Charlie Fish
_@charlie.fish
npub16amr...6569
Software Engineer (iOS - ForeFlight) ๐ฅ๐ฑ, student pilot โ๏ธ, HUGE Colorado Avalanche fan ๐ฅ
, entrepreneur (rrainn, Inc.) โญ๏ธ
Even tho I'm a huge #Apple fan. This is one of the most disappointing #WWDC events I can remember.
AI coding agents (GitHub Copilot Coding Agent, Codex, etc.) seem really bad at formatting code. It's the spaces vs tabs debate, remixed for the AI era.
TIL: You can right click (or press and hold on mobile) the copy button in ChatGPT and "Copy as Markdown". Why don't all AI clients do this?
The #iMessage #spam has really gotten out of control recently. Surprised that no one is talking about this more. #Apple #iPhone
I have just pushed some major updates to @AirportStatusBot
- Dedicated accounts for #airports. You can now follow an account and only see posts for that specific airport.
- Updated #airport #delay information will now be posted as a reply to the original post.
- Certain airport #closures will now be posted.
- Finally for the #datascientist experts out there. I have released a complete dataset of raw #FAA XML data on Hugging Face that #AirportStatusBot has collected so far. If you use this data for any type of #data #analysis or #AI and/or #ML projects I would love to hear about it!
Safe travels this #holiday season. โ๏ธ๐
For #AI applications that allow multiple model selection, I wish they'd offer functionality to run a query on multiple models so you can compare and contrast the results to determine which is best for the given use case. I never know which AI model to pick anymore. ๐
TIL: You can bookmark a file or line of code in #Xcode. ๐คฏ Goodbye all of my random breakpoints that I used to set while traversing through the codebase; you won't be missed.
We are entering one of the busiest #travel periods in the US. Follow my @AirportStatusBot for up to date airport delay information.
Semantic Versioning is great for many things. Comparing versions is not one of them.
Also, #Apple should really open source their documentation. I'm sure so many people (myself included) would be happy to contribute improvements. It would be game changing for the entire #iosdev ecosystem.
(I know there is probably a lot of behind the scenes tooling challenges in making this happen, but Apple really needs to prioritize it since they aren't prioritizing good documentation themselves).
If you're working with the #Apple #Intelligence ImagePlaygrounds API and can't figure out why the `sourceImage` property isn't working, I spent a good part of today debugging this issue. I wrote a StackOverflow question describing my findings. #iosdev 
Stack Overflow
Why is ImagePlaygroundViewController sourceImage not working?
I'm trying to create a ImagePlaygroundViewController in my iOS application and it works great. However when I try to pass in a sourceImage property...
I wish #GitHub allowed for private comments. Way too often I subscribe to an issue only to later forget which one of my projects it was related to.
I didn't realize that the Eve Energy outlets actually transmit energy consumption information via #Matter. Still converting more of them to Matter. But decided to take the leap to using Matter beta in #HomeAssistant and the results are incredible for my Energy dashboard so far. #smarthome
This has to be one of the more baffling things I've run into during my days of iOS development. I never in a million years thought that increasing the cache size even more would work. But for some reason, it did. And I still don't understand why at all. #iosdev 
Stack Overflow
Why does URLCache require diskCapacity & memoryCapacity to be much greater than the response to cache it?
I have the following code.
let customCache: URLCache = {
 let cacheSizeMemory = 512 * 1024 * 1024
 let cacheSizeDisk = 512 * 1024...
Bi-yearly announcement: I'm not looking forward to the clocks changing tomorrow.
GitHub Copilot coming to Xcode.
I just wish #Apple Intelligence would automatically filter out all political spam text messages.
Inbox zero = achieved. Question is: will I be able to sustain it? ๐
I'm super excited to announce my latest #iPhone #application that I built. It's called #Echo for #Lemmy. It is an application for #Lemmy, which is a #decentralized social network for posting news, questions, and much more. It is very similar to #Reddit, but much more open and community-driven. Check it out today! #fediverse #activitypub #ios
https://echo.rrainn.com/download/iphone