I have a .txt file whose memory is more than 2&nbsp;GB. The problem is I cannot open it with Notepad, Notepad++ or any other editor programs.  Any solutions?
I mean 100+ MB big; such text files can push the envelope of editors.  I need to look through a large XML file, but cannot if the editor is buggy.  Any suggestions?
Recently I have opted for broadband connection which is coming directly cat5 cable with RJ45 port to my laptop. They have provided me with IP address, default Gateway, subnet mask, preferred DNS and alternate DNS server information. Also the username and password.  The Modem model is Beetel 450TC1 which is actually an ADSL+2 Router. The modem has 4 lan port and one RJ11 port (for internet).   Can I use this modem as a wireless hotspot without connecting the RJ45 cable directly to my laptop?  If yes, can anybody help me with that? How to set up a root cron job properly I tried to set up a root cron job to run a Bash script as root, to run at minute 7,37, every hour, every day of month, every month. This script is located in /usr/bin and named tunlrupdate.sh. It updates the DNS of Tunlr.  $ ls -l /usr/bin/tunlrupdate.sh  -rwxr-xr-x 1 root root 2133 Sep 24 15:42 /usr/bin/tunlrupdate.sh   This Bash script is available .  When invoked the script writes what's happening in a log located in /var/log/tunlr.log  To add this root cron job I used the standard for root's crontab  sudo crontab -e   And inserted these 2 lines at the end. I expect cron to run the script as root.  # check for updated Tunlr DNS every 30 minutes at the hour + 7 mn and hour + 37 mn 07,37 * * * * root /usr/bin/tunlrupdate.sh   A later command sudo crontab -l confirmed that the cron job has been inserted.  I did reboot Ubuntu and was checking in the log file if the cron job was launched properly. However there is nothing in the logfile /var/log/tunlr.log meaning the job was never successfully launched.  I did check that if I run the script from the command line  sudo /usr/bin/tunlrupdate.sh   then the logfile is updated accordingly.  Why is this cron job not running as planned in my system?  UPDATE 1 : All the proposed solutions so far do not work. I thank Olli for a CLI to list the system log sudo grep CRON /var/log/syslog. However I did get a CRON error  CRON[13092]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] &amp;&amp; [ -d /var/lib/php5 ] &amp;&amp; find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php /maxlifetime) ! -execdir fuser -s {} 2&gt;/dev/null \; -delete)   with the suggested PATH= insertion &amp; use of absolute path from root for functions in the script or without this suggested solutions here. I still get this error.  After some searching I pinpointed the error in the file /usr/lib/php5/maxlifetime as is explained : Change #!/bin/sh -e --&gt; #!/bin/sh -x  Then listing the CRON error log in my system  sudo grep CRON /var/log/syslog Feb 11 18:07:01 Marius-PC CRON[14067]: (root) CMD (root /usr/bin/tunlrupdate.sh) Feb 11 18:07:01 Marius-PC CRON[14066]: (root) MAIL (mailed 1 byte of output; but got status 0x00ff, #012)   I still don't get the bash script executing. This time no error is shown in the log. To get assurance this was not the content of the script I reduced the script to the following 3 lines:  #!/bin/bash LOGFILE=/var/log/tunlr.log echo $LOGFILE &gt;&gt; $LOGFILE   I still don't get the cron job through. Nothing is written in the log file. So even may be an empty script will not run in cron ? I don't get it. I am know trying a script reduced to these 2 lines:  #!/bin/bash exit 0   And still the same error log. The cron script does not go through ... There is a question I have based on the fact: If you take a quadratic polynomial with integer coefficients, take the set $\{1,2,3,4,5,6,7,8\}$, make a partition $A=\{1,4,6,7\}$, $B=\{2,3,5,8\}$, and then evaluate the polynomial with the elements of each set you got an equality.  If now with a cubic polynomial and the set $\{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16\}$, how to pick a suitable partition that accomplish the same fact? I mean is there a general formula for bigger degree? How do I disable System Integrity Protection (SIP) AKA "rootless" on macOs [OS X] How do I automatically restart docky after a crash? When should we use proximity rule in "either/or", and "neither/nor"? These days, the standard way to present differential calculus is by introducing the Cauchy-Weierstrass definition of the limit. One then defines the derivative as a limit, proves results like the Leibniz and chain rules, and uses this machinery to differentiate some simple functions such as polynomials. The purpose of my question is to see what creative alternatives people can describe to this approach. The nature of the question is that there is not going to be a single best answer. I have several methods that I've collected which I'll put in as answers to my own question.  It's not reasonable to expect answers to include an entire introductory textbook treatment of differentiation, nor would anyone want to read answers that were that lengthy. A sketch is fine. Lack of rigor is fine. Well known notation and terminology can be assumed. It would be nice to develop things to the point where one can differentiate a polynomial, since that would help to illustrate how your method works and demonstrate that it's usable. For this purpose, it suffices to prove that if $n&gt;0$ is an integer, the derivative of $x^n$ equals $0$ at $0$ and equals $n$ at $1$; the result at other nonzero values of $x$ follows by scaling. Doing this for $n=2$ is fine if the generalization to $n&gt;2$ is obvious. I process all my photos to black and white. Although I use a polariser where possible, I often find myself wanting to drop the luminance of the sky further which I do using a Black and White adjustment layer (in Photoshop). This usually results in a lighter halo following the line of the horizon, where the blues of the sky meet whatever the colour of the land is.  My current solution to this problem is to run a brush along this margin with a colour set to the same as the sky and the blend-mode set to Darken. This effectively paints in the lighter band with the sky colour while not laying down the colour on top of the darker horizon. Whilst this is effective, it is very time consuming.  Is there a better approach to dealing with these halos?  Here is a video that illustrated the Darken solution that I mention: Need Basic Viewer template for ArcGIS JSAPI 3.2/3.3 I am looking for basic viewer for ArcGIS JSAPI  but not  getting  proper sample/example.  I am going through  also but looks like its not working.  Going through  question also.  Checking out  example and getting confused that what is difference between Viewer template and layout?  So any help regarding this will be great! I am needing to auto increment a field based on groups within a feature class. I have 8 plots within a given polygon and I need to assign them an ID from 1-8 for each set of plots within each polygon. The polygon would have its own unique ID number to be used to group the plots.  I assume it would be an alteration of this:  rec=0 def autoIncrement():  global rec  pStart = 1   pInterval = 1   if (rec == 0):    rec = pStart   else:    rec = rec + pInterval   return rec As a lab assignment I have to replicate experiment with spring oscillations, and eventually calculate spring constant. The measurements I took are: spring displacement from equilibrium $x$, mass of weights $m$, and period $T$. And presumed uncertainties: $\Delta_\alpha(x)=1[mm]$, $\Delta_e(x)=2[mm]$,  $\Delta_\alpha(t)=0.1[s]$,  $\Delta_e(t)=1[s]$. Where $\alpha$ stands for uncertainty of used equipment, and $e$ is readings uncertainty made by me.  I calculated the standard uncertainty using this formula: $$\sqrt\frac{\Delta_\alpha(x)^2+\Delta_e(x)^2}{3}$$ Which produced $u(x)=1.29[mm]$. Then using the following substitutions:  $$F=kx$$ $$mg=kx$$ $$x=\frac{g}{k}m$$ I assert that:  $$tan(a)=\frac{g}{k}$$  Because in this part of experiment I plotted $x=f(m)$, using excel's linest, I get the slope $s$  $$tan(a)=\frac{g}{k}=s$$  Now, my question is, since I had uncertainty for $x$ introduced, and it is used to compute $tan(a)$, then the latter is affected and should have uncertainty of itself? How in this case should I go about propagating uncertainty to $tan(a)$? Should searching by default be AND or OR? On my website I have a search bar.  It's powered by Lucene.net.  I have a requirement to make search be a substring case insensitive search, with direct hits appearing before substrings.  What I don't know, however, is when a user searches for a multi-word item--say "Chocolate Milk"--should that be treated under the hood as an AND or OR search?  As an example:  *chocolate* AND *milk*   vs  *chocolate* OR *milk*   The requirement right now is to treat this as an AND, but I'm not sure if that's the right way to go about it.  What would be the best in terms of UX?  I would think the best thing to do would be an OR search, with items containing both keywords appearing before items containing only one of the keywords.  Thoughts?  EDIT: The types of items being searched are medical supplies, with very cryptic names. Integrate $$\displaystyle \int_{0}^{\pi}{\frac{x\cos{x}}{1+\sin^{2}{x}}dx}$$ A place where you could sit and see something like this (with a fall if you step further):    (Not looking for a technical term, just a common one). Shortcode display outside the div I have created a shortcode that retrives and displays a form.The content of the attribute in HTML.   function check_my_login( $atts)     {          return '&lt;form action="" name="" method="post" enctype="multipart/form-data"&gt;                &lt;div class="form-group"&gt;                     &lt;label for="description"&gt;Project Description&lt;/label&gt;                     &lt;textarea name="p_description" placeholder="Project Description" class="form-control"&gt;&lt;?php if (isset($_POST['p_description']) &amp;&amp; $_POST['p_description'] != '') echo $_POST['p_description'] ?&gt;&lt;/textarea&gt;                 &lt;/div&gt;                  &lt;div class="form-group"&gt;                     &lt;label&gt;Project Attachment&lt;/label&gt;                     &lt;input type="file" name="p_attachment"&gt;                 &lt;/div&gt; &lt;/form&gt;';     }     add_shortcode( 'kentaUser', 'check_my_login' );   Now use this shortcode inside the Post/page.   Like this    &lt;div class='manage_page'&gt;[kentaUser]&lt;/div&gt;  But my shortcode content display out side the div.Display upper side in post/page content.  &lt;div class='manage_page'&gt;&lt;/div&gt;    Any one short out this problem. How do I distinguish between a command, utility, or builtin for getting documentation? Outline around text on CMYK black background in Photoshop I'm trying to make a document with one color black  (c:0,m:0,y:0,k:100) background with red text on it. However in CMYK the text has this weird grey white-ish edge. In RGB it doesn't show but in CMYK it shows. I'm wondering will this show when printing or do I need to use different methods? ie. using rich black etc.  Here's the RGB and CMYK comparison Why is 'that' sometimes optional before dependent clauses? How can I produce the codes to get the symbols of pencil, ruler and compass in LATEX? I'm gonna write a sentence I can draw this figure by using simple tools in my presentation. So I prefer to include symbols pencil, ruler and compass instead of the words simple tools. Is it possible? As you know, we can enable the spell checker on single line text boxes in the following way:    We have to enable it every time for checking words.  How can we enable it forever, so it doesn't need to be enabled each time?