Better HN
topnewbestaskshowjobs
Log inSign up

mchail

12 karma · joined Sep 5, 2012 (14y ago) · 9 submissions

Submissions

comment 12y ago · link · parent

Great tip! For rails devs, I strongly recommend rack-mini-profiler [0]. It gives you an in-browser view of rendering time (which you can expand to break out by partial) with query time listed for each query. Each query also includes a stacktrace to make it easy to fix offensive queries. Great for identifying N+1 query bugs as well. There's a railscast for it, too [1].

[0] https://github.com/MiniProfiler/rack-mini-profiler

[1] http://railscasts.com/episodes/368-miniprofiler

comment 12y ago · link · parent

The prompt customization is a great idea! My team just added it to our production build.

3.

Show HN: gif-roulette, bookmarklet to replace all images with random imgur pics(github.com ↗)

2 points · by mchail · 13y ago · 1 comment

4.

Show HN: sheroku - launch mongo/redis shells using heroku environment variables(mchail.github.io ↗)

2 points · by mchail · 13y ago · discuss

5.

How Does Hitbliss Know You're Running Their Desktop Client?(mchail.com ↗)

1 points · by mchail · 13y ago · discuss

6.

Solve the general case of the 24-challenge puzzle(twentyfour.herokuapp.com ↗)

1 points · by mchail · 13y ago · discuss

7.

Zapier-to-Hipchat Webhooks in Rails with Resque(mchail.com ↗)

5 points · by mchail · 13y ago · discuss

8.

Typewriter Dismantlement(mchail.com ↗)

1 points · by mchail · 13y ago · discuss

9.

Hold your javascript console ransom(mchail.github.com ↗)

3 points · by mchail · 13y ago · discuss