Basically, piping a command or block of text to something like: tail -n 3 (for example), will print only the last three lines to stdout. Is there an equivalent, or similar method for doing the exact inverse of that? So that, in this example, it would print all but the last three lines to stdout.
Is there a way to head/tail a document and get the reverse output; because you don't know how many lines there are in a document?  I.e. I just want to get everything but the first 2 lines of foo.txt to append to another document.
I've heard that special relativity makes the concept of magnetic fields irrelevant, replacing them with relativistic effects between charges moving in different velocity frames. Is this true? If so, how does this work? Matryoshka words How do we initialise unpacked arrays in Verilog? Suppose I declare an unpacked array of size say 8 bits wide. reg b[7:0];  If I want to assign b[7] = 1,b[6] = 1, b[5] = 1, ......b[0] = 1, then apart from assigning value to each bit is there a way to assign any combination of bits say 8'bA8, to b? For instance if I execute this code(below) in verilog: module tb();     reg [7:0]a;     reg b[7:0];     initial begin         $monitor(&quot;a = %b,b = &quot;,a);         a = 8'hA8;         b = 8'hA8; // Line 7     end endmodule  I get this error: C:\iverilog\bin&gt;iverilog -o a test.v test.v:7: error: Cannot assign to array b. Did you forget a word index? 1 error(s) during elaboration.  I am using Icarus Verilog on a command prompt on Windows 10 operating system. Should I flag/down-vote "Draft Answers"? Print floating point values without leading zero I was talking to a friend who owns a Mac. He has his set up so that when he swipes three fingers across his touchpad, it moves to the workspace in that direction. Is it possible to set this up in Ubuntu? What is wrong with my mob spawner? How to buy plane tickets for job interviews? I am currently on the academic job market, and scheduling on-campus interviews with institutions that might want to hire me.  Suppose I am invited to an on-campus interview at the University of X, and must travel there by air.  They handle travel on a reimbursement basis: I buy the plane ticket, and then they reimburse me.  However, the interview is a few weeks away.  Since the job market sometimes moves fast, there is a chance that by the time of the scheduled interview, I may have already accepted another offer (say from the University of Y).  Of course I should then decline the interview at X, but I would have already bought the plane ticket.  How should I plan for this contingency?   I could buy a refundable ticket to X.  However, these are normally several times the price of a non-refundable ticket, and if I do end up traveling to X, they might balk at reimbursing me for such an expensive fare. I could buy a non-refundable ticket to X.  If I end up not going there, I could ask X to reimburse me for the cost of the ticket (or at least the "change fee" charged by the airline to let me use the ticket's value for a future flight).  However, I suspect they will be reluctant to reimburse me for a trip I'm not making, and might refuse to do so altogether, in which case I am out-of-pocket. I could wait until the last minute to buy a non-refundable ticket for X.  But it may still be expensive for them (or may exceed their limits), and the most convenient flights may be sold out. I could contact University of X and ask them for guidance.  I'm a bit hesitant to do this, as I am afraid that if I bring up the possibility that I might accept another position, they might think I am not seriously interested in theirs.   Is there a standard way to handle this situation?  This is in the United States, if it matters. What is this element on the far right of schematic described as "270 OHM"? Is this some kind of inductor? What is its purpose in this device (this is a reference design of dc-dc power supply of sim900 taken from its datasheet) and what would be an exemplary part number? I've heard the number 7% thrown around a bunch of times, but I am struggling to find reputable data to back it up.   All I found was a quote from Warren Buffet that I couldn't find an original source for and data assembled by individuals on their personal websites. Is there something from an organization such as Market Watch making a statement about this?  I'm hoping to specifically find what the 10 or 20 year return is for investing in the S&amp;P 500 index fund or another diversified portfolio option. Global Inbox -> Global RSS feed for all my questions across all the sites? Can you make an unwilling creature willing? In other words, what defines “willing”? Going through the spells, I see the phrase "Willing creature" used to determine who you can cast some spells on. I don't ever see a proper definition of what a willing creature is, but I would assume that it would go something like if you asked them "Can I perform this spell on you" they would answer yes. Is there a more formal definition of what makes a target willing in 5e?  What are the ways I could make an otherwise unwilling creature willing? Suggestion spells, for instance, should probably work but what other options do I have? Is there some kind of icon browser? When making a custom launcher, it is nice to have a matching icon for it from the default usr ubuntu directories. The problem that is: Ubuntu seems to store icons in about 50 or more folders. Browsing all of them in nautilus takes ages.  So my question is: Is there some kind of icon browser that shows an overview of all icons in /usr/share/icons/*? A conjectured closed form of $\int\limits_0^\infty\frac{x-1}{\sqrt{2^x-1}\ \ln\left(2^x-1\right)}dx$ Deleting comments and review actions cause layout to be broken, AJAX response contains full page What is the difference between weight and mass? Allow cross-site queries in data explorer I think it would be useful if we could join across databases in the data-explorer.  For example, I'd like to query up a list of questions that I had a hand in migrating away from SO, and see what percentage of them were subsequently closed or re-migrated.  I realise I could download the various data dumps and do this on my own machine, but it would be nice if it were allowed on the online version.  Is this possible/practical? Do posts have to be in English on Stack Exchange? Otherwise known as  必须用英语吗？(is English required?) ¿Necesito hablar en inglés? ?האם אני חייב לכתוב באנגלית Muss ich auf Englisch schreiben?  Do I have to use English when posting a question, an answer or a comment on a Stack Exchange site? What's the best blog post/video/tweet/whatever to explain how the Stack Exchange system works to regular people? I am trying to gauge interest for a new Stack Exchange site, but I want to explain it to people as best (and preferably) as visually as I can. Any YouTube clips breaking it down?  anyone?  Note: I am fully aware of , but mine is about Stack Exchange, not Stack Overflow.  Most people think I'm describing traditional forum software, which they know sucks. Is there some way to describe the magic of how the design of the Stack Exchange system actually produces useful results very quickly? I can describe generally that it is a Q&amp;A site that users vote on the answers, but Stack Overflow feels like so much more. Am I perhaps thinking too big about this? How can I save application settings in a Windows Forms application? What I want to achieve is very simple: I have a Windows Forms (.NET 3.5) application that uses a path for reading information. This path can be modified by the user, by using the options form I provide.  Now, I want to save the path value to a file for later use. This would be one of the many settings saved to this file. This file would sit directly in the application folder.  I understand three options are available:   ConfigurationSettings file (appname.exe.config) Registry Custom XML file   I read that the .NET configuration file is not foreseen for saving values back to it. As for the registry, I would like to get as far away from it as possible.  Does this mean that I should use a custom XML file to save configuration settings?  If so, I would like to see code example of that (C#).  I have seen other discussions on this subject, but it is still not clear to me.