Devchat.tv Episode Roundup

Devchat.tv Episode Roundup

Download on the App Store

All Devchat.tv Episode Roundup episodes

  • Freelancing Advice – Teach Me To Code Podcast

    I’ve had two people ask me about freelancing within 1 day of each other. So, I’m going to give some advice. I also talked about finding freelance clients a few weeks ago in this episode.

    Talk to other freelancers to see if they know people looking for work. It’s a great way to get advice as well as referrals.

    Start talking to people in the community. I found all of my original clients directly or indirectly by talking to people I knew both locally and in the international community.

    You should also go find a good accountant and have him advise you on setting money aside for taxes and structuring your business to save you on taxes. My accountant has probably saved me thousands of dollars on just this alone.

    Your accountant will probably tell you this, but set up a business entity (usually an LLC or S-Corp) and get an EIN tax ID. It makes it much easier to write off expenses, avoid being dubbed an “employee” of your clients by the IRS, and makes keeping your books simpler since you will have to get a separate bank account.

    The IRS looks for freelancers who are, for all intents and purposes, employees of their clients. To avoid this not only do you need your own business entity, but you also should have more than one client and use your own equipment when working for them.

    Figure out what you need to charge and charge it. There are cheapskates out there who will be shocked that you want to charge them more than $20-30 per hour. Stick to your guns! Go to the Freelance Switch Hourly Rate Calculator and figure out what you need to charge to get by.

    The problem you run into with the cheapskates is that these people are looking at Filipino and Indian developers on oDesk. Several of these developers are decent developers. A lot of them aren’t. Your potential client usually doesn’t know how to weed them out. So, if they insist that they’ll go overseas, let them.

    Start a blog. Write about the stuff you’re doing. Someone will want something similar done. I’ve gotten a bunch of business off the Twitter Clone videos Eric did a while back because people are googling “Twitter clone.” I’ve also seen quite a bit of interest from my podcast, even though it’s geared much more toward programmers.

    Finally, don’t be afraid to fire clients that don’t fit with your lifestyle or business. And don’t be afraid to raise your rates periodically when you need more time or money to make things work.

    21 min
  • Extending Ruby on Rails
    I’m going to be talking about the DRY principle next week. However, before I jump into that, I need to discuss how to extend Ruby on Rails so you know where you can put functionality to keep your application DRY.
    There are a couple of standard places people put code that isn’t a Model, View, Controller, or Helper:
    The ‘lib’ folder - This is sort of a “junk drawer” for your application. In Rails 3 your application does not load these files on its own. You can make it autoload by following the directions I found on StackOverflow.
    Rails Plugins - Rails Plugins are autoloaded by your Rails applications and can contain extensions to Models, Views, Controllers, Helpers, and to the app as a whole through Engines.
    Ruby Gems - Gems can do pretty much anything Plugins can do except they are not included in your application’s source. They are pulled in through Bundler.
    You can also add modules and classes to files within the app directory.
    10 min
  • Capistrano: Deploying Ruby on Rails Applications to Multiple Servers
    For a basic deployment recipe, check out Basic Deployment with Capistrano
    This episode demonstrates how to extend deployment to deploy to stage and production. Overall it’s rather simple. All it entails is creating a new task for each stage you want to deploy to with the settings you need changed.
    Here’s an example:
    task :stage do
    role :web, "stage.teachmetocodeacademy.com" # Your HTTP server, Apache/etc
    role :app, "stage.teachmetocodeacademy.com" # This may be the same as your `Web` server
    role :db, "stage.teachmetocodeacademy.com", :primary => true # This is where Rails migrations will run
    set :deploy_to, '/var/www/stage-teachmetocodeacademy/'
    set :user, 'deploy'
    end
    That will allow you to run `cap stage deploy` to deploy to your staging environment.
     
    Download 55.3 MB
    Download (iPod & iPhone) 35.1 MB
    0 min
  • Capistrano: Deploying Ruby on Rails Applications to Multiple Servers
    For a basic deployment recipe, check out Basic Deployment with Capistrano
    This episode demonstrates how to extend deployment to deploy to stage and production. Overall it’s rather simple. All it entails is creating a new task for each stage you want to deploy to with the settings you need changed.
    Here’s an example:
    task :stage do
    role :web, "stage.teachmetocodeacademy.com" # Your HTTP server, Apache/etc
    role :app, "stage.teachmetocodeacademy.com" # This may be the same as your `Web` server
    role :db, "stage.teachmetocodeacademy.com", :primary => true # This is where Rails migrations will run
    set :deploy_to, '/var/www/stage-teachmetocodeacademy/'
    set :user, 'deploy'
    end
    That will allow you to run `cap stage deploy` to deploy to your staging environment.
     
    Download 55.3 MB
    Download (iPod & iPhone) 35.1 MB
    0 min
  • Capistrano: Deploying Ruby on Rails Applications to Multiple Servers
    For a basic deployment recipe, check out Basic Deployment with Capistrano
    This episode demonstrates how to extend deployment to deploy to stage and production. Overall it’s rather simple. All it entails is creating a new task for each stage you want to deploy to with the settings you need changed.
    Here’s an example:
    task :stage do
    role :web, "stage.teachmetocodeacademy.com" # Your HTTP server, Apache/etc
    role :app, "stage.teachmetocodeacademy.com" # This may be the same as your `Web` server
    role :db, "stage.teachmetocodeacademy.com", :primary => true # This is where Rails migrations will run
    set :deploy_to, '/var/www/stage-teachmetocodeacademy/'
    set :user, 'deploy'
    end
    That will allow you to run `cap stage deploy` to deploy to your staging environment.
     
    Download 55.3 MB
    Download (iPod & iPhone) 35.1 MB
    0 min
  • Gregory Brown Interview – Teach Me To Code Podcast

    Gregory Brown is a longtime member of the Ruby community. His contributions to the community include his recent involvement in the RubyGems discussions, Ruby Best Practices, the Prawn library, and Ruby Mendicant University.

    Ruby Mendicant University is a free online school for software developers. It’s a blended teaching and mentoring program that helps people improve their coding skills. It’s aimed toward intermediate level programmers.

    The “RubyGems uprising” is something that Greg stepped in and opened up some dialog about the direction and movement of the RubyGems project. The future is looking bright and the public management of the project is much better.

    Greg has contributed to open source through the Prawn library. He responded to Brandon Hays’ query about getting involved in open source software and gave us some pointers about getting involved and managing open source projects. One thing that stood out was when he talked about not taking feedback on your open source project personally.

    It’s really eye opening to consider that when people deprecate or remove features from a project like RubyGems, it may be so that things can move forward in a meaningful way.

    Finally, we talked about the Ruby Best Practices book, the process of technical book writing, and the process of teaching and learning programming. Greg has given a lot of thought to how and why we learn to program.

    56 min
  • Rails’ Component Libraries
    Rails is made up of several components that all have specific jobs in making your Rails application work. Here’s a quick list of what they are and what they do.
    ActionMailer - The basis for mailers. This is the library that allows you to format and send emails from your rails application
    ActionPack - The components that parse, delegate, and render responses for requests.
    ActionDispatch - Parses HTTP requests and sends the requests to controllers.
    ActionController - Basis for Controllers -Takes requests and request parameters and gathers data to render a response.
    ActionView - Basis for Views. Determines which template to use and builds the response to the HTTP request from the templates based on data provided by the Controller.
    ActiveModel - Defines an interface on non-ActiveRecord classes that helps the behave like ActiveRecord models.
    ActiveRecord - Basis for Models. Manages the connection between the Rails application and a SQL database. Provides means of querying database to manage and find records.
    ActiveResource - Allows the developer to access network REST resources in a simple way.
    ActiveSupport - A collection of extensions to the Ruby programming language that can be used in your Ruby on Rails application.
    You can read in more detail what these libraries are about and what they do on the Ruby on Rails github page.
    10 min
  • Ryan Smith Interview – Teach Me To Code Podcast

    Ryan Smith is an engineer at Heroku.com. He wrote the queue_classic library in Ruby. He was a speaker at RailsConf talking about the Worker Pattern. He blogs at http://ryandotsmith.heroku.com/ and tweets at http://twitter.com/ryandotsmith

    We talked about several things, including:

    • Heroku (the company and the service)
    • Salesforce's acquisition of Heroku
    • queue classic
    • postgresql
    • the Worker Pattern
    • He also mentioned these things in relation to the topics we discussed.

      • h-store
      • mvcc
      • postgres wiki
      • web sockets
      • 45 min