I am traveling with Turkish Airlines (return ticket) from Saudi Arabia to Pakistan. Can I visit Istanbul during my layover time (15 hours)? I am a Pakistan national and I have a resident permit of Saudi Arabia.
I am flying to Tbilisi, Georgia with Turkish Airline. My stay in Istanbul is 12 hours. Can I get transit visa to visit Istanbul city ?    I am from Pakistan with Oman employment visa.
Let $R$ be a commutative ring with identity. Assume that $R$ has exactly three distinct ideals: $\{0\},I, R.$      1) Show that if $a \in R-I$, then $a$ is a unit in $R$.      2) Let $a,b\ne0$ in $I$. Show that $ab=0$. The best stack-up possible with a four-layer PCB? I'm designing a 4 layer PCB and I know that the standard stack-up is  Signals GND VCC Singals  (GND and VCC can be switched depending on the layer with more signals) The problem is, I don't really want to connect all ground pins through vias, there are just too many of them ! maybe because I'm not used to 4 layer PCBs, anyway, I've read a  by Henry W. Ott about a different stack-up  GND Signals Signals GND  (Where the power is being routed with wide traces on the signal planes) According to him, this is the best stack-up possible with a four-layer PCB, for the following reasons: 1.Signal layers are adjacent to ground planes. 2.Signal layers are tightly coupled (close) to their adjacent planes. 3.The ground planes can act as shields for the inner signal layers. (I think this requires stitching ??) 4.Multiple ground planes lower the ground (reference plane) impedance of the board and reduce the common-mode radiation. (don't really understand this one) One problem is cross-talk, but I really don't have any signals in the third layer, so I don't think that corss-talk will be an issue with this stack-up,am I correct in my assumption ? Note: The highest frequency is 48MHz, there's a wifi module on the board too. Why should I use a private variable in a property accessor? I've been investigating the Cartesian graph of $x^y=y^x$. Obviously, part of the graph is comprised of the line $y=x$ but there is also a curve that is symmetrical about the line $y=x$. (We can prove this symmetry by noting that the function $x^y=y^x$ is self-inverse; all self-inverse functions are symmetrical about the line $y=x$.) An image of the graph is shown below:  I decided to find the intersection point and arrived at an intriguing result: the intersection point between the two curves is at $(e,e)$. The following is my method: If the gradient of the line $y=x$ is $1$, the gradient of the curve at the intersection point must be $-1$ as it's a normal to the line (as it's symmetrical about the line). This means that at that point $\frac{dy}{dx}=-1$. Now to find $\frac{dy}{dx}$. We have $x^y=y^x$. I then used a very powerful tehnique for differentiating these sorts of functions. We know that eg $$x^y=e^{\ln{x^y}}=e^{y\ln{x}}$$ and $$\frac{d}{dx}e^{f(x)}=f'(x)e^{f(x)}$$ Applying it to our function $x^y=y^x$ and using implicit differentiation and the product rule gives us: $$(\frac{dy}{dx}\times \ln x +\frac{y}{x})x^y=(\ln y +\frac{dy}{dx}\times \frac{x}{y})y^x$$ So $$\frac{dy}{dx}x^y\ln x +yx^{y-1}=\frac{dy}{dx}xy^{x-1}+y^x \ln y$$ Extensively rearranging gives: $$\frac{dy}{dx}=\frac{y^x \ln y -yx^{y-1}}{x^y \ln x -xy^{x-1}}$$ Let $\frac{dy}{dx}=-1$: $$y^x \ln y -yx^{y-1}=xy^{x-1}-x^y\ln x$$ But we know $x=y$ since we are at the intersection point with the line $y=x$: $$x^x \ln x -x^x=x^x-x^x\ln x$$ So $2x^x \ln x -2x^x=0$ $$2x^x(\ln x -1)=0$$ This means either $2x^x=0$ or $\ln x -1=0$ but we know $x^x$ is always greater than $0$ so $\ln x =1$, leaving us with: $$x=y=e$$ So I have my answer, but is there any other method of getting it? I have heard there is. Any help will be very welcome. Thanks in advance Commuting: How to carry office clothing so it doesn't get crushed? I have the bike, I have the best route; but now I want to know, how do I transport my clothing in each day? I typically wear suit pants and a business shirt, but not a suit jacket.   Am I better off leaving my clothes at work, or is there a special bag that would let me carry in shirt/pants without them getting crushed? How much movement does it take to stand up from prone when my speed is modified? Suppose my speed is normally 30 feet. I get hit with a Slow spell, reducing my speed to 15 feet, and then I get knocked prone. How many feet of movement do I need to spend in order to stand back up from prone? How many feet of movement do I have left over once I've stood up?  What if I am also hit with a Ray of Frost spell while slowed, reducing my speed to 5 feet for 1 round? Am I able to stand up at all? Forecast total for a year given monthly time series I have a monthly time series (for 2009-2012 non-stationary, with seasonality). I can use ARIMA (or ETS) to obtain point and interval forecasts for each month of 2013, but I am interested in forecasting the total for the whole year, including prediction intervals. Is there an easy way in R to obtain interval forecasts for the total for 2013? Running Windows 7  I'm trying to boost the startup speed of my computer and I'm going through "msconfig" and "services.msc" to disable some applications from starting up automatically when the computer turns on.  There are some good sites that document the entries found in the "Processes" tab of the task manager.  You can find out if they are safe to kill, who the manufacturer is, and what the process in question is used  for.  Are there any sites that list startup processes &amp;| services that are safe to kill?  For example, there is an entry in msconfig that just says "Computer Browser" - pretty vague, but seems like something to not kill.  On the other hand, there is an entry in msconfig that says "Extensible Authentication Protocol" - pretty specific and seems like it shouldn't be killed, but how can I know for sure?  Does anyone know if there are any websites documenting the "killable" items listed in both msconfig &amp; services.msc? Cursor is set to move by increments. how to reset to normal? My cursor is moving by every selection by large increments!  Normally when I use Blender, I am able to select and move objects to any coordinate. Now, all of the sudden, when I select an object or mesh the selection moves by an inch or so in each direction.  How do I reset it to normal? Let $X, Y$ be an exponentially distributed random variables with parameters $a, b$. Then $X$ has pdf:    $$f_X(x) =\begin{cases} a e^{-a x},&amp; x\geq 0\\ 0,&amp; \text{otherwise}.\end{cases}$$ Suppose $X$ and $Y$ independent. Show that $$\mathbb P(X&gt;Y) = \frac{b}{a+b}.$$   Now I thought the following: $$f(x,y) = f_X(x)\ f_Y(y) = abe^{-ax -by},\qquad\text{for } x,y &gt; 0.$$ And then $$\mathbb P(X&gt;Y) = \int_0^\infty \int_0^x a b e^{-ax -by}\,dydx$$ However, if I solve this (manually or using Wolframalpha), I can't seem to end up with $\frac{b}{a+b}$. Any ideas? To give you some background, I have a grasp on the basics of statistics and probability theory and even remember touching Bayes theorem at the university data mining course. But being a few years away from the university made my math got extremely rusty (so much for last-minute pre-exam cramming). While I remember various random basic concepts, there are a lot of gaps in my understanding of them.  What would be a good material (a book, a site, or otherwise equally accessible medium) to revise the fundamentals and go beyond basics? I'd like a book that can be actually read as a book (most statistics books are really dry and are close to being reference material, rather than a book). When electric dipole placed in non uniform electric field, what is the approach to calculate torque acting on it? Can it be zero? OS X El Capitan installation error: AMD-Action:authenticate:SP When doing a clean re-installation of El Capitan (highest supported version) from a bootable USB on an older Mac (MBP, 15-inch, Late 2008), I get this error:  An unexpected error occured while signing in. AMD-Action:authenticate:SP  The error shows up, while logging in with the Apple ID into the App Store in the installer.  I tried with different Apple IDs,  Also tried running these commands in the Recovery Terminal and restarting: csrutil clear csrutil enable The change in energy of an object can be determined by the work equation, where work is the change in energy:  $$ W = F \cdot d $$  I conceptualize the transfer of energy as simply a series of small "packets" of energy being transferred at every Planck length. These small "packets" of energy add up to the total energy transferred (i.e. work). I'm not sure if this conceptualization is correct, so correct me if I am wrong.  However, it makes me wonder why the amount of energy transferred is dependent on distance and not time.  $$ m_1 = 10~kg \\ m_2 = 20~kg \\ W_1 = (10~N)\cdot(5~m) = 50~J \\ W_2 = (10~N)\cdot(5~m) = 50~J \\ W_1 = W_2 \\ t_1 \neq t_2 $$  If I apply a constant force on an object, why isn't the energy transferred at a constant rate with respect to time? The energy transfer rate varies dependent on how long it takes to cover the set distance.  In other words: why is the energy transferred consistent per unit of distance, and not per unit of time? Precedence of user and group owner in file permissions I was wondering if there is a simpler way to find the last to digits of a power such as $3^{45}$. I reduced it modulo 100 to get the answer, which is 43. But I was curious if there was a simpler, or more eloquent way to get this result.  Here's my method:  Using the fact that $3^4=81\equiv -19 \pmod{100}$ and $19^5=2,476,099\equiv -1 \pmod{100}$  $$ 3^{45}\equiv 3(3^4)^{11}\equiv 3(-19)^{11}\equiv 3(-19)(19^5)^2\equiv 3(-19)(-1)^2 \equiv -57 \equiv 43 \pmod {100} $$  I just felt like this was sort of a messy way to find out that the last two digits are 43. Icon missing when application is launched I've created an application launcher in /usr/share/applications that launches rdesktop. The file specifies an icon name and I've added the icons to:   /usr/share/icons/HighContrast/48x48/apps /usr/share/icons/HighContrast/22x22/apps /usr/share/icons/HighContrast/256x256/apps /usr/share/icons/HighContrast/32x32/apps /usr/share/icons/HighContrast/scalable/apps-extra /usr/share/icons/HighContrast/24x24/apps /usr/share/icons/HighContrast/16x16/apps /usr/share/icons/hicolor/scalable/apps /usr/share/icons/hicolor/128x128/apps /usr/share/icons/hicolor/16x16/apps   I then drug the launcher to the taskbar and the launcher with the correct logo is visible in the taskbar. However, when I start the task, a new icon is created in the taskbar, a square with a question mark in the center.  What icons do I need and where, so that the taskbar displays the correct icon for the application when it is launched?  The .desktop file contents:   [Desktop Entry] Version=1.0 Terminal=false Icon=mswindows Type=Application Categories=Network; Exec=rdesktop win7shared1 -g 1680x1000  Name=win7shared1 GenericName=rdesktop Comment=Open windows desktop  Keywords=Windows StartupNotify=false Why was Dumbledore worried by the cut in Harry's arm? In the Goblet of Fire, Harry is cut in the arm by Pettigrew. When Dumbledore learns it, he's extremely worried and wants to check Harry's arm.  Why?     When Harry told of Wormtail piercing his arm with the dagger, however, Sirius let out a vehement exclamation and Dumbledore stood up so quickly that Harry   started. Dumbledore walked around the desk and told Harry to stretch out his arm.   Harry showed them both the place where his robes were torn and the cut beneath   them.      "He said my blood would make him stronger than if he'd used someone else's,"   Harry told Dumbledore. "He said the protection my - my mother left in me - he'd   have it too. And he was right - he could touch me without hurting himself, he   touched my face."      For a fleeting instant, Harry thought he saw a gleam of something like triumph in   Dumbledore's eyes. But next second. Harry was sure he had imagined it, for when   Dumbledore had returned to his seat behind the desk, he looked as old and weary   as Harry had ever seen him.      "Very well," he said, sitting down again. "Voldemort has overcome that particular   barrier. Harry, continue, please.     Edit:  Plz explain this sentence specifically:     "Dumbledore walked around the desk and told Harry to stretch out his   arm." How do I recover or "undelete" files that I accidentally deleted? I've accidentally deleted some really important files on my machine, and I'm looking to find out how to recover them.  Using the Trash bins "restore" isn't an option, as the files aren't there (mostly likely I wasn't paying attention and permanently deleted them from there).  Is there any way that I can un-delete these files? Before 1994 the last Triwizard Tournament had been held in 1792, where the three headmaster judges were injured by a rampaging cockatrice.  The tournament is held every 5 years, which would put the next one in , the year . Did they carry on with the tradition, or was it deemed too risky again?