Overland travel - Thai visa requires tickets in and out
Do I need a bus/train/plane ticket out of Thailand in order to get a Visa-on-Arrival?
How to call gdal_translate from Python code? Is it possible to use some gdal API to call gdal_translate from Python code? I do not mean simply executing the gdal_translate.exe from the file system, but rather call it somehow in code so I do not need to know the exact directory the gdal_translate executable is in? I would like to associate the last installed version of my Mac OS X application with a certain type of file. A little experimentation shows that the info.plist file seems to be read and interpreted by the operating system when launching the application, not when dragging the application bundle to the disk.  does not say much on that topic.  Is there any way, using a simple .dmg image as installation medium, to make sure the system associates that particular file type with my newly installed app without having to launch it first?  I should clarify that I want this to be done automatically during the installation (I don't want my users to have to do it themselves). Is there any general way to obtain the review ID or review summary for a certain review job without the 10 k tools? Accessing the full review history is a privilege for 10 k users but, statistics for individual reviews can be viewed by everybody ( ).  These review summaries can be somewhat useful for different aspects, such as understanding what happened to a review item that you initiated, e.g., if your close vote remained the only one on a question, you can only guess by the elapsed time whether nobody else has reviewed it or whether the review is finished with everybody disagreeing. Or you can see who performed a disputed review decision and discuss it.  My question now is: Is there any way to acess these review summaries or obtain the review ID – which would allow to find these summaries – for a particular review task?  I am aware that the above information, in particular the reviewer identity, can be abused and it may therefore be undesirable that everybody can find this information. But then, at least on small sites, it’s quite possible to obtain the review ID from guessing. Also, I can access the review summary for every review that I participated in or even skipped from my review history and the review summary for every successful edit from the edit history. White background with filmic blender What are the relationship between administrators groups of domain, dev computer and of Sharepoint services? I know-know I can search and read but anyway I would need to ask in order to escape possible typos, personal misunderstandings and to better remember.     I develop on a machine with installed Sharepoint 2010 Sever where I have local groups:     Administrators Description: Administrators have complete and unrestricted access to the computer/domain   WSS_Admin_WPG Description: Members of this group have write access to system resources used by Microsoft SharePoint Foundation      **Does the description of "Administrators" ("computer/domain") imply all privileges of "WSS_Admin_WPG" ?    Does the description of **WSS_Admin_WPG (in part of "system resources used by Microsoft SharePoint Foundation") imply Sharepoint Server?**    The WSS_Admin_WPG group has entries of:     "BUILTIN\Administrators (S-1-5-32-544)" group   and some user domain accounts   Is "BUILTIN\Administrators (S-1-5-32-544)" group the same (alias to?) as "BUILTIN\Administrators" entry I observe among Sharepoint Farm Administrators (through "Central Administration")?       Is the entries of domain accounts excessive (or necessary)     in "WSS_Admin_WPG" if these accounts make part of "Administrators" group?     in "Farm Administrators" if these accounts are part of "BUILTIN\Administrators (S-1-5-32-544)" group?     What are relationship (difference) between "BUILTIN\Administrators" and "Administrators"? Is a hexagonal house feasible? Recently I have been considering the economics and feasability of building a house versus buying a used one. In my design I settled on a hexagon as the logical shape for the frame, which I am considering for masonry construction. This would be a big house, each side being at least 30 feet wide (footprint 2340 sq ft). The advantages of a hexagon are obvious: simple roof shape, no valleys, space efficient, heat efficient (this would be in New England and subject to cold winters), good wind resistance.  What I can't understand is why there seems to be no-one building hexagonal houses? The only notable building I could find at all was the Supreme Court.  Possible explanations would be that the shape is expensive for small houses due to the 6 corners, but for a large house like mine the room shapes work out fine, in fact they are better than a box house. Maybe its just tradition? People don't like it because it looks like church? Builders have some objection to 60-degree angles?  What is the reason there are no hexagonal houses? I have a Java bean like this:  class Person {   int age;   String name; }   I'd like to iterate over a collection of these beans in a JSP, showing each person in a HTML table row, and in the last row of the table I'd like to show the total of all the ages.  The code to generate the table rows will look something like this:  &lt;c:forEach var="person" items="${personList}"&gt;   &lt;tr&gt;&lt;td&gt;${person.name}&lt;td&gt;&lt;td&gt;${person.age}&lt;/td&gt;&lt;/tr&gt; &lt;/c:forEach&gt;   However, I'm struggling to find a way to calculate the age total that will be shown in the final row without resorting to scriptlet code, any suggestions? Example code required for how to access embedded .Net image resources in C# It's very easy to mark an image file to become an embedded resource however how does one access the image thereafter. Please can I have some example code? Different mechanics of \hyperlink vs. \hyperref I am fiddling around with the hyperref package to build a hypertext structure into my pdf. At first glance, hyperref provides two similar macros to put links between parts of my document: \hyperlink{target}{text} and \hyperref[target]{text}. You might notice their slightly different syntax. What really interests me is their different working mechanics. I will illustrate this by the following example: \documentclass{article}  \usepackage{pdfpages} \usepackage[]{hyperref} \usepackage{mwe}  \begin{document}  \section{Section Heading} \label{sectionheading}  \includepdf[link=true, linkname=pdfpage]{example-image}   Link to section works with \hyperref[sectionheading]{hyperref} and with \hyperlink{sectionheading}{hyperlink} (but with slightly different targets on the page).  Link to pdf works with \hyperlink{pdfpage.1}{hyperlink} but not with \hyperref[pdfpage.1]{hyperref} (and not this way, either: \hyperref[pdfpage]{hyperref}).  \end{document}  To link to the labeled section heading, I may use both commands. While \hyperref directs my pdf viewer directly to the linked section, \hyperlink directs me somewhere slightly different, so I can see more context. To link to the \includepdf of pdfpages however, I may only use \hyperlink. \hyperref does not work at all. I suspect this is because of a subtle difference in their working mechanisms. While checking the aux file, I found a line \newlabel{sectionheading}{{1}{1}{Section Heading}{section.1}{}} which \hyperref seems to use as a target. However, I did not find any similar target for the included pdf. My question: I suspect, I understand the workings of \label and \ref very well. \hyperref seems to work quite similarly with the added clickability. Could you please explain to me how \hyperlink does work differently and how it is implemented? E.g. what mechanics explain the difference when clicked on the link and where and how are the link targets stored in the first place? How can you tell if if a meal is thawed? I am planning to place a meal (salmon + rice) in a refrigerator after having frozen it. How can I tell when it's thawed? If $(1), (log_yx), (log_zy), (-15log_xz)$ are in Arithmetic Progression... If $(1), (log_yx), (log_zy), (-15log_xz)$ are in AP then...   (A)$z^3=x$   (B)$x=y^{-1}$   (C)$z^{-3}=y$   (D)$x=y^{-1}=z^3$   (Multiple answers may be correct)   I tried many approaches, one of them being: $1+log_zy=2log_yx$ $log_zz+log_zy=log_yx^2$ $log_z(yz)=log_yx^2$ But the fact that the bases are different is causing the main problem as I don't know how to proceed further. It would be great if anybody could give me a hint for solving such questions. Ubuntu 17.10 GDM Auto-Login not working In-universe, a lightsaber is basically a controlled, fixed-length plasma stream that can be used as a sword. As such, the blade wouldn't have any mass (or infinitesimal mass if you want to get technical about E=mc2).  Anyone familiar with fencing or swordplay knows that the weight of the handle and blade, and thus the overall balance of the weapon, is critically important while fighting. A sword that is too blade-heavy is unwieldy; it is difficult to start, stop, and change the path of the blade as it's swung, which is vital to outmaneuvering your opponent in a duel. Conversely, a sword with too light a blade (equivalently, too heavy a hilt) is too easy to swing around. it's hard to "feel" where the blade is, and thus to make the minute changes needed to block a blow or land one. It can also be just as exhausting, in a different way, to wield such a sword; because most of the mass is behind your hand, it takes muscle power to point the blade forward instead of upward, while a balanced weapon would point directly forward from the user's hands. You also get no mechanical advantage while swinging it.  Obviously, out-of-universe the props were full "swords" that were then rotoscoped to paint the beam blade over the white wooden (later plastic) dowel that protruded from the saber. This gives the actual prop used by the actors a more realistic weight and balance, which can be seen in the duels (Darth Maul has to heave a bit to get that double-saber staff moving, and you can see the effort behind a full baseball swing of the sword by Luke or Vader in the original trilogy).  Was there any attempt in-universe to explain the weight and balance that an active lightsaber seemed to possess? How to fix infinite bash loop (bashrc + bash_profile) when ssh-ing into an ec2 server? I mistakenly have source .bash_profile in the bashrc file and vice versa. Now when I tried to ssh into the machine (ec2), it will stuck at loading bash and get connection closed in a second. Is there a way I could fix it? Could I mount the disk to another ec2 instance to fix the bash files?  Update 1: I tried the following: %  ssh -i &quot;my-pem.pem&quot; -t ubuntu@&lt;server_address&gt;.amazonaws.com &quot;/bin/bash --noprofile --norc&quot; Connection to &lt;server_address&gt;.amazonaws.com closed.  Nothing else showed up. Do you have any idea on what was going wrong? For sanity check, if I do ssh -i &quot;my-pem.pem&quot;ubuntu@&lt;server_address&gt;.amazonaws.com, the message will be ...  28 packages can be updated. 0 of these updates are security updates. To see these additional updates run: apt list --upgradable  New release '20.04.2 LTS' available. Run 'do-release-upgrade' to upgrade to it.   Last login: Mon Feb 22 23:17:41 2021 from ip Connection to &lt;server_address&gt;.amazonaws.com closed.  Solution Just ssh onto the machine and immediately do Ctrlc and fix the bash files. Too many password attempts While I was out, someone attempted to guess my phone password. They couldn't guess it and now it displays the 'too many password attempts' screen, which needs to be unlocked with a google account. However, my google account is not working. I enter the username and password correctly, and have attempted to do so about 10 times. So why is it not unlocking? Do I need an internet connection to unlock it? Bake Simple Deform animation into mesh for Unity3D export? I'm trying to use a .blend file with a keyframe animation on the angle of a Simple Deform modifier in Unity3D. Unity3D however does not know how to handle modifiers and hence cannot play the animation.  How can I bake/save the animation to the .blend file so that Unity3D can play it? Suppose that $f:[0,\infty)\rightarrow\mathbb{R}$ is continuous. Is it true that   $$\int_{0}^\infty|f(t)|dt&lt;\infty\Rightarrow \lim_{t\rightarrow\infty}f(t)=0?$$  If so can you provide a proof, otherwise a counter example. Thank you. Force update from unsigned repository I'm using an unsigned repo in Ubuntu 16.04 from Debian multimedia:  deb http://www.deb-multimedia.org jessie main   To install deb-multimedia-keyring, I'm running:  apt-get update &amp;&amp; apt-get install deb-multimedia-keyring -y   This gives an error:  W: GPG error: http://www.deb-multimedia.org jessie InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5C808C2B65558117 E: The repository 'http://www.deb-multimedia.org jessie InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. Limit point versus limit and implications for convergence I understand that similar questions to this have been asked  and  but I believe my question is different because with regards to (1) I am not asking about the set $X$ that contains the points of my sequence and with regard to (2) because I have the distinct definitions of limit and limit point in mind. That said:  My Question: My textbook, Fundamental Ideas of Analysis by Michael Reed, defines a limit point as:     Definition: Let $(a_n)$ be a sequence of real numbers. A number $d$ is called a limit point if, given $\epsilon &gt; 0$ and an integer $N$, there exists $\color{red}{\mathrm{ an }} \ n \ge N$ so that $|a_n - d| \le \epsilon$.    The definition of a limit is as follows:     Definition: We say that a sequence $(a_n)$ converges to a limit $a$ if, for every $\epsilon \ge 0$, there is an integer $N(\epsilon)$ so that $|a_n - a| \le \epsilon \color{red}{\text{  for all  }} n \ge N$.    From these definitions, and given this question:     If a sequence converges it has exactly one limit point. Is the converse true? If not, provide a counterexample   Can I conclude that the converse is indeed true simply by appealing to the definitions, or do I need a tighter proof. And if I do, I'm a little stuck on how to refine this proof. Computing $\lim_{(x,y)\to (0,0)}\frac{x+y}{\sqrt{x^2+y^2}}$ What is the result of  $\lim_{(x,y)\to (0,0)}\frac{x+y}{\sqrt{x^2+y^2}}$ . I tried to do couple of algebraic manipulations, but I didn't reach to any conclusion.  Thanks a lot.