Author: way0utwest

  • Motivating the Team

    This editorial was originally published on Oct 7, 2009. It is being re-run as Steve is away on sabbatical.

    You’re a corporate worker, building applications that your business uses to sell it’s widgets, gizmos, doohickeys, or ho-hums. Whether you’re a developer or a DBA, it’s not exciting work. Nothing to write home to Mom about with any level of enthusiasm. It’s a daily grind of CRUD applications designed to improve the efficiency of business workers who enter data, or view reports about how things work in the real world.

    That seems to be a story played out in many companies all around the world. Lots of creative, talented people, all stuck in boring jobs cranking out code that supports the business. Over time they become jaded, un-motivated, or burned out at their jobs, perhaps even questioning their choice of career.

    How do you motivate people in that situation?

    I’ve seen lots of business seminars and presentations designed to increase moral, or somehow get people excited about their company. Most of them have failed miserably for me. I haven’t left feeling motivated, especially  over the couple last decades where it seems so many corporations’ management care little about their employees, and only about what their quarterly number will be. Or what their bonus might be as executives.

    Even though they are paid differently, everyone has to feel appreciated. – Roger Staubach

    It’s a great quote, and one that I think tells us what motivates people. We want praise, we want to be challenged, and we want to enjoy our work, but what we really need is to be appreciated. Make a worker feel like they matter and they will put up with and even enjoy their jobs more.

    Steve Jones


    The Voice of the DBA Podcasts

    Everyday Jones

    The podcast feeds are available at sqlservercentral.mevio.com. Comments are definitely appreciated and wanted, and you can get feeds from there.

    You can also follow Steve Jones on Twitter:

    Overall RSS Feed:  or now on iTunes! 

    Today’s podcast features music by Everyday Jones. No relation, but I stumbled on to them and really like the music. Support this great duo atwww.everydayjones.com.

  • Sabbatical Day 4–Building, Sharpening, and Flattening

    My company, Red Gate software, has given me a 6 week sabbatical. I’m documenting the time with all the posts under a tag if you want to follow along.

    This has been a crazy week. It’s the first week of time off, but I’ve found myself as busy, or busier, than I am most weeks. My son coming back from China, extra kid volleyball, doctor appointments, and more.

    Yesterday started with a slow wakeup, blogging, and planning a few things. I had a list of supplies from woodworking class, and I spent a bit of time looking at the various options and trying to decide what was worth spending money on. If there’s one thing I’ve learned, it’s that woodworking isn’t cheap, so I had to decide if the $15, $36, or $80 squares were better decisions. I also dug out some chisels that I’d received as a gift. These were Stanley chisels and my plan was to bring them to class and see if they were acceptable.

    I lost a bit of time at a doctor appointment (knee is doing well), and swung by Lowes on the way home for a few pieces of wood to finish the sawhorses. I also got slightly lost in the miter saw section. The one I inherited from a delinquent tenant year ago is a basic miter saw, no tilting cuts and the flagpole plan calls for a beveled cut. I’m not sure if I can get a vertical cut from this saw, so I spent a few minutes drooling over DeWalt and Hitachi compound miter saws, and debated a Kobalt brand. Ultimately I think any would work, but I deferred the decision.

    The afternoon was assembling two more sawhorses. I dado’ed out the tops, working my way across with the circular saw. I suppose the table saw would work, but this was quicker, and less messy. Plus I was in the cool afternoon.

    Photo Jun 05, 1 11 51 PM

    With my guide, I marked and then cut the slots in the wood. This might be overkill, but it adds a lot of strength to the legs. I’m surprised how much more stable these legs are then sawhorses I’ve thrown together in the past.

    Photo Jun 05, 1 13 07 PM

    It’s slightly messy, but it went quicker today. I was better at cutting closed to a dado than a series of grooves I needed to use a hammer to clean out. However the weather didn’t cooperate. It started hailing and raining and I got chased inside.

    The boys, however, enjoyed the view.

    Photo Jun 05, 2 38 37 PM

    I did manage to get everything inside, and I cut a few braces from scrap plywood to use on the legs. I assembled one and then stopped when I had to close my side of the garage. Still, I marked up the other braces to cut today.

    Photo Jun 05, 2 38 26 PM

    After that, it was off to class. I brought my phone inside and took a few pictures this time. Feels good walking into the classroom. It’s like I’m improving my life with some learning in a way I haven’t done in years.

    Photo Jun 05, 6 02 07 PM

    Class was better as we started with actual work right off. I was in the group that started with sharpening. Each of us grabbed a plane and removed the iron for sharpening. I was a little slow, or too polite, and all the waterstones were gone by the time I got over there. So I got the Japanese waterstones to work with. There isn’t much of a difference. These are natural and the others are synthetic, but the same process applies.

    Photo Jun 05, 6 44 28 PM

    First I had to flatten the stone. I hadn’t worried too much about this in the past with my mechanical sharpener, but I see the importance here. Instead of a marble base, I had a metal/diamond plate to flatten the top.

    Photo Jun 05, 6 20 52 PM

    Once that was done, I worked on the honing guide, and went through the grits fairly quickly. I was first to get started, and I think I had a fairly sharp iron to start with and I was done in no time. The TA approved my work and I assembled the plane.

    Photo Jun 05, 6 49 27 PM

    After that, it was the boring part of class. Actually, it was interesting, but sitting on stools listening to the instructor explain how logs can be sawn and the effects on wood isn’t exciting. It’s relevant, and important if you make fine furniture, and something I’ll struggle with choosing wood and considering the grain and cut of boards.

    Then it was practical time. We each had a rough board that we locked into a workbench. The instructor showed us how to use winding sticks and a plane to flatten a board. His was fairly twisted, and it was amazing in 15 minutes that it was flat enough that it didn’t rock on a jointer bed. Not perfectly smooth, but flat.

    I used my winding sticks to check my board, putting them longways along the long edges and seeing a board that was slightly dipped at one end. Then I turned them across the long edge and crouched down to look at how parallel they were.

    The sticks weren’t, and I marked a few places with pencil and then started shaving off sections. I generated a lot of shavings, and was surprised at how much they were like the bundles of straws as they came out of the planer. I should have taken a picture. Maybe I’ll try next week.

    I thought I had it pretty good, and when I put it on the jointer bed, I still had a wobble. Back to marking and planing, but it seemed I was fairy quickly moving from side strokes to diagonal ones. At one point it was fairly flat, but I had a few pencil marks I wanted to smooth out. Of course, I added a wobble back, but a little more work and it was flat.

    Again, not smooth, and definitely some cut marks in there. but flat enough that I felt a little grab as I put it on the jointer bed. The instructor thought that was pretty good, so I cleaned up and headed home.

    The one good thing was that my chisels passed inspection. They need some flattening and truing on the bottom, but they were good enough to use in class, so one less purchase.

  • Attaching All Databases with PowerShell–Refactoring out Write-Host

    Someone posted a note to me on Twitter that noted that Write-Host is not recommended for your scripts. I checked the link to an MSDN blog on Write-Host Considered Harmful, and it made some sense. Basically it says that since Write-Host always goes to the console, any output sent through Write-Host can’t be consumed in a pipeline by other PoSh commandlets or processes.

    At first I thought, what does that have to do with my script? I’m really just noting status information. However, the more I thought about it, the more I realized that it’s a minor change, and who knows? Maybe I’ll chain this in some other process, or more importantly, maybe someone else will.

    Today I popped open the script in the PowerShell ISE and did this:

    posh_a

    That’s an easy fix. Just write the output to the pipeline, and if there’s nothing consuming output, I get it on the screen.

    I also refactored a bit more. I added a “Debug x:” line to each Write-Output command, with x replaced by the appropriate debug level I’d checked for. This way I know what debugging output is being returned to the calling screen.

    I also found a few lines that were just output, using “Attaching as…” code. I replaced those with Write-Output.

  • Sabbatical Day 3 – Cutting and Measuring

    My company, Red Gate software, has given me a 6 week sabbatical. I’m documenting the time with all the posts under a tag if you want to follow along.

    A late start yesterday, and not a ton getting done. I can see that with late nights at class that I’ll be posting a day late most of the time.

    My knee ached a bit yesterday, so I iced it when I got up. While that was going on, I re-watched part of the DVD to get prepped for what I needed to do. I realized that I needed at least 3, and perhaps 4 sawhorses. With the plans in hand, I went downstairs and got started.

    The first thing was to clear a little space. Some of the horse projects were in the way, so I moved things around and got the base on the teeter totter so I could work. That done, I then cut the ends and trimmed the 2x3s to get them ready for more sawhorses. I think I ended up using a piece for something else because I got 6 legs done. Not quite what I needed for 2 more sawhorses.

    Photo Jun 04, 1 03 00 PM

    With those six done, I worked on the stretchers next, using the spare 2x3s and also a spare 2×4. Cut and glued up.

    Photo Jun 04, 1 03 05 PM

    At this point, I was waiting a bit for glue, so I looked at the plans and then measured a spot in front of the garage. I hope to work next to the garage on most of this, and I can just do 22ft on the cement. I’m thinking the top will hang off the edge a touch, but I can put 4 sawhorses there to support the flagpole and also let me work at a reasonable  height. The idea of working on the ground, with my knee, does not appeal to me.

    Then a break. My oldest, Kyle, coming back from China and the little kids and I picked him up.

    Photo Jun 04, 3 04 31 PM

    After that, rain and wind. Too windy to do much and rainy outside.

    I did move one of the horse projects with the tractor so the space is clear. I also decided to do some measuring for the jig I’ll cut tomorrow. The jog is basically three pieces of plywood cut at 8ft and then some strips that screw on top. I had a space piece of 4×8 3/4” wood, so I measured the 3 8 ft strips. I dind’t have the space to move it with cars in the garage, but I did get the 3 strips marked along half the plywood.

    My plan today is to continue marking the strips and cut them out. I’ll have, when I’m done:

    • 3 8ft 8” strips for the base of the jog
    • 3 8 ft 1 1/2”  strips for the guides.

    These I’ll biscuit together and have a jig. I’ll also finish a sawhorse (or maybe two) and then I’ll have things relatively set up to start work.

    I’ve been wondering about support, and I think I’ll also cut some spare OSB and use a few 2x4s to support the jig on the plywood. That should prevent bowing and give me a decent quick “workbench” about 3ft in the air.