Is there a balancing issue giving a Wizard a wand capable of casting Illusory Script once per day?

Wizard expressed a desire for a magical wand that could cast the ritual spell Illusory Script without burning a spell slot/ritual slot. I though about giving a wand that can cast the spell once per day. Seems relatively fair for a magical item but not sure if there are any balance implications.

Need help balancing my Homebrew Class (based off Drivers from Xenoblade Chronicles 2) [for 5e] [on hold]

I have been using this class in a campaign and recently and the members of the group have said the Class needs some Balancing, because it is too versatile. Which, I will admit it is pretty versatile, but that is the way the drivers are in Xenoblade 2. So, I am trying to balance the the features with out removing the core of what makes the Class a Driver. (Somethings to note, this Class only allows for the Driver to have one Blade. I renamed the Game’s terminology of the Blade Special to Blade Arts. I did not build the Class with cooldown or charge times since that can severely limit the Class performance and make things confusing in D&D and I did not use an affinity mechanics, because of how long it can take to build. Plus it would make for a nightmare for the Player and the DM to constantly keep track of.)

I have revised it a bit of help with it from someone from Reddit who was very very good with balancing, but I was hoping to get some more eyes to review it and give me some feed back.

If you have played (Xenoblade Chronicles 2) I would greatly appreciate your help. Even if you haven’t I would appreciate the help.

Here is the Link to the PDF of the Class I have uploaded to my google drive. {https://drive.google.com/file/d/1-bETBqrh_LapNNwJwjTi98Nc0BeqzVbu/view?usp=sharing} I am sorry I am not allowing Downloads or editing, I’ve had some try to steal my ideas before I even had a chance to finish working on them before.

Driver (From Xenoblade Chronicles 2) 5e Class

Warriors of the World of Alrest:

Drivers are people who have been able to access a Core Crystal (can be a technological device or a Magical Mineral Crystal) and awaken a Blade, an artificial life-form filled to the brim with power and the ability to manifest unique weapons. After a Core Crystal has revealed a Blade, the two are bonded until death, becoming partners. The Driver serves as the output for the weapon’s power, while the Blade serves as the power’s source. The Blade itself is an independent being with complete sentience, as they have their own feelings and emotions.

About Blades:

They are weaponized life forms linked to a Driver who creates and summons them by resonating with a Core Crystal. Blades endow their Driver with powers and a weapon. Each Blade plays a different role, owning different stats and an elemental type, such as fire, water (poison), light (radiant), etc. and providing a distinct set of Blade Arts and support abilities depending on its weapon. (This is more for flavor in the game how the attack is done does not change the effect.)

Your Blade can be any gender and race that you can make your Drive character or it can be a Small to Medium sized animal. You can choose all traits of your Blade yourself or you can leave it up to chance for your Blade’s gender. If you want to leave it up to chance you can roll a d6 three times if you get an even number most often it is Female or an odd number most often it is Male. Blades don’t have health they are able to regenerate any part of their body that is injured as long as their Driver is Alive. So, a Blade cannot be killed only restrained or forced unconscious. Blades still need to sleep just like most other creatures with a minimum amount of time being 6 hours. The exhaustion rules apply to blades too, but when they reach the sixth level, they are just incapacitated for two days they don’t die. If a Blade’s Driver Dies, they return to their Core Crystal and lose all their memories. The Blade has the same Ability Scores as it’s Driver, and is immune to being Blinded, Deafened, Petrified, Magical Sleep, and Charmed (Only Loyal to their Driver). During Battle a Blade is able to share the same space as their Driver if he or she desires. Blades do not get their own action, bonus action or reaction, their power is used, but only when the Drive commands and uses their own action, bonus action or reaction to do so. Drivers cannot use Shields while wielding Blade Weapons.

Creating a Driver:

To create a Driver, you can ask yourself these questions. How did you become a driver in the first place? What made you decide to become a driver, or was it forced? What will you use your Blade’s power for? What is your relationship with your Blade?

Quick Build:

You can make a Driver quickly by following these suggestions. First, Strength or Dexterity should be your highest ability score, you can choose this after you know what type of Blade Weapon you are going to have. Your Charisma should be your second highest ability score though if you are taking the Healer Archetype you might want to consider making it the highest. Second, choose the Soldier, Sage or Far Traveler background. A Half-Elf, Drow, Tabaxi, Kalashtar, Human Variant and Tiefling are good race choices for a Driver.

In case you need some reference material on Drivers

If you have never Played Xenoblade Chronicles 2 here are a few links to the Xenoblade fandom site if you want to look for more information.

https://xenoblade.fandom.com/wiki/Driver

https://xenoblade.fandom.com/wiki/Battle_Arts_(XC2)#Driver_Arts

https://xenoblade.fandom.com/wiki/Battle_Arts_(XC2)#Driver_Arts

Correctly configuring load balancing for TLS session resumption

Consider the following network topology:

Load balancer topology

  1. There are exactly two HTTPS servers, S1 and S2.
  2. There are exactly two HTTPS clients, C1 and C2. Notice this, as there are often many more clients for two servers. But in this case, there are only two clients. (You may ask why? Because C1 and C2 are also servers, serving many clients while being served by S1 and S2 as well.)
  3. There is a load balancer between the clients and server, LB. Here, LB performs load balancing in a round-robin fashion at transport layer (TCP). Therefore, LB does not perform SSL-offloading or anything related to application layer.
  4. The clients request something like https://example.com. The DNS resolves example.com to the IP address of LB, which in turn forwards the packet to either S1 or S2.
  5. LB is configured to route packets in one TCP session (same src port, src address, dest port, dest address) to either S1 or S2, not both. Therefore, S1 and S2 need not be aware of the session information on the other server.
  6. For performance reasons, S1 and S2 can be configured to use TLS session resumption based on either session IDs or session tickets.

The following scenario shows the problem:

  1. C1 connects to https://example.com, and LB sends its traffic to S1. A TLS session is established (full handshake), with sessionID = 123456. After a while, C1 closes the connection.
  2. Some time passes, and C1 connects to https://example.com again. This time, LB sends its traffic to S2. C1 offers to use sessionID = 123456, but S2 does not know this sessionID. So, S2 asks to set sessionID to something different, say sessionID = 789abc (full handshake). After a while, C1 closes the connection.
  3. Some time passes, and C1 connects to https://example.com yet another time. This time, LB sends its traffic to S1, which does not know sessionID = 789abc. You get the idea: another full handshake occurs.

So, as a client goes back-and-forth between the servers, a full handshake occurs every time, and the performance is impacted.

What is the correct way to handle this scenario, so that the clients do not perform a full handshake in every new connection?

PS: If I had many clients, I’d configure LB to stick one client to one server for some amount of time. However, since there are only two clients, that would impact performance as well.


Edit: The link I cited above explains this, which I don’t fully understand:

In practice, deploying session tickets across a set of load-balanced servers also requires some careful thinking and systems architecture: all servers must be initialized with the same session key, and an additional mechanism is required to periodically and securely rotate the shared key across all servers.

Best Seo Tips For Content Writing with Balancing Creativity and SEO

In the realm of search engine optimization (SEO), content is king. Be it website copy, blog posts or guest posting, content is an integral part of effective SEO. However, not all content you create brings glory to your business. Unique, high-quality content blended with creativity supports SEO efforts. Content Writing with Balancing Creativity and SEO

Load balancing with IPTabels not working

I have a Ubuntu server (19.04 / 5.0.0-15-generic) with three interfaces.

eth0: LAN  (192.168.10.253/24)   eth1: WAN1 (172.29.13.201/24, gateway .253)   eth2: WAN2 (172.29.14.201/24, gateway .253)   

When I run the following script at Debian (9.9 / 5.0.0-15-generic), the load-balancer is working. I get a 20/20+20/20= 40/40 connection.

However, when I this same script at Ubuntu. The load-balance is working, traffic is natted over eth1 and eth2. But the returning traffic never reach the client, I see the returned traffic in eth1 and eth2, but not in eth0.

I use the following script to set the iptables and the IP-Routes.

#!/bin/bash  echo 1 >| /proc/sys/net/ipv4/ip_forward echo 0 >| /proc/sys/net/ipv4/conf/all/rp_filter  #   flush all iptables entries iptables -t filter -F iptables -t filter -X iptables -t nat -F iptables -t nat -X iptables -t mangle -F iptables -t mangle -X iptables -t filter -P INPUT ACCEPT iptables -t filter -P OUTPUT ACCEPT iptables -t filter -P FORWARD ACCEPT  # initialise chains that will do the work and log the packets iptables -t mangle -N CONNMARK1 iptables -t mangle -A CONNMARK1 -j MARK --set-mark 1 iptables -t mangle -A CONNMARK1 -j CONNMARK --save-mark iptables -t mangle -A CONNMARK1 -j LOG --log-prefix 'iptables-mark1: ' --log-level info  iptables -t mangle -N CONNMARK2 iptables -t mangle -A CONNMARK2 -j MARK --set-mark 2 iptables -t mangle -A CONNMARK2 -j CONNMARK --save-mark iptables -t mangle -A CONNMARK2 -j LOG --log-prefix 'iptables-mark2: ' --log-level info  iptables -t mangle -N RESTOREMARK iptables -t mangle -A RESTOREMARK -j CONNMARK --restore-mark iptables -t mangle -A RESTOREMARK -j LOG --log-prefix 'restore-mark: ' --log-level info  iptables -t nat -N SNAT1 iptables -t nat -A SNAT1 -j LOG --log-prefix 'snat-to-172.29.13.201: ' --log-level info iptables -t nat -A SNAT1 -j SNAT --to-source 172.29.13.201  iptables -t nat -N SNAT2 iptables -t nat -A SNAT2 -j LOG --log-prefix 'snat-to-172.29.14.201: ' --log-level info iptables -t nat -A SNAT2 -j SNAT --to-source 172.29.14.201  #   iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE # iptables -t nat -A POSTROUTING -o eth2 -j MASQUERADE   # restore the fwmark on packets that belong to an existing connection iptables -t mangle -A PREROUTING -i eth0 \      -m state --state ESTABLISHED,RELATED -j RESTOREMARK   # if the mark is zero it means the packet does not belong to an existing connection iptables -t mangle -A PREROUTING -m state --state NEW \      -m statistic --mode nth --every 2 --packet 0 -j CONNMARK1 iptables -t mangle -A PREROUTING -m state --state NEW \      -m statistic --mode nth --every 2 --packet 1 -j CONNMARK2   iptables -t nat -A POSTROUTING -o eth1 -j SNAT1 iptables -t nat -A POSTROUTING -o eth2 -j SNAT2  if ! cat /etc/iproute2/rt_tables | grep -q '^51' then     echo '51     rt_link1' >> /etc/iproute2/rt_tables fi  if ! cat /etc/iproute2/rt_tables | grep -q '^52' then     echo '52     rt_link2' >> /etc/iproute2/rt_tables fi  ip route flush table rt_link1 2>/dev/null ip route add 172.29.13.0/24 dev eth1 src 172.29.13.201 table rt_link1 ip route add default via  172.29.13.253 table rt_link1 ip route flush table rt_link2 2>/dev/null ip route add 172.29.14.0/24 dev eth2 src 172.29.14.201 table rt_link2 ip route add default via 172.29.14.253 table rt_link2  ip rule del from all fwmark 0x1 lookup rt_link1 2>/dev/null ip rule del from all fwmark 0x2 lookup rt_link2 2>/dev/null ip rule del from all fwmark 0x2 2>/dev/null ip rule del from all fwmark 0x1 2>/dev/null  ip rule add fwmark 1 table rt_link1 ip rule add fwmark 2 table rt_link2   ip route flush cache  

traffic load balancing for openvpn

I want to make a openvpn tunnel that one client to multiple servers.

I found a way:

remote-random remote server1 remote server2 

However, this load balancing method of openvpn is to randomly select one from the server list each time the tunnel is connected. Once a server is selected, the tunnel will not change.

What I want is load balancing for traffic, such as the first http request sent through server1, and the second http request may be sent through server2. Is there any way to do this on openvpn?

Thanks.

Balancing homebrew magic items for my players

Warning for my players: Ayla, Lothar, Okazaki and Agmar: GTFO spoilers ahead!!

So I created some magic items and I want to know if I made them about equally, I’m aware these are probably broken, what I want to know is are the about the same in terms of power, practicality, thematic and fun over all. All of them require attunement.

For barbarian, totem warrior, basic brute who loves smashing I made Maul of conqueror: he absorbs enemy strength. If he gets killing blow he can use the slain enemy’s strength score instead of his own until he finishes long rest. If he kills a giant kin the strength becomes permanent. that’s the simplest one

next is the monk, open hand, loves to pick losing fights, he gets Grit of the underdog (fist weapon): this one evolves in stages

+1 to attack rolls and damage, you score critical hit on rolls 19-20. Additionally when you score a crit or your opponent score crit on you, you regain 1 ki point. If the number of ki points exceed your Monk level you lose all extra points after short or long rest

+2 you can spend 1 ki point to heal yourself. Spend 1 hit die and add your constitution modifier. you can use this even when unconscious.

+3 spent 5 ki points, for next minute you can add your opponent’s Strength bonus to your damage rolls

-Since he often saves ki points he rarely uses them and ends up not spending them.

for swashbuckler rouge, likes fancy stuff, plans to multiclass into fighter to get fighting style and riposte as battle maneuver. Basically Cabal’s ruin (I couldn’t think of cool armor that boosts riposte so I copied Matt T.T) but he +1/+2/+3 to AC to improve chances to riposte:

+1 Cabal’s Ruin has 4 charges, and regains 1d4 expended charges daily at dawn. When the wearer is targeted by an enemy’s spell, they can use their reaction to have the cloak swallow part of the spell. The cloak gains a number of charges equal to the spell level of the triggering spell. The wearer is still subject to whatever effects the spell would normally inflict on them. The ability cannot be used again until they finish a short or long rest. When the wearer hits with an attack, they can choose to expend any number of charges from the cloak, dealing an additional 1d6 lightning damage per charge expended, which is inflicted on the target of that attack. If the attack strikes multiple targets, the wearer must choose one target from the group to be subject to this damage.

+2 Cabal’s Ruin grants the wearer advantage on all saving throws against spells and other magical effects. The cloak’s maximum charges becomes 6, and it regains 1d4+2 charges daily at dawn. When using the cloak’s ability to swallow a spell, the wearer gains resistance to the damage of that spell.

+3 The cloak’s maximum charges becomes 10, and it regains 1d6+4 charges daily at dawn.

And lastly for Beast master ranger, she has a wolf and she kinda feels under powered. Her’s is most complicated and not 100% done. Link of the devourer, 2 piece item, collar and bracelet must be equiped by both companion and ranger:

Base form- when you cast a spell with a range of touch, your companion can deliver the spell as if it had cast the spell. Your companion must be within 100 feet of you, and it must use its reaction to deliver the spell when you cast it. If the spell requires an attack roll, you use your attack modifier for the roll.

Evolved form- the bond with companion evolves beyond natural. When either you or your companion take damage, you can chose which one of you takes the damage. Damage must be transfered whole and cannot be split betwen the two.

Ascended form- your link is complete, you are always aware how far your companion is away from you and in which general direction. While your companion is within 100 feet of you, you can communicate with it telepathically. Additionally, as an action, you can see through your companion’s eyes and hear what it hears until the start of your next turn, gaining the benefits of any special that the companion has. During this time, you are deaf and blind with regard to your own senses.

now for complicated part: based on what companion devours it gains traits of it’s prey, the traits also apply to you. you can switch unlocked forms during short rest.

Feral form: devour Beast to unlock. Use dire wolf stat block for companion, Ranger gets +10ft speed and temporary hit points equal to character level

Fey form: devour Fey to unlock. Use blink dog stat block for companion, Ranger gets +2 to Charisma, can cast invisibility without spending a spellslot once per short rest

Dragon form: Apply dragon template from monster manual to companion, Ranger gets +1 to AC, resistance to elemental damage based on dragon’s color and can add 1d6 of same elemental damage to damage rolls

Fiend form: not finished

Abberation form: not finished

Celestial form: not finished

So that is basically it. Any Ideas if some of them are more powerfull than the others, did they follow the theme and any ideas for 3 remaining forms forms??

How to compose load balancing and circuit breaking for external data source

So I have this issue. My website uses data, that is scraped from a different site – sports results. This data can update in relatively random intervals, but I do not care if my data is a bit stale – it does not have to be instant, but it should update on some regular basis.

At the same time, I cannot just cache the responses from the external site -> I process them and import into a graph database so that I can do other analytics over them.

I would like to have a system like this:

interface IDataSource {  public function getData(): array; }  class ExternalDataSource implements IDataSource { // gets data from the external website - the ultimate source of truth }  class InternalDataSource implements IDataSource { // gets data from my own graph database }  class InternalImportDecorator implements IDataSource {   private $  external;   public function __contruct(ExternalDataSource $  external) {     $  this->external = $  external   }    public function getData(): array   {     $  data = $  this-external->getData();     // import the data into my internal DB     return $  data;   } }  class CompositeDataSource implements IDataSource {     public function __construct(ExternalDataSource $  external, InternalDataSource $  internal)     {         $  this->external = new InternalImportDecorator($  external);         $  this->internal = $  internal;     }      public function getData(): array //HERE I NEED HELP     {       if(rand(0, 100) > 95) {//in 95% of the cases, go for internal DB for data - like weighted load-balancer somewhat         //here I need something like "chain of responsibility" in case the internal DB is not yet populated       } else { // go for the external data source, so that I can update my internal data         //what if the external data source is not available? I need a circuit breaker with fallback to internal         //what if I fall back to internal and the internal DB has not yet been populated       }     }  }  

I have a general idea about the code and the composition, I just need help with one method implementation. Or maybe just some nomenclature, how is this situation properly called, so that I can google it myself.

n coin balancing problem

Rank weights of coins with a balance scale

I want to generalized above problem into $ n$ coins.

i.e.,

using balance scale, sort $ n$ coins in order.

Slightly more generalizing the above post, [In that post, they didn’t consider equal weight case] Let’s consider, when we balance scale, there are three possibilities. [Let a,b the two coins, then a=b, a>b, a

Making trees for $ n=5$ , I obtain the number of weighting is 7.

And by the similar computation [with more effort] I figure out for $ n=6$ , 10 is enough.

How about its generalization to $ n$ ?

At this moment I have no idea how to generalize for $ n$ .

In searching internet, I found one particular arXiv,
1409.0250, but in there analysis is not matched even in $ n=5$ . [For example, I thought the section 4 of that paper is the same case with mine, but it seems not…]