Maybe we could tone down the JavaScript

Doing mostly JavaScript stuff it might sound weird to some that I wholeheartedly agree with this piece: I’m not saying that genuine web apps like Google Maps shouldn’t exist […] I’m saying that something has gone very wrong when basic features that already work in plain HTML suddenly no longer work without JavaScript. JavaScript is …

Extracting Looping GIFs From Videos

Finding and extracting well-looping segments from a movie requires much attention and patience […] To make things easier I wrote a Python script which automates the task. This post explains the math behind the algorithm and provides a few examples of use. Fuck yeah, math! Or, as the author states: Yet another big problem of …

Exif.js – JavaScript library for reading EXIF image metadata

Following up on yesterdays “Read EXIF thumbnail from JPG image using JavaScript” I stumbled upon Exif.js, a library which reads EXIF meta data – and not just the thumbnail – from JPEG images. Usage is simple: EXIF.getData(imageElement, function() { alert(EXIF.pretty(this)); }); It’s also possible to get single values: EXIF.getData(imageElement, function() { var make = EXIF.getTag(this, …

Re-thinking reading on the Web

When we were introduced to the team at The Atlantic they were creating a series of articles about “Population Health”. They wanted to tell these stories in an interactive and visual way. The challenge was to create interactive visualizations based on industry concepts and make them accessible to both healthcare professionals and the a casual …

EarlGrey – iOS UI Automation Test Framework

New native iOS UI automation test framework from Google: With the EarlGrey framework, you have access to enhanced synchronization features […] which help ensure that the UI is in a steady state before actions are performed. This greatly increases test stability and makes tests highly repeatable. EarlGrey works in conjunction with the XCTest framework and …

Testing React Native Apps on Android and iOS

These apps are regular native Android and iOS apps, and basically any test automation frameworks works for them: Robotium, Appium, Calabash, uiautomator, Espresso, Jasmine, UI Automation, TestNG, Frank, KIF and many others! Therefore, you do have a great freedom of choice when you build your apps based on React Native framework. Contains example scripts for …

JavaScript Photo Sphere Viewer

See the Pen Photosphere Demo by Bramus! on CodePen. Photo Sphere Viewer is a JavaScript library that allows you to display 360×180 degrees panoramas on any web page. Panoramas must use the equirectangular projection and they can be taken with Photo Sphere, the camera mode brought by Android 4.2 Jelly Bean. Photo Sphere Viewer uses …

Read EXIF thumbnail from JPG image using JavaScript

Little demo by @codepo8 which reads the thumbnail out of the EXIF data of an image: The code itself is very simple: it opens a FileReader and seeks for the second occurrence (*) of 0xFF 0xD8 (Start of Image) along with its following 0xFF 0xD9 (End of Image). All bytes in between are the thumbnail …