Trouble finding an NJM2360D Boost Converter EAGLE library
Are there surface-mount pin header footprints for KiCAD?
Is it possible to recognise hardware (router or network card) just by its MAC address? Just wondering if that is possible. Are there any naming conventions that would allow one to deduce whether the MAC address belongs to a router (of a specific brand), or a network card, etc.. I have hundreds of figures with filenames containing "#" to include using \includegraphics, I've tried packages like grffile or currfile, but none of them work. Can anyone suggest a real solution so that I don't need to change hundreds of file names? Thanks.  Update: 1. I'm using Windows. 2. When I compile it, it shows "Illegal parameter number in definition" Derangements with repetitive numbers I have a very simple problem.  Lets assume that I have a well shuffled deck of 52 cards. I start drawing the top card always and when the card matches its rank I lose. J=11 Q=12 K=13.  If there were only 13 cards I could easily use the $\ \frac{!n}{n!}$ for derangements in order to solve this. The problem is that there are 52 cards so when I pass 13 I start from 1 again so I don't know what is the probability to win. Example of the game     1st card: 4 - Continue   2nd Card: A - continue   3rd Card: K - Continue   4th Card: K - Continue   5th Card: 6 - Continue   6th Card: 9 - Continue   7th Card: 10 - Continue   8th Card: A - Continue   9th Card: J - Continue   10th Card: 3 - Continue   11th Card: 2 - Continue   12th Card: 8 - Continue   13th Card: A - Continue   1st card: 5 - Continue   2nd Card 2 LOSE   So actually I have to count from 1 to 13 4 times and if I draw all 52 cards then I win. What's the probability? Unable to Enter a Country If I have a connecting flight through a country I am unable to enter. Can I retrieve my bags to recheck for my connect? Why is the minimum size of a generating set for a finite group at most $\log_2 n$? It seems to be known that the minimum size of a generating set for a finite group of order $n$ is at most $\log_2 n$. Can someone explain why this is true?  Edit: noted that the logarithm is base 2, and $n$ represents the order of the group. Sorting references with special characters alphabetically I have a problem within the reference list. Namely I have some references where the authors first surname letter is Š (\v{S}) and when listing them in the references they appear amid those authors whose surname starts with V instead after those whose surname starts with S and those whose starts with T (it should list R, S, Š, T... and not R, S, T, U, V with Š in between)  Here is my minimal working example:   \documentclass{article}  \usepackage{filecontents}  \begin{filecontents}{AA.bib}  @article{simovic13, Author = {\v{S}imovi\'{c}, H. and Deskar-\v{S}krbi\'{c}, M.}, Journal = {Zbornik radova Ekonomskog fakulteta u Rijeci}, Number = {1}, Pages = {55--78}, Title = {Dynamic effects of fiscal policy and fiscal multipliers in {Croatia}}, Volume = {31}, Year = {2013}}  @misc{tenhofen07, Author = {Tenhofen, J. and Wolff, G. B.}, Note = {Deutsche Bundesbank Discussion Paper Series 1: Economic Studies No. 14. Frankfurt am Main: Deutsche Bundesbank}, Title = {Does anticipation of government spending matter? Evidence from an expectation augmented {VAR}}, Year = {2007}}  @misc{spilimbergo09, Author = {Spilimbergo, A. and Symansky, S. and Schindler, M.}, Note = {IMF Staff Position Note No. 11. Washington: International Monetary Fund}, Title = {Fiscal multipliers}, Year = {2009}}  @misc{ver11, Author = {Verhelst, S.}, Note = {Egmont Paper, No. 47, Brussels: Egmont Institute}, Title = {The Reform of European Economic Governance: Towards a Sustainable Monetary Union?}, Year = {2011}}  @article{vuckovic10, Author = {Vu\v{c}kovi\'{c}, V.}, Journal = {Privredna kretanja i ekonomska politika}, Number = {125}, Pages = {61--88}, Title = {Political Business Cycles: Do They Exist in {Croatia?}}, Volume = {20}, Year = {2010}}  \end{filecontents}   \begin{document} \nocite{*}   \bibliographystyle{plain} % works % \bibliographystyle{alpha} % works ... % \bibliographystyle{apalike} % works \bibliography{AA} \end{document}   I am thankful for any help!!!  Ana We've all wanted to express certain questions, rhetorical or not, with annoyance, excitement, surprise, frustration and so on. What better way than with both a question mark (?) and an exclamation mark (!), right? I've seen two ways of punctuating such questions:  Where is this place?!    Who do you think you are!?  (Things like ?!?, !?!, ?????!!!!!, ??!?!!?!?!!??, etc are irrelevant here.) Which is the proper way to order the two symbols? Or does each of the above two have a distinct and grammatically correct meaning? Or is the interrobang (‽) the clear winner here? ;) Let $G$ be a matrix Lie group and let $H$ be a Lie subgroup of $G$. My understanding is that all $g \in G$ are matrices, since $G$ is a subgroup of the general linear group. Then aren’t all elements $h \in H$ matrices, since $h \in G$?  From what I can gather $H$ is a matrix Lie group if $H$ is a closed subset of $G$. But if $H$ is not a closed subset of $G$, why is it not a matrix Lie group? Is the reasoning in the first paragraph wrong? Bash : compare two strings with space I am trying to write a bash script which run a command and compare the result with another string.   #!/bin/bash -x  STATUS=`/root/setup_ha show --password-file=/root/password | grep "&gt;HA State" | awk '{print $3}' |  cut -c 2-`  TEST=`echo $STATUS` if [[ "$TEST" == "ON Master" ]]; then echo CLUSTER CRITICAL else   echo CLUSTER OK MASTER fi   As the Original string is on two lines, I echo it in a new variable TEST. The New variable have the output of the command on one line.  Here is the Bash debug output :  ++ /root/setup_ha show --password-file=/root/password ++ grep '&gt;HA State' ++ awk '{print $3}' ++ cut -c 2- + STATUS='ON Master' ++ echo 'ON' Master + TEST='ON Master' + [[ ON Master == \O\N\ \M\a\s\t\e\r ]] + echo CLUSTER OK MASTER CLUSTER OK MASTER   I also tried the following test :  if [[ "$TEST" =~ "ON Master" ]]   The thing is bash is not able to compare the strings it is always false.  Any idea ?   EDIT :  Here is the output with the first answer :  + STATUS='ON Master' ++ echo 'ON' Master + TEST='ON Master' + '[' 'ON Master' == 'ON Master' ']' + echo CLUSTER OK MASTER CLUSTER OK MASTER   Still  not working ON seems weird on line 3, plus in my bash it takes green color ! What component to use for audio signal switching? I'm looking to build a guitar pedal switcher based on a Raspberry Pi or Arduino (have not yet decided, but I have an unused Raspberry around and I lean towards that). Anyway, digital logic.  Now, I need to switch audio signal obviously and I need to do it quietly (both physical silence and electrical silence). Please note that the signal is line level throughout most of the build, except for the input which is much lower. I will probably have 2 or 3 loops before the preamp so those may not encounter line level signal.  From what I read and know, so far, mechanical relays are not really an option due to the clicking noise they make. I also read something about FETs, but that's a bit out of my league and I would appreciate any info on these.  PS: I will probably use different power rails for the digital and analog paths.  PS2: The whole thing will be mounted in a 1U rack enclosure, so please tell me if I should take into consideration any thermal issues. What should I do if I have two libraries that provide functions with equivalent names? How to change Gnome-Terminal title? I have several instances of terminals running in my working environment, what I would like is to set a specific title for each one, in order to have a clear idea what purpose the specific terminal serves i.e. Apache, editing_ini, postgres etc...  Of course from the command line. Is it possible to speed up the gzip process?  I'm using  mysqldump "$database_name" | gzip &gt; $BACKUP_DIR/$database_name.sql.gz   to backup a database into a directory, $BACKUP_DIR.  the manpage says:     -# --fast --best             Regulate  the  speed  of compression using the             specified digit #, where -1  or  --fast  indi‐             cates  the  fastest  compression  method (less             compression) and -9 or  --best  indicates  the             slowest compression method (best compression).             The default compression level is -6 (that  is,             biased  towards high compression at expense of             speed).    How effective would it be to use --fast? Is this effectively lowering the CPU usage on a modern computer?   My test results  I didn't notice any acceleration:   7 min, 47 seconds (with default ratio -6) 8 min, 36 seconds (with ratio --fast ( = 9 ))   So it seems it takes even longer to use the fast compression?  Only higher compression really slows it down:   11 min, 57 seconds (with ratio --best ( = 1 ))   After getting the Idea with lzop I tested that too and it really is faster:   6 min, 14 seconds with lzop -1 -f -o $BACKUP_DIR/$database_name.sql.lzo Database does not update automatically with MySQL and Python I'm having some trouble updating a row in a MySQL database. Here is the code I'm trying to run:  import MySQLdb  conn=MySQLdb.connect(host="localhost", user="root", passwd="pass", db="dbname") cursor=conn.cursor()  cursor.execute("UPDATE compinfo SET Co_num=4 WHERE ID=100") cursor.execute("SELECT Co_num FROM compinfo WHERE ID=100") results = cursor.fetchall()  for row in results:     print row[0]  print "Number of rows updated: %d" % cursor.rowcount  cursor.close() conn.close()   The output I get when I run this program is:     4Number of rows updated: 1   It seems like it's working but if I query the database from the MySQL command line interface (CLI) I find that it was not updated at all. However, if from the CLI I enter UPDATE compinfo SET Co_num=4 WHERE ID=100; the database is updated as expected.  What is my problem? I'm running Python 2.5.2 with MySQL 5.1.30 on a Windows box. "invalid EFI file path" while booting Windows Are spells learned from feats considered to be associated with your class? The multiclassing spellcasting rules (PHB p. 164, or ) 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)?  For reference, the  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  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 &quot;use the spellcasting ability of that class when you cast the spell&quot; 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. Better understanding of Drupal behaviors I read about Drupal behaviors today, and I tried writing the following code.  (function ($) {    Drupal.behaviors.mymodule = {     attach: function (context, settings) {       $('#mymodule_id', context).change(function () {         alert('Handler for .change() called.');       });     }   };  }(jQuery));    Is Drupal.behaviors.mymodule the namespace? What are the context and settings parameters passed to the Drupal behavior? Is this the equivalent of document.ready()?   Can I attach any number of functions?  Can I define JavaScript functions which will be called somewhere? Are tile bonuses counted twice if 2 new words are formed? An example:    O  O?   There is a triple letter tile to the right of the bottom O, indicated with a ?.  If I place an X on it, making the words OX (vertical) and OX (horizontal), do I score 50 points (scoring the tile twice) or 34 (scoring it once)? A real $2 \times 2 $ matrix $M$ such that $M^2 = \tiny \begin{pmatrix} -1&0 \\ 0&-1-\epsilon \\ \end{pmatrix}$ , then : A real $2 \times 2 $ matrix $M$ such that $$M^2 =  \begin{pmatrix} -1&amp;0 \\ 0&amp;-1-\epsilon  \\   \end{pmatrix}$$ (a) exists for all $\epsilon &gt; 0$. (b) does not exist for any $\epsilon &gt; 0$. (c) exists for some $\epsilon &gt; 0$. (d) None of the above is true.  Attempt: I couldn't think of any theory base to prove / disprove the existence of such a matrix. Could someone please give me a hint on how to go about this problem? Thank you very much for your help in this regard. What is the problem that gets worse after you try to solve it? Example sentence - This problem is a _____ which gets complicated every time you try to solve it.   Is there such a word that represents a problem which will become worse if/when one tries to solve it?  Note - After seeing the comments and answers I'd like to add that this is not a can of worms or Pandora's box because it doesn't create a new problem but just worsens.   Example: Magic leaves protecting a fruit by enclosing it. Every time a leaf is touched, all the leaves close together further, that is more tight than before.