Posts

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

krzyzanowskim, to random
@krzyzanowskim@mastodon.social avatar

We're 10 years into Swift wrapping Objective-C API and still haven't covered nullability. I think the same is about to happen with the "Sendable" requirements and Apple frameworks.

how it started: UIKit api crashes because it get nil value and not Optional

emiliopelaez,
@emiliopelaez@mastodon.social avatar

@krzyzanowskim just file a radar, they’re really good at responding to those /s

krzyzanowskim, to macos
@krzyzanowskim@mastodon.social avatar

I noticed my disk storage went drastically low and I started to check system, then I realized something ( update???) enabled iCloud Photos synchronization to my Mac (that can take all the storage it get, and for that very reason I didn't enable it on my mac)

is that https://mjtsai.com/blog/2024/05/21/apple-updates-silently-enable-icloud-keychain/#comment-4092983

video/mp4

gklka,
@gklka@mastodon.social avatar

@krzyzanowskim I think it actually disables just the UI does not reflect the state correctly.

krzyzanowskim,
@krzyzanowskim@mastodon.social avatar

@gklka I disabled it in the Photos app eventually

krzyzanowskim, to random
@krzyzanowskim@mastodon.social avatar

that should keep me busy in the evenings for the next few months at https://github.com/krzyzanowskim/STTextView

rademaker,
@rademaker@mastodon.social avatar
krzyzanowskim,
@krzyzanowskim@mastodon.social avatar

now it can layout text

krzyzanowskim, to random
@krzyzanowskim@mastodon.social avatar

I posted a thing about „AI” and I got called: shit, donkey brain, boomer, incopetent, stupid, brainlet

Internet is healing 🤣

image/jpeg

krzyzanowskim, to random
@krzyzanowskim@mastodon.social avatar

there is a guy, who says that Swift on Windows is more complete than Swift on Linux. let that sink in 🤔

krzyzanowskim,
@krzyzanowskim@mastodon.social avatar

that guy is @compnerd who single-handedly brings Swift to Windows

compnerd,

@finestructure Yes, the VS installation is still required. That is what provides the headers for ucrt/vcruntime. VS then doubles up as a means for installing the Windows SDK which is available standalone. The toolchain distribution includes everything else (compilers, linkers, debuggers, IDE tools, etc).

krzyzanowskim, to random
@krzyzanowskim@mastodon.social avatar

my big privacy related question is: why (seriously why) Apple keeps deleted photos on their servers indefinitely? for what really? and how that aligned with the privacy of the iPhone statements

bugs happens. that is not just a bug. that is a bug that surfaces the questionable design decisions.

https://www.macrumors.com/2024/05/17/ios-17-5-bug-wiped-devices-photos-resurfacing/

ridogi,
@ridogi@mastodon.social avatar

@krzyzanowskim I suspect these are not on Apple’s server but in a temp folder or volume on the device, and the update scans that folder and reimports them. Restoring on a device that has been wiped throws a wrench into the works as the device encryption should make them unreadable on the wiped device. That implies not just a temporary folder on device, but a file system container that is not included in the device encryption.

MrPikachuTheMadman,
@MrPikachuTheMadman@mastodon.social avatar

@krzyzanowskim This is pure speculation and I am not an expert in this stuff.

(1/2)
USB flash drives, sd cards, solid state drives, etc distribute writes across alot of different blocks to increase the life time of the memory (aka wear leveling). Most flash memory devices are utter crap, however, at fully deleting data because of that. Formatting nor blasting out the flash countless times with boatloads of 0&1’s works if the internal memory controller isn’t exposing those reserved blocks.

krzyzanowskim, to random
@krzyzanowskim@mastodon.social avatar

🤔 thought of the day: the UITextView/NSTextView is probably the worst way to use the TextKit 2 framework to the fullest. many artificial limits put on the API or internal assumptions.

krzyzanowskim,
@krzyzanowskim@mastodon.social avatar

starting with: it support (assume) one type of storage, and it's not easy to make it use custom storage, nor layout engine.

krzyzanowskim,
@krzyzanowskim@mastodon.social avatar

also the late hierarchical additions to NSTextElement (parent, childElements) is solely to support specific implementation details and in my opinion shouldn't be on that level of the model. Somebody added it as “a hack" to make things work

krzyzanowskim, to random
@krzyzanowskim@mastodon.social avatar

I fixed scrolling in STTextView 0.9.2. It bugged me for a while that it was broken (not broken-broken, but the scroller's total size was not indicative). After learning one or two new things about the TextKit 2 layout behavior, I hereby report that the scrolling experience is back to normal without disturbing the overall performance.

https://github.com/krzyzanowskim/STTextView

I know this is a niche content. But that's what I like to do to destress. and I have too much stress lately

video/mp4

krzyzanowskim, to random
@krzyzanowskim@mastodon.social avatar

some people still don’t understand that „swift” in Swift is a banter more than actual statement 🤦

https://wadetregaskis.com/swifts-native-clocks-are-very-inefficient/

mackuba,
@mackuba@martianbase.net avatar
kaqu, (edited )

@krzyzanowskim this is why I have made this https://github.com/miquido/mqasync - AsyncSequence was a bit disappointing even after huge Combine disappointment

krzyzanowskim, to random
@krzyzanowskim@mastodon.social avatar

I committed one of the biggest lie on the Internet

video/mp4

krzyzanowskim, to random
@krzyzanowskim@mastodon.social avatar

the hell now. they can wipe out our devtools remotely too?

image/png

alexsteinerde,
@alexsteinerde@mastodon.social avatar

@krzyzanowskim @nickkohrn Same for me this morning. Redownloading and relaunching Xcode didn't help. Had to reboot.

digitalfx,
@digitalfx@mastodon.social avatar

@krzyzanowskim huh interesting, I got this too with 17.2.

krzyzanowskim, to random
@krzyzanowskim@mastodon.social avatar

TIL: SQLite follows the GDD (God Driven Development) software development approach

https://sqlite.org/codeofethics.html

finestructure,
@finestructure@mastodon.social avatar
emiliopelaez,
@emiliopelaez@mastodon.social avatar

@krzyzanowskim for number 4: ‘echo adultery >> .gitignore’

krzyzanowskim, to random
@krzyzanowskim@mastodon.social avatar

one of my favorite aspects of iOS development is that there are 1024 flavors of MVVM, and nobody admits with a straight face that it is a Fat Model that matters

babbage,
@babbage@iosdev.space avatar

@krzyzanowskim @foon ViewInspector to verify SwiftUI views are correctly wired to your actions then unit test the production actions.

RobW,
@RobW@iosdev.space avatar

@alexsereno @krzyzanowskim @dimillian I test my code by pasting it into ChatGPT and asking if it works ok.

krzyzanowskim, to random
@krzyzanowskim@mastodon.social avatar

AppStore market rules are bananas

https://x.com/hbkirb/status/1782742542561525857

krzyzanowskim, to random
@krzyzanowskim@mastodon.social avatar

VSCode is an annoying piece of software. It shows messages that look like errors, but the message is not. So the question is whether I want to continue (what exactly?), and the possible answer is "don't show again."

pixelscience,
@pixelscience@mastodon.social avatar

@krzyzanowskim VSCode is the best Frankenstein monster software I have on my machine. Id have laughed if you were going to tell me ten years ago I’d be using an electron app that executes code with a dozen plugins from vendors I don’t know and can’t trust.

Yet here we are.

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