@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

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, 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’ve read it a few times. It does remind me of stuff I’ve had to do in the past. How does the selection stuff work at the storage level?

My own text mutation stuff is really complex. Supporting an arbitrary number of cursors is something I’m working towards, and that is a tough performance issue which requires a lot of special code in this kind of area…

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.

christianselig, to random
@christianselig@mastodon.social avatar
mattiem,
@mattiem@mastodon.social avatar

@christianselig And it was so good!

Migueldeicaza, to random
@Migueldeicaza@mastodon.social avatar

Me: Ok, I am going to embrace Swift Concurrency and show the world.

5 minutes later:

mattiem,
@mattiem@mastodon.social avatar

@Migueldeicaza Holy macaroni I bet the swift team would be interested in this.

mattiem,
@mattiem@mastodon.social avatar

@Migueldeicaza Ahhh I see! Still quite something. Not to be too pessimistic, but I have a feeling you will run into some tough stuff quickly. I’m very interested though! Send me questions!

mattiem, to random
@mattiem@mastodon.social avatar

Ah Saturday. A time to relax, recharge, and frantically invent a presentation you for some reason agreed to do in 36 hours.

chris_gammell, to random
@chris_gammell@chaos.social avatar

I know the answer is "whenever the power company says is cheapest", but from a mental model perspective: is it better to plug in the car to charge on a sunny day where solar is generating excess capacity (on other roofs, not mine)...or better when the overall grid utilization is low, like in the middle of the night?

mattiem,
@mattiem@mastodon.social avatar

@chris_gammell If not cost, do you mean lowest overall environmental impact?

mattiem, to random
@mattiem@mastodon.social avatar

Next up for concurrency in Swift 6

SE-0418: Inferring Sendable for methods and key path literals

Once you see this proposal, it kinda becomes surprising things weren’t already working this way. Pretty straightforward stuff, and probably won't affect you.

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

ctietze, to random
@ctietze@mastodon.social avatar

It's May 2nd!

Two days ago, the results were discouraging, so now that the deadline has passed, I ask again :)

Where can I steal your Privacy Manifest build step instructions for packages and frameworks?

mattiem,
@mattiem@mastodon.social avatar
mattiem, to random
@mattiem@mastodon.social avatar

Someone: “I would argue …”
Me, being maybe too pedantic but serious: ok, please begin making your arguments because just saying the words “I would argue” is not compelling.

ctietze, to random
@ctietze@mastodon.social avatar

Did y'all write Privacy Manifests for your / projects?

Still need to update packages I use and/or maintain 😥

mattiem,
@mattiem@mastodon.social avatar

@ctietze I haven’t….

davidbures, to SwiftUI
@davidbures@mstdn.social avatar

This happens way too often and I hate it

mattiem,
@mattiem@mastodon.social avatar

@davidbures Have you found this to matter much? I almost always am able to get very useful stuff from “iOS” stuff.

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