Posts
Tamer Salama - Learning Journey
Cancel

Blog revived

It has been a while since I added contents to the website. I started out this blog in 2004, back when blogging was the social media of the day. Inspired by professionals who I admired, I tried to ...

RubyMotion – PullToRefresh

To add Sam Vermette’s SVPullToRefresh to your RubyMotion project: Add the SVPullToRefresh pod Add the Quartz Framework # In your Rakefile Motion::Project::App.setup do |app| # ... app...

Using NUI with RubyMotion

NUI is an open-source library that allows you to style your iOS applications using CSS-like files and syntax. In my opinion, NUI carries few benefits over its commercial, KickStart backed, competit...

Consultancy Masterclass

Last weekend, I sat through the two-day Consultancy Masterlcass by Brennan Dunn & Obie Fernandez. Both Brennan and Obie have extensive experience building their own successful consultancy firms...

Thoughts on building vs growing

Many times I’ve heard professionals talk and plan out building software applications. Great ideas they’d like seen implemented, and how it could make things better. Though might not seem obvious – ...

Rails and inner query choices

Consider that we have two models; `` and `` . A Well represent an oil/gas/water well, each with multiple SurveyPoints. A SurveyPoint represent the well’s coordinate at a certain depth. class Well ...

JRuby – can’t convert Hash into String

I’ve recently upgraded a JRuby/Rails application from JRuby 1.6.3 (1.8 compatibility mode) to 1.6.8 (1.9 mode). Everything was working out fine except for actions relying on internal CSV library (F...

newrelic – undefined method `-’ for nil:NilClass

Using JRuby with trinidad (developer mode) – I was intermittently getting this error. Apparently thrown as estimated_time for the transaction was returning nil. I was also having all sorts of other...

JRuby/Rails Streaming in development environment (and beyond)

Rails streaming is a great feature that allows you to optimize on server resources when dealing with large generated content. However – it might be a bit tricky to validate and test in local develo...

JQuery Autocomplete updating a document element (not the dropdown)

I came across the requirement of updating a page element from the result of an Autocomplete. The server results were to be placed in a select element as set of option items. I had to overwrite some...

Search Results