Skip to main content

The Importance of Keeping in the Loop

Greetings, Fellow Devs!

This is the first post, of hopefully a generally weekly update.  I've been so slack in the past, but small articles or large, I endevour to get something to you!

I was just now sipping my glass of whiskey, forcing myself to get back to an old project I have been procrastinating on for some time now.  I did have a good enough reason, a wedding to plan for, then 2 weeks before it all came together - losing my job, and then like a pebble over a lake, bouncing in to a new (and first for myself) management position.  It's been one hell of a ride!

But I digress; the issue I was facing was attempting to re-compile a cordova app which I have been extremely excited about, when I find it was no longer able to do so with the SDK and the plugins I was using were all out of date.  This has caused a right mess, and finding the right solutions in forums is definitely not easy - even when you have the up-vote style of answer/comment you would find on Stack Overflow.

Don't discourage; I am not dissing S/O, far from it.  But let me give this as a prime example as to a solution and to it's many followers, leading you (potentially) down a long garden path;

This was the best matching result of the issue I was having. The accepted answer is (as of the publication of this post) half right, while a comment on the post with the most up-votes suggests to additionally downgrade the Android version to use of 6.3.0.

This raised an immediate red-flag.  Great, it fixes it, but I need to keep my project in the past?  And so many were suggesting the same thing.  It wasn't until I scrolled all the way to the bottom to find an extremly helpful post, with the following exceprt from the source:

In our last plugins release, we deprecated cordova-plugin-compat since it got integrated into cordova-android@6.3.0. So for this release cycle, we have removed the dependency from plugins that were relying on it and gave the plugins a major version jump. The follow plugins have dropped cordova-plugin-compat: cordova-plugin-camera, cordova-plugin-contacts, cordova-plugin-file, cordova-plugin-geolocation, cordova-plugin-media, and cordova-plugin-media-capture.

Halleiluijah!  So the cordova-plugin-compat was deprecated, and all plugins that used this had a major version bump to remove its dependency, so simply every one of them needed to be updated and this plugin could then simply be removed.

So this prompted me to not only start this new blog to keep up to date on, but also to encourage others to keep up to date on such blogs and other feeds your projects components rely on.

Cheers!
Jesse.

Comments

Popular posts from this blog

question2answer Wordpress Integration

 Today I want to journal my implementation of a WordPress site with the package of "question2answer".  It comes as self-promoted as being able to integrate with WordPress "out of the box".  I'm going to vent a small amount of frustration here, because the only integration going on is the simplicity of configuration with using the same database, along with the user authentication of WordPress.  Otherwise they run as two separate sites/themes. This will not do. So let's get to some context.  I have a new hobby project in mind which requires a open source stack-overflow clone.  Enter question2answer .  Now I don't want to come across as completely ungrateful, this package - while old, ticks all the boxes and looks like it was well maintained, but I need every  page to look the same to have a seamless integration.  So, let's go through this step by step. Forum Index Update This step probably  doesn't need to be done, but I just wanted to mak...

Running NodeJS Serverless Locally

 So it's been a long time, but I thought this was a neat little trick so I thought I'd share it with the world - as little followers as I have.  In my spare time I've been writing up a new hobby project in Serverless , and while I do maintain a staging and production environment in AWS, it means I need to do a deployment every time I want to test all of the API's I've drafted for it. Not wanting to disturb the yaml configuration for running it locally, I've come up with a simple outline of a server which continues to use the same configuration.  Take the express driven server I first define here: And then put a index.js  in your routes folder to contain this code: Voila! This will take the request from your localhost and interpret the path against your serverless.yml and run the configured function.  Hope this helps someone!

Google Sheets Web App

 Greetings! Has been yet another long period since my last post, but hopefully the type of content makes up for it.  Today I'm writing about a need that I had to document my entire movie collection in Google Sheets, because some that were on my local network, some on DVD, some on my Playstation Video account and as well as my small collection in Google TV.  All in all there is currently over 500 movies, and growing. So the spreadsheet is fine on its own, but something nice and "pretty" was needed to list, search and filter by the movie's attributes.  I first got an API key to be used with  OMDB API .  This allows me to get a JSON of the movie's IMDB attributes with a search from the title.  I then added two functions in the "Apps Script" component of the sheet: From here, I could call the function to search (from a cell) with: =API(CONCAT("http://www.omdbapi.com/?apikey=*******&t=",ENCODEURL(A1))) That would return the JSON (assuming A1 is...