Rails - async image processing using fog and carrierwave_direct

My last blog post was about direct uploading image to S3 storage using Rails, fog and carrierwave. In most cases if you allow the user to upload images you will need to make various sizes of the uploaded image in order to display previews, thumbnails and smaller web versions across your application. Image processing can be performance killer for your app. It depends on the image size and can make your app irresponsive until the manipulation proce…


Direct image upload to S3 from a Rails application

Cloud storage is becoming a must nowdays. It does have many advantages and is cheaper than buying storage for your VPS. Recently I was dealing with application that was intended to store images. We chose to use Amazon S3 storage. Since I was building a Rails application I used Carrierwave in combination with FOG to store images on S3. While uploading was working good it was quite slow. This is because actually the upload happens 2 times: 1. Your…


Barouh & Partners in the Mountains - The Zlatan Version

Teambuildings, the one of the many things that I like about Barouhandpartners. We do one every 6-7 months and it's always awesome! Sometimes challenging for myself but still really awesome! Winter is not my kind of season but this slowly starts to change as I already bought my first Snowboard equipment. Friday, 30 January - Getting Together This day started for me pretty early - around 5:30 a.m. - with a trip form Burgas to Sofia. 5 hours driving…


My Varna Workstation

Not so cold during the Winter and the nicest place to spend the Summer. The Seaside - probably the main reason I love to live and work in Varna. Let me introduce you my workplace. I rent a small office space in the heart of the city and so far I am happy with it. Also it's quite cheap. I like to come and work here because there is no one else around and I can concentrate on my tasks. I work form my home as well, but sometimes I want to hide from…


Sync contacts from Rails to Exchange server

As a Rails developer I sometimes face the challenge to work with Microsoft servers and services. My latest challenge was to get Rails working with Windows Exchange server. Microsoft Exchange Server is calendaring software, a mail server and contact manager. My task was to make it possible to sync contacts from a Rails application to the Exchange server. This appears to be very time consuming task if you write the API protocol from scratch. Fortun…