jeffkreeftmeijer.com Archives - 17 April 2014, Thursday

  • @twiz718 We ended up working through a few different variants. We drew a lot of inspiration from this:

    Pure Ruby colored blob detection

    jeffkreeftmeijer.com 01 Nov '13, 3am

    I started out with blob detection, which simply means detecting, locating and measuring an object in an image. A really simple way of doing something like that (without having to worry about object textures and creepy stuff like that), is to use color to identify blobs. In this articl...

  • Detecting Bassie's red nose in Ruby using ChunkyPNG and some clever coding:

    jeffkreeftmeijer.com 06 Oct '13, 5pm

    Ruby programmer, making apps at Fingertips in Amsterdam Newest: Vim's new hybrid line number mode 25 Sep 2013 Instead of having to switch between relative and absolute line numbers, Vim 7.4 comes with a "hybrid" mode to use them both at the same time. On the death of ifs 29 Apr 2013 A...

  • Vim's new hybrid line number mode - Jeff Kreeftmeijer

    Vim's new hybrid line number mode

    jeffkreeftmeijer.com 25 Sep '13, 12pm

    Well over a year ago, I wrote about using relative line numbers in Vim to speed up movement by displaying line numbers relative to the current line. This makes it easier to find out how many lines up or down you have to jump to get to where you want to be. Because I wanted to switch b...

  • Introducing #Tapir: Simple search for static sites

    Introducing Tapir: Simple search for static sites

    jeffkreeftmeijer.com 09 Sep '13, 3pm

    Note: I stopped working at 80beans , so I can’t help you with any issues anymore. You can always send an e-mail to Tapir’s support e-mail address if you need help, though. Static site generators like Jekyll allow you to generate your whole website or blog as static HTML files and put ...

  • The magical (and not harmful) rebase

    jeffkreeftmeijer.com 31 Aug '13, 6pm

    About a month ago, I published a series of articles on Git , starting with @nvie ’s awesome git-flow and asking you to write better commit messages . The series ended with an article named “The mighty reflog and the amazing bisect ”. Guess what? I forgot the magical rebase . In genera...

  • 見てる: "Finally a way to mark your Github project as abandoned - Jeff Kreeftmeijer"

    Finally a way to mark your Github project as abandoned

    jeffkreeftmeijer.com 03 Jun '13, 3pm

    tl;dr Check out stillmaintained.com to create some nice maintenance status pages for your Github projects. Back when it was still nice and sunny outside, I wrote an article about abandoned open source projects , in which I proposed a way to mark Github projects as abandoned. There was...

  • On the death of ifs

    jeffkreeftmeijer.com 29 Apr '13, 3pm

    The video starts out by explaining that if statements like this one might be a sign of bad design, and that this piece of code will probably grow over time and become an eyesore. While I don’t think the possibility of something growing over time and becoming an eyesore sometime in the...

    Related:
    1. On the death of ifs jeffkreeftmeijer.com 29 Apr '13, 2pm
  • On the death of ifs

    jeffkreeftmeijer.com 29 Apr '13, 2pm

    The video starts out by explaining that if statements like this one might be a sign of bad design, and that this piece of code will probably grow over time and become an eyesore. While I don’t think the possibility of something growing over time and becoming an eyesore sometime in the...

    Related:
    1. On the death of ifs jeffkreeftmeijer.com 29 Apr '13, 3pm
  • The pain of JSON API testing

    jeffkreeftmeijer.com 22 Mar '13, 10pm

    I’m a little behind on my blog feeds, so I didn’t read Collective Idea ’s article about json_spec until yesterday. They created a gem which provides some RSpec matchers and Cucumber steps to do JSON API testing, since “They can be a joy to build but a pain to test”. In this article, I...

  • Fuubar: the instafailing RSpec progress bar formatter

    Fuubar: the instafailing RSpec progress bar formatter

    jeffkreeftmeijer.com 16 Mar '13, 10am

    As you might have noticed, I’ve been spending some time trying to get running test suites with RSpec a bit better and faster over the last weeks. This week I looked into RSpec’s formatters. Aside from the red “F” RSpec will output when a spec fails, there’s no direct feedback that all...

  • Why aren't you using git-flow?

    jeffkreeftmeijer.com 17 Feb '13, 11am

    In January of this year, @nvie published “A successful Git branching model” , in which he explained how he keeps his Git repositories nice and tidy. In addition to that, he released git-flow ; a bunch of Git extensions to make following this model extremely easy. I’m astounded that so...

  • Steak: because Cucumber is for vegetarians! - Jeff Kreeftmeijer:

    Steak: because Cucumber is for vegetarians!

    jeffkreeftmeijer.com 24 Jun '12, 6pm

    why you should write acceptance (or integration) tests , but you should. I used Cucumber for a while now and I love it, but I think writing my tests in a business-readable domain-specific language and translating them into Ruby using step definitions is a bit too much sometimes. And I...

  • Preloading dependencies for faster test suite start-up times

    jeffkreeftmeijer.com 11 Jun '12, 1pm

    help you speed up your test runs by preloading your application’s dependencies and running your test suite without reloading the whole stack each time. That sounds like magic, but it’s actually quite simple to build a tool that can do something like that. In this article, we’ll write ...

  • @sikachu /me ใช้ absolute เวลา insert, relative เวลา normal ครับบ

    Relative line numbers in Vim for super-fast movement

    jeffkreeftmeijer.com 26 May '12, 9pm

    Since 7.3, Vim has a setting called relativenumber (you can set it up with :set relativenumber or :set rnu ), which is a lot like the number setting you’re probably using to have line numbers already. But, instead of showing the absolute line numbers from the top of the file, it shows...

  • Be awesome: write your .gemspec yourself

    jeffkreeftmeijer.com 01 May '12, 3pm

    A lot of people are still using (tools like) Jeweler, which is fine. I would like to ask you to take a look at a simple .gemspec file sometime and ask yourself if this would more difficult to write and maintain than a Rakefile specifying the exact same thing. I feel like a lot of peop...

  • Stumbling into Vim - Jeff Kreeftmeijer:

    Stumbling into Vim - Jeff Kreeftmeijer

    jeffkreeftmeijer.com 07 Apr '12, 6pm

    I’ve been using Textmate since I switched to the Mac a while back. It worked properly and I was fine with it. I never looked into Vim until a few months after @antekpiechinik told me I should. That was last week. To be honest, I thought Vim was for people that felt too cool to go out ...

  • aaah no, the horror! ... Testing code that's testing itself via @prismatic

    Testing code that's testing itself - Jeff Kreeftmeijer

    jeffkreeftmeijer.com 05 Mar '12, 4pm

    The problem we have here is that code you’re working on is unstable and can’t be trusted, which means you can’t really use it to test anything either. That’s testing broken code with broken code and it can get very confusing very fast.

  • Why aren't you using git-flow? - Jeff Kreeftmeijer

    jeffkreeftmeijer.com 25 Feb '12, 11am

    In January of this year, @nvie published “A successful Git branching model” , in which he explained how he keeps his Git repositories nice and tidy. In addition to that, he released git-flow ; a bunch of Git extensions to make following this model extremely easy. I’m astounded that so...

  • MicroGems: five minute RubyGems - Jeff Kreeftmeijer:

    MicroGems: five minute RubyGems - Jeff Kreeftmeijer

    jeffkreeftmeijer.com 23 Feb '12, 1pm

    ← Jeff Kreeftmeijer Archive Contact MicroGems: five minute RubyGems 03 Oct 2011 tweet! subscribe! Note: This is just something I've been playing around with. I'm not saying you should do this and I'm not implying this is better than what you're doing right now. I'm just sharing some e...