I am about to use a recently viewed tv recipe for Rhubarb ketchup. Official ingredients include white wine vinegar but does say any vinegar 'will do'. I have some cider vinegar, will this dramatically alter the flavour or sweetness? Might I have to alter sugar quantity?


I need to debug an issue and don't know how to start.  If I'm logged in the cart works just fine but, if I log out and put something in my cart I see the object in the cart widget but not my cart page.    And this is the markup in the page.    I need a hint to understand where to start searching the issue because the cart page permission and the view permission I think are fine because I see them, but the content is wrong..    If I go in admin/structure/views/view/commerce_cart_form/edit page and I insert the order ID, I can see the right cart displayed in the right way..   Where can I start to debug this?  Do you have a clue to where can the bug be?  I tried to put a couple of prints in the view header and the cart page remains blank. But why is the empty cart sentence not displayed if the order_id is empty? And why 2 different carts views in the same page act so differently?


Set permissions for control panel settings

I have a windows 2008 server i am setting up with active directory, but i cant seem to figure out how to restrict certain settings in the control panel for an account on a computer on the domain. I have searched google, but the did not seem to help.


With iptables, match packets arrived via IPSEC tunnel

I'm using IPSEC in a tunnel mode.  How to make an iptables rule that will match only packets which arrived via IPSEC tunnel (i.e. after IPSEC decrypted them - not the IPSEC packets when they arrive and before decryption).   The point is to have a certain port which will be accessible only via IPSEC and inaccessible to the rest of the world.


I was voting on a question but I was just spamming the vote (on and off) just to see if there was a bug. Actually there is. After spamming the vote on and off for about 10 seconds, stop and watch the score change like crazy (not due to someone else doing the same thing). When the craziness stops, the score will return to normal.   So can we fix this crazy bug?  Steps to reproduce:   Select your victim question Repeat the following as fast as you can for 10 seconds:   Click the vote button Click again to undo vote  Watch the mayhem that happens to the score Cast vote if needed


Is there a way to search questions with bounties (ever having had a bounty)?

I have a problem on SE in finding a question (and valuable answers) that has been listed on the "Featured" tab for some days. Now it's disappeared from this tab, presumably because bounty period is over, and I'm trying to find it by tag, but this gives too many irrelevant questions, so I gave up.  The question: is it possible to search (filter) questions that currently have, or ever have had a bounty?


I want to design a member login site in WP but I have a doubt that is WordPress can handle more than 40000 users on same database?  I am not sure about this so I am stooping my work here. So please help me if anyone know exactly about this to proceed my project with WP.


How to convert a hexadecimal string into a hexadecimal value?

I have been trying to convert a hexadecimal string into a hexadecimal value in Python just as you can convert a string containing an integer into an integer value. I have tried the following   >>> a = '0x25' >>> b = hex(a) Traceback (most recent call last):   File "<pyshell#47>", line 1, in <module>     b=hex(a) TypeError: hex() argument can't be converted to hex   and   >>> b = '20'  >>> int(b)  20   but I haven't reached any viable solution.


Adjust random seed of displacement textures

How can I adjust the random seed used for the textures in the Displacement modifier?  For example, I have a Displacement modifier using a Voronoi-Minkowski 4 texture that creates a nice look for a rock. However, I want to have multiple "random" variants of this rock. When I duplicate the rock and the texture, the pattern is identical:    I can adjust the pattern by setting the texture space to Global in the Displacement modifier settings. However, this seems like a clumsy/hackish solution. What really makes sense is just a Seed property in the texture.  I have tried translating and scaling the texture space with ShiftT, but this does nothing (surprisingly).  What is the best way to accomplish this?


The hot questions feed (the lightning bolt icon on the left just under my profile icon) doesn't accept taps on the large hot questions at the top, so I can't go to them from there.  The smaller hot questions below the large top row work fine.   App Version: 1.6.0.10 Device: iPad Air 2 (Cellular) OS Version: Version 10.0.2 (Build 14A456)


Raising differential to a power n in an integral

I was reading a paper and encountered an integral where the differential, $dx$, was raised to the power $4$. What does this mean? Is this some kind of special integral?   $$\int d^4x$$


Attempt to invoke virtual method error when i try to access data android

I'm a newbie in android world, when I try to get data from the database, I meet this error, bellow is my database access code   public static boolean Checkduplicate(String activity_name, String location, String date) {     SQLiteDatabase dtb = ActivityHandler.db;     String Query = "Select * from  Activity  where activity_name = " + activity_name + "and location =" + location + "and _date =" + date;     Cursor cursor = dtb.rawQuery(Query, null);     if(cursor.getCount() <= 0){         cursor.close();         return true;     }     cursor.close();     return false; }   Here is the error  FATAL EXCEPTION: main               Process: com.example.vinhg.comp1661_nguyengiavinh, PID: 31092               java.lang.NullPointerException: Attempt to invoke virtual method 'android.database.Cursor android.database.sqlite.SQLiteDatabase.rawQuery(java.lang.String, java.lang.String[])' on a null object reference                   at com.example.vinhg.comp1661_nguyengiavinh.ActivityHandler.Checkduplicate(ActivityHandler.java:32)                   at com.example.vinhg.comp1661_nguyengiavinh.MainActivity.addData(MainActivity.java:41)                   at com.example.vinhg.comp1661_nguyengiavinh.MainActivity$1.onClick(MainActivity.java:32)                   at android.view.View.performClick(View.java:5340)                   at android.view.View$PerformClick.run(View.java:21610)                   at android.os.Handler.handleCallback(Handler.java:815)                   at android.os.Handler.dispatchMessage(Handler.java:104)                   at android.os.Looper.loop(Looper.java:207)                   at android.app.ActivityThread.main(ActivityThread.java:5763)                   at java.lang.reflect.Method.invoke(Native Method)                   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:888)                   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:749)   Here is my full ActivityHandler class  public class ActivityHandler { private static SQLiteDatabase db; public  ActivityHandler(Context context){     DatabaseHandler dbDatabaseHandler = new DatabaseHandler(context);     this.db = dbDatabaseHandler.getWritableDatabase(); }  @Override protected void finalize() throws Throwable {     try{         db.close();     }catch (Exception ex){      }     super.finalize(); }  public static boolean Checkduplicate(String activity_name, String location, String date) {     SQLiteDatabase dtb = ActivityHandler.db;     String Query = "Select * from  Activity  where activity_name = " + activity_name + "and location =" + location + "and _date =" + date;     Cursor cursor = dtb.rawQuery(Query, null);     if(cursor.getCount() <= 0){         cursor.close();         return true;     }     cursor.close();     return false; }


I'm often wondering, whether gaming on Linux is better or gaming on Windows is better?   I often watch most youtubers says "Gaming on Linux is Sucks, Windows is better.", but somewhere I see some youtubers says "Gaming on Linux is better."  Which is better for gaming Linux or Windows?


How to add a vertical space in the text above/under the arrow in the chemfig package

I'm trying to add a vertical space between H$_{2}$O$_{2}$ 30\% and \SI{25}{\degreeCelsius}, \SI{30}{\minute}, but I can't. Do you have any idea how to do it?    \documentclass[letter,10pt]{article} \usepackage{chemfig} \usepackage{chemnum} \newcommand*\pkg[1]{\textsf{#1}} \usepackage[version=3]{mhchem}  \begin{document}  \begin{figure}[!htbp] \centering \scalebox{0.9}{ \schemestart \chemname{ \scriptsize \chemfig[yshift=15pt]{*6((-(*6(=-=([:150]-[,,,,white]R|^1([:0]-))-=-)))=-(-(*6(-=-([:30]-[,,,,white]R|^2([:180]-))=-=)))(=[::60]O))} }{\textbf{1}} \arrow(.mid east--.mid west) {->[LDH, solvente][H$_{2}$O$_{2}$ 30\%, \\ \SI{25}{\degreeCelsius}, \SI{30}{\minute}]}[0,2.0] \chemname{ \scriptsize \chemfig[yshift=15pt]{*6((-(*6(=-=([:150]-[,,,,white]R|^1([:0]-))-=-)))-(-[:210]O(-[:90]))-(-(*6(-=-([:30]-[,,,,white]R|^2([:180]-))=-=)))(=[::60]O))} }{\textbf{2}} \schemestop } \caption{Reacción de epoxidación. Oxidación de la doble ligadura de la chalcona en presencia de un peróxido de hidrógeno y una base orgánica.} \label{fig:3} \end{figure}  \end{document}


How can I completely disable internal Mic and Webcam

I want to disable the internal Microphone on my laptop and the internal Webcam completely that they're no longer selectable, and no longer available?  I will only use my external Webcam, and my external (USB) headset.  The internal audio should still be available for playback.


How do you use the block in other hand in Minecraft 1.10.2?


I'm trying to get a couple asteroids to collide, however they collide without touching each other. How do I go about getting them to collide when closer together, or actually touching?      Tried changing the collision margin to no effect.


Different airlines, same destination, leave about the same time... why?

I've noticed that many times 2 or sometimes more airlines will have aircraft departing the same airport within minutes of each other heading for the same destination.  For example at this moment UAL 98 and QF 94 departed LAX at roughly the same time heading for Melbourne Australia.  As I type they are flying almost in formation over New Caledonia.  I see this again and again from regional flights to trans ocean flights.  I can't imagine that both flights are full every time.  What is the rationale for competing airlines to fly at the same time and arrive at the same time?


hi everyone I am a newbie to latex and i'm stck in making an organigram with tikz package can anyone help please


Why do (some) answers get more votes than their questions?

I've seen it throughout SE networks that sometimes the answer to a given question gets much more votes than the question itself (Examples ,  and ).   Is there any reason in particular why this is so? If the answer is useful, why isn't the question that prompted it?  Note: I'm not necessarily speaking about those examples in specific, but the general trend of Q&A on the SE networks


Why does $(\frac{1}{2}, \frac{1}{2})$ representation of $SO(1,3)$ Lorentz group act on $2\times2$ Hermitian matrices?

In pg. 81 of the Physics from Symmetry , the author deduced that the $(\frac{1}{2}, \frac{1}{2})$  representation of the Lorentz $SO(1,3)$ group acts on $2\times2$ Hermitain matrices using the following arguments:  First assume that the $(\frac{1}{2}, \frac{1}{2})$ representation acts on general  $2\times2$ matrices.  Any $2\times2$ matrix can be written as a sum of a Hermitian and an anti-Hermitian matrix.  Transformations in the $(\frac{1}{2}, \frac{1}{2})$  representation always transform a $2\times2$ Hermitian matrix into another $2\times 2 $ Hermitian matrix  and equivalently an anti-Hermitian matrix into another anti-Hermitian matrix.  The above point tells us that the  if $(\frac{1}{2}, \frac{1}{2})$ representation acts on general $2\times2$ matrices, it is a reducible representation. But this contradicts the fact that the $(\frac{1}{2}, \frac{1}{2})$ representation is irreducible.  Thus the $(\frac{1}{2}, \frac{1}{2})$ representation acts on $2\times 2$ Hermitian matrices.   The leap in logic from the 4th to 5th point confuses me. Why can't the $(\frac{1}{2}, \frac{1}{2})$ representation act on $2\times2$ anti-Hermitian matrices?


I used to run wireshark on ubuntu 17.04 with  ~/$ sudo wireshark   but now (just after update to 17.10) when I write the same I get an error  ~/$ sudo wireshark      QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'     Invalid MIT-MAGIC-COOKIE-1 keyQXcbConnection: Could not connect to display :0


How to insert comment at specific variable line number by sed command?

I want to comment out a line (add a # to the beginning). I used this command: sed -i '96s/^/#&/' file.txt on Linux to insert comment at line # 96.  If the line number is a variable, then how can I use this command?  I have tried these commands:  (1)  sed -i '${line_number}s|^|#&|' file.txt   (2)  sed -i '${line_number}s/^/#&/' file.txt   But they don't work. How can I do this?


What is the intended difference between MathOverflow and Mathematics?

There really does need to be some descriptions here. The two sites seem so similar that I'm unsure which is the proper one to use for certain math issues. In what situations would you use  over ?


Editable objects shown as on every layer - how did that happen?

There are a number of objects in a file I've been working on for a long time that have this setup I don't understand. They show as being on all layers but they are one object. They can be edited, so they aren't objects linked from another file.     I must have done this months ago but I can't recall how or why, and I'd like to change it. What is this setup and how do I get rid of it?


Showing if complex function and its conjugate are analytic, then function is constant

Show that if $f(z)$ and $\overline{f(z)}$ are analytic on domain $D$ then $f(z)=$ constant.  If I'm understanding this correctly, a complex function and its conjugate should just be reflecting functions on the complex space on the y axis. Then $f(z)$ is constant on that one whole function. Is this the right approach? Or is there rather more elegant way to prove it?


After update visualforce page (picklist field) ...it wont refresh standard page..how it save standard page

After update visualforce page (picklist field) it does not refresh standard page. How it save standard page?  This my controller:  public with sharing class Myorderextension {      public list<my_order__c> orderslist {get;set;}      public Myorderextension(ApexPages.StandardController controller) {         orderslist=[select Id,Name,Quantity__c,Product__c,Customer__c,Status__c,Products__c  from my_order__c ];     }      public pagereference save() {         pagereference  pgre1=new pagereference ('/apex/Myorderpage');         return pgre1;     }      public pagereference Cancel() {         pagereference  pgre=new pagereference ('/a00/o');         return pgre;     } }


Prove that if Y is a closed subspace of a normed linear space X and x \nin Y, the span of x and Y is closed.

The question is stated in the title, but I don't see how to prove it. Each element of $span\{x,Y\}$ is of the form $cx + y$ where c $\in \mathbb{R}$ and $y \in Y$. If I could show that for any convergent sequence in span{x,Y} $\{c_nx + y_n\}$, $c_n$ converges to some $c \in \mathbb{R}$ and $y_n$ converges  to some $y \in Y$, I would be done. But I'm prevented from doing that because $c_n$ and $y_n$ are interdepedent. Any ideas?


LINQ PropertyInfo out of range Exception when using List[i] but fine when declared variable tagged

public List<string> ExcludeHeaders(IEnumerable<ARandomClass> query, List<string> Excludes)     {         var qu = query.FirstOrDefault().GetType().GetProperties().AsEnumerable();         for (int y = 0; y < Excludes.Count; y++)         {             qu = qu.Where(c => c.Name != Excludes[y]);         }          return qu.Select(s => s.Name).ToList();     }   This results in an error : Index out of Range  Whereas this works :   public List<string> ExcludeHeaders(IEnumerable<ARandomClass> query, List<string> Excludes)     {         var qu = query.FirstOrDefault().GetType().GetProperties().AsEnumerable();         for (int y = 0; y < Excludes.Count; y++)         {             var str = Excludes[y];             qu = qu.Where(c => c.Name != str);         }          return qu.Select(s => s.Name).ToList();     }   losing my mind over this.


Is there any way to fix a hinge pulled out of particle board cabinet door?

I hit my head on the open door cabinet over the sink, yet again, and slammed the door shut in anger.  Adding insult to injury, the whole hinge pulled out of the particle board and took a big chunk of the door with it:     Is there any way to fix it?  I know these are terrible cabinets, but replacing them isn't in the plans.


How to re-mount a different partition as /home?

When I installed Ubuntu 10.04, I installed it on a single 16GB partition which includes /, /boot, /home etc.  I have another partition on the system (ext3). It is easily accessible from the GNOME desktop Places menu: I just click that Filesystem HDD icon on the Places menu and it is automatically mount as '/media/1326f40a-45df-4ec'.  How do I make that partition re-mount as /home instead? (permanently, that is)


Chances on ability checks don't seem to add up

I'm going through the Dungeon Master's Guide, and I see that DCs should be based on the "average person".  What I'm having a hard time with is that if someone has a +5 modifier to their History checks (quite knowledgable), and the task is "hard" (DC 20), then they still only have a 1/4th chance of success.    It seems to me the chances don't quite add up.   Do I have this correct?  How can I (or should I?) express that a person who doesn't know History has no chance of passing a History check, but a historian should probably have a better than 1/4th chance.    I am a player now, but wish to be a DM in the future.  I guess my bigger issue is the difference between an average person and someone who is well-trained.  Someone with a 0 in Arcana has a 25% chance of success against a "medium" (DC 15) task. Where as someone well trained in magic (+5 modifier to Arcana checks) has only a 50% chance. That seems quite out of whack to me.


Learn Python in One Day - list slice notation confusion specifically from the book

Hay fellow programmers,   I'm new to programming and was wondering if someone could help clear something up for me? I'm not sure if it's because of the way it's written or if it is simply a real, but contradictory way of doing something.   I'm currently learning Python from the book 'Learn Python in One Day' and their explanation of list slicing has confused me. At the beginning, they state individual indexes always start from zero, but in a later example they seem to be using '1' as the starting point(?) and ending at index 5 - 1?   The example they're using for below is: userAge = [21, 22, 23, 24, 25]  At the beginning, in the extract below, they explain that the index for 21 = 0, the index for 22 = 1, 23 = 2, 24 = 3, and 25 = 4.  But when they get to the bottom of the extract they are talking about a 5th index (despite there not being one in the example above)...  Here's the extract from the book. I've highlighted the bits that have confusticated me:  "Individual values in the list are accessible by their indexes, and indexes always start from ZERO, not 1. This is a common practice in almost all programming languages, such as C and Java. Hence the first value has an index of 0, the next has an index of 1 and so forth. For instance, userAge[0] = 21, userAge[1] = 22.   Alternatively, you can access the values of a list from the back. The last item in the list has an index of -1, the second last has an index of -2 and so forth. Hence, userAge[-1] = 25, userAge[-2] = 24.   You can assign a list, or part of it, to a variable. If you write userAge2 = userAge, the variable userAge2 becomes [21, 22, 23, 24, 25].   If you write userAge3 = userAge[2:4], you are assigning items with index 2 to index 4-1 from the list userAge to the list userAge3. In other words, userAge3 = [23, 24].   The notation 2:4 is known as a slice. Whenever we use the slice notation in Python, the item at the start index is always included, but the item at the end is always excluded. Hence the notation 2:4 refers to items from index 2 to index 4-1 (i.e. index 3), which is why userAge3 = [23, 24] and not [23, 24, 25].   The slice notation includes a third number known as the stepper. If we write userAge4 = userAge[1:5:2], we will get a sub list consisting of every second number from index 1 to index 5-1 because the stepper is 2. Hence, userAge4 = [22, 24].   In addition, slice notations have useful defaults. The default for the first number is zero, and the default for the second number is size of the list being sliced. For instance, userAge[ :4] gives you values from index 0 to index 4-1 while userAge[1: ] gives you values from index 1 to index 5-1 (since the size of userAge is 5, i.e. userAge has 5 items)."   I'm not sure where they are getting the '5 - 1' if the original example had only index 0 - 4 (despite that meaning there are five items in the list). Is this a "rule change" or have they changed the index numbers from 0 to 4, to 1 to 5? I know the '5 - 1' means you would go back to index 4 due to the "end exclusive" they mention above, but don't you need the item there before you can minus it? In the original example, there is no 5th index (though there are 5 items on the list)...  Needless to say, I am very confused! Haha.  Thanks in advance for your help!  Jane. x


How to prevent oracle from converting empty strings to null

I have successfully converted an existing app's database from SqlServer to Oracle. Everything works fine, but empty strings.  The app normally stores empty strings into the not null nvarchar2 fields which Oracle silently converts them to null and causes the following error:  ORA-01400: cannot insert NULL  Is there any workaround for this?  Note: I'm using Oracle Managed Driver ODP.NET + NHibernate Castle Active Record


Should I post an answer to an off-topic question after flagging it?   I seem to find off-topic questions that I can give a good, useful and correct answer to. (The specific question tonight is , but it's happened several times this month now). Other users have clearly deemed the question worth a response; I think I can provide a better response based on the original question and the provided comments, but I also don't think the question fits well on StackOverflow.   By answering, I feel like I would validate the question's existence on SO. On the other hand, other users clearly deem the question appropriate enough to warrant answers.   What's the consensus for this situation?


How is the energy loss by an accelerating charge expressed in the equations of motion?

I understand how, and why, an accelerating charge emits radiation, and loses energy in the process, as well as the  formula for the power, and its derivation.  However, in classical mechanics, when we want to find the motion of a particle, the process is (theoretically) simple - find all forces on the particle as a function of position and time, plug in Newton's second law and solve the differential equation. It seems to me as if simply because a particle is charged, this process just ceases to work.  When talking about a charged particle, it is simply not enough to find all forces and solve Newton's law - now we need to somehow take into account the energy lost by the particle to radiation. However no one seems to mention how to take that into account, as a term in an equation of motion. It seems like all we know is the total power radiated by the particle - there is no concrete, complete description of how that loss affects its motion.  Of course, in some simple cases we can easily guess how the particle will be affected: for example, for an electron circling in a uniform magnetic field, it is obvious that energy loss due to radiation will cause the electron to spiral inward. You can, at least theoretically, write the Lorentz force acting on the particle, due to the uniform field, plug it into Newton's second law, and also write the Larmor formula, take that loss into account and find a complete description of the particle's motion.   However still, when we write simply Newton's second law here, with the only force being the Lorentz force, we find a circular, not spiral, solution; we have to synthetically add in the Larmor formula to truly recover the particle's motion. Contrary to classical mechanics where Newton's law is a complete description of the motion.   Why is Newton's law no longer enough, or put another way, what term am I missing that will fix the electron's motion, add an additional "force" the will cause it to spiral inward? Is there a general expression for that force? And how does one in general write the equation of motion for a charged particle (or a system of)?   I suspect the answer has something to do with the EM field changing not instantaneously but at the speed of light, since Newton's law of gravitation clearly yields stable, closed orbits and propagates instantaneously. Perhaps I should phrase my question this way:   How does the fact that the EM field propagates at a finite speed affect the way we have to write the equations of motion  for a charged particle (as opposed to the equations of motion for a massive particle, acted upon by an instantaneous, newtonian gravitational field)?   One last note: perhaps this has something to do with Maxwell's equations being Lorentz-invariant and not Galilean? However I find this unlikely to be the case since the electron doesn't have to move in a relativistic speed in order to experience this effect. In any case, this is also why I allowed myself to use Newton's second law and not its (special) relativistic expression - would using that fix the problem?


If light is an electric and magnetic field how can it be absorbed(dont mark as duplicate)?

This question was answered here previously but i am re asking it since it a was no explained in detail I actually want to know the energy stored in electromagnetic waves move to the electron and gets scattered in different direction(Thomson scattering)how cum energy stored in field moves to the electron does the electron create opposite em wave which cancel the original wave so energy is bsorbed or any differnt phenomenan takes place please explain in detail


Remove same elements from list with LINQ

I want to remove duplicate value remain one with LINQ Example: {2,4,5,2,6,2,8,6,9}  Result: {4,5,2,8,6,9}


What happens if I install a virtual machine additions package on a host PC?

What happens if I install a virtual machine additions package (e.g. Virtual Machine Additions for Microsoft Virtual PC 2007, Integration Components on Windows Virtual PC, and Guest Additions on Oracle VM VirtualBox) on a host PC? Will there be any adverse effects, or will my system work fine?  In other words, what happens in the backend on the virtual machine when I enable integration features like mouse pointer integration, window resizing, and folder sharing?  Disclaimer: I know that it is possible that this question could be marked as a duplicate of , but that one is asking about Ubuntu and VirtualBox specifically. My question is more general, and it also asks about how integration is internally implemented.


How to adjust camera clipping for object?

Hi there, I am a complete Blender noob and still don't quite understand how the clipping start and end points work. More specifically, I don't know what, say this Shift X value 0.01m, implies. Is the camera moving 0.01m away from its origin in the +x direction? It seems part of my purple sphere is getting clipped off when I rotated the view to the front. From the side though, I can see the whole object. Would appreciate any feedback. Thanks!  @ETHAN DAY, thanks for the response! I  tested out what you said and found that was my camera was a dot relative to all my other objects. How is it then that the camera could have captured all the objects from its perspective? Does the render mode show the view from the camera's perspective or the view it's locked to? Thanks again!


Is it possible to have multiple CNAME records for www?

As far as I know, it is possible to have multiple A records for one host - GitHub Pages for apex domain is an example:  185.199.108.153  185.199.109.153  185.199.110.153  185.199.111.153  It is done for load balancing, Geo DNS purposes, etc.  So, what about several CNAME records for www? I have seen the setup for one domain recently that looked something like this:  www  CNAME whispering-willow-5678.herokudns.com.  www  CNAME autumn-sunset-1495.herokudns.com.  and it somehow managed to work via www.  My questions relate to the CNAME record particularly.   Are these CNAME records queried in turn? Is it possible to have the configuration (with multiple CNAME) this way or is it a blunder? Can such configuration be used for load balancing purposes or something?


These data are from an A/B test of free trials to conversion. Someone can sign up for a 30 day free trial of the product. If they like it they stay on and become paying customers. By default (A), when someone signs up they receive a 6 part email sequence over the 30 days. Group B, the test, received a 16 part sequence.  I would like to know if the difference in conversion rate for group by really is higher, or if there's a good chance it would have happened anyway with the natural ebbs and flows around the mean.  From Googling around and previous posts on this forum I wanted to use a chi-squared test. But my lecturer told me to test for a difference in proportions. Now I'm just confused.  Which method would be appropriate to test if the difference between the two groups is sufficient to arrive at any conclusions about one group being better than the other?


Complex Lie algebra $\mathfrak{g}$ is solvable implies that $\mathfrak{g}'$ is nilpotent.

I want to show that for a complex Lie algebra $\mathfrak{g}$ which is solvable that $\mathfrak{g}'$ is nilpotent. Where $\mathfrak{g}'$ is the derived algebra $[\mathfrak{g},\mathfrak{g}]$.  I have shown the converse, since $\mathfrak{g}'$ being nilpotent means that $\mathfrak{g}'$ is solvable and hence the derived series of $\mathfrak{g}'$ terminates, and hence the derived series of $\mathfrak{g}$ (which is the same except for the first step) terminates.    In regard to when $\mathfrak{g}$ is solvable, we have a terminating derived series, but I can't see how this means that the lower central series terminates.  We have $\mathfrak{g}^{(0)}=\mathfrak{g},\quad \mathfrak{g}^{(n+1)}=[\mathfrak{g}^{(n)},\mathfrak{g}^{(n)}]$ terminating, and apparently this means that:  $\mathfrak{g}^0=\mathfrak{g}^{(1)},\quad\mathfrak{g}^{n+1}=[\mathfrak{g}^{(1)},g^n]$, but I don't see it.  Feel free to use whatever notation you want, rather than mine


Noun or adverb function of "There" in "There is X, Y and Z"

In the sentence below, is there an adverb telling where (giving the location), or a noun as the subject?     There are many people on the beach.


Why does the su command does not work without sudo

I know it might seem lame but i was just wondering why do we need a sudo command to use su cmd to switch to root user.


Difference between deportation and removal

As I understand it, there are two mechanisms for throwing somebody out of the UK: deportation and removal. Informally, people seem to call both of these "deportation".  What are the differences between them? Who do they apply to? Do they have different effects on the person's ability to return to the UK later?


Prevent Windows 7 PC from sleeping while a download is in progress

While I'm downloading a large file on Windows 7 using Google Chrome, my computer goes to sleep. I could obviously set the computer to not sleep at all (or change the interval before the computer sleeps).  What I want to know is: Is there a way to make Windows 7 not sleep as long as a download is in progress? (perhaps when any network activity is going on?). I've looked in the Advanced Power settings, and haven't seen any obvious setting.


How do I transfer my Minecraft account to my new PC and add a different account to the old PC?

I just got a new computer for Christmas and I want to transfer my Minecraft PC account to the new one. My sister would like to have her own account on my old computer. My sister also doesn't have an account. So with my old computer, she wants to make a brand new account but my account is already there. How can I transfer the old account to the new computer and create a new account on the old computer? I am running Minecraft 1.11.2 and Windows is on both PCs.


first things first this is not a duplicate as i have seen everey similar question i found so what im doing is im conning to a data base in a maven project  i have 2 concerns -  the build gives the following error SEVERE: Servlet.service() for servlet [webapp.login.loginServlet] in context with path [] threw exception java.lang.NullPointerException: Cannot invoke "java.sql.Connection.createStatement()" because "con" is null     at webapp.login.loginServlet.doGet(loginServlet.java:46)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)     at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)     at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)     at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)     at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)     at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)     at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)     at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)     at java.base/java.lang.Thread.run(Thread.java:832)  i made my connection null and later intilized it ...in a try catch request.getRequestDispatcher("/WEB-INF/veiws/login.jsp").forward(request, response);             // connect                                  Connection con = null;                     try {                         con = DriverManager.getConnection("jdbc:mysql://localhost:3306/to_be_done","root","");                     } catch (SQLException e) {                         // TODO Auto-generated catch block                         e.printStackTrace();                     }  if i remove null compile error here   try {                         st = con.createStatement();                     } catch (SQLException e) {                         e.printStackTrace();                     } }      "con" is not initialized  and if i leave it null and ignore the error i get  HTTP Status 500 - Cannot invoke "java.sql.Connection.createStatement()" because "con" is null


What's the origin of the flattened X that appears when of a small (but powerfull enough) light is reflected in our non-powered TV screen?

The reflection of a small light (but with enough power) on our TV shows four emerging rays. The rays vary periodically in space and have a repeating pattern of the colors of the rainbow. The further the flame is from the TV the greater the distance between the periodic lights in the "rays". Sounds reasonable.  This is the picture of the effect:    No matter how far you put the candle, the angle between the two lines stays the same. The color green is very faint in the picture but was clearly visible on the TV screen. The distance between successive red/green spots was getting smaller if the distance between your eye and the screen was getting smaller. Sounds reasonable. No matter how the light was positioned relative to the TV, the same pattern emerged.   I added a close-up picture of the working TV on which you can see what form the light-emitting pixels have:    Notice that they are curved, or better said, consist out of two little rectangles with an angle between them that is, at first sight, the same as the angle between the light rays seen on the TV-screen. When I measured the angle of the rays on the TV-screen it was about the same as the angle between the "line"-pieces of the pixels (about 180-(2x16)=148 degrees). Maybe here lies the clue to the problem. What would be the pattern seen on the TV-screen if the pixels would be square, rectangular (with the length vertically), or round? Or formed and arranged like here:    Surely not a flattened X! But to stay close to the question, what if the angle between the rectangular pieces of the pixels would be 180 degrees (so they become one rectangular) and positioned like in the lower right part of the above image? Would the X-form be stretched into a horizontal line (let's suppose all pixels, when the TV is off, reflect light equally well for what follows), with the colors of the rainbow repeating? In this case, a diffraction pattern is produced because of the different wavelengths of the colors in the rainbow. That is quite clear. All the red pixels reflect in such a way a light-dark pattern is found in the horizontal (squeezed X) line on the non-powered TV when we shine a light on it.  The fourth and fifth pictures I made by using a white and red LED (which shows the periodic Nature most clearly, and even red concentric rings), and in the sixth picture, I added some information on how I made the picture.   The last picture shows (somewhat fuzzy) the rectangular pixels and their configuration on my lap-top screen. It is the same forms of dots and they have the same configurations as in the pixels shown down left of the picture with four different forms and configurations. When I shine a light on my non-powered lap-top screen, I can discover no X-forms. It could be that the pixels don't reflect light.  But the final question: Are the same angles found in the pixels, (the big angle between the two rectangles) as in the big angle of the X correlated? If so, how?          I added this close-up picture of my laptop screen:    It's not that good visible, but the pixels are rectangular shaped (in vertical position). They are much smaller than the pixels on my big TV-screen, which I almost can see with the naked eye (once you know the shape after taking the close-up picture, which can't be said of the pixels of my laptop's screen). The effect isn't visible on my (power off) laptop screen, maybe because of the smallness of the pixels. The effect is (as I said ) color-dependent (with a red beam of light only a red X-form, periodically bright and dark is seen) and orientation independent (no matter how I point the light beam the same X appears over and over again). Nevertheless, I don't know if the pixels on both screens are the same (though it appears so).


My setup is a Windows 10 system running one client and one master, and two Linux Mint systems running as slaves. Four GPUs per slave.  As far as the network setup goes, everything seems normal. The clients are able to communicate with each other, anyway. Problem is, when I click Animation on Network in the client, the render viewport starts empty. Then, once the 'results' start coming back, the frames are pink, and look more like what you would see when using the viewport during mesh construction. There should be an image background in the world, but that isn't visible either.  I've made sure that cycles is selected in the client configuration, and all the render settings such as sampling were configured in the cycles mode before switching to the network render mode.  I've tested this with both animation, and with a simple single frame render. Same results. Everything renders fine under cycles without the network render.  What am I missing? And is there any other information I should provide?  EDIT: I've noticed some other questions here getting answers about seeing pink when there are missing textures. I suppose I should point out that everything in my scene is currently just materials. The only image used is for the world.


Is there only one state that leads to a collection of probability distributions of observables?

I would like to think of "state of an object" as, classically, the simultaneous knowledge of its position, momentum, rotational angular momentum, orbital angular momentum, kinetic energy, etc. In quantum mechanics, "state of an object" would be simultaneous knowledge of the probability distributions of all the observables.  But we are typically taught that "state" is a vector, sometimes is represented by a wave function if we are talking about its position and momentum in space sometimes is just an abstract vector if we are talking about spin.  This definition of state does not seem to agree with what I want a state to be. But is the following true?     Suppose a state induces a probability distribution for each observables, be it position, momentum, kinetic energy, spin, etc. There is no other state that induces the same probability distributions of observables.   (if two states differ by a scalar multiple, they are considered the same)  In particular, if two wave functions induces the same probability distributions of position and momentum, are they the same wave function?  If two wave functions $f,g$ have such properties, then their probability amplitude are equal that $\lvert f(x)\rvert^2=\lvert g(x)\rvert^2$, meaning $f(x)=e^{i\theta(x)}g(x)$ for some real-valued function $\theta$. I believe $\theta$ may have to be a constant function if $f,g$ induces the same probability distributions of momentum.  By the same arguments, their Fourier transform are related by $\hat f(k)=e^{i\phi(k)}\hat g(k)$. This should lead to $$\int_{-\infty}^{\infty}e^{i\theta(x)}g(x)e^{-ikx}dx=\int_{-\infty}^{\infty}e^{i\phi(k)}g(x)e^{-ikx}dx.$$Not sure how that is helpful.


I just wonder if there is a command line tool for eclipse java file formatter. Or if there is an ant task to execute it.  In my scenario, there are 2 java formatters, one is for android formatter, the other is our internal formatter.  So we have to change it between these two formatter.


According to the gravitational law, every mass attracts each other. But why the masses attract each other? Why they don't repel each other?


"Product detail page" or "product details page"?

As a name for a (web) page that shows detailed information about a product, which of the following is better fitting/correct:     product details page   or     product detail page   Or is there an even better name?


Conditional distribution of a normal distribution given it is smaller/bigger than another normal distribution

Say I have two independent random variables $X \sim N(u_1, \sigma_1)$ and $Y \sim N(u_2, \sigma_2)$. I want to get the conditional distribution of X given whether X is bigger than Y or not.  $P(X|X<Y)$ = ... and  $P(X|X>Y)$ = ...  I am thinking solving this in this way:  \begin{align} P(X|X<Y) &= \frac{P(Y>X|X)P(X)}{P(Y>X)} \\ &= \frac{(1-\Phi(\frac{x-\mu_2}{\sigma_2}))N(\mu_1,\sigma_1)}{\Phi(\frac{\mu_2-\mu_1}{\sqrt{\sigma_2^2+\sigma_1^2}})}\\ P(X|X>Y) &= \frac{P(Y<X|X)P(X)}{P(Y<X)} \\ &= \frac{\Phi(\frac{x-\mu_2}{\sigma_2})N(\mu_1,\sigma_1)}{1-\Phi(\frac{\mu_2-\mu_1}{\sqrt{\sigma_2^2+\sigma_1^2}})} \end{align}  My questions are:   (1) Whether above solution is correct  (2) How to get the mean and sd for $P(X|X<Y)$ and $P(X|X>Y)$ if they are still normal?


What is the possibility of a railgun assisted orbital launch?

Basic facts: The  is 2.4 miles deep.  Railguns  of a projectile on the order of 7.5 km/s.  The Earth's  is 11.2 km/s.  It seems to me that a railgun style launch device built into a deep shaft such as an abandoned mine could reasonably launch a vehicle into space.  I have not run the calculations and I wouldn't doubt that there might be issues with high G's that limit the potential for astronauts on such a vehicle, but even still it seems like it would be cheaper to build such a launch device and place a powerplant nearby to run it than it is to build and fuel single-use rockets.  So, what is the possibility of a railgun assisted orbital launch?   What am I missing here?  Why hasn't this concept received more attention?


Current against the inverse of resistance graph, $I = V/R +c$

If I have a plot of current ($y$ axis) against 1/Resistance ($x$ axis).  The circuit it is measured from is a simply 2 resistors connected in parallel to battery, where the potential across the resistors is $1V$. One resistor remains fixed, and the second varies, the resistance plotted on the graph is only the resistance of the second resistor.   Does this mean that the gradient will be voltage, but will it be $1V$ or less, as the resistance on the graph is only one from one of the resistors?  Also what will the $y$ intercept signify? $I = V/R +c$, what does the $c$ represent?


What is my fallacy in the hello world finite loop?

#include <cs50.h>  #include <stdio.h>  int main(void);   int alpha = 0; while (alpha < 10) {     printf("Hello, World\n");     alpha++; }  error: expected identifier or '(' while (alpha < 10) ^ i am trying to make a finite loop to print hello world 10 times but the error keeps coming up. I googled it but all answers were for do-while loop. What is my mistake ?


Movie with a war between Russia and the USA witnessed by astronauts on a space station?

Some years ago, I saw a scifi movie from the 70s/80s and I remember the following scene: It's the future, two astronauts (a Russian and an American) are floating above the Earth in a space station. They receive a spoken message from Earth that their nations are at war effective immediately and therefore the astronauts must not see or talk to each other.  I know that this is a very vague description, but I remember that I liked the whole style of the movie. Can anyone remember the name of this movie?


I can't update, i have this error when running apt-get update command!  W: Failed to fetch http://ppa.launchpad.net/cooperjona/nitrotasks/ubuntu/dists/utopic/main/binary-amd64/Packages  404  Not Found  W: Failed to fetch http://ppa.launchpad.net/cooperjona/nitrotasks/ubuntu/dists/utopic/main/binary-i386/Packages  404  Not Found  E: Some index files failed to download. They have been ignored, or old ones used instead.   what can i do?


Add and remove tag buttons are vertically oblungated

I realize that for many users this is the hottest time of the year, but the add and remove buttons on the preferences page are ...melting down :-)  Surely it's a LESS typo that can be quickly fixed!


Let we have $X=R$ the set of real numbers and $B_R$ is borel algebra and $2^X=P(X)$  How can I prove that $B_R$ is not equal to $P(X)$


How to catch the null pointer exception?

try {         int* p = 0;         *p = 1;     } catch (...) {         cout << "null pointer." << endl;     }   I tried to catch the exception like this but it doesn't work,any help?


Loop through a C# enum's keys AND values

Given the C# enum:  public enum stuffEnum: int {     New = 0,     Old = 1,     Fresh = 2 }   How do I loop through it in a way that I can copy both the key and its value in a single loop? Something like:  foreach(var item in stuffEnum) {     NewObject thing = new NewObject{        Name = item.Key,        Number = item.Value     } }   So you would end up with 3 objects, with their Name properties set to "New", "Old", and "Fresh", and the Number properties set to 0, 1 and 2.   How do I do this?


How to use external service hooks to connect Salesforce?

The above external system currently supports service hooks to send outbound messages. Is there any possibility we can connect it with salesforce. currently, I have enabled site and gave global access using @RestResource class as a guest user, But in security-wise it's a GDPR concern. What I am expecting to hear is any way we can use a username and password to achieve it?


excel 2013 leave cell blank if it has no data

Maybe someone can help. I am using a simple formula where data in C is multiplied by 15 and the answer appears in D, but I want D blank until the number is entered into C.


Black Holes should take infinite time to form with the increase in mass to form one

How can black hole form because as the density begins to increase gravity also start to increase and time starts to slow. wouldn't it take infinite time to form a black hole. how can anything fall beyond event horizon of black hole. if the time completely stops after event horizon. how do black hole gain mass if the object just hangs in event horizon. at event horizon if people got stuck there will he see the end of the universe?


I want to play minecraft with my cousin on the same world. We both have iPods and have no idea how to connect both of us to be on one of our worlds. How do you do it???


How to hide/show section levels in the table of contents?

I have a table of contents (\tableofcontents) in my document. How can I hide subsections in it? I want that only names of sections are displayed there.


What it the morphological classification of the ending -ump?

Can someone tell me how to classify the morpheme -ump, such as can be combined with lump,slump, bump, etc.  (It's for a research I'm doing on onomatopoeia.) thanks


Prepend phone numbers with a calling card dial in number

I use a calling card to call my home country and usually it's these steps:   Call the dial in number for the calling card company (e.g. 1 800 123 1234) Enter the card PIN code (e.g. 1234 1234 1234) Enter the destination number (which is saved as a phone in the contacts - e.g. +7 12 123456780)   I have several several contacts I call regularly and also plenty of one-offs.  Is there an app or way to automatically prefix the numbers from steps 1 & 2 along with pauses (p) and waits (w) so that I could dial the contact directly from the address book?  Thank you!


$A \cup B$ and $A \cap B$ connected $\implies A$ and $B$ are connected

Let $X$ be a topological space. Let $A$ and $B$ be two subsets of $X$ such that: $A$ and $B$ are closed, $A \cup B$ is connected, $A \cap B$ is connected     Prove that $A$ and $B$ are connected.   Thoughts:  Suppose that $A$ is disconnected. Since $A$ is closed, there are two non-empty, disjoint, closed sets $E$ and $F$ in $X$ such that $A = E \cup F$. Then I attempted many things but all were not really useful.  Please help. Thanks.


I have one custom object called (FeedbackFrom__c) in that I having 10 fields, each fields having different VF Pages at page no 11, I am having one save button if I click that automatically 10 fields needs to save in the object how I can achieve this?


Installing freezes/doesn't boot on Asus N552VX

Hi I just got the new Asus N552VX and am trying to get Xubuntu working on it. I have tried both the 14.04 LTS and the 15.14. However in the install I get ACPI PCC probe failed, sometimes it just crashes right there and sometimes it keeps on going but seemingly random freezes up and wont do anything until I restart. I  googled that one and to my knowledge there seems to not one ACPI-driver that fits this particular laptop. I have gotten as far as installing and booting into the OS but the mousepad and keyboard won't work and after a restart it won't boot into xubuntu again. So has anyone else got ubuntu working on the asus N552VX?   Footnote: When it freezes I can't seem to get an error message, I know you can tap the right arrowbutton to see verbose output (of some sort)  but I can't indentify the problem.


I am writing a program to take input from a file and display it on the console. The problem is that the last entry is being repeated twice. The code is as follows:-  int main(void) {     string filename;     int grades;     cout<<"Enter the filename:"<<endl;     getline(cin,filename);     ifstream inFile(filename.c_str(),ios::in);     if(!inFile){         cout<<"File does not exist."<<endl;         exit(1);     }     while(!inFile.eof())     {         inFile>>grades;         cout<<grades<<endl;     }     inFile.close();     return 0; }   Can you please help me in finding out the mistake? I have searched on the web and my code seems to be syntactically and logically correct.


mod_pagespeed : install earlier version compatible with libc6 2.13 (Debian Wheezy)

Might be a stupid question, but how can I get an _amd64.deb package version of a mod_pagespeed release prior to the current stable/beta versions - i.e. release 1.11.33.0-beta -   I need to install mod_pagespeed on my Debian Wheezy server and the current version doesn't support it (libc6 version dependency is now 2.14 and Wheezy has 2.13). Building mod_pagespeed from source or somehow updating libc6 wouldn't be a great option on this important production web server.   I'd love to simply grab and dpkg the latest version that didn't yet require glibc >= 2.14 and would dpkg on Debian Wheezy 7.0 without throwing a dependency error like:  sudo dpkg -i mod-pagespeed-stable_current_amd64.deb Selecting previously unselected package mod-pagespeed-stable. (Reading database ... 40509 files and directories currently installed.) Unpacking mod-pagespeed-stable (from mod-pagespeed-stable_current_amd64.deb) ... dpkg: dependency problems prevent configuration of mod-pagespeed-stable: mod-pagespeed-stable depends on libc6 (>= 2.14); however: Version of libc6:amd64 on system is 2.13-38+deb7u7.   The release notes say the last version that supported this setup is just a couple of releases back - the glibc 2.14 requirement is in place as of v 1.11.33.1-stable in May 2016, so 1.11.33.0-beta should do the trick.  Is there an archive of the older .deb packages out there somewhere? Or a way to reference the version in the URL structure when using wget - i.e. ????_amd64.deb


My project title is not being reflected in pdf overview in Overleaf

\documentclass{article} \usepackage[utf8]{inputenc}  \title{A Comparative Study of Reliability of Database Systems Using RAID} \author{John} \date{April 2021} \usepackage{authblk} \usepackage{enumerate} \usepackage{graphicx} %package to manage images \usepackage{multicol} \graphicspath{ {./images/} }   \begin{document}  \begin{multicols}{2} \section{Abstract}


Pronoun cases (e.g. "my," "his") before gerund constructions

Which of the following is correct?  It stands in the way of my being successful.   It stands in the way of me being successful.   This led to his succeeding in the workplace.   This led to him succeeding in the workplace.


How to set the fully qualified domain name in 12.04?

I tried adding   dns-domain domain.com   to /etc/network/interfaces with no luck. When I run  hostname -d   I get an empty string


In Harry's first year, did Professor Dumbledore deliberately give him a chance to face the Dark Lord?

In the end of Harry Potter and the Philosopher's Stone, Harry says that perhaps Professor Dumbledore deliberately didn't hide the Mirror of Erised, so Harry could stumble on it, and then deliberately let Harry face the Dark Lord as a test.     'He's a funny man, Dumbledore. I think he sort of wanted to give me a chance. I think he knows more or less everything that goes on here, you know. I reckon he had a pretty good idea we were going to try, and instead of stopping us, he just taught us enough to help. I don't think it was an accident he let me find out how the Mirror worked. It's almost like he thought I had the right to face Voldemort if I could...'   Was Harry right about this?  We find out in Prisoner of Azkaban that the Headmaster generally doesn't know everything that goes on in the school: he didn't know about the Marauders becoming Animagi, or about their cloak and map.  So I'm not sure if Harry guessed right about the rest here.  See also


It appears that the onebox (and link-detecting, for that matter) mechanism is broken by special symbols (see ). For example, the URL https://stackapps.com/questions/2177/stackexchange™-supercollider-freehand-circle™-editor-now-supported-on-every-s#comment10630_2177 is registered in chat (and on sites) as https://stackapps.com/questions/2177/stackexchange (which still works, but doesn't jump to the specified comment). If you need any more proof than that, look at what it does here:


Retrieve max date for distinct IDs in a table

I have the table ABC with the following data  Id  Name    Date      Execution id  --  ----  ---------  ------------- 1    AA   09SEP2019      11 1    AA   08SEP2019      22 1    AA   07SEP2019      33 2    BB   09SEP2019      44 2    BB   08SEP2019      55 2    BB   07SEP2019      66   And I want to get for every distinct ID in the table its max date. So the result set must be as the following  Id Name     Date     Execution id  -- ----  ---------  ------------- 1   AA   09SEP2019      11 2   BB   09SEP2019      44   The query that returns the result I need  WITH MaxDate as (    SELECT Id,Name,Max(Date) from ABC group by Id,Name ) SELECT view1.*, view2.exection_id from        MaxDate view1,        ABC     view2 WHERE        view1.date=view2.date and        view1.name=view2.name;   I don't like to get the max date for the distinct ID by this way. May be there is another way ? Might be there is more easiest way?


I am aware that is was asked to have  and , however I couldn't find anywhere any indication of past moderators e.g. someone who was moderator year or two ago but no longer act as one. My incentive for asking for such a thing:  (10K+ rep needed to see it) was deleted by a  who is not a moderator now. I can only guess he was moderator back in March 30th 2011 when he deleted it, but it's only an assumption. So, to the  I suggest to add another link like "Archive" or "Past moderators".


Transferring Windows 10 to new SSD without transferring programs

I recently purchased an SSD to upgrade from my HDD, I want to move windows 10 over, but have no idea how. To add to the issues, I do not have a Windows 10 product key, it's a Windows 8 product key that have been upgraded to 8.1 then 10 via the updates Microsoft we're releasing back then. I also want to leave my programs and files on my HDD so that it's only the OS being moved for now.  For those marking this as a duplicate, I can't clone the HDD as it is 2TB and nearly full, the SSD is only 128GB, hence only wanting the OS on there.


Can continuity of inverse be omitted from the definition of topological group?

According to , a topological group $G$ is a group and a topological space such that  $$ (x,y) \mapsto xy$$ and $$ x \mapsto x^{-1}$$  are continuous. The second requirement follows from the first one, no? (by taking $y=0, x=-x$ in the first requirement)  So we can drop it in the definition, right?


Prove $\Sigma_{k=0}^{n-1}\lfloor x+\frac{k}{n}\rfloor=\lfloor nx\rfloor$ , n is a Natural Number

Prove the following identity:   $$\lfloor x\rfloor +\lfloor x+\frac{1}{n}\rfloor +\lfloor x+\frac{2}{n}\rfloor +\lfloor x+\frac{3}{n}\rfloor+...+\lfloor x+\frac{n-1}{n}\rfloor =\lfloor nx\rfloor$$ where n is a Natural Number.   $$$$At first I thought of splitting it into 2 cases: when x is an integer, and when x isnn't an integer. The case of $x$ being an integer is quite simple: $\lfloor x+\frac{k}{n}\rfloor=x$ for $0\le k\le n-1$. Thus the LHS becomes $n\lfloor x\rfloor$ which is equal to the RHS. $$$$However I do not know how to go about the case of $x$ not being an integer.  Lastly, I would actually prefer a proof where it is not necessary to make cases based on the values of $x$, but to have one general proof which satisfies all $x$.  Could somebody please show me how to complete the proof in both ways (ie first, the case where $x$ isn't an integer, and secondly the general proof which doesn't involve breaking into cases)? Many thanks in advance!


What conserved quantity does Supersymmetry imply?

According to , for every continuous symmetry there is a conserved quantity. What is the quantity that corresponds to Supersymmetry?


Can someone please point out the flaw in my proof?

Let $f:X \to Y$ be a proper map.Show that $f$ takes discrete sets to discrete sets.  Proof:Let $A$ be discrete in $X$ and let $K$ be compact in $Y$ then $f(A) \cap K=f(A \cap f^{-1}(K))$,is finite since $A \cap f^{-1}(K)$ is finite.Hence $f(A)$ is discrete  But @Alex Ravsky here  gave  a counter example. So can Someone please point out the flaw in my proof?


Do we need a comma in the following sentence?   What encourages me more to do that [,] is that I am interested in science.


Wrong message displayed when logging in using Google account

If you have never logged in to Google, for example when you install a new browser (specifically, if no Google cookies are set), and you try to log in to a Stack Exchange site using your Google account, when you click the red "Google" button, you get this message:  Suspicious request Sorry, your request could not be completed because it looked suspicious. If you meant to perform an action on Stack Overflow, please return to the previous page and try again.  Here's a screen shot:  "Trying again" yields the same result. The problem is the attempt is not "suspicious", so the message is incorrect/inappropriate. It's a reasonably expected scenario that should be catered for, probably by redirecting to the Google log in page as it does when Google cookies are set, but you're just not logged in to Google.  To repeat:  Clear browser cookies Browse to a stack exchange site Click "log in" Click the red Google button The above message immediately appears  Then, to make the problem go away, change step 1. either to:  Log in to Google Log off from Google  or, of course:  Log in to Google   I have verified that this problem occurs on:  Ubuntu/Firefox Ubuntu/Chrome Windows 7/Firefox Windows 7/Chrome Windows 7/Internet Explorer Windows 10/Chrome Windows 10/Internet Explorer Windows 10/Firefox   For completeness, other related scenarios work OK:  If you have a Google account cookie set, but you're not logged in, clicking the red Google button works - you get redirected to the Google account log in page, where you can log in to Google, and then you're logged in to Stack Exchange too If you're not logged into google already, clicking the red Google button logs you in to Stack Exchange immediately


I'm using Ubuntu 14.04 and I want to make a live USB for another linux distro, but I don't know how to. In Windows I used  but sadly it doesn't work on linux.  How can I make a live USB for my desired linux distro?


How do we construct the matrix representation for three Grassmann numbers?

I want to know how we find or construct the matrix representations for Grassmann numbers. For example, we can see from : Grassmann numbers can always be represented by matrices. Consider, for example, the Grassmann algebra generated by two Grassmann numbers 𝜃1 and 𝜃2. These Grassmann numbers can be represented by 4×4 matrices: $$\theta_1 = \begin{bmatrix} 0 & 0 & 0 & 0\\ 1 & 0 & 0 & 0\\ 0 &  0 & 0 & 0\\ 0 & 0 & 1 & 0\\ \end{bmatrix}\qquad \theta_2 =  \begin{bmatrix} 0&0&0&0\\ 0&0&0&0\\ 1&0&0&0\\ 0&-1&0&0\\  \end{bmatrix}\qquad \theta_1\theta_2 = -\theta_2\theta_1 =  \begin{bmatrix} 0&0&0&0\\ 0&0&0&0\\ 0&0&0&0\\ 1&0&0&0\\ \end{bmatrix}.$$ In general, a Grassmann algebra on $n$ generators can be represented by $2^n \times 2^n$ square matrices. Physically, these matrices can be thought of as raising operators acting on a Hilbert space of n identical fermions in the occupation number basis. Since the occupation number for each fermion is 0 or 1, there are $2^n$ possible basis states.  Does there exist a general method to construct these matrices if one has three or $n$ Grassmann numbers? How to connect the relation between the Grassmann numbers and the Ferminoic path integral on QFT? How to understand that "Physically, these matrices can be thought of as raising operators acting on a Hilbert space of $n$ identical fermions in the occupation number basis. Since the occupation number for each fermion is 0 or 1, there are $2^n$ possible basis states."?


What is the difference between wouldn't eat and didn't eat?

He wouldn't eat this morning.   vs      He didn't eat this morning.   Could you explain to me what the difference is?


Last week my network  which completely saturated our 100 MBps link to the internet and pretty much shut down all the sites and services we host.  I understand (from this experience as well as ) that I cannot handle a DDoS attack such as this on my end, because even if we drop the packets they have still been sent over our link and are saturating our connection.  However when this happened my ISP was (strangely enough) unable to tell me where the attack was coming from. They said if I could determine the source (E.G. via tcpdump) I could give them IP addresses to block. But things were so overloaded that running tcpdump was impossible. I just couldn't view the output.  Nearly all our servers are behind a pfSense router. How can I detect a DDoS attack using pfSense so I can tell my ISP who to block? I don't want to block the attack myself, I just want to get alerts / be able to view a list of IP addresses that are using way more bandwidth than normal.  The pfSense router is running Snort, if that can be used to assist in any way.


UK Standard Visitor Visa from USA - What type of Return Shipping label should be purchased

I reviewed many answers and the following ones,   The recommendations provided on the site, helped me with the fact that we need separate return label for each of the family member.  We are a family of 4 applying for UK Standard Visitor visa.  As per the instructions on the UK Visa site, we will be sending documents in the UPS  2nd day Air.    My question is on the Return Shipping label - Can I purchase UPS 2nd Day Ground for the return label or should the return label also be UPS 2nd Day (or Next day) Air?    The cost difference between ground and Air is big - Air is almost twice that off ground.  Looking for clarifications before buying the return shipping label.  Browsing this forum saved me a lot of time and anxiety.  Thanks much for providing the proper responses.


Proof by contradiction that $\sqrt{2}$ is irrational, why assume the fraction is simplified?

As a student with no history of proof-based math courses, I am having some difficulty understanding the proof by contradiction by assuming $\sqrt{2} = a/b$ and that a and b are in least common denominators.   Could you explain how this disproves that it is irrational? Doesn't it just merely disprove that our initial assumption that a and b are even, is wrong?  I'm speaking of the popular proof that is given here:


My system: Dell XPS15 9550  Processor: i7 6700HQ  RAM:   16GB DDR4  Disk:    Samsung pm951 (512GB NVMe SSD)  GPU:   960M  I'm new to Linux so I will dual boot Windows 10 + Ubuntu 16.04. I'm a network administrator, learning Linux Ubuntu until I'm very comfortable with Linux then I will be using Kali to practice pen testing.  How much Swap do I need, other advice?


Where do I ask a question about a company's goal for example?

Let's say a company did something, and I want to know why, where do I ask it? For example, I was going to ask this on Super User but I realized it was out of place:     Windows 10 was said to be free, but now they've taken into account that that's not true; as past July 29 2016 it will no longer be   that way.      So why did Microsoft do this? How would it help filling their wallets?   What was there goal in giving us a free year?       I mean, was their goal to get their OS popular and more famous with   the statistics as "The Most Used OS"? Or did they just be kind or   something?


Continuity defined for rational and irrational numbers

Let $h(x) = x$ for all rational numbers $x$ and $h(x) = 0$ for irrational numbers. I'm trying to show that $h$ is continuous at $x=0$ and at no any other point.  Defintion of continuity at $x_0$: $(\forall x)(\forall \varepsilon > 0)(\exists \delta > 0)$ such that $|x-x_0| < \delta \implies |h(x) - h(x_0)| < \varepsilon$.  For this part of the question I took $\delta = \epsilon$. Then $|x - 0| < \delta \implies |h(x)| < \varepsilon$ because if $x$ is rational, then $x < \varepsilon$ and if $x$ is irrational then $|x| < \varepsilon$.   Defintion of discontinuity at $x_0$: $(\exists x)(\exists \varepsilon > 0)(\forall \delta > 0)$ such that $|x-x_0| < \delta \implies |h(x) - h(x_0)| \geq \varepsilon$.  I tried to divide the problem into two cases:  1) If $x_0$ is rational, then $|h(x) - h(x_0)| = |h(x) - x_0|$. Then pick $x$ to be a irrational number. Then I have $|h(x) - x_0| = |x_0|$. And take $\varepsilon = \frac{|x_0|}{2}$.  2) Now if $x_0$ is irrational $|h(x) - h(x_0)| = |h(x)|$. Now here is where I was unsure of myself: If I pick $x$ to be a rational number, then $|h(x)| = |x|$. I was not sure about choosing $\varepsilon$ so that $|x| \geq \varepsilon$. Would it be valid to take $\varepsilon = \frac{|x|}{2}$? (I mean $|x|$ here and not $|x_0|$)  Could I get some feedback? Thanks!  Edit To finish off the last part, let $\varepsilon = \frac{|x_0|}{2}$. Now I want to choose an $x$ in the rational numbers. I also need to satisfy $x_0 - \delta < x$ (since $|x_0 - x| < \delta$) and $|x| \geq \frac{|x_0|}{2}$. So now I pick $x \in (|x_0|-\delta, |x_0|) \cap (\frac{|x_0|}{2}, |x_0|)$.


I read if I wish to run Windows based programs in Ubuntu without the full licence I need to install wine. Now I typed:   sudo apt-get install wine   After reading package list is done at the end the message says   The following packages have unmet dependencies:     wine : Depends: Wine1.6 but it is not going to be installed  E: unable to correct problems, you have held broken packages .   What can I do?


How would Spanish text at bottom of English content page change how our pages rank?

On our real estate site we are planning to put Spanish text (2-3 lines) at bottom of every page. Except for the bottom part, all the content is in English.  I am new to Page Rank & Google search optimization. So i have few queries related to that:   How this Spanish content will affect rankings? Will it help to search through Spanish words? I mean, if user searches using Spanish words will our pages come in search results?


I tried to watch a movie but the Movie Player won't let me, and a screen popped up saying:   Videos requires to install plugins to play files of the following types: MPEG-1 Layer 3(MP3) decoder, MPEG-4 Video decoder   The pop up won't give me the choice to search for a package like other times and I don't know which to install or what command to use.


Should I be able to downvote my own question to help the community to rid the Internet of it if it is bad?

When I ask a question and it gets downvotes because it is a bad question, should I be able to join into the poo slinging match and downvote my own question? Logically I should be able to as a good citizen. Upvoting my own question would be unfair of course, but downvoting is completely different.


Undergraduate/High-School-Olympiad Level Introductory Number Theory Books For Self-Learning

I don't know whether the books metioned in  are beyond undergraduate/high-school-olympiad level.  Please recommend your favourite.


How to make a computer DNS in local area network?

I am in my college and working on DNS. Whenever, I need to use network, I have to login using 10.2.0.10:8090. Now, some times it becomes tough to do so. For my own system, I know that we can make some changes to /etc/hosts and get the desired result:  127.0.0.1   localhost 127.0.1.1   Shahjahan 10.2.0.10:8090   login   # The following lines are desirable for IPv6 capable hosts ::1     ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters   I want to make my computer a DNS server for the lan. How can I do so. I know I need to define zones and such things. Please link any answer or tutorial. Thanks.


How can I create simple toon colors in Cycles?

I'm having trouble creating toon colors, without shadow. Just clear solid color.  I use 2.75 and 2.76   I get this     How can I create flat cartoon colors?


I am missing something small here, and cannot for the life of me figure it out. I am trying to overwrite a dictionary value at a specific index. So for example:  dict={} values1 = [5,10,20] values2 = [30,40,50] dict['key1'] = values1 dict['key2'] = values2 print(dict['key1']) print(dict['key2']) dict['key1'][1] = 15 print(dict['key1']) print(dict['key2'])   returns:  [5, 10, 20] [30, 40, 50] [5, 15, 20] [30, 40, 50]   Exactly as expected, it overwrote the first key, and index 1 with 15, perfect.  So why does this code below not work the same??  technicianOutput={} monthNumList = [2,3,4,5,6] zeroList = [] staffList = ['joe blow', 'john doe'] for x in range(len(monthNumList)):     zeroList.append(0) for tech in staffList:     technicianOutput[tech] = zeroList print(technicianOutput) technicianOutput['joe blow'][0] = 1 technicianOutput['john doe'][1] = 1 print(technicianOutput)   returns:  {'joe blow': [0, 0, 0, 0, 0], 'john doe': [0, 0, 0, 0, 0]} {'joe blow': [1, 1, 0, 0, 0], 'john doe': [1, 1, 0, 0, 0]}   I am expecting:  {'joe blow': [0, 0, 0, 0, 0], 'john doe': [0, 0, 0, 0, 0]} {'joe blow': [1, 0, 0, 0, 0], 'john doe': [0, 1, 0, 0, 0]}


How to simplify the summation kk! without using induction?

$$\sum_{k=1}^nk(k!)$$  I know the answer is (n+1)!-1..I can solve this question using principle of mathematical induction...but I would like to know if there is any other alternative approach


I have the following class with auto properties:  class Coordinates {     public Coordinates(int x, int y)     {         X = x * 10;         Y = y * 10;     }      public int X { get; set; }      public int Y { get; set; } }   As you can see from the constructor I need the value to be multiplied by 10. Is there anyway to do it without removing autoproperties?  I tried the following not thinking that it causes recursion and then everything goes fubar  public int X { get {return X;} set{ X *= 10;} }   I would like to assign values to X and Y multiplied by 10.  Coordinates coords = new Coordinates(5, 6); // coords.X = 50 coords.Y = 60 coords.X = 7; // this gives 7 to X but I would like it to be 70.


We know that $f(x)=x^4+1$ is a .  My question is:     Is it true that if $f(x)$ has a linear factor over $\mathbb{F}_p$ for every prime $p$, then $f(x)$ has a linear factor over $\mathbb{Q}$?   Edit: Thanks for @Jyrki Lahtonen's answer, I want to do some modifications:     Is it true that if $f(x)$ has a linear factor over $\mathbb{F}_p$ for every prime $p$, then $f(x)$ is reducible over $\mathbb{Q}$?   Thanks in advance!


How does the feedback in this circuit work?

I several hours of researching and examining, there are still questions I have about the feedback of this SMPS.  The LT4430 has a FB regulated voltage of 0.60 V. The way I understand this is.. if the voltage presented at the LT4430 FB pin from the voltage divider at the output is less than 0.60 V, then the following happens...   The LT 4430 will reduce its output voltage at the OPTO pin. The current through the U1 optocoupler LED will drop The current through the transistor will drop The voltage across R7 will drop The LT3751 will adjust to increase the output voltage   And the opposite happens when the voltage at the LT4430 FB pin is above 0.60 V. Is my analysis so far correct?  Then here is what I still struggle to understand..  The LT3751 SMPS-Controller has a regulated voltage of 1.22 V on the FB pin. How does the LT4430 Opto-Driver output the proper voltage to provide feedback about this 1.22 V regulated voltage on the LT3751.  As I wrote the remainder of my question, I think the concept clicked. Still it would help to see someone else confirm or correct it.  For example, if the output voltage is too low, leading to the LT4430 FB reading below 0.60 V, then the feedback voltages and current increase, including the voltage on the LT3751 FB pin. If the voltage on the LT3751 is still below 1.22 V and the output voltage is still below the desired level, then the LT4430 will again increase the output voltage on the OPTO pin. This will repeat until the LT3751 FB is above 1.22 V, at which time the output voltage will increase. Once the output voltage increases past the desired level, the opposite happens. The LT4430 will reduce the voltage on the OPTO pin, decreasing the current through the optocoupler, and reducing the voltage across R7 and the LT3751 FB pin. This is a constant back and forth regulating the output voltage?


Persist the "copy as path" Explorer context menu option

I am a frequent user of the [Shift] + [RightMouse] --> "Copy as Path" feature in Windows Explorer. For those of you who may be unfamiliar with this, it's an easy way to copy a fully qualified path to a filesystem location, which is useful in many scenarios (eg. plugging in a path to upload a file via a web browser).  Since I use the option so frequently, I'm wondering if there is a way to persist this option in the Windows Explorer context menu, so that I do not have to press [Shift] each time.


How can I update to a more recent version of Ubuntu? I did try using the terminal, but again and again the following pops up: Genegeerd http://archive.ubuntu.totaal.net trusty/universe Translation-nl_NL 819 B opgehaald in 10s (75 B/s)                                                 Pakketlijsten worden ingelezen... Klaar W: Er is een fout opgetreden bij de handtekeningcontrole. De pakketbron is niet bijgewerkt en de oude indexbestanden zullen worden gebruikt. GPG-fout: http://dl.google.com stable Release: De volgende ondertekeningen konden niet geverifieerd worden omdat de publieke sleutel niet beschikbaar is: NO_PUBKEY 6494C6D6997C215E  W: Ophalen van http://dl.google.com/linux/chrome/deb/dists/stable/Release is mislukt    W: Sommige indexbestanden konden niet worden opgehaald. Deze zijn genegeerd, of oude versies zijn gebruikt.


Remove numbering from Section and Subsection

I found this  to remove the numbering from sections, but I also don't need numbering on sub- and subsubsections.  I tried to add a second def but then the number on Section is showed again. I am fairly new to Latex and I don't really know what is going on in this code block.  Original:  \makeatletter \def\@seccntformat#1{%   \expandafter\ifx\csname c@#1\endcsname\c@section\else   \csname the#1\endcsname\quad   \fi} \makeatother   Mine:  \makeatletter \def\@seccntformat#1{%   \expandafter\ifx\csname c@#1\endcsname\c@section\else   \csname the#1\endcsname\quad   \fi}  \def\@seccntformat#1{%   \expandafter\ifx\csname c@#1\endcsname\c@subsection\else   \csname the#1\endcsname\quad   \fi} \makeatother


I know this has been asked quite a few times already, however, I still don't have it working.  I'm using Qbittorrent as my torrent program, and I want to be able to open magnet links in Firefox.  I already chose qbittorrent as my magnet application handler (in firefox preferences - applications. I chose qbittorrent, located in /usr/bin/).   It's not working. Whenever I click on "download torrent", nothing happens.  Any ideas?  Now that I took another look on my firefox preferences, I see that "magnet" has still "always ask" as its value. I tried to change it, but I can't. It always goes back to "Always ask".


Let $\theta$ be a root of $p(x)=x^3+9x+6$, find the inverse of $1+\theta$ in $\mathbb{Q(\theta)}$.  So problems like this really annoy me but I did crappy on the last homework after making a lot of arithmetic mistakes so I want to run everything by you guys. This one isn't actually for homework it's just a suggested practice problem but okay lets go!!!  So I'm not sure if the method I used to do this was standard or not, I don't remember my professor showing me, but what I did first was used the canonical euclidean algorithm in $\mathbb{Q[x]}$ and wrote:  $x^3+9x+6$  $=(1+x)(x^2-x+10-\frac{4}{x+1})$  $=(1+x)(x^2-x+10)-4$  the reduced modulo  the minimal polynomial of $\theta$ i.e. $x^3+9x+6$ and so  $4=(1+x)(x^2-x+10)$  $\rightarrow$  $1= \frac{1}{4}(1+x)(x^2-x+10)$ and sooo ah $(\theta^2-\theta+10)\frac{1}{4}$ is what I believe is the inverse of $(1+\theta)$ in the quotient field... Like i said I hate these problems but ehh is this correct? On a lighter note it's finally getting cool enough for me to go on proper runs here and so that's pretty bomb!


How do I get the page title for use in a theme? I'm using Drupal 8.   I've tried searching the Drupal web site and I looked at a few questions on here and I can't seem to figure it out.  Here is what I'm trying in my template_preprocess_page:    $request = \Drupal::request();   $route_match = \Drupal::routeMatch();   $variables['page_title'] = \Drupal::service('title_resolver')->getTitle($request, $route_match->getRouteObject());   However, {{ page_title }} does not work. It seems as if the value is null.


If a linear transformation $T$ has $z^n$ as the minimal polynomial, there is a vector $v$ such that $v, Tv,\dots, T^{n-1}v$ are linearly independent

Let $T: V \to V$ with the minimal polynomial $z^n$. Prove that there's a vector $v$ such that $v, Tv, T^2v, ..., T^{n-1}v$ are linearly independent.   The way I did it orginally was not allowed. No Jordan Forms are allowed because we did not cover them this semester. I asked my professor for a hint and all he said was we need to use induction. I wish I had something to work with, but I'm so  lost. It's my last problem. Thanks!


OpenLayers Plugin Error: latitude or longitude exceeded limits

I'm aware the 'traceback' OpenLayers plugin error has been dealt with before, so apologies for raising the issue once again. Unfortunately for me, the solutions posted were way over my head, e.g. using workarounds and code posted on github, etc. I find it all mind-boggling.  If anyone could post a step by step answer for an absolute beginner like me I would be eternally grateful! Thank you. I hope that one day I can contribute something.  The error message reads:   An error has occured while executing Python code:  Traceback (most recent call last):   File "C:/Users/MCMA1580/.qgis//python/plugins\openlayers_plugin\openlayers_plugin.py", line 48, in addLayer     self.__plugin.addLayer(self)   File "C:/Users/MCMA1580/.qgis//python/plugins\openlayers_plugin\openlayers_plugin.py", line 190, in addLayer     self.__setMapSrsGoogle()   File "C:/Users/MCMA1580/.qgis//python/plugins\openlayers_plugin\openlayers_plugin.py", line 249, in __setMapSrsGoogle     extMap = coodTrans.transform(extMap, QgsCoordinateTransform.ForwardTransform) QgsCsException: forward transform of (0.884883, 2.549197) PROJ.4: +proj=longlat +datum=WGS84 +no_defs +to +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext  +no_defs Error: latitude or longitude exceeded limits


Is it safe to use passwords on Stack Exchange sites following the announcement of ?  Currently,  does not list the sites being fixed.


Why break gets me out of 2 loops at once and how to fix it

Ok, so the idea of the task I have (I am the student) is to allow user to insert a string of words in this form: num1_num2_num3..._numN. The code should create an array X, give it memory dynamically and then I should fill X with numbers from string user inserted.  Simple as that. Well, in the function stringuniz() I thought I had it all figured out but it simply wont work. It gets the first number well but it then stops and I think its because of the break. Break behaves (if I am right) like it breaks the entire code and not just the loop. Do you guys have an idea why is this happening?   #include <stdio.h> #include <stdlib.h> #include <string.h>  void stringuniz(char *); int *x;  int main(){      char s[50];     int i;      puts("Unesite string brojeva u formatu br1_br2_...brN: ");     gets(s);      stringuniz(s);      for(i=0;i<(sizeof(x)/sizeof(int));i++)         printf("%d",x[i]); }  void stringuniz(char *s){      int duz,c=0,i,j,k=0,m=0;     char b[10];      duz=strlen(s);      for(i=0;i<duz;i++)         if(s[i]=='_')             c++;      x=(int*)malloc((c+1)*sizeof(int));     if(x==NULL) exit(1);      for(i=0;i<c+1;i++){         for(j=m;j<duz;j++){             if(s[j]!='_'){                 b[k++]=s[j];                 m++;             }             else{                 b[k]='\0';                 x[i]=atoi(b);                 k=0;                 m++;                 break;             }          }     } }


If $m|n$ and $a$ is a primitive root of $n$, show that $a$ is a primitive root of $m$ (understanding a tip)

I saw the answer to  and it is the same problem, but i didn't get how to use the tip S.C.B gave. This was the tip: $"$First, assume that it is not $a$ primitive root $(\text{mod m})$. Then we have that there exists such $r<\phi(m)$ such that $$a^r\equiv 1(\text{mod m})$$ Now use that, if $n=mk$ $$ϕ(mk)=ϕ(m)ϕ(k)\frac{d}{ϕ(d)}≥ϕ(m)ϕ(k)>rϕ(k)$$ where $d=gcd(m,k)"$ and i saw the answer to this question using group theory, but i want an answer using elementary number theory, if you have a different answer, or tip, it would be good as well. What i tried was this: $n=mk$, then $$a^{\phi(n)}\equiv 1(\text{mod n})\Rightarrow a^{\phi(mk)}\equiv1(\text{mod mk}) \Rightarrow a^{\phi(mk)}\equiv1(\text{mod m})$$ But i don't know how to follow from here


Can ArcGIS and OSGeo4W share the same python install?

I don't like unnecessary duplication. Is it possible to install python only once and have both ArcGIS and  using it?


What do I do when I am unsure if a carbon fiber component is safe to use or needs replacing or repairing?

Intended as a canonical answer to the many questions we have about damage to carbon parts. It is well known that carbon fiber parts can be damaged and fail, and carbon parts can be fragile when stressed in certain ways, but we get a large number of questions on this site asking if a carbon part (Frame, rim, stem) with damage is a concern or not.  Many of these parts are obviously suffering no more than a minor cosmetic blemish, and very few are suffering from clearly significant damage. Most fall into the gap between where physical inspection is required to make an assessment.


How to install Windows 8 in Ubuntu machine?

I have a computer running Ubuntu 12.04 and would like to dual boot Windows 8. Is this possible without harming the Ubuntu installation? Everywhere I have looked said to install windows 8 first. Thanks


Why are the fires of Mount Doom specifically required to destroy the One Ring?

All the volcanoes in middle earth are a throw back to Melkor trying to trash middle earth (executive summary of this ).  Would any other volcano contain enough 'power' from Melkor to do likewise? Or was mount Doom merely the closest?


Showing user ratings for django object list

I have a template which is just a simple list of objects, and I would like to show the current user's rating for each object next to that object. Here are the relevant models:  class Problem(models.Model):     question = models.TextField()     answer = models.TextField()     topic = models.ForeignKey(Topic)  class Attempt(models.Model):     user = models.ForeignKey(User)     problem = models.ForeignKey(Problem)     confidence = models.CharField(max_length=10)     date = models.DateTimeField(auto_now=True)   So the objects are 'problems' (displayed in the list just as their id) and the ratings are 'confidences'. And my template currently lists the problems for a given topic, and I would like to have the current user's confidence (if it exists) for each problem next to that problem.   Any ideas for how I can query for this and send it to / display it in the template? Thanks in advance for your help!  edit: I can alter the models if necessary. The attempts model is only for this, so it could be replaced entirely.


I have a string that I would like to tokenize. But the C strtok() function requires my string to be a char*. How can I do this simply?  I tried:  token = strtok(str.c_str(), " ");    which fails because it turns it into a const char*, not a char*


How do I find the last two digits $2012^{2013}$?

How do I find the last two digits 20122013  My teacher said this was simple arithmetics(I still don't see how this is simple).  I thought of using Congruence equation as 2012 is congruent to 2 mod 10...but i can't get 22013  Can anyone help please?


Unable to find the .lit file reader app clit

I have some lit files I want to convert from Microsoft reader files to something my other devices can read. My friend says I should have clit, in   $ which clit /usr/bin/clit   but I cannot find it. I tried locate clit but the results are unrelated. So then I tried sudo apt-get install clit but it says package not found. Is clit a standard package? where can I find it?


Set the Rotation (in Quaternion WXZY) of a bone using API 2.49

I am using Blender 2.49b, and I have the following hand structure    I would like to rotate the bones "Bone.001" to "Bone.025" using values (Quaternion WXYZ) given as input from text files.  Although I read the text files, I am not sure how to set the rotation values of every bone.   ...          scn = Scene.GetCurrent() arm_ob = scn.objects.active arm_data = arm_ob.getData() bones = arm_data.bones.values()  for bone in bones:     # use bone here     for handIdx in handIndices:         pos = dataStore['Bone'][handIdx-1][frameIdx]         bone.setRotation(pos[0], pos[1], pos[2], pos[3])             bone.insertIpoKey(Object.IpoKeyTypes.LOCROTSIZE)  Scene.GetCurrent().update()   setRotation property doesn't work, giving the following error:  AttributeError: 'Bone' object has no attribute 'setRotation'  Could you please help me to find the solution on this manner.  Thanks in advance for your help and consideration.  Best Wishes,  Andreas  PS: If necessary, I can provide the blender file and code.


Need to make (node setup) of realistic dirt/ grime/grunge on top of image texture of ceramic tiles

I've already created a node setup with bump mapping and gloss, but I have no idea how to add or combine an image or texture to create a realistic dirty/worn look on the clean tiles. I tried the tutorial  , and I can bake the image but I am not sure how I would combined them to give the desired effect.  The image I wish to improve on or change (add dirt to) can be found here.   Any advice would really help me out! Thanks


Convert List(of object) to List(of string)

Is there a way to convert a List(of Object) to a List(of String) in c# or vb.net without iterating through all the items? (Behind the scenes iteration is fine – I just want concise code)  Update: The best way is probably just to do a new select  myList.Select(function(i) i.ToString()).ToList();   or  myList.Select(i => i.ToString()).ToList();


Given two points on a manifold, is there a chart containing both?

Consider a connected manifold $M$ and two distinct points $p,q$ on the manifold. Is it true that there exists a chart containing both? How can one prove this result?  OBS: I've seen an answer on the internet which relied on taking a path from $p$ to $q$, using a tubular neighbourhood and arguing that two charts on $p$ and $q$ together with the neighbourhood would give something diffeomorphic to $\mathbb{R}^n$, but this isn't clear to me at all.


Prove that $\lim_{x \to 0} \frac{f(x)}{x}=0$

Problem: Given $\lim_{x \to 0} f(x) =0$ and $\lim_{x \to 0} \frac{f(2x)-f(x)}{x}=0$.   Prove that $\lim_{x \to 0} \frac{f(x)}{x} =0 $.  I observed that just proving that $\lim_{x \to 0} \frac{f(x)}{x}$ exists will finish the problem. But I am unable to do that.  Also, from the hypothesis we get that, for every $\epsilon > 0$ there exists a $\delta$ such that whenever $|x| < \delta $, we have  $\frac{|f(x)|}{|x|} < \frac{\epsilon}{|x|}$ AND $\lim_{x \to 0} \frac{f(2x)-f(x)}{x} < \epsilon$  Now adding the last two inequalities applying the triangle inequality, we get   $\frac{|f(2x)|}{|2x|} < 2\epsilon({1+\frac{1}{|x|}})$.  But i could not proceed.  Please help me with this problem.


Sum of a weird almost-geometric series: $\frac{1}{365}\sum_{x=1}^{\infty} x\left(\frac{364}{365}\right)^{x-1}$

I've taken Calc 2 before, so I'm sure I've seen this, but it's coming up in some probability homework and I'm having trouble with it. I've looked around the internet a bunch, and I see examples of things similar to this, but not quite this.     $$\frac{1}{365}\sum_{x=1}^{\infty} x\left(\frac{364}{365}\right)^{x-1}$$   Looking at wolfram alpha and such, I know it's 365, because the sum comes out as $365^2$, but I'm having trouble figuring out why. Which really sucks because then immediately after figuring that out, I need to move onto figuring out  $$\left(\frac{1}{365}\sum_{x=1}^{\infty} (x^2)(\frac{364}{365})^{x-1}\right) - \left(\frac{1}{365}\sum_{x=1}^{\infty} x(\frac{364}{365})^{x-1}\right)^2.$$  Like I say, I have no trouble punching all this into calculators and figuring it out, but assuming I'll be tested over this or a problem similar to it, I'd like to just figure out why it is the way it is.  P.S. Sorry for the bad formatting. First time using stack exchange and it took me a while to even figure out what I did haha.


Why are my questions and answers showing identicons instead of my profile pic?

I have set a profile picture:          Yet my answers/questions show an identicon.     Hovering over the identicon shows my profile picture again    Why's this happening? Same behaviour is consistent across the network and in Incognito mode


proof of relation between euler's totient and pillai's arithmetical function

[ P ( n ) = ∑ gcd(k,n) for k=1 to n   is equivalent to    P(n)=∑d * φ(n/d) for all d such that d is divisor of n and phi is euler totient function.   ]


Abuse over celebrity for Harry Potter: Did Dumbledore choose correctly?

‘[...][Harry'll] be famous – a legend – I wouldn’t be surprised if today was known as Harry Potter Day in future – there will be books written about Harry – every child in our world will know his name!’   ‘Exactly,’ said Dumbledore, looking very seriously over the top of his half-moon glasses. ‘It would be enough to turn any boy’s head. Famous before he can walk and talk! Famous for something he won’t even remember! Can’t you see how much better off he’ll be, growing up away from all that until he’s ready to take it?’   Philosopher's Stone - pages 15 - 16 - chapter one, The Boy Who Lived   Did Dumbledore choose correctly?  Knowing what we do about Harry and his canon character attributes (And faults, too!), was Harry really better off enduring eleven years of physical and emotional abuse at the hands of the Dursleys than eleven years of celebrity and fame in the wizarding world? I'm sure we've all read about child celebrities who have done well handling fame, and some who have not fared so gracefully.   Would Harry have endured celebrity as stoically as he did the Dursleys' abuse? Did Dumbledore make the right choice in leaving Harry with the Dursleys instead of letting him grow up in the wizarding world?  Was Harry really better off?  ETA: I'm looking for an answer grounded in Harry Potter canon and written in the spirit of canon. Please do not pair Harry with Elle Fanning or opine that he's secretly an American ;) Thanks!


How much work can a force on a spring do? (Why are two methods wrong?)

This was a question my friend found in a book.  A block attached to a spring pulled by a constant horizontal force is kept on a smooth horizontal surface. Initially the spring is in its natural state. Then the maximum work that the applied force F can do is:  (a) $F^2/k$ (b) $2F^2/k$ (c) $4F^2/k$ (d) $F^2/2k$  My friend thought that the answer is (a) since the maximum displacement is $x=F/k$ and $W=Fx=F^2/k$. But he saw that the book's answer is different and he asked this question to me. I at first thought that the answer will be (a), but then I realised that this situation is somewhat similar to a charging capacitor. The final energy of the spring is actually $\frac12kx^2=F^2/2k$. So probably the answer is (d)? But the work done is still (a)? But the book says neither. It's (b). This is the logic in the book:  Method 1: in the book:  $$Fx=\frac12kx^2$$  $$x=2F/k$$  $$W=\frac12kx^2=2F^2/k$$  (since the book is an objective questions book it did not have detailed explanations)  What is wrong in the following methods?  Method 2: by calculating the maximum displacement  $$x=F/k$$  $$W=Fx=F^2/k.$$ Method 3: by calculating the final energy  $$x=F/k$$  $$\frac12kx^2=F^2/2k$$  PS: We both know calculus so don't hesitate to use it in the answers.


Does any ordinary object emit radiation due to Unruh effect and equivalence principle?

I am just wondering is there Hawking radiation for any object (that has mass) due to its gravity. Base on the Unruh effect and equivalence principle, any object should emit Black-body radiation or Hawking radiation. So you can boil a pot of water by putting it close by a massive object.


I'm having a rough time getting Ubuntu to run from a 250 GB USB hard drive.  I booted Ubuntu 9.10 from a CD and ran the regular "install" to the attached USB drive. I used the "advanced" option on the drive partition question to put the boot loader on /dev/sdb (the USB disk) but when I boot the machine it doesn't recognize there's a boot loader on the USB drive (it offers to boot from 2 other devices but not the USB disk).  I also tried booting from the Ubuntu CD and using usb-creator-gtk to set up the USB drive. Seems to me this is meant to work with flash drives. I got a bootable USB disk but it looked and worked like the CD, i.e. it gave me options of "live CD" operation, installing, memtest, etc. That's not the way I want to run the system.  Some help in installing Ubuntu, bootable into a "full" running system on my USB drive would be appreciated.


How did solving gravity help cure the blight?

Considering the movie Interstellar, I just did not understand how solving the equation saved the earth from the Blight. As I understood, the equation had to do with gravity. What was the relation of gravity with a massive infestation of a microorganism?