Category: Blog

  • Searching for a Laptop Bag

    I was in San Jose recently for the Silicon Valley Code Camp and when I picked up my backpack in the morning at the hotel, an edge caught on the desk and my zipper pulled loose. Not what you want to have happen when you’re transporting a laptop that you use for work.

    This has been a good backpack for me during the last couple of years, but as you can see below, it’s wearing out.

    Photo Oct 20, 5 27 30 PM

    The zipper pulls are fraying, the Velcro doesn’t stick as well, and now the zipper has issues. For a free bag, I can’t complain ,but I think it’s time to move on.

    Past Choices

    I’ve had more than a few bags in my life. Early bags came from vendors, and I’ve had no shortage of conference bags over the years. This was a good one, but I found the flap to be annoying to me, and I’ve sworn off messenger bags.

    Photo Oct 20, 4 07 22 PM

    I had a stage with my bad knee (and aching back), where I used roller bags. I had this great Targus for a lot of trips, and really enjoyed it. I could put in some clothes and plenty of gadget, and make this a single bag on short trips.

    Photo Oct 20, 4 07 38 PM

    However. I’ve also found that airlines have moved to smaller jets where possible, I often do have another carryon, and this doesn’t fit under a seat (often) or overhead (in smaller planes). As a result, I went searching for a smaller roller.

    My wife used to use this nice leather one, and I tried it for awhile. However it had a few issues.

    Photo Oct 20, 4 07 08 PM

    It also doesn’t fit under seats well (too wide), and it’s got a frame, so the size doesn’t change much. However the other issue is that it’s hard to maneuver with a second bag. It doesn’t stand up by itself, and the handle doesn’t easily fit over a luggage handle, so it’s a pain.

    The Search

    I started on Twitter, and got a lot of recommendations. Far too many were for messenger, shoulder style bags, which people seem to like, but I don’t. I also didn’t want a bare bones, super small backpack.

    My son has a nice, military style Maxpedition bag, but I don’t love the single sling. It’s a bit of a pain to get on/off without unclipping and don’t want to be doing that. However it is durable as can be.

    When I look at reviews, I see all kinds of different bags and features. There’s an amazing selection. That’s good and bad, but it certainly makes me think about what matters to me.

    One of the first companies that popped up for me was Everki. I’d never heard of them, but for some reason I clicked through and started browsing their backpack bags. At first I dismissed a few models that claimed they could store an 18” laptop as I’m never getting one of those. I’ve had a 17” model before and didn’t love it. As of now, I’m always searching for the smallest machine I can find that takes 16GB. Soon it will be 32GB, but I’m not ready for one of the W540-sized machines yet.

    As I looked, I watched a few of their videos, and I have to say that while I hadn’t considered the fold flat to be a feature (TSA doesn’t care in many places), I did like the fact that I often get stuff stuck down in the bottom of my bag now and have to search around. I also liked the hi contrast orange inside, because surprisingly often I can’t see inside my bag.

    versa_1

    I settled on the Versa for one main reason: the sunglass case. It’s also in the Concept, but I didn’t want to spend $300 (though for some reason $200 didn’t seem too bad). However I usually want sunglasses with me when I drive, and I’ve even found them on my head as I get to the TSA line and have to slip them into my bag, where they’re not well protected. Yes, I know I can take a glasses case, but I’d need 2 and I find those to be a pain. It’s not rational, but I’d rather have it built into the bag, a place I can drop stuff.

    versa_2

    I think this bag will be similar to lots of other bags that are in the price range and ta

    I’ve found with luggage that I get better bags (usually) for more money, and I’m hoping this will last me a few years. I spent $150 for a roller that I really like and think it was worth every penny. It’s lasted 4 years and still is going strong.

    I won’t get this before my trip this week because I waited too long to order it. However I’ll have time to pack it next Monday and see what I think, with the chance to order a different bag before I leave for PASS.

    I’ll update a review next week with first impressions.

  • Anatomy of a tSQLt test

    I’ve been doing some work on testing database code, and working with the tSQLt framework. I really like the framework more and more, and want to continue to use it. The whole idea of testing is a bit immature in database code, and perhaps software in general, but at least the software people are trying to move forward. At least in places.

    As I’ve been learning, and presenting on this, I’ve started to adopt and follow the simple pattern espoused by the tSQLt framework. It makes sense, and it provides what I think is a good format for unit test. The structure is:

    • Assemble
    • Act
    • Assert

    It’s simple, and it makes it easy to see how a test works.

    Assemble

    Declare variables and create tables you need. Insert data, initialize values and ensure that you have an expected environment on which to base your tests. I think this is especially important for database code tests.

    Act

    This is the place you call your code, or perform some action. Usually easy to do, but there are some thing that might be tough to set up.

    Assert

    This is where you assert, or declare something to be true. A value is equal to another. A result set looks like another. Something that you declare to be true, which could be some condition, like an error has occurred. If it’s true, the test passes. If not, it doesn’t.

    More to Learn

    There is lots more to learn, and I’m trying to do more. However I also need others to not only try to write tests, but evaluate how well they work and also publish some code. Explain to people what has worked, AND what hasn’t. Having that information out there, for a large variety of cases, will help others better test their code.

  • Learning Options in Seattle Next Month

    The 2014 PASS Summit takes place next month. Actually a few weeks, on Nov 3-7, 2014 in Seattle. While many people attend the conference, there are some additional options for learning that you might think about in addition to the conference itself. While the conference is great, getting deeper dives on topics that last more than an hour is something you may consider.

    Make SQL Server Go Faster – A two day class, Monday Nov 3 and Tuesday Nov 4, from Brent Ozar Unlimited. You’ll get two days in depth training on practical tips for improving SQL Server performance. $695, but worth it.

    SQL in the City 2014 – Seattle – From Red Gate, my employer. We’ll have the hour long sessions, but we’ve split things into two tracks and have linked sessions. Our development track, focusing on Continuous Delivery, is really 3 hours of content that has breaks. Lots of admin stuff, and the chance to see how Red Gate tools make your job easier and faster, but we cover concepts that can be applied to other tools, or your own processes.

    Pre-Conference Sessions – Each year there are two days of pre-conference, all day sessions. We’ve had post-conference sessions as well, but not for a few years. This year there are lots of choices, and a couple I struggled to choose between. I decided on Allan Hirt’s pre-con as I could use some HA skills beefing and as a former sysadmin, I find it interesting. If you can swing the $495, it’s a good investment.

    SQL Saturday #337 – Oregon – The Saturday before, if you’re in the area early, Portland is a short drive/train/flight away from Seattle. A free, full day of SQL to get you warmed up for the Summit.

    Also, don’t forget about our Monday Networking Dinner as well. Come join us. It’s free, and you get to meet other SQL Server pros.