Recently I have learned about the one truly amazing cheap flight finding service, . But it's not a travel agent, it's only a search engine.  So this site gives you the full and precise details of the flight that you must quote to a travel agent and in theory the agent should be able to book you a ticket on that specific flight and get very close to the price the site quoted.  I am assuming there are other ways besides this flight search engine to find specific flight details where you can't necessarily buy the tickets, so my question is:  When I have details of a specific flight I want to book at a quoted price, but I don't have access to a physical travel agency, is there somewhere I can book that flight online? (Especially when I'm in a strange foreign country on the other side of the world?)

I am trying to book a roundtrip ticket from Chicago O'hare (ORD) to Mumbai, India (BOM). Traveling on Aug 9th and returning on Aug 24th. Now, I've been looking for several days (almost 10days!) for ways to book this itinerary I found on ITA. All other websites like Expedia, Kayak, Travelocity, Momondo, RouteHappy, and even google flights are quoting around $1200 roundtrip cost, sometimes as low as $1150. But the ITA Matrix website shows me several options, the lowest is $916 roundtrip.      You can see there are several flights in the $900 range.     For the return trip there is only one option to get the low price.  Selecting the flights this is what I get:      I'm not sure how to use the fare codes the ITA website provides to purchase this itinerary.  These are some of the things I have tried to book the complex multi-carrier flight from ITA:  My first method was to try coding into HIPMUNK, using the multi-city option, my departure, connections, airlines flights number and dates. Following this method:     And the results page:    Here's what my code into HIPMUNK looks like:  ORD::LH9151 FRA LH756 for the first journey and   BOM::LX155 ZRH SN5104 BRU SN8803 for the return trip.  Don't think I'm making any mistakes in coding it, but there are two adjustments I also made which failed:   I used the dates of the first leg of the flight then tried using the other dates as well. So for example Aug 9th and Aug 10th. I used the codes for the operating carriers and when it didn't work, the marketing carrier leaving the flight number unchanged.   This always returned no results. Breaking up the itinerary to just the oneway from ORD to BOM worked but gave me a price of $624. For some reason the second return trip was creating problems. I tried breaking he return trip down into different segments but no luck. Anyone knows why the return trip is creating difficulties? Coding issues/ hipmunk doesn't have such a large database?   Then I tried method 2: Calling up the airlines  United was able to find all the segments, even price it correctly sometimes (sometimes not) and gave me a confirmation number. I was to call them in 12hrs to check if they were able to procure the seats but when I did call they were not able to get the seats for the SWISS flight from BOM to ZRH and/or from ZRH to BRU. I've tried this at least 5 times changing small things everytime, but the same result. It seems Lufthansa waits for SWISS to confirm the seats but SWISS doesn't respond in time and I'm not able to book.  I tried calling Lufthansa but they were not even able to find the segments and instead told me to look at booking online where I will be able to find it cheaper.  Any insights into the methods that failed or suggestions on how to book this itinerary at the $900 price will be much appreciated. Thanks in advance.


I have a problem to identify whether a software (an application) comes from legal version or pirated version (crack)?  Please help me out. I would appreciate for any suggestion.  Thanks.

This is a  about Licensing.    Questions on licensing are off-topic on Server Fault.  If your question has been closed as a duplicate of this question, then this is because we want to help you understand why licence questions are off topic rather than just telling you "it just is". In all likelihood, this question will not address your question directly, it was not meant to.    I have a question regarding software licensing. Can the Server Fault community please help with the following:   How many licenses do I need? Is this licensing configuration valid? What CALs do I need to be properly licensed? Can I run this product in a virtual environment? Can I downgrade this product to an earlier version? Am I entitled to feature X with license Y?


I have made two accounts and they are both stuck on the Pokeball loading screen, what I'm saying is the Pokeball keeps spinning and I cannot get on the game. I'm turning my phone into airplane mode does not work.

Pokemon GO isn't working at all for me right now. I'm in one of the following circumstances and can't do anything:   My game is displaying a "Try Again" message I'm stuck on the Loading Screen When I sign in I get a message that the servers are experiencing problems. I see the map but nothing is loaded, and my team color is wrong The "loading" Pokeball just ends up spinning and I can't catch or interact with things When I try to catch a Pokemon, the Pokeball just sits on my screen doing nothing Gym opponents will drop to 1 HP and won't take any more damage or attack When I open a pokestop, the pokestop image and the name of the pokestop does not load.   What's causing this? Is there a way to fix it?


In my company I do not have sudo or root access to the Linux server but I still want to install my softwares and customize it to my taste.  What is a good practice to install applications to your 'user' directory that won't require root/sudo access. I've ran into multiple problems when trying to do this, that's why I don't want to focus this question to one particular application, but a general thumb rule on how to go about this process so that you don't create more problems than you solve.  Linux Info:  cat /etc/*-release SUSE Linux Enterprise Server 10 (x86_64) VERSION = 10 PATCHLEVEL = 3 LSB_VERSION="core-2.0-noarch:core-3.0-noarch:core-2.0-x86_64:core-3.0-x86_64"

Assume I have ssh access to some Ubuntu server as user and I need some not system tools to be installed for convenience (mc, rtorrent, mcedit). I do not want to bother admins for these small programs.   Is there a way to install them (make them run) without using something like sudo apt-get install?


Let $A$ be a square matrix. The determinant of $A$ can be defined as $$\sum_{b\in S_n}a_{1b_1}a_{2b_2}...a_{nb_n}$$  Not breaking this down further, apart from the fact that the first term of this sum is always the product of the terms in the main diagonal of $A$. We take one term from each row and choose the column according to the permutation $b = {1,2,3,...,n}$. If two rows are now interchanged, so does the permutation change its parity from even to odd. Therefore the sign of the determinant is changed as well.  For example, if we swap rows 2 and 3 in a $3 \times 3 $ matrix the first terms $$a_{11}a_{22}a_{33}$$ $$a_{11}a_{32}a_{23}$$ which can be rewritten as $$a_{11}a_{23}a_{32}$$  Which corresponds to an odd permutation. I think my idea is correct, but I'm not sure if its appropriately explained here - thus the example.

I was wondering if someone could help me clarify something regarding the effect of swapping two rows on the sign of the determinant. I know that if $A$ is an $n\times n$ matrix and $B$ is an $n\times n$ matrix obtained from $A$ by swapping two rows, then $$\det(B)=-\det(A)$$ but I don't know how to prove this. I have been looking for proofs at internet, and read in both in textbooks and lectures notes that are available that this result is very hard to prove and most approaches rely on induction and so was wondering if there is something wrong with using that $\det(AB)=\det(A)\det(B)$ and then writing $B=EA$ where $E$ is an elementary matrix swapping two rows and using this result to get $\det(B)=\det(E)\det(A)=-\det(A)$ (since showing that $\det(E)=-1$ in this case is not that hard).


When the last few MCU movies came out, there had been corresponding sequences and tie-ins with the ongoing Marvel's Agents of S.H.I.E.L.D. series.  Winter Soldier's introduction of Hydra-within-SHIELD fell right into lockstep with the series' traitor plotline.  Thor 2 lead into the series' team having to do cleanup in the UK.  Age of Ultron revealed that Coulson's super-secret plan was actually readying a SHIELD Helicarrier for Fury's use.  Now, I admit that I sped through the last six episodes of S.H.I.E.L.D. in preparation for watching Civil War this weekend, so maybe I missed something.  However, I didn't notice any particular lead up to anything revealed in the movie this time around.  Did I miss anything?  Yes, I caught the cute little reference of HIVE/Ward saying "Only billionaires can have super suits and only the government can make super soldiers, which will lead to a war of its own", but was that it?  Did anything else from the series have any impact or cause any revelations in the movie?  Regarding the question  that question is from 7 months ago and does not address the movie that came out this weekend.

I've kept up to date with the movies from the MCU, but I am grossly out of date with the TV series, of which I think there is only Agent Carter (not as relevant for the movies I think, besides that scene in Captain America 2), and S.H.I.E.L.D. (which from what I've seen seems more relevant, with  coming in phase 3).   I've gained what I can from . But I can't tell which of the episodes listed are relevant to the movies (clearly, it seems that none are essential), and which movies are relevant to the episodes.  So which episodes are related?


Code  public class Foo {      public static void main(String[] args) {          //declaring and initializing String variable 'str' with value "outside"         String str = "main";          //declaring and initializing Array 'array' with values         String [] array = {"main"};          //printing values of str and array[0]         System.out.println("str : " + str + " , array[0] : " + array[0]);          //calling function foo()         foo(str, array);          //printing values after calling function foo()         System.out.println("str : " + str + " , array[0] : " + array[0]);     }      static void foo(String str, String[] array){         str = "foo";         array[0] = "foo";     }  }   Output  str : main , array[0] : main   str : main , array[0] : foo   Question  Why does the string str remains same as "main" but the value of array[0] gets modified from "main" to "foo" after calling the function foo()? Shouldn't the effect be the same?

I always thought Java uses pass-by-reference. However, I've seen a couple of blog posts (for example, ) that claim that it isn't (the blog post says that Java uses pass-by-value). I don't think I understand the distinction they're making. What is the explanation?


Any issues with getting a new 61W USB-C Apple power adapter, buying a Magsafe 2 to USB-C cable and using it with my old Mac Air Mid-2012? I am sick of the old 45W adapter breaking all the time, the outer coating splits/frays and it would be nice to be able to just replace the cable if that happens vs. the whole adapter. If it will work, any recommendations for the USB-C to Magsafe 2 cable?  I have seen mixed reviews and I am not sure if its because they just should not be used or I am just finding cheap cables.

I have a 2015 MacBook Pro with a MagSafe 2 charging cable. My wife has a new MacBook Pro from 2016 with USB-C. I was wondering whether I could technically (in the matter of electronic feasability) use her charging cable on my MacBook and vice versa with some sort of adapter / dongle, and, if so, where I would get one?


Should I say, "those glasses looks familiar" or "those glasses look familiar". Or both can be used?

My glasses (was/were) lying on the table.   My trousers (is/are) torn.   (This/These) binoculars (was/were) gifted to me.      I know they're in plural form, but plural nouns such as rickets, measles are disease names, but they take singular verb.


In the book "Elements of Statistical Learning", early on the author is discussing linear regression, and naturally discusses the residual sum of squares (RSS) based on the parameter space $\boldsymbol{\beta}$. In the general formulation, $\text{RSS}(\beta) = (\boldsymbol{y} - \boldsymbol{X}\beta)^T(\boldsymbol{y} - \boldsymbol{X}\beta)$ where $\boldsymbol{X}$ is an $N \times p$ matrix and $\beta$ is a $p \times K$ matrix. The author then says to minimize RSS, you differentiate with respect to $\beta$ and get $\boldsymbol{X}^T(\boldsymbol{y} - \boldsymbol{X}\beta) = 0$  My question is, what are the mechanics of differentiating with respect to the matrix $\beta$? I have a B.S. in physics, so I have a reasonably sophisticated math background, but I never covered this in my undergraduate education. I tried looking a bit into "Matrix calculus", but it wasn't much help. Is that the correct term? If this is the language used in the remainder of the textbook, what are some good resources somewhat familiar with vector calc and linear algebra to learn "matrix calc"?

I am reading Elements of Statistical Learning, and they derive the equation for linear regression using differentiation on a function which takes a matrix as input. This is making my head spin a bit and I am looking for some resources to practice this type of differentiation, and become more comfortable with it.  This is the problem. Let $X \in \mathbb{R}^{N \times p}$, $b \in \mathbb{R}^{p \times k}$, and $y \in \mathbb{R}^{N \times k}$.  Define $RSS(X, y) = \operatorname{tr}[(Xb - y)^t(Xb -  y)]$.  I want to differentiate $RSS$ with respect to $b$ and set the derivative to zero since I want to minimize the function, $RSS$.  The book claims this is $X^t(Xb - y) = 0$, which gets us, $b = (X^tX)^{-1}Xy$ if $(X^tX)$ is singular. It does not show how it applied the derivatives (which is expected since thats not what this book is about).  I can sort of reason that we have some sort of product rule happening. It seems likely that $d/db(\operatorname{tr}(A)) = \operatorname{tr}(d/db(A))$. But right now I am just writing down symbols that somehow represent some ideas in my head.  In my Principles of Mathematical Analysis book (by Rudin) he covers when the input is a vector, and the output can be a vector. However, this seems to be input is a matrix, and the output in some of the subproblems is a matrix.  Any recommendations for books I can look at?


I tried everything but this error persist continuously in Intel graphics installer for Linux   error occurred while updating the package cache.  error :  W:GPG error: https://download.01.org saucy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A902DDA375E52366, W:Failed to fetch cdrom://Lubuntu 13.10 _Saucy Salamander_ - Release i386 (20131016.1)/dists/saucy/main/binary-i386/Packages  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs , W:Failed to fetch cdrom://Lubuntu 13.10 _Saucy Salamander_ - Release i386 (20131016.1)/dists/saucy/multiverse/binary-i386/Packages  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs , W:Failed to fetch cdrom://Lubuntu 13.10 _Saucy Salamander_ - Release i386 (20131016.1)/dists/saucy/restricted/binary-i386/Packages  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs , W:Failed to fetch cdrom://Lubuntu 13.10 _Saucy Salamander_ - Release i386 (20131016.1)/dists/saucy/universe/binary-i386/Packages  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs , E:Some index files failed to download. They have been ignored, or old ones used instead.   I m using Lubuntu 13.10.  How can i fix this ?

When updating I got this error message:  W:Failed to fetch cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012)/dists/oneiric/main/binary-i386/Packages  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs W:Failed to fetch http://ppa.launchpad.net/synce/ubuntu/dists/your_ubuntu_version/main/source/Sources  404  Not Found   What to do?


I have the following code:    console.log("1-"+parseFloat($('#pval').text().replace(',','.')));  console.log("2-"+parseFloat($('#pvig').text().replace(',','.')));  console.log("3-"+parseFloat($('#potr').text().replace(',','.')));  var aux = parseFloat($('#pval').text().replace(',','.'))+parseFloat($('#pvig').text().replace(',','.'))+parseFloat($('#potr').text().replace(',','.')); console.log("4-"+aux);   Which returns :      1-1.5      2-2.52      3-0.18      4-4.199999999999999 //<-This is the problem   Why is this simple sum, losing 0.000000000001 ? How should I repair it? I already tried  aux=Math.round(aux*100)/100;  But itsn´t actually working.  Any help will be preciated.     The values of those camps  id(pval)=1,5  id(pvig)=2,69  id(potr)=0,18

Consider the following code:   0.1 + 0.2 == 0.3  ->  false   0.1 + 0.2         ->  0.30000000000000004   Why do these inaccuracies happen?


I run a 13.04 on one of my laptops, now someone brought me the 13.10 iso image (I work in rural Africa), yet upgrading to 13.10 didn't work:   I created a liveUSB I rebooted from it Chose "Install 13.10" I could see the option "upgrade from 13.04 to 13.10", but couldn't select it.   Parallel-installation is not an option, to be frank. Any ideas?

I've downloaded Ubuntu 13.10 daily CD and I want to upgrade all my computers using this Live CD (they all run Ubuntu 13.04 presently).  How can I upgrade to Ubuntu 13.10 exploiting the packages in the CD? Is there any standard procedure for this?  I tried this:   I rebooted into Live CD, searching for an option like "Upgrade from 13.04 to 13.10" (I think it used to appear in the alternate CD) but found nothing like that. -EDIT- Even if the option is not present it is possible to "mimic it" by entering manual partitioning and tell Ubuntu to reuse the existing partitions without formatting them. Ubuntu will keep user's data and install the updated software. Nevertheless this is not a viable solution because after the upgrade one has to reinstall all the programs he needs, since it is like having a vanilla Ubuntu. I booted into Ubuntu 13.04 and added the CD to my software sources. I then proceeded with the upgrade however the CD was never accessed and everything was downloaded from the web.   I know, I know... I have other options rather than using the Live CD, namely:   Forget the CD and setup apt-cacher in the LAN Copy the deb files from the CD into /var/cache/apt/archives/   But this looks unreasonable to me... Why can't I insert the CD and exploit its contents? I would like to avoid apt-cacher and if possible avoid also manually copying the packages.  Any idea on how to accomplish this?


I have a grid of points extracted from a raster. I need to give them a new ID value to be able to join values from it to another grid in rotated system of coordinates.The automatically generated ID goes from top-left to the right and I need it to be from top-left down.  Something like this:  Current:  1   2   3   4  5   6   7   8  9 10 11 12  What is needed:  1  5  9  2  6  10  3  7  11  4  8  12  I have 122140 features so I'd rather not do it manually. I use QGIS 2.8.2 and ArcGIS 10.1. No programming skills for the time being.

I have used the Grid index feature tool to create an index grid. The label/attribution of the page names are populated in a "row" orientated manner. eg lef to right a1,a2,a3,a4,a5,a6 b1,b2,b3,b4,b5,b6 c1,c2,c3,c4,c5,c6  How can I calculate a field so I can have the page names label/attribution in a "column" orientation?eg:  a1,b1,c1,d1,e1 a2,b2,c2,d2,e2 a3,b3,c3,d3,e3 a4,b4,c4,d4,e4


Is a Java program debuggable only when the VM is running in Debug Mode? Is there any way to change it at runtime?

Normally to attach a debuger to a running jvm you would need start the jvm with arguments such as the following:  > java -Xdebug -Xrunjdwp:transport=dt_socket,address=1000,server=y,suspend=n   Now if I want to debug a process that wasn't started in debug mode, what can I do?  This situation arrises when a production system (i.e. started without debug args) exhibits a 'random' (I use the term loosely) bug. So I can't restart the jvm with the appropriate arguments, because nobody knows how to reproduce the bug again. Is it impossible to attach to the JVM in this situation?  Just to clarify it is not possible to use tools like jdb to attach to already running JVMs unless they were started in debug mode  from the JVM man page     Another way to use jdb is by attaching it to a Java VM that is   already running. A VM that is to be   debugged with jdb must be started with   the following options:


I have to automate the "imitation" of a "human" by using a webbrowser that supports javascript.   I need it because there is a javascript link on the website that can be only used if the webbrowser supports javascript, so curl/wget cannot do it.   Question: How can I do this on a Linux terminal? Or is it impossible?

I have some "corporative" systems I have to use at work. Some of them are terrible, with frames, pop-ups and such.  I was thinking about automating some stuff using curl or something like that. I need login, click on hyperlinks, set some data, and them do some post.  Is it possible to use curl? Or am I'm going to be better using something like Selenium?


I have some suggestions on down-voting.   If a person has performed a downvote on particular post without telling the reason behind it, then how can the OP knows why his/her post is downvoted? Of course the SO shows this Ajax reminder:  Please consider adding a comment if you think this post can be improved   I think this reminder is being neglected in most of the cases.  My Suggestion:     In this case there is a need to make the reason behind downvoting mandatory.   OR     At least the OP should be able to know the person who downvoted his/her post.   so that the OP can ask the particular person to know the reason behind the downvote. It also helps the OP to modify the question as per the reason/suggestion stated.  Of course there is a tooltip on the downvote button itself :  "This question does not show any research effort; it is unclear or not useful".   This is also been neglected in some of the cases.  Eg;- Why  Question got a downvote of -2? I don't see any reason for downvote.  Question-ban:  So the user gets a question-ban if most of his/her questions get downvotes. This  on SO clearly states this:  **Stack Exchange cannot lift question bans by request**   I think the SO is not being user-friendly at this point.  What if the downvote stays for the question/questions even after improving the post/posts? Then that user is banned for asking a question on SO permanently?  My suggestion:     The question-ban should be made as temporary for some period of hours or days.   Any other suggestions are also welcomed! Thanks!

Note: If you're looking for a simple explanation as to why comments aren't required on downvotes, see .   I used to get "upset" (though that is too strong a term) when I got downvoted without comment. If my answer isn't good enough then I'd like to know why. Not only does it improve the answer for the OP but it improves my knowledge too.  Where the down-vote has been explained I've found it useful & it has improved my answer, or forced me to delete the answer if it was totally wrong.  So is there any way we can encourage people to leave a comment? Perhaps they don't lose rep if they explain their down-vote?  I must admit though that I haven't always explained my down-vote either so you could call me a hypocrite. I've also grown a thicker skin over the months of using SO (it seems to have come with the higher rep score ;-)), so I'm less bothered about this now.


No problem when "I began to learn English in 2000". But what if "I began to learn English from 2000 till now more times without success".  Verb begin something that happens in a moment, not something continuously. After that does this correct:     I have been beginning to learn English since 2000, but never continuous consistently, tenacious till now.


I want to create a new user (or group), so that any application running with this user can't connect to the network.  @Michael Kjörling I have followed your suggestion(with Ubuntu 12.04 64bit) and got some error information:  $ sudo iptables -A OUTPUT -m owner --uid-owner xyz ! -i lo -j REJECT --reject-with network-unreachable iptables v1.4.12: unknown reject type "network-unreachable" Try `iptables -h' or 'iptables --help' for more information.  $ sudo iptables -A OUTPUT -m owner --uid-owner xyz ! -i lo -j REJECT  iptables v1.4.12: Can't use -i with OUTPUT  Try `iptables -h' or 'iptables --help' for more information. $ sudo iptables -A OUTPUT -m owner --uid-owner xyz ! -j REJECT  iptables v1.4.12: cannot have ! before -j Try `iptables -h' or 'iptables --help' for more information.   Finally, the following one works. But I'm not sure if there is anything wrong.  $ sudo iptables -A OUTPUT -m owner --uid-owner xyz -j REJECT  $

Let's say there are two users on the LAN, A and B. How do I restrict user A from internet access using iptables rules and saving the rules so that after reboot, they are still effective. Suppose also that I want to grant that user access at some point; how do I enable it again? I am using Ubuntu Linux 10.04. It would be nice if anybody show me how to do it from the command line, as I often login to the machine using a local ssh login.


I'm a beginner in javascript programming and I notice that there are some cases where a function is defined as   myfunc : function() {...},   and other cases where it is defined as:  function myfunc(){...}   Can someone explain what the difference is, and when should one be used over the other.

I've recently started maintaining someone else's JavaScript code. I'm fixing bugs, adding features and also trying to tidy up the code and make it more consistent.  The previous developer used two ways of declaring functions and I can't work out if there is a reason behind it or not.  The two ways are:  var functionOne = function() {     // Some code };     function functionTwo() {     // Some code }   What are the reasons for using these two different methods and what are the pros and cons of each? Is there anything that can be done with one method that can't be done with the other?


For the polynomial $x^3 + x + 1$ and trying to prove that it is irreducible over the field $\mathbb{F}_2$, I was told that since $f$ is a degree 3 polynomial that it is simply enough to verify that there are no roots in $\mathbb{F}_2$. What does this have to do with irreducibility?  The calculation is simple enough but I don't understand why this verification can show irreducibility.

I want to argue that argue that $\pi(\alpha)=\alpha^3+3\alpha+3$ is an irreducible polynomial over the finite field with 5 elements $\mathbb{F}_5$. My approach was just to check that $\pi$ has no roots in $\mathbb{F}_5$. Is this right?


Admin note: This question is different then why is sudo path different then su because the environmental variables in a bash script ran from cron do not appear to carry over from environmental variables set for either users as sudo or as su. (See everything after the BUT.)  When running sudo su and showing paths, I have /usr/local/bin in my path. I have several custom apps I put in that folder in the intent of making them available system wide. In etc/sudoers, /usr/local/bin is in the secure_path.   BUT  When running a bash script executed as root via a cron job, /usr/local/bin is apparently not preserved in the path as I get command not found when attempting to run apps that are installed there, despite the fact they are in /etc/sudoers.  How do I get these apps to be available to root?  Ubuntu 16.10

On my fedora VM, when running with my user account I have /usr/local/bin in my path:  [justin@justin-fedora12 ~]$ env | grep PATH  PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/justin/bin   And likewise when running su:  [justin@justin-fedora12 ~]$ su - Password:  [root@justin-fedora12 justin]# env | grep PATH PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/justin/bin   However, when running via sudo, this directory is not in the path:  [root@justin-fedora12 justin]# exit [justin@justin-fedora12 ~]$ sudo bash [root@justin-fedora12 ~]# env | grep PATH PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/sbin:/bin:/usr/sbin:/usr/bin   Why would the path be different when running via sudo?


Here is the back story. A developer created an EXE program. The exe program has the ability to access a SQL Servre database. In order to do that we create an Active Directory group. Let's call this group AppAdmin. The EXE program use windows integrated security to connect to the SQL Server database.  In order to use this EXE program, the user must belong to the APPAdmin group. The AppAdmin group then now set the membership as DB_Owner for the database. This setup has been like this for a few years. and it is running fine. The user is only limited to what the EXE program can do.   Now here is the complication. One user one day decided to install SQL Server Management Studio Express. Let's call this guy JOE. and JOE is a member of APPAdmin group.  Now I am assigned to find away to protect the database from JOE breaking it using SQL Server Management Studio.    I am wondering if there is a way to restrict JOE when he is connecting using SQL Server Management Studio?   What are you suggestion ??  Changing this EXE program seems to be out of the question because it is big and I might break it if I start changing how the EXE program connect to the SQL Server database  Thank you

I have an app to deploy in production that uses 'honor system' security. That is, all users connect to the DB using a SQL user/passwd credential and the app manages permissions itself. The latter part doesn't bother me as much as the fact that the connection object contains embedded credentials and can be copied around freely. I'm try to find some way to limit connections to a more limited set of clients. I can create firewall rules to limit by IP, of course. Is there any way to 'prequalify' SQL logins either by Machine account or domain membership?


I'm not aware of everything that is in The Flash lore (comics, animated series, etc.) but I did watch some of it to notice that, I never saw an explanation on how he can breathe when running? By that, I mean, the faster you run, the more you would normally breathe. I understand it's either probably just omitted for the plot/because it's fiction, or maybe it's explained somewhere I overlooked. As for which instance of "The Flash" I'm referencing... well, I wouldn't know myself given I don't know enough of the lore (as already stated) but I guess it can be taken as a "general" question, rather than specific.

How do the Flashes breathe utilizing their super speed? The air pressure would be extreme. Do they run in a pressurized bubble?


I have a very simple program in C with a header .h:  listas_enlazadas.c  #include <stdio.h> #include <listas_enlazadas.h>  int longitudl(struct lista *l) {     struct lista *p;     int n;     n = 0;     p = l;     while (p != NULL) {         ++n;         p = p->sig;     }     return n; }   int main() {     // Declaración de lista     struct lista *l;     // Inicialización de lista vacía (l=∅)     l = NULL;      longitudl(l);      return 0; }   listas_enlazadas.h  #ifndef LISTAS_ENLAZADAS_H #define LISTAS_ENLAZADAS_H  // Definición de nodos que conforman // la estructura de la lista struct nodo {     int id;     struct nodo* pSig; };  // Lista simplemente enlazada struct lista {    struct nodo nodos;   struct lista *sig; };  #endif   In my IDE there are no errors marked and I can navigate between the structure without problems.  But when I try to compile with gcc, in the simplest way (gcc listas_enlazadas.c), throws me the error:  listas_enlazadas.c:2:10: error fatal: listas_enlazadas.h: No existe el fichero o el directorio     2 | #include <listas_enlazadas.h>       |          ^~~~~~~~~~~~~~~~~~~~ compilación terminada.

In the C and C++ programming languages, what is the difference between using angle brackets and using quotes in an include statement, as follows?   #include <filename>  #include "filename"


Is the polynomial $x^{10}+x^9+x^8+x^7+x^6+x^5+x^4+x^3+x^2+x+1$ irreducible in $\mathbb{Z}_{17}$? I don't know how to solve it. Thank you for any help!

I want to know if there is a way to decide if a cyclotomic polynomial is irreducible over a field $\mathbb{F}_q$?


I've heard about:   JDloader,  ,   etc.    But what are the pros and cons of these softwares? Which one would you suggest to me to be the most reliable and fastest?  Thanks Jye

This question exists as it fills a specific criterion.  While you are encouraged to help maintain its answers, please understand that "big list" questions are not generally allowed on Ask Ubuntu and will likely be closed per the . More information on the .   What download managers are available for Ubuntu? Can you provide the link as well?


I am logged in from my Windows phone, but I cannot see the views that a question has.   Is there any way to see them?

It's Thanksgiving, so I'm getting my Gaming SE fix through my mobile iPhone browser. I recently received a notable question badge for 'How do I defeat a wispmother in Skyrim?' and wanted to see just how many views it got. I didn't expect to see it initially, but once I sorted by views, I at least expected to see the number of views the question had.  Expected behavior: either views should be populated for questions when sorting by views in the mobile browser or there should be some intuitive way to see views on the mobile browser.


I have a question. I've been coding a jQuery event where the  button with an ID of add is ticked and is updated to an input  Here is the jQuery code   /* Change the Add button to an Input element*/ $("#add").click(function(){     $(this).replaceWith("<input type='text' placeholder='Task'>");     $("div.tasks>span").remove(); });  /* Adding a value to the list */ $("input").keydown(function(e){     if(e.keyCode == 13){         var item = $(this).val();          $(this).parent().prepend("
" + item + "
");         $(this).val("");     } });   Here is the HTML:
Monday

     <button id="add"></button>      Add task     <input type="text">
   Whats supposed to happen here is once the Button has been ticked it will now turn to an input element.   And once the input element has been populated with data and keycode==13 is pressed (Enter). The value placed on the input element will now be added to the DOM within a li element.

I have a bit of code where I am looping through all the select boxes on a page and binding a .hover event to them to do a bit of twiddling with their width on mouse on/off.  This happens on page ready and works just fine.  The problem I have is that any select boxes I add via Ajax or DOM after the initial loop won't have the event bound.  I have found this plugin (), but before I add another 5k to my pages with a plugin, I want to see if anyone knows a way to do this, either with jQuery directly or by another option.


A story where aliens visit a dead earth, and revive the dead. They visit a museum and begin by reviving a dead Egyptian, then a 1930s boozer. They hit a snag when they revive a recently deceased. He displays powers. They drop bombs but none explode. The aliens are tricked into plunging into the sun by the revived human

I'm trying to locate a short sci-fi story I read years ago about a human that is "resurrected" by an arrogant and malignant alien species that discovers him in a "museum" on an earth where the inhabitants, though very advanced, had been wasted by a close encounter (I believe) with a neutron star. He is the third or fourth human they "reconstruct" and it turns out that he is an advanced mentalist, disappearing at the moment of his "resurrection". He outwits the aliens and eventually tricks them into plunging their ship into the sun in order (they think) to prevent him from finding out where they come from. Any suggestions?


I've called Apple Support a bunch of times, but I got conflicting answers.  To my knowledge, new technology makes it okay to keep the charger plugged in non-stop, but I want to make sure I am properly caring the computer.

I want my battery to remain healthy. I used to charge it full then remove the charger after it's done, then put it back on when it goes down to 10% .. However this is becoming hectic and I was wondering if I can keep it plugged in the whole day and probably remove just an hour or so before going to sleep.  What is the best way to charge and discharge my Retina Macbook Pro while keeping the battery healthy ?


I've recently partitioned my hard drive to include Ubuntu Studio. (this is  something I've wanted to do for a long time - I'd hardly call myself a "producer", but I enjoy tinkering with audio production, as well as photo/video editing. I find myself stuck. I have next to ZERO programming experience, and have searched the web to glean some kind of guidance as to how to set up my Wi-Fi connection. I'm hoping that this community is a friendly one, and that I won't get shamed for not knowing what to do. I asked on one discussion board, and I got yelled at by the mods as to how to properly format a question. I can and will include all terminal info... all you have to do is ask. I have literally NO IDEA where to start here. I've executed some processes, tried different approaches... it seems to me like I have the ONE COMPUTER IN THE WORLD that can't... I even went so far as to buy a USB network adapter (a TP-Link AC600), which I later learned has its own host of issues with Ubuntu drivers. There is currently no option for wifi on my system. This is what I've done so far: After entering lspci I received: 00:00.0 Host bridge: Intel Corporation Broadwell-U Host Bridge -OPI (rev 09) 00:02.0 VGA compatible controller: Intel Corporation HD Graphics 5500 (rev 09) 00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09) 00:14.0 USB controller: Intel Corporation Wildcat Point-LP USB xHCI Controller (rev 03) 00:16.0 Communication controller: Intel Corporation Wildcat Point-LP MEI Controller #1 (rev 03) 00:1b.0 Audio device: Intel Corporation Wildcat Point-LP High Definition Audio Controller (rev 03) 00:1c.0 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #1 (rev e3) 00:1c.2 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #3 (rev e3) 00:1c.3 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #4 (rev e3) 00:1c.5 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #6 (rev e3) 00:1d.0 USB controller: Intel Corporation Wildcat Point-LP USB EHCI Controller (rev 03) 00:1f.0 ISA bridge: Intel Corporation Wildcat Point-LP LPC Controller (rev 03) 00:1f.2 SATA controller: Intel Corporation Wildcat Point-LP SATA Controller [AHCI Mode] (rev 03) 00:1f.3 SMBus: Intel Corporation Wildcat Point-LP SMBus Controller (rev 03) 07:00.0 Network controller: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n (rev 01) 08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller (rev 07) 09:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader (rev 01)```  After entering lsusb, I received: Bus 001 Device 002: ID 8087:8001 Intel Corp.  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 002 Device 003: ID 04f2:b446 Chicony Electronics Co., Ltd TOSHIBA Web Camera - HD Bus 002 Device 002: ID 0930:0225 Toshiba Corp. BCM43142A0 Bus 002 Device 006: ID 2357:011e TP-Link 802.11ac WLAN Adapter  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I'm having serious problems installing the Broadcom drivers for Ubuntu. It worked perfectly on my previous version, but now, it is impossible.   What are the steps to install Broadcom wireless drivers for a BCM43xx card?  I'm a user with no advance knowledge in Linux, so I would need clear explanations on how to make, compile, etc.    lspci -vnn | grep Network showed:   Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller [14e4:432b]      iwconfig showed:  lo        no wireless extensions. eth0      no wireless extensions.   NOTE: Answer below is updated every time new information is added and confirmed working.


The title is the extent of the problem. It is a problem from my Calculus II practice test that I am having trouble solving.

What is the general term for a Taylor series of $\sin(x)$ centered at $\pi/4$?  It should be $(-1)^{[??]} \times \sqrt{2}/2 \times \frac{(x-\pi/4)^n}{n!}$  What power is $(-1)$ supposed to be raised to?


I have observed many times that ants are able to reach the box where sweet items are kept even if the box is kept in secret. How do they identify it??

I recently had ants find and then swarm to a food container that I put down on a desk. I'm curious as to whether an ant would have needed to get lucky (i.e., discovering the food after crawling up the desk) or ants have the ability to sense food from a distance.  I'm skeptical of believing that ants simply scout around until finding food; I'll use this case as an example:   My room has had no food or drink in it for weeks, so the area wouldn't be a "hotspot" for ants to be interested in. I put the mostly empty food container down on my clean desk and turned my lamp off to work on the computer. No more than 2 hours later did I turn my light back on to discover a trail of ants swarming to the container I put down. It happened pretty quickly. The desk is high, standing on four thin legs. I find it difficult to believe that an ant would crawl up the desk as often as a 2 hour time frame to scout for food, for the message to be passed to the colony so quickly.    I've been curious about this scenario for a long time. So my question:  Can ants sense food from a long distance? If so, how does it work? If not, how is the phenomena (ants locating food quickly in unlikely places) explained?


I have a transparent texture and I can't figure out how to apply that transparency to the object.     As you can see, the texture in the bottom right is transparent in places and solid in others. But in render view the texture is just black.    You can see it better here.

I'm designing this animal-type creature, and want to add a transparent .png image to its face with the face features (object has a subsurf). On the left is the image with the features, on the right is the part of the object where I want it to be.    I tried to import the image as a plane, but matching the shape of the plane with the face didn't work, and the lines of the face left shadows on the head, and could be seen as a different object from some angles (although it's the closest I've gotten yet). It looked like this:    So , I tried selecting the faces of the head that the features should go over, and create a new material for it. Unfortunately, since the .png is transparent, the result produced was this:    (where it's impossible to tell the transparency from a black background default color, and where I wouldn't know where to start to adjust size and position).  I also tried UV mapping, but then the whole object became black with the features repeated all over.   Is it something I have to go into Nodes for? I'm kind of stuck here. Creating a new material and applying it is simple, but applying a material that is an image is a bit more complex it seems... Ideally, I would reproduce the same technique for the adhesive bandage on its arm (seen on the right of image 1).


When you level up, you gain a number of Hit Points equal to 1d# (6, 8, 10, or 12) + your Constitution modifier. The lowest Constitution modifier possible is -4 (possible by rolling, and rolling 4 1s). If a PC with a negative Constitution modifier, negative by more than 1, levelled up, and rolled a 1 on the levelling up HP dice, would they lose HP? And, would it be possible to die by this HP loss? For example, a Wizard with a 3 in Constitution, would have 2 HP at first level. At second level, we'll say hey rolled a 1 on his Hit Points die. This would mean he gained -3 Hit Points. Would that kill him? I see no rules against this, but it seems to go opposite to the phrase "Levelling Up".

Since  and  you can get into a situation where your max HP is zero due to leveling up… what happens next?  What happens when your max HP is 0 because you leveled up with a negative Constitution modifier? Are you dead, unconscious, or what, and where do the rules say this? (The  assumes death, but that isn't established as fact anywhere yet.)


I got a very tricky problem: Let's begin in the past. I got a Workstation. In the past it ran Blender 2.78b with a Nvidia Quadro FX1800 as Graphics Card. For Rendering, I used the CPU. I used another Computer to work on the Workstation via Windows 10 Remote Desktop Connection. The Host Computer (The Workstation) has Win 10 Pro, the Client Win 10 Home. I bought a new Graphics Card for rendering: ASUS ROG Strix GeForce® GTX 1080. I replaced the Quadro with it. I started the PC and Blender (still 2.78b) and rendered the Pavillon Demo Scene. Everything worked perfectly. But when I tried to start Blender via Remote Desktop and got this:    I also tried to use TeamViewer like they mentioned in , but got the same error. I also tried Blender 2.78c, but got also the error message.  Does someone know or experienced the same problem?

I want to render my blender project in rdp. But some error has appeared. What is the best solution for this problem? I've spent many hours trying to troubleshoot this problem.


I am a beginner in ML so apologize in advance if this sounds silly.  I did a logistic regression on a real data set and I am having problems measuring how well my model fits. I still don't understand how to apply the F1 score in my case.  After performing the error analysis on the cross validation set I got the following values:  Precision:  0.8642534 Recall: 0.8488889 Accuracy:   0.8222222 F1 score:   0.8565022  Are those good values? What do I compare them with? Is this a sign of a strong relationship between my predictor variables and the response variable? The classes on the response variable are not skewed (I am predicting a gender). Any help ... I would much appreciate. Thanks a lot

I've fitted my model and am trying to understand whether it's any good. I've calculated the recommended metrics to assess it ($R^2$/ AUC / accuracy / prediction error / etc) but do not know how to interpret them. In short, how do I tell if my model is any good based on the metric? Is an $R^2$ of 0.6 (for example) sufficient to let me proceed to draw inferences or base scientific/business decisions?     This question is intentionally broad, to cover a wide variety of situations that members frequently encounter; such questions could be closed as duplicates of this one. Edits to broaden the scope beyond the metrics mentioned here are welcome, as are additional answers - particularly those that offer insight about other classes of metrics.


I am holding Indian and Portuguese passports, I'm currently in India.   Now I have to travel to the UK, I can't travel on my Indian passport because I would need a visa to travel to the UK. My Portuguese passport I can't show at the airport and immigration in India.   So my plan is the following, please advise:   Book my ticket on my Indian passport and travel to Doha using visa on arrival facilities After arriving at Doha airport switch to Portuguese passport get entry and exit from Doha to the UK by booking flight from Doha to UK   My question: Since I will be exiting on my Indian passport and the departure stamp will be on it, while switching to my Portuguese passport at Doha airport, will the immigration official ask for my departure stamp on the Portuguese passport? Will this be a problem at Doha airport while traveling to the UK?

I am a citizen of two different countries, and have two passports.  How should I use my passports when traveling?


For any positive integer $n$, how many polynomials are there of degree $n$ over $\mathbb{Z}_2$? How many distinct polynomials function from $\mathbb{Z}_2$ to $\mathbb{Z}_2$? Attempt: first part is clear to me since there are $2$ choices for each coefficient and there are $n$ coefficient so there are $2^n$ such polynomials. I am having problems understanding the second part where I need to find distinct polynomial functions. If I assume $p(x)$ and $p'(x)$ are two equal polynomial functions over $\mathbb{Z}_2$ such that $p(x)=a_nx^n+\cdots+a_0$ and $p'(x)=a'_nx^n+\cdots+a'_0$, then $p'(x)=p(x)$ for $x=0,1$. So $a'_0=a_0$. And since the degree of these polynomials are $n$ then $a_n=a'_n=1$. So to find distinct polynomial functions we have to consider when $p(x)$ cannot be equal to $p'(x)$ for every value of $x\in\{0,1\}$. From here I cannot proceed. I was looking for solutions. Everywhere I see that they have started the argument with the fact that there are only $4$ such polynomials and then they give the examples of such polynomials. I need help to understand this problem. Thank you

From a bank of past master's exams I am going through:     Let $F$ be a finite field. Show that any function from $F$ to $F$ is a polynomial function.   I know that finite fields are fields of $p$ elements for $p$ prime [EDIT: It's actually $p^n$ for $p$ prime; see comment below]. Since I have $p$ choices for the $p$ elements to map to, then I have $p^p$ distinct functions. I think every function can be written in the form $f(x) = a_{p-1}x^{p-1} + \dots + a_0x^0$. For then given the values $f(0), f(1), \ldots f(p-1)$, I can solve for the coefficents by the linear system of equations  $$ a_0 + \sum_{i=1}^{p-1} n^i a_i = f(n).$$  This then gives me a $p-1 \times p-1$ square matrix over the field $\mathbb{F}_p$:  $$\left( \begin{array}{ccccc} 1& 0 & 0 & \ldots & 0 \\ 1& 1 & 1 & \dots & 1 \\ 1& 2 & 4 & \dots & 2^{p-1} \\ \vdots & \vdots & \vdots & & \vdots \\ 1 & p-1 & (p-1)^2 & \dots & (p-1)^{p-1} \end{array} \right) \left( \begin{array}{c} a_0 \\ a_1 \\ a_2 \\ \vdots \\ a_{p-1} \end{array}\right)  = \left( \begin{array}{c} f(0) \\ f(1) \\ f(2) \\ \vdots \\ f(p-1) \end{array} \right)$$  If I can show this matrix is invertible, then I can always find the $a_i$. But I am a bit stumped on how to show this (partially because I don't think I've ever done linear algebra in a vector space over a finite field). It does not seem easy to show linear independence, or nonzero determinant, or full row rank.    Alternatively (I just thought of this), can I show this is true by arguing that the map between the two sets (the set of polynomials of degree $p-1$; and the set of functions $F \to F$) is injective, and that it must be a bijection because the sets have the same cardinality $p^p$?


my understanding of a singularity is that it is a 'point' in the universe with an infinite energy density. I have also read on the internet that a singularity is one-dimensional.  This is a concept that troubles me. using my (very limited) knowledge of what dimensions are and how they work, I have made the following assumptions:   we live in a three-dimensional world with length, width and height (excluding time which  I am confused about and am unsure as to whether it is a dimension or not)  so a two-dimensional object would have only length and width (sort of like a flat shape in an area question in a textbook). so a one-dimensional object would only have length and would be a sort of 'line'.   But a 'line' is not a 'point', therefore in order to have a pointlike singularity it would need to be zero-dimensional. another aspect of the one-dimensional 'linear' singularity that I find difficult to understand is that for the finite amount of energy in the universe to be infinitely dense, it cannot be spread out along one or more dimensions, but rather it must be contained in zero dimensions. Hence the energy is 'X' joules per zero metres so the density is undefined.  are singularities one or zero-dimensional and why/how?   if the above reasoning is wrong, why is it wrong?

General relativity is expressed in terms of differential geometry, which allows you to do interesting things with the coordinates: multiple coordinates may refer to a single point, eg. the  has whole lines at the top and the bottom that correspond to the North and South poles, respectively; or a single coordinate may refer to multiple points, for example by using inverse geometry the origin refers to all the points infinitely far away.  So, is the singularity just a single point in the curved spacetime, or can it be a more extended object, described by a single coordinate?


In terms of ISO, is the ISO performance compromised?  Say I was using a 50mm DX on my FX body, would I have a lower quality ISO performance vs an FX 50mm on my FX body?

I unfortunately got a very poor and cheap 18-55mm lens on my Canon 60D. In addition to poor quality of my photos (poor in comparison with my 50mm f/1.8 Lens which makes great pictures) the noise level of my pictures is really high.  Should I upgrade my camera or get a better lens? since I'm interested in "night sky photography" this level of noise is really bothering.  For example you're taking photo of a special scene with two different lenses with the same ISO, Aperture and Shutter speed. Is the noise level of a photo taken with Zeiss Lens the same as Canon Lens?


Could someone do me a favor for any guidance (link) for writing an article that is supposed to be submitted to an international journal in micro-biology/micro-organism field?  Could you please lead me to another source instead of ?

While writing , I realized I don't really have a good list of resources that could be useful to first-time authors, like MSc or PhD students who write their first paper. I often direct my own students to these two papers:   G. M. Whitesides, , Adv. Mater. 2004, 16, 1375–1377 (). P. E. Bourne, , PLOS Computational Biology 2005, 1, 0341.   I also make sure that they read the journal's editorial policy and authors guidelines.  What are other sources of good information for students and first-time academic authors?


I have a template presentation and in this presentation there is a line   \author{Lal Upendra Pratap Singh \\2014AN-12}   When I ran PDFLatex command in TexMaker, I got the following warning  Tokens not allowed in the PDF string(PDFDocEncoding):(hyperref) removing '\\'   Then I removed the \ and ran PDFLatex again. The warning is not gone. Also, when I try to change code, I am not seeing the results in the generated PDF. I used to run PDFLatex and then ViewPDF command.  Do I need to install some other software also? I have only installed TexMaker. I somewhere read that Miketex and Bibtex are also required. Is it  true?

When compiling a beamer presentation and using the following \author command  \author{Name \\ \texttt{my.email@domain.com}}   I get the following hyperref warning in my logfile  Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding): (hyperref)                removing `\\' on input line 15.   Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding): (hyperref)                removing `\new@ifnextchar' on input line 15.   I understand that this has to do with hyperref setting the PDF metadata, where the linebreak does’t make much sense and should be removed.  Trying to set  \hypersetup{pdfauthor={Name}}   does’t change the situation, seems like hyperref is still looking at the author command.  How do I get the desired display of author name with email and still keep hyperref happy?


What is wrong with the code:  String maintext = (String) main_text.getText().toString();  if(maintext =="10") {                ToneGenerator toneG = new ToneGenerator(AudioManager.STREAM_ALARM, 100);     toneG.startTone(ToneGenerator.TONE_CDMA_ALERT_CALL_GUARD, 200); }   The code is working without if statement but with the use of if and .getText().toString() is not working at all.

I've been using the == operator in my program to compare all my strings so far. However, I ran into a bug, changed one of them into .equals() instead, and it fixed the bug.  Is == bad? When should it and should it not be used? What's the difference?


I have the following code  \begin{align} s'(t) &= -\beta s(t) i(t)\\ i'(t) &= \beta s(t) i(t) - \gamma i(t)\\ r'(t) &= \gamma i(t), \end{align}   and I want to enclose this with a bracket like a case, but maintaining the numbered equations.

As much as I have tried, it doesn't seem possible to use separate labels when using a casesconstruction (from the amsmath package).  Ideally, I would like to be able to write something like  \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation} f(x)=\begin{cases}   1&x\geq0\label{positive}\\   0&x<0\label{negative} \end{cases} \end{equation} \end{document}   and later refer to both cases at different places. What would be the best way to achieve this result?


I have proven the left hand side inequality. Can someone give me a hint for the right hand side ? Proof for the left hand side: $\sum_{r=1}^{n} \frac{1}{n+r} >\sum_{r=1}^{n} \frac{1}{2n}$.

Prove by induction that $\sum\limits_{i=1}^n \frac{1}{n+i} \leq \frac{3}{4}$.   I have to prove this inequality using induction, I proved it for $n=1$ and now I have to prove it for $n+1$ assuming $n$ as hypothesis, but this seems impossible to me because the difference between the sum of $n$ and the sum of $n+1$ is a positive value. Adding a positive value on both sides of the inequality, I don't know how to prove that is always less than or equal to $\frac{3}{4}$.


I'm building an application that can accept a shapefile/mapinfo/feature class/spatialite table/etc.  So - various formats from various vendors/organizations.    So let's say the user is going through a wizard to import data (or visualizing that data in plan view)...is there generic term for spatial data?  Something that a typical user would understand that would differentiate it from a text file or standard table?  This isn't a GIS product - it just makes use of GIS data.  It is not limited to use in one area of the world.  Anyone have any experience with lowest common denominator terminology for beginner/intermediate users (advanced users would just figure it out I suppose)?  What is most obvious?   Spatial data?    Spatial file?   Geospatial data/file?    Geographic data/file/table?    Data with one weird column/file that I can't understand?

What word indicates spatial data within the geographical and geological domains? In particular, what word is precise enough for a science journal article (i.e., formal prose)? Candidates might include "spatial data," "geodata," "geospatial data," and "geographic data." "Spatial data" seems too generic (not necessarily within the geographical and geological domains). What is the consensus, if any exists?


I am using a first difference estimator for my panel data. The panel has people whom I observe over time. I want to include a 'time fixed effect'. I argue that this should be possible, as long as I interpret it slightly differently than a standard time dummy.  So basically:   y_it-y_it-1=gamma_(t,t-1)+beta*(x_it-x_it-1)+(e_it-e_it-1)   Where i is a subscript for the crosssectional element and t is the subscript for the time element.   gamma_(t,t-1) would therefore be a time fixed effect (i.e. dummy variable indicating time)   A referee claims it is non-sensical. While disagreeing with a referee is a bad idea, I am curious whether he is right or not. Can someone explain his point ?

Is it the same to estimate the time fixed effect by the within estimator and by simply adding time dummies in my regression equation? Why would that be the case mathematically?    edit    $$\text{Y}_{ist}=\gamma_s+TFE+\sum^m_{\tau=0}\delta_{-\tau}\text{D}_{s,t-\tau}+\sum^q_{\tau=1}\delta_{+\tau}\text{D}_{s,t+\tau}+\text{X}'_{ist}\beta+\varepsilon_{ist} \tag1$$  Where TFE mean time fixed effect, I can estimate this using within estimation in R or Stata, my question is that does estimate equation (1) using within estimator same as estimate the following equation (2)  $$\text{Y}_{ist}=\gamma_s+\text{time dummies}+\sum^m_{\tau=0}\delta_{-\tau}\text{D}_{s,t-\tau}+\sum^q_{\tau=1}\delta_{+\tau}\text{D}_{s,t+\tau}+\text{X}'_{ist}\beta+\varepsilon_{ist} \tag2$$


Is there a difference between "sugar cane" and sugarcane? Is sugarcane wrong? What is the gramatical rule for joining two names like that?  I have found 13.500 entries on google for sugarcane, but 16.000 for sugar cane.   Is that a matter of style or grammar? What do you guys think?

When you are trying to say that something is automatically filled in, you use the word autofill, or if you were using past tense, autofilled.    I see 3 main ways that people use it:   auto fill / auto filled  auto-fill / auto-filled autofill / autofilled   Note: this also applies to pre fill, pre-fill, and prefill as well.  Which way is the most preferred spelling?


i am building a nepali site ... it works fine with browser...now i am trying to insert the words in mysql database ..first i tried by changing collation to UTF-8_general_ci..It didn't work..after doing hours of google i found a way ..  In the file /usr/share/phpmyadmin/libraries/dbi/mysqli.dbi.lib.php at the end of function PMA_DBI_connect() just before the return statement I added:  mysqli_query($link, "SET SESSION CHARACTER_SET_RESULTS =latin1;"); mysqli_query($link, "SET SESSION CHARACTER_SET_CLIENT =latin1;");   that worked in phpmyadmin when i did a small query..it gets inserted in the table with nepali words..  bt when i tried simply from php (CI ) though generating last_query().. its doesnt get insert in table...the view i can get is ?????? where the nepali words should be...  note : my last_query generates  INSERT INTO `scheme` ( `functioning`) VALUES ( 'बन्द भएको ') ..

I'm setting up a new server and want to support UTF-8 fully in my web application. I have tried this in the past on existing servers and always seem to end up having to fall back to ISO-8859-1.  Where exactly do I need to set the encoding/charsets? I'm aware that I need to configure Apache, MySQL, and PHP to do this — is there some standard checklist I can follow, or perhaps troubleshoot where the mismatches occur?  This is for a new Linux server, running MySQL 5, PHP, 5 and Apache 2.


I have visited Denmark two times so far, and my husband lives there. The last time when I went there 8 year ago, I applied for a permanent visa, which was refused. I consequently overstayed for 10 days because I didn't receive a ticket for the return flight on time.   Now they do not even give me a visitor visa. I have two children holding danish nationality. I have tried to apply for visitor visa two times, but it was refused each time. Now I want to try again to apply for a visit visa. Can you give any advise about it? The marriage of my husband's son is going to held in august. I want to apply for a visitor visa to attend the marriage.   Your fast replies are highly appreciated.   Thanks, nabila mushtaq

I have visited two time in Denmark where my husband lives. Last time I went there was 8 years ago. I applied for a permanent visa which is refused and I overstayed there for 10 days because I never got a ticket to come back.  Now they won't even give me a visit visa. I have two children holding Danish nationality. I have tried two time for visit visa but it was refused. Now I want to try again to apply for visit visa can u give any advise about it? My husband has Danish nationality. My first son is 10 year old and second is 1 year old they both have Danish passports and they live with me in Pakistan because they can't live without me my husband always came Pakistan after 9 months. They said in refusal that I might be trying to live permanently in Denmark.


My web designer recently told me that I need to be careful not to Google for my business' website, click on its search result link, then quickly close the page (or click back) too many times.  He says "Google knows" that I didn't stay on the page, and could penalize my site for having a high bounce rate if it happens too much.  Apparently, it could look like the behavior of a visitor who was not interested in what they found (hence the supposed detrimental effect on the site's search ranking).  This sounds hard to believe to me because I would not have thought any information is transmitted which tells Google (or anyone, for that matter) whether or not a website is still open in a browser (in my case Firefox v25.0).  Could there possibly be any truth to this?  If not, why might he have come to this conclusion? Is there some click-tracking or similar technology employed by search engines which does something similar?  Looking forward to hearing everyone's thoughts.

Does Google consider bounce rate or something similar in ranking sites?  Background: here at Stack Exchange we noticed that the latest Google algorithm changes resulted in about a 20% dip in traffic to  (and a much smaller dip in traffic to ). Stack Overflow traffic was not affected.  There was an  which hypothesized that bounce rate might be a ranking signal in Google's latest Panda update.  According to Google Analytics, these are our bounce rates over the last month:  Site           Bounce Rate Avg Time on Site -------------  ----------- ---------------- SuperUser      84.67%      01:16 ServerFault    83.76%      00:53 Stack Overflow 63.63%      04:12   Now, technically, Google has no way to know the bounce rate. If you go to Google, search for something, and click on the first result, Google can't tell the difference between:   a user who turns off their computer a user who goes to a completely different web site a user who spends hours clicking around on the website they landed on   What Google does know is how long it takes the user to come back to Google and do another search. According to the book  (page 47), Google distinguishes between what they call "short clicks" and "long clicks":   A short click is a search where the user quickly comes back to Google and does another search. Google interprets this as a signal that the first search results were unsatisfactory. A long click is a search where the user doesn't search again for a long time.   The book says that Google uses this information internally, to judge the quality of their own algorithms. It also said that short click data in which someone retypes a slight variation of the search is used to fuel the "Did you mean...?" spell checking algorithm.  So, my hypothesis is that Google has recently decided to use long click rates as a signal of a high quality site. Does anyone have any evidence of this? Have you seen any high-bounce-rate sites which lost traffic (or vice-versa)?


I am trying add a Tex source files which should be compiled using XeLaTex in OverLeaf, since some external dependencies were used to add fonts from other languages except English. ArXiv does not accept source files complaining, !Fatal Package fontspec Error: The fontspec package requires either XeTeX or(fontspec) LuaTeX. (fontspec) (fontspec) You must change your typesetting engine to, (fontspec) e.g., "xelatex" or "lualatex"instead of (fontspec) "latex" or "pdflatex".  Is there any procedure to mitigate this issue ?

arXiv is smart enough to detect whether your PDF is generated by LaTeX. If it is, arXiv asks for the sources of the PDF instead of the PDF file itself. This is really annoying and inconvenient.  I ask a way to fool the arXiv and avoid PDFs being detected as generated by LaTeX (even if they were indeed).  I have tried this: : "create a pdf from word and then simply insert pages from your article, and delete the word's page".  And it did not work.


If you go to your user profile on Stack Overflow (and presumably other SE pages) after earning a new badge the box that tells you about it has out of bounds content:    As you can see, the text at the bottom is cut off.  Here is my system information:  Chrome 69 Windows 10 1920x1080   And for clarity, this is the URL I am seeing this on - while logged in as that user:   If there's anything else you need to know let me know :-)

When I visit  I see this:     The "Congratulations! You've earned (badge)" section has dropped down completely beneath the tabs under it. The "You've earned a new privilege!" section has a gap at the bottom:     Shog9 says in comments how to reproduce this:     Gotta have earned a badge, not dismissed the notification, and be looking at your own profile.


Given the following equation: $x+ay -z = 1$ $x+y -az = a$ $2x-4y +2az = -2$ Determine the value of $a$ (if any) for which the system has no solutions. Determine the value of $a$ (if any) for which the system has exactly one solution. Determine the value of $a$ (if any) for which the system has infinitely many solutions And in case the system has infinite solutions, find them So I'd like to put the coefficients of $x,y,z$ into a matrix like the following: $\begin{pmatrix} 1 & a & -1 \\ 1 & 1 & -a \\ 2  & 4 & 2a \end{pmatrix}$ And I want to do this by the method of checking when the determinant not equals to $0$. So I calculate it and got to a place where $(a-1)(-4a-6)$ which means that $1$ or $-3/2$ will zero the determinant. So I realize that if $a$ will be $0$ or $3/2$ then the system has no solutions, but then I don't know how to continue, How do I find out about the unique infinitely soulutions? I guess for unique solution $a$ needs to be not $0$ or $3/2$ but for some reason I can't put it all together..

Consider the system $$x+y+5z=-7$$ $$-2x-y-2z=5$$ $$x+2y+(a^2+9)z=4a-8 $$    Determine the value of $a$ (if any) for which the system has no solutions. Determine the value of $a$ (if any) for which the system has exactly one solution. Determine the value of $a$ (if any) for which the system has infinitely many solutions   I created a matrix: $$\begin{pmatrix} 1 &1 & 5 & \Big\vert & -7\\ -2 & -1 & -2 & \Big\vert& 5\\1 & 2 & a^2+9 & \Big\vert& 4a-8\end{pmatrix}$$ I have no idea what to do after though.


When I view the simulation in the viewport, it looks normal, like this:    When I view it in the render preview with SHIFT+Z viewport, it looks perfect:    But when I render with F12, it's strangely transparent and looks odd!:    Here's my node setup:    Also, try viewing  directly. It's more apparent what the problem is.  Ignore the funky flow shape. Thanks in advance.

When rendering volumes with Film > Transparent enabled, the alpha appears to be the wrong type (premultiplied/straight). In the 3D view it works as expected:    This is a known .  Is there any way to work around this?


I am trying to install sendmail, however whenever I run sudo apt-get install sendmail, I end up with the following error messages:  Err:1 http://mt.archive.ubuntu.com/ubuntu zesty-updates/main amd64 procmail amd64 3.22-25ubuntu0.17.04.1   404  Not Found Err:1 http://security.ubuntu.com/ubuntu zesty-security/main amd64 procmail amd64 3.22-25ubuntu0.17.04.1   404  Not Found E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/procmail/procmail_3.22-25ubuntu0.17.04.1_amd64.deb  404  Not Found E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?   Running sudo apt-get update, or trying again with --fix-missing has no effect, the following still shows up as Not Found. Checking on this issue, I found out that the problem could be that Zesty's End Of Life was back in January.  The problem here however, is that attempting to install the update from the settings, or with dist-upgrade fails. Dist-upgrade specifically returns a significant amount of 404 errors. As for updating from settings, this is the error returned:  Detailed errors from the package manager follow:  apt transaction returned result exit-failed   How do I fix this problem?

Recently I have installed an older version of Ubuntu on my old machine. Whenever I try to install any software, I get an error saying it couldn't be found:  $ sudo apt-get install vlc Reading package lists... Done                Building dependency tree        Reading state information... Done     E: Couldn't find package vlc


SFMC has rolled out a new feature of gmail annotation for promotion tab which requires an script to be added in email template. When i am trying to add that script to my email, SFMC strips out the script tag from email.   Link for gmail annotation for promotion tab   Is there any other way of having script tag in emails. One way that i am aware of is to have the script in Data extension as a value and then retrieve that value from DE via ampscript. Is there any other workaround for this.

I had a plan to create drag and droppable forms in content builder in Marketing Cloud.  I created the forms and I saved them as content areas.  Now when I drop them in a Cloud Page content area all the javascript gets stripped away and the forms are unusable. Both links to scripts and all other javasscript blocks are just gone.  How on earth can I solve this and still let the customer really easy build their web forms by drag and drop?


Do I really have to create a boot disc? I downloaded Ubuntu. unpacked the 7zip file and installed. Then it said I must restart for the installation to complete. When I restarted it showed an error. Is this because I didn't create a boot disc? I'm not technical but I would really like to use Ubuntu for safety. I'm finding it very hard to create a boot disc. I guess I'm too stupid. I don't know how to change the boot area. Can't one just install and let it run?

I would like to see a full how-to guide on how to install Ubuntu.


Some confusion over a warning message saying my root directory is almost full.  What exactly is my root directory, is it synonymous with my home directory, or is it literally the 'root' folder which has 0 items in my File System (see attached).  Also, can anyone explain my disk usage analyzer results for /media/jim ? I have 2 2TB external drives connected which are far from full yet /media/jim says I am 100% full.  And under  System Monitor - File Systems I see /dev/sdc2 is 94% full. How do I reclaim this file space?  Thanks for any feedback

In Windows there’re perhaps only a couple of important folders (by important I mean important in my logical picture of the Windows file system) in the installation drive (in my case C:\). Namely Program Files and Windows. I simply stay away from Windows folder and the “add remove program files” is good enough to handle the program files folder of Windows. Of course there’s a folder named Users where the users (who are not admins) can access only their folders.  Thus there’s a clear picture at some level in my mind of the Windows file system. In Ubuntu, when I reach the location /, there’s a huge list of folders, most of which I have no clue as to what they contain. The /bin folder seems to be the equivalent of the Windows folder in windows. The /usr folder seems like it’s the equivalent of the Users folder in Windows. But even the /home folder looks like it can fit the bill.  Please understand that I do understand, that Ubuntu (Linux) has a different character than that of Windows, i.e., there need not be exact equivalent of Windows functions, in Ubuntu. All I am looking for is a bit more clearer picture of the Ubuntu file system.   This question is a part of a bigger question which I am splitting up to make it more answerable. The original question can be found here:


I started learning php and Recently I've faced a problem with a constant variable in my code. recently I've created the Ninja class in the editor and set a stealth constant to the string "MAXIMUM", then I try to echo it to the page using the scope resolution operator (::).  <html>  <head>  <title> Scope it Out! </title>  </head>  <body>  <p>   <?php   class Person {    }   class Ninja extends Person {     // Add your code here...     const stealth = "Maximum";   }   // ...and here!   if(Ninja::stealth){      echo stealth;     }    ?>    </p>   </body>   </html>   Now question is "How can echo the const Variable in php???"

Say i have this PHP code:  $FooBar = "a string";   i then need a function like this:  print_var_name($FooBar);   which prints:  FooBar   Any Ideas how to achieve this? Is this even possible in PHP?


New to Linux and wanted to ask which version is the best to learn Ubuntu?  This is what I see on the packages site: trusty (14.04LTS) trusty-updates trusty-backports xenial (16.04LTS) xenial-updates xenial-backports bionic (18.04LTS) bionic-updates bionic-backports cosmic (18.10) cosmic-updates cosmic-backports disco  Thank you for your help and appreciate your time! Bob

What are the differences between an Ubuntu Long Term Support release (LTS) and a normal release?


I was wondering if there is a way to install Chromium snap version 87 along side with the current one. With snap info chromium you only get these versions:  channels:    latest/stable:    88.0.4324.96 2021-01-26 (1466) 142MB -   latest/candidate: 88.0.4324.96 2021-01-26 (1466) 142MB -   latest/beta:      89.0.4389.23 2021-01-30 (1470) 143MB -   latest/edge:      90.0.4400.8  2021-01-30 (1471) 146MB - installed:          88.0.4324.96            (1466) 142MB -    What if I needed both version 88 and 87 as I have some old devices that have  web management that needs Adobe Flash Player that has been dismissed since 12th January 2021. Wanted to keep Chromium version 87, only to manage these old devices and use current Chromium version to surf the web.  Thanks for you help. Carla

I'm using VS code installed via snap. The latest version has an annoying bug in it and I want to revert to the previous version, but I don't see a way to tell snap to install a specific version. All I see with snap info are the different channels which all yield to the latest version. Also on the  I can't select another version. In the snap docs it says that I could revert, but this doesn't work for me, as there is no prior version installed. I can download a snap with the specific version from the VS code website, , but I personally would prefer to handle this by snap directly. There seem to be some people with the same problem, but I didn't find a working answer:     The question summed up is: Is there a possibility to revert to an older snap version and if yes, how to do that?


My host OS is Ubuntu 15.04 and my guest OS is Windows 10. I'm running VirtualBox 5.0.2 r102096.  When the guest OS is running in the VM, right-clicking on the little USB icon displays a context menu with a single disabled menu item that says No USB devices connected.  When the machine is powered off and I go into its settings, on the USB tab, the Enable USB controller option is checked and USB 3.0 (xHCI) Controller is selected. In the USB device filters list some of my previously created (from when it still worked) filters are present and when I right-click there and select Add filter from device, I am greeted with a similar context menu with a single disabled menu item that says No devices available.  My USB flash drive is inserted into the host computer, but other devices should be visible as well, namely the integrated webcam, the touchscreen and stuff. They were previously, before either upgrading Ubuntu or upgrading VirtualBox, I cannot pin point precisely when it stopped working as I run the guest OS sporadically.  When I run sudo adduser tomashubelbauer vboxusers, I get The user tomashubelbauer' is already a member ofvboxusers'. When I log out and log in again, the same thing happens.  Are there any other knows issues with VirtualBox being unable to enumerate USB devices? Are there other options for me to troubleshoot the issue further?

I'm using Ubuntu Maverick and Virtual Box 3+. I have Windows 7 Ultimate. The problem is that it doesn't detect USB drives in Windows 7, but USB peripherals (mouse + keybord) are working.  I followed , but I can't find the user group vboxusers. How can I continue? I would also like to upgrade to the latest version without any risk (without losing my virtual hard disk drive).


I have a file having some text like: ipaddress="127.0.0.1" I have to replace the 127.0.0.1 with a variable say $ip_add, where $ip_add=127.0.0.2 the following sed command is not working sed -i 's/127.0.0.1/$ip_add/' conf.py  when i run this command the text is file like this ipaddress="$ip_address" Please help. thanks in advance

I want to do:  cat update_via_sed.sh | sed 's/old_name/new_name/' > new_update_via_sed.sh   in my program.  But I want to use variables, e.g.  old_run='old_name_952' new_run='old_name_953'   I have tried using them but the substitution doesn't happen (no error). I have tried:  cat update_via_sed.sh | sed 's/old_run/new_run/' cat update_via_sed.sh | sed 's/$old_run/$new_run/' cat update_via_sed.sh | sed 's/${old_run}/${new_run}/'


I have a very naive question. I started using linguex package, but now I realized I need some options that only expex has. I was wondering if the two packages be used in the same document, or would they be in conflict with one another.   The reason I ask this, is that I need to do the following with linguex, but I am not sure it is doable. First, I need to have right-aligned comments on the first and third line of a gloss.  Based on on the question linked in the comments:      I tried the following:  \documentclass[12pt,letterpaper]{article} \usepackage{amssymb} \usepackage{linguex} \usepackage{cgloss} \begin{document}  \ex. \a. The girls kissed the boy \hfill {\small \checkmark X} \bg. The boy didn't kiss the girl \\  D boy AUX.NEG kiss D girl \\ \hfill {\small \checkmark X} \trans 'The boy did not kiss the girl'. \hfill {\small \checkmark X}  \end{document}   This doesn't quite do what I want because ... ?    Second, I need to add arrows/lines connecting two parts of the example. Something like:

I'm writing a linguistics paper that uses a large amount of linguistic examples from a wide variety of languages, using the gb4e package. I want to be able to label each example with information about the language it comes from, as I've seen in some texts, sort of like this:   Language (family, citation, etc.)      (1) example text          glosses        'translation'    gb4e is great at formatting the examples themselves, but I can't seem to get the label placed where I want it, that is, placed immediately before the example and without an indent. Here's some example code:  \documentclass{article} \usepackage{gb4e} \usepackage{lipsum}  \begin{document} \lipsum[2]  Hungarian (Finn-Ugric, \emph{reference})   \begin{exe}   \ex \gll    J\'anos h\'aza\\               John house.his\\       \glt    `John's house'   \end{exe}  \lipsum[3] \end{document}   If the label text is outside the exe environment, it's treated like a regular paragraph, but if I try to put it inside, it gives me an error. How can I make it look the way I want? I've looked at other packages that do numbered examples, but they don't seem to have solutions either, and they also don't have the same functionality as gb4e that I need.  Any help would be greatly appreciated.


Find all functions $f:\mathbb{R}\rightarrow\mathbb{R}$ such that $$f(f(x)^2+f(y))=xf(x)+y$$ for all $x,y\in{\mathbb{R}}$.  Here is my approach to the problem:  We see that $f(x)=x$ is an obvious solution (Just trying easy linear equations). I think this would be the only solution to the problem.  Am I right? And how to prove that there is no other solution? (Note: I am a beginner at functional equations)

Find all functions $f:\mathbb{R} \rightarrow \mathbb{R}$ such that $f\left( f(x)^2+f(y) \right)=xf(x)+y$ for all real numbers $x$ and $y$.   Clearly $f(x)=x$ is a solution, check by substitution.  I'm at a loss as to how to show this is the only one or find others.  Any help would be very much appreciated.


I am looking for an online course devoted to the advanced methods of theoretical condensed matter physics. It is good if the course offers free materials like lectures, homework assignments etc.  Things to be covered:   Functional integral methods equilibrium and non-equilibrium Green's functions Perturbation theory and Feynman diagrams Applications to bosonic and fermionic systems

What are some good condensed matter physics books that can fill the gap between Ashcroft & Mermin and research papers? Suggestions for any specialized topics (such as superconductivity, CFT, topological insulators) are welcomed.


Let's $(\mathbb{C},\mathbb{C})$ be a ordered paired of elements form $\mathbb{C}$ when $\mathbb{C}$ is defined as (a,b).  addition and multiplication is defined as in $\mathbb{C}$.  How do I prove it is not a field if $\mathbb{C}$ is a field

I have a question, and this is it in entirety:     Let R be a non-zero ring(that is, R contains at least one element other than the zero element). Prove that $R \times R$ is NOT an integral domain.   Now I haven't done a problem like this before, and it seems to be(from the Wikipedia definition) that this ring $R$ needs to be commutative to be an integral domain. Which it isn't stated to be here. What exactly am I meant to do? I haven't been given anything else than the area in grey.


I'm using Nexus 5X. For some reason, all posts I'm trying to view are not shown well. I see blank page and I have to scroll a long way down to see the post. In addition, the comments and answers are not shown at all.   App Version: 1.0.89 Device Manufacturer: LGE Device Model: Nexus 5X   OS Version: 7.1.1 (3687331)

I have white blank on the posts.    App Version: 1.0.89 Device Manufacturer: Meizu Device Model: m2   OS Version: 5.1 (1464689330)    I can't see the questions and the answers and the comments.  I saw that it's a common issue..  Does it have a fix?   EDIT -  I saw  answer. This answer is ~2 years old. It says that it will fix in the next update.  His version is 1.0.59 - mine is 1.0.89. Huge different.   The problem is still exists!


I installed the TOR client, that's all set. Says "successfully opened a circuit".   Now, I would like to know how to set up a browser with it. I am using Ubuntu 14.04 and didn't install TOR through the official repos.

I tried to install Tor on my new version of Ubuntu, but it seems that Tor is not available in the repositories.  How else can I install and use Tor?


the subdomains are not working on the hosting that include this htaccess file  this code file ".htaccess":   Options +FollowSymlinks -MultiViews RewriteEngine On RewriteBase /  RewriteCond %{REQUEST_FILENAME} -f  [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule .* - [L]  RewriteRule ^(.*)/cgi-bin/(.*?)/ $2.php?lang=$1 [L,NC,QSA]   I want as follows:  to   Depending on the above file ".htaccess".  Please help me to fix that

I am looking to create a system which on signup will create a subdomain on my website for the users account area.   e.g. johndoe.website.com  I think it would be something to do with the .htaccess file and possibly redirecting to another location on the website? I don't actually know. But any information to start me off would be greatly appreciated.  Creating a sign up area is not the problem - I have done this many a time. I am just unsure where to start with the subdomain.


I'm using PHP to connect with a SQL database using sqlsrv drivers. However, I've run into a problem:  $string = "Home"; $DBH->prepare( "INSERT INTO table_name (column_name) VALUES ('" .$string. "')" ); $DBH->execute();   How come this works?  $string = "Home's"; $DBH->prepare( "INSERT INTO table_name (column_name) VALUES ('" .$string. "')" ); $DBH->execute();   But this doesn't?  The SQL database doesn't seem to accept the apostrophe in the $string variable. In the past I would use mysql_real_escape_string but that isn't an option.

If user input is inserted without modification into an SQL query, then the application becomes vulnerable to , like in the following example:  $unsafe_variable = $_POST['user_input'];   mysql_query("INSERT INTO `table` (`column`) VALUES ('$unsafe_variable')");   That's because the user can input something like value'); DROP TABLE table;--, and the query becomes:  INSERT INTO `table` (`column`) VALUES('value'); DROP TABLE table;--')   What can be done to prevent this from happening?


I am thinking about buying Tasker, and swype. If I purchase these apps, will I need to pay for them on each device? Or will a single purchase allow me to install on all my devices?

On the iPod Touch/iPhone, since it is tied to your iTunes account, I am quite sure you can have your bought apps on multiple devices you own (can't test though, iPod Touch was stolen).  However, now I have the Motorola Droid, and am waiting for a tablet, and am considering getting a Nook and rooting it to run my own apps.  Question is, if you buy an app on the marketplace, how is the security done:   Is it tied to your Gmail account so you can share it between devices you own? Is it tied to the device? (Don't break/replace your phone!) As long as it's installed, you're OK? (If you uninstall, or wipe your device, it's gone).   I assume 3 is highly unlikely, though a possibility, so leaving it here as a potential answer to my question.


i am trying to pass some values in to a function and compare some values and get the array list.  calling the Collect function in Dbhand class.          TextView result = (TextView) findViewById(R.id.textviewres);          result.setText(dbhand.collect(                 getIntent().getExtras().getString("temple_type"),                  getIntent().getExtras().getString("notemples"))                 );   collect() Function in dbhand class.  public String collect(String temptype, String limit){      SQLiteDatabase ourDatabase = this.getWritableDatabase();     String result="";     String []column =new String[]{KEY_ID,KEY_TMPNAME,KEY_TMPTYPE,KEY_LATITUDE,KEY_LONGITUDE,KEY_IMGNAME,KEY_YEARBUILD,KEY_ADDRESS,KEY_CITY,KEY_EMAIL,KEY_WEB,KEY_TEL1,KEY_TEL2,KEY_DESCRI};     Cursor c=ourDatabase.query("templ", column, null, null, null, null,null, limit);       c.moveToFirst();     int iKEY_ID = c.getColumnIndex(KEY_ID);     int iKEY_TMPNAME= c.getColumnIndex(KEY_TMPNAME);     int iKEY_TMPTYPE= c.getColumnIndex(KEY_TMPTYPE);      for (c.moveToFirst();!c.isAfterLast();c.moveToNext()){          if (c.getString(iKEY_TMPTYPE) == temptype){      result = result+c.getString(iKEY_ID)+"\t\t"+c.getString(iKEY_TMPNAME)+"\t\t"+c.getString(iKEY_TMPTYPE)+" \n";         }     }      return result;  }   i didn't get any error, since the if condition is not compared. it does not return any value.  can anyone help me to fix this plz.

I've been using the == operator in my program to compare all my strings so far. However, I ran into a bug, changed one of them into .equals() instead, and it fixed the bug.  Is == bad? When should it and should it not be used? What's the difference?


I am forcing HTTPS and redirecting to subdirectory with:  RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301]  RewriteCond %{HTTP_HOST} ^domain.com$ [NC,OR] RewriteCond %{HTTP_HOST} ^www.domain.com$ RewriteRule (.*) /www_domain_com/$1   and all is working, but http://www.domain.com. I see in browser address bar: https://www.domain.com/www_domain_com/.  My goal is to remove this subdirectory from url and have ssl in all requests and all requests redirected to that subdirectory.

This is a  about Apache's mod_rewrite.   Changing a request URL or redirecting users to a different URL than the one they originally requested is done using mod_rewrite. This includes such things as:   Changing HTTP to HTTPS (or the other way around) Changing a request to a page which no longer exist to a new replacement. Modifying a URL format (such as ?id=3433 to /id/3433 ) Presenting a different page based on the browser, based on the referrer, based on anything possible under the moon and sun. Anything you want to mess around with URL   Everything You Ever Wanted to Know about Mod_Rewrite Rules but Were Afraid to Ask!  How can I become an expert at writing mod_rewrite rules?   What is the fundamental format and structure of mod_rewrite rules? What form/flavor of regular expressions do I need to have a solid grasp of? What are the most common mistakes/pitfalls when writing rewrite rules? What is a good method for testing and verifying mod_rewrite rules? Are there SEO or performance implications of mod_rewrite rules I should be aware of? Are there common situations where mod_rewrite might seem like the right tool for the job but isn't? What are some common examples?   A place to test your rules  The  web site is a great place to play around with your rules and test them. It even shows the debug output so you can see what matched and what did not.


When a bus stops suddenly, I can "feel" a force pushing me. This is exactly as if someone really pushed me. Same is the case while doing a turn in a car, I can "feel" a force pushing me away from the centre. Also, why don't we feel the inward centripetal force but only the outward centrifugal force? If its only because of inertia, then why aren't they considered real forces since inertia is a fundamental property of matter. Everywhere I've read it says that pseudo forces are only incorporated to validate Newton's second law in non - inertial frames. But if they're not actual physical forces, then what is the force that I "feel"? Is there any other cause for pseudo forces other than inertia?

What is the underlying explanation behind ?   The popular example of the bus: Lets say you are standing in a bus and the bus is moving with a constant velocity, we can therefore agree that you are in an inertial reference frame and therefore the law of inertia applies in your reference frame.   However, as soon the bus decelerates you feel a "push" forward, moreover the frame is no longer inertial, at this point we agree that the law of inertia doesn't hold for that frame since you changed the state of your motion while no force is acting on you in your frame. Consequently, in order to make up for the "discrepancy" between the law of inertia and such situations we introduce a pseudo force (stating that this is the force that caused us to change states) in order to be able to effectively use Newtonian mechanics in a broader domain.   This is the popular explanation as to why pseudo forces are introduced, however no one really touches on to the underlying principles of the occurrence of a pseudo force, so I'm looking forward for a more in depth explanation into the nature of a pseudo force (i.e why it occurs from a physical perspective?), rather than just saying that we introduce it in non-inertial reference frames, for reasons similar to the above.  If we assume its nothing more than just a human correction used for mathematical and physical analysis, and simultaneously we can't say that inertia is the reason we tend to fall forward in the situation stated above since it is a non-inertial frame, then what would be the explanation exactly to such tendency of changing states of motion in an example like the above


I would like to take sequential numbers up a level and only apply it to features of a certain type. Say I have two feature types, black and white features, and it's denoted by the field "Type". I want my sequential numbers code to skip all white features and pick up where it left off with the last black feature. I'm sure it's some type of If/Then statement but i can't figure it out. Here's the basic code where it returns sequential numbers by my sort field, which works just fine:   import arcpy  sortFeat = r"P:\path\Receivers.shp" #featurepath sortField = 'Ycoord' #Base Field to sort, which is  idField   = 'R_ID' #Field to populate sequential numbers rec=0  def autoIncrement():     global rec     pStart = 36 #number of features     pInterval = 1      if (rec == 0):          rec = pStart      else:          rec -= pInterval      return "R" + str(rec)  rows = arcpy.UpdateCursor(sortFeat, "", "", "", sortField)  for row in rows:     row.setValue(idField, autoIncrement())     rows.updateRow(row)  del row, rows  print "Finish"    So how can i make this only apply to certain attribute type and not all within the layer?  I am using Python 3, but this currently only works in a 2.7 environment.

I am needing to auto increment a field based on groups within a feature class. I have 8 plots within a given polygon and I need to assign them an ID from 1-8 for each set of plots within each polygon. The polygon would have its own unique ID number to be used to group the plots.  I assume it would be an alteration of this:  rec=0 def autoIncrement():  global rec  pStart = 1   pInterval = 1   if (rec == 0):    rec = pStart   else:    rec = rec + pInterval   return rec


My kid's geometry classmate tried to use the following "theorem" in a proof:     If a quadrilateral has a pair of opposite sides congruent and a pair of opposite angles congruent, it's a parallelogram.   The teacher (correctly) didn't allow this, as they hadn't proven the "theorem" in class. The teacher, moreover, conjectured but could not prove that the "theorem" was in fact false. Is it?

I’m sorry I couldn’t upload a photo, so I’ll try to explain it as best as I can.     The quadrilateral has a pair of opposite and equal sides, and has a pair of opposite equal angles (85 degrees in the question).   Can I say this is a parallelogram or not?    I tried drawing a shape with those conditions that is not a parallelogram and I failed. Thanks in advance, and again sorry for not having a photo and I hope I explained it well enough.


please I need help for this how I can fix this issue in MySQL showing unreadable characters something like that Ø§Ù„Ø®Ø·Ø© Ø§Ù„Ø°Ù‡Ø¨ÙŠØ© I change all the table to utf-8_generalc after that I edit manually the word in the database it passed is ok I can read it in the database. but on the site it give ??????????. if I fixed again the backend it becomes readable in the site but it comes again in database like that Ø§Ù„Ø®Ø·Ø© Ø§Ù„Ø°Ù‡Ø¨ÙŠØ©

I'm setting up a new server and want to support UTF-8 fully in my web application. I have tried this in the past on existing servers and always seem to end up having to fall back to ISO-8859-1.  Where exactly do I need to set the encoding/charsets? I'm aware that I need to configure Apache, MySQL, and PHP to do this — is there some standard checklist I can follow, or perhaps troubleshoot where the mismatches occur?  This is for a new Linux server, running MySQL 5, PHP, 5 and Apache 2.