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

Developer of iOS app WordFoto.

Sweden
Joined August 2009
Photo by bitCycle (@bitCycle)Photo by bitCycle (@bitCycle)Photo by bitCycle (@bitCycle)Photo by bitCycle (@bitCycle)Photo by bitCycle (@bitCycle)Photo by bitCycle (@bitCycle)Photo by bitCycle (@bitCycle)Photo by bitCycle (@bitCycle)Photo by bitCycle (@bitCycle)Photo by bitCycle (@bitCycle)
Ah, cluedo.unicodeScalars.count == 6.
WRT @NSHipster's regex post: import Foundation let cluedo = "🕵️‍♀️🔍" // NOTE: 2 characters, or 6+2 = 8 UTF-16 code units let r = cluedo.range(of: "......", options: .regularExpression)! // NOTE: 6 (not 2 or 8) dots print(cluedo[r]) // MYSTERY: prints "🕵️‍♀️🔍"
1
Replying to @mlpix
Thank you for reporting this. We'll look into it.
1
32-bit is to 64-bit as 0.5 seconds is to 68 years and as 1 cm is to Earth's circumference
Replying to @zzznah
Or you do your processing ((motion) blur) in linear space rather than in eg sRGB.
1
Swift challenge: Write the fastest possible func f(_ i: UInt8) -> UInt32 { … } such that: f(0) -> 0 f(1) -> 65536 f(2) -> 81920 f(3) -> 86016 f(4) -> 87040 f(5) -> 87296 f(6) -> 87360
1
A Swift resolution to Zeno's Paradox of Achilles and the Tortoise:
1
Or: -Xfrontend -warn-long-function-bodies=50
This compiler flag saves time: -Xfrontend -warn-long-expression-type-checking=50 (Especially if you're using SIMD types in Swift.)
1
Making a simple physics system for a possible WordFoto update. 2000 disks, verlet integration, spatial hashing.
1
bitCycle retweeted
This guy is incredible. To be half the man he is would be amazing by anyone's standards.
We've just released Ehlol, a game of puzzling images and words. Download it via ehlol.com for more puzzles like this. Feedback appreciated!
First daily puzzle, please unscramble! #ehlol #iosapp #dailypuzzle
Xcode 10.2.1 fixed some but clearly not all of the build time regression, we still have code that won't compile (too complex) with Xcode 10.2.1 but which did compile prior to 10.2 (and macOS 10.14.4). Seems like it might have something to do with operators and generics: SR-10461
In case anyone at apple sees this: filed radar 45495267
Tried Xcode 10b3, issue is still there : ( Frustrating. I suppose I should file a radar.
1
Replying to @warrenm @mnuages
Intel Iris Pro 1536 MB
1
Replying to @warrenm @mnuages
So if the issue remains when I try with Xcode 10b3, it's probably something specific to my hardware?
1
Replying to @warrenm @mnuages
Oh, that looks a lot more like what I would have expected. Any Idea what could be the problem? I will try downloading the Xcode 10 beta.
1
Replying to @warrenm @mnuages
(Full details are in the comments of the test program) Mojave 10.14, did you try to reproduce using my test program and results came out different (lighter spheres)? Thanks for looking into this!