Congruence Equation Problem Question Solve for x
Why does the CRT formula yield a solution of a congruence system?
How do you do AppBar docking (to screen edge, like WinAmp) in WPF? Is there any complete guidance on doing AppBar docking (such as locking to the screen edge) in WPF? I understand there are InterOp calls that need to be made, but I'm looking for either a proof of concept based on a simple WPF form, or a componentized version that can be consumed.  Related resources: What are some good books for learning the concepts of Kinematics, Newton laws, 2D Motion of Object etc.? Transpose Ranges repeated by row I would like to convert several range of columns into rows, and keeping the association to the original col/row source  Sample source sheet  --------------------------------------------------- | Data 1 | 1/1/2018 | 1/2/2018 | 1/3/2018 | etc...365 days | --------------------------------------------------- | name 1  |    25    |   30     |    5     | etc...|  --------------------------------------------------- | name 2  |    2     |          |    4     | etc...| --------------------------------------------------- | etc ... 100 rows   Expected Results  --------------------------------------------------- | Data 1 |   Date      |  Value   |  --------------------------------------------------- | name 1  |  1/1/2018   |   25     |    --------------------------------------------------- | name 1  |  1/2/2018   |   30     |    --------------------------------------------------- | name 1  |  1/3/2018   |   5      |    --------------------------------------------------- | name 1  |  etc.. 365 days --------------------------------------------------- | name 2  |  1/1/2018   |   2      |    --------------------------------------------------- | name 2  |  1/2/2018   |          |    --------------------------------------------------- | name 2  |  1/3/2018   |   4      |    --------------------------------------------------- | name 2  |  etc.. 365 days --------------------------------------------------- | etc ... for each change of name pull all the col dates/values   Current results  --------------------------------------------------- | Data 1 |   Date      |  Value   |  --------------------------------------------------- | name 1  |  1/1/2018   |   25     |    --------------------------------------------------- |         |  1/2/2018   |   30     |    --------------------------------------------------- |         |  1/3/2018   |   5      |    --------------------------------------------------- |         |  etc.. 365 days                      I have to copy down to bring in "name 1" for each date  --------------------------------------------------- | name 2  |  1/1/2018   |   2      |             now update the formula to bring in the second item for the sequence of dates --------------------------------------------------- |         |  1/2/2018   |          |    --------------------------------------------------- |         |  1/3/2018   |   4      |    --------------------------------------------------- |         |  etc.. 365 days --------------------------------------------------- | etc ...     =Sheet1!A:A I can bring in the name from the source list, but I have to copy it down for the number of dates.  How can I have it match the number of dates?  and be dynamic to update as dates/values are added Edit: trying to use split and rept to count the number of times to repeat, then transpose.. =transpose(rept(split(arrayformula(concatenate(Sheet1!A:A&amp;"1")),"1",True, True),COUNTA(Sheet1!I1:ZZ1)))  =TRANSPOSE(Sheet1!$C$1:$Z$1) I can use transpose to get the dates/values, but it's fixed range.  How can I make it dynamic to import dates as they are added? In java SSL over https without certificate When you reach 10k rep, you get to see other users deleted answers. I just think it's dishonest as a system to call a feature "delete," but show that to totally random strangers in the backroom. Due to the nature of the rep, given enough time, all of the regular users would eventually reach 10k rep, no matter how insensitive or jerk they are.  There's usually a good reason why people hit "delete" to their own work. They regret writing something totally bullshit or maybe they spoke too much about their own work that they shouldn't have.  First of all, is there really a practical reason why 10k rep user should view self-deleted answers? Does the benefit really outweigh the creepiness? (Imagine if total strangers could see your deleted messages in Gmail?)  What suggestions could we make to change it? Borrowing from the email metaphor, I think it makes sense for users to "empty trash" so the items gets seriously deleted. Imho, however the deletion is implemented is not important. It could be a soft delete, SQL Delete, or physical destruction of metal plates as long as the user or the 10k rep user no longer sees the deleted item.  What are the workarounds, if we can't change the behavior?  The least we could do is stop calling it "delete" if it's actually not a "delete." Call it "hide from public" or "actually not delete" or something.  Related user voice:        Edit: Recovery of a deleted-but-good answer is a practical benefit for the community, but I see that as creepy dangerous feature. IMHO, each user should have the rights to take back his or her perfectly good answer, and that the protecting privacy outweighs the benefit or creepiness.   I understand that it's all possible to find things out from Google cache or wherever, but why promote this as default behavior? As 10k rep user, I see others deleted answers by default. @codinghorror wrote:     But like any version control system, deletions are illusory.   Anything and everything that's implemented by human is more or less illusory including phone system and the medical records. Should the government start tapping into phone lines and scanning for words? Remember, this is a question of should had we given the opportunity to design a system. Android adware lets me opt out: is it safe? Recently my mom's phone running Android 5.0 has been infected with a piece of adware:    At first we thought this was caused by applications, but as you can see here, only the Google/METROPCS Internet browser is running.  In the photo, there is a button that reads 'opt out'. So I clicked on it and it took me to this link at http://tracker.tpc.re/optout/mobile/:    BUT both of these options smelly fishy. For starters, the manual app is not a download link in the play store but an APK, making it seem like a virus. The second (manual) as for sensitive information, which could harm me even more.   Which one of these options do I choose? Are they legit or do I have to do get rid of it another way? I'm just trying out Arduino Uno for the first time with 2 blinking LEDs on a breadboard. All the tutorials on the Internet seem to use a resistor. I do know the function of resistors, but does it really matter here? These LEDs are working just fine without a resistor. Adding more than 15 digits in Excel I want to add more than 20 digits in an Excel cell.  The current format of the cell is general, it converts the number to an exponential format. I tried with a number format and accounting, but when I enter more than 15 digits it gets converted to 0's.  What are the recommended steps for stopping Excel from converting data to exponential Format for 20 digits when in the general format?     Example: 12345678901234567890   Excel converts it to 1.23457E+19 in general format.  Without using ' before the value, is there any other way to keep value same? Decode Base64 data in Java Will it be possible to update Windows XP after April 2014? Escaping regex string I would like to ask a question about Java that doesn't have a specific answer. It's a question to see what people think and to share their opinion.    Will Stack Overflow tolerate this, or is there another Stack Exchange resource where I may ask a question like this? $\sum a_{n}$ is convergent, $\sum a_{n}^2$ is divergent. Prove $\sum a_{n}$ is conditionally convergent. Suppose that the series $\sum_{n=1}^{\infty}a_{n}$ converges while $\sum_{n=1}^{\infty}a_{n}^2$ diverges. Prove that $\sum_{n=1}^{\infty}a_{n}$ converges conditionally. How to resolve a Java Rounding Double issue Seems like the subtraction is triggering some kind of issue and the resulting value is wrong.  double tempCommission = targetPremium.doubleValue()*rate.doubleValue()/100d;   78.75 = 787.5 * 10.0/100d  double netToCompany = targetPremium.doubleValue() - tempCommission;   708.75 = 787.5 - 78.75  double dCommission = request.getPremium().doubleValue() - netToCompany;   877.8499999999999 = 1586.6 - 708.75  The resulting expected value would be 877.85.  What should be done to ensure the correct calculation? STM32 & ST-LINK - Cannot connect to MCU after successful programming I have built my own board with STM32F7-45VGT6. I have successfully programmed it with ST-LINK v2 (not the original one though) and now I cannot even connect with MCU.  I use ST-Link Utility from ST and SWD interface. It can be the case that I use SWD pins as output and in my code I set them as GPIO output. Can it be the case?  Nevertheless, I connect my reset pin to GND and set "Connect under reset" option in ST-Link Utility but it doesn't work... What can I do?  On the Internet, I have found something about using BOOT0 Pin, but I don't know exactly... Why has Steve Nash moved to the LA Lakers in sign-and-trade deal? Congratulations to Steve Nash on his move to Lakers !  His contract with the Suns has expired so I don't understand why he moved in a sign-and-trade deal.    Why resign and move in trade? Why didn't the Lakers sign Nash without any trade? How to scale dimensions proportionally to a specific size? I modeled a man and would like to scale him down to be exactly 6' tall (Z dimension), however I cannot find a way to do that. I know I can go to front ortho view and and use the normal scale S  key to scale it, however that requires some pretty specific fine tuning in order to get it to the right dimensions.  I'd like to be able to essentially type "6" into the Z dimension (don't worry I have it setup in imperial) and have it scale the X and Y dimensions proportionally. How to run Unix shell script from Java code? It is quite simple to run a Unix command from Java.   Runtime.getRuntime().exec(myCommand);   But is it possible to run a Unix shell script from Java code? If yes, would it be a good practice to run a shell script from within Java code? Intersection of Adiabatic curves Can paths of two adiabatic process intersect on a plot? This question is for both reversible and irreversible processes. There are some , but they mostly address only for reversible adiabatic processes. Also, I want a physical interpretation of the processes that is, if they don't intersect then why don't and what it would be like, physically for a system. What's the difference between absolute path &amp; relative path when using any web server or Tomcat?