I created a flowchart which is quite big in Tikz. I spans three pages. I used \newpage to create page breaks in between. Some nodes in the first page are connected to the last one and vice versa. So when I try to create arrows to link them, it is not getting connected. Could anyone suggest a better way to create this long flowchart? Outline of the code is as below:  \begin{tikzpicture} \node(1)[]; \node (2)[]; ........ \end {tikzpicture}  \newpage  \begin{tikzpicture} \node(3)[]; \node (4)[]; ........ \end {tikzpicture} \newpage  \begin{tikzpicture} \node(5)[]; \node(6)[]; ........ \end {tikzpicture}  %arrows and flow lines \draw [arrow] (node1) -- (node2); \draw [arrow] (node3) -- (node4);
I am trying to create a flowchart with Tikz. Since it is a long one, it spans three pages. So after creating a node to stop, I am continuing to the next page using \newpage command. Unfortunately some elements in page 1 are connected to page 2, 3 and vice versa. So when I try to create the arrow connection, it is not possible since the \newpage command comes in between. I am sharing the code with you for info. Could  anyone help me to improve the flowchart so that I could direct the arrows among multiple pages. My sample code is below:  \begin{tikzpicture} \node 1 \node 2 ........ \draw[arrow] (node1)--(node2) \draw[arrow] (node2)--(node3) ---- \end tikzpicture} \newpage \begin{tikzpicture} \node 1 \node 2 ........ \draw[arrow] (node1)--(node2) \draw[arrow] (node2)--(node3) ---- \end tikzpicture} \newpage  \begin{tikzpicture} \node 1 \node 2 ........ \draw[arrow] (node1)--(node2) \draw[arrow] (node2)--(node3) ---- \end tikzpicture}
shell: keep trailing newlines ('\n') in command substitution I want to be able to capture the exact output of a command substitution, including the trailing new line characters.  I realise that they are stripped by default, so some manipulation may be required to keep them, and I want to keep the original exit code.  For example, given a command with a variable number of trailing newlines and exit code:  f(){ for i in $(seq "$((RANDOM % 3))"); do echo; done; return $((RANDOM % 256));} export -f f   I want to run something like:  exact_output f   And have the output be:  Output: $'\n\n' Exit: 5   I'm interested in both bash and POSIX sh. Why do some actors in credits appear as - Character (As Actor) Nonlinear regression model linear in some parameters In a set of  that I stumbled upon online, the author discusses a nonlinear regression model, which is linear in some parameters, like this $$ y = \theta_1 + \theta_2\exp \left( {\theta_3x} \right) + \varepsilon $$ and suggests to first perform a nonlinear regression to estimate $\theta_3$, and then use OLS to estimate the other two parameters. I am not very experienced in regression modeling, so please forgive me if I ask a very simple question, but I don't understand how you can do this consistently without also estimating the other 2 parameters? Apparently, there is some trick involved, which I don't understand...  Another question is what happens to the ability to do inferences based on parameter estimates to the complete model if you do the regression in two stages like that?  Many thanks! Is there a way to turn off an external Apple Cinema Display remotely and continue to use the computer? Here's the situation: I often access my Mac Pro remotely using Screen Sharing and sometimes TeamViewer. The problem is that when I do this, everything I'm doing can be seen by those near the physical computer. It also uses a considerable amount unnecessary power to have the displays on but not actually being used.  Is there a way to turn them off and not just blank if possible, while still using Screen Sharing or TeamViewer Free? Two parties are trying to resolve some dispute that involves interest of both. Sometimes it's hard for them to reach an agreement on a fair basis. This is typically when another party who has no interest involved and no bias towards either party comes into play in order to settle the dispute between the two conflicting parties. The term "third party" seems being used quite often. I would also call it a "middle-standing" party or we could say this party is neutral.  These terms seem NOT formal enough to me though. I'd like to see if anybody can come up with a better one. What's wrong with this argument that $[0,1]$ is countable? Is there any way to import a .json model into Blender? I need to find a way to import some .json models into Blender, and it seems I can't just import them the same way I can import a .obj model. So is there some way to convert a .json model to a .obj model, or another file type Blender can import? I've tried using Blockbench for this, but I think it only works with Minecraft recourse pack .json models, as those are the only models that will ever actually load in it. Thank you to anyone who can help me figure this out. I (as a middle-school student) was wondering how virtual particles even conserve energy of the entire system? I don't mean just the particle's energy, but conservation with respect to the surroundings?  Let me explain more, Einstein proved that $E = mc^2$ and equivalently, we can say $m = \frac{E}{c^2}$ . We however know mass causes curvature in space-time (gravity well). Now that statement being completely valid we can use Quantum Fluctuation, implying energy and time can be related by the relation:  $\Delta{E}\Delta{t}\approx\frac{\hbar}{2}$ and by that simple relation we can make the following points:   As the energy increases, the time allowed to be "borrowed" decreases, before it gives it back to the universe. As time increases, the energy allowed to be "borrowed" decreases.    These are completely satisfactory points I've made, I believe.  Now, I have read that the vacuum is filled with constantly bubbling virtual particles that get created from the energy "borrowed" by the above relation and is destroyed again, which satisfies the energy conservation laws.   This seems to imply that  in the short time the virtual particle exists, they must have a very small mass which is: $m_{1} = \frac{\Delta{E}}{c^2}$ and using basic classical mechanics rather than GR (for sake of simplicity) we calculate that the gravitational force mediated by this short-lived virtual particle;  $F_{g}= G\frac{m_1 * m_x}{r^2}$   where $m_x$ is an particle\mass in question. Nevertheless since we know the force set upon an object moves the object in a direction, we can say it would increase its kinetic energy by this factor: $F_g = \frac{1}{2}mv^2$ which is equal to $G\frac{m_1 * m_x}{r^2} = \frac{1}{2}mv^2$.  Surely, this implies that every time quantum fluctuations happen, energy of real-particles\masses increases and therefore violates energy conservation, but what prevents this violation from taking place?  If virtual particles are not really present and interact with objects like I thought, how can Hawking radiation (currently a large concept in black hole physics) then be accepted in physics community? PPA seems to be constantly offline. Whenever I use sudo apt-get update, this error is shown:  W: Failed to fetch http://ppa.launchpad.net/ 404  Not Found   How do I fix these errors? font-not-found error: font "HoeflerText" cannot be found -- LuaLaTex error! I am running this CV/Resume example from :   Here is a relevant fraction of the code:  \documentclass[10pt]{article} %!TEX encoding =  UTF-16 % See geometry.pdf to learn the layout options. There are lots. \usepackage[hmargin=1.25cm, vmargin=1.5cm]{geometry} %symbols - the ones you see on the left of the email and of the phone \usepackage{bbding} \usepackage{amssymb} \usepackage{eurosym} %Colors/Graphics \usepackage{color,graphicx} \usepackage[usenames,dvipsnames]{xcolor}  %Fonts and Tweaks for XeLaTeX \usepackage{fontspec,xltxtra,xunicode} \defaultfontfeatures{Mapping=tex-text} \setromanfont[Mapping=tex-text]{Hoefler Text} ...   So... when compiling with LuaLaTeX (part of MiKTeX on Windwos XP x64), I am getting the following error:  ... luaotfload | Font names database loaded: C:/Documents and Settings/Ampleforth/L ocal Settings/Application Data/MiKTeX/2.9/luatex-cache/generic/names/otfl-names .lua luaotfload | Updating the font names database: luaotfload | Scanning TEXMF and OS fonts... luaotfload | Font names database saved: %s  : C:/Documents and Settings/Ampleforth/Local Settings/Application Data/MiKTeX/2 .9/luatex-cache/generic/names/otfl-names.lua  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !  ! fontspec error: "font-not-found" !  ! The font "HoeflerText" cannot be found. !  ! See the fontspec documentation for further information. ! For immediate help type H &lt;return&gt;. !...............................................    l.28 \setromanfont[Mapping=tex-text]{Hoefler Text}   What is wrong? How can I install this font so LuaLaTeX is picking it up? Where to download? Any other thoughts about this? What's the 'correct' way of registering/installing an Assembly to the GAC? There seems to be lots of different ways to register assemblies with the GAC, as in, they 'work'.  However, what's the "proper" way of doing it?  In response to Lou Franco (and gacutil):  I'm using Gacutil for development, but it seems to me to be not the proper way to install it, since gacutil isn't included in the basic .NET utilities past .NET 1.1 - it's only a developer tool.  Additional: Gacutil (as seen in responses below) is not redistributable, and therefore should not be used in any app that you intend to give to people who are not developers.  AKA, customers.  See .  In response to using WIX:  WIX might be great and all, but how does it work under the hood?  What details makes the way WIX installs the assembly the right way to install it?  How does it look it up?  Is it a system/.NET call?  Is there some call in a dll buried somewhere in System32 that needs to be made?    (Edit: it looks like WIX uses MSI under the hood.  See my comments in the accepted answer.)  Final edit: It looks like the correct way to install an assembly to the GAC is using windows installer, and nothing else.  I'm going to give Wix a try.  Thanks all! Can anybody explain the UNABLE_TO_LOCK_ROW error? Error Message:     Developer script exception from Nicomatic : quotepotential :   quotepotential: execution of AfterUpdate caused by:   System.DmlException: Update failed. First exception on row 0 with id   a0Q90000005PoxtEAC; first error: UNABLE_TO_LOCK_ROW, unable to obtain   exclusive access to this record: [] Trigger.quotepotential: line 14,   column 1      Apex script unhandled trigger exception by user/organization:   00590000001A6jh/00D90000000bovq      quotepotential: execution of AfterUpdate      caused by: System.DmlException: Update failed. First exception on row   0 with id a0Q90000005PoxtEAC; first error: UNABLE_TO_LOCK_ROW, unable   to obtain exclusive access to this record: []      Trigger.quotepotential: line 14, column 1   these mails are getting to my mail..........  trigger quotepotential on Quote_Line_Item__c (after insert,after update) {     Set&lt;Id&gt; quoteIds = new Set&lt;Id&gt;();     List&lt;Quote__c&gt; quotes = new List&lt;Quote__c&gt;();     for (Quote_Line_Item__c record: Trigger.new) {         if (record.Quote1__c != null){             quoteIds.add(record.Quote1__c);         }     }     for(AggregateResult ar:[                 SELECT                      Quote1__c,                      SUM(Max_Batch__c)sumMax                  FROM Quote_Line_Item__c                  WHERE Quote1__c=:quoteIds                  GROUP BY Quote1__c                 ]) {          quotes.add(new Quote__c(              Id=(Id) ar.get('Quote1__c'),              Potential__c = (Decimal) ar.get('sumMax')              ));     }     if (quotes.isempty() == false) {         update quotes;     } } Etymology of "history" and why the "hi-" prefix? According to , history comes from the same root as story. If they are from the same word, where does hi- come from? Is it just because of the English habit of taking names from other languages verbatim or is there something more to it? a / an - adjective - noun The article a becomes to an when the following noun starts with a vowel.     Not a adventure but an adventure.   But how is it, when there's an adjective before the noun?     Not a thrilling adventure or not an thrilling Adventure?   And how is it, when the adjective starts with a vowel but the noun does not?     Not a exciting tournament or not an exciting tournament? What's wrong with this? How to mount read-write an ext4 partition on Windows? I want to use ext4 on my external HDD, but it must be cross-platform. (At least Linux, Win7 &amp; WinXP).  Unfortunately, I haven't found any proper driver allowing Windows to WRITE to ext4. I've found , but it only reads ext4.     9. ext4 extent read-only, no  size truncating and expanding support   More:     Supported Ext3/4 features:         flexible inode size: > 128 bytes, up to block size   dir_index:    htree directory index   filetype:     extra file mode in dentry   large_file:   > 4G files supported   sparse_super: super block backup in group descriptor   uninit_bg:    fast fsck and group checksum   extent:       reading, writing with no extending.   journal:      only support replay for internal journal         Unsupported Ext3/4 features:         journal: log-based operations, external journal   extent: size truncating &amp; expanding, file deletion   flex_bg: first metadata group   EA (extended attributes), ACL support      Also, I have found a patch for Ext4Fsd v0.50 ():     New: Matt Wu has made a new release 0.50 at   ext2fsd.com.  Support for ext4 extents and fix   for BSOD on Windows 7.   I don't think it will be safe. Also I've read some words about writing ext4 in Windows could cause data loss on the disk...  What is the External HDD used for? - First, it will store backups, then family movies, pictures. Some music, and etc. It will be connected to a Raspberry Pi, if I finally receive it. It won't really move, just when it is used to migrate computer's data to a new one. The largest files it will store are Clonezilla disk images (I don't know, if they will be large files or not).  Can someone provide a solution for this problem? Or is there NO important enough difference between ext4 and ext3, and I should use ext3? - (If yes, then can I use Ext2Fsd for that ext3 mount?)  Thank you! Determining Min - Max within zip code (statistics by area)? I'm new to ArcGIS Desktop. I have created a layer representing zip codes and overlayed it with a layer containing some data points. I want to find the min and max value of the data points in each zip code. Currently, I am manually checking the values if all the data points in each zip code but this is becoming very time-consuming and cumbersome.   Is there a faster way to do this? Today I gave a .  This results of course in a negative score for today.   Since then I don't get any more notifications for new rep in the new top-bar on meta.    Only after resetting the rep indicator by clicking on it I get new notifications. Is there a way to get the path for the assembly in which the current code resides?  I do not want the path of the calling assembly, just the one containing the code.   Basically my unit test needs to read some xml test files which are located relative to the  dll.  I want the path to always resolve correctly regardless of whether the testing dll is run from TestDriven.NET, the MbUnit GUI or something else.  Edit: People seem to be misunderstanding what I'm asking.  My test library is located in say      C:\projects\myapplication\daotests\bin\Debug\daotests.dll   and I would like to get this path:     C:\projects\myapplication\daotests\bin\Debug\   The three suggestions so far fail me when I run from the MbUnit Gui:   Environment.CurrentDirectory gives c:\Program Files\MbUnit System.Reflection.Assembly.GetAssembly(typeof(DaoTests)).Location gives C:\Documents and Settings\george\Local Settings\Temp\ ....\DaoTests.dll System.Reflection.Assembly.GetExecutingAssembly().Location gives the same as the previous. I'd like to make links to all files in a directory tree. Which means, create the same directory structure and make the links in them to the respective subdirectory in the original dir.  That could be done with   cp -R -s ../foo .   But - that needs an absolute path. So rather  cp -R -s `readlink -e ../foo` `readlink -e .`   I would like the resulting links to be relative.  How would I do that?