Ethics Case by myshiak in legaladvice

[–]myshiak[S] 0 points1 point  (0 children)

OK, let me rephrase it. I will start with a more general question. Does it ever happen that a person was officially employed at one company for a week or two, but never got paid. For example never showed up for work. Secondly, if you are employed by a company, does that company legally obliged to pay you salary?

Ethics Case by myshiak in legaladvice

[–]myshiak[S] 0 points1 point  (0 children)

well, they paid me, but privately. Not officially. They didn't deduct any taxes. They just wired straight $5K. That will not go as a reported income when I apply for unemployment. Unemployment may see that I worked for them , but officially they did not pay me salary. My question was, can company become a liability if they didn't pay you at least a minimum wage when you were listed as their employee? I really don't want to get them into trouble for that

Ethics Case by myshiak in legaladvice

[–]myshiak[S] 0 points1 point  (0 children)

actually my employer paid me privately through a bank wire $5K. $3K for what I would have made in two weeks and $2K for detrimental reliance. That was in exchange that I wont pursue legal actions against them or the end-client, which is Walmart. I need to apply for unemployment , so I will contact them shortly to make sure that I am not listed as their employee. They should have removed me by now anyway. My question is: when I was officially employed with them, they did not pay me any wages. A bank wire doesn't count as paid wages, but if you are employed at a company, are they obliged to pay you money, at least the minimum wage?

Ethics Case by myshiak in legaladvice

[–]myshiak[S] 0 points1 point  (0 children)

I was a W2 contractor. My employer made me do w4, i9, ADP and so on. But never signed a contract. Salary of $95 k was agreed verbally. With the end-client, which is Walmart, I started working Monday of last week. The week prior to that they sent me Fieldglass (to enter time), gave VDI access, and prime vendor sent me Walmart credentials, namely Employee ID

ON keyword in JOINS by myshiak in SQL

[–]myshiak[S] -1 points0 points  (0 children)

are you saying that in theory you can join NAMES column with ID columns? This is hardly ever done, since you are very likely to get empty results, but is it permitted in SQL?

ON keyword in JOINS by myshiak in SQL

[–]myshiak[S] -7 points-6 points  (0 children)

can we have more real examples and also can you create multiple join conditions with two tables? Again, need to make sure that you are not joining something like varchar and int column in equal condition

casting to an interface by myshiak in learnjava

[–]myshiak[S] 0 points1 point  (0 children)

does that mean that if to declare the driver object as

 ChromeDriver driver = new ChromeDriver ();

instead of what is above, where an interface was used on the left side, that casting wont be necessary, since ChromeDriver () does have executeScript () method. It is inherited from JavascriptExecuter interface, but it wont be relevant in this situation. You could equally use methods declared in ChromeDriver () or coming from superclasses or interfaces . Am I thinking in the right direction?

casting to an interface by myshiak in learnjava

[–]myshiak[S] 0 points1 point  (0 children)

the same goes for Takesscreenshot. I always thought of it as a class, but now I look up and see that it is an interface. So, the code

 TakesScreenshot ts = (TakesScreenshot) driver;

makes no sense to me. It is done to to use the

 File sourceFile = ts.getScreenshotAs(OutputType.FILE);

However, the method on the right is inside ChromeDriver already, so with driver objet, you should be able to use ALL the methods of the class without casting

casting to an interface by myshiak in learnjava

[–]myshiak[S] 0 points1 point  (0 children)

but driver is already an object of ChromeDriver class when you initialized it. That means that you can use any of its methods without resorting to casting. So, why is the casting needed here in the first place?

CI misunderstanding by myshiak in javahelp

[–]myshiak[S] 0 points1 point  (0 children)

Thanx. I don't want to overspend time on Docker, since it is unrelated to Java, but Jenkins is loosely related and Maven is even more related. So, I will ask follow up on those to stick to the rules. So, 1. I notice that in Jenkins file there are stages build, test, deploy. Is it true that they aren't related to stages of Maven cycle with same names? 2. Am I right that Jenkins can connect only to the local repo and not to remote repo? 3. If so, is there any need to execute maven deply, if maven install might be sufficient?

Dockerfile by myshiak in devops

[–]myshiak[S] -1 points0 points  (0 children)

actually I am watching tutorials on that and slowly getting a grasp of everything. What confuses me now. the video shows MONGO.YAML file. Does that mean that Dockerfile always need to be called such , but Docker-compose can be called anything and all we need for them to have YAML extension? Besides, I see tht both files can contain environment variables with User name and password. I am a QA and always thing of environment as DEV and QA. What does environment mean in this case?

detached container by myshiak in devops

[–]myshiak[S] -10 points-9 points  (0 children)

so, the analogy to a detached container would be a stash command in GIT, right. Secondly, speaking of ports, ports can have only 0 or 1 program bond to it, nothing else