Show newer

I could detect if I'm connected to Gmail and just not append of course, but I'd like to understand what's happening.

Inspecting Apple Mail's traffic, I can see it's appending to All Mail as well, but it doesn't seem to ever duplicate. Perplexing.

If anyone knows anything I'd be very interested!

Show thread

Posting incase any IMAP/SMTP buffs follow me:

Gmail copies whatever is sent via SMTP into IMAP. If you try to APPEND the same message to Sent, you get a dupe.

If you APPEND to All Mail though, then immediately store a \Sent label, it doesn't duplicate…90% of the time.

So why does this work most of the time, but sometimes fail?

When it's working the server seems to return both EXPUNGE and EXISTS simultaneously. If it fails, you only get an EXISTS.

@cb_nn_tt aww bless. My girl can be quite selective at times too!

@meaden they hold an irrational amount of control over our emotions!

Thank you ❤️

My dog is quite poorly, so I phoned my parents hoping for a few comforting words.

"Well Phill, she is quite old now”

Thanks guys – just what I was after!

@bardi Yeah pretty much. iMovie would probably get you there too.

@bardi screen.studio + Final Cut. For the most part SS is pretty decent, but sometimes the exports aren't great and need fixing up.

@alex Yeah that's definitely an option, though trying to avoid adding too many settings where possible.

@nmn no set schedule, just whenever the next build is ready. Hopefully this week !

Always pleasantly surprised to find new ways of using ChatGPT.

Today, debugging invisible characters I can't see.

@dimitribouniol Yeah I've decided it's probably simpler to just do away with those methods entirely.

It's not as elegant, but hey, it's a lot more predictable.

Thanks for your help!

@dimitribouniol Ahh-ha, yes it does look like lineRange is from NSString, as is range(of:). Perhaps there is some utf8 to utf16 weirdness going on then.

@dimitribouniol Thanks Dimitri these are really great suggestions!

I don't *think* I'm mixing indexes and ranges. It looks like range(of:range:) and lineRange both return String.Index.

The test input of a blank key and multiple colons looks alright too. And \r\r just gets treated as two lines, and so the second line just returns nil on the match.

Vexing!

@simon@social.sim.onl thanks! Can’t wait for you to see the difference 💌

@mattiem oooo that’s a good suggestion! I’ll give it a go when I’m back at my desk.

Spec says servers shouldn’t be returning those unencoded…but since when has that stopped them 🤓

@mattiem it's weird right!? Only thing that has a wiff of suspicion is it takes a ‘locale’ argument which could be doing...something.

Show older
The Not So Big Company

The home of The Not So Big Company on Mastodon.