Archive for April 18, 2017

Tuesday, April 18, 2017

In Praise of Flickr

Matt Haughey:

Flickr represents one of the very best of things in the history of the internet. It was the first popular way to share photos in a social way instead of photos lingering in private accounts online and in the real world in shoeboxes under beds. It brought millions together and helped kick off first the digital SLR revolution, then it was eclipsed by the mobile photography revolution. Flickr—despite being a big corporate entity—embraced open licensing and took on the ambitious goal of being a mirror and gallery for oodles of museums around the globe.

Countless waves of social apps have eclipsed Flickr itself, and even though I don’t really post there much anymore or browse my friend lists (mostly because they’ve all gone inactive, like me), about once or twice a month I drop into the Flickr Explore page to gaze at what I would describe as an entire year’s worth of epic shots from National Geographic, generated each day, automatically by algorithms.

Via Tim Carmody:

It is bizarre to think now that Flickr was only active for about a year before it was acquired by Yahoo. For those of us who were on the site then, that year felt like everything.

Syntactic Diabetes

Vincent Esche:

Swift makes use of this so-called syntactic sugar to make working with it more convenient and to allow for progressive disclosure[…]

[…]

While syntactic sugar aims to make it easier to write good code, syntactic salt aims to make it harder to write bad code.

[…]

Syntactic saccharin refers to syntactic sugar that, while having good intentions, fails to do its thing, possibly making things even worse than without it.

The Great iPhone Naming Opportunity of 2017

Ken Segall:

I’ve never understood Apple’s motivation for sticking to the S path, year after every-other-year. The most positive spin I can put on it is that it feels compelled to tell the “truth” about the phone’s form factor.

[…]

Since phone buyers today have distinctly different likes and needs, I have no problem with multiple models. Four models of phones isn’t complexity, it’s simple choice.

[…]

If different style iPhones are destined to co-exist, wouldn’t it be nice if the family felt like a family? Wouldn’t it be great if each name indicated the phone’s reason for being, and reassured buyers that it contained Apple’s latest technology?

Previously: Switching to an iPhone SE.

Avoiding Objective-C Class Name Collisions

Pen & Paper Software (Hacker News):

But checking every name could get tedious. How about we just look at every prefix-less class name that Apple has used?

[…]

If we were to use any of those classes, the compiler and linker would not complain. But if you used AppleSpell in a video game to represent the spell an apple casts on your player, and you override some important methods like init to do something relevant to your own game, you might start seeing very strange behavior!

[…]

Apple may roll out updates to frameworks between OS updates, which I believe has happened before. Ultimately the best solution is to test your app regularly and pay attention to your logs.

I wonder why Apple doesn’t have an internal tool to prevent shipping unprefixed classes.

Update (2017-04-20): See also: Apple’s naming guidelines (via Rosyna Keller).

Charge Your iPhone Without the Chime or Buzz

Keir Thomas:

The quick and simple solution if you want silent charging? Swipe left on the lock screen to activate the camera and then plug in the Lighting cable. No chime. No buzz. Then press the Home button to return back to the lock screen.