lol I know right, just enough knowledge to be dangerous...
that may come off as mean/rude towards the author, but I don't mean it so. I do shit like this all the time because I don't know every little trick with the languages/frameworks I'm using, it's impossible to know it all unfortunately.
I think the key point is that it is 'impossible to know it all'
I don't think I have ever looked at code I have written more than a few months ago and NOT found a bunch of things I could have done much simpler if I had just known about some feature or trick. I have stopped feeling bad when that happens; now, I figure that the day I stop experiencing that is the day I am no longer getting better as a programmer.
It looks like the PHP code is the front facing web code which then makes curl calls into the server.js code as you suspected. Presumably server.js is run using node which listens on port 8090 and exposes a few ipfs methods which just calls into the local ipfs binary on the system using exec calls.
IPFS is an interesting project and this is a pretty cool usage of it.
The 16GB base model wasn't sufficient for the 6/6+, and is even less sufficient now with the 4K videos and 50% more megapixels (which I imagine would be on by default).
In the previous models (5/5s, 4s) the base model provided enough memory for doing most things comfortably. Now you actually HAVE to get the intermediate model to do anything useful (unless you're in masochistic mood). So the intermediate model (costing $100 more) becomes the entry level model.
I would even go so far to say that the 16/64/128GB memory gradation, coupled with the slippery 6/6s (slip and break more often ==> more AppleCare purchases and/or service repair costs) are intentional.
I understand capitalism and all that, but this is just pure greed and they're not doing much to hide it.
Sometimes the mere existence of the base model causes some problems that can't be fixed with the existence of an upgraded option. This is a consistent problem in an enterprise environment. The base model is always the one purchased more frequently whether through BYOD or enterprise owned devices. This means that support staff has to spend a lot of time working with users to manage space.
I agree, it's kind of ridiculous. I don't own an iPhone but "support" my wife, mother and mother in law who ALL have major issues with space and iCloud space to the point where they have to pay for additional money.
The new iPhone 6S will make this issue much worse. 4K video, larger pictures, "live" pictures (oh god). The small memory on these devices and lack of SD is intentional to push iCloud and device upgrades.
But the iPhone has shipped with 16GB minimum storage ever since the 4s four years ago. Since then the speed, resolution, and camera have all increased by at least one factor of two. All of these things also increase the storage requirements for photos and apps.
If I was the type of user who was satisfied with the base model of my old phone, and I buy the new base model and am not satisfied, then I am not going to be happy. I use my phone the same way I did four years ago. If I wasn't a 'pro' user then, why am I now?
The more general point is that the price difference between those models has next to nothing to do with the actual cost of storage, though. I bought a 16GB Android phone then bought a 64GB micro SD card for $30. That's a lot less than the $100 price bump on the iPhone.
But I digress. The 6S was clearly never getting an SD card slot.
Find a balance. You don't have to go to every single event, it's just a scene. Show face, get to know names. It helps, but it's not necessarily because those people you're meeting will individually make or break your journey, but because collectively it's great to have support.
Personally I find support through my non-startup friends as well, but sometimes they will become sick of hearing about startups swings.