Skip to main content

No, Don't Move to Canada

The 2016 presidential election year is upon us Americans. As the parties narrow on a candidate, it feels as though the atmosphere manages to get even more polarized. Eventually we start hearing the stories from friends and family, to even celebrities, stating “If [candidate I hate] get’s elected, I’m moving to Canada!”. We then all laugh once candidate X is elected (especially if we were a fan) as said person(s) don’t move to Canada.

Even though we know most people are not literally serious when they state this, I feel it highlights a bigger issue that we don’t talk about enough. Simply put, we place way too much importance on who holds the U.S. Presidential office. When we say “I’m moving to Canada”, we’re essentially saying that the fight is over, there is no hope, even though we don’t actually pack up our bags and move. Which indirectly is stating, that there’s nothing we can do as an individual or community. That out of all the issues America faces, no non-profit, grassroots organization or group of concerned citizens can do anything to make things better. All the power and potential rests solely in the presidency. This is simply not true.

I won’t go into the plethora of examples of people who have made a difference in America without being president. Thus, while the POTUS position is certainly an important item to discuss and be concerned about, it is hardly the end-all-be-all of one’s existence as a U.S. citizen. Conversely, if your favorite candidate were to get elected, such a view of the presidency would allow one to feel “Great! My pick got in! They will fix everything and I can sit back and watch.”

Both conclusions are an actionless state. If we want to make a difference, helping efforts for positive change in the community will go much farther than any box we check on the ballot. So, this year, I encourage you to go out and find a group of people in your city who are working on something that speaks to you and join them, in addition to hitting the polls.

Comments

Popular posts from this blog

IE Caches a Lot

Cross post from my employer's development blog: http://rootinc.github.io/2016/03/09/ie-caches/

In developing a page, I decided to do things a bit differently on the server. By doing an explicit check on the HTTP request headers, I can detect server-side if a request to the server is coming via XHR (Ajax) or a standard page load. I can then serve different content based on the request type. So, I can use the same URL for retrieving the initial HTML page and the raw JSON data associated with that page. Express makes this pretty easy:
if (req.xhr){      return res.json(await this.usersData());    }    else {      return res.view('users', await this.usersData());    }
I’m not sure if it’s technically more RESTful than having separate URL routes for data and HTML, but it felt like it made sense. The URL is referring to the same data, and based on a header, I want to determine how it is represented, but the data doesn’t change so why should the URL? This also makes it possible to d…

Atari E3 2004 PAL digital press kit

Making note of some old swag. The Atari E3 2004 PAL digital press kit. See video for details.






Changing Password Requirements with SailsJS and Passport

Cross post from my employer's development blog: http://rootinc.github.io/2016/03/16/pass-requirements-sails/

If you perform an installation of [Passport][passport] with [SailsJS][sails] using the [Sails Passport Auth Generator][sails-generate-auth] you get several files in your app already configured for you. If you then use passport-local, you will already have a complexity requirement on the password. It defaults to requiring 8 characters minimum, letters, numbers, and symbols.

What if you want to change this requirement? In the generated model file `Passport.js`, you should see a line that says `provider   : { type: 'alphanumericdashed' },` and `password    : { type: 'string', minLength: 6 }`. The minLength is an easy and obvious change. What about the complexity requirement though? This stumped me for a bit. There doesn’t seem to be any mention of these keywords or providers on the Passport official site, nor anything in the [Passport-local repository][passport…