I am experiencing an issue with a calculated column that presently returns html markup for the purpose of KPI in sharepoint 2013. It was working well, all of a sudden it started displaying the raw html tags. I dont know what to do. Is there a setting that had to be adjusted from site settings or what?  See my calculated markup on column Name: KPI, Datatype: Calculated, Datatype return for calculated field: Number  Code:  =IF(C_RemedialStatus=1,"&lt;DIV style='font-weight:bold;  line-height:20%; align-center;font-size:50px; color:green;'&gt;•&lt;/DIV&gt;",IF(C_RemedialStatus=0,"&lt;DIV style='font-weight:bold;  line-height:20%; align-center;font-size:50px; color:red;'&gt;•&lt;/DIV&gt;"))   I need someones help at this time.
On June 13th 2017 all SharePoint calculated columns with HTML markup stopped working.   Basically the fields now render text (regardless of setting the data type to number). The gist of the notice from Microsoft () is:     In Microsoft SharePoint lists and libraries, calculated fields that   are running in the classic UI mode can be used to display results   based on Excel-like formulas. This is a long standing capability, and   is documented in Calculate data in lists or libraries.      Some users have added HTML markup or script elements to calculated   fields. This is an undocumented use of the feature, and we will begin   blocking execution of custom markup in calculated fields in SharePoint   Online from June 13, 2017 onwards. We are also providing this as a   configurable option for on-premises in SharePoint Server 2016 and   SharePoint Server 2013 via the June 2017 and subsequent Public   Updates.   As we don't have on premise SharePoint (online), we have to find an immediate work around, given that this impacts our processes and thus, business.   Is anyone aware of third party applications that will allow for HTML, script markup (that works with SP online)?
Composition of two functions - Bijection I keep going around in circles with this problem:  Given the functions $f:X\to Y$ and $g:Y\to Z$, if $g\circ f:X\to Z$ is bijective, then prove $f$ must be one-to-one and $g$ must be onto. I was able to prove this without difficulty. However the second part of the problem has me stumped:  a) Find functions $f,g$ where $g\circ f$ is bijective but $f$ fails to be onto.  b) Find functions $f,g$ where $g\circ f$ is bijective but $g$ fails to be one-to-one.  My attempt for (a): Let $f:\mathbb{R}\to \mathbb{R}^+$ be defined by $f(x)=e^x$ and $g:\mathbb{R}^+\to \mathbb{R}$ be defined by $g(x)=\ln(x)$. Then $g\circ f(x)=g(f(x))=g(e^x)=\ln(e^x)=x$ which is bijective, $g$ is onto and $f$ fails to be onto... or so I thought. Upon closer inspection $f$ $\underline{is}$ onto for the given codomain $\mathbb{R}^+$.  And now I'm stuck in a rut. Anyone out there have any hints? Good 1st PDE book for self study What is a good PDE book suitable for self study?   I'm looking for a book that doesn't require much prerequisite knowledge beyond undergraduate-level analysis.  My goal is to understand basic solutions techniques as well as some basic theory. round in PHP shows scientific notation instead of full number I'm trying to do an echo of a variable containing 1400000.  so there is written: echo round(1400000); this gives 1,4E+6 instead of the full number. Anybody an idea on how to display it fully? I have a header file  x.h which is included by more than one *.c source files. This header file has some structure variables defined.  I have put multiple inclusion prevention guard at the beginning of the header file as:  #ifndef X_H #define X_H ... .. //header file declarations and definitons.   #endif//X_H   On building I get linker errors related to multiple definitions. I understand the problem.   Won't a multiple inclusion prevention guard at the top of header file as I have, prevent multiple inclusions of the header file x.h and thereby avoid multiple definitions of the variables that are there in x.h? #pragma once does not work on this particular compiler, so what is the solution?  Someone had posted  answer to a similar question. It doesn't seem to work for me. How does this solution work? Is it possible to take screenshots on the 3DS? In Pokemon X and Y there are specific locations in the game that allows you to save what are essentially 3D screenshots from the upper screen using a virtual camera. This made me wonder - is it possible to take screenshots, 3D or otherwise, from within the 3DS? SyntaxError: invalid syntax // SyntaxError: unexpected EOF while parsing How do I detect text inside of this, this is HTML &amp; this is XPath. I tried  HTML     &lt;span class="messageText"&gt;Hello.&lt;/span&gt; XPath     //*[@id="liveAgentChatLogText"]/span[22]/span[2]   I tried with this but it didn't work, it said no such element found.  driver.find_element(By.XPATH, '//*[@id="liveAgentChatLogText"]//*[contains(string(.), "Hello")]') Python as a statistics workbench If column matches another file, print every line with match (awk/grep) I’m taking two input files, one with certain ID numbers, and another with a large list of ID numbers and additional columns. The latter file contains multiple lines for each ID number and I need to extract all lines that match an ID from the first file. Those lines then must be printed in a new file.  Edit 1: Replaced sample files with excerpts from actual  Edit 2: Removed extra spaces that were in excerpt, but not actual file. Files likely need to be sanitized in some way, but how is unclear.  file1:  AT1G56430 AT3G55190 AT3G22880   file2:  AT1G01010|GO:0043090|RCA AT1G56430|GO:0010233|IGI  AT1G56430|GO:0009555|IGI  AT1G56430|GO:0030418|IGI   expected output  AT1G56430|GO:0010233|IGI  AT1G56430|GO:0009555|IGI  AT1G56430|GO:0030418|IGI   [[  I have tried:  awk -F'|' 'NR==FNR{c[$1$2]++;next};c[$1$2] &gt; 0' file1 file2 &gt; output.txt   and:  grep -Ff file2 file1 &gt; output.txt   I’m aware that there are many somewhat similar questions posted in these forums and others. However, these don’t mention how the output is handled… nor do they mention duplicates. I’ve tried solutions from 4 of them, have been messing with this for many hours and keep getting the same problem: a blank output file.   I’m new to awk and I greatly appreciate the help. Sorry if this is a simple problem with syntax etc; please let me know. Thanks for the help. Hopefully I'm using the right terminology. I'd basically like to know how specific of a location I can make a Pokemon Lure. An Address will not cut it, would need to be like 5ft of my phone or something for it to be useful.  I do not currently play the game and am only interested in this to attract new customers similar to,  but I wouldn't be in a storefront with an address. Why do harmonics occur when you pluck a string? When you energise a taut string, the following resonant modes of vibration occur:    Plotting on the frequency domain, you can see their corresponding frequencies:    But what is the underlying physical principle? Why does this happen?  Is there any way of explaining it that could be understood by a smart 15 year old?  EDIT: I'm going to give my best attempt so far. Here goes:   We can start with sympathetic resonance. Sounding a particular frequency, a pure sinewave.  And noticing the string resonates sympathetically at the frequency of each harmonic. Say this is explained and understood. Now imagine that plucking a string is equivalent to a burst of white noise, which contains frequencies all the way through the spectrum. This could be approached backwards, by starting with random frequencies and noticing that resultant wave produced looks like white noise.   If the above is scientifically correct, then it restricts the domain of the question.  I would really like to be able to understand it scientifically and also be able to explain it intuitively.  PS Images from How to get around a problem with \usetikzlibrary{babel}? I am currently working on an update of tkz-euclide and new documentation but I just met the following problem. If I compile this code with pdflatex or lualatex and pgf 2.1 (The library babel does not exist with pgf 2.1) then the code compiles fine but with 3.0 pgf I must comment on the call \usetikzlibrary{babel} (pgf doc gives so I recommend to always load this library by saying \usetikzlibrary{babel}).  I'd like to know where the error occurred. Especially I would like to work around this problem.   With \usetikzlibrary{babel} I get the error Latex Error: ./untitled 2.tex:46 Undefined control sequence. l.1 \tkz@line@start  Bug in babel, bug in tikzlibrary{babel} bug in my code. I would like to keep  \usetikzlibrary{babel} but to avoid the error.  %!TEX TS-program = pdflatex \documentclass[a4paper]{article} \usepackage[french]{babel} \usepackage{tikz}  \usetikzlibrary{calc} %\usetikzlibrary{babel}  \makeatletter \pgfkeys{%     tkzdrawline/.cd,     start/.code         =  {\gdef\tkz@line@start{#1}},%     end/.code           =  {\gdef\tkz@line@end{#1}},%     start style/.code   =  {\tikzset{tkzstartstyle/.style={#1}}},%     end style/.code     =  {\tikzset{tkzendstyle/.style={#1}}},%    /tkzdrawline/.unknown/.code ={\let\searchname=\pgfkeyscurrentname\pgfkeysalso{%                          \searchname/.try=#1,/tikz/\searchname/.retry=#1}}}  %&lt;--------------------------------------------------------------–&gt; %                              Draw line %&lt;--------------------------------------------------------------–&gt; \pgfkeys{tkzdrawline/.cd, start/.code       =  {\def\tkz@line@start{#1}},% end/.code         =  {\def\tkz@line@end{#1}}, start style/.code =  {\tikzset{tkzstartstyle/.style={#1}}}, end style/.code   =  {\tikzset{tkzendstyle/.style={#1}}},   /tkzdrawline/.unknown/.code   = {\let\searchname=\pgfkeyscurrentname                                  \pgfkeysalso{\searchname/.try=#1,                                 /tikz/\searchname/.retry=#1}}}%         %&lt;--------------------------------------------------------------–&gt;  \def\tkzDrawLine{\pgfutil@ifnextchar[{\tkz@DrawLine}{%                                   \tkz@DrawLine[]}}%   \def\tkz@DrawLine[#1](#2,#3){%  \begingroup   \pgfkeys{tkzdrawline/.cd,start = {}, end = {}, start style={}, end style={},}   \pgfqkeys{/tkzdrawline}{#1}   \draw[ /tkzdrawline/.cd,#1] (#2) to%     node [at start,left,/tkzdrawline/.cd,tkzstartstyle] {\tkz@line@start}%     node [at end,right,/tkzdrawline/.cd,tkzendstyle] {\tkz@line@end} (#3);  \endgroup  }%   \makeatother   \begin{document}    \begin{tikzpicture}      \node (A) at (0,1) {};       \node (B) at (5,2) {};       \tkzDrawLine[end = {$\alpha$}](A,B)       \end{tikzpicture}  \end{document} Long-distance movement arrow in gloss I have a question on drawing an arrow using gb4e. Currently, I am trying to use the method described in the link below. The problem takes place when I draw the long distance arrow like (5). As you can see the picture below, the line cross over the gloss. I would like to draw the horizontal line like the example (1). How can I evacuate the crossing?    \documentclass[11pt, dvipdfmx]{article} \usepackage{tikz} \usetikzlibrary{calc} \newcommand\tikzmark[1]{\tikz[remember picture, baseline=(#1.base)] \node[anchor=base,inner sep=0pt, outer sep=0pt] (#1) {#1};}  % This code from http://tex.stackexchange.com/q/55068/2693 \tikzset{     ncbar angle/.initial=90,     ncbar/.style={         to path=(\tikztostart)         -- ($(\tikztostart)!#1!\pgfkeysvalueof{/tikz/ncbar angle}:(\tikztotarget)$)         -- ($(\tikztotarget)!($(\tikztostart)!#1!\pgfkeysvalueof{/tikz/ncbar angle}:(\tikztotarget)$)!\pgfkeysvalueof{/tikz/ncbar angle}:(\tikztostart)$)         -- (\tikztotarget)     },     ncbar/.default=0.5cm, }  % Thanks to Paul Gessler adn Percusse for code improvement here \newcommand{\arrow}[2]{\begin{tikzpicture}[remember picture,overlay] \draw[-&gt;,shorten &gt;=3pt,shorten &lt;=3pt] (#1.base) to [ncbar=\arrowht] (#2.base); \end{tikzpicture} \setlength{\arrowht}{0ex} } \usepackage{gb4e} % The following code modified from  % http://permalink.gmane.org/gmane.comp.tex.linguistics/1036 % This adds some extra space after the first line \newlength{\arrowht} \setlength{\arrowht}{0ex} \newcommand*\cgdepthstrut{{\vrule height 0pt depth \arrowht width 0pt}} \renewcommand\eachwordone{\cgdepthstrut\rmfamily} \renewcommand\glt{\vskip -\topsep} \let\trans=\glt \newcommand\arrowex{\setlength{\arrowht}{2.5ex}\ex}   \begin{document} \begin{exe} \ex\label{scramble-det} \begin{xlist}         \arrowex          \gll          \ldots dat Jan \tikzmark{een} auto gisteren \tikzmark{t}  gekregen heeft.\\         \ldots that John a car  yesterday t gotten has \\         \ldots that John a car yesterday.         \arrow{t}{een} \end{xlist} \end{exe}  \begin{exe} \ex\label{scramble-dets} \begin{xlist}         \ex          \gll          \ldots dat Jan een auto gisteren t gekregen heeft.\\         \ldots that John a car  yesterday t gotten has \\         \ldots that John a car yesterday. \end{xlist} \end{exe}  \begin{exe} \ex[]{     \gll     John-wa totetumonaiukurai baka-da.    \\     John-Top very stupid-cop \\     `John is very studip.'     }  \ex[]{     \gll     John-wa totetumonaiukurai dousiyoumonai tondemonai sukuigatai baka-da.    \\     John-Top very very very very stupid-cop \\     `John is very studip.'     }  \arrowex[]{     \gll     \tikzmark{John}-wa totetumonaiukurai dousiyoumonai tondemonai sukuigatai  \tikzmark{t} baka-da.    \\     John-Top very very very very stupid-cop \\     `John is very stupid.'         \arrow{t}{John} }  \end{exe}  \end{document} Referencing List by indexVar in lightning component I have nested list in my lightning component and now I want  to refer records of list using indexVar.  Has anyone done this before?  &lt;aura:iteration items="{!v.records}" var="row" indexVar="rowCnt"&gt;  Like `{!row[rowCnt]}?`  &lt;/aura:iteration&gt; iPhone 4 water damage - how to recover data? Folland, "Real Analysis", Chapter 5.3, Exercise 36. Folland, "Real Analysis", Chapter 5.3, Exercise 36:     Let $\mathcal{X}$ be a separable Banach space and let $\mu$ be   counting measure on $\mathbf{N}$.  Suppose that   $\left\{x_n\right\}_1^\infty$ is a countable dense subset of the unit   ball of $\mathcal{X}$, and define $T \colon L^1(\mu) \to \mathcal{X}$   by $Tf = \sum_1^\infty f(n) x_n$.  (a)  $T$ is bounded.  (b)  $T$ is   surjective.   I have proved (a).  I would like help on (b).  Here are my ideas so far.    Say we want to show $y \in \mathcal{X}$ is in the image of $T$.  Reduce to the case $||y|| = 1$ and let $x_{n_m} \to y$.  My thought is to produce for each $N$ a function $f_N \in L^1(\mu)$ such that $||y - \sum_n^\infty f(n)x_n|| &lt; 1/N$ and also such that the $f_N$ converge in $L^1(\mu)$ to some $f \in L^1(\mu)$.  Then use the continuity of $T$ to conclude $T(f) = y$.    The way I have been setting up my inequalities is as follows. Pick $M_N$ such that for all $m &gt; M_N$, $||y - x_{n_m}|| &lt; 1/N$.  Then I want to define $f_N$ so that $$\sum_n^\infty f_N(n) = \sum_{m &gt; M_N}^\infty f_N(m) = 1, $$ hence $$||y - T(f_N)|| = ||\sum_{m &gt; M_N}^\infty f_N(m) y + \sum_n^\infty f_N(n)x_n|| \leq \sum_{m &gt; M_N}^\infty f_N(m) || y - x_{n_m} || &lt; \frac{1}{N}. $$  Presumably, if the $f_N$ are appropriately chosen, then I can find a dominating function and apply the Dominated Convergence Theorem to finish up.    However, getting all these hypotheses to hold simultaneously has been difficult.  In essence, the difficulty seems to be in requiring that the $f_N$ be "normalized" as well as possess a dominating function.  If this method is feasible, at least it seems to require a bit of analysis to show the desired series all converge.  Perhaps I am missing something cleaner.  If so, a simpler solution would be much appreciated.    -Thanks. Is it possible to store user's crontab in user's git repository on OpenBSD? On OpenBSD and with OpenBSD's  and , is it possible to store the  of a user in a  repository of the same user?  What would be the proper way to accomplish something like this?  (To steer the answer into the correct direction, I would not be opposed to changing some permissions in the system, although I'd rather not have to recompile the binaries, nor violate any good security paradigms.) I have written code like below and all works fine, but while submitting the form I get the error below. I am trying to filter the second dropdown based on the first drop down selection.     An illegal choice has been detected. Please contact the site administrator.   How do I overcome that error?       function dynamic_location_dropdown_form_alter(&amp;$form, $form_state, $form_id) {   if($form_id == 'product_node_form') {    $location_options = array();    if(isset($form['field_destination']['und']['#default_value'][0])) {     $destination = $form['field_destination']['und']['#default_value'][0];   }   else {     $destination = 0;   }    $location_options = dynamic_location_dropdown_locations($destination);    $form['field_destination']['und']['#ajax'] = array(     'event' =&gt; 'change',     'wrapper' =&gt; 'squadron-wrapper',     'callback' =&gt; 'dynamic_location_dropdown_ajax_callback',     'method' =&gt; 'replace',   );   $form['field_product_location']['#validated'] = true;   $form['field_product_location']['und']['#prefix'] = '&lt;div id="squadron-wrapper"&gt;';   $form['field_product_location']['und']['#suffix'] = '&lt;/div&gt;';   $form['field_product_location']['und']['#options'] = $location_options;   } }  function dynamic_location_dropdown_ajax_callback($form, $form_state) {   $country_id = $form['field_destination']['und']['#value'];   $form['field_product_location']['#validated'] = true;   $form['field_product_location']['und']['#options'] =  dynamic_location_dropdown_locations($country_id);    return $form['field_product_location']; }  function dynamic_location_dropdown_locations($destination_id) {   $nodes = array();   $nodes[''] = '- None -';   if($destination_id != '') {     $select = db_query("       SELECT node.title AS node_title, node.nid AS nid, node.created AS node_created       FROM {node} node       LEFT JOIN {field_data_field_location_country} field_data_field_location_country        ON node.nid = field_data_field_location_country.entity_id        AND (field_data_field_location_country.entity_type = 'node'        AND field_data_field_location_country.deleted = '0')       WHERE (( (node.status = '1')        AND (node.type IN  ('location'))        AND (field_data_field_location_country.field_location_country_nid = $destination_id)))       ORDER BY node_title ASC     ");     $nodes[''] = '- None -';     foreach ($select as $node) {       $nodes[$node-&gt;nid] = $node-&gt;node_title;     }   }    return $nodes; } Going through a text file line by line in C How to add \part only to TOC? Fancy vertical timeline I'd like to have a timeline as similar as possible to this with the addition of being able to add a logo at the left of each textbullet, but I've got no clue at all:    Thanks very much in advance for any help :)  p.s. I've stumbled upon this answer () but I don't how to modify it to get what I want!