Ary Borenszweig's blog

Read about our day to day discoveries, the trips we take around the world, our personal developments and news about the things we do at Manas.

  • Many times we end up having similar tests: same logic but different inputs and expected outputs. For example, suppose we need to test our brand new sqrt function: test "sqrt 1" do assert_equals 1, sqrt(1)...

  • I just found out the difference between += and << when used for a string. irb(main):001:0> str = 'chan' => "chan" irb(main):002:0> str.object_id => 69952758899780 irb(main):003:0> str += 'ged' => "changed" irb...

  • I searched the internet for a gedit plugin that would allow me to press a key and jump (navigate) to the file where a ruby class is defined. I couldn't find one so I wrote one (I know about Geany but I couldn't find that functionality...

  • Today I was profiling an application. The timings pointed to a piece of code that executed a query using LINQ. I opened an SQL profiler and saw what queries were performed. Here they are: SELECT [t3].[value]...

  • Once again, Sergio was complaining because matches inside svn folders were showing up in search results. Since I like challenges, I wrote this small Eclipse plugin that excludes .svn and CVS folders from searches.