Serge Bornow

Serge Bornow

Toronto, Canada
Serge Bornow
Let's talk AT


Map Reduce plus filter using Ruby

March 23, 2014 | coding, ruby | by Serge

Previous two articles were dedicated to JavaScript and map reduce and filtering of somewhat large data, elegance of code, etc. Going forward, i’d like to evaluate other languages doing the same exact thing. And i’m curious about performance too.   Here is my version of the same code i wrote but in Ruby (Ruby 2.1.1 […]


Async map reduce filter using NodeJS and callbacks in parallel

March 2, 2014 | coding, javascript, nodejs | by Serge

Following up with a series i started earlier Writing clean code is indeed paramount in our industry and we all aspire to be better at it. With popularization of NodeJS we face another challenge Our first challenge was to process large set of json objects , filter it by name property and get a […]

Map Reduce is fun and practical in JavaScript

February 26, 2014 | coding, javascript | by Serge

I’ll be honest, i’ve never used map..reduce in javascript. I wrote it in java and ruby (so far). So i had to try and i had an challenge in front of me that i needed to complete. I turned to Mozilla for their wonderful JavaScript documentation. This is an implementation of <array>.map

Now the […]

Ruby interview challenge

February 21, 2014 | coding, ruby | by Serge

I had a pleasure of getting an interview with an upcoming startup (i won’t disclose which one). Besides implementing fizz buzz in ruby, i was asked to write a method that would check for input to be a palindrome. Palindrome is a word, phrase, number, or other sequence of symbols or elements, whose meaning may […]


Using sumo logic to query bigdata

February 9, 2014 | bigdata, coding, javascript, nodejs | by Serge

Main selling point of Sumologic is: real-time (near) big data forensic capability.   At Inpowered, we used Sumologic extensively, our brave and knowledgeable DevOps folks managed chef scripts that contained installation of Sumologic’s agents on most instances. What’s great about this: Any application that writes any sort of log, be it a tomcat log (catalina.out) […]

Lambda in ruby in one line

January 30, 2014 | ruby | by Serge

This example explains a lot One line, anonymous and flexible

  Results in lambda being (.called ) with parameter. Output would be > hey Serge Nice , isn’t it :), all in one line.

Date Time mess with JavaScript is a breeze in Ruby world

October 27, 2013 | coding, javascript, ruby | by Serge

Those of you whoa are seasoned in web develop know what i mean when i say date/time parsing , formatting can be ugly and time consuming. You turn to DateJS or momentJS (my currently favourite), you always (you should) look at the last time the project was updated, you make sure its not dependent on […]

Ipad Air – the new generation

October 22, 2013 | Uncategorized | by Serge

Much lighter, much faster , 64 bits with motion sensor (i won’t run with it, but something might be built that will use it) Let the games and iWork begin. AutoDesk is definitely going to be faster for those in engineering reviewing designs.    

OSX launchctl , you’re a friend – Launch Daemons

October 20, 2013 | rambling | by Serge

Whatever they are (chrome makes use of them, developing and using .dev domains, running some processes or running your own custom app) , its easy to control, manage  and rid of them.   launchctl  - is the handy tool   Adding a custom service , here is a handy explanation It’s really useful if you […]

Dot Freeze – fairly easy to prevent objects from modification

October 18, 2013 | coding, ruby | by Serge

Freeze and Frozen? Too bad NodeJS doesn’t have this feature but Ruby does! The freeze method in class Object prevents you from changing an object, effectively turning an object into a constant. After we freeze an object, an attempt to modify it results in TypeError. str = ’A simple string. ’ str.freeze  begin str << ’An attempt to modify.’ rescue => err puts ”#{err.class} #{err}” end # The output is - TypeError can’t modify frozen string