dnd 5e – Why is the Dueling fighting style adding such a big bonus to this damage roll on D&D Beyond?

It is a bug

Well, it is clear that it is a bug. Your calculation is right: it should be +6 damage. You can ask about bugs on D&D Beyond here.

Similar Issue

In the first page, there is a similar issue in this thread.

One staff member has responded:

Unfortunately there is currently a way to select the fighting style option multiple times, though we plan to resolve it.

To resolve it, please go edit the fighting style and move it from ARCHERY to CHOOSE AN OPTION and then repeat until it stays on CHOOSE AN OPTION.

Then select the desired fighting style as normal.

So, it seems it is a problem with Fighting Styles and, when you select it, you may, by accident, select it more than once, so, instead of one instance of “Dueling”, it seems you got 4 instances, stacking a bonus of +8.

stochastic calculus – Solving an Ornstein-Uhlenbeck style SDE

Solve the SDE $frac{dN}{dt}=a N log(frac MN)+sigma NdB_t,$ where $M,a in mathbb{R}$.

Apply Ito’s formula to $ f = log(N)$ gives

df &= frac{partial f}{partial N} dN +frac{1}{2}frac{partial ^2 f}{partial N^2} dlangle Nrangle_t\
&= left(frac{partial f}{partial N}aNlogleft(frac MNright) +frac{sigma^2}{2}frac{partial ^2 f}{partial N^2} right)dt + frac{partial f}{partial N}sigma dB_t\
&=a logleft(frac {M}{N}right)dt+sigma dB_t – frac{sigma^2}{2}dt\
&=left(alog(M) – af -frac{sigma^2}{2}right)dt – sigma dB_t

which looks like an Ornstein-Uhlenbeck SDE. How can I proceed from here?

coding style – Is this enum/trait a good way to implement polymorphic design in Rust?

this is my first post on here, and I’m wondering about a good rust implementation with traits on enum types. I want to know if using an enum w/ a trait as a generator of different code is viable like the one below? Also a couple of things I’m curious about is if there is an overhead with the match statement? Would implementing separate structs be faster?

struct GeneralCell {
    repr: char,
    position: Position,
    cell_type: Cell,

trait InitializeCells {
    fn new(&self, position: Position) -> GeneralCell;

pub enum Cell {

impl InitializeCells for Cell {
    fn new(&self, position: Position) -> GeneralCell {
        match self {
            Cell::Hall => GeneralCell {
                repr: 'H',
                cell_type: Cell::Hall,
            Cell::Empty => GeneralCell {
                repr: 'E',
                cell_type: Cell::Empty,
            Cell::Filled => GeneralCell {
                repr: 'F',
                cell_type: Cell::Filled,

python 3.x – How to style and customize tkinter/guizero menu bar?

I am working with tkinter and guizero and am trying to style the menu bar.

Things I am trying to change

1.Remover the border on menu bar and options.

2.Remove the menu bar top padding(the little space above and on the left side).

3.Active select color for both toplevel/menu bar and options.

from guizero import App, MenuBar
def file_function():
    print("File option")

def about_function():
    print("about option")

app = App(title="My app", height=300, width=500,bg='white')
menubar = MenuBar(app,
                  toplevel=("File", "About"),
                      ( ("New", file_function), ("Save", file_function)),
                      ( ("Report Bug", about_function), ("About", about_function) )

menubar.bg=(111, 77, 124)

# none of the styling below works and this is what I've tried

css – Trying to style Woocommerce sidebar Cart Widget

I have looked at length to find CSS that will change the background color, border radius and product info text color. I think this may not be a “mini cart”. The price of the item, subtotal and View Cart / Checkout buttons follow the styling Ive done to the cart. I have successfully changed my product text color on my actual Cart page. So frustrating! Help is much appreciated.

coding style – Dealing with unwanted usages of a function

I am writing a function that I would not like to get called given a certain context and am wondering how best to convey that to possible users of the function. Assume, for exemplification, I am writing a function process_payment that must not get called in an environment that demands certain security standards on the payments being done.
Some possible options of dealing with this I have thought of:

  1. Having a ...warning docstring comment ( or just a verbose comment in another programming language)
def process_payment(Payment payment):
.. warning: DO NOT USE if we are in SECURE PAYMENT environment. Use a pipeline that leads to 
process_payment_securely() insead
  1. Specifically checking if the conditions are met inside the process_payment function by calling in some global state to check the conditions.
def process_payment(Payment payment):
    if get_payment_state() == SECURE_PAYMENT:
        raise Exception(...)
  1. Having the execution conditions be some values inside of a Payment class/struct, such that one can easily check them at the call site.
def process_payment(Payment payment):
    if payment.is_secure:
        raise Exception(...)

Obvious drawbacks to 1) are that it allows a not-careful user to process payments insecurely. Obvious drawbacks to 2) are that if the state which we are deciding with is quite far away in the call hierarchy, one needs to either call in some global state or propagate (potentially) a lot of information and pass it as an argument. Option 3) looks good, but one could imagine it being quite cumbersome and (depending on the programming language) suboptimal to include such redundant information into every Payment class.

Are there any other approaches I am missing? What are some common ways to deal with this?

style.css – is it possible to have internal style sheet for SharePoint 2013

lets say i have a new form that
and i want to have a tag somewhere
like this


at the moment when i do this my SharePoint gives me an error saying Only Content controls are allowed directly in a content page that contains Content controls.

gurps 4e – What advantages or disadvantages would best replicate a video game style inventory in an otherwise Modern setting?

What advantages or disadvantages would best replicate a video game style inventory in an otherwise Modern setting? I’m looking for guidance, as it seems to veer into the really expensive with cosmic advantages. Am I missing some lower key lower power possibilities?

The background is a modern setting with minor super powers which have a power level that do not exceed the level of influence on the world based on commonly available tech to a middle class family’s income base. Thus, things like guns & rifles (ranged attack powers), fireworks (explosive powers), hydraulic jacks (strength powers), man-portable tank of liquid nitrogen (freezing powers), and so forth are some examples of the limits on powers.

One of the proposed powers is an Inventory ability. Just that, nothing else. Store it, leave it, remove it. Thus, the analog tech would be a backpack or similar. Except that it is not visible or touchable by others.

dnd 4e – Grappling strike fighter power with brawler style – attack roll bonus

I (the DM) have a player with a level 11 fighter (brawler style).
She uses the power “Grappling strike” (Martial Power 2 p7) with a bastard sword (+2), and we disagree on bonuses to attack roll.

The power states:

Hit: 1 (W) + Strength modifier damage, and you grab the target. The grab ends automatically at the end of your next turn.

And the brawler style (Martial Power 2 p6 with errata) states:

In addition, you gain a +2 enhancement bonus to the attack rolls of unarmed attacks and a +2 bonus to the attack rolls of grab attacks and attacks to move a creature you’re grabbing. These bonuses increase to +4 at 11th level and +6 at 21st level

She thinks the attack roll should have the brawler style bonus (+4 at level 11).
But I think that bonus should not be counted, as it is for grab attack only,
and grappling strike is an attack with just a grab effect/consequence.

I think the brawler style applies only to the grab action, describe in PHB 1, p290.

As English is not our native language, we may misunderstood this bonus.

A +4 bonus at level 11 seems a little overpowered for an at-will power, it can change:

1d20 + 17 (5 half level, 5 str, 3 proficiency, 2 alteration, 2 feat)


1d20 + 21

A standard monster has 25 AC (DMG 1, p184): she will hit on 4+!

Can you please tell us which understanding is right ?

What game engine is best for platformer style games? [closed]

I am a dev and I have made a couple games and a couple of apps, but never a platformer. What is the best engine to do so?