This is the unedited version of Ankit's internship story at Josh for 2 months. We have posted it "as is". We hope this helps others understand what internship at Josh is like, the culture and the values - @gautamrege Introduction This is a list of activities carried out during 8 week full-time internship at the … Continue reading Learning to Fly – Internship story
Protecting your photos and images with watermarking using imagemagick is pretty cool. Aditya talks about watermarking images using text and images with various effects like composite, dissolve and watermark. Nice, comprehensive post! A good read.
Watermarking images is a breeze with ImageMagick. ImageMagick is a very handy tool to manipulate images from the command-line. It is free and is available on all major platforms.You can use text or another image to watermark your images with ImageMagick. The ‘rmagick‘ gem is a Ruby library to interact with ImageMagick.
I recently had to watermark images in one of my Rails projects. This was pretty critical as some of the customers were using these images without paying for them. Images were generated using ‘pdf2image‘ and not uploaded by the client. So we had to do this with Ruby.
We wanted the watermark to occupy a large part of the image, look pleasant without actually becoming overbearing. We tried both alternatives text and image before choosing to watermark with the client’s logo.
There are many ways to watermark images with either text or another image using ImageMagick’s ‘convert’ tool and command…
View original post 464 more words
Sanjiv has drawn a good raw loop performance comparison between Go, Rust, C and Dlang. Some of the outcomes are pretty fascinating and he predicts that Rust will be a great for low level and system programming while Go will take the lead for general purpose high level languages.
Did you know – In ruby, ‘while’ loop performs much better than ‘for’. It is recommended that when iterating large data,use ‘while’ or ‘loop’ than the traditional each or foreach.
We have been learning & working on various programmings languages. These different programmings language help us to learn various programming paradigm & constructs. There are number of new programming language such golang, rust, dlang.
We are going to see performance of simple loop in golang, rust, dlang, ruby. We are going iterate a 100 million times to see raw performance. Below is the example of for loop in golang.
Above code is compiled with gccgo-4.9(golang). gccgo compile the given input file & produces binary file with name ‘a.out’.Benchmark of following code:
Below is the example of loop in rust-lang. In rust lang, there are two different looping construct namely ‘for’ and
‘while’ loop. ‘while’ denotes a loop that iterates as long as its given condition.
Above code is compiled with rust(version 0.13). rustc compile the given input file & produce binary file with name same name as input.Benchmark of following code:
View original post 239 more words
Shifa, who works at our company used her company conference budget and made her first solo trip abroad to attend RubyConf 2015 in San Diego.
Here is her experience while travelling alone, the preparation, the craziness, the fear and overcoming it, realisations and finally elation!
A well written post that we hope inspires other women techies to travel far and have great experiences to share!
The world is beautiful and full of wonders. And all those years of watching Discovery and NatGeo had only made me realize how badly I wanted to see it and experience it; all of it.
So, when I got the opportunity to attend a conference that was taking place in the other half of the world; I knew I wanted to go. But coming to a decision wasn’t easy and deliberation was needed. So I sought advice from parents, friends, colleagues and relatives. Now this might not have been the best idea, considering how few of these people had actually traveled solo before. Most conversations went like this:
Me : Hey! Guess what? I’m going to the US for a week to attend a conference!
Them : That’s awesome! Lucky you! Who all are going with you?
Me : Just me!
Them : Oh! *Thud* (Yeah, their faces just…
View original post 1,516 more words