I recently bought a pair of Bose SoundLink around-ear wireless headphones II. After a number of hours troubleshooting what I call “monitor effect”. Basically I could hear my headset mic through the headphone speakers when no other sounds were playing on the computer. I would also hear the “dead air static” that you hear when you increase the gain on a microphone.

When I’m at my desk I have my headphones on much of the day. I use them for phone calls, Skype, Internet sound and some music. That monitor sound just wouldn’t do.

What we ended up finding, just by a slim recollection that the tech remembered was that the Windows 10 “Hey Cortana” feature may be causing this. Sure enough, I turned that feature off and the issue was gone. Read the rest of this entry »

If you create a snapshot of a Windows volume in AWS (Amazon Web Services) EC2 and create an AMI from that you’ll notice that the platform column says it’s “Other Linux”. You then can’t launch that AMI.

Instead of creating an AMI from a snapshot, you will need to create an image from the instances screen. Right-click instance, click “Image” then “Create Image”. This will work fine.

Flying UAV’s in Omaha, NE

Posted: April 26, 2016 in Uncategorized

Haven’t flown a drone in awhile. Since then FAA rules have changed and you have to notify the airport control tower if flying within 5 miles of an airport for hobby or recreational purposes.

I tracked down the control tower’s number: 402-271-7505

They ask that you call the day you are going to fly, give them your maximum flying height and your phone number.

I mentioned I’d probably fly 50-60 feet, and they said that wouldn’t be an issue.

Note: DJI hasn’t added OMA’s and MLE’s (Millard) into their No FLY ZonesList yet as of 4/26/2016.

A month or so ago I put my truck into the shop for about 5 days to get painted. I thought about getting a rental car for the week and stopped by Enterprise. I knew that getting the collision damage waiver was a smart idea and I even asked how often damaged is charged to the customer. The agent told me that about 50% of all cars brought back are have damaged charged to the customer, mostly from rock chips. Seems like an extremely high percentage to me and likely abused. If I were to get the waiver on a mid-sized car it’d cost about $15 per day or more. With that in mind I decided to just car pool and use Uber.

Today I just received an email from my bank. I have a credit card through them, being US Bank. The card has a very high percentage rate but I keep it to avoid the $10/mo “maintenance fee”. Their email states that if I pay the full amount of the car rental via the card then I’ll be covered with their auto rental collision damage waiver – for free! Read the rest of this entry »

At CF Webtools we run SpamAssassin on our Windows email server via means of “SpamAssassin in a Box” by JAM Software. (We also use their TreeSize software which I love to use to track down disk space issues in Windows.) SpamAssassin is a local service that our SmarterMail server talks to, filtering out SPAM based on a scoring system.

SA-eventThis morning I was alerted to the service not responding via our alerting software Nagios. When I checked on the service I saw it was stopped. From there I went down the freak’n rabbit hole.

I opened the even log and saw “SpamAssassin daemon (spamd.exe) restart successful. Looking through the list I see it restarts every hour. I hate when this happens because that means that some other process is likely running on a scheduled basis and causing it to crash. I did note in the “Recovery” tab of the services window that the service is set to restart upon failure. So my thought is it’s crashing and then automatically restarting.

On to further investigation. I found a “SpamD.log” file in “C:\ProgramData\JAM Software\spamdService\sa-logs\”. Upon inspection around the time of the alleged crash I found this entry:

[4980] info: spamd: server killed by SIGINT, shutting down

Okay, so what is “SIGINT” and what is it doing to my service? Googling really didn’t help. Any suggestions were Linux based and didn’t seem to be relevant.

I then turn to “Service.config” under  “C:\ProgramData\JAM Software\spamdService\”. Here I find “<SpamdRestartIntervalInMinutes>”. Wait what?! Looking at the manual I find this bit “Specifies the interval for restarting ‘SpamD’ (in minutes).”. Well this is interesting. I do some further Googling and find a changelog note for version 1.0 back from 2010. It reads:

To consider possible changes in SpamAssassin configuration and to prevent potential memory leaks,SpamAssassin in a Box periodically restarts the daemon.

Okay, now this sounds like some hacks I’ve done in my younger years.

But at least I found my answer. It’s supposed to do that!

Why didn’t the service automatically restart? Just a one-off issue I suppose. I found this in the log:

SpamAssassin daemon (spamd.exe) was started, but didn’t respond to any signals from localhost.
Please restart the service. Should the problem persist, please contact support

I tend to monitor the “ColdFusion Programmers” Facebook group. Today a poster asked:

Hi guys, What do you prefer: CFWheels or Coldbox? I used before CFWheels and is good but I recently starts playing with Coldbox and so far is pretty cool – Jorge Alexandro Martinez Dominguez

My response was:

I use FW/1 for about everything because it’s simple and what I know. However ColdBox will give you a ton more functionality via modules and they aggressively keep that framework up-to-date. They are very involved in the community and even have a “Into The Box” event once a year for pre-conference. I would use either, but if you’re new to both I’d probably look at ColdBox. Both base frameworks are similar.

ColdBoxLogo2015_300Brad Wood, from Ortus Solutions, also chimed in a with a blog post from 2015 about how ColdBox 4 changed pretty drastically. It’s always a good read when asking yourself the Framework question: It’s Time You Looked At ColdBox 4

I had a request to supply a sample HTML page that would send a subscriber’s email address to ColdFusion without reloading the page. So I figured I’d post it here for any others looking for a simple example. This method uses jQuery, AJAX and a ColdFusion component.

index.html or index.cfm

<!DOCTYPE html>
<html>
	<head>
	</head>
	<body>
		<div id="subscribeContainer">
			<input type="email"><button type="button">Subscribe</button>
		</div>
		<script src="//ajax.googleapis.com/ajax/libs/jquery/2.2.2/jquery.min.js"></script>

		<script>
			(function($) {
				// bind the button with an event handler
				$('#subscribeContainer button').click( function(e) {
					// when button is pushed, POST data to remote ColdFusion component method
					$.post(
						'subscription.cfc',
						{
							method: 'subscribe',
							email: $('#subscribeContainer input').val()
						}
						)
						.done( function() {
							// everything worked
							$('#subscribeContainer').text('You have been subscribed.');
						})
						.fail( function() {
							// something failed
							$('
<span>There was an error subscribing.</span>').appendTo('#subscribeContainer');
						}
					);
				});
			})(jQuery);
		</script>
	</body>
</html>

subscription.cfc

component {

	remote void function subscribe( required string email ) {
		// call database insert method here
	}

}