Tag: career

  • Goal Progress–Feb 2021

    I set goals at the beginning of the year, and I’m tracking my progress in these updates during 2021.

    As I look at goal progress for 2021, I’m going to follow a similar pattern as last year. I’ll give myself a current grade and report on overall progress in of the areas where I set goals.

    Current Grade: C

    I think I’m making some progress, but perhaps not as much as I’d like.

    Reading

    The goal was 4 books (3 non-fiction, 1 tech). Here’s the current progress:

    Technical Skills

    I’m solving the Advent of Code three times.  I’m also studying for certification.

    • Certification –  AZ-900 – 5%
    • Certification – DP-200 – 0%
    • Skills – T-SQL – 2020 Advent of Code – 4/25
    • Skills – Python – 2020 Advent of Code – 4/25
    • Skills – PowerShell – 2020 Advent of Code – 3/25
    • Skills – TBD

    Projects

    I had a few projects for myself. Most of January was supporting SQL Memorial as well as doing some SQL Saturday/Data Saturday stuff. So far things appear to be working fine.

    • Support events: submitted and approved some PRs.
    • Speak at the 3 local user groups, at least one live presentation
    • Help organize a Denver/Colorado event, live or virtual
    • Complete my Power BI Volleyball report – I know lots of kids will use this, so I need to get it done – 20%
    • SQL Memorial – 80%
  • 2020 Advent of Code–Day 3

    This series looks at the Advent of Code challenges.

    As one of my goals, I’m working through challenges. This post looks at day 3.

    Part 1

    Day 3 was tough. The explanation isn’t great, at least, I didn’t get it at first. Essentially you have a map, and then you have some slope. The first part has a slope of right 3, down 1. If you move, assuming the upper left is (1,1), the next spot is 2, 4. That’s if you count going down as positive.

    Here’s the map:

    ..##.......
    #...#...#..
    .#....#..#.
    ..#.#...#.#
    .#...##..#.
    ..#.##.....
    .#.#.#....#
    .#........#
    #.##...#...
    #...##....#
    .#..#...#.#

    If I count each space, then there is a period (.) in this (2,4) space. If it’s a tree, then there is a hash (#) there. We are trying to count trees before we hit bottom.

    The trick I missed is that the map we’ve given repeats. It repeats to the right as often as needed to get to the bottom.

    This is really a coordinate problem, counting each down as we move, and repeating the map. The trick often in a short width here is to do the math to wrap around from the right to left if you run out of room.

    In SQL, I used a loop. I didn’t spend a ton of time, but couldn’t see a good way to avoid this as I need this to be readable, and I need this to keep working through the map. Here’s the code:

    WHILE @currentrow <= @rows
      BEGIN
        SELECT @currentcol += @right
        IF @currentcol > @width
          SELECT @currentcol = @currentcol - @width
        SELECT @currentrow += @down;

       SELECT @trees = @trees + CASE
           WHEN SUBSTRING(dataval, @currentcol, 1) = '#' THEN 1
           ELSE 0
        end
         FROM day3
         WHERE rowkey = @currentrow
      END
    SELECT @trees AS TreeCount

    I move, count the value if there’s as tree, and then continue moving through the next rows. The WHERE clause orients the rows.

    It worked. I go the right answer here.

    Part 2

    In part 2, this changes to checking a number of sloops and then multiplying the results together. In terms of my code, this is really a repetitive way of running the code again. I could have used different variables and checked multiple slopes at once, but I was busy.

    In python, I did something similar. I essentially calculated the next X and Y position, and then looped through the file. Each time the Y matched the current row, I checked for the matching #. If it matched, increment.

    Once I matched the correct Y, I incremented X and Y.

  • Being Professional

    I often write about data professionals, meaning those people who work with data and are paid to do so. Certainly some of you might be amateurs, doing data work as a hobby, but most of the people that visit SQLServerCentral work with data as a part of their career.

    The second part of that title is the “professional” part. What does it mean to be a professional? I saw some thoughts from Randolph West recently that caught my eye. He talks about treating others as you’d like to be treated, which is a good place to start for most of us.

    However, there are other considerations for being a professional in Internet age. Randolph covers a few, in terms of respecting others’ form of address, their time, and their own struggles. The world of work has blurred with personal time, especially when most of us are not in the same physical location, and our “environment” might include people that don’t actually work for the same organization.

    I’ll add a couple more items here that I think are important to being a professional these days. While we do understand that children, pets, and more might interrupt meetings, understand that security and privacy for our organization (and its data) is important. Lock your machines, watch what you share out loud, and caution your “co-workers” against sharing things that might be secure or sensitive.

    In line with that, be aware that you might accidentally share something from your personal life on a video call. While you don’t need to wear a suit and tie, you might ensure that you are not wearing something inappropriate. Certainly there is a running joke that people at home might not wear pants. Whether you do or not, be aware that standing up without pants wouldn’t be very respectful. It might also be career limiting.

    As we continue to move forward in work and life, with the challenges of both always and never being at work, for some or all of us, be professional to each other likely means being respectful, understanding, appreciative, and sensitive to others.

    It’s not my world; it’s not your world. It’s our world.

    Steve Jones

    Listen to the podcast at Libsyn, Stitcher, Spotify, or iTunes.

  • The PASS Pro Videos are Live

    The PASS Pro program was an interesting educational opportunity that came out last year. A number of people subscribed, including me. I did this more to support the org than for the content, but I did want to watch the videos and learn some new skills.

    When Redgate Software purchased the assets, this was one of the first things we wanted to release. The process took a couple weeks, but you can now access the materials for free.

    All the courses were added to the Redgate University, as this was the easiest way to organize them on our side. You watch each of these for free:

    You can now work through these courses, without the quiz gates, and just view the material.

    I do hope we get the quizzes live, but for now, you can access these for free.