News for hackers. Stuff that matters.
Re:Show HN: Stretch – Free limousine rides by drpancake on Sunday May 28, 2017 @09:20PM (#14436889)
Hey folks, author here. My phone is exploding.

I hear you on the Facebook login issue. I misconfigured the Facebook SDK and it's falling back to a web view rather than using native login.

I just pushed an over-the-air update to remove Facebook login entirely for now.

Re:Show HN: Stretch – Free limousine rides by i336_ on Monday May 29, 2017 @07:00AM (#14438500)
Hey OP, just wanted to let you know - the animation is making a horizontal scrollbar appear and disappear at the bottom of the page.

What I think is happening is that as .limo-container (which is 100% of page width) rotates, its "real" bounding box is expanding and contracting ever so slightly. Just open the devtools and focus on that div, you'll get it immediately.

(I'm on Chromium 57.0.2987.98 (Developer Build) on Linux, FWIW.)

Re:Show HN: Stretch – Free limousine rides by rootlocus on Monday May 29, 2017 @07:17AM (#14438543)
> its "real" bounding box

The terminology is axis aligned bounding box (or AABB).

Re:Show HN: Stretch – Free limousine rides by i336_ on Monday May 29, 2017 @07:21AM (#14438555)
Oh, thanks! TIL.
Re:Show HN: Stretch – Free limousine rides by drpancake on Monday May 29, 2017 @01:38PM (#14440291)
Thanks for the heads up! I didn't spot this.
Re:Show HN: Stretch – Free limousine rides by i336_ on Tuesday May 30, 2017 @09:59AM (#14445387)
No problem!

Stretch is a really awesome idea, by the way. :)

Re:Show HN: Stretch – Free limousine rides by Theodores on Monday May 29, 2017 @02:09PM (#14440487)
Nice ride, I was expecting worse until I clicked through... A few years ago I hired a van to move some stuff and the hire place was like a scrap yard for limos. As they say, 'never meet your heroes', but I was to look on limousines differently after seeing them like beached fibreglass whales, with the elements having taken all the polish off. I am glad to see you are keeping yours in deluxe standard.
Re:Show HN: Stretch – Free limousine rides by zackify on Monday May 29, 2017 @12:07AM (#14437359)
As of iOS 9 (I think) the native Facebook login opens a safari view inside the app. Signing in once will remember you for any other apps. They got rid of the app switch.
Re:Show HN: Stretch – Free limousine rides by riobard on Monday May 29, 2017 @01:35AM (#14437579)
> Facebook login opens a safari view inside the app

I'm always troubled by this stupid design. How do I know that the web view inside the app is not fake?

Re:Show HN: Stretch – Free limousine rides by foepys on Monday May 29, 2017 @03:50AM (#14437950)
You have to hope that the app ist trustworthy, the developer uses TLS, and implemented the certificate verification correctly.
Re:Show HN: Stretch – Free limousine rides by BillinghamJ on Monday May 29, 2017 @04:46AM (#14438131)
Safari view controllers are completely separate - it is not possible to implement any kind of checking with it.

However Safari itself does do a reasonably good job of checking the certificate, and the view controller does show the hostname at the top.

Doesn't stop you from just faking the UI though

Re:Show HN: Stretch – Free limousine rides by mattbgates on Monday May 29, 2017 @01:47AM (#14437605)
I got rid of Facebook login for this reason... annoying updates. I even tried installing their new SDK with examples and it was still broke. I'll just stick with the others until they decide not to work.