Which is the correct rules text for Darkvision?

Reading the PHB sections on races, e.g. Dwarf p. 20, it says …

Darkvision. Accustomed to life underground, you have superior vision in dark and dim conditions. You can see in dim light within 60 feet of you as if it were bright light, and in darkness as if it were dim light. You can’t discern color in darkness, only shades of gray.

But at PHB p.184 it doesn’t mention dim lighting conditions, only what Darkvision does in full darkness. It says …

Darkvision: Many creatures in the worlds of D&D, especially those that dwell underground, have darkvision. Within a specified range, a creature with darkvision can see in darkness as if the darkness were dim light, so areas of darkness are only lightly obscured as far as that creature is concerned. However, the creature can’t discern color in darkness, only shades of gray.

So the various character races can see in darkness as if it were dim, and in dim light as if it were bright, whereas "creatures" can only see in darkness as if it were dim?

git reflog is showing plain text password used as a secret texts or files in Jenkins

We are using Jenkins Freestyle Project to the push the changes on the remote server. We are executing shell script on remote host using ssh for it. To pull the changes on remote host, we are using origin url with git username and git password. The credentials should not be visible in plain text in the url that’s why we have stored them in variables using ‘secret text(s) or file(s)’ option of ‘Build Environment’.

The git credentials are not visible to the users who are using Jenkins for other projects but the remote server is showing git credentials in plain text. Any user with ssh access of the remote server is able to run the git reflog command in the project directory.

Port 22 cannot be opened on the server where gitlab is deployed so we cannot use ssh keys method to create the build in Jenkins. We can use only http method to pull the changes.

Is there any way so we could implement to avoid showing the git credentials in plain text in the project directory.

Any idea how to keep this text static

Hi guys,

Do you have any idea how to keep the text above the textarea static when you resize the textarea. It expands by the size of the parent div. My intention is to keep everything centered.

The link: https://test-c3848.web.app/


 <div id=div1>     <div id=div2>         <p>Paste link in the textarea.</p>         <textarea type="text" id="txt"></textarea>     </div> </div> 
Code (markup):

The CSS:

 #div1 {min-height: 10em; position: relative} #div1 #div2 { margin:...
Code (markup):

Any idea how to keep this text static

Are lines what differ machine code programming in a text editor from in memory directly?

I understand that at least theoretically a human could do programming with a given type of machine code in a text editor OR in the memory directly somehow.

I also understand that in a (human invented?) computer memory, in each cell, data is sequential, scattered in addresses each of which contains a word in a fixed size which always contain bit/s to a full capacity.

I am not sure what would theoretically differ machine code programming in a text editor from machine code programming in memory directly; perhaps the very usage of lines ("the absence of sequence", I guess) as available in text editors, is the answer.

Shared Text Content – XSS Safe

I have a bulletin on my site that all valid users have access to (read and write). User input posted to this bulletin is stored in JSON. Because of these qualities there is definitely some concern for XSS. Im hoping to figure out the best way to protect my app and its users when using this feature.

Some thoughts:

Validation – because this is a bulletin/message board I would prefer to allow users access to any character they can type. One user might need to say Boss says "Specials for ages < 12 & > 65 are as follows...". Because of my requirements, validation does not seem possible.

Sansitization – this has the same issues as validation, we would lose functionality.

Encoding – Im fairly new to this and do not know how one might encode user input to make it safe within the DOM (or JSON). If this is the preferred route I am interested in links to documentation or examples.

More Context:

I am adding to the content by doing something similar to the following; where obj is the full entry and message is the user supplied input.

var body = $  ('<p>').text(obj.message); 

Because I am only adding user input in the text context does that mean I can avoid concern?

Lastly, I am newer to using JSON to store user supplied info. I have not been able to find much on JSON security but if you have any topics related to the above, I would appreciate links to documentation.

How to insert text in Table

I have

Table[{i^2, "mod",  i + 1, "=", Mod[i^2, i - 1]}, {i, 3, 4}] 

which gives me

{{9, mod, 4, =, 1}, {16, mod, 5, =, 1}} 

But I want to get

{{9 mod 4 = 1}, {16 mod 5 = 1}} 

How can I get rid of the commas in the output? I can drop the first comma in Table after i^2 but when dropping other commas things get messy. What am I doing wrong? What are the rules? I can’t find anything in Help.