Archive for June, 2011
We are looking for passionate engineers (Frontend and Backend) with
deep understanding on testability, architecture, scalability, startup
experience, familiar and excited from the lean startup movement.
We believe in Agile and lean startup movement
We care about test driven development and continues deployment.
You will take part of a small team to develop a revolutionary
application which will maximize our customers financial potential.
- If you care about design
- If you have strong knowledge of web and distributed computing,
- If you are self motivated , fast learner
- If you are familiar with RoR or similar framework (Django, GWT),
- If you are excited from building a project from scratch,
- If you are a team player, and want to create a really exiting product for our customers
Please introduce yourself, confidentiality is guaranteed!!!
More details –
Environment – Linux, JVM
Languages: Java, Ruby, Scala
Libraries: Guice, Google Guava, Perf4j, ASM, Rack, jQuery, Mocha
Persistence: Hibernate, MySQL, Amazon S3, Active Record
RPC: Protobuf, JSON, JsonMarshaller, HTTP
Tests: Hudson, JUnit, Lighthouse, Selenium, RSpec
Principles: REST, DRY, TDD
send your details to:
Case 1: decimals
You are troubled to find out that some of your precision is lost…
1. First place to look is whether you are using the correct number class.
2. next place to look is db column definition
decimal 10,4 for instance, will support 6 digits number with 4 digits after the decimal point.
Don’t get too depressed, you can easily migrate your column to support more digit numbers:
class ExpandDecimals < ActiveRecord::Migration
change_column :[table], :[column], :decimal, :precision => 12, :scale => 2
change_column :[table], :[column], :decimal, :precision => 10, :scale => 4
Case 2: blob
You are using a table column to store data blob and it’s too short to contain all data?
Migration can be something like:
class ExpandLongtext < ActiveRecord::Migration
change_column :[table], :[column], :text, :limit => 16777215
change_column :[table], :[column], :string, :limit => 255
Migration is very easy and makes your life easy.
We are on our bootstrap stage.
Bootstrap means almost everything is done for the first time.
Setting up your Ruby on Rails development environment on mac OS X 10.6
You will need to get familiar with the terminal. Keep it docked in your programs pane. You are going to use it a lot.
General note: in some installations you are required to change your .profile or your .bash_profile. I prefer using only .bash_profile and apply all the changes in the same file.
Memorize the holy trinity 🙂
$ ./configure $ make $ sudo make instal
Now we can get to work…
- Install X-code, from your OS X installation disk. It has gcc compiler and some other tools that will help you during your installations.
- Install macports, http://www.macports.org/install.php. The MacPorts Project is an open-source community initiative to design an easy-to-use system for compiling, installing,
and upgrading either command-line, X11 or Aqua based open-source software on the Mac OS X operating system.
- Install wget, a tool that helps fetching packages and files from internet locations
$ port install wget
- Install git, scm, best there is, period. use github help how to.
- Install GitX visual tool for git http://gitx.frim.nl/
- Install MySQL 5.5 database. Have a look on epicblog. Note – you should setup for utf-8 usage.
- Install Sequel Pro, MySQL management tool for mac http://www.sequelpro.com/
- Install MacVim text editor. http://code.google.com/p/macvim/. I highly recommend set of .vim add-ons and plugins dotvim – see readme.
- Install readline, Library that provides command line editing
$ port install readline
- Install rvm – Ruby Version Manager https://rvm.beginrescueend.com/
$ rvm install 1.8.7 $ rvm install 1.9.2 $ rvm 1.9.2 --default
- Install gem, Ruby package installer. http://rubygems.org/pages/download
- Install bundler, tool to manage application dependencies
$ gem install bundler
- Install rails freamework
$ gem install rails
- Install ruby debug 1.9 gem which enables to debug ruby from rails console.
$ gem install ruby-debug19
OK ready to go!