mutants and masterminds 3e – Can Precise Growth let you grow specific parts of your body?

Could a Precise Growth power be used to grow specific parts of your body more than other parts? (e.g. growing an extra-large liver to counter an Affliction or basically acting as the Elongation effect) If not, is there any RAW way to do this, or how would you house-rule it?

spellcasting – I need help with distance scaling in a homebrew RPG – from “your body” to “the whole planet” in 10 simple steps

Years ago, I developed and play tested a simple RPG system, in which magic-alike powers were driven by 2 parameters, namely Power and Precision. Like, with high precision and minimal power you could burn a specific card in a standard 52 cards deck without charring any other card. With high power and minimal precision you could easily burn a house, maybe even a village, but with a risk of burning the wrong one. There were also specific techniques to be used, but that’s besides the point for now.

Playtesting was showing that what we lacked was Distance – how far PC would be able affect things. What we decided would be OK was the non-linear progression from only being able affect one’s own body and the things he touches, to the whole globe. Like, high Precision, high Distance, minimal Power should make a great messenger-type character or seer. Self distance would be good for shapeshifters, touch for healers, etc.

We got this rough sketch we never playtested properly, but it was in storytelling terms and had a big hole in it, and I was wondering if / how to turn it into numerical values, like meters or kilometers. Preferably with a simple equation and not just arbitrary table.

  1. One’s own body
  2. Touch
  3. Immediate area
  4. Village
  5. Town or City
  6. A continent
  7. Whole world

Numerical or not, this progression seems totally uneven. I expect and want each step to be bigger than previous one, but I want them to feel natural, feel “not arbitrary”, for the lack of better words. Sorry, not a native English speaker.

So how to make this progression feel more natural?

By “feel natural” I mean that your average player wouldn’t be shocked or taken aback by it. Ideal answer would point to other systems that already solved similar problem, your own playtested homebrew experiences, or design guidelines from a reputable source I could use. Seeing your specific solution, be it table or equation, is less important than the process that lead to it, or one that confirmed it works.

linux – DKIM Validating Signature, Result = Fail Details: Body Has Been Altered

I have 2 mail server,
Main Mail Server = Microsoft Exchange Server
Secondary Mail Server = Ubuntu Postfix only as SMTP Relay.
The Exchange Server is using Ubuntu Postfix SMTP as Smarthost,
And the problem is Exchange Server need to use thirdparty software to integrate with DKIM.
I used DKIM Exchange(https://github.com/Pro/dkim-exchange) as the third party software,
By following this tutorial https://colinwilson.uk/2017/07/19/setting-up-dkim-for-exchange-server/
But got a problem, when checking DKIM Signature on https://dkimvalidator.com/
I got an Error like this:

DKIM Information:
DKIM Signature
Message contains this DKIM Signature:
DKIM-Signature: v=1; a=rsa-sha256; d=example.com; s=default;
c=relaxed/relaxed; t=1619877233; h=from:subject:to:date:message-id;
bh=iOObCKJdXN6HiMEEGHi3hTEvUHxZe5CdQrWy7paoGeo=;
b=KHjroY6llEGwgpFXQwvTggVvN8pWkRarZfbxPMWZ3J6axLy7fngoJ7VXA/AJB9sc/N+UasENrvy
nflG8WgnKgN12Bh6VHC0xt/2M7SjtOI9CknSg3Bi0EZsYRqD5JJZqBWobNLV51sYbfT0W7KjdOkQX
i5u1sWfV4qskQKyIl48L3M9ktKyYEpZqlkr/a2iEJfVr+eMVrR8VnCbse/ccpZwEMHA5VtdWGh200
F60MITxLG0lYwZQ//RcOOjX9qTEKDxRdbRnFbvagGO7Co39bSyPw9Co6S7K+BI0tVO8Df9uV2H5ee
NqKQJQDZ50VdZLi8wQwSWCiT7gfukJUUsA1g==

Signature Information:
v= Version: 1
a= Algorithm: rsa-sha256
c= Method: relaxed/relaxed
d= Domain: example.com s= Selector: default
q= Protocol:
bh= iOObCKJdXN6HiMEEGHi3hTEvUHxZe5CdQrWy7paoGeo=
h= Signed Headers: from:subject:to:date:message-id
b= Data: KHjroY6llEGwgpFXQwvTggVvN8pWkRarZfbxPMWZ3J6axLy7fngoJ7VXA/AJB9sc/N+UasENrvy
nflG8WgnKgN12Bh6VHC0xt/2M7SjtOI9CknSg3Bi0EZsYRqD5JJZqBWobNLV51sYbfT0W7KjdOkQX
i5u1sWfV4qskQKyIl48L3M9ktKyYEpZqlkr/a2iEJfVr+eMVrR8VnCbse/ccpZwEMHA5VtdWGh200
F60MITxLG0lYwZQ//RcOOjX9qTEKDxRdbRnFbvagGO7Co39bSyPw9Co6S7K+BI0tVO8Df9uV2H5ee
NqKQJQDZ50VdZLi8wQwSWCiT7gfukJUUsA1g==

Public Key DNS Lookup
Building DNS Query for default._domainkey.example.com
Retrieved this publickey from DNS: v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAq4UV1gOKAQ+Gr9BmFSrGZbo3ll16g8itrrEwBckyGRYD2g+DKINm5fUYNUxn2bILpeh3AT2gJnbGydQNc7p02Hia1H/jnKDbvTfvnmcUQGHLQGYsnSgIJM3f+B5qrpyjfNufyrSr4L4YCBUr1o0KoN4p2p97iOr+MQiHY4sYIDPAcsaQ4zpAcxDmmSbtXbbBdYileN7Anpkm9ODJtNNNZzxH68jFI7ioVjInX8G1mWLKP4sxPoTa86R5C/zu97a0agXPusrCd1bWGKPxFhCUvJpFzdICUdLsVo9mEwbB12kpGrplYPgOb6B1YKn3iu/XBezv/8EIjG/N7+hAEz9C1wIDAQAB

Validating Signature
Result = fail
Details: body has been altered

Anyone have the solution for this? The DKIM Record is Valid but DKIM Signature is failing…

8 – body text special characters being escaped on hook_entity_presave

I have this code which I am using to get the body text from a node rewrite it with a regular expression and replace it, (I am replacing all you tube video links with embed codes)

function hook_entity_presave(DrupalCoreEntityEntityInterface $entity) {

  switch ($entity->bundle()) {
    case 'article':

    $node_body = $entity->get('body')->value;

    Drupal::logger('origin-body')->notice($node_body);


    $node_body_replaced = preg_replace('/(?:https://)?(?:http://)?(?:www.)?(?:youtube.com|youtu.be)/(?:watch?v=)?(.+)/', '<iframe width="560" height="315" src="https://www.youtube.com/embed/$1" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>', $node_body);

      Drupal::logger('replaced-body')->notice($node_body_replaced);
      $body_encoded = htmlspecialchars($node_body_replaced, ENT_QUOTES, 'UTF-8');
      //$entity->body = $node_body_replaced;
      $entity->set( 'body',$body_encoded  ); // This appears to be where special characters are getting escaped
      
     break;
  }
}

Both my logger messages show normal text output in the drupal log so I guess it happens somwhere when the node gets saved or $entity->set(). I have tried running through htmlspecialchars() and it does nothing.

For example, I am migrating content from WordPress and after running through this function my normal HTML becomes

<p>lorem ipsum dolar lorem ipsum dolar lorem ipsum dolar lorem
ipsum dolar lorem ipsum dolar lorem ipsum dolar .</p> <!–
/wp:paragraph –>

I am using Drupal 9

flow – How to remove extra line in mail body on using action “Send an email notification (V3)”?

To get rid of the extra line at the end of the “Send an email notification” Flow action simply add the following piece of HTML at the end of your email body:

<div style="display:none !important">
// This area hides the unwanted message at the end of your email

Explanation

We create a div tag, but don’t close it. Tt means all content that is added after this div tag is considered a child content. As the tyle="display:none will hide the div itself and all its child contents.

Sample:

enter image description here

unity – Rotating fps rigid body on the Y axis

I’m currently attempting to make a first person character using a rigid body. I am aware that the character controller exists, but I believe my game will be very physics based so it’s better if my character is a rigid body. I currently can walk, and rotate the camera up and down with the mouse. I am now trying to rotate my character left and right with the mouse, but this requires me to rotate my rigid body, not just the camera. Here’s my code so far.

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Player : MonoBehaviour
{
    (SerializeField) float walkSpeed = 3;
    (SerializeField) float cameraSpeed = 3;

    Vector3 direction;
    float cameraX;

    Rigidbody myRigidBody;
    (SerializeField) Camera myCamera;
    // Start is called before the first frame update
    void Start()
    {
        myRigidBody = GetComponent<Rigidbody>();
    }

    // Update is called once per frame
    void Update()
    {
        direction = new Vector3(Input.GetAxis("Horizontal"), 0, Input.GetAxis("Vertical"));
        cameraX = -Input.GetAxis("Mouse Y") * cameraSpeed;

        myCamera.transform.Rotate(new Vector3(cameraX, 0, 0));
    }
    void FixedUpdate()
    {
        myRigidBody.AddForce(direction * walkSpeed, ForceMode.Acceleration);
    }

I believe that the rigid body function I should use to rotate left and right is MoveRotation (I’m still new to rigid bodies), but I’m open to ideas. MoveRotation uses Quaternions, and I have no idea how to translate my mouse axis into a quaternion.

Here’s my question, How do i implement the Y rotation for my rigid body first person controller? Should I use torque, or somehow directly alter my rotation without using forces? Also, How do i translate the Mouse Axis into something I can use to rotate something? thnx.

mathematics – Predict future position of a moving body in Phaser arcade physics

I am looking for an equation for predicting the future position of a moving arcade physics body in Phaser 3. The body has drag applied and isDamping set to true. Phaser applies the drag using the following run on each update (showing x axis only but same applies to y).

//  Damping based deceleration
dragX = Math.pow(dragX, delta);

velocityX *= dragX;

Given the above, how would I write a kinetic equation to predict the future position?

I am currently using the method below, where I am iterating over frames to calculate the position accumulatively. But this is inefficient and inelegant so would prefer a solution which estimates the position without any looping.

public futurePosition(timeInSeconds: number): Phaser.Math.Vector2 {
  const DELTA = 1 / 60; // Assume we are running at 60fps
  const DRAG = 0.3; // Drag value
  const position = this.position.clone(); // Current position of body
  const velocity = this.body.velocity.clone(); // Current velocity

  // Inefficiently looping through frames
  for (let i = 0; i < timeInSeconds / (DELTA * 1000); i++) {
    velocity.x *= Math.pow(DRAG, DELTA);
    velocity.y *= Math.pow(DRAG, DELTA);
    position.x += velocity.x * DELTA;
    position.y += velocity.y * DELTA;
  }

  return position;
}

Any help appreciated. Thanks.

body mass index (BMI) calculator with cool images

I’m selling my website
body mass index or BMI http://tafsiralahlamibnsirin.com/
This website will help your visitors calculate their BMI (Body Mass Index)

Why this niche is important?
Weight has been one of the things most people have become focused on in later years
The body mass index or BMI as it’s usually shortened is a simple method, devised in order to determine, based on the height and current weight of a person whether or not they need to start working on losing weight fast.

What this site is about?

This website is about Body Mass Index (BMI) which is a measure of body fat based on height and weight that applies to adult men and women. Enter your weight and height using standard or metric measures.
It has two Body Mass Index Calculators, one in English and one in Metric values.
It also generates an image with your status form females and males it’s really cool

How can i use this site?
This can used as separate site , or can used as addon for an existing health website or forum.
the site is very simple and very easy to modify it uses jquey to maintain cross-browser supports.
The sale includes?

  • Website script
  • I will help you to install it
  • Great .com domain name

Additional Features:

  • It uses a light weight script
  • Easily to customize and change
  • It shows your Your BMI
  • It shows you your suggested healthy weight range
  • It shows Your BMI category
  • it gives you information about your BMI category
  • It shows the rate without reloading the page
  • The images are pre-loaded into the users’ computer memory so that it can be instantly accessed when needed
  • The design is very simple to make it easy to use it as a plugin for an existing website or to use it in your own templete

How can i make money?
You can use Adsense or any PPC alternative like Infolinks and Clicksor
you can use Amazon affiliate, clickbank which offer 75% commission
SEMrush

 

pentax – How do I tell if a lens is compatible with a given camera body?

The first task you have to figure out lens compatibility is to find out what lens mount your camera body uses. Pentax 35mm film SLRs and dSLRs use the Pentax K mount.

The second task is to find out what lens mounts the lenses are using, and whether or not it’s Pentax K. That may be harder than it sounds :). But all of the lenses on your list are from 3rd party lens manufacturers (i.e., not someone who makes the same brand of camera), so you have to be extra careful because 3rd party lens manufacturers like Sigma often make the same lens in multiple mounts. And a brand like Vivitar is often used to rebrand many different generic lens manufacturers. You’ll probably have to google each lens model specifically, or look very closely at the sale listings to see if they’re Pentax K. And you may also want to consult a visual lens mount guide like this or this.

The third and final task is to find out how much function the lens will give you. There are often reasons 3rd-party lenses can be found super-cheap on the used market, since OEM camera manufacturers have no vested interest in maintaining compatibility with 3rd-party lenses for functions like autofocus. And a mount like Pentax K or Nikon F, which have been around for decades often can encompass a myriad of quirks and incompatibilities as the mount and its electronic communication has been modified through the years. Googling “Pentax Lens compatibility” resulted in this chart, which charts out Pentax lens compatibility by specific Pentax bodies. And Ricoh themselves have a chart on the functional differences between versions of the K-mount.

It may come down to individually googling each lens with “K-x” to see if someone has mentioned the lens works or doesn’t work (or how much), but it may also be you’re just out of luck and will have to buy the lens to see if it works.

How the property of convergence or divergence of a mathematical function is used in the design of body of a program in a compiler like C

A function in C returns a value how this aspect of C Programming is concern with convergence and divergence of a function in maths.