flying jordan

Greenhorn
+ Follow
since Aug 02, 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 flying jordan

First, when I said "immigration policy" it is a general definition. Since H1B visa is processed by Immigration and Naturalization Service (INS) office, it is considered as part of the immigration policy. Immigration doesn't only mean naturalization.
Rich, personally I don't understand why you have to laugh at other foreigners' writing. But I don't think it is polite, and it doesn't help anything. Anybody from any country has the right to post messages on this board and English just happens to be the standard language. If people laugh at others like that, it isn't healthy for this public community.

Rich, some personal suggestion (no offense): From your messages, I feel you not only hate the H1B policy, but also strongly dislike(I wouldn't use hate here) immigrants and foreigners. I hope you don't go too far in that direction.
18 years ago
Our country is an immigration country. We are pround of that. I think people who propse sending all non-citizens home is just day dreaming. Being a citizen, I absolutely can't accept Rich's idea of "sending all those non citizens home". I think it is a typical loser's attitude.
The long term negative effect is you are damaging our immigrantion policy which is the fundamental of this country.
Think about this: after 9/11, some people want those Arabs go home, do you think congress will do that ? It is just so simple that immigrantion policy is not something you can change like changing your food menu order. That's it.
Some colleagues in my company came as H1B, now they have gotten permanent resident status. By law they can permanently reside in this country forever. By law they will become citizens 5 years later. Rich, no matter how angry you are, you just can't kick them out.
I certainly believe it is a short vision to ruin the fundamentals of our immigration policy just because of the H1B.
18 years ago
Oh Alex, 7 years of full time experience. so you started that "from afternonn to midnight, plus weekend" working life when you were 16 years old, and you keep a 8:30--2pm school life ? And you said it is normal in Russia ?
I will say: if you are a genius, this type life style would have killed your talent. Einstein said: "Imagination is much more important than knowledge". AT age of 16, it is time for people to explore, to think, to dream, not just work... This type of life is totally unhealthy. It may create some excellent knowldgeable and very skillful IT developer/architects, but it does no good to genius, like you (here I assume you are).
Rich,
So, your point is to stop issuing new H1B visas at this moment, right ? Then, how do you want to handle those H1B visa holders who got their visa one or two years ago and are currently working in this country ? Do you think we should take back their visas and send them home ? If this still doesn't help, do you think we should start sending those non-citizen permanent residents home ? then if there are still unemployed citizens, what should we do ? Maybe we should start sending new immigrants (citizens) home by the order of their immigration dates ?? Then I guess Collin Powell won't be happy with your proposal.
There are many ways to solve problems. The most critical issue here is the economy. Your idea somehow goes to an extreme direction. Although it may eases the employment situation a little bit temporarily, but I do not think it is a smart strategy to solve problems. Your proposal will cause negative side effects in the long run. You can't kill the chicken to eat the egg.
18 years ago
Ken, "name" is an instance variable for "Action". But, since the "action" instance is a local varible in Servlet so it is thread safe, i.e. no two thread can access the same "action" object at the same time, then this "action" instance belongs to one thread only. So from client point of view, any instance varible of this "action" instance is thread safe too. If "name" is an instance variable of the servlet then it is not thread safe.
Do you think this makes sense ?
thanks.
18 years ago
First, currently very very few companies are still hiring H1B because of the bad economy. Secondly, few years ago congressed passed a bill to increase the H1B quota from 100,000 to 190,000
per year. However the number for last year was less than 65,000 and the number is even smaller this year. So the economy automatically adjusts the situation. I know many H1B visa holders have left for home countries.
At this moment it is meaningless to write that letter. I think it is more meaningful to demand some more effective policy to help economy recover. The congress and president should do something.
18 years ago
I have a "MyServlet.java" servlet, I instantiated an action class there and in the Action class there are class variables. Are those variables thread safe ? please see code below ---
**************************************
public class MyServlet extends HttpServlet {
public void doGet(...) { .... }
public void doSomthing(..) {
Action action = new Action();
action.doIt(request, response);
}
}
public class Action {
private String name;

public void doIt(HttpServletRequest req, HttpServletResponse res) {
name = req.getParamter("NAME") + "abc";
.... // perform some business using the request, response obj
}
}
******************************
Is variable "name" thread safe ?
18 years ago
Gerald, if you don't have any java experience and no project done so far. I sincerely suggest you : Don't try to kill yourself to get all $ certificates. Try to get a SCJP first. Don't try SCEA. I am not saying you can't get SCEA. I am sure you can. But, think about this: If a company finds your resume and they see a person without any experience but four certificates, they will think this guy is over-qualified in book knowledge but inexperienced in hands-on stuff. So it is hard for them to put you in any position. If I need to hire a person in my team, I don't know how to put such person. So, getting one to two certificates is a very good idea. Then you should try best to do some project, open source, voulunterr work, school pj, whatever. There is no meaning for you to get SCEA at this moment.
I guess you guys didn't totally understand my scenario (maybe I am wrong). My scenarios is:
I have a "Servlet_A" which generates a image basd on the user input, it also can set some bean attribute. Now I want to display the result in a
"Display.jsp" page which includes the image and those text context set by those beans, by using "forward" from the "Servlet_A" to "Display.jsp". SO, in this case, <img src="/servlet/Servlet_A"> method doesn't work because "Display.jsp" is not going to get a image from a standlone servlet. It wants to get the image from the servlet that forwards to this JSP.
but you can't make recursive calls in the "src=..". I guess that's the dilamma.
18 years ago
JSP
Happened to read this thread. I had the similar problem. Now I want to make sure if I understand Bill's point:
1. In the JSP page that include both image and other html text, the standard way to get an image is <img src="myIgameFile.gif">. So do you mean servlet HAS to generate an image file and JSP just refer to that file ?
2. Is it possible for servlet NOT to generate a image file and JSP can still directly get it ? If so,Could you write few lines sample ?
18 years ago
JSP
so. alex, I am now confused by your points. You said you are only 23 years old. I assume you have a Bachelor degree at least, so 23-22=1. You have one year real world experience , plus some internship maybe ? And you understand that people can't be an architect unless they have few years solid developer experience, etc. So, at this point, why do you need a more difficult and more tough SCEA ? Even there is such a thing and you get it, it doesn't help you at all based on your age and experience. So, I guess you are worrying soemthing you are not supposed to worry at this moment, maybe you should worry about it in a few years.
The real wrong idea is to expect a get architect job with JUST a SCEA certificate. The ONLY way you can get an architec is you have some architec experience, or as you said, a number of years of solid developer. SCEA is always a supplemental.
I am 31 now. Oh man, I wish I were 23. That's a great age. I could rethink a lot of things in my life. There are so many excellent opprotunies there, IT architec is just one of those hundreds. Don't limit your future path too early.
Alex, I understand some of your points. But I can't agree with you on all. You suggested "hundreds of assignment", do you think any company is going to do that for exam takers ?
We are living in a real industry world, not a academic circle. Certificate is always just a certificate, if you expect too much from it, then you overexpected it yourself, unless SUN really wants to create such a "hundreds assignemns" for people. But that's impossible, Sun needs to make money from it still. So, be realistic. Plus, even SUN makes it for people, what if people hire somebody else to do the project ? Do you think SUN should provide a one-month "exam camp" to let people do the assignment in a SUN designated site.
Otherwise, I think it is terrible to have somebody hire another person and pass that "hundred assignment".
So, my point is --- don't expect too much from SCEA. Sun is never going to design your type of assignments for you, like any company, making money is their first priority.
Suppose I have a "MyClass.java" which imports a "my_package" and uses some classes of "my_package". If "MyClass.java" is not changed but soem class(es) in "my_package" is changed, do I need to recompile "MyClass.java" as well ? It seems in most cases I don't need to. Is there any case that I need to ?
thanks.
18 years ago
it seems the majority of the people support the idea of getting a MS degree because education will show more value in the long run. Then how about going further to get a PhD degree ? Do you think that will help more ?
18 years ago
I have CS Masters degree so I have taken all these
courses. I think Algorithm is useful because it teaches you how to efficiently analyze and solve a problem and understand the tradeoff of running time, etc. Theory of computing, well, lot of schools require you to take it. But from the practical IT point of view. I think it is useless.
18 years ago