@mattiem@mastodon.social
@mattiem@mastodon.social avatar

mattiem

@mattiem@mastodon.social

macOS/iOS ⌨️, outdoors 🏔, justice ⚖️, games 👾

Pretty into open source. Previously: Crashlytics, Apple

This profile is from a federated server and may be incomplete. Browse more on the original instance.

mattiem, to random
@mattiem@mastodon.social avatar

Brain stopped making smart. Added caffeine but no more smart come out. Added even more. Still no smart! How make more smart?

charliemchapman, to random
@charliemchapman@mastodon.social avatar

For anybody who's curious: here's a comparison of the 2024 11in iPad Pro vs the 2018 with the Magic Keyboard and the Keyboard Folio (RIP 😢)

image/jpeg

mattiem,
@mattiem@mastodon.social avatar

@charliemchapman iPad sandwiches

ctietze, to random
@ctietze@mastodon.social avatar

@mattiem I thought about multiple cursors some more.

Given N cursor locations, an Insert("Foo") command would need to apply the change to the text storage from back to front in all N locations.

Isn't that it?

I'm almost done with the single cursor approach.

I can apply Insert and Delete commands as depicted, and change the selection declaratively.

Tomorrow I'll implement the execution of the whole command value. Pretty excited!

Would this be useful for you with 2+ cursors?

mattiem,
@mattiem@mastodon.social avatar

@ctietze I think you are getting it.

My text mutation system is really complex, involves scheduling and deferred non-visible work. But my own personal use-case may not matter! I still think this is a neat concept.

twostraws, to random
@twostraws@mastodon.social avatar

Tomorrow @mikaela__caron and I record the next episode of @swiftovercoffee, and we want your views on our next open ballot: is Swift Evolution working? Is it going in the right direction, do you follow along, do you discuss features in review? Let us know by replying below 👇

mattiem,
@mattiem@mastodon.social avatar

@twostraws @swiftovercoffee
@mikaelacaron I think it is working wonderfully, in the sense that many swift 6 proposals are amazingly forward-looking and deep. Really incredible stuff.

But the process itself is hard for new comers, and the implementation requirement is an incredibly high bar.

mattiem, to random
@mattiem@mastodon.social avatar

Concurrency in Swift 6

SE-0421: Generalize effect polymorphism for AsyncSequence and AsyncIteratorProtocol

AsyncSequence is getting some long-awaited improvements. I'm excited for this one, and I also think it's cool because isolated parameters are involved.

https://www.massicotte.org/concurrency-swift-6-se-0421

finestructure, to random
@finestructure@mastodon.social avatar

30 hours into and it's great fun. It's not the most compelling story in the world but the graphics and the mechanics are great. An excellent space shooter, and native to the Mac to boot.

I'll be damned if Rockfish Games aren't looking into or even already working on Everspace for the Vision Pro. Feels like a no brainer. Surely Apple must be talking to them about it?

mattiem,
@mattiem@mastodon.social avatar

@finestructure Have you played the first as well? It’s in my backlog…

mattiem,
@mattiem@mastodon.social avatar

@finestructure Was it on iOS? I have it on the Switch! But have not played it yet.

mattiem,
@mattiem@mastodon.social avatar

@finestructure Yeah this it was I have!

mattiem,
@mattiem@mastodon.social avatar

@finestructure Apparently I had downloaded this before but I have no memory of this! Interesting to see how they’ve been iterating for so long.

mattiem, to random
@mattiem@mastodon.social avatar

Inspired by @Migueldeicaza , I was thinking, again, about what would be required to support a full IDE experience on an iPad. And the propects are grim.

LSP is just fundamentally incompatible with iOS. And even with spec changes (which I have roughly outlined) that could be hard justify, it would still require enormous work from each server implementation to support.

mattiem,
@mattiem@mastodon.social avatar

@ctietze Nope. They are often implemented in the language they serve. But, much worse, they depend on being able to launch processes, and interact with the project and language installation unrestricted.

mattiem,
@mattiem@mastodon.social avatar

@Migueldeicaza I think you are right that a VM is the only realistic option. Can that be done locally?

Per-environment like you are doing makes the problem much more tractable.

But yeah, it’s hard to know about the form factor. I struggle with ergonomics as it is!

mattiem,
@mattiem@mastodon.social avatar

@helge @Migueldeicaza Yeah you’re right.

I have experimented with LSP extensions that would allow project/file relay and environmental control so that a non-local server would think it was local. I didn’t get too far because it’s a lot of work.

mattiem,
@mattiem@mastodon.social avatar

@Migueldeicaza ios_system is very clever, but I cannot imagine it will help much, if at all.

ish is bonkers. But I kind of hate it. I’d probably go for environment proxying and LSIF for non-awful offline support. I played around a little and it would be a lot of work.

mattiem, to random
@mattiem@mastodon.social avatar

Part 4 of concurrency in Swift 6

SE-0420: Inheritance of actor isolation

There are three proposals that will, in my opinion, have a profound effect on how Swift concurrency is used. This is the first, though it may not affect you directly. "Fans" of SE-0338 take note!

https://www.massicotte.org/concurrency-swift-6-se-0420

brandonhorst, to random
@brandonhorst@techhub.social avatar

I do not understand the anger at Stack Overflow. I post there specifically to help other people for free. Why should it matter if that help is filtered through an llm?

Maybe I’m missing something.

mattiem,
@mattiem@mastodon.social avatar

@brandonhorst The key is they are now allowing opt-out.

mattiem,
@mattiem@mastodon.social avatar

@brandonhorst Made a tiny typo that completely changes the meaning 😩

No opt out is an extremely alienating decision. For me, it sucks all the community vibes (that were still left) out.

charliemchapman, to random
@charliemchapman@mastodon.social avatar

Is there really not a Smart Folio Keyboard for the new iPad Pro 11in?

mattiem,
@mattiem@mastodon.social avatar

@charliemchapman I don’t have one, but I also would have guessed really popular!

tonyarnold, to random
@tonyarnold@mastodon.social avatar

Is anyone else having git-credential-osxkeychain ask them hundreds of times a day to approve access to the Keychain? It only started in the last week or so, but it's non-stop — I've checked my Keychain and can't see anything obviously wrong.

mattiem,
@mattiem@mastodon.social avatar

@tonyarnold There’s some daemon I have had to restart very occasionally for git key stuff, but I cannot quite remember which it was… something-agent I think?

cocoaphony, to random
@cocoaphony@mastodon.social avatar

I have a local variable declared in my Package.swift for swiftSettings so I can use it in a couple of places. It seems that if I move the declaration to the bottom of the file, after let package =, it is simply ignored. It still compiles, but the options aren't passed to the compiler. If I move it to the top of the file, it works.

I'm currently moving to @mattiem's solution (https://github.com/mattmassicotte/PackageTemplate/blob/main/Package.swift#L35-L39). But is this a bug, or intentional behavior?

mattiem,
@mattiem@mastodon.social avatar

@jsq @cocoaphony I actually was aware of this! Do you think it’s worth it though? I was more going for something as documentation + a bit of code. I was worried a real template would be too easy to use without understanding.

jsq, to random
@jsq@mastodon.social avatar

Social media companies are usually positioned as the arbiters of “free speech” online.

However, my thinking has always been that they are private corporations that can do whatever they want. They can ban users based on any criteria they want and “curate” their platforms however they please. They are beholden to no governments, outside of their obligations to local laws and taxes.

Anyone, literally anyone, can make a website (for free!) and do as much “free speech” online as they want.

mattiem,
@mattiem@mastodon.social avatar

@jsq A big movement in many conservative circles is, more or less, that if you can choose not to hear me, or can react in a negative way to what I said, (forget repercussions!!) you have violated my 1A rights. Which is such an extreme perversion of the entire concept it’s hard to even respond.

mattiem, to random
@mattiem@mastodon.social avatar

Judging by the “share-socials” channel @DeepDishSwift, mastodon is easily the dominant platform for Apple developers. I was not expecting this!

mattiem,
@mattiem@mastodon.social avatar

@cdf1982 Many high profile people seem to not really be into it, or just cross post without thought, so I assumed it was a niche thing. But it is definitely not!

ctietze, to random
@ctietze@mastodon.social avatar

Hey TextKit aficionados @mattiem @krzyzanowskim :)

I'm at a point where I want to make writing structural transformations to Markdown documents easier.

I believe I can get the API of this screenshot to compile and then execute the steps on NSTextStorage, replacing a hideous procedural approach I wrote earlier this week.

Would an API like this be useful for your text editors?

Would an API similar to this with some changes be?

Not sure if open sourcing is worth it.

mattiem,
@mattiem@mastodon.social avatar

@ctietze @krzyzanowskim I really do like the concept here, because stuff like this is really hard to get right and the code is usually gross.

Multiple cursors is hard, because there are pathological cases which make performance is really tricky. And I don’t know if it’s worth it for you, because I bet it would make your API much more complex for almost no benefit

joshdholtz, to random
@joshdholtz@mastodon.social avatar

🍕 And just like that… @DeepDishSwift is over

✅ Speakers delivered amazing talks
✅ Sponsors gave off amazing energy
✅ Attendees were so great to talk to and I saw so many new friendships made

Now… it’s time to rest 💤

mattiem,
@mattiem@mastodon.social avatar

@joshdholtz @DeepDishSwift You did such great work on every aspect of this. I don’t love how hard it is on you and your family, but I’m deeply appreciative.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • everett
  • magazineikmin
  • Youngstown
  • thenastyranch
  • rosin
  • slotface
  • ngwrru68w68
  • Durango
  • PowerRangers
  • kavyap
  • cisconetworking
  • tsrsr
  • DreamBathrooms
  • modclub
  • mdbf
  • tacticalgear
  • khanakhh
  • ethstaker
  • vwfavf
  • InstantRegret
  • tester
  • osvaldo12
  • cubers
  • GTA5RPClips
  • Leos
  • normalnudes
  • provamag3
  • All magazines