Corporate Blog


Linux Terminal Emulators


by , January 17, 2011, Linux

I’ve been surprised to know that most of developers use a standard terminal emulator on their Linux-based computers, which either gnome-terminal or konsole. Today I would like to talk about two alternatives.

What’s the problem with common emulators?

The main problem, in my opinion, is upon creating a new session, you must open another window or tab and switch between than again and again. It’s rather boring and time consuming. Basically, if you develop an application with Rails (or Django) you usually need more then two terminal sessions – one for the server’s output, other ones for the development console and your favorite version control system.

Another problem is the fast accessibility. When you have a few windows/tabs, you lose time on finding the terminal window you need, opening and closing it.

One more thing: I’m going to describe terminals for Gnome desktop environment, I think if you like it, it it will be easy to find alternatives for the desktop engine you use.

Read the rest of this entry »

Share
Add comment Share

Vim Preview Plugin


by , November 30, 2010, Cassandra

Hello!
If you use one of the greatest text editors (I mean Vim) it’s for you.
Very often when you’re editing markup files such as .markdown, textile or rdoc you want to preview them. The plugin I developed will help you with it . It converts content of current buffer to html and opens it with browser.

Requirements

To use this plugin your Vim should be compiled with --enable-rubyinterp option. You can check it doing:
:echo has('ruby')
If output is 1 everything is OK, your Vim has bultin ruby interpreter. Otherwise you should reconfigure Vim and compile it.

Installation

You can get the plugin from vim.org:
Vim preview on vim.org
or clone repository from github:
Vim preview plugin on github.com

Copy directories plugin, autoload and doc into you .vim directory.
Then you need to install next gems: github-markup, RedCloth, bluecloth.
Just do as root:
gem install github-markup RedCloth bluecloth.

Usage

<Leader>P – will open current file converted to HTML in your browser.

To get more information about the plugin you should read help:
:help preview.

I hope this plugin will be useful for you:)

Share
Add comment Share

Interactive Voice Response and the Ruby language


by , November 8, 2010, Cassandra

Interactive Voice Response (IVR) is a technology that allows computers to detect voice and dual-tone multi-frequency signaling (DTMF) keypad inputs. IVR technology is used extensively in telecommunication, but is also being introduced into automobile systems for hands-free operation.

IVR is widely used in banks, insurance companies and telecommunication companies. The cost of commercial IVR systems (Avaya, Cisco, Genesys, Nortel or Dialogic) is very high, but Asterisk is free. Thus, if you don’t want to spend your money on commercial software, Asterisk might be a great solution for your business.

Read the rest of this entry »

Share
Add comment Share

When Will The Project be Done?


by , November 8, 2010, Estimation

Thanks to Ksenia Shulga and Michael Livshutz for their assistance with this article.

“When will the project (or feature) be finished?” – this is the main concern of any Client.

If you ask the developer about it, most probably the answer will be something like “I don’t know”, “The time frame is unpredictable” or “It’s too early to talk about the end date” etc.

When you find yourself in the role of software customer, consider applying these methods before running these questions past your developers. These methods will help see the future with more clarity and decrease the risk of blowing past the delivery date even under the toughest circumstances, such as when using unfamiliar technology or in a totally new area.

Read the rest of this entry »

Share
Add comment Share

Ruby and NoSQL


by , November 2, 2010, Cassandra

A new store and handle data approach has recently gained its popularity among scalable web applications. Use of any major NoSQL database has several benefits in comparison to usual RDBMS:
  • a) Faster to append new data
  • b) Simple to store key-value pairs
  • c) Convenient for use with REST designs

Let’s reflect on how we can use NoSQL with Ruby. In order to do so, we will review the following NoSQL databases: Cassandra, MongoDB and CouchDB. Ruby supports each one of them over corresponding gems. In this blog post we will be using Ruby 1.8.7 with Rails 3.0 under Ubuntu 9.10 OS.

Read the rest of this entry »

Share
Add comment Share