I have a DXF (layout) which is to be spatially adjusted to a point shapefile that has correct X Y cords.   When I add both as vector layers to Qgis, point shapefile is right on place but dxf shows a single line. I assume it needs rotation.  Vector bender, Vector transformation, Affine Transformation, DXFtoshapeconverter, I tried it all but nothing works.   I need help in understanding the process in such cases, where first I need to rotate the layer to match XY plane of the target layer and then georeference.
I have got myself a dxf which is built with units in the wrong scale. How do I upscale that in QGIS?   Note it does open in QGIS, just in the wrong map units and location.
Until now, I have been compiling my LaTeX documents with pdfLaTeX. My standard document preamble includes the "usual suspects" for non-English speakers (, , ) and a bunch of other packages. Assuming I were to convert to XeLaTeX, what modifications of my preamble are advisable? I'm aware that the expansion=true option of the  package is not (yet) available for XeLaTeX, and that  is sort of a default package for OpenType fonts. What other packages (and package options) should be removed and, vice versa, incorporated when switching from pdfLaTeX to XeLaTeX? Login to Stack Exchange account doesn't use HTTPS/SSL? How do I pre-install Ubuntu for someone (OEM install)? I would like to pre-install Ubuntu on a computer for someone. I may want to customize it for them, but in the end they need to be able to choose a username, password, etc. when they first boot it up. (Also called an OEM install).  How do I do this? Adding grouped icons to favorite bar in Ubuntu 18.04 Is there anyway to add icons groups to the favorites bar aka Ubuntu dock (something like drawers or unity-launcher-folders) in Ubuntu 18.04 ? I am using ECIES (Cryptobox as poncho pointed out) for public key encryption with ECC between Alice and Bob with secret/public keys $(a,A)$ and $(b,B)$ respectively. So Alice encrypts to Bob with  $$ Encrypt(aB,Message) $$  Additionally I would like to encrypt some of Alice's data such that only she can decrypt it. Is it safe to use ECIES to compute a shared secret from Alice's secret and public key as in  $$ Encrypt(aA,Message) $$  I know I could randomly generate a public key, but then I would have to store this key somewhere which I would like to avoid. Exclude from * in command line Ckeditor toolbar not entirely showing up How to move Ubuntu to an SSD My current situation is:   One hard disk Dual boot Ubuntu 11.04 and Windows 7. Partitions:  100MB Windows System thingy 144GB Main Windows 160GB Ubuntu 4GB Swap 12GB System Restore stuff    Now I want to install an 80GB SSD and move Ubuntu to it. AFAIK I need to:   Shrink the 160GB Ubuntu partition to 80GB Copy it over to the SSD Change fstab to mount the SSD as /   How do I do the second? And what do I need to do about Grub? Indirect return of all elements in an array The Bash man page describes use of ${!a} to return the contents of the variable whose name is the contents of a (a level of indirection).  I'd like to know how to return all elements in an array using this, i.e.,  a=(one two three) echo ${a[*]}   returns  one two three   I would like for:  b=a echo ${!b[*]}   to return the same.  Unfortunately, it doesn't, but returns 0 instead.  Update  Given the replies, I now realise that my example was too simple, since of course, something like:  b=("${a[@]}")   Will achieve exactly what I said I needed.  So, here's what I was trying to do:  LIST_lys=(lys1 lys2) LIST_diaspar=(diaspar1 diaspar2)  whichone=$1   # 'lys' or 'diaspar'  _LIST=LIST_$whichone LIST=${!_LIST[*]}   Of course, carefully reading the Bash man page shows that this won't work as expected because the last line simply returns the indices of the "array" $_LIST (not an array at all).  In any case, the following should do the job (as pointed out):  LIST=($(eval echo \${$_LIST[*]}))   or ... (the route that I went, eventually):  LIST_lys="lys1 lys2" ... LIST=(${!_LIST})   Assuming, of course, that elements don't contain whitespace. How to run scripts on start up? How can I run scripts automatically when Ubuntu starts up so I don't have to run them manually after startup? How do you persuade an organization to value UX? UX is such an underrated field in a lot of industries. I wonder how companies consider employing UX designers and even heavily valuing their suggestions. Some big companies happen to see the light and invest in UX, and that keeps them on top of others. However, UX people rarely make it to the top management. In Don Norman's talk (  ), out of so many UX people (I don't know exactly), only two were vice presidents. I assume that there are even less influential UX designers in developing countries, and that's what makes it even harder for people like me. In the same talk, Don Norman suggested that UX designers should approach their executives like marketing people, showing how investing in something will affect profit. Perhaps, it's the best thing to do but it has to be mastered for it to be executed successfully.   I'm a fresh grad and am looking for a job. I think, working for a company with a more conventional job description would be the way to go. When I'm already influential enough, I'll go up to the executives and show them how UX will improve sales (in whatever industry it is. I just want to do UX)  Do you do UX as consultants or are you employed? How do you persuade companies to invest in UX? Are you lucky enough to be employed by people who you didn't have to persuade to value UX? How to overwrite only part of a file in c++ How to find a suitable association of color with data value in a visualization? I'm working on a software project that involves creating a visualizer for flood simulations. As part of this project, I've created a water gradient that shows water depth at particular points. To set what values will represent what colors, I go through the data and get the minimum and maximum values that occur and evenly distribute the colors according to that scale.  However, there are often times points in these simulations that have significantly deeper water at them than anywhere else in the simulation. This causes most of the points on the map to have very similar colors and this is not very informative and makes the areas where the water is deeper very hard to see.  My goal is to dedicate a larger range of colors to depths that occur more frequently. For example, if depths go from 0 to 12 but most depths are between 1 and 2, I want more color variation to occur within that range than does between say 11 and 12 or 4 and 5. It seems I need to use standard deviation or something involving normal distribution to do this, but I'm a bit fuzzy on how these things work and how I can use them to accomplish my goal.  Any help that can be provided will be appreciated. Thank you. How do I check if an object has a specific property in JavaScript? Does there exist an automorphism of $\mathbb{C}$ that does not keep $\mathbb{R}$ fixed? In a sentence taken from the Oxford Dictionary:     ‘The inscription on his tombstone in Groombridge Church, where he is buried alongside his three children, bears his original name and no reference to his nom de plume.’   Is ‘buried’ an adjective, a , or a   because it follows the copular verb is?      Predicate nominatives complete only linking verbs. The linking verbs include the following: the helping verbs is: am, are, was, were, be, being, and been; the sense verbs: look, taste, smell, feel, and sound; and verbs like become, seem, appear, grow, continue, stay, and turn.   Or is it a past participle because the clause is in the passive voice?   Does “he is buried” mean currently his body lies in a coffin covered with soil, or  does it mean he has been buried by someone?  If we say ‘he was buried’ it clearly refers to an event that happened and ended sometime in the past. It might even suggest that the burial ground has since been changed. Framing a question whose answer is an ordinal number I am the third daughter (or son) of my parents.   OR      How should a question that is answered with the above sentences be framed? How can I create a select menu in a shell script? I'm creating a simple bash script and I want to create a select menu in it, like this:  $./script  echo "Choose your option:"  1) Option 1   2) Option 2   3) Option 3   4) Quit     And according to user's choice, I want different actions to be executed. I'm a bash shell scripting noob, I've searched the web for some answers, but got nothing really concrete. I  and while on other sites I did not get a 'Reputation Notification' to explain that I was given 2 upvotes for my answer - yet if I manually check my Profile here at meta.SE my total Reputation is in agreement with the amount there.  I'm not knowledgeable about the intercommunication between the servers and sites but I would explain it this way: Super User either failed to send or other sites failed to receive the message the I had a reputation update on Super User.  I should have received either two green star trophies (🏆) of 10 reputation each or one of 20; depending on when I returned to one of the Stack Exchange / Stack Overflow / Super User / etc. sites.  Here's a screenshot showing no reputation change notification for Super User:    Here's a screenshot of my Profile over at Super User showing that I was silently credited:    I'm bringing this up on Meta.SE in case the communication is broken between more sites than just Super User and everywhere else. With all the various races in the federation, how do the humans manage to dominate it?