Author: way0utwest

  • Do We Need to Learn Linux?

    This week we got an announcement about SQL Server in Containers. Microsoft put out a blog noting that the beta program for SQL Server on Windows containers is suspended. They didn’t give any details, citing “ecosystem challenges and usage patterns” as a reason so suspend the program for the foreseeable future.

    Not only that, they noted that they were deleting docker hub images for express and developer, which makes sense from their perspective. They don’t want to support these. From the developer perspective, however, this will break and flow, pipelines, or even local scripts from developers. I understand the desire to delete images, but doing so without any notice doesn’t seem like fair treatment for people using them.

    This means that if you want to run SQL Server in a container in production, you likely have to use Linux. Windocks has an alternative with Windows, but Microsoft not supporting this is disappointing. I think that containers will be the future of database development, as they standardize and simplify how we can get an environment up and running. They also ensure consistent environments between developers, branches, automated systems and more. I think it’s going to take years, but that’s the direction where I think many of us will go over time. Those days of the Developer Edition will be gone, and instead we’ll just run a container.

    I’ve been using Linux containers for a few years, and they make it easy to quickly set up a clean environment with a new instance and a database or two. In that time, I’ve had to use a little Linux at times, but really, I start a container from a command line and then it acts like an instance I’ve installed. There isn’t a reason to actually do much in Linux. At least not for the core database stuff. Most of the ways that you’ll work with a Linux instance as a developer stay the same.

    For system administrators and DBAs, however, you might need to learn more. While setting up an instance on Linux isn’t hard, and easier in a container, if you are called on to work in bash, execute sudo, or some other Linux command, you might want some basic familiarity. Fortunately, you don’t need another workstation as Windows 10 includes a Windows Subsystem for Linux (WSL) that let’s you play around in Linux inside Windows 10.

    I think Linux is fascinating, and it’s evolved in many ways since I first saw it in 1991. Even if it’s not something you expect to use daily, spending a few hours learning how to navigate around and get things done is good for your mind, forcing you to learn a bit. The San Diego TIG did a series a few years ago, and you might go through those meetings or pick up a book and spend some time playing around with something new. You never know when this might be required in your career and a little familiarity could give you a jump start in the future.

    Do we need to learn Linux? No, but it’s not a bad idea to build a few skills in this area.

    Steve Jones

  • Fixing Report Visuals

    I’m not a visual designer, and I find that as I learn a bit more, many of my previous reports contain lots of silly mistakes. They’re often full of data, which I like, but which can be hard for others to follow and understand.

    I need to do better, and I do ask for help at times from friends. I also need to get a better process for evaluating if I’m doing a good job. I was thinking about that as I saw a makeover article from storytellingwithdata. It gives a short process of things to consider when building reports.

    With most of our software, we go through iterative approaches, either by ourselves, or with others, to try and build something that meets the needs or a client. Reports involve the same process, but I know that often the report process is my showing them something very raw and them asking for changes.

    What can be more time consuming is that the numbers are often the thing a client is concerned with early on. Are we calculating things correctly and including enough data. We might go back and forth quite a bit on this part of the report process.

    Once we agree, and they are happy, I think I’m done and can move on. However, often this is where they start to now care about the visual appear. The layout, colors, etc., and I am drawn into another report writing session, spending more time on something that is far, far less interesting than writing queries or other software code.

    I can see why tools like Power BI, which let the client mess with the visual design, have a lot of appeal. As a software developer, I’m out of the loop here, or more out of the loop. Let them decide they want a vertical or horizontal bar chart, or a stacked line chart. What do I care?

    I know visualization, layout, colors, etc. are important. They’re not enough of my job to care, but I do think someone needs to. I’m lucky in that my company has artists, so I can send over slides, reports, etc. and get hints about what I should change. It’s certainly something I wish I’d have had in the past at other jobs, since anything beyond a simple graph or table is well outside my wheelhouse.

    Steve Jones

  • Reimagining the Car with Electricity

    I ordered a Tesla Model Y awhile ago. I was a little anxious about the cost, but my wife calmed me down and I’m getting a little excited to have it come. Supposedly it will arrive in late Aug or early Sept. Now I need to do some garage cleanup and wiring to get ready.

    The other day I ran across this piece on Volvo’s “pure” EVs and their work on a new concept vehicle. It’s a neat idea, though without many details. Just a sketch, which looks a lot like what Tesla has done.

    To be fair, I don’t love the look of the Tesla. It’s streamlined and I’m sure low drag, but it lacks some of the visual appeal of the 911, the Corvette, or even a modern Lexus. I didn’t buy this car because it’s visually stunning. Instead, I bought it because it’s really a computer on wheels, with tech that’s well thought out and is updated in a DevOps style on a regular basis.

    I looked at a number of other electric cars. However, most of them are cars that have added batteries to them, with a lot of the rest of the car the same, and relatively little thought on how cars are changing. I also don’t trust most other manufacturers to update their software often, or well. I expect they’ll want you to visit a dealer, or they will make minor changes to correct bugs rather than introduce interesting new features, like “dog mode”. One other trick I saw recently was “Joe Mode”, which lowers the volume of alerts. My X5 does the opposite, raising volume when I raise the radio volume, which is incredibly annoying. It’s a design choice, which I hate. BMW wants to tell me how things should work often, whereas Tesla gives me more choice, at least, more choice I like.

    I’ve been watching the software for awhile. Glenn Berry has one, as well as a couple others. I’ve watched online, and I see very few issues with the software. Some, but not a lot. And they fix them. I don’t have a lot of confidence in other manufacturers that they’ll do as well, at least not initially. I saw this with my Prius. Toyota tech was way more solid on hybrids than others initially.

    I’ve been impressed in many ways with how Tesla has grown and adapted over time, truly reinventing how a car could work. I don’t love every decision, and I have no desire for a “yoke” instead of a wheel, but I do like where they are now. Ahead of other manufacturers.

    I expect this to change in a decade, but for now, I look forward to only worrying about brakes and tires, and not needing to mess with gas, oil, spark plugs, air filters, etc.

    I’m also going to start doing car updates again, with a comparison between my X5, which I could have kept, and how the Tesla compares.

  • Daily Coping 9 Jul 2021

    I started to add a daily coping tip to the SQLServerCentral newsletter and to the Community Circle, which is helping me deal with the issues in the world. I’m adding my responses for each day here. All my coping tips are under this tag. 

    Today’s tip is to shift your mood by doing something you really enjoy.

    It’s been a semi-quieter week this week. Coming off the holiday weekend, and with the summer time being somewhat slower, I was able to get work done without a lot of pressure on deadlines or out of band requests from other individuals.

    This week I took a break during lunch to swim. I enjoy it, and I hadn’t done much since I had COVID last year. However, with the warmer weather, and outdoor pools opening, I made it a point to get out and swim this week.