Work in progress: 181,232 of 181,233 sites checked so far, more every week · updated 2 Nov 2026Missing a blog? Tell us

Top all-time · #6732

P

Pat Maddox

Personal blog · patmaddox.com/blogprogrammingwebproductivity

Pat Maddox writes ~patmaddox, a personal blog at patmaddox.com about programming, web and productivity. Since 2009, 12 different Hacker News readers have linked it 17 times, most often “Sh: Relative shell script includes with realpath on FreeBSD”. It is still writing: the last post was on 2025-06-30, and you can follow it by feed.

Visit the blog
17mentions?
12HN people?
2009–2023first – last linked?
Links on Hacker News per year · peak 6 in 2010

Too few sampled comments (3) to say how often HN recommends it.?

Why HN links it

HN readers link Pat Maddox's blog for Rails development advice, including tips on working with legacy databases, and for the bootstrapped product Storemapper, which reached $50k a year.

Summarised by Claude from a sample of 3 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.

Most-linked posts?

  1. Sh: Relative shell script includes with realpath on FreeBSD
    2 people · 2 mentions · first linked 2023-12-03

What Hacker News says?

  1. Figure out who your audience is. The easiest is to pick someone like you or who wants to be like you. Are you a rubydev? You can probably solve problems for aspiring ruby devs, etc. Consultants can solve common consulting problems, (brennan dunn did ( http://doubleyourfreelancing.com/rate/ ). Find out where your audience hangs out online (forums, reddit, hackernews, blogs, etc). Start systematically going through th…

    Comment linking /rubysteps/

    on “Storemapper: Bootstrapped to $50k/year in 2 years”
  2. Submitted Poof and then Rails was gone as a story · 66 points

    HN discussion
  3. jpcx01 · 2009-05-15Recommends
    I agree. If you're taking over an old crappy Rails project of reasonable complexity, think about using Pat Maddox's excellent tips on working with legacy databases. http://www.patmaddox.com/blog/railsconf_2009_legacy_rails It's useful to get the app under a comprehensive test acceptance test suite. Then you can rewrite and feel comfortable everything is still working.

    Comment linking /blog/railsconf_2009_legacy_rails

    on “Things You Should Never Do, Part I”
  4. Submitted What I Like About vim as a story · 23 points

    HN discussion
  5. Totally agree, that's why you need good MVC separation and you test those layers separately. The models testing is obvious. What you're referring to there is controller testing. In Rails/Rspec, the way you do that is by mocking/stubbing the models (so you're only testing the controller logic). Then you pass in the parameters that would come in from the web, and check that the controller code (which should be fairly…

    Comment linking /blog/2007/9/15/easy-controller-tests-and-expressing-intent-through-expectations

    on “Unit testing is not (generally) useful”
  6. Submitted How a Coding Obsession Killed My Startup as a story · 19 points

    HN discussion
  7. Submitted Fluid interfaces and little objects as a story · 5 points

    HN discussion
  8. Submitted Behavioral methods in ActiveRecord as a story · 4 points

    HN discussion
  9. Submitted Sh: Relative shell script includes with realpath on FreeBSD as a story · 3 points

    HN discussion
  10. Submitted Technical Debt as a story · 3 points

    HN discussion
  11. Submitted How to hire programmers as a story · 2 points

    HN discussion
  12. Submitted Are you punching your users in the face? as a story · 2 points

    HN discussion
  13. Submitted Relative shell script includes with realpath on FreeBSD as a story · 1 points

    HN discussion
  14. Submitted "X sucks" sucks as a story · 1 points

    HN discussion
  15. Submitted Unit and Functional Tests are as Useful as 100% Code Coverage as a story · 1 points

    HN discussion
  16. Submitted Four lessons from the Rails Rumble as a story · 1 points

    HN discussion
  17. Submitted Behavioral methods in ActiveRecord as a story · 1 points

    HN discussion

Search all of HN for patmaddox.com

Linked by the same people?