samsung – Unknown “keyhole gallery icon” sometimes appears on lock screen?

Sometimes on my lock screen, an icon with what looks like a keyhole and some sort of gallery-related image appears for a few seconds and then disappears. It happens randomly when I turn on the screen on my phone. It shows among the other notification icons in the middle of the lock screen, and it always disappears by itself after a few seconds even if I don’t unlock the phone.

Samsung keyhole gallery icon

The phone is a Samsung Galaxy S10.

I can’t find any settings or apps that seem related or that have this icon, and I can’t find the icon when Googling either.

spells – When can you “resist” a dimensional lock?

The spell Dimensional lock has the following description :

You create a shimmering emerald barrier that completely blocks
extradimensional travel. Forms of movement barred include astral
projection, blink, dimension door, ethereal jaunt, etherealness, gate,
maze, plane shift, shadow walk, teleport, and similar spell-like
abilities. Once dimensional lock is in place, extradimensional travel
into or out of the area is not possible.

A dimensional lock does not interfere with the movement of creatures
already in ethereal or astral form when the spell is cast, nor does it
block extradimensional perception or attack forms. Also, the spell
does not prevent summoned creatures from disappearing at the end of a
summoning spell.

It also says :

Spell Resistance yes

When are you supposed to check for spell resistance ?

  • When you are trying to “force” the lock by using an extradimensional way of travel ?
  • When the designated “point in space” is positionned on a creature ?

Area 20-ft.-radius emanation centered on a point in space

Is Windows safe from BadUSB/Rubber Ducky on lock screen?

If there’s computer with the login screen on, will plugging BadUSB/Rubber Ducky infect PC? Or is it only possible when you log in to Windows?

lock – this task is currently locked by a running workflow and cannot be edited. sharepoint 2013

I have faced this issue my self. When it has happened to me it was caused by a secondary workflow running on the task list.

The Root of the Issue

For instance if you have a secondary workflow (say to set the due dates, or send emails) automatically running on the task list when a task is created, that can cause the locked by another workflow error. Then if you try and complete the task before it unlocks the task it will be locked forever. From my experience even after the workflow running on the task says it is completed, the service the checks and unlocks the task may not have run yet.

You can check that the task is unlocked by going to the workflow history (or the task list associated) of the primary workflow/task, and check if the locked task says “Not Started” or “In Progress” under status. If it is “Not started” that means the task is locked still and you will get that error.

Possible Solutions

The only real solution I have found has been to no use a secondary workflow, or wait until the task becomes unlocked (which sometimes takes extremely long times depending on how bogged down the task service is).

When will we encounter gimbal lock in unity

The gimbal lock should be in the same gimbal system, right?

In my tests, every time I call the transform.rotate() function, Unity determines a gimbal system based on the current local coordinate system. So let’s say I call transform.rotate() twice, just two separate gimbal, and they don’t interfere with each other, right?

I know that when I adjust the value in the Inspector, the gimbal lock will appear, because no matter how you adjust it, it’s in the same gimbal system.

Now my question is if we’re going to encounter other gimbal locks in game development. If so, can you give me one or two examples?

I am not sure if my understanding is correct, if I have any mistakes, please point them out.

Thanks.

python 3.x – Usar Lock() em pyhon para não compartilhar dados entre Threads

Tenho um aplicativo que abre cerca de 25 Threads, ao acessar um método, eventualmente uma thread “rouba” as informações de outra, oq causa erros críticos no sistema.

Estou tentando travar o acesso ao método por Lock() mas não estou conseguindo.

from threading import Thread, Lock, get_ident

def calc(valor1, valor2):
    
    lockCalc = get_ident()
    lockCalc = Lock()
    lockCalc.acquire()    
    
    diferenca = round((valor2 - valor1), 2)

    lockCalc.release()
    return diferenca

dnd 5e – What happens when you use the knock spell on an object with a magical lock that isn’t specifically arcane lock?

The knock spell’s description reads:

Choose an object that you can see within range. The object can be a door, a box, a chest, a set of manacles, a padlock, or another object that contains a mundane or magical means that prevents access.

A target that is held shut by a mundane lock or that is stuck or barred becomes unlocked, unstuck, or unbarred. If the object has multiple locks, only one of them is unlocked.

If you choose a target that is held shut with arcane lock, that spell is suppressed for 10 minutes, during which time the target can be opened and shut normally.

When you cast the spell, a loud knock, audible from as far away as 300 feet, emanates from the target object.

As far as I see it, the description of the knock spell describes 4 things:

  • What the knock spell can target.
  • What happens if the knock spell targets something locked by a mundane lock, or is stuck or barred.
  • What happens if the locking mechanism is specifically the spell arcane lock.
  • The spell creates noise.

Valid spell targets include magical locks. But it doesn’t seem the spell says what it does when such a target is selected (except for create a loud knock sound). This is the case, unless a magical lock is considered ‘stuck’ in which it is according to the spell the lock would be unstucked.

However, the spell says what it does to stuck things where it specifies what happens to a target that is held shut by a mundane lock, or stuck or barred. If magical locks were considered stuck, there wouldn’t have been any need to specifically say what happens to a mundane lock, because it would apply to non-mundane locks too.


I originally asked this question here, but the question unfortunately got edited into a different question. The answer there addresses the question it got edited to. So I feel it is appropriate readdress the main issue in a new thread. For this reason, I don’t think this is a duplicate question, even though I copied the majority of the content of this question from that thread.

dnd 5e – What happens when you use the knock spell on an object with a lock that is magical but isn’t specifically arcane lock?

The knock spell’s description reads:

Choose an object that you can see within range. The object can be a door, a box, a chest, a set of manacles, a padlock, or another object that contains a mundane or magical means that prevents access.
A target that is held shut by a mundane lock or that is stuck or barred becomes unlocked, unstuck, or unbarred. If the object has multiple locks, only one of them is unlocked.

If you choose a target that is held shut with arcane lock, that spell is suppressed for 10 minutes, during which time the target can be opened and shut normally.

When you cast the spell, a loud knock, audible from as far away as 300 feet, emanates from the target object.

As far as I see it, the description of the knock spell describes 4 things:

  • What the knock spell can target.
  • What happens if the knock spell targets something locked by a mundane lock, or is stuck or barred.
  • What happens if the locking mechanism is specifically the spell ‘arcane lock.’
  • The spell creates noise.

Valid spell targets include magical locks, but they aren’t a mundane lock, and we have good grounds to presume they aren’t limited to the arcane lock spell either.

Is something locked by a magical lock considered stuck for the purpose of what happens to a stuck object? This would be strange to me because why then do they specify mundane lock. Moreover the part referring to things that locked by a mundane lock, stuck, or barred seems to have an inclination towards the mundane (non-magical), are there magical means of making something stuck which would be included in this description? If so, what is the line between being magically locked and magically stuck?

Is the creation of noise the only result for using the knock spell on a magical lock that isn’t arcane lock?


I’m interested in the answer to this because I’m wanting to break out the dimensional shackles infusion on my artificer. Dimensional shackles seem to be magically locked for all intents and purposes. Moreover the item is designed to prevent teleportation, among any humanoid they were probably made for mages, can a mage simply open them with knock?

interactive – Lock focus on cell / Identify reason for loss of focus

The code at the end of this post is a snake game. It’s a Dynamic Graphics wrapped in an EventHandler that responds to arrowkeys. A ScheduledTask does the logic five times a second. I hit shift-enter to create it, and click the Graphics with my mouse (border turns orange) to start controlling it.

However, once the score hits 10, the Notebook is no longer focused on the cell (border no longer orange) and key input stops. Loss of focus also happens if I uncomment the bezier curve drawing — perhaps excess computation in the task is causing it. Something that continually directs focus to the particular cell, i.e. having FrontEnd`MoveCursorToInputField in updatetask is not desired; I want to prevent unintentional loss of focus. Functions to help track focus in the Notebook would be useful too.

ClearAll(food, snake, dir, lastdir, updatetask, empty, 
reserverandomlocation, reserve, score)
empty = Flatten(Table({i, j}, {i, 0, 9}, {j, 0, 9}), 1);
reserve(point_) := (empty = DeleteCases(empty, point); point); 
reserverandomlocation() := reserve@RandomSample(empty, 1)((1)); food =
  reserverandomlocation(); snake = {reserverandomlocation()}; dir = 
{Cos@#, Sin@#} &@((RandomInteger(3) (Pi))/2); lastdir = {0, 
  0}; score = 1; updatetask = 
 SessionSubmit(
  ScheduledTask(lastdir = dir; 
   With({new = (Mod(#, 10) &) /@ (snake((1)) + dir)}, 
    If(food == new, ++score; food = reserverandomlocation(), 
     AppendTo(empty, Last@snake); snake = Most@snake); 
    If(MemberQ(snake, new), dir = {0, 0}; TaskRemove@updatetask, 
     PrependTo(snake, reserve@new))), Quantity(.2, "Seconds")));
EventHandler(
 Dynamic@Graphics({{Blue, snake, Red, food, Black, 
      empty} /. {a_ /; NumericQ@a, b_ /; NumericQ@b} :> 
      Rectangle({a, b}, {a + 1, b + 1}), Black, 
    If(dir == {0, 0}, Text("dead", snake((1)) + {1/2, 1/2}), 
     Arrow({# - dir/3, # + dir/3} &(snake((1)) + {1/2, 1/2}))), 
    Text(ToString(score), food + {1/2, 1/2})(*,BezierCurve(#+{1/2,1/
    2}&/@#)&/@Split(snake,Norm(#-#2)(LessEqual)Sqrt(2)&)*)}), 
 MapThread(#2 <> "ArrowKeyDown" :> 
    If(Norm(# - lastdir) < 2, dir = #) &, {CirclePoints({1, 0}, 
    4), {"Right", "Up", "Left", "Down"}}))

P.S. how do you input grave in code? Certainly not like this &#96;.