@ctietze@mastodon.social
@ctietze@mastodon.social avatar

ctietze

@ctietze@mastodon.social

Developer of indie macOS apps. The Archive, WordCounter, TableFlip, Move!

Using #Xcode to write #Swift and sometimes #SwiftUI apps for #iOS and #Mac.

OG #Zettelkasten zealot.
Local #urbansketchers group founder.

#Bielefeld (Germany)

─────────────
#fedi22

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

krzyzanowskim, to random
@krzyzanowskim@mastodon.social avatar

serious: I think about "rewrite" an app, and whether I should use Swift 6 concurrency mode, or Rust UI bindings. and Rust way seems easier to ship. even tho I'm way more Swift experienced.

ctietze,
@ctietze@mastodon.social avatar

@krzyzanowskim If you phrase it that way, what comes to mind is this: could this in part be because of the classic "unknown unknowns", here: of the Rust ecosystem that you have less experience with, that make it appear more straightforward than Swift for which you can name 100 things that suck on a whim?

baldur, to random
@baldur@toot.cafe avatar

“Squarespace to go private in $7 billion private-equity deal”

😬 https://www.cnbc.com/2024/05/13/squarespace-to-go-private-in-7-billion-private-equity-deal.html

ctietze,
@ctietze@mastodon.social avatar

@ramsey @baldur Ah, so the privacy equity holder still chimes in 'creatively' if needed? :/

skybert, to Java
@skybert@emacs.ch avatar

I know I'll get more geek points if I write Java code like:

pConf.getProfiles().forEach(<br></br>    p -> mProfileURIMap.put(p.getId(), p.getURI()));<br></br>

But I still think nothing beats a good old loop:

for (ProfileConf profileConf : pConf.getProfiles()) {<br></br>  mProfileURIMap.put(profileConf.getId(), profileConf.getURI());<br></br>}<br></br>

ctietze,
@ctietze@mastodon.social avatar

@skybert I can really get behind the Swift community's convention to use for loops for side effects you want to highlight, and .forEach for less invasive things.

That's not a useful hard and fast rule (because forEach is a dead-end, so everything's a side effect!) but bringing this to the world of programmer taste and deliberation isn't the worst recommendation in my book

justkwin, to random
@justkwin@toot.community avatar

No one complains about Monday the thirteenth, which seems a lot worse than Friday the thirteenth by my way of thinking.

ctietze,
@ctietze@mastodon.social avatar

@justkwin oh God that's today

simonbs, to random
@simonbs@mastodon.social avatar

This is the essence of summer ☀️☕️🚴‍♂️

ctietze,
@ctietze@mastodon.social avatar

@simonbs do you have literal cake in your bowl with milk?

ctietze,
@ctietze@mastodon.social avatar

@simonbs Nice. That sounds like a cheat meal I could get behind.

The dish of the same literal name in Germany is much more boring and without cookies.

ctietze,
@ctietze@mastodon.social avatar

@WLBORg @simonbs Are you trying to trick us into a beer?! 🍻

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.

ctietze,
@ctietze@mastodon.social avatar

@mattiem @Migueldeicaza Couldn't we WASM-ify LSP servers and run them in a WKWebKitView in the corner or something

ctietze,
@ctietze@mastodon.social avatar

@mattiem ugh, that'll be a hard thing to bridge

finestructure, to random
@finestructure@mastodon.social avatar

Folks who squash their merges, I’m curious why you are making that trade-off. I’m guessing the pro argument is a cleaner merge graph?

The big argument against it for me is that you lose granularity for git bisect. I've often been able to narrow down breakage (sometimes long past the merge) due to individual commits in the merge. If I'd merged in a giant blob all I'd have had to go by is that giant blob. (1/2)

ctietze,
@ctietze@mastodon.social avatar

@ianthetechie @finestructure @fork_dev I find most beliefs regarding what is simple, straight-forward, or sensible in git to be bonkers

ctietze, to random German
@ctietze@mastodon.social avatar

Braucht jemand einen neuen Kühlschrank zwischen 270 und 400 Liter?

Wir haben gerade eine Liste zusammengestellt mit Preis-pro-Liter und Kosten inkl. Strom auf 10 Jahre.

ctietze, to random
@ctietze@mastodon.social avatar

🚀 SwiftCSV (0.10.0) successfully published
📅 May 11th, 09:21
🌎 https://cocoapods.org/pods/SwiftCSV
👍 Tell your friends!

meatlotion, to emacs
@meatlotion@mas.erb.pw avatar
ctietze,
@ctietze@mastodon.social avatar
bigzaphod, to random
@bigzaphod@mastodon.social avatar

Time for my morning raktajino.

ctietze,
@ctietze@mastodon.social avatar

@bigzaphod that's a weird/interesting cup :)

ctietze, to random
@ctietze@mastodon.social avatar

Gosh, adding Privacy Manifests is pretty dull 😵‍💫

ctietze,
@ctietze@mastodon.social avatar

@martind 🤷‍♂️ I wouldn't know how to verify that apart from App Store Review feedback :)

davidbures, to SwiftUI
@davidbures@mstdn.social avatar

Is there a way to display a .searchable field in a .sheet on macOS?

I have this simplified code:
NavigationStack {
VStack {
}
.searchable
}
(the code above is in a .sheet)
But the searchable field is not displaying 🤔

ctietze,
@ctietze@mastodon.social avatar

@davidbures does it display on a VStack outside a sheet etc?

ctietze,
@ctietze@mastodon.social avatar

@davidbures ah it goes into the toolbar; sheet's don't have that by default 🤔

ctietze,
@ctietze@mastodon.social avatar

@davidbures I'm not even sure you can display a window as a sheet on macOS with a toolbar!

unixbhaskar, to emacs
@unixbhaskar@fosstodon.org avatar

A glance at the progress...

ctietze,
@ctietze@mastodon.social avatar

@unixbhaskar post a Magit screenshot, I hit the like button 👍 :)

ctietze, (edited ) to random
@ctietze@mastodon.social avatar

@donnywals Do you have an idea how to interpret the collected data types?

I'm thinking of an Open Source project I co-maintain. We use UserDefaults to store stuff and client code, easy to tick the box.

Would you check "we collect the user name for app functionality" for this library if people put user names in that API? 🤔

ctietze, to random
@ctietze@mastodon.social avatar

Phew I'm so lucky, I can sleep on Privacy Manifests a bit longer 👀

sqrtminusone, to vim
@sqrtminusone@emacs.ch avatar

Google Books Ngram Viewer is a lot of fun, but... Who the heck was using #Vim in 1800? And what's that uptick in #Emacs around 1880?

At least no one cared about #VSCode in the 19th century.

Edit: now I know more about old English.

ctietze,
@ctietze@mastodon.social avatar

@sqrtminusone @karthink 🤯 I never bothered to check!

With that, this passage makes so much more immediate sense

krzyzanowskim, to random
@krzyzanowskim@mastodon.social avatar

NSTextLayoutManager.usageBoundsForTextContainer is 🍌 bananas. Neither correct nor correct.

there. I said it.

ctietze,
@ctietze@mastodon.social avatar

@krzyzanowskim with non-non-contigous layout too?

ctietze,
@ctietze@mastodon.social avatar

@krzyzanowskim ah, sorry, I didn't catch the TK2 name.

Yeah I think TK2 is still a mistake, I'm sorry :(

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