Basically the title. If a Warlock fights by wielding their Book of Shadow or Genie Vessel in one hand as a spell focus and keeps the other one empty to meet the requirement of somatic component, they will eventually end up in situations where they are forced to use the book or vessel as an improvised weapon (like when an enemy closed the distance or when the Warlock needs to perform an Opportunity Attack). So the question is, would hitting someone with the spine of the book of shadow or their oil lamp of a Genie Vessel be considered using an improvised weapon with magical properties? For the Vessel, It is a tiny object, but not specifically written as &quot;a magical tiny object&quot; even if the previous sentence mention that the patron has imbued magical powers with it. The Warlock can do lots of wacky stuff with it like sleeping in it or dragging others into it to rest, but it almost seems like its the power of the Class Feature using the item in question as the medium in which the feature's power (and thus your Patron's power) is expressed, and not the power of the Item proper.  Genie's Vessel ; 1st-level Genie feature ; Your patron gifts you a magical vessel that grants you a measure of the genie's power. The vessel is a Tiny object, and you can use it as a spellcasting focus for your warlock spells. You decide what the object is, or you can determine what it is randomly by rolling on the Genie's Vessel table.  The book of shadow is even more vague; it is only stated to be a grimoire, and nothing else about it's materalistic properties are mentioned or explained further other than that if its lost or destroyed you can resummon it. How durable is it, anyway? This also opens some icky boxes like &quot;Would anti-magic fields suppress their magical properties or destroy them outright?&quot; and something like &quot;If the Genie's Vessel is indeed a magic item and using it as an improvised weapon can pierce resistance, the Genie Warlock has access to a magical weapon that is basically the equivalent of a +0 but magical dagger at LV1&quot; etc. I am aware that some similar questions have been asked, like &quot;Does attacking with an improvised weapon using a magic item count as a magical attack?&quot; and &quot;Are punches with Gauntlets of Ogre Strength magical, improvised weapon attacks?&quot;; but the main issue here is that both the book of shadow and the vessel's status as a separate magical item seems to be a bit unclear. They look very much like tag-alongs to complete a feature's ... uh... feautre. PS: Before someone says that using it as an improvised weapon is a poor choice of tactics, keep in mind that Genie Warlocks gain extra damage from the &quot;Genie's Wrath&quot; Feature equal to their proficiency bonus. Compared to wielding a regular dagger with the damage of 1d4 + dex + pb, using the Genie's Vessel as an improvised weapon of 1d4 + str + pb isn't that bad; and depending on how the DM would rule it could be counted as magical and be able to pierce resistances.
This question was triggered by .  Basically, it goes like this: If you have a weapon with a certain magical effect, let's say the minor property unbreakable (can not be broken, requires special means) or temperate (no harm in temperatures between -20 to 120 F), it can bypass the immunity of something like a Werewolf because it is magical instead of mundane. This goes for any minor property because those properties are under the Magic Items portion of the DMG on pg.143.  How does this differ from a pair of gauntlets with the exact same effect being used as an improvised weapon (emphasis added for clarity) from dealing damage in the same manner to the same Werewolf? Or something that's clearly not a weapon like a Shield of Missile Snaring being used to bash an opponent?
I often find myself wishing SO supported drag and drop. For example I drag a tag to my favs and it would add it, or when searching by tag I would like to drag the tag to the search box and get [asp.net] added in the search box.   Does it make sense to add this feature or is it just too much work for so little use? How to prove useful property of logarithm of generating functional in QFT? How to prove that $\ln(Z(J))$ generates only? I can't find the proof of this statement, and have only met its demonstrations for case of 2- and 4-point. Does existence of $\gcd$ implies PID? We know that if $A$ is a PID, then we can guarantee the existence of a $\gcd$ between two elements. My question is, does the converse hold? If I know that every two elements have a $\gcd$, do I know that the ring is a PID? My intuition says no, in that case I would like a counter-example.  Thanks. Deputy badge after a reputation of 3000 What is the solution to the Squirrel sequence of letters question? First of all, I swear this is not homework, it's a question I was asked in an interview. I think I made a mess of it (though I did realise the solution requires recursion). Here is the question:  Implement the count() method which returns the number of nodes in a tree. If a node doesn't have either a left or right child, the relevant getXXChild() method will return null  class Tree {    Tree getRightChild() {     // Assume this is already implemented   }    Tree getLeftChild() {     // Assume this is already implemented   }    int count() {     // Implement me   } }   My reason for asking the question is simply curious to see the correct solution, and thereby measure how bad mine was.  Cheers, Tony I have a chromebook series 5. I want to install Ubuntu onto a USB stick. When I downloaded Ubuntu onto my USB stick, it won't start up.  Do I first have to download Ubuntu onto my chromebook hard drive, open Ubuntu and then make USB stick bootable? And then return back to chrome?  Or is there a way to download directly onto USB and make the stick bootable?  I appreciate any help. I recall a short lived TV show that I think was broadcast on the British TV channel ITV in the late 90s or early 2000s and it was about time travel. It was set in Britain in relatively modern times. The scene that really sticks in my head is when the protagonist goes to use their time travelling machine they go in to a room where the machine is and they close all the windows. The windows have latches on them and by closing the window it creates a circuit. By closing all the latches the circuit is complete and the machine is able to be activated. I don't know if it's much to go on, but it's been really bugging me for ages. Relation between AB and BA Let $A$ and B be $n\times n$ matrices over a field $F$. Then prove or disprove  $(i)\, AB$ and $BA$ have same characteristic values.  $(ii)\, AB$ and $BA $ have same characteristic polynomial.  $(iii)\, AB$ and $BA $ have same minimal polynomial.  Proof of $(i)$   Let $c$ be an eigen value of AB and v be corresponding eigen vector. Then    AB(v)=cv,    B(ABv)=B(cv),    BA(Bv)=c(Bv),   this implies $Bv$ is an eigenvector of $BA$ corr. to eigen value $c$.  But this statement holds if $Bv$ is nonzero.  What if $Bv=0$?  $(ii)$ If $A$ is invertible then ($A$ inverse)$(AB)A= BA$, i.e. $AB $ and $BA$ are similar and hence have same charateristic polynomial.   Similar proof when $B$ is invertible.  But what if both $A$ and $B$ are not invertible?  I have no idea about $(iii)$.  Please help me to complete these proofs. NetworkOnMainThreadException on higher API Deleting files older than 30 days based on filename as date If I have a folder of files with their filenames as the date they were created:  2019_04_30.txt 2019_04_15.txt 2019_04_10.txt 2019_02_20.txt 2019_01_05.txt   How would I compare the files names against todays current date  $ date "+%Y_%m_%d" &gt;&gt;&gt; 2019_04_30   If the file names date is greater than 30 days then delete it. I would expect to end up with  2019_04_30.txt 2019_04_15.txt 2019_04_10.txt   I don't have to follow this naming convention, I could use a more suitable date format. Suppose that $a_1,a_2, \cdots, a_n$ are $n$ different integers. Then $[(x-a_1)(x-a_2) \cdots (x-a_n)]^2 +1$ is irreducible over $\mathbb Q$.   I've no idea why it is true. Thanks very much. I am trying to understand the Georgi chapter of tensor methods in $SU(3)$ representations, and I don't know how to resolve the tensor product of 2 matrices in a 2 heavy quark + 2 light antiquark system. Namely:  Let the tetraquark system be:           $QQ\bar q\bar{q}$  So, those $Q$ heavy quarks interact and can be understood in the $3\bigotimes 3$ representations for $SU(3)$, and $\bar q\bar q$ can be understood as the $\bar 3\bigotimes\bar 3=3\bigoplus\bar 6$ representations for $SU(3)$.  The interaction diagram for the $Q$ heavy quarks is shown in the following scheme, which is an analogy to the Feynman Diagram where a gluon is understood to be exchanged between upper and lower arrows:  $i'\xrightarrow{(T_{a})^{i'}_{i}}i ,  {}^iQ$  $j'\xrightarrow{(T_{a})^{j'}_{j}}j ,  {}^jQ$  So, as usuall we consider the elements of $3$ representation as $u^i$, and therefore the elements of $\bar 3$ representation as $v_{j}$.  I must understand how does the following expression transform:  $(T_{a})^{i'}_{i}(T_{a})^{j'}_{j}\cdot(1/2)\cdot (w^iv^j+w^jv^i)=\Xi\cdot(1/2)\cdot(w^{i'}v^{j'}+w^{j'}v^{i'})$  In other words, how can one give the correct value of $\Xi$?  Note1: $T_a$ is understood to be the $a-ith$ generator of the associated Lie Algebra, which come from the definition of the Gell-Mann Matrices.  $(T_{a})^{i}_{j}\propto(\lambda)_{ij}$, in matrix notation.  Note2: I understand the Young Tableaux and they are not intended to be used here, so please don't try to explain this situation through the tables.   Note3: I assume this is a purely solvable mathematical problem and doesn't need a deep insight into the physical concepts...  Also requesting information about how to understand the tensor products in these cases, since I have been checking many sources but the definitions seem not clear enough. Weighting features prior to SVM I'm building an object detector using HOG features and linear SVM. Some of the regions of the object are more "distinctive" so I would like to give more weight to the features extracted from those regions. (e.g. imagine we want to detect between mugs and glasses, then the most "distinctive" part is the mug's handle)  How could I do this? For sure there should be a more intelligent way than just replicating the features of those "distinctive" regions. I have a weird port forwarding problem. I tried to open my port 22 to the outside network. I was able to access it as long as I am not inside the LAN. I can access it from my office for example. But from within the LAN, I can access the port using the local ip, but I can't access the port using the external IP. It's as if the router is blocking the loopback. I've check all my router settings, turned off anything firewall/filtering related. Any ideas? Let $X_1,X_2,\ldots,X_n$ and $A_1,A_2,\ldots,A_n$ be real numbers taken at random, and $\alpha\gt0$. Show that: $$\sum_{k=1}^n |X_kA_k| \le \frac{1}{\alpha}\sum_{i=1}^n X_k^2 + \frac{\alpha}{4}\sum_{k=1}^n A_k^2$$ My 2nd great-grandmother, Margaret Elizabeth Armegust or Arbingast, was born 22 Sept 1837 in Ohio and died 24 July 1929 at the Richmond State Hospital, Wayne, Indiana, United States.  She lived for a time in Sparta, Noble, Indiana and Stock, Harrison, Ohio. She was married to John B. Miller on 22 Oct 1859 in Noble and they had at least five children: James, Samuel, Elias, Julia, and John.  I am searching for records from the State Hospital to learn of her diagnosis and treatment. How to fix Permission Denied (Public key) error? While trying to communicate between my desktop Ubuntu 12.10 and Fedora 19 desktop, I am facing the error of Permission Denied (Public key). I am able to login through ssh from fedora to Ubuntu, but not vice-versa. I even performed telnet on both machines via port 22 and both machines are listening, but not through ssh. What to do? Any idea?  My sshd_config file is as follows:  # Package generated configuration file # See the sshd_config(5) manpage for details  # What ports, IPs and protocols we listen for Port 22 # Use these options to restrict which interfaces/protocols sshd will bind to #ListenAddress :: #ListenAddress 0.0.0.0 Protocol 2 # HostKeys for protocol version 2 HostKey /etc/ssh/ssh_host_rsa_key HostKey /etc/ssh/ssh_host_dsa_key HostKey /etc/ssh/ssh_host_ecdsa_key #Privilege Separation is turned on for security UsePrivilegeSeparation yes  # Lifetime and size of ephemeral version 1 server key KeyRegenerationInterval 3600 ServerKeyBits 768  # Logging SyslogFacility AUTH LogLevel INFO  # Authentication: LoginGraceTime 120 PermitRootLogin yes StrictModes yes  RSAAuthentication yes PubkeyAuthentication yes #AuthorizedKeysFile    %h/.ssh/authorized_keys  # Don't read the user's ~/.rhosts and ~/.shosts files IgnoreRhosts yes # For this to work you will also need host keys in /etc/ssh_known_hosts RhostsRSAAuthentication no # similar for protocol version 2 HostbasedAuthentication no # Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication #IgnoreUserKnownHosts yes  # To enable empty passwords, change to yes (NOT RECOMMENDED) PermitEmptyPasswords no  # Change to yes to enable challenge-response passwords (beware issues with # some PAM modules and threads) ChallengeResponseAuthentication no  # Change to no to disable tunnelled clear text passwords PasswordAuthentication yes  # Kerberos options #KerberosAuthentication no #KerberosGetAFSToken no #KerberosOrLocalPasswd yes #KerberosTicketCleanup yes  # GSSAPI options GSSAPIAuthentication no GSSAPICleanupCredentials yes  X11Forwarding yes X11DisplayOffset 10 PrintMotd no PrintLastLog yes TCPKeepAlive yes #UseLogin no  #MaxStartups 10:30:60 #Banner /etc/issue.net  # Allow client to pass locale environment variables AcceptEnv LANG LC_*  Subsystem sftp /usr/lib/openssh/sftp-server  # Set this to 'yes' to enable PAM authentication, account processing, # and session processing. If this is enabled, PAM authentication will # be allowed through the ChallengeResponseAuthentication and # PasswordAuthentication.  Depending on your PAM configuration, # PAM authentication via ChallengeResponseAuthentication may bypass # the setting of "PermitRootLogin without-password". # If you just want the PAM account and session checks to run without # PAM authentication, then enable this but set PasswordAuthentication # and ChallengeResponseAuthentication to 'no'. UsePAM yes   This is sshd_config of ubuntu system. I installed some version of Ubuntu on my VMware, but I don't know what version exactly it is. How can I find it out? Ignoring programming style and design, is it "safe" to call delete on a variable allocated on the stack?  For example:     int nAmount;    delete &amp;nAmount;   or  class sample { public:     sample();     ~sample() { delete &amp;nAmount;}     int nAmount; }