Live data from Hacker News

How to spy on a Ruby program

jvns.ca

21–28 of 28 posts

Re: How to spy on a Ruby program

#21

From the article: “I'm constantly surprised by how many people don't know you can do this. It's amazing.” I'm probably nitpicking, but sad to see this in the article. One of the things I love about Julia's writing otherwise is that it is free of this sort of 'I'm surprised that you don't know this simple thing.' expressions.

http://xkcd.com/1053/ opened my eyes to this category of behavior and presents an alternative.

Re: How to spy on a Ruby program

#23
You know, sometimes i get slightly eye-rolly at the tone of Julia's articles, but fuck, this sort of attitude in programming is so much better than the alternative (i.e. lkml). Bringing more positivity and jolliness into programming is important. Fuck the traditional macho programmer attitude. I'm gonna try to be more like Julia.

Re: How to spy on a Ruby program

#24

From the article: “I'm constantly surprised by how many people don't know you can do this. It's amazing.” I'm probably nitpicking, but sad to see this in the article. One of the things I love about Julia's writing otherwise is that it is free of this sort of 'I'm surprised that you don't know this simple thing.' expressions.

hey! Thanks for pointing this out. As you say, I do normally try to audit my writing for feigned suprise like this!!

I'll fix it when I get home.

Re: How to spy on a Ruby program

#26

You know, sometimes i get slightly eye-rolly at the tone of Julia's articles, but fuck, this sort of attitude in programming is so much better than the alternative (i.e. lkml). Bringing more positivity and jolliness into programming is important. Fuck the traditional macho programmer attitude. I'm gonna try to be more like Julia.

Ditto, except for the eye-rolly part:D.

Also, I have noticed that she takes simple things we don't usually think deep about and drill down to it opening up underlying complexity and pointing a metaphorical magnifying glass at it. (An example I quickly picked from the blog http://jvns.ca/blog/2014/09/28/how-does-sqlite-work-part-1-p...)

Re: How to spy on a Ruby program

#27

I hadn't heard of perf - very handy indeed. It's in the linux-tools package for distros using apt. You will need to install both the generic package and the one for your kernel version.

Installing linux-tools-generic seems to have been enough for me (on Trusty).

Re: How to spy on a Ruby program

#28
post #24

From the article: “I'm constantly surprised by how many people don't know you can do this. It's amazing.” I'm probably nitpicking, but sad to see this in the article. One of the things I love about Julia's writing otherwise is that it is free of this sort of 'I'm surprised that you don't know this simple thing.' expressions.

hey! Thanks for pointing this out. As you say, I do normally try to audit my writing for feigned suprise like this!! I'll fix it when I get home.

Hey, thanks for taking notice, and more importantly, fixing it.

You're awesome!

Post reply on HN