Snowflake SDK Configuration: CertificateError

I had to wrestle with getting the Snowflake SDK working, kept encountering the error: 250001: Could not connect to Snowflake backend after 0 attempt(s).Aborting. The underlying error to which was: SSLError(CertificateError(“hostname ‘sk78217.us-east-2.snowflakecomputing.com’ doesn’t match either of ‘*.us-west-2.snowflakecomputing.com’, ‘*.us-west-2.aws.snowflakecomputing.com’, ‘*.global.snowflakecomputing.com’, ‘*.snowflakecomputing.com’, ‘*.prod1.us-west-2.aws.snowflakecomputing.com’, ‘*.prod2.us-west-2.aws.snowflakecomputing.com'”)) I read much on the tubes about how region needs to be set, … Continue reading “Snowflake SDK Configuration: CertificateError”

Satisfying Email SPF Spam Checks (Emphasis: Gmail)

I ran into an issue where mail from my server/domain ended up in Gmail users’ spam folders and so endeavored to resolve it. I didn’t find anything in my online searching where someone was seeing exactly what I was seeing. This link was helpful for general information around SPF: http://www.openspf.org/FAQ/Common_mistakes For purposes of this documentation, configuration/values … Continue reading “Satisfying Email SPF Spam Checks (Emphasis: Gmail)”

Limiting User to SFTP for Uploading Web Content

I required the following: System user that could upload content to a directory in root web directory (default root: /var/www/html) Limit user from interactive SSH Limit user from other areas of OS Specifically, I am working within the AWS distribution on a hosted EC2 instance. I found posts online that accomplished part of what I … Continue reading “Limiting User to SFTP for Uploading Web Content”

Ubuntu Yielding Noisy Black/White Scans

I did a fresh install of Ubuntu 14.10 today with Cinnamon as a desktop and am pleased with the interface. I noticed something when scanning some documents in lineart mode, though: the resulting images had a ton of noise, noise that I did not see in scans prior to my upgrade. After snooping around the … Continue reading “Ubuntu Yielding Noisy Black/White Scans”

Default Argument Value Does Not Refresh Between Function Calls

Something struck me as unexpected today while working in Python. I had a function to take a datetime object and convert it into epoch milliseconds: import datetime import time this_tz = ‘US/Eastern’ def get_epch_ms(dttm=datetime.datetime.now(pytz.timezone(this_tz))): # Returns milliseconds since epoch for datetime object passed. # If no argument is passed, uses *now* as time basis. # … Continue reading “Default Argument Value Does Not Refresh Between Function Calls”

Right and Wrong, Politically Speaking

A friend recently advanced the notion that one of our political parties is more “right” than the other when it comes to economic policy. As an admitted layman in economics, I disagree: —– Interesting that you’d specifically mention macroeconomic policy, as it may be considered particularly confounding as the subject of an exercise seeking to … Continue reading “Right and Wrong, Politically Speaking”

Gaming System Builds (~$500 and ~$1000)

Recently, a couple of friends have tapped me (or did I volunteer?) to spec out parts for a new gaming rig. The first friend was looking in the $500-600 range in order to get his League of Legends on, the second wants to replace his aging PC before the WoW expansions drops in a week … Continue reading “Gaming System Builds (~$500 and ~$1000)”

Ubuntu and VNC

I seem to occasionally find myself sparring with Ubuntu on getting VNC server configured correctly. I use the default (RealVNC) vncserver package included with Ubuntu. There are two main points of configuration I seem to rediscover each time: Make sure vncserver is looking in the right place for configuration For my setup, the “right” place … Continue reading “Ubuntu and VNC”

Asus RT-AC68R Periodically Drops Wireless (2.4GHz) Connection

This does not strike me as specific only to this router, but has to do with a configuration setting around 20MHz vs. 40MHz channel bandwidth. I picked up an Asus RT-AC68R a while back and it’s been fantastic. One bit of behavior I wasn’t crazy about was the periodic – and somewhat frequent – dropping … Continue reading “Asus RT-AC68R Periodically Drops Wireless (2.4GHz) Connection”