Profile cover photo
Profile photo
Chen Kinnrot
114 followers
114 followers
About
Posts

Post has attachment
Watch out for reference duplication instead of instance duplication
# This code will generate 96 instances ViewStatData = Struct .new( : total , :target , :ratio ) 96 .times.map { | _ | ViewStatData .new( 0 , 0 , 0 )} # And this will not, it'll generate 96 pointers [ViewStatData .new( 0 , 0 , 0 )] * 96 # So Watch out!!!
Add a comment...

Post has attachment
Ruby Lazy chunked hash like behavior
When we want to iterate a long list, we can simply write a query and get a cursor, ActiveRecord will do all the heavy lifting for us. What happens when we need to do some complicated computations on a set of data, which sometimes can be too big to be stored...
Add a comment...

Post has attachment

Post has attachment
Rubymine on OSX
I found this only today, you should run Rubymine as 32 bit process. It works much faster and consume half the memory. To set this got to the Applicaitons folder right click on rubymine->get info and check the "open in 32 bit mode" Thats all!
Add a comment...

Post has attachment
New version is out, please check it out and rate
I spy
I spy
play.google.com
Add a comment...

Post has attachment

Post has attachment
Hi, can you help me pass this level :) Where was this picture taken? link - https://play.google.com/store/apps/details?id=com.alexdev.travelmaster.app
Photo
Add a comment...

Post has attachment
Hi, can you help me pass this level :) Where was this picture taken? link - https://play.google.com/store/apps/details?id=com.alexdev.travelmaster.app
Photo
Add a comment...

Post has attachment
Do you love #GetTaxi as much as I do? Then take your first ride for free. Use my promo code: GTCHENK3 to get ₪20 off your first ride. http://invite.gettaxi.co.il/code/GTCHENK3
Add a comment...

Post has attachment
Take a @GetTaxi ride on me, use my code GTCHENK3 and get ₪20 off your first GetTaxi ride. Get the app: http://invite.gettaxi.co.il/code/GTCHENK3
Add a comment...
Wait while more posts are being loaded