Railsware Blog

Benefit Driven Approach

PivotalBooster logo 256

May 11, 2012
by Sergey Korolev
0 comments

PivotalBooster version 1.1.0.beta – what’s new?

We are glad to announce you a major release of PivotalBooster version 1.1.0.beta. With its new and enhanced features, working with your projects, tasks and stories will become even more convenient and flexible. For example, now it is much easier to create a new story or update an existing one in our absolutely new story detail view. Plus, the new drag-and-drop attachment feature provides you with a faster way of adding attachments. And, if you are managing several projects at once, the new filtering by the project feature is just right for you. That’s not all that new PivotalBooster has to offer to you.

Continue Reading →
Share
skypekit

May 11, 2012
by Andriy Yanko
3 Comments

Libskypekit and Skypekit – C and Ruby interface for Skype

Preface

There are two methods to programmatically use Skype:

The first method is rather slow due to an interaction with the user interface. The second one is more interesting as there is no UI application.

SkypeKit SDK includes only wrappers for:

  • C++
  • Python
  • Java

Is Ruby wrapper missed? No more!

Continue Reading →
Share
1

May 10, 2012
by Alexey Vasiliev
5 Comments

Effective similarity search in PostgreSQL

Hello my dear friends. In “PostgreSQL most useful extensions” I showed a list of some useful extensions for PostgreSQL. Of course, that article didn’t cover all useful extensions (in my humble opinion) and some extensions I want to describe in separate articles. Today we will talk about effective similarity search in PostgreSQL.

Similarity search in large databases is an important issue in nowadays informational services, such as recommender systems, blogs (similar articles), online shops (similar products), image hosting services (similar images, search image duplicates) etc. PostgreSQL allows to make such things more easy. First you need to understand how we will calculate the similarity of two objects. Continue Reading →

Share
http_keepalive

April 26, 2012
by Andriy Yanko
1 Comment

Speed up your ActiveResources!

Preface

In non trivial projects we often use SOA approach. Thereby one big monolithic application can be segregated into smaller applications or services. The benefit is obvious – it’s easy to control and maintain small applications. If you use Rails framework you probably already use ActiveResource for requesting your services because if follows ActiveRecord conventions.

Definitely ActiveResource operations are much slower than ActiveRecord operations because first one use HTTP connection and second one use usually persistent connection to database and database is usually always faster than application service.

But modern HTTP/1.1 servers support persistent connection and as Ilya Grigorik already mentioned in his awesome article we can have serious speedup for resources usage.

The problem is that ActiveResource does not support keep-alive connections.

But not for Railsware :) .

Continue Reading →
Share
psvsfw

April 26, 2012
by Andrey Khorolets
0 comments

From Photoshop to Fireworks and back. Part 1.

Here is the first part of the tour I’ve announced earlier.

I’m going to use Photoshop CS4 and Fireworks CS5 and hope there will be no significant differences if you are using other versions. Also, my way around PS could be different from yours, so please don’t take any of my advise as immediate call to action, be flexible. Continue Reading →

Share
mustache

April 12, 2012
by Alexey Vasiliev
8 Comments

Shared Mustache Templates for Rails 3

Hello my dear friends. Today we will talk about how we share mustache templates in Rails 3.

Let’s imagine that we have a task, where on first load of the page we show only 10 products. But when user scroll, we should automatically load more products on page (aka continuous pagination). Of course, this task can be solved in several ways, but I want solve this task by sharing one template between Rails and JavaScript.

Continue Reading →
Share
cs

April 10, 2012
by Tanya Lyashenko
0 comments

4 Steps To Scope Your Product Right

Usually, the business owner starts working with designers and engineers with only 20% of his product scope understanding.

Our overall goal is to build product vision together at the very beginning of a development cycle and not at the end of developing a product-he-doesn’t-need and which doesn’t solve consumers problems. Here are few general words about how Railsware does that approach.

Continue Reading →
Share