When is it appropriate to replace AtomicReference with a volatile member?
Java volatile reference vs. AtomicReference
Why Are Ethernet/RJ45 Sockets Magnetically Coupled? As the title says really, why do ethernet sockets need to be mag-coupled? I have a basic understanding of electronics, but mostly, I can't figure out the right search terms to google this properly. What is the logic behind the timer of the Sojourner Badge? Does the 24 hours timer start:     when you hack a portal on a particular day     or     does it use the calendar days and check if you did hack a portal on a particular day   or     does it simply use a fixed international timezone to calculate the 24 hour cycle   or     does it use the agent's hacking cell's timezone to start it?   If it's the calendar days method than the explanation of the badge would be a little bit misguided because you could hack a portal on 00:01 on Saturday and then hack another one on 23:59 on Sunday and it would be practically two days between two hacks.  If it's based on the agent's last hack for a particular day then the explanation still would be problematic?  The third option would be a little bit unfair (or timezone racist) for the rest of the world.  The last option (the cell's timezone) would/could be both unfair for travellers and/or non-travellers.  Does anyone know any details about it? How to configure axis on pgfplots? How to configure axis on pgfplots? Similar for this.  \documentclass{article} \usepackage{tikz,pgfplots} \pagestyle{empty} \begin{document} \begin{tikzpicture}[&gt;=latex] %x axis \draw[-&gt;] (-5,0) -- (5,0) node[below] {$x$}; \foreach \x in {-4,...,-1,1,2,...,4} \draw[shift={(\x,0)}] (0pt,2pt) -- (0pt,-2pt) node[below] {\footnotesize $\x$}; %y axis \draw[-&gt;] (0,-5) -- (0,5) node[left] {$y$}; \foreach \y in {-4,...,-1,1,2,...,4} \draw[shift={(0,\y)}] (2pt,0pt) -- (-2pt,0pt) node[left] {\footnotesize $\y$}; \node[below left] at (0,0) {\footnotesize $0$}; \end{tikzpicture} \end{document} What year is the series "Chilling Adventures of Sabrina" supposedly set in? Almost everything in Greendale seems to be vintage 1960's (cars, movies, dress). I assume it is to reflect the original comic book, but I swear I saw Ambrose using a laptop computer in the first episode. Was this just to make it more topical? Or is it some kind of alternate reality? What is the difference of closing for duplicate and flagging for duplicate? When I encounter a duplicate, I have two choices: Vote closing because it is a duplicate, or flag it as a duplicate. What is the difference and should I do both? I have a query going that gets data for an ID for the last 3 months.  I need to tweak it so I get the highest value for each of the three months.  I've tried a couple of things with the aggregate function MAX, but I'm not getting anywhere.  I'm trying to get the max value for each of the past months ....  Here's the data from the query, currently sorted by date (asc):   ID      Date               Value 12410   01/03/2017 12:17    0.000178 12410   01/10/2017 11:36    0.000186 12410   01/17/2017 11:27    0.000189 12410   01/24/2017 13:09    0.000182 12410   01/31/2017 10:37    0.000169 12410   02/07/2017 11:03    0.000214 12410   02/14/2017 11:52    0.000176 12410   02/21/2017 10:51    0.000200 12410   02/28/2017 12:29    0.000194 12410   03/07/2017 08:39    0.000206   Here's the query:   select AnalysisID as "ID" , AnalysisDateTime as "Date", AnalysisValue as "Value" from AnalysisValueTbl where AnalysisID = 12410 and DatePart(m, AnalysisDateTime) = DatePart(m, DateAdd(m, -3, getdate())) and DatePart(yyyy, AnalysisDateTime) = DatePart(yyyy, DateAdd(m,-3, getdate())) or AnalysisID = 12410 and DatePart(m, AnalysisDateTime) = DatePart(m, DateAdd(m, -2, getdate())) and DatePart(yyyy, AnalysisDateTime) = DatePart(yyyy, DateAdd(m,-2, getdate())) or AnalysisID = 12410 and DatePart(m, AnalysisDateTime) = DatePart(m, DateAdd(m, -1, getdate())) and DatePart(yyyy, AnalysisDateTime) = DatePart(yyyy, DateAdd(m,-1, getdate())) order by AnalysisValue desc Accidentally ejected External drive while downloading file, now having problems reading How is canonicity of derivative works determined for Star Wars? For all types of derivative works, namely:   Movies Novels Comic books Other written works (including RPG materials) Cartoons Video games Derivative movies (such as the infamous Ewok movies and even more infamous )   According to what rules does something become "canon" and who is responsible for the evaluation of a published work? Is it possible to simulate key press events programmatically in JavaScript? Iterating each character in a string using Python uniq command not working properly? So I'm checking the md5 hash of my files with this as my output:  657cf4512a77bf47c39a0482be8e41e0  ./dupes2.txt 657cf4512a77bf47c39a0482be8e41e0  ./dupes.txt 8d60a927ce0f411ec94ac26a4785f749  ./derpina.txt 15f63928b8a1d5337137c38b5d66eed3  ./foo.txt 8d60a927ce0f411ec94ac26a4785f749  ./derp.txt   However, after running find . -type f -exec md5sum '{}' ';' | uniq -w 33 to find the unique hashes I get this:  657cf4512a77bf47c39a0482be8e41e0  ./dupes2.txt 8d60a927ce0f411ec94ac26a4785f749  ./derpina.txt 15f63928b8a1d5337137c38b5d66eed3  ./foo.txt 8d60a927ce0f411ec94ac26a4785f749  ./derp.txt   From my understanding, only one of either derpina.txt or derp.txt should be showing up since their hashes are the same. Am I missing something? Can anyone enlighten me as to why it outputs like this? How can we do pagination in datagridview in winform Does electricity flow on the surface of a wire or in the interior? I know how to draw different shapes using tikz, like this:  \documentclass{minimal} \usepackage{tikz} \begin{document}  \begin{tikzpicture} \draw (0,0) ellipse (1 and 1.5)       (0,2.5) circle (1)       (2.5,0) circle (1.5); \end{tikzpicture}  \end{document}     However, I would like to put a number of different shapes together inside a node, and I couldn't yet find a simple way to do that. I will make a little figure to include in a large diagram which is already made of several nodes.  If this is not possible, or not easy, then how do I include a JPG or EPS file in a node?  Thank you! How to factor intricate polynomial $ ab^3 - a^3b + a^3c -ac^3 +bc^3 - b^3c $ I would like to know how to factor the following polynomial.  $$ ab^3 - a^3b + a^3c -ac^3 +bc^3 - b^3c $$ What is the method I should use to factor it? If anyone could help.. Thanks in advance. CPU Die temperatures reaches 90° C, is that normal? Selecting a front derailleur: parameters The spec sheet for the Shimano Alivio FD-M430 front derailleur contains a number of points that I don't understand.   What does "Maximum capacity: 22 teeth" mean? Why are "Top gear teeth" constrained to "44/48T"? Is there anything wrong with 46? What is "Cable Routing: dual-pull type"? And most puzzling, what is "Chain Stay Angle  63-66 / 66-69" and how do I measure mine? I have often read that using RSA for encrypting bigger size plaintext is not good solution.  What I understand is that using RSA encrytion is best for small plaintext and most effective if it is smaller than 'bit size' of RSA. For instance, if I use RSA with a 2048 bit size then the plaintext that I can encrypt must be smaller than 256 bytes.  Is this true? What happens if the plaintext is bigger than 256 bytes? Why is there a problem with larger plaintext when performing RSA encryption? Variable substitution with an exclamation mark in bash Making 3 points stick on a plane / flag with wind I have a flag I want to waft in the wind. I imported the shape as an SVG from Adobe Illustrator.  I converted the mesh to a curve.  It wouldn't let me make some subdivisons but it still seems to work with the cloth property.    When I press play, you can see the structure of the flag stops.  How can I make those last 3 points intact? Also the fill colour seems to have disappeared, do you know why and how I can bring it back?    Thanks  Steve  File here: