{"title":"Hungry Admin","link":[{"@attributes":{"href":"https:\/\/hungryadmin.com\/","rel":"alternate"}},{"@attributes":{"href":"https:\/\/hungryadmin.com\/feeds\/all.atom.xml","rel":"self"}}],"id":"https:\/\/hungryadmin.com\/","updated":"2021-02-03T00:00:00+00:00","entry":[{"title":"Building the ultimate 401(k) for your company","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/building-the-ultimate-401k-for-your-company.html","rel":"alternate"}},"published":"2021-02-03T00:00:00+00:00","updated":"2021-02-03T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2021-02-03:\/building-the-ultimate-401k-for-your-company.html","summary":"<p>Let's build the best 401(k) any potential employee has ever seen while keeping it economically viable for employers<\/p>","content":"<p>Welcome to the fifth and final part in my series about creating the best 401(k) any potential employee has ever seen. If you haven't already done so please read <a href=\"https:\/\/hungryadmin.com\/every-company-should-have-a-401k.html\">part 1<\/a>, <a href=\"https:\/\/hungryadmin.com\/your-company-should-be-matching-401k-contributions.html\">part 2<\/a>, <a href=\"https:\/\/hungryadmin.com\/a-safe-harbor-401k-is-worth-the-expense.html\">part 3<\/a>, and <a href=\"https:\/\/hungryadmin.com\/true-up-or-stress-out-employees-with-your-401k-offering.html\">part 4<\/a>. While you can skim these you're going to have a much better understanding of concepts by reading those first. In this final part there's going to be discussion of what to look out for, what to prioritize, and how to build the ultimate 401(k).<\/p>\n<p>Before deciding on any 401(k) provider it's important to discuss benefits providers. Many benefits providers are going to try and sell employers some sort of all in one package in the favor of ease. They'll talk about incorporating payroll, health insurance, and 401(k) all in one. Be extremely wary of any sort of provider options like this. They're usually getting paid by these companies and while employers have a fiduciary duty to the employees these providers do not. Any company involved with organizations like Blackrock, Transamerica, etc. should be avoided.<\/p>\n<p>When looking at funds employers should focus on those that are not actively managed. Actively managed funds are a scam (high fees in the range of 0.5% which adds up) and even when they outperform the market (rare) their fees are very high. Employers should look primarily at companies providing index funds or target date funds supplied by large investment firms such as Fidelity (FSKAX, FZROX, FZILX, etc.) or Vanguard (VTSAX, VTIAX, VFIAX, etc.) which both provide excellent funds that track the market while having low fees in the 0.10% to 0.00% range. Both Fidelity and Vanguard funds are great choices and good providers will make one or the other available. If Vanguard and Fidelity don't make up the majority of the available funds those providers should be excluded.<\/p>\n<p>Setting up a 401(k) outside of a benefits provider is really easy and the best companies will integrate with your payroll systems resulting in a nearly seamless process minus employees having a second login which is good for security any way.<\/p>\n<p>Now that funds and fees have been discussed it's time to talk about what makes an incredible 401(k):<\/p>\n<ul>\n<li>Having a 401(k) at all is a massive benefit for employees and it should be obvious this is first on the list, it's the minimal requirement and a huge red flag if your company doesn't have one.<\/li>\n<li>A 401(k) that has excellent funds available as discussed above.<\/li>\n<li>A 401(k) that is easy to contribute a direct dollar value to. It may seem silly but there are providers that only allow a paycheck percentage which is annoying for employees and creates unnecessary management.<\/li>\n<li>401(k) matching. Remember that this is a tax write-off at the end of the year, if you're offering a 401(k) there's no reason you shouldn't be offering a match even if your company isn't profitable. The only reason you should not be providing one is if you can't afford it on the payroll.<\/li>\n<li>A safe harbor 401(k). This is the natural extension of 401(k) matching and every company with a 401(k) and matching should be using a safe harbor 401(k).<\/li>\n<li>401(k) matching that goes above the minimum safe harbor nonelective requirement of 3%. If your company can afford this it's free money and there is no reason you shouldn't be offering 5%. If you really want your company to shine start offering 10% or more. There is no reason not to do this unless you can't afford it because of the tax write off at the end of the year. It's a major benefit for employees that will contribute positively to job satisfaction while costing nothing on a yearly scale.<\/li>\n<li>A best in class true-up. A true-up at the end of the year is the bare minimum requirement, true-up on every paycheck whether the employee contributes or not, and true-up earlier in the year when your employee maxes their share if you can afford it.<\/li>\n<\/ul>\n<p>Now let's look at a few cost scenarios. Most of the 401(k) start up companies have moved to SaaS style offerings, so employers will be paying a flat fee of between $40 and $150 a month, and then $6-$8 per employee. In this sort of scenario a start up with 50 employees would be paying between $480 and $1,800 per year in flat fees, and then between $3,600 and $4,800 per year for their employee cost, so somewhere between $4,200 on the low end, and $6,600 on the high end. This is the cost for the entire year for every employee at the company and it's ridiculously cheap.<\/p>\n<p>Obviously these costs don't include the matching but that's strictly a payroll related problem for month to month versus end of the year since all of the matched money an employer pays (up to the limits previously discussed) will come back to them at tax time. If the people in charge of HR, recruitment, and finance aren't getting on board with a great 401(k) option now is the time. It's easier than ever before to not only provide this benefit to employees but make it better than almost every other 401(k) out there.<\/p>\n<p>Do your fiduciary duty as an employer and make sure your employees have the best possible options when it comes to a 401(k). Make it something you can brag about to potential employees and grab their interest with your attention to detail in this regard.<\/p>\n<p>This is the final part of a 5 part series talking about making a 401(k) so good employees won't believe that it's real and employers won't believe how cheap it is to implement.<\/p>\n<p><a href=\"https:\/\/hungryadmin.com\/every-company-should-have-a-401k.html\">Part 1: Every company should have a 401(k)<\/a><\/p>\n<p><a href=\"https:\/\/hungryadmin.com\/your-company-should-be-matching-401k-contributions.html\">Part 2: Your company should be matching 401(k) contributions<\/a><\/p>\n<p><a href=\"https:\/\/hungryadmin.com\/a-safe-harbor-401k-is-worth-the-expense.html\">Part\u00a03:\u00a0A\u00a0safe\u00a0harbor\u00a0401(k)\u00a0is\u00a0worth\u00a0the\u00a0expense<\/a><\/p>\n<p><a href=\"https:\/\/hungryadmin.com\/true-up-or-stress-out-employees-with-your-401k-offering.html\">Part 4: True-up or stress out employees with your 401(k) offering<\/a><\/p>\n<p><a href=\"https:\/\/hungryadmin.com\/building-the-ultimate-401k-for-your-company.html\">Part 5: Building the ultimate 401(k) for your company<\/a><\/p>","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"work"}},{"@attributes":{"term":"retirement"}}]},{"title":"GitHub now supports video so let's use it","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/github-now-supports-video-so-lets-use-it.html","rel":"alternate"}},"published":"2021-02-03T00:00:00+00:00","updated":"2021-02-03T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2021-02-03:\/github-now-supports-video-so-lets-use-it.html","summary":"<p>GitHub has been supporting videos for 2 months but their adoption is still low when they're superior to animated gifs in every way<\/p>","content":"<p>In mid-December <a href=\"https:\/\/github.blog\/changelog\/2020-12-16-video-upload-public-beta\/\">GitHub released support for <code>mp4<\/code> and <code>mov<\/code> uploads<\/a>. By now (early February) most repos have full access but I don't see a ton of people using videos, they're still uploading animated gifs.<\/p>\n<p>With this blog post I want to try and explain the merits of video over an animated gif both from a technical aspect and a usability aspect. I'll also talk a bit about how you can start creating videos instead of animated gifs whether you're on Linux, Mac, or Windows.<\/p>\n<p>Let's start by talking about the basic technical aspects. I'm not going to get in to the gritty specifics but it's important to understand that animated gifs that are similar quality to a video are almost always larger. The reasoning behind this is that an animated gif is a collection of still images like a flip book. Each image has to be stored, and smooth animated gifs will operate at 24 frames per second. This means that a 10 second animated gif has 240 individual images which are stored and often times poorly compressed or not compressed at all. There are also other issues like the 256 color limitation for gifs. You can read more about animated gifs and gifs in general on the very detailed <a href=\"https:\/\/en.wikipedia.org\/wiki\/GIF#Animated_GIF\">Wikipedia page<\/a> if you're interested in learning more.<\/p>\n<p>Then we have <code>mp4<\/code> and <code>mov<\/code> files. The technical difference between them isn't that significant but mov is a proprietary Apple format while mp4 is not. Past that it's not something the end user needs to be particularly concerned about and GitHub is supporting both so it doesn't really matter. In terms of how it operates imagine it as taking the first frame (or image) and having a snapshot of that, then a certain number of the following frames are diffs of the original image. This means the images don't have to be stored individually, simply the data that says what about frame 1 is different from frame 2, frame 3 from frame 2, etc. After a certain number of these frame diffs there will be another key frame which has all of the data to ensure things aren't too out of sync with what is expected. They also don't have the same color limitations that gifs have.<\/p>\n<p>Just looking at the difference in how they operate technically you can see why <code>mp4<\/code> and <code>mov<\/code> files have an advantage over animated gifs. Having to store less information to understand what is occurring means they're smaller, and because of their higher color count they look more true to life and accurate which can be critical when dealing with UX or other design related issues.<\/p>\n<p>This then takes us to the web where <code>mp4<\/code> and <code>mov<\/code> files absolutely destroy animated gifs in terms of functionality. One of the biggest features of the video formats is that when properly configured they don't require the end user to fully download the file before it can start playing, this is not the case with animated gifs. Like any other image format (and gif is an image format, not a video format) gifs have to be downloaded entirely before they can be played. Video formats can easily be configured to allow for streaming playback which is really important for both usability and people who may be on slower internet connections.<\/p>\n<p>This then takes us to the other big functionality benefits which people have come to accept losing because animated gifs were the only option on GitHub until recently. The main ones are the ability to scrub and replay sections, the ability to see how long the video is, expanding the video, and audio.<\/p>\n<p>Let's <a href=\"https:\/\/github.com\/Kong\/insomnia\/issues\/3041\">look at an issue on GitHub that I created recently<\/a> to show how video can enhance issue clarity and why a video is better than an animated gif. The video in that issue was recorded on a 1440p display (application capture only and it's scaled down to not quite 1920x1080), and it's 25 seconds long. Before compression it was 7.09MB and after compression it is 1.41MB. It's also web optimized which means that the video can start playing almost immediately before the user has downloaded all of it which isn't possible with an animated gif.<\/p>\n<p>While all of these details are nice to know, it's the usability that makes video vastly superior to animated gifs. The video doesn't start playing automatically which is a huge win over animated gifs. What happens if the animated gif is partially cut off when the person opens the issue, or they're viewing it on a smaller display? The animated gif will continue to play and you have no idea how long it is. Is the gif 5 seconds long or 50 seconds long? You'll just have to wait and see. With a video all of these issues are addressed.<\/p>\n<p>The video also doesn't start playing until you tell it to. You can maximize it to see better (great for accessibility), and most importantly you can scrub or replay specific parts to your heart's content. As a maintainer videos are much faster to review and look at than animated gifs. The lack of waiting for the animated gif to finish loading or looping to see what happens with an interaction is fantastic. It also means I can easily capture a specific part of the video myself without having to wait for the animated gif to start over<\/p>\n<p>Hopefully these examples of usability improvements have convinced you that videos are vastly superior to animated gifs. No one would use Youtube or Vimeo if you had to wait to download the entire file, couldn't jump around to different timestamps, couldn't scrub forward or backward, and you had no idea how long it was. If a site operated this way people would be up in arms over how bad it is. Why should we treat our medium any different?<\/p>\n<p>Now the big question is how do you create these videos?<\/p>\n<p>For those of you using Macs the tool chain is exceptionally easy. Use <a href=\"https:\/\/support.apple.com\/en-us\/HT208721\">the screenshot toolbar<\/a> (talk about a bad name for something that supports video too) via <code>shift+cmd+5<\/code> and select one of the video options then compress the video with the open source tool <a href=\"https:\/\/handbrake.fr\/\">Handbrake<\/a> using one of the \"web\" presets. That's it. Your video is now ready to be sent over to GitHub for everyone to enjoy. You can of course tweak your Handbrake settings, but the basic web settings with a decent resolution will handle 99% of cases.<\/p>\n<p>For Windows and Linux users the capture process is slightly different but only takes a few minutes to set up. The easiest option is to use <a href=\"https:\/\/obsproject.com\/\">OBS<\/a> and the <a href=\"https:\/\/obsproject.com\/wiki\/Sources-Guide#window-capture\">Window Capture mode<\/a> then send that through the same process in <a href=\"https:\/\/handbrake.fr\/\">Handbrake<\/a> using one of the \"web\" presets for compression. If you're not familiar with OBS it's a tool used primarily for live streaming but it's also great for local recording and specifically application capture (though you can also do desktop capture). The <a href=\"https:\/\/obsproject.com\/wiki\/Sources-Guide\">Sources Guide<\/a> documentation provided by OBS has instructions on how to create new sources, and setting up a window source takes about 30 seconds then you just click \"Start Recording\" and go. OBS also supports hotkeys which makes it easy to avoid any sort of delay at the beginning of your recording while you switch applications.<\/p>\n<p>I hope this has been helpful in giving people the support they may need to start moving on from animated gifs to video. You can do it!<\/p>","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"github"}},{"@attributes":{"term":"open source"}},{"@attributes":{"term":"workflow"}}]},{"title":"True-up or stress out employees with your 401(k) offering","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/true-up-or-stress-out-employees-with-your-401k-offering.html","rel":"alternate"}},"published":"2021-01-25T00:00:00+00:00","updated":"2021-01-25T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2021-01-25:\/true-up-or-stress-out-employees-with-your-401k-offering.html","summary":"<p>There are many options when it comes to a true-up for a 401(k) but they aren't all created equally<\/p>","content":"<p>Welcome to the third part in my series about creating the best 401(k) any potential employee has ever seen. If you haven't already done so please read <a href=\"https:\/\/hungryadmin.com\/every-company-should-have-a-401k.html\">part 1<\/a>, <a href=\"https:\/\/hungryadmin.com\/your-company-should-be-matching-401k-contributions.html\">part 2<\/a>, and <a href=\"https:\/\/hungryadmin.com\/a-safe-harbor-401k-is-worth-the-expense.html\">part 3<\/a>. You should be familiar with those concepts and in a mindset that you're providing them before continuing to this portion.<\/p>\n<p>Once you're providing a safe harbor 401(k) and matching contributions the next step is to provide employees with the assurance that no matter what happens with their 401(k) contributions throughout the year as long as they max their contribution you will max the matching contribution.<\/p>\n<p>This may seem obvious but very few employers handle a true-up correctly and even fewer understand why it causes stress for their employees. Let's look at some examples to help establish why not providing a true-up is stressful for employees.<\/p>\n<p>Say an employer matches 5% of an employee's total salary. They're making $100,000 so the  401k match should be $5,000. It may seem obvious but depending on how payroll works this may cause employee strife. This is where the true-up comes in to play. Suppose an employee is contributing $1,625 per month (a total of 19500 per year, the current 401(k) limit). Doing so would mean on every paycheck you match 5% of their per paycheck salary, fulfilling the employer's end of the bargain to contribute $5,000 total by the end of the year.<\/p>\n<p>This makes sense until you start thinking about how the employee may change their contribution. What happens if they over contribute early in the year and have to reduce their contributions later? As long as they contribute 5% of their paycheck the match will stand, but what if they have to reduce to 4%? In situations where a true-up does not exist they would simply lose that 1%. It may not seem significant but it may affect multiple paychecks or even multiple months if the employee contributed too much too early in the year.<\/p>\n<p>It also negatively impacts employees that prefer to max their 401(k) early in the year to take advantage of longer term growth on their money. What happens if they've maxed out their 401(k) in the first 6 months of the year? Without a true-up that 5% match is now reduced to 2.5% in most situations because the max per paycheck a company will match is 5%. This is essentially an employer sponsored punishment for an employee caring about their financial future.<\/p>\n<p>This is a huge negative and a source of stress for various reasons. It means employees have to make sure their contribution calculation is correct for every paycheck or they risk losing out on the match. It means they can't front load their 401(k) for the year if they desire. It also means that if raises occur mid-year employees will have to remember to check their contribution to make sure it didn't increase or they may miss out on the match.<\/p>\n<p>The true-up resolves all of these issues and it exists in several different forms which will be discussed. A true-up ensures that no matter what happens with an employee's contribution they get the full 5% match for the year. Since this doesn't actually cost employers any more to do than matching contributions already does and it reduces what employees have to worry about it's a clear win for both employers and employees. Unfortunately many companies still do not perform a true-up and none of the reasons I've ever heard were valid or worthwhile. It boils down to companies caring more about doing a little paperwork than they do about reducing mental distractions employees have to deal with.<\/p>\n<p>Now that you understand how important a true-up is let's look at the various types of true-up. Some are far superior to others.<\/p>\n<p>The first true-up method is to finalize the match with the final paycheck of the year. Say an employee contributes $19,500 in the first 6 months of the year which means they only got half of the match. Under this system you won't match anything until their final paycheck of the year where you will then pay the other half. This is the old school way of handling a true-up and by far the worst. It means companies have a large expense at the end of the year if many employees are doing this, employees will miss out on their money growing for 6 months, and if an employee leaves the company they won't get the matching 401(k) contributions that they should have. The only positive of this method is that the employer is providing a true-up.<\/p>\n<p>The second true-up method which has become much more common in the past few years is matching every paycheck as long as the employee has made their contributions. In our example above this would mean at the 6 month mark when the employee has contributed $19,500 the employer continues to match 5% on every paycheck until the end of the year because the employee has already made the equivalent of their contributions on those paychecks, they simply did so early. This method is much better than the end of the year contribution as it ensures employees see the match every paycheck. There's no surprise accounting at the end of the year and employees are paid the match even if they leave before the end of the year.<\/p>\n<p>The third true-up option is one that is ideal for employees who are front loading their 401(k) every year. This is usually a lower number of employees so while this method is appreciated it's not typical. In this situation let's say an employee contributes $19,500 within the first 2 months of the year. In this scenario once they have hit the max contribution the company immediately pays their matching percentage on that paycheck with no additional contributions the rest of the year. This is the ideal scenario as it combines the second method with showing additional care and consideration for highly compensated employees who are financially literate and trying to put their money to work even faster.<\/p>\n<p>The three options above are the most regularly encountered 401(k) true-up scenarios with number 3 being very rare. Option 2 is not as typical but it's the best for everyone involved and it's strange not to see it more since it benefits employees greatly and reduces the end of the year burden on companies. Any employer trying to recruit top talent should consider option 2 as the minimum offering.<\/p>\n<p>No matter which true-up decision you make there is an additional consideration to make and that's for employees who simply cannot afford to contribute 5% of their paycheck. If you aren't performing automatic enrollment of your safe harbor 401(k) then certain rules don't apply but it's worth considering that no matter what amount an employee contributes that the employer will contribute the maximum value (5% in this case). It's a minimal cost and a big boon for employees at all levels.<\/p>\n<p>Bettering your true-up offering may give you the edge over other employers and being able to answer questions related to this topic is crucial. Employees are becoming more financially literate so it's important that companies are as well.<\/p>\n<p>This is part 4 of a 5 part series talking about making a 401(k) so good employees won't believe that it's real and employers won't believe how cheap it is to implement.<\/p>\n<p><a href=\"https:\/\/hungryadmin.com\/every-company-should-have-a-401k.html\">Part 1: Every company should have a 401(k)<\/a><\/p>\n<p><a href=\"https:\/\/hungryadmin.com\/your-company-should-be-matching-401k-contributions.html\">Part 2: Your company should be matching 401(k) contributions<\/a><\/p>\n<p><a href=\"https:\/\/hungryadmin.com\/a-safe-harbor-401k-is-worth-the-expense.html\">Part\u00a03:\u00a0A\u00a0safe\u00a0harbor\u00a0401(k)\u00a0is\u00a0worth\u00a0the\u00a0expense<\/a><\/p>\n<p><a href=\"https:\/\/hungryadmin.com\/true-up-or-stress-out-employees-with-your-401k-offering.html\">Part 4: True-up or stress out employees with your 401(k) offering<\/a><\/p>\n<p><a href=\"https:\/\/hungryadmin.com\/building-the-ultimate-401k-for-your-company.html\">Part 5: Building the ultimate 401(k) for your company<\/a><\/p>","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"work"}},{"@attributes":{"term":"retirement"}}]},{"title":"A safe harbor 401(k) is worth the expense","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/a-safe-harbor-401k-is-worth-the-expense.html","rel":"alternate"}},"published":"2021-01-02T00:00:00+00:00","updated":"2021-01-02T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2021-01-02:\/a-safe-harbor-401k-is-worth-the-expense.html","summary":"<p>When\u00a0setting\u00a0up\u00a0a\u00a0401(k)\u00a0for\u00a0your\u00a0company\u00a0it\u00a0should\u00a0always\u00a0be\u00a0safe\u00a0harbor<\/p>","content":"<p>If you've clicked on this you've hopefully already read parts <a href=\"https:\/\/hungryadmin.com\/every-company-should-have-a-401k.html\">1<\/a> and <a href=\"https:\/\/hungryadmin.com\/your-company-should-be-matching-401k-contributions.html\">2<\/a> where you learned that your company not offering a 401(k) is a big negative for potential employees, and not offering a match is leaving money on the table for your employees. Now let's talk about enhancing the 401(k) offering your company is providing.<\/p>\n<p>So what is a safe harbor 401(k)? The <a href=\"https:\/\/www.irs.gov\/retirement-plans\/plan-sponsor\/401k-plan-overview\">IRS<\/a> notes that a safe harbor 401(k) is similar to a traditional 401(k) but must provide for employer (not employee, let's be clear about this) contributions that are fully vested when made. Basically you've got to offer a match of at least 4% (there are a few options for how to get here) and you have to pay it out on every paycheck.<\/p>\n<p>Since you're already planning on doing this after reading my article on <a href=\"https:\/\/hungryadmin.com\/your-company-should-be-matching-401k-contributions.html\">matching 401(k) contributions<\/a> you might be thinking to yourself \"Why should I do whatever extra legwork is required for a safe harbor 401(k)? I'm already going to match!\"<\/p>\n<p>With a traditional 401(k) you have to meet certain requirements around how highly compensated employees (HCE) and all your other employees use the 401(k). If you really want to learn about this you can check out the <a href=\"https:\/\/www.irs.gov\/retirement-plans\/plan-participant-employee\/definitions\">IRS section<\/a> that talks about these tests or use your favorite internet search engine to find them. Needless to say if Joe the janitor (non-HCE) isn't contributing anything to his 401(k) and Alexandria the CTO (HCE) is you're going to fail these tests. I'm not going to go more in-depth about these because it basically boils down to that if a lot of highly compensated employees, owners, etc. are contributing but lower paid employees aren't you're going to fail these tests. Your 401(k) can have all sorts of issues like having to refund HCE contributions (aka pissing off all the people at your company building your product) so that the values are more in line or provide payments to non-HCE employees to bring everyone up to the same level.<\/p>\n<p>What's the better solution for this? Just offer a safe harbor 401(k) to begin with. Save yourself the hassle and since you're doing what's right by your employees and matching them already there's no reason not to offer a safe harbor 401(k). There are also some date requirements about when you set up the safe harbor 401(k) so get this set up as quickly as possible. Just keep in mind that if you're converting an existing 401(k) plan to a safe harbor 401(k) you're going to have to back pay the employer contributions for the year if you weren't already matching.<\/p>\n<p>So in what situations should you have a safe harbor 401(k)? Personally I don't think there's a single scenario where you shouldn't have a safe harbor 401(k) unless you cannot afford to pay the match requirements. In that situation I'd still rather have a 401(k) than no 401(k) but this should be your number one priority for improvement since it's so cheap as outlined in <a href=\"https:\/\/hungryadmin.com\/your-company-should-be-matching-401k-contributions.html\">part 2<\/a>.<\/p>\n<p>That's all there is to say on this topic. Avoid the hassle and annoying checks of a normal traditional 401(k) and go safe harbor, it's better for everyone involved.<\/p>\n<p>This is part 3 of a 5 part series talking about making a 401(k) so good employees won't believe that it's real and employers won't believe how cheap it is to implement.<\/p>\n<p><a href=\"https:\/\/hungryadmin.com\/every-company-should-have-a-401k.html\">Part 1: Every company should have a 401(k)<\/a><\/p>\n<p><a href=\"https:\/\/hungryadmin.com\/your-company-should-be-matching-401k-contributions.html\">Part 2: Your company should be matching 401(k) contributions<\/a><\/p>\n<p><a href=\"https:\/\/hungryadmin.com\/a-safe-harbor-401k-is-worth-the-expense.html\">Part\u00a03:\u00a0A\u00a0safe\u00a0harbor\u00a0401(k)\u00a0is\u00a0worth\u00a0the\u00a0expense<\/a><\/p>\n<p><a href=\"https:\/\/hungryadmin.com\/true-up-or-stress-out-employees-with-your-401k-offering.html\">Part 4: True-up or stress out employees with your 401(k) offering<\/a><\/p>\n<p><a href=\"https:\/\/hungryadmin.com\/building-the-ultimate-401k-for-your-company.html\">Part 5: Building the ultimate 401(k) for your company<\/a><\/p>","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"work"}},{"@attributes":{"term":"retirement"}}]},{"title":"Your company should be matching 401(k) contributions","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/your-company-should-be-matching-401k-contributions.html","rel":"alternate"}},"published":"2020-12-14T00:00:00+00:00","updated":"2020-12-14T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2020-12-14:\/your-company-should-be-matching-401k-contributions.html","summary":"<p>401(k) matching is a free benefit companies can offer to their employees and they should<\/p>","content":"<p>A 401(k) is a mandatory benefit at any company no matter the size in the 21st century. I've previously talked about how <a href=\"https:\/\/hungryadmin.com\/every-company-should-have-a-401k.html\">every company should have a 401(k)<\/a> and if you don't it makes your company look bad since they cost less to establish now than at any point in history. Thanks to technology it's a few clicks and some paperwork to help your employees plan for their future.<\/p>\n<p>Now I want to talk a bit about the next big benefit, matching. 401(k) matching is one of the cheapest, most cost effective, and desirable benefits your company can offer. With a 401(k) becoming so standard and easy to set up companies need to start looking past the 401(k) alone. With all the money you're saving by not using a firm taking a percentage off the top of contributions or charging high management fees you can make your organization look even more desirable. On top of that it's going to save your company money in the long run. Let's see how.<\/p>\n<p>401(k) matches are a free benefit that you can provide to your employees. Sounds too good to be true? It's not. 401(k) matching by a company can be subtracted from an organization's taxable income. The IRS allows for employer 401(k) contributions to be tax deductible as long as the employer contribution isn't more than 25% of an employee's compensation (up to around $250,000), and the combined total between the employee's contribution ($19,500 for 2021) and the employer contribution can't be more than $57,000, or 100% of an employee's total compensation. Obviously you should make sure you're offering a safe harbor 401(k) to ensure employees at all levels are able to take full advantage, but the additional cost for a <a href=\"https:\/\/hungryadmin.com\/a-safe-harbor-401k-is-worth-the-expense.html\">safe harbor 401(k)<\/a> is minimal and it benefits every employee at your organization no matter their role.<\/p>\n<p>The question then becomes, if a company can offer up to 25% of an employee's compensation or $57,000 as a 401k match and it's a tax write off, why don't they? Depending on the liquidity of your organization it may come down to being unable to afford to match that much money every month if revenue is low. If you work at a FAANG or any other large corporation it's likely that they're simply cheap and don't want to offer a benefit now that they won't see till tax time. This is especially true if they're already scamming the government by not paying their fair share of taxes through various loopholes.<\/p>\n<p>So how can a business stay competitive in this sense? Many companies are now offering 5% of an employee's salary as a monthly match (I'll put up another post at some point about why you're stressing out your employees if you aren't offering a true-up match). While 5% is good, there's no reason not to offer more unless it's specifically for cash flow reasons. Increasing the match as the company makes more money is something you should strive for as a business owner since every employee directly benefits as long as they are contributing. Rarely do employees benefit directly from greatly increased revenue through equivalent salary increases. Offering a 401(k) match increase due to company performance is something I've never seen at a company but would love.<\/p>\n<p>As an employer you're leaving free money for your employees and better recruitment opportunities on the table while also not helping yourself by reducing your tax bill at the end of the year. No matter your role at the company you should be pushing for better 401(k) matching. It's unfortunate but many HR departments, founders, and CFOs simply don't know about 401(k) matching tax write offs so they could be offering more but don't.<\/p>\n<p>Communicate this to your team and push for it as an employee. When the company benefits you deserve to benefit too. Your work has enabled them to succeed and you should be seeing that success with benefits such as 401(k) matching. Don't take no for an answer and if your company won't help translate their profits in to better benefits for you start looking for a new job that does value you enough to offer 401(k) matching.<\/p>\n<p>This is part 2 of a 5 part series talking about building a 401(k) so good employees won't believe that it's real and employers won't believe how cheap it is to implement.<\/p>\n<p><a href=\"https:\/\/hungryadmin.com\/every-company-should-have-a-401k.html\">Part 1: Every company should have a 401(k)<\/a><\/p>\n<p><a href=\"https:\/\/hungryadmin.com\/your-company-should-be-matching-401k-contributions.html\">Part 2: Your company should be matching 401(k) contributions<\/a><\/p>\n<p><a href=\"https:\/\/hungryadmin.com\/a-safe-harbor-401k-is-worth-the-expense.html\">Part\u00a03:\u00a0A\u00a0safe\u00a0harbor\u00a0401(k)\u00a0is\u00a0worth\u00a0the\u00a0expense<\/a><\/p>\n<p><a href=\"https:\/\/hungryadmin.com\/true-up-or-stress-out-employees-with-your-401k-offering.html\">Part 4: True-up or stress out employees with your 401(k) offering<\/a><\/p>\n<p><a href=\"https:\/\/hungryadmin.com\/building-the-ultimate-401k-for-your-company.html\">Part 5: Building the ultimate 401(k) for your company<\/a><\/p>","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"work"}},{"@attributes":{"term":"retirement"}}]},{"title":"Designing a board game insert for Anachrony Essential Edition","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/designing-a-board-game-insert-for-anachrony-essential-edition.html","rel":"alternate"}},"published":"2020-11-01T00:00:00+00:00","updated":"2020-11-01T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2020-11-01:\/designing-a-board-game-insert-for-anachrony-essential-edition.html","summary":"<p>I created an insert for the board game Anachrony and want to talk about what that process looked like and the lessons I learned<\/p>","content":"<h1>Designing a board game insert<\/h1>\n<p>I recently decided to take it upon myself to design a board game insert for the game <a href=\"http:\/\/anachronyboardgame.com\/\">Anachrony - Essential Edition<\/a> (<a href=\"https:\/\/boardgamegeek.com\/boardgame\/185343\/anachrony\">BGG Link<\/a>). This is a relatively heavy <a href=\"https:\/\/boardgamegeek.com\/boardgamemechanic\/2082\/worker-placement\">worker placement<\/a> game with a very strong theme and several mechanics I enjoy. I thought it would be interesting to go through the design process for the insert I created since this is something I've never done before that covers a variety of disciplines.<\/p>\n<h2>What is a board game insert and what does it do?<\/h2>\n<p>So what is an insert? An insert is a way to store components for a game to make them easier to access. Instead of having components, chits, and tokens in plastic bags they may be organized in holders or trays. They are typically made of foam core, 3D printed, or laser cut on thin pieces of wood. If you're interested I'd recommend checking out the <a href=\"https:\/\/boardgamegeek.com\/geeklist\/115468\/diy-foam-core-insert-master-list?titlesonly=1\">foamcore insert list<\/a> over on BGG. Just find a game that sounds interesting, then click on the post number on the left hand side to go directly to the post for some image examples.<\/p>\n<p>The Essential Edition version of Anachrony released relatively recently has fewer components, a different box size, and no plastic worker mech components so professionally made inserts don't exist yet. Mind Clash made sure the box itself is small which I appreciate as it reduces the shelf space required but this does mean you need a focused insert design with very little wasted space. Several people have <a href=\"https:\/\/boardgamegeek.com\/thread\/2383112\/enhancing-storage-essential-edition\">made their own inserts<\/a> which are quite good but didn't fit my desires in terms of design. I prefer inserts that focus on quickly setting the game up and putting it away over component separation. I also understand that this is not everyone's preference and my insert may not be everyone's cup of tea, but I designed it for my copy of the game so I can do whatever I like.<\/p>\n<h2>Choosing which technology to create the insert with<\/h2>\n<p>This was my first decision to make. When designing inserts foam core is by far the most common material since it's cheap, easy to acquire, and most importantly you can continually iterate on designs from the comfort of your own home.<\/p>\n<p>I don't like foam core inserts due to the thickness of the material. You can find 1mm and 2mm foam core, but it's really flimsy, so most people use 3mm or 5mm foam core and this wastes a lot of space. With Anachrony's compact box I knew this was going to be a concern. No matter what technology I chose all measurements would be in mm or cm to ensure as accurate a fit as possible since all components are designed using the metric system.<\/p>\n<p>3D printing is the most accessible outside of foam core. Thanks to sites like <a href=\"https:\/\/makexyz.com\">makexyz<\/a> (no affiliation, I just used them for this project) you can order printed objects from local printers. The downside here is you have to either find existing 3D printing design files (STLs) or create your own using software such as <a href=\"https:\/\/www.blender.org\/\">Blender<\/a>, <a href=\"https:\/\/www.autodesk.com\/products\/fusion-360\/personal\">Fusion 360<\/a>, or <a href=\"https:\/\/www.openscad.org\/\">OpenSCAD<\/a>. It's also much more difficult to iterate on designs (more on that later) unless you decide to buy a 3D printer which I ultimately decided against.<\/p>\n<p>The last consumer friendly option is laser cutting and while very cool it is also the most annoying because finding laser cutters that are available to the public is difficult or expensive. I have no experience with acrylic or wood panels and was worried about imperfections in my design. When 3D printing it's a lot easier to see a 3 dimensional object than to create many 2 dimensional pieces that then need to be assembled.<\/p>\n<p>In the end I went with 3D printing. Since I have familiarity with Python I ended up using <a href=\"https:\/\/github.com\/SolidCode\/SolidPython\">SolidPython<\/a> which integrates with <a href=\"https:\/\/www.openscad.org\/\">OpenSCAD<\/a> for rendering and converting to an STL. I used <a href=\"https:\/\/ultimaker.com\/software\/ultimaker-cura\">Ultimaker Cura<\/a> to ensure my designs would fit on the 3D printer's print bed correctly.<\/p>\n<p>Since my local resources were closed I used <a href=\"https:\/\/makexyz.com\">makexyz<\/a> to get my prints from a local 3D printer. I also investigated the type of 3D printer I wanted the prints to be made from to ensure I had the proper bed size dimensions and print quality (I settled on a Prusa MK3).<\/p>\n<h2>Initial Design Focuses<\/h2>\n<p>When starting the design process it was critical to me that I get an understanding of the main components of Anachrony. This meant I could get an idea of how many components there are (how many storage trays do I need, and how big do they need to be?), what will the setup process look like (what is most time consuming to set up? How can I reduce this time?), and ease of storage (can I store this game on its side with this insert?).<\/p>\n<p>If you want to explore the components before continuing for the context I recommend looking at the <a href=\"https:\/\/boardgamegeek.com\/boardgame\/185343\/anachrony\/images\">Anachrony images page on BGG<\/a>.<\/p>\n<p>I started by setting the game up and tearing it down multiple times to identify where the problems were. What was taking too long or was too annoying? What felt fiddly or repetitive to do? What aspects seemed like they could be improved on but didn't really matter to overall setup time and  interactions during play? Are there ways that components can be arranged in the box without an insert to improve setup and tear down times?<\/p>\n<p>After thinking about these questions as I went through the process of setting up and putting away the game my notes led to the following conclusions:\n* Dealing with bags is annoying, they should be completely eliminated.\n* Some resources should be stored apart, while others don't really matter.\n* Saving seconds during setup isn't worth the annoyance of sorting everything when putting the game away.\n* Faction specific setup is a chore when all faction specific components aren't together.\n* Some components stack nicely together in the box by themselves and don't need to be fully separated or stored.\n* Getting people involved and excited during the setup process is important.\n* Packing isn't fun when it's too tedious or requires too much precision remembering where everything goes.\n* Touching and feeling the components as you set them up helps you get excited about the game and should not be taken away by using the insert as resource storage during the game.<\/p>\n<p>I recorded the time it took me to perform various steps in the setup process and the biggest offenders were putting things in or taking things out of bags, sorting and setting up each faction, trying to make everything fit back in the box, and general component placement on the board. Aspects such as shuffling tiles and cards, sorting tiles in to groups, and making piles of resources didn't create friction and give you an idea of how the game will play while allowing you to begin exploring the iconography. I realized that taking away this exploration lead to a less enjoyable setup even if it did make things slightly faster.<\/p>\n<p>From here I looked at what components needed to be separate and which could be stored together, as well as which components made sense to store close to each other. I came up with this crude listing:<\/p>\n<p><a href=\"\/images\/anachrony_insert\/component_grouping.jpg\"><img alt=\"Component grouping\" src=\"\/images\/anachrony_insert\/component_grouping.jpg\"><\/a><\/p>\n<p>I was now able to move forward with my basic design tenets and actually begin working on the insert itself.<\/p>\n<h2>Planning the Insert requirements<\/h2>\n<p>Based on my observations above I knew there were some easy wins.<\/p>\n<ul>\n<li>There would be no bags in the insert or in the box. If a bag was required I considered that a failure of the insert.<\/li>\n<li>Faction components needed to be stored together and in an aesthetically pleasing way. I want people to get excited when they see the faction art and say \"This is who I want to play!\" before we even start the game.<\/li>\n<li>Components such as workers, cards, and several components with unique shapes should be stored with each other. They don't need to be perfectly sorted, I want people to get their hands on them<\/li>\n<li>Resource cubes should not be stored together, they're annoying to sort.<\/li>\n<li>Worker components don't need to be sorted.<\/li>\n<li>Too much sorting during tear down is more annoying than the benefits during set up.<\/li>\n<li>Tile storage doesn't need to be overly complex.<\/li>\n<\/ul>\n<p>With general planning and a better understanding of what was problematic out of the way it was time to get started on actually thinking about what the insert would look like.<\/p>\n<h2>Imagining the Insert and how it will look in a 2D space<\/h2>\n<p>Before moving in to 3D I started by creating 2D sketches of the approximate design of the insert. What would it look like if I was staring at the box from above? I came up with these initial ideas:<\/p>\n<p><a href=\"\/images\/anachrony_insert\/layout_ideas.jpg\"><img alt=\"Layout ideas\" src=\"\/images\/anachrony_insert\/layout_ideas.jpg\"><\/a><\/p>\n<p>Between initial 2D design and the final design I made several changes and revisions. I didn't end up drawing those out as much since I had the 3D modeling software to think about what I would want it to look like, this is just the first version of the insert to give myself a starting point.<\/p>\n<h2>Organizing the Box<\/h2>\n<p>Once I had settled on the 2D design of the insert I had to make sure everything would fit in the box in the various layers. I considered creating 3D paper mock ups at this point, but was confident enough in my height measurements that I didn't feel it was necessary. I created full size 2D mock-ups of what the insert could look like as a single layer:<\/p>\n<p><a href=\"\/images\/anachrony_insert\/layout_full_sizing.jpg\"><img alt=\"Layout full sizing\" src=\"\/images\/anachrony_insert\/layout_full_sizing.jpg\"><\/a><\/p>\n<p>With the layout finished and making sure everything would fit with the dimensions I measured for the general shape it was time to work on the digital side.<\/p>\n<h2>Designing the Insert in 3D<\/h2>\n<p>This portion of the design process was by far the most interesting and involved as I realized there were questions such as wall thickness, rounded edges and corners, <a href=\"https:\/\/3dprinting.stackexchange.com\/questions\/10272\/should-i-include-fillets-on-my-3d-printed-parts\">fillets<\/a>, inner versus outer depth of each insert part, and total volume of each part of the insert. I started running calculations to determine how much volume each type of component I wanted would take up. In some cases I included extra room in the event I purchased extra components such as resource cubes.<\/p>\n<p>Using SolidPython and OpenSCAD for this was effective but I also had to think much harder about how to work within some of the limited ways OpenSCAD supports creation. Objects such as fillets were especially problematic and unless you can really picture how the shapes are going to look in 3 dimensions in your brain as you enter the calculations I don't recommend this. When you create objects in OpenSCAD you're basically starting with a solid object then \"cutting\" pieces out of it and adding pieces back in. Each element is a different piece that you have to account for and properly associate with each other so the program understands what you want and in what order you want the steps to occur.<\/p>\n<p><a href=\"\/images\/anachrony_insert\/openscad_factions.jpg\"><img alt=\"Openscad factions\" src=\"\/images\/anachrony_insert\/openscad_factions.jpg\"><\/a><\/p>\n<p>This is pretty good for creating general shapes, but once you get in to more complex shapes or squaring things off it can become more difficult. You can't say you want an object at specific X, Y, and Z coordinates, instead you have to treat the initial creation point of the entire object as the offset. So if you want a cube cut out to be in the middle of an object you need to start from the corner of object, then the corner of the cube instead of the center of the cube.<\/p>\n<p>I implemented several different techniques to get the shape and dimensions I was happy with, as well as various other small design tweaks to improve the look and feel. In total I created 7 unique insert components.<\/p>\n<ul>\n<li>1 faction insert (4 of these are needed)<\/li>\n<li>2 resource cube trays of varying sizes<\/li>\n<li>1 tray for cards, dice, and a few miscellaneous components<\/li>\n<li>1 large split tray for components<\/li>\n<li>1 large tray for components<\/li>\n<li>1 building tray<\/li>\n<\/ul>\n<h2>Printing the insert<\/h2>\n<p>This was the easiest part of the whole process. As I noted above I used <a href=\"https:\/\/makexyz.com\">makexyz.com<\/a> to find someone locally with a 3D printer. I had already confirmed via Cura that the insert elements that I wanted would fit on the printing bed specified by the printer I decided on and I recommend that others do the same before putting in too much work as you may have to resize things. I initially looked at someone with a larger printing bed and had to slightly tweak one of the designs but I was happier with the final design any way.<\/p>\n<p>I sent them the STL files and after some review we were able to settle on a price. It cost me $41.25 for the actual printing, then $8.25 in fees to makexyz. I considered spending $750 to buy my own Prusa 3D printer kit but decided against it. I may still buy one in the future as this process was fun and creating physical objects is much more rewarding than most other technology and programming based endeavors to me.<\/p>\n<p>This is what all the components of the insert look like (trays on the right are double stacked for a total of 4, 1 for each faction, there are 10 3D printed objects in this picture):<\/p>\n<p><a href=\"\/images\/anachrony_insert\/insert_pieces.jpg\"><img alt=\"Insert pieces\" src=\"\/images\/anachrony_insert\/insert_pieces.jpg\"><\/a><\/p>\n<h2>Putting it all together<\/h2>\n<p>With the inserts completed I was able to organize all the components. This is better represented by images. Below you can see before and after as I move components from the bags to the insert, and then put the insert in to the box.<\/p>\n<p><a href=\"\/images\/anachrony_insert\/bagged_box.jpg\"><img alt=\"Bagged box\" src=\"\/images\/anachrony_insert\/bagged_box.jpg\"><\/a><\/p>\n<p><a href=\"\/images\/anachrony_insert\/components_pre_insert.jpg\"><img alt=\"Components pre-insert\" src=\"\/images\/anachrony_insert\/components_pre_insert.jpg\"><\/a><\/p>\n<p><a href=\"\/images\/anachrony_insert\/faction_example_1_1.jpg\"><img alt=\"Faction example 1 1\" src=\"\/images\/anachrony_insert\/faction_example_1_1.jpg\"><\/a><\/p>\n<p><a href=\"\/images\/anachrony_insert\/faction_example_1_2.jpg\"><img alt=\"Faction_example 1 2\" src=\"\/images\/anachrony_insert\/faction_example_1_2.jpg\"><\/a><\/p>\n<p><a href=\"\/images\/anachrony_insert\/insert_assembly_1.jpg\"><img alt=\"Insert Assembly 1\" src=\"\/images\/anachrony_insert\/insert_assembly_1.jpg\"><\/a><\/p>\n<p><a href=\"\/images\/anachrony_insert\/insert_assembly_2.jpg\"><img alt=\"Insert Assembly 2\" src=\"\/images\/anachrony_insert\/insert_assembly_2.jpg\"><\/a><\/p>\n<p><a href=\"\/images\/anachrony_insert\/insert_assembly_3.jpg\"><img alt=\"Insert Assembly 3\" src=\"\/images\/anachrony_insert\/insert_assembly_3.jpg\"><\/a><\/p>\n<p><a href=\"\/images\/anachrony_insert\/insert_assembly_4.jpg\"><img alt=\"Insert Assembly 4\" src=\"\/images\/anachrony_insert\/insert_assembly_4.jpg\"><\/a><\/p>\n<p><a href=\"\/images\/anachrony_insert\/insert_assembly_5.jpg\"><img alt=\"Insert Assembly 5\" src=\"\/images\/anachrony_insert\/insert_assembly_5.jpg\"><\/a><\/p>\n<h2>Problems With the Insert<\/h2>\n<p>There are a few minor issues with the insert that were hard to mentally imagine during creation. The biggest of these is that while the fillets look good, the inserts should have been more rounded internally than they are, especially for the resource cubes. This isn't a big deal since I usually dump out the resources with my hand held over the other sections, but it would have been nice to have realized this. The resource cube sections are also slightly too large. I did this in case I wanted to buy more resource cubes in the future or upgrade them, but looking back I probably could have held off on this.<\/p>\n<p>Another issue is the overhang of the second resource cube tray. I don't know why I overlooked this during my design process but I did. I should have made both layers the same length to allow for better vertical storage. I haven't had any issues storing my game vertically yet, but I'm also not throwing it on the shelf so I imagine this could be a problem and resource cubes may spill out.<\/p>\n<p>The last issue is the card tray. The finger notch to easily pull the cards out isn't perfectly centered. I did this on purpose but when seeing it in the physical world it feels a bit too off centered. I've fixed that in the STL files so it is centered better.<\/p>\n<h2>Overall Results<\/h2>\n<p>I am extremely pleased with the insert considering this was my first exploration in to several new disciplines related to artistic and functional design, 3D CAD work, and 3D printing. In the future I will likely not use SolidPython and will instead use Fusion 360 for this sort of work. If you've found this interesting and want a copy of the STL files so you can print your own Anachrony insert you can <a href=\"https:\/\/gumroad.com\/l\/ZRQXx\">purchase all the STL files for $2.99 on Gumroad<\/a>.<\/p>\n<p>I hope this has been helpful for anyone else interested in making their own inserts as I didn't see many resources that talked about the process from concept to realization. If you create your own awesome insert please let me know!<\/p>","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"3D printing"}},{"@attributes":{"term":"python"}},{"@attributes":{"term":"design"}}]},{"title":"Devesting from Amazon","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/devesting-from-amazon.html","rel":"alternate"}},"published":"2020-09-18T00:00:00+00:00","updated":"2020-09-18T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2020-09-18:\/devesting-from-amazon.html","summary":"<p>I've decided to stop supporting Amazon as much as possible<\/p>","content":"<p>I <a href=\"https:\/\/hungryadmin.com\/migrating-static-sites-to-cloudflare.html\">recently migrated all my static sites to Cloudflare<\/a> to try and save some money and reduce my overhead in terms of work I'm doing. One of the sites I moved was <a href=\"https:\/\/bulkeats.com\">Bulk Eats<\/a> which stands in as a sort of meal prep cookbook that I decided to make publicly available for people. The site was launched in July of 2017 and I decided to add a few Amazon referral links to try and make it profitable. In the past 3 years I've made around $50 from the site so it wasn't bringing in huge amounts of money.<\/p>\n<p>With Amazon's actions in the past two years I decided it was time for some changes in how I approach Amazon as an individual. The first was to cancel Amazon Prime, I did this almost 2 years ago and it was a great decision. I still do have to use Amazon occasionally to purchase goods I can't find elsewhere (I've placed 2 orders so far in 2020) but for the most part I'm able to buy direct, purchase from smaller sites, or purchase products locally. I've been spending less overall as well this way since it's more of a hassle to buy things.<\/p>\n<p>When I migrated my sites to Cloudflare I also decided it was time to drop Amazon Associates. This hadn't been as big a deal to me before since I wasn't directly giving Amazon money to buy goods but their treatment of warehouse workers during this pandemic pushed me over the edge. I canceled my Amazon Associates account and closed it out for good. I also removed the small recruiting book I wrote from their Kindle store and shut down my KDP account.<\/p>\n<p>For now I've made The IT Recruiter's Field Manual available via <a href=\"https:\/\/gumroad.com\/hungryadmin\">Gumroad<\/a> as a PDF and will likely only sell through such storefronts going forward.<\/p>","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"ethics"}},{"@attributes":{"term":"money"}}]},{"title":"Ethical Ads and blog advertising","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/ethical-ads-and-blog-advertising.html","rel":"alternate"}},"published":"2020-09-09T00:00:00+00:00","updated":"2020-09-09T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2020-09-09:\/ethical-ads-and-blog-advertising.html","summary":"<p>I'm trying Ethical Ads as a way to offset hosting costs<\/p>","content":"<p>Traffic to my blog has slowly been increasing lately so I figured it was time to see about potential ad placement to help offset hosting costs which I <a href=\"https:\/\/hungryadmin.com\/migrating-static-sites-to-cloudflare.html\">talked about in my Cloudflare migration post<\/a>. The only ad provider I could find that satisfied my admittedly stringent requirements in terms of visitor privacy was <a href=\"https:\/\/www.ethicalads.io\/\">Ethical Ads<\/a>. It's from the team behind <a href=\"https:\/\/readthedocs.org\/\">Read the Docs<\/a> and I'm very impressed by their dedication to respecting visitors as outlined in their <a href=\"https:\/\/www.ethicalads.io\/advertising-vision\/\">advertising vision<\/a>. I am unwilling to compromise visitor privacy and security just to make money and the team at Ethical Ads seems to reflect this mindset.<\/p>\n<p>Having said that for anyone who is using an ad blocker feel free to continue doing so and don't feel obligated to turn it off for this site as both No Script and Ublock Origin block traffic from Ethical Ads by default. Ethical Ads is currently the only non-hungryadmin resource that this site fetches. All other resources including images, minified JS, and even the fonts are server directly from hungryadmin.com to protect visitors. If at some point they offer a static image self hosted option I will consider implementing that as well since I've tried to make the ad placement as non-intrusive as possible (it's over there on the right below the Links in the event you're blocking ads).<\/p>\n<p>I've created a publicly available repository <a href=\"https:\/\/github.com\/gravyboat\/ethical-ads-feedback\">here<\/a> which I'll leave active for a while in case anyone has concerns. You can <a href=\"https:\/\/github.com\/gravyboat\/ethical-ads-feedback\/issues\/new\">open an issue<\/a> if you have feedback.<\/p>\n<p>I'll also do a follow up post in a few months to discuss site traffic, ad views, the click through rate, etc. My hope is that ads can once again be a reasonable way to help pay for hosting costs without negatively impacting visitors.<\/p>","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"ads"}},{"@attributes":{"term":"hosting"}}]},{"title":"Migrating Static Sites to Cloudflare","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/migrating-static-sites-to-cloudflare.html","rel":"alternate"}},"published":"2020-08-05T00:00:00+00:00","updated":"2020-08-05T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2020-08-05:\/migrating-static-sites-to-cloudflare.html","summary":"<p>I've migrated my static sites to Cloudflare and in this post I go over the positives and negatives of that experience<\/p>","content":"<p>A couple of months ago I decided it was time to move off of the server I've been hosting my sites on. I was tired of maintaining it and since I was just running 2 static sites was hoping I could save money as the sites don't generate enough income to pay for themselves. For my recipe site bulkeats.com I was earning a dollar here and there from Amazon affiliate links but decided to close my affiliate account. I had already dropped Prime more than a year ago due to Amazon's poor treatment of their staff, and with their recent behavior I didn't want to push any traffic to them.<\/p>\n<p>Total hosting costs for my static sites were $5 per month over at Digital Ocean. I wasn't able to bring the cost down past this but I was able to reduce the time spent on general administrative work. There are some annoying downsides which I'll get to that I wasn't aware of prior to this move that I think are worth covering.<\/p>\n<p>After researching several options I decided to go with Cloudflare and their new(ish) <a href=\"https:\/\/workers.cloudflare.com\/\">workers<\/a> which seemed interesting. They don't directly support Pelican but the amount of work required to do so is as simple as changing one line in the configuration.<\/p>\n<p>Cloudflare's workers can be set up for free, but if you do that you don't get to use a custom domain which was a deal breaker for me. Pricing is excellent though based on the number of requests you serve, so this will be beneficial if I launch any more static sites in the future.<\/p>\n<p>Domain registration costs are as always the most expensive part of the process. Cloudflare doesn't allow you to register domains yet, so if you want to use a new domain you have to buy it somewhere else, wait for the 60 day lock to fall off, then transfer to them. You also have to renew for a full year when you do this as well if the domain renewal date isn't at least a year in the future.<\/p>\n<p>The one upside about this process is that domain renewals are only ~$8 USD, so I'll end up saving almost 50% of what I was paying at my previous registrar. This cost savings outweighs the annoyance and upfront process for new domain registration, though I hope they start acting as a full registrar soon so I can buy domains directly from their interface when I need them.<\/p>\n<p>Cloudflare has some <a href=\"https:\/\/developers.cloudflare.com\/workers\/sites\/start-from-existing\/\">relatively thorough documentation<\/a> about how to get started from a site that already exists and the process was pretty painless. All I had to do was modify step 2 in my <code>wrangler.toml<\/code> so that <code>bucket<\/code> points to <code>output<\/code>:<\/p>\n<div class=\"highlight\"><pre><span><\/span><code><span class=\"k\">[site]<\/span><span class=\"w\"><\/span>\n<span class=\"na\">bucket<\/span><span class=\"w\"> <\/span><span class=\"o\">=<\/span><span class=\"w\"> <\/span><span class=\"s\">&quot;.\/output&quot;<\/span><span class=\"w\"><\/span>\n<span class=\"na\">entry-point<\/span><span class=\"w\"> <\/span><span class=\"o\">=<\/span><span class=\"w\"> <\/span><span class=\"s\">&quot;workers-site&quot;<\/span><span class=\"w\"><\/span>\n<\/code><\/pre><\/div>\n\n<p>Once that's done it's as simple as going through their publishing steps.<\/p>\n<p>Edit 2020-08-19, previously there was a section here talking about security headers and not understanding how to add them, it turns out that they were added  <a href=\"https:\/\/github.com\/cloudflare\/worker-sites-template\/blob\/master\/workers-site\/index.js\">to the default template<\/a> and I generated my project prior to these being added, and they're pretty easy to add as well. HSTS is simple to activate (it's under the SSL\/TLS -&gt; Edge Certificates section as of 2020-07-27), though Cloudflare's documentation on how to turn this on is out of date with inaccurate images so you'll have to go hunting for it in the UI.<\/p>\n<p>Deployments are relatively easy using <a href=\"https:\/\/github.com\/cloudflare\/wrangler\">Wrangler<\/a> which I installed via Cargo, but then you have to install npm any way or you can't run <code>wrangler publish<\/code> because of webpack, so I don't really see the point in offering this as an option, it's just confusing and wastes time since you'll be presented with an error that you must install npm before continuing.<\/p>\n<p>Mail spam is also a problem with Cloudflare. Before migrating I had a basic page up for consulting in case potential customers wanted to contact me, prior to migration the associated email received minimal spam. Within 24 hours of migrating to Cloudflare I was receiving over 100 spam emails a day. I've now removed this page and the spam has started to subside but it's still present. It seems that someone out there is aggressively scanning Cloudflare based sites for email addresses even if they're obscured or redacted then spamming them from various compromised AWS EC2 instances. Prior to the Cloudflare migration this hadn't been a problem in the 7 years I've been hosting my site via a server at Digital Ocean. I received more spam in the first 2 days on Cloudflare than I have in the past 2 years.<\/p>\n<p>Cloudflare also does a lot of nickel and diming for functionality which I think is pretty annoying. Want more stats? It costs you money. Want better routing? It costs you money (which seems pretty dumb since isn't that the point of a CDN any way?). If I were to enable several more features it would easily cost me $20-$30 a month for my static sites which is crazy since they charge for many of these features on a per domain basis.<\/p>\n<p>Overall I'm generally satisfied with the move, performance is slightly better and I don't have to maintain a server. What I do have to deal with is the mess that is Cloudflare's worker documentation (or lack of for anything past the basics), and their confusing UI. It seems like some engineers made this really neat MVP, but it has weird issues due to the way Cloudflare operates as a business. I want to deploy a static site, I want it to be fast, and I want it to be secure, that's it.<\/p>\n<p>I'm cautiously recommending Cloudflare Workers as long as you're aware of all these caveats and annoyances.<\/p>","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"hosting"}},{"@attributes":{"term":"cdn"}}]},{"title":"Ergodox EZ Review","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/ergodox-ez-review.html","rel":"alternate"}},"published":"2020-08-02T00:00:00+00:00","updated":"2020-08-02T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2020-08-02:\/ergodox-ez-review.html","summary":"<p>A review of the Ergodox EZ<\/p>","content":"<p>About 3 years ago I purchased an <a href=\"https:\/\/ergodox-ez.com\/\">Ergodox EZ<\/a>. This week they announced a new keyboard called the Moonlander Mark 1 so I figured this was a good time to provide a review of their existing ergonomic keyboard, as well as my experience switching to this keyboard and using it every day for both work and personal endeavors.<\/p>\n<p>In the interest of full transparency I have no affiliation or financial interest in the Ergodox EZ, the company (ZSA), or any affiliated companies. I have taken advantage of their warranty program and did receive a replacement keyboard for free (I will go over this during the review). I am a beta participant in their layout tour functionality where my layout is prioritized when doing searches for tags such as <code>colemak<\/code> because I have a layout tour set up. They also offered to include my layout in their email newsletter and requested a headshot which I declined to provide for privacy purposes though I did grant them permission to include the layout in their newsletter if they wanted to. I have no idea if my layout tour will be included in an upcoming newsletter, but am adding this note here just in case. With that out of the way let's move on to the review.<\/p>\n<p>Back in 2014 I decided it was time to move to a more ergonomic keyboard than my existing Microsoft ergonomic keyboard. At that time I decided to purchase an original <a href=\"https:\/\/www.ergodox.io\/\">Ergodox<\/a> kit. I don't like soldering but decided I wanted to give this a try. When going through the instructions I screwed up and didn't realize that the switching diodes which are about the size of a grain of rice had a specific orientation that had to be followed. Removing all the diodes was more work than I wanted to do so I shelved it and continued using my previous ergonomic keyboard.<\/p>\n<p>3 years later in 2017 my ergonomic keyboard from 2012 was starting to act up. Certain keys were badly worn, there was no way to replace the switches, and the wrist rests were falling apart. After reviewing all the options available at the time I decided to buy an <a href=\"https:\/\/ergodox-ez.com\/\">Ergodox EZ<\/a>. This was the original version of the EZ, no changing switches without soldering, no LEDs. The big draw to me was the ability to easily customize the keyboard layout. As someone who is left-handed this is a big deal. A lot of the ergonomic keyboards out there aren't especially friendly, and even less so for left-handed users. Being able to rebind all the keys was a big draw for me and this was a pretty large investment at $325 USD (keyboard, wrist rests, tilt\/tent kit). Though many other ergonomic keyboards fall in to a similar price range this was a big step up as my last ergonomic keyboard cost $30.<\/p>\n<p>When I got my Ergodox EZ I made the decision to start using a more ergonomic layout as well as significant changes to the overall placement of various keys. I also decided to use <a href=\"https:\/\/colemak.com\/\">Colemak<\/a>. One of the big benefits of Colemak to me over other keyboard layouts is that you retain your ability to type on QWERTY keyboards relatively well. I can confirm after not having used QWERTY for nearly 3 years regularly I can still switch back though my speed is slower and it takes time to ramp up. It's different enough to improve ergonomics over QWERTY while reducing the learning curve that you might find in other layouts and this is a big win to avoid frustration when you're used to typing quickly and efficiently on QWERTY.<\/p>\n<p>As someone who works in DevOps and does software development as well as various other work the biggest downside is that Colemak is not very good for VIM with the default layout. You can change your VIM layout to accommodate this and with the recent development of very good editors such as VSCode I find myself using VIM less. You can read more about the benefits and reasoning behind the development of the Colemak layout in their <a href=\"https:\/\/colemak.com\/FAQ\">FAQ<\/a> which is very thorough. Needless to say I was sold and was able to switch over after only a few weeks of using it in the evenings with typing speeds quickly reaching my old QWERTY levels. I still don't think I'm quite as fast, but some of that is due to the modified keyboard layout I use for ergonomics which results in less discomfort at the cost of speed. I'm still able to easily attain 80-100 WPM or more depending on what I'm typing with the Colemak layout on my Ergodox.<\/p>\n<p>For the past few years I've been refining <a href=\"https:\/\/configure.ergodox-ez.com\/ergodox-ez\/layouts\/7J5JJ\/latest\/0\">this layout<\/a>, you can play the layout tour if you'd like a thorough explanation of how everything works but I'm not going to go over it here. It's much easier to show than tell. The main focus for me was ergonomic design and comfort which I've been refining as the ZSA team continues to add more and more functionality to their ORYX configuration tool. In addition to this they regularly make hardware updates that improve the overall product. Soldering free replaceable switches being the biggest benefit over many other products. The configuration tool also has <a href=\"https:\/\/configure.ergodox-ez.com\/ergodox-ez\/search\">search functionality<\/a> so you can explore other people's layouts and quickly start building something for yourself.<\/p>\n<p>This continued development and investment in tooling around the Ergodox EZ and other keyboards from ZSA is the biggest win to me. The configuration tools as well as the firmware have received a lot of updates and improvements to functionality in the past 3 years. <a href=\"https:\/\/configure.ergodox-ez.com\">Oryx<\/a> for visually configuring layouts is the biggest one. Then <a href=\"https:\/\/ergodox-ez.com\/pages\/wally\">Wally<\/a> was added to make flashing the keyboard with updated layouts easier, as well as <a href=\"https:\/\/blog.zsa.io\/1912-live-training\/\">some tooling around practicing your layout<\/a> to make switching less of a hassle. This level of support has been much better than other ergonomic keyboard vendors out there who simply make a keyboard and that's all you get.<\/p>\n<p>For the first year and a half or so my experience with the keyboard was fantastic and it exceeded my expectations in every way. I then started getting some odd double tapping and I had a few keys that would repeat, specifically v, g, and one or two other high usage keys. When I looked online about this issue there were a lot of various reasons people claimed as the root cause in relation to the Ergodox EZ, from software problems and switches, to hardware issues. I dealt with it by increasing the input time before keys would start repeating and this worked for a while but pushing it higher and higher made typing less enjoyable. About a month after my warranty expired (they offer a <a href=\"https:\/\/ergodox-ez.com\/pages\/faq\">2 year warranty<\/a>) it started to become too bad to deal with especially when it came to pasting as I would get double pastes almost every time. 2 months past the 2 year warranty I contacted the ZSA team asking if they had seen this and if there were potential solutions as the keyboard had basically become unusable to me.<\/p>\n<p>They recommended replacing the switches as I had already cleaned them as thoroughly as possible but I wasn't interested in doing this as I no longer owned a soldering iron and the whole point of buying the EZ was to avoid this. The ZSA team decided to send me a new Ergodoz EZ and I appreciate them going beyond the warranty time frame in this situation. The new EZ I received did include replaceable switches which was part of one of their revisions. After a month or two the issue started popping back up again but I was able to remove the switch entirely to thoroughly clean it and mess with the springs inside.<\/p>\n<p>I'm convinced at this point that the issue is not the EZ but the Cherry MX switches as the problem occurred on the same key locations and after cleaning them in various ways I haven't encountered the issue again. This problem has lead me to exclude Cherry from any future switch purchases or modification I may make for this keyboard. I'm not sure if Cherry's production quality has just gone down or what but there were too many instances of this occurring across a wide variety of keyboards from different manufacturers where Cherry MX switches were the only constant (the real problem is that many people couldn't confirm the switch was the issue because most keyboards don't allow you to replace the switches without soldering). The fact I encountered it twice in two keyboards is absolutely ridiculous. Maybe it has to do with how your fingers press on the Ergodox EZ keys that impacts the switches and that's why other people also saw this on their Ergodox EZ, I'm really not sure but the switches definitely seem to be at fault.<\/p>\n<p>Either way this problem was solved and the ZSA team wins points for replacing my keyboard even though it was outside the warranty.<\/p>\n<p>In terms of ergonomics I think the EZ is first in it its class because of how configurable it is, my layout avoids wrist and finger pain and I haven't encountered RSI issues from overstretching my fingers in years. The tilt\/tent kit allows you to shift the position thoroughly depending on your needs (check out their site for a better explanation of how this works). I don't use some of the keys on the keyboard because they're too far to reach, but this is a cost of using the original Ergodox layout. I do think the wrist rests are somewhat lacking since they're just relatively hard pieces of formed rubber and they did off-gas badly when I first got them. If you're ordering an Ergodox EZ I'd recommend looking at alternative wrist rests. The tilt\/tent kit actually works against the wrist rests because they don't provide support if you attempt to use even somewhat aggressive tenting.<\/p>\n<p>I also dislike that the keyboard uses USB to mini-B USB for the connector. I'm sure there's a reason behind it, but if you forget your USB cable for some reason you're out of luck. Who carries mini-B USB cables around with them or even adapters? No one.<\/p>\n<p>A feature I do like a lot is being able to only have the left side of the keyboard plugged in. On the Ergodox EZ the USB cable is on the right side. This is useful for playing games where you don't need a full keyboard so you can have better mouse hand ergonomics if you use your left hand for mouse control.<\/p>\n<p>Overall the Ergodox EZ is the best keyboard I've ever used. The extensive layout and physical configuration that can be tailored on a per user basis makes it exceptionally powerful and useful in a wide variety of disciplines. I use it as someone who works as a DevOps Engineer, but I could see it being amazing for accountants, writers, and even industrial applications thanks to the macro system, layers, and other various functionality. No other ergonomic keyboard that I'm aware of allow as much configuration with the ease the Ergodox EZ does.<\/p>\n<p>If you're considering buying a new ergonomic keyboard I'd definitely recommend checking out the Ergodox EZ or the successors as a very viable option depending on your needs.<\/p>","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"ergonomics"}},{"@attributes":{"term":"review"}},{"@attributes":{"term":"health"}}]},{"title":"Removing TV whine With Streamlink, MPV, and FFMPEG","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/removing-tv-whine-with-streamlink-mpv-and-ffmpeg.html","rel":"alternate"}},"published":"2020-06-27T00:00:00+00:00","updated":"2020-06-27T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2020-06-27:\/removing-tv-whine-with-streamlink-mpv-and-ffmpeg.html","summary":"<p>There\u2019s a small subset of people who suffer from tinnitus and also\nenjoy watching people speedrun old video games and I\u2019m one of them.\nThe unfortunate downside here is that many of these speedrunners do\nso on old school TVs and if your hearing is decent there is \u2026<\/p>","content":"<p>There\u2019s a small subset of people who suffer from tinnitus and also\nenjoy watching people speedrun old video games and I\u2019m one of them.\nThe unfortunate downside here is that many of these speedrunners do\nso on old school TVs and if your hearing is decent there is a\nperceptible whining at 15750Hz for US TVs (for more info on this\nplease see Tom Scott\u2019s <a class=\"reference external\" href=\"https:\/\/www.youtube.com\/watch?v=RA5UiLYWdbM\">excellent YouTube video<\/a>\nthat discusses this topic further). This sound is\npretty annoying and triggers my tinnitus badly. Thankfully I watch\nTwitch via <a class=\"reference external\" href=\"https:\/\/github.com\/streamlink\/streamlink\">Streamlink<\/a>\nwhich I also help maintain. We support a variety of video\nplayers, and one of those players happens to be MPV which supports\nmany FFMPEG options.<\/p>\n<p>Today I decided to figure out whether it was possible to remove this\nsound from streams I watch and it is. By using FFMPEG\u2019s\n<a class=\"reference external\" href=\"https:\/\/ffmpeg.org\/ffmpeg-filters.html#bandreject\">bandreject<\/a>\nyou can remove these sounds with the following Streamlink command:<\/p>\n<div class=\"highlight\"><pre><span><\/span><span class=\"n\">streamlink<\/span> <span class=\"n\">-p<\/span> <span class=\"s1\">&#39;PATH_TO_MPV\\mpv --af=lavfi=&quot;[bandreject=15750:t=h:w=2000]&quot;&#39;<\/span> <span class=\"n\">twitch<\/span><span class=\"p\">.<\/span><span class=\"n\">tv<\/span><span class=\"p\">\/<\/span><span class=\"n\">STREAM<\/span>\n<\/pre><\/div>\n<p>If you want to set this at all times you can do so via the player\noption in your\n<a class=\"reference external\" href=\"https:\/\/streamlink.github.io\/cli.html#configuration-file\">Streamlink config file<\/a>.<\/p>\n<p>You can reduce the <cite>w<\/cite> value down to 1000 and still remove it, but\nI couldn\u2019t tell if it was removing all of the noise or not, I\nbumped it to 2000 and saw no negative impact so I\u2019m keeping it at\nthat to be safe. Hopefully this is helpful for other people who like\nto watch these sorts of streams but suffer from tinnitus and can hear\nthis very annoying frequency.<\/p>\n","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"streamlink"}},{"@attributes":{"term":"mpv"}},{"@attributes":{"term":"ffmpeg"}},{"@attributes":{"term":"health"}}]},{"title":"Reading Year in Review - 2018","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/reading-year-in-review-2018.html","rel":"alternate"}},"published":"2019-01-17T00:00:00+00:00","updated":"2019-01-17T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2019-01-17:\/reading-year-in-review-2018.html","summary":"<p>In 2017 I finished about 18 books and I decided my goal for 2018 was to finish\n48 books. This is a pretty hefty increase but thanks to library related\nservices it made trying to hit this goal much easier. In total for 2018 I\nattempted to read 43 books \u2026<\/p>","content":"<p>In 2017 I finished about 18 books and I decided my goal for 2018 was to finish\n48 books. This is a pretty hefty increase but thanks to library related\nservices it made trying to hit this goal much easier. In total for 2018 I\nattempted to read 43 books and finished 28 of those books. I was able to\nexplore a fair number of genres and styles I wouldn't usually be interested\nin. This did however lead to the abysmal rate of failure above unfortunately\nof 15 books I didn't finish.<\/p>\n<p>For 2019 I'm not sure if I'll try to keep up this rate of reading. As 2018\nprogressed it became harder and harder to find books I was really interested\nin and this negatively impacted my progress to a degree. Around September I\nspent almost 2 hours trying to find new books to read that seemed really\ninteresting to me and I wasn't able to do so. As of January 17th I\nhaven't finished a single book, and the audio book I'm listening to is barely\nstarted. For now I'm just going to try and finish what I have and then go from\nthere. I'm glad I tried to read so many books and am pleased with my progress.<\/p>\n<p>If anything I was able to find what kind of books I know I'm not interested in\nwhich will be very useful for new book searches in the future.<\/p>\n","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"books"}}]},{"title":"Book Reviews - December","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/book-reviews-december.html","rel":"alternate"}},"published":"2019-01-05T00:00:00+00:00","updated":"2019-01-05T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2019-01-05:\/book-reviews-december.html","summary":"<p>This was the last month of year and I came in under my monthly goal again. Due\nto a combination of not being able to find anything I was really passionate\nabout reading coupled with the general end of year activities that can either\nlimit or increase how much a \u2026<\/p>","content":"<p>This was the last month of year and I came in under my monthly goal again. Due\nto a combination of not being able to find anything I was really passionate\nabout reading coupled with the general end of year activities that can either\nlimit or increase how much a person reads. I was in the former category this\nyear and read less over the break.<\/p>\n<div class=\"section\" id=\"legion\">\n<h2>Legion<\/h2>\n<p>Another Brandon Sanderson book which is actually made of up three novellas. I\nthought Legion was pretty interesting. The main character has a sort of\nmultiple personality disorder that manifests itself as different characters\nwhich was interesting and added mystery to the stories. These novellas were\npretty short so I'm just counting all of them together since that's how I read\nthem. I was pretty pleased with the trilogy though I don't think it would be\na universe I would be interested in reading more about as what I read was just\nright for me.<\/p>\n<\/div>\n<div class=\"section\" id=\"a-walk-in-the-woods\">\n<h2>A Walk in the Woods<\/h2>\n<p>This was an divisive book by Bill Bryson for me. It's basically a narrative of\nhim hiking parts of the Appalachian Trail. I enjoyed the parts of the book\ntalking about his journey along the trail but found other portions to be\nsomewhat lackluster. While the journey is interesting he goes off the rails\nall the time with various tidbits of information about various people, places,\nand other tangentially related quips. If he had stuck to just his time on the\ntrail the book would have been at least 50% shorter I imagine. So while I\nfound the book to be pretty good there were parts that definitely dragged I\ncould easily have done without.<\/p>\n<\/div>\n<div class=\"section\" id=\"neuromancer\">\n<h2>Neuromancer<\/h2>\n<p>An older cyberpunk style book that imagines what our future might look like, I\nthought I'd give this a chance. Sadly I hated the main character and found the\nworld to be a bit underwhelming. A lot of this is due to the impact\nNeuromancer had on works that came after it but it just didn't impress me and\nI only read for about an hour before getting bored, putting it down, and never\ncoming back to it. If you really want to journey back to a book that\ninspired future works it's worth taking a look at with the understanding it\nwill be somewhat limited. Otherwise I would skip Neuromancer.<\/p>\n<\/div>\n<div class=\"section\" id=\"only-human\">\n<h2>Only Human<\/h2>\n<p>This is the third book in Sylvain Neuvel's trilogy and I barely made it\nthrough 1\/4 of the audio book before giving up. The previous two were pretty\ngood but there's so much focus on humanity in this one it's not very\ninteresting. On top of that many of the new characters introduced as well as\nsome of the existing characters are annoying, whiny, and downright boring to\nhear about. I really wish I could say that I finished this since I\ninvested time into the other two books but I just couldn't. I ended up reading\na plot synopsis and it made me even happier that I didn't spend more time on\nthis one. Very underwhelming and very disappointing. The things we don't care\nabout get too much attention, and the things we are actually interested in\nafter the last book are almost completely ignored.<\/p>\n<\/div>\n","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"books"}}]},{"title":"Book Reviews - November","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/book-reviews-november.html","rel":"alternate"}},"published":"2018-12-01T00:00:00+00:00","updated":"2018-12-01T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2018-12-01:\/book-reviews-november.html","summary":"<p>I didn't read quite as much as I would have liked to in November since I\nstarted a new job and was getting into the swing of things so it took me\na bit longer than usual to finish what I did read. In total I finished 2\nbooks which \u2026<\/p>","content":"<p>I didn't read quite as much as I would have liked to in November since I\nstarted a new job and was getting into the swing of things so it took me\na bit longer than usual to finish what I did read. In total I finished 2\nbooks which is only half way to my monthly goal.<\/p>\n<div class=\"section\" id=\"the-hero-of-ages\">\n<h2>The Hero of Ages<\/h2>\n<p>This was by far the longest book (or audio book in this case) that I finished this month.\nThe final part of the trilogy The Hero of Ages was a pretty good wrap up for\nthe story. I did feel as though a few parts were somewhat drawn out, but the\ncharacter development continued to be good, and the ending was quite\ninteresting and I didn't see it coming which is always nice. I don't think\nthis trilogy has been as strong as Way of Kings has been, but it just goes to\nshow much Sanderson has continued developing as an author and it's very cool\nto see how far he's come in that time.<\/p>\n<\/div>\n<div class=\"section\" id=\"snow-crash\">\n<h2>Snow Crash<\/h2>\n<p>I haven't had much luck with Neal Stephenson books and Snow Crash was\nunfortunately no different. Once again he goes crazy with the exposition,\nevery neon sign built into a character, every dumpster, bush, and shrub given\na life to live and I just get tired of it. It's exhausting to have so much\nthrown at you that matters so little to the story, the universe, or the\ncharacters. Everything is over described and it's just not something I enjoy\nreading. I have an imagination that I'm more than capable of using if Neal\nwould just give it a rest for five minutes and get on with the story instead\nof explaining the value of yet another grain of sand along the roadside. This\nis probably the last Neal Stephenson book I'll try as several books later I'm\nstill yet to make it past a chapter or two.<\/p>\n<\/div>\n<div class=\"section\" id=\"head-on\">\n<h2>Head On<\/h2>\n<p>The second book in Scalzi's Lock In universe this continues the story of our\nprotagonist, his partner, and their FBI jobs. It's another relatively quick\nread with very little fluff and lots of interesting world building that\ndoesn't hit you over the head. I don't think it was the as good as the first\nbook simply because the secondary characters, as well as the overall story\naren't quite as interesting as the first. It also doesn't help that Scalzi\nhas treated this book in a way that allows people who didn't read the first\nbook to jump right in. While it's helpful for people who may not have read the\nfirst one the repeated explanations of concepts and ideas that were already\nexplored in the first book becomes somewhat tiresome and annoying for anyone\nwho remembers what happened originally and how the universe works. The story is\ngood but I feel like there's so much more that could have been done past what\nwe saw here and I hope he continues building this interesting universe minus\nexplaining how the basics work for a third time.<\/p>\n<\/div>\n<div class=\"section\" id=\"the-long-way-to-a-small-angry-planet\">\n<h2>The Long Way to a Small, Angry Planet<\/h2>\n<p>Another (thankfully) quick failure this month, I made it less than 15 minutes\ninto the audio book version of this book before I put it down. I typically\nlisten to audio books at 1.5x speed due to how slowly narrators speak but that\ndidn't help here due to long pauses after every single sentence. It was as if\neach sentence was a statement. Commas were treated like periods, and periods\nlike the end of a chapter. I'm not sure who decided this but it's a problem\nyou can't get around simply by cranking up the speed as the narrator can no\nlonger be understood, but the pauses drive into your ears like ice picks. I\nwas pretty bummed by this as the book has gotten good reviews. Maybe at some\npoint I'll go back and give the written version a shot as I can read at my\nown pace, but for now the audio book doesn't do it for me.<\/p>\n<\/div>\n<div class=\"section\" id=\"salvation\">\n<h2>Salvation<\/h2>\n<p>I gave up on this audio book due to audio quality (again) and realized that\nit's also by Tantor Media which is the same company that handled Pandora's\nStar which I gave up on previously. I'm not sure what's going on since this\nis a 2018 release, but the audio quality is just too low. I don't really\nknow what to say past that other than what is going on at Tantor Media? Is no\none listening to these books before they get sent out? Or is Libby doing\nsomething weird with the audio compression? I don't have this issue with other\naudio books so I'm really not sure but it's quite disappointing.<\/p>\n<\/div>\n","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"books"}}]},{"title":"Book Reviews - October","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/book-reviews-october.html","rel":"alternate"}},"published":"2018-11-07T00:00:00+00:00","updated":"2018-11-07T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2018-11-07:\/book-reviews-october.html","summary":"<p>October turned out to be a both a pretty good month for completing books, but\nalso a bit of a bummer for various reasons. I didn't make my goal of\ncompleting 4 books but I came pretty close. On top of that I definitely\nenjoyed the books I did finish \u2026<\/p>","content":"<p>October turned out to be a both a pretty good month for completing books, but\nalso a bit of a bummer for various reasons. I didn't make my goal of\ncompleting 4 books but I came pretty close. On top of that I definitely\nenjoyed the books I did finish so that was nice.<\/p>\n<div class=\"section\" id=\"fuzzy-nation\">\n<h2>Fuzzy Nation<\/h2>\n<p>Another relatively light but enjoyable read by John Scalzi. This one was a bit\npredictable in terms of where it would generally go, but had some good\nrevelations in the middle that made it worth reading to the end. I've been\nenjoying a fair number of Scalzi books lately and while I don't think this is\nhis best work (it's not quite as inventive or original as some of his other\nbooks) it's definitely worth reading, especially since you can finish it in\njust a few hours. This one would be great to take on a trip.<\/p>\n<\/div>\n<div class=\"section\" id=\"the-girl-with-all-the-gifts\">\n<h2>The Girl With All the Gifts<\/h2>\n<p>This was a pretty interesting post apocalypse\/zombie style book that went off\nof the normal path which I appreciated. I've grown pretty tired of zombie\nbooks so as certain things were revealed in this one I wasn't sure whether I\nwas going to finish it or not. I ended up finishing it and think it was worth\nmy time. The premise is pretty original and the ending is a refreshing take on\nyour typical zombie survival story.<\/p>\n<\/div>\n<div class=\"section\" id=\"semiosis\">\n<h2>Semiosis<\/h2>\n<p>The first failure for this month. Part of it came from it being a survival\nnovel, and the rest was mostly the scenario and the characters. Due to the\nnarrative structure of the book (it's generation based) you have to be okay\nwith constantly switching perspectives. While I can get behind this I don't\nfeel like the world building was satisfying enough. It felt both rushed and\nreally slow paced at the same time, there was a lot of nothing happening and\nwhile I can appreciate that world building it just didn't feel like it was\nactually building a world in this book. Every chapter I read was a slog to get\nthrough and I found myself becoming easily distracted and not drawn in at\nall by what was happening in the story. It was pretty boring and I was pretty\nbummed out by this because the world could have been interesting, but it was\nlike we were exploring the most dull and uninteresting parts of it.<\/p>\n<\/div>\n<div class=\"section\" id=\"pandora-s-star\">\n<h2>Pandora's Star<\/h2>\n<p>I listened to the audio book version of this one and it's the first book I\nhaven't finished due to technical issues. The audio quality of this book was\nso bad I couldn't bring myself to finish it. I'm using Libby to listen to the\naudio books I check out, and while quality could generally be higher (it's a\nbit compressed which is annoying but understandable) this one was just awful.\nIt was like they recorded it for a cassette tape, then someone took that tape,\nconverted it to CD, and then they took that audio and compressed it for the\ndigital version. It was so bad I was sometimes having a hard time\nunderstanding the narrator. The story was okay, but I was so distracted by\nhaving to constantly focus on the audio to an extreme extent that I just gave\nup on it.<\/p>\n<\/div>\n<div class=\"section\" id=\"senlin-ascends\">\n<h2>Senlin Ascends<\/h2>\n<p>Another failure for this month, I made it about 40% of the way through Senlin\nAscends before I gave up. I wanted to branch out a bit this month and read\nbooks that typically wouldn't be in my wheelhouse, but this one plus Semiosis\nis making me reconsider that decision. The story in Senlin Ascends wasn't bad\nbut it also wasn't gripping. It's basically the story of a naive introvert\nbreaking out of his shell, but once again we get into too many details. This\nbook is nearly 450 pages long, and in the ~200 pages I read very little occurs\nand what does occur is just odd. I understand the need to build the story and\nto try and create excitement through events, but the events just make you go\n&quot;huh, I wish I could learn more about this thing than continuing the story of\nthis boring little man and his uninteresting mission&quot;. The main issue is that\nthe tower itself is more interesting than the character, which I'm sure was\nthe intent, but the main character is such a boring dullard that you can't\nempathize with him at all so you just feel like an outsider in both the\nsetting and the character. I was pretty bummed by this one and it took me a\nwhile to even make it through what I did.<\/p>\n<\/div>\n<div class=\"section\" id=\"the-well-of-ascension\">\n<h2>The Well of Ascension<\/h2>\n<p>This month's big book is the second in the Mistborn trilogy and continued an\nexcellent story though it's not as strong as the first. I listened to the\naudio book version just like in the first book, and the narration was once\nagain excellent. The story in this one digs into the relationship between\ncharacters more and some political aspects that brought it down a bit, but I\nstill enjoyed it overall and am looking forward to the third book. I\nunderstand the reasoning behind many of the choices in the book and why it\nneeded to be set in the scenario that it was, but I still found some of the\nplot points to be a bit dull, and there wasn't as much general excitement and\ninterested as in the first. Hopefully the third book will be a great finale\nto the trilogy.<\/p>\n<\/div>\n","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"books"}}]},{"title":"Every company should have a 401(k)","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/every-company-should-have-a-401k.html","rel":"alternate"}},"published":"2018-10-16T00:00:00+00:00","updated":"2018-10-16T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2018-10-16:\/every-company-should-have-a-401k.html","summary":"<p>I've been searching for a job for a while now and there's one benefit that is\nconstantly getting overlooked and that's a 401(k). In the past setting up,\nmanaging, and running a 401k was difficult or you had to bring in some big\nbank to handle it for you \u2026<\/p>","content":"<p>I've been searching for a job for a while now and there's one benefit that is\nconstantly getting overlooked and that's a 401(k). In the past setting up,\nmanaging, and running a 401k was difficult or you had to bring in some big\nbank to handle it for you. It was also expensive to administer the plan which\nmade it hard for small orgs. This is no longer the case and I believe that\nevery startup that doesn't offer a 401k is potentially missing out on a very\nsimple and relatively cheap employee benefit that makes your org a lot more\nattractive to potential employees.<\/p>\n<p>If you're not familiar with a 401k it's a type of investment account (take a\nlook at Nerdwallet: <a class=\"reference external\" href=\"https:\/\/www.nerdwallet.com\/blog\/investing\/what-is-a-401k\/\">https:\/\/www.nerdwallet.com\/blog\/investing\/what-is-a-401k\/<\/a>\nor check out Wikipedia) that\nallows you to invest a significant amount of money before you're taxed and at\nthis point it's $18,500. This not only sets you up for future\nretirement but also reduces your tax burden so every dollar you earn is worth\nmore. It's a significant amount of savings for most IT professionals and it\nmakes the total compensation package of the position people are filling that\nmuch more attractive. Some companies do even better than simply offering one\nand they'll match a portion of your salary which let's you go above the\n$18,500 limit and this makes the job even more attractive!<\/p>\n<p>So why doesn't every company offer a 401(k)? If it's so beneficial for\nemployees (even without the match) then shouldn't it be front and center\non every job posting? Well sadly that's not the case currently. I\nwould say 75% of the companies I've talked to don't offer a 401(k), and if\nthey do the recruiter has almost no details about the plan itself. I'm not\nsure if that's because they don't contribute to their own 401(k), or if they\nsimply don't have all the details, but it's quite baffling.<\/p>\n<p>Companies don't offer them for a variety of reasons and most aren't valid any\nlonger. It used to be that setting up and managing the plan was too annoying,\nthere were bad fund, or worst of all high fees associated with simply having\nthe plan which either the employer would take on, or they would pass on to\nemployees.<\/p>\n<p>That's no longer the case and if someone uses this justification they're\nsimply uninformed or too cheap to investigate. Companies like Guideline\n(<a class=\"reference external\" href=\"https:\/\/www.guideline.com\/\">https:\/\/www.guideline.com\/<\/a>) now offer amazing 401(k) options that are\nextremely cheap for both organizations and employees (For full disclosure\nI have a 401(k) through Guideline). They charge employers $500 to do\nthe initial setup then $8 a month per employee to keep the plan running. This\nis ridiculously cheap when you consider that offering a 401(k) as a benefit to\nyour employees can potentially save them upwards of $5000 in taxes and set\nthem up for retirement. On top of that as a participant they don't charge me\nanything to use the service and all I pay are the standard fees associated\nwith buying the funds. The offer a variety of funds including Vanguard Index\nfunds which are basically the best of the best when it comes to low fees and\nexcellent returns. It's a no brainer as an employee to contribute and it\nshould be a no brainer for companies to set up with one of the companies\noffering 401(k)s.<\/p>\n<p>So if your company still isn't offering a 401(k) it's time to talk about why\nand really understand if your employer is simply too cheap to set up a\n401(k) or if they have other concerns that aren't being addressed. It's\nimportant that everyone looks out for their own financial future, so talk to\nyour employer about setting up a 401(k) with a company such as Guideline. It's\ngoing to cost them less than they're going to spend on a flight and hotel for\nthe next person they interview and it will make both existing employees as\nwell as potential hires much more receptive to the position.<\/p>\n<p>Having a 401(k) at your organization is huge, and when you're knowledgeable\nabout what it offers, how much it costs, and how much it can improve the\nbenefits of your organization there's no reason not to spend a bit of time\nlooking into the options. If you really want to go above and beyond as an\norganization and impress potential employees even more you can offer a\npercentage match based on salary (and make sure that if you do this you\n&quot;true up&quot; so that more financially savvy employees who front-load their\n401(k) recieve the same match instead of doing a monthly match). These\ntypes of programs are actually really cheap (a 5% match of $175,000 is only\n$8750) and are a huge benefit that many employees will be driven to take\nadvantage of. Potential candidates will also find them extremely appealing.<\/p>\n<p>So, let's bullet point this real quick if I haven't already sold you on one of\nthe best benefits you can offer employees with a lower cost than printing up\nt-shirts, flying someone to your office, or giving everyone ridiculous swag\ncoffee mugs they really don't want.<\/p>\n<ul class=\"simple\">\n<li>A 401(k) is actually really cheap to set up now, costing as little as $500\nwith a monthly fee of $8 per employee, and no extra fees for employees.<\/li>\n<li>With many of the startup based orgs out there it's mostly set it and forget\nit for your US employees with great funds available for them.<\/li>\n<li>Employees can save a lot of cash when you offer a 401(k) both to secure\ntheir financial future and save them money on taxes which makes your job\noffer much more appealing.<\/li>\n<li>Offering a 401(k) isn't as common as you think and offering one is a huge\nbenefit to many employees. Matching a salary percentage is icing on the cake\nand really cheap in the long run for employee retainment.<\/li>\n<li>Being familiar with what your 401(k) offers shows potential employees that\nyou really care about their financial future and that you want everyone to\ntake advantage of these benefits.<\/li>\n<li>Everyone who works at the company can take advantage of a 401(k) from the\nCEO to your support staff.<\/li>\n<li>Did I already mention how cheap it is? I've legitimately offered to pay the\nfee to set it up at an organization because it would save me that much money\non my taxes. It's a no brainer.<\/li>\n<\/ul>\n<p>Hopefully this has sparked some interest in at least a few people to take a\ncloser look and truly recognize how cheap these 401(k) services have become in\nterms of what they charge. If you're reading this and you're at a company that\ndoesn't already have a 401(k) consider talking to your HR department. If\nyou're a CEO or other C level exec, you should probably talk to finance about\nsetting one up immediately. Providing you company and fellow employees with\ndetails regarding how it saves everyone more money, and helps bring in talent\ncan be a huge eye opener for many people throughout your leadership team. The\nworst thing they can say is no, and then when you decide to leave at some\npoint in the future you can add &quot;no 401(k)&quot; when they ask why to really show\njust how important securing your financial future is.<\/p>\n<p>This is part 1 of a 5 part series talking about building a 401(k) so good\nemployees won't believe that it's real and employers won't believe how cheap\nit is to implement.<\/p>\n<p><a class=\"reference external\" href=\"https:\/\/hungryadmin.com\/every-company-should-have-a-401k.html\">Part 1: Every company should have a 401(k)<\/a><\/p>\n<p><a class=\"reference external\" href=\"https:\/\/hungryadmin.com\/your-company-should-be-matching-401k-contributions.html\">Part 2: Your company should be matching 401(k) contributions<\/a><\/p>\n<p><a class=\"reference external\" href=\"https:\/\/hungryadmin.com\/a-safe-harbor-401k-is-worth-the-expense.html\">Part 3: A safe harbor 401(k) is worth the expense<\/a><\/p>\n<p><a class=\"reference external\" href=\"https:\/\/hungryadmin.com\/true-up-or-stress-out-employees-with-your-401k-offering.html\">Part 4: True-up or stress out employees with your 401(k) offering<\/a><\/p>\n<p><a class=\"reference external\" href=\"https:\/\/hungryadmin.com\/building-the-ultimate-401k-for-your-company.html\">Part 5: Building the ultimate 401(k) for your company<\/a><\/p>\n","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"work"}},{"@attributes":{"term":"retirement"}}]},{"title":"Primeminder Postmortem","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/primeminder-postmortem.html","rel":"alternate"}},"published":"2018-10-12T00:00:00+00:00","updated":"2018-10-12T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2018-10-12:\/primeminder-postmortem.html","summary":"<p>Last week I sent out an announcement email to my project's mailing\nlist to inform users that I would be shutting down my latest side project\n<a class=\"reference external\" href=\"https:\/\/github.com\/gravyboat\/primeminder\">Primeminder<\/a>.<\/p>\n<p>I've done one of these\n<a class=\"reference external\" href=\"https:\/\/hungryadmin.com\/a-failed-projects-postmortem.html\">postmortems before<\/a>\nfor a side project, and figured since I was shutting down Primeminder I might\nas well \u2026<\/p>","content":"<p>Last week I sent out an announcement email to my project's mailing\nlist to inform users that I would be shutting down my latest side project\n<a class=\"reference external\" href=\"https:\/\/github.com\/gravyboat\/primeminder\">Primeminder<\/a>.<\/p>\n<p>I've done one of these\n<a class=\"reference external\" href=\"https:\/\/hungryadmin.com\/a-failed-projects-postmortem.html\">postmortems before<\/a>\nfor a side project, and figured since I was shutting down Primeminder I might\nas well do another one since it could be helpful for people who are interested\nin this space and can potentially avoid the pitfalls I encountered. I learned\na lot from my previous venture but not quite as much from this one though I\nstill found the insights very valuable. I think that (again) I failed a bit\non the marketing side and I definitely underestimated certain aspects of this\nspace which were important so let's get to the details.<\/p>\n<div class=\"section\" id=\"what-is-primeminder\">\n<h2>What is Primeminder?<\/h2>\n<p>I'm a big fan of Twitch.tv (if you're not familiar with Twitch it's a platform\nwhere people can stream themselves playing video games and you can support\nthem financially via a monthly recurring $5 fee). There's a huge amount\nof variety in both personality and content which leads to some really fun\nstreams. It's great to have in the background while you work on something or\ngetting a first look at the latest video games when they come out to decide if\nyou're interested in purchasing them. I've also been one of the maintainers\nfor <a class=\"reference external\" href=\"https:\/\/github.com\/streamlink\/streamlink\">Streamlink<\/a> ever since we\nforked it from Livestreamer (which I was using as well) so I have a lot of\ninterest in this community and the tools built around it.<\/p>\n<p>When Amazon acquired Twitch and then launched their Twitch Prime service\n(it allows you to subscribe to a streamer for free if you have Amazon Prime\nso it's basically $5 per month you don't have to pay and was a pretty good\nbenefit at the time) I was really excited to see if anyone would launch a\nproduct designed to capture these users. It's very common on a stream to hear\nthe streamer remind people multiple times an hour to\n&quot;subscribe with Twitch Prime!&quot; because it doesn't cost Prime users anything\nextra. The catch is that your Twitch Prime subscription doesn't renew\nautomatically every month like a regular subscription and you have to renew\nit manually. This meant that a lot of streamers were constantly reminding\ntheir viewers to either subscribe with Twitch Prime or check if their\nsubscription was available to be used.<\/p>\n<p>To me this was an obvious act on the part of Amazon to hopefully avoid paying\nout because people would forget to renew. As someone who watches Twitch\nregularly this seemed like an amazing area of neglect on Amazon's part and I\nwas excited to explore potential ways to work around this monthly renewal.\nInitially I considered what would be the best way to make this work that\nwas directly integrated with Twitch. If you could get the status of a\nsubscriber (something you can do now to an extent) then confirm whether they\nused Twitch Prime via the API you could set up a database of these users when\nthey renew and remind them later. So you could approach streamers directly,\nnote how many Twitch Prime subscribers they had (when they auth via the API\nwith their creds of course), and then charge them a small monthly fee per\nTwitch Prime user to remind these users to renew in a variety of ways whether\nit was directly via DM\/chat on Twitch, email, SMS, or some other method.<\/p>\n<p>Unfortunately after quite a bit of investigation and waiting it became clear\nthat the devs at Twitch weren't going to provide this information via the API\nand were in fact obfuscating it likely so people couldn't do exactly what I\nwanted to do. This was a big blow because it meant streamers would instead\nhave to push their users to some sort of third party site which I've found\nmany streamers hate doing (surprisingly they're okay with it for giveaways\nthat ask for a lot of access, but otherwise they aren't okay with it).<\/p>\n<p>I decided to build out an application that would be really simplistic. A one\npage static site where users could enter their email address and I would send\nthem an email every month (30 days after their sign up date, 30 days after\nthat, etc., etc.) to remind them to use Twitch Prime. I figured this would\nbe a great way to try and help streamers maintain their Twitch Prime viewers,\nit would reduce the amount of times I had to hear &quot;Subscribe with Twitch\nPrime&quot;, and since I was the one offering the service I knew it would respect\nuser privacy and avoid harvesting their information for malicious means. I was\nhopeful that I could get users to support the service through\nAmazon affiliate links since they were already using Prime. It was not\nintrusive and seemed like a win-win for everyone involved. Streamers made more\nmoney, users didn't have to stress about checking Twitch Prime, and I could\nafford to run the service with some profit while providing a privacy focused\napp.<\/p>\n<p>Little did I know that this wouldn't be the case at all.<\/p>\n<\/div>\n<div class=\"section\" id=\"avoiding-past-failures-and-pitfalls\">\n<h2>Avoiding Past Failures and Pitfalls<\/h2>\n<p>I <a class=\"reference external\" href=\"https:\/\/hungryadmin.com\/a-failed-projects-postmortem.html\">previously wrote about another application of mine that shut down<\/a>. Paying\nfor marketing was a total failure, and I knew due to the way Twitch works that\nI wouldn't be able to get advertising without shelling out a lot of money. On\ntop of this Twitch users HATE advertisements (I do too), and selling out has\nbeen turned into a meme it's hated so much. This meant that the only way I saw\nthe site coming into focus was being honest with users and streamers about\nwhat the purpose of the site was, how it made money, and what their\ninformation would be used for. Trust has to be built between streamers and their\ncommunity and it was critical to me that this trust wasn't damaged, especially\nsince this was a third party application from some random guy.<\/p>\n<p>I decided to reach out to a fair number of streamers that I watch regularly\nas well as a friend of mine who streams to a smaller audience in the hopes of\nmaking some inroads and organically growing the service. This would avoid the\nfirst pitfall I encountered before where paid marketing did nothing and was a\ntotal loss. It also ensured that people knew I was sincere and honest with\nwhat I was trying to get them to use. I refused to spam anyone's chat, do\nadvertisements disguised as donations, or anything along those lines to\nensure credibility was maintained. Maybe this was a mistake but I don't see\nthe point in launching a compromised product to this type of community.\nTrust is really important as Twitch viewers never forget when people lie or do\nsomething deceitful. As someone who is part of this community and enjoys it as\nwell as maintaining a large open source project that a lot of people use it's\nimportant that I'm straightforward and honest even when I remain mostly\nanonymous and behind the scenes.<\/p>\n<p>In addition to avoiding marketing failures like last time I made sure the\nsite was extremely fast to load and mobile friendly on a variety of\ndevices. A large number of people watch Twitch via mobile devices now so it\nwas important to me that performance and user experience were excellent on\nthat front. My hope was that a simple interface, and clear, concise emails\nwould really benefit my users so that's what I did.<\/p>\n<p>Here's what the site looked like when it was live. It's a single page (split\ninto two images here to be less jarring) with a sign up section, and a support\nsection that provides a variety of ways people can support the project if they\nare interested in doing so:<\/p>\n<img alt=\"sign_up\" class=\"align-center\" src=\"images\/primeminder_sign_up.PNG\" \/>\n<img alt=\"support\" class=\"align-center\" src=\"images\/primeminder_support.PNG\" \/>\n<p>On mobile it used a condensed version that only required a single swipe to move\nbetween each section of the application and you are presented with the sign up\nimmediately upon hitting the website to avoid annoyance. The site uses zero\ntracking or analytics tools minus Amazon's &quot;smart location&quot; for when people\nclick on that link to be directed to the right country for Amazon since the\nTwitch community spans the entire globe. There are no pop-ups, reminders, or\nany other annoying nonsense. All in all a pretty simple site that then hooked\ninto Mailchimp for the mailing list portion. Once a user was signed up they\nreceived the following email:<\/p>\n<img alt=\"sign_up_email\" class=\"align-center\" src=\"images\/example_sign_up_email.PNG\" \/>\n<p>It provided a simple condensed confirmation email with a link to support the\napplication if people wanted to do so. Every thirty days after users received\na similar email reminding them to resubscribe:<\/p>\n<img alt=\"monthly_email\" class=\"align-center\" src=\"images\/example_monthly_email.PNG\" \/>\n<p>This monthly email was designed to remind users to renew Twitch Prime and it\nspecifically didn't take into account or request information about who a user\nsubscribed to. One of the fun parts of Twitch Prime is supporting smaller\nstreamers or switching who you support every month if you don't care about\nkeeping your streak going and I wanted to support that endeavor.<\/p>\n<p>When I contacted Streamers I was honest and forthcoming about what the tool\nwas for and what benefit it provided to them. I sent the following email to\nsome of my favorite streamers (both big and small) after talking to a friend\nof mine and getting the green light that the content made sense and answered\nmost of the questions that would come up:<\/p>\n<blockquote>\n<p>Hello Streamer's name,<\/p>\n<p>I've been watching your channel for a while and I noticed that you have a lot\nof subscribers that are Twitch Prime users. I'm not sure if this will be\nsomething you're interested in but I recently launched a free service that\nsends people monthly email reminders so they can renew Twitch Prime since it\ndoesn't automatically renew. I was hoping to get your feedback and see if this\nis something you feel would benefit your users. The tool I built is\n<a class=\"reference external\" href=\"https:\/\/primeminder.com\">https:\/\/primeminder.com<\/a>. I've included some examples of the emails that users\nwould receive on sign up and every month after that until they unsubscribe.<\/p>\n<p>I've put together a little FAQ below of the most common questions people have\nasked me:<\/p>\n<p>How is this paid for?<\/p>\n<p>Right now it's all out of my own pocket, my hopeful plan is that people will\nsupport the site via Amazon Affiliate links that are available from the\n&quot;Support Us&quot; section of the web page. I'd also like to eventually get some\nsponsors that would be included in the email in a non-obtrusive way.<\/p>\n<p>Do streamers have to pay anything?<\/p>\n<p>Not currently. I'm looking at adding optional payments that streamers could\nmake to the service on a monthly basis to help support the hosting and email\ncosts, but right now I just want to get it into the hands of users so that\npeople don't have lapsed subscriptions.<\/p>\n<p>Does this favor any specific streamer?<\/p>\n<p>When I created this I purposefully designed it so the email and site remain\nambiguous. I know that a lot of people like to swap who gets their Twitch\nPrime subscription and I want to ensure my service supports that while gently\nreminding people that they can subscribe to someone again.<\/p>\n<p>Do users receive solicitations or other emails?<\/p>\n<p>Nope, it's just the sign up confirmation email, and then the monthly email\nthat I linked.<\/p>\n<p>How do I get people to use this?<\/p>\n<p>Currently I'm just suggesting people modify their &quot;Thanks for signing up with\nTwitch Prime&quot; message so that it includes a link to the Primeminder page with\nwhatever wording they feel fits their audience. The reminder emails don't have\nany sort of intelligence so if someone signs up weeks after they subscribe,\nthey'll get the email late (though that's still better than no reminder at all).<\/p>\n<p>Thanks,<\/p>\n<p>Forrest<\/p>\n<\/blockquote>\n<p>I hoped that all of these elements put together would provide some pretty\npositive results and excitement from streamers as it made one part of their\njobs easier and less problematic but I was wrong.<\/p>\n<\/div>\n<div class=\"section\" id=\"the-absolute-failure-of-primeminder\">\n<h2>The Absolute Failure of Primeminder<\/h2>\n<p>Primeminder turned out to be a pretty big failure. Remote First failed due to\na lack of familiarity with marketing and saturation. I was hoping that\nPrimeminder would do better thanks to my familiarity with the community,\ntools, and general attitude of users and viewers. Over the first month of the\nsite's launch I contacted a fair number of streamers to see if they would have\nany interest. I had hoped to hear back from them either in the negative or\npositive (feedback would have been great), but in reality I never heard back\nfrom a single streamer. I followed up with a few of them, but never received\nany sort of response or acknowledgement of any kind. I also spoke to a friend\nof mine who streams to roughly 25-50 people every night (the same friend who\nhad helped with the email and initial idea bouncing since he was streaming\nregularly) and he agreed to both tweet about it and bring it up on his\nnext stream.<\/p>\n<p>On top of doing these things he was also kind enough to mention it in a\nstreamer Discord he was part of that had some fairly large streamers\n(500-1000 viewers) in it to see if we could get any traction there as he\ngenuinely agreed with the tool being useful and helpful for viewers. In total\nthe number of subscribers to Primeminder outside of myself and my streamer\nfriend totaled 1 person. I waited to hear back from the initial streamers I\ncontacted, followed up, and then contacted other streamers I didn't watch as\nregularly but never received a response. I even went as far as to donate to\na streamer that has &quot;private&quot; donations that only the streamer can see\ntalking about the tool and asking them to take a look if they had time, they\nacknowledged it but there was no further follow up to either the donation or\nthe email that I sent them on the topic.<\/p>\n<p>I let Primeminder run for about 7 months before I gave up on it. I didn't have\nanyone else to reach out to and I even tried contacting a few streamers I\nwas familiar with that ran a lot more paid promotions and other sponsorship\nevents to see if they would be interested but I didn't receive a single\nresponse. I didn't run any ads as there was nowhere really good to do so\noutside of Reddit and I mentioned in my previous post mortem about how\nbad the RoI is on those ads. I simply ran out of ideas for how to market\nthe site in a way that made sense for the audience in question in a very\ntargeted way that didn't feel scummy.<\/p>\n<p>In the future I'll plan to try and make word of mouth between users of any\nsort of tool or site I frequent as the main avenue for advertising. This is\nprobably going to cost a bit more but I see no other way to get my foot in\nthe door for this kind of project. Approaching streamers was a complete\nfailure and none of them followed up with me in any way. I assume they get\na large number of emails every day so this is something I'll have to think\nabout and consider in the future for what kind of products I want to build\nas well as what sort of demographic exists to build interest in the product.<\/p>\n<p>I'm not pleased with the results here obviously but I still learned a lot\nand it's clear that I need to continue to improve my marketing and research\non that front. I also need to swallow the tough realization that to get this\nsort of product off the ground I'm probably going to have to invest a\nsignificant amount of money into advertising in unconventional ways.<\/p>\n<\/div>\n<div class=\"section\" id=\"what-failure-costs\">\n<h2>What Failure Costs<\/h2>\n<p>Once again I made $0 off of this project, and ended up losing money. Here's\nthe breakdown in terms of hours and money spent:<\/p>\n<p>Hosting: $5\/month (7 months) - $35<\/p>\n<p>Domain Registration: $15.50\/year - $15.50<\/p>\n<p>PO Box Rental: $15\/month - $105<\/p>\n<p>Total: $155.50<\/p>\n<p>On top of these costs it took me about 20 hours to research, design, and\nbuild the site\/emails. Then somewhere between 15-20 hours to email streamers,\nfollow up, and explore other potential avenues to get people interested. I\ndidn't want to make the same mistake as last time where I didn't do enough on\nthe marketing side of things so I made sure to really try and push that as\nmuch as I could this time around even though it was still a total faceplant.\nWhile I had some word of mouth and excitement built around the product it\nwasn't anywhere near enough to get the sort of traction that I wanted, and\nimpact from the product being mentioned on a stream\/Twitter was really really\nlow.<\/p>\n<\/div>\n<div class=\"section\" id=\"closing-out-the-project\">\n<h2>Closing Out The Project<\/h2>\n<p>At this point the site is shut down and all the recurring service fees have\nalready been dealt with. I've made the site code open source and you can\nreview the following repos if you have any interest there:<\/p>\n<p>Site code: <a class=\"reference external\" href=\"https:\/\/github.com\/gravyboat\/primeminder\">https:\/\/github.com\/gravyboat\/primeminder<\/a><\/p>\n<p>Salt based deployment code: <a class=\"reference external\" href=\"https:\/\/github.com\/gravyboat\/primeminder-salt\">https:\/\/github.com\/gravyboat\/primeminder-salt<\/a><\/p>\n<p>If anyone finds these beneficial I'd be happy to hear about what you built!<\/p>\n<\/div>\n","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"open source"}},{"@attributes":{"term":"Salt"}},{"@attributes":{"term":"GitHub"}},{"@attributes":{"term":"bootstrap4"}},{"@attributes":{"term":"static"}},{"@attributes":{"term":"html"}},{"@attributes":{"term":"git"}},{"@attributes":{"term":"primeminder.com"}}]},{"title":"Mission vs Money vs Ethics","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/mission-vs-money-vs-ethics.html","rel":"alternate"}},"published":"2018-10-08T00:00:00+00:00","updated":"2018-10-08T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2018-10-08:\/mission-vs-money-vs-ethics.html","summary":"<p>Since I was let go from my job I\u2019ve been back on the job hunt. My goals over\nthe last few years have had a pretty simply motto, make as much money as I\ncan as ethically as I can. This means that I\u2019m not willing to work \u2026<\/p>","content":"<p>Since I was let go from my job I\u2019ve been back on the job hunt. My goals over\nthe last few years have had a pretty simply motto, make as much money as I\ncan as ethically as I can. This means that I\u2019m not willing to work in certain\nindustries, or for specific companies. It\u2019s important that I can wake up every\nday and see myself as creating something worthwhile, even if it\u2019s not a game\nchanger. In the past few weeks I\u2019ve gotten to final discussions with a few\ncompanies regarding salary, or getting the last of my questions answered when\nit came to a questionable organization. I decided it was time to write a\nlittle bit about this because it\u2019s been a struggle. Constantly interviewing\nwith companies sucks, but working for somewhere that is ethically questionable\nsucks even more.<\/p>\n<p>As this post is titled it\u2019s recently come down to a few things, the mission of\nthe organization, the money they offer, and the ethics of what they do.\nSometimes the mission is there, but the money isn\u2019t, and sometimes they have\nthe money, but I can\u2019t ethically work there because of what they do (military\ncontractors, some banks, companies like Comcast, etc.)<\/p>\n<p>A few weeks ago I finished my final interview with an awesome non-profit. I\nwas excited about what they were doing and the potential impact I could have.\nI had already talked to the CEO once and brought up my concerns over salary in\nthe non-profit space and he assured me that they paid competitively and\nfairly. When the CEO called and let me know that I was their first choice and\npeople were excited to work with me I was ecstatic as I was looking forward to\nworking with them as well. Their mission was cool, and I\u2019ve been hoping to\nwork for an organization doing good for quite some time. Then came the\ndiscussion about money. I was hopeful as we had previously talked about\nhow they were competitive. The CEO explained their benefits to me, how they\nwere willing to be flexible depending on people\u2019s needs and so forth. All\ngreat things to hear. Then he asked about my salary range, and I provided it\nand it was lower than my typical range would be as I was willing to sacrifice\na bit of money because of the mission.<\/p>\n<p>This was when the disappointment set in. He explained the situation, the fact\nthey were a non-profit and couldn\u2019t offer west coast style salaries (my\nrange was pretty generous in this regard plus their finances are public so I\nknew it wasn't outside the realm of what was realistic). I was also told that\nthe previous employee in this position had been making a lot less than what I\nprovided as a reasonable salary while also living on the west\ncoast. I was pretty gutted after hearing this. We ended the call a few minutes\nlater, and he emailed me a while after that letting me know they couldn\u2019t\nafford the salary I was asking for so we never made it to the actual offer\nstage. This lead me to question what I am willing to sacrifice salary wise for\nthe mission and I realized it\u2019s some, but it\u2019s not that much. Sacrificing\nsomewhere around 50% - 60% of my old salary just wasn\u2019t something I was\nwilling to do. Even if the mission is great organizations have to realize that\nthey have to pay well if they want to retain passionate talent. Paying poor\nsalaries creates resentment among workers and it just means people are going\nto move on relatively quickly. Delaying retirement by an extra 5-15 years\nbecause you took a lower salary isn\u2019t going to fly with a lot of people. It\ncertainly isn\u2019t going to fly for me no matter how important the mission of\nthe organization is.<\/p>\n<p>The mission is important, but the money has to be there.<\/p>\n<p>I also declined to continue the negotiation and interview process with a\nstartup over ethical issues. I had been on the fence due to the questionable\norganizations they allowed to use their product but after talking to their\nCEO I knew the company was not for me. The CEO explained that they would\nallow organizations such as the KKK to use their platform and I simply\ncouldn\u2019t support this sort of behavior. They explained that\n\u201cinciting violence\u201d was the key tenant of their terms of service, but in my\nmind, how can an organization like the KKK be allowed to use their services\nwhile that policy is in place considering they are an organization built on\nviolence and hate?<\/p>\n<p>Hearing this plus my previous trepidation meant I was completely\ndisinterested. I can\u2019t imagine waking up at 2 in the morning to potentially\nprotect the KKK from a DDOS, or helping them ensure that their newsletters get\nsent out. How could I look at myself every morning knowing I\u2019m potentially\nhelping spread the message of organizations built on hatred and racism? The\nmoney was decent and the benefits were okay, but the ethics just weren\u2019t there\nand I don\u2019t understand how anyone who currently works there could continue\ndoing so knowing they would allow such an organization to use their services\nor how they could be okay with having that sort of customer. I couldn\u2019t work\nthere and I couldn\u2019t live with myself if I did so I had to let the hiring\nmanager know that I wasn\u2019t interested in going any further with this\norganization.<\/p>\n<p>The money can be there, but without meeting my ethical standards it\u2019s\npointless.<\/p>\n<p>At the end of the day I\u2019m still unemployed after getting to the final process\nwith these recent organizations. While I\u2019m disappointed I\u2019m also glad that I\ncan stay objective enough, and ethically just enough to decline offers which\nwould make me question myself every day. I might not have a paycheck, but I\nhaven\u2019t compromised my personal needs or my personal beliefs and that\u2019s what\nreally matters to me in the long term.<\/p>\n","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"remote"}},{"@attributes":{"term":"employment"}},{"@attributes":{"term":"ethics"}},{"@attributes":{"term":"money"}},{"@attributes":{"term":"mission"}}]},{"title":"Book Reviews - September","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/book-reviews-september.html","rel":"alternate"}},"published":"2018-10-05T00:00:00+00:00","updated":"2018-10-05T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2018-10-05:\/book-reviews-september.html","summary":"<p>I was really busy with job interviews in September (will save that for another\npost) so I only managed to make it through two books this month. Like I noted\nlast month it didn't help that I did a poor job managing my queue from the\nlibrary. The books that \u2026<\/p>","content":"<p>I was really busy with job interviews in September (will save that for another\npost) so I only managed to make it through two books this month. Like I noted\nlast month it didn't help that I did a poor job managing my queue from the\nlibrary. The books that I did finish I read in only a few days each so the\npassion to read is still there ten months after starting this which is good\nto know.<\/p>\n<div class=\"section\" id=\"iron-gold\">\n<h2>Iron Gold<\/h2>\n<p>This is the first in a new series continuing the universe in the &quot;Red Rising&quot;\ntrilogy. I've read the first three books and enjoyed them quite a bit. Iron\nGold wasn't quite as enjoyable and I think a lot of that had to do with the\nidea of so many stories going on at the same time. The book follows 4\ndifferent individuals where some stories are entwined and others are not.\nWhile the narrative wasn't too disjointed it also didn't create the same kind\nof connection with the characters and drive to really plow through the book\nbecause you are constantly wondering what happens next. It also ended on a bit\nof a cliff hanger which is a personal pet peeve for me. I understand it's a\ncontinuing story, but I don't see why books need to have cliffhangers, it\njust seems pointless and kind of cheap execution wise. Overall a pretty\nenjoyable read that doesn't capture the magic of the original trilogy though\nI'll probably read the next book whenever it's out.<\/p>\n<\/div>\n<div class=\"section\" id=\"lock-in\">\n<h2>Lock In<\/h2>\n<p>A relatively short (about 300 pages, so only a few hours to read through)\nnear-future novel that I really enjoyed. It has some fun tech\/IT related ideas\nthat make sense in the universe even though they have a somewhat sci-fi bend.\nThe characters and story are pretty interesting and while it is self contained\nit has the set up for more novels in the universe (and I've already put the\nsecond on hold). It falls more into a mystery\/thriller style than some of the\nother books I've read recently but I found the story to be a page turner and\nthe characters to be interesting and well written in their humanity. I\nfinished the whole thing in less than 24 hours which is a very good sign to me\nin terms of how interesting ri find the content. I'd definitely recommend Lock\nIn for those who like John Scalzi and won't talk about too many more details\nfor fear of spoiling the book.<\/p>\n<\/div>\n","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"books"}}]},{"title":"Book Reviews - August","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/book-reviews-august.html","rel":"alternate"}},"published":"2018-09-16T00:00:00+00:00","updated":"2018-09-16T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2018-09-16:\/book-reviews-august.html","summary":"<p>Between enjoying the outdoors and job interviews I didn't read as much as I\nwould have liked in August. I really need to do a better job of planning when\nI add items to my library queue as I'm not planning far enough ahead\n(something which I am sure will \u2026<\/p>","content":"<p>Between enjoying the outdoors and job interviews I didn't read as much as I\nwould have liked in August. I really need to do a better job of planning when\nI add items to my library queue as I'm not planning far enough ahead\n(something which I am sure will bite me next month as well). I only made it\nthrough one book, and failed to finish another this month.<\/p>\n<div class=\"section\" id=\"the-final-empire\">\n<h2>The Final Empire<\/h2>\n<p>After reading everything that's currently available in The Way of Kings series\nI decided to take a look at some of Sanderson's other work. The Final Empire\nis the first in a pretty long series it seems, and I enjoyed this one quite a\nbit. The audio book is just over 24 hours long, which is pretty short compared\nto books from The Way of Kings and I plowed through it in only 7 days. The\nstory was really good (though a bit similar to The Way of Kings in terms of\nuniverse), the characters were interesting, and the plot wasn't contrived.\nDefinitely worth your time especially if you like other Sanderson novels.<\/p>\n<\/div>\n<div class=\"section\" id=\"ancillary-justice\">\n<h2>Ancillary Justice<\/h2>\n<p>This month's big letdown. It won the Hugo and the Nebula awards in 2014, so I\ngave it more than my customary &quot;this book is pretty dull&quot; 50 pages, and\npushed that to nearly 150 pages before I decided I was done. The story feels\npoorly paced, the characters aren't very interesting, and it simply felt like\nnothing was happening in the story. 150 pages in and it felt like I was still\nin the first few chapters of content. Too much backstory that didn't make the\ncharacters better, and too little plot development. I was really bummed by this\none based on how many awards it won.<\/p>\n<\/div>\n","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"books"}}]},{"title":"Book Reviews - July","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/book-reviews-july.html","rel":"alternate"}},"published":"2018-08-20T00:00:00+00:00","updated":"2018-08-20T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2018-08-20:\/book-reviews-july.html","summary":"<p>July was another busy month with job interviews and some traveling so I didn't\nquite hit my goal and I did read a book I had finished in the past because I\nfelt like revisiting it. That's something I typically don't do, but I didn't\nwant to read something new \u2026<\/p>","content":"<p>July was another busy month with job interviews and some traveling so I didn't\nquite hit my goal and I did read a book I had finished in the past because I\nfelt like revisiting it. That's something I typically don't do, but I didn't\nwant to read something new at that point.<\/p>\n<div class=\"section\" id=\"the-player-of-games\">\n<h2>The Player of Games<\/h2>\n<p>This was a book that I've read previously. I had to do some traveling and\nbetween various forms of studying I wanted something easy to read that was\nrelaxing and not too taxing. I won't ruin the story in this book but it's\none I really enjoy. If you're familiar with the culture novels at all, or\njust enjoy a good sci-fi novel this is a good place to start, especially\nif you have any interest in board games.<\/p>\n<\/div>\n<div class=\"section\" id=\"web-operations-keeping-the-data-on-time\">\n<h2>Web Operations: Keeping the Data On Time<\/h2>\n<p>I don't typically include tech books in these reviews because honestly I\nthink they're pretty boring to talk about, and they don't usually count\ntowards my goal at all, but I had to review some design and operation details\nfor interviews and I ended up reading most of this. I've owned it for a number\nof years and wanted to review differences as to what the standards were at the\ntime versus many of the standards preached in things like the Google SRE book.\nI found that a lot of the details, views, and procedures in this book still\napplied and were basically current (since this was cutting edge at the time).\nComically there are still a lot of companies that aren't even up to the\nstandards this book preaches back when it was published in 2010. Overall\nstill pretty relevant, and even more relevant since many companies I've talked\nto were still operating with ideas from books like these, or even older setups.<\/p>\n<\/div>\n<div class=\"section\" id=\"the-design-of-everyday-things\">\n<h2>The Design of Everyday Things<\/h2>\n<p>I was really looking forward to reading this book. I was hoping for examples\nof amazing implementations, ideas that I could apply to my own products and\nclear concise details of how to be better about your design. I didn't finish\nthis book. Not only were these sorts of anecdotes not present in the book, the\n50% or so that I read of it had so many abbreviations, technical terms,\nand downright awful explanations I couldn't bring myself to finish this. I was\nhoping for the &quot;How to Win Friends and Influence People&quot; of design, but instead\nI got a poorly written and poorly structured manual for designers that doesn't\nread like a textbook, but it doesn't read like a regular book, so instead you\nget a crummy middle ground that's a bummer all around.<\/p>\n<\/div>\n<div class=\"section\" id=\"munich\">\n<h2>Munich<\/h2>\n<p>I listened to the audio book version of this. The best way to describe it is a\nhistorical drama, so it has details based in fact, but also takes the voice of\npeople who were there and expands on them. The book was about the Munich\nAgreement before WW2 started, and it was okay. This was a genre I hadn't\nexplored before (the idea of a semi-accurate view of a particular event in\nhistory) so I wanted to try it out. I don't think I would read or listen to\nthis sort of book again. The slow pace of recreating the event, combined with\nthe general overview of the character's personal experience instead of an\noverall look at the talks created a disconnect that I didn't enjoy that much.\nIn the future I would only be interested in a documentary style for this sort\nof event.<\/p>\n<\/div>\n","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"books"}}]},{"title":"Book Reviews - June","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/book-reviews-june.html","rel":"alternate"}},"published":"2018-07-22T00:00:00+00:00","updated":"2018-07-22T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2018-07-22:\/book-reviews-june.html","summary":"<p>June was a pretty busy month due to looking for a job and the associated\ninterviews and studying but I was still able to get some reading in. I've\nbeen having a pretty hard time reading non-fiction books but tried again\nthis month, it went about as well as I \u2026<\/p>","content":"<p>June was a pretty busy month due to looking for a job and the associated\ninterviews and studying but I was still able to get some reading in. I've\nbeen having a pretty hard time reading non-fiction books but tried again\nthis month, it went about as well as I expected (poorly).<\/p>\n<div class=\"section\" id=\"waking-gods\">\n<h2>Waking Gods<\/h2>\n<p>The second book in the associated trilogy. I listened to the audiobook in just\na few days and greatly enjoyed it. The style of storytelling where much of the\ninteraction is a series of interviews and conversations between characters\ncontinues to be fresh. I've got the third book in my library queue and can't\nwait to listen to the conclusion. I can only hope the third book is as good\nas the first two have been and won't say too much to keep from spoiling it.<\/p>\n<\/div>\n<div class=\"section\" id=\"travels-with-charley-in-search-of-america\">\n<h2>Travels with Charley in Search of America<\/h2>\n<p>I only finished this because it was relatively short. but it has the style of\nthe era where there's a lot of book about very little, you're no more\nengaged on the first page than the last page. It felt like the kind of story\na boring relative you only seen once every few years would tell you about and\njust kept going and going, but it went nowhere. I wouldn't recommend this book\nat all.<\/p>\n<\/div>\n<div class=\"section\" id=\"wild-swans\">\n<h2>Wild Swans<\/h2>\n<p>Talk about a slog. I made it through about 100 pages of this book before I put\nit down. It's been a very long time since I've been so bored reading about\nhistory. I was hoping for an interesting look at China during the cultural\nrevolution and instead I got far too much history about a family (and I\nhonestly have a difficult time assuming some of it wasn't made up as some is\nsecond or third hand). After 100 pages I was still reading about the author's\ngrandmother. Instead of reading a book about the cultural revolution through\nthe eyes of a family, it felt more like it was simply talking about how the\ncultural revolution impacted them and their hardships. While this may be\ninteresting to some I don't find the type of mud hut a person lived in, or who\ntheir second husband, his profession, and what the feelings of the extended\nfamily were to be of particular interest. I don't feel like the excessive\namount of mind numbingly dull details did anything to push the story around\nand wouldn't recommend this book either.<\/p>\n<\/div>\n","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"books"}}]},{"title":"Book Reviews - May","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/book-reviews-may.html","rel":"alternate"}},"published":"2018-06-02T00:00:00+00:00","updated":"2018-06-02T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2018-06-02:\/book-reviews-may.html","summary":"<p>I only finished two books in May due to being busy in my personal life, but am\nsatisfied with what I read. Hopefully June will be more productive as I have a\nfew shorter books in my queue, but there's also a few longer ones. I also need\nto make \u2026<\/p>","content":"<p>I only finished two books in May due to being busy in my personal life, but am\nsatisfied with what I read. Hopefully June will be more productive as I have a\nfew shorter books in my queue, but there's also a few longer ones. I also need\nto make sure I keep up on placing holds from the library in the event a book\nis in high demand.<\/p>\n<div class=\"section\" id=\"man-s-search-for-meaning\">\n<h2>Man's Search For Meaning<\/h2>\n<p>This was a book I've been wanting to read for a while. It talks about a man's\nexperience during the Holocaust as someone who lived through it as a prisoner\nin various camps controlled by Germany during the time period. The first half\nof the book was pretty interesting and talked about his experience day to day\nas well as how he managed to survive and his mental state. I enjoyed the first\nhalf a lot, but didn't like the second half at all. The second half goes into\na specific type of therapy and really sounded like a sales pitch or\nadvertisement for this type of therapy. Worth reading, but ignore the second\nhalf completely.<\/p>\n<\/div>\n<div class=\"section\" id=\"the-dark-forest\">\n<h2>The Dark Forest<\/h2>\n<p>Book two of The Three Body Problem trilogy. I found this one to be enjoyable\nbut didn't progress as quickly as the first and found some points in the\nstory to be a bit of a slog. I'm not sure if this was due to the translation\nor simply the contents but many plot points were drawn out and the dialogue\nwas stiff. I'll definitely read the third book but I'm going to need to\ntake a bit of a break from this series before I do that.<\/p>\n<\/div>\n","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"books"}}]},{"title":"Book Reviews - April","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/book-reviews-april.html","rel":"alternate"}},"published":"2018-05-03T00:00:00+00:00","updated":"2018-05-03T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2018-05-03:\/book-reviews-april.html","summary":"<p>I would consider April a total failure for reading. At the beginning of the\nmonth I decided I wanted to try and focus on more self improvement and\nreflection style books, but hadn't checked many of these out on time, and\nwasn't very motivated to read. I only finished one \u2026<\/p>","content":"<p>I would consider April a total failure for reading. At the beginning of the\nmonth I decided I wanted to try and focus on more self improvement and\nreflection style books, but hadn't checked many of these out on time, and\nwasn't very motivated to read. I only finished one book and got most of the\nway through a second.<\/p>\n<div class=\"section\" id=\"the-life-changing-magic-of-tidying-up\">\n<h2>The Life-Changing Magic of Tidying Up<\/h2>\n<p>One of the weirder books I've ever read, it talks about keeping your living\nspace clean, organizing it, etc. I was hoping to get something out of this book\nand the biggest thing was just throwing away some boxes I don't really need\nany more. Past that there was far too much of a spiritual aspect to this book\nand it felt weird to me. Overall the book had a few good take aways but\nif you're keeping your place clean and organized, not hoarding items\nand generally picking up after yourself I don't feel it can improve on much\nthat you're doing. This one was only okay and the spiritual aspect to tidying\nwas simply too much for me.<\/p>\n<\/div>\n<div class=\"section\" id=\"meditations\">\n<h2>Meditations<\/h2>\n<p>A book by Marcus Aurelius that goes into some portions of stoicism, I don't\nhave a ton left in this book but am moving through it very slowly. The book\nisn't written like a novel but simply journal entries, and even at that they\nare quite terse so it's been slow going. Some of the information is worthwhile\nbut much of it simply boils down to being a good person every day which I\nalready strive to do. I hope to finish it this month.<\/p>\n<\/div>\n","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"books"}}]},{"title":"Book Reviews - March","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/book-reviews-march.html","rel":"alternate"}},"published":"2018-04-06T00:00:00+00:00","updated":"2018-04-06T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2018-04-06:\/book-reviews-march.html","summary":"<p>In March I finished 5 books and met my goal. Part of this was sticking to my\nrule that if I'm not pulled in by the 50th page I put it down and move on,\nand part of it was simply selecting better books. I also read one book that \u2026<\/p>","content":"<p>In March I finished 5 books and met my goal. Part of this was sticking to my\nrule that if I'm not pulled in by the 50th page I put it down and move on,\nand part of it was simply selecting better books. I also read one book that\nI ended up putting down which I will include here.<\/p>\n<div class=\"section\" id=\"the-three-body-problem\">\n<h2>The Three-Body Problem<\/h2>\n<p>Probably my favorite book of March this was an excellent science fiction\nnovel based on present day. One of the interesting aspects that made this\nbook quite a bit different was the fact the book was set in China and written\nby a Chinese author so there was a history lesson about the cultural\nrevolution in China as well as a different style of writing and a noticeable\nchange in narrative structure. Combining that with a really interesting and\nrewarding story made this a great read and I finished it in just a few days.<\/p>\n<\/div>\n<div class=\"section\" id=\"the-ghost-brigades\">\n<h2>The Ghost Brigades<\/h2>\n<p>Another Scalzi novel in an established universe I know I like, this was a\nfun but casual action packed sci-fi romp. I don't really know what to say\npast that. It was enjoyable and I found the story to be interesting and\nuniverse expanding which is always nice.<\/p>\n<\/div>\n<div class=\"section\" id=\"all-systems-red\">\n<h2>All Systems Red<\/h2>\n<p>This was by far my least favorite book for the month. More of a novella than\nanything else while the overall story was interesting, there were some\nannoying grammar usage and word repetition that kept popping up that really\ndistracted me. I finished it but I was glad to be done as these noticeable\nshort comings in the writing got worse as the book went on.<\/p>\n<\/div>\n<div class=\"section\" id=\"edgedancer\">\n<h2>Edgedancer<\/h2>\n<p>I listened to the audio book version of Edgedancer and really enjoyed it. The\nlook into Lift's character and where she was between Words of Radiance and\nOathbringer was well thought out. It expanded her character in interesting\nways while staying on track and putting you in a good spot for seeing her\nagain in Oathbringer. I would definitely recommend people listen to or read\nEdgedancer before Oathbringer and I wish I had known about it as I would have\ndone so.<\/p>\n<\/div>\n<div class=\"section\" id=\"we-are-legion-we-are-bob\">\n<h2>We Are Legion (We Are Bob)<\/h2>\n<p>An interesting take on cryogenics and where it might lead tied in with a\nsci-fi plot of digital cloning and expansion. I enjoyed this more towards the\nbeginning than where it progressed to later in the book. I probably won't read\nthe second in the series but it wasn't a bad book, it just wasn't to my tastes\nafter some time.<\/p>\n<\/div>\n<div class=\"section\" id=\"the-rise-and-fall-of-d-o-d-o\">\n<h2>The Rise and Fall of D.O.D.O<\/h2>\n<p>The second book written by Neal Stephenson that I didn't finished and I won't\nread anything he writes going forward if the page count is over 500. This is\nthe second novel of his I've tried to read (I tried reading Anathem last year)\nand I just can't stand how he disrespects the reader's time. Everything in\nthis book is plodding, slow, and I was constantly in a state of thinking to\nmyself &quot;okay I get it we can move on&quot;. This is especially disappointing as the\nopening to the book is decent but from there it was all downhill for the next\n80 or so pages I read (breaking my own 50 page rule, but at least it was only\n80).<\/p>\n<\/div>\n","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"books"}}]},{"title":"Book Reviews - February","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/book-reviews-february.html","rel":"alternate"}},"published":"2018-03-01T00:00:00+00:00","updated":"2018-03-01T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2018-03-01:\/book-reviews-february.html","summary":"<p>This month I only finished 2 books and both of those were completed in the\nfirst week of February. I'll discuss the other books I didn't finish as well\nsince there were 2 of them. This was a pretty bad month simply because I read\na couple of books that \u2026<\/p>","content":"<p>This month I only finished 2 books and both of those were completed in the\nfirst week of February. I'll discuss the other books I didn't finish as well\nsince there were 2 of them. This was a pretty bad month simply because I read\na couple of books that weren't enjoyable and felt that my time was wasted\nwhich I hate doing when I read. Previously I gave books 100 pages for the\nstory to get going and interest to be established and I'm going to drop that\nto 50 going forward.<\/p>\n<div class=\"section\" id=\"the-collapsing-empire\">\n<h2>The Collapsing Empire<\/h2>\n<p>I finished this book within the first few days of February, it was alright.\nTypically I enjoy Scalzi's writing a lot but this one wasn't quite up to his\nnormal quality to me. It might be due to this being the first in a new\nuniverse, but things still felt a bit slow. It may have also been the fact\nthere was a lot of politics involved in this novel and I'm a bit burned out on\nthat topic currently.<\/p>\n<\/div>\n<div class=\"section\" id=\"sleeping-giants\">\n<h2>Sleeping Giants<\/h2>\n<p>I listened to the audio book version of Sleeping Giants and it was really\nenjoyable. The book takes on a narrative structure of each chapter being an\ninterview between people and this lead to something that was quite different.\nI enjoyed the story as well, though there was a small romance plot which would\nhave been nice to avoid since it added unnecessary drama instead of focusing\non the main mystery and investigation that takes place throughout.<\/p>\n<\/div>\n<div class=\"section\" id=\"city-of-stairs\">\n<h2>City of Stairs<\/h2>\n<p>I read about 100 pages into this book before giving up because nothing was\nhappening. It took 100 pages to confer about 30 pages worth of information\nand I simply grew tired of it. This book is nearly 500 pages and there was no\nway I was going to be able to slog through the rest of it. The universe is\ninteresting but the characters are not. It's really tough to describe it\nbecause it's as though the book gave too much information, but nothing\nhappened with that information.<\/p>\n<\/div>\n<div class=\"section\" id=\"leviathan-wakes\">\n<h2>Leviathan Wakes<\/h2>\n<p>I was wary upon checking this one out simply because it was being made into a\nshow on SyFy and most of what they produce is garbage. I figured it was worth\na shot and made it through 200 pages of this book (it's another 500 page book)\nbefore I gave up. Everything was just too convenient, too rote, and so dull.\nThe main characters were the typical flawed hero, and upon reading the\nsynopsis I could only let out a sigh of relief knowing that I avoided what was\ncoming instead of wasting my time reading it. There's a reason this is being\nturned into a show on SyFy and an original story and creativity isn't that\nreason.<\/p>\n<\/div>\n","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"books"}}]},{"title":"Book Reviews - January","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/book-reviews-january.html","rel":"alternate"}},"published":"2018-02-02T00:00:00+00:00","updated":"2018-02-02T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2018-02-02:\/book-reviews-january.html","summary":"<p>I've been trying to read more recently and finished about 18 books last year.\nI am aiming for 4 books a month this year. I figured I might as well do a\nquick review of what I've been reading and only made it through 3 books in\nJanuary unfortunately. I'm \u2026<\/p>","content":"<p>I've been trying to read more recently and finished about 18 books last year.\nI am aiming for 4 books a month this year. I figured I might as well do a\nquick review of what I've been reading and only made it through 3 books in\nJanuary unfortunately. I'm not going to include technical books\nrelated to my job here as those can justify their own full reviews in most\ncases.<\/p>\n<div class=\"section\" id=\"how-to-remember-people-s-names\">\n<h2>How To REMEMBER PEOPLE'S NAMES<\/h2>\n<p>This was the first book I read in 2018 as I've noticed this is a failing I\nhave and in my goal to become a more well rounded individual it seemed like an\neasy area to improve. Several common sense techniques were discussed but a few\nrelated to memorization and characterization I was unfamiliar with and I've\nbeen using these to remember the names of people I meet more easily. Overall\nthis was definitely worth the time it took to read and perform the included\nexercises.<\/p>\n<\/div>\n<div class=\"section\" id=\"artemis\">\n<h2>Artemis<\/h2>\n<p>The follow up from Andy Weir after his very enjoyable book The Martian\nwas only okay. It felt like a book written for an eventual movie deal and\nthe characters were much more one dimensional and immature than his previous\nbook. There was still some hard science, but I didn't enjoy it nearly as much\ndue to the immaturity of the main character and huge amount of tense scenarios\nthat felt like overkill. A bit of a let down after The Martian.<\/p>\n<\/div>\n<div class=\"section\" id=\"oathbringer-book-3-of-the-stormlight-archive\">\n<h2>Oathbringer - Book 3 of The Stormlight Archive<\/h2>\n<p>I've listened to the previous two as audio books and did the same for this one.\nAt nearly 45 hours at 1x speed (I listen at 1.5x) this was definitely some work\nto get through but was immensely enjoyable and I look forward to the next book\nwhen it comes out in 2020. I'm not a huge fantasy fan but these really do it\nfor me and the characters are excellent. I cried, I laughed, and my imagination\nwas driven wild with the visuals my brain was able to conjure thanks to the\nwords in this masterpiece of literature. So descriptive and enthralling that\nI spent over 12 hours listening to the audio book in a single weekend. If that\ndoesn't say something then I don't know what does.<\/p>\n<\/div>\n","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"books"}}]},{"title":"A year later, spending $15 a month on music still rules","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/a-year-later-spending-15-a-month-on-music-still-rules.html","rel":"alternate"}},"published":"2017-07-08T00:00:00+00:00","updated":"2017-07-08T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2017-07-08:\/a-year-later-spending-15-a-month-on-music-still-rules.html","summary":"<p>Last year around this time I decided that I would start buying music regularly\nfrom Bandcamp.com instead of using subscription services. I had bought\nmusic sporadically previously but realized it was time to start supporting\nthe artists I care about more regularly. Subscription services don't\nbenefit many of the \u2026<\/p>","content":"<p>Last year around this time I decided that I would start buying music regularly\nfrom Bandcamp.com instead of using subscription services. I had bought\nmusic sporadically previously but realized it was time to start supporting\nthe artists I care about more regularly. Subscription services don't\nbenefit many of the people I like to the extent that an album purchase\ndoes thus I decided to start purchasing albums exclusively. Instead of being\nable to listen to everything I decided to give myself ~$15 USD every month to\nbuy music with.<\/p>\n<p>I've found this method to be extremely satisfying as I need to be selective\nabout what I buy. It also helps me regularly find fantastic new music as I\ncheck several times a week for new releases that I can add to my wishlist. I\nmake purchases once a month (minus a podcast here and there) which ensures\nthat I'm not overspending regularly and that I make hard decisions regarding\nwhat I really want to listen to. I've found that making these difficult\ndecisions for what truly stands out to me each month is much more satisfying\nfor the space I am in mentally. Every month the albums I purchase directly\nreflect the mood I'm currently in. I've found myself continually\ngoing back to certain genres and artists month after month even though there\nare other fantastic releases. This creates an interesting trend where I can\nalmost map out my shifting musical preferences over the last year.<\/p>\n<p>The main downside to this process has been that my wishlist of music grows\nfar faster than my purchasing budget allows. I still have releases\nthat I would like to own that have been on my wishlist for two years. It's\nalso a problem when an artist releases an especially expensive album as I\nwould have to spend the entire month's budget on a single album. Even with\nthis minor downside I'm\nstill very pleased with the experience thus far and I realize that $15 a\nmonth is how much many people spend on coffee in a week so it's fairly low\nbudget wise. The point with my budget was to try and bring it down to a\ncompetitive level with many streaming services. I also have the\nenjoyable side effect that I own all of this music and can easily move it\nbetween machines. Most artists are offering MP3 320 or FLAC so the\nquality is generally outstanding (quality issues arise more from mixing\nproblems at this point than anything else).<\/p>\n<p>After using this purchase process for the past year I've decided I'm going to\ncontinue with it. In the end I am more satisfied with my purchases, I get to\nsupport artists directly, and I enjoy a much more tightly curated music\nlibrary.<\/p>\n","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"music"}}]},{"title":"Launching Bulk Eats","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/launching-bulk-eats.html","rel":"alternate"}},"published":"2017-07-06T00:00:00+00:00","updated":"2017-07-06T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2017-07-06:\/launching-bulk-eats.html","summary":"<p>Late last year I shut down the first full scale project I had built. It was an\nexcellent learning experience (as documented\n<a class=\"reference external\" href=\"https:\/\/hungryadmin.com\/a-failed-projects-postmortem.html\">here<\/a>). I didn't\nmake any money on that project, but the cost of learning was pretty low. A few\nweeks ago I finished the initial content and made \u2026<\/p>","content":"<p>Late last year I shut down the first full scale project I had built. It was an\nexcellent learning experience (as documented\n<a class=\"reference external\" href=\"https:\/\/hungryadmin.com\/a-failed-projects-postmortem.html\">here<\/a>). I didn't\nmake any money on that project, but the cost of learning was pretty low. A few\nweeks ago I finished the initial content and made <a class=\"reference external\" href=\"https:\/\/bulkeats.com\">https:\/\/bulkeats.com<\/a> live.\nLet's walk through building out the project, and review what I took from my\nprevious failure. I'm writing this as much for myself as for others.<\/p>\n<div class=\"section\" id=\"motivations\">\n<h2>Motivations<\/h2>\n<p>I'll start by talking about the motivation for this project. A few years ago\nI was very underweight for my height and I wanted to change that. I started\nworking out regularly and eating more food, but had a hard time finding\ngood recipes that I could use to gain weight. Many of the recipes I stumbled\nacross were disgusting shakes, huge quantities of bland food, or downright\nunhealthy solutions such as drinking a gallon of milk every day or eating\na $5 pizza every other day. While things like the shakes worked well I quickly\ngrew tired of how repetitive and dull my diet was.<\/p>\n<p>I knew how to cook so I saw no reason I couldn't adapt the recipes I\nwas already making and loved to provide me with the huge amount of calories\nI needed to sustain my weight gain. So over the past few years while gaining\nweight and improving my physical fitness levels I've slowly been making and\nrefining recipes that met my needs. I was getting tired of emailing these to\npeople or sharing them via Google docs and so the idea came to launch a site\ncontaining the recipes I loved to eat and could also use to gain weight. This\nalso happens to be a heavily under served area of the recipe and fitness site\nmarket. So with that I started working on Bulk Eats, and am happy to say the\ninitial launch is here!<\/p>\n<\/div>\n<div class=\"section\" id=\"the-tech\">\n<h2>The Tech<\/h2>\n<p>Building out the tech decisions for this project I decided I wanted to keep\nthings simplistic. I took my existing Pelican, Salt, and Nginx configuration\nand adapted it to what I would need for a recipe site. This stacked on top of\na VPS provides an easy to update, and easy to scale environment. So whether\nthe site traffic is exclusively me visiting it or tens of thousands of users\nit's quick to scale up and easy to update. With Bulk Eats I also wanted to\npush my previous performance optimization and I was able to accomplish that\npretty well, with images (as this is a recipe site) being the biggest\noffender.<\/p>\n<p>I feel like I could probably optimize more in this area and plan\nto do so going forward. Right now however I'm happy with the fact that there\nis no external tracking on this site, nor are there any external requests for\nfonts, css, or any other elements. Requests stay 100% within my system while\ndoing no tracking via analytics or other elements, and page loads are under\none second without elements cached locally.<\/p>\n<\/div>\n<div class=\"section\" id=\"monetizing\">\n<h2>Monetizing<\/h2>\n<p>As I'll note further down this time around I wanted to try and monetize\nthis site in a much more passive way. To achieve this I'm using Amazon\nAffiliate links (HTML only to avoid any potential JS tracking that they may\ndo). There are no ads or other intrusive elements on the site, which while\npotentially an area of lost revenue most people are using adblock anyways so\nI see no reason to waste valuable response time and potential issues with ads.\nMany of those that would qualify for a site like this fall into shady diet\nand food categories. I'm not willing to compromise on the quality of the\ncontent provided, nor am I going to subject users to these deceptive products\nso affiliate links were the only real way to go.<\/p>\n<p>I've gone with a generally unobtrusive way to provide links to products I\nactually use for cooking meals so it will be interesting to see how they\nperform. I believe this is the best strategy in the interest of users and\nmyself as they get to take advantage of the content while I can potentially\nmake money without compromising or losing control over what is displayed.\nIn the event that the site doesn't become profitable in the next 6-12\nmonths I'll most likely migrate it to my blog server to reduce expenses.<\/p>\n<\/div>\n<div class=\"section\" id=\"avoiding-previous-pitfalls\">\n<h2>Avoiding Previous Pitfalls<\/h2>\n<p>If you read the article I linked near the top you'll know that my last project\nwhile a good learning experience, was an abysmal failure when it came to\nprofitability and I shut it down. So this time around I've taken what I hope\nare steps to reduce that potential. The first of these is using a platform\nwhich will allow for migration in the event of failure. It may seem defeatist\nbut it's much more motivating knowing I can potentially migrate the site to a\nlower cost location and continue paying for only the domain registration.<\/p>\n<p>With my previous project there were a lot of up front costs associated with\nthe site. Logo design, and marketing were at the top of the list. This time\naround as the brand for the project isn't as important as quality\ncontent I've focused less on spending money straight out of the gate and am\nfocusing on somewhat more organic growth within communities I feel would\ngenuinely benefit from these recipes, and not simply using them as a marketing\ntactic. So this time around I'm avoiding is high initial cost, a major\nissue on the last project.<\/p>\n<p>I reduced the scope of the project massively as well, using knowledge\nI have been cultivating for several years to design a simple project focused\non something I'm very passionate about. I feel as though this\ngenuine interest combined with my direct experience with gaining weight and\nthe struggles associated with that process will help immensely. While I was\npassionate about building my previous project, I am invested and interested in\nkeeping my current project going, and I'm able to do so simply by\ncontinuing to cook delicious food.<\/p>\n<p>I'm also going to try and focus more on SEO this time around, it's something I\nneed to learn about but something I am aware of that is essential for this\nproject that I missed last time. SEO is not something I'm very passionate\nabout but recognizing how crucial it is.<\/p>\n<p>The final thing I'm looking at this time is improved marketing. So far I've\ndone zero marketing for the site that wasn't simply providing recipes to\ncertain communities, and I may continue in this way. If I do plan to do any\nmarketing I will work directly with content creators or other interested\nparties to try and engage directly with very interested users instead of\nthrowing money at algorithms which don't provide meaningful return.<\/p>\n<\/div>\n<div class=\"section\" id=\"the-conclusion\">\n<h2>The Conclusion<\/h2>\n<p>For this project I'm focusing on lower costs, easier monetization methods that\nusers feel more comfortable with using, and better marketing that directly\nconnects with the people who would benefit from this type of content the most.\nI've reduced the scope of the overall project to make the implementation\neasier, and ensured that maintenance costs focus on content creation that I\nam passionate about as opposed to capturing markets. This project is laser\nfocused on serving a specific niche community and I feel that will help me\nconnect directly with the end users I am the most interested in who will\nbenefit from what this product has to offer.<\/p>\n<\/div>\n","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"open source"}},{"@attributes":{"term":"Salt"}},{"@attributes":{"term":"GitHub"}},{"@attributes":{"term":"python"}},{"@attributes":{"term":"git"}},{"@attributes":{"term":"pelican"}},{"@attributes":{"term":"bulkeats.com"}},{"@attributes":{"term":"cooking"}}]},{"title":"Scheduled Lambda SQS Message Function With Cloudwatch","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/scheduled-lambda-sqs-message-function-with-cloudwatch.html","rel":"alternate"}},"published":"2017-04-17T00:00:00+00:00","updated":"2017-04-17T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2017-04-17:\/scheduled-lambda-sqs-message-function-with-cloudwatch.html","summary":"<p>Recently I wanted to created a scheduled Lambda event that would send a\nmessage to an SQS queue. I ended up using Cloudwatch to trigger a Python based\nLambda event that would make a call to the appropriate queue.<\/p>\n<p>This process was pretty easy to set up and required configuration \u2026<\/p>","content":"<p>Recently I wanted to created a scheduled Lambda event that would send a\nmessage to an SQS queue. I ended up using Cloudwatch to trigger a Python based\nLambda event that would make a call to the appropriate queue.<\/p>\n<p>This process was pretty easy to set up and required configuration within\nCloudwatch and Lambda. I was communicating with an existing SQS queue which was\nhooked up to a listening service which I won't go into here.<\/p>\n<p>Setting up Lambda first was a requirement to make sure the job could be triggered\nfrom Cloudwatch successfully, as you can't set up the cloudwatch event until\nthe Lambda function exists.<\/p>\n<div class=\"section\" id=\"lambda-configuration\">\n<h2>Lambda Configuration<\/h2>\n<p>Begin by creating a new Lambda function and pasting the following code into\nthe code section (or upload it with Apex, whatever you may use) with the\nappropriate changes to the <cite>region_name<\/cite>, <cite>QueueName<\/cite>, primary message attributes\n(currently called <cite>service_class<\/cite>), and <cite>StringValue<\/cite>:<\/p>\n<div class=\"highlight\"><pre><span><\/span><span class=\"kn\">import<\/span> <span class=\"nn\">boto3<\/span>\n<span class=\"kn\">import<\/span> <span class=\"nn\">json<\/span>\n\n\n<span class=\"k\">def<\/span> <span class=\"nf\">lambda_handler<\/span><span class=\"p\">(<\/span><span class=\"n\">event<\/span><span class=\"p\">,<\/span> <span class=\"n\">context<\/span><span class=\"p\">):<\/span>\n\n  <span class=\"n\">sqs<\/span> <span class=\"o\">=<\/span> <span class=\"n\">boto3<\/span><span class=\"o\">.<\/span><span class=\"n\">resource<\/span><span class=\"p\">(<\/span><span class=\"s1\">&#39;sqs&#39;<\/span><span class=\"p\">,<\/span> <span class=\"n\">region_name<\/span><span class=\"o\">=<\/span><span class=\"s1\">&#39;us-east-1&#39;<\/span><span class=\"p\">)<\/span>\n  <span class=\"n\">queue<\/span> <span class=\"o\">=<\/span> <span class=\"n\">sqs<\/span><span class=\"o\">.<\/span><span class=\"n\">get_queue_by_name<\/span><span class=\"p\">(<\/span><span class=\"n\">QueueName<\/span><span class=\"o\">=<\/span><span class=\"s1\">&#39;my_queue&#39;<\/span><span class=\"p\">)<\/span>\n\n  <span class=\"n\">response<\/span> <span class=\"o\">=<\/span> <span class=\"n\">queue<\/span><span class=\"o\">.<\/span><span class=\"n\">send_message<\/span><span class=\"p\">(<\/span>\n      <span class=\"n\">MessageBody<\/span><span class=\"o\">=<\/span><span class=\"s1\">&#39;<\/span><span class=\"si\">{}<\/span><span class=\"s1\">&#39;<\/span><span class=\"p\">,<\/span>\n      <span class=\"n\">DelaySeconds<\/span><span class=\"o\">=<\/span><span class=\"mi\">0<\/span><span class=\"p\">,<\/span>\n      <span class=\"n\">MessageAttributes<\/span><span class=\"o\">=<\/span><span class=\"p\">{<\/span>\n          <span class=\"s1\">&#39;service_class&#39;<\/span><span class=\"p\">:<\/span> <span class=\"p\">{<\/span>\n              <span class=\"s1\">&#39;StringValue&#39;<\/span><span class=\"p\">:<\/span> <span class=\"s1\">&#39;Service::Worker&#39;<\/span><span class=\"p\">,<\/span>\n              <span class=\"s1\">&#39;DataType&#39;<\/span><span class=\"p\">:<\/span> <span class=\"s1\">&#39;String&#39;<\/span>\n          <span class=\"p\">}<\/span>\n      <span class=\"p\">}<\/span>\n  <span class=\"p\">)<\/span>\n<span class=\"nb\">print<\/span><span class=\"p\">(<\/span><span class=\"n\">response<\/span><span class=\"p\">)<\/span>\n<\/pre><\/div>\n<p>Once this code is in place review the configuration section of the Lambda\nfunction to make sure it has the appropriate Runtime, and set the <cite>Handler<\/cite>\nvalue to <cite>lambda_function.lambda_handler<\/cite> as we're calling the function\n<cite>lambda_handler<\/cite>. From there either set a role, or choose an existing role.\nYou should have an existing role set up for lambda if you've used it before\nthat has the appropriate permissions.<\/p>\n<p>Depending on your configuration you may need to set additional options in the\n<cite>Advanced Settings<\/cite> section, primarily the VPC, Subnets, and Security Groups.\nI'm not going to go into those here as every setup is different and it will\nrely heavily on how you have your environment configured. Once those steps\nare complete your Lambda function is ready to go. I would suggest testing it\nto ensure there are no errors and that it is behaving as you expect.<\/p>\n<\/div>\n<div class=\"section\" id=\"cloudwatch-configuration\">\n<h2>Cloudwatch Configuration<\/h2>\n<p>Now that the Lambda function is created the Cloudwatch trigger can be created.\nThis step is relatively straight forward, head over to the Cloudwatch console,\nand create a new rule within <cite>Events<\/cite>. Once on the configuration page you'll\nwant to select <cite>Schedule<\/cite> for the event source, and then enter the appropriate\ncron expression depending on when you want your function to run. Set your\ntarget to the Lambda function you created, set any additional options you might\nneed (which you most likely won't since this is a single message), and then save\nthe rule. From here you can confirm things are working as expected by reviewing\nthe Cloudwatch logs that are created when the job runs.<\/p>\n<p>That's pretty much it. With this in place you'll have a scheduled Lambda\nfunction running that doesn't rely on a system within your infrastructure.<\/p>\n<\/div>\n","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"AWS"}},{"@attributes":{"term":"Lambda"}},{"@attributes":{"term":"Cloudwatch"}},{"@attributes":{"term":"Python"}}]},{"title":"Vegetarian Meats Just Aren't Cutting it Yet","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/vegetarian-meats-just-arent-cutting-it-yet.html","rel":"alternate"}},"published":"2017-04-13T00:00:00+00:00","updated":"2017-04-13T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2017-04-13:\/vegetarian-meats-just-arent-cutting-it-yet.html","summary":"<p>Over the past few years I've been trying to eat more and more vegetarian meals\nboth to reduce how much meat I eat and reduce costs. Bulking and cutting for\nphysical fitness is an expensive endeavor, so any time I can I want to explore\nthese potential options. I've been \u2026<\/p>","content":"<p>Over the past few years I've been trying to eat more and more vegetarian meals\nboth to reduce how much meat I eat and reduce costs. Bulking and cutting for\nphysical fitness is an expensive endeavor, so any time I can I want to explore\nthese potential options. I've been making things with ground\nmeat substitutes for a while now and I generally like them. There have been\nmore and more companies coming out with products, and they're a decent\nsubstitute for meat.<\/p>\n<p>Right now adoption of these kinds of products is pretty low. The main two I use\nfor ground meat substitutes are a 'crumbles' product from Boca, and a ground\nmeat substitute from Beyond Meats. I also eat a good number of the products\nthat a local company called Field Roast makes. These products are not as cheap\nas you would think considering they contain no meat. When not on sale the Boca\ncrumbles are typically $6 for 12 oz, and Beyond meat is $6 for 11 oz. I\nbelieve that the cost versus the amount you're buying is one of the main\nreasons these products aren't catching on.<\/p>\n<p>To start with why is anything in a quantity less than 1 lb? This means you\ncan't easily substitute it in for a recipe that calls for ground beef, and\neven worse you have to buy 2 packages to get a pound. This leaves you with\nextra product that you had to pay more for, and that you have to leave in your\nfreezer, so realistically these products are about $8 per pound. This is not\na realistic price point for most people to consider these products over\nground beef or turkey. I often times choose turkey over the available options\nbecause it's a lot cheaper and has significantly more protein.<\/p>\n<p>I know a large part of this is simply due to economics of scale, but companies\nlike Boca have been around for a long time and these meat substitutes are\nsometimes discounted as much as 50%. So why are they so expensive at other\ntimes? Alternatively Beyond Meats sometimes offers a $1 coupon, but that\nstill puts their product at over $7 per lb which is way too much considering\nthe alternatives.<\/p>\n<p>There are other products available such as TVP (textured vegetable protein),\nand tofu, but these aren't going to be as easily incorporated into the\nAmerican diet as meat substitutes. So how can manufacturers get over\nthis? To begin with they need to look at reducing costs, either through heavy\ndiscounts or trying to build their scaling up more to reduce their overhead.\nI have no idea what the breakdown of costs looks like in these products but\nany sort of advantage they can offer there would go a long way towards getting\nthem on to more tables.<\/p>\n<p>In addition to this manufacturers need to stop selling their product in\npackages that are less than 1 pound. I have no idea who thought this was a\ngood idea, or even why they do this. It just makes the entry level too high\nand makes it inefficient for people to purchase their products.\nAs an enthusiast consumer of these products I deal with it to try them, but\nthese companies are going to have to step up their game if they expect the\naverage person to choose meat substitutes over meat and they need to make that\nbarrier to entry as low as possible. I believe they can definitey do it, they\njust need to make sure they're catering to the average consumer.<\/p>\n<p>If lab grown meats can become a decently priced substitute I see no reason to\nuse the vegetarian alternatives but we'll have to see what the future holds.<\/p>\n","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"cooking"}},{"@attributes":{"term":"food"}}]},{"title":"Setting the TZ Variable for Systemd","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/setting-the-tz-variable-for-systemd.html","rel":"alternate"}},"published":"2017-02-23T00:00:00+00:00","updated":"2017-02-23T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2017-02-23:\/setting-the-tz-variable-for-systemd.html","summary":"<p>Earlier this week I read an <a class=\"reference external\" href=\"https:\/\/blog.packagecloud.io\/eng\/2017\/02\/21\/set-environment-variable-save-thousands-of-system-calls\/\">interesting blog post from\npackagecloud.io<\/a>\ntalking about some testing they had done to set the TZ environment variable\nto reduce system calls. I thought this was a great idea for users who wanted\nto set their environment variable for a specific script or \u2026<\/p>","content":"<p>Earlier this week I read an <a class=\"reference external\" href=\"https:\/\/blog.packagecloud.io\/eng\/2017\/02\/21\/set-environment-variable-save-thousands-of-system-calls\/\">interesting blog post from\npackagecloud.io<\/a>\ntalking about some testing they had done to set the TZ environment variable\nto reduce system calls. I thought this was a great idea for users who wanted\nto set their environment variable for a specific script or process and wanted\nto take it further. Automatically applying it to every systemd process that\nstarted made the most sense for the next step. In my case this wasn't an issue\nsince every service uses UTC by default, and it's set the same across every\nserver that I manage. This changed required a modification to the\n<code>\/etc\/systemd\/system.conf<\/code> file on an Ubuntu 16 system. Inside of the\n<code>system.conf<\/code> there's a line that reads <code>DefaultEnvironment<\/code>. The\nline is commented out by default so you can either uncomment it, or just add it to\nthe bottom of the file. This line should be changed to:\n<code>DefaultEnvironment=TZ=:\/etc\/localtime<\/code>. By modifying this and reloading the\nsystemd daemon via <code>systemctl daemon-reload<\/code> you can apply this change to\nevery service on the system automatically when they start. If you turn the code\nprovided by the packagecloud.io team into a service you can see how it's\nimpacted:<\/p>\n<p>Prior to daemon reload:<\/p>\n<div class=\"highlight\"><pre><span><\/span>root@test-system:\/srv\/tz-test$ systemctl status tz-test\ntz-test.service\n  Loaded: loaded <span class=\"o\">(<\/span>\/etc\/systemd\/system\/tz-test.service<span class=\"p\">;<\/span> static<span class=\"p\">;<\/span> vendor preset: enabled<span class=\"o\">)<\/span>\n  Active: inactive <span class=\"o\">(<\/span>dead<span class=\"o\">)<\/span>\n\nFeb <span class=\"m\">23<\/span> <span class=\"m\">17<\/span>:37:20 strace<span class=\"o\">[<\/span><span class=\"m\">22922<\/span><span class=\"o\">]<\/span>: <span class=\"m\">17<\/span>:37:20.616113 stat<span class=\"o\">(<\/span><span class=\"s2\">&quot;\/etc\/localtime&quot;<\/span>, <span class=\"o\">{<\/span><span class=\"nv\">st_mode<\/span><span class=\"o\">=<\/span>S_IFREG<span class=\"p\">|<\/span><span class=\"m\">0644<\/span>, st_siz\nFeb <span class=\"m\">23<\/span> <span class=\"m\">17<\/span>:37:20 strace<span class=\"o\">[<\/span><span class=\"m\">22922<\/span><span class=\"o\">]<\/span>: <span class=\"m\">17<\/span>:37:20.616167 stat<span class=\"o\">(<\/span><span class=\"s2\">&quot;\/etc\/localtime&quot;<\/span>, <span class=\"o\">{<\/span><span class=\"nv\">st_mode<\/span><span class=\"o\">=<\/span>S_IFREG<span class=\"p\">|<\/span><span class=\"m\">0644<\/span>, st_siz\nFeb <span class=\"m\">23<\/span> <span class=\"m\">17<\/span>:37:20 strace<span class=\"o\">[<\/span><span class=\"m\">22922<\/span><span class=\"o\">]<\/span>: <span class=\"m\">17<\/span>:37:20.616228 stat<span class=\"o\">(<\/span><span class=\"s2\">&quot;\/etc\/localtime&quot;<\/span>, <span class=\"o\">{<\/span><span class=\"nv\">st_mode<\/span><span class=\"o\">=<\/span>S_IFREG<span class=\"p\">|<\/span><span class=\"m\">0644<\/span>, st_siz\nFeb <span class=\"m\">23<\/span> <span class=\"m\">17<\/span>:37:20 strace<span class=\"o\">[<\/span><span class=\"m\">22922<\/span><span class=\"o\">]<\/span>: <span class=\"m\">17<\/span>:37:20.616282 stat<span class=\"o\">(<\/span><span class=\"s2\">&quot;\/etc\/localtime&quot;<\/span>, <span class=\"o\">{<\/span><span class=\"nv\">st_mode<\/span><span class=\"o\">=<\/span>S_IFREG<span class=\"p\">|<\/span><span class=\"m\">0644<\/span>, st_siz\nFeb <span class=\"m\">23<\/span> <span class=\"m\">17<\/span>:37:20 strace<span class=\"o\">[<\/span><span class=\"m\">22922<\/span><span class=\"o\">]<\/span>: <span class=\"m\">17<\/span>:37:20.616336 stat<span class=\"o\">(<\/span><span class=\"s2\">&quot;\/etc\/localtime&quot;<\/span>, <span class=\"o\">{<\/span><span class=\"nv\">st_mode<\/span><span class=\"o\">=<\/span>S_IFREG<span class=\"p\">|<\/span><span class=\"m\">0644<\/span>, st_siz\nFeb <span class=\"m\">23<\/span> <span class=\"m\">17<\/span>:37:20 strace<span class=\"o\">[<\/span><span class=\"m\">22922<\/span><span class=\"o\">]<\/span>: <span class=\"m\">17<\/span>:37:20.616394 write<span class=\"o\">(<\/span><span class=\"m\">1<\/span>, <span class=\"s2\">&quot;Greetings!\\nGodspeed, dear friend&quot;<\/span>..., <span class=\"m\">4096<\/span>\nFeb <span class=\"m\">23<\/span> <span class=\"m\">17<\/span>:37:20 strace<span class=\"o\">[<\/span><span class=\"m\">22922<\/span><span class=\"o\">]<\/span>: Godspeed, dear friend!\nFeb <span class=\"m\">23<\/span> <span class=\"m\">17<\/span>:37:20 strace<span class=\"o\">[<\/span><span class=\"m\">22922<\/span><span class=\"o\">]<\/span>: <span class=\"o\">)<\/span> <span class=\"o\">=<\/span> <span class=\"m\">34<\/span> &lt;<span class=\"m\">0<\/span>.000012&gt;\nFeb <span class=\"m\">23<\/span> <span class=\"m\">17<\/span>:37:20 strace<span class=\"o\">[<\/span><span class=\"m\">22922<\/span><span class=\"o\">]<\/span>: <span class=\"m\">17<\/span>:37:20.616437 exit_group<span class=\"o\">(<\/span><span class=\"m\">0<\/span><span class=\"o\">)<\/span>           <span class=\"o\">=<\/span> ?\nFeb <span class=\"m\">23<\/span> <span class=\"m\">17<\/span>:37:20 strace<span class=\"o\">[<\/span><span class=\"m\">22922<\/span><span class=\"o\">]<\/span>: <span class=\"m\">17<\/span>:37:20.616516 +++ exited with <span class=\"m\">0<\/span> +++\n<\/pre><\/div>\n<p>After reloading the daemon and starting the service:<\/p>\n<div class=\"highlight\"><pre><span><\/span>root@test-system:\/srv\/tz-test$ systemctl daemon-reload\nroot@test-system:\/srv\/tz-test$ systemctl start tz-test\nroot@test-system:\/srv\/tz-test$ systemctl status tz-test\ntz-test.service\n  Loaded: loaded <span class=\"o\">(<\/span>\/etc\/systemd\/system\/tz-test.service<span class=\"p\">;<\/span> static<span class=\"p\">;<\/span> vendor preset: enabled<span class=\"o\">)<\/span>\n  Active: inactive <span class=\"o\">(<\/span>dead<span class=\"o\">)<\/span>\n\nFeb <span class=\"m\">23<\/span> <span class=\"m\">17<\/span>:38:48 strace<span class=\"o\">[<\/span><span class=\"m\">23293<\/span><span class=\"o\">]<\/span>: <span class=\"m\">17<\/span>:38:48.003900 fstat<span class=\"o\">(<\/span><span class=\"m\">3<\/span>, <span class=\"o\">{<\/span><span class=\"nv\">st_mode<\/span><span class=\"o\">=<\/span>S_IFREG<span class=\"p\">|<\/span><span class=\"m\">0644<\/span>, <span class=\"nv\">st_size<\/span><span class=\"o\">=<\/span><span class=\"m\">127<\/span>, ...<span class=\"o\">})<\/span> <span class=\"o\">=<\/span>\nFeb <span class=\"m\">23<\/span> <span class=\"m\">17<\/span>:38:48 strace<span class=\"o\">[<\/span><span class=\"m\">23293<\/span><span class=\"o\">]<\/span>: <span class=\"m\">17<\/span>:38:48.003936 read<span class=\"o\">(<\/span><span class=\"m\">3<\/span>, <span class=\"s2\">&quot;TZif2\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\1<\/span>\n<span class=\"s2\">Feb 23 17:38:48 strace[23293]: 17:38:48.003970 lseek(3, -71, SEEK_CUR) = 56 &lt;0.000008&gt;<\/span>\n<span class=\"s2\">Feb 23 17:38:48 strace[23293]: 17:38:48.003996 read(3, &quot;<\/span>TZif2<span class=\"se\">\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\1<\/span>\nFeb <span class=\"m\">23<\/span> <span class=\"m\">17<\/span>:38:48 strace<span class=\"o\">[<\/span><span class=\"m\">23293<\/span><span class=\"o\">]<\/span>: <span class=\"m\">17<\/span>:38:48.004028 close<span class=\"o\">(<\/span><span class=\"m\">3<\/span><span class=\"o\">)<\/span>                <span class=\"o\">=<\/span> <span class=\"m\">0<\/span> &lt;<span class=\"m\">0<\/span>.000009&gt;\nFeb <span class=\"m\">23<\/span> <span class=\"m\">17<\/span>:38:48 strace<span class=\"o\">[<\/span><span class=\"m\">23293<\/span><span class=\"o\">]<\/span>: <span class=\"m\">17<\/span>:38:48.004075 write<span class=\"o\">(<\/span><span class=\"m\">1<\/span>, <span class=\"s2\">&quot;Greetings!\\nGodspeed, dear friend&quot;<\/span>..., <span class=\"m\">4096<\/span>\nFeb <span class=\"m\">23<\/span> <span class=\"m\">17<\/span>:38:48 strace<span class=\"o\">[<\/span><span class=\"m\">23293<\/span><span class=\"o\">]<\/span>: Godspeed, dear friend!\nFeb <span class=\"m\">23<\/span> <span class=\"m\">17<\/span>:38:48 strace<span class=\"o\">[<\/span><span class=\"m\">23293<\/span><span class=\"o\">]<\/span>: <span class=\"o\">)<\/span> <span class=\"o\">=<\/span> <span class=\"m\">34<\/span> &lt;<span class=\"m\">0<\/span>.000010&gt;\nFeb <span class=\"m\">23<\/span> <span class=\"m\">17<\/span>:38:48 strace<span class=\"o\">[<\/span><span class=\"m\">23293<\/span><span class=\"o\">]<\/span>: <span class=\"m\">17<\/span>:38:48.004110 exit_group<span class=\"o\">(<\/span><span class=\"m\">0<\/span><span class=\"o\">)<\/span>           <span class=\"o\">=<\/span> ?\nFeb <span class=\"m\">23<\/span> <span class=\"m\">17<\/span>:38:48 strace<span class=\"o\">[<\/span><span class=\"m\">23293<\/span><span class=\"o\">]<\/span>: <span class=\"m\">17<\/span>:38:48.004182 +++ exited with <span class=\"m\">0<\/span> +++\n<\/pre><\/div>\n<p>After these changes are in place you'll need to make sure any long running\nservices are restarted so they pick it up. Once that's done your\nservices will be have the TZ variable set automatically on start without\nhaving to set it on a per service basis.<\/p>\n","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"timezone"}},{"@attributes":{"term":"systemd"}}]},{"title":"Fixing a Squealing Processor","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/fixing-a-squealing-processor.html","rel":"alternate"}},"published":"2017-02-12T00:00:00+00:00","updated":"2017-02-12T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2017-02-12:\/fixing-a-squealing-processor.html","summary":"<p>A few weeks ago my Windows 7 machine wouldn't post. I spent a good number of\nhours troubleshooting the problem but ended up having to RMA my mobo. Upon\nreturn I hooked everything back up, and while it would post as soon as Windows\nstarted up the processor was making \u2026<\/p>","content":"<p>A few weeks ago my Windows 7 machine wouldn't post. I spent a good number of\nhours troubleshooting the problem but ended up having to RMA my mobo. Upon\nreturn I hooked everything back up, and while it would post as soon as Windows\nstarted up the processor was making a high pitched squealing noise.There\nwas no way I was going to deal with that so I started searching on the\ninternet for possible solutions.<\/p>\n<p>I was able to narrow it down as I've had similar problems in the past and they\nare typically related to power, but everything looked good in the power\nsettings within Windows, as well as the BIOS. Searching through a good number\nof forums finally lead me to a solution. Within regedit I went to:\n<cite>HKEY_LOCAL_MACHINE SYSTEM CurrentControlSet Control Power PowerSettings 54533251-82be-4824-96c1-47b60b\u00ac740d00 5d76a2ca-e8c0-402f-a133-215849\u00ac2d58ad<\/cite>\nand modified the Attributes from 1 to 0. Then back in the Control panel's power\nsettings for the processor a new option was available to modify power management\nfor the processor. Disabling this resolved the issue and my processor was\nimmediately silent. The only trade off here is a slight temperature increase\non the CPU while it isn't under load, and obviously some more power used. This\nwas definitey worth implementing to me though as dealing with other means might\nhave meant another RMA or crazy amounts of troubleshooting. Thanks to <cite>jesdanco<\/cite>\nover on the tomshardware.com forums all the way back in 2011 for this fix.<\/p>\n","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"windows"}},{"@attributes":{"term":"troubleshooting"}}]},{"title":"A Recruiter's First Impression is Their Only Impression","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/a-recruiters-first-impression-is-their-only-impression.html","rel":"alternate"}},"published":"2016-12-13T00:00:00+00:00","updated":"2016-12-13T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2016-12-13:\/a-recruiters-first-impression-is-their-only-impression.html","summary":"<p>Like everyone else in the IT world I deal with a lot of recruiters, and I'm\nconstantly surprised by how abrasive and tactless many of them are. They act\nas though they are dealing with their available positions as a commodity,\nbut they don't want to give out any details \u2026<\/p>","content":"<p>Like everyone else in the IT world I deal with a lot of recruiters, and I'm\nconstantly surprised by how abrasive and tactless many of them are. They act\nas though they are dealing with their available positions as a commodity,\nbut they don't want to give out any details regarding what they're really\nselling until you have your wallet out. This means that recruiters need to\nmake their first pitch their most convincing, not with catch phrases or other\nnonsense, but details about the job. I've spoken to many recruiters who still\nhave a hard time with this. To them it's all about the pitch, but to tech\nemployees it's all about the details.<\/p>\n<p>Any tech employee that a recruiter talks to is far more likely to buy what\nthey are selling when they know as much as possible, how much does it pay?\nWhat are the benefits like? How many on-call incidents are there per week?\nand so forth. Asking questions like these are critical to a good interview, and\nmore importantly a job where you'll actually be happy. I've previously linked\n<a class=\"reference external\" href=\"https:\/\/github.com\/gravyboat\/interviewee-questions\">this repo<\/a> on Twitter\nthat goes in-depth regarding questions that you can ask potential employers\nbut I've realized that just isn't enough. Helping recruiters ask the right\nquestions is equally important because if they don't get it we're all just\nwasting time asking these questions in interviews.<\/p>\n<p>If your organization has a recruiter, or you know one that's having a hard\ntime you need to sit them down and explain why details are so critical to tech\nemployees. No one in IT cares about being a rock star or working at a global\nscale. They care about what the pay looks like, what the benefits look like,\nand all the other details of the job. You need to help them understand that\ntheir first impression is not only the most important interaction, it is\ntheir only interaction. They should treat that interaction as though they\nare throwing a bottle out to sea while stuck on an island. Would they write\n'This is a great island, you should come visit!'? Absolutely not. They would\nfocus on as many details about the island and how to get there as they could\nreasonably fit on the note so they could be saved. Emails to prospective\nemployees should be treated the exact same way. If they aren't recruiting like\nthey're on a desert island then they are not doing it right.<\/p>\n<p>I felt so passionate about this 'first and only' communication mindset that I\nprovided a template for exactly what this email should look like in\nthe recruiting book I wrote. It's such an easy thing to overlook and so many\nrecruiters are doing it because they aren't recognizing how much impact\n(positive or negative) the first contact really has. If you can impress upon a\npotential candidate in your first email that you have researched them properly\nand aren't there to waste their time you will encounter people truly interested\nin your organization and the work you are doing. So if you're recruiting stop\nthrowing a million bottles into the sea and start focusing on what the current\nlooks like.<\/p>\n","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"Recruiting"}}]},{"title":"Writing and Launching My First Book","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/writing-and-launching-my-first-book.html","rel":"alternate"}},"published":"2016-12-10T00:00:00+00:00","updated":"2016-12-10T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2016-12-10:\/writing-and-launching-my-first-book.html","summary":"<p>Today I launched my first short book (<a class=\"reference external\" href=\"https:\/\/gumroad.com\/hungryadmin#NkpmT\">https:\/\/gumroad.com\/hungryadmin#NkpmT<\/a>)\naimed at helping IT Recruiters become better at interacting with members of\nthe IT community. I'm hoping that this field manual can help recruiters quickly\nbecome more familiar with what people in IT want to see when they're \u2026<\/p>","content":"<p>Today I launched my first short book (<a class=\"reference external\" href=\"https:\/\/gumroad.com\/hungryadmin#NkpmT\">https:\/\/gumroad.com\/hungryadmin#NkpmT<\/a>)\naimed at helping IT Recruiters become better at interacting with members of\nthe IT community. I'm hoping that this field manual can help recruiters quickly\nbecome more familiar with what people in IT want to see when they're contacted\nand what these interactions should look like. We all have our issues with how\nrecruiters approach the IT space so a short book that gets\nstraight to the point was something I felt was missing. It helps that I'm\nnot selling a service so there's no spin trying to get people to buy other\nproducts.<\/p>\n<p>I was a bit worried about the length of the book versus the price but after\nreviewing the average profit a recruiter makes I figure if they have even one\npositive interaction then it has paid for the book a dozen times over..<\/p>\n","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"Recruiting"}},{"@attributes":{"term":"books"}},{"@attributes":{"term":"gumroad"}}]},{"title":"A Failed Project's Postmortem","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/a-failed-projects-postmortem.html","rel":"alternate"}},"published":"2016-12-02T00:00:00+00:00","updated":"2016-12-02T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2016-12-02:\/a-failed-projects-postmortem.html","summary":"<p>Ten months ago I launched remote-first (you can read more\nabout that process\n<a class=\"reference external\" href=\"https:\/\/hungryadmin.com\/starting-and-finishing-a-project.html\">here<\/a>)\nwhich was the first paid product I've launched since I started working\nin IT. In this post I'm going to talk about why I believe it\nfailed, the costs involved in such a failure, and how \u2026<\/p>","content":"<p>Ten months ago I launched remote-first (you can read more\nabout that process\n<a class=\"reference external\" href=\"https:\/\/hungryadmin.com\/starting-and-finishing-a-project.html\">here<\/a>)\nwhich was the first paid product I've launched since I started working\nin IT. In this post I'm going to talk about why I believe it\nfailed, the costs involved in such a failure, and how I'm closing out\nthis project. This post will be presented as a postmortem so\n(hopefully) we can all learn from this failure and not repeat it.<\/p>\n<p>I realize many of the expectations in this post could be considered\nnaive and they probably are. I haven't run a business or site like this\nbefore so I wasn't sure what to expect or how to truly market the site\nappropriately. Having a product that addresses issues with other similar\nproducts is not sufficient and I've learned that I need to cast a\nwider net than I did in terms of marketing and demographic targeting.\nNow that I've said that let's get on to some more in-depth details.<\/p>\n<div class=\"section\" id=\"why-i-thought-it-would-succeed\">\n<h2>Why I Thought It Would Succeed<\/h2>\n<p>As someone who works remotely I dislike many of the remote job sites\nthat are out there. One of the biggest ones (weworkremotely.com) doesn't\neven support mobile devices so you have to scroll around when you visit\nit. I spoke about this during my launch article but being a mobile\nfriendly site (both in terms of site size and usability) is really\nimportant to me. Being able to browse jobs\nno matter where you are is a requirement, and that experience should be\nexcellent. Many of these sites fell into the common pitfalls of either\nbeing too heavy because they were built on a CMS, or they had lots of\njavascript and tracking elements. As someone who was looking for a job\nat the time I saw what I thought was an obvious failing in the market,\na lightweight mobile friendly site that didn't scrape users for\ninformation they didn't want to share. At the time it seemed like\na surefire idea, but as this post highlights it failed miserably. Let's\ntalk about why.<\/p>\n<\/div>\n<div class=\"section\" id=\"reasons-for-failure\">\n<h2>Reasons for Failure<\/h2>\n<p>I'm terrible at marketing. This is something I've learned through the\nlife of this product. I didn't reach out to enough organizations and\ngroups that might be interested. I also didn't have enough diligence in\nthis aspect. I under budgeted myself when it came to the marketing\naspect since I was trying to keep my costs low due to having quit my\njob.\nThis was a huge failure on my part, what good is the product if no one\nwho cares knows about it? I tried to remedy this with some Reddit\nadvertising but this was a waste (after this project I would\nnever advertise on Reddit again). I ran two ad campaigns totaling $52.06\nwhich targeted subreddits I felt were the most relevant. I used the\nfollowing ad for my ad campaigns, hoping to draw in remote companies\nwith an honest ad that described exactly what the site was for:<\/p>\n<img alt=\"Remote First Reddit Ad\" class=\"align-center\" src=\"images\/remote_first_reddit_ad.png\" \/>\n<p>My first ad campaign strictly targeted \/r\/sysadminjobs. I wanted to\nstart small since I had already invested a good amount of time and money\ninto the site between building it and logo design costs. It seemed\nto make the most sense to run on a smaller subreddit to see what kind\nof response the ad could elicit. Here's what the first campaign looked\nlike:<\/p>\n<img alt=\"Remote First Reddit Ad Campaign 1\" class=\"align-center\" src=\"images\/remote_first_reddit_advertising_campaign_1.png\" \/>\n<p>The first ad campaign ended up only costing me $1.89 as the\nsubreddit was so small that it couldn't generate enough traffic to go\nthrough all of my ad money in the allotted time. The ad performed rather\nwell compared to what I was expecting generating a click-through\nrate of 0.75%. This is still bad when you consider it against adwords\nwhich has a click-through rate of approximately 2% for searches, and\nit doesn't target users anywhere near as specifically as I did with this\nsubreddit.<\/p>\n<p>Being somewhat pleased with the first campaign I moved onto the second,\ncasting a much wider net where I targeted several of the largest remote\njob subreddits. I tried to get \/r\/programming but someone had purchased\nall the ad space already, this time I invested $50:<\/p>\n<img alt=\"Remote First Reddit Ad Campaign 2\" class=\"align-center\" src=\"images\/remote_first_reddit_advertising_campaign_2.png\" \/>\n<p>I didn't get very much traffic from this ad compared to the number of\nimpressions and ended up with a click-through rate of only 0.338% which\nwas pretty abysmal. Hilariously the \/r\/sysadmin ad generated the largest\nspike in traffic the site would see at any one time:<\/p>\n<img alt=\"Remote First Analytics Visitor Metrics\" class=\"align-center\" src=\"images\/remote_first_google_analytics_visitor_metrics.png\" \/>\n<p>What I learned from this is that I targeted the wrong audience with my\ninitial marketing strategy. My hope was to drive developers and other\ninterested parties to the site so that they would talk to their team\nabout posting a job. I should have done more research regarding how to\ntarget recruiters specifically since they are typically in control of\nthe budget for job ads.<\/p>\n<p>When I launched the site there was only a single example ad\non the main page so potential customers could see what they were paying\nfor. I attempted to get my job board added to a popular repository on\n<a class=\"reference external\" href=\"https:\/\/github.com\/lukasz-madon\/awesome-remote-job\/pull\/241\">GitHub<\/a>\nbut it was declined since there weren't any jobs on the board yet. I\nrefused to 'steal' ads from other sites to populate my job site so the\nsite was very bare bones with\njust my example job. I don't know how I would handle this knowing\nwhat I do now. On the one hand I think copying some ads from other\nlocations would have provided me with a better marketing platform, but I\nstill feel as though it would be a dishonest thing to do and wouldn't\nsit well with me. I would rather have a failed product than lie to\npotential customers.<\/p>\n<p>My next failure was putting too much stock in having a simple mobile\nfriendly design. I guess I overestimated the number of people who\nbrowse the subreddits I targeted from mobile devices as opposed to\ndesktops. A staggering 79.88% of my total sessions were from\ndesktop machines.<\/p>\n<img alt=\"Remote First Analytics Device Metrics\" class=\"align-center\" src=\"images\/remote_first_google_analytics_device_metrics.png\" \/>\n<p>While I'm still extremely happy with the site on\ndesktop devices (it uses dynamic scaling to ensure compatibility\nacross pretty much any device) one of the site's main selling points is\nnow lost, leaving me with a fast site that doesn't track you. While\nthese aspects are satisfactory to me I imagine it didn't matter to most\nusers of the site and wasn't a good enough hook to get them to consider\nbuying an ad.<\/p>\n<p>One of the other big mistakes I made was not improving (or even really\nworking on) the site's SEO. I can't stand search engine optimization\npast making sure the site is responsive, fast, works on any device, and\nserves content over HTTPS. Sadly being satisfied with these results\ncomes largely from my Engineering background where these are the most\nimportant aspects of a site.<\/p>\n<p>I should have cared more about the\nextraneous parts of SEO (aka the boring stuff). Making the site\nperformant is fun, working on a page's metadata is not. I'm not much\nof a frontend person to begin with and a large portion of my time was\nalready spent making the layout of the pages look good. By the time\nI got around to doing SEO tweaks I didn't go the extra mile to make\nsure my site was meeting all the criteria search engines look for.<\/p>\n<p>Initially when I purchased advertising through Reddit I thought this was\na good way to go since there were lots of subreddits discussing ads, but\nas this <a class=\"reference external\" href=\"https:\/\/blog.ladder.io\/reddit-ads\/\">article I linked on Twitter points out<\/a>\nadvertising on Reddit actually sucks. People are extremely adverse to\nadvertising there and it can bite you. If I had it to do over again I\nwould definitely go with other advertising platforms. I targeted people\nwho would be looking for remote job advertisements instead of people who\nwere looking to purchase remote job advertisements and I think this\nreally hurt the site's potential. Coupled with my unwillingness to spend\nmore money on the site (by this time I was working a new job and pushed\nthe site to side project status again) I think this really hurt my\npotential. It was absolutely my fault and it's something to focus on in\nthe future, don't target people who aren't spending money at your site\nin hopes that they talk to the people who will.<\/p>\n<\/div>\n<div class=\"section\" id=\"what-failure-costs\">\n<h2>What Failure Costs<\/h2>\n<p>I'm disappointed to say it but I made exactly 0 dollars off of\nremote-first. It didn't cost more than I expected to run, it simply\ndidn't provide any return which I wasn't expecting. Let's look at the\ncost breakdown here in terms of hours and money spent:<\/p>\n<p>Hosting: $5\/month (10 months) - $50<\/p>\n<p>Google Apps: $5\/month (10 months) - $50<\/p>\n<p>Domain Registration: $15.50 - $15.50<\/p>\n<p>Logo Design: $200 - $200<\/p>\n<p>Advertising: $52.06 - $52.06<\/p>\n<p>Total: $367.56<\/p>\n<p>In addition to this fiscal cost it took between 23 and 25 hours to\ndesign and build the site, along with anywhere between 12-15 hours\ndealing with marketing research, maintenance, and other assorted tasks.\nOverall this was a pretty cheap project in terms of time and cost.\nI'm not happy with the results, but I am glad that I've learned quite a\nbit from this project's postmortem. Having a product that solves a\nproblem alone isn't enough. You need marketing, word of mouth, and some\nexcitement built around your product to truly get the kind of traction\nneeded to become successful.<\/p>\n<\/div>\n<div class=\"section\" id=\"closing-out-the-project\">\n<h2>Closing Out the Project<\/h2>\n<p>The domain for remote-first is expiring shortly and I won't be renewing\nit. I've decided to open source this project and all of the code with an\nMIT license. I've chopped the commits since they weren't especially\nrelevant plus they included sensitive data that I didn't feel like going\nback through to prune.<\/p>\n<p>You can review the site code here:\n<a class=\"reference external\" href=\"https:\/\/github.com\/gravyboat\/remote-first\">https:\/\/github.com\/gravyboat\/remote-first<\/a><\/p>\n<p>and the salt based deployment code here:\n<a class=\"reference external\" href=\"https:\/\/github.com\/gravyboat\/remote-first-salt\">https:\/\/github.com\/gravyboat\/remote-first-salt<\/a>.<\/p>\n<p>If either of these repos benefit you in some way I'd love to know, and\nif you somehow make a bunch of money feel free to throw some my way.<\/p>\n<\/div>\n","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"open source"}},{"@attributes":{"term":"Salt"}},{"@attributes":{"term":"GitHub"}},{"@attributes":{"term":"python"}},{"@attributes":{"term":"git"}},{"@attributes":{"term":"flask"}},{"@attributes":{"term":"remote-first.com"}}]},{"title":"Starting and Finishing a Project","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/starting-and-finishing-a-project.html","rel":"alternate"}},"published":"2016-02-02T00:00:00+00:00","updated":"2016-02-02T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2016-02-02:\/starting-and-finishing-a-project.html","summary":"<p>On February first I deployed <a class=\"reference external\" href=\"https:\/\/remote-first.com\">https:\/\/remote-first.com<\/a>, the first project I've\never released that has a paid component. I feel as though a retrospective to\nreview and document the process and creation of the app will be beneficial for\nmyself, and may benefit others.<\/p>\n<p>To begin the idea at \u2026<\/p>","content":"<p>On February first I deployed <a class=\"reference external\" href=\"https:\/\/remote-first.com\">https:\/\/remote-first.com<\/a>, the first project I've\never released that has a paid component. I feel as though a retrospective to\nreview and document the process and creation of the app will be beneficial for\nmyself, and may benefit others.<\/p>\n<p>To begin the idea at the forefront of my mind every step of the way was an\nacronym I love that doesn't seem to get enough use. 'KISS', or Keep It Simple\nStupid sometimes has a negative connotation, for me however it represents\neverything responsible that I focus on when it comes to design and\nimplementation on a variety of projects. Additionally the idea of\nextensibility and ease of modification are important. Keeping an application\nsimple doesn't mean cutting corners or failing to account for possibilities,\nit simply means not over-engineering a solution unnecessarily just because\nyou can.<\/p>\n<p>In total this project took me about 24 hours to complete over the course of\nalmost two months. I definitely should have compressed completion on this\nproject a bit more but I focused on result driven development instead of\nsimply hammering my head against tasks when I could tell I was frustrated. This\nresulted in not getting burned out on the project, and I probably spent about\n75% of my time working on front end work (css\/html) as I'm far less familiar\nwith that side of things.<\/p>\n<p>The big question is 'Why make a job board site?', and the honest answer is I\njust didn't like most of the existing sites. Huge usage of javascript,\ntracking sites, and a lack of mobile friendliness led me to decide that\nthis was something I could create that addressed my concerns while improving\nmy skills. It addresses my main issues with wanting a simple job board that\njust has the job facts. It doesn't flaunt company logos, or provide ways for\npeople to make their job more eye catching for an additional fee.\nMaybe these reasons seem ridiculous but as someone who has been using job\nboards to search for employment recently these were all annoying nitpicks\nthat I felt could easily be solved.<\/p>\n<p>I'll begin by talking about the time management and tracking tools I used\nthat allowed me to complete this project, then move onto the tech used,\nand some final thoughts.<\/p>\n<div class=\"section\" id=\"the-tools\">\n<h2>The Tools<\/h2>\n<p>For tracking my time I used the pomodoro technique, and a Firefox browser\nextension (Pomodoro Clock). I've become a pretty big fan of the pomodoro\ntechnique and if you are unfamiliar with this it's basically chunking your time\ninto 25 minute blocks. Usually you're supposed to take a 5 minute reflection\nbreak after every 25 minute block. Sometimes I just set another 25 minute\ntimer as I'm in the middle of things and don't want to be interrupted. Either\nway it works exceptionally well for tracking my time and providing me with\nstats on projects.<\/p>\n<img alt=\"Pomodoro Data\" class=\"align-center\" src=\"images\/pomodoro_stats.PNG\" \/>\n<p>In total it took me 55 pomodoros (23 hours) to complete the project and there\nis probably an additional hour or two of work where I forgot to set the timer.<\/p>\n<p>For task tracking I used Trello (a Kanban tool). I've been using Trello\nfor quite a few years now and find the Kanban mentality especially beneficial\nfor the way I work. It allows me to track each task that needs to be completed\nso I can set goals and see measurable progress as I complete each task. Some\ntasks take a long time to complete while others are very quick. Using\nthis combined with the pomodoro timer easily allows me to see how I've been\nperforming. I do wish I had done slightly better task to pomodoro mapping so\nI could present more data in this section regarding how long each individual\ntask took. This would have allowed me to more easily track areas where I\nstruggled so I could improve on them in the future. This will definitely be\nsomething I try to focus on for projects going forward for my own personal\ngoals. I completed a total of 28 tasks, some of which should have definitely\nbeen broken up into many smaller tasks, again this will be an area I focus on\nfor the next project. I also wasn't as descriptive as I should have been for my\ntask updates so there could be some improvement there for both my personal use\nand in the event I share a board with others.<\/p>\n<img alt=\"Trello Board\" class=\"align-center\" src=\"images\/trello_board.PNG\" style=\"width: 420.0px; height: 515.5px;\" \/>\n<p>When I created this project initially I also didn't write a project spec which\nI think was a bit of an oversight on my part. For most projects I create a spec\neven if it's just a small side project for myself. I'm not sure why I didn't\nthis time. I think a combination of the app design, as well as how I was\ncreating tasks within Trello gave me enough data and focus to do without one.\nIf I had been working on this project with someone else I definitely would have\nas I don't like shifting requirements. While I know I can stick to this\nmentality solo I don't think this works as well when working in a team,\nespecially at any sort of company where outside influences can impact a\nproject and the requirements.<\/p>\n<p>These tools kept me on track for completing the project as well as ensuring\nI could focus on task based project tracking to get a real sense of things\ngetting done. This combined with the tangible action of watching the app\nmanifest made it a lot easier for me to stay on track and finish the project.<\/p>\n<\/div>\n<div class=\"section\" id=\"the-tech\">\n<h2>The Tech<\/h2>\n<p>The technology stack for this application wasn't a very difficult decision but\nI still chose to do some research prior to starting to decide on the\ndatabase back end, the payment processor, and the framework.<\/p>\n<p>I've used Flask for several apps in the past, and decided to use it again for\nthis project. Flask is easy to use and allowed me to spend a majority of my\ntime elsewhere as the overall structure of the app is not extremely\ncomplicated. I'm proficient enough in Python that the app itself didn't\npresent many problems outside of general design constraints and prepping\nfor future modifications\/expansion if it is required. I used Sqlite for the\ndatabase and Nginx with Gunicorn for serving the content up as the performance\nprovided is exceptional and easy to configure.<\/p>\n<p>The payment processor took a bit of research, and I ended up going with\nStripe. Their excellent documentation accompanied by their low rates justified\nmy time spent learning about their Python library. This accompanied by some\nprocessing code they have available (I don't want to store ANY customer details\non my system) made them a clear winner for this project.<\/p>\n<p>For systems and automation I used a small VPS, and Salt for all of my\nautomation tasks such as configuring the server and deploying the application.<\/p>\n<p>Another big point for me was to try and minimize javascript usage as much as\npossible for both performance and privacy. I didn't want to track users past\nvery basic analytics as I don't like being tracked myself so there are very\nfew uses of javascript on the site, and no tracking past Google Analytics.<\/p>\n<p>Overall the tech used is pretty simplistic. I wanted to make sure I avoided\nlibraries or frameworks that required asset compiling or anything else along\nthose lines as it creates unnecessary work and additional management which I\nwanted to avoid (KISS).<\/p>\n<\/div>\n<div class=\"section\" id=\"the-conclusion\">\n<h2>The Conclusion<\/h2>\n<p>I'm very happy with how this application turned out. I don't know yet whether\nit will be a success or never see a return but I hope the design the app\nprovides is something that users enjoy. Most importantly I'm\npleased that I was able to complete the project as the scale was slightly\nlarger than personal projects I've worked on in the past. Reflecting on what\nmade this project successful boils down to breaking the work into small\nmanageable tasks and then completing those tasks. Combining this along with\nboth new and familiar technologies presented enough existing knowledge and\nknowledge growth potential to leave me satisfied regardless of how the site\nperforms financially.<\/p>\n<p>If you have any questions or comments please feel free to reach\nout to me on Twitter or the other forms of communication included on my blog.<\/p>\n<\/div>\n","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"python"}},{"@attributes":{"term":"git"}},{"@attributes":{"term":"flask"}},{"@attributes":{"term":"remote-first.com"}},{"@attributes":{"term":"salt"}},{"@attributes":{"term":"saltstack"}}]},{"title":"Docker, Salt, and Travis CI","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/docker-salt-and-travis-ci.html","rel":"alternate"}},"published":"2015-11-12T00:00:00+00:00","updated":"2015-11-12T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2015-11-12:\/docker-salt-and-travis-ci.html","summary":"<p>Late last week I was investigating some Docker deployment components and how I\ncould integrate them with Salt. Looking on the internet I found a lot of\ntutorials that talked about different components, but couldn't find anything\nthat included an actual working project that showed how all the components fit \u2026<\/p>","content":"<p>Late last week I was investigating some Docker deployment components and how I\ncould integrate them with Salt. Looking on the internet I found a lot of\ntutorials that talked about different components, but couldn't find anything\nthat included an actual working project that showed how all the components fit\ntogether. There also wasn't a ton out there that used software that was\neasily accessible and free, a lot of tutorials included some sort of third\nparty that you had to pay for to manage your Docker containers, and I wasn't\na fan of that sort of system.<\/p>\n<p>The goal I was trying to achieve was a full blown dev, test, and production\nenvironment which was automated from beginning to end. Test the code, build\nthe containers, push the containers to a repo, then deploy them to the\nassociated environment. The first component was the local dev environment,\nusing boot2docker, or just Docker as the primary means for a dev to test their\nlocal changes, as well as Travis-ci integration so that testing could be\nautomated and visible when they made a push back to GitHub. This portion was\npretty simple to implement as it was really just a Dockerfile and a\n.travis.yml file.<\/p>\n<p>The test and prod environments were a bit more work to implement (the whole\nproject took me about 4 days until I was satisfied with the functionality) as\nthey implemented automated Docker pushes to the Docker hub, as well as\ndeployments to the actual servers via Salt when an updated image appeared on the\nDocker hub. Updating the .travis.yml to support pushing to the Docker hub was\npretty simple to implement thanks to the fantastic Travis-ci docs, but there's\nstill the sticking point of environments using different .travis.yml files on\ndifferent branches (which we use to achieve pushes to specific Docker hubs)\nis a bit of an annoyance and required some git attributes.<\/p>\n<p>Once Travis was pushing Docker containers to the hub automatically the next\nportion was to implement automated deployments via Salt. Salt includes a\ncomponent called the reactor which allows you to listen for events and then\nperform actions based on those events. Unfortunately the reactor doesn't\nsupport masterless minions at this point in time, so I had to implement\na master server (probably good in this situation otherwise I would have had\nto set up some sort of proxy to hit multiple machines within the same\nenvironment). This took a good amount of time to ensure everything was working\nproperly (ensuring Docker was properly installed and systems were running) as I\nencountered a few oddities with how Docker runs on CentOS machines which I was\nusing as my main test platform. I added Ubuntu support specifically to avoid\nthis problem.<\/p>\n<p>After I confirmed that pushes were being tested, containers built, pushed\nto the hub, and then deployed to the associated environments I was happy enough\nto publicize the repo so other people could poke it. The biggest goal for this\nproject I wanted to achieve was a repo where you could look at it and see all\nof the components that were required (though hopefully not store them in the\nsame repo like I did in my example). I believe I've done that at this point\nwhich will hopefully help people improve their deployment processes and\nunderstand that it's not that complicated to have a competent\nenvironment that uses these tools. If you'd like to review this repo you can\ndo so here: <a class=\"reference external\" href=\"https:\/\/github.com\/gravyboat\/docka-docka-docka\">https:\/\/github.com\/gravyboat\/docka-docka-docka<\/a><\/p>\n","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"python"}},{"@attributes":{"term":"git"}},{"@attributes":{"term":"docker"}},{"@attributes":{"term":"saltstack"}},{"@attributes":{"term":"travis-ci"}},{"@attributes":{"term":"GitHub"}}]},{"title":"Configuring Powerline and Git","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/configuring-powerline-and-git.html","rel":"alternate"}},"published":"2015-10-25T00:00:00+00:00","updated":"2015-10-25T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2015-10-25:\/configuring-powerline-and-git.html","summary":"<p>I decided to play around with Powerline some more after a talk by Corey Quinn\nat this year's SeaGL conference in Seattle. I quickly learned that setting this\nup is a real pain in the ass. This is primarily because the documentation is\nnot very good, and the documentation for \u2026<\/p>","content":"<p>I decided to play around with Powerline some more after a talk by Corey Quinn\nat this year's SeaGL conference in Seattle. I quickly learned that setting this\nup is a real pain in the ass. This is primarily because the documentation is\nnot very good, and the documentation for the plugin I was most interested in\n(powerline-gitstatus) happens to be even worse. With some tinkering and help\nfrom Jakub's powerline repo (<a class=\"reference external\" href=\"https:\/\/github.com\/jkubrynski\/powerline-git-theme\">https:\/\/github.com\/jkubrynski\/powerline-git-theme<\/a>)\nI was able to get things up and running, so I'm going to go through it here to\nmake sure others don't have to suffer. I should note I'm using a bash shell.<\/p>\n<p>Start by installing powerline using these docs:<\/p>\n<p><a class=\"reference external\" href=\"http:\/\/powerline.readthedocs.org\/en\/master\/installation.html\">http:\/\/powerline.readthedocs.org\/en\/master\/installation.html<\/a><\/p>\n<p>The installation docs are actually pretty good, it's the config docs that are\nconfusing. When you restart your terminal after performing the install you\nshould now see the powerline prompt. Install powerline-gitstatus (do not use\nthe provided config files):<\/p>\n<p><a class=\"reference external\" href=\"https:\/\/github.com\/jaspernbrouwer\/powerline-gitstatus#installation\">https:\/\/github.com\/jaspernbrouwer\/powerline-gitstatus#installation<\/a><\/p>\n<p>A <tt class=\"docutils literal\">.config<\/tt> directory for powerline should have been created, if it\nwasn't for some reason create the powerline directory inside your <tt class=\"docutils literal\">.config<\/tt>\ndirectory.<\/p>\n<p>Once you've created the powerline directory copy the contents from my repo\nin the powerline directory to your powerline directory:<\/p>\n<p><a class=\"reference external\" href=\"https:\/\/github.com\/gravyboat\/powerline-config\">https:\/\/github.com\/gravyboat\/powerline-config<\/a><\/p>\n<p>The key file that no one seems to mention is the <tt class=\"docutils literal\">config.json<\/tt>. This will\nforce the actual changes to take effect, and without this file you'll still\nbe using the default configuration. While that may work I prefer everything\naligned on the left side of the screen.<\/p>\n<p>Once this is complete check to make sure the linting is fine with\n<tt class=\"docutils literal\"><span class=\"pre\">powerline-lint<\/span><\/tt> and if everything looks fine restart the daemon with\n<tt class=\"docutils literal\"><span class=\"pre\">powerline-daemon<\/span> <span class=\"pre\">--replace<\/span><\/tt>. You should now see the status of the git repo\non the powerline prompt when you're in a repo directory.<\/p>\n","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"powerline"}},{"@attributes":{"term":"python"}},{"@attributes":{"term":"json"}},{"@attributes":{"term":"git"}}]},{"title":"Using T-Mobile For a Month Without Internet","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/using-t-mobile-for-a-month-without-internet.html","rel":"alternate"}},"published":"2015-05-19T00:00:00+00:00","updated":"2015-05-19T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2015-05-19:\/using-t-mobile-for-a-month-without-internet.html","summary":"<p>I recently moved and the internet service providers in the new area are pretty bad.\nThis means that I've been working with a local Fiber provider to try and get some better\nservice. The current providers only offer 12 month contracts which I'm not interested in\nso I've been using \u2026<\/p>","content":"<p>I recently moved and the internet service providers in the new area are pretty bad.\nThis means that I've been working with a local Fiber provider to try and get some better\nservice. The current providers only offer 12 month contracts which I'm not interested in\nso I've been using my phone as my primary internet platform. I currently use T-Mobile\nas my cellphone provider so before I get into the the review let's check out my plan. I\ncurrently pay $30 USD for 100 minutes of talk, unlimited texting, and 5GB of data at 4G.\nFor the price this plan is great and T-Mobile should be applauded for offering this\nsort of deal. It's been excellent for when I've used it alongside a regular ISP. As\ntethering is against the T-Mobile rules my primary usage is on my phone directly. It\nshould be noted that if you do set up a hotspot you have to use HTTPS to connect to\nsites (or modify your user agent). HTTP will not work due to T-Mobile requesting\nyou pay for a hotspot connection.<\/p>\n<p>What this means for me is I've been primarily working from a local coffee shop as\nneeded when I talk to my coworkers and do other intense work. I tried to limit myself\nto between 250 and 500 megabytes of data a day or less (which still only provides 10-20\ndays of 4G data). What's tough to realize is that just normal browsing will utterly\ndestroy this data cap. I quickly started limiting myself to a single Youtube video (144p),\nno music streaming, and limited browsing time per day. It wasn't too bad until I hit my\ncap, which is what prompted this blog post in the first place. The service up until I hit\nthe cap was great, between 6-8 mbps, and pretty exceptional reception. After I hit the cap\nis the real problem though. According to T-Mobile's website you are then throttled to\n128 kbps, or 2G. This isn't actually the case though and instead you're connection\nis reduced to 64 kbps. The limit surprised me as I had received a text message prior to\nhitting th cap saying it would be throttled to 64 kbps which I figured was incorrect\nafter reviewing their website details again for plans.<\/p>\n<p>To my surprise I was throttled to 64 kbps. This is the point where things become\nunbearably slow and regular web page loads were taking quite a long time. I figured that\nthis was just due to the time of day but that's not the case. I used T-Mobile's own\nspeed test in the morning, evening, afternoon, and very late at night and never received\na result over 67 kbps, and usually it was more in the low 60s to 40s. Since I use a prepaid\nplan I figured I would just buy more data, but that's not an option. While you can upgrade\nyour plan (the only one that would provide unlimited data was 80 dollars per month and on\na 'contract'), there's no way to just buy more 4G data which I would happily do for a\ndollar or two per GB. Still a heavy fee, but better than being limited to 64 kbps. While\nyou can buy more minutes you can't buy more data which is a serious flaw.<\/p>\n<p>This lead me to an interesting conclusion of options regarding whether I wanted to\nupgrade my service, simply deal with it, or move to another provider. For this situation\nI ended up deciding to stick with T-Mobile even though I believe their website puts false\ninformation out there which is pretty shady. I can't fault them for throttling me but I\ncan fault them for throttling so intensely and inaccurately. Not offering a way to simply\nstay on my current plan while paying for more data is also awful. For a carrier saying\nthey are the 'uncarrier' this is a pretty archaic system and I'm dissapointed I can't just\nthrow them some money and get additional data.<\/p>\n","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"cellphone"}}]},{"title":"The Importance of High Quality Conference Goods","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/the-importance-of-high-quality-conference-goods.html","rel":"alternate"}},"published":"2015-01-07T00:00:00+00:00","updated":"2015-01-07T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2015-01-07:\/the-importance-of-high-quality-conference-goods.html","summary":"<p>I think good merchandise, whether free or paid is critical to have at a\nconference. Every time you print a t-shirt or create a sticker you're making\nan advertising investment in hopes that someone will put that sticker on their\nlaptop or wear the t-shirt and it will be recognized \u2026<\/p>","content":"<p>I think good merchandise, whether free or paid is critical to have at a\nconference. Every time you print a t-shirt or create a sticker you're making\nan advertising investment in hopes that someone will put that sticker on their\nlaptop or wear the t-shirt and it will be recognized. Would you half-ass\na commercial, radio ad, or print ad? No way! You'd want to make sure it was\nsomething you could be proud of, and in the grand scheme of things merchandise\nis on the cheaper end of this spectrum. So what makes good merchandise? Let's look at some great items I've been given over the past few years.<\/p>\n<p>In October of 2013 I attended DevOpsDays Atlanta. They had an assortment of\nt-shirts and other goods from companies that were sponsoring the event. I try\nto keep my acquisition of things like bags, pens, and other items to a minimum\nsince most of these handouts are poorly made and relatively pointless.\nThe only exceptions to this rule are t-shirts and stickers. Most of the t-shirts\nI get just sit in my closet because they either don't fit well, are\nmade from extremely cheap shirts, or have embarrassing phrases on them that\nscream 'I am a nerd and better than you'.<\/p>\n<p>None of these things make me want to wear a t-shirt, so when I went to\nDevOpsDay Atlanta and saw these (<a class=\"reference external\" href=\"http:\/\/instagram.com\/p\/QYld7mMzGJ\/\">http:\/\/instagram.com\/p\/QYld7mMzGJ\/<\/a>) t-shirts. I\nwas pretty impressed. Let's start with the most important thing, the shirt cost\nmore than 20 cents, and wasn't made by some Honduran child in a sweatshop. In\nfact they sprung for American Apparel, which is a win in my book as a tall\nskinny guy. The shirts are long enough where I can raise my arms above my head\nand not go 'oh look my belly button!'. The design on the front is also really\ninteresting, and doesn't scream IT. The actual product (Mandrill) is a tiny\nlogo near the bottom of the shirt on the back. It isn't the main focus, instead\nthis really cool design is and I appreciate that. I like this shirt so much\nin fact that it's part of my conference roster of t-shirts. If I've got to\ntravel somewhere for a conference this shirt goes with me, and I wear it\nalmost every week anyways since it's so comfortable and fits well. I get\ncomplimented on the shirt and the awesome design on a regular basis by people\nwho aren't in the IT world.<\/p>\n<p>Another great example is the hoodie I received from speaking at SeaGL, these\nguys have a great logo, and they kept it simple. A comfortable\n(American Apparel again here) zip up hoodie, with the logo on it\n(<a class=\"reference external\" href=\"https:\/\/twitter.com\/osuosl\/status\/526776280369225730\">https:\/\/twitter.com\/osuosl\/status\/526776280369225730<\/a>), and that's it. It's\nsimple, it looks good, and the hoodie is comfortable. What more could you want?<\/p>\n<p>I've received shirts that have embarrassing phrases, are printed on\nshirts that were on sale because they are a gross color, or are really\nuncomfortable due to the quality of the shirt. Guess what? These shirts don't\nleave my closet and are the first to be donated. They don't make me look\ngood, so why would I want to give the company that provided them free\nadvertising?<\/p>\n<p>If you aren't thinking of your t-shirts as an investment into the people who\nlove your software or respect your company then you are doing things wrong.\nDon't cut corners on t-shirts, and don't create designs which scream\n'I am better than everyone else'. If it's just your logo that's fine. A\nhigh quality and comfortable shirt or hoodie goes a long way towards being\nworn on a regular basis. If you can't say that you would wear this shirt every\nday, then why print it? Would you pay for this shirt if you could? If not,\nthink about what makes it that way and fix it. Whether it's an extra 2 dollars\nper shirt to get a nicer shirt, or another run through the art team's hands.<\/p>\n<p>If I can see the pride your organization puts into something as simple as a\nt-shirt, then I can't wait to see what you do when it comes to a real product.<\/p>\n","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"conferences"}},{"@attributes":{"term":"merchandise"}}]},{"title":"Chrome OS, a Quick Review","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/chrome-os-a-quick-review.html","rel":"alternate"}},"published":"2014-12-20T00:00:00+00:00","updated":"2014-12-20T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2014-12-20:\/chrome-os-a-quick-review.html","summary":"<p>It\u2019s the holidays, and that means you might be considering a new laptop.\nYou\u2019ve probably heard about Chrome OS. Basically it\u2019s Google\u2019s web focused\noperating system, and it runs on cheap laptops. I owned the original\nchromebook but it was pretty underpowered so I didn\u2019t \u2026<\/p>","content":"<p>It\u2019s the holidays, and that means you might be considering a new laptop.\nYou\u2019ve probably heard about Chrome OS. Basically it\u2019s Google\u2019s web focused\noperating system, and it runs on cheap laptops. I owned the original\nchromebook but it was pretty underpowered so I didn\u2019t feel it would be fair to\nreview it The one I bought a year ago was $250 US dollars,\n(<a class=\"reference external\" href=\"http:\/\/www.amazon.om\/gp\/product\/B00FNPD1OY\">http:\/\/www.amazon.om\/gp\/product\/B00FNPD1OY<\/a> ) and you can\u2019t actually buy that\nversion any longer. Basically it has 4 gigs of RAM, a 16 gig hard drive and a\n1.4 ghz cpu. So I\u2019ve been using this laptop every day for mostly simple tasks\nsuch as reading email, browsing the internet, watching videos, and\noccasionally working via SSH. So as a light use machine it\u2019s pretty great.\nIt gets the job done, and is generally fast enough for most tasks. I know that\na lot of people will consider this as a major selling point, and say that for\n250 dollars you can\u2019t really complain, but let\u2019s talk about some things that\nonly someone using the machine for a while would notice, and what the major\ndrawbacks are.<\/p>\n<p>Let\u2019s start with the CPU, it\u2019s okay, but it\u2019s not great so sometimes\nthings are a bit slow. Having a small hard drive is also tough,\n16 gigs of space basically means I don\u2019t use the Chromebook for anything\nserious and even if I wanted to I couldn\u2019t because support is pretty bad for\nthe device. It\u2019s made to browse the internet and use internet apps, and that\u2019s\nbasically it. Usually this is okay, but sometimes you\u2019re out of luck. A great\nexample of this was in early 2014. I had to spend the night in an airport, and\nfigured \u2018no big deal, I will do some work, I have my chromebook on me.\u2019 but\nthis wasn\u2019t the case. The chromebook was unable to connect to the wi-fi\navailable in the airport, why this is I don\u2019t know, but I tried to\ntroubleshoot it for over an hour without any luck. After that I tried\ntethering off my phone, and it still didn\u2019t work even though my other devices\ncould connect to both access points. Without internet the chromebook was\ncrippled. Even apps that claimed they could run offline really could only do\nso when you had them open prior to disconnecting. I was screwed. I couldn\u2019t\nwork on a presentation, and it was generally useless. This is a major problem.\nEspecially since you can\u2019t SSH to the chromebook itself (unless you have it in\ndeveloper mode), so no writing code while the device is offline to commit\nlater. This was the first time the chromebook had let me down after owning it\nfor 5 months. It was horrifying to realize I was basically out of luck with\nthe laptop I had, at that point it was a 250 dollar brick with a screen. I was\nseriously regretting not having put a Linux distro on a thumb drive or SD card.<\/p>\n<p>Moving back to using the chromebook itself, I use f.lux, twilight, and several\nother apps that adjust the lighting on my monitor\/screens so that I can easily\nsleep at night. Unfortunately the chrome devs don\u2019t care about this\n(<a class=\"reference external\" href=\"https:\/\/code.google.com\/p\/chromium\/issues\/detail?id=217173\">https:\/\/code.google.com\/p\/chromium\/issues\/detail?id=217173<\/a> ) and it\u2019s been\nan issue since October 2012! It\u2019s infuriating that this is something they care\nso little about. This lack of functionality means I can\u2019t use my chromebook\nprior to going to bed at all or I will have a hard time falling asleep. This\nis currently my biggest issue with the device since it\u2019s basically just a\nlaptop I use at home, but it shows that the development team either isn\u2019t\nserious, or doesn\u2019t care enough to open this functionality up so people can\nwrite their own app (and believe me they would, Integers of K wrote:\n<a class=\"reference external\" href=\"https:\/\/chrome.google.com\/webstore\/detail\/glux\/hinolicfmhnjadpggledmhnffommefaf?hl=en\">https:\/\/chrome.google.com\/webstore\/detail\/glux\/hinolicfmhnjadpggledmhnffommefaf?hl=en<\/a> as a\nworkaround where it tries to modify the code on every page) but it\u2019s\nfrustrating and pathetic that this sort of issue has been open for so long.<\/p>\n<p>So you\u2019re probably reading through this and thinking \u2018that is it? Those are\nyou complaints? This seems great for 250 bucks.\u2019 and honestly it is. If I\ncould get an equivalent laptop running Linux I would.. Oh wait I can. Ignore\nthe chromebook and Chrome OS unless Google actually gets serious about it, and\ninstead just buy a cheap laptop (maybe even a chromebook) and put Linux on it.\nThe devices themselves are great, but I'm not completely sold on the OS yet. It\njust doesn't meet my needs as a user that would like to do more than just\nbrowse the internet and read email.<\/p>\n","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"Chrome OS"}},{"@attributes":{"term":"review"}},{"@attributes":{"term":"git"}}]},{"title":"When is the Salt Book Going to Be Done?","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/when-is-the-salt-book-going-to-be-done.html","rel":"alternate"}},"published":"2014-08-25T00:00:00+00:00","updated":"2014-08-25T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2014-08-25:\/when-is-the-salt-book-going-to-be-done.html","summary":"<p>Recently I've been asked a few times about the status of the Salt book that\nI am writing. People seem pretty eager to get their hands on it, but I've been\nquite slow to actually write the book. There are multiple reasons for this\nbut primarily it boils down to \u2026<\/p>","content":"<p>Recently I've been asked a few times about the status of the Salt book that\nI am writing. People seem pretty eager to get their hands on it, but I've been\nquite slow to actually write the book. There are multiple reasons for this\nbut primarily it boils down to a limited number of hours in the day where I'm\nnot working my day job, and a desire to also do other things than just work\non Salt.<\/p>\n<p>I figured I'd make this post so that people could more easily follow the\nprogress of the book, and get an understanding of how I plan to release it.<\/p>\n<p>Let's start with tracking the progress of the book. You can currently star\nthe repo (<a class=\"reference external\" href=\"https:\/\/github.com\/gravyboat\/salt-book\">https:\/\/github.com\/gravyboat\/salt-book<\/a>), and I've recently marked\nmy Trello board as public (<a class=\"reference external\" href=\"https:\/\/trello.com\/b\/r3IONZRf\/salt-book\">https:\/\/trello.com\/b\/r3IONZRf\/salt-book<\/a>) so people\ncan follow progress there if they want to as well.<\/p>\n<p>I've also been asked about translations and licensing, first off my plan\nwith the book is to have it totally open source, thus the directory structure\nwhich allows for more languages, as well as an MIT license. My goal is to\npublish the book in as many languages as possible with the help of those in\nthe community. I have no plans to hire translation services.<\/p>\n<p>Regarding the cost of the book my plan has been and will continue to be that\nit is available for free (another reason I don't work on it that much, I don't\nexactly expect to get rich off of it). I plan on making it available via HTML,\nEPUB, PDF, and whatever other formats people want. I'll also probably put it\non the Amazon store, but it will be sold without DRM, and most likely for a\ndollar since I think that's as low as they'll let you go. I haven't researched\nthat much since there hasn't been a point to do so.<\/p>\n<p>There have been questions regarding the books length and content. What you see\nin the repo is probably all that I'll write for this first book, as I plan to\nensure it's taking you through what you need to know. Length wise it will\nprobably be on the shorter side (100 pages MAX), since I don't like\nlengthy books that drone on and on about every little detail, that's what the\ndocumentation is for!<\/p>\n<p>So the biggest questions, what is the time line for the book? When will the\nbook be done? The honest answer is I don't know. I enjoy working on it, but\nhave a particular writing style which takes some time on my part to properly\nwrite, and I enjoy writing where there is a sense of purpose and a goal to\nachieve as opposed to a set of steps that leave you with nothing in the end.<\/p>\n<p>Okay so that's pretty much it for the update, I hope this has answered any\nquestions you might have. Please keep in mind that if you're looking for a\nbook sooner than this one, both Colton and Tom at SaltStack plan on\nreleasing books through different publishers, so there should be some good\noptions out there in the following months!<\/p>\n","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"salt"}},{"@attributes":{"term":"saltstack"}},{"@attributes":{"term":"python"}},{"@attributes":{"term":"automation"}},{"@attributes":{"term":"git"}},{"@attributes":{"term":"trello"}}]},{"title":"Contributing to Open Source, it's Easier Than You Think","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/contributing-to-open-source-its-easier-than-you-think.html","rel":"alternate"}},"published":"2013-10-28T00:00:00+00:00","updated":"2013-10-28T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2013-10-28:\/contributing-to-open-source-its-easier-than-you-think.html","summary":"<p>A year ago I decided that I wanted to start contributing to open source\nprojects. I had spent a lot of time working on my own side-projects, but\nthere wasn't really an open source project I was passionate about, so I\njust picked one (OpenStack) and it went terribly. After \u2026<\/p>","content":"<p>A year ago I decided that I wanted to start contributing to open source\nprojects. I had spent a lot of time working on my own side-projects, but\nthere wasn't really an open source project I was passionate about, so I\njust picked one (OpenStack) and it went terribly. After signing up I didn't\nknow what to do. I didn't have enough knowledge of OpenStack to really\ncontribute to the project, and there wasn't much direction to go in once you'd\nsigned up past 'pick a group and contribute!'. Fast forward to today, and all\nI've got to show for my OpenStack signup is 3500 emails from the mailing list.<\/p>\n<p>This seems like a common problem with contributing to open source projects. So\ncommon in fact, it was proposed as an open space at DevOpsDays Atlanta and\nthere were about 20 attendants. The general consensus from people who weren't\ncontributing to open source projects was either a lack of knowledge of the\nproject, fear of rejection by the main contributors, or generally not\nunderstanding where to get started. So let's discuss how I was able to learn\nabout an open source project, start contributing, and continue contributing.<\/p>\n<p>During PyCon this year I met the SaltStack team. I had looked at SaltStack\nbefore, but my employer at the time was heavily invested in Puppet, and so was\nI since I was writing manifests every day. Fast forward a few months, and I'm\nlooking at Salt again since it's matured and I needed a config management\nsolution for my job. So I started where anyone else would, by looking at the\ndocumentation. At this time I also decided that I wanted to try contributing\nto an open source project again, so I hopped into the IRC. I just hung out in\nthere reading questions and their answers while I read through the docs and\nexperimented with Salt on my own.<\/p>\n<p>This went on for a few weeks, and I slowly began answering questions I had a\nsolution for. I also made notes of pain points in the documentation, typos,\nor areas I had issues with, and slowly began to fix those. At that point a\nconfiguration management solution was put on hold at work, but I was still\nactively participating in the Salt community. It was just part of my day to\nhop into the IRC (especially on weekends where I had more time), and answer\nquestions occasionally. I was creating issues for problems I was encountering,\nor that others encountered in the IRC. I'd also email myself with tasks to\naccomplish at night that people were encountering with the documentation.\nMinor code fixes were also part of my off hours work, but the biggest thing\nwas the documentation. As a Puppet user who had struggled to learn through\ntheir docs, I felt as though Salt should have the best documentation\navailable, so that anyone could quickly pick things up.<\/p>\n<p>My lack of familiarity with Salt also helped greatly here, as I was able to\nexpand on the documentation in ways that hadn't previously been considered\nsince I was so new to Salt. Yes, my lack of knowledge was actually a BENEFIT\nin this situation, because I'd get confused and then make a note that I needed\nto clarify that on the documentation after I resolved it myself. At this point\nI contribute a wide variety of docs, this even includes the initial commit of\nthe <a class=\"reference external\" href=\"http:\/\/docs.saltstack.com\/topics\/tutorials\/halite.html\">Halite docs<\/a>,\nwhich previously only existed as a general walkthrough on GitHub explaining\nhow to install straight from the Git commit.<\/p>\n<p>So this is all great, but where are the details on how you can get started?\nOnce again this is talking about how someone got started making commits,\nand how that has gone, as opposed to explaining how you can get started\ncontributing. Let's discuss it!<\/p>\n<p>To begin, you need to pick a project you enjoy. I know Python, and I enjoy\nautomation, so I picked Salt. I had also met the dev team, so that contributed\nto my interested. I wanted to make sure that I could make code commits, as\nwell as understand what was going on so picking a project in a language I was\nfamiliar with was key. If you aren't familiar with the project's language it\nmight not be the best decision for your first venture into the open source\ncommunity. Additionally if you're working on a project that you have no\ninterest in, there's a good chance you're just going to stop. Having a vested\ninterested in the project makes it a lot easier to work on.<\/p>\n<p>You also want to make sure you like the community that works on the project.\nObviously you can't like everyone in life, but being part of a community that\nfosters new contributors is key. As I said above, I hung out in the Salt IRC\nfor a while before I started answering questions. For me this didn't take too\nlong as I was reading the docs and implementing the technology. Go at your own\npace, but try to push yourself out of your comfort zone.<\/p>\n<p>Ok, so you've picked a project, read the docs, and hung out with the\ncommunity. Hopefully at this point you've been taking notes about what people\nencounter issues. In fact\n<a class=\"reference external\" href=\"https:\/\/github.com\/saltstack\/salt-cloud\/pull\/502\">this<\/a> was my first Salt\ncommit. All I did was update the Readme.rst on the GitHub page because someone\nin the IRC mentioned they couldn't find the docs. Do you feel comfortable\nupdating this sort of information? If the answer is yes, Congratulations!\nYou're now confident enough to contribute.<\/p>\n<p>Continually keep in mind that open source projects don't just need hardcore\ncoders who know the ins and outs of the tool, they need people to help answer\nquestions in the IRC, update documentation, fix minor issues in the code, and\na dozen other things. So start small, and work your way up!<\/p>\n","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"open source"}},{"@attributes":{"term":"Salt"}},{"@attributes":{"term":"GitHub"}}]},{"title":"DevOpsDays Atlanta","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/devopsdays-atlanta.html","rel":"alternate"}},"published":"2013-10-18T00:00:00+00:00","updated":"2013-10-18T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2013-10-18:\/devopsdays-atlanta.html","summary":"<p>Earlier this month I took some vacation time and went to <a class=\"reference external\" href=\"http:\/\/devopsdays.org\/events\/2013-atlanta\/\">http:\/\/devopsdays.org\/events\/2013-atlanta\/<\/a> , and it was a great experience. The conference itself was very laid back, with breakfast, a few sessions, lunch, and then open spaces. I had never attended an event that had open spaces before \u2026<\/p>","content":"<p>Earlier this month I took some vacation time and went to <a class=\"reference external\" href=\"http:\/\/devopsdays.org\/events\/2013-atlanta\/\">http:\/\/devopsdays.org\/events\/2013-atlanta\/<\/a> , and it was a great experience. The conference itself was very laid back, with breakfast, a few sessions, lunch, and then open spaces. I had never attended an event that had open spaces before, but they have quickly become one of my favorite forums for discussion.<\/p>\n<p>The general idea of an open space is you propose an idea (from the podium after the final talk of the day) that you want to discuss, then everyone votes. Once voting is complete, the open spaces are given time\/areas, and from there you do whatever you want. You can leave an open space and join others, and no one gives you grief about it.<\/p>\n<p>There was a lot of great discussion going on, transitioning from SVN to git, getting started with open source contributions, and how to bring new people on board as quickly as possible. There were a ton more as well that were really great, and I had to prioritize which ones I was interested in. The awesome thing about the open spaces is since you can leave whenever, and attendees voted for the discussions the people who are there care about the topic, whether they are just listening, or contributing to the discussion.<\/p>\n<p>Another great thing about the DevOpsDays was the excitement about what devops really was, as opposed to simply a tool being pitched. On the first day I wore my SaltStack t-shirt, and had some great talks with other people who were interested in learning why I liked Salt, as well as others using Puppet and Chef, and why they were excited about those tools. I learned about some awesome tools I had never even heard of before, and was able to tell people about cool tools that I was using.<\/p>\n<p>The talks were really interesting as well, especially since the day wasn't completely packed, it was a lot more laid back. That in addition with the number of attendees (somewhere around 100 I think?) made for a lot of mingling with other people, and learning about what they did. I really enjoy talking to as many people as possible at these events, and have no issue approaching strangers. This one was so low pressure however that people were approaching me, which I hadn't experienced a lot before.<\/p>\n<p>Overall I'd say the DevOpsDays was one of the best conferences I've attended, and would highly recommend others go as well (especially as a first conference). You get to meet a ton of interesting people who share the same mentality you do, learn some awesome stuff, and everyone is very friendly. So let's discuss overall cost of the trip. The ticket itself was only 75 dollars for the two days, airfare was about 300 dollars round trip, and my hotel was 120\/night (I stayed two nights, then flew out Friday). I only used public transportation and walked, so the cost there was about 6 dollars. Food outside of the conference cost about 40 dollars in total. So the grand total I paid for the trip was about $760, plus two days of vacation time. Overall I felt the trip was completely worth it, and enjoyed the experience!<\/p>\n<p>If you've got the time and the resources, I'd highly recommend attending a DevOpsDays event, especially if there is one local to where you live.<\/p>\n","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"devopsdays"}},{"@attributes":{"term":"automation"}},{"@attributes":{"term":"devops"}},{"@attributes":{"term":"conferences"}}]},{"title":"Downloading Java with Python","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/downloading-java-with-python.html","rel":"alternate"}},"published":"2013-09-16T00:00:00+00:00","updated":"2013-09-16T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2013-09-16:\/downloading-java-with-python.html","summary":"<p>A few weeks ago I wanted to create a script that would automatically download the latest Java RPM from Oracle's site, and update a YUM repository so I wasn't constantly doing it manually.<\/p>\n<p>When I wrote the script there were a few key points it had to hit:<\/p>\n<ol class=\"arabic simple\">\n<li>It would \u2026<\/li><\/ol>","content":"<p>A few weeks ago I wanted to create a script that would automatically download the latest Java RPM from Oracle's site, and update a YUM repository so I wasn't constantly doing it manually.<\/p>\n<p>When I wrote the script there were a few key points it had to hit:<\/p>\n<ol class=\"arabic simple\">\n<li>It would automatically pass a cookie to Oracle's site (otherwise you can't download the packages).<\/li>\n<li>It had to Work on Python 2.4, and 2.6.<\/li>\n<li>There would be a variety of options to support different configurations, as well as any updates that might take place in the future (cookie, site, directory, etc.).<\/li>\n<\/ol>\n<p>Overall this was pretty easy to resolve, I found a nice write up over at <a class=\"reference external\" href=\"http:\/\/ivan-site.com\/2012\/05\/download-oracle-java-jre-jdk-using-a-script\/\">http:\/\/ivan-site.com\/2012\/05\/download-oracle-java-jre-jdk-using-a-script\/<\/a> that talked about which cookie was needed by Oracle's website. From there I just wrote up the script. At some point I'd like to improve on this script so it detects non-RPM based systems, and then downloads the tar ball if that is the case. I'd also like to put in some unit testing to cover odd scenarios that might eventually crop up.<\/p>\n<p>For the time being though it gets the job done on systems that are running older variants of Python. Feel free to make a pull request if you have improvements. You can find the repo here: <a class=\"reference external\" href=\"https:\/\/github.com\/gravyboat\/download-java\">https:\/\/github.com\/gravyboat\/download-java<\/a><\/p>\n","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"java"}},{"@attributes":{"term":"python"}},{"@attributes":{"term":"automation"}}]},{"title":"Building a Static Blog and Deploying it With SaltStack","link":{"@attributes":{"href":"https:\/\/hungryadmin.com\/building-a-static-blog-and-deploying-it-with-saltstack.html","rel":"alternate"}},"published":"2013-09-05T00:00:00+00:00","updated":"2013-09-05T00:00:00+00:00","author":{"name":"Forrest Alvarez"},"id":"tag:hungryadmin.com,2013-09-05:\/building-a-static-blog-and-deploying-it-with-saltstack.html","summary":"<p>I'll be discussing the setup of the blog with this initial post, the main focus will be on the usage of SaltStack.<\/p>\n<p>Our setup is going to consist of the following:<\/p>\n<p>One Ubuntu droplet from DigitalOcean, or your favorite VPS provider.<\/p>\n<p>Our static blog (Pelican) running through nginx and a \u2026<\/p>","content":"<p>I'll be discussing the setup of the blog with this initial post, the main focus will be on the usage of SaltStack.<\/p>\n<p>Our setup is going to consist of the following:<\/p>\n<p>One Ubuntu droplet from DigitalOcean, or your favorite VPS provider.<\/p>\n<p>Our static blog (Pelican) running through nginx and a virtualenv.<\/p>\n<p>Saltstack pulling in our server configuration.<\/p>\n<p>So basically the configuration is going to go like this:<\/p>\n<ol class=\"arabic simple\">\n<li>Spin up your droplet (I'm using Ubuntu, but the salt states I'm using should support multiple distros).<\/li>\n<li>Install salt.<\/li>\n<li>Use salt to perform the rest of the setup.<\/li>\n<li>From there it's all blog content related.<\/li>\n<\/ol>\n<p>For the completed project head over to:\n<a class=\"reference external\" href=\"https:\/\/github.com\/gravyboat\/hungryadmin-sls\">https:\/\/github.com\/gravyboat\/hungryadmin-sls<\/a><\/p>\n<p>Our first step is to get salt installed:<\/p>\n<p>We'll be going through the steps here: <a class=\"reference external\" href=\"http:\/\/docs.saltstack.com\/topics\/installation\/ubuntu.html\">http:\/\/docs.saltstack.com\/topics\/installation\/ubuntu.html<\/a><\/p>\n<p>For Ubuntu you may or may not need to install the following package, check if you have the 'add-apt-repository' command, I did not:<\/p>\n<p><tt class=\"docutils literal\"><span class=\"pre\">apt-get<\/span> install <span class=\"pre\">python-software-properties<\/span><\/tt><\/p>\n<p>For me this still didn't provide it, so I had to run<\/p>\n<p><tt class=\"docutils literal\"><span class=\"pre\">apt-get<\/span> install <span class=\"pre\">add-software-properties-common<\/span><\/tt> and I was all set to go.<\/p>\n<p>Ok now I had the add-apt-repository command available I added the saltstack repo: <tt class=\"docutils literal\"><span class=\"pre\">add-apt-repository<\/span> ppa:saltstack\/salt<\/tt><\/p>\n<p>Since we're just going to have one server here, we're going to configure it as a masterless minion:<\/p>\n<p><a class=\"reference external\" href=\"http:\/\/docs.saltstack.com\/topics\/tutorials\/quickstart.html\">http:\/\/docs.saltstack.com\/topics\/tutorials\/quickstart.html<\/a><\/p>\n<p>So we'll start by installing just the salt-minion with:<\/p>\n<p><tt class=\"docutils literal\"><span class=\"pre\">apt-get<\/span> install <span class=\"pre\">salt-minion<\/span><\/tt><\/p>\n<p>Now I like to run a quick test here to make sure things are working properly, so lets install nginx real quick.<\/p>\n<p>If you're following along in the quickstart for the masterless minion, scroll down near the bottom and follow their creation with a few slight modifications (we'll update this later once we have the structure all fleshed out):<\/p>\n<p>\/srv\/salt\/top.sls:<\/p>\n<div class=\"highlight\"><pre><span><\/span><span class=\"nt\">base<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">  <\/span><span class=\"s\">&#39;*&#39;<\/span><span class=\"p p-Indicator\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">    <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">webserver<\/span><span class=\"w\"><\/span>\n<\/pre><\/div>\n<p>\/srv\/salt\/webserver.sls<\/p>\n<div class=\"highlight\"><pre><span><\/span><span class=\"nt\">install_nginx<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">  <\/span><span class=\"nt\">pkg.installed<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">    <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">name<\/span><span class=\"p\">:<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">nginx<\/span><span class=\"w\"><\/span>\n<\/pre><\/div>\n<p>Ok now that those are saved, just run salt-call --local state.highstate -l debug, it should look like the following:<\/p>\n<div class=\"highlight\"><pre><span><\/span>local:\n----------\n    State: - pkg\n    Name:      install_nginx\n    Function:  installed\n        Result:    True\n        Comment:   Package nginx installed\n        Changes:   libgd2: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;1&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n                   httpd: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;1&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n                   nginx-common: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;1.2.6-1ubuntu3.2&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n                   nginx-full: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;1.2.6-1ubuntu3.2&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n                   nginx: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;1.2.6-1ubuntu3.2&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n                   libxslt1.1: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;1.1.27-1ubuntu2&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n                   libjpeg-turbo8: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;1.2.1-0ubuntu2&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n                   libgd2-noxpm: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;2.0.36~rc1~dfsg-6.1ubuntu1&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n                   libjpeg8: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;8c-2ubuntu7&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n<\/pre><\/div>\n<p>Awesome, so now nginx is installed by salt.<\/p>\n<p>Now there are a few things we're going to want to configure here, and a few items we'll have to modify later as we go through setting up the blog itself.<\/p>\n<p>The first thing I want to do is install fail2ban. So lets create that sls:<\/p>\n<p>\/srv\/salt\/fail2ban.sls<\/p>\n<div class=\"highlight\"><pre><span><\/span><span class=\"nt\">install_fail2ban<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">  <\/span><span class=\"nt\">pkg.installed<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">    <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">name<\/span><span class=\"p\">:<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">fail2ban<\/span><span class=\"w\"><\/span>\n<\/pre><\/div>\n<p>and lets update our top.sls again so this gets included:<\/p>\n<p>\/srv\/salt\/top.sls:<\/p>\n<div class=\"highlight\"><pre><span><\/span><span class=\"nt\">base<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">  <\/span><span class=\"s\">&#39;*&#39;<\/span><span class=\"p p-Indicator\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">    <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">webserver<\/span><span class=\"w\"><\/span>\n<span class=\"w\">    <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">fail2ban<\/span><span class=\"w\"><\/span>\n<\/pre><\/div>\n<p>Ok lets run our highstate again: <tt class=\"docutils literal\"><span class=\"pre\">salt-call<\/span> <span class=\"pre\">--local<\/span> state.highstate <span class=\"pre\">-l<\/span> debug<\/tt><\/p>\n<p>And you should see output like this:<\/p>\n<div class=\"highlight\"><pre><span><\/span>local:\n----------\n    State: - pkg\n    Name:      install_fail2ban\n    Function:  installed\n        Result:    True\n        Comment:   Package fail2ban installed\n        Changes:   python2.7-pyinotify: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;1&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n                   python-pyinotify: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;0.9.3-1.1ubuntu1&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n                   fail2ban: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;0.8.7.1-1&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n\n----------\n    State: - pkg\n    Name:      install_nginx\n    Function:  installed\n        Result:    True\n        Comment:   Package nginx is already installed\n        Changes:\n<\/pre><\/div>\n<p>great, now fail2ban will be installed, by default the service starts but let's make sure it does. Modify your \/srv\/salt\/fail2ban.sls to look like this:<\/p>\n<div class=\"highlight\"><pre><span><\/span><span class=\"nt\">install_fail2ban<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">  <\/span><span class=\"nt\">pkg.installed<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">    <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">name<\/span><span class=\"p\">:<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">fail2ban<\/span><span class=\"w\"><\/span>\n\n<span class=\"nt\">fail2ban_service<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">  <\/span><span class=\"nt\">service.running<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">    <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">name<\/span><span class=\"p\">:<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">fail2ban<\/span><span class=\"w\"><\/span>\n<span class=\"w\">    <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">watch<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">      <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">pkg<\/span><span class=\"p\">:<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">install_fail2ban<\/span><span class=\"w\"><\/span>\n<span class=\"w\">      <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">file<\/span><span class=\"p\">:<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">\/etc\/fail2ban\/fail2ban.conf<\/span><span class=\"w\"><\/span>\n<span class=\"w\">    <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">require<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">      <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">pkg<\/span><span class=\"p\">:<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">install_fail2ban<\/span><span class=\"w\"><\/span>\n<\/pre><\/div>\n<p>So we'll get details back on our other items, but what we're focusing on is this:<\/p>\n<div class=\"highlight\"><pre><span><\/span>----------\n    State: - service\n    Name:      fail2ban_service\n    Function:  running\n        Result:    False\n        Comment:   The following requisites were not found:\n                   watch: <span class=\"o\">{<\/span><span class=\"s1\">&#39;file&#39;<\/span>: <span class=\"s1\">&#39;\/etc\/fail2ban\/fail2ban.conf&#39;<\/span><span class=\"o\">}<\/span>\n\n        Changes:\n<\/pre><\/div>\n<p>Now you can see the result here is 'False', does that mean things failed? Let's modify the fail2ban.conf and see. Odd, after adding a line to the fail2ban.conf file I still get the following:<\/p>\n<div class=\"highlight\"><pre><span><\/span>----------\n    State: - service\n    Name:      fail2ban_service\n    Function:  running\n        Result:    False\n        Comment:   The following requisites were not found:\n                   watch: <span class=\"o\">{<\/span><span class=\"s1\">&#39;file&#39;<\/span>: <span class=\"s1\">&#39;\/etc\/fail2ban\/fail2ban.conf&#39;<\/span><span class=\"o\">}<\/span>\n\n        Changes:\n<\/pre><\/div>\n<p>Ok lets modify our fail2ban.sls to just require the package, let's also add a require on the service to ensure it tries to start after fail2ban is installed. (this isn't required in 0.17 and forward since they process in order, but it's nice to have):<\/p>\n<div class=\"highlight\"><pre><span><\/span><span class=\"nt\">install_fail2ban<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">  <\/span><span class=\"nt\">pkg.installed<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">    <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">name<\/span><span class=\"p\">:<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">fail2ban<\/span><span class=\"w\"><\/span>\n\n<span class=\"nt\">fail2ban_service<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">  <\/span><span class=\"nt\">service.running<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">    <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">name<\/span><span class=\"p\">:<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">fail2ban<\/span><span class=\"w\"><\/span>\n<span class=\"w\">    <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">watch<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">      <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">pkg<\/span><span class=\"p\">:<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">install_fail2ban<\/span><span class=\"w\"><\/span>\n<span class=\"w\">    <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">require<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">      <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">pkg<\/span><span class=\"p\">:<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">install_fail2ban<\/span><span class=\"w\"><\/span>\n<\/pre><\/div>\n<p>Now things are looking better:<\/p>\n<div class=\"highlight\"><pre><span><\/span>----------\n    State: - service\n    Name:      fail2ban_service\n    Function:  running\n        Result:    True\n        Comment:   The service fail2ban is already running\n        Changes:\n<\/pre><\/div>\n<p>So why did this fail before? The reason it fails is because Salt doesn't understand that we want to modify the fail2ban.conf, because we didn't declare it inside of the fail2ban.sls. Imagine it like someone has handed you a stack of papers, each with a number on them. They then ask you to find a numbered paper to read them the details on, well they call out 7, and you sort through the stack of papers, but you don't have that paper! How can you provide details about something you don't possess or have in your hand? It's exactly the same with Salt, if you don't say 'hey this is the file, this is the content', and then tell it to watch that file for changes, it doesn't know what to do because it doesn't think the file exists! Since we don't have anything specific going on inside the fail2ban.conf, we aren't going to modify it.<\/p>\n<p>What we DO need to modify however is the sshd_config file, so we can change the port, and disable root login for security purposes. So lets start by creating an ssh directory for Salt, we don't want to clog up our main directory, we'll move the other content as well, and change the naming scheme to better represent both the files, and to meet the requirements Salt has set.<\/p>\n<p>First lets make some directories for our existing content, create the following:<\/p>\n<p><tt class=\"docutils literal\">mkdir \/srv\/salt\/fail2ban<\/tt>\n<tt class=\"docutils literal\">mkdir \/srv\/salt\/nginx<\/tt>\n<tt class=\"docutils literal\">mkdir \/srv\/salt\/ssh<\/tt><\/p>\n<p>Now move the files:<\/p>\n<p><tt class=\"docutils literal\">mv \/srv\/salt\/fail2ban.sls \/srv\/salt\/fail2ban\/init.sls<\/tt><\/p>\n<p><tt class=\"docutils literal\">mv \/srv\/salt\/webserver.sls \/srv\/salt\/nginx\/init.sls<\/tt><\/p>\n<p><tt class=\"docutils literal\">cp \/etc\/ssh\/sshd_config \/srv\/salt\/ssh\/sshd_config<\/tt><\/p>\n<p>Now you're thinking to yourself 'woah woah woah, why did this guy change the file names to inits??'. The reasoning behind this is now that they're no longer in top level directories, we still want them to get applied, and the init just inherits the name of the directory, which is great for having a base file that would get configured everywhere.<\/p>\n<p>So just to make sure we didn't break anything, let's run our highstate again:<\/p>\n<div class=\"highlight\"><pre><span><\/span>salt-call --local state.highstate -l debug\n\nlocal:\n----------\n    State: - pkg\n    Name:      install_fail2ban\n    Function:  installed\n        Result:    True\n        Comment:   Package fail2ban is already installed\n        Changes:\n----------\n    State: - service\n    Name:      fail2ban_service\n    Function:  running\n        Result:    True\n        Comment:   The service fail2ban is already running\n        Changes:\n<\/pre><\/div>\n<p>Wait a second where did nginx go? Remember how we moved webserver.sls to be init.sls in the nginx dir? Well we didn't update our top.sls, so lets do that now:<\/p>\n<div class=\"highlight\"><pre><span><\/span><span class=\"nt\">base<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">  <\/span><span class=\"s\">&#39;*&#39;<\/span><span class=\"p p-Indicator\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">    <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">nginx<\/span><span class=\"w\"><\/span>\n<span class=\"w\">    <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">fail2ban<\/span><span class=\"w\"><\/span>\n<\/pre><\/div>\n<p>Lets run the highstate again:<\/p>\n<div class=\"highlight\"><pre><span><\/span>local:\n----------\n    State: - pkg\n    Name:      install_fail2ban\n    Function:  installed\n        Result:    True\n        Comment:   Package fail2ban is already installed\n        Changes:\n----------\n    State: - pkg\n    Name:      install_nginx\n    Function:  installed\n        Result:    True\n        Comment:   Package nginx is already installed\n        Changes:\n----------\n    State: - service\n    Name:      fail2ban_service\n    Function:  running\n        Result:    True\n        Comment:   The service fail2ban is already running\n        Changes:\n<\/pre><\/div>\n<p>Awesome, now things are looking a lot better! Lets move on to managing our sshd_config. I'm going to assume familiarity with the sshd_config, I've modified the default port, as well as the ability for root to login, modify whatever you want, and let's create our init.sls:<\/p>\n<div class=\"highlight\"><pre><span><\/span><span class=\"nt\">install_ssh<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">  <\/span><span class=\"nt\">pkg.installed<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">    <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">name<\/span><span class=\"p\">:<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">ssh<\/span><span class=\"w\"><\/span>\n\n<span class=\"nt\">ssh_service<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">  <\/span><span class=\"nt\">service.running<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">    <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">enable<\/span><span class=\"p\">:<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">True<\/span><span class=\"w\"><\/span>\n<span class=\"w\">    <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">name<\/span><span class=\"p\">:<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">ssh<\/span><span class=\"w\"><\/span>\n<span class=\"w\">    <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">require<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">      <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">pkg<\/span><span class=\"p\">:<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">install_ssh<\/span><span class=\"w\"><\/span>\n<span class=\"w\">    <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">watch<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">      <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">file<\/span><span class=\"p\">:<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">sshd_config<\/span><span class=\"w\"><\/span>\n\n<span class=\"nt\">sshd_config<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">  <\/span><span class=\"nt\">file.managed<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">    <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">name<\/span><span class=\"p\">:<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">\/etc\/ssh\/sshd_config<\/span><span class=\"w\"><\/span>\n<span class=\"w\">    <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">source<\/span><span class=\"p\">:<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">salt:\/\/ssh\/sshd_config<\/span><span class=\"w\"><\/span>\n<span class=\"w\">    <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">mode<\/span><span class=\"p\">:<\/span><span class=\"w\"> <\/span><span class=\"s\">&#39;0644&#39;<\/span><span class=\"w\"><\/span>\n<span class=\"w\">    <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">user<\/span><span class=\"p\">:<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">root<\/span><span class=\"w\"><\/span>\n<span class=\"w\">    <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">group<\/span><span class=\"p\">:<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">root<\/span><span class=\"w\"><\/span>\n<span class=\"w\">    <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">require<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">      <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">pkg<\/span><span class=\"p\">:<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">install_ssh<\/span><span class=\"w\"><\/span>\n<\/pre><\/div>\n<p>Add our new ssh content to the top.sls:<\/p>\n<div class=\"highlight\"><pre><span><\/span><span class=\"nt\">base<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">  <\/span><span class=\"s\">&#39;*&#39;<\/span><span class=\"p p-Indicator\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">    <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">nginx<\/span><span class=\"w\"><\/span>\n<span class=\"w\">    <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">fail2ban<\/span><span class=\"w\"><\/span>\n<span class=\"w\">    <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">ssh<\/span><span class=\"w\"><\/span>\n<\/pre><\/div>\n<p>Ok we've done quite a bit here. So we install the package, and ensure the service is running, and the requires are in place, and we're watching our sshd_config file. We also set up the sshd_config so that all our changes get applied properly. You'll notice that I've put single quotes around the mode, due to the way YAML is formatted, you can't have a leading 0 or it treats the value like a hexadecimal value, so just wrap it in single quotes. Let's see what our output looks like now:<\/p>\n<div class=\"highlight\"><pre><span><\/span>local:\n----------\n    State: - pkg\n    Name:      install_ssh\n    Function:  installed\n        Result:    True\n        Comment:   Package ssh is already installed\n        Changes:\n----------\n    State: - file\n    Name:      sshd_config\n    Function:  managed\n        Result:    True\n        Comment:   File \/etc\/ssh\/sshd_config is <span class=\"k\">in<\/span> the correct state\n        Changes:\n----------\n    State: - pkg\n    Name:      install_fail2ban\n    Function:  installed\n        Result:    True\n        Comment:   Package fail2ban is already installed\n        Changes:\n----------\n    State: - pkg\n    Name:      install_nginx\n    Function:  installed\n        Result:    True\n        Comment:   Package nginx is already installed\n        Changes:\n----------\n    State: - service\n    Name:      fail2ban_service\n    Function:  running\n        Result:    True\n        Comment:   The service fail2ban is already running\n        Changes:\n----------\n    State: - service\n    Name:      ssh_service\n    Function:  running\n        Result:    True\n        Comment:   The service ssh is already running\n        Changes:\n<\/pre><\/div>\n<p>Awesome, so everything seems to be going well, lets modify our \/srv\/salt\/ssh\/sshd_config for fun (I'm just going to add a comment), and re-run the highstate with <tt class=\"docutils literal\"><span class=\"pre\">salt-call<\/span> <span class=\"pre\">--local<\/span> state.highstate <span class=\"pre\">-l<\/span> debug<\/tt>:<\/p>\n<div class=\"highlight\"><pre><span><\/span>local:\n----------\n    State: - pkg\n    Name:      install_ssh\n    Function:  installed\n        Result:    True\n        Comment:   Package ssh is already installed\n        Changes:\n----------\n    State: - file\n    Name:      sshd_config\n    Function:  managed\n        Result:    True\n        Comment:   File \/etc\/ssh\/sshd_config updated\n        Changes:   diff: ---\n+++\n@@ -15,6 +15,7 @@\n <span class=\"c1\"># Site-wide defaults for some commonly used options.  For a comprehensive<\/span>\n <span class=\"c1\"># list of available options, their meanings and defaults, please see the<\/span>\n <span class=\"c1\"># ssh_config(5) man page.<\/span>\n+#  <span class=\"nb\">test<\/span>\n\n Host *\n <span class=\"c1\">#   ForwardAgent no<\/span>\n\n\n----------\n    State: - pkg\n    Name:      install_fail2ban\n    Function:  installed\n        Result:    True\n        Comment:   Package fail2ban is already installed\n        Changes:\n----------\n    State: - pkg\n    Name:      install_nginx\n    Function:  installed\n        Result:    True\n        Comment:   Package nginx is already installed\n        Changes:\n----------\n    State: - service\n    Name:      fail2ban_service\n    Function:  running\n        Result:    True\n        Comment:   The service fail2ban is already running\n        Changes:\n----------\n    State: - service\n    Name:      ssh_service\n    Function:  running\n        Result:    True\n        Comment:   Service restarted\n        Changes:   ssh: True\n<\/pre><\/div>\n<p>You can see that we've added that comment line, and then the service was restarted because it's watching the sshd_config file, just like we wanted! Now modify that back, no reason to waste a comment line. Ok, so we've got ssh locked down in some fashion, nginx is installed, and we've installed fail2ban as well. We've already got Python installed, but we're missing things like virtualenv which are key.<\/p>\n<p>Let's create \/srv\/salt\/python\/ so we can get Python and the other associated items configured (and we can show more cool Salt stuff). So we're going to start breaking things out here. Let's pretend for a second this isn't a single machine, but an environment. You wouldn't want to install setuptools on a machine that only needs python would you? No of course not, so we break out our \/srv\/salt\/python\/ directory into two files for right now, the first is \/srv\/salt\/python\/init.sls, it looks like this:<\/p>\n<div class=\"highlight\"><pre><span><\/span><span class=\"nt\">install_python<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">  <\/span><span class=\"nt\">pkg.installed<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">    <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">name<\/span><span class=\"p\">:<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">python<\/span><span class=\"w\"><\/span>\n<\/pre><\/div>\n<p>Super easy right? Just make sure python is installed.<\/p>\n<p>Let's get pip installed as well, let's make another sls, \/srv\/salt\/python\/pip.sls. This may seem verbose, but for the time being it isn't a lot of work and we want to keep each item seperate. So create a pip.sls:<\/p>\n<div class=\"highlight\"><pre><span><\/span><span class=\"nt\">install_python_pip<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">  <\/span><span class=\"nt\">pkg.installed<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">    <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">name<\/span><span class=\"p\">:<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">python-pip<\/span><span class=\"w\"><\/span>\n<\/pre><\/div>\n<p>And modify the top.sls again:<\/p>\n<div class=\"highlight\"><pre><span><\/span><span class=\"nt\">base<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"s\">&#39;*&#39;<\/span><span class=\"p p-Indicator\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">  <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">nginx<\/span><span class=\"w\"><\/span>\n<span class=\"w\">  <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">fail2ban<\/span><span class=\"w\"><\/span>\n<span class=\"w\">  <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">ssh<\/span><span class=\"w\"><\/span>\n<span class=\"w\">  <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">python.pip<\/span><span class=\"w\"><\/span>\n<\/pre><\/div>\n<p>Run our <tt class=\"docutils literal\"><span class=\"pre\">salt-call<\/span> <span class=\"pre\">--local<\/span> state.highstate <span class=\"pre\">-l<\/span> debug<\/tt> again and we get this nice big wall of spam:<\/p>\n<div class=\"highlight\"><pre><span><\/span>State: - pkg\nName:      install_python_pip\nFunction:  installed\n    Result:    True\n    Comment:   Package python-pip installed\n    Changes:   build-essential: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;11.6ubuntu4&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n               c++-compiler: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;1&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n               libmpfr4: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;3.1.1-1&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n               libppl-c4: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;1.0-1ubuntu2&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n               libalgorithm-merge-perl: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;0.08-2&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n               dpkg-dev: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;1.16.10ubuntu1&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n               linux-libc-dev: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;3.8.0-29.42&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n               cpp-4.7: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;4.7.3-1ubuntu1&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n               libalgorithm-diff-xs-perl: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;0.04-2build3&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n               gcc: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;4:4.7.3-1ubuntu10&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n               make: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;3.81-8.2ubuntu2&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n               libitm1: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;4.7.3-1ubuntu1&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n               libquadmath0: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;4.7.3-1ubuntu1&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n               libfile-fcntllock-perl: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;0.14-2&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n               c-compiler: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;1&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n               g++: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;4:4.7.3-1ubuntu10&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n               libcloog-ppl1: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;0.16.1-1&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n               libgcc-4.7-dev: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;4.7.3-1ubuntu1&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n               libmpc2: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;0.9-4build1&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n               libdpkg-perl: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;1.16.10ubuntu1&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n               libstdc++-dev: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;1&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n               libc6-dev: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;2.17-0ubuntu5&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n               libstdc++6-4.7-dev: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;4.7.3-1ubuntu1&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n               libc-dev-bin: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;2.17-0ubuntu5&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n               manpages-dev: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;3.44-0ubuntu1&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n               python-pip: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;1.3.1-0ubuntu1&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n               libalgorithm-diff-perl: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;1.19.02-3&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n               libppl12: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;1.0-1ubuntu2&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n               gcc-4.7: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;4.7.3-1ubuntu1&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n               linux-kernel-headers: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;1&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n               patch: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;2.6.1-3ubuntu2&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n               c++abi2-dev: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;1&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n               fakeroot: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;1.18.4-2ubuntu1&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n               libc-dev: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;1&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n               cpp: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;4:4.7.3-1ubuntu10&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n               g++-4.7: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;4.7.3-1ubuntu1&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n               libgmpxx4ldbl: <span class=\"o\">{<\/span><span class=\"s1\">&#39;new&#39;<\/span>: <span class=\"s1\">&#39;2:5.0.5+dfsg-2ubuntu3&#39;<\/span>, <span class=\"s1\">&#39;old&#39;<\/span>: <span class=\"s1\">&#39;&#39;<\/span><span class=\"o\">}<\/span>\n<\/pre><\/div>\n<p>Great so pip is now installed on our server.<\/p>\n<p>Ok so we've got pip installed, lets get virtualenv taken care of. This is just a copy of our pip.sls, so copy it over: <tt class=\"docutils literal\">cp \/srv\/salt\/python\/pip.sls \/srv\/salt\/python\/virtualenv.sls<\/tt>, it should look like this:<\/p>\n<div class=\"highlight\"><pre><span><\/span><span class=\"nt\">install_python_virtualenv<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">  <\/span><span class=\"nt\">pkg.installed<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">    <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">name<\/span><span class=\"p\">:<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">pyton-virtualenv<\/span><span class=\"w\"><\/span>\n<\/pre><\/div>\n<p>Let's modify our top.sls to look like this (add virtualenv, and get rid of pip for the time being):<\/p>\n<div class=\"highlight\"><pre><span><\/span><span class=\"nt\">base<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">  <\/span><span class=\"s\">&#39;*&#39;<\/span><span class=\"p p-Indicator\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">    <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">nginx<\/span><span class=\"w\"><\/span>\n<span class=\"w\">    <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">fail2ban<\/span><span class=\"w\"><\/span>\n<span class=\"w\">    <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">ssh<\/span><span class=\"w\"><\/span>\n<span class=\"w\">    <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">python.virtualenv<\/span><span class=\"w\"><\/span>\n<\/pre><\/div>\n<p>Let's run it with <tt class=\"docutils literal\"><span class=\"pre\">salt-call<\/span> <span class=\"pre\">--local<\/span> state.highstate <span class=\"pre\">-l<\/span> debug<\/tt> again:<\/p>\n<div class=\"highlight\"><pre><span><\/span>  State: - pkg\n  Name:      install_python_virtualenv\n  Function:  installed\n      Result:    True\n      Comment:   The following packages were installed\/updated: python-virtualenv.\n      Changes:   python-virtualenv: <span class=\"o\">{<\/span> new : <span class=\"m\">1<\/span>.9.1-0ubuntu1\nold :\n<span class=\"o\">}<\/span>\n<\/pre><\/div>\n<p>Next we want to install git, so create \/srv\/salt\/git\/init.sls (you'll need to create the directory), and we'll populate our file with the following:<\/p>\n<div class=\"highlight\"><pre><span><\/span><span class=\"nt\">install_git<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">  <\/span><span class=\"nt\">pkg.installed<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">    <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">name<\/span><span class=\"p\">:<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">git<\/span><span class=\"w\"><\/span>\n<\/pre><\/div>\n<p>Easy enough stuff, at some point we'll look at coming back to make this OS agnostic, but for now we don't want to get too crazy.<\/p>\n<p>Now you might be thinking &quot;Don't we need to add this to our top.sls?&quot;, well we're not going to worry about that, because we'll be making some drastic changes shortly.<\/p>\n<p>Ok we have virtualenv installed, and git to pull down our content. So the next step is to add our project, let's make a new directory: \/srv\/salt\/hungryadmin, and create app.sls. Now the reason we're doing this is we want items like python\/virtualenv.sls, and ngingx\/init.sls to just be our DEFAULT items, so you could apply it to any server in our environment (if we had more than one). From here we can extend things, so I could have multiple subdirectories (maybe I host multiple static blogs, or a code repo, or anything), that have different applications running in them. So lets set up our static blog in the app.sls:<\/p>\n<div class=\"highlight\"><pre><span><\/span>{% set hungryadmin_venv = salt[&#39;pillar.get&#39;](&#39;hungryadmin:venv&#39;) %}\n{% set hungryadmin_proj = salt[&#39;pillar.get&#39;](&#39;hungryadmin:proj&#39;) %}\n{% set hungryadmin_user = salt[&#39;pillar.get&#39;](&#39;hungryadmin:user&#39;) %}\n\ninclude:\n  - git\n  - python.pip\n  - python.virtualenv\n\nhungryadmin_venv:\n  virtualenv.managed:\n    - name: {{ hungryadmin_venv }}\n    - runas: {{ hungryadmin_user }}\n    - require:\n      - pkg: install_python_virtualenv\n\nhungryadmin_git:\n  git.latest:\n    - name: https:\/\/github.com\/gravyboat\/hungryadmin.git\n    - target: {{ hungryadmin_proj }}\n    - runas: {{ hungryadmin_user }}\n    - force: True\n    - require:\n      - pkg: install_git\n      - virtualenv: hungryadmin_venv\n    - watch_in:\n        - service: nginx_service\n\nrefresh_pelican:\n  cmd.run:\n    - user: {{ hungryadmin_user }}\n    - name: {{ hungryadmin_venv }}\/bin\/pelican -s {{hungryadmin_proj}}\/pelicanconf.py\n    - require:\n      - virtualenv: hungryadmin_venv\n    - watch:\n      - git: hungryadmin_git\n\nhungryadmin_pkgs:\n  pip.installed:\n    - bin_env {{ hungryadmin_venv }}\n    - requirements: {{ hungryadmin_proj }}\/requirements.txt\n    - require:\n      - git: hungryadmin_git\n      - pkg: install_python_pip\n      - virtualenv: hugryadmin_venv\n<\/pre><\/div>\n<p>Ok, so we've now got an app.sls that's going to take care of a lot of things. Now I know you're thinking &quot;what is all this pillar crap that he's using?&quot;, well we are going to get to that in a minute, the key thing here is that you understand what each of these items do, it's pretty easy to tell right? for the hungryadmin_venv variable, it's clearly the location of our virtual environment, and our hungryadmin_user, is simply our user for the virtual environment. The only slightly confusing one here is hungryadmin_proj, but even that we can figure out. We know we're going to pull our git content into the virtual environment right? So we know it has something to do with that.<\/p>\n<p>Next let's modify our top.sls so it looks like this:<\/p>\n<div class=\"highlight\"><pre><span><\/span><span class=\"nt\">base<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">  <\/span><span class=\"s\">&#39;*&#39;<\/span><span class=\"p p-Indicator\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">    <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">nginx<\/span><span class=\"w\"><\/span>\n<span class=\"w\">    <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">fail2ban<\/span><span class=\"w\"><\/span>\n<span class=\"w\">    <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">ssh<\/span><span class=\"w\"><\/span>\n<span class=\"w\">    <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">hungryadmin.app<\/span><span class=\"w\"><\/span>\n<\/pre><\/div>\n<p>So why aren't we including git, or any of the python content any longer? Because we don't need to! We've already included them in the app.sls for hungryadmin, so there's no need to include them again. Now that we've modified the top.sls lets take care of those variables I had earlier. So those values (as you can see when I defined them) are pillar values. Now the best way to think of pillar data is really just global variables, it's the first thing that the Salt team state in the pillar docs, and it makes the most sense. So let's get the pillar data going. Create the following files:<\/p>\n<p>\/srv\/pillar\/top.sls\n\/srv\/pillar\/hungryadmin.sls<\/p>\n<p>and populate them with this data:<\/p>\n<p>\/srv\/pillar\/top.sls:<\/p>\n<div class=\"highlight\"><pre><span><\/span><span class=\"nt\">base<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">  <\/span><span class=\"s\">&#39;*&#39;<\/span><span class=\"p p-Indicator\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">    <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">hungryadmin<\/span><span class=\"w\"><\/span>\n<\/pre><\/div>\n<p>\/srv\/pillar\/hungryadmin.sls:<\/p>\n<div class=\"highlight\"><pre><span><\/span># hungryadmin environment settings\n\n{% set hungryadmin_user = &#39;woody&#39; %}\n{% set hungryadmin_venv = &#39;\/home\/{0}\/hungryadmin&#39;.format(hungryadmin_user) %}\n{% set hungryadmin_proj = &#39;{0}\/site&#39;.format(hungryadmin_venv) %}\n{% set hungryadmin_url = &#39;hungryadmin.com&#39; %}\n{% set hungryadmin_root = &#39;{0}\/output&#39;.format(hungryadmin_proj) %}\n\nhungryadmin:\n  user: {{ hungryadmin_user }}\n  venv: {{ hungryadmin_venv }}\n  proj: {{ hungryadmin_proj }}\n  url: {{ hungryadmin_url }}\n  root: {{ hungryadmin_root }}\n<\/pre><\/div>\n<p>OK so basically what we've just done is say 'hey for all servers, load in these pillar files', that happens in the top.sls. Then in the hungryadmin.sls, we set our variables, so we can reference them like hungryadmin_user which will return 'woody' and so on. If we wanted we could add another section for other items.<\/p>\n<p>Now that we have this done, we need to tell Salt where to look for our pillar data. To do this edit the \/etc\/salt\/minion (since we aren't using a master in this configuration), find the line that mentions pillar root:<\/p>\n<div class=\"highlight\"><pre><span><\/span><span class=\"c1\">#pillar_roots:<\/span>\n<span class=\"c1\">#base:<\/span>\n<span class=\"c1\">#  - \/srv\/pillar<\/span>\n<\/pre><\/div>\n<p>and change it so it looks like:<\/p>\n<div class=\"highlight\"><pre><span><\/span>pillar_roots:\n  base:\n    - \/srv\/pillar\n<\/pre><\/div>\n<p>Note that this is the default setting, I'm mentioning it here so you can take a look at the configuration file. Run the highstate again using <tt class=\"docutils literal\"><span class=\"pre\">salt-call<\/span> <span class=\"pre\">--local<\/span> state.highstate <span class=\"pre\">-l<\/span> debug<\/tt>, and you should see everything get set up and configured. We create the virtual environment, and pull in out git repo. Now assuming we have our git repo hooked up properly you should be able to run a basic python server. I'm not going to get into the details here because we're mostly focusing on Salt. The only thing we have left to do for this is to hook up nginx so that it's actually serving up content properly, so let's get to it!<\/p>\n<p>We're going to start by modifying our app.sls, then we'll update nginx.<\/p>\n<p>for the app.sls:<\/p>\n<div class=\"highlight\"><pre><span><\/span>{% set hungryadmin_venv = salt[&#39;pillar.get&#39;](&#39;hungryadmin:venv&#39;) %}\n{% set hungryadmin_proj = salt[&#39;pillar.get&#39;](&#39;hungryadmin:proj&#39;) %}\n{% set hungryadmin_user = salt[&#39;pillar.get&#39;](&#39;hungryadmin:user&#39;) %}\n\ninclude:\n  - git\n  - nginx\n  - python.pip\n  - python.virtualenv\n\n{{ hungryadmin_user }}:\nuser.present:\n  - shell: \/bin\/bash\n  - home: \/home\/{{ hungryadmin_user }}\n  - uid: 2150\n  - gid: 2150\n  - require:\n    - group: {{ hungryadmin_user }}\ngroup.present:\n  - gid: 2150\n\n\nhungryadmin_venv:\n  virtualenv.managed:\n    - name: {{ hungryadmin_venv }}\n    - runas: {{ hungryadmin_user }}\n    - require:\n      - pkg: install_python_virtualenv\n      - user: {{ hungryadmin_user }}\n\nhungryadmin_git:\n  git.latest:\n    - name: https:\/\/github.com\/gravyboat\/hungryadmin.git\n    - target: {{ hungryadmin_proj }}\n    - runas: {{ hungryadmin_user }}\n    - force: True\n    - require:\n      - pkg: install_git\n      - virtualenv: hungryadmin_venv\n    - watch_in:\n      - service: nginx_service\n\nhungryadmin_pkgs:\n  pip.installed:\n    - bin_env: {{ hungryadmin_venv }}\n    - requirements: {{ hungryadmin_proj }}\/requirements.txt\n    - require:\n      - git: hungryadmin_git\n      - pkg: install_python_pip\n      - virtualenv: hungryadmin_venv\n\nhungryadmin_nginx_conf:\n  file.managed:\n    - name: \/etc\/nginx\/conf.d\/hungryadmin.conf\n    - source: salt:\/\/hungryadmin\/files\/hungryadmin.conf\n    - template: jinja\n    - user: root\n    - group: root\n    - mode: 644\n    - require:\n      - git: hungryadmin_git\n      - pkg: install_nginx\n    - watch_in:\n      - service: nginx_service\n\nremove_default_sites_enabled:\n  file.managed:\n    - name: \/etc\/nginx\/sites-enabled\/default\n    - watch_in:\n      - service: nginx_service\n<\/pre><\/div>\n<p>We've now added our conf file for this host, but we need to write that conf file now, so create \/srv\/salt\/hungryadmin\/files, and then hungryadmin.conf inside of that. It's content's look like this:<\/p>\n<div class=\"highlight\"><pre><span><\/span>server <span class=\"o\">{<\/span>\n\n    listen <span class=\"o\">[<\/span>::<span class=\"o\">]<\/span>:80<span class=\"p\">;<\/span>\n\n    server_name <span class=\"o\">{{<\/span> salt<span class=\"o\">[<\/span><span class=\"s1\">&#39;pillar.get&#39;<\/span><span class=\"o\">](<\/span><span class=\"s1\">&#39;hungryadmin:url&#39;<\/span><span class=\"o\">)<\/span> <span class=\"o\">}}<\/span><span class=\"p\">;<\/span>\n    root <span class=\"o\">{{<\/span> salt<span class=\"o\">[<\/span><span class=\"s1\">&#39;pillar.get&#39;<\/span><span class=\"o\">](<\/span><span class=\"s1\">&#39;hungryadmin:root&#39;<\/span><span class=\"o\">)<\/span> <span class=\"o\">}}<\/span><span class=\"p\">;<\/span>\n\n    <span class=\"nv\">location<\/span> <span class=\"o\">=<\/span> \/ <span class=\"o\">{<\/span>\n        <span class=\"c1\"># Instead of handling the index, just<\/span>\n        <span class=\"c1\"># rewrite \/ to \/index.html<\/span>\n        rewrite ^ \/index.html<span class=\"p\">;<\/span>\n    <span class=\"o\">}<\/span>\n\n    location \/ <span class=\"o\">{<\/span>\n        <span class=\"c1\"># Serve a .gz version if it exists<\/span>\n        gzip_static on<span class=\"p\">;<\/span>\n        <span class=\"c1\"># Try to serve the clean url version first<\/span>\n        try_files <span class=\"nv\">$uri<\/span>.htm <span class=\"nv\">$uri<\/span>.html <span class=\"nv\">$uri<\/span> <span class=\"o\">=<\/span><span class=\"m\">404<\/span><span class=\"p\">;<\/span>\n    <span class=\"o\">}<\/span>\n\n    <span class=\"nv\">location<\/span> <span class=\"o\">=<\/span> \/favicon.ico <span class=\"o\">{<\/span>\n        <span class=\"c1\"># This never changes, so don&#39;t let it expire<\/span>\n        expires max<span class=\"p\">;<\/span>\n    <span class=\"o\">}<\/span>\n\n    location ^~ \/theme <span class=\"o\">{<\/span>\n        <span class=\"c1\"># This content should very rarely, if ever, change<\/span>\n        expires 1y<span class=\"p\">;<\/span>\n    <span class=\"o\">}<\/span>\n<span class=\"o\">}<\/span>\n<\/pre><\/div>\n<p>Now we need to make sure the nginx_service items work correctly. We'll also do some nginx configuration\nchanges to improve performance:<\/p>\n<p>The nginx init should now look like this:<\/p>\n<div class=\"highlight\"><pre><span><\/span><span class=\"nt\">install_nginx<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\"> <\/span><span class=\"nt\">pkg.installed<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">   <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">name<\/span><span class=\"p\">:<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">nginx<\/span><span class=\"w\"><\/span>\n\n<span class=\"w\"> <\/span><span class=\"nt\">nginx_service<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">   <\/span><span class=\"nt\">service.running<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">     <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">name<\/span><span class=\"p\">:<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">nginx<\/span><span class=\"w\"><\/span>\n<span class=\"w\">     <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">enable<\/span><span class=\"p\">:<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">True<\/span><span class=\"w\"><\/span>\n<span class=\"w\">     <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">reload<\/span><span class=\"p\">:<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">True<\/span><span class=\"w\"><\/span>\n\n<span class=\"w\"> <\/span><span class=\"nt\">nginx_config<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">   <\/span><span class=\"nt\">file.managed<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">     <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">name<\/span><span class=\"p\">:<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">\/etc\/nginx\/nginx.conf<\/span><span class=\"w\"><\/span>\n<span class=\"w\">     <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">source<\/span><span class=\"p\">:<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">salt:\/\/nginx\/files\/nginx.conf<\/span><span class=\"w\"><\/span>\n<span class=\"w\">     <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">user<\/span><span class=\"p\">:<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">root<\/span><span class=\"w\"><\/span>\n<span class=\"w\">     <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">group<\/span><span class=\"p\">:<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">root<\/span><span class=\"w\"><\/span>\n<span class=\"w\">     <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">mode<\/span><span class=\"p\">:<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">644<\/span><span class=\"w\"><\/span>\n<span class=\"w\">     <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">watch_in<\/span><span class=\"p\">:<\/span><span class=\"w\"><\/span>\n<span class=\"w\">       <\/span><span class=\"p p-Indicator\">-<\/span><span class=\"w\"> <\/span><span class=\"nt\">service<\/span><span class=\"p\">:<\/span><span class=\"w\"> <\/span><span class=\"l l-Scalar l-Scalar-Plain\">nginx_service<\/span><span class=\"w\"><\/span>\n<\/pre><\/div>\n<p>We'll also need to create the nginx.conf file:<\/p>\n<div class=\"highlight\"><pre><span><\/span>user www-data<span class=\"p\">;<\/span>\nworker_processes <span class=\"m\">4<\/span><span class=\"p\">;<\/span>\npid \/run\/nginx.pid<span class=\"p\">;<\/span>\n\nevents <span class=\"o\">{<\/span>\n    worker_connections <span class=\"m\">768<\/span><span class=\"p\">;<\/span>\n    <span class=\"c1\"># multi_accept on;<\/span>\n<span class=\"o\">}<\/span>\n\nhttp <span class=\"o\">{<\/span>\n\n    <span class=\"c1\">##<\/span>\n    <span class=\"c1\"># Basic Settings<\/span>\n    <span class=\"c1\">##<\/span>\n\n    sendfile on<span class=\"p\">;<\/span>\n    tcp_nopush on<span class=\"p\">;<\/span>\n    tcp_nodelay on<span class=\"p\">;<\/span>\n    keepalive_timeout <span class=\"m\">65<\/span><span class=\"p\">;<\/span>\n    types_hash_max_size <span class=\"m\">2048<\/span><span class=\"p\">;<\/span>\n    <span class=\"c1\"># server_tokens off;<\/span>\n\n    <span class=\"c1\"># server_names_hash_bucket_size 64;<\/span>\n    <span class=\"c1\"># server_name_in_redirect off;<\/span>\n\n    include \/etc\/nginx\/mime.types<span class=\"p\">;<\/span>\n    default_type application\/octet-stream<span class=\"p\">;<\/span>\n\n    <span class=\"c1\">##<\/span>\n    <span class=\"c1\"># Logging Settings<\/span>\n    <span class=\"c1\">##<\/span>\n\n    access_log \/var\/log\/nginx\/access.log<span class=\"p\">;<\/span>\n    error_log \/var\/log\/nginx\/error.log<span class=\"p\">;<\/span>\n\n    <span class=\"c1\">##<\/span>\n    <span class=\"c1\"># Gzip Settings<\/span>\n    <span class=\"c1\">##<\/span>\n\n    gzip on<span class=\"p\">;<\/span>\n    gzip_disable <span class=\"s2\">&quot;msie6&quot;<\/span><span class=\"p\">;<\/span>\n\n    gzip_vary on<span class=\"p\">;<\/span>\n    gzip_proxied any<span class=\"p\">;<\/span>\n    gzip_comp_level <span class=\"m\">9<\/span><span class=\"p\">;<\/span>\n    gzip_buffers <span class=\"m\">32<\/span> 4k<span class=\"p\">;<\/span>\n    gzip_types\n        text\/plain\n        text\/css\n        text\/js\n        text\/xml\n        text\/javascript\n        application\/javascript\n        application\/x-javascript\n        application\/json\n        application\/xml\n        application\/xml+rss<span class=\"p\">;<\/span>\n\n    <span class=\"c1\"># gzip_http_version 1.1;<\/span>\n    <span class=\"c1\"># gzip_types text\/plain text\/css application\/json application\/x-javascript text\/xml application\/xml application\/xml+rss text\/javascript;<\/span>\n\n    <span class=\"c1\">##<\/span>\n    <span class=\"c1\"># nginx-naxsi config<\/span>\n    <span class=\"c1\">##<\/span>\n    <span class=\"c1\"># Uncomment it if you installed nginx-naxsi<\/span>\n    <span class=\"c1\">##<\/span>\n\n    <span class=\"c1\">#include \/etc\/nginx\/naxsi_core.rules;<\/span>\n\n    <span class=\"c1\">##<\/span>\n    <span class=\"c1\"># nginx-passenger config<\/span>\n    <span class=\"c1\">##<\/span>\n    <span class=\"c1\"># Uncomment it if you installed nginx-passenger<\/span>\n    <span class=\"c1\">##<\/span>\n\n    <span class=\"c1\">#passenger_root \/usr;<\/span>\n    <span class=\"c1\">#passenger_ruby \/usr\/bin\/ruby;<\/span>\n\n    <span class=\"c1\">##<\/span>\n    <span class=\"c1\"># Virtual Host Configs<\/span>\n    <span class=\"c1\">##<\/span>\n\n    include \/etc\/nginx\/conf.d\/*.conf<span class=\"p\">;<\/span>\n    include \/etc\/nginx\/sites-enabled\/*<span class=\"p\">;<\/span>\n<span class=\"o\">}<\/span>\n<\/pre><\/div>\n<p>Once these changes are complete run the highstate and everything should be set to go.<\/p>\n<p>You should be able to visit the site if you modify your host file to point towards the IP address, nice job!<\/p>\n<p>At this point we have our server configured for SSH access, as well as fail2ban, we've got all the required Python items installed for our static blog, we're pulling our content down from GitHub, and we've got nginx configured to serve the content!<\/p>\n<p>We're pretty much done, depending on which blog tool you decide to use, it might be nice to extend how the virtualenv is run in the event it needs to be rebuilt, but I'm sure you're equipped to figure that out now! Lets look at how our directory structure turned out:<\/p>\n<p>.\/pillar:\nhungryadmin.sls  top.sls<\/p>\n<p>.\/salt:\nfail2ban  git  hungryadmin  nginx  python  ssh  top.sls<\/p>\n<p>.\/salt\/fail2ban:\ninit.sls<\/p>\n<p>.\/salt\/git:\ninit.sls<\/p>\n<p>.\/salt\/hungryadmin:\napp.sls  files<\/p>\n<p>.\/salt\/hungryadmin\/files:\nhungryadmin.conf<\/p>\n<p>.\/salt\/nginx:\ninit.sls files<\/p>\n<p>.\/salt\/python:\ninit.sls  pip.sls  requirements.txt  virtualenv.sls<\/p>\n<p>.\/salt\/ssh:\ninit.sls  sshd_config<\/p>\n<p>Ok great, so we've not got the basics of a blog ready to go. All I have to do for my Pelican blog is create my posts, build it, and then push it to github. Then run Salt and my server is ready to go! I hope this helped you out!<\/p>\n<p>Edit 2016-12-13: There have been some changes over the past couple of years,\nmake sure to check the repo for the latest release of the code.<\/p>\n","category":[{"@attributes":{"term":"Posts"}},{"@attributes":{"term":"salt"}},{"@attributes":{"term":"saltstack"}},{"@attributes":{"term":"pelican"}},{"@attributes":{"term":"python"}},{"@attributes":{"term":"automation"}},{"@attributes":{"term":"git"}}]}]}