DevCorner: Geoip geolocation with Google BigQuery and Responsive Images and Unprefixed Web Audio.
As of
now, Developpers can benefit from a new HTML
attribute for responsive
images and the unprefixed version of the JavaScript
Web Audio API, introduced by the Chrome Beta channel.
Henceforth, srcset attribute, will let Web developers provide multiple resources (TV, Smartphones, Tablettes, PCs…) in varying resolutions for a single image. Meaning that, your browser can then pick the resource that matches the device's capabilities. Connectikpeople.co has captured an example of the code:
Henceforth, srcset attribute, will let Web developers provide multiple resources (TV, Smartphones, Tablettes, PCs…) in varying resolutions for a single image. Meaning that, your browser can then pick the resource that matches the device's capabilities. Connectikpeople.co has captured an example of the code:
<img alt="A rad wolf." src="pic1x.jpg" srcset="pic1x.jpg
1x, pic2x.jpg 2x, pic4x.jpg 4x">
As, a unique objective reference for organizations and professionals, when
it comes to tools and solutions to draw value-added in their activities,
Connectikpeople.co, recalls that, the src
attribute is not needed for browsers that support srcset, but it’s good for
backwards compatibility. As for the Web Audio API (JavaScript API for processing and synthesizing audio in web applications), Connectikpeople.co observes that, the unprefixed API entry points audioContext and offlineAudioContext will be available in addition to their prefixed counterparts. createGainNode and createDelayNode are deprecated.
Meaning that, Chrome’s implementation of Web Audio aligns with the W3C draft specification and offers compatibility with the Web Audio support in Firefox.
Connectikpeople.co recommends developers to switch to the unprefixed versions soon, as the
prefixed versions are now officially deprecated and will be removed.
Others changes include:
Others changes include:
- The font-variant-ligatures CSS property allows developers to control ligatures in text.
- Infrequently used web platform features have been removed. You can see the list of Blink “intents”.
- Chrome will now offer to remember and fill password fields in the presence of autocomplete=off. This change does not affect non-password fields.
Interested about the usage of HTML and JavaScript features, you can check
out the updated chromestatus.com/metrics, which now shows the percentage of page loads that use certain web
platform features.
Now, regarding the Geo ip geolocation with Google BigQuery,
Connectikpeople.co recalls that, the new update aims to facilitate task, when
you have millions of IP addresses to analyze.
Felipe Hoffa, Developer Programs Engineer, has found a very interesting
question: 'user2881671' on Stack Overflow had created a way to transform IP address into
geographical locations in BigQuery, and asked
for help optimizing their query.
The resulted solution is available here (Technical details).