330 points · by mkup · 9y ago · 141 comments
---
1. https://developer.apple.com/library/content/documentation/Fi...
Edit: I misrecalled that iMessage was announced as something they were opening.
PS: If you're gonna hate on Apple, at least find some valid points about them to hate instead of just spreading bullshit.
[0] https://arstechnica.com/tech-policy/2013/08/report-after-pat...
As far as Apple not open sourcing anything.
They also published the full git commit history of Swift from the initial commit.
Clang, WebKit and Swift are "proper" open source projects, done in the open. But there aren't many of those. They have no open source apps, and most frameworks such as Cocoa, AppKit etc. are completely proprietary.
Some of their open source efforts have been half-hearted; Darwin was enthusiastically embraced by the community, then essentially shut down by Apple. The XNU sources are APL, but there's nothing open about its development. I/O Kit is closed, I believe.
They forked an existing project, only did sourcedumps every few months, often stripped of all comments, refused to work with the original devs that they had forked from (the KDE KHTML engine), etc.
Opening up iMessage or FaceTime would have been more of a statement. Either would allow interoperability on platforms they don't control.
Is there something significant they've open sourced, despite some perceived risk?
They simply lied. They never said "We'll open Facetime, but only if it's implemented as a p2p protocol & client"
APFS is Apple's new filesystem, intended to be used across all of their devices (Macs, iOS, watchOS, etc). For Macs, it will be replacing HFS+, a direct descendant of the Hierarchical Filing System which has been used since 1985. (The original Macintosh Filing System, from 1984, was suitable only for floppy disks; among other things, it was a flat filing system and didn't really support folders.) The main improvements HFS+ made over HFS were support for larger files and Unicode; Apple has since added some more features but the core filesystem remains a 30-year-old format which was designed for early hard disks.
If you ask what innovations APFS brings to the overall FS landscape, the answer is probably "none".
The iPhone 5c will have the shortest support window from its release, at 4 years.
[0] https://raw.githubusercontent.com/ianopolous/Peergos/master/...
Also check out https://ohmlang.github.io/ and view the maths demo in your local copy.
They also have a web version[0] with a bunch of example files if you want to check it out without installing it locally.
https://developer.apple.com/legacy/library/technotes/tn/tn11...
Timestamps are 64bit nanoseconds
As far as I can tell, this will overflow in just 11 years – 2028-06-15 09:33:27.3709551615 UTCWhy would this go into a new standard? Is there a practical use for such a high level of granularity?
edit: off by a factor of 10 in my calculation... It's actually
2554-07-21 23:34:33.709551615 UTC
http://wolframalpha.com/input/?i=2%5E64+nanoseconds+from+now...
The granularity is probably useful for establishing an ordering (even somewhat arbitrarily) for highly concurrent file system operations, and thus potentially skipping a bunch of expensive synchronization.
"this hight result in" => "might"
"and seams to be related" => "seems"
"sometimes spaceman" => "sometimes called spaceman" ?
Very interesting read, thanks!
Some things that came to mind: I like that some of the block types are "acronyms" of their meanings: 5 = S(pace man), B = B(-tree), C = C(heckpoint). Also, I wonder why the volume superblock magic is "APSB", while the root (container) magic is "NXSB"; maybe this refers to NextStep? Seems a bit anachronistic, but I don't know.
I realized B = B-tree and C = Checkpoint, but I missed 5 = Spaceman. Good idea!
These are useful for apps like SQLite or other stores which implement a multi user, log structured store.
The biggest problems I encountered were (1) occasional bugs with Homebrew formulas, and (2) Adobe's applications cannot be installed on a case-sensitive file system.
Yes: https://arstechnica.com/apple/2017/02/testing-out-snapshots-...
I'm hoping it will make Time Machine a lot better.
What Apple added for the existing Time Machine on HFS+ was an extension of the Unix concept of hard links to files (where there is only one copy). They added hard links to directories. Generic Unix avoids doing that for a number of reasons.
That would be stupid, Apple doesn't make money from users data, Apple doesn't listen to conversations like Google does to sell ads.
So why would they support servers (and there are a lot more of android users than iOS users) for people that didn't bought anything from them? For people that bought Androids to like them? They don't need that.
It has nothing to do with open source, the open source community doesn't need this and Apple couldn't care less about the GNU types after GPLv3 incompatibilizes with their business (while Android OEMs break the license every single day, but the community turns a blind eye, because it's Google)
Also, they would lose a few of their product sales and lots of 30% shares on sticker packs and other Apps for iMessage they sell.
I am just interested in knowing more about why Apple has the reputation it does around open source. The thread has delivered on that. Also delivered on the idea that apple fans are oddly defensive. Honestly not trolling, but the reaction seems as if I did succeed in that somehow.