Profile_bird

Hey there! nick_evans is using Twitter.

Twitter is a free service that lets you keep in touch with people through the exchange of quick, frequent answers to one simple question: What's happening? Join today to start receiving nick_evans's tweets.

Already using Twitter
from your phone? Click here.

nick_evans

  1. why oh why isn't the after_commit gem part of active_record? (background processing and DB transaction race conditions give me headaches).
  2. @subelsky ironically, I'm doing this to work around an idiosyncrasy of god.rb. but I should probably spelunk it's source anyway, just to see
  3. @ngauthier I'm mostly just curious at this point. I'm willing to forgo some "ruby purity" and use `ps`. :-)
  4. basically, how to `ps --ppid #{ppid} -o pid`.split("\n")[1..-1].map {|p| p.to_i} without shelling out?
  5. @ngauthier I didn't fork these processes, Other than Process.ppid, I couldn't find anything in Process rdoc to help. Process.all would help.
  6. anything in ruby stdlib (or a good gem) for finding the child pids (given a parent pid), without shelling out to "ps"?
  7. @jtrupiano I download from railsapi.com and use it locally.
  8. Fail Fast and the Robustness Principle (aka Postel's Law). A simple interpretation sees these design principles at odds. How to merge them?
  9. @pjb3 http://support.mozilla.com/en-US/kb/Disabling+third+party+cookies
  10. using #rvm on Ubuntu 9.10 karmic, you need to delete -O2 from CFLAGS in ruby Makefile, otherwise some gems won't install (bug in gcc 4.4.1).
  11. FYI: git rebase squashing is a tool of satan, for destroying useful bisect debugging. http://bit.ly/yjoVe => s/panflute/rebase squash/g
  12. effigy (http://➡.ws/⏶ by @joeferris) is the sort of view/template separation I want. I look forward to trying it out. (via @MattScilipoti)
  13. @flipsasser sounds like the @bmoreonrails #OSHN went wonderfully. Thanks for hosting it. Hopefully I'll be able to make it to the next one
  14. working from @bhivebmore today.
  15. really digging #resque. Thanks @defunkt (et al.)!
  16. at @bhivebmore with @pjb3 and @bryanl today. going to @Kooperstavern for lunch later. :-)
  17. @wayneeseguin but... rvm hasn't selected anything in /usr/local or /opt/local, and yet they are swapped (http://gist.github.com/226201).
  18. Why is rvm re-ordering my $PATH? http://gist.github.com/226201
  19. @hedron nope, vim has supported undo tree for as long as I can remember. :help undo-tree (g-, g+, :earlier, :later, etc).
  20. I'm surprised that all IDEs and text editors (meant for programming) don't have undo trees. (of course) vim and emacs do.