gm techniques – As a GM, how do I build a complete group of players that fit my style and preferences?

I have done this several times. I have a favorite one-shot adventure, and I run it periodically for strangers, sometimes at a game store and sometimes on meetup.com. If I like a player, I get their email address and add it to my list. Once I have enough players, I send out an email saying “I want to run a game at X location and Y time, here is the teaser, who can make that slot and wants to join?” Sending the email in this way also avoids difficulty scheduling a recurring game.

I also want to note that it’s quite easy to recruit players for an online game, for example by posting a signup form on reddit.com/r/lfg. The only hard part is that some fraction of your signups will flake. For the game I’m currently running, two of my players flaked before the first session with a message about how their college professor had scheduled activities in my (evening) timeslot; my plan for future games is I will require players to be age 25+ to avoid getting college students.

The form I used for my campaign was this, and it got 13 responses. The open-ended questions did not give me as much signal as I wanted, so if I do another form it will ask something more like this.

entity – Clean Architecture, what are objects that does not completely fit as entities?

I’m reading chapter 20, “Business Rules”, of clean architecture book, in this chapter Uncle Bob defines entities as:

An Entity is an object within our computer system that embodies a
small set of critical business rules operating on Critical Business
Data. The Entity object either contains the Critical Business Data or
has very easy access to that data. The interface of the Entity
consists of the functions that implement the Critical Business Rules
that operate on that data.

I understand that entities are domain objects that could be used in any context of the application because it’s “self-sufficient” with its own rules and validations, but what about objects that do not have “strong” and “critical” business rules that could be used in any context? just simple data holders, anemic classes, are they considered domain objects? can use-cases be coupled to them just like it is to entities?

A simple example of a specific scenario:

I have a Use Case to create blog posts with images, in which the user can send URLs of images uploaded on an amazon s3 server, and in the back-end there’s a check to see if the provided URLs are valid, if so the post is created with these images URLs.

On the Use Case, for the URL check I use the Amazon S3 API encapsulated as a generic adapter, something like ImageStorageAdapterInterface with the method getImageByUrl(), which returns a simple object with metadata such as url, created_at, expire_at, size, and so…

I could have considered this object as an entity and name it something like UploadedImageUrl or TemporaryImageUrl, but I couldn’t see this particular object as an entity because it is not an object with “critical business rules”, but just a simple “auxiliary” object, with very few methods (if any) and I don’t think this object meets uncle bob’s definition of an entity.

I know that a lot of things are subjective and depend on the context, but this dilemma is very common on a daily basis.

What are these kinds of objects that do not fit as an entity?

Should I always try to find a common ground on my domain and “extract” an entity of these cases?

Could this still be considered as a domain object (even if it’s simple)?

magento2.3 – Coupon code should not apply if action condition fit or not discount happen

Please help me with this

There are conditions and Action tab in the coupon code add/edit page and there is a conditional option where we select on which product this code should apply or not like we set SKU or something or set condition buy x and get y for this much.

My question is how can a coupon code refuse to set if the discount is zero?

For now, the coupon code gets set but the discount won’t get so it makes little confusion for the users

Hoping for Good.
Thanks

fitting – How to find a fit for numerical data?

I would like to know how to fit a numerical data in two different ways. The first one is

datan = {{-1.99941, 3.36481}, {-1.99763, 4.08443}, {-1.99466, 
  3.50899}, {-1.99052, 2.98849}, {-1.98519, 2.34683}, {-1.97869, 
  3.3113}, {-1.97101, 3.35531}, {-1.96216, 4.3102}, {-1.95215, 
  2.97094}, {-1.94098, 2.6125}, {-1.92866, 2.44526}, {-1.9152, 
  3.39602}, {-1.9006, 3.35046}, {-1.88488, 3.16035}, {-1.86803, 
  2.71749}, {-1.85008, 2.034}, {-1.83103, 3.29505}, {-1.8109, 
  3.01073}, {-1.78969, 2.66289}, {-1.76742, 2.43722}, {-1.7441, 
  2.32192}, {-1.71975, 2.69802}, {-1.69437, 2.39546}, {-1.668, 
  3.09912}, {-1.64063, 1.90949}, {-1.61229, 2.17662}, {-1.58299, 
  2.47638}, {-1.55276, 2.25317}, {-1.5216, 2.40841}, {-1.48954, 
  1.9034}, {-1.4566, 2.51593}, {-1.4228, 2.0277}, {-1.38815, 
  2.28873}, {-1.35268, 1.94795}, {-1.3164, 2.20221}, {-1.27935, 
  2.33044}, {-1.24153, 1.97724}, {-1.20298, 1.88431}, {-1.16372, 
  1.61914}, {-1.12376, 1.9772}, {-1.08314, 2.13882}, {-1.04188, 
  2.25348}, {-1., 1.86668}, {-0.957526, 1.40721}, {-0.914485, 
  1.66627}, {-0.870901, 1.78616}, {-0.8268, 2.08214}, {-0.782209, 
  1.54093}, {-0.737155, 1.31384}, {-0.691663, 1.30438}, {-0.645761, 
  1.64397}, {-0.599476, 1.80947}, {-0.552835, 1.46119}, {-0.505867, 
  1.49977}, {-0.458598, 1.12732}, {-0.411058, 1.62071}, {-0.363274, 
  1.67635}, {-0.315274, 1.46581}, {-0.267087, 1.33225}, {-0.218742, 
  1.27569}, {-0.170268, 1.69785}, {-0.121692, 1.75691}, {-0.073044, 
  1.61574}, {-0.0243528, 1.12297}, {0.0243528, 0.967858}, {0.073044, 
  1.20717}, {0.121692, 1.37573}, {0.170268, 1.42958}, {0.218742, 
  0.869249}, {0.267087, 1.09798}, {0.315274, 1.12727}, {0.363274, 
  1.36133}, {0.411058, 1.2271}, {0.458598, 1.06877}, {0.505867, 
  0.867321}, {0.552835, 0.958877}, {0.599476, 1.497}, {0.645761, 
  1.29388}, {0.691663, 1.02559}, {0.737155, 0.83082}, {0.782209, 
  1.00069}, {0.8268, 1.46913}, {0.870901, 1.1681}, {0.914485, 
  0.964766}, {0.957526, 0.916658}, {1., 1.0225}, {1.04188, 
  1.03863}, {1.08314, 1.09699}, {1.12376, 1.02019}, {1.16372, 
  0.855622}, {1.20298, 0.949215}, {1.24153, 1.0585}, {1.27935, 
  1.17119}, {1.3164, 1.05726}, {1.35268, 0.780647}, {1.38815, 
  0.868919}, {1.4228, 0.824941}, {1.4566, 0.976392}, {1.48954, 
  0.964107}, {1.5216, 1.02742}, {1.55276, 0.904493}, {1.58299, 
  0.999191}, {1.61229, 1.04657}, {1.64063, 0.960569}, {1.668, 
  1.08807}, {1.69437, 0.729724}, {1.71975, 0.831124}, {1.7441, 
  0.679191}, {1.76742, 0.764854}, {1.78969, 0.92459}, {1.8109, 
  0.880412}, {1.83103, 0.89367}, {1.85008, 0.767452}, {1.86803, 
  0.879975}, {1.88488, 0.862821}, {1.9006, 0.99848}, {1.9152, 
  0.820868}, {1.92866, 0.675725}, {1.94098, 0.760808}, {1.95215, 
  0.91016}, {1.96216, 1.19938}, {1.97101, 0.755532}, {1.97869, 
  0.680112}, {1.98519, 0.632745}, {1.99052, 0.906384}, {1.99466, 
  1.22416}, {1.99763, 0.935568}, {1.99941, 0.598793}};

modeln = 1/(x/T - a);

fit = FindFit(datan, modeln, {a, T}, x)

Where I would like to fit a Rayleigh-Jeans distribution in the form

$vert c_{i} vert^{2} = frac{1}{frac{x_{i}}{T} – a}$

where T and a are parameters.

The other fit is to find a curve and plot it with the next points,

data = {0.0146098, 0.0134606, 0.0117886, 0.0118272, 0.0116045, 0.0136895, 
0.0142309, 0.0133225, 0.0120502, 0.0115602, 0.0122138, 0.0144221, 
0.0143005, 0.0115857, 0.0121894, 0.0110288, 0.0115023, 0.0107387, 
0.0112213, 0.0166045, 0.0111623, 0.0132333, 0.0109659, 0.0116389, 
0.0109815, 0.0115931, 0.0123628, 0.00990026, 0.0117823, 0.0107738, 
0.0115824, 0.00969016, 0.0090692, 0.0105925, 0.0134049, 0.00898036, 
0.00874895, 0.00848092, 0.00941636, 0.0104871, 0.0102619, 0.00806756, 
0.00939666, 0.00930185, 0.00827989, 0.00767965, 0.0068821, 
0.00745014, 0.00720067, 0.00776761, 0.00773065, 0.00680642, 
0.0072014, 0.00731968, 0.00667065, 0.00803056, 0.00635712, 
0.00660839, 0.00579348, 0.00664496, 0.00680048, 0.00614221, 
0.00627943, 0.00774538, 0.00731663, 0.00656819, 0.00731539, 
0.00640468, 0.00545746, 0.00704614, 0.00743988, 0.00767413, 
0.00774313, 0.00547266, 0.00650785, 0.0050816, 0.0065443, 0.0061788, 
0.00586096, 0.00631223, 0.00643369, 0.00552062, 0.00483852, 
0.00589909, 0.0060468, 0.00642089, 0.00538425, 0.00517127, 
0.00620243, 0.0055353, 0.0051133, 0.00543376, 0.00536765, 0.00633826, 
0.00503093, 0.00553102, 0.00487576, 0.00499182, 0.00499501, 0.005098, 
0.00578895, 0.00546778, 0.00540558, 0.00548438, 0.0040702, 
0.00431465, 0.00533605, 0.00428753, 0.00517276, 0.00469169, 
0.00447317, 0.00513875, 0.00496469, 0.00577266, 0.00497707, 
0.00404305, 0.00555311, 0.00443977, 0.00453418, 0.00494885, 
0.00386463, 0.00523461, 0.00472534, 0.00500563, 0.00521087, 
0.00486819, 0.00523756, 0.00456057}

Can I create android app using google fit apis?

Can I create android app using google fit apis? – Android Enthusiasts Stack Exchange

fitting – Finding the best fit: Mathematica vs. Excel

My data is:

data = {{0, 0.05}, {40, 0.079}, {80, 0.113}, {120, 0.18}, {160, 0.31}, {200, 0.5}, {240, 0.71}, {280,0.86}, {320, 1.02}};

With Excel we can fit the data with $0.0548996* e^{0.0099675 x}$ which is more or less good: (blue curve is the fit)

enter image description here

Now, if we try with Mathematica:

FindFit(data, a*E^(b x), {a, b}, x)

it returns: Working precision MachinePrecision is insufficient to achieve the
requested accuracy or precision; ${a -> 2.76357*10^{-76}, b -> 1.}$, which is obviously wrong.

How can one find the best fit with Mathematica for this data?

usa – Why does this US to UK adapter not fit properly?

The shape of the plug is keyed for 120V only. (North America has other plug keyings intended for 240V). Does “the present” say in its labeling or instructions that it is able to run on 240V? Many things can, many more cannot. If not, you should not use an adapter like this, which will straight-shot 240V into your device.

They make larger and more complex adapters which convert voltage. Such adapters either have some electronics onboard (which can serve only limited load capacity, in watts), or are a bulky and very dense transformer (the larger, the higher the capacity in watts, clear up to the 1800W max a US device might draw if you don’t mind a 15kg transformer).

That plug is a NEMA 1-15 plug that is polarized. That means “the present” is not double-insulated and it is much safer when the wide blade is connected to neutral. Neutral is a worldwide concept (except Philippines), it is a wire (typically 1 of 2) in the supply loop which is manipulated to be near natural earth, so does not present a shock hazard if your body got between neutral and earth. It is not to be confused with the safety ground, that third pin on US and UK plugs.

Whoever sold that to you sells cheap Cheese junk. It is unfit to be marketed as a US to UK adapter, since it lacks the correct keying for polarized plugs, which are very common. This particular one is a highly compromised “universal” adapter meant to plug anything (even UK) to UK. Beware buying such junk, as it can create safety issues of its own, especially if you plug in something with a high power draw.

You are better off seeking a quality unit that focuses on US to UK only, and better off buying it at a local shop, where safety regulations are able to have an effect on the quality of their selection. EBay, Amazon Marketplace and AliExpress sellers do an end-run around government regs by direct shipping to the consumer.

ffmpeg – resize video to fit into 16:9 with blurred background

I have random videos with bad aspect ratios e.g. recorded in portrait mode on a phone and I want a 16:9 video.

I found a similar a question Resizing videos with ffmpeg/avconv to fit into static sized player but I need the “Crop to fit” with applied blurr and then the “Pillarbox” on top of that.

I can do blurrs with ffmpeg with this:

ffmpeg -i video.mp4 -vf “boxblur=10:1” out.mp4

but I don’t know how to combine them to achieve my desired effect.

The end result should look like this: https://www.youtube.com/watch?v=pADoLZS3Z9Q&t=30s

Can anyone help please? :]

unity – How can I set perspective camera in portrait to fit screen sizes

I want to fit a perspective camera in different mobile portrait resolutions to see always the same objects in screen.

Doing a research about my problem I have found this post Scale camera to fit screen size unity that have a similar problem than mine, but he ask for an ortographic camera also horizontal.

My problem is the same but in perspective and vertical, I have tryed to adapt the solution code to my project but I don’t know why isn’t working, can someone explain to me the code or helpme to understand the maths behind them so I can figure how to do it?

My code for vertical

public float VerticalFoV = 60.0f;

// ...


void Update() {
   float halfHeight = Mathf.Tan(0.5f * VerticalFoV * Mathf.Deg2Rad);

   float halfWidth = halfHeight * Screen.width/ Screen.height;

   float horizontalFoV = 2.0f * Mathf.Atan(halfWidth) * Mathf.Rad2Deg;

   Camera.main.fieldOfView = horizontalFoV;
}

Sample code for horizontal

public float horizontalFoV = 90.0f;

// ...

void Update() {
   float halfWidth = Mathf.Tan(0.5f * horizontalFoV * Mathf.Deg2Rad);

   float halfHeight = halfWidth * Screen.height / Screen.width;

   float verticalFoV = 2.0f * Mathf.Atan(halfHeight) * Mathf.Rad2Deg;

   camera.fieldOfView = verticalFoV;
}

DreamProxies - Cheapest USA Elite Private Proxies 100 Cheapest USA Private Proxies Buy 200 Cheap USA Private Proxies 400 Best Private Proxies Cheap 1000 USA Private Proxies 2000 USA Private Proxies 5000 Cheap USA Private Proxies ExtraProxies.com - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies ProxiesLive.com Proxies-free.com New Proxy Lists Every Day Proxies123.com Proxyti.com Buy Quality Private Proxies