Friday February 29, 2008
Sun Tech Days Hyderabad 2008 - Day 2
| The highlight of Day 2 of Sun Tech Days Hyderabad for me was the keynote session by David Axmark - MySQL co-founder. In his presentation, he explained how Storage Engine Innovation (Falcon, InnoDB, PBXT & others), "Free" Time Innovation (MySQL proxy, Language Connector), Buying Innovation (MySQL Cluster from Ericsson), Business Innovation (open source in 1996, work with an impressive list of languages, on any platform, all compiled from one source code, designed with portability in mind, simple recompile for 64-bit portability) and other different kinds of innovation give MySQL 66% of market share in enterprises. Google, Facebook, Wikipedia, Yahoo, YouTube are some of the prominent names. |
Thursday February 28, 2008
Sun Tech Days Hyderabad Talent Show Video - Day 2
Sun Tech Days are fun event where you learn a lot about different Sun
technologies. A "fun fun" event in the agenda is a talent show where
attendees get a chance to show their weirdest skill on the stage. A winner is decided by the audience applause and awarded a leather jacket. And
it requires a lot of courage to do that in front of 5000 people, as was
the case in Hyderabad
Tech Days 2008. There were four participants who performed a
variety of activities - yoga, reverse counting from 100 to 1, mimicry
and singing.
Enjoy the video of this unique talent show and then decide who was the
winner :)
Read more about what and why of talent show here.
Technorati: conf
suntechdays hyderabad
talentshow
Posted by Arun Gupta in General | Comments[4]
|
|
|
|
| Sun Tech Days Hyderabad - Day 1
30% of the approximately 5000 attendees at Sun
Tech Days Hyderabad
were a repeat audience. It is the biggest developer Tech Days of all -
both in terms of the number of attendees and tracks/sessions.
This is my first Tech Days in India and found the show to be quite
impressive so far. Once you enter the main conference hall, it's hard
to differentiate between Moscone Center
(location for JavaOne) and Hyderabad
International
Convention Center (HICC). Starting from the entrance,
conference rooms, audio/video facilities and the crew is just amazing
and very helpful.
Wednesday February 27, 2008
Here are some pictures of the food I've eaten so far:
Posted by Arun Gupta in General | Comments[1]
|
|
|
|
|
Tuesday February 26, 2008
I attended an Indian wedding over the weekend.
Here are some photos from the venue before the event started
Posted by Arun Gupta in General | Comments[1]
|
|
|
|
|
Thursday February 21, 2008
Sambar/Dosa, Biryani & GlassFish
I'll be spending some time with partners in Bangalore office next week
(Feb 25, 26).
Then I'll be speaking at Sun
Tech Days Hyderabad (Feb 27, 28) and finally coordinating GlassFish
Day (Feb 29). Of course, my overarching theme is to talk
about GlassFish.
But these two cities are also known for their local cuisines.
For those who don't know, Hyderabad
and Bangalore
are metropolitan cities in two different states in southern portion of
India. Other than more popularly known as the hubs of IT in India, they
are also known for Sambar/Dosa and Biryani
respectively. I'm certainly looking forward to feast on the local
cuisines.
The GlassFish
Day agenda is pretty compelling with interesting topics like High
Availability and Clustering and Performance
Tuning. And then there are talks by our partners on Java
CAPS and NetBeans/GlassFish
Tooling. We hope to share our knowledge with you and learn from your
wisdom and experience. And there are a wider variety of GlassFish
sessions in the Tech Days as listed here.
Anybody for Dosa or Biryani together ?
Any restaurant recommendations ?
Technorati: conf
glassfish
glassfishday
suntechdays
dosa biryani bangalore
hyderabad
Posted by Arun Gupta in General | Comments[4]
|
|
|
|
|
Wednesday February 20, 2008
Lunar Eclipse in Pictures - San Jose, Feb 20, 2008
We observed the last Lunar
Eclipse of this decade and I captured in pictures.
Posted by Arun Gupta in photography | Comments[6]
|
|
|
|
| TOTD #28: Getting Started with Rails 2.0 Scaffold
Rails
2.0 changes the way Scaffold
works. This blog walks you through the steps to create a simple CRUD
application using Scaffold in Rails 2.0.
jruby -S gem install railscd samples; mkdir rails; cd rails
jruby -S rails books -d mysqlsudo /usr/local/mysql/bin/mysqld_safe --consolecd books
jruby -S rake db:create
db:create:all |
Create all the databases (_Development, _Test, _Production) |
db:drop |
Drops your database |
db:reset |
Drop and Re-create your database, including migrations |
jruby script/generate scaffold book title:string author:string
isbn:string description:text
exists
app/models/
exists
app/controllers/
exists
app/helpers/
create
app/views/books
exists
app/views/layouts/
exists
test/functional/
exists
test/unit/
create
app/views/books/index.html.erb
create
app/views/books/show.html.erb
create
app/views/books/new.html.erb
create
app/views/books/edit.html.erb
create
app/views/layouts/books.html.erb
create
public/stylesheets/scaffold.css
dependency model
exists app/models/
exists test/unit/
exists test/fixtures/
create app/models/book.rb
create test/unit/book_test.rb
create test/fixtures/books.yml
create db/migrate
create db/migrate/001_create_books.rb
create
app/controllers/books_controller.rb
create
test/functional/books_controller_test.rb
create
app/helpers/books_helper.rb
route
map.resources :booksdb/migrate/001_create_books.rb"
migration which looks like:class CreateBooks < ActiveRecord::Migration
def self.up
create_table :books do |t|
t.string :title
t.string :author
t.string :isbn
t.text :description
t.timestamps
end
end
def self.down
drop_table :books
end
endjruby -S rake db:migrate
jruby script/serverhttp://localhost:3000/books"
and looks like:


Posted by Arun Gupta in web2.0 | Comments[5]
|
|
|
|
|
Tuesday February 19, 2008
Screencast #23: Social Software for GlassFish - Blogging, Tagging & Content Rating
![]() |
Social Software for GlassFish provides an integrated suite of Blogging, Tagging and Content Rating on GlassFish. More details about this suite are available here. This screencast explains how this integrated suite of software can be easily downloaded using GlassFish Update Center, how different components are seamlessly integrated and can be used. Enjoy it here! More screencasts focused on each individual topic are available here. |
Posted by Arun Gupta in web2.0 | Comments[8]
|
|
|
|
|
Monday February 18, 2008
Bought a new treadmill - Ironman Envision
Finally bought a Treadmill - Ironman Envision!
I must say it's turning out to be a great so far (in around 2 weeks) and I'm
able to run regularly in spite of rain/chill in the morning. And moreover I can
tune my workouts to the desired intensity. If you are in that market, it's a big jungle out there - Treadmills range anywhere from $258.71 (Unbranded) to $5899
(True Fitness Excel 9.0) and probably more expensive ones as well. Here are some tips
I found handy in order to buy a
treadmill for home usage:
Here is the 3-step process I followed:
Post a question in Runners World Forum if you have any doubts or clarifications or seeking particular model comparison.
|
|
Here are some of the joys of this machine:
The maximum distance I ran on this machine so far is 5 miles/40 minutes and it has behaved well! In all, I've spent approx 5 hours on this machine feeling happy. Few things that I don't like:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Technorati: running treadmill ironman envision
Posted by Arun Gupta in Running | Comments[23]
|
|
|
|
|
Saturday February 16, 2008
GlassFish v3 gem on JRuby 1.1 RC2
JRuby 1.1 RC2 was released earlier
today an GlassFish
v3 gem works like a charm on it :)
Read the complete announcement here.
The key features of RC2 are:
bin/jruby -S gem install
glassfish
JRuby limited openssl loaded. gem install jruby-openssl for full
support.
http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL
Successfully installed glassfish-0.1.1-universal-java
1 gem installedjruby -S glassfish_rails hello

Posted by Arun Gupta in web2.0 | Comments[2]
|
|
|
|
| 3 steps for successful GlassFish Deployment
There are 3 simple steps for a successful GlassFish
enterprise deployment - Download, Register, Subscribe. This blog
describes what and why of each step. It particularly
highlights
the several unique benefits available to you in each step.
| Download - The first step for any successful enterprise deployment is to download GlassFish - the best open source Application Server (see What's the big deal about GlassFish ?). You can download, develop and deploy your applications on GlassFish completely FREE. | ![]() |
| Register - After GlassFish is downloaded and installed, you can easily register your instance by providing an email address. You can register by following these instructions. | ![]() |
| Subscribe - Once your application is deployed and you need quality support in maintaining it then it's strongly recommended to buy the subscription. You can purchase the subscription here. | ![]() |
Sun provides support for GlassFish through our distribution Sun Java System Application Server 9.1 (SJSAS 9.1). So if you have already downloaded then go ahead and register. If you have already registered and ready for deployment then download SJSAS 9.1 and buy a subscription. And be confident of your enterprise applications!
Technorati: glassfish
appserver
javaee
deployment
enterprise
download
register
subscribe
Posted by Arun Gupta in General | Comments[3]
|
|
|
|
|
Friday February 15, 2008
TOTD #27: Configurable Multiple Ruby Platforms in NetBeans 6.1 M1
NetBeans 6.1 M1 is now available. Download here!
There are several
features in M1. But the feature I liked the most is storing
multiple Ruby/JRuby runtime configurations in the IDE. In NetBeans 6.0
only one Ruby platform could be configured and stored. So if you have
to change to another Ruby environment then you have to edit the values
in the IDE. 6.1 M1 allows to configure and store multiple Ruby/JRuby
runtimes. Click on "Tools", "Ruby
Platforms" and you are presented with the following window:

I've already added JRuby 1.0.3 as an additional platform. And then you can choose the Ruby/JRuby runtime when creating the Rails application as shown below:

Please leave suggestions on other TOTD that you'd like to see. A complete archive is available here.
Posted by Arun Gupta in web2.0 | Comments[4]
|
|
|
|
|
Thursday February 14, 2008
GlassFish v3 Gem - 0.1.1 available
Pramod released
an updated version 0.1.1 of the JRuby
GlassFish v3 gem.
What's New ? - Mainly
alignment with Rails convention
http://localhost:3000/home/index"
instead of "http://localhost:8080/temp/home/index".jruby -S glassfish_rails temp -n 2bin/jruby -S gem uninstall GlassFish
Successfully uninstalled GlassFish-0.1.0-java
Remove executables and scripts for
'glassfish_rails, asadmin, asadmin.bat' in addition to the gem?
[Yn] Y
Removing glassfish_rails
Removing asadmin
Removing asadmin.batbin/jruby -S gem install glassfish
JRuby limited openssl loaded. gem install jruby-openssl for full
support.
http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL
Successfully installed glassfish-0.1.1-universal-java
1 gem installedbin/jruby -S gem list
*** LOCAL GEMS ***
actionmailer (2.0.2)
actionpack (2.0.2)
activerecord (2.0.2)
activeresource (2.0.2)
activesupport (2.0.2)
glassfish (0.1.1)
rails (2.0.2)
rake (0.8.1)
sources (0.0.1)Posted by Arun Gupta in web2.0 | Comments[7]
|
|
|
|
|
Wednesday February 13, 2008
TOTD #26: Overriding Database Defaults in Rails 2.0.2
A Rails 2.0.2 application configures SQLite3 database by default. This requires you to have SQLlite3 database running and also have the corresponding database adapter installed. Even this is part of the Leopard (Mac OS 10.5+) development kit but this needs extra configuration on non-Leopard machines.
One of the guiding principles of Rails is Convention-over-Configuration. So there are couple of ways you can override this default:
jruby -S rails -d mysql myappconfig/environment.rb"
and adding the line:config.frameworks -= [ :active_record ]environment.rb"
and remove other frameworks from inside the parentheses.Please leave suggestions on other TOTD that you'd like to see. A complete archive is available here.
Posted by Arun Gupta in web2.0 | Comments[5]
|
|
|
|
|
Today's Page Hits: 3670
Total # blog entries: 1002