Using Modelbuilder or Python to write output a folder name using database or table file?
How to create a folder in HOME Folder with ModelBuilder in ArcGis 10?
How do you detect support for VML or SVG in a browser I'm writing a bit of javascript and need to choose between SVG or VML (or both, or something else, it's a weird world). Whilst I know that for now that only IE supports VML, I'd much rather detect functionality than platform.  SVG appears to have a few properties which you can go for: window.SVGAngle for example.  Is this the best way to check for SVG support?  Is there any equivalent for VML?  Unfortuntaly - in firefox I can quite happily do all the rendering in VML without error - just nothing happens on screen. It's quite hard to detect that situation from script. Which is correct, "you and I" or "you and me"? When the phrase is used as an object, why so many native speakers are saying "you and I" instead of "you and me"? I'm not a native speaker but I thought "you and me" is correct. Not sure if this falls into the same category, but "Just between you and me" sounds more natural than "Just between you and I". How to derive variance-covariance matrix of coefficients in linear regression I want to show that $$\log N&lt;\sum_{n=1}^{N}\frac{1}{n}&lt;1+\log N.$$ But I don't know how to show this. Firstly, how do you gain the score exactly? I know it shows in the bar on the side of the map, but I remember a match where I was lone-wolfing and still got a pretty high score in that bar. I suppose my other squad members were together, but do I also gain for their work?  Also, does the score reset when I start a new game? I mean, I play support with the Offensive perk and it took me a long game of conquest to just unlock lvl-3 extra grenade. In the next match, that 'nade is gone. Don't I keep it forever? How to setup two completely separate partitions on one SSD I have a MacBook with 1TB SSD. I want to have two separate partitions with two independent macOS installations. I want to make sure that none of the partitions have any kind of possibility to interact with the other, I want them to be as separated as if they were physically separate. Is this achievable with, for example, FileVault for each of them? Edit: My question is neither &quot;how can I install two different macOS versions on two different partitions on one SDD&quot;, neither &quot;how do I use FileVault&quot;, etc. I know how to do all of that. I want to make sure that there is no interaction between the partitions possible. Can this be made sure with the above approach? Is it sufficient? Orthogonality of Hermite functions I would like to prove to myself that Hermite functions, defined by $\varphi_n(x)=(-1)^n e^{x^2/2}\frac{d^n e^{-x^2}}{dx^n}$, $n\in\mathbb{N}$ are an orthogonal system in $L^2(\mathbb{R})$, i.e. that, for any $m\ne n$, $$\int_{-\infty}^\infty e^{x^2} \frac{d^m e^{-x^2}}{dx^m} \frac{d^n e^{-x^2}}{dx^n}dx=0 $$ I have tried by integrating by parts as the book where I find such a statement, Kolmogorov-Fomin's Элементы теории функций и функционального анализа, says that it can be proved, but I am landing nowhere since I have no experience in manipulating such integrals... Thank you so much for any answer! Matrices that can only be permutation matrices How to prove that if $A$ and $B$ are two $n×n$ matrices with non negative integer entries such that $AB=I$ then $A$ and $B$ are permutation matrices?  Permutation matrices are matrices with the columns just a permutation of the identity matrix. How do I proceed. Can somebody give hint? make tail -f exit on a broken pipe I want to watch a file until a bit of text appears  I found this answer:   but when I tried it on ubuntu, it doesn't exit:  $ echo one &gt; test.txt $ echo two &gt;&gt; test.txt $ echo three &gt;&gt; test.txt $ echo four &gt;&gt; test.txt $ cat test.txt | sed '/w/ q' one two $   works as expected.  however when I try to tail the file  $ tail -f test.txt | sed '/w/ q' one two   it never exits.  tail does not stop even though the pipe is broken.  Does anybody know how to make tail exit when sed exits? Can graduated Stack Exchange sites get closed too? Hide parameterless constructor on struct Gauge fields and strings: Loop equations Is there a way to draw a sort of connection between subplots in TiKz/pgfplot, like in this ? I'm looking to achieve something like this:    But I would need to draw the "x 2000" line between the plots.  EDIT: So right now I have something like this:    Coming from my main.tex:  \input{aipcheck}  \documentclass[final]{aipproc}  \layoutstyle{8x11single} \usepackage[utf8]{inputenc} \usepackage{algorithm2e} \usepackage{color} \usepackage[usenames,dvipsnames]{xcolor} \usepackage{cleveref} \usepackage{pgfplots}  \pgfplotsset{ tick label style={font=\tiny}, %axis numbers label style={font=\small}, %axis labels legend style={font=\tiny} }  \begin{document}  (...)  \begin{figure}     \centering     \newlength\figureheight      \newlength\figurewidth      \setlength\figureheight{5cm}      \setlength\figurewidth{5cm}     \input{figs/_ddmp2d.tikz} \label{fig2D} \end{figure}   with _ddmp2d.tikz, originally created from matlab2tikz, but already modified, containing:  % This file was created by matlab2tikz v0.3.3. % Copyright (c) 2008--2013, Nico Schlömer &lt;nico.schloemer@gmail.com&gt; % All rights reserved. %  % The latest updates can be retrieved from %   http://www.mathworks.com/matlabcentral/fileexchange/22022-matlab2tikz % where you can also make suggestions and rate matlab2tikz. %  %  %   \begin{tikzpicture}  \begin{axis}[% width=\figurewidth, height=\figureheight, scale only axis, xmin=0, xmax=15, xlabel={Number of iterations}, ymin=0, ymax=16000000000000, name=plot1, after end axis/.append code={\coordinate (a) at (axis description cs:1,0);}]  \addplot [ thick, color=red, dash pattern=on 1pt off 3pt on 3pt off 3pt, forget plot ] table[row sep=crcr]{ 1 15841000000000\\ (...) 15 25160000000\\ }; \addplot [ thick, color=black, dashed, forget plot ] table[row sep=crcr]{ 1 15841000000000\\ (...) 15 52501000000\\ }; \addplot [ thick, color=blue, dotted, forget plot ] table[row sep=crcr]{ 1 15841000000000\\ (...) 15 5324200000\\ }; \addplot [ thick, color=green, solid, forget plot ] table[row sep=crcr]{ 1 15841000000000\\ (...) 15 551920000\\ }; \addplot [ thick, color=green, solid, forget plot ] table[row sep=crcr]{ 3 0\\ 3 16000000000000\\ };  \addplot [ thick, color=blue, dotted, forget plot ] table[row sep=crcr]{ 4 0\\ 4 16000000000000\\ }; \addplot [ thick, color=black, dashed, forget plot ] table[row sep=crcr]{ 5 0\\ 5 16000000000000\\ }; \addplot [ thick, color=red, dash pattern=on 1pt off 3pt on 3pt off 3pt, forget plot ] table[row sep=crcr]{ 8 0\\ 8 16000000000000\\ }; \end{axis}  \begin{scope}[xshift=5cm] \begin{axis}[% width=0.35\figurewidth, height=\figureheight, scale only axis, xmin=995, xmax=1000, xtick={997,998,999,1000}, xticklabels={$997$,$998$,$999$,$1000$}, ymin=0, ymax=8000000000, at=(plot1.right of south east), anchor=left of south west, yticklabel pos=right, axis x discontinuity=crunch, after end axis/.append code={\coordinate (b) at (axis description cs:0,1);} ] \addplot [ thick, color=red, dash pattern=on 1pt off 3pt on 3pt off 3pt ] table[row sep=crcr]{ 995 6093100000\\ 996 6093100000\\ 997 6093100000\\ 998 6093100000\\ 999 6093100000\\ 1000 6093100000\\ };  \addplot [ thick, color=black, dashed ] table[row sep=crcr]{ 995 1577100000\\ 996 1598000000\\ 997 1598500000\\ 998 1628600000\\ 999 1631000000\\ 1000 1595900000\\ };  \addplot [ thick, color=blue, dotted ] table[row sep=crcr]{ 995 2592000000\\ 996 2591900000\\ 997 2591700000\\ 998 2591600000\\ 999 2591500000\\ 1000 2591400000\\ };  \addplot [ thick, color=green, solid ] table[row sep=crcr]{ 995 391810000\\ 996 391810000\\ 997 391810000\\ 998 391810000\\ 999 391810000\\ 1000 391810000\\ };  \end{axis} \draw[gray] (a) -- (b) node[pos=0.5,sloped,fill=white] {$\times$2000}; \end{scope}  \end{tikzpicture}% Consciousness is an electrical and chemical interaction in the brain, caused by neurons firing and chemical interactions. How does a mechanical "force" cause this to stop working?  i.e. How does a mechanical action (such as a punch to the head) cause this electrical/chemical system to stop working (leading to unconsciousness)? I installed CCSM to enable window previews in Unity. But when I went into extras, there was no 'window preview' option.  So I tried experimenting with other options in Compiz and now there are no borders in the dialogue boxes (close, minimize, restore buttons are not there, I had enabled some 'flat....' option in Compiz.  Later, I uninstalled Compiz and then reinstalled it. Now it says      "Failed to load session Ubuntu"   I can't even access through the guest account, I am new to Ubuntu.(please explain in detail).  All I have access to is the login screen (it still shows my custom wallpaper). Please help, I don't want to lose my stuff. Why are there so many bottomless pits in Star Wars Is there a way to "rescue" mesh that has very bad topology? How to Pivot Multiple Columns in SQL Server I've read many posts about using pivot to get the data in the format I want, but the more I read the more confused I get.  I have this data:    That I'm trying to get into a format similar to this:   For the most part, everything I try results in an SQL error, and the only successful attempt I've had didn't return the data in the format I'm looking for.  Any help would be appreciated. Often when I edit one of my answers, it's because I want to better address the original question. The only problem is that I can't see the original question while I'm editing my answer!  I'd love to see the original question text beneath the "answer edit" form. This way I could scroll down slightly to read it if I wanted to, or just ignore it if not.  Current workaround is to click the 'return to answer' link and hope that you remember to launch it in a new tab/window, then tab back and forth.    Imported from this uservoice item: Redirect Restricted Page to 404 Is there a way to show a 404 page if the current logged in user does not have the right clearance to view the page? I am looking for a PHP method, something like  if( !current_user_can('administrator') ) { show_404(); exit(); }   I have thought about using a redirect, but I would like to keep the url the same.