I'm writing shapefiles nicely with Fortran. One of the fields I'm writing is a Date field. I read several things online that seem conflicting, wondering if I could get some clarification.  The dBASE file has a Date input, I can easily work with this. Fields are however limited to 10 bytes, so there is no room for time. And altering the field inside of QGIS just leads to the time not being saved (why does it even exist in QGIS then?). So I get the same issue as  and similar things. I also found  that a datetime format is accepted with dBASE but this doesn't seem to get recognized in QGIS (I know the link seems to imply it only works in FoxPro but it was worth a shot). I'm additionally confused by  which suggests that time is no problem for ArcGIS, (which is obviously not QGIS but they use the same .dbf files, I'm also writing these file for use in ArcGIS).  My question boils down to this: I guess Date+Time is a bit of an issue with the .dbf file, so my options are to basically store the time as a string ("When visualizing data through time, you must specify the Time field that contains the time values. These time values can be stored in date, string, or numeric field types. For best performance, it is recommended that you store your time values in a date field type"). The last link makes me think that ArcGIS can still work with this (I'd like to be able to create time-based visualizations with the time slider, etc.). I just can't find what format to put it in when I save the time as a string and if there is any special indicator I'd need to set in the .dbf header or something, and will ArcGIS or QGIS be able to obtain the time information despite the column being a string column. I want to be able to do this all through Fortran, without actually changing any settings in ArcGIS or QGIS. I'm trying to automate this process through Fortran and I'm really close, this is the last bit.
I have a shapefile with date in a string field. I create a new field with date type and use the calculator to make the conversion. But the result only provide the date part, the time part is removed. Even when the preview show the correct conversion.  Here you can see the original string field time and the result date time2. And the use of the conversion function to_datetime() and the preview result at the end    If you go to the layer properties you can change the edit mode to date/time. Then if go to the data and try to edit time2 you get the current date/time. So is possible save date and time in the same field. But the update tool still doesn't work as expected      As J.R said. Even when you can change QGIS edit to allow Date/Time the save to shapefile will discard the time.
What is the pronunciation of "the"? I read that the definite article is pronounced differently depending on the word that follows it.  Which is the exact pronunciation of the? Invocable method Apex class is not visible in Process builder Invariant Subspace of Two Linear Involutions I'd love some help with this practice qualifier problem:  If $A$ and $B$ are two linear operators on a finite dimensional complex vector space $V$ such that $A^2=B^2=I$ then show that $V$ has a one or two dimensional subspace invariant under $A$ and $B$.    Thanks! Looking for sci-fi short story anthology with a particular story of an Earth/Mars war children inheriting the surface I read this in the early to mid 80's.  It was a textbook sized hardcover anthology with color illustrations throughout.  Each story had a few images, some were full page illustrations.  The particular story I remember the most involved Earth survivors living underground.  Robots controlled the war from the surface.  A teenage girl and boy decided to sneak away to the surface as no one had been up there in a long time.  The kids discover greenery and a healthy environment, with rusted robot guardians.  The robots had been keeping the humans fooled that the war was still going on, and had kept them under the surface.  Mars had been wiped out from nearly the first volleys of missiles.    The robots judge the teenagers as worthy and let them remain on the surface.  The kids had silver jumpsuits that dissolved when they got wet.  The robot illustrations were blocky, almost weathered stone-like statues.  They had nearly spherical feet and square simple heads.  The faces had eyes and simple mouths.  -edit- The robots were similar in shape to the one in this picture, but smoother, and no arms.  The illustrations with them had the robots being several stories tall.  I kind of remember that the kids emerged from the belly of one or something like that. Is there a way to save composite node presets? Is there any way in Blender to save settings in your compositing node setup. For example say for my shadow catcher I have it setup for a hard shadow for sunlight, and then I also have a setting for diffuse light shadow for indoors. Is there any way I can save these settings individually so I can quickly switch to them rather than having to individually change the nodes every time. How / can you connect Ethernet devices together without magnetics? How do you wire it up? What sorts of practical limitations are there on doing this?  To clarify, I'm not trying to connect two computers here. I'm thinking specifically of creating a small network of microcontrollers on a single board. Lets say the total length of a network segment is no longer than 6 inches. This would be for 10BaseT or at most 100BaseT. Getting Started with Unit Testing Unit testing is, roughly speaking, testing bits of your code in isolation with test code. The immediate advantages that come to mind are:  Running the tests becomes automate-able and repeatable You can test at a much more granular level than point-and-click testing via a GUI    My question is, what are the current &quot;best practices&quot; in terms of tools as well as when and where to use unit testing as part of your daily coding? Lets try to be somewhat language agnostic and cover all the bases. $ which echo echo: shell built-in command. $ which ls /bin/ls $ which cat /bin/cat   Why is echo not an independent utility like ls, ps, cat etc? Why is it shell specific? Any good reasons? I would like to have \alph{counter} for values larger than 26. The following MnWE gives me the error ! LaTeX Error: Counter too large.  \documentclass{article} \begin{document}  \begin{enumerate} \def\theenumi{\alph{enumi}} \setcounter{enumi}{24} \item twenty-five \item twenty-six \item twenty-seven \end{enumerate}  \end{document}   I would like it to behave like one of these:  ..., x, y, z, aa, bb, cc, ..., xx, yy, zz, aaa, bbb, ccc, ... (preferred) ..., x, y, z, aa, ab, ac, ..., ax, ay, az, ba,  bb,  bc,  ... (can be if nothing else works)   A solution without LaTeX3 extensions would be awesome as I cannot run LaTeX3 extensions. Parallel file copy from single source to multiple targets? I have a several large files on optical media I would like to copy to multiple targets - in this case I have two hard drives attached to the same computer. Is there a utility that can function like:  copy source target1 target2 ... targetN Let's say I have the domain johnsmith.com and I want people to reach me via email, what is the best email username to use?  Some examples:   john@johnsmith.com - redundant john.smith@johnsmith.com - redundant and looks kinda stupid mail@johnsmith.com - makes sense, but looks very "technical" me@johnsmith.com root@johnsmith.com - for the geeks among us ;-)   Of course, technically I can simply say that I will be able to receive *@johnsmith.com, however, for a better user experience I still just want one email address for public presence (website, business cards, etc.).  Any suggestions? I recently installed Ubuntu 18.04 and I'm not keen on the desktop environment. I want the desktop env. I used to have in Ubuntu 14.04. How can I get it?  I've attempted to use , but when I try to install the Unity's 7.2.5 version using the command:  apt install unity=7.2.5   it gives me   E: Version '7.2.5' for 'unity' was not found   For sure I need to add a PPA for this, but which one!? Random weighted choice Consider the class below that represents a Broker:  public class Broker {     public string Name = string.Empty;     public int Weight = 0;      public Broker(string n, int w)     {         this.Name = n;         this.Weight = w;     } }   I'd like to randomly select a Broker from an array, taking into account their weights.  What do you think of the code below?  class Program     {         private static Random _rnd = new Random();          public static Broker GetBroker(List&lt;Broker&gt; brokers, int totalWeight)         {             // totalWeight is the sum of all brokers' weight              int randomNumber = _rnd.Next(0, totalWeight);              Broker selectedBroker = null;             foreach (Broker broker in brokers)             {                 if (randomNumber &lt;= broker.Weight)                 {                     selectedBroker = broker;                     break;                 }                  randomNumber = randomNumber - broker.Weight;             }              return selectedBroker;         }           static void Main(string[] args)         {             List&lt;Broker&gt; brokers = new List&lt;Broker&gt;();             brokers.Add(new Broker("A", 10));             brokers.Add(new Broker("B", 20));             brokers.Add(new Broker("C", 20));             brokers.Add(new Broker("D", 10));              // total the weigth             int totalWeight = 0;             foreach (Broker broker in brokers)             {                 totalWeight += broker.Weight;             }              while (true)             {                 Dictionary&lt;string, int&gt; result = new Dictionary&lt;string, int&gt;();                  Broker selectedBroker = null;                  for (int i = 0; i &lt; 1000; i++)                 {                     selectedBroker = GetBroker(brokers, totalWeight);                     if (selectedBroker != null)                     {                         if (result.ContainsKey(selectedBroker.Name))                         {                             result[selectedBroker.Name] = result[selectedBroker.Name] + 1;                         }                         else                         {                             result.Add(selectedBroker.Name, 1);                         }                     }                 }                   Console.WriteLine("A\t\t" + result["A"]);                 Console.WriteLine("B\t\t" + result["B"]);                 Console.WriteLine("C\t\t" + result["C"]);                 Console.WriteLine("D\t\t" + result["D"]);                  result.Clear();                 Console.WriteLine();                 Console.ReadLine();             }         }     }   I'm not so confident. When I run this, Broker A always gets more hits than Broker D, and they have the same weight.  Is there a more accurate algorithm?  Thanks! How can I prove the following?  $\gamma (t)$ is unit speed, $\dot \gamma(t) \not= 0 \Rightarrow \ddot \gamma(t)$ is perpendicular to $\gamma(t)$   I don't really see where a problem would arise when $\dot \gamma(t)=0$ would cause such a problem "Can/may/will you help me with this?" Which word to use when we ask for help?  Some conditions:     We know that the person asked is able to do it. We don't know if the person asked is able to do it. Combination proof for $n(n+1)2^{n-2}=\sum_{k=1}^{n}k^2\binom{n}{k}$ How can I show that   let $n$ and $k$ be integers.  $n(n+1)2^{n-2}=\sum_{k=1}^{n}k^2\dbinom{n}{k}$  It seems a bit confusing to me on the left hand side. You have a set of $n$ people on a team and you keep picking $k$ people who will play a match and you pick before that a captain $k^2$. Least rank of a matrix Let $A$ be a $7\times 7$ matrix such that it has rank $3$ and $a$ be $7\times 1$ column vector.  Then least possible rank of $A+(a a^T)$ is? ($a^T$ is transpose of the vector)  Intuitively I think it's $2$ as $a a^T$ has rank $1$, and the most it could affect is one row of $A$. I have a computer (Asus T200TA) with 2G RAM and 32-bit UEFI [Yep, what a wonderful idea to put 32-bit UEFI!]. I have two options:   Install a 64-bit system, boot manually and install grub-efi-ia32. Drawback: 2G is not much, systems with such low RAM are said to run better on 32-bit systems. Install a 32-bit version. (but from my state of knowledge it's not trivial to boot)   Which option would be better? Solve the equation $x^3 + 117y^3 = 5$ over the integers. Two definitions of $\limsup$ Here are two equivalent definitions of $\limsup_{n\rightarrow\infty} a_n$:   Let $u_n=\sup\{a_n, a_{n+1}, a_{n+2},\ldots\}$. Then $$\limsup_{n\rightarrow\infty} a_n = \lim_{n\rightarrow\infty} u_n =    \lim_{n\rightarrow\infty}\left(\sup\{a_n,a_{n+1},\ldots\}\right)$$ Let $E$ be the set of all subsequential limits of $\{a_n\}$. Then $$\limsup_{n\rightarrow\infty} a_n = \sup E$$   I'm curious as to which one people usually learn first, or which one people find more intuitive. Baby Rudin only has the second definition, but doesn't mention the first as far as I know.  As far as intuition, I think of the second definition as "the biggest limit point." I'm not sure how to think of the first definition though. I can see that $u_n \ge u_{n+1}$ for all $n$, but I'm not sure how to interpret the limit of those $u_n$ conceptually.  Are there any other ways to conceptualize $\limsup$?