Tim Bezhashvyly: Typed arrays exist in PHP, at least to some degree. This wonderful feature sneaked in as a side-effect of variadic functions that were added to the language in PHP 5.6. Turns out one can actually typehint the variadic parameter, as so: <?php function foo (Product …$products) { /* … */ } Only works …
Category Archives: Elsewhere
A faster, more stable Chrome on iOS
The Chromium Blog: In Chrome 48 we’ve made the switch from UIWebView to WKWebView, leading to dramatic improvements in stability, speed, responsiveness, and web compatibility. The improvements are indeed remarkable and – from a user’s point of view – very noticeable. Additionally it’s also more stable: With WKWebView’s out-of-process rendering, when the web view crashes …
Viewports Visualisation App
PPK: Instead of the work I was supposed to do I spent about a day and a half on the alpha version of a viewports visualisation app. It’s already been very useful to me, since figuring out how the viewports actually work is necessary for full understanding. I hope it does the same for you. …
Too many people have peed in the pool
Stephen Fry, on deactivating his Twitter account: Twitter has become a stalking ground for the sanctimoniously self-righteous who love to second-guess, to leap to conclusions and be offended – worse, to be offended on behalf of others they do not even know. It’s as nasty and unwholesome a characteristic as can be imagined. It doesn’t …
The Simpsons Movie References
Star Wars: The Force Awakens VFX
Like a vision
Cinema Seat Preview
Maybe you are familiar with those ticket booking systems where, at some point during the purchase flow, you have to choose a seat. This is usually done when selling tickets for games, movies, flights or concerts. Wouldn’t it be cool to have some kind of “realistic” preview of the seat, i.e. see the stage or …