Skip to main content

"Open Source or Microsoft " war!

I love both but there is a war between open source and microsoft. No open source follower will buy the fact of being a part of a product based firm that sells its software and does not have other ways of earning than the consumer itself. Now being a part of such a firm I realise how microsoft has dominated the world with their software. Its the ease of learning and somehow.. Piracy.. open source on the other hand is for us geeks. you can learn as well as get popular in the market ( thus earning a lot of money by individual coding ). By contributing to the society you are actually helping yourself grow as a programmer. You have no investments in the IDE front and also you have all the code availible to you for the softwares that you use daily. You can customize and enhance them and thus be a part of this world. So go ahead.. Be a follower of this Blog! P.S. : I'm working on C#.NET , Linux and Project MONO. And My friends are working on PHP, HTML and CSS. If you guys have any querries or contributions. Start doing it right now. Cheers!


Popular posts from this blog

Startup founders cheatsheet (Chief product officer)

Define your goals  The basic definition of "mission" and "vision" of the company is critical when we've past the stage of experimenting with the startup's model and helps you prioritise better. From the Expedia page it looks like this: "Our Mission is to Revolutionise Travel Through the Power of Technology", in this case, it is also helping the company know that leveraging and scaling with "technology" is imperative for the company (along with operations). 
Set 2-3 basic targets for the next 2-3 months (possibly 6 months) These might be pretty standard and should align with the mission / vision of the company. If your company wants to be the #1 company in Asia for travel, these basic targets might be: Scale to 100,000 app downloads across platformsIncrease revenue by 15%Increase daily unique visitors to 3 times the current value 
Image Source: Mind the product
Goals help define epics and create a huge backlog Now brainstorming how the targe…

Image Cropping and Scaling Algorithm using "linear algebra"


I had to formulate an algorithm to convert an image of some resolution - say L x M and
crop / re-size the image into a new resolution say P x R such that I cover the maximum amount 
of points/pixels from the original image.

This can be pretty much applied in a generic way to all programs and websites in need of an optimized algorithm to rescale / reduce the size of the original image in their application such as profile images in social networks etc.


To cover the maximum amount of pixels from the original image we have to focus on cropping the image
to the target aspect ratio first and then re-scaling it to the new resolution. Hence, the problem comes down to achieving the target aspect ratio that would help me capture the maximum amount of pixels of the original image so that I end up with an image which is pretty close to what the original image should have been in the new resolution.


The signature of the function before we started writin…