How can I decide if my homebrew item should require attunement?

Attunement slots are an important tool for maintaining game balance – especially in high magic settings where magic items are common.

If I’ve homebrewed a new magic item for my players, how can I decide if balance-wise this item should require attunement or not?

It’s fairly trivial to say that the most powerful items should probably require attunement, whereas the least powerful probably shouldn’t. But, in between these two extremes, where should the line be drawn?

  • Are there any guidelines in offical materials for when homebrewed items should require attunement?
  • Or, can any guidelines be sensibly inferred through careful analysis of existing official magic items (contrasting those that do require attunement with those that do not)?

How does the browser decide to accept a self-signed certificate?

As far as I know, with OpenSSL, you can self-sign your website’s certificate. This means that the browsers that will connect your server are supposed to be willing to accept a self-signed certificate for your website. My question is, how does the browser know whether or not to accept a self-signed certificate for a particular website? What if I MITM a client and present a self-signed certificate for a bank website? How does the browser not get tricked at that point?

How to decide if two conjunctive queries cannot have any result in common

Consider the following queries:

Q1: age > 18 & age < 24 & gender = ‘male’

Q2: age > 25 & gender = ‘male’ & major = ‘CS’

Q3: age = 20 & major = ‘CS’

Clearly, given any database instance $ D$ , we can decide $ Q1(D) \cap Q2(D) = \emptyset$ and $ Q2(D) \cap Q3(D) = \emptyset$ . However, we cannot decide about the result of $ Q1(D) \cap Q3(D)$ .

I’m aware of query containment, in where the result of one query always is a subset of the results of another query. Also, I’m aware of query equivalence, in where the results of two queries should be exactly the same given any database instance.

However, I’m looking for an algorithm/terminology for my case, where before evaluating the two queries, I can decide the intersection of their results are always empty. Indeed, due to conflicting selection conditions, they cannot have any common result.

How do I best decide who knows what at the beginning of a game?

Adventure Paths (APs) come with a freely downloadable player’s guide that details a lot of things about the setting of the AP, including mechanical suggestions such as which prestige classes or class features are the most useful and a frontload of character knowledge about the place where the AP will start.

In the Player’s Guide to the Giantslayer AP, for instance, we get the main locations, main NPCs and main history facts about Trunau – but it is suggested that at least one character comes from Trunau, and the others might come from surrounding lands.

My players want to play a party of dwarves, so the guide suggests they come from Janderhoff (across the Mindspin Mountains, in Varisia), Glimmerhold (to the south of Janderhoff, in Nidal), or Kraggodan (further south, in the southern part of Nirmathas).

Given that there’s only a handful of dwarves in Trunau and that some are important NPCs, I guess that maybe one of the Trunau dwarves is a PC and the others might be clanmates visiting (or some other excuse we will concoct during session 0). So, their knowledge about Trunau, the Hold of Belkzen and the background that informs the actions of enemy NPCs might vary because of two factors:

1) where they come from, because people from Trunau will know more things abut Trunau and about Belkzen 2) their knowledge: history/nobilty modifiers

My aim is to provide each player a summary of useful informations and trivia that their character knows, in order to both help them create a character that feels like it belongs to the setting and to avoid the “you suddenly remember that” mechanic of knowledge skill checks.

What’s the best way to decide who knows what?

By best I mean the one that will make the most sense for the setting and the characters.

What could these

How can I decide which element is not following Poisson distribution in r?

i have a dataset which records the items and how many times the particular item is touched. Since each item is independent and the pick is randomly, shall be okay to see it follow the poisson distribution.

DT <- data.frame(X = c(paste0("A", 1:78)),                   Y = c(rep(6, 13), rep(7, 17 ), rep(8, 9), rep(9, 8),                         rep(10, 8), rep(12,2), rep(14,2), rep(17, 18), 23))   

by hist, it seems obviously not always following the poisson shape as expected.

hist(DT$  Y) hist(dpois(DT$  Y, lambda = mean(DT$  Y))) 

distribution of item picked

My question is, there must be some items, say the far right two items, are “unPoissonly” touched. How can I decide each of the item is “unusual”?

Trying to decide between Firebase vs MySQL for new site

I’m looking for opinions on the pros and cons of MySQL and Firebase when it comes to developing a new site for my company. We’re a B2B wholesale business that is in the process of redesigning our site from scratch. The main purpose of this site will be for customers to have a self-service system to browse the products and quickly make their own quotations, and in the near future to incorporate payment gateways to allow for payment with credit cards, Paypal and wire transfers.

We have contacted with a few web development firms to work on proposals for the new site. I’ve narrowed it to a couple of proposals, but today the topic came up about using Firebase or MySQL for the site. I am a marketing professional, and while I am also a techie and have a passable knowledge of web technologies at a basic level, I am by no means a developer, so I’d like to gather as many opinions as possible to help me decide on this topic.

The initial website would have the self-service system with inventory management for aprox. 200 products, with several variants in most of them, for different combined variables (size, color, materials, packaging), and a couple price scales; a registered user area with order history, customer details, etc., as well as the usual bells and whistles of a business site. The site would be in two languages (English and Spanish), with the possibility of adding a third in the future.

On the short term, we’d like to evaluate customer feedback and user experience to decide if we should develop a Progressive Web App so our customers can have easier access to the system. As we don’t anticipate needing to use a phone’s hardware (GPS, accelerometer, etc.) we think a native app would be overkill, and believe our customers would appreciate the small size and fast install of a PWA.

On the medium to long term, we’d be adding more products, categories, shipping options (some with SDKs and APIs to external providers) and payment processing; as well as more product images, maybe product videos and a resources section with tutorials and industry white papers; and increasing traffic not only from new customers, local and foreign, but by encouraging our existing ones to use the self-service system. One thing we’ve also considered is leaving the door open for third-party vendors that might be interested in selling related products through our platform.

All this considered, what would you recommend we choose for a database system? Firebase or MySQL? Considering that my main concerns for the site are scalability, performance/UX, efficiency, cost of hosting, as well as future proofing the system for new technologies and tools we might want to implement on the system.

I am aware no system is perfect and we’ll have to sacrifice some of these things for others, but I’d still like to hear your opinions in order to make an informed decision. I have been reading on Firebase, but most of the posts about it I’ve found are a couple years old, and I am not sure if the issues brought up in 2017 are still valid today.

Thank you so much for your input and thoughts, and if I forgot to add any relevant information, please let me know.

How to decide the part of an Ajax call QueryString in c#

I am encoding the query string in an Ajax call in Javascript using encodeURL() but I can find a way to then decode it on the server (in c#) I use HttpContext.Current.Request[“ID”] to get the parameter values from the query string. In the debugger if I watch Request.QueryString I can see it is fully encoded but it wont Decode.

I have tried using HttpUtility.UrlDecode(HttpContect.Current.Request[“ID”]) but it doesn’t appear to decode it. What am I missing?

Or should I be using a completely different way too get the query values?

How to decide an Objective Function?


Blockquote

In the Njaba river basin, the available water was allocated for the purposes of consumption, irrigation, and electric power supply among three communities. The water allocated per annum per capita for all use in these communities are 10m3 , 10m3 and 30m3 . The allocations were made based on the critical factors of population, land area and the industrialization. The populations of the communities are 300, 200, and 100, power supply capacities are 20W, 10W and 20W while the land areas for irrigation are 50 hectares, 40 hectares, and 30 hectares respectively. Allowable allocations limits of more than 300, 100 and 80 were stipulated for the purposes. Using the above information, formulate, (a) Linear Programming Model for the basin. (b) Maximization the allocations made Assume non-negativity condition?

Blockquote

I’m learning this course for the very first time so for understanding this subject and it’s problems, I’m trying to solve different problems. I’m recently solving this problem showing above. As it is a solved example I found on the internet, here’s the objective function and constraints.

Blockquote

Let the three communities be denoted by the variables x, y, and z. The objective function should be based on the allocation per annum, per capita for the basin as stated;

Z = 10x + 10y + 30z

The constraints can be formulated thus;

300x + 200y + 100z > 300 20x + 10y + 20z > 100 50x + 40y + 30z > 80

Under the negativity conditions of

X, Y, Z > 0

Blockquote

My confusion is writing an objecting function in this question. When different communities are supplied water for different use then it’s obvious that usage of water in every community for different use is different. Like annually, per person usage of water would be different. If a person is using water only for domestic need the whole year, they are nothing to do with the irrigation and electric power supply so how could this line be justifiable that

*The water allocated per annum per capita

Blockquote

for all use

Blockquote

in these communities are 10m3 , 10m3 and 30m3 *?

like every single person is allocated water for all uses like for basic consumption, irrigation, electric power supply means they’re providing extra water?

Hope so everyone is getting my question and will sort out my query so I better solve questions on my own.