Stubbing in RSpec lets you write the code you wish you had. Learn how to design your code before you implement it in this screencast! Designing code with RSpec
Ruby
-
Most Topular Stories
-
Designing code with RSpec
RubyFlow18 Jun 2013 | 11:31 am -
Coding: Increase Your Reading and Writing Speed
Jay Fields' Thoughts11 Jun 2013 | 10:31 amA teammate of mine recently expressed a desire for a shortcut for something we type often. I started looking into our shortcut options and came to a common determination: We can do this, but the number of 2 key shortcuts available to us is finite, so we better use them wisely. I wrote the following unix to give me a rough idea of what we type frequently. find . -name "*.clj" | xargs cat | tr -s '[:space:]:#()[]{}\"' '\n' | sort | uniq -c | sort -nnote: If you're not writing clojure you'll want to look for something other than .clj files, and you might also want to tweak what you replace with… -
The Truth About What’s Holding You Back
slash7 with Amy Hoy29 Mar 2013 | 9:45 amI’ve got a ton of interview requests in my inbox right now. I don’t know when my answers to this one will be posted, so I wanted to share it with you right now: Q: When you speak with others who haven’t started their own business, launched their own product such as a new online course, what do you find are the most typical reasons they state holding them back? Do you feel there are other reasons they don’t state that are holding them back? What did you do to overcome your hurdles and have you found ways to help others overcome theirs? A: You want the real reason, or… -
I'm Hiring: Web Developer and Designer for LSM Javelin
Obie Fernandez14 Jun 2013 | 1:02 pmI'm going to hire two full time, experienced web people in September as the first members of my product delivery team at Lean Startup Machine. We'll mostly be working on Javelin, our killer app for product managers that's currently entering pilot phase at a handful of Fortune 100 companies. Senior Web Developer Primarily looking for full-stack web technology experience, especially with modern browser-based MVC and CSS. Best candidate will be a generalist with broad understanding of OO application design, automated testing, cloud-based production environments and Agile processes. UX Designer /… -
#415 Upgrading to Rails 4
RailsCasts6 May 2013 | 12:00 amWith the release of Rails 4.0.0.rc1 it's time to try it out and report any bugs. Here I walk you through the steps to upgrade a Rails 3.2 application to Rails 4.
-
RubyFlow
-
Designing code with RSpec
18 Jun 2013 | 11:31 amStubbing in RSpec lets you write the code you wish you had. Learn how to design your code before you implement it in this screencast! Designing code with RSpec -
My talk at RedDotRubyConf 2013: building asynchronous apis
16 Jun 2013 | 7:48 amMy talk at RedDotRubyConf 2013: building asynchronous apis -
Jenkins behind Apache with HTTPS – Proxy pass with SSL
15 Jun 2013 | 5:59 amIf you want to know how to proxy pass Jenkins with Apache and add a SSL to it all, you should read this post. -
Convert flat lists to trees
15 Jun 2013 | 1:49 amnew gem 4FUN flat2tree (gem) with example usage https://github.com/mpapis/home_dotfiles/blob/master/bin/lsmod_tree -
Nobody understands the GIL, Part 2
14 Jun 2013 | 8:15 amIn this follow up, I actually take you down into MRI to see how the GIL is implemented, and what effect it has on your code. Read it here and look for part 3 to wrap things up next week.
-
RailsCasts
-
#417 Foundation
16 Jun 2013 | 12:00 amZURB's Foundation is a front-end for quickly building applications and prototypes. It is similar to Twitter Bootstrap but uses Sass instead of LESS. Here you will learn the basics of the grid system, navigation, tooltips and more. -
#415 Upgrading to Rails 4
6 May 2013 | 12:00 amWith the release of Rails 4.0.0.rc1 it's time to try it out and report any bugs. Here I walk you through the steps to upgrade a Rails 3.2 application to Rails 4. -
#412 Fast Rails Commands
4 Apr 2013 | 12:00 amRails commands, such as generators, migrations, and tests, have a tendency to be slow because they need to load the Rails app each time. Here I show three tools to make this faster: Zeus, Spring, and Commands. -
#409 Active Model Serializers
9 Mar 2013 | 12:00 amThe ActiveModel::Serializers gem can help you build JSON APIs through serializer objects. This provides a dedicated place to fully customize the JSON output. -
#406 Public Activity
13 Feb 2013 | 12:00 amLearn how to easily add a user activity feed using the public_activity gem. Here I show both the default setup using model callbacks and a manual way to trigger activities.
-
Free PeepCode Blog
-
PeepCode iOS App Update: Fast Playback Option
5 Jun 2013 | 10:15 amThis article is heavily styled and is best viewed at PeepCode! by Geoffrey Grosenbach and Paula Lavalle A new version of the PeepCode iOS app is free on the App Store! It fixes some bugs and adds a new useful feature. Fast Playback The 1.5x button plays downloaded videos much faster.We’ve designed PeepCode videos to be consumed however you want to. Watch straight through to become familiar with a framework such as Ember.js (whether or not you choose to build anything with it). Or go step by step to interactively type along with the code in your text editor. Or relax after work watching… -
Teaching Developers
21 May 2013 | 4:45 pmThis article is heavily styled and is best viewed at PeepCode! Written by Geoffrey Grosenbach · Design by Paula Lavalle The only thing more difficult than learning something new is teaching it. At PeepCode, we put a lot of time into creating great explanations of difficult concepts. We won’t publish a video until we’re confident that it explains the topic better than anything else out there. And feedback from people who have viewed our videos on Ember.js, Ruby on Rails, JavaScript and other topics show that we’re doing just that. Summary Here’s some of what we’ve… -
Troubleshooting Strategies Poster
9 May 2013 | 5:10 amThis article is heavily styled and is best viewed at PeepCode! by Geoffrey Grosenbach 7 Strategies VideoTroubleshooting is a skill that transcends programming languages, frameworks, and even time. My first few years of professional programming were full of frustration. I would frequently run into problems and have no clue about how to solve them. I treated them as unexpected and unwanted interruptions. Now I know that encountering and fixing problems is part of the developer’s job description. It’s a rare day that ends without unexpected behavior from code, a deployment, or… -
New Memes
5 Apr 2013 | 5:20 pmThis article is heavily styled and is best viewed at PeepCode! by Geoffrey Grosenbach and Paula Lavalle Oh man, I want a looping gif of @coreyhaines and @tenderlove doing the COMPUTERING motion at the same time.— ashe dryden (@ashedryden) March 8, 2013 Wish granted! Use the following in your presentations, status updates, meme generators, or just for laughs! Buy the full-length Play by Play or tell your boss to buy you a PeepCode Unlimited subscription for full access to all our videos and our iOS app. COMPUTERING Full size image Animated GIF Every day we’re computering. Tweet… -
The PeepCode iOS App
21 Mar 2013 | 7:03 pmThis article is heavily styled and is best viewed at PeepCode! by Geoffrey Grosenbach and Paula Lavalle From the It Just Makes Sense department Stream to your Apple TV! We’re watching Play by Play with Corey Haines and Aaron Patterson.As a bootstrapped company, it’s not always clear what the next step is, but an iOS app for viewing PeepCode videos has been one of the longest standing requests we’ve received. Which makes sense! It’s almost as if these devices were perfectly designed for watching PeepCode videos. The new iPhone 5 is the right dimensions for displaying HD…
-
Obie Fernandez
-
I'm Hiring: Web Developer and Designer for LSM Javelin
14 Jun 2013 | 1:02 pmI'm going to hire two full time, experienced web people in September as the first members of my product delivery team at Lean Startup Machine. We'll mostly be working on Javelin, our killer app for product managers that's currently entering pilot phase at a handful of Fortune 100 companies. Senior Web Developer Primarily looking for full-stack web technology experience, especially with modern browser-based MVC and CSS. Best candidate will be a generalist with broad understanding of OO application design, automated testing, cloud-based production environments and Agile processes. UX Designer /… -
The Rails 4 Way (beta)
30 Apr 2013 | 4:24 pmToday I unveiled the latest (and eventually best) version of The Rails Way at RailsConf 2013. Thanks to the cooperation of my publisher, this beta release is being distributed via the most excellent leanpub.com service. My co-authors are Kevin Faustino, Vitaly Kushner and Ari Lerner. Beta purchasers will be invited to collaborate on the book. Much more information coming soon. -
Rave Reviews for Consulting Masterclass
25 Feb 2013 | 4:28 pmMy next consulting masterclass with Brennan Dunn will happen the weekend March 16-17th. Over the course of two 5 hour sessions, we cover the nitty gritty of turning your freelancing or small contracting operation into a world-class operation. The core topics are sales and marketing, money, staff and client management, culture and products. Plus as an alumni you get exclusive access to a growing mailing list of fellow consultant entrepreneurs that act as a roundtable and support group. Here's what some of our students are saying about their experience: First of all, thank you for being so… -
Ecommerce Takes Patience!
11 Jan 2013 | 6:05 amThis chart shows recent sales on msabundle.com where I sell contract document templates for freelancers and consultants. Nice, eh? I started the project a little less than 2 years ago and have experienced very slow but steady growth in revenue over that time. For the most part it's a side project that I have ignored on a daily basis, especially so during the first year and a half when I only got a few sales a month. I say that ecommerce takes patience, because there were a handful of occasions during that time where I wondered if it was worth the mental bandwidth to keep it going! The ramp… -
Announcement: CTO of Lean Startup Machine
7 Jan 2013 | 10:08 amCh-ch-changes! I've joined Lean Startup Machine as their CTO and will be working remotely from Atlanta, with occasional trips to NYC. I've been advising LSM for a couple of years already, since becoming friends with their CEO, Trevor Owens, one of the best-connected entrepreneurs in NYC. The vibrant team that Trevor has united and the success they've experienced so far with their weekend workshops all around the world, well, it's simply a testament to their great vision and execution. I'm excited to take a greater role in the company as we dive into a promising market for tools that help…
-
Jay Fields' Thoughts
-
Coding: Increase Your Reading and Writing Speed
11 Jun 2013 | 10:31 amA teammate of mine recently expressed a desire for a shortcut for something we type often. I started looking into our shortcut options and came to a common determination: We can do this, but the number of 2 key shortcuts available to us is finite, so we better use them wisely. I wrote the following unix to give me a rough idea of what we type frequently. find . -name "*.clj" | xargs cat | tr -s '[:space:]:#()[]{}\"' '\n' | sort | uniq -c | sort -nnote: If you're not writing clojure you'll want to look for something other than .clj files, and you might also want to tweak what you replace with… -
Clojure: Combining Calls To Doseq And Let
16 May 2013 | 5:00 amI've you've ever looked at the docs for clojure's for macro, then you probably know about the :let, :when, and :while modifiers. What you may not know is that those same modifiers are available in doseq. I was recently working with some code that had the following form. Upon seeing this code, John Hume asked if I preferred it to a single doseq with multiple bindings. He sent over an example that looked similar to the following example. That was actually the first time that I'd seen multiple bindings in a doseq, and my immediate reaction was that I preferred the explicit simplicity of having… -
Emacs Lisp: Font Lock for Clojure's Partial
15 May 2013 | 5:00 amI love using partial, but I dislike the length of the function name. There's a simple solution, define another function with a shorter name that simply calls (or is) partial. This is exactly what I did in the jry library. I liked the use of % due to partial feeling similar to creating a function using #(), and % having a special meaning inside #(). I thought they tied well together. Unfortunately, there's an obvious problem, things would be very broken if you tried to use the '%' function in an anonymous function defined with #(). Somewhere along the way this issue caused me to stop using… -
Clojure: Testing The Creation Of A Partial Function
14 May 2013 | 5:00 amI recently refactored some code that takes longs from two different sources to compute one value. The code originally stored the longs and called a function when all of the data arrived. The refactored version partials the data while it's incomplete and executes the partial'd function when all of the data is available. Below is a contrived example of what I'm taking about. Let's pretend we need a function that will allow us to check whether or not another drink would make us legally drunk in New York City. The code below stores the current bac and uses the value when legally-drunk? is called. -
Recovering Lost Post Data
7 May 2013 | 5:00 amI recently typed out a long, thoughtful response in a textarea. I clicked submit, like I've done millions of times, and I got the dreaded "session expired" error message. This happens very, very rarely, but it's devastating when it does. Creating long & thoughtful responses isn't something that comes naturally for me. I crossed my fingers and clicked back. No luck, web 2.0 dynamically created text boxes ensured Chrome had no chance to preserve my editing state. My first reaction was: I guess I'm not responding after all. Then it occurred to me, DevTools must have my data somewhere, right?
-
PeepCode Products
-
Meet Elixir
17 Jun 2013 | 9:25 pmOn special sale for only $9 until July 17! Sponsored by elixir-lang.org Elixir is a fun language inspired by the best parts of scripting languages like Ruby and Python, but built on the industrial strength Erlang VM. The multicore, distributed future is here, and Elixir has arrived just in time to help you build apps for it! Elixir creator Jose Valim (also known as a former committer to Rails and author of the wildly popular Devise gem) takes you through his language while building a real-world library to parse HTTP streaming metadata files. In a fast-paced 2 hours, you’ll build a… -
RSpec 2: with Rails 4 and Ruby 2 (Part 3 of 3)
6 Jun 2013 | 7:10 pmRSpec is the most important add-on for Ruby on Rails. Understanding and mastering the use of RSpec should be part of every Rails developer’s skill set. In Part 1 and Part 2 you learned how to use RSpec with any Ruby code. In this 90 minute conclusion to the series, you’ll use RSpec with the latest Ruby web technologies around: Rails 4 and Ruby 2. Request Specs Refactoring Specs HTML Content Big Steps, Small Steps Automated Spec Runner Write a Model Spec Test Model Features with Shoulda Custom Model Methods Related Models Custom Association Methods Factories Returning to the Home… -
Gallery CSS
6 May 2013 | 12:55 pmW3C invited expert and PeepCode author Ben Schwarz built this carousel using only HTML and CSS. In this 40 minute video, Ben walks you through building and understanding a simple set of carousel slides using Gallery CSS. You’ll use the grunt tool to build a static set of HTML and CSS into an animated gallery. You’ll learn how CSS animations work. You’ll build solid markup to drive the gallery. Topics covered: Layout & setup CSS transitions Gnarly CSS selectors Interactivity without JavaScript Maintainable vendor prefixing Advanced use of Sass and SCSS CSS animation… -
Troubleshooting, The Developer's #1 Skill
29 Apr 2013 | 4:11 pmNo matter what language or framework you use, or how many APIs you memorize, there’s one skill you’ll use daily: troubleshooting. I clearly remember the day I realized that finding and fixing bugs wasn’t a rare, unexpected occurrence, but a consistent, daily part of my job description. Eric Raymond said of Open Source software that, “given enough eyeballs, all bugs are shallow.” But if you use Open Source software, it probably means it will be your eyes finding many of those bugs for the first time. It’s a rare day that you’ll write code without… -
Play by Play: Refactoring with Ben Orenstein
11 Apr 2013 | 7:45 amRefactoring, or improving and refining code without changing functionality, is a key skill in any programmer’s toolbox. Over the past few years, one of the most eloquent refactoring experts has been Ben Orenstein of thoughtbot. In this hour and a half long video, Ben takes the code written by Aaron Patterson and Corey Haines and refactors both its tests and its implementation. PeepCode Play by Play is an opportunity to watch experts work (not a step by step tutorial), but you’ll learn about the following topics: In the first 25 minutes, Ben starts looking at the code and gives us…
-
slash7 with Amy Hoy
-
VIDEO: Sales Safari in Action
12 Jun 2013 | 5:52 pmIt’s like Christmas! And I get to play Santa. Have you been a good little human? Let’s see what I have here for you… Ooh, hooray! It’s 20 minutes of Safari video lessons from the last session of 30×500! As I mention in my 2-minute intro, these video lessons are a little bit outdated. Since these were filmed, about a year ago, Alex and I dramatically changed the way we taught Sales Safari. We systematized it out the wazoo. And you can just ask anyone from our last 30×500, it really works. But there’s still great stuff in these videos, a more detailed… -
How do you create a product people want to buy?
11 Jun 2013 | 1:18 pmStop me if you’ve heard this one. Have you ever found yourself mired in this process? Come up with idea! Build idea! Put idea online… Wait for sales… … wait for sales… Double down and try to figure out “product-market fit”, in other words: Who wants to buy this? Over the years, I’ve watched countless friends & acquaintances get stuck in this process. If you make it to Step 6, you’re an outlier. Most folks get stuck between Steps 1 and 3. That’s where the worst doubt & procrastination (a result of fear) set in. Some folks have been re-running… -
Why You Should Do A Tiny Product First
7 May 2013 | 3:13 pmNOTE: The Bootcamp has been moved to June 29/30th due to conflicts. Expect an official announcement this week! So, one of the major changes that Alex and I are making to 30×500 is to teach our students to create an educational product first. What’s an educational product, or infoproduct? Anything small that teaches (which isn’t software): an ebook, a report, a white paper, a screencast, a video series, a workshop. Why? Well… let me tell you a little story. (I say “story” because this is part memory, part extrapolation from their blog, part what I’ve heard,… -
BaconBizConf — Philadelphia, May 30 & 31
24 Apr 2013 | 12:01 pmI mentioned in my last big post, 30×500 Is Dead – Long Live 30×500! that we would be putting on a smaller, redesigned, rethought bootstrapping product conf in Philadelphia on May 30/31. WELL, GUESS WHAT? Tickets are ON SALE NOW! Woot! There are 45 26 16 10 tickets left! YES. IT’S FINALLY HAPPENING! We are putting on a SMALL, INTIMATE, and CHILLAXING bootstrapping conference here in Philadelphia on May 30th – 31st! SMALL – Just 45 attendees INTIMATE – Held in our awesome industrial loft-office, with a 1:10 speaker:attendee ratio CHILLAXING – Day 1… -
The Truth About What’s Holding You Back
29 Mar 2013 | 9:45 amI’ve got a ton of interview requests in my inbox right now. I don’t know when my answers to this one will be posted, so I wanted to share it with you right now: Q: When you speak with others who haven’t started their own business, launched their own product such as a new online course, what do you find are the most typical reasons they state holding them back? Do you feel there are other reasons they don’t state that are holding them back? What did you do to overcome your hurdles and have you found ways to help others overcome theirs? A: You want the real reason, or…
-
Polishing Ruby + Software Releases - zenspider.com
-
My Emacs Setup, pt 2: packages
17 Jun 2013 | 12:00 pmThis is part 2 of My Emacs Setup. OK… So this one I just figured out this week and have finally ironed out a lot of the wrinkles that was making me sour on elpa and el-get. I’m still sour on el-get. The damn thing is way too complex, poorly documented, and does too much. elpa (aka packages.el) does a much better job of doing one thing. packages.el isn’t without its faults. I’ve found a number of functions that I’ve needed to be missing. I’ve added them and proposed them to the author so we’ll see how that goes. Let’s dig in. This file is not… -
My Emacs Setup, pt 1
14 Jun 2013 | 12:00 pmEvan Light requested that I blog about my emacs setup and I’ve been sorta meaning to do that… so here goes. First off, all of my elisp code is available on github. My emacs setup is very organic and has a fair amount of cruft here and there… so you may want to wait for the blog posts rather than diving in. We’ll start at the top, with my .emacs.el file. To start, everything I have is under version control. It is symlinked in to the root of my home dir. Symlinking is done via ~/Bin/Config/setup, which is also under version control. This makes it easy to get up and… -
minitest version 5.0.4 has been released!
7 Jun 2013 | 3:27 pmminitest provides a complete suite of testing facilities supporting TDD, BDD, mocking, and benchmarking. "I had a class with Jim Weirich on testing last week and we were allowed to choose our testing frameworks. Kirk Haines and I were paired up and we cracked open the code for a few test frameworks... I MUST say that minitest is *very* readable / understandable compared to the 'other two' options we looked at. Nicely done and thank you for helping us keep our mental sanity." -- Wayne E. Seguin minitest/unit is a small and incredibly fast unit testing framework. It provides a rich set of… -
MWRC Slides Posted
5 Jun 2013 | 12:00 pmI just posted my slides for my lightning talk (Fuzzy Duplication Detection in Flay) for MWRC 2013. I already posted my slides for Trolls of 2013 (aka Let’s Write an Interpreter!) but I forgot to announce it here. Have at it! -
minitest version 5.0.3 has been released!
29 May 2013 | 5:46 pmminitest provides a complete suite of testing facilities supporting TDD, BDD, mocking, and benchmarking. "I had a class with Jim Weirich on testing last week and we were allowed to choose our testing frameworks. Kirk Haines and I were paired up and we cracked open the code for a few test frameworks... I MUST say that minitest is *very* readable / understandable compared to the 'other two' options we looked at. Nicely done and thank you for helping us keep our mental sanity." -- Wayne E. Seguin minitest/unit is a small and incredibly fast unit testing framework. It provides a rich set of…
-
Engine Yard Developer Blog
-
Announcing Composer Support
18 Jun 2013 | 1:55 pmWe’re pleased to announce Composer support for PHP applications. This has been one of our most requested features, and should make it even easier for you to manage your apps. If you’re already using Composer, you can dive right in. If not, now is a great time to try it out. We recommend Composer for all PHP apps! What is Composer? Composer is a popular dependency manager for PHP. With it, you can specify project dependencies in a composer.json file and Composer will automatically handle the rest. For more information about Composer, take a look at the project website. Why is It Useful? -
June 14, 2013: This Week at Engine Yard
14 Jun 2013 | 9:17 amThis is the week a big chunk of the San Francisco development team went on a roadtrip to our Portland office to do some intense cross-office feature pollination. Things may have started out with some office rivalry, but developers quickly overcame any differences to work together to build, drink copious amounts of amazing coffee, and figure out the location of some of the awesome restaurants Portland has to offer. Pro-Tip: check out Blue Star donuts #amazing. --Tasha Drew, Product Manager Engineering Updates Customer feedback is important to us and is an important part of how we prioritize… -
You Cannot Win Engineering
13 Jun 2013 | 12:51 pmFor as long as I can remember, I’ve been a fan of Saturday Night Live and improvisational theater. Improv looks chaotic and uncontrolled, but the best practitioners operate under strict rules that govern interactions between players. Some of the most successful entertainers today, people like Stephen Colbert and Tina Fey, directly credit what they have learned in improv with making them better at what they do both on and off screen. Unlike workplace policies that you are probably used to, the rules of improv aren’t meant to constrain you, but to open you up to the ideas of others. Let’s… -
June 7, 2013: This Week at Engine Yard
7 Jun 2013 | 3:41 pmThings are pretty busy right now as we ship a bunch of customer enhancements on Engine Yard Cloud and continue with our planned infrastructure abstractions and cluster model improvements. Exciting things to come! In the meantime, here’s what’s available as of this week. --Tasha Drew, Product Manager Engineering Updates Now in GA: Application takeover preferences. Based on your application's customizations, you might not want to use the default application takeover behavior we've developed to automatically promote your application slaves when the app master goes away or becomes totally… -
Speaking at Conferences: How to write a talk and get it accepted
7 Jun 2013 | 1:38 pmAt php[tek] 2013, Engine Yard sponsored the Mentorship Summit, a special forum to discuss the value of mentoring to create more connections and advancement opportunities for developers. A common theme that came out of the summit was that speaking at conferences is a great way to further oneself both personally and professionally. During the discussion, inevitably someone said they've submitted numerous times but had never been accepted to speak, then someone else said they don't know how to write a good proposal, and many discussions were had about what it means to write a good talk proposal.
-
DevInterface Blog
-
7 consigli per scrivere newsletter che funzionano davvero
22 May 2013 | 8:18 amLe newsletter sono uno strumento di marketing efficace sia per trovare nuovi clienti che per mantenere i contatti con il pubblico del proprio sito. Ma, anche se non sembra, realizzare una newsletter efficace non è un compito da prendere con leggerezza. Ecco quindi alcuni consigli su come realizzare una newsletter che funzioni. 1. Oggetto breve e centrato Statisticamente si nota che le email con un oggetto breve vengono aperte molto di più. Ciò è dovuto al fatto che i dispositivi utilizzati per leggere la posta elettronica possono avere diversi formati, basta pensare alle differenze tra… -
Time management: come utilizzare il proprio tempo in modo efficace ed efficiente
15 May 2013 | 4:32 amVi siete mai chiesti se vi sono delle cose che fanno davvero la differenza? Se vi sono cose che possono avere un impatto davvero positivo nella vostra vita? Delle cose che vale la pena fare? Spesso non ci focalizziamo a sufficienza su quelli che sono i nostri reali obiettivi, ma ci lasciamo trascinare dalle urgenze di ogni giorno, senza ricavare effettivamente dei risultati positivi oppure senza accrescerci professionalmente. Il time management si occupa proprio di questo, della gestione di noi stessi e del nostro tempo, per essere più efficaci, più efficienti e per migliorare… -
La tecnica del Pomodoro applicata
8 May 2013 | 6:40 amSpesso si sente parlare della tecnica del Pomodoro e di come questa metodologia si possa applicare all’ambito lavorativo per ottimizzare il tempo ed aumentare l’efficienza delle persone. In questo post vorrei analizzare in dettaglio in cosa consiste questa pratica e mostrare come è stata applicata da noi in DevInterface. Ma prima una premessa: All’inizio di quest’anno abbiamo effettuato un’analisi della nostra capacità produttiva ed è emerso che “vantiamo” un’inefficienza del 12%, pari cioè ad un’ora su otto (pause relax/caffè escluse) persa… -
Nuovo spazio e nuovi servizi web per le associazioni italiane
7 Mar 2013 | 6:43 amDopo mesi di lavoro siamo lieti di annunciare il lancio del nostro ultimo progetto: ReteAssociazioni.it il portale delle Associazioni, fatto dalle Associazioni. L’idea di realizzare Rete Associazioni nasce dalle esigenze riscontrate nel corso di anni di partecipazione attiva e collaborazione con diverse associazioni. Sintetizzando, le maggiori carenze riscontrate sono: mancanza di un portale di riferimento per le associazioni italiane moltissime associazioni non sono ancora presenti sul web poca integrazione ed interazione tra i siti delle varie associazioni assenza di strumenti per la… -
Information Technology: è tempo di freelance e agenzie specializzate
16 Feb 2012 | 5:44 amQuello che segue è un guest post di Lorenzo Monfregola, content manager di Twago Italia. Secondo gli ultimi dati presentati da twago, azienda leader nel settore del lavoro online, i professionisti dell’IT sono sempre più ricercati. Secondo il trend individuato i servizi basati su progetti online nel 2011 sono aumentati del 430%. Si tratta di cifre che forse possono essere colte solo da chi conosce il veloce evolversi del web e dell’economia digitale. La domanda di professionisti nel mondo dell’IT si è moltiplicata di cinque volte nello scorso anno. In particolare ci riferiamo a…
-
Ruby-coloured glasses
-
Gotcha: undefined method `render' for SomeTemplate
4 Jun 2013 | 5:24 pmI recently had to scratch my head over a strange exception message I'd never seen before: undefined method `render' for #<SomeTemplate:0xb17da594> The problem was, it came with *no* application trace at all... just the usual Rails stack-trace. I had to guess at where the problem came from by grepping for SomeTemplate in the controller-action that had exploded, and came across the following line of code: @template = SomeTemplate.new(params[:some_template]) Now SomeTemplate is a model of ours, and prior to this error occurring that line of code had been: @temp =… -
Your Open Source Report Card
29 May 2013 | 5:18 pmHave a look at your own Open Source Report Card. It dives into your github commits and generates a description of your coding propensities - skills and habits. You might even find out something you never knew about yourself - apparently I'm a Tuesday tinkerer! Here's mine for a comparison taryneast -
Backporting "in_array" to older versions of should'a "ensure_inclusion_of"
21 May 2013 | 12:33 amHere's another shoulda backport I added recently. If you're still stuck using a legacy Rails system, this backport will let you use "in_array" in the "ensures_inclusion_of" Matcher. Save it into something like: config/initializers/shoulda_monkeypatches.rb, then use it like this: should ensure_inclusion_of(:widget_status).in_array(Widget::VALID_STATUSES).allow_blank.with_message(:is_invalid).use_integer_test_value # backport the "in_array" method for the ensure_inclusion_of matcher # While we're at it, add allow_blank and allow_nil too module Shoulda # :nodoc: module ActiveRecord # :nodoc:… -
Enforced computer-free time
30 Apr 2013 | 5:50 amGah - I've been computer-free for the past week, and not by choice. My ageing macbook suddenly started to switch off... at random. This was ok for a while... but when it took four times for it to even get through the boot process - I had to take it into the Apple shop. meanwhile I finally set about getting a new desktop, and work gave me a new macbook to try and use. I couldn't get the monitor to work on the desktop, and the macbook is too new to run the current ubuntu LTS (though I somehow managed to get 9.10 to install... but it won't find the ethernet port)... I've finally got the desktop… -
Ubuntu without the Unity!
24 Apr 2013 | 5:24 amFor some time now my ageing (and now quite flaky) Macbook Pro has been running Lucid Lynx (an older version of Ubuntu). I've been biding my time and avoiding upgrading since, well, April 2010, I guess. For most of the time it was because upgrading your only machine that you rely on for 100% of your income, to a potentially unstable, non long-term release version is generally a bad idea; but then, when I went to a new employer, I tried a new install of the new long term release... and slammed headlong into the weirdness that is the Unity Interface. To sum up my experience: when I buy a…
-
Idyllic Software Blog
-
To Share or Not to Share - PS4 VS XBox One
12 Jun 2013 | 12:12 amSharing is caring. It has been taught to us since childhood and we totally believe it. However, in the gaming world, sharing has not been so legally favored. Companies have tried increasing sales of games by applying protection methods that restrict circulation of used games and their use on a friend’s gaming console. It has encouraged boys to move to their parents’ basement and produce cracks of every game that is available in market. In recent years, some game-makers tried to control illegal transfer of used games with the power of internet checks too but hackers as well started the… -
@import-once in LESSCSS, way handier!
21 May 2013 | 4:15 amI would admit that I started playing around with SASS way before my first encounter with LESS. By no means was I under-impressed with what SASS could let me do. Right from creating includes(mixins) to make your code reusable, variables to declare once & use whenever, functions to perform not just arithmetic operations but by passing appropriate arguments, creating chunks of CSS that’s not always needed. But soon after, when I found my @imports getting duplicated with every @import, I began to lose patience. Although, there were quite a few hand RUBY snippets circling around the… -
Alternative authentication process for your rails application using Omniauth and Devise
13 May 2013 | 10:48 pmWe are living in an era of web applications. Every day you come across new and innovative web applications. This brings to light a cut throat competition between them. Every application strives to attract as many users as possible. In this aspect it is very important to analyze - “Why will the users use your website and will continue to use it?” Your application idea needs to be strong and path-breaking. However, having said so, it should also be simple to deal with real world problems. Although it seems easy to talk about, yet it is really difficult to find simple solutions for complex… -
5 easy-to-do no-cost-involved tactics to boost your SEO
6 May 2013 | 3:44 amThe term SEO or Search Engine Optimization is itself a heavy term for small businesses to understand and invest time and money. However it is as essential as water to win the regular battle in business. Having worked with a number of small businesses we have come up with a short and sneaky list of ideas that can help you to scale your small business up the SEO ladder with minimum money and time. Start Bootstrapping Bootstraping in genral is by far one of the easiest methods to make your SEO work for you. This is purely because it involves no money in it. You invest your time to draw attention… -
Myth buster – Who works for a STARTUP!
2 May 2013 | 3:17 amOnce out of college, everyone wants to get hired in a big company. Well…almost everyone! A handful rich and fortunate guys decide to have their own venture or join their family business. And the rest, who don’t get a job in any MNC decide to step in a small company, be it a startup. This is a myth that most of the people have, especially the parents. "Once you graduate, get a job in an MNC just like your cousins. If you choose a less traveled path and join a less known company, you have failed." This myth has ruined many talents in the past and to do a justice to the future, today…


