• support[@]kurinchilion.com
  • +1 (888) 666-4252

Java: Buffered Reader Vs. Scanner

Oct 07, 2012 - by kurinchilamp 332 Views
Buffered Reader - Buffered reader reads text from a character input stream and buffers those characters - Buffered reader has a buffer size of 8 KB - Buffered reader is synchronized and can be safely called from multiple threads - To parse for primitive data types additional functions needs to be called Scanner - Scanner breaks down input into tokens and translates individual tokens according to their data type - Scanner has a buffer size of 1KB - Scanner is not synchronized - Scanner can parse for primitive types and strings using regular expressions Source: http://docs.oracle.com/javase/6/docs/api/java/io/BufferedReader.html http://docs.oracle.com/javase/tutorial/essential/io/scanning.html
Continue Reading

XML (Extensible Markup Language) Vs. CSV (Comma Separated Values)

Oct 05, 2012 - by kurinchilamp 391 Views
CSV is flat file with the data separated by commas. If we needn't have to establish a relationship in the data presented in the CSV file, then we can go with storing the data as CSV and manipulate the content for display in the web pages. XML allows hierarchical representation of data. Data in XML is more readable when it comes to presenting the data. Data can easily be validated with XSD and can be accessed with a couple of lines of code. Huge advantage of XML is its flexibility to establish relationship in data.
Continue Reading

How to setup Rails on WAMP server using HTTP Proxy module?

Oct 02, 2012 - by kurinchilamp 407 Views
To setup Rails on windows after Ruby and Rails setup, i) Edit hosts file in windows environment and set the server name in the hosts file to 127.0.0.1 myrails In this example, i have used "myrails" as the server name for the project. ii) Edit httpd configuration setting on WAMP to make sure proxy and proxy_http module is turned on (check if it those lines are not commented out) LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_http_module modules/mod_proxy_http.so (more…)
Continue Reading

How to install Ruby, Rails and MySQL on Ubuntu Server?

Oct 01, 2012 - by kurinchilamp 413 Views
For this tutorial we will be using Ruby 1.9.3 and Rails 3.2.1 First thing update $ sudo apt-get update Next, we are going to install git, RVM which is essential for the build $sudo apt-get install build-essential git-core curl RVM stands for Ruby Version Manager that is used for installing and managing multiple versions of Ruby at one point of time. (more…)
Continue Reading

Installing Ruby and Rails on Windows

Sep 30, 2012 - by kurinchilamp 411 Views
# First step, download ruby from http://rubyinstaller.org/. Once downloaded click the installer to install Ruby into your desired folder (C:\Ruby). Make sure to add Ruby to your path. # Once installed, check the version of Ruby installed by typing in (more…)
Continue Reading

How to check Python version number in Linux/Unix environment?

Sep 25, 2012 - by kurinchilamp 333 Views
To check the Python version number in Linux, simply type $ python -V You will get an output
Python 2.4.3
Continue Reading

TECHNOLOGY DEV STACK

Following are some of the technologies that we use to build and maintain solutions for our clients.