## Why, from a lore perspective, are druids the only class who can cast the Flame Blade spell?

I am only really familiar with D&D 5e, and whatever of D&D 3.5e I was exposed to whilst playing NWN2 some number of years back, but as far as I am aware, only druids have the spell flame blade on their spell list.

At face value, I can’t see why this would be. Summoning a sword of fire seems like the sort of thing that sorcerers or warlocks should be able to do as well; in 5e at least, they can cast shadow blade, so why not flame blade?

Originally, I thought I wanted to know the designer-reasons behind this decision (and hence didn’t ask it, as that’s off topic), but then I realised that if such a designer’s reason didn’t include anything about the in-universe lore behind it, then I would be left rather dissatisfied (i.e. if it turns out that it’s because, I don’t know… Gary Gygax lost a bet back in the day, and that’s the official reason, then technically my question would be answered, but that’s not really what I’m looking for).

What I’m really after is why this makes sense from a lore perspective. Is there something special about forming a blade out of the element of fire that is specific to druids, or requires nature-y divine magic to perform? I accept that it is the case that, RAW, only druids can cast flame blade, but why does that make sense in-universe? If my sorcerer, the head of the Sorcerer’s Guild, saw a fellow party member, a druid, cast flame blade, then my sorcerer may well wonder “why can’t I, nor any sorcerer I’ve ever met, do that?”. That’s what I’m after.

So my questions are:

• Firstly, is my premise actually true? Across the editions of D&D (for which flame blade exists), has it always been a druid-exclusive spell? (Note that I’m excluding the ability to cast it as a racial spell, such as the Mephistopheles tiefling from Mordenkainen’s Tome of Foes, and I’m also excluding bards learning it via Magical Secrets and other such hacks; this is about whether or not it’s on a classes’ default spell list);
• Secondly, the title question: why, from a lore perspective, are druids the only class who can cast flame blade? I’m looking for answers with citations from any official material from any edition of D&D.

If the answer is dependant on a specific setting, let’s assume that the setting is the Forgotten Realms.

## Matching perspective on two photos

I've got a photo taken about 120 years ago of a street near to where I live.

However hard I try I can't seem to get the same perspective if I photograph the same scene from roughly the same place using my current camera.

My attempts at using photoshop's image transformation tools to try to match them up aren't that more succesful.

Does anyone have any hints or pointers on how to proceeed.

My aim is to fade the old image into the new one as part of a short video.

## How to calculate point in 3D space from multiple perspective

I have multiple camera in different points.

I have their position and rotation as $$(x,y,z)$$ , $$(\alpha,\beta,\gamma)$$ or $$( roll, pitch, yaw)$$ .

And I have output like this :

Feed from camera-1, I know length of yellow and green.

How can I calculate position of the object, in this case head in 3D space.

## I was wondering if I can some perspective on optimizing a function that has nested for-loops for feature selection?

I looked up a tutorial and created a function based upon its script. It’s essentially used so I can select dependent variables that’s a subset of a data frame. It runs but it is very very slow.

How would I flatten a nested for-loop such as this?

I tried implementing an enumerate version but it did not work. Ideally I’d like the complexity to be linear, currently, it’s at 2^n. I’m not sure, how I can flatten the nested for loop, such that I can append the results of a function to a list.

def BestSubsetSelection(X,Y, plot = True):     k = len(X.columns)     RSS_list = []     R_squared_list = []     feature_list = []     numb_features = []      # Loop over all possible combinations of k features     for k in range(1, len(X.columns) + 1):             # Looping over all possible combinations: from 11 choose k             for combo in itertools.combinations(X.columns,k):                 # Store temporary results                 temp_results = fit_linear_reg(X[list(combo)],Y)                  # Append RSS to RSS Lists                 RSS_list.append(temp_results[0])                  # Append R-Squared TO R-Squared list                 R_squared_list.append(temp_results[1])                  # Append Feature/s to Feature list                 feature_list.append(combo)                  # Append the number of features to the number of features list                 numb_features.append(len(combo)) 

A copy of the full implementation can be found here: https://github.com/melmaniwan/Elections-Analysis/blob/master/Implementing%20Subset%20Selections.ipynb

## Sentential, first order and higher logics from a categorical perspective

Is there a standard reference for understanding sentential, first and higher order logics from a categorical perspective?

I’m close to knowing enough $$1$$/$$2$$/internal category theory to tackle the Joyal-Tierney Galois theorem for toposes and the Borceux-Janelidze generalization for internal precategories to give some idea of my knowledge base. I’ve heard that category theory can model all of these logics as the internal logic of an appropriate (possibly higher) category, and I was looking for a reference that builds up logic from this perspective for someone who has never explicitly read a logic textbook.

For the record I have “A Course in Mathematical Logic” by Bell and Machover ordered and in the mail; I fully intend to take the classical route up through logic as well, but I was curious about any categorical cheat codes along the way.

It seems (naively) like type theory might be the answer here, and I would be open to suggestions in that direction, but I am currently unfamiliar with the inner workings (or general moral) of type theory.

## Is this perspective scaling from plane to sphere right?

Perspective through CNS (canvas, paper, screen) plane

View post on imgur.com

I guess im asking for something similair to code review but for trigonometry

Greetings Johan

## Neural Networks object creation from OOP perspective

Let’s say that I have a class representing the Neural Network. The neural network is composed of three bigger units: a subpart_1, subpart_2 and subpart_3, being called in such a way, that the output of one part is an input to the next one. The parts are itself Neural Networks with the same basic interface. In my current approach, each of this part is created inside the constructor, the __init__method of my class, and I am passing in the configuration parameters. It inherits from some framework NeuralNetwork class which gives me access to some common interface like forward/backward methods. It looks like this:

class NeuralNetwork(framework.NeuralNetworkBase): def __init__(self, subp_1_params, subp_2_params, subp_3_params)         super(...)     self.subpart_1 = Subpart1Class(subp_1_params)     self.subpart_2 = Subpart2Class(subp_2_params)     self.subpart_3 = Subpart3Class(subp_3_params) . . . def forward(self, input):    <use the subparts on the data in some way>  

You can imagine the SubpartXClasses being implemented in a similar manner. Now, I have been recently reading more on Unit Testing and Unit Testing-friendly design and in particular I have stumbled upon the blog post:

http://misko.hevery.com/code-reviewers-guide/flaw-constructor-does-real-work/

in which the author claims, that unless the fields of the class are not plain data structures, they should not be created inside the constructor and instead passed as the constructor arguments to allow for the maximally decoupled and unit testing-friendly design. The tone of that posts is really strict but it is also quite old. So now my question: In a scenario like this, would it be a straight up better idea to create the objects externally, through some factory, and pass a ready and configured objects into the constructor to register them to my NeuralNetwork class? From my point of view, the current approach seems more natural (actually the framework I am using also promotes this approach), but after reading that blog posts I started having some doubts.

## Perspective project flymining

I have been looking for a project for earning Bitcoins for a long time and stopped at flymining. Why this particular company? The main thing is the stability of the mining, plus fast timely withdrawal. The company is young and offers good conditions. https://flymining.cloud/?promocode=4G0OPX

Hi all,

We have launched the exit intent pop-ups on our website where a pop-up will appear when the visitor is about to leave the website. This will trigger when the mouse is moved to the top window section; as an attempt by the visitor to close the window. We see a slight ranking drop post this pop-up launch. As the pop-up is appearing just before someone leaves the website; does this making Google to see as if the user left because of the pop-up and penalizing us? What is your thoughts and suggestions on this?

Thanks

## How to architect a globally distributed website, from an IP address perspective

I would like to have a website that is loaded fast from any point in the world. From my understanding, you need to take advantage of the data center “regions” at places like Google Cloud or AWS. That’s as far as my understanding goes.

What is missing is how exactly to implement it (at a high/diagram level here, not at the code level).

For example, on Google Cloud for a specific “project” you have the choice of IPv4 or IPv6, of “Premium” vs. “Standard” (“Traffic traverses Google’s high quality global backbone, entering and exiting at Google edge peering points closest to the user.” vs. “Traffic enters and exits the Google network at a peering point closest to the Cloud region it’s destined for or originated in.”), and of Global vs. Regional. If you select IPv6 you are limited to Premium. If you select Global on IPv4 you are limited to Premium. I am not sure how this works, not at the level of detail of Google’s specific system, but what generally is going on here. I don’t see how a “global” IP address can be better than a regional one, since the regional one is closer to the request source.

On AWS, they don’t have a “Global” option, all IP addresses are IPv4 and they are regional.

That was just some background for the main question.

My question is how to architect a system to take advantage of regional data centers. Just generally, at the IP level. I am wondering how it goes from my domain to the regional IP address. Or if it is like Google Cloud’s “Global” IP address, how you could then integrate regions into it. Or if that’s backwards, how to conceptualize of this. I saw the diagram below, but it only explains how a domain is mapped to a single region-independent IP address. I don’t see how regions are actually implemented / come into play.

Basically I would like to know at a high level how I should organize my IP addresses and servers to take advantage of regional data centers. So far my thinking is of having servers in different regions with their own copies of data. But then I get lost when thinking about IP addresses and domains. If I use the AWS model, it seems I reserve an IP per entrypoint server per region. But then I don’t see how the domain name figures out which IP/region to select. If I use the global Google Cloud model, I don’t see how I can add regional servers.