Recently bought a new laptop with an extended warranty. Wondering if when a laptop needs to be sent in to the manufacturer for a repair (specifically a hardware repair),  is it ok to remove the hard drive when sending it in?  I don't want to risk my data (security) while in transit and out of my hands.  Nor do I want to delete sensitive files and restore them when my laptop is restored.  I guess this would make it tougher to troubleshoot issues and repair the laptop. I don't know what else I could do.


Rare events modelling - value of coefficients

I am running a logit regression on a dataset with only 2 independent categorical variables, country and device type. Both of these variables can take several values. The dependant variable is binary. The event occurs approximately 0.2% of the time.  For certain countries, the coefficients are significant, but I do not have any positive event for this country. How can this happen ?  I am using the glm procedure in R.  Thank you,


Debian SSH disabled password logins but can still login

I have setup a debian install on a VPS and have successfully implemented key based logins to increase security.  Now I am trying to disable password based logins entirely using the guide found at   I have modified my /etc/ssh/sshd_config file to set the following...  PasswordAuthentication no PermitRootLogin no UsePAM no   But on rebooting my server I am still able to login using a username and password.  Anyone have any ideas?  UPDATE Added PasswordAuthentication no to ssh config, after rebooting it is still letting me login with a password though  ** UPDATE ** Removed commenting # from the beginning of the line...  #PasswordAuthentication no   All working now!


Wifi doesn't work after suspend after 16.04 upgrade

This particular version of the "doesn't work after suspend" came after upgrading to 16.04. It seems that the upgrade includes a Wicd applet (added to Metacity Classic Gnome task bar alongside regular network icon), but doesn't seem to work after a suspend. A sudo service network-manager restart duplicates this problem. It takes a complete reboot to get Wifi going again. Any ideas why?


How to solve this quadratic congruence? $27w^2+20w+35 \equiv 0 \pmod{23}$

Given $27w^2+20w+35 \equiv  0 \pmod{23}$ How to solve this  quadratic congruence? All hints are welcome. I completed the square ,so I obtained $27(x+\frac{10}{27})^2+\frac{845}{27} \equiv  0 \pmod{23} $ I need to get 2 solutions in the least residue system which are the correct answers:  $w\equiv  6 \pmod{23}$ and  $w \equiv  12 \pmod{23}$


\documentclass{article}     \begin{document}   \begin{center}     \begin{tabular}{ | p{5cm} | p{5cm} | p{7cm} |}\hline  \centering{A} &      \centering{B} &      \centering{C} \\ \hline  \end{tabular}  \end{center}  \end{document}   I am making an A4 document and I want the words in the first row of the table to be centered. Here I have omitted other rows. But errors occur and it seems that I can't use \centering for the last column. Why doesn't it work?


How to extract duplicate value in arraylist in c#

I have a array list which have a list of a type, but all values are duplicated.  Specifically, my blog url is in my array list twice. How can I remove the duplicates?


Take the proof that $\sqrt{5}$ is irrational. Starting with the assumption that $\sqrt{5}=\frac{p}{q}$ and that p and q are coprime, we get that both p and q are both divisible by 5 and hence are not coprime and hence a contradiction has occurred. But can the same not be done for say $\sqrt{4}=\frac{p}{q}$ ? Following the same procedure we get that both p and q are divisible by 4 and are not coprime. Obviously $\sqrt{4}=\frac{2}{1}$ but the above procedure doesn't tell us that. It leads us to ''both p and q are divisible by 4''. Where am I going wrong in my argument ?


Today in class, the instructor is trying to show that for $n \ge 0$, $n < 2^n$. And this are the steps he took:  First we assume the inductive hypothesis i.e. $0 < 2^0$, and this is true. Then to prove that for any arbitrary integer $k \ge 0$, $k < 2^k$. The proof proceeds as follows:   Assume $k < 2^k$ is true for $k ge 0$. Show that $(k + 1) < 2 ^{k + 1}$. By induction hypothesis, $k < 2^k$ thus $k + 1 < 2^k + 1 < 2^k + 2^k = 2^{k + 1}$.   Thus by mathematical induction the result has been proven  My question now is how was step 3 derived? Where does the extra $2^k$ manifest from?


Is inertial force always attached to the centre of mass of the object? Why? What rules cause this to happen?  See the  below of the leaned bike in a corner.    The force $m\frac{v^2}{r}$ pointing to the right is the centrifugal force (inertial force - because it's a rotating reference frame, therefore a non-inertial reference frame). It is attached to the centre of gravity of the bike.  I'm thinking that inertial force is attached to the centre of mass because of the fact that it should simply avoid creating a torque on the object. That's intuitive, but there must be a general rule that allows us to conclude that.


"Sally's and Mike's bikes" or "Sally and Mike's bikes"?

The title really says it all. When there are two subjects in the possessive, what do we do?  If "Sally's and Mike's bikes" is correct, isn't this ambiguous? (As the phrase could either be referring to the bikes that are owned by both Sally and Mike, or to one bike that is owned by Sally and one that is owned by Mike.) Furthermore, doesn't the sentence "My mother's and father's marriage seems awkward, clunky, and badly thought out" seem awkward, clunky, and badly thought out?  If "Sally and Mike's bikes" is correct, isn't this also ambiguous? (As the phrase could refer to either the bikes that are owned by both Sally, and Mike, or to Sally and the bike that is owned by Mike.) And the sentence "Joe Biden and the President's daughters get along famously," as much as some slash political fanfiction authors may protest, seems far more likely to be saying that Joe gets along with Sasha and Malia than that Joe and Barack have secretly eloped and have had multiple children, who get along with each other well. But if this sentence is incorrect, how would you refer to these clandestine daughters? ("Joe Biden's and the President's daughters" seems to refer to two different sets of daughters.)  Finally, does this get even more complicated when you add pronouns into the mix? ("My and her house" is a repulsive sentence. How can we rephrase it without losing information? (Which "Our house" would certainly do.)


deserialize response from Google Contacts API

I Created a google contact from apex trigger by using API. Now I need to access the id of created google contact (from the response ).  Can anyone please help me . I am finding it very difficult to deserialize(access id of created contact). Below is the response from google contact api .    {         "resourceName": "people/c8899815917873622428",         "etag": "%EigBAj0DBAUGBwgJPgoLPwwNDg8QQBESExQVFhc1GTQ3HyEiIyQlJicuGgQBAgUHIgxEaEdXK3VoV04rOD0=",         "metadata": {             "sources": [                 {                     "type": "CONTACT",                     "id": "7b827f6c8f396d9c",                     "etag": "#DhGW+uhWN+8=",                     "updateTime": "2021-04-08T11:39:54.029Z"                 }             ],             "objectType": "PERSON"         },         "names": [             {                 "metadata": {                     "primary": true,                     "source": {                         "type": "CONTACT",                         "id": "7b827f6c8f396d9c"                     }                 },                 "displayName": "John Doe",                 "familyName": "Doe",                 "givenName": "John",                 "displayNameLastFirst": "Doe, John",                 "unstructuredName": "John Doe"             }         ],         "photos": [             {                 "metadata": {                     "primary": true,                     "source": {                         "type": "CONTACT",                         "id": "7b827f6c8f396d9c"                     }                 },                 "url": "https://lh3.googleusercontent.com/-XdUIqdMkCWA/AAAAAAAAAAI/AAAAAAAAAAA/V8BNOaftJmYLrkVjpeeTiXd_hQJgh8fVgCLcDEAEiGQoBShD___________8BGIDYvf_______wE/s100/photo.jpg",                 "default": true             }         ],         "memberships": [             {                 "metadata": {                     "source": {                         "type": "CONTACT",                         "id": "7b827f6c8f396d9c"                     }                 },                 "contactGroupMembership": {                     "contactGroupId": "myContacts",                     "contactGroupResourceName": "contactGroups/myContacts"                 }             }         ]     }   thanks in advance


Predicting trajectory collisions for multiple moving objects

For the most simple of 2D games, I have implemented a posteriori collision detection (overlapping rectangles) on the xy Cartesian plane, but am now interested in understanding the basics of a priori collision detection...  On , I noticed the reference to Newton’s Method.  So, I want to better understand the link between finding zeros of an equation and detecting a posteriori collision.  Let's start with the most obvious case of finding roots of an equation:  If you have a projectile's trajectory modeled as a quadratic function, you can find the roots to predict at what time the height will equal zero (or any other constant height, actually, by just rearranging f(x)=C to be f(x)-C=0 and then finding roots of that expression).    So, as I understand, finding the root can tell me the time at which the object will be at any chosen height.  More broadly, we basically know the (x,y) location of the object for any given time.    But how does root finding, in particular, translate to detecting collisions with another object?  The other object may be stationary, or be moving.  If the latter, do you also determine roots/location of this moving object as well? Calculate the (x,y) trajectory of both objects and determine where they will intersect?


Please recommend some great calculus reference books

I’m taking MIT ocw single variavle calculus now, and I found I need some books to help with studying. I know Stewart or Thomas calculus is famous for calculus. But I think it’s too huge. And that’s the reason why I have tried to take online lecture. So could you please recommend some calculus books to practice exercises? I want a books which are not huge like Stewart, have some challenge problems, not much focused on analysis. I read some people recommend books, but I think it’s more focused on analysis than calculus.


Can not boot Windows on Legacy BIOS after installing Ubuntu on UEFI

Long story short, I installed ubuntu while I was watching netflix and feeling very lazy, and may have lost all my windows 7 files.  Quick summary:    -Windows 7 was installed on Legacy bios and I installed ubuntu on UEFI bios -ubuntu installer didn't detect any other OS on my computer and wanted to write over the disk, so I had to manually edit the partition    -Despite repeated warnings about partitioning windows in the ubuntu installer, I did this anyway, assigning 140 gigs to ubuntu and 500 to windows Now, my computer won't boot into anything but Ubuntu  -in Gparted, it still shows that I have two partitions, and windows 7 boot loader -However, I can't boot into the non-linux partition, and boot loader says I need a recovery disk.  My question is does anyone know if what I've done is fixable? I'm hoping that I can fix it using the way outlined in this thread:   Thanks for the help everyone!  Note: gparted shows:    Foudn linux image: /boot/vmlinuz - 3.13.0.30 - generic   Found linitrd image: /boot/initrd.img - 3.13.0 - 30 - generic   Found linux image: /boot/vmlinuz - 3.13.0 - 24 generic   Found  initrd image: /boot/initrd.img - 3.13.0 - 24- generic   memtest   memtest   Found windows 7 (loader) on /dev/sda1


New command for text color is not working

I've been using this newcommand for ages and it always worked perfectly:  \newcommand{\comment}[1]{\textit{\small\textcolor{red}{ #1}}}   However, in my new latex document it returns an error:  Undefined control sequence. \comment{ciao}   This is the heading I'm using, but I can't find any incompatibility:  \documentclass[twocolumn,aps,prl,showpacs,superscriptaddress,notitlepage]{revtex4-1} \usepackage[a4paper,top=3cm,bottom=3cm,left=1.cm,right=1.cm]{geometry} \usepackage[english]{babel} \usepackage{graphicx}                \usepackage{booktabs}            \usepackage{amsmath}                 \usepackage{mathtools}               \usepackage{braket}                  \usepackage{multirow} \usepackage{setspace} \usepackage[separate-uncertainty=true]{siunitx}  \DeclarePairedDelimiter\abs{\lvert}{\rvert}   \newcommand{\comment}[1]{\textit{\small\textcolor{red}{ #1}}}  \newcommand{\oos}{\omega_s} \newcommand{\ooi}{\omega_i} \newcommand{\oop}{\omega_p} \newcommand{\ooa}{\left( \oos,\ooi\right)}  \makeatletter \let\cat@comma@active\@empty \makeatother   I'd like to ask you if you can see where the problem is!  Thanks


“Who are you staying with” or “Whom are you staying with?”

Which one is correct?     Who are you staying with   or     Whom are you staying with?


What proverb describes getting out from trouble but ending up in another one?

I remember reading something like "out from something's mouth/jaws (like a dragon) and into another..."


Under Mac OS X, can I choose to use the Wireless connection for some specific traffic and the Wired connection for the rest?

Background:  I am currently using Mac OS X Mavericks in a professional network where there is a difference in access between the Ethernet and WiFi networks. Specific to my case, when using the WiFi connection I can use SSH for my GitHub needs, but for internal git repositories I need to use the Ethernet connection to be able to access them.  Question:  Is it possible to configure my machine such that any (SSH) traffic to GitHub uses the WiFi connection, but all other traffic uses the Ethernet connection?  Context: The system administrators are unwilling to unblock outbound SSH traffic on the Ethernet network, citing the availability of the unrestricted WiFi connection as one of their motivations. This works fine and it's possible to switch off the WiFi when I'm not using it, or unplug the Ethernet when I don't need internal resources, but this can get fairly tedious.    Edit:  Halfway through implementing the offered solution I've found a different solution for my issue, apparently it's possible to use SSH over the HTTPS port and this works within my situation. I'll leave the question here for any others.


Notify instantly when a currently viewed post is deleted

At the moment SE shows us current voting results, a notification for new answers and comments, etc., instantly. However, it doesn't show us when a post is deleted.  Please notify us also when a post is deleted. Then I don't have to type a (long) comment, only to notice the post got deleted in the meantime.


We need to construct a field of 25 elements.  By using a result : For a prime p and a monic irreducible polynomial $p(x)$ in $\Bbb F_p [x]$ of degree $n$ , then the ring $(\Bbb F_p [x] / <p(x)>)$ is a field of order $p^{n}$.  So , for the question problem above , we need a irreducible polynomial of degree $2$ in $\Bbb Z_5 [x]$.  Solution says , $x^{2} + x +1$ does our job , since it's irreducible in $\Bbb Z_5 [x]$.  My question : Can't we take $ x^{2} + 2$ , it has no zeroes in $\Bbb Z_5$ , and is irreducible. In every solution I've gone through , the polynomial $x^{2} + x+1$ is taken. Can't we consider $ x^{2} + 2$ ?


Package graylog-web is not available, but is referred to by another package.    This may mean that the package is missing, has been obsoleted, or is only available from another source. E: Package 'graylog-web' has no installation candidate


I am using Keras RNN Cell to perform parts of speech tagging. The architecture is as follows(I cannot put the code because of privacy reasons) :    An embedding layer of of 40 units of shape (batch_Size, max_sentence_length, 40) tf.keras.layers.SimpleRNNCell(state_size=number_of_tags_in_dataset+20, dropout=0.2,recurrent_dropout=0.0, activation='tanh')  tf.contrib.layers.fully_connected(units=state_size) tf.contrib.layers.dropout(keep_prob=0.6) tf.contrib.layers.fully_connected(units=number_of_tags) tf.keras.layers.BatchNormalization() tf.keras.activations.relu() Using tf.contrib.seq2seq.sequence_loss() with AdamOptimizer and gradient clipping of 0.5 batch_size=32, learn_rate=0.01   The result for ~14 epochs are as follows (due to resource constraint, thats the maximum number of epochs I can run for)  accuracy 0.0172309  accuracy 0.800888  accuracy 0.866243  accuracy 0.893743  accuracy 0.896006  accuracy 0.901575  accuracy 0.899487  accuracy 0.898529  accuracy 0.900531  accuracy 0.902532  accuracy 0.899051  accuracy 0.903055  accuracy 0.901053  accuracy 0.898703  accuracy 0.898703   I have noticed this trend where no matter what hyperparameter changes I make, the accuracy is getting stuck around 89-90%. Can you provide some suggestions to boost the accuracy? I am fairly new to Deep Learning so I have been struggling a lot to optimize my model. I have also tried building Bidirectional LSTMs for the same but they are too slow for the resource constraint and the maximum accuracy that I can achieve there is around 92%.


I would like a trident symbol but there none to be found. The closest symbol I know is  \neptune   using the wasysym package. But it is not very nice (too 'ornamental' to my taste). Do you know some alternatives (something like the math mode version of \neptune, see ) but without the circle it sits on?  EDT: The package mathabx has \Neptune too but it is even uglier IMHO


Interpretation of level-log when the outcome is binary

I know that textbooks state that when conducting level-log regression, I should generally divide the estimated coefficient by Beta / 100 for a percentage point interpretation. For example, a 1 % increase in X leads to a percentage point change in Y. However, when we have a linear probability model, where y={0,1}, is it still necessary to divide the estimated log(X) coefficient by 100 for the same percentage point interpretation as the one stated above? My intuitive answer is no, it is no longer necessary in the linear probability model case, but I am not quite sure if I am correct or why I am correct. Thank you in advance for your clarification.


I have the following question for homework.  Fix positive integers $a$ and $b$ .  Here’s an inductive definition of a set $S$ :  Foundation rule: $a,b ∈ S$. Constructor rule: If $m,n ∈ S$ , then $m − n ∈ S$.  (a)  Suppose $h$ is a common factor of $a$ and $b$ .  Use the exclusion rule to prove that for every $n ∈ S$ , $h$ divides $n$ . (b)  Suppose $k ∈ S$ is  a  positive  integer  which  is  not  a  factor  of $a$ . Prove that there is some $l ∈ S $ such that $0 < l < k$ . (Hint:  Consider the sequence $a,a − k,a − 2 k,...$ and use the fact that $\mathbb{N}$  is well-ordered.) (c)  In  the  same  way  that  you  proved  (b),  we  may  also  prove the following fact:  if $k ∈ S$ is a positive integer which is not a factor of $b$ , then there is some $l ∈ S$ such that $0 < l < k$ . Use (b) and the above fact to prove that there is some positive integer in $S$ which is a common factor of $a$ and $b$ . (Hint:  Use the fact that $\mathbb{N}$ is well-ordered.) (d)  Use (a) and (c) to conclude that S contains gcd($a,b$).  I'm unsure about how to even start (a) and (b). For (a) I thought something along the lines of "because $h$ is a common factor of $a$ and $b$, as $n ∈ S$, $h$ must be a divisor of $n$" yet apparently this is quite far off what we are supposed to do. I have literally no idea how to even start (b). Any help would be appreciated.


Is the alternating group a lie group. If so what is the lie algebra corresponding to it?    This is not a homework questions. I need the dimension of the lie algebra (if one exists) to prove some theorem as part of my work.


Whate are the generators of $\mathbb{Z}_9^*$?


How Did Voldemort Drink the Regenerative Potion Without a Body?

From a link from the question  to the HP Wikia, I started mulling over something I read about Voldemort and the "regeneration" potion (not a canon potion, but I'll use it for lack of a better way of describing it. . .) and would really like to know:  How did Voldemort drink the regeneration potion to turn his body into the grotesque childlike form we see in Goblet of Fire while he was still in a "mangled spectral state"?  Spectres (i.e. spirits or ghosts) are non-corporeal; they obviously can't consume food or drink liquids. So, how did Voldemort overcome this difficulty and manage to drink the regeneration potion?


Can someone explain what exactly the Jacobian matrix is (specifically in its application to dynamical systems) and maybe give an example of how to compute it? It really confuses me...and I haven't been able to find any good resources online.


Configuration Manager or hook_update() to enable modules

In Drupal 7, if we wanted to push code to our environments enabling modules, we would call  in hook_update_N(). We no longer have that in Drupal 8, so how do we programmatically enable modules? Do we use Drupal 8's Configuration Manager or hook_update_N()?  A diff on the exported configuration yields this:  +++ b/cim/sync/core.extension.yml @@ -10,6 +10,9 @@ module:    config: 0    contact: 0    contextual: 0 +  ctools: 0   So it seems the module is enabled via code using Configuration Manager. We're also working with the idea of this:  function mymodule_update_8003() {   $modules = array(     'ctools',   );   \Drupal::service('module_installer')->install($modules); }   What is the correct method?


Can systemd 'adopt' or 'inherit' a process or cgroup?

I have a service that I would like to manage through systemd - let's call it foo. I wrote unit files, and they're working just fine. So, if I run systemctl start foo, the service starts correctly, and I can see its status with systemctl status foo.   However, an external program may also start the service, and it doesn't use systemd to start the service. So, the service can be running, but since it wasn't started through systemd, systemd doesn't know about it. In this case, systemctl status foo reports that the service has failed, even though its running correctly.   Is there a way to have systemd 'inherit' or 'adopt' this service, so systemctl status foo correctly reports that the service is running, even when systemd didn't start it? With SysV, I would write a small 'status' script, so I could /etc/init.d/foo status, but that doesn't seem to fit with the systemd model.  To be clear, when the external program starts the service, the service's processes are still children of PID 1/systemd. But, systemd doesn't recognize them as part of service foo, since systemd didn't start and register them.   The specific technologies are:   Oracle WebLogic (the service is a Managed WebLogic Instance) Oracle NodeManager (this is the external program that may also start the service) systemd 219


coloured Box Diagram with arrows and signs

could someone help me out with this diagram? Which package would you advice and what would the code look like? Thank you in advance.


What causes these (constant) black stray lines on my photos?

There are black lines on my Nikon D3100 and I'm wondering if it is a problem with the lens or with the body itself.


Can I use Ubuntu or should I use a lower version like Xubuntu?

I used to use Ubuntu Hardy on my old laptop. But haven't used it since then. My desktop is really old. It is Dell with Intel(R) Pentium(R) D CPU 2.66 GHz with 1.00gb Ram, 140gb hard-drive. Since Microsoft isn't supporting Windows XP anymore, which Ubuntu version can I use with these computer specs. Also, I need to be able to use some type of media library that is friendly with a iPod so I can sync my mom's playlists and so on.


The set of all functions from $\mathbb{N} \to \{0, 1\}$ is uncountable?

How can I prove that the set of all functions from $\mathbb{N} \to \{0, 1\}$ is uncountable?  Edit:  This answer came to mind.  Is it correct?  This answer just came to mind.  By contradiction suppose the set is $\{f_n\}_{n \in \mathbb{N}}$.  Define the function $f: \mathbb{N} \to \{0,1\}$ by $f(n) \ne f_n(n)$.  Then $f \notin\{f_n\}_{n \in \mathbb{N}}$.


While installing Google Chrome in my Ubuntu OS I'm getting the below error while updating.


I'm trying to recreate the blinking star effect seen .  I have created a plane, added a particle emitter and added a sphere as the emitter. In the original sphere particle instance I have used the following node setup.    The Value node has a noise modifier on it to simulate the blinking effect (similar ). When I animate it all of the particles blink simultaneously, rather than each one individually.    How would I make each behave independently?


I recently got a 4K 60Hz monitor for my 13" MacBook Pro Late 2013. It supports both HDMI and DisplayPort, but since the included cable is a full-sized DisplayPort cable, I'm currently using HDMI. Back when the rMBP Late 2013 came out,  wrote about how it could support 4K@60Hz, but only on Windows because of a driver issue. I was wondering if that issue has since been fixed, and if it is possible for me to run my monitor at 60Hz.  I also tried to run it at 1440p@60Hz, using both System Preferences and cscreen, but neither of them worked. If it is impossible for me to use 4K@60Hz but it is with 1440p@60Hz, could you please let me know how? I am willing to purchase a MiniDP to DP cable if necessary.  Thanks in advance!


how to pass an object by reference in java and changing the object vaules?

I wrote a code for changing values of list by function:  package test3; import unit4.collectionsLib.*; public class main {      public static void change (Node<Integer>first) {         first = new Node<Integer>(12,first);     }     public static void main(String[] args) {         Node<Integer> first = new Node<Integer>(1);         first = new Node<Integer>(2,first);         first = new Node<Integer>(3,first);         Node<Integer> pos = first;         while (pos!=null) {             System.out.print(pos.getInfo()+"->");             pos = pos.getNext();         }         System.out.println();         change(first);         pos = first;         while (pos!=null) {             System.out.print(pos.getInfo()+"->");             pos = pos.getNext();         }                    }         }   the output is :    3->2->1-> 3->2->1->   How do I pass an object in the function for changing the list?


I am trying to run this script in ubuntu terminal. script.sh #!/bin/bash #Initializing two variables a=10 b=20   #comparing a and b  if [$a == $b]  then     echo "they are equal"  else     echo "they are not equal" fi  Output is - chmod +x script.sh ./script.sh ./script.sh: line 8: [10: command not found they are not equal  Please help me with the issue here.


Create generic type at run time and pass it to a generic method

I am working on a class that inherits from OutputFormatter.  In my WriteResponseBodyAsync method I take in a OutputFormatterWriteContext context and need to call a method that takes an IEnumerable<T> objects as a parameter.  I'm using a third party library that has a method like this -   public SerializedData Serialize<T>(IEnumerable<T> someObject){...}   My WriteResponseBodyAsync method is like this -   public override Task WriteResponseBodyAsync(OutputFormatterWriteContext context)  {      // need to make a call like the below,      // but of course, this won't compile because context.Object is not an IEnumerable<T>.      var serializedData = ThirdParyLibrary.Serialize(context.Object);       return Task.FromResult(serializedData);  }   I don't know how to go from the context.Object the IEnumberable<T> objects. I have tried a few variations of context.Object.GetType() and GetGenericTypeDefinition() and MakeGenericType(..) but none of these help.   Is there way to do something like -   var myType = context.Object.GetType().GetGenericArguments()[0]; //this gets the type inside the enumerable I want to return. IEnumerable<myType> typedObjects = (IEnumerable<myType>) context.Object;


What is the purpose of the EBP frame pointer register?

I'm a beginner in assembly language and have noticed that the x86 code emitted by compilers usually keeps the frame pointer around even in release/optimized mode when it could use the EBP register for something else.  I understand why the frame pointer might make code easier to debug, and might be necessary if alloca() is called within a function.  However, x86 has very few registers and using two of them to hold the location of the stack frame when one would suffice just doesn't make sense to me.  Why is omitting the frame pointer considered a bad idea even in optimized/release builds?


when I try to install a new package (for instance dafault-jdk) I get this error:  sudo apt-get install default-jdk Preconfiguring packages ... dpkg: error processing package lsb-base (--configure):  package is in a very bad inconsistent state; you should reinstall it before attempting configuration Errors were encountered while processing: lsb-base E: Sub-process /usr/bin/dpkg returned an error code (1)   I've already searched google and this site, but nothing solved my problem.  When I try to run:  sudo apt-get -f install   It ends up with the same error.  Do you have any idea how to solve this?  EDIT: I followed the hint, but when I try to it as described I'm getting the following result:  sudo dpkg --remove --force-remove-reinstreq lsb-base dpkg: dependency problems prevent removal of lsb-base:  cups depends on lsb-base (>= 3.2-14~).  pulseaudio depends on lsb-base (>= 3.2-13).  apport depends on lsb-base (>= 3.0-6).  rsyslog depends on lsb-base (>= 4.1+Debian3).  hplip depends on lsb-base (>= 3).  apparmor depends on lsb-base.  avahi-daemon depends on lsb-base (>= 3.0-6).  speech-dispatcher depends on lsb-base (>= 3.0-10).  util-linux depends on lsb-base (>= 3.0-6).  udev depends on lsb-base (>= 3.0-6).  kerneloops-daemon depends on lsb-base (>= 3.2-14).  cron depends on lsb-base (>= 3.0-10); however:   Package lsb-base is to be removed.  network-manager depends on lsb-base (>= 3.2-14).  alsa-utils depends on lsb-base (>= 3.0-9).  irqbalance depends on lsb-base (>= 3.1).  cups-daemon depends on lsb-base (>= 3).  anacron depends on lsb-base (>= 3.0-10).  brltty depends on lsb-base (>= 3.2-14).  initscripts depends on lsb-base (>= 3.2-14).  kbd depends on lsb-base (>= 3.0-10).  acpid depends on lsb-base (>= 3.2-14).  unattended-upgrades depends on lsb dpkg: error processing package lsb-base (--remove):  dependency problems - not removing Errors were encountered while processing:  lsb-base   I still need help with this :)  Thanks in advance!


i have written a class i am trying get test coverage. i have written below. Could you please help me here  Class :  public class WrapperCam   {      public Boolean check{get;set;}     public Campaign Cmp{get;set;}      public WrapperCam(Id Idcc,String Nme)     {         this.check=false;         this.Cmp = new Campaign(Id=Idcc,Name=Nme); } }   Test class:  @isTest  Public class WrapperCamtest {   @testSetup    static void setupTestData(){      test.startTest();      Campaign campaign_Obj = new Campaign(id='00001',Name = 'suresh');      Insert campaign_Obj;       test.stopTest();   } }   Let me know what should i add here so that i get 100% coverage  Thanks in advance!


How do reference a related object within a Salesforce Trigger?  I am creating a record for a related object and need to assign a value to one of the fields in the new related object (relatedOject1) from a second related object (relatedOject2).  I understand that a parent or related object is not returned in the list.  I wrote o.relatedObject2__r.Name below to illustrate the intended data to be returned at this point.  trigger objectTrigger on object__c (after insert) {      List<relatedObject1__c> ListToInsert = new List<relatedObject1__c>();      for (Order__c o : Trigger.new) {         relatedObject1__c ro = new relatedObject1__c();         ro.Type__c = 'New Customer';         ro.RecordTypeId = '0121a000000e8sX';         ro.relatedOject2__c = o.relatedObject2__c;         ro.Description__c = 'Open Order:'+o.relatedObject2__r.Name+'  Date: '+o.Date__c;         ro.object__c = o.Id;         ListToInsert.add(ro);     }      if(ListToInsert.size() > 0) {         insert ListToInsert;      } }


What do repeating '^@' symbols in a logfile mean?


I am running Ubuntu 13.04 64-bit on Intel® Core™ i5-2500K CPU @ 3.30GHz × 4 PC.  When I go to system settings and click on sound, the screen keeps flashing between Analog Output and Headphones in the Play sound through section of the Output tab. The screen doesn't stay fixed, and I cant click on any of the buttons.   When I try to play music the sound is extremely choppy. In terminal I opened alsamixer, and the Surround, Center LFE and Side bars keep alternating between 0 and 100 (regardless of if my Logitech X-540 5.1 surround sound speakers are plugged in or not).   I know the speakers work fine because I have windows 7 installed on the same PC and it worked immediately without any configuration.   The ALSA Information Script from my PC can be found here:   I have tried uninstalling and reintalling alsa-base and pulse audio but that is not working. I also tried several suggestions including: .  Any ideas?


How does finding greatest Integer in an array work?

I know that the below code will give the greatest value in an Array, but why?  public class Practice {   public static int greatest(ArrayList<Integer> list) {   int greatest = list.get(0);   for(int i: list){     if(i > greatest){         greatest = i;     } }  return greatest; }  public static void main(String[] args) {      ArrayList<Integer> list = new ArrayList<Integer>();      list.add(3);      list.add(5);      list.add(2);      list.add(7);      list.add(8);  System.out.println("The greatest number is: " + greatest(list)); } }   If it is comparing the first value indexed in the list to another value that is greater than it while looping, wouldn't it would choose 5 instead of 8? How does it know to choose 8 instead of 5?  Thank you very much.


Why limiting the weights to not grow to big numbers help to avoid overfitting?

I understand that in order to avoid overfitting we need to reduce the complexity of the network. Or, in other words we can reduce the degree of polynomial. L1-norm does exactly this - reduces the degree of polynomial by making the solution sparse.  In L2-norm case the weights don't become zero but small. Thus, the degree of polynomial does not decrease, meaning the network does not become less complex, meaning it did not solve the overfitting. So, I don't understand how limiting the weights to not grow to big numbers help to avoid overfitting.


Prove that $(a,b)R(c,d) \longleftrightarrow ad=bc $ is equivalence relation on $A=R^2-\{(0,0)\}$

I am trying to prove that $$(a,b)R(c,d) \longleftrightarrow ad=bc $$ is equivalence relation on $$A=\mathbb{R}^2-\{(0,0)\}$$ $A$ is all points on the plane.  If I want to show that is reflexivity so I need to take $a$ and $c$, set $(a,a)\in R$ and $(c,c)\in R$ how I can show that $a^2 = c^2$?  how to show transitivity?  Thanks!


Make triangle faces in stead of square faces

I am new here on this 'forum'. I started learning blender about a year ago, and this day I am still  a bit learning. For 3D Modeling for a game I need to use triangle faces in stead of square faces to make sure that the faces are visible in game. What I do is just make a face to delete the normal faces in the model and delete them with the X and then 'only faces', and then select 3 points and press F. But to do this for the whole model that will take a very long time. Is there a easier way to do this? Kind regards, Jonne


I am using this command  sudo apt-get update && wget https://minergate.com/download/deb-cli && mv deb-cli minergate-cli-release.deb && sudo apt-get install -y gdebi && sudo gdebi minergate-cli-release.deb && screen minergate-cli -user someone@any.com --xmr   So first I need force yes; when prompted with "do you want to install software package?" y/n   I need to auto select y  Secondly I need to run this whole command in the background. It takes a long time to install.


Be $n>1$ and $x_1,...,x_n \in \mathbb{R}$ show per Induction with  $n \in \mathbb{N}$ $ V_n(x_1,...,x_n) := det\begin{pmatrix} 1 & x_1 & x_1^2 & ... & x_1^{n-1} \\ 1 & x_2 & x_2^2 & ... & x_2^{n-1} \\ ... & ... & ... & ... & ... \\ 1 & x_n & x_n^2 & ... & x_n^{n-1} \end{pmatrix} = \prod \limits_{i>j}(x_i - x_j) $ so i haven't done induction with matrices before. My idea is to split them into smaller parts like det(AB)=det(A)det(B), but im missing some knowledge. Im here completely lost.


Inverse function of $\operatorname{li}(x)$ over $x>\mu$?

How can I get the inverse function of $\operatorname{li}(x)$ over $x>\mu$?  Where $$\operatorname{li}(x)=\int_{0}^{x}\frac{ds}{\ln(s)}$$ is the so-called logarithmic integral, and $\operatorname{li}(\mu)=0$.


mariadb Unknown system variable 'server_uuid'

Im trying to setup replication between mariadb(10.1.31-MariaDB - MASTER) and mysql(5.7.12-log - SLAVE). After executed the start slave, I got the below error.     Fatal error: The slave I/O thread stops because a fatal error is   encountered when it tries to get the value of SERVER_UUID variable   from master.   Then I tried to get the value of master_uuid.  MariaDB [(none)]> show variables like '%server_uuid%'; Empty set (0.00 sec)   Then tried to setup this in mysql prompt.  MariaDB [(none)]> set global  server_uuid = 11123c25-cac0-3523-8089-4c54d9b46f33; ERROR 1193 (HY000): Unknown system variable 'server_uuid'   And also I tried to setup auto.cnf in data directory.  [auto] server_uuid = 11123c25-cac0-3523-8089-4c54d9b46f33  chmod 644 auto.cnf   But still im getting the fatal error is encountered when it tries to get the value of SERVER_UUID variable from master.


C++ Static member method call on class instance

Here is a little test program:   #include <iostream>  class Test { public:     static void DoCrash(){ std::cout<< "TEST IT!"<< std::endl; } };  int main() {     Test k;     k.DoCrash(); // calling a static method like a member method...      std::system("pause");      return 0; }   On VS2008 + SP1 (vc9) it compiles fine: the console just display "TEST IT!".  As far as I know, static member methods shouldn't be called on instanced object.   Am I wrong? Is this code correct from the standard point of view? If it's correct, why is that? I can't find why it would be allowed, or maybe it's to help using "static or not" method in templates?


Google follows JavaScript string as relative path - produces 404 error

This is my first question on here so I hope I'm not breaking any rules, but I have a problem:  I have a site that uses an Adobe Site Catalyst for its online analytics. The suite supports tagging through JavaScript and when implemented, it looks something like this that is placed on http://www.mydomain.com:  <script language="JavaScript" type="text/javascript"> s.channel="/my-tracking-tag/" </script>`   The problem is that Google is reading this JavaScript and interpreting the s.channel string as a relative location on my website and is crawling it. I then get a 404 error in Google Webmaster Tools saying that the URL http://www.mydomain.com/my-tracking-tag/ does not exist, and that it was linked to by the URL that the JavaScript tag code was on.  Is there any to avoid this behavior? I thought about adding URL with a 404 error to my robots.txt file but tracking campaigns are constantly updating and it would be burdensome to update the text file with the constantly updating tags. I also though about structuring the string in s.channel as something like 's.channel= "/" + "my-tracking-tag" + "/" but I'm not sure if that would due the trick, and would also require implementation guidelines to be developed for the future.


I recently tweaked some Notepad++ settings and I somehow turned off the icons for folding code blocks. Whenever I open a JavaScript or C# file now, the collapse code block icons that are located off to the left side are missing. How can I turn them back on?


Probability of exactly one event occurring

Event A has probability of 0.7 and Event B has probability of 0.6. If A and B are independent, what is probability that exactly one occurs?


I was an iPhone user for long time and recently switched to Samsung Galaxy S4 which is supposed to be the best android phone out there (at least best samsung phone). I like to try the real android the Google experience. What kind of apps, widgets, launcher, ... should I install?


I have many remote machines I need to log in. I need somehow store connection parameters because it is too boring enter them manually. Also I prefer to store password in these shortcuts. Software similar MTPuTTY that runs under windows would would solve my problem in Ubuntu.  How to solve this problem?


How do I use possessive when talking about a book written by two authors?

Tom DeMarco and Timothy Lister are two authors of Peopleware. When talking or writing about the book, do I have to write:     Have you read Tom DeMarco and Timothy Lister's Peopleware?   or:     Have you read Tom DeMarco's and Timothy Lister's Peopleware?


Just upgraded to Ubuntu 19.04 but can't log in!

I just upgraded my distribution to 19.04 – things apparently went well except I got a message that 'install-info' couldn't be updated. This message I have ignored so far. It seemed OK until I restarted the system and tried to log in. Now it won't accept my password any more and after maybe 10 seconds I end up at the login question again. And again. I know the password is still there, since logging in via ssh from another computer works like a charm. It is also NOT a capslock problem, I have tried enough times to eliminate that. Since I have an ssh connection, I can reproduce any log or system files if someone asks me.  But I'm flabbergasted - what on earth is the problem here? I have always upgraded as soon as a new Ubuntu has been out, but this is the first time I experience problems with it.  A little update: I just tried to reboot the machine via the ssh connection, and now the screen just shows the ubuntu logo with the five blinking dots under it. Nothing has happened for half an hour now, so I guess it's really stuck there. Seems serious this - is there anyone here who understands and possibly can assist me a bit?  Update again 13may19! I just upgraded my third (old-ish) laptop to Ubuntu 19.04, and couldn't log in there either. A bit of research showed that the problem was incompatible Gnome shell extensions. I insist on the Gnome shell (gives me the desktop I want), and disabling these extensions one-by-one finally gave me a working system. Learning? Yes indeed! This was a long process, and I'm happy I'm finally there!


After install ubuntu 14.04 , windows 8 not showing in grub

Boot Info Script e7fc706 + Boot-Repair extra info      [Boot-Info 9Feb2015]   ============================= Boot Info Summary: ===============================   => No boot loader is installed in the MBR of /dev/sda.  => No known boot loader is installed in the MBR of /dev/sdb.  sda1: __________________________________________________________________________      File system:       vfat     Boot sector type:  FAT32     Boot sector info:  No errors found in the Boot Parameter Block.     Operating System:       Boot files:        /EFI/Boot/bootx64.efi /EFI/ubuntu/MokManager.efi                         /EFI/ubuntu/grubx64.efi /EFI/ubuntu/shimx64.efi  sda2: __________________________________________________________________________      File system:       ext4     Boot sector type:  -     Boot sector info:      Operating System:  Ubuntu 14.04 LTS      Boot files:        /boot/grub/grub.cfg /etc/fstab  sda3: __________________________________________________________________________      File system:       swap     Boot sector type:  -     Boot sector info:   sdb1: __________________________________________________________________________      File system:       iso9660     Boot sector type:  Unknown     Boot sector info:      Mounting failed:   mount: /dev/sdb1 already mounted or /mnt/BootInfo/sdb1 busy  sdb2: __________________________________________________________________________      File system:       vfat     Boot sector type:  FAT16     Boot sector info:  According to the info in the boot sector, sdb2 starts                         at sector 0. But according to the info from fdisk,                         sdb2 starts at sector 1954316. According to the info                         in the boot sector, sdb2 has 0 sectors.     Mounting failed:   mount: /dev/sdb1 already mounted or /mnt/BootInfo/sdb1 busy mount: /dev/sdb2 already mounted or /mnt/BootInfo/sdb2 busy


X is r.v. on ($\Omega$,F,P) where $E[\left\lvert X \right\rvert^a] < \infty$. Prove $E[\left\lvert X \right\rvert^b] < \infty$ for all $0<b\le a$  How would I go about proving this using something in the realm of Lebesgue Integration or Domination thm. If I am off base with this please let me know. Having trouble even visualizing how to prove, would appreciate any help or hints.  edit: added abs value. sorry for that oversight!


now I am evaluating limits of functions, but i dont know how to start to solve this limit. It is possible without L Hopital's rule?  $\lim_{x\to0}{{\frac{\ln(\cos(4x))}{\ln(\cos(3x))}}}$?


Will reputation 'inflation' become a problem?

I was wondering about this for a while now.  Since people really only gain reputation and don't really lose it over time (barring extreme cases), will the various reputation levels stay consistent or will they move? Will an upvote always be 10 points and a downvote 2?  Since there is no real 'sink' to take reputation away, everyone will eventually have tons of it and everyone will be a 10k+ moderator. What will be done to prevent this? Or is this the ideal?


I am typing some texts in Spanish, and I need to use the symbols for inverse and direct limits—\varprojlim and \varinjlim respectively. The problem is that these symbols look like "lim" with an arrow below, but I need "lím" with an accent over i. Is there an easy way to define something like that?  I think I found the definitions :  \def\varinjlim{%   \mathop{\mathpalette\varlim@{\rightarrowfill@\textstyle}}\nmlimits@ } \def\varprojlim{%   \mathop{\mathpalette\varlim@{\leftarrowfill@\textstyle}}\nmlimits@ }   But I am not sure how to modify this properly.  Thank you for your help.


Usage of \vspace command from top of the page

I am triying to write my thesis in Latex. I want to create a title page. In my title page i have some space with the texts. I tried to give it with \vspace but it works between text not from top of the page. Can you suppose me a way to do this?


I was looking at at puddle when I thought that this puddle will evaporate tomorrow but then it occurred to me that the boiling temperature of water (aka to turn into gas) is $100$ degrees under 1 atmospheric pressure of earth. Then I thought the temperature around me was 25 degrees which is way away from temperature of boiling therefore it should in theory or at least in my perspective never evaporate the water, yet nature disagrees and does this so.   Therefore I proposed an hypothesis (Still in Middle School so please excuse me) the water turns into gas as a result of the photons "hitting" the atoms and transferring its energy into the water atoms which in turn moves the atoms giving it $KE$ (Kinetic Energy) and this happens over a millions of times which results in water particles gaining this energy and therefore evaporating without substantial notice or feel of it bubbling or showing any sign of it as this happens very slowly.   However I as a middle school student am not too considerate or confident on my hypothesis so would you say my hypothesis is correct or wrong and can you explain why this happens?


So, I made a video, and what to edit it using nodes.  The viewer node shows the image as it should; however the Compositor node outputs the image zoomed in by 50%. Is there a reason to this? I have the same node connected to both the Compositor and Viewer nodes.


What is the electrostatic potential on the surface of a conducting body?

My physics teacher had been teaching us electrostatics for quite sometime in my school, and frankly, I don't understand a word of her teaching. Hence I had been studying electrostatics on my own.   I have understood the concept of electrostatic potential, the mathematical derivation behind it and the dependence of the potential with the charge present in the space.   There is this sentence in my textbook which I have not understood of, which deals with the electrostatics of the conductor. The property goes as follows-  "Electrostatic potential is constant throughout the volume of the conductor and has the same value(as inside) on its surface."  Can anybody shed light on this property?


Breaking down Python syntax in this quicksort algorithm

I'm currently studying over algorithms and my book uses Python for the code examples, but I'm not much of a Python expert. For quicksort, I ran into this code where I don't understand some of the lines:  def quickSort(array):     if len(array) < 2:         return array;     else:         pivot = array[0];         less = [i for i in array [1:] if i <= pivot]         greater = [i for i in array [1:] if i > pivot]         return quickSort(less) + [pivot] + quickSort(greater);  print (quickSort([1, 16, 22, 15, 7, 60, 65, 23]))   for the definition of less, what is the meaning of the snippet [i for i in array [1:] if i <= pivot] I understand that loops in Python go like "for book in books", but I don't understand what they mean by "i for i in array" and why is it all enclosed in square brackets?  Then at the return statement, why is [pivot] also enclosed in brackets?  I tried googling it but I didn't get any proper results, since I just don't know the names for this syntax.  Thank you!


Validation of Models with Different Scale Data

I created a model for two different datasets that have different scales. When checking which one performed better, I am struggling with figuring out the best methodology. My top choices right now are R^2, RMSE, and variance. However, R^2 seems to be the only option that works best in my opinion because it doesn't seem to take into account the scale of the data but wondering if there are options such as normalizing the numbers etc.   Below is a sample situation:        Date      Group      Actual_Values       Predicted_Values 2020-04-24          A              0.181                  0.140 2020-04-27          A              0.190                  0.127 2020-04-28          A              0.188                  0.126 2020-04-29          A              0.188                  0.123 2020-04-30          A              0.185                  0.122 2020-05-01          A              0.178                  0.124 2020-05-04          A              0.182                  0.118 2020-05-05          A              0.180                  0.120 2020-05-06          A              0.178                  0.120 2020-05-07          A              0.180                  0.121 2020-05-08          A              0.184                  0.124  2020-04-24          B              86.24                  86.25 2020-04-27          B              94.00                  86.65 2020-04-28          B              98.44                  86.88 2020-04-29          B              107.3                  87.05 2020-04-30          B              94.26                  87.27 2020-05-01          B              96.71                  87.42 2020-05-04          B              92.28                  87.59 2020-05-05          B              90.97                  87.73 2020-05-06          B              87.47                  87.80 2020-05-07          B              88.93                  87.90 2020-05-08          B              92.41                  87.93   From this dataset I tested the following code:  library(ModelMetrics) with_rmse<- historical_results %>%   group_by(Group) %>%   summarise(     RMSE = rmse(Predicted_Values, Actual_Values)     ,R2 = cor(Predicted_Values, Actual_Values)^2     ,variance = abs(var(Predicted_Values, Actual_Values))   )  Group           RMSE            R2      variance     A     0.05929241    0.02067078  3.548883e-06        B       8.461625    0.02991999     0.5624356   So for example, the above results like 8.4 for RMSE may actually be good but looks bad just because the original values were higher than A. Any help would be great, thanks! This is just an example - disregard the bad R2 :)


"There is" or "There are" a large quantity of people?

There is a large quantity of people.   There are a large quantity of people.      Are both correct?


Why does soap solution forms bubble but tap water does not?

The surface tension of water reduces on addition of soap to it. Then why does normal water not form bubbles but soap does even with less surface tension?


According to relative mass effect predicted by Einstein's relativity theory, the mass of an object increases with increase in it velocity given by the equation   $$ M = \frac{M_0}{\sqrt{(1 - v^2 / c^2)}}.  $$  This is also one of the reason why an object can never attain the speed of light. This phenomena has also been experimentally observed in particle accelerators.  My question is, with increase in mass of the objet say at 98% speed of light, will their be an increase in its gravitational strength or Field around the object? If so, has this been experimentally observed and confirmed?


Let $A$ be a Banach algebra we khow that      If $ab=ba$ then  $e^{a+b}=e^{a}e^{b}$    my question is      Does $e^{a+b}=e^{a}e^{b}$ implies that   $ab=ba$?   Any comment or response is appreciated.


Illustrator: how to scale strokes proportionally when resizing?

I am working on a logo design project and stuck at a place. I have used some strokes in logo so problem is, strokes size isn't changing when I am resizing an object.     Stroke size is 3pt and when I am decreasing size of object with stroke then stroke's size is still 3pt so it is looking bold when decreasing size and thick when increasing size.   What I want is when I resize an object's size, stroke's size must be changed with object.   How can I do this?  Thanks in advance


Too broad - pro/cons, who's interests does the rule serve?

I remember reading old-seasoned advise about posting questions on discussion groups -  use we search before posting.  And I agree with the pro of the rule is that valuable experts time is saved.     On the downside,  a person is pushed to use non-peer-reviewed sources,  not e.g. Stackoverflow.com,  which Is kind of peer-reviewed.    Why not make stackoverflow.com single point of knowledge,  to use pro and diminish con by say feature to flag question as broad for those who consider it important,  but allow it to be valid?     Added:     for those who believe meta site is not for discussions,  look at tags!   I searched meta for questions on too-broad: found only about how to apply the rule,  not reasons for the rule.


If a power supply supplies 3 amps, does this mean that 3 amps are always in the circuit, regardless of load?

If I have a power supply that says +5.0V/3.0A, does that mean that it can go up to 3 amps or does that mean it always has 3 amps in the circuit all the time?  If I need something that takes 500mA, and I connect it to a breadboard, proto board, or PCB, will it only pull the 500mA?


how to format the details in a text file using unix

This is the input file with "comma" delimiter.  $ cat dine_final.txt FILENAME,FILESIZE,FILECOUNT bur_m2_j12_re_yyyymmdd.dat,1235,1254 bur_m2_j13_re_yyyymmdd.dat,125,12546825 bur_m2_j14_re_yyyymmdd.dat,12565652425,125856 bur_m2_j35_re_yyyymmdd.dat,125,12 bur_m2_j40_re_yyyymmdd.dat,123542,1254 macys_unified_RE_prod_yyyymmdd.dat,12354,1254   I want the output with the good looking format. all the fields under "FILENAME" should start with exact same beginning, "FILESIZE" should start with same field, "FILECOUNT" should start with same field.  FILENAME                                FILESIZE        FILECOUNT bur_m2_j12_re_yyyymmdd.dat              1235            1254 bur_m2_j13_re_yyyymmdd.dat              125             12546825 bur_m2_j14_re_yyyymmdd.dat              12565652425     125856 bur_m2_j35_re_yyyymmdd.dat              125             12 bur_m2_j40_re_yyyymmdd.dat              123542          1254 macys_unified_RE_prod_yyyymmdd.dat      12354           1254


Show that there are exactly $\aleph_1$ nonisomorphic countable well orderings. I used the continuum hypothesis to show that $2^{\aleph_0} = \aleph_1$ and then i applied $|\mathbb{R}| = 2^{\aleph_0}$ to get $|\mathbb{R}| = \aleph_1$. Then $\aleph_1$ is equal to the cardinality of all real numbers. As $\aleph_1$ is equal to $\omega_1$ and $\omega_1$ is a well ordered set, so is $\aleph_1$. Then I assumed that $\aleph_1$ is a countable well ordering with the cardinality $|\mathbb{R}|$. My teacher told me that I shall not use the continuum hypothesis here, because it was not told to use it. I am not sure if I have done anything correct, any help would be appreciated, thanks!


Prove that the maximum of $n$ independent standard normal random variables, is asymptotically equivalent to $\sqrt{2\log n}$ almost surely.

Lets $(X_n)_{n\in\mathbb{N}}$ be an iid sequence of standard normal random variables. Define $$M_n=\max_{1\leq i\leq n} X_i.$$ Prove that $$\lim_{n\rightarrow\infty} \frac{M_n}{\sqrt{2\log n}}=1\quad\text{a.s.}$$  I used the fact that $$\left(\frac{1}{x}-\frac{1}{x^3}\right)e^{-\frac{x^2}{2}}\leq\mathbb P(X_n>x)\leq \frac{1}{x}e^{-\frac{x^2}{2}},$$  and the Borel Cantelli lemmas to prove that   $$\limsup_{n\rightarrow\infty} \frac{X_n}{\sqrt{2\log n}}=1\quad\text{a.s.}$$  I used Davide Giraudo's comment to show $$\limsup_n \frac{M_n}{\sqrt{2\log n}}=1\quad \text{a.s.}$$  I have no idea how to compute the $\liminf$. Borel-Cantelli give us tools to compute the $\limsup$ of sets, I am unsure of how to argue almost sure convergence. Any help would be appreciated.


Achievement icon does not work when new reputation

The achievement icon works when there is no new reputation. But when new reputation comes it does not work.    App Version: 1.6.2.5 Device: iPhone 5s (Global) OS Version: Version 10.2 (Build 14C92)


How do I identify all super users in SQL Server?

For a security audit,I need to identify all super users and log every activity performed. Best approach for this?  By "super user" I mean sysadmin, serveradmin, securityadmin, processadmin, and dbcreator.


If someone has  it means they've misunderstood something.  If they've got  it means they've got a bad deal in some bargain or share-out. This doesn't seem particularly close to the wrong end meaning - so unless someone convinces me different, I'm not inclined to think these idioms share a common origin.  Does anyone know where either or both of these expressions come from?


Proving $\sum_{k=0}^{2m}(-1)^k{\binom{2m}{k}}^3=(-1)^m\binom{2m}{m}\binom{3m}{m}$ (Dixon's identity)

I found the following formula in a book without any proof:  $$\sum_{k=0}^{2m}(-1)^k{\binom{2m}{k}}^3=(-1)^m\binom{2m}{m}\binom{3m}{m}.$$  I don't know how to prove this at all. Could you show me how to prove this? Or If you have any helpful information, please teach me. I need your help.  Update : I .


How did the Goa'uld Raiding team return in the beginning of the pilot?

At the very beginning of SG1, the Goa'uld invade Earth, and then return somehow. How did they manage to return? There was no DHD, and somehow they didn't let it be known where they were going, IE, there was no log of the return. This seems a bit odd to me...


Describe the units in $\mathbb{Z}[\sqrt{-d}]$

I need help describing all the units in the ring $\mathbb{Z}[\sqrt{-d}]=\{a+b\sqrt{-d}|a,b\in\mathbb{Z}\}$ where $d>0$ and is square-free.  Thanks.


I have text file DollarToPound.txt with some Dollar signs ($) please provide a shell script to replace dollar symbol with Pound(£) with sed command.  iam getting command garbled error!!!  please help. Operating system used-- solaris 10


True rigorous meaning of dx symbol in general?

From , from words_that_end_in_GRY's answer.  From elementary calculus, I always thought $\int^{}$ and $dx$ were just a kind of "command" button to integrate something between the two, rather than a genuine mathematical object.   (I don't mean this is widely accepted definition of the terms, but by "mathematical object" I mean anything that can be subject to mathematical operation. By "command button" I mean symbol for operation of some kind. In "2+2=4" 2 and 4 will be mathematical objects and + and = will be command button.)  That understanding caused no trouble in elementary calculus like  $\int^{} \mathbf f(x) \mathbf {dx}$.  But it starts to confuse me when things like  $g(\mathbf r) = \int^{\mathbf r} \mathbf F(\mathbf r')\cdot \mathbf {dr'}+c$.  comes up. dot product! $dr'$ is being dot producted! Then clearly it sounds like $$dr'$ is some genuine mathematical object.  I remember I felt similar confusion in differential equation course and many others.  In short, what's the true rigorous meaning of dx symbol in general (possibly multivariate) setting?


Annoying dog stole the artifact! How do I get it back

So I was about to go to undine but then there was a statue!       I gave the statue an umbrella and it started to play a song and gave me music directions... So I go to the piano in the other room and play the notes it gave me, and a door opens!    But when I go to collect the artifact it says I have "Too many dog" when I drop the dog it takes my artifact!   How do I get it back? Or is it used for a later battle? I also searched Google and Arqade part of SE.


Does street photography including children introduce any specific concern?

If one were to take a similar path as  in shooting candid street photography today, should they be concerned about laws or other realistic norms of today? I am wondering specifically in the US speaking broadly of all states. I am not looking for legal advice, but anything that one photographer to another would caution against as potentially being grey or obviously illegal.  Similar previous question:


What advantage is there to staying in the air?

There are some sections of tracks that allow you to deploy your hang glider or parachute.  This allows you to glide in relative safety until you hit the track again.  But you can also hit forward or back on the control stick to tilt down or up, respectively.  Is there an advantage to staying in the air?  Or does heading back down towards the track give you more speed than just gliding along?


If the quotient group $G/N$ be isomorphic to $G_2$, is $G$ isomorphic to $G_1\times G_2$ where $N$ is isomorphic to $G_1$?

Respected all  Please help me on this problem.   Suppose that $G$ is given group and $N$ be a normal subgroup of $G$ and $N$ is isomorphic to $G_1$ as groups. If $G/N$ is isomorphic to the group $G_2$, can we establish that $G$ is isomorphic to the group $G_1\times G_2$ ?


In League of Legends does Dorans Blade work with Pantheons Spear Shot

Dorans blade has 3% lifesteal, if i am carrying it and throwing my spear (Q ability) am I getting the 3% lifesteal with every hit?


How can I prove the Theorem of Frullani? I did not even know all the hypothesis that $f$ must satisfy, but I think that this are  Let $\,f:\left[ {0,\infty } \right) \to \mathbb R$ be a a continuously differentiable function such that $$ \mathop {\lim }\limits_{x \to \infty } f\left( x \right) = 0, $$ and let $ a,b \in \left( {0,\infty } \right)$. Prove that $$ \int\limits_0^{\infty}  {\frac{{f\left( {ax} \right) - f\left( {bx} \right)}} {x}}dx  = f\left( 0 \right)\left[ {\ln \frac{b} {a}} \right] $$  If you know a more general version please give it to me )= I can´t prove it.


I am writing this sentence:     I can put you in touch with a business owner in the UK   I'm not sure if I should put "the" for UK or not  Could you help please


Proving that:$\int_X f_n g \, d\mu \to \int_X fg \, d\mu$ for all $g$ in $\mathscr{L}^q (X)$

I found  the following exercise and I'd like to know if my answer is correct.      Let $(X, \mathscr A, \mu)$ a finite measure space. Let $\{f_n\}$ a sequence of measurable functions such that $\|f_n\|_p\le M$ for a real constant $M$ $(1<p<\infty)$ and suppose that $f_n \xrightarrow{\text{a.e.}} f$. Then $$\int_X f_n g \,d\mu \to \int_X fg \,d\mu$$ for all $g$ in $\mathscr{L}^q (X)$, where $q^{-1}=1- p^{-1}$.   Since $\int |f_n|^p \,d\mu\le M^p $ by Fatou's lemma it follows that $\int |f|^p \,d\mu\le M^p<\infty$, so $f$ belongs to $\mathscr{L}^p (X)$. Let $g$ in $\mathscr{L}^q$ arbitrary but fixed.   Then by Hölder inequality it follows that $$\|f_n g\|_1 \le \|f_n\|_p\|g\|_q\le M \|g\|_q<\infty$$ and $$\|f g\|_1 \le \|f\|_p\|g\|_q \le M \|g\|_q<\infty$$ thus $f_n g$ and $fg$ belongs to $\mathscr L ^1(X)$. Now since $g$ is in $\mathscr L ^q (X)$, then $g$ is finite a.e.,without loss of generality we may assume that $g$ is real-valued so $f_n g \xrightarrow{ a.e} fg$.   Let $\nu (A) =  \int_A |g|^q \,d\mu $, so $\nu $ is absolutely continuous with respect to $\mu$, also $\nu$ is a finite measure on $(X, \mathscr A )$. We can use the $\epsilon-\delta$ definition of absolutely continuous, so given $\epsilon>0$ there is a $\delta>0$ such that for $\mu(A)<\delta$ then $\nu (A) <\epsilon^q$ for any $A$ in $\mathscr A$.   Now by Egoroff's thm exists a $B$ in $\mathscr A$ such that $(f_ng) (x)\xrightarrow{\text{uniformly}} (fg) (x)$ for $x$ in $B$ and $\mu(X\setminus B) <\delta$. Let $N$ such that for all $n\ge N$, $|(f_ng)(x)-(fg)(x)|<\epsilon$ for all $x\in B$. Thus   \begin{align*}\left |\int_X (f_n-f) g \, d\mu \right|&\le \int_B |f_ng-fg| \, d\mu +\int_{X-B}|f_n g|\, d\mu +\int_{X-B}|fg|\,d\mu \\[6pt] &\le \int_B |f_ng-fg| d\mu + 2M \left( \int_{X-B}|g|^qd\mu \right)^{1/q}\\[6pt] &\le\epsilon \mu(X)+2M  (\nu(X\setminus B))^{1/q}\\[6pt] &\le \epsilon (\mu(X)+2M)\end{align*}  Since $\mu(x)<\infty$ and $M<\infty$ the result follows.


UI: change the upvote button after I've upvoted

When you upvote answers on the web version, the up arrow becomes orange (or some variation on other sites) to show that you've already voted. Here, it does not happen, so I have no indication that I've already voted. The arrow looks exactly the same as before I voted. This often makes me think I haven't voted, so I vote again, and get the error banner. This is frustrating and has happened many times. Please make the voting arrows indicate that you've voted.


How to generate a shapefile with UTM Grid precision level 100 m

Does anybody know, if I can download from somewhere UTM Grid for zones 33 to 35 and U belt (for Poland) in shpfile or different format I can convert to shp. I need precision level 100 m. Is it possible to generate it in some GIS software?


There's a small detail in a proof of the Chinese Remainder Theorem for modules I don't understand when it comes to showing the normally constructed homomorphism is a surjection.     Suppose $R$ is a commutative unital ring, with $I_1,\dots,I_k$ pairwise comaximal ideals. How then for any $j$ can I find $r\in R$ such that $r\equiv 1\pmod{I_j}$ but $r\equiv 0\pmod{I_i}$ for $i\neq j$?    Thank you!


how to interface RS-422 to UART on my MCU?

I'm trying to interface RS-422 data to the UART on my MCU (TM4C1294ncpdt) to send it through its ethernet interface.  Can anyone help me with how to convert the RS-422 differential signal to be read by the UART?  circuit schematic or what components do i need to do this?


Accurately cut video files from command line

I'm having trouble finding a cli application that can take a video file (avi, mkv, and mp4 preferably) and cut out very short clips (2-6 seconds) with precision time accuracy. I've tried ffmpeg, mencoder, avidemux, and mp4box but they all cut on keyframes which creates 6+ second clips. Is there a tool that will re-encode the input file and cut the accurate time or cut inaccurately, re-encode, and then cut accurately?


Still unsure as to why this integer remains unmodified

I am learning about References and Datatypes in Java and this particular code is still confusing me. I understand that all of the primitive types in Java are value types (byte, short, int, long, float, double, boolean, char), and when you're using a string or an object it's a reference type. When I was taught to declare and initialize a variable, I was told to think of it like creating a box. So if I create a variable "y" and give it a value of "5" it's like I've created a box called "y" that contained the value of 5. My teacher said that if I then try to call y in a method (check out the code below for more detail) the value will remain untouched because it's a primitive datatype so I'm only passing in 5, not the variable that CONTAINS 5. Well I'm confused because if I'm passing in the value of 5, why wouldn't the following method add one onto it.  public class ReferenceAndValueTypes {     public static void main(String[] args) {          int y = 5;         addOneTo(y);          System.out.println(y);      }       static void addOneTo(int number){         number = number + 1;     } }   The output is 5 and that confuses me greatly. The teacher says it's because int is a value type so we're not passing the y variable in, and we're not operating on that variable but rather the value of that variable. However, the value of that variable is 5 and since the method adds one, shouldn't it be 6? Or, is it because y is a value type, the method cannot work with it so it just has to print out the initial value of y which was 5?


I am unclear on this: Are WUBI Installations actually supported on Ubuntu 14.04?

I am unclear on this: Are WUBI Installations supported on Ubuntu 14.04? Yes; I know it is on the disk, but I find myself confused why it was put back on there, and questioning whether this was an accident or not. After it was taken off of 13.04, I worked under the assumption that it reached end of life, and that people hence forth should be advised to not use it as a tool.  Is there any official explanation?


What do you call this part of old windows?

What is the hinged wood covering on old windows called? Is there a proper name for it?


Dynamically set Connected App Callback URL

I am trying to dynamically update the callback url in a connected app.   When creating a sandbox, I want to run an apex class that change the callback URL from a production to UAT callback endpoint.   I am assuming that I would place this in the implements SandboxPostCopy apex class where I am updating other custom settings to point to lower environments when the sandbox is done copying.   Is there anyway to have the Callback URL in a connected app be dynamic by referencing a custom setting with {!$Setup.myCustomerSetting__c.activeCallBackUrl__c}? Is there any other way to do this dynamically?


What is the default password for system changes in 16.04 desktop?

I'm a newbie. Just installed Ubuntu 16.04 desktop onto my HP laptop. I need a password to make any changes to system settings. Is there a default password? If so what is it?


Cartesian Product of Two Countable Sets is Countable

How can I prove that the Cartesian product of two countable sets is also countable?


Does SSO login works with Data Loader CLI?

For security reasons we are establishing SSO login to the entire org but we are facing an issue coming to Data loader CLI users. In CLI the username and password are provided in the process-conf files, how can SSO be enabled and used for the Data Loader CLI users without providing the Username and password in the conf files? Thanks in advance.


Avoid large spaces between text and equations

I use the options  \renewcommand{\baselinestretch}{1.25} \setlength{\parskip}{0pt} \setlength{\parindent}{0pt}    in the preamble of my document and most of the time the document looks like intended. Once in a while though, especially when I use multiline-equations, I get huge spaces right before and after the equation and the surrounding text, for example:    Is there any way I can avoid that without removing the \parskip option?


Cycles viewport render different than f12 render?

What could cause this? f12:    Viewport:    (the f12 has fewer samples, but even when the viewport is at lower samples it looks different..)  I know about color management, but that is at the defaults..    EDIT: oops.. I know 'log' is not a default, but that is because I was fiddling with it. The image above is rendered with 'default'    The material is quite simple, only a translucent shader. (for testing) I even tried appending everything into a new file to reset all the settings, but no difference.  EDIT2: Uploaded blend


Good reference book for linear statistical models?

My Ph.D. training is mostly in applied mathematics. I'm interested in learning materials of linear statistical models, especially their applications in data science or statistical machine learning. Is there a good reference book to start with?


Could stack exchange integrate simple image editor?

It would be nice to have simple image editor when posting something.   This would be particularly useful on sites like "Ask Different" or "Physics" where the person that is answering would like to point something on the image, or screenshot.


How to prove that $\ell^p \setminus \cup_{1\leq q <p}\ell^q$ is not empty?  Here $\ell^p=L^p(\mathbb{N})$.


Please add a favourite option on feeds. Most of them are helpful but would it be cool if I can get back to feeds I favourite to cross check?


How do the authors deduce this weaker version of Transfinite Recursion?

My question is about a proof of Theorem 4.12 given in the text Introduction to Set Theory by Hrbacek and Jech. The authors first prove Theorems 4.9, 4.10, and 4.11. For reference, I quote these theorems below.   Let $V$ be the class of all sets, $\operatorname{Ord}$ be the class of all ordinals, and $G:V\to V$ be a class function.  Theorem 4.9: Transfinite Recursion Theorem  There exists a class function $F:\operatorname{Ord}\to V$ such that $F(\alpha)=G(F\restriction \alpha)$ for all $\alpha\in\operatorname{Ord}$.  Theorem 4.10: Transfinite Recursion Theorem, Parametric Version  There exists a class function $F:\operatorname{Ord}\to V$ such that $F(z,\alpha)=G(z,F_z\restriction \alpha)$ for all $\alpha\in\operatorname{Ord}$ and $z\in V$ where $F_z\restriction \alpha:=\{\langle\beta,F(z,\beta)\rangle\mid\beta<\alpha\}$.  Theorem 4.11:  Let $G_1,G_2,G_3$ be class functions from $V$ to $V$. There exists a class function $F:\operatorname{Ord}\to V$ such that (1) $F(0)=G_1(\emptyset)$ (2) $F(\alpha+1)=G_2(F(\alpha))$ for all $\alpha\in\operatorname{Ord}$ (3) $F(\alpha)=G_3(F\restriction\alpha)$ for all limit $\alpha\neq 0$   Then they say A parametric version of Theorem 4.11 is straightforward and we leave it to the reader. From my attempt, the parametric version of Theorem 4.11 is as follows (Honestly, I'm not sure if my attempt is correct or not)  Let $G_1,G_2,G_3$ be class functions from $V$ to $V$. There exists a class function $F$ such that, for all $z\in V$ $F(z,0)=G_1(z,\emptyset)$ $F(z,\alpha+1)=G_2(z,F_z(\alpha))$ for all $\alpha\in\operatorname{Ord}$ $F(z,\alpha)=G_3(z,F_z\restriction\alpha)$ for all limit $\alpha\neq 0$  Next they make use of this parametric version of Theorem 4.11 in the proof of Theorem 4.12. Theorem 4.12:  For any set $a$, there is a unique infinite sequence $(f_n\mid n\in \Bbb N)$ such that (1) $f_0=a$ (2) $f_{n+1}=G(f_n,n)$ for all $n\in \Bbb N$  The proof for Theorem 4.12 given in the text is as follows:  Let $G:V\to V$ be a class function. We want to find, for every set $a$, a sequence $(f_n\mid n\in \Bbb N)$ such that $f_0=a$ and $f_{n+1}=G(f_n,n)$ for all $n\in \Bbb N$. By the parametric version of the Transfinite Recursion Theorem 4.11, there is class function $F$ such that $F(0)=a$ and $F(n+1)=G(F(n),n)$ for all $n\in \Bbb N$. Now we apply the Axiom of Replacement: There exists a sequence $(f_n\mid n\in \Bbb N)$ that is equal to $F\restriction \omega$ and the Theorem follows.   I don't understand how the parametric version of Theorem 4.11 is used to derive the class function $F$ in the proof of Theorem 4.12. Can someone please help me fill in the blanks?


Derivation of Euler-Lagrange equations from Newton's second law

I was thinking about this for some time and I wanted to clarify my question. Can the Euler-Lagrange equation be somehow derived from Newton's second law? Here's a possible way to do it: We start with Newton's second law for a non-relativistic point particle of mass $m$ under a conservative force, $m \frac{\mathrm{d}^2 \vec{r}}{\mathrm{d} t^2}=-\nabla U$. Converting this to index notation and choosing a Cartesian coordinate system, we have $$m \frac{\mathrm{d}^2 x^i}{\mathrm{d} t^2}=-\frac{\partial U}{\partial x_i}=\frac{\mathrm{d} p^i}{\mathrm{d} t},$$ where $i \in \{1,2,3\}$ and $p^i=m\dot{x}^i$. Now define the quantity $T=\frac{1}{2}m\dot{x}^j\dot{x}_j$ (kinetic energy), and Einstein summation convention is used here. It is easy to see that $$p^i=\frac{\partial T}{\partial \dot{x}_i}=m\dot{x}^i.$$ Substituting this result into Newton's second law we obtain the relation $$\frac{\mathrm{d}}{\mathrm{d} t} \frac{\partial T}{\partial \dot{x}^i}=-\frac{\partial U}{\partial x^i}.$$ Now, defining the function $L=T-U$, and since $\frac{\partial U}{\partial \dot{x}^i}=0$ and $\frac{\partial T}{\partial x^i}=0$, we arrive at the celebrated equation $$\frac{\mathrm{d}}{\mathrm{d} t} \frac{\partial L}{\partial \dot{x}^i}=\frac{\partial L}{\partial x^i}.$$ Now, is this derivation valid? Can it be shown from this to be valid for all holonomic systems?


Shapely/Pyproj converts all polygon coordinates to inf

After some libraries got updated, I can't convert a polygon between CRS in shapely/pyproj. Everything seems to be done according to .  Pyproj version 2.4.2.post1, Shapely version 1.7.0  Here's the test code:  from shapely.ops import transform as transform_ from shapely.wkt import loads import pyproj from functools import partial print(pyproj.__version__) obj = loads('POLYGON ((101.6862738336452 3.1597141052896, 101.6862738336452 3.176801618144858, 101.6706701928565 3.176801618144858, 101.6706701928565 3.1597141052896, 101.6862738336452 3.1597141052896))') crs_from = pyproj.CRS.from_string('epsg:4326') print(repr(crs_from), crs_from.__class__)  crs_to = pyproj.CRS.from_string('epsg:3857') print(repr(crs_to), crs_to.__class__)  print(obj.__class__) print(obj.wkt) print(transform_(partial(pyproj.transform, crs_from, crs_to), obj).wkt)   Output:  $ python3 /tmp/crs.py  2.4.2.post1 <Geographic 2D CRS: EPSG:4326> Name: WGS 84 Axis Info [ellipsoidal]: - Lat[north]: Geodetic latitude (degree) - Lon[east]: Geodetic longitude (degree) Area of Use: - name: World - bounds: (-180.0, -90.0, 180.0, 90.0) Datum: World Geodetic System 1984 - Ellipsoid: WGS 84 - Prime Meridian: Greenwich  <class 'pyproj.crs.CRS'> <Projected CRS: EPSG:3857> Name: WGS 84 / Pseudo-Mercator Axis Info [cartesian]: - X[east]: Easting (metre) - Y[north]: Northing (metre) Area of Use: - name: World - 85°S to 85°N - bounds: (-180.0, -85.06, 180.0, 85.06) Coordinate Operation: - name: Popular Visualisation Pseudo-Mercator - method: Popular Visualisation Pseudo Mercator Datum: World Geodetic System 1984 - Ellipsoid: WGS 84 - Prime Meridian: Greenwich  <class 'pyproj.crs.CRS'> <class 'shapely.geometry.polygon.Polygon'> POLYGON ((101.6862738336452 3.1597141052896, 101.6862738336452 3.176801618144858, 101.6706701928565 3.176801618144858, 101.6706701928565 3.1597141052896, 101.6862738336452 3.1597141052896)) POLYGON ((inf inf, inf inf, inf inf, inf inf, inf inf))   After changing the code to use pyproj.Transformer... still getting the same results.


Automatically suspend accounts recreated after a moderator deleted the original

A common scenario we run into on Stack Overflow is that we have a troll, spammer, or obvious sock puppet of another user and moderators decide to delete this user. We go on about our business only to find out an hour or two later that the account we just deleted has been recreated, using the same credentials, and is now back to trolling, spamming, or committing voting fraud once again.  I've seen some people recreate an account like this using the same credentials four or five times (multiple times in the last week, in fact). The only thing that stops them is if we remember to suspend the account for right before we destroy it. Accounts recreated using the same credentials as an account that was suspended will be locked into the same suspension the old account was serving.  In particular, this becomes a real problem with sock puppet accounts that have a network association reputation bonus attached to them, because the recreated accounts keep getting that 100 point bonus and can immediately be used for voting fraud, to troll chat, or to spam comments. I've had to deal with quite a few puppet accounts like this by suspending them for a year before deletion.  I propose that all moderator-deleted accounts behave as if they were suspended for a year upon deletion, so that recreating these accounts using the same credentials will cause the new account to be locked in a one-year suspension. This would prevent the new accounts from being used to abuse the site in the same manner as their old account did.  This won't put an end to people creating new spam, troll, or puppet accounts after we delete them, but it will at least slow them down by forcing them to create new login credentials each time. It also would curb abuse of account association bonuses by puppets.


How to quickly visualize polyline direction?

I am wondering if there is a quick method with arcgis desktop to view the edited direction of a large group of polylines?  I'm essentially wondering if anyone knows of a way to achieve the Editor > Construct Parallel view of one line, but instead for groups of lines?  ArcGIS v10.1 ArcInfo License  Apologies if this question has already been asked, agreed it is a bonehead question. All the best!


Evaluate the integral $\int_0^n \frac{f(x)}{f(x) + f(n-x)}dx $

I found this problem on an old FB post and have just been humbled by it.  Let $f(x)$ be continuous on $[0,n]$ such that $n > 0$ and $f(x) + f(n - x)$ does not vanish on $[0,n]$ then evaluate  $$ \int_0^n \frac{f(x)}{f(x) + f(n-x)}dx $$  Any clues/hints would be appreciated.


Can't boot Ubuntu 16.04.2 LTS after installing it

I have a UEFI windows 10 machine an I'm trying to dual boot ubuntu. At first I got the error: "grub-efi-amd64-signed failed to install into /target/. Without GRUB boot loader, the installed system will not boot". But I solved that by making a 100MB EFI partition and Ubuntu finished its installation.  Now I don't see a boot menu; I can't use EasyBCD to add Ubuntu to the boot menu; I don't see any options in msconfig menu. And boot-repair did nothing for me!  boot-info:   I don't know if it is relevant, but originally I installed windows in legacy and than converted to UEFI using this


Is there any macro or package known to shade equations in math mode like the image below?    I achieved this by using  in PowerPoint 2010, and then shade the text box as usual. I could use snipping tool and take snips of the formulae from PowerPoint, but I would like to make this by LaTeX directly, if possible. Is there any way to do it?


Derivable function on an interval $ [a,b]$ with derivative unbounded on $[a,b]$

I'm searching for a derivable function defined on an interval $ [a,b]$ whose derivative is not bounded on $[a,b]$.


Package operation failed when updating 12.04

Whenever I try to update 12.04, I get the "Package Operation Failed" message. I haven't been able to update my system. In the "Details" section it says:  installArchives() failed:   Extracting templates from packages: 30%% Extracting templates from packages: 61%%  Extracting templates from packages: 91%% Extracting templates from packages: 100%%  Preconfiguring packages ...  Extracting templates from packages: 30%%  Extracting templates from packages: 61%%  Extracting templates from packages: 91%%  Extracting templates from packages: 100%%  Preconfiguring packages ...  Extracting templates from packages: 30%%  Extracting templates from packages: 61%%  Extracting templates from packages: 91%%  Extracting templates from packages: 100%%  Preconfiguring packages ...  Extracting templates from packages: 30%%  Extracting templates from packages: 61%%  Extracting templates from packages: 91%%  Extracting templates from packages: 100%%  Preconfiguring packages ...   dpkg: error: parsing file '/var/lib/dpkg/available' near line 42150 package 'x11-apps':  blank line in value of field 'Description' Error in function:


Which of the spans in 1.1 is the stronger? Be assured, you are in numerous company if you pick the left one at first glance, where the struts and wires are doing nothing useful at all.   Could you please tell me what is "Be assured" here?  I mean whether it is an adverb, adjective, so on?  And, would you please show me some examples exactly like such the following, considering my original sentence?     Be assured, ...


Prove that a certain element of the commutator subgroup of $F_4$ is not a commutator

Let $F_4$ be the free group on the letters $a,b,c,d$.  I would like to prove that the element $[a,b][c,d] = aba^{-1}b^{-1}cdc^{-1}d^{-1}$ is not equal to $[x,y] = xyx^{-1}y^{-1}$ for any elements $x,y \in F_4$.


Irreducible gaussian integers with prime norm in $\mathbb{Z}$

I need to prove this  Prove that a Gauss integer $z = a +ib$, with $a \ne 0, b \ne 0$ is irreducible if and only if $a^2 + b^2$ is a prime element in ℤ.  I've already proved that $N(z)$ prime implies, $z$ irreducible element: If $N(z)$ is a prime, then $z$ is irreducible since if we write it as $z=xy$, it follows that $N(z) = N(x)N(y)$, thus either $x$ or $y$ is a unit. I'm not able to prove the converse: if z is irreducible then $N(z)$ is prime , which is no generally true, but it is for this particular case with $a \ne 0, b \ne 0$. Note The unique factorization theorem was not still introduce so far in the course and I'd like not to resort on it.


My TDS does not earn any credits while I'm not playing

My TDS does not earn any credits while I am not playing.  It worked for the first day (got $9000 the first night), but since then it doesn't change no matter how long I wait.  Also, I can't access various tabs in the options screen (e.g. can't access levels or scenes tabs in album and can't order bitizens by skill tabs).  Anyone know how to fix these issues?  I think it will require an update.


How do I create Test Data for an Org. Wide Email Address?

I need to create an Org. Wide Email address for my Test Class, and I can't seem to find documentation for this. One forum led me to believe it wasn't possible, but it wasn't clear if I was understanding it correctly. Advice?


I have this following question from my class note on Sylow Theorem:     Show that a group of order 30 can not be simple.   For that I know the followings: (1) A simple group is one that does not have non-trivial normal group,  (2) Group $G$ is p-group if there exists an integer $e$ such that $|G| = p^e,$  (3) A $p$-subgroup $H$ of $G$ is called Sylow p-subgroup of $G$ if $p \nmid |G/H|,$ and finally  (4) A subgroup $H$ of $G$ is a Sylow p-subgroup if there exist integers $e$ and $m$ such that $|G| = p^em,$ and $(e, m) = 1,$ and also $|H| = p^e,$  but unfortunately I don't know how to weave them into a solution, any help would therefore be very much appreciated. Thank you for your time and help.  PS. If you have choices of elegant versus dummy down-to-earth solutions, do please give me the latter. I know it would be tedious for you but you have a slowpoke turtle down here. Thank again for your patience.  POST SCRIPT : ~~~~~~~~~~~~~~~~~~~~~~~  I came across a very simple solution by John Beachy , consisting of only 2 lines, which I adapted to fit group order of 30:  EDIT (j.p.) Unfortunately the linked solution cannot be easily adapted to this case here. I kept the text as far it was correct.  (1) Recall Sylow's Theorem: If $|G| = p^em; p, e, m \in \mathbb Z^+; (p, m) = 1;$ the number of $Syl_p (G) = s$, then $s \equiv 1\pmod p$ and $s \mid m.$  (2) For $|G| = 5 \cdot 2 \cdot 3$, suppose that $p = 5, e = 1$ and $m = 6.$ Therefore $s \equiv 1\pmod 5 $ and $s \mid 6,$ thus $s = \{1, 6 \}$. The 5-Sylow subgroup is normal if and only if $s=1$, and in this case $G$ is not simple. (3) Now look at .  Hope this will be useful for some of you and thank you very much for those of you who have helped me.


PDFBox - pdf file page label nullpointer

i would like to ask your help..  so im accessing the page number of a PDF File through this code below  this.setfPage(Double.parseDouble(pdfl.getLabelsByPageIndices()[0]));   it works fine on all other documents except for one pdf file it gives a NullPointerException pointing on the code above.. im really confused .. is my pdf file the problem?


Update a table with data from another table

I have a Wordpress table in which I want to take the user_email from Table2 and import it to contact_email on Table1 one based off of the user_login. user_login and user_id equal the same value. Nothing I have tried has worked. Any thoughts?  Table1    user_id|contact_email |contact_name  =======================================  123     |test@test.com |deft  124     |test3@test.com|deft3     Table2 (User table)   user_login|user_email     |display_name  =======================================  123       |test@test.com  |deft  124       |test3@test.com |deft3   I have tried:          UPDATE Table1         SET contact_email = (SELECT Table2.user_email                  FROM Table2                  WHERE Table2.user_login = user_id )         WHERE EXISTS (SELECT Table2.user_email                  FROM Table2                  WHERE Table2.user_login = user_id );


Does adding RAM as being part of a set matter?

I’m currently running 6GB of RAM: 2GB x 3 sticks on a Windows 10 (64bit) on an Asus P6T SE motherboard that has 6 slots for RAM, and found some matching RAM online the other day for cheap.  The speed, size, everything matches what I have now. The only difference is the sets I found are 2 sets of 2GB x 2 instead of 2GB x 3. Will this matter?  I’m only planning on installing 3 sticks and they are the same as my existing sticks other than this.


Factory reset an iPad without knowing the iCloud password?

Is there a way to reset a iPad or return it to factory settings if you don't know the iCloud password?


how can i find out what email is linked to my steam account

the steam guard email isn't going to any of the emails that I have and I don't know what email address it is going to


Virtual functions along with inheritance

Am learning CPP and in the below code snippet, I am expecting 40 as the answer, but getting 30. Can anyone please help to identify what am I doing wrong.  The program may not make sense, but its just for learning.  class Shape {  protected:     int shape = 10; public:      int get() {         return shape;     }     virtual void process() {         shape = 30;     } };  class Rectangle : public Shape {  public:     void process() {         shape = 40;     }  };   class Object : Shape {      Shape m_sh; public:     Object(Shape &sh) {         m_sh = sh;         m_sh.process();     }      int getShape() {         return m_sh.get();     }  };  int main(int argc, char *argv[]) {      Rectangle rect;     Object obj1 = Object(rect);      std::cout << obj1.getShape() << std::endl; // am expecting 40, but getting 30.  }


What can I do to improve a business-oriented network that only has access to 3 6Mb/1.5Mb lines with 15-30 clients?

I work at an e-commerce based business in a 16k warehouse. The only available ISP solution is AT&T, with each 6Mb/1.5Mb line costing $50 and fiber optic being an option for $800/mo at 20Mb/20Mb.  Around 15 clients are wired throughout the offices, and another 10 or so exist wirelessly.  I know very little about the stack as it was setup before I arrived, but I am very aware of the real problem we have: it's slow. I don't know if it is download (SpeedTest shows 18Mb down), upload (I was told you can only combine download speeds, not uploading speeds, so SpeedTest shows 1.5Mb) or latency (SpeedTest does not show anything abnormal).  We are using a PepLink to load balance the 3 lines into one solution, but I fear it may be set up incorrectly. I don't know how else to explain why the lag that exists is randomly occurring.  What are common solutions here?


Dual Citizen US/British with only British passport

I am a US citizen and cant get my US passport just yet but have a British passport.  I need to leave the US what options do I have for getting back into the US


Can you derive the exponential property $ [f(x+y) = f(x)\cdot f(y)]$ from $y' = y$?

There are a variety of different ways to define the natural exponential function, but the definition that feels the most conceptually elegant to me is to define it as the function that is its own derivative, and that $\text{exp}(0)=1$. I am currently trying to figure out if it is possible to derive all the properties of $e^x$/$\text{exp}(x)$ merely from this fact. In addition, I have defined the natural logarithm to simply be the inverse of $\text{exp}(x)$, which was enough to determine that the derivative of $\ln{x}$ is $\frac{1}{x}$. I have been trying in vain to prove from this definition that $\forall{k}\in\mathbb{R},\text{exp}(x+k)=\text{exp}(x)\space\cdot\space\text{exp}(k)$.


I have installed Linux on my Windows 8.1 laptop. Can I upgrade to Windows 10?

My laptop is running on Windows 8.1 and a year before I installed Ubuntu Linux. If I try to upgrade to Windows 10, there will be a problem or not, because of Liniux?


Reset ubuntu 19.10 to factory default values

I am trying to reset ubuntu 19.10 to factory default values. I tried  but I think it doesn't work for ubuntu 19.10


Don't exclude results that have punctuation just because the query doesn't

The new search function allows quoted queries that include punctuation, and this is fantastic, most of the time. However, the search considers the punctuation as part of the word itself, so searches for "a test" will not show results containing a test,, a test., or a test?. The reverse is also true.  Is this the intended behavior ? <--(space added so that behavior will show in results.)  It seems that the logical way to do fix this (while maintaining character search) is for queries with punctuation to match results with punctuation, while queries without punctuation to match either with and without.    Example:  vs     A more practical example is described in Arjan's answer below.


I am trying to use notepad++ and regular expressions to edit a document. I have text in this format  123.45607894.165@abcd;aba 23.456@av1;084 9871.001@fab:9782581afa   And I need to get only the first part of the line , the one before the @ sign. How would I do that to get this:  123.45607894.165 23.456 9871.001


Can I fetch the value of a non-standard CSS property via Javascript?

I am trying to read a custom (non-standard) CSS property, set in a stylesheet (not the inline style attribute) and get its value. Take this CSS for example:  #someElement {   foo: 'bar'; }   I have managed to get its value with the currentStyle property in IE7:  var element = document.getElementById('someElement'); var val = element.currentStyle.foo;   But currentStyle is MS-specific. So I tried getComputedStyle() in Firefox 3 and Safari 3:  var val = getComputedStyle(element,null).foo;   ...and it returns undefined. Does anyone know a cross-browser way of retreiving a custom CSS property value?  (As you might have noticed, this isn't valid CSS. But it should work as long as the value follows the correct syntax. A better property name would be "-myNameSpace-foo" or something.)


Edit Mode buttons for selecting vertices and edges vanished

When I am in Edit Mode for my project, the Mesh Select Mode buttons have disappeared!  I loaded the default project and the buttons are where they are supposed to be; the issue is only in my project.


Array of arrays error when processing inputs in python

I am trying to get the values as they are input to determine the coordinate on which to change a string. However, instead of happening sequentially from first inner array to the next, both are changing. I cannot seem to catch the bug. Here is the code:  def read_inputs():     size = input()     boats = input()     boards = make_boards(int(size))     get_boats(int(boats), boards)     show_boards(int(size), boards)  def make_boards(size):     board1 = []     board2 = []     for i in range(size):         curr_row = []         for j in range(size):             curr_row.append('-')         board1.append(curr_row)         board2.append(curr_row)     return [board1, board2]  def show_boards(size, boards):     board1 = boards[0]     board2 = boards[1]     for i in range(size):         curr_str1 = ''         curr_str2 = ''         for j in range(size):             curr_str1+=board1[i][j]             curr_str2+=board2[i][j]         print(curr_str1+' '+curr_str2)  def get_boats(boats, boards):     size =len(boards[0][0])     for i in range(boats*2):         boat_str = input()         boat_arr = boat_str.split(' ')         x=int(boat_arr[0])         y=int(boat_arr[1])         n=int(boat_arr[2])         orient=int(boat_arr[3])         if y+n>=size:             n = size         if orient==0:             for j in range(n):                 boards[i%2][x][y+j]='B'         else:             for j in range(n):                 boards[i%2][x+j][y]='B'         print(boards)  def main():     read_inputs()  main()   Given the inputs  4 1 0 0 2 0 1 1 1 1   the output should be  BB-- ---- ---- -B-- ---- ---- ---- ----   But instead getting  BB-- BB-- -B-- -B-- ---- ---- ---- ----


How do I get my IP address from the command line?

I'm using Debian 8.  How do I get my external IP address from a command line?  I thought the below command would do the job ...  myuser@myserver:~ $ /sbin/ifconfig $1 | grep "inet\|inet6" | awk -F' ' '{print $2}' | awk '{print $1}' addr:192.168.0.114 addr: addr:127.0.0.1 addr:   but as you can see, it is only revealing the IP address of the machine in the LAN.  I'm interested in knowing its IP for the whole world.