I have a project that runs on 5V and should draw a maximum of around 500 mA. There is an existing CAT5 cable running conveniently to this project. I'm considering powering the project by using two of the wires in the CAT5 (which I assume is 24 AWG) by connecting it to a 5V - 2A power supply.   Is this safe? Is the amount of power my project draws (500mA) the determining factor for safety or the rating of the power supply (2A)?   Testing shows there is no problem with voltage drop-off.
Cat5e cable has a rated current of 0.577A (). I am wondering if this is voltage dependent? I am almost certain it is not, but if it is, something might blow up. Say I need to get 2A at 5V across the cable. I boost it to 24V / 0.5A, send it across the wire, and step it down to back to 5V and a bit under 2A. Would that work? If the cable is proper Cat5e could I do this trick with up to 100V as long as I don't exceed 0.577A?   I am worried if the cable heats up at near maximum rated current, for instance, the safe voltage could drop as the insulation softens up or something. I will certainly test this, but I wonder if there is some rule that I don't know about.
A 10th level Drow warlock (for instance) has the following Drow Magic racial trait (PHB p. 24), in addition to its warlock spellcasting abilities:  You know the dancing lights cantrip. When you reach 3rd level, you can cast the faerie fire spell once per day. When you reach 5th level, you can also cast the darkness spell once per day. Charisma is your spellcasting ability for these spells.  Can the Drow warlock cast faerie fire (which is not on the warlock spell list) using a warlock spell slot? Can it cast darkness (which is on the warlock spell list) using a warlock spell slot?  The  says this about the Magic Initiate feat:  If you’re a spellcaster, can you pick your own class when you gain the Magic Initiate feat? Yes, the feat doesn’t say you can’t. For example, if you’re a wizard and gain the Magic Initiate feat, you can choose wizard and thereby learn two more wizard cantrips and another 1st-level wizard spell. If you have spell slots, can you use them to cast the 1st-level spell you learn with the Magic Initiate feat? Yes, but only if the class you pick for the feat is one of your classes. For example, if you pick sorcerer and you are a sorcerer, the Spellcasting feature for that class tells you that you can use your spell slots to cast the sorcerer spells you know, so you can use your spell slots to cast the 1st-level sorcerer spell you learn from Magic Initiate. Similarly, if you are a wizard and pick that class for the feat, you learn a 1st-level wizard spell, which you could add to your spellbook and subsequently prepare.  But this specifically requires you to pick the feat for one of your classes to be able to cast the spell learnt using your class spell slots, and does not seem directly applicable. A Warlock can use warlock Pact Magic spell slots to cast spells learnt from levels of another spellcasting class, per the multiclass spellcasting rules (PHB p. 164):  If you have both the Spellcasting class feature and the Pact Magic class feature from the warlock class, you can use the spell slots you gain from the Pact Magic feature to cast spells you know or have prepared from classes with the Spellcasting class feature, and you can use the spell slots you gain from the Spellcasting class feature to cast warlock spells you know.  Similarly, if the warlock has learnt the invocation Mask of Many Faces (PHB p. 112)...  You can cast disguise self at will, without expending a spell slot.  ...Can the warlock cast disguise self using a spell slot, e.g. to decrease the chance it can be dispelled? Viruses: Adaptation to a new host through repeated host jumps A friend told me, during a 3 minute discussion, that viruses that are endemic in host $A$ and make repeated jumps to host $B$ but can't be transmitted between individuals of species $B$, may slowly adapt (through these repeated jumps) to be able to be transmitted between individuals of host $B$ and become epidemic.  I don't know much about epidemiology. I don't understand how a virus population that is endemic to host $A$ may adapt to host $B$ with repeated jumps while the viruses that jump to host $B$ are dead end because they cannot be transmitted further more. Or Are these viruses able to jump back to host $A$ to bring back their newly acquired adaptations to host $B$?  Also, I might misunderstand the meaning of "repeated host jumps transmission". I first thought it meant repeated jumps from a reservoir population in host $A$ to host $B$, but it is also possible that it describes the dynamic of a virus population that is adapted to jump from species to species and they actually gain this ability by keeping jumping and jumping. But then, how could a virus species get adapted to jump from species to species? I'm a bit confused…. Can you give me some hints about this process of cross-species transmission through repeated jumps? How can I double the newlines in an output stream Find what packages are installed from a repository Convert line voltage heating system to use low voltage thermostats I currently have two line voltage ceiling radiant heating systems in my condo each with their own DPST thermostat. I'd like to use low voltage thermostats such as the nest. I found , but it only has 3 wires. Will this work with a system designed to use DPST thermostats? If not, is there something else out there that will allow me to use low voltage thermostats with line voltage heaters? A question in four parts.   What are the main problems which supersymmetry purports to solve?  What would constitute lack of evidence for SUSY at the proposed LHC energy scales (e.g. certain predicted superpartners are not in fact observed)?  Are there alternative theoretical approaches which would address the SUSY problem set and which would still be credible in such an LHC no-SUSY-scenario? Where would LHC-disconfirmation of SUSY leave String Theory?   I would like to think that these four points could be taken together as one question. The problem is to prove the following equivalence:  $$2^{\aleph_0}=\aleph_1 \iff \exists\ A,B\in\mathbb{R}^2:\\ \textrm{a)}A\cup B=\mathbb{R}^2 \\\textrm{b)}\ \forall\ \textrm{lines } l\ \textrm{parallel to x-axis, } |A\cap l|\leq\aleph_0 \\\textrm{c)}\ \forall\ \textrm{lines } l\ \textrm{parallel to y-axis, } |B\cap l|\leq\aleph_0$$  I think I know how to prove "$\impliedby$":  Let's assume the RHS and that $2^{\aleph_0}\geq\aleph_2$. Now let's take a sequence $\langle x_{\alpha}:\ \alpha&lt;\omega_1\rangle$. Since $\bigcup_\limits{\alpha&lt;\omega_1}|B\cap x_{\alpha}|\leq \aleph_1\cdot\aleph_0=\aleph_1$ there is such a $y$-coordinate that neither of $(x_{\alpha},y)$ is in $B$. But hence we obtain $\aleph_1$ point which all lie on the same line parallel to $x$-axis. Since $A\cup B=\mathbb{R}^2$ they all must be contained in $A$ $-$ a contradiction as $A$ has at most countably many of those points.  But what about the other implication? Do I contruct these sets by induction? Over all lines or something else? I haven't come up with anything yet, perhaps you could help me. What is an example of Gâteaux differentiable but not Fréchet differentiable at a point in a finite-dimensional space? Let $V,W$ be nonzero normed spaces over $\mathbb{K}$ such that $V$ is finite-dimensional.  Let $E$ open in $\mathbb{K}$ and $p\in E$.  Let $f:E\rightarrow W$ be Gâteaux-differentiable at $p$.  Is $f$ necessarily Fréchet-differentiable at $p$ in this case?  I think this is not true in general, but cannot find a counterexample. What would be a counterexample? How would I identify what's causing my Mac to permanently hang on shutdown? Whenever I try to shutdown or reboot my Mac (Macbook Pro 15" Retina late 2013, OS X 10.11.3) it closes all programs like normal and then it goes into that black screen with the progress bar. When it gets to about halfway it permanently hangs and won't ever finish rebooting. I looked at the log viewer and couldn't find anything in particular. Is there a way to monitor a shutdown more closely and find out what's causing it to get stuck? 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. Issue with particles in blender donut tutorial I have been recently doing the blender donut tutorial and ran into a problem regarding the sprinkle particles. The particles (hair) keep appearing on the underside of the icing. As seen in the image below, most of the hair particles only come out from the bottom of the icing. I tried to readjust the normals but I realised the normals were already correct. (Blue colour donut in image) Someone suggested following through the weight painting part of the tutorial. However, the sprinkles still remain on the underside of the icing. What is the actual problem and how do I solve this?  Particle settings below  Edit: @moonboots Thanks the hair particle problem has been solved. How do I prevent the submersion of the sprinkle particles? How to remove top and bottom whitespace of longtable? I am using longtable instead of tabular environment and noticed that it puts some additional whitespace at the top and at the bottom of the table. Is there some way to remove it (something less hacky than \vskip -\baselineskip before the table)?  Small piece of code for illustration:  \documentclass[12pt]{book} \usepackage{longtable}  \begin{document}  Linelineline  \begin{longtable}{l l} cell1 &amp; cell2 \end{longtable}  Linelineline  \begin{tabular}{l l} cell1 &amp; cell2 \end{tabular}  Linelineline  \end{document}   And that's what I am getting:    Common tabular environment does not have any additional margins, but longtable does. When I try to render a wave, it keeps being rendered in extremely low quality. I'm not sure exactly which setting is causing this, but increasing the renderand viewport sampling don't seem to help. Is soaking beans 24 hours unrefrigerated safe? I see a lot of questions comparing full frame (e.g EF for Canon, FX for Nikon) and crop lenses (e.g. EF-S for Canon, DX for Nikon) but I can't find the answer to what would be the differences between the photos taken with say a 50mm f/1.4 EF and EF-S lenses both used with   same APS-C sensor sized camera same ISO same f/1.4 f-stop same focal length same shutter speed   What would be the resulting differences in the photos? Which one would   be brighter than the other due the EF-S lens concentrating the light more? no that's wrong. Both put the same amount of light from the same FoV on the sensor. have greater depth-of-field? neither less problems towards the edges? generally the full frame more lens flare? generally the full frame lens unless there is, or you provide more shading anything else? not really, unless you start down the road of which one is typically of better build quality.   Edit: Added the answers from what seems to be the general consensus from the multiple answers and comments.  Results: My desire to buy a fast medium-high quality lens compatible with both full frame and crop camera's doesn't have to be hampered by the APS-C sensor size of my current camera.  This means I'm willing to part with more money to get a higher performance/quality lens as the performance/quality will be useful now and when I upgrade my camera.  Though reading reviews of some full frame lenses with short focal lengths, look out, as some are really only made to perform well on crop cameras even though they fit on a full frame camera and will give you a full frame picture, the edge quality is very bad. How to set JAVA_HOME to point to a JDK installation? I installed sun-java6-jdk.  I need to find its home directory. JAVA_HOME must point to a JDK installation, not JRE. Is there a way to make RC4 (ARCFOUR) secure, or is it completely broken? I need a method to authenticate a process with another in order to establish interprocess communication between them, to prevent malicious processes from trying to hook onto the system. Currently I just send a password in plaintext between the two processes and the host process just performs a string comparison with its copy of the password, and will disconnect the connecting process if they don't match. It was fine when I was limited to connecting each process on localhost, but obviously this is not secure if someone just happens to have access to a network between each process and could sniff the packets. Do note that I only care about encryption for the password exchange and I don't really need it to secure the communication.  So basically I need a encryption algorithm that doesn't need to protect its contents well but does need to protect its key, and needs to be as fast as possible with minimal RAM usage and I/O overhead. Yes, data exchange is more CPU-bound than I/O bound since the two processes will be doing loads of calculations and they most likely will be connecting through localhost. Now, I came across RC4, which has a throughput of over twice that of AES-128, but it is evident that it has some weaknesses and I have a lot of questions about how to implement it in a secure way.  Well first question - it's in the title. Is RC4 completely broken and should be avoided? I hear a lot of "it is secure if properly used" and then a lot of "use of RC4 is discouraged."  I was planning to keep the plaintext password on both processes and have them SHA-224 hashed, and concatenate the hash with a 32-bit IV as a 256-bit key for RC4. Are there any security risks with this approach? Perhaps I could then hash the concatenated IV and hashed password with SHA-256? I'm well aware that WEP was cracked because it used a 24-bit IV, but a 32-bit IV has over four billion more unique values. Should I avoid incrementing the IV after each packet like WEP?  And when it comes to RC4-drop[n], what is a reasonable value for n? 256, 512, 768 bytes? How would you implement drop n on a library whose only public operation is encrypting a byte array - pass a byte array of length n after the engine is initialized with the key? Would that mean you would have to basically process n empty bytes after every time you change the IV (which happens after every packet)?  Sources:   EDIT: after reading all these excellent responses, I realized how ignorant I sounded about the whole subject. I had no experience with cryptography before this day, and I only was able to read about RC4's risks from the limited Google results that I could barely follow. thank you to everyone who has been patient with me!  Correct me if I'm wrong, but I believe a better solution is to either use AES (which is not slower because re-keying RC4 after each packet is expensive) or an universal message authentication code. I can easily work with AES, but my understanding of MAC is a bit shaky. An IV is only secure if the update sequence is randomized and unpredictable, meaning I would have to send a 128 bit IV for every message that is sent, which can add a 400% overhead to the short, 4 byte packets that are commonly sent by my application. HMAC can add more than twice that amount if SHA-256 is used. I am going to have to investigate this matter further. Run a batch file in a completely hidden way Show that the free group on $n$ generators is a finite index subgroup of $F_2$ Using covering spaces, prove that for each integer $n \geq 2$, $F_n$ is a finite index subgroup of $F_2$, where $F_n$ is the free group on $n$ generators.  I get how the cayley graph of $F_n$ would be a wedge of $k$ circles and the cayley graph of $F_2$ would be a graph of a vertex and two edges, but I don't understand how we can create an injective map from $F_n$ to $F_2$ and show its a subgroup. Sending signals to USB port using C I want to send a simple 5V signal to the usb port. The USB cabel's insulation will be removed and connected to a relay which is connected to an electric door system. I think I should write this code in C. Can somebody give me a hint?