Georeferencing jpg via Gdal_translate output a GIS tif 15.5 times bigger
gdal_translate- why jpg compressed tif is 2 times greater than jpg file?
I need help with this:  If a is an element of $\mathbb Z_n$ and $\gcd(a,n) &gt; 1$ , then a is not invertible.   First you show that if $a$ is an element of $\mathbb Z_n$ and $\gcd(a,n)&gt;1$, then there  is an element $b$ of $\mathbb Z_n$ and ($b$ is not equal to the zero element) from which $ab = 0$.   The second part I cant get. i.e. show if $b$ is not the zero element  and $ab=0$ then $a$ is not invertible. I would like to change the caption in the List of Tables in a way it is different from the caption in the corresponding table. How can I do that? Does there exist a command to do that? One server with multiple desktops "heads" with VNC I am managing a system of kiosks.  Each kiosk currently is running a web browser with the application for the kiosk running in the browser.  Each kiosk needs to be able to display separate content.  At times, the application running in the web browser freezes.  Thus, I have to go out to the site to refresh the page.  I want to see if there is a way to have one central server that has multiple browser heads.  Then each kiosk would run a program like VNC to display one of the heads.  This way when the program freezes, I just have to login to the central server and refresh the page.  Getting VNC or another remote desktop software installed on the clients is no problem.  What I am looking for is a way to have VNC remote into a specific head of a head of a web browser.  Does such a thing exist?  Or do I have to run a VM for each kiosk to remote into?  Any advice, pointers, or solutions would be helpful. Lightsaber blade "weight" in-universe Mutineers force captain to record instructions to spaceship's computer but he leaves out "please" The crew mutinies on a spaceship whose captain controls it with verbal orders. They test whether they can control the ship with recordings of the captain's voice with an order to increase orbital speed (currently orbiting a planet). It works, so they force the captain to record all the possible orders they may need, and execute him. Only then do they realize that the ship obeys only orders couched in polite language, and only the test recording was like this, but the other recordings are not. They will die once the ship's faster orbit somehow causes it to run out of fuel, or something like that. I seem to remember the ship's &quot;computer&quot; following the captain around on robotic legs. I read the story circa 1980, but it might have been published much earlier. I have created the custom setting with the hierarchy type    I have added some fields to the custom settings  phone field is added to the custom settings  custom setting Name:Order_Configuration__c  Phone :12345 - one profile  phone:456798 - another profile   Is it possible to access the different values for different profiles in custom settings using apex trigger code How to delete directories with path/names too long for normal delete Windows seems to have a length limit on file names when trying to delete, though it won't prevent those files from being created.  Our build process creates a number of temporary files (many build off of a WSDL) that run afoul of this limit.  Our ant script is somehow able to delete them when doing a clean, but sometimes I need to delete the workarea directory (where all the temp files go) without actually doing a full clean from ant.  This is the same errors , but the answers there don't really work for me as I'm dealing with a directory, not a file, and I don't always know what specific files or subdirectories are causing the problem.  And I'm trying to avoid any manual process (other than triggering a single command) to actually delete them.  If I try deleting the directory from Explorer I get the error   Cannot delete [file name]: The file name you specified is not valid or too long.   Specify a different file name   Trying Remove-Item in powershell gives the following error:  Remove-Item : The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. At line:1 char:12 + Remove-Item  &lt;&lt;&lt;&lt; -force -Recurse &lt;directory&gt;   Does anyone know of any tools or easy ways to get around this delete error without having to manually find the problem files and move/rename them? What's the easiest way to use a linked list in python? In scheme, a linked list is defined simply by '(1 2 3 4 5). Python's lists, [1, 2, 3, 4, 5], and tuples, (1, 2, 3, 4, 5), are not, in fact, linked lists, and linked lists have some nice properties such as constant-time concatenation, and being able to reference separate parts of them. Make them immutable and they are really easy to work with! How align the qedsymbol after of a big formula in display mode? selectively make contact groups silent At work , i would prefer to set my phone in such a way that only the calls from my family group will ring , while all other contact calls should be silent. And later i should be able to switch it back to normal.  In general , there are sound profiles for phones, but the profiles are not specific to a contact or a group, i need a work profile which will set Family - Normal Others - Silent . etc  Is there any app in the market that would help me with this?? I have a geotiff raster image that has a coordinate system with longitudes from 0 to 360. The horizontal center of the image is 180 longitude. See image below:    I want to transform it to EPSG:4326 SRS with -180 180 longtitude range.  And I want the center of the image to be at Greenwich meridian (0). I guess this srs is very widely used. I expect the result look like this:    So I use a gdalwarp command to reproject:  gdalwarp -s_srs '+proj=latlong +datum=WGS84 +pm=180dW' -t_srs EPSG:4326 test_col.tif test_4326.tif   But I only get a tiff with bigger dimensions (more pixels) and EPSG:4326 metadata. The image itself looks the same, as the initial one. But I expect it to swap the hemispheres.  How do I gdalwarp an image to be strictly -180 180 EPSG:4326 with the center in 0 longitude?  This is gdalinfo of my initial file:  Origin = (-0.102272598067084,89.946211604095552) Pixel Size = (0.204545196134167,-0.204423208191126) Metadata:   AREA_OR_POINT=Area Image Structure Metadata:   INTERLEAVE=BAND Corner Coordinates: Upper Left  (  -0.1022726,  89.9462116) (  0d 6' 8.18"W, 89d56'46.36"N) Lower Left  (  -0.1022726, -89.9462116) (  0d 6' 8.18"W, 89d56'46.36"S) Upper Right (     359.897,      89.946) (359d53'50.18"E, 89d56'46.36"N) Lower Right (     359.897,     -89.946) (359d53'50.18"E, 89d56'46.36"S) Center      ( 179.8975000,  -0.0000000) (179d53'51.00"E,  0d 0' 0.00"S)   This is gdalinfo after gdalwarp     Origin = (-180.102727401932952,89.946211604095552) Pixel Size = (0.091397622896436,-0.091420837939082) Metadata:   AREA_OR_POINT=Area Image Structure Metadata:   INTERLEAVE=PIXEL Corner Coordinates: Upper Left  (-180.1027274,  89.9462116) (180d 6' 9.82"W, 89d56'46.36"N) Lower Left  (-180.1027274, -89.9699975) (180d 6' 9.82"W, 89d58'11.99"S) Upper Right ( 179.8211116,  89.9462116) (179d49'16.00"E, 89d56'46.36"N) Lower Right ( 179.8211116, -89.9699975) (179d49'16.00"E, 89d58'11.99"S) Center      (  -0.1408079,  -0.0118929) (  0d 8'26.91"W,  0d 0'42.81"S) What's the best way to deal with hot/stuck pixels in long exposure night photographs? I discovered red/blue/white pixels on my night photographs tonight. Trying to confirm this, I took a black image with the lens on and indeed I saw a whole lot of them (I didn't count them but at least a good fifty on the whole picture).   I'm not exactly sure if they are hot pixels, stuck pixels or anything else.  I quickly gave a check to my last exported JPEG files (I get RAW out of the camera) and couldn't find anything. After a quick search, I've seen that Lightroom is caring about those pixels after RAW conversion.  I've read that, with Canon DSLRs, there is a software process that could take care of that directly on my camera. I don't know if I can use it without getting things even more messy.   My question is: Considering my crazy pixels are not visible on my pictures, should I get too emotional about them? My camera is under warranty but is it really worth it to return it to Canon? If it's only to receive it back 1 month later after Canon just used the very same menu to map out the pixels, it's a bit ridiculous. Could this be a sign that my camera has a bigger problem?  It seems related to shutter speed. When shooting a black image at 1/250s I get nothing. When shooting the same setup but 1s, I get a few of them. The more I increase the shutter speed, the more crazy pixels I get. When is Gauss' law not applicable? When should I implement IDisposable? I tried to open the door. I tried opening the door   We can use both infinitive and gerund with verb "try" as used in above sentences. Does it change the meaning of the  sentence if use gerund or infinitive?.(here i don't know if the meaning of sentences is changed.)     The same confusion arise in these two sentences.  1.I stopped seeing him. 2. I stopped to see him.(But in case of these two sentence i know the meaning is changed but don't know exactly what the change is). How to implement Bitcount using only Bitwise operators? Book where wizards learn magic by bonding with crystals that imbue them with powers I read this book a long time ago, but I'm guessing it was written sometime in either the 80's or early 90's. It was a rather long/large book.  Plot summary: Set in a fantasy land of wizards and magic, some kids (maybe) are recruited to learn magic. In the process they find out that wizards are created by being placed in a crashed spaceship that bonds them with crystals that imbue the powers. One of them is able to bond with many/multiple crystals to become very powerful. In categorical terms, why is there no canonical isomorphism from a finite dimensional vector space to its dual? I've read in several places that one motivation for category theory was to be able to give precise meaning to statements like, "finite dimensional vector spaces are canonically isomorphic to their double duals; they are isomorphic to their duals as well, but not canonically."  I've finally sat down to work through this, and -  Okay, yes, it is easy to see that the "canonical isomorphism" from $V$ to $V^{**}$ is a functor that has a natural isomorphism (in the sense of category theory) to the identity functor.  Also, I see that there is no way that the functor $V\mapsto V^*$ could have a natural isomorphism to the identity functor, because it is contravariant whereas the identity functor is covariant. My question amounts to:     Is contravariance the whole problem?   To elaborate:   I was initially disappointed by the realization that the definition of natural isomorphism doesn't apply to a pair of functors one of which is covariant and the other contravariant, because I was hoping that the lack of a canonical isomorphism $V\rightarrow V^*$ would feel more like a theorem as opposed to an artifact of the inapplicability of a definition.  Then I tried to create a definition of a natural transformation from a covariant functor $F:\mathscr{A}\rightarrow\mathscr{B}$ to a contravariant functor $G:\mathscr{A}\rightarrow\mathscr{B}$. It seems to me that this definition should be that all objects $A\in\mathscr{A}$ get a morphism $m_A:F(A)\rightarrow G(A)$ such that for all morphisms $f:A\rightarrow A'$ of $\mathscr{A}$, the following diagram (in $\mathscr{B}$) commutes:  $$\require{AMScd}\begin{CD} F(A) @&gt;m_A&gt;&gt; G(A)\\ @VF(f)VV @AAG(f)A\\ F(A') @&gt;&gt;m_{A'}&gt; G(A') \end{CD}$$  This is much more stringent a demand on the $m_A$ than the typical definition of a natural transformation.  Indeed, it is asking that $m_A=G(f)\circ m_{A'}\circ F(f)$, regardless of how $f$ or $A'$ may vary. Taking $\mathscr{A}=\mathscr{B}=\text{f.d.Vec}_k$, $F$ the identity functor and $G$ the dualizing functor, it is clear that this definition can never be satisfied unless $m_V$ is the zero map for all $V\in\text{f.d.Vec}_k$ (because take $f$ to be the zero map). In particular, it cannot be satisfied if $m_V$ is required to be an isomorphism.     Is this the right way to understand (categorically) why there is no natural isomorphism $V\rightarrow V^*$?   As an aside, are there any interesting cases of some kind of analog (the above definition or another) of natural transformations from covariant to contravariant functors?  Note: I have read a number of math.SE answers regarding why $V^*$ is not naturally isomorphic to $V$. None that I have found are addressed to what I'm asking here, which is about how categories make the question and answer precise. ( was closest.) Hence my question here. Best way to obtain clarifying information when reputation doesn't allow comments? Uncountable $\sigma$-algebra I'm stuck on the following problem (Source: Real Analysis for Graduate Students; Exercise 2.6; ):     Suppose $\mathcal A$ is a $\sigma$-algebra with the property that whenever $A \in \mathcal A$, there exists $B, C \in \mathcal A$ with $B \cap C = \emptyset$, $B \cup C = A$, and neither $B$ nor $C$ is empty. Prove that $\mathcal A$ is uncountable.   I think there is the added assumption that this is only true for $A \in \mathcal A$ having at least two elements, so it doesn't hold for singletons and the emptyset?  I tried to show this by way of contradiction and say that $\mathcal A = \{A_k\}$ is countable, but I didn't see how this could get me to a contradiction.  The other approach I tried was to look at $X = B_1 \cup C_1$ where $B_1 \cap C_1 = \emptyset$, then look at $B_1 = B_2 \cup C_2$ where $B_2 \cap C_2 = \emptyset$ and so on. If I look at the $C_k$'s they are pairwise disjoint and I either have a finite number of them or an infinite number of them in which case I've created a countable sequence of pairwise disjoint nonempty elements of $\mathcal A$. This path looked promising, but I couldn't see what to do next. Any ideas?  As a secondary question: I think this result is supposed to be used to show that if $\mathcal A$ is a $\sigma$-algebra with infinitely many elements, then it's uncountable, but I wasn't able to show that the property mentioned above (the one I'm trying to show) was satisfied in this case.