Should I complie software after making all the variable and function names “1-2 character”?

In JavaScript, it seems common for the official release of the code to use only single-character variable and function names (of course, after converting the original code which uses clearer names) in order to make the code more obscure. I’ve seen people reverse engineering software to find what seems to be the original variable (and maybe even function) names in the binaries. That helps people with debugging and developing their own code snippets to modify the software. However, it can also make it easier for malicious personnel to interpret and make malware for the code.

Is it a good idea to convert all variable and function names to single- (or double-) character names like with JavaScript before compiling to make the binaries more obscure (and I think a bit shorter too), which in turn makes it harder to reverse engineer?

URL Character Counting – Where to start counting?

I’m rewriting URLs for a website, I know it could affect SEO, but I’ve no choice but to rewrite them, and 301 redirect the old ones to their new URLs. I want to try to keep the new URLs short and to the point.

When I’m counting the total number of characters in a URL, I shouldn’t include the protocol https:// in my character count, right? Should include every character including dots, hyphens, slashes etc, after the initial https:// or something else? I’m assuming I count characters like I’ll show in an example below, but want to check, please.

example.com/product/shoes 

Would count as a total of 25 characters, right?

How to track character resources (spells, ammo, items)

I am playing a Wizard in a pathfinder game and despite several different reworks of his character sheet I’ve still not found a decent way to track his daily spells which can change daily (plus how many used) when some can be reused (pearl of power, resting, etc) and one/many shot daily items (hand of the apprentice)

I have an android phone and see this as a potential way to stop scribbling/crossing out/erasing/etc on the character sheet, so…

What is a good way/app of tracking character renewables and expendables, preferably on an Android; but a good paper based solution (that handles spell changes) would be good as well?

It would have to:

  • Provide a way to indicate how many times said resource can be used per day
  • Allow it to be changed, if a new spell/item/resource/potion becomes available
  • Allow said resource to be reused again (remove checkmark, or suchlike)

This is for Pathfinder, but is probably applicable to any system with resources to keep track of.

Character development suggestions for a low Dexterity character?

I read in some book (forget which) that players should use a low ability score as an opportunity for character development; for example, a low Con character could have insecurities and be very defensive about always getting tired/weak, and as a result seldom asks for help.

Similarly, how could you turn a low Dex score into an interesting character trait?

What is the maximum amount of melee weapon attacks a character can make reliably every turn?


Partially inspired by (but distinct from) this question.

I have a character concept for a character that make several attacks every turn like whirlwind of blades so I was wondering what the maximum number of melee weapon attacks a single character could make in one turn every turn. (So no consumable resources like spell slots or action surge.)

Stipulations:

  • Must be reliable and repeatable ad infinitum. (over and over again without end)
  • Must not rely on any consumable resources such as spell slots or action surge unless you have a way to not run out of the resource.
  • Hit or miss doesn’t matter. If your strategy relies on hitting provide counts for both with and without hitting.
  • Must be able to be accomplished by a single character with no help from another.
  • Must not require any magic items.
  • You can use any weapon provided it’s not a magic item and is a melee weapon (and is being used as one).
  • You make take any needed feats provided they come from a racial ability (like variant human) or are taken in place of an ASI
  • Assume there is only a single target.

The most I have come up with is dual wielding light one handed weapons as a level 20 fighter. This grants 4 attacks in a normal action plus one bonus action attack.

How to make the game exciting for someone playing a child character?

I will be running a game of Dark Ages: Mage for a friend. She says that she has trouble associating herself with a character when the character is immediately thrown into the adventure. After some discussion, I decided to make her play as a ten-year-old character who has recently inherited a barony from her father. I have never run a game with a child character before so I wanted to come here and ask about it.

For clarifications sake. The campaign is set at the principality of Leon in the year of 913. As for the player the player wishes to become a master of intrigue rising up in the ranks of nobility with some warfare added into the mix. Also the player has confirmed the fact that she wanted to play as a child character though she decided to play a male character.

How can I make the game exciting for the player playing that character?

Server preventing colon character from being used

I have discovered an input field which accepts <img> and <h1> tags. I tried to use the events like onmouseover which is being stripped from the tag.

Example: If the input is <img src="a" onmouseover="alert(1)"> , the response is <img src="a">.

So it is not just for a single event, even an attribute like “onx” is being stripped off. Hence I tried to use the payload:

<img src="javascript:alert(1)"> 

Surprisingly, now the response is <img> which shows that this happens due to the character colon (:). If I use something like

<img src="javascript_alert(1)"> the response is given back the same way.

Is there anyway to bypass this?

Does immunity to fear prevent a mummy’s Dreadful Glare from paralyzing a character?

A Mummy has an ability called Dreadful Glare:

The mummy targets one creature it can see within 60 feet of it. If the target can see the mummy, it must succeed on a DC 11 Wisdom saving throw against this magic or become frightened until the end of the mummy’s next turn. If the target fails the saving throw by 5 or more, it is also paralyzed for the same duration. A target that succeeds on the saving throw is immune to the Dreadful Glare of all mummies (but not mummy lords) for the next 24 hours.

The Berserker Barbarian has the Mindless Rage feature:

Beginning at 6th level, you can’t be charmed or frightened while raging. If you are charmed or frightened when you enter your rage, the effect is suspended for the duration of the rage.

Say a Mummy uses its Dreadful Glare action on a Barbarian who is currently raging and has the Mindless Rage feature. What happens if the Barbarian fails their save by 5 or more? Does the Barbarian become paralyzed because they failed their save so badly? Or are they unaffected because they are immune to fear and the two conditions must be applied together?