Relocating to different city; 1-month notice given, but workers contract says 3-month required and employer is NOT letting me leave

I work at a private business company. My family recently decided to relocate to a different city and I cannot keep working at the same company as commute time is unrealistic.

I already gave my employer a 1-month notice but my employer says on my worker contract signed, they requires a 3-month notice (this was my very first job and I didn’t had much “common sense” on how to protect myself as a worker… No matte how much I regret it’s already too late now…). I tried to negotiate with them and promise that I’ll be trying my best to train new employee and pass on all the work smoothly to the next person. However, it’s already been 20 days, and my family will be moving in 10 more days, my employer still haventn’ found a new employee for me to start training.

Now the issues is, my employer is NOT willing to let me resign. I tried to negotiate with them saying I’ll remotely (via phone or email), to continue handling my daily work and meanwhile also help teach future new employee how to do the work; but he BANNED all my suggestions, simply saying I CANNOT QUIT.

I really don’t know what to do now… If I just walk away, what will happen? Since the worker contract I signed stated 3-month notice, I’m worried that if I just walk away, he may sue me? If worse comes worst he takes legal action against me, what would be the possble outcome?

Please help me…

All topic

How to simultaneously connect to two different networks via WiFi access points (laptop with one WiFi card)

I wish to use a laptop and simultaneously connect wirelessly to an intranet and to the Internet. Assume the subnet IP address ranges are 192.168.0.X for the network with Internet access and 10.10.0.X for the intranet. I’m running Arch Linux on a 2017 model Lenovo ThinkPad. It seems that my wireless card supports combinations. I do not fully understand all the output below, but I think it confirms that my card can function in several modes at the same time.

iw list | grep -A 2 'interface combination'
valid interface combinations:
* #{ managed } <= 1, #{ AP, P2P-client, P2P-GO } <= 1, #{ P2P-device } <= 1,
total <= 3, #channels <= 2

I used this answer to get started: https://askubuntu.com/a/488604/36661

I have verified that the following command succeeds:

iw dev wlan0 interface add wlan1 type station

After running that command, I see this interface:

4: wlan1:  mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether c6:d1:7c:2b:1a:b2 brd ff:ff:ff:ff:ff:ff

However, I am not having success connecting that interface to the second access point. First I tried the NetworkManager GUI, where I created a new wireless connection, gave it a random MAC address, assigned it to the new wlan1 virtual interface and set all the other properties as I normally would. But NetworkManager did not give me the option to connect to it.

As a second step, I tried nmcli as shown:

nmcli c up wlan1_virtual  
Error: Connection activation failed: No suitable device found for this connection.

My next step was:

ip link set dev wlan1 up
RTNETLINK answers: Device or resource busy

What should I do next?

BTW, I have read conflicting answers on this subject. The answer linked above indicates this is possible, but this one says it is not possible. But the accepted answer on that question says it is possible. So far, it seems there are more "yes, it's possible" answers. So I am forging ahead.

$ uname -a
Linux 4.18.7-arch1-1-ARCH #1 SMP PREEMPT Sun Sep 9 11:27:58 UTC 2018 x86_64 GNU/Linux

If more info is needed, I'll provide it.

All topic

2-way ANOVA in Python statsmodels yields different Sum of Squares than SPSS

I am learning to use Python for my statistical analyses, and while figuring out how to perform a 2-way ANOVA with statsmodels I found that my Python code yielded slightly aberrant values. Comparing the outputs you can see that the SS_Factor_1 values, and the Adjusted R2 are different for Python vs SPSS/Graphpad. Is this because of a mistake in my code, or some other reason? Are these differences due to something inherent in each software and so small I should just ignore them?

Python code:

formula = 'dependent_variable ~ C(factor_1) * C(factor_2)'
model = ols(formula, data=df_freq_time).fit()
aov_table = anova_lm(model, typ=2)
aov_table

Python output:
output

Also R2 = 0.722, and adj R2 = 0.694

SPSS 2-way ANOVA results:
SPSS output ANOVA table

Graphpad Prism 2-way ANOVA results:
Graphpad output ANOVA table

All topic

Correlate two different zone system records

I am working with two data sets from different sources that represent the same phenomena and have a challenging point.

Both data sets represent demographic attributed of the population [ person id, age, gender, income , … ] and records are matched to the zone number with no specific Location. So I can only map them to the center of the zone.

My question is, what algorithm, method, technique is suitable to find a common grid system for both zones for comparison? They should represent a high correlation as they are for the same population.

I use postgis, QGIS, Python and Java

two zone systems overlaid

All topic

How is PasswordSafe different from KeePass/OtpKeyProv?

Over at Does adding two-factor authentication by OTP really make KeePass more secure the top answer unmistakably states that KeePass is not made more secure by using an OTP. I told a friend I was using PasswordSafe instead of KeePass but then he asked how was that any different and I realized that I trusted the PasswordSafe+YubiKey combination to be secure mostly because they have mutual advertising.

The answers to the SE question mentioned above explain why KeePass is not made more secure by 2-factor-authentication (2FA). Can somebody give the same explanation (whether positive or negative) for PasswordSafe?

All topic

how do I join two tables with different fields?

I have two tables that I would like to join on the following fields

Table A

ID
2345
2346
2347

TableB

BarecodeID
*2345U12*
*2346P1*
*2346P2*
*2346P3*
*2347Z1*
*2347Z2*

TableB.BarCodeID was generated from TableA.ID earlier in front-end access by concatenating

TableB.BarcodeID = '*' & TableA.ID & 'Z' & x & '*'

so in order to join I would like to trim, extract, etc!!!!! off the “*” from the ends and trim off the Characters and numbers that follow (e.g U12, P1, P2, etc).

Please advise on best practice to join two table of similar fields.

All topic

MySQL replication – database size is different

I have enabled MySQL master-master replication with 2nd master acting as read-only. Recently I checked the out the size of the databases in both master and slave and I found that database size in two databases is 1mb less than the Master. Does it mean that the setup which I made for master-slave was not done properly or the replication is not happening properly?
Also, how can I make the changes so that it remains the same in both master and slave?

Thanks!

All topic

How to connect an IP Phone to a different network.

So I have this problem , I have a really enthusiastic client who wishes to setup an IP phone to our netwowrk. I know it’s not that easy as it seems. He has his CUCM server in the US and want to setup an IP phone outside his country. First thiing I told him was to register the phone’s mac address to his CUCM server and now I’m kind of stuck as I don’t know how to proceed.

Note : All our traffic goes through the firewall, we have no routers in place and please advise if IPsec VPN needs to be established and how to route the traffic which are in all together different network. Please help!

All topic

a different csrf token and session id passed in the request

A csrf token is what a server includes in its response, that is the same token which is passed in the request from the user.

In my case, a different csrf token is getting included in the request- which is hence generating a 403 Forbidden error.
Along the different csrftoken cookie , a new sessionid cookie is also getting included which should not be the case. I am guessing a new session is somehow getting created and hence including a different csrf token but I am really not sure how and why is this happening. Seems a sort of relogin happening.

What is more interesting is, this is happening only for a specific user. Any ideas what might be the case?

All topic

Move mouse proportionaly between different resolution (and DPI) displays

I have three displays, a 4K display flanked by two 1080p displays. Physically, these monitors are roughly the same size. Furthermore, Windows 10 handles the DPI scaling of the 4K monitor separately from the 1080p monitors just fine. So while it appears as such to Windows

Display setup

the real layout is three monitors of equal size side by side.

The problem is that the mouse keeps getting caught on the edges of display 2 and three when dragging from display 1. I would like the mouse to continue onto display 2 or 3 regardless of which part of the left or right edge of display 1 the mouse touches.

This question has been asked before (e.g. here) and a common answer is to suggest that this behaviour is intentional on the basis that mouse movement should reflect different size displays. Such an answer is not appropriate as it doesn’t consider DPI and scaling.

All topic