I have some credit card debt that I would like to pay off. I feel like I am throwing money away on the interest charges each month. I was curious to know if taking a loan from my 401k to pay off my credit cards is a wise thing to do?   Keep in mind this is all very new to me&mdash;from what I understand, if I borrow from my retirement account, then I am required to pay back the money I borrow + interest. So say I borrow 1,000 + 5% interest I would have to pay back $1050.  However since I am technically paying back myself, wouldn't it all be going back in to my pocket anyways? Meaning it would be better to take the $1000 from my 401k, pay off my debt (therefore, eliminate the credit card interest each month) and use that money I would be putting towards my credit card interest each month to pay myself back?   Is this a wise thing to do or am I missing something here?   Thanks!
I'm considering taking a loan on my 401k in order to pay off and close 2 credit cards.  I have approximately 30 years until I consider retiring.  The amount of the loan will be $1700 which is less then 20% of my current 401k balance.  I will continue to put 9% of my paycheck into a Roth 401k, and my employer matches 9%.  The loan will be paid back at 3.25% (to myself) and does have $183 in fees.  There are 2 cards I will pay off and close if I follow through with this plan.  One card is 17.9% interest with roughly a $650 balance.  The other is 23% (ish) with roughly a $1,025 balance.  Both of these cards do have an annual fee associated with them, I used them to rebuild my credit and have a newer, lower interest, no fee card that I will keep active for emergencies.  Would it be advantageous for me to pay off these two credit cards and cancel them with a 401k loan?
Proving that if $G$ has a Hamiltonian circuit, then the line graph $L(G)$ also has a Hamiltonian Circuit I have a graph G = (V, E). I know that the line graph L(G) of G is defined as follows: each vertex in L(G) corresponds to an edge in G, and two vertices are connected by an edge in L(G) if and only if the corresponding edges in G are adjacent.  Now I am trying to (a) prove that if G has a Hamiltonian circuit, then L(G) also has a Hamiltonian circuit, and (b) give an example of a graph G such that G does not have a Hamiltonian circuit but L(G) does.  However, I'm extremely stuck on how to do this, and any help would be greatly appreciated. Thanks so much! Can I enter Croatia with single entry visa Schengen? Is it correct to use the word "birthday" for the deceased, or is there a better alternative? How does one refer to the birthdate of someone who is no more, we usually say  Today is my uncle's 80th birth anniversary (Common in Indian English, not sure if it's correct)  or  Today would have been my uncle's 80th birthday   Is it right to say  "Today is my uncle's 80th birthday" for an uncle who is dead? The hidden flaw in "singular they"—what to do about reflexive pronouns? We have  to a question about gender-neutral pronouns, in which he points to the "singular they" and its long history of use in English. (Note that he also advises against using it.) Example:     If someone wants to watch TV tonight, they'll have to do the dishes.   This avoids having to say "he or she" in mixed-gender situations. Okay, fine. I'm not going to get my panties in a bunch if people want to talk this way.  But it occurrs to me that "singular they"—infelicitous at the best of times—really falls apart when extended into the realm of reflexive pronouns:     If someone wants to watch TV tonight, they'll have to do the dishes all by themselves. [?]   That feels very wrong. The only alternative, if one paints oneself into that corner, is to flip it back to singular:     If someone wants to watch TV tonight, they'll have to do the dishes all by themself. [???]   That feels worse.  If I'm to state this as a question, I guess I would put it thus: How can use of a "singular they" truly be reconciled? Is it really as much of a linguistic dead end as it feels to me? i'm surprised there is so little documentation on this issue. But i'm trying to duck the audio on all the mix buses in Unity so that you can clearly hear the VO of the game.  Now it works great except that I have some reverb zones in the game and any sound that plays in these reverb zones, the actual reverb itself is NOT DUCKED.  So the VO is accompanied with a huge wall of wishy washy muddy noise.  Anyone deal with this before? How can we deal with this? How to prevent upper case in page header? I just came across this small problem which I can't seem to fix. I have a section which looks like this:  \section{Properties of $C_q$}   The problem is that the header of the page uses upper case and so it displays this section title as if I had written  \section{Properties of $C_Q$}   How can I make sure the q is always lower case? Why do shadows from the sun join each other when near enough? I was laying on my bed, reading a book when the sun shone through the windows on my left. I happened to look at the wall on my right and noticed this very strange effect. The shadow of my elbow, when near the pages of the book, joined up with the shadow of the book even though I wasn't physically touching it.   I have posted :The video seems to be the wrong way up, but you still get the idea of what is happening.  What is causing this? Some sort of optical illusion where the light gets bent?  Coincidentally, I have been wondering about a similar effect recently where if you focus your eye on a nearby object, say, your finger, objects behind it in the distance seem to get curved/distorted around the edge of your finger. It seems awfully related...  EDIT: I could see the bulge with my bare eyes to the same extent as in the video! The room was well light and the wall was indeed quite bright. Change the selected value of a drop-down list with jQuery I have a drop-down list with known values. What I'm trying to do is set the drop down list to a particular value that I know exists using jQuery.  Using regular JavaScript, I would do something like:  ddl = document.getElementById("ID of element goes here"); ddl.value = 2; // 2 being the value I want to set it too.   However, I need to do this with jQuery, because I'm using a CSS class for my selector (stupid  client ids...).  Here are a few things I've tried:  $("._statusDDL").val(2); // Doesn't find 2 as a value. $("._statusDDL").children("option").val(2) // Also failed.      How can I do it with jQuery?     Update  So as it turns out, I had it right the first time with:  $("._statusDDL").val(2);   When I put an alert just above it works fine, but when I remove the alert and let it run at full speed, I get the error     Could not set the selected property. Invalid Index   I'm not sure if it's a bug with jQuery or Internet Explorer 6 (I'm guessing Internet Explorer 6), but it's terribly annoying. How configure the DHCP settings of WIFI Tethering (Hotspot) on Android? When connecting my PC to Android Wi-Fi hotspot, it assigned a 192.168.42.x address to my PC. I really need to change this as it conflicts with one of our work subnets - is this possible? Should I use #define, enum or const? In a C++ project I'm working on, I have a flag kind of value which can have four values. Those four flags can be combined. Flags describe the records in database and can be:   new record deleted record modified record existing record   Now, for each record I wish to keep this attribute, so I could use an enum:  enum { xNew, xDeleted, xModified, xExisting }   However, in other places in code, I need to select which records are to be visible to the user, so I'd like to be able to pass that as a single parameter, like:   showRecords(xNew | xDeleted);   So, it seems I have three possible appoaches:  #define X_NEW      0x01 #define X_DELETED  0x02 #define X_MODIFIED 0x04 #define X_EXISTING 0x08   or  typedef enum { xNew = 1, xDeleted, xModified = 4, xExisting = 8 } RecordType;   or   namespace RecordType {     static const uint8 xNew = 1;     static const uint8 xDeleted = 2;     static const uint8 xModified = 4;     static const uint8 xExisting = 8; }   Space requirements are important (byte vs int) but not crucial. With defines I lose type safety, and with enum I lose some space (integers) and probably have to cast when I want to do a bitwise operation. With const I think I also lose type safety since a random uint8 could get in by mistake.  Is there some other cleaner way?  If not, what would you use and why?  P.S. The rest of the code is rather clean modern C++ without #defines, and I have used namespaces and templates in few spaces, so those aren't out of question either. How to verify iOS app integrity? If I write an app for iOS and it's accepted by the AppStore, how do I know if the app is actually the app I compiled and has not being substituted/altered by, say, a "Man in the middle" style interception/attack? Is there a way to do a checksum either after the fact or from inside the app itself? So I've got the shout in my shouts list and I've unlocked all three parts of it, but I can't seem to be able to use it all, just the first part.  Am I missing something? I still have a quest for 'Learn the first word of Durnehviir's shout' but it's showing as me having already got it.  What gives? Can you nest html forms? Is it possible to nest html forms like this  &lt;form name="mainForm"&gt;   &lt;form name="subForm"&gt;   &lt;/form&gt; &lt;/form&gt;   so that both forms work? My friend is having problems with this, a part of the subForm works, while another part of it does not. What off-camera flash solution should I use with an entry-level Nikon? Change hanging indent in description list I'm trying to get a description's list hanging indent to lie flush with the first line of text.  I have a description list such as the following:  \begin{description}  \item[Label the first] Lorem ipsum dolor sit amet, consectetur adipisicing                         elit, sed do eiusmod tempor incididunt ut labore et                         dolore magna aliqua.  \item[The longest label] Ut enim ad minim veniam, quis nostrud exercitation                           ullamco laboris nisi ut aliquip ex ea commodo                           consequat.  \item[Shrtlbl] Duis aute irure dolor in reprehenderit in voluptate velit esse                 cillum dolore eu fugiat nulla pariatur. \end{description}   This produces the following output:    I would like to have each paragraph indented so that the following lines are flush with the first letter of the list item's text, the way it's laid out in my TeX.  For instance, the "s" of "sectetur" should be right under the "L" of "Lorem".  I've tried looking through the documentation of , but I can't seem to find a good option.  I tried specifying [leftmargin=3cm, style=sameline], but this results in the following:    This isn't quite right: I'm trying to get each item lined up differently, so that the "L" of "Lorem" is not necessarily flush with the "U" of "Ut" or the "D" of "Duis".  Does anybody know a good way to do this? Deleting Objects in JavaScript I am trying to figure out how to add a Lightning Web Component to a Lightning tab.  I have it on the Home Page, but I would like it to be on its own tab.  I feel like there should be an option to expose it to the Lightning tabs.  When I am in the Tabs section, I don't see my LWC listed. Pluralization rule for "five-year-old children", "20 pound note", "10 mile run" Why are year, pound and mile in the singular form in the phrases below?   five-year-old children  20 pound note 10 mile run   Is that because they're acting as adjectives, which are always invariable in English?  Is it incorrect to say...   five-years-old children? 20 pounds note? 10 miles run? How to write permutations as product of disjoint cycles and transpositions $$\sigma=\begin{pmatrix} 1 &amp; 2 &amp;3 &amp; 4&amp; 5&amp; 6&amp;7 &amp;8 &amp;9 &amp;10 &amp; 11 \\ 4&amp;2&amp;9&amp;10&amp;6&amp;5&amp;11&amp;7&amp;8&amp;1&amp;3    \end{pmatrix}$$  (1) I am asked to write this permutation in $S_{11}$ as a product of disjoint cycles and also as a product of transpositions.   (2) Also find the order of the element. Is this permutation even or odd?  I think these are the disjoint cycles  $E_{1}=(1,4,10)$, $\;\operatorname{order}E_1 =3$  $E_{2}= (3,9,8,7,11),\;$ $\operatorname{order}E_{2} =5$  $E_{3}=(5,6),\;$ $\operatorname{order}E_{3} =2$  $S_{11}$=  $E_{1} \cdot E_{2}\cdot  E_{3}$  The order of $\operatorname{order}E_{3}$ is even so the order of the permutation is even. Why are they asking this? And what is the significance of it being even or odd?  Transpositions – I have read this a couple times but the one example in my textbook is rather unclear, I am not sure what this means?  I think the transposition for $E_{1}$ is $(1,4)(1,10)$ but I'm not sure what this means. Right now I'm using echo &quot;Hello World&quot; &gt;&gt; file.txt  to append some text to a file but I also need to add text below a certain string let's say [option], is it possible with sed? EG: Input file Some text Random [option] Some stuff  Output file Some text Random [option] *inserted text* Some stuff