Date format and the hour is always 12:00:00.000
Converting ISO 8601-compliant String to java.util.Date
I used this isomorphism today but now I'm having trouble justifying it. The norm function isn't additive so I can't come up with a ring isomorphism to prove the following:     For any $\,a+bi\in\Bbb Z[i],\,\gcd(a,b)=1$, we have a ring isomorphism   $$\Bbb Z[i]/\langle a+bi\rangle\,\cong\Bbb Z/(a^2+b^2)\Bbb Z=:\Bbb Z_{a^2+b^2}.$$   Could someone show me an isomorphism between these rings to prove this? How to control the coordinates in Tikz & Matrix? I use Tikz with Matrix because I need to draw arrows and write on and beside the matrix. However, I don´t control the coordinates well other than using trail and error. For instance in the matrix below I have put an X at (0,0) and it is not in the centre of the matrix. However, if the matrix is 4x4 than it is in the centre. Is there any convenient way to know the coordinates? \documentclass[border=1cm]{standalone}  \usepackage{tikz} \usetikzlibrary{matrix}   \begin{document}  \begin{tikzpicture} \matrix(m) [matrix of math nodes, nodes in empty cells, nodes={minimum size=1cm, outer sep=0pt, text height=1.5ex, text depth=.25ex}] {  36     &amp;   &amp; 32    &amp;   &amp; 33    &amp;   \\         &amp;   &amp;       &amp;   &amp;       &amp;   \\  10     &amp;   &amp; 8     &amp;   &amp; 7     &amp;   \\         &amp;   &amp;       &amp;   &amp;       &amp;   \\  12     &amp;   &amp; 17    &amp;   &amp; 16    &amp;   \\         &amp;   &amp;       &amp;   &amp;       &amp;   \\  23     &amp;   &amp; 15    &amp;   &amp; 16    &amp;   \\     &amp;   &amp;   &amp;       &amp;   &amp;       &amp;   \\ };  \draw (m-1-1.north west) rectangle (m-8-6.south east);    % Lineas horizontales \foreach \i in {2,4,6,8} {   \draw (m-\i-1.south west) -- (m-\i-6.south east); }  % Lineas verticales \foreach \j in {2,4,6} {   \draw (m-1-\j.north east) -- (m-8-\j.south east); }  % dual ui \node [font=\color{red}] at (3.5,3) {$\ge 10$}; \node [font=\color{red}] at (3.5,1) {$\ge 8$}; \node [font=\color{red}] at (3.5,-1) {$=4$}; \node [font=\color{red}] at (3.5,-3) {$=3$};  % dual vj \node [font=\color{red}] at (-2.5,-5) {$\le12$}; \node [font=\color{red}] at (-0.5,-5) {$=12$}; \node [font=\color{red}] at (1.5,-5) {$=6$};  \node [font=\color{red}] at (0,0) {X};  \end{tikzpicture}     \end{document} Why does 1366x768 resolution exist? I know that there's  but it doesn't have any real answers despite having been viewed 12,400 times, and the fact that it's been closed. With that in mind...  Why in the world is 1366x768 resolution a real thing? It has an aspect ratio of 683:384, which is the weirdest thing I've ever heard of while living in a 16:9 world.   All screens and resolutions I've been familiar with have been 16:9 aspect ratio. My screen, 1920x1080, is 16:9. The 720p that I'm familiar with is 1280x720, also 16:9. 4K that I'm familiar with, 3840x2160, is also 16:9. Yet 1366x768 is 683:384, a seemingly wild break from the standard.  I know there are plenty of other resolutions all over the place, but 1366x768 seems to dominate most of the mid priced laptop world and also seems unique to the laptop world. Why don't laptops use 1280x720 or something else as a standard? Is it possible to use NBT tags in commands in Minecraft: Bedrock Edition? This question was recently split into different questions for each workaround. See   meta posts for more information.   Can you use NBT tags in commands? I’ve tried commands that normally work in Java Edition like: give @s minecraft:planks 30 1 {display:{Lore:[&quot;Wooden planks&quot;]}} give @s stone_pickaxe{Unbreakable:1b} give @s item_frame{EntityTag:{Invisible:1b}} summon villager ~ ~ ~ {Offers:{Recipes:[{buy:{id:&quot;emerald&quot;,Count:5b},sell:{id:&quot;diamond_sword&quot;}}]}} summon tnt ~ ~ ~ {Fuse:20s} PHP shortest/longest string length in array I'm wondering about the period character . used as a shortcut for the local computer name.  You can use it when logging into Windows 7, for example, to specify that the user account you're entering belongs to the local computer rather than to a domain:  .\MyLocalUserAccount   And you can use it within a Windows Management Instrumentation (WMI) query to indicate that the target is the local computer rather than a remote computer.  You can also use it when working with named pipes to for similar purposes.  However, you cannot use it as the UNC network name for the computer, like this:  \\.\MyShare   Does this character have an official name (e.g. "LocalHostToken") and when and where can it be used for this purpose? Django Template Variables and Javascript When I render a page using the Django template renderer, I can pass in a dictionary variable containing various values to manipulate them in the page using {{ myVar }}.  Is there a way to access the same variable in Javascript (perhaps using the DOM, I don't know how Django makes the variables accessible)? I want to be able to lookup details using an AJAX lookup based on the values contained in the variables passed in. I have a custom xmodmap file I use, including useful multi-language diacriticals, english quotes, dashes &amp;c. I want to use this map with kmscon, so I need to create a xkb configuration from it. Is there an automated method to do it? Or even a straightforward manual process, since I won't need to do this frequently? How can I move an installed game from one Steam library folder to another? I use (and have it much bigger) drive D: to store all my user data and games, but I have installed the Steam client on drive C:. When I was installing a first game (Warhammer 40000), I've chosen to place my library folder on drive D: and the game went there.  But now as I've got installed the second game (Portal), I can see that it was put on drive C: despite to the choice I've done previously. When I open Steam - Settings - Downloads + Cloud - Steam library folders, I can see both installation places in the list. Can I merge them into one?  I would even agree to use the default drive C: library (as I've replaced it with a symlink already). When I press to remove one library it says it can only remove empty ones. Why didn't Skynet kill Kyle Reese? "To your left" versus "on your left" MySQL strip non-numeric characters to compare I'm looking to find records in a table that match a specific number that the user enters.  So, the user may enter 12345, but this could be 123zz4-5 in the database. I imagine something like this would work, if PHP functions worked in MySQL. SELECT * FROM foo WHERE preg_replace(&quot;/[^0-9]/&quot;,&quot;&quot;,bar) = '12345'  What's the equivalent function or way to do this with just MySQL? Speed is not important. I have to submit a manuscript to a journal, and I just realized that they want every single part of the paper to be in 12 pt font. This includes tables text, footnotes, acknowledgements etc. Is there a way to force all text to be the same size? GetFeatureInfo from Image WMS Power Supply Capacity Formula Given that I am building a home computer from scratch and I have several components (MB, CPU, HDD, Video, Sound, etc) which have specific power requirements, is there a formula for me to calculate the size/capacity of the Power Supply I will need? I want to be able to expand the setup later on also... What is the difference between .profile and .bash_profile and why don't I have a .profile file on my system? So I'm pretty new to Linux and recently installed Fedora 19 on my netbook. I want to have a deeper understanding of Linux and the CLI so I'm now reading .  In exercise 3 the author gives the following commands:   ls -al cat .profile   I try to follow these instructions but to no avail. There is no .profile file in my user name directory as I can see from ls -al. From what I've learned the .bash_profile and .profile file are practically the same. The only difference I concluded from my research is that .bash_profile gets checked first.   What I don't understand is why are there multiple files for the same function in Linux, why is the Author using .profile and not .bash_profile (if I understand correctly .profile won't be read when the system finds .bash_profile first) and how comes that I don't have the .profile file on my system? I'm a new Minecrafter, and was wondering if new updates are backwards compatible. Specifically, will the new "Adventure Update" features (Beta 1.8) appear in existing worlds created with Beta 1.7 and earlier? Or will I need to create a new world for this version? In Delphi, is TDataSet thread safe? I'd like to be able to open a TDataSet asynchronously in its own thread so that the main VCL thread can continue until that's done, and then have the main VCL thread read from that TDataSet afterwards. I've done some experimenting and have gotten into some very weird situations, so I'm wondering if anyone has done this before.  I've seen some sample apps where a TDataSet is created in a separate thread, it's opened and then data is read from it, but that's all done in the separate thread. I'm wondering if it's safe to read from the TDataSet from the main VCL thread after the other thread opens the data source.  I'm doing Win32 programming in Delphi 7, using TmySQLQuery from  as my TDataSet descendant. Question on the correlation between two dependent variables I'm working on this question and it's stumping me.     Let $S_n = X_1 + \ldots + X_n$ (with $n&gt;=1$) be a random walk with $X_1, \ldots, X_n$ be iid RV's.   $$ E(X_k)=\mu,\,{\rm Var}(X_k)=\sigma^2.  $$   Find the covariance of $S_n$ and $S_m$   Can anyone help out? I am trying to use the equation: $${\rm Cov}[S_n, S_m] = E[S_nS_m] - E[S_n]E[S_m]$$  but can't quite figure it out. tar: Removing leading `/' from member names root@server # tar fcz bkup.tar.gz /home/foo/ tar: Removing leading `/' from member names   How can I solve this problem and keep the / on file names ?