I have LTSpice on macOS. Is it possible to automatically convert a .cir netlist to .asc file? In other words, I would like to obtain the schematic file from the netlist. How could I do it? (I know that I can do the opposite, so from .asc to .cir)
I am looking at the circuit diagram from   The gnucap description for it is given as C1 0 2 1UF R1 1 2 1K R2 0 2 1K Vin 0 1 AC 1 .OPTIONS PHASE=RADIANS .PRINT OP V(Vin) .OP 0.00 100.00 BY 10.00 BASIC .END  I can run the simulation on this using gnucap fine, see output. But is there a way to generate the schematic visually from just the textual description above using a simple command line tool?
Minimal sufficient statistic of $\operatorname{Uniform}(-\theta,\theta)$ What do the different colours in Ubuntu's ls command mean? For example, when I type the ls command in one of my folders, I get one of the files in light green, the other (which is a folder) in blue with green highlighting.   What do those colours mean, and there is any manual about all the colours? Shortest path from points in one layer to points in another layer via roads in QGIS I'm looking for a way to calculate the shortest path from addresses to subway stations via a network of roads.  I have the , however, the addresses and subway stations are point layers that do not overlap with vertices in the roads layer.  In QGIS, is there a way to calculate the shortest distance from the address/subway station points to the roads, create vertices at those locations, then calculate the shortest distance via the roads network?   black squares - addresses white circles - subway stops gray lines - roads I am trying to run some unit tests in a C# Windows Forms application (Visual Studio 2005), and I get the following error:  System.IO.FileLoadException: Could not load file or assembly 'Utility, Version=1.2.0.200, Culture=neutral, PublicKeyToken=764d581291d764f7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)** at x.Foo.FooGO() at x.Foo.Foo2(String groupName_) in Foo.cs:line 123 at x.Foo.UnitTests.FooTests.TestFoo() in FooTests.cs:line 98** System.IO.FileLoadException: Could not load file or assembly 'Utility, Version=1.2.0.203, Culture=neutral, PublicKeyToken=764d581291d764f7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)  I look in my references, and I only have a reference to Utility version 1.2.0.203 (the other one is old). Any suggestions on how I figure out what is trying to reference this old version of this DLL file? Besides, I don't think I even have this old assembly on my hard drive. Is there any tool to search for this old versioned assembly? Linux kernel update stuck I just installed a new kernel on Ubuntu GNOME 17.04 that came in through the normal updates. However, it is now stuck for a while on the following line:  Setting up linux-headers-4.10.0-20-generic (4.10.0-20.22) ... Examining /etc/kernel/header_postinst.d. run-parts: executing /etc/kernel/header_postinst.d/dkms 4.10.0-20-generic /boot/vmlinuz-4.10.0-20-generic   Something seems to hang the process. Does someone know what could cause this?  EDIT: This is the content of /boot as requested:  abi-4.10.0-19-generic     grub                          System.map-4.10.0-19-generic abi-4.10.0-20-generic     initrd.img-4.10.0-19-generic  System.map-4.10.0-20-generic config-4.10.0-19-generic  memtest86+.bin                vmlinuz-4.10.0-19-generic config-4.10.0-20-generic  memtest86+.elf                vmlinuz-4.10.0-19-generic.efi.signed efi                       memtest86+_multiboot.bin      vmlinuz-4.10.0-20-generic   EDIT 2: Just tried purging the new kernel but got this:  E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.   Using that command returns me to the original problem. I am stuck now :( Energia/MSP-EXP432 Issue: Analog In Pin removing voltage from Voltage Divider In the circuit below, I want to measure the voltage going to the ADC (output from the voltage divider consisting of a fixed resistor and photoresistor) using an MSP-EXP432; however, the MSP-EXP432 "Analog In" pin is lowering the output voltage (i.e. the voltage going into the ADC from the voltage divider drops when the "Analog In" pin is connected).  I set the analog pin as an input in the code shown below in Energia.  Is there any way to fix this?    const int bitsOfADC = 14; // 14-bit ADC Launchpad //int maxVal = 2^N -1;  // 2^14-1 int maxVal = 16383; float FSV = 5.0; // Supply to 0804ADC float LaunchPadResolution = FSV/maxVal; int D7 = A13; int D6 = A14; int ADCInput = A6; boolean D7_State = LOW; boolean D6_State = LOW; void setup() {   delay(1000);   Serial.begin(9600);   pinMode(D7, INPUT);   pinMode(D6, INPUT);   analogReadResolution(bitsOfADC);   pinMode(ADCInput, INPUT); } Abnormal behavior with iwlwifi driver: the device is shown as not working ASP.NET MVC: Weird characters in error page What is an observer in quantum mechanics? This is a  about File Permission and Why 777 is "destructive".   I'm not asking how to fix this problem, as there are a ton of references of that already on Server Fault (reinstall OS). Why does it do anything destructive at all?  If you've ever ran this command you pretty much immediately destroy your operating system. I'm not clear why removing restrictions has any impact on existing processes. For example, if I don't have read access to something and after a quick mistype in the terminal suddenly I now have access well... why does that cause Linux to break? Limits of sequences of sets Can I use Stack Exchange logos on a t-shirt or other apparel? I happened to notice while on the Super User site that one user's picture shows him wearing a shirt with the Super User logo on it. Interested, I wanted to find out where he got it from. Looking through old questions on Meta, I found out that there used to be a shop.stackexchange.com site that sold Stack Exchange gear. Unfortunately, they no longer sell any merchandise.  Is there any site where I can purchase a Stack Exchange site shirt/hat/etc.? If not, could I create a shirt/hat/etc. myself with one of the sites' logos on it? If so, where can I locate the logos in their largest size? proof that every finite matrix has an annihilating polynomial Adding a citation after paper is accepted I am a junior researcher in mathematics. I worked simultaneously on proving Theorem A and Theorem B. They both generalize Theorem X in two different directions. Theorem X was proved several years ago (not by me). The proofs of Theorem A and Theorem B use very different techniques, and so I decided ahead of time to write one paper for each.  I finished proving Theorem A before I finished proving Theorem B. Then, I submitted Paper A to a journal (and the arXiv) proving Theorem A. Paper A includes a survey of related problems in the introduction. After a short while, I managed to prove Theorem B, and two months after the submission of Paper A, I submitted Paper B (to a different journal, and also to the arXiv). Now, six months after the submission of Paper A, it is accepted with requests for minor corrections. There is no response yet regarding Paper B.     In this situation, is it a reasonable/common to add one/two sentences to the survey in introduction of Paper A, explaining and citing the arXiv prepreint of Paper B, in addition to the minor corrections the referees asked for? (and letting the editor and referees know that I did that in my answer to their reports which comes along with the corrected manuscript).   Note that I am not asking if it is ok to cite a preprint. This is something I do, and so do other people, at least in math. My question is about making a change, after acceptance, which was not asked by the referees and the editor. Why wasn't Sauron invisible when he wore the Ring? When Sauron is shown killing Elendil and then being destroyed by Isildur he is clearly not invisible and he is wearing the Ring.  But any time Bilbo or Frodo put on the Ring they went invisible without fail.  Did the Ring change after Sauron was destroyed or is Sauron capable of controlling the rings power unlike anyone else? Suppose $G$ is a non-abelian group and $H,K$ are two abelian subgroups of $G$. Then must $HK$ be an abelian subgroup of $G$?  I know an example, but I am confused. Thus I just want to check that. I just bought a new HP Pavilion dv7t Quad Edition laptop that has HDMI out. I already have a couple of monitors that are VGA and I'd like to hook up one of these to dual monitors.  I've read some sketchy reviews of products that try to convert directly from HDMI (digital) to  VGA (analog), so I was wondering if someone has a good recommendation on how to hook these two together. Why do only two sexes exist for animals? I'm looking for an easy and robust way to strip all the comments from a listing. My approach (passing \@gobble to the commentstyle key) correctly removes all the one-line comments and block comments. However, the white space left behind by by block comments remains, creating useless gaps in my listing. See the screenshot below (the red rectangle is my emphasis). Any idea?    \documentclass{article}  \usepackage{xcolor} \usepackage[T1]{fontenc} \renewcommand{\ttdefault}{pcr} \usepackage{listings}  \makeatletter \lstset% {%   basicstyle   = \ttfamily,   morecomment  = [l]{//},   morecomment  = [s]{/*}{*/},   frame        = single,   commentstyle = \itshape\color[gray]{.5},   rulecolor    = \color{black},   breaklines, } \makeatother  \usepackage{filecontents} \begin{filecontents*}{sample.c} #include &lt;stdio.h&gt;  /*  block comment taking up white space */ main() {     float fahr, celsius;     float lower, upper, step;     lower   = 0;    /* lower limit of temperature scale */     upper   = 300;  /* upper limit */     step    = 20;   /* step size */     celsius = lower;     printf("\nCelsius\tFahr\n");     while (celsius &lt;= upper)        {         fahr = (9.0/5.0) * celsius+32.0;         printf("%3.0f\t%6.1f\n", celsius, fahr);         celsius = celsius + step;     } } \end{filecontents*}  \begin{document} \makeatletter \lstinputlisting[caption={with comments}]{sample.c} \lstinputlisting[caption={without comments},commentstyle={\@gobble}]{sample.c} \makeatother \end{document} Gauss's law not making sense If we have a point charge and outside of it we have a non-conducting Gaussian sphere, then Gauss's law says that the net flux should be zero. I agree that the total field lines coming in are equal to the number of field lines coming out, but isn't it true that the magnitude of the electric field at those segments of the sphere where the field is coming in is greater than those where it is coming out? So when we integrate, wouldn't these areas, having a greater electric field, contribute more to the net flux? I don't see why they would cancel each other out.