by alanctgardner2 · 13y ago · 0 comments
I don't really develop for Mac, but there was a Linux tool which also shipped a 32-bit Darwin binary. I thought "I'd like to use that on my 64-bit Mac, surely I can just compile it with XCode". Downloaded XCode from the App Store (after giving my mother's maiden name, my blood type, etc.), and it doesn't appear on the PATH, because it can only write to /Applications/XCode. Jesus [2].
My point is, somehow subsidized phones turned into locked-down tablets, turned into a compiler that can't install itself to /usr/local/bin. That seems daft to me.
1. ASUS let me root my tablet for free, no strings. So it's opt in, but not terribly evil.
2. If anyone has a good Mac homebrew tutorial, I was wondering if I could compile with a different toolchain than Xcode? I'm really not up on this stuff, I need to learn.
I don't think what matters to the average user should matter to any thinking person. You're right, freedom doesn't matter to lots of people in the western world or, for that matter, in China either. Lots of people choose to be powerless or have no desire to be. Lots of people simply fail to see the long-term implications of paying more and more for less and less freedom. If control is one definition of ownership and possession is nine tenths of the law, by giving up even the expectation of control, we are all abdicating ownership for good. "Good luck with all of the of that." Berners-Lee is right (and Stallman, etc...). Deliberately and only buying freedom is the only sensible investment; anyone and anything that tries to remove individual (user's) freedoms should be dismissed as absurd, IMHO.
I agree with you generally, that we as technical people and experts need to be aware of, and create awareness of, these issues. I think you're falling into the same trap as RMS, which is to get absurd about the abstract notion of freedom, without making change attainable or actionable for the average user. If you want to have a massive shift in user attitudes towards the App store, you're not going to achieve that by comparing Apple to China. Nor can you simply 'dismiss them as absurd', because you're alienating your audience: they think Apple is reasonable.
What I liked about Sir Tim here was that he makes the argument pretty reasonably: it sucks that apps aren't cross-platform, that you have to depend on a proprietary interface to save them, share them with other users, etc. He makes it relatable in the present, he doesn't just fall back on the dystopian slippery-slope argument.
:|
ISP/Youtube (etc) copyright school, anti-circumvention laws, three/six strikes, the CFAA, etc... Prison often involves "public service"/forced labour. To people agreeing with those articulations it even seems "just": surely criminals deserve what they get (people even seem OK with rape, as long as it happens to a murderer). To people who don't agree with the current imaginary property laws, there's no practical difference between the threat of prison and the threat of a prison "camp." Suicide might even feel like a viable alternative. I know memory is short, but that was basically the front page for about a week, and only as long ago.
"I think it's sort of offensive to imply that because someone isn't aware of the implications of the app store, they aren't a 'thinking person'."
That wasn't my meaning nor was I trying to be offensive, only blunt. None the less, an uninformed person who bases his opinion on an average of the public's opinion, going no further, is abdicating thought, and can be accurately called "unthinking." (Obligatory Socrates reference... "I appear to be wiser than he, because I do not fancy I know what I do not know.")
"I'm not really sure where you're going with the possession thing[...]"
Simply but strongly: that it's not worth spending money on something you don't ultimately control (be it stocks, socks, tablets, or smartphones; don't buy shares in dictatorships either, even if they are going up: you're only betting that they will win). Everyone has that choice, and it is as important as ever. Save your money for freedom.
Wikipedia: "Possession is nine-tenths of the law is an expression meaning that ownership is easier to maintain if one has possession of something, and much more difficult to enforce if one does not." ( https://en.wikipedia.org/wiki/Possession_is_nine-tenths_of_t... )
Now is the most effective time to hang onto that presumption of control, since it's harder to get back when it's gone.
"he doesn't just fall back on the dystopian slippery-slope argument."
It's an oldie, but a goodie. While I wish it weren't applicable, I do foresee a dystopian future, at least compared to the present, where we have sold the "right-of-way" to the devices and data that augment and define us for brushed metal and an Apple logo (not to single out any one company). At least give me a bit of credit though: I didn't once mention Hitler. :)
Edit: I'm not trying to be combative. As you said, we mostly agree.
Before installing, note that from within Terminal you can use the XCRUN tool to launch compilers and other tools embedded within the Xcode application. Use the XCODE-SELECT tool to define which version of Xcode is active. Type "man xcrun" from within Terminal to find out more.
Downloading this package will install copies of the core command line tools and system headers into system folders, including the LLVM compiler, linker, and build tools.
drwxr-xr-x 3 root wheel 102 Jan 25 14:52 Documentation
drwxr-xr-x 7 root wheel 238 Jan 29 13:33 Library
drwxr-xr-x 7 root wheel 238 Jan 29 13:11 Makefiles
drwxr-xr-x 5 root wheel 170 Jan 25 14:53 Platforms
drwxr-xr-x 3 root wheel 102 Jan 25 14:54 Toolchains
drwxr-xr-x 22 root wheel 748 Jan 29 13:12 Tools
drwxr-xr-x 7 root wheel 238 Jan 25 14:54 usr
Inside ./usr/bin is gcc, git, etc.Basically the developer tools used to live by default in /Developer at the root of the filesystem, now the Developer directory is inside Xcode.
The average user will find it very convenient when their technical friends can fix, upgrade or unlock features in their device. So even if the average user never uses it, they will benefit greatly by having root access to their device.
Remember back in the day when your friends would have you fix their computer? Has that ever happened with phones/tablets? Why not?
In my experience supporting users of PCs, Macs, and Android and Apple phones/tablets, very few users have any desire for root access or any idea what to do with it when they have it. Their device is going to belong to others no matter what, maybe it's better for it to be Apple or Google or a somewhat vetted developer in a walled garden than the owner of a malicious bot-net.
I'm not sure what you mean about Xcode though. It's the same toolset (minus private headers) that Apple uses to build their own OS X and iOS apps. There's one extra step to put all of the command line tools on the path for you (install the Command Line Tools package). Then just get Homebrew and you're all set.
Open source components of Xcode (parsers, compilers, linkers, command-line tools) here: http://www.opensource.apple.com/release/developer-tools-45/
Homebrew: http://mxcl.github.com/homebrew/
Why the parenthetical? What's different about a computer you can hold in your hand that makes it justifiable for the vendor to lock it down and advocate criminal penalties for attempting to run software of your choice?
They know it's the death knell for desktop OSes though.
"They" have already decided that desktop OSes for the general public are deprecated. Steve Jobs years ago said that PCs are "trucks" that most consumers shouldn't use, and Microsoft has no hesitation about sacrificing Windows 8 usability on desktops in favor of tablets. Even Canonical seems to be headed that way with Unity.
In fact, I've seen that message now for the past few years. I'm still awaiting the day when I can no longer run my own software. I hope it doesn't come to pass.
I agree with you on the locking down issue. I don't like the ways things are going. :-(
For Mac command line compiling, You need to install the xcode command line tools package
In Xcode 4.5: see Menu->'Xcode'->Preferences->Downloads pane->Components tab. Then click the install button on the "Command Line tools" package
This should give you a working compiler and tool chain (llvm or llvm-gcc)
Hopefully, anyway.
I think the package is actually available separately from the Apple developer tools site, although I don't have a link for it. Links on the ADC site tend to change so often, it's hardly worth quoting them.
The fact is that there will always be gatekeepers, whether it be the OS maker, the firmware maker, or the chip makers -- root be damned. You'll never have true ownership of your device unless you created, understand, and own those three parts. Maybe I'm stating the obvious but, I think that phone OEMs and OS makers would do better to focus on making more function available that don't require root access. You shouldn't need root to install a tethering app or be able to uninstall some shitware that comes pre-installed by the phone carrier.
What can't you do in ML that you could in OS X 10.1?
If and only if the app signing and approval by Apple gets mandatory to run apps, a la iOS, then you'll have a point.
As for now, all the new signing etc are additions on top of the regular infrastructure, and the reason they were added was security.
Most security nerds find app signing and sandboxing a good idea.
Those same security nerds have been doing both on FLOSS operating systems (BSD, GNU/Linux) for years, so that point is irrelevant to the original discussion.
So your point is even more irrelevant to the original discussion.
What are you talking about? Nothing about app signing and sandboxing requires open-source repositories.