“file is locked” when visual studio executes unit test

I developed near 300 unit tests, but sometimes, when trying to develop new tests, or just execute old tests, I got below error (for some of assemblies):

Could not copy "X.dll" to "binDebugX.dll". 
Exceeded retry count of 10. Failed. 
The file is locked by: "Microsoft Visual Studio 2019 (37736)"

After that only restarting visual studio resolves problem. Normally this error will be thrown when I changed tests or library and try to execute test again.

Any idea how can I resolve this error?

locking – Insert queries creating locked objects Oracle

In my asynchronous Spring Boot application I started noticing that threads where not returning from save() method – they were not dead, still running but hanging/being blocked during the saving to the database part.

To investigate this, I issued a query to see if there were any locked objects, and indeed there were as many locked objects as there were blocked threads in my application. Also, the queries of the blocked objects were ‘update’ queries which was even more puzzling since the only thing that application does is insert new data – no deletes or updates.

Any ideas what could be causing this? Any suggestions how I could investigate this further?
Thank you.

miniscript – How do I write a script such that my funds are locked in a 2-of-2 multisig that converts into a 1-of-2 multisig after 365 days?

To construct the script you could use Pieter Wuille’s Miniscript site.

If you go to the Policy to Miniscript compiler section there is an example in Policy for a 2-of-2 multisig that turns into a 1-of-2 multisig after 90 days.


You would need to adjust it for your desired example. A Policy that fits your needs would be:


Once you have the Policy you can copy and paste this into the Policy to Miniscript compiler section and get the Miniscript equivalent of this Policy. The Miniscript output is:


Further down you can copy and paste this Miniscript in, press Analyze and you will get the size of the resulting Script (78 bytes) as well as the actual Script:


It is worth noting that this example assumes you are more concerned with losing one particular key (key_2 in this example) and you assume will still have access to key 1. If you are just as likely to lose either key (key_1 or key_2) you would want a different script.

I recommend you try this on testnet or Signet first where coins aren’t worth anything. Alternatively with a small amount of funds on mainnet that you can afford to lose. You don’t want to be losing all your funds due to a mistake or a misunderstanding.

is it possible to see the rows MySQL 5.7 locked

I am using this sql to update, but now I amd not sure how much rows it locked.

UPDATE r_room_seat s
        SET s.status = 1,
        s.room_play_id = (SELECT @update_id := max(room_play_id)),
        s.user_id = (
            case when s.seat_num = 1
            then 63182
            when s.seat_num = 2
            then 16472
            else -1 end
        s.robot_flag = (
            case when s.seat_num = 1
            then 1
            when s.seat_num = 2
            then 0
            else 0 end
        WHERE s.status = 0
        and s.online = 1
        and s.room_play_id in (
            select room_play_id
            from (
                select room_play_id as room_play_id
                from r_room_seat
                where room_id = 166
                and status = 0
                group by room_play_id
                having count(*) = 2
                limit 1
            ) a
        and s.room_id = 166
        LIMIT 2

and which rows locked, is it possible to see the locked record? For example, let the MySQL hang on locked state. Now I am sure it using RECOED lock, not a table lock.

twrp – Bootloader unlocking with a locked bootloader, unlock tool inop

I have a Asus tf700t tablet running 4.2.1,i want to upgrade to 7.0,bootloader locked, I tried the V8 Asus unlock tool,

Received “unknown error,possibly network problem, try again later,
Researched, couldn’t really find a solution,essentially said server issue with Asus

Debugging enabled, unknown sources enabled, Play store Play protect off, there’s a setting in Google Chrome, but I can’t remember what it is, maybe someone here can help with that also, I’ll change it if I can find it,
Developer options enabled, no option for OEM unlock

I would like to unlock the bootloader so I can use Twrp to update the OS, no longer any updates available

BTW,device is rooted,SU installed

Thank you for any help or advise, if needed I can provide build number and kernel version, it’s an older tablet,but does have the good Tegra chipset, and definitely works well, but slowly,,,,

email – Has Gmail permanently locked me out now?

I have a Gmail account from 2004 which I only keep because I was dumb enough to ever register it in the first place (Google are pure evil), and because e-mail accounts are no longer possible to register, so I couldn’t switch either way.

For years, I’ve been using my own e-mail client which fetches any new e-mails via IMAP and uses PHPMailer to talk to their SMTP server to send e-mails. This has been working for a long time, although they sometimes randomly decide to cut off my access, forcing me to log in to their vile web interface and answer “it was me” to their broken “security” mechanism which randomly decides that “somebody else” has logged in to my account with my password, which is never the case and logically impossible.

Anyway, today, as this once again has happened, nothing works. I’m able to log in to the web interface and I’ve done the usual nonsense and gone through the settings. “Allow insecure app access” (which is total newspeak) is still enabled, etc. Nothing indicates that my e-mail client would be blocked. Yet it is. I can’t fetch e-mails via IMAP and, when trying to send e-mails, I get the debug error:

SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

Needless to say, that URL doesn’t give any helpful hints, as always is the case with “troubleshooting” webpages.

With debug enabled, it logs:

535-5.7.8 Username and Password not accepted. Learn more at
535 5.7.8  https://support.google.com/mail/?p=BadCredentials
SMTP ERROR: Password command failed: 535-5.7.8 Username and Password not accepted. Learn more at
535 5.7.8  https://support.google.com/mail/?p=BadCredentials
SMTP Error: Could not authenticate.

Needless to say, I had not changed the password when this started happening, and that URL doesn’t give any helpful advice (of course).

I’ve tried to change the password just to see if that would change anything, but the exact same error happens.

Sometimes when this happens, it wants me to log in and enter a CAPTCHA. It doesn’t do this now. Nothing whatsoever indicates that this error should happen, and I have certainly not changed anything in my system.

PHPMailer is up to date, as is PHP, as is always the case.

Unsurprisingly, I found not a word about this online. But that says nothing since the Internet appears to have died in recent years, and nobody ever bothers reporting or discussing all these broken services at this point.

Has Google finally blocked me out permanently? I will never use Gmail from their horrible web interface.

user behavior – How to present locked sections which are clicable?

Currently, I design sections that are locked for the user but also “clickable”. When you click on them the user gets an opportunity to contact with sales and CTA button. I wonder how to design this section to make it clear for the user that they are clickable? The sections aren’t in the client’s plan, so they should be grayed out…if they are grayed out – how the user will understand that they are clickable? If the sections will be white does the user will understand that they are “locked” and not in his current plan? Any suggestions?the dashboard preview with locked sections - currently "grayed- out"