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

Blog


31 luglio

Erlang language

why and how can a 20-year-old language suddenly become the next big thing?
answer, lies in the many features of Erlang, with one in particular � concurrency, or the built-in ability to run a program over a cluster of machines, even those of different platforms, which makes it easy to scale your applications to support any number of users or transactions almost instantly.

Now, combine that with the support for fault-tolerance, non-stop applications and hot code replacement and you might get an idea why Erlang could be very attractive for web and software applications in use today.
Another real example is Yaws, short for Yet Another Web Server, a web server coded in Erlang. This server, in a benchmark test, held on even with 80,000 parallel requests, when Apache died at just over 4,000 parallel sessions.

Now, combine that with the support for fault-tolerance, non-stop applications and hot code replacement and you might get an idea why Erlang could be very attractive for web and software applications in use today.
Concurrency & Distributed Applications
------------------------------------
Technically, Erlang approaches the problem of program parallelization differently from C, Java or other so-called sequential languages: It uses very lightweight processes that don't share memory but rather pass messages asynchronously.
Process communication is done with an asynchronous message-parsing system, which is separate from the actual program.
Hot Code Replacement
========================
Erlang was originally designed for non-stop systems; for writing firmware's of telecom switches or banking applications; systems, which are never meant to be shutdown, even for a software maintenance or when a programming logic has to be changed or a feature had to be added.
Erlang makes it possible to replace code & functionality of an application without shutting down the program by simply phasing out the old code with new code.
But that's not it, Erlang takes it a step further by allowing both the new code and old code to exist together during a transition; making it possible to fix bugs and upgrades in a running system without disturbing it's operation.
 
But that's not it, Erlang takes it a step further by allowing both the new code and old code to exist together during a transition; making it possible to fix bugs and upgrades in a running system without disturbing it's operation.
Web ready
------------
If you want to build web applications, Erlang now has a web framework for building web applications on Erlang called ErlyWeb and a database architecture called ErlyDB. Though they are not included with the Erlang source, they are available separately for download, freely.
 
Erlang Official Site: www.erlang.org
Download Erlang: www.erlang.org/download.html
Books to read: Programming Erlang by Joe Armstrong
30 luglio

What I am thinking these days

Applied for  H1b for the last 3 consecutive years through different consultancies. My dreams of understanding the market and starting my own are getting delayed. Always my H1b application was not getting selected in lottery system.
 
About a laptop ( I cant afford to buy ) Expecting from my company. I dont think so
 
About an internet connection to fully utilise my time. My own old PC is not working. It is 7 yrs old.I want a replacement. Again money..
 
About new language or technology... MS CRM I understood most of it what can be done with it.
 
I want a new technology..
 
I want a fresh change ...
 
About money.. I am not satisfied with my earnings.
 
I was not being used properly to my standards by my colleagues. I am very much enthusiastic about  work and learning new things.
 
Nothing I did this year. So planning for certifications.
 
Usually I wont stay in any company for more than 9 months. But due to personal things ( I have to clear debts)  and I like the environment in my current company. Mostly I like my colleagues Sendhil,PJ ,my CEO ..
 
But really I want a change.
And last one more  I hate this building which is very far from my room.Just because of this I am wasting my time for more than 2 hours in journey. Morning 3 buses waiting waiting . and evening I have to wait for the office cab..
 

IE Javascript issue

 I added this post for my future reference. Today I spend 1 hr for solving this small issue.

dynamically I want to add some javascript piece to script  tag in runtime:

Usually we will do like this:

var head= document.getElementsByTagName('head')[0];

var scriptTag= document.createElement('script');

scriptTag.type= 'text/javascript';

scriptTag.innerText = result;

document.getElementsByTagName('head')[0].appendChild(scriptTag);

But in IE

you have to use  "text" in place of "innerText"

 var head= document.getElementsByTagName('head')[0];

var scriptTag= document.createElement('script');

scriptTag.type= 'text/javascript';

scriptTag.text = result;

document.getElementsByTagName('head')[0].appendChild(scriptTag);

Here result is my piece of javascript code.

 

Courtesy: http://poeticcode.wordpress.com/2007/10/03/innerhtml-and-script-tags/

RIn the wonderfully buggy world of IE, if you dynamically add a script tag to the DOM, you cannot do:

//works in modern DOM aware browsers
var scriptTag = document.createElement(’script’);
scriptTag.appendChild( document.createTextNode( ‘your js code here’ ) );

//in IE, you can’t do the above (it will just ignore the code), you need to do:
var scriptTag = document.createElement(’script’);
scriptTag.text = ‘your js code here’;

Yet another ugly IE hack.

PS in case you haven’t encountered it yet, you’ll find a similar issue when trying to create a style tag on the fly

29 luglio

JourneyMan To Master : Series II

 
Paul Graham      http://www.paulgraham.com    
http://en.wikipedia.org/wiki/Paul_Graham
http://itc.conversationsnetwork.org/shows/detail188.html
Paul Graham (born 1964) is a Lisp programmer, venture capitalist, and essayist. He is the author of On Lisp (1993), ANSI Common Lisp (1995), and Hackers & Painters (2004).
http://news.ycombinator.com/
 
 
Dave Thomas is a computer programmer and author/editor. He has written about Ruby.
Dave and partner Andy Hunt wrote the The Pragmatic Programmer and run The Pragmatic Bookshelf publishing company.
Dave has also coined the phrase 'Code Kata'.
http://www.pragprog.com/
http://pragdave.pragprog.com/pragdave/
http://codekata.pragprog.com/codekata/
 
28 luglio

copyscape

Want to know the replicate copies of your content.
 

DCamp

Yesterday (Sat) I took permission after working upto 12:30 (Friday night) and attended 2nd D-Camp organized at Aditi technologies.
 
It is for web graphic designers. Really boring sessions.
 
I will some details which took my attention especially about Aditi's work culture and a presentation on "Google with iphone".
Amit and others did a great job. But the sessions are not at all upto the mark.
 
Some 75+ members gathered. Only 20+ left after 3 Pm.
 
I left at 4 pm. I have my own commitments in my current project.Came to office and continued my work.
 
 
22 luglio

ThoughtWorks Geek Nights

From: Rohith

Are you responsible for -
1) Gathering Business Requirements
2) Communicating with the Clients to elucidate and define requirement
3) Interface with the development team to communicate these
requirements,
then here is a chance to meet up with others from the same community
and exchange ideas and thoughts!!
We from the analyst community of ThoughtWorks Bangalore would like to
invite you to participate in a workshop - 'BA Bar Camp', to discuss
and debate on the topic - 'Lo-Fi Prototype - Use & Benefits'.
The details of the workshop are -
Venue - ThoughtWorks Office
Date - 26th July 2008
Time - 11:00 - 12:30 (followed by pizzas')
Why are we doing this - we would like to create a community of sorts
for analysts cutting across organizations, with the objective of
creating a forum that would enable exchange of ideas, thoughts, issues/
concerns etc. This is a first step towards this end.
Please confirm your participation by sending a mail to
'analystmeet@thoughtworks.com' OR by updating http://thoughtworks.wikispaces.com/BA+Barcamp
so that we could better organize the same.
Looking forward to meeting you.
Regards,
The Organizing Team.
PS: If you know of other folks who you think might be interested in
this event, please do forward this invite to them. The more, the
merrier!
 
Reference from:

CRM lessons

Last Sunday and Saturday I am in office. I missed OSSMObile session.
But I worked on my current project.
I really learned so many things in CRM customization.
Loved to work with  Arunav (Tech Lead).
I liked working with people who are technically talent.
I did so many mistakes while learning the things.

Some nice points:(if u r a web developer and came to crm field)
CRM abstracts the database. So no need to  check the database for inserting,updating values.See in the CRM UI.
Understanding the business requirements is more important than coding skills. CRM has given almost everything just we need to analyse the client requirements and to create entities and corresponding relationships.
When to use what. When to create a plugin,workflow,ajax call...
After a long 3 weeks of struggle I came to understand the basic core of it.Really loved the work ..little bit of pressure and tension as usual ..

18 luglio

Microsoft “Zermatt” framework

“Zermatt” framework (digi.security)
 
The Federated Identity team is excited to offer a public beta of Microsoft Code Name "Zermatt".  Zermatt is a framework for implementing claims-based identity in your applications.
 
 
Details - http://go.microsoft.com/fwlink/?LinkId=122266, http://go.microsoft.com/fwlink/?LinkId=122266 or located here Requirements:  “Zermatt” requires .Net 3.5 to be installed.
 
Got from Mahesh
14 luglio

SecureCamp links

Last Saturday 12th July I went to SecureCamp in RSA near to Dairy circle.
 
Its a nice start and a full day event.
 
I learned some concepts related to Application Security.
I came to know some methods to defend myself from hacking.
 
Parasuraman (http://dy-verse.blogspot.com) organised this.
Bipin Upadhyay (http://projectbee.org/blog/)  gave good info.
 
OWASP a open source security group is there in Bangalore
 
I want to write more information on this.But time constraints.
I gave some links which will help.
 
 
 
 
 
10 luglio

Yahoo BOSS

Courtesy : TechCrunch
 
Yahoo takes a large step in that direction today by announcing a radical and historical initiative called BOSS, which stands for “Build Your Own Search Service” and basically turns web search into a web service by inviting developers to leverage Yahoo’s core search technology and build their own web search implementations. Hakia and Me.dium are among the first to switch over and use Yahoo to power their web results (in Hakia’s case, as a supplement to its own search technology).Yahoo takes a large step in that direction today by announcing a radical and historical initiative called BOSS, which stands for “Build Your Own Search Service” and basically turns web search into a web service by inviting developers to leverage Yahoo’s core search technology and build their own web search implementations. Hakia and Me.dium are among the first to switch over and use Yahoo to power their web results (in Hakia’s case, as a supplement to its own search technology).
 

Google virtual world : Google Lively

 Lively is a new virtual meeting service like secondlife from Google, launched today. 

http://www.lively.com

09 luglio

From JourneyMan to Master : Series I

Courtesy : Bojug Rohan
 

Free as in freedom

Free as in Freedom: Richard Stallman's Crusade for Free Software

http://en.wikipedia.org/wiki/Free_as_in_Freedom:_Richard_Stallman's_Crusade_for_Free_Software

online version of book : http://www.faifzilla.org/toc.html

 

The design of everyday things

http://en.wikipedia.org/wiki/Donald_Norman

http://www.jnd.org/

http://www.reqall.com/signup_success

 

The Life of Reason

George Santayana

http://en.wikipedia.org/wiki/The_Life_of_Reason

Those who cannot remember the past are condemned to repeat it

Microsoft ISV Buddy Program

My colleague Mohan has shared this information

 

"I would like to share something interesting that I have found by the name “ISV Buddy Program”.

 

The Microsoft ISV Buddy Program is all about connecting you, the Independent Software Vendor, with a Microsoft employee who will be your point person within Microsoft. It's about putting a face to Microsoft and helping you get timely answers to your questions and requests. Through this 1-on-1 relationship, your Microsoft buddy will be able to guide you to resources and help you succeed in building solutions on Microsoft platforms.

 

You can find more details about this program at http://msdn.microsoft.com/en-us/isv/bb190446.aspx"

Sqlserver Reporting Services 2008

Courtesy : http://pcquest.ciol.com/content/Developer/2008/108070505.asp

1.  Cassini web server which is part of Visual Studio and used for development purposes only, the Web server that is part of Reporting Services is a full-fledged, enterprise grade one that can be used in production as well.Reporting Services no longer requires that Internet Information Services (IIS) be installed beforehand. In fact, Reporting Services itself contains a web server that allows developers and end users to interact with the service directly.

2.  Introducing the 'Tablix'
Earlier versions of Reporting Services had two controls � called the Table and the Matrix. The Table was a generic tabular data display control where the columns, where fixed by the rows, would grow depending on the data itself. The Matrix on the other hand allowed for both dynamic columns and dynamic rows � akin to a PivotTable in Excel.

SQL 2008 Reporting Services has a new control called the Tablix. This is a combination of the Table and Matrix controls that now allows you to create certain types of reports that were impossible to do earlier due to the nature of the earlier controls. Take a look at the two examples shown here.

3. Rendering
There are three improvements in the rendering of reports in SQL 2008.
 First off, exporting a report into Comma Separated Values (CSV) is much better and the output is clean enough for human reading as well.
 Next, in case of a report having a sub report, exporting it to Excel now renders the sub report as well and hides it properly in Excel.
 And finally, there is a new export format option available in SQL 2008 Reporting Services. You now have the option of exporting a report directly to MS Word format.

 

4. Charts
SQL Server 2008 introduces a whole bunch of new chart types for use in the reports. A list of the chart types that you get are:

sColumn
Cylinder
Line
Stepped Line
Pie
Pie Callout
Doughnut
Funnel
Pyramid
Bar
Area
Range
Polar
Radar
Range Column/Bar
BoxPlot

A completely new chart type called the Gauge has also been introduced in this version. You can use this to represent dashboard items like KPIs, or scorecard components in your reports.

5. Report Designer tool