I watched at least six hours of training videos covering DSC last night during the election coverage. DSC fascinates me. Originally, I was trying to solve a problem we have at Stark, but at this point, I’m having difficulting not thinking about how/where I can use DSC.
At Stark, we have a few dozen machines performing various functions. More than a few of those machines serve multiple roles depending on the project they’re needed in. Sometimes they’re servers. Sometimes they’re simply connected to a TV to show information from our system. But the number of roles we have for those computers is well defined. The problem comes when we have to transition a machine from one project to another, and, thus, one role to another. Currently, it’s a tedious, time-consuming effort. DSC totally solves that problem.
Separately, If I were to pursue the idea of running my own business for really reals, I love the idea of not having a domain controller wherein ever machine must be connected to that DC and conform to whatever specification that DC requires. Imagine hiring a contractor who works on multiple jobs and brings his machine… and saying, “Hey… add this DSC configuration to your LCM and you’ll be able to work in our environment just like everyone else.” DSC enables that to happen. No more evil IT guy with this oversized ban hammer.
It works at home, too. I like to think I’ve gotten pretty good over the years about formatting my computer on a Saturday morning and manually going through “the procedure” to be able to use it again on Monday. It doesn’t happen often, but sometimes a good ole paving is exactly what the doctor ordered. Do I want to spend the weekend formatting my computer? No. Do I think DSC could largely eliminate that frustration? Certainly.
I may or may not have even come up with a pet project I can do on the side to bring in the next million George Washingtons.
Lest I mention that I’m also creating DSC and Docker cocktail… I totes want to write something about my experience with Docker soon, but this DSC post is already longer than anticipated.
I really just couldn’t go another day without putting something fresh on this blasted website.
Was doing some work today that just happened to involve some very basic, but very power regular expressions, and decided to make a quick, unscripted video to demonstrate a few techniques I use all the time. I hope benefits someone out there who doesn’t realize the immense power that comes with understanding a few simple regular expressions.
(If you are a developer for a health insurance company looking for details on this project, you’ll find that towards the bottom)
Let’s face it, some code is more fun than others. Especially when you get to create a brand new project from scratch. For me, it’s even more fun when there’s no UI to make “pretty”. And that’s exactly what I got to write over the past week.
It was a simple project with a terrific opportunity to write some amazing code: Take some CSV files and convert them to the format outlined here. Add bonus points for going well beyond the validation requirements in the spec.
In the end, there were 1764 lines of code, with 76 passing unit tests achieving over 98% code coverage. There’s also zero duplicate code and, for me, at least, some decent metrics upon analysis. …Continue reading “Fun code” [Fun code]
I’ve made a lot of changes to CHK since my first post a couple of weeks ago. CHK now works much better and is much more powerful. Let’s just say this thing turned out to be a much bigger project than I originally anticipated, and I learned a lot in the process.