Why does Microsoft Outlook not “have permission to get email”, and ask me to “update my credentials”, for my AOL email?

Before March 22 2021, AOL synced with my desktop Microsoft Outlook software swimmingly!

Since then, Outlook updated itself. But I changed NOTHING for both my AOL or Outlook. Outlook keeps sending these alerts to my inbox. How do I rectify this?

View post on imgur.com

I followed this Microsoft Answer, but it doesn’t solve my problem.

https://i.stack.imgur.com/PT3Px.jpg

https://i.stack.imgur.com/cTlAB.jpg

Can you please approve these pictures? I don’t have enough repute to post them.

c# – Unity freezes when running BFS update instead of visualizing each step

Your code is written under the assumption that the player can see directly into the memory of the program as it’s running. So as long as you change a variable, the player should be able to immediately observe that change, like if you’d flipped a physical card on the table in front of them.

Games don’t work that way. If we want a player to see something change in our world, we need to draw it to an image and put that image on the player’s screen first. That takes some work from the CPU to initiate. And the CPU can’t do that work if it’s busy doing something else.

A typical game loop looks something like this, in a simplified model:

  1. Process window messages – this is what keeps the application from hanging, and allows it to read user input provided from the OS

  2. Update the game state, running any per-object update scripts

  3. Render the resulting frame and present it to the screen

  4. Sleep until it’s time for the next frame

This most often runs single-threaded, and that’s the case for the Unity game loop too. (Even systems that use threading typically use it to “go wide” in a single step, like running multiple non-conflicting state updates in parallel in step 2, while still finishing all step 2 work before taking a state snapshot to render in step 3)

So, as long as you’re keeping the CPU busy in step 2, it never gets to step 3, so you never get to see an intermediate state rendered. And it also never gets back to step 1, which is what makes the app go unresponsive until your script finishes its work.

The culprit is your MyDelay function:

public static void MyDelay(float seconds)
{
    DateTime dt = DateTime.Now + TimeSpan.FromSeconds(seconds);
    do { } while (DateTime.Now < dt);
}

This is what’s called a “Busy Wait” – it tells the CPU to sit there checking and re-checking the time, burning millions of cycles doing nothing useful at all, until it’s allowed to continue on to the next line of code. You’ve temporarily suspended any real processing and turned this CPU core into a space heater.

(There are times when a busy wait is appropriate, when you think you’ll very likely be waiting less time than it takes to sleep and wake a thread. A busy loop running for a hundredth of a second as you have here is never a good idea, and you should throw away any tutorial that told you to do that)

Because you’ve kept this thread busy this whole time, it’s not allowed to exit step 2 and continue on to step 3, rendering your changes for the player to see them, until the whole routine has finished. At that point it shows only the finished state.

The better way to do something like this in Unity is to use Coroutines. This is a function that can run partially, then yield control flow back to the code that called it, so the CPU can finish the rest of step 2 and draw it in step 3. Then, in the next iteration of the game loop, the calling code can resume your coroutine right where it left off, and continue until the next yield. In this way it takes turns with all the other work needed to update and render your scene, rather than hogging the CPU to itself until it’s finished.

Here’s an example of what that could look like. Along the way I also cleaned up some issues:

  • Used a descriptive enumeration instead of magic numbers to define the different tile states
  • Swapped empty and wall so we get the border around the map for free from default initialization
  • Used the built-in Vector2Int type instead of a tuple that needs a new add method defined
  • Reduced the number of temporary collections allocated during the search
public class BFS : MonoBehaviour
{
    public enum TileState {        
        Wall,
        Empty,
        Start,
        Goal,
        Visited,
        Current
    }

    static readonly Vector2Int() MOVES = new Vector2Int() {
        Vector2Int.right, Vector2Int.up, Vector2Int.left, Vector2Int.down
    };

    public float delayPerStep = 0.01f;

    TileState(,) InitializeSearchSpace(Block(,) blocks, Queue<Vector2Int> startingPoints, out int goalCount) {
        goalCount = 0;

        int width = blocks.GetLength(0);
        int height = blocks.GetLength(1);
        TileState(,) area = new TileState(width + 2, height + 2);

        for (int x = 0; x < width; x++) {
            for (int y = 0; y < width; y++) {
                TileState state = blocks(x, y).GetState();
                switch (state) {
                    case TileState.Start:
                        startingPoints.Enqueue(new Vector2Int(x + 1, y + 1));
                        break;
                    case TileState.Goal:
                        goalCount++;
                        break;
                }
                area(x + 1, y + 1) = state;
            }
        }

        return area;
    }

    IEnumerator RunSearch(Block(,) blocks, TileState(,) area, Queue<Vector2Int> openSet, int goalsRemaining) {

        float timeBudget = Time.deltaTime;

        while (openSet.Count > 0 && goalsRemaining > 0) {
            var tile = openSet.Dequeue();

            foreach(var move in MOVES) {
                var next = tile + move;
                switch(area(next.x, next.y)) {
                    case TileState.Wall:
                    case TileState.Visited:
                        continue;                    
                    case TileState.Goal:
                        goalsRemaining--;
                        break;
                }
                blocks(next.x - 1, next.y - 1).SetState(TileState.Current);

                timeBudget -= delayPerStep;
                while (timeBudget <= 0f) {
                     yield return null;
                     timeBudget += Time.deltaTime;
                }

                blocks(next.x - 1, next.y - 1).SetState(TileState.Visited);
                area(next.x, next.y) = TileState.Visited;

                openSet.Enqueue(next);
            }
        }
    }

    public void BreadthFirstSearch(Block(,) blocks) {
        var openSet = new Queue<Vector2Int>();

        var area = InitializeSearchSpace(blocks, openSet, out int goalCount);

        StartCoroutine(RunSearch(blocks, area, openSet, goalCount));
    }
}

Manually update core from 7.0 to 7.78 in one fell swoop

The latest update contains all of the updates before so going straight to the latest one should be okay and is what is usually recommended. Be sure to backup your site and test the backup on a dev copy.

You should update your contributed modules at the same time as some of them may rely on updated versions of Drupal (core).

Lastly and very importantly, there have been numerous security releases since the 1st release and some of them are quite bad so I would say you should probably assume your site is compromised. That’s 78(!) releases you’ve missed out on, including the infamous Drupalgeddon.

Chrome Suicides after Update – Android Enthusiasts Stack Exchange

Since the last two versions of Chrome available in the Google Play Store, one from March 12 and the other from April 13, the update process sort-of removes Chrome from the phone:

  • Chrome icon is removed.

  • Chrome disappears from the the application menu.

  • Chrome is still shown in the Google Play Store under Installed Apps only has an Uninstall button (no Open).

  • In the Settings > Applications menu, the updated version of Chrome is listed but can only be uninstalled too.

This is happening on the same Moto G5 Android phone I have been using for years and every Chrome update until March 2021 worked without issues. I tried a few times by uninstalling (which reverts to the stock version) Chrome and doing the update from various intermediate versions bu the last two suicide every time the update!

What is going on there? Does that mean the hardware is too old to support these Chrome releases? The Moto G5 is running on Android 7.0 with security patch May 2017 and no System Updates are offered.

SQl Server log shipping monitor security configuration and update problems

I’m setting up log shipping between instances A and B with the instance C as a monitor. The shipping itself is working fine but I’m somehow unable to make the monitoring work. The log shipping status on C is not up to date – the reports show that no backups and restores are performed. The respective reports on A and B are perfectly up to date, showing that everything is OK. The problem is pretty much obviously in the monitor connections configuration/permissions.

SQL Agents on A and B run as NT ServiceSQLSERVERAGENT.
The SA accounts on A, B and C are disabled.

  • using impersonation with A and B machine domain accounts added to sysadmins on C – doesn’t help
  • using custom SQL logins which are also sysadmins on A, B and C – doesn’t help and also keeps switching to SA login in the monitor connection window as well as in the linked server configuration on A and B

What can be the root cause? Is using SA account a requirement?
TIA

google sheets – Can i import external map data to regularly update output in cells?

google sheets – Can i import external map data to regularly update output in cells? – Web Applications Stack Exchange

Update of X-code terminal line is not installing

Even though I have agreed and downloaded the update its not installing,
Here trickest thing it not even showning any error for not installing.

I am current in MACOS x 11.2.3

Can any one please help me to solve this

enter image description here

Consolidated WHMCS Movement Update

Hi,

This is not a thread to "bully" WHMCS, but to help fellow web hosting companies (we understand each other) to consolidate the efforts… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1843304&goto=newpost

sql server – Key lock triggered by batch update

I’m doing a batch update operation,but it appears key lock I think I’m in trouble.
I don’t understand why the deadlock is happening.
enter image description here

Environment: SQL Server 2016

deadlock graph detailed:

<deadlock-list>
 <deadlock victim="process29617519088">
  <process-list>
   <process id="process29617519088" taskpriority="0" logused="0" waitresource="KEY: 14:72057594042122240 (aff034961e05)" waittime="2834" ownerId="59072177" transactionname="UPDATE" lasttranstarted="2021-04-12T16:50:19.377" XDES="0x295a2ef6e58" lockMode="U" schedulerid="7" kpid="7808" status="suspended" spid="91" sbid="2" ecid="0" priority="0" trancount="2" lastbatchstarted="2021-04-12T16:50:19.340" lastbatchcompleted="2021-04-12T16:50:19.343" lastattention="1900-01-01T00:00:00.343" clientapp="Core .Net SqlClient Data Provider" hostname="FENGL-PC" hostpid="1294251125" loginname="sa" isolationlevel="read committed (2)" xactid="59072177" currentdb="14" lockTimeout="4294967295" clientoption1="671088672" clientoption2="128056">
    <executionStack>
     <frame procname="adhoc" line="2" stmtstart="6" stmtend="942" sqlhandle="0x0200000010732f2ceb34267aaa1b31c44ae92e2ec57b3e1e0000000000000000000000000000000000000000">
unknown     </frame>
    </executionStack>
    <inputbuf>

 WITH Activitys AS (
 SELECT N'169489381063868436' AS Id,N'Name-2' AS Name,1 AS Version  
UNION ALL 
 SELECT N'169489381059674113' AS Id,N'Name-2' AS Name,1 AS Version  
UNION ALL 
 SELECT N'169489381013536784' AS Id,N'Name-2' AS Name,1 AS Version  
UNION ALL 
 SELECT N'169489381017731089' AS Id,N'Name-2' AS Name,1 AS Version) 
UPDATE S
SET S.Name = T.Name,
S.Version = S.Version + 1
FROM dbo.ActivityDto S JOIN Activitys T ON S.(Id)=T.(Id) AND S.(Version)=T.(Version);
 IF @@ROWCOUNT=4 BEGIN SELECT CAST(0 AS BIGINT) AS Id,0 AS Version END ELSE BEGIN
 WITH Ids AS (
 SELECT N'169489381063868436' AS Id 
UNION ALL 
 SELECT N'169489381059674113' AS Id 
UNION ALL 
 SELECT N'169489381013536784' AS Id 
UNION ALL 
 SELECT N'169489381017731089' AS Id) 

 SELECT S.Id,S.Version FROM dbo.ActivityDto S  JOIN Ids T ON S.(Id)=T.(Id) END    </inputbuf>
   </process>
   <process id="process295a1298ca8" taskpriority="0" logused="0" waitresource="KEY: 14:72057594042122240 (075b1091eea1)" waittime="2826" ownerId="59071581" transactionname="UPDATE" lasttranstarted="2021-04-12T16:50:19.353" XDES="0x2959a542e58" lockMode="U" schedulerid="9" kpid="5136" status="suspended" spid="139" sbid="2" ecid="0" priority="0" trancount="2" lastbatchstarted="2021-04-12T16:50:19.337" lastbatchcompleted="2021-04-12T16:50:19.343" lastattention="1900-01-01T00:00:00.343" clientapp="Core .Net SqlClient Data Provider" hostname="FENGL-PC" hostpid="1294251125" loginname="sa" isolationlevel="read committed (2)" xactid="59071581" currentdb="14" lockTimeout="4294967295" clientoption1="671088672" clientoption2="128056">
    <executionStack>
     <frame procname="adhoc" line="2" stmtstart="6" stmtend="1258" sqlhandle="0x020000006468c32fdcd8118755392016036171d4d3a33c1d0000000000000000000000000000000000000000">
unknown     </frame>
    </executionStack>
    <inputbuf>

 WITH Activitys AS (
 SELECT N'169489381063868437' AS Id,N'Name-2' AS Name,1 AS Version  
UNION ALL 
 SELECT N'169489381013536775' AS Id,N'Name-2' AS Name,1 AS Version  
UNION ALL 
 SELECT N'169489381013536789' AS Id,N'Name-2' AS Name,1 AS Version  
UNION ALL 
 SELECT N'169489381063868431' AS Id,N'Name-2' AS Name,1 AS Version  
UNION ALL 
 SELECT N'169489381009342465' AS Id,N'Name-2' AS Name,1 AS Version  
UNION ALL 
 SELECT N'169489381097422858' AS Id,N'Name-2' AS Name,1 AS Version) 
UPDATE S
SET S.Name = T.Name,
S.Version = S.Version + 1
FROM dbo.ActivityDto S JOIN Activitys T ON S.(Id)=T.(Id) AND S.(Version)=T.(Version);
 IF @@ROWCOUNT=6 BEGIN SELECT CAST(0 AS BIGINT) AS Id,0 AS Version END ELSE BEGIN
 WITH Ids AS (
 SELECT N'169489381063868437' AS Id 
UNION ALL 
 SELECT N'169489381013536775' AS Id 
UNION ALL 
 SELECT N'169489381013536789' AS Id 
UNION ALL 
 SELECT N'169489381063868431' AS Id 
UNION ALL 
 SELECT N'169489381009342465' AS Id 
UNION ALL 
 SELECT N'169489381097422858' AS Id) 

    </inputbuf>
   </process>
  </process-list>
  <resource-list>
   <keylock hobtid="72057594042122240" dbid="14" objectname="DbTest.dbo.ActivityDto" indexname="PK_ActivityDto" id="lock296177e3c80" mode="U" associatedObjectId="72057594042122240">
    <owner-list>
     <owner id="process295a1298ca8" mode="U"/>
    </owner-list>
    <waiter-list>
     <waiter id="process29617519088" mode="U" requestType="wait"/>
    </waiter-list>
   </keylock>
   <keylock hobtid="72057594042122240" dbid="14" objectname="DbTest.dbo.ActivityDto" indexname="PK_ActivityDto" id="lock295ac129d80" mode="U" associatedObjectId="72057594042122240">
    <owner-list>
     <owner id="process29617519088" mode="U"/>
    </owner-list>
    <waiter-list>
     <waiter id="process295a1298ca8" mode="U" requestType="wait"/>
    </waiter-list>
   </keylock>
  </resource-list>
 </deadlock>
</deadlock-list>

Activitydto table script

CREATE TABLE (dbo).(ActivityDto)(
    (Id) (bigint) NOT NULL,
    (ProcInstId) (bigint) NULL,
    (Name) (nvarchar)(500) NULL,
    (Version) (int) NULL,
 CONSTRAINT (PK_ActivityDto) PRIMARY KEY CLUSTERED 
(
    (Id) ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON (PRIMARY)
) ON (PRIMARY)
GO

I looked at two SQL statements and found no duplicate key, So I don’t understand what this is. Please let me know

2021-04-12 add:

lock res

waitresource="KEY: 14:72057594042122240 (aff034961e05)"

lockResKey Id ProcInstId
(aff034961e05) 169489381013536784 169489376328499300

waitresource="KEY: 14:72057594042122240 (075b1091eea1)"

lockResKey Id ProcInstId
(075b1091eea1) 169489381059674113 169489376324304968

execution plan:

https://www.brentozar.com/pastetheplan/?id=Hyd-39WUd

Explain SQL:
I will combine multiple pieces of data that need to be updated to form an update table, and then connect them together to do the update operation. If the number of affected rows is equal to the number of rows that I need to update, it means that all data updates are successful. If not, it means that some data updates fail. I need to query the current status of the data and return it to the program

thank

How add a custom layout to show in the select of page ( Custom Layout Update)

i have a page with URL my-name and create a block, but where create a file in /app/design/frontend/Vendor/theme/Magento_Cms/layout/cms_page_view_selectable_my-name_myname.xml i need relationship the block with my page in that select page.

DreamProxies - Cheapest USA Elite Private Proxies 100 Private Proxies 200 Private Proxies 400 Private Proxies 1000 Private Proxies 2000 Private Proxies ExtraProxies.com - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies ProxiesLive Proxies-free.com New Proxy Lists Every Day Proxies123