visas – Can I travel back to Canada on imminently expiring work permit?

It’s kind of a strange situation, I’m currently working from Canada on an employer-specific work permit and it is going to expire in February 2021 along with the W-1 category visa, i.e both work permit and W-1 visa will expire in February 2021. And, my passport is going to expire in August 2021. In addition, I also have a B-1 category visa valid until August 2021, i.e valid until the passport expires.

I got to know, because of the Covid situation the work permit applications are taking approximately 6 months to process, is it true?

Now, my work permit renewal application is already submitted a couple of days ago (in January) from within Canada and I can continue working from Canada as per the new Covid rules even if the work permit expires but the thing is I have to travel to my home country at the end of March and I cannot postpone it.
Now, in order to get back to Canada to work, even if I somehow get hold of the renewed work permit by July 2021 it’ll only be valid until August since my passport expires in August 2021.

I was wondering, to avoid this situation if I put an application to renew my passport and get the work permit renewal application updated with the new passport information:
Will I be permitted to travel back and work in Canada on my B-1 visa (which is on my old passport) after I get my work permit let’s say somewhere in July or do I have to apply for a new visa again for the new passport?

What if, instead of the above, I do not apply for the new passport, get the renewed work permit by July (thinking optimistically) and travel to Canada in July with both the work permit and passport imminently expiring in August and apply to renew both once I reach Canada, will I be allowed to travel in this case?

Are there any other better options that’ll help in traveling back? Really looking forward to some help!

remote control – Keyboard not work Asphalt 8 TV

I have Asphalt 8 on my smart TV and I have a WiFi keyboard for the TV, but the WiFi keyboard does not work for the game. It works for all of the other apps, as far as I know, but does not work for this one app. As this is a car game and I play it heavily, please answer this question before the destruction of my TV remote, with which I am now playing.

graphs – A question about the work per recursive call in FPT vertex cover of size k algorithm

I have been looking at the FPT(Fixed Parameter) algorithm for checking if a vertex cover of size k exists.The algorithm goes as follows:

VertexCoverFPT$(G, k)$
if $G$ has no edges then return true
if $k=0$ then return false
let $uw$ be some edge of $G$
if VertexCoverFPT$(G-u, k-1)$ then return true
if VertexCoverFPT$(G-w, k-1)$ then return true
return false

Its said that this algorithm has 2^k recursive calls each with O(n) of work in each recursive call. My question is how is it that there is only O(n) work in each recursive call when we need to create the 2 graphs {G-u} and {G-v} (u and v are the vertices we are currently checking) which takes O(V+E) time (Doing a deep copy of graph G excluding the node and the edges connected to it). Is there a more efficient way than constructing {G-u}, {G-v} from G or am I missing something?

linux – Boot from USB does not work although it is bootable

I want to install Linux on my Windows 10 tablet (Chiligreen E-Board MW065, 1 GB RAM, 8 inch display), so I created 2 bootable USB flash drives, one with Lubuntu 64-bit and one with Zorin OS Lite 32-bit.

I can boot from them on a PC, but when I try to boot from them on my tablet, it does not work. When I select “Boot Override” in the UEFI and select the USB, the display becomes dark for half a second and then shows the boot menu again (see this video). A change in the boot priority order does not change anything as well.

I hope you can help me!

EDIT:
“Legacy boot” is enabled and “Secure boot” is disabled.

encryption – Clean LineageOS 17.1 install and empty device – can’t work out how to mount data partition in TWRP?

I’m installing LineageOS 17.1 on my new phone. It works fine, but I can’t get to data in TWRP.

As usual, to install, I wipe everything, drop into TWRP, format (not just wipe) data, wipe cache/davlik/system, and flash the LineageOS installer file. When the system starts first time, it gives a message “encrypting data”, which doesn’t have a “skip” option.

When I drop back into TWRP it asks for a decryption password to access data, but I don’t have one because I haven’t entered one in the first place.

How do I get LOS to not encrypt data, or alternatively, what decryption password should I use in TWRP?

Note: this isn’t a duplicate question. Other questions about decrypting data involve corrupt data or system issues that prevent data being accessed because of encryption, or trying to recover files from data. In my case, it’s a clean install with no prior data content, but I can’t figure how to access data in TWRP because it seem to encrypt it automatically but there’s no hint what key to enter in TWRP.

google sheets – How to solve situation where I need timestamp script to work on cell auto entry, not manual

can someone help me with this problem.
I have timestamp script running in google sheet and it work fine when I manually change value in cell. But I can’t find any solution how to have timestamp working when entry in trigger cell is some auto data from formula or such.
Or maybe if someone have another solution.
What I’m doing now is, from sheet1 with Query transfer data to sheet2 when some change is made.
When new row is created in sheet2 I want to have date of entry for every row that is created in sheet2, and date need to be fix all the time.

interaction design – How to work with visual designers who treat wireframes as literal graphic suggestions?

Recently I started to face quite many cases on my client projects when a visual designer on the team produces design that looks like wireframes produced by me, only colored. Perhaps, the obvious answer to my question is “don’t work with this kind of designers”. In most cases, however, the projects I’m working on are really interesting and challenging, so if I want to stay on the project I’m forced to work with whoever is on the team, so I better find the way to solve it.

I have talked to the teams explaining what wireframes are and what they are not and why applying some color to my wireframes is not a good design job. I have shown examples of excellent design jobs done based on wireframes. I have also switched from Omnigraffle to Balsamiq in order to produce mockups that look more like sketches hoping that this would force the visual designers to be more creative. It doesn’t seem to work very well.

I know what it’s like to work with designers who are able to (correctly) treat the wireframes only as guidelines for content, position, hierarchy, functionality, interactions, flow definition, etc. and do their magic to wrap it all up in a beautiful and elegant visual surface. That’s the reason the opposite cases cause so much frustration.

Has anyone faced a situation like that? If yes, what worked well and what didn’t assuming you tried to do something about it?

protocol – How does change work in a bitcoin transaction?

First, let’s clarify the difference between accounts and addresses.

“Accounts” are used for the convenience of people to track their funds. This is primarily used to track the source of funds. Since this is just for your tracking, you can move Bitcoins from one account to another just by moving a number from one column to another. No transactions are needed. (This is like when you know you owe your son $25 for allowance, and you have $200 budgeted for groceries.)

“Addresses” are used to receive Bitcoins in transactions. The coins are sent to an address. The client associates each address with an account and adds received funds to that account. This is simply done for convenience to allow people to track indirectly which address funds were sent to. But you can have any number of addresses associated with the same account.

Change comes from the way Bitcoins are spent. To spend a certain number of Bitcoins, you must pull in Bitcoins from transaction outputs to accounts you control. Note that in the spending part, it doesn’t matter what address this is or what account that address is associated with. When you spend Bitcoins from a particular account, that just means you debit that account for the amount you send. It doesn’t mean the funds come from addresses associated with that account. Remember, the association between addresses and accounts is for receiving only, not sending. (Like when you spend money on groceries, it’s not like you have specific bills for groceries. You just have an amount budgeted.)

So when you pull in transaction outputs, you form a pile of Bitcoins big enough for the number you are trying to send. Usually, it won’t be exact since you must claim an entire output. So the excess forms the ‘change’.

Since there is no address associated with sending Bitcoins, there is no particular address the change should be sent to. So, to preserve anonymity, the client creates a new one just to receive the change from this transaction. Since this address isn’t really associated with an account and shouldn’t be used to receive any more Bitcoins (because that would senselessly tell people the same recipient got the coins as got this change) the client does not display it.

Because the client manages coins in a particular way, it doesn’t make sense to try to view coins it is managing with any kind of explorer. It’s specifically trying to obscure the fact that all the coins are related. Those kinds of services are intended to monitor recieved funds, not managed funds.

psionics – How does the receptacle power actually work?

This is actually several questions, but closely related enough I felt they should be asked as one question. If the community disagrees, I’m happy to split them up.

The 2nd Edition Complete Psionics Handbook actually has a number of issues where it seems like the writers failed to consider there might be more people in the world besides a single psionicist and their target, to be honest. But one of the places this is most apparent is the receptacle power – it only indicates that the psionicist who creates the receptacle can then draw the stored PSPs from it, but never specifically indicates whether other psionicists (or even psychically active monsters) can draw those PSPs out as well.

Additionally, it indicates that to create a receptacle from an empowered object, you don’t need to give it powers using empower, but doesn’t indicate you cannot do so. So, my questions about this power:

  1. Can another psionicist use a receptacle that wasn’t created by them?
    1a) If so, does that also extend to monsters with “natural psionic ability” or only true psionicists?

  2. Can you use an empowered object that was given powers as a receptacle?
    2a) If so, can the object itself access the additional PSPs stored in it by the receptacle power to pay for its own powers, or are they only accessible by others?

dnd 5e – Does proficiency work on natural armor?

Natural armor is not “wearing armor”.

The rules for Armor Proficiency state:

Armor Proficiency. Anyone can put on a suit of armor or strap a shield to an arm. Only those proficient in the armor’s use know how to wear it effectively, however. Your class gives you proficiency with certain types of armor. If you wear armor that you lack proficiency with, you have disadvantage on any ability check, saving throw, or attack roll that involves Strength or Dexterity, and you can’t cast spells.

Player’s Handbook, p. 144

Since Natural Armor is not “wearing armor”, there is no penalty for not having “Natural Armor proficiency”, which doesn’t even exist.

If Natural Armor counted as “wearing armor”, every creature with natural armor would have disadvantage on any ability check, saving throw, or attack roll that involves Strength or Dexterity, and would not be able to cast spells. Ever. Which is obviously not the case.