Unity C# XML Serialization broke when abstract base type is added

I had a menu system with 4 different item types instantiated from one XML file. I had always intended to build an abstract base class for them to inherit from, after I knew what the common elements would be. When I wrote the simple base class, and assigned the 4 existing items as derived classes, everything broke! The GameObjects with my instantiator scrips kick this error, now:

InvalidOperationException: To be XML serializable, types which inherit from IEnumerable must have an implementation of Add(System.Object) at all levels of their inheritance hierarchy. UnityEngine.Transform does not implement Add(System.Object) 

I read a lot about why it could happen, but like I said, it wasn’t happening until I build a new, very simple abstract class for the items to inherit from.
Any help understanding “why” would be awesome!

Is this added versatility to the Sorcerer’s Flexible Casting imbalancing?

After playing Sorcerer quite a bit (both spell-slot and spell-point versions) I feel that the spell-slot variety lacks much of the versatility granted under the spell-point option. I’m wondering whether the following change (increase in versatility) to the Flexible Casting feature will be alright or if I’ve missed something that will horribly imbalance my games.

The current Flexible Casting feature allows you to turn a spell slot into a number of sorcery points equal to its level and you can convert a number of sorcery points into a spell slot following this table:

$ $ \begin{array}{|c|c|} \hline \text{SPELL SLOT LEVEL} & \text{SORCERY POINT COST} \ \hline \text{1st} & \text{2} \ \hline \text{2nd} & \text{3} \ \hline \text{3rd} & \text{5} \ \hline \text{4th} & \text{6} \ \hline \text{5th} & \text{7} \ \hline \end{array} $ $

However, I found this particularly lacking when it comes to spells that don’t significantly change when upcast (such as misty step). Thus I wanted there to be a way to turn these larger spell slots into smaller ones and propose the following addition to Flexible Casting:

As a bonus action, you may convert a spell slot of 5th level or lower into any combination of spell slots so long as the sum of their levels is less than the original slot.

For example, a 4th level slot could become a 3rd level slot, a 2nd level slot and a 1st level slot, or three 1st level slots.

Notably, converting a slot into sorcery points is always worth more than converting the slots you make out of it because of the sum having to be lower than the original slot’s level. (If you make a 4th level slot and convert it into different spell slots, you couldn’t earn back more than 3 sorcery points)

Also the cost of creating the composite slots is usually less than or equal to the cost of creating the larger slot. This means you couldn’t gain bonus slots. (Making three 1st level slots costs 6 points, and making a 4th level slot, which can be turned into three 1st level slots, also costs 6 points).
The only exception to this is that a 5th level slot can be turned into four 1st level slots, which would ordinarily cost 8 sorcery points, but now would only cost 7. I’m not particularly worried about this one instance of a price mis-match though.

Something like the following is what I’m currently worried about:
Converting a 5th level slot into four 1st level slots to cast catapult four times. Cast at 5th level, catapult would deal 7d8 damage, but now it can be split into four instances of 3d8 damage (a total of 12d8). This deals 5d8 more damage than the previous version, though it requires 3 more actions, and a bonus action. Alternatively you could create two 2nd level slots dealing only 8d8 damage, costing an additional action and a bonus action. I’m unsure how balanced these damage differences in particular are though.

Is some part of this proposed change to Flexible Casting going to imbalance my game?

Does a familiar gain the added damage of hex when delivering an attack on the owner’s behalf?

Per the rules of Find Familiar:

Finally, when you cast a spell with a range of touch, your familiar can deliver the spell as if it had cast the spell. Your familiar must be within 100 feet of you, and it must use its reaction to deliver the spell when you cast it. If the spell requires an attack roll, you use your attack modifier for the roll.

But what if the familiar’s owner also cast Hex on the target?

The description for Hex states:

Until the spell ends, you deal an extra 1d6 necrotic damage to the target whenever you hit it with an attack.

Would the attack from the familiar’s touch also include Hex damage?

While Hex state it happens with “you hit it with an attack”, the “hit it” is the familiar’s touch. But by the same token, Find Familiar says that “If the spell requires an attack roll, you use your attack modifier for the roll.” So the “hit it” is based on the caster’s abilities, not the familiars.

So when a familiar does the dirty work, who exactly is “hitting it” and can it include Hex damage?

What happens if a 2nd-level spell appears in (or is added to) a character’s spell list as a 1st-level spell?

In the latest Unearthed Arcana: Class Feature Variants, one of the [many] included additions/changes is the addition of a few spells to the Ranger’s spell list. One of these changes is to add the 2nd-level spell, Aid, to the Ranger’s spell list as a 1st-level spell.

Assuming, for the sake of argument, that this isn’t just an obvious typo in playtest material, and actually constitutes a serious, intentional design decision:
How would this be adjudicated? Would Rangers be able to cast the Aid spell using only a 1st-level spell slot?

Does an NPC stat block get racial bonuses added to it?

Specifically, there is a character in the Curse of Strahd (p. 133):

Also, it’s worth pointing out that (from p. 119):

The only example I know of (in Curse of Strahd, at least) of an NPC statblock given to a non-human race is:

In the former case, no changes are specified at all, only an alignment and a race. In the second case, a few changes are made, but not enough to be a fully fledged member of that race.

It seems that, RAW, no changes are supposed to be made to these statblocks except those that are explicitly given, but I’m wondering whether there are any generic rules for NPC stat blocks that I’ve overlooked that state that such NPCs should be given the relevant ability score adjustments to match that NPC’s race, or any other racial traits as per the Player’s Handbook?

Should a preview be added to an address form?

Task

The user wants to correct an address. The wrong address is displayed on the left and the user can enter or correct the address on the right in the address form.

enter image description here

Situation

The developers added a preview of the corrected address below the original address. On the one hand I see that provides a better overview than the input form. On the other hand it also causes more clutter and disrupts the input flow. Even if the preview is for example displayed above or below the save button I think there is a lot of redundancy.

Question

To add or not to add this feature?

Your Site Will Be Added to 200+ SEO Social Bookmarks High Quality Backlinks, RSS and Ping for $2

Add your site to 200+ SEO social bookmarks high quality backlinks, rss and ping for $ 2 Your Site will be Added to 200+ SEO social bookmarks high-quality backlinks, RSS, and ping. It is the most NATURAL and search engine friendly technique. Does not look spammy & GOOGLE always RANK HIGHER after submission. Social Bookmarks are works as a vote to the search engine, the more you have the more you get a reputation, Its helps your site to rank up fast Why is it a Great idea to choose us? – All orders managed IN TIME – Quality work – Full live link Report as a text file – Penguin 3.0 & Panda Safe! – Multiple titles and descriptions allowed. – Usually no late delivery of the order – 100% Custom-Tailored Service! – 100% Dofollow Backlinks Guaranteed! – High quality 24/7 support! We accept all niches!

by: earnfree55
Created: —
Category: Social Bookmarks
Viewed: 204


Bash File Unable to locate package when new line is added

When building a bash file to execute I keep getting an error after adding a new line. I have tried moving some lines around or removing some of the packages but it will results in the same error. In the file if I was to remove 3 and 4 it there will no longer be an error.

E: Unable to locate package <package> 

The bash file looks like this

#!/usr/bin/env bash sudo apt update && sudo apt install -y python3-pip build-essential python3-dev python3-setuptools gcc sshpass sudo apt-get install apt-transport-https lsb-release software-properties-common dirmngr sudo apt-get update 

The output with the error

Hit:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]                                                   Hit:3 http://archive.ubuntu.com/ubuntu bionic InRelease                                             Get:4 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]         Get:5 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]                                       Fetched 252 kB in 1s (189 kB/s)     Reading package lists... Done Building dependency tree        Reading state information... Done All packages are up to date. Reading package lists... Done Building dependency tree        Reading state information... Done E: Unable to locate package sshpass Reading package lists... Done Building dependency tree        Reading state information... Done E: Unable to locate package dirmngr Hit:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]                                                   Hit:3 http://archive.ubuntu.com/ubuntu bionic InRelease                                             Get:4 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]         Get:5 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]                                       Fetched 252 kB in 1s (209 kB/s)     Reading package lists... Done 

Microsoft Surface Laptop – will keyboard support be added to Ubuntu?

My apologies for my lack of knowledge on how hardware support gets added to distros and the kernal.

I have a first gen MS Surface laptop (actual ‘Laptop’ not pro or go, etc.). When I run the Ubuntu live everything works, as far as I can tell, except the built in keyboard. Since this laptop is several years old I was wondering if this will ever work? I’ve installed various linux systems on laptops and have had things like cameras not work but I’ve never had something as basic as the keyboard not work.

I’ve seen the jakeday kernal work but because I lack this level of system build knowledge I’m worried about things like security and also what that means for future upgrades. Again… this is more on me than jakeday’s work.

So long question shortened… for my Surface Laptop keyboard to work.. Be Patient or stay with windows/buy new laptop?

Thank you