[Wikitech-l] (no subject)

2015-01-02 Thread Gaurav Singhal
Mail received
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

{GS} Freedom of Corruption OR Just LokPalBill???

2011-08-21 Thread Gaurav Singhal
Freedom of Corruption OR Just LokPalBill???



Thanks for Annaji for bring 120cr people of india together against
corruption and lighting them up.



However on same time, I strongly disagree that LokPalBill can solve
corruption whether is Jan LokPalBill or Govt LokPalBill or someone else.



The rational is below



   1. As per Team Anna’ “Jan LokPalBill can brought corruption down by 65%”

 Question: Objective must have key attribute along with it otherwise it
is just   statement or political statement.

   1. *Time frame:* Why there is not time line for this key objective that
  when 65% corruption will be down (is it next day or 1 year or 5
years or 10
  years of this bill passed)? Did they do not know or do not want
to tell 100
  cr people?
  2. *Measurable:* How they have measured 65%, Request team anna to
  share with 120cr people. If they think that Jan LokPalBill can solve only
  65% and that is best they can come up as solution, why they do
not reach out
  “Big Talent People” in India to get the solution for remaining
35%? Why they
  just left 35% corruption leftout?
  3. *Achievable:* Can Lokpal solve 120cr people problem? Can lokpal
  monitor million of transaction happens every day?
  4. *Realistic:* As per team Anna, all MPs / Govt Officers / others are
  corrupted, how will LokPal be honest? Why do they think that
Lokpal will not
  corrupt or can’t be pushed by “big shot people” for their benefit?



   1. I strongly believe that corruption problem can’t be solved by one
   LokPalBill or any bill because
  1. bill is prepared by handful of people, but smart people out on
  street can dig hole in any bill. No bill is perfect….
   2. Like this, so many open and questionable points out there in
   JanLokPalBill



When now 120cr people of India standing together, it’s time now or never to
solve this problem. So its important to bring India’s big talent (Policy
Maker / Law Maker / Administrator / Corporate / Villagers / Common Man /
etc) in single room, get the solution which gives freedom of corruption from
this country.



As per my view freedom from corruption can be achieved by 3 simple solutions



   1. Have Pre-defined process and system which is driven by technology, not
   by handful of people because people can be corrupt or honest, technology
   can’t

 For Example:

   1. Railway reservation system – just 5 years back it was also pain for
  people of India and corrupted system. Now it is more than 90% free from
  corruption and convenient and transparent. It is no more
depending on who is
  minister / officer of Railway dept. Can any one get railway reservation @
  7:59AM whether or whoever  is he or ready to pay any money? That’s
  power of technology
  2. One of biggest corruption case at current time i.e. 2G. If
  technology and pre-defined process were used, instead of people
dependent,
  it was not the case. Why I am saying so..look for 3G !!! 3G is
also done by
  same people, officers , govt, so on but very much clean and
received highest
  fees beyond any analyst or govt officer throught. The only
difference was 3G
  was driven by pre-defined process and backed by technology in
compare to 2G
  which is people driven
   1.  Have tight and preventive check and balance for all Politician / “A”
   class officers / whoever have power to make influence or change 120cr people
   of India life
   2. Swift Juridical system



Now a big question out is why 120cr people with out at ground ZERO with
Annaji.   They are there out for cause (Corruption) and for Anna (Honest
common   man). Really how many % of people out there have read
JanLokPalBill and its  realistic.

  Also if you read the view of India’s best mind people, they also
not agree than   JanLokPalBill can provide “Freedom of Corruption”
to 120cr people.





If you do not agree with my view, please share your views and ideas. If you
agree with JanLokPalBill, Please ask to yourself and team Anna…how
JanLokPalBill can solve your any problem related to corruption in real life?



 “ Example: Take case study for FIR. Ask yourself and Team Anna, how this
problem can solved by JanLokPalBill for 120cr people and when?”



Thanks for reading…. Hope people will think and take their wise decision on
this and come together for “Freedom of Corruption” not just popular BILL
driven by handful of people.



- Gaurav

-- 
You received this message because you are subscribed to the Google Groups 
GLOBAL SPECULATORS group.
To post to this group, send email to globalspeculators@googlegroups.com.
To unsubscribe from this group, send email to 
globalspeculators+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/globalspeculators?hl=en.



[jira] Created: (HTTPCLIENT-1067) Cross realm authentication doesn't work

2011-03-05 Thread Gaurav Singhal (JIRA)
Cross realm authentication doesn't work
---

 Key: HTTPCLIENT-1067
 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1067
 Project: HttpComponents HttpClient
  Issue Type: Bug
  Components: HttpClient
Affects Versions: 4.1 Final
Reporter: Gaurav Singhal


Cross realm authentication doesn't work because of incomplete server SPN passed 
into GSS-API.

Class Name: NegotiateScheme
Line # 205 (GSSName serverName = manager.createName(HTTP/ + authServer, 
null);)

This piece of code doesn't append the server realm while creating name. Because 
of null server realm, jdk always append default realm by reading krb5.conf 
file. but there can be case where server realm is different than default realm 
configured in krb5.conf file.


Modified code:

String strServerName = Krb5Utility.mapDomainToRealm(authServer);
strServerName = strServerName == null ?  : (@ + strServerName);
GSSName serverName = manager.createName(HTTP/ + authServer + strServerName, 
null);


Krb5Utility.mapDomainToRealm method code

public static String mapDomainToRealm(String name) {
String result = null;
try {
String subname = null;
Config c = Config.getInstance();
if ((result = c.getDefault(name, domain_realm)) != null)
return result;
else {
for (int i = 1; i  name.length(); i++) {
// mapping could be .ibm.com = AUSTIN.IBM.COM
if ((name.charAt(i) == '.')  (i != 
name.length() - 1)) {
subname = name.substring(i);
result = c.getDefault(subname, 
domain_realm);
if (result != null) {
break;
} else {
// or mapping could be ibm.com 
= AUSTIN.IBM.COM
subname = name.substring(i + 1);
result = c.getDefault(subname, 
domain_realm);
if (result != null) {
break;
}
}
}
}
}
} catch (KrbException e) {
}
return result;
}


-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org



[jira] Commented: (HTTPCLIENT-1067) Cross realm authentication doesn't work

2011-03-05 Thread Gaurav Singhal (JIRA)

[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-1067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13002962#comment-13002962
 ] 

Gaurav Singhal commented on HTTPCLIENT-1067:


never done it before.. let me know how to do it..

 Cross realm authentication doesn't work
 ---

 Key: HTTPCLIENT-1067
 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1067
 Project: HttpComponents HttpClient
  Issue Type: Bug
  Components: HttpClient
Affects Versions: 4.1 Final
Reporter: Gaurav Singhal
  Labels: httpclient
 Attachments: NegotiateScheme.java


 Cross realm authentication doesn't work because of incomplete server SPN 
 passed into GSS-API.
 Class Name: NegotiateScheme
 Line # 205 (GSSName serverName = manager.createName(HTTP/ + authServer, 
 null);)
 This piece of code doesn't append the server realm while creating name. 
 Because of null server realm, jdk always append default realm by reading 
 krb5.conf file. but there can be case where server realm is different than 
 default realm configured in krb5.conf file.
 Modified code:
 
 String strServerName = Krb5Utility.mapDomainToRealm(authServer);
 strServerName = strServerName == null ?  : (@ + strServerName);
 GSSName serverName = manager.createName(HTTP/ + authServer + strServerName, 
 null);
 
 Krb5Utility.mapDomainToRealm method code
 
 public static String mapDomainToRealm(String name) {
   String result = null;
   try {
   String subname = null;
   Config c = Config.getInstance();
   if ((result = c.getDefault(name, domain_realm)) != null)
   return result;
   else {
   for (int i = 1; i  name.length(); i++) {
   // mapping could be .ibm.com = AUSTIN.IBM.COM
   if ((name.charAt(i) == '.')  (i != 
 name.length() - 1)) {
   subname = name.substring(i);
   result = c.getDefault(subname, 
 domain_realm);
   if (result != null) {
   break;
   } else {
   // or mapping could be ibm.com 
 = AUSTIN.IBM.COM
   subname = name.substring(i + 1);
   result = c.getDefault(subname, 
 domain_realm);
   if (result != null) {
   break;
   }
   }
   }
   }
   }
   } catch (KrbException e) {
   }
   return result;
 }
 

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org



[jira] Created: (HTTPCLIENT-1056) Wrong creation of AuthScope object

2011-02-09 Thread Gaurav Singhal (JIRA)
Wrong creation of AuthScope object
--

 Key: HTTPCLIENT-1056
 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1056
 Project: HttpComponents HttpClient
  Issue Type: Bug
  Components: HttpClient
Affects Versions: 4.1 Final
Reporter: Gaurav Singhal


Class Name: org.apache.http.client.protocol.RequestAuthCache
Line #: 118-119

Issue: Want to create a new Object of AuthScope by passing host name, port and 
scheme name but due to incorrect constructor call, Getting a object with realm 
name as scheme name.
Current Code: Credentials creds = credsProvider.getCredentials(new 
AuthScope(host.getHostName(), host.getPort(), null, schemeName));

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org



[jira] Created: (HTTPCLIENT-1050) HttpClient doesn't cache the generated ticket.

2011-02-02 Thread Gaurav Singhal (JIRA)
HttpClient doesn't cache the generated ticket.
--

 Key: HTTPCLIENT-1050
 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1050
 Project: HttpComponents HttpClient
  Issue Type: Bug
  Components: HttpClient
Affects Versions: 4.1 Final
Reporter: Gaurav Singhal


ClassName: NegotiateScheme
HttpClient doesn't cache the generated token so that It can be reused in the 
subsequent Http request.
This is resulting generating the same token again and again whenever you 
communicate to kerberized service.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org



[jira] Updated: (HTTPCLIENT-1050) Kerberos - HttpClient doesn't cache the generated ticket.

2011-02-02 Thread Gaurav Singhal (JIRA)

 [ 
https://issues.apache.org/jira/browse/HTTPCLIENT-1050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gaurav Singhal updated HTTPCLIENT-1050:
---

Summary: Kerberos - HttpClient doesn't cache the generated ticket.  (was: 
HttpClient doesn't cache the generated ticket.)

 Kerberos - HttpClient doesn't cache the generated ticket.
 -

 Key: HTTPCLIENT-1050
 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1050
 Project: HttpComponents HttpClient
  Issue Type: Bug
  Components: HttpClient
Affects Versions: 4.1 Final
Reporter: Gaurav Singhal

 ClassName: NegotiateScheme
 HttpClient doesn't cache the generated token so that It can be reused in the 
 subsequent Http request.
 This is resulting generating the same token again and again whenever you 
 communicate to kerberized service.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org



Re: [algogeeks] Re: Amazon interview Question (Array yet again!)

2010-08-29 Thread gaurav singhal
@ Gene:

Sorry  I misunderstood the problem.
I thought the other operation is of increment rather than decrement... My
bad

-- 
You received this message because you are subscribed to the Google Groups 
Algorithm Geeks group.
To post to this group, send email to algoge...@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.



Re: [algogeeks] Re: Amazon interview Question (Array yet again!)

2010-08-28 Thread gaurav singhal
@ Gene :


Output for

int a[] = { 14, 15, 16, 13, 11, 18 };

is coming out to be 14

whereas minimum cost will be : 8

-- 
You received this message because you are subscribed to the Google Groups 
Algorithm Geeks group.
To post to this group, send email to algoge...@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.



{GS} personal financial planning

2009-06-25 Thread Gaurav Singhal
Hi ALL

I am starting personal financial planning service in Bangalore.
Personal financial planning is very important in every one life. it
consists of entire spectrum of personal planning. Due to that it has
different focus, vision and value than other financial services
available in India.

For brief prospect and my focus, refer enclosed presentation.

Feel free to contact me to discuss much more in detail; there would
not be any charge / fee for that.



GAURAV SINGHAL
B.Tech, PMP, PGDFA*
Contact Info:
*Financial Advisor Certification
Email: ggsing...@gmail.com
from
Cell:09986-997274 Indian
Institute of Banking  Finance


-- 
GAURAV SINGHAL

B.Tech, PMP, PGDFA*

Contact Info:  *Financial
Advisor Certification

Email: ggsing...@gmail.com
from

Cell:09986-997274 Indian Institute
of Banking  Finance

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
GLOBAL SPECULATORS group.
To post to this group, send email to globalspeculators@googlegroups.com
To unsubscribe from this group, send email to 
globalspeculators+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/globalspeculators?hl=en
-~--~~~~--~~--~--~---



Job Application

2003-03-06 Thread Gaurav Singhal
Gaurav Singhal
400 S Oak Street, #110
Arlington TX 76010
Ph : (817) 277 9302 
[EMAIL PROTECTED]

To,
Recruiting Coordinator

Dear Recruiter: 

Sub: Application for Internship

I have a strong interest in internship position in your organization having worked 
in the areas of Systems Programming, Network Programming and Applications Development. 
I have two years of work experience in these areas. It will be a good opportunity 
for me to contribute to the area of software development with my strong skill 
set and work experience and will give me exposure to the professional world. 

Your position requires strong programming skills in C/C++. I have a strong two 
years experience working in the areas of systems programming in C and Unix internals. 
My experience as a software consultant at Tata Research and Development labs 
gave me exposure to advanced programming skills in socket level programming, 
inter process communication and multi processing etc. Currently I am perusing 
my Masters degree at University of Texas at Arlington and I am planning to graduate 
by Spring 2004. 

I am very interested in this position as I have the needed combination of advanced 
degrees and experiences, required for this position. I would appreciate an opportunity 
to meet with you to discuss how my experience and academics will best meet your 
needs. Attached here is my Resume for you reference. Looking forward to a positive 
response.

Thank You. 
Regards, 

Gaurav Singhal
Email: [EMAIL PROTECTED]
GAURAV SINGHAL
400 S Oak Street, # 110,[EMAIL 
PROTECTED]
Arlington, TX – 76010  Phone No. 
817-277-9302

OBJECTIVE
Challenging internship position in software development where skills and abilities can 
be used to design, analyze, implement plan and manage large software projects.

EDUCATION
* Masters in Computer Science, Expected Graduation  May 2004
University of Texas at Arlington, Arlington, Texas
* Advanced Post Graduate Diploma in S/W Technology, May 2001
National Center for Software Technology, Mumbai, India 
* Bachelor of Science in Computer Science, May 2000, GPA – 3.6/4.0
Punjab Technical University, Jalandhar, India 

RELEVANT COURSES
Network Programming, Advanced Algorithms, Advanced Operating Systems, E-Commerce, 
Computer Networks, Web Technology, Programming Paradigms, Artificial Intelligence, and 
Pervasive Computing etc.

COMPUTER SKILLS/TRAINING
* Operating Systems:Linux, Sun Solaris, UNIX, Windows NT/98/2000   

* Languages:C/C++ 
* Databases:    Sybase, Oracle/Developer2000, Ms Access, SQL
* Web Programming:      HTML, ASP, Java Scripts, XML
* Debugging/ Optimizing Tools:  Purify, dbx, Workshop, Quantify, Pure Coverage
* Software Packages:    MS-Office, Word, Excel, PowerPoint and Access
* Concepts:     System Programming, UNIX Internals, Multi-Threading, IPC’s 
Shared memories, Message Queues, 
Network  Socket level
Programming (TCP/IP) in UNIX, Mobile 
Computing, Pervasive 
   Computing.

PROJECTS
Parking Prototype 
- Designed and developed a Parking prototype which is a part of the research in 
Pervasive Computing currently going at the University of Texas at Arlington.

WORK EXPERIENCE
* Software Consultant, August 2000 – July 2002
Tata Power Research  Development Laboratories, Mumbai, India   
- Worked on the development of an  Advanced Electronic Warfare system ‘Samyukta’ for 
Indian Army. It is an advanced communication system and is implemented in ‘C’ on Sun 
Solaris  UNIX platform, using Sybase as the database using the hardware of Sun Sparc 
Workstations. I was exposed to the concepts of UNIX Sockets for Networking, Message 
Queues and Shared Memories for IPC’s and Threads for multi-tasking along with other 
internal features of UNIX.

REFERENCES             
 Available on request