Silverlight won’t work on Chrome

browsersSince April 15, Chrome version 42, the plugins Java, Silverlight and others are blocked by default.

Google made a major change in regards to how plugins are handled by the browser. They made the decision to phase out so-called NPAPI plugins in the Chrome browser and Chromium this year. NPAPI plugins use an old plugin API from the Netscape days. Java, Silverlight and other popular technologies use this API to integrate into browsers such as Chrome or Firefox. Chrome supports a new API, called PPAPI, which is not affected by this move at all. Adobe Flash uses the new API in Chrome for example. Silverlight however, has still not been updated and needs some steps to get this to work again.

This is what you do to override the blocking of plugins in Chrome:  Continue reading Silverlight won’t work on Chrome

Loading speed vs code readability

ctrl-ZVXAs a developer I like structured code. The browser however could not care less about the right amount of tabs and spacing; it just need to get the code, with as little data-traffic as possible.

So, what do I do? When speed is really important, I create my stylesheets and javascripts as I normally do, but then also convert these into a “.min’ version – minified, and refer to those from the html source code.

To get this done Continue reading Loading speed vs code readability

Mobile Apps? Endless resizing of icons, splashscreens and screenshots!

icon
As you may know, I develop Apps for iOS, Android and Windows Phone using Phonegap. One of the most awful tasks is creating all the images needed for the icons, splashscreens and screenshots to create the App and get it listed on the Apple iTunes, Google Play and Windows Phone App-stores. Nothing bad about it, but creating the same image, resizing, scaling and stretching, 118 different times in various resolutions is simply a pain.

So I searched for, and found, a script to create these variations of the same image with a push of a button. My Brain did what it does best and adapted the script for my own needs, so all I have to do now is the following steps: Continue reading Mobile Apps? Endless resizing of icons, splashscreens and screenshots!

WordPress, Images and 550.50 IIS errors

iconI am using WordPress on Windows IIS. I am uploading images in WordPress for a blog post. The image displays fine on the web site but as soon as I enable permalinks the images no longer work and any future images uploaded I get back an error:

HTTP Error 500.50 - URL Rewrite Module Error.
The page cannot be displayed because an internal server error has occurred.

Here is my web.config created by WordPress: Continue reading WordPress, Images and 550.50 IIS errors