Tags

101 videos are tagged with ruby

644 gogaruco2011 go for the rubyist appropriation of great ideas in ruby thumb 0000 thumb
Rating: Everyone
Viewed 1,119 times
Recorded at: September 16, 2011
Date Posted: October 9, 2011

The Go programming language, invented at Google, brings a novel new approach to parallel programming. With a strong focus on developer productivity and software readability, Go shares a lot of design philosophy with Ruby while targeting a different set of problems. Though the use of new language primitives, goroutines and channels, Go applications can solve programs in a highly parallel fashion without the use of locks.

This talk introduces the Go programming language, discusses the innovative parts of the language's design, and demonstrates how these concepts can be applied to Ruby.

Vlcsnap 2010 11 26 21h35m30s245 thumb
Rating: Everyone
Viewed 3,911 times
Recorded at: November 11, 2010
Date Posted: November 26, 2010

0 thumb
Rating: Everyone
Viewed 15,037 times
Recorded at: April 29, 2013
Date Posted:

Vlcsnap 2014 05 16 10h59m25s211 thumb
Rating: Everyone
Viewed 8,194 times
Recorded at: April 25, 2014
Date Posted:

1233 aloharuby2012 refactoring from good to great thumb 0004 thumb
Rating: Everyone
Viewed 19,707 times
Recorded at: October 8, 2012
Date Posted: October 26, 2012

Most developers know enough about refactoring to write code that's pretty good. They create short methods, and classes with one responsibility. They're also familiar with a good handful of refactorings, and the code smells that motivate them.

This talk is about the next level of knowledge: the things advanced developers know that let them turn good code into great. Code that's easy to read and a breeze to change.

These topics will be covered solely by LIVE CODING; no slides. We'll boldly refactor right on stage, and pray the tests stay green. You might even learn some vim tricks as well as an expert user shows you his workflow.

Topics to cover include:
* The Open-Closed Principle
* The types of coupling, and their dangers
* Why composition is so damn great
* A powerful refactoring that Kent Beck refers to as "deep deep magic"
* How to destroy conditionals with a NullObject
* The beauty of the Decorator pattern
* Testing smells, including Mystery Guest and stubbing the system under test
* The stuff from the last halves of Refactoring and Clean Code that you never quite got to :) organizers')
Obviously, my credibility relies entirely on this talk being awesome, so come ready to laugh, learn, and enjoy yourself.

862 railsconf2012 coffeescript for the rubyist thumb 0001 thumb
Rating: Everyone
Viewed 2,020 times
Recorded at: April 23, 2012
Date Posted: June 4, 2012

CoffeeScript is taking the world, and particularly the Rails eco system, by storm. This little language has provided an almost Ruby like abstraction onto of JavaScript. CoffeeScript is trying to make writing front end code as much fun as Ruby makes writing backend code.

In this talk we start with the basic concepts of CoffeeScript and move on to the more powerful and fun features of the language. While we're looking at CoffeeScript we'll see how it relates to the Ruby code we write everyday. What do Ruby 1.9 lambdas and CoffeeScript functions have in common? Which of the two languages supports splats, default arguments, and ranges? The answers may surprise you.

Sebastian thumb
Rating: Everyone
Viewed 1,874 times
Recorded at: February 8, 2014
Date Posted:

We care about writing quality code, we have read the definition of SOLID principles several times and we know how important they are for writing good OO code, but are we really following those principles? Is there a pragmatic way of following them in our day to day jobs or are they just some principles a few computer scientists wrote? Fortunately there is, SOLID principles are not just good ideas , they are intended to help us write better code, enjoy our jobs more and be happy programmers. But, where should we start? We should start where we always do. By writing tests, yes, for real. As Kent Beck says "TDD doesn't drive good design. TDD gives you immediate feedback about what is likely to be bad design", so we need to go a step further. In this talk we will see how writing tests is not just *doing TDD* is about having good test coverage, it's also about driving our code towards good design, one that follows SOLID principles.

Vlcsnap 2015 02 04 10h00m36s133 thumb
Rating: Everyone
Viewed 317 times
Recorded at: January 10, 2015
Date Posted:

“Internet of things” is the concept of basically connecting any device with an on and off switch to the Internet. IoT has been possible through devices like Arduino, Raspberry Pi and many more. Although most of the APIs to work with them are available in Ruby, I haven’t seen many projects programmed in Ruby, but C++, Python or JS. I would like to share my approach, resources etc I learned from and show things that are possible. I hope audience would learn new possibilities with Ruby and not have to spent time learning a new language to interact with hardware.

2290 larubyconf2013 refactoring fat models with patterns thumb 0000 thumb
Rating: Everyone
Viewed 5,860 times
Recorded at: February 23, 2013
Date Posted: April 13, 2013

“Fat models” cause maintenance issues in large apps. Only incrementally better than cluttering controllers with domain logic, they usually represent a failure to apply the Single Responsibility Principle (SRP). “Anything related to what a user does” is not a single responsibility. Early on, SRP is easier to apply. ActiveRecord classes handle persistence, associations and not much else. But bit-by-bit, they grow. Objects that are inherently responsible for persistence become the de facto owner of all business logic as well. And a year or two later you have a User class with over 500 lines of code, and hundreds of methods in it’s public interface. Callback hell ensues. This talk will explore patterns to smoothly deal with increasing intrinsic complexity (read: features!) of your application. Transform fat models into a coordinated set of small, encapsulated objects working together in a veritable symphony.

Bryan helmkamp thumb
Rating: Everyone
Viewed 2,564 times
Recorded at: June 27, 2014
Date Posted: July 23, 2014

Docker is "an open source project to pack, ship and run any application as a lightweight container". In this talk, we'll explore the basics of Docker, the advantages of container-based virtualization, and how to setup Rails deployments using both.