Wednesday, January 13, 2016

Parallel JavaScript with ParallelJS

One of the coolest new possibilities arriving along with HTML5 was the Worker interface of the Web Workers API. Beforehand, we had to introduce some tricks to still present a responsive website to the user. The Worker interface allows us to create functions that feature long runtime and require high-computational effort. Furthermore, Worker instances may be used simultaneously giving us the possibility to spawn as many of these workers as we desire.

In this article I'm going to discuss why multi-threading is important and how to implement it in JavaScript with ParallelJS.

Why Multi-Threading?

This is a valid question. Historically, the ability to spawn threads provided an elegant way to partition the work within a process. The operating system is responsible for scheduling the time given for each thread, such that threads with higher priority and more work are preferred to low-priority idle threads.

Over the last few years, simultaneous multi-threading (SMT) has become essential to access the computing abilities of modern CPUs. The reason is simple: Moore's law is still valid regarding the number of transistors per area. However, frequency scaling had to stop for a number of reasons. Therefore, the available transistors had to be used otherwise. It was decided that architectural improvements (SIMD, for example) and multi-cores represent the optimum choice.

Continue reading %Parallel JavaScript with ParallelJS%


by Florian Rappl via SitePoint

Doux

Doux

'Doux' is a smart One Page HTML template suited for modern looking portfolios. The template comes in a dark and light version. Features include subtle parallax scrolling, intro slideshow, team with hire advert add-on, portfolio with quite a slick pop up gallery feature, background videos, pricing table, client logos and testimonial slider. Good to know the PSD is includes and also there is a WordPress version is on the way!

by Rob Hope via One Page Love

The Careers of the Founders

opl-small

Fascinating informational One Pager listing the fails and wins of well known founders, showing us that there’s more than one path to success. The filter function is neat and the responsive adaption is quite solid. Good experimental Single Page marketing this by Fleximize who lend small businesses loans.

by Rob Hope via One Page Love

This Week's HTML5 and Browser Technology News (Issue 222)


Read this e-mail on the Web
HTML 5 Weekly
Issue 222 — January 13, 2016
SitePoint
You can perform feature detection using native CSS feature queries with the @supports rule, supported in Edge, Firefox, Chrome and Safari.


WHATWG
A document that brings together a collection of non-standard (and often vendor-prefixed) CSS properties and DOM APIs that browsers need to support for compatibility with the ‘de facto’ Web.


Apple
Safari 9.1 includes support for native CSS variables, improved image smoothing for HTML5 Canvas, and, on iOS, ‘fast-tap’ support (no 350ms wait) on well scaled mobile pages.


Telerik Kendo UI  Sponsored
Are you working on a responsive HTML5 project? Learn the must-know techniques for success with this whitepaper.

Telerik Kendo UI

Sparklin Labs
An extensible and complete development environment for making 2D and 3D HTML5-based games.


18F
18F, a digital services agency within the US government, has released a CSS style guide covering best practices and rules they apply for producing consistent, maintainable CSS code.


SitePoint
X-Tag is a Microsoft-backed open source library that wraps the Web Components APIs. “In other words, X-Tag is to Microsoft what Polymer is to Google”


The Register
This has been talked about for a while but Firefox 46 or 47 is likely to have support for specific -webkit prefixed CSS properties.


Anthony Dillon
Includes things like filters, CSS3 selectors, @supports, and performing calculations.


Smashing Magazine
A look at the uses for ‘variables’ in CSS (as when processed via Sass, PostCSS, and similar tools) and some best practices for them.


Jobs

  • Front-End Developer at Ecosia (Berlin, Germany)Ecosia is the search engine that plants trees. With 3 million users and 25 million searches, we're now looking for a passionate Front-End Developer who will be responsible for delivering a fantastic front-end experience to our users. Ecosia
  • Front-End Web Developer (Minnesota, USA)We're looking for an experienced front-end developer to join our team in Saint Paul, Minnesota. The perfect candidate is highly experienced in HTML5, CSS3, and JavaScript animation libraries such as jQuery. Local candidates only please. Plaudit
  • Get 10 offers from top tech companies in one week.Indeed Prime is an elite new program from Indeed.com that presents in-demand tech talent like you to top employers. Indeed Prime opens the door to exciting career opportunities with one simple application. Join today. Indeed

In brief

Curated by Peter Cooper and published by Cooper Press.
Want to post a job? E-mail us or use our self-serve system.

Unsubscribe : Change email address : Read this issue on the Web

Published by Cooper Press Ltd. Office 30, Lincoln Way, Louth, LN11 0LS, UK


by via HTML5 Weekly

This Week in Mobile Web Development (#90)

Read this on the Web

Mobile Web Weekly January 13, 2016   #90
Peter Cooper recommends
9 Principles of Mobile Web Design — Keep menus simple, keep forms short, have obvious calls to action, and more mobile Web common sense.
Kim Speier
Holly Schinsky recommends
A Faster Hybrid App for the New Year — Why you should be using the recently released Cordova iOS 4.0.x for faster hybrid iOS apps in 2016.
Devgirl's Weblog
Peter Cooper recommends
Mobile Gestures: 40% of Sites Don't Support Pinch or Tap Gestures for Product Images — A look at some usability test findings on what image zoom gestures users expect to be supported on mobile image galleries.
Baymard Institute
This issue is sponsored by PubNub
Build Your Own Real-Time Chat App.... Fast! — Learn how to easily build your own full-featured Android chat app. Send real-time messages and more in no time. Join this developer training webinar now.
PubNub

Brian Rinaldi recommends
The Post-Mobile Era — Ben Bajarin gives his view where the world goes now that mobile devices have already peaked in saturation and a mobile market is mature.
Re/code
Brian Rinaldi recommends
An Introduction to Cordova: Example — A walkthrough for creating your first simple Cordova app by Wernher-Bel Ancheta.
Nettuts+
Holly Schinsky recommends
Tutorial: Create a Weather and News Reader App with Ionic and Drupal — A tutorial on how to create a weather and news reader app using Ionic and Drupal.
Annertech
Holly Schinsky recommends
Speaking with Cordova – Text To Speech and Voice Recognition using the Ionic Framework — A guest post on implementing Text to Speech and Voice Recognition in your Ionic apps.
Simon Reimler
Brian Rinaldi recommends
Going from Static to Dynamic with Ionic Creator — How to move from a “static” Ionic Creator proof of concept to a dynamic one that makes use of a real API.
Raymond Camden
Holly Schinsky recommends
Ionic and TypeScript: Part 5 — The final screencast in a series on Ionic & TypeScript showing how to convert your Ionic 1 app to Ionic 2.
The Official Ionic Blog
Holly Schinsky recommends
Use ng2-cordova-oauth For All Your Ionic 2 Oauth Needs — A new library to help make Oauth easier to implement in your Ionic 2 apps.
Nic Raboy's Blog
Holly Schinsky recommends
Ionic 2 Banner Ads With AdMob Pro Plugin — A new version of a previous tutorial on adding banner ads to your Ionic apps with the AdMob Pro Plugin targeting Ionic 2 apps.
PointDeveloper.com
Brian Rinaldi recommends
Why I Moved From A Square To A Circle — An alternative UI proposal for handling numeric keypads on mobile apps by C Y Gopinath.
Smashing Magazine
Job listing
Mobilize How You Get Hired — Get interviews with top companies without submitting another application. Through Hired, companies find you - and offer salary and other benefits upfront.
Hired.com

Curated by Brian Rinaldi and Holly Schinsky for Cooper Press.
Cooper Press is located at Office 30, Fairfield Enterprise Centre, Louth, LN11 0LS, UK
Update your email address
or stop receiving MWW here


by via Mobile Web Weekly

Multilingual WordPress Websites with Polylang

WordPress is available in a lot of different languages. However, when you switch to another language in the “General Settings” panel, by default, you can’t use several languages at the same time.

Sometimes, being able to use several languages what we're after. I can illustrate this assertion with my own example: my blog is available in two languages (English and French). If you prefer the French language, you can switch to it without any problem, I don’t need to switch the entire website language preferences.

By default, it’s not possible to do this in WordPress, but there are plugins that can help you achieve this goal. In this article I'll introduce you to an entirely free and complete plugin called Polylang. We'll look at how to install it, how to configure it and, above all, how to use it to translate the entire website (not only the posts!).

Continue reading %Multilingual WordPress Websites with Polylang%


by Jérémy Heleine via SitePoint

What's New in Rails 5? Find Out in Our New Course