Yan Pritzker photographer, entrepreneur, software engineer, musician, skier

skwpspace is Yan Pritzker's home on the web

Blog :: Photography :: About Me

TwitterCounter for @skwp

Get the news feed
Get updates by email
Follow me on twitter

hello, i'm yan

I am a photographer, entrepreneur, software engineer, guitarist, and telemark skier

This blog is about startups, blogging, Ruby On Rails, virtualization and cloud computing, photography, customer service, marketing, ux and design, git, and lots more.

planypus

I'm the founder of Planypus, the place to share your plans!

cohesiveft

Virtualize your application for download or deploy to the cloud in minutes!

flickr

skaterkristinaice flowstampededudeson the hillblack sand beach, icelandblack sand beach, iceland

Top Posts

Archives

Contact

Reach me at yan at pritzker.ws

Posts Tagged ruby

Tracking down stray console messages in Ruby

While working on Planypus we recently ran into an issue where something was outputting strange messages to the console. Luckily, Anton Mostovoy figured out a clever dynamic Ruby hack to track who was outputting the message:

$stdout.instance_eval do
alias :inner_puts :write
def write (str)
inner_puts %Q!#{str} was said by #{caller.join(“\n”)}!
end
end

Like Magic!


After →