V Chauhan

Ranch Hand
+ Follow
since Nov 15, 2002
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by V Chauhan

You could write some application/tool which helps you in your daily work. It could be something like creating a self help site for your users, a user feedback portal etc. Subsequently you can use this to make your case when you approach any manager for a dev role.

Also network with developers in your company. Find out what kind of dev projects are they working on and if there is an open role in team.
9 years ago
It may be worthwhile to get in touch with the people you used to work with. Your colleagues/manager from your last job can be of help if they are hiring in their team.
10 years ago
Lets not forget the "Be nice" rule of the ranch. Personal attacks and calling each other fool will not serve any purpose.

Couple of things that comes to my mind. Syntel is not the only employer pocketing employee's tax refunds (assuming it's true). TCS did that Source and who knows there might be other doing it and who are not yet caught.

Regionalism and politics again is not restricted to any particular company. It depends on the Individuals involved and you can find some in any company.
15 years ago
Fortunately, I am not in that picture.

:-)
15 years ago
Guys be careful when you venture out of your house today.. You don't want this to happen to you..



:-)
15 years ago
Nah.. Its just a small piece of trivia.. :-) ( I admit it's not meaningless though)
15 years ago
They were all funded (atleast partly) by the venture capital firm Kleiner Perkins Caufield & Byers .
15 years ago
Amazon.com
America Online
Electronic Arts
Google
Juniper Networks
Lotus Development
Macromedia
Netscape
Sun Microsystems
Sybase
Symantec
Tivoli Systems
VeriSign
webMethods
15 years ago
Hi Ranchers,

I have the following xml data.


I need to generate the count of teachers and doctors for each state i.e., the output xml should look like the following.



I wrote a xslt file to group the number of nodes based on location.



However I am not able to add another level of grouping to this xslt to group nodes based on profession (in addition to location). Something like using two group by clauses in a sql query. Any ideas or suggestions?

Thanks in advance,
Basu
Yes I did. However the mail that I sent to the admin (webmaster@j2ee-security.net) bounced. :-) I got a message implying unknown user.

Basu.
16 years ago
Hi Ranchers,

The book "J2EE Security for Servlets, EJBs, and Web Services by Pankaj Kumar" mentions a companion website (www.j2ee-security.net) for downloading the code for the JSTK (Java Security Tool Kit) covered in the book and other related samples.

However it appears that the site is down as it throws a 500 error. If somebody has the code, can you please send it to me at basudevagrawal@gmail.com .

Thanks in advance,
Basu.
16 years ago
Hi Ranchers,

Is there a way to improve performance of File I/O in java beyond using BufferedReaders and BufferedInputStreams?

I have to write a piece of code which searches for some string in a bunch of text and binary files. I have written this using BufferedReader for reading text files and BufferedInputStream for binary files. Typically I read these files in chunks of 64K bytes or chars of data.

This code takes approximately 10 minutes to parse around 1.5GB of data. Most of the execution time is spent in reading the files. Is there a way I can improve this performance? One option I can think of is invoking some code written in C/C++ for using JNI. I doubt even this approach will yield some significant performance improvement.

(I am using JDK1.4 and the system on which I am testing is a Windows XP box with 3 GHz processor and 1GB of RAM).

Thanks in advance for any suggestion/help.
Basu.
(edited: changed the subject and question a bit. hope to get some response this time :-) )
[ March 31, 2006: Message edited by: Basudev Agrawal ]
16 years ago
Bangalore : Google, Trilogy, Amazon
Pune - Tibco
16 years ago
I am using "Mozilla 1.7.11 on RedHat Enterprise Linux 4". The editor works fine. Here is a screen shot.

http://server2.uploadit.org/files/basudevagrawal-mozillascreenshot.jpg

Let me know if you want something specific to be tested.

Hope it helps.
Basu.
16 years ago
Hi All,

We have a J2EE application running on the following environment.

jboss-3.2.2RC4 jetty-4.2.12

We see the following errors in the logs, but have no clue about the reason.

java.lang.IllegalStateException: Can't set fields in SENDING for HTTP/1.1
at org.mortbay.http.HttpMessage.setFields(HttpMessage.java:314)
at org.mortbay.http.HttpResponse.setFields(HttpResponse.java:316)
at org.mortbay.http.HttpMessage.setField(HttpMessage.java:334)
at org.mortbay.http.HttpMessage.setContentType(HttpMessage.java:647)
at org.mortbay.http.HttpResponse.sendError(HttpResponse.java:384)
at org.mortbay.jetty.servlet.ServletHttpResponse.sendError(ServletHttpResponse.java:394)
at org.mortbay.jetty.servlet.ServletHandler.notFound(ServletHandler.java:846)
at org.mortbay.jetty.servlet.Default.handleGet(Default.java:262)
at org.mortbay.jetty.servlet.Default.service(Default.java:215)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:356)
at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:342)
at com.xyz.ui.MyFilter.doFilter(MyFilter.java:66)
at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:334)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:286)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1723)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:514)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1673)
at org.mortbay.http.HttpServer.service(HttpServer.java:879)
at org.jboss.jetty.Jetty.service(Jetty.java:459)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:783)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:945)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:800)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:201)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:454)

Will appreciate any help in identifying the cause of these.

TIA,
Basu.
16 years ago