Non credit card holder travelling turkey I am an Indian who has booked my flight tickets from someone else credit card from Turkish Airlines which travels from Istanbul to other city in Turkey. Will there be problem since I am not the credit card holder?
Flying Turkish Airlines, what are credit card rules? I have return tickets flying out of SFO on Turkish airlines for the whole family. The credit card I used to book the tickets has since been replaced by the bank with a new card.   In order to board, can I present the new credit card (same name) at the checkin counter, or must I present the original credit card (which is no longer valid and has been discarded)?  By 'discarded' - I mean cut up and thrown away in trash. It was no longer valid, since it was replaced with a new card. So can I use the new card to travel on a booking that was made using the original card?    The new card has a new number; and the ticket was purchased through an agent.
Word for romantic partner you are living with but not married to How do I iterate over a range of numbers defined by variables in Bash? How do I iterate over a range of numbers in Bash when the range is given by a variable?  I know I can do this (called "sequence expression" in the Bash ):   for i in {1..5}; do echo $i; done   Which gives:     1    2    3    4    5   Yet, how can I replace either of the range endpoints with a variable? This doesn't work:  END=5 for i in {1..$END}; do echo $i; done   Which prints:     {1..5} Delete all lines in Notepad++ except lines containing a word I need? I have a function with the same name, but with different signature in a base and derived classes. When I am trying to use the base class's function in another class that inherits from the derived, I receive an error. See the following code:  class A {     public:     void foo(string s){}; };  class B : public A {     public:     int foo(int i){}; };  class C : public B {     public:     void bar()     {         string s;         foo(s);     } };   I receive the following error from the gcc compiler:  In member function `void C::bar()': no matching function for call to `C::foo(std::string&amp;)' candidates are: int B::foo(int)   If I remove int foo(int i){}; from class B, or if I rename it from foo1, everything works fine.   What's the problem with this? I have an app installed on my phone, which I've installed from the Google Play Store.  If I update the app and don't like the upgraded version, is there a way to undo the update and downgrade back to the version of the app that I had previously installed?  I tried searching a bunch on this site, and I found lots of questions about downgrading the OS/ROM/firmware, but nothing about downgrading app versions or reverting an app update. Use nmcli to modify VPN password? With nmcli, I can modify VPN data like this:  nmcli con modify myvpn vpn.data 'refuse-pap = yes, user = xxx'   So I'm wondering if I can set password this way as well? Changing Login Logo How do I keep running a Service the whole time? How to install Ubuntu 16.10 without any gui? I want to start my computer and it should open up to a CLI. I don't want a GUI, no fancy login screen etc.  I need a solution that does not use a minimal ISO because it requires an internet connection. I need an offline installation. LIGO flawed by the identical expansion of laser wavelength and arms in presence of a gravitational wave? , Laser Interferometer Gravitational-Wave Observatory, is a large-scale physics experiment aiming to directly detect gravitational waves. The device measures the phase shift laser beams.  If I understand this well, the measurement assumes that a suitable gravitational wave reduces and prolongs one of the tubes and the extension will take effect in the phase-shifting laser beams.  But I think if there's a gravitational wave that passes through it, it will affect everything, even the laser beam. This means that when the wave lengthens or shortens the tube, it also lengthens or shortens the wavelength of the laser beam.  In my opinion, therefore, this device does not work. Or am I wrong? Newcommand + Stepcounter I'm trying to come up with a command which should increase a counter and return a string including the current value of the counter.  Have a look at the following minimal example:  \documentclass{article}  \newcounter{mycounter} \newcommand{\mystepFAILS}{\stepcounter{mycounter}foo\themycounter} \newcommand{\mystepWORKS}{foo\themycounter}  \begin{document}  \section{\mystepFAILS}  \section{\mystepWORKS}  \end{document}   Why does the command with \mystepFAILS throw an error? What is so special about \stepcounter? Any ideas? Why are certain example URLs like https://site.com/ and https://mysite.com/ blocked from post content? Why is  and  blocked from the post content on the main site? I tried to make a sample URL and I had to use  instead. What is Renly's basis for removing Joffrey? Related question:   I get that he considers himself a better king than Stannis, but why isn't he ?  Did Renly know about Joffrey being illegitimate? I always thought he didn't and was distrustful that Cersei would accept Ned as Regent.  I think in both the books and the series, Renly finds out Joffrey is illegitimate from Stannis' letters, but rewatching that clips makes me think Renly was with Ned, Varys and LF in the plan to arrest Joffrey and Cersei.  [looks up something]  Oh also . So Renly did know? We all know that $\sqrt[3]{3}\not\in \mathbb{Q}({\sqrt[3]{2}})$ intuitively. We even know that $\sqrt[3]{p}\not\in \mathbb{Q}(\sqrt[3]{q})$ for two distinct primes $p, q$. However, I don't know how to prove these things rigorously. In case of $\sqrt{p}\not\in \mathbb{Q}(\sqrt{q})$, we can just set assume $\sqrt{p}=a+b\sqrt{q}$ for some $a, b\in\mathbb{Q}$ and deduce a contradiction. However, in cubic case, expansion of $(a+b\sqrt[3]{2}+c\sqrt[3]{4})^{3}$ is very complicated and even I expand this I couldn't get any contradiction by this.  To be specific, it gives us 3 diophantine equations  $$a^{3}+2b^{3}+4c^{3}+12abc=3$$ $$a^{2}b+2b^{2}c+2c^{2}a=0$$ $$ab^{2}+2bc^{2}+ca^{2}=0$$  and I don't know how to check solvability of this kind of diophantine equations (over $\mathbb{Q}$). Even if there exists a way to check solvability, I cannot convince that it can be used to prove $\sqrt[3]{p}\not\in \mathbb{Q}(\sqrt[3]{q})$.   So I tried to use Galois theory, but actually I don't know where to go. I assumed $\mathbb{Q}(\sqrt[3]{3})=\mathbb{Q}(\sqrt[3]{2})$ and take a Galois closure, i.e. $K=\mathbb{Q}(\sqrt[3]{3}, w)=\mathbb{Q}(\sqrt[3]{2}, w)$ where $w^{3}=1$ then tried to use field norm maps. We can check that $\beta=\sqrt[3]{3}\cdot\sigma(\sqrt[3]{3})\cdot\sigma^{2}(\sqrt[3]{3})\in \mathbb{Q}$ when $\sigma\in Gal(K/\mathbb{Q}), \sigma(\sqrt[3]{2})=\sqrt[3]{2}, \sigma(w)=w^{2}$. But I cannot get any information from this.   Edit : It would be great if there is a simple algorithm to check whether $\alpha\in K$ or not for a given algebraic number $\alpha$ and a number field $K$. How do you check if a JavaScript Object is a DOM Object? I'm trying to get:  document.createElement('div')  //=&gt; true {tagName: 'foobar something'}  //=&gt; false   In my own scripts, I used to just use this since I never needed tagName as a property:  if (!object.tagName) throw ...;   So for the second object, I came up with the following as a quick solution -- which mostly works. ;)  The problem is, it depends on browsers enforcing read-only properties, which not all do.  function isDOM(obj) {   var tag = obj.tagName;   try {     obj.tagName = '';  // Read-only for DOM, should throw exception     obj.tagName = tag; // Restore for normal objects     return false;   } catch (e) {     return true;   } }   Is there a good substitute? Steps to Reproduce   Tap faster on the code. or Tap once on a huge code.   but happens only when  setupForGeneric() is called, might be a bug related to   private void setupForCode()   { String str = getIntent().getStringExtra("com.stackexchange.marvin:code_block"); PrettyWebView localPrettyWebView = (PrettyWebView)findViewById(R.id.code); localPrettyWebView.setPostBody("&lt;pre&gt;&lt;code&gt;" + TextUtils.htmlEncode(str) + "&lt;/pre&gt;&lt;/code&gt;", false); localPrettyWebView.setBackgroundColor("#eeeeee"); }  private void setupForGeneric() { String str = getIntent().getStringExtra("com.stackexchange.marvin:web_url"); PrettyWebView localPrettyWebView = (PrettyWebView)findViewById(R.id.code); localPrettyWebView.getSettings().setBuiltInZoomControls(true); localPrettyWebView.getSettings().setLoadWithOverviewMode(true); localPrettyWebView.getSettings().setUseWideViewPort(true); localPrettyWebView.loadUrl(str); localPrettyWebView.setBackgroundColor("#eeeeee"); }   Log  09-05 03:54:30.312: E/AndroidRuntime(26264): FATAL EXCEPTION: WebViewCoreThread  09-05 03:09:39.522: E/Crittercism(18318): java.lang.NullPointerException: [v0.1.22]  09-05 03:09:39.522: E/Crittercism(18318):   at android.content.ComponentName.&lt;init&gt;(ComponentName.java:75) 09-05 03:09:39.522: E/Crittercism(18318):   at android.content.Intent.&lt;init&gt;(Intent.java:3156) 09-05 03:09:39.522: E/Crittercism(18318):   at com.stackexchange.marvin.ui.ViewPopupActivity.showCode(ViewPopupActivity.java:25) 09-05 03:09:39.522: E/Crittercism(18318):   at com.stackexchange.marvin.ui.question.QuestionFragment$1.onCodeClicked(QuestionFragment.java:67) 09-05 03:09:39.522: E/Crittercism(18318):   at com.stackexchange.marvin.ui.common.PrettyWebView$WebAppInterface.codeClicked(PrettyWebView.java:197) 09-05 03:09:39.522: E/Crittercism(18318):   at android.webkit.WebViewCore.nativeTouchUp(Native Method) 09-05 03:09:39.522: E/Crittercism(18318):   at android.webkit.WebViewCore.nativeTouchUp(Native Method) 09-05 03:09:39.522: E/Crittercism(18318):   at android.webkit.WebViewCore.access$4000(WebViewCore.java:59) 09-05 03:09:39.522: E/Crittercism(18318):   at android.webkit.WebViewCore$EventHub$1.handleMessage(WebViewCore.java:1449) 09-05 03:09:39.522: E/Crittercism(18318):   at android.os.Handler.dispatchMessage(Handler.java:99) 09-05 03:09:39.522: E/Crittercism(18318):   at android.os.Looper.loop(Looper.java:137) 09-05 03:09:39.522: E/Crittercism(18318):   at android.webkit.WebViewCore$WebCoreThread.run(WebViewCore.java:790) 09-05 03:09:39.522: E/Crittercism(18318):   at java.lang.Thread.run(Thread.java:856) How do I control how Emacs makes backup files? Emacs puts backup files named foo~ everywhere and I don't like having to remember to delete them.  Also, if I edit a file that has a hard link somewhere else in the file system, the hard link points to the backup when I'm done editing, and that's confusing and awful.  How can I either eliminate these backup files, or have them go somewhere other than the same directory? Do 'learn by heart' & 'learn by rote' mean the same? Here in India, both the phrases learning by heart and learning by rote are taken to have the same meaning, i.e., blind memorisation without true understanding.    However, some sources say that to learn something by heart implies that one knows something so well that it has been thoroughly internalised and imbibed.    So is it wrong to conflate the two? How to compare dates in Java? Inline suggested edit reviews are truncated in medium-width windows