my flow is like this, browsernodebackend server doing calculation node and backend uses socket to chat. from browser there're start/stop buttons to let backend start/stop the calculation. before node asks backend to start/stop, it must query to see if backend is alive first. my code is like this app.get('/stopCmd', function(req, res) { socketToBackendServer.write("status", function() { console.log("Sending:", 'Node asking for STATUS'); }); socketToBackendServer.on("data", function() { if(status is ok) // pseudo code { socketToBackendServer.write("stop", function() { console.log("Sending:", 'Node sending STOP'); }); } else { console.log("backend server is NOT ready"); } }); }); app.get('/startCmd', function(req, res) { // do similar things as stopCmd } if using the same browser, if i go crazy clicking start/stop... for the " stopCmd", how to make sure when it queries "status", the response is caught by its function, not "startCmd"'s ? it's this line socketToBackendServer.on("data", function() Thank you again !
i would go to human resource and file a complaint for racial harassment and creating a hostile work environment. this way you can avoid making it public and put max pressure on the old guy. also, going through administrative process is the best start of a lawsuit if it would get to that you can choose to be anonymous
correct. especially when he's a contractor. All companies value their own employees more than a contractor.
and guy.
【在 w*******g 的大作中提到】 : i would go to human resource and file a complaint for racial harassment and : creating a hostile work environment. : this way you can avoid making it public and put max pressure on the old guy. : also, going through administrative process is the best start of a lawsuit : if it would get to that : you can choose to be anonymous
s*8
21 楼
很无聊
【在 l****i 的大作中提到】 : 可以翻墙,我回国的时候就翻墙上过买买提和文学城
l*n
22 楼
Agree, contractors will be very easy to be kicked out. Just file a complaint to HR.
【在 l*********u 的大作中提到】 : correct. : especially when he's a contractor. All companies value their own employees : more than a contractor. : : and : guy.
我觉得单凭这一封信,很难证明他仇华或者针对你。能不能从现在开始搜集证据,有足 够的黑材料证明他有固定的模式再跟你老板抱怨。 我可能会回,how is that relevant? what are you trying to imply? 还有那个混 日子的同事发贴的目的是什么?你需不需要也敲打他?感觉这个反应不够好,但是我想 不出其他了。
建议第三做如下修改: Although you only specifically mentioned Asian companies, I have actually heard that this is a much more widespread problem, such as the European hacker we just mentioned. Thus, our strategy is designed to prevent hackers from anywhere, not just Asia.
【在 w*******g 的大作中提到】 : i would go to human resource and file a complaint for racial harassment and : creating a hostile work environment. : this way you can avoid making it public and put max pressure on the old guy. : also, going through administrative process is the best start of a lawsuit : if it would get to that : you can choose to be anonymous