<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Cory Diamand on Medium]]></title>
        <description><![CDATA[Stories by Cory Diamand on Medium]]></description>
        <link>https://medium.com/@corydiamand?source=rss-d49b04bb7916------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*xT9ilqvMDsh18jGt.jpeg</url>
            <title>Stories by Cory Diamand on Medium</title>
            <link>https://medium.com/@corydiamand?source=rss-d49b04bb7916------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 20:24:41 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@corydiamand/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The leap from Heroku to AWS — Don’t be afraid, you’ll learn a lot!]]></title>
            <link>https://medium.com/@corydiamand/the-leap-from-heroku-to-aws-don-t-be-afraid-you-ll-learn-a-lot-dcb7d18eb81c?source=rss-d49b04bb7916------2</link>
            <guid isPermaLink="false">https://medium.com/p/dcb7d18eb81c</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[ruby-on-rails]]></category>
            <dc:creator><![CDATA[Cory Diamand]]></dc:creator>
            <pubDate>Thu, 16 Apr 2015 01:53:31 GMT</pubDate>
            <atom:updated>2015-04-17T14:48:55.342Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/721/1*YcWTQhZ_Q4BBqyXM1aDNpQ.png" /></figure><h3>The leap from Heroku to AWS — Don’t be afraid, you’ll learn a lot!</h3><p>My first time deploying Rails to AWS. On the whole, a positive experience.</p><p><strong>Summary:</strong></p><ol><li>For a long time, I was only comfortable using Heroku.</li><li>A personal project was going to cost substantially less to run on AWS than Heroku. I decided to make the leap.</li><li>I spent a lot of time researching the setup on AWS. The theory was tedious, but in practice the setup was painless and quick.</li><li>I learned a lot about the stack underlying my rails apps and that is a good thing!</li></ol><p><strong>Conclusion:</strong> Don’t be afraid to make the leap, you’ll learn a lot and walk away with a stronger understanding of how your applications work throughout the entire stack.</p><p><strong>The Story</strong></p><blockquote>“This is going to sound stupid, but any apprehension left me when I saw I was literally just working on an Ubuntu command line.”</blockquote><p>I’m a big fan of Heroku. Heroku makes it easy to deploy Rails apps (which is what I build) and the free tier from the get-go is really appealing. If you’re just getting started with rails, I highly recommend Heroku. You can see your app, live on the web, without a lot of hassle, and your pet projects remain free as long as they meet certain conditions.</p><p>The caveats of the above awesomeness are that if your app has a lot going on, i.e. multiple processes, queues, workers etc., you’re going to pay* for it. Also, you’re bit restricted in terms of server access and customization, relying on vendor plugins from Heroku to handle different situations.</p><p>My little pet project was going to need a few workers, constant uptime, and a big ol’ database (10gb a month).</p><p>I’ll spare you the gross technical details and just run through what my setup process was like.</p><ol><li>I started doing massive amounts of reading about what I’d need and how to set up all the different instances. <strong>I think the worst part was just reading all that information.</strong></li><li>I created a new server instance and a new database instance and got them talking. I then SSH’d into my server. <strong>This is going to sound stupid, but any apprehension left me when I saw I was literally just working on an Ubuntu command line.</strong> I use Ubuntu every day so immediately things became less foreign and daunting.</li><li>I learned a bit about nginx and where to place your app in a server. Brushing up on Capistrano is definitely on the to-do list.</li><li>I started the rails server and saw my app running. I brushed away a single tear of joy and got back to developing the app!</li></ol><p><strong>Takeaways</strong></p><p>The research was a pain and took a while (maybe a few hours) but the next time I deploy it will be a cinch. The physical setup and deployment of the app was a great learning experience. Physically doing all the stuff that Heroku abstracts away from you is a powerful exercise. On the whole, my first AWS deployment was a positive experience. I gained confidence and a somewhat deeper understanding of the tools I use every day. If you find yourself contemplating using AWS, give it a whirl. You just might learn something!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dcb7d18eb81c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[RSpec and the power of a puzzle]]></title>
            <link>https://medium.com/@corydiamand/rspec-and-the-power-of-a-puzzle-b219dfdb7ad9?source=rss-d49b04bb7916------2</link>
            <guid isPermaLink="false">https://medium.com/p/b219dfdb7ad9</guid>
            <category><![CDATA[ruby]]></category>
            <category><![CDATA[rspec]]></category>
            <category><![CDATA[ruby-on-rails]]></category>
            <dc:creator><![CDATA[Cory Diamand]]></dc:creator>
            <pubDate>Sat, 19 Apr 2014 13:05:28 GMT</pubDate>
            <atom:updated>2015-04-16T03:09:49.817Z</atom:updated>
            <content:encoded><![CDATA[<h4>How fixing scaffold generated RSpec tests can be a powerful exercise for the novice Rails dev.</h4><h4><strong>The Power of a Puzzle</strong></h4><p>I am a junior Rails developer. When I started learning to program I did a lot of programming puzzles to help me build my chops. Puzzles are an effective learning tool because you feel excitement in trying to solve them, and you get this amazing satisfying feeling upon completion. I find that I generally learn more by working on a puzzle than by following an example in a book or off a blog.</p><h4>The Red Challenge</h4><p>I’ve started writing basic RSpec tests for the apps I’m building.</p><p>I’ve found that as I go back and work through the tests that have been generated for me by scaffolding, what I’ve really been presented with are <strong>many small puzzles</strong>.</p><p>Some are pre-generated and require input to work:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/674/1*OfHHy3RoT7q9etruTsDnfA.png" /><figcaption>What the eff do I put in here?</figcaption></figure><p>Other times you need to update the test to match how your app works:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/927/1*5F4_tCYqDfcr_7aHgogWkg.png" /><figcaption>Does my app even redirect here anymore?</figcaption></figure><p>Thanks to RSpec’s red and green fail/pass system, I feel a nice mix of <strong>motivation </strong>and <strong>satisfaction </strong>while working on each test. As a kid who grew up playing videogames, this kind of feedback really works for me:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/943/1*bNKIBxlAuo45VeL3EZ9tVw.png" /><figcaption>Still have some work to do….</figcaption></figure><h4>The Green Satisfaction</h4><p>So if you’re new to Rails, or just hesitant about testing, I recommend you give this a try. Let Rails do the work and generate your first set of tests for you, and then just try to fix them. I think you’ll find you’re learning alot and having fun at the same time.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b219dfdb7ad9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Handing over your projects]]></title>
            <link>https://medium.com/@corydiamand/handing-over-your-projects-c4484094ea6c?source=rss-d49b04bb7916------2</link>
            <guid isPermaLink="false">https://medium.com/p/c4484094ea6c</guid>
            <category><![CDATA[freelancing]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[projects]]></category>
            <dc:creator><![CDATA[Cory Diamand]]></dc:creator>
            <pubDate>Mon, 03 Mar 2014 08:16:30 GMT</pubDate>
            <atom:updated>2015-04-16T03:10:25.653Z</atom:updated>
            <content:encoded><![CDATA[<h4>Be nice to those who work on your work</h4><p>If you are leaving a project behind and that project is likely to be picked up by someone else, there a few things that can be done which will improve the life of your successor greatly.</p><p><strong>First, please don’t fall off the face of the earth.</strong> Be available for some questions about the project. Transitions are hard for everybody, but the pain can be eased by a little communication. Leave some contact info behind and return an e-mail now and again. Who knows, you might even enjoy explaining things.</p><p><strong>Second, put together an informational document about the project. </strong>This document should contain any information a person will likely need in order to pick up the reins. This can include login information, walkthroughs, thoughts, anything.</p><p><strong>Third, leave some commentary throughout the project itself. </strong>If you are a programmer this means, comment your code. If you are a non-programmer this could mean anything from sticky notes to scribbles in a notebook. If we’re going to stand on your shoulders, you might as well whisper to us while we’re there.</p><p>I wrote this after spending an hour hunting for hidden information in a project I inherited.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c4484094ea6c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tweets are a gateway drug]]></title>
            <link>https://medium.com/@corydiamand/tweets-are-a-gateway-drug-dbe5a2603a23?source=rss-d49b04bb7916------2</link>
            <guid isPermaLink="false">https://medium.com/p/dbe5a2603a23</guid>
            <category><![CDATA[twitter]]></category>
            <category><![CDATA[writing-tips]]></category>
            <category><![CDATA[writing]]></category>
            <dc:creator><![CDATA[Cory Diamand]]></dc:creator>
            <pubDate>Wed, 18 Dec 2013 22:35:32 GMT</pubDate>
            <atom:updated>2015-04-16T03:08:59.022Z</atom:updated>
            <content:encoded><![CDATA[<h4>The slippery slope between 140 characters and harder writing.</h4><p>Excluding my first post here,<strong> I can’t remember the last time I wrote something</strong>. I mean, really wrote something, in my own voice, for fun.</p><p>A couple weeks ago my life lacked expression. All the fun stuff in my head was just sitting there, or being forgotten. I needed an outlet.</p><p>I decided to treat my Twitter account like a real thing and <strong>I began tweeting</strong>. 140 characters doesn’t leave a lot of room for depth, but its a perfect warmup if you haven’t written in a while. No one reads my tweets, so there was no pressure to write anything of substance. I started just by sharing links and before I knew it, the thoughts and commentary were flowing. I was putting myself out there and it felt great.</p><p>Emboldened by my newfound love of expression I found myself planning multiple tweets around the same idea, theme or article. It was glorious,<strong> but eventually</strong> <strong>I had more ideas than I could comfortably express in a series of tweets</strong>. I stumbled across a post here on medium and it inspired me to write my first post. It was great. I wrote everything down and found that I really enjoyed the process!</p><p>So here we are. If you’re having trouble getting started, <strong>try tweeting!</strong> It might be just the thing you need to help you warm up.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dbe5a2603a23" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I love reddit!]]></title>
            <link>https://medium.com/@corydiamand/i-love-reddit-3759cddd994a?source=rss-d49b04bb7916------2</link>
            <guid isPermaLink="false">https://medium.com/p/3759cddd994a</guid>
            <category><![CDATA[reddit]]></category>
            <category><![CDATA[success]]></category>
            <category><![CDATA[social-media]]></category>
            <dc:creator><![CDATA[Cory Diamand]]></dc:creator>
            <pubDate>Mon, 16 Dec 2013 01:42:47 GMT</pubDate>
            <atom:updated>2015-04-16T03:08:11.617Z</atom:updated>
            <content:encoded><![CDATA[<h4>Four fundamental elements of reddit’s success.</h4><p>I love reddit*. I spend so much time on it every day; It is easily my favorite website on the internet. I compulsively browse it so much during the day that it has become a problem.</p><p>Why is reddit so great? There are too many reasons to list all of them, but I’d venture that the following four are important:</p><p><strong>Mechanics —</strong> Upvoting, downvoting, and a powerful mod-system all lend itself to higher quality discussion and content than you will find on most other websites.</p><p><strong>Community— </strong>Partly aided by the mechanics, (shitty community members are downvoted out of sight and out of mind) you see more genuine and helpful interactions between strangers here than anywhere else. In fact I would wager that it is the anonymous nature of the user base that is the driving magic behind this community. Users aren’t under the scrutiny of peers from their own social network(usually), thus there is a sense of freedom and honesty that is absent on Facebook or Twitter.</p><p><strong>Content— </strong>This ties in a bit with mechanics, but reddit is like a distillery. The more human thought and content you put in , the better the distilled content that comes out the other end. When you&#39;ve got enough people writing about a topic there is bound to be commentary that you’ll find useful and enjoyable.</p><p><strong>Philosophy—</strong> I know, I know, this is abstract but bear with me. At the root of Reddit’s glory is the philosophy of the people behind it. Reddit is in a unique position that allows it to avoid a lot of the sketchiness that comes from the pursuit of making money. This relieves some of the pressure that usually pushes companies to make their products worse for the sake of profit. Additionally, the folks at reddit are pro internet and pro privacy and that’s super important in maintaining the trust of your userbase as well as just being great for society in general.</p><p>I’m excited to see where reddit will go in the future and I will continue to be an avid lurker in the present! If you love reddit as much as i do, let me know over on twitter — @corydiamand</p><p>*reddit is lowercase</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3759cddd994a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>