Sean Hagen.ca

Thoughts on code

Uprading to a New Nexus

| Comments

I’m in the market for a new cell phone. I have been for the past year or so. First I was putting off getting a new phone because I was waiting for the Nexus 6. At the time I started wanting a new phone, the Nexus 6 was still just “whatever phone Google comes out with next”. It wasn’t named, I didn’t know specs, I didn’t know when it was going to be released.

I just knew that I wanted to wait for the phone after the Nexus 5.

How to Safely Store a Password in 2015

| Comments

I stumbled onto Coda Hale’s post about how to safely store a password earlier this week. In it, he discusses how to safely store a users’ password on your system in order to authenticate that user.

Basically, he advocates using bcrypt. However, that post was written five years ago ( actually, five years ago this month ).

How about something (possibly) better?

Back to Blogging

| Comments

It has been waaaay too long since I’ve written a blog post. The last one I wrote was back in July, right after the Celebration of Lights. Things have been a bit crazy since then.

So, what’s happened since then?

Let’s see:

  • started a new job at Bardel
  • got my ham radio license: VA7SPH!
  • started a new hobby: fountain pens!
  • started another hobby: fishing!

Okay, let’s talk some of these a bit more in-depth.

Trip to Quebec

| Comments

So a few weeks ago Marie and I went on a trip to Quebec. The main reason was that we were going to her high school reunion. We also just needed a week off. It’s also been a while since either of has had time off, so we figured we’d take a whole week and have some fun. We spent a few nights in Montreal, and then spent some time wandering around Quebec.

Hit the jump to get a full rundown of our adventure.

Camping at Narin Falls

| Comments

I went camping with my girlfriend this weekend at Narin Falls. It was pretty awesome. We went up on Friday night, and came back Sunday afternoon. Overall, it was a blast.

Housing Woes

| Comments

So, I’ve been a “home-owner” for about two years now. I actually managed to get a pretty good deal for my place — the bathroom and kitchen had been renovated in the year previous, and the previous owners also put down hardwood laminate. When it initially went on the market, it was priced at about $220,000. After being on the market for a year, I managed to get the place for $196,000. A pretty good deal, as far as I’m concerned.

3D for Fun and Profit

| Comments

The project that I’ve been working on at ThoughtShop is almost ready to show off. There have been a few interesting snags that I’ve run into while getting the project all set up on the hardware that’s going to end up in the showroom.

The main issue is the way the screens are set up. The project is running on 3 screens ( one of which is a touch scren ), which are all connected to a Mac Mini. The screens are all going to be mounted vertically, with the touch screen on the bottom. The touch screen is going to be showing some interactive stuff, and the top two screens are going to be showing a 3d model.

There are a few things about this project that I think are pretty cool.

Getting Up

| Comments

So, last month I mentioned that I had talked to a doctor. When I talked to her she mentioned that I should exercise more, as well as trying to have a more regular sleep schedule.

I’ve been doing pretty well on the exercise part of the plan. I bike to work at least three days a week, and at ~8km each way that’s a minimum of about 48km each week. So I think I’ve got the exercise down.

In the last few days I’ve definitely noticed that I need to work on my sleeping schedule. There’s been a few days where I’ve had trouble getting up, and I think I know why: I’ve been going to bed pretty late recently.

Since I started at the new job I’ve been getting home early — one of the benefits of regularly starting at 9am-ish is that I’m usually home by 6pm. This has been pretty awesome, because it gives me more time to work on my own stuff once I’m home. The downside is that once I really get into something, it’s hard for me to put it down when it’s time for bed.

I think I need to sort out some sort of schedule for my weekdays. Set aside time to cook and eat dinner, some time to just relax, and some time to work on projects. Maybe that will help me get to bed at a reasonable time every day, which will help me wake up a bit earlier every time.

To help me get up, I’ve been thinking I need a better alarm clock. My phone seems to have issues with charging lately, so it’s shut off in the middle of the night a few times already. My other alarm clock doesn’t seem to be doing the job, I think partially because it is just sound, and what I need is sound plus light — an alarm clock that turns on a sun lamp in the morning is what I need.

This sounds like a good first project for a Raspberry Pi! I think I’m going to try and build my own custom alarm clock to help me get in up the morning. I’m going to spend the next few days planning out what I’m going to build. No idea how I’m going to build the sun box yet, but it should be fun to figure out!