Friday, October 12, 2018

ColdFusion Summit 2018

This year's the ColdFusion Summit was held at the Hard Rock Hotel in Las Vegas. At first I had my thoughts about it being off the strip but honestly I really loved the venue. I have attended this conference since the first one back in 2012 and have been honored to be a speaker since 2013. I have to say that this one was the best one yet!

The keynotes on day one and day two were fantastic, the sessions were great, the food was amazing and the party ... SPECTACULAR AND FUN!!!!

As always, I love this time of year as it allows me to network and catch up with old and new friends in the community.

To all those that attended my WebSockets presentation, you can find my slides and links to all the demo code in the following github repo.

I am already looking forward to next year as I have great plans on expanding my sessions more and helping more developers understand the power and ease of using WebSockets.

Until next year!!!

Keep coding and learning ....

Tuesday, June 12, 2018

Clear your Netflix viewing history using JavaScript

If any of you have wanted to tried to clear some or all of your Netflix watch history, then you have most likely encountered the burden of clicking on a delete button over and over again. Well, if you rather do it in one little action try the following.

To begin do the following:
  1. Open Netflix in the browser of your choice.
  2. Hover over your profile picture in the upper-right corner of the screen.
  3. Click Account.
  4. Click Viewing Activity under My Profile.
WARNING:  You should understand JavaScript and what you are attempting to do before moving forward.

At the time of this writing, the following script will take any entry that is not from the current year and delete them from your watch history. You can choose to continue to scroll down the page before executing the following script in order to work thru your entire watch history. If you have a lot of entries, this will take a bit as each click that you are forcing is making an XHR.

Once you are ready to continue, simply open your web developer tools of your favorite modern browser and enter the following script in the console and execute.

Please run this with caution. At the moment, I was able to get rid of my pre 2018 entries but it appears I am getting a 403 response (forbidden) from Netflix on my browser and all my devices. There is a possibility that I got blocked. I will keep you all posted.

Netflix is working back to normal again but it was odd that a couple of friends and family members accounts worked and mine did not. I will assume that it was a safeguard that temporarily blocked my account due to the high amount of requests I made in a short amount of time. I know it was not my IP that was blocked as I tried to access from other devices outside of my network and it was still blocked. Maybe it was just some crazy coincidence and I sound insane. Regardless, I will still say, use with caution. In the end, it did what I wanted, cleared my viewing history since 2010 which was well over 2,600 individual clicks I was not wanting to do manually. Maybe in the future they will give an easier way to clear our entire viewing history or at least an easier way to bulk delete.

Friday, October 06, 2017

ColdFusion 2016, IIS 8.5, Skip IIS Custom Errors and 401 responses

Well I thought I would just put this quick thought out as it had me pulling my hair for a bit.

I developed an API for a client that when it fails authentication it returns a 401 and a JSON response in the body. In ColdFusion 11 I had no issues and then I just updated their staging server to ColdFusion 2016 and it started to return 401 without the response BODY ( sometimes it would and sometimes it would not ). This caused some issues with an app I am developing that uses this API and hence the hair pulling.

So, I decided to look at my connector and see it it was a setting I chose and it was, apparently clicking on Skip IIS Custom Errors causes this issue.

I have written about this before and recommended it ( but now it appears I might revert back to the default setting (at least for this client ).

Now, after comparing the ColdFusion 11 install that I have still on production, it appears I have this setting set to false and on this upgrade I decided to set to true ( or click in the wsconfig GUI ). I don't know why I did this, maybe because I saw a checkbox for it and was like cool I will click it ( squirrel ).

So as a reminder to myself and hopefully to anyone else that might experience this issue, just set that setting to false and everything will go back to normal :-).

Tuesday, May 23, 2017

Invalid SSL on Chrome 58+ due to missing_subjectAltName

A friend of mine experienced this today and I referred him to a post that I used to fix the issue locally with my self-signed certificates when I first encountered it a month ago.

The author, Alexander Zeitler, goes thru the steps required to create your own CA (certificate authority) which is very handy when you want to just trust any certificate you create using it. Then he goes thru the steps for generating the SSL certificates using OpenSSL. In my own experience, I did not need the additional server config file he specifies, which I believe it was an issue with my version of OpenSSL but regardless it worked.

You can read thru the comments to find out more.

The link is :

He also wrote it on my birthday, so it was a nice gift. Thank you for sharing Alexander!

Wednesday, May 17, 2017

My Into The Box 2017 Experience

Well this is an overdue post that unfortunately work and personal things kept me from for a bit, but as promised I wanted to share my personal experience at Into the Box (ITB) this year. Also, why I feel it is one of the best, if not the best, ColdFusion conference I have ever attended.

I like others, have asked, “Why"? Why should I go to this gathering, isn't it just for users of ColdBox? Not, that I haven't used ColdBox, in fact I do and still support apps written in ColdBox. However, if I'm going to be honest, I am more of a Framework One kind of guy. So, before I go any further into my experience, let’s put that thought to rest.

Now, the keynote speakers presented a lot of great information geared towards ColdBox and their arsenal of tools. But, did you know, you do not have to use ColdBox to use them? Remember, as stated in their site, "ColdBox is an MVC framework for ColdFusion”, but the ColdBox Platform is so much more than that which include: WireBox, CacheBox, LogBox, TextBox, MockBox, ContentBox and CommandBox (which is my favorite). So, to answer the question, no you don’t have to use ColdBox MVC framework to attend, all you have to be is a ColdFusion developer that is interested in learning from and meeting peers in our community.

To start with my experience, from a personal stand point, this has been the best. Over the years of me working from home (although a blessing) I found myself becoming more of an introvert rather than the extrovert I was when I played music back in the day. This is something that I eventually break thru and once we start talking you might even wonder when was I ever shy, but I am. The setting for this particular conference was very different from others. From the moment I arrived thru the doors of the hotel and immediately introduced myself to Jorge Reyes and Bill Garoutte, it just felt different and very welcoming. The venue was just perfect and was intimate unlike the feeling I get from the conferences sponsored in Vegas. Please note, I hate Vegas and always have, from the days I attended Adobe MAX, Microsoft’s Connections to name a few and right from my first visit to the Magic Convention, which is not even a developer conference instead a retail industry convention. You may not share the same feeling for Vegas like I do which is perfectly fine as we are all entitled to our own opinion. At ITB, I found the intimacy and detail to personal connections to be extremely refreshing. We were more like a group of friends than strangers meeting in some large hall.

In regards to content. I found the information presented was truly amazing in how it was laid out and described. Going back to our first concern of, “Don’t I have to be a ColdBox user”, well you can say the proof is in the pudding. I would like to highlight some of my favorite moments but would first like to say I am grateful to every presenter that took time out of their busy schedules to share the knowledge they have with the rest of us. From Kevin Jones' presentations on NGINX, John Farrar’s on using Vue and introducing some modern development workflows, Mike Brunt’s on Tuning and Troubleshooting ColdFusion, Luis Majano’s on ORM, Brad Wood’s on CommandBox and introducing CFConfig (thank you), Charlie Aerhart’s on opening our eyes to what those damn spiders are doing to our servers and by far the one that blew my mind and inspired a CFC and a blog post to follow this was Gert Franz’s "How to make CFML script fast".

I can’t forget to mention the Happy Box Event featuring the Mariachi Band. This was the cherry on top, the moment I truly felt like I was part of a special group of people, a strong ColdFusion community and almost Family. Jorge, you sir have pipes, Luis you escaped your performance too quick, Brad and Gavin, next year the spotlight will be on you guys.

So, to close out this post, Into The Box was amazing. You can expect to see me at future ones and spreading the word. I can’t wait until next year and experience it all over again. To everyone at Ortus and anyone else involved, thank you for putting such a great event together.