Are spells learned from feats considered to be associated with your class?

The multiclassing spellcasting rules (PHB p. 164, or here in the basic rules) state:

Each spell you know and prepare is associated with one of your classes, and you use the spellcasting ability of that class when you cast the spell.

According to the above, every spell you know or prepare should be associated with a class.

  • However, for spells learned from feats like Drow High Magic or Wood Elf Magic are these actually associated with a class?
  • If so, what class?
  • If not, is the PHB statement above wrong/outdated?
  • Are the spells learned in these feats (and others like it) associated with something else (like your race, in these cases)?
  • If so, does that have any mechanical implications?

For reference, the Drow High Magic racial feat (XGtE p. 74) states:

You learn more of the magic typical of dark elves. You learn the detect magic spell and can cast it at will, without expending a spell slot. You also learn levitate and dispel magic, each of which you can cast once without expending a spell slot. You regain the ability to cast those two spells in this way when you finish a long rest. Charisma is your spellcasting ability for all three spells.

The Wood Elf Magic racial feat (XGtE p. 75) states:

You learn the magic of the primeval woods, which are revered and protected by your people. You learn one druid cantrip of your choice. You also learn the longstrider and pass without trace spells, each of which you can cast once without expending a spell slot. You regain the ability to cast these two spells in this way when you finish a long rest. Wisdom is your spellcasting ability for all three spells.

In regards to the third and fourth questions, the fact that the PHB quote says “use the spellcasting ability of that class when you cast the spell” and the fact that the feats specify what ability the spell uses in these examples (independent of class) suggests to me that they are not associated with class.

A cookie associated with a resource at

Cuando comparto una url de google drive. En la consola obtengo

view:1 A cookie associated with a resource at was set with  `SameSite=None` but without `Secure`. A future release of Chrome will only  deliver cookies marked `SameSite=None` if they are also marked `Secure`. You  can review cookies in developer tools under Application>Storage>Cookies and see  more details at 

ya es por curiosidad… me lo he encontrado varias veces, y no se muy bien a que se refiere.

Suddenly not working on Ubuntu Digital Ocean: urllib3 Failed to establish a new connection: [Errno -5] No address associated with hostname

It was working fine a week ago, but all of a sudden it stopped working.

Steps to reproduce:

Python 2.7.12 (default, Nov 12 2018, 14:36:49) [GCC 5.4.0 20160609] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import requests >>> requests.get('',{}) Traceback (most recent call last):   File "<stdin>", line 1, in <module>   File "/usr/lib/python2.7/dist-packages/requests/", line 67, in get     return request('get', url, params=params, **kwargs)   File "/usr/lib/python2.7/dist-packages/requests/", line 53, in request     return session.request(method=method, url=url, **kwargs)   File "/usr/lib/python2.7/dist-packages/requests/", line 480, in request     resp = self.send(prep, **send_kwargs)   File "/usr/lib/python2.7/dist-packages/requests/", line 609, in send     history = [resp for resp in gen] if allow_redirects else []   File "/usr/lib/python2.7/dist-packages/requests/", line 211, in resolve_redirects     **adapter_kwargs   File "/usr/lib/python2.7/dist-packages/requests/", line 588, in send     r = adapter.send(request, **kwargs)   File "/usr/lib/python2.7/dist-packages/requests/", line 437, in send     raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='', port=80): Max retries exceeded with url: / (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7fc5076e7950>: Failed to establish a new connection: [Errno -5] No address associated with hostname',)) 

Expected output:

<Response [200]> 

Adding choice to field associated to Content Type

I have the following script :

$  site = new-object Microsoft.SharePoint.SPSite("http://TEST123") $  web = $  site.OpenWeb() $  ct=$  web.ContentTypes["MyCT"]   $  field = $  ct.Fields.GetFieldByInternalName("AddTESTColumn")                             $  ct.FieldLinks[$].DisplayName ="AddTESTColumn"      $  ct.Update(); 

I have used the above to update the display name of a column that is associated to CT.

But now I want to update a choice field column so will be adding a new choice “away” to the current choices tried to use the choices.add but keep getting error message

If device is infected, can new devices get malware from associated social media accounts?

I have a couple social media accounts i want to use on a new phone ive got. The old phone i believe is infected with deep-malware. If I switch 2fa to my new phone which uses the same number but connected on a seperate network and change their passwords, could malware be transfered onto the new device? (Facebook, email, Discord, etc.)

error “The object is used in the context different from the one associated with the object.” while assigning permissions to item in sub site

I am working on assigning permission groups to the list item which is in sub site level.

the same code is working fine for top level site.but getting error at sub site level.

function SetPermissionsToDocSet { param($ context,$ docSetobject,$ groupName,$ role) try {

    $  groupObj=$  context.Site.RootWeb.SiteGroups.GetByName($  groupName)     $  context.Load($  groupObj)     $  context.ExecuteQuery()       $  roleObj=$  context.Web.RoleDefinitions.GetByName($  role)     $  roleDefBinding=New-Object Microsoft.SharePoint.Client.RoleDefinitionBindingCollection($  context)     $  roleDefBinding.Add($  roleObj)      #Assign permissions       $  context.Load($  docSetobject.RoleAssignments.Add($  groupObj,$  roleDefBinding))     $  docSetobject.Update()     $  context.ExecuteQuery()  }  catch {     Write-Host $  _.Exception.Message   } 


The above code is working fine if $ context is root site context.getting the above error if $ context is sub site context.unable to add group to subsite level list item. Please provide solution ASAP.

best way to display location an image is associated with on mobile

I’ve been asked to come up with an interaction for a list on a mobile. The list is a set of ten repeating items: image and paragraph. Each listing item has a location associated with it.

enter image description here

My question: Is there a precedent for this kind of interaction “I need to view the location of a thing in a list”?

My initial thoughts are to have a map icon launch a map that overlays the image.