<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Alan Wilhelm on Medium]]></title>
        <description><![CDATA[Stories by Alan Wilhelm on Medium]]></description>
        <link>https://medium.com/@vilhelm?source=rss-8970c6dc7f4c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*hTaYP3EKxDSgedm4.jpg</url>
            <title>Stories by Alan Wilhelm on Medium</title>
            <link>https://medium.com/@vilhelm?source=rss-8970c6dc7f4c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 16:43:17 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vilhelm/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to CSS in the 2016]]></title>
            <link>https://medium.com/@vilhelm/how-i-am-going-to-css-in-2016-ae21ea37f8a5?source=rss-8970c6dc7f4c------2</link>
            <guid isPermaLink="false">https://medium.com/p/ae21ea37f8a5</guid>
            <category><![CDATA[css]]></category>
            <category><![CDATA[webpack]]></category>
            <category><![CDATA[front-end-development]]></category>
            <dc:creator><![CDATA[Alan Wilhelm]]></dc:creator>
            <pubDate>Mon, 09 May 2016 06:33:10 GMT</pubDate>
            <atom:updated>2016-05-19T07:28:56.284Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*zky-wt2n4N42G0--OddcfQ.png" /></figure><p>Starting a new project can be excruciating. I always feel obligated to spend several hours comparing different tools and methods until I arrive at my utopian stack of the week. I love all the #shiny-new-things, but in this instance my decisions are influenced primarily by real life concerns such as developer accessibility, project/toolset stability, build system integration etc.</p><p><strong>We are only talking about css/sass/scss styles here</strong>. The index.js file referenced below serves only as an entry point for our build tool of the week, Webpack. This could just as well be Gulp, Grunt, Brunch etc.. The goal is to end up with a clean production css file that can be used with any front end framework such as Ember, Angular, Elm etc.. A few more notes about our style build:</p><ul><li>The result should be a single optimized, minified css file — style.css</li><li>A Sass/CSS-focused front-end developer should be presented with easy to understand layout and component-based abstractions and a file structure to match.</li><li>Developer amenities like auto-compile+browser refresh on save when editing files are a plus — these are first class features in Webpack as well as most other major front-end build tools.</li></ul><p>Our journey to a concatenated, super-minified, autoprefixed style.css file will start with a series of layout, theme and page level css/scss files in the separation-of-concerns style. For styles tied directly to components in React/Elm etc, optimize the file structure for developer convenience.<strong> </strong>We will keep all of our style source code for layout as well as components in src/styles. Some well respected members of the css community keep the component level css source code in a directory with the Javascript, but technically speaking they are wrong and that is super dumb.</p><p><strong>J/K. These are completely arbitrary abstractions that I am using because they seem practical enough. YMMV. For these architectural transgressions I offer the following concession:</strong></p><p><em>Lately, there is growing support in the Elm and React communities to include styles directly in your component code, I mean embedded directly in the javascript or elm modules, usually in a super lightweight DSL. The argument for this is developer convenience and centralized location of concerns. The different frameworks attempt to achieve this goal in different ways. React will define styles as javascript and implement them through DOM manipulation, Vanilla Elm will create css from Elm code and add it inline to the generated html. Another interesting project is </em><a href="https://github.com/rtfeldman/elm-css"><em>elm-css</em></a><em> which allows you to write elm code and generate a css file much like the elm html/javascript compiler does for those targets. We are using a hybrid, scss include based approach for reasons detailed below.</em></p><p>In our specific workflow, with our specific team, and because css is actually still a thing, it’s beneficial to for us to keep our style source code decoupled from javascript and html. We want to define some of the top level layout, theme and utility styles in a site-level abstraction but we still need to be able to organize and reason about code as components. All of this should fit nicely into a complete javascript/html/css/asset build pipeline. Everyone wants this. We Can Haz.</p><p>Having used most of the popular competing front-end build tools such as Grunt, Gulp, Bunch etc., I’m comfortable saying Webpack provides at least the following benefits.</p><p>— It has wide adoption in the front-end developer community</p><p>— It is used comfortably and widely in production settings.</p><p>— It allows for flexible cherry-picking of plugins to create a very personalized front-end build pipeline.</p><p>— It includes all the auto-recompily live-refreshy tooling things for maximum developer happiness.</p><p>— Has very straight-forward PostCss integration. This is a requirement mostly because Autoprefixer is awesome, but every css build should, at some point, be represented as an Abstract Syntax Tree right?</p><p>Oh.. and it was very easy to create a simple, but fairly complete configuration that handled this <strong>style.css</strong> target as well as managing transpiling and compiling of Elm &amp; ES6/7/201x source, image preprocessing, fonts, index file rewriting for asset fingerprinting and more, but let’s focus on the css part for now.</p><p>The css build pipeline can be described as a series of steps which results in a single optimized <strong>style.css</strong> file that is suitable for deployment to production.</p><p>The process to getting there from your immaculately organized scss source code goes something like:</p><p>-&gt; webpack loads index.js (entry point where app.scss is made available to webpack through css-loader)</p><p>-&gt; webpack loads imports defined in app.scss. These are includes for css/grid/base frameworks, normalize.css, and our custom/site-specific <strong>component</strong>, <strong>layout</strong> and <strong>theme</strong> styles etc.</p><p>-&gt; sass compiler compiles all scss files to css (libsass via webpack sass loader)</p><p>-&gt; <strong>| enter postcss | </strong>autoprefixer, minifier, cssnano optimizations)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/582/1*coa--HqyBxYg1FL5L9_cGA.png" /></figure><p>-&gt; |<strong>exit postcss| </strong>output file (style.css)</p><p>-&gt; style.css is fingerprinted and written to index.html with new checksum/filename for cache-busting on production release.</p><p>This is a starting point but it seems flexible enough and delivers a good result.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/660/1*nyuXPIqs_4QPCqK3LkWnww.png" /></figure><p>Next: Managing image and font assets for a production environment with Webpack.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ae21ea37f8a5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DevOps.. SysAdmin.. Paging SysOp..1..2..3]]></title>
            <link>https://medium.com/@vilhelm/devops-is-a-meaningless-term-2df256ddbccf?source=rss-8970c6dc7f4c------2</link>
            <guid isPermaLink="false">https://medium.com/p/2df256ddbccf</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Alan Wilhelm]]></dc:creator>
            <pubDate>Tue, 08 Mar 2016 07:40:43 GMT</pubDate>
            <atom:updated>2016-03-14T16:27:04.386Z</atom:updated>
            <content:encoded><![CDATA[<p>Ok that was a bit rash. It means a lot of things but no-one can agree what exactly. Some people think it is a new way to pronounce SysAdmin. I prefer to think of it as a role to be filled by one who possesses the ability to design, implement and manage a complete end-to-end software development and deployment lifecycle, tailored to the present and future goals of a specific project or company. In reality this person may be expected to configure and manage CI pipelines, design and ensure performance of production platforms, be intimately familiar with managing various types of databases, caches, servers, service providers, Hadoop clusters and more. They must manage uptime, disaster prevention and recovery, monitoring and resource management, all while increasingly automating oneself into redundancy. Sound fun? It can be. However, <strong>it does not come with a list of specific programming languages, protocols or applications</strong> one must be familiar with although some are clearly more prevalent than others for this type of work. Other than the expected level of familiarity with configuration management concepts and tools (chef, puppet, ansible, salt…) there really is no blueprint as there is for a clearly defined role such as a “Ruby on Rails developer”. It’s fair to say that configuration management is a large part of the expected skillset of a candidate for a “DevOps” position but it’s is a comparatively small part in practice.</p><p>The perception of a “DevOps engineer” seems to range from “The dude we used to call the sysadmin” to “Cloud-dwelling wizard of all things unknown to mortals”(Basic cloud configuration and Linux administration, possibly using Chef and/or the AWS API).</p><p>The more informed companies and teams I have worked with are looking for someone to <strong>design, implement and educate </strong>the organization on a clearly defined software delivery pipeline. In my view this practice should have a view of the entire software development lifecycle. This can include everything from creating processes to make sure the development workstation environments are sufficiently compatible with staging and production environments to writing chef/puppet scripts to stand up a production environment from scratch. You are generally expected to be an expert at Linux system administration as DevOps has largely replaced the “SysAdmin” role. You are the master of htop and inode availability. That means the buck stops with you when literally <strong>anything that nobody else can figure out </strong>goes wrong with the server farm/cloud platform/database /redis cache/insert exotic tech here. I think being multifaceted plays a big part in being successful in this role. In fact I was once told by a hiring manager that they were looking for someone with the characteristics of a swiss-army knife. As someone that is tasked with hiring a team I find it far more challenging to find a suitable DevOps candidate than say, a Python or Java Developer. In addition, in small to midsize companies your varied and disparate skillset is quite a bit more likely to be used which can lead to interesting opportunities. Whether or not you should make those abilities known in your particular environment may be up for debate, but remember, just because you may have been initially hired to babysit servers, if you can stand up a REST API, automate workstation configuration with Vagrant or update your companies front-end code to ES2015 syntax someone will probably ask you to.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2df256ddbccf" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>