Better HN
topnewbestaskshowjobs
Log inSign up

gabebw

153 karma · joined Aug 3, 2010 (16y ago) · 42 submissions

I work at thoughtbot.
Submissions

1.

Graphing Workout Frequency Using D3.js(gabebw.com ↗)

4 points · by gabebw · 11y ago · 1 comment

comment 12y ago · link · parent

If you need a JSON "API" to test it against, may I suggest derulo.json: http://gabebw.com/derulo.json

comment 12y ago · link · parent

I asked Slack and they told me how to fix it:

Escape closes the blue banner for the current channel.

Shift-Escape closes that blue banner for all channels.

4.

Automatically wait for AJAX with Capybara(robots.thoughtbot.com ↗)

3 points · by gabebw · 12y ago · discuss

5.

ActiveRecord's `where.not`(robots.thoughtbot.com ↗)

2 points · by gabebw · 12y ago · discuss

6.

How to fix those Nokogiri libxml version mismatch errors(coderwall.com ↗)

4 points · by gabebw · 12y ago · discuss

7.

Starting and Stopping Services with Homebrew(robots.thoughtbot.com ↗)

3 points · by gabebw · 12y ago · discuss

8.

Starting and Stopping Background Services with Homebrew(reddit.com ↗)

2 points · by gabebw · 12y ago · discuss

9.

Brewfile: a Ruby Gemfile, but for Homebrew(robots.thoughtbot.com ↗)

7 points · by gabebw · 12y ago · 2 comments

10.

Clearer Conditionals using De Morgan's Laws(robots.thoughtbot.com ↗)

115 points · by gabebw · 12y ago · 78 comments

comment 13y ago · link · parent

With Ack, I had to set up a bunch of --type-add lines to ~/.ackrc so that Ack wouldn't ignore e.g. SCSS files. ag searches every file by default, except for VCS files (e.g. .git/ and .hg) and files that are ignored by your VCS.

Ag's default behavior is way better, and less confusing to new users. Plus, it's faster.

comment 13y ago · link · parent

Yup, same error here. Full dump: https://gist.github.com/5db045977b157096f448

comment 13y ago · link · parent

It's a reference to the movie Idiocracy, which is set in a future where (among other changes) Starbucks is an erotic massage parlor: http://3.bp.blogspot.com/-fmUAFjqIPc4/T8aZMNekMfI/AAAAAAAAFB...

comment 14y ago · link · parent

Try Trunk Club: http://www.trunkclub.com/

They do a brief interview with you over the phone, get your measurements, and send you a trunk of clothes every month. You only pay for what you keep. My friends have been very satisfied with that they've gotten.

comment 14y ago · link · parent

Here's a shameless plug for https://www.apprentice.io/ - we offer great (paid!) technical mentorship for 3 months with one of the best Rails firms in the US.

We have locations in SF and Boston.

comment 14y ago · link · parent

Try inspecting the element (in Chrome inspector or Firebug or whatever). My password is visible there. When doing a simple view-source, I just see "${password}" though.

comment 14y ago · link · parent

That's actually a list of git tags (http://learn.github.com/p/tagging.html), and they're on the current site, e.g. https://github.com/thoughtbot/factory_girl/tags

comment 14y ago · link · parent

I believe GitHub admins have that little search bar on every repo, while regular joes can only search private repos.

19.

Clone Me Maybe(robots.thoughtbot.com ↗)

1 points · by gabebw · 14y ago · discuss

comment 15y ago · link · parent

It's actually http://www.ml-class.org/

comment 15y ago · link · parent

I assume you're basing this off the screenshot. The "Search source code" input is only available in private repos. Since kneath/resque is a public repo, apparently one benefit of working at Github is getting that input on all repos, whether public or private.

comment 15y ago · link · parent

Re: jumping to method definitions, have you tried running ctags on your project directory, then pressing Ctrl-] (go to tag) on the method name? It should work.

23.

How to make the most of an apprenticeship (from a thoughtbot apprentice)(robots.thoughtbot.com ↗)

1 points · by gabebw · 15y ago · discuss

comment 15y ago · link · parent

Good point, with broad examples. Seems like you've led an interesting life - not many people would pull out "blacksmiths" as an example :)

comment 15y ago · link · parent

2 things:

1) Please show the first few lines of the song under each result

2) Please stack the results like traditional <li>s - the "cloud" effect makes them very hard to scan.

comment 15y ago · link · parent

Yes, Ruby has private methods:

    def i_am_public
       ...
    end

    def i_am_private
       ...
    end
    private :i_am_private

    private

    def i_am_also_private
       ...
    end

comment 15y ago · link · parent

Take this as faddishness or not, but this sounds like README-driven development from Tom Preston-Werner: http://tom.preston-werner.com/2010/08/23/readme-driven-devel...

comment 15y ago · link · parent

I really didn't think the GP would get an answer to that extremely specific question. Thanks, and I'll be checking this out.
12