bitCycle (@bitCycle) header
bitCycle (@bitCycle) profile picture

Developer of iOS app WordFoto.

Sweden
Joined August 2009
A Swift resolution to Zeno's Paradox of Achilles and the Tortoise:
1
Making a simple physics system for a possible WordFoto update. 2000 disks, verlet integration, spatial hashing.
1
Face order of +/-Z is wrong. Is this a documentation or implementation bug? Camera is at +2 Z, looking towards -Z (as it does by default), lightingEnvironment and background is a texture from the documentation of SCNMaterial contents. Question in forums: forums.developer.apple.com/t…
1
Are these AppleColorEmoji bounding rect sizes by design or mistake? (This is compiled with a recent snapshot so the values are accurate decimal representations of the floating point values. Also, the sizes are the same for all emojis, not just the one in this example program.)
1
1
Also, are those the number of seconds it takes to do 50 000 operations? If so, I seem to get 10 times faster results from this quick Command Line App using Xcode 9.3 beta 4 default toolchain on my MBP late 2013, 2GHz i7:
Just look at that little warning. Imagine if it could travel back in time and warn about using the same syntax (parens) for at least three semantically totally different things instead.
Can't believe I haven't noticed this before, is it a regression? (I have only Xcode 9.2 and later to test here.) bugs.swift.org/browse/SR-701…
1
40 lines of code to hexdump -C anything in Swift: gist.github.com/jens-bc/3a34…
2
16
Replying to @AirspeedSwift
@AirspeedSwift @UINT_MIN CharacterSet, in it's current state, really can't be trusted to do its job. I added some comments to this bugs.swift.org/browse/SR-295… (unresolved, reported in 2016).
1
Xcode 9.3 beta 2 ignores default text encoding and line endings settings radar 37308992
It seems like the above works (without eg overwriting the Array's count, capacity etc, probably due to special casing of $self for Array-types?), but I guess the following is considered better practice(?):
1