Profilo di ambatiProgramming Myself.. Amb...FotoBlogElenchiAltro Strumenti Guida

Blog


30 giugno

Bojug session details in summary

bojug started by Ranganath (cisco) ,Amith, harish, Angath.
Students also attended for this event.
I dont know the address of the venue.I am a member of this group from a long time but attended for the first time. Thanks to muslim guy who gave address
details through chat facility of his blog.He is studying in NITK Suratkal.
I got some useful information from Ranganath before the session regarding active user communities in open source world in Bangalore. They are bangpipers,
python ,grooovy , Ubunto (usually conducts in IISC Bangalore),Solaris user group.
 
Last Friday ie 27th June it was organised at Sun Microsystems.
 
JavaFX : Harish
--------
So many guys attended to know the sense of JavaFX.
More expectations from this session.
So many guys came here to know more about JavaFX.
We expected a more interesting session from the speaker.
But the session didnt well right.
Didnt get satisfactory answers for the questions asked by audience.
But Vaibhav, Rohan tried their best.
JavaFX on mobile still yet to come.
They are far lagging behind from Adobe AIR and Microsoft Silverlight.
I met an old Adobe friend Ajay here.
Only one girl that attended the session and she left in the middle as the session is not upto the mark.

SE 6u10
--------
blogs.sun.com/vaibhav
He showed some demos on JavaFX too.
requires firefox 3
Nimbus Look & Feel (It came late as it Windows XP look and feel)
Drag & Drop plugin. It will create process in another JVM. Audience asked more question how it was implemented. Speaker is very good in answering to the
doubts.
Kernel JRE .Its file size is only 1.4MB less than Adobe flash(1.5 MB).
What is warm and cold startups
Java deployment toolkit
Translucent and Shaped windows
Its a good session.He gave so much information in a short time.Gave satisfactory answers to the questions raised by audience.
He is a jovial person too.Timely jokes which I enjoyed too. But he has to keep a watch on them too.

Third Session :From JourneyMan to Master by Rohan.Ranade@sun.com
-----------------------------------------------------------------
Nowadays I am feeling that I am working more than 100%. No time for my personal life.
Felt of changing the job too.
But this session bring back my spirits.
The best session.
Rohan really gave useful information for a true developer.
He gave so much useful information how to become a true architect.
He shared some book names, blogs, podcasts,videos.
I am having the list too which I will post it later after doing some initial study.
Thanks Rohan.Good job.

Thanks Ranganath and Amith.
We are expecting atleast one session per month to raise the spirits in the Bangalore java community.
 
24 giugno

Secure Camp I

Secure Camp I
Announcing SecureCamp I on the 12th of July, at the premises of RSA Security, Bangalore.
Secure Camp is an unconference for developers and security professionals and analysts. Hear real war stories, trends in the security landscape, or simply technology from the experienced.
 
You can participate by attending or initiating a talk. Please register if you are attending the Secure Camp. If you want to initiate a talk, you can add your sessions Sessions.
RSA Security,
Level 11, Tower D,
IBC Knowledge Park
Bannerghatta Road
Bangalore
22 giugno

Janaagraha : Before & After

After joining Janaagraha
some changes came in my life.

Now I am thinking about social issues. And doing something to solve them by working with other volunteers.
Thinking about traffic problems... daily when I am coming to office by walk I can feel the sense of those woes.
collecting water samples as part of Janaagraha.
Now I am using printer in my office if needed only.
I am using tissue paper that was kept in refreshment rooms if needed.
May be I am conscious of plants and greenery.
I am putting polythene bags separately by not mixing with waste in my room.
I am taking my bag from room to shop to avoid asking the shopkeeper to give polythene bag.

I was changed alot after joining Janaagraha..
Be the change you want to see.

Word Document | Mail Merge

When I joined in Vempower technologies , Hyd (my second  company) the first task that was assigned was MailMerge option in Word Document.
This link helped me at that time.
http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q301/6/56.ASP&NoWebContent=1
Creating a word template file with placeholders , then data in another doc file then mail merge (placing the placeholders with data).
Now in Proteans( my fourth or 5th company)  in my new project the task that was assigned was again MailMerge
Now this link helped me
http://msdn.microsoft.com/en-us/library/bb407305(VS.80).aspx
VSTO
Refer Microsoft Word Object 12 Library
I used Content Controls in word document. In ms word 2007 select  : wordoptions - popular --show developer tab
Then only u can place content controls in word
In the sample given in the above link I used "Replace Field" where content controls are used.
Prepare a word template with content controls.
place 2 content controls on word . choose properties and give different titles to the content controls.They are served as keys which are later used in
Keyvalue pairs.
Choose class library project
In the class file
using Microsoft.Office.Interop.Word;
  public static bool CreateDraft(string templateDocPath, StringDictionary keyValues, string outputDocPath)
        {
            Application app = new Application();
            app.Visible = false;
            object varFalseValue = false;
            object varTrueValue = true;
            object varMissing = Type.Missing;
            object templateDocObject = templateDocPath;
            Document doc = app.Documents.Open(ref templateDocObject, ref varMissing, ref varFalseValue, ref varMissing, ref varMissing, ref varMissing, ref
varMissing, ref varMissing, ref varMissing, ref varMissing, ref varMissing, ref varMissing, ref varMissing, ref varMissing, ref varMissing, ref varMissing);
           
            ContentControls contentControls = doc.ContentControls;
            for (int i = 1; i <= contentControls.Count; i++)
            {
                object indexObject = i;
                string key = contentControls.get_Item(ref indexObject).Title;
                if (keyValues.ContainsKey(key))
                {
                    contentControls.get_Item(ref indexObject).Range.Text = keyValues[key];
                }
            }
            object outputDocObject = outputDocPath;
            doc.SaveAs(ref outputDocObject, ref varMissing, ref varMissing, ref varMissing, ref varMissing, ref varMissing, ref varMissing, ref varMissing,
ref varMissing, ref varMissing, ref varMissing, ref varMissing, ref varMissing, ref varMissing, ref varMissing, ref varMissing);
            doc.Close(ref varFalseValue, ref varMissing, ref varMissing);
            return true;
        }
From the above code u can observe lot of varmissing ..
Because in C# there is no default parameters.So they made me mandatory to supply those.Where the links (given above ) are vb.net code.And they are cleaner
code as they allow default parameters. This is one area I faced trouble.

In the above templatedocpath has to be given to the function , keyvalues is a string dictionary for placing the text in the content controls of word,
outputpath is the path of the word document to be saved.
For testing this write the below code in the console application
StringDictionary keyValues = new StringDictionary();
            keyValues.Add("First","ABC");
            keyValues.Add("Second","PQR");
            DraftMaker.CreateDraft(@"d:\FormSample1.docx", keyValues, @"d:\result.docx");

I felt happy after doing this task as it gave me good impression on the first day in vempower.
Again the same task in different company with small changes in a very new team.
I found this coincidence in more instance.
Whenever I do a pagination program in any company it made me the last program in that company....
20 giugno

Last One month

What I learned in the last one month after changing to 3 projects.
 
Last project  I learned Sqlserver Reportting Services (SSRS)
Ashish (PM) told the team about a video. http://video.google.com/videoplay?docid=-3755718939216161559
which was by Guy Kawasaki on Entrepreneurship.
 
Guy Kawasaki working as Managing Director at Garage - Technology Ventures , also author of famous book "ART OF START"
 
 

Microsoft Velocity

“Velocity” is a distributed in-memory application cache platform for developing scalable, available, and high-performance applications.
 

New terms

 
OBA Office Business Applications
Silverlight: Developing for Mobile Devices
Developing with .Net and ASP.NET for next windows Server Core 
Oslo is a set of technologies that will enable people to design, build and deploy service-oriented applications. Future of SOA.
Microsoft will re-engineer a number of its products, such as Visual Studio, BizTalk Server and the .NET framework, so they will work more seamlessly with one another under the Oslo configuration
 
Products participating in UC are : (http://dotnetwithme.blogspot.com/2008/04/unified-communications-overview.html)
  • Microsoft Office Communications Server 2007
    • § Manages real-time synchronous communication which includes instant messaging, VoIP, audio and video conferencing.
  • Microsoft Office Communicator 2007
    • Client for real-time communication which works with Microsoft Office Communications Server 2007.
  • Microsoft Exchange Server 2007
    • Manages all asynchronous communication which includes email, voice mail, faxes and calendars. Microsoft Office Outlook 2007 is the client for Exchange Server 2007.
  • Microsoft Office Communications Server 2007 Speech Server
    • IVR platform with built-in support for speech recognition and speech synthesis.
    • Supports .NET programming languages and voice Web standards like VoiceXML and SALT.
  • Hosted Services for Exchange, Messaging & Live Meeting.

Pursuit of Happyness

Last Friday night I  watched "The Pursuit of Happyness" movie.
Will Smith played his career best role.
17 giugno

JAM

When I joined in Proteans (1 year back) I use to come from Belandur a 7 km from my main office.
Earlier I use to feel that it is nice place.
Now the outer ring road is full of traffic jams.
From last 6 months I am coming to office by walk.
Anyway bus is taking 30 min and I can come to office by walk in 47 minutes.
So I preferred walking and I cant able to spend time separately for morning walk.
I observed so much in these 6 months why traffic jams are became very frequent nowadays.
 
Mostly people are taking cars.( mostly Project Managers)
One person is there in the car.Then why to use the car? Just for their comfort (AC cars)
Some IT people (mostly ladies) taking autos (here also two persons are using including driver). Why to take auto ? Just they can afford auto fares.
Pollution increased. I cant blame two wheelers as I am supporter of development.
But because of sudden increase of people earnings all these came.
 
I observed some good things too.Some IT guys (2) are taking bicycle for their office.
Now my area became hell to live. Even my lovely city Bangalore became victim of this change.
Nobody bothers about this. Just all are complaining about the problems.
Thats why I joined Janaagraha for the development of urban infrastructure.
Needs support from people.Otherwise our next generation cannot live .
 

ROTOMUN rehearsal

Last Saturday Jun  14th I went to Malleswaram Govt High School for attending ROTOMUN
It was conducted by 8-12th class students of different schools.
Deepthi and Aditi done a great job.
After attending this  I understood the difference in between students from different areas.
between village students , town ,city students, english medium from other mediums, students from top schools and medium schools..
ROTOMUN organisers (students)  are well matured in thoughts and in actions.
 
Great job.
12 giugno

Special Startup Saturday on Sunday 15th 2008


Here is an interesting task taken up by a bunch of young people in Bangalore. It is called Startup Saturday apparently held on June 15th which is a Sunday. It consists of interesting panels and speakers coming to give their knowledge and insights about entrepreneurship.
Agenda
09:00 - 09:30 ---> Registration and Networking
09:30 - 09:45 ---> Introduction to KickStart
09:45 - 10:15 ---> Entrepreneurs and Entrepreneurship
10:15 - 10:45 ---> Idea Validation
10:45 - 11:00 ---> Q & A
11:00 - 11:30 ---> Tea Break
11:30 - 12:30 ---> Business Plan - Basics
12:30 - 13:00 ---> Exercise on Business Plan
13:00 - 14:00 ---> Lunch
14:00 - 14:30 ---> Technology and IPR
14:30 - 15:00 ---> Product Management and Marketing
15:00 - 15:15 ---> Tea Break
15:15 - 15:45 ---> Legal aspects of setting up your own company
15:45 - 16:15 ---> Selling + How to talk to a VC + Alternate sources of funding
16:15 - 16:30 ---> Q & A
16:30 - 18:00 ---> Panel Discussion
18:00 - 18:10 ---> Valedictory

You can also register on http://startupsaturday.in/index.php?title=Registration

SSRS : File Share Subscription

In SSRS we have File and Email and also custom
 
 
To create a file share subscription
In Report Manager, on the Contents page, navigate to the report you want to subscribe to. Click the report to open it.
Click the Subscriptions tab, and then click New Subscription.
For the method of delivery, select Report Server File Share from the Delivered by list box.
Type a file name for this subscription in the File name text box.
Ensure that Add a file extension when the file is created is selected. This causes the report to be saved with a three-character file extension. The file extension is determined by the rendering format you select.
In the Path text box, type a Universal Naming Convention (UNC) path to an existing folder where you want to deliver the reports (for example, \\<servername>\<myreports>). Include double backslash characters at the beginning of the path. Do not specify a trailing backslash.
Select a render format for file delivery. Choose a format that corresponds to the desktop application that will be used to open the report. Avoid formats that do not render a report in a single stream or that introduce interactivity that cannot be supported in a static file (that is, HTML 3.2, HTML 4.0, or HTML with Office Web Components).
In the User name and Password text boxes, specify the credentials required to access the file share, using the format <domain>\<user name> for the user name. It means your system login name and password
Specify overwrite options. If you click Do not overwrite the file if a previous version exists, the delivery will not occur if an existing file is detected. If you click AutoIncrement, the report server appends a number to the file name to distinguish it from existing files of the same name.
Specify subscription delivery options as follows:
To specify a delivery schedule, click When the scheduled report run is complete and click the Select Schedule button. A schedule page opens.
For parameterized reports, specify parameters to use for the report for this subscription. The parameters can be different from those used to run the report on demand or in other scheduled operations.
 
 
Error-Message:
"The current action cannot be completed because the user data source
credentials that are required to execute this report are not stored in the
report server database. (rsInvalidDataSource-CredentialSetting)
 
Solution:
To store the credential, please do the following:
1. Open the Sqlserver Management Studio, connect to Reporting Services, go to the report you want to configure.

2. Expand the left panel, and click the Data Sources, right-click your data source name and click Properties.

3. Check the Credentials stored securely on the report server and specify a Login Name and password.

4. Click Ok and try to configure the report cache.
 

 
11 giugno

Tools to download youtube videos into harddrives

 
Web based
1.
videodownloadx.com
2.
keepvid.com
3. VideoDownloader is very similar to KeepVid, but supports even more video sharing sites, and it’s also available as a Firefox extension. Just like with KeepVid, all downloads are in .flv format. We recommend MediaCoder for free conversion.
javimoya.com/blog/youtube_en.php
4.
5.

6.
7.
8.
vixy.net
9.
heywatch.com
10.

11.
Windows Applications
12. 
13.
14.
15.
myvideodownloader.com
16.
keepv.com
17.
nuclear-coffee.com/php/products.php

18.
OS X
19. Get Tube is an OS X application which lets you download video or audio files from YouTube, DailyMotion and Kewego.
web.mac.com/simonvrel/iWeb/software/v.1.0.html
Linux
20. Youtube-dl. Here’s some love for Linux users. Youtube-dl is a program that lets you download YouTube clips in flv format, which both mplayer and VLC can easily chew up.
21. YouTube Ripper is not actually an application; it’s a simple script that rips all videos that match a keyword, uploaded by a specific YouTube user. We don’t really have ideas on what to use this for, but maybe you do! PHP port is also available.
nlindblad.org/2007/04/08/youtube-ripper-collectors-edition/
Plugins
22. Vidtaker is a Firefox-only plugin that can download videos from most streaming websites: Google Video, YouTube, MySpace, as well as a number of nasty adult SomethingTube spinoffs (Pornotube, YouPorn etc). It automatically converts the video to a DivX avi.
23. Ook? Video Ook! Yes, that’s the full name of this Firefox plugin, which enables you to download videos from YouTube and several other video sharing web sites. It features one click downloading and integration with the popular DownThemAll Firefox plugin.
addons.mozilla.org/en-US/firefox/addon/2584

 
 
 

strange clarification

After attending so many events and listening from so many speakers...
 
If u r in Adobe session they criticizes Microsoft that Microsoft is copying them..
 
If u r in Java session( Developer summit) they also complains the same that others are copying them.
 
Upto this its ok.
 
But now a strange question came into my mind after joining current team.
 
They always tells that windows application is best one.
 
Usual words I hear from them are "Remove the trash postback ,page life cycle ...." It is all trash ...
 
God what am I and where am I ...