The Chief Mercenary

Front End Architecture and Engineering Leadership

  • About Me
  • Contact Me
  • April 1, 2020

    Angular Testability: Dealing with Selenium or Protractor timeouts

    Angular Testability: Dealing with Selenium or Protractor timeouts

    Running automated integration tests is a crucial element for any serious CI/CD pipeline and within our company, our QA uses Selenium for that purpose. Angular offers Protractor for that purpose, but to each artisan his tool, our Angular apps are just part of a suite that include non Angular apps and it’s easier for the…

  • February 24, 2020

    A day in the life: how a frontend developer solves a “simple” bug

    A day in the life: how a frontend developer solves a “simple” bug

    I have been working lately with junior front end developers, as well as mentoring aspiring developers and one of the questions that they ask me is how to become a better/senior developer. That’s a question that is hard for me to answer quantitatively but the one quality that I know about senior developers is their…

  • January 21, 2019

    Autoplaying inline videos on iPhone iOS 10 using Angular

    Autoplaying inline videos on iPhone iOS 10 using Angular

    Starting with iOS 10, Safari on mobile (iPhone and iPad) started allowing developers to autoplay videos inline provided the video you are trying to play meets certain conditions. Before that, your video would not auto play inline, and when it would play, it would play full screen only. These changes were in place to prevent…

  • September 23, 2018

    Integrating OpenCV.js with an Angular application

    Integrating OpenCV.js with an Angular application

    OpenCV (Open Source Computer Vision Library) is an open source computer vision and machine learning software library. It was originally written in C++ and has since been ported to most other major languages and platforms and most recently, with the boost provided by Web Assembly, it has finally crossed into the Javascript world. OpenCV.js is…

  • November 22, 2017

    A story of ngUpgrade: Bringing an AngularJS application from 1.6 to Angular 4

    A story of ngUpgrade: Bringing an AngularJS application from 1.6 to Angular 4

    After reviewing an existing AngularJS application that was to be used as the basis for an enterprise dashboard application, i quickly determined that the best way forward would be to move the existing application to Angular before implementing the required new features in the more modern versions of the framework. AngularJS in Typescript Understanding ngUpgrade…

  • October 31, 2017

    Reverse Proxying an angular-cli SPA with Apache and Tomcat

    Reverse Proxying an angular-cli SPA with Apache and Tomcat

    It’s always beneficial to have your development environment closely mirror your production one, and thanks to tools like Docker it’s quite easy to set it up nowadays. In this post we will learn how to set up a dev environment for an Angular 4 application, backed by an api served with Tomcat fronted by Apache.…

  • July 27, 2017

    Going Mobile: Wrapping an existing web application in Cordova/Phonegap

    Going Mobile: Wrapping an existing web application in Cordova/Phonegap

    Going Mobile: Wrapping an existing web application in Cordova/Phonegap There are many choices to build mobile applications, from native to the growing popularity of hybrid development, with everything in between. In all of these cases, as a developer you would be writing a brand new mobile application from scratch with the ultimate goal of deploying…

  • January 18, 2017

    Dragons when upgrading from Angular 2.1.x to 2.4.x

    Dragons when upgrading from Angular 2.1.x to 2.4.x

    The reason why I decided to upgrade to 2.4.x was simple enough. On trying to redirect to a new URL I was getting a rather obscure error message, and no amount of URL fiddling worked to get a redirect to work or get me a sensical error message: error_handler.js:47 EXCEPTION: Uncaught (in promise): TypeError: Cannot…

  • January 9, 2017

    Angular2: A couple of months in

    Angular2: A couple of months in

    Like any other Angular 1.x developer, I have followed the evolution of the next version of the platform from its announcement through its eventual release. I was not incensed by the lack of (complete )backwards compatibility, as some seemed to be on the initial announcement; the way I saw it, it was indeed a complete…

  • November 30, 2016

    Angular2 Routing Error

    Angular2 Routing Error

    One of the better things about Angular2 which had already present in Angular1 was the outputting of meaningful errors whenever they happened within the framework. Unfortunately with the new angular-cli webpack based build, it’s not always easy to understand what is happening with certain errors. Consider this error I recently ran into: error_handler.js:47 EXCEPTION: Uncaught (in…

1 2 3 … 34
Next Page→

Website Built with WordPress.com.

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Follow Following
    • The Chief Mercenary
    • Join 184 other followers
    • Already have a WordPress.com account? Log in now.
    • The Chief Mercenary
    • Edit Site
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar