How to prevent a scrollbar with momentum scrolling from hiding itself on iOS Safari?

When you add -webkit-overflow-scrolling: touch; to a scrollable element such as a div for instance, you gain a smoother scrolling experience (native momentum scrolling) but then, you lose the ability to have the scrollbar constantly shown. Because for some obscure reason, Apple decided it’s good UX to hide the scrollbar most of the time.

The problem is that when only 3 items show in your scrollable content and the rest isn’t partially cut, you have no hint telling users that there is a scrollbar and that more items are available.

I would like to know if there is a way to have a scrollable div with momentum scrolling but that never hides itself.

Does the spell Silent Image allow you to cast an image of an empty room, hiding the room’s occupants? [duplicate]

This question already has an answer here:

  • Can you create an illusion of empty space? 3 answers

I am a warlock in a place I am not supposed to be in. I hear someone walking toward the area I am in. I am unsure if they are already close enough to tell that the door is open. I cast Silent Image on the room and present an image of the room with no one in it. They walk past the doorway, perhaps glancing in perhaps not, but do not see me because the silent image is of the room as it would normally appear. They pass by, and after a few moments I continue snooping.

Silent Image Description:

You create the image of an object, a creature, or some other visible phenomenon that is no larger than a 15-foot cube. The image appears at a spot within range and lasts for the duration. The image is purely visual; it isn’t accompanied by sound, smell, or other sensory effects.

You can use your action to cause the image to move to any spot within range. As the image changes location, you can alter its appearance so that its movements appear natural for the image. For example, if you create an image of a creature and move it, you can alter the image so that it appears to be walking.

Physical interaction with the image reveals it to be an illusion, because things can pass through it. A creature that uses its action to examine the image can determine that it is an illusion with a successful Intelligence (Investigation) check against your spell save DC. If a creature discerns the illusion for what it is, the creature can see through the image.


For consideration: Can you create an illusion of empty space?


Does the spell Silent Image allow you to cast an image of an empty room, hiding the room’s occupants in 5E?

Follow-up question: to come

What causes a PC to “come out of hiding”?

By Hiding, I mean the PC has successfully gotten a Stealth check that beats an opponent’s Perception / Passive Perception and is hidden from that opponent.

Other than attacking, which automatically breaks Hiding, and voluntarily coming out of hiding by yelling or, per the Hiding paragraph (under the Dexterity ability checks section) in the SRD/PHB, “knocking over a vase” and similar actions, are there any specific actions that will break Hiding?

The same paragraph noted above says:

In combat, most creatures stay alert for signs of danger all around, so if you come out of hiding and approach a creature, it usually sees you. However, under certain circumstances, the DM might allow you to stay hidden as you approach a creature that is distracted, allowing you to gain advantage on an attack roll before you are seen.

The part that says “if you come out of hiding” seems open to interpretation, but from what I can find in the rules only the voluntary breaking/dropping of Hiding, or attacking, will break the effect. I can’t find anywhere where the rules say “leaving cover” will cause Hiding to break, nor can I find anything indicating that taking damage from an AOE would have any effect on the Hiding status of a target.

Are there any rules specific situations where Hiding is negated other than what is noted above?

I’d like to see if the sages here might have more insight into this.

Modern Site Page – Hiding total page Views and Like option in Office 365 SP Online

I have noticed this new feature in SharePoint Modern Site pages in my O365 SP Online site. Can someone tell me on what basis this page-view is calculated (e.g – weekly, monthly or it shows the total page views since the inception/creation of this modern site page.? Also, I want to hide these from other site users. How can I do so.?

  1. I do not prefer choosing SPFX Application customizer and using CSS to do this. (tried and working)
  2. Though, I am able to remove the “Comment” option by disabling it at edit/publish page level

Refer SS:

Modern Page views

Ways of hiding the reviewer’s identity from the entity being reviewed


Background

Let’s suppose I have a platform much like Yelp, but it’s only for ONE small town (80k inhabitants) and it only has listings of workers, not businesses.

In such a small town, most people are close in the social network. That means that it’s relatively easy for a person to stumble across another.


The problem

If Mary hires John for a job, but then Mary doesn’t like the end result of John’s work and leaves him a bad review on the platform, how to give Mary the option to hide her identity in order to avoid any awkward situation in the case she stumbles across John? Not only awkward situations but also harassment from John, which is a possibility, am I right?

Why just hiding her name doesn’t work:

If John had only one client (Mary) in a long period of time, and then shortly after the job he gets an anonymous bad review, he would do the Math in his head and know the author of the review must be Mary.


My solution

I thought of only releasing anonymous reviews by groups of 2 or more, so that John couldn’t know for sure who is the person behind the review.


The questions

Feel free to answer any one (or all) of these.

  • Have you faced a problem like this? How did you solve it?
  • Can you think of ways I can improve my solution?
  • Is this an old problem I’m not aware of? If so, is there any better solution?

Hiding NickServ password on irssi

On WeeChat, there is a configuration option to hide your NickServ password while entering it (eg. /msg NickServ identify •••••••) but on irssi, there seems to be no such option and it shows your password on the screen as plain text while typing it (eg. /msg NickServ identify password) and someone looking at your screen can see your password. Is there a way to have similar behavior of hiding your password? (other than having it auto run the command on connecting)

What options do my players have for hiding their cart while they enter a dungeon?

To clarify, I am running my first ever DnD 5e campaign for a completely new party and we’re doing Lost Mines of Phandelver. My party have just decided that they wish to go to cragmaw hideout following the ambush and they – through a lot of struggle – managed to get the cart with them. After dealing with the goblins outside the cavdern, they now planning on going into the hideout but I believe they have forgetten about their cart, we stopped the session here.

Now, since my players are all new and they have indeed forgotten about their cart, I do plan on prompting them to think about it. I suppose they could decide to just leave the cart outside, or to cover it up with the thickets but then what about the oxen? If they do leave it somewhere that it is obviously going to be then I would like there to be some consequence for this.

To the question then, what can I prompt my players – if anything – to do with the cart and oxen?

If they don’t do something to stop the goblins finding it, what is a reasonable thing for the goblins to do?

Thanks in advance.

OOP – Is this data hiding?

I’ve been reading about data hiding and there seem to be slightly different definitions of it, so when trying to come up with a practical example, I’m not sure if I’m doing the right thing.

So far, I got that data hiding protects data from being accessible in an unexpected way. This makes me think of two different cases, but I’m not sure if these actually describe data hiding or I’m describing something else:

  1. Let’s say I have a Gym class and a Member class. The Gym class will have a container of Member object called members. So if I’m using Python, maybe it will be a list of Member. But if I add members to my Gym by doing gym.members.append(new_member) then I’m revealing the actual implementation of my container. This could cause trouble if, for example, at some point I wish to stop using a list and start using a dictionary, since I’d have to find and replace all lines where I’ve appended members. So to avoid this, I’d rather create a method called addMember(self, member) where I can manage my implementation internally, within the Gym class.
  2. The other case is where I don’t want an attribute value to be changed directly, because I need to do some checks before. To extend the first example, let’s say the Member class has also active and a lastPayment attributes where active is a boolean set to True when gym membership is active and to False otherwise, and lastPayment is the date of the last payment made by the gym member. When the last payment was made more than a month ago, then membership is automatically set to active=False and then only when a new payment is made it’s set back to True. This means that the active value shouldn’t be directly changed by doing member.active=False. So in that case I’d protect this attribute by naming it as __active.

So these are two different cases (revealing actual implementation and preventing accidental changes) that I understand to represent data hiding, and I’m not sure if both are just two different examples of data hiding or I have some misconception and I’m describing something else.

Error while hiding field in Edit form SharePoint Online document library

I am getting error message like : Exception calling “ExecuteQuery” with “0” argument(s): “The node to be inserted is from a different document context.”

Can anyone suggest what I am missing here…please fine below code.

#Load SharePoint CSOM Assemblies     Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\ISAPI\Microsoft.SharePoint.Client.dll"     Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\ISAPI\Microsoft.SharePoint.Client.Runtime.dll"             #Config Parameters     $  SiteURL= "SITEURL"     $  ListName="TestBest1"     $  FieldName = "DocumentImportStatus" #Display Name           #Setup Credentials to connect     $  Cred = Get-Credential     $  Cred = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($  Cred.UserName,$  Cred.Password)           Try {         #Setup the context         $  Ctx = New-Object Microsoft.SharePoint.Client.ClientContext($  SiteURL)         $  Ctx.Credentials = $  Cred                 #Get the web, List and Field objects         $  Web=$  Ctx.Web         $  List=$  web.Lists.GetByTitle($  ListName)         $  Field = $  List.Fields.GetByTitle($  FieldName)               #Hide the column from New & Edit forms         $  Field.SetShowInEditForm($  False)          $  Field.SetShowInNewForm($  False)          $  Field.UpdateAndPushChanges($  True)         $  Ctx.ExecuteQuery()                    Write-host -f Green "List Field hidden Successfully!"     }     Catch {         write-host -f Red "Error hiding List Column: " $  _.Exception.Message     }